@ckeditor/ckeditor5-ai 47.2.0-alpha.0 → 47.2.0-alpha.2

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 (365) hide show
  1. package/build/ai.js +1 -1
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/et.js +1 -1
  12. package/build/translations/fi.js +1 -1
  13. package/build/translations/fr.js +1 -1
  14. package/build/translations/he.js +1 -1
  15. package/build/translations/hi.js +1 -1
  16. package/build/translations/hu.js +1 -1
  17. package/build/translations/id.js +1 -1
  18. package/build/translations/it.js +1 -1
  19. package/build/translations/ja.js +1 -1
  20. package/build/translations/ko.js +1 -1
  21. package/build/translations/lt.js +1 -1
  22. package/build/translations/lv.js +1 -1
  23. package/build/translations/ms.js +1 -1
  24. package/build/translations/nl.js +1 -1
  25. package/build/translations/no.js +1 -1
  26. package/build/translations/pl.js +1 -1
  27. package/build/translations/pt-br.js +1 -1
  28. package/build/translations/pt.js +1 -1
  29. package/build/translations/ro.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/sk.js +1 -1
  32. package/build/translations/sr.js +1 -1
  33. package/build/translations/sv.js +1 -1
  34. package/build/translations/th.js +1 -1
  35. package/build/translations/tr.js +1 -1
  36. package/build/translations/uk.js +1 -1
  37. package/build/translations/vi.js +1 -1
  38. package/build/translations/zh-cn.js +1 -1
  39. package/build/translations/zh.js +1 -1
  40. package/dist/index.js +5 -5
  41. package/dist/translations/af.js +1 -1
  42. package/dist/translations/af.umd.js +1 -1
  43. package/dist/translations/ar.js +1 -1
  44. package/dist/translations/ar.umd.js +1 -1
  45. package/dist/translations/ast.js +1 -1
  46. package/dist/translations/ast.umd.js +1 -1
  47. package/dist/translations/az.js +1 -1
  48. package/dist/translations/az.umd.js +1 -1
  49. package/dist/translations/be.js +1 -1
  50. package/dist/translations/be.umd.js +1 -1
  51. package/dist/translations/bg.js +1 -1
  52. package/dist/translations/bg.umd.js +1 -1
  53. package/dist/translations/bn.js +1 -1
  54. package/dist/translations/bn.umd.js +1 -1
  55. package/dist/translations/bs.js +1 -1
  56. package/dist/translations/bs.umd.js +1 -1
  57. package/dist/translations/ca.js +1 -1
  58. package/dist/translations/ca.umd.js +1 -1
  59. package/dist/translations/cs.js +1 -1
  60. package/dist/translations/cs.umd.js +1 -1
  61. package/dist/translations/da.js +1 -1
  62. package/dist/translations/da.umd.js +1 -1
  63. package/dist/translations/de-ch.js +1 -1
  64. package/dist/translations/de-ch.umd.js +1 -1
  65. package/dist/translations/de.js +1 -1
  66. package/dist/translations/de.umd.js +1 -1
  67. package/dist/translations/el.js +1 -1
  68. package/dist/translations/el.umd.js +1 -1
  69. package/dist/translations/en-au.js +1 -1
  70. package/dist/translations/en-au.umd.js +1 -1
  71. package/dist/translations/en-gb.js +1 -1
  72. package/dist/translations/en-gb.umd.js +1 -1
  73. package/dist/translations/en.js +1 -1
  74. package/dist/translations/en.umd.js +1 -1
  75. package/dist/translations/eo.js +1 -1
  76. package/dist/translations/eo.umd.js +1 -1
  77. package/dist/translations/es-co.js +1 -1
  78. package/dist/translations/es-co.umd.js +1 -1
  79. package/dist/translations/es.js +1 -1
  80. package/dist/translations/es.umd.js +1 -1
  81. package/dist/translations/et.js +1 -1
  82. package/dist/translations/et.umd.js +1 -1
  83. package/dist/translations/eu.js +1 -1
  84. package/dist/translations/eu.umd.js +1 -1
  85. package/dist/translations/fa.js +1 -1
  86. package/dist/translations/fa.umd.js +1 -1
  87. package/dist/translations/fi.js +1 -1
  88. package/dist/translations/fi.umd.js +1 -1
  89. package/dist/translations/fr.js +1 -1
  90. package/dist/translations/fr.umd.js +1 -1
  91. package/dist/translations/gl.js +1 -1
  92. package/dist/translations/gl.umd.js +1 -1
  93. package/dist/translations/gu.js +1 -1
  94. package/dist/translations/gu.umd.js +1 -1
  95. package/dist/translations/he.js +1 -1
  96. package/dist/translations/he.umd.js +1 -1
  97. package/dist/translations/hi.js +1 -1
  98. package/dist/translations/hi.umd.js +1 -1
  99. package/dist/translations/hr.js +1 -1
  100. package/dist/translations/hr.umd.js +1 -1
  101. package/dist/translations/hu.js +1 -1
  102. package/dist/translations/hu.umd.js +1 -1
  103. package/dist/translations/hy.js +1 -1
  104. package/dist/translations/hy.umd.js +1 -1
  105. package/dist/translations/id.js +1 -1
  106. package/dist/translations/id.umd.js +1 -1
  107. package/dist/translations/it.js +1 -1
  108. package/dist/translations/it.umd.js +1 -1
  109. package/dist/translations/ja.js +1 -1
  110. package/dist/translations/ja.umd.js +1 -1
  111. package/dist/translations/jv.js +1 -1
  112. package/dist/translations/jv.umd.js +1 -1
  113. package/dist/translations/kk.js +1 -1
  114. package/dist/translations/kk.umd.js +1 -1
  115. package/dist/translations/km.js +1 -1
  116. package/dist/translations/km.umd.js +1 -1
  117. package/dist/translations/kn.js +1 -1
  118. package/dist/translations/kn.umd.js +1 -1
  119. package/dist/translations/ko.js +1 -1
  120. package/dist/translations/ko.umd.js +1 -1
  121. package/dist/translations/ku.js +1 -1
  122. package/dist/translations/ku.umd.js +1 -1
  123. package/dist/translations/lt.js +1 -1
  124. package/dist/translations/lt.umd.js +1 -1
  125. package/dist/translations/lv.js +1 -1
  126. package/dist/translations/lv.umd.js +1 -1
  127. package/dist/translations/ms.js +1 -1
  128. package/dist/translations/ms.umd.js +1 -1
  129. package/dist/translations/nb.js +1 -1
  130. package/dist/translations/nb.umd.js +1 -1
  131. package/dist/translations/ne.js +1 -1
  132. package/dist/translations/ne.umd.js +1 -1
  133. package/dist/translations/nl.js +1 -1
  134. package/dist/translations/nl.umd.js +1 -1
  135. package/dist/translations/no.js +1 -1
  136. package/dist/translations/no.umd.js +1 -1
  137. package/dist/translations/oc.js +1 -1
  138. package/dist/translations/oc.umd.js +1 -1
  139. package/dist/translations/pl.js +1 -1
  140. package/dist/translations/pl.umd.js +1 -1
  141. package/dist/translations/pt-br.js +1 -1
  142. package/dist/translations/pt-br.umd.js +1 -1
  143. package/dist/translations/pt.js +1 -1
  144. package/dist/translations/pt.umd.js +1 -1
  145. package/dist/translations/ro.js +1 -1
  146. package/dist/translations/ro.umd.js +1 -1
  147. package/dist/translations/ru.js +1 -1
  148. package/dist/translations/ru.umd.js +1 -1
  149. package/dist/translations/si.js +1 -1
  150. package/dist/translations/si.umd.js +1 -1
  151. package/dist/translations/sk.js +1 -1
  152. package/dist/translations/sk.umd.js +1 -1
  153. package/dist/translations/sl.js +1 -1
  154. package/dist/translations/sl.umd.js +1 -1
  155. package/dist/translations/sq.js +1 -1
  156. package/dist/translations/sq.umd.js +1 -1
  157. package/dist/translations/sr-latn.js +1 -1
  158. package/dist/translations/sr-latn.umd.js +1 -1
  159. package/dist/translations/sr.js +1 -1
  160. package/dist/translations/sr.umd.js +1 -1
  161. package/dist/translations/sv.js +1 -1
  162. package/dist/translations/sv.umd.js +1 -1
  163. package/dist/translations/th.js +1 -1
  164. package/dist/translations/th.umd.js +1 -1
  165. package/dist/translations/ti.js +1 -1
  166. package/dist/translations/ti.umd.js +1 -1
  167. package/dist/translations/tk.js +1 -1
  168. package/dist/translations/tk.umd.js +1 -1
  169. package/dist/translations/tr.js +1 -1
  170. package/dist/translations/tr.umd.js +1 -1
  171. package/dist/translations/tt.js +1 -1
  172. package/dist/translations/tt.umd.js +1 -1
  173. package/dist/translations/ug.js +1 -1
  174. package/dist/translations/ug.umd.js +1 -1
  175. package/dist/translations/uk.js +1 -1
  176. package/dist/translations/uk.umd.js +1 -1
  177. package/dist/translations/ur.js +1 -1
  178. package/dist/translations/ur.umd.js +1 -1
  179. package/dist/translations/uz.js +1 -1
  180. package/dist/translations/uz.umd.js +1 -1
  181. package/dist/translations/vi.js +1 -1
  182. package/dist/translations/vi.umd.js +1 -1
  183. package/dist/translations/zh-cn.js +1 -1
  184. package/dist/translations/zh-cn.umd.js +1 -1
  185. package/dist/translations/zh.js +1 -1
  186. package/dist/translations/zh.umd.js +1 -1
  187. package/lang/translations/ar.po +34 -34
  188. package/lang/translations/bg.po +26 -26
  189. package/lang/translations/bn.po +26 -26
  190. package/lang/translations/ca.po +26 -26
  191. package/lang/translations/cs.po +28 -28
  192. package/lang/translations/da.po +26 -26
  193. package/lang/translations/de.po +26 -26
  194. package/lang/translations/el.po +26 -26
  195. package/lang/translations/es.po +26 -26
  196. package/lang/translations/et.po +26 -26
  197. package/lang/translations/fi.po +26 -26
  198. package/lang/translations/fr.po +26 -26
  199. package/lang/translations/he.po +26 -26
  200. package/lang/translations/hi.po +26 -26
  201. package/lang/translations/hu.po +26 -26
  202. package/lang/translations/id.po +24 -24
  203. package/lang/translations/it.po +26 -26
  204. package/lang/translations/ja.po +24 -24
  205. package/lang/translations/ko.po +24 -24
  206. package/lang/translations/lt.po +28 -28
  207. package/lang/translations/lv.po +28 -28
  208. package/lang/translations/ms.po +24 -24
  209. package/lang/translations/nl.po +26 -26
  210. package/lang/translations/no.po +26 -26
  211. package/lang/translations/pl.po +28 -28
  212. package/lang/translations/pt-br.po +26 -26
  213. package/lang/translations/pt.po +26 -26
  214. package/lang/translations/ro.po +28 -28
  215. package/lang/translations/ru.po +28 -28
  216. package/lang/translations/sk.po +28 -28
  217. package/lang/translations/sr.po +28 -28
  218. package/lang/translations/sv.po +26 -26
  219. package/lang/translations/th.po +24 -24
  220. package/lang/translations/tr.po +26 -26
  221. package/lang/translations/uk.po +28 -28
  222. package/lang/translations/vi.po +24 -24
  223. package/lang/translations/zh-cn.po +24 -24
  224. package/lang/translations/zh.po +24 -24
  225. package/package.json +15 -15
  226. package/src/aiactions/aiactions.js +1 -1
  227. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  228. package/src/aiactions/model/aiactionsreply.js +1 -1
  229. package/src/aiassistant/adapters/aiadapter.js +1 -1
  230. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  231. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  232. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  233. package/src/aiassistant/aiassistant.js +1 -1
  234. package/src/aiassistant/aiassistantediting.js +1 -1
  235. package/src/aiassistant/aiassistantui.js +1 -1
  236. package/src/aiassistant/legacyerrors.js +1 -1
  237. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  238. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  239. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  240. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  241. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  242. package/src/aiassistant/ui/form/aiformview.js +1 -1
  243. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  244. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  245. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  246. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  247. package/src/aiassistant/utils/common-translations.js +1 -1
  248. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  249. package/src/aiballoon/aiballoon.js +1 -1
  250. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  251. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  252. package/src/aiballoon/ui/aiballoonview.js +1 -1
  253. package/src/aichat/aichat.js +1 -1
  254. package/src/aichat/aichatcontroller.js +1 -1
  255. package/src/aichat/aichatui.js +1 -1
  256. package/src/aichat/model/aichatcontext.js +1 -1
  257. package/src/aichat/model/aichatconversation.js +1 -1
  258. package/src/aichat/model/aichatinteraction.js +1 -1
  259. package/src/aichat/model/aichatmodels.js +1 -1
  260. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  261. package/src/aichat/ui/aichatfeedview.js +1 -1
  262. package/src/aichat/ui/aichatheaderview.js +1 -1
  263. package/src/aichat/ui/aichatview.js +1 -1
  264. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  265. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  266. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  267. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  268. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  269. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  270. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  271. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  272. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  273. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  274. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  275. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  276. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  277. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  278. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  279. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  280. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  281. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  282. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  283. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  284. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  285. package/src/aichat/utils/eventnames.js +1 -1
  286. package/src/aichat/utils/promisequeue.js +1 -1
  287. package/src/aichat/utils/scrollmanager.js +1 -1
  288. package/src/aichathistory/aichathistory.js +1 -1
  289. package/src/aichathistory/aichathistorycontroller.js +1 -1
  290. package/src/aichathistory/aichathistoryui.js +1 -1
  291. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  292. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  293. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  294. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  295. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  296. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  297. package/src/aicore/aiconnector.js +1 -1
  298. package/src/aicore/aiediting.js +1 -1
  299. package/src/aicore/model/aicapabilities.js +1 -1
  300. package/src/aicore/model/aicontext.js +1 -1
  301. package/src/aicore/model/aiinteraction.js +1 -1
  302. package/src/aicore/model/aimodels.js +1 -1
  303. package/src/aicore/model/aireply.js +1 -1
  304. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  305. package/src/aicore/pipeline/airesponseparser.js +2 -2
  306. package/src/aicore/ui/aidisclaimerview.js +1 -1
  307. package/src/aicore/ui/aiskeleton.js +1 -1
  308. package/src/aicore/ui/aispinner.js +1 -1
  309. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  310. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  311. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  312. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  313. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  314. package/src/aicore/utils/common-translations.js +1 -1
  315. package/src/aicore/utils/createresizebutton.js +1 -1
  316. package/src/aicore/utils/documentposition.js +1 -1
  317. package/src/aicore/utils/documentrange.js +1 -1
  318. package/src/aicore/utils/eventnames.js +1 -1
  319. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  320. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  321. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  322. package/src/aicore/utils/htmlparser.js +1 -1
  323. package/src/aicore/utils/htmlstreamer.js +1 -1
  324. package/src/aieditorintegration/aieditorintegration.js +1 -1
  325. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  326. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  327. package/src/aiquickactions/aiquickactions.js +1 -1
  328. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  329. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  330. package/src/aiquickactions/aiquickactionsui.js +1 -1
  331. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  332. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  333. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  334. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  335. package/src/aireviewmode/aireviewmode.js +1 -1
  336. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  337. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  338. package/src/aireviewmode/aireviewmodeui.js +1 -1
  339. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  340. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  341. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  342. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  343. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  344. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  345. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  346. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  347. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  348. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  349. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  350. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  351. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  352. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  353. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  354. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  355. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  356. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  357. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  358. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  359. package/src/aitabs/aitabs.js +1 -1
  360. package/src/aitabs/aitabsmainview.js +1 -1
  361. package/src/aitabs/tabs/aitabsview.js +1 -1
  362. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  363. package/src/aitabs/tabs/tabpanelview.js +1 -1
  364. package/src/errors.js +1 -1
  365. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cc200=_0x4838;(function(_0x512625,_0x1112a0){const _0x3680ad=_0x4838,_0x98367a=_0x512625();while(!![]){try{const _0x1bffa4=-parseInt(_0x3680ad(0x14f))/0x1+-parseInt(_0x3680ad(0x157))/0x2*(-parseInt(_0x3680ad(0x153))/0x3)+parseInt(_0x3680ad(0x133))/0x4*(parseInt(_0x3680ad(0x12c))/0x5)+-parseInt(_0x3680ad(0x15d))/0x6+parseInt(_0x3680ad(0x142))/0x7*(-parseInt(_0x3680ad(0x138))/0x8)+parseInt(_0x3680ad(0x165))/0x9*(-parseInt(_0x3680ad(0x172))/0xa)+-parseInt(_0x3680ad(0x167))/0xb*(-parseInt(_0x3680ad(0x16e))/0xc);if(_0x1bffa4===_0x1112a0)break;else _0x98367a['push'](_0x98367a['shift']());}catch(_0x4dfcf6){_0x98367a['push'](_0x98367a['shift']());}}}(_0x1762,0xcb7ac));import{KeystrokeHandler as _0x240517}from'ckeditor5/src/utils.js';function _0x4838(_0x519f72,_0x1318b9){const _0x176263=_0x1762();return _0x4838=function(_0x483854,_0x28f684){_0x483854=_0x483854-0x128;let _0xa14216=_0x176263[_0x483854];return _0xa14216;},_0x4838(_0x519f72,_0x1318b9);}import{BalloonPanelView as _0x5eabc4,BodyCollection as _0x4d0cc6,ButtonView as _0x50b4c9,clickOutsideHandler as _0x27952a,ListItemButtonView as _0x2fef2d,ListItemView as _0x5119e9,ListView as _0xabd391,SplitButtonView as _0x5b4d06,UIModel as _0x5a0cbd,View as _0x395bda}from'ckeditor5/src/ui.js';import{IconCheck as _0x43b88c,IconAddComment as _0x93b855,IconDocumentWithLoupe as _0x469ae3}from'ckeditor5/src/icons.js';import{getTranslation as _0x59bcd0}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x3cc200(0x144),_0x3cc200(0x137),_0x3cc200(0x169)];function _0x1762(){const _0x5b0f0f=['_partsCount','4JrzWFD','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','items','ltr','insertSuggestion','48hjIuwb','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','children','keystrokeHandler','has','button','actionName','updateLabels','actionsButton','bindTemplate','1007762dWWGia','balloonPanelClass','applySuggestion','createCollection','execute','ck-ai-chat__feed__ai-suggestion__actions--no-animation','change:isTrackChangesOn','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','ck-hidden','delegate','isEnabled','detachFromDom','listView','1125436jIdMqt','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','uiLanguageDirection','pin','63285QHGHiO','_firstRender','_setUpList','ck-ai-chat__feed__ai-suggestion__actions','52NuzQOt','listenTo','arrowless','source','showChangeInTextModel','listItemModels','2801928vmhTcS','_dropdownOriginalConfig','esc','class','filter','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','fire','unbind','3177VuWTdi','ck-ai-chat__feed__ai-suggestion__actions__balloon','11JWCCSe','bodyCollection','showChangeInText','arrowView','setTemplate','_createActionsButton','bottom','49488240MXJJaA','isTrackChangesOn','locale','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','44320YfuUsl','bind','label','applySuggestionModel','_updateDropdownActions','set','div','isVisible','focus','_dropdownCurrentConfig','hide','destroy','width','ck-ai-chat__feed__ai-suggestion__actions\x20','map','_createActionsDropdown','_createActionsDropdownOrButton','attachToDom','ck-ai-button-primary','element','balloonPanelView','insertSuggestionModel','content','open','keys','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','slice','remove','908390lmRyAq','_setUpKeystrokes','add','length','left','tooltip'];_0x1762=function(){return _0x5b0f0f;};return _0x1762();}export class AIChatFeedSuggestionItemActionsView extends _0x395bda{[_0x3cc200(0x140)];[_0x3cc200(0x13a)];[_0x3cc200(0x175)];[_0x3cc200(0x15b)];[_0x3cc200(0x187)];[_0x3cc200(0x132)]=0x1;[_0x3cc200(0x15e)];[_0x3cc200(0x17b)];[_0x3cc200(0x154)]=!0x0;constructor(_0x286a9f,_0x39fb5a){const _0x40dd51=_0x3cc200;super(_0x286a9f),this[_0x40dd51(0x15e)]=_0x39fb5a||[...AI_REPLY_ACTIONS],this[_0x40dd51(0x17b)]=[...this[_0x40dd51(0x15e)]];const _0x4f273e=this[_0x40dd51(0x141)];this[_0x40dd51(0x177)](_0x40dd51(0x14c),!0x0),this[_0x40dd51(0x177)](_0x40dd51(0x179),!0x0),this[_0x40dd51(0x177)](_0x40dd51(0x16f),!0x1),this[_0x40dd51(0x175)]=new _0x5a0cbd({'label':Hn(_0x40dd51(0x144),_0x286a9f,this[_0x40dd51(0x132)]),'icon':_0x43b88c,'withText':!0x0,'type':_0x40dd51(0x13d),'actionName':_0x40dd51(0x144)}),this[_0x40dd51(0x15b)]=new _0x5a0cbd({'label':Hn(_0x40dd51(0x169),_0x286a9f,this[_0x40dd51(0x132)]),'icon':_0x469ae3,'withText':!0x0,'type':_0x40dd51(0x13d),'actionName':_0x40dd51(0x169)}),this[_0x40dd51(0x187)]=new _0x5a0cbd({'label':Hn(_0x40dd51(0x137),_0x286a9f,this[_0x40dd51(0x132)]),'icon':_0x93b855,'withText':!0x0,'type':_0x40dd51(0x13d),'actionName':_0x40dd51(0x137)}),this[_0x40dd51(0x140)]=this[_0x40dd51(0x182)](_0x286a9f),this[_0x40dd51(0x13a)]=this[_0x40dd51(0x145)](),this[_0x40dd51(0x140)]&&this[_0x40dd51(0x13a)][_0x40dd51(0x12e)](this[_0x40dd51(0x140)]),this[_0x40dd51(0x16b)]({'tag':_0x40dd51(0x178),'attributes':{'class':['ck',_0x40dd51(0x156),_0x4f273e['if'](_0x40dd51(0x179),_0x40dd51(0x14a),_0x266dc9=>!_0x266dc9)]},'children':this[_0x40dd51(0x13a)]}),this['on'](_0x40dd51(0x148),()=>{const _0x19e855=_0x40dd51;this[_0x19e855(0x17b)]=this[_0x19e855(0x16f)]?this[_0x19e855(0x15e)][_0x19e855(0x161)](_0x14193d=>_0x19e855(0x144)!==_0x14193d):[...this[_0x19e855(0x15e)]],this[_0x19e855(0x176)](_0x286a9f);});}[_0x3cc200(0x176)](_0x3ce69d){const _0xfbd52b=_0x3cc200;this[_0xfbd52b(0x140)]&&this[_0xfbd52b(0x13a)][_0xfbd52b(0x13c)](this[_0xfbd52b(0x140)])&&(this[_0xfbd52b(0x13a)][_0xfbd52b(0x12b)](this[_0xfbd52b(0x140)]),this[_0xfbd52b(0x140)][_0xfbd52b(0x17d)]()),this[_0xfbd52b(0x140)]=this[_0xfbd52b(0x182)](_0x3ce69d),this[_0xfbd52b(0x140)]&&this[_0xfbd52b(0x13a)][_0xfbd52b(0x12e)](this[_0xfbd52b(0x140)]);}[_0x3cc200(0x182)](_0x3d6486){const _0x3eded8=_0x3cc200;if(0x0==this[_0x3eded8(0x17b)][_0x3eded8(0x12f)])return null;const _0x19d801=0x1===this[_0x3eded8(0x17b)][_0x3eded8(0x12f)]?this[_0x3eded8(0x16c)](_0x3d6486):this[_0x3eded8(0x181)](_0x3d6486),_0xbfa474=this[_0x3eded8(0x154)]?'':_0x3eded8(0x147);_0x19d801[_0x3eded8(0x177)]({'label':Hn(this[_0x3eded8(0x17b)][0x0],_0x3d6486,this[_0x3eded8(0x132)]),'tooltip':Ln(this[_0x3eded8(0x17b)][0x0],_0x3d6486,this[_0x3eded8(0x132)]),'withText':!0x0,'class':_0x3eded8(0x17f)+_0xbfa474});for(const _0x4c0e5f of this[_0x3eded8(0x17b)])_0x19d801['on'](_0x4c0e5f,()=>{const _0x414484=_0x3eded8;this[_0x414484(0x163)](_0x4c0e5f);});return this[_0x3eded8(0x154)]=!0x1,_0x19d801;}[_0x3cc200(0x16c)](_0x4f94ef){const _0xe2e08=_0x3cc200,_0x259bae=new _0x50b4c9(_0x4f94ef);return _0x259bae[_0xe2e08(0x177)]({'class':_0xe2e08(0x184),'withText':!0x0}),_0x259bae['on'](_0xe2e08(0x146),()=>{const _0x3f7dfb=_0xe2e08;_0x259bae[_0x3f7dfb(0x163)](this[_0x3f7dfb(0x17b)][0x0]);}),_0x259bae;}[_0x3cc200(0x181)](_0x12a62a){const _0x33cada=_0x3cc200,_0x3162d6=new Gn(_0x12a62a,{'listItemModels':this[_0x33cada(0x17b)][_0x33cada(0x180)](_0x57ce8a=>{const _0x54dc35=_0x33cada;switch(_0x57ce8a){case _0x54dc35(0x144):return this[_0x54dc35(0x175)];case _0x54dc35(0x169):return this[_0x54dc35(0x15b)];case _0x54dc35(0x137):return this[_0x54dc35(0x187)];}})});return _0x3162d6[_0x33cada(0x177)]({'label':Hn(this[_0x33cada(0x17b)][0x0],_0x12a62a,this[_0x33cada(0x132)]),'tooltip':Ln(this[_0x33cada(0x17b)][0x0],_0x12a62a,this[_0x33cada(0x132)]),'withText':!0x0,'class':_0x33cada(0x156),'balloonPanelClass':_0x33cada(0x166)}),_0x3162d6[_0x33cada(0x173)](_0x33cada(0x14c))['to'](this),_0x3162d6;}[_0x3cc200(0x13f)](_0x401763){const _0x1fdbef=_0x3cc200,_0x27028a=this[_0x1fdbef(0x170)];this[_0x1fdbef(0x132)]=_0x401763||this[_0x1fdbef(0x132)],this[_0x1fdbef(0x140)][_0x1fdbef(0x177)]({'label':Hn(this[_0x1fdbef(0x17b)][0x0],_0x27028a,this[_0x1fdbef(0x132)]),'tooltip':Ln(this[_0x1fdbef(0x17b)][0x0],_0x27028a,this[_0x1fdbef(0x132)])}),this[_0x1fdbef(0x175)][_0x1fdbef(0x174)]=Hn(_0x1fdbef(0x144),_0x27028a,this[_0x1fdbef(0x132)]),this[_0x1fdbef(0x15b)][_0x1fdbef(0x174)]=Hn(_0x1fdbef(0x169),_0x27028a,this[_0x1fdbef(0x132)]),this[_0x1fdbef(0x187)][_0x1fdbef(0x174)]=Hn(_0x1fdbef(0x137),_0x27028a,this[_0x1fdbef(0x132)]);}}class Gn extends _0x5b4d06{[_0x3cc200(0x168)];[_0x3cc200(0x186)];[_0x3cc200(0x14e)];[_0x3cc200(0x13b)];constructor(_0x46a46c,_0x551c81){const _0x271712=_0x3cc200;super(_0x46a46c),this[_0x271712(0x186)]=new _0x5eabc4(this[_0x271712(0x170)]),this[_0x271712(0x168)]=new _0x4d0cc6(this[_0x271712(0x170)]),this[_0x271712(0x168)][_0x271712(0x183)](),this[_0x271712(0x177)](_0x271712(0x143),''),this[_0x271712(0x186)][_0x271712(0x173)](_0x271712(0x160))['to'](this,_0x271712(0x143)),this[_0x271712(0x14e)]=this[_0x271712(0x155)](_0x551c81[_0x271712(0x15c)][_0x271712(0x12a)](0x1)),this[_0x271712(0x168)][_0x271712(0x12e)](this[_0x271712(0x186)]),this[_0x271712(0x186)][_0x271712(0x188)][_0x271712(0x12e)](this[_0x271712(0x14e)]),this[_0x271712(0x16a)][_0x271712(0x164)](_0x271712(0x131)),this[_0x271712(0x16a)][_0x271712(0x177)](_0x271712(0x131),_0x59bcd0(this[_0x271712(0x170)],_0x271712(0x139))),this[_0x271712(0x12d)](),this['on'](_0x271712(0x146),()=>{const _0x5e2d0c=_0x271712,_0xdd6b1d=_0x551c81[_0x5e2d0c(0x15c)][0x0][_0x5e2d0c(0x13e)];this[_0x5e2d0c(0x163)](_0xdd6b1d),this[_0x5e2d0c(0x186)][_0x5e2d0c(0x17c)](),this[_0x5e2d0c(0x16a)][_0x5e2d0c(0x17a)]();}),this['on'](_0x271712(0x189),()=>{const _0x1d0beb=_0x271712;this[_0x1d0beb(0x186)][_0x1d0beb(0x179)]?(this[_0x1d0beb(0x186)][_0x1d0beb(0x17c)](),this[_0x1d0beb(0x16a)][_0x1d0beb(0x17a)]()):(this[_0x1d0beb(0x186)][_0x1d0beb(0x152)]({'target':this[_0x1d0beb(0x185)],'positions':[_0x1d0beb(0x136)===this[_0x1d0beb(0x170)][_0x1d0beb(0x151)]?yn:Pn]}),this[_0x1d0beb(0x14e)][_0x1d0beb(0x17a)]());}),_0x27952a({'emitter':this[_0x271712(0x186)],'callback':()=>{const _0x342f99=_0x271712;this[_0x342f99(0x186)][_0x342f99(0x17c)]();},'activator':()=>this[_0x271712(0x186)][_0x271712(0x179)],'contextElements':()=>[this[_0x271712(0x185)],this[_0x271712(0x186)][_0x271712(0x185)]]});}[_0x3cc200(0x155)](_0x152061){const _0x2f1a51=_0x3cc200,_0x22724=this[_0x2f1a51(0x170)],_0x18a09a=new _0xabd391(_0x22724);for(const _0x585d31 of _0x152061){const _0x1f0227=new _0x5119e9(_0x22724),_0x1a725d=new _0x2fef2d(_0x22724);_0x1a725d[_0x2f1a51(0x173)](...Object[_0x2f1a51(0x128)](_0x585d31))['to'](_0x585d31),_0x1a725d[_0x2f1a51(0x14b)](_0x2f1a51(0x146))['to'](_0x18a09a),_0x1f0227[_0x2f1a51(0x13a)][_0x2f1a51(0x12e)](_0x1a725d),_0x18a09a[_0x2f1a51(0x135)][_0x2f1a51(0x12e)](_0x1f0227);}return _0x18a09a[_0x2f1a51(0x135)][_0x2f1a51(0x14b)](_0x2f1a51(0x146))['to'](this),_0x18a09a['on'](_0x2f1a51(0x146),_0x17ebf1=>{const _0x933911=_0x2f1a51,_0x34a436=_0x17ebf1[_0x933911(0x15a)];this[_0x933911(0x163)](_0x34a436[_0x933911(0x13e)]),this[_0x933911(0x186)][_0x933911(0x17c)](),this[_0x933911(0x16a)][_0x933911(0x17a)]();}),_0x18a09a;}[_0x3cc200(0x12d)](){const _0x503329=_0x3cc200;this[_0x503329(0x13b)]=new _0x240517(),this[_0x503329(0x13b)][_0x503329(0x158)](this[_0x503329(0x186)][_0x503329(0x185)]),this[_0x503329(0x13b)][_0x503329(0x177)](_0x503329(0x15f),(_0x2dd424,_0x473da5)=>{const _0x54f560=_0x503329;this[_0x54f560(0x186)][_0x54f560(0x17c)](),this[_0x54f560(0x16a)][_0x54f560(0x17a)](),_0x473da5();});}[_0x3cc200(0x17d)](){const _0x44758f=_0x3cc200;super[_0x44758f(0x17d)](),this[_0x44758f(0x13b)][_0x44758f(0x17d)](),this[_0x44758f(0x186)][_0x44758f(0x17d)](),this[_0x44758f(0x168)][_0x44758f(0x14d)]();}}function yn(_0x21dee5){const _0x3026d0=_0x3cc200;return{'top':_0x21dee5[_0x3026d0(0x16d)],'left':_0x21dee5[_0x3026d0(0x130)],'name':_0x3026d0(0x159),'config':{'withArrow':!0x1}};}function Pn(_0x407a34,_0x1b9b51){const _0x13a330=_0x3cc200;return{'top':_0x407a34[_0x13a330(0x16d)],'left':_0x407a34[_0x13a330(0x130)]-(_0x1b9b51[_0x13a330(0x17e)]-_0x407a34[_0x13a330(0x17e)]),'name':_0x13a330(0x159),'config':{'withArrow':!0x1}};}function Hn(_0x1c55f2,_0x722336,_0x41ae5f){const _0x477f22=_0x3cc200;switch(_0x1c55f2){case _0x477f22(0x144):return _0x59bcd0(_0x722336,_0x477f22(0x171),_0x41ae5f);case _0x477f22(0x169):return _0x59bcd0(_0x722336,_0x477f22(0x129),_0x41ae5f);case _0x477f22(0x137):return _0x59bcd0(_0x722336,_0x477f22(0x149),_0x41ae5f);}}function Ln(_0x304f4f,_0x38167d,_0x31fda0){const _0x427987=_0x3cc200;switch(_0x304f4f){case _0x427987(0x144):return _0x59bcd0(_0x38167d,_0x427987(0x134),_0x31fda0);case _0x427987(0x169):return _0x59bcd0(_0x38167d,_0x427987(0x150),_0x31fda0);case _0x427987(0x137):return _0x59bcd0(_0x38167d,_0x427987(0x162),_0x31fda0);}}
23
+ const _0x16f9e1=_0x4d01;(function(_0x3ae760,_0x504db7){const _0x307c8a=_0x4d01,_0x3edd08=_0x3ae760();while(!![]){try{const _0x46142b=parseInt(_0x307c8a(0xca))/0x1*(parseInt(_0x307c8a(0xa5))/0x2)+parseInt(_0x307c8a(0x7f))/0x3+-parseInt(_0x307c8a(0x94))/0x4*(parseInt(_0x307c8a(0xcb))/0x5)+parseInt(_0x307c8a(0x7b))/0x6+parseInt(_0x307c8a(0xa9))/0x7*(-parseInt(_0x307c8a(0xaa))/0x8)+parseInt(_0x307c8a(0x7a))/0x9+parseInt(_0x307c8a(0xd2))/0xa*(-parseInt(_0x307c8a(0xb4))/0xb);if(_0x46142b===_0x504db7)break;else _0x3edd08['push'](_0x3edd08['shift']());}catch(_0x4bd1dd){_0x3edd08['push'](_0x3edd08['shift']());}}}(_0x3c51,0x84a35));import{KeystrokeHandler as _0x3c7de8}from'ckeditor5/src/utils.js';function _0x4d01(_0x1612a4,_0x2f8cd8){const _0x3c5121=_0x3c51();return _0x4d01=function(_0x4d013f,_0xd7ec3f){_0x4d013f=_0x4d013f-0x72;let _0x3611c7=_0x3c5121[_0x4d013f];return _0x3611c7;},_0x4d01(_0x1612a4,_0x2f8cd8);}import{BalloonPanelView as _0x1efe50,BodyCollection as _0x5420d5,ButtonView as _0x31958d,clickOutsideHandler as _0xf25303,ListItemButtonView as _0x49dba3,ListItemView as _0x5ba640,ListView as _0x5927df,SplitButtonView as _0x5e5ecc,UIModel as _0x48991c,View as _0xa24b91}from'ckeditor5/src/ui.js';import{IconCheck as _0xfc9a63,IconAddComment as _0x3811a9,IconDocumentWithLoupe as _0x1f8968}from'ckeditor5/src/icons.js';import{getTranslation as _0x53e010}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x16f9e1(0xbc),_0x16f9e1(0xc8),_0x16f9e1(0x8a)];export class AIChatFeedSuggestionItemActionsView extends _0xa24b91{[_0x16f9e1(0xc5)];[_0x16f9e1(0x80)];[_0x16f9e1(0xa8)];[_0x16f9e1(0xb0)];[_0x16f9e1(0x79)];[_0x16f9e1(0x76)]=0x1;[_0x16f9e1(0x88)];[_0x16f9e1(0x9e)];[_0x16f9e1(0xd1)]=!0x0;constructor(_0x554497,_0x30811d){const _0x3fe7c2=_0x16f9e1;super(_0x554497),this[_0x3fe7c2(0x88)]=_0x30811d||[...AI_REPLY_ACTIONS],this[_0x3fe7c2(0x9e)]=[...this[_0x3fe7c2(0x88)]];const _0x5d1705=this[_0x3fe7c2(0x98)];this[_0x3fe7c2(0x86)](_0x3fe7c2(0x83),!0x0),this[_0x3fe7c2(0x86)](_0x3fe7c2(0x8b),!0x0),this[_0x3fe7c2(0x86)](_0x3fe7c2(0x92),!0x1),this[_0x3fe7c2(0xa8)]=new _0x48991c({'label':Hn(_0x3fe7c2(0xbc),_0x554497,this[_0x3fe7c2(0x76)]),'icon':_0xfc9a63,'withText':!0x0,'type':_0x3fe7c2(0x78),'actionName':_0x3fe7c2(0xbc)}),this[_0x3fe7c2(0xb0)]=new _0x48991c({'label':Hn(_0x3fe7c2(0x8a),_0x554497,this[_0x3fe7c2(0x76)]),'icon':_0x1f8968,'withText':!0x0,'type':_0x3fe7c2(0x78),'actionName':_0x3fe7c2(0x8a)}),this[_0x3fe7c2(0x79)]=new _0x48991c({'label':Hn(_0x3fe7c2(0xc8),_0x554497,this[_0x3fe7c2(0x76)]),'icon':_0x3811a9,'withText':!0x0,'type':_0x3fe7c2(0x78),'actionName':_0x3fe7c2(0xc8)}),this[_0x3fe7c2(0xc5)]=this[_0x3fe7c2(0x9a)](_0x554497),this[_0x3fe7c2(0x80)]=this[_0x3fe7c2(0x7c)](),this[_0x3fe7c2(0xc5)]&&this[_0x3fe7c2(0x80)][_0x3fe7c2(0xa3)](this[_0x3fe7c2(0xc5)]),this[_0x3fe7c2(0x9b)]({'tag':_0x3fe7c2(0xb1),'attributes':{'class':['ck',_0x3fe7c2(0x93),_0x5d1705['if'](_0x3fe7c2(0x8b),_0x3fe7c2(0x75),_0xed1f1c=>!_0xed1f1c)]},'children':this[_0x3fe7c2(0x80)]}),this['on'](_0x3fe7c2(0xba),()=>{const _0x19ff70=_0x3fe7c2;this[_0x19ff70(0x9e)]=this[_0x19ff70(0x92)]?this[_0x19ff70(0x88)][_0x19ff70(0x85)](_0x364f2b=>_0x19ff70(0xbc)!==_0x364f2b):[...this[_0x19ff70(0x88)]],this[_0x19ff70(0x7e)](_0x554497);});}[_0x16f9e1(0x7e)](_0x4932a7){const _0x380cb4=_0x16f9e1;this[_0x380cb4(0xc5)]&&this[_0x380cb4(0x80)][_0x380cb4(0x81)](this[_0x380cb4(0xc5)])&&(this[_0x380cb4(0x80)][_0x380cb4(0xc7)](this[_0x380cb4(0xc5)]),this[_0x380cb4(0xc5)][_0x380cb4(0x8d)]()),this[_0x380cb4(0xc5)]=this[_0x380cb4(0x9a)](_0x4932a7),this[_0x380cb4(0xc5)]&&this[_0x380cb4(0x80)][_0x380cb4(0xa3)](this[_0x380cb4(0xc5)]);}[_0x16f9e1(0x9a)](_0x1d4837){const _0x480cd6=_0x16f9e1;if(0x0==this[_0x480cd6(0x9e)][_0x480cd6(0x74)])return null;const _0x21cd9f=0x1===this[_0x480cd6(0x9e)][_0x480cd6(0x74)]?this[_0x480cd6(0x77)](_0x1d4837):this[_0x480cd6(0x97)](_0x1d4837),_0x3f14f7=this[_0x480cd6(0xd1)]?'':_0x480cd6(0xb6);_0x21cd9f[_0x480cd6(0x86)]({'label':Hn(this[_0x480cd6(0x9e)][0x0],_0x1d4837,this[_0x480cd6(0x76)]),'tooltip':Ln(this[_0x480cd6(0x9e)][0x0],_0x1d4837,this[_0x480cd6(0x76)]),'withText':!0x0,'class':_0x480cd6(0xd0)+_0x3f14f7});for(const _0x958ca3 of this[_0x480cd6(0x9e)])_0x21cd9f['on'](_0x958ca3,()=>{const _0x38c00f=_0x480cd6;this[_0x38c00f(0xc6)](_0x958ca3);});return this[_0x480cd6(0xd1)]=!0x1,_0x21cd9f;}[_0x16f9e1(0x77)](_0x423233){const _0x5f109d=_0x16f9e1,_0x22c549=new _0x31958d(_0x423233);return _0x22c549[_0x5f109d(0x86)]({'class':_0x5f109d(0xcf),'withText':!0x0}),_0x22c549['on'](_0x5f109d(0xac),()=>{const _0x492267=_0x5f109d;_0x22c549[_0x492267(0xc6)](this[_0x492267(0x9e)][0x0]);}),_0x22c549;}[_0x16f9e1(0x97)](_0x169a5b){const _0x568fae=_0x16f9e1,_0x406d25=new Gn(_0x169a5b,{'listItemModels':this[_0x568fae(0x9e)][_0x568fae(0xa1)](_0x530f3f=>{const _0x414050=_0x568fae;switch(_0x530f3f){case _0x414050(0xbc):return this[_0x414050(0xa8)];case _0x414050(0x8a):return this[_0x414050(0xb0)];case _0x414050(0xc8):return this[_0x414050(0x79)];}})});return _0x406d25[_0x568fae(0x86)]({'label':Hn(this[_0x568fae(0x9e)][0x0],_0x169a5b,this[_0x568fae(0x76)]),'tooltip':Ln(this[_0x568fae(0x9e)][0x0],_0x169a5b,this[_0x568fae(0x76)]),'withText':!0x0,'class':_0x568fae(0x93),'balloonPanelClass':_0x568fae(0x73)}),_0x406d25[_0x568fae(0xad)](_0x568fae(0x83))['to'](this),_0x406d25;}[_0x16f9e1(0xc0)](_0x576f17){const _0x3ed728=_0x16f9e1,_0x5baca3=this[_0x3ed728(0x9c)];this[_0x3ed728(0x76)]=_0x576f17||this[_0x3ed728(0x76)],this[_0x3ed728(0xc5)][_0x3ed728(0x86)]({'label':Hn(this[_0x3ed728(0x9e)][0x0],_0x5baca3,this[_0x3ed728(0x76)]),'tooltip':Ln(this[_0x3ed728(0x9e)][0x0],_0x5baca3,this[_0x3ed728(0x76)])}),this[_0x3ed728(0xa8)][_0x3ed728(0x9f)]=Hn(_0x3ed728(0xbc),_0x5baca3,this[_0x3ed728(0x76)]),this[_0x3ed728(0xb0)][_0x3ed728(0x9f)]=Hn(_0x3ed728(0x8a),_0x5baca3,this[_0x3ed728(0x76)]),this[_0x3ed728(0x79)][_0x3ed728(0x9f)]=Hn(_0x3ed728(0xc8),_0x5baca3,this[_0x3ed728(0x76)]);}}class Gn extends _0x5e5ecc{[_0x16f9e1(0xa7)];[_0x16f9e1(0x84)];[_0x16f9e1(0x96)];[_0x16f9e1(0xb8)];constructor(_0x24b93d,_0x57ce8f){const _0x290dea=_0x16f9e1;super(_0x24b93d),this[_0x290dea(0x84)]=new _0x1efe50(this[_0x290dea(0x9c)]),this[_0x290dea(0xa7)]=new _0x5420d5(this[_0x290dea(0x9c)]),this[_0x290dea(0xa7)][_0x290dea(0x8c)](),this[_0x290dea(0x86)](_0x290dea(0xa0),''),this[_0x290dea(0x84)][_0x290dea(0xad)](_0x290dea(0xb9))['to'](this,_0x290dea(0xa0)),this[_0x290dea(0x96)]=this[_0x290dea(0xce)](_0x57ce8f[_0x290dea(0xa4)][_0x290dea(0xa2)](0x1)),this[_0x290dea(0xa7)][_0x290dea(0xa3)](this[_0x290dea(0x84)]),this[_0x290dea(0x84)][_0x290dea(0x7d)][_0x290dea(0xa3)](this[_0x290dea(0x96)]),this[_0x290dea(0x72)][_0x290dea(0x82)](_0x290dea(0xaf)),this[_0x290dea(0x72)][_0x290dea(0x86)](_0x290dea(0xaf),_0x53e010(this[_0x290dea(0x9c)],_0x290dea(0x8f))),this[_0x290dea(0xc4)](),this['on'](_0x290dea(0xac),()=>{const _0x590059=_0x290dea,_0x596c05=_0x57ce8f[_0x590059(0xa4)][0x0][_0x590059(0x8e)];this[_0x590059(0xc6)](_0x596c05),this[_0x590059(0x84)][_0x590059(0x91)](),this[_0x590059(0x72)][_0x590059(0xb2)]();}),this['on'](_0x290dea(0x90),()=>{const _0x1cadc3=_0x290dea;this[_0x1cadc3(0x84)][_0x1cadc3(0x8b)]?(this[_0x1cadc3(0x84)][_0x1cadc3(0x91)](),this[_0x1cadc3(0x72)][_0x1cadc3(0xb2)]()):(this[_0x1cadc3(0x84)][_0x1cadc3(0xcd)]({'target':this[_0x1cadc3(0xbf)],'positions':[_0x1cadc3(0xc3)===this[_0x1cadc3(0x9c)][_0x1cadc3(0xbe)]?yn:Pn]}),this[_0x1cadc3(0x96)][_0x1cadc3(0xb2)]());}),_0xf25303({'emitter':this[_0x290dea(0x84)],'callback':()=>{const _0x1ef9ff=_0x290dea;this[_0x1ef9ff(0x84)][_0x1ef9ff(0x91)]();},'activator':()=>this[_0x290dea(0x84)][_0x290dea(0x8b)],'contextElements':()=>[this[_0x290dea(0xbf)],this[_0x290dea(0x84)][_0x290dea(0xbf)]]});}[_0x16f9e1(0xce)](_0x3a9645){const _0x5a9797=_0x16f9e1,_0x507562=this[_0x5a9797(0x9c)],_0x28243a=new _0x5927df(_0x507562);for(const _0x1a2688 of _0x3a9645){const _0x5b662f=new _0x5ba640(_0x507562),_0x1a6f95=new _0x49dba3(_0x507562);_0x1a6f95[_0x5a9797(0xad)](...Object[_0x5a9797(0xa6)](_0x1a2688))['to'](_0x1a2688),_0x1a6f95[_0x5a9797(0x99)](_0x5a9797(0xac))['to'](_0x28243a),_0x5b662f[_0x5a9797(0x80)][_0x5a9797(0xa3)](_0x1a6f95),_0x28243a[_0x5a9797(0xc9)][_0x5a9797(0xa3)](_0x5b662f);}return _0x28243a[_0x5a9797(0xc9)][_0x5a9797(0x99)](_0x5a9797(0xac))['to'](this),_0x28243a['on'](_0x5a9797(0xac),_0x26513e=>{const _0x17b57b=_0x5a9797,_0x2a505b=_0x26513e[_0x17b57b(0xae)];this[_0x17b57b(0xc6)](_0x2a505b[_0x17b57b(0x8e)]),this[_0x17b57b(0x84)][_0x17b57b(0x91)](),this[_0x17b57b(0x72)][_0x17b57b(0xb2)]();}),_0x28243a;}[_0x16f9e1(0xc4)](){const _0x413009=_0x16f9e1;this[_0x413009(0xb8)]=new _0x3c7de8(),this[_0x413009(0xb8)][_0x413009(0xc2)](this[_0x413009(0x84)][_0x413009(0xbf)]),this[_0x413009(0xb8)][_0x413009(0x86)](_0x413009(0x87),(_0x493413,_0x4c16f9)=>{const _0x29d0b9=_0x413009;this[_0x29d0b9(0x84)][_0x29d0b9(0x91)](),this[_0x29d0b9(0x72)][_0x29d0b9(0xb2)](),_0x4c16f9();});}[_0x16f9e1(0x8d)](){const _0x395b47=_0x16f9e1;super[_0x395b47(0x8d)](),this[_0x395b47(0xb8)][_0x395b47(0x8d)](),this[_0x395b47(0x84)][_0x395b47(0x8d)](),this[_0x395b47(0xa7)][_0x395b47(0xbd)]();}}function _0x3c51(){const _0x5a8b0b=['button','insertSuggestionModel','9741708VsAntK','3782154etLAAm','createCollection','content','_updateDropdownActions','2026662pvCqEv','children','has','unbind','isEnabled','balloonPanelView','filter','set','esc','_dropdownOriginalConfig','bottom','showChangeInText','isVisible','attachToDom','destroy','actionName','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','open','hide','isTrackChangesOn','ck-ai-chat__feed__ai-suggestion__actions','20hDHpvI','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','listView','_createActionsDropdown','bindTemplate','delegate','_createActionsDropdownOrButton','setTemplate','locale','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','_dropdownCurrentConfig','label','balloonPanelClass','map','slice','add','listItemModels','494iqiSXi','keys','bodyCollection','applySuggestionModel','1442EpLyCH','11384HehHQq','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','execute','bind','source','tooltip','showChangeInTextModel','div','focus','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','55vNRrDy','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','ck-ai-chat__feed__ai-suggestion__actions--no-animation','width','keystrokeHandler','class','change:isTrackChangesOn','arrowless','applySuggestion','detachFromDom','uiLanguageDirection','element','updateLabels','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','listenTo','ltr','_setUpKeystrokes','actionsButton','fire','remove','insertSuggestion','items','4009izseji','382595XqwqNA','left','pin','_setUpList','ck-ai-button-primary','ck-ai-chat__feed__ai-suggestion__actions\x20','_firstRender','4319060NNufxC','arrowView','ck-ai-chat__feed__ai-suggestion__actions__balloon','length','ck-hidden','_partsCount','_createActionsButton'];_0x3c51=function(){return _0x5a8b0b;};return _0x3c51();}function yn(_0x59c481){const _0xaf6ffa=_0x16f9e1;return{'top':_0x59c481[_0xaf6ffa(0x89)],'left':_0x59c481[_0xaf6ffa(0xcc)],'name':_0xaf6ffa(0xbb),'config':{'withArrow':!0x1}};}function Pn(_0x3e29b2,_0x346288){const _0x33c341=_0x16f9e1;return{'top':_0x3e29b2[_0x33c341(0x89)],'left':_0x3e29b2[_0x33c341(0xcc)]-(_0x346288[_0x33c341(0xb7)]-_0x3e29b2[_0x33c341(0xb7)]),'name':_0x33c341(0xbb),'config':{'withArrow':!0x1}};}function Hn(_0x496022,_0x36ae1f,_0x478acf){const _0x446c59=_0x16f9e1;switch(_0x496022){case _0x446c59(0xbc):return _0x53e010(_0x36ae1f,_0x446c59(0xb5),_0x478acf);case _0x446c59(0x8a):return _0x53e010(_0x36ae1f,_0x446c59(0xab),_0x478acf);case _0x446c59(0xc8):return _0x53e010(_0x36ae1f,_0x446c59(0xc1),_0x478acf);}}function Ln(_0x219d08,_0x18b222,_0x36a434){const _0x146b94=_0x16f9e1;switch(_0x219d08){case _0x146b94(0xbc):return _0x53e010(_0x18b222,_0x146b94(0xb3),_0x36a434);case _0x146b94(0x8a):return _0x53e010(_0x18b222,_0x146b94(0x95),_0x36a434);case _0x146b94(0xc8):return _0x53e010(_0x18b222,_0x146b94(0x9d),_0x36a434);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x34db62=_0x1143;function _0x1143(_0x904cbe,_0x1469f6){var _0x2cb69c=_0x2cb6();return _0x1143=function(_0x1143f9,_0x51ce4f){_0x1143f9=_0x1143f9-0xe7;var _0x237a98=_0x2cb69c[_0x1143f9];return _0x237a98;},_0x1143(_0x904cbe,_0x1469f6);}function _0x2cb6(){var _0x5f182c=['showDiff','12693ZCEPnc','702hfVicO','172HCsZoz','applySuggestion','fire','updateSources','toggleSuggestionDisplayMode','isEnabled','containerView','extendTemplate','markAsDone','8118ssgFfk','12082UIIYrv','mouseLeaveSuggestion','4950130LKlntm','options','availableActions','dislike','isTrackChangesOn','hasPendingParts','isVisible','areActionsDisabled','showChangeInText','265031vXthqM','children','hasNonEmptyParts','bodyView','mouseOverSuggestion','ck-ai-chat__feed__ai-suggestion','updateContent','actionsView','updatePartState','addMany','bind','like','rejectSuggestion','3045632pHsICr','getPartView','set','updateLabels','insertSuggestion','3072VYbmFs','3037540zOwfrZ','partsCount'];_0x2cb6=function(){return _0x5f182c;};return _0x2cb6();}(function(_0x3e31fe,_0x1e3644){var _0x321b30=_0x1143,_0x10c9d6=_0x3e31fe();while(!![]){try{var _0x52978e=parseInt(_0x321b30(0xed))/0x1+-parseInt(_0x321b30(0x105))/0x2*(parseInt(_0x321b30(0x103))/0x3)+parseInt(_0x321b30(0xfa))/0x4+-parseInt(_0x321b30(0x100))/0x5+-parseInt(_0x321b30(0x104))/0x6*(-parseInt(_0x321b30(0x10f))/0x7)+parseInt(_0x321b30(0xff))/0x8*(-parseInt(_0x321b30(0x10e))/0x9)+parseInt(_0x321b30(0x111))/0xa;if(_0x52978e===_0x1e3644)break;else _0x10c9d6['push'](_0x10c9d6['shift']());}catch(_0x2c396d){_0x10c9d6['push'](_0x10c9d6['shift']());}}}(_0x2cb6,0x63094));import{AIChatFeedItemView as _0x8ede77}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x192c3d}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x12a49d}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x8ede77{[_0x34db62(0x10b)];[_0x34db62(0xf4)];constructor(_0x1755aa,_0x10e90b){var _0x8f7790=_0x34db62;super(_0x10e90b),this[_0x8f7790(0xfc)](_0x8f7790(0xe8),!0x1),this[_0x8f7790(0x10b)]=new _0x192c3d(_0x1755aa,{'showDiff':_0x10e90b[_0x8f7790(0x102)],'areActionsDisabled':_0x10e90b[_0x8f7790(0xeb)],'availableActions':_0x10e90b[_0x8f7790(0x113)]}),this[_0x8f7790(0x10b)]['on'](_0x8f7790(0x109),(_0x2a1547,_0x4feac9)=>{var _0x473ec1=_0x8f7790;this[_0x473ec1(0x107)](_0x473ec1(0x109),{'replyId':this[_0x473ec1(0x112)]['id'],'showDiff':_0x4feac9[_0x473ec1(0x102)]});}),this[_0x8f7790(0x10b)]['on'](_0x8f7790(0xf8),()=>{var _0x216a94=_0x8f7790;this[_0x216a94(0x107)](_0x216a94(0xf8),{'replyId':this[_0x216a94(0x112)]['id']});}),this[_0x8f7790(0x10b)]['on'](_0x8f7790(0xe7),()=>{var _0x531566=_0x8f7790;this[_0x531566(0x107)](_0x531566(0xe7),{'replyId':this[_0x531566(0x112)]['id']});}),this[_0x8f7790(0x10b)]['on'](_0x8f7790(0xec),(_0x30001b,{index:_0x5d247b})=>{var _0x3b4779=_0x8f7790;this[_0x3b4779(0x107)](_0x3b4779(0xec),{'replyId':this[_0x3b4779(0x112)]['id'],'partIndex':_0x5d247b});}),this[_0x8f7790(0x10b)]['on'](_0x8f7790(0xfe),(_0x4ba183,{index:_0x5cc193})=>{var _0x2e4324=_0x8f7790;this[_0x2e4324(0x107)](_0x2e4324(0xfe),{'replyId':this[_0x2e4324(0x112)]['id'],'partIndex':_0x5cc193});}),this[_0x8f7790(0x10b)]['on'](_0x8f7790(0xf9),(_0x122909,{index:_0x2956cd})=>{var _0x442af8=_0x8f7790;this[_0x442af8(0x107)](_0x442af8(0xf9),{'replyId':this[_0x442af8(0x112)]['id'],'partIndex':_0x2956cd});}),this[_0x8f7790(0x10b)]['on'](_0x8f7790(0xf1),(_0xc90b0e,{index:_0x3f7084})=>{var _0x2c1b42=_0x8f7790;this[_0x2c1b42(0x107)](_0x2c1b42(0xf1),{'replyId':this[_0x2c1b42(0x112)]['id'],'partIndex':_0x3f7084});}),this[_0x8f7790(0x10b)]['on'](_0x8f7790(0x110),(_0xb2bec4,{index:_0x28d0d1})=>{var _0x592729=_0x8f7790;this[_0x592729(0x107)](_0x592729(0x110),{'replyId':this[_0x592729(0x112)]['id'],'partIndex':_0x28d0d1});}),this[_0x8f7790(0xf4)]=new _0x12a49d(_0x1755aa,this[_0x8f7790(0x112)][_0x8f7790(0x113)]),this[_0x8f7790(0xf4)][_0x8f7790(0xf7)](_0x8f7790(0xe8))['to'](this,_0x8f7790(0xe8)),this[_0x8f7790(0xf4)]['on'](_0x8f7790(0xec),()=>{var _0x581c07=_0x8f7790;this[_0x581c07(0x107)](_0x581c07(0xec),{'replyId':this[_0x581c07(0x112)]['id']});}),this[_0x8f7790(0xf4)]['on'](_0x8f7790(0xfe),()=>{var _0x4ceab0=_0x8f7790;this[_0x4ceab0(0x107)](_0x4ceab0(0xfe),{'replyId':this[_0x4ceab0(0x112)]['id']});}),this[_0x8f7790(0xf4)]['on'](_0x8f7790(0x106),()=>{var _0x27660a=_0x8f7790;this[_0x27660a(0x107)](_0x27660a(0x106),{'replyId':this[_0x27660a(0x112)]['id']});}),_0x10e90b[_0x8f7790(0xeb)]?this[_0x8f7790(0xf4)][_0x8f7790(0x10a)]=!0x1:this[_0x8f7790(0xf4)][_0x8f7790(0xf7)](_0x8f7790(0x10a))['to'](this[_0x8f7790(0x10b)][_0x8f7790(0xf0)],_0x8f7790(0xe9)),this[_0x8f7790(0xee)][_0x8f7790(0xf6)]([this[_0x8f7790(0x10b)],this[_0x8f7790(0xf4)]]),this[_0x8f7790(0x10c)]({'attributes':{'class':[_0x8f7790(0xf2)]}});}async[_0x34db62(0xf3)](_0x1553b3){var _0x449d25=_0x34db62;await this[_0x449d25(0x10b)][_0x449d25(0xf3)](_0x1553b3),this[_0x449d25(0xf4)][_0x449d25(0xfd)](this[_0x449d25(0x10b)][_0x449d25(0xf0)][_0x449d25(0x101)]);}[_0x34db62(0xf5)](_0xbeaed7,_0x299550){var _0x106b26=_0x34db62;this[_0x106b26(0x10b)][_0x106b26(0xf0)][_0x106b26(0xf5)](_0xbeaed7,_0x299550);}[_0x34db62(0x108)](_0x5e7d89){var _0x46e7ff=_0x34db62;this[_0x46e7ff(0x10b)][_0x46e7ff(0x108)](_0x5e7d89);}[_0x34db62(0xfb)](_0x1e9253){var _0x405436=_0x34db62;return this[_0x405436(0x10b)][_0x405436(0xf0)][_0x405436(0xfb)](_0x1e9253);}[_0x34db62(0x10d)](){var _0x2308d9=_0x34db62;super[_0x2308d9(0x10d)](),this[_0x2308d9(0x10b)][_0x2308d9(0x10d)](),this[_0x2308d9(0xf4)][_0x2308d9(0xea)]=this[_0x2308d9(0x10b)][_0x2308d9(0xf0)][_0x2308d9(0xef)];}}
23
+ var _0x16a6de=_0xb85a;(function(_0x18d326,_0x48c28a){var _0x4fd12e=_0xb85a,_0x5315f2=_0x18d326();while(!![]){try{var _0x577998=-parseInt(_0x4fd12e(0x189))/0x1+-parseInt(_0x4fd12e(0x17e))/0x2*(-parseInt(_0x4fd12e(0x198))/0x3)+parseInt(_0x4fd12e(0x18f))/0x4+-parseInt(_0x4fd12e(0x185))/0x5*(parseInt(_0x4fd12e(0x196))/0x6)+-parseInt(_0x4fd12e(0x192))/0x7*(parseInt(_0x4fd12e(0x18e))/0x8)+-parseInt(_0x4fd12e(0x177))/0x9+-parseInt(_0x4fd12e(0x175))/0xa*(-parseInt(_0x4fd12e(0x182))/0xb);if(_0x577998===_0x48c28a)break;else _0x5315f2['push'](_0x5315f2['shift']());}catch(_0x1c4a2a){_0x5315f2['push'](_0x5315f2['shift']());}}}(_0x2ef2,0x9d478));import{AIChatFeedItemView as _0x369a6b}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x2bb7b3}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0xb85a(_0x15f8f0,_0x50172b){var _0x2ef27f=_0x2ef2();return _0xb85a=function(_0xb85a02,_0x476095){_0xb85a02=_0xb85a02-0x171;var _0xc385b1=_0x2ef27f[_0xb85a02];return _0xc385b1;},_0xb85a(_0x15f8f0,_0x50172b);}import{AIChatFeedSuggestionItemActionsView as _0x1e9476}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x369a6b{[_0x16a6de(0x19b)];[_0x16a6de(0x18d)];constructor(_0x13cf72,_0x5a3709){var _0x4382ca=_0x16a6de;super(_0x5a3709),this[_0x4382ca(0x174)](_0x4382ca(0x17d),!0x1),this[_0x4382ca(0x19b)]=new _0x2bb7b3(_0x13cf72,{'showDiff':_0x5a3709[_0x4382ca(0x194)],'areActionsDisabled':_0x5a3709[_0x4382ca(0x18b)],'availableActions':_0x5a3709[_0x4382ca(0x181)]}),this[_0x4382ca(0x19b)]['on'](_0x4382ca(0x178),(_0x3f1287,_0x2d7d5c)=>{var _0x13f63f=_0x4382ca;this[_0x13f63f(0x183)](_0x13f63f(0x178),{'replyId':this[_0x13f63f(0x19e)]['id'],'showDiff':_0x2d7d5c[_0x13f63f(0x194)]});}),this[_0x4382ca(0x19b)]['on'](_0x4382ca(0x171),()=>{var _0x1e6e1f=_0x4382ca;this[_0x1e6e1f(0x183)](_0x1e6e1f(0x171),{'replyId':this[_0x1e6e1f(0x19e)]['id']});}),this[_0x4382ca(0x19b)]['on'](_0x4382ca(0x173),()=>{var _0x141f33=_0x4382ca;this[_0x141f33(0x183)](_0x141f33(0x173),{'replyId':this[_0x141f33(0x19e)]['id']});}),this[_0x4382ca(0x19b)]['on'](_0x4382ca(0x17f),(_0x1eb60b,{index:_0x46447c})=>{var _0x53ac85=_0x4382ca;this[_0x53ac85(0x183)](_0x53ac85(0x17f),{'replyId':this[_0x53ac85(0x19e)]['id'],'partIndex':_0x46447c});}),this[_0x4382ca(0x19b)]['on'](_0x4382ca(0x179),(_0x2c9155,{index:_0x5b837c})=>{var _0x58826f=_0x4382ca;this[_0x58826f(0x183)](_0x58826f(0x179),{'replyId':this[_0x58826f(0x19e)]['id'],'partIndex':_0x5b837c});}),this[_0x4382ca(0x19b)]['on'](_0x4382ca(0x199),(_0x1cee6c,{index:_0x5114a0})=>{var _0xa0472f=_0x4382ca;this[_0xa0472f(0x183)](_0xa0472f(0x199),{'replyId':this[_0xa0472f(0x19e)]['id'],'partIndex':_0x5114a0});}),this[_0x4382ca(0x19b)]['on'](_0x4382ca(0x186),(_0x518d51,{index:_0x48bffa})=>{var _0x4446b6=_0x4382ca;this[_0x4446b6(0x183)](_0x4446b6(0x186),{'replyId':this[_0x4446b6(0x19e)]['id'],'partIndex':_0x48bffa});}),this[_0x4382ca(0x19b)]['on'](_0x4382ca(0x18c),(_0x5eed72,{index:_0x1b6697})=>{var _0x2abd33=_0x4382ca;this[_0x2abd33(0x183)](_0x2abd33(0x18c),{'replyId':this[_0x2abd33(0x19e)]['id'],'partIndex':_0x1b6697});}),this[_0x4382ca(0x18d)]=new _0x1e9476(_0x13cf72,this[_0x4382ca(0x19e)][_0x4382ca(0x181)]),this[_0x4382ca(0x18d)][_0x4382ca(0x19c)](_0x4382ca(0x17d))['to'](this,_0x4382ca(0x17d)),this[_0x4382ca(0x18d)]['on'](_0x4382ca(0x17f),()=>{var _0x5cd84c=_0x4382ca;this[_0x5cd84c(0x183)](_0x5cd84c(0x17f),{'replyId':this[_0x5cd84c(0x19e)]['id']});}),this[_0x4382ca(0x18d)]['on'](_0x4382ca(0x179),()=>{var _0x420438=_0x4382ca;this[_0x420438(0x183)](_0x420438(0x179),{'replyId':this[_0x420438(0x19e)]['id']});}),this[_0x4382ca(0x18d)]['on'](_0x4382ca(0x17a),()=>{var _0x40b73b=_0x4382ca;this[_0x40b73b(0x183)](_0x40b73b(0x17a),{'replyId':this[_0x40b73b(0x19e)]['id']});}),_0x5a3709[_0x4382ca(0x18b)]?this[_0x4382ca(0x18d)][_0x4382ca(0x187)]=!0x1:this[_0x4382ca(0x18d)][_0x4382ca(0x19c)](_0x4382ca(0x187))['to'](this[_0x4382ca(0x19b)][_0x4382ca(0x193)],_0x4382ca(0x188)),this[_0x4382ca(0x195)][_0x4382ca(0x17b)]([this[_0x4382ca(0x19b)],this[_0x4382ca(0x18d)]]),this[_0x4382ca(0x19a)]({'attributes':{'class':[_0x4382ca(0x19d)]}});}async[_0x16a6de(0x191)](_0x3d72df){var _0x17ae3b=_0x16a6de;await this[_0x17ae3b(0x19b)][_0x17ae3b(0x191)](_0x3d72df),this[_0x17ae3b(0x18d)][_0x17ae3b(0x197)](this[_0x17ae3b(0x19b)][_0x17ae3b(0x193)][_0x17ae3b(0x180)]);}[_0x16a6de(0x184)](_0x5af0e9,_0x16f8fa){var _0x4d1946=_0x16a6de;this[_0x4d1946(0x19b)][_0x4d1946(0x193)][_0x4d1946(0x184)](_0x5af0e9,_0x16f8fa);}[_0x16a6de(0x176)](_0x3c1fd9){var _0x3f651e=_0x16a6de;this[_0x3f651e(0x19b)][_0x3f651e(0x176)](_0x3c1fd9);}[_0x16a6de(0x17c)](_0x505ce9){var _0x27a0f9=_0x16a6de;return this[_0x27a0f9(0x19b)][_0x27a0f9(0x193)][_0x27a0f9(0x17c)](_0x505ce9);}[_0x16a6de(0x18a)](){var _0x3c09c7=_0x16a6de;super[_0x3c09c7(0x18a)](),this[_0x3c09c7(0x19b)][_0x3c09c7(0x18a)](),this[_0x3c09c7(0x18d)][_0x3c09c7(0x190)]=this[_0x3c09c7(0x19b)][_0x3c09c7(0x193)][_0x3c09c7(0x172)];}}function _0x2ef2(){var _0x3e5656=['children','3138FWJLWc','updateLabels','918QpkjYH','rejectSuggestion','extendTemplate','containerView','bind','ck-ai-chat__feed__ai-suggestion','options','like','hasNonEmptyParts','dislike','set','15314470DNsITk','updateSources','3665124oIRCaU','toggleSuggestionDisplayMode','insertSuggestion','applySuggestion','addMany','getPartView','isTrackChangesOn','6926oTwkiP','showChangeInText','partsCount','availableActions','11xhRZhq','fire','updatePartState','2520zsmnmp','mouseOverSuggestion','isEnabled','hasPendingParts','506749mHcVeB','markAsDone','areActionsDisabled','mouseLeaveSuggestion','actionsView','2568jWYTUU','1754364NnISkp','isVisible','updateContent','26341vuXPQC','bodyView','showDiff'];_0x2ef2=function(){return _0x3e5656;};return _0x2ef2();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1398e6=_0x441d;(function(_0x5654c2,_0x4eaf73){var _0x46774f=_0x441d,_0x31798a=_0x5654c2();while(!![]){try{var _0x43bd8e=-parseInt(_0x46774f(0x150))/0x1+-parseInt(_0x46774f(0x143))/0x2+-parseInt(_0x46774f(0x15b))/0x3+-parseInt(_0x46774f(0x145))/0x4*(parseInt(_0x46774f(0x14c))/0x5)+parseInt(_0x46774f(0x152))/0x6+parseInt(_0x46774f(0x14a))/0x7*(parseInt(_0x46774f(0x151))/0x8)+parseInt(_0x46774f(0x153))/0x9*(parseInt(_0x46774f(0x149))/0xa);if(_0x43bd8e===_0x4eaf73)break;else _0x31798a['push'](_0x31798a['shift']());}catch(_0x429e84){_0x31798a['push'](_0x31798a['shift']());}}}(_0x28cd,0x1ff6a));import{AIChatFeedItemView as _0x39e82a}from'./aichatfeeditemview.js';function _0x28cd(){var _0x655bc8=['9645HhTRYz','ck-ai-chat__feed__user-message','ck-ai-chat__feed__context-chips','element','41502zMsruF','471272dksYwA','769188NtnzwP','558342tBtalD','_bodyCollection','children','render','markAsDone','length','add','contextItems','317367hIQfin','_contextChipsView','setTemplate','initialContent','ck-ai-chat__feed__message-content','hidden','_createMessageContentView','_createContextChipsView','_locale','options','152056xinInz','extendTemplate','168lJivjL','innerHTML','filter','_messageContentView','40ejVabf','7nkjcOr','div'];_0x28cd=function(){return _0x655bc8;};return _0x28cd();}function _0x441d(_0xca46d,_0x3391da){var _0x28cd1d=_0x28cd();return _0x441d=function(_0x441dd0,_0x36dab9){_0x441dd0=_0x441dd0-0x143;var _0x89459a=_0x28cd1d[_0x441dd0];return _0x89459a;},_0x441d(_0xca46d,_0x3391da);}import{AIChatFeedContextChipsView as _0x164db4}from'./aichatfeedcontextchipsview.js';import{View as _0x1d1a99}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x39e82a{[_0x1398e6(0x15c)]=null;[_0x1398e6(0x163)];[_0x1398e6(0x154)];[_0x1398e6(0x148)];constructor(_0x3822db,_0xf31c2,_0x1be89f){var _0x14d5ae=_0x1398e6;super(_0xf31c2),this[_0x14d5ae(0x163)]=_0x3822db,this[_0x14d5ae(0x154)]=_0x1be89f,this[_0x14d5ae(0x162)](),this[_0x14d5ae(0x161)](),this[_0x14d5ae(0x144)]({'attributes':{'class':[_0x14d5ae(0x14d)]}});}[_0x1398e6(0x162)](){var _0x175b3d=_0x1398e6;this[_0x175b3d(0x164)][_0x175b3d(0x15a)]&&this[_0x175b3d(0x164)][_0x175b3d(0x15a)][_0x175b3d(0x158)]>0x0&&(this[_0x175b3d(0x15c)]=new _0x164db4(this[_0x175b3d(0x163)],this[_0x175b3d(0x164)][_0x175b3d(0x15a)][_0x175b3d(0x147)](_0x2fa068=>!_0x2fa068[_0x175b3d(0x160)]),this[_0x175b3d(0x154)]),this[_0x175b3d(0x15c)][_0x175b3d(0x144)]({'attributes':{'class':_0x175b3d(0x14e)}}),this[_0x175b3d(0x155)][_0x175b3d(0x159)](this[_0x175b3d(0x15c)]));}[_0x1398e6(0x161)](){var _0x36bdd4=_0x1398e6;this[_0x36bdd4(0x148)]=new _0x1d1a99(this[_0x36bdd4(0x163)]),this[_0x36bdd4(0x148)][_0x36bdd4(0x15d)]({'tag':_0x36bdd4(0x14b),'attributes':{'class':_0x36bdd4(0x15f)}}),this[_0x36bdd4(0x155)][_0x36bdd4(0x159)](this[_0x36bdd4(0x148)]);}[_0x1398e6(0x156)](){var _0x165c42=_0x1398e6;super[_0x165c42(0x156)](),this[_0x165c42(0x148)][_0x165c42(0x14f)][_0x165c42(0x146)]=this[_0x165c42(0x164)][_0x165c42(0x15e)],this[_0x165c42(0x157)]();}}
23
+ var _0x607ac=_0x13cb;(function(_0x34793b,_0x4de4ce){var _0x308f5a=_0x13cb,_0xba451b=_0x34793b();while(!![]){try{var _0x1a9fa4=parseInt(_0x308f5a(0xe6))/0x1+-parseInt(_0x308f5a(0xea))/0x2+-parseInt(_0x308f5a(0xe8))/0x3+-parseInt(_0x308f5a(0xf1))/0x4*(-parseInt(_0x308f5a(0xdc))/0x5)+-parseInt(_0x308f5a(0xdd))/0x6*(parseInt(_0x308f5a(0xe4))/0x7)+-parseInt(_0x308f5a(0xe5))/0x8*(parseInt(_0x308f5a(0xf6))/0x9)+parseInt(_0x308f5a(0xed))/0xa;if(_0x1a9fa4===_0x4de4ce)break;else _0xba451b['push'](_0xba451b['shift']());}catch(_0x3d7589){_0xba451b['push'](_0xba451b['shift']());}}}(_0x29c2,0x7e8cf));function _0x13cb(_0x1d8a03,_0xa14978){var _0x29c252=_0x29c2();return _0x13cb=function(_0x13cb7e,_0x29d4d7){_0x13cb7e=_0x13cb7e-0xd7;var _0x306179=_0x29c252[_0x13cb7e];return _0x306179;},_0x13cb(_0x1d8a03,_0xa14978);}import{AIChatFeedItemView as _0x4591d8}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x7e6b67}from'./aichatfeedcontextchipsview.js';import{View as _0x3a6987}from'ckeditor5/src/ui.js';function _0x29c2(){var _0x1e19fa=['_contextChipsView','innerHTML','element','65AQknDO','171498IRZYpv','initialContent','ck-ai-chat__feed__message-content','add','extendTemplate','render','markAsDone','70CaucXi','2840zdjfwu','290093AczQBp','length','2888499FNlSUN','ck-ai-chat__feed__user-message','1705652CwRARv','contextItems','_messageContentView','22994880rLiCCa','_createContextChipsView','filter','_createMessageContentView','50272PHdZKI','ck-ai-chat__feed__context-chips','children','div','_locale','3375XYtjjI','hidden','options','_bodyCollection','setTemplate'];_0x29c2=function(){return _0x1e19fa;};return _0x29c2();}export class AIChatFeedUserMessageItemView extends _0x4591d8{[_0x607ac(0xd9)]=null;[_0x607ac(0xf5)];[_0x607ac(0xd7)];[_0x607ac(0xec)];constructor(_0x567099,_0x5bfccf,_0x492328){var _0x5d85a2=_0x607ac;super(_0x5bfccf),this[_0x5d85a2(0xf5)]=_0x567099,this[_0x5d85a2(0xd7)]=_0x492328,this[_0x5d85a2(0xee)](),this[_0x5d85a2(0xf0)](),this[_0x5d85a2(0xe1)]({'attributes':{'class':[_0x5d85a2(0xe9)]}});}[_0x607ac(0xee)](){var _0xf480eb=_0x607ac;this[_0xf480eb(0xf8)][_0xf480eb(0xeb)]&&this[_0xf480eb(0xf8)][_0xf480eb(0xeb)][_0xf480eb(0xe7)]>0x0&&(this[_0xf480eb(0xd9)]=new _0x7e6b67(this[_0xf480eb(0xf5)],this[_0xf480eb(0xf8)][_0xf480eb(0xeb)][_0xf480eb(0xef)](_0x1487f8=>!_0x1487f8[_0xf480eb(0xf7)]),this[_0xf480eb(0xd7)]),this[_0xf480eb(0xd9)][_0xf480eb(0xe1)]({'attributes':{'class':_0xf480eb(0xf2)}}),this[_0xf480eb(0xf3)][_0xf480eb(0xe0)](this[_0xf480eb(0xd9)]));}[_0x607ac(0xf0)](){var _0xc5624f=_0x607ac;this[_0xc5624f(0xec)]=new _0x3a6987(this[_0xc5624f(0xf5)]),this[_0xc5624f(0xec)][_0xc5624f(0xd8)]({'tag':_0xc5624f(0xf4),'attributes':{'class':_0xc5624f(0xdf)}}),this[_0xc5624f(0xf3)][_0xc5624f(0xe0)](this[_0xc5624f(0xec)]);}[_0x607ac(0xe2)](){var _0x452b9c=_0x607ac;super[_0x452b9c(0xe2)](),this[_0x452b9c(0xec)][_0x452b9c(0xdb)][_0x452b9c(0xda)]=this[_0x452b9c(0xf8)][_0x452b9c(0xde)],this[_0x452b9c(0xe3)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fb127=_0x2f20;function _0x58d4(){const _0x3fb03d=['addDocumentToContext','startConversation','toggleReasoning','addUrlToContext','resizeTabs','11967EBgmQA','abortPromptStream','4637910whuQXY','toggleWebSearch','addResourceToContext','368788SqRCJR','removeContextItem','7823915XealEw','92yPWCth','loadSourceResources','16bsHsLE','4479167KKGCGi','addFileToContext','selectModel','238988AaqGhP','20fKhimi','6HMiXgZ','3062655EzMiSB','sendUserMessage'];_0x58d4=function(){return _0x3fb03d;};return _0x58d4();}(function(_0x13407a,_0x3de6e3){const _0x36998e=_0x2f20,_0x30fb0c=_0x13407a();while(!![]){try{const _0x412f6d=-parseInt(_0x36998e(0x1af))/0x1+parseInt(_0x36998e(0x1b8))/0x2+-parseInt(_0x36998e(0x1c2))/0x3*(parseInt(_0x36998e(0x1b2))/0x4)+parseInt(_0x36998e(0x1c4))/0x5+-parseInt(_0x36998e(0x1ba))/0x6*(-parseInt(_0x36998e(0x1b5))/0x7)+parseInt(_0x36998e(0x1b4))/0x8*(parseInt(_0x36998e(0x1bb))/0x9)+-parseInt(_0x36998e(0x1b9))/0xa*(parseInt(_0x36998e(0x1b1))/0xb);if(_0x412f6d===_0x3de6e3)break;else _0x30fb0c['push'](_0x30fb0c['shift']());}catch(_0x384e12){_0x30fb0c['push'](_0x30fb0c['shift']());}}}(_0x58d4,0x76482));function _0x2f20(_0xc857d2,_0x544bdb){const _0x58d417=_0x58d4();return _0x2f20=function(_0x2f200a,_0x170531){_0x2f200a=_0x2f200a-0x1af;let _0x38da1f=_0x58d417[_0x2f200a];return _0x38da1f;},_0x2f20(_0xc857d2,_0x544bdb);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x1a0f3b}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x1a0f3b,_0x2fb127(0x1be),_0x2fb127(0x1c1),_0x2fb127(0x1bc),_0x2fb127(0x1c3),_0x2fb127(0x1bd),_0x2fb127(0x1b6),_0x2fb127(0x1c0),_0x2fb127(0x1c6),_0x2fb127(0x1b0),_0x2fb127(0x1b3),_0x2fb127(0x1c5),_0x2fb127(0x1bf),_0x2fb127(0x1b7)];
23
+ const _0x40ce76=_0x17bf;(function(_0x537f71,_0x37b3be){const _0x198c54=_0x17bf,_0x462628=_0x537f71();while(!![]){try{const _0x2a64e3=parseInt(_0x198c54(0x149))/0x1+-parseInt(_0x198c54(0x147))/0x2+parseInt(_0x198c54(0x13e))/0x3*(parseInt(_0x198c54(0x146))/0x4)+-parseInt(_0x198c54(0x14b))/0x5+parseInt(_0x198c54(0x143))/0x6+-parseInt(_0x198c54(0x139))/0x7*(-parseInt(_0x198c54(0x13c))/0x8)+-parseInt(_0x198c54(0x13a))/0x9;if(_0x2a64e3===_0x37b3be)break;else _0x462628['push'](_0x462628['shift']());}catch(_0x4d398e){_0x462628['push'](_0x462628['shift']());}}}(_0x57c2,0x9b9cb));function _0x17bf(_0x58da81,_0xa6e244){const _0x57c27a=_0x57c2();return _0x17bf=function(_0x17bf63,_0x288ea6){_0x17bf63=_0x17bf63-0x139;let _0x307546=_0x57c27a[_0x17bf63];return _0x307546;},_0x17bf(_0x58da81,_0xa6e244);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4ae8ef}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x4ae8ef,_0x40ce76(0x14c),_0x40ce76(0x13b),_0x40ce76(0x142),_0x40ce76(0x14d),_0x40ce76(0x148),_0x40ce76(0x144),_0x40ce76(0x13d),_0x40ce76(0x141),_0x40ce76(0x14e),_0x40ce76(0x14a),_0x40ce76(0x140),_0x40ce76(0x145),_0x40ce76(0x13f)];function _0x57c2(){const _0x327e08=['11653983dqpVPc','resizeTabs','24nnHGXp','addUrlToContext','3epFbKY','selectModel','toggleWebSearch','addResourceToContext','sendUserMessage','3996150hsAvxY','addFileToContext','toggleReasoning','4467952grCfPu','1026604dPtIrf','addDocumentToContext','933351PHnZpn','loadSourceResources','5290255yEcBHf','startConversation','abortPromptStream','removeContextItem','1836947YOsEzW'];_0x57c2=function(){return _0x327e08;};return _0x57c2();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x428c5b=_0x12b6;(function(_0x34d88e,_0x399e7c){const _0x188bba=_0x12b6,_0x2922f2=_0x34d88e();while(!![]){try{const _0x2b1cfc=-parseInt(_0x188bba(0xd7))/0x1+-parseInt(_0x188bba(0xd3))/0x2*(parseInt(_0x188bba(0xc7))/0x3)+-parseInt(_0x188bba(0xd1))/0x4+parseInt(_0x188bba(0xdc))/0x5+parseInt(_0x188bba(0xd8))/0x6*(-parseInt(_0x188bba(0xcc))/0x7)+-parseInt(_0x188bba(0xce))/0x8+parseInt(_0x188bba(0xc5))/0x9*(parseInt(_0x188bba(0xd0))/0xa);if(_0x2b1cfc===_0x399e7c)break;else _0x2922f2['push'](_0x2922f2['shift']());}catch(_0x45acb6){_0x2922f2['push'](_0x2922f2['shift']());}}}(_0x505a,0xc47fc));function _0x505a(){const _0x3e7a78=['reject','callback','resolve','17737zSzcrE','5040060ytfgHd','once','shift','signal','7011045UzBcae','enqueue','queueEmptyPromise','push','completePromise','abort','189uyjXiR','fire','1266555cMoLMi','createTask','_abortController','length','_processQueue','7wwObRO','isProcessing','3440928DeZJkK','_queueEmpty','1072730TIpaZb','4560136sOaNwK','queue','2dmqUyz'];_0x505a=function(){return _0x3e7a78;};return _0x505a();}function _0x12b6(_0x2413d4,_0x134d3c){const _0x505a5c=_0x505a();return _0x12b6=function(_0x12b627,_0x5064a7){_0x12b627=_0x12b627-0xc0;let _0xcfe7c0=_0x505a5c[_0x12b627];return _0xcfe7c0;},_0x12b6(_0x2413d4,_0x134d3c);}import{EmitterMixin as _0x5b9859}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x5b9859(){[_0x428c5b(0xd2)]=[];[_0x428c5b(0xcd)]=!0x1;[_0x428c5b(0xc9)];async[_0x428c5b(0xc0)](_0x5e3978){const _0x5ad55d=_0x428c5b,_0x587188=this[_0x5ad55d(0xc8)](_0x5e3978);return this[_0x5ad55d(0xd2)][_0x5ad55d(0xc2)](_0x587188),this[_0x5ad55d(0xcb)](),_0x587188[_0x5ad55d(0xc3)];}[_0x428c5b(0xc4)](){const _0x43ae27=_0x428c5b;this[_0x43ae27(0xcd)]&&(this[_0x43ae27(0xc9)][_0x43ae27(0xc4)](),this[_0x43ae27(0xc9)]=void 0x0,this[_0x43ae27(0xd2)]=[],this[_0x43ae27(0xc6)](_0x43ae27(0xcf)),this[_0x43ae27(0xcd)]=!0x1);}get[_0x428c5b(0xc1)](){const _0x2fdde2=_0x428c5b;return this[_0x2fdde2(0xd2)][_0x2fdde2(0xca)]||this[_0x2fdde2(0xcd)]?new Promise(_0x76fbd3=>{const _0x490e32=_0x2fdde2;this[_0x490e32(0xd9)](_0x490e32(0xcf),()=>{_0x76fbd3();});}):Promise[_0x2fdde2(0xd6)]();}async[_0x428c5b(0xcb)](){const _0x118d56=_0x428c5b;if(!this[_0x118d56(0xcd)]){this[_0x118d56(0xc9)]=new AbortController(),this[_0x118d56(0xcd)]=!0x0;try{for(;this[_0x118d56(0xd2)][_0x118d56(0xca)]&&this[_0x118d56(0xcd)];){const _0x3adc59=this[_0x118d56(0xd2)][_0x118d56(0xda)]();try{await _0x3adc59[_0x118d56(0xd5)](this[_0x118d56(0xc9)][_0x118d56(0xdb)]),_0x3adc59[_0x118d56(0xd6)]();}catch(_0x5ad2d3){_0x3adc59[_0x118d56(0xd4)](_0x5ad2d3);}}}finally{this[_0x118d56(0xcd)]=!0x1,this[_0x118d56(0xc9)]=void 0x0;}this[_0x118d56(0xc6)](_0x118d56(0xcf));}}[_0x428c5b(0xc8)](_0x264ed1){let _0x363ab8,_0x4ebda8;const _0x55b2cd=new Promise((_0x2bf117,_0x16e8b6)=>{_0x363ab8=_0x2bf117,_0x4ebda8=_0x16e8b6;});return{'callback':_0x264ed1,'resolve':_0x363ab8,'reject':_0x4ebda8,'completePromise':_0x55b2cd};}}
23
+ const _0x14be34=_0x2a1c;function _0x59ab(){const _0x214c61=['8315YtOyLL','push','once','queue','resolve','fire','enqueue','_queueEmpty','signal','3332gwbUWm','138900MnDSLs','callback','2672tvxJGq','reject','createTask','138390FauuOY','queueEmptyPromise','isProcessing','137076eAnzUM','284MTvXZS','abort','length','114849gFDmXm','_processQueue','shift','_abortController','1993401eblsbN','completePromise'];_0x59ab=function(){return _0x214c61;};return _0x59ab();}function _0x2a1c(_0x2e6706,_0x390771){const _0x59abba=_0x59ab();return _0x2a1c=function(_0x2a1c6a,_0x35276c){_0x2a1c6a=_0x2a1c6a-0x192;let _0x1250d5=_0x59abba[_0x2a1c6a];return _0x1250d5;},_0x2a1c(_0x2e6706,_0x390771);}(function(_0x2b0bbc,_0x1da40e){const _0x2621cf=_0x2a1c,_0x5c3f8b=_0x2b0bbc();while(!![]){try{const _0x2704c4=parseInt(_0x2621cf(0x1a0))/0x1+-parseInt(_0x2621cf(0x1a3))/0x2+-parseInt(_0x2621cf(0x1a7))/0x3+-parseInt(_0x2621cf(0x1a4))/0x4*(-parseInt(_0x2621cf(0x1ad))/0x5)+parseInt(_0x2621cf(0x19b))/0x6+parseInt(_0x2621cf(0x19a))/0x7*(parseInt(_0x2621cf(0x19d))/0x8)+-parseInt(_0x2621cf(0x1ab))/0x9;if(_0x2704c4===_0x1da40e)break;else _0x5c3f8b['push'](_0x5c3f8b['shift']());}catch(_0x3a0739){_0x5c3f8b['push'](_0x5c3f8b['shift']());}}}(_0x59ab,0x1aecf));import{EmitterMixin as _0x271b2a}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x271b2a(){[_0x14be34(0x194)]=[];[_0x14be34(0x1a2)]=!0x1;[_0x14be34(0x1aa)];async[_0x14be34(0x197)](_0x20534e){const _0x573157=_0x14be34,_0x1df9bf=this[_0x573157(0x19f)](_0x20534e);return this[_0x573157(0x194)][_0x573157(0x192)](_0x1df9bf),this[_0x573157(0x1a8)](),_0x1df9bf[_0x573157(0x1ac)];}[_0x14be34(0x1a5)](){const _0x53c1c4=_0x14be34;this[_0x53c1c4(0x1a2)]&&(this[_0x53c1c4(0x1aa)][_0x53c1c4(0x1a5)](),this[_0x53c1c4(0x1aa)]=void 0x0,this[_0x53c1c4(0x194)]=[],this[_0x53c1c4(0x196)](_0x53c1c4(0x198)),this[_0x53c1c4(0x1a2)]=!0x1);}get[_0x14be34(0x1a1)](){const _0x1559cd=_0x14be34;return this[_0x1559cd(0x194)][_0x1559cd(0x1a6)]||this[_0x1559cd(0x1a2)]?new Promise(_0x1f8a4a=>{const _0x3e1bf4=_0x1559cd;this[_0x3e1bf4(0x193)](_0x3e1bf4(0x198),()=>{_0x1f8a4a();});}):Promise[_0x1559cd(0x195)]();}async[_0x14be34(0x1a8)](){const _0x4d1534=_0x14be34;if(!this[_0x4d1534(0x1a2)]){this[_0x4d1534(0x1aa)]=new AbortController(),this[_0x4d1534(0x1a2)]=!0x0;try{for(;this[_0x4d1534(0x194)][_0x4d1534(0x1a6)]&&this[_0x4d1534(0x1a2)];){const _0x28a177=this[_0x4d1534(0x194)][_0x4d1534(0x1a9)]();try{await _0x28a177[_0x4d1534(0x19c)](this[_0x4d1534(0x1aa)][_0x4d1534(0x199)]),_0x28a177[_0x4d1534(0x195)]();}catch(_0x2e63d6){_0x28a177[_0x4d1534(0x19e)](_0x2e63d6);}}}finally{this[_0x4d1534(0x1a2)]=!0x1,this[_0x4d1534(0x1aa)]=void 0x0;}this[_0x4d1534(0x196)](_0x4d1534(0x198));}}[_0x14be34(0x19f)](_0x5799de){let _0x40e00e,_0x1a89ad;const _0x367736=new Promise((_0xbb11a4,_0x2e9981)=>{_0x40e00e=_0xbb11a4,_0x1a89ad=_0x2e9981;});return{'callback':_0x5799de,'resolve':_0x40e00e,'reject':_0x1a89ad,'completePromise':_0x367736};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5be4(){const _0x3de792=['type','abortController','signal','156955fgdVud','stop','key','7196823BOdOnJ','148OfhbQX','abort','deltaY','_stop','scrollHeight','animationFrameId','element','destroy','ArrowDown','touchstart','End','start','22QazZla','isRunning','bind','553UeeHrf','_onUserEvent','includes','_rafUpdate','isUserPaused','scrollTo','PageDown','Home','keydown','4306302WHQFJp','_isAtBottom','addEventListener','80346SBBxjP','1302040UYUOYk','wheel','ArrowUp','1085290klfYbP','PageUp','pointerdown','auto','8PlmYKH','17415730aeeFsp'];_0x5be4=function(){return _0x3de792;};return _0x5be4();}const _0x215af6=_0x2c89;function _0x2c89(_0x36d0ce,_0x40287f){const _0x5be443=_0x5be4();return _0x2c89=function(_0x2c896d,_0x5c0d27){_0x2c896d=_0x2c896d-0x6d;let _0x3deb50=_0x5be443[_0x2c896d];return _0x3deb50;},_0x2c89(_0x36d0ce,_0x40287f);}(function(_0x12a479,_0x2ec5d0){const _0x4b3235=_0x2c89,_0x5cb4f3=_0x12a479();while(!![]){try{const _0x44714d=parseInt(_0x4b3235(0x8e))/0x1+parseInt(_0x4b3235(0x8b))/0x2+-parseInt(_0x4b3235(0x87))/0x3+-parseInt(_0x4b3235(0x6f))/0x4*(parseInt(_0x4b3235(0x97))/0x5)+-parseInt(_0x4b3235(0x8a))/0x6*(parseInt(_0x4b3235(0x7e))/0x7)+parseInt(_0x4b3235(0x92))/0x8*(-parseInt(_0x4b3235(0x6e))/0x9)+-parseInt(_0x4b3235(0x93))/0xa*(-parseInt(_0x4b3235(0x7b))/0xb);if(_0x44714d===_0x2ec5d0)break;else _0x5cb4f3['push'](_0x5cb4f3['shift']());}catch(_0x5d4dac){_0x5cb4f3['push'](_0x5cb4f3['shift']());}}}(_0x5be4,0xbac5b));const ws=[_0x215af6(0x8c),_0x215af6(0x78),_0x215af6(0x90),_0x215af6(0x86)],fs=[_0x215af6(0x8d),_0x215af6(0x77),_0x215af6(0x8f),_0x215af6(0x84),_0x215af6(0x85),_0x215af6(0x79),'\x20'];export class ScrollManager{[_0x215af6(0x75)];[_0x215af6(0x74)];[_0x215af6(0x7c)];[_0x215af6(0x95)];[_0x215af6(0x82)];constructor(_0x40cfb7){const _0x59d29f=_0x215af6;this[_0x59d29f(0x75)]=_0x40cfb7,this[_0x59d29f(0x74)]=null,this[_0x59d29f(0x7c)]=!0x1,this[_0x59d29f(0x95)]=new AbortController(),this[_0x59d29f(0x82)]=!0x1;for(const _0x35efa1 of ws){const _0x255a56=_0x59d29f(0x86)!==_0x35efa1;this[_0x59d29f(0x75)][_0x59d29f(0x89)](_0x35efa1,this[_0x59d29f(0x7f)][_0x59d29f(0x7d)](this),{'passive':_0x255a56,'signal':this[_0x59d29f(0x95)][_0x59d29f(0x96)]});}}[_0x215af6(0x7a)](){const _0x2608d7=_0x215af6;this[_0x2608d7(0x7c)]||(this[_0x2608d7(0x7c)]=!0x0,this[_0x2608d7(0x82)]=!0x1,this[_0x2608d7(0x74)]=requestAnimationFrame(this[_0x2608d7(0x81)][_0x2608d7(0x7d)](this)));}[_0x215af6(0x98)](){requestAnimationFrame(()=>{const _0x55daab=_0x2c89;this[_0x55daab(0x72)]();});}[_0x215af6(0x76)](){const _0x45a807=_0x215af6;this[_0x45a807(0x72)](),this[_0x45a807(0x95)][_0x45a807(0x70)]();}[_0x215af6(0x72)](){const _0x55144f=_0x215af6;null!==this[_0x55144f(0x74)]&&(cancelAnimationFrame(this[_0x55144f(0x74)]),this[_0x55144f(0x74)]=null),this[_0x55144f(0x7c)]&&(this[_0x55144f(0x7c)]=!0x1),this[_0x55144f(0x82)]=!0x1;}[_0x215af6(0x7f)](_0x57f417){const _0x536c74=_0x215af6;if(this[_0x536c74(0x7c)]){if(_0x536c74(0x86)===_0x57f417[_0x536c74(0x94)]){const _0xa59568=_0x57f417[_0x536c74(0x6d)];if(!fs[_0x536c74(0x80)](_0xa59568))return;}_0x57f417 instanceof WheelEvent?_0x57f417[_0x536c74(0x71)]<0x0?this[_0x536c74(0x82)]=!0x0:this[_0x536c74(0x82)]=!this[_0x536c74(0x88)]():this[_0x536c74(0x82)]=!0x0;}}[_0x215af6(0x88)](){const _0x35be99=_0x215af6,{scrollTop:_0x5eb4ea,scrollHeight:_0x3c1593,clientHeight:_0x18396c}=this[_0x35be99(0x75)];return _0x3c1593-_0x5eb4ea-_0x18396c<=0x5;}[_0x215af6(0x81)](){const _0x5957bd=_0x215af6;this[_0x5957bd(0x7c)]&&(this[_0x5957bd(0x82)]||this[_0x5957bd(0x75)][_0x5957bd(0x83)]({'top':this[_0x5957bd(0x75)][_0x5957bd(0x73)],'behavior':_0x5957bd(0x91)}),this[_0x5957bd(0x74)]=requestAnimationFrame(this[_0x5957bd(0x81)][_0x5957bd(0x7d)](this)));}}
23
+ const _0x302b2c=_0x42b9;(function(_0x1bb4bd,_0x205e1d){const _0x3aace3=_0x42b9,_0x4c74fd=_0x1bb4bd();while(!![]){try{const _0x5ee5c2=parseInt(_0x3aace3(0x177))/0x1*(-parseInt(_0x3aace3(0x15d))/0x2)+-parseInt(_0x3aace3(0x15c))/0x3*(parseInt(_0x3aace3(0x17a))/0x4)+-parseInt(_0x3aace3(0x16b))/0x5*(-parseInt(_0x3aace3(0x15f))/0x6)+parseInt(_0x3aace3(0x16a))/0x7+parseInt(_0x3aace3(0x181))/0x8*(-parseInt(_0x3aace3(0x179))/0x9)+-parseInt(_0x3aace3(0x166))/0xa*(parseInt(_0x3aace3(0x160))/0xb)+parseInt(_0x3aace3(0x16d))/0xc;if(_0x5ee5c2===_0x205e1d)break;else _0x4c74fd['push'](_0x4c74fd['shift']());}catch(_0x562c49){_0x4c74fd['push'](_0x4c74fd['shift']());}}}(_0x4318,0x26c97));function _0x4318(){const _0x2cc650=['376BCyuSD','touchstart','pointerdown','deltaY','PageUp','End','includes','abort','114Khcrqy','110104pJdRoX','Home','1194jrhffg','80289bTfdcU','isRunning','element','_stop','scrollHeight','_onUserEvent','340JiuxnD','PageDown','auto','addEventListener','206829BcrNqm','6415elpMCd','_isAtBottom','4109856TveGwJ','destroy','wheel','stop','abortController','type','animationFrameId','key','ArrowUp','signal','1XCkmVr','_rafUpdate','21699yDOwqo','5468iwgJnR','isUserPaused','bind','scrollTo','start','keydown','ArrowDown'];_0x4318=function(){return _0x2cc650;};return _0x4318();}const ls=[_0x302b2c(0x16f),_0x302b2c(0x182),_0x302b2c(0x183),_0x302b2c(0x17f)],us=[_0x302b2c(0x175),_0x302b2c(0x180),_0x302b2c(0x158),_0x302b2c(0x167),_0x302b2c(0x15e),_0x302b2c(0x159),'\x20'];function _0x42b9(_0x15b546,_0x58419b){const _0x4318b4=_0x4318();return _0x42b9=function(_0x42b9b6,_0x12e948){_0x42b9b6=_0x42b9b6-0x158;let _0x5d0f64=_0x4318b4[_0x42b9b6];return _0x5d0f64;},_0x42b9(_0x15b546,_0x58419b);}export class ScrollManager{[_0x302b2c(0x162)];[_0x302b2c(0x173)];[_0x302b2c(0x161)];[_0x302b2c(0x171)];[_0x302b2c(0x17b)];constructor(_0xa259aa){const _0x577a38=_0x302b2c;this[_0x577a38(0x162)]=_0xa259aa,this[_0x577a38(0x173)]=null,this[_0x577a38(0x161)]=!0x1,this[_0x577a38(0x171)]=new AbortController(),this[_0x577a38(0x17b)]=!0x1;for(const _0x51d8e0 of ls){const _0x44c3b6=_0x577a38(0x17f)!==_0x51d8e0;this[_0x577a38(0x162)][_0x577a38(0x169)](_0x51d8e0,this[_0x577a38(0x165)][_0x577a38(0x17c)](this),{'passive':_0x44c3b6,'signal':this[_0x577a38(0x171)][_0x577a38(0x176)]});}}[_0x302b2c(0x17e)](){const _0x112cd0=_0x302b2c;this[_0x112cd0(0x161)]||(this[_0x112cd0(0x161)]=!0x0,this[_0x112cd0(0x17b)]=!0x1,this[_0x112cd0(0x173)]=requestAnimationFrame(this[_0x112cd0(0x178)][_0x112cd0(0x17c)](this)));}[_0x302b2c(0x170)](){requestAnimationFrame(()=>{const _0x4b59d1=_0x42b9;this[_0x4b59d1(0x163)]();});}[_0x302b2c(0x16e)](){const _0x468d26=_0x302b2c;this[_0x468d26(0x163)](),this[_0x468d26(0x171)][_0x468d26(0x15b)]();}[_0x302b2c(0x163)](){const _0x36630c=_0x302b2c;null!==this[_0x36630c(0x173)]&&(cancelAnimationFrame(this[_0x36630c(0x173)]),this[_0x36630c(0x173)]=null),this[_0x36630c(0x161)]&&(this[_0x36630c(0x161)]=!0x1),this[_0x36630c(0x17b)]=!0x1;}[_0x302b2c(0x165)](_0x4ebd76){const _0x1724c7=_0x302b2c;if(this[_0x1724c7(0x161)]){if(_0x1724c7(0x17f)===_0x4ebd76[_0x1724c7(0x172)]){const _0x10f377=_0x4ebd76[_0x1724c7(0x174)];if(!us[_0x1724c7(0x15a)](_0x10f377))return;}_0x4ebd76 instanceof WheelEvent?_0x4ebd76[_0x1724c7(0x184)]<0x0?this[_0x1724c7(0x17b)]=!0x0:this[_0x1724c7(0x17b)]=!this[_0x1724c7(0x16c)]():this[_0x1724c7(0x17b)]=!0x0;}}[_0x302b2c(0x16c)](){const _0x5b57ed=_0x302b2c,{scrollTop:_0x30a50b,scrollHeight:_0x31f6a1,clientHeight:_0x3cd465}=this[_0x5b57ed(0x162)];return _0x31f6a1-_0x30a50b-_0x3cd465<=0x5;}[_0x302b2c(0x178)](){const _0x271d00=_0x302b2c;this[_0x271d00(0x161)]&&(this[_0x271d00(0x17b)]||this[_0x271d00(0x162)][_0x271d00(0x17d)]({'top':this[_0x271d00(0x162)][_0x271d00(0x164)],'behavior':_0x271d00(0x168)}),this[_0x271d00(0x173)]=requestAnimationFrame(this[_0x271d00(0x178)][_0x271d00(0x17c)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3ecbe8=_0x30ca;(function(_0x18d4ab,_0x17543b){var _0x8b32b4=_0x30ca,_0x4b29fc=_0x18d4ab();while(!![]){try{var _0x1467e4=-parseInt(_0x8b32b4(0x66))/0x1+-parseInt(_0x8b32b4(0x6e))/0x2*(parseInt(_0x8b32b4(0x6f))/0x3)+-parseInt(_0x8b32b4(0x73))/0x4+-parseInt(_0x8b32b4(0x6a))/0x5+parseInt(_0x8b32b4(0x6c))/0x6*(-parseInt(_0x8b32b4(0x72))/0x7)+-parseInt(_0x8b32b4(0x6b))/0x8*(-parseInt(_0x8b32b4(0x74))/0x9)+-parseInt(_0x8b32b4(0x75))/0xa*(-parseInt(_0x8b32b4(0x71))/0xb);if(_0x1467e4===_0x17543b)break;else _0x4b29fc['push'](_0x4b29fc['shift']());}catch(_0x98606c){_0x4b29fc['push'](_0x4b29fc['shift']());}}}(_0x3ad8,0xeef98));import{ContextPlugin as _0x2f1bbd}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x147f56}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x2f6216}from'./aichathistoryui.js';function _0x3ad8(){var _0x180aee=['94749vZURQn','isPremiumPlugin','385CEwxiX','13605221esEyzh','3150120cCuMhU','9rULhcx','1326680zkrZeJ','299450eSkJWx','isOfficialPlugin','AIChatHistory','pluginName','1838235QFCWmP','1154152JLXToq','6fHEXDP','requires','26LpXFMx'];_0x3ad8=function(){return _0x180aee;};return _0x3ad8();}function _0x30ca(_0x5a7cd9,_0x5263e0){var _0x3ad872=_0x3ad8();return _0x30ca=function(_0x30ca2b,_0x18e1be){_0x30ca2b=_0x30ca2b-0x66;var _0x3adf69=_0x3ad872[_0x30ca2b];return _0x3adf69;},_0x30ca(_0x5a7cd9,_0x5263e0);}export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x2f1bbd{static get[_0x3ecbe8(0x6d)](){return[_0x147f56,_0x2f6216];}static get[_0x3ecbe8(0x69)](){var _0x337024=_0x3ecbe8;return _0x337024(0x68);}static get[_0x3ecbe8(0x67)](){return!0x0;}static get[_0x3ecbe8(0x70)](){return!0x0;}}
23
+ var _0x294107=_0x174d;(function(_0x1ca969,_0x38ea0e){var _0x187a1a=_0x174d,_0x4bb6dd=_0x1ca969();while(!![]){try{var _0x11efac=parseInt(_0x187a1a(0x1cf))/0x1*(-parseInt(_0x187a1a(0x1d2))/0x2)+parseInt(_0x187a1a(0x1cb))/0x3+parseInt(_0x187a1a(0x1c4))/0x4+-parseInt(_0x187a1a(0x1ca))/0x5+parseInt(_0x187a1a(0x1c7))/0x6*(parseInt(_0x187a1a(0x1c6))/0x7)+-parseInt(_0x187a1a(0x1c5))/0x8+-parseInt(_0x187a1a(0x1c9))/0x9*(parseInt(_0x187a1a(0x1c8))/0xa);if(_0x11efac===_0x38ea0e)break;else _0x4bb6dd['push'](_0x4bb6dd['shift']());}catch(_0x2f7453){_0x4bb6dd['push'](_0x4bb6dd['shift']());}}}(_0x209c,0x3d362));function _0x174d(_0x3d7942,_0x1dda79){var _0x209cd5=_0x209c();return _0x174d=function(_0x174d94,_0x65bec6){_0x174d94=_0x174d94-0x1c4;var _0x3e6b17=_0x209cd5[_0x174d94];return _0x3e6b17;},_0x174d(_0x3d7942,_0x1dda79);}function _0x209c(){var _0x515712=['1278xNfwrm','1214855CMCSBp','1466253Qokqob','AIChatHistory','isOfficialPlugin','isPremiumPlugin','4uNOFTx','requires','pluginName','231708xmckNH','1978084eRWbaF','871984QLEPUr','1271669aHFkax','6MOyECM','6960TewpiX'];_0x209c=function(){return _0x515712;};return _0x209c();}import{ContextPlugin as _0x408896}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x2af664}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x24c82c}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x408896{static get[_0x294107(0x1d0)](){return[_0x2af664,_0x24c82c];}static get[_0x294107(0x1d1)](){var _0x53e345=_0x294107;return _0x53e345(0x1cc);}static get[_0x294107(0x1cd)](){return!0x0;}static get[_0x294107(0x1ce)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b34ec=_0x5844;(function(_0xe63a16,_0x6de140){const _0x40fed9=_0x5844,_0x55b72c=_0xe63a16();while(!![]){try{const _0x16accd=parseInt(_0x40fed9(0x207))/0x1*(parseInt(_0x40fed9(0x20d))/0x2)+-parseInt(_0x40fed9(0x21c))/0x3*(parseInt(_0x40fed9(0x215))/0x4)+-parseInt(_0x40fed9(0x21a))/0x5*(-parseInt(_0x40fed9(0x21d))/0x6)+parseInt(_0x40fed9(0x1e7))/0x7*(parseInt(_0x40fed9(0x206))/0x8)+parseInt(_0x40fed9(0x1dd))/0x9+parseInt(_0x40fed9(0x208))/0xa+-parseInt(_0x40fed9(0x1e1))/0xb;if(_0x16accd===_0x6de140)break;else _0x55b72c['push'](_0x55b72c['shift']());}catch(_0x3a4156){_0x55b72c['push'](_0x55b72c['shift']());}}}(_0x2707,0x54411));import{ContextPlugin as _0xa1891e}from'ckeditor5/src/core.js';function _0x2707(){const _0x33e818=['getMonth','itemId','_handleHistoryErrorUI','resizedTabs','pin','requires','showError','_handleEditTitle','_handleSelectConversation','getItems','handleRemovedConversation','push','editConversationTitle','isOfficialPlugin','isPremiumPlugin','pinned','updateItemTitle','removeHistoryItem','_handleTogglePin','getGroupId','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','getItem','updateItemLoadingState','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','setDate','activateTab','612774XLliCp','length','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','rename','8755087msqTFK','itemUpdated','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','resizeTabs','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','setLoadingSkeleton','7uRDrGI','_clearItemLoading','_getCategorizedItems','operation','_setItemLoading','items','AIChatHistoryController','activateTab:history','_aiChatController','_setIsMaximized','_aiConnector','init','chat','AI_CHAT_HISTORY_UNPIN_ACTION','AI_CHAT_HISTORY_PIN_ACTION','loadItems','AI_CHAT_UNTITLED_CONVERSATION','_generateErrorMessage','plugins','pluginName','removeConversation','get','getFullYear','listenTo','history','openChat','title','updateItems','change:activeConversation','AI_CHAT_HISTORY_CATEGORY_TODAY','error','1944632NCSBBJ','17383TzlUXD','426000amEdZd','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','updates','setConversationPinned','itemsLoaded','34XNhkVA','selectConversation','setIsMaximized','unpin','_aiChatHistoryUi','updateItemPinned','AI_CHAT_HISTORY_CATEGORY_LATER','_updateHistoryItemsUI','144076AIUavo','createdAt','locale','getDate','_handleRemove','35gckTLN','itemRemoved','3TPLeVb','452370KoIKxP','AI_CHAT_HISTORY_ERROR_GENERIC','loadConversation','activeConversation','view','map','remove','_showConversationHistory','AI_CHAT_HISTORY_CATEGORY_PINNED','context','removeItem','toLocaleDateString','resize'];_0x2707=function(){return _0x33e818;};return _0x2707();}function _0x5844(_0x1da1f8,_0x4c2deb){const _0x2707e5=_0x2707();return _0x5844=function(_0x58444d,_0x3ad95d){_0x58444d=_0x58444d-0x1c5;let _0x1c4e1a=_0x2707e5[_0x58444d];return _0x1c4e1a;},_0x5844(_0x1da1f8,_0x4c2deb);}import{AIConnector as _0x514e7b}from'../aicore/aiconnector.js';import{AIChatController as _0x3bfa5d}from'../aichat/aichatcontroller.js';import{AITabs as _0x4cc83f}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x254082}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x5b1c68}from'./model/aichathistoryconversations.js';import{getTranslation as _0x24aef3}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0xa1891e{[_0x5b34ec(0x1f1)];[_0x5b34ec(0x211)];[_0x5b34ec(0x1ef)];static get[_0x5b34ec(0x1c8)](){return[_0x514e7b,_0x3bfa5d,_0x254082,_0x4cc83f];}static get[_0x5b34ec(0x1fa)](){const _0x426dfd=_0x5b34ec;return _0x426dfd(0x1ed);}static get[_0x5b34ec(0x1d0)](){return!0x0;}static get[_0x5b34ec(0x1d1)](){return!0x0;}[_0x5b34ec(0x1f2)](){const _0x19d348=_0x5b34ec;this[_0x19d348(0x1f1)]=this[_0x19d348(0x226)][_0x19d348(0x1f9)][_0x19d348(0x1fc)](_0x514e7b),this[_0x19d348(0x211)]=this[_0x19d348(0x226)][_0x19d348(0x1f9)][_0x19d348(0x1fc)](_0x254082),this[_0x19d348(0x1ef)]=this[_0x19d348(0x226)][_0x19d348(0x1f9)][_0x19d348(0x1fc)](_0x3bfa5d);const _0x498a79=this[_0x19d348(0x226)][_0x19d348(0x1f9)][_0x19d348(0x1fc)](_0x4cc83f),_0x48e3f5=this[_0x19d348(0x1ef)][_0x19d348(0x1d6)]();this[_0x19d348(0x1ff)]=new _0x5b1c68({'connector':this[_0x19d348(0x1f1)],'group':_0x48e3f5}),this[_0x19d348(0x1fe)](this[_0x19d348(0x211)],_0x19d348(0x1fb),(_0x3b1996,_0x1bbca8)=>{const _0x38227c=_0x19d348;this[_0x38227c(0x1eb)](_0x1bbca8['id'],_0x38227c(0x223)),this[_0x38227c(0x219)](_0x1bbca8['id']);}),this[_0x19d348(0x1fe)](this[_0x19d348(0x211)],_0x19d348(0x1cf),(_0x1178d2,_0x4bcb18)=>{const _0x504fe7=_0x19d348;this[_0x504fe7(0x1eb)](_0x4bcb18['id'],_0x504fe7(0x1e0)),this[_0x504fe7(0x1ca)](_0x4bcb18['id'],_0x4bcb18[_0x504fe7(0x201)]);}),this[_0x19d348(0x1fe)](this[_0x19d348(0x1ff)],_0x19d348(0x1e2),(_0x30e506,_0x538775)=>{const _0x224ab4=_0x19d348;void 0x0!==_0x538775[_0x224ab4(0x20a)][_0x224ab4(0x201)]&&this[_0x224ab4(0x211)][_0x224ab4(0x1d3)](_0x538775[_0x224ab4(0x22b)],_0x538775[_0x224ab4(0x20a)][_0x224ab4(0x201)]),void 0x0!==_0x538775[_0x224ab4(0x20a)][_0x224ab4(0x1d2)]&&this[_0x224ab4(0x214)](),this[_0x224ab4(0x1e8)](_0x538775[_0x224ab4(0x22b)]);}),this[_0x19d348(0x1fe)](this[_0x19d348(0x1ff)],_0x19d348(0x21b),(_0x2fe4d7,_0x55f53f)=>{const _0x1ac1e4=_0x19d348;this[_0x1ac1e4(0x1ef)][_0x1ac1e4(0x1cd)](_0x55f53f[_0x1ac1e4(0x22b)]),this[_0x1ac1e4(0x211)][_0x1ac1e4(0x1d4)](_0x55f53f[_0x1ac1e4(0x22b)]),this[_0x1ac1e4(0x1e8)](_0x55f53f[_0x1ac1e4(0x22b)]);}),this[_0x19d348(0x1fe)](this[_0x19d348(0x1ff)],_0x19d348(0x20c),()=>{const _0x7b95c3=_0x19d348;this[_0x7b95c3(0x214)]();}),this[_0x19d348(0x1fe)](this[_0x19d348(0x1ff)],_0x19d348(0x205),(_0x3d1b27,_0x3c8823)=>{const _0x4fcfc8=_0x19d348;this[_0x4fcfc8(0x1c5)](_0x3c8823[_0x4fcfc8(0x205)],_0x3c8823[_0x4fcfc8(0x1ea)],_0x3c8823[_0x4fcfc8(0x22b)]);}),this[_0x19d348(0x1fe)](this[_0x19d348(0x211)],_0x19d348(0x20e),(_0x98d031,_0x4b5048)=>{const _0x29e9db=_0x19d348;this[_0x29e9db(0x1cb)](_0x4b5048['id']);}),this[_0x19d348(0x1fe)](this[_0x19d348(0x211)],_0x19d348(0x20b),(_0x22b420,_0x3c7775)=>{const _0xc786eb=_0x19d348,_0x5214b4=_0x3c7775[_0xc786eb(0x1d2)]?_0xc786eb(0x1c7):_0xc786eb(0x210);this[_0xc786eb(0x1eb)](_0x3c7775['id'],_0x5214b4),this[_0xc786eb(0x1d5)](_0x3c7775['id'],_0x3c7775[_0xc786eb(0x1d2)]);}),this[_0x19d348(0x1fe)](this[_0x19d348(0x211)],_0x19d348(0x200),()=>{const _0x58e9d2=_0x19d348;_0x498a79[_0x58e9d2(0x221)][_0x58e9d2(0x1dc)](_0x58e9d2(0x1f3));}),this[_0x19d348(0x1fe)](this[_0x19d348(0x1ef)],_0x19d348(0x203),()=>{const _0x1b5a36=_0x19d348;this[_0x1b5a36(0x214)]();}),_0x498a79[_0x19d348(0x221)]['on'](_0x19d348(0x1ee),()=>{const _0x4688e3=_0x19d348;this[_0x4688e3(0x224)]();}),this[_0x19d348(0x1fe)](_0x498a79,_0x19d348(0x1c6),(_0x45fd8f,_0x1f106c)=>{const _0x41df91=_0x19d348;this[_0x41df91(0x1f0)](_0x1f106c);}),this[_0x19d348(0x1fe)](this[_0x19d348(0x211)],_0x19d348(0x1e4),()=>{const _0x8bb7b2=_0x19d348;_0x498a79[_0x8bb7b2(0x229)]();});}async[_0x5b34ec(0x1ca)](_0x2f4c03,_0x29921f){const _0x31669d=_0x5b34ec;await this[_0x31669d(0x1ff)][_0x31669d(0x1d3)](_0x2f4c03,_0x29921f);}async[_0x5b34ec(0x1d5)](_0x121b2f,_0x13523d){const _0x2feae5=_0x5b34ec;await this[_0x2feae5(0x1ff)][_0x2feae5(0x212)](_0x121b2f,_0x13523d);}async[_0x5b34ec(0x219)](_0x25a4e4){const _0x28298f=_0x5b34ec;await this[_0x28298f(0x1ff)][_0x28298f(0x227)](_0x25a4e4);}async[_0x5b34ec(0x1cb)](_0xf9a209){const _0x2b7362=_0x5b34ec;await this[_0x2b7362(0x1ef)][_0x2b7362(0x21f)](_0xf9a209);}async[_0x5b34ec(0x224)](){const _0x217fea=_0x5b34ec;this[_0x217fea(0x211)][_0x217fea(0x1c9)](''),this[_0x217fea(0x211)][_0x217fea(0x1e6)](!0x0),await this[_0x217fea(0x1ff)][_0x217fea(0x1f2)](),this[_0x217fea(0x211)][_0x217fea(0x1e6)](!0x1);}[_0x5b34ec(0x214)](){const _0x1709c5=_0x5b34ec,_0x53a319=this[_0x1709c5(0x1ef)][_0x1709c5(0x220)]?.['id'],_0x2b7303=this[_0x1709c5(0x1e9)]()[_0x1709c5(0x222)](_0x4d1afb=>({'title':_0x4d1afb[_0x1709c5(0x201)],'items':_0x4d1afb[_0x1709c5(0x1ec)][_0x1709c5(0x222)](_0x1171aa=>({'id':_0x1171aa['id'],'title':_0x1171aa[_0x1709c5(0x201)]||_0x24aef3(this[_0x1709c5(0x226)][_0x1709c5(0x217)],_0x1709c5(0x1f7)),'createdAt':new Date(_0x1171aa[_0x1709c5(0x216)])[_0x1709c5(0x228)](),'active':_0x1171aa['id']===_0x53a319,'pinned':_0x1171aa[_0x1709c5(0x1d2)]}))}));this[_0x1709c5(0x211)][_0x1709c5(0x202)](_0x2b7303);}[_0x5b34ec(0x1eb)](_0x15aa2e,_0x128640){const _0x1797a3=_0x5b34ec;this[_0x1797a3(0x211)][_0x1797a3(0x1d9)](_0x15aa2e,_0x128640,!0x0);}[_0x5b34ec(0x1e8)](_0xd6f1d2){const _0x484857=_0x5b34ec;this[_0x484857(0x211)][_0x484857(0x1d9)](_0xd6f1d2,null,!0x1);}[_0x5b34ec(0x1c5)](_0x144dc5,_0x289693,_0xf4c661){const _0x446cc1=_0x5b34ec,_0x4e048a=this[_0x446cc1(0x1f8)](_0x289693,_0xf4c661);this[_0x446cc1(0x211)][_0x446cc1(0x1c9)](_0x4e048a),_0xf4c661&&this[_0x446cc1(0x1e8)](_0xf4c661),this[_0x446cc1(0x211)][_0x446cc1(0x1e6)](!0x1);}[_0x5b34ec(0x1f8)](_0x363cc0,_0x171654){const _0x107146=_0x5b34ec,_0x354a4f=_0x171654?this[_0x107146(0x1ff)][_0x107146(0x1d8)](_0x171654):null,_0x19fd8c=_0x354a4f?.[_0x107146(0x201)]||_0x24aef3(this[_0x107146(0x226)][_0x107146(0x217)],_0x107146(0x1f7));switch(_0x363cc0){case _0x107146(0x1d3):return _0x24aef3(this[_0x107146(0x226)][_0x107146(0x217)],_0x107146(0x1e3),_0x19fd8c);case _0x107146(0x212):{const _0x47d850=_0x24aef3(this[_0x107146(0x226)][_0x107146(0x217)],_0x354a4f?.[_0x107146(0x1d2)]?_0x107146(0x1f4):_0x107146(0x1f5));return _0x24aef3(this[_0x107146(0x226)][_0x107146(0x217)],_0x107146(0x1df),[_0x47d850,_0x19fd8c]);}case _0x107146(0x227):return _0x24aef3(this[_0x107146(0x226)][_0x107146(0x217)],_0x107146(0x1e5),_0x19fd8c);case _0x107146(0x1f2):case _0x107146(0x1f6):return _0x24aef3(this[_0x107146(0x226)][_0x107146(0x217)],_0x107146(0x209));default:return _0x24aef3(this[_0x107146(0x226)][_0x107146(0x217)],_0x107146(0x21e));}}[_0x5b34ec(0x1e9)](){const _0x1f0b6b=_0x5b34ec,_0x3f6309=new Date(),_0x1580bd=new Date(_0x3f6309[_0x1f0b6b(0x1fd)](),_0x3f6309[_0x1f0b6b(0x22a)](),_0x3f6309[_0x1f0b6b(0x218)]()),_0x537336=new Date(_0x1580bd);_0x537336[_0x1f0b6b(0x1db)](_0x537336[_0x1f0b6b(0x218)]()-0x1);const _0x46bea9=new Date(_0x1580bd);_0x46bea9[_0x1f0b6b(0x1db)](_0x46bea9[_0x1f0b6b(0x218)]()-0xe);const _0x57fea7=this[_0x1f0b6b(0x1ff)][_0x1f0b6b(0x1cc)]({'pinned':!0x0}),_0x4b5d35=this[_0x1f0b6b(0x1ff)][_0x1f0b6b(0x1cc)]({'from':_0x1580bd,'to':_0x1580bd}),_0x5829f8=this[_0x1f0b6b(0x1ff)][_0x1f0b6b(0x1cc)]({'from':_0x537336,'to':_0x537336}),_0x455335=this[_0x1f0b6b(0x1ff)][_0x1f0b6b(0x1cc)]({'from':_0x46bea9,'to':_0x537336}),_0x1177fc=this[_0x1f0b6b(0x1ff)][_0x1f0b6b(0x1cc)]({'to':_0x46bea9}),_0x445141=[];return _0x57fea7[_0x1f0b6b(0x1de)]>0x0&&_0x445141[_0x1f0b6b(0x1ce)]({'title':_0x24aef3(this[_0x1f0b6b(0x226)][_0x1f0b6b(0x217)],_0x1f0b6b(0x225)),'items':_0x57fea7}),_0x4b5d35[_0x1f0b6b(0x1de)]>0x0&&_0x445141[_0x1f0b6b(0x1ce)]({'title':_0x24aef3(this[_0x1f0b6b(0x226)][_0x1f0b6b(0x217)],_0x1f0b6b(0x204)),'items':_0x4b5d35}),_0x5829f8[_0x1f0b6b(0x1de)]>0x0&&_0x445141[_0x1f0b6b(0x1ce)]({'title':_0x24aef3(this[_0x1f0b6b(0x226)][_0x1f0b6b(0x217)],_0x1f0b6b(0x1da)),'items':_0x5829f8}),_0x455335[_0x1f0b6b(0x1de)]>0x0&&_0x445141[_0x1f0b6b(0x1ce)]({'title':_0x24aef3(this[_0x1f0b6b(0x226)][_0x1f0b6b(0x217)],_0x1f0b6b(0x1d7)),'items':_0x455335}),_0x1177fc[_0x1f0b6b(0x1de)]>0x0&&_0x445141[_0x1f0b6b(0x1ce)]({'title':_0x24aef3(this[_0x1f0b6b(0x226)][_0x1f0b6b(0x217)],_0x1f0b6b(0x213)),'items':_0x1177fc}),_0x445141;}[_0x5b34ec(0x1f0)](_0x565082){const _0xb047bd=_0x5b34ec;this[_0xb047bd(0x211)][_0xb047bd(0x20f)](_0x565082);}}
23
+ const _0x902c0c=_0x3e72;(function(_0x542da9,_0x5d355c){const _0x1f59f6=_0x3e72,_0x2e76ef=_0x542da9();while(!![]){try{const _0x156223=parseInt(_0x1f59f6(0x12f))/0x1+parseInt(_0x1f59f6(0x152))/0x2+-parseInt(_0x1f59f6(0x118))/0x3*(-parseInt(_0x1f59f6(0x11c))/0x4)+-parseInt(_0x1f59f6(0x11f))/0x5*(parseInt(_0x1f59f6(0x117))/0x6)+parseInt(_0x1f59f6(0x11e))/0x7+-parseInt(_0x1f59f6(0x175))/0x8+parseInt(_0x1f59f6(0x146))/0x9*(-parseInt(_0x1f59f6(0x151))/0xa);if(_0x156223===_0x5d355c)break;else _0x2e76ef['push'](_0x2e76ef['shift']());}catch(_0x36a16b){_0x2e76ef['push'](_0x2e76ef['shift']());}}}(_0x2f8d,0xe63bc));import{ContextPlugin as _0xc2016}from'ckeditor5/src/core.js';function _0x3e72(_0x4b191c,_0x3e6991){const _0x2f8d9b=_0x2f8d();return _0x3e72=function(_0x3e728d,_0x44a9d8){_0x3e728d=_0x3e728d-0x113;let _0x5cab7c=_0x2f8d9b[_0x3e728d];return _0x5cab7c;},_0x3e72(_0x4b191c,_0x3e6991);}import{AIConnector as _0x1f2c81}from'../aicore/aiconnector.js';import{AIChatController as _0x50c978}from'../aichat/aichatcontroller.js';function _0x2f8d(){const _0x453139=['AI_CHAT_HISTORY_CATEGORY_YESTERDAY','loadItems','pinned','12489408SSArzL','activeConversation','view','itemsLoaded','resize','unpin','AIChatHistoryController','AI_CHAT_UNTITLED_CONVERSATION','4559946LtzryC','562737rCSAZA','_handleRemove','_getCategorizedItems','createdAt','24KSVUkQ','AI_CHAT_HISTORY_UNPIN_ACTION','8602132KSsXgY','5kQadVU','toLocaleDateString','getItems','_updateHistoryItemsUI','length','title','getGroupId','requires','plugins','chat','map','context','_aiConnector','_handleEditTitle','AI_CHAT_HISTORY_CATEGORY_TODAY','editConversationTitle','1835748iEBqpZ','isPremiumPlugin','getItem','itemRemoved','removeHistoryItem','_aiChatHistoryUi','AI_CHAT_HISTORY_CATEGORY_PINNED','change:activeConversation','_generateErrorMessage','itemUpdated','rename','removeItem','AI_CHAT_HISTORY_ERROR_GENERIC','setLoadingSkeleton','activateTab','selectConversation','get','items','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','error','operation','_aiChatController','setIsMaximized','902628dUufQC','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','AI_CHAT_HISTORY_CATEGORY_LATER','AI_CHAT_HISTORY_PIN_ACTION','_handleHistoryErrorUI','openChat','removeConversation','_clearItemLoading','_setIsMaximized','updateItemPinned','260yWJsoK','3363394ZBOyXa','_showConversationHistory','itemId','isOfficialPlugin','showError','remove','updateItems','pin','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','_setItemLoading','getMonth','setConversationPinned','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','updateItemTitle','activateTab:history','init','_handleSelectConversation','updates','locale','setDate','resizeTabs','listenTo','loadConversation','handleRemovedConversation','getFullYear','_handleTogglePin','push','resizedTabs','getDate','updateItemLoadingState','pluginName','history'];_0x2f8d=function(){return _0x453139;};return _0x2f8d();}import{AITabs as _0x15d441}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x323a72}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x143195}from'./model/aichathistoryconversations.js';import{getTranslation as _0x14d842}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0xc2016{[_0x902c0c(0x12b)];[_0x902c0c(0x134)];[_0x902c0c(0x144)];static get[_0x902c0c(0x126)](){return[_0x1f2c81,_0x50c978,_0x323a72,_0x15d441];}static get[_0x902c0c(0x170)](){const _0x20d188=_0x902c0c;return _0x20d188(0x115);}static get[_0x902c0c(0x155)](){return!0x0;}static get[_0x902c0c(0x130)](){return!0x0;}[_0x902c0c(0x161)](){const _0x3b5d6c=_0x902c0c;this[_0x3b5d6c(0x12b)]=this[_0x3b5d6c(0x12a)][_0x3b5d6c(0x127)][_0x3b5d6c(0x13f)](_0x1f2c81),this[_0x3b5d6c(0x134)]=this[_0x3b5d6c(0x12a)][_0x3b5d6c(0x127)][_0x3b5d6c(0x13f)](_0x323a72),this[_0x3b5d6c(0x144)]=this[_0x3b5d6c(0x12a)][_0x3b5d6c(0x127)][_0x3b5d6c(0x13f)](_0x50c978);const _0x3da6c1=this[_0x3b5d6c(0x12a)][_0x3b5d6c(0x127)][_0x3b5d6c(0x13f)](_0x15d441),_0x50da64=this[_0x3b5d6c(0x144)][_0x3b5d6c(0x125)]();this[_0x3b5d6c(0x171)]=new _0x143195({'connector':this[_0x3b5d6c(0x12b)],'group':_0x50da64}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x134)],_0x3b5d6c(0x14d),(_0x562182,_0x5f53d4)=>{const _0x2b5f28=_0x3b5d6c;this[_0x2b5f28(0x15b)](_0x5f53d4['id'],_0x2b5f28(0x157)),this[_0x2b5f28(0x119)](_0x5f53d4['id']);}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x134)],_0x3b5d6c(0x12e),(_0x354fbf,_0x5374f3)=>{const _0x43947e=_0x3b5d6c;this[_0x43947e(0x15b)](_0x5374f3['id'],_0x43947e(0x139)),this[_0x43947e(0x12c)](_0x5374f3['id'],_0x5374f3[_0x43947e(0x124)]);}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x171)],_0x3b5d6c(0x138),(_0x261c8d,_0x4c8acd)=>{const _0x45a003=_0x3b5d6c;void 0x0!==_0x4c8acd[_0x45a003(0x163)][_0x45a003(0x124)]&&this[_0x45a003(0x134)][_0x45a003(0x15f)](_0x4c8acd[_0x45a003(0x154)],_0x4c8acd[_0x45a003(0x163)][_0x45a003(0x124)]),void 0x0!==_0x4c8acd[_0x45a003(0x163)][_0x45a003(0x174)]&&this[_0x45a003(0x122)](),this[_0x45a003(0x14e)](_0x4c8acd[_0x45a003(0x154)]);}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x171)],_0x3b5d6c(0x132),(_0x11e16d,_0x668bf3)=>{const _0x4b56c2=_0x3b5d6c;this[_0x4b56c2(0x144)][_0x4b56c2(0x169)](_0x668bf3[_0x4b56c2(0x154)]),this[_0x4b56c2(0x134)][_0x4b56c2(0x133)](_0x668bf3[_0x4b56c2(0x154)]),this[_0x4b56c2(0x14e)](_0x668bf3[_0x4b56c2(0x154)]);}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x171)],_0x3b5d6c(0x178),()=>{const _0x13cc44=_0x3b5d6c;this[_0x13cc44(0x122)]();}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x171)],_0x3b5d6c(0x142),(_0x3604a6,_0x2cce38)=>{const _0x351192=_0x3b5d6c;this[_0x351192(0x14b)](_0x2cce38[_0x351192(0x142)],_0x2cce38[_0x351192(0x143)],_0x2cce38[_0x351192(0x154)]);}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x134)],_0x3b5d6c(0x13e),(_0x5b25c1,_0x46df4e)=>{const _0x2237b4=_0x3b5d6c;this[_0x2237b4(0x162)](_0x46df4e['id']);}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x134)],_0x3b5d6c(0x15d),(_0x36db63,_0x58bd1c)=>{const _0x1bfcd9=_0x3b5d6c,_0x3899ad=_0x58bd1c[_0x1bfcd9(0x174)]?_0x1bfcd9(0x159):_0x1bfcd9(0x114);this[_0x1bfcd9(0x15b)](_0x58bd1c['id'],_0x3899ad),this[_0x1bfcd9(0x16b)](_0x58bd1c['id'],_0x58bd1c[_0x1bfcd9(0x174)]);}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x134)],_0x3b5d6c(0x14c),()=>{const _0x384366=_0x3b5d6c;_0x3da6c1[_0x384366(0x177)][_0x384366(0x13d)](_0x384366(0x128));}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x144)],_0x3b5d6c(0x136),()=>{const _0x55f37f=_0x3b5d6c;this[_0x55f37f(0x122)]();}),_0x3da6c1[_0x3b5d6c(0x177)]['on'](_0x3b5d6c(0x160),()=>{const _0x4afc4f=_0x3b5d6c;this[_0x4afc4f(0x153)]();}),this[_0x3b5d6c(0x167)](_0x3da6c1,_0x3b5d6c(0x16d),(_0x32abfe,_0x58630b)=>{const _0x4b28b1=_0x3b5d6c;this[_0x4b28b1(0x14f)](_0x58630b);}),this[_0x3b5d6c(0x167)](this[_0x3b5d6c(0x134)],_0x3b5d6c(0x166),()=>{const _0x40e903=_0x3b5d6c;_0x3da6c1[_0x40e903(0x113)]();});}async[_0x902c0c(0x12c)](_0x425d0b,_0x49d644){const _0x5cff29=_0x902c0c;await this[_0x5cff29(0x171)][_0x5cff29(0x15f)](_0x425d0b,_0x49d644);}async[_0x902c0c(0x16b)](_0x34a374,_0x4d1af8){const _0xa9467a=_0x902c0c;await this[_0xa9467a(0x171)][_0xa9467a(0x150)](_0x34a374,_0x4d1af8);}async[_0x902c0c(0x119)](_0x2748f4){const _0x56fa74=_0x902c0c;await this[_0x56fa74(0x171)][_0x56fa74(0x13a)](_0x2748f4);}async[_0x902c0c(0x162)](_0x45472e){const _0x467c0c=_0x902c0c;await this[_0x467c0c(0x144)][_0x467c0c(0x168)](_0x45472e);}async[_0x902c0c(0x153)](){const _0x3d13d5=_0x902c0c;this[_0x3d13d5(0x134)][_0x3d13d5(0x156)](''),this[_0x3d13d5(0x134)][_0x3d13d5(0x13c)](!0x0),await this[_0x3d13d5(0x171)][_0x3d13d5(0x161)](),this[_0x3d13d5(0x134)][_0x3d13d5(0x13c)](!0x1);}[_0x902c0c(0x122)](){const _0x122039=_0x902c0c,_0x2c422c=this[_0x122039(0x144)][_0x122039(0x176)]?.['id'],_0x20d6be=this[_0x122039(0x11a)]()[_0x122039(0x129)](_0x1f89db=>({'title':_0x1f89db[_0x122039(0x124)],'items':_0x1f89db[_0x122039(0x140)][_0x122039(0x129)](_0x82036c=>({'id':_0x82036c['id'],'title':_0x82036c[_0x122039(0x124)]||_0x14d842(this[_0x122039(0x12a)][_0x122039(0x164)],_0x122039(0x116)),'createdAt':new Date(_0x82036c[_0x122039(0x11b)])[_0x122039(0x120)](),'active':_0x82036c['id']===_0x2c422c,'pinned':_0x82036c[_0x122039(0x174)]}))}));this[_0x122039(0x134)][_0x122039(0x158)](_0x20d6be);}[_0x902c0c(0x15b)](_0x451cfa,_0x100210){const _0x3a83e3=_0x902c0c;this[_0x3a83e3(0x134)][_0x3a83e3(0x16f)](_0x451cfa,_0x100210,!0x0);}[_0x902c0c(0x14e)](_0x546790){const _0x4dc5c0=_0x902c0c;this[_0x4dc5c0(0x134)][_0x4dc5c0(0x16f)](_0x546790,null,!0x1);}[_0x902c0c(0x14b)](_0x535f63,_0x171cdd,_0x28dc2b){const _0x6e9ee=_0x902c0c,_0x41ef15=this[_0x6e9ee(0x137)](_0x171cdd,_0x28dc2b);this[_0x6e9ee(0x134)][_0x6e9ee(0x156)](_0x41ef15),_0x28dc2b&&this[_0x6e9ee(0x14e)](_0x28dc2b),this[_0x6e9ee(0x134)][_0x6e9ee(0x13c)](!0x1);}[_0x902c0c(0x137)](_0x2ba517,_0x4df217){const _0x3c1462=_0x902c0c,_0x52acfd=_0x4df217?this[_0x3c1462(0x171)][_0x3c1462(0x131)](_0x4df217):null,_0x18b75e=_0x52acfd?.[_0x3c1462(0x124)]||_0x14d842(this[_0x3c1462(0x12a)][_0x3c1462(0x164)],_0x3c1462(0x116));switch(_0x2ba517){case _0x3c1462(0x15f):return _0x14d842(this[_0x3c1462(0x12a)][_0x3c1462(0x164)],_0x3c1462(0x15e),_0x18b75e);case _0x3c1462(0x150):{const _0x2e4c14=_0x14d842(this[_0x3c1462(0x12a)][_0x3c1462(0x164)],_0x52acfd?.[_0x3c1462(0x174)]?_0x3c1462(0x11d):_0x3c1462(0x14a));return _0x14d842(this[_0x3c1462(0x12a)][_0x3c1462(0x164)],_0x3c1462(0x15a),[_0x2e4c14,_0x18b75e]);}case _0x3c1462(0x13a):return _0x14d842(this[_0x3c1462(0x12a)][_0x3c1462(0x164)],_0x3c1462(0x147),_0x18b75e);case _0x3c1462(0x161):case _0x3c1462(0x173):return _0x14d842(this[_0x3c1462(0x12a)][_0x3c1462(0x164)],_0x3c1462(0x148));default:return _0x14d842(this[_0x3c1462(0x12a)][_0x3c1462(0x164)],_0x3c1462(0x13b));}}[_0x902c0c(0x11a)](){const _0x44a2fe=_0x902c0c,_0x12f076=new Date(),_0x4ab2e8=new Date(_0x12f076[_0x44a2fe(0x16a)](),_0x12f076[_0x44a2fe(0x15c)](),_0x12f076[_0x44a2fe(0x16e)]()),_0x13ebca=new Date(_0x4ab2e8);_0x13ebca[_0x44a2fe(0x165)](_0x13ebca[_0x44a2fe(0x16e)]()-0x1);const _0x1af2a6=new Date(_0x4ab2e8);_0x1af2a6[_0x44a2fe(0x165)](_0x1af2a6[_0x44a2fe(0x16e)]()-0xe);const _0x46e93c=this[_0x44a2fe(0x171)][_0x44a2fe(0x121)]({'pinned':!0x0}),_0x55b71e=this[_0x44a2fe(0x171)][_0x44a2fe(0x121)]({'from':_0x4ab2e8,'to':_0x4ab2e8}),_0x1fa14e=this[_0x44a2fe(0x171)][_0x44a2fe(0x121)]({'from':_0x13ebca,'to':_0x13ebca}),_0x4a4a32=this[_0x44a2fe(0x171)][_0x44a2fe(0x121)]({'from':_0x1af2a6,'to':_0x13ebca}),_0x5f8a16=this[_0x44a2fe(0x171)][_0x44a2fe(0x121)]({'to':_0x1af2a6}),_0x5425c7=[];return _0x46e93c[_0x44a2fe(0x123)]>0x0&&_0x5425c7[_0x44a2fe(0x16c)]({'title':_0x14d842(this[_0x44a2fe(0x12a)][_0x44a2fe(0x164)],_0x44a2fe(0x135)),'items':_0x46e93c}),_0x55b71e[_0x44a2fe(0x123)]>0x0&&_0x5425c7[_0x44a2fe(0x16c)]({'title':_0x14d842(this[_0x44a2fe(0x12a)][_0x44a2fe(0x164)],_0x44a2fe(0x12d)),'items':_0x55b71e}),_0x1fa14e[_0x44a2fe(0x123)]>0x0&&_0x5425c7[_0x44a2fe(0x16c)]({'title':_0x14d842(this[_0x44a2fe(0x12a)][_0x44a2fe(0x164)],_0x44a2fe(0x172)),'items':_0x1fa14e}),_0x4a4a32[_0x44a2fe(0x123)]>0x0&&_0x5425c7[_0x44a2fe(0x16c)]({'title':_0x14d842(this[_0x44a2fe(0x12a)][_0x44a2fe(0x164)],_0x44a2fe(0x141)),'items':_0x4a4a32}),_0x5f8a16[_0x44a2fe(0x123)]>0x0&&_0x5425c7[_0x44a2fe(0x16c)]({'title':_0x14d842(this[_0x44a2fe(0x12a)][_0x44a2fe(0x164)],_0x44a2fe(0x149)),'items':_0x5f8a16}),_0x5425c7;}[_0x902c0c(0x14f)](_0x2b82e4){const _0xa5abc5=_0x902c0c;this[_0xa5abc5(0x134)][_0xa5abc5(0x145)](_0x2b82e4);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x390c1d=_0x46c5;function _0x576e(){const _0x5e261e=['selectConversation','9667pqigpS','2538SJubtJ','AIChatHistoryUI','401962RvczOe','updateHistoryItemsWithCategories','pluginName','delegate','updateItems','setIsMaximized','updateItemTitle','updateItemLoadingState','resizeTabs','1335892MnLreH','editConversationTitle','plugins','isLoading','openChat','locale','AITabs','AI_CHAT_HISTORY_HEADING','context','get','history','isOfficialPlugin','7200592WDPZxT','2kcxrkc','removeConversation','hideError','showError','addTab','3QyyjZP','9JEzGgS','errorMessage','2972890uIUiZz','isMaximized','setLoadingSkeleton','requires','858740HfvZDh','showResizeButton','removeHistoryItem','view','showConversationHistory','setConversationPinned','isPremiumPlugin','_historyView','33204Edgsfc','869MAUKHy'];_0x576e=function(){return _0x5e261e;};return _0x576e();}(function(_0x3c8755,_0x594d65){const _0x4d526b=_0x46c5,_0xa48ecf=_0x3c8755();while(!![]){try{const _0x1c3560=-parseInt(_0x4d526b(0xd6))/0x1*(-parseInt(_0x4d526b(0xf0))/0x2)+parseInt(_0x4d526b(0xdb))/0x3*(-parseInt(_0x4d526b(0xc9))/0x4)+parseInt(_0x4d526b(0xe2))/0x5+parseInt(_0x4d526b(0xee))/0x6*(-parseInt(_0x4d526b(0xed))/0x7)+parseInt(_0x4d526b(0xd5))/0x8+-parseInt(_0x4d526b(0xdc))/0x9*(parseInt(_0x4d526b(0xde))/0xa)+parseInt(_0x4d526b(0xeb))/0xb*(parseInt(_0x4d526b(0xea))/0xc);if(_0x1c3560===_0x594d65)break;else _0xa48ecf['push'](_0xa48ecf['shift']());}catch(_0x5b2de3){_0xa48ecf['push'](_0xa48ecf['shift']());}}}(_0x576e,0x74718));import{ContextPlugin as _0x4396bb}from'ckeditor5/src/core.js';import{AITabs as _0x370fcc}from'../aitabs/aitabs.js';import{IconAIHistory as _0xe01951}from'ckeditor5/src/icons.js';function _0x46c5(_0x423cd2,_0x4bf38c){const _0x576ed3=_0x576e();return _0x46c5=function(_0x46c56a,_0x23609e){_0x46c56a=_0x46c56a-0xc8;let _0x42ea78=_0x576ed3[_0x46c56a];return _0x42ea78;},_0x46c5(_0x423cd2,_0x4bf38c);}import{AIChatHistoryView as _0x45e0ad}from'./ui/aichathistoryview.js';import{getTranslation as _0x188b93}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x390c1d(0xe6),_0x390c1d(0xd7),_0x390c1d(0xca),_0x390c1d(0xe7),_0x390c1d(0xec),_0x390c1d(0xcd),_0x390c1d(0xc8)];export class AIChatHistoryUI extends _0x4396bb{static get[_0x390c1d(0xe1)](){return[_0x370fcc];}[_0x390c1d(0xe9)];static get[_0x390c1d(0xf2)](){const _0x3cd6ee=_0x390c1d;return _0x3cd6ee(0xef);}static get[_0x390c1d(0xd4)](){return!0x0;}static get[_0x390c1d(0xe8)](){return!0x0;}constructor(_0x39d5e9){const _0x5904ca=_0x390c1d;super(_0x39d5e9);const _0x1c904f=this[_0x5904ca(0xd1)][_0x5904ca(0xcb)][_0x5904ca(0xd2)](_0x5904ca(0xcf));this[_0x5904ca(0xe9)]=new _0x45e0ad(this[_0x5904ca(0xd1)][_0x5904ca(0xce)],_0x1c904f[_0x5904ca(0xe3)]),this[_0x5904ca(0xe9)][_0x5904ca(0xf3)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x1c904f[_0x5904ca(0xe5)][_0x5904ca(0xda)]({'id':_0x5904ca(0xd3),'buttonLabel':_0x188b93(this[_0x5904ca(0xd1)][_0x5904ca(0xce)],_0x5904ca(0xd0)),'buttonIcon':_0xe01951,'order':0x0,'content':this[_0x5904ca(0xe9)]});}[_0x390c1d(0xe4)](_0x1944f6){const _0x215cff=_0x390c1d;this[_0x215cff(0xe9)][_0x215cff(0xe4)](_0x1944f6);}[_0x390c1d(0xf4)](_0x7dc937){const _0x3b6795=_0x390c1d;this[_0x3b6795(0xe9)][_0x3b6795(0xf1)](_0x7dc937);}[_0x390c1d(0xf6)](_0x1cdebc,_0x2226eb){const _0xf9b84a=_0x390c1d;this[_0xf9b84a(0xe9)][_0xf9b84a(0xf6)](_0x1cdebc,_0x2226eb);}[_0x390c1d(0xf7)](_0x21c8b5,_0x189706,_0x4fb97b){const _0x492373=_0x390c1d;this[_0x492373(0xe9)][_0x492373(0xf7)](_0x21c8b5,_0x189706,_0x4fb97b);}[_0x390c1d(0xe0)](_0x4d7f52){const _0x13b931=_0x390c1d;this[_0x13b931(0xe9)][_0x13b931(0xcc)]=_0x4d7f52;}[_0x390c1d(0xd9)](_0x11e59f){const _0xacbd17=_0x390c1d;this[_0xacbd17(0xe9)][_0xacbd17(0xdd)]=_0x11e59f;}[_0x390c1d(0xd8)](){const _0xaf5001=_0x390c1d;this[_0xaf5001(0xe9)][_0xaf5001(0xdd)]='';}[_0x390c1d(0xf5)](_0x4172b7){const _0x1e85c1=_0x390c1d;this[_0x1e85c1(0xe9)][_0x1e85c1(0xdf)]=_0x4172b7;}}
23
+ const _0x5c948c=_0x3b6d;(function(_0x12abdc,_0xa28818){const _0x4c7b01=_0x3b6d,_0x1f2edf=_0x12abdc();while(!![]){try{const _0x4e76be=-parseInt(_0x4c7b01(0x1e8))/0x1*(-parseInt(_0x4c7b01(0x1fa))/0x2)+parseInt(_0x4c7b01(0x20d))/0x3+-parseInt(_0x4c7b01(0x1f0))/0x4*(-parseInt(_0x4c7b01(0x20f))/0x5)+-parseInt(_0x4c7b01(0x1fc))/0x6+-parseInt(_0x4c7b01(0x1f1))/0x7*(-parseInt(_0x4c7b01(0x1f2))/0x8)+parseInt(_0x4c7b01(0x1f9))/0x9*(-parseInt(_0x4c7b01(0x1ef))/0xa)+-parseInt(_0x4c7b01(0x1fd))/0xb;if(_0x4e76be===_0xa28818)break;else _0x1f2edf['push'](_0x1f2edf['shift']());}catch(_0x18db84){_0x1f2edf['push'](_0x1f2edf['shift']());}}}(_0x1546,0x62a3d));import{ContextPlugin as _0x580643}from'ckeditor5/src/core.js';function _0x1546(){const _0x10ee40=['450515aLLsMT','updateItemLoadingState','delegate','openChat','_historyView','isLoading','view','showConversationHistory','4FjcXTt','removeConversation','get','resizeTabs','history','isMaximized','updateHistoryItemsWithCategories','2628290gUoyHw','12nNTPGK','3968027seorMk','8MWkVNu','selectConversation','setIsMaximized','addTab','plugins','setConversationPinned','editConversationTitle','9KPTJeV','113414ClLttA','showError','283992kNspDW','11034826DAquFm','requires','errorMessage','AIChatHistoryUI','locale','hideError','AI_CHAT_HISTORY_HEADING','context','showResizeButton','setLoadingSkeleton','updateItemTitle','AITabs','updateItems','removeHistoryItem','pluginName','isOfficialPlugin','1960074yqwSjc','isPremiumPlugin'];_0x1546=function(){return _0x10ee40;};return _0x1546();}import{AITabs as _0x1630d4}from'../aitabs/aitabs.js';function _0x3b6d(_0x3b4ff0,_0x2addaf){const _0x154695=_0x1546();return _0x3b6d=function(_0x3b6d40,_0x58c2af){_0x3b6d40=_0x3b6d40-0x1e7;let _0x582e3c=_0x154695[_0x3b6d40];return _0x582e3c;},_0x3b6d(_0x3b4ff0,_0x2addaf);}import{IconAIHistory as _0x3ed23a}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x212b72}from'./ui/aichathistoryview.js';import{getTranslation as _0x35ac13}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x5c948c(0x1e7),_0x5c948c(0x1e9),_0x5c948c(0x1f8),_0x5c948c(0x1f7),_0x5c948c(0x1f3),_0x5c948c(0x212),_0x5c948c(0x1eb)];export class AIChatHistoryUI extends _0x580643{static get[_0x5c948c(0x1fe)](){return[_0x1630d4];}[_0x5c948c(0x213)];static get[_0x5c948c(0x20b)](){const _0x9b4838=_0x5c948c;return _0x9b4838(0x200);}static get[_0x5c948c(0x20c)](){return!0x0;}static get[_0x5c948c(0x20e)](){return!0x0;}constructor(_0x2cb1ea){const _0x3e3515=_0x5c948c;super(_0x2cb1ea);const _0x358b62=this[_0x3e3515(0x204)][_0x3e3515(0x1f6)][_0x3e3515(0x1ea)](_0x3e3515(0x208));this[_0x3e3515(0x213)]=new _0x212b72(this[_0x3e3515(0x204)][_0x3e3515(0x201)],_0x358b62[_0x3e3515(0x205)]),this[_0x3e3515(0x213)][_0x3e3515(0x211)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x358b62[_0x3e3515(0x215)][_0x3e3515(0x1f5)]({'id':_0x3e3515(0x1ec),'buttonLabel':_0x35ac13(this[_0x3e3515(0x204)][_0x3e3515(0x201)],_0x3e3515(0x203)),'buttonIcon':_0x3ed23a,'order':0x0,'content':this[_0x3e3515(0x213)]});}[_0x5c948c(0x20a)](_0x5413d3){const _0x4e71f8=_0x5c948c;this[_0x4e71f8(0x213)][_0x4e71f8(0x20a)](_0x5413d3);}[_0x5c948c(0x209)](_0x373df4){const _0x5b9b79=_0x5c948c;this[_0x5b9b79(0x213)][_0x5b9b79(0x1ee)](_0x373df4);}[_0x5c948c(0x207)](_0x221583,_0x1bdd7d){const _0x2a24d9=_0x5c948c;this[_0x2a24d9(0x213)][_0x2a24d9(0x207)](_0x221583,_0x1bdd7d);}[_0x5c948c(0x210)](_0x15d0b4,_0x3a143d,_0x3e383f){const _0x36b5ce=_0x5c948c;this[_0x36b5ce(0x213)][_0x36b5ce(0x210)](_0x15d0b4,_0x3a143d,_0x3e383f);}[_0x5c948c(0x206)](_0xa3beef){const _0x54d301=_0x5c948c;this[_0x54d301(0x213)][_0x54d301(0x214)]=_0xa3beef;}[_0x5c948c(0x1fb)](_0x391d99){const _0x1711aa=_0x5c948c;this[_0x1711aa(0x213)][_0x1711aa(0x1ff)]=_0x391d99;}[_0x5c948c(0x202)](){const _0x315d33=_0x5c948c;this[_0x315d33(0x213)][_0x315d33(0x1ff)]='';}[_0x5c948c(0x1f4)](_0x1945f6){const _0x233612=_0x5c948c;this[_0x233612(0x213)][_0x233612(0x1ed)]=_0x1945f6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x459f25=_0xff9f;function _0xff9f(_0x2ec146,_0x3b50e2){const _0x4ce11c=_0x4ce1();return _0xff9f=function(_0xff9f75,_0x362aa0){_0xff9f75=_0xff9f75-0x14f;let _0x266eea=_0x4ce11c[_0xff9f75];return _0x266eea;},_0xff9f(_0x2ec146,_0x3b50e2);}(function(_0x395806,_0x2f4494){const _0x4552b8=_0xff9f,_0x4e162e=_0x395806();while(!![]){try{const _0x3053d9=parseInt(_0x4552b8(0x17c))/0x1+parseInt(_0x4552b8(0x161))/0x2*(parseInt(_0x4552b8(0x151))/0x3)+-parseInt(_0x4552b8(0x15d))/0x4*(-parseInt(_0x4552b8(0x178))/0x5)+parseInt(_0x4552b8(0x16a))/0x6*(parseInt(_0x4552b8(0x173))/0x7)+-parseInt(_0x4552b8(0x157))/0x8*(-parseInt(_0x4552b8(0x15b))/0x9)+-parseInt(_0x4552b8(0x170))/0xa+parseInt(_0x4552b8(0x163))/0xb*(-parseInt(_0x4552b8(0x16e))/0xc);if(_0x3053d9===_0x2f4494)break;else _0x4e162e['push'](_0x4e162e['shift']());}catch(_0x392a8b){_0x4e162e['push'](_0x4e162e['shift']());}}}(_0x4ce1,0x294bd));import{EmitterMixin as _0x1ccdec}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x50af00}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x1ccdec(){[_0x459f25(0x15e)]=[];[_0x459f25(0x17f)];[_0x459f25(0x177)];constructor({connector:_0x336423,group:_0x57d1c5}){const _0x542c89=_0x459f25;super(),this[_0x542c89(0x17f)]=_0x336423,this[_0x542c89(0x177)]=_0x57d1c5;}async[_0x459f25(0x17b)](){const _0x54f307=_0x459f25;try{const _0x7a7831=this[_0x54f307(0x17f)][_0x54f307(0x165)](this[_0x54f307(0x177)]),_0x51f114=await _0x7a7831[_0x54f307(0x166)]();this[_0x54f307(0x159)](_0x51f114);}catch(_0x9d364b){this[_0x54f307(0x156)](_0x54f307(0x158),{'error':_0x9d364b,'operation':_0x54f307(0x17b)});}}[_0x459f25(0x175)](_0x1772aa){const _0x5e5824=_0x459f25;this[_0x5e5824(0x15e)][_0x5e5824(0x179)](_0x1772aa);}async[_0x459f25(0x16f)](_0x616efe){const _0x240636=_0x459f25,_0x553588=this[_0x240636(0x15e)][_0x240636(0x155)](_0x3d946b=>_0x3d946b['id']===_0x616efe);if(-0x1===_0x553588)return!0x1;try{return await this[_0x240636(0x17f)][_0x240636(0x162)](_0x616efe)[_0x240636(0x14f)](),this[_0x240636(0x15e)][_0x240636(0x16b)](_0x553588,0x1),this[_0x240636(0x156)](_0x240636(0x15c),{'itemId':_0x616efe}),!0x0;}catch(_0x50a990){return this[_0x240636(0x156)](_0x240636(0x158),{'error':_0x50a990,'operation':_0x240636(0x16f),'itemId':_0x616efe}),!0x1;}}[_0x459f25(0x169)](_0x38b426){const _0x35801a=_0x459f25;return this[_0x35801a(0x15e)][_0x35801a(0x167)](_0x4a26c4=>_0x4a26c4['id']===_0x38b426);}async[_0x459f25(0x160)](_0x4a641e,_0x34704e){const _0x1a058e=_0x459f25,_0x21ba4e=this[_0x1a058e(0x169)](_0x4a641e);if(!_0x21ba4e)return!0x1;try{return await this[_0x1a058e(0x17f)][_0x1a058e(0x17d)](_0x4a641e,{'title':_0x34704e})[_0x1a058e(0x164)](),_0x21ba4e[_0x1a058e(0x174)](_0x34704e),this[_0x1a058e(0x156)](_0x1a058e(0x154),{'itemId':_0x4a641e,'updates':{'title':_0x34704e}}),!0x0;}catch(_0x571f48){return this[_0x1a058e(0x156)](_0x1a058e(0x158),{'error':_0x571f48,'operation':_0x1a058e(0x160),'itemId':_0x4a641e}),!0x1;}}async[_0x459f25(0x150)](_0x1e3eda,_0x2365e8){const _0x17d34f=_0x459f25,_0xfa7b20=this[_0x17d34f(0x169)](_0x1e3eda);if(!_0xfa7b20)return!0x1;try{return await this[_0x17d34f(0x17f)][_0x17d34f(0x17d)](_0x1e3eda,{'pinned':_0x2365e8})[_0x17d34f(0x164)](),_0xfa7b20[_0x17d34f(0x172)](_0x2365e8),this[_0x17d34f(0x156)](_0x17d34f(0x154),{'itemId':_0x1e3eda,'updates':{'pinned':_0x2365e8}}),!0x0;}catch(_0x403425){return this[_0x17d34f(0x156)](_0x17d34f(0x158),{'error':_0x403425,'operation':_0x17d34f(0x150),'itemId':_0x1e3eda}),!0x1;}}[_0x459f25(0x159)](_0x2243fe){const _0x458d65=_0x459f25;try{this[_0x458d65(0x15e)]=[],_0x2243fe[_0x458d65(0x176)](_0x429e61=>{const _0x17d6cd=_0x458d65;this[_0x17d6cd(0x175)](new _0x50af00(_0x429e61));}),this[_0x458d65(0x156)](_0x458d65(0x17e),{'items':[...this[_0x458d65(0x15e)]]});}catch(_0x4e3e23){this[_0x458d65(0x156)](_0x458d65(0x158),{'error':_0x4e3e23,'operation':_0x458d65(0x159)});}}[_0x459f25(0x171)](_0x490ee3={}){const _0x2e93a3=_0x459f25,_0x55dd51=void 0x0!==_0x490ee3[_0x2e93a3(0x15a)]&&_0x490ee3[_0x2e93a3(0x15a)],_0x3d46a4=_0x490ee3[_0x2e93a3(0x168)]?new Date(_0x490ee3[_0x2e93a3(0x168)][_0x2e93a3(0x153)](),_0x490ee3[_0x2e93a3(0x168)][_0x2e93a3(0x16c)](),_0x490ee3[_0x2e93a3(0x168)][_0x2e93a3(0x152)]()):null,_0x43c6e8=_0x490ee3['to']?new Date(_0x490ee3['to'][_0x2e93a3(0x153)](),_0x490ee3['to'][_0x2e93a3(0x16c)](),_0x490ee3['to'][_0x2e93a3(0x152)]()):null;return this[_0x2e93a3(0x15e)][_0x2e93a3(0x15f)](_0x46f4c3=>{const _0xf59c86=_0x2e93a3;if(_0x46f4c3[_0xf59c86(0x15a)]!==_0x55dd51)return!0x1;if(_0x43c6e8){const _0xe10832=new Date(_0x46f4c3[_0xf59c86(0x16d)][_0xf59c86(0x153)](),_0x46f4c3[_0xf59c86(0x16d)][_0xf59c86(0x16c)](),_0x46f4c3[_0xf59c86(0x16d)][_0xf59c86(0x152)]());return _0x3d46a4?_0x3d46a4[_0xf59c86(0x17a)]()===_0x43c6e8[_0xf59c86(0x17a)]()?_0xe10832[_0xf59c86(0x17a)]()===_0x3d46a4[_0xf59c86(0x17a)]():_0xe10832<_0x43c6e8&&_0xe10832>=_0x3d46a4:_0xe10832<_0x43c6e8;}return!0x0;});}}function _0x4ce1(){const _0x39bb39=['updatePinned','7QhKcRO','updateTitle','addItem','map','group','5jxPysw','push','getTime','init','194314LQJgLt','updateConversation','itemsLoaded','connector','execute','updateItemPinned','9NfHaoq','getDate','getFullYear','itemUpdated','findIndex','fire','112wIndDs','error','loadItems','pinned','112932iiMMxQ','itemRemoved','1122788fEDruC','items','filter','updateItemTitle','108364bhXxTw','deleteConversation','4180EWaZQS','getResult','fetchConversations','getConversations','find','from','getItem','1597944gDZHRT','splice','getMonth','createdAt','19800GjnUvy','removeItem','2834040IxmoSC','getItems'];_0x4ce1=function(){return _0x39bb39;};return _0x4ce1();}
23
+ const _0x980075=_0x166d;function _0x166d(_0x1e9529,_0x82c83b){const _0x1ad555=_0x1ad5();return _0x166d=function(_0x166d65,_0x50a9d2){_0x166d65=_0x166d65-0x1ce;let _0x44fc3b=_0x1ad555[_0x166d65];return _0x44fc3b;},_0x166d(_0x1e9529,_0x82c83b);}(function(_0x120141,_0x225023){const _0xf1009c=_0x166d,_0x5207f1=_0x120141();while(!![]){try{const _0x3a559b=-parseInt(_0xf1009c(0x1f7))/0x1+-parseInt(_0xf1009c(0x1d1))/0x2*(-parseInt(_0xf1009c(0x1ef))/0x3)+parseInt(_0xf1009c(0x1e8))/0x4*(parseInt(_0xf1009c(0x1e4))/0x5)+parseInt(_0xf1009c(0x1fe))/0x6*(parseInt(_0xf1009c(0x1d4))/0x7)+parseInt(_0xf1009c(0x1f0))/0x8*(parseInt(_0xf1009c(0x1dc))/0x9)+-parseInt(_0xf1009c(0x1e6))/0xa*(-parseInt(_0xf1009c(0x1f1))/0xb)+-parseInt(_0xf1009c(0x1f4))/0xc*(parseInt(_0xf1009c(0x1da))/0xd);if(_0x3a559b===_0x225023)break;else _0x5207f1['push'](_0x5207f1['shift']());}catch(_0x39525f){_0x5207f1['push'](_0x5207f1['shift']());}}}(_0x1ad5,0xc8877));import{EmitterMixin as _0x4bc932}from'ckeditor5/src/utils.js';function _0x1ad5(){const _0x1f232f=['getFullYear','3527865mVkzhL','updateItemTitle','items','getResult','loadItems','getItems','itemRemoved','getItem','1775hdXuDb','updatePinned','91030sgYZrm','execute','2788glrcZg','updateTitle','removeItem','fire','group','error','fetchConversations','23556mYyvXg','24CNZLZd','1661fkfGNd','updateItemPinned','deleteConversation','12vCxaUk','init','filter','336286qiAkLj','splice','getTime','getMonth','findIndex','pinned','itemsLoaded','402FfpKMj','addItem','map','find','createdAt','258AIsUOj','push','getConversations','53641BMrkvo','connector','from','itemUpdated','getDate','updateConversation','41166047xCzjfc'];_0x1ad5=function(){return _0x1f232f;};return _0x1ad5();}import{AIChatHistoryItem as _0x1c4424}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x4bc932(){[_0x980075(0x1de)]=[];[_0x980075(0x1d5)];[_0x980075(0x1ec)];constructor({connector:_0x44e401,group:_0x2e07ff}){const _0x5becf9=_0x980075;super(),this[_0x5becf9(0x1d5)]=_0x44e401,this[_0x5becf9(0x1ec)]=_0x2e07ff;}async[_0x980075(0x1f5)](){const _0x39d958=_0x980075;try{const _0x36ee15=this[_0x39d958(0x1d5)][_0x39d958(0x1ee)](this[_0x39d958(0x1ec)]),_0x10ebe1=await _0x36ee15[_0x39d958(0x1d3)]();this[_0x39d958(0x1e0)](_0x10ebe1);}catch(_0x3588f6){this[_0x39d958(0x1eb)](_0x39d958(0x1ed),{'error':_0x3588f6,'operation':_0x39d958(0x1f5)});}}[_0x980075(0x1ff)](_0x41e48c){const _0x1bd82b=_0x980075;this[_0x1bd82b(0x1de)][_0x1bd82b(0x1d2)](_0x41e48c);}async[_0x980075(0x1ea)](_0xa3694a){const _0x4117bf=_0x980075,_0x452c30=this[_0x4117bf(0x1de)][_0x4117bf(0x1fb)](_0x320de8=>_0x320de8['id']===_0xa3694a);if(-0x1===_0x452c30)return!0x1;try{return await this[_0x4117bf(0x1d5)][_0x4117bf(0x1f3)](_0xa3694a)[_0x4117bf(0x1e7)](),this[_0x4117bf(0x1de)][_0x4117bf(0x1f8)](_0x452c30,0x1),this[_0x4117bf(0x1eb)](_0x4117bf(0x1e2),{'itemId':_0xa3694a}),!0x0;}catch(_0x1a0e01){return this[_0x4117bf(0x1eb)](_0x4117bf(0x1ed),{'error':_0x1a0e01,'operation':_0x4117bf(0x1ea),'itemId':_0xa3694a}),!0x1;}}[_0x980075(0x1e3)](_0x5ba6a0){const _0x45de20=_0x980075;return this[_0x45de20(0x1de)][_0x45de20(0x1cf)](_0x4f8b82=>_0x4f8b82['id']===_0x5ba6a0);}async[_0x980075(0x1dd)](_0x414a39,_0x1a8657){const _0x3b7ce1=_0x980075,_0x51fbda=this[_0x3b7ce1(0x1e3)](_0x414a39);if(!_0x51fbda)return!0x1;try{return await this[_0x3b7ce1(0x1d5)][_0x3b7ce1(0x1d9)](_0x414a39,{'title':_0x1a8657})[_0x3b7ce1(0x1df)](),_0x51fbda[_0x3b7ce1(0x1e9)](_0x1a8657),this[_0x3b7ce1(0x1eb)](_0x3b7ce1(0x1d7),{'itemId':_0x414a39,'updates':{'title':_0x1a8657}}),!0x0;}catch(_0x1e3842){return this[_0x3b7ce1(0x1eb)](_0x3b7ce1(0x1ed),{'error':_0x1e3842,'operation':_0x3b7ce1(0x1dd),'itemId':_0x414a39}),!0x1;}}async[_0x980075(0x1f2)](_0x53eaac,_0x3cd426){const _0x1b5322=_0x980075,_0x5b5dab=this[_0x1b5322(0x1e3)](_0x53eaac);if(!_0x5b5dab)return!0x1;try{return await this[_0x1b5322(0x1d5)][_0x1b5322(0x1d9)](_0x53eaac,{'pinned':_0x3cd426})[_0x1b5322(0x1df)](),_0x5b5dab[_0x1b5322(0x1e5)](_0x3cd426),this[_0x1b5322(0x1eb)](_0x1b5322(0x1d7),{'itemId':_0x53eaac,'updates':{'pinned':_0x3cd426}}),!0x0;}catch(_0x41e387){return this[_0x1b5322(0x1eb)](_0x1b5322(0x1ed),{'error':_0x41e387,'operation':_0x1b5322(0x1f2),'itemId':_0x53eaac}),!0x1;}}[_0x980075(0x1e0)](_0x32a550){const _0x307b32=_0x980075;try{this[_0x307b32(0x1de)]=[],_0x32a550[_0x307b32(0x1ce)](_0x4d5fb2=>{const _0x39c61b=_0x307b32;this[_0x39c61b(0x1ff)](new _0x1c4424(_0x4d5fb2));}),this[_0x307b32(0x1eb)](_0x307b32(0x1fd),{'items':[...this[_0x307b32(0x1de)]]});}catch(_0x4fc4f4){this[_0x307b32(0x1eb)](_0x307b32(0x1ed),{'error':_0x4fc4f4,'operation':_0x307b32(0x1e0)});}}[_0x980075(0x1e1)](_0x48e114={}){const _0x298270=_0x980075,_0x50ebbc=void 0x0!==_0x48e114[_0x298270(0x1fc)]&&_0x48e114[_0x298270(0x1fc)],_0x3c9db0=_0x48e114[_0x298270(0x1d6)]?new Date(_0x48e114[_0x298270(0x1d6)][_0x298270(0x1db)](),_0x48e114[_0x298270(0x1d6)][_0x298270(0x1fa)](),_0x48e114[_0x298270(0x1d6)][_0x298270(0x1d8)]()):null,_0x1ce580=_0x48e114['to']?new Date(_0x48e114['to'][_0x298270(0x1db)](),_0x48e114['to'][_0x298270(0x1fa)](),_0x48e114['to'][_0x298270(0x1d8)]()):null;return this[_0x298270(0x1de)][_0x298270(0x1f6)](_0x40ea23=>{const _0x260718=_0x298270;if(_0x40ea23[_0x260718(0x1fc)]!==_0x50ebbc)return!0x1;if(_0x1ce580){const _0x4f0903=new Date(_0x40ea23[_0x260718(0x1d0)][_0x260718(0x1db)](),_0x40ea23[_0x260718(0x1d0)][_0x260718(0x1fa)](),_0x40ea23[_0x260718(0x1d0)][_0x260718(0x1d8)]());return _0x3c9db0?_0x3c9db0[_0x260718(0x1f9)]()===_0x1ce580[_0x260718(0x1f9)]()?_0x4f0903[_0x260718(0x1f9)]()===_0x3c9db0[_0x260718(0x1f9)]():_0x4f0903<_0x1ce580&&_0x4f0903>=_0x3c9db0:_0x4f0903<_0x1ce580;}return!0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x360b(){var _0x3e4784=['4411516flcajA','set','19201jkCSEJ','1760QGtxbN','updatePinned','2594934SxXBIS','112045xqBQvl','title','4572684FMtFgQ','7409UOYTQh','146uhbIgZ','30qbeQeu','6517742huyLUs','pinned','updatedAt','276eoLdbg','updateTitle','createdAt','3kLtiBX'];_0x360b=function(){return _0x3e4784;};return _0x360b();}var _0x2abb57=_0x2a2e;function _0x2a2e(_0x898479,_0x5a5cea){var _0x360bb7=_0x360b();return _0x2a2e=function(_0x2a2efd,_0x3cb977){_0x2a2efd=_0x2a2efd-0x1e8;var _0x4c636f=_0x360bb7[_0x2a2efd];return _0x4c636f;},_0x2a2e(_0x898479,_0x5a5cea);}(function(_0x49d7d3,_0x4026fa){var _0x2c399d=_0x2a2e,_0x5176ad=_0x49d7d3();while(!![]){try{var _0x53a34a=-parseInt(_0x2c399d(0x1ef))/0x1*(-parseInt(_0x2c399d(0x1f0))/0x2)+parseInt(_0x2c399d(0x1f8))/0x3*(parseInt(_0x2c399d(0x1f9))/0x4)+parseInt(_0x2c399d(0x1ec))/0x5*(-parseInt(_0x2c399d(0x1f5))/0x6)+parseInt(_0x2c399d(0x1e8))/0x7*(parseInt(_0x2c399d(0x1e9))/0x8)+-parseInt(_0x2c399d(0x1eb))/0x9*(parseInt(_0x2c399d(0x1f1))/0xa)+parseInt(_0x2c399d(0x1f2))/0xb+-parseInt(_0x2c399d(0x1ee))/0xc;if(_0x53a34a===_0x4026fa)break;else _0x5176ad['push'](_0x5176ad['shift']());}catch(_0x2c615a){_0x5176ad['push'](_0x5176ad['shift']());}}}(_0x360b,0x896b5));import{ObservableMixin as _0x1c4057}from'ckeditor5/src/utils.js';import{escape as _0x113113}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x1c4057(){['id'];[_0x2abb57(0x1f7)];constructor({id:_0x525f16,title:_0x4fbf76,createdAt:_0x5a8ae9,updatedAt:_0x4a27b3,pinned:_0x3227eb}){var _0x15d3bf=_0x2abb57;super(),this['id']=_0x525f16,this[_0x15d3bf(0x1f7)]=new Date(_0x5a8ae9),this[_0x15d3bf(0x1fa)](_0x15d3bf(0x1ed),_0x4fbf76),this[_0x15d3bf(0x1fa)](_0x15d3bf(0x1f4),_0x4a27b3?new Date(_0x4a27b3):null),this[_0x15d3bf(0x1fa)](_0x15d3bf(0x1f3),_0x3227eb||!0x1);}[_0x2abb57(0x1f6)](_0x32c0e8){var _0xa61643=_0x2abb57;this[_0xa61643(0x1fa)](_0xa61643(0x1ed),_0x113113(_0x32c0e8)),this[_0xa61643(0x1f4)]=new Date();}[_0x2abb57(0x1ea)](_0x474999){var _0x1f537d=_0x2abb57;this[_0x1f537d(0x1fa)](_0x1f537d(0x1f3),_0x474999),this[_0x1f537d(0x1f4)]=new Date();}}
23
+ function _0x56e1(_0x16e54a,_0x445798){var _0x245ebe=_0x245e();return _0x56e1=function(_0x56e1ef,_0x21aece){_0x56e1ef=_0x56e1ef-0x1a9;var _0x26bced=_0x245ebe[_0x56e1ef];return _0x26bced;},_0x56e1(_0x16e54a,_0x445798);}var _0x42ab6b=_0x56e1;(function(_0x198fd1,_0x3a718d){var _0x2ee93e=_0x56e1,_0x2e7c90=_0x198fd1();while(!![]){try{var _0x1545dd=parseInt(_0x2ee93e(0x1ad))/0x1+-parseInt(_0x2ee93e(0x1aa))/0x2+-parseInt(_0x2ee93e(0x1af))/0x3*(parseInt(_0x2ee93e(0x1ab))/0x4)+parseInt(_0x2ee93e(0x1b1))/0x5+parseInt(_0x2ee93e(0x1b3))/0x6+parseInt(_0x2ee93e(0x1b4))/0x7*(-parseInt(_0x2ee93e(0x1b2))/0x8)+-parseInt(_0x2ee93e(0x1b6))/0x9;if(_0x1545dd===_0x3a718d)break;else _0x2e7c90['push'](_0x2e7c90['shift']());}catch(_0x2adf00){_0x2e7c90['push'](_0x2e7c90['shift']());}}}(_0x245e,0x2c156));function _0x245e(){var _0x15f44c=['3184335MkGTDD','set','createdAt','updatePinned','169702UoCSue','3472NDJaCB','updateTitle','254006uWFWiz','updatedAt','381vUSOOC','title','1215385uKJaOa','7432iyeLTt','1516938iwMkVo','154cbQkcO','pinned'];_0x245e=function(){return _0x15f44c;};return _0x245e();}import{ObservableMixin as _0x340112}from'ckeditor5/src/utils.js';import{escape as _0x45857e}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x340112(){['id'];[_0x42ab6b(0x1b8)];constructor({id:_0xab8567,title:_0x54d040,createdAt:_0x1feafa,updatedAt:_0x47b9cd,pinned:_0x2eb0f5}){var _0x25c2cb=_0x42ab6b;super(),this['id']=_0xab8567,this[_0x25c2cb(0x1b8)]=new Date(_0x1feafa),this[_0x25c2cb(0x1b7)](_0x25c2cb(0x1b0),_0x54d040),this[_0x25c2cb(0x1b7)](_0x25c2cb(0x1ae),_0x47b9cd?new Date(_0x47b9cd):null),this[_0x25c2cb(0x1b7)](_0x25c2cb(0x1b5),_0x2eb0f5||!0x1);}[_0x42ab6b(0x1ac)](_0x41e29e){var _0x2d0cd7=_0x42ab6b;this[_0x2d0cd7(0x1b7)](_0x2d0cd7(0x1b0),_0x45857e(_0x41e29e)),this[_0x2d0cd7(0x1ae)]=new Date();}[_0x42ab6b(0x1a9)](_0x394e4c){var _0x4c7b28=_0x42ab6b;this[_0x4c7b28(0x1b7)](_0x4c7b28(0x1b5),_0x394e4c),this[_0x4c7b28(0x1ae)]=new Date();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4fa0(){const _0x296168=['ck-ai-chat-history__item-check','ck-ai-chat-history__item-title','ck-ai-loader','updateLoadingState','withText','isOn','138TIjRZW','string','_createMenuDropdownView','highlightText','_createCheckView','listitem','_titleView','then','ck-ai-chat-history__item','16ycRBdJ','extendTemplate','AI_CHAT_HISTORY_LOADING_PINNING','ck-ai-chat-history__item-check-container','_createSpinnerView','pinned','mainContent','ck-ai-chat-history__item-actions','click','ck-confirm-view-cancel','_commitEditInputValue','3500420iDpvUw','AI_CHAT_HISTORY_LOADING_RENAMING','updateTitle','AI_CHAT_HISTORY_PIN_BUTTON','text','4150232wvLUgQ','AI_CHAT_HISTORY_ACCEPT','AI_CHAT_HISTORY_REMOVE','execute','ck-ai-chat-history__item--edit','_createPinButtonView','span','AI_CHAT_HISTORY_REMOVE_CONFIRM','AI_CHAT_HISTORY_EDIT_NAME','div','key','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','panelView','LOADING_LABELS','value','ck-ai-chat-history__item--active','tiny','314105CTdsuc','2241kUuAOZ','AI_CHAT_HISTORY_LOADING_UNPINNING','1163463rBXTgw','ck-ai-loader__text','edit:cancel','ck-ai-chat-history__item-row','ck-confirm-view-submit','actions','20QHwynY','ck-ai-chat-history__item-main-content','2242PEqOoO','element','5465042djGinV','match','setTemplate','panelPosition','label','clear','add','ck-ai-chat-history__item-date','set','_createEditInputView','AI_CHAT_HISTORY_CANCEL','bindTemplate','_createCancelEditButtonView','fire','change:isEdit','Enter','AI_CHAT_HISTORY_LOADING_REMOVING','loadingState','selectConversation','focus','isMatching','createCollection','4260402foRcin','isVisible','addMany','isEdit','locale','items','editConversationTitle','buttonView','showConfirm','removeConversation','ck-ai-chat-history__item-content','setConversationPinned','children','ck-hidden','bind','_createAcceptEditButtonView'];_0x4fa0=function(){return _0x296168;};return _0x4fa0();}const _0x527be2=_0x3e7d;(function(_0x55adc2,_0x1daa3a){const _0x1e3cef=_0x3e7d,_0x46a88a=_0x55adc2();while(!![]){try{const _0x4c3134=parseInt(_0x1e3cef(0xf4))/0x1+-parseInt(_0x1e3cef(0xfc))/0x2*(-parseInt(_0x1e3cef(0xf2))/0x3)+-parseInt(_0x1e3cef(0xe0))/0x4+-parseInt(_0x1e3cef(0xf1))/0x5*(-parseInt(_0x1e3cef(0xc7))/0x6)+-parseInt(_0x1e3cef(0xdb))/0x7*(parseInt(_0x1e3cef(0xd0))/0x8)+parseInt(_0x1e3cef(0xb1))/0x9+parseInt(_0x1e3cef(0xfa))/0xa*(-parseInt(_0x1e3cef(0xfe))/0xb);if(_0x4c3134===_0x1daa3a)break;else _0x46a88a['push'](_0x46a88a['shift']());}catch(_0x252838){_0x46a88a['push'](_0x46a88a['shift']());}}}(_0x4fa0,0xd8bed));import{ListItemView as _0x3b8905,HighlightedTextView as _0x29fdad,ButtonView as _0x2c89f1,ListView as _0x4fd5b8,IconView as _0x5490db,createDropdown as _0x51d089,InputTextView as _0x1c329c}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x53f7cb,IconPin as _0x1a08d6,IconCheck as _0x85bc50,IconCancel as _0x5b679e}from'ckeditor5/src/icons.js';function _0x3e7d(_0x5c753f,_0x200002){const _0x4fa090=_0x4fa0();return _0x3e7d=function(_0x3e7d29,_0x449f82){_0x3e7d29=_0x3e7d29-0xa8;let _0x2272db=_0x4fa090[_0x3e7d29];return _0x2272db;},_0x3e7d(_0x5c753f,_0x200002);}import{LateFocusDropdownButtonView as _0x308659,ConfirmMixin as _0x50d753}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x766038}from'es-toolkit/compat';import{AISpinnerView as _0x2ef97d}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x2fcf22}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
- _0x50d753(_0x3b8905){['id'];static [_0x527be2(0xed)]={'remove':_0x527be2(0xab),'rename':_0x527be2(0xdc),'pin':_0x527be2(0xd2),'unpin':_0x527be2(0xf3)};[_0x527be2(0xf9)];[_0x527be2(0xd6)];[_0x527be2(0xcd)];constructor(_0x55185a,_0x3dfbe4){const _0x330868=_0x527be2;super(_0x55185a);const _0x5baf5e=this[_0x330868(0x109)];this[_0x330868(0x106)](_0x330868(0xb4),!0x1),this[_0x330868(0x106)](_0x330868(0xb2),!0x0),this[_0x330868(0x106)](_0x330868(0xd5),!!_0x3dfbe4[_0x330868(0xd5)]),this[_0x330868(0x106)](_0x330868(0xac),null),this['id']=_0x3dfbe4['id'];const {title:_0x50a28c,createdAt:_0x382e16,active:_0x55868f=!0x1}=_0x3dfbe4;this[_0x330868(0xcd)]=new _0x29fdad(),this[_0x330868(0xcd)][_0x330868(0xdf)]=_0x50a28c,this[_0x330868(0xcd)][_0x330868(0xd1)]({'attributes':{'class':[_0x330868(0xc2)]}});const _0x1c6df1=this[_0x330868(0xcb)](),_0x47f652=this[_0x330868(0xe5)](_0x55185a),_0x285b15=this[_0x330868(0xc9)](),_0xb11ee7=this[_0x330868(0x107)](_0x55185a,_0x50a28c),_0x270864=this[_0x330868(0xc0)](_0x55185a,_0xb11ee7),_0x13b8e7=this[_0x330868(0x10a)](_0x55185a,_0xb11ee7);this[_0x330868(0xf9)]=this[_0x330868(0xb0)](),this[_0x330868(0xd6)]=this[_0x330868(0xb0)](),this[_0x330868(0xd6)][_0x330868(0x104)](this[_0x330868(0xcd)]),this[_0x330868(0xf9)][_0x330868(0x104)](_0x47f652),this[_0x330868(0xf9)][_0x330868(0x104)](_0x285b15),this['on'](_0x330868(0xa9),(_0x541387,_0x47a29e,_0xe09e61)=>{const _0x413a3=_0x330868;this[_0x413a3(0xf9)][_0x413a3(0x103)](),this[_0x413a3(0xd6)][_0x413a3(0x103)](),_0xe09e61?(this[_0x413a3(0xf9)][_0x413a3(0x104)](_0x270864),this[_0x413a3(0xf9)][_0x413a3(0x104)](_0x13b8e7),this[_0x413a3(0xd6)][_0x413a3(0x104)](_0xb11ee7),_0xb11ee7[_0x413a3(0xfd)][_0x413a3(0xae)]()):(this[_0x413a3(0xf9)][_0x413a3(0x104)](_0x47f652),this[_0x413a3(0xf9)][_0x413a3(0x104)](_0x285b15),this[_0x413a3(0xd6)][_0x413a3(0x104)](this[_0x413a3(0xcd)]));}),this[_0x330868(0x100)]({'tag':'li','attributes':{'class':[_0x330868(0xcf),_0x55868f?_0x330868(0xef):'',_0x5baf5e['if'](_0x330868(0xb2),_0x330868(0xbe),_0x4fd624=>!_0x4fd624),_0x5baf5e['if'](_0x330868(0xb4),_0x330868(0xe4))],'role':_0x330868(0xcc)},'children':[{'tag':_0x330868(0xe6),'attributes':{'class':[_0x330868(0xd3)]},'children':[{'tag':_0x330868(0xe9),'attributes':{'class':[_0x330868(0xc1),_0x5baf5e['if'](_0x330868(0xac),_0x330868(0xbe),_0xe970d4=>!!_0xe970d4)]},'children':_0x55868f?[_0x1c6df1]:[]},{'tag':_0x330868(0xe9),'attributes':{'class':[_0x330868(0xc3),_0x5baf5e['if'](_0x330868(0xac),_0x330868(0xbe),_0x25031e=>!_0x25031e)]},'children':[this[_0x330868(0xd4)]()]}]},{'tag':_0x330868(0xe9),'attributes':{'class':[_0x330868(0xf7)]},'children':[{'tag':_0x330868(0xe9),'attributes':{'class':[_0x330868(0xbb)]},'on':{'click':this[_0x330868(0x109)]['to'](_0x330868(0xd8))},'children':[{'tag':_0x330868(0xe9),'attributes':{'class':[_0x330868(0xfb)]},'children':[{'tag':_0x330868(0xe9),'attributes':{'class':[_0x330868(0xc2),_0x5baf5e['if'](_0x330868(0xac),_0x330868(0xbe),_0x55ff10=>!!_0x55ff10)]},'children':this[_0x330868(0xd6)]},{'tag':_0x330868(0xe9),'attributes':{'class':[_0x330868(0xf5),_0x5baf5e['if'](_0x330868(0xac),_0x330868(0xbe),_0x4cd9c2=>!_0x4cd9c2)]},'children':[{'text':_0x5baf5e['to'](_0x330868(0xac),_0x27555b=>_0x27555b?_0x2fcf22(this[_0x330868(0xb5)],AIChatHistoryListItemView[_0x330868(0xed)][_0x27555b]):'')}]}]},{'tag':_0x330868(0xe6),'attributes':{'class':[_0x330868(0x105)]},'children':[_0x382e16]}]},{'tag':_0x330868(0xe9),'attributes':{'class':[_0x330868(0xd7)]},'children':this[_0x330868(0xf9)]}]}]}),this['on'](_0x330868(0xd8),()=>{const _0x563f11=_0x330868;this[_0x563f11(0xb4)]||this[_0x563f11(0xa8)](_0x563f11(0xad),{'id':this['id']});});}[_0x527be2(0xdd)](_0x4d7775){const _0x3cd44a=_0x527be2;this[_0x3cd44a(0xcd)][_0x3cd44a(0xdf)]=_0x766038(_0x4d7775);}[_0x527be2(0xc4)](_0x468f4b,_0x209859){const _0x4d5452=_0x527be2;this[_0x4d5452(0x106)](_0x4d5452(0xac),_0x209859?_0x468f4b:null);}[_0x527be2(0xcb)](){const _0x3c59b6=_0x527be2,_0xc2d96e=new _0x5490db();return _0xc2d96e[_0x3c59b6(0x106)]({'content':_0x85bc50}),_0xc2d96e;}[_0x527be2(0xe5)](_0x458028){const _0x5341cc=_0x527be2,_0x26d62d=new _0x2c89f1(_0x458028);return _0x26d62d[_0x5341cc(0x106)]({'label':_0x2fcf22(_0x458028,_0x5341cc(0xde)),'icon':_0x1a08d6,'withText':!0x1,'tooltip':!0x0}),_0x26d62d[_0x5341cc(0xbf)](_0x5341cc(0xc6))['to'](this,_0x5341cc(0xd5)),_0x26d62d['on'](_0x5341cc(0xe3),()=>{const _0x552c8b=_0x5341cc,_0x1df3e6=!this[_0x552c8b(0xd5)];this[_0x552c8b(0xa8)](_0x552c8b(0xbc),{'id':this['id'],'pinned':_0x1df3e6});}),_0x26d62d;}[_0x527be2(0xc9)](){const _0x4a5b92=_0x527be2,_0x5d04af=_0x51d089(this[_0x4a5b92(0xb5)],_0x308659),_0x1d7589=_0x5d04af[_0x4a5b92(0xec)][_0x4a5b92(0xbd)];_0x5d04af[_0x4a5b92(0xb8)][_0x4a5b92(0x106)]({'label':_0x2fcf22(this[_0x4a5b92(0xb5)],_0x4a5b92(0xeb)),'icon':_0x53f7cb}),_0x5d04af[_0x4a5b92(0x101)]='sw';const _0x12f7dc=new _0x2c89f1(this[_0x4a5b92(0xb5)]);_0x12f7dc[_0x4a5b92(0x102)]=_0x2fcf22(this[_0x4a5b92(0xb5)],_0x4a5b92(0xe8)),_0x12f7dc[_0x4a5b92(0xc5)]=!0x0,_0x12f7dc['on'](_0x4a5b92(0xe3),()=>{const _0x6ec6cf=_0x4a5b92;this[_0x6ec6cf(0xb4)]=!0x0;});const _0x23b582=new _0x2c89f1(this[_0x4a5b92(0xb5)]);_0x23b582[_0x4a5b92(0x102)]=_0x2fcf22(this[_0x4a5b92(0xb5)],_0x4a5b92(0xe2)),_0x23b582[_0x4a5b92(0xc5)]=!0x0,_0x23b582['on'](_0x4a5b92(0xe3),()=>{const _0x4c3f1f=_0x4a5b92;this[_0x4c3f1f(0xb9)](_0x2fcf22(this[_0x4c3f1f(0xb5)],_0x4c3f1f(0xe7)),this[_0x4c3f1f(0xfd)])[_0x4c3f1f(0xce)](()=>{const _0x244522=_0x4c3f1f;this[_0x244522(0xa8)](_0x244522(0xba),{'id':this['id']});});});const _0x94b24b=new _0x4fd5b8(this[_0x4a5b92(0xb5)]),_0x56c047=new _0x3b8905(this[_0x4a5b92(0xb5)]);_0x56c047[_0x4a5b92(0xbd)][_0x4a5b92(0x104)](_0x12f7dc);const _0xeb4954=new _0x3b8905(this[_0x4a5b92(0xb5)]);return _0xeb4954[_0x4a5b92(0xbd)][_0x4a5b92(0x104)](_0x23b582),_0x94b24b[_0x4a5b92(0xb6)][_0x4a5b92(0xb3)]([_0x56c047,_0xeb4954]),_0x1d7589[_0x4a5b92(0x104)](_0x94b24b),_0x5d04af;}[_0x527be2(0x107)](_0x15212c,_0x31abe8){const _0x27f185=_0x527be2,_0x46b8f1=new _0x1c329c(_0x15212c),_0x1c60f0=_0x46b8f1[_0x27f185(0x109)];return _0x46b8f1[_0x27f185(0xee)]=_0x31abe8,_0x46b8f1[_0x27f185(0xd1)]({'on':{'keydown':_0x1c60f0['to'](_0x51a2a5=>{const _0x33a9c5=_0x27f185;_0x33a9c5(0xaa)==_0x51a2a5[_0x33a9c5(0xea)]&&this[_0x33a9c5(0xda)](_0x46b8f1);})}}),_0x46b8f1;}[_0x527be2(0xc0)](_0x56cc01,_0x56d43b){const _0x21cb96=_0x527be2,_0x533f8f=new _0x2c89f1(_0x56cc01);return _0x533f8f[_0x21cb96(0x106)]({'icon':_0x85bc50,'withText':!0x1,'tooltip':_0x2fcf22(_0x56cc01,_0x21cb96(0xe1))}),_0x533f8f[_0x21cb96(0xd1)]({'attributes':{'class':[_0x21cb96(0xf8)]}}),_0x533f8f['on'](_0x21cb96(0xe3),()=>{const _0x1122c7=_0x21cb96;this[_0x1122c7(0xda)](_0x56d43b);}),_0x533f8f;}[_0x527be2(0xda)](_0x263f24){const _0xa0c79c=_0x527be2,_0x29858f=_0x263f24[_0xa0c79c(0xfd)][_0xa0c79c(0xee)]||'';this[_0xa0c79c(0xcd)][_0xa0c79c(0xdf)]=_0x29858f,this[_0xa0c79c(0xb4)]=!0x1,this[_0xa0c79c(0xa8)](_0xa0c79c(0xb7),{'id':this['id'],'title':_0x29858f});}[_0x527be2(0x10a)](_0xfa093e,_0x57f812){const _0x4071ef=_0x527be2,_0x5a1b24=new _0x2c89f1(_0xfa093e);return _0x5a1b24[_0x4071ef(0x106)]({'icon':_0x5b679e,'withText':!0x1,'tooltip':_0x2fcf22(_0xfa093e,_0x4071ef(0x108))}),_0x5a1b24[_0x4071ef(0xd1)]({'attributes':{'class':[_0x4071ef(0xd9)]}}),_0x5a1b24['on'](_0x4071ef(0xe3),()=>{const _0x416472=_0x4071ef;this[_0x416472(0xb4)]=!0x1,_0x57f812[_0x416472(0xee)]=this[_0x416472(0xcd)][_0x416472(0xdf)]||'',this[_0x416472(0xa8)](_0x416472(0xf6));}),_0x5a1b24;}[_0x527be2(0xd4)](){const _0x31ba25=_0x527be2,_0x2e6627=new _0x2ef97d(_0x31ba25(0xf0));return _0x2e6627[_0x31ba25(0xb2)]=!0x0,_0x2e6627;}[_0x527be2(0xaf)](_0x10dc58){const _0x755c96=_0x527be2;return this[_0x755c96(0xcd)]&&_0x755c96(0xc8)==typeof this[_0x755c96(0xcd)][_0x755c96(0xdf)]&&this[_0x755c96(0xcd)][_0x755c96(0xdf)][_0x755c96(0xff)](_0x10dc58)?{'title':!0x0}:null;}[_0x527be2(0xca)](_0x51ffe7){const _0x10ac7f=_0x527be2;this[_0x10ac7f(0xcd)][_0x10ac7f(0xca)](_0x51ffe7);}}
23
+ function _0x3b12(){const _0x442fc5=['execute','children','5714170WKiBow','AI_CHAT_HISTORY_LOADING_REMOVING','then','fire','ck-ai-chat-history__item-actions','click','LOADING_LABELS','set','bind','updateTitle','5391YwFmcA','_createEditInputView','locale','buttonView','selectConversation','ck-ai-chat-history__item-check-container','key','_createCheckView','value','AI_CHAT_HISTORY_EDIT_NAME','match','ck-ai-chat-history__item--active','ck-ai-loader__text','ck-confirm-view-cancel','tiny','Enter','isVisible','AI_CHAT_HISTORY_PIN_BUTTON','ck-ai-chat-history__item-content','300020iRAKfN','_createSpinnerView','AI_CHAT_HISTORY_CANCEL','4FJzSox','ck-hidden','_createPinButtonView','AI_CHAT_HISTORY_LOADING_PINNING','editConversationTitle','443148moAwua','removeConversation','highlightText','createCollection','8UOcISF','add','addMany','AI_CHAT_HISTORY_REMOVE','isEdit','ck-ai-chat-history__item-main-content','AI_CHAT_HISTORY_LOADING_UNPINNING','panelView','edit:cancel','63WlfGMg','actions','text','mainContent','div','withText','_commitEditInputValue','_createMenuDropdownView','setConversationPinned','ck-ai-chat-history__item-check','isOn','AI_CHAT_HISTORY_LOADING_RENAMING','_titleView','updateLoadingState','51798IgrHmn','ck-confirm-view-submit','2200075LQIVdh','ck-ai-chat-history__item','extendTemplate','ck-ai-loader','element','items','ck-ai-chat-history__item-row','clear','string','AI_CHAT_HISTORY_ACCEPT','ck-ai-chat-history__item-title','238803HLrSwr','bindTemplate','showConfirm','isMatching','pinned','ck-ai-chat-history__item-date','panelPosition','focus','_createAcceptEditButtonView','loadingState','setTemplate','span','ck-ai-chat-history__item--edit','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','change:isEdit','listitem','_createCancelEditButtonView','AI_CHAT_HISTORY_REMOVE_CONFIRM','label'];_0x3b12=function(){return _0x442fc5;};return _0x3b12();}const _0xf98b64=_0x1060;(function(_0x54d561,_0x32cc7c){const _0x461779=_0x1060,_0x8a5fef=_0x54d561();while(!![]){try{const _0x6324cc=parseInt(_0x461779(0x180))/0x1+parseInt(_0x461779(0x188))/0x2+-parseInt(_0x461779(0x1b0))/0x3+-parseInt(_0x461779(0x183))/0x4*(-parseInt(_0x461779(0x1a5))/0x5)+-parseInt(_0x461779(0x1a3))/0x6*(parseInt(_0x461779(0x195))/0x7)+-parseInt(_0x461779(0x18c))/0x8*(-parseInt(_0x461779(0x1cf))/0x9)+-parseInt(_0x461779(0x1c5))/0xa;if(_0x6324cc===_0x32cc7c)break;else _0x8a5fef['push'](_0x8a5fef['shift']());}catch(_0x1fd7a9){_0x8a5fef['push'](_0x8a5fef['shift']());}}}(_0x3b12,0x39015));import{ListItemView as _0x1a6f75,HighlightedTextView as _0x41f5c0,ButtonView as _0x39c900,ListView as _0x199cb3,IconView as _0x591a5c,createDropdown as _0x248066,InputTextView as _0x18be3d}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x5e899e,IconPin as _0x5c8947,IconCheck as _0x334e63,IconCancel as _0x5f5275}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x508adb,ConfirmMixin as _0x2a0975}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0xce7a26}from'es-toolkit/compat';import{AISpinnerView as _0x36d757}from'../../aicore/ui/aispinner.js';function _0x1060(_0x2a3608,_0x3e476b){const _0x3b1226=_0x3b12();return _0x1060=function(_0x10602f,_0x98f7ae){_0x10602f=_0x10602f-0x17e;let _0x496b4f=_0x3b1226[_0x10602f];return _0x496b4f;},_0x1060(_0x2a3608,_0x3e476b);}import{getTranslation as _0x16a506}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
+ _0x2a0975(_0x1a6f75){['id'];static [_0xf98b64(0x1cb)]={'remove':_0xf98b64(0x1c6),'rename':_0xf98b64(0x1a0),'pin':_0xf98b64(0x186),'unpin':_0xf98b64(0x192)};[_0xf98b64(0x196)];[_0xf98b64(0x198)];[_0xf98b64(0x1a1)];constructor(_0x163551,_0x6450f5){const _0x3ec23f=_0xf98b64;super(_0x163551);const _0x1c2251=this[_0x3ec23f(0x1b1)];this[_0x3ec23f(0x1cc)](_0x3ec23f(0x190),!0x1),this[_0x3ec23f(0x1cc)](_0x3ec23f(0x1df),!0x0),this[_0x3ec23f(0x1cc)](_0x3ec23f(0x1b4),!!_0x6450f5[_0x3ec23f(0x1b4)]),this[_0x3ec23f(0x1cc)](_0x3ec23f(0x1b9),null),this['id']=_0x6450f5['id'];const {title:_0x33de2e,createdAt:_0x18af2e,active:_0x102ec4=!0x1}=_0x6450f5;this[_0x3ec23f(0x1a1)]=new _0x41f5c0(),this[_0x3ec23f(0x1a1)][_0x3ec23f(0x197)]=_0x33de2e,this[_0x3ec23f(0x1a1)][_0x3ec23f(0x1a7)]({'attributes':{'class':[_0x3ec23f(0x1af)]}});const _0x214484=this[_0x3ec23f(0x1d6)](),_0x139892=this[_0x3ec23f(0x185)](_0x163551),_0x554acd=this[_0x3ec23f(0x19c)](),_0x5ce52e=this[_0x3ec23f(0x1d0)](_0x163551,_0x33de2e),_0x3768ec=this[_0x3ec23f(0x1b8)](_0x163551,_0x5ce52e),_0x3efd7d=this[_0x3ec23f(0x1c0)](_0x163551,_0x5ce52e);this[_0x3ec23f(0x196)]=this[_0x3ec23f(0x18b)](),this[_0x3ec23f(0x198)]=this[_0x3ec23f(0x18b)](),this[_0x3ec23f(0x198)][_0x3ec23f(0x18d)](this[_0x3ec23f(0x1a1)]),this[_0x3ec23f(0x196)][_0x3ec23f(0x18d)](_0x139892),this[_0x3ec23f(0x196)][_0x3ec23f(0x18d)](_0x554acd),this['on'](_0x3ec23f(0x1be),(_0x549e81,_0x4d63cf,_0x20e5f9)=>{const _0x296bb4=_0x3ec23f;this[_0x296bb4(0x196)][_0x296bb4(0x1ac)](),this[_0x296bb4(0x198)][_0x296bb4(0x1ac)](),_0x20e5f9?(this[_0x296bb4(0x196)][_0x296bb4(0x18d)](_0x3768ec),this[_0x296bb4(0x196)][_0x296bb4(0x18d)](_0x3efd7d),this[_0x296bb4(0x198)][_0x296bb4(0x18d)](_0x5ce52e),_0x5ce52e[_0x296bb4(0x1a9)][_0x296bb4(0x1b7)]()):(this[_0x296bb4(0x196)][_0x296bb4(0x18d)](_0x139892),this[_0x296bb4(0x196)][_0x296bb4(0x18d)](_0x554acd),this[_0x296bb4(0x198)][_0x296bb4(0x18d)](this[_0x296bb4(0x1a1)]));}),this[_0x3ec23f(0x1ba)]({'tag':'li','attributes':{'class':[_0x3ec23f(0x1a6),_0x102ec4?_0x3ec23f(0x1da):'',_0x1c2251['if'](_0x3ec23f(0x1df),_0x3ec23f(0x184),_0x2aa4a0=>!_0x2aa4a0),_0x1c2251['if'](_0x3ec23f(0x190),_0x3ec23f(0x1bc))],'role':_0x3ec23f(0x1bf)},'children':[{'tag':_0x3ec23f(0x1bb),'attributes':{'class':[_0x3ec23f(0x1d4)]},'children':[{'tag':_0x3ec23f(0x199),'attributes':{'class':[_0x3ec23f(0x19e),_0x1c2251['if'](_0x3ec23f(0x1b9),_0x3ec23f(0x184),_0x82e316=>!!_0x82e316)]},'children':_0x102ec4?[_0x214484]:[]},{'tag':_0x3ec23f(0x199),'attributes':{'class':[_0x3ec23f(0x1a8),_0x1c2251['if'](_0x3ec23f(0x1b9),_0x3ec23f(0x184),_0x54e0a8=>!_0x54e0a8)]},'children':[this[_0x3ec23f(0x181)]()]}]},{'tag':_0x3ec23f(0x199),'attributes':{'class':[_0x3ec23f(0x1ab)]},'children':[{'tag':_0x3ec23f(0x199),'attributes':{'class':[_0x3ec23f(0x17f)]},'on':{'click':this[_0x3ec23f(0x1b1)]['to'](_0x3ec23f(0x1ca))},'children':[{'tag':_0x3ec23f(0x199),'attributes':{'class':[_0x3ec23f(0x191)]},'children':[{'tag':_0x3ec23f(0x199),'attributes':{'class':[_0x3ec23f(0x1af),_0x1c2251['if'](_0x3ec23f(0x1b9),_0x3ec23f(0x184),_0x2e6a00=>!!_0x2e6a00)]},'children':this[_0x3ec23f(0x198)]},{'tag':_0x3ec23f(0x199),'attributes':{'class':[_0x3ec23f(0x1db),_0x1c2251['if'](_0x3ec23f(0x1b9),_0x3ec23f(0x184),_0x482d62=>!_0x482d62)]},'children':[{'text':_0x1c2251['to'](_0x3ec23f(0x1b9),_0x2f0fc4=>_0x2f0fc4?_0x16a506(this[_0x3ec23f(0x1d1)],AIChatHistoryListItemView[_0x3ec23f(0x1cb)][_0x2f0fc4]):'')}]}]},{'tag':_0x3ec23f(0x1bb),'attributes':{'class':[_0x3ec23f(0x1b5)]},'children':[_0x18af2e]}]},{'tag':_0x3ec23f(0x199),'attributes':{'class':[_0x3ec23f(0x1c9)]},'children':this[_0x3ec23f(0x196)]}]}]}),this['on'](_0x3ec23f(0x1ca),()=>{const _0x2b7a6c=_0x3ec23f;this[_0x2b7a6c(0x190)]||this[_0x2b7a6c(0x1c8)](_0x2b7a6c(0x1d3),{'id':this['id']});});}[_0xf98b64(0x1ce)](_0x5da3bf){const _0x51da51=_0xf98b64;this[_0x51da51(0x1a1)][_0x51da51(0x197)]=_0xce7a26(_0x5da3bf);}[_0xf98b64(0x1a2)](_0x3f9c16,_0x542d06){const _0x2c7d35=_0xf98b64;this[_0x2c7d35(0x1cc)](_0x2c7d35(0x1b9),_0x542d06?_0x3f9c16:null);}[_0xf98b64(0x1d6)](){const _0xeddd4f=_0xf98b64,_0x567e06=new _0x591a5c();return _0x567e06[_0xeddd4f(0x1cc)]({'content':_0x334e63}),_0x567e06;}[_0xf98b64(0x185)](_0x5aa8ef){const _0x5da79d=_0xf98b64,_0x3ecc4a=new _0x39c900(_0x5aa8ef);return _0x3ecc4a[_0x5da79d(0x1cc)]({'label':_0x16a506(_0x5aa8ef,_0x5da79d(0x17e)),'icon':_0x5c8947,'withText':!0x1,'tooltip':!0x0}),_0x3ecc4a[_0x5da79d(0x1cd)](_0x5da79d(0x19f))['to'](this,_0x5da79d(0x1b4)),_0x3ecc4a['on'](_0x5da79d(0x1c3),()=>{const _0x54831b=_0x5da79d,_0x384016=!this[_0x54831b(0x1b4)];this[_0x54831b(0x1c8)](_0x54831b(0x19d),{'id':this['id'],'pinned':_0x384016});}),_0x3ecc4a;}[_0xf98b64(0x19c)](){const _0x3aa535=_0xf98b64,_0x496646=_0x248066(this[_0x3aa535(0x1d1)],_0x508adb),_0xa6d94=_0x496646[_0x3aa535(0x193)][_0x3aa535(0x1c4)];_0x496646[_0x3aa535(0x1d2)][_0x3aa535(0x1cc)]({'label':_0x16a506(this[_0x3aa535(0x1d1)],_0x3aa535(0x1bd)),'icon':_0x5e899e}),_0x496646[_0x3aa535(0x1b6)]='sw';const _0x5b7a14=new _0x39c900(this[_0x3aa535(0x1d1)]);_0x5b7a14[_0x3aa535(0x1c2)]=_0x16a506(this[_0x3aa535(0x1d1)],_0x3aa535(0x1d8)),_0x5b7a14[_0x3aa535(0x19a)]=!0x0,_0x5b7a14['on'](_0x3aa535(0x1c3),()=>{const _0x332c32=_0x3aa535;this[_0x332c32(0x190)]=!0x0;});const _0xeb66c0=new _0x39c900(this[_0x3aa535(0x1d1)]);_0xeb66c0[_0x3aa535(0x1c2)]=_0x16a506(this[_0x3aa535(0x1d1)],_0x3aa535(0x18f)),_0xeb66c0[_0x3aa535(0x19a)]=!0x0,_0xeb66c0['on'](_0x3aa535(0x1c3),()=>{const _0x3dc4bf=_0x3aa535;this[_0x3dc4bf(0x1b2)](_0x16a506(this[_0x3dc4bf(0x1d1)],_0x3dc4bf(0x1c1)),this[_0x3dc4bf(0x1a9)])[_0x3dc4bf(0x1c7)](()=>{const _0x4a99ee=_0x3dc4bf;this[_0x4a99ee(0x1c8)](_0x4a99ee(0x189),{'id':this['id']});});});const _0x4edb30=new _0x199cb3(this[_0x3aa535(0x1d1)]),_0x3b4565=new _0x1a6f75(this[_0x3aa535(0x1d1)]);_0x3b4565[_0x3aa535(0x1c4)][_0x3aa535(0x18d)](_0x5b7a14);const _0x326240=new _0x1a6f75(this[_0x3aa535(0x1d1)]);return _0x326240[_0x3aa535(0x1c4)][_0x3aa535(0x18d)](_0xeb66c0),_0x4edb30[_0x3aa535(0x1aa)][_0x3aa535(0x18e)]([_0x3b4565,_0x326240]),_0xa6d94[_0x3aa535(0x18d)](_0x4edb30),_0x496646;}[_0xf98b64(0x1d0)](_0x1ccaa6,_0x154558){const _0x2f1809=_0xf98b64,_0x130df7=new _0x18be3d(_0x1ccaa6),_0x1521a4=_0x130df7[_0x2f1809(0x1b1)];return _0x130df7[_0x2f1809(0x1d7)]=_0x154558,_0x130df7[_0x2f1809(0x1a7)]({'on':{'keydown':_0x1521a4['to'](_0x3e984e=>{const _0x4c98ab=_0x2f1809;_0x4c98ab(0x1de)==_0x3e984e[_0x4c98ab(0x1d5)]&&this[_0x4c98ab(0x19b)](_0x130df7);})}}),_0x130df7;}[_0xf98b64(0x1b8)](_0x2e28da,_0x3ae6c8){const _0x27007f=_0xf98b64,_0x35cdf5=new _0x39c900(_0x2e28da);return _0x35cdf5[_0x27007f(0x1cc)]({'icon':_0x334e63,'withText':!0x1,'tooltip':_0x16a506(_0x2e28da,_0x27007f(0x1ae))}),_0x35cdf5[_0x27007f(0x1a7)]({'attributes':{'class':[_0x27007f(0x1a4)]}}),_0x35cdf5['on'](_0x27007f(0x1c3),()=>{const _0x44a5fb=_0x27007f;this[_0x44a5fb(0x19b)](_0x3ae6c8);}),_0x35cdf5;}[_0xf98b64(0x19b)](_0x2114da){const _0x201ea8=_0xf98b64,_0x3a0ee0=_0x2114da[_0x201ea8(0x1a9)][_0x201ea8(0x1d7)]||'';this[_0x201ea8(0x1a1)][_0x201ea8(0x197)]=_0x3a0ee0,this[_0x201ea8(0x190)]=!0x1,this[_0x201ea8(0x1c8)](_0x201ea8(0x187),{'id':this['id'],'title':_0x3a0ee0});}[_0xf98b64(0x1c0)](_0xb65f12,_0x22f5e7){const _0x31016c=_0xf98b64,_0x238343=new _0x39c900(_0xb65f12);return _0x238343[_0x31016c(0x1cc)]({'icon':_0x5f5275,'withText':!0x1,'tooltip':_0x16a506(_0xb65f12,_0x31016c(0x182))}),_0x238343[_0x31016c(0x1a7)]({'attributes':{'class':[_0x31016c(0x1dc)]}}),_0x238343['on'](_0x31016c(0x1c3),()=>{const _0x2e0f62=_0x31016c;this[_0x2e0f62(0x190)]=!0x1,_0x22f5e7[_0x2e0f62(0x1d7)]=this[_0x2e0f62(0x1a1)][_0x2e0f62(0x197)]||'',this[_0x2e0f62(0x1c8)](_0x2e0f62(0x194));}),_0x238343;}[_0xf98b64(0x181)](){const _0x4ba509=_0xf98b64,_0x3d77f6=new _0x36d757(_0x4ba509(0x1dd));return _0x3d77f6[_0x4ba509(0x1df)]=!0x0,_0x3d77f6;}[_0xf98b64(0x1b3)](_0x3ec726){const _0x40883f=_0xf98b64;return this[_0x40883f(0x1a1)]&&_0x40883f(0x1ad)==typeof this[_0x40883f(0x1a1)][_0x40883f(0x197)]&&this[_0x40883f(0x1a1)][_0x40883f(0x197)][_0x40883f(0x1d9)](_0x3ec726)?{'title':!0x0}:null;}[_0xf98b64(0x18a)](_0x321048){const _0x216836=_0xf98b64;this[_0x216836(0x1a1)][_0x216836(0x18a)](_0x321048);}}