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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (498) hide show
  1. package/build/ai.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/ast.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/be.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/bs.js +1 -1
  10. package/build/translations/ca.js +1 -1
  11. package/build/translations/cs.js +1 -1
  12. package/build/translations/da.js +1 -1
  13. package/build/translations/de-ch.js +1 -1
  14. package/build/translations/de.js +1 -1
  15. package/build/translations/el.js +1 -1
  16. package/build/translations/en-au.js +1 -1
  17. package/build/translations/en-gb.js +1 -1
  18. package/build/translations/eo.js +1 -1
  19. package/build/translations/es-co.js +1 -1
  20. package/build/translations/es.js +1 -1
  21. package/build/translations/et.js +1 -1
  22. package/build/translations/eu.js +1 -1
  23. package/build/translations/fa.js +1 -1
  24. package/build/translations/fi.js +1 -1
  25. package/build/translations/fr.js +1 -1
  26. package/build/translations/gl.js +1 -1
  27. package/build/translations/gu.js +1 -1
  28. package/build/translations/he.js +1 -1
  29. package/build/translations/hi.js +1 -1
  30. package/build/translations/hr.js +1 -1
  31. package/build/translations/hu.js +1 -1
  32. package/build/translations/hy.js +1 -1
  33. package/build/translations/id.js +1 -1
  34. package/build/translations/it.js +1 -1
  35. package/build/translations/ja.js +1 -1
  36. package/build/translations/jv.js +1 -1
  37. package/build/translations/kk.js +1 -1
  38. package/build/translations/km.js +1 -1
  39. package/build/translations/kn.js +1 -1
  40. package/build/translations/ko.js +1 -1
  41. package/build/translations/ku.js +1 -1
  42. package/build/translations/lt.js +1 -1
  43. package/build/translations/lv.js +1 -1
  44. package/build/translations/ms.js +1 -1
  45. package/build/translations/nb.js +1 -1
  46. package/build/translations/ne.js +1 -1
  47. package/build/translations/nl.js +1 -1
  48. package/build/translations/no.js +1 -1
  49. package/build/translations/oc.js +1 -1
  50. package/build/translations/pl.js +1 -1
  51. package/build/translations/pt-br.js +1 -1
  52. package/build/translations/pt.js +1 -1
  53. package/build/translations/ro.js +1 -1
  54. package/build/translations/ru.js +1 -1
  55. package/build/translations/si.js +1 -1
  56. package/build/translations/sk.js +1 -1
  57. package/build/translations/sl.js +1 -1
  58. package/build/translations/sq.js +1 -1
  59. package/build/translations/sr-latn.js +1 -1
  60. package/build/translations/sr.js +1 -1
  61. package/build/translations/sv.js +1 -1
  62. package/build/translations/th.js +1 -1
  63. package/build/translations/ti.js +1 -1
  64. package/build/translations/tk.js +1 -1
  65. package/build/translations/tr.js +1 -1
  66. package/build/translations/tt.js +1 -1
  67. package/build/translations/ug.js +1 -1
  68. package/build/translations/uk.js +1 -1
  69. package/build/translations/ur.js +1 -1
  70. package/build/translations/uz.js +1 -1
  71. package/build/translations/vi.js +1 -1
  72. package/build/translations/zh-cn.js +1 -1
  73. package/build/translations/zh.js +1 -1
  74. package/dist/index-editor.css +573 -203
  75. package/dist/index.css +627 -204
  76. package/dist/index.js +5 -4
  77. package/dist/translations/af.js +1 -1
  78. package/dist/translations/af.umd.js +1 -1
  79. package/dist/translations/ar.js +1 -1
  80. package/dist/translations/ar.umd.js +1 -1
  81. package/dist/translations/ast.js +1 -1
  82. package/dist/translations/ast.umd.js +1 -1
  83. package/dist/translations/az.js +1 -1
  84. package/dist/translations/az.umd.js +1 -1
  85. package/dist/translations/be.js +1 -1
  86. package/dist/translations/be.umd.js +1 -1
  87. package/dist/translations/bg.js +1 -1
  88. package/dist/translations/bg.umd.js +1 -1
  89. package/dist/translations/bn.js +1 -1
  90. package/dist/translations/bn.umd.js +1 -1
  91. package/dist/translations/bs.js +1 -1
  92. package/dist/translations/bs.umd.js +1 -1
  93. package/dist/translations/ca.js +1 -1
  94. package/dist/translations/ca.umd.js +1 -1
  95. package/dist/translations/cs.js +1 -1
  96. package/dist/translations/cs.umd.js +1 -1
  97. package/dist/translations/da.js +1 -1
  98. package/dist/translations/da.umd.js +1 -1
  99. package/dist/translations/de-ch.js +1 -1
  100. package/dist/translations/de-ch.umd.js +1 -1
  101. package/dist/translations/de.js +1 -1
  102. package/dist/translations/de.umd.js +1 -1
  103. package/dist/translations/el.js +1 -1
  104. package/dist/translations/el.umd.js +1 -1
  105. package/dist/translations/en-au.js +1 -1
  106. package/dist/translations/en-au.umd.js +1 -1
  107. package/dist/translations/en-gb.js +1 -1
  108. package/dist/translations/en-gb.umd.js +1 -1
  109. package/dist/translations/en.js +1 -1
  110. package/dist/translations/en.umd.js +1 -1
  111. package/dist/translations/eo.js +1 -1
  112. package/dist/translations/eo.umd.js +1 -1
  113. package/dist/translations/es-co.js +1 -1
  114. package/dist/translations/es-co.umd.js +1 -1
  115. package/dist/translations/es.js +1 -1
  116. package/dist/translations/es.umd.js +1 -1
  117. package/dist/translations/et.js +1 -1
  118. package/dist/translations/et.umd.js +1 -1
  119. package/dist/translations/eu.js +1 -1
  120. package/dist/translations/eu.umd.js +1 -1
  121. package/dist/translations/fa.js +1 -1
  122. package/dist/translations/fa.umd.js +1 -1
  123. package/dist/translations/fi.js +1 -1
  124. package/dist/translations/fi.umd.js +1 -1
  125. package/dist/translations/fr.js +1 -1
  126. package/dist/translations/fr.umd.js +1 -1
  127. package/dist/translations/gl.js +1 -1
  128. package/dist/translations/gl.umd.js +1 -1
  129. package/dist/translations/gu.js +1 -1
  130. package/dist/translations/gu.umd.js +1 -1
  131. package/dist/translations/he.js +1 -1
  132. package/dist/translations/he.umd.js +1 -1
  133. package/dist/translations/hi.js +1 -1
  134. package/dist/translations/hi.umd.js +1 -1
  135. package/dist/translations/hr.js +1 -1
  136. package/dist/translations/hr.umd.js +1 -1
  137. package/dist/translations/hu.js +1 -1
  138. package/dist/translations/hu.umd.js +1 -1
  139. package/dist/translations/hy.js +1 -1
  140. package/dist/translations/hy.umd.js +1 -1
  141. package/dist/translations/id.js +1 -1
  142. package/dist/translations/id.umd.js +1 -1
  143. package/dist/translations/it.js +1 -1
  144. package/dist/translations/it.umd.js +1 -1
  145. package/dist/translations/ja.js +1 -1
  146. package/dist/translations/ja.umd.js +1 -1
  147. package/dist/translations/jv.js +1 -1
  148. package/dist/translations/jv.umd.js +1 -1
  149. package/dist/translations/kk.js +1 -1
  150. package/dist/translations/kk.umd.js +1 -1
  151. package/dist/translations/km.js +1 -1
  152. package/dist/translations/km.umd.js +1 -1
  153. package/dist/translations/kn.js +1 -1
  154. package/dist/translations/kn.umd.js +1 -1
  155. package/dist/translations/ko.js +1 -1
  156. package/dist/translations/ko.umd.js +1 -1
  157. package/dist/translations/ku.js +1 -1
  158. package/dist/translations/ku.umd.js +1 -1
  159. package/dist/translations/lt.js +1 -1
  160. package/dist/translations/lt.umd.js +1 -1
  161. package/dist/translations/lv.js +1 -1
  162. package/dist/translations/lv.umd.js +1 -1
  163. package/dist/translations/ms.js +1 -1
  164. package/dist/translations/ms.umd.js +1 -1
  165. package/dist/translations/nb.js +1 -1
  166. package/dist/translations/nb.umd.js +1 -1
  167. package/dist/translations/ne.js +1 -1
  168. package/dist/translations/ne.umd.js +1 -1
  169. package/dist/translations/nl.js +1 -1
  170. package/dist/translations/nl.umd.js +1 -1
  171. package/dist/translations/no.js +1 -1
  172. package/dist/translations/no.umd.js +1 -1
  173. package/dist/translations/oc.js +1 -1
  174. package/dist/translations/oc.umd.js +1 -1
  175. package/dist/translations/pl.js +1 -1
  176. package/dist/translations/pl.umd.js +1 -1
  177. package/dist/translations/pt-br.js +1 -1
  178. package/dist/translations/pt-br.umd.js +1 -1
  179. package/dist/translations/pt.js +1 -1
  180. package/dist/translations/pt.umd.js +1 -1
  181. package/dist/translations/ro.js +1 -1
  182. package/dist/translations/ro.umd.js +1 -1
  183. package/dist/translations/ru.js +1 -1
  184. package/dist/translations/ru.umd.js +1 -1
  185. package/dist/translations/si.js +1 -1
  186. package/dist/translations/si.umd.js +1 -1
  187. package/dist/translations/sk.js +1 -1
  188. package/dist/translations/sk.umd.js +1 -1
  189. package/dist/translations/sl.js +1 -1
  190. package/dist/translations/sl.umd.js +1 -1
  191. package/dist/translations/sq.js +1 -1
  192. package/dist/translations/sq.umd.js +1 -1
  193. package/dist/translations/sr-latn.js +1 -1
  194. package/dist/translations/sr-latn.umd.js +1 -1
  195. package/dist/translations/sr.js +1 -1
  196. package/dist/translations/sr.umd.js +1 -1
  197. package/dist/translations/sv.js +1 -1
  198. package/dist/translations/sv.umd.js +1 -1
  199. package/dist/translations/th.js +1 -1
  200. package/dist/translations/th.umd.js +1 -1
  201. package/dist/translations/ti.js +1 -1
  202. package/dist/translations/ti.umd.js +1 -1
  203. package/dist/translations/tk.js +1 -1
  204. package/dist/translations/tk.umd.js +1 -1
  205. package/dist/translations/tr.js +1 -1
  206. package/dist/translations/tr.umd.js +1 -1
  207. package/dist/translations/tt.js +1 -1
  208. package/dist/translations/tt.umd.js +1 -1
  209. package/dist/translations/ug.js +1 -1
  210. package/dist/translations/ug.umd.js +1 -1
  211. package/dist/translations/uk.js +1 -1
  212. package/dist/translations/uk.umd.js +1 -1
  213. package/dist/translations/ur.js +1 -1
  214. package/dist/translations/ur.umd.js +1 -1
  215. package/dist/translations/uz.js +1 -1
  216. package/dist/translations/uz.umd.js +1 -1
  217. package/dist/translations/vi.js +1 -1
  218. package/dist/translations/vi.umd.js +1 -1
  219. package/dist/translations/zh-cn.js +1 -1
  220. package/dist/translations/zh-cn.umd.js +1 -1
  221. package/dist/translations/zh.js +1 -1
  222. package/dist/translations/zh.umd.js +1 -1
  223. package/lang/contexts.json +8 -1
  224. package/lang/translations/af.po +52 -4
  225. package/lang/translations/ar.po +52 -4
  226. package/lang/translations/ast.po +52 -4
  227. package/lang/translations/az.po +52 -4
  228. package/lang/translations/be.po +52 -4
  229. package/lang/translations/bg.po +52 -4
  230. package/lang/translations/bn.po +52 -4
  231. package/lang/translations/bs.po +52 -4
  232. package/lang/translations/ca.po +52 -4
  233. package/lang/translations/cs.po +52 -4
  234. package/lang/translations/da.po +52 -4
  235. package/lang/translations/de-ch.po +52 -4
  236. package/lang/translations/de.po +52 -4
  237. package/lang/translations/el.po +52 -4
  238. package/lang/translations/en-au.po +52 -4
  239. package/lang/translations/en-gb.po +52 -4
  240. package/lang/translations/en.po +52 -4
  241. package/lang/translations/eo.po +52 -4
  242. package/lang/translations/es-co.po +52 -4
  243. package/lang/translations/es.po +52 -4
  244. package/lang/translations/et.po +52 -4
  245. package/lang/translations/eu.po +52 -4
  246. package/lang/translations/fa.po +52 -4
  247. package/lang/translations/fi.po +52 -4
  248. package/lang/translations/fr.po +52 -4
  249. package/lang/translations/gl.po +52 -4
  250. package/lang/translations/gu.po +52 -4
  251. package/lang/translations/he.po +52 -4
  252. package/lang/translations/hi.po +52 -4
  253. package/lang/translations/hr.po +52 -4
  254. package/lang/translations/hu.po +52 -4
  255. package/lang/translations/hy.po +52 -4
  256. package/lang/translations/id.po +52 -4
  257. package/lang/translations/it.po +52 -4
  258. package/lang/translations/ja.po +52 -4
  259. package/lang/translations/jv.po +52 -4
  260. package/lang/translations/kk.po +52 -4
  261. package/lang/translations/km.po +52 -4
  262. package/lang/translations/kn.po +52 -4
  263. package/lang/translations/ko.po +52 -4
  264. package/lang/translations/ku.po +52 -4
  265. package/lang/translations/lt.po +52 -4
  266. package/lang/translations/lv.po +52 -4
  267. package/lang/translations/ms.po +52 -4
  268. package/lang/translations/nb.po +52 -4
  269. package/lang/translations/ne.po +52 -4
  270. package/lang/translations/nl.po +52 -4
  271. package/lang/translations/no.po +52 -4
  272. package/lang/translations/oc.po +52 -4
  273. package/lang/translations/pl.po +52 -4
  274. package/lang/translations/pt-br.po +52 -4
  275. package/lang/translations/pt.po +52 -4
  276. package/lang/translations/ro.po +52 -4
  277. package/lang/translations/ru.po +52 -4
  278. package/lang/translations/si.po +52 -4
  279. package/lang/translations/sk.po +52 -4
  280. package/lang/translations/sl.po +52 -4
  281. package/lang/translations/sq.po +52 -4
  282. package/lang/translations/sr-latn.po +52 -4
  283. package/lang/translations/sr.po +52 -4
  284. package/lang/translations/sv.po +52 -4
  285. package/lang/translations/th.po +52 -4
  286. package/lang/translations/ti.po +52 -4
  287. package/lang/translations/tk.po +52 -4
  288. package/lang/translations/tr.po +52 -4
  289. package/lang/translations/tt.po +52 -4
  290. package/lang/translations/ug.po +52 -4
  291. package/lang/translations/uk.po +52 -4
  292. package/lang/translations/ur.po +52 -4
  293. package/lang/translations/uz.po +52 -4
  294. package/lang/translations/vi.po +52 -4
  295. package/lang/translations/zh-cn.po +52 -4
  296. package/lang/translations/zh.po +52 -4
  297. package/package.json +15 -15
  298. package/src/aiactions/aiactions.d.ts +1 -1
  299. package/src/aiactions/aiactions.js +1 -1
  300. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  301. package/src/aiactions/model/aiactionsreply.js +1 -1
  302. package/src/aiassistant/adapters/aiadapter.js +1 -1
  303. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  304. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  305. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  306. package/src/aiassistant/aiassistant.js +1 -1
  307. package/src/aiassistant/aiassistantediting.js +1 -1
  308. package/src/aiassistant/aiassistantui.js +1 -1
  309. package/src/aiassistant/legacyerrors.js +1 -1
  310. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  311. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  312. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  313. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  314. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformview.js +1 -1
  316. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  317. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  318. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  319. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  320. package/src/aiassistant/utils/common-translations.js +1 -1
  321. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  322. package/src/aiballoon/aiballoon.d.ts +5 -1
  323. package/src/aiballoon/aiballoon.js +1 -1
  324. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  325. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  326. package/src/aiballoon/ui/aiballoonview.d.ts +40 -1
  327. package/src/aiballoon/ui/aiballoonview.js +1 -1
  328. package/src/aichat/aichat.js +1 -1
  329. package/src/aichat/aichatcontroller.d.ts +1 -1
  330. package/src/aichat/aichatcontroller.js +1 -1
  331. package/src/aichat/aichatui.d.ts +1 -0
  332. package/src/aichat/aichatui.js +1 -1
  333. package/src/aichat/model/aichatcontext.d.ts +4 -0
  334. package/src/aichat/model/aichatcontext.js +1 -1
  335. package/src/aichat/model/aichatconversation.js +1 -1
  336. package/src/aichat/model/aichatinteraction.js +1 -1
  337. package/src/aichat/model/aichatmodels.d.ts +8 -29
  338. package/src/aichat/model/aichatmodels.js +1 -1
  339. package/src/aichat/ui/aichatcontrolsview.d.ts +4 -1
  340. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  341. package/src/aichat/ui/aichatfeedview.d.ts +2 -2
  342. package/src/aichat/ui/aichatfeedview.js +1 -1
  343. package/src/aichat/ui/aichatheaderview.js +1 -1
  344. package/src/aichat/ui/aichatview.d.ts +4 -1
  345. package/src/aichat/ui/aichatview.js +1 -1
  346. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  347. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  348. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  349. package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +4 -1
  350. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  351. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  352. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  353. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  354. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  355. package/src/aichat/ui/controls/resources/{aichatresourceslistview.d.ts → aichatcontextresourceslistview.d.ts} +1 -1
  356. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +23 -0
  357. package/src/aichat/ui/controls/resources/{aichatresourcesview.d.ts → aichatcontextresourcesview.d.ts} +5 -2
  358. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +23 -0
  359. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  360. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +4 -0
  361. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  362. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  363. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  364. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  365. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  366. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  367. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  368. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +3 -3
  369. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  370. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -3
  371. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  372. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  373. package/src/aichat/utils/eventnames.js +1 -1
  374. package/src/aichat/utils/promisequeue.js +1 -1
  375. package/src/aichat/utils/scrollmanager.js +1 -1
  376. package/src/aichathistory/aichathistory.js +1 -1
  377. package/src/aichathistory/aichathistorycontroller.js +1 -1
  378. package/src/aichathistory/aichathistoryui.js +1 -1
  379. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  380. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  381. package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
  382. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -1
  383. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  384. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  385. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  386. package/src/aiconfig.d.ts +28 -7
  387. package/src/aicore/aiconnector.d.ts +1 -0
  388. package/src/aicore/aiconnector.js +1 -1
  389. package/src/aicore/aiediting.js +1 -1
  390. package/src/aicore/model/aicapabilities.js +1 -1
  391. package/src/aicore/model/aicontext.js +1 -1
  392. package/src/aicore/model/aiinteraction.js +1 -1
  393. package/src/aicore/model/aimodels.d.ts +66 -0
  394. package/src/aicore/model/aimodels.js +23 -0
  395. package/src/aicore/model/aireply.d.ts +9 -1
  396. package/src/aicore/model/aireply.js +1 -1
  397. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  398. package/src/aicore/pipeline/airesponseparser.js +2 -2
  399. package/src/aicore/ui/aidisclaimerview.js +1 -1
  400. package/src/aicore/ui/aiskeleton.js +1 -1
  401. package/src/aicore/ui/aispinner.js +1 -1
  402. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  403. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +5 -2
  404. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  405. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +3 -1
  406. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  407. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +6 -2
  408. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  409. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  410. package/src/aicore/utils/common-translations.js +1 -1
  411. package/src/aicore/utils/createresizebutton.js +1 -1
  412. package/src/aicore/utils/documentposition.js +1 -1
  413. package/src/aicore/utils/documentrange.js +1 -1
  414. package/src/aicore/utils/eventnames.js +1 -1
  415. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  416. package/src/aicore/utils/getoperationsfromreply.d.ts +2 -1
  417. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  418. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  419. package/src/aicore/utils/htmlparser.js +1 -1
  420. package/src/aicore/utils/htmlstreamer.js +1 -1
  421. package/src/aieditorintegration/aieditorintegration.d.ts +2 -1
  422. package/src/aieditorintegration/aieditorintegration.js +1 -1
  423. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  424. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  425. package/src/aiquickactions/aiquickactions.js +1 -1
  426. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  427. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  428. package/src/aiquickactions/aiquickactionsui.js +1 -1
  429. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  430. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  431. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  432. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  433. package/src/aireviewmode/aireviewmode.js +1 -1
  434. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  435. package/src/aireviewmode/aireviewmodeediting.d.ts +18 -0
  436. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  437. package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
  438. package/src/aireviewmode/aireviewmodeui.js +1 -1
  439. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  440. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +3 -3
  441. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  442. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  443. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  444. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
  445. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  446. package/src/aireviewmode/model/aireviewcheckrun.d.ts +9 -10
  447. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  448. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  449. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  450. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  451. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  452. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +6 -0
  453. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  454. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  455. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +13 -0
  456. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +23 -0
  457. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  458. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +9 -1
  459. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  460. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  461. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +0 -4
  462. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  463. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  464. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  465. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  466. package/src/aitabs/aitabs.js +1 -1
  467. package/src/aitabs/aitabsmainview.js +1 -1
  468. package/src/aitabs/tabs/aitabsview.js +1 -1
  469. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  470. package/src/aitabs/tabs/tabpanelview.js +1 -1
  471. package/src/errors.js +1 -1
  472. package/src/index.d.ts +1 -0
  473. package/src/index.js +1 -1
  474. package/theme/aiballoon/aiballoon.css +12 -0
  475. package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
  476. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +52 -43
  477. package/theme/aichat/aichat-controls/aichat-controls-button.css +8 -6
  478. package/theme/aichat/aichat-controls/aichat-controls-loader.css +36 -52
  479. package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -1
  480. package/theme/aichat/aichat-controls.css +11 -27
  481. package/theme/aichat/aichat.css +2 -3
  482. package/theme/aichat/aichatfeed.css +1 -27
  483. package/theme/aichat/aichathistory.css +12 -0
  484. package/theme/aichat/aisuggestioncontainer.css +5 -0
  485. package/theme/aireviewmode/aireviewmode-check-list.css +25 -23
  486. package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
  487. package/theme/aireviewmode/aireviewmode-check-run.css +28 -5
  488. package/theme/aireviewmode/aireviewmode.css +17 -7
  489. package/theme/aitabs/aitabsview.css +1 -1
  490. package/theme/aitabs/tabs/tabbuttonview.css +1 -0
  491. package/theme/aitabs/tabs/tabsview.css +1 -0
  492. package/theme/common/aibutton.css +27 -0
  493. package/theme/common/aiheader.css +14 -4
  494. package/theme/common/aitrackchanges.css +8 -1
  495. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +0 -23
  496. package/src/aichat/ui/controls/resources/aichatresourcesview.js +0 -23
  497. package/src/aireviewmode/model/aireviewmodels.d.ts +0 -26
  498. package/src/aireviewmode/model/aireviewmodels.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x281e(){var _0x2ef0a9=['options','initialContent','3580299MOVfcx','2544YIrBlo','innerHTML','12rQgthN','markAsDone','8AkQMFo','4LggdFv','16976457bpjjVJ','11137962EKdSKd','render','ck-ai-chat-error','extendTemplate','warning','element','19448360lUuubd','ck-ai-chat-error_warning','179EJeenB','level','6400114dlHeVI','setContent','7115335yQyXTU'];_0x281e=function(){return _0x2ef0a9;};return _0x281e();}function _0x4865(_0x16f796,_0x2ff4cb){var _0x281ece=_0x281e();return _0x4865=function(_0x4865d3,_0x1a48a8){_0x4865d3=_0x4865d3-0x1d1;var _0x3a3b56=_0x281ece[_0x4865d3];return _0x3a3b56;},_0x4865(_0x16f796,_0x2ff4cb);}var _0x3198ca=_0x4865;(function(_0x2f1e55,_0x524b04){var _0x45eb90=_0x4865,_0x40463e=_0x2f1e55();while(!![]){try{var _0x59d7e3=parseInt(_0x45eb90(0x1db))/0x1*(-parseInt(_0x45eb90(0x1e3))/0x2)+-parseInt(_0x45eb90(0x1e2))/0x3+-parseInt(_0x45eb90(0x1d1))/0x4*(-parseInt(_0x45eb90(0x1df))/0x5)+parseInt(_0x45eb90(0x1e5))/0x6*(-parseInt(_0x45eb90(0x1dd))/0x7)+-parseInt(_0x45eb90(0x1e7))/0x8*(-parseInt(_0x45eb90(0x1d2))/0x9)+parseInt(_0x45eb90(0x1d9))/0xa+-parseInt(_0x45eb90(0x1d3))/0xb;if(_0x59d7e3===_0x524b04)break;else _0x40463e['push'](_0x40463e['shift']());}catch(_0x4d896d){_0x40463e['push'](_0x40463e['shift']());}}}(_0x281e,0xf22a5));import{AIChatFeedItemView as _0xfb88bc}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0xfb88bc{constructor(_0x22dede){var _0x20aed3=_0x4865;super(_0x22dede),this[_0x20aed3(0x1d6)]({'attributes':{'class':[_0x20aed3(0x1d5),_0x20aed3(0x1d7)===_0x22dede[_0x20aed3(0x1dc)]?_0x20aed3(0x1da):'']}});}[_0x3198ca(0x1d4)](){var _0x5c5fc5=_0x3198ca;super[_0x5c5fc5(0x1d4)](),this[_0x5c5fc5(0x1de)](this[_0x5c5fc5(0x1e0)][_0x5c5fc5(0x1e1)]),this[_0x5c5fc5(0x1e6)]();}[_0x3198ca(0x1de)](_0x4f05ad){var _0x428725=_0x3198ca;this[_0x428725(0x1d8)][_0x428725(0x1e4)]=_0x4f05ad;}}
23
+ var _0x2ccb2a=_0x39a8;(function(_0x18fcc1,_0x42b25){var _0x59bcbd=_0x39a8,_0x492ccc=_0x18fcc1();while(!![]){try{var _0x22cef4=-parseInt(_0x59bcbd(0xc5))/0x1*(parseInt(_0x59bcbd(0xce))/0x2)+parseInt(_0x59bcbd(0xbf))/0x3+parseInt(_0x59bcbd(0xcc))/0x4+-parseInt(_0x59bcbd(0xc8))/0x5*(-parseInt(_0x59bcbd(0xc9))/0x6)+parseInt(_0x59bcbd(0xca))/0x7*(-parseInt(_0x59bcbd(0xc4))/0x8)+-parseInt(_0x59bcbd(0xd2))/0x9*(-parseInt(_0x59bcbd(0xcf))/0xa)+-parseInt(_0x59bcbd(0xbc))/0xb*(-parseInt(_0x59bcbd(0xc0))/0xc);if(_0x22cef4===_0x42b25)break;else _0x492ccc['push'](_0x492ccc['shift']());}catch(_0x1068a9){_0x492ccc['push'](_0x492ccc['shift']());}}}(_0x196c,0x2924a));function _0x39a8(_0x5b1232,_0xe5251e){var _0x196cb8=_0x196c();return _0x39a8=function(_0x39a826,_0x373e4c){_0x39a826=_0x39a826-0xbb;var _0x127e9d=_0x196cb8[_0x39a826];return _0x127e9d;},_0x39a8(_0x5b1232,_0xe5251e);}function _0x196c(){var _0x1c3449=['42bbZByH','render','835036ogCBes','extendTemplate','4dxVXxo','30qhFTEz','element','options','427311bJPFuF','warning','3006421jKCEvQ','setContent','level','40731EnUeKY','12xSKGGG','ck-ai-chat-error_warning','initialContent','innerHTML','442448mtFnqL','97586pjdRFm','ck-ai-chat-error','markAsDone','143615pZkXsc','12oBHOYX'];_0x196c=function(){return _0x1c3449;};return _0x196c();}import{AIChatFeedItemView as _0x244ef1}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x244ef1{constructor(_0x17271a){var _0x5b58fe=_0x39a8;super(_0x17271a),this[_0x5b58fe(0xcd)]({'attributes':{'class':[_0x5b58fe(0xc6),_0x5b58fe(0xbb)===_0x17271a[_0x5b58fe(0xbe)]?_0x5b58fe(0xc1):'']}});}[_0x2ccb2a(0xcb)](){var _0x1ac290=_0x2ccb2a;super[_0x1ac290(0xcb)](),this[_0x1ac290(0xbd)](this[_0x1ac290(0xd1)][_0x1ac290(0xc2)]),this[_0x1ac290(0xc7)]();}[_0x2ccb2a(0xbd)](_0x53638e){var _0x153f6e=_0x2ccb2a;this[_0x153f6e(0xd0)][_0x153f6e(0xc3)]=_0x53638e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31f155=_0x2c1a;(function(_0x575401,_0xeef354){const _0x198186=_0x2c1a,_0x8ec390=_0x575401();while(!![]){try{const _0x49e277=parseInt(_0x198186(0xb3))/0x1+-parseInt(_0x198186(0xba))/0x2+parseInt(_0x198186(0xb4))/0x3+-parseInt(_0x198186(0xbc))/0x4+-parseInt(_0x198186(0xaf))/0x5+parseInt(_0x198186(0xb1))/0x6*(parseInt(_0x198186(0xc2))/0x7)+parseInt(_0x198186(0xb2))/0x8;if(_0x49e277===_0xeef354)break;else _0x8ec390['push'](_0x8ec390['shift']());}catch(_0x18bd44){_0x8ec390['push'](_0x8ec390['shift']());}}}(_0x3105,0x3fc56));import{IconBulb as _0x1bf89c,IconWeb as _0x2cb3e2}from'@ckeditor/ckeditor5-icons';import{IconView as _0x195a63,View as _0x3ef6aa}from'ckeditor5/src/ui.js';function _0x2c1a(_0x3a2804,_0x46f347){const _0x31052b=_0x3105();return _0x2c1a=function(_0x2c1a95,_0x46649f){_0x2c1a95=_0x2c1a95-0xad;let _0x20f3bf=_0x31052b[_0x2c1a95];return _0x20f3bf;},_0x2c1a(_0x3a2804,_0x46f347);}import{AIChatFeedItemView as _0x4ce267}from'./aichatfeeditemview.js';function _0x3105(){const _0x18825b=['AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','644785mjfLKT','extendTemplate','78UgemSj','1037184CoiXCq','383796cOAblY','687873dqCBkO','div','capabilities','children','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','1002388UGROjN','ck-ai-chat__feed__interaction-header__capabilities__text','100804NQHxjN','push','add','ck-hidden','span','ck-ai-chat__feed__interaction-header__capabilities','93597VTjort','ck-ai-chat__feed__interaction-header','setTemplate','content'];_0x3105=function(){return _0x18825b;};return _0x3105();}import{getTranslation as _0x22d983}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x4ce267{[_0x31f155(0xb6)];constructor(_0x362d82,_0x64bca7){const _0x463bb2=_0x31f155;super(_0x64bca7);const {isWebSearchEnabled:_0x3831f8,isReasoningEnabled:_0x144696}=_0x64bca7[_0x463bb2(0xb6)],_0x364c7e=[];let _0x4d561e='';_0x3831f8&&_0x144696?(_0x4d561e=_0x22d983(_0x362d82,_0x463bb2(0xae)),_0x364c7e[_0x463bb2(0xbd)](ea(_0x2cb3e2)),_0x364c7e[_0x463bb2(0xbd)](ea(_0x1bf89c))):_0x3831f8?(_0x4d561e=_0x22d983(_0x362d82,_0x463bb2(0xb9)),_0x364c7e[_0x463bb2(0xbd)](ea(_0x2cb3e2))):_0x144696&&(_0x4d561e=_0x22d983(_0x362d82,_0x463bb2(0xb8)),_0x364c7e[_0x463bb2(0xbd)](ea(_0x1bf89c))),this[_0x463bb2(0xb0)]({'attributes':{'class':[_0x463bb2(0xc3),_0x4d561e?'':_0x463bb2(0xbf)]}});const _0x594458=new _0x3ef6aa();_0x594458[_0x463bb2(0xc4)]({'tag':_0x463bb2(0xb5),'attributes':{'class':['ck',_0x463bb2(0xc1)]},'children':[..._0x364c7e,{'tag':_0x463bb2(0xc0),'attributes':{'class':[_0x463bb2(0xbb)]},'children':[_0x4d561e]}]}),this[_0x463bb2(0xb7)][_0x463bb2(0xbe)](_0x594458),this[_0x463bb2(0xb6)]=_0x64bca7[_0x463bb2(0xb6)];}}function ea(_0x268ff8){const _0x1fc528=_0x31f155,_0x551bd1=new _0x195a63();return _0x551bd1[_0x1fc528(0xad)]=_0x268ff8,_0x551bd1;}
23
+ const _0x31af5b=_0x1f24;(function(_0x23ed67,_0x287fa6){const _0x2bc5cd=_0x1f24,_0xb9ff7d=_0x23ed67();while(!![]){try{const _0x32ec38=parseInt(_0x2bc5cd(0x118))/0x1*(parseInt(_0x2bc5cd(0x11b))/0x2)+-parseInt(_0x2bc5cd(0x11a))/0x3+parseInt(_0x2bc5cd(0x124))/0x4+-parseInt(_0x2bc5cd(0x110))/0x5+-parseInt(_0x2bc5cd(0x123))/0x6*(parseInt(_0x2bc5cd(0x10e))/0x7)+-parseInt(_0x2bc5cd(0x115))/0x8+parseInt(_0x2bc5cd(0x113))/0x9;if(_0x32ec38===_0x287fa6)break;else _0xb9ff7d['push'](_0xb9ff7d['shift']());}catch(_0x575155){_0xb9ff7d['push'](_0xb9ff7d['shift']());}}}(_0x1f5f,0xe76ee));import{IconBulb as _0x51c97f,IconWeb as _0x4817c0}from'@ckeditor/ckeditor5-icons';import{IconView as _0x7a96ea,View as _0x1ed0ca}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x566937}from'./aichatfeeditemview.js';import{getTranslation as _0x4a87c4}from'../../../aicore/utils/common-translations.js';function _0x1f24(_0x3764dd,_0x43cb0b){const _0x1f5fc0=_0x1f5f();return _0x1f24=function(_0x1f241d,_0x4a5cf3){_0x1f241d=_0x1f241d-0x10d;let _0x205abd=_0x1f5fc0[_0x1f241d];return _0x205abd;},_0x1f24(_0x3764dd,_0x43cb0b);}export class AIChatFeedInteractionHeaderView extends _0x566937{[_0x31af5b(0x121)];constructor(_0x10bde3,_0x171042){const _0x586b46=_0x31af5b;super(_0x171042);const {isWebSearchEnabled:_0x3a4167,isReasoningEnabled:_0x59cbb6}=_0x171042[_0x586b46(0x121)],_0x26e67a=[];let _0x582489='';_0x3a4167&&_0x59cbb6?(_0x582489=_0x4a87c4(_0x10bde3,_0x586b46(0x122)),_0x26e67a[_0x586b46(0x10f)](aa(_0x4817c0)),_0x26e67a[_0x586b46(0x10f)](aa(_0x51c97f))):_0x3a4167?(_0x582489=_0x4a87c4(_0x10bde3,_0x586b46(0x116)),_0x26e67a[_0x586b46(0x10f)](aa(_0x4817c0))):_0x59cbb6&&(_0x582489=_0x4a87c4(_0x10bde3,_0x586b46(0x117)),_0x26e67a[_0x586b46(0x10f)](aa(_0x51c97f))),this[_0x586b46(0x10d)]({'attributes':{'class':[_0x586b46(0x111),_0x582489?'':_0x586b46(0x11d)]}});const _0x166ba9=new _0x1ed0ca();_0x166ba9[_0x586b46(0x11e)]({'tag':_0x586b46(0x119),'attributes':{'class':['ck',_0x586b46(0x11f)]},'children':[..._0x26e67a,{'tag':_0x586b46(0x11c),'attributes':{'class':[_0x586b46(0x114)]},'children':[_0x582489]}]}),this[_0x586b46(0x120)][_0x586b46(0x112)](_0x166ba9),this[_0x586b46(0x121)]=_0x171042[_0x586b46(0x121)];}}function aa(_0xac968d){const _0x51d2b6=_0x31af5b,_0x1f302e=new _0x7a96ea();return _0x1f302e[_0x51d2b6(0x125)]=_0xac968d,_0x1f302e;}function _0x1f5f(){const _0x4360f7=['497yygLzc','push','4408320IlsqXK','ck-ai-chat__feed__interaction-header','add','18057501WusVWF','ck-ai-chat__feed__interaction-header__capabilities__text','11340936puGwHK','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','245mhMAsS','div','3825807PkZUgu','9026DRzAan','span','ck-hidden','setTemplate','ck-ai-chat__feed__interaction-header__capabilities','children','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','32982caphcn','7202852CEWCsC','content','extendTemplate'];_0x1f5f=function(){return _0x4360f7;};return _0x1f5f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57ff23=_0x96c2;(function(_0x54112a,_0x1342a2){const _0x139b69=_0x96c2,_0x111e49=_0x54112a();while(!![]){try{const _0x1fc684=parseInt(_0x139b69(0x20a))/0x1+parseInt(_0x139b69(0x207))/0x2+-parseInt(_0x139b69(0x1fa))/0x3*(parseInt(_0x139b69(0x1f3))/0x4)+parseInt(_0x139b69(0x1fb))/0x5+parseInt(_0x139b69(0x1ef))/0x6*(parseInt(_0x139b69(0x208))/0x7)+-parseInt(_0x139b69(0x202))/0x8+-parseInt(_0x139b69(0x1f6))/0x9*(parseInt(_0x139b69(0x1f5))/0xa);if(_0x1fc684===_0x1342a2)break;else _0x111e49['push'](_0x111e49['shift']());}catch(_0x3ad07b){_0x111e49['push'](_0x111e49['shift']());}}}(_0x1e11,0x6618c));function _0x1e11(){const _0x5b7622=['ck-ai-chat__feed__item_done','markAsDone','forEach','6ikOMAJ','setTemplate','ck-ai-chat__feed__text-item','data-id','92MFdVLP','isDone','10SEmYmz','3028815MXVMrN','div','htmlStreamer','set','53790pUYDxK','1843930jbOkFk','[data-id]','options','ck-hidden','animation:\x20ck-html-streamer-fade-in\x20.5s','streamIntoElement','stream','2549944LHUKQb','querySelectorAll','cleanUpAnimations','createCollection','children','708686uWaLVu','2152927hJyFQv','element','455166iHFtun','ck-ai-chat__feed__item','content','bindTemplate','removeAttribute','isVisible'];_0x1e11=function(){return _0x5b7622;};return _0x1e11();}import{View as _0x47e7f9}from'ckeditor5/src/ui.js';function _0x96c2(_0x5b11cd,_0x38b712){const _0x1e1198=_0x1e11();return _0x96c2=function(_0x96c211,_0x2dab87){_0x96c211=_0x96c211-0x1ed;let _0x8530c5=_0x1e1198[_0x96c211];return _0x8530c5;},_0x96c2(_0x5b11cd,_0x38b712);}import{HTMLStreamer as _0x1620e4}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x47e7f9{[_0x57ff23(0x1fd)];[_0x57ff23(0x20c)]='';[_0x57ff23(0x1f8)];[_0x57ff23(0x206)];constructor(_0x407be3){const _0x1cdea8=_0x57ff23;super();const _0x51f8cd=this[_0x1cdea8(0x20d)];this[_0x1cdea8(0x1f9)](_0x1cdea8(0x1f4),!0x1),this[_0x1cdea8(0x1f9)](_0x1cdea8(0x20f),!0x0),this[_0x1cdea8(0x1f8)]=new _0x1620e4({'textNodeStyle':_0x1cdea8(0x1ff),'delay':0x14}),this[_0x1cdea8(0x1fd)]=_0x407be3,this[_0x1cdea8(0x206)]=this[_0x1cdea8(0x205)](),this[_0x1cdea8(0x1f0)]({'tag':_0x1cdea8(0x1f7),'attributes':{'class':['ck',_0x1cdea8(0x20b),_0x51f8cd['if'](_0x1cdea8(0x1f4),_0x1cdea8(0x210)),_0x51f8cd['if'](_0x1cdea8(0x20f),_0x1cdea8(0x1fe),_0x123857=>!_0x123857),_0x1cdea8(0x1f1)],'data-cke-ai-id':this[_0x1cdea8(0x1fd)]['id']},'children':this[_0x1cdea8(0x206)]});}[_0x57ff23(0x1ed)](){const _0x3f23a0=_0x57ff23;this[_0x3f23a0(0x1f8)][_0x3f23a0(0x204)]({'targetElement':this[_0x3f23a0(0x209)]}),this[_0x3f23a0(0x209)][_0x3f23a0(0x203)](_0x3f23a0(0x1fc))[_0x3f23a0(0x1ee)](_0x5df570=>{const _0x439aaf=_0x3f23a0;_0x5df570[_0x439aaf(0x20e)](_0x439aaf(0x1f2));}),this[_0x3f23a0(0x1f4)]=!0x0;}async[_0x57ff23(0x200)](_0x46ab1f,_0x3cf902,_0x260c73){const _0x3d306f=_0x57ff23;await this[_0x3d306f(0x1f8)][_0x3d306f(0x201)]({'document':_0x46ab1f,'targetElement':_0x3cf902,'abortSignal':_0x260c73});}}
23
+ function _0x16d1(_0x3638d7,_0x5a12e7){const _0x9c7d95=_0x9c7d();return _0x16d1=function(_0x16d197,_0x252c33){_0x16d197=_0x16d197-0x160;let _0x738258=_0x9c7d95[_0x16d197];return _0x738258;},_0x16d1(_0x3638d7,_0x5a12e7);}const _0xbe7fc2=_0x16d1;function _0x9c7d(){const _0x86d2ad=['cleanUpAnimations','428076nSYUxs','createCollection','262zizRmu','isDone','element','24kcEPRu','12277850tdluXE','setTemplate','removeAttribute','data-id','14247PgbLvy','ck-ai-chat__feed__item_done','markAsDone','content','816835OaLsUU','8323799GdkUPi','5129lzWmnm','querySelectorAll','30xuKGok','83258VMrctV','isVisible','[data-id]','div','ck-ai-chat__feed__item','htmlStreamer','options','156vGUiGD','bindTemplate','ck-hidden','forEach','streamIntoElement','children','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-chat__feed__text-item','184FmFcFS','stream','set'];_0x9c7d=function(){return _0x86d2ad;};return _0x9c7d();}(function(_0x356c8e,_0x3c7fe8){const _0x31f93e=_0x16d1,_0x5aa31e=_0x356c8e();while(!![]){try{const _0x50cb12=parseInt(_0x31f93e(0x17c))/0x1*(-parseInt(_0x31f93e(0x16e))/0x2)+-parseInt(_0x31f93e(0x176))/0x3*(parseInt(_0x31f93e(0x160))/0x4)+parseInt(_0x31f93e(0x17a))/0x5+parseInt(_0x31f93e(0x17e))/0x6*(parseInt(_0x31f93e(0x17f))/0x7)+-parseInt(_0x31f93e(0x168))/0x8*(-parseInt(_0x31f93e(0x16c))/0x9)+-parseInt(_0x31f93e(0x172))/0xa+-parseInt(_0x31f93e(0x17b))/0xb*(-parseInt(_0x31f93e(0x171))/0xc);if(_0x50cb12===_0x3c7fe8)break;else _0x5aa31e['push'](_0x5aa31e['shift']());}catch(_0xa6cc47){_0x5aa31e['push'](_0x5aa31e['shift']());}}}(_0x9c7d,0xb5f74));import{View as _0x42c148}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0xd78c8}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x42c148{[_0xbe7fc2(0x185)];[_0xbe7fc2(0x179)]='';[_0xbe7fc2(0x184)];[_0xbe7fc2(0x165)];constructor(_0x4d7e67){const _0x1258d6=_0xbe7fc2;super();const _0x53772b=this[_0x1258d6(0x161)];this[_0x1258d6(0x16a)](_0x1258d6(0x16f),!0x1),this[_0x1258d6(0x16a)](_0x1258d6(0x180),!0x0),this[_0x1258d6(0x184)]=new _0xd78c8({'textNodeStyle':_0x1258d6(0x166),'delay':0x14}),this[_0x1258d6(0x185)]=_0x4d7e67,this[_0x1258d6(0x165)]=this[_0x1258d6(0x16d)](),this[_0x1258d6(0x173)]({'tag':_0x1258d6(0x182),'attributes':{'class':['ck',_0x1258d6(0x183),_0x53772b['if'](_0x1258d6(0x16f),_0x1258d6(0x177)),_0x53772b['if'](_0x1258d6(0x180),_0x1258d6(0x162),_0x34f458=>!_0x34f458),_0x1258d6(0x167)],'data-cke-ai-id':this[_0x1258d6(0x185)]['id']},'children':this[_0x1258d6(0x165)]});}[_0xbe7fc2(0x178)](){const _0x4be71b=_0xbe7fc2;this[_0x4be71b(0x184)][_0x4be71b(0x16b)]({'targetElement':this[_0x4be71b(0x170)]}),this[_0x4be71b(0x170)][_0x4be71b(0x17d)](_0x4be71b(0x181))[_0x4be71b(0x163)](_0x2a8ea0=>{const _0x4bcf5c=_0x4be71b;_0x2a8ea0[_0x4bcf5c(0x174)](_0x4bcf5c(0x175));}),this[_0x4be71b(0x16f)]=!0x0;}async[_0xbe7fc2(0x164)](_0x336210,_0x1a506d,_0x249123){const _0x2e15ea=_0xbe7fc2;await this[_0x2e15ea(0x184)][_0x2e15ea(0x169)]({'document':_0x336210,'targetElement':_0x1a506d,'abortSignal':_0x249123});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32ad1f=_0x351a;function _0x951f(){const _0x2472bf=['render','3096BJXorf','486NqggBM','261980NdWeZE','options','9GletMY','setTemplate','children','isVisible','add','static','183990eWwJAh','locale','innerHTML','ck-reset_all-excluded','initialContent','replyContainer','streaming','4895JZFAXB','2440148gQVJQG','markAsDone','addMany','162hYghkF','extendTemplate','387rvKwbd','3225033AjczqK','updateContent','map','139428kWhoAd','element','streamIntoElement','div','ck-ai-chat__feed__ai-reply-container','updateSources','7045928eNmaqq','ck-ai-chat__feed__ai-reply'];_0x951f=function(){return _0x2472bf;};return _0x951f();}function _0x351a(_0x38af09,_0x558a19){const _0x951f5=_0x951f();return _0x351a=function(_0x351aa6,_0x139946){_0x351aa6=_0x351aa6-0xac;let _0x45528f=_0x951f5[_0x351aa6];return _0x45528f;},_0x351a(_0x38af09,_0x558a19);}(function(_0x659598,_0x3a9249){const _0x44abef=_0x351a,_0x2ee2d9=_0x659598();while(!![]){try{const _0x24594e=parseInt(_0x44abef(0xc4))/0x1*(parseInt(_0x44abef(0xc5))/0x2)+-parseInt(_0x44abef(0xc8))/0x3*(-parseInt(_0x44abef(0xb2))/0x4)+-parseInt(_0x44abef(0xc6))/0x5*(-parseInt(_0x44abef(0xb5))/0x6)+parseInt(_0x44abef(0xb8))/0x7+parseInt(_0x44abef(0xc1))/0x8+parseInt(_0x44abef(0xb7))/0x9*(parseInt(_0x44abef(0xce))/0xa)+-parseInt(_0x44abef(0xb1))/0xb*(parseInt(_0x44abef(0xbb))/0xc);if(_0x24594e===_0x3a9249)break;else _0x2ee2d9['push'](_0x2ee2d9['shift']());}catch(_0x236087){_0x2ee2d9['push'](_0x2ee2d9['shift']());}}}(_0x951f,0xea33d));import{AIChatFeedItemView as _0x5ea7fb}from'./aichatfeeditemview.js';import{parse as _0x1108e8,render as _0x3c533c}from'../../../aicore/utils/htmlparser.js';import{View as _0x451a25}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x1ccc19,AIWebSourceView as _0x1f1ddc}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x5ea7fb{[_0x32ad1f(0xaf)];constructor(_0x3094fb,_0x588527){const _0x4de1e6=_0x32ad1f;super(_0x588527),this[_0x4de1e6(0xcf)]=_0x3094fb,this[_0x4de1e6(0xb6)]({'attributes':{'class':[_0x4de1e6(0xc2)]}}),this[_0x4de1e6(0xaf)]=new _0x451a25(),this[_0x4de1e6(0xaf)][_0x4de1e6(0xc9)]({'tag':_0x4de1e6(0xbe),'attributes':{'class':['ck',_0x4de1e6(0xad),_0x4de1e6(0xbf)]}}),this[_0x4de1e6(0xca)][_0x4de1e6(0xcc)](this[_0x4de1e6(0xaf)]);}async[_0x32ad1f(0xc3)](){const _0x8d8526=_0x32ad1f;super[_0x8d8526(0xc3)](),this[_0x8d8526(0xc7)][_0x8d8526(0xae)]&&(await this[_0x8d8526(0xb9)]({'parsedContent':_0x1108e8(this[_0x8d8526(0xc7)][_0x8d8526(0xae)]),'renderingStrategy':_0x8d8526(0xcd)}),this[_0x8d8526(0xb3)]());}async[_0x32ad1f(0xb9)]({parsedContent:_0x5ea36d,renderingStrategy:_0x2aa4a1,abortSignal:_0x4775ea}){const _0x40f450=_0x32ad1f;_0x40f450(0xb0)===_0x2aa4a1?await this[_0x40f450(0xbd)](_0x5ea36d,this[_0x40f450(0xaf)][_0x40f450(0xbc)],_0x4775ea):this[_0x40f450(0xaf)][_0x40f450(0xbc)][_0x40f450(0xac)]=_0x3c533c(_0x5ea36d);}[_0x32ad1f(0xc0)](_0x5318e5){const _0x47770f=_0x32ad1f,_0x3d0873=new _0x1ccc19(this[_0x47770f(0xcf)]);_0x3d0873[_0x47770f(0xca)][_0x47770f(0xb4)](_0x5318e5[_0x47770f(0xba)](_0xf073a7=>new _0x1f1ddc(this[_0x47770f(0xcf)],_0xf073a7))),_0x3d0873[_0x47770f(0xcb)]=!0x0,this[_0x47770f(0xca)][_0x47770f(0xcc)](_0x3d0873);}}
23
+ const _0x359493=_0x45a4;function _0x45a4(_0x3db839,_0x538cb7){const _0x2e08b8=_0x2e08();return _0x45a4=function(_0x45a45a,_0x4a3290){_0x45a45a=_0x45a45a-0x1b7;let _0x10a8da=_0x2e08b8[_0x45a45a];return _0x10a8da;},_0x45a4(_0x3db839,_0x538cb7);}(function(_0x5ddd41,_0x1b8a57){const _0x10ab63=_0x45a4,_0x4c9a58=_0x5ddd41();while(!![]){try{const _0x451151=parseInt(_0x10ab63(0x1c0))/0x1+-parseInt(_0x10ab63(0x1cf))/0x2+parseInt(_0x10ab63(0x1d5))/0x3+-parseInt(_0x10ab63(0x1d0))/0x4*(parseInt(_0x10ab63(0x1b7))/0x5)+-parseInt(_0x10ab63(0x1c6))/0x6*(parseInt(_0x10ab63(0x1c1))/0x7)+-parseInt(_0x10ab63(0x1d8))/0x8*(parseInt(_0x10ab63(0x1c4))/0x9)+-parseInt(_0x10ab63(0x1ce))/0xa*(-parseInt(_0x10ab63(0x1be))/0xb);if(_0x451151===_0x1b8a57)break;else _0x4c9a58['push'](_0x4c9a58['shift']());}catch(_0x802a23){_0x4c9a58['push'](_0x4c9a58['shift']());}}}(_0x2e08,0x288a3));import{AIChatFeedItemView as _0x40c0ca}from'./aichatfeeditemview.js';function _0x2e08(){const _0x195687=['streamIntoElement','setTemplate','div','11YWwYSp','ck-ai-chat__feed__ai-reply-container','37112YzlcOE','11746PVUKid','updateSources','options','9nrGldW','initialContent','84EDtrLS','isVisible','children','element','map','extendTemplate','markAsDone','innerHTML','3280090haZoQH','371670eDXgwj','4KwAQCW','static','replyContainer','ck-reset_all-excluded','addMany','855966YJXSnu','updateContent','locale','1793808UhCpXh','add','254195VRlLtb','ck-ai-chat__feed__ai-reply','render','streaming'];_0x2e08=function(){return _0x195687;};return _0x2e08();}import{parse as _0x3b64ab,render as _0x5799c0}from'../../../aicore/utils/htmlparser.js';import{View as _0xd0d1e0}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x1a5ad5,AIWebSourceView as _0x204f15}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x40c0ca{[_0x359493(0x1d2)];constructor(_0x59bbbe,_0x531736){const _0x21ac47=_0x359493;super(_0x531736),this[_0x21ac47(0x1d7)]=_0x59bbbe,this[_0x21ac47(0x1cb)]({'attributes':{'class':[_0x21ac47(0x1b8)]}}),this[_0x21ac47(0x1d2)]=new _0xd0d1e0(),this[_0x21ac47(0x1d2)][_0x21ac47(0x1bc)]({'tag':_0x21ac47(0x1bd),'attributes':{'class':['ck',_0x21ac47(0x1d3),_0x21ac47(0x1bf)]}}),this[_0x21ac47(0x1c8)][_0x21ac47(0x1d9)](this[_0x21ac47(0x1d2)]);}async[_0x359493(0x1b9)](){const _0xf20b88=_0x359493;super[_0xf20b88(0x1b9)](),this[_0xf20b88(0x1c3)][_0xf20b88(0x1c5)]&&(await this[_0xf20b88(0x1d6)]({'parsedContent':_0x3b64ab(this[_0xf20b88(0x1c3)][_0xf20b88(0x1c5)]),'renderingStrategy':_0xf20b88(0x1d1)}),this[_0xf20b88(0x1cc)]());}async[_0x359493(0x1d6)]({parsedContent:_0x857935,renderingStrategy:_0x5e0c15,abortSignal:_0x3fc030}){const _0xb71beb=_0x359493;_0xb71beb(0x1ba)===_0x5e0c15?await this[_0xb71beb(0x1bb)](_0x857935,this[_0xb71beb(0x1d2)][_0xb71beb(0x1c9)],_0x3fc030):this[_0xb71beb(0x1d2)][_0xb71beb(0x1c9)][_0xb71beb(0x1cd)]=_0x5799c0(_0x857935);}[_0x359493(0x1c2)](_0x2fe1b4){const _0x2f969e=_0x359493,_0x3e4205=new _0x1a5ad5(this[_0x2f969e(0x1d7)]);_0x3e4205[_0x2f969e(0x1c8)][_0x2f969e(0x1d4)](_0x2fe1b4[_0x2f969e(0x1ca)](_0x2108e0=>new _0x204f15(this[_0x2f969e(0x1d7)],_0x2108e0))),_0x3e4205[_0x2f969e(0x1c7)]=!0x0,this[_0x2f969e(0x1c8)][_0x2f969e(0x1d9)](_0x3e4205);}}
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type Locale } from 'ckeditor5/src/utils.js';
9
9
  import { View } from 'ckeditor5/src/ui.js';
10
- export declare const ACTIONS: readonly ["applySuggestion", "insertSuggestion", "showChangeInText"];
10
+ export declare const AI_REPLY_ACTIONS: readonly ["applySuggestion", "insertSuggestion", "showChangeInText"];
11
11
  /**
12
12
  * A view for the actions of an AI suggestion item in the AI chat feed.
13
13
  *
@@ -29,7 +29,7 @@ export declare class AIChatFeedSuggestionItemActionsView extends View {
29
29
  /**
30
30
  * @inheritDoc
31
31
  */
32
- constructor(locale: Locale, dropdownConfig?: Array<AISuggestionActionName>);
32
+ constructor(locale: Locale, availableActions?: Array<AISuggestionActionName>);
33
33
  /**
34
34
  * Updates the labels of the actions based on the number of parts in the suggestion.
35
35
  */
@@ -77,4 +77,4 @@ export type AIMouseLeaveSuggestionEvent = {
77
77
  partIndex: number;
78
78
  }];
79
79
  };
80
- export type AISuggestionActionName = typeof ACTIONS[number];
80
+ export type AISuggestionActionName = typeof AI_REPLY_ACTIONS[number];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1d7b(){const _0x46ba14=['attachToDom','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','slice','remove','listenTo','_createActionsDropdown','add','isTrackChangesOn','_dropdownOriginalConfig','insertSuggestion','class','insertSuggestionModel','balloonPanelView','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','4729938WbrbtH','focus','balloonPanelClass','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','974602QoXRyT','left','createCollection','button','258384zHcpsK','360672hQgCsY','locale','3982769qXhbLM','keys','actionsButton','execute','ck-ai-button-primary','applySuggestionModel','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','_setUpList','div','3214045zkOSuH','label','source','esc','width','ck-ai-chat__feed__ai-suggestion__actions__balloon','map','showChangeInText','isEnabled','updateLabels','bindTemplate','content','detachFromDom','_firstRender','actionName','bodyCollection','element','delegate','ck-ai-chat__feed__ai-suggestion__actions\x20','_createActionsDropdownOrButton','ck-ai-chat__feed__ai-suggestion__actions--no-animation','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','listView','applySuggestion','length','isVisible','548602eNTRhD','hide','destroy','8zfPIjT','set','54dTftYp','listItemModels','ltr','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','children','setTemplate','open','_setUpKeystrokes','ck-hidden','_partsCount','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','_createActionsButton','uiLanguageDirection','unbind','tooltip','_updateDropdownActions','ck-ai-chat__feed__ai-suggestion__actions','items','has','change:isTrackChangesOn','bind','bottom','_dropdownCurrentConfig','showChangeInTextModel','arrowView','filter','pin','keystrokeHandler','fire','arrowless'];_0x1d7b=function(){return _0x46ba14;};return _0x1d7b();}const _0x349e65=_0x33d9;function _0x33d9(_0x3311ae,_0x500e3a){const _0x1d7bb4=_0x1d7b();return _0x33d9=function(_0x33d9fe,_0x3d7c2a){_0x33d9fe=_0x33d9fe-0x1c1;let _0x78b4ab=_0x1d7bb4[_0x33d9fe];return _0x78b4ab;},_0x33d9(_0x3311ae,_0x500e3a);}(function(_0xf7c3e6,_0x7f6853){const _0x175886=_0x33d9,_0xc095a5=_0xf7c3e6();while(!![]){try{const _0x132bc7=-parseInt(_0x175886(0x1c8))/0x1+parseInt(_0x175886(0x1fd))/0x2+parseInt(_0x175886(0x1f9))/0x3+parseInt(_0x175886(0x1cb))/0x4*(-parseInt(_0x175886(0x20d))/0x5)+-parseInt(_0x175886(0x202))/0x6+parseInt(_0x175886(0x204))/0x7+-parseInt(_0x175886(0x201))/0x8*(-parseInt(_0x175886(0x1cd))/0x9);if(_0x132bc7===_0x7f6853)break;else _0xc095a5['push'](_0xc095a5['shift']());}catch(_0x4b36ac){_0xc095a5['push'](_0xc095a5['shift']());}}}(_0x1d7b,0xe3a12));import{KeystrokeHandler as _0x29299b}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x5dbe10,BodyCollection as _0x47d9aa,ButtonView as _0x2f7801,clickOutsideHandler as _0x5f0666,ListItemButtonView as _0x5f4c3f,ListItemView as _0x12b265,ListView as _0x5a0d0c,SplitButtonView as _0x11ca8b,UIModel as _0x2f43b5,View as _0x1e4716}from'ckeditor5/src/ui.js';import{IconCheck as _0x3731dd,IconAddComment as _0x1a521a,IconDocumentWithLoupe as _0x3d39e8}from'ckeditor5/src/icons.js';import{getTranslation as _0x17f081}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x349e65(0x1c5),_0x349e65(0x1f4),_0x349e65(0x214)];export class AIChatFeedSuggestionItemActionsView extends _0x1e4716{[_0x349e65(0x206)];[_0x349e65(0x1d1)];[_0x349e65(0x209)];[_0x349e65(0x1e4)];[_0x349e65(0x1f6)];[_0x349e65(0x1d6)]=0x1;[_0x349e65(0x1f3)];[_0x349e65(0x1e3)];[_0x349e65(0x21a)]=!0x0;constructor(_0x4b69c9,_0x50509b){const _0x1cb177=_0x349e65;super(_0x4b69c9),this[_0x1cb177(0x1f3)]=_0x50509b||[...ACTIONS],this[_0x1cb177(0x1e3)]=[...this[_0x1cb177(0x1f3)]];const _0x3ecb4f=this[_0x1cb177(0x217)];this[_0x1cb177(0x1cc)](_0x1cb177(0x215),!0x0),this[_0x1cb177(0x1cc)](_0x1cb177(0x1c7),!0x0),this[_0x1cb177(0x209)]=new _0x2f43b5({'label':Hn(_0x1cb177(0x1c5),_0x4b69c9,this[_0x1cb177(0x1d6)]),'icon':_0x3731dd,'withText':!0x0,'type':_0x1cb177(0x200),'actionName':_0x1cb177(0x1c5)}),this[_0x1cb177(0x1e4)]=new _0x2f43b5({'label':Hn(_0x1cb177(0x214),_0x4b69c9,this[_0x1cb177(0x1d6)]),'icon':_0x3d39e8,'withText':!0x0,'type':_0x1cb177(0x200),'actionName':_0x1cb177(0x214)}),this[_0x1cb177(0x1f6)]=new _0x2f43b5({'label':Hn(_0x1cb177(0x1f4),_0x4b69c9,this[_0x1cb177(0x1d6)]),'icon':_0x1a521a,'withText':!0x0,'type':_0x1cb177(0x200),'actionName':_0x1cb177(0x1f4)}),this[_0x1cb177(0x206)]=this[_0x1cb177(0x1c1)](_0x4b69c9),this[_0x1cb177(0x1d1)]=this[_0x1cb177(0x1ff)]([this[_0x1cb177(0x206)]]),this[_0x1cb177(0x1d2)]({'tag':_0x1cb177(0x20c),'attributes':{'class':['ck',_0x1cb177(0x1dd),_0x3ecb4f['if'](_0x1cb177(0x1c7),_0x1cb177(0x1d5),_0x9e814b=>!_0x9e814b)]},'children':this[_0x1cb177(0x1d1)]}),this[_0x1cb177(0x1ef)](this,_0x1cb177(0x1e0),()=>{const _0x1a2a5c=_0x1cb177;this[_0x1a2a5c(0x1e3)]=this[_0x1a2a5c(0x1f2)]?this[_0x1a2a5c(0x1f3)][_0x1a2a5c(0x1e6)](_0x22493a=>_0x1a2a5c(0x1c5)!==_0x22493a):[...this[_0x1a2a5c(0x1f3)]],this[_0x1a2a5c(0x1dc)](_0x4b69c9);});}[_0x349e65(0x1dc)](_0x3fd195){const _0x1e33f0=_0x349e65;this[_0x1e33f0(0x1d1)][_0x1e33f0(0x1df)](this[_0x1e33f0(0x206)])&&(this[_0x1e33f0(0x1d1)][_0x1e33f0(0x1ee)](this[_0x1e33f0(0x206)]),this[_0x1e33f0(0x206)][_0x1e33f0(0x1ca)]()),0x0!=this[_0x1e33f0(0x1e3)][_0x1e33f0(0x1c6)]&&(this[_0x1e33f0(0x206)]=this[_0x1e33f0(0x1c1)](_0x3fd195),this[_0x1e33f0(0x1d1)][_0x1e33f0(0x1f1)](this[_0x1e33f0(0x206)]));}[_0x349e65(0x1c1)](_0x22435f){const _0x2bcbc2=_0x349e65,_0xe5c809=0x1===this[_0x2bcbc2(0x1e3)][_0x2bcbc2(0x1c6)]?this[_0x2bcbc2(0x1d8)](_0x22435f):this[_0x2bcbc2(0x1f0)](_0x22435f),_0x4a62ea=this[_0x2bcbc2(0x21a)]?'':_0x2bcbc2(0x1c2);_0xe5c809[_0x2bcbc2(0x1cc)]({'label':Hn(this[_0x2bcbc2(0x1e3)][0x0],_0x22435f,this[_0x2bcbc2(0x1d6)]),'tooltip':Un(this[_0x2bcbc2(0x1e3)][0x0],_0x22435f,this[_0x2bcbc2(0x1d6)]),'withText':!0x0,'class':_0x2bcbc2(0x21f)+_0x4a62ea});for(const _0x251fbb of this[_0x2bcbc2(0x1e3)])_0xe5c809['on'](_0x251fbb,()=>{const _0x223473=_0x2bcbc2;this[_0x223473(0x1e9)](_0x251fbb);});return this[_0x2bcbc2(0x21a)]=!0x1,_0xe5c809;}[_0x349e65(0x1d8)](_0x1a7634){const _0x1b4d32=_0x349e65,_0x359d3d=new _0x2f7801(_0x1a7634);return _0x359d3d[_0x1b4d32(0x1cc)]({'class':_0x1b4d32(0x208),'withText':!0x0}),_0x359d3d['on'](_0x1b4d32(0x207),()=>{const _0x5ce96e=_0x1b4d32;_0x359d3d[_0x5ce96e(0x1e9)](this[_0x5ce96e(0x1e3)][0x0]);}),_0x359d3d;}[_0x349e65(0x1f0)](_0x860f86){const _0x3b11eb=_0x349e65,_0x305d46=new Gn(_0x860f86,{'listItemModels':this[_0x3b11eb(0x1e3)][_0x3b11eb(0x213)](_0x459c1f=>{const _0x524a74=_0x3b11eb;switch(_0x459c1f){case _0x524a74(0x1c5):return this[_0x524a74(0x209)];case _0x524a74(0x214):return this[_0x524a74(0x1e4)];case _0x524a74(0x1f4):return this[_0x524a74(0x1f6)];}})});return _0x305d46[_0x3b11eb(0x1cc)]({'label':Hn(this[_0x3b11eb(0x1e3)][0x0],_0x860f86,this[_0x3b11eb(0x1d6)]),'tooltip':Un(this[_0x3b11eb(0x1e3)][0x0],_0x860f86,this[_0x3b11eb(0x1d6)]),'withText':!0x0,'class':_0x3b11eb(0x1dd),'balloonPanelClass':_0x3b11eb(0x212)}),_0x305d46[_0x3b11eb(0x1e1)](_0x3b11eb(0x215))['to'](this),_0x305d46;}[_0x349e65(0x216)](_0x1124c4){const _0x95c9c9=_0x349e65,_0x357250=this[_0x95c9c9(0x203)];this[_0x95c9c9(0x1d6)]=_0x1124c4||this[_0x95c9c9(0x1d6)],this[_0x95c9c9(0x206)][_0x95c9c9(0x1cc)]({'label':Hn(this[_0x95c9c9(0x1e3)][0x0],_0x357250,this[_0x95c9c9(0x1d6)]),'tooltip':Un(this[_0x95c9c9(0x1e3)][0x0],_0x357250,this[_0x95c9c9(0x1d6)])}),this[_0x95c9c9(0x209)][_0x95c9c9(0x20e)]=Hn(_0x95c9c9(0x1c5),_0x357250,this[_0x95c9c9(0x1d6)]),this[_0x95c9c9(0x1e4)][_0x95c9c9(0x20e)]=Hn(_0x95c9c9(0x214),_0x357250,this[_0x95c9c9(0x1d6)]),this[_0x95c9c9(0x1f6)][_0x95c9c9(0x20e)]=Hn(_0x95c9c9(0x1f4),_0x357250,this[_0x95c9c9(0x1d6)]);}}class Gn extends _0x11ca8b{[_0x349e65(0x21c)];[_0x349e65(0x1f7)];[_0x349e65(0x1c4)];[_0x349e65(0x1e8)];constructor(_0x249078,_0x5019f0){const _0x45a432=_0x349e65;super(_0x249078),this[_0x45a432(0x1f7)]=new _0x5dbe10(this[_0x45a432(0x203)]),this[_0x45a432(0x21c)]=new _0x47d9aa(this[_0x45a432(0x203)]),this[_0x45a432(0x21c)][_0x45a432(0x1eb)](),this[_0x45a432(0x1cc)](_0x45a432(0x1fb),''),this[_0x45a432(0x1f7)][_0x45a432(0x1e1)](_0x45a432(0x1f5))['to'](this,_0x45a432(0x1fb)),this[_0x45a432(0x1c4)]=this[_0x45a432(0x20b)](_0x5019f0[_0x45a432(0x1ce)][_0x45a432(0x1ed)](0x1)),this[_0x45a432(0x21c)][_0x45a432(0x1f1)](this[_0x45a432(0x1f7)]),this[_0x45a432(0x1f7)][_0x45a432(0x218)][_0x45a432(0x1f1)](this[_0x45a432(0x1c4)]),this[_0x45a432(0x1e5)][_0x45a432(0x1da)](_0x45a432(0x1db)),this[_0x45a432(0x1e5)][_0x45a432(0x1cc)](_0x45a432(0x1db),_0x17f081(this[_0x45a432(0x203)],_0x45a432(0x1c3))),this[_0x45a432(0x1d4)](),this['on'](_0x45a432(0x207),()=>{const _0x343bf3=_0x45a432,_0x8340a4=_0x5019f0[_0x343bf3(0x1ce)][0x0][_0x343bf3(0x21b)];this[_0x343bf3(0x1e9)](_0x8340a4),this[_0x343bf3(0x1f7)][_0x343bf3(0x1c9)](),this[_0x343bf3(0x1e5)][_0x343bf3(0x1fa)]();}),this['on'](_0x45a432(0x1d3),()=>{const _0x42df7a=_0x45a432;this[_0x42df7a(0x1f7)][_0x42df7a(0x1c7)]?(this[_0x42df7a(0x1f7)][_0x42df7a(0x1c9)](),this[_0x42df7a(0x1e5)][_0x42df7a(0x1fa)]()):(this[_0x42df7a(0x1f7)][_0x42df7a(0x1e7)]({'target':this[_0x42df7a(0x21d)],'positions':[_0x42df7a(0x1cf)===this[_0x42df7a(0x203)][_0x42df7a(0x1d9)]?yn:Pn]}),this[_0x42df7a(0x1c4)][_0x42df7a(0x1fa)]());}),_0x5f0666({'emitter':this[_0x45a432(0x1f7)],'callback':()=>{const _0x1b7684=_0x45a432;this[_0x1b7684(0x1f7)][_0x1b7684(0x1c9)]();},'activator':()=>this[_0x45a432(0x1f7)][_0x45a432(0x1c7)],'contextElements':()=>[this[_0x45a432(0x21d)],this[_0x45a432(0x1f7)][_0x45a432(0x21d)]]});}[_0x349e65(0x20b)](_0x15a493){const _0x598e11=_0x349e65,_0xa854ae=this[_0x598e11(0x203)],_0x4d132b=new _0x5a0d0c(_0xa854ae);for(const _0xdbb8c0 of _0x15a493){const _0x5ea32b=new _0x12b265(_0xa854ae),_0xa23064=new _0x5f4c3f(_0xa854ae);_0xa23064[_0x598e11(0x1e1)](...Object[_0x598e11(0x205)](_0xdbb8c0))['to'](_0xdbb8c0),_0xa23064[_0x598e11(0x21e)](_0x598e11(0x207))['to'](_0x4d132b),_0x5ea32b[_0x598e11(0x1d1)][_0x598e11(0x1f1)](_0xa23064),_0x4d132b[_0x598e11(0x1de)][_0x598e11(0x1f1)](_0x5ea32b);}return _0x4d132b[_0x598e11(0x1de)][_0x598e11(0x21e)](_0x598e11(0x207))['to'](this),_0x4d132b['on'](_0x598e11(0x207),_0x25a1f9=>{const _0x454943=_0x598e11,_0x3acb36=_0x25a1f9[_0x454943(0x20f)];this[_0x454943(0x1e9)](_0x3acb36[_0x454943(0x21b)]),this[_0x454943(0x1f7)][_0x454943(0x1c9)](),this[_0x454943(0x1e5)][_0x454943(0x1fa)]();}),_0x4d132b;}[_0x349e65(0x1d4)](){const _0x444956=_0x349e65;this[_0x444956(0x1e8)]=new _0x29299b(),this[_0x444956(0x1e8)][_0x444956(0x1ef)](this[_0x444956(0x1f7)][_0x444956(0x21d)]),this[_0x444956(0x1e8)][_0x444956(0x1cc)](_0x444956(0x210),(_0x351a61,_0x394bda)=>{const _0x51c7ab=_0x444956;this[_0x51c7ab(0x1f7)][_0x51c7ab(0x1c9)](),this[_0x51c7ab(0x1e5)][_0x51c7ab(0x1fa)](),_0x394bda();});}[_0x349e65(0x1ca)](){const _0x427689=_0x349e65;super[_0x427689(0x1ca)](),this[_0x427689(0x1e8)][_0x427689(0x1ca)](),this[_0x427689(0x1f7)][_0x427689(0x1ca)](),this[_0x427689(0x21c)][_0x427689(0x219)]();}}function yn(_0x140e00){const _0x2b55b0=_0x349e65;return{'top':_0x140e00[_0x2b55b0(0x1e2)],'left':_0x140e00[_0x2b55b0(0x1fe)],'name':_0x2b55b0(0x1ea),'config':{'withArrow':!0x1}};}function Pn(_0x58bd3b,_0x4202ce){const _0x2079dc=_0x349e65;return{'top':_0x58bd3b[_0x2079dc(0x1e2)],'left':_0x58bd3b[_0x2079dc(0x1fe)]-(_0x4202ce[_0x2079dc(0x211)]-_0x58bd3b[_0x2079dc(0x211)]),'name':_0x2079dc(0x1ea),'config':{'withArrow':!0x1}};}function Hn(_0x2b6d37,_0x694d04,_0x53eba6){const _0x350f31=_0x349e65;switch(_0x2b6d37){case _0x350f31(0x1c5):return _0x17f081(_0x694d04,_0x350f31(0x1d7),_0x53eba6);case _0x350f31(0x214):return _0x17f081(_0x694d04,_0x350f31(0x1d0),_0x53eba6);case _0x350f31(0x1f4):return _0x17f081(_0x694d04,_0x350f31(0x1fc),_0x53eba6);}}function Un(_0x3055c0,_0x509082,_0x38251f){const _0x492af5=_0x349e65;switch(_0x3055c0){case _0x492af5(0x1c5):return _0x17f081(_0x509082,_0x492af5(0x1ec),_0x38251f);case _0x492af5(0x214):return _0x17f081(_0x509082,_0x492af5(0x20a),_0x38251f);case _0x492af5(0x1f4):return _0x17f081(_0x509082,_0x492af5(0x1f8),_0x38251f);}}
23
+ const _0x417d10=_0x326e;(function(_0xb5ca31,_0x636f4b){const _0x17ba94=_0x326e,_0x3a0318=_0xb5ca31();while(!![]){try{const _0x2ceca3=-parseInt(_0x17ba94(0x221))/0x1+parseInt(_0x17ba94(0x1d6))/0x2+parseInt(_0x17ba94(0x21a))/0x3+parseInt(_0x17ba94(0x1d8))/0x4+parseInt(_0x17ba94(0x1ce))/0x5*(-parseInt(_0x17ba94(0x20b))/0x6)+parseInt(_0x17ba94(0x1e6))/0x7+parseInt(_0x17ba94(0x1cc))/0x8*(-parseInt(_0x17ba94(0x1d5))/0x9);if(_0x2ceca3===_0x636f4b)break;else _0x3a0318['push'](_0x3a0318['shift']());}catch(_0x4dda6a){_0x3a0318['push'](_0x3a0318['shift']());}}}(_0x2fb4,0x544c8));import{KeystrokeHandler as _0x38b63e}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x22bd38,BodyCollection as _0x1c91d9,ButtonView as _0x4e1203,clickOutsideHandler as _0x573c8b,ListItemButtonView as _0x114659,ListItemView as _0x19302a,ListView as _0x10b117,SplitButtonView as _0x49bee1,UIModel as _0x1243ee,View as _0x34a2d2}from'ckeditor5/src/ui.js';import{IconCheck as _0x2648f9,IconAddComment as _0x18dff3,IconDocumentWithLoupe as _0x41959e}from'ckeditor5/src/icons.js';import{getTranslation as _0x1481d2}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x417d10(0x1db),_0x417d10(0x1c9),_0x417d10(0x1f3)];export class AIChatFeedSuggestionItemActionsView extends _0x34a2d2{[_0x417d10(0x1dc)];[_0x417d10(0x1d0)];[_0x417d10(0x20f)];[_0x417d10(0x210)];[_0x417d10(0x212)];[_0x417d10(0x225)]=0x1;[_0x417d10(0x202)];[_0x417d10(0x220)];[_0x417d10(0x1c8)]=!0x0;constructor(_0x125406,_0x5afc79){const _0x1c7a34=_0x417d10;super(_0x125406),this[_0x1c7a34(0x202)]=_0x5afc79||[...AI_REPLY_ACTIONS],this[_0x1c7a34(0x220)]=[...this[_0x1c7a34(0x202)]];const _0x40a33e=this[_0x1c7a34(0x204)];this[_0x1c7a34(0x1ed)](_0x1c7a34(0x1df),!0x0),this[_0x1c7a34(0x1ed)](_0x1c7a34(0x1cd),!0x0),this[_0x1c7a34(0x1ed)](_0x1c7a34(0x201),!0x1),this[_0x1c7a34(0x20f)]=new _0x1243ee({'label':Hn(_0x1c7a34(0x1db),_0x125406,this[_0x1c7a34(0x225)]),'icon':_0x2648f9,'withText':!0x0,'type':_0x1c7a34(0x21b),'actionName':_0x1c7a34(0x1db)}),this[_0x1c7a34(0x210)]=new _0x1243ee({'label':Hn(_0x1c7a34(0x1f3),_0x125406,this[_0x1c7a34(0x225)]),'icon':_0x41959e,'withText':!0x0,'type':_0x1c7a34(0x21b),'actionName':_0x1c7a34(0x1f3)}),this[_0x1c7a34(0x212)]=new _0x1243ee({'label':Hn(_0x1c7a34(0x1c9),_0x125406,this[_0x1c7a34(0x225)]),'icon':_0x18dff3,'withText':!0x0,'type':_0x1c7a34(0x21b),'actionName':_0x1c7a34(0x1c9)}),this[_0x1c7a34(0x1dc)]=this[_0x1c7a34(0x1ca)](_0x125406),this[_0x1c7a34(0x1d0)]=this[_0x1c7a34(0x1e8)](),this[_0x1c7a34(0x1dc)]&&this[_0x1c7a34(0x1d0)][_0x1c7a34(0x1eb)](this[_0x1c7a34(0x1dc)]),this[_0x1c7a34(0x1cb)]({'tag':_0x1c7a34(0x21c),'attributes':{'class':['ck',_0x1c7a34(0x1d3),_0x40a33e['if'](_0x1c7a34(0x1cd),_0x1c7a34(0x200),_0xa47817=>!_0xa47817)]},'children':this[_0x1c7a34(0x1d0)]}),this['on'](_0x1c7a34(0x1f2),()=>{const _0x435b10=_0x1c7a34;this[_0x435b10(0x220)]=this[_0x435b10(0x201)]?this[_0x435b10(0x202)][_0x435b10(0x1f5)](_0x2f984c=>_0x435b10(0x1db)!==_0x2f984c):[...this[_0x435b10(0x202)]],this[_0x435b10(0x206)](_0x125406);});}[_0x417d10(0x206)](_0x364539){const _0x41f7ef=_0x417d10;this[_0x41f7ef(0x1dc)]&&this[_0x41f7ef(0x1d0)][_0x41f7ef(0x209)](this[_0x41f7ef(0x1dc)])&&(this[_0x41f7ef(0x1d0)][_0x41f7ef(0x1de)](this[_0x41f7ef(0x1dc)]),this[_0x41f7ef(0x1dc)][_0x41f7ef(0x1f1)]()),this[_0x41f7ef(0x1dc)]=this[_0x41f7ef(0x1ca)](_0x364539),this[_0x41f7ef(0x1dc)]&&this[_0x41f7ef(0x1d0)][_0x41f7ef(0x1eb)](this[_0x41f7ef(0x1dc)]);}[_0x417d10(0x1ca)](_0x4b6bc4){const _0x35dd63=_0x417d10;if(0x0==this[_0x35dd63(0x220)][_0x35dd63(0x1e5)])return null;const _0x327437=0x1===this[_0x35dd63(0x220)][_0x35dd63(0x1e5)]?this[_0x35dd63(0x1f8)](_0x4b6bc4):this[_0x35dd63(0x20a)](_0x4b6bc4),_0x42e977=this[_0x35dd63(0x1c8)]?'':_0x35dd63(0x1fa);_0x327437[_0x35dd63(0x1ed)]({'label':Hn(this[_0x35dd63(0x220)][0x0],_0x4b6bc4,this[_0x35dd63(0x225)]),'tooltip':Ln(this[_0x35dd63(0x220)][0x0],_0x4b6bc4,this[_0x35dd63(0x225)]),'withText':!0x0,'class':_0x35dd63(0x207)+_0x42e977});for(const _0x528608 of this[_0x35dd63(0x220)])_0x327437['on'](_0x528608,()=>{const _0x462a50=_0x35dd63;this[_0x462a50(0x211)](_0x528608);});return this[_0x35dd63(0x1c8)]=!0x1,_0x327437;}[_0x417d10(0x1f8)](_0x30e35b){const _0x1483b5=_0x417d10,_0x33e88f=new _0x4e1203(_0x30e35b);return _0x33e88f[_0x1483b5(0x1ed)]({'class':_0x1483b5(0x1fe),'withText':!0x0}),_0x33e88f['on'](_0x1483b5(0x1f7),()=>{const _0x82ba2e=_0x1483b5;_0x33e88f[_0x82ba2e(0x211)](this[_0x82ba2e(0x220)][0x0]);}),_0x33e88f;}[_0x417d10(0x20a)](_0x227ffa){const _0x3744e8=_0x417d10,_0xa4bed1=new Gn(_0x227ffa,{'listItemModels':this[_0x3744e8(0x220)][_0x3744e8(0x1f6)](_0x3255b2=>{const _0x241a5b=_0x3744e8;switch(_0x3255b2){case _0x241a5b(0x1db):return this[_0x241a5b(0x20f)];case _0x241a5b(0x1f3):return this[_0x241a5b(0x210)];case _0x241a5b(0x1c9):return this[_0x241a5b(0x212)];}})});return _0xa4bed1[_0x3744e8(0x1ed)]({'label':Hn(this[_0x3744e8(0x220)][0x0],_0x227ffa,this[_0x3744e8(0x225)]),'tooltip':Ln(this[_0x3744e8(0x220)][0x0],_0x227ffa,this[_0x3744e8(0x225)]),'withText':!0x0,'class':_0x3744e8(0x1d3),'balloonPanelClass':_0x3744e8(0x1d9)}),_0xa4bed1[_0x3744e8(0x1d1)](_0x3744e8(0x1df))['to'](this),_0xa4bed1;}[_0x417d10(0x21e)](_0xaa6e3c){const _0x3a8ebd=_0x417d10,_0x2e3c8e=this[_0x3a8ebd(0x1ea)];this[_0x3a8ebd(0x225)]=_0xaa6e3c||this[_0x3a8ebd(0x225)],this[_0x3a8ebd(0x1dc)][_0x3a8ebd(0x1ed)]({'label':Hn(this[_0x3a8ebd(0x220)][0x0],_0x2e3c8e,this[_0x3a8ebd(0x225)]),'tooltip':Ln(this[_0x3a8ebd(0x220)][0x0],_0x2e3c8e,this[_0x3a8ebd(0x225)])}),this[_0x3a8ebd(0x20f)][_0x3a8ebd(0x1e4)]=Hn(_0x3a8ebd(0x1db),_0x2e3c8e,this[_0x3a8ebd(0x225)]),this[_0x3a8ebd(0x210)][_0x3a8ebd(0x1e4)]=Hn(_0x3a8ebd(0x1f3),_0x2e3c8e,this[_0x3a8ebd(0x225)]),this[_0x3a8ebd(0x212)][_0x3a8ebd(0x1e4)]=Hn(_0x3a8ebd(0x1c9),_0x2e3c8e,this[_0x3a8ebd(0x225)]);}}function _0x326e(_0x595826,_0x3e03ad){const _0x2fb4a6=_0x2fb4();return _0x326e=function(_0x326e1d,_0x81078){_0x326e1d=_0x326e1d-0x1c8;let _0xafa38=_0x2fb4a6[_0x326e1d];return _0xafa38;},_0x326e(_0x595826,_0x3e03ad);}function _0x2fb4(){const _0x959460=['pin','tooltip','source','label','length','4193238ONFhjr','arrowView','createCollection','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','locale','add','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','set','slice','listItemModels','bodyCollection','destroy','change:isTrackChangesOn','showChangeInText','hide','filter','map','execute','_createActionsButton','esc','ck-ai-chat__feed__ai-suggestion__actions--no-animation','arrowless','_setUpList','balloonPanelClass','ck-ai-button-primary','ltr','ck-hidden','isTrackChangesOn','_dropdownOriginalConfig','attachToDom','bindTemplate','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','_updateDropdownActions','ck-ai-chat__feed__ai-suggestion__actions\x20','uiLanguageDirection','has','_createActionsDropdown','66yXqKYU','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','content','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','applySuggestionModel','showChangeInTextModel','fire','insertSuggestionModel','actionName','element','width','unbind','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','open','_setUpKeystrokes','231024XaTyel','button','div','left','updateLabels','listView','_dropdownCurrentConfig','186610SyKgdc','listenTo','class','balloonPanelView','_partsCount','keystrokeHandler','_firstRender','insertSuggestion','_createActionsDropdownOrButton','setTemplate','578048NPJynq','isVisible','263230KOtQyE','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','children','bind','delegate','ck-ai-chat__feed__ai-suggestion__actions','focus','72WlHtnE','1292098IdrsjF','keys','1467844fwJHPC','ck-ai-chat__feed__ai-suggestion__actions__balloon','bottom','applySuggestion','actionsButton','detachFromDom','remove','isEnabled','items'];_0x2fb4=function(){return _0x959460;};return _0x2fb4();}class Gn extends _0x49bee1{[_0x417d10(0x1f0)];[_0x417d10(0x224)];[_0x417d10(0x21f)];[_0x417d10(0x226)];constructor(_0x21638e,_0x32f9d1){const _0x2b1320=_0x417d10;super(_0x21638e),this[_0x2b1320(0x224)]=new _0x22bd38(this[_0x2b1320(0x1ea)]),this[_0x2b1320(0x1f0)]=new _0x1c91d9(this[_0x2b1320(0x1ea)]),this[_0x2b1320(0x1f0)][_0x2b1320(0x203)](),this[_0x2b1320(0x1ed)](_0x2b1320(0x1fd),''),this[_0x2b1320(0x224)][_0x2b1320(0x1d1)](_0x2b1320(0x223))['to'](this,_0x2b1320(0x1fd)),this[_0x2b1320(0x21f)]=this[_0x2b1320(0x1fc)](_0x32f9d1[_0x2b1320(0x1ef)][_0x2b1320(0x1ee)](0x1)),this[_0x2b1320(0x1f0)][_0x2b1320(0x1eb)](this[_0x2b1320(0x224)]),this[_0x2b1320(0x224)][_0x2b1320(0x20d)][_0x2b1320(0x1eb)](this[_0x2b1320(0x21f)]),this[_0x2b1320(0x1e7)][_0x2b1320(0x216)](_0x2b1320(0x1e2)),this[_0x2b1320(0x1e7)][_0x2b1320(0x1ed)](_0x2b1320(0x1e2),_0x1481d2(this[_0x2b1320(0x1ea)],_0x2b1320(0x1cf))),this[_0x2b1320(0x219)](),this['on'](_0x2b1320(0x1f7),()=>{const _0x9d945a=_0x2b1320,_0x40ef00=_0x32f9d1[_0x9d945a(0x1ef)][0x0][_0x9d945a(0x213)];this[_0x9d945a(0x211)](_0x40ef00),this[_0x9d945a(0x224)][_0x9d945a(0x1f4)](),this[_0x9d945a(0x1e7)][_0x9d945a(0x1d4)]();}),this['on'](_0x2b1320(0x218),()=>{const _0x3b47c3=_0x2b1320;this[_0x3b47c3(0x224)][_0x3b47c3(0x1cd)]?(this[_0x3b47c3(0x224)][_0x3b47c3(0x1f4)](),this[_0x3b47c3(0x1e7)][_0x3b47c3(0x1d4)]()):(this[_0x3b47c3(0x224)][_0x3b47c3(0x1e1)]({'target':this[_0x3b47c3(0x214)],'positions':[_0x3b47c3(0x1ff)===this[_0x3b47c3(0x1ea)][_0x3b47c3(0x208)]?yn:Pn]}),this[_0x3b47c3(0x21f)][_0x3b47c3(0x1d4)]());}),_0x573c8b({'emitter':this[_0x2b1320(0x224)],'callback':()=>{const _0x4da2b0=_0x2b1320;this[_0x4da2b0(0x224)][_0x4da2b0(0x1f4)]();},'activator':()=>this[_0x2b1320(0x224)][_0x2b1320(0x1cd)],'contextElements':()=>[this[_0x2b1320(0x214)],this[_0x2b1320(0x224)][_0x2b1320(0x214)]]});}[_0x417d10(0x1fc)](_0x19844c){const _0x4cabdc=_0x417d10,_0x5a782f=this[_0x4cabdc(0x1ea)],_0x34e5dc=new _0x10b117(_0x5a782f);for(const _0x3d7d89 of _0x19844c){const _0x46d141=new _0x19302a(_0x5a782f),_0x4dabc0=new _0x114659(_0x5a782f);_0x4dabc0[_0x4cabdc(0x1d1)](...Object[_0x4cabdc(0x1d7)](_0x3d7d89))['to'](_0x3d7d89),_0x4dabc0[_0x4cabdc(0x1d2)](_0x4cabdc(0x1f7))['to'](_0x34e5dc),_0x46d141[_0x4cabdc(0x1d0)][_0x4cabdc(0x1eb)](_0x4dabc0),_0x34e5dc[_0x4cabdc(0x1e0)][_0x4cabdc(0x1eb)](_0x46d141);}return _0x34e5dc[_0x4cabdc(0x1e0)][_0x4cabdc(0x1d2)](_0x4cabdc(0x1f7))['to'](this),_0x34e5dc['on'](_0x4cabdc(0x1f7),_0x20e1e5=>{const _0x42ca51=_0x4cabdc,_0x4ddd04=_0x20e1e5[_0x42ca51(0x1e3)];this[_0x42ca51(0x211)](_0x4ddd04[_0x42ca51(0x213)]),this[_0x42ca51(0x224)][_0x42ca51(0x1f4)](),this[_0x42ca51(0x1e7)][_0x42ca51(0x1d4)]();}),_0x34e5dc;}[_0x417d10(0x219)](){const _0x5b65e1=_0x417d10;this[_0x5b65e1(0x226)]=new _0x38b63e(),this[_0x5b65e1(0x226)][_0x5b65e1(0x222)](this[_0x5b65e1(0x224)][_0x5b65e1(0x214)]),this[_0x5b65e1(0x226)][_0x5b65e1(0x1ed)](_0x5b65e1(0x1f9),(_0x5c3f2a,_0x4dd56b)=>{const _0xe4eced=_0x5b65e1;this[_0xe4eced(0x224)][_0xe4eced(0x1f4)](),this[_0xe4eced(0x1e7)][_0xe4eced(0x1d4)](),_0x4dd56b();});}[_0x417d10(0x1f1)](){const _0x3d7144=_0x417d10;super[_0x3d7144(0x1f1)](),this[_0x3d7144(0x226)][_0x3d7144(0x1f1)](),this[_0x3d7144(0x224)][_0x3d7144(0x1f1)](),this[_0x3d7144(0x1f0)][_0x3d7144(0x1dd)]();}}function yn(_0x41623a){const _0x53a82a=_0x417d10;return{'top':_0x41623a[_0x53a82a(0x1da)],'left':_0x41623a[_0x53a82a(0x21d)],'name':_0x53a82a(0x1fb),'config':{'withArrow':!0x1}};}function Pn(_0x5bb167,_0x2332af){const _0x56bbcd=_0x417d10;return{'top':_0x5bb167[_0x56bbcd(0x1da)],'left':_0x5bb167[_0x56bbcd(0x21d)]-(_0x2332af[_0x56bbcd(0x215)]-_0x5bb167[_0x56bbcd(0x215)]),'name':_0x56bbcd(0x1fb),'config':{'withArrow':!0x1}};}function Hn(_0x2f11dc,_0x33cd0e,_0x1ee8e0){const _0x1b28f2=_0x417d10;switch(_0x2f11dc){case _0x1b28f2(0x1db):return _0x1481d2(_0x33cd0e,_0x1b28f2(0x1e9),_0x1ee8e0);case _0x1b28f2(0x1f3):return _0x1481d2(_0x33cd0e,_0x1b28f2(0x20e),_0x1ee8e0);case _0x1b28f2(0x1c9):return _0x1481d2(_0x33cd0e,_0x1b28f2(0x217),_0x1ee8e0);}}function Ln(_0xb28f52,_0x5a86d3,_0x52b33c){const _0x39811e=_0x417d10;switch(_0xb28f52){case _0x39811e(0x1db):return _0x1481d2(_0x5a86d3,_0x39811e(0x1ec),_0x52b33c);case _0x39811e(0x1f3):return _0x1481d2(_0x5a86d3,_0x39811e(0x20c),_0x52b33c);case _0x39811e(0x1c9):return _0x1481d2(_0x5a86d3,_0x39811e(0x205),_0x52b33c);}}
@@ -9,7 +9,7 @@ import { type Locale } from 'ckeditor5/src/utils.js';
9
9
  import { AIChatFeedItemView, type AIChatItemViewOptions } from './aichatfeeditemview.js';
10
10
  import { type AISuggestionContentPartDefinition } from '../../../aicore/utils/getsuggestionpartsfromreply.js';
11
11
  import { type AISuggestionActionName } from './aichatfeedsuggestionitemactionsview.js';
12
- import { type AIReplySource } from '../../../aicore/model/aireply.js';
12
+ import { type AIReplyChangeGroupState, type AIReplySource } from '../../../aicore/model/aireply.js';
13
13
  import { type AISuggestionBodyViewContentPartView, type AIContentRenderingStrategy } from '../../../aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js';
14
14
  /**
15
15
  * A view for an AI suggestion item in the AI chat feed.
@@ -39,7 +39,7 @@ export declare class AIChatFeedSuggestionItemView extends AIChatFeedItemView {
39
39
  renderingStrategy: AIContentRenderingStrategy;
40
40
  abortSignal: AbortSignal;
41
41
  }): Promise<void>;
42
- updatePartState(index: number, state: string): void;
42
+ updatePartState(index: number, state: AIReplyChangeGroupState): void;
43
43
  updateSources(sources: Array<AIReplySource>): void;
44
44
  getPartView(index: number): AISuggestionBodyViewContentPartView | null;
45
45
  /**
@@ -79,5 +79,5 @@ export interface AIChatFeedSuggestionItemViewOptions extends AIChatItemViewOptio
79
79
  /**
80
80
  * The configuration of the advanced reply dropdown in the AI chat feed.
81
81
  */
82
- dropdownConfig?: Array<AISuggestionActionName>;
82
+ availableActions: Array<AISuggestionActionName>;
83
83
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1710fc=_0x5d07;(function(_0xf1e5a8,_0x3bc7d6){var _0x236598=_0x5d07,_0x5d81b2=_0xf1e5a8();while(!![]){try{var _0x41b7b1=-parseInt(_0x236598(0x135))/0x1*(parseInt(_0x236598(0x127))/0x2)+-parseInt(_0x236598(0x129))/0x3+-parseInt(_0x236598(0x13c))/0x4*(-parseInt(_0x236598(0x120))/0x5)+parseInt(_0x236598(0x139))/0x6*(parseInt(_0x236598(0x13e))/0x7)+parseInt(_0x236598(0x123))/0x8+-parseInt(_0x236598(0x149))/0x9*(parseInt(_0x236598(0x12e))/0xa)+-parseInt(_0x236598(0x12a))/0xb*(-parseInt(_0x236598(0x13a))/0xc);if(_0x41b7b1===_0x3bc7d6)break;else _0x5d81b2['push'](_0x5d81b2['shift']());}catch(_0x4dd9b8){_0x5d81b2['push'](_0x5d81b2['shift']());}}}(_0x5c0f,0xb9bef));import{AIChatFeedItemView as _0xf88401}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x2d6b0a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x297c2f}from'./aichatfeedsuggestionitemactionsview.js';function _0x5c0f(){var _0x36c836=['mouseLeaveSuggestion','applySuggestion','getPartView','23974tSYGIc','isVisible','children','bind','930DqXiWy','808188NDnrWI','updateSources','149144mosmVN','fire','57631BPaznj','options','partsCount','markAsDone','areActionsDisabled','hasNonEmptyParts','mouseOverSuggestion','actionsView','insertSuggestion','updateContent','like','27eaROQh','toggleSuggestionDisplayMode','hasPendingParts','isTrackChangesOn','ck-ai-chat__feed__ai-suggestion','55nRCsTh','showDiff','isEnabled','2371072AUmgLV','containerView','rejectSuggestion','dislike','80TPoEZf','showChangeInText','3271041jMpOcq','374fmrlsJ','bodyView','dropdownConfig','extendTemplate','4874630NkSWcl','updatePartState','addMany','updateLabels'];_0x5c0f=function(){return _0x36c836;};return _0x5c0f();}function _0x5d07(_0x4905c4,_0x513553){var _0x5c0f22=_0x5c0f();return _0x5d07=function(_0x5d0714,_0x4b83ad){_0x5d0714=_0x5d0714-0x120;var _0x2a3f80=_0x5c0f22[_0x5d0714];return _0x2a3f80;},_0x5d07(_0x4905c4,_0x513553);}export class AIChatFeedSuggestionItemView extends _0xf88401{[_0x1710fc(0x124)];[_0x1710fc(0x145)];constructor(_0x4182e2,_0x3f2777){var _0x5283fa=_0x1710fc;super(_0x3f2777),this[_0x5283fa(0x124)]=new _0x2d6b0a(_0x4182e2,{'showDiff':_0x3f2777[_0x5283fa(0x121)],'areActionsDisabled':_0x3f2777[_0x5283fa(0x142)]}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x14a),(_0x87b1db,_0x313d53)=>{var _0x269e17=_0x5283fa;this[_0x269e17(0x13d)](_0x269e17(0x14a),{'replyId':this[_0x269e17(0x13f)]['id'],'showDiff':_0x313d53[_0x269e17(0x121)]});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x148),()=>{var _0x43125c=_0x5283fa;this[_0x43125c(0x13d)](_0x43125c(0x148),{'replyId':this[_0x43125c(0x13f)]['id']});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x126),()=>{var _0x908914=_0x5283fa;this[_0x908914(0x13d)](_0x908914(0x126),{'replyId':this[_0x908914(0x13f)]['id']});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x128),(_0x4ed9a2,{index:_0x4c83e6})=>{var _0x48276d=_0x5283fa;this[_0x48276d(0x13d)](_0x48276d(0x128),{'replyId':this[_0x48276d(0x13f)]['id'],'partIndex':_0x4c83e6});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x146),(_0x4b878e,{index:_0xb0116})=>{var _0x24517a=_0x5283fa;this[_0x24517a(0x13d)](_0x24517a(0x146),{'replyId':this[_0x24517a(0x13f)]['id'],'partIndex':_0xb0116});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x125),(_0x1f9310,{index:_0x3b8748})=>{var _0x4ad131=_0x5283fa;this[_0x4ad131(0x13d)](_0x4ad131(0x125),{'replyId':this[_0x4ad131(0x13f)]['id'],'partIndex':_0x3b8748});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x144),(_0x39d708,{index:_0xee336})=>{var _0xbecbc9=_0x5283fa;this[_0xbecbc9(0x13d)](_0xbecbc9(0x144),{'replyId':this[_0xbecbc9(0x13f)]['id'],'partIndex':_0xee336});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x132),(_0x54a806,{index:_0x4ad659})=>{var _0x5ee648=_0x5283fa;this[_0x5ee648(0x13d)](_0x5ee648(0x132),{'replyId':this[_0x5ee648(0x13f)]['id'],'partIndex':_0x4ad659});}),this[_0x5283fa(0x145)]=new _0x297c2f(_0x4182e2,this[_0x5283fa(0x13f)][_0x5283fa(0x12c)]),this[_0x5283fa(0x145)][_0x5283fa(0x138)](_0x5283fa(0x14c))['to'](this,_0x5283fa(0x14c)),this[_0x5283fa(0x145)]['on'](_0x5283fa(0x128),()=>{var _0x7c42b1=_0x5283fa;this[_0x7c42b1(0x13d)](_0x7c42b1(0x128),{'replyId':this[_0x7c42b1(0x13f)]['id']});}),this[_0x5283fa(0x145)]['on'](_0x5283fa(0x146),()=>{var _0x44c495=_0x5283fa;this[_0x44c495(0x13d)](_0x44c495(0x146),{'replyId':this[_0x44c495(0x13f)]['id']});}),this[_0x5283fa(0x145)]['on'](_0x5283fa(0x133),()=>{var _0x1f8a1e=_0x5283fa;this[_0x1f8a1e(0x13d)](_0x1f8a1e(0x133),{'replyId':this[_0x1f8a1e(0x13f)]['id']});}),_0x3f2777[_0x5283fa(0x142)]?this[_0x5283fa(0x145)][_0x5283fa(0x122)]=!0x1:this[_0x5283fa(0x145)][_0x5283fa(0x138)](_0x5283fa(0x122))['to'](this[_0x5283fa(0x124)][_0x5283fa(0x12b)],_0x5283fa(0x14b)),this[_0x5283fa(0x137)][_0x5283fa(0x130)]([this[_0x5283fa(0x124)],this[_0x5283fa(0x145)]]),this[_0x5283fa(0x12d)]({'attributes':{'class':[_0x5283fa(0x14d)]}});}async[_0x1710fc(0x147)](_0xb16184){var _0x5db053=_0x1710fc;await this[_0x5db053(0x124)][_0x5db053(0x147)](_0xb16184),this[_0x5db053(0x145)][_0x5db053(0x131)](this[_0x5db053(0x124)][_0x5db053(0x12b)][_0x5db053(0x140)]);}[_0x1710fc(0x12f)](_0x2c935d,_0x5f19cf){var _0x579f85=_0x1710fc;this[_0x579f85(0x124)][_0x579f85(0x12b)][_0x579f85(0x12f)](_0x2c935d,_0x5f19cf);}[_0x1710fc(0x13b)](_0x4768a2){var _0x2d1a23=_0x1710fc;this[_0x2d1a23(0x124)][_0x2d1a23(0x13b)](_0x4768a2);}[_0x1710fc(0x134)](_0x5e4501){var _0x5b12f0=_0x1710fc;return this[_0x5b12f0(0x124)][_0x5b12f0(0x12b)][_0x5b12f0(0x134)](_0x5e4501);}[_0x1710fc(0x141)](){var _0x4f67e0=_0x1710fc;super[_0x4f67e0(0x141)](),this[_0x4f67e0(0x124)][_0x4f67e0(0x141)](),this[_0x4f67e0(0x145)][_0x4f67e0(0x136)]=this[_0x4f67e0(0x124)][_0x4f67e0(0x12b)][_0x4f67e0(0x143)];}}
23
+ var _0x4f6e95=_0x1c99;function _0x1c99(_0x1a9818,_0x5194d7){var _0x13b5d4=_0x13b5();return _0x1c99=function(_0x1c992e,_0x53444a){_0x1c992e=_0x1c992e-0x181;var _0x25500c=_0x13b5d4[_0x1c992e];return _0x25500c;},_0x1c99(_0x1a9818,_0x5194d7);}(function(_0x23f502,_0x13aeac){var _0x47080d=_0x1c99,_0x1480cf=_0x23f502();while(!![]){try{var _0x3ebd50=-parseInt(_0x47080d(0x18d))/0x1+-parseInt(_0x47080d(0x1a7))/0x2*(parseInt(_0x47080d(0x186))/0x3)+-parseInt(_0x47080d(0x19d))/0x4*(-parseInt(_0x47080d(0x1ad))/0x5)+parseInt(_0x47080d(0x19a))/0x6*(parseInt(_0x47080d(0x188))/0x7)+parseInt(_0x47080d(0x1a1))/0x8+parseInt(_0x47080d(0x1aa))/0x9*(-parseInt(_0x47080d(0x185))/0xa)+-parseInt(_0x47080d(0x19e))/0xb;if(_0x3ebd50===_0x13aeac)break;else _0x1480cf['push'](_0x1480cf['shift']());}catch(_0x3bab92){_0x1480cf['push'](_0x1480cf['shift']());}}}(_0x13b5,0x78480));import{AIChatFeedItemView as _0xf4501b}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0xc270a0}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x13b5(){var _0x132ecb=['mouseLeaveSuggestion','7XUUgeD','toggleSuggestionDisplayMode','mouseOverSuggestion','applySuggestion','markAsDone','253593VdrTXM','children','rejectSuggestion','showChangeInText','showDiff','partsCount','bodyView','options','set','updateLabels','fire','hasNonEmptyParts','updateContent','1619742ibdGNg','availableActions','updatePartState','1780hgwHSv','3662021GOeVyF','areActionsDisabled','ck-ai-chat__feed__ai-suggestion','6057224ihqssu','dislike','addMany','isEnabled','actionsView','containerView','2HfNiAz','bind','insertSuggestion','18ZyytPm','getPartView','isVisible','4205GXzMlz','hasPendingParts','updateSources','isTrackChangesOn','extendTemplate','like','241690LyXCru','821523bcDdKc'];_0x13b5=function(){return _0x132ecb;};return _0x13b5();}import{AIChatFeedSuggestionItemActionsView as _0x1c58a6}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0xf4501b{[_0x4f6e95(0x1a6)];[_0x4f6e95(0x1a5)];constructor(_0x56181a,_0x3f5a99){var _0x1ca9d7=_0x4f6e95;super(_0x3f5a99),this[_0x1ca9d7(0x195)](_0x1ca9d7(0x182),!0x1),this[_0x1ca9d7(0x1a6)]=new _0xc270a0(_0x56181a,{'showDiff':_0x3f5a99[_0x1ca9d7(0x191)],'areActionsDisabled':_0x3f5a99[_0x1ca9d7(0x19f)],'availableActions':_0x3f5a99[_0x1ca9d7(0x19b)]}),this[_0x1ca9d7(0x1a6)]['on'](_0x1ca9d7(0x189),(_0x5c1a5e,_0x1a6955)=>{var _0x1683c8=_0x1ca9d7;this[_0x1683c8(0x197)](_0x1683c8(0x189),{'replyId':this[_0x1683c8(0x194)]['id'],'showDiff':_0x1a6955[_0x1683c8(0x191)]});}),this[_0x1ca9d7(0x1a6)]['on'](_0x1ca9d7(0x184),()=>{var _0x3cd7bf=_0x1ca9d7;this[_0x3cd7bf(0x197)](_0x3cd7bf(0x184),{'replyId':this[_0x3cd7bf(0x194)]['id']});}),this[_0x1ca9d7(0x1a6)]['on'](_0x1ca9d7(0x1a2),()=>{var _0x2f65dc=_0x1ca9d7;this[_0x2f65dc(0x197)](_0x2f65dc(0x1a2),{'replyId':this[_0x2f65dc(0x194)]['id']});}),this[_0x1ca9d7(0x1a6)]['on'](_0x1ca9d7(0x190),(_0x1036e7,{index:_0x59d9e4})=>{var _0x3dcb5d=_0x1ca9d7;this[_0x3dcb5d(0x197)](_0x3dcb5d(0x190),{'replyId':this[_0x3dcb5d(0x194)]['id'],'partIndex':_0x59d9e4});}),this[_0x1ca9d7(0x1a6)]['on'](_0x1ca9d7(0x1a9),(_0x3e94fd,{index:_0x6e3fd4})=>{var _0x2989dd=_0x1ca9d7;this[_0x2989dd(0x197)](_0x2989dd(0x1a9),{'replyId':this[_0x2989dd(0x194)]['id'],'partIndex':_0x6e3fd4});}),this[_0x1ca9d7(0x1a6)]['on'](_0x1ca9d7(0x18f),(_0x36a4a0,{index:_0x1f919a})=>{var _0x5c606a=_0x1ca9d7;this[_0x5c606a(0x197)](_0x5c606a(0x18f),{'replyId':this[_0x5c606a(0x194)]['id'],'partIndex':_0x1f919a});}),this[_0x1ca9d7(0x1a6)]['on'](_0x1ca9d7(0x18a),(_0x3f0170,{index:_0x5913fc})=>{var _0x4992bc=_0x1ca9d7;this[_0x4992bc(0x197)](_0x4992bc(0x18a),{'replyId':this[_0x4992bc(0x194)]['id'],'partIndex':_0x5913fc});}),this[_0x1ca9d7(0x1a6)]['on'](_0x1ca9d7(0x187),(_0x747018,{index:_0x51111a})=>{var _0x519539=_0x1ca9d7;this[_0x519539(0x197)](_0x519539(0x187),{'replyId':this[_0x519539(0x194)]['id'],'partIndex':_0x51111a});}),this[_0x1ca9d7(0x1a5)]=new _0x1c58a6(_0x56181a,this[_0x1ca9d7(0x194)][_0x1ca9d7(0x19b)]),this[_0x1ca9d7(0x1a5)][_0x1ca9d7(0x1a8)](_0x1ca9d7(0x182))['to'](this,_0x1ca9d7(0x182)),this[_0x1ca9d7(0x1a5)]['on'](_0x1ca9d7(0x190),()=>{var _0x4bd11e=_0x1ca9d7;this[_0x4bd11e(0x197)](_0x4bd11e(0x190),{'replyId':this[_0x4bd11e(0x194)]['id']});}),this[_0x1ca9d7(0x1a5)]['on'](_0x1ca9d7(0x1a9),()=>{var _0x51b1bb=_0x1ca9d7;this[_0x51b1bb(0x197)](_0x51b1bb(0x1a9),{'replyId':this[_0x51b1bb(0x194)]['id']});}),this[_0x1ca9d7(0x1a5)]['on'](_0x1ca9d7(0x18b),()=>{var _0x302328=_0x1ca9d7;this[_0x302328(0x197)](_0x302328(0x18b),{'replyId':this[_0x302328(0x194)]['id']});}),_0x3f5a99[_0x1ca9d7(0x19f)]?this[_0x1ca9d7(0x1a5)][_0x1ca9d7(0x1a4)]=!0x1:this[_0x1ca9d7(0x1a5)][_0x1ca9d7(0x1a8)](_0x1ca9d7(0x1a4))['to'](this[_0x1ca9d7(0x1a6)][_0x1ca9d7(0x193)],_0x1ca9d7(0x1ae)),this[_0x1ca9d7(0x18e)][_0x1ca9d7(0x1a3)]([this[_0x1ca9d7(0x1a6)],this[_0x1ca9d7(0x1a5)]]),this[_0x1ca9d7(0x183)]({'attributes':{'class':[_0x1ca9d7(0x1a0)]}});}async[_0x4f6e95(0x199)](_0x3c965f){var _0x5e9218=_0x4f6e95;await this[_0x5e9218(0x1a6)][_0x5e9218(0x199)](_0x3c965f),this[_0x5e9218(0x1a5)][_0x5e9218(0x196)](this[_0x5e9218(0x1a6)][_0x5e9218(0x193)][_0x5e9218(0x192)]);}[_0x4f6e95(0x19c)](_0x3d62cc,_0xb115b1){var _0x473cc6=_0x4f6e95;this[_0x473cc6(0x1a6)][_0x473cc6(0x193)][_0x473cc6(0x19c)](_0x3d62cc,_0xb115b1);}[_0x4f6e95(0x181)](_0x3e42cc){var _0x45b1c8=_0x4f6e95;this[_0x45b1c8(0x1a6)][_0x45b1c8(0x181)](_0x3e42cc);}[_0x4f6e95(0x1ab)](_0x327241){var _0x464780=_0x4f6e95;return this[_0x464780(0x1a6)][_0x464780(0x193)][_0x464780(0x1ab)](_0x327241);}[_0x4f6e95(0x18c)](){var _0x23543c=_0x4f6e95;super[_0x23543c(0x18c)](),this[_0x23543c(0x1a6)][_0x23543c(0x18c)](),this[_0x23543c(0x1a5)][_0x23543c(0x1ac)]=this[_0x23543c(0x1a6)][_0x23543c(0x193)][_0x23543c(0x198)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1c71b5=_0x5be1;(function(_0x54c254,_0x4393f2){var _0x759d3b=_0x5be1,_0x3a8225=_0x54c254();while(!![]){try{var _0x148957=-parseInt(_0x759d3b(0x1b1))/0x1+parseInt(_0x759d3b(0x193))/0x2+parseInt(_0x759d3b(0x195))/0x3+-parseInt(_0x759d3b(0x1a2))/0x4*(parseInt(_0x759d3b(0x199))/0x5)+-parseInt(_0x759d3b(0x198))/0x6*(parseInt(_0x759d3b(0x1a4))/0x7)+parseInt(_0x759d3b(0x19e))/0x8+parseInt(_0x759d3b(0x1a7))/0x9;if(_0x148957===_0x4393f2)break;else _0x3a8225['push'](_0x3a8225['shift']());}catch(_0x3b1e24){_0x3a8225['push'](_0x3a8225['shift']());}}}(_0x5448,0xef883));import{AIChatFeedItemView as _0x1da28e}from'./aichatfeeditemview.js';function _0x5be1(_0x1b7227,_0xa6a805){var _0x5448db=_0x5448();return _0x5be1=function(_0x5be1f2,_0x378b08){_0x5be1f2=_0x5be1f2-0x192;var _0x2c598e=_0x5448db[_0x5be1f2];return _0x2c598e;},_0x5be1(_0x1b7227,_0xa6a805);}import{AIChatFeedContextChipsView as _0x2d83eb}from'./aichatfeedcontextchipsview.js';import{View as _0xfef51}from'ckeditor5/src/ui.js';function _0x5448(){var _0x5d432c=['markAsDone','div','3821308OfJTtk','children','17206SDZvlK','ck-ai-chat__feed__message-content','_bodyCollection','2789235TXbQPX','ck-ai-chat__feed__context-chips','setTemplate','_locale','_contextChipsView','contextItems','render','_createMessageContentView','ck-ai-chat__feed__user-message','initialContent','1144608rYwWSt','options','extendTemplate','1224202sbisRe','add','1728480SZrXnT','hidden','_createContextChipsView','246uDjsta','5LUHFrW','innerHTML','length','_messageContentView','filter','13469280pIjMED','element'];_0x5448=function(){return _0x5d432c;};return _0x5448();}export class AIChatFeedUserMessageItemView extends _0x1da28e{[_0x1c71b5(0x1ab)]=null;[_0x1c71b5(0x1aa)];[_0x1c71b5(0x1a6)];[_0x1c71b5(0x19c)];constructor(_0x417264,_0x48b42f,_0x5c869f){var _0x28ce01=_0x1c71b5;super(_0x48b42f),this[_0x28ce01(0x1aa)]=_0x417264,this[_0x28ce01(0x1a6)]=_0x5c869f,this[_0x28ce01(0x197)](),this[_0x28ce01(0x1ae)](),this[_0x28ce01(0x192)]({'attributes':{'class':[_0x28ce01(0x1af)]}});}[_0x1c71b5(0x197)](){var _0x19a12c=_0x1c71b5;this[_0x19a12c(0x1b2)][_0x19a12c(0x1ac)]&&this[_0x19a12c(0x1b2)][_0x19a12c(0x1ac)][_0x19a12c(0x19b)]>0x0&&(this[_0x19a12c(0x1ab)]=new _0x2d83eb(this[_0x19a12c(0x1aa)],this[_0x19a12c(0x1b2)][_0x19a12c(0x1ac)][_0x19a12c(0x19d)](_0x3cc392=>!_0x3cc392[_0x19a12c(0x196)]),this[_0x19a12c(0x1a6)]),this[_0x19a12c(0x1ab)][_0x19a12c(0x192)]({'attributes':{'class':_0x19a12c(0x1a8)}}),this[_0x19a12c(0x1a3)][_0x19a12c(0x194)](this[_0x19a12c(0x1ab)]));}[_0x1c71b5(0x1ae)](){var _0x383a37=_0x1c71b5;this[_0x383a37(0x19c)]=new _0xfef51(this[_0x383a37(0x1aa)]),this[_0x383a37(0x19c)][_0x383a37(0x1a9)]({'tag':_0x383a37(0x1a1),'attributes':{'class':_0x383a37(0x1a5)}}),this[_0x383a37(0x1a3)][_0x383a37(0x194)](this[_0x383a37(0x19c)]);}[_0x1c71b5(0x1ad)](){var _0x316f68=_0x1c71b5;super[_0x316f68(0x1ad)](),this[_0x316f68(0x19c)][_0x316f68(0x19f)][_0x316f68(0x19a)]=this[_0x316f68(0x1b2)][_0x316f68(0x1b0)],this[_0x316f68(0x1a0)]();}}
23
+ var _0x422f37=_0x1add;(function(_0x20a76a,_0x41ccab){var _0x43db46=_0x1add,_0x14cfe6=_0x20a76a();while(!![]){try{var _0x37e493=parseInt(_0x43db46(0xd0))/0x1*(parseInt(_0x43db46(0xde))/0x2)+parseInt(_0x43db46(0xdc))/0x3+-parseInt(_0x43db46(0xda))/0x4+parseInt(_0x43db46(0xc7))/0x5+-parseInt(_0x43db46(0xd2))/0x6*(parseInt(_0x43db46(0xe7))/0x7)+parseInt(_0x43db46(0xd9))/0x8*(-parseInt(_0x43db46(0xd5))/0x9)+-parseInt(_0x43db46(0xe4))/0xa;if(_0x37e493===_0x41ccab)break;else _0x14cfe6['push'](_0x14cfe6['shift']());}catch(_0x3949bf){_0x14cfe6['push'](_0x14cfe6['shift']());}}}(_0x9103,0xbfe17));function _0x1add(_0x15f6ea,_0x3abba1){var _0x91037e=_0x9103();return _0x1add=function(_0x1add87,_0x4ffc24){_0x1add87=_0x1add87-0xc7;var _0x1e3754=_0x91037e[_0x1add87];return _0x1e3754;},_0x1add(_0x15f6ea,_0x3abba1);}import{AIChatFeedItemView as _0x515cb7}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x27ee81}from'./aichatfeedcontextchipsview.js';import{View as _0x142413}from'ckeditor5/src/ui.js';function _0x9103(){var _0x4c99e0=['contextItems','6354225QBZCZh','_createMessageContentView','ck-ai-chat__feed__message-content','extendTemplate','8zUHhap','1744824QOMQHE','filter','4553010tZAPYB','length','4HQQaZs','ck-ai-chat__feed__user-message','options','hidden','initialContent','div','7873480EXgrLY','_messageContentView','add','21IpiBXl','innerHTML','2720520TJmHfq','ck-ai-chat__feed__context-chips','_locale','_bodyCollection','setTemplate','markAsDone','_contextChipsView','children','render','391023MAlaHv','element','256596kLBkXx','_createContextChipsView'];_0x9103=function(){return _0x4c99e0;};return _0x9103();}export class AIChatFeedUserMessageItemView extends _0x515cb7{[_0x422f37(0xcd)]=null;[_0x422f37(0xc9)];[_0x422f37(0xca)];[_0x422f37(0xe5)];constructor(_0x1c0606,_0x5cc593,_0x387e59){var _0x494b23=_0x422f37;super(_0x5cc593),this[_0x494b23(0xc9)]=_0x1c0606,this[_0x494b23(0xca)]=_0x387e59,this[_0x494b23(0xd3)](),this[_0x494b23(0xd6)](),this[_0x494b23(0xd8)]({'attributes':{'class':[_0x494b23(0xdf)]}});}[_0x422f37(0xd3)](){var _0x266825=_0x422f37;this[_0x266825(0xe0)][_0x266825(0xd4)]&&this[_0x266825(0xe0)][_0x266825(0xd4)][_0x266825(0xdd)]>0x0&&(this[_0x266825(0xcd)]=new _0x27ee81(this[_0x266825(0xc9)],this[_0x266825(0xe0)][_0x266825(0xd4)][_0x266825(0xdb)](_0xb822e7=>!_0xb822e7[_0x266825(0xe1)]),this[_0x266825(0xca)]),this[_0x266825(0xcd)][_0x266825(0xd8)]({'attributes':{'class':_0x266825(0xc8)}}),this[_0x266825(0xce)][_0x266825(0xe6)](this[_0x266825(0xcd)]));}[_0x422f37(0xd6)](){var _0x2e79ca=_0x422f37;this[_0x2e79ca(0xe5)]=new _0x142413(this[_0x2e79ca(0xc9)]),this[_0x2e79ca(0xe5)][_0x2e79ca(0xcb)]({'tag':_0x2e79ca(0xe3),'attributes':{'class':_0x2e79ca(0xd7)}}),this[_0x2e79ca(0xce)][_0x2e79ca(0xe6)](this[_0x2e79ca(0xe5)]);}[_0x422f37(0xcf)](){var _0x1e05db=_0x422f37;super[_0x1e05db(0xcf)](),this[_0x1e05db(0xe5)][_0x1e05db(0xd1)][_0x1e05db(0xe8)]=this[_0x1e05db(0xe0)][_0x1e05db(0xe2)],this[_0x1e05db(0xcc)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2e1f(_0x527b45,_0x5ef3aa){const _0x3cc4fe=_0x3cc4();return _0x2e1f=function(_0x2e1f36,_0x2c500e){_0x2e1f36=_0x2e1f36-0x173;let _0x44996a=_0x3cc4fe[_0x2e1f36];return _0x44996a;},_0x2e1f(_0x527b45,_0x5ef3aa);}const _0x5c8146=_0x2e1f;(function(_0x52201a,_0x1d337a){const _0x1888d6=_0x2e1f,_0x4488e6=_0x52201a();while(!![]){try{const _0x2d955e=parseInt(_0x1888d6(0x17b))/0x1+-parseInt(_0x1888d6(0x180))/0x2*(parseInt(_0x1888d6(0x174))/0x3)+parseInt(_0x1888d6(0x185))/0x4*(parseInt(_0x1888d6(0x183))/0x5)+parseInt(_0x1888d6(0x184))/0x6*(-parseInt(_0x1888d6(0x187))/0x7)+parseInt(_0x1888d6(0x181))/0x8+parseInt(_0x1888d6(0x189))/0x9+parseInt(_0x1888d6(0x17d))/0xa;if(_0x2d955e===_0x1d337a)break;else _0x4488e6['push'](_0x4488e6['shift']());}catch(_0x4ff8e7){_0x4488e6['push'](_0x4488e6['shift']());}}}(_0x3cc4,0x62b71));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x149fae}from'../../aicore/utils/eventnames.js';function _0x3cc4(){const _0x4a4b7c=['toggleWebSearch','402022tKuGlv','1843576vHjtkC','removeContextItem','20JNCIMC','4270866aWqWtS','254940TLRRXC','resizeTabs','7iUyFNB','startConversation','5916618vXCnog','toggleReasoning','6LCLvrS','abortPromptStream','addFileToContext','sendUserMessage','addUrlToContext','addResourceToContext','selectModel','157243AtZfGO','loadSourceResources','2181380IajtFI','addDocumentToContext'];_0x3cc4=function(){return _0x4a4b7c;};return _0x3cc4();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x149fae,_0x5c8146(0x188),_0x5c8146(0x186),_0x5c8146(0x177),_0x5c8146(0x175),_0x5c8146(0x17e),_0x5c8146(0x176),_0x5c8146(0x178),_0x5c8146(0x179),_0x5c8146(0x182),_0x5c8146(0x17c),_0x5c8146(0x17f),_0x5c8146(0x173),_0x5c8146(0x17a)];
23
+ const _0x39df52=_0x1717;function _0x1717(_0x29fb60,_0x279b5f){const _0xe0b027=_0xe0b0();return _0x1717=function(_0x1717e0,_0x191273){_0x1717e0=_0x1717e0-0x15b;let _0xbf0cc3=_0xe0b027[_0x1717e0];return _0xbf0cc3;},_0x1717(_0x29fb60,_0x279b5f);}(function(_0x1bb37c,_0x241c89){const _0x5238cf=_0x1717,_0x2a55a1=_0x1bb37c();while(!![]){try{const _0x5e37fc=parseInt(_0x5238cf(0x15b))/0x1+-parseInt(_0x5238cf(0x16c))/0x2+parseInt(_0x5238cf(0x15c))/0x3+-parseInt(_0x5238cf(0x167))/0x4+parseInt(_0x5238cf(0x163))/0x5+parseInt(_0x5238cf(0x15d))/0x6+-parseInt(_0x5238cf(0x15f))/0x7;if(_0x5e37fc===_0x241c89)break;else _0x2a55a1['push'](_0x2a55a1['shift']());}catch(_0x2fd5de){_0x2a55a1['push'](_0x2a55a1['shift']());}}}(_0xe0b0,0xd5450));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2df59f}from'../../aicore/utils/eventnames.js';function _0xe0b0(){const _0x4d3873=['toggleReasoning','6218275gjaRkN','addFileToContext','loadSourceResources','resizeTabs','8488955SRjCZl','abortPromptStream','selectModel','toggleWebSearch','3254276nCmUak','addDocumentToContext','removeContextItem','addResourceToContext','startConversation','2970606IWGPSK','addUrlToContext','sendUserMessage','1039164ZQXLPQ','2365863YrPfds','3211038LldfRP'];_0xe0b0=function(){return _0x4d3873;};return _0xe0b0();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x2df59f,_0x39df52(0x16b),_0x39df52(0x162),_0x39df52(0x16e),_0x39df52(0x164),_0x39df52(0x168),_0x39df52(0x160),_0x39df52(0x16d),_0x39df52(0x16a),_0x39df52(0x169),_0x39df52(0x161),_0x39df52(0x166),_0x39df52(0x15e),_0x39df52(0x165)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52ea64=_0x21a4;(function(_0x2970a5,_0x22fce2){const _0x28607f=_0x21a4,_0xc01b1b=_0x2970a5();while(!![]){try{const _0x5731f7=-parseInt(_0x28607f(0xe4))/0x1+parseInt(_0x28607f(0xd8))/0x2*(parseInt(_0x28607f(0xe3))/0x3)+-parseInt(_0x28607f(0xd5))/0x4+-parseInt(_0x28607f(0xec))/0x5+-parseInt(_0x28607f(0xde))/0x6*(-parseInt(_0x28607f(0xd1))/0x7)+parseInt(_0x28607f(0xdb))/0x8*(-parseInt(_0x28607f(0xe5))/0x9)+parseInt(_0x28607f(0xd0))/0xa;if(_0x5731f7===_0x22fce2)break;else _0xc01b1b['push'](_0xc01b1b['shift']());}catch(_0x58015d){_0xc01b1b['push'](_0xc01b1b['shift']());}}}(_0x230f,0x99a86));function _0x230f(){const _0xb0075b=['_processQueue','signal','3dxhKAj','1199419xsEnkS','78471JMbKsS','_queueEmpty','once','shift','abort','completePromise','push','5026000FibHGE','31807080XjjwRS','56tQUrHV','_abortController','resolve','isProcessing','4366136jqFVno','createTask','queue','1178354RNjmwi','length','reject','144UBzlHB','enqueue','callback','234444ZSVTbH','queueEmptyPromise','fire'];_0x230f=function(){return _0xb0075b;};return _0x230f();}function _0x21a4(_0xa1ce30,_0x1a4837){const _0x230f0d=_0x230f();return _0x21a4=function(_0x21a41c,_0x4bdcb2){_0x21a41c=_0x21a41c-0xd0;let _0x3cfb0e=_0x230f0d[_0x21a41c];return _0x3cfb0e;},_0x21a4(_0xa1ce30,_0x1a4837);}import{EmitterMixin as _0x1be8b8}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x1be8b8(){[_0x52ea64(0xd7)]=[];[_0x52ea64(0xd4)]=!0x1;[_0x52ea64(0xd2)];async[_0x52ea64(0xdc)](_0xcc553c){const _0x4f61ac=_0x52ea64,_0x1d9706=this[_0x4f61ac(0xd6)](_0xcc553c);return this[_0x4f61ac(0xd7)][_0x4f61ac(0xeb)](_0x1d9706),this[_0x4f61ac(0xe1)](),_0x1d9706[_0x4f61ac(0xea)];}[_0x52ea64(0xe9)](){const _0x4f55db=_0x52ea64;this[_0x4f55db(0xd4)]&&(this[_0x4f55db(0xd2)][_0x4f55db(0xe9)](),this[_0x4f55db(0xd2)]=void 0x0,this[_0x4f55db(0xd7)]=[],this[_0x4f55db(0xe0)](_0x4f55db(0xe6)),this[_0x4f55db(0xd4)]=!0x1);}get[_0x52ea64(0xdf)](){const _0x1984cf=_0x52ea64;return this[_0x1984cf(0xd7)][_0x1984cf(0xd9)]||this[_0x1984cf(0xd4)]?new Promise(_0x3ccc71=>{const _0x425929=_0x1984cf;this[_0x425929(0xe7)](_0x425929(0xe6),()=>{_0x3ccc71();});}):Promise[_0x1984cf(0xd3)]();}async[_0x52ea64(0xe1)](){const _0x2f66dd=_0x52ea64;if(!this[_0x2f66dd(0xd4)]){this[_0x2f66dd(0xd2)]=new AbortController(),this[_0x2f66dd(0xd4)]=!0x0;try{for(;this[_0x2f66dd(0xd7)][_0x2f66dd(0xd9)]&&this[_0x2f66dd(0xd4)];){const _0x2196f6=this[_0x2f66dd(0xd7)][_0x2f66dd(0xe8)]();try{await _0x2196f6[_0x2f66dd(0xdd)](this[_0x2f66dd(0xd2)][_0x2f66dd(0xe2)]),_0x2196f6[_0x2f66dd(0xd3)]();}catch(_0xbe66cb){_0x2196f6[_0x2f66dd(0xda)](_0xbe66cb);}}}finally{this[_0x2f66dd(0xd4)]=!0x1,this[_0x2f66dd(0xd2)]=void 0x0;}this[_0x2f66dd(0xe0)](_0x2f66dd(0xe6));}}[_0x52ea64(0xd6)](_0x391b27){let _0x3d2f0e,_0x147e79;const _0x1fd0ac=new Promise((_0x3b15ef,_0x351cb2)=>{_0x3d2f0e=_0x3b15ef,_0x147e79=_0x351cb2;});return{'callback':_0x391b27,'resolve':_0x3d2f0e,'reject':_0x147e79,'completePromise':_0x1fd0ac};}}
23
+ const _0x19c40b=_0x326a;(function(_0x247c0b,_0xb3f14d){const _0x13ee89=_0x326a,_0x8b5c58=_0x247c0b();while(!![]){try{const _0x342926=-parseInt(_0x13ee89(0x102))/0x1+-parseInt(_0x13ee89(0xfe))/0x2*(parseInt(_0x13ee89(0x101))/0x3)+-parseInt(_0x13ee89(0xf0))/0x4*(parseInt(_0x13ee89(0xf7))/0x5)+parseInt(_0x13ee89(0xf9))/0x6*(parseInt(_0x13ee89(0x100))/0x7)+-parseInt(_0x13ee89(0x107))/0x8*(parseInt(_0x13ee89(0xf1))/0x9)+parseInt(_0x13ee89(0xeb))/0xa*(-parseInt(_0x13ee89(0xec))/0xb)+parseInt(_0x13ee89(0xf2))/0xc;if(_0x342926===_0xb3f14d)break;else _0x8b5c58['push'](_0x8b5c58['shift']());}catch(_0x166168){_0x8b5c58['push'](_0x8b5c58['shift']());}}}(_0x2d19,0x34103));import{EmitterMixin as _0x1e28d0}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x1e28d0(){[_0x19c40b(0xf6)]=[];[_0x19c40b(0xfa)]=!0x1;[_0x19c40b(0xf3)];async[_0x19c40b(0xfd)](_0xc95b4d){const _0x3b43af=_0x19c40b,_0x671c1f=this[_0x3b43af(0xef)](_0xc95b4d);return this[_0x3b43af(0xf6)][_0x3b43af(0xff)](_0x671c1f),this[_0x3b43af(0xf4)](),_0x671c1f[_0x3b43af(0x105)];}[_0x19c40b(0xee)](){const _0x2772c4=_0x19c40b;this[_0x2772c4(0xfa)]&&(this[_0x2772c4(0xf3)][_0x2772c4(0xee)](),this[_0x2772c4(0xf3)]=void 0x0,this[_0x2772c4(0xf6)]=[],this[_0x2772c4(0xf8)](_0x2772c4(0xed)),this[_0x2772c4(0xfa)]=!0x1);}get[_0x19c40b(0xf5)](){const _0x381f78=_0x19c40b;return this[_0x381f78(0xf6)][_0x381f78(0x109)]||this[_0x381f78(0xfa)]?new Promise(_0x1a91c6=>{const _0x137914=_0x381f78;this[_0x137914(0x108)](_0x137914(0xed),()=>{_0x1a91c6();});}):Promise[_0x381f78(0xfc)]();}async[_0x19c40b(0xf4)](){const _0xd8f6cd=_0x19c40b;if(!this[_0xd8f6cd(0xfa)]){this[_0xd8f6cd(0xf3)]=new AbortController(),this[_0xd8f6cd(0xfa)]=!0x0;try{for(;this[_0xd8f6cd(0xf6)][_0xd8f6cd(0x109)]&&this[_0xd8f6cd(0xfa)];){const _0xa5f183=this[_0xd8f6cd(0xf6)][_0xd8f6cd(0xfb)]();try{await _0xa5f183[_0xd8f6cd(0x104)](this[_0xd8f6cd(0xf3)][_0xd8f6cd(0x103)]),_0xa5f183[_0xd8f6cd(0xfc)]();}catch(_0x487c49){_0xa5f183[_0xd8f6cd(0x106)](_0x487c49);}}}finally{this[_0xd8f6cd(0xfa)]=!0x1,this[_0xd8f6cd(0xf3)]=void 0x0;}this[_0xd8f6cd(0xf8)](_0xd8f6cd(0xed));}}[_0x19c40b(0xef)](_0x1ca8a7){let _0x520fa3,_0x360a5c;const _0x4276d2=new Promise((_0x3e3052,_0x1487fd)=>{_0x520fa3=_0x3e3052,_0x360a5c=_0x1487fd;});return{'callback':_0x1ca8a7,'resolve':_0x520fa3,'reject':_0x360a5c,'completePromise':_0x4276d2};}}function _0x326a(_0x37ba39,_0x2a6568){const _0x2d195e=_0x2d19();return _0x326a=function(_0x326ad6,_0x2561b6){_0x326ad6=_0x326ad6-0xeb;let _0x5464bd=_0x2d195e[_0x326ad6];return _0x5464bd;},_0x326a(_0x37ba39,_0x2a6568);}function _0x2d19(){const _0x4688cd=['fire','2988uHKaWo','isProcessing','shift','resolve','enqueue','2DhLmHw','push','4585fShCMI','444201dbtTrT','195062bIrKWb','signal','callback','completePromise','reject','8nUePOt','once','length','440slwOIG','825OAYamW','_queueEmpty','abort','createTask','28DfryGp','82314qnPZem','6127236GiSsWb','_abortController','_processQueue','queueEmptyPromise','queue','191405sXZDgx'];_0x2d19=function(){return _0x4688cd;};return _0x2d19();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1bf503=_0x121d;function _0x121d(_0x46c248,_0x306d24){const _0x5b7cbb=_0x5b7c();return _0x121d=function(_0x121d6d,_0x3c02da){_0x121d6d=_0x121d6d-0x1f1;let _0x2a5a1c=_0x5b7cbb[_0x121d6d];return _0x2a5a1c;},_0x121d(_0x46c248,_0x306d24);}(function(_0x4753e3,_0xbad72e){const _0x21dbc5=_0x121d,_0x247daa=_0x4753e3();while(!![]){try{const _0x1393ae=-parseInt(_0x21dbc5(0x21c))/0x1*(-parseInt(_0x21dbc5(0x1f1))/0x2)+-parseInt(_0x21dbc5(0x20f))/0x3+parseInt(_0x21dbc5(0x209))/0x4+parseInt(_0x21dbc5(0x205))/0x5*(-parseInt(_0x21dbc5(0x1fc))/0x6)+-parseInt(_0x21dbc5(0x20b))/0x7*(parseInt(_0x21dbc5(0x215))/0x8)+-parseInt(_0x21dbc5(0x206))/0x9+-parseInt(_0x21dbc5(0x218))/0xa*(-parseInt(_0x21dbc5(0x1f4))/0xb);if(_0x1393ae===_0xbad72e)break;else _0x247daa['push'](_0x247daa['shift']());}catch(_0x486d95){_0x247daa['push'](_0x247daa['shift']());}}}(_0x5b7c,0x8d268));const ws=[_0x1bf503(0x219),_0x1bf503(0x207),_0x1bf503(0x20d),_0x1bf503(0x202)],fs=[_0x1bf503(0x210),_0x1bf503(0x1fd),_0x1bf503(0x1f3),_0x1bf503(0x213),_0x1bf503(0x211),_0x1bf503(0x1f9),'\x20'];function _0x5b7c(){const _0x112483=['keydown','scrollHeight','addEventListener','71110BQYuLo','5313276gNFOyb','touchstart','isRunning','4496644JcqaJx','includes','1421dnTcNV','_isAtBottom','pointerdown','auto','2111463PhphBl','ArrowUp','Home','bind','PageDown','destroy','12808QUwRjA','isUserPaused','signal','654560vREvUG','wheel','scrollTo','start','385ZMOwLG','2690XibYlZ','stop','PageUp','220uscNTy','_stop','key','abort','animationFrameId','End','_onUserEvent','deltaY','318RgNVnj','ArrowDown','element','abortController','type','_rafUpdate'];_0x5b7c=function(){return _0x112483;};return _0x5b7c();}export class ScrollManager{[_0x1bf503(0x1fe)];[_0x1bf503(0x1f8)];[_0x1bf503(0x208)];[_0x1bf503(0x1ff)];[_0x1bf503(0x216)];constructor(_0x3c8105){const _0x38f893=_0x1bf503;this[_0x38f893(0x1fe)]=_0x3c8105,this[_0x38f893(0x1f8)]=null,this[_0x38f893(0x208)]=!0x1,this[_0x38f893(0x1ff)]=new AbortController(),this[_0x38f893(0x216)]=!0x1;for(const _0x16a63e of ws){const _0x2765e8=_0x38f893(0x202)!==_0x16a63e;this[_0x38f893(0x1fe)][_0x38f893(0x204)](_0x16a63e,this[_0x38f893(0x1fa)][_0x38f893(0x212)](this),{'passive':_0x2765e8,'signal':this[_0x38f893(0x1ff)][_0x38f893(0x217)]});}}[_0x1bf503(0x21b)](){const _0x543f96=_0x1bf503;this[_0x543f96(0x208)]||(this[_0x543f96(0x208)]=!0x0,this[_0x543f96(0x216)]=!0x1,this[_0x543f96(0x1f8)]=requestAnimationFrame(this[_0x543f96(0x201)][_0x543f96(0x212)](this)));}[_0x1bf503(0x1f2)](){requestAnimationFrame(()=>{const _0x38385f=_0x121d;this[_0x38385f(0x1f5)]();});}[_0x1bf503(0x214)](){const _0x43329d=_0x1bf503;this[_0x43329d(0x1f5)](),this[_0x43329d(0x1ff)][_0x43329d(0x1f7)]();}[_0x1bf503(0x1f5)](){const _0x312b05=_0x1bf503;null!==this[_0x312b05(0x1f8)]&&(cancelAnimationFrame(this[_0x312b05(0x1f8)]),this[_0x312b05(0x1f8)]=null),this[_0x312b05(0x208)]&&(this[_0x312b05(0x208)]=!0x1),this[_0x312b05(0x216)]=!0x1;}[_0x1bf503(0x1fa)](_0x15a92c){const _0x5d1ed5=_0x1bf503;if(this[_0x5d1ed5(0x208)]){if(_0x5d1ed5(0x202)===_0x15a92c[_0x5d1ed5(0x200)]){const _0x1aea9d=_0x15a92c[_0x5d1ed5(0x1f6)];if(!fs[_0x5d1ed5(0x20a)](_0x1aea9d))return;}_0x15a92c instanceof WheelEvent?_0x15a92c[_0x5d1ed5(0x1fb)]<0x0?this[_0x5d1ed5(0x216)]=!0x0:this[_0x5d1ed5(0x216)]=!this[_0x5d1ed5(0x20c)]():this[_0x5d1ed5(0x216)]=!0x0;}}[_0x1bf503(0x20c)](){const _0x5ef630=_0x1bf503,{scrollTop:_0x3167c4,scrollHeight:_0x155439,clientHeight:_0x9666be}=this[_0x5ef630(0x1fe)];return _0x155439-_0x3167c4-_0x9666be<=0x5;}[_0x1bf503(0x201)](){const _0xcdb3d6=_0x1bf503;this[_0xcdb3d6(0x208)]&&(this[_0xcdb3d6(0x216)]||this[_0xcdb3d6(0x1fe)][_0xcdb3d6(0x21a)]({'top':this[_0xcdb3d6(0x1fe)][_0xcdb3d6(0x203)],'behavior':_0xcdb3d6(0x20e)}),this[_0xcdb3d6(0x1f8)]=requestAnimationFrame(this[_0xcdb3d6(0x201)][_0xcdb3d6(0x212)](this)));}}
23
+ const _0x2bd33a=_0x3826;(function(_0x2774e0,_0x110dd6){const _0x4686b6=_0x3826,_0x44076c=_0x2774e0();while(!![]){try{const _0x4f4727=parseInt(_0x4686b6(0x1d9))/0x1*(parseInt(_0x4686b6(0x1d8))/0x2)+parseInt(_0x4686b6(0x1da))/0x3*(parseInt(_0x4686b6(0x1d5))/0x4)+-parseInt(_0x4686b6(0x1d7))/0x5*(parseInt(_0x4686b6(0x1de))/0x6)+parseInt(_0x4686b6(0x1d6))/0x7*(-parseInt(_0x4686b6(0x1d2))/0x8)+parseInt(_0x4686b6(0x1be))/0x9+-parseInt(_0x4686b6(0x1dc))/0xa+-parseInt(_0x4686b6(0x1e4))/0xb;if(_0x4f4727===_0x110dd6)break;else _0x44076c['push'](_0x44076c['shift']());}catch(_0x23b5ba){_0x44076c['push'](_0x44076c['shift']());}}}(_0x5a25,0x6c039));const ws=[_0x2bd33a(0x1bf),_0x2bd33a(0x1cb),_0x2bd33a(0x1e1),_0x2bd33a(0x1c5)],fs=[_0x2bd33a(0x1e0),_0x2bd33a(0x1bc),_0x2bd33a(0x1d4),_0x2bd33a(0x1c2),_0x2bd33a(0x1d0),_0x2bd33a(0x1c3),'\x20'];function _0x3826(_0x13c411,_0x14db3a){const _0x5a25e8=_0x5a25();return _0x3826=function(_0x3826a0,_0x4fb658){_0x3826a0=_0x3826a0-0x1ba;let _0x55d730=_0x5a25e8[_0x3826a0];return _0x55d730;},_0x3826(_0x13c411,_0x14db3a);}function _0x5a25(){const _0x4254e2=['Home','_onUserEvent','8rbEUzV','deltaY','PageUp','71260pkeGln','234409zfaIUp','5IfVYyf','76BuLfGM','15429sIDEos','141SxCQsm','includes','2423920CKOMeJ','scrollHeight','3474222nhIYVL','addEventListener','ArrowUp','pointerdown','destroy','auto','8895942SEkFkA','bind','isRunning','element','ArrowDown','abortController','6142104lMrPcm','wheel','type','_rafUpdate','PageDown','End','scrollTo','keydown','isUserPaused','_isAtBottom','key','signal','start','touchstart','stop','abort','animationFrameId','_stop'];_0x5a25=function(){return _0x4254e2;};return _0x5a25();}export class ScrollManager{[_0x2bd33a(0x1bb)];[_0x2bd33a(0x1ce)];[_0x2bd33a(0x1ba)];[_0x2bd33a(0x1bd)];[_0x2bd33a(0x1c6)];constructor(_0x562030){const _0x603b20=_0x2bd33a;this[_0x603b20(0x1bb)]=_0x562030,this[_0x603b20(0x1ce)]=null,this[_0x603b20(0x1ba)]=!0x1,this[_0x603b20(0x1bd)]=new AbortController(),this[_0x603b20(0x1c6)]=!0x1;for(const _0x581b5a of ws){const _0x19e9ec=_0x603b20(0x1c5)!==_0x581b5a;this[_0x603b20(0x1bb)][_0x603b20(0x1df)](_0x581b5a,this[_0x603b20(0x1d1)][_0x603b20(0x1e5)](this),{'passive':_0x19e9ec,'signal':this[_0x603b20(0x1bd)][_0x603b20(0x1c9)]});}}[_0x2bd33a(0x1ca)](){const _0xc0ab57=_0x2bd33a;this[_0xc0ab57(0x1ba)]||(this[_0xc0ab57(0x1ba)]=!0x0,this[_0xc0ab57(0x1c6)]=!0x1,this[_0xc0ab57(0x1ce)]=requestAnimationFrame(this[_0xc0ab57(0x1c1)][_0xc0ab57(0x1e5)](this)));}[_0x2bd33a(0x1cc)](){requestAnimationFrame(()=>{const _0x2b3ab3=_0x3826;this[_0x2b3ab3(0x1cf)]();});}[_0x2bd33a(0x1e2)](){const _0x5ee603=_0x2bd33a;this[_0x5ee603(0x1cf)](),this[_0x5ee603(0x1bd)][_0x5ee603(0x1cd)]();}[_0x2bd33a(0x1cf)](){const _0x1b0ac5=_0x2bd33a;null!==this[_0x1b0ac5(0x1ce)]&&(cancelAnimationFrame(this[_0x1b0ac5(0x1ce)]),this[_0x1b0ac5(0x1ce)]=null),this[_0x1b0ac5(0x1ba)]&&(this[_0x1b0ac5(0x1ba)]=!0x1),this[_0x1b0ac5(0x1c6)]=!0x1;}[_0x2bd33a(0x1d1)](_0x44c86a){const _0x47a4c6=_0x2bd33a;if(this[_0x47a4c6(0x1ba)]){if(_0x47a4c6(0x1c5)===_0x44c86a[_0x47a4c6(0x1c0)]){const _0x263185=_0x44c86a[_0x47a4c6(0x1c8)];if(!fs[_0x47a4c6(0x1db)](_0x263185))return;}_0x44c86a instanceof WheelEvent?_0x44c86a[_0x47a4c6(0x1d3)]<0x0?this[_0x47a4c6(0x1c6)]=!0x0:this[_0x47a4c6(0x1c6)]=!this[_0x47a4c6(0x1c7)]():this[_0x47a4c6(0x1c6)]=!0x0;}}[_0x2bd33a(0x1c7)](){const _0x457b07=_0x2bd33a,{scrollTop:_0x1946f8,scrollHeight:_0x244dda,clientHeight:_0x4178c0}=this[_0x457b07(0x1bb)];return _0x244dda-_0x1946f8-_0x4178c0<=0x5;}[_0x2bd33a(0x1c1)](){const _0x193d09=_0x2bd33a;this[_0x193d09(0x1ba)]&&(this[_0x193d09(0x1c6)]||this[_0x193d09(0x1bb)][_0x193d09(0x1c4)]({'top':this[_0x193d09(0x1bb)][_0x193d09(0x1dd)],'behavior':_0x193d09(0x1e3)}),this[_0x193d09(0x1ce)]=requestAnimationFrame(this[_0x193d09(0x1c1)][_0x193d09(0x1e5)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x39a6(_0x18dae8,_0x5510ed){var _0x2cdd4e=_0x2cdd();return _0x39a6=function(_0x39a69d,_0x3c5041){_0x39a69d=_0x39a69d-0x6e;var _0x39bc44=_0x2cdd4e[_0x39a69d];return _0x39bc44;},_0x39a6(_0x18dae8,_0x5510ed);}function _0x2cdd(){var _0x1ef209=['pluginName','10kuAaQY','2TPbBtQ','AIChatHistory','3960813YgoOku','3656022xxrgTs','4741vZoJSd','8VGqHTK','936474nnkcTh','4476012tzrybo','6859179AKpwfF','isPremiumPlugin','1264465MrULgu','requires','isOfficialPlugin','260ixcXun'];_0x2cdd=function(){return _0x1ef209;};return _0x2cdd();}var _0x3ff175=_0x39a6;(function(_0x502d0c,_0x523548){var _0x23ac35=_0x39a6,_0x340e9f=_0x502d0c();while(!![]){try{var _0x15867e=parseInt(_0x23ac35(0x6e))/0x1*(parseInt(_0x23ac35(0x74))/0x2)+parseInt(_0x23ac35(0x76))/0x3+-parseInt(_0x23ac35(0x7b))/0x4+parseInt(_0x23ac35(0x73))/0x5*(-parseInt(_0x23ac35(0x77))/0x6)+parseInt(_0x23ac35(0x7a))/0x7*(-parseInt(_0x23ac35(0x79))/0x8)+parseInt(_0x23ac35(0x7c))/0x9+parseInt(_0x23ac35(0x71))/0xa*(-parseInt(_0x23ac35(0x78))/0xb);if(_0x15867e===_0x523548)break;else _0x340e9f['push'](_0x340e9f['shift']());}catch(_0x5a500c){_0x340e9f['push'](_0x340e9f['shift']());}}}(_0x2cdd,0xd2fca));import{ContextPlugin as _0x2c4a63}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x255b11}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x590283}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x2c4a63{static get[_0x3ff175(0x6f)](){return[_0x255b11,_0x590283];}static get[_0x3ff175(0x72)](){var _0x268b54=_0x3ff175;return _0x268b54(0x75);}static get[_0x3ff175(0x70)](){return!0x0;}static get[_0x3ff175(0x7d)](){return!0x0;}}
23
+ function _0x4f39(_0x58a8d4,_0x1a4dd6){var _0x452b94=_0x452b();return _0x4f39=function(_0x4f39fa,_0x446020){_0x4f39fa=_0x4f39fa-0x13d;var _0xb27963=_0x452b94[_0x4f39fa];return _0xb27963;},_0x4f39(_0x58a8d4,_0x1a4dd6);}var _0x8174b6=_0x4f39;(function(_0x568e0e,_0x5e5b0f){var _0x5da57b=_0x4f39,_0x40e503=_0x568e0e();while(!![]){try{var _0x5be781=parseInt(_0x5da57b(0x13f))/0x1*(-parseInt(_0x5da57b(0x140))/0x2)+-parseInt(_0x5da57b(0x146))/0x3*(-parseInt(_0x5da57b(0x14c))/0x4)+parseInt(_0x5da57b(0x149))/0x5+parseInt(_0x5da57b(0x147))/0x6*(-parseInt(_0x5da57b(0x14a))/0x7)+-parseInt(_0x5da57b(0x13d))/0x8+parseInt(_0x5da57b(0x13e))/0x9*(-parseInt(_0x5da57b(0x145))/0xa)+parseInt(_0x5da57b(0x143))/0xb;if(_0x5be781===_0x5e5b0f)break;else _0x40e503['push'](_0x40e503['shift']());}catch(_0x441e42){_0x40e503['push'](_0x40e503['shift']());}}}(_0x452b,0xdd512));import{ContextPlugin as _0x4015ba}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x170401}from'./aichathistorycontroller.js';function _0x452b(){var _0x4c44ef=['2924836ePwdJj','9379768ONReYk','99XgyioG','9641mharcr','346Rhmlao','requires','isOfficialPlugin','46337434AuvriY','AIChatHistory','1641850XxnuDL','6XJKRDS','612114vxDmug','pluginName','2450575QVicPV','42NMMkXG','isPremiumPlugin'];_0x452b=function(){return _0x4c44ef;};return _0x452b();}import{AIChatHistoryUI as _0x5f47a1}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4015ba{static get[_0x8174b6(0x141)](){return[_0x170401,_0x5f47a1];}static get[_0x8174b6(0x148)](){var _0x47f9fd=_0x8174b6;return _0x47f9fd(0x144);}static get[_0x8174b6(0x142)](){return!0x0;}static get[_0x8174b6(0x14b)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x227c46=_0x2c46;(function(_0x1c6d79,_0x37a2ae){const _0x283965=_0x2c46,_0x33866f=_0x1c6d79();while(!![]){try{const _0x4f8144=-parseInt(_0x283965(0x18e))/0x1+-parseInt(_0x283965(0x1c4))/0x2+-parseInt(_0x283965(0x19c))/0x3*(-parseInt(_0x283965(0x1bf))/0x4)+-parseInt(_0x283965(0x194))/0x5+parseInt(_0x283965(0x1a8))/0x6*(parseInt(_0x283965(0x1a1))/0x7)+-parseInt(_0x283965(0x18f))/0x8*(-parseInt(_0x283965(0x1d2))/0x9)+parseInt(_0x283965(0x1b5))/0xa;if(_0x4f8144===_0x37a2ae)break;else _0x33866f['push'](_0x33866f['shift']());}catch(_0x13a416){_0x33866f['push'](_0x33866f['shift']());}}}(_0x11db,0x2f4da));import{ContextPlugin as _0x45b9aa}from'ckeditor5/src/core.js';import{AIConnector as _0x41da9e}from'../aicore/aiconnector.js';import{AIChatController as _0x21161e}from'../aichat/aichatcontroller.js';import{AITabs as _0x452297}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x59bc05}from'./aichathistoryui.js';function _0x11db(){const _0x1af9f2=['map','pluginName','chat','rename','updateItems','AI_CHAT_UNTITLED_CONVERSATION','get','activateTab','2680uAoevM','getItem','AI_CHAT_HISTORY_CATEGORY_PINNED','getFullYear','AI_CHAT_HISTORY_UNPIN_ACTION','332504MIkDBd','loadConversation','getDate','AIChatHistoryController','change:activeConversation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','requires','context','_handleRemove','itemRemoved','listenTo','getMonth','_setIsMaximized','locale','883044tjESAZ','_getCategorizedItems','_updateHistoryItemsUI','resize','history','itemsLoaded','AI_CHAT_HISTORY_CATEGORY_TODAY','init','updates','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','unpin','updateItemTitle','plugins','_generateErrorMessage','createdAt','_showConversationHistory','error','_aiConnector','_clearItemLoading','remove','resizeTabs','toLocaleDateString','getGroupId','itemUpdated','updateItemLoadingState','_handleEditTitle','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','updateItemPinned','_handleSelectConversation','AI_CHAT_HISTORY_PIN_ACTION','AI_CHAT_HISTORY_ERROR_GENERIC','operation','isPremiumPlugin','removeItem','364306QWmmPp','24feQymt','removeConversation','view','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','_aiChatHistoryUi','240285dinhBp','pin','activateTab:history','handleRemovedConversation','openChat','selectConversation','length','isOfficialPlugin','855DHtyNo','setDate','AI_CHAT_HISTORY_CATEGORY_LATER','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','activeConversation','2436quyJuD','_setItemLoading','setIsMaximized','_handleTogglePin','editConversationTitle','_aiChatController','push','6eGRvkJ','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','items','setConversationPinned','removeHistoryItem','setLoadingSkeleton','pinned','itemId','_handleHistoryErrorUI','title','showError','resizedTabs','loadItems','2867230nVMAUu','getItems'];_0x11db=function(){return _0x1af9f2;};return _0x11db();}import{AIChatHistoryConversations as _0x2e8f22}from'./model/aichathistoryconversations.js';import{getTranslation as _0x235cd}from'../aicore/utils/common-translations.js';function _0x2c46(_0x4c7dbf,_0x36d5a9){const _0x11dbcb=_0x11db();return _0x2c46=function(_0x2c462a,_0x3875a8){_0x2c462a=_0x2c462a-0x18d;let _0x6af885=_0x11dbcb[_0x2c462a];return _0x6af885;},_0x2c46(_0x4c7dbf,_0x36d5a9);}export class AIChatHistoryController extends _0x45b9aa{[_0x227c46(0x1e3)];[_0x227c46(0x193)];[_0x227c46(0x1a6)];static get[_0x227c46(0x1ca)](){return[_0x41da9e,_0x21161e,_0x59bc05,_0x452297];}static get[_0x227c46(0x1b8)](){const _0x1e4fa6=_0x227c46;return _0x1e4fa6(0x1c7);}static get[_0x227c46(0x19b)](){return!0x0;}static get[_0x227c46(0x1f2)](){return!0x0;}[_0x227c46(0x1d9)](){const _0x588d9b=_0x227c46;this[_0x588d9b(0x1e3)]=this[_0x588d9b(0x1cb)][_0x588d9b(0x1de)][_0x588d9b(0x1bd)](_0x41da9e),this[_0x588d9b(0x193)]=this[_0x588d9b(0x1cb)][_0x588d9b(0x1de)][_0x588d9b(0x1bd)](_0x59bc05),this[_0x588d9b(0x1a6)]=this[_0x588d9b(0x1cb)][_0x588d9b(0x1de)][_0x588d9b(0x1bd)](_0x21161e);const _0x54e8c9=this[_0x588d9b(0x1cb)][_0x588d9b(0x1de)][_0x588d9b(0x1bd)](_0x452297),_0x30a29f=this[_0x588d9b(0x1a6)][_0x588d9b(0x1e8)]();this[_0x588d9b(0x1d6)]=new _0x2e8f22({'connector':this[_0x588d9b(0x1e3)],'group':_0x30a29f}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x190),(_0x1b7b83,_0x104a37)=>{const _0x2d78b5=_0x588d9b;this[_0x2d78b5(0x1a2)](_0x104a37['id'],_0x2d78b5(0x1e5)),this[_0x2d78b5(0x1cc)](_0x104a37['id']);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x1a5),(_0x4d1444,_0x2e2de9)=>{const _0x28b357=_0x588d9b;this[_0x28b357(0x1a2)](_0x2e2de9['id'],_0x28b357(0x1ba)),this[_0x28b357(0x1eb)](_0x2e2de9['id'],_0x2e2de9[_0x28b357(0x1b1)]);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x1d6)],_0x588d9b(0x1e9),(_0x54e6fc,_0x4efadf)=>{const _0x4e8568=_0x588d9b;void 0x0!==_0x4efadf[_0x4e8568(0x1da)][_0x4e8568(0x1b1)]&&this[_0x4e8568(0x193)][_0x4e8568(0x1dd)](_0x4efadf[_0x4e8568(0x1af)],_0x4efadf[_0x4e8568(0x1da)][_0x4e8568(0x1b1)]),void 0x0!==_0x4efadf[_0x4e8568(0x1da)][_0x4e8568(0x1ae)]&&this[_0x4e8568(0x1d4)](),this[_0x4e8568(0x1e4)](_0x4efadf[_0x4e8568(0x1af)]);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x1d6)],_0x588d9b(0x1cd),(_0x5e095a,_0x40bad0)=>{const _0x3a3781=_0x588d9b;this[_0x3a3781(0x1a6)][_0x3a3781(0x197)](_0x40bad0[_0x3a3781(0x1af)]),this[_0x3a3781(0x193)][_0x3a3781(0x1ac)](_0x40bad0[_0x3a3781(0x1af)]),this[_0x3a3781(0x1e4)](_0x40bad0[_0x3a3781(0x1af)]);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x1d6)],_0x588d9b(0x1d7),()=>{const _0x561d57=_0x588d9b;this[_0x561d57(0x1d4)]();}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x1d6)],_0x588d9b(0x1e2),(_0xbf7747,_0x1df584)=>{const _0x960dc8=_0x588d9b;this[_0x960dc8(0x1b0)](_0x1df584[_0x960dc8(0x1e2)],_0x1df584[_0x960dc8(0x1f1)],_0x1df584[_0x960dc8(0x1af)]);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x199),(_0x3d0d47,_0x2f2aa9)=>{const _0x162fb9=_0x588d9b;this[_0x162fb9(0x1ee)](_0x2f2aa9['id']);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x1ab),(_0x3d2ca3,_0x2b2931)=>{const _0x32bf03=_0x588d9b,_0x3afcf2=_0x2b2931[_0x32bf03(0x1ae)]?_0x32bf03(0x195):_0x32bf03(0x1dc);this[_0x32bf03(0x1a2)](_0x2b2931['id'],_0x3afcf2),this[_0x32bf03(0x1a4)](_0x2b2931['id'],_0x2b2931[_0x32bf03(0x1ae)]);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x198),()=>{const _0x30de67=_0x588d9b;_0x54e8c9[_0x30de67(0x191)][_0x30de67(0x1be)](_0x30de67(0x1b9));}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x1a6)],_0x588d9b(0x1c8),()=>{const _0x20dc7c=_0x588d9b;this[_0x20dc7c(0x1d4)]();}),_0x54e8c9[_0x588d9b(0x191)]['on'](_0x588d9b(0x196),()=>{const _0x49fe0d=_0x588d9b;this[_0x49fe0d(0x1e1)]();}),this[_0x588d9b(0x1ce)](_0x54e8c9,_0x588d9b(0x1b3),(_0x1d20c2,_0x187104)=>{const _0x975a36=_0x588d9b;this[_0x975a36(0x1d0)](_0x187104);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x1e6),()=>{const _0x5bad1a=_0x588d9b;_0x54e8c9[_0x5bad1a(0x1d5)]();});}async[_0x227c46(0x1eb)](_0x505104,_0x40109a){const _0x132ad2=_0x227c46;await this[_0x132ad2(0x1d6)][_0x132ad2(0x1dd)](_0x505104,_0x40109a);}async[_0x227c46(0x1a4)](_0x29784e,_0x28de2b){const _0x10f7d1=_0x227c46;await this[_0x10f7d1(0x1d6)][_0x10f7d1(0x1ed)](_0x29784e,_0x28de2b);}async[_0x227c46(0x1cc)](_0x2c98aa){const _0x31d2a0=_0x227c46;await this[_0x31d2a0(0x1d6)][_0x31d2a0(0x18d)](_0x2c98aa);}async[_0x227c46(0x1ee)](_0x3bd65e){const _0x344ad0=_0x227c46;await this[_0x344ad0(0x1a6)][_0x344ad0(0x1c5)](_0x3bd65e);}async[_0x227c46(0x1e1)](){const _0x23b54e=_0x227c46;this[_0x23b54e(0x193)][_0x23b54e(0x1b2)](''),this[_0x23b54e(0x193)][_0x23b54e(0x1ad)](!0x0),await this[_0x23b54e(0x1d6)][_0x23b54e(0x1d9)](),this[_0x23b54e(0x193)][_0x23b54e(0x1ad)](!0x1);}[_0x227c46(0x1d4)](){const _0x2a6d92=_0x227c46,_0x4cee5b=this[_0x2a6d92(0x1a6)][_0x2a6d92(0x1a0)]?.['id'],_0x221d89=this[_0x2a6d92(0x1d3)]()[_0x2a6d92(0x1b7)](_0x15c3db=>({'title':_0x15c3db[_0x2a6d92(0x1b1)],'items':_0x15c3db[_0x2a6d92(0x1aa)][_0x2a6d92(0x1b7)](_0x45faea=>({'id':_0x45faea['id'],'title':_0x45faea[_0x2a6d92(0x1b1)]||_0x235cd(this[_0x2a6d92(0x1cb)][_0x2a6d92(0x1d1)],_0x2a6d92(0x1bc)),'createdAt':new Date(_0x45faea[_0x2a6d92(0x1e0)])[_0x2a6d92(0x1e7)](),'active':_0x45faea['id']===_0x4cee5b,'pinned':_0x45faea[_0x2a6d92(0x1ae)]}))}));this[_0x2a6d92(0x193)][_0x2a6d92(0x1bb)](_0x221d89);}[_0x227c46(0x1a2)](_0x46e668,_0x103336){const _0x3c5742=_0x227c46;this[_0x3c5742(0x193)][_0x3c5742(0x1ea)](_0x46e668,_0x103336,!0x0);}[_0x227c46(0x1e4)](_0x37f041){const _0x472978=_0x227c46;this[_0x472978(0x193)][_0x472978(0x1ea)](_0x37f041,null,!0x1);}[_0x227c46(0x1b0)](_0x435b22,_0x17645e,_0x3cba56){const _0x4946ca=_0x227c46,_0x342ab1=this[_0x4946ca(0x1df)](_0x17645e,_0x3cba56);this[_0x4946ca(0x193)][_0x4946ca(0x1b2)](_0x342ab1),_0x3cba56&&this[_0x4946ca(0x1e4)](_0x3cba56),this[_0x4946ca(0x193)][_0x4946ca(0x1ad)](!0x1);}[_0x227c46(0x1df)](_0x2ee889,_0x4a01db){const _0x378248=_0x227c46,_0x198fc4=_0x4a01db?this[_0x378248(0x1d6)][_0x378248(0x1c0)](_0x4a01db):null,_0x2edb1b=_0x198fc4?.[_0x378248(0x1b1)]||_0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x1bc));switch(_0x2ee889){case _0x378248(0x1dd):return _0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x1db),_0x2edb1b);case _0x378248(0x1ed):{const _0x2a5c72=_0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x198fc4?.[_0x378248(0x1ae)]?_0x378248(0x1c3):_0x378248(0x1ef));return _0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x192),[_0x2a5c72,_0x2edb1b]);}case _0x378248(0x18d):return _0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x19f),_0x2edb1b);case _0x378248(0x1d9):case _0x378248(0x1b4):return _0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x1c9));default:return _0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x1f0));}}[_0x227c46(0x1d3)](){const _0x3c2a25=_0x227c46,_0x4f7bfd=new Date(),_0x58527a=new Date(_0x4f7bfd[_0x3c2a25(0x1c2)](),_0x4f7bfd[_0x3c2a25(0x1cf)](),_0x4f7bfd[_0x3c2a25(0x1c6)]()),_0x30a85a=new Date(_0x58527a);_0x30a85a[_0x3c2a25(0x19d)](_0x30a85a[_0x3c2a25(0x1c6)]()-0x1);const _0x2d05d7=new Date(_0x58527a);_0x2d05d7[_0x3c2a25(0x19d)](_0x2d05d7[_0x3c2a25(0x1c6)]()-0xe);const _0xcaaa96=this[_0x3c2a25(0x1d6)][_0x3c2a25(0x1b6)]({'pinned':!0x0}),_0x18ab7b=this[_0x3c2a25(0x1d6)][_0x3c2a25(0x1b6)]({'from':_0x58527a,'to':_0x58527a}),_0x3e1ff3=this[_0x3c2a25(0x1d6)][_0x3c2a25(0x1b6)]({'from':_0x30a85a,'to':_0x30a85a}),_0x1bd829=this[_0x3c2a25(0x1d6)][_0x3c2a25(0x1b6)]({'from':_0x2d05d7,'to':_0x30a85a}),_0x28bb77=this[_0x3c2a25(0x1d6)][_0x3c2a25(0x1b6)]({'to':_0x2d05d7}),_0x5db413=[];return _0xcaaa96[_0x3c2a25(0x19a)]>0x0&&_0x5db413[_0x3c2a25(0x1a7)]({'title':_0x235cd(this[_0x3c2a25(0x1cb)][_0x3c2a25(0x1d1)],_0x3c2a25(0x1c1)),'items':_0xcaaa96}),_0x18ab7b[_0x3c2a25(0x19a)]>0x0&&_0x5db413[_0x3c2a25(0x1a7)]({'title':_0x235cd(this[_0x3c2a25(0x1cb)][_0x3c2a25(0x1d1)],_0x3c2a25(0x1d8)),'items':_0x18ab7b}),_0x3e1ff3[_0x3c2a25(0x19a)]>0x0&&_0x5db413[_0x3c2a25(0x1a7)]({'title':_0x235cd(this[_0x3c2a25(0x1cb)][_0x3c2a25(0x1d1)],_0x3c2a25(0x1ec)),'items':_0x3e1ff3}),_0x1bd829[_0x3c2a25(0x19a)]>0x0&&_0x5db413[_0x3c2a25(0x1a7)]({'title':_0x235cd(this[_0x3c2a25(0x1cb)][_0x3c2a25(0x1d1)],_0x3c2a25(0x1a9)),'items':_0x1bd829}),_0x28bb77[_0x3c2a25(0x19a)]>0x0&&_0x5db413[_0x3c2a25(0x1a7)]({'title':_0x235cd(this[_0x3c2a25(0x1cb)][_0x3c2a25(0x1d1)],_0x3c2a25(0x19e)),'items':_0x28bb77}),_0x5db413;}[_0x227c46(0x1d0)](_0x47f143){const _0x37f4f6=_0x227c46;this[_0x37f4f6(0x193)][_0x37f4f6(0x1a3)](_0x47f143);}}
23
+ const _0x541559=_0x1226;(function(_0x2e1d4e,_0x175e47){const _0x55f078=_0x1226,_0x1017eb=_0x2e1d4e();while(!![]){try{const _0x36765f=-parseInt(_0x55f078(0x167))/0x1+-parseInt(_0x55f078(0x139))/0x2*(parseInt(_0x55f078(0x125))/0x3)+parseInt(_0x55f078(0x151))/0x4*(parseInt(_0x55f078(0x118))/0x5)+parseInt(_0x55f078(0x157))/0x6*(parseInt(_0x55f078(0x15b))/0x7)+-parseInt(_0x55f078(0x170))/0x8*(parseInt(_0x55f078(0x12f))/0x9)+parseInt(_0x55f078(0x14f))/0xa+parseInt(_0x55f078(0x137))/0xb*(parseInt(_0x55f078(0x11a))/0xc);if(_0x36765f===_0x175e47)break;else _0x1017eb['push'](_0x1017eb['shift']());}catch(_0x3cb596){_0x1017eb['push'](_0x1017eb['shift']());}}}(_0x46be,0x76716));import{ContextPlugin as _0x20bc63}from'ckeditor5/src/core.js';import{AIConnector as _0x416c88}from'../aicore/aiconnector.js';function _0x1226(_0xd9b9c8,_0x2db914){const _0x46be9d=_0x46be();return _0x1226=function(_0x12264c,_0x5c2e5f){_0x12264c=_0x12264c-0x117;let _0x199596=_0x46be9d[_0x12264c];return _0x199596;},_0x1226(_0xd9b9c8,_0x2db914);}import{AIChatController as _0x58a767}from'../aichat/aichatcontroller.js';import{AITabs as _0x5e697a}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x80e152}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x733791}from'./model/aichathistoryconversations.js';import{getTranslation as _0x3b43be}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x20bc63{[_0x541559(0x154)];[_0x541559(0x16c)];[_0x541559(0x178)];static get[_0x541559(0x17a)](){return[_0x416c88,_0x58a767,_0x80e152,_0x5e697a];}static get[_0x541559(0x175)](){const _0x305e2b=_0x541559;return _0x305e2b(0x14a);}static get[_0x541559(0x14b)](){return!0x0;}static get[_0x541559(0x143)](){return!0x0;}[_0x541559(0x136)](){const _0xdf637e=_0x541559;this[_0xdf637e(0x154)]=this[_0xdf637e(0x134)][_0xdf637e(0x120)][_0xdf637e(0x11b)](_0x416c88),this[_0xdf637e(0x16c)]=this[_0xdf637e(0x134)][_0xdf637e(0x120)][_0xdf637e(0x11b)](_0x80e152),this[_0xdf637e(0x178)]=this[_0xdf637e(0x134)][_0xdf637e(0x120)][_0xdf637e(0x11b)](_0x58a767);const _0x102d59=this[_0xdf637e(0x134)][_0xdf637e(0x120)][_0xdf637e(0x11b)](_0x5e697a),_0x3f5ffc=this[_0xdf637e(0x178)][_0xdf637e(0x13d)]();this[_0xdf637e(0x12d)]=new _0x733791({'connector':this[_0xdf637e(0x154)],'group':_0x3f5ffc}),this[_0xdf637e(0x124)](this[_0xdf637e(0x16c)],_0xdf637e(0x176),(_0x26d17d,_0x380e5b)=>{const _0xc983a9=_0xdf637e;this[_0xc983a9(0x12a)](_0x380e5b['id'],_0xc983a9(0x169)),this[_0xc983a9(0x17b)](_0x380e5b['id']);}),this[_0xdf637e(0x124)](this[_0xdf637e(0x16c)],_0xdf637e(0x133),(_0x48a4bc,_0x168456)=>{const _0x1dfc99=_0xdf637e;this[_0x1dfc99(0x12a)](_0x168456['id'],_0x1dfc99(0x166)),this[_0x1dfc99(0x17e)](_0x168456['id'],_0x168456[_0x1dfc99(0x117)]);}),this[_0xdf637e(0x124)](this[_0xdf637e(0x12d)],_0xdf637e(0x132),(_0x5ed9a4,_0x23c6c6)=>{const _0x51ed02=_0xdf637e;void 0x0!==_0x23c6c6[_0x51ed02(0x12c)][_0x51ed02(0x117)]&&this[_0x51ed02(0x16c)][_0x51ed02(0x11d)](_0x23c6c6[_0x51ed02(0x135)],_0x23c6c6[_0x51ed02(0x12c)][_0x51ed02(0x117)]),void 0x0!==_0x23c6c6[_0x51ed02(0x12c)][_0x51ed02(0x146)]&&this[_0x51ed02(0x16f)](),this[_0x51ed02(0x162)](_0x23c6c6[_0x51ed02(0x135)]);}),this[_0xdf637e(0x124)](this[_0xdf637e(0x12d)],_0xdf637e(0x155),(_0x59c9b0,_0x2acdf5)=>{const _0x4d87d2=_0xdf637e;this[_0x4d87d2(0x178)][_0x4d87d2(0x123)](_0x2acdf5[_0x4d87d2(0x135)]),this[_0x4d87d2(0x16c)][_0x4d87d2(0x17c)](_0x2acdf5[_0x4d87d2(0x135)]),this[_0x4d87d2(0x162)](_0x2acdf5[_0x4d87d2(0x135)]);}),this[_0xdf637e(0x124)](this[_0xdf637e(0x12d)],_0xdf637e(0x15e),()=>{const _0x3e2b92=_0xdf637e;this[_0x3e2b92(0x16f)]();}),this[_0xdf637e(0x124)](this[_0xdf637e(0x12d)],_0xdf637e(0x149),(_0x515ca6,_0x6bab50)=>{const _0xa34ada=_0xdf637e;this[_0xa34ada(0x142)](_0x6bab50[_0xa34ada(0x149)],_0x6bab50[_0xa34ada(0x127)],_0x6bab50[_0xa34ada(0x135)]);}),this[_0xdf637e(0x124)](this[_0xdf637e(0x16c)],_0xdf637e(0x16d),(_0x2ef146,_0x2582ef)=>{const _0x53931f=_0xdf637e;this[_0x53931f(0x159)](_0x2582ef['id']);}),this[_0xdf637e(0x124)](this[_0xdf637e(0x16c)],_0xdf637e(0x13e),(_0x66311b,_0x296034)=>{const _0x310200=_0xdf637e,_0x47423b=_0x296034[_0x310200(0x146)]?_0x310200(0x163):_0x310200(0x12b);this[_0x310200(0x12a)](_0x296034['id'],_0x47423b),this[_0x310200(0x158)](_0x296034['id'],_0x296034[_0x310200(0x146)]);}),this[_0xdf637e(0x124)](this[_0xdf637e(0x16c)],_0xdf637e(0x11e),()=>{const _0x32a61e=_0xdf637e;_0x102d59[_0x32a61e(0x16e)][_0x32a61e(0x15f)](_0x32a61e(0x177));}),this[_0xdf637e(0x124)](this[_0xdf637e(0x178)],_0xdf637e(0x11c),()=>{const _0x2a3f0a=_0xdf637e;this[_0x2a3f0a(0x16f)]();}),_0x102d59[_0xdf637e(0x16e)]['on'](_0xdf637e(0x15d),()=>{const _0x5c9a41=_0xdf637e;this[_0x5c9a41(0x138)]();}),this[_0xdf637e(0x124)](_0x102d59,_0xdf637e(0x121),(_0x5aa90d,_0x42b082)=>{const _0xdd54ee=_0xdf637e;this[_0xdd54ee(0x144)](_0x42b082);}),this[_0xdf637e(0x124)](this[_0xdf637e(0x16c)],_0xdf637e(0x160),()=>{const _0x54e35b=_0xdf637e;_0x102d59[_0x54e35b(0x11f)]();});}async[_0x541559(0x17e)](_0x4a27bc,_0x270fee){const _0x47cf52=_0x541559;await this[_0x47cf52(0x12d)][_0x47cf52(0x11d)](_0x4a27bc,_0x270fee);}async[_0x541559(0x158)](_0x144c84,_0x4fbaf7){const _0x5945cf=_0x541559;await this[_0x5945cf(0x12d)][_0x5945cf(0x122)](_0x144c84,_0x4fbaf7);}async[_0x541559(0x17b)](_0x2a8725){const _0x3cdfa2=_0x541559;await this[_0x3cdfa2(0x12d)][_0x3cdfa2(0x16a)](_0x2a8725);}async[_0x541559(0x159)](_0x57d8cb){const _0x5e6a79=_0x541559;await this[_0x5e6a79(0x178)][_0x5e6a79(0x119)](_0x57d8cb);}async[_0x541559(0x138)](){const _0x2e21ea=_0x541559;this[_0x2e21ea(0x16c)][_0x2e21ea(0x13b)](''),this[_0x2e21ea(0x16c)][_0x2e21ea(0x14c)](!0x0),await this[_0x2e21ea(0x12d)][_0x2e21ea(0x136)](),this[_0x2e21ea(0x16c)][_0x2e21ea(0x14c)](!0x1);}[_0x541559(0x16f)](){const _0xf15421=_0x541559,_0x350b57=this[_0xf15421(0x178)][_0xf15421(0x17d)]?.['id'],_0x273c4b=this[_0xf15421(0x173)]()[_0xf15421(0x165)](_0x2bceb1=>({'title':_0x2bceb1[_0xf15421(0x117)],'items':_0x2bceb1[_0xf15421(0x168)][_0xf15421(0x165)](_0x17066d=>({'id':_0x17066d['id'],'title':_0x17066d[_0xf15421(0x117)]||_0x3b43be(this[_0xf15421(0x134)][_0xf15421(0x150)],_0xf15421(0x156)),'createdAt':new Date(_0x17066d[_0xf15421(0x145)])[_0xf15421(0x14d)](),'active':_0x17066d['id']===_0x350b57,'pinned':_0x17066d[_0xf15421(0x146)]}))}));this[_0xf15421(0x16c)][_0xf15421(0x153)](_0x273c4b);}[_0x541559(0x12a)](_0x3432aa,_0x29ac3a){const _0x230830=_0x541559;this[_0x230830(0x16c)][_0x230830(0x130)](_0x3432aa,_0x29ac3a,!0x0);}[_0x541559(0x162)](_0x40fd3b){const _0x27c535=_0x541559;this[_0x27c535(0x16c)][_0x27c535(0x130)](_0x40fd3b,null,!0x1);}[_0x541559(0x142)](_0x32edcd,_0x59848c,_0x25909f){const _0x20abe0=_0x541559,_0x3fd494=this[_0x20abe0(0x148)](_0x59848c,_0x25909f);this[_0x20abe0(0x16c)][_0x20abe0(0x13b)](_0x3fd494),_0x25909f&&this[_0x20abe0(0x162)](_0x25909f),this[_0x20abe0(0x16c)][_0x20abe0(0x14c)](!0x1);}[_0x541559(0x148)](_0x38742b,_0x3c2f38){const _0x5f1362=_0x541559,_0x46c8c4=_0x3c2f38?this[_0x5f1362(0x12d)][_0x5f1362(0x128)](_0x3c2f38):null,_0xc2f2bd=_0x46c8c4?.[_0x5f1362(0x117)]||_0x3b43be(this[_0x5f1362(0x134)][_0x5f1362(0x150)],_0x5f1362(0x156));switch(_0x38742b){case _0x5f1362(0x11d):return _0x3b43be(this[_0x5f1362(0x134)][_0x5f1362(0x150)],_0x5f1362(0x13c),_0xc2f2bd);case _0x5f1362(0x122):{const _0x462d3a=_0x3b43be(this[_0x5f1362(0x134)][_0x5f1362(0x150)],_0x46c8c4?.[_0x5f1362(0x146)]?_0x5f1362(0x161):_0x5f1362(0x16b));return _0x3b43be(this[_0x5f1362(0x134)][_0x5f1362(0x150)],_0x5f1362(0x15c),[_0x462d3a,_0xc2f2bd]);}case _0x5f1362(0x16a):return _0x3b43be(this[_0x5f1362(0x134)][_0x5f1362(0x150)],_0x5f1362(0x12e),_0xc2f2bd);case _0x5f1362(0x136):case _0x5f1362(0x13f):return _0x3b43be(this[_0x5f1362(0x134)][_0x5f1362(0x150)],_0x5f1362(0x152));default:return _0x3b43be(this[_0x5f1362(0x134)][_0x5f1362(0x150)],_0x5f1362(0x174));}}[_0x541559(0x173)](){const _0x584a30=_0x541559,_0x15e73d=new Date(),_0x4a714a=new Date(_0x15e73d[_0x584a30(0x140)](),_0x15e73d[_0x584a30(0x141)](),_0x15e73d[_0x584a30(0x147)]()),_0x2a14c1=new Date(_0x4a714a);_0x2a14c1[_0x584a30(0x131)](_0x2a14c1[_0x584a30(0x147)]()-0x1);const _0xa2df9d=new Date(_0x4a714a);_0xa2df9d[_0x584a30(0x131)](_0xa2df9d[_0x584a30(0x147)]()-0xe);const _0x1944d8=this[_0x584a30(0x12d)][_0x584a30(0x179)]({'pinned':!0x0}),_0x2f7475=this[_0x584a30(0x12d)][_0x584a30(0x179)]({'from':_0x4a714a,'to':_0x4a714a}),_0x7023da=this[_0x584a30(0x12d)][_0x584a30(0x179)]({'from':_0x2a14c1,'to':_0x2a14c1}),_0x83759d=this[_0x584a30(0x12d)][_0x584a30(0x179)]({'from':_0xa2df9d,'to':_0x2a14c1}),_0x32fad2=this[_0x584a30(0x12d)][_0x584a30(0x179)]({'to':_0xa2df9d}),_0x33bd63=[];return _0x1944d8[_0x584a30(0x13a)]>0x0&&_0x33bd63[_0x584a30(0x15a)]({'title':_0x3b43be(this[_0x584a30(0x134)][_0x584a30(0x150)],_0x584a30(0x172)),'items':_0x1944d8}),_0x2f7475[_0x584a30(0x13a)]>0x0&&_0x33bd63[_0x584a30(0x15a)]({'title':_0x3b43be(this[_0x584a30(0x134)][_0x584a30(0x150)],_0x584a30(0x14e)),'items':_0x2f7475}),_0x7023da[_0x584a30(0x13a)]>0x0&&_0x33bd63[_0x584a30(0x15a)]({'title':_0x3b43be(this[_0x584a30(0x134)][_0x584a30(0x150)],_0x584a30(0x164)),'items':_0x7023da}),_0x83759d[_0x584a30(0x13a)]>0x0&&_0x33bd63[_0x584a30(0x15a)]({'title':_0x3b43be(this[_0x584a30(0x134)][_0x584a30(0x150)],_0x584a30(0x126)),'items':_0x83759d}),_0x32fad2[_0x584a30(0x13a)]>0x0&&_0x33bd63[_0x584a30(0x15a)]({'title':_0x3b43be(this[_0x584a30(0x134)][_0x584a30(0x150)],_0x584a30(0x129)),'items':_0x32fad2}),_0x33bd63;}[_0x541559(0x144)](_0x4d4b02){const _0x381f87=_0x541559;this[_0x381f87(0x16c)][_0x381f87(0x171)](_0x4d4b02);}}function _0x46be(){const _0x30024f=['AI_CHAT_HISTORY_ERROR_GENERIC','pluginName','removeConversation','chat','_aiChatController','getItems','requires','_handleRemove','removeHistoryItem','activeConversation','_handleEditTitle','title','420BMmcSp','loadConversation','229476WBugTW','get','change:activeConversation','updateItemTitle','openChat','resize','plugins','resizedTabs','updateItemPinned','handleRemovedConversation','listenTo','1532742ZDuUvl','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','operation','getItem','AI_CHAT_HISTORY_CATEGORY_LATER','_setItemLoading','unpin','updates','history','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','30969adPKZd','updateItemLoadingState','setDate','itemUpdated','editConversationTitle','context','itemId','init','682oDvwXK','_showConversationHistory','2fAkrOB','length','showError','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','getGroupId','setConversationPinned','loadItems','getFullYear','getMonth','_handleHistoryErrorUI','isPremiumPlugin','_setIsMaximized','createdAt','pinned','getDate','_generateErrorMessage','error','AIChatHistoryController','isOfficialPlugin','setLoadingSkeleton','toLocaleDateString','AI_CHAT_HISTORY_CATEGORY_TODAY','3518300RvEoIg','locale','5052mbGVTZ','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','updateItems','_aiConnector','itemRemoved','AI_CHAT_UNTITLED_CONVERSATION','6OcahNK','_handleTogglePin','_handleSelectConversation','push','5016298VOVTcf','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','activateTab:history','itemsLoaded','activateTab','resizeTabs','AI_CHAT_HISTORY_UNPIN_ACTION','_clearItemLoading','pin','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','map','rename','933981bKKgKw','items','remove','removeItem','AI_CHAT_HISTORY_PIN_ACTION','_aiChatHistoryUi','selectConversation','view','_updateHistoryItemsUI','1000CpzJgz','setIsMaximized','AI_CHAT_HISTORY_CATEGORY_PINNED','_getCategorizedItems'];_0x46be=function(){return _0x30024f;};return _0x46be();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x199204=_0x54bb;(function(_0x1f9fdd,_0x499a4d){const _0x123097=_0x54bb,_0x30b45d=_0x1f9fdd();while(!![]){try{const _0x323cbc=parseInt(_0x123097(0x140))/0x1*(-parseInt(_0x123097(0x122))/0x2)+parseInt(_0x123097(0x12b))/0x3*(parseInt(_0x123097(0x125))/0x4)+parseInt(_0x123097(0x137))/0x5*(parseInt(_0x123097(0x12d))/0x6)+parseInt(_0x123097(0x124))/0x7*(parseInt(_0x123097(0x120))/0x8)+-parseInt(_0x123097(0x130))/0x9+parseInt(_0x123097(0x13e))/0xa+-parseInt(_0x123097(0x136))/0xb*(parseInt(_0x123097(0x126))/0xc);if(_0x323cbc===_0x499a4d)break;else _0x30b45d['push'](_0x30b45d['shift']());}catch(_0x5d08af){_0x30b45d['push'](_0x30b45d['shift']());}}}(_0x57a4,0xcf65f));import{ContextPlugin as _0x4c07b4}from'ckeditor5/src/core.js';import{AITabs as _0x130cb6}from'../aitabs/aitabs.js';import{IconAIHistory as _0x10178c}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x264023}from'./ui/aichathistoryview.js';import{getTranslation as _0x436a23}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x199204(0x13a),_0x199204(0x119),_0x199204(0x11b),_0x199204(0x12c),_0x199204(0x13c),_0x199204(0x143),_0x199204(0x121)];export class AIChatHistoryUI extends _0x4c07b4{static get[_0x199204(0x12a)](){return[_0x130cb6];}[_0x199204(0x135)];static get[_0x199204(0x12e)](){const _0x1bad31=_0x199204;return _0x1bad31(0x11f);}static get[_0x199204(0x128)](){return!0x0;}static get[_0x199204(0x11e)](){return!0x0;}constructor(_0x28f936){const _0xf3cd97=_0x199204;super(_0x28f936);const _0xae48e5=this[_0xf3cd97(0x146)][_0xf3cd97(0x142)][_0xf3cd97(0x138)](_0xf3cd97(0x133));this[_0xf3cd97(0x135)]=new _0x264023(this[_0xf3cd97(0x146)][_0xf3cd97(0x11a)],_0xae48e5[_0xf3cd97(0x11c)]),this[_0xf3cd97(0x135)][_0xf3cd97(0x13f)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0xae48e5[_0xf3cd97(0x123)][_0xf3cd97(0x139)]({'id':_0xf3cd97(0x147),'buttonLabel':_0x436a23(this[_0xf3cd97(0x146)][_0xf3cd97(0x11a)],_0xf3cd97(0x129)),'buttonIcon':_0x10178c,'order':0x0,'content':this[_0xf3cd97(0x135)]});}[_0x199204(0x118)](_0x430e8e){const _0x2cf47a=_0x199204;this[_0x2cf47a(0x135)][_0x2cf47a(0x118)](_0x430e8e);}[_0x199204(0x11d)](_0x8a12f){const _0x316d85=_0x199204;this[_0x316d85(0x135)][_0x316d85(0x134)](_0x8a12f);}[_0x199204(0x131)](_0x3a7e72,_0x4a83bb){const _0x467546=_0x199204;this[_0x467546(0x135)][_0x467546(0x131)](_0x3a7e72,_0x4a83bb);}[_0x199204(0x12f)](_0x528610,_0x3395b0,_0x3453c3){const _0xb6785c=_0x199204;this[_0xb6785c(0x135)][_0xb6785c(0x12f)](_0x528610,_0x3395b0,_0x3453c3);}[_0x199204(0x132)](_0xa05e14){const _0x438ba5=_0x199204;this[_0x438ba5(0x135)][_0x438ba5(0x141)]=_0xa05e14;}[_0x199204(0x144)](_0x2d8c17){const _0x55a471=_0x199204;this[_0x55a471(0x135)][_0x55a471(0x145)]=_0x2d8c17;}[_0x199204(0x13b)](){const _0x3ae478=_0x199204;this[_0x3ae478(0x135)][_0x3ae478(0x145)]='';}[_0x199204(0x13d)](_0x2110ec){const _0x4201cd=_0x199204;this[_0x4201cd(0x135)][_0x4201cd(0x127)]=_0x2110ec;}}function _0x54bb(_0x73466e,_0x4ab4e0){const _0x57a4ea=_0x57a4();return _0x54bb=function(_0x54bb4a,_0x1a932c){_0x54bb4a=_0x54bb4a-0x118;let _0x4d233f=_0x57a4ea[_0x54bb4a];return _0x4d233f;},_0x54bb(_0x73466e,_0x4ab4e0);}function _0x57a4(){const _0x19bc3a=['context','history','removeHistoryItem','removeConversation','locale','editConversationTitle','showResizeButton','updateItems','isPremiumPlugin','AIChatHistoryUI','8SyDNBm','resizeTabs','6DVSiLn','view','10123897RYvJcq','324stWTOh','489468AmXuIz','isMaximized','isOfficialPlugin','AI_CHAT_HISTORY_HEADING','requires','52308RcRKUB','setConversationPinned','4049646VMcGhU','pluginName','updateItemLoadingState','6237963CHWPxv','updateItemTitle','setLoadingSkeleton','AITabs','updateHistoryItemsWithCategories','_historyView','737nPMbAz','5gxhOzj','get','addTab','showConversationHistory','hideError','selectConversation','setIsMaximized','16544520kSHTpj','delegate','304169GINAHi','isLoading','plugins','openChat','showError','errorMessage'];_0x57a4=function(){return _0x19bc3a;};return _0x57a4();}
23
+ const _0x1d1c43=_0x2ed1;(function(_0x47c9cc,_0x4d8c0d){const _0x194346=_0x2ed1,_0x41e4fe=_0x47c9cc();while(!![]){try{const _0x53e8d2=-parseInt(_0x194346(0x155))/0x1+-parseInt(_0x194346(0x154))/0x2*(parseInt(_0x194346(0x150))/0x3)+parseInt(_0x194346(0x138))/0x4*(-parseInt(_0x194346(0x13c))/0x5)+parseInt(_0x194346(0x14a))/0x6+-parseInt(_0x194346(0x152))/0x7+-parseInt(_0x194346(0x15a))/0x8+parseInt(_0x194346(0x139))/0x9;if(_0x53e8d2===_0x4d8c0d)break;else _0x41e4fe['push'](_0x41e4fe['shift']());}catch(_0x3e690f){_0x41e4fe['push'](_0x41e4fe['shift']());}}}(_0x47b7,0x465a6));import{ContextPlugin as _0x4a51ee}from'ckeditor5/src/core.js';import{AITabs as _0x44a2a1}from'../aitabs/aitabs.js';import{IconAIHistory as _0x117fbc}from'ckeditor5/src/icons.js';function _0x47b7(){const _0x44b6b4=['plugins','isOfficialPlugin','showError','resizeTabs','updateItems','removeConversation','showConversationHistory','addTab','isMaximized','isPremiumPlugin','2098768cetqJo','16628652FNcvaY','setConversationPinned','pluginName','5cWdsTV','openChat','selectConversation','AI_CHAT_HISTORY_HEADING','editConversationTitle','isLoading','delegate','errorMessage','AITabs','hideError','updateItemTitle','setIsMaximized','history','AIChatHistoryUI','2173014uFfceZ','requires','removeHistoryItem','context','updateItemLoadingState','view','3165vqkesz','setLoadingSkeleton','3593730YBErZR','updateHistoryItemsWithCategories','578mQeQAW','506648CweWuc','_historyView','get','locale','showResizeButton','576048UtumDY'];_0x47b7=function(){return _0x44b6b4;};return _0x47b7();}import{AIChatHistoryView as _0x164cc9}from'./ui/aichathistoryview.js';import{getTranslation as _0x29d6b3}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x1d1c43(0x134),_0x1d1c43(0x133),_0x1d1c43(0x140),_0x1d1c43(0x13a),_0x1d1c43(0x13e),_0x1d1c43(0x13d),_0x1d1c43(0x131)];function _0x2ed1(_0x41614a,_0x2059c5){const _0x47b760=_0x47b7();return _0x2ed1=function(_0x2ed175,_0x3a6859){_0x2ed175=_0x2ed175-0x12f;let _0x2fb05d=_0x47b760[_0x2ed175];return _0x2fb05d;},_0x2ed1(_0x41614a,_0x2059c5);}export class AIChatHistoryUI extends _0x4a51ee{static get[_0x1d1c43(0x14b)](){return[_0x44a2a1];}[_0x1d1c43(0x156)];static get[_0x1d1c43(0x13b)](){const _0x3ef379=_0x1d1c43;return _0x3ef379(0x149);}static get[_0x1d1c43(0x12f)](){return!0x0;}static get[_0x1d1c43(0x137)](){return!0x0;}constructor(_0xe4236){const _0x58e28b=_0x1d1c43;super(_0xe4236);const _0x2df785=this[_0x58e28b(0x14d)][_0x58e28b(0x15b)][_0x58e28b(0x157)](_0x58e28b(0x144));this[_0x58e28b(0x156)]=new _0x164cc9(this[_0x58e28b(0x14d)][_0x58e28b(0x158)],_0x2df785[_0x58e28b(0x159)]),this[_0x58e28b(0x156)][_0x58e28b(0x142)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x2df785[_0x58e28b(0x14f)][_0x58e28b(0x135)]({'id':_0x58e28b(0x148),'buttonLabel':_0x29d6b3(this[_0x58e28b(0x14d)][_0x58e28b(0x158)],_0x58e28b(0x13f)),'buttonIcon':_0x117fbc,'order':0x0,'content':this[_0x58e28b(0x156)]});}[_0x1d1c43(0x14c)](_0x3b434b){const _0x3d6656=_0x1d1c43;this[_0x3d6656(0x156)][_0x3d6656(0x14c)](_0x3b434b);}[_0x1d1c43(0x132)](_0x273d5c){const _0x5369b7=_0x1d1c43;this[_0x5369b7(0x156)][_0x5369b7(0x153)](_0x273d5c);}[_0x1d1c43(0x146)](_0x59a7dc,_0x2d263c){const _0x130945=_0x1d1c43;this[_0x130945(0x156)][_0x130945(0x146)](_0x59a7dc,_0x2d263c);}[_0x1d1c43(0x14e)](_0x780111,_0x363fcc,_0x93e356){const _0xd7716a=_0x1d1c43;this[_0xd7716a(0x156)][_0xd7716a(0x14e)](_0x780111,_0x363fcc,_0x93e356);}[_0x1d1c43(0x151)](_0x5389ba){const _0x3c0fd7=_0x1d1c43;this[_0x3c0fd7(0x156)][_0x3c0fd7(0x141)]=_0x5389ba;}[_0x1d1c43(0x130)](_0x5d8a7c){const _0xc68c10=_0x1d1c43;this[_0xc68c10(0x156)][_0xc68c10(0x143)]=_0x5d8a7c;}[_0x1d1c43(0x145)](){const _0x2bf2b9=_0x1d1c43;this[_0x2bf2b9(0x156)][_0x2bf2b9(0x143)]='';}[_0x1d1c43(0x147)](_0x344cd5){const _0x155b00=_0x1d1c43;this[_0x155b00(0x156)][_0x155b00(0x136)]=_0x344cd5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a68a8=_0x5e57;function _0x5e57(_0x12df14,_0x56447c){const _0x15224d=_0x1522();return _0x5e57=function(_0x5e57a7,_0x24e4ea){_0x5e57a7=_0x5e57a7-0x1e4;let _0x2c7dcf=_0x15224d[_0x5e57a7];return _0x2c7dcf;},_0x5e57(_0x12df14,_0x56447c);}(function(_0x3dfabd,_0x229798){const _0x5a9cbf=_0x5e57,_0x4a9b02=_0x3dfabd();while(!![]){try{const _0x517c3a=-parseInt(_0x5a9cbf(0x1e9))/0x1+parseInt(_0x5a9cbf(0x1eb))/0x2+parseInt(_0x5a9cbf(0x20b))/0x3+-parseInt(_0x5a9cbf(0x20e))/0x4*(parseInt(_0x5a9cbf(0x201))/0x5)+parseInt(_0x5a9cbf(0x1f3))/0x6+parseInt(_0x5a9cbf(0x1f9))/0x7+parseInt(_0x5a9cbf(0x210))/0x8*(-parseInt(_0x5a9cbf(0x1f6))/0x9);if(_0x517c3a===_0x229798)break;else _0x4a9b02['push'](_0x4a9b02['shift']());}catch(_0x5dcde0){_0x4a9b02['push'](_0x4a9b02['shift']());}}}(_0x1522,0x98255));import{EmitterMixin as _0x250ac4}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x431e5b}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x250ac4(){[_0x2a68a8(0x1f5)]=[];[_0x2a68a8(0x203)];[_0x2a68a8(0x1fe)];constructor({connector:_0x46ef2f,group:_0x5eedf2}){const _0x41b839=_0x2a68a8;super(),this[_0x41b839(0x203)]=_0x46ef2f,this[_0x41b839(0x1fe)]=_0x5eedf2;}async[_0x2a68a8(0x1ea)](){const _0x377a77=_0x2a68a8;try{const _0x3477e2=this[_0x377a77(0x203)][_0x377a77(0x205)](this[_0x377a77(0x1fe)]),_0x7a4b3=await _0x3477e2[_0x377a77(0x208)]();this[_0x377a77(0x20f)](_0x7a4b3);}catch(_0x2d7d2c){this[_0x377a77(0x211)](_0x377a77(0x1e5),{'error':_0x2d7d2c,'operation':_0x377a77(0x1ea)});}}[_0x2a68a8(0x209)](_0x4d2776){const _0x34c211=_0x2a68a8;this[_0x34c211(0x1f5)][_0x34c211(0x1ef)](_0x4d2776);}async[_0x2a68a8(0x1e6)](_0x212c17){const _0x4a0080=_0x2a68a8,_0x3dae07=this[_0x4a0080(0x1f5)][_0x4a0080(0x206)](_0x11a130=>_0x11a130['id']===_0x212c17);if(-0x1===_0x3dae07)return!0x1;try{return await this[_0x4a0080(0x203)][_0x4a0080(0x200)](_0x212c17)[_0x4a0080(0x20a)](),this[_0x4a0080(0x1f5)][_0x4a0080(0x1fb)](_0x3dae07,0x1),this[_0x4a0080(0x211)](_0x4a0080(0x20c),{'itemId':_0x212c17}),!0x0;}catch(_0xf3a7c5){return this[_0x4a0080(0x211)](_0x4a0080(0x1e5),{'error':_0xf3a7c5,'operation':_0x4a0080(0x1e6),'itemId':_0x212c17}),!0x1;}}[_0x2a68a8(0x20d)](_0x2fa844){const _0x435e59=_0x2a68a8;return this[_0x435e59(0x1f5)][_0x435e59(0x1f1)](_0x3648c8=>_0x3648c8['id']===_0x2fa844);}async[_0x2a68a8(0x1fc)](_0x10ac75,_0xfb1b18){const _0x4ffd08=_0x2a68a8,_0x388de9=this[_0x4ffd08(0x20d)](_0x10ac75);if(!_0x388de9)return!0x1;try{return await this[_0x4ffd08(0x203)][_0x4ffd08(0x1fd)](_0x10ac75,{'title':_0xfb1b18})[_0x4ffd08(0x1ee)](),_0x388de9[_0x4ffd08(0x204)](_0xfb1b18),this[_0x4ffd08(0x211)](_0x4ffd08(0x1e7),{'itemId':_0x10ac75,'updates':{'title':_0xfb1b18}}),!0x0;}catch(_0x40100e){return this[_0x4ffd08(0x211)](_0x4ffd08(0x1e5),{'error':_0x40100e,'operation':_0x4ffd08(0x1fc),'itemId':_0x10ac75}),!0x1;}}async[_0x2a68a8(0x1f2)](_0xdc4d16,_0x55b429){const _0x4a9b89=_0x2a68a8,_0x22eeee=this[_0x4a9b89(0x20d)](_0xdc4d16);if(!_0x22eeee)return!0x1;try{return await this[_0x4a9b89(0x203)][_0x4a9b89(0x1fd)](_0xdc4d16,{'pinned':_0x55b429})[_0x4a9b89(0x1ee)](),_0x22eeee[_0x4a9b89(0x1f7)](_0x55b429),this[_0x4a9b89(0x211)](_0x4a9b89(0x1e7),{'itemId':_0xdc4d16,'updates':{'pinned':_0x55b429}}),!0x0;}catch(_0x21be2a){return this[_0x4a9b89(0x211)](_0x4a9b89(0x1e5),{'error':_0x21be2a,'operation':_0x4a9b89(0x1f2),'itemId':_0xdc4d16}),!0x1;}}[_0x2a68a8(0x20f)](_0x253ec6){const _0x351cb8=_0x2a68a8;try{this[_0x351cb8(0x1f5)]=[],_0x253ec6[_0x351cb8(0x1e4)](_0x6584=>{const _0x45ff43=_0x351cb8;this[_0x45ff43(0x209)](new _0x431e5b(_0x6584));}),this[_0x351cb8(0x211)](_0x351cb8(0x207),{'items':[...this[_0x351cb8(0x1f5)]]});}catch(_0x2a8d46){this[_0x351cb8(0x211)](_0x351cb8(0x1e5),{'error':_0x2a8d46,'operation':_0x351cb8(0x20f)});}}[_0x2a68a8(0x1ff)](_0x20812b={}){const _0x4d8c77=_0x2a68a8,_0x349783=void 0x0!==_0x20812b[_0x4d8c77(0x1e8)]&&_0x20812b[_0x4d8c77(0x1e8)],_0x165d77=_0x20812b[_0x4d8c77(0x202)]?new Date(_0x20812b[_0x4d8c77(0x202)][_0x4d8c77(0x1f8)](),_0x20812b[_0x4d8c77(0x202)][_0x4d8c77(0x1f4)](),_0x20812b[_0x4d8c77(0x202)][_0x4d8c77(0x1ed)]()):null,_0x5ea1d6=_0x20812b['to']?new Date(_0x20812b['to'][_0x4d8c77(0x1f8)](),_0x20812b['to'][_0x4d8c77(0x1f4)](),_0x20812b['to'][_0x4d8c77(0x1ed)]()):null;return this[_0x4d8c77(0x1f5)][_0x4d8c77(0x1f0)](_0x14c190=>{const _0x509f01=_0x4d8c77;if(_0x14c190[_0x509f01(0x1e8)]!==_0x349783)return!0x1;if(_0x5ea1d6){const _0x23c419=new Date(_0x14c190[_0x509f01(0x1ec)][_0x509f01(0x1f8)](),_0x14c190[_0x509f01(0x1ec)][_0x509f01(0x1f4)](),_0x14c190[_0x509f01(0x1ec)][_0x509f01(0x1ed)]());return _0x165d77?_0x165d77[_0x509f01(0x1fa)]()===_0x5ea1d6[_0x509f01(0x1fa)]()?_0x23c419[_0x509f01(0x1fa)]()===_0x165d77[_0x509f01(0x1fa)]():_0x23c419<_0x5ea1d6&&_0x23c419>=_0x165d77:_0x23c419<_0x5ea1d6;}return!0x0;});}}function _0x1522(){const _0x1e3a23=['error','removeItem','itemUpdated','pinned','327939WytPkh','init','2297248EipFTN','createdAt','getDate','getResult','push','filter','find','updateItemPinned','3181656VGBAwi','getMonth','items','17743284GihWEu','updatePinned','getFullYear','4613014javTgt','getTime','splice','updateItemTitle','updateConversation','group','getItems','deleteConversation','5195AFidLe','from','connector','updateTitle','fetchConversations','findIndex','itemsLoaded','getConversations','addItem','execute','2695440dzXcOh','itemRemoved','getItem','1208icDlet','loadItems','8kUhvvp','fire','map'];_0x1522=function(){return _0x1e3a23;};return _0x1522();}
23
+ const _0xce7c8d=_0x4066;function _0x24b3(){const _0x29dfcf=['itemsLoaded','splice','getConversations','4631733somWze','updateItemPinned','updateItemTitle','updateConversation','addItem','6979550rIbnrV','443008SJotym','error','itemRemoved','group','getItems','init','execute','updateTitle','map','itemUpdated','find','3704967uTezSz','createdAt','getMonth','fire','fetchConversations','1694040yDyZVJ','loadItems','8CNkIQW','pinned','removeItem','connector','getResult','from','push','getDate','getItem','findIndex','36FacJBI','5268240lgrOMo','getFullYear','deleteConversation','getTime','filter','updatePinned','1736616kzziSp','4WKeePK','items'];_0x24b3=function(){return _0x29dfcf;};return _0x24b3();}(function(_0x382ccf,_0x3b57bc){const _0x2a45be=_0x4066,_0x493344=_0x382ccf();while(!![]){try{const _0x4ed64c=parseInt(_0x2a45be(0x9d))/0x1+parseInt(_0x2a45be(0xc0))/0x2+parseInt(_0x2a45be(0x97))/0x3*(parseInt(_0x2a45be(0x92))/0x4)+parseInt(_0x2a45be(0xba))/0x5+parseInt(_0x2a45be(0xad))/0x6+parseInt(_0x2a45be(0xa8))/0x7*(-parseInt(_0x2a45be(0xaf))/0x8)+parseInt(_0x2a45be(0xb9))/0x9*(-parseInt(_0x2a45be(0x9c))/0xa);if(_0x4ed64c===_0x3b57bc)break;else _0x493344['push'](_0x493344['shift']());}catch(_0x19aaaf){_0x493344['push'](_0x493344['shift']());}}}(_0x24b3,0xd46e2));function _0x4066(_0x3e8c68,_0x1a0081){const _0x24b324=_0x24b3();return _0x4066=function(_0x4066f0,_0x78a20d){_0x4066f0=_0x4066f0-0x92;let _0x3cd65a=_0x24b324[_0x4066f0];return _0x3cd65a;},_0x4066(_0x3e8c68,_0x1a0081);}import{EmitterMixin as _0xa4c188}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x48a0dc}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0xa4c188(){[_0xce7c8d(0x93)]=[];[_0xce7c8d(0xb2)];[_0xce7c8d(0xa0)];constructor({connector:_0x15d42f,group:_0x283f80}){const _0x2dfddb=_0xce7c8d;super(),this[_0x2dfddb(0xb2)]=_0x15d42f,this[_0x2dfddb(0xa0)]=_0x283f80;}async[_0xce7c8d(0xa2)](){const _0x2beb01=_0xce7c8d;try{const _0x136bc3=this[_0x2beb01(0xb2)][_0x2beb01(0xac)](this[_0x2beb01(0xa0)]),_0x1426bd=await _0x136bc3[_0x2beb01(0x96)]();this[_0x2beb01(0xae)](_0x1426bd);}catch(_0x3ae2b7){this[_0x2beb01(0xab)](_0x2beb01(0x9e),{'error':_0x3ae2b7,'operation':_0x2beb01(0xa2)});}}[_0xce7c8d(0x9b)](_0x561486){const _0x203b36=_0xce7c8d;this[_0x203b36(0x93)][_0x203b36(0xb5)](_0x561486);}async[_0xce7c8d(0xb1)](_0xf4f7f4){const _0x4986ca=_0xce7c8d,_0x50ff3a=this[_0x4986ca(0x93)][_0x4986ca(0xb8)](_0x20f943=>_0x20f943['id']===_0xf4f7f4);if(-0x1===_0x50ff3a)return!0x1;try{return await this[_0x4986ca(0xb2)][_0x4986ca(0xbc)](_0xf4f7f4)[_0x4986ca(0xa3)](),this[_0x4986ca(0x93)][_0x4986ca(0x95)](_0x50ff3a,0x1),this[_0x4986ca(0xab)](_0x4986ca(0x9f),{'itemId':_0xf4f7f4}),!0x0;}catch(_0x56892d){return this[_0x4986ca(0xab)](_0x4986ca(0x9e),{'error':_0x56892d,'operation':_0x4986ca(0xb1),'itemId':_0xf4f7f4}),!0x1;}}[_0xce7c8d(0xb7)](_0x27d73c){const _0x334361=_0xce7c8d;return this[_0x334361(0x93)][_0x334361(0xa7)](_0x35e093=>_0x35e093['id']===_0x27d73c);}async[_0xce7c8d(0x99)](_0x570feb,_0x1aa6f7){const _0x2b29b1=_0xce7c8d,_0x24045a=this[_0x2b29b1(0xb7)](_0x570feb);if(!_0x24045a)return!0x1;try{return await this[_0x2b29b1(0xb2)][_0x2b29b1(0x9a)](_0x570feb,{'title':_0x1aa6f7})[_0x2b29b1(0xb3)](),_0x24045a[_0x2b29b1(0xa4)](_0x1aa6f7),this[_0x2b29b1(0xab)](_0x2b29b1(0xa6),{'itemId':_0x570feb,'updates':{'title':_0x1aa6f7}}),!0x0;}catch(_0x33c75e){return this[_0x2b29b1(0xab)](_0x2b29b1(0x9e),{'error':_0x33c75e,'operation':_0x2b29b1(0x99),'itemId':_0x570feb}),!0x1;}}async[_0xce7c8d(0x98)](_0x23f5d4,_0xc9895c){const _0x229c76=_0xce7c8d,_0x35cf96=this[_0x229c76(0xb7)](_0x23f5d4);if(!_0x35cf96)return!0x1;try{return await this[_0x229c76(0xb2)][_0x229c76(0x9a)](_0x23f5d4,{'pinned':_0xc9895c})[_0x229c76(0xb3)](),_0x35cf96[_0x229c76(0xbf)](_0xc9895c),this[_0x229c76(0xab)](_0x229c76(0xa6),{'itemId':_0x23f5d4,'updates':{'pinned':_0xc9895c}}),!0x0;}catch(_0x9be08b){return this[_0x229c76(0xab)](_0x229c76(0x9e),{'error':_0x9be08b,'operation':_0x229c76(0x98),'itemId':_0x23f5d4}),!0x1;}}[_0xce7c8d(0xae)](_0x31be52){const _0x3d5c9d=_0xce7c8d;try{this[_0x3d5c9d(0x93)]=[],_0x31be52[_0x3d5c9d(0xa5)](_0x230b75=>{const _0x5580e7=_0x3d5c9d;this[_0x5580e7(0x9b)](new _0x48a0dc(_0x230b75));}),this[_0x3d5c9d(0xab)](_0x3d5c9d(0x94),{'items':[...this[_0x3d5c9d(0x93)]]});}catch(_0x42604d){this[_0x3d5c9d(0xab)](_0x3d5c9d(0x9e),{'error':_0x42604d,'operation':_0x3d5c9d(0xae)});}}[_0xce7c8d(0xa1)](_0x2e55a6={}){const _0x5a36df=_0xce7c8d,_0x147cc4=void 0x0!==_0x2e55a6[_0x5a36df(0xb0)]&&_0x2e55a6[_0x5a36df(0xb0)],_0x18a5d8=_0x2e55a6[_0x5a36df(0xb4)]?new Date(_0x2e55a6[_0x5a36df(0xb4)][_0x5a36df(0xbb)](),_0x2e55a6[_0x5a36df(0xb4)][_0x5a36df(0xaa)](),_0x2e55a6[_0x5a36df(0xb4)][_0x5a36df(0xb6)]()):null,_0xd8c623=_0x2e55a6['to']?new Date(_0x2e55a6['to'][_0x5a36df(0xbb)](),_0x2e55a6['to'][_0x5a36df(0xaa)](),_0x2e55a6['to'][_0x5a36df(0xb6)]()):null;return this[_0x5a36df(0x93)][_0x5a36df(0xbe)](_0x5603d6=>{const _0x251e8c=_0x5a36df;if(_0x5603d6[_0x251e8c(0xb0)]!==_0x147cc4)return!0x1;if(_0xd8c623){const _0x4ad969=new Date(_0x5603d6[_0x251e8c(0xa9)][_0x251e8c(0xbb)](),_0x5603d6[_0x251e8c(0xa9)][_0x251e8c(0xaa)](),_0x5603d6[_0x251e8c(0xa9)][_0x251e8c(0xb6)]());return _0x18a5d8?_0x18a5d8[_0x251e8c(0xbd)]()===_0xd8c623[_0x251e8c(0xbd)]()?_0x4ad969[_0x251e8c(0xbd)]()===_0x18a5d8[_0x251e8c(0xbd)]():_0x4ad969<_0xd8c623&&_0x4ad969>=_0x18a5d8:_0x4ad969<_0xd8c623;}return!0x0;});}}