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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x2f5d60=_0x46dd;(function(_0x51d919,_0x4d244e){const _0x48f69a=_0x46dd,_0xde0494=_0x51d919();while(!![]){try{const _0x5bddb1=-parseInt(_0x48f69a(0x9d))/0x1+parseInt(_0x48f69a(0xa3))/0x2*(parseInt(_0x48f69a(0x91))/0x3)+-parseInt(_0x48f69a(0x95))/0x4*(parseInt(_0x48f69a(0xa6))/0x5)+parseInt(_0x48f69a(0xad))/0x6+parseInt(_0x48f69a(0x99))/0x7*(-parseInt(_0x48f69a(0xaf))/0x8)+parseInt(_0x48f69a(0xab))/0x9*(parseInt(_0x48f69a(0xa8))/0xa)+parseInt(_0x48f69a(0xa2))/0xb;if(_0x5bddb1===_0x4d244e)break;else _0xde0494['push'](_0xde0494['shift']());}catch(_0x2ec889){_0xde0494['push'](_0xde0494['shift']());}}}(_0x315d,0xba061));import{View as _0xe97038}from'ckeditor5/src/ui.js';function _0x46dd(_0x208054,_0x5d144d){const _0x315dbf=_0x315d();return _0x46dd=function(_0x46dd7a,_0x368a1d){_0x46dd7a=_0x46dd7a-0x8b;let _0x4c4ed1=_0x315dbf[_0x46dd7a];return _0x4c4ed1;},_0x46dd(_0x208054,_0x5d144d);}function _0x315d(){const _0x3ec3eb=['data-id','3693BHDLNd','bindTemplate','ck-hidden','removeAttribute','4585144PRejdc','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-chat__feed__item_done','querySelectorAll','2068535FbyzTg','isVisible','markAsDone','forEach','1151152fcPWCx','htmlStreamer','set','[data-id]','div','31552851mEwuHj','66IupCJj','isDone','cleanUpAnimations','5aNoMxo','options','8413090PLLOtP','ck-ai-chat__feed__text-item','ck-ai-chat__feed__item','9zwgXne','content','2946228JUUybF','createCollection','32xisPvU','stream','streamIntoElement','children','setTemplate','element'];_0x315d=function(){return _0x3ec3eb;};return _0x315d();}import{HTMLStreamer as _0x2a379f}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0xe97038{[_0x2f5d60(0xa7)];[_0x2f5d60(0xac)]='';[_0x2f5d60(0x9e)];[_0x2f5d60(0x8d)];constructor(_0x513e88){const _0x235b5f=_0x2f5d60;super();const _0x4caaba=this[_0x235b5f(0x92)];this[_0x235b5f(0x9f)](_0x235b5f(0xa4),!0x1),this[_0x235b5f(0x9f)](_0x235b5f(0x9a),!0x0),this[_0x235b5f(0x9e)]=new _0x2a379f({'textNodeStyle':_0x235b5f(0x96),'delay':0x14}),this[_0x235b5f(0xa7)]=_0x513e88,this[_0x235b5f(0x8d)]=this[_0x235b5f(0xae)](),this[_0x235b5f(0x8e)]({'tag':_0x235b5f(0xa1),'attributes':{'class':['ck',_0x235b5f(0xaa),_0x4caaba['if'](_0x235b5f(0xa4),_0x235b5f(0x97)),_0x4caaba['if'](_0x235b5f(0x9a),_0x235b5f(0x93),_0x4a839e=>!_0x4a839e),_0x235b5f(0xa9)],'data-cke-ai-id':this[_0x235b5f(0xa7)]['id']},'children':this[_0x235b5f(0x8d)]});}[_0x2f5d60(0x9b)](){const _0x13b195=_0x2f5d60;this[_0x13b195(0x9e)][_0x13b195(0xa5)]({'targetElement':this[_0x13b195(0x8f)]}),this[_0x13b195(0x8f)][_0x13b195(0x98)](_0x13b195(0xa0))[_0x13b195(0x9c)](_0x4ea740=>{const _0x1cc0d2=_0x13b195;_0x4ea740[_0x1cc0d2(0x94)](_0x1cc0d2(0x90));}),this[_0x13b195(0xa4)]=!0x0;}async[_0x2f5d60(0x8c)](_0x4e2a3b,_0x4b05de,_0x2169a0){const _0x5f49ef=_0x2f5d60;await this[_0x5f49ef(0x9e)][_0x5f49ef(0x8b)]({'document':_0x4e2a3b,'targetElement':_0x4b05de,'abortSignal':_0x2169a0});}}
@@ -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
+ const _0x1823ec=_0x5a58;(function(_0x2a4d3d,_0x30d644){const _0x151843=_0x5a58,_0x5882a8=_0x2a4d3d();while(!![]){try{const _0x322f10=-parseInt(_0x151843(0x149))/0x1*(-parseInt(_0x151843(0x156))/0x2)+-parseInt(_0x151843(0x14c))/0x3+parseInt(_0x151843(0x14f))/0x4+parseInt(_0x151843(0x13a))/0x5+parseInt(_0x151843(0x138))/0x6*(-parseInt(_0x151843(0x151))/0x7)+parseInt(_0x151843(0x145))/0x8+-parseInt(_0x151843(0x142))/0x9*(parseInt(_0x151843(0x153))/0xa);if(_0x322f10===_0x30d644)break;else _0x5882a8['push'](_0x5882a8['shift']());}catch(_0x1424e3){_0x5882a8['push'](_0x5882a8['shift']());}}}(_0xca0d,0xacfed));import{AIChatFeedItemView as _0xca63f3}from'./aichatfeeditemview.js';import{parse as _0x2637a4,render as _0x42450d}from'../../../aicore/utils/htmlparser.js';import{View as _0x32a7c7}from'ckeditor5/src/ui.js';function _0xca0d(){const _0x3163f2=['701248sTSWIS','setTemplate','14Cofkes','ck-reset_all-excluded','10MQdlOp','add','innerHTML','1390Xinmpf','streamIntoElement','replyContainer','div','1233786QxpMjS','markAsDone','1119415mcXLrX','updateContent','isVisible','extendTemplate','ck-ai-chat__feed__ai-reply-container','initialContent','streaming','updateSources','8889966NWqoiE','render','options','9467544kzKFWm','children','ck-ai-chat__feed__ai-reply','element','1277yYJrBH','addMany','locale','1087584QCgWGu','map','static'];_0xca0d=function(){return _0x3163f2;};return _0xca0d();}function _0x5a58(_0x2abbc2,_0x4579b5){const _0x5a583b=_0xca0d();return _0x5a58=function(_0x5b69a8,_0x23d178){_0x5b69a8=_0x5b69a8-0x138;let _0x58626f=_0x5a583b[_0x5b69a8];return _0x58626f;},_0x5a58(_0x2abbc2,_0x4579b5);}import{AIWebSourcesView as _0x457e09,AIWebSourceView as _0x5e83bc}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0xca63f3{[_0x1823ec(0x158)];constructor(_0x14dc69,_0x3f3b27){const _0x2310f0=_0x1823ec;super(_0x3f3b27),this[_0x2310f0(0x14b)]=_0x14dc69,this[_0x2310f0(0x13d)]({'attributes':{'class':[_0x2310f0(0x147)]}}),this[_0x2310f0(0x158)]=new _0x32a7c7(),this[_0x2310f0(0x158)][_0x2310f0(0x150)]({'tag':_0x2310f0(0x159),'attributes':{'class':['ck',_0x2310f0(0x152),_0x2310f0(0x13e)]}}),this[_0x2310f0(0x146)][_0x2310f0(0x154)](this[_0x2310f0(0x158)]);}async[_0x1823ec(0x143)](){const _0x171280=_0x1823ec;super[_0x171280(0x143)](),this[_0x171280(0x144)][_0x171280(0x13f)]&&(await this[_0x171280(0x13b)]({'parsedContent':_0x2637a4(this[_0x171280(0x144)][_0x171280(0x13f)]),'renderingStrategy':_0x171280(0x14e)}),this[_0x171280(0x139)]());}async[_0x1823ec(0x13b)]({parsedContent:_0x2d7c27,renderingStrategy:_0xd30ce1,abortSignal:_0x27f637}){const _0x741824=_0x1823ec;_0x741824(0x140)===_0xd30ce1?await this[_0x741824(0x157)](_0x2d7c27,this[_0x741824(0x158)][_0x741824(0x148)],_0x27f637):this[_0x741824(0x158)][_0x741824(0x148)][_0x741824(0x155)]=_0x42450d(_0x2d7c27);}[_0x1823ec(0x141)](_0x18911b){const _0x190fd1=_0x1823ec,_0x1f6032=new _0x457e09(this[_0x190fd1(0x14b)]);_0x1f6032[_0x190fd1(0x146)][_0x190fd1(0x14a)](_0x18911b[_0x190fd1(0x14d)](_0x55881b=>new _0x5e83bc(this[_0x190fd1(0x14b)],_0x55881b))),_0x1f6032[_0x190fd1(0x13c)]=!0x0,this[_0x190fd1(0x146)][_0x190fd1(0x154)](_0x1f6032);}}
@@ -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
+ function _0x45f6(){const _0x6d0fef=['open','keys','class','showChangeInText','24984XTSajT','applySuggestionModel','insertSuggestion','579030pqEuef','filter','listenTo','_createActionsDropdown','ck-ai-chat__feed__ai-suggestion__actions\x20','unbind','destroy','bodyCollection','showChangeInTextModel','execute','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','4Bdapzl','applySuggestion','bindTemplate','actionName','element','3142256nPIfhg','items','hide','detachFromDom','ck-ai-button-primary','setTemplate','_updateDropdownActions','has','_firstRender','remove','add','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','3vtxggt','esc','focus','arrowView','186764EyBKYN','_setUpKeystrokes','updateLabels','attachToDom','isTrackChangesOn','balloonPanelClass','1505019lSWsRC','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','locale','_createActionsDropdownOrButton','281890CAcUaN','balloonPanelView','insertSuggestionModel','isVisible','_setUpList','_createActionsButton','ck-ai-chat__feed__ai-suggestion__actions','createCollection','tooltip','map','length','pin','source','_dropdownOriginalConfig','left','listItemModels','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','label','ck-hidden','ck-ai-chat__feed__ai-suggestion__actions__balloon','_dropdownCurrentConfig','ck-ai-chat__feed__ai-suggestion__actions--no-animation','content','div','set','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','isEnabled','uiLanguageDirection','fire','listView','bind','arrowless','children','slice','bottom','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','width','2956655bIRsmH','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','54jOpxNb','_partsCount','keystrokeHandler','delegate','button','ltr','change:isTrackChangesOn','actionsButton'];_0x45f6=function(){return _0x6d0fef;};return _0x45f6();}const _0x471f74=_0x2f91;(function(_0x5646e9,_0x1dfe53){const _0xb8c79=_0x2f91,_0x1aea38=_0x5646e9();while(!![]){try{const _0x276ac7=-parseInt(_0xb8c79(0xeb))/0x1*(-parseInt(_0xb8c79(0xef))/0x2)+parseInt(_0xb8c79(0x95))/0x3*(-parseInt(_0xb8c79(0xda))/0x4)+parseInt(_0xb8c79(0xbe))/0x5+-parseInt(_0xb8c79(0xcc))/0x6+-parseInt(_0xb8c79(0x99))/0x7+parseInt(_0xb8c79(0xdf))/0x8+-parseInt(_0xb8c79(0xc0))/0x9*(parseInt(_0xb8c79(0xcf))/0xa);if(_0x276ac7===_0x1dfe53)break;else _0x1aea38['push'](_0x1aea38['shift']());}catch(_0x311c13){_0x1aea38['push'](_0x1aea38['shift']());}}}(_0x45f6,0x5a82e));import{KeystrokeHandler as _0x8b8402}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x265226,BodyCollection as _0x1eb74d,ButtonView as _0x4a0cb3,clickOutsideHandler as _0x4a3f7d,ListItemButtonView as _0x3ea928,ListItemView as _0x27a438,ListView as _0xdbbe0d,SplitButtonView as _0x496a23,UIModel as _0x2e5304,View as _0x213425}from'ckeditor5/src/ui.js';import{IconCheck as _0x4d2557,IconAddComment as _0x4bc811,IconDocumentWithLoupe as _0x432969}from'ckeditor5/src/icons.js';import{getTranslation as _0x27c079}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x471f74(0xdb),_0x471f74(0xce),_0x471f74(0xcb)];export class AIChatFeedSuggestionItemActionsView extends _0x213425{[_0x471f74(0xc7)];[_0x471f74(0xb9)];[_0x471f74(0xcd)];[_0x471f74(0xd7)];[_0x471f74(0x9b)];[_0x471f74(0xc1)]=0x1;[_0x471f74(0xa6)];[_0x471f74(0xad)];[_0x471f74(0xe7)]=!0x0;constructor(_0x2bdfb7,_0x24e04f){const _0x33c67c=_0x471f74;super(_0x2bdfb7),this[_0x33c67c(0xa6)]=_0x24e04f||[...ACTIONS],this[_0x33c67c(0xad)]=[...this[_0x33c67c(0xa6)]];const _0x2b3940=this[_0x33c67c(0xdc)];this[_0x33c67c(0xb1)](_0x33c67c(0xb3),!0x0),this[_0x33c67c(0xb1)](_0x33c67c(0x9c),!0x0),this[_0x33c67c(0xcd)]=new _0x2e5304({'label':Un(_0x33c67c(0xdb),_0x2bdfb7,this[_0x33c67c(0xc1)]),'icon':_0x4d2557,'withText':!0x0,'type':_0x33c67c(0xc4),'actionName':_0x33c67c(0xdb)}),this[_0x33c67c(0xd7)]=new _0x2e5304({'label':Un(_0x33c67c(0xcb),_0x2bdfb7,this[_0x33c67c(0xc1)]),'icon':_0x432969,'withText':!0x0,'type':_0x33c67c(0xc4),'actionName':_0x33c67c(0xcb)}),this[_0x33c67c(0x9b)]=new _0x2e5304({'label':Un(_0x33c67c(0xce),_0x2bdfb7,this[_0x33c67c(0xc1)]),'icon':_0x4bc811,'withText':!0x0,'type':_0x33c67c(0xc4),'actionName':_0x33c67c(0xce)}),this[_0x33c67c(0xc7)]=this[_0x33c67c(0x98)](_0x2bdfb7),this[_0x33c67c(0xb9)]=this[_0x33c67c(0xa0)]([this[_0x33c67c(0xc7)]]),this[_0x33c67c(0xe4)]({'tag':_0x33c67c(0xb0),'attributes':{'class':['ck',_0x33c67c(0x9f),_0x2b3940['if'](_0x33c67c(0x9c),_0x33c67c(0xab),_0x3c57c0=>!_0x3c57c0)]},'children':this[_0x33c67c(0xb9)]}),this[_0x33c67c(0xd1)](this,_0x33c67c(0xc6),()=>{const _0x17c100=_0x33c67c;this[_0x17c100(0xad)]=this[_0x17c100(0xf3)]?this[_0x17c100(0xa6)][_0x17c100(0xd0)](_0x3b4aef=>_0x17c100(0xdb)!==_0x3b4aef):[...this[_0x17c100(0xa6)]],this[_0x17c100(0xe5)](_0x2bdfb7);});}[_0x471f74(0xe5)](_0x245a99){const _0x144673=_0x471f74;this[_0x144673(0xb9)][_0x144673(0xe6)](this[_0x144673(0xc7)])&&(this[_0x144673(0xb9)][_0x144673(0xe8)](this[_0x144673(0xc7)]),this[_0x144673(0xc7)][_0x144673(0xd5)]()),0x0!=this[_0x144673(0xad)][_0x144673(0xa3)]&&(this[_0x144673(0xc7)]=this[_0x144673(0x98)](_0x245a99),this[_0x144673(0xb9)][_0x144673(0xe9)](this[_0x144673(0xc7)]));}[_0x471f74(0x98)](_0x56bda9){const _0x37ac3b=_0x471f74,_0x5c44ba=0x1===this[_0x37ac3b(0xad)][_0x37ac3b(0xa3)]?this[_0x37ac3b(0x9e)](_0x56bda9):this[_0x37ac3b(0xd2)](_0x56bda9),_0x71313e=this[_0x37ac3b(0xe7)]?'':_0x37ac3b(0xae);_0x5c44ba[_0x37ac3b(0xb1)]({'label':Un(this[_0x37ac3b(0xad)][0x0],_0x56bda9,this[_0x37ac3b(0xc1)]),'tooltip':Ln(this[_0x37ac3b(0xad)][0x0],_0x56bda9,this[_0x37ac3b(0xc1)]),'withText':!0x0,'class':_0x37ac3b(0xd3)+_0x71313e});for(const _0x5364fa of this[_0x37ac3b(0xad)])_0x5c44ba['on'](_0x5364fa,()=>{const _0x5cd48e=_0x37ac3b;this[_0x5cd48e(0xb5)](_0x5364fa);});return this[_0x37ac3b(0xe7)]=!0x1,_0x5c44ba;}[_0x471f74(0x9e)](_0x2025dd){const _0x1f94bc=_0x471f74,_0x2534a1=new _0x4a0cb3(_0x2025dd);return _0x2534a1[_0x1f94bc(0xb1)]({'class':_0x1f94bc(0xe3),'withText':!0x0}),_0x2534a1['on'](_0x1f94bc(0xd8),()=>{const _0x28d526=_0x1f94bc;_0x2534a1[_0x28d526(0xb5)](this[_0x28d526(0xad)][0x0]);}),_0x2534a1;}[_0x471f74(0xd2)](_0x5e366a){const _0x288e4f=_0x471f74,_0x130840=new yn(_0x5e366a,{'listItemModels':this[_0x288e4f(0xad)][_0x288e4f(0xa2)](_0x1f7b30=>{const _0x399f9d=_0x288e4f;switch(_0x1f7b30){case _0x399f9d(0xdb):return this[_0x399f9d(0xcd)];case _0x399f9d(0xcb):return this[_0x399f9d(0xd7)];case _0x399f9d(0xce):return this[_0x399f9d(0x9b)];}})});return _0x130840[_0x288e4f(0xb1)]({'label':Un(this[_0x288e4f(0xad)][0x0],_0x5e366a,this[_0x288e4f(0xc1)]),'tooltip':Ln(this[_0x288e4f(0xad)][0x0],_0x5e366a,this[_0x288e4f(0xc1)]),'withText':!0x0,'class':_0x288e4f(0x9f),'balloonPanelClass':_0x288e4f(0xac)}),_0x130840[_0x288e4f(0xb7)](_0x288e4f(0xb3))['to'](this),_0x130840;}[_0x471f74(0xf1)](_0x170cf3){const _0x2c914a=_0x471f74,_0x5f2f66=this[_0x2c914a(0x97)];this[_0x2c914a(0xc1)]=_0x170cf3||this[_0x2c914a(0xc1)],this[_0x2c914a(0xc7)][_0x2c914a(0xb1)]({'label':Un(this[_0x2c914a(0xad)][0x0],_0x5f2f66,this[_0x2c914a(0xc1)]),'tooltip':Ln(this[_0x2c914a(0xad)][0x0],_0x5f2f66,this[_0x2c914a(0xc1)])}),this[_0x2c914a(0xcd)][_0x2c914a(0xaa)]=Un(_0x2c914a(0xdb),_0x5f2f66,this[_0x2c914a(0xc1)]),this[_0x2c914a(0xd7)][_0x2c914a(0xaa)]=Un(_0x2c914a(0xcb),_0x5f2f66,this[_0x2c914a(0xc1)]),this[_0x2c914a(0x9b)][_0x2c914a(0xaa)]=Un(_0x2c914a(0xce),_0x5f2f66,this[_0x2c914a(0xc1)]);}}class yn extends _0x496a23{[_0x471f74(0xd6)];[_0x471f74(0x9a)];[_0x471f74(0xb6)];[_0x471f74(0xc2)];constructor(_0x2636ec,_0x2cac93){const _0x146ad2=_0x471f74;super(_0x2636ec),this[_0x146ad2(0x9a)]=new _0x265226(this[_0x146ad2(0x97)]),this[_0x146ad2(0xd6)]=new _0x1eb74d(this[_0x146ad2(0x97)]),this[_0x146ad2(0xd6)][_0x146ad2(0xf2)](),this[_0x146ad2(0xb1)](_0x146ad2(0x94),''),this[_0x146ad2(0x9a)][_0x146ad2(0xb7)](_0x146ad2(0xca))['to'](this,_0x146ad2(0x94)),this[_0x146ad2(0xb6)]=this[_0x146ad2(0x9d)](_0x2cac93[_0x146ad2(0xa8)][_0x146ad2(0xba)](0x1)),this[_0x146ad2(0xd6)][_0x146ad2(0xe9)](this[_0x146ad2(0x9a)]),this[_0x146ad2(0x9a)][_0x146ad2(0xaf)][_0x146ad2(0xe9)](this[_0x146ad2(0xb6)]),this[_0x146ad2(0xee)][_0x146ad2(0xd4)](_0x146ad2(0xa1)),this[_0x146ad2(0xee)][_0x146ad2(0xb1)](_0x146ad2(0xa1),_0x27c079(this[_0x146ad2(0x97)],_0x146ad2(0xbc))),this[_0x146ad2(0xf0)](),this['on'](_0x146ad2(0xd8),()=>{const _0x420647=_0x146ad2,_0x4776f2=_0x2cac93[_0x420647(0xa8)][0x0][_0x420647(0xdd)];this[_0x420647(0xb5)](_0x4776f2),this[_0x420647(0x9a)][_0x420647(0xe1)](),this[_0x420647(0xee)][_0x420647(0xed)]();}),this['on'](_0x146ad2(0xc8),()=>{const _0x4a7fe7=_0x146ad2;this[_0x4a7fe7(0x9a)][_0x4a7fe7(0x9c)]?(this[_0x4a7fe7(0x9a)][_0x4a7fe7(0xe1)](),this[_0x4a7fe7(0xee)][_0x4a7fe7(0xed)]()):(this[_0x4a7fe7(0x9a)][_0x4a7fe7(0xa4)]({'target':this[_0x4a7fe7(0xde)],'positions':[_0x4a7fe7(0xc5)===this[_0x4a7fe7(0x97)][_0x4a7fe7(0xb4)]?Pn:Hn]}),this[_0x4a7fe7(0xb6)][_0x4a7fe7(0xed)]());}),_0x4a3f7d({'emitter':this[_0x146ad2(0x9a)],'callback':()=>{const _0x4f6df8=_0x146ad2;this[_0x4f6df8(0x9a)][_0x4f6df8(0xe1)]();},'activator':()=>this[_0x146ad2(0x9a)][_0x146ad2(0x9c)],'contextElements':()=>[this[_0x146ad2(0xde)],this[_0x146ad2(0x9a)][_0x146ad2(0xde)]]});}[_0x471f74(0x9d)](_0xa03043){const _0x238239=_0x471f74,_0x28c40d=this[_0x238239(0x97)],_0x19354c=new _0xdbbe0d(_0x28c40d);for(const _0x2dd77b of _0xa03043){const _0x826c1=new _0x27a438(_0x28c40d),_0x13945c=new _0x3ea928(_0x28c40d);_0x13945c[_0x238239(0xb7)](...Object[_0x238239(0xc9)](_0x2dd77b))['to'](_0x2dd77b),_0x13945c[_0x238239(0xc3)](_0x238239(0xd8))['to'](_0x19354c),_0x826c1[_0x238239(0xb9)][_0x238239(0xe9)](_0x13945c),_0x19354c[_0x238239(0xe0)][_0x238239(0xe9)](_0x826c1);}return _0x19354c[_0x238239(0xe0)][_0x238239(0xc3)](_0x238239(0xd8))['to'](this),_0x19354c['on'](_0x238239(0xd8),_0x3d56bb=>{const _0x2e4693=_0x238239,_0x5e2de5=_0x3d56bb[_0x2e4693(0xa5)];this[_0x2e4693(0xb5)](_0x5e2de5[_0x2e4693(0xdd)]),this[_0x2e4693(0x9a)][_0x2e4693(0xe1)](),this[_0x2e4693(0xee)][_0x2e4693(0xed)]();}),_0x19354c;}[_0x471f74(0xf0)](){const _0x2c5ca5=_0x471f74;this[_0x2c5ca5(0xc2)]=new _0x8b8402(),this[_0x2c5ca5(0xc2)][_0x2c5ca5(0xd1)](this[_0x2c5ca5(0x9a)][_0x2c5ca5(0xde)]),this[_0x2c5ca5(0xc2)][_0x2c5ca5(0xb1)](_0x2c5ca5(0xec),(_0x2594a5,_0x223a6a)=>{const _0x16f64a=_0x2c5ca5;this[_0x16f64a(0x9a)][_0x16f64a(0xe1)](),this[_0x16f64a(0xee)][_0x16f64a(0xed)](),_0x223a6a();});}[_0x471f74(0xd5)](){const _0x2a9c2c=_0x471f74;super[_0x2a9c2c(0xd5)](),this[_0x2a9c2c(0xc2)][_0x2a9c2c(0xd5)](),this[_0x2a9c2c(0x9a)][_0x2a9c2c(0xd5)](),this[_0x2a9c2c(0xd6)][_0x2a9c2c(0xe2)]();}}function Pn(_0x1f4de6){const _0x40be10=_0x471f74;return{'top':_0x1f4de6[_0x40be10(0xbb)],'left':_0x1f4de6[_0x40be10(0xa7)],'name':_0x40be10(0xb8),'config':{'withArrow':!0x1}};}function Hn(_0x5eabd4,_0x5aec1a){const _0x4700cb=_0x471f74;return{'top':_0x5eabd4[_0x4700cb(0xbb)],'left':_0x5eabd4[_0x4700cb(0xa7)]-(_0x5aec1a[_0x4700cb(0xbd)]-_0x5eabd4[_0x4700cb(0xbd)]),'name':_0x4700cb(0xb8),'config':{'withArrow':!0x1}};}function _0x2f91(_0x37463d,_0x3131f6){const _0x45f61f=_0x45f6();return _0x2f91=function(_0x2f91ab,_0x3b932f){_0x2f91ab=_0x2f91ab-0x94;let _0x2154b8=_0x45f61f[_0x2f91ab];return _0x2154b8;},_0x2f91(_0x37463d,_0x3131f6);}function Un(_0x3bdcc0,_0x28728a,_0x36d67e){const _0x1930c1=_0x471f74;switch(_0x3bdcc0){case _0x1930c1(0xdb):return _0x27c079(_0x28728a,_0x1930c1(0xd9),_0x36d67e);case _0x1930c1(0xcb):return _0x27c079(_0x28728a,_0x1930c1(0x96),_0x36d67e);case _0x1930c1(0xce):return _0x27c079(_0x28728a,_0x1930c1(0xbf),_0x36d67e);}}function Ln(_0x55e69d,_0x38d501,_0x39b2d2){const _0x320d66=_0x471f74;switch(_0x55e69d){case _0x320d66(0xdb):return _0x27c079(_0x38d501,_0x320d66(0xb2),_0x39b2d2);case _0x320d66(0xcb):return _0x27c079(_0x38d501,_0x320d66(0xea),_0x39b2d2);case _0x320d66(0xce):return _0x27c079(_0x38d501,_0x320d66(0xa9),_0x39b2d2);}}
@@ -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
+ function _0x5876(_0x160b30,_0x1c99bb){var _0x460f8d=_0x460f();return _0x5876=function(_0x58762a,_0x137580){_0x58762a=_0x58762a-0xc9;var _0x1fbeba=_0x460f8d[_0x58762a];return _0x1fbeba;},_0x5876(_0x160b30,_0x1c99bb);}var _0x2fb74f=_0x5876;(function(_0x201115,_0x45ad26){var _0x1ac054=_0x5876,_0x75543b=_0x201115();while(!![]){try{var _0x583630=-parseInt(_0x1ac054(0xed))/0x1+-parseInt(_0x1ac054(0xcb))/0x2+-parseInt(_0x1ac054(0xe8))/0x3+-parseInt(_0x1ac054(0xd0))/0x4+parseInt(_0x1ac054(0xd6))/0x5*(-parseInt(_0x1ac054(0xec))/0x6)+-parseInt(_0x1ac054(0xd3))/0x7+parseInt(_0x1ac054(0xd9))/0x8*(parseInt(_0x1ac054(0xdc))/0x9);if(_0x583630===_0x45ad26)break;else _0x75543b['push'](_0x75543b['shift']());}catch(_0x3649c9){_0x75543b['push'](_0x75543b['shift']());}}}(_0x460f,0xec821));import{AIChatFeedItemView as _0xd1537}from'./aichatfeeditemview.js';function _0x460f(){var _0x840d7a=['like','20WUFcJY','addMany','hasPendingParts','676960HpeYtj','showDiff','fire','684Szydlz','rejectSuggestion','dislike','toggleSuggestionDisplayMode','insertSuggestion','mouseOverSuggestion','partsCount','bodyView','getPartView','markAsDone','actionsView','applySuggestion','1084584sSuQGi','containerView','isVisible','updateLabels','593436HRSpkB','1468469DHHbxU','options','bind','dropdownConfig','updateContent','updatePartState','isEnabled','extendTemplate','updateSources','1360648NCWvKb','showChangeInText','children','hasNonEmptyParts','ck-ai-chat__feed__ai-suggestion','6934156djrIxX','areActionsDisabled','mouseLeaveSuggestion','5760293WFzHDD','isTrackChangesOn'];_0x460f=function(){return _0x840d7a;};return _0x460f();}import{AISuggestionContainerView as _0x325482}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x20afef}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0xd1537{[_0x2fb74f(0xe9)];[_0x2fb74f(0xe6)];constructor(_0x2b9417,_0xce8b5d){var _0x5101a8=_0x2fb74f;super(_0xce8b5d),this[_0x5101a8(0xe9)]=new _0x325482(_0x2b9417,{'showDiff':_0xce8b5d[_0x5101a8(0xda)],'areActionsDisabled':_0xce8b5d[_0x5101a8(0xd1)]}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xdf),(_0x26eeb9,_0x5e2f8f)=>{var _0xa224f9=_0x5101a8;this[_0xa224f9(0xdb)](_0xa224f9(0xdf),{'replyId':this[_0xa224f9(0xee)]['id'],'showDiff':_0x5e2f8f[_0xa224f9(0xda)]});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xd5),()=>{var _0x3cd7c0=_0x5101a8;this[_0x3cd7c0(0xdb)](_0x3cd7c0(0xd5),{'replyId':this[_0x3cd7c0(0xee)]['id']});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xde),()=>{var _0x58863b=_0x5101a8;this[_0x58863b(0xdb)](_0x58863b(0xde),{'replyId':this[_0x58863b(0xee)]['id']});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xcc),(_0xa972d4,{index:_0x285d8a})=>{var _0x2d9e09=_0x5101a8;this[_0x2d9e09(0xdb)](_0x2d9e09(0xcc),{'replyId':this[_0x2d9e09(0xee)]['id'],'partIndex':_0x285d8a});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xe0),(_0x4bcf24,{index:_0x3d6acd})=>{var _0x1187c3=_0x5101a8;this[_0x1187c3(0xdb)](_0x1187c3(0xe0),{'replyId':this[_0x1187c3(0xee)]['id'],'partIndex':_0x3d6acd});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xdd),(_0x4e0c2f,{index:_0x1f189b})=>{var _0x3d8adc=_0x5101a8;this[_0x3d8adc(0xdb)](_0x3d8adc(0xdd),{'replyId':this[_0x3d8adc(0xee)]['id'],'partIndex':_0x1f189b});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xe1),(_0x4f08bf,{index:_0x34f7c8})=>{var _0x575fae=_0x5101a8;this[_0x575fae(0xdb)](_0x575fae(0xe1),{'replyId':this[_0x575fae(0xee)]['id'],'partIndex':_0x34f7c8});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xd2),(_0x4def0e,{index:_0x458ddb})=>{var _0x304b59=_0x5101a8;this[_0x304b59(0xdb)](_0x304b59(0xd2),{'replyId':this[_0x304b59(0xee)]['id'],'partIndex':_0x458ddb});}),this[_0x5101a8(0xe6)]=new _0x20afef(_0x2b9417,this[_0x5101a8(0xee)][_0x5101a8(0xf0)]),this[_0x5101a8(0xe6)][_0x5101a8(0xef)](_0x5101a8(0xd4))['to'](this,_0x5101a8(0xd4)),this[_0x5101a8(0xe6)]['on'](_0x5101a8(0xcc),()=>{var _0x14f660=_0x5101a8;this[_0x14f660(0xdb)](_0x14f660(0xcc),{'replyId':this[_0x14f660(0xee)]['id']});}),this[_0x5101a8(0xe6)]['on'](_0x5101a8(0xe0),()=>{var _0x16190a=_0x5101a8;this[_0x16190a(0xdb)](_0x16190a(0xe0),{'replyId':this[_0x16190a(0xee)]['id']});}),this[_0x5101a8(0xe6)]['on'](_0x5101a8(0xe7),()=>{var _0x29bf9b=_0x5101a8;this[_0x29bf9b(0xdb)](_0x29bf9b(0xe7),{'replyId':this[_0x29bf9b(0xee)]['id']});}),_0xce8b5d[_0x5101a8(0xd1)]?this[_0x5101a8(0xe6)][_0x5101a8(0xf3)]=!0x1:this[_0x5101a8(0xe6)][_0x5101a8(0xef)](_0x5101a8(0xf3))['to'](this[_0x5101a8(0xe9)][_0x5101a8(0xe3)],_0x5101a8(0xd8)),this[_0x5101a8(0xcd)][_0x5101a8(0xd7)]([this[_0x5101a8(0xe9)],this[_0x5101a8(0xe6)]]),this[_0x5101a8(0xc9)]({'attributes':{'class':[_0x5101a8(0xcf)]}});}async[_0x2fb74f(0xf1)](_0x343406){var _0xbd4359=_0x2fb74f;await this[_0xbd4359(0xe9)][_0xbd4359(0xf1)](_0x343406),this[_0xbd4359(0xe6)][_0xbd4359(0xeb)](this[_0xbd4359(0xe9)][_0xbd4359(0xe3)][_0xbd4359(0xe2)]);}[_0x2fb74f(0xf2)](_0x1e81ec,_0x6e31a3){var _0x41acc4=_0x2fb74f;this[_0x41acc4(0xe9)][_0x41acc4(0xe3)][_0x41acc4(0xf2)](_0x1e81ec,_0x6e31a3);}[_0x2fb74f(0xca)](_0x41c0e4){var _0x4eec0=_0x2fb74f;this[_0x4eec0(0xe9)][_0x4eec0(0xca)](_0x41c0e4);}[_0x2fb74f(0xe4)](_0x47cf2f){var _0x1a129f=_0x2fb74f;return this[_0x1a129f(0xe9)][_0x1a129f(0xe3)][_0x1a129f(0xe4)](_0x47cf2f);}[_0x2fb74f(0xe5)](){var _0x2f95ed=_0x2fb74f;super[_0x2f95ed(0xe5)](),this[_0x2f95ed(0xe9)][_0x2f95ed(0xe5)](),this[_0x2f95ed(0xe6)][_0x2f95ed(0xea)]=this[_0x2f95ed(0xe9)][_0x2f95ed(0xe3)][_0x2f95ed(0xce)];}}
@@ -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
+ var _0x305066=_0x9b8e;function _0x175e(){var _0x565f36=['children','52OmTsHN','filter','24PqVvgz','ck-ai-chat__feed__user-message','1911990HxjeHk','innerHTML','ck-ai-chat__feed__message-content','element','render','ck-ai-chat__feed__context-chips','962469WizBaZ','2667721omQPdu','_bodyCollection','options','6825570KJQxil','extendTemplate','133505gcLkeZ','_createContextChipsView','markAsDone','length','_contextChipsView','div','initialContent','10XBKAFs','_messageContentView','15519447ZdtnNq','setTemplate','contextItems','3569361xvxpfs','_createMessageContentView','_locale','add','hidden'];_0x175e=function(){return _0x565f36;};return _0x175e();}(function(_0xdee67a,_0x3bfcc2){var _0x45c330=_0x9b8e,_0x1145b1=_0xdee67a();while(!![]){try{var _0x38d353=-parseInt(_0x45c330(0x1e0))/0x1+parseInt(_0x45c330(0x1da))/0x2+-parseInt(_0x45c330(0x1d0))/0x3+-parseInt(_0x45c330(0x1d6))/0x4*(-parseInt(_0x45c330(0x1c4))/0x5)+parseInt(_0x45c330(0x1e4))/0x6+parseInt(_0x45c330(0x1e1))/0x7*(-parseInt(_0x45c330(0x1d8))/0x8)+parseInt(_0x45c330(0x1cd))/0x9*(parseInt(_0x45c330(0x1cb))/0xa);if(_0x38d353===_0x3bfcc2)break;else _0x1145b1['push'](_0x1145b1['shift']());}catch(_0x2ac638){_0x1145b1['push'](_0x1145b1['shift']());}}}(_0x175e,0xd4491));function _0x9b8e(_0x40a8cb,_0xdff807){var _0x175ecb=_0x175e();return _0x9b8e=function(_0x9b8ee7,_0x4fcad0){_0x9b8ee7=_0x9b8ee7-0x1c3;var _0x3c131d=_0x175ecb[_0x9b8ee7];return _0x3c131d;},_0x9b8e(_0x40a8cb,_0xdff807);}import{AIChatFeedItemView as _0x1ea297}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x47bd8f}from'./aichatfeedcontextchipsview.js';import{View as _0x117c6f}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x1ea297{[_0x305066(0x1c8)]=null;[_0x305066(0x1d2)];[_0x305066(0x1e2)];[_0x305066(0x1cc)];constructor(_0xf69005,_0x1b8441,_0x2b19e9){var _0x43ab75=_0x305066;super(_0x1b8441),this[_0x43ab75(0x1d2)]=_0xf69005,this[_0x43ab75(0x1e2)]=_0x2b19e9,this[_0x43ab75(0x1c5)](),this[_0x43ab75(0x1d1)](),this[_0x43ab75(0x1c3)]({'attributes':{'class':[_0x43ab75(0x1d9)]}});}[_0x305066(0x1c5)](){var _0x1f0099=_0x305066;this[_0x1f0099(0x1e3)][_0x1f0099(0x1cf)]&&this[_0x1f0099(0x1e3)][_0x1f0099(0x1cf)][_0x1f0099(0x1c7)]>0x0&&(this[_0x1f0099(0x1c8)]=new _0x47bd8f(this[_0x1f0099(0x1d2)],this[_0x1f0099(0x1e3)][_0x1f0099(0x1cf)][_0x1f0099(0x1d7)](_0x8a5ec5=>!_0x8a5ec5[_0x1f0099(0x1d4)]),this[_0x1f0099(0x1e2)]),this[_0x1f0099(0x1c8)][_0x1f0099(0x1c3)]({'attributes':{'class':_0x1f0099(0x1df)}}),this[_0x1f0099(0x1d5)][_0x1f0099(0x1d3)](this[_0x1f0099(0x1c8)]));}[_0x305066(0x1d1)](){var _0x17887b=_0x305066;this[_0x17887b(0x1cc)]=new _0x117c6f(this[_0x17887b(0x1d2)]),this[_0x17887b(0x1cc)][_0x17887b(0x1ce)]({'tag':_0x17887b(0x1c9),'attributes':{'class':_0x17887b(0x1dc)}}),this[_0x17887b(0x1d5)][_0x17887b(0x1d3)](this[_0x17887b(0x1cc)]);}[_0x305066(0x1de)](){var _0x589682=_0x305066;super[_0x589682(0x1de)](),this[_0x589682(0x1cc)][_0x589682(0x1dd)][_0x589682(0x1db)]=this[_0x589682(0x1e3)][_0x589682(0x1ca)],this[_0x589682(0x1c6)]();}}
@@ -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 _0x4cd551=_0x2b0c;function _0xc08e(){const _0x25ce34=['1043682OYfFWP','addFileToContext','toggleReasoning','addUrlToContext','loadSourceResources','selectModel','removeContextItem','601974rzjDsh','toggleWebSearch','1365164sfFBVu','8344345xFZARO','resizeTabs','startConversation','sendUserMessage','37156392eUWwmm','abortPromptStream','1665047nRgncR','addDocumentToContext','1598152TjGwGl','addResourceToContext'];_0xc08e=function(){return _0x25ce34;};return _0xc08e();}(function(_0x4904f9,_0x2c0ce7){const _0x1672c4=_0x2b0c,_0x574275=_0x4904f9();while(!![]){try{const _0x394056=-parseInt(_0x1672c4(0x15c))/0x1+-parseInt(_0x1672c4(0x155))/0x2+parseInt(_0x1672c4(0x153))/0x3+-parseInt(_0x1672c4(0x15e))/0x4+-parseInt(_0x1672c4(0x156))/0x5+-parseInt(_0x1672c4(0x160))/0x6+parseInt(_0x1672c4(0x15a))/0x7;if(_0x394056===_0x2c0ce7)break;else _0x574275['push'](_0x574275['shift']());}catch(_0xe1ac0){_0x574275['push'](_0x574275['shift']());}}}(_0xc08e,0xe04cb));function _0x2b0c(_0x157f54,_0x4520be){const _0xc08ee5=_0xc08e();return _0x2b0c=function(_0x2b0c81,_0x1d62a2){_0x2b0c81=_0x2b0c81-0x14e;let _0x28f622=_0xc08ee5[_0x2b0c81];return _0x28f622;},_0x2b0c(_0x157f54,_0x4520be);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x377b7e}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x377b7e,_0x4cd551(0x158),_0x4cd551(0x157),_0x4cd551(0x159),_0x4cd551(0x15b),_0x4cd551(0x15d),_0x4cd551(0x161),_0x4cd551(0x14f),_0x4cd551(0x15f),_0x4cd551(0x152),_0x4cd551(0x150),_0x4cd551(0x154),_0x4cd551(0x14e),_0x4cd551(0x151)];
@@ -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
+ const _0xdc19a=_0x48c0;(function(_0x40a783,_0x4e99a0){const _0x535f81=_0x48c0,_0x4833bf=_0x40a783();while(!![]){try{const _0x13a366=-parseInt(_0x535f81(0x1e1))/0x1+-parseInt(_0x535f81(0x1db))/0x2*(parseInt(_0x535f81(0x1d8))/0x3)+parseInt(_0x535f81(0x1e8))/0x4*(-parseInt(_0x535f81(0x1e9))/0x5)+parseInt(_0x535f81(0x1d6))/0x6*(-parseInt(_0x535f81(0x1ea))/0x7)+-parseInt(_0x535f81(0x1d2))/0x8+-parseInt(_0x535f81(0x1e0))/0x9*(-parseInt(_0x535f81(0x1e4))/0xa)+parseInt(_0x535f81(0x1d3))/0xb*(parseInt(_0x535f81(0x1e3))/0xc);if(_0x13a366===_0x4e99a0)break;else _0x4833bf['push'](_0x4833bf['shift']());}catch(_0x488076){_0x4833bf['push'](_0x4833bf['shift']());}}}(_0x14a0,0x7cd21));function _0x48c0(_0x4bb995,_0x3dc948){const _0x14a07b=_0x14a0();return _0x48c0=function(_0x48c0c6,_0xd80d58){_0x48c0c6=_0x48c0c6-0x1d0;let _0xe422b3=_0x14a07b[_0x48c0c6];return _0xe422b3;},_0x48c0(_0x4bb995,_0x3dc948);}import{EmitterMixin as _0x33340a}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x33340a(){[_0xdc19a(0x1d1)]=[];[_0xdc19a(0x1d0)]=!0x1;[_0xdc19a(0x1dd)];async[_0xdc19a(0x1ed)](_0x1ba557){const _0x5f286a=_0xdc19a,_0x527ef8=this[_0x5f286a(0x1d7)](_0x1ba557);return this[_0x5f286a(0x1d1)][_0x5f286a(0x1e6)](_0x527ef8),this[_0x5f286a(0x1de)](),_0x527ef8[_0x5f286a(0x1d4)];}[_0xdc19a(0x1da)](){const _0x33a559=_0xdc19a;this[_0x33a559(0x1d0)]&&(this[_0x33a559(0x1dd)][_0x33a559(0x1da)](),this[_0x33a559(0x1dd)]=void 0x0,this[_0x33a559(0x1d1)]=[],this[_0x33a559(0x1ee)](_0x33a559(0x1d9)),this[_0x33a559(0x1d0)]=!0x1);}get[_0xdc19a(0x1dc)](){const _0x1685aa=_0xdc19a;return this[_0x1685aa(0x1d1)][_0x1685aa(0x1ec)]||this[_0x1685aa(0x1d0)]?new Promise(_0x544c0b=>{const _0x1d9c77=_0x1685aa;this[_0x1d9c77(0x1df)](_0x1d9c77(0x1d9),()=>{_0x544c0b();});}):Promise[_0x1685aa(0x1e5)]();}async[_0xdc19a(0x1de)](){const _0x1c4062=_0xdc19a;if(!this[_0x1c4062(0x1d0)]){this[_0x1c4062(0x1dd)]=new AbortController(),this[_0x1c4062(0x1d0)]=!0x0;try{for(;this[_0x1c4062(0x1d1)][_0x1c4062(0x1ec)]&&this[_0x1c4062(0x1d0)];){const _0x1d8cfb=this[_0x1c4062(0x1d1)][_0x1c4062(0x1eb)]();try{await _0x1d8cfb[_0x1c4062(0x1d5)](this[_0x1c4062(0x1dd)][_0x1c4062(0x1e2)]),_0x1d8cfb[_0x1c4062(0x1e5)]();}catch(_0x374dcc){_0x1d8cfb[_0x1c4062(0x1e7)](_0x374dcc);}}}finally{this[_0x1c4062(0x1d0)]=!0x1,this[_0x1c4062(0x1dd)]=void 0x0;}this[_0x1c4062(0x1ee)](_0x1c4062(0x1d9));}}[_0xdc19a(0x1d7)](_0x4e4e49){let _0x1591b5,_0x186ed9;const _0x5f4f4f=new Promise((_0x605b15,_0x198769)=>{_0x1591b5=_0x605b15,_0x186ed9=_0x198769;});return{'callback':_0x4e4e49,'resolve':_0x1591b5,'reject':_0x186ed9,'completePromise':_0x5f4f4f};}}function _0x14a0(){const _0x1cfca0=['once','81ZMuBKR','944170bgWgoM','signal','21490416PMVLZW','466660HgEJHM','resolve','push','reject','14844coVbEe','430eCkVCY','245nzcqYV','shift','length','enqueue','fire','isProcessing','queue','7600720YCRXAD','22fpdesV','completePromise','callback','134838kqtjUm','createTask','38724ZQzKWJ','_queueEmpty','abort','76WidznZ','queueEmptyPromise','_abortController','_processQueue'];_0x14a0=function(){return _0x1cfca0;};return _0x14a0();}
@@ -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 _0x43c3b2=_0x18b0;function _0x221b(){const _0x46087e=['isRunning','PageDown','start','ArrowUp','1957730aNsQFs','74943IGmMCC','touchstart','isUserPaused','addEventListener','type','scrollTo','436612miMhJu','auto','82114ELxlpZ','key','PageUp','_stop','signal','wheel','animationFrameId','pointerdown','_rafUpdate','keydown','abort','destroy','scrollHeight','abortController','Home','4557445iKYiHC','deltaY','includes','60ASqIRk','End','156hUedZs','7104qmRbnf','11wcgQlp','ArrowDown','bind','521164fDlegb','486qcfJCq','48ZIYRJD','_onUserEvent','element','_isAtBottom','stop'];_0x221b=function(){return _0x46087e;};return _0x221b();}(function(_0x45780a,_0x380deb){const _0x3f96a4=_0x18b0,_0x4c2ad2=_0x45780a();while(!![]){try{const _0x22a7be=-parseInt(_0x3f96a4(0xb8))/0x1*(parseInt(_0x3f96a4(0xcf))/0x2)+-parseInt(_0x3f96a4(0xc7))/0x3*(parseInt(_0x3f96a4(0xe3))/0x4)+parseInt(_0x3f96a4(0xde))/0x5+parseInt(_0x3f96a4(0xbd))/0x6*(parseInt(_0x3f96a4(0xbb))/0x7)+-parseInt(_0x3f96a4(0xb7))/0x8*(-parseInt(_0x3f96a4(0xbc))/0x9)+parseInt(_0x3f96a4(0xc6))/0xa+parseInt(_0x3f96a4(0xcd))/0xb*(parseInt(_0x3f96a4(0xe1))/0xc);if(_0x22a7be===_0x380deb)break;else _0x4c2ad2['push'](_0x4c2ad2['shift']());}catch(_0x26d2ff){_0x4c2ad2['push'](_0x4c2ad2['shift']());}}}(_0x221b,0x7fc8c));const os=[_0x43c3b2(0xd4),_0x43c3b2(0xc8),_0x43c3b2(0xd6),_0x43c3b2(0xd8)],rs=[_0x43c3b2(0xc5),_0x43c3b2(0xb9),_0x43c3b2(0xd1),_0x43c3b2(0xc3),_0x43c3b2(0xdd),_0x43c3b2(0xe2),'\x20'];function _0x18b0(_0xf568c6,_0x3e5eb8){const _0x221b89=_0x221b();return _0x18b0=function(_0x18b09c,_0x7ba1ab){_0x18b09c=_0x18b09c-0xb7;let _0xa37af1=_0x221b89[_0x18b09c];return _0xa37af1;},_0x18b0(_0xf568c6,_0x3e5eb8);}export class ScrollManager{[_0x43c3b2(0xbf)];[_0x43c3b2(0xd5)];[_0x43c3b2(0xc2)];[_0x43c3b2(0xdc)];[_0x43c3b2(0xc9)];constructor(_0x68acc7){const _0x32eb03=_0x43c3b2;this[_0x32eb03(0xbf)]=_0x68acc7,this[_0x32eb03(0xd5)]=null,this[_0x32eb03(0xc2)]=!0x1,this[_0x32eb03(0xdc)]=new AbortController(),this[_0x32eb03(0xc9)]=!0x1;for(const _0x393a21 of os){const _0x1c6453=_0x32eb03(0xd8)!==_0x393a21;this[_0x32eb03(0xbf)][_0x32eb03(0xca)](_0x393a21,this[_0x32eb03(0xbe)][_0x32eb03(0xba)](this),{'passive':_0x1c6453,'signal':this[_0x32eb03(0xdc)][_0x32eb03(0xd3)]});}}[_0x43c3b2(0xc4)](){const _0x176afe=_0x43c3b2;this[_0x176afe(0xc2)]||(this[_0x176afe(0xc2)]=!0x0,this[_0x176afe(0xc9)]=!0x1,this[_0x176afe(0xd5)]=requestAnimationFrame(this[_0x176afe(0xd7)][_0x176afe(0xba)](this)));}[_0x43c3b2(0xc1)](){requestAnimationFrame(()=>{const _0x1bca9f=_0x18b0;this[_0x1bca9f(0xd2)]();});}[_0x43c3b2(0xda)](){const _0x157c8f=_0x43c3b2;this[_0x157c8f(0xd2)](),this[_0x157c8f(0xdc)][_0x157c8f(0xd9)]();}[_0x43c3b2(0xd2)](){const _0x5b8edc=_0x43c3b2;null!==this[_0x5b8edc(0xd5)]&&(cancelAnimationFrame(this[_0x5b8edc(0xd5)]),this[_0x5b8edc(0xd5)]=null),this[_0x5b8edc(0xc2)]&&(this[_0x5b8edc(0xc2)]=!0x1),this[_0x5b8edc(0xc9)]=!0x1;}[_0x43c3b2(0xbe)](_0x2a2557){const _0x577cff=_0x43c3b2;if(this[_0x577cff(0xc2)]){if(_0x577cff(0xd8)===_0x2a2557[_0x577cff(0xcb)]){const _0x1ca3de=_0x2a2557[_0x577cff(0xd0)];if(!rs[_0x577cff(0xe0)](_0x1ca3de))return;}_0x2a2557 instanceof WheelEvent?_0x2a2557[_0x577cff(0xdf)]<0x0?this[_0x577cff(0xc9)]=!0x0:this[_0x577cff(0xc9)]=!this[_0x577cff(0xc0)]():this[_0x577cff(0xc9)]=!0x0;}}[_0x43c3b2(0xc0)](){const _0x4eb840=_0x43c3b2,{scrollTop:_0x529d0a,scrollHeight:_0x272252,clientHeight:_0x6c2dbf}=this[_0x4eb840(0xbf)];return _0x272252-_0x529d0a-_0x6c2dbf<=0x5;}[_0x43c3b2(0xd7)](){const _0x10b217=_0x43c3b2;this[_0x10b217(0xc2)]&&(this[_0x10b217(0xc9)]||this[_0x10b217(0xbf)][_0x10b217(0xcc)]({'top':this[_0x10b217(0xbf)][_0x10b217(0xdb)],'behavior':_0x10b217(0xce)}),this[_0x10b217(0xd5)]=requestAnimationFrame(this[_0x10b217(0xd7)][_0x10b217(0xba)](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 _0x5c495f=_0x10c9;function _0x10c9(_0x2e3f83,_0xa91257){var _0x3693d3=_0x3693();return _0x10c9=function(_0x10c986,_0x2fffa5){_0x10c986=_0x10c986-0xb7;var _0x24046a=_0x3693d3[_0x10c986];return _0x24046a;},_0x10c9(_0x2e3f83,_0xa91257);}(function(_0x2aec39,_0x4ea670){var _0x2ef8db=_0x10c9,_0x2da501=_0x2aec39();while(!![]){try{var _0x24b848=-parseInt(_0x2ef8db(0xbf))/0x1*(parseInt(_0x2ef8db(0xb8))/0x2)+parseInt(_0x2ef8db(0xc5))/0x3+parseInt(_0x2ef8db(0xbd))/0x4*(parseInt(_0x2ef8db(0xb7))/0x5)+-parseInt(_0x2ef8db(0xb9))/0x6+parseInt(_0x2ef8db(0xba))/0x7+-parseInt(_0x2ef8db(0xbb))/0x8+-parseInt(_0x2ef8db(0xc2))/0x9*(-parseInt(_0x2ef8db(0xc3))/0xa);if(_0x24b848===_0x4ea670)break;else _0x2da501['push'](_0x2da501['shift']());}catch(_0x112ff0){_0x2da501['push'](_0x2da501['shift']());}}}(_0x3693,0xb7a20));import{ContextPlugin as _0x486123}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x57280b}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x2a77c3}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x486123{static get[_0x5c495f(0xbe)](){return[_0x57280b,_0x2a77c3];}static get[_0x5c495f(0xc0)](){var _0x1c4e34=_0x5c495f;return _0x1c4e34(0xc1);}static get[_0x5c495f(0xbc)](){return!0x0;}static get[_0x5c495f(0xc4)](){return!0x0;}}function _0x3693(){var _0x77d8ca=['1270944BBfnTS','isOfficialPlugin','20ZcyZkx','requires','812459zrobpS','pluginName','AIChatHistory','27uEsXaD','3091640TEalHm','isPremiumPlugin','3250530SzKZoZ','408635gGaddF','2gCwGrb','7963380DnXnpl','4417560SXhGCo'];_0x3693=function(){return _0x77d8ca;};return _0x3693();}
@@ -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
+ const _0x1dcb41=_0x77e5;(function(_0x28ef01,_0x4d5c8a){const _0x1a4e48=_0x77e5,_0x2fbd4a=_0x28ef01();while(!![]){try{const _0x337e6e=-parseInt(_0x1a4e48(0x9d))/0x1+-parseInt(_0x1a4e48(0xc5))/0x2+-parseInt(_0x1a4e48(0x9c))/0x3*(-parseInt(_0x1a4e48(0xab))/0x4)+parseInt(_0x1a4e48(0xa9))/0x5*(parseInt(_0x1a4e48(0x9a))/0x6)+-parseInt(_0x1a4e48(0xbe))/0x7+parseInt(_0x1a4e48(0xb4))/0x8*(-parseInt(_0x1a4e48(0x9f))/0x9)+parseInt(_0x1a4e48(0xae))/0xa;if(_0x337e6e===_0x4d5c8a)break;else _0x2fbd4a['push'](_0x2fbd4a['shift']());}catch(_0x11c7ce){_0x2fbd4a['push'](_0x2fbd4a['shift']());}}}(_0x3bde,0x6c384));import{ContextPlugin as _0x1e5935}from'ckeditor5/src/core.js';import{AIConnector as _0x4f6d4c}from'../aicore/aiconnector.js';import{AIChatController as _0xda986e}from'../aichat/aichatcontroller.js';import{AITabs as _0x506d86}from'../aitabs/aitabs.js';function _0x77e5(_0x43838f,_0x2ceb6b){const _0x3bde61=_0x3bde();return _0x77e5=function(_0x77e500,_0x46d6f9){_0x77e500=_0x77e500-0x64;let _0x54950e=_0x3bde61[_0x77e500];return _0x54950e;},_0x77e5(_0x43838f,_0x2ceb6b);}import{AIChatHistoryUI as _0x596bd3}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x560d00}from'./model/aichathistoryconversations.js';import{getTranslation as _0x4de554}from'../aicore/utils/common-translations.js';function _0x3bde(){const _0x35c72b=['_handleTogglePin','toLocaleDateString','getItems','context','unpin','8DMppeG','getItem','handleRemovedConversation','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','get','AI_CHAT_HISTORY_CATEGORY_LATER','init','itemId','removeItem','showError','5752817mmkLpN','pin','title','itemsLoaded','items','updateItemTitle','change:activeConversation','791976PuubWa','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_setIsMaximized','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','openChat','getMonth','updateItemPinned','setDate','_setItemLoading','_generateErrorMessage','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','remove','AI_CHAT_HISTORY_CATEGORY_PINNED','loadConversation','_aiConnector','activateTab:history','push','requires','chat','length','AI_CHAT_UNTITLED_CONVERSATION','activateTab','isPremiumPlugin','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','locale','setIsMaximized','resize','createdAt','removeConversation','getFullYear','_handleSelectConversation','itemRemoved','updateItems','pinned','rename','itemUpdated','pluginName','_showConversationHistory','view','_aiChatController','getDate','updates','setLoadingSkeleton','loadItems','operation','AI_CHAT_HISTORY_ERROR_GENERIC','map','_getCategorizedItems','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','selectConversation','listenTo','AIChatHistoryController','_aiChatHistoryUi','editConversationTitle','_updateHistoryItemsUI','history','plugins','removeHistoryItem','resizedTabs','6bbsCFP','activeConversation','226080sdgXrI','445917FouWEq','_handleRemove','4426479QMjOev','isOfficialPlugin','AI_CHAT_HISTORY_PIN_ACTION','resizeTabs','_handleHistoryErrorUI','AI_CHAT_HISTORY_UNPIN_ACTION','setConversationPinned','getGroupId','AI_CHAT_HISTORY_CATEGORY_TODAY','updateItemLoadingState','3648860xhFkBn','_clearItemLoading','36sXkZBr','_handleEditTitle','error','11908230ZXMsWT'];_0x3bde=function(){return _0x35c72b;};return _0x3bde();}export class AIChatHistoryController extends _0x1e5935{[_0x1dcb41(0x6d)];[_0x1dcb41(0x93)];[_0x1dcb41(0x86)];static get[_0x1dcb41(0x70)](){return[_0x4f6d4c,_0xda986e,_0x596bd3,_0x506d86];}static get[_0x1dcb41(0x83)](){const _0x31999e=_0x1dcb41;return _0x31999e(0x92);}static get[_0x1dcb41(0xa0)](){return!0x0;}static get[_0x1dcb41(0x75)](){return!0x0;}[_0x1dcb41(0xba)](){const _0x255065=_0x1dcb41;this[_0x255065(0x6d)]=this[_0x255065(0xb2)][_0x255065(0x97)][_0x255065(0xb8)](_0x4f6d4c),this[_0x255065(0x93)]=this[_0x255065(0xb2)][_0x255065(0x97)][_0x255065(0xb8)](_0x596bd3),this[_0x255065(0x86)]=this[_0x255065(0xb2)][_0x255065(0x97)][_0x255065(0xb8)](_0xda986e);const _0x595d8a=this[_0x255065(0xb2)][_0x255065(0x97)][_0x255065(0xb8)](_0x506d86),_0x379d80=this[_0x255065(0x86)][_0x255065(0xa6)]();this[_0x255065(0x96)]=new _0x560d00({'connector':this[_0x255065(0x6d)],'group':_0x379d80}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0x7b),(_0x3ca76d,_0x1139b1)=>{const _0x52a7ef=_0x255065;this[_0x52a7ef(0x67)](_0x1139b1['id'],_0x52a7ef(0x6a)),this[_0x52a7ef(0x9e)](_0x1139b1['id']);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0x94),(_0x40f7a5,_0x38aca0)=>{const _0x393f23=_0x255065;this[_0x393f23(0x67)](_0x38aca0['id'],_0x393f23(0x81)),this[_0x393f23(0xac)](_0x38aca0['id'],_0x38aca0[_0x393f23(0xc0)]);}),this[_0x255065(0x91)](this[_0x255065(0x96)],_0x255065(0x82),(_0x525dcd,_0x13f656)=>{const _0x55f188=_0x255065;void 0x0!==_0x13f656[_0x55f188(0x88)][_0x55f188(0xc0)]&&this[_0x55f188(0x93)][_0x55f188(0xc3)](_0x13f656[_0x55f188(0xbb)],_0x13f656[_0x55f188(0x88)][_0x55f188(0xc0)]),void 0x0!==_0x13f656[_0x55f188(0x88)][_0x55f188(0x80)]&&this[_0x55f188(0x95)](),this[_0x55f188(0xaa)](_0x13f656[_0x55f188(0xbb)]);}),this[_0x255065(0x91)](this[_0x255065(0x96)],_0x255065(0x7e),(_0x53ec68,_0x77f5d8)=>{const _0x3623c1=_0x255065;this[_0x3623c1(0x86)][_0x3623c1(0xb6)](_0x77f5d8[_0x3623c1(0xbb)]),this[_0x3623c1(0x93)][_0x3623c1(0x98)](_0x77f5d8[_0x3623c1(0xbb)]),this[_0x3623c1(0xaa)](_0x77f5d8[_0x3623c1(0xbb)]);}),this[_0x255065(0x91)](this[_0x255065(0x96)],_0x255065(0xc1),()=>{const _0x1df753=_0x255065;this[_0x1df753(0x95)]();}),this[_0x255065(0x91)](this[_0x255065(0x96)],_0x255065(0xad),(_0x440e3e,_0x5c5c78)=>{const _0xf2384e=_0x255065;this[_0xf2384e(0xa3)](_0x5c5c78[_0xf2384e(0xad)],_0x5c5c78[_0xf2384e(0x8b)],_0x5c5c78[_0xf2384e(0xbb)]);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0x90),(_0x11ae5a,_0x65996d)=>{const _0x187855=_0x255065;this[_0x187855(0x7d)](_0x65996d['id']);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0xa5),(_0x2d501a,_0x4fb523)=>{const _0x28057b=_0x255065,_0xa379da=_0x4fb523[_0x28057b(0x80)]?_0x28057b(0xbf):_0x28057b(0xb3);this[_0x28057b(0x67)](_0x4fb523['id'],_0xa379da),this[_0x28057b(0xaf)](_0x4fb523['id'],_0x4fb523[_0x28057b(0x80)]);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0xc9),()=>{const _0x8af3ba=_0x255065;_0x595d8a[_0x8af3ba(0x85)][_0x8af3ba(0x74)](_0x8af3ba(0x71));}),this[_0x255065(0x91)](this[_0x255065(0x86)],_0x255065(0xc4),()=>{const _0x4d2174=_0x255065;this[_0x4d2174(0x95)]();}),_0x595d8a[_0x255065(0x85)]['on'](_0x255065(0x6e),()=>{const _0x1bab0f=_0x255065;this[_0x1bab0f(0x84)]();}),this[_0x255065(0x91)](_0x595d8a,_0x255065(0x99),(_0x51911f,_0x4fa005)=>{const _0x5498f1=_0x255065;this[_0x5498f1(0xc7)](_0x4fa005);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0xa2),()=>{const _0x67da47=_0x255065;_0x595d8a[_0x67da47(0x79)]();});}async[_0x1dcb41(0xac)](_0x270add,_0x499891){const _0x22f041=_0x1dcb41;await this[_0x22f041(0x96)][_0x22f041(0xc3)](_0x270add,_0x499891);}async[_0x1dcb41(0xaf)](_0x46e7a0,_0x24aa1e){const _0x5b4fa6=_0x1dcb41;await this[_0x5b4fa6(0x96)][_0x5b4fa6(0x65)](_0x46e7a0,_0x24aa1e);}async[_0x1dcb41(0x9e)](_0x4d7941){const _0x2b3874=_0x1dcb41;await this[_0x2b3874(0x96)][_0x2b3874(0xbc)](_0x4d7941);}async[_0x1dcb41(0x7d)](_0x4b74ec){const _0x2983cd=_0x1dcb41;await this[_0x2983cd(0x86)][_0x2983cd(0x6c)](_0x4b74ec);}async[_0x1dcb41(0x84)](){const _0x5d79d6=_0x1dcb41;this[_0x5d79d6(0x93)][_0x5d79d6(0xbd)](''),this[_0x5d79d6(0x93)][_0x5d79d6(0x89)](!0x0),await this[_0x5d79d6(0x96)][_0x5d79d6(0xba)](),this[_0x5d79d6(0x93)][_0x5d79d6(0x89)](!0x1);}[_0x1dcb41(0x95)](){const _0x28d8fb=_0x1dcb41,_0x40c5c5=this[_0x28d8fb(0x86)][_0x28d8fb(0x9b)]?.['id'],_0x42b255=this[_0x28d8fb(0x8e)]()[_0x28d8fb(0x8d)](_0x1de72e=>({'title':_0x1de72e[_0x28d8fb(0xc0)],'items':_0x1de72e[_0x28d8fb(0xc2)][_0x28d8fb(0x8d)](_0x56a2e7=>({'id':_0x56a2e7['id'],'title':_0x56a2e7[_0x28d8fb(0xc0)]||_0x4de554(this[_0x28d8fb(0xb2)][_0x28d8fb(0x77)],_0x28d8fb(0x73)),'createdAt':new Date(_0x56a2e7[_0x28d8fb(0x7a)])[_0x28d8fb(0xb0)](),'active':_0x56a2e7['id']===_0x40c5c5,'pinned':_0x56a2e7[_0x28d8fb(0x80)]}))}));this[_0x28d8fb(0x93)][_0x28d8fb(0x7f)](_0x42b255);}[_0x1dcb41(0x67)](_0x2a8517,_0x58d5f6){const _0x12b0dc=_0x1dcb41;this[_0x12b0dc(0x93)][_0x12b0dc(0xa8)](_0x2a8517,_0x58d5f6,!0x0);}[_0x1dcb41(0xaa)](_0x535df4){const _0x201658=_0x1dcb41;this[_0x201658(0x93)][_0x201658(0xa8)](_0x535df4,null,!0x1);}[_0x1dcb41(0xa3)](_0x4b2818,_0x58f44f,_0x418a64){const _0xc94259=_0x1dcb41,_0x385cca=this[_0xc94259(0x68)](_0x58f44f,_0x418a64);this[_0xc94259(0x93)][_0xc94259(0xbd)](_0x385cca),_0x418a64&&this[_0xc94259(0xaa)](_0x418a64),this[_0xc94259(0x93)][_0xc94259(0x89)](!0x1);}[_0x1dcb41(0x68)](_0x306d82,_0xa0e2df){const _0x5bf0ff=_0x1dcb41,_0x47eb20=_0xa0e2df?this[_0x5bf0ff(0x96)][_0x5bf0ff(0xb5)](_0xa0e2df):null,_0x33f532=_0x47eb20?.[_0x5bf0ff(0xc0)]||_0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0x73));switch(_0x306d82){case _0x5bf0ff(0xc3):return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0xb7),_0x33f532);case _0x5bf0ff(0x65):{const _0x34c684=_0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x47eb20?.[_0x5bf0ff(0x80)]?_0x5bf0ff(0xa4):_0x5bf0ff(0xa1));return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0x8f),[_0x34c684,_0x33f532]);}case _0x5bf0ff(0xbc):return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0x76),_0x33f532);case _0x5bf0ff(0xba):case _0x5bf0ff(0x8a):return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0xc8));default:return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0x8c));}}[_0x1dcb41(0x8e)](){const _0x1c6907=_0x1dcb41,_0x18e3a7=new Date(),_0x3aea96=new Date(_0x18e3a7[_0x1c6907(0x7c)](),_0x18e3a7[_0x1c6907(0x64)](),_0x18e3a7[_0x1c6907(0x87)]()),_0x43d0ff=new Date(_0x3aea96);_0x43d0ff[_0x1c6907(0x66)](_0x43d0ff[_0x1c6907(0x87)]()-0x1);const _0x2ffe3b=new Date(_0x3aea96);_0x2ffe3b[_0x1c6907(0x66)](_0x2ffe3b[_0x1c6907(0x87)]()-0xe);const _0x441345=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'pinned':!0x0}),_0x25ffcd=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'from':_0x3aea96,'to':_0x3aea96}),_0x56b115=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'from':_0x43d0ff,'to':_0x43d0ff}),_0x202c51=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'from':_0x2ffe3b,'to':_0x43d0ff}),_0x3c9772=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'to':_0x2ffe3b}),_0x510d7e=[];return _0x441345[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0x6b)),'items':_0x441345}),_0x25ffcd[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0xa7)),'items':_0x25ffcd}),_0x56b115[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0x69)),'items':_0x56b115}),_0x202c51[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0xc6)),'items':_0x202c51}),_0x3c9772[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0xb9)),'items':_0x3c9772}),_0x510d7e;}[_0x1dcb41(0xc7)](_0x5abef9){const _0x105f25=_0x1dcb41;this[_0x105f25(0x93)][_0x105f25(0x78)](_0x5abef9);}}
@@ -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 _0x5d28ac=_0x3bf2;(function(_0x54516a,_0x4da318){const _0x1264ab=_0x3bf2,_0x3cc644=_0x54516a();while(!![]){try{const _0x3a7578=-parseInt(_0x1264ab(0x8e))/0x1*(-parseInt(_0x1264ab(0x86))/0x2)+parseInt(_0x1264ab(0x77))/0x3*(-parseInt(_0x1264ab(0x99))/0x4)+parseInt(_0x1264ab(0x81))/0x5*(parseInt(_0x1264ab(0x7c))/0x6)+-parseInt(_0x1264ab(0x76))/0x7*(-parseInt(_0x1264ab(0x7d))/0x8)+-parseInt(_0x1264ab(0x94))/0x9*(parseInt(_0x1264ab(0x9b))/0xa)+-parseInt(_0x1264ab(0x90))/0xb+parseInt(_0x1264ab(0x7b))/0xc*(parseInt(_0x1264ab(0xa2))/0xd);if(_0x3a7578===_0x4da318)break;else _0x3cc644['push'](_0x3cc644['shift']());}catch(_0x5212bc){_0x3cc644['push'](_0x3cc644['shift']());}}}(_0x2dd8,0x82713));import{ContextPlugin as _0x5edbc5}from'ckeditor5/src/core.js';import{AITabs as _0x3fc1a2}from'../aitabs/aitabs.js';import{IconAIHistory as _0x1bda54}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x89a72f}from'./ui/aichathistoryview.js';function _0x3bf2(_0x77caa3,_0x535057){const _0x2dd8a4=_0x2dd8();return _0x3bf2=function(_0x3bf287,_0x5d2cb3){_0x3bf287=_0x3bf287-0x75;let _0x428dc3=_0x2dd8a4[_0x3bf287];return _0x428dc3;},_0x3bf2(_0x77caa3,_0x535057);}function _0x2dd8(){const _0xfd0e82=['openChat','showConversationHistory','resizeTabs','requires','52787WQZTvw','315GbqRQk','get','delegate','errorMessage','12XlwfsX','1092PsQNpR','728JCiVct','pluginName','updateHistoryItemsWithCategories','setConversationPinned','17215Dgieoi','setLoadingSkeleton','locale','hideError','plugins','6dFrhpQ','editConversationTitle','removeHistoryItem','isPremiumPlugin','updateItemTitle','updateItemLoadingState','setIsMaximized','AITabs','104767HVnbSR','showError','9877351VhSinL','updateItems','removeConversation','isOfficialPlugin','165213LVstRJ','_historyView','isLoading','context','view','11820HGjSIb','addTab','270sOvBxp','isMaximized','selectConversation','history','AIChatHistoryUI','AI_CHAT_HISTORY_HEADING','showResizeButton','7942844BCzQIb'];_0x2dd8=function(){return _0xfd0e82;};return _0x2dd8();}import{getTranslation as _0x510a65}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x5d28ac(0xa4),_0x5d28ac(0x92),_0x5d28ac(0x87),_0x5d28ac(0x80),_0x5d28ac(0x9d),_0x5d28ac(0xa3),_0x5d28ac(0xa5)];export class AIChatHistoryUI extends _0x5edbc5{static get[_0x5d28ac(0x75)](){return[_0x3fc1a2];}[_0x5d28ac(0x95)];static get[_0x5d28ac(0x7e)](){const _0x1fca27=_0x5d28ac;return _0x1fca27(0x9f);}static get[_0x5d28ac(0x93)](){return!0x0;}static get[_0x5d28ac(0x89)](){return!0x0;}constructor(_0x287eba){const _0x2ddf72=_0x5d28ac;super(_0x287eba);const _0x1eade2=this[_0x2ddf72(0x97)][_0x2ddf72(0x85)][_0x2ddf72(0x78)](_0x2ddf72(0x8d));this[_0x2ddf72(0x95)]=new _0x89a72f(this[_0x2ddf72(0x97)][_0x2ddf72(0x83)],_0x1eade2[_0x2ddf72(0xa1)]),this[_0x2ddf72(0x95)][_0x2ddf72(0x79)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x1eade2[_0x2ddf72(0x98)][_0x2ddf72(0x9a)]({'id':_0x2ddf72(0x9e),'buttonLabel':_0x510a65(this[_0x2ddf72(0x97)][_0x2ddf72(0x83)],_0x2ddf72(0xa0)),'buttonIcon':_0x1bda54,'order':0x0,'content':this[_0x2ddf72(0x95)]});}[_0x5d28ac(0x88)](_0x8f483f){const _0x5c5885=_0x5d28ac;this[_0x5c5885(0x95)][_0x5c5885(0x88)](_0x8f483f);}[_0x5d28ac(0x91)](_0x15d17f){const _0x3ef6f0=_0x5d28ac;this[_0x3ef6f0(0x95)][_0x3ef6f0(0x7f)](_0x15d17f);}[_0x5d28ac(0x8a)](_0x1dc700,_0x1e47b6){const _0x40005a=_0x5d28ac;this[_0x40005a(0x95)][_0x40005a(0x8a)](_0x1dc700,_0x1e47b6);}[_0x5d28ac(0x8b)](_0x50b237,_0x3a75bb,_0xc1d6dd){const _0x3668ea=_0x5d28ac;this[_0x3668ea(0x95)][_0x3668ea(0x8b)](_0x50b237,_0x3a75bb,_0xc1d6dd);}[_0x5d28ac(0x82)](_0x2090e9){const _0x34399c=_0x5d28ac;this[_0x34399c(0x95)][_0x34399c(0x96)]=_0x2090e9;}[_0x5d28ac(0x8f)](_0x3944a6){const _0x8a2d46=_0x5d28ac;this[_0x8a2d46(0x95)][_0x8a2d46(0x7a)]=_0x3944a6;}[_0x5d28ac(0x84)](){const _0x5e287f=_0x5d28ac;this[_0x5e287f(0x95)][_0x5e287f(0x7a)]='';}[_0x5d28ac(0x8c)](_0x45b653){const _0xa94624=_0x5d28ac;this[_0xa94624(0x95)][_0xa94624(0x9c)]=_0x45b653;}}
@@ -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
+ const _0xd68a82=_0x1171;(function(_0x5183f1,_0x1d3eca){const _0x597e78=_0x1171,_0x520d1c=_0x5183f1();while(!![]){try{const _0x297726=-parseInt(_0x597e78(0x121))/0x1+parseInt(_0x597e78(0x10a))/0x2*(-parseInt(_0x597e78(0x107))/0x3)+-parseInt(_0x597e78(0xfe))/0x4+parseInt(_0x597e78(0x101))/0x5+parseInt(_0x597e78(0x114))/0x6*(-parseInt(_0x597e78(0x128))/0x7)+parseInt(_0x597e78(0x115))/0x8+-parseInt(_0x597e78(0x102))/0x9*(-parseInt(_0x597e78(0x10c))/0xa);if(_0x297726===_0x1d3eca)break;else _0x520d1c['push'](_0x520d1c['shift']());}catch(_0x19bd36){_0x520d1c['push'](_0x520d1c['shift']());}}}(_0x4933,0x8e1bd));function _0x1171(_0x5b37ac,_0x74ce3b){const _0x49333e=_0x4933();return _0x1171=function(_0x117131,_0x4c1811){_0x117131=_0x117131-0xfe;let _0xc779f2=_0x49333e[_0x117131];return _0xc779f2;},_0x1171(_0x5b37ac,_0x74ce3b);}import{EmitterMixin as _0x3a18ad}from'ckeditor5/src/utils.js';function _0x4933(){const _0x257bf7=['filter','items','getItem','createdAt','updateItemPinned','push','connector','fetchConversations','execute','fire','itemsLoaded','491827bfmihG','addItem','find','getFullYear','getItems','splice','updateConversation','203GDONdn','removeItem','loadItems','updateItemTitle','getDate','3435200rZJnkH','error','init','4158620oubxPt','5188356pnjsKz','from','group','getResult','getTime','33582SDBBPL','updatePinned','map','34ZJLUho','updateTitle','40qfOOWA','pinned','findIndex','getMonth','itemRemoved','itemUpdated','deleteConversation','getConversations','227928PUhwLe','695952dYFAuu'];_0x4933=function(){return _0x257bf7;};return _0x4933();}import{AIChatHistoryItem as _0x18fb97}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x3a18ad(){[_0xd68a82(0x117)]=[];[_0xd68a82(0x11c)];[_0xd68a82(0x104)];constructor({connector:_0x5bb214,group:_0x4dc6b0}){const _0x16842e=_0xd68a82;super(),this[_0x16842e(0x11c)]=_0x5bb214,this[_0x16842e(0x104)]=_0x4dc6b0;}async[_0xd68a82(0x100)](){const _0x37c8aa=_0xd68a82;try{const _0x326de3=this[_0x37c8aa(0x11c)][_0x37c8aa(0x11d)](this[_0x37c8aa(0x104)]),_0x47fa4f=await _0x326de3[_0x37c8aa(0x113)]();this[_0x37c8aa(0x12a)](_0x47fa4f);}catch(_0x294726){this[_0x37c8aa(0x11f)](_0x37c8aa(0xff),{'error':_0x294726,'operation':_0x37c8aa(0x100)});}}[_0xd68a82(0x122)](_0x3025fc){const _0x444b15=_0xd68a82;this[_0x444b15(0x117)][_0x444b15(0x11b)](_0x3025fc);}async[_0xd68a82(0x129)](_0x58e302){const _0x2b35a3=_0xd68a82,_0x47b402=this[_0x2b35a3(0x117)][_0x2b35a3(0x10e)](_0xd83ffa=>_0xd83ffa['id']===_0x58e302);if(-0x1===_0x47b402)return!0x1;try{return await this[_0x2b35a3(0x11c)][_0x2b35a3(0x112)](_0x58e302)[_0x2b35a3(0x11e)](),this[_0x2b35a3(0x117)][_0x2b35a3(0x126)](_0x47b402,0x1),this[_0x2b35a3(0x11f)](_0x2b35a3(0x110),{'itemId':_0x58e302}),!0x0;}catch(_0x50c24a){return this[_0x2b35a3(0x11f)](_0x2b35a3(0xff),{'error':_0x50c24a,'operation':_0x2b35a3(0x129),'itemId':_0x58e302}),!0x1;}}[_0xd68a82(0x118)](_0x2a3967){const _0x643878=_0xd68a82;return this[_0x643878(0x117)][_0x643878(0x123)](_0xf052cd=>_0xf052cd['id']===_0x2a3967);}async[_0xd68a82(0x12b)](_0x49116b,_0x2e8857){const _0x5bb8ac=_0xd68a82,_0x3e7952=this[_0x5bb8ac(0x118)](_0x49116b);if(!_0x3e7952)return!0x1;try{return await this[_0x5bb8ac(0x11c)][_0x5bb8ac(0x127)](_0x49116b,{'title':_0x2e8857})[_0x5bb8ac(0x105)](),_0x3e7952[_0x5bb8ac(0x10b)](_0x2e8857),this[_0x5bb8ac(0x11f)](_0x5bb8ac(0x111),{'itemId':_0x49116b,'updates':{'title':_0x2e8857}}),!0x0;}catch(_0x5a0c62){return this[_0x5bb8ac(0x11f)](_0x5bb8ac(0xff),{'error':_0x5a0c62,'operation':_0x5bb8ac(0x12b),'itemId':_0x49116b}),!0x1;}}async[_0xd68a82(0x11a)](_0x262755,_0x284a9a){const _0x16ad81=_0xd68a82,_0x34b398=this[_0x16ad81(0x118)](_0x262755);if(!_0x34b398)return!0x1;try{return await this[_0x16ad81(0x11c)][_0x16ad81(0x127)](_0x262755,{'pinned':_0x284a9a})[_0x16ad81(0x105)](),_0x34b398[_0x16ad81(0x108)](_0x284a9a),this[_0x16ad81(0x11f)](_0x16ad81(0x111),{'itemId':_0x262755,'updates':{'pinned':_0x284a9a}}),!0x0;}catch(_0xc080e5){return this[_0x16ad81(0x11f)](_0x16ad81(0xff),{'error':_0xc080e5,'operation':_0x16ad81(0x11a),'itemId':_0x262755}),!0x1;}}[_0xd68a82(0x12a)](_0x3f1343){const _0x3a9a88=_0xd68a82;try{this[_0x3a9a88(0x117)]=[],_0x3f1343[_0x3a9a88(0x109)](_0x453f78=>{const _0x4f8f5e=_0x3a9a88;this[_0x4f8f5e(0x122)](new _0x18fb97(_0x453f78));}),this[_0x3a9a88(0x11f)](_0x3a9a88(0x120),{'items':[...this[_0x3a9a88(0x117)]]});}catch(_0x3f92ee){this[_0x3a9a88(0x11f)](_0x3a9a88(0xff),{'error':_0x3f92ee,'operation':_0x3a9a88(0x12a)});}}[_0xd68a82(0x125)](_0x3e87f3={}){const _0x1317ac=_0xd68a82,_0x1ae354=void 0x0!==_0x3e87f3[_0x1317ac(0x10d)]&&_0x3e87f3[_0x1317ac(0x10d)],_0x1396e0=_0x3e87f3[_0x1317ac(0x103)]?new Date(_0x3e87f3[_0x1317ac(0x103)][_0x1317ac(0x124)](),_0x3e87f3[_0x1317ac(0x103)][_0x1317ac(0x10f)](),_0x3e87f3[_0x1317ac(0x103)][_0x1317ac(0x12c)]()):null,_0x2f8d53=_0x3e87f3['to']?new Date(_0x3e87f3['to'][_0x1317ac(0x124)](),_0x3e87f3['to'][_0x1317ac(0x10f)](),_0x3e87f3['to'][_0x1317ac(0x12c)]()):null;return this[_0x1317ac(0x117)][_0x1317ac(0x116)](_0x1e41e8=>{const _0x7d41cb=_0x1317ac;if(_0x1e41e8[_0x7d41cb(0x10d)]!==_0x1ae354)return!0x1;if(_0x2f8d53){const _0x196bd3=new Date(_0x1e41e8[_0x7d41cb(0x119)][_0x7d41cb(0x124)](),_0x1e41e8[_0x7d41cb(0x119)][_0x7d41cb(0x10f)](),_0x1e41e8[_0x7d41cb(0x119)][_0x7d41cb(0x12c)]());return _0x1396e0?_0x1396e0[_0x7d41cb(0x106)]()===_0x2f8d53[_0x7d41cb(0x106)]()?_0x196bd3[_0x7d41cb(0x106)]()===_0x1396e0[_0x7d41cb(0x106)]():_0x196bd3<_0x2f8d53&&_0x196bd3>=_0x1396e0:_0x196bd3<_0x2f8d53;}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 _0x6496a=_0xd51f;(function(_0xde426b,_0x4305a8){var _0x432376=_0xd51f,_0x427d55=_0xde426b();while(!![]){try{var _0x391041=parseInt(_0x432376(0x1d4))/0x1+-parseInt(_0x432376(0x1d8))/0x2+parseInt(_0x432376(0x1d9))/0x3*(-parseInt(_0x432376(0x1d6))/0x4)+parseInt(_0x432376(0x1d2))/0x5*(parseInt(_0x432376(0x1cf))/0x6)+parseInt(_0x432376(0x1ce))/0x7*(parseInt(_0x432376(0x1c8))/0x8)+-parseInt(_0x432376(0x1d0))/0x9+-parseInt(_0x432376(0x1d3))/0xa*(-parseInt(_0x432376(0x1c9))/0xb);if(_0x391041===_0x4305a8)break;else _0x427d55['push'](_0x427d55['shift']());}catch(_0x578bac){_0x427d55['push'](_0x427d55['shift']());}}}(_0x561b,0x5fb51));function _0x561b(){var _0x364e43=['set','33112AplXXG','pinned','341900RMRmoo','186mhjMzv','4704808kBRXvv','11ZffAtQ','title','updateTitle','createdAt','updatePinned','7agbSOz','6Jwriqa','5113089oXOtcQ','updatedAt','2387355CAWHgw','5026810RFnAvC','76071ZVYGVW'];_0x561b=function(){return _0x364e43;};return _0x561b();}import{ObservableMixin as _0x3b714a}from'ckeditor5/src/utils.js';import{escape as _0x3190e9}from'es-toolkit/compat';function _0xd51f(_0x45b13e,_0xfe8701){var _0x561b35=_0x561b();return _0xd51f=function(_0xd51f69,_0x48a0c4){_0xd51f69=_0xd51f69-0x1c8;var _0x1e95b9=_0x561b35[_0xd51f69];return _0x1e95b9;},_0xd51f(_0x45b13e,_0xfe8701);}export class AIChatHistoryItem extends _0x3b714a(){['id'];[_0x6496a(0x1cc)];constructor({id:_0x346d94,title:_0x454d39,createdAt:_0x27b79f,updatedAt:_0x6c3aff,pinned:_0x2eadc5}){var _0x15c7c1=_0x6496a;super(),this['id']=_0x346d94,this[_0x15c7c1(0x1cc)]=new Date(_0x27b79f),this[_0x15c7c1(0x1d5)](_0x15c7c1(0x1ca),_0x454d39),this[_0x15c7c1(0x1d5)](_0x15c7c1(0x1d1),_0x6c3aff?new Date(_0x6c3aff):null),this[_0x15c7c1(0x1d5)](_0x15c7c1(0x1d7),_0x2eadc5||!0x1);}[_0x6496a(0x1cb)](_0x128d62){var _0x27f2d3=_0x6496a;this[_0x27f2d3(0x1d5)](_0x27f2d3(0x1ca),_0x3190e9(_0x128d62)),this[_0x27f2d3(0x1d1)]=new Date();}[_0x6496a(0x1cd)](_0x1ed46e){var _0x2de692=_0x6496a;this[_0x2de692(0x1d5)](_0x2de692(0x1d7),_0x1ed46e),this[_0x2de692(0x1d1)]=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 _0x37b60a=_0x1cab;(function(_0x3428c6,_0x54559a){const _0x1e4385=_0x1cab,_0x5af66e=_0x3428c6();while(!![]){try{const _0x1067d2=parseInt(_0x1e4385(0x1dc))/0x1*(-parseInt(_0x1e4385(0x1d2))/0x2)+parseInt(_0x1e4385(0x1c7))/0x3*(-parseInt(_0x1e4385(0x1d4))/0x4)+-parseInt(_0x1e4385(0x1a0))/0x5*(-parseInt(_0x1e4385(0x1ec))/0x6)+parseInt(_0x1e4385(0x1ba))/0x7*(-parseInt(_0x1e4385(0x1c4))/0x8)+parseInt(_0x1e4385(0x19f))/0x9+parseInt(_0x1e4385(0x1aa))/0xa*(parseInt(_0x1e4385(0x19e))/0xb)+parseInt(_0x1e4385(0x1c1))/0xc*(parseInt(_0x1e4385(0x1cb))/0xd);if(_0x1067d2===_0x54559a)break;else _0x5af66e['push'](_0x5af66e['shift']());}catch(_0x1184d5){_0x5af66e['push'](_0x5af66e['shift']());}}}(_0x39d3,0xd6f7f));import{ListItemView as _0x537c4e,HighlightedTextView as _0x61aa71,ButtonView as _0x17ebc1,ListView as _0x295738,IconView as _0x51a1cc,createDropdown as _0x273f3a,InputTextView as _0x14bac9}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x1b16d9,IconPin as _0x2433ba,IconCheck as _0x1d6ea9,IconCancel as _0x27deff}from'ckeditor5/src/icons.js';function _0x39d3(){const _0x353c78=['selectConversation','add','_commitEditInputValue','span','withText','execute','pinned','removeConversation','locale','panelView','edit:cancel','AI_CHAT_HISTORY_LOADING_REMOVING','1439368NwSJnu','tiny','ck-ai-chat-history__item','ck-ai-chat-history__item--edit','ck-ai-chat-history__item-title','ck-ai-chat-history__item-main-content','_createCheckView','6816aqqaoY','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','isEdit','56kAnsyO','set','change:isEdit','87SjDIPn','isMatching','ck-ai-chat-history__item-check-container','text','10504thMfKf','ck-ai-chat-history__item-content','LOADING_LABELS','_createCancelEditButtonView','buttonView','bindTemplate','ck-ai-chat-history__item-check','474pbixCg','div','51820RZCWAN','editConversationTitle','ck-ai-loader','ck-ai-chat-history__item-date','AI_CHAT_HISTORY_LOADING_PINNING','highlightText','then','match','1934Bnouya','actions','key','ck-ai-loader__text','AI_CHAT_HISTORY_LOADING_RENAMING','ck-confirm-view-cancel','_createAcceptEditButtonView','listitem','_createMenuDropdownView','ck-hidden','_titleView','AI_CHAT_HISTORY_ACCEPT','updateTitle','children','isOn','isVisible','4509876YyAfKF','AI_CHAT_HISTORY_REMOVE','value','focus','items','bind','label','string','ck-confirm-view-submit','setConversationPinned','addMany','_createPinButtonView','ck-ai-chat-history__item-row','ck-ai-chat-history__item-actions','AI_CHAT_HISTORY_LOADING_UNPINNING','setTemplate','showConfirm','AI_CHAT_HISTORY_CANCEL','createCollection','updateLoadingState','click','AI_CHAT_HISTORY_PIN_BUTTON','panelPosition','14995013ybRKWh','5221431PqYkiO','5ocJybc','loadingState','Enter','_createSpinnerView','AI_CHAT_HISTORY_EDIT_NAME','element','ck-ai-chat-history__item--active','mainContent','_createEditInputView','clear','10OsCdtF','extendTemplate','AI_CHAT_HISTORY_REMOVE_CONFIRM','fire'];_0x39d3=function(){return _0x353c78;};return _0x39d3();}function _0x1cab(_0x43904e,_0x31ef0f){const _0x39d363=_0x39d3();return _0x1cab=function(_0x1cabb6,_0x1a1717){_0x1cabb6=_0x1cabb6-0x199;let _0x547ae7=_0x39d363[_0x1cabb6];return _0x547ae7;},_0x1cab(_0x43904e,_0x31ef0f);}import{LateFocusDropdownButtonView as _0x1a371b,ConfirmMixin as _0x2dc784}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x2154a3}from'es-toolkit/compat';import{AISpinnerView as _0xf58759}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x1a3352}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends _0x2dc784(_0x537c4e){['id'];static [_0x37b60a(0x1cd)]={'remove':_0x37b60a(0x1b9),'rename':_0x37b60a(0x1e0),'pin':_0x37b60a(0x1d8),'unpin':_0x37b60a(0x1fa)};[_0x37b60a(0x1dd)];[_0x37b60a(0x1a7)];[_0x37b60a(0x1e6)];constructor(_0x3109cc,_0x1124ae){const _0x168cf1=_0x37b60a;super(_0x3109cc);const _0x5d3fad=this[_0x168cf1(0x1d0)];this[_0x168cf1(0x1c5)](_0x168cf1(0x1c3),!0x1),this[_0x168cf1(0x1c5)](_0x168cf1(0x1eb),!0x0),this[_0x168cf1(0x1c5)](_0x168cf1(0x1b4),!!_0x1124ae[_0x168cf1(0x1b4)]),this[_0x168cf1(0x1c5)](_0x168cf1(0x1a1),null),this['id']=_0x1124ae['id'];const {title:_0x13bd75,createdAt:_0x32c106,active:_0xfe0e79=!0x1}=_0x1124ae;this[_0x168cf1(0x1e6)]=new _0x61aa71(),this[_0x168cf1(0x1e6)][_0x168cf1(0x1ca)]=_0x13bd75,this[_0x168cf1(0x1e6)][_0x168cf1(0x1ab)]({'attributes':{'class':[_0x168cf1(0x1be)]}});const _0x58ead2=this[_0x168cf1(0x1c0)](),_0x188bbf=this[_0x168cf1(0x1f7)](_0x3109cc),_0x2982b2=this[_0x168cf1(0x1e4)](),_0x1e843c=this[_0x168cf1(0x1a8)](_0x3109cc,_0x13bd75),_0x21e613=this[_0x168cf1(0x1e2)](_0x3109cc,_0x1e843c),_0x49d87c=this[_0x168cf1(0x1ce)](_0x3109cc,_0x1e843c);this[_0x168cf1(0x1dd)]=this[_0x168cf1(0x199)](),this[_0x168cf1(0x1a7)]=this[_0x168cf1(0x199)](),this[_0x168cf1(0x1a7)][_0x168cf1(0x1af)](this[_0x168cf1(0x1e6)]),this[_0x168cf1(0x1dd)][_0x168cf1(0x1af)](_0x188bbf),this[_0x168cf1(0x1dd)][_0x168cf1(0x1af)](_0x2982b2),this['on'](_0x168cf1(0x1c6),(_0x4b0a77,_0x3b3a9c,_0x4fb97d)=>{const _0x594bf6=_0x168cf1;this[_0x594bf6(0x1dd)][_0x594bf6(0x1a9)](),this[_0x594bf6(0x1a7)][_0x594bf6(0x1a9)](),_0x4fb97d?(this[_0x594bf6(0x1dd)][_0x594bf6(0x1af)](_0x21e613),this[_0x594bf6(0x1dd)][_0x594bf6(0x1af)](_0x49d87c),this[_0x594bf6(0x1a7)][_0x594bf6(0x1af)](_0x1e843c),_0x1e843c[_0x594bf6(0x1a5)][_0x594bf6(0x1ef)]()):(this[_0x594bf6(0x1dd)][_0x594bf6(0x1af)](_0x188bbf),this[_0x594bf6(0x1dd)][_0x594bf6(0x1af)](_0x2982b2),this[_0x594bf6(0x1a7)][_0x594bf6(0x1af)](this[_0x594bf6(0x1e6)]));}),this[_0x168cf1(0x1fb)]({'tag':'li','attributes':{'class':[_0x168cf1(0x1bc),_0xfe0e79?_0x168cf1(0x1a6):'',_0x5d3fad['if'](_0x168cf1(0x1eb),_0x168cf1(0x1e5),_0x41ae3b=>!_0x41ae3b),_0x5d3fad['if'](_0x168cf1(0x1c3),_0x168cf1(0x1bd))],'role':_0x168cf1(0x1e3)},'children':[{'tag':_0x168cf1(0x1b1),'attributes':{'class':[_0x168cf1(0x1c9)]},'children':[{'tag':_0x168cf1(0x1d3),'attributes':{'class':[_0x168cf1(0x1d1),_0x5d3fad['if'](_0x168cf1(0x1a1),_0x168cf1(0x1e5),_0x307f6b=>!!_0x307f6b)]},'children':_0xfe0e79?[_0x58ead2]:[]},{'tag':_0x168cf1(0x1d3),'attributes':{'class':[_0x168cf1(0x1d6),_0x5d3fad['if'](_0x168cf1(0x1a1),_0x168cf1(0x1e5),_0x4e311f=>!_0x4e311f)]},'children':[this[_0x168cf1(0x1a3)]()]}]},{'tag':_0x168cf1(0x1d3),'attributes':{'class':[_0x168cf1(0x1f8)]},'children':[{'tag':_0x168cf1(0x1d3),'attributes':{'class':[_0x168cf1(0x1cc)]},'on':{'click':this[_0x168cf1(0x1d0)]['to'](_0x168cf1(0x19b))},'children':[{'tag':_0x168cf1(0x1d3),'attributes':{'class':[_0x168cf1(0x1bf)]},'children':[{'tag':_0x168cf1(0x1d3),'attributes':{'class':[_0x168cf1(0x1be),_0x5d3fad['if'](_0x168cf1(0x1a1),_0x168cf1(0x1e5),_0x48dced=>!!_0x48dced)]},'children':this[_0x168cf1(0x1a7)]},{'tag':_0x168cf1(0x1d3),'attributes':{'class':[_0x168cf1(0x1df),_0x5d3fad['if'](_0x168cf1(0x1a1),_0x168cf1(0x1e5),_0x2f354a=>!_0x2f354a)]},'children':[{'text':_0x5d3fad['to'](_0x168cf1(0x1a1),_0x3d2eaa=>_0x3d2eaa?_0x1a3352(this[_0x168cf1(0x1b6)],AIChatHistoryListItemView[_0x168cf1(0x1cd)][_0x3d2eaa]):'')}]}]},{'tag':_0x168cf1(0x1b1),'attributes':{'class':[_0x168cf1(0x1d7)]},'children':[_0x32c106]}]},{'tag':_0x168cf1(0x1d3),'attributes':{'class':[_0x168cf1(0x1f9)]},'children':this[_0x168cf1(0x1dd)]}]}]}),this['on'](_0x168cf1(0x19b),()=>{const _0x258c00=_0x168cf1;this[_0x258c00(0x1c3)]||this[_0x258c00(0x1ad)](_0x258c00(0x1ae),{'id':this['id']});});}[_0x37b60a(0x1e8)](_0x550a2d){const _0x58858c=_0x37b60a;this[_0x58858c(0x1e6)][_0x58858c(0x1ca)]=_0x2154a3(_0x550a2d);}[_0x37b60a(0x19a)](_0x1146d5,_0x5dcf6c){const _0x19ebaa=_0x37b60a;this[_0x19ebaa(0x1c5)](_0x19ebaa(0x1a1),_0x5dcf6c?_0x1146d5:null);}[_0x37b60a(0x1c0)](){const _0xed3bc4=_0x37b60a,_0x330c70=new _0x51a1cc();return _0x330c70[_0xed3bc4(0x1c5)]({'content':_0x1d6ea9}),_0x330c70;}[_0x37b60a(0x1f7)](_0x5163d0){const _0x2f08ca=_0x37b60a,_0x218ec2=new _0x17ebc1(_0x5163d0);return _0x218ec2[_0x2f08ca(0x1c5)]({'label':_0x1a3352(_0x5163d0,_0x2f08ca(0x19c)),'icon':_0x2433ba,'withText':!0x1,'tooltip':!0x0}),_0x218ec2[_0x2f08ca(0x1f1)](_0x2f08ca(0x1ea))['to'](this,_0x2f08ca(0x1b4)),_0x218ec2['on'](_0x2f08ca(0x1b3),()=>{const _0x23cca6=_0x2f08ca,_0x124b26=!this[_0x23cca6(0x1b4)];this[_0x23cca6(0x1ad)](_0x23cca6(0x1f5),{'id':this['id'],'pinned':_0x124b26});}),_0x218ec2;}[_0x37b60a(0x1e4)](){const _0x4813f0=_0x37b60a,_0x5256a6=_0x273f3a(this[_0x4813f0(0x1b6)],_0x1a371b),_0x3d6a97=_0x5256a6[_0x4813f0(0x1b7)][_0x4813f0(0x1e9)];_0x5256a6[_0x4813f0(0x1cf)][_0x4813f0(0x1c5)]({'label':_0x1a3352(this[_0x4813f0(0x1b6)],_0x4813f0(0x1c2)),'icon':_0x1b16d9}),_0x5256a6[_0x4813f0(0x19d)]='sw';const _0xa18ed0=new _0x17ebc1(this[_0x4813f0(0x1b6)]);_0xa18ed0[_0x4813f0(0x1f2)]=_0x1a3352(this[_0x4813f0(0x1b6)],_0x4813f0(0x1a4)),_0xa18ed0[_0x4813f0(0x1b2)]=!0x0,_0xa18ed0['on'](_0x4813f0(0x1b3),()=>{const _0x5dbeef=_0x4813f0;this[_0x5dbeef(0x1c3)]=!0x0;});const _0x37acca=new _0x17ebc1(this[_0x4813f0(0x1b6)]);_0x37acca[_0x4813f0(0x1f2)]=_0x1a3352(this[_0x4813f0(0x1b6)],_0x4813f0(0x1ed)),_0x37acca[_0x4813f0(0x1b2)]=!0x0,_0x37acca['on'](_0x4813f0(0x1b3),()=>{const _0x3c6110=_0x4813f0;this[_0x3c6110(0x1fc)](_0x1a3352(this[_0x3c6110(0x1b6)],_0x3c6110(0x1ac)),this[_0x3c6110(0x1a5)])[_0x3c6110(0x1da)](()=>{const _0x560e69=_0x3c6110;this[_0x560e69(0x1ad)](_0x560e69(0x1b5),{'id':this['id']});});});const _0x2a227b=new _0x295738(this[_0x4813f0(0x1b6)]),_0x286ee6=new _0x537c4e(this[_0x4813f0(0x1b6)]);_0x286ee6[_0x4813f0(0x1e9)][_0x4813f0(0x1af)](_0xa18ed0);const _0x4dfaf1=new _0x537c4e(this[_0x4813f0(0x1b6)]);return _0x4dfaf1[_0x4813f0(0x1e9)][_0x4813f0(0x1af)](_0x37acca),_0x2a227b[_0x4813f0(0x1f0)][_0x4813f0(0x1f6)]([_0x286ee6,_0x4dfaf1]),_0x3d6a97[_0x4813f0(0x1af)](_0x2a227b),_0x5256a6;}[_0x37b60a(0x1a8)](_0x42775e,_0x329418){const _0x3db342=_0x37b60a,_0x23be09=new _0x14bac9(_0x42775e),_0xa37a21=_0x23be09[_0x3db342(0x1d0)];return _0x23be09[_0x3db342(0x1ee)]=_0x329418,_0x23be09[_0x3db342(0x1ab)]({'on':{'keydown':_0xa37a21['to'](_0xc8cdfe=>{const _0xab0f6=_0x3db342;_0xab0f6(0x1a2)==_0xc8cdfe[_0xab0f6(0x1de)]&&this[_0xab0f6(0x1b0)](_0x23be09);})}}),_0x23be09;}[_0x37b60a(0x1e2)](_0x4a0428,_0x4118fd){const _0x629e05=_0x37b60a,_0x4b9afb=new _0x17ebc1(_0x4a0428);return _0x4b9afb[_0x629e05(0x1c5)]({'icon':_0x1d6ea9,'withText':!0x1,'tooltip':_0x1a3352(_0x4a0428,_0x629e05(0x1e7))}),_0x4b9afb[_0x629e05(0x1ab)]({'attributes':{'class':[_0x629e05(0x1f4)]}}),_0x4b9afb['on'](_0x629e05(0x1b3),()=>{const _0x39b779=_0x629e05;this[_0x39b779(0x1b0)](_0x4118fd);}),_0x4b9afb;}[_0x37b60a(0x1b0)](_0x40a498){const _0x4ad765=_0x37b60a,_0x3b47c6=_0x40a498[_0x4ad765(0x1a5)][_0x4ad765(0x1ee)]||'';this[_0x4ad765(0x1e6)][_0x4ad765(0x1ca)]=_0x3b47c6,this[_0x4ad765(0x1c3)]=!0x1,this[_0x4ad765(0x1ad)](_0x4ad765(0x1d5),{'id':this['id'],'title':_0x3b47c6});}[_0x37b60a(0x1ce)](_0x5281b3,_0x449d36){const _0x490784=_0x37b60a,_0x340f2b=new _0x17ebc1(_0x5281b3);return _0x340f2b[_0x490784(0x1c5)]({'icon':_0x27deff,'withText':!0x1,'tooltip':_0x1a3352(_0x5281b3,_0x490784(0x1fd))}),_0x340f2b[_0x490784(0x1ab)]({'attributes':{'class':[_0x490784(0x1e1)]}}),_0x340f2b['on'](_0x490784(0x1b3),()=>{const _0x4b6f62=_0x490784;this[_0x4b6f62(0x1c3)]=!0x1,_0x449d36[_0x4b6f62(0x1ee)]=this[_0x4b6f62(0x1e6)][_0x4b6f62(0x1ca)]||'',this[_0x4b6f62(0x1ad)](_0x4b6f62(0x1b8));}),_0x340f2b;}[_0x37b60a(0x1a3)](){const _0x5b3d31=_0x37b60a,_0x1ff7ed=new _0xf58759(_0x5b3d31(0x1bb));return _0x1ff7ed[_0x5b3d31(0x1eb)]=!0x0,_0x1ff7ed;}[_0x37b60a(0x1c8)](_0x37fb0a){const _0xa36aaf=_0x37b60a;return this[_0xa36aaf(0x1e6)]&&_0xa36aaf(0x1f3)==typeof this[_0xa36aaf(0x1e6)][_0xa36aaf(0x1ca)]&&this[_0xa36aaf(0x1e6)][_0xa36aaf(0x1ca)][_0xa36aaf(0x1db)](_0x37fb0a)?{'title':!0x0}:null;}[_0x37b60a(0x1d9)](_0x44ed78){const _0x26e2ba=_0x37b60a;this[_0x26e2ba(0x1e6)][_0x26e2ba(0x1d9)](_0x44ed78);}}