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

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 (328) hide show
  1. package/build/ai.js +1 -1
  2. package/ckeditor5-metadata.json +9 -2
  3. package/dist/index-editor.css +119 -34
  4. package/dist/index.css +144 -35
  5. package/dist/index.js +4 -4
  6. package/dist/translations/af.js +1 -1
  7. package/dist/translations/af.umd.js +1 -1
  8. package/dist/translations/ar.js +1 -1
  9. package/dist/translations/ar.umd.js +1 -1
  10. package/dist/translations/ast.js +1 -1
  11. package/dist/translations/ast.umd.js +1 -1
  12. package/dist/translations/az.js +1 -1
  13. package/dist/translations/az.umd.js +1 -1
  14. package/dist/translations/be.js +1 -1
  15. package/dist/translations/be.umd.js +1 -1
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.js +1 -1
  39. package/dist/translations/en.umd.js +1 -1
  40. package/dist/translations/eo.js +1 -1
  41. package/dist/translations/eo.umd.js +1 -1
  42. package/dist/translations/es-co.js +1 -1
  43. package/dist/translations/es-co.umd.js +1 -1
  44. package/dist/translations/es.js +1 -1
  45. package/dist/translations/es.umd.js +1 -1
  46. package/dist/translations/et.js +1 -1
  47. package/dist/translations/et.umd.js +1 -1
  48. package/dist/translations/eu.js +1 -1
  49. package/dist/translations/eu.umd.js +1 -1
  50. package/dist/translations/fa.js +1 -1
  51. package/dist/translations/fa.umd.js +1 -1
  52. package/dist/translations/fi.js +1 -1
  53. package/dist/translations/fi.umd.js +1 -1
  54. package/dist/translations/fr.js +1 -1
  55. package/dist/translations/fr.umd.js +1 -1
  56. package/dist/translations/gl.js +1 -1
  57. package/dist/translations/gl.umd.js +1 -1
  58. package/dist/translations/gu.js +1 -1
  59. package/dist/translations/gu.umd.js +1 -1
  60. package/dist/translations/he.js +1 -1
  61. package/dist/translations/he.umd.js +1 -1
  62. package/dist/translations/hi.js +1 -1
  63. package/dist/translations/hi.umd.js +1 -1
  64. package/dist/translations/hr.js +1 -1
  65. package/dist/translations/hr.umd.js +1 -1
  66. package/dist/translations/hu.js +1 -1
  67. package/dist/translations/hu.umd.js +1 -1
  68. package/dist/translations/hy.js +1 -1
  69. package/dist/translations/hy.umd.js +1 -1
  70. package/dist/translations/id.js +1 -1
  71. package/dist/translations/id.umd.js +1 -1
  72. package/dist/translations/it.js +1 -1
  73. package/dist/translations/it.umd.js +1 -1
  74. package/dist/translations/ja.js +1 -1
  75. package/dist/translations/ja.umd.js +1 -1
  76. package/dist/translations/jv.js +1 -1
  77. package/dist/translations/jv.umd.js +1 -1
  78. package/dist/translations/kk.js +1 -1
  79. package/dist/translations/kk.umd.js +1 -1
  80. package/dist/translations/km.js +1 -1
  81. package/dist/translations/km.umd.js +1 -1
  82. package/dist/translations/kn.js +1 -1
  83. package/dist/translations/kn.umd.js +1 -1
  84. package/dist/translations/ko.js +1 -1
  85. package/dist/translations/ko.umd.js +1 -1
  86. package/dist/translations/ku.js +1 -1
  87. package/dist/translations/ku.umd.js +1 -1
  88. package/dist/translations/lt.js +1 -1
  89. package/dist/translations/lt.umd.js +1 -1
  90. package/dist/translations/lv.js +1 -1
  91. package/dist/translations/lv.umd.js +1 -1
  92. package/dist/translations/ms.js +1 -1
  93. package/dist/translations/ms.umd.js +1 -1
  94. package/dist/translations/nb.js +1 -1
  95. package/dist/translations/nb.umd.js +1 -1
  96. package/dist/translations/ne.js +1 -1
  97. package/dist/translations/ne.umd.js +1 -1
  98. package/dist/translations/nl.js +1 -1
  99. package/dist/translations/nl.umd.js +1 -1
  100. package/dist/translations/no.js +1 -1
  101. package/dist/translations/no.umd.js +1 -1
  102. package/dist/translations/oc.js +1 -1
  103. package/dist/translations/oc.umd.js +1 -1
  104. package/dist/translations/pl.js +1 -1
  105. package/dist/translations/pl.umd.js +1 -1
  106. package/dist/translations/pt-br.js +1 -1
  107. package/dist/translations/pt-br.umd.js +1 -1
  108. package/dist/translations/pt.js +1 -1
  109. package/dist/translations/pt.umd.js +1 -1
  110. package/dist/translations/ro.js +1 -1
  111. package/dist/translations/ro.umd.js +1 -1
  112. package/dist/translations/ru.js +1 -1
  113. package/dist/translations/ru.umd.js +1 -1
  114. package/dist/translations/si.js +1 -1
  115. package/dist/translations/si.umd.js +1 -1
  116. package/dist/translations/sk.js +1 -1
  117. package/dist/translations/sk.umd.js +1 -1
  118. package/dist/translations/sl.js +1 -1
  119. package/dist/translations/sl.umd.js +1 -1
  120. package/dist/translations/sq.js +1 -1
  121. package/dist/translations/sq.umd.js +1 -1
  122. package/dist/translations/sr-latn.js +1 -1
  123. package/dist/translations/sr-latn.umd.js +1 -1
  124. package/dist/translations/sr.js +1 -1
  125. package/dist/translations/sr.umd.js +1 -1
  126. package/dist/translations/sv.js +1 -1
  127. package/dist/translations/sv.umd.js +1 -1
  128. package/dist/translations/th.js +1 -1
  129. package/dist/translations/th.umd.js +1 -1
  130. package/dist/translations/ti.js +1 -1
  131. package/dist/translations/ti.umd.js +1 -1
  132. package/dist/translations/tk.js +1 -1
  133. package/dist/translations/tk.umd.js +1 -1
  134. package/dist/translations/tr.js +1 -1
  135. package/dist/translations/tr.umd.js +1 -1
  136. package/dist/translations/tt.js +1 -1
  137. package/dist/translations/tt.umd.js +1 -1
  138. package/dist/translations/ug.js +1 -1
  139. package/dist/translations/ug.umd.js +1 -1
  140. package/dist/translations/uk.js +1 -1
  141. package/dist/translations/uk.umd.js +1 -1
  142. package/dist/translations/ur.js +1 -1
  143. package/dist/translations/ur.umd.js +1 -1
  144. package/dist/translations/uz.js +1 -1
  145. package/dist/translations/uz.umd.js +1 -1
  146. package/dist/translations/vi.js +1 -1
  147. package/dist/translations/vi.umd.js +1 -1
  148. package/dist/translations/zh-cn.js +1 -1
  149. package/dist/translations/zh-cn.umd.js +1 -1
  150. package/dist/translations/zh.js +1 -1
  151. package/dist/translations/zh.umd.js +1 -1
  152. package/lang/contexts.json +5 -0
  153. package/package.json +15 -15
  154. package/src/aiactions/aiactions.js +1 -1
  155. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  156. package/src/aiactions/model/aiactionsreply.js +1 -1
  157. package/src/aiassistant/adapters/aiadapter.js +1 -1
  158. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  159. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  160. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  161. package/src/aiassistant/aiassistant.js +1 -1
  162. package/src/aiassistant/aiassistantediting.js +1 -1
  163. package/src/aiassistant/aiassistantui.js +1 -1
  164. package/src/aiassistant/legacyerrors.js +1 -1
  165. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  166. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  167. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  170. package/src/aiassistant/ui/form/aiformview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  172. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  173. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  174. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  175. package/src/aiassistant/utils/common-translations.js +1 -1
  176. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  177. package/src/aiballoon/aiballoon.js +1 -1
  178. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  179. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  180. package/src/aiballoon/ui/aiballoonview.js +1 -1
  181. package/src/aichat/aichat.d.ts +3 -3
  182. package/src/aichat/aichat.js +1 -1
  183. package/src/aichat/aichatcontroller.js +1 -1
  184. package/src/aichat/aichatui.d.ts +6 -0
  185. package/src/aichat/aichatui.js +1 -1
  186. package/src/aichat/model/aichatcontext.js +1 -1
  187. package/src/aichat/model/aichatconversation.d.ts +2 -4
  188. package/src/aichat/model/aichatconversation.js +1 -1
  189. package/src/aichat/model/aichatinteraction.js +1 -1
  190. package/src/aichat/model/aichatmodels.d.ts +11 -4
  191. package/src/aichat/model/aichatmodels.js +1 -1
  192. package/src/aichat/ui/aichatcontrolsview.d.ts +9 -0
  193. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  194. package/src/aichat/ui/aichatfeedview.js +1 -1
  195. package/src/aichat/ui/aichatheaderview.js +1 -1
  196. package/src/aichat/ui/aichatview.js +1 -1
  197. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  198. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  199. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  200. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  201. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  202. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  203. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  204. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  205. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  206. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  207. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  208. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  209. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  213. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  214. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  215. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  216. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  217. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  218. package/src/aichat/utils/eventnames.js +1 -1
  219. package/src/aichat/utils/promisequeue.js +1 -1
  220. package/src/aichat/utils/scrollmanager.js +1 -1
  221. package/src/aichathistory/aichathistory.js +1 -1
  222. package/src/aichathistory/aichathistorycontroller.js +1 -1
  223. package/src/aichathistory/aichathistoryui.js +1 -1
  224. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  225. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  226. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  227. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  228. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  229. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  230. package/src/aiconfig.d.ts +4 -0
  231. package/src/aicore/aiconnector.js +1 -1
  232. package/src/aicore/aiediting.js +1 -1
  233. package/src/aicore/model/aicapabilities.js +1 -1
  234. package/src/aicore/model/aicontext.js +1 -1
  235. package/src/aicore/model/aiinteraction.js +1 -1
  236. package/src/aicore/model/aireply.d.ts +1 -1
  237. package/src/aicore/model/aireply.js +1 -1
  238. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  239. package/src/aicore/pipeline/airesponseparser.js +2 -2
  240. package/src/aicore/ui/aidisclaimerview.js +1 -1
  241. package/src/aicore/ui/aiskeleton.js +1 -1
  242. package/src/aicore/ui/aispinner.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  247. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  248. package/src/aicore/utils/common-translations.js +1 -1
  249. package/src/aicore/utils/createresizebutton.js +1 -1
  250. package/src/aicore/utils/documentposition.js +1 -1
  251. package/src/aicore/utils/documentrange.js +1 -1
  252. package/src/aicore/utils/eventnames.js +1 -1
  253. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  254. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  255. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  256. package/src/aicore/utils/htmlparser.js +1 -1
  257. package/src/aicore/utils/htmlstreamer.js +1 -1
  258. package/src/aieditorintegration/aieditorintegration.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  260. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  261. package/src/aiquickactions/aiquickactions.d.ts +2 -1
  262. package/src/aiquickactions/aiquickactions.js +1 -1
  263. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  264. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  265. package/src/aiquickactions/aiquickactionsui.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +2 -1
  267. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  269. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  270. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  271. package/src/aireviewmode/aireviewmode.js +1 -1
  272. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  273. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  274. package/src/aireviewmode/aireviewmodeui.d.ts +3 -1
  275. package/src/aireviewmode/aireviewmodeui.js +1 -1
  276. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  277. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  278. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  279. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  280. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
  281. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  282. package/src/aireviewmode/model/aireviewcheckrun.d.ts +31 -3
  283. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  284. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
  285. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  286. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  287. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +5 -1
  288. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  289. package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +7 -5
  290. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  291. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +3 -0
  292. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  293. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +4 -0
  294. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  295. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +27 -3
  296. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  297. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  298. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +13 -1
  299. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  300. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  301. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  302. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  303. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  304. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  305. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  306. package/src/aitabs/aitabs.js +1 -1
  307. package/src/aitabs/aitabsmainview.d.ts +4 -0
  308. package/src/aitabs/aitabsmainview.js +1 -1
  309. package/src/aitabs/tabs/aitabsview.js +1 -1
  310. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  311. package/src/aitabs/tabs/tabpanelview.js +1 -1
  312. package/src/errors.d.ts +5 -0
  313. package/src/errors.js +23 -0
  314. package/src/index.js +1 -1
  315. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +4 -0
  316. package/theme/aichat/aichat-controls/model-unavailable-message.css +39 -0
  317. package/theme/aichat/aichat-controls.css +1 -0
  318. package/theme/aichat/aichat.css +0 -1
  319. package/theme/aichat/aichatfeed.css +9 -0
  320. package/theme/aichat/aisuggestioncontainer.css +7 -1
  321. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +4 -0
  322. package/theme/aireviewmode/aireviewmode-check-list.css +4 -0
  323. package/theme/aireviewmode/aireviewmode-check-run-result.css +25 -19
  324. package/theme/aireviewmode/aireviewmode-check-run.css +35 -7
  325. package/theme/aitabs/aitabsview.css +2 -2
  326. package/theme/aitabs/tabs/tabsview.css +13 -3
  327. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +0 -16
  328. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6829a9=_0x1eb3;function _0x1eb3(_0x28c42b,_0x1af455){const _0x36b367=_0x36b3();return _0x1eb3=function(_0x1eb3c3,_0x416f66){_0x1eb3c3=_0x1eb3c3-0xbc;let _0x63941d=_0x36b367[_0x1eb3c3];return _0x63941d;},_0x1eb3(_0x28c42b,_0x1af455);}(function(_0x39d037,_0x328006){const _0x11871c=_0x1eb3,_0x455a34=_0x39d037();while(!![]){try{const _0x1bfa34=-parseInt(_0x11871c(0xd7))/0x1*(parseInt(_0x11871c(0xc4))/0x2)+parseInt(_0x11871c(0xd3))/0x3*(-parseInt(_0x11871c(0xcb))/0x4)+parseInt(_0x11871c(0xe0))/0x5*(parseInt(_0x11871c(0xd4))/0x6)+-parseInt(_0x11871c(0xbf))/0x7+-parseInt(_0x11871c(0xc5))/0x8*(parseInt(_0x11871c(0xd8))/0x9)+-parseInt(_0x11871c(0xd2))/0xa+parseInt(_0x11871c(0xd0))/0xb;if(_0x1bfa34===_0x328006)break;else _0x455a34['push'](_0x455a34['shift']());}catch(_0x2f8210){_0x455a34['push'](_0x455a34['shift']());}}}(_0x36b3,0x99b5a));import{View as _0x33c57d}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x4cd760}from'../../../aicore/utils/htmlstreamer.js';function _0x36b3(){const _0x3c8c36=['stream','markAsDone','cleanUpAnimations','1139375ITvohx','ck-ai-chat__feed__text-item','createCollection','ck-hidden','5639998cNIera','bindTemplate','[data-id]','isVisible','ck-ai-chat__feed__item_done','586ylUQUR','77288uhgDgY','div','removeAttribute','set','children','data-id','8156fYhpzG','content','setTemplate','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-chat__feed__item','32477313VukHbn','element','9305050sQPFdu','579QOFAbA','30BhuAYG','forEach','htmlStreamer','1943MkcWxY','711LShUYw','options','streamIntoElement','isDone','querySelectorAll'];_0x36b3=function(){return _0x3c8c36;};return _0x36b3();}export class AIChatFeedItemView extends _0x33c57d{[_0x6829a9(0xd9)];[_0x6829a9(0xcc)]='';[_0x6829a9(0xd6)];[_0x6829a9(0xc9)];constructor(_0x44c2cb){const _0x11140b=_0x6829a9;super();const _0x226577=this[_0x11140b(0xc0)];this[_0x11140b(0xc8)](_0x11140b(0xdb),!0x1),this[_0x11140b(0xc8)](_0x11140b(0xc2),!0x0),this[_0x11140b(0xd6)]=new _0x4cd760({'textNodeStyle':_0x11140b(0xce),'delay':0x14}),this[_0x11140b(0xd9)]=_0x44c2cb,this[_0x11140b(0xc9)]=this[_0x11140b(0xbd)](),this[_0x11140b(0xcd)]({'tag':_0x11140b(0xc6),'attributes':{'class':['ck',_0x11140b(0xcf),_0x226577['if'](_0x11140b(0xdb),_0x11140b(0xc3)),_0x226577['if'](_0x11140b(0xc2),_0x11140b(0xbe),_0x32e8f2=>!_0x32e8f2),_0x11140b(0xbc)],'data-cke-ai-id':this[_0x11140b(0xd9)]['id']},'children':this[_0x11140b(0xc9)]});}[_0x6829a9(0xde)](){const _0x396418=_0x6829a9;this[_0x396418(0xd6)][_0x396418(0xdf)]({'targetElement':this[_0x396418(0xd1)]}),this[_0x396418(0xd1)][_0x396418(0xdc)](_0x396418(0xc1))[_0x396418(0xd5)](_0x1cb6bc=>{const _0x528015=_0x396418;_0x1cb6bc[_0x528015(0xc7)](_0x528015(0xca));}),this[_0x396418(0xdb)]=!0x0;}async[_0x6829a9(0xda)](_0x123083,_0x452b18,_0x9ae9ce){const _0x14d2dc=_0x6829a9;await this[_0x14d2dc(0xd6)][_0x14d2dc(0xdd)]({'document':_0x123083,'targetElement':_0x452b18,'abortSignal':_0x9ae9ce});}}
23
+ const _0x5a0a51=_0x5679;(function(_0x4c024a,_0x418a12){const _0x1d2e10=_0x5679,_0xa4b38e=_0x4c024a();while(!![]){try{const _0x264262=parseInt(_0x1d2e10(0x184))/0x1+-parseInt(_0x1d2e10(0x191))/0x2+-parseInt(_0x1d2e10(0x192))/0x3*(parseInt(_0x1d2e10(0x187))/0x4)+-parseInt(_0x1d2e10(0x18a))/0x5+-parseInt(_0x1d2e10(0x186))/0x6+-parseInt(_0x1d2e10(0x190))/0x7+-parseInt(_0x1d2e10(0x1a2))/0x8*(-parseInt(_0x1d2e10(0x19a))/0x9);if(_0x264262===_0x418a12)break;else _0xa4b38e['push'](_0xa4b38e['shift']());}catch(_0x393046){_0xa4b38e['push'](_0xa4b38e['shift']());}}}(_0x2809,0x6c41b));function _0x5679(_0xf9f22e,_0x2b28a4){const _0x280904=_0x2809();return _0x5679=function(_0x567934,_0x576c5c){_0x567934=_0x567934-0x180;let _0x26d8d1=_0x280904[_0x567934];return _0x26d8d1;},_0x5679(_0xf9f22e,_0x2b28a4);}import{View as _0x55e954}from'ckeditor5/src/ui.js';function _0x2809(){const _0x4e8dcc=['content','[data-id]','data-id','setTemplate','stream','60956LpYtJw','1467570QIMrho','3zkrzuQ','cleanUpAnimations','set','htmlStreamer','element','ck-ai-chat__feed__text-item','removeAttribute','streamIntoElement','9dgzuMs','bindTemplate','isDone','querySelectorAll','children','isVisible','animation:\x20ck-html-streamer-fade-in\x20.5s','options','19332200umBGBk','div','ck-hidden','forEach','ck-ai-chat__feed__item_done','482350xYJxYZ','createCollection','2644566sDoNiI','2114092RZqaLI','markAsDone','ck-ai-chat__feed__item','3718395ZFBUVL'];_0x2809=function(){return _0x4e8dcc;};return _0x2809();}import{HTMLStreamer as _0x4ab392}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x55e954{[_0x5a0a51(0x1a1)];[_0x5a0a51(0x18b)]='';[_0x5a0a51(0x195)];[_0x5a0a51(0x19e)];constructor(_0xe3d463){const _0x409a2a=_0x5a0a51;super();const _0x45bcb=this[_0x409a2a(0x19b)];this[_0x409a2a(0x194)](_0x409a2a(0x19c),!0x1),this[_0x409a2a(0x194)](_0x409a2a(0x19f),!0x0),this[_0x409a2a(0x195)]=new _0x4ab392({'textNodeStyle':_0x409a2a(0x1a0),'delay':0x14}),this[_0x409a2a(0x1a1)]=_0xe3d463,this[_0x409a2a(0x19e)]=this[_0x409a2a(0x185)](),this[_0x409a2a(0x18e)]({'tag':_0x409a2a(0x180),'attributes':{'class':['ck',_0x409a2a(0x189),_0x45bcb['if'](_0x409a2a(0x19c),_0x409a2a(0x183)),_0x45bcb['if'](_0x409a2a(0x19f),_0x409a2a(0x181),_0x336c66=>!_0x336c66),_0x409a2a(0x197)],'data-cke-ai-id':this[_0x409a2a(0x1a1)]['id']},'children':this[_0x409a2a(0x19e)]});}[_0x5a0a51(0x188)](){const _0x23315f=_0x5a0a51;this[_0x23315f(0x195)][_0x23315f(0x193)]({'targetElement':this[_0x23315f(0x196)]}),this[_0x23315f(0x196)][_0x23315f(0x19d)](_0x23315f(0x18c))[_0x23315f(0x182)](_0x380406=>{const _0x44ea8d=_0x23315f;_0x380406[_0x44ea8d(0x198)](_0x44ea8d(0x18d));}),this[_0x23315f(0x19c)]=!0x0;}async[_0x5a0a51(0x199)](_0x499e8a,_0x215d43,_0x16ccd7){const _0x2cdaa7=_0x5a0a51;await this[_0x2cdaa7(0x195)][_0x2cdaa7(0x18f)]({'document':_0x499e8a,'targetElement':_0x215d43,'abortSignal':_0x16ccd7});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4139(_0x2b6c97,_0x3282ca){const _0x389a36=_0x389a();return _0x4139=function(_0x413946,_0x13847d){_0x413946=_0x413946-0x97;let _0x5c45d1=_0x389a36[_0x413946];return _0x5c45d1;},_0x4139(_0x2b6c97,_0x3282ca);}const _0x10c6fd=_0x4139;function _0x389a(){const _0xe21650=['render','556497BInPfX','updateContent','element','div','3160494TpVaDo','extendTemplate','innerHTML','map','1Rfernq','isVisible','locale','10YNHyjM','263456avbkCE','children','updateSources','12915873UgpDbE','streaming','streamIntoElement','10009304wpqJUa','4641890mezxww','7oTeSqs','static','initialContent','replyContainer','ck-ai-chat__feed__ai-reply-container','add','options','ck-reset_all-excluded','addMany','setTemplate','ck-ai-chat__feed__ai-reply','markAsDone','4948252kdWQKU'];_0x389a=function(){return _0xe21650;};return _0x389a();}(function(_0x185080,_0x5e9f9d){const _0x4d2418=_0x4139,_0x3269a3=_0x185080();while(!![]){try{const _0x19e5d2=parseInt(_0x4d2418(0xae))/0x1*(parseInt(_0x4d2418(0xb2))/0x2)+parseInt(_0x4d2418(0xa6))/0x3+-parseInt(_0x4d2418(0xa4))/0x4+parseInt(_0x4d2418(0x97))/0x5+parseInt(_0x4d2418(0xaa))/0x6*(parseInt(_0x4d2418(0x98))/0x7)+-parseInt(_0x4d2418(0xb8))/0x8+-parseInt(_0x4d2418(0xb5))/0x9*(-parseInt(_0x4d2418(0xb1))/0xa);if(_0x19e5d2===_0x5e9f9d)break;else _0x3269a3['push'](_0x3269a3['shift']());}catch(_0x59da9b){_0x3269a3['push'](_0x3269a3['shift']());}}}(_0x389a,0xaf979));import{AIChatFeedItemView as _0x3bebae}from'./aichatfeeditemview.js';import{parse as _0x3f116c,render as _0x34aead}from'../../../aicore/utils/htmlparser.js';import{View as _0x5170f3}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x56a76a,AIWebSourceView as _0x1e322f}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x3bebae{[_0x10c6fd(0x9b)];constructor(_0x191626,_0x2fea00){const _0x55d621=_0x10c6fd;super(_0x2fea00),this[_0x55d621(0xb0)]=_0x191626,this[_0x55d621(0xab)]({'attributes':{'class':[_0x55d621(0xa2)]}}),this[_0x55d621(0x9b)]=new _0x5170f3(),this[_0x55d621(0x9b)][_0x55d621(0xa1)]({'tag':_0x55d621(0xa9),'attributes':{'class':['ck',_0x55d621(0x9f),_0x55d621(0x9c)]}}),this[_0x55d621(0xb3)][_0x55d621(0x9d)](this[_0x55d621(0x9b)]);}async[_0x10c6fd(0xa5)](){const _0x122184=_0x10c6fd;super[_0x122184(0xa5)](),this[_0x122184(0x9e)][_0x122184(0x9a)]&&(await this[_0x122184(0xa7)]({'parsedContent':_0x3f116c(this[_0x122184(0x9e)][_0x122184(0x9a)]),'renderingStrategy':_0x122184(0x99)}),this[_0x122184(0xa3)]());}async[_0x10c6fd(0xa7)]({parsedContent:_0xef5738,renderingStrategy:_0x1b6746,abortSignal:_0x4d5acf}){const _0x2a6faa=_0x10c6fd;_0x2a6faa(0xb6)===_0x1b6746?await this[_0x2a6faa(0xb7)](_0xef5738,this[_0x2a6faa(0x9b)][_0x2a6faa(0xa8)],_0x4d5acf):this[_0x2a6faa(0x9b)][_0x2a6faa(0xa8)][_0x2a6faa(0xac)]=_0x34aead(_0xef5738);}[_0x10c6fd(0xb4)](_0x3924fd){const _0x119118=_0x10c6fd,_0x323895=new _0x56a76a(this[_0x119118(0xb0)]);_0x323895[_0x119118(0xb3)][_0x119118(0xa0)](_0x3924fd[_0x119118(0xad)](_0x170bb8=>new _0x1e322f(this[_0x119118(0xb0)],_0x170bb8))),_0x323895[_0x119118(0xaf)]=!0x0,this[_0x119118(0xb3)][_0x119118(0x9d)](_0x323895);}}
23
+ function _0x18b0(_0x5eebff,_0x2fb209){const _0x8cf4c6=_0x8cf4();return _0x18b0=function(_0x18b003,_0x41e18a){_0x18b003=_0x18b003-0x1bd;let _0x1f0b2b=_0x8cf4c6[_0x18b003];return _0x1f0b2b;},_0x18b0(_0x5eebff,_0x2fb209);}const _0x2b87db=_0x18b0;(function(_0x395352,_0x31b3b3){const _0x155d37=_0x18b0,_0x55de0f=_0x395352();while(!![]){try{const _0x5094df=-parseInt(_0x155d37(0x1d5))/0x1+-parseInt(_0x155d37(0x1d0))/0x2+parseInt(_0x155d37(0x1c5))/0x3+parseInt(_0x155d37(0x1c8))/0x4+-parseInt(_0x155d37(0x1c7))/0x5*(-parseInt(_0x155d37(0x1cd))/0x6)+-parseInt(_0x155d37(0x1d2))/0x7+-parseInt(_0x155d37(0x1c0))/0x8*(-parseInt(_0x155d37(0x1d7))/0x9);if(_0x5094df===_0x31b3b3)break;else _0x55de0f['push'](_0x55de0f['shift']());}catch(_0x18d5e0){_0x55de0f['push'](_0x55de0f['shift']());}}}(_0x8cf4,0xa50a5));import{AIChatFeedItemView as _0x3362e7}from'./aichatfeeditemview.js';import{parse as _0x2dd196,render as _0x1ec76b}from'../../../aicore/utils/htmlparser.js';import{View as _0x2097af}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x2a16cd,AIWebSourceView as _0x3d22f3}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x8cf4(){const _0x55f4ef=['3148488xFvhYW','render','updateContent','ck-reset_all-excluded','isVisible','16224nxMlJo','streaming','setTemplate','1282444gmUQMK','map','9110955ogtPvh','updateSources','addMany','620100UORxDQ','div','9NNMNyh','replyContainer','initialContent','children','streamIntoElement','innerHTML','extendTemplate','ck-ai-chat__feed__ai-reply-container','element','options','10839736REVJaB','static','locale','markAsDone','add','1538217EQZFgb','ck-ai-chat__feed__ai-reply','1080XFtUMo'];_0x8cf4=function(){return _0x55f4ef;};return _0x8cf4();}export class AIChatFeedReplyItemView extends _0x3362e7{[_0x2b87db(0x1d8)];constructor(_0xdda4fe,_0x3fe2b4){const _0x3c24c6=_0x2b87db;super(_0x3fe2b4),this[_0x3c24c6(0x1c2)]=_0xdda4fe,this[_0x3c24c6(0x1dd)]({'attributes':{'class':[_0x3c24c6(0x1c6)]}}),this[_0x3c24c6(0x1d8)]=new _0x2097af(),this[_0x3c24c6(0x1d8)][_0x3c24c6(0x1cf)]({'tag':_0x3c24c6(0x1d6),'attributes':{'class':['ck',_0x3c24c6(0x1cb),_0x3c24c6(0x1bd)]}}),this[_0x3c24c6(0x1da)][_0x3c24c6(0x1c4)](this[_0x3c24c6(0x1d8)]);}async[_0x2b87db(0x1c9)](){const _0x50ba35=_0x2b87db;super[_0x50ba35(0x1c9)](),this[_0x50ba35(0x1bf)][_0x50ba35(0x1d9)]&&(await this[_0x50ba35(0x1ca)]({'parsedContent':_0x2dd196(this[_0x50ba35(0x1bf)][_0x50ba35(0x1d9)]),'renderingStrategy':_0x50ba35(0x1c1)}),this[_0x50ba35(0x1c3)]());}async[_0x2b87db(0x1ca)]({parsedContent:_0x1bc2cc,renderingStrategy:_0x7410c7,abortSignal:_0x43005b}){const _0xb05d2b=_0x2b87db;_0xb05d2b(0x1ce)===_0x7410c7?await this[_0xb05d2b(0x1db)](_0x1bc2cc,this[_0xb05d2b(0x1d8)][_0xb05d2b(0x1be)],_0x43005b):this[_0xb05d2b(0x1d8)][_0xb05d2b(0x1be)][_0xb05d2b(0x1dc)]=_0x1ec76b(_0x1bc2cc);}[_0x2b87db(0x1d3)](_0x251cc6){const _0x1373a5=_0x2b87db,_0x5de84d=new _0x2a16cd(this[_0x1373a5(0x1c2)]);_0x5de84d[_0x1373a5(0x1da)][_0x1373a5(0x1d4)](_0x251cc6[_0x1373a5(0x1d1)](_0x3c2f59=>new _0x3d22f3(this[_0x1373a5(0x1c2)],_0x3c2f59))),_0x5de84d[_0x1373a5(0x1cc)]=!0x0,this[_0x1373a5(0x1da)][_0x1373a5(0x1c4)](_0x5de84d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e8998=_0x29ee;function _0x599b(){const _0x3d4654=['7655212XraHAv','insertSuggestion','ck-hidden','_createActionsButton','actionsButton','2688090PWaCot','esc','createCollection','_firstRender','isEnabled','keys','element','slice','listenTo','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','content','unbind','label','detachFromDom','ltr','div','_setUpKeystrokes','has','listView','isVisible','uiLanguageDirection','ck-ai-button-primary','balloonPanelClass','left','tooltip','arrowless','attachToDom','add','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','updateLabels','showChangeInText','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','listItemModels','hide','bindTemplate','button','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','applySuggestion','showChangeInTextModel','_partsCount','bottom','_dropdownCurrentConfig','isTrackChangesOn','bodyCollection','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','bind','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','_setUpList','focus','actionName','9292473wXrpUq','set','applySuggestionModel','delegate','_createActionsDropdown','open','2516097YUDYhd','children','setTemplate','1843223gCjNTc','32Wqizvl','length','6412332HnmDLO','map','fire','change:isTrackChangesOn','filter','destroy','remove','balloonPanelView','pin','_updateDropdownActions','execute','ck-ai-chat__feed__ai-suggestion__actions__balloon','_createActionsDropdownOrButton','width','insertSuggestionModel','ck-ai-chat__feed__ai-suggestion__actions\x20','arrowView','ck-ai-chat__feed__ai-suggestion__actions','items','2erMVhl','32704UZSimi','class','_dropdownOriginalConfig','locale','ck-ai-chat__feed__ai-suggestion__actions--no-animation','source','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','keystrokeHandler'];_0x599b=function(){return _0x3d4654;};return _0x599b();}(function(_0x164c27,_0x447738){const _0x240a7c=_0x29ee,_0xddd144=_0x164c27();while(!![]){try{const _0x274393=parseInt(_0x240a7c(0x16e))/0x1+parseInt(_0x240a7c(0x184))/0x2*(parseInt(_0x240a7c(0x16b))/0x3)+parseInt(_0x240a7c(0x12e))/0x4+-parseInt(_0x240a7c(0x133))/0x5+parseInt(_0x240a7c(0x171))/0x6+-parseInt(_0x240a7c(0x185))/0x7+parseInt(_0x240a7c(0x16f))/0x8*(-parseInt(_0x240a7c(0x165))/0x9);if(_0x274393===_0x447738)break;else _0xddd144['push'](_0xddd144['shift']());}catch(_0x4563b6){_0xddd144['push'](_0xddd144['shift']());}}}(_0x599b,0xf23a9));import{KeystrokeHandler as _0x51393d}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x5bcd99,BodyCollection as _0x31b909,ButtonView as _0x2fe4ec,clickOutsideHandler as _0x463ab3,ListItemButtonView as _0x28fff5,ListItemView as _0x1c8293,ListView as _0x50d3fd,SplitButtonView as _0x180d4c,UIModel as _0x39e8c4,View as _0x2b1cf3}from'ckeditor5/src/ui.js';import{IconCheck as _0x4523aa,IconAddComment as _0x59f735,IconDocumentWithLoupe as _0x4f9b9d}from'ckeditor5/src/icons.js';import{getTranslation as _0x21ad58}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x3e8998(0x158),_0x3e8998(0x12f),_0x3e8998(0x151)];export class AIChatFeedSuggestionItemActionsView extends _0x2b1cf3{[_0x3e8998(0x132)];[_0x3e8998(0x16c)];[_0x3e8998(0x167)];[_0x3e8998(0x159)];[_0x3e8998(0x17f)];[_0x3e8998(0x15a)]=0x1;[_0x3e8998(0x187)];[_0x3e8998(0x15c)];[_0x3e8998(0x136)]=!0x0;constructor(_0x1e2939,_0x257950){const _0x137d78=_0x3e8998;super(_0x1e2939),this[_0x137d78(0x187)]=_0x257950||[...ACTIONS],this[_0x137d78(0x15c)]=[...this[_0x137d78(0x187)]];const _0x8d861c=this[_0x137d78(0x155)];this[_0x137d78(0x166)](_0x137d78(0x137),!0x0),this[_0x137d78(0x166)](_0x137d78(0x146),!0x0),this[_0x137d78(0x167)]=new _0x39e8c4({'label':Ln(_0x137d78(0x158),_0x1e2939,this[_0x137d78(0x15a)]),'icon':_0x4523aa,'withText':!0x0,'type':_0x137d78(0x156),'actionName':_0x137d78(0x158)}),this[_0x137d78(0x159)]=new _0x39e8c4({'label':Ln(_0x137d78(0x151),_0x1e2939,this[_0x137d78(0x15a)]),'icon':_0x4f9b9d,'withText':!0x0,'type':_0x137d78(0x156),'actionName':_0x137d78(0x151)}),this[_0x137d78(0x17f)]=new _0x39e8c4({'label':Ln(_0x137d78(0x12f),_0x1e2939,this[_0x137d78(0x15a)]),'icon':_0x59f735,'withText':!0x0,'type':_0x137d78(0x156),'actionName':_0x137d78(0x12f)}),this[_0x137d78(0x132)]=this[_0x137d78(0x17d)](_0x1e2939),this[_0x137d78(0x16c)]=this[_0x137d78(0x135)]([this[_0x137d78(0x132)]]),this[_0x137d78(0x16d)]({'tag':_0x137d78(0x142),'attributes':{'class':['ck',_0x137d78(0x182),_0x8d861c['if'](_0x137d78(0x146),_0x137d78(0x130),_0x4323b8=>!_0x4323b8)]},'children':this[_0x137d78(0x16c)]}),this[_0x137d78(0x13b)](this,_0x137d78(0x174),()=>{const _0x1940d3=_0x137d78;this[_0x1940d3(0x15c)]=this[_0x1940d3(0x15d)]?this[_0x1940d3(0x187)][_0x1940d3(0x175)](_0x469405=>_0x1940d3(0x158)!==_0x469405):[...this[_0x1940d3(0x187)]],this[_0x1940d3(0x17a)](_0x1e2939);});}[_0x3e8998(0x17a)](_0x4ca3aa){const _0x2a48a6=_0x3e8998;this[_0x2a48a6(0x16c)][_0x2a48a6(0x144)](this[_0x2a48a6(0x132)])&&(this[_0x2a48a6(0x16c)][_0x2a48a6(0x177)](this[_0x2a48a6(0x132)]),this[_0x2a48a6(0x132)][_0x2a48a6(0x176)]()),0x0!=this[_0x2a48a6(0x15c)][_0x2a48a6(0x170)]&&(this[_0x2a48a6(0x132)]=this[_0x2a48a6(0x17d)](_0x4ca3aa),this[_0x2a48a6(0x16c)][_0x2a48a6(0x14e)](this[_0x2a48a6(0x132)]));}[_0x3e8998(0x17d)](_0x5cb6be){const _0x503276=_0x3e8998,_0x46ad29=0x1===this[_0x503276(0x15c)][_0x503276(0x170)]?this[_0x503276(0x131)](_0x5cb6be):this[_0x503276(0x169)](_0x5cb6be),_0x4c07ef=this[_0x503276(0x136)]?'':_0x503276(0x12a);_0x46ad29[_0x503276(0x166)]({'label':Ln(this[_0x503276(0x15c)][0x0],_0x5cb6be,this[_0x503276(0x15a)]),'tooltip':jn(this[_0x503276(0x15c)][0x0],_0x5cb6be,this[_0x503276(0x15a)]),'withText':!0x0,'class':_0x503276(0x180)+_0x4c07ef});for(const _0x572035 of this[_0x503276(0x15c)])_0x46ad29['on'](_0x572035,()=>{const _0x47daa2=_0x503276;this[_0x47daa2(0x173)](_0x572035);});return this[_0x503276(0x136)]=!0x1,_0x46ad29;}[_0x3e8998(0x131)](_0x1a09a3){const _0x53cfb8=_0x3e8998,_0x20cd57=new _0x2fe4ec(_0x1a09a3);return _0x20cd57[_0x53cfb8(0x166)]({'class':_0x53cfb8(0x148),'withText':!0x0}),_0x20cd57['on'](_0x53cfb8(0x17b),()=>{const _0x3d5ec3=_0x53cfb8;_0x20cd57[_0x3d5ec3(0x173)](this[_0x3d5ec3(0x15c)][0x0]);}),_0x20cd57;}[_0x3e8998(0x169)](_0x28e793){const _0x52b63f=_0x3e8998,_0x360cb2=new Pn(_0x28e793,{'listItemModels':this[_0x52b63f(0x15c)][_0x52b63f(0x172)](_0xe9c36d=>{const _0x54f01f=_0x52b63f;switch(_0xe9c36d){case _0x54f01f(0x158):return this[_0x54f01f(0x167)];case _0x54f01f(0x151):return this[_0x54f01f(0x159)];case _0x54f01f(0x12f):return this[_0x54f01f(0x17f)];}})});return _0x360cb2[_0x52b63f(0x166)]({'label':Ln(this[_0x52b63f(0x15c)][0x0],_0x28e793,this[_0x52b63f(0x15a)]),'tooltip':jn(this[_0x52b63f(0x15c)][0x0],_0x28e793,this[_0x52b63f(0x15a)]),'withText':!0x0,'class':_0x52b63f(0x182),'balloonPanelClass':_0x52b63f(0x17c)}),_0x360cb2[_0x52b63f(0x160)](_0x52b63f(0x137))['to'](this),_0x360cb2;}[_0x3e8998(0x150)](_0x225821){const _0x5c2a2e=_0x3e8998,_0x32fee9=this[_0x5c2a2e(0x129)];this[_0x5c2a2e(0x15a)]=_0x225821||this[_0x5c2a2e(0x15a)],this[_0x5c2a2e(0x132)][_0x5c2a2e(0x166)]({'label':Ln(this[_0x5c2a2e(0x15c)][0x0],_0x32fee9,this[_0x5c2a2e(0x15a)]),'tooltip':jn(this[_0x5c2a2e(0x15c)][0x0],_0x32fee9,this[_0x5c2a2e(0x15a)])}),this[_0x5c2a2e(0x167)][_0x5c2a2e(0x13f)]=Ln(_0x5c2a2e(0x158),_0x32fee9,this[_0x5c2a2e(0x15a)]),this[_0x5c2a2e(0x159)][_0x5c2a2e(0x13f)]=Ln(_0x5c2a2e(0x151),_0x32fee9,this[_0x5c2a2e(0x15a)]),this[_0x5c2a2e(0x17f)][_0x5c2a2e(0x13f)]=Ln(_0x5c2a2e(0x12f),_0x32fee9,this[_0x5c2a2e(0x15a)]);}}class Pn extends _0x180d4c{[_0x3e8998(0x15e)];[_0x3e8998(0x178)];[_0x3e8998(0x145)];[_0x3e8998(0x12d)];constructor(_0x20a642,_0x590c8d){const _0x386def=_0x3e8998;super(_0x20a642),this[_0x386def(0x178)]=new _0x5bcd99(this[_0x386def(0x129)]),this[_0x386def(0x15e)]=new _0x31b909(this[_0x386def(0x129)]),this[_0x386def(0x15e)][_0x386def(0x14d)](),this[_0x386def(0x166)](_0x386def(0x149),''),this[_0x386def(0x178)][_0x386def(0x160)](_0x386def(0x186))['to'](this,_0x386def(0x149)),this[_0x386def(0x145)]=this[_0x386def(0x162)](_0x590c8d[_0x386def(0x153)][_0x386def(0x13a)](0x1)),this[_0x386def(0x15e)][_0x386def(0x14e)](this[_0x386def(0x178)]),this[_0x386def(0x178)][_0x386def(0x13d)][_0x386def(0x14e)](this[_0x386def(0x145)]),this[_0x386def(0x181)][_0x386def(0x13e)](_0x386def(0x14b)),this[_0x386def(0x181)][_0x386def(0x166)](_0x386def(0x14b),_0x21ad58(this[_0x386def(0x129)],_0x386def(0x157))),this[_0x386def(0x143)](),this['on'](_0x386def(0x17b),()=>{const _0x2d55c0=_0x386def,_0xe47400=_0x590c8d[_0x2d55c0(0x153)][0x0][_0x2d55c0(0x164)];this[_0x2d55c0(0x173)](_0xe47400),this[_0x2d55c0(0x178)][_0x2d55c0(0x154)](),this[_0x2d55c0(0x181)][_0x2d55c0(0x163)]();}),this['on'](_0x386def(0x16a),()=>{const _0x4c7af1=_0x386def;this[_0x4c7af1(0x178)][_0x4c7af1(0x146)]?(this[_0x4c7af1(0x178)][_0x4c7af1(0x154)](),this[_0x4c7af1(0x181)][_0x4c7af1(0x163)]()):(this[_0x4c7af1(0x178)][_0x4c7af1(0x179)]({'target':this[_0x4c7af1(0x139)],'positions':[_0x4c7af1(0x141)===this[_0x4c7af1(0x129)][_0x4c7af1(0x147)]?Hn:Un]}),this[_0x4c7af1(0x145)][_0x4c7af1(0x163)]());}),_0x463ab3({'emitter':this[_0x386def(0x178)],'callback':()=>{const _0xe912e2=_0x386def;this[_0xe912e2(0x178)][_0xe912e2(0x154)]();},'activator':()=>this[_0x386def(0x178)][_0x386def(0x146)],'contextElements':()=>[this[_0x386def(0x139)],this[_0x386def(0x178)][_0x386def(0x139)]]});}[_0x3e8998(0x162)](_0x4a2bf1){const _0x267bc0=_0x3e8998,_0x3ef806=this[_0x267bc0(0x129)],_0x8deb4a=new _0x50d3fd(_0x3ef806);for(const _0x59d3e7 of _0x4a2bf1){const _0x587041=new _0x1c8293(_0x3ef806),_0x6d362=new _0x28fff5(_0x3ef806);_0x6d362[_0x267bc0(0x160)](...Object[_0x267bc0(0x138)](_0x59d3e7))['to'](_0x59d3e7),_0x6d362[_0x267bc0(0x168)](_0x267bc0(0x17b))['to'](_0x8deb4a),_0x587041[_0x267bc0(0x16c)][_0x267bc0(0x14e)](_0x6d362),_0x8deb4a[_0x267bc0(0x183)][_0x267bc0(0x14e)](_0x587041);}return _0x8deb4a[_0x267bc0(0x183)][_0x267bc0(0x168)](_0x267bc0(0x17b))['to'](this),_0x8deb4a['on'](_0x267bc0(0x17b),_0x2be377=>{const _0x3645ef=_0x267bc0,_0x4b45b2=_0x2be377[_0x3645ef(0x12b)];this[_0x3645ef(0x173)](_0x4b45b2[_0x3645ef(0x164)]),this[_0x3645ef(0x178)][_0x3645ef(0x154)](),this[_0x3645ef(0x181)][_0x3645ef(0x163)]();}),_0x8deb4a;}[_0x3e8998(0x143)](){const _0x1b7300=_0x3e8998;this[_0x1b7300(0x12d)]=new _0x51393d(),this[_0x1b7300(0x12d)][_0x1b7300(0x13b)](this[_0x1b7300(0x178)][_0x1b7300(0x139)]),this[_0x1b7300(0x12d)][_0x1b7300(0x166)](_0x1b7300(0x134),(_0x22406f,_0x56ce7a)=>{const _0x5a803a=_0x1b7300;this[_0x5a803a(0x178)][_0x5a803a(0x154)](),this[_0x5a803a(0x181)][_0x5a803a(0x163)](),_0x56ce7a();});}[_0x3e8998(0x176)](){const _0xbfa2be=_0x3e8998;super[_0xbfa2be(0x176)](),this[_0xbfa2be(0x12d)][_0xbfa2be(0x176)](),this[_0xbfa2be(0x178)][_0xbfa2be(0x176)](),this[_0xbfa2be(0x15e)][_0xbfa2be(0x140)]();}}function Hn(_0x5e4c61){const _0x4387f3=_0x3e8998;return{'top':_0x5e4c61[_0x4387f3(0x15b)],'left':_0x5e4c61[_0x4387f3(0x14a)],'name':_0x4387f3(0x14c),'config':{'withArrow':!0x1}};}function Un(_0x3b8dfc,_0x40c094){const _0x7ce3de=_0x3e8998;return{'top':_0x3b8dfc[_0x7ce3de(0x15b)],'left':_0x3b8dfc[_0x7ce3de(0x14a)]-(_0x40c094[_0x7ce3de(0x17e)]-_0x3b8dfc[_0x7ce3de(0x17e)]),'name':_0x7ce3de(0x14c),'config':{'withArrow':!0x1}};}function Ln(_0x4bf522,_0x37749c,_0x4a6926){const _0x33ee5d=_0x3e8998;switch(_0x4bf522){case _0x33ee5d(0x158):return _0x21ad58(_0x37749c,_0x33ee5d(0x12c),_0x4a6926);case _0x33ee5d(0x151):return _0x21ad58(_0x37749c,_0x33ee5d(0x13c),_0x4a6926);case _0x33ee5d(0x12f):return _0x21ad58(_0x37749c,_0x33ee5d(0x152),_0x4a6926);}}function _0x29ee(_0x29b9ae,_0x26e8e2){const _0x599b85=_0x599b();return _0x29ee=function(_0x29ee58,_0xb6a041){_0x29ee58=_0x29ee58-0x129;let _0x3f2a3b=_0x599b85[_0x29ee58];return _0x3f2a3b;},_0x29ee(_0x29b9ae,_0x26e8e2);}function jn(_0x4172ec,_0xe0c2b8,_0x5a764a){const _0x509920=_0x3e8998;switch(_0x4172ec){case _0x509920(0x158):return _0x21ad58(_0xe0c2b8,_0x509920(0x14f),_0x5a764a);case _0x509920(0x151):return _0x21ad58(_0xe0c2b8,_0x509920(0x15f),_0x5a764a);case _0x509920(0x12f):return _0x21ad58(_0xe0c2b8,_0x509920(0x161),_0x5a764a);}}
23
+ const _0xfe841e=_0x21b7;(function(_0xcfa4c3,_0x339a79){const _0x500d2f=_0x21b7,_0x53f5d5=_0xcfa4c3();while(!![]){try{const _0x459dea=parseInt(_0x500d2f(0x188))/0x1*(-parseInt(_0x500d2f(0x1bd))/0x2)+-parseInt(_0x500d2f(0x196))/0x3+-parseInt(_0x500d2f(0x1bc))/0x4*(-parseInt(_0x500d2f(0x195))/0x5)+-parseInt(_0x500d2f(0x1d6))/0x6*(parseInt(_0x500d2f(0x197))/0x7)+-parseInt(_0x500d2f(0x1d9))/0x8*(parseInt(_0x500d2f(0x1a5))/0x9)+-parseInt(_0x500d2f(0x1a2))/0xa+-parseInt(_0x500d2f(0x1c2))/0xb*(-parseInt(_0x500d2f(0x187))/0xc);if(_0x459dea===_0x339a79)break;else _0x53f5d5['push'](_0x53f5d5['shift']());}catch(_0x2cdd67){_0x53f5d5['push'](_0x53f5d5['shift']());}}}(_0x29df,0xe0a46));import{KeystrokeHandler as _0x511bfd}from'ckeditor5/src/utils.js';function _0x21b7(_0x4411a6,_0x5e58b3){const _0x29dfe1=_0x29df();return _0x21b7=function(_0x21b78c,_0x43eadc){_0x21b78c=_0x21b78c-0x185;let _0x42216b=_0x29dfe1[_0x21b78c];return _0x42216b;},_0x21b7(_0x4411a6,_0x5e58b3);}import{BalloonPanelView as _0x22c92c,BodyCollection as _0x1b05ad,ButtonView as _0x49abbd,clickOutsideHandler as _0x3dd6d9,ListItemButtonView as _0x393caf,ListItemView as _0x1047e2,ListView as _0x487f65,SplitButtonView as _0x3caf8a,UIModel as _0x9af8c4,View as _0x8f7ca1}from'ckeditor5/src/ui.js';import{IconCheck as _0x3ee3a7,IconAddComment as _0x4eace6,IconDocumentWithLoupe as _0x3326dd}from'ckeditor5/src/icons.js';import{getTranslation as _0x5e429a}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0xfe841e(0x186),_0xfe841e(0x18b),_0xfe841e(0x1da)];export class AIChatFeedSuggestionItemActionsView extends _0x8f7ca1{[_0xfe841e(0x193)];[_0xfe841e(0x190)];[_0xfe841e(0x1c6)];[_0xfe841e(0x1bf)];[_0xfe841e(0x1d8)];[_0xfe841e(0x1b9)]=0x1;[_0xfe841e(0x19f)];[_0xfe841e(0x1d5)];[_0xfe841e(0x1b3)]=!0x0;constructor(_0x2d8f32,_0x4d8122){const _0x171030=_0xfe841e;super(_0x2d8f32),this[_0x171030(0x19f)]=_0x4d8122||[...ACTIONS],this[_0x171030(0x1d5)]=[...this[_0x171030(0x19f)]];const _0xb1c213=this[_0x171030(0x18a)];this[_0x171030(0x1cc)](_0x171030(0x185),!0x0),this[_0x171030(0x1cc)](_0x171030(0x1a0),!0x0),this[_0x171030(0x1c6)]=new _0x9af8c4({'label':Hn(_0x171030(0x186),_0x2d8f32,this[_0x171030(0x1b9)]),'icon':_0x3ee3a7,'withText':!0x0,'type':_0x171030(0x1ca),'actionName':_0x171030(0x186)}),this[_0x171030(0x1bf)]=new _0x9af8c4({'label':Hn(_0x171030(0x1da),_0x2d8f32,this[_0x171030(0x1b9)]),'icon':_0x3326dd,'withText':!0x0,'type':_0x171030(0x1ca),'actionName':_0x171030(0x1da)}),this[_0x171030(0x1d8)]=new _0x9af8c4({'label':Hn(_0x171030(0x18b),_0x2d8f32,this[_0x171030(0x1b9)]),'icon':_0x4eace6,'withText':!0x0,'type':_0x171030(0x1ca),'actionName':_0x171030(0x18b)}),this[_0x171030(0x193)]=this[_0x171030(0x1be)](_0x2d8f32),this[_0x171030(0x190)]=this[_0x171030(0x1d1)]([this[_0x171030(0x193)]]),this[_0x171030(0x1b5)]({'tag':_0x171030(0x18f),'attributes':{'class':['ck',_0x171030(0x1d4),_0xb1c213['if'](_0x171030(0x1a0),_0x171030(0x18d),_0x3e8c0b=>!_0x3e8c0b)]},'children':this[_0x171030(0x190)]}),this[_0x171030(0x1cf)](this,_0x171030(0x1e4),()=>{const _0x4f854d=_0x171030;this[_0x4f854d(0x1d5)]=this[_0x4f854d(0x19b)]?this[_0x4f854d(0x19f)][_0x4f854d(0x1db)](_0x434b13=>_0x4f854d(0x186)!==_0x434b13):[...this[_0x4f854d(0x19f)]],this[_0x4f854d(0x1bb)](_0x2d8f32);});}[_0xfe841e(0x1bb)](_0x18c9c1){const _0x57cb11=_0xfe841e;this[_0x57cb11(0x190)][_0x57cb11(0x1a1)](this[_0x57cb11(0x193)])&&(this[_0x57cb11(0x190)][_0x57cb11(0x1c0)](this[_0x57cb11(0x193)]),this[_0x57cb11(0x193)][_0x57cb11(0x1b2)]()),0x0!=this[_0x57cb11(0x1d5)][_0x57cb11(0x1b6)]&&(this[_0x57cb11(0x193)]=this[_0x57cb11(0x1be)](_0x18c9c1),this[_0x57cb11(0x190)][_0x57cb11(0x1e5)](this[_0x57cb11(0x193)]));}[_0xfe841e(0x1be)](_0x6fbc19){const _0x105568=_0xfe841e,_0x25744c=0x1===this[_0x105568(0x1d5)][_0x105568(0x1b6)]?this[_0x105568(0x1b0)](_0x6fbc19):this[_0x105568(0x1cd)](_0x6fbc19),_0xd2d154=this[_0x105568(0x1b3)]?'':_0x105568(0x1c3);_0x25744c[_0x105568(0x1cc)]({'label':Hn(this[_0x105568(0x1d5)][0x0],_0x6fbc19,this[_0x105568(0x1b9)]),'tooltip':Un(this[_0x105568(0x1d5)][0x0],_0x6fbc19,this[_0x105568(0x1b9)]),'withText':!0x0,'class':_0x105568(0x198)+_0xd2d154});for(const _0x4eeae5 of this[_0x105568(0x1d5)])_0x25744c['on'](_0x4eeae5,()=>{const _0x585873=_0x105568;this[_0x585873(0x1ab)](_0x4eeae5);});return this[_0x105568(0x1b3)]=!0x1,_0x25744c;}[_0xfe841e(0x1b0)](_0x57d985){const _0x5508e5=_0xfe841e,_0xa023af=new _0x49abbd(_0x57d985);return _0xa023af[_0x5508e5(0x1cc)]({'class':_0x5508e5(0x19c),'withText':!0x0}),_0xa023af['on'](_0x5508e5(0x191),()=>{const _0x221ed3=_0x5508e5;_0xa023af[_0x221ed3(0x1ab)](this[_0x221ed3(0x1d5)][0x0]);}),_0xa023af;}[_0xfe841e(0x1cd)](_0x45b4e9){const _0x4df0c9=_0xfe841e,_0x2d1257=new Gn(_0x45b4e9,{'listItemModels':this[_0x4df0c9(0x1d5)][_0x4df0c9(0x1de)](_0x1674ea=>{const _0x3525c8=_0x4df0c9;switch(_0x1674ea){case _0x3525c8(0x186):return this[_0x3525c8(0x1c6)];case _0x3525c8(0x1da):return this[_0x3525c8(0x1bf)];case _0x3525c8(0x18b):return this[_0x3525c8(0x1d8)];}})});return _0x2d1257[_0x4df0c9(0x1cc)]({'label':Hn(this[_0x4df0c9(0x1d5)][0x0],_0x45b4e9,this[_0x4df0c9(0x1b9)]),'tooltip':Un(this[_0x4df0c9(0x1d5)][0x0],_0x45b4e9,this[_0x4df0c9(0x1b9)]),'withText':!0x0,'class':_0x4df0c9(0x1d4),'balloonPanelClass':_0x4df0c9(0x1a3)}),_0x2d1257[_0x4df0c9(0x1b4)](_0x4df0c9(0x185))['to'](this),_0x2d1257;}[_0xfe841e(0x1c8)](_0x3285ac){const _0x59e1c5=_0xfe841e,_0x1751eb=this[_0x59e1c5(0x19e)];this[_0x59e1c5(0x1b9)]=_0x3285ac||this[_0x59e1c5(0x1b9)],this[_0x59e1c5(0x193)][_0x59e1c5(0x1cc)]({'label':Hn(this[_0x59e1c5(0x1d5)][0x0],_0x1751eb,this[_0x59e1c5(0x1b9)]),'tooltip':Un(this[_0x59e1c5(0x1d5)][0x0],_0x1751eb,this[_0x59e1c5(0x1b9)])}),this[_0x59e1c5(0x1c6)][_0x59e1c5(0x1ad)]=Hn(_0x59e1c5(0x186),_0x1751eb,this[_0x59e1c5(0x1b9)]),this[_0x59e1c5(0x1bf)][_0x59e1c5(0x1ad)]=Hn(_0x59e1c5(0x1da),_0x1751eb,this[_0x59e1c5(0x1b9)]),this[_0x59e1c5(0x1d8)][_0x59e1c5(0x1ad)]=Hn(_0x59e1c5(0x18b),_0x1751eb,this[_0x59e1c5(0x1b9)]);}}class Gn extends _0x3caf8a{[_0xfe841e(0x1d0)];[_0xfe841e(0x19d)];[_0xfe841e(0x1c4)];[_0xfe841e(0x1e2)];constructor(_0x4cacb5,_0x394b30){const _0x3b283c=_0xfe841e;super(_0x4cacb5),this[_0x3b283c(0x19d)]=new _0x22c92c(this[_0x3b283c(0x19e)]),this[_0x3b283c(0x1d0)]=new _0x1b05ad(this[_0x3b283c(0x19e)]),this[_0x3b283c(0x1d0)][_0x3b283c(0x192)](),this[_0x3b283c(0x1cc)](_0x3b283c(0x189),''),this[_0x3b283c(0x19d)][_0x3b283c(0x1b4)](_0x3b283c(0x1cb))['to'](this,_0x3b283c(0x189)),this[_0x3b283c(0x1c4)]=this[_0x3b283c(0x18e)](_0x394b30[_0x3b283c(0x1a8)][_0x3b283c(0x1dd)](0x1)),this[_0x3b283c(0x1d0)][_0x3b283c(0x1e5)](this[_0x3b283c(0x19d)]),this[_0x3b283c(0x19d)][_0x3b283c(0x1df)][_0x3b283c(0x1e5)](this[_0x3b283c(0x1c4)]),this[_0x3b283c(0x1dc)][_0x3b283c(0x1ce)](_0x3b283c(0x1e3)),this[_0x3b283c(0x1dc)][_0x3b283c(0x1cc)](_0x3b283c(0x1e3),_0x5e429a(this[_0x3b283c(0x19e)],_0x3b283c(0x1b8))),this[_0x3b283c(0x1ba)](),this['on'](_0x3b283c(0x191),()=>{const _0x1f3a06=_0x3b283c,_0x5a5032=_0x394b30[_0x1f3a06(0x1a8)][0x0][_0x1f3a06(0x1d3)];this[_0x1f3a06(0x1ab)](_0x5a5032),this[_0x1f3a06(0x19d)][_0x1f3a06(0x199)](),this[_0x1f3a06(0x1dc)][_0x1f3a06(0x1af)]();}),this['on'](_0x3b283c(0x1a4),()=>{const _0x54a91c=_0x3b283c;this[_0x54a91c(0x19d)][_0x54a91c(0x1a0)]?(this[_0x54a91c(0x19d)][_0x54a91c(0x199)](),this[_0x54a91c(0x1dc)][_0x54a91c(0x1af)]()):(this[_0x54a91c(0x19d)][_0x54a91c(0x1d2)]({'target':this[_0x54a91c(0x1a9)],'positions':[_0x54a91c(0x1c1)===this[_0x54a91c(0x19e)][_0x54a91c(0x1e6)]?yn:Pn]}),this[_0x54a91c(0x1c4)][_0x54a91c(0x1af)]());}),_0x3dd6d9({'emitter':this[_0x3b283c(0x19d)],'callback':()=>{const _0x4cc622=_0x3b283c;this[_0x4cc622(0x19d)][_0x4cc622(0x199)]();},'activator':()=>this[_0x3b283c(0x19d)][_0x3b283c(0x1a0)],'contextElements':()=>[this[_0x3b283c(0x1a9)],this[_0x3b283c(0x19d)][_0x3b283c(0x1a9)]]});}[_0xfe841e(0x18e)](_0x58f70b){const _0x278221=_0xfe841e,_0x57e2e9=this[_0x278221(0x19e)],_0x8fcb4a=new _0x487f65(_0x57e2e9);for(const _0x38efec of _0x58f70b){const _0x4c5a21=new _0x1047e2(_0x57e2e9),_0x35fe72=new _0x393caf(_0x57e2e9);_0x35fe72[_0x278221(0x1b4)](...Object[_0x278221(0x1b7)](_0x38efec))['to'](_0x38efec),_0x35fe72[_0x278221(0x1e0)](_0x278221(0x191))['to'](_0x8fcb4a),_0x4c5a21[_0x278221(0x190)][_0x278221(0x1e5)](_0x35fe72),_0x8fcb4a[_0x278221(0x19a)][_0x278221(0x1e5)](_0x4c5a21);}return _0x8fcb4a[_0x278221(0x19a)][_0x278221(0x1e0)](_0x278221(0x191))['to'](this),_0x8fcb4a['on'](_0x278221(0x191),_0x3e6c17=>{const _0x18bd68=_0x278221,_0x5ef09a=_0x3e6c17[_0x18bd68(0x1aa)];this[_0x18bd68(0x1ab)](_0x5ef09a[_0x18bd68(0x1d3)]),this[_0x18bd68(0x19d)][_0x18bd68(0x199)](),this[_0x18bd68(0x1dc)][_0x18bd68(0x1af)]();}),_0x8fcb4a;}[_0xfe841e(0x1ba)](){const _0x3d12de=_0xfe841e;this[_0x3d12de(0x1e2)]=new _0x511bfd(),this[_0x3d12de(0x1e2)][_0x3d12de(0x1cf)](this[_0x3d12de(0x19d)][_0x3d12de(0x1a9)]),this[_0x3d12de(0x1e2)][_0x3d12de(0x1cc)](_0x3d12de(0x1b1),(_0x4aac6f,_0x4e8a70)=>{const _0x365a67=_0x3d12de;this[_0x365a67(0x19d)][_0x365a67(0x199)](),this[_0x365a67(0x1dc)][_0x365a67(0x1af)](),_0x4e8a70();});}[_0xfe841e(0x1b2)](){const _0x25b392=_0xfe841e;super[_0x25b392(0x1b2)](),this[_0x25b392(0x1e2)][_0x25b392(0x1b2)](),this[_0x25b392(0x19d)][_0x25b392(0x1b2)](),this[_0x25b392(0x1d0)][_0x25b392(0x1d7)]();}}function yn(_0x4ba18b){const _0x338992=_0xfe841e;return{'top':_0x4ba18b[_0x338992(0x1a6)],'left':_0x4ba18b[_0x338992(0x1c9)],'name':_0x338992(0x1ac),'config':{'withArrow':!0x1}};}function _0x29df(){const _0x3d4dbc=['balloonPanelView','locale','_dropdownOriginalConfig','isVisible','has','11492460zNPxdi','ck-ai-chat__feed__ai-suggestion__actions__balloon','open','259020BrsZaB','bottom','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','listItemModels','element','source','fire','arrowless','label','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','focus','_createActionsButton','esc','destroy','_firstRender','bind','setTemplate','length','keys','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','_partsCount','_setUpKeystrokes','_updateDropdownActions','4JTUMxP','234MuUPok','_createActionsDropdownOrButton','showChangeInTextModel','remove','ltr','57874157LEZsuZ','ck-ai-chat__feed__ai-suggestion__actions--no-animation','listView','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','applySuggestionModel','width','updateLabels','left','button','class','set','_createActionsDropdown','unbind','listenTo','bodyCollection','createCollection','pin','actionName','ck-ai-chat__feed__ai-suggestion__actions','_dropdownCurrentConfig','83958wJcWdJ','detachFromDom','insertSuggestionModel','128EHAppy','showChangeInText','filter','arrowView','slice','map','content','delegate','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','keystrokeHandler','tooltip','change:isTrackChangesOn','add','uiLanguageDirection','isEnabled','applySuggestion','12DcUbqg','7895JpWVHF','balloonPanelClass','bindTemplate','insertSuggestion','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','ck-hidden','_setUpList','div','children','execute','attachToDom','actionsButton','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','1575745FQpxsh','3975780NwdzbF','399kqDFBH','ck-ai-chat__feed__ai-suggestion__actions\x20','hide','items','isTrackChangesOn','ck-ai-button-primary'];_0x29df=function(){return _0x3d4dbc;};return _0x29df();}function Pn(_0x1ac5f4,_0x368a22){const _0x7a1f4e=_0xfe841e;return{'top':_0x1ac5f4[_0x7a1f4e(0x1a6)],'left':_0x1ac5f4[_0x7a1f4e(0x1c9)]-(_0x368a22[_0x7a1f4e(0x1c7)]-_0x1ac5f4[_0x7a1f4e(0x1c7)]),'name':_0x7a1f4e(0x1ac),'config':{'withArrow':!0x1}};}function Hn(_0x46959e,_0x5efa44,_0x22ab5d){const _0x19e940=_0xfe841e;switch(_0x46959e){case _0x19e940(0x186):return _0x5e429a(_0x5efa44,_0x19e940(0x1e1),_0x22ab5d);case _0x19e940(0x1da):return _0x5e429a(_0x5efa44,_0x19e940(0x1a7),_0x22ab5d);case _0x19e940(0x18b):return _0x5e429a(_0x5efa44,_0x19e940(0x1c5),_0x22ab5d);}}function Un(_0x50a2d3,_0x32a6b2,_0x87c703){const _0x5f3a47=_0xfe841e;switch(_0x50a2d3){case _0x5f3a47(0x186):return _0x5e429a(_0x32a6b2,_0x5f3a47(0x194),_0x87c703);case _0x5f3a47(0x1da):return _0x5e429a(_0x32a6b2,_0x5f3a47(0x18c),_0x87c703);case _0x5f3a47(0x18b):return _0x5e429a(_0x32a6b2,_0x5f3a47(0x1ae),_0x87c703);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3c66c0=_0x597e;(function(_0x1c458b,_0x2005c0){var _0x7f3947=_0x597e,_0xa124c4=_0x1c458b();while(!![]){try{var _0x4cf037=parseInt(_0x7f3947(0x1e3))/0x1+-parseInt(_0x7f3947(0x1f0))/0x2*(-parseInt(_0x7f3947(0x1fc))/0x3)+-parseInt(_0x7f3947(0x1f4))/0x4+parseInt(_0x7f3947(0x1fe))/0x5+-parseInt(_0x7f3947(0x1f7))/0x6+parseInt(_0x7f3947(0x200))/0x7+parseInt(_0x7f3947(0x1db))/0x8*(-parseInt(_0x7f3947(0x1eb))/0x9);if(_0x4cf037===_0x2005c0)break;else _0xa124c4['push'](_0xa124c4['shift']());}catch(_0x4e25ab){_0xa124c4['push'](_0xa124c4['shift']());}}}(_0x2e33,0x7dbc0));function _0x597e(_0x6de9a6,_0x47576f){var _0x2e3395=_0x2e33();return _0x597e=function(_0x597eec,_0x44b781){_0x597eec=_0x597eec-0x1d9;var _0x36cf15=_0x2e3395[_0x597eec];return _0x36cf15;},_0x597e(_0x6de9a6,_0x47576f);}import{AIChatFeedItemView as _0x3338ba}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x275598}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x489812}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x3338ba{[_0x3c66c0(0x1d9)];[_0x3c66c0(0x1f1)];constructor(_0x5e81d9,_0x284e5f){var _0x360181=_0x3c66c0;super(_0x284e5f),this[_0x360181(0x1d9)]=new _0x275598(_0x5e81d9,{'showDiff':_0x284e5f[_0x360181(0x1f9)],'areActionsDisabled':_0x284e5f[_0x360181(0x1ee)]}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1ff),(_0x5713d2,_0x950888)=>{var _0x50037a=_0x360181;this[_0x50037a(0x1f8)](_0x50037a(0x1ff),{'replyId':this[_0x50037a(0x1de)]['id'],'showDiff':_0x950888[_0x50037a(0x1f9)]});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1ea),()=>{var _0x12d6d2=_0x360181;this[_0x12d6d2(0x1f8)](_0x12d6d2(0x1ea),{'replyId':this[_0x12d6d2(0x1de)]['id']});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1fd),()=>{var _0x5b9c94=_0x360181;this[_0x5b9c94(0x1f8)](_0x5b9c94(0x1fd),{'replyId':this[_0x5b9c94(0x1de)]['id']});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1e7),(_0x484890,{index:_0x43dc6f})=>{var _0x28f94d=_0x360181;this[_0x28f94d(0x1f8)](_0x28f94d(0x1e7),{'replyId':this[_0x28f94d(0x1de)]['id'],'partIndex':_0x43dc6f});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1ed),(_0xe0350f,{index:_0x48f58e})=>{var _0x3a08d6=_0x360181;this[_0x3a08d6(0x1f8)](_0x3a08d6(0x1ed),{'replyId':this[_0x3a08d6(0x1de)]['id'],'partIndex':_0x48f58e});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1e5),(_0x5d3fda,{index:_0x4869da})=>{var _0x200ab2=_0x360181;this[_0x200ab2(0x1f8)](_0x200ab2(0x1e5),{'replyId':this[_0x200ab2(0x1de)]['id'],'partIndex':_0x4869da});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1e9),(_0x1d3c1b,{index:_0x4e5e72})=>{var _0x3822fa=_0x360181;this[_0x3822fa(0x1f8)](_0x3822fa(0x1e9),{'replyId':this[_0x3822fa(0x1de)]['id'],'partIndex':_0x4e5e72});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1f6),(_0xd69245,{index:_0x4eba3f})=>{var _0x1a9001=_0x360181;this[_0x1a9001(0x1f8)](_0x1a9001(0x1f6),{'replyId':this[_0x1a9001(0x1de)]['id'],'partIndex':_0x4eba3f});}),this[_0x360181(0x1f1)]=new _0x489812(_0x5e81d9,this[_0x360181(0x1de)][_0x360181(0x201)]),this[_0x360181(0x1f1)][_0x360181(0x203)](_0x360181(0x202))['to'](this,_0x360181(0x202)),this[_0x360181(0x1f1)]['on'](_0x360181(0x1e7),()=>{var _0x554efd=_0x360181;this[_0x554efd(0x1f8)](_0x554efd(0x1e7),{'replyId':this[_0x554efd(0x1de)]['id']});}),this[_0x360181(0x1f1)]['on'](_0x360181(0x1ed),()=>{var _0xd70888=_0x360181;this[_0xd70888(0x1f8)](_0xd70888(0x1ed),{'replyId':this[_0xd70888(0x1de)]['id']});}),this[_0x360181(0x1f1)]['on'](_0x360181(0x1ec),()=>{var _0x34680a=_0x360181;this[_0x34680a(0x1f8)](_0x34680a(0x1ec),{'replyId':this[_0x34680a(0x1de)]['id']});}),_0x284e5f[_0x360181(0x1ee)]?this[_0x360181(0x1f1)][_0x360181(0x1dc)]=!0x1:this[_0x360181(0x1f1)][_0x360181(0x203)](_0x360181(0x1dc))['to'](this[_0x360181(0x1d9)][_0x360181(0x1dd)],_0x360181(0x1da)),this[_0x360181(0x1f3)][_0x360181(0x1fa)]([this[_0x360181(0x1d9)],this[_0x360181(0x1f1)]]),this[_0x360181(0x1e2)]({'attributes':{'class':[_0x360181(0x1df)]}});}async[_0x3c66c0(0x1f5)](_0x2b1fb5){var _0x28cf29=_0x3c66c0;await this[_0x28cf29(0x1d9)][_0x28cf29(0x1f5)](_0x2b1fb5),this[_0x28cf29(0x1f1)][_0x28cf29(0x1e8)](this[_0x28cf29(0x1d9)][_0x28cf29(0x1dd)][_0x28cf29(0x1ef)]);}[_0x3c66c0(0x1e6)](_0x41896b,_0x56c0e5){var _0x483b76=_0x3c66c0;this[_0x483b76(0x1d9)][_0x483b76(0x1dd)][_0x483b76(0x1e6)](_0x41896b,_0x56c0e5);}[_0x3c66c0(0x1fb)](_0x3d09e7){var _0x172f6d=_0x3c66c0;this[_0x172f6d(0x1d9)][_0x172f6d(0x1fb)](_0x3d09e7);}[_0x3c66c0(0x1e0)](_0x3e5e87){var _0xdb6b66=_0x3c66c0;return this[_0xdb6b66(0x1d9)][_0xdb6b66(0x1dd)][_0xdb6b66(0x1e0)](_0x3e5e87);}[_0x3c66c0(0x1e4)](){var _0x2bcdd8=_0x3c66c0;super[_0x2bcdd8(0x1e4)](),this[_0x2bcdd8(0x1d9)][_0x2bcdd8(0x1e4)](),this[_0x2bcdd8(0x1f1)][_0x2bcdd8(0x1e1)]=this[_0x2bcdd8(0x1d9)][_0x2bcdd8(0x1dd)][_0x2bcdd8(0x1f2)];}}function _0x2e33(){var _0x43361d=['isTrackChangesOn','bind','containerView','hasPendingParts','256aUgqHD','isEnabled','bodyView','options','ck-ai-chat__feed__ai-suggestion','getPartView','isVisible','extendTemplate','444798rAdYsT','markAsDone','rejectSuggestion','updatePartState','showChangeInText','updateLabels','mouseOverSuggestion','like','333972YhVzik','applySuggestion','insertSuggestion','areActionsDisabled','partsCount','2ETaxRX','actionsView','hasNonEmptyParts','children','58828fDmNDw','updateContent','mouseLeaveSuggestion','3578010PEPNns','fire','showDiff','addMany','updateSources','2528187KlDmMQ','dislike','4040965dQHaUY','toggleSuggestionDisplayMode','1524502cgbOSR','dropdownConfig'];_0x2e33=function(){return _0x43361d;};return _0x2e33();}
23
+ var _0x2b8fcf=_0x334b;(function(_0xb18d21,_0x5be954){var _0x2af20c=_0x334b,_0x41f517=_0xb18d21();while(!![]){try{var _0x4ba3fb=-parseInt(_0x2af20c(0x1ad))/0x1+parseInt(_0x2af20c(0x1a9))/0x2+parseInt(_0x2af20c(0x1a5))/0x3+parseInt(_0x2af20c(0x1c4))/0x4+-parseInt(_0x2af20c(0x1c5))/0x5*(parseInt(_0x2af20c(0x1b2))/0x6)+-parseInt(_0x2af20c(0x1c9))/0x7*(-parseInt(_0x2af20c(0x1a8))/0x8)+parseInt(_0x2af20c(0x1b6))/0x9;if(_0x4ba3fb===_0x5be954)break;else _0x41f517['push'](_0x41f517['shift']());}catch(_0x2548b7){_0x41f517['push'](_0x41f517['shift']());}}}(_0x327a,0x8f243));function _0x334b(_0x4229c5,_0x4d96cc){var _0x327af6=_0x327a();return _0x334b=function(_0x334b58,_0x513fba){_0x334b58=_0x334b58-0x1a5;var _0x21b2e8=_0x327af6[_0x334b58];return _0x21b2e8;},_0x334b(_0x4229c5,_0x4d96cc);}import{AIChatFeedItemView as _0x3869bf}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x23639a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x5321cc}from'./aichatfeedsuggestionitemactionsview.js';function _0x327a(){var _0x5b2451=['hasPendingParts','897219FQmQWO','toggleSuggestionDisplayMode','rejectSuggestion','dropdownConfig','like','areActionsDisabled','ck-ai-chat__feed__ai-suggestion','containerView','hasNonEmptyParts','mouseLeaveSuggestion','updatePartState','addMany','children','mouseOverSuggestion','4553320aZBzfQ','2675jYRtCn','insertSuggestion','bind','updateSources','77ZzEdSD','bodyView','showDiff','isVisible','dislike','updateLabels','isEnabled','2258838tjFtsH','getPartView','applySuggestion','47704PtEObs','480088tGlEvX','options','showChangeInText','fire','817917whMtVQ','isTrackChangesOn','extendTemplate','updateContent','actionsView','10008OczJIp','partsCount','markAsDone'];_0x327a=function(){return _0x5b2451;};return _0x327a();}export class AIChatFeedSuggestionItemView extends _0x3869bf{[_0x2b8fcf(0x1bd)];[_0x2b8fcf(0x1b1)];constructor(_0x3ad8dc,_0x37a39f){var _0x28a95b=_0x2b8fcf;super(_0x37a39f),this[_0x28a95b(0x1bd)]=new _0x23639a(_0x3ad8dc,{'showDiff':_0x37a39f[_0x28a95b(0x1cb)],'areActionsDisabled':_0x37a39f[_0x28a95b(0x1bb)]}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1b7),(_0x3bbcaa,_0x354473)=>{var _0x39fbf8=_0x28a95b;this[_0x39fbf8(0x1ac)](_0x39fbf8(0x1b7),{'replyId':this[_0x39fbf8(0x1aa)]['id'],'showDiff':_0x354473[_0x39fbf8(0x1cb)]});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1ba),()=>{var _0xafeb2a=_0x28a95b;this[_0xafeb2a(0x1ac)](_0xafeb2a(0x1ba),{'replyId':this[_0xafeb2a(0x1aa)]['id']});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1cd),()=>{var _0x2dc202=_0x28a95b;this[_0x2dc202(0x1ac)](_0x2dc202(0x1cd),{'replyId':this[_0x2dc202(0x1aa)]['id']});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1ab),(_0x24bff9,{index:_0x2b7e0f})=>{var _0x2c4c82=_0x28a95b;this[_0x2c4c82(0x1ac)](_0x2c4c82(0x1ab),{'replyId':this[_0x2c4c82(0x1aa)]['id'],'partIndex':_0x2b7e0f});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1c6),(_0x4c74eb,{index:_0x345193})=>{var _0x39719c=_0x28a95b;this[_0x39719c(0x1ac)](_0x39719c(0x1c6),{'replyId':this[_0x39719c(0x1aa)]['id'],'partIndex':_0x345193});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1b8),(_0xc01033,{index:_0x59c176})=>{var _0x150ebe=_0x28a95b;this[_0x150ebe(0x1ac)](_0x150ebe(0x1b8),{'replyId':this[_0x150ebe(0x1aa)]['id'],'partIndex':_0x59c176});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1c3),(_0x353219,{index:_0x1ca844})=>{var _0x5e8c57=_0x28a95b;this[_0x5e8c57(0x1ac)](_0x5e8c57(0x1c3),{'replyId':this[_0x5e8c57(0x1aa)]['id'],'partIndex':_0x1ca844});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1bf),(_0xacb498,{index:_0x50046e})=>{var _0x20a9f1=_0x28a95b;this[_0x20a9f1(0x1ac)](_0x20a9f1(0x1bf),{'replyId':this[_0x20a9f1(0x1aa)]['id'],'partIndex':_0x50046e});}),this[_0x28a95b(0x1b1)]=new _0x5321cc(_0x3ad8dc,this[_0x28a95b(0x1aa)][_0x28a95b(0x1b9)]),this[_0x28a95b(0x1b1)][_0x28a95b(0x1c7)](_0x28a95b(0x1ae))['to'](this,_0x28a95b(0x1ae)),this[_0x28a95b(0x1b1)]['on'](_0x28a95b(0x1ab),()=>{var _0x31d928=_0x28a95b;this[_0x31d928(0x1ac)](_0x31d928(0x1ab),{'replyId':this[_0x31d928(0x1aa)]['id']});}),this[_0x28a95b(0x1b1)]['on'](_0x28a95b(0x1c6),()=>{var _0x1c78fd=_0x28a95b;this[_0x1c78fd(0x1ac)](_0x1c78fd(0x1c6),{'replyId':this[_0x1c78fd(0x1aa)]['id']});}),this[_0x28a95b(0x1b1)]['on'](_0x28a95b(0x1a7),()=>{var _0x47aba4=_0x28a95b;this[_0x47aba4(0x1ac)](_0x47aba4(0x1a7),{'replyId':this[_0x47aba4(0x1aa)]['id']});}),_0x37a39f[_0x28a95b(0x1bb)]?this[_0x28a95b(0x1b1)][_0x28a95b(0x1cf)]=!0x1:this[_0x28a95b(0x1b1)][_0x28a95b(0x1c7)](_0x28a95b(0x1cf))['to'](this[_0x28a95b(0x1bd)][_0x28a95b(0x1ca)],_0x28a95b(0x1b5)),this[_0x28a95b(0x1c2)][_0x28a95b(0x1c1)]([this[_0x28a95b(0x1bd)],this[_0x28a95b(0x1b1)]]),this[_0x28a95b(0x1af)]({'attributes':{'class':[_0x28a95b(0x1bc)]}});}async[_0x2b8fcf(0x1b0)](_0x28b04e){var _0x4db50c=_0x2b8fcf;await this[_0x4db50c(0x1bd)][_0x4db50c(0x1b0)](_0x28b04e),this[_0x4db50c(0x1b1)][_0x4db50c(0x1ce)](this[_0x4db50c(0x1bd)][_0x4db50c(0x1ca)][_0x4db50c(0x1b3)]);}[_0x2b8fcf(0x1c0)](_0x3fd0c4,_0x3a5233){var _0x540cbb=_0x2b8fcf;this[_0x540cbb(0x1bd)][_0x540cbb(0x1ca)][_0x540cbb(0x1c0)](_0x3fd0c4,_0x3a5233);}[_0x2b8fcf(0x1c8)](_0x281a81){var _0x591601=_0x2b8fcf;this[_0x591601(0x1bd)][_0x591601(0x1c8)](_0x281a81);}[_0x2b8fcf(0x1a6)](_0x3a9f4c){var _0x1a89f3=_0x2b8fcf;return this[_0x1a89f3(0x1bd)][_0x1a89f3(0x1ca)][_0x1a89f3(0x1a6)](_0x3a9f4c);}[_0x2b8fcf(0x1b4)](){var _0x1aa52b=_0x2b8fcf;super[_0x1aa52b(0x1b4)](),this[_0x1aa52b(0x1bd)][_0x1aa52b(0x1b4)](),this[_0x1aa52b(0x1b1)][_0x1aa52b(0x1cc)]=this[_0x1aa52b(0x1bd)][_0x1aa52b(0x1ca)][_0x1aa52b(0x1be)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x42f84a=_0x4e2d;(function(_0x26f492,_0x14d569){var _0x1db48b=_0x4e2d,_0x145e72=_0x26f492();while(!![]){try{var _0x57af5e=-parseInt(_0x1db48b(0x147))/0x1+-parseInt(_0x1db48b(0x135))/0x2+parseInt(_0x1db48b(0x14b))/0x3*(-parseInt(_0x1db48b(0x148))/0x4)+parseInt(_0x1db48b(0x13d))/0x5+-parseInt(_0x1db48b(0x151))/0x6*(parseInt(_0x1db48b(0x14e))/0x7)+parseInt(_0x1db48b(0x13b))/0x8+-parseInt(_0x1db48b(0x140))/0x9*(-parseInt(_0x1db48b(0x155))/0xa);if(_0x57af5e===_0x14d569)break;else _0x145e72['push'](_0x145e72['shift']());}catch(_0x54f92e){_0x145e72['push'](_0x145e72['shift']());}}}(_0x3ba8,0x41a90));import{AIChatFeedItemView as _0x24e296}from'./aichatfeeditemview.js';function _0x4e2d(_0x44cd0e,_0x5986fa){var _0x3ba824=_0x3ba8();return _0x4e2d=function(_0x4e2d85,_0x216cbf){_0x4e2d85=_0x4e2d85-0x135;var _0x4b8abc=_0x3ba824[_0x4e2d85];return _0x4b8abc;},_0x4e2d(_0x44cd0e,_0x5986fa);}import{AIChatFeedContextChipsView as _0x11dcc4}from'./aichatfeedcontextchipsview.js';function _0x3ba8(){var _0x434d9f=['markAsDone','151857IeYnfc','div','add','ck-ai-chat__feed__user-message','_locale','_createContextChipsView','contextItems','372442ytHcNN','12FNNQdF','_messageContentView','_bodyCollection','174987bUoIFF','_createMessageContentView','children','530474XbQvZc','hidden','options','18EgXzBF','filter','extendTemplate','ck-ai-chat__feed__context-chips','530pnTxNT','ck-ai-chat__feed__message-content','858016FvWHbN','render','initialContent','element','innerHTML','length','3820880dxhgDQ','setTemplate','504240eejVAn','_contextChipsView'];_0x3ba8=function(){return _0x434d9f;};return _0x3ba8();}import{View as _0x2c6950}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x24e296{[_0x42f84a(0x13e)]=null;[_0x42f84a(0x144)];[_0x42f84a(0x14a)];[_0x42f84a(0x149)];constructor(_0x29cc11,_0x365698,_0x23ff0d){var _0x2d50ca=_0x42f84a;super(_0x365698),this[_0x2d50ca(0x144)]=_0x29cc11,this[_0x2d50ca(0x14a)]=_0x23ff0d,this[_0x2d50ca(0x145)](),this[_0x2d50ca(0x14c)](),this[_0x2d50ca(0x153)]({'attributes':{'class':[_0x2d50ca(0x143)]}});}[_0x42f84a(0x145)](){var _0x489e7f=_0x42f84a;this[_0x489e7f(0x150)][_0x489e7f(0x146)]&&this[_0x489e7f(0x150)][_0x489e7f(0x146)][_0x489e7f(0x13a)]>0x0&&(this[_0x489e7f(0x13e)]=new _0x11dcc4(this[_0x489e7f(0x144)],this[_0x489e7f(0x150)][_0x489e7f(0x146)][_0x489e7f(0x152)](_0x35e4ad=>!_0x35e4ad[_0x489e7f(0x14f)]),this[_0x489e7f(0x14a)]),this[_0x489e7f(0x13e)][_0x489e7f(0x153)]({'attributes':{'class':_0x489e7f(0x154)}}),this[_0x489e7f(0x14d)][_0x489e7f(0x142)](this[_0x489e7f(0x13e)]));}[_0x42f84a(0x14c)](){var _0x51fa55=_0x42f84a;this[_0x51fa55(0x149)]=new _0x2c6950(this[_0x51fa55(0x144)]),this[_0x51fa55(0x149)][_0x51fa55(0x13c)]({'tag':_0x51fa55(0x141),'attributes':{'class':_0x51fa55(0x156)}}),this[_0x51fa55(0x14d)][_0x51fa55(0x142)](this[_0x51fa55(0x149)]);}[_0x42f84a(0x136)](){var _0x57c9d0=_0x42f84a;super[_0x57c9d0(0x136)](),this[_0x57c9d0(0x149)][_0x57c9d0(0x138)][_0x57c9d0(0x139)]=this[_0x57c9d0(0x150)][_0x57c9d0(0x137)],this[_0x57c9d0(0x13f)]();}}
23
+ function _0x5ee9(_0x388a9a,_0x29025e){var _0x44f5dc=_0x44f5();return _0x5ee9=function(_0x5ee991,_0x15e06b){_0x5ee991=_0x5ee991-0x1e9;var _0x1b67f4=_0x44f5dc[_0x5ee991];return _0x1b67f4;},_0x5ee9(_0x388a9a,_0x29025e);}var _0x3965c6=_0x5ee9;(function(_0x1b1e36,_0x2edca6){var _0x54678b=_0x5ee9,_0xa9db4c=_0x1b1e36();while(!![]){try{var _0x3f5517=-parseInt(_0x54678b(0x1ea))/0x1*(-parseInt(_0x54678b(0x209))/0x2)+-parseInt(_0x54678b(0x1f4))/0x3*(parseInt(_0x54678b(0x1f3))/0x4)+-parseInt(_0x54678b(0x20a))/0x5*(parseInt(_0x54678b(0x1f5))/0x6)+-parseInt(_0x54678b(0x1fd))/0x7+-parseInt(_0x54678b(0x1fa))/0x8+parseInt(_0x54678b(0x1f6))/0x9*(parseInt(_0x54678b(0x201))/0xa)+-parseInt(_0x54678b(0x203))/0xb*(-parseInt(_0x54678b(0x1f8))/0xc);if(_0x3f5517===_0x2edca6)break;else _0xa9db4c['push'](_0xa9db4c['shift']());}catch(_0x25da93){_0xa9db4c['push'](_0xa9db4c['shift']());}}}(_0x44f5,0x5f206));import{AIChatFeedItemView as _0x3b0e5f}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x3b2a94}from'./aichatfeedcontextchipsview.js';import{View as _0x59297d}from'ckeditor5/src/ui.js';function _0x44f5(){var _0x34a3f4=['extendTemplate','markAsDone','div','children','ck-ai-chat__feed__context-chips','24HcHkIq','45903vKWjde','4648362XZEqqn','267939iXSJhJ','setTemplate','108xvulzy','ck-ai-chat__feed__user-message','2343936iKNbkF','innerHTML','contextItems','4614659hNTESP','add','_locale','render','40MMdJhV','_createMessageContentView','2488959bWCZdt','element','_messageContentView','options','initialContent','_contextChipsView','298lcVkGZ','5tngbqZ','_bodyCollection','filter','_createContextChipsView','355pHWgUX','length','ck-ai-chat__feed__message-content','hidden'];_0x44f5=function(){return _0x34a3f4;};return _0x44f5();}export class AIChatFeedUserMessageItemView extends _0x3b0e5f{[_0x3965c6(0x208)]=null;[_0x3965c6(0x1ff)];[_0x3965c6(0x20b)];[_0x3965c6(0x205)];constructor(_0x201e75,_0x316eee,_0x58954f){var _0x5acf37=_0x3965c6;super(_0x316eee),this[_0x5acf37(0x1ff)]=_0x201e75,this[_0x5acf37(0x20b)]=_0x58954f,this[_0x5acf37(0x1e9)](),this[_0x5acf37(0x202)](),this[_0x5acf37(0x1ee)]({'attributes':{'class':[_0x5acf37(0x1f9)]}});}[_0x3965c6(0x1e9)](){var _0x430d4f=_0x3965c6;this[_0x430d4f(0x206)][_0x430d4f(0x1fc)]&&this[_0x430d4f(0x206)][_0x430d4f(0x1fc)][_0x430d4f(0x1eb)]>0x0&&(this[_0x430d4f(0x208)]=new _0x3b2a94(this[_0x430d4f(0x1ff)],this[_0x430d4f(0x206)][_0x430d4f(0x1fc)][_0x430d4f(0x20c)](_0x26a1d3=>!_0x26a1d3[_0x430d4f(0x1ed)]),this[_0x430d4f(0x20b)]),this[_0x430d4f(0x208)][_0x430d4f(0x1ee)]({'attributes':{'class':_0x430d4f(0x1f2)}}),this[_0x430d4f(0x1f1)][_0x430d4f(0x1fe)](this[_0x430d4f(0x208)]));}[_0x3965c6(0x202)](){var _0x5981ae=_0x3965c6;this[_0x5981ae(0x205)]=new _0x59297d(this[_0x5981ae(0x1ff)]),this[_0x5981ae(0x205)][_0x5981ae(0x1f7)]({'tag':_0x5981ae(0x1f0),'attributes':{'class':_0x5981ae(0x1ec)}}),this[_0x5981ae(0x1f1)][_0x5981ae(0x1fe)](this[_0x5981ae(0x205)]);}[_0x3965c6(0x200)](){var _0x364e7a=_0x3965c6;super[_0x364e7a(0x200)](),this[_0x364e7a(0x205)][_0x364e7a(0x204)][_0x364e7a(0x1fb)]=this[_0x364e7a(0x206)][_0x364e7a(0x207)],this[_0x364e7a(0x1ef)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2049(){const _0x17d8aa=['246EcZivM','startConversation','22127emyJKI','264cqQrMZ','resizeTabs','loadSourceResources','addFileToContext','addDocumentToContext','1897524VVzOiJ','10UIujSw','toggleReasoning','selectModel','toggleWebSearch','2814lDVREo','278256LFHLvf','90XrEtkx','2221280uBzSpi','addUrlToContext','removeContextItem','sendUserMessage','68CmAcgS','44091VKiLsC','abortPromptStream','addResourceToContext','283644zyJsjo'];_0x2049=function(){return _0x17d8aa;};return _0x2049();}const _0x1dedcb=_0x4aca;function _0x4aca(_0xfedfba,_0x28d402){const _0x20499c=_0x2049();return _0x4aca=function(_0x4aca73,_0x431610){_0x4aca73=_0x4aca73-0x149;let _0x2565ce=_0x20499c[_0x4aca73];return _0x2565ce;},_0x4aca(_0xfedfba,_0x28d402);}(function(_0x438922,_0x276ed3){const _0x20e39b=_0x4aca,_0x296b24=_0x438922();while(!![]){try{const _0x5af7cd=parseInt(_0x20e39b(0x14c))/0x1*(parseInt(_0x20e39b(0x159))/0x2)+-parseInt(_0x20e39b(0x161))/0x3*(parseInt(_0x20e39b(0x160))/0x4)+parseInt(_0x20e39b(0x15c))/0x5+parseInt(_0x20e39b(0x15b))/0x6*(parseInt(_0x20e39b(0x14e))/0x7)+parseInt(_0x20e39b(0x15a))/0x8+-parseInt(_0x20e39b(0x154))/0x9*(-parseInt(_0x20e39b(0x155))/0xa)+-parseInt(_0x20e39b(0x14f))/0xb*(parseInt(_0x20e39b(0x14b))/0xc);if(_0x5af7cd===_0x276ed3)break;else _0x296b24['push'](_0x296b24['shift']());}catch(_0x723e0a){_0x296b24['push'](_0x296b24['shift']());}}}(_0x2049,0x41022));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x341933}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x341933,_0x1dedcb(0x14d),_0x1dedcb(0x150),_0x1dedcb(0x15f),_0x1dedcb(0x149),_0x1dedcb(0x153),_0x1dedcb(0x152),_0x1dedcb(0x15d),_0x1dedcb(0x14a),_0x1dedcb(0x15e),_0x1dedcb(0x151),_0x1dedcb(0x158),_0x1dedcb(0x156),_0x1dedcb(0x157)];
23
+ const _0x53ef44=_0x4618;(function(_0x4ca38c,_0x13ef77){const _0x55fdce=_0x4618,_0x1d0dda=_0x4ca38c();while(!![]){try{const _0x3494ca=-parseInt(_0x55fdce(0x108))/0x1+parseInt(_0x55fdce(0x116))/0x2*(-parseInt(_0x55fdce(0x11a))/0x3)+-parseInt(_0x55fdce(0x117))/0x4*(parseInt(_0x55fdce(0x10f))/0x5)+parseInt(_0x55fdce(0x10c))/0x6+parseInt(_0x55fdce(0x107))/0x7*(parseInt(_0x55fdce(0x110))/0x8)+parseInt(_0x55fdce(0x10e))/0x9*(-parseInt(_0x55fdce(0x104))/0xa)+parseInt(_0x55fdce(0x10d))/0xb;if(_0x3494ca===_0x13ef77)break;else _0x1d0dda['push'](_0x1d0dda['shift']());}catch(_0x1b799f){_0x1d0dda['push'](_0x1d0dda['shift']());}}}(_0x52fa,0xace52));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x55ea57}from'../../aicore/utils/eventnames.js';function _0x4618(_0x98ba2,_0x5688e8){const _0x52fa29=_0x52fa();return _0x4618=function(_0x4618bf,_0xd22043){_0x4618bf=_0x4618bf-0x104;let _0x411f35=_0x52fa29[_0x4618bf];return _0x411f35;},_0x4618(_0x98ba2,_0x5688e8);}function _0x52fa(){const _0x2b7134=['resizeTabs','addResourceToContext','abortPromptStream','7235712OyxoqL','37902920aiREBG','82197BvqYwm','5eDdqeQ','2526216WnlUsB','removeContextItem','startConversation','selectModel','addFileToContext','toggleReasoning','1116230DqFpUo','5612668LHGttx','addUrlToContext','toggleWebSearch','3RfsMnJ','addDocumentToContext','1310vMQlrB','loadSourceResources','sendUserMessage','7cWCCIT','1101566QCLOsx'];_0x52fa=function(){return _0x2b7134;};return _0x52fa();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x55ea57,_0x53ef44(0x112),_0x53ef44(0x109),_0x53ef44(0x106),_0x53ef44(0x10b),_0x53ef44(0x11b),_0x53ef44(0x114),_0x53ef44(0x118),_0x53ef44(0x10a),_0x53ef44(0x111),_0x53ef44(0x105),_0x53ef44(0x119),_0x53ef44(0x115),_0x53ef44(0x113)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1b05(){const _0x33d302=['isProcessing','shift','1408KSwxbE','3262nOPCQh','callback','resolve','queueEmptyPromise','1162955AsjeGv','6YMSSFm','_queueEmpty','abort','signal','reject','completePromise','_processQueue','525253qeYBar','36iJzYMd','26160jQYrtv','2463220iaZPyi','enqueue','createTask','18155467aGhNtq','once','fire','2992344xQEapb','90weuvKS','length','queue','push','_abortController'];_0x1b05=function(){return _0x33d302;};return _0x1b05();}const _0x3171fd=_0x5c67;(function(_0x4d59a9,_0x378f64){const _0x1e6c56=_0x5c67,_0x502c63=_0x4d59a9();while(!![]){try{const _0x330553=parseInt(_0x1e6c56(0x11b))/0x1+-parseInt(_0x1e6c56(0x124))/0x2+-parseInt(_0x1e6c56(0x132))/0x3*(parseInt(_0x1e6c56(0x11e))/0x4)+-parseInt(_0x1e6c56(0x131))/0x5*(-parseInt(_0x1e6c56(0x11c))/0x6)+parseInt(_0x1e6c56(0x12d))/0x7*(parseInt(_0x1e6c56(0x12c))/0x8)+-parseInt(_0x1e6c56(0x125))/0x9*(parseInt(_0x1e6c56(0x11d))/0xa)+parseInt(_0x1e6c56(0x121))/0xb;if(_0x330553===_0x378f64)break;else _0x502c63['push'](_0x502c63['shift']());}catch(_0x5723d6){_0x502c63['push'](_0x502c63['shift']());}}}(_0x1b05,0xdb92a));import{EmitterMixin as _0x1da2da}from'ckeditor5/src/utils.js';function _0x5c67(_0x328fd2,_0x21e011){const _0x1b0571=_0x1b05();return _0x5c67=function(_0x5c672c,_0x5db6b5){_0x5c672c=_0x5c672c-0x11a;let _0xc20b01=_0x1b0571[_0x5c672c];return _0xc20b01;},_0x5c67(_0x328fd2,_0x21e011);}export class PromiseQueue extends _0x1da2da(){[_0x3171fd(0x127)]=[];[_0x3171fd(0x12a)]=!0x1;[_0x3171fd(0x129)];async[_0x3171fd(0x11f)](_0x2a4e55){const _0x429b7c=_0x3171fd,_0x36e51a=this[_0x429b7c(0x120)](_0x2a4e55);return this[_0x429b7c(0x127)][_0x429b7c(0x128)](_0x36e51a),this[_0x429b7c(0x11a)](),_0x36e51a[_0x429b7c(0x137)];}[_0x3171fd(0x134)](){const _0x17252d=_0x3171fd;this[_0x17252d(0x12a)]&&(this[_0x17252d(0x129)][_0x17252d(0x134)](),this[_0x17252d(0x129)]=void 0x0,this[_0x17252d(0x127)]=[],this[_0x17252d(0x123)](_0x17252d(0x133)),this[_0x17252d(0x12a)]=!0x1);}get[_0x3171fd(0x130)](){const _0x217e48=_0x3171fd;return this[_0x217e48(0x127)][_0x217e48(0x126)]||this[_0x217e48(0x12a)]?new Promise(_0x45504b=>{const _0x44f4f4=_0x217e48;this[_0x44f4f4(0x122)](_0x44f4f4(0x133),()=>{_0x45504b();});}):Promise[_0x217e48(0x12f)]();}async[_0x3171fd(0x11a)](){const _0x580c5e=_0x3171fd;if(!this[_0x580c5e(0x12a)]){this[_0x580c5e(0x129)]=new AbortController(),this[_0x580c5e(0x12a)]=!0x0;try{for(;this[_0x580c5e(0x127)][_0x580c5e(0x126)]&&this[_0x580c5e(0x12a)];){const _0x56cd4d=this[_0x580c5e(0x127)][_0x580c5e(0x12b)]();try{await _0x56cd4d[_0x580c5e(0x12e)](this[_0x580c5e(0x129)][_0x580c5e(0x135)]),_0x56cd4d[_0x580c5e(0x12f)]();}catch(_0x59f5dd){_0x56cd4d[_0x580c5e(0x136)](_0x59f5dd);}}}finally{this[_0x580c5e(0x12a)]=!0x1,this[_0x580c5e(0x129)]=void 0x0;}this[_0x580c5e(0x123)](_0x580c5e(0x133));}}[_0x3171fd(0x120)](_0x5b630b){let _0x346ca5,_0x52c75c;const _0x1d2023=new Promise((_0x5686c6,_0x315ca8)=>{_0x346ca5=_0x5686c6,_0x52c75c=_0x315ca8;});return{'callback':_0x5b630b,'resolve':_0x346ca5,'reject':_0x52c75c,'completePromise':_0x1d2023};}}
23
+ function _0x348b(_0x3917c6,_0x39ee1d){const _0x14a9b3=_0x14a9();return _0x348b=function(_0x348b2e,_0xf5aa8){_0x348b2e=_0x348b2e-0x1b0;let _0x51ee67=_0x14a9b3[_0x348b2e];return _0x51ee67;},_0x348b(_0x3917c6,_0x39ee1d);}const _0x49d92c=_0x348b;(function(_0x38913b,_0x2141ec){const _0x1cf09b=_0x348b,_0x42d4da=_0x38913b();while(!![]){try{const _0x4e3aae=-parseInt(_0x1cf09b(0x1bf))/0x1*(parseInt(_0x1cf09b(0x1c0))/0x2)+-parseInt(_0x1cf09b(0x1b8))/0x3+-parseInt(_0x1cf09b(0x1cd))/0x4+-parseInt(_0x1cf09b(0x1b5))/0x5*(parseInt(_0x1cf09b(0x1c2))/0x6)+parseInt(_0x1cf09b(0x1b2))/0x7*(parseInt(_0x1cf09b(0x1c5))/0x8)+parseInt(_0x1cf09b(0x1b9))/0x9*(-parseInt(_0x1cf09b(0x1ca))/0xa)+parseInt(_0x1cf09b(0x1b0))/0xb;if(_0x4e3aae===_0x2141ec)break;else _0x42d4da['push'](_0x42d4da['shift']());}catch(_0x44c666){_0x42d4da['push'](_0x42d4da['shift']());}}}(_0x14a9,0x663e0));import{EmitterMixin as _0x5cc79e}from'ckeditor5/src/utils.js';function _0x14a9(){const _0x1e36b0=['50632tnAsJx','completePromise','fire','length','once','250ZUFqMT','_processQueue','isProcessing','1539688ybwHgn','27162432RTNQMv','_abortController','763RsGjJg','_queueEmpty','reject','985tLgMFo','abort','resolve','2159514GWRjiE','163764VyyRDt','callback','push','queue','enqueue','signal','132214OTGOQS','8vFOdFf','queueEmptyPromise','19854xMIMhO','shift','createTask'];_0x14a9=function(){return _0x1e36b0;};return _0x14a9();}export class PromiseQueue extends _0x5cc79e(){[_0x49d92c(0x1bc)]=[];[_0x49d92c(0x1cc)]=!0x1;[_0x49d92c(0x1b1)];async[_0x49d92c(0x1bd)](_0xdfe883){const _0x1512cf=_0x49d92c,_0x36a1cc=this[_0x1512cf(0x1c4)](_0xdfe883);return this[_0x1512cf(0x1bc)][_0x1512cf(0x1bb)](_0x36a1cc),this[_0x1512cf(0x1cb)](),_0x36a1cc[_0x1512cf(0x1c6)];}[_0x49d92c(0x1b6)](){const _0x158dae=_0x49d92c;this[_0x158dae(0x1cc)]&&(this[_0x158dae(0x1b1)][_0x158dae(0x1b6)](),this[_0x158dae(0x1b1)]=void 0x0,this[_0x158dae(0x1bc)]=[],this[_0x158dae(0x1c7)](_0x158dae(0x1b3)),this[_0x158dae(0x1cc)]=!0x1);}get[_0x49d92c(0x1c1)](){const _0x2ee11b=_0x49d92c;return this[_0x2ee11b(0x1bc)][_0x2ee11b(0x1c8)]||this[_0x2ee11b(0x1cc)]?new Promise(_0x216425=>{const _0x3eb87b=_0x2ee11b;this[_0x3eb87b(0x1c9)](_0x3eb87b(0x1b3),()=>{_0x216425();});}):Promise[_0x2ee11b(0x1b7)]();}async[_0x49d92c(0x1cb)](){const _0x176efc=_0x49d92c;if(!this[_0x176efc(0x1cc)]){this[_0x176efc(0x1b1)]=new AbortController(),this[_0x176efc(0x1cc)]=!0x0;try{for(;this[_0x176efc(0x1bc)][_0x176efc(0x1c8)]&&this[_0x176efc(0x1cc)];){const _0x1e7f98=this[_0x176efc(0x1bc)][_0x176efc(0x1c3)]();try{await _0x1e7f98[_0x176efc(0x1ba)](this[_0x176efc(0x1b1)][_0x176efc(0x1be)]),_0x1e7f98[_0x176efc(0x1b7)]();}catch(_0x28c91f){_0x1e7f98[_0x176efc(0x1b4)](_0x28c91f);}}}finally{this[_0x176efc(0x1cc)]=!0x1,this[_0x176efc(0x1b1)]=void 0x0;}this[_0x176efc(0x1c7)](_0x176efc(0x1b3));}}[_0x49d92c(0x1c4)](_0x185ecb){let _0x2d0e43,_0x5362e6;const _0xcbcfb4=new Promise((_0x572124,_0x117f0b)=>{_0x2d0e43=_0x572124,_0x5362e6=_0x117f0b;});return{'callback':_0x185ecb,'resolve':_0x2d0e43,'reject':_0x5362e6,'completePromise':_0xcbcfb4};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14b6af=_0x48a5;function _0x1f5b(){const _0x3a6209=['1953747wpUTlL','isRunning','16wHEmqT','ArrowDown','3415275dIyQrh','_stop','pointerdown','1202976caJyGy','addEventListener','element','abortController','start','Home','isUserPaused','_rafUpdate','bind','_onUserEvent','10102062BRyjfS','stop','abort','includes','90CCdiqg','ArrowUp','wheel','4536732xtxiXh','destroy','keydown','2043832xjXMnt','signal','PageUp','PageDown','animationFrameId','key','type','scrollTo','30koxQvG','End','_isAtBottom','210885nWLqDy','touchstart','scrollHeight','auto','deltaY'];_0x1f5b=function(){return _0x3a6209;};return _0x1f5b();}(function(_0x524841,_0x3fcbbc){const _0x4717f5=_0x48a5,_0x401f5c=_0x524841();while(!![]){try{const _0x4c3a88=parseInt(_0x4717f5(0x181))/0x1+-parseInt(_0x4717f5(0x172))/0x2*(-parseInt(_0x4717f5(0x175))/0x3)+-parseInt(_0x4717f5(0x167))/0x4+parseInt(_0x4717f5(0x17e))/0x5+parseInt(_0x4717f5(0x160))/0x6+parseInt(_0x4717f5(0x16a))/0x7*(-parseInt(_0x4717f5(0x17c))/0x8)+-parseInt(_0x4717f5(0x17a))/0x9*(parseInt(_0x4717f5(0x164))/0xa);if(_0x4c3a88===_0x3fcbbc)break;else _0x401f5c['push'](_0x401f5c['shift']());}catch(_0x18ad7f){_0x401f5c['push'](_0x401f5c['shift']());}}}(_0x1f5b,0xe87bb));function _0x48a5(_0x5349ee,_0x198a38){const _0x1f5bf1=_0x1f5b();return _0x48a5=function(_0x48a572,_0x3787ae){_0x48a572=_0x48a572-0x15c;let _0x279271=_0x1f5bf1[_0x48a572];return _0x279271;},_0x48a5(_0x5349ee,_0x198a38);}const ps=[_0x14b6af(0x166),_0x14b6af(0x176),_0x14b6af(0x180),_0x14b6af(0x169)],ws=[_0x14b6af(0x165),_0x14b6af(0x17d),_0x14b6af(0x16c),_0x14b6af(0x16d),_0x14b6af(0x186),_0x14b6af(0x173),'\x20'];export class ScrollManager{[_0x14b6af(0x183)];[_0x14b6af(0x16e)];[_0x14b6af(0x17b)];[_0x14b6af(0x184)];[_0x14b6af(0x15c)];constructor(_0x2e43b2){const _0x285ada=_0x14b6af;this[_0x285ada(0x183)]=_0x2e43b2,this[_0x285ada(0x16e)]=null,this[_0x285ada(0x17b)]=!0x1,this[_0x285ada(0x184)]=new AbortController(),this[_0x285ada(0x15c)]=!0x1;for(const _0x5b2d82 of ps){const _0x58642d=_0x285ada(0x169)!==_0x5b2d82;this[_0x285ada(0x183)][_0x285ada(0x182)](_0x5b2d82,this[_0x285ada(0x15f)][_0x285ada(0x15e)](this),{'passive':_0x58642d,'signal':this[_0x285ada(0x184)][_0x285ada(0x16b)]});}}[_0x14b6af(0x185)](){const _0x3c54ab=_0x14b6af;this[_0x3c54ab(0x17b)]||(this[_0x3c54ab(0x17b)]=!0x0,this[_0x3c54ab(0x15c)]=!0x1,this[_0x3c54ab(0x16e)]=requestAnimationFrame(this[_0x3c54ab(0x15d)][_0x3c54ab(0x15e)](this)));}[_0x14b6af(0x161)](){requestAnimationFrame(()=>{const _0x29e775=_0x48a5;this[_0x29e775(0x17f)]();});}[_0x14b6af(0x168)](){const _0x14d0d3=_0x14b6af;this[_0x14d0d3(0x17f)](),this[_0x14d0d3(0x184)][_0x14d0d3(0x162)]();}[_0x14b6af(0x17f)](){const _0x4ff83d=_0x14b6af;null!==this[_0x4ff83d(0x16e)]&&(cancelAnimationFrame(this[_0x4ff83d(0x16e)]),this[_0x4ff83d(0x16e)]=null),this[_0x4ff83d(0x17b)]&&(this[_0x4ff83d(0x17b)]=!0x1),this[_0x4ff83d(0x15c)]=!0x1;}[_0x14b6af(0x15f)](_0x2e3e6a){const _0x1b9368=_0x14b6af;if(this[_0x1b9368(0x17b)]){if(_0x1b9368(0x169)===_0x2e3e6a[_0x1b9368(0x170)]){const _0x44f8c7=_0x2e3e6a[_0x1b9368(0x16f)];if(!ws[_0x1b9368(0x163)](_0x44f8c7))return;}_0x2e3e6a instanceof WheelEvent?_0x2e3e6a[_0x1b9368(0x179)]<0x0?this[_0x1b9368(0x15c)]=!0x0:this[_0x1b9368(0x15c)]=!this[_0x1b9368(0x174)]():this[_0x1b9368(0x15c)]=!0x0;}}[_0x14b6af(0x174)](){const _0x571e9f=_0x14b6af,{scrollTop:_0x64e56c,scrollHeight:_0x5d1bc9,clientHeight:_0x437da4}=this[_0x571e9f(0x183)];return _0x5d1bc9-_0x64e56c-_0x437da4<=0x5;}[_0x14b6af(0x15d)](){const _0x473f9c=_0x14b6af;this[_0x473f9c(0x17b)]&&(this[_0x473f9c(0x15c)]||this[_0x473f9c(0x183)][_0x473f9c(0x171)]({'top':this[_0x473f9c(0x183)][_0x473f9c(0x177)],'behavior':_0x473f9c(0x178)}),this[_0x473f9c(0x16e)]=requestAnimationFrame(this[_0x473f9c(0x15d)][_0x473f9c(0x15e)](this)));}}
23
+ const _0x46c645=_0xe663;(function(_0x41350e,_0x3c9f2b){const _0x417e5a=_0xe663,_0x36e328=_0x41350e();while(!![]){try{const _0x194f8b=-parseInt(_0x417e5a(0x101))/0x1+parseInt(_0x417e5a(0xe8))/0x2+-parseInt(_0x417e5a(0x100))/0x3+-parseInt(_0x417e5a(0xfe))/0x4*(parseInt(_0x417e5a(0xe0))/0x5)+-parseInt(_0x417e5a(0xf6))/0x6*(parseInt(_0x417e5a(0xf8))/0x7)+parseInt(_0x417e5a(0xfa))/0x8*(parseInt(_0x417e5a(0xdb))/0x9)+parseInt(_0x417e5a(0xdf))/0xa*(parseInt(_0x417e5a(0xde))/0xb);if(_0x194f8b===_0x3c9f2b)break;else _0x36e328['push'](_0x36e328['shift']());}catch(_0x4186c0){_0x36e328['push'](_0x36e328['shift']());}}}(_0x4214,0x42b1b));function _0x4214(){const _0x16e104=['abortController','End','234434MogAqB','isUserPaused','auto','ArrowUp','ArrowDown','includes','animationFrameId','destroy','touchstart','_onUserEvent','Home','deltaY','start','_isAtBottom','933924piCvOM','signal','14BfVzZo','abort','8epCRLR','pointerdown','keydown','addEventListener','1408228DMCFFh','wheel','400689extOKP','115283cCDSXg','PageDown','scrollTo','scrollHeight','bind','stop','61686UwViOu','key','_stop','11OtFIqb','10613190ouZwoD','5RvyPME','element','isRunning','_rafUpdate','PageUp','type'];_0x4214=function(){return _0x16e104;};return _0x4214();}function _0xe663(_0x2486df,_0x1d4f1d){const _0x4214e6=_0x4214();return _0xe663=function(_0xe663df,_0x3f5df3){_0xe663df=_0xe663df-0xd6;let _0x6edcba=_0x4214e6[_0xe663df];return _0x6edcba;},_0xe663(_0x2486df,_0x1d4f1d);}const ws=[_0x46c645(0xff),_0x46c645(0xf0),_0x46c645(0xfb),_0x46c645(0xfc)],fs=[_0x46c645(0xeb),_0x46c645(0xec),_0x46c645(0xe4),_0x46c645(0xd6),_0x46c645(0xf2),_0x46c645(0xe7),'\x20'];export class ScrollManager{[_0x46c645(0xe1)];[_0x46c645(0xee)];[_0x46c645(0xe2)];[_0x46c645(0xe6)];[_0x46c645(0xe9)];constructor(_0x23945a){const _0x5c2019=_0x46c645;this[_0x5c2019(0xe1)]=_0x23945a,this[_0x5c2019(0xee)]=null,this[_0x5c2019(0xe2)]=!0x1,this[_0x5c2019(0xe6)]=new AbortController(),this[_0x5c2019(0xe9)]=!0x1;for(const _0x20b1e7 of ws){const _0x1e75bc=_0x5c2019(0xfc)!==_0x20b1e7;this[_0x5c2019(0xe1)][_0x5c2019(0xfd)](_0x20b1e7,this[_0x5c2019(0xf1)][_0x5c2019(0xd9)](this),{'passive':_0x1e75bc,'signal':this[_0x5c2019(0xe6)][_0x5c2019(0xf7)]});}}[_0x46c645(0xf4)](){const _0x489f6a=_0x46c645;this[_0x489f6a(0xe2)]||(this[_0x489f6a(0xe2)]=!0x0,this[_0x489f6a(0xe9)]=!0x1,this[_0x489f6a(0xee)]=requestAnimationFrame(this[_0x489f6a(0xe3)][_0x489f6a(0xd9)](this)));}[_0x46c645(0xda)](){requestAnimationFrame(()=>{const _0x38db5e=_0xe663;this[_0x38db5e(0xdd)]();});}[_0x46c645(0xef)](){const _0xc276b7=_0x46c645;this[_0xc276b7(0xdd)](),this[_0xc276b7(0xe6)][_0xc276b7(0xf9)]();}[_0x46c645(0xdd)](){const _0x1d04b9=_0x46c645;null!==this[_0x1d04b9(0xee)]&&(cancelAnimationFrame(this[_0x1d04b9(0xee)]),this[_0x1d04b9(0xee)]=null),this[_0x1d04b9(0xe2)]&&(this[_0x1d04b9(0xe2)]=!0x1),this[_0x1d04b9(0xe9)]=!0x1;}[_0x46c645(0xf1)](_0x1eee19){const _0x1e1197=_0x46c645;if(this[_0x1e1197(0xe2)]){if(_0x1e1197(0xfc)===_0x1eee19[_0x1e1197(0xe5)]){const _0x44b214=_0x1eee19[_0x1e1197(0xdc)];if(!fs[_0x1e1197(0xed)](_0x44b214))return;}_0x1eee19 instanceof WheelEvent?_0x1eee19[_0x1e1197(0xf3)]<0x0?this[_0x1e1197(0xe9)]=!0x0:this[_0x1e1197(0xe9)]=!this[_0x1e1197(0xf5)]():this[_0x1e1197(0xe9)]=!0x0;}}[_0x46c645(0xf5)](){const _0x18b4ba=_0x46c645,{scrollTop:_0x2ec0f8,scrollHeight:_0x438062,clientHeight:_0x2ba478}=this[_0x18b4ba(0xe1)];return _0x438062-_0x2ec0f8-_0x2ba478<=0x5;}[_0x46c645(0xe3)](){const _0x3bfbfd=_0x46c645;this[_0x3bfbfd(0xe2)]&&(this[_0x3bfbfd(0xe9)]||this[_0x3bfbfd(0xe1)][_0x3bfbfd(0xd7)]({'top':this[_0x3bfbfd(0xe1)][_0x3bfbfd(0xd8)],'behavior':_0x3bfbfd(0xea)}),this[_0x3bfbfd(0xee)]=requestAnimationFrame(this[_0x3bfbfd(0xe3)][_0x3bfbfd(0xd9)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2d707f=_0x66b2;(function(_0x47ae70,_0x4fc23a){var _0xee9581=_0x66b2,_0xe0f9f5=_0x47ae70();while(!![]){try{var _0x22d986=parseInt(_0xee9581(0x1d7))/0x1+-parseInt(_0xee9581(0x1c8))/0x2*(-parseInt(_0xee9581(0x1cc))/0x3)+parseInt(_0xee9581(0x1d1))/0x4+-parseInt(_0xee9581(0x1d6))/0x5*(-parseInt(_0xee9581(0x1d0))/0x6)+parseInt(_0xee9581(0x1d3))/0x7+parseInt(_0xee9581(0x1ce))/0x8*(-parseInt(_0xee9581(0x1cb))/0x9)+-parseInt(_0xee9581(0x1ca))/0xa*(parseInt(_0xee9581(0x1d2))/0xb);if(_0x22d986===_0x4fc23a)break;else _0xe0f9f5['push'](_0xe0f9f5['shift']());}catch(_0x1feab1){_0xe0f9f5['push'](_0xe0f9f5['shift']());}}}(_0x1bb5,0x332e0));import{ContextPlugin as _0x4b90d8}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x5356bf}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x31ff91}from'./aichathistoryui.js';function _0x66b2(_0x5e6674,_0x41d696){var _0x1bb5f6=_0x1bb5();return _0x66b2=function(_0x66b2e3,_0x3320ed){_0x66b2e3=_0x66b2e3-0x1c8;var _0x5773d3=_0x1bb5f6[_0x66b2e3];return _0x5773d3;},_0x66b2(_0x5e6674,_0x41d696);}export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4b90d8{static get[_0x2d707f(0x1d4)](){return[_0x5356bf,_0x31ff91];}static get[_0x2d707f(0x1cd)](){var _0x554e7e=_0x2d707f;return _0x554e7e(0x1c9);}static get[_0x2d707f(0x1cf)](){return!0x0;}static get[_0x2d707f(0x1d5)](){return!0x0;}}function _0x1bb5(){var _0x25a2be=['requires','isPremiumPlugin','385fRvQHO','203228URxZlb','28138ReRDkK','AIChatHistory','2199790lINQOZ','16263ONdVUD','87vthqwn','pluginName','1736dMITNa','isOfficialPlugin','4842NpmhnJ','899908EysXHe','22RHoynh','1003548XIEXCQ'];_0x1bb5=function(){return _0x25a2be;};return _0x1bb5();}
23
+ var _0x368abe=_0x2e8b;(function(_0x5261e9,_0x315d28){var _0x5682cf=_0x2e8b,_0x1d3c7c=_0x5261e9();while(!![]){try{var _0x34b34f=parseInt(_0x5682cf(0xc5))/0x1+-parseInt(_0x5682cf(0xba))/0x2+-parseInt(_0x5682cf(0xb9))/0x3+parseInt(_0x5682cf(0xc4))/0x4+parseInt(_0x5682cf(0xbe))/0x5*(parseInt(_0x5682cf(0xbf))/0x6)+-parseInt(_0x5682cf(0xc3))/0x7+-parseInt(_0x5682cf(0xbc))/0x8*(parseInt(_0x5682cf(0xc1))/0x9);if(_0x34b34f===_0x315d28)break;else _0x1d3c7c['push'](_0x1d3c7c['shift']());}catch(_0x51cef5){_0x1d3c7c['push'](_0x1d3c7c['shift']());}}}(_0x9e0c,0xb7363));function _0x9e0c(){var _0x4dd04e=['50864edEsDj','isOfficialPlugin','271015jVlVoP','114ThJuAz','AIChatHistory','486EHSAQy','pluginName','3772909hzdctD','1988412OoOguA','837541ablCPy','isPremiumPlugin','1303839cqLBrJ','594268rHdAfI','requires'];_0x9e0c=function(){return _0x4dd04e;};return _0x9e0c();}import{ContextPlugin as _0x4b34d1}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x145617}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x148e24}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';function _0x2e8b(_0x2b790f,_0x5929d8){var _0x9e0c31=_0x9e0c();return _0x2e8b=function(_0x2e8b26,_0x2889a3){_0x2e8b26=_0x2e8b26-0xb9;var _0x44e55e=_0x9e0c31[_0x2e8b26];return _0x44e55e;},_0x2e8b(_0x2b790f,_0x5929d8);}export class AIChatHistory extends _0x4b34d1{static get[_0x368abe(0xbb)](){return[_0x145617,_0x148e24];}static get[_0x368abe(0xc2)](){var _0x5f2459=_0x368abe;return _0x5f2459(0xc0);}static get[_0x368abe(0xbd)](){return!0x0;}static get[_0x368abe(0xc6)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55af39=_0x20b2;(function(_0x1e2e4a,_0x5a0a45){const _0x263f25=_0x20b2,_0x5e14b4=_0x1e2e4a();while(!![]){try{const _0x18bdd3=parseInt(_0x263f25(0x1af))/0x1+parseInt(_0x263f25(0x176))/0x2+-parseInt(_0x263f25(0x195))/0x3*(parseInt(_0x263f25(0x18f))/0x4)+-parseInt(_0x263f25(0x17c))/0x5*(parseInt(_0x263f25(0x1b7))/0x6)+parseInt(_0x263f25(0x1b8))/0x7+-parseInt(_0x263f25(0x1b2))/0x8+-parseInt(_0x263f25(0x186))/0x9;if(_0x18bdd3===_0x5a0a45)break;else _0x5e14b4['push'](_0x5e14b4['shift']());}catch(_0x8f286e){_0x5e14b4['push'](_0x5e14b4['shift']());}}}(_0x3507,0x56383));function _0x3507(){const _0xf1d08d=['_showConversationHistory','locale','AIChatHistoryController','1735COeWWn','updateItems','setIsMaximized','loadConversation','isPremiumPlugin','setDate','handleRemovedConversation','openChat','_setItemLoading','remove','685890vvSQRg','context','AI_CHAT_HISTORY_ERROR_GENERIC','createdAt','showError','_handleTogglePin','_aiConnector','selectConversation','itemRemoved','4eAflyk','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','init','AI_CHAT_HISTORY_UNPIN_ACTION','getDate','getGroupId','1397793PNDOqj','AI_CHAT_UNTITLED_CONVERSATION','AI_CHAT_HISTORY_CATEGORY_PINNED','getItem','getMonth','_handleEditTitle','updateItemTitle','updates','getFullYear','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','error','plugins','_aiChatHistoryUi','history','removeHistoryItem','_setIsMaximized','_clearItemLoading','setConversationPinned','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','activeConversation','change:activeConversation','map','activateTab:history','rename','push','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','440833cEmzwE','title','_handleRemove','1937224pQKjiw','resizedTabs','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','_handleHistoryErrorUI','_handleSelectConversation','11226OAKKnJ','4903626uwOnoa','updateItemPinned','operation','chat','length','itemsLoaded','requires','pluginName','_generateErrorMessage','editConversationTitle','pinned','AI_CHAT_HISTORY_CATEGORY_TODAY','activateTab','AI_CHAT_HISTORY_PIN_ACTION','itemId','updateItemLoadingState','view','getItems','_aiChatController','listenTo','get','removeConversation','setLoadingSkeleton','AI_CHAT_HISTORY_CATEGORY_LATER','removeItem','toLocaleDateString','itemUpdated','resize','loadItems','isOfficialPlugin','_updateHistoryItemsUI','pin','resizeTabs','_getCategorizedItems','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','1290670tZUEzP','items','unpin'];_0x3507=function(){return _0xf1d08d;};return _0x3507();}import{ContextPlugin as _0x4b19aa}from'ckeditor5/src/core.js';import{AIConnector as _0x520eef}from'../aicore/aiconnector.js';function _0x20b2(_0x47f18f,_0x40dfdf){const _0x3507c4=_0x3507();return _0x20b2=function(_0x20b294,_0x4c89e5){_0x20b294=_0x20b294-0x172;let _0x505ee9=_0x3507c4[_0x20b294];return _0x505ee9;},_0x20b2(_0x47f18f,_0x40dfdf);}import{AIChatController as _0x54d777}from'../aichat/aichatcontroller.js';import{AITabs as _0x395059}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x4bbe15}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x2c82d1}from'./model/aichathistoryconversations.js';import{getTranslation as _0x3c438e}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x4b19aa{[_0x55af39(0x18c)];[_0x55af39(0x1a1)];[_0x55af39(0x1ca)];static get[_0x55af39(0x1be)](){return[_0x520eef,_0x54d777,_0x4bbe15,_0x395059];}static get[_0x55af39(0x1bf)](){const _0x5cf960=_0x55af39;return _0x5cf960(0x17b);}static get[_0x55af39(0x1d5)](){return!0x0;}static get[_0x55af39(0x180)](){return!0x0;}[_0x55af39(0x191)](){const _0x2cd2ce=_0x55af39;this[_0x2cd2ce(0x18c)]=this[_0x2cd2ce(0x187)][_0x2cd2ce(0x1a0)][_0x2cd2ce(0x1cc)](_0x520eef),this[_0x2cd2ce(0x1a1)]=this[_0x2cd2ce(0x187)][_0x2cd2ce(0x1a0)][_0x2cd2ce(0x1cc)](_0x4bbe15),this[_0x2cd2ce(0x1ca)]=this[_0x2cd2ce(0x187)][_0x2cd2ce(0x1a0)][_0x2cd2ce(0x1cc)](_0x54d777);const _0x2c081f=this[_0x2cd2ce(0x187)][_0x2cd2ce(0x1a0)][_0x2cd2ce(0x1cc)](_0x395059),_0xdb6f27=this[_0x2cd2ce(0x1ca)][_0x2cd2ce(0x194)]();this[_0x2cd2ce(0x1a2)]=new _0x2c82d1({'connector':this[_0x2cd2ce(0x18c)],'group':_0xdb6f27}),this[_0x2cd2ce(0x1cb)](this[_0x2cd2ce(0x1a1)],_0x2cd2ce(0x1cd),(_0x5a49c0,_0xc4593b)=>{const _0x508dd3=_0x2cd2ce;this[_0x508dd3(0x184)](_0xc4593b['id'],_0x508dd3(0x185)),this[_0x508dd3(0x1b1)](_0xc4593b['id']);}),this[_0x2cd2ce(0x1cb)](this[_0x2cd2ce(0x1a1)],_0x2cd2ce(0x1c1),(_0x1f2d7d,_0x181f57)=>{const _0x117d87=_0x2cd2ce;this[_0x117d87(0x184)](_0x181f57['id'],_0x117d87(0x1ac)),this[_0x117d87(0x19a)](_0x181f57['id'],_0x181f57[_0x117d87(0x1b0)]);}),this[_0x2cd2ce(0x1cb)](this[_0x2cd2ce(0x1a2)],_0x2cd2ce(0x1d2),(_0x3626f3,_0x2e5f92)=>{const _0x1babc3=_0x2cd2ce;void 0x0!==_0x2e5f92[_0x1babc3(0x19c)][_0x1babc3(0x1b0)]&&this[_0x1babc3(0x1a1)][_0x1babc3(0x19b)](_0x2e5f92[_0x1babc3(0x1c6)],_0x2e5f92[_0x1babc3(0x19c)][_0x1babc3(0x1b0)]),void 0x0!==_0x2e5f92[_0x1babc3(0x19c)][_0x1babc3(0x1c2)]&&this[_0x1babc3(0x1d6)](),this[_0x1babc3(0x1a5)](_0x2e5f92[_0x1babc3(0x1c6)]);}),this[_0x2cd2ce(0x1cb)](this[_0x2cd2ce(0x1a2)],_0x2cd2ce(0x18e),(_0x2b122f,_0x40f6e5)=>{const _0x15701d=_0x2cd2ce;this[_0x15701d(0x1ca)][_0x15701d(0x182)](_0x40f6e5[_0x15701d(0x1c6)]),this[_0x15701d(0x1a1)][_0x15701d(0x1a3)](_0x40f6e5[_0x15701d(0x1c6)]),this[_0x15701d(0x1a5)](_0x40f6e5[_0x15701d(0x1c6)]);}),this[_0x2cd2ce(0x1cb)](this[_0x2cd2ce(0x1a2)],_0x2cd2ce(0x1bd),()=>{const _0x583e06=_0x2cd2ce;this[_0x583e06(0x1d6)]();}),this[_0x2cd2ce(0x1cb)](this[_0x2cd2ce(0x1a2)],_0x2cd2ce(0x19f),(_0x46b751,_0x69c75b)=>{const _0x37765c=_0x2cd2ce;this[_0x37765c(0x1b5)](_0x69c75b[_0x37765c(0x19f)],_0x69c75b[_0x37765c(0x1ba)],_0x69c75b[_0x37765c(0x1c6)]);}),this[_0x2cd2ce(0x1cb)](this[_0x2cd2ce(0x1a1)],_0x2cd2ce(0x18d),(_0x14fc85,_0x1991e0)=>{const _0x433905=_0x2cd2ce;this[_0x433905(0x1b6)](_0x1991e0['id']);}),this[_0x2cd2ce(0x1cb)](this[_0x2cd2ce(0x1a1)],_0x2cd2ce(0x1a6),(_0xb1bd02,_0x1fc81d)=>{const _0x36d11a=_0x2cd2ce,_0x512780=_0x1fc81d[_0x36d11a(0x1c2)]?_0x36d11a(0x172):_0x36d11a(0x178);this[_0x36d11a(0x184)](_0x1fc81d['id'],_0x512780),this[_0x36d11a(0x18b)](_0x1fc81d['id'],_0x1fc81d[_0x36d11a(0x1c2)]);}),this[_0x2cd2ce(0x1cb)](this[_0x2cd2ce(0x1a1)],_0x2cd2ce(0x183),()=>{const _0x6248bd=_0x2cd2ce;_0x2c081f[_0x6248bd(0x1c8)][_0x6248bd(0x1c4)](_0x6248bd(0x1bb));}),this[_0x2cd2ce(0x1cb)](this[_0x2cd2ce(0x1ca)],_0x2cd2ce(0x1a9),()=>{const _0x3b0f5f=_0x2cd2ce;this[_0x3b0f5f(0x1d6)]();}),_0x2c081f[_0x2cd2ce(0x1c8)]['on'](_0x2cd2ce(0x1ab),()=>{const _0x4bb598=_0x2cd2ce;this[_0x4bb598(0x179)]();}),this[_0x2cd2ce(0x1cb)](_0x2c081f,_0x2cd2ce(0x1b3),(_0x3fa33b,_0x4a3270)=>{const _0x4b848e=_0x2cd2ce;this[_0x4b848e(0x1a4)](_0x4a3270);}),this[_0x2cd2ce(0x1cb)](this[_0x2cd2ce(0x1a1)],_0x2cd2ce(0x173),()=>{const _0x58cb25=_0x2cd2ce;_0x2c081f[_0x58cb25(0x1d3)]();});}async[_0x55af39(0x19a)](_0x3f6890,_0x577b69){const _0x284477=_0x55af39;await this[_0x284477(0x1a2)][_0x284477(0x19b)](_0x3f6890,_0x577b69);}async[_0x55af39(0x18b)](_0x1b6b6b,_0x4bbda3){const _0x50d415=_0x55af39;await this[_0x50d415(0x1a2)][_0x50d415(0x1b9)](_0x1b6b6b,_0x4bbda3);}async[_0x55af39(0x1b1)](_0x468467){const _0x585135=_0x55af39;await this[_0x585135(0x1a2)][_0x585135(0x1d0)](_0x468467);}async[_0x55af39(0x1b6)](_0x57a566){const _0x95bc12=_0x55af39;await this[_0x95bc12(0x1ca)][_0x95bc12(0x17f)](_0x57a566);}async[_0x55af39(0x179)](){const _0x578053=_0x55af39;this[_0x578053(0x1a1)][_0x578053(0x18a)](''),this[_0x578053(0x1a1)][_0x578053(0x1ce)](!0x0),await this[_0x578053(0x1a2)][_0x578053(0x191)](),this[_0x578053(0x1a1)][_0x578053(0x1ce)](!0x1);}[_0x55af39(0x1d6)](){const _0xcd54a=_0x55af39,_0x5864f8=this[_0xcd54a(0x1ca)][_0xcd54a(0x1a8)]?.['id'],_0x41d575=this[_0xcd54a(0x174)]()[_0xcd54a(0x1aa)](_0x277ddf=>({'title':_0x277ddf[_0xcd54a(0x1b0)],'items':_0x277ddf[_0xcd54a(0x177)][_0xcd54a(0x1aa)](_0x100961=>({'id':_0x100961['id'],'title':_0x100961[_0xcd54a(0x1b0)]||_0x3c438e(this[_0xcd54a(0x187)][_0xcd54a(0x17a)],_0xcd54a(0x196)),'createdAt':new Date(_0x100961[_0xcd54a(0x189)])[_0xcd54a(0x1d1)](),'active':_0x100961['id']===_0x5864f8,'pinned':_0x100961[_0xcd54a(0x1c2)]}))}));this[_0xcd54a(0x1a1)][_0xcd54a(0x17d)](_0x41d575);}[_0x55af39(0x184)](_0x210395,_0x355e27){const _0x1fd298=_0x55af39;this[_0x1fd298(0x1a1)][_0x1fd298(0x1c7)](_0x210395,_0x355e27,!0x0);}[_0x55af39(0x1a5)](_0x5ce857){const _0x4f04df=_0x55af39;this[_0x4f04df(0x1a1)][_0x4f04df(0x1c7)](_0x5ce857,null,!0x1);}[_0x55af39(0x1b5)](_0x235d19,_0x5b7f5b,_0x181323){const _0x461c74=_0x55af39,_0x1de15d=this[_0x461c74(0x1c0)](_0x5b7f5b,_0x181323);this[_0x461c74(0x1a1)][_0x461c74(0x18a)](_0x1de15d),_0x181323&&this[_0x461c74(0x1a5)](_0x181323),this[_0x461c74(0x1a1)][_0x461c74(0x1ce)](!0x1);}[_0x55af39(0x1c0)](_0xa472f1,_0x2d89bb){const _0xdc61d9=_0x55af39,_0x454797=_0x2d89bb?this[_0xdc61d9(0x1a2)][_0xdc61d9(0x198)](_0x2d89bb):null,_0x169200=_0x454797?.[_0xdc61d9(0x1b0)]||_0x3c438e(this[_0xdc61d9(0x187)][_0xdc61d9(0x17a)],_0xdc61d9(0x196));switch(_0xa472f1){case _0xdc61d9(0x19b):return _0x3c438e(this[_0xdc61d9(0x187)][_0xdc61d9(0x17a)],_0xdc61d9(0x1ae),_0x169200);case _0xdc61d9(0x1b9):{const _0x1a03ad=_0x3c438e(this[_0xdc61d9(0x187)][_0xdc61d9(0x17a)],_0x454797?.[_0xdc61d9(0x1c2)]?_0xdc61d9(0x192):_0xdc61d9(0x1c5));return _0x3c438e(this[_0xdc61d9(0x187)][_0xdc61d9(0x17a)],_0xdc61d9(0x19e),[_0x1a03ad,_0x169200]);}case _0xdc61d9(0x1d0):return _0x3c438e(this[_0xdc61d9(0x187)][_0xdc61d9(0x17a)],_0xdc61d9(0x1b4),_0x169200);case _0xdc61d9(0x191):case _0xdc61d9(0x1d4):return _0x3c438e(this[_0xdc61d9(0x187)][_0xdc61d9(0x17a)],_0xdc61d9(0x175));default:return _0x3c438e(this[_0xdc61d9(0x187)][_0xdc61d9(0x17a)],_0xdc61d9(0x188));}}[_0x55af39(0x174)](){const _0x12bfcb=_0x55af39,_0x5e7dc4=new Date(),_0x320759=new Date(_0x5e7dc4[_0x12bfcb(0x19d)](),_0x5e7dc4[_0x12bfcb(0x199)](),_0x5e7dc4[_0x12bfcb(0x193)]()),_0x26fa23=new Date(_0x320759);_0x26fa23[_0x12bfcb(0x181)](_0x26fa23[_0x12bfcb(0x193)]()-0x1);const _0x330458=new Date(_0x320759);_0x330458[_0x12bfcb(0x181)](_0x330458[_0x12bfcb(0x193)]()-0xe);const _0x15565d=this[_0x12bfcb(0x1a2)][_0x12bfcb(0x1c9)]({'pinned':!0x0}),_0x68ce4d=this[_0x12bfcb(0x1a2)][_0x12bfcb(0x1c9)]({'from':_0x320759,'to':_0x320759}),_0xccce0a=this[_0x12bfcb(0x1a2)][_0x12bfcb(0x1c9)]({'from':_0x26fa23,'to':_0x26fa23}),_0x41fbb0=this[_0x12bfcb(0x1a2)][_0x12bfcb(0x1c9)]({'from':_0x330458,'to':_0x26fa23}),_0x2dcfbd=this[_0x12bfcb(0x1a2)][_0x12bfcb(0x1c9)]({'to':_0x330458}),_0x11d326=[];return _0x15565d[_0x12bfcb(0x1bc)]>0x0&&_0x11d326[_0x12bfcb(0x1ad)]({'title':_0x3c438e(this[_0x12bfcb(0x187)][_0x12bfcb(0x17a)],_0x12bfcb(0x197)),'items':_0x15565d}),_0x68ce4d[_0x12bfcb(0x1bc)]>0x0&&_0x11d326[_0x12bfcb(0x1ad)]({'title':_0x3c438e(this[_0x12bfcb(0x187)][_0x12bfcb(0x17a)],_0x12bfcb(0x1c3)),'items':_0x68ce4d}),_0xccce0a[_0x12bfcb(0x1bc)]>0x0&&_0x11d326[_0x12bfcb(0x1ad)]({'title':_0x3c438e(this[_0x12bfcb(0x187)][_0x12bfcb(0x17a)],_0x12bfcb(0x190)),'items':_0xccce0a}),_0x41fbb0[_0x12bfcb(0x1bc)]>0x0&&_0x11d326[_0x12bfcb(0x1ad)]({'title':_0x3c438e(this[_0x12bfcb(0x187)][_0x12bfcb(0x17a)],_0x12bfcb(0x1a7)),'items':_0x41fbb0}),_0x2dcfbd[_0x12bfcb(0x1bc)]>0x0&&_0x11d326[_0x12bfcb(0x1ad)]({'title':_0x3c438e(this[_0x12bfcb(0x187)][_0x12bfcb(0x17a)],_0x12bfcb(0x1cf)),'items':_0x2dcfbd}),_0x11d326;}[_0x55af39(0x1a4)](_0x252442){const _0x2e7c6f=_0x55af39;this[_0x2e7c6f(0x1a1)][_0x2e7c6f(0x17e)](_0x252442);}}
23
+ function _0x2379(_0x48175e,_0x26eb4e){const _0x223842=_0x2238();return _0x2379=function(_0x23799c,_0x4d6877){_0x23799c=_0x23799c-0x177;let _0x3ea5c9=_0x223842[_0x23799c];return _0x3ea5c9;},_0x2379(_0x48175e,_0x26eb4e);}function _0x2238(){const _0x2b50f7=['_clearItemLoading','9PNAnqA','history','AI_CHAT_HISTORY_CATEGORY_LATER','_setIsMaximized','152317qCrBXT','title','setDate','length','pin','_handleSelectConversation','updateItemTitle','isPremiumPlugin','showError','AI_CHAT_HISTORY_PIN_ACTION','isOfficialPlugin','getItem','2886HiyLvK','init','resizeTabs','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','unpin','357KHXxBi','7884PqhdzU','toLocaleDateString','setLoadingSkeleton','478559xVEdch','pluginName','getMonth','resizedTabs','pinned','AIChatHistoryController','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_setItemLoading','2QjSsMe','loadConversation','push','getDate','itemUpdated','itemId','removeConversation','AI_CHAT_HISTORY_ERROR_GENERIC','view','itemsLoaded','loadItems','error','AI_CHAT_UNTITLED_CONVERSATION','401355LXCnzp','activateTab:history','_handleHistoryErrorUI','remove','20THvtVh','get','_handleRemove','handleRemovedConversation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','change:activeConversation','items','_handleEditTitle','getItems','activateTab','3650744kzTlbs','requires','_updateHistoryItemsUI','260IZzVfF','removeHistoryItem','createdAt','_showConversationHistory','_getCategorizedItems','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','AI_CHAT_HISTORY_CATEGORY_TODAY','_aiChatController','removeItem','_generateErrorMessage','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','updateItemLoadingState','activeConversation','setConversationPinned','map','selectConversation','_handleTogglePin','chat','getFullYear','editConversationTitle','resize','setIsMaximized','91005BbjmeC','context','updateItemPinned','openChat','updateItems','itemRemoved','getGroupId','locale','operation','rename','AI_CHAT_HISTORY_CATEGORY_PINNED','67590cJsDyx','AI_CHAT_HISTORY_UNPIN_ACTION','_aiConnector','_aiChatHistoryUi','listenTo','plugins','updates'];_0x2238=function(){return _0x2b50f7;};return _0x2238();}const _0x5c5520=_0x2379;(function(_0x38a3c1,_0x5e8cd4){const _0x4fce3f=_0x2379,_0x447532=_0x38a3c1();while(!![]){try{const _0x19482f=parseInt(_0x4fce3f(0x1cc))/0x1+-parseInt(_0x4fce3f(0x1d4))/0x2*(parseInt(_0x4fce3f(0x178))/0x3)+parseInt(_0x4fce3f(0x17c))/0x4*(parseInt(_0x4fce3f(0x19f))/0x5)+parseInt(_0x4fce3f(0x1aa))/0x6*(parseInt(_0x4fce3f(0x1c8))/0x7)+-parseInt(_0x4fce3f(0x186))/0x8*(parseInt(_0x4fce3f(0x1b2))/0x9)+-parseInt(_0x4fce3f(0x189))/0xa*(parseInt(_0x4fce3f(0x1b6))/0xb)+-parseInt(_0x4fce3f(0x1c9))/0xc*(-parseInt(_0x4fce3f(0x1c2))/0xd);if(_0x19482f===_0x5e8cd4)break;else _0x447532['push'](_0x447532['shift']());}catch(_0x320242){_0x447532['push'](_0x447532['shift']());}}}(_0x2238,0x52f47));import{ContextPlugin as _0x21c9ba}from'ckeditor5/src/core.js';import{AIConnector as _0x3d4e69}from'../aicore/aiconnector.js';import{AIChatController as _0x384e4a}from'../aichat/aichatcontroller.js';import{AITabs as _0x40c05d}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x507a82}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x5542f8}from'./model/aichathistoryconversations.js';import{getTranslation as _0x53bf4e}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x21c9ba{[_0x5c5520(0x1ac)];[_0x5c5520(0x1ad)];[_0x5c5520(0x190)];static get[_0x5c5520(0x187)](){return[_0x3d4e69,_0x384e4a,_0x507a82,_0x40c05d];}static get[_0x5c5520(0x1cd)](){const _0x524939=_0x5c5520;return _0x524939(0x1d1);}static get[_0x5c5520(0x1c0)](){return!0x0;}static get[_0x5c5520(0x1bd)](){return!0x0;}[_0x5c5520(0x1c3)](){const _0x51f921=_0x5c5520;this[_0x51f921(0x1ac)]=this[_0x51f921(0x1a0)][_0x51f921(0x1af)][_0x51f921(0x17d)](_0x3d4e69),this[_0x51f921(0x1ad)]=this[_0x51f921(0x1a0)][_0x51f921(0x1af)][_0x51f921(0x17d)](_0x507a82),this[_0x51f921(0x190)]=this[_0x51f921(0x1a0)][_0x51f921(0x1af)][_0x51f921(0x17d)](_0x384e4a);const _0x1c7e83=this[_0x51f921(0x1a0)][_0x51f921(0x1af)][_0x51f921(0x17d)](_0x40c05d),_0x3456b8=this[_0x51f921(0x190)][_0x51f921(0x1a5)]();this[_0x51f921(0x1b3)]=new _0x5542f8({'connector':this[_0x51f921(0x1ac)],'group':_0x3456b8}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x1da),(_0x4673f5,_0x582e21)=>{const _0x5dfeba=_0x51f921;this[_0x5dfeba(0x1d3)](_0x582e21['id'],_0x5dfeba(0x17b)),this[_0x5dfeba(0x17e)](_0x582e21['id']);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x19c),(_0x2a3708,_0x15fb8f)=>{const _0x13623d=_0x51f921;this[_0x13623d(0x1d3)](_0x15fb8f['id'],_0x13623d(0x1a8)),this[_0x13623d(0x183)](_0x15fb8f['id'],_0x15fb8f[_0x13623d(0x1b7)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1b3)],_0x51f921(0x1d8),(_0x381ec8,_0x1a5997)=>{const _0x41e19e=_0x51f921;void 0x0!==_0x1a5997[_0x41e19e(0x1b0)][_0x41e19e(0x1b7)]&&this[_0x41e19e(0x1ad)][_0x41e19e(0x1bc)](_0x1a5997[_0x41e19e(0x1d9)],_0x1a5997[_0x41e19e(0x1b0)][_0x41e19e(0x1b7)]),void 0x0!==_0x1a5997[_0x41e19e(0x1b0)][_0x41e19e(0x1d0)]&&this[_0x41e19e(0x188)](),this[_0x41e19e(0x1b1)](_0x1a5997[_0x41e19e(0x1d9)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1b3)],_0x51f921(0x1a4),(_0x4793e9,_0x1bd84b)=>{const _0x230998=_0x51f921;this[_0x230998(0x190)][_0x230998(0x17f)](_0x1bd84b[_0x230998(0x1d9)]),this[_0x230998(0x1ad)][_0x230998(0x18a)](_0x1bd84b[_0x230998(0x1d9)]),this[_0x230998(0x1b1)](_0x1bd84b[_0x230998(0x1d9)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1b3)],_0x51f921(0x1dd),()=>{const _0x11e96b=_0x51f921;this[_0x11e96b(0x188)]();}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1b3)],_0x51f921(0x1df),(_0x4d9167,_0x19f32b)=>{const _0xe27ce5=_0x51f921;this[_0xe27ce5(0x17a)](_0x19f32b[_0xe27ce5(0x1df)],_0x19f32b[_0xe27ce5(0x1a7)],_0x19f32b[_0xe27ce5(0x1d9)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x198),(_0x597c2b,_0x1c24d0)=>{const _0x1251df=_0x51f921;this[_0x1251df(0x1bb)](_0x1c24d0['id']);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x196),(_0x335500,_0x36dbe6)=>{const _0x250d83=_0x51f921,_0x5a4b57=_0x36dbe6[_0x250d83(0x1d0)]?_0x250d83(0x1ba):_0x250d83(0x1c7);this[_0x250d83(0x1d3)](_0x36dbe6['id'],_0x5a4b57),this[_0x250d83(0x199)](_0x36dbe6['id'],_0x36dbe6[_0x250d83(0x1d0)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x1a2),()=>{const _0x1134f8=_0x51f921;_0x1c7e83[_0x1134f8(0x1dc)][_0x1134f8(0x185)](_0x1134f8(0x19a));}),this[_0x51f921(0x1ae)](this[_0x51f921(0x190)],_0x51f921(0x181),()=>{const _0x378222=_0x51f921;this[_0x378222(0x188)]();}),_0x1c7e83[_0x51f921(0x1dc)]['on'](_0x51f921(0x179),()=>{const _0x79ff4d=_0x51f921;this[_0x79ff4d(0x18c)]();}),this[_0x51f921(0x1ae)](_0x1c7e83,_0x51f921(0x1cf),(_0x2c29b6,_0x2f7179)=>{const _0x504a2b=_0x51f921;this[_0x504a2b(0x1b5)](_0x2f7179);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x1c4),()=>{const _0x3466c8=_0x51f921;_0x1c7e83[_0x3466c8(0x19d)]();});}async[_0x5c5520(0x183)](_0x3ee246,_0x2547b0){const _0x470214=_0x5c5520;await this[_0x470214(0x1b3)][_0x470214(0x1bc)](_0x3ee246,_0x2547b0);}async[_0x5c5520(0x199)](_0x19e596,_0x20443c){const _0x46deed=_0x5c5520;await this[_0x46deed(0x1b3)][_0x46deed(0x1a1)](_0x19e596,_0x20443c);}async[_0x5c5520(0x17e)](_0x4913d1){const _0x318a11=_0x5c5520;await this[_0x318a11(0x1b3)][_0x318a11(0x191)](_0x4913d1);}async[_0x5c5520(0x1bb)](_0x2869e5){const _0x39a156=_0x5c5520;await this[_0x39a156(0x190)][_0x39a156(0x1d5)](_0x2869e5);}async[_0x5c5520(0x18c)](){const _0x505644=_0x5c5520;this[_0x505644(0x1ad)][_0x505644(0x1be)](''),this[_0x505644(0x1ad)][_0x505644(0x1cb)](!0x0),await this[_0x505644(0x1b3)][_0x505644(0x1c3)](),this[_0x505644(0x1ad)][_0x505644(0x1cb)](!0x1);}[_0x5c5520(0x188)](){const _0x17cdbd=_0x5c5520,_0x298939=this[_0x17cdbd(0x190)][_0x17cdbd(0x195)]?.['id'],_0x3ec532=this[_0x17cdbd(0x18d)]()[_0x17cdbd(0x197)](_0x51043d=>({'title':_0x51043d[_0x17cdbd(0x1b7)],'items':_0x51043d[_0x17cdbd(0x182)][_0x17cdbd(0x197)](_0x12f508=>({'id':_0x12f508['id'],'title':_0x12f508[_0x17cdbd(0x1b7)]||_0x53bf4e(this[_0x17cdbd(0x1a0)][_0x17cdbd(0x1a6)],_0x17cdbd(0x177)),'createdAt':new Date(_0x12f508[_0x17cdbd(0x18b)])[_0x17cdbd(0x1ca)](),'active':_0x12f508['id']===_0x298939,'pinned':_0x12f508[_0x17cdbd(0x1d0)]}))}));this[_0x17cdbd(0x1ad)][_0x17cdbd(0x1a3)](_0x3ec532);}[_0x5c5520(0x1d3)](_0x1a9274,_0xa6a0ef){const _0x34abca=_0x5c5520;this[_0x34abca(0x1ad)][_0x34abca(0x194)](_0x1a9274,_0xa6a0ef,!0x0);}[_0x5c5520(0x1b1)](_0x3394c3){const _0x32dcaf=_0x5c5520;this[_0x32dcaf(0x1ad)][_0x32dcaf(0x194)](_0x3394c3,null,!0x1);}[_0x5c5520(0x17a)](_0x693f18,_0x3a86ad,_0x5831f2){const _0x48e767=_0x5c5520,_0x2acbcc=this[_0x48e767(0x192)](_0x3a86ad,_0x5831f2);this[_0x48e767(0x1ad)][_0x48e767(0x1be)](_0x2acbcc),_0x5831f2&&this[_0x48e767(0x1b1)](_0x5831f2),this[_0x48e767(0x1ad)][_0x48e767(0x1cb)](!0x1);}[_0x5c5520(0x192)](_0x593c88,_0x769965){const _0x402895=_0x5c5520,_0x21980c=_0x769965?this[_0x402895(0x1b3)][_0x402895(0x1c1)](_0x769965):null,_0x23c188=_0x21980c?.[_0x402895(0x1b7)]||_0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x177));switch(_0x593c88){case _0x402895(0x1bc):return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x193),_0x23c188);case _0x402895(0x1a1):{const _0x1c2aa5=_0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x21980c?.[_0x402895(0x1d0)]?_0x402895(0x1ab):_0x402895(0x1bf));return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x1c6),[_0x1c2aa5,_0x23c188]);}case _0x402895(0x191):return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x1c5),_0x23c188);case _0x402895(0x1c3):case _0x402895(0x1de):return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x180));default:return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x1db));}}[_0x5c5520(0x18d)](){const _0x96ab80=_0x5c5520,_0x3a70bd=new Date(),_0x247f89=new Date(_0x3a70bd[_0x96ab80(0x19b)](),_0x3a70bd[_0x96ab80(0x1ce)](),_0x3a70bd[_0x96ab80(0x1d7)]()),_0x3b510b=new Date(_0x247f89);_0x3b510b[_0x96ab80(0x1b8)](_0x3b510b[_0x96ab80(0x1d7)]()-0x1);const _0x3135df=new Date(_0x247f89);_0x3135df[_0x96ab80(0x1b8)](_0x3135df[_0x96ab80(0x1d7)]()-0xe);const _0x219d01=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'pinned':!0x0}),_0x3d477a=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'from':_0x247f89,'to':_0x247f89}),_0x157a49=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'from':_0x3b510b,'to':_0x3b510b}),_0x36bd30=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'from':_0x3135df,'to':_0x3b510b}),_0x2a448c=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'to':_0x3135df}),_0x2d0099=[];return _0x219d01[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x1a9)),'items':_0x219d01}),_0x3d477a[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x18f)),'items':_0x3d477a}),_0x157a49[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x18e)),'items':_0x157a49}),_0x36bd30[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x1d2)),'items':_0x36bd30}),_0x2a448c[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x1b4)),'items':_0x2a448c}),_0x2d0099;}[_0x5c5520(0x1b5)](_0x4dcaaf){const _0x318103=_0x5c5520;this[_0x318103(0x1ad)][_0x318103(0x19e)](_0x4dcaaf);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ad23e=_0x3fc5;function _0x3fc5(_0x6f3f6,_0x3337b3){const _0x46486a=_0x4648();return _0x3fc5=function(_0x3fc556,_0x4b52f4){_0x3fc556=_0x3fc556-0x18f;let _0x5b8609=_0x46486a[_0x3fc556];return _0x5b8609;},_0x3fc5(_0x6f3f6,_0x3337b3);}function _0x4648(){const _0x3689c9=['isMaximized','isPremiumPlugin','isLoading','updateHistoryItemsWithCategories','updateItemLoadingState','1351920DljCWd','setIsMaximized','1703598yOFwYx','get','AIChatHistoryUI','updateItemTitle','removeConversation','locale','AITabs','isOfficialPlugin','AI_CHAT_HISTORY_HEADING','requires','220EmHBvc','removeHistoryItem','hideError','1759obrmVX','showResizeButton','view','3304drIrRK','addTab','updateItems','context','resizeTabs','7wQpoQc','delegate','pluginName','setLoadingSkeleton','openChat','7557qYKNnb','1170433MshCNZ','plugins','showConversationHistory','_historyView','757350aguKPP','4473fbVfBM','setConversationPinned','errorMessage','214LQXgvZ','editConversationTitle','selectConversation','history','showError'];_0x4648=function(){return _0x3689c9;};return _0x4648();}(function(_0x30dcfd,_0x3a5f8c){const _0xda6490=_0x3fc5,_0x12dbcd=_0x30dcfd();while(!![]){try{const _0x2947c9=parseInt(_0xda6490(0x192))/0x1*(parseInt(_0xda6490(0x1a8))/0x2)+-parseInt(_0xda6490(0x19f))/0x3*(-parseInt(_0xda6490(0x18f))/0x4)+-parseInt(_0xda6490(0x1b2))/0x5+parseInt(_0xda6490(0x1b4))/0x6*(-parseInt(_0xda6490(0x19a))/0x7)+parseInt(_0xda6490(0x195))/0x8*(parseInt(_0xda6490(0x1a5))/0x9)+parseInt(_0xda6490(0x1a4))/0xa+parseInt(_0xda6490(0x1a0))/0xb;if(_0x2947c9===_0x3a5f8c)break;else _0x12dbcd['push'](_0x12dbcd['shift']());}catch(_0x41c5d9){_0x12dbcd['push'](_0x12dbcd['shift']());}}}(_0x4648,0x27060));import{ContextPlugin as _0x1e9b30}from'ckeditor5/src/core.js';import{AITabs as _0x3891e2}from'../aitabs/aitabs.js';import{IconAIHistory as _0x2ee7c4}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x3fcccd}from'./ui/aichathistoryview.js';import{getTranslation as _0x496a06}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x5ad23e(0x1a2),_0x5ad23e(0x1b8),_0x5ad23e(0x1a9),_0x5ad23e(0x1a6),_0x5ad23e(0x1aa),_0x5ad23e(0x19e),_0x5ad23e(0x199)];export class AIChatHistoryUI extends _0x1e9b30{static get[_0x5ad23e(0x1bd)](){return[_0x3891e2];}[_0x5ad23e(0x1a3)];static get[_0x5ad23e(0x19c)](){const _0x2586b1=_0x5ad23e;return _0x2586b1(0x1b6);}static get[_0x5ad23e(0x1bb)](){return!0x0;}static get[_0x5ad23e(0x1ae)](){return!0x0;}constructor(_0x225aff){const _0x107d8b=_0x5ad23e;super(_0x225aff);const _0x1103fe=this[_0x107d8b(0x198)][_0x107d8b(0x1a1)][_0x107d8b(0x1b5)](_0x107d8b(0x1ba));this[_0x107d8b(0x1a3)]=new _0x3fcccd(this[_0x107d8b(0x198)][_0x107d8b(0x1b9)],_0x1103fe[_0x107d8b(0x193)]),this[_0x107d8b(0x1a3)][_0x107d8b(0x19b)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x1103fe[_0x107d8b(0x194)][_0x107d8b(0x196)]({'id':_0x107d8b(0x1ab),'buttonLabel':_0x496a06(this[_0x107d8b(0x198)][_0x107d8b(0x1b9)],_0x107d8b(0x1bc)),'buttonIcon':_0x2ee7c4,'order':0x0,'content':this[_0x107d8b(0x1a3)]});}[_0x5ad23e(0x190)](_0x4d3c2f){const _0x3b360c=_0x5ad23e;this[_0x3b360c(0x1a3)][_0x3b360c(0x190)](_0x4d3c2f);}[_0x5ad23e(0x197)](_0x56a181){const _0x326ce9=_0x5ad23e;this[_0x326ce9(0x1a3)][_0x326ce9(0x1b0)](_0x56a181);}[_0x5ad23e(0x1b7)](_0x96ac0e,_0x35cdc3){const _0x5e4d1a=_0x5ad23e;this[_0x5e4d1a(0x1a3)][_0x5e4d1a(0x1b7)](_0x96ac0e,_0x35cdc3);}[_0x5ad23e(0x1b1)](_0x220d08,_0x3bbc06,_0x51b251){const _0x2555e1=_0x5ad23e;this[_0x2555e1(0x1a3)][_0x2555e1(0x1b1)](_0x220d08,_0x3bbc06,_0x51b251);}[_0x5ad23e(0x19d)](_0xc1eae7){const _0x1d13ba=_0x5ad23e;this[_0x1d13ba(0x1a3)][_0x1d13ba(0x1af)]=_0xc1eae7;}[_0x5ad23e(0x1ac)](_0x5ac706){const _0xb19c2d=_0x5ad23e;this[_0xb19c2d(0x1a3)][_0xb19c2d(0x1a7)]=_0x5ac706;}[_0x5ad23e(0x191)](){const _0x36f10d=_0x5ad23e;this[_0x36f10d(0x1a3)][_0x36f10d(0x1a7)]='';}[_0x5ad23e(0x1b3)](_0x2af26c){const _0x5a8692=_0x5ad23e;this[_0x5a8692(0x1a3)][_0x5a8692(0x1ad)]=_0x2af26c;}}
23
+ const _0x2e4a41=_0x301c;(function(_0x113805,_0xe6f7f8){const _0x4f2d9b=_0x301c,_0x12811e=_0x113805();while(!![]){try{const _0xe54f79=parseInt(_0x4f2d9b(0xfb))/0x1*(parseInt(_0x4f2d9b(0xf9))/0x2)+parseInt(_0x4f2d9b(0xfe))/0x3*(-parseInt(_0x4f2d9b(0xeb))/0x4)+parseInt(_0x4f2d9b(0xff))/0x5+-parseInt(_0x4f2d9b(0xf7))/0x6*(-parseInt(_0x4f2d9b(0xf5))/0x7)+parseInt(_0x4f2d9b(0xfc))/0x8+-parseInt(_0x4f2d9b(0xfd))/0x9+-parseInt(_0x4f2d9b(0x100))/0xa;if(_0xe54f79===_0xe6f7f8)break;else _0x12811e['push'](_0x12811e['shift']());}catch(_0x24eb0b){_0x12811e['push'](_0x12811e['shift']());}}}(_0x38b0,0x2e608));import{ContextPlugin as _0x36cac9}from'ckeditor5/src/core.js';import{AITabs as _0xfc746}from'../aitabs/aitabs.js';import{IconAIHistory as _0x5a691c}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x2c7e96}from'./ui/aichathistoryview.js';import{getTranslation as _0x5bf469}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x2e4a41(0xed),_0x2e4a41(0xe3),_0x2e4a41(0xef),_0x2e4a41(0xe4),_0x2e4a41(0xf3),_0x2e4a41(0xe9),_0x2e4a41(0xf4)];export class AIChatHistoryUI extends _0x36cac9{static get[_0x2e4a41(0xe0)](){return[_0xfc746];}[_0x2e4a41(0xe2)];static get[_0x2e4a41(0xdd)](){const _0x181efc=_0x2e4a41;return _0x181efc(0xf1);}static get[_0x2e4a41(0xf6)](){return!0x0;}static get[_0x2e4a41(0x101)](){return!0x0;}constructor(_0x4a38cd){const _0x5a98ea=_0x2e4a41;super(_0x4a38cd);const _0x4ed8aa=this[_0x5a98ea(0xd7)][_0x5a98ea(0xde)][_0x5a98ea(0xdf)](_0x5a98ea(0xf2));this[_0x5a98ea(0xe2)]=new _0x2c7e96(this[_0x5a98ea(0xd7)][_0x5a98ea(0x103)],_0x4ed8aa[_0x5a98ea(0xf8)]),this[_0x5a98ea(0xe2)][_0x5a98ea(0xdb)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x4ed8aa[_0x5a98ea(0xe8)][_0x5a98ea(0xee)]({'id':_0x5a98ea(0xe7),'buttonLabel':_0x5bf469(this[_0x5a98ea(0xd7)][_0x5a98ea(0x103)],_0x5a98ea(0xf0)),'buttonIcon':_0x5a691c,'order':0x0,'content':this[_0x5a98ea(0xe2)]});}[_0x2e4a41(0xe1)](_0x3efd13){const _0x544b85=_0x2e4a41;this[_0x544b85(0xe2)][_0x544b85(0xe1)](_0x3efd13);}[_0x2e4a41(0xda)](_0x75b61d){const _0x4d408a=_0x2e4a41;this[_0x4d408a(0xe2)][_0x4d408a(0xea)](_0x75b61d);}[_0x2e4a41(0xdc)](_0x33c766,_0x4bc258){const _0x55fed5=_0x2e4a41;this[_0x55fed5(0xe2)][_0x55fed5(0xdc)](_0x33c766,_0x4bc258);}[_0x2e4a41(0xe5)](_0x11f4ea,_0x17b9a2,_0x21bcfa){const _0x277953=_0x2e4a41;this[_0x277953(0xe2)][_0x277953(0xe5)](_0x11f4ea,_0x17b9a2,_0x21bcfa);}[_0x2e4a41(0x102)](_0x232fbb){const _0x2f25a9=_0x2e4a41;this[_0x2f25a9(0xe2)][_0x2f25a9(0xe6)]=_0x232fbb;}[_0x2e4a41(0xfa)](_0xa2b565){const _0x2cfc46=_0x2e4a41;this[_0x2cfc46(0xe2)][_0x2cfc46(0xd8)]=_0xa2b565;}[_0x2e4a41(0xec)](){const _0x1dd64b=_0x2e4a41;this[_0x1dd64b(0xe2)][_0x1dd64b(0xd8)]='';}[_0x2e4a41(0xd6)](_0x31fff9){const _0x445dde=_0x2e4a41;this[_0x445dde(0xe2)][_0x445dde(0xd9)]=_0x31fff9;}}function _0x301c(_0x3ba431,_0x5b1668){const _0x38b062=_0x38b0();return _0x301c=function(_0x301c9a,_0x45b23d){_0x301c9a=_0x301c9a-0xd6;let _0x581e8a=_0x38b062[_0x301c9a];return _0x581e8a;},_0x301c(_0x3ba431,_0x5b1668);}function _0x38b0(){const _0x17b353=['showConversationHistory','addTab','editConversationTitle','AI_CHAT_HISTORY_HEADING','AIChatHistoryUI','AITabs','selectConversation','resizeTabs','139503GIChTE','isOfficialPlugin','72jbITyr','showResizeButton','185214KbLQsR','showError','1igZnjr','2816112JviMPV','1651941qeubcE','96ArBNoO','701090wcqjWd','2329420yITfxN','isPremiumPlugin','setLoadingSkeleton','locale','setIsMaximized','context','errorMessage','isMaximized','updateItems','delegate','updateItemTitle','pluginName','plugins','get','requires','removeHistoryItem','_historyView','removeConversation','setConversationPinned','updateItemLoadingState','isLoading','history','view','openChat','updateHistoryItemsWithCategories','27192WjUznU','hideError'];_0x38b0=function(){return _0x17b353;};return _0x38b0();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x224426=_0x4eae;(function(_0x31cfe7,_0x1e5d48){const _0x17f7e4=_0x4eae,_0x36885a=_0x31cfe7();while(!![]){try{const _0x14deb6=parseInt(_0x17f7e4(0x18a))/0x1+-parseInt(_0x17f7e4(0x180))/0x2+parseInt(_0x17f7e4(0x187))/0x3*(-parseInt(_0x17f7e4(0x199))/0x4)+-parseInt(_0x17f7e4(0x17b))/0x5+parseInt(_0x17f7e4(0x190))/0x6+parseInt(_0x17f7e4(0x173))/0x7*(parseInt(_0x17f7e4(0x176))/0x8)+parseInt(_0x17f7e4(0x18f))/0x9*(-parseInt(_0x17f7e4(0x184))/0xa);if(_0x14deb6===_0x1e5d48)break;else _0x36885a['push'](_0x36885a['shift']());}catch(_0x4b425f){_0x36885a['push'](_0x36885a['shift']());}}}(_0x2de1,0x3ada5));import{EmitterMixin as _0x33d0e6}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x432898}from'./aichathistoryitem.js';function _0x2de1(){const _0x1a5c3e=['error','getConversations','updateTitle','from','fetchConversations','105NungBY','items','fire','191568adgCJt','map','getTime','getResult','itemsLoaded','950555jGytzy','updatePinned','getMonth','removeItem','deleteConversation','223994LPDAjH','splice','pinned','push','110CYbcDC','connector','updateItemTitle','17787JOMDiU','createdAt','getDate','370469dFAEBn','getItem','getFullYear','itemUpdated','execute','160245sHNLQf','1941612EPBKHB','group','loadItems','find','getItems','updateConversation','addItem','filter','updateItemPinned','212nsHfIl','init','itemRemoved','findIndex'];_0x2de1=function(){return _0x1a5c3e;};return _0x2de1();}function _0x4eae(_0xc2763f,_0x3defd0){const _0x2de1d5=_0x2de1();return _0x4eae=function(_0x4eae2d,_0x22ff2b){_0x4eae2d=_0x4eae2d-0x171;let _0x578489=_0x2de1d5[_0x4eae2d];return _0x578489;},_0x4eae(_0xc2763f,_0x3defd0);}export class AIChatHistoryConversations extends _0x33d0e6(){[_0x224426(0x174)]=[];[_0x224426(0x185)];[_0x224426(0x191)];constructor({connector:_0x24230f,group:_0x3fbc3b}){const _0x1dbda9=_0x224426;super(),this[_0x1dbda9(0x185)]=_0x24230f,this[_0x1dbda9(0x191)]=_0x3fbc3b;}async[_0x224426(0x19a)](){const _0x1bf55d=_0x224426;try{const _0x43cfae=this[_0x1bf55d(0x185)][_0x1bf55d(0x172)](this[_0x1bf55d(0x191)]),_0x2dd650=await _0x43cfae[_0x1bf55d(0x19e)]();this[_0x1bf55d(0x192)](_0x2dd650);}catch(_0x30d52a){this[_0x1bf55d(0x175)](_0x1bf55d(0x19d),{'error':_0x30d52a,'operation':_0x1bf55d(0x19a)});}}[_0x224426(0x196)](_0x2f8948){const _0xf44fca=_0x224426;this[_0xf44fca(0x174)][_0xf44fca(0x183)](_0x2f8948);}async[_0x224426(0x17e)](_0x2df599){const _0x1caf5e=_0x224426,_0x3320b6=this[_0x1caf5e(0x174)][_0x1caf5e(0x19c)](_0x591a32=>_0x591a32['id']===_0x2df599);if(-0x1===_0x3320b6)return!0x1;try{return await this[_0x1caf5e(0x185)][_0x1caf5e(0x17f)](_0x2df599)[_0x1caf5e(0x18e)](),this[_0x1caf5e(0x174)][_0x1caf5e(0x181)](_0x3320b6,0x1),this[_0x1caf5e(0x175)](_0x1caf5e(0x19b),{'itemId':_0x2df599}),!0x0;}catch(_0x5bc846){return this[_0x1caf5e(0x175)](_0x1caf5e(0x19d),{'error':_0x5bc846,'operation':_0x1caf5e(0x17e),'itemId':_0x2df599}),!0x1;}}[_0x224426(0x18b)](_0x200450){const _0x424e77=_0x224426;return this[_0x424e77(0x174)][_0x424e77(0x193)](_0x59f036=>_0x59f036['id']===_0x200450);}async[_0x224426(0x186)](_0x29f021,_0x49c03d){const _0x478b30=_0x224426,_0x31fbc4=this[_0x478b30(0x18b)](_0x29f021);if(!_0x31fbc4)return!0x1;try{return await this[_0x478b30(0x185)][_0x478b30(0x195)](_0x29f021,{'title':_0x49c03d})[_0x478b30(0x179)](),_0x31fbc4[_0x478b30(0x19f)](_0x49c03d),this[_0x478b30(0x175)](_0x478b30(0x18d),{'itemId':_0x29f021,'updates':{'title':_0x49c03d}}),!0x0;}catch(_0x5f4bfc){return this[_0x478b30(0x175)](_0x478b30(0x19d),{'error':_0x5f4bfc,'operation':_0x478b30(0x186),'itemId':_0x29f021}),!0x1;}}async[_0x224426(0x198)](_0x190be6,_0x2e1375){const _0x6e7db1=_0x224426,_0x562dab=this[_0x6e7db1(0x18b)](_0x190be6);if(!_0x562dab)return!0x1;try{return await this[_0x6e7db1(0x185)][_0x6e7db1(0x195)](_0x190be6,{'pinned':_0x2e1375})[_0x6e7db1(0x179)](),_0x562dab[_0x6e7db1(0x17c)](_0x2e1375),this[_0x6e7db1(0x175)](_0x6e7db1(0x18d),{'itemId':_0x190be6,'updates':{'pinned':_0x2e1375}}),!0x0;}catch(_0xc3661f){return this[_0x6e7db1(0x175)](_0x6e7db1(0x19d),{'error':_0xc3661f,'operation':_0x6e7db1(0x198),'itemId':_0x190be6}),!0x1;}}[_0x224426(0x192)](_0xd8c9ee){const _0x53ba2f=_0x224426;try{this[_0x53ba2f(0x174)]=[],_0xd8c9ee[_0x53ba2f(0x177)](_0x2f2cbc=>{const _0x5b1596=_0x53ba2f;this[_0x5b1596(0x196)](new _0x432898(_0x2f2cbc));}),this[_0x53ba2f(0x175)](_0x53ba2f(0x17a),{'items':[...this[_0x53ba2f(0x174)]]});}catch(_0x1c4432){this[_0x53ba2f(0x175)](_0x53ba2f(0x19d),{'error':_0x1c4432,'operation':_0x53ba2f(0x192)});}}[_0x224426(0x194)](_0x527b17={}){const _0x1525d1=_0x224426,_0xd16a6c=void 0x0!==_0x527b17[_0x1525d1(0x182)]&&_0x527b17[_0x1525d1(0x182)],_0x58af0a=_0x527b17[_0x1525d1(0x171)]?new Date(_0x527b17[_0x1525d1(0x171)][_0x1525d1(0x18c)](),_0x527b17[_0x1525d1(0x171)][_0x1525d1(0x17d)](),_0x527b17[_0x1525d1(0x171)][_0x1525d1(0x189)]()):null,_0x49d79a=_0x527b17['to']?new Date(_0x527b17['to'][_0x1525d1(0x18c)](),_0x527b17['to'][_0x1525d1(0x17d)](),_0x527b17['to'][_0x1525d1(0x189)]()):null;return this[_0x1525d1(0x174)][_0x1525d1(0x197)](_0x407ee2=>{const _0xaa739a=_0x1525d1;if(_0x407ee2[_0xaa739a(0x182)]!==_0xd16a6c)return!0x1;if(_0x49d79a){const _0x57bdda=new Date(_0x407ee2[_0xaa739a(0x188)][_0xaa739a(0x18c)](),_0x407ee2[_0xaa739a(0x188)][_0xaa739a(0x17d)](),_0x407ee2[_0xaa739a(0x188)][_0xaa739a(0x189)]());return _0x58af0a?_0x58af0a[_0xaa739a(0x178)]()===_0x49d79a[_0xaa739a(0x178)]()?_0x57bdda[_0xaa739a(0x178)]()===_0x58af0a[_0xaa739a(0x178)]():_0x57bdda<_0x49d79a&&_0x57bdda>=_0x58af0a:_0x57bdda<_0x49d79a;}return!0x0;});}}
23
+ function _0x3876(){const _0x5f4f83=['getConversations','splice','from','getResult','getFullYear','updateItemPinned','findIndex','12474021xMCDbp','error','getItem','1456745pptPCM','connector','updateConversation','27078hpSxhL','fetchConversations','itemsLoaded','items','28114029OFeoVz','push','updatePinned','execute','deleteConversation','1580tMOQgW','filter','addItem','getDate','getItems','fire','itemRemoved','createdAt','146KApkwa','pinned','updateItemTitle','updateTitle','62043yazvkb','itemUpdated','map','init','579460JujtUo','getMonth','loadItems','7941272KwKQgI','find','getTime','removeItem','group'];_0x3876=function(){return _0x5f4f83;};return _0x3876();}const _0xff92db=_0x16d3;(function(_0x4c5639,_0x2bc249){const _0x526eac=_0x16d3,_0xb69d0a=_0x4c5639();while(!![]){try{const _0x29a306=-parseInt(_0x526eac(0xea))/0x1+-parseInt(_0x526eac(0xd0))/0x2*(parseInt(_0x526eac(0xd4))/0x3)+parseInt(_0x526eac(0xd8))/0x4+-parseInt(_0x526eac(0xc8))/0x5*(-parseInt(_0x526eac(0xed))/0x6)+-parseInt(_0x526eac(0xe7))/0x7+parseInt(_0x526eac(0xdb))/0x8+parseInt(_0x526eac(0xf1))/0x9;if(_0x29a306===_0x2bc249)break;else _0xb69d0a['push'](_0xb69d0a['shift']());}catch(_0x1569c3){_0xb69d0a['push'](_0xb69d0a['shift']());}}}(_0x3876,0xe53c8));import{EmitterMixin as _0x1cf9b5}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x1c2f8c}from'./aichathistoryitem.js';function _0x16d3(_0x12403d,_0x5eecb0){const _0x3876f0=_0x3876();return _0x16d3=function(_0x16d384,_0x29ccf9){_0x16d384=_0x16d384-0xc6;let _0x504632=_0x3876f0[_0x16d384];return _0x504632;},_0x16d3(_0x12403d,_0x5eecb0);}export class AIChatHistoryConversations extends _0x1cf9b5(){[_0xff92db(0xf0)]=[];[_0xff92db(0xeb)];[_0xff92db(0xdf)];constructor({connector:_0x77ffdc,group:_0x5ac84c}){const _0x27af36=_0xff92db;super(),this[_0x27af36(0xeb)]=_0x77ffdc,this[_0x27af36(0xdf)]=_0x5ac84c;}async[_0xff92db(0xd7)](){const _0x446b56=_0xff92db;try{const _0x4dc862=this[_0x446b56(0xeb)][_0x446b56(0xee)](this[_0x446b56(0xdf)]),_0x5f23b5=await _0x4dc862[_0x446b56(0xe0)]();this[_0x446b56(0xda)](_0x5f23b5);}catch(_0x48c839){this[_0x446b56(0xcd)](_0x446b56(0xe8),{'error':_0x48c839,'operation':_0x446b56(0xd7)});}}[_0xff92db(0xca)](_0x3ab1a6){const _0xe22cfa=_0xff92db;this[_0xe22cfa(0xf0)][_0xe22cfa(0xf2)](_0x3ab1a6);}async[_0xff92db(0xde)](_0xd7d48){const _0x34c975=_0xff92db,_0xf21c1c=this[_0x34c975(0xf0)][_0x34c975(0xe6)](_0x5c8950=>_0x5c8950['id']===_0xd7d48);if(-0x1===_0xf21c1c)return!0x1;try{return await this[_0x34c975(0xeb)][_0x34c975(0xc7)](_0xd7d48)[_0x34c975(0xc6)](),this[_0x34c975(0xf0)][_0x34c975(0xe1)](_0xf21c1c,0x1),this[_0x34c975(0xcd)](_0x34c975(0xce),{'itemId':_0xd7d48}),!0x0;}catch(_0xa7077a){return this[_0x34c975(0xcd)](_0x34c975(0xe8),{'error':_0xa7077a,'operation':_0x34c975(0xde),'itemId':_0xd7d48}),!0x1;}}[_0xff92db(0xe9)](_0x15c150){const _0x3562a8=_0xff92db;return this[_0x3562a8(0xf0)][_0x3562a8(0xdc)](_0x3a562d=>_0x3a562d['id']===_0x15c150);}async[_0xff92db(0xd2)](_0x486df5,_0x99417a){const _0x5d1d4d=_0xff92db,_0x386ea5=this[_0x5d1d4d(0xe9)](_0x486df5);if(!_0x386ea5)return!0x1;try{return await this[_0x5d1d4d(0xeb)][_0x5d1d4d(0xec)](_0x486df5,{'title':_0x99417a})[_0x5d1d4d(0xe3)](),_0x386ea5[_0x5d1d4d(0xd3)](_0x99417a),this[_0x5d1d4d(0xcd)](_0x5d1d4d(0xd5),{'itemId':_0x486df5,'updates':{'title':_0x99417a}}),!0x0;}catch(_0x226589){return this[_0x5d1d4d(0xcd)](_0x5d1d4d(0xe8),{'error':_0x226589,'operation':_0x5d1d4d(0xd2),'itemId':_0x486df5}),!0x1;}}async[_0xff92db(0xe5)](_0x44bcb2,_0x607946){const _0x313d75=_0xff92db,_0x429dad=this[_0x313d75(0xe9)](_0x44bcb2);if(!_0x429dad)return!0x1;try{return await this[_0x313d75(0xeb)][_0x313d75(0xec)](_0x44bcb2,{'pinned':_0x607946})[_0x313d75(0xe3)](),_0x429dad[_0x313d75(0xf3)](_0x607946),this[_0x313d75(0xcd)](_0x313d75(0xd5),{'itemId':_0x44bcb2,'updates':{'pinned':_0x607946}}),!0x0;}catch(_0x44750a){return this[_0x313d75(0xcd)](_0x313d75(0xe8),{'error':_0x44750a,'operation':_0x313d75(0xe5),'itemId':_0x44bcb2}),!0x1;}}[_0xff92db(0xda)](_0x3a578b){const _0x5dcd66=_0xff92db;try{this[_0x5dcd66(0xf0)]=[],_0x3a578b[_0x5dcd66(0xd6)](_0xee2754=>{const _0x5a8868=_0x5dcd66;this[_0x5a8868(0xca)](new _0x1c2f8c(_0xee2754));}),this[_0x5dcd66(0xcd)](_0x5dcd66(0xef),{'items':[...this[_0x5dcd66(0xf0)]]});}catch(_0x5215cb){this[_0x5dcd66(0xcd)](_0x5dcd66(0xe8),{'error':_0x5215cb,'operation':_0x5dcd66(0xda)});}}[_0xff92db(0xcc)](_0x2c9d41={}){const _0xca5b02=_0xff92db,_0x117986=void 0x0!==_0x2c9d41[_0xca5b02(0xd1)]&&_0x2c9d41[_0xca5b02(0xd1)],_0x5153a0=_0x2c9d41[_0xca5b02(0xe2)]?new Date(_0x2c9d41[_0xca5b02(0xe2)][_0xca5b02(0xe4)](),_0x2c9d41[_0xca5b02(0xe2)][_0xca5b02(0xd9)](),_0x2c9d41[_0xca5b02(0xe2)][_0xca5b02(0xcb)]()):null,_0x5afaf4=_0x2c9d41['to']?new Date(_0x2c9d41['to'][_0xca5b02(0xe4)](),_0x2c9d41['to'][_0xca5b02(0xd9)](),_0x2c9d41['to'][_0xca5b02(0xcb)]()):null;return this[_0xca5b02(0xf0)][_0xca5b02(0xc9)](_0x5db86d=>{const _0x3131df=_0xca5b02;if(_0x5db86d[_0x3131df(0xd1)]!==_0x117986)return!0x1;if(_0x5afaf4){const _0x178a20=new Date(_0x5db86d[_0x3131df(0xcf)][_0x3131df(0xe4)](),_0x5db86d[_0x3131df(0xcf)][_0x3131df(0xd9)](),_0x5db86d[_0x3131df(0xcf)][_0x3131df(0xcb)]());return _0x5153a0?_0x5153a0[_0x3131df(0xdd)]()===_0x5afaf4[_0x3131df(0xdd)]()?_0x178a20[_0x3131df(0xdd)]()===_0x5153a0[_0x3131df(0xdd)]():_0x178a20<_0x5afaf4&&_0x178a20>=_0x5153a0:_0x178a20<_0x5afaf4;}return!0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x337608=_0x5a8a;(function(_0x4006e0,_0x40fa6f){var _0x221893=_0x5a8a,_0x555de8=_0x4006e0();while(!![]){try{var _0xccc116=parseInt(_0x221893(0x99))/0x1*(parseInt(_0x221893(0x9b))/0x2)+-parseInt(_0x221893(0x9d))/0x3+parseInt(_0x221893(0x9f))/0x4+-parseInt(_0x221893(0xa3))/0x5+-parseInt(_0x221893(0x9c))/0x6*(-parseInt(_0x221893(0x95))/0x7)+-parseInt(_0x221893(0xa5))/0x8*(parseInt(_0x221893(0x98))/0x9)+parseInt(_0x221893(0x9a))/0xa*(-parseInt(_0x221893(0xa0))/0xb);if(_0xccc116===_0x40fa6f)break;else _0x555de8['push'](_0x555de8['shift']());}catch(_0x134ba3){_0x555de8['push'](_0x555de8['shift']());}}}(_0x5c3e,0x207d3));import{ObservableMixin as _0x59bc02}from'ckeditor5/src/utils.js';import{escape as _0x3adc90}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x59bc02(){['id'];[_0x337608(0xa4)];constructor({id:_0x5cc6c5,title:_0x3b2d05,createdAt:_0x30d24f,updatedAt:_0x3f175b,pinned:_0x1a5c53}){var _0x3dd9b4=_0x337608;super(),this['id']=_0x5cc6c5,this[_0x3dd9b4(0xa4)]=new Date(_0x30d24f),this[_0x3dd9b4(0xa2)](_0x3dd9b4(0x94),_0x3b2d05),this[_0x3dd9b4(0xa2)](_0x3dd9b4(0xa1),_0x3f175b?new Date(_0x3f175b):null),this[_0x3dd9b4(0xa2)](_0x3dd9b4(0x97),_0x1a5c53||!0x1);}[_0x337608(0x9e)](_0x4aab54){var _0x10e47b=_0x337608;this[_0x10e47b(0xa2)](_0x10e47b(0x94),_0x3adc90(_0x4aab54)),this[_0x10e47b(0xa1)]=new Date();}[_0x337608(0x96)](_0x27c67b){var _0x54474d=_0x337608;this[_0x54474d(0xa2)](_0x54474d(0x97),_0x27c67b),this[_0x54474d(0xa1)]=new Date();}}function _0x5a8a(_0x3151af,_0xeb80c5){var _0x5c3ed3=_0x5c3e();return _0x5a8a=function(_0x5a8a02,_0x3a13b2){_0x5a8a02=_0x5a8a02-0x94;var _0x356296=_0x5c3ed3[_0x5a8a02];return _0x356296;},_0x5a8a(_0x3151af,_0xeb80c5);}function _0x5c3e(){var _0x3a4d9b=['170217ZIpUjt','239087wCHwEX','320610MyXfSN','2QHvUZB','6gdRCPi','594720qONTJF','updateTitle','470992NJZQPK','11rOuerj','updatedAt','set','727875NtWNID','createdAt','8FXDQSd','title','1197203YAmycw','updatePinned','pinned'];_0x5c3e=function(){return _0x3a4d9b;};return _0x5c3e();}
23
+ var _0x534e25=_0x4209;(function(_0x43e582,_0x5c3454){var _0xbc4825=_0x4209,_0x41331b=_0x43e582();while(!![]){try{var _0x4f6ee6=parseInt(_0xbc4825(0xaf))/0x1*(parseInt(_0xbc4825(0xb4))/0x2)+parseInt(_0xbc4825(0xb1))/0x3*(parseInt(_0xbc4825(0xb7))/0x4)+-parseInt(_0xbc4825(0xb8))/0x5+-parseInt(_0xbc4825(0xb6))/0x6*(parseInt(_0xbc4825(0xaa))/0x7)+parseInt(_0xbc4825(0xae))/0x8+-parseInt(_0xbc4825(0xa9))/0x9+parseInt(_0xbc4825(0xac))/0xa;if(_0x4f6ee6===_0x5c3454)break;else _0x41331b['push'](_0x41331b['shift']());}catch(_0x5d9bbb){_0x41331b['push'](_0x41331b['shift']());}}}(_0x733b,0xdb469));import{ObservableMixin as _0x1d4873}from'ckeditor5/src/utils.js';function _0x4209(_0x114e6,_0x3cab00){var _0x733bc6=_0x733b();return _0x4209=function(_0x4209ed,_0x140c18){_0x4209ed=_0x4209ed-0xa9;var _0x1960fd=_0x733bc6[_0x4209ed];return _0x1960fd;},_0x4209(_0x114e6,_0x3cab00);}function _0x733b(){var _0x9165fe=['8fbIlur','3437845MXnHAy','updatedAt','2743173oXlcDA','21qLrPuZ','createdAt','14713930rURBgZ','title','8081864HmwZwY','74rtroal','updateTitle','131853iAQlNN','set','pinned','16196pYBrlw','updatePinned','2556522nVwQoI'];_0x733b=function(){return _0x9165fe;};return _0x733b();}import{escape as _0x4d1edd}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x1d4873(){['id'];[_0x534e25(0xab)];constructor({id:_0x1c2f3f,title:_0x25f88c,createdAt:_0xc53c58,updatedAt:_0x264e43,pinned:_0x318fb3}){var _0x3b4bc1=_0x534e25;super(),this['id']=_0x1c2f3f,this[_0x3b4bc1(0xab)]=new Date(_0xc53c58),this[_0x3b4bc1(0xb2)](_0x3b4bc1(0xad),_0x25f88c),this[_0x3b4bc1(0xb2)](_0x3b4bc1(0xb9),_0x264e43?new Date(_0x264e43):null),this[_0x3b4bc1(0xb2)](_0x3b4bc1(0xb3),_0x318fb3||!0x1);}[_0x534e25(0xb0)](_0x4591bf){var _0x1170fb=_0x534e25;this[_0x1170fb(0xb2)](_0x1170fb(0xad),_0x4d1edd(_0x4591bf)),this[_0x1170fb(0xb9)]=new Date();}[_0x534e25(0xb5)](_0x1673db){var _0x51a36c=_0x534e25;this[_0x51a36c(0xb2)](_0x51a36c(0xb3),_0x1673db),this[_0x51a36c(0xb9)]=new Date();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x40ce(_0x3aef7f,_0x2408a4){const _0x205a35=_0x205a();return _0x40ce=function(_0x40ce7a,_0x241c59){_0x40ce7a=_0x40ce7a-0x1a9;let _0x252a9d=_0x205a35[_0x40ce7a];return _0x252a9d;},_0x40ce(_0x3aef7f,_0x2408a4);}const _0x1aa884=_0x40ce;(function(_0x44353a,_0x24a0f3){const _0x439368=_0x40ce,_0x2610d3=_0x44353a();while(!![]){try{const _0x27aebd=parseInt(_0x439368(0x1b7))/0x1*(parseInt(_0x439368(0x1cf))/0x2)+parseInt(_0x439368(0x1fa))/0x3+-parseInt(_0x439368(0x1e4))/0x4*(-parseInt(_0x439368(0x1dc))/0x5)+-parseInt(_0x439368(0x200))/0x6+parseInt(_0x439368(0x1ec))/0x7+-parseInt(_0x439368(0x1ca))/0x8*(-parseInt(_0x439368(0x204))/0x9)+parseInt(_0x439368(0x1e5))/0xa*(-parseInt(_0x439368(0x1f8))/0xb);if(_0x27aebd===_0x24a0f3)break;else _0x2610d3['push'](_0x2610d3['shift']());}catch(_0x5486b5){_0x2610d3['push'](_0x2610d3['shift']());}}}(_0x205a,0x51f9f));import{ListItemView as _0x24c960,HighlightedTextView as _0x50ec94,ButtonView as _0x33fd9f,ListView as _0x390921,IconView as _0x5433a7,createDropdown as _0x4cfbe7,InputTextView as _0xb0c0f2}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x48dbc8,IconPin as _0x350140,IconCheck as _0x17814b,IconCancel as _0x44a0de}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x2754f0,ConfirmMixin as _0x197093}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x52731b}from'es-toolkit/compat';import{AISpinnerView as _0x3a3a7d}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x404df8}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends _0x197093(_0x24c960){['id'];static [_0x1aa884(0x1b6)]={'remove':_0x1aa884(0x1d2),'rename':_0x1aa884(0x1de),'pin':_0x1aa884(0x1be),'unpin':_0x1aa884(0x1fb)};[_0x1aa884(0x1ff)];[_0x1aa884(0x1a9)];[_0x1aa884(0x1d0)];constructor(_0x11bda4,_0x38faa5){const _0x26c7ea=_0x1aa884;super(_0x11bda4);const _0x571163=this[_0x26c7ea(0x206)];this[_0x26c7ea(0x1c5)](_0x26c7ea(0x1f6),!0x1),this[_0x26c7ea(0x1c5)](_0x26c7ea(0x1ab),!0x0),this[_0x26c7ea(0x1c5)](_0x26c7ea(0x1d7),!!_0x38faa5[_0x26c7ea(0x1d7)]),this[_0x26c7ea(0x1c5)](_0x26c7ea(0x1c0),null),this['id']=_0x38faa5['id'];const {title:_0x1f4d22,createdAt:_0x3b61ed,active:_0x37fd08=!0x1}=_0x38faa5;this[_0x26c7ea(0x1d0)]=new _0x50ec94(),this[_0x26c7ea(0x1d0)][_0x26c7ea(0x1c2)]=_0x1f4d22,this[_0x26c7ea(0x1d0)][_0x26c7ea(0x1c1)]({'attributes':{'class':[_0x26c7ea(0x1d8)]}});const _0x5463b0=this[_0x26c7ea(0x1fd)](),_0x51c2c0=this[_0x26c7ea(0x1f4)](_0x11bda4),_0x1bed2a=this[_0x26c7ea(0x208)](),_0x5d0c4b=this[_0x26c7ea(0x1aa)](_0x11bda4,_0x1f4d22),_0x3c7c08=this[_0x26c7ea(0x1e7)](_0x11bda4,_0x5d0c4b),_0x57f840=this[_0x26c7ea(0x1b9)](_0x11bda4,_0x5d0c4b);this[_0x26c7ea(0x1ff)]=this[_0x26c7ea(0x1bd)](),this[_0x26c7ea(0x1a9)]=this[_0x26c7ea(0x1bd)](),this[_0x26c7ea(0x1a9)][_0x26c7ea(0x207)](this[_0x26c7ea(0x1d0)]),this[_0x26c7ea(0x1ff)][_0x26c7ea(0x207)](_0x51c2c0),this[_0x26c7ea(0x1ff)][_0x26c7ea(0x207)](_0x1bed2a),this['on'](_0x26c7ea(0x1b3),(_0x5b0993,_0x59e67f,_0x373f5d)=>{const _0x84c227=_0x26c7ea;this[_0x84c227(0x1ff)][_0x84c227(0x1cb)](),this[_0x84c227(0x1a9)][_0x84c227(0x1cb)](),_0x373f5d?(this[_0x84c227(0x1ff)][_0x84c227(0x207)](_0x3c7c08),this[_0x84c227(0x1ff)][_0x84c227(0x207)](_0x57f840),this[_0x84c227(0x1a9)][_0x84c227(0x207)](_0x5d0c4b),_0x5d0c4b[_0x84c227(0x1e3)][_0x84c227(0x1f3)]()):(this[_0x84c227(0x1ff)][_0x84c227(0x207)](_0x51c2c0),this[_0x84c227(0x1ff)][_0x84c227(0x207)](_0x1bed2a),this[_0x84c227(0x1a9)][_0x84c227(0x207)](this[_0x84c227(0x1d0)]));}),this[_0x26c7ea(0x1dd)]({'tag':'li','attributes':{'class':[_0x26c7ea(0x1f7),_0x37fd08?_0x26c7ea(0x202):'',_0x571163['if'](_0x26c7ea(0x1ab),_0x26c7ea(0x1ad),_0x559ca9=>!_0x559ca9),_0x571163['if'](_0x26c7ea(0x1f6),_0x26c7ea(0x1d9))],'role':_0x26c7ea(0x1df)},'children':[{'tag':_0x26c7ea(0x1f5),'attributes':{'class':[_0x26c7ea(0x1b1)]},'children':[{'tag':_0x26c7ea(0x1c6),'attributes':{'class':[_0x26c7ea(0x1ed),_0x571163['if'](_0x26c7ea(0x1c0),_0x26c7ea(0x1ad),_0x57c75a=>!!_0x57c75a)]},'children':_0x37fd08?[_0x5463b0]:[]},{'tag':_0x26c7ea(0x1c6),'attributes':{'class':[_0x26c7ea(0x1fe),_0x571163['if'](_0x26c7ea(0x1c0),_0x26c7ea(0x1ad),_0x3bc532=>!_0x3bc532)]},'children':[this[_0x26c7ea(0x1ee)]()]}]},{'tag':_0x26c7ea(0x1c6),'attributes':{'class':[_0x26c7ea(0x1bc)]},'children':[{'tag':_0x26c7ea(0x1c6),'attributes':{'class':[_0x26c7ea(0x1d6)]},'on':{'click':this[_0x26c7ea(0x206)]['to'](_0x26c7ea(0x1ac))},'children':[{'tag':_0x26c7ea(0x1c6),'attributes':{'class':[_0x26c7ea(0x1db)]},'children':[{'tag':_0x26c7ea(0x1c6),'attributes':{'class':[_0x26c7ea(0x1d8),_0x571163['if'](_0x26c7ea(0x1c0),_0x26c7ea(0x1ad),_0x192bce=>!!_0x192bce)]},'children':this[_0x26c7ea(0x1a9)]},{'tag':_0x26c7ea(0x1c6),'attributes':{'class':[_0x26c7ea(0x1eb),_0x571163['if'](_0x26c7ea(0x1c0),_0x26c7ea(0x1ad),_0xe40de4=>!_0xe40de4)]},'children':[{'text':_0x571163['to'](_0x26c7ea(0x1c0),_0x46de6a=>_0x46de6a?_0x404df8(this[_0x26c7ea(0x1f0)],AIChatHistoryListItemView[_0x26c7ea(0x1b6)][_0x46de6a]):'')}]}]},{'tag':_0x26c7ea(0x1f5),'attributes':{'class':[_0x26c7ea(0x1f9)]},'children':[_0x3b61ed]}]},{'tag':_0x26c7ea(0x1c6),'attributes':{'class':[_0x26c7ea(0x1d5)]},'children':this[_0x26c7ea(0x1ff)]}]}]}),this['on'](_0x26c7ea(0x1ac),()=>{const _0x2943bd=_0x26c7ea;this[_0x2943bd(0x1f6)]||this[_0x2943bd(0x205)](_0x2943bd(0x1e8),{'id':this['id']});});}[_0x1aa884(0x20a)](_0x4bb7aa){const _0x5cba8e=_0x1aa884;this[_0x5cba8e(0x1d0)][_0x5cba8e(0x1c2)]=_0x52731b(_0x4bb7aa);}[_0x1aa884(0x1c7)](_0x2df4e8,_0xf61899){const _0x47abc3=_0x1aa884;this[_0x47abc3(0x1c5)](_0x47abc3(0x1c0),_0xf61899?_0x2df4e8:null);}[_0x1aa884(0x1fd)](){const _0x1418b4=_0x1aa884,_0x9f816c=new _0x5433a7();return _0x9f816c[_0x1418b4(0x1c5)]({'content':_0x17814b}),_0x9f816c;}[_0x1aa884(0x1f4)](_0x2cd519){const _0x170a9a=_0x1aa884,_0x436e7e=new _0x33fd9f(_0x2cd519);return _0x436e7e[_0x170a9a(0x1c5)]({'label':_0x404df8(_0x2cd519,_0x170a9a(0x1b8)),'icon':_0x350140,'withText':!0x1,'tooltip':!0x0}),_0x436e7e[_0x170a9a(0x1cd)](_0x170a9a(0x1d3))['to'](this,_0x170a9a(0x1d7)),_0x436e7e['on'](_0x170a9a(0x1b2),()=>{const _0xf27f24=_0x170a9a,_0x22565f=!this[_0xf27f24(0x1d7)];this[_0xf27f24(0x205)](_0xf27f24(0x1da),{'id':this['id'],'pinned':_0x22565f});}),_0x436e7e;}[_0x1aa884(0x208)](){const _0x1cd5e9=_0x1aa884,_0x514b90=_0x4cfbe7(this[_0x1cd5e9(0x1f0)],_0x2754f0),_0xcee5cd=_0x514b90[_0x1cd5e9(0x1bb)][_0x1cd5e9(0x1ba)];_0x514b90[_0x1cd5e9(0x1b5)][_0x1cd5e9(0x1c5)]({'label':_0x404df8(this[_0x1cd5e9(0x1f0)],_0x1cd5e9(0x1e1)),'icon':_0x48dbc8}),_0x514b90[_0x1cd5e9(0x1bf)]='sw';const _0x1bce7b=new _0x33fd9f(this[_0x1cd5e9(0x1f0)]);_0x1bce7b[_0x1cd5e9(0x1c9)]=_0x404df8(this[_0x1cd5e9(0x1f0)],_0x1cd5e9(0x1e0)),_0x1bce7b[_0x1cd5e9(0x20b)]=!0x0,_0x1bce7b['on'](_0x1cd5e9(0x1b2),()=>{const _0x57cee2=_0x1cd5e9;this[_0x57cee2(0x1f6)]=!0x0;});const _0x156d3d=new _0x33fd9f(this[_0x1cd5e9(0x1f0)]);_0x156d3d[_0x1cd5e9(0x1c9)]=_0x404df8(this[_0x1cd5e9(0x1f0)],_0x1cd5e9(0x1c3)),_0x156d3d[_0x1cd5e9(0x20b)]=!0x0,_0x156d3d['on'](_0x1cd5e9(0x1b2),()=>{const _0x20239b=_0x1cd5e9;this[_0x20239b(0x1d4)](_0x404df8(this[_0x20239b(0x1f0)],_0x20239b(0x1b0)),this[_0x20239b(0x1e3)])[_0x20239b(0x1e2)](()=>{const _0x356269=_0x20239b;this[_0x356269(0x205)](_0x356269(0x1ce),{'id':this['id']});});});const _0xc87a74=new _0x390921(this[_0x1cd5e9(0x1f0)]),_0x5cd91c=new _0x24c960(this[_0x1cd5e9(0x1f0)]);_0x5cd91c[_0x1cd5e9(0x1ba)][_0x1cd5e9(0x207)](_0x1bce7b);const _0x255076=new _0x24c960(this[_0x1cd5e9(0x1f0)]);return _0x255076[_0x1cd5e9(0x1ba)][_0x1cd5e9(0x207)](_0x156d3d),_0xc87a74[_0x1cd5e9(0x1ea)][_0x1cd5e9(0x1f1)]([_0x5cd91c,_0x255076]),_0xcee5cd[_0x1cd5e9(0x207)](_0xc87a74),_0x514b90;}[_0x1aa884(0x1aa)](_0x2dc809,_0x4166cd){const _0x43cc5d=_0x1aa884,_0x5741ac=new _0xb0c0f2(_0x2dc809),_0xe6d5e7=_0x5741ac[_0x43cc5d(0x206)];return _0x5741ac[_0x43cc5d(0x201)]=_0x4166cd,_0x5741ac[_0x43cc5d(0x1c1)]({'on':{'keydown':_0xe6d5e7['to'](_0x32be4a=>{const _0x41f727=_0x43cc5d;_0x41f727(0x1c8)==_0x32be4a[_0x41f727(0x1d1)]&&this[_0x41f727(0x1af)](_0x5741ac);})}}),_0x5741ac;}[_0x1aa884(0x1e7)](_0x4a37d8,_0x5f40a0){const _0x5dc659=_0x1aa884,_0x42a933=new _0x33fd9f(_0x4a37d8);return _0x42a933[_0x5dc659(0x1c5)]({'icon':_0x17814b,'withText':!0x1,'tooltip':_0x404df8(_0x4a37d8,_0x5dc659(0x1c4))}),_0x42a933[_0x5dc659(0x1c1)]({'attributes':{'class':[_0x5dc659(0x1f2)]}}),_0x42a933['on'](_0x5dc659(0x1b2),()=>{const _0x52ba00=_0x5dc659;this[_0x52ba00(0x1af)](_0x5f40a0);}),_0x42a933;}[_0x1aa884(0x1af)](_0xc291fd){const _0x2f44ca=_0x1aa884,_0x25ba40=_0xc291fd[_0x2f44ca(0x1e3)][_0x2f44ca(0x201)]||'';this[_0x2f44ca(0x1d0)][_0x2f44ca(0x1c2)]=_0x25ba40,this[_0x2f44ca(0x1f6)]=!0x1,this[_0x2f44ca(0x205)](_0x2f44ca(0x1e9),{'id':this['id'],'title':_0x25ba40});}[_0x1aa884(0x1b9)](_0x483454,_0x39110b){const _0x3825d4=_0x1aa884,_0xd71df2=new _0x33fd9f(_0x483454);return _0xd71df2[_0x3825d4(0x1c5)]({'icon':_0x44a0de,'withText':!0x1,'tooltip':_0x404df8(_0x483454,_0x3825d4(0x1fc))}),_0xd71df2[_0x3825d4(0x1c1)]({'attributes':{'class':[_0x3825d4(0x1cc)]}}),_0xd71df2['on'](_0x3825d4(0x1b2),()=>{const _0x576d53=_0x3825d4;this[_0x576d53(0x1f6)]=!0x1,_0x39110b[_0x576d53(0x201)]=this[_0x576d53(0x1d0)][_0x576d53(0x1c2)]||'',this[_0x576d53(0x205)](_0x576d53(0x1ae));}),_0xd71df2;}[_0x1aa884(0x1ee)](){const _0x53a979=_0x1aa884,_0x308e05=new _0x3a3a7d(_0x53a979(0x1b4));return _0x308e05[_0x53a979(0x1ab)]=!0x0,_0x308e05;}[_0x1aa884(0x1e6)](_0x443e94){const _0x522fee=_0x1aa884;return this[_0x522fee(0x1d0)]&&_0x522fee(0x1ef)==typeof this[_0x522fee(0x1d0)][_0x522fee(0x1c2)]&&this[_0x522fee(0x1d0)][_0x522fee(0x1c2)][_0x522fee(0x209)](_0x443e94)?{'title':!0x0}:null;}[_0x1aa884(0x203)](_0x12e40e){const _0x2ab86c=_0x1aa884;this[_0x2ab86c(0x1d0)][_0x2ab86c(0x203)](_0x12e40e);}}function _0x205a(){const _0x5ae45a=['ck-ai-chat-history__item-actions','ck-ai-chat-history__item-content','pinned','ck-ai-chat-history__item-title','ck-ai-chat-history__item--edit','setConversationPinned','ck-ai-chat-history__item-main-content','1987985GLSmwz','setTemplate','AI_CHAT_HISTORY_LOADING_RENAMING','listitem','AI_CHAT_HISTORY_EDIT_NAME','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','then','element','4WZzlhA','13882980obVBml','isMatching','_createAcceptEditButtonView','selectConversation','editConversationTitle','items','ck-ai-loader__text','1313802lqILSR','ck-ai-chat-history__item-check','_createSpinnerView','string','locale','addMany','ck-confirm-view-submit','focus','_createPinButtonView','span','isEdit','ck-ai-chat-history__item','11lxXKMu','ck-ai-chat-history__item-date','1966911yxnwsk','AI_CHAT_HISTORY_LOADING_UNPINNING','AI_CHAT_HISTORY_CANCEL','_createCheckView','ck-ai-loader','actions','1530648lBmVMc','value','ck-ai-chat-history__item--active','highlightText','18rdBmht','fire','bindTemplate','add','_createMenuDropdownView','match','updateTitle','withText','mainContent','_createEditInputView','isVisible','click','ck-hidden','edit:cancel','_commitEditInputValue','AI_CHAT_HISTORY_REMOVE_CONFIRM','ck-ai-chat-history__item-check-container','execute','change:isEdit','tiny','buttonView','LOADING_LABELS','121ilugfb','AI_CHAT_HISTORY_PIN_BUTTON','_createCancelEditButtonView','children','panelView','ck-ai-chat-history__item-row','createCollection','AI_CHAT_HISTORY_LOADING_PINNING','panelPosition','loadingState','extendTemplate','text','AI_CHAT_HISTORY_REMOVE','AI_CHAT_HISTORY_ACCEPT','set','div','updateLoadingState','Enter','label','1695128qclqaV','clear','ck-confirm-view-cancel','bind','removeConversation','5198DyEjkR','_titleView','key','AI_CHAT_HISTORY_LOADING_REMOVING','isOn','showConfirm'];_0x205a=function(){return _0x5ae45a;};return _0x205a();}
23
+ const _0x28f5f3=_0x438d;(function(_0x1bc365,_0x4a4fce){const _0x5398a9=_0x438d,_0x390d56=_0x1bc365();while(!![]){try{const _0x2e6ba3=parseInt(_0x5398a9(0x132))/0x1+-parseInt(_0x5398a9(0x139))/0x2*(-parseInt(_0x5398a9(0x106))/0x3)+parseInt(_0x5398a9(0x11f))/0x4*(parseInt(_0x5398a9(0xf7))/0x5)+parseInt(_0x5398a9(0xfd))/0x6*(parseInt(_0x5398a9(0x136))/0x7)+parseInt(_0x5398a9(0x134))/0x8*(-parseInt(_0x5398a9(0x12c))/0x9)+-parseInt(_0x5398a9(0xe5))/0xa+parseInt(_0x5398a9(0xf8))/0xb*(-parseInt(_0x5398a9(0xff))/0xc);if(_0x2e6ba3===_0x4a4fce)break;else _0x390d56['push'](_0x390d56['shift']());}catch(_0x3ad9a7){_0x390d56['push'](_0x390d56['shift']());}}}(_0x5370,0xd4fc9));import{ListItemView as _0x4d680d,HighlightedTextView as _0x1d8b39,ButtonView as _0x39accb,ListView as _0x59f30d,IconView as _0x242918,createDropdown as _0x1c3571,InputTextView as _0x165543}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x4465ff,IconPin as _0x1e5508,IconCheck as _0x1c1c9a,IconCancel as _0x306445}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x1f83b3,ConfirmMixin as _0x3c8914}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x165488}from'es-toolkit/compat';function _0x5370(){const _0x495a98=['isEdit','editConversationTitle','AI_CHAT_HISTORY_LOADING_PINNING','_createMenuDropdownView','ck-ai-chat-history__item-actions','element','setTemplate','_createCheckView','LOADING_LABELS','addMany','ck-hidden','updateTitle','ck-ai-chat-history__item--edit','15256SxZxJF','isVisible','Enter','loadingState','_commitEditInputValue','tiny','_createSpinnerView','set','mainContent','bind','ck-ai-loader','extendTemplate','ck-ai-chat-history__item-content','297MsUazT','buttonView','panelView','selectConversation','ck-ai-loader__text','AI_CHAT_HISTORY_LOADING_UNPINNING','901858LvSqoG','fire','4752DsjCZh','bindTemplate','1973377XKhfdF','locale','change:isEdit','1166abMMYx','AI_CHAT_HISTORY_REMOVE_CONFIRM','createCollection','AI_CHAT_HISTORY_REMOVE','_createEditInputView','isMatching','focus','click','children','_titleView','AI_CHAT_HISTORY_LOADING_REMOVING','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','add','value','ck-ai-chat-history__item--active','match','10893090cxhnKF','panelPosition','AI_CHAT_HISTORY_ACCEPT','withText','ck-ai-chat-history__item-check','removeConversation','key','ck-ai-chat-history__item-date','AI_CHAT_HISTORY_PIN_BUTTON','ck-ai-chat-history__item-title','ck-confirm-view-cancel','AI_CHAT_HISTORY_CANCEL','edit:cancel','string','span','then','div','updateLoadingState','1585cPHuzc','165uyrPwO','AI_CHAT_HISTORY_LOADING_RENAMING','showConfirm','AI_CHAT_HISTORY_EDIT_NAME','pinned','30LgdKEe','ck-ai-chat-history__item-check-container','2472408gMrwqL','label','ck-ai-chat-history__item-row','text','items','_createCancelEditButtonView','listitem','7983pDqtyt','actions','setConversationPinned','_createPinButtonView','isOn','execute','_createAcceptEditButtonView','ck-ai-chat-history__item','clear','ck-ai-chat-history__item-main-content','ck-confirm-view-submit','highlightText'];_0x5370=function(){return _0x495a98;};return _0x5370();}function _0x438d(_0xe75de7,_0x560b37){const _0x5370bf=_0x5370();return _0x438d=function(_0x438d0f,_0x5ee648){_0x438d0f=_0x438d0f-0xd9;let _0x37b665=_0x5370bf[_0x438d0f];return _0x37b665;},_0x438d(_0xe75de7,_0x560b37);}import{AISpinnerView as _0x20027e}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x44d73d}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends _0x3c8914(_0x4d680d){['id'];static [_0x28f5f3(0x11a)]={'remove':_0x28f5f3(0xdf),'rename':_0x28f5f3(0xf9),'pin':_0x28f5f3(0x114),'unpin':_0x28f5f3(0x131)};[_0x28f5f3(0x107)];[_0x28f5f3(0x127)];[_0x28f5f3(0xde)];constructor(_0x4384ce,_0x4c54c4){const _0x415b7c=_0x28f5f3;super(_0x4384ce);const _0x3968c0=this[_0x415b7c(0x135)];this[_0x415b7c(0x126)](_0x415b7c(0x112),!0x1),this[_0x415b7c(0x126)](_0x415b7c(0x120),!0x0),this[_0x415b7c(0x126)](_0x415b7c(0xfc),!!_0x4c54c4[_0x415b7c(0xfc)]),this[_0x415b7c(0x126)](_0x415b7c(0x122),null),this['id']=_0x4c54c4['id'];const {title:_0x506cc2,createdAt:_0x8b824c,active:_0x2af3da=!0x1}=_0x4c54c4;this[_0x415b7c(0xde)]=new _0x1d8b39(),this[_0x415b7c(0xde)][_0x415b7c(0x102)]=_0x506cc2,this[_0x415b7c(0xde)][_0x415b7c(0x12a)]({'attributes':{'class':[_0x415b7c(0xee)]}});const _0x80f903=this[_0x415b7c(0x119)](),_0x4c7a9c=this[_0x415b7c(0x109)](_0x4384ce),_0x150e1d=this[_0x415b7c(0x115)](),_0x1fe37a=this[_0x415b7c(0xd9)](_0x4384ce,_0x506cc2),_0x60b043=this[_0x415b7c(0x10c)](_0x4384ce,_0x1fe37a),_0x16abf5=this[_0x415b7c(0x104)](_0x4384ce,_0x1fe37a);this[_0x415b7c(0x107)]=this[_0x415b7c(0x13b)](),this[_0x415b7c(0x127)]=this[_0x415b7c(0x13b)](),this[_0x415b7c(0x127)][_0x415b7c(0xe1)](this[_0x415b7c(0xde)]),this[_0x415b7c(0x107)][_0x415b7c(0xe1)](_0x4c7a9c),this[_0x415b7c(0x107)][_0x415b7c(0xe1)](_0x150e1d),this['on'](_0x415b7c(0x138),(_0x7c8e5e,_0x1efb70,_0x3a8ece)=>{const _0x5e39e0=_0x415b7c;this[_0x5e39e0(0x107)][_0x5e39e0(0x10e)](),this[_0x5e39e0(0x127)][_0x5e39e0(0x10e)](),_0x3a8ece?(this[_0x5e39e0(0x107)][_0x5e39e0(0xe1)](_0x60b043),this[_0x5e39e0(0x107)][_0x5e39e0(0xe1)](_0x16abf5),this[_0x5e39e0(0x127)][_0x5e39e0(0xe1)](_0x1fe37a),_0x1fe37a[_0x5e39e0(0x117)][_0x5e39e0(0xdb)]()):(this[_0x5e39e0(0x107)][_0x5e39e0(0xe1)](_0x4c7a9c),this[_0x5e39e0(0x107)][_0x5e39e0(0xe1)](_0x150e1d),this[_0x5e39e0(0x127)][_0x5e39e0(0xe1)](this[_0x5e39e0(0xde)]));}),this[_0x415b7c(0x118)]({'tag':'li','attributes':{'class':[_0x415b7c(0x10d),_0x2af3da?_0x415b7c(0xe3):'',_0x3968c0['if'](_0x415b7c(0x120),_0x415b7c(0x11c),_0x152fa2=>!_0x152fa2),_0x3968c0['if'](_0x415b7c(0x112),_0x415b7c(0x11e))],'role':_0x415b7c(0x105)},'children':[{'tag':_0x415b7c(0xf3),'attributes':{'class':[_0x415b7c(0xfe)]},'children':[{'tag':_0x415b7c(0xf5),'attributes':{'class':[_0x415b7c(0xe9),_0x3968c0['if'](_0x415b7c(0x122),_0x415b7c(0x11c),_0x5160d2=>!!_0x5160d2)]},'children':_0x2af3da?[_0x80f903]:[]},{'tag':_0x415b7c(0xf5),'attributes':{'class':[_0x415b7c(0x129),_0x3968c0['if'](_0x415b7c(0x122),_0x415b7c(0x11c),_0x253db5=>!_0x253db5)]},'children':[this[_0x415b7c(0x125)]()]}]},{'tag':_0x415b7c(0xf5),'attributes':{'class':[_0x415b7c(0x101)]},'children':[{'tag':_0x415b7c(0xf5),'attributes':{'class':[_0x415b7c(0x12b)]},'on':{'click':this[_0x415b7c(0x135)]['to'](_0x415b7c(0xdc))},'children':[{'tag':_0x415b7c(0xf5),'attributes':{'class':[_0x415b7c(0x10f)]},'children':[{'tag':_0x415b7c(0xf5),'attributes':{'class':[_0x415b7c(0xee),_0x3968c0['if'](_0x415b7c(0x122),_0x415b7c(0x11c),_0x1747ed=>!!_0x1747ed)]},'children':this[_0x415b7c(0x127)]},{'tag':_0x415b7c(0xf5),'attributes':{'class':[_0x415b7c(0x130),_0x3968c0['if'](_0x415b7c(0x122),_0x415b7c(0x11c),_0x261dfe=>!_0x261dfe)]},'children':[{'text':_0x3968c0['to'](_0x415b7c(0x122),_0x3b7a76=>_0x3b7a76?_0x44d73d(this[_0x415b7c(0x137)],AIChatHistoryListItemView[_0x415b7c(0x11a)][_0x3b7a76]):'')}]}]},{'tag':_0x415b7c(0xf3),'attributes':{'class':[_0x415b7c(0xec)]},'children':[_0x8b824c]}]},{'tag':_0x415b7c(0xf5),'attributes':{'class':[_0x415b7c(0x116)]},'children':this[_0x415b7c(0x107)]}]}]}),this['on'](_0x415b7c(0xdc),()=>{const _0x4c8a3e=_0x415b7c;this[_0x4c8a3e(0x112)]||this[_0x4c8a3e(0x133)](_0x4c8a3e(0x12f),{'id':this['id']});});}[_0x28f5f3(0x11d)](_0x1aa6d3){const _0xaf7175=_0x28f5f3;this[_0xaf7175(0xde)][_0xaf7175(0x102)]=_0x165488(_0x1aa6d3);}[_0x28f5f3(0xf6)](_0x45bd7e,_0x1203c2){const _0x106543=_0x28f5f3;this[_0x106543(0x126)](_0x106543(0x122),_0x1203c2?_0x45bd7e:null);}[_0x28f5f3(0x119)](){const _0x494943=_0x28f5f3,_0x4eac30=new _0x242918();return _0x4eac30[_0x494943(0x126)]({'content':_0x1c1c9a}),_0x4eac30;}[_0x28f5f3(0x109)](_0x1d0275){const _0xb834a2=_0x28f5f3,_0x41d211=new _0x39accb(_0x1d0275);return _0x41d211[_0xb834a2(0x126)]({'label':_0x44d73d(_0x1d0275,_0xb834a2(0xed)),'icon':_0x1e5508,'withText':!0x1,'tooltip':!0x0}),_0x41d211[_0xb834a2(0x128)](_0xb834a2(0x10a))['to'](this,_0xb834a2(0xfc)),_0x41d211['on'](_0xb834a2(0x10b),()=>{const _0x31e964=_0xb834a2,_0x215ac5=!this[_0x31e964(0xfc)];this[_0x31e964(0x133)](_0x31e964(0x108),{'id':this['id'],'pinned':_0x215ac5});}),_0x41d211;}[_0x28f5f3(0x115)](){const _0x5ea715=_0x28f5f3,_0x20ab2d=_0x1c3571(this[_0x5ea715(0x137)],_0x1f83b3),_0x5d01b6=_0x20ab2d[_0x5ea715(0x12e)][_0x5ea715(0xdd)];_0x20ab2d[_0x5ea715(0x12d)][_0x5ea715(0x126)]({'label':_0x44d73d(this[_0x5ea715(0x137)],_0x5ea715(0xe0)),'icon':_0x4465ff}),_0x20ab2d[_0x5ea715(0xe6)]='sw';const _0xeff85c=new _0x39accb(this[_0x5ea715(0x137)]);_0xeff85c[_0x5ea715(0x100)]=_0x44d73d(this[_0x5ea715(0x137)],_0x5ea715(0xfb)),_0xeff85c[_0x5ea715(0xe8)]=!0x0,_0xeff85c['on'](_0x5ea715(0x10b),()=>{const _0x502e73=_0x5ea715;this[_0x502e73(0x112)]=!0x0;});const _0x17c941=new _0x39accb(this[_0x5ea715(0x137)]);_0x17c941[_0x5ea715(0x100)]=_0x44d73d(this[_0x5ea715(0x137)],_0x5ea715(0x13c)),_0x17c941[_0x5ea715(0xe8)]=!0x0,_0x17c941['on'](_0x5ea715(0x10b),()=>{const _0x4c7cea=_0x5ea715;this[_0x4c7cea(0xfa)](_0x44d73d(this[_0x4c7cea(0x137)],_0x4c7cea(0x13a)),this[_0x4c7cea(0x117)])[_0x4c7cea(0xf4)](()=>{const _0x492d03=_0x4c7cea;this[_0x492d03(0x133)](_0x492d03(0xea),{'id':this['id']});});});const _0x32ef86=new _0x59f30d(this[_0x5ea715(0x137)]),_0x49aaae=new _0x4d680d(this[_0x5ea715(0x137)]);_0x49aaae[_0x5ea715(0xdd)][_0x5ea715(0xe1)](_0xeff85c);const _0x1f843f=new _0x4d680d(this[_0x5ea715(0x137)]);return _0x1f843f[_0x5ea715(0xdd)][_0x5ea715(0xe1)](_0x17c941),_0x32ef86[_0x5ea715(0x103)][_0x5ea715(0x11b)]([_0x49aaae,_0x1f843f]),_0x5d01b6[_0x5ea715(0xe1)](_0x32ef86),_0x20ab2d;}[_0x28f5f3(0xd9)](_0x3c9c10,_0x1696a0){const _0x17b997=_0x28f5f3,_0x12985a=new _0x165543(_0x3c9c10),_0x33816b=_0x12985a[_0x17b997(0x135)];return _0x12985a[_0x17b997(0xe2)]=_0x1696a0,_0x12985a[_0x17b997(0x12a)]({'on':{'keydown':_0x33816b['to'](_0xce77d9=>{const _0x2f975f=_0x17b997;_0x2f975f(0x121)==_0xce77d9[_0x2f975f(0xeb)]&&this[_0x2f975f(0x123)](_0x12985a);})}}),_0x12985a;}[_0x28f5f3(0x10c)](_0x4994b4,_0x3ff4af){const _0x311d10=_0x28f5f3,_0x5b29d7=new _0x39accb(_0x4994b4);return _0x5b29d7[_0x311d10(0x126)]({'icon':_0x1c1c9a,'withText':!0x1,'tooltip':_0x44d73d(_0x4994b4,_0x311d10(0xe7))}),_0x5b29d7[_0x311d10(0x12a)]({'attributes':{'class':[_0x311d10(0x110)]}}),_0x5b29d7['on'](_0x311d10(0x10b),()=>{const _0x5663f7=_0x311d10;this[_0x5663f7(0x123)](_0x3ff4af);}),_0x5b29d7;}[_0x28f5f3(0x123)](_0x1e7018){const _0x4ed6aa=_0x28f5f3,_0x39d3bd=_0x1e7018[_0x4ed6aa(0x117)][_0x4ed6aa(0xe2)]||'';this[_0x4ed6aa(0xde)][_0x4ed6aa(0x102)]=_0x39d3bd,this[_0x4ed6aa(0x112)]=!0x1,this[_0x4ed6aa(0x133)](_0x4ed6aa(0x113),{'id':this['id'],'title':_0x39d3bd});}[_0x28f5f3(0x104)](_0x2ec673,_0x4377a4){const _0x5d17f4=_0x28f5f3,_0x2b9fc1=new _0x39accb(_0x2ec673);return _0x2b9fc1[_0x5d17f4(0x126)]({'icon':_0x306445,'withText':!0x1,'tooltip':_0x44d73d(_0x2ec673,_0x5d17f4(0xf0))}),_0x2b9fc1[_0x5d17f4(0x12a)]({'attributes':{'class':[_0x5d17f4(0xef)]}}),_0x2b9fc1['on'](_0x5d17f4(0x10b),()=>{const _0x1bdeb6=_0x5d17f4;this[_0x1bdeb6(0x112)]=!0x1,_0x4377a4[_0x1bdeb6(0xe2)]=this[_0x1bdeb6(0xde)][_0x1bdeb6(0x102)]||'',this[_0x1bdeb6(0x133)](_0x1bdeb6(0xf1));}),_0x2b9fc1;}[_0x28f5f3(0x125)](){const _0x2972b4=_0x28f5f3,_0x198ed8=new _0x20027e(_0x2972b4(0x124));return _0x198ed8[_0x2972b4(0x120)]=!0x0,_0x198ed8;}[_0x28f5f3(0xda)](_0x4a3808){const _0xdb5db6=_0x28f5f3;return this[_0xdb5db6(0xde)]&&_0xdb5db6(0xf2)==typeof this[_0xdb5db6(0xde)][_0xdb5db6(0x102)]&&this[_0xdb5db6(0xde)][_0xdb5db6(0x102)][_0xdb5db6(0xe4)](_0x4a3808)?{'title':!0x0}:null;}[_0x28f5f3(0x111)](_0x1048d2){const _0x144d4c=_0x28f5f3;this[_0x144d4c(0xde)][_0x144d4c(0x111)](_0x1048d2);}}