@ckeditor/ckeditor5-ai 47.6.2-alpha.0 → 47.6.2-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d4817=_0x4f64;(function(_0x1ed28b,_0x1a8460){const _0x47e482=_0x4f64,_0x584d6d=_0x1ed28b();while(!![]){try{const _0x3c3e71=parseInt(_0x47e482(0x1bb))/0x1*(-parseInt(_0x47e482(0x1cf))/0x2)+parseInt(_0x47e482(0x1d3))/0x3*(-parseInt(_0x47e482(0x1bd))/0x4)+-parseInt(_0x47e482(0x18e))/0x5+-parseInt(_0x47e482(0x1a7))/0x6*(-parseInt(_0x47e482(0x188))/0x7)+parseInt(_0x47e482(0x1c4))/0x8+-parseInt(_0x47e482(0x19a))/0x9+parseInt(_0x47e482(0x1c7))/0xa;if(_0x3c3e71===_0x1a8460)break;else _0x584d6d['push'](_0x584d6d['shift']());}catch(_0x5122e3){_0x584d6d['push'](_0x584d6d['shift']());}}}(_0x64c7,0xdf117));import{ListItemView as _0x5e8104,HighlightedTextView as _0x4f0a47,ButtonView as _0x33727a,ListView as _0xbad849,IconView as _0x2e8cc4,createDropdown as _0x12c316,InputTextView as _0x254dd1}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x1eca21,IconPin as _0x253887,IconCheck as _0x375990,IconCancel as _0x52a386}from'ckeditor5/src/icons.js';function _0x64c7(){const _0x4e1098=['highlightText','removeConversation','AI_CHAT_HISTORY_LOADING_RENAMING','11847472GJJhPd','ck-ai-chat-history__item-date','AI_CHAT_HISTORY_LOADING_UNPINNING','12688450DnGXkX','ck-ai-chat-history__item','ck-ai-chat-history__item-check-container','ck-ai-chat-history__item--edit','mainContent','value','string','element','715054zyjboH','match','ck-confirm-view-submit','AI_CHAT_HISTORY_LOADING_REMOVING','1035WJgEpq','extendTemplate','text','actions','ck-ai-chat-history__item-row','_createCheckView','div','withText','execute','panelView','isOn','bind','AI_CHAT_HISTORY_PIN_BUTTON','setConversationPinned','panelPosition','ck-confirm-view-cancel','ck-ai-chat-history__item--active','showConfirm','ck-ai-chat-history__item-content','updateTitle','editConversationTitle','LOADING_LABELS','ck-ai-chat-history__item-title','7xNfGGI','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','bindTemplate','listitem','_createEditInputView','_createMenuDropdownView','6108860SKfZPr','ck-ai-chat-history__item-main-content','loadingState','focus','isMatching','createCollection','clear','click','selectConversation','AI_CHAT_HISTORY_REMOVE','add','_createSpinnerView','2794842JheQFk','set','children','ck-hidden','isEdit','ck-ai-chat-history__item-actions','ck-ai-loader','AI_CHAT_HISTORY_EDIT_NAME','label','setTemplate','change:isEdit','span','AI_CHAT_HISTORY_LOADING_PINNING','3591642QFvfzc','pinned','_createPinButtonView','_createAcceptEditButtonView','buttonView','_commitEditInputValue','edit:cancel','updateLoadingState','Enter','locale','ck-ai-loader__text','items','key','AI_CHAT_HISTORY_ACCEPT','ck-ai-chat-history__item-check','_createCancelEditButtonView','fire','AI_CHAT_HISTORY_CANCEL','then','_titleView','2tKYbQE','isVisible','2172qzuDXM','tiny','AI_CHAT_HISTORY_REMOVE_CONFIRM','addMany'];_0x64c7=function(){return _0x4e1098;};return _0x64c7();}import{LateFocusDropdownButtonView as _0x18c4a4,ConfirmMixin as _0x54ef61}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x388a04}from'es-toolkit/compat';function _0x4f64(_0x9ff440,_0x1b6af3){const _0x64c7e9=_0x64c7();return _0x4f64=function(_0x4f648a,_0x574d93){_0x4f648a=_0x4f648a-0x185;let _0x3b19ba=_0x64c7e9[_0x4f648a];return _0x3b19ba;},_0x4f64(_0x9ff440,_0x1b6af3);}import{AISpinnerView as _0x50f835}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x2d359d}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
- _0x54ef61(_0x5e8104){['id'];static [_0x2d4817(0x186)]={'remove':_0x2d4817(0x1d2),'rename':_0x2d4817(0x1c3),'pin':_0x2d4817(0x1a6),'unpin':_0x2d4817(0x1c6)};[_0x2d4817(0x1d6)];[_0x2d4817(0x1cb)];[_0x2d4817(0x1ba)];constructor(_0x1b7f6c,_0x5ce839){const _0x39dece=_0x2d4817;super(_0x1b7f6c);const _0x4eb05d=this[_0x39dece(0x18a)];this[_0x39dece(0x19b)](_0x39dece(0x19e),!0x1),this[_0x39dece(0x19b)](_0x39dece(0x1bc),!0x0),this[_0x39dece(0x19b)](_0x39dece(0x1a8),!!_0x5ce839[_0x39dece(0x1a8)]),this[_0x39dece(0x19b)](_0x39dece(0x190),null),this['id']=_0x5ce839['id'];const {title:_0xba3130,createdAt:_0x3f47d7,active:_0x189d72=!0x1}=_0x5ce839;this[_0x39dece(0x1ba)]=new _0x4f0a47(),this[_0x39dece(0x1ba)][_0x39dece(0x1d5)]=_0xba3130,this[_0x39dece(0x1ba)][_0x39dece(0x1d4)]({'attributes':{'class':[_0x39dece(0x187)]}});const _0x6abfe1=this[_0x39dece(0x1d8)](),_0x439d8d=this[_0x39dece(0x1a9)](_0x1b7f6c),_0x96ee2b=this[_0x39dece(0x18d)](),_0x34e725=this[_0x39dece(0x18c)](_0x1b7f6c,_0xba3130),_0x148229=this[_0x39dece(0x1aa)](_0x1b7f6c,_0x34e725),_0x507b4d=this[_0x39dece(0x1b6)](_0x1b7f6c,_0x34e725);this[_0x39dece(0x1d6)]=this[_0x39dece(0x193)](),this[_0x39dece(0x1cb)]=this[_0x39dece(0x193)](),this[_0x39dece(0x1cb)][_0x39dece(0x198)](this[_0x39dece(0x1ba)]),this[_0x39dece(0x1d6)][_0x39dece(0x198)](_0x439d8d),this[_0x39dece(0x1d6)][_0x39dece(0x198)](_0x96ee2b),this['on'](_0x39dece(0x1a4),(_0x1b7c4d,_0xe03e2e,_0x4770fa)=>{const _0x1ac0ef=_0x39dece;this[_0x1ac0ef(0x1d6)][_0x1ac0ef(0x194)](),this[_0x1ac0ef(0x1cb)][_0x1ac0ef(0x194)](),_0x4770fa?(this[_0x1ac0ef(0x1d6)][_0x1ac0ef(0x198)](_0x148229),this[_0x1ac0ef(0x1d6)][_0x1ac0ef(0x198)](_0x507b4d),this[_0x1ac0ef(0x1cb)][_0x1ac0ef(0x198)](_0x34e725),_0x34e725[_0x1ac0ef(0x1ce)][_0x1ac0ef(0x191)]()):(this[_0x1ac0ef(0x1d6)][_0x1ac0ef(0x198)](_0x439d8d),this[_0x1ac0ef(0x1d6)][_0x1ac0ef(0x198)](_0x96ee2b),this[_0x1ac0ef(0x1cb)][_0x1ac0ef(0x198)](this[_0x1ac0ef(0x1ba)]));}),this[_0x39dece(0x1a3)]({'tag':'li','attributes':{'class':[_0x39dece(0x1c8),_0x189d72?_0x39dece(0x1e3):'',_0x4eb05d['if'](_0x39dece(0x1bc),_0x39dece(0x19d),_0xab766f=>!_0xab766f),_0x4eb05d['if'](_0x39dece(0x19e),_0x39dece(0x1ca))],'role':_0x39dece(0x18b)},'children':[{'tag':_0x39dece(0x1a5),'attributes':{'class':[_0x39dece(0x1c9)]},'children':[{'tag':_0x39dece(0x1d9),'attributes':{'class':[_0x39dece(0x1b5),_0x4eb05d['if'](_0x39dece(0x190),_0x39dece(0x19d),_0x1e4262=>!!_0x1e4262)]},'children':_0x189d72?[_0x6abfe1]:[]},{'tag':_0x39dece(0x1d9),'attributes':{'class':[_0x39dece(0x1a0),_0x4eb05d['if'](_0x39dece(0x190),_0x39dece(0x19d),_0x4e8f67=>!_0x4e8f67)]},'children':[this[_0x39dece(0x199)]()]}]},{'tag':_0x39dece(0x1d9),'attributes':{'class':[_0x39dece(0x1d7)]},'children':[{'tag':_0x39dece(0x1d9),'attributes':{'class':[_0x39dece(0x1e5)]},'on':{'click':this[_0x39dece(0x18a)]['to'](_0x39dece(0x195))},'children':[{'tag':_0x39dece(0x1d9),'attributes':{'class':[_0x39dece(0x18f)]},'children':[{'tag':_0x39dece(0x1d9),'attributes':{'class':[_0x39dece(0x187),_0x4eb05d['if'](_0x39dece(0x190),_0x39dece(0x19d),_0x4b3ca6=>!!_0x4b3ca6)]},'children':this[_0x39dece(0x1cb)]},{'tag':_0x39dece(0x1d9),'attributes':{'class':[_0x39dece(0x1b1),_0x4eb05d['if'](_0x39dece(0x190),_0x39dece(0x19d),_0x16b680=>!_0x16b680)]},'children':[{'text':_0x4eb05d['to'](_0x39dece(0x190),_0x35b701=>_0x35b701?_0x2d359d(this[_0x39dece(0x1b0)],AIChatHistoryListItemView[_0x39dece(0x186)][_0x35b701]):'')}]}]},{'tag':_0x39dece(0x1a5),'attributes':{'class':[_0x39dece(0x1c5)]},'children':[_0x3f47d7]}]},{'tag':_0x39dece(0x1d9),'attributes':{'class':[_0x39dece(0x19f)]},'children':this[_0x39dece(0x1d6)]}]}]}),this['on'](_0x39dece(0x195),()=>{const _0x26686c=_0x39dece;this[_0x26686c(0x19e)]||this[_0x26686c(0x1b7)](_0x26686c(0x196),{'id':this['id']});});}[_0x2d4817(0x1e6)](_0x534bdf){const _0x3263d7=_0x2d4817;this[_0x3263d7(0x1ba)][_0x3263d7(0x1d5)]=_0x388a04(_0x534bdf);}[_0x2d4817(0x1ae)](_0x584756,_0x2f5b2f){const _0x5df32a=_0x2d4817;this[_0x5df32a(0x19b)](_0x5df32a(0x190),_0x2f5b2f?_0x584756:null);}[_0x2d4817(0x1d8)](){const _0x5b4a30=_0x2d4817,_0xdc8d75=new _0x2e8cc4();return _0xdc8d75[_0x5b4a30(0x19b)]({'content':_0x375990}),_0xdc8d75;}[_0x2d4817(0x1a9)](_0x512755){const _0x1cf795=_0x2d4817,_0x3dc21b=new _0x33727a(_0x512755);return _0x3dc21b[_0x1cf795(0x19b)]({'label':_0x2d359d(_0x512755,_0x1cf795(0x1df)),'icon':_0x253887,'withText':!0x1,'tooltip':!0x0}),_0x3dc21b[_0x1cf795(0x1de)](_0x1cf795(0x1dd))['to'](this,_0x1cf795(0x1a8)),_0x3dc21b['on'](_0x1cf795(0x1db),()=>{const _0x2e869d=_0x1cf795,_0x5cf61c=!this[_0x2e869d(0x1a8)];this[_0x2e869d(0x1b7)](_0x2e869d(0x1e0),{'id':this['id'],'pinned':_0x5cf61c});}),_0x3dc21b;}[_0x2d4817(0x18d)](){const _0x4300e8=_0x2d4817,_0x56ea53=_0x12c316(this[_0x4300e8(0x1b0)],_0x18c4a4),_0x2705ab=_0x56ea53[_0x4300e8(0x1dc)][_0x4300e8(0x19c)];_0x56ea53[_0x4300e8(0x1ab)][_0x4300e8(0x19b)]({'label':_0x2d359d(this[_0x4300e8(0x1b0)],_0x4300e8(0x189)),'icon':_0x1eca21}),_0x56ea53[_0x4300e8(0x1e1)]='sw';const _0x3cc87d=new _0x33727a(this[_0x4300e8(0x1b0)]);_0x3cc87d[_0x4300e8(0x1a2)]=_0x2d359d(this[_0x4300e8(0x1b0)],_0x4300e8(0x1a1)),_0x3cc87d[_0x4300e8(0x1da)]=!0x0,_0x3cc87d['on'](_0x4300e8(0x1db),()=>{const _0x4250d8=_0x4300e8;this[_0x4250d8(0x19e)]=!0x0;});const _0xa47034=new _0x33727a(this[_0x4300e8(0x1b0)]);_0xa47034[_0x4300e8(0x1a2)]=_0x2d359d(this[_0x4300e8(0x1b0)],_0x4300e8(0x197)),_0xa47034[_0x4300e8(0x1da)]=!0x0,_0xa47034['on'](_0x4300e8(0x1db),()=>{const _0xc9bcae=_0x4300e8;this[_0xc9bcae(0x1e4)](_0x2d359d(this[_0xc9bcae(0x1b0)],_0xc9bcae(0x1bf)),this[_0xc9bcae(0x1ce)])[_0xc9bcae(0x1b9)](()=>{const _0x56c29f=_0xc9bcae;this[_0x56c29f(0x1b7)](_0x56c29f(0x1c2),{'id':this['id']});});});const _0x3add11=new _0xbad849(this[_0x4300e8(0x1b0)]),_0x4cc6db=new _0x5e8104(this[_0x4300e8(0x1b0)]);_0x4cc6db[_0x4300e8(0x19c)][_0x4300e8(0x198)](_0x3cc87d);const _0x29d1ae=new _0x5e8104(this[_0x4300e8(0x1b0)]);return _0x29d1ae[_0x4300e8(0x19c)][_0x4300e8(0x198)](_0xa47034),_0x3add11[_0x4300e8(0x1b2)][_0x4300e8(0x1c0)]([_0x4cc6db,_0x29d1ae]),_0x2705ab[_0x4300e8(0x198)](_0x3add11),_0x56ea53;}[_0x2d4817(0x18c)](_0x43c468,_0x439f3f){const _0x1009f0=_0x2d4817,_0x4fc6bd=new _0x254dd1(_0x43c468),_0x1991cc=_0x4fc6bd[_0x1009f0(0x18a)];return _0x4fc6bd[_0x1009f0(0x1cc)]=_0x439f3f,_0x4fc6bd[_0x1009f0(0x1d4)]({'on':{'keydown':_0x1991cc['to'](_0x436fff=>{const _0x5e1315=_0x1009f0;_0x5e1315(0x1af)==_0x436fff[_0x5e1315(0x1b3)]&&this[_0x5e1315(0x1ac)](_0x4fc6bd);})}}),_0x4fc6bd;}[_0x2d4817(0x1aa)](_0x50d5cd,_0xd2c343){const _0x46b613=_0x2d4817,_0x894f36=new _0x33727a(_0x50d5cd);return _0x894f36[_0x46b613(0x19b)]({'icon':_0x375990,'withText':!0x1,'tooltip':_0x2d359d(_0x50d5cd,_0x46b613(0x1b4))}),_0x894f36[_0x46b613(0x1d4)]({'attributes':{'class':[_0x46b613(0x1d1)]}}),_0x894f36['on'](_0x46b613(0x1db),()=>{const _0x2fed5e=_0x46b613;this[_0x2fed5e(0x1ac)](_0xd2c343);}),_0x894f36;}[_0x2d4817(0x1ac)](_0x33acc3){const _0x26eade=_0x2d4817,_0xcc8e4f=_0x33acc3[_0x26eade(0x1ce)][_0x26eade(0x1cc)]||'';this[_0x26eade(0x1ba)][_0x26eade(0x1d5)]=_0xcc8e4f,this[_0x26eade(0x19e)]=!0x1,this[_0x26eade(0x1b7)](_0x26eade(0x185),{'id':this['id'],'title':_0xcc8e4f});}[_0x2d4817(0x1b6)](_0x255834,_0xee0137){const _0x17e2b9=_0x2d4817,_0x370694=new _0x33727a(_0x255834);return _0x370694[_0x17e2b9(0x19b)]({'icon':_0x52a386,'withText':!0x1,'tooltip':_0x2d359d(_0x255834,_0x17e2b9(0x1b8))}),_0x370694[_0x17e2b9(0x1d4)]({'attributes':{'class':[_0x17e2b9(0x1e2)]}}),_0x370694['on'](_0x17e2b9(0x1db),()=>{const _0x1656b2=_0x17e2b9;this[_0x1656b2(0x19e)]=!0x1,_0xee0137[_0x1656b2(0x1cc)]=this[_0x1656b2(0x1ba)][_0x1656b2(0x1d5)]||'',this[_0x1656b2(0x1b7)](_0x1656b2(0x1ad));}),_0x370694;}[_0x2d4817(0x199)](){const _0x307526=_0x2d4817,_0x41fd77=new _0x50f835(_0x307526(0x1be));return _0x41fd77[_0x307526(0x1bc)]=!0x0,_0x41fd77;}[_0x2d4817(0x192)](_0x1a2bc7){const _0x261201=_0x2d4817;return this[_0x261201(0x1ba)]&&_0x261201(0x1cd)==typeof this[_0x261201(0x1ba)][_0x261201(0x1d5)]&&this[_0x261201(0x1ba)][_0x261201(0x1d5)][_0x261201(0x1d0)](_0x1a2bc7)?{'title':!0x0}:null;}[_0x2d4817(0x1c1)](_0x33992a){const _0x1e6495=_0x2d4817;this[_0x1e6495(0x1ba)][_0x1e6495(0x1c1)](_0x33992a);}}
23
+ const _0x436e5b=_0x36c6;(function(_0x23a6e2,_0x3eebdc){const _0x13294f=_0x36c6,_0x2c4e03=_0x23a6e2();while(!![]){try{const _0x5eb82d=parseInt(_0x13294f(0x133))/0x1*(parseInt(_0x13294f(0x128))/0x2)+-parseInt(_0x13294f(0x101))/0x3+parseInt(_0x13294f(0xd4))/0x4+-parseInt(_0x13294f(0xde))/0x5+-parseInt(_0x13294f(0xe3))/0x6*(-parseInt(_0x13294f(0xfc))/0x7)+parseInt(_0x13294f(0x12b))/0x8*(-parseInt(_0x13294f(0x132))/0x9)+-parseInt(_0x13294f(0xfa))/0xa*(parseInt(_0x13294f(0xec))/0xb);if(_0x5eb82d===_0x3eebdc)break;else _0x2c4e03['push'](_0x2c4e03['shift']());}catch(_0x1e66ab){_0x2c4e03['push'](_0x2c4e03['shift']());}}}(_0x22b1,0x31f8c));import{ListItemView as _0x39fd4e,HighlightedTextView as _0x259fad,ButtonView as _0xe25d9b,ListView as _0x52f0ae,IconView as _0x37bae0,createDropdown as _0x4b6045,InputTextView as _0x2b0e75}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x2ebeb7,IconPin as _0x2f6d1c,IconCheck as _0x34174a,IconCancel as _0x3f6ef0}from'ckeditor5/src/icons.js';function _0x22b1(){const _0x343dba=['_createEditInputView','AI_CHAT_HISTORY_PIN_BUTTON','5769kDJPUO','4swztfs','focus','AI_CHAT_HISTORY_CANCEL','label','1064448hyghKB','match','createCollection','bindTemplate','updateLoadingState','then','_createCheckView','edit:cancel','AI_CHAT_HISTORY_REMOVE','isMatching','1378360PfRymB','ck-ai-chat-history__item-actions','ck-ai-chat-history__item-title','mainContent','AI_CHAT_HISTORY_REMOVE_CONFIRM','2199228YRaSOI','setTemplate','AI_CHAT_HISTORY_LOADING_REMOVING','_createMenuDropdownView','updateTitle','extendTemplate','tiny','_createAcceptEditButtonView','text','209aMgqwq','AI_CHAT_HISTORY_LOADING_RENAMING','ck-ai-chat-history__item-check-container','execute','ck-ai-chat-history__item-row','removeConversation','click','div','loadingState','ck-ai-loader__text','ck-ai-chat-history__item--edit','showConfirm','listitem','span','41570XtChOP','clear','7HFkxJn','withText','LOADING_LABELS','ck-ai-loader','ck-confirm-view-submit','66048xyDipU','isOn','addMany','ck-ai-chat-history__item-content','ck-confirm-view-cancel','change:isEdit','highlightText','_createSpinnerView','value','panelPosition','element','items','AI_CHAT_HISTORY_LOADING_UNPINNING','ck-ai-chat-history__item-date','children','Enter','key','panelView','pinned','buttonView','locale','set','isEdit','add','_commitEditInputValue','setConversationPinned','fire','selectConversation','actions','ck-hidden','ck-ai-chat-history__item-main-content','ck-ai-chat-history__item-check','editConversationTitle','_createCancelEditButtonView','_createPinButtonView','AI_CHAT_HISTORY_ACCEPT','AI_CHAT_HISTORY_EDIT_NAME','AI_CHAT_HISTORY_LOADING_PINNING','ck-ai-chat-history__item','131718pxmbvy','string','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','3928eZWqMz','ck-ai-chat-history__item--active','bind','_titleView','isVisible'];_0x22b1=function(){return _0x343dba;};return _0x22b1();}import{LateFocusDropdownButtonView as _0x44863b,ConfirmMixin as _0x5c82b0}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x36c6(_0x3890a8,_0x3cc1ae){const _0x22b195=_0x22b1();return _0x36c6=function(_0x36c6d0,_0x494754){_0x36c6d0=_0x36c6d0-0xd2;let _0x1b69dc=_0x22b195[_0x36c6d0];return _0x1b69dc;},_0x36c6(_0x3890a8,_0x3cc1ae);}import{escape as _0x22bd9a}from'es-toolkit/compat';import{AISpinnerView as _0x424b91}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x55b9c5}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
+ _0x5c82b0(_0x39fd4e){['id'];static [_0x436e5b(0xfe)]={'remove':_0x436e5b(0xe5),'rename':_0x436e5b(0xed),'pin':_0x436e5b(0x126),'unpin':_0x436e5b(0x10d)};[_0x436e5b(0x11d)];[_0x436e5b(0xe1)];[_0x436e5b(0x12e)];constructor(_0x1fba04,_0x2b5add){const _0x4480c2=_0x436e5b;super(_0x1fba04);const _0x7daf5e=this[_0x4480c2(0xd7)];this[_0x4480c2(0x116)](_0x4480c2(0x117),!0x1),this[_0x4480c2(0x116)](_0x4480c2(0x12f),!0x0),this[_0x4480c2(0x116)](_0x4480c2(0x113),!!_0x2b5add[_0x4480c2(0x113)]),this[_0x4480c2(0x116)](_0x4480c2(0xf4),null),this['id']=_0x2b5add['id'];const {title:_0x3568b2,createdAt:_0xa7113c,active:_0x288bf0=!0x1}=_0x2b5add;this[_0x4480c2(0x12e)]=new _0x259fad(),this[_0x4480c2(0x12e)][_0x4480c2(0xeb)]=_0x3568b2,this[_0x4480c2(0x12e)][_0x4480c2(0xe8)]({'attributes':{'class':[_0x4480c2(0xe0)]}});const _0x3cc0d9=this[_0x4480c2(0xda)](),_0x1ac2bb=this[_0x4480c2(0x123)](_0x1fba04),_0x414923=this[_0x4480c2(0xe6)](),_0x5da7e9=this[_0x4480c2(0x130)](_0x1fba04,_0x3568b2),_0xe86d19=this[_0x4480c2(0xea)](_0x1fba04,_0x5da7e9),_0xf3bbf6=this[_0x4480c2(0x122)](_0x1fba04,_0x5da7e9);this[_0x4480c2(0x11d)]=this[_0x4480c2(0xd6)](),this[_0x4480c2(0xe1)]=this[_0x4480c2(0xd6)](),this[_0x4480c2(0xe1)][_0x4480c2(0x118)](this[_0x4480c2(0x12e)]),this[_0x4480c2(0x11d)][_0x4480c2(0x118)](_0x1ac2bb),this[_0x4480c2(0x11d)][_0x4480c2(0x118)](_0x414923),this['on'](_0x4480c2(0x106),(_0xb04654,_0x45c346,_0x5815c6)=>{const _0x482296=_0x4480c2;this[_0x482296(0x11d)][_0x482296(0xfb)](),this[_0x482296(0xe1)][_0x482296(0xfb)](),_0x5815c6?(this[_0x482296(0x11d)][_0x482296(0x118)](_0xe86d19),this[_0x482296(0x11d)][_0x482296(0x118)](_0xf3bbf6),this[_0x482296(0xe1)][_0x482296(0x118)](_0x5da7e9),_0x5da7e9[_0x482296(0x10b)][_0x482296(0x134)]()):(this[_0x482296(0x11d)][_0x482296(0x118)](_0x1ac2bb),this[_0x482296(0x11d)][_0x482296(0x118)](_0x414923),this[_0x482296(0xe1)][_0x482296(0x118)](this[_0x482296(0x12e)]));}),this[_0x4480c2(0xe4)]({'tag':'li','attributes':{'class':[_0x4480c2(0x127),_0x288bf0?_0x4480c2(0x12c):'',_0x7daf5e['if'](_0x4480c2(0x12f),_0x4480c2(0x11e),_0x10270d=>!_0x10270d),_0x7daf5e['if'](_0x4480c2(0x117),_0x4480c2(0xf6))],'role':_0x4480c2(0xf8)},'children':[{'tag':_0x4480c2(0xf9),'attributes':{'class':[_0x4480c2(0xee)]},'children':[{'tag':_0x4480c2(0xf3),'attributes':{'class':[_0x4480c2(0x120),_0x7daf5e['if'](_0x4480c2(0xf4),_0x4480c2(0x11e),_0x1a52cc=>!!_0x1a52cc)]},'children':_0x288bf0?[_0x3cc0d9]:[]},{'tag':_0x4480c2(0xf3),'attributes':{'class':[_0x4480c2(0xff),_0x7daf5e['if'](_0x4480c2(0xf4),_0x4480c2(0x11e),_0x467f55=>!_0x467f55)]},'children':[this[_0x4480c2(0x108)]()]}]},{'tag':_0x4480c2(0xf3),'attributes':{'class':[_0x4480c2(0xf0)]},'children':[{'tag':_0x4480c2(0xf3),'attributes':{'class':[_0x4480c2(0x104)]},'on':{'click':this[_0x4480c2(0xd7)]['to'](_0x4480c2(0xf2))},'children':[{'tag':_0x4480c2(0xf3),'attributes':{'class':[_0x4480c2(0x11f)]},'children':[{'tag':_0x4480c2(0xf3),'attributes':{'class':[_0x4480c2(0xe0),_0x7daf5e['if'](_0x4480c2(0xf4),_0x4480c2(0x11e),_0x39b52b=>!!_0x39b52b)]},'children':this[_0x4480c2(0xe1)]},{'tag':_0x4480c2(0xf3),'attributes':{'class':[_0x4480c2(0xf5),_0x7daf5e['if'](_0x4480c2(0xf4),_0x4480c2(0x11e),_0x38cc09=>!_0x38cc09)]},'children':[{'text':_0x7daf5e['to'](_0x4480c2(0xf4),_0x211434=>_0x211434?_0x55b9c5(this[_0x4480c2(0x115)],AIChatHistoryListItemView[_0x4480c2(0xfe)][_0x211434]):'')}]}]},{'tag':_0x4480c2(0xf9),'attributes':{'class':[_0x4480c2(0x10e)]},'children':[_0xa7113c]}]},{'tag':_0x4480c2(0xf3),'attributes':{'class':[_0x4480c2(0xdf)]},'children':this[_0x4480c2(0x11d)]}]}]}),this['on'](_0x4480c2(0xf2),()=>{const _0x59da6b=_0x4480c2;this[_0x59da6b(0x117)]||this[_0x59da6b(0x11b)](_0x59da6b(0x11c),{'id':this['id']});});}[_0x436e5b(0xe7)](_0xba3f20){const _0x2fc2b5=_0x436e5b;this[_0x2fc2b5(0x12e)][_0x2fc2b5(0xeb)]=_0x22bd9a(_0xba3f20);}[_0x436e5b(0xd8)](_0x366f51,_0xdf9a73){const _0x3a258e=_0x436e5b;this[_0x3a258e(0x116)](_0x3a258e(0xf4),_0xdf9a73?_0x366f51:null);}[_0x436e5b(0xda)](){const _0x3688d7=_0x436e5b,_0x2b989c=new _0x37bae0();return _0x2b989c[_0x3688d7(0x116)]({'content':_0x34174a}),_0x2b989c;}[_0x436e5b(0x123)](_0x44a980){const _0x3f1c9a=_0x436e5b,_0x28c0d3=new _0xe25d9b(_0x44a980);return _0x28c0d3[_0x3f1c9a(0x116)]({'label':_0x55b9c5(_0x44a980,_0x3f1c9a(0x131)),'icon':_0x2f6d1c,'withText':!0x1,'tooltip':!0x0}),_0x28c0d3[_0x3f1c9a(0x12d)](_0x3f1c9a(0x102))['to'](this,_0x3f1c9a(0x113)),_0x28c0d3['on'](_0x3f1c9a(0xef),()=>{const _0x2bb4ba=_0x3f1c9a,_0x353880=!this[_0x2bb4ba(0x113)];this[_0x2bb4ba(0x11b)](_0x2bb4ba(0x11a),{'id':this['id'],'pinned':_0x353880});}),_0x28c0d3;}[_0x436e5b(0xe6)](){const _0x1a136e=_0x436e5b,_0x5a05f2=_0x4b6045(this[_0x1a136e(0x115)],_0x44863b),_0x45390b=_0x5a05f2[_0x1a136e(0x112)][_0x1a136e(0x10f)];_0x5a05f2[_0x1a136e(0x114)][_0x1a136e(0x116)]({'label':_0x55b9c5(this[_0x1a136e(0x115)],_0x1a136e(0x12a)),'icon':_0x2ebeb7}),_0x5a05f2[_0x1a136e(0x10a)]='sw';const _0x349dbb=new _0xe25d9b(this[_0x1a136e(0x115)]);_0x349dbb[_0x1a136e(0xd3)]=_0x55b9c5(this[_0x1a136e(0x115)],_0x1a136e(0x125)),_0x349dbb[_0x1a136e(0xfd)]=!0x0,_0x349dbb['on'](_0x1a136e(0xef),()=>{const _0xdd8504=_0x1a136e;this[_0xdd8504(0x117)]=!0x0;});const _0x3b3afb=new _0xe25d9b(this[_0x1a136e(0x115)]);_0x3b3afb[_0x1a136e(0xd3)]=_0x55b9c5(this[_0x1a136e(0x115)],_0x1a136e(0xdc)),_0x3b3afb[_0x1a136e(0xfd)]=!0x0,_0x3b3afb['on'](_0x1a136e(0xef),()=>{const _0x1796a5=_0x1a136e;this[_0x1796a5(0xf7)](_0x55b9c5(this[_0x1796a5(0x115)],_0x1796a5(0xe2)),this[_0x1796a5(0x10b)])[_0x1796a5(0xd9)](()=>{const _0x3a8aa7=_0x1796a5;this[_0x3a8aa7(0x11b)](_0x3a8aa7(0xf1),{'id':this['id']});});});const _0x124efd=new _0x52f0ae(this[_0x1a136e(0x115)]),_0x21b926=new _0x39fd4e(this[_0x1a136e(0x115)]);_0x21b926[_0x1a136e(0x10f)][_0x1a136e(0x118)](_0x349dbb);const _0x423267=new _0x39fd4e(this[_0x1a136e(0x115)]);return _0x423267[_0x1a136e(0x10f)][_0x1a136e(0x118)](_0x3b3afb),_0x124efd[_0x1a136e(0x10c)][_0x1a136e(0x103)]([_0x21b926,_0x423267]),_0x45390b[_0x1a136e(0x118)](_0x124efd),_0x5a05f2;}[_0x436e5b(0x130)](_0x5d61c3,_0x389103){const _0x66d677=_0x436e5b,_0x3c558a=new _0x2b0e75(_0x5d61c3),_0x3e1664=_0x3c558a[_0x66d677(0xd7)];return _0x3c558a[_0x66d677(0x109)]=_0x389103,_0x3c558a[_0x66d677(0xe8)]({'on':{'keydown':_0x3e1664['to'](_0x5652ff=>{const _0x181083=_0x66d677;_0x181083(0x110)==_0x5652ff[_0x181083(0x111)]&&this[_0x181083(0x119)](_0x3c558a);})}}),_0x3c558a;}[_0x436e5b(0xea)](_0x4e0d70,_0x2560e3){const _0x1a4a04=_0x436e5b,_0x53480b=new _0xe25d9b(_0x4e0d70);return _0x53480b[_0x1a4a04(0x116)]({'icon':_0x34174a,'withText':!0x1,'tooltip':_0x55b9c5(_0x4e0d70,_0x1a4a04(0x124))}),_0x53480b[_0x1a4a04(0xe8)]({'attributes':{'class':[_0x1a4a04(0x100)]}}),_0x53480b['on'](_0x1a4a04(0xef),()=>{const _0x5f1420=_0x1a4a04;this[_0x5f1420(0x119)](_0x2560e3);}),_0x53480b;}[_0x436e5b(0x119)](_0xab6c81){const _0x3f9403=_0x436e5b,_0x341b1a=_0xab6c81[_0x3f9403(0x10b)][_0x3f9403(0x109)]||'';this[_0x3f9403(0x12e)][_0x3f9403(0xeb)]=_0x341b1a,this[_0x3f9403(0x117)]=!0x1,this[_0x3f9403(0x11b)](_0x3f9403(0x121),{'id':this['id'],'title':_0x341b1a});}[_0x436e5b(0x122)](_0xf6d3a6,_0x5a4343){const _0x5d5c01=_0x436e5b,_0x3ce173=new _0xe25d9b(_0xf6d3a6);return _0x3ce173[_0x5d5c01(0x116)]({'icon':_0x3f6ef0,'withText':!0x1,'tooltip':_0x55b9c5(_0xf6d3a6,_0x5d5c01(0xd2))}),_0x3ce173[_0x5d5c01(0xe8)]({'attributes':{'class':[_0x5d5c01(0x105)]}}),_0x3ce173['on'](_0x5d5c01(0xef),()=>{const _0x45fc3a=_0x5d5c01;this[_0x45fc3a(0x117)]=!0x1,_0x5a4343[_0x45fc3a(0x109)]=this[_0x45fc3a(0x12e)][_0x45fc3a(0xeb)]||'',this[_0x45fc3a(0x11b)](_0x45fc3a(0xdb));}),_0x3ce173;}[_0x436e5b(0x108)](){const _0x26ad9b=_0x436e5b,_0x190b44=new _0x424b91(_0x26ad9b(0xe9));return _0x190b44[_0x26ad9b(0x12f)]=!0x0,_0x190b44;}[_0x436e5b(0xdd)](_0x11e03b){const _0x2573a2=_0x436e5b;return this[_0x2573a2(0x12e)]&&_0x2573a2(0x129)==typeof this[_0x2573a2(0x12e)][_0x2573a2(0xeb)]&&this[_0x2573a2(0x12e)][_0x2573a2(0xeb)][_0x2573a2(0xd5)](_0x11e03b)?{'title':!0x0}:null;}[_0x436e5b(0x107)](_0x40c203){const _0x53475c=_0x436e5b;this[_0x53475c(0x12e)][_0x53475c(0x107)](_0x40c203);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3def(_0x39a540,_0xd31acb){const _0x58f79e=_0x58f7();return _0x3def=function(_0x3defb7,_0x4ec714){_0x3defb7=_0x3defb7-0x164;let _0x411ddc=_0x58f79e[_0x3defb7];return _0x411ddc;},_0x3def(_0x39a540,_0xd31acb);}function _0x58f7(){const _0xd4e7e2=['2694678fvDlCC','bindTemplate','removeItem','getItem','4322868WCPnWw','822695dOAJgD','highlightText','splice','setTemplate','indexOf','12994345Thfppi','find','remove','216676jqsgnH','title','ck-ai-chat-history__section','11oFmxSV','items','_itemsListView','length','ck-ai-chat-history__section-title','filter','itemsViews','isMatching','ck-hidden','div','isVisible','addMany','set','962520lWbdta','30907128gFpCjr'];_0x58f7=function(){return _0xd4e7e2;};return _0x58f7();}const _0x2315f9=_0x3def;(function(_0x1deb2d,_0x1f9c9e){const _0xebd972=_0x3def,_0x4aa1ea=_0x1deb2d();while(!![]){try{const _0x47ac45=-parseInt(_0xebd972(0x165))/0x1*(parseInt(_0xebd972(0x181))/0x2)+-parseInt(_0xebd972(0x174))/0x3+parseInt(_0xebd972(0x178))/0x4+-parseInt(_0xebd972(0x179))/0x5+parseInt(_0xebd972(0x172))/0x6+-parseInt(_0xebd972(0x17e))/0x7+parseInt(_0xebd972(0x173))/0x8;if(_0x47ac45===_0x1f9c9e)break;else _0x4aa1ea['push'](_0x4aa1ea['shift']());}catch(_0x5d9c77){_0x4aa1ea['push'](_0x4aa1ea['shift']());}}}(_0x58f7,0xf29ae));import{ListItemView as _0x4ecb03,View as _0x4654ef,ListView as _0x5113d1}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x4ecb03{[_0x2315f9(0x182)];[_0x2315f9(0x16b)];[_0x2315f9(0x167)];constructor(_0x23a9f3,{title:_0x53e366,items:_0x1dce54}){const _0x170b2d=_0x2315f9;super(_0x23a9f3);const _0x4a3cb8=this[_0x170b2d(0x175)];this[_0x170b2d(0x171)](_0x170b2d(0x16f),!0x0),this[_0x170b2d(0x182)]=_0x53e366,this[_0x170b2d(0x16b)]=_0x1dce54;const _0x28e126=new _0x4654ef(_0x23a9f3);_0x28e126[_0x170b2d(0x17c)]({'tag':_0x170b2d(0x16e),'attributes':{'class':[_0x170b2d(0x169)]},'children':[this[_0x170b2d(0x182)]]}),this[_0x170b2d(0x167)]=new _0x5113d1(_0x23a9f3),this[_0x170b2d(0x167)][_0x170b2d(0x166)][_0x170b2d(0x170)](this[_0x170b2d(0x16b)]),this[_0x170b2d(0x17c)]({'tag':'li','attributes':{'class':[_0x170b2d(0x164),_0x4a3cb8['if'](_0x170b2d(0x16f),_0x170b2d(0x16d),_0xa6ce1=>!_0xa6ce1)]},'children':[_0x28e126,this[_0x170b2d(0x167)]]});}[_0x2315f9(0x16a)](_0x511e7c){const _0x44f600=_0x2315f9,_0x5437fd=this[_0x44f600(0x16b)][_0x44f600(0x168)];let _0x3629f4=0x0;for(const _0x44b142 of this[_0x44f600(0x16b)]){if(_0x511e7c){const _0x129fdf=_0x44b142[_0x44f600(0x16c)](_0x511e7c);_0x44b142[_0x44f600(0x16f)]=!!_0x129fdf,_0x44b142[_0x44f600(0x17a)](_0x511e7c);}else _0x44b142[_0x44f600(0x16f)]=!0x0,_0x44b142[_0x44f600(0x17a)](null);_0x44b142[_0x44f600(0x16f)]&&_0x3629f4++;}return this[_0x44f600(0x16f)]=_0x3629f4>0x0,{'resultsCount':_0x3629f4,'totalItemsCount':_0x5437fd};}[_0x2315f9(0x177)](_0x13cbd3){const _0x62863a=_0x2315f9;return this[_0x62863a(0x16b)][_0x62863a(0x17f)](_0x32feac=>_0x32feac['id']===_0x13cbd3);}[_0x2315f9(0x176)](_0x143f8b){const _0x4ac2f7=_0x2315f9,_0x222286=this[_0x4ac2f7(0x16b)][_0x4ac2f7(0x17d)](_0x143f8b);-0x1!==_0x222286&&(this[_0x4ac2f7(0x16b)][_0x4ac2f7(0x17b)](_0x222286,0x1),this[_0x4ac2f7(0x167)][_0x4ac2f7(0x166)][_0x4ac2f7(0x180)](_0x143f8b));}}
23
+ const _0x273948=_0x1511;function _0x1511(_0x5bfab3,_0xc0e9d0){const _0x35bc1d=_0x35bc();return _0x1511=function(_0x15118e,_0x1f980f){_0x15118e=_0x15118e-0x18a;let _0x45db0d=_0x35bc1d[_0x15118e];return _0x45db0d;},_0x1511(_0x5bfab3,_0xc0e9d0);}(function(_0x333a02,_0x3046c1){const _0x4ed3d7=_0x1511,_0x1fda89=_0x333a02();while(!![]){try{const _0x47f7b2=parseInt(_0x4ed3d7(0x198))/0x1*(-parseInt(_0x4ed3d7(0x1a8))/0x2)+-parseInt(_0x4ed3d7(0x193))/0x3+-parseInt(_0x4ed3d7(0x18b))/0x4*(parseInt(_0x4ed3d7(0x1a2))/0x5)+parseInt(_0x4ed3d7(0x1a0))/0x6+parseInt(_0x4ed3d7(0x1a7))/0x7+-parseInt(_0x4ed3d7(0x195))/0x8+parseInt(_0x4ed3d7(0x192))/0x9*(parseInt(_0x4ed3d7(0x19c))/0xa);if(_0x47f7b2===_0x3046c1)break;else _0x1fda89['push'](_0x1fda89['shift']());}catch(_0x2e7cfc){_0x1fda89['push'](_0x1fda89['shift']());}}}(_0x35bc,0x8c989));function _0x35bc(){const _0x174599=['7908176AbJspH','ck-hidden','setTemplate','11LjPauc','find','bindTemplate','ck-ai-chat-history__section','188630iXIadE','isVisible','getItem','removeItem','5157588BfMjjg','_itemsListView','15gxjHIb','ck-ai-chat-history__section-title','remove','itemsViews','isMatching','1245825dqLQUc','97742cEEPXb','addMany','highlightText','items','913364BZRYGd','indexOf','set','filter','div','splice','length','1197cRcOWy','2278035IWXRjZ','title'];_0x35bc=function(){return _0x174599;};return _0x35bc();}import{ListItemView as _0x55950f,View as _0x7dc9f5,ListView as _0x49e658}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x55950f{[_0x273948(0x194)];[_0x273948(0x1a5)];[_0x273948(0x1a1)];constructor(_0x39d169,{title:_0x2b1147,items:_0x1d058f}){const _0x169564=_0x273948;super(_0x39d169);const _0x2d902a=this[_0x169564(0x19a)];this[_0x169564(0x18d)](_0x169564(0x19d),!0x0),this[_0x169564(0x194)]=_0x2b1147,this[_0x169564(0x1a5)]=_0x1d058f;const _0x30bffd=new _0x7dc9f5(_0x39d169);_0x30bffd[_0x169564(0x197)]({'tag':_0x169564(0x18f),'attributes':{'class':[_0x169564(0x1a3)]},'children':[this[_0x169564(0x194)]]}),this[_0x169564(0x1a1)]=new _0x49e658(_0x39d169),this[_0x169564(0x1a1)][_0x169564(0x18a)][_0x169564(0x1a9)](this[_0x169564(0x1a5)]),this[_0x169564(0x197)]({'tag':'li','attributes':{'class':[_0x169564(0x19b),_0x2d902a['if'](_0x169564(0x19d),_0x169564(0x196),_0x4454a3=>!_0x4454a3)]},'children':[_0x30bffd,this[_0x169564(0x1a1)]]});}[_0x273948(0x18e)](_0x419e0c){const _0xc8f9ff=_0x273948,_0x470719=this[_0xc8f9ff(0x1a5)][_0xc8f9ff(0x191)];let _0x29418f=0x0;for(const _0x320451 of this[_0xc8f9ff(0x1a5)]){if(_0x419e0c){const _0x52ddd9=_0x320451[_0xc8f9ff(0x1a6)](_0x419e0c);_0x320451[_0xc8f9ff(0x19d)]=!!_0x52ddd9,_0x320451[_0xc8f9ff(0x1aa)](_0x419e0c);}else _0x320451[_0xc8f9ff(0x19d)]=!0x0,_0x320451[_0xc8f9ff(0x1aa)](null);_0x320451[_0xc8f9ff(0x19d)]&&_0x29418f++;}return this[_0xc8f9ff(0x19d)]=_0x29418f>0x0,{'resultsCount':_0x29418f,'totalItemsCount':_0x470719};}[_0x273948(0x19e)](_0x445ebe){const _0x13b9ee=_0x273948;return this[_0x13b9ee(0x1a5)][_0x13b9ee(0x199)](_0x38b203=>_0x38b203['id']===_0x445ebe);}[_0x273948(0x19f)](_0x24655a){const _0x16bab7=_0x273948,_0x2f41b9=this[_0x16bab7(0x1a5)][_0x16bab7(0x18c)](_0x24655a);-0x1!==_0x2f41b9&&(this[_0x16bab7(0x1a5)][_0x16bab7(0x190)](_0x2f41b9,0x1),this[_0x16bab7(0x1a1)][_0x16bab7(0x18a)][_0x16bab7(0x1a4)](_0x24655a));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x398f26=_0x2105;function _0x2105(_0x2b8096,_0x55df10){const _0x121c3e=_0x121c();return _0x2105=function(_0x210567,_0x5a0a0a){_0x210567=_0x210567-0x1aa;let _0x399306=_0x121c3e[_0x210567];return _0x399306;},_0x2105(_0x2b8096,_0x55df10);}(function(_0x5b4242,_0x1c43d1){const _0xe06359=_0x2105,_0x142bc4=_0x5b4242();while(!![]){try{const _0x215ccf=parseInt(_0xe06359(0x1b4))/0x1+parseInt(_0xe06359(0x1ab))/0x2+-parseInt(_0xe06359(0x1b6))/0x3*(parseInt(_0xe06359(0x1ad))/0x4)+parseInt(_0xe06359(0x1ac))/0x5*(parseInt(_0xe06359(0x1b8))/0x6)+-parseInt(_0xe06359(0x1b7))/0x7+-parseInt(_0xe06359(0x1b5))/0x8+parseInt(_0xe06359(0x1aa))/0x9*(parseInt(_0xe06359(0x1b2))/0xa);if(_0x215ccf===_0x1c43d1)break;else _0x142bc4['push'](_0x142bc4['shift']());}catch(_0x33c2cb){_0x142bc4['push'](_0x142bc4['shift']());}}}(_0x121c,0x4a58f));import{ListView as _0x4de564}from'ckeditor5/src/ui.js';function _0x121c(){const _0x4addb3=['sections','173136dcevMw','1923344kBTAHe','471KeHwcR','2809072RJZODs','42ZAloWH','filter','3269448OfTCkv','1052728qynYWY','71745KOIkZK','5528LnJDTi','addMany','ck-ai-chat-history__sections','items','extendTemplate','10GQLyzd'];_0x121c=function(){return _0x4addb3;};return _0x121c();}export class AIChatHistorySectionListView extends _0x4de564{[_0x398f26(0x1b3)];constructor(_0x270cef,_0x1a5689){const _0x5243bd=_0x398f26;super(_0x270cef),this[_0x5243bd(0x1b3)]=_0x1a5689,this[_0x5243bd(0x1b0)][_0x5243bd(0x1ae)](this[_0x5243bd(0x1b3)]),this[_0x5243bd(0x1b1)]({'attributes':{'class':[_0x5243bd(0x1af)]}});}[_0x398f26(0x1b9)](_0x16a973){const _0x1cf406=_0x398f26;let _0x5825b2=0x0,_0x482117=0x0;for(const _0x110abe of this[_0x1cf406(0x1b3)]){const {resultsCount:_0x21a1b7,totalItemsCount:_0x21f109}=_0x110abe[_0x1cf406(0x1b9)](_0x16a973);_0x5825b2+=_0x21a1b7,_0x482117+=_0x21f109;}return{'resultsCount':_0x5825b2,'totalItemsCount':_0x482117};}}
23
+ function _0x44f8(){const _0x16b7d5=['1188549MKkwWD','ck-ai-chat-history__sections','sections','82487kNOoyq','items','525392YSNUGa','7383550bTZlEz','extendTemplate','112204ReekYi','addMany','18LzXGvS','121588CXPLCY','filter','301671EFembH','55uNWJIj','8yEcRIt'];_0x44f8=function(){return _0x16b7d5;};return _0x44f8();}const _0x4e5d6f=_0x4291;(function(_0xbf1400,_0x4c1be9){const _0x3df989=_0x4291,_0x2805e7=_0xbf1400();while(!![]){try{const _0x11f9d8=parseInt(_0x3df989(0x135))/0x1+parseInt(_0x3df989(0x12a))/0x2+parseInt(_0x3df989(0x12f))/0x3+-parseInt(_0x3df989(0x12d))/0x4*(-parseInt(_0x3df989(0x130))/0x5)+parseInt(_0x3df989(0x12c))/0x6*(parseInt(_0x3df989(0x137))/0x7)+parseInt(_0x3df989(0x131))/0x8*(parseInt(_0x3df989(0x132))/0x9)+-parseInt(_0x3df989(0x138))/0xa;if(_0x11f9d8===_0x4c1be9)break;else _0x2805e7['push'](_0x2805e7['shift']());}catch(_0x2bcc90){_0x2805e7['push'](_0x2805e7['shift']());}}}(_0x44f8,0x2ef83));function _0x4291(_0x2a8959,_0x417874){const _0x44f82b=_0x44f8();return _0x4291=function(_0x42918a,_0x42b795){_0x42918a=_0x42918a-0x12a;let _0x47cb90=_0x44f82b[_0x42918a];return _0x47cb90;},_0x4291(_0x2a8959,_0x417874);}import{ListView as _0x2c1382}from'ckeditor5/src/ui.js';export class AIChatHistorySectionListView extends _0x2c1382{[_0x4e5d6f(0x134)];constructor(_0x12e7ee,_0x2492b6){const _0x227d25=_0x4e5d6f;super(_0x12e7ee),this[_0x227d25(0x134)]=_0x2492b6,this[_0x227d25(0x136)][_0x227d25(0x12b)](this[_0x227d25(0x134)]),this[_0x227d25(0x139)]({'attributes':{'class':[_0x227d25(0x133)]}});}[_0x4e5d6f(0x12e)](_0x313d00){const _0x1a131a=_0x4e5d6f;let _0x129f85=0x0,_0x3d285d=0x0;for(const _0x493a9c of this[_0x1a131a(0x134)]){const {resultsCount:_0x39d610,totalItemsCount:_0x4c59c8}=_0x493a9c[_0x1a131a(0x12e)](_0x313d00);_0x129f85+=_0x39d610,_0x3d285d+=_0x4c59c8;}return{'resultsCount':_0x129f85,'totalItemsCount':_0x3d285d};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27590d=_0x3f57;(function(_0x1a6d8e,_0x3373c5){const _0x1746ae=_0x3f57,_0x2564e6=_0x1a6d8e();while(!![]){try{const _0x9a2126=parseInt(_0x1746ae(0xc5))/0x1*(-parseInt(_0x1746ae(0xfe))/0x2)+-parseInt(_0x1746ae(0xb7))/0x3*(-parseInt(_0x1746ae(0xdb))/0x4)+-parseInt(_0x1746ae(0xba))/0x5+parseInt(_0x1746ae(0xc6))/0x6+parseInt(_0x1746ae(0xf3))/0x7*(-parseInt(_0x1746ae(0xb3))/0x8)+parseInt(_0x1746ae(0xe9))/0x9*(parseInt(_0x1746ae(0xdd))/0xa)+-parseInt(_0x1746ae(0xad))/0xb;if(_0x9a2126===_0x3373c5)break;else _0x2564e6['push'](_0x2564e6['shift']());}catch(_0x46f9d5){_0x2564e6['push'](_0x2564e6['shift']());}}}(_0x1e76,0x6aad1));import{View as _0x42bcfc,SearchTextView as _0x5af3f3,FormHeaderView as _0xc11fe1,ButtonView as _0x2b9e18}from'ckeditor5/src/ui.js';function _0x1e76(){const _0x315d7a=['locale','change:hasItems','aiHistory','_createErrorView','ck-ai-notification','4zdmGMo','openChat','length','itemsViews','push','ck-ai-chat-history__empty','bind','_refreshSearch','resizeButton','div','updateLoadingState','some','hasItems','4080604vYoiOQ','AI_CHAT_HISTORY_SEARCH_LABEL','ck-ai-header\x20ck-ai-header_history','items','bindTemplate','render','775736vlpkuR','add','ck-ai-chat-history__content','AI_CHAT_LABEL_NEW_CHAT','3gaOxzR','ck-ai-chat-history','ck-ai-chat__start-conversation','1953030nnTMYr','AI_CHAT_HISTORY_EMPTY_MESSAGE','errorMessage','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','set','_createSkeletonView','search','ck-reset_all','_createListItemViews','updateTitle','mainErrorView','103403dtaBIF','3540312vOefQk','children','change:isLoading','addMany','updateHistoryItemsWithCategories','sections','ck-rounded-corners','setTemplate','fire','change:errorMessage','updateItemTitle','getItem','ck-ai-notification_error__dismiss-button','title','extendTemplate','searchView','isMaximized','ck-ai-notification_error','isEmptyViewVisible','ltr','isMainErrorViewVisible','2085368dzOzXG','removeHistoryItem','7787620paSMQz','queryView','emptyView','sectionsView','element','delegate','clear','ck-hidden','remove','removeItem','_createEmptyStateView','skeletonView','9LlmTTw','updateItemLoadingState','ck-ai-chat-history__empty-message','indexOf','_createSearchView','isVisible','splice','isSearchViewVisible','execute','value','35oxqhNS','_updateViewVisibility','fieldView','isLoading','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','AI_CHAT_HISTORY_HEADING'];_0x1e76=function(){return _0x315d7a;};return _0x1e76();}import{IconAIHistory as _0x2f1dd2,IconCancel as _0x4a93c5,IconPlus as _0x2959d0}from'ckeditor5/src/icons.js';import{AIChatHistorySectionListView as _0x522215}from'./aichathistorysectionlistview.js';import{AIChatHistoryListView as _0x5d8df}from'./aichathistorylistview.js';import{AIChatHistoryListItemView as _0x2f88ff}from'./aichathistorylistitemview.js';import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0x5610e9}from'../aichathistoryui.js';import{AISkeletonView as _0xa2bfd9,SKELETON_DEFINITIONS as _0x1e48f8}from'../../aicore/ui/aiskeleton.js';import{createResizeButton as _0x3eb38f}from'../../aicore/utils/createresizebutton.js';import{getTranslation as _0x49651a}from'../../aicore/utils/common-translations.js';function _0x3f57(_0x37dab5,_0x44b0aa){const _0x1e7670=_0x1e76();return _0x3f57=function(_0x3f570b,_0x30acac){_0x3f570b=_0x3f570b-0xa9;let _0x50d037=_0x1e7670[_0x3f570b];return _0x50d037;},_0x3f57(_0x37dab5,_0x44b0aa);}export class AIChatHistoryView extends _0x42bcfc{[_0x27590d(0xd5)];[_0x27590d(0xc4)];[_0x27590d(0xe8)];[_0x27590d(0xdf)];[_0x27590d(0xe0)];[_0x27590d(0x106)];constructor(_0x241f51,_0x46f2d6){const _0x185723=_0x27590d;super(_0x241f51),this[_0x185723(0xbe)](_0x185723(0xac),!0x1),this[_0x185723(0xbe)](_0x185723(0xf6),!0x0),this[_0x185723(0xbe)](_0x185723(0xbc),''),this[_0x185723(0xbe)](_0x185723(0xd6),!0x1),this[_0x185723(0xbe)](_0x185723(0xf0),!0x1),this[_0x185723(0xbe)](_0x185723(0xd8),!0x1),this[_0x185723(0xbe)](_0x185723(0xda),!0x1);const _0x260000=new _0xc11fe1(_0x241f51,{'label':_0x49651a(_0x241f51,_0x185723(0xf8)),'icon':_0x2f1dd2,'class':_0x185723(0xaf)});_0x46f2d6&&(this[_0x185723(0x106)]=_0x3eb38f(_0x241f51,this),_0x260000[_0x185723(0xc7)][_0x185723(0xb4)](this[_0x185723(0x106)])),this[_0x185723(0xe0)]=new _0x522215(_0x241f51,[]),this[_0x185723(0xe0)][_0x185723(0xe2)](..._0x5610e9)['to'](this),this[_0x185723(0xc4)]=this[_0x185723(0xfc)](),this[_0x185723(0xe8)]=this[_0x185723(0xbf)](),this[_0x185723(0xdf)]=this[_0x185723(0xe7)](),this[_0x185723(0xd5)]=this[_0x185723(0xed)](),this[_0x185723(0xc4)][_0x185723(0xd4)]({'attributes':{'class':[this[_0x185723(0xb1)]['if'](_0x185723(0xda),_0x185723(0xe4),_0x124b0f=>!_0x124b0f)]}}),this['on'](_0x185723(0xc8),()=>this[_0x185723(0xf4)]()),this['on'](_0x185723(0xfa),()=>this[_0x185723(0xf4)]()),this['on'](_0x185723(0xcf),()=>this[_0x185723(0xf4)]()),this[_0x185723(0xcd)]({'tag':_0x185723(0xa9),'attributes':{'class':['ck',_0x185723(0xc1),_0x185723(0xb8),_0x185723(0xcc)],'dir':_0x185723(0xd9)},'children':[_0x260000,{'tag':_0x185723(0xa9),'attributes':{'class':[_0x185723(0xb5)]},'children':[this[_0x185723(0xe8)],this[_0x185723(0xc4)],this[_0x185723(0xdf)],this[_0x185723(0xd5)]]}]});}[_0x27590d(0xf4)](){const _0x30a101=_0x27590d;this[_0x30a101(0xf0)]=!this[_0x30a101(0xf6)]&&this[_0x30a101(0xac)],this[_0x30a101(0xd8)]=!this[_0x30a101(0xf6)]&&!this[_0x30a101(0xac)]&&!this[_0x30a101(0xbc)],this[_0x30a101(0xda)]=!this[_0x30a101(0xf0)]&&!!this[_0x30a101(0xbc)];}[_0x27590d(0xed)](){const _0x1f7575=_0x27590d,_0x48430d=new _0x5af3f3(this[_0x1f7575(0xf9)],{'filteredView':this[_0x1f7575(0xe0)],'queryView':{'label':_0x49651a(this[_0x1f7575(0xf9)],_0x1f7575(0xae))},'infoView':{'text':{'notFound':{'primary':_0x56175a=>_0x49651a(this[_0x1f7575(0xf9)],_0x1f7575(0xbd),_0x56175a),'secondary':_0x49651a(this[_0x1f7575(0xf9)],_0x1f7575(0xf7))}}}}),_0x3fb0ca=this[_0x1f7575(0xfc)]();return _0x3fb0ca[_0x1f7575(0xd4)]({'attributes':{'class':[this[_0x1f7575(0xb1)]['if'](_0x1f7575(0xbc),_0x1f7575(0xe4),_0x1b69b0=>!_0x1b69b0)]}}),_0x48430d['on'](_0x1f7575(0xb2),()=>{const _0x53d047=_0x1f7575;_0x48430d[_0x53d047(0xc7)][_0x53d047(0xb4)](_0x3fb0ca,0x1);}),_0x48430d[_0x1f7575(0xd4)]({'attributes':{'class':[this[_0x1f7575(0xb1)]['if'](_0x1f7575(0xf0),_0x1f7575(0xe4),_0xcd69ec=>!_0xcd69ec)]}}),_0x48430d;}[_0x27590d(0xbf)](){const _0x1740fe=_0x27590d,_0x5c3518=new _0xa2bfd9(this[_0x1740fe(0xf9)],_0x1e48f8[_0x1740fe(0xfb)]);return _0x5c3518[_0x1740fe(0xd4)]({'attributes':{'class':[this[_0x1740fe(0xb1)]['if'](_0x1740fe(0xf6),_0x1740fe(0xe4),_0xcc5374=>!_0xcc5374)]}}),_0x5c3518;}[_0x27590d(0xfc)](){const _0x2f31cc=_0x27590d,_0x317305=new _0x42bcfc(this[_0x2f31cc(0xf9)]),_0x4792c8=new _0x2b9e18(this[_0x2f31cc(0xf9)]);_0x4792c8[_0x2f31cc(0xbe)]({'withText':!0x1,'icon':_0x4a93c5,'class':_0x2f31cc(0xd2)}),_0x4792c8[_0x2f31cc(0x104)](_0x2f31cc(0xee))['to'](this,_0x2f31cc(0xac),_0x33d015=>!!_0x33d015),_0x4792c8['on'](_0x2f31cc(0xf1),()=>{const _0x3d089c=_0x2f31cc;this[_0x3d089c(0xbc)]='';});const _0x10b100=this[_0x2f31cc(0xb1)];return _0x317305[_0x2f31cc(0xcd)]({'tag':_0x2f31cc(0xa9),'attributes':{'class':['ck',_0x2f31cc(0xfd),_0x2f31cc(0xd7)]},'children':[{'tag':'p','children':[{'text':_0x10b100['to'](_0x2f31cc(0xbc))}]},_0x4792c8]}),_0x317305;}[_0x27590d(0xe7)](){const _0x6fd4e8=_0x27590d,_0x5ac449=new _0x2b9e18(this[_0x6fd4e8(0xf9)]);_0x5ac449[_0x6fd4e8(0xbe)]({'label':_0x49651a(this[_0x6fd4e8(0xf9)],_0x6fd4e8(0xb6)),'withText':!0x0,'icon':_0x2959d0,'class':_0x6fd4e8(0xb9)}),_0x5ac449['on'](_0x6fd4e8(0xf1),()=>{const _0x4f184e=_0x6fd4e8;this[_0x4f184e(0xce)](_0x4f184e(0xff));});const _0x6fab8d=new _0x42bcfc(this[_0x6fd4e8(0xf9)]);return _0x6fab8d[_0x6fd4e8(0xcd)]({'tag':_0x6fd4e8(0xa9),'attributes':{'class':[_0x6fd4e8(0x103),this[_0x6fd4e8(0xb1)]['if'](_0x6fd4e8(0xd8),_0x6fd4e8(0xe4),_0x4b088b=>!_0x4b088b)]},'children':[{'tag':'p','attributes':{'class':[_0x6fd4e8(0xeb)]},'children':[_0x49651a(this[_0x6fd4e8(0xf9)],_0x6fd4e8(0xbb))]},_0x5ac449]}),_0x6fab8d;}[_0x27590d(0xc2)](_0x594094,_0x1239be){const _0x4c7a4a=_0x27590d,_0x4204d2=[];for(const _0x369cac of _0x594094){const _0x46c81c=new _0x2f88ff(_0x1239be,_0x369cac);_0x46c81c[_0x4c7a4a(0xe2)](..._0x5610e9)['to'](this),_0x4204d2[_0x4c7a4a(0x102)](_0x46c81c);}return _0x4204d2;}[_0x27590d(0xca)](_0x5299e6){const _0xed8d6f=_0x27590d,_0x5a1dbc=this[_0xed8d6f(0xf9)]||'en',_0x569874=[];for(const _0x1bddfb of _0x5299e6){const _0x52e608=this[_0xed8d6f(0xc2)](_0x1bddfb[_0xed8d6f(0xb0)],_0x5a1dbc);_0x569874[_0xed8d6f(0x102)](new _0x5d8df(_0x5a1dbc,{'title':_0x1bddfb[_0xed8d6f(0xd3)],'items':_0x52e608}));}this[_0xed8d6f(0xe0)][_0xed8d6f(0xcb)]=_0x569874,this[_0xed8d6f(0xe0)][_0xed8d6f(0xb0)][_0xed8d6f(0xe3)](),this[_0xed8d6f(0xe0)][_0xed8d6f(0xb0)][_0xed8d6f(0xc9)](_0x569874),this[_0xed8d6f(0xac)]=_0x5299e6[_0xed8d6f(0xab)](_0x4d8d35=>_0x4d8d35[_0xed8d6f(0xb0)][_0xed8d6f(0x100)]>0x0),this[_0xed8d6f(0x105)]();}[_0x27590d(0xdc)](_0x5010d9){const _0x544cf2=_0x27590d;for(const _0x2e7fb4 of this[_0x544cf2(0xe0)][_0x544cf2(0xcb)]){const _0x43e802=_0x2e7fb4[_0x544cf2(0xd1)](_0x5010d9);if(_0x43e802){if(_0x2e7fb4[_0x544cf2(0xe6)](_0x43e802),0x0===_0x2e7fb4[_0x544cf2(0x101)][_0x544cf2(0x100)]){const _0x48f4b2=this[_0x544cf2(0xe0)][_0x544cf2(0xcb)][_0x544cf2(0xec)](_0x2e7fb4);-0x1!==_0x48f4b2&&(this[_0x544cf2(0xe0)][_0x544cf2(0xcb)][_0x544cf2(0xef)](_0x48f4b2,0x1),this[_0x544cf2(0xe0)][_0x544cf2(0xb0)][_0x544cf2(0xe5)](_0x2e7fb4));}this[_0x544cf2(0xac)]=this[_0x544cf2(0xe0)][_0x544cf2(0xcb)][_0x544cf2(0x100)]>0x0,this[_0x544cf2(0x105)]();break;}}}[_0x27590d(0xd0)](_0x25f15d,_0x19bb95){const _0xc13644=_0x27590d;for(const _0x15ebf7 of this[_0xc13644(0xe0)][_0xc13644(0xcb)]){const _0x3307ef=_0x15ebf7[_0xc13644(0xd1)](_0x25f15d);if(_0x3307ef){_0x3307ef[_0xc13644(0xc3)](_0x19bb95);break;}}}[_0x27590d(0xea)](_0x2c1c87,_0x4b00ee,_0x144c55){const _0x5e6bdd=_0x27590d;for(const _0x40fea5 of this[_0x5e6bdd(0xe0)][_0x5e6bdd(0xcb)]){const _0x1f5d19=_0x40fea5[_0x5e6bdd(0xd1)](_0x2c1c87);if(_0x1f5d19){_0x1f5d19[_0x5e6bdd(0xaa)](_0x4b00ee,_0x144c55);break;}}}[_0x27590d(0x105)](){const _0x28c03a=_0x27590d;if(this[_0x28c03a(0xac)]){const _0x41d7d2=this[_0x28c03a(0xd5)][_0x28c03a(0xde)][_0x28c03a(0xf5)]?.[_0x28c03a(0xe1)]?.[_0x28c03a(0xf2)]||'';this[_0x28c03a(0xd5)][_0x28c03a(0xc0)](_0x41d7d2);}}}
23
+ const _0x571fde=_0x2d92;(function(_0x163071,_0x3760f9){const _0x216924=_0x2d92,_0x20b4a3=_0x163071();while(!![]){try{const _0x22fa08=parseInt(_0x216924(0xf8))/0x1+-parseInt(_0x216924(0xef))/0x2*(parseInt(_0x216924(0xa7))/0x3)+parseInt(_0x216924(0xd8))/0x4+-parseInt(_0x216924(0xc9))/0x5+-parseInt(_0x216924(0xdc))/0x6*(-parseInt(_0x216924(0xb6))/0x7)+-parseInt(_0x216924(0xba))/0x8+parseInt(_0x216924(0xe2))/0x9;if(_0x22fa08===_0x3760f9)break;else _0x20b4a3['push'](_0x20b4a3['shift']());}catch(_0x237a66){_0x20b4a3['push'](_0x20b4a3['shift']());}}}(_0x3b5e,0x4cd37));import{View as _0x379d2e,SearchTextView as _0x2d5d28,FormHeaderView as _0x1d90c2,ButtonView as _0x13b760}from'ckeditor5/src/ui.js';import{IconAIHistory as _0x58184d,IconCancel as _0x134cec,IconPlus as _0x256e99}from'ckeditor5/src/icons.js';function _0x3b5e(){const _0x4d072b=['removeItem','delegate','updateLoadingState','updateHistoryItemsWithCategories','1907244ItOBbk','items','AI_CHAT_HISTORY_SEARCH_LABEL','ck-ai-chat__start-conversation','48BKVtoD','title','push','remove','emptyView','children','3939885Wlpgqi','element','addMany','value','sectionsView','removeHistoryItem','ltr','isEmptyViewVisible','bindTemplate','ck-ai-notification_error__dismiss-button','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','ck-ai-chat-history__content','div','2Oavqbs','isVisible','sections','ck-reset_all','render','execute','hasItems','_refreshSearch','clear','564135FBsIYw','_updateViewVisibility','bind','ck-rounded-corners','ck-hidden','ck-ai-chat-history__empty','mainErrorView','queryView','_createSearchView','some','fieldView','990909RFerGV','aiHistory','indexOf','errorMessage','ck-ai-chat-history__empty-message','updateTitle','_createListItemViews','locale','AI_CHAT_HISTORY_HEADING','fire','extendTemplate','getItem','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','isSearchViewVisible','search','7448cjOyaq','change:errorMessage','isMaximized','ck-ai-chat-history','4563616xtmzVq','_createErrorView','ck-ai-notification','_createSkeletonView','ck-ai-notification_error','_createEmptyStateView','AI_CHAT_LABEL_NEW_CHAT','updateItemTitle','change:hasItems','isMainErrorViewVisible','splice','set','isLoading','updateItemLoadingState','itemsViews','1358945OyUwfj','setTemplate','add','ck-ai-header\x20ck-ai-header_history','AI_CHAT_HISTORY_EMPTY_MESSAGE','length','resizeButton','change:isLoading','openChat','searchView','skeletonView'];_0x3b5e=function(){return _0x4d072b;};return _0x3b5e();}import{AIChatHistorySectionListView as _0x57f137}from'./aichathistorysectionlistview.js';function _0x2d92(_0x136c66,_0x526c26){const _0x3b5e39=_0x3b5e();return _0x2d92=function(_0x2d92b8,_0x33a0df){_0x2d92b8=_0x2d92b8-0xa0;let _0x1d6969=_0x3b5e39[_0x2d92b8];return _0x1d6969;},_0x2d92(_0x136c66,_0x526c26);}import{AIChatHistoryListView as _0x298941}from'./aichathistorylistview.js';import{AIChatHistoryListItemView as _0x2dd736}from'./aichathistorylistitemview.js';import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0x46a02a}from'../aichathistoryui.js';import{AISkeletonView as _0x54de3b,SKELETON_DEFINITIONS as _0x26ded5}from'../../aicore/ui/aiskeleton.js';import{createResizeButton as _0x5acaac}from'../../aicore/utils/createresizebutton.js';import{getTranslation as _0x4b4e04}from'../../aicore/utils/common-translations.js';export class AIChatHistoryView extends _0x379d2e{[_0x571fde(0xd2)];[_0x571fde(0xa2)];[_0x571fde(0xd3)];[_0x571fde(0xe0)];[_0x571fde(0xe6)];[_0x571fde(0xcf)];constructor(_0x497e96,_0x4bc728){const _0x5ce3fd=_0x571fde;super(_0x497e96),this[_0x5ce3fd(0xc5)](_0x5ce3fd(0xf5),!0x1),this[_0x5ce3fd(0xc5)](_0x5ce3fd(0xc6),!0x0),this[_0x5ce3fd(0xc5)](_0x5ce3fd(0xaa),''),this[_0x5ce3fd(0xc5)](_0x5ce3fd(0xb8),!0x1),this[_0x5ce3fd(0xc5)](_0x5ce3fd(0xb4),!0x1),this[_0x5ce3fd(0xc5)](_0x5ce3fd(0xe9),!0x1),this[_0x5ce3fd(0xc5)](_0x5ce3fd(0xc3),!0x1);const _0x1c367e=new _0x1d90c2(_0x497e96,{'label':_0x4b4e04(_0x497e96,_0x5ce3fd(0xaf)),'icon':_0x58184d,'class':_0x5ce3fd(0xcc)});_0x4bc728&&(this[_0x5ce3fd(0xcf)]=_0x5acaac(_0x497e96,this),_0x1c367e[_0x5ce3fd(0xe1)][_0x5ce3fd(0xcb)](this[_0x5ce3fd(0xcf)])),this[_0x5ce3fd(0xe6)]=new _0x57f137(_0x497e96,[]),this[_0x5ce3fd(0xe6)][_0x5ce3fd(0xd5)](..._0x46a02a)['to'](this),this[_0x5ce3fd(0xa2)]=this[_0x5ce3fd(0xbb)](),this[_0x5ce3fd(0xd3)]=this[_0x5ce3fd(0xbd)](),this[_0x5ce3fd(0xe0)]=this[_0x5ce3fd(0xbf)](),this[_0x5ce3fd(0xd2)]=this[_0x5ce3fd(0xa4)](),this[_0x5ce3fd(0xa2)][_0x5ce3fd(0xb1)]({'attributes':{'class':[this[_0x5ce3fd(0xea)]['if'](_0x5ce3fd(0xc3),_0x5ce3fd(0xa0),_0x2fec74=>!_0x2fec74)]}}),this['on'](_0x5ce3fd(0xd0),()=>this[_0x5ce3fd(0xf9)]()),this['on'](_0x5ce3fd(0xc2),()=>this[_0x5ce3fd(0xf9)]()),this['on'](_0x5ce3fd(0xb7),()=>this[_0x5ce3fd(0xf9)]()),this[_0x5ce3fd(0xca)]({'tag':_0x5ce3fd(0xee),'attributes':{'class':['ck',_0x5ce3fd(0xf2),_0x5ce3fd(0xb9),_0x5ce3fd(0xfb)],'dir':_0x5ce3fd(0xe8)},'children':[_0x1c367e,{'tag':_0x5ce3fd(0xee),'attributes':{'class':[_0x5ce3fd(0xed)]},'children':[this[_0x5ce3fd(0xd3)],this[_0x5ce3fd(0xa2)],this[_0x5ce3fd(0xe0)],this[_0x5ce3fd(0xd2)]]}]});}[_0x571fde(0xf9)](){const _0x4a3582=_0x571fde;this[_0x4a3582(0xb4)]=!this[_0x4a3582(0xc6)]&&this[_0x4a3582(0xf5)],this[_0x4a3582(0xe9)]=!this[_0x4a3582(0xc6)]&&!this[_0x4a3582(0xf5)]&&!this[_0x4a3582(0xaa)],this[_0x4a3582(0xc3)]=!this[_0x4a3582(0xb4)]&&!!this[_0x4a3582(0xaa)];}[_0x571fde(0xa4)](){const _0x4390d9=_0x571fde,_0x3ba406=new _0x2d5d28(this[_0x4390d9(0xae)],{'filteredView':this[_0x4390d9(0xe6)],'queryView':{'label':_0x4b4e04(this[_0x4390d9(0xae)],_0x4390d9(0xda))},'infoView':{'text':{'notFound':{'primary':_0x21768b=>_0x4b4e04(this[_0x4390d9(0xae)],_0x4390d9(0xb3),_0x21768b),'secondary':_0x4b4e04(this[_0x4390d9(0xae)],_0x4390d9(0xec))}}}}),_0x16e5a0=this[_0x4390d9(0xbb)]();return _0x16e5a0[_0x4390d9(0xb1)]({'attributes':{'class':[this[_0x4390d9(0xea)]['if'](_0x4390d9(0xaa),_0x4390d9(0xa0),_0x4bf525=>!_0x4bf525)]}}),_0x3ba406['on'](_0x4390d9(0xf3),()=>{const _0x124e50=_0x4390d9;_0x3ba406[_0x124e50(0xe1)][_0x124e50(0xcb)](_0x16e5a0,0x1);}),_0x3ba406[_0x4390d9(0xb1)]({'attributes':{'class':[this[_0x4390d9(0xea)]['if'](_0x4390d9(0xb4),_0x4390d9(0xa0),_0x16354e=>!_0x16354e)]}}),_0x3ba406;}[_0x571fde(0xbd)](){const _0xdd6776=_0x571fde,_0x37615f=new _0x54de3b(this[_0xdd6776(0xae)],_0x26ded5[_0xdd6776(0xa8)]);return _0x37615f[_0xdd6776(0xb1)]({'attributes':{'class':[this[_0xdd6776(0xea)]['if'](_0xdd6776(0xc6),_0xdd6776(0xa0),_0x4a2b8d=>!_0x4a2b8d)]}}),_0x37615f;}[_0x571fde(0xbb)](){const _0x5e5c22=_0x571fde,_0x3477b9=new _0x379d2e(this[_0x5e5c22(0xae)]),_0x192015=new _0x13b760(this[_0x5e5c22(0xae)]);_0x192015[_0x5e5c22(0xc5)]({'withText':!0x1,'icon':_0x134cec,'class':_0x5e5c22(0xeb)}),_0x192015[_0x5e5c22(0xfa)](_0x5e5c22(0xf0))['to'](this,_0x5e5c22(0xf5),_0x2f72ba=>!!_0x2f72ba),_0x192015['on'](_0x5e5c22(0xf4),()=>{const _0xe7b13e=_0x5e5c22;this[_0xe7b13e(0xaa)]='';});const _0x1f9a93=this[_0x5e5c22(0xea)];return _0x3477b9[_0x5e5c22(0xca)]({'tag':_0x5e5c22(0xee),'attributes':{'class':['ck',_0x5e5c22(0xbc),_0x5e5c22(0xbe)]},'children':[{'tag':'p','children':[{'text':_0x1f9a93['to'](_0x5e5c22(0xaa))}]},_0x192015]}),_0x3477b9;}[_0x571fde(0xbf)](){const _0x21e57b=_0x571fde,_0x4f8297=new _0x13b760(this[_0x21e57b(0xae)]);_0x4f8297[_0x21e57b(0xc5)]({'label':_0x4b4e04(this[_0x21e57b(0xae)],_0x21e57b(0xc0)),'withText':!0x0,'icon':_0x256e99,'class':_0x21e57b(0xdb)}),_0x4f8297['on'](_0x21e57b(0xf4),()=>{const _0x168ef8=_0x21e57b;this[_0x168ef8(0xb0)](_0x168ef8(0xd1));});const _0x4da496=new _0x379d2e(this[_0x21e57b(0xae)]);return _0x4da496[_0x21e57b(0xca)]({'tag':_0x21e57b(0xee),'attributes':{'class':[_0x21e57b(0xa1),this[_0x21e57b(0xea)]['if'](_0x21e57b(0xe9),_0x21e57b(0xa0),_0x369c68=>!_0x369c68)]},'children':[{'tag':'p','attributes':{'class':[_0x21e57b(0xab)]},'children':[_0x4b4e04(this[_0x21e57b(0xae)],_0x21e57b(0xcd))]},_0x4f8297]}),_0x4da496;}[_0x571fde(0xad)](_0x2d5e85,_0x4816e9){const _0x4a99ff=_0x571fde,_0x271595=[];for(const _0x58b7c0 of _0x2d5e85){const _0x55d1c5=new _0x2dd736(_0x4816e9,_0x58b7c0);_0x55d1c5[_0x4a99ff(0xd5)](..._0x46a02a)['to'](this),_0x271595[_0x4a99ff(0xde)](_0x55d1c5);}return _0x271595;}[_0x571fde(0xd7)](_0xd89f88){const _0x2e501a=_0x571fde,_0x1400f6=this[_0x2e501a(0xae)]||'en',_0x502410=[];for(const _0xc5535a of _0xd89f88){const _0x11cb80=this[_0x2e501a(0xad)](_0xc5535a[_0x2e501a(0xd9)],_0x1400f6);_0x502410[_0x2e501a(0xde)](new _0x298941(_0x1400f6,{'title':_0xc5535a[_0x2e501a(0xdd)],'items':_0x11cb80}));}this[_0x2e501a(0xe6)][_0x2e501a(0xf1)]=_0x502410,this[_0x2e501a(0xe6)][_0x2e501a(0xd9)][_0x2e501a(0xf7)](),this[_0x2e501a(0xe6)][_0x2e501a(0xd9)][_0x2e501a(0xe4)](_0x502410),this[_0x2e501a(0xf5)]=_0xd89f88[_0x2e501a(0xa5)](_0x1df550=>_0x1df550[_0x2e501a(0xd9)][_0x2e501a(0xce)]>0x0),this[_0x2e501a(0xf6)]();}[_0x571fde(0xe7)](_0x40deb5){const _0x3f5cd9=_0x571fde;for(const _0x22ae3a of this[_0x3f5cd9(0xe6)][_0x3f5cd9(0xf1)]){const _0xa36e1c=_0x22ae3a[_0x3f5cd9(0xb2)](_0x40deb5);if(_0xa36e1c){if(_0x22ae3a[_0x3f5cd9(0xd4)](_0xa36e1c),0x0===_0x22ae3a[_0x3f5cd9(0xc8)][_0x3f5cd9(0xce)]){const _0x2c93ec=this[_0x3f5cd9(0xe6)][_0x3f5cd9(0xf1)][_0x3f5cd9(0xa9)](_0x22ae3a);-0x1!==_0x2c93ec&&(this[_0x3f5cd9(0xe6)][_0x3f5cd9(0xf1)][_0x3f5cd9(0xc4)](_0x2c93ec,0x1),this[_0x3f5cd9(0xe6)][_0x3f5cd9(0xd9)][_0x3f5cd9(0xdf)](_0x22ae3a));}this[_0x3f5cd9(0xf5)]=this[_0x3f5cd9(0xe6)][_0x3f5cd9(0xf1)][_0x3f5cd9(0xce)]>0x0,this[_0x3f5cd9(0xf6)]();break;}}}[_0x571fde(0xc1)](_0x859cdd,_0x30b213){const _0x3959d0=_0x571fde;for(const _0xd0c238 of this[_0x3959d0(0xe6)][_0x3959d0(0xf1)]){const _0x4eb617=_0xd0c238[_0x3959d0(0xb2)](_0x859cdd);if(_0x4eb617){_0x4eb617[_0x3959d0(0xac)](_0x30b213);break;}}}[_0x571fde(0xc7)](_0x493cd9,_0x2d3720,_0x42c79c){const _0x35f78c=_0x571fde;for(const _0x5f1cd3 of this[_0x35f78c(0xe6)][_0x35f78c(0xf1)]){const _0x520f2a=_0x5f1cd3[_0x35f78c(0xb2)](_0x493cd9);if(_0x520f2a){_0x520f2a[_0x35f78c(0xd6)](_0x2d3720,_0x42c79c);break;}}}[_0x571fde(0xf6)](){const _0xf7a8c4=_0x571fde;if(this[_0xf7a8c4(0xf5)]){const _0x4eae63=this[_0xf7a8c4(0xd2)][_0xf7a8c4(0xa3)][_0xf7a8c4(0xa6)]?.[_0xf7a8c4(0xe3)]?.[_0xf7a8c4(0xe5)]||'';this[_0xf7a8c4(0xd2)][_0xf7a8c4(0xb5)](_0x4eae63);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bfce5=_0x4792;(function(_0x48ff62,_0x79f9bd){const _0x2e2369=_0x4792,_0x3b4f8f=_0x48ff62();while(!![]){try{const _0x53962e=-parseInt(_0x2e2369(0x1dc))/0x1*(parseInt(_0x2e2369(0x1cc))/0x2)+parseInt(_0x2e2369(0x1d1))/0x3+parseInt(_0x2e2369(0x1ce))/0x4+-parseInt(_0x2e2369(0x215))/0x5+-parseInt(_0x2e2369(0x1ee))/0x6*(-parseInt(_0x2e2369(0x1fb))/0x7)+parseInt(_0x2e2369(0x207))/0x8*(parseInt(_0x2e2369(0x20e))/0x9)+parseInt(_0x2e2369(0x1e1))/0xa*(-parseInt(_0x2e2369(0x218))/0xb);if(_0x53962e===_0x79f9bd)break;else _0x3b4f8f['push'](_0x3b4f8f['shift']());}catch(_0x3ef01e){_0x3b4f8f['push'](_0x3b4f8f['shift']());}}}(_0x5c63,0xe091e));import{AIChatUI as _0x449732}from'../aichat/aichatui.js';import{ContextPlugin as _0x3e0314}from'ckeditor5/src/core.js';import{AIChatShortcutsView as _0xfa265d}from'./ui/aichatshortcutsview.js';function _0x5c63(){const _0x2e7838=['activeConversation','custom','ai-chat-shortcuts-invalid-config','chat','review','params','view','72rDRAdd','isFromHistory','runReviewCheck','execute','translate','setPromptInputValue','type','requires','length','label','language','locale','ai-chat-shortcuts-translate-not-found','506366BAwPPZ','includes','removeFeedItem','has','chatModels','getModel','focusPromptInput','config','hasFeedItem','args','_executeShortcut','AITranslateUI','12566104zkRyBH','addCurrentDocumentToChatContext','reviewMode','AIReviewModeUI','_removeShortcuts','_shortcutsView','AIChat','9xjkOYe','CHAT','setReasoning','getDefault','check','conversationCreated','get','6829305crHgVi','_aiChatUI','interactionStarted','354343ZAzRWi','render','addFeedItemCustomElement','ai-chat-shortcuts-review-mode-not-found','source','TRANSLATE','_runChatShortcut','_shortcuts','pluginName','_runReviewShortcut','activateTab','listenTo','setModel','AIChatShortcuts','forEach','_injectShortcuts','fire','922avcqCQ','isPremiumPlugin','3052828rakAUo','ai-chat-shortcuts-ai-tabs-not-found','REVIEW','3316359XtMzzK','_runTranslateShortcut','string','AITabs','AIChatController','ai.chat.shortcuts','_validateShortcuts','prompt','context','setWebSearch','find','3617ECUslB','init','chat-shortcuts','values','_switchTab','110tivpht','destroy','isOfficialPlugin','sendMessage','plugins','element'];_0x5c63=function(){return _0x2e7838;};return _0x5c63();}import{CKEditorError as _0x1953b2}from'ckeditor5/src/utils.js';import'../../theme/aichatshortcuts/aichatshortcuts.css';const Ut=_0x5bfce5(0x1de);function _0x4792(_0x7ba6a5,_0x51c7d1){const _0x5c6361=_0x5c63();return _0x4792=function(_0x479296,_0x35090f){_0x479296=_0x479296-0x1bd;let _0x1dde89=_0x5c6361[_0x479296];return _0x1dde89;},_0x4792(_0x7ba6a5,_0x51c7d1);}export var AIChatShortcutType;!function(_0x2b4c5b){const _0x4c4d36=_0x5bfce5;_0x2b4c5b[_0x4c4d36(0x20f)]=_0x4c4d36(0x1ea),_0x2b4c5b[_0x4c4d36(0x1d0)]=_0x4c4d36(0x1eb),_0x2b4c5b[_0x4c4d36(0x1c0)]=_0x4c4d36(0x1f2);}(AIChatShortcutType||(AIChatShortcutType={}));export class AIChatShortcuts extends _0x3e0314{[_0x5bfce5(0x1c2)];[_0x5bfce5(0x20c)];[_0x5bfce5(0x216)];static get[_0x5bfce5(0x1f5)](){return[_0x449732];}static get[_0x5bfce5(0x1c3)](){const _0x34e3c7=_0x5bfce5;return _0x34e3c7(0x1c8);}static get[_0x5bfce5(0x1e3)](){return!0x0;}static get[_0x5bfce5(0x1cd)](){return!0x0;}[_0x5bfce5(0x1dd)](){const _0x471b4b=_0x5bfce5;this[_0x471b4b(0x216)]=this[_0x471b4b(0x1d9)][_0x471b4b(0x1e5)][_0x471b4b(0x214)](_0x449732),this[_0x471b4b(0x1c2)]=this[_0x471b4b(0x1d9)][_0x471b4b(0x202)][_0x471b4b(0x214)](_0x471b4b(0x1d6))??[];const _0x1267f0=this[_0x471b4b(0x1d9)][_0x471b4b(0x1e5)][_0x471b4b(0x214)](_0x471b4b(0x1d5));this[_0x471b4b(0x1c2)][_0x471b4b(0x1f6)]&&(this[_0x471b4b(0x1d7)](),this[_0x471b4b(0x216)]['on'](_0x471b4b(0x213),()=>{const _0x1280b7=_0x471b4b;_0x1267f0[_0x1280b7(0x1e7)][_0x1280b7(0x1ef)]||this[_0x1280b7(0x1ca)]();}),this[_0x471b4b(0x1c6)](_0x1267f0,_0x471b4b(0x217),()=>{const _0x986d0e=_0x471b4b;this[_0x986d0e(0x20b)]();}));}[_0x5bfce5(0x1d7)](){const _0x3715cb=_0x5bfce5,_0x1ff3aa=Object[_0x3715cb(0x1df)](AIChatShortcutType);this[_0x3715cb(0x1c2)][_0x3715cb(0x1c9)](_0x4916e4=>{const _0x338e63=_0x3715cb;let _0x253e66=!0x0;if(_0x4916e4['id']&&_0x4916e4[_0x338e63(0x1f7)]&&_0x1ff3aa[_0x338e63(0x1fc)](_0x4916e4[_0x338e63(0x1f4)])?_0x338e63(0x1ea)===_0x4916e4[_0x338e63(0x1f4)]&&(_0x253e66=_0x338e63(0x1d3)==typeof _0x4916e4[_0x338e63(0x1d8)]):_0x253e66=!0x1,!_0x253e66)throw new _0x1953b2(_0x338e63(0x1e9),this[_0x338e63(0x1d9)],{'shortcut':_0x4916e4});});}[_0x5bfce5(0x1ca)](){const _0x57e2b0=_0x5bfce5,_0x2b9ef3=this[_0x57e2b0(0x1d9)][_0x57e2b0(0x1e5)][_0x57e2b0(0x214)](_0x449732);this[_0x57e2b0(0x20c)]=new _0xfa265d(this[_0x57e2b0(0x1d9)][_0x57e2b0(0x1f9)],this[_0x57e2b0(0x1c2)]),this[_0x57e2b0(0x20c)][_0x57e2b0(0x219)](),_0x2b9ef3[_0x57e2b0(0x1bd)](this[_0x57e2b0(0x20c)][_0x57e2b0(0x1e6)],Ut),this[_0x57e2b0(0x20c)]['on'](_0x57e2b0(0x1f1),_0x1477d7=>{const _0x125895=_0x57e2b0,_0x5a958d=_0x1477d7[_0x125895(0x1bf)]['id'];this[_0x125895(0x205)](_0x5a958d);});}[_0x5bfce5(0x20b)](){const _0x286512=_0x5bfce5,_0x2b5ae0=this[_0x286512(0x1d9)][_0x286512(0x1e5)][_0x286512(0x214)](_0x449732);_0x2b5ae0[_0x286512(0x203)](Ut)&&_0x2b5ae0[_0x286512(0x1fd)](Ut),this[_0x286512(0x20c)]?.[_0x286512(0x1e2)]();}[_0x5bfce5(0x205)](_0x54410d){const _0x526905=_0x5bfce5,_0x4dd442=this[_0x526905(0x1c2)][_0x526905(0x1db)](_0x549c92=>_0x549c92['id']===_0x54410d),_0xfc4b0a=_0x4dd442[_0x526905(0x1f4)];_0x526905(0x1ea)===_0xfc4b0a?this[_0x526905(0x1c1)](_0x4dd442):_0x526905(0x1eb)===_0xfc4b0a?_0x4dd442[_0x526905(0x212)]?this[_0x526905(0x1c4)](_0x4dd442):this[_0x526905(0x1e0)](_0x526905(0x209)):_0x526905(0x1f2)===_0xfc4b0a&&(_0x4dd442[_0x526905(0x1f8)]?this[_0x526905(0x1d2)](_0x4dd442):this[_0x526905(0x1e0)](_0x526905(0x1f2)));}[_0x5bfce5(0x1e0)](_0x58145c){const _0x1b2d93=_0x5bfce5;if(!this[_0x1b2d93(0x1d9)][_0x1b2d93(0x1e5)][_0x1b2d93(0x1fe)](_0x1b2d93(0x1d4)))throw new _0x1953b2(_0x1b2d93(0x1cf),this[_0x1b2d93(0x1d9)],{'tabName':_0x58145c});this[_0x1b2d93(0x1d9)][_0x1b2d93(0x1e5)][_0x1b2d93(0x214)](_0x1b2d93(0x1d4))[_0x1b2d93(0x1ed)][_0x1b2d93(0x1c5)](_0x58145c);}async[_0x5bfce5(0x1c1)]({prompt:_0x5c8ec3,draftMode:_0x802a68,useWebSearch:_0x1e4316=!0x1,useReasoning:_0x1d8c8a=!0x1,model:_0x591131}){const _0x2197f1=_0x5bfce5,_0x453997=this[_0x2197f1(0x1d9)][_0x2197f1(0x1e5)][_0x2197f1(0x214)](_0x2197f1(0x20d)),_0x1751a2=this[_0x2197f1(0x1d9)][_0x2197f1(0x1e5)][_0x2197f1(0x214)](_0x2197f1(0x1d5)),_0x36f94f=_0x1751a2[_0x2197f1(0x1e7)];let _0x12b3d7;_0x12b3d7=_0x591131?await _0x36f94f[_0x2197f1(0x1ff)][_0x2197f1(0x200)](_0x591131):await _0x36f94f[_0x2197f1(0x1ff)][_0x2197f1(0x211)](),_0x12b3d7&&await _0x36f94f[_0x2197f1(0x1c7)](_0x12b3d7),_0x36f94f[_0x2197f1(0x1da)](_0x1e4316),_0x36f94f[_0x2197f1(0x210)](_0x1d8c8a),_0x1751a2[_0x2197f1(0x208)](),_0x802a68?(this[_0x2197f1(0x216)][_0x2197f1(0x1f3)](_0x5c8ec3),this[_0x2197f1(0x216)][_0x2197f1(0x201)](!0x0)):_0x453997[_0x2197f1(0x1e4)]({'message':_0x5c8ec3});}[_0x5bfce5(0x1c4)]({check:_0x1af01f,model:_0x39fc61,prompt:_0x19b82c,params:_0x322911}){const _0x59f9ce=_0x5bfce5;if(!this[_0x59f9ce(0x1d9)][_0x59f9ce(0x1e5)][_0x59f9ce(0x1fe)](_0x59f9ce(0x20a)))throw new _0x1953b2(_0x59f9ce(0x1be),this[_0x59f9ce(0x1d9)]);this[_0x59f9ce(0x1e0)](_0x59f9ce(0x209));const _0x60fbea={'id':_0x1af01f,'isCustom':_0x59f9ce(0x1e8)===_0x1af01f};_0x39fc61&&_0x19b82c&&(_0x60fbea[_0x59f9ce(0x204)]={'model':_0x39fc61,'prompt':_0x19b82c}),_0x322911&&(_0x60fbea[_0x59f9ce(0x1ec)]=_0x322911),this[_0x59f9ce(0x1d9)][_0x59f9ce(0x1e5)][_0x59f9ce(0x214)](_0x59f9ce(0x20a))[_0x59f9ce(0x1cb)](_0x59f9ce(0x1f0),_0x60fbea);}[_0x5bfce5(0x1d2)]({language:_0x3da61c}){const _0x22e41e=_0x5bfce5;if(!this[_0x22e41e(0x1d9)][_0x22e41e(0x1e5)][_0x22e41e(0x1fe)](_0x22e41e(0x206)))throw new _0x1953b2(_0x22e41e(0x1fa),this[_0x22e41e(0x1d9)]);this[_0x22e41e(0x1e0)](_0x22e41e(0x1f2)),this[_0x22e41e(0x1d9)][_0x22e41e(0x1e5)][_0x22e41e(0x214)](_0x22e41e(0x206))[_0x22e41e(0x1cb)](_0x22e41e(0x1f0),{'id':_0x3da61c,'args':{'language':_0x3da61c}});}}
23
+ const _0x4bd6e4=_0x1261;(function(_0x54924d,_0x240db8){const _0x41a5db=_0x1261,_0x35ff11=_0x54924d();while(!![]){try{const _0x53304b=parseInt(_0x41a5db(0xd4))/0x1*(-parseInt(_0x41a5db(0xfd))/0x2)+-parseInt(_0x41a5db(0x122))/0x3*(-parseInt(_0x41a5db(0xcd))/0x4)+-parseInt(_0x41a5db(0xe1))/0x5*(-parseInt(_0x41a5db(0x10d))/0x6)+parseInt(_0x41a5db(0xe3))/0x7+-parseInt(_0x41a5db(0x11d))/0x8+parseInt(_0x41a5db(0xfe))/0x9*(-parseInt(_0x41a5db(0x107))/0xa)+parseInt(_0x41a5db(0x10f))/0xb;if(_0x53304b===_0x240db8)break;else _0x35ff11['push'](_0x35ff11['shift']());}catch(_0x572db8){_0x35ff11['push'](_0x35ff11['shift']());}}}(_0x55c4,0x92367));function _0x1261(_0xe7c2e3,_0x513592){const _0x55c4c3=_0x55c4();return _0x1261=function(_0x1261c8,_0x59c0cb){_0x1261c8=_0x1261c8-0xc9;let _0x5887bc=_0x55c4c3[_0x1261c8];return _0x5887bc;},_0x1261(_0xe7c2e3,_0x513592);}import{AIChatUI as _0x435edb}from'../aichat/aichatui.js';import{ContextPlugin as _0x20a04c}from'ckeditor5/src/core.js';import{AIChatShortcutsView as _0x37a152}from'./ui/aichatshortcutsview.js';import{CKEditorError as _0x418086}from'ckeditor5/src/utils.js';import'../../theme/aichatshortcuts/aichatshortcuts.css';const kt=_0x4bd6e4(0xe4);function _0x55c4(){const _0x481aff=['146ELCLbc','1563057EnLXTz','isOfficialPlugin','REVIEW','activateTab','setModel','_switchTab','length','setPromptInputValue','fire','10zUFKVZ','isPremiumPlugin','removeFeedItem','language','AIReviewModeUI','destroy','1417326Txjcaw','CHAT','1102233BRxIZt','translate','TRANSLATE','locale','view','includes','getDefault','context','addFeedItemCustomElement','_runTranslateShortcut','sendMessage','config','isFromHistory','ai-chat-shortcuts-invalid-config','5177536dliykb','ai.chat.shortcuts','init','source','addCurrentDocumentToChatContext','5286PDgvFJ','_injectShortcuts','chatModels','_executeShortcut','execute','_shortcutsView','listenTo','AITranslateUI','148HIKmqt','has','review','ai-chat-shortcuts-translate-not-found','focusPromptInput','hasFeedItem','AIChatController','1182aWCIqk','setReasoning','render','requires','string','plugins','args','getModel','chat','params','AIChatShortcuts','_aiChatUI','_validateShortcuts','25NaWkGp','check','1116752vUZjTg','chat-shortcuts','activeConversation','type','prompt','conversationCreated','ai-chat-shortcuts-review-mode-not-found','setWebSearch','_removeShortcuts','values','_runReviewShortcut','_runChatShortcut','_shortcuts','forEach','custom','find','interactionStarted','ai-chat-shortcuts-ai-tabs-not-found','element','runReviewCheck','AIChat','reviewMode','pluginName','label','get','AITabs'];_0x55c4=function(){return _0x481aff;};return _0x55c4();}export var AIChatShortcutType;!function(_0xda914){const _0x4817d8=_0x4bd6e4;_0xda914[_0x4817d8(0x10e)]=_0x4817d8(0xdc),_0xda914[_0x4817d8(0x100)]=_0x4817d8(0xcf),_0xda914[_0x4817d8(0x111)]=_0x4817d8(0x110);}(AIChatShortcutType||(AIChatShortcutType={}));export class AIChatShortcuts extends _0x20a04c{[_0x4bd6e4(0xef)];[_0x4bd6e4(0xca)];[_0x4bd6e4(0xdf)];static get[_0x4bd6e4(0xd7)](){return[_0x435edb];}static get[_0x4bd6e4(0xf9)](){const _0x3cefaf=_0x4bd6e4;return _0x3cefaf(0xde);}static get[_0x4bd6e4(0xff)](){return!0x0;}static get[_0x4bd6e4(0x108)](){return!0x0;}[_0x4bd6e4(0x11f)](){const _0x5d3e90=_0x4bd6e4;this[_0x5d3e90(0xdf)]=this[_0x5d3e90(0x116)][_0x5d3e90(0xd9)][_0x5d3e90(0xfb)](_0x435edb),this[_0x5d3e90(0xef)]=this[_0x5d3e90(0x116)][_0x5d3e90(0x11a)][_0x5d3e90(0xfb)](_0x5d3e90(0x11e))??[];const _0x49e0dc=this[_0x5d3e90(0x116)][_0x5d3e90(0xd9)][_0x5d3e90(0xfb)](_0x5d3e90(0xd3));this[_0x5d3e90(0xef)][_0x5d3e90(0x104)]&&(this[_0x5d3e90(0xe0)](),this[_0x5d3e90(0xdf)]['on'](_0x5d3e90(0xe8),()=>{const _0x28b3c0=_0x5d3e90;_0x49e0dc[_0x28b3c0(0xe5)][_0x28b3c0(0x11b)]||this[_0x28b3c0(0x123)]();}),this[_0x5d3e90(0xcb)](_0x49e0dc,_0x5d3e90(0xf3),()=>{const _0x37fbc8=_0x5d3e90;this[_0x37fbc8(0xeb)]();}));}[_0x4bd6e4(0xe0)](){const _0x1ed093=_0x4bd6e4,_0x5e76e9=Object[_0x1ed093(0xec)](AIChatShortcutType);this[_0x1ed093(0xef)][_0x1ed093(0xf0)](_0x18b16b=>{const _0x38e6dd=_0x1ed093;let _0x4ff219=!0x0;if(_0x18b16b['id']&&_0x18b16b[_0x38e6dd(0xfa)]&&_0x5e76e9[_0x38e6dd(0x114)](_0x18b16b[_0x38e6dd(0xe6)])?_0x38e6dd(0xdc)===_0x18b16b[_0x38e6dd(0xe6)]&&(_0x4ff219=_0x38e6dd(0xd8)==typeof _0x18b16b[_0x38e6dd(0xe7)]):_0x4ff219=!0x1,!_0x4ff219)throw new _0x418086(_0x38e6dd(0x11c),this[_0x38e6dd(0x116)],{'shortcut':_0x18b16b});});}[_0x4bd6e4(0x123)](){const _0x32ec11=_0x4bd6e4,_0xc3093c=this[_0x32ec11(0x116)][_0x32ec11(0xd9)][_0x32ec11(0xfb)](_0x435edb);this[_0x32ec11(0xca)]=new _0x37a152(this[_0x32ec11(0x116)][_0x32ec11(0x112)],this[_0x32ec11(0xef)]),this[_0x32ec11(0xca)][_0x32ec11(0xd6)](),_0xc3093c[_0x32ec11(0x117)](this[_0x32ec11(0xca)][_0x32ec11(0xf5)],kt),this[_0x32ec11(0xca)]['on'](_0x32ec11(0xc9),_0x1d6a7e=>{const _0x3f7337=_0x32ec11,_0xb3350f=_0x1d6a7e[_0x3f7337(0x120)]['id'];this[_0x3f7337(0x125)](_0xb3350f);});}[_0x4bd6e4(0xeb)](){const _0x281ab9=_0x4bd6e4,_0xbc8b79=this[_0x281ab9(0x116)][_0x281ab9(0xd9)][_0x281ab9(0xfb)](_0x435edb);_0xbc8b79[_0x281ab9(0xd2)](kt)&&_0xbc8b79[_0x281ab9(0x109)](kt),this[_0x281ab9(0xca)]?.[_0x281ab9(0x10c)]();}[_0x4bd6e4(0x125)](_0x5513c8){const _0x3035f5=_0x4bd6e4,_0x32bfc5=this[_0x3035f5(0xef)][_0x3035f5(0xf2)](_0x48d8a6=>_0x48d8a6['id']===_0x5513c8),_0xfc329d=_0x32bfc5[_0x3035f5(0xe6)];_0x3035f5(0xdc)===_0xfc329d?this[_0x3035f5(0xee)](_0x32bfc5):_0x3035f5(0xcf)===_0xfc329d?_0x32bfc5[_0x3035f5(0xe2)]?this[_0x3035f5(0xed)](_0x32bfc5):this[_0x3035f5(0x103)](_0x3035f5(0xf8)):_0x3035f5(0x110)===_0xfc329d&&(_0x32bfc5[_0x3035f5(0x10a)]?this[_0x3035f5(0x118)](_0x32bfc5):this[_0x3035f5(0x103)](_0x3035f5(0x110)));}[_0x4bd6e4(0x103)](_0x3200a3){const _0xc818b7=_0x4bd6e4;if(!this[_0xc818b7(0x116)][_0xc818b7(0xd9)][_0xc818b7(0xce)](_0xc818b7(0xfc)))throw new _0x418086(_0xc818b7(0xf4),this[_0xc818b7(0x116)],{'tabName':_0x3200a3});this[_0xc818b7(0x116)][_0xc818b7(0xd9)][_0xc818b7(0xfb)](_0xc818b7(0xfc))[_0xc818b7(0x113)][_0xc818b7(0x101)](_0x3200a3);}async[_0x4bd6e4(0xee)]({prompt:_0x315131,draftMode:_0x4b6f3f,useWebSearch:_0x3f3487=!0x1,useReasoning:_0x168a46=!0x1,model:_0x21b13c}){const _0x53d69d=_0x4bd6e4,_0x5729a3=this[_0x53d69d(0x116)][_0x53d69d(0xd9)][_0x53d69d(0xfb)](_0x53d69d(0xf7)),_0x5f4b13=this[_0x53d69d(0x116)][_0x53d69d(0xd9)][_0x53d69d(0xfb)](_0x53d69d(0xd3)),_0x5e601d=_0x5f4b13[_0x53d69d(0xe5)];let _0x4e4a4b;_0x4e4a4b=_0x21b13c?await _0x5e601d[_0x53d69d(0x124)][_0x53d69d(0xdb)](_0x21b13c):await _0x5e601d[_0x53d69d(0x124)][_0x53d69d(0x115)](),_0x4e4a4b&&await _0x5e601d[_0x53d69d(0x102)](_0x4e4a4b),_0x5e601d[_0x53d69d(0xea)](_0x3f3487),_0x5e601d[_0x53d69d(0xd5)](_0x168a46),_0x5f4b13[_0x53d69d(0x121)](),_0x4b6f3f?(this[_0x53d69d(0xdf)][_0x53d69d(0x105)](_0x315131),this[_0x53d69d(0xdf)][_0x53d69d(0xd1)](!0x0)):_0x5729a3[_0x53d69d(0x119)]({'message':_0x315131});}[_0x4bd6e4(0xed)]({check:_0x1b07c9,model:_0x4a5569,prompt:_0x421ae7,params:_0x2dbd7f}){const _0x5121b8=_0x4bd6e4;if(!this[_0x5121b8(0x116)][_0x5121b8(0xd9)][_0x5121b8(0xce)](_0x5121b8(0x10b)))throw new _0x418086(_0x5121b8(0xe9),this[_0x5121b8(0x116)]);this[_0x5121b8(0x103)](_0x5121b8(0xf8));const _0x42d279={'id':_0x1b07c9,'isCustom':_0x5121b8(0xf1)===_0x1b07c9};_0x4a5569&&_0x421ae7&&(_0x42d279[_0x5121b8(0xda)]={'model':_0x4a5569,'prompt':_0x421ae7}),_0x2dbd7f&&(_0x42d279[_0x5121b8(0xdd)]=_0x2dbd7f),this[_0x5121b8(0x116)][_0x5121b8(0xd9)][_0x5121b8(0xfb)](_0x5121b8(0x10b))[_0x5121b8(0x106)](_0x5121b8(0xf6),_0x42d279);}[_0x4bd6e4(0x118)]({language:_0x1f3f6a}){const _0x437d39=_0x4bd6e4;if(!this[_0x437d39(0x116)][_0x437d39(0xd9)][_0x437d39(0xce)](_0x437d39(0xcc)))throw new _0x418086(_0x437d39(0xd0),this[_0x437d39(0x116)]);this[_0x437d39(0x103)](_0x437d39(0x110)),this[_0x437d39(0x116)][_0x437d39(0xd9)][_0x437d39(0xfb)](_0x437d39(0xcc))[_0x437d39(0x106)](_0x437d39(0xf6),{'id':_0x1f3f6a,'args':{'language':_0x1f3f6a}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52f04d=_0x2d69;(function(_0x2b7ba4,_0x8704ea){const _0x1233b4=_0x2d69,_0x37d361=_0x2b7ba4();while(!![]){try{const _0x37ceca=parseInt(_0x1233b4(0x138))/0x1+-parseInt(_0x1233b4(0x143))/0x2+-parseInt(_0x1233b4(0x148))/0x3*(parseInt(_0x1233b4(0x14b))/0x4)+-parseInt(_0x1233b4(0x139))/0x5+parseInt(_0x1233b4(0x13b))/0x6+parseInt(_0x1233b4(0x146))/0x7+parseInt(_0x1233b4(0x14a))/0x8;if(_0x37ceca===_0x8704ea)break;else _0x37d361['push'](_0x37d361['shift']());}catch(_0x13fd59){_0x37d361['push'](_0x37d361['shift']());}}}(_0x2c2f,0x42fa5));import{ListItemView as _0x365972,ListView as _0x224000,View as _0xbc70e1}from'ckeditor5/src/ui.js';function _0x2d69(_0x50b948,_0x1502a3){const _0x2c2fa0=_0x2c2f();return _0x2d69=function(_0x2d695d,_0x406e14){_0x2d695d=_0x2d695d-0x138;let _0x531ad3=_0x2c2fa0[_0x2d695d];return _0x531ad3;},_0x2d69(_0x50b948,_0x1502a3);}import{AIChatShortcutView as _0x280ae4}from'./aichatshortcutview.js';function _0x2c2f(){const _0xe229df=['div','items','ck-ai-chat-shortcuts','listView','setTemplate','addMany','801062clLzrV','children','map','1892058IDnxlE','locale','9BYnDWZ','execute','2300480LGrIyN','245524PzPAhg','56368iRdhAR','828850NPWqTv','delegate','2463378hKpEux','add'];_0x2c2f=function(){return _0xe229df;};return _0x2c2f();}export class AIChatShortcutsView extends _0xbc70e1{[_0x52f04d(0x140)];constructor(_0x3841d6,_0x241057){const _0x17798d=_0x52f04d;super(_0x3841d6);const _0x2d7a39=_0x241057[_0x17798d(0x145)](_0x28eef9=>{const _0x4b7a22=_0x17798d,_0x32d50f=new _0x365972(this[_0x4b7a22(0x147)]),_0x4c1a1f=new _0x280ae4(this[_0x4b7a22(0x147)],_0x28eef9);return _0x32d50f[_0x4b7a22(0x144)][_0x4b7a22(0x13c)](_0x4c1a1f),_0x4c1a1f[_0x4b7a22(0x13a)](_0x4b7a22(0x149))['to'](this),_0x32d50f;});this[_0x17798d(0x140)]=new _0x224000(this[_0x17798d(0x147)]),this[_0x17798d(0x140)][_0x17798d(0x13e)][_0x17798d(0x142)](_0x2d7a39),this[_0x17798d(0x141)]({'tag':_0x17798d(0x13d),'attributes':{'class':['ck',_0x17798d(0x13f)]},'children':[this[_0x17798d(0x140)]]});}}
23
+ const _0x2f96d5=_0x37e3;(function(_0x2da1fd,_0x59fed8){const _0x28b0b7=_0x37e3,_0x1d1bcd=_0x2da1fd();while(!![]){try{const _0x2346ec=parseInt(_0x28b0b7(0x1a5))/0x1+parseInt(_0x28b0b7(0x1a4))/0x2*(-parseInt(_0x28b0b7(0x1a0))/0x3)+parseInt(_0x28b0b7(0x19b))/0x4+-parseInt(_0x28b0b7(0x195))/0x5*(-parseInt(_0x28b0b7(0x18f))/0x6)+-parseInt(_0x28b0b7(0x196))/0x7+parseInt(_0x28b0b7(0x19f))/0x8*(-parseInt(_0x28b0b7(0x192))/0x9)+parseInt(_0x28b0b7(0x19e))/0xa*(parseInt(_0x28b0b7(0x193))/0xb);if(_0x2346ec===_0x59fed8)break;else _0x1d1bcd['push'](_0x1d1bcd['shift']());}catch(_0x51043d){_0x1d1bcd['push'](_0x1d1bcd['shift']());}}}(_0x3d42,0x94241));import{ListItemView as _0x44e36a,ListView as _0x9900b,View as _0x4fae45}from'ckeditor5/src/ui.js';import{AIChatShortcutView as _0x10f41a}from'./aichatshortcutview.js';function _0x37e3(_0x54e4a3,_0x4e42cb){const _0x3d4208=_0x3d42();return _0x37e3=function(_0x37e30e,_0x4999f3){_0x37e30e=_0x37e30e-0x18f;let _0x4cdd4c=_0x3d4208[_0x37e30e];return _0x4cdd4c;},_0x37e3(_0x54e4a3,_0x4e42cb);}export class AIChatShortcutsView extends _0x4fae45{[_0x2f96d5(0x194)];constructor(_0x9d622f,_0x2cb909){const _0x556586=_0x2f96d5;super(_0x9d622f);const _0x11fe0c=_0x2cb909[_0x556586(0x190)](_0x403a19=>{const _0x1161f9=_0x556586,_0xd372bc=new _0x44e36a(this[_0x1161f9(0x197)]),_0x5aaa49=new _0x10f41a(this[_0x1161f9(0x197)],_0x403a19);return _0xd372bc[_0x1161f9(0x198)][_0x1161f9(0x1a3)](_0x5aaa49),_0x5aaa49[_0x1161f9(0x19a)](_0x1161f9(0x19c))['to'](this),_0xd372bc;});this[_0x556586(0x194)]=new _0x9900b(this[_0x556586(0x197)]),this[_0x556586(0x194)][_0x556586(0x19d)][_0x556586(0x1a1)](_0x11fe0c),this[_0x556586(0x199)]({'tag':_0x556586(0x191),'attributes':{'class':['ck',_0x556586(0x1a2)]},'children':[this[_0x556586(0x194)]]});}}function _0x3d42(){const _0x24d1f9=['listView','11810hePMPs','8107925gUkOBR','locale','children','setTemplate','delegate','1290840MdvauU','execute','items','50tEUsNB','40nHvirC','1219161VJeQFX','addMany','ck-ai-chat-shortcuts','add','4yZmXmY','1203296rZWSdy','2784MSyffa','map','div','81738CKGIzA','2794DHuygJ'];_0x3d42=function(){return _0x24d1f9;};return _0x3d42();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x14a51c,_0x1d5926){const _0x3bddcd=_0x27db,_0x279e83=_0x14a51c();while(!![]){try{const _0x1b6193=parseInt(_0x3bddcd(0xe2))/0x1+-parseInt(_0x3bddcd(0xe3))/0x2*(parseInt(_0x3bddcd(0xdd))/0x3)+parseInt(_0x3bddcd(0xe1))/0x4*(-parseInt(_0x3bddcd(0xe7))/0x5)+-parseInt(_0x3bddcd(0xd8))/0x6*(parseInt(_0x3bddcd(0xde))/0x7)+-parseInt(_0x3bddcd(0xe0))/0x8+parseInt(_0x3bddcd(0xdc))/0x9*(parseInt(_0x3bddcd(0xdf))/0xa)+parseInt(_0x3bddcd(0xd7))/0xb*(parseInt(_0x3bddcd(0xe8))/0xc);if(_0x1b6193===_0x1d5926)break;else _0x279e83['push'](_0x279e83['shift']());}catch(_0x24fd07){_0x279e83['push'](_0x279e83['shift']());}}}(_0xc641,0x58914));import{ButtonView as _0x244719}from'ckeditor5/src/ui.js';function _0x27db(_0x3f0646,_0x3a1d9d){const _0xc641f1=_0xc641();return _0x27db=function(_0x27dba5,_0xe80481){_0x27dba5=_0x27dba5-0xd5;let _0xc2ee66=_0xc641f1[_0x27dba5];return _0xc2ee66;},_0x27db(_0x3f0646,_0x3a1d9d);}import{IconAIChat as _0x48fb2c,IconAIReview as _0x1b9253,IconAITranslate as _0x2f350c}from'@ckeditor/ckeditor5-icons';export class AIChatShortcutView extends _0x244719{['id'];constructor(_0x1289ce,_0x68ada0){const _0x5121a7=_0x27db;super(_0x1289ce);const {id:_0x8fc6ac,type:_0x52ec4a,icon:_0x32fa1d}=_0x68ada0;this['id']=_0x8fc6ac,this[_0x5121a7(0xd5)]({'label':_0x68ada0[_0x5121a7(0xdb)],'withText':!0x0,'class':_0x5121a7(0xd9)}),this[_0x5121a7(0xda)]({'attributes':{'data-cke-ai-shortcut-id':_0x68ada0['id']}}),_0x32fa1d?this[_0x5121a7(0xe4)]=_0x32fa1d:_0x5121a7(0xd6)===_0x52ec4a?this[_0x5121a7(0xe4)]=_0x48fb2c:_0x5121a7(0xe5)===_0x52ec4a?this[_0x5121a7(0xe4)]=_0x1b9253:_0x5121a7(0xe6)===_0x52ec4a&&(this[_0x5121a7(0xe4)]=_0x2f350c);}}function _0xc641(){const _0x4e47c7=['translate','5bjMlqa','7190916xEFXXs','set','chat','11EHkHko','2388irOmrm','ck-ai-chat-shortcut','extendTemplate','label','9HkTtaI','3khZmmp','8302KmIucK','6366070fmUbKm','3926512bHJGru','633948LkdiRy','385676SOqurv','274850iIukby','icon','review'];_0xc641=function(){return _0x4e47c7;};return _0xc641();}
23
+ (function(_0x3539d9,_0x4570c6){const _0x59d329=_0x25f3,_0x2b33c5=_0x3539d9();while(!![]){try{const _0x3f589d=parseInt(_0x59d329(0x106))/0x1*(parseInt(_0x59d329(0x10c))/0x2)+parseInt(_0x59d329(0x10b))/0x3*(parseInt(_0x59d329(0x103))/0x4)+parseInt(_0x59d329(0x102))/0x5+-parseInt(_0x59d329(0x109))/0x6+-parseInt(_0x59d329(0x113))/0x7*(-parseInt(_0x59d329(0x10e))/0x8)+parseInt(_0x59d329(0x104))/0x9+-parseInt(_0x59d329(0x110))/0xa;if(_0x3f589d===_0x4570c6)break;else _0x2b33c5['push'](_0x2b33c5['shift']());}catch(_0x31242e){_0x2b33c5['push'](_0x2b33c5['shift']());}}}(_0x4432,0xea1aa));function _0x4432(){const _0x4cf03c=['1541380belUtZ','11997558mBYqXw','extendTemplate','545tRPQpn','label','set','10493256EzDBVP','icon','12YyKbDj','5768lPcQgF','chat','352exHSMe','translate','40729350tcLCdK','review','ck-ai-chat-shortcut','179396zfIUrU','6034235sjoVeA'];_0x4432=function(){return _0x4cf03c;};return _0x4432();}function _0x25f3(_0x4b0470,_0x4e0e1c){const _0x4432f6=_0x4432();return _0x25f3=function(_0x25f36e,_0x3d3fa2){_0x25f36e=_0x25f36e-0x102;let _0x3752ad=_0x4432f6[_0x25f36e];return _0x3752ad;},_0x25f3(_0x4b0470,_0x4e0e1c);}import{ButtonView as _0x3f7aa0}from'ckeditor5/src/ui.js';import{IconAIChat as _0x347b88,IconAIReview as _0x222831,IconAITranslate as _0x3fb639}from'@ckeditor/ckeditor5-icons';export class AIChatShortcutView extends _0x3f7aa0{['id'];constructor(_0x401b61,_0x58db34){const _0x5e3385=_0x25f3;super(_0x401b61);const {id:_0x1a9a20,type:_0x18e781,icon:_0x4c246f}=_0x58db34;this['id']=_0x1a9a20,this[_0x5e3385(0x108)]({'label':_0x58db34[_0x5e3385(0x107)],'withText':!0x0,'class':_0x5e3385(0x112)}),this[_0x5e3385(0x105)]({'attributes':{'data-cke-ai-shortcut-id':_0x58db34['id']}}),_0x4c246f?this[_0x5e3385(0x10a)]=_0x4c246f:_0x5e3385(0x10d)===_0x18e781?this[_0x5e3385(0x10a)]=_0x347b88:_0x5e3385(0x111)===_0x18e781?this[_0x5e3385(0x10a)]=_0x222831:_0x5e3385(0x10f)===_0x18e781&&(this[_0x5e3385(0x10a)]=_0x3fb639);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x292b(){const _0x440485=['TRANSLATE','598YLsxoj','100','3510mOIKeA','deleteFile','translate','make-shorter','920028evYnsK','read','context','/models/1?','order','deleteDocument','isOfficialPlugin','uploadDocument','make-tone-formal','upsertCustomAIReviewRating','/reviews/custom/calls/','75449FMeKoD','define','deleteWebResource','30ZwJmXa','ai.serviceUrl','fetchConversationMessages','CloudServices','AIConnector','get','MAKE_LONGER','executeCustomAction','stringify','improve-writing','language','group','init','signal','MAKE_TONE_CASUAL','/actions/system/','20LYHNoN','_sendApiRequest','status','/calls','_decoder','Content-Type','getReader','callSystemReview','fix-grammar','/web-resources/','deleteConversation','1079qILJTu','statusText','make-tone-casual','fetchConversations','sortBy','plugins','application/json','feed','abortController','POST','AbortError','/conversations','body','/actions/custom/calls/','true','Bearer\x20','/messages/','_getStreamReader','isPremiumPlugin','FIX_GRAMMAR','reset','/documents/','decode','/web-resources','continue','token','getModels','upsertAIActionRating','pluginName','/ratings','limit','startConversation','DELETE','traceId','_handleError','config','text','requires','1040oKEJeN','releaseLock','_apiUrl','145012slcCuO','executeAction','/conversations?','/reviews/system/','PATCH','items','/calls/','positiveCount','false','GET','message','/documents','upsertAIChatRating','name','excludeEmpty','value','MAKE_TONE_FORMAL','IMPROVE_WRITING','ai-request-aborted','fetchDocument','catch','937116smXKOl','ai-request-failed','_token','updateConversation','then','callCustomReview','6161197IsYNkh','996JmEVLe','createdAt','data','fetchConversation','code','append','/files/','upsertAIReviewRating','8tpsLbz','json','queryAssistant','/messages','upsertCustomAIActionRating','push','9BLUJaH','modificationId','length','totalCount','parse','attributes','CONTINUE','ai-missing-token','/actions/custom/calls','file','https://ai.cke-cs.com/v1','request','/reviews/custom/calls','/files','uploadUrl','toString','make-longer','PUT','MAKE_SHORTER','uploadFile','/conversations/','desc'];_0x292b=function(){return _0x440485;};return _0x292b();}const _0xd681c3=_0x4c55;(function(_0x14b57c,_0x24b406){const _0x3560fd=_0x4c55,_0x1dc981=_0x14b57c();while(!![]){try{const _0x5b16fe=parseInt(_0x3560fd(0x18a))/0x1*(-parseInt(_0x3560fd(0x1df))/0x2)+parseInt(_0x3560fd(0x20c))/0x3*(parseInt(_0x3560fd(0x190))/0x4)+-parseInt(_0x3560fd(0x1ae))/0x5*(-parseInt(_0x3560fd(0x1f7))/0x6)+parseInt(_0x3560fd(0x1fd))/0x7*(parseInt(_0x3560fd(0x206))/0x8)+parseInt(_0x3560fd(0x18c))/0x9*(parseInt(_0x3560fd(0x19e))/0xa)+-parseInt(_0x3560fd(0x19b))/0xb*(parseInt(_0x3560fd(0x1fe))/0xc)+-parseInt(_0x3560fd(0x1b9))/0xd*(parseInt(_0x3560fd(0x1e2))/0xe);if(_0x5b16fe===_0x24b406)break;else _0x1dc981['push'](_0x1dc981['shift']());}catch(_0x4c78d7){_0x1dc981['push'](_0x1dc981['shift']());}}}(_0x292b,0x6f5c7));import{createParser as _0x4de6fe}from'eventsource-parser';function _0x4c55(_0x3cc971,_0x58128b){const _0x292b4c=_0x292b();return _0x4c55=function(_0x4c5536,_0x161c61){_0x4c5536=_0x4c5536-0x177;let _0x54e223=_0x292b4c[_0x4c5536];return _0x54e223;},_0x4c55(_0x3cc971,_0x58128b);}import{ContextPlugin as _0x5632a7}from'ckeditor5/src/core.js';import{CKEditorError as _0x3cbcb0}from'ckeditor5/src/utils.js';export var AIActionsNames;!function(_0x4689cc){const _0x223452=_0x4c55;_0x4689cc[_0x223452(0x179)]=_0x223452(0x1d1),_0x4689cc[_0x223452(0x1cc)]=_0x223452(0x1b6),_0x4689cc[_0x223452(0x1f3)]=_0x223452(0x1a7),_0x4689cc[_0x223452(0x1a4)]=_0x223452(0x183),_0x4689cc[_0x223452(0x185)]=_0x223452(0x18f),_0x4689cc[_0x223452(0x1ac)]=_0x223452(0x1bb),_0x4689cc[_0x223452(0x1f2)]=_0x223452(0x198),_0x4689cc[_0x223452(0x189)]=_0x223452(0x18e);}(AIActionsNames||(AIActionsNames={}));export class AIConnector extends _0x5632a7{[_0xd681c3(0x1e1)];[_0xd681c3(0x1f9)];[_0xd681c3(0x1b2)];static get[_0xd681c3(0x1de)](){const _0x8d21ad=_0xd681c3;return[_0x8d21ad(0x1a1)];}static get[_0xd681c3(0x1d5)](){const _0x52a864=_0xd681c3;return _0x52a864(0x1a2);}static get[_0xd681c3(0x196)](){return!0x0;}static get[_0xd681c3(0x1cb)](){return!0x0;}constructor(_0x5b53c2){const _0x3e7cb6=_0xd681c3;super(_0x5b53c2),this[_0x3e7cb6(0x192)][_0x3e7cb6(0x1dc)][_0x3e7cb6(0x19c)](_0x3e7cb6(0x19f),_0x3e7cb6(0x17d)),this[_0x3e7cb6(0x1e1)]=this[_0x3e7cb6(0x192)][_0x3e7cb6(0x1dc)][_0x3e7cb6(0x1a3)](_0x3e7cb6(0x19f)),this[_0x3e7cb6(0x1f9)]=null,this[_0x3e7cb6(0x1b2)]=new TextDecoder();}[_0xd681c3(0x1aa)](){const _0x46a7c7=_0xd681c3,_0x4abca8=this[_0x46a7c7(0x192)][_0x46a7c7(0x1be)][_0x46a7c7(0x1a3)](_0x46a7c7(0x1a1));if(!_0x4abca8[_0x46a7c7(0x1d2)])throw new _0x3cbcb0(_0x46a7c7(0x17a),this);this[_0x46a7c7(0x1f9)]=_0x4abca8[_0x46a7c7(0x1d2)];}[_0xd681c3(0x1d8)](_0x280281,_0x5a2ba0){const _0xec6770=_0xd681c3,_0x138f22=this[_0xec6770(0x1af)](_0xec6770(0x1c4),_0xec6770(0x1c2),{'id':_0x280281,'group':_0x5a2ba0});return{'getConversation':async()=>(await _0x138f22[_0xec6770(0x17e)])[_0xec6770(0x207)](),'abortController':_0x138f22[_0xec6770(0x1c1)]};}[_0xd681c3(0x208)]({message:_0x50d37e,conversationId:_0x333d16,parts:_0x2be468,capabilities:_0x362a50,model:_0x595335,attributes:_0x5ca000}){const _0x45a477=_0xd681c3,_0x321931={'prompt':_0x50d37e,'content':_0x2be468,'model':_0x595335,..._0x362a50&&{'capabilities':_0x362a50},..._0x5ca000&&{'attributes':_0x5ca000}},_0x2940cb=this[_0x45a477(0x1af)](_0x45a477(0x187)+_0x333d16+_0x45a477(0x209),_0x45a477(0x1c2),_0x321931);return{'getStream':async()=>{const _0x36b625=_0x45a477,_0x3b6325=(await _0x2940cb[_0x36b625(0x17e)])[_0x36b625(0x1c5)];return this[_0x36b625(0x1ca)](_0x3b6325);},'abortController':_0x2940cb[_0x45a477(0x1c1)]};}[_0xd681c3(0x1a5)]({content:_0x4553e7,message:_0x5cfda7,model:_0x4702ce,outputFormat:_0xc44bfc}){const _0x3d48b4=_0xd681c3,_0x28caa6={'content':[{'type':_0x3d48b4(0x1dd),'content':_0x4553e7}],'prompt':_0x5cfda7,'model':_0x4702ce,'outputFormat':_0xc44bfc},_0x4de253=this[_0x3d48b4(0x1af)](_0x3d48b4(0x17b),_0x3d48b4(0x1c2),_0x28caa6);return{'getStream':async()=>{const _0x797455=_0x3d48b4,_0x265b8a=(await _0x4de253[_0x797455(0x17e)])[_0x797455(0x1c5)];return this[_0x797455(0x1ca)](_0x265b8a);},'abortController':_0x4de253[_0x3d48b4(0x1c1)]};}[_0xd681c3(0x1e3)]({actionName:_0x3a060b,content:_0x52decf,args:_0x9cc9b}){const _0x1ede75=_0xd681c3,_0x2de082={'content':[{'type':_0x1ede75(0x1dd),'content':_0x52decf}],'args':_0x9cc9b},_0x5151db=this[_0x1ede75(0x1af)](_0x1ede75(0x1ad)+_0x3a060b+_0x1ede75(0x1b1),_0x1ede75(0x1c2),_0x2de082);return{'getStream':async()=>{const _0x1f4268=_0x1ede75,_0x174085=(await _0x5151db[_0x1f4268(0x17e)])[_0x1f4268(0x1c5)];return this[_0x1f4268(0x1ca)](_0x174085);},'abortController':_0x5151db[_0x1ede75(0x1c1)]};}[_0xd681c3(0x186)](_0x168b7c,_0x138b24,_0x4bbaa9){const _0x469975=_0xd681c3,_0x49179b=new FormData();_0x49179b[_0x469975(0x203)](_0x469975(0x17c),_0x138b24,_0x138b24[_0x469975(0x1ef)]),_0x4bbaa9&&_0x49179b[_0x469975(0x203)](_0x469975(0x178),JSON[_0x469975(0x1a6)](_0x4bbaa9));const _0x5bbda3=this[_0x469975(0x1af)](_0x469975(0x187)+_0x168b7c+_0x469975(0x180),_0x469975(0x1c2),_0x49179b);return{'getId':async()=>(await _0x5bbda3[_0x469975(0x17e)])[_0x469975(0x207)](),'abortController':_0x5bbda3[_0x469975(0x1c1)]};}[_0xd681c3(0x1f5)](_0x3752d9,_0x331322){const _0x268dd9=_0xd681c3,_0x4e5b24=this[_0x268dd9(0x1af)](_0x268dd9(0x187)+_0x3752d9+_0x268dd9(0x1ce)+_0x331322,_0x268dd9(0x1eb));return{'getDocument':async()=>(await _0x4e5b24[_0x268dd9(0x17e)])[_0x268dd9(0x207)](),'abortController':_0x4e5b24[_0x268dd9(0x1c1)]};}[_0xd681c3(0x197)](_0x27f98a,_0x11e377,_0x2d17b0){const _0x202220=_0xd681c3,_0x53175f={'content':_0x11e377};_0x2d17b0&&(_0x53175f[_0x202220(0x178)]=_0x2d17b0);const _0x53db12=this[_0x202220(0x1af)](_0x202220(0x187)+_0x27f98a+_0x202220(0x1ed),_0x202220(0x1c2),_0x53175f);return{'getId':async()=>(await _0x53db12[_0x202220(0x17e)])[_0x202220(0x207)](),'abortController':_0x53db12[_0x202220(0x1c1)]};}[_0xd681c3(0x1bc)](_0x24a854,_0x13f8aa={}){const _0x220a6b=_0xd681c3,_0x997d70=new URLSearchParams();_0x997d70[_0x220a6b(0x203)](_0x220a6b(0x1a9),_0x24a854),_0x997d70[_0x220a6b(0x203)](_0x220a6b(0x1f0),!0x1!==_0x13f8aa[_0x220a6b(0x1f0)]?_0x220a6b(0x1c7):_0x220a6b(0x1ea)),_0x997d70[_0x220a6b(0x203)](_0x220a6b(0x1d7),_0x13f8aa[_0x220a6b(0x1d7)]?_0x13f8aa[_0x220a6b(0x1d7)][_0x220a6b(0x182)]():_0x220a6b(0x18b)),_0x997d70[_0x220a6b(0x203)](_0x220a6b(0x1bd),_0x13f8aa[_0x220a6b(0x1bd)]?_0x13f8aa[_0x220a6b(0x1bd)]:_0x220a6b(0x1ff)),_0x997d70[_0x220a6b(0x203)](_0x220a6b(0x194),_0x13f8aa[_0x220a6b(0x194)]?_0x13f8aa[_0x220a6b(0x194)]:_0x220a6b(0x188));const _0x276f01=this[_0x220a6b(0x1af)](_0x220a6b(0x1e4)+_0x997d70[_0x220a6b(0x182)](),_0x220a6b(0x1eb));return{'getConversations':async()=>{const _0x21844e=_0x220a6b,_0x4cabbd=await _0x276f01[_0x21844e(0x17e)];return(await _0x4cabbd[_0x21844e(0x207)]())[_0x21844e(0x1e7)];},'abortController':_0x276f01[_0x220a6b(0x1c1)]};}[_0xd681c3(0x1b8)](_0x39255b){const _0x1e6502=_0xd681c3,_0x17e3aa=this[_0x1e6502(0x1af)](_0x1e6502(0x187)+_0x39255b,_0x1e6502(0x1d9));return{'execute':async()=>{const _0x27ab29=_0x1e6502;await _0x17e3aa[_0x27ab29(0x17e)];},'abortController':_0x17e3aa[_0x1e6502(0x1c1)]};}[_0xd681c3(0x1fa)](_0x4b0112,_0x50f6c9){const _0x45522f=_0xd681c3,_0x455502=this[_0x45522f(0x1af)](_0x45522f(0x187)+_0x4b0112,_0x45522f(0x1e6),_0x50f6c9);return{'getResult':async()=>(await _0x455502[_0x45522f(0x17e)],_0x50f6c9),'abortController':_0x455502[_0x45522f(0x1c1)]};}[_0xd681c3(0x201)](_0x344d1a){const _0xa38735=_0xd681c3,_0x10d438=this[_0xa38735(0x1af)](_0xa38735(0x187)+_0x344d1a,_0xa38735(0x1eb));return{'getConversation':async()=>(await _0x10d438[_0xa38735(0x17e)])[_0xa38735(0x207)](),'abortController':_0x10d438[_0xa38735(0x1c1)]};}[_0xd681c3(0x1a0)](_0x1e6ddc){const _0x4d8cd2=_0xd681c3,_0x42d180=this[_0x4d8cd2(0x1af)](_0x4d8cd2(0x187)+_0x1e6ddc+_0x4d8cd2(0x209),_0x4d8cd2(0x1eb));return{'getMessages':async()=>{const _0x251e91=_0x4d8cd2,_0x3599ed=await _0x42d180[_0x251e91(0x17e)];return(await _0x3599ed[_0x251e91(0x207)]())[_0x251e91(0x1e7)];},'abortController':_0x42d180[_0x4d8cd2(0x1c1)]};}[_0xd681c3(0x181)](_0x1701aa,_0x1222ee,_0x24371d){const _0x52e29c=_0xd681c3,_0x27984b=this[_0x52e29c(0x1af)](_0x52e29c(0x187)+_0x1701aa+_0x52e29c(0x1d0),_0x52e29c(0x1c2),{'url':_0x1222ee,'attributes':_0x24371d});return{'getId':async()=>(await _0x27984b[_0x52e29c(0x17e)])[_0x52e29c(0x207)](),'abortController':_0x27984b[_0x52e29c(0x1c1)]};}[_0xd681c3(0x1d3)](_0x543b6a='en'){const _0xca4124=_0xd681c3,_0x1916bd=new URLSearchParams();_0x1916bd[_0xca4124(0x203)](_0xca4124(0x1a8),_0x543b6a);const _0x47ab7a=_0xca4124(0x193)+_0x1916bd[_0xca4124(0x182)](),_0x146e44=this[_0xca4124(0x1af)](_0x47ab7a,_0xca4124(0x1eb));return{'list':async()=>await(await _0x146e44[_0xca4124(0x17e)])[_0xca4124(0x207)](),'abortController':_0x146e44[_0xca4124(0x1c1)]};}[_0xd681c3(0x18d)](_0x3528a9,_0x395c32){const _0x1a4d8c=_0xd681c3,_0x330249=this[_0x1a4d8c(0x1af)](_0x1a4d8c(0x187)+_0x3528a9+_0x1a4d8c(0x204)+_0x395c32,_0x1a4d8c(0x1d9));return{'execute':async()=>{const _0xc6c52f=_0x1a4d8c;await _0x330249[_0xc6c52f(0x17e)];},'abortController':_0x330249[_0x1a4d8c(0x1c1)]};}[_0xd681c3(0x195)](_0x54dfe3,_0x5a8ca0){const _0xf1c837=_0xd681c3,_0x9448f3=this[_0xf1c837(0x1af)](_0xf1c837(0x187)+_0x54dfe3+_0xf1c837(0x1ce)+_0x5a8ca0,_0xf1c837(0x1d9));return{'execute':async()=>{const _0x437f59=_0xf1c837;await _0x9448f3[_0x437f59(0x17e)];},'abortController':_0x9448f3[_0xf1c837(0x1c1)]};}[_0xd681c3(0x19d)](_0x2df782,_0x572be4){const _0x1adebb=_0xd681c3,_0x2b6f26=this[_0x1adebb(0x1af)](_0x1adebb(0x187)+_0x2df782+_0x1adebb(0x1b7)+_0x572be4,_0x1adebb(0x1d9));return{'execute':async()=>{const _0xdce191=_0x1adebb;await _0x2b6f26[_0xdce191(0x17e)];},'abortController':_0x2b6f26[_0x1adebb(0x1c1)]};}[_0xd681c3(0x1b5)]({reviewName:_0x3f7a90,content:_0x24300b,args:_0x1cd835}){const _0x385b42=_0xd681c3,_0x3dfae1=this[_0x385b42(0x1af)](_0x385b42(0x1e5)+_0x3f7a90+_0x385b42(0x1b1),_0x385b42(0x1c2),{'content':[{'type':_0x385b42(0x1dd),'content':_0x24300b}],'args':_0x1cd835});return{'getStream':async()=>{const _0x3c43b3=_0x385b42,_0x2a9f88=(await _0x3dfae1[_0x3c43b3(0x17e)])[_0x3c43b3(0x1c5)];return this[_0x3c43b3(0x1ca)](_0x2a9f88);},'abortController':_0x3dfae1[_0x385b42(0x1c1)]};}[_0xd681c3(0x1fc)]({content:_0x3cd056,prompt:_0x55ccb1,model:_0x2124e3}){const _0x1afb56=_0xd681c3,_0x50e423=this[_0x1afb56(0x1af)](_0x1afb56(0x17f),_0x1afb56(0x1c2),{'content':[{'type':_0x1afb56(0x1dd),'content':_0x3cd056}],'prompt':_0x55ccb1,'model':_0x2124e3});return{'getStream':async()=>{const _0x56fa21=_0x1afb56,_0x35e9e9=(await _0x50e423[_0x56fa21(0x17e)])[_0x56fa21(0x1c5)];return this[_0x56fa21(0x1ca)](_0x35e9e9);},'abortController':_0x50e423[_0x1afb56(0x1c1)]};}[_0xd681c3(0x1ee)](_0x395c05,_0x280102,_0x118266){const _0x2bc7fe=_0xd681c3,_0x3370db=this[_0x2bc7fe(0x1af)](_0x2bc7fe(0x187)+_0x395c05+_0x2bc7fe(0x1c9)+_0x280102+_0x2bc7fe(0x1d6),_0x2bc7fe(0x184),{'positiveCount':_0x118266[_0x2bc7fe(0x1e9)],'totalCount':_0x118266[_0x2bc7fe(0x20f)],'modificationId':_0x118266[_0x2bc7fe(0x20d)]});return{'execute':async()=>{const _0x285d3f=_0x2bc7fe;await _0x3370db[_0x285d3f(0x17e)];},'abortController':_0x3370db[_0x2bc7fe(0x1c1)]};}[_0xd681c3(0x1d4)](_0x49a63c,_0x3403f9,_0x43273e){const _0x37440b=_0xd681c3,_0x3561de=this[_0x37440b(0x1af)](_0x37440b(0x1ad)+_0x49a63c+_0x37440b(0x1e8)+_0x3403f9+_0x37440b(0x1d6),_0x37440b(0x184),{'positiveCount':_0x43273e[_0x37440b(0x1e9)],'totalCount':_0x43273e[_0x37440b(0x20f)]});return{'execute':async()=>{const _0x3b9d22=_0x37440b;await _0x3561de[_0x3b9d22(0x17e)];},'abortController':_0x3561de[_0x37440b(0x1c1)]};}[_0xd681c3(0x20a)](_0x589956,_0x4d1a11){const _0x56987a=_0xd681c3,_0x599f33=this[_0x56987a(0x1af)](_0x56987a(0x1c6)+_0x589956+_0x56987a(0x1d6),_0x56987a(0x184),{'positiveCount':_0x4d1a11[_0x56987a(0x1e9)],'totalCount':_0x4d1a11[_0x56987a(0x20f)]});return{'execute':async()=>{const _0x160278=_0x56987a;await _0x599f33[_0x160278(0x17e)];},'abortController':_0x599f33[_0x56987a(0x1c1)]};}[_0xd681c3(0x205)](_0x3e0d46,_0x1e6dfd,_0x24f9a1,_0x11ab6f){const _0xff3d5=_0xd681c3,_0x3ec49d=this[_0xff3d5(0x1af)](_0xff3d5(0x1e5)+_0x3e0d46+_0xff3d5(0x1e8)+_0x1e6dfd+_0xff3d5(0x1d6),_0xff3d5(0x184),{'positiveCount':_0x24f9a1[_0xff3d5(0x1e9)],'totalCount':_0x24f9a1[_0xff3d5(0x20f)],'dataId':_0x11ab6f});return{'execute':async()=>{const _0x275afb=_0xff3d5;await _0x3ec49d[_0x275afb(0x17e)];},'abortController':_0x3ec49d[_0xff3d5(0x1c1)]};}[_0xd681c3(0x199)](_0x3dab0c,_0x112ffb,_0x1f04bc){const _0x451114=_0xd681c3,_0x112c06=this[_0x451114(0x1af)](_0x451114(0x19a)+_0x3dab0c+_0x451114(0x1d6),_0x451114(0x184),{'positiveCount':_0x112ffb[_0x451114(0x1e9)],'totalCount':_0x112ffb[_0x451114(0x20f)],'dataId':_0x1f04bc});return{'execute':async()=>{const _0xa6a409=_0x451114;await _0x112c06[_0xa6a409(0x17e)];},'abortController':_0x112c06[_0x451114(0x1c1)]};}[_0xd681c3(0x1af)](_0x43fa3b,_0x1e882b,_0x5438fb){const _0x4cc704=_0xd681c3,_0x55edd5=new AbortController(),_0x19fb1f=_0x5438fb instanceof FormData,_0x14141c={'Authorization':_0x4cc704(0x1c8)+this[_0x4cc704(0x1f9)]?.[_0x4cc704(0x1f1)]};_0x5438fb&&!_0x19fb1f&&(_0x14141c[_0x4cc704(0x1b3)]=_0x4cc704(0x1bf));const _0x17eac2={'method':_0x1e882b,'headers':_0x14141c,'signal':_0x55edd5[_0x4cc704(0x1ab)]};return _0x5438fb&&(_0x17eac2[_0x4cc704(0x1c5)]=_0x19fb1f?_0x5438fb:JSON[_0x4cc704(0x1a6)](_0x5438fb)),{'request':fetch(''+this[_0x4cc704(0x1e1)]+_0x43fa3b,_0x17eac2)[_0x4cc704(0x1f6)](_0x2adbbe=>{const _0x22d920=_0x4cc704;this[_0x22d920(0x1db)](_0x2adbbe);})[_0x4cc704(0x1fb)](_0x2e0806=>_0x2e0806['ok']?_0x2e0806:_0x2e0806[_0x4cc704(0x207)]()[_0x4cc704(0x1fb)](_0x1bd44a=>{const _0x54336f=_0x4cc704;throw{'url':this[_0x54336f(0x1e1)],'path':_0x43fa3b,'method':_0x1e882b,'body':_0x5438fb,'status':(_0x2e0806||{})[_0x54336f(0x1b0)],'statusText':(_0x2e0806||{})[_0x54336f(0x1ba)],'code':_0x1bd44a[_0x54336f(0x202)],'message':_0x1bd44a[_0x54336f(0x1ec)],'traceId':_0x1bd44a[_0x54336f(0x1da)]};})),'abortController':_0x55edd5};}async*[_0xd681c3(0x1ca)](_0x18cd70){const _0x116997=_0xd681c3,_0x4eced1=[],_0x47fc5b=_0x18cd70[_0x116997(0x1b4)](),_0x19dab4=_0x4de6fe({'onError':_0x1d4a29=>{const _0x19816e=_0x116997;this[_0x19816e(0x1db)](_0x1d4a29);},'onEvent':_0x32113e=>{const _0x326d80=_0x116997;_0x32113e[_0x326d80(0x200)]=JSON[_0x326d80(0x177)](_0x32113e[_0x326d80(0x200)]),_0x4eced1[_0x326d80(0x20b)](_0x32113e);}});try{let _0x301408=!0x1;for(;!_0x301408;){const {done:_0x462233,value:_0x2de7e8}=await _0x47fc5b[_0x116997(0x191)]();_0x462233&&(_0x301408=!0x0),_0x19dab4[_0x116997(0x1c0)](this[_0x116997(0x1b2)][_0x116997(0x1cf)](_0x2de7e8,{'stream':!0x0})),yield*_0x4eced1,_0x4eced1[_0x116997(0x20e)]=0x0;}}catch(_0x50e3e4){this[_0x116997(0x1db)](_0x50e3e4);}finally{_0x47fc5b[_0x116997(0x1e0)](),_0x19dab4[_0x116997(0x1cd)]();}}[_0xd681c3(0x1db)](_0x321fc4){const _0x4af087=_0xd681c3;if(_0x321fc4 instanceof _0x3cbcb0)throw _0x321fc4;if(_0x321fc4 instanceof Error&&_0x4af087(0x1c3)===_0x321fc4[_0x4af087(0x1ef)])throw new _0x3cbcb0(_0x4af087(0x1f4),this,{'originalError':_0x321fc4});throw new _0x3cbcb0(_0x4af087(0x1f8),this,{'originalError':_0x321fc4});}}
23
+ function _0x3c4a(_0x46b907,_0x5dc348){const _0x4e59a9=_0x4e59();return _0x3c4a=function(_0x3c4ae8,_0xc9dc8f){_0x3c4ae8=_0x3c4ae8-0x102;let _0x31c18b=_0x4e59a9[_0x3c4ae8];return _0x31c18b;},_0x3c4a(_0x46b907,_0x5dc348);}const _0x42e679=_0x3c4a;(function(_0x24fb7c,_0x2bebbe){const _0x5dc9b8=_0x3c4a,_0x2497e3=_0x24fb7c();while(!![]){try{const _0xf35d95=parseInt(_0x5dc9b8(0x16e))/0x1+parseInt(_0x5dc9b8(0x128))/0x2*(-parseInt(_0x5dc9b8(0x109))/0x3)+-parseInt(_0x5dc9b8(0x11a))/0x4+parseInt(_0x5dc9b8(0x174))/0x5*(parseInt(_0x5dc9b8(0x11f))/0x6)+parseInt(_0x5dc9b8(0x18b))/0x7+parseInt(_0x5dc9b8(0x155))/0x8+parseInt(_0x5dc9b8(0x184))/0x9*(-parseInt(_0x5dc9b8(0x164))/0xa);if(_0xf35d95===_0x2bebbe)break;else _0x2497e3['push'](_0x2497e3['shift']());}catch(_0x329d21){_0x2497e3['push'](_0x2497e3['shift']());}}}(_0x4e59,0x5501f));import{createParser as _0x4d122d}from'eventsource-parser';import{ContextPlugin as _0xabf609}from'ckeditor5/src/core.js';import{CKEditorError as _0x427c41}from'ckeditor5/src/utils.js';export var AIActionsNames;function _0x4e59(){const _0x237b4d=['upsertCustomAIActionRating','_decoder','request','fix-grammar','body','PUT','stringify','46GdVQbP','totalCount','application/json','requires','isOfficialPlugin','releaseLock','/documents','toString','positiveCount','append','ai.serviceUrl','false','PATCH','/conversations','define','Bearer\x20','/conversations/','/actions/custom/calls/','language','FIX_GRAMMAR','upsertAIReviewRating','parse','abortController','_apiUrl','MAKE_TONE_CASUAL','AbortError','executeAction','context','callSystemReview','text','pluginName','/conversations?','deleteConversation','group','code','createdAt','deleteFile','isPremiumPlugin','POST','read','sortBy','/ratings','reset','statusText','token','5237328aGdmvC','items','continue','catch','CONTINUE','traceId','ai-missing-token','/messages','CloudServices','desc','data','upsertAIChatRating','true','value','MAKE_SHORTER','537690UyLUni','uploadDocument','https://ai.cke-cs.com/v1','config','attributes','modificationId','/reviews/custom/calls/','ai-request-aborted','status','improve-writing','628930RxuWpd','signal','startConversation','TRANSLATE','/files/','name','1997490Atmsnh','GET','/models/1?','DELETE','make-longer','message','upsertAIActionRating','ai-request-failed','AIConnector','get','decode','length','_handleError','/files','/calls/','fetchConversationMessages','117XhmpDd','deleteWebResource','/messages/','file','fetchConversations','callCustomReview','/actions/system/','118706bycBVk','order','init','json','/actions/custom/calls','then','updateConversation','/reviews/custom/calls','/documents/','uploadUrl','push','fetchDocument','MAKE_TONE_FORMAL','deleteDocument','make-tone-casual','uploadFile','getReader','feed','/calls','16971qWFidl','/reviews/system/','IMPROVE_WRITING','100','limit','fetchConversation','excludeEmpty','getModels','_token','/web-resources/','make-tone-formal','make-shorter','_sendApiRequest','MAKE_LONGER','queryAssistant','executeCustomAction','upsertCustomAIReviewRating','2091012kyYEoS','plugins','translate','_getStreamReader','Content-Type','6UEIgQI','/web-resources'];_0x4e59=function(){return _0x237b4d;};return _0x4e59();}!function(_0x4d00f1){const _0x1d661d=_0x3c4a;_0x4d00f1[_0x1d661d(0x159)]=_0x1d661d(0x157),_0x4d00f1[_0x1d661d(0x13b)]=_0x1d661d(0x124),_0x4d00f1[_0x1d661d(0x10b)]=_0x1d661d(0x16d),_0x4d00f1[_0x1d661d(0x116)]=_0x1d661d(0x178),_0x4d00f1[_0x1d661d(0x163)]=_0x1d661d(0x114),_0x4d00f1[_0x1d661d(0x140)]=_0x1d661d(0x104),_0x4d00f1[_0x1d661d(0x102)]=_0x1d661d(0x113),_0x4d00f1[_0x1d661d(0x171)]=_0x1d661d(0x11c);}(AIActionsNames||(AIActionsNames={}));export class AIConnector extends _0xabf609{[_0x42e679(0x13f)];[_0x42e679(0x111)];[_0x42e679(0x122)];static get[_0x42e679(0x12b)](){const _0x5c8056=_0x42e679;return[_0x5c8056(0x15d)];}static get[_0x42e679(0x146)](){const _0x1da7a4=_0x42e679;return _0x1da7a4(0x17c);}static get[_0x42e679(0x12c)](){return!0x0;}static get[_0x42e679(0x14d)](){return!0x0;}constructor(_0x8e07c6){const _0x568977=_0x42e679;super(_0x8e07c6),this[_0x568977(0x143)][_0x568977(0x167)][_0x568977(0x136)](_0x568977(0x132),_0x568977(0x166)),this[_0x568977(0x13f)]=this[_0x568977(0x143)][_0x568977(0x167)][_0x568977(0x17d)](_0x568977(0x132)),this[_0x568977(0x111)]=null,this[_0x568977(0x122)]=new TextDecoder();}[_0x42e679(0x18d)](){const _0x379f74=_0x42e679,_0x5a9232=this[_0x379f74(0x143)][_0x379f74(0x11b)][_0x379f74(0x17d)](_0x379f74(0x15d));if(!_0x5a9232[_0x379f74(0x154)])throw new _0x427c41(_0x379f74(0x15b),this);this[_0x379f74(0x111)]=_0x5a9232[_0x379f74(0x154)];}[_0x42e679(0x170)](_0x3fb873,_0x290a5d){const _0x36f050=_0x42e679,_0x5b15aa=this[_0x36f050(0x115)](_0x36f050(0x135),_0x36f050(0x14e),{'id':_0x3fb873,'group':_0x290a5d});return{'getConversation':async()=>(await _0x5b15aa[_0x36f050(0x123)])[_0x36f050(0x18e)](),'abortController':_0x5b15aa[_0x36f050(0x13e)]};}[_0x42e679(0x117)]({message:_0x248be9,conversationId:_0xf155a8,parts:_0x3562d9,capabilities:_0x4e5433,model:_0x36ce5e,attributes:_0x46829d}){const _0x2fa9a0=_0x42e679,_0x1e0b1f={'prompt':_0x248be9,'content':_0x3562d9,'model':_0x36ce5e,..._0x4e5433&&{'capabilities':_0x4e5433},..._0x46829d&&{'attributes':_0x46829d}},_0x5963ab=this[_0x2fa9a0(0x115)](_0x2fa9a0(0x138)+_0xf155a8+_0x2fa9a0(0x15c),_0x2fa9a0(0x14e),_0x1e0b1f);return{'getStream':async()=>{const _0x2f4448=_0x2fa9a0,_0x35d8f7=(await _0x5963ab[_0x2f4448(0x123)])[_0x2f4448(0x125)];return this[_0x2f4448(0x11d)](_0x35d8f7);},'abortController':_0x5963ab[_0x2fa9a0(0x13e)]};}[_0x42e679(0x118)]({content:_0x21e20b,message:_0x456450,model:_0x1588ca,outputFormat:_0x134ede}){const _0x3533fa=_0x42e679,_0xa2ad91={'content':[{'type':_0x3533fa(0x145),'content':_0x21e20b}],'prompt':_0x456450,'model':_0x1588ca,'outputFormat':_0x134ede},_0x40cded=this[_0x3533fa(0x115)](_0x3533fa(0x18f),_0x3533fa(0x14e),_0xa2ad91);return{'getStream':async()=>{const _0x5f0eb5=_0x3533fa,_0x597b5d=(await _0x40cded[_0x5f0eb5(0x123)])[_0x5f0eb5(0x125)];return this[_0x5f0eb5(0x11d)](_0x597b5d);},'abortController':_0x40cded[_0x3533fa(0x13e)]};}[_0x42e679(0x142)]({actionName:_0x45eee6,content:_0x514d6a,args:_0x332fb6}){const _0x2f1b4f=_0x42e679,_0x58989b={'content':[{'type':_0x2f1b4f(0x145),'content':_0x514d6a}],'args':_0x332fb6},_0x3f7dbb=this[_0x2f1b4f(0x115)](_0x2f1b4f(0x18a)+_0x45eee6+_0x2f1b4f(0x108),_0x2f1b4f(0x14e),_0x58989b);return{'getStream':async()=>{const _0x49b26e=_0x2f1b4f,_0x31f5f6=(await _0x3f7dbb[_0x49b26e(0x123)])[_0x49b26e(0x125)];return this[_0x49b26e(0x11d)](_0x31f5f6);},'abortController':_0x3f7dbb[_0x2f1b4f(0x13e)]};}[_0x42e679(0x105)](_0x409774,_0x21b155,_0x14f7d9){const _0xcc26d1=_0x42e679,_0x593840=new FormData();_0x593840[_0xcc26d1(0x131)](_0xcc26d1(0x187),_0x21b155,_0x21b155[_0xcc26d1(0x173)]),_0x14f7d9&&_0x593840[_0xcc26d1(0x131)](_0xcc26d1(0x168),JSON[_0xcc26d1(0x127)](_0x14f7d9));const _0x15bf5c=this[_0xcc26d1(0x115)](_0xcc26d1(0x138)+_0x409774+_0xcc26d1(0x181),_0xcc26d1(0x14e),_0x593840);return{'getId':async()=>(await _0x15bf5c[_0xcc26d1(0x123)])[_0xcc26d1(0x18e)](),'abortController':_0x15bf5c[_0xcc26d1(0x13e)]};}[_0x42e679(0x196)](_0x2fbd0b,_0x18ed9a){const _0xc565=_0x42e679,_0x4df284=this[_0xc565(0x115)](_0xc565(0x138)+_0x2fbd0b+_0xc565(0x193)+_0x18ed9a,_0xc565(0x175));return{'getDocument':async()=>(await _0x4df284[_0xc565(0x123)])[_0xc565(0x18e)](),'abortController':_0x4df284[_0xc565(0x13e)]};}[_0x42e679(0x165)](_0x7cd93a,_0xabc3c4,_0x55a7a2){const _0x39ed7f=_0x42e679,_0x3d66d5={'content':_0xabc3c4};_0x55a7a2&&(_0x3d66d5[_0x39ed7f(0x168)]=_0x55a7a2);const _0x36de13=this[_0x39ed7f(0x115)](_0x39ed7f(0x138)+_0x7cd93a+_0x39ed7f(0x12e),_0x39ed7f(0x14e),_0x3d66d5);return{'getId':async()=>(await _0x36de13[_0x39ed7f(0x123)])[_0x39ed7f(0x18e)](),'abortController':_0x36de13[_0x39ed7f(0x13e)]};}[_0x42e679(0x188)](_0xce619,_0x4a4a58={}){const _0x24841b=_0x42e679,_0x2fe54f=new URLSearchParams();_0x2fe54f[_0x24841b(0x131)](_0x24841b(0x149),_0xce619),_0x2fe54f[_0x24841b(0x131)](_0x24841b(0x10f),!0x1!==_0x4a4a58[_0x24841b(0x10f)]?_0x24841b(0x161):_0x24841b(0x133)),_0x2fe54f[_0x24841b(0x131)](_0x24841b(0x10d),_0x4a4a58[_0x24841b(0x10d)]?_0x4a4a58[_0x24841b(0x10d)][_0x24841b(0x12f)]():_0x24841b(0x10c)),_0x2fe54f[_0x24841b(0x131)](_0x24841b(0x150),_0x4a4a58[_0x24841b(0x150)]?_0x4a4a58[_0x24841b(0x150)]:_0x24841b(0x14b)),_0x2fe54f[_0x24841b(0x131)](_0x24841b(0x18c),_0x4a4a58[_0x24841b(0x18c)]?_0x4a4a58[_0x24841b(0x18c)]:_0x24841b(0x15e));const _0x2e6b16=this[_0x24841b(0x115)](_0x24841b(0x147)+_0x2fe54f[_0x24841b(0x12f)](),_0x24841b(0x175));return{'getConversations':async()=>{const _0x1f86af=_0x24841b,_0x439650=await _0x2e6b16[_0x1f86af(0x123)];return(await _0x439650[_0x1f86af(0x18e)]())[_0x1f86af(0x156)];},'abortController':_0x2e6b16[_0x24841b(0x13e)]};}[_0x42e679(0x148)](_0x55968e){const _0x2d25e8=_0x42e679,_0x4ac046=this[_0x2d25e8(0x115)](_0x2d25e8(0x138)+_0x55968e,_0x2d25e8(0x177));return{'execute':async()=>{const _0x48d130=_0x2d25e8;await _0x4ac046[_0x48d130(0x123)];},'abortController':_0x4ac046[_0x2d25e8(0x13e)]};}[_0x42e679(0x191)](_0x20bfe6,_0x208d61){const _0x3d06f4=_0x42e679,_0x31860d=this[_0x3d06f4(0x115)](_0x3d06f4(0x138)+_0x20bfe6,_0x3d06f4(0x134),_0x208d61);return{'getResult':async()=>(await _0x31860d[_0x3d06f4(0x123)],_0x208d61),'abortController':_0x31860d[_0x3d06f4(0x13e)]};}[_0x42e679(0x10e)](_0x10d524){const _0x1d210d=_0x42e679,_0xb32cb5=this[_0x1d210d(0x115)](_0x1d210d(0x138)+_0x10d524,_0x1d210d(0x175));return{'getConversation':async()=>(await _0xb32cb5[_0x1d210d(0x123)])[_0x1d210d(0x18e)](),'abortController':_0xb32cb5[_0x1d210d(0x13e)]};}[_0x42e679(0x183)](_0x510793){const _0x4114ba=_0x42e679,_0x2c8fac=this[_0x4114ba(0x115)](_0x4114ba(0x138)+_0x510793+_0x4114ba(0x15c),_0x4114ba(0x175));return{'getMessages':async()=>{const _0x1a848e=_0x4114ba,_0x382f3a=await _0x2c8fac[_0x1a848e(0x123)];return(await _0x382f3a[_0x1a848e(0x18e)]())[_0x1a848e(0x156)];},'abortController':_0x2c8fac[_0x4114ba(0x13e)]};}[_0x42e679(0x194)](_0x3fc378,_0x2255d2,_0x406e49){const _0x307a42=_0x42e679,_0x5d35bd=this[_0x307a42(0x115)](_0x307a42(0x138)+_0x3fc378+_0x307a42(0x120),_0x307a42(0x14e),{'url':_0x2255d2,'attributes':_0x406e49});return{'getId':async()=>(await _0x5d35bd[_0x307a42(0x123)])[_0x307a42(0x18e)](),'abortController':_0x5d35bd[_0x307a42(0x13e)]};}[_0x42e679(0x110)](_0x15d82e='en'){const _0x39efe2=_0x42e679,_0x426079=new URLSearchParams();_0x426079[_0x39efe2(0x131)](_0x39efe2(0x13a),_0x15d82e);const _0x444a1d=_0x39efe2(0x176)+_0x426079[_0x39efe2(0x12f)](),_0x53e6aa=this[_0x39efe2(0x115)](_0x444a1d,_0x39efe2(0x175));return{'list':async()=>await(await _0x53e6aa[_0x39efe2(0x123)])[_0x39efe2(0x18e)](),'abortController':_0x53e6aa[_0x39efe2(0x13e)]};}[_0x42e679(0x14c)](_0x51786a,_0xe6da3b){const _0x4a8cde=_0x42e679,_0x4b33f0=this[_0x4a8cde(0x115)](_0x4a8cde(0x138)+_0x51786a+_0x4a8cde(0x172)+_0xe6da3b,_0x4a8cde(0x177));return{'execute':async()=>{const _0x7b06a9=_0x4a8cde;await _0x4b33f0[_0x7b06a9(0x123)];},'abortController':_0x4b33f0[_0x4a8cde(0x13e)]};}[_0x42e679(0x103)](_0x340758,_0x553495){const _0x1efa8f=_0x42e679,_0x12d1ac=this[_0x1efa8f(0x115)](_0x1efa8f(0x138)+_0x340758+_0x1efa8f(0x193)+_0x553495,_0x1efa8f(0x177));return{'execute':async()=>{const _0x1c3b64=_0x1efa8f;await _0x12d1ac[_0x1c3b64(0x123)];},'abortController':_0x12d1ac[_0x1efa8f(0x13e)]};}[_0x42e679(0x185)](_0x4f50ee,_0x2f5e65){const _0x26e927=_0x42e679,_0x47dd01=this[_0x26e927(0x115)](_0x26e927(0x138)+_0x4f50ee+_0x26e927(0x112)+_0x2f5e65,_0x26e927(0x177));return{'execute':async()=>{const _0x506d23=_0x26e927;await _0x47dd01[_0x506d23(0x123)];},'abortController':_0x47dd01[_0x26e927(0x13e)]};}[_0x42e679(0x144)]({reviewName:_0xc48992,content:_0x2ecb17,args:_0x2caebd}){const _0x3dbaf4=_0x42e679,_0x535161=this[_0x3dbaf4(0x115)](_0x3dbaf4(0x10a)+_0xc48992+_0x3dbaf4(0x108),_0x3dbaf4(0x14e),{'content':[{'type':_0x3dbaf4(0x145),'content':_0x2ecb17}],'args':_0x2caebd});return{'getStream':async()=>{const _0x1a985d=_0x3dbaf4,_0x23346c=(await _0x535161[_0x1a985d(0x123)])[_0x1a985d(0x125)];return this[_0x1a985d(0x11d)](_0x23346c);},'abortController':_0x535161[_0x3dbaf4(0x13e)]};}[_0x42e679(0x189)]({content:_0x5a6720,prompt:_0x54f3de,model:_0x4f2cd2}){const _0x9f7854=_0x42e679,_0x317569=this[_0x9f7854(0x115)](_0x9f7854(0x192),_0x9f7854(0x14e),{'content':[{'type':_0x9f7854(0x145),'content':_0x5a6720}],'prompt':_0x54f3de,'model':_0x4f2cd2});return{'getStream':async()=>{const _0x28c464=_0x9f7854,_0x37ade4=(await _0x317569[_0x28c464(0x123)])[_0x28c464(0x125)];return this[_0x28c464(0x11d)](_0x37ade4);},'abortController':_0x317569[_0x9f7854(0x13e)]};}[_0x42e679(0x160)](_0x4c7079,_0x55e692,_0x71f33c){const _0x1ffefc=_0x42e679,_0x5cec5d=this[_0x1ffefc(0x115)](_0x1ffefc(0x138)+_0x4c7079+_0x1ffefc(0x186)+_0x55e692+_0x1ffefc(0x151),_0x1ffefc(0x126),{'positiveCount':_0x71f33c[_0x1ffefc(0x130)],'totalCount':_0x71f33c[_0x1ffefc(0x129)],'modificationId':_0x71f33c[_0x1ffefc(0x169)]});return{'execute':async()=>{const _0x3e4766=_0x1ffefc;await _0x5cec5d[_0x3e4766(0x123)];},'abortController':_0x5cec5d[_0x1ffefc(0x13e)]};}[_0x42e679(0x17a)](_0x3b9201,_0x1aaa8d,_0x33f887){const _0x308375=_0x42e679,_0x2fc2e2=this[_0x308375(0x115)](_0x308375(0x18a)+_0x3b9201+_0x308375(0x182)+_0x1aaa8d+_0x308375(0x151),_0x308375(0x126),{'positiveCount':_0x33f887[_0x308375(0x130)],'totalCount':_0x33f887[_0x308375(0x129)]});return{'execute':async()=>{const _0x2e7ef4=_0x308375;await _0x2fc2e2[_0x2e7ef4(0x123)];},'abortController':_0x2fc2e2[_0x308375(0x13e)]};}[_0x42e679(0x121)](_0x9e4332,_0x15d105){const _0x1f8e7b=_0x42e679,_0x1c8c5b=this[_0x1f8e7b(0x115)](_0x1f8e7b(0x139)+_0x9e4332+_0x1f8e7b(0x151),_0x1f8e7b(0x126),{'positiveCount':_0x15d105[_0x1f8e7b(0x130)],'totalCount':_0x15d105[_0x1f8e7b(0x129)]});return{'execute':async()=>{const _0x6d5595=_0x1f8e7b;await _0x1c8c5b[_0x6d5595(0x123)];},'abortController':_0x1c8c5b[_0x1f8e7b(0x13e)]};}[_0x42e679(0x13c)](_0x109370,_0x4bbfcd,_0x18d590,_0x30be24){const _0x23519e=_0x42e679,_0x3c1bbd=this[_0x23519e(0x115)](_0x23519e(0x10a)+_0x109370+_0x23519e(0x182)+_0x4bbfcd+_0x23519e(0x151),_0x23519e(0x126),{'positiveCount':_0x18d590[_0x23519e(0x130)],'totalCount':_0x18d590[_0x23519e(0x129)],'dataId':_0x30be24});return{'execute':async()=>{const _0x51d14c=_0x23519e;await _0x3c1bbd[_0x51d14c(0x123)];},'abortController':_0x3c1bbd[_0x23519e(0x13e)]};}[_0x42e679(0x119)](_0x4b816e,_0x26db26,_0x1b4199){const _0x54c07d=_0x42e679,_0x19cbdf=this[_0x54c07d(0x115)](_0x54c07d(0x16a)+_0x4b816e+_0x54c07d(0x151),_0x54c07d(0x126),{'positiveCount':_0x26db26[_0x54c07d(0x130)],'totalCount':_0x26db26[_0x54c07d(0x129)],'dataId':_0x1b4199});return{'execute':async()=>{const _0x2e807e=_0x54c07d;await _0x19cbdf[_0x2e807e(0x123)];},'abortController':_0x19cbdf[_0x54c07d(0x13e)]};}[_0x42e679(0x115)](_0x42c8b3,_0x3c4489,_0x1ac415){const _0x44f184=_0x42e679,_0xcf292f=new AbortController(),_0x25068a=_0x1ac415 instanceof FormData,_0x57d86b={'Authorization':_0x44f184(0x137)+this[_0x44f184(0x111)]?.[_0x44f184(0x162)]};_0x1ac415&&!_0x25068a&&(_0x57d86b[_0x44f184(0x11e)]=_0x44f184(0x12a));const _0x5476c8={'method':_0x3c4489,'headers':_0x57d86b,'signal':_0xcf292f[_0x44f184(0x16f)]};return _0x1ac415&&(_0x5476c8[_0x44f184(0x125)]=_0x25068a?_0x1ac415:JSON[_0x44f184(0x127)](_0x1ac415)),{'request':fetch(''+this[_0x44f184(0x13f)]+_0x42c8b3,_0x5476c8)[_0x44f184(0x158)](_0x1a9f64=>{const _0x34cee0=_0x44f184;this[_0x34cee0(0x180)](_0x1a9f64);})[_0x44f184(0x190)](_0x2db727=>_0x2db727['ok']?_0x2db727:_0x2db727[_0x44f184(0x18e)]()[_0x44f184(0x190)](_0x426e6b=>{const _0x4a9046=_0x44f184;throw{'url':this[_0x4a9046(0x13f)],'path':_0x42c8b3,'method':_0x3c4489,'body':_0x1ac415,'status':(_0x2db727||{})[_0x4a9046(0x16c)],'statusText':(_0x2db727||{})[_0x4a9046(0x153)],'code':_0x426e6b[_0x4a9046(0x14a)],'message':_0x426e6b[_0x4a9046(0x179)],'traceId':_0x426e6b[_0x4a9046(0x15a)]};})),'abortController':_0xcf292f};}async*[_0x42e679(0x11d)](_0x564934){const _0x59015c=_0x42e679,_0x16d3ac=[],_0x42cc8f=_0x564934[_0x59015c(0x106)](),_0x2c88ee=_0x4d122d({'onError':_0x39bcd9=>{const _0x3aedb4=_0x59015c;this[_0x3aedb4(0x180)](_0x39bcd9);},'onEvent':_0x1a4899=>{const _0x5c673c=_0x59015c;_0x1a4899[_0x5c673c(0x15f)]=JSON[_0x5c673c(0x13d)](_0x1a4899[_0x5c673c(0x15f)]),_0x16d3ac[_0x5c673c(0x195)](_0x1a4899);}});try{let _0x28ebdb=!0x1;for(;!_0x28ebdb;){const {done:_0x3ed941,value:_0x4b0bfa}=await _0x42cc8f[_0x59015c(0x14f)]();_0x3ed941&&(_0x28ebdb=!0x0),_0x2c88ee[_0x59015c(0x107)](this[_0x59015c(0x122)][_0x59015c(0x17e)](_0x4b0bfa,{'stream':!0x0})),yield*_0x16d3ac,_0x16d3ac[_0x59015c(0x17f)]=0x0;}}catch(_0x474e24){this[_0x59015c(0x180)](_0x474e24);}finally{_0x42cc8f[_0x59015c(0x12d)](),_0x2c88ee[_0x59015c(0x152)]();}}[_0x42e679(0x180)](_0x22a60a){const _0xe51068=_0x42e679;if(_0x22a60a instanceof _0x427c41)throw _0x22a60a;if(_0x22a60a instanceof Error&&_0xe51068(0x141)===_0x22a60a[_0xe51068(0x173)])throw new _0x427c41(_0xe51068(0x16b),this,{'originalError':_0x22a60a});throw new _0x427c41(_0xe51068(0x17b),this,{'originalError':_0x22a60a});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x139837=_0x1c08;(function(_0x116235,_0x38b643){const _0xf4d3aa=_0x1c08,_0x97aac5=_0x116235();while(!![]){try{const _0x2d5672=-parseInt(_0xf4d3aa(0x1aa))/0x1*(parseInt(_0xf4d3aa(0x19d))/0x2)+parseInt(_0xf4d3aa(0x1a2))/0x3+parseInt(_0xf4d3aa(0x191))/0x4*(-parseInt(_0xf4d3aa(0x1bb))/0x5)+parseInt(_0xf4d3aa(0x163))/0x6*(-parseInt(_0xf4d3aa(0x172))/0x7)+parseInt(_0xf4d3aa(0x174))/0x8+-parseInt(_0xf4d3aa(0x193))/0x9+parseInt(_0xf4d3aa(0x14d))/0xa*(parseInt(_0xf4d3aa(0x1b2))/0xb);if(_0x2d5672===_0x38b643)break;else _0x97aac5['push'](_0x97aac5['shift']());}catch(_0xd34755){_0x97aac5['push'](_0x97aac5['shift']());}}}(_0x546d,0x7967a));import{ViewDowncastWriter as _0x361f4e}from'ckeditor5/src/engine.js';import{ContextPlugin as _0x4fa588,Editor as _0x47ee1a}from'ckeditor5/src/core.js';import{uid as _0x363d4e}from'ckeditor5/src/utils.js';import{getTranslation as _0x235986}from'./utils/common-translations.js';import{getEditorFromContext as _0x994390}from'./utils/geteditorfromcontext.js';function _0x1c08(_0x34ebb6,_0x1c76c8){const _0x546d19=_0x546d();return _0x1c08=function(_0x1c080d,_0x18f9bc){_0x1c080d=_0x1c080d-0x148;let _0x55383b=_0x546d19[_0x1c080d];return _0x55383b;},_0x1c08(_0x34ebb6,_0x1c76c8);}export const AI_VISUAL_SELECTION_MARKER_NAME=_0x139837(0x15c);function _0x546d(){const _0x3b2991=[':start>','emptyElement','_displayedFakeSelectionLocked','define','getDocumentData','createUIElement','getSelectionText','htmlWriter','createRange','removeAllRanges',':end></','random','ai-selection','_setOutputDataProcessor','locale','_setDataIdsOnChildren','getMarkersGroup','AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','conversion','3344658eUPzfr','markerToHighlight','isPremiumPlugin',':end>','ai-selection:','getItems','hideFakeVisualSelection','plugins','markerToElement','removeMarker','toView','addMarker','indexOf','floor','pluginName','7vvYCYS','substring','492976hCdFQT','element','dataDowncast','start','ai.models.showModelSelector','for','getChildren','version','trim','ck-ai-assistant-ui_theme','has','selection','editingDowncast','name','data-id','convertAiChatSelectionMarker','getSelection',':start></','getRanges','editors','_getMarkersInDocumentOrder','model','get','_integrateEditor','editing','sessionId','_nextDataId','markerName','fromCharCode','302572WTZEfl','isAfter','3063987sbVkcv','context','isBefore','view','markers','getRoot','AIEditing','afterInit','join','processor','2WsGTNu','getStart','getHtml','length','isAtEnd','2508423QNJwuT','document','config','end','getLastMatchingPosition','isOpening','containerElement','isContent','949731zvXwYz','ready','change','_displayedFakeSelectionId','setAttribute','_getDocumentDataStringFromView','_outputDataProcessor','toData','11vUGNnC','$textProxy','isOfficialPlugin','sort','viewToDom','push','from','ck-fake-ai-selection','schema','25wWNPrP','_sessionId','modelToDataWithIds','data','RealTimeCollaborationClient','listenTo','showFakeVisualSelection','18253430ihSbsq','add','domConverter'];_0x546d=function(){return _0x3b2991;};return _0x546d();}export class AIEditing extends _0x4fa588{constructor(_0x54bd22){const _0x129aa7=_0x139837;super(_0x54bd22),this[_0x129aa7(0x194)][_0x129aa7(0x1a4)][_0x129aa7(0x153)](_0x129aa7(0x178),!0x0);}[_0x139837(0x1b0)];[_0x139837(0x1ad)]=null;[_0x139837(0x152)]=!0x1;[_0x139837(0x1bc)];static get[_0x139837(0x171)](){const _0x180b53=_0x139837;return _0x180b53(0x199);}static get[_0x139837(0x1b4)](){return!0x0;}static get[_0x139837(0x165)](){return!0x0;}get[_0x139837(0x18d)](){const _0x317191=_0x139837;if(!this[_0x317191(0x1bc)]){const _0x401a99=_0x994390(this[_0x317191(0x194)]),_0x102d36=_0x401a99[_0x317191(0x16a)][_0x317191(0x17e)](_0x317191(0x14a))&&_0x401a99[_0x317191(0x16a)][_0x317191(0x18a)](_0x317191(0x14a))[_0x317191(0x18d)];this[_0x317191(0x1bc)]=_0x102d36||_0x363d4e();}return this[_0x317191(0x1bc)];}async[_0x139837(0x154)](){const _0x31e862=_0x139837,_0x10cb2e=_0x994390(this[_0x31e862(0x194)]),_0x3c9c1a=_0x10cb2e[_0x31e862(0x189)],_0x348525=_0x10cb2e[_0x31e862(0x149)][_0x31e862(0x16d)](_0x3c9c1a[_0x31e862(0x1a3)][_0x31e862(0x198)](),{'convertAiChatSelectionMarker':!0x0}),_0x89fcd3=new _0x361f4e(_0x10cb2e[_0x31e862(0x18c)][_0x31e862(0x196)][_0x31e862(0x1a3)]);this[_0x31e862(0x15f)](_0x348525,_0x89fcd3);let _0x30971f=await this[_0x31e862(0x1af)](_0x348525);const _0x156046=this[_0x31e862(0x188)](),_0x11e0ec=[];for(const _0x44c5ff of _0x156046){const _0x3c50d7='<'+_0x44c5ff[_0x31e862(0x181)]+_0x31e862(0x185)+_0x44c5ff[_0x31e862(0x181)]+_0x31e862(0x150),_0x1476ef=_0x30971f[_0x31e862(0x16f)](_0x3c50d7);_0x30971f=_0x30971f[_0x31e862(0x173)](0x0,_0x1476ef)+_0x30971f[_0x31e862(0x173)](_0x1476ef+_0x3c50d7[_0x31e862(0x1a0)]);const _0x429eef='<'+_0x44c5ff[_0x31e862(0x181)]+_0x31e862(0x15a)+_0x44c5ff[_0x31e862(0x181)]+_0x31e862(0x166),_0x115dfe=_0x30971f[_0x31e862(0x16f)](_0x429eef);_0x30971f=_0x30971f[_0x31e862(0x173)](0x0,_0x115dfe)+_0x30971f[_0x31e862(0x173)](_0x115dfe+_0x429eef[_0x31e862(0x1a0)]),_0x11e0ec[_0x31e862(0x1b7)]({'markerName':_0x44c5ff[_0x31e862(0x181)],'start':_0x1476ef,'end':_0x115dfe,'htmlFragment':_0x30971f[_0x31e862(0x173)](_0x1476ef,_0x115dfe)});}return{'content':_0x30971f,'version':_0x10cb2e[_0x31e862(0x189)][_0x31e862(0x1a3)][_0x31e862(0x17b)],'sessionId':this[_0x31e862(0x18d)],'selections':_0x11e0ec};}async[_0x139837(0x19a)](){const _0x1f07a7=_0x139837;this[_0x1f07a7(0x194)]instanceof _0x47ee1a?this[_0x1f07a7(0x18b)](this[_0x1f07a7(0x194)]):this[_0x1f07a7(0x14b)](this[_0x1f07a7(0x194)][_0x1f07a7(0x187)],_0x1f07a7(0x14e),(_0x18be0f,_0x577237)=>{const _0x3f5d74=_0x1f07a7;_0x577237['on'](_0x3f5d74(0x1ab),()=>{const _0x1053ae=_0x3f5d74;this[_0x1053ae(0x18b)](_0x577237);});});}[_0x139837(0x15d)](_0x3c0041){const _0x4eee29=_0x139837;this[_0x4eee29(0x1b0)]=_0x3c0041;}async[_0x139837(0x1af)](_0x2307a9){const _0x966ae6=_0x139837;let _0x3e89a0;const _0x49dc10=_0x994390(this[_0x966ae6(0x194)]);if(this[_0x966ae6(0x1b0)]){const _0x36cad0=_0x49dc10[_0x966ae6(0x149)][_0x966ae6(0x19c)][_0x966ae6(0x14f)][_0x966ae6(0x1b6)](_0x2307a9),_0x4cfe50=await this[_0x966ae6(0x1b0)](_0x36cad0);_0x3e89a0=_0x49dc10[_0x966ae6(0x149)][_0x966ae6(0x19c)][_0x966ae6(0x157)][_0x966ae6(0x19f)](_0x4cfe50);}else _0x3e89a0=_0x49dc10[_0x966ae6(0x149)][_0x966ae6(0x19c)][_0x966ae6(0x1b1)](_0x2307a9);return _0x3e89a0;}[_0x139837(0x18b)](_0x3d8beb){const _0x2308c8=_0x139837;_0x3d8beb[_0x2308c8(0x162)][_0x2308c8(0x179)](_0x2308c8(0x180))[_0x2308c8(0x164)]({'model':_0x2308c8(0x15c),'view':{'classes':[_0x2308c8(0x1b9),_0x2308c8(0x17d)],'priority':0xc}}),_0x3d8beb[_0x2308c8(0x162)][_0x2308c8(0x179)](_0x2308c8(0x176))[_0x2308c8(0x16b)]({'model':_0x2308c8(0x15c),'view':(_0x46edd2,{writer:_0x403e2d,options:_0x1ac786})=>_0x1ac786[_0x2308c8(0x183)]?_0x403e2d[_0x2308c8(0x155)](_0x46edd2[_0x2308c8(0x18f)]+':'+(_0x46edd2[_0x2308c8(0x1a7)]?_0x2308c8(0x177):_0x2308c8(0x1a5))):null});}[_0x139837(0x14c)](_0xbee05c,_0x3264df,_0x2a6175=!0x1,_0x1fa893=!0x1){const _0x34e0b7=_0x139837;if(this[_0x34e0b7(0x152)]&&!_0x1fa893)return!0x1;const _0x55d243=_0x994390(this[_0x34e0b7(0x194)])[_0x34e0b7(0x189)];return _0x55d243[_0x34e0b7(0x1ac)](_0x5ec5eb=>{const _0x35823c=_0x34e0b7;this[_0x35823c(0x1ad)]&&this[_0x35823c(0x169)](this[_0x35823c(0x1ad)]),this[_0x35823c(0x1ad)]=_0x3264df,this[_0x35823c(0x152)]=_0x2a6175;let _0x2de15f=0x0;for(let _0x6e74e5 of _0xbee05c){const _0xf2efd4=_0x35823c(0x167)+_0x2de15f;if(_0x6e74e5[_0x35823c(0x177)][_0x35823c(0x1a1)]){const _0x5c0e57=_0x6e74e5[_0x35823c(0x177)][_0x35823c(0x1a6)](({item:_0x314071})=>!_0x55d243[_0x35823c(0x1ba)][_0x35823c(0x1a9)](_0x314071),{'boundaries':_0x6e74e5});_0x6e74e5=_0x5ec5eb[_0x35823c(0x158)](_0x5c0e57,_0x6e74e5[_0x35823c(0x1a5)]);}_0x5ec5eb[_0x35823c(0x16e)](_0xf2efd4,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x6e74e5}),_0x2de15f++;}}),window[_0x34e0b7(0x184)]()?.[_0x34e0b7(0x159)](),!0x0;}[_0x139837(0x169)](_0x4093c8){const _0x4ffd05=_0x139837;if(this[_0x4ffd05(0x1ad)]!=_0x4093c8)return!0x1;this[_0x4ffd05(0x1ad)]=null,this[_0x4ffd05(0x152)]=!0x1;const _0x55350e=_0x994390(this[_0x4ffd05(0x194)]),_0x1e693b=_0x55350e[_0x4ffd05(0x189)][_0x4ffd05(0x197)][_0x4ffd05(0x160)](_0x4ffd05(0x15c));return _0x55350e[_0x4ffd05(0x189)][_0x4ffd05(0x1ac)](_0x98c6c6=>{const _0xc25753=_0x4ffd05;for(const _0x36012c of _0x1e693b)_0x98c6c6[_0xc25753(0x16c)](_0x36012c);}),!0x0;}async[_0x139837(0x148)](_0x3cee41){const _0x14403e=_0x139837,_0x2db814=_0x994390(this[_0x14403e(0x194)]),_0x257684=_0x2db814[_0x14403e(0x149)][_0x14403e(0x16d)](_0x3cee41),_0x1776ca=new _0x361f4e(_0x2db814[_0x14403e(0x18c)][_0x14403e(0x196)][_0x14403e(0x1a3)]);return this[_0x14403e(0x15f)](_0x257684,_0x1776ca),this[_0x14403e(0x1af)](_0x257684);}[_0x139837(0x15f)](_0x6aba61,_0x5e0e7c){const _0xe332cf=_0x139837;let _0x1aae74=!0x1;const _0x5e6abd=new Set();for(const _0x24c9f9 of _0x6aba61[_0xe332cf(0x17a)]()){const _0x1b166b=_0x24c9f9['is'](_0xe332cf(0x151))||_0x24c9f9['is'](_0xe332cf(0x1a8));if(!_0x24c9f9['is'](_0xe332cf(0x175)))continue;(this[_0xe332cf(0x15f)](_0x24c9f9,_0x5e0e7c)||_0x1b166b)&&(_0x5e0e7c[_0xe332cf(0x1ae)](_0xe332cf(0x182),this[_0xe332cf(0x18e)](_0x5e6abd),_0x24c9f9),_0x1aae74=!0x0);}return _0x1aae74;}[_0x139837(0x18e)](_0xdcbc5f){const _0x54ceaf=_0x139837;let _0x59a799;do{_0x59a799='';for(let _0x46e3d8=0x0;_0x46e3d8<0x4;_0x46e3d8++)_0x59a799+=String[_0x54ceaf(0x190)](0x61+Math[_0x54ceaf(0x170)](0x1a*Math[_0x54ceaf(0x15b)]()));}while(_0xdcbc5f[_0x54ceaf(0x17e)](_0x59a799));return _0xdcbc5f[_0x54ceaf(0x14e)](_0x59a799),_0x59a799;}[_0x139837(0x156)](){const _0x1963e5=_0x139837,{model:_0x566eb0}=_0x994390(this[_0x1963e5(0x194)]),_0xe3fb87=_0x566eb0[_0x1963e5(0x1a3)][_0x1963e5(0x17f)],_0x44f2fc=[];for(const _0x4e67cd of _0xe3fb87[_0x1963e5(0x186)]())for(const _0x4f393b of _0x4e67cd[_0x1963e5(0x168)]())_0x4f393b['is'](_0x1963e5(0x1b3))?_0x44f2fc[_0x1963e5(0x1b7)](_0x4f393b[_0x1963e5(0x149)]):_0x4f393b['is'](_0x1963e5(0x175))&&_0x44f2fc[_0x1963e5(0x1a0)]>0x0&&'\x20'!==_0x44f2fc[_0x44f2fc[_0x1963e5(0x1a0)]-0x1]&&_0x44f2fc[_0x1963e5(0x1b7)]('\x20');return _0x44f2fc[_0x1963e5(0x1a0)]?'\x22'+_0x44f2fc[_0x1963e5(0x19b)]('')[_0x1963e5(0x17c)]()+'\x22':_0x235986(this[_0x1963e5(0x194)][_0x1963e5(0x15e)],_0x1963e5(0x161));}[_0x139837(0x188)](){const _0x4d95dc=_0x139837,_0x19b372=_0x994390(this[_0x4d95dc(0x194)])[_0x4d95dc(0x189)];return Array[_0x4d95dc(0x1b8)](_0x19b372[_0x4d95dc(0x197)][_0x4d95dc(0x160)](_0x4d95dc(0x15c)))[_0x4d95dc(0x1b5)]((_0x23da8c,_0x41b1f6)=>_0x23da8c[_0x4d95dc(0x19e)]()[_0x4d95dc(0x195)](_0x41b1f6[_0x4d95dc(0x19e)]())?-0x1:_0x23da8c[_0x4d95dc(0x19e)]()[_0x4d95dc(0x192)](_0x41b1f6[_0x4d95dc(0x19e)]())?0x1:0x0);}}
23
+ function _0x2897(_0x1deb8f,_0x477157){const _0x3986a7=_0x3986();return _0x2897=function(_0x28979d,_0x5451e6){_0x28979d=_0x28979d-0xb1;let _0x4692b2=_0x3986a7[_0x28979d];return _0x4692b2;},_0x2897(_0x1deb8f,_0x477157);}const _0x2e1c3f=_0x2897;(function(_0x340a1b,_0x16632d){const _0x1e30a7=_0x2897,_0x44fabc=_0x340a1b();while(!![]){try{const _0x19324f=parseInt(_0x1e30a7(0x115))/0x1*(parseInt(_0x1e30a7(0xfb))/0x2)+-parseInt(_0x1e30a7(0x105))/0x3*(-parseInt(_0x1e30a7(0x108))/0x4)+-parseInt(_0x1e30a7(0xda))/0x5*(-parseInt(_0x1e30a7(0x122))/0x6)+parseInt(_0x1e30a7(0xe7))/0x7*(-parseInt(_0x1e30a7(0xc0))/0x8)+-parseInt(_0x1e30a7(0x10e))/0x9+parseInt(_0x1e30a7(0xeb))/0xa+-parseInt(_0x1e30a7(0xfd))/0xb*(parseInt(_0x1e30a7(0x126))/0xc);if(_0x19324f===_0x16632d)break;else _0x44fabc['push'](_0x44fabc['shift']());}catch(_0x2ca041){_0x44fabc['push'](_0x44fabc['shift']());}}}(_0x3986,0x638a0));import{ViewDowncastWriter as _0x31a61c}from'ckeditor5/src/engine.js';import{ContextPlugin as _0x52f3b8,Editor as _0x2707ea}from'ckeditor5/src/core.js';function _0x3986(){const _0x51f65b=['from','editors','isContent','4SHJGse','has','2651rfQUqO','change','createUIElement','afterInit','getDocumentData','data','RealTimeCollaborationClient','push','17487TGCJaK','document','getLastMatchingPosition','4iaJHMo','toView','_setOutputDataProcessor','isAfter','getRoot','random','3811230YoUQjw','ai-selection','listenTo','_outputDataProcessor','start','define','convertAiChatSelectionMarker','398654evmyRv','htmlWriter','pluginName','markers','ck-ai-assistant-ui_theme','removeMarker','containerElement','$textProxy','hideFakeVisualSelection','plugins','removeAllRanges','getHtml','getStart','6wYbLaJ','sessionId','markerToElement','trim','41616fhGlsw','config','name',':end></','ai.models.showModelSelector','editing','getItems','_displayedFakeSelectionId','view','selection','_getDocumentDataStringFromView','substring','conversion','getMarkersGroup','locale','setAttribute','571368GWzjZS','end','isOfficialPlugin',':end>','element','isOpening','dataDowncast','AIEditing','emptyElement','getSelection','ck-fake-ai-selection','get','indexOf','for','toData','editingDowncast','data-id','domConverter','addMarker','getChildren','length','createRange','processor','getSelectionText','ai-selection:','isBefore','3534935hUqCZO','_sessionId','showFakeVisualSelection','_displayedFakeSelectionLocked','context',':start></','sort','isAtEnd','_nextDataId','add','modelToDataWithIds','schema','markerToHighlight','14AaZcbb',':start>','_setDataIdsOnChildren','model','2996880AmnAla','getRanges','join','_getMarkersInDocumentOrder','fromCharCode','isPremiumPlugin','markerName','floor','AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','ready','version','viewToDom','_integrateEditor'];_0x3986=function(){return _0x51f65b;};return _0x3986();}import{uid as _0x31dc04}from'ckeditor5/src/utils.js';import{getTranslation as _0x187d46}from'./utils/common-translations.js';import{getEditorFromContext as _0xa927a4}from'./utils/geteditorfromcontext.js';export const AI_VISUAL_SELECTION_MARKER_NAME=_0x2e1c3f(0x10f);export class AIEditing extends _0x52f3b8{constructor(_0x3713cb){const _0x34dd92=_0x2e1c3f;super(_0x3713cb),this[_0x34dd92(0xde)][_0x34dd92(0xb1)][_0x34dd92(0x113)](_0x34dd92(0xb4),!0x0);}[_0x2e1c3f(0x111)];[_0x2e1c3f(0xb7)]=null;[_0x2e1c3f(0xdd)]=!0x1;[_0x2e1c3f(0xdb)];static get[_0x2e1c3f(0x117)](){const _0x40eacb=_0x2e1c3f;return _0x40eacb(0xc7);}static get[_0x2e1c3f(0xc2)](){return!0x0;}static get[_0x2e1c3f(0xf0)](){return!0x0;}get[_0x2e1c3f(0x123)](){const _0x46e09a=_0x2e1c3f;if(!this[_0x46e09a(0xdb)]){const _0x8df58d=_0xa927a4(this[_0x46e09a(0xde)]),_0x4212e3=_0x8df58d[_0x46e09a(0x11e)][_0x46e09a(0xfc)](_0x46e09a(0x103))&&_0x8df58d[_0x46e09a(0x11e)][_0x46e09a(0xcb)](_0x46e09a(0x103))[_0x46e09a(0x123)];this[_0x46e09a(0xdb)]=_0x4212e3||_0x31dc04();}return this[_0x46e09a(0xdb)];}async[_0x2e1c3f(0x101)](){const _0x538cfc=_0x2e1c3f,_0x426398=_0xa927a4(this[_0x538cfc(0xde)]),_0x5debfc=_0x426398[_0x538cfc(0xea)],_0x18cd93=_0x426398[_0x538cfc(0x102)][_0x538cfc(0x109)](_0x5debfc[_0x538cfc(0x106)][_0x538cfc(0x10c)](),{'convertAiChatSelectionMarker':!0x0}),_0x4dac37=new _0x31a61c(_0x426398[_0x538cfc(0xb5)][_0x538cfc(0xb8)][_0x538cfc(0x106)]);this[_0x538cfc(0xe9)](_0x18cd93,_0x4dac37);let _0x49cdf8=await this[_0x538cfc(0xba)](_0x18cd93);const _0x237c6f=this[_0x538cfc(0xee)](),_0xb7db36=[];for(const _0x37062c of _0x237c6f){const _0x42387d='<'+_0x37062c[_0x538cfc(0xb2)]+_0x538cfc(0xdf)+_0x37062c[_0x538cfc(0xb2)]+_0x538cfc(0xe8),_0x11d39c=_0x49cdf8[_0x538cfc(0xcc)](_0x42387d);_0x49cdf8=_0x49cdf8[_0x538cfc(0xbb)](0x0,_0x11d39c)+_0x49cdf8[_0x538cfc(0xbb)](_0x11d39c+_0x42387d[_0x538cfc(0xd4)]);const _0x1e20c2='<'+_0x37062c[_0x538cfc(0xb2)]+_0x538cfc(0xb3)+_0x37062c[_0x538cfc(0xb2)]+_0x538cfc(0xc3),_0x4af85c=_0x49cdf8[_0x538cfc(0xcc)](_0x1e20c2);_0x49cdf8=_0x49cdf8[_0x538cfc(0xbb)](0x0,_0x4af85c)+_0x49cdf8[_0x538cfc(0xbb)](_0x4af85c+_0x1e20c2[_0x538cfc(0xd4)]),_0xb7db36[_0x538cfc(0x104)]({'markerName':_0x37062c[_0x538cfc(0xb2)],'start':_0x11d39c,'end':_0x4af85c,'htmlFragment':_0x49cdf8[_0x538cfc(0xbb)](_0x11d39c,_0x4af85c)});}return{'content':_0x49cdf8,'version':_0x426398[_0x538cfc(0xea)][_0x538cfc(0x106)][_0x538cfc(0xf5)],'sessionId':this[_0x538cfc(0x123)],'selections':_0xb7db36};}async[_0x2e1c3f(0x100)](){const _0x3b6e45=_0x2e1c3f;this[_0x3b6e45(0xde)]instanceof _0x2707ea?this[_0x3b6e45(0xf7)](this[_0x3b6e45(0xde)]):this[_0x3b6e45(0x110)](this[_0x3b6e45(0xde)][_0x3b6e45(0xf9)],_0x3b6e45(0xe3),(_0x1eb0db,_0x49ba30)=>{const _0x316811=_0x3b6e45;_0x49ba30['on'](_0x316811(0xf4),()=>{const _0x2b5637=_0x316811;this[_0x2b5637(0xf7)](_0x49ba30);});});}[_0x2e1c3f(0x10a)](_0xd81275){const _0x161655=_0x2e1c3f;this[_0x161655(0x111)]=_0xd81275;}async[_0x2e1c3f(0xba)](_0x13bef8){const _0x53fe10=_0x2e1c3f;let _0x5a22d6;const _0x37ca89=_0xa927a4(this[_0x53fe10(0xde)]);if(this[_0x53fe10(0x111)]){const _0x4ab60a=_0x37ca89[_0x53fe10(0x102)][_0x53fe10(0xd6)][_0x53fe10(0xd1)][_0x53fe10(0xf6)](_0x13bef8),_0x2f207c=await this[_0x53fe10(0x111)](_0x4ab60a);_0x5a22d6=_0x37ca89[_0x53fe10(0x102)][_0x53fe10(0xd6)][_0x53fe10(0x116)][_0x53fe10(0x120)](_0x2f207c);}else _0x5a22d6=_0x37ca89[_0x53fe10(0x102)][_0x53fe10(0xd6)][_0x53fe10(0xce)](_0x13bef8);return _0x5a22d6;}[_0x2e1c3f(0xf7)](_0x33afbe){const _0x228e9f=_0x2e1c3f;_0x33afbe[_0x228e9f(0xbc)][_0x228e9f(0xcd)](_0x228e9f(0xcf))[_0x228e9f(0xe6)]({'model':_0x228e9f(0x10f),'view':{'classes':[_0x228e9f(0xca),_0x228e9f(0x119)],'priority':0xc}}),_0x33afbe[_0x228e9f(0xbc)][_0x228e9f(0xcd)](_0x228e9f(0xc6))[_0x228e9f(0x124)]({'model':_0x228e9f(0x10f),'view':(_0x53cc92,{writer:_0x2b485c,options:_0x4106dd})=>_0x4106dd[_0x228e9f(0x114)]?_0x2b485c[_0x228e9f(0xff)](_0x53cc92[_0x228e9f(0xf1)]+':'+(_0x53cc92[_0x228e9f(0xc5)]?_0x228e9f(0x112):_0x228e9f(0xc1))):null});}[_0x2e1c3f(0xdc)](_0x5ca115,_0x2b9dad,_0x13851e=!0x1,_0x482280=!0x1){const _0x393dc1=_0x2e1c3f;if(this[_0x393dc1(0xdd)]&&!_0x482280)return!0x1;const _0x14f5fc=_0xa927a4(this[_0x393dc1(0xde)])[_0x393dc1(0xea)];return _0x14f5fc[_0x393dc1(0xfe)](_0x4615b0=>{const _0x227498=_0x393dc1;this[_0x227498(0xb7)]&&this[_0x227498(0x11d)](this[_0x227498(0xb7)]),this[_0x227498(0xb7)]=_0x2b9dad,this[_0x227498(0xdd)]=_0x13851e;let _0x13c589=0x0;for(let _0x3b3e67 of _0x5ca115){const _0x77d686=_0x227498(0xd8)+_0x13c589;if(_0x3b3e67[_0x227498(0x112)][_0x227498(0xe1)]){const _0x291205=_0x3b3e67[_0x227498(0x112)][_0x227498(0x107)](({item:_0x571f90})=>!_0x14f5fc[_0x227498(0xe5)][_0x227498(0xfa)](_0x571f90),{'boundaries':_0x3b3e67});_0x3b3e67=_0x4615b0[_0x227498(0xd5)](_0x291205,_0x3b3e67[_0x227498(0xc1)]);}_0x4615b0[_0x227498(0xd2)](_0x77d686,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3b3e67}),_0x13c589++;}}),window[_0x393dc1(0xc9)]()?.[_0x393dc1(0x11f)](),!0x0;}[_0x2e1c3f(0x11d)](_0x386db5){const _0x3e2ec7=_0x2e1c3f;if(this[_0x3e2ec7(0xb7)]!=_0x386db5)return!0x1;this[_0x3e2ec7(0xb7)]=null,this[_0x3e2ec7(0xdd)]=!0x1;const _0x38a673=_0xa927a4(this[_0x3e2ec7(0xde)]),_0x5415b0=_0x38a673[_0x3e2ec7(0xea)][_0x3e2ec7(0x118)][_0x3e2ec7(0xbd)](_0x3e2ec7(0x10f));return _0x38a673[_0x3e2ec7(0xea)][_0x3e2ec7(0xfe)](_0x15322c=>{const _0x53a2c2=_0x3e2ec7;for(const _0xe971f5 of _0x5415b0)_0x15322c[_0x53a2c2(0x11a)](_0xe971f5);}),!0x0;}async[_0x2e1c3f(0xe4)](_0x3edcad){const _0x2d3403=_0x2e1c3f,_0x373434=_0xa927a4(this[_0x2d3403(0xde)]),_0x5a4441=_0x373434[_0x2d3403(0x102)][_0x2d3403(0x109)](_0x3edcad),_0x38f3c4=new _0x31a61c(_0x373434[_0x2d3403(0xb5)][_0x2d3403(0xb8)][_0x2d3403(0x106)]);return this[_0x2d3403(0xe9)](_0x5a4441,_0x38f3c4),this[_0x2d3403(0xba)](_0x5a4441);}[_0x2e1c3f(0xe9)](_0x7b7cd,_0x181f6d){const _0x15b371=_0x2e1c3f;let _0x4feee8=!0x1;const _0x2c3bc2=new Set();for(const _0x4be15d of _0x7b7cd[_0x15b371(0xd3)]()){const _0x3b0c8f=_0x4be15d['is'](_0x15b371(0xc8))||_0x4be15d['is'](_0x15b371(0x11b));if(!_0x4be15d['is'](_0x15b371(0xc4)))continue;(this[_0x15b371(0xe9)](_0x4be15d,_0x181f6d)||_0x3b0c8f)&&(_0x181f6d[_0x15b371(0xbf)](_0x15b371(0xd0),this[_0x15b371(0xe2)](_0x2c3bc2),_0x4be15d),_0x4feee8=!0x0);}return _0x4feee8;}[_0x2e1c3f(0xe2)](_0x190b38){const _0x5e577a=_0x2e1c3f;let _0x5241ca;do{_0x5241ca='';for(let _0x1d6841=0x0;_0x1d6841<0x4;_0x1d6841++)_0x5241ca+=String[_0x5e577a(0xef)](0x61+Math[_0x5e577a(0xf2)](0x1a*Math[_0x5e577a(0x10d)]()));}while(_0x190b38[_0x5e577a(0xfc)](_0x5241ca));return _0x190b38[_0x5e577a(0xe3)](_0x5241ca),_0x5241ca;}[_0x2e1c3f(0xd7)](){const _0x1ff84f=_0x2e1c3f,{model:_0x4f0e85}=_0xa927a4(this[_0x1ff84f(0xde)]),_0x251c24=_0x4f0e85[_0x1ff84f(0x106)][_0x1ff84f(0xb9)],_0xcdeb99=[];for(const _0x199e62 of _0x251c24[_0x1ff84f(0xec)]())for(const _0x48c7a0 of _0x199e62[_0x1ff84f(0xb6)]())_0x48c7a0['is'](_0x1ff84f(0x11c))?_0xcdeb99[_0x1ff84f(0x104)](_0x48c7a0[_0x1ff84f(0x102)]):_0x48c7a0['is'](_0x1ff84f(0xc4))&&_0xcdeb99[_0x1ff84f(0xd4)]>0x0&&'\x20'!==_0xcdeb99[_0xcdeb99[_0x1ff84f(0xd4)]-0x1]&&_0xcdeb99[_0x1ff84f(0x104)]('\x20');return _0xcdeb99[_0x1ff84f(0xd4)]?'\x22'+_0xcdeb99[_0x1ff84f(0xed)]('')[_0x1ff84f(0x125)]()+'\x22':_0x187d46(this[_0x1ff84f(0xde)][_0x1ff84f(0xbe)],_0x1ff84f(0xf3));}[_0x2e1c3f(0xee)](){const _0x569e14=_0x2e1c3f,_0x5ca43f=_0xa927a4(this[_0x569e14(0xde)])[_0x569e14(0xea)];return Array[_0x569e14(0xf8)](_0x5ca43f[_0x569e14(0x118)][_0x569e14(0xbd)](_0x569e14(0x10f)))[_0x569e14(0xe0)]((_0xf9ed04,_0x40d253)=>_0xf9ed04[_0x569e14(0x121)]()[_0x569e14(0xd9)](_0x40d253[_0x569e14(0x121)]())?-0x1:_0xf9ed04[_0x569e14(0x121)]()[_0x569e14(0x10b)](_0x40d253[_0x569e14(0x121)]())?0x1:0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d5c78=_0x17e7;function _0x5d80(){const _0x26584f=['497640agJpPm','_isWebSearchEnabled','setReasoning','7GEcTcn','3408108tHFNgJ','webSearch','2129205VbScwp','reset','isReasoningEnabled','isWebSearchEnabled','48jsWeMa','304GpnGsj','toggleWebSearch','105530JPIgti','reasoning','setWebSearch','4LUPQzN','1900120sAhkMX','getCapabilitiesRequestData','init','capabilitiesUpdated','7526016VMQzTc','2012HuOqMi','fire','toggleReasoning','_isReasoningEnabled','getCapabilitiesConfig'];_0x5d80=function(){return _0x26584f;};return _0x5d80();}(function(_0x15a9d6,_0x34be7d){const _0x45e81b=_0x17e7,_0x2e5406=_0x15a9d6();while(!![]){try{const _0x1269f9=parseInt(_0x45e81b(0xcc))/0x1*(parseInt(_0x45e81b(0xd7))/0x2)+parseInt(_0x45e81b(0xc7))/0x3*(parseInt(_0x45e81b(0xd1))/0x4)+parseInt(_0x45e81b(0xdc))/0x5*(parseInt(_0x45e81b(0xcb))/0x6)+-parseInt(_0x45e81b(0xdf))/0x7*(parseInt(_0x45e81b(0xd2))/0x8)+-parseInt(_0x45e81b(0xd6))/0x9+parseInt(_0x45e81b(0xce))/0xa+-parseInt(_0x45e81b(0xc5))/0xb;if(_0x1269f9===_0x34be7d)break;else _0x2e5406['push'](_0x2e5406['shift']());}catch(_0x58304e){_0x2e5406['push'](_0x2e5406['shift']());}}}(_0x5d80,0x6b1f1));function _0x17e7(_0x5e7d34,_0x3abf66){const _0x5d805d=_0x5d80();return _0x17e7=function(_0x17e7f5,_0x362102){_0x17e7f5=_0x17e7f5-0xc5;let _0x1b681f=_0x5d805d[_0x17e7f5];return _0x1b681f;},_0x17e7(_0x5e7d34,_0x3abf66);}import{EmitterMixin as _0x410872}from'ckeditor5/src/utils.js';export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x2d5c78(0xd5)];export class AICapabilities extends _0x410872(){[_0x2d5c78(0xdd)];[_0x2d5c78(0xda)];constructor(){const _0x32923a=_0x2d5c78;super(),this[_0x32923a(0xdd)]=!0x1,this[_0x32923a(0xda)]=!0x1;}[_0x2d5c78(0xd4)](){const _0x452a68=_0x2d5c78;this[_0x452a68(0xc8)]();}[_0x2d5c78(0xc8)](){const _0x2ec9c3=_0x2d5c78;this[_0x2ec9c3(0xd0)](!0x1),this[_0x2ec9c3(0xde)](!0x1);}[_0x2d5c78(0xdb)](){const _0x1968ac=_0x2d5c78;return{'isWebSearchEnabled':this[_0x1968ac(0xdd)],'isReasoningEnabled':this[_0x1968ac(0xda)]};}static[_0x2d5c78(0xd3)](_0x399644){const _0x55a3dd=_0x2d5c78,_0x179755={};return _0x399644&&_0x399644[_0x55a3dd(0xca)]&&(_0x179755[_0x55a3dd(0xc6)]={}),_0x399644&&_0x399644[_0x55a3dd(0xc9)]&&(_0x179755[_0x55a3dd(0xcf)]={}),_0x179755;}[_0x2d5c78(0xcd)](){const _0x2224f9=_0x2d5c78;this[_0x2224f9(0xd0)](!this[_0x2224f9(0xdd)]);}[_0x2d5c78(0xd9)](){const _0x523509=_0x2d5c78;this[_0x523509(0xde)](!this[_0x523509(0xda)]);}[_0x2d5c78(0xd0)](_0x14c922){const _0x4fa4b0=_0x2d5c78;_0x14c922!==this[_0x4fa4b0(0xdd)]&&(this[_0x4fa4b0(0xdd)]=_0x14c922,this[_0x4fa4b0(0xd8)](_0x4fa4b0(0xd5),this[_0x4fa4b0(0xdb)]()));}[_0x2d5c78(0xde)](_0x227c05){const _0xe89e72=_0x2d5c78;_0x227c05!==this[_0xe89e72(0xda)]&&(this[_0xe89e72(0xda)]=_0x227c05,this[_0xe89e72(0xd8)](_0xe89e72(0xd5),this[_0xe89e72(0xdb)]()));}}
23
+ function _0x54dd(){const _0x4af094=['setReasoning','10cOLgjY','isReasoningEnabled','getCapabilitiesConfig','555177vzmGFr','6268DlqIey','56805uUtPiy','setWebSearch','reset','6814960JEGhqY','webSearch','isWebSearchEnabled','_isWebSearchEnabled','toggleWebSearch','getCapabilitiesRequestData','fire','reasoning','_isReasoningEnabled','115758wzBmyQ','51NmdldQ','21536DuXJkl','13874lKODvS','toggleReasoning','1116arKTnv','init','capabilitiesUpdated'];_0x54dd=function(){return _0x4af094;};return _0x54dd();}const _0x11028c=_0x467a;function _0x467a(_0x3a28e2,_0xf7ac08){const _0x54dd8b=_0x54dd();return _0x467a=function(_0x467a79,_0x18d5ae){_0x467a79=_0x467a79-0x1a2;let _0x4c96f9=_0x54dd8b[_0x467a79];return _0x4c96f9;},_0x467a(_0x3a28e2,_0xf7ac08);}(function(_0x39054f,_0x1d6b47){const _0x3fff9b=_0x467a,_0x5dd738=_0x39054f();while(!![]){try{const _0x8dc3da=-parseInt(_0x3fff9b(0x1ad))/0x1+parseInt(_0x3fff9b(0x1a2))/0x2*(-parseInt(_0x3fff9b(0x1ba))/0x3)+-parseInt(_0x3fff9b(0x1ac))/0x4*(-parseInt(_0x3fff9b(0x1a8))/0x5)+parseInt(_0x3fff9b(0x1b9))/0x6+parseInt(_0x3fff9b(0x1ab))/0x7+-parseInt(_0x3fff9b(0x1bb))/0x8*(parseInt(_0x3fff9b(0x1a4))/0x9)+parseInt(_0x3fff9b(0x1b0))/0xa;if(_0x8dc3da===_0x1d6b47)break;else _0x5dd738['push'](_0x5dd738['shift']());}catch(_0x39fce5){_0x5dd738['push'](_0x5dd738['shift']());}}}(_0x54dd,0x43104));import{EmitterMixin as _0x1d56d6}from'ckeditor5/src/utils.js';export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x11028c(0x1a6)];export class AICapabilities extends _0x1d56d6(){[_0x11028c(0x1b3)];[_0x11028c(0x1b8)];constructor(){const _0x5d3fd2=_0x11028c;super(),this[_0x5d3fd2(0x1b3)]=!0x1,this[_0x5d3fd2(0x1b8)]=!0x1;}[_0x11028c(0x1a5)](){const _0x5681c4=_0x11028c;this[_0x5681c4(0x1af)]();}[_0x11028c(0x1af)](){const _0x14f741=_0x11028c;this[_0x14f741(0x1ae)](!0x1),this[_0x14f741(0x1a7)](!0x1);}[_0x11028c(0x1aa)](){const _0x422bcb=_0x11028c;return{'isWebSearchEnabled':this[_0x422bcb(0x1b3)],'isReasoningEnabled':this[_0x422bcb(0x1b8)]};}static[_0x11028c(0x1b5)](_0x2937d2){const _0x4c56a4=_0x11028c,_0x3c3cdd={};return _0x2937d2&&_0x2937d2[_0x4c56a4(0x1b2)]&&(_0x3c3cdd[_0x4c56a4(0x1b1)]={}),_0x2937d2&&_0x2937d2[_0x4c56a4(0x1a9)]&&(_0x3c3cdd[_0x4c56a4(0x1b7)]={}),_0x3c3cdd;}[_0x11028c(0x1b4)](){const _0x4289b4=_0x11028c;this[_0x4289b4(0x1ae)](!this[_0x4289b4(0x1b3)]);}[_0x11028c(0x1a3)](){const _0x1ea180=_0x11028c;this[_0x1ea180(0x1a7)](!this[_0x1ea180(0x1b8)]);}[_0x11028c(0x1ae)](_0x2309c4){const _0x534a3b=_0x11028c;_0x2309c4!==this[_0x534a3b(0x1b3)]&&(this[_0x534a3b(0x1b3)]=_0x2309c4,this[_0x534a3b(0x1b6)](_0x534a3b(0x1a6),this[_0x534a3b(0x1aa)]()));}[_0x11028c(0x1a7)](_0x31e282){const _0x5d5e8f=_0x11028c;_0x31e282!==this[_0x5d5e8f(0x1b8)]&&(this[_0x5d5e8f(0x1b8)]=_0x31e282,this[_0x5d5e8f(0x1b6)](_0x5d5e8f(0x1a6),this[_0x5d5e8f(0x1aa)]()));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5bb641,_0x55aeac){var _0xc8860=_0x283d,_0x4fb8f1=_0x5bb641();while(!![]){try{var _0x2d4f68=parseInt(_0xc8860(0x17d))/0x1+parseInt(_0xc8860(0x188))/0x2+parseInt(_0xc8860(0x172))/0x3+parseInt(_0xc8860(0x17b))/0x4*(-parseInt(_0xc8860(0x187))/0x5)+parseInt(_0xc8860(0x183))/0x6*(parseInt(_0xc8860(0x186))/0x7)+-parseInt(_0xc8860(0x180))/0x8*(-parseInt(_0xc8860(0x17e))/0x9)+-parseInt(_0xc8860(0x189))/0xa;if(_0x2d4f68===_0x55aeac)break;else _0x4fb8f1['push'](_0x4fb8f1['shift']());}catch(_0x4b2f86){_0x4fb8f1['push'](_0x4fb8f1['shift']());}}}(_0x44c1,0x3f52b));export var AIContextItemType;function _0x283d(_0x5b976a,_0x2c071e){var _0x44c11b=_0x44c1();return _0x283d=function(_0x283d96,_0xae9095){_0x283d96=_0x283d96-0x170;var _0x2aa29b=_0x44c11b[_0x283d96];return _0x2aa29b;},_0x283d(_0x5b976a,_0x2c071e);}function _0x44c1(){var _0x104922=['130816YhwLTE','296345VYWWVk','16912VAuJYn','5760790gvsdJe','DOCUMENT','markdown','199020VTmNll','HTML','URL','MARKDOWN','text','document','html','web-resource','TOOL','4aNiuTA','SELECTION','273697lHFRnj','60822UeYJCL','FILE','536cDnVlV','selection','file','30ehGjta','mcp-tool-context','TEXT'];_0x44c1=function(){return _0x104922;};return _0x44c1();}!function(_0x5f3947){var _0x12b75b=_0x283d;_0x5f3947[_0x12b75b(0x17a)]=_0x12b75b(0x184),_0x5f3947[_0x12b75b(0x17f)]=_0x12b75b(0x182),_0x5f3947[_0x12b75b(0x170)]=_0x12b75b(0x177),_0x5f3947[_0x12b75b(0x174)]=_0x12b75b(0x179),_0x5f3947[_0x12b75b(0x185)]=_0x12b75b(0x176),_0x5f3947[_0x12b75b(0x17c)]=_0x12b75b(0x181);}(AIContextItemType||(AIContextItemType={}));export var AIContextTextResourceType;!function(_0x119559){var _0xf8f54e=_0x283d;_0x119559[_0xf8f54e(0x185)]=_0xf8f54e(0x176),_0x119559[_0xf8f54e(0x175)]=_0xf8f54e(0x171),_0x119559[_0xf8f54e(0x173)]=_0xf8f54e(0x178);}(AIContextTextResourceType||(AIContextTextResourceType={}));
23
+ (function(_0x1d08d0,_0x43b736){var _0x4252d9=_0x5074,_0x4f4d5e=_0x1d08d0();while(!![]){try{var _0x526e93=parseInt(_0x4252d9(0x107))/0x1+parseInt(_0x4252d9(0x10e))/0x2+-parseInt(_0x4252d9(0x100))/0x3+parseInt(_0x4252d9(0x10c))/0x4*(parseInt(_0x4252d9(0xff))/0x5)+-parseInt(_0x4252d9(0x101))/0x6*(-parseInt(_0x4252d9(0x104))/0x7)+parseInt(_0x4252d9(0x117))/0x8*(-parseInt(_0x4252d9(0x10f))/0x9)+parseInt(_0x4252d9(0xfd))/0xa*(-parseInt(_0x4252d9(0x109))/0xb);if(_0x526e93===_0x43b736)break;else _0x4f4d5e['push'](_0x4f4d5e['shift']());}catch(_0x2ace12){_0x4f4d5e['push'](_0x4f4d5e['shift']());}}}(_0x4172,0x468ce));export var AIContextItemType;!function(_0x5933a6){var _0x418b7d=_0x5074;_0x5933a6[_0x418b7d(0xfe)]=_0x418b7d(0x10b),_0x5933a6[_0x418b7d(0x111)]=_0x418b7d(0x102),_0x5933a6[_0x418b7d(0x103)]=_0x418b7d(0x10a),_0x5933a6[_0x418b7d(0x106)]=_0x418b7d(0x113),_0x5933a6[_0x418b7d(0x112)]=_0x418b7d(0x115),_0x5933a6[_0x418b7d(0x108)]=_0x418b7d(0x10d);}(AIContextItemType||(AIContextItemType={}));function _0x5074(_0x20cf05,_0x4c1d99){var _0x417275=_0x4172();return _0x5074=function(_0x50747a,_0x3e7c24){_0x50747a=_0x50747a-0xfd;var _0x1a5594=_0x417275[_0x50747a];return _0x1a5594;},_0x5074(_0x20cf05,_0x4c1d99);}export var AIContextTextResourceType;!function(_0x5015e2){var _0x2f6382=_0x5074;_0x5015e2[_0x2f6382(0x112)]=_0x2f6382(0x115),_0x5015e2[_0x2f6382(0x116)]=_0x2f6382(0x110),_0x5015e2[_0x2f6382(0x105)]=_0x2f6382(0x114);}(AIContextTextResourceType||(AIContextTextResourceType={}));function _0x4172(){var _0x55d7b4=['web-resource','html','text','MARKDOWN','8RphbyO','4047740kaNkDn','TOOL','1133590NzCJZd','1410132UXmoIl','1974NPAoee','file','DOCUMENT','9023kBcHNA','HTML','URL','50887fwZWma','SELECTION','11taETSR','document','mcp-tool-context','8dKKirp','selection','623922mpNMfM','689157QZVEVD','markdown','FILE','TEXT'];_0x4172=function(){return _0x55d7b4;};return _0x4172();}