@ckeditor/ckeditor5-ai 47.7.4 → 47.7.5

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 (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4ae542,IconView as _0x31c6f4,LabeledFieldView as _0xcc57ce,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x16a577,IconCancel as _0xc615dd}from'ckeditor5/src/icons.js';import{getTranslation as _0x5144b6}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0xcc57ce{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x2ce718){const t=_0x2ce718['t'],_0x384f83={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x5144b6(_0x2ce718,'AI_CHAT_SEARCH_RESOURCES')};super(_0x2ce718,_0x384f83['creator']),this['label']=_0x384f83['label'],this['_viewConfig']=_0x384f83,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x2ce718,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x24d9b8){this['fire']('search',_0x24d9b8);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x31c6f4(),this['iconView']['content']=_0x16a577,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x172c81,t){this['resetButtonView']=new _0x4ae542(_0x172c81),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0xc615dd,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x3ab999=>!_0x3ab999),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
23
+ import{ButtonView as _0x36d2c3,IconView as _0x19ce66,LabeledFieldView as _0x5c14ef,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x590342,IconCancel as _0x4e1881}from'ckeditor5/src/icons.js';import{getTranslation as _0xece3d0}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x5c14ef{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x2bc67b){const t=_0x2bc67b['t'],_0x288bce={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0xece3d0(_0x2bc67b,'AI_CHAT_SEARCH_RESOURCES')};super(_0x2bc67b,_0x288bce['creator']),this['label']=_0x288bce['label'],this['_viewConfig']=_0x288bce,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x2bc67b,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x4cdaa7){this['fire']('search',_0x4cdaa7);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x19ce66(),this['iconView']['content']=_0x590342,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x10ffa2,t){this['resetButtonView']=new _0x36d2c3(_0x10ffa2),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x4e1881,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x262369=>!_0x262369),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3775(_0x38418d,_0x7fe7ce){const _0x249b44=_0x249b();return _0x3775=function(_0x37758f,_0x531931){_0x37758f=_0x37758f-0x128;let _0x475ec8=_0x249b44[_0x37758f];return _0x475ec8;},_0x3775(_0x38418d,_0x7fe7ce);}function _0x249b(){const _0xbb58ce=['setTemplate','ck-ai-chat__feed__context-chips','div','add','1438732BorXNn','ck-ai-chat-controls-button','3966588zZQpEs','ck-ai-chat-controls_context_show-more-button','querySelector','ck-reset_all','689859lkKMZR','ck-ai-chat-context-chips-wrapper-balloon','locale','3729105Lnejyt','reorganizeChips','623943AZRADo','setContainerElement','_contextChips','_createContextChips','_bodyCollection','_overflowManager','render','element','createCollection','ck-ai-chat-context-chips-wrapper','2839640aHpHJU','251610NKLuoX','2txpgca','destroy','ck-ai-chat-context-controls__show-more-balloon-panel','133jgztcR'];_0x249b=function(){return _0xbb58ce;};return _0x249b();}const _0x5e8512=_0x3775;(function(_0xc09dd9,_0x2f3249){const _0x270c47=_0x3775,_0x5ad030=_0xc09dd9();while(!![]){try{const _0x13c9ff=parseInt(_0x270c47(0x12c))/0x1+parseInt(_0x270c47(0x138))/0x2*(parseInt(_0x270c47(0x146))/0x3)+-parseInt(_0x270c47(0x140))/0x4+-parseInt(_0x270c47(0x12a))/0x5+-parseInt(_0x270c47(0x137))/0x6*(-parseInt(_0x270c47(0x13b))/0x7)+parseInt(_0x270c47(0x136))/0x8+-parseInt(_0x270c47(0x142))/0x9;if(_0x13c9ff===_0x2f3249)break;else _0x5ad030['push'](_0x5ad030['shift']());}catch(_0x4c4cb0){_0x5ad030['push'](_0x5ad030['shift']());}}}(_0x249b,0x70274));import{View as _0x5a5def}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x3658fd}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x503e36}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x5e8512(0x13d),cc=_0x5e8512(0x135),rc=_0x5e8512(0x128),jo=_0x5e8512(0x141),Xo=_0x5e8512(0x143),yo=_0x5e8512(0x13a);export class AIChatFeedContextChipsView extends _0x5a5def{[_0x5e8512(0x12e)]=this[_0x5e8512(0x134)]();[_0x5e8512(0x131)];[_0x5e8512(0x130)];constructor(_0x5ca035,_0x59ac80,_0x3e826a){const _0x3089c0=_0x5e8512;super(_0x5ca035),this[_0x3089c0(0x130)]=_0x3e826a,this[_0x3089c0(0x12f)](_0x59ac80);const _0x28731f={'cssClasses':{'showMoreButton':Xo,'showMoreBalloon':yo,'overflowContainer':rc,'controlsButton':jo}};this[_0x3089c0(0x131)]=new _0x503e36(_0x5ca035,this[_0x3089c0(0x12e)],_0x28731f,this[_0x3089c0(0x130)],this),this[_0x3089c0(0x13c)]({'tag':_0x3089c0(0x13e),'attributes':{'class':[oc,'ck',_0x3089c0(0x145)]},'children':[{'tag':_0x3089c0(0x13e),'attributes':{'class':cc},'children':this[_0x3089c0(0x12e)]}]});}[_0x5e8512(0x132)](){const _0x5583ed=_0x5e8512;super[_0x5583ed(0x132)]();const _0x225ca1=this[_0x5583ed(0x133)][_0x5583ed(0x144)]('.'+cc);_0x225ca1&&(this[_0x5583ed(0x131)][_0x5583ed(0x12d)](_0x225ca1),this[_0x5583ed(0x131)][_0x5583ed(0x12b)]());}[_0x5e8512(0x139)](){const _0x47beba=_0x5e8512;super[_0x47beba(0x139)](),this[_0x47beba(0x131)][_0x47beba(0x139)]();}[_0x5e8512(0x12f)](_0x245880){const _0x43aac4=_0x5e8512;for(const _0x1d6753 of _0x245880){const _0xef8ea7=new _0x3658fd(this[_0x43aac4(0x129)],_0x1d6753,!0x0,!0x1);this[_0x43aac4(0x12e)][_0x43aac4(0x13f)](_0xef8ea7);}}}
23
+ const _0x174aed=_0x22ca;(function(_0x26bde8,_0x3e7766){const _0x3234ee=_0x22ca,_0x567b09=_0x26bde8();while(!![]){try{const _0x1c20d5=-parseInt(_0x3234ee(0x1e1))/0x1+-parseInt(_0x3234ee(0x1dd))/0x2*(-parseInt(_0x3234ee(0x1e4))/0x3)+parseInt(_0x3234ee(0x1e0))/0x4*(parseInt(_0x3234ee(0x1e8))/0x5)+parseInt(_0x3234ee(0x1db))/0x6+parseInt(_0x3234ee(0x1d4))/0x7*(parseInt(_0x3234ee(0x1e2))/0x8)+-parseInt(_0x3234ee(0x1c9))/0x9*(-parseInt(_0x3234ee(0x1d1))/0xa)+-parseInt(_0x3234ee(0x1cd))/0xb*(parseInt(_0x3234ee(0x1d5))/0xc);if(_0x1c20d5===_0x3e7766)break;else _0x567b09['push'](_0x567b09['shift']());}catch(_0x37a6a7){_0x567b09['push'](_0x567b09['shift']());}}}(_0x4d1d,0x40628));import{View as _0x25f0e5}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x4ff38f}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x53a721}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x174aed(0x1ca),cc=_0x174aed(0x1e6),rc=_0x174aed(0x1cf),Mo=_0x174aed(0x1cc),jo=_0x174aed(0x1ce),Fo=_0x174aed(0x1c7);function _0x22ca(_0x464edc,_0x5f3ea5){const _0x4d1d5b=_0x4d1d();return _0x22ca=function(_0x22cafc,_0x2d32ed){_0x22cafc=_0x22cafc-0x1c7;let _0x155d12=_0x4d1d5b[_0x22cafc];return _0x155d12;},_0x22ca(_0x464edc,_0x5f3ea5);}function _0x4d1d(){const _0x540f6b=['div','689355QDQaSJ','ck-ai-chat-context-controls__show-more-balloon-panel','element','54oxNytq','ck-ai-chat__feed__context-chips','_bodyCollection','ck-ai-chat-controls-button','4505369ObDgDm','ck-ai-chat-controls_context_show-more-button','ck-ai-chat-context-chips-wrapper-balloon','reorganizeChips','271790xZJEIC','setTemplate','_createContextChips','14119jWhHEs','12QukgJf','querySelector','locale','ck-reset_all','render','createCollection','258714rONHCa','_overflowManager','207146yOLtwl','add','_contextChips','4aeXtep','337888gkkxvz','592tBDGRt','destroy','15hmwqYh','setContainerElement','ck-ai-chat-context-chips-wrapper'];_0x4d1d=function(){return _0x540f6b;};return _0x4d1d();}export class AIChatFeedContextChipsView extends _0x25f0e5{[_0x174aed(0x1df)]=this[_0x174aed(0x1da)]();[_0x174aed(0x1dc)];[_0x174aed(0x1cb)];constructor(_0x121baa,_0x368254,_0x2baf97){const _0x54e53c=_0x174aed;super(_0x121baa),this[_0x54e53c(0x1cb)]=_0x2baf97,this[_0x54e53c(0x1d3)](_0x368254);const _0x2323c1={'cssClasses':{'showMoreButton':jo,'showMoreBalloon':Fo,'overflowContainer':rc,'controlsButton':Mo}};this[_0x54e53c(0x1dc)]=new _0x53a721(_0x121baa,this[_0x54e53c(0x1df)],_0x2323c1,this[_0x54e53c(0x1cb)],this),this[_0x54e53c(0x1d2)]({'tag':_0x54e53c(0x1e7),'attributes':{'class':[oc,'ck',_0x54e53c(0x1d8)]},'children':[{'tag':_0x54e53c(0x1e7),'attributes':{'class':cc},'children':this[_0x54e53c(0x1df)]}]});}[_0x174aed(0x1d9)](){const _0xd5672e=_0x174aed;super[_0xd5672e(0x1d9)]();const _0x390104=this[_0xd5672e(0x1c8)][_0xd5672e(0x1d6)]('.'+cc);_0x390104&&(this[_0xd5672e(0x1dc)][_0xd5672e(0x1e5)](_0x390104),this[_0xd5672e(0x1dc)][_0xd5672e(0x1d0)]());}[_0x174aed(0x1e3)](){const _0xa1bb93=_0x174aed;super[_0xa1bb93(0x1e3)](),this[_0xa1bb93(0x1dc)][_0xa1bb93(0x1e3)]();}[_0x174aed(0x1d3)](_0x42f579){const _0x29055a=_0x174aed;for(const _0x4652b2 of _0x42f579){const _0x4a5add=new _0x4ff38f(this[_0x29055a(0x1d7)],_0x4652b2,!0x0,!0x1);this[_0x29055a(0x1df)][_0x29055a(0x1de)](_0x4a5add);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x11e7(_0x275174,_0x1bd787){var _0x2a15f4=_0x2a15();return _0x11e7=function(_0x11e759,_0x5cd336){_0x11e759=_0x11e759-0x107;var _0x3f508a=_0x2a15f4[_0x11e759];return _0x3f508a;},_0x11e7(_0x275174,_0x1bd787);}var _0x519c50=_0x11e7;(function(_0x41d5f1,_0x163430){var _0x1e83e3=_0x11e7,_0x2d6b0b=_0x41d5f1();while(!![]){try{var _0x3590bd=-parseInt(_0x1e83e3(0x10c))/0x1*(-parseInt(_0x1e83e3(0x113))/0x2)+parseInt(_0x1e83e3(0x109))/0x3*(-parseInt(_0x1e83e3(0x119))/0x4)+-parseInt(_0x1e83e3(0x108))/0x5*(parseInt(_0x1e83e3(0x10e))/0x6)+parseInt(_0x1e83e3(0x107))/0x7*(-parseInt(_0x1e83e3(0x10b))/0x8)+parseInt(_0x1e83e3(0x116))/0x9+-parseInt(_0x1e83e3(0x117))/0xa*(-parseInt(_0x1e83e3(0x11a))/0xb)+parseInt(_0x1e83e3(0x10a))/0xc*(-parseInt(_0x1e83e3(0x11b))/0xd);if(_0x3590bd===_0x163430)break;else _0x2d6b0b['push'](_0x2d6b0b['shift']());}catch(_0x43c801){_0x2d6b0b['push'](_0x2d6b0b['shift']());}}}(_0x2a15,0xe8242));function _0x2a15(){var _0x12f230=['innerHTML','2966780kvfArf','extendTemplate','options','14173776hlYVdb','10ZTiSAw','element','160692zNHeCH','13146617RhInKA','2713633LDRmbx','ck-ai-chat__feed__custom-element','1757NtJHeb','3839600oRVbhR','66wAoAih','48QgHlsv','1528iPcwUq','1HaWgsD','appendChild','12xlIILQ','content','render','string'];_0x2a15=function(){return _0x12f230;};return _0x2a15();}import{AIChatFeedItemView as _0x3169ae}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x3169ae{constructor(_0x4e1900){var _0x3ca659=_0x11e7;super(_0x4e1900),this[_0x3ca659(0x114)]({'attributes':{'class':[_0x3ca659(0x11c)]}});}async[_0x519c50(0x110)](){var _0x3dc524=_0x519c50;super[_0x3dc524(0x110)](),_0x3dc524(0x111)==typeof this[_0x3dc524(0x115)][_0x3dc524(0x10f)]?this[_0x3dc524(0x118)][_0x3dc524(0x112)]=this[_0x3dc524(0x115)][_0x3dc524(0x10f)]:this[_0x3dc524(0x118)][_0x3dc524(0x10d)](this[_0x3dc524(0x115)][_0x3dc524(0x10f)]);}}
23
+ var _0xdf5367=_0x3e7c;function _0x3e7c(_0x440767,_0x2630af){var _0x12cd23=_0x12cd();return _0x3e7c=function(_0x3e7cf8,_0x4b8f2c){_0x3e7cf8=_0x3e7cf8-0x1d3;var _0x30c37e=_0x12cd23[_0x3e7cf8];return _0x30c37e;},_0x3e7c(_0x440767,_0x2630af);}(function(_0x4b22b1,_0x23b67f){var _0x2747db=_0x3e7c,_0x39a8b4=_0x4b22b1();while(!![]){try{var _0x4d0712=-parseInt(_0x2747db(0x1e7))/0x1*(-parseInt(_0x2747db(0x1df))/0x2)+parseInt(_0x2747db(0x1e0))/0x3*(-parseInt(_0x2747db(0x1e5))/0x4)+-parseInt(_0x2747db(0x1e1))/0x5*(parseInt(_0x2747db(0x1de))/0x6)+-parseInt(_0x2747db(0x1e4))/0x7*(parseInt(_0x2747db(0x1d4))/0x8)+parseInt(_0x2747db(0x1d8))/0x9*(-parseInt(_0x2747db(0x1dc))/0xa)+-parseInt(_0x2747db(0x1db))/0xb*(-parseInt(_0x2747db(0x1d3))/0xc)+parseInt(_0x2747db(0x1d9))/0xd;if(_0x4d0712===_0x23b67f)break;else _0x39a8b4['push'](_0x39a8b4['shift']());}catch(_0x46e364){_0x39a8b4['push'](_0x39a8b4['shift']());}}}(_0x12cd,0xd2f75));import{AIChatFeedItemView as _0x1d8cb4}from'./aichatfeeditemview.js';function _0x12cd(){var _0x3b814e=['488wUTMzu','element','render','extendTemplate','6139170RkVOVb','36646896KEOPjJ','appendChild','11ppFXWA','10XRrZPs','content','6zOEkHs','502AxZZqM','10551elcCJn','5676665OUJEbK','ck-ai-chat__feed__custom-element','options','198254Vurflk','1756nxdfaU','innerHTML','6131dynXbz','string','19143744EYtsVm'];_0x12cd=function(){return _0x3b814e;};return _0x12cd();}export class AIChatFeedCustomElementView extends _0x1d8cb4{constructor(_0x2ede0e){var _0x26c013=_0x3e7c;super(_0x2ede0e),this[_0x26c013(0x1d7)]({'attributes':{'class':[_0x26c013(0x1e2)]}});}async[_0xdf5367(0x1d6)](){var _0xd5a919=_0xdf5367;super[_0xd5a919(0x1d6)](),_0xd5a919(0x1e8)==typeof this[_0xd5a919(0x1e3)][_0xd5a919(0x1dd)]?this[_0xd5a919(0x1d5)][_0xd5a919(0x1e6)]=this[_0xd5a919(0x1e3)][_0xd5a919(0x1dd)]:this[_0xd5a919(0x1d5)][_0xd5a919(0x1da)](this[_0xd5a919(0x1e3)][_0xd5a919(0x1dd)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x54c28b=_0x5041;(function(_0x28e1d0,_0x3536d4){var _0x4d6a5a=_0x5041,_0xefbe35=_0x28e1d0();while(!![]){try{var _0x3bdfa3=parseInt(_0x4d6a5a(0xe4))/0x1*(-parseInt(_0x4d6a5a(0xdb))/0x2)+-parseInt(_0x4d6a5a(0xdf))/0x3*(parseInt(_0x4d6a5a(0xe6))/0x4)+parseInt(_0x4d6a5a(0xd7))/0x5+parseInt(_0x4d6a5a(0xd2))/0x6+-parseInt(_0x4d6a5a(0xde))/0x7*(parseInt(_0x4d6a5a(0xdc))/0x8)+-parseInt(_0x4d6a5a(0xd0))/0x9*(-parseInt(_0x4d6a5a(0xe1))/0xa)+parseInt(_0x4d6a5a(0xe3))/0xb;if(_0x3bdfa3===_0x3536d4)break;else _0xefbe35['push'](_0xefbe35['shift']());}catch(_0x4117e){_0xefbe35['push'](_0xefbe35['shift']());}}}(_0x3c9c,0x419e8));function _0x5041(_0x4f488f,_0x99faa2){var _0x3c9c7a=_0x3c9c();return _0x5041=function(_0x504179,_0x4e6892){_0x504179=_0x504179-0xcf;var _0x29e58c=_0x3c9c7a[_0x504179];return _0x29e58c;},_0x5041(_0x4f488f,_0x99faa2);}import{AIChatFeedItemView as _0x38c5d7}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x38c5d7{constructor(_0x48d215){var _0xd43db=_0x5041;super(_0x48d215),this[_0xd43db(0xe0)]({'attributes':{'class':[_0xd43db(0xd8),_0xd43db(0xd1)===_0x48d215[_0xd43db(0xda)]?_0xd43db(0xd9):_0xd43db(0xe5)]}});}[_0x54c28b(0xd4)](){var _0x155bd3=_0x54c28b;super[_0x155bd3(0xd4)](),this[_0x155bd3(0xdd)](this[_0x155bd3(0xcf)][_0x155bd3(0xd6)]),this[_0x155bd3(0xe2)]();}[_0x54c28b(0xdd)](_0x2fdb86){var _0x2774db=_0x54c28b;this[_0x2774db(0xd3)][_0x2774db(0xd5)]=_0x2fdb86;}}function _0x3c9c(){var _0x50a086=['level','430280tGTfyd','43288jQrdvu','setContent','441GrsCZR','1218jvOfij','extendTemplate','10VDeFCb','markAsDone','5240598MHCYTe','2GrboZk','ck-ai-notification_error','2540FhxOaZ','options','2610369FZMrRO','warning','3059358UCapzT','element','render','innerHTML','initialContent','107035IyIqrw','ck-ai-notification','ck-ai-notification_warning'];_0x3c9c=function(){return _0x50a086;};return _0x3c9c();}
23
+ var _0x411ac3=_0x43e2;function _0x43e2(_0x476484,_0x326286){var _0x1f5925=_0x1f59();return _0x43e2=function(_0x43e2a6,_0x7110fd){_0x43e2a6=_0x43e2a6-0x12f;var _0x164eb6=_0x1f5925[_0x43e2a6];return _0x164eb6;},_0x43e2(_0x476484,_0x326286);}(function(_0x23d722,_0x25e2c1){var _0x3c1330=_0x43e2,_0x407caa=_0x23d722();while(!![]){try{var _0x55be75=parseInt(_0x3c1330(0x137))/0x1*(parseInt(_0x3c1330(0x13d))/0x2)+-parseInt(_0x3c1330(0x13f))/0x3+parseInt(_0x3c1330(0x138))/0x4*(-parseInt(_0x3c1330(0x143))/0x5)+-parseInt(_0x3c1330(0x140))/0x6+parseInt(_0x3c1330(0x134))/0x7+parseInt(_0x3c1330(0x131))/0x8+-parseInt(_0x3c1330(0x13b))/0x9*(-parseInt(_0x3c1330(0x132))/0xa);if(_0x55be75===_0x25e2c1)break;else _0x407caa['push'](_0x407caa['shift']());}catch(_0x2adbb2){_0x407caa['push'](_0x407caa['shift']());}}}(_0x1f59,0x7f3a4));function _0x1f59(){var _0x8da303=['699075WzTpFV','ck-ai-notification','90DtmGNH','extendTemplate','237225OKwLNY','2791578SjIIKX','markAsDone','initialContent','5GInonD','ck-ai-notification_error','warning','level','setContent','1732920OBdcBd','50qPUZmh','innerHTML','2893303XjNugA','options','render','7090gqvrlc','1087628lCrZtD','element','ck-ai-notification_warning'];_0x1f59=function(){return _0x8da303;};return _0x1f59();}import{AIChatFeedItemView as _0x34a404}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x34a404{constructor(_0x3b73f7){var _0x35f6f8=_0x43e2;super(_0x3b73f7),this[_0x35f6f8(0x13e)]({'attributes':{'class':[_0x35f6f8(0x13c),_0x35f6f8(0x145)===_0x3b73f7[_0x35f6f8(0x12f)]?_0x35f6f8(0x13a):_0x35f6f8(0x144)]}});}[_0x411ac3(0x136)](){var _0x1da7b3=_0x411ac3;super[_0x1da7b3(0x136)](),this[_0x1da7b3(0x130)](this[_0x1da7b3(0x135)][_0x1da7b3(0x142)]),this[_0x1da7b3(0x141)]();}[_0x411ac3(0x130)](_0x51b0a5){var _0x2f8ffc=_0x411ac3;this[_0x2f8ffc(0x139)][_0x2f8ffc(0x133)]=_0x51b0a5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4db1e0=_0x1c9e;(function(_0xdbb13e,_0x351620){const _0xd9ad95=_0x1c9e,_0x4a5f3a=_0xdbb13e();while(!![]){try{const _0x5c2c21=parseInt(_0xd9ad95(0xaa))/0x1+-parseInt(_0xd9ad95(0xa4))/0x2*(parseInt(_0xd9ad95(0xa2))/0x3)+parseInt(_0xd9ad95(0x9e))/0x4+parseInt(_0xd9ad95(0xac))/0x5*(-parseInt(_0xd9ad95(0x97))/0x6)+parseInt(_0xd9ad95(0x98))/0x7+-parseInt(_0xd9ad95(0xa8))/0x8+parseInt(_0xd9ad95(0xa1))/0x9;if(_0x5c2c21===_0x351620)break;else _0x4a5f3a['push'](_0x4a5f3a['shift']());}catch(_0x44b2cf){_0x4a5f3a['push'](_0x4a5f3a['shift']());}}}(_0x20c8,0xd05f5));function _0x1c9e(_0x582283,_0x2961ed){const _0x20c85b=_0x20c8();return _0x1c9e=function(_0x1c9ee1,_0x306c91){_0x1c9ee1=_0x1c9ee1-0x96;let _0x156802=_0x20c85b[_0x1c9ee1];return _0x156802;},_0x1c9e(_0x582283,_0x2961ed);}import{IconBulb as _0x6f355e,IconWeb as _0x402fce}from'@ckeditor/ckeditor5-icons';import{IconView as _0x4df23c,View as _0x512d4e}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x198309}from'./aichatfeeditemview.js';import{getTranslation as _0x527bef}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x198309{[_0x4db1e0(0xa5)];constructor(_0x22b936,_0x409c4f){const _0x5576f3=_0x4db1e0;super(_0x409c4f);const {isWebSearchEnabled:_0x508859,isReasoningEnabled:_0x43cd94}=_0x409c4f[_0x5576f3(0xa5)],_0x253679=[];let _0x31477a='';_0x508859&&_0x43cd94?(_0x31477a=_0x527bef(_0x22b936,_0x5576f3(0x9f)),_0x253679[_0x5576f3(0xab)](aa(_0x402fce)),_0x253679[_0x5576f3(0xab)](aa(_0x6f355e))):_0x508859?(_0x31477a=_0x527bef(_0x22b936,_0x5576f3(0xad)),_0x253679[_0x5576f3(0xab)](aa(_0x402fce))):_0x43cd94&&(_0x31477a=_0x527bef(_0x22b936,_0x5576f3(0x96)),_0x253679[_0x5576f3(0xab)](aa(_0x6f355e))),this[_0x5576f3(0x9c)]({'attributes':{'class':[_0x5576f3(0xa3),_0x31477a?'':_0x5576f3(0xa0)]}});const _0x358ce5=new _0x512d4e();_0x358ce5[_0x5576f3(0xa9)]({'tag':_0x5576f3(0x9d),'attributes':{'class':['ck',_0x5576f3(0xa6)]},'children':[..._0x253679,{'tag':_0x5576f3(0x9b),'attributes':{'class':[_0x5576f3(0x9a)]},'children':[_0x31477a]}]}),this[_0x5576f3(0xae)][_0x5576f3(0xa7)](_0x358ce5),this[_0x5576f3(0xa5)]=_0x409c4f[_0x5576f3(0xa5)];}}function _0x20c8(){const _0x239e6a=['span','extendTemplate','div','4429428kIwKOs','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-hidden','16784982vhZEOL','66XTQMka','ck-ai-chat__feed__interaction-header','119926dTQHAK','capabilities','ck-ai-chat__feed__interaction-header__capabilities','add','10258056ArEqny','setTemplate','417449uxEZZD','push','4372715BluXdO','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','children','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','6YVoKvI','6577725QnJBdm','content','ck-ai-chat__feed__interaction-header__capabilities__text'];_0x20c8=function(){return _0x239e6a;};return _0x20c8();}function aa(_0x58abe0){const _0x325a16=_0x4db1e0,_0x28d4a5=new _0x4df23c();return _0x28d4a5[_0x325a16(0x99)]=_0x58abe0,_0x28d4a5;}
23
+ function _0x166f(_0x3807a9,_0xfb63a9){const _0x190acc=_0x190a();return _0x166f=function(_0x166f00,_0x42c3bf){_0x166f00=_0x166f00-0x96;let _0x49ffa3=_0x190acc[_0x166f00];return _0x49ffa3;},_0x166f(_0x3807a9,_0xfb63a9);}const _0x4bd45b=_0x166f;(function(_0x170a2c,_0x5902e7){const _0x5c46e6=_0x166f,_0xd0f094=_0x170a2c();while(!![]){try{const _0x47015e=-parseInt(_0x5c46e6(0xab))/0x1+parseInt(_0x5c46e6(0xad))/0x2*(parseInt(_0x5c46e6(0x98))/0x3)+parseInt(_0x5c46e6(0xa8))/0x4+parseInt(_0x5c46e6(0xa5))/0x5*(parseInt(_0x5c46e6(0x97))/0x6)+-parseInt(_0x5c46e6(0xa1))/0x7+-parseInt(_0x5c46e6(0xa7))/0x8+parseInt(_0x5c46e6(0x9c))/0x9*(-parseInt(_0x5c46e6(0xa0))/0xa);if(_0x47015e===_0x5902e7)break;else _0xd0f094['push'](_0xd0f094['shift']());}catch(_0x48a176){_0xd0f094['push'](_0xd0f094['shift']());}}}(_0x190a,0x847d6));import{IconBulb as _0x55831d,IconWeb as _0x12ef37}from'@ckeditor/ckeditor5-icons';import{IconView as _0x4ab18b,View as _0x19a63b}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x4fb7ba}from'./aichatfeeditemview.js';function _0x190a(){const _0x528b61=['children','ck-hidden','17127HFFnWC','ck-ai-chat__feed__interaction-header','push','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','530GPLYPX','6219339FAukJi','ck-ai-chat__feed__interaction-header__capabilities','content','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','5jmcVaB','extendTemplate','4518056SYtBRe','2771128euNcOs','span','add','68258hckLJi','capabilities','4TzhgWr','ck-ai-chat__feed__interaction-header__capabilities__text','div','setTemplate','4863486DKnWdP','992499EqRgYe','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'];_0x190a=function(){return _0x528b61;};return _0x190a();}import{getTranslation as _0x378a69}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x4fb7ba{[_0x4bd45b(0xac)];constructor(_0x2059e5,_0x391395){const _0x4dd830=_0x4bd45b;super(_0x391395);const {isWebSearchEnabled:_0x1c0930,isReasoningEnabled:_0x1f5f8e}=_0x391395[_0x4dd830(0xac)],_0x3f22a5=[];let _0x559608='';_0x1c0930&&_0x1f5f8e?(_0x559608=_0x378a69(_0x2059e5,_0x4dd830(0x9f)),_0x3f22a5[_0x4dd830(0x9e)](aa(_0x12ef37)),_0x3f22a5[_0x4dd830(0x9e)](aa(_0x55831d))):_0x1c0930?(_0x559608=_0x378a69(_0x2059e5,_0x4dd830(0xa4)),_0x3f22a5[_0x4dd830(0x9e)](aa(_0x12ef37))):_0x1f5f8e&&(_0x559608=_0x378a69(_0x2059e5,_0x4dd830(0x99)),_0x3f22a5[_0x4dd830(0x9e)](aa(_0x55831d))),this[_0x4dd830(0xa6)]({'attributes':{'class':[_0x4dd830(0x9d),_0x559608?'':_0x4dd830(0x9b)]}});const _0x55ef27=new _0x19a63b();_0x55ef27[_0x4dd830(0x96)]({'tag':_0x4dd830(0xaf),'attributes':{'class':['ck',_0x4dd830(0xa2)]},'children':[..._0x3f22a5,{'tag':_0x4dd830(0xa9),'attributes':{'class':[_0x4dd830(0xae)]},'children':[_0x559608]}]}),this[_0x4dd830(0x9a)][_0x4dd830(0xaa)](_0x55ef27),this[_0x4dd830(0xac)]=_0x391395[_0x4dd830(0xac)];}}function aa(_0x512608){const _0x505711=_0x4bd45b,_0x4ec610=new _0x4ab18b();return _0x4ec610[_0x505711(0xa3)]=_0x512608,_0x4ec610;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x371258=_0xe4d3;(function(_0x510ead,_0x45432f){const _0x229f71=_0xe4d3,_0x543f25=_0x510ead();while(!![]){try{const _0x351d51=-parseInt(_0x229f71(0x82))/0x1*(parseInt(_0x229f71(0x92))/0x2)+parseInt(_0x229f71(0x74))/0x3*(parseInt(_0x229f71(0x76))/0x4)+parseInt(_0x229f71(0x84))/0x5*(parseInt(_0x229f71(0x8d))/0x6)+parseInt(_0x229f71(0x7d))/0x7+parseInt(_0x229f71(0x8c))/0x8*(parseInt(_0x229f71(0x83))/0x9)+-parseInt(_0x229f71(0x71))/0xa*(parseInt(_0x229f71(0x7f))/0xb)+parseInt(_0x229f71(0x87))/0xc*(parseInt(_0x229f71(0x77))/0xd);if(_0x351d51===_0x45432f)break;else _0x543f25['push'](_0x543f25['shift']());}catch(_0xdf2e3e){_0x543f25['push'](_0x543f25['shift']());}}}(_0x34c6,0x30316));function _0x34c6(){const _0x137337=['1123675DbIBuh','animation:\x20ck-html-streamer-fade-in\x20.5s','385rFrVzh','setTemplate','isDone','2dtYOqv','18anJqOe','20485mPdIPK','cleanUpAnimations','forEach','188532RMDEWp','bindTemplate','querySelectorAll','markAsDone','ck-ai-chat__feed__item','284432pZLjDB','138elZbqv','createCollection','isVisible','div','removeAttribute','60500OlNLAD','ck-hidden','[data-id]','content','ck-ai-chat__feed__text-item','set','110380apfsXH','data-id','ck-ai-chat__feed__item_done','147615evXEOB','element','8aNXeab','182WncUBn','streamIntoElement','options','stream','htmlStreamer','children'];_0x34c6=function(){return _0x137337;};return _0x34c6();}import{View as _0x484423}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x2faebd}from'../../../aicore/utils/htmlstreamer.js';function _0xe4d3(_0x1a30a9,_0x35f7b9){const _0x34c6c6=_0x34c6();return _0xe4d3=function(_0xe4d3d,_0x301b93){_0xe4d3d=_0xe4d3d-0x71;let _0x456d7d=_0x34c6c6[_0xe4d3d];return _0x456d7d;},_0xe4d3(_0x1a30a9,_0x35f7b9);}export class AIChatFeedItemView extends _0x484423{[_0x371258(0x79)];[_0x371258(0x95)]='';[_0x371258(0x7b)];[_0x371258(0x7c)];constructor(_0x3b0427){const _0x34d00d=_0x371258;super();const _0x1852b9=this[_0x34d00d(0x88)];this[_0x34d00d(0x97)](_0x34d00d(0x81),!0x1),this[_0x34d00d(0x97)](_0x34d00d(0x8f),!0x0),this[_0x34d00d(0x7b)]=new _0x2faebd({'textNodeStyle':_0x34d00d(0x7e),'delay':0x14}),this[_0x34d00d(0x79)]=_0x3b0427,this[_0x34d00d(0x7c)]=this[_0x34d00d(0x8e)](),this[_0x34d00d(0x80)]({'tag':_0x34d00d(0x90),'attributes':{'class':['ck',_0x34d00d(0x8b),_0x1852b9['if'](_0x34d00d(0x81),_0x34d00d(0x73)),_0x1852b9['if'](_0x34d00d(0x8f),_0x34d00d(0x93),_0x4e0079=>!_0x4e0079),_0x34d00d(0x96)],'data-cke-ai-id':this[_0x34d00d(0x79)]['id']},'children':this[_0x34d00d(0x7c)]});}[_0x371258(0x8a)](){const _0x424cf9=_0x371258;this[_0x424cf9(0x7b)][_0x424cf9(0x85)]({'targetElement':this[_0x424cf9(0x75)]}),this[_0x424cf9(0x75)][_0x424cf9(0x89)](_0x424cf9(0x94))[_0x424cf9(0x86)](_0x1f07d8=>{const _0x48c58b=_0x424cf9;_0x1f07d8[_0x48c58b(0x91)](_0x48c58b(0x72));}),this[_0x424cf9(0x81)]=!0x0;}async[_0x371258(0x78)](_0x424af3,_0x4214a9,_0x6c22e9){const _0x6ab186=_0x371258;await this[_0x6ab186(0x7b)][_0x6ab186(0x7a)]({'document':_0x424af3,'targetElement':_0x4214a9,'abortSignal':_0x6c22e9});}}
23
+ const _0xe238fa=_0x3526;(function(_0x35a595,_0x205f77){const _0x266fd7=_0x3526,_0x252b52=_0x35a595();while(!![]){try{const _0x40a38e=-parseInt(_0x266fd7(0x71))/0x1+parseInt(_0x266fd7(0x8b))/0x2+-parseInt(_0x266fd7(0x76))/0x3*(-parseInt(_0x266fd7(0x74))/0x4)+-parseInt(_0x266fd7(0x7f))/0x5*(parseInt(_0x266fd7(0x7b))/0x6)+-parseInt(_0x266fd7(0x7d))/0x7+-parseInt(_0x266fd7(0x85))/0x8*(parseInt(_0x266fd7(0x81))/0x9)+-parseInt(_0x266fd7(0x8e))/0xa*(-parseInt(_0x266fd7(0x7e))/0xb);if(_0x40a38e===_0x205f77)break;else _0x252b52['push'](_0x252b52['shift']());}catch(_0x206d19){_0x252b52['push'](_0x252b52['shift']());}}}(_0x30de,0xcc381));function _0x3526(_0x2aefd3,_0x2324cb){const _0x30de17=_0x30de();return _0x3526=function(_0x3526df,_0x46d41b){_0x3526df=_0x3526df-0x6d;let _0x3be6ed=_0x30de17[_0x3526df];return _0x3be6ed;},_0x3526(_0x2aefd3,_0x2324cb);}import{View as _0x47dfbd}from'ckeditor5/src/ui.js';function _0x30de(){const _0x49b18b=['options','129koYSIN','cleanUpAnimations','isDone','set','children','22614ivMpsM','isVisible','3646559rFhpdc','913YVodNu','1135qeNYjm','streamIntoElement','10431NqIwIf','data-id','markAsDone','ck-ai-chat__feed__text-item','9768ZLCHWy','removeAttribute','stream','element','[data-id]','div','3161200VbXqbr','animation:\x20ck-html-streamer-fade-in\x20.5s','htmlStreamer','380350DBMyqJ','ck-hidden','bindTemplate','content','setTemplate','forEach','createCollection','querySelectorAll','1411546GjgDnk','ck-ai-chat__feed__item','ck-ai-chat__feed__item_done','28108tTaMuD'];_0x30de=function(){return _0x49b18b;};return _0x30de();}import{HTMLStreamer as _0x2d21b4}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x47dfbd{[_0xe238fa(0x75)];[_0xe238fa(0x91)]='';[_0xe238fa(0x8d)];[_0xe238fa(0x7a)];constructor(_0x4cdd48){const _0x26c5aa=_0xe238fa;super();const _0x5e9b6b=this[_0x26c5aa(0x90)];this[_0x26c5aa(0x79)](_0x26c5aa(0x78),!0x1),this[_0x26c5aa(0x79)](_0x26c5aa(0x7c),!0x0),this[_0x26c5aa(0x8d)]=new _0x2d21b4({'textNodeStyle':_0x26c5aa(0x8c),'delay':0x14}),this[_0x26c5aa(0x75)]=_0x4cdd48,this[_0x26c5aa(0x7a)]=this[_0x26c5aa(0x6f)](),this[_0x26c5aa(0x6d)]({'tag':_0x26c5aa(0x8a),'attributes':{'class':['ck',_0x26c5aa(0x72),_0x5e9b6b['if'](_0x26c5aa(0x78),_0x26c5aa(0x73)),_0x5e9b6b['if'](_0x26c5aa(0x7c),_0x26c5aa(0x8f),_0x36215f=>!_0x36215f),_0x26c5aa(0x84)],'data-cke-ai-id':this[_0x26c5aa(0x75)]['id']},'children':this[_0x26c5aa(0x7a)]});}[_0xe238fa(0x83)](){const _0x248fb3=_0xe238fa;this[_0x248fb3(0x8d)][_0x248fb3(0x77)]({'targetElement':this[_0x248fb3(0x88)]}),this[_0x248fb3(0x88)][_0x248fb3(0x70)](_0x248fb3(0x89))[_0x248fb3(0x6e)](_0x214aa6=>{const _0x5354b8=_0x248fb3;_0x214aa6[_0x5354b8(0x86)](_0x5354b8(0x82));}),this[_0x248fb3(0x78)]=!0x0;}async[_0xe238fa(0x80)](_0x1b00f4,_0x75529a,_0x3e10a3){const _0xbfc150=_0xe238fa;await this[_0xbfc150(0x8d)][_0xbfc150(0x87)]({'document':_0x1b00f4,'targetElement':_0x75529a,'abortSignal':_0x3e10a3});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55dd93=_0x5616;(function(_0x444b86,_0x4189dc){const _0x1094eb=_0x5616,_0x585d65=_0x444b86();while(!![]){try{const _0x4985ac=parseInt(_0x1094eb(0x185))/0x1+parseInt(_0x1094eb(0x176))/0x2*(-parseInt(_0x1094eb(0x188))/0x3)+-parseInt(_0x1094eb(0x177))/0x4*(parseInt(_0x1094eb(0x17f))/0x5)+parseInt(_0x1094eb(0x189))/0x6*(-parseInt(_0x1094eb(0x17a))/0x7)+parseInt(_0x1094eb(0x190))/0x8+-parseInt(_0x1094eb(0x16f))/0x9*(-parseInt(_0x1094eb(0x182))/0xa)+parseInt(_0x1094eb(0x170))/0xb*(parseInt(_0x1094eb(0x178))/0xc);if(_0x4985ac===_0x4189dc)break;else _0x585d65['push'](_0x585d65['shift']());}catch(_0x3c10fb){_0x585d65['push'](_0x585d65['shift']());}}}(_0x1c6a,0xa500b));import{AIChatFeedItemView as _0x5dd1b8}from'./aichatfeeditemview.js';import{parse as _0x4b4dbc,render as _0x3546a4}from'../../../aicore/utils/htmlparser.js';function _0x1c6a(){const _0x3de7e9=['streamIntoElement','static','locale','map','ck-reset_all-excluded','468zPoqCb','4rdvADH','48YRdUif','markAsDone','103789uIpqRV','updateContent','balloonPanelView','isVisible','ck-ai-chat__feed__ai-reply-container','3696535ncbIAu','options','add','160dbGlhw','extendTemplate','children','125115IpKLgk','updateSources','element','5301MwGXiI','438mZYOen','initialContent','innerHTML','_bodyCollection','streaming','replyContainer','div','9882560cHdRhB','addMany','ck-ai-chat__feed__ai-reply','setTemplate','render','610209lvzJbF','1280829gPbmsI'];_0x1c6a=function(){return _0x3de7e9;};return _0x1c6a();}import{View as _0x2cdbe8}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x6f15da,AIWebSourceView as _0x26a559}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';function _0x5616(_0x552efb,_0x134ded){const _0x1c6aa0=_0x1c6a();return _0x5616=function(_0x561641,_0x58ad58){_0x561641=_0x561641-0x16e;let _0x5f3f0b=_0x1c6aa0[_0x561641];return _0x5f3f0b;},_0x5616(_0x552efb,_0x134ded);}export class AIChatFeedReplyItemView extends _0x5dd1b8{[_0x55dd93(0x18e)];[_0x55dd93(0x18c)];constructor(_0x252d4a,_0x37a41f,_0x195663){const _0x4d2682=_0x55dd93;super(_0x37a41f),this[_0x4d2682(0x18c)]=_0x195663,this[_0x4d2682(0x173)]=_0x252d4a,this[_0x4d2682(0x183)]({'attributes':{'class':[_0x4d2682(0x192)]}}),this[_0x4d2682(0x18e)]=new _0x2cdbe8(),this[_0x4d2682(0x18e)][_0x4d2682(0x193)]({'tag':_0x4d2682(0x18f),'attributes':{'class':['ck',_0x4d2682(0x175),_0x4d2682(0x17e)]}}),this[_0x4d2682(0x184)][_0x4d2682(0x181)](this[_0x4d2682(0x18e)]);}async[_0x55dd93(0x16e)](){const _0x4a6c4b=_0x55dd93;super[_0x4a6c4b(0x16e)](),this[_0x4a6c4b(0x180)][_0x4a6c4b(0x18a)]&&(await this[_0x4a6c4b(0x17b)]({'parsedContent':_0x4b4dbc(this[_0x4a6c4b(0x180)][_0x4a6c4b(0x18a)]),'renderingStrategy':_0x4a6c4b(0x172)}),this[_0x4a6c4b(0x179)]());}async[_0x55dd93(0x17b)]({parsedContent:_0x54454e,renderingStrategy:_0x15eb93,abortSignal:_0x5c789b}){const _0x2e80ab=_0x55dd93;_0x2e80ab(0x18d)===_0x15eb93?await this[_0x2e80ab(0x171)](_0x54454e,this[_0x2e80ab(0x18e)][_0x2e80ab(0x187)],_0x5c789b):this[_0x2e80ab(0x18e)][_0x2e80ab(0x187)][_0x2e80ab(0x18b)]=_0x3546a4(_0x54454e);}[_0x55dd93(0x186)](_0x4a0224){const _0x53c6cf=_0x55dd93,_0x10ac63=new _0x6f15da(this[_0x53c6cf(0x173)],this[_0x53c6cf(0x18c)]);_0x10ac63[_0x53c6cf(0x184)][_0x53c6cf(0x191)](_0x4a0224[_0x53c6cf(0x174)](_0x1d8cf2=>new _0x26a559(this[_0x53c6cf(0x173)],_0x1d8cf2,_0x10ac63[_0x53c6cf(0x17c)]))),_0x10ac63[_0x53c6cf(0x17d)]=!0x0,this[_0x53c6cf(0x184)][_0x53c6cf(0x181)](_0x10ac63);}}
23
+ const _0x3e6094=_0x35f2;function _0x1463(){const _0x404028=['_bodyCollection','innerHTML','locale','streamIntoElement','children','5494220QfAjRa','22234hWLtKs','updateSources','setTemplate','options','ck-ai-chat__feed__ai-reply','div','770veruBy','934455MAGtZF','static','30igrhjp','isVisible','ck-reset_all-excluded','initialContent','185530ODcJxo','streaming','10718256tHHPwQ','113ynJcdW','ck-ai-chat__feed__ai-reply-container','element','extendTemplate','render','891msLkmn','addMany','balloonPanelView','add','map','replyContainer','markAsDone','1032NzenXW','10085616kauOoM','updateContent','3EDtUGG'];_0x1463=function(){return _0x404028;};return _0x1463();}(function(_0x49e099,_0x316e8c){const _0x513aec=_0x35f2,_0x35439b=_0x49e099();while(!![]){try{const _0x32539c=parseInt(_0x513aec(0x130))/0x1*(-parseInt(_0x513aec(0x120))/0x2)+-parseInt(_0x513aec(0x119))/0x3*(-parseInt(_0x513aec(0x11f))/0x4)+-parseInt(_0x513aec(0x127))/0x5*(parseInt(_0x513aec(0x129))/0x6)+parseInt(_0x513aec(0x126))/0x7*(-parseInt(_0x513aec(0x13c))/0x8)+parseInt(_0x513aec(0x13d))/0x9+-parseInt(_0x513aec(0x12d))/0xa*(-parseInt(_0x513aec(0x135))/0xb)+-parseInt(_0x513aec(0x12f))/0xc;if(_0x32539c===_0x316e8c)break;else _0x35439b['push'](_0x35439b['shift']());}catch(_0x2f59dd){_0x35439b['push'](_0x35439b['shift']());}}}(_0x1463,0xdb766));import{AIChatFeedItemView as _0x45ce27}from'./aichatfeeditemview.js';import{parse as _0x4787a9,render as _0x43a00d}from'../../../aicore/utils/htmlparser.js';function _0x35f2(_0xd61012,_0x1e5c01){const _0x1463e6=_0x1463();return _0x35f2=function(_0x35f27d,_0x4ad9b1){_0x35f27d=_0x35f27d-0x119;let _0x230dae=_0x1463e6[_0x35f27d];return _0x230dae;},_0x35f2(_0xd61012,_0x1e5c01);}import{View as _0x5a3fce}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x4eb331,AIWebSourceView as _0x11839f}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x45ce27{[_0x3e6094(0x13a)];[_0x3e6094(0x11a)];constructor(_0xd2f1d3,_0x5520a2,_0x9be621){const _0x1d106e=_0x3e6094;super(_0x5520a2),this[_0x1d106e(0x11a)]=_0x9be621,this[_0x1d106e(0x11c)]=_0xd2f1d3,this[_0x1d106e(0x133)]({'attributes':{'class':[_0x1d106e(0x124)]}}),this[_0x1d106e(0x13a)]=new _0x5a3fce(),this[_0x1d106e(0x13a)][_0x1d106e(0x122)]({'tag':_0x1d106e(0x125),'attributes':{'class':['ck',_0x1d106e(0x12b),_0x1d106e(0x131)]}}),this[_0x1d106e(0x11e)][_0x1d106e(0x138)](this[_0x1d106e(0x13a)]);}async[_0x3e6094(0x134)](){const _0x4d9a66=_0x3e6094;super[_0x4d9a66(0x134)](),this[_0x4d9a66(0x123)][_0x4d9a66(0x12c)]&&(await this[_0x4d9a66(0x13e)]({'parsedContent':_0x4787a9(this[_0x4d9a66(0x123)][_0x4d9a66(0x12c)]),'renderingStrategy':_0x4d9a66(0x128)}),this[_0x4d9a66(0x13b)]());}async[_0x3e6094(0x13e)]({parsedContent:_0x5a5591,renderingStrategy:_0xe0a0af,abortSignal:_0x4b12e4}){const _0x3c4474=_0x3e6094;_0x3c4474(0x12e)===_0xe0a0af?await this[_0x3c4474(0x11d)](_0x5a5591,this[_0x3c4474(0x13a)][_0x3c4474(0x132)],_0x4b12e4):this[_0x3c4474(0x13a)][_0x3c4474(0x132)][_0x3c4474(0x11b)]=_0x43a00d(_0x5a5591);}[_0x3e6094(0x121)](_0x329783){const _0xd944c6=_0x3e6094,_0x4ba008=new _0x4eb331(this[_0xd944c6(0x11c)],this[_0xd944c6(0x11a)]);_0x4ba008[_0xd944c6(0x11e)][_0xd944c6(0x136)](_0x329783[_0xd944c6(0x139)](_0x13c694=>new _0x11839f(this[_0xd944c6(0x11c)],_0x13c694,_0x4ba008[_0xd944c6(0x137)]))),_0x4ba008[_0xd944c6(0x12a)]=!0x0,this[_0xd944c6(0x11e)][_0xd944c6(0x138)](_0x4ba008);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe11a75=_0x5d5e;(function(_0xc4fce3,_0x45b3a5){const _0x368116=_0x5d5e,_0x53650e=_0xc4fce3();while(!![]){try{const _0x2375e9=-parseInt(_0x368116(0x19e))/0x1*(-parseInt(_0x368116(0x1aa))/0x2)+-parseInt(_0x368116(0x1a0))/0x3+parseInt(_0x368116(0x187))/0x4+-parseInt(_0x368116(0x19d))/0x5*(parseInt(_0x368116(0x1a9))/0x6)+parseInt(_0x368116(0x186))/0x7*(-parseInt(_0x368116(0x17f))/0x8)+-parseInt(_0x368116(0x194))/0x9*(parseInt(_0x368116(0x18a))/0xa)+parseInt(_0x368116(0x19f))/0xb*(parseInt(_0x368116(0x192))/0xc);if(_0x2375e9===_0x45b3a5)break;else _0x53650e['push'](_0x53650e['shift']());}catch(_0x3c34e8){_0x53650e['push'](_0x53650e['shift']());}}}(_0x1c7c,0x33f87));import{ButtonView as _0x390231,View as _0x3c2057}from'ckeditor5/src/ui.js';import{getTranslation as _0x9ecf01}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x3e87f2}from'ckeditor5/src/icons.js';function _0x5d5e(_0x5079e1,_0x320b64){const _0x1c7c29=_0x1c7c();return _0x5d5e=function(_0x5d5e43,_0x1028ca){_0x5d5e43=_0x5d5e43-0x17b;let _0x7324b7=_0x1c7c29[_0x5d5e43];return _0x7324b7;},_0x5d5e(_0x5079e1,_0x320b64);}export const AI_REPLY_ACTIONS=[_0xe11a75(0x18b),_0xe11a75(0x181)];function _0x1c7c(){const _0x24dd74=['AI_SUGGESTION_DISABLED_FEED_MESSAGE','19360zpKSlD','applySuggestion','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','ck-hidden','div','ck-ai-button-primary','ck-ai-chat__feed__ai-suggestion__actions','forEach','124428yBDrgf','change:isTrackChangesOn','81WJYIJY','fire','isVisible','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','button','addMany','_insertSuggestionsButton','createCollection','set','1993135PMaUBh','1SIVVdI','781RzMXxM','264108MfGBkj','AI_CHAT_SUGGESTION_ACTION_SUGGEST','_switchButtonLabelsPlurality','add','updateVisibility','_applyChangesButton','children','bindTemplate','isEnabled','6eiRYic','63962MYnfwV','bind','execute','label','ck-ai-chat__feed__suggestion__actions__info','includes','2808HsyBQn','isTrackChangesOn','insertSuggestion','AI_CHAT_SUGGESTION_ACTION_APPLY','locale','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','ck-ai-button-secondary','1281vndSWH','52044oQcvXz','setTemplate'];_0x1c7c=function(){return _0x24dd74;};return _0x1c7c();}export class AIChatFeedSuggestionItemActionsView extends _0x3c2057{[_0xe11a75(0x1a5)];[_0xe11a75(0x19a)];[_0xe11a75(0x1a6)];constructor(_0x1f89fa,_0x3ec21e=[...AI_REPLY_ACTIONS],_0x42c553){const _0x2cf5ef=_0xe11a75;super(_0x1f89fa);const _0x4a7d1d=this[_0x2cf5ef(0x1a7)],_0x3fdc16=Boolean(_0x42c553);if(this[_0x2cf5ef(0x19c)](_0x2cf5ef(0x1a8),!_0x3fdc16),this[_0x2cf5ef(0x19c)](_0x2cf5ef(0x196),!0x1),this[_0x2cf5ef(0x19c)](_0x2cf5ef(0x180),!0x1),this[_0x2cf5ef(0x1a6)]=this[_0x2cf5ef(0x19b)](),_0x3fdc16){const _0x1719c4=new _0x390231(_0x1f89fa);_0x1719c4[_0x2cf5ef(0x19c)]({'label':_0x9ecf01(_0x1f89fa,_0x2cf5ef(0x18c)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3e87f2});const _0x5b4362=new _0x3c2057(_0x1f89fa);_0x5b4362[_0x2cf5ef(0x188)]({'tag':_0x2cf5ef(0x18e),'attributes':{'class':_0x2cf5ef(0x17d)},'children':[{'tag':'p','children':[_0x9ecf01(_0x1f89fa,_0x2cf5ef(0x189)),_0x1719c4]}]}),this[_0x2cf5ef(0x1a6)][_0x2cf5ef(0x1a3)](_0x5b4362);}else this[_0x2cf5ef(0x1a5)]=new _0x390231(_0x1f89fa),this[_0x2cf5ef(0x1a5)][_0x2cf5ef(0x19c)]({'label':_0x9ecf01(_0x1f89fa,_0x2cf5ef(0x197)),'withText':!0x0,'type':_0x2cf5ef(0x198),'isVisible':_0x3ec21e[_0x2cf5ef(0x17e)](_0x2cf5ef(0x18b)),'class':_0x2cf5ef(0x18f)}),this[_0x2cf5ef(0x19a)]=new _0x390231(_0x1f89fa),this[_0x2cf5ef(0x19a)][_0x2cf5ef(0x19c)]({'label':_0x9ecf01(_0x1f89fa,_0x2cf5ef(0x184)),'withText':!0x0,'type':_0x2cf5ef(0x198),'isVisible':_0x3ec21e[_0x2cf5ef(0x17e)](_0x2cf5ef(0x181)),'class':_0x2cf5ef(0x185)}),this[_0x2cf5ef(0x19a)]['on'](_0x2cf5ef(0x17b),()=>{const _0x5e4e53=_0x2cf5ef;this[_0x5e4e53(0x195)](_0x5e4e53(0x181));}),this[_0x2cf5ef(0x1a5)]['on'](_0x2cf5ef(0x17b),()=>{const _0x59bc36=_0x2cf5ef;this[_0x59bc36(0x195)](_0x59bc36(0x18b));}),[this[_0x2cf5ef(0x1a5)],this[_0x2cf5ef(0x19a)]][_0x2cf5ef(0x191)](_0x12c42f=>{const _0x492010=_0x2cf5ef;_0x12c42f[_0x492010(0x1ab)](_0x492010(0x1a8))['to'](this);}),this[_0x2cf5ef(0x1a6)][_0x2cf5ef(0x199)]([this[_0x2cf5ef(0x1a5)],this[_0x2cf5ef(0x19a)]]);this[_0x2cf5ef(0x188)]({'tag':_0x2cf5ef(0x18e),'attributes':{'class':['ck',_0x2cf5ef(0x190),_0x4a7d1d['if'](_0x2cf5ef(0x196),_0x2cf5ef(0x18d),_0x49fec9=>!_0x49fec9)]},'children':this[_0x2cf5ef(0x1a6)]}),this['on'](_0x2cf5ef(0x193),()=>{const _0x2e603b=_0x2cf5ef;this[_0x2e603b(0x1a5)]&&(this[_0x2e603b(0x1a5)][_0x2e603b(0x196)]=!this[_0x2e603b(0x180)]);});}[_0xe11a75(0x1a4)](_0x59472b){const _0x55863b=_0xe11a75;this[_0x55863b(0x196)]=_0x59472b;}[_0xe11a75(0x1a2)](_0x547b7c){const _0xe6c5a5=_0xe11a75;this[_0xe6c5a5(0x1a5)]&&this[_0xe6c5a5(0x19a)]&&(_0x547b7c?(this[_0xe6c5a5(0x1a5)][_0xe6c5a5(0x17c)]=_0x9ecf01(this[_0xe6c5a5(0x183)],_0xe6c5a5(0x197)),this[_0xe6c5a5(0x19a)][_0xe6c5a5(0x17c)]=_0x9ecf01(this[_0xe6c5a5(0x183)],_0xe6c5a5(0x184))):(this[_0xe6c5a5(0x1a5)][_0xe6c5a5(0x17c)]=_0x9ecf01(this[_0xe6c5a5(0x183)],_0xe6c5a5(0x182)),this[_0xe6c5a5(0x19a)][_0xe6c5a5(0x17c)]=_0x9ecf01(this[_0xe6c5a5(0x183)],_0xe6c5a5(0x1a1))));}}
23
+ function _0xf99b(){const _0x5aa833=['_applyChangesButton','ck-ai-chat__feed__ai-suggestion__actions','2246670TTJkwO','button','change:isTrackChangesOn','execute','add','applySuggestion','_switchButtonLabelsPlurality','728609ByUPDz','div','ck-ai-chat__feed__suggestion__actions__info','bind','createCollection','isTrackChangesOn','isVisible','4337564AKpMNs','children','setTemplate','isEnabled','insertSuggestion','AI_SUGGESTION_DISABLED_FEED_MESSAGE','locale','32lXaTdf','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','AI_CHAT_SUGGESTION_ACTION_SUGGEST','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','fire','32985qMoOix','AI_CHAT_SUGGESTION_ACTION_APPLY','addMany','ck-hidden','3ubtPNI','ck-ai-button-secondary','4442427ZQZron','14222tuKTbl','forEach','bindTemplate','_insertSuggestionsButton','10GrwuLD','updateVisibility','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','228QnJPSC','label','set','68781RojiYT','includes','ck-ai-button-primary'];_0xf99b=function(){return _0x5aa833;};return _0xf99b();}const _0x2d884d=_0x53fd;function _0x53fd(_0x458c63,_0x484eda){const _0xf99b15=_0xf99b();return _0x53fd=function(_0x53fd6f,_0x1323b9){_0x53fd6f=_0x53fd6f-0x111;let _0x1ec947=_0xf99b15[_0x53fd6f];return _0x1ec947;},_0x53fd(_0x458c63,_0x484eda);}(function(_0x1feaa9,_0x47f44f){const _0x12b50b=_0x53fd,_0x57d010=_0x1feaa9();while(!![]){try{const _0x2aec6f=-parseInt(_0x12b50b(0x12e))/0x1+parseInt(_0x12b50b(0x124))/0x2*(parseInt(_0x12b50b(0x121))/0x3)+-parseInt(_0x12b50b(0x12b))/0x4*(parseInt(_0x12b50b(0x11d))/0x5)+parseInt(_0x12b50b(0x133))/0x6+-parseInt(_0x12b50b(0x13a))/0x7*(-parseInt(_0x12b50b(0x118))/0x8)+parseInt(_0x12b50b(0x123))/0x9*(-parseInt(_0x12b50b(0x128))/0xa)+parseInt(_0x12b50b(0x111))/0xb;if(_0x2aec6f===_0x47f44f)break;else _0x57d010['push'](_0x57d010['shift']());}catch(_0x5e3b71){_0x57d010['push'](_0x57d010['shift']());}}}(_0xf99b,0x3df77));import{ButtonView as _0x588a7e,View as _0xf1085e}from'ckeditor5/src/ui.js';import{getTranslation as _0x11f9a3}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x4dcb1d}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x2d884d(0x138),_0x2d884d(0x115)];export class AIChatFeedSuggestionItemActionsView extends _0xf1085e{[_0x2d884d(0x131)];[_0x2d884d(0x127)];[_0x2d884d(0x112)];constructor(_0x2201fe,_0x1e3858=[...AI_REPLY_ACTIONS],_0x5c34b8){const _0x4ced8a=_0x2d884d;super(_0x2201fe);const _0x311c54=this[_0x4ced8a(0x126)],_0x95a4f4=Boolean(_0x5c34b8);if(this[_0x4ced8a(0x12d)](_0x4ced8a(0x114),!_0x95a4f4),this[_0x4ced8a(0x12d)](_0x4ced8a(0x140),!0x1),this[_0x4ced8a(0x12d)](_0x4ced8a(0x13f),!0x1),this[_0x4ced8a(0x112)]=this[_0x4ced8a(0x13e)](),_0x95a4f4){const _0x1b1df8=new _0x588a7e(_0x2201fe);_0x1b1df8[_0x4ced8a(0x12d)]({'label':_0x11f9a3(_0x2201fe,_0x4ced8a(0x119)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x4dcb1d});const _0x38f450=new _0xf1085e(_0x2201fe);_0x38f450[_0x4ced8a(0x113)]({'tag':_0x4ced8a(0x13b),'attributes':{'class':_0x4ced8a(0x13c)},'children':[{'tag':'p','children':[_0x11f9a3(_0x2201fe,_0x4ced8a(0x116)),_0x1b1df8]}]}),this[_0x4ced8a(0x112)][_0x4ced8a(0x137)](_0x38f450);}else this[_0x4ced8a(0x131)]=new _0x588a7e(_0x2201fe),this[_0x4ced8a(0x131)][_0x4ced8a(0x12d)]({'label':_0x11f9a3(_0x2201fe,_0x4ced8a(0x12a)),'withText':!0x0,'type':_0x4ced8a(0x134),'isVisible':_0x1e3858[_0x4ced8a(0x12f)](_0x4ced8a(0x138)),'class':_0x4ced8a(0x130)}),this[_0x4ced8a(0x127)]=new _0x588a7e(_0x2201fe),this[_0x4ced8a(0x127)][_0x4ced8a(0x12d)]({'label':_0x11f9a3(_0x2201fe,_0x4ced8a(0x11b)),'withText':!0x0,'type':_0x4ced8a(0x134),'isVisible':_0x1e3858[_0x4ced8a(0x12f)](_0x4ced8a(0x115)),'class':_0x4ced8a(0x122)}),this[_0x4ced8a(0x127)]['on'](_0x4ced8a(0x136),()=>{const _0x4115c9=_0x4ced8a;this[_0x4115c9(0x11c)](_0x4115c9(0x115));}),this[_0x4ced8a(0x131)]['on'](_0x4ced8a(0x136),()=>{const _0xded7fa=_0x4ced8a;this[_0xded7fa(0x11c)](_0xded7fa(0x138));}),[this[_0x4ced8a(0x131)],this[_0x4ced8a(0x127)]][_0x4ced8a(0x125)](_0x5532d7=>{const _0x349193=_0x4ced8a;_0x5532d7[_0x349193(0x13d)](_0x349193(0x114))['to'](this);}),this[_0x4ced8a(0x112)][_0x4ced8a(0x11f)]([this[_0x4ced8a(0x131)],this[_0x4ced8a(0x127)]]);this[_0x4ced8a(0x113)]({'tag':_0x4ced8a(0x13b),'attributes':{'class':['ck',_0x4ced8a(0x132),_0x311c54['if'](_0x4ced8a(0x140),_0x4ced8a(0x120),_0x38fb49=>!_0x38fb49)]},'children':this[_0x4ced8a(0x112)]}),this['on'](_0x4ced8a(0x135),()=>{const _0x28b64f=_0x4ced8a;this[_0x28b64f(0x131)]&&(this[_0x28b64f(0x131)][_0x28b64f(0x140)]=!this[_0x28b64f(0x13f)]);});}[_0x2d884d(0x129)](_0x44b8bc){const _0x287cfc=_0x2d884d;this[_0x287cfc(0x140)]=_0x44b8bc;}[_0x2d884d(0x139)](_0x4fb2d9){const _0x57a243=_0x2d884d;this[_0x57a243(0x131)]&&this[_0x57a243(0x127)]&&(_0x4fb2d9?(this[_0x57a243(0x131)][_0x57a243(0x12c)]=_0x11f9a3(this[_0x57a243(0x117)],_0x57a243(0x12a)),this[_0x57a243(0x127)][_0x57a243(0x12c)]=_0x11f9a3(this[_0x57a243(0x117)],_0x57a243(0x11b))):(this[_0x57a243(0x131)][_0x57a243(0x12c)]=_0x11f9a3(this[_0x57a243(0x117)],_0x57a243(0x11e)),this[_0x57a243(0x127)][_0x57a243(0x12c)]=_0x11f9a3(this[_0x57a243(0x117)],_0x57a243(0x11a))));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5bb969=_0x5eea;(function(_0x46578f,_0x29a553){var _0x8e8a5=_0x5eea,_0x472bc5=_0x46578f();while(!![]){try{var _0x29fe1e=-parseInt(_0x8e8a5(0x14a))/0x1+parseInt(_0x8e8a5(0x13d))/0x2*(-parseInt(_0x8e8a5(0x156))/0x3)+parseInt(_0x8e8a5(0x160))/0x4*(-parseInt(_0x8e8a5(0x139))/0x5)+-parseInt(_0x8e8a5(0x13a))/0x6*(-parseInt(_0x8e8a5(0x138))/0x7)+parseInt(_0x8e8a5(0x148))/0x8*(-parseInt(_0x8e8a5(0x14f))/0x9)+parseInt(_0x8e8a5(0x143))/0xa*(parseInt(_0x8e8a5(0x158))/0xb)+parseInt(_0x8e8a5(0x144))/0xc*(parseInt(_0x8e8a5(0x15a))/0xd);if(_0x29fe1e===_0x29a553)break;else _0x472bc5['push'](_0x472bc5['shift']());}catch(_0x18e8cf){_0x472bc5['push'](_0x472bc5['shift']());}}}(_0x153a,0xb5fb0));function _0x153a(){var _0x28e940=['getPartView','1778266UmTjzc','50DtWxKX','18SoYBXC','updatePartState','like','4442XMSXmj','setPartActive','extendTemplate','bind','children','options','10PcgktS','12LKHNOz','containerView','updateSources','updateContent','2536HRDijh','mouseLeaveSuggestion','889591axWPor','areActionsDisabled','bodyView','applySuggestion','showChangeInText','33678oKyDTR','dislike','addMany','markAsDone','set','fire','ck-ai-chat__feed__ai-suggestion','1236FSAfbl','isTrackChangesOn','2279321HIrkrv','toggleSuggestionDisplayMode','50191622FbyENC','availableActions','insertSuggestion','rejectSuggestion','showDiff','mouseOverSuggestion','437588HYWQqf'];_0x153a=function(){return _0x28e940;};return _0x153a();}import{AIChatFeedItemView as _0x3b4cf2}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x2abcaa}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x5eea(_0x9250a1,_0x3ad9be){var _0x153ad9=_0x153a();return _0x5eea=function(_0x5eea6b,_0x5befd8){_0x5eea6b=_0x5eea6b-0x137;var _0x3e3b24=_0x153ad9[_0x5eea6b];return _0x3e3b24;},_0x5eea(_0x9250a1,_0x3ad9be);}export class AIChatFeedSuggestionItemView extends _0x3b4cf2{[_0x5bb969(0x145)];constructor(_0x5453fb,_0x560d61,_0x1717e5){var _0x23117c=_0x5bb969;super(_0x560d61),this[_0x23117c(0x153)](_0x23117c(0x157),!0x1),this[_0x23117c(0x145)]=new _0x2abcaa(_0x5453fb,{'showDiff':_0x560d61[_0x23117c(0x15e)],'areActionsDisabled':_0x560d61[_0x23117c(0x14b)],'availableActions':_0x560d61[_0x23117c(0x15b)]},_0x1717e5),this[_0x23117c(0x145)]['on'](_0x23117c(0x159),(_0x5aaca1,_0x28a37f)=>{var _0x21d155=_0x23117c;this[_0x21d155(0x154)](_0x21d155(0x159),{'replyId':this[_0x21d155(0x142)]['id'],'showDiff':_0x28a37f[_0x21d155(0x15e)]});}),this[_0x23117c(0x145)][_0x23117c(0x140)](_0x23117c(0x157))['to'](this),this[_0x23117c(0x145)]['on'](_0x23117c(0x13c),()=>{var _0x6fa7d0=_0x23117c;this[_0x6fa7d0(0x154)](_0x6fa7d0(0x13c),{'replyId':this[_0x6fa7d0(0x142)]['id']});}),this[_0x23117c(0x145)]['on'](_0x23117c(0x150),()=>{var _0x1ae909=_0x23117c;this[_0x1ae909(0x154)](_0x1ae909(0x150),{'replyId':this[_0x1ae909(0x142)]['id']});}),this[_0x23117c(0x145)]['on'](_0x23117c(0x14e),(_0x12f81b,{index:_0x403970})=>{var _0x1abb5a=_0x23117c;this[_0x1abb5a(0x154)](_0x1abb5a(0x14e),{'replyId':this[_0x1abb5a(0x142)]['id'],'partIndex':_0x403970});}),this[_0x23117c(0x145)]['on'](_0x23117c(0x14d),(_0x5c1b2c,{index:_0x266a37}={})=>{var _0x50a619=_0x23117c;this[_0x50a619(0x154)](_0x50a619(0x14d),{'replyId':this[_0x50a619(0x142)]['id'],'partIndex':_0x266a37});}),this[_0x23117c(0x145)]['on'](_0x23117c(0x15c),(_0x377eac,{index:_0xb7db1f}={})=>{var _0x171ff4=_0x23117c;this[_0x171ff4(0x154)](_0x171ff4(0x15c),{'replyId':this[_0x171ff4(0x142)]['id'],'partIndex':_0xb7db1f});}),this[_0x23117c(0x145)]['on'](_0x23117c(0x15d),(_0x378a73,{index:_0x525c4c})=>{var _0x4c3f02=_0x23117c;this[_0x4c3f02(0x154)](_0x4c3f02(0x15d),{'replyId':this[_0x4c3f02(0x142)]['id'],'partIndex':_0x525c4c});}),this[_0x23117c(0x145)]['on'](_0x23117c(0x15f),(_0x1c61f4,{index:_0x168aef})=>{var _0xb5393e=_0x23117c;this[_0xb5393e(0x154)](_0xb5393e(0x15f),{'replyId':this[_0xb5393e(0x142)]['id'],'partIndex':_0x168aef});}),this[_0x23117c(0x145)]['on'](_0x23117c(0x149),(_0x39c4a6,{index:_0x2e43dc})=>{var _0x17226f=_0x23117c;this[_0x17226f(0x154)](_0x17226f(0x149),{'replyId':this[_0x17226f(0x142)]['id'],'partIndex':_0x2e43dc});}),this[_0x23117c(0x141)][_0x23117c(0x151)]([this[_0x23117c(0x145)]]),this[_0x23117c(0x13f)]({'attributes':{'class':[_0x23117c(0x155)]}});}async[_0x5bb969(0x147)](_0xb6b2ea){var _0x4e10ba=_0x5bb969;await this[_0x4e10ba(0x145)][_0x4e10ba(0x147)](_0xb6b2ea);}[_0x5bb969(0x13b)](_0xb9f363,_0x2623ff){var _0x184e24=_0x5bb969;this[_0x184e24(0x145)][_0x184e24(0x14c)][_0x184e24(0x13b)](_0xb9f363,_0x2623ff);}[_0x5bb969(0x13e)](_0x1ed1b9,_0x28c16a){var _0x53b175=_0x5bb969;!0x1===_0x1ed1b9?this[_0x53b175(0x145)][_0x53b175(0x14c)][_0x53b175(0x13e)](!0x1):this[_0x53b175(0x145)][_0x53b175(0x14c)][_0x53b175(0x13e)](_0x1ed1b9,_0x28c16a);}[_0x5bb969(0x146)](_0x4f61da){var _0x9588d9=_0x5bb969;this[_0x9588d9(0x145)][_0x9588d9(0x146)](_0x4f61da);}[_0x5bb969(0x137)](_0x3ca4f6){var _0x2af2c6=_0x5bb969;return this[_0x2af2c6(0x145)][_0x2af2c6(0x14c)][_0x2af2c6(0x137)](_0x3ca4f6);}[_0x5bb969(0x152)](){var _0x5ee006=_0x5bb969;super[_0x5ee006(0x152)](),this[_0x5ee006(0x145)][_0x5ee006(0x152)]();}}
23
+ function _0x3b77(){var _0x52ddf5=['markAsDone','insertSuggestion','24147VihazP','fire','areActionsDisabled','274014UiOWyJ','bind','rejectSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','applySuggestion','extendTemplate','isTrackChangesOn','options','2159168ObgWEg','8320KufAKb','updateSources','3409923dUzGyt','updateContent','showChangeInText','like','children','availableActions','showDiff','getPartView','set','containerView','6YBhBbC','dislike','mouseOverSuggestion','addMany','ck-ai-chat__feed__ai-suggestion','updatePartState','7954485CwIUOS','32eaLjvY','1398516JPxGHs','setPartActive','366467GiFcQz','bodyView'];_0x3b77=function(){return _0x52ddf5;};return _0x3b77();}var _0x94adc9=_0x35c8;(function(_0x518b3f,_0x4d3a5b){var _0x3c6d57=_0x35c8,_0x3d202c=_0x518b3f();while(!![]){try{var _0x373655=parseInt(_0x3c6d57(0x85))/0x1*(parseInt(_0x3c6d57(0x7b))/0x2)+-parseInt(_0x3c6d57(0x98))/0x3+-parseInt(_0x3c6d57(0x95))/0x4+-parseInt(_0x3c6d57(0x81))/0x5+-parseInt(_0x3c6d57(0x8c))/0x6+parseInt(_0x3c6d57(0x83))/0x7*(parseInt(_0x3c6d57(0x82))/0x8)+parseInt(_0x3c6d57(0x89))/0x9*(parseInt(_0x3c6d57(0x96))/0xa);if(_0x373655===_0x4d3a5b)break;else _0x3d202c['push'](_0x3d202c['shift']());}catch(_0x3a9bb0){_0x3d202c['push'](_0x3d202c['shift']());}}}(_0x3b77,0xc7a92));function _0x35c8(_0x43d3d0,_0x5d0f14){var _0x3b7762=_0x3b77();return _0x35c8=function(_0x35c8ef,_0x5b406b){_0x35c8ef=_0x35c8ef-0x76;var _0x5851bf=_0x3b7762[_0x35c8ef];return _0x5851bf;},_0x35c8(_0x43d3d0,_0x5d0f14);}import{AIChatFeedItemView as _0x499b2b}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x1f28e7}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x499b2b{[_0x94adc9(0x7a)];constructor(_0x4e8c92,_0x2415d6,_0x5b945e){var _0x5e58a8=_0x94adc9;super(_0x2415d6),this[_0x5e58a8(0x79)](_0x5e58a8(0x93),!0x1),this[_0x5e58a8(0x7a)]=new _0x1f28e7(_0x4e8c92,{'showDiff':_0x2415d6[_0x5e58a8(0x77)],'areActionsDisabled':_0x2415d6[_0x5e58a8(0x8b)],'availableActions':_0x2415d6[_0x5e58a8(0x76)]},_0x5b945e),this[_0x5e58a8(0x7a)]['on'](_0x5e58a8(0x90),(_0x2ccae0,_0x5e744f)=>{var _0xf07a22=_0x5e58a8;this[_0xf07a22(0x8a)](_0xf07a22(0x90),{'replyId':this[_0xf07a22(0x94)]['id'],'showDiff':_0x5e744f[_0xf07a22(0x77)]});}),this[_0x5e58a8(0x7a)][_0x5e58a8(0x8d)](_0x5e58a8(0x93))['to'](this),this[_0x5e58a8(0x7a)]['on'](_0x5e58a8(0x9b),()=>{var _0x98b612=_0x5e58a8;this[_0x98b612(0x8a)](_0x98b612(0x9b),{'replyId':this[_0x98b612(0x94)]['id']});}),this[_0x5e58a8(0x7a)]['on'](_0x5e58a8(0x7c),()=>{var _0x5a0bb7=_0x5e58a8;this[_0x5a0bb7(0x8a)](_0x5a0bb7(0x7c),{'replyId':this[_0x5a0bb7(0x94)]['id']});}),this[_0x5e58a8(0x7a)]['on'](_0x5e58a8(0x9a),(_0x2f8ceb,{index:_0xca05b8})=>{var _0x50c803=_0x5e58a8;this[_0x50c803(0x8a)](_0x50c803(0x9a),{'replyId':this[_0x50c803(0x94)]['id'],'partIndex':_0xca05b8});}),this[_0x5e58a8(0x7a)]['on'](_0x5e58a8(0x91),(_0x29ee20,{index:_0x3411c4}={})=>{var _0x5abcd2=_0x5e58a8;this[_0x5abcd2(0x8a)](_0x5abcd2(0x91),{'replyId':this[_0x5abcd2(0x94)]['id'],'partIndex':_0x3411c4});}),this[_0x5e58a8(0x7a)]['on'](_0x5e58a8(0x88),(_0x2c53cf,{index:_0x29931a}={})=>{var _0x168147=_0x5e58a8;this[_0x168147(0x8a)](_0x168147(0x88),{'replyId':this[_0x168147(0x94)]['id'],'partIndex':_0x29931a});}),this[_0x5e58a8(0x7a)]['on'](_0x5e58a8(0x8e),(_0xa771d,{index:_0x3b3a20})=>{var _0x82ccc9=_0x5e58a8;this[_0x82ccc9(0x8a)](_0x82ccc9(0x8e),{'replyId':this[_0x82ccc9(0x94)]['id'],'partIndex':_0x3b3a20});}),this[_0x5e58a8(0x7a)]['on'](_0x5e58a8(0x7d),(_0x972c21,{index:_0x51e0e1})=>{var _0x2df5ee=_0x5e58a8;this[_0x2df5ee(0x8a)](_0x2df5ee(0x7d),{'replyId':this[_0x2df5ee(0x94)]['id'],'partIndex':_0x51e0e1});}),this[_0x5e58a8(0x7a)]['on'](_0x5e58a8(0x8f),(_0x4dec0d,{index:_0x29259c})=>{var _0x7dfae3=_0x5e58a8;this[_0x7dfae3(0x8a)](_0x7dfae3(0x8f),{'replyId':this[_0x7dfae3(0x94)]['id'],'partIndex':_0x29259c});}),this[_0x5e58a8(0x9c)][_0x5e58a8(0x7e)]([this[_0x5e58a8(0x7a)]]),this[_0x5e58a8(0x92)]({'attributes':{'class':[_0x5e58a8(0x7f)]}});}async[_0x94adc9(0x99)](_0x52a33a){var _0x4e7cfe=_0x94adc9;await this[_0x4e7cfe(0x7a)][_0x4e7cfe(0x99)](_0x52a33a);}[_0x94adc9(0x80)](_0x51deb2,_0x255dfb){var _0x12105b=_0x94adc9;this[_0x12105b(0x7a)][_0x12105b(0x86)][_0x12105b(0x80)](_0x51deb2,_0x255dfb);}[_0x94adc9(0x84)](_0x14a2eb,_0x2df764){var _0x1ec0ec=_0x94adc9;!0x1===_0x14a2eb?this[_0x1ec0ec(0x7a)][_0x1ec0ec(0x86)][_0x1ec0ec(0x84)](!0x1):this[_0x1ec0ec(0x7a)][_0x1ec0ec(0x86)][_0x1ec0ec(0x84)](_0x14a2eb,_0x2df764);}[_0x94adc9(0x97)](_0x4ca62a){var _0x2846e9=_0x94adc9;this[_0x2846e9(0x7a)][_0x2846e9(0x97)](_0x4ca62a);}[_0x94adc9(0x78)](_0x4bf9e6){var _0xda91b5=_0x94adc9;return this[_0xda91b5(0x7a)][_0xda91b5(0x86)][_0xda91b5(0x78)](_0x4bf9e6);}[_0x94adc9(0x87)](){var _0x18d0f8=_0x94adc9;super[_0x18d0f8(0x87)](),this[_0x18d0f8(0x7a)][_0x18d0f8(0x87)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5878(_0x2eb2e2,_0x9ee7d7){var _0x53f6f5=_0x53f6();return _0x5878=function(_0x587871,_0xe7af55){_0x587871=_0x587871-0x194;var _0x231075=_0x53f6f5[_0x587871];return _0x231075;},_0x5878(_0x2eb2e2,_0x9ee7d7);}var _0x51ed78=_0x5878;(function(_0x2703b6,_0x19bfd4){var _0x51f90a=_0x5878,_0x32a0e4=_0x2703b6();while(!![]){try{var _0x391acd=parseInt(_0x51f90a(0x1b0))/0x1*(-parseInt(_0x51f90a(0x194))/0x2)+parseInt(_0x51f90a(0x1a8))/0x3+parseInt(_0x51f90a(0x1a9))/0x4*(-parseInt(_0x51f90a(0x1ae))/0x5)+-parseInt(_0x51f90a(0x196))/0x6*(parseInt(_0x51f90a(0x1ab))/0x7)+-parseInt(_0x51f90a(0x1b6))/0x8+parseInt(_0x51f90a(0x1b4))/0x9*(-parseInt(_0x51f90a(0x1b5))/0xa)+parseInt(_0x51f90a(0x199))/0xb;if(_0x391acd===_0x19bfd4)break;else _0x32a0e4['push'](_0x32a0e4['shift']());}catch(_0x2fcae3){_0x32a0e4['push'](_0x32a0e4['shift']());}}}(_0x53f6,0x720cb));import{AIChatFeedItemView as _0xc8018a}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x1ae42f}from'./aichatfeedcontextchipsview.js';import{View as _0x22e114}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0xc8018a{[_0x51ed78(0x1aa)]=null;[_0x51ed78(0x1a2)];[_0x51ed78(0x1b2)];[_0x51ed78(0x195)];constructor(_0x42ed28,_0xe8cb6d,_0x256a46){var _0x3e6aa6=_0x51ed78;super(_0xe8cb6d),this[_0x3e6aa6(0x1a2)]=_0x42ed28,this[_0x3e6aa6(0x1b2)]=_0x256a46,this[_0x3e6aa6(0x1a5)](),this[_0x3e6aa6(0x1ac)](),this[_0x3e6aa6(0x19f)]({'attributes':{'class':[_0x3e6aa6(0x1b3)]}});}[_0x51ed78(0x1a5)](){var _0xc965ae=_0x51ed78;this[_0xc965ae(0x1a6)][_0xc965ae(0x1a1)]&&this[_0xc965ae(0x1a6)][_0xc965ae(0x1a1)][_0xc965ae(0x19b)]>0x0&&(this[_0xc965ae(0x1aa)]=new _0x1ae42f(this[_0xc965ae(0x1a2)],this[_0xc965ae(0x1a6)][_0xc965ae(0x1a1)][_0xc965ae(0x1b1)](_0x2a43e4=>!_0x2a43e4[_0xc965ae(0x19e)]),this[_0xc965ae(0x1b2)]),this[_0xc965ae(0x1aa)][_0xc965ae(0x19f)]({'attributes':{'class':_0xc965ae(0x19a)}}),this[_0xc965ae(0x1a7)][_0xc965ae(0x1a3)](this[_0xc965ae(0x1aa)]));}[_0x51ed78(0x1ac)](){var _0x51d393=_0x51ed78;this[_0x51d393(0x195)]=new _0x22e114(this[_0x51d393(0x1a2)]),this[_0x51d393(0x195)][_0x51d393(0x1ad)]({'tag':_0x51d393(0x19d),'attributes':{'class':_0x51d393(0x1a4)}}),this[_0x51d393(0x1a7)][_0x51d393(0x1a3)](this[_0x51d393(0x195)]);}[_0x51ed78(0x1a0)](){var _0x51ccfa=_0x51ed78;super[_0x51ccfa(0x1a0)](),this[_0x51ccfa(0x195)][_0x51ccfa(0x198)][_0x51ccfa(0x19c)]=this[_0x51ccfa(0x1a6)][_0x51ccfa(0x1af)],this[_0x51ccfa(0x197)]();}}function _0x53f6(){var _0x1ba19=['45PIHvol','1375550rWtLhh','460856exSsSi','2XfFgqY','_messageContentView','4302NNtBMy','markAsDone','element','27158780wJjejL','ck-ai-chat__feed__context-chips','length','innerHTML','div','hidden','extendTemplate','render','contextItems','_locale','add','ck-ai-chat__feed__message-content','_createContextChipsView','options','children','1908096iRqAtQ','3280812urGvMA','_contextChipsView','6216RDvBly','_createMessageContentView','setTemplate','5zjZCCR','initialContent','435584HxbMHt','filter','_bodyCollection','ck-ai-chat__feed__user-message'];_0x53f6=function(){return _0x1ba19;};return _0x53f6();}
23
+ var _0x44f5bc=_0x5eec;function _0x5eec(_0x1694e4,_0x5a4529){var _0x5969e7=_0x5969();return _0x5eec=function(_0x5eec93,_0x43373a){_0x5eec93=_0x5eec93-0x19c;var _0x23224d=_0x5969e7[_0x5eec93];return _0x23224d;},_0x5eec(_0x1694e4,_0x5a4529);}(function(_0x19dd38,_0x24de42){var _0x581d7b=_0x5eec,_0x41c390=_0x19dd38();while(!![]){try{var _0x5bc8b9=-parseInt(_0x581d7b(0x1a8))/0x1+-parseInt(_0x581d7b(0x1bd))/0x2*(-parseInt(_0x581d7b(0x1b0))/0x3)+-parseInt(_0x581d7b(0x1ac))/0x4*(-parseInt(_0x581d7b(0x1a1))/0x5)+parseInt(_0x581d7b(0x1b6))/0x6+-parseInt(_0x581d7b(0x1aa))/0x7*(parseInt(_0x581d7b(0x19d))/0x8)+parseInt(_0x581d7b(0x1b8))/0x9+parseInt(_0x581d7b(0x1ae))/0xa;if(_0x5bc8b9===_0x24de42)break;else _0x41c390['push'](_0x41c390['shift']());}catch(_0x201d73){_0x41c390['push'](_0x41c390['shift']());}}}(_0x5969,0xb1a3f));import{AIChatFeedItemView as _0x16c948}from'./aichatfeeditemview.js';function _0x5969(){var _0x1e3f7c=['11256400Mrttrg','add','2073HhJwtU','ck-ai-chat__feed__context-chips','hidden','element','initialContent','_contextChipsView','352314kwcCAO','extendTemplate','708579SzyIbt','filter','_messageContentView','setTemplate','_createMessageContentView','576JiwqAf','markAsDone','57056bbFsOR','_locale','render','ck-ai-chat__feed__user-message','5709790AmWQHc','contextItems','options','_createContextChipsView','length','ck-ai-chat__feed__message-content','div','1313013KKJaQh','innerHTML','553nCpJNU','_bodyCollection','4VzTYHv','children'];_0x5969=function(){return _0x1e3f7c;};return _0x5969();}import{AIChatFeedContextChipsView as _0x58d755}from'./aichatfeedcontextchipsview.js';import{View as _0xe6dcde}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x16c948{[_0x44f5bc(0x1b5)]=null;[_0x44f5bc(0x19e)];[_0x44f5bc(0x1ab)];[_0x44f5bc(0x1ba)];constructor(_0x5ec78a,_0x43f05e,_0x5daf6c){var _0x3e4c2c=_0x44f5bc;super(_0x43f05e),this[_0x3e4c2c(0x19e)]=_0x5ec78a,this[_0x3e4c2c(0x1ab)]=_0x5daf6c,this[_0x3e4c2c(0x1a4)](),this[_0x3e4c2c(0x1bc)](),this[_0x3e4c2c(0x1b7)]({'attributes':{'class':[_0x3e4c2c(0x1a0)]}});}[_0x44f5bc(0x1a4)](){var _0x5e4835=_0x44f5bc;this[_0x5e4835(0x1a3)][_0x5e4835(0x1a2)]&&this[_0x5e4835(0x1a3)][_0x5e4835(0x1a2)][_0x5e4835(0x1a5)]>0x0&&(this[_0x5e4835(0x1b5)]=new _0x58d755(this[_0x5e4835(0x19e)],this[_0x5e4835(0x1a3)][_0x5e4835(0x1a2)][_0x5e4835(0x1b9)](_0x51d2d9=>!_0x51d2d9[_0x5e4835(0x1b2)]),this[_0x5e4835(0x1ab)]),this[_0x5e4835(0x1b5)][_0x5e4835(0x1b7)]({'attributes':{'class':_0x5e4835(0x1b1)}}),this[_0x5e4835(0x1ad)][_0x5e4835(0x1af)](this[_0x5e4835(0x1b5)]));}[_0x44f5bc(0x1bc)](){var _0x494662=_0x44f5bc;this[_0x494662(0x1ba)]=new _0xe6dcde(this[_0x494662(0x19e)]),this[_0x494662(0x1ba)][_0x494662(0x1bb)]({'tag':_0x494662(0x1a7),'attributes':{'class':_0x494662(0x1a6)}}),this[_0x494662(0x1ad)][_0x494662(0x1af)](this[_0x494662(0x1ba)]);}[_0x44f5bc(0x19f)](){var _0x28a8e6=_0x44f5bc;super[_0x28a8e6(0x19f)](),this[_0x28a8e6(0x1ba)][_0x28a8e6(0x1b3)][_0x28a8e6(0x1a9)]=this[_0x28a8e6(0x1a3)][_0x28a8e6(0x1b4)],this[_0x28a8e6(0x19c)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1a6c(_0x146d2f,_0xaf7379){const _0x4242d9=_0x4242();return _0x1a6c=function(_0x1a6c39,_0x8e183e){_0x1a6c39=_0x1a6c39-0x9d;let _0x239169=_0x4242d9[_0x1a6c39];return _0x239169;},_0x1a6c(_0x146d2f,_0xaf7379);}const _0x188afd=_0x1a6c;(function(_0x19ab40,_0x285ce2){const _0x3bf63b=_0x1a6c,_0x393363=_0x19ab40();while(!![]){try{const _0x53806e=parseInt(_0x3bf63b(0xa1))/0x1+-parseInt(_0x3bf63b(0xac))/0x2*(parseInt(_0x3bf63b(0xaa))/0x3)+-parseInt(_0x3bf63b(0xa2))/0x4+-parseInt(_0x3bf63b(0xa9))/0x5+-parseInt(_0x3bf63b(0xad))/0x6*(-parseInt(_0x3bf63b(0xb3))/0x7)+parseInt(_0x3bf63b(0xb1))/0x8+-parseInt(_0x3bf63b(0x9f))/0x9*(-parseInt(_0x3bf63b(0xa7))/0xa);if(_0x53806e===_0x285ce2)break;else _0x393363['push'](_0x393363['shift']());}catch(_0x2e81be){_0x393363['push'](_0x393363['shift']());}}}(_0x4242,0x478cd));function _0x4242(){const _0x20f302=['loadSourceResources','abortPromptStream','2360480aQcOzG','toggleReasoning','840ZKoeKB','addUrlToContext','addResourceToContext','addDocumentToContext','45nSjYbL','executeCustomItemCallback','233047LusrWR','383256ueXAGQ','startConversation','resizeTabs','toggleWebSearch','removeContextItem','57080jayAzs','selectModel','819085WAoESR','3qwMcmP','sendUserMessage','1151494ogHpqB','28590dbnlrh','addFileToContext'];_0x4242=function(){return _0x20f302;};return _0x4242();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4ef06a}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x4ef06a,_0x188afd(0xa3),_0x188afd(0xa4),_0x188afd(0xab),_0x188afd(0xb0),_0x188afd(0x9e),_0x188afd(0xae),_0x188afd(0xb4),_0x188afd(0xa0),_0x188afd(0x9d),_0x188afd(0xa6),_0x188afd(0xaf),_0x188afd(0xa5),_0x188afd(0xb2),_0x188afd(0xa8)];
23
+ const _0x56d907=_0x5eef;(function(_0x40354b,_0x4f5091){const _0xa125ba=_0x5eef,_0x358548=_0x40354b();while(!![]){try{const _0x3cff06=parseInt(_0xa125ba(0x1e0))/0x1+parseInt(_0xa125ba(0x1de))/0x2*(-parseInt(_0xa125ba(0x1e1))/0x3)+-parseInt(_0xa125ba(0x1f0))/0x4+parseInt(_0xa125ba(0x1df))/0x5*(-parseInt(_0xa125ba(0x1ee))/0x6)+parseInt(_0xa125ba(0x1f3))/0x7+-parseInt(_0xa125ba(0x1e7))/0x8*(-parseInt(_0xa125ba(0x1e4))/0x9)+parseInt(_0xa125ba(0x1ed))/0xa;if(_0x3cff06===_0x4f5091)break;else _0x358548['push'](_0x358548['shift']());}catch(_0x1d8f23){_0x358548['push'](_0x358548['shift']());}}}(_0x1b33,0x33dc6));function _0x1b33(){const _0x35fb96=['toggleWebSearch','18264PkTWXb','loadSourceResources','removeContextItem','addUrlToContext','executeCustomItemCallback','sendUserMessage','2344630aiiLTA','72ZDShky','addResourceToContext','1349712PthOby','startConversation','addDocumentToContext','393323yemOuj','addFileToContext','abortPromptStream','99922goMEtF','58365PmhFvr','70257sdnmjn','3zXvprz','selectModel','toggleReasoning','1494pPTEuF','resizeTabs'];_0x1b33=function(){return _0x35fb96;};return _0x1b33();}function _0x5eef(_0xb63cde,_0x37f524){const _0x1b3311=_0x1b33();return _0x5eef=function(_0x5eef29,_0x3e0085){_0x5eef29=_0x5eef29-0x1de;let _0x9f12fd=_0x1b3311[_0x5eef29];return _0x9f12fd;},_0x5eef(_0xb63cde,_0x37f524);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x52e653}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x52e653,_0x56d907(0x1f1),_0x56d907(0x1e5),_0x56d907(0x1ec),_0x56d907(0x1f5),_0x56d907(0x1f2),_0x56d907(0x1f4),_0x56d907(0x1ea),_0x56d907(0x1eb),_0x56d907(0x1ef),_0x56d907(0x1e9),_0x56d907(0x1e8),_0x56d907(0x1e6),_0x56d907(0x1e3),_0x56d907(0x1e2)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xe3fe(){const _0x375be9=['enqueue','fire','once','queue','2893886nLdZnY','1299789XNxHJn','4185136GBlhQC','reject','192tiNGVt','push','_processQueue','resolve','6224815StNpJH','queueEmptyPromise','callback','signal','completePromise','createTask','length','_queueEmpty','16577912FIzKKZ','121961laslIj','shift','463930WFfbIl','abort','isProcessing','_abortController'];_0xe3fe=function(){return _0x375be9;};return _0xe3fe();}function _0x4c0b(_0x1b71a5,_0x4beb96){const _0xe3fe76=_0xe3fe();return _0x4c0b=function(_0x4c0b7a,_0x1e9680){_0x4c0b7a=_0x4c0b7a-0x152;let _0x438df6=_0xe3fe76[_0x4c0b7a];return _0x438df6;},_0x4c0b(_0x1b71a5,_0x4beb96);}const _0x324c07=_0x4c0b;(function(_0xdd1f28,_0x38e821){const _0x533404=_0x4c0b,_0x3e1ceb=_0xdd1f28();while(!![]){try{const _0xde4613=-parseInt(_0x533404(0x164))/0x1+parseInt(_0x533404(0x16c))/0x2+-parseInt(_0x533404(0x152))/0x3+-parseInt(_0x533404(0x153))/0x4+-parseInt(_0x533404(0x159))/0x5+-parseInt(_0x533404(0x155))/0x6*(-parseInt(_0x533404(0x162))/0x7)+parseInt(_0x533404(0x161))/0x8;if(_0xde4613===_0x38e821)break;else _0x3e1ceb['push'](_0x3e1ceb['shift']());}catch(_0x4aef4a){_0x3e1ceb['push'](_0x3e1ceb['shift']());}}}(_0xe3fe,0xd8dd6));import{EmitterMixin as _0x344cfe}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x344cfe(){[_0x324c07(0x16b)]=[];[_0x324c07(0x166)]=!0x1;[_0x324c07(0x167)];async[_0x324c07(0x168)](_0x413deb){const _0x43066f=_0x324c07,_0x42f161=this[_0x43066f(0x15e)](_0x413deb);return this[_0x43066f(0x16b)][_0x43066f(0x156)](_0x42f161),this[_0x43066f(0x157)](),_0x42f161[_0x43066f(0x15d)];}[_0x324c07(0x165)](){const _0x2b29fe=_0x324c07;this[_0x2b29fe(0x166)]&&(this[_0x2b29fe(0x167)][_0x2b29fe(0x165)](),this[_0x2b29fe(0x167)]=void 0x0,this[_0x2b29fe(0x16b)]=[],this[_0x2b29fe(0x169)](_0x2b29fe(0x160)),this[_0x2b29fe(0x166)]=!0x1);}get[_0x324c07(0x15a)](){const _0x5bfdc0=_0x324c07;return this[_0x5bfdc0(0x16b)][_0x5bfdc0(0x15f)]||this[_0x5bfdc0(0x166)]?new Promise(_0x276e16=>{const _0x43bb40=_0x5bfdc0;this[_0x43bb40(0x16a)](_0x43bb40(0x160),()=>{_0x276e16();});}):Promise[_0x5bfdc0(0x158)]();}async[_0x324c07(0x157)](){const _0x22a1d2=_0x324c07;if(!this[_0x22a1d2(0x166)]){this[_0x22a1d2(0x167)]=new AbortController(),this[_0x22a1d2(0x166)]=!0x0;try{for(;this[_0x22a1d2(0x16b)][_0x22a1d2(0x15f)]&&this[_0x22a1d2(0x166)];){const _0xcfb91=this[_0x22a1d2(0x16b)][_0x22a1d2(0x163)]();try{await _0xcfb91[_0x22a1d2(0x15b)](this[_0x22a1d2(0x167)][_0x22a1d2(0x15c)]),_0xcfb91[_0x22a1d2(0x158)]();}catch(_0x22169c){_0xcfb91[_0x22a1d2(0x154)](_0x22169c);}}}finally{this[_0x22a1d2(0x166)]=!0x1,this[_0x22a1d2(0x167)]=void 0x0;}this[_0x22a1d2(0x169)](_0x22a1d2(0x160));}}[_0x324c07(0x15e)](_0x1e726e){let _0x4e2534,_0x166698;const _0x2c673a=new Promise((_0x45e89d,_0x24bd83)=>{_0x4e2534=_0x45e89d,_0x166698=_0x24bd83;});return{'callback':_0x1e726e,'resolve':_0x4e2534,'reject':_0x166698,'completePromise':_0x2c673a};}}
23
+ const _0x20eb59=_0x20eb;function _0x40e1(){const _0x1fa6f2=['3141SOysKS','15673QOdjMy','resolve','enqueue','1123702uyuhEw','339YYruRc','41530YNbItW','508AgviiM','isProcessing','push','abort','shift','fire','reject','length','3365936HZkebG','_abortController','queue','once','2526nbzZqF','queueEmptyPromise','createTask','_queueEmpty','completePromise','_processQueue','callback','4817788gDhvXX','4847375YQkVgq','signal'];_0x40e1=function(){return _0x1fa6f2;};return _0x40e1();}(function(_0x381273,_0x50e8c1){const _0x3e6e32=_0x20eb,_0xfc7462=_0x381273();while(!![]){try{const _0x3436af=parseInt(_0x3e6e32(0x8f))/0x1+-parseInt(_0x3e6e32(0x92))/0x2*(-parseInt(_0x3e6e32(0x90))/0x3)+-parseInt(_0x3e6e32(0x88))/0x4+-parseInt(_0x3e6e32(0x89))/0x5+parseInt(_0x3e6e32(0x81))/0x6*(parseInt(_0x3e6e32(0x8c))/0x7)+-parseInt(_0x3e6e32(0x7d))/0x8+parseInt(_0x3e6e32(0x8b))/0x9*(parseInt(_0x3e6e32(0x91))/0xa);if(_0x3436af===_0x50e8c1)break;else _0xfc7462['push'](_0xfc7462['shift']());}catch(_0x207e3a){_0xfc7462['push'](_0xfc7462['shift']());}}}(_0x40e1,0xe7dfc));import{EmitterMixin as _0x527dbd}from'ckeditor5/src/utils.js';function _0x20eb(_0x2b9a45,_0x3136d6){const _0x40e10e=_0x40e1();return _0x20eb=function(_0x20ebd1,_0x2483b7){_0x20ebd1=_0x20ebd1-0x7c;let _0x5d0d71=_0x40e10e[_0x20ebd1];return _0x5d0d71;},_0x20eb(_0x2b9a45,_0x3136d6);}export class PromiseQueue extends _0x527dbd(){[_0x20eb59(0x7f)]=[];[_0x20eb59(0x93)]=!0x1;[_0x20eb59(0x7e)];async[_0x20eb59(0x8e)](_0x35789a){const _0x5f0325=_0x20eb59,_0x4feb01=this[_0x5f0325(0x83)](_0x35789a);return this[_0x5f0325(0x7f)][_0x5f0325(0x94)](_0x4feb01),this[_0x5f0325(0x86)](),_0x4feb01[_0x5f0325(0x85)];}[_0x20eb59(0x95)](){const _0x2fa670=_0x20eb59;this[_0x2fa670(0x93)]&&(this[_0x2fa670(0x7e)][_0x2fa670(0x95)](),this[_0x2fa670(0x7e)]=void 0x0,this[_0x2fa670(0x7f)]=[],this[_0x2fa670(0x97)](_0x2fa670(0x84)),this[_0x2fa670(0x93)]=!0x1);}get[_0x20eb59(0x82)](){const _0x2c02e8=_0x20eb59;return this[_0x2c02e8(0x7f)][_0x2c02e8(0x7c)]||this[_0x2c02e8(0x93)]?new Promise(_0xfdf509=>{const _0x3e7f19=_0x2c02e8;this[_0x3e7f19(0x80)](_0x3e7f19(0x84),()=>{_0xfdf509();});}):Promise[_0x2c02e8(0x8d)]();}async[_0x20eb59(0x86)](){const _0x4bd562=_0x20eb59;if(!this[_0x4bd562(0x93)]){this[_0x4bd562(0x7e)]=new AbortController(),this[_0x4bd562(0x93)]=!0x0;try{for(;this[_0x4bd562(0x7f)][_0x4bd562(0x7c)]&&this[_0x4bd562(0x93)];){const _0x260e32=this[_0x4bd562(0x7f)][_0x4bd562(0x96)]();try{await _0x260e32[_0x4bd562(0x87)](this[_0x4bd562(0x7e)][_0x4bd562(0x8a)]),_0x260e32[_0x4bd562(0x8d)]();}catch(_0x503c0e){_0x260e32[_0x4bd562(0x98)](_0x503c0e);}}}finally{this[_0x4bd562(0x93)]=!0x1,this[_0x4bd562(0x7e)]=void 0x0;}this[_0x4bd562(0x97)](_0x4bd562(0x84));}}[_0x20eb59(0x83)](_0x58cd09){let _0x168e35,_0x4a8090;const _0x110d83=new Promise((_0x40106d,_0x8d6938)=>{_0x168e35=_0x40106d,_0x4a8090=_0x8d6938;});return{'callback':_0x58cd09,'resolve':_0x168e35,'reject':_0x4a8090,'completePromise':_0x110d83};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4b290f=_0xf07d;(function(_0x505057,_0x194906){var _0x3dad68=_0xf07d,_0x41198d=_0x505057();while(!![]){try{var _0x486dfe=parseInt(_0x3dad68(0x6f))/0x1*(-parseInt(_0x3dad68(0x68))/0x2)+parseInt(_0x3dad68(0x65))/0x3+parseInt(_0x3dad68(0x6a))/0x4+-parseInt(_0x3dad68(0x6d))/0x5*(parseInt(_0x3dad68(0x67))/0x6)+-parseInt(_0x3dad68(0x73))/0x7*(parseInt(_0x3dad68(0x6b))/0x8)+parseInt(_0x3dad68(0x74))/0x9+-parseInt(_0x3dad68(0x66))/0xa*(-parseInt(_0x3dad68(0x69))/0xb);if(_0x486dfe===_0x194906)break;else _0x41198d['push'](_0x41198d['shift']());}catch(_0x4f68f8){_0x41198d['push'](_0x41198d['shift']());}}}(_0xdd1a,0xad199));import{ContextPlugin as _0x2357ef}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x40af5e}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x533f32}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';function _0xdd1a(){var _0x45035d=['146nzhNmS','33nmpRHn','1297620pPzJCI','24JAoCsD','isOfficialPlugin','1200935hnAktx','AIChatHistory','13921OGfghl','isPremiumPlugin','pluginName','requires','3095414ajaRek','6924150qqPiVA','4151526tiUvxi','5116690AmYrnu','24UCImyG'];_0xdd1a=function(){return _0x45035d;};return _0xdd1a();}function _0xf07d(_0x275a3a,_0x48bca3){var _0xdd1aa3=_0xdd1a();return _0xf07d=function(_0xf07d1d,_0x486795){_0xf07d1d=_0xf07d1d-0x65;var _0x1571c0=_0xdd1aa3[_0xf07d1d];return _0x1571c0;},_0xf07d(_0x275a3a,_0x48bca3);}export class AIChatHistory extends _0x2357ef{static get[_0x4b290f(0x72)](){return[_0x40af5e,_0x533f32];}static get[_0x4b290f(0x71)](){var _0x1fe000=_0x4b290f;return _0x1fe000(0x6e);}static get[_0x4b290f(0x6c)](){return!0x0;}static get[_0x4b290f(0x70)](){return!0x0;}}
23
+ var _0x546a2d=_0x5d5b;(function(_0xb14a84,_0x480b27){var _0x5aa24b=_0x5d5b,_0x99ce54=_0xb14a84();while(!![]){try{var _0x35455b=-parseInt(_0x5aa24b(0x73))/0x1+-parseInt(_0x5aa24b(0x7c))/0x2*(-parseInt(_0x5aa24b(0x72))/0x3)+-parseInt(_0x5aa24b(0x7d))/0x4+-parseInt(_0x5aa24b(0x78))/0x5*(parseInt(_0x5aa24b(0x79))/0x6)+-parseInt(_0x5aa24b(0x71))/0x7*(parseInt(_0x5aa24b(0x7f))/0x8)+-parseInt(_0x5aa24b(0x74))/0x9+parseInt(_0x5aa24b(0x77))/0xa;if(_0x35455b===_0x480b27)break;else _0x99ce54['push'](_0x99ce54['shift']());}catch(_0x5333f6){_0x99ce54['push'](_0x99ce54['shift']());}}}(_0x4c03,0xc74a8));import{ContextPlugin as _0xabb0e7}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x2fc01a}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x34f773}from'./aichathistoryui.js';function _0x4c03(){var _0x1161e3=['358379iootZU','5533200epRMup','isOfficialPlugin','requires','37089050hiOyoY','4597045rJudxh','6tkbHQg','isPremiumPlugin','AIChatHistory','717404KsRfYu','4487000qELSDi','pluginName','8vuSWQX','9191553mmjsmg','12nqYvvo'];_0x4c03=function(){return _0x1161e3;};return _0x4c03();}function _0x5d5b(_0x24a059,_0x1adafb){var _0x4c034e=_0x4c03();return _0x5d5b=function(_0x5d5b7d,_0x3623cd){_0x5d5b7d=_0x5d5b7d-0x71;var _0x335172=_0x4c034e[_0x5d5b7d];return _0x335172;},_0x5d5b(_0x24a059,_0x1adafb);}export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0xabb0e7{static get[_0x546a2d(0x76)](){return[_0x2fc01a,_0x34f773];}static get[_0x546a2d(0x7e)](){var _0x4ef971=_0x546a2d;return _0x4ef971(0x7b);}static get[_0x546a2d(0x75)](){return!0x0;}static get[_0x546a2d(0x7a)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x471343=_0x2661;(function(_0x45d416,_0x53068a){const _0x18052a=_0x2661,_0x2f2823=_0x45d416();while(!![]){try{const _0x306430=parseInt(_0x18052a(0x1bd))/0x1+parseInt(_0x18052a(0x1f3))/0x2+parseInt(_0x18052a(0x19d))/0x3*(parseInt(_0x18052a(0x1b6))/0x4)+parseInt(_0x18052a(0x1e5))/0x5+parseInt(_0x18052a(0x1dc))/0x6*(-parseInt(_0x18052a(0x1e8))/0x7)+parseInt(_0x18052a(0x1b7))/0x8+-parseInt(_0x18052a(0x1ad))/0x9;if(_0x306430===_0x53068a)break;else _0x2f2823['push'](_0x2f2823['shift']());}catch(_0x533aa1){_0x2f2823['push'](_0x2f2823['shift']());}}}(_0x4328,0xd3cd3));function _0x4328(){const _0x35296e=['AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','AI_CHAT_UNTITLED_CONVERSATION','7UQrLrq','_aiChatController','pin','_showConversationHistory','_aiChatHistoryUi','createdAt','_aiConnector','updates','loadConversation','error','title','1265508sFGSjf','plugins','change:activeConversation','history','operation','_updateHistoryItemsUI','listenTo','push','pluginName','map','itemsLoaded','pinned','_handleEditTitle','locale','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','1644mTRThk','isPremiumPlugin','AIChatHistoryController','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','resize','items','setDate','resizedTabs','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','activateTab','chat','_handleHistoryErrorUI','isOfficialPlugin','AI_CHAT_HISTORY_ERROR_GENERIC','updateItemTitle','removeHistoryItem','9674307QZIhTd','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','openChat','AI_CHAT_HISTORY_CATEGORY_TODAY','unpin','loadItems','getItem','selectConversation','itemId','436kwiYTs','848416lcENYc','requires','AI_CHAT_HISTORY_CATEGORY_PINNED','showError','removeConversation','updateItems','557109ahoOib','_handleTogglePin','length','itemRemoved','get','getMonth','context','_setIsMaximized','activeConversation','_handleSelectConversation','setConversationPinned','getGroupId','editConversationTitle','_handleRemove','removeItem','_getCategorizedItems','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','rename','_clearItemLoading','toLocaleDateString','remove','getFullYear','itemUpdated','_setItemLoading','init','AI_CHAT_HISTORY_CATEGORY_LATER','getItems','getDate','AI_CHAT_HISTORY_UNPIN_ACTION','resizeTabs','activateTab:history','642156ChRFdc','_generateErrorMessage','view','setLoadingSkeleton','updateItemLoadingState','AI_CHAT_HISTORY_PIN_ACTION','updateItemPinned','setIsMaximized','handleRemovedConversation','3469205AagKBK'];_0x4328=function(){return _0x35296e;};return _0x4328();}import{ContextPlugin as _0x30cee3}from'ckeditor5/src/core.js';import{AIConnector as _0x3c8542}from'../aicore/aiconnector.js';import{AIChatController as _0x15349c}from'../aichat/aichatcontroller.js';import{AITabs as _0x59bb0c}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x3ca142}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x2a393d}from'./model/aichathistoryconversations.js';import{getTranslation as _0x424e70}from'../aicore/utils/common-translations.js';function _0x2661(_0x2c2213,_0x48bdc1){const _0x4328bc=_0x4328();return _0x2661=function(_0x266184,_0x2782c2){_0x266184=_0x266184-0x194;let _0x35e0ba=_0x4328bc[_0x266184];return _0x35e0ba;},_0x2661(_0x2c2213,_0x48bdc1);}export class AIChatHistoryController extends _0x30cee3{[_0x471343(0x1ee)];[_0x471343(0x1ec)];[_0x471343(0x1e9)];static get[_0x471343(0x1b8)](){return[_0x3c8542,_0x15349c,_0x3ca142,_0x59bb0c];}static get[_0x471343(0x196)](){const _0x3e40fe=_0x471343;return _0x3e40fe(0x19f);}static get[_0x471343(0x1a9)](){return!0x0;}static get[_0x471343(0x19e)](){return!0x0;}[_0x471343(0x1d5)](){const _0x4273eb=_0x471343;this[_0x4273eb(0x1ee)]=this[_0x4273eb(0x1c3)][_0x4273eb(0x1f4)][_0x4273eb(0x1c1)](_0x3c8542),this[_0x4273eb(0x1ec)]=this[_0x4273eb(0x1c3)][_0x4273eb(0x1f4)][_0x4273eb(0x1c1)](_0x3ca142),this[_0x4273eb(0x1e9)]=this[_0x4273eb(0x1c3)][_0x4273eb(0x1f4)][_0x4273eb(0x1c1)](_0x15349c);const _0x824e8e=this[_0x4273eb(0x1c3)][_0x4273eb(0x1f4)][_0x4273eb(0x1c1)](_0x59bb0c);try{const _0x2ca708=this[_0x4273eb(0x1e9)][_0x4273eb(0x1c8)]();this[_0x4273eb(0x1f6)]=new _0x2a393d({'connector':this[_0x4273eb(0x1ee)],'group':_0x2ca708}),this[_0x4273eb(0x194)](this[_0x4273eb(0x1ec)],_0x4273eb(0x1bb),(_0x305f9a,_0x22b950)=>{const _0x182ea0=_0x4273eb;this[_0x182ea0(0x1d4)](_0x22b950['id'],_0x182ea0(0x1d1)),this[_0x182ea0(0x1ca)](_0x22b950['id']);}),this[_0x4273eb(0x194)](this[_0x4273eb(0x1ec)],_0x4273eb(0x1c9),(_0x30856d,_0x44691f)=>{const _0x3e6281=_0x4273eb;this[_0x3e6281(0x1d4)](_0x44691f['id'],_0x3e6281(0x1ce)),this[_0x3e6281(0x19a)](_0x44691f['id'],_0x44691f[_0x3e6281(0x1f2)]);}),this[_0x4273eb(0x194)](this[_0x4273eb(0x1f6)],_0x4273eb(0x1d3),(_0x465c35,_0x25447d)=>{const _0x2e93ee=_0x4273eb;void 0x0!==_0x25447d[_0x2e93ee(0x1ef)][_0x2e93ee(0x1f2)]&&this[_0x2e93ee(0x1ec)][_0x2e93ee(0x1ab)](_0x25447d[_0x2e93ee(0x1b5)],_0x25447d[_0x2e93ee(0x1ef)][_0x2e93ee(0x1f2)]),void 0x0!==_0x25447d[_0x2e93ee(0x1ef)][_0x2e93ee(0x199)]&&this[_0x2e93ee(0x1f8)](),this[_0x2e93ee(0x1cf)](_0x25447d[_0x2e93ee(0x1b5)]);}),this[_0x4273eb(0x194)](this[_0x4273eb(0x1f6)],_0x4273eb(0x1c0),(_0x465a34,_0x9d15e2)=>{const _0x3e05bf=_0x4273eb;this[_0x3e05bf(0x1e9)][_0x3e05bf(0x1e4)](_0x9d15e2[_0x3e05bf(0x1b5)]),this[_0x3e05bf(0x1ec)][_0x3e05bf(0x1ac)](_0x9d15e2[_0x3e05bf(0x1b5)]),this[_0x3e05bf(0x1cf)](_0x9d15e2[_0x3e05bf(0x1b5)]);}),this[_0x4273eb(0x194)](this[_0x4273eb(0x1f6)],_0x4273eb(0x198),()=>{const _0x424bf6=_0x4273eb;this[_0x424bf6(0x1f8)]();}),this[_0x4273eb(0x194)](this[_0x4273eb(0x1f6)],_0x4273eb(0x1f1),(_0x1b8091,_0x59f649)=>{const _0x13e876=_0x4273eb;this[_0x13e876(0x1a8)](_0x59f649[_0x13e876(0x1f1)],_0x59f649[_0x13e876(0x1f7)],_0x59f649[_0x13e876(0x1b5)]);}),this[_0x4273eb(0x194)](this[_0x4273eb(0x1ec)],_0x4273eb(0x1b4),(_0x449022,_0x41a585)=>{const _0x5f564b=_0x4273eb;this[_0x5f564b(0x1c6)](_0x41a585['id']);}),this[_0x4273eb(0x194)](this[_0x4273eb(0x1ec)],_0x4273eb(0x1c7),(_0x5719be,_0x36e6e2)=>{const _0x5a32bb=_0x4273eb,_0xed4796=_0x36e6e2[_0x5a32bb(0x199)]?_0x5a32bb(0x1ea):_0x5a32bb(0x1b1);this[_0x5a32bb(0x1d4)](_0x36e6e2['id'],_0xed4796),this[_0x5a32bb(0x1be)](_0x36e6e2['id'],_0x36e6e2[_0x5a32bb(0x199)]);}),this[_0x4273eb(0x194)](this[_0x4273eb(0x1ec)],_0x4273eb(0x1af),()=>{const _0x1f421=_0x4273eb;_0x824e8e[_0x1f421(0x1de)][_0x1f421(0x1a6)](_0x1f421(0x1a7));}),this[_0x4273eb(0x194)](this[_0x4273eb(0x1e9)],_0x4273eb(0x1f5),()=>{const _0x406c5a=_0x4273eb;this[_0x406c5a(0x1f8)]();}),_0x824e8e[_0x4273eb(0x1de)]['on'](_0x4273eb(0x1db),()=>{const _0x289c42=_0x4273eb;this[_0x289c42(0x1eb)]();}),this[_0x4273eb(0x194)](_0x824e8e,_0x4273eb(0x1a4),(_0x5be95c,_0x350871)=>{const _0x2deb12=_0x4273eb;this[_0x2deb12(0x1c4)](_0x350871);}),this[_0x4273eb(0x194)](this[_0x4273eb(0x1ec)],_0x4273eb(0x1da),()=>{const _0x4496f4=_0x4273eb;_0x824e8e[_0x4496f4(0x1a1)]();});}catch(_0x58b846){this[_0x4273eb(0x1a8)](_0x58b846,_0x4273eb(0x1d5));}}async[_0x471343(0x19a)](_0x2346bf,_0x168458){const _0x12122f=_0x471343;await this[_0x12122f(0x1f6)][_0x12122f(0x1ab)](_0x2346bf,_0x168458);}async[_0x471343(0x1be)](_0x2371b5,_0x321b06){const _0x327d3d=_0x471343;await this[_0x327d3d(0x1f6)][_0x327d3d(0x1e2)](_0x2371b5,_0x321b06);}async[_0x471343(0x1ca)](_0x5859c4){const _0x1bc381=_0x471343;await this[_0x1bc381(0x1f6)][_0x1bc381(0x1cb)](_0x5859c4);}async[_0x471343(0x1c6)](_0x510106){const _0x123ccf=_0x471343;await this[_0x123ccf(0x1e9)][_0x123ccf(0x1f0)](_0x510106);}async[_0x471343(0x1eb)](){const _0x56a25f=_0x471343;this[_0x56a25f(0x1ec)][_0x56a25f(0x1ba)](''),this[_0x56a25f(0x1ec)][_0x56a25f(0x1df)](!0x0),await this[_0x56a25f(0x1f6)][_0x56a25f(0x1d5)](),this[_0x56a25f(0x1ec)][_0x56a25f(0x1df)](!0x1);}[_0x471343(0x1f8)](){const _0x2b15f9=_0x471343,_0x251d91=this[_0x2b15f9(0x1e9)][_0x2b15f9(0x1c5)]?.['id'],_0x4d98a9=this[_0x2b15f9(0x1cc)]()[_0x2b15f9(0x197)](_0x2bb443=>({'title':_0x2bb443[_0x2b15f9(0x1f2)],'items':_0x2bb443[_0x2b15f9(0x1a2)][_0x2b15f9(0x197)](_0x24c2bc=>({'id':_0x24c2bc['id'],'title':_0x24c2bc[_0x2b15f9(0x1f2)]||_0x424e70(this[_0x2b15f9(0x1c3)][_0x2b15f9(0x19b)],_0x2b15f9(0x1e7)),'createdAt':new Date(_0x24c2bc[_0x2b15f9(0x1ed)])[_0x2b15f9(0x1d0)](),'active':_0x24c2bc['id']===_0x251d91,'pinned':_0x24c2bc[_0x2b15f9(0x199)]}))}));this[_0x2b15f9(0x1ec)][_0x2b15f9(0x1bc)](_0x4d98a9);}[_0x471343(0x1d4)](_0x3d0088,_0x958601){const _0x18ead1=_0x471343;this[_0x18ead1(0x1ec)][_0x18ead1(0x1e0)](_0x3d0088,_0x958601,!0x0);}[_0x471343(0x1cf)](_0x3c996e){const _0x4e16a6=_0x471343;this[_0x4e16a6(0x1ec)][_0x4e16a6(0x1e0)](_0x3c996e,null,!0x1);}[_0x471343(0x1a8)](_0x329f12,_0x892f7,_0xe87685){const _0x48e5d8=_0x471343,_0x532bed=this[_0x48e5d8(0x1dd)](_0x892f7,_0xe87685);this[_0x48e5d8(0x1ec)][_0x48e5d8(0x1ba)](_0x532bed),_0xe87685&&this[_0x48e5d8(0x1cf)](_0xe87685),this[_0x48e5d8(0x1ec)][_0x48e5d8(0x1df)](!0x1);}[_0x471343(0x1dd)](_0x5a169e,_0xe1641c){const _0x115a9a=_0x471343,_0x5ba3b1=_0xe1641c?this[_0x115a9a(0x1f6)][_0x115a9a(0x1b3)](_0xe1641c):null,_0x57028b=_0x5ba3b1?.[_0x115a9a(0x1f2)]||_0x424e70(this[_0x115a9a(0x1c3)][_0x115a9a(0x19b)],_0x115a9a(0x1e7));switch(_0x5a169e){case _0x115a9a(0x1ab):return _0x424e70(this[_0x115a9a(0x1c3)][_0x115a9a(0x19b)],_0x115a9a(0x1ae),_0x57028b);case _0x115a9a(0x1e2):{const _0x5604f0=_0x424e70(this[_0x115a9a(0x1c3)][_0x115a9a(0x19b)],_0x5ba3b1?.[_0x115a9a(0x199)]?_0x115a9a(0x1d9):_0x115a9a(0x1e1));return _0x424e70(this[_0x115a9a(0x1c3)][_0x115a9a(0x19b)],_0x115a9a(0x1e6),[_0x5604f0,_0x57028b]);}case _0x115a9a(0x1cb):return _0x424e70(this[_0x115a9a(0x1c3)][_0x115a9a(0x19b)],_0x115a9a(0x1a0),_0x57028b);case _0x115a9a(0x1d5):case _0x115a9a(0x1b2):return _0x424e70(this[_0x115a9a(0x1c3)][_0x115a9a(0x19b)],_0x115a9a(0x19c));default:return _0x424e70(this[_0x115a9a(0x1c3)][_0x115a9a(0x19b)],_0x115a9a(0x1aa));}}[_0x471343(0x1cc)](){const _0x75b809=_0x471343,_0x51c43a=new Date(),_0x31f616=new Date(_0x51c43a[_0x75b809(0x1d2)](),_0x51c43a[_0x75b809(0x1c2)](),_0x51c43a[_0x75b809(0x1d8)]()),_0x5a9fc2=new Date(_0x31f616);_0x5a9fc2[_0x75b809(0x1a3)](_0x5a9fc2[_0x75b809(0x1d8)]()-0x1);const _0x675573=new Date(_0x31f616);_0x675573[_0x75b809(0x1a3)](_0x675573[_0x75b809(0x1d8)]()-0xe);const _0x9898d4=this[_0x75b809(0x1f6)][_0x75b809(0x1d7)]({'pinned':!0x0}),_0x43f047=this[_0x75b809(0x1f6)][_0x75b809(0x1d7)]({'from':_0x31f616,'to':_0x31f616}),_0x46eae8=this[_0x75b809(0x1f6)][_0x75b809(0x1d7)]({'from':_0x5a9fc2,'to':_0x5a9fc2}),_0x314e9d=this[_0x75b809(0x1f6)][_0x75b809(0x1d7)]({'from':_0x675573,'to':_0x5a9fc2}),_0x2c15d0=this[_0x75b809(0x1f6)][_0x75b809(0x1d7)]({'to':_0x675573}),_0xc4d27b=[];return _0x9898d4[_0x75b809(0x1bf)]>0x0&&_0xc4d27b[_0x75b809(0x195)]({'title':_0x424e70(this[_0x75b809(0x1c3)][_0x75b809(0x19b)],_0x75b809(0x1b9)),'items':_0x9898d4}),_0x43f047[_0x75b809(0x1bf)]>0x0&&_0xc4d27b[_0x75b809(0x195)]({'title':_0x424e70(this[_0x75b809(0x1c3)][_0x75b809(0x19b)],_0x75b809(0x1b0)),'items':_0x43f047}),_0x46eae8[_0x75b809(0x1bf)]>0x0&&_0xc4d27b[_0x75b809(0x195)]({'title':_0x424e70(this[_0x75b809(0x1c3)][_0x75b809(0x19b)],_0x75b809(0x1a5)),'items':_0x46eae8}),_0x314e9d[_0x75b809(0x1bf)]>0x0&&_0xc4d27b[_0x75b809(0x195)]({'title':_0x424e70(this[_0x75b809(0x1c3)][_0x75b809(0x19b)],_0x75b809(0x1cd)),'items':_0x314e9d}),_0x2c15d0[_0x75b809(0x1bf)]>0x0&&_0xc4d27b[_0x75b809(0x195)]({'title':_0x424e70(this[_0x75b809(0x1c3)][_0x75b809(0x19b)],_0x75b809(0x1d6)),'items':_0x2c15d0}),_0xc4d27b;}[_0x471343(0x1c4)](_0xf7a2a5){const _0x419cd7=_0x471343;this[_0x419cd7(0x1ec)][_0x419cd7(0x1e3)](_0xf7a2a5);}}
23
+ const _0x3a1c7c=_0x249c;(function(_0x4d4ffb,_0x5972bb){const _0x3dbb0b=_0x249c,_0x579e75=_0x4d4ffb();while(!![]){try{const _0x4a3027=parseInt(_0x3dbb0b(0x1fe))/0x1+parseInt(_0x3dbb0b(0x202))/0x2+-parseInt(_0x3dbb0b(0x1b9))/0x3*(-parseInt(_0x3dbb0b(0x203))/0x4)+-parseInt(_0x3dbb0b(0x1e6))/0x5+-parseInt(_0x3dbb0b(0x1f5))/0x6+-parseInt(_0x3dbb0b(0x1fa))/0x7+parseInt(_0x3dbb0b(0x1cd))/0x8;if(_0x4a3027===_0x5972bb)break;else _0x579e75['push'](_0x579e75['shift']());}catch(_0x3f2c73){_0x579e75['push'](_0x579e75['shift']());}}}(_0x3383,0xdf5e1));import{ContextPlugin as _0x53554f}from'ckeditor5/src/core.js';function _0x249c(_0x23eccd,_0x22ecaf){const _0x33834d=_0x3383();return _0x249c=function(_0x249cfb,_0x47d23a){_0x249cfb=_0x249cfb-0x1a1;let _0x23ac8d=_0x33834d[_0x249cfb];return _0x23ac8d;},_0x249c(_0x23eccd,_0x22ecaf);}function _0x3383(){const _0x3d2708=['setIsMaximized','openChat','pinned','setLoadingSkeleton','removeConversation','activateTab','getItem','_handleEditTitle','remove','_handleTogglePin','handleRemovedConversation','createdAt','get','AI_CHAT_UNTITLED_CONVERSATION','selectConversation','resize','itemsLoaded','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','activateTab:history','21xRquvV','AI_CHAT_HISTORY_CATEGORY_LATER','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','items','rename','updateItemPinned','toLocaleDateString','_setItemLoading','removeItem','map','_setIsMaximized','AI_CHAT_HISTORY_PIN_ACTION','listenTo','editConversationTitle','operation','AIChatHistoryController','resizeTabs','_handleSelectConversation','loadConversation','activeConversation','18589048raXdJs','_getCategorizedItems','resizedTabs','_updateHistoryItemsUI','unpin','_aiChatHistoryUi','plugins','getFullYear','updateItemTitle','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','removeHistoryItem','_aiChatController','init','error','_showConversationHistory','getItems','_clearItemLoading','requires','updateItemLoadingState','AI_CHAT_HISTORY_UNPIN_ACTION','change:activeConversation','chat','pluginName','length','itemId','2764595VXaHFt','getDate','context','title','isPremiumPlugin','locale','AI_CHAT_HISTORY_ERROR_GENERIC','setConversationPinned','push','view','isOfficialPlugin','_aiConnector','itemUpdated','_handleHistoryErrorUI','itemRemoved','2186028TxGLwv','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','getGroupId','loadItems','updates','12166658sywsUS','history','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','AI_CHAT_HISTORY_CATEGORY_PINNED','220893pebdvQ','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','setDate','_handleRemove','1910710vhrQdC','40220ryKKFX','pin','showError','updateItems','_generateErrorMessage','getMonth','AI_CHAT_HISTORY_CATEGORY_TODAY'];_0x3383=function(){return _0x3d2708;};return _0x3383();}import{AIConnector as _0x264cd4}from'../aicore/aiconnector.js';import{AIChatController as _0x22bbb3}from'../aichat/aichatcontroller.js';import{AITabs as _0x3a607b}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x37faba}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x496872}from'./model/aichathistoryconversations.js';import{getTranslation as _0x49c349}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x53554f{[_0x3a1c7c(0x1f1)];[_0x3a1c7c(0x1d2)];[_0x3a1c7c(0x1d8)];static get[_0x3a1c7c(0x1de)](){return[_0x264cd4,_0x22bbb3,_0x37faba,_0x3a607b];}static get[_0x3a1c7c(0x1e3)](){const _0x3fecdb=_0x3a1c7c;return _0x3fecdb(0x1c8);}static get[_0x3a1c7c(0x1f0)](){return!0x0;}static get[_0x3a1c7c(0x1ea)](){return!0x0;}[_0x3a1c7c(0x1d9)](){const _0x421c7f=_0x3a1c7c;this[_0x421c7f(0x1f1)]=this[_0x421c7f(0x1e8)][_0x421c7f(0x1d3)][_0x421c7f(0x1b2)](_0x264cd4),this[_0x421c7f(0x1d2)]=this[_0x421c7f(0x1e8)][_0x421c7f(0x1d3)][_0x421c7f(0x1b2)](_0x37faba),this[_0x421c7f(0x1d8)]=this[_0x421c7f(0x1e8)][_0x421c7f(0x1d3)][_0x421c7f(0x1b2)](_0x22bbb3);const _0x86ddfb=this[_0x421c7f(0x1e8)][_0x421c7f(0x1d3)][_0x421c7f(0x1b2)](_0x3a607b);try{const _0x15142b=this[_0x421c7f(0x1d8)][_0x421c7f(0x1f7)]();this[_0x421c7f(0x1fb)]=new _0x496872({'connector':this[_0x421c7f(0x1f1)],'group':_0x15142b}),this[_0x421c7f(0x1c5)](this[_0x421c7f(0x1d2)],_0x421c7f(0x1aa),(_0x2982a5,_0x2d5d02)=>{const _0x2daf7f=_0x421c7f;this[_0x2daf7f(0x1c0)](_0x2d5d02['id'],_0x2daf7f(0x1ae)),this[_0x2daf7f(0x201)](_0x2d5d02['id']);}),this[_0x421c7f(0x1c5)](this[_0x421c7f(0x1d2)],_0x421c7f(0x1c6),(_0x1dd745,_0x99499e)=>{const _0x278b33=_0x421c7f;this[_0x278b33(0x1c0)](_0x99499e['id'],_0x278b33(0x1bd)),this[_0x278b33(0x1ad)](_0x99499e['id'],_0x99499e[_0x278b33(0x1e9)]);}),this[_0x421c7f(0x1c5)](this[_0x421c7f(0x1fb)],_0x421c7f(0x1f2),(_0x252402,_0x3b6acc)=>{const _0x59a6f6=_0x421c7f;void 0x0!==_0x3b6acc[_0x59a6f6(0x1f9)][_0x59a6f6(0x1e9)]&&this[_0x59a6f6(0x1d2)][_0x59a6f6(0x1d5)](_0x3b6acc[_0x59a6f6(0x1e5)],_0x3b6acc[_0x59a6f6(0x1f9)][_0x59a6f6(0x1e9)]),void 0x0!==_0x3b6acc[_0x59a6f6(0x1f9)][_0x59a6f6(0x1a8)]&&this[_0x59a6f6(0x1d0)](),this[_0x59a6f6(0x1dd)](_0x3b6acc[_0x59a6f6(0x1e5)]);}),this[_0x421c7f(0x1c5)](this[_0x421c7f(0x1fb)],_0x421c7f(0x1f4),(_0x53d336,_0x2a6013)=>{const _0x274a6a=_0x421c7f;this[_0x274a6a(0x1d8)][_0x274a6a(0x1b0)](_0x2a6013[_0x274a6a(0x1e5)]),this[_0x274a6a(0x1d2)][_0x274a6a(0x1d7)](_0x2a6013[_0x274a6a(0x1e5)]),this[_0x274a6a(0x1dd)](_0x2a6013[_0x274a6a(0x1e5)]);}),this[_0x421c7f(0x1c5)](this[_0x421c7f(0x1fb)],_0x421c7f(0x1b6),()=>{const _0x331961=_0x421c7f;this[_0x331961(0x1d0)]();}),this[_0x421c7f(0x1c5)](this[_0x421c7f(0x1fb)],_0x421c7f(0x1da),(_0x57d644,_0x4d0ce7)=>{const _0x245835=_0x421c7f;this[_0x245835(0x1f3)](_0x4d0ce7[_0x245835(0x1da)],_0x4d0ce7[_0x245835(0x1c7)],_0x4d0ce7[_0x245835(0x1e5)]);}),this[_0x421c7f(0x1c5)](this[_0x421c7f(0x1d2)],_0x421c7f(0x1b4),(_0x4216e2,_0x2870db)=>{const _0x373de5=_0x421c7f;this[_0x373de5(0x1ca)](_0x2870db['id']);}),this[_0x421c7f(0x1c5)](this[_0x421c7f(0x1d2)],_0x421c7f(0x1ed),(_0x2be800,_0x8a7f58)=>{const _0x5823e=_0x421c7f,_0x33e56b=_0x8a7f58[_0x5823e(0x1a8)]?_0x5823e(0x204):_0x5823e(0x1d1);this[_0x5823e(0x1c0)](_0x8a7f58['id'],_0x33e56b),this[_0x5823e(0x1af)](_0x8a7f58['id'],_0x8a7f58[_0x5823e(0x1a8)]);}),this[_0x421c7f(0x1c5)](this[_0x421c7f(0x1d2)],_0x421c7f(0x1a7),()=>{const _0x3fb40d=_0x421c7f;_0x86ddfb[_0x3fb40d(0x1ef)][_0x3fb40d(0x1ab)](_0x3fb40d(0x1e2));}),this[_0x421c7f(0x1c5)](this[_0x421c7f(0x1d8)],_0x421c7f(0x1e1),()=>{const _0x49c124=_0x421c7f;this[_0x49c124(0x1d0)]();}),_0x86ddfb[_0x421c7f(0x1ef)]['on'](_0x421c7f(0x1b8),()=>{const _0x5e48b8=_0x421c7f;this[_0x5e48b8(0x1db)]();}),this[_0x421c7f(0x1c5)](_0x86ddfb,_0x421c7f(0x1cf),(_0x199178,_0x1ecd89)=>{const _0x8ef400=_0x421c7f;this[_0x8ef400(0x1c3)](_0x1ecd89);}),this[_0x421c7f(0x1c5)](this[_0x421c7f(0x1d2)],_0x421c7f(0x1c9),()=>{const _0x4e6a00=_0x421c7f;_0x86ddfb[_0x4e6a00(0x1b5)]();});}catch(_0x226b01){this[_0x421c7f(0x1f3)](_0x226b01,_0x421c7f(0x1d9));}}async[_0x3a1c7c(0x1ad)](_0x32e5cf,_0x17a2da){const _0x52db12=_0x3a1c7c;await this[_0x52db12(0x1fb)][_0x52db12(0x1d5)](_0x32e5cf,_0x17a2da);}async[_0x3a1c7c(0x1af)](_0x524c90,_0x4bc735){const _0x203c45=_0x3a1c7c;await this[_0x203c45(0x1fb)][_0x203c45(0x1be)](_0x524c90,_0x4bc735);}async[_0x3a1c7c(0x201)](_0x8b0501){const _0x560e95=_0x3a1c7c;await this[_0x560e95(0x1fb)][_0x560e95(0x1c1)](_0x8b0501);}async[_0x3a1c7c(0x1ca)](_0x47314e){const _0xedac83=_0x3a1c7c;await this[_0xedac83(0x1d8)][_0xedac83(0x1cb)](_0x47314e);}async[_0x3a1c7c(0x1db)](){const _0x46b601=_0x3a1c7c;this[_0x46b601(0x1d2)][_0x46b601(0x1a1)](''),this[_0x46b601(0x1d2)][_0x46b601(0x1a9)](!0x0),await this[_0x46b601(0x1fb)][_0x46b601(0x1d9)](),this[_0x46b601(0x1d2)][_0x46b601(0x1a9)](!0x1);}[_0x3a1c7c(0x1d0)](){const _0x502d13=_0x3a1c7c,_0xa102e9=this[_0x502d13(0x1d8)][_0x502d13(0x1cc)]?.['id'],_0xb6c88e=this[_0x502d13(0x1ce)]()[_0x502d13(0x1c2)](_0x28f2e5=>({'title':_0x28f2e5[_0x502d13(0x1e9)],'items':_0x28f2e5[_0x502d13(0x1bc)][_0x502d13(0x1c2)](_0x21122c=>({'id':_0x21122c['id'],'title':_0x21122c[_0x502d13(0x1e9)]||_0x49c349(this[_0x502d13(0x1e8)][_0x502d13(0x1eb)],_0x502d13(0x1b3)),'createdAt':new Date(_0x21122c[_0x502d13(0x1b1)])[_0x502d13(0x1bf)](),'active':_0x21122c['id']===_0xa102e9,'pinned':_0x21122c[_0x502d13(0x1a8)]}))}));this[_0x502d13(0x1d2)][_0x502d13(0x1a2)](_0xb6c88e);}[_0x3a1c7c(0x1c0)](_0x382f43,_0x10c96d){const _0x9fa6c4=_0x3a1c7c;this[_0x9fa6c4(0x1d2)][_0x9fa6c4(0x1df)](_0x382f43,_0x10c96d,!0x0);}[_0x3a1c7c(0x1dd)](_0x1814f2){const _0xc586d3=_0x3a1c7c;this[_0xc586d3(0x1d2)][_0xc586d3(0x1df)](_0x1814f2,null,!0x1);}[_0x3a1c7c(0x1f3)](_0x169b5f,_0xa92181,_0x2f0f48){const _0xb0aa42=_0x3a1c7c,_0x40decf=this[_0xb0aa42(0x1a3)](_0xa92181,_0x2f0f48);this[_0xb0aa42(0x1d2)][_0xb0aa42(0x1a1)](_0x40decf),_0x2f0f48&&this[_0xb0aa42(0x1dd)](_0x2f0f48),this[_0xb0aa42(0x1d2)][_0xb0aa42(0x1a9)](!0x1);}[_0x3a1c7c(0x1a3)](_0x4d15ba,_0x233457){const _0x446c02=_0x3a1c7c,_0x4fd329=_0x233457?this[_0x446c02(0x1fb)][_0x446c02(0x1ac)](_0x233457):null,_0x1d5360=_0x4fd329?.[_0x446c02(0x1e9)]||_0x49c349(this[_0x446c02(0x1e8)][_0x446c02(0x1eb)],_0x446c02(0x1b3));switch(_0x4d15ba){case _0x446c02(0x1d5):return _0x49c349(this[_0x446c02(0x1e8)][_0x446c02(0x1eb)],_0x446c02(0x1d6),_0x1d5360);case _0x446c02(0x1be):{const _0x208a9f=_0x49c349(this[_0x446c02(0x1e8)][_0x446c02(0x1eb)],_0x4fd329?.[_0x446c02(0x1a8)]?_0x446c02(0x1e0):_0x446c02(0x1c4));return _0x49c349(this[_0x446c02(0x1e8)][_0x446c02(0x1eb)],_0x446c02(0x1fc),[_0x208a9f,_0x1d5360]);}case _0x446c02(0x1c1):return _0x49c349(this[_0x446c02(0x1e8)][_0x446c02(0x1eb)],_0x446c02(0x1f6),_0x1d5360);case _0x446c02(0x1d9):case _0x446c02(0x1f8):return _0x49c349(this[_0x446c02(0x1e8)][_0x446c02(0x1eb)],_0x446c02(0x1ff));default:return _0x49c349(this[_0x446c02(0x1e8)][_0x446c02(0x1eb)],_0x446c02(0x1ec));}}[_0x3a1c7c(0x1ce)](){const _0x4a2f7c=_0x3a1c7c,_0x37b262=new Date(),_0x1814d6=new Date(_0x37b262[_0x4a2f7c(0x1d4)](),_0x37b262[_0x4a2f7c(0x1a4)](),_0x37b262[_0x4a2f7c(0x1e7)]()),_0x36efaf=new Date(_0x1814d6);_0x36efaf[_0x4a2f7c(0x200)](_0x36efaf[_0x4a2f7c(0x1e7)]()-0x1);const _0x308988=new Date(_0x1814d6);_0x308988[_0x4a2f7c(0x200)](_0x308988[_0x4a2f7c(0x1e7)]()-0xe);const _0x53d0c7=this[_0x4a2f7c(0x1fb)][_0x4a2f7c(0x1dc)]({'pinned':!0x0}),_0x38c99e=this[_0x4a2f7c(0x1fb)][_0x4a2f7c(0x1dc)]({'from':_0x1814d6,'to':_0x1814d6}),_0x264f97=this[_0x4a2f7c(0x1fb)][_0x4a2f7c(0x1dc)]({'from':_0x36efaf,'to':_0x36efaf}),_0x84fa0b=this[_0x4a2f7c(0x1fb)][_0x4a2f7c(0x1dc)]({'from':_0x308988,'to':_0x36efaf}),_0x4b09f1=this[_0x4a2f7c(0x1fb)][_0x4a2f7c(0x1dc)]({'to':_0x308988}),_0x5c0b8c=[];return _0x53d0c7[_0x4a2f7c(0x1e4)]>0x0&&_0x5c0b8c[_0x4a2f7c(0x1ee)]({'title':_0x49c349(this[_0x4a2f7c(0x1e8)][_0x4a2f7c(0x1eb)],_0x4a2f7c(0x1fd)),'items':_0x53d0c7}),_0x38c99e[_0x4a2f7c(0x1e4)]>0x0&&_0x5c0b8c[_0x4a2f7c(0x1ee)]({'title':_0x49c349(this[_0x4a2f7c(0x1e8)][_0x4a2f7c(0x1eb)],_0x4a2f7c(0x1a5)),'items':_0x38c99e}),_0x264f97[_0x4a2f7c(0x1e4)]>0x0&&_0x5c0b8c[_0x4a2f7c(0x1ee)]({'title':_0x49c349(this[_0x4a2f7c(0x1e8)][_0x4a2f7c(0x1eb)],_0x4a2f7c(0x1bb)),'items':_0x264f97}),_0x84fa0b[_0x4a2f7c(0x1e4)]>0x0&&_0x5c0b8c[_0x4a2f7c(0x1ee)]({'title':_0x49c349(this[_0x4a2f7c(0x1e8)][_0x4a2f7c(0x1eb)],_0x4a2f7c(0x1b7)),'items':_0x84fa0b}),_0x4b09f1[_0x4a2f7c(0x1e4)]>0x0&&_0x5c0b8c[_0x4a2f7c(0x1ee)]({'title':_0x49c349(this[_0x4a2f7c(0x1e8)][_0x4a2f7c(0x1eb)],_0x4a2f7c(0x1ba)),'items':_0x4b09f1}),_0x5c0b8c;}[_0x3a1c7c(0x1c3)](_0x27de88){const _0x1c05d0=_0x3a1c7c;this[_0x1c05d0(0x1d2)][_0x1c05d0(0x1a6)](_0x27de88);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1d84(_0x3b8627,_0x515944){const _0x438c9e=_0x438c();return _0x1d84=function(_0x1d8440,_0xd2ca65){_0x1d8440=_0x1d8440-0x1c7;let _0x4bccad=_0x438c9e[_0x1d8440];return _0x4bccad;},_0x1d84(_0x3b8627,_0x515944);}const _0x59b127=_0x1d84;(function(_0x151f70,_0x18a4e2){const _0x418f11=_0x1d84,_0x6fbc20=_0x151f70();while(!![]){try{const _0x20d50b=-parseInt(_0x418f11(0x1e4))/0x1+-parseInt(_0x418f11(0x1f3))/0x2+parseInt(_0x418f11(0x1c9))/0x3+-parseInt(_0x418f11(0x1df))/0x4*(-parseInt(_0x418f11(0x1e9))/0x5)+-parseInt(_0x418f11(0x1e6))/0x6*(parseInt(_0x418f11(0x1ee))/0x7)+-parseInt(_0x418f11(0x1e3))/0x8+parseInt(_0x418f11(0x1dc))/0x9*(parseInt(_0x418f11(0x1cd))/0xa);if(_0x20d50b===_0x18a4e2)break;else _0x6fbc20['push'](_0x6fbc20['shift']());}catch(_0x2efe19){_0x6fbc20['push'](_0x6fbc20['shift']());}}}(_0x438c,0xa058e));import{ContextPlugin as _0x3b2df5}from'ckeditor5/src/core.js';import{AITabs as _0x453d15}from'../aitabs/aitabs.js';import{IconAIHistory as _0x146ab8}from'ckeditor5/src/icons.js';function _0x438c(){const _0x35797a=['7975672hyoBTI','81663beeeZB','context','2004GgtYQG','history','addTab','180qTXpck','plugins','view','updateItems','pluginName','7784mGxEag','AITabs','setConversationPinned','requires','updateHistoryItemsWithCategories','1466306MvsLoQ','updateItemTitle','_historyView','removeHistoryItem','3229875cITcAk','showResizeButton','selectConversation','isLoading','579480cDVTlb','isPremiumPlugin','locale','isOfficialPlugin','openChat','editConversationTitle','resizeTabs','showError','AIChatHistoryUI','delegate','updateItemLoadingState','errorMessage','removeConversation','isMaximized','get','171zQzeoX','setIsMaximized','AI_CHAT_HISTORY_HEADING','73592TSzNOq','hideError','showConversationHistory','setLoadingSkeleton'];_0x438c=function(){return _0x35797a;};return _0x438c();}import{AIChatHistoryView as _0x36d302}from'./ui/aichathistoryview.js';import{getTranslation as _0x2229e9}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x59b127(0x1e1),_0x59b127(0x1d9),_0x59b127(0x1d2),_0x59b127(0x1f0),_0x59b127(0x1cb),_0x59b127(0x1d1),_0x59b127(0x1d3)];export class AIChatHistoryUI extends _0x3b2df5{static get[_0x59b127(0x1f1)](){return[_0x453d15];}[_0x59b127(0x1c7)];static get[_0x59b127(0x1ed)](){const _0x12749e=_0x59b127;return _0x12749e(0x1d5);}static get[_0x59b127(0x1d0)](){return!0x0;}static get[_0x59b127(0x1ce)](){return!0x0;}constructor(_0x4ffb8a){const _0x2832f3=_0x59b127;super(_0x4ffb8a);const _0x2acddb=this[_0x2832f3(0x1e5)][_0x2832f3(0x1ea)][_0x2832f3(0x1db)](_0x2832f3(0x1ef));this[_0x2832f3(0x1c7)]=new _0x36d302(this[_0x2832f3(0x1e5)][_0x2832f3(0x1cf)],_0x2acddb[_0x2832f3(0x1ca)]),this[_0x2832f3(0x1c7)][_0x2832f3(0x1d6)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x2acddb[_0x2832f3(0x1eb)][_0x2832f3(0x1e8)]({'id':_0x2832f3(0x1e7),'buttonLabel':_0x2229e9(this[_0x2832f3(0x1e5)][_0x2832f3(0x1cf)],_0x2832f3(0x1de)),'buttonIcon':_0x146ab8,'order':0x0,'content':this[_0x2832f3(0x1c7)]});}[_0x59b127(0x1c8)](_0x49215f){const _0x48b0a9=_0x59b127;this[_0x48b0a9(0x1c7)][_0x48b0a9(0x1c8)](_0x49215f);}[_0x59b127(0x1ec)](_0x23321f){const _0x4d2311=_0x59b127;this[_0x4d2311(0x1c7)][_0x4d2311(0x1f2)](_0x23321f);}[_0x59b127(0x1f4)](_0x59c328,_0xc5f367){const _0x59866e=_0x59b127;this[_0x59866e(0x1c7)][_0x59866e(0x1f4)](_0x59c328,_0xc5f367);}[_0x59b127(0x1d7)](_0x20b4f3,_0x256d43,_0x22db11){const _0x2484a1=_0x59b127;this[_0x2484a1(0x1c7)][_0x2484a1(0x1d7)](_0x20b4f3,_0x256d43,_0x22db11);}[_0x59b127(0x1e2)](_0x41cb92){const _0xa034ed=_0x59b127;this[_0xa034ed(0x1c7)][_0xa034ed(0x1cc)]=_0x41cb92;}[_0x59b127(0x1d4)](_0xb882a9){const _0x3f9ccf=_0x59b127;this[_0x3f9ccf(0x1c7)][_0x3f9ccf(0x1d8)]=_0xb882a9;}[_0x59b127(0x1e0)](){const _0x1faca2=_0x59b127;this[_0x1faca2(0x1c7)][_0x1faca2(0x1d8)]='';}[_0x59b127(0x1dd)](_0x30648c){const _0x245ed6=_0x59b127;this[_0x245ed6(0x1c7)][_0x245ed6(0x1da)]=_0x30648c;}}
23
+ const _0x417764=_0x5ae9;(function(_0x479e8f,_0x13b454){const _0xdfadd4=_0x5ae9,_0x5c40dd=_0x479e8f();while(!![]){try{const _0x245d00=-parseInt(_0xdfadd4(0x136))/0x1+-parseInt(_0xdfadd4(0x117))/0x2*(parseInt(_0xdfadd4(0x113))/0x3)+-parseInt(_0xdfadd4(0x112))/0x4*(parseInt(_0xdfadd4(0x125))/0x5)+parseInt(_0xdfadd4(0x11b))/0x6*(parseInt(_0xdfadd4(0x137))/0x7)+parseInt(_0xdfadd4(0x120))/0x8*(-parseInt(_0xdfadd4(0x139))/0x9)+-parseInt(_0xdfadd4(0x12e))/0xa*(parseInt(_0xdfadd4(0x11a))/0xb)+parseInt(_0xdfadd4(0x111))/0xc;if(_0x245d00===_0x13b454)break;else _0x5c40dd['push'](_0x5c40dd['shift']());}catch(_0x404c36){_0x5c40dd['push'](_0x5c40dd['shift']());}}}(_0x4d77,0x5ea83));import{ContextPlugin as _0x456521}from'ckeditor5/src/core.js';function _0x5ae9(_0x255d32,_0x4ea00b){const _0x4d775b=_0x4d77();return _0x5ae9=function(_0x5ae9b4,_0x107ed0){_0x5ae9b4=_0x5ae9b4-0x10a;let _0x50f6e3=_0x4d775b[_0x5ae9b4];return _0x50f6e3;},_0x5ae9(_0x255d32,_0x4ea00b);}import{AITabs as _0x296536}from'../aitabs/aitabs.js';import{IconAIHistory as _0x2ff286}from'ckeditor5/src/icons.js';function _0x4d77(){const _0x30a62c=['locale','9909ihwbNz','get','showConversationHistory','showError','plugins','updateHistoryItemsWithCategories','isMaximized','AIChatHistoryUI','18267096cgGXMr','184CcGiWQ','531PqHUIe','setIsMaximized','setConversationPinned','setLoadingSkeleton','2434xYFcmD','AI_CHAT_HISTORY_HEADING','errorMessage','310321JuCxTy','152094DQHMZB','updateItems','resizeTabs','hideError','isOfficialPlugin','1184GSdHVL','openChat','isPremiumPlugin','history','isLoading','75800EeuwdE','AITabs','removeHistoryItem','context','view','_historyView','requires','selectConversation','delegate','40SuwOeA','pluginName','updateItemTitle','editConversationTitle','showResizeButton','addTab','updateItemLoadingState','removeConversation','98076ncxSdk','42qWESpm'];_0x4d77=function(){return _0x30a62c;};return _0x4d77();}import{AIChatHistoryView as _0x5fa5ac}from'./ui/aichathistoryview.js';import{getTranslation as _0x9f7df7}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x417764(0x10b),_0x417764(0x135),_0x417764(0x131),_0x417764(0x115),_0x417764(0x12c),_0x417764(0x121),_0x417764(0x11d)];export class AIChatHistoryUI extends _0x456521{static get[_0x417764(0x12b)](){return[_0x296536];}[_0x417764(0x12a)];static get[_0x417764(0x12f)](){const _0x2a6bcc=_0x417764;return _0x2a6bcc(0x110);}static get[_0x417764(0x11f)](){return!0x0;}static get[_0x417764(0x122)](){return!0x0;}constructor(_0x910025){const _0x125d5d=_0x417764;super(_0x910025);const _0x1a2dc1=this[_0x125d5d(0x128)][_0x125d5d(0x10d)][_0x125d5d(0x10a)](_0x125d5d(0x126));this[_0x125d5d(0x12a)]=new _0x5fa5ac(this[_0x125d5d(0x128)][_0x125d5d(0x138)],_0x1a2dc1[_0x125d5d(0x132)]),this[_0x125d5d(0x12a)][_0x125d5d(0x12d)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x1a2dc1[_0x125d5d(0x129)][_0x125d5d(0x133)]({'id':_0x125d5d(0x123),'buttonLabel':_0x9f7df7(this[_0x125d5d(0x128)][_0x125d5d(0x138)],_0x125d5d(0x118)),'buttonIcon':_0x2ff286,'order':0x0,'content':this[_0x125d5d(0x12a)]});}[_0x417764(0x127)](_0x210a6e){const _0x31f880=_0x417764;this[_0x31f880(0x12a)][_0x31f880(0x127)](_0x210a6e);}[_0x417764(0x11c)](_0xabf49){const _0x3a591f=_0x417764;this[_0x3a591f(0x12a)][_0x3a591f(0x10e)](_0xabf49);}[_0x417764(0x130)](_0x46f5b7,_0x1c13bd){const _0x27a304=_0x417764;this[_0x27a304(0x12a)][_0x27a304(0x130)](_0x46f5b7,_0x1c13bd);}[_0x417764(0x134)](_0x3cc812,_0x5a1465,_0x521e86){const _0x9cf756=_0x417764;this[_0x9cf756(0x12a)][_0x9cf756(0x134)](_0x3cc812,_0x5a1465,_0x521e86);}[_0x417764(0x116)](_0x42bd2c){const _0x4c4ade=_0x417764;this[_0x4c4ade(0x12a)][_0x4c4ade(0x124)]=_0x42bd2c;}[_0x417764(0x10c)](_0x30b90b){const _0xa06568=_0x417764;this[_0xa06568(0x12a)][_0xa06568(0x119)]=_0x30b90b;}[_0x417764(0x11e)](){const _0xdd31ce=_0x417764;this[_0xdd31ce(0x12a)][_0xdd31ce(0x119)]='';}[_0x417764(0x114)](_0x521e42){const _0x9b9e93=_0x417764;this[_0x9b9e93(0x12a)][_0x9b9e93(0x10f)]=_0x521e42;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1fa5(_0x40be89,_0x2f0ed6){const _0x5113ef=_0x5113();return _0x1fa5=function(_0x1fa51a,_0x58f610){_0x1fa51a=_0x1fa51a-0x129;let _0x3062a0=_0x5113ef[_0x1fa51a];return _0x3062a0;},_0x1fa5(_0x40be89,_0x2f0ed6);}const _0x4719f3=_0x1fa5;function _0x5113(){const _0x448728=['1337649AArgGv','from','getResult','init','getMonth','updateItemPinned','itemsLoaded','push','1387640CCNIUD','6WxJTzm','find','execute','307070QHKWQP','getFullYear','getItem','filter','itemRemoved','pinned','connector','removeItem','error','updateTitle','updateItemTitle','splice','map','findIndex','getConversations','getDate','addItem','getTime','deleteConversation','fire','961289WyuFCO','getItems','loadItems','items','group','createdAt','updatePinned','99wutpzc','5TvFrdv','279902ZxYORx','fetchConversations','1824108LBVtSF','618984BxxEOn','itemUpdated','updateConversation'];_0x5113=function(){return _0x448728;};return _0x5113();}(function(_0x366760,_0x10843b){const _0x150402=_0x1fa5,_0x3cab79=_0x366760();while(!![]){try{const _0x158b94=-parseInt(_0x150402(0x144))/0x1+parseInt(_0x150402(0x156))/0x2+-parseInt(_0x150402(0x14a))/0x3+parseInt(_0x150402(0x146))/0x4*(parseInt(_0x150402(0x143))/0x5)+parseInt(_0x150402(0x153))/0x6*(-parseInt(_0x150402(0x13b))/0x7)+parseInt(_0x150402(0x147))/0x8*(parseInt(_0x150402(0x142))/0x9)+-parseInt(_0x150402(0x152))/0xa;if(_0x158b94===_0x10843b)break;else _0x3cab79['push'](_0x3cab79['shift']());}catch(_0x5dbd74){_0x3cab79['push'](_0x3cab79['shift']());}}}(_0x5113,0x70025));import{EmitterMixin as _0x40bef9}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x3e8b0c}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x40bef9(){[_0x4719f3(0x13e)]=[];[_0x4719f3(0x12d)];[_0x4719f3(0x13f)];constructor({connector:_0x13cca3,group:_0x2f5b89}){const _0x91e4bd=_0x4719f3;super(),this[_0x91e4bd(0x12d)]=_0x13cca3,this[_0x91e4bd(0x13f)]=_0x2f5b89;}async[_0x4719f3(0x14d)](){const _0x1ff2b0=_0x4719f3;try{const _0x5a5d5e=this[_0x1ff2b0(0x12d)][_0x1ff2b0(0x145)](this[_0x1ff2b0(0x13f)]),_0x577970=await _0x5a5d5e[_0x1ff2b0(0x135)]();this[_0x1ff2b0(0x13d)](_0x577970);}catch(_0x49baa8){this[_0x1ff2b0(0x13a)](_0x1ff2b0(0x12f),{'error':_0x49baa8,'operation':_0x1ff2b0(0x14d)});}}[_0x4719f3(0x137)](_0x24130d){const _0x3b4897=_0x4719f3;this[_0x3b4897(0x13e)][_0x3b4897(0x151)](_0x24130d);}async[_0x4719f3(0x12e)](_0x957fe2){const _0x4e8700=_0x4719f3,_0x4f4177=this[_0x4e8700(0x13e)][_0x4e8700(0x134)](_0x23695f=>_0x23695f['id']===_0x957fe2);if(-0x1===_0x4f4177)return!0x1;try{return await this[_0x4e8700(0x12d)][_0x4e8700(0x139)](_0x957fe2)[_0x4e8700(0x155)](),this[_0x4e8700(0x13e)][_0x4e8700(0x132)](_0x4f4177,0x1),this[_0x4e8700(0x13a)](_0x4e8700(0x12b),{'itemId':_0x957fe2}),!0x0;}catch(_0x3f208a){return this[_0x4e8700(0x13a)](_0x4e8700(0x12f),{'error':_0x3f208a,'operation':_0x4e8700(0x12e),'itemId':_0x957fe2}),!0x1;}}[_0x4719f3(0x129)](_0x565c55){const _0x88710=_0x4719f3;return this[_0x88710(0x13e)][_0x88710(0x154)](_0x2ce19b=>_0x2ce19b['id']===_0x565c55);}async[_0x4719f3(0x131)](_0x560bd0,_0x9f0542){const _0x436861=_0x4719f3,_0x532750=this[_0x436861(0x129)](_0x560bd0);if(!_0x532750)return!0x1;try{return await this[_0x436861(0x12d)][_0x436861(0x149)](_0x560bd0,{'title':_0x9f0542})[_0x436861(0x14c)](),_0x532750[_0x436861(0x130)](_0x9f0542),this[_0x436861(0x13a)](_0x436861(0x148),{'itemId':_0x560bd0,'updates':{'title':_0x9f0542}}),!0x0;}catch(_0x473b26){return this[_0x436861(0x13a)](_0x436861(0x12f),{'error':_0x473b26,'operation':_0x436861(0x131),'itemId':_0x560bd0}),!0x1;}}async[_0x4719f3(0x14f)](_0x377420,_0x41d805){const _0x542e11=_0x4719f3,_0x174a68=this[_0x542e11(0x129)](_0x377420);if(!_0x174a68)return!0x1;try{return await this[_0x542e11(0x12d)][_0x542e11(0x149)](_0x377420,{'pinned':_0x41d805})[_0x542e11(0x14c)](),_0x174a68[_0x542e11(0x141)](_0x41d805),this[_0x542e11(0x13a)](_0x542e11(0x148),{'itemId':_0x377420,'updates':{'pinned':_0x41d805}}),!0x0;}catch(_0x519024){return this[_0x542e11(0x13a)](_0x542e11(0x12f),{'error':_0x519024,'operation':_0x542e11(0x14f),'itemId':_0x377420}),!0x1;}}[_0x4719f3(0x13d)](_0x1227e6){const _0x5d3fd0=_0x4719f3;try{this[_0x5d3fd0(0x13e)]=[],_0x1227e6[_0x5d3fd0(0x133)](_0x3e5847=>{const _0x3e6f1a=_0x5d3fd0;this[_0x3e6f1a(0x137)](new _0x3e8b0c(_0x3e5847));}),this[_0x5d3fd0(0x13a)](_0x5d3fd0(0x150),{'items':[...this[_0x5d3fd0(0x13e)]]});}catch(_0x53d044){this[_0x5d3fd0(0x13a)](_0x5d3fd0(0x12f),{'error':_0x53d044,'operation':_0x5d3fd0(0x13d)});}}[_0x4719f3(0x13c)](_0x4201b2={}){const _0x363e99=_0x4719f3,_0x14dbe4=void 0x0!==_0x4201b2[_0x363e99(0x12c)]&&_0x4201b2[_0x363e99(0x12c)],_0x562e54=_0x4201b2[_0x363e99(0x14b)]?new Date(_0x4201b2[_0x363e99(0x14b)][_0x363e99(0x157)](),_0x4201b2[_0x363e99(0x14b)][_0x363e99(0x14e)](),_0x4201b2[_0x363e99(0x14b)][_0x363e99(0x136)]()):null,_0x374291=_0x4201b2['to']?new Date(_0x4201b2['to'][_0x363e99(0x157)](),_0x4201b2['to'][_0x363e99(0x14e)](),_0x4201b2['to'][_0x363e99(0x136)]()):null;return this[_0x363e99(0x13e)][_0x363e99(0x12a)](_0x5aceee=>{const _0x42eae2=_0x363e99;if(_0x5aceee[_0x42eae2(0x12c)]!==_0x14dbe4)return!0x1;if(_0x374291){const _0x3db8c0=new Date(_0x5aceee[_0x42eae2(0x140)][_0x42eae2(0x157)](),_0x5aceee[_0x42eae2(0x140)][_0x42eae2(0x14e)](),_0x5aceee[_0x42eae2(0x140)][_0x42eae2(0x136)]());return _0x562e54?_0x562e54[_0x42eae2(0x138)]()===_0x374291[_0x42eae2(0x138)]()?_0x3db8c0[_0x42eae2(0x138)]()===_0x562e54[_0x42eae2(0x138)]():_0x3db8c0<_0x374291&&_0x3db8c0>=_0x562e54:_0x3db8c0<_0x374291;}return!0x0;});}}
23
+ const _0x3bfa9c=_0x4915;(function(_0x1467a5,_0x1e5809){const _0x4b3798=_0x4915,_0x44389b=_0x1467a5();while(!![]){try{const _0x4844b9=-parseInt(_0x4b3798(0x169))/0x1*(-parseInt(_0x4b3798(0x176))/0x2)+parseInt(_0x4b3798(0x18c))/0x3*(-parseInt(_0x4b3798(0x164))/0x4)+-parseInt(_0x4b3798(0x174))/0x5+parseInt(_0x4b3798(0x177))/0x6+-parseInt(_0x4b3798(0x184))/0x7*(-parseInt(_0x4b3798(0x16a))/0x8)+-parseInt(_0x4b3798(0x165))/0x9+parseInt(_0x4b3798(0x17f))/0xa;if(_0x4844b9===_0x1e5809)break;else _0x44389b['push'](_0x44389b['shift']());}catch(_0x153a00){_0x44389b['push'](_0x44389b['shift']());}}}(_0x3805,0x2624d));function _0x4915(_0xb634dd,_0x24c563){const _0x380544=_0x3805();return _0x4915=function(_0x49151e,_0x1b26e0){_0x49151e=_0x49151e-0x164;let _0x2ebe6d=_0x380544[_0x49151e];return _0x2ebe6d;},_0x4915(_0xb634dd,_0x24c563);}function _0x3805(){const _0xd2d91f=['connector','push','getConversations','execute','addItem','map','353544HzWpDQ','1892538oEAhlX','init','updateTitle','createdAt','221rxmIwG','8kyBAdv','updateConversation','filter','splice','getItems','pinned','getResult','updateItemTitle','getFullYear','getDate','545805TzWrjm','itemUpdated','142iWDXXD','366942ZQuKbi','items','deleteConversation','getTime','removeItem','loadItems','findIndex','getItem','5994800hNFwZh','error','group','getMonth','fetchConversations','451570kUWgsM','itemRemoved','fire','updatePinned','updateItemPinned','itemsLoaded','from','find','9EaYbMx'];_0x3805=function(){return _0xd2d91f;};return _0x3805();}import{EmitterMixin as _0x22ff83}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x51a9d7}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x22ff83(){[_0x3bfa9c(0x178)]=[];[_0x3bfa9c(0x18d)];[_0x3bfa9c(0x181)];constructor({connector:_0x470e98,group:_0x55a64f}){const _0x489d00=_0x3bfa9c;super(),this[_0x489d00(0x18d)]=_0x470e98,this[_0x489d00(0x181)]=_0x55a64f;}async[_0x3bfa9c(0x166)](){const _0x1f4831=_0x3bfa9c;try{const _0x1205a8=this[_0x1f4831(0x18d)][_0x1f4831(0x183)](this[_0x1f4831(0x181)]),_0x254726=await _0x1205a8[_0x1f4831(0x18f)]();this[_0x1f4831(0x17c)](_0x254726);}catch(_0x348721){this[_0x1f4831(0x186)](_0x1f4831(0x180),{'error':_0x348721,'operation':_0x1f4831(0x166)});}}[_0x3bfa9c(0x191)](_0xc3d75){const _0x588a4e=_0x3bfa9c;this[_0x588a4e(0x178)][_0x588a4e(0x18e)](_0xc3d75);}async[_0x3bfa9c(0x17b)](_0x25142a){const _0x922e5d=_0x3bfa9c,_0x3b65e1=this[_0x922e5d(0x178)][_0x922e5d(0x17d)](_0x1abe8a=>_0x1abe8a['id']===_0x25142a);if(-0x1===_0x3b65e1)return!0x1;try{return await this[_0x922e5d(0x18d)][_0x922e5d(0x179)](_0x25142a)[_0x922e5d(0x190)](),this[_0x922e5d(0x178)][_0x922e5d(0x16d)](_0x3b65e1,0x1),this[_0x922e5d(0x186)](_0x922e5d(0x185),{'itemId':_0x25142a}),!0x0;}catch(_0x955be){return this[_0x922e5d(0x186)](_0x922e5d(0x180),{'error':_0x955be,'operation':_0x922e5d(0x17b),'itemId':_0x25142a}),!0x1;}}[_0x3bfa9c(0x17e)](_0x3fd7d0){const _0x1c603d=_0x3bfa9c;return this[_0x1c603d(0x178)][_0x1c603d(0x18b)](_0x2bc2c7=>_0x2bc2c7['id']===_0x3fd7d0);}async[_0x3bfa9c(0x171)](_0x4c4ec3,_0x38c400){const _0x2a6ee7=_0x3bfa9c,_0x54816a=this[_0x2a6ee7(0x17e)](_0x4c4ec3);if(!_0x54816a)return!0x1;try{return await this[_0x2a6ee7(0x18d)][_0x2a6ee7(0x16b)](_0x4c4ec3,{'title':_0x38c400})[_0x2a6ee7(0x170)](),_0x54816a[_0x2a6ee7(0x167)](_0x38c400),this[_0x2a6ee7(0x186)](_0x2a6ee7(0x175),{'itemId':_0x4c4ec3,'updates':{'title':_0x38c400}}),!0x0;}catch(_0x3edaec){return this[_0x2a6ee7(0x186)](_0x2a6ee7(0x180),{'error':_0x3edaec,'operation':_0x2a6ee7(0x171),'itemId':_0x4c4ec3}),!0x1;}}async[_0x3bfa9c(0x188)](_0x33dff8,_0xb7fddd){const _0x39bab1=_0x3bfa9c,_0x19fe9d=this[_0x39bab1(0x17e)](_0x33dff8);if(!_0x19fe9d)return!0x1;try{return await this[_0x39bab1(0x18d)][_0x39bab1(0x16b)](_0x33dff8,{'pinned':_0xb7fddd})[_0x39bab1(0x170)](),_0x19fe9d[_0x39bab1(0x187)](_0xb7fddd),this[_0x39bab1(0x186)](_0x39bab1(0x175),{'itemId':_0x33dff8,'updates':{'pinned':_0xb7fddd}}),!0x0;}catch(_0x3a87f2){return this[_0x39bab1(0x186)](_0x39bab1(0x180),{'error':_0x3a87f2,'operation':_0x39bab1(0x188),'itemId':_0x33dff8}),!0x1;}}[_0x3bfa9c(0x17c)](_0x1f97aa){const _0x244b03=_0x3bfa9c;try{this[_0x244b03(0x178)]=[],_0x1f97aa[_0x244b03(0x192)](_0x36a0e5=>{const _0x45494d=_0x244b03;this[_0x45494d(0x191)](new _0x51a9d7(_0x36a0e5));}),this[_0x244b03(0x186)](_0x244b03(0x189),{'items':[...this[_0x244b03(0x178)]]});}catch(_0x4aa5f6){this[_0x244b03(0x186)](_0x244b03(0x180),{'error':_0x4aa5f6,'operation':_0x244b03(0x17c)});}}[_0x3bfa9c(0x16e)](_0x12eacb={}){const _0x5bdf47=_0x3bfa9c,_0x58166b=void 0x0!==_0x12eacb[_0x5bdf47(0x16f)]&&_0x12eacb[_0x5bdf47(0x16f)],_0x43379b=_0x12eacb[_0x5bdf47(0x18a)]?new Date(_0x12eacb[_0x5bdf47(0x18a)][_0x5bdf47(0x172)](),_0x12eacb[_0x5bdf47(0x18a)][_0x5bdf47(0x182)](),_0x12eacb[_0x5bdf47(0x18a)][_0x5bdf47(0x173)]()):null,_0x20f863=_0x12eacb['to']?new Date(_0x12eacb['to'][_0x5bdf47(0x172)](),_0x12eacb['to'][_0x5bdf47(0x182)](),_0x12eacb['to'][_0x5bdf47(0x173)]()):null;return this[_0x5bdf47(0x178)][_0x5bdf47(0x16c)](_0x2cd371=>{const _0x39e6eb=_0x5bdf47;if(_0x2cd371[_0x39e6eb(0x16f)]!==_0x58166b)return!0x1;if(_0x20f863){const _0x3c6103=new Date(_0x2cd371[_0x39e6eb(0x168)][_0x39e6eb(0x172)](),_0x2cd371[_0x39e6eb(0x168)][_0x39e6eb(0x182)](),_0x2cd371[_0x39e6eb(0x168)][_0x39e6eb(0x173)]());return _0x43379b?_0x43379b[_0x39e6eb(0x17a)]()===_0x20f863[_0x39e6eb(0x17a)]()?_0x3c6103[_0x39e6eb(0x17a)]()===_0x43379b[_0x39e6eb(0x17a)]():_0x3c6103<_0x20f863&&_0x3c6103>=_0x43379b:_0x3c6103<_0x20f863;}return!0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x9375d=_0x87a9;(function(_0x4688d9,_0x620c0b){var _0x19c49c=_0x87a9,_0x5384fb=_0x4688d9();while(!![]){try{var _0x24b706=parseInt(_0x19c49c(0x191))/0x1*(-parseInt(_0x19c49c(0x18a))/0x2)+-parseInt(_0x19c49c(0x186))/0x3*(-parseInt(_0x19c49c(0x18b))/0x4)+parseInt(_0x19c49c(0x189))/0x5+-parseInt(_0x19c49c(0x195))/0x6+parseInt(_0x19c49c(0x18d))/0x7+-parseInt(_0x19c49c(0x187))/0x8*(-parseInt(_0x19c49c(0x194))/0x9)+parseInt(_0x19c49c(0x188))/0xa*(parseInt(_0x19c49c(0x18e))/0xb);if(_0x24b706===_0x620c0b)break;else _0x5384fb['push'](_0x5384fb['shift']());}catch(_0x28d5b9){_0x5384fb['push'](_0x5384fb['shift']());}}}(_0x34af,0xb0661));import{ObservableMixin as _0x1d95c3}from'ckeditor5/src/utils.js';import{escape as _0x456a31}from'es-toolkit/compat';function _0x87a9(_0x440428,_0x3af6d4){var _0x34af7f=_0x34af();return _0x87a9=function(_0x87a9de,_0x29a035){_0x87a9de=_0x87a9de-0x184;var _0x15a25b=_0x34af7f[_0x87a9de];return _0x15a25b;},_0x87a9(_0x440428,_0x3af6d4);}export class AIChatHistoryItem extends _0x1d95c3(){['id'];[_0x9375d(0x193)];constructor({id:_0x3ab949,title:_0x56f3e5,createdAt:_0x3418ae,updatedAt:_0x2a9bce,pinned:_0x2d80eb}){var _0xb86de1=_0x9375d;super(),this['id']=_0x3ab949,this[_0xb86de1(0x193)]=new Date(_0x3418ae),this[_0xb86de1(0x184)](_0xb86de1(0x18f),_0x56f3e5),this[_0xb86de1(0x184)](_0xb86de1(0x190),_0x2a9bce?new Date(_0x2a9bce):null),this[_0xb86de1(0x184)](_0xb86de1(0x192),_0x2d80eb||!0x1);}[_0x9375d(0x18c)](_0x4ff536){var _0x5e72f6=_0x9375d;this[_0x5e72f6(0x184)](_0x5e72f6(0x18f),_0x456a31(_0x4ff536)),this[_0x5e72f6(0x190)]=new Date();}[_0x9375d(0x185)](_0x52812e){var _0x4c049f=_0x9375d;this[_0x4c049f(0x184)](_0x4c049f(0x192),_0x52812e),this[_0x4c049f(0x190)]=new Date();}}function _0x34af(){var _0x43600f=['updatedAt','5wVcUTl','pinned','createdAt','9yIvPTP','6861342PGWEqb','set','updatePinned','369udhMGX','7938760OqPyYc','1322870VezrkQ','5732165PHPXFt','521302OxQqdC','12924yGxGSj','updateTitle','1654023EBcymg','33aQELGa','title'];_0x34af=function(){return _0x43600f;};return _0x34af();}
23
+ function _0x410b(_0xdd9503,_0x360ffd){var _0x56f5ab=_0x56f5();return _0x410b=function(_0x410b48,_0x472718){_0x410b48=_0x410b48-0x189;var _0xfb3cfa=_0x56f5ab[_0x410b48];return _0xfb3cfa;},_0x410b(_0xdd9503,_0x360ffd);}var _0x25e512=_0x410b;function _0x56f5(){var _0x352436=['title','updatePinned','25JGPKHl','15335978vAiWfv','11jcYLpG','2063592QeEsPq','updatedAt','336850SIqhBu','3656MjyBZS','1203468dJQHJx','838260gnlFov','117082MnWlFM','set','updateTitle','15218TPJxwn','10yuiNrW','pinned','39hQpXGF','30TSqCTA','16xOXiIH','createdAt'];_0x56f5=function(){return _0x352436;};return _0x56f5();}(function(_0x2b7da0,_0xc70a1a){var _0x2832ec=_0x410b,_0x17ec83=_0x2b7da0();while(!![]){try{var _0xe246c2=-parseInt(_0x2832ec(0x192))/0x1*(-parseInt(_0x2832ec(0x19b))/0x2)+parseInt(_0x2832ec(0x19a))/0x3*(parseInt(_0x2832ec(0x18e))/0x4)+-parseInt(_0x2832ec(0x197))/0x5*(-parseInt(_0x2832ec(0x18d))/0x6)+parseInt(_0x2832ec(0x189))/0x7*(parseInt(_0x2832ec(0x198))/0x8)+-parseInt(_0x2832ec(0x195))/0x9*(-parseInt(_0x2832ec(0x18a))/0xa)+parseInt(_0x2832ec(0x194))/0xb*(-parseInt(_0x2832ec(0x199))/0xc)+parseInt(_0x2832ec(0x18c))/0xd*(-parseInt(_0x2832ec(0x193))/0xe);if(_0xe246c2===_0xc70a1a)break;else _0x17ec83['push'](_0x17ec83['shift']());}catch(_0x8f70c9){_0x17ec83['push'](_0x17ec83['shift']());}}}(_0x56f5,0xb8273));import{ObservableMixin as _0x55771f}from'ckeditor5/src/utils.js';import{escape as _0x4d782d}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x55771f(){['id'];[_0x25e512(0x18f)];constructor({id:_0x507c87,title:_0x372f22,createdAt:_0x4b2fe8,updatedAt:_0x1d55cb,pinned:_0x8e140}){var _0x1077e8=_0x25e512;super(),this['id']=_0x507c87,this[_0x1077e8(0x18f)]=new Date(_0x4b2fe8),this[_0x1077e8(0x19c)](_0x1077e8(0x190),_0x372f22),this[_0x1077e8(0x19c)](_0x1077e8(0x196),_0x1d55cb?new Date(_0x1d55cb):null),this[_0x1077e8(0x19c)](_0x1077e8(0x18b),_0x8e140||!0x1);}[_0x25e512(0x19d)](_0x1bdc5d){var _0x2b8ce8=_0x25e512;this[_0x2b8ce8(0x19c)](_0x2b8ce8(0x190),_0x4d782d(_0x1bdc5d)),this[_0x2b8ce8(0x196)]=new Date();}[_0x25e512(0x191)](_0x1d6e5f){var _0x267432=_0x25e512;this[_0x267432(0x19c)](_0x267432(0x18b),_0x1d6e5f),this[_0x267432(0x196)]=new Date();}}