@ckeditor/ckeditor5-ai 47.7.0 → 47.7.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 _0x5aa174=_0x2984;(function(_0x2ffb64,_0x3ad3e9){const _0x5c1cf=_0x2984,_0x59f42b=_0x2ffb64();while(!![]){try{const _0x45e2c0=parseInt(_0x5c1cf(0x21a))/0x1+-parseInt(_0x5c1cf(0x205))/0x2+-parseInt(_0x5c1cf(0x204))/0x3*(parseInt(_0x5c1cf(0x233))/0x4)+-parseInt(_0x5c1cf(0x23a))/0x5+-parseInt(_0x5c1cf(0x229))/0x6+-parseInt(_0x5c1cf(0x237))/0x7+parseInt(_0x5c1cf(0x234))/0x8*(parseInt(_0x5c1cf(0x1ee))/0x9);if(_0x45e2c0===_0x3ad3e9)break;else _0x59f42b['push'](_0x59f42b['shift']());}catch(_0x1f76c5){_0x59f42b['push'](_0x59f42b['shift']());}}}(_0x35cd,0xdb139));import{ListItemView as _0x433fa8,HighlightedTextView as _0x5699aa,ButtonView as _0x3ac72c,ListView as _0x525614,IconView as _0x1b5665,createDropdown as _0x2231f9,InputTextView as _0x39e8d4}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x36c044,IconPin as _0x5ba1d5,IconCheck as _0x2f93ad,IconCancel as _0x21f5b5}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x166128,ConfirmMixin as _0x3d0cd0}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x1fea0}from'es-toolkit/compat';function _0x35cd(){const _0x218384=['ck-ai-chat-history__item','3lzhJBf','1682200pekINv','AI_CHAT_HISTORY_REMOVE_CONFIRM','removeConversation','bindTemplate','isMatching','ck-ai-chat-history__item-main-content','ck-ai-chat-history__item-title','loadingState','isOn','setTemplate','isVisible','_createCancelEditButtonView','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','Enter','LOADING_LABELS','_createAcceptEditButtonView','createCollection','execute','set','focus','withText','1494321oESMRo','key','label','selectConversation','ck-ai-chat-history__item-row','AI_CHAT_HISTORY_LOADING_UNPINNING','_createEditInputView','add','ck-ai-chat-history__item-actions','span','AI_CHAT_HISTORY_LOADING_RENAMING','clear','text','then','element','9406608dxbvmK','setConversationPinned','click','extendTemplate','highlightText','updateLoadingState','ck-ai-chat-history__item--edit','_createPinButtonView','AI_CHAT_HISTORY_REMOVE','AI_CHAT_HISTORY_LOADING_PINNING','239864ewrAgc','17039824oXNoiq','change:isEdit','buttonView','1082249YCOmgL','ck-hidden','items','517605tOReYZ','editConversationTitle','string','div','ck-ai-loader__text','_createMenuDropdownView','panelView','AI_CHAT_HISTORY_LOADING_REMOVING','ck-ai-chat-history__item--active','tiny','children','ck-ai-chat-history__item-check-container','pinned','updateTitle','value','match','showConfirm','_titleView','listitem','_createSpinnerView','edit:cancel','9RjvNas','addMany','isEdit','AI_CHAT_HISTORY_EDIT_NAME','AI_CHAT_HISTORY_CANCEL','actions','ck-ai-chat-history__item-content','ck-confirm-view-submit','AI_CHAT_HISTORY_PIN_BUTTON','panelPosition','fire','mainContent','_createCheckView','ck-confirm-view-cancel','ck-ai-chat-history__item-check','locale','bind','_commitEditInputValue','ck-ai-loader','ck-ai-chat-history__item-date','AI_CHAT_HISTORY_ACCEPT'];_0x35cd=function(){return _0x218384;};return _0x35cd();}import{AISpinnerView as _0x227b32}from'../../aicore/ui/aispinner.js';import{getTranslation as _0xc5e803}from'../../aicore/utils/common-translations.js';function _0x2984(_0x1f4aab,_0x637e63){const _0x35cd2b=_0x35cd();return _0x2984=function(_0x29844e,_0x3ff02f){_0x29844e=_0x29844e-0x1df;let _0x27bdca=_0x35cd2b[_0x29844e];return _0x27bdca;},_0x2984(_0x1f4aab,_0x637e63);}export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
- _0x3d0cd0(_0x433fa8){['id'];static [_0x5aa174(0x213)]={'remove':_0x5aa174(0x1e0),'rename':_0x5aa174(0x224),'pin':_0x5aa174(0x232),'unpin':_0x5aa174(0x21f)};[_0x5aa174(0x1f3)];[_0x5aa174(0x1f9)];[_0x5aa174(0x1ea)];constructor(_0x42374c,_0x3f82e3){const _0x4a7f09=_0x5aa174;super(_0x42374c);const _0x46bc6c=this[_0x4a7f09(0x208)];this[_0x4a7f09(0x217)](_0x4a7f09(0x1f0),!0x1),this[_0x4a7f09(0x217)](_0x4a7f09(0x20f),!0x0),this[_0x4a7f09(0x217)](_0x4a7f09(0x1e5),!!_0x3f82e3[_0x4a7f09(0x1e5)]),this[_0x4a7f09(0x217)](_0x4a7f09(0x20c),null),this['id']=_0x3f82e3['id'];const {title:_0x540742,createdAt:_0x5092e7,active:_0xebcf5c=!0x1}=_0x3f82e3;this[_0x4a7f09(0x1ea)]=new _0x5699aa(),this[_0x4a7f09(0x1ea)][_0x4a7f09(0x226)]=_0x540742,this[_0x4a7f09(0x1ea)][_0x4a7f09(0x22c)]({'attributes':{'class':[_0x4a7f09(0x20b)]}});const _0x3bfe10=this[_0x4a7f09(0x1fa)](),_0x3f4a48=this[_0x4a7f09(0x230)](_0x42374c),_0x2cda5e=this[_0x4a7f09(0x23f)](),_0x55fc71=this[_0x4a7f09(0x220)](_0x42374c,_0x540742),_0x68a546=this[_0x4a7f09(0x214)](_0x42374c,_0x55fc71),_0x3ae966=this[_0x4a7f09(0x210)](_0x42374c,_0x55fc71);this[_0x4a7f09(0x1f3)]=this[_0x4a7f09(0x215)](),this[_0x4a7f09(0x1f9)]=this[_0x4a7f09(0x215)](),this[_0x4a7f09(0x1f9)][_0x4a7f09(0x221)](this[_0x4a7f09(0x1ea)]),this[_0x4a7f09(0x1f3)][_0x4a7f09(0x221)](_0x3f4a48),this[_0x4a7f09(0x1f3)][_0x4a7f09(0x221)](_0x2cda5e),this['on'](_0x4a7f09(0x235),(_0x4c067a,_0x464419,_0x54241c)=>{const _0x55c3da=_0x4a7f09;this[_0x55c3da(0x1f3)][_0x55c3da(0x225)](),this[_0x55c3da(0x1f9)][_0x55c3da(0x225)](),_0x54241c?(this[_0x55c3da(0x1f3)][_0x55c3da(0x221)](_0x68a546),this[_0x55c3da(0x1f3)][_0x55c3da(0x221)](_0x3ae966),this[_0x55c3da(0x1f9)][_0x55c3da(0x221)](_0x55fc71),_0x55fc71[_0x55c3da(0x228)][_0x55c3da(0x218)]()):(this[_0x55c3da(0x1f3)][_0x55c3da(0x221)](_0x3f4a48),this[_0x55c3da(0x1f3)][_0x55c3da(0x221)](_0x2cda5e),this[_0x55c3da(0x1f9)][_0x55c3da(0x221)](this[_0x55c3da(0x1ea)]));}),this[_0x4a7f09(0x20e)]({'tag':'li','attributes':{'class':[_0x4a7f09(0x203),_0xebcf5c?_0x4a7f09(0x1e1):'',_0x46bc6c['if'](_0x4a7f09(0x20f),_0x4a7f09(0x238),_0x2dbd94=>!_0x2dbd94),_0x46bc6c['if'](_0x4a7f09(0x1f0),_0x4a7f09(0x22f))],'role':_0x4a7f09(0x1eb)},'children':[{'tag':_0x4a7f09(0x223),'attributes':{'class':[_0x4a7f09(0x1e4)]},'children':[{'tag':_0x4a7f09(0x23d),'attributes':{'class':[_0x4a7f09(0x1fc),_0x46bc6c['if'](_0x4a7f09(0x20c),_0x4a7f09(0x238),_0x319947=>!!_0x319947)]},'children':_0xebcf5c?[_0x3bfe10]:[]},{'tag':_0x4a7f09(0x23d),'attributes':{'class':[_0x4a7f09(0x200),_0x46bc6c['if'](_0x4a7f09(0x20c),_0x4a7f09(0x238),_0xca3c78=>!_0xca3c78)]},'children':[this[_0x4a7f09(0x1ec)]()]}]},{'tag':_0x4a7f09(0x23d),'attributes':{'class':[_0x4a7f09(0x21e)]},'children':[{'tag':_0x4a7f09(0x23d),'attributes':{'class':[_0x4a7f09(0x1f4)]},'on':{'click':this[_0x4a7f09(0x208)]['to'](_0x4a7f09(0x22b))},'children':[{'tag':_0x4a7f09(0x23d),'attributes':{'class':[_0x4a7f09(0x20a)]},'children':[{'tag':_0x4a7f09(0x23d),'attributes':{'class':[_0x4a7f09(0x20b),_0x46bc6c['if'](_0x4a7f09(0x20c),_0x4a7f09(0x238),_0x235873=>!!_0x235873)]},'children':this[_0x4a7f09(0x1f9)]},{'tag':_0x4a7f09(0x23d),'attributes':{'class':[_0x4a7f09(0x23e),_0x46bc6c['if'](_0x4a7f09(0x20c),_0x4a7f09(0x238),_0x4961f2=>!_0x4961f2)]},'children':[{'text':_0x46bc6c['to'](_0x4a7f09(0x20c),_0x3ee58b=>_0x3ee58b?_0xc5e803(this[_0x4a7f09(0x1fd)],AIChatHistoryListItemView[_0x4a7f09(0x213)][_0x3ee58b]):'')}]}]},{'tag':_0x4a7f09(0x223),'attributes':{'class':[_0x4a7f09(0x201)]},'children':[_0x5092e7]}]},{'tag':_0x4a7f09(0x23d),'attributes':{'class':[_0x4a7f09(0x222)]},'children':this[_0x4a7f09(0x1f3)]}]}]}),this['on'](_0x4a7f09(0x22b),()=>{const _0x58181f=_0x4a7f09;this[_0x58181f(0x1f0)]||this[_0x58181f(0x1f8)](_0x58181f(0x21d),{'id':this['id']});});}[_0x5aa174(0x1e6)](_0x5c1632){const _0x247a22=_0x5aa174;this[_0x247a22(0x1ea)][_0x247a22(0x226)]=_0x1fea0(_0x5c1632);}[_0x5aa174(0x22e)](_0x10acb3,_0x373084){const _0x5840c2=_0x5aa174;this[_0x5840c2(0x217)](_0x5840c2(0x20c),_0x373084?_0x10acb3:null);}[_0x5aa174(0x1fa)](){const _0x527612=_0x5aa174,_0x194c20=new _0x1b5665();return _0x194c20[_0x527612(0x217)]({'content':_0x2f93ad}),_0x194c20;}[_0x5aa174(0x230)](_0xffb38c){const _0x5a552a=_0x5aa174,_0x4d4d95=new _0x3ac72c(_0xffb38c);return _0x4d4d95[_0x5a552a(0x217)]({'label':_0xc5e803(_0xffb38c,_0x5a552a(0x1f6)),'icon':_0x5ba1d5,'withText':!0x1,'tooltip':!0x0}),_0x4d4d95[_0x5a552a(0x1fe)](_0x5a552a(0x20d))['to'](this,_0x5a552a(0x1e5)),_0x4d4d95['on'](_0x5a552a(0x216),()=>{const _0x3c7938=_0x5a552a,_0x5866e8=!this[_0x3c7938(0x1e5)];this[_0x3c7938(0x1f8)](_0x3c7938(0x22a),{'id':this['id'],'pinned':_0x5866e8});}),_0x4d4d95;}[_0x5aa174(0x23f)](){const _0x1b86f5=_0x5aa174,_0x46adb3=_0x2231f9(this[_0x1b86f5(0x1fd)],_0x166128),_0x30e72e=_0x46adb3[_0x1b86f5(0x1df)][_0x1b86f5(0x1e3)];_0x46adb3[_0x1b86f5(0x236)][_0x1b86f5(0x217)]({'label':_0xc5e803(this[_0x1b86f5(0x1fd)],_0x1b86f5(0x211)),'icon':_0x36c044}),_0x46adb3[_0x1b86f5(0x1f7)]='sw';const _0x486d8b=new _0x3ac72c(this[_0x1b86f5(0x1fd)]);_0x486d8b[_0x1b86f5(0x21c)]=_0xc5e803(this[_0x1b86f5(0x1fd)],_0x1b86f5(0x1f1)),_0x486d8b[_0x1b86f5(0x219)]=!0x0,_0x486d8b['on'](_0x1b86f5(0x216),()=>{const _0x132a7b=_0x1b86f5;this[_0x132a7b(0x1f0)]=!0x0;});const _0x5b1574=new _0x3ac72c(this[_0x1b86f5(0x1fd)]);_0x5b1574[_0x1b86f5(0x21c)]=_0xc5e803(this[_0x1b86f5(0x1fd)],_0x1b86f5(0x231)),_0x5b1574[_0x1b86f5(0x219)]=!0x0,_0x5b1574['on'](_0x1b86f5(0x216),()=>{const _0xcf8115=_0x1b86f5;this[_0xcf8115(0x1e9)](_0xc5e803(this[_0xcf8115(0x1fd)],_0xcf8115(0x206)),this[_0xcf8115(0x228)])[_0xcf8115(0x227)](()=>{const _0x43c657=_0xcf8115;this[_0x43c657(0x1f8)](_0x43c657(0x207),{'id':this['id']});});});const _0x3febe4=new _0x525614(this[_0x1b86f5(0x1fd)]),_0x1aa17c=new _0x433fa8(this[_0x1b86f5(0x1fd)]);_0x1aa17c[_0x1b86f5(0x1e3)][_0x1b86f5(0x221)](_0x486d8b);const _0x4dc434=new _0x433fa8(this[_0x1b86f5(0x1fd)]);return _0x4dc434[_0x1b86f5(0x1e3)][_0x1b86f5(0x221)](_0x5b1574),_0x3febe4[_0x1b86f5(0x239)][_0x1b86f5(0x1ef)]([_0x1aa17c,_0x4dc434]),_0x30e72e[_0x1b86f5(0x221)](_0x3febe4),_0x46adb3;}[_0x5aa174(0x220)](_0x4c345c,_0x2a13f8){const _0x34df21=_0x5aa174,_0x173800=new _0x39e8d4(_0x4c345c),_0x1aa9fa=_0x173800[_0x34df21(0x208)];return _0x173800[_0x34df21(0x1e7)]=_0x2a13f8,_0x173800[_0x34df21(0x22c)]({'on':{'keydown':_0x1aa9fa['to'](_0x343dd9=>{const _0x40177c=_0x34df21;_0x40177c(0x212)==_0x343dd9[_0x40177c(0x21b)]&&this[_0x40177c(0x1ff)](_0x173800);})}}),_0x173800;}[_0x5aa174(0x214)](_0x90aca3,_0x1fe587){const _0xca8b16=_0x5aa174,_0x2a89ad=new _0x3ac72c(_0x90aca3);return _0x2a89ad[_0xca8b16(0x217)]({'icon':_0x2f93ad,'withText':!0x1,'tooltip':_0xc5e803(_0x90aca3,_0xca8b16(0x202))}),_0x2a89ad[_0xca8b16(0x22c)]({'attributes':{'class':[_0xca8b16(0x1f5)]}}),_0x2a89ad['on'](_0xca8b16(0x216),()=>{const _0xf0fd30=_0xca8b16;this[_0xf0fd30(0x1ff)](_0x1fe587);}),_0x2a89ad;}[_0x5aa174(0x1ff)](_0x2d9677){const _0x6454c6=_0x5aa174,_0x2b15b3=_0x2d9677[_0x6454c6(0x228)][_0x6454c6(0x1e7)]||'';this[_0x6454c6(0x1ea)][_0x6454c6(0x226)]=_0x2b15b3,this[_0x6454c6(0x1f0)]=!0x1,this[_0x6454c6(0x1f8)](_0x6454c6(0x23b),{'id':this['id'],'title':_0x2b15b3});}[_0x5aa174(0x210)](_0x33baaa,_0x4d78b2){const _0x12f2d8=_0x5aa174,_0x31279d=new _0x3ac72c(_0x33baaa);return _0x31279d[_0x12f2d8(0x217)]({'icon':_0x21f5b5,'withText':!0x1,'tooltip':_0xc5e803(_0x33baaa,_0x12f2d8(0x1f2))}),_0x31279d[_0x12f2d8(0x22c)]({'attributes':{'class':[_0x12f2d8(0x1fb)]}}),_0x31279d['on'](_0x12f2d8(0x216),()=>{const _0x219eda=_0x12f2d8;this[_0x219eda(0x1f0)]=!0x1,_0x4d78b2[_0x219eda(0x1e7)]=this[_0x219eda(0x1ea)][_0x219eda(0x226)]||'',this[_0x219eda(0x1f8)](_0x219eda(0x1ed));}),_0x31279d;}[_0x5aa174(0x1ec)](){const _0x117aaf=_0x5aa174,_0x5b8626=new _0x227b32(_0x117aaf(0x1e2));return _0x5b8626[_0x117aaf(0x20f)]=!0x0,_0x5b8626;}[_0x5aa174(0x209)](_0x1d01a3){const _0x5a1710=_0x5aa174;return this[_0x5a1710(0x1ea)]&&_0x5a1710(0x23c)==typeof this[_0x5a1710(0x1ea)][_0x5a1710(0x226)]&&this[_0x5a1710(0x1ea)][_0x5a1710(0x226)][_0x5a1710(0x1e8)](_0x1d01a3)?{'title':!0x0}:null;}[_0x5aa174(0x22d)](_0x579b95){const _0x4f26e1=_0x5aa174;this[_0x4f26e1(0x1ea)][_0x4f26e1(0x22d)](_0x579b95);}}
23
+ function _0x3cca(_0x5f0cd6,_0x484dc2){const _0x98d602=_0x98d6();return _0x3cca=function(_0x3ccaf0,_0x41b846){_0x3ccaf0=_0x3ccaf0-0xf7;let _0x321a7b=_0x98d602[_0x3ccaf0];return _0x321a7b;},_0x3cca(_0x5f0cd6,_0x484dc2);}const _0xa449d3=_0x3cca;(function(_0x4d6198,_0x26ea61){const _0x2ef69d=_0x3cca,_0x220626=_0x4d6198();while(!![]){try{const _0x38f8e6=parseInt(_0x2ef69d(0x117))/0x1+-parseInt(_0x2ef69d(0x103))/0x2+-parseInt(_0x2ef69d(0x12b))/0x3+parseInt(_0x2ef69d(0xfb))/0x4*(-parseInt(_0x2ef69d(0x136))/0x5)+-parseInt(_0x2ef69d(0x10f))/0x6*(parseInt(_0x2ef69d(0x134))/0x7)+-parseInt(_0x2ef69d(0x145))/0x8*(-parseInt(_0x2ef69d(0x14b))/0x9)+parseInt(_0x2ef69d(0x132))/0xa*(parseInt(_0x2ef69d(0x118))/0xb);if(_0x38f8e6===_0x26ea61)break;else _0x220626['push'](_0x220626['shift']());}catch(_0x4e45a3){_0x220626['push'](_0x220626['shift']());}}}(_0x98d6,0xb2472));import{ListItemView as _0x75fc1e,HighlightedTextView as _0xcacadd,ButtonView as _0x3f1a91,ListView as _0x3686d3,IconView as _0x203f6b,createDropdown as _0x4db734,InputTextView as _0x44899b}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x2dcd0b,IconPin as _0x236447,IconCheck as _0x403307,IconCancel as _0x9f5594}from'ckeditor5/src/icons.js';function _0x98d6(){const _0x53d9d7=['fire','AI_CHAT_HISTORY_EDIT_NAME','withText','string','AI_CHAT_HISTORY_LOADING_REMOVING','9rLqEEm','pinned','ck-ai-chat-history__item--active','buttonView','bindTemplate','children','ck-ai-chat-history__item-row','AI_CHAT_HISTORY_REMOVE','set','AI_CHAT_HISTORY_REMOVE_CONFIRM','click','match','change:isEdit','ck-ai-chat-history__item--edit','panelView','_createSpinnerView','locale','ck-ai-loader','span','73868ApkmmS','panelPosition','_createMenuDropdownView','ck-ai-chat-history__item-date','ck-ai-chat-history__item-actions','ck-ai-chat-history__item','AI_CHAT_HISTORY_CANCEL','items','2151054VJZdOW','then','AI_CHAT_HISTORY_LOADING_RENAMING','element','listitem','label','_createAcceptEditButtonView','tiny','editConversationTitle','_createCheckView','ck-hidden','_createPinButtonView','2360082SEEXUH','extendTemplate','AI_CHAT_HISTORY_ACCEPT','text','focus','highlightText','ck-confirm-view-submit','AI_CHAT_HISTORY_LOADING_UNPINNING','260151WISRqD','1459271FRUFca','ck-ai-chat-history__item-check','_createCancelEditButtonView','div','actions','isOn','ck-confirm-view-cancel','updateTitle','clear','Enter','mainContent','updateLoadingState','_titleView','ck-ai-loader__text','setConversationPinned','ck-ai-chat-history__item-title','isMatching','isVisible','showConfirm','3164676sNHyBW','setTemplate','edit:cancel','removeConversation','bind','AI_CHAT_HISTORY_LOADING_PINNING','execute','190pxgGTV','createCollection','7XJDwAh','key','200vAhiWo','add','ck-ai-chat-history__item-main-content','addMany','ck-ai-chat-history__item-content','loadingState','isEdit','LOADING_LABELS','_createEditInputView','selectConversation','ck-ai-chat-history__item-check-container','AI_CHAT_HISTORY_PIN_BUTTON','_commitEditInputValue','value','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','9695696NCaaJZ'];_0x98d6=function(){return _0x53d9d7;};return _0x98d6();}import{LateFocusDropdownButtonView as _0x6641bf,ConfirmMixin as _0x14b505}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x45a8c7}from'es-toolkit/compat';import{AISpinnerView as _0x4a5ae8}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x452323}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
+ _0x14b505(_0x75fc1e){['id'];static [_0xa449d3(0x13d)]={'remove':_0xa449d3(0x14a),'rename':_0xa449d3(0x105),'pin':_0xa449d3(0x130),'unpin':_0xa449d3(0x116)};[_0xa449d3(0x11c)];[_0xa449d3(0x122)];[_0xa449d3(0x124)];constructor(_0x26e37a,_0x5db7ea){const _0x2b5b99=_0xa449d3;super(_0x26e37a);const _0x39bc01=this[_0x2b5b99(0x14f)];this[_0x2b5b99(0x153)](_0x2b5b99(0x13c),!0x1),this[_0x2b5b99(0x153)](_0x2b5b99(0x129),!0x0),this[_0x2b5b99(0x153)](_0x2b5b99(0x14c),!!_0x5db7ea[_0x2b5b99(0x14c)]),this[_0x2b5b99(0x153)](_0x2b5b99(0x13b),null),this['id']=_0x5db7ea['id'];const {title:_0xa947bc,createdAt:_0x2428c8,active:_0x199c70=!0x1}=_0x5db7ea;this[_0x2b5b99(0x124)]=new _0xcacadd(),this[_0x2b5b99(0x124)][_0x2b5b99(0x112)]=_0xa947bc,this[_0x2b5b99(0x124)][_0x2b5b99(0x110)]({'attributes':{'class':[_0x2b5b99(0x127)]}});const _0x55269d=this[_0x2b5b99(0x10c)](),_0x39a4b2=this[_0x2b5b99(0x10e)](_0x26e37a),_0x2e61b2=this[_0x2b5b99(0xfd)](),_0x1b4b91=this[_0x2b5b99(0x13e)](_0x26e37a,_0xa947bc),_0x549d52=this[_0x2b5b99(0x109)](_0x26e37a,_0x1b4b91),_0x4cae9=this[_0x2b5b99(0x11a)](_0x26e37a,_0x1b4b91);this[_0x2b5b99(0x11c)]=this[_0x2b5b99(0x133)](),this[_0x2b5b99(0x122)]=this[_0x2b5b99(0x133)](),this[_0x2b5b99(0x122)][_0x2b5b99(0x137)](this[_0x2b5b99(0x124)]),this[_0x2b5b99(0x11c)][_0x2b5b99(0x137)](_0x39a4b2),this[_0x2b5b99(0x11c)][_0x2b5b99(0x137)](_0x2e61b2),this['on'](_0x2b5b99(0x157),(_0xc4ff41,_0x45cba0,_0x9bb954)=>{const _0x2067c7=_0x2b5b99;this[_0x2067c7(0x11c)][_0x2067c7(0x120)](),this[_0x2067c7(0x122)][_0x2067c7(0x120)](),_0x9bb954?(this[_0x2067c7(0x11c)][_0x2067c7(0x137)](_0x549d52),this[_0x2067c7(0x11c)][_0x2067c7(0x137)](_0x4cae9),this[_0x2067c7(0x122)][_0x2067c7(0x137)](_0x1b4b91),_0x1b4b91[_0x2067c7(0x106)][_0x2067c7(0x113)]()):(this[_0x2067c7(0x11c)][_0x2067c7(0x137)](_0x39a4b2),this[_0x2067c7(0x11c)][_0x2067c7(0x137)](_0x2e61b2),this[_0x2067c7(0x122)][_0x2067c7(0x137)](this[_0x2067c7(0x124)]));}),this[_0x2b5b99(0x12c)]({'tag':'li','attributes':{'class':[_0x2b5b99(0x100),_0x199c70?_0x2b5b99(0x14d):'',_0x39bc01['if'](_0x2b5b99(0x129),_0x2b5b99(0x10d),_0x5bba88=>!_0x5bba88),_0x39bc01['if'](_0x2b5b99(0x13c),_0x2b5b99(0x158))],'role':_0x2b5b99(0x107)},'children':[{'tag':_0x2b5b99(0xfa),'attributes':{'class':[_0x2b5b99(0x140)]},'children':[{'tag':_0x2b5b99(0x11b),'attributes':{'class':[_0x2b5b99(0x119),_0x39bc01['if'](_0x2b5b99(0x13b),_0x2b5b99(0x10d),_0x28ba50=>!!_0x28ba50)]},'children':_0x199c70?[_0x55269d]:[]},{'tag':_0x2b5b99(0x11b),'attributes':{'class':[_0x2b5b99(0xf9),_0x39bc01['if'](_0x2b5b99(0x13b),_0x2b5b99(0x10d),_0x1f2b31=>!_0x1f2b31)]},'children':[this[_0x2b5b99(0xf7)]()]}]},{'tag':_0x2b5b99(0x11b),'attributes':{'class':[_0x2b5b99(0x151)]},'children':[{'tag':_0x2b5b99(0x11b),'attributes':{'class':[_0x2b5b99(0x13a)]},'on':{'click':this[_0x2b5b99(0x14f)]['to'](_0x2b5b99(0x155))},'children':[{'tag':_0x2b5b99(0x11b),'attributes':{'class':[_0x2b5b99(0x138)]},'children':[{'tag':_0x2b5b99(0x11b),'attributes':{'class':[_0x2b5b99(0x127),_0x39bc01['if'](_0x2b5b99(0x13b),_0x2b5b99(0x10d),_0x16427a=>!!_0x16427a)]},'children':this[_0x2b5b99(0x122)]},{'tag':_0x2b5b99(0x11b),'attributes':{'class':[_0x2b5b99(0x125),_0x39bc01['if'](_0x2b5b99(0x13b),_0x2b5b99(0x10d),_0x28984f=>!_0x28984f)]},'children':[{'text':_0x39bc01['to'](_0x2b5b99(0x13b),_0x3e8be6=>_0x3e8be6?_0x452323(this[_0x2b5b99(0xf8)],AIChatHistoryListItemView[_0x2b5b99(0x13d)][_0x3e8be6]):'')}]}]},{'tag':_0x2b5b99(0xfa),'attributes':{'class':[_0x2b5b99(0xfe)]},'children':[_0x2428c8]}]},{'tag':_0x2b5b99(0x11b),'attributes':{'class':[_0x2b5b99(0xff)]},'children':this[_0x2b5b99(0x11c)]}]}]}),this['on'](_0x2b5b99(0x155),()=>{const _0x46dc45=_0x2b5b99;this[_0x46dc45(0x13c)]||this[_0x46dc45(0x146)](_0x46dc45(0x13f),{'id':this['id']});});}[_0xa449d3(0x11f)](_0x2919f8){const _0x88e9b=_0xa449d3;this[_0x88e9b(0x124)][_0x88e9b(0x112)]=_0x45a8c7(_0x2919f8);}[_0xa449d3(0x123)](_0xbe22d3,_0xc07f76){const _0x5e000a=_0xa449d3;this[_0x5e000a(0x153)](_0x5e000a(0x13b),_0xc07f76?_0xbe22d3:null);}[_0xa449d3(0x10c)](){const _0x5625e=_0xa449d3,_0x36febd=new _0x203f6b();return _0x36febd[_0x5625e(0x153)]({'content':_0x403307}),_0x36febd;}[_0xa449d3(0x10e)](_0x599a34){const _0x4ad873=_0xa449d3,_0x1a588e=new _0x3f1a91(_0x599a34);return _0x1a588e[_0x4ad873(0x153)]({'label':_0x452323(_0x599a34,_0x4ad873(0x141)),'icon':_0x236447,'withText':!0x1,'tooltip':!0x0}),_0x1a588e[_0x4ad873(0x12f)](_0x4ad873(0x11d))['to'](this,_0x4ad873(0x14c)),_0x1a588e['on'](_0x4ad873(0x131),()=>{const _0x144036=_0x4ad873,_0x1c295e=!this[_0x144036(0x14c)];this[_0x144036(0x146)](_0x144036(0x126),{'id':this['id'],'pinned':_0x1c295e});}),_0x1a588e;}[_0xa449d3(0xfd)](){const _0x363161=_0xa449d3,_0x402cb3=_0x4db734(this[_0x363161(0xf8)],_0x6641bf),_0xddd6f3=_0x402cb3[_0x363161(0x159)][_0x363161(0x150)];_0x402cb3[_0x363161(0x14e)][_0x363161(0x153)]({'label':_0x452323(this[_0x363161(0xf8)],_0x363161(0x144)),'icon':_0x2dcd0b}),_0x402cb3[_0x363161(0xfc)]='sw';const _0x403f6f=new _0x3f1a91(this[_0x363161(0xf8)]);_0x403f6f[_0x363161(0x108)]=_0x452323(this[_0x363161(0xf8)],_0x363161(0x147)),_0x403f6f[_0x363161(0x148)]=!0x0,_0x403f6f['on'](_0x363161(0x131),()=>{const _0x3486ec=_0x363161;this[_0x3486ec(0x13c)]=!0x0;});const _0x13319e=new _0x3f1a91(this[_0x363161(0xf8)]);_0x13319e[_0x363161(0x108)]=_0x452323(this[_0x363161(0xf8)],_0x363161(0x152)),_0x13319e[_0x363161(0x148)]=!0x0,_0x13319e['on'](_0x363161(0x131),()=>{const _0xcf5cf=_0x363161;this[_0xcf5cf(0x12a)](_0x452323(this[_0xcf5cf(0xf8)],_0xcf5cf(0x154)),this[_0xcf5cf(0x106)])[_0xcf5cf(0x104)](()=>{const _0x3db139=_0xcf5cf;this[_0x3db139(0x146)](_0x3db139(0x12e),{'id':this['id']});});});const _0x5d2440=new _0x3686d3(this[_0x363161(0xf8)]),_0x159298=new _0x75fc1e(this[_0x363161(0xf8)]);_0x159298[_0x363161(0x150)][_0x363161(0x137)](_0x403f6f);const _0x4bc19c=new _0x75fc1e(this[_0x363161(0xf8)]);return _0x4bc19c[_0x363161(0x150)][_0x363161(0x137)](_0x13319e),_0x5d2440[_0x363161(0x102)][_0x363161(0x139)]([_0x159298,_0x4bc19c]),_0xddd6f3[_0x363161(0x137)](_0x5d2440),_0x402cb3;}[_0xa449d3(0x13e)](_0x4e9519,_0x2eda08){const _0x3e8f04=_0xa449d3,_0x2fd560=new _0x44899b(_0x4e9519),_0x500b99=_0x2fd560[_0x3e8f04(0x14f)];return _0x2fd560[_0x3e8f04(0x143)]=_0x2eda08,_0x2fd560[_0x3e8f04(0x110)]({'on':{'keydown':_0x500b99['to'](_0x312138=>{const _0x539d12=_0x3e8f04;_0x539d12(0x121)==_0x312138[_0x539d12(0x135)]&&this[_0x539d12(0x142)](_0x2fd560);})}}),_0x2fd560;}[_0xa449d3(0x109)](_0x891c46,_0x3db85c){const _0x4f9929=_0xa449d3,_0x3a86b9=new _0x3f1a91(_0x891c46);return _0x3a86b9[_0x4f9929(0x153)]({'icon':_0x403307,'withText':!0x1,'tooltip':_0x452323(_0x891c46,_0x4f9929(0x111))}),_0x3a86b9[_0x4f9929(0x110)]({'attributes':{'class':[_0x4f9929(0x115)]}}),_0x3a86b9['on'](_0x4f9929(0x131),()=>{const _0x2c741d=_0x4f9929;this[_0x2c741d(0x142)](_0x3db85c);}),_0x3a86b9;}[_0xa449d3(0x142)](_0x3dcd67){const _0x1e8d18=_0xa449d3,_0x4efa9f=_0x3dcd67[_0x1e8d18(0x106)][_0x1e8d18(0x143)]||'';this[_0x1e8d18(0x124)][_0x1e8d18(0x112)]=_0x4efa9f,this[_0x1e8d18(0x13c)]=!0x1,this[_0x1e8d18(0x146)](_0x1e8d18(0x10b),{'id':this['id'],'title':_0x4efa9f});}[_0xa449d3(0x11a)](_0x4a7a49,_0x3d1776){const _0x45cc8b=_0xa449d3,_0x359c13=new _0x3f1a91(_0x4a7a49);return _0x359c13[_0x45cc8b(0x153)]({'icon':_0x9f5594,'withText':!0x1,'tooltip':_0x452323(_0x4a7a49,_0x45cc8b(0x101))}),_0x359c13[_0x45cc8b(0x110)]({'attributes':{'class':[_0x45cc8b(0x11e)]}}),_0x359c13['on'](_0x45cc8b(0x131),()=>{const _0x571365=_0x45cc8b;this[_0x571365(0x13c)]=!0x1,_0x3d1776[_0x571365(0x143)]=this[_0x571365(0x124)][_0x571365(0x112)]||'',this[_0x571365(0x146)](_0x571365(0x12d));}),_0x359c13;}[_0xa449d3(0xf7)](){const _0x3d46c9=_0xa449d3,_0x3ae6f9=new _0x4a5ae8(_0x3d46c9(0x10a));return _0x3ae6f9[_0x3d46c9(0x129)]=!0x0,_0x3ae6f9;}[_0xa449d3(0x128)](_0x587873){const _0x4a3fb2=_0xa449d3;return this[_0x4a3fb2(0x124)]&&_0x4a3fb2(0x149)==typeof this[_0x4a3fb2(0x124)][_0x4a3fb2(0x112)]&&this[_0x4a3fb2(0x124)][_0x4a3fb2(0x112)][_0x4a3fb2(0x156)](_0x587873)?{'title':!0x0}:null;}[_0xa449d3(0x114)](_0x182c4f){const _0x39002c=_0xa449d3;this[_0x39002c(0x124)][_0x39002c(0x114)](_0x182c4f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x557979=_0x4beb;(function(_0x95c034,_0x11b61c){const _0x4cacc3=_0x4beb,_0x48f5f3=_0x95c034();while(!![]){try{const _0x50f252=parseInt(_0x4cacc3(0x208))/0x1*(-parseInt(_0x4cacc3(0x1fc))/0x2)+parseInt(_0x4cacc3(0x20c))/0x3*(parseInt(_0x4cacc3(0x1fd))/0x4)+parseInt(_0x4cacc3(0x1ef))/0x5*(parseInt(_0x4cacc3(0x200))/0x6)+-parseInt(_0x4cacc3(0x205))/0x7*(-parseInt(_0x4cacc3(0x202))/0x8)+-parseInt(_0x4cacc3(0x1ff))/0x9*(-parseInt(_0x4cacc3(0x1f3))/0xa)+-parseInt(_0x4cacc3(0x1f2))/0xb*(-parseInt(_0x4cacc3(0x20d))/0xc)+-parseInt(_0x4cacc3(0x1f6))/0xd;if(_0x50f252===_0x11b61c)break;else _0x48f5f3['push'](_0x48f5f3['shift']());}catch(_0x51e01b){_0x48f5f3['push'](_0x48f5f3['shift']());}}}(_0x5bf9,0x7d585));function _0x5bf9(){const _0xa57733=['66pWMQso','45670ZrvyfR','_itemsListView','set','35551789mhfgoZ','length','getItem','ck-hidden','div','indexOf','65434KuoAXx','2804820waKZnA','addMany','1359mfgjon','78dcmQyG','title','3558520SOlUCx','isMatching','ck-ai-chat-history__section-title','7QZDhQH','filter','items','2vOjYEr','splice','setTemplate','highlightText','3KknakC','1885584AZYlVW','removeItem','remove','bindTemplate','ck-ai-chat-history__section','isVisible','205835VdePNF','itemsViews','find'];_0x5bf9=function(){return _0xa57733;};return _0x5bf9();}function _0x4beb(_0x4392fb,_0x495f6d){const _0x5bf93d=_0x5bf9();return _0x4beb=function(_0x4beb5e,_0x4ccfef){_0x4beb5e=_0x4beb5e-0x1ee;let _0x3625c6=_0x5bf93d[_0x4beb5e];return _0x3625c6;},_0x4beb(_0x4392fb,_0x495f6d);}import{ListItemView as _0x5aee52,View as _0x3267e0,ListView as _0x48b597}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x5aee52{[_0x557979(0x201)];[_0x557979(0x1f0)];[_0x557979(0x1f4)];constructor(_0x505e6e,{title:_0xa8601f,items:_0x4f2b6a}){const _0x16bb8e=_0x557979;super(_0x505e6e);const _0x732ccc=this[_0x16bb8e(0x210)];this[_0x16bb8e(0x1f5)](_0x16bb8e(0x1ee),!0x0),this[_0x16bb8e(0x201)]=_0xa8601f,this[_0x16bb8e(0x1f0)]=_0x4f2b6a;const _0x5b35f1=new _0x3267e0(_0x505e6e);_0x5b35f1[_0x16bb8e(0x20a)]({'tag':_0x16bb8e(0x1fa),'attributes':{'class':[_0x16bb8e(0x204)]},'children':[this[_0x16bb8e(0x201)]]}),this[_0x16bb8e(0x1f4)]=new _0x48b597(_0x505e6e),this[_0x16bb8e(0x1f4)][_0x16bb8e(0x207)][_0x16bb8e(0x1fe)](this[_0x16bb8e(0x1f0)]),this[_0x16bb8e(0x20a)]({'tag':'li','attributes':{'class':[_0x16bb8e(0x211),_0x732ccc['if'](_0x16bb8e(0x1ee),_0x16bb8e(0x1f9),_0x4c3b28=>!_0x4c3b28)]},'children':[_0x5b35f1,this[_0x16bb8e(0x1f4)]]});}[_0x557979(0x206)](_0x304cdd){const _0x5e2d97=_0x557979,_0x491ab9=this[_0x5e2d97(0x1f0)][_0x5e2d97(0x1f7)];let _0x4ce95b=0x0;for(const _0x4cc914 of this[_0x5e2d97(0x1f0)]){if(_0x304cdd){const _0x24160b=_0x4cc914[_0x5e2d97(0x203)](_0x304cdd);_0x4cc914[_0x5e2d97(0x1ee)]=!!_0x24160b,_0x4cc914[_0x5e2d97(0x20b)](_0x304cdd);}else _0x4cc914[_0x5e2d97(0x1ee)]=!0x0,_0x4cc914[_0x5e2d97(0x20b)](null);_0x4cc914[_0x5e2d97(0x1ee)]&&_0x4ce95b++;}return this[_0x5e2d97(0x1ee)]=_0x4ce95b>0x0,{'resultsCount':_0x4ce95b,'totalItemsCount':_0x491ab9};}[_0x557979(0x1f8)](_0x2ce35e){const _0x3b86e6=_0x557979;return this[_0x3b86e6(0x1f0)][_0x3b86e6(0x1f1)](_0x44b80d=>_0x44b80d['id']===_0x2ce35e);}[_0x557979(0x20e)](_0x1d66c0){const _0x438275=_0x557979,_0x425098=this[_0x438275(0x1f0)][_0x438275(0x1fb)](_0x1d66c0);-0x1!==_0x425098&&(this[_0x438275(0x1f0)][_0x438275(0x209)](_0x425098,0x1),this[_0x438275(0x1f4)][_0x438275(0x207)][_0x438275(0x20f)](_0x1d66c0));}}
23
+ function _0x3e64(_0x11d8ba,_0x1ab91f){const _0x13e16b=_0x13e1();return _0x3e64=function(_0x3e64e7,_0xd63d23){_0x3e64e7=_0x3e64e7-0xec;let _0x1a60ce=_0x13e16b[_0x3e64e7];return _0x1a60ce;},_0x3e64(_0x11d8ba,_0x1ab91f);}const _0x566c32=_0x3e64;function _0x13e1(){const _0x34964d=['remove','2847436lsjPHK','indexOf','filter','div','bindTemplate','30837978iCeHHR','isVisible','ck-ai-chat-history__section-title','ck-ai-chat-history__section','850lIvMTE','getItem','ck-hidden','set','length','32748diisOO','setTemplate','title','722966kjCHBG','items','7Wihnap','find','isMatching','7464280Wyjafj','1935366iKhjFY','highlightText','removeItem','_itemsListView','addMany','6738342EYcmAK','splice','itemsViews'];_0x13e1=function(){return _0x34964d;};return _0x13e1();}(function(_0x36d23c,_0x1ca514){const _0x1a70d6=_0x3e64,_0x41d03c=_0x36d23c();while(!![]){try{const _0x597103=-parseInt(_0x1a70d6(0xfe))/0x1+-parseInt(_0x1a70d6(0xed))/0x2+parseInt(_0x1a70d6(0x104))/0x3+-parseInt(_0x1a70d6(0xfb))/0x4*(parseInt(_0x1a70d6(0xf6))/0x5)+parseInt(_0x1a70d6(0x109))/0x6*(parseInt(_0x1a70d6(0x100))/0x7)+-parseInt(_0x1a70d6(0x103))/0x8+parseInt(_0x1a70d6(0xf2))/0x9;if(_0x597103===_0x1ca514)break;else _0x41d03c['push'](_0x41d03c['shift']());}catch(_0x3e42da){_0x41d03c['push'](_0x41d03c['shift']());}}}(_0x13e1,0xb08a8));import{ListItemView as _0x49e88,View as _0x58e625,ListView as _0x1d4b09}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x49e88{[_0x566c32(0xfd)];[_0x566c32(0x10b)];[_0x566c32(0x107)];constructor(_0x19c718,{title:_0x4815f1,items:_0x24b66f}){const _0x28acab=_0x566c32;super(_0x19c718);const _0x366169=this[_0x28acab(0xf1)];this[_0x28acab(0xf9)](_0x28acab(0xf3),!0x0),this[_0x28acab(0xfd)]=_0x4815f1,this[_0x28acab(0x10b)]=_0x24b66f;const _0x46acfa=new _0x58e625(_0x19c718);_0x46acfa[_0x28acab(0xfc)]({'tag':_0x28acab(0xf0),'attributes':{'class':[_0x28acab(0xf4)]},'children':[this[_0x28acab(0xfd)]]}),this[_0x28acab(0x107)]=new _0x1d4b09(_0x19c718),this[_0x28acab(0x107)][_0x28acab(0xff)][_0x28acab(0x108)](this[_0x28acab(0x10b)]),this[_0x28acab(0xfc)]({'tag':'li','attributes':{'class':[_0x28acab(0xf5),_0x366169['if'](_0x28acab(0xf3),_0x28acab(0xf8),_0x53ee62=>!_0x53ee62)]},'children':[_0x46acfa,this[_0x28acab(0x107)]]});}[_0x566c32(0xef)](_0x261936){const _0x40779b=_0x566c32,_0x556087=this[_0x40779b(0x10b)][_0x40779b(0xfa)];let _0x439b1a=0x0;for(const _0x59c00d of this[_0x40779b(0x10b)]){if(_0x261936){const _0x157233=_0x59c00d[_0x40779b(0x102)](_0x261936);_0x59c00d[_0x40779b(0xf3)]=!!_0x157233,_0x59c00d[_0x40779b(0x105)](_0x261936);}else _0x59c00d[_0x40779b(0xf3)]=!0x0,_0x59c00d[_0x40779b(0x105)](null);_0x59c00d[_0x40779b(0xf3)]&&_0x439b1a++;}return this[_0x40779b(0xf3)]=_0x439b1a>0x0,{'resultsCount':_0x439b1a,'totalItemsCount':_0x556087};}[_0x566c32(0xf7)](_0x2b88dc){const _0x4ef7d6=_0x566c32;return this[_0x4ef7d6(0x10b)][_0x4ef7d6(0x101)](_0x57d8fa=>_0x57d8fa['id']===_0x2b88dc);}[_0x566c32(0x106)](_0x26b9ce){const _0x30c2a2=_0x566c32,_0x40b4a3=this[_0x30c2a2(0x10b)][_0x30c2a2(0xee)](_0x26b9ce);-0x1!==_0x40b4a3&&(this[_0x30c2a2(0x10b)][_0x30c2a2(0x10a)](_0x40b4a3,0x1),this[_0x30c2a2(0x107)][_0x30c2a2(0xff)][_0x30c2a2(0xec)](_0x26b9ce));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29df55=_0x5a4d;(function(_0x289607,_0x358b9c){const _0x1c8618=_0x5a4d,_0x5a3377=_0x289607();while(!![]){try{const _0x43ff68=-parseInt(_0x1c8618(0xa1))/0x1+parseInt(_0x1c8618(0x9b))/0x2*(-parseInt(_0x1c8618(0xa3))/0x3)+parseInt(_0x1c8618(0x98))/0x4*(parseInt(_0x1c8618(0x9a))/0x5)+parseInt(_0x1c8618(0xa6))/0x6+-parseInt(_0x1c8618(0x99))/0x7+parseInt(_0x1c8618(0xa4))/0x8+parseInt(_0x1c8618(0xa0))/0x9;if(_0x43ff68===_0x358b9c)break;else _0x5a3377['push'](_0x5a3377['shift']());}catch(_0x10cbe7){_0x5a3377['push'](_0x5a3377['shift']());}}}(_0x4331,0x36411));function _0x5a4d(_0x51af89,_0x40f7af){const _0x4331f3=_0x4331();return _0x5a4d=function(_0x5a4da6,_0x487cce){_0x5a4da6=_0x5a4da6-0x98;let _0xe60257=_0x4331f3[_0x5a4da6];return _0xe60257;},_0x5a4d(_0x51af89,_0x40f7af);}import{ListView as _0x334e6d}from'ckeditor5/src/ui.js';export class AIChatHistorySectionListView extends _0x334e6d{[_0x29df55(0xa5)];constructor(_0x11e994,_0x424552){const _0x2276de=_0x29df55;super(_0x11e994),this[_0x2276de(0xa5)]=_0x424552,this[_0x2276de(0x9c)][_0x2276de(0x9f)](this[_0x2276de(0xa5)]),this[_0x2276de(0x9d)]({'attributes':{'class':[_0x2276de(0xa2)]}});}[_0x29df55(0x9e)](_0x1a9bdc){const _0x3c6c61=_0x29df55;let _0x306298=0x0,_0x417e97=0x0;for(const _0x2c9ce9 of this[_0x3c6c61(0xa5)]){const {resultsCount:_0x488155,totalItemsCount:_0x197fed}=_0x2c9ce9[_0x3c6c61(0x9e)](_0x1a9bdc);_0x306298+=_0x488155,_0x417e97+=_0x197fed;}return{'resultsCount':_0x306298,'totalItemsCount':_0x417e97};}}function _0x4331(){const _0x439245=['4041396PtlUjg','390518yOWSIr','ck-ai-chat-history__sections','1151559uOXlbG','3471040ysqaBW','sections','1245534OoJalb','604644UYlxzP','1715546pAzMIS','5eFDOCX','2NACLsz','items','extendTemplate','filter','addMany'];_0x4331=function(){return _0x439245;};return _0x4331();}
23
+ function _0x1eed(_0x19563c,_0x5c44b1){const _0x159c44=_0x159c();return _0x1eed=function(_0x1eed2e,_0x10fd44){_0x1eed2e=_0x1eed2e-0xd9;let _0x41c81c=_0x159c44[_0x1eed2e];return _0x41c81c;},_0x1eed(_0x19563c,_0x5c44b1);}const _0x3a4e75=_0x1eed;(function(_0x5cef4c,_0x292ce7){const _0x761fbf=_0x1eed,_0x1f89aa=_0x5cef4c();while(!![]){try{const _0x52e123=parseInt(_0x761fbf(0xd9))/0x1*(-parseInt(_0x761fbf(0xe4))/0x2)+-parseInt(_0x761fbf(0xda))/0x3+-parseInt(_0x761fbf(0xe1))/0x4*(parseInt(_0x761fbf(0xe6))/0x5)+-parseInt(_0x761fbf(0xe5))/0x6+parseInt(_0x761fbf(0xe3))/0x7+-parseInt(_0x761fbf(0xde))/0x8+-parseInt(_0x761fbf(0xe0))/0x9*(-parseInt(_0x761fbf(0xe7))/0xa);if(_0x52e123===_0x292ce7)break;else _0x1f89aa['push'](_0x1f89aa['shift']());}catch(_0xaa9785){_0x1f89aa['push'](_0x1f89aa['shift']());}}}(_0x159c,0x5e6f5));import{ListView as _0x10139a}from'ckeditor5/src/ui.js';export class AIChatHistorySectionListView extends _0x10139a{[_0x3a4e75(0xdb)];constructor(_0x21f7cc,_0x175ae4){const _0x4991f3=_0x3a4e75;super(_0x21f7cc),this[_0x4991f3(0xdb)]=_0x175ae4,this[_0x4991f3(0xdd)][_0x4991f3(0xdf)](this[_0x4991f3(0xdb)]),this[_0x4991f3(0xe8)]({'attributes':{'class':[_0x4991f3(0xdc)]}});}[_0x3a4e75(0xe2)](_0x4dc5c4){const _0x24169c=_0x3a4e75;let _0x34be8f=0x0,_0x553e06=0x0;for(const _0x58a6cd of this[_0x24169c(0xdb)]){const {resultsCount:_0x5b1b59,totalItemsCount:_0x3868b7}=_0x58a6cd[_0x24169c(0xe2)](_0x4dc5c4);_0x34be8f+=_0x5b1b59,_0x553e06+=_0x3868b7;}return{'resultsCount':_0x34be8f,'totalItemsCount':_0x553e06};}}function _0x159c(){const _0x395a65=['1900758VFkOiD','sections','ck-ai-chat-history__sections','items','870056HzKlaB','addMany','3816AGrEVa','516HoVkzv','filter','3433801pangEs','2kDPPvt','3217692uIygIa','24955lYyrbH','49970xEtQok','extendTemplate','300002VjuSwD'];_0x159c=function(){return _0x395a65;};return _0x159c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x343e08=_0x41a2;function _0x41a2(_0x4e36e1,_0x4cdd9f){const _0x1143a3=_0x1143();return _0x41a2=function(_0x41a266,_0x1e3e33){_0x41a266=_0x41a266-0x11b;let _0x5b013c=_0x1143a3[_0x41a266];return _0x5b013c;},_0x41a2(_0x4e36e1,_0x4cdd9f);}(function(_0x136c2f,_0x2b647a){const _0x2a4808=_0x41a2,_0x4f9024=_0x136c2f();while(!![]){try{const _0x53ddde=-parseInt(_0x2a4808(0x123))/0x1+-parseInt(_0x2a4808(0x163))/0x2*(parseInt(_0x2a4808(0x162))/0x3)+parseInt(_0x2a4808(0x171))/0x4*(-parseInt(_0x2a4808(0x121))/0x5)+-parseInt(_0x2a4808(0x158))/0x6*(parseInt(_0x2a4808(0x156))/0x7)+parseInt(_0x2a4808(0x173))/0x8+-parseInt(_0x2a4808(0x161))/0x9+parseInt(_0x2a4808(0x150))/0xa;if(_0x53ddde===_0x2b647a)break;else _0x4f9024['push'](_0x4f9024['shift']());}catch(_0x3b5d56){_0x4f9024['push'](_0x4f9024['shift']());}}}(_0x1143,0x5f8d5));import{View as _0x41a6af,SearchTextView as _0x536728,FormHeaderView as _0x30b9aa,ButtonView as _0x497f56}from'ckeditor5/src/ui.js';import{IconAIHistory as _0x410466,IconCancel as _0x2cf174,IconPlus as _0x32acd9}from'ckeditor5/src/icons.js';import{AIChatHistorySectionListView as _0x4b149a}from'./aichathistorysectionlistview.js';import{AIChatHistoryListView as _0x4f0a03}from'./aichathistorylistview.js';import{AIChatHistoryListItemView as _0xac44f7}from'./aichathistorylistitemview.js';import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0x27607e}from'../aichathistoryui.js';function _0x1143(){const _0x22f8cc=['_createEmptyStateView','isLoading','mainErrorView','addMany','ck-ai-chat-history__empty','updateLoadingState','some','932VwwXRv','_updateViewVisibility','286088GHdfYn','bindTemplate','ltr','skeletonView','set','_createSearchView','fire','AI_CHAT_HISTORY_SEARCH_LABEL','search','hasItems','ck-ai-notification_error','3705hriHBf','ck-hidden','416183fdOugQ','push','length','ck-rounded-corners','children','locale','isSearchViewVisible','indexOf','remove','ck-ai-header\x20ck-ai-header_history','updateItemTitle','clear','updateHistoryItemsWithCategories','isMaximized','fieldView','ck-ai-chat-history__empty-message','ck-ai-chat-history','removeHistoryItem','_createSkeletonView','_createListItemViews','emptyView','itemsViews','ck-ai-chat-history__content','splice','getItem','render','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','change:hasItems','ck-reset_all','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','setTemplate','_refreshSearch','AI_CHAT_LABEL_NEW_CHAT','searchView','isMainErrorViewVisible','updateTitle','element','title','value','aiHistory','delegate','sectionsView','openChat','isEmptyViewVisible','updateItemLoadingState','22031510TuQVHL','div','change:isLoading','_createErrorView','resizeButton','extendTemplate','4543UdRVBn','change:errorMessage','12cWCUwi','removeItem','ck-ai-notification_error__dismiss-button','AI_CHAT_HISTORY_HEADING','items','queryView','bind','ck-ai-notification','add','5194953KWOaGA','426zVEQRn','9580vLBRre','execute','sections','AI_CHAT_HISTORY_EMPTY_MESSAGE','isVisible','ck-ai-chat__start-conversation','errorMessage'];_0x1143=function(){return _0x22f8cc;};return _0x1143();}import{AISkeletonView as _0x2088ea,SKELETON_DEFINITIONS as _0x148cd0}from'../../aicore/ui/aiskeleton.js';import{createResizeButton as _0x2a132f}from'../../aicore/utils/createresizebutton.js';import{getTranslation as _0x2bea86}from'../../aicore/utils/common-translations.js';export class AIChatHistoryView extends _0x41a6af{[_0x343e08(0x144)];[_0x343e08(0x16c)];[_0x343e08(0x176)];[_0x343e08(0x137)];[_0x343e08(0x14c)];[_0x343e08(0x154)];constructor(_0x35c279,_0x6dcf81){const _0x3c8152=_0x343e08;super(_0x35c279),this[_0x3c8152(0x177)](_0x3c8152(0x11f),!0x1),this[_0x3c8152(0x177)](_0x3c8152(0x16b),!0x0),this[_0x3c8152(0x177)](_0x3c8152(0x169),''),this[_0x3c8152(0x177)](_0x3c8152(0x130),!0x1),this[_0x3c8152(0x177)](_0x3c8152(0x129),!0x1),this[_0x3c8152(0x177)](_0x3c8152(0x14e),!0x1),this[_0x3c8152(0x177)](_0x3c8152(0x145),!0x1);const _0x5403d4=new _0x30b9aa(_0x35c279,{'label':_0x2bea86(_0x35c279,_0x3c8152(0x15b)),'icon':_0x410466,'class':_0x3c8152(0x12c)});_0x6dcf81&&(this[_0x3c8152(0x154)]=_0x2a132f(_0x35c279,this),_0x5403d4[_0x3c8152(0x127)][_0x3c8152(0x160)](this[_0x3c8152(0x154)])),this[_0x3c8152(0x14c)]=new _0x4b149a(_0x35c279,[]),this[_0x3c8152(0x14c)][_0x3c8152(0x14b)](..._0x27607e)['to'](this),this[_0x3c8152(0x16c)]=this[_0x3c8152(0x153)](),this[_0x3c8152(0x176)]=this[_0x3c8152(0x135)](),this[_0x3c8152(0x137)]=this[_0x3c8152(0x16a)](),this[_0x3c8152(0x144)]=this[_0x3c8152(0x11b)](),this[_0x3c8152(0x16c)][_0x3c8152(0x155)]({'attributes':{'class':[this[_0x3c8152(0x174)]['if'](_0x3c8152(0x145),_0x3c8152(0x122),_0x207f95=>!_0x207f95)]}}),this['on'](_0x3c8152(0x152),()=>this[_0x3c8152(0x172)]()),this['on'](_0x3c8152(0x13e),()=>this[_0x3c8152(0x172)]()),this['on'](_0x3c8152(0x157),()=>this[_0x3c8152(0x172)]()),this[_0x3c8152(0x141)]({'tag':_0x3c8152(0x151),'attributes':{'class':['ck',_0x3c8152(0x13f),_0x3c8152(0x133),_0x3c8152(0x126)],'dir':_0x3c8152(0x175)},'children':[_0x5403d4,{'tag':_0x3c8152(0x151),'attributes':{'class':[_0x3c8152(0x139)]},'children':[this[_0x3c8152(0x176)],this[_0x3c8152(0x16c)],this[_0x3c8152(0x137)],this[_0x3c8152(0x144)]]}]});}[_0x343e08(0x172)](){const _0x49ad3b=_0x343e08;this[_0x49ad3b(0x129)]=!this[_0x49ad3b(0x16b)]&&this[_0x49ad3b(0x11f)],this[_0x49ad3b(0x14e)]=!this[_0x49ad3b(0x16b)]&&!this[_0x49ad3b(0x11f)]&&!this[_0x49ad3b(0x169)],this[_0x49ad3b(0x145)]=!this[_0x49ad3b(0x129)]&&!!this[_0x49ad3b(0x169)];}[_0x343e08(0x11b)](){const _0x36e8e1=_0x343e08,_0x4651fc=new _0x536728(this[_0x36e8e1(0x128)],{'filteredView':this[_0x36e8e1(0x14c)],'queryView':{'label':_0x2bea86(this[_0x36e8e1(0x128)],_0x36e8e1(0x11d))},'infoView':{'text':{'notFound':{'primary':_0x7bf492=>_0x2bea86(this[_0x36e8e1(0x128)],_0x36e8e1(0x13d),_0x7bf492),'secondary':_0x2bea86(this[_0x36e8e1(0x128)],_0x36e8e1(0x140))}}}}),_0x569596=this[_0x36e8e1(0x153)]();return _0x569596[_0x36e8e1(0x155)]({'attributes':{'class':[this[_0x36e8e1(0x174)]['if'](_0x36e8e1(0x169),_0x36e8e1(0x122),_0x304e94=>!_0x304e94)]}}),_0x4651fc['on'](_0x36e8e1(0x13c),()=>{const _0x530b5d=_0x36e8e1;_0x4651fc[_0x530b5d(0x127)][_0x530b5d(0x160)](_0x569596,0x1);}),_0x4651fc[_0x36e8e1(0x155)]({'attributes':{'class':[this[_0x36e8e1(0x174)]['if'](_0x36e8e1(0x129),_0x36e8e1(0x122),_0xaf33f=>!_0xaf33f)]}}),_0x4651fc;}[_0x343e08(0x135)](){const _0x157bfa=_0x343e08,_0x3d82ce=new _0x2088ea(this[_0x157bfa(0x128)],_0x148cd0[_0x157bfa(0x14a)]);return _0x3d82ce[_0x157bfa(0x155)]({'attributes':{'class':[this[_0x157bfa(0x174)]['if'](_0x157bfa(0x16b),_0x157bfa(0x122),_0x3ca72c=>!_0x3ca72c)]}}),_0x3d82ce;}[_0x343e08(0x153)](){const _0x871bd8=_0x343e08,_0x296035=new _0x41a6af(this[_0x871bd8(0x128)]),_0x1a8d7d=new _0x497f56(this[_0x871bd8(0x128)]);_0x1a8d7d[_0x871bd8(0x177)]({'withText':!0x1,'icon':_0x2cf174,'class':_0x871bd8(0x15a)}),_0x1a8d7d[_0x871bd8(0x15e)](_0x871bd8(0x167))['to'](this,_0x871bd8(0x11f),_0x158f89=>!!_0x158f89),_0x1a8d7d['on'](_0x871bd8(0x164),()=>{const _0x16d77d=_0x871bd8;this[_0x16d77d(0x169)]='';});const _0x5a2048=this[_0x871bd8(0x174)];return _0x296035[_0x871bd8(0x141)]({'tag':_0x871bd8(0x151),'attributes':{'class':['ck',_0x871bd8(0x15f),_0x871bd8(0x120)]},'children':[{'tag':'p','children':[{'text':_0x5a2048['to'](_0x871bd8(0x169))}]},_0x1a8d7d]}),_0x296035;}[_0x343e08(0x16a)](){const _0x9c14cc=_0x343e08,_0x36b7dd=new _0x497f56(this[_0x9c14cc(0x128)]);_0x36b7dd[_0x9c14cc(0x177)]({'label':_0x2bea86(this[_0x9c14cc(0x128)],_0x9c14cc(0x143)),'withText':!0x0,'icon':_0x32acd9,'class':_0x9c14cc(0x168)}),_0x36b7dd['on'](_0x9c14cc(0x164),()=>{const _0x25151c=_0x9c14cc;this[_0x25151c(0x11c)](_0x25151c(0x14d));});const _0x31c904=new _0x41a6af(this[_0x9c14cc(0x128)]);return _0x31c904[_0x9c14cc(0x141)]({'tag':_0x9c14cc(0x151),'attributes':{'class':[_0x9c14cc(0x16e),this[_0x9c14cc(0x174)]['if'](_0x9c14cc(0x14e),_0x9c14cc(0x122),_0x254557=>!_0x254557)]},'children':[{'tag':'p','attributes':{'class':[_0x9c14cc(0x132)]},'children':[_0x2bea86(this[_0x9c14cc(0x128)],_0x9c14cc(0x166))]},_0x36b7dd]}),_0x31c904;}[_0x343e08(0x136)](_0x1c5c00,_0x23892e){const _0x43432c=_0x343e08,_0x49677f=[];for(const _0x361567 of _0x1c5c00){const _0x39f545=new _0xac44f7(_0x23892e,_0x361567);_0x39f545[_0x43432c(0x14b)](..._0x27607e)['to'](this),_0x49677f[_0x43432c(0x124)](_0x39f545);}return _0x49677f;}[_0x343e08(0x12f)](_0x1cd3f5){const _0x147124=_0x343e08,_0x5889ff=this[_0x147124(0x128)]||'en',_0x120207=[];for(const _0x3177cd of _0x1cd3f5){const _0x1365e5=this[_0x147124(0x136)](_0x3177cd[_0x147124(0x15c)],_0x5889ff);_0x120207[_0x147124(0x124)](new _0x4f0a03(_0x5889ff,{'title':_0x3177cd[_0x147124(0x148)],'items':_0x1365e5}));}this[_0x147124(0x14c)][_0x147124(0x165)]=_0x120207,this[_0x147124(0x14c)][_0x147124(0x15c)][_0x147124(0x12e)](),this[_0x147124(0x14c)][_0x147124(0x15c)][_0x147124(0x16d)](_0x120207),this[_0x147124(0x11f)]=_0x1cd3f5[_0x147124(0x170)](_0x4c3f51=>_0x4c3f51[_0x147124(0x15c)][_0x147124(0x125)]>0x0),this[_0x147124(0x142)]();}[_0x343e08(0x134)](_0x5cdc10){const _0x59673f=_0x343e08;for(const _0x3aa5ce of this[_0x59673f(0x14c)][_0x59673f(0x165)]){const _0x42ce22=_0x3aa5ce[_0x59673f(0x13b)](_0x5cdc10);if(_0x42ce22){if(_0x3aa5ce[_0x59673f(0x159)](_0x42ce22),0x0===_0x3aa5ce[_0x59673f(0x138)][_0x59673f(0x125)]){const _0x274c09=this[_0x59673f(0x14c)][_0x59673f(0x165)][_0x59673f(0x12a)](_0x3aa5ce);-0x1!==_0x274c09&&(this[_0x59673f(0x14c)][_0x59673f(0x165)][_0x59673f(0x13a)](_0x274c09,0x1),this[_0x59673f(0x14c)][_0x59673f(0x15c)][_0x59673f(0x12b)](_0x3aa5ce));}this[_0x59673f(0x11f)]=this[_0x59673f(0x14c)][_0x59673f(0x165)][_0x59673f(0x125)]>0x0,this[_0x59673f(0x142)]();break;}}}[_0x343e08(0x12d)](_0x11904d,_0x465569){const _0x5d8f44=_0x343e08;for(const _0xad6625 of this[_0x5d8f44(0x14c)][_0x5d8f44(0x165)]){const _0x126f7c=_0xad6625[_0x5d8f44(0x13b)](_0x11904d);if(_0x126f7c){_0x126f7c[_0x5d8f44(0x146)](_0x465569);break;}}}[_0x343e08(0x14f)](_0x27c53c,_0xb3504,_0x2d8cc4){const _0x3b8075=_0x343e08;for(const _0x31501b of this[_0x3b8075(0x14c)][_0x3b8075(0x165)]){const _0x2bdb41=_0x31501b[_0x3b8075(0x13b)](_0x27c53c);if(_0x2bdb41){_0x2bdb41[_0x3b8075(0x16f)](_0xb3504,_0x2d8cc4);break;}}}[_0x343e08(0x142)](){const _0x2b819b=_0x343e08;if(this[_0x2b819b(0x11f)]){const _0x2442cf=this[_0x2b819b(0x144)][_0x2b819b(0x15d)][_0x2b819b(0x131)]?.[_0x2b819b(0x147)]?.[_0x2b819b(0x149)]||'';this[_0x2b819b(0x144)][_0x2b819b(0x11e)](_0x2442cf);}}}
23
+ const _0x4a8e86=_0x5521;(function(_0x2dc57f,_0x3bf9cd){const _0x592c62=_0x5521,_0x1abf91=_0x2dc57f();while(!![]){try{const _0x57fbef=parseInt(_0x592c62(0xa3))/0x1*(-parseInt(_0x592c62(0xb1))/0x2)+parseInt(_0x592c62(0x8c))/0x3*(parseInt(_0x592c62(0x91))/0x4)+-parseInt(_0x592c62(0xc0))/0x5*(parseInt(_0x592c62(0xa4))/0x6)+parseInt(_0x592c62(0xba))/0x7*(-parseInt(_0x592c62(0x7b))/0x8)+-parseInt(_0x592c62(0xa8))/0x9+parseInt(_0x592c62(0x93))/0xa*(-parseInt(_0x592c62(0x99))/0xb)+parseInt(_0x592c62(0x7a))/0xc;if(_0x57fbef===_0x3bf9cd)break;else _0x1abf91['push'](_0x1abf91['shift']());}catch(_0x1f4adf){_0x1abf91['push'](_0x1abf91['shift']());}}}(_0x5290,0x35e1d));import{View as _0x26a1d7,SearchTextView as _0x12e32d,FormHeaderView as _0x286335,ButtonView as _0x3c901a}from'ckeditor5/src/ui.js';import{IconAIHistory as _0x3d7fb4,IconCancel as _0x5533,IconPlus as _0x230159}from'ckeditor5/src/icons.js';import{AIChatHistorySectionListView as _0x110518}from'./aichathistorysectionlistview.js';import{AIChatHistoryListView as _0x1362e7}from'./aichathistorylistview.js';import{AIChatHistoryListItemView as _0x4fe80c}from'./aichathistorylistitemview.js';import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0x3efdf1}from'../aichathistoryui.js';function _0x5290(){const _0x495380=['fieldView','ck-ai-notification_error__dismiss-button','_refreshSearch','8913072uHSrnB','8SLRhjx','render','ck-ai-chat-history__empty','change:isLoading','_createListItemViews','ck-rounded-corners','bindTemplate','AI_CHAT_HISTORY_SEARCH_LABEL','ck-ai-notification','isSearchViewVisible','skeletonView','length','_createErrorView','AI_CHAT_LABEL_NEW_CHAT','items','sectionsView','updateHistoryItemsWithCategories','114oYzPeC','updateTitle','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','resizeButton','ltr','13036bBuMdw','AI_CHAT_HISTORY_EMPTY_MESSAGE','337580mHhzWK','_createSearchView','execute','search','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','ck-ai-header\x20ck-ai-header_history','44zJqvEp','openChat','ck-ai-chat__start-conversation','clear','isMaximized','element','mainErrorView','_updateViewVisibility','value','_createSkeletonView','1IDGFat','426aevihY','ck-hidden','set','delegate','147537nrAVDn','isMainErrorViewVisible','setTemplate','aiHistory','searchView','getItem','itemsViews','isLoading','hasItems','743490aHbwBq','updateLoadingState','addMany','isEmptyViewVisible','ck-ai-notification_error','removeHistoryItem','ck-ai-chat-history__content','children','updateItemLoadingState','435148SxSzEb','remove','div','change:errorMessage','errorMessage','some','4265ncYItT','add','title','updateItemTitle','_createEmptyStateView','isVisible','queryView','ck-ai-chat-history','extendTemplate','push','ck-reset_all','locale','AI_CHAT_HISTORY_HEADING','removeItem','ck-ai-chat-history__empty-message','emptyView','bind','sections','splice','change:hasItems','indexOf','fire'];_0x5290=function(){return _0x495380;};return _0x5290();}import{AISkeletonView as _0x2f6b72,SKELETON_DEFINITIONS as _0x9f336}from'../../aicore/ui/aiskeleton.js';import{createResizeButton as _0x12dfda}from'../../aicore/utils/createresizebutton.js';import{getTranslation as _0x4a373c}from'../../aicore/utils/common-translations.js';function _0x5521(_0xec111b,_0x53eb3b){const _0x5290df=_0x5290();return _0x5521=function(_0x552132,_0x3c7955){_0x552132=_0x552132-0x65;let _0xedddea=_0x5290df[_0x552132];return _0xedddea;},_0x5521(_0xec111b,_0x53eb3b);}export class AIChatHistoryView extends _0x26a1d7{[_0x4a8e86(0xac)];[_0x4a8e86(0x9f)];[_0x4a8e86(0x85)];[_0x4a8e86(0x70)];[_0x4a8e86(0x8a)];[_0x4a8e86(0x8f)];constructor(_0x1ec52e,_0x222e8e){const _0x1f7bcd=_0x4a8e86;super(_0x1ec52e),this[_0x1f7bcd(0xa6)](_0x1f7bcd(0xb0),!0x1),this[_0x1f7bcd(0xa6)](_0x1f7bcd(0xaf),!0x0),this[_0x1f7bcd(0xa6)](_0x1f7bcd(0xbe),''),this[_0x1f7bcd(0xa6)](_0x1f7bcd(0x9d),!0x1),this[_0x1f7bcd(0xa6)](_0x1f7bcd(0x84),!0x1),this[_0x1f7bcd(0xa6)](_0x1f7bcd(0xb4),!0x1),this[_0x1f7bcd(0xa6)](_0x1f7bcd(0xa9),!0x1);const _0x5c0a20=new _0x286335(_0x1ec52e,{'label':_0x4a373c(_0x1ec52e,_0x1f7bcd(0x6d)),'icon':_0x3d7fb4,'class':_0x1f7bcd(0x98)});_0x222e8e&&(this[_0x1f7bcd(0x8f)]=_0x12dfda(_0x1ec52e,this),_0x5c0a20[_0x1f7bcd(0xb8)][_0x1f7bcd(0xc1)](this[_0x1f7bcd(0x8f)])),this[_0x1f7bcd(0x8a)]=new _0x110518(_0x1ec52e,[]),this[_0x1f7bcd(0x8a)][_0x1f7bcd(0xa7)](..._0x3efdf1)['to'](this),this[_0x1f7bcd(0x9f)]=this[_0x1f7bcd(0x87)](),this[_0x1f7bcd(0x85)]=this[_0x1f7bcd(0xa2)](),this[_0x1f7bcd(0x70)]=this[_0x1f7bcd(0x65)](),this[_0x1f7bcd(0xac)]=this[_0x1f7bcd(0x94)](),this[_0x1f7bcd(0x9f)][_0x1f7bcd(0x69)]({'attributes':{'class':[this[_0x1f7bcd(0x81)]['if'](_0x1f7bcd(0xa9),_0x1f7bcd(0xa5),_0x14e196=>!_0x14e196)]}}),this['on'](_0x1f7bcd(0x7e),()=>this[_0x1f7bcd(0xa0)]()),this['on'](_0x1f7bcd(0x74),()=>this[_0x1f7bcd(0xa0)]()),this['on'](_0x1f7bcd(0xbd),()=>this[_0x1f7bcd(0xa0)]()),this[_0x1f7bcd(0xaa)]({'tag':_0x1f7bcd(0xbc),'attributes':{'class':['ck',_0x1f7bcd(0x6b),_0x1f7bcd(0x68),_0x1f7bcd(0x80)],'dir':_0x1f7bcd(0x90)},'children':[_0x5c0a20,{'tag':_0x1f7bcd(0xbc),'attributes':{'class':[_0x1f7bcd(0xb7)]},'children':[this[_0x1f7bcd(0x85)],this[_0x1f7bcd(0x9f)],this[_0x1f7bcd(0x70)],this[_0x1f7bcd(0xac)]]}]});}[_0x4a8e86(0xa0)](){const _0x52fb22=_0x4a8e86;this[_0x52fb22(0x84)]=!this[_0x52fb22(0xaf)]&&this[_0x52fb22(0xb0)],this[_0x52fb22(0xb4)]=!this[_0x52fb22(0xaf)]&&!this[_0x52fb22(0xb0)]&&!this[_0x52fb22(0xbe)],this[_0x52fb22(0xa9)]=!this[_0x52fb22(0x84)]&&!!this[_0x52fb22(0xbe)];}[_0x4a8e86(0x94)](){const _0x2a7c94=_0x4a8e86,_0x478d51=new _0x12e32d(this[_0x2a7c94(0x6c)],{'filteredView':this[_0x2a7c94(0x8a)],'queryView':{'label':_0x4a373c(this[_0x2a7c94(0x6c)],_0x2a7c94(0x82))},'infoView':{'text':{'notFound':{'primary':_0x427e34=>_0x4a373c(this[_0x2a7c94(0x6c)],_0x2a7c94(0x97),_0x427e34),'secondary':_0x4a373c(this[_0x2a7c94(0x6c)],_0x2a7c94(0x8e))}}}}),_0x4d10a3=this[_0x2a7c94(0x87)]();return _0x4d10a3[_0x2a7c94(0x69)]({'attributes':{'class':[this[_0x2a7c94(0x81)]['if'](_0x2a7c94(0xbe),_0x2a7c94(0xa5),_0xd77ae9=>!_0xd77ae9)]}}),_0x478d51['on'](_0x2a7c94(0x7c),()=>{const _0x5afd37=_0x2a7c94;_0x478d51[_0x5afd37(0xb8)][_0x5afd37(0xc1)](_0x4d10a3,0x1);}),_0x478d51[_0x2a7c94(0x69)]({'attributes':{'class':[this[_0x2a7c94(0x81)]['if'](_0x2a7c94(0x84),_0x2a7c94(0xa5),_0x2a3259=>!_0x2a3259)]}}),_0x478d51;}[_0x4a8e86(0xa2)](){const _0x3491ae=_0x4a8e86,_0x214580=new _0x2f6b72(this[_0x3491ae(0x6c)],_0x9f336[_0x3491ae(0xab)]);return _0x214580[_0x3491ae(0x69)]({'attributes':{'class':[this[_0x3491ae(0x81)]['if'](_0x3491ae(0xaf),_0x3491ae(0xa5),_0x4a7a3a=>!_0x4a7a3a)]}}),_0x214580;}[_0x4a8e86(0x87)](){const _0x2b1370=_0x4a8e86,_0xc3b13f=new _0x26a1d7(this[_0x2b1370(0x6c)]),_0x4ff729=new _0x3c901a(this[_0x2b1370(0x6c)]);_0x4ff729[_0x2b1370(0xa6)]({'withText':!0x1,'icon':_0x5533,'class':_0x2b1370(0x78)}),_0x4ff729[_0x2b1370(0x71)](_0x2b1370(0x66))['to'](this,_0x2b1370(0xb0),_0x41a706=>!!_0x41a706),_0x4ff729['on'](_0x2b1370(0x95),()=>{const _0x5e4896=_0x2b1370;this[_0x5e4896(0xbe)]='';});const _0x1f8e8d=this[_0x2b1370(0x81)];return _0xc3b13f[_0x2b1370(0xaa)]({'tag':_0x2b1370(0xbc),'attributes':{'class':['ck',_0x2b1370(0x83),_0x2b1370(0xb5)]},'children':[{'tag':'p','children':[{'text':_0x1f8e8d['to'](_0x2b1370(0xbe))}]},_0x4ff729]}),_0xc3b13f;}[_0x4a8e86(0x65)](){const _0x163e10=_0x4a8e86,_0x9ebdff=new _0x3c901a(this[_0x163e10(0x6c)]);_0x9ebdff[_0x163e10(0xa6)]({'label':_0x4a373c(this[_0x163e10(0x6c)],_0x163e10(0x88)),'withText':!0x0,'icon':_0x230159,'class':_0x163e10(0x9b)}),_0x9ebdff['on'](_0x163e10(0x95),()=>{const _0x14055f=_0x163e10;this[_0x14055f(0x76)](_0x14055f(0x9a));});const _0x2fd61c=new _0x26a1d7(this[_0x163e10(0x6c)]);return _0x2fd61c[_0x163e10(0xaa)]({'tag':_0x163e10(0xbc),'attributes':{'class':[_0x163e10(0x7d),this[_0x163e10(0x81)]['if'](_0x163e10(0xb4),_0x163e10(0xa5),_0x287e4f=>!_0x287e4f)]},'children':[{'tag':'p','attributes':{'class':[_0x163e10(0x6f)]},'children':[_0x4a373c(this[_0x163e10(0x6c)],_0x163e10(0x92))]},_0x9ebdff]}),_0x2fd61c;}[_0x4a8e86(0x7f)](_0x55674d,_0x5b3559){const _0x1ba17d=_0x4a8e86,_0x14b4a9=[];for(const _0x5604bd of _0x55674d){const _0x4dbc72=new _0x4fe80c(_0x5b3559,_0x5604bd);_0x4dbc72[_0x1ba17d(0xa7)](..._0x3efdf1)['to'](this),_0x14b4a9[_0x1ba17d(0x6a)](_0x4dbc72);}return _0x14b4a9;}[_0x4a8e86(0x8b)](_0xc8de70){const _0x33c420=_0x4a8e86,_0x415f72=this[_0x33c420(0x6c)]||'en',_0x1c2c6b=[];for(const _0x19ad1a of _0xc8de70){const _0x2d8119=this[_0x33c420(0x7f)](_0x19ad1a[_0x33c420(0x89)],_0x415f72);_0x1c2c6b[_0x33c420(0x6a)](new _0x1362e7(_0x415f72,{'title':_0x19ad1a[_0x33c420(0xc2)],'items':_0x2d8119}));}this[_0x33c420(0x8a)][_0x33c420(0x72)]=_0x1c2c6b,this[_0x33c420(0x8a)][_0x33c420(0x89)][_0x33c420(0x9c)](),this[_0x33c420(0x8a)][_0x33c420(0x89)][_0x33c420(0xb3)](_0x1c2c6b),this[_0x33c420(0xb0)]=_0xc8de70[_0x33c420(0xbf)](_0x5b0dc2=>_0x5b0dc2[_0x33c420(0x89)][_0x33c420(0x86)]>0x0),this[_0x33c420(0x79)]();}[_0x4a8e86(0xb6)](_0x277748){const _0x23a434=_0x4a8e86;for(const _0x5e0bff of this[_0x23a434(0x8a)][_0x23a434(0x72)]){const _0xf51b13=_0x5e0bff[_0x23a434(0xad)](_0x277748);if(_0xf51b13){if(_0x5e0bff[_0x23a434(0x6e)](_0xf51b13),0x0===_0x5e0bff[_0x23a434(0xae)][_0x23a434(0x86)]){const _0xc87dba=this[_0x23a434(0x8a)][_0x23a434(0x72)][_0x23a434(0x75)](_0x5e0bff);-0x1!==_0xc87dba&&(this[_0x23a434(0x8a)][_0x23a434(0x72)][_0x23a434(0x73)](_0xc87dba,0x1),this[_0x23a434(0x8a)][_0x23a434(0x89)][_0x23a434(0xbb)](_0x5e0bff));}this[_0x23a434(0xb0)]=this[_0x23a434(0x8a)][_0x23a434(0x72)][_0x23a434(0x86)]>0x0,this[_0x23a434(0x79)]();break;}}}[_0x4a8e86(0xc3)](_0x3d3083,_0x300457){const _0x2ddd26=_0x4a8e86;for(const _0x2a7551 of this[_0x2ddd26(0x8a)][_0x2ddd26(0x72)]){const _0x44d3e9=_0x2a7551[_0x2ddd26(0xad)](_0x3d3083);if(_0x44d3e9){_0x44d3e9[_0x2ddd26(0x8d)](_0x300457);break;}}}[_0x4a8e86(0xb9)](_0x1d14ab,_0x35f2d0,_0x51ca28){const _0x496495=_0x4a8e86;for(const _0x5e8c19 of this[_0x496495(0x8a)][_0x496495(0x72)]){const _0x2370ba=_0x5e8c19[_0x496495(0xad)](_0x1d14ab);if(_0x2370ba){_0x2370ba[_0x496495(0xb2)](_0x35f2d0,_0x51ca28);break;}}}[_0x4a8e86(0x79)](){const _0x386ab7=_0x4a8e86;if(this[_0x386ab7(0xb0)]){const _0x23321f=this[_0x386ab7(0xac)][_0x386ab7(0x67)][_0x386ab7(0x77)]?.[_0x386ab7(0x9e)]?.[_0x386ab7(0xa1)]||'';this[_0x386ab7(0xac)][_0x386ab7(0x96)](_0x23321f);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58a2ec=_0x3a10;(function(_0x2e624f,_0x65a047){const _0x54885c=_0x3a10,_0x3c2ef1=_0x2e624f();while(!![]){try{const _0x594826=-parseInt(_0x54885c(0x1f3))/0x1+parseInt(_0x54885c(0x1e3))/0x2*(parseInt(_0x54885c(0x22c))/0x3)+-parseInt(_0x54885c(0x22b))/0x4+-parseInt(_0x54885c(0x238))/0x5+parseInt(_0x54885c(0x200))/0x6*(parseInt(_0x54885c(0x20c))/0x7)+-parseInt(_0x54885c(0x226))/0x8+parseInt(_0x54885c(0x1f8))/0x9*(parseInt(_0x54885c(0x222))/0xa);if(_0x594826===_0x65a047)break;else _0x3c2ef1['push'](_0x3c2ef1['shift']());}catch(_0x531cca){_0x3c2ef1['push'](_0x3c2ef1['shift']());}}}(_0x1a37,0x53325));import{AIChatUI as _0x55fde8}from'../aichat/aichatui.js';import{ContextPlugin as _0x4c7054}from'ckeditor5/src/core.js';import{AIChatShortcutsView as _0x4e6ee5}from'./ui/aichatshortcutsview.js';import{CKEditorError as _0x130388}from'ckeditor5/src/utils.js';import'../../theme/aichatshortcuts/aichatshortcuts.css';const Ut=_0x58a2ec(0x220);function _0x1a37(){const _0x15e3bf=['CHAT','string','focusPromptInput','_shortcutsView','execute','args','26803fWePDi','_executeShortcut','AIChatController','interactionStarted','get','setPromptInputValue','values','setWebSearch','locale','config','_runReviewShortcut','context','AIReviewModeUI','AIChat','addFeedItemCustomElement','ai-chat-shortcuts-invalid-config','activeConversation','ai-chat-shortcuts-ai-tabs-not-found','pluginName','type','chat-shortcuts','_switchTab','237940BOHFqo','_runChatShortcut','_validateShortcuts','listenTo','2093216QNrCvH','activateTab','params','requires','isFromHistory','1108552wjUVBn','800715tORHug','view','removeFeedItem','setReasoning','ai-chat-shortcuts-translate-not-found','ai-chat-shortcuts-review-mode-not-found','getDefault','_aiChatUI','plugins','prompt','hasFeedItem','_runTranslateShortcut','667605ZbFWat','init','chat','review','AITranslateUI','setModel','destroy','4aswlTx','has','REVIEW','length','_shortcuts','runReviewCheck','fire','custom','_removeShortcuts','render','includes','source','conversationCreated','addCurrentDocumentToChatContext','check','reviewMode','354343bmyKUg','getModel','chatModels','element','sendMessage','198XDpBNr','_injectShortcuts','AITabs','translate','AIChatShortcuts','TRANSLATE','ai.chat.shortcuts','forEach','486caNVhc','find','language','isOfficialPlugin','isPremiumPlugin','label'];_0x1a37=function(){return _0x15e3bf;};return _0x1a37();}export var AIChatShortcutType;!function(_0x4b816d){const _0x5be6a0=_0x58a2ec;_0x4b816d[_0x5be6a0(0x206)]=_0x5be6a0(0x23a),_0x4b816d[_0x5be6a0(0x1e5)]=_0x5be6a0(0x23b),_0x4b816d[_0x5be6a0(0x1fd)]=_0x5be6a0(0x1fb);}(AIChatShortcutType||(AIChatShortcutType={}));function _0x3a10(_0x56a587,_0x2bea59){const _0x1a3702=_0x1a37();return _0x3a10=function(_0x3a10d9,_0x4ccf0b){_0x3a10d9=_0x3a10d9-0x1e1;let _0x4ac1a0=_0x1a3702[_0x3a10d9];return _0x4ac1a0;},_0x3a10(_0x56a587,_0x2bea59);}export class AIChatShortcuts extends _0x4c7054{[_0x58a2ec(0x1e7)];[_0x58a2ec(0x209)];[_0x58a2ec(0x233)];static get[_0x58a2ec(0x229)](){return[_0x55fde8];}static get[_0x58a2ec(0x21e)](){const _0x212c43=_0x58a2ec;return _0x212c43(0x1fc);}static get[_0x58a2ec(0x203)](){return!0x0;}static get[_0x58a2ec(0x204)](){return!0x0;}[_0x58a2ec(0x239)](){const _0x467821=_0x58a2ec;this[_0x467821(0x233)]=this[_0x467821(0x217)][_0x467821(0x234)][_0x467821(0x210)](_0x55fde8),this[_0x467821(0x1e7)]=this[_0x467821(0x217)][_0x467821(0x215)][_0x467821(0x210)](_0x467821(0x1fe))??[];const _0x568b74=this[_0x467821(0x217)][_0x467821(0x234)][_0x467821(0x210)](_0x467821(0x20e));this[_0x467821(0x1e7)][_0x467821(0x1e6)]&&(this[_0x467821(0x224)](),this[_0x467821(0x233)]['on'](_0x467821(0x1ef),()=>{const _0x7ec301=_0x467821;_0x568b74[_0x7ec301(0x21c)][_0x7ec301(0x22a)]||this[_0x7ec301(0x1f9)]();}),this[_0x467821(0x225)](_0x568b74,_0x467821(0x20f),()=>{const _0x5f29d0=_0x467821;this[_0x5f29d0(0x1eb)]();}));}[_0x58a2ec(0x224)](){const _0x24d7fb=_0x58a2ec,_0x5e93ed=Object[_0x24d7fb(0x212)](AIChatShortcutType);this[_0x24d7fb(0x1e7)][_0x24d7fb(0x1ff)](_0x2c105a=>{const _0x3748ef=_0x24d7fb;let _0x4e8b27=!0x0;if(_0x2c105a['id']&&_0x2c105a[_0x3748ef(0x205)]&&_0x5e93ed[_0x3748ef(0x1ed)](_0x2c105a[_0x3748ef(0x21f)])?_0x3748ef(0x23a)===_0x2c105a[_0x3748ef(0x21f)]&&(_0x4e8b27=_0x3748ef(0x207)==typeof _0x2c105a[_0x3748ef(0x235)]):_0x4e8b27=!0x1,!_0x4e8b27)throw new _0x130388(_0x3748ef(0x21b),this[_0x3748ef(0x217)],{'shortcut':_0x2c105a});});}[_0x58a2ec(0x1f9)](){const _0x449c16=_0x58a2ec,_0x4f09b=this[_0x449c16(0x217)][_0x449c16(0x234)][_0x449c16(0x210)](_0x55fde8);this[_0x449c16(0x209)]=new _0x4e6ee5(this[_0x449c16(0x217)][_0x449c16(0x214)],this[_0x449c16(0x1e7)]),this[_0x449c16(0x209)][_0x449c16(0x1ec)](),_0x4f09b[_0x449c16(0x21a)](this[_0x449c16(0x209)][_0x449c16(0x1f6)],Ut),this[_0x449c16(0x209)]['on'](_0x449c16(0x20a),_0x3dffab=>{const _0x38664f=_0x449c16,_0x589712=_0x3dffab[_0x38664f(0x1ee)]['id'];this[_0x38664f(0x20d)](_0x589712);});}[_0x58a2ec(0x1eb)](){const _0x185677=_0x58a2ec,_0x598695=this[_0x185677(0x217)][_0x185677(0x234)][_0x185677(0x210)](_0x55fde8);_0x598695[_0x185677(0x236)](Ut)&&_0x598695[_0x185677(0x22e)](Ut),this[_0x185677(0x209)]?.[_0x185677(0x1e2)]();}[_0x58a2ec(0x20d)](_0xc31aeb){const _0x3fc58c=_0x58a2ec,_0x2d045a=this[_0x3fc58c(0x1e7)][_0x3fc58c(0x201)](_0x3d6575=>_0x3d6575['id']===_0xc31aeb),_0x58b3c0=_0x2d045a[_0x3fc58c(0x21f)];_0x3fc58c(0x23a)===_0x58b3c0?this[_0x3fc58c(0x223)](_0x2d045a):_0x3fc58c(0x23b)===_0x58b3c0?_0x2d045a[_0x3fc58c(0x1f1)]?this[_0x3fc58c(0x216)](_0x2d045a):this[_0x3fc58c(0x221)](_0x3fc58c(0x1f2)):_0x3fc58c(0x1fb)===_0x58b3c0&&(_0x2d045a[_0x3fc58c(0x202)]?this[_0x3fc58c(0x237)](_0x2d045a):this[_0x3fc58c(0x221)](_0x3fc58c(0x1fb)));}[_0x58a2ec(0x221)](_0xacc58a){const _0x147b52=_0x58a2ec;if(!this[_0x147b52(0x217)][_0x147b52(0x234)][_0x147b52(0x1e4)](_0x147b52(0x1fa)))throw new _0x130388(_0x147b52(0x21d),this[_0x147b52(0x217)],{'tabName':_0xacc58a});this[_0x147b52(0x217)][_0x147b52(0x234)][_0x147b52(0x210)](_0x147b52(0x1fa))[_0x147b52(0x22d)][_0x147b52(0x227)](_0xacc58a);}async[_0x58a2ec(0x223)]({prompt:_0x5badda,draftMode:_0x3c1442,useWebSearch:_0x3e3559=!0x1,useReasoning:_0x128474=!0x1,model:_0x45bf0b}){const _0x46b471=_0x58a2ec,_0x914df=this[_0x46b471(0x217)][_0x46b471(0x234)][_0x46b471(0x210)](_0x46b471(0x219)),_0x57176b=this[_0x46b471(0x217)][_0x46b471(0x234)][_0x46b471(0x210)](_0x46b471(0x20e)),_0x3eaea6=_0x57176b[_0x46b471(0x21c)];let _0x49ab97;_0x49ab97=_0x45bf0b?await _0x3eaea6[_0x46b471(0x1f5)][_0x46b471(0x1f4)](_0x45bf0b):await _0x3eaea6[_0x46b471(0x1f5)][_0x46b471(0x232)](),_0x49ab97&&await _0x3eaea6[_0x46b471(0x1e1)](_0x49ab97),_0x3eaea6[_0x46b471(0x213)](_0x3e3559),_0x3eaea6[_0x46b471(0x22f)](_0x128474),_0x57176b[_0x46b471(0x1f0)](),_0x3c1442?(this[_0x46b471(0x233)][_0x46b471(0x211)](_0x5badda),this[_0x46b471(0x233)][_0x46b471(0x208)](!0x0)):_0x914df[_0x46b471(0x1f7)]({'message':_0x5badda});}[_0x58a2ec(0x216)]({check:_0x670075,model:_0x5b79d2,prompt:_0x693198,params:_0x5bc65a}){const _0x22135c=_0x58a2ec;if(!this[_0x22135c(0x217)][_0x22135c(0x234)][_0x22135c(0x1e4)](_0x22135c(0x218)))throw new _0x130388(_0x22135c(0x231),this[_0x22135c(0x217)]);this[_0x22135c(0x221)](_0x22135c(0x1f2));const _0x49fb04={'id':_0x670075,'isCustom':_0x22135c(0x1ea)===_0x670075};_0x5b79d2&&_0x693198&&(_0x49fb04[_0x22135c(0x20b)]={'model':_0x5b79d2,'prompt':_0x693198}),_0x5bc65a&&(_0x49fb04[_0x22135c(0x228)]=_0x5bc65a),this[_0x22135c(0x217)][_0x22135c(0x234)][_0x22135c(0x210)](_0x22135c(0x218))[_0x22135c(0x1e9)](_0x22135c(0x1e8),_0x49fb04);}[_0x58a2ec(0x237)]({language:_0xfe5a24}){const _0x209a12=_0x58a2ec;if(!this[_0x209a12(0x217)][_0x209a12(0x234)][_0x209a12(0x1e4)](_0x209a12(0x23c)))throw new _0x130388(_0x209a12(0x230),this[_0x209a12(0x217)]);this[_0x209a12(0x221)](_0x209a12(0x1fb)),this[_0x209a12(0x217)][_0x209a12(0x234)][_0x209a12(0x210)](_0x209a12(0x23c))[_0x209a12(0x1e9)](_0x209a12(0x1e8),{'id':_0xfe5a24,'args':{'language':_0xfe5a24}});}}
23
+ const _0x14e0d1=_0x49d2;(function(_0x142d90,_0x88ef3b){const _0x36b6d8=_0x49d2,_0x260e44=_0x142d90();while(!![]){try{const _0x4b3d5d=parseInt(_0x36b6d8(0x184))/0x1+parseInt(_0x36b6d8(0x18e))/0x2*(parseInt(_0x36b6d8(0x176))/0x3)+parseInt(_0x36b6d8(0x1a5))/0x4*(parseInt(_0x36b6d8(0x185))/0x5)+parseInt(_0x36b6d8(0x1ba))/0x6*(-parseInt(_0x36b6d8(0x186))/0x7)+-parseInt(_0x36b6d8(0x183))/0x8*(-parseInt(_0x36b6d8(0x17e))/0x9)+-parseInt(_0x36b6d8(0x1ae))/0xa*(-parseInt(_0x36b6d8(0x16c))/0xb)+-parseInt(_0x36b6d8(0x16f))/0xc;if(_0x4b3d5d===_0x88ef3b)break;else _0x260e44['push'](_0x260e44['shift']());}catch(_0x3982f3){_0x260e44['push'](_0x260e44['shift']());}}}(_0x1107,0x44907));import{AIChatUI as _0x1deb3d}from'../aichat/aichatui.js';import{ContextPlugin as _0x5653b6}from'ckeditor5/src/core.js';import{AIChatShortcutsView as _0xe0c590}from'./ui/aichatshortcutsview.js';function _0x49d2(_0x1ae4da,_0x23b023){const _0x110768=_0x1107();return _0x49d2=function(_0x49d237,_0x3762fb){_0x49d237=_0x49d237-0x163;let _0x246070=_0x110768[_0x49d237];return _0x246070;},_0x49d2(_0x1ae4da,_0x23b023);}import{CKEditorError as _0x4573f6}from'ckeditor5/src/utils.js';import'../../theme/aichatshortcuts/aichatshortcuts.css';const Ut=_0x14e0d1(0x1a6);function _0x1107(){const _0xaee410=['_executeShortcut','fire','AIReviewModeUI','runReviewCheck','618xAxyFi','_validateShortcuts','setWebSearch','context','ai.chat.shortcuts','source','get','length','requires','sendMessage','init','setPromptInputValue','addFeedItemCustomElement','plugins','getDefault','chat','11HhAcqn','ai-chat-shortcuts-translate-not-found','CHAT','17475648jkNvaH','focusPromptInput','_aiChatUI','AIChatShortcuts','hasFeedItem','ai-chat-shortcuts-invalid-config','element','6cqWjpZ','ai-chat-shortcuts-ai-tabs-not-found','activateTab','REVIEW','conversationCreated','_shortcuts','AITranslateUI','locale','81uwRBCZ','pluginName','_shortcutsView','activeConversation','listenTo','120632lKWFbk','439350jLqYOS','10cwcbPz','15659lwwIvc','check','setModel','chatModels','TRANSLATE','find','string','isPremiumPlugin','427292HlHbHU','language','params','review','AIChat','interactionStarted','view','translate','forEach','has','_runReviewShortcut','custom','isOfficialPlugin','destroy','render','reviewMode','execute','_removeShortcuts','includes','label','AIChatController','removeFeedItem','type','934564ggIaBl','chat-shortcuts','getModel','prompt','isFromHistory','_runTranslateShortcut','_injectShortcuts','config','addCurrentDocumentToChatContext','4979190kyeJyZ','values','_switchTab','AITabs','args','ai-chat-shortcuts-review-mode-not-found','setReasoning','_runChatShortcut'];_0x1107=function(){return _0xaee410;};return _0x1107();}export var AIChatShortcutType;!function(_0x35b454){const _0x10e583=_0x14e0d1;_0x35b454[_0x10e583(0x16e)]=_0x10e583(0x16b),_0x35b454[_0x10e583(0x179)]=_0x10e583(0x191),_0x35b454[_0x10e583(0x18a)]=_0x10e583(0x195);}(AIChatShortcutType||(AIChatShortcutType={}));export class AIChatShortcuts extends _0x5653b6{[_0x14e0d1(0x17b)];[_0x14e0d1(0x180)];[_0x14e0d1(0x171)];static get[_0x14e0d1(0x164)](){return[_0x1deb3d];}static get[_0x14e0d1(0x17f)](){const _0x2e8cc7=_0x14e0d1;return _0x2e8cc7(0x172);}static get[_0x14e0d1(0x19a)](){return!0x0;}static get[_0x14e0d1(0x18d)](){return!0x0;}[_0x14e0d1(0x166)](){const _0x5545f6=_0x14e0d1;this[_0x5545f6(0x171)]=this[_0x5545f6(0x1bd)][_0x5545f6(0x169)][_0x5545f6(0x1c0)](_0x1deb3d),this[_0x5545f6(0x17b)]=this[_0x5545f6(0x1bd)][_0x5545f6(0x1ac)][_0x5545f6(0x1c0)](_0x5545f6(0x1be))??[];const _0x5d0549=this[_0x5545f6(0x1bd)][_0x5545f6(0x169)][_0x5545f6(0x1c0)](_0x5545f6(0x1a2));this[_0x5545f6(0x17b)][_0x5545f6(0x163)]&&(this[_0x5545f6(0x1bb)](),this[_0x5545f6(0x171)]['on'](_0x5545f6(0x17a),()=>{const _0x142ed7=_0x5545f6;_0x5d0549[_0x142ed7(0x181)][_0x142ed7(0x1a9)]||this[_0x142ed7(0x1ab)]();}),this[_0x5545f6(0x182)](_0x5d0549,_0x5545f6(0x193),()=>{const _0x97592f=_0x5545f6;this[_0x97592f(0x19f)]();}));}[_0x14e0d1(0x1bb)](){const _0x46eb76=_0x14e0d1,_0x372842=Object[_0x46eb76(0x1af)](AIChatShortcutType);this[_0x46eb76(0x17b)][_0x46eb76(0x196)](_0x2df318=>{const _0x53dc1e=_0x46eb76;let _0x3e809c=!0x0;if(_0x2df318['id']&&_0x2df318[_0x53dc1e(0x1a1)]&&_0x372842[_0x53dc1e(0x1a0)](_0x2df318[_0x53dc1e(0x1a4)])?_0x53dc1e(0x16b)===_0x2df318[_0x53dc1e(0x1a4)]&&(_0x3e809c=_0x53dc1e(0x18c)==typeof _0x2df318[_0x53dc1e(0x1a8)]):_0x3e809c=!0x1,!_0x3e809c)throw new _0x4573f6(_0x53dc1e(0x174),this[_0x53dc1e(0x1bd)],{'shortcut':_0x2df318});});}[_0x14e0d1(0x1ab)](){const _0xa7eefd=_0x14e0d1,_0x32b52b=this[_0xa7eefd(0x1bd)][_0xa7eefd(0x169)][_0xa7eefd(0x1c0)](_0x1deb3d);this[_0xa7eefd(0x180)]=new _0xe0c590(this[_0xa7eefd(0x1bd)][_0xa7eefd(0x17d)],this[_0xa7eefd(0x17b)]),this[_0xa7eefd(0x180)][_0xa7eefd(0x19c)](),_0x32b52b[_0xa7eefd(0x168)](this[_0xa7eefd(0x180)][_0xa7eefd(0x175)],Ut),this[_0xa7eefd(0x180)]['on'](_0xa7eefd(0x19e),_0x58190f=>{const _0x5853a9=_0xa7eefd,_0x2cd3f0=_0x58190f[_0x5853a9(0x1bf)]['id'];this[_0x5853a9(0x1b6)](_0x2cd3f0);});}[_0x14e0d1(0x19f)](){const _0x30be91=_0x14e0d1,_0x41c696=this[_0x30be91(0x1bd)][_0x30be91(0x169)][_0x30be91(0x1c0)](_0x1deb3d);_0x41c696[_0x30be91(0x173)](Ut)&&_0x41c696[_0x30be91(0x1a3)](Ut),this[_0x30be91(0x180)]?.[_0x30be91(0x19b)]();}[_0x14e0d1(0x1b6)](_0xa926bb){const _0x2ae96f=_0x14e0d1,_0x368bf4=this[_0x2ae96f(0x17b)][_0x2ae96f(0x18b)](_0x4e9583=>_0x4e9583['id']===_0xa926bb),_0x181c70=_0x368bf4[_0x2ae96f(0x1a4)];_0x2ae96f(0x16b)===_0x181c70?this[_0x2ae96f(0x1b5)](_0x368bf4):_0x2ae96f(0x191)===_0x181c70?_0x368bf4[_0x2ae96f(0x187)]?this[_0x2ae96f(0x198)](_0x368bf4):this[_0x2ae96f(0x1b0)](_0x2ae96f(0x19d)):_0x2ae96f(0x195)===_0x181c70&&(_0x368bf4[_0x2ae96f(0x18f)]?this[_0x2ae96f(0x1aa)](_0x368bf4):this[_0x2ae96f(0x1b0)](_0x2ae96f(0x195)));}[_0x14e0d1(0x1b0)](_0x21f51c){const _0x1bf868=_0x14e0d1;if(!this[_0x1bf868(0x1bd)][_0x1bf868(0x169)][_0x1bf868(0x197)](_0x1bf868(0x1b1)))throw new _0x4573f6(_0x1bf868(0x177),this[_0x1bf868(0x1bd)],{'tabName':_0x21f51c});this[_0x1bf868(0x1bd)][_0x1bf868(0x169)][_0x1bf868(0x1c0)](_0x1bf868(0x1b1))[_0x1bf868(0x194)][_0x1bf868(0x178)](_0x21f51c);}async[_0x14e0d1(0x1b5)]({prompt:_0x14aa52,draftMode:_0x323c4d,useWebSearch:_0x29631d=!0x1,useReasoning:_0x3de1a1=!0x1,model:_0xa24d5c}){const _0x170168=_0x14e0d1,_0x5ae8f2=this[_0x170168(0x1bd)][_0x170168(0x169)][_0x170168(0x1c0)](_0x170168(0x192)),_0x5b2c9e=this[_0x170168(0x1bd)][_0x170168(0x169)][_0x170168(0x1c0)](_0x170168(0x1a2)),_0x639c5b=_0x5b2c9e[_0x170168(0x181)];let _0x56325f;_0x56325f=_0xa24d5c?await _0x639c5b[_0x170168(0x189)][_0x170168(0x1a7)](_0xa24d5c):await _0x639c5b[_0x170168(0x189)][_0x170168(0x16a)](),_0x56325f&&await _0x639c5b[_0x170168(0x188)](_0x56325f),_0x639c5b[_0x170168(0x1bc)](_0x29631d),_0x639c5b[_0x170168(0x1b4)](_0x3de1a1),_0x5b2c9e[_0x170168(0x1ad)](),_0x323c4d?(this[_0x170168(0x171)][_0x170168(0x167)](_0x14aa52),this[_0x170168(0x171)][_0x170168(0x170)](!0x0)):_0x5ae8f2[_0x170168(0x165)]({'message':_0x14aa52});}[_0x14e0d1(0x198)]({check:_0x4ba12e,model:_0x473247,prompt:_0x551bfc,params:_0x19cc5f}){const _0x306319=_0x14e0d1;if(!this[_0x306319(0x1bd)][_0x306319(0x169)][_0x306319(0x197)](_0x306319(0x1b8)))throw new _0x4573f6(_0x306319(0x1b3),this[_0x306319(0x1bd)]);this[_0x306319(0x1b0)](_0x306319(0x19d));const _0x17b7e5={'id':_0x4ba12e,'isCustom':_0x306319(0x199)===_0x4ba12e};_0x473247&&_0x551bfc&&(_0x17b7e5[_0x306319(0x1b2)]={'model':_0x473247,'prompt':_0x551bfc}),_0x19cc5f&&(_0x17b7e5[_0x306319(0x190)]=_0x19cc5f),this[_0x306319(0x1bd)][_0x306319(0x169)][_0x306319(0x1c0)](_0x306319(0x1b8))[_0x306319(0x1b7)](_0x306319(0x1b9),_0x17b7e5);}[_0x14e0d1(0x1aa)]({language:_0x4fc3c2}){const _0x544573=_0x14e0d1;if(!this[_0x544573(0x1bd)][_0x544573(0x169)][_0x544573(0x197)](_0x544573(0x17c)))throw new _0x4573f6(_0x544573(0x16d),this[_0x544573(0x1bd)]);this[_0x544573(0x1b0)](_0x544573(0x195)),this[_0x544573(0x1bd)][_0x544573(0x169)][_0x544573(0x1c0)](_0x544573(0x17c))[_0x544573(0x1b7)](_0x544573(0x1b9),{'id':_0x4fc3c2,'args':{'language':_0x4fc3c2}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3307(_0x426610,_0x4cbdad){const _0x2c21fb=_0x2c21();return _0x3307=function(_0x3307e9,_0x46c2a9){_0x3307e9=_0x3307e9-0x18f;let _0x5f058c=_0x2c21fb[_0x3307e9];return _0x5f058c;},_0x3307(_0x426610,_0x4cbdad);}const _0x4dacb4=_0x3307;(function(_0x2e2c55,_0x2b231a){const _0x5afdc7=_0x3307,_0x44c705=_0x2e2c55();while(!![]){try{const _0x151834=-parseInt(_0x5afdc7(0x193))/0x1*(-parseInt(_0x5afdc7(0x19e))/0x2)+-parseInt(_0x5afdc7(0x19b))/0x3+-parseInt(_0x5afdc7(0x18f))/0x4+-parseInt(_0x5afdc7(0x1a2))/0x5+-parseInt(_0x5afdc7(0x19a))/0x6+parseInt(_0x5afdc7(0x19f))/0x7*(-parseInt(_0x5afdc7(0x1a0))/0x8)+parseInt(_0x5afdc7(0x191))/0x9*(parseInt(_0x5afdc7(0x198))/0xa);if(_0x151834===_0x2b231a)break;else _0x44c705['push'](_0x44c705['shift']());}catch(_0x2b1745){_0x44c705['push'](_0x44c705['shift']());}}}(_0x2c21,0x8060d));import{ListItemView as _0x1df162,ListView as _0x3bada7,View as _0x4b54b3}from'ckeditor5/src/ui.js';import{AIChatShortcutView as _0x48ec28}from'./aichatshortcutview.js';function _0x2c21(){const _0x2df40a=['ck-ai-chat-shortcuts','add','530846hXLgEj','7oTUgvD','2336520OjDNPH','addMany','4454155GpAsrC','execute','delegate','2337260EAtbgG','children','36GeMuex','locale','2TlMtkp','div','listView','setTemplate','items','6667550woRlKT','map','5106822aKeWzT','161043knLtUk'];_0x2c21=function(){return _0x2df40a;};return _0x2c21();}export class AIChatShortcutsView extends _0x4b54b3{[_0x4dacb4(0x195)];constructor(_0x2dfb9b,_0x364e7b){const _0x3df8cb=_0x4dacb4;super(_0x2dfb9b);const _0x40c0cf=_0x364e7b[_0x3df8cb(0x199)](_0x569363=>{const _0x215bf4=_0x3df8cb,_0x2bcbdb=new _0x1df162(this[_0x215bf4(0x192)]),_0xe87b04=new _0x48ec28(this[_0x215bf4(0x192)],_0x569363);return _0x2bcbdb[_0x215bf4(0x190)][_0x215bf4(0x19d)](_0xe87b04),_0xe87b04[_0x215bf4(0x1a4)](_0x215bf4(0x1a3))['to'](this),_0x2bcbdb;});this[_0x3df8cb(0x195)]=new _0x3bada7(this[_0x3df8cb(0x192)]),this[_0x3df8cb(0x195)][_0x3df8cb(0x197)][_0x3df8cb(0x1a1)](_0x40c0cf),this[_0x3df8cb(0x196)]({'tag':_0x3df8cb(0x194),'attributes':{'class':['ck',_0x3df8cb(0x19c)]},'children':[this[_0x3df8cb(0x195)]]});}}
23
+ const _0x4a0c91=_0x124d;(function(_0x182ef3,_0x3a3a49){const _0x33b1d9=_0x124d,_0x4128b5=_0x182ef3();while(!![]){try{const _0xdf0204=-parseInt(_0x33b1d9(0x1d3))/0x1*(parseInt(_0x33b1d9(0x1de))/0x2)+parseInt(_0x33b1d9(0x1d1))/0x3*(parseInt(_0x33b1d9(0x1d0))/0x4)+parseInt(_0x33b1d9(0x1cb))/0x5+-parseInt(_0x33b1d9(0x1dd))/0x6*(parseInt(_0x33b1d9(0x1d2))/0x7)+-parseInt(_0x33b1d9(0x1df))/0x8+parseInt(_0x33b1d9(0x1dc))/0x9+parseInt(_0x33b1d9(0x1cd))/0xa;if(_0xdf0204===_0x3a3a49)break;else _0x4128b5['push'](_0x4128b5['shift']());}catch(_0x3d7408){_0x4128b5['push'](_0x4128b5['shift']());}}}(_0x4594,0x1f63c));import{ListItemView as _0x401fdc,ListView as _0x45e1f4,View as _0x19da11}from'ckeditor5/src/ui.js';function _0x124d(_0x12498a,_0x599b23){const _0x459476=_0x4594();return _0x124d=function(_0x124ddf,_0xc07257){_0x124ddf=_0x124ddf-0x1ca;let _0xa18fb4=_0x459476[_0x124ddf];return _0xa18fb4;},_0x124d(_0x12498a,_0x599b23);}function _0x4594(){const _0x394c97=['2533370OtACNB','execute','locale','8bTQZAw','163275mmGYyk','24521IFYnEU','3ddXRIw','add','ck-ai-chat-shortcuts','listView','delegate','map','setTemplate','addMany','children','724005wVUQAp','378fYFYoA','130282QQwLeW','125520kcBLZD','items','588710mmPUXY','div'];_0x4594=function(){return _0x394c97;};return _0x4594();}import{AIChatShortcutView as _0x42e84d}from'./aichatshortcutview.js';export class AIChatShortcutsView extends _0x19da11{[_0x4a0c91(0x1d6)];constructor(_0x47b298,_0x4b945e){const _0x1a330e=_0x4a0c91;super(_0x47b298);const _0x3b1662=_0x4b945e[_0x1a330e(0x1d8)](_0x3ec660=>{const _0x4352aa=_0x1a330e,_0xa984b7=new _0x401fdc(this[_0x4352aa(0x1cf)]),_0x4c4740=new _0x42e84d(this[_0x4352aa(0x1cf)],_0x3ec660);return _0xa984b7[_0x4352aa(0x1db)][_0x4352aa(0x1d4)](_0x4c4740),_0x4c4740[_0x4352aa(0x1d7)](_0x4352aa(0x1ce))['to'](this),_0xa984b7;});this[_0x1a330e(0x1d6)]=new _0x45e1f4(this[_0x1a330e(0x1cf)]),this[_0x1a330e(0x1d6)][_0x1a330e(0x1ca)][_0x1a330e(0x1da)](_0x3b1662),this[_0x1a330e(0x1d9)]({'tag':_0x1a330e(0x1cc),'attributes':{'class':['ck',_0x1a330e(0x1d5)]},'children':[this[_0x1a330e(0x1d6)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x297b57,_0x48f64e){const _0x37cd1e=_0x1c8b,_0xe396f3=_0x297b57();while(!![]){try{const _0x27a3f6=-parseInt(_0x37cd1e(0x131))/0x1*(parseInt(_0x37cd1e(0x140))/0x2)+parseInt(_0x37cd1e(0x135))/0x3*(-parseInt(_0x37cd1e(0x133))/0x4)+-parseInt(_0x37cd1e(0x137))/0x5+-parseInt(_0x37cd1e(0x13f))/0x6*(parseInt(_0x37cd1e(0x141))/0x7)+parseInt(_0x37cd1e(0x139))/0x8*(-parseInt(_0x37cd1e(0x13e))/0x9)+parseInt(_0x37cd1e(0x142))/0xa*(parseInt(_0x37cd1e(0x132))/0xb)+-parseInt(_0x37cd1e(0x13a))/0xc*(-parseInt(_0x37cd1e(0x136))/0xd);if(_0x27a3f6===_0x48f64e)break;else _0xe396f3['push'](_0xe396f3['shift']());}catch(_0x151b6d){_0xe396f3['push'](_0xe396f3['shift']());}}}(_0x164a,0x2e72d));function _0x1c8b(_0x54c3b8,_0x468033){const _0x164aa5=_0x164a();return _0x1c8b=function(_0x1c8b7c,_0x5d2546){_0x1c8b7c=_0x1c8b7c-0x12f;let _0xb095a1=_0x164aa5[_0x1c8b7c];return _0xb095a1;},_0x1c8b(_0x54c3b8,_0x468033);}import{ButtonView as _0x274692}from'ckeditor5/src/ui.js';import{IconAIChat as _0x4b067a,IconAIReview as _0x5591ae,IconAITranslate as _0x2edc9b}from'@ckeditor/ckeditor5-icons';function _0x164a(){const _0x2122c0=['translate','589wytNoV','451dVZnRn','1146436PDpvYC','ck-ai-chat-shortcut','3sXehZo','7363109sDLqrq','980190GWOxou','set','2938664xIcDHY','24BWLrBA','review','extendTemplate','label','9vqmFAA','6NcoCnk','182KUMcGc','636881HKvUAN','12690mphtOV','chat','icon'];_0x164a=function(){return _0x2122c0;};return _0x164a();}export class AIChatShortcutView extends _0x274692{['id'];constructor(_0x3bf00d,_0x45e953){const _0x33feda=_0x1c8b;super(_0x3bf00d);const {id:_0x3d9535,type:_0x6493ab,icon:_0x1e0803}=_0x45e953;this['id']=_0x3d9535,this[_0x33feda(0x138)]({'label':_0x45e953[_0x33feda(0x13d)],'withText':!0x0,'class':_0x33feda(0x134)}),this[_0x33feda(0x13c)]({'attributes':{'data-cke-ai-shortcut-id':_0x45e953['id']}}),_0x1e0803?this[_0x33feda(0x12f)]=_0x1e0803:_0x33feda(0x143)===_0x6493ab?this[_0x33feda(0x12f)]=_0x4b067a:_0x33feda(0x13b)===_0x6493ab?this[_0x33feda(0x12f)]=_0x5591ae:_0x33feda(0x130)===_0x6493ab&&(this[_0x33feda(0x12f)]=_0x2edc9b);}}
23
+ function _0x2ec6(_0x114fc6,_0x28e182){const _0x4102c0=_0x4102();return _0x2ec6=function(_0x2ec6cd,_0x2eaf91){_0x2ec6cd=_0x2ec6cd-0xd7;let _0x5d869b=_0x4102c0[_0x2ec6cd];return _0x5d869b;},_0x2ec6(_0x114fc6,_0x28e182);}(function(_0x500faa,_0x5e7715){const _0x19dded=_0x2ec6,_0x31320d=_0x500faa();while(!![]){try{const _0x31e467=parseInt(_0x19dded(0xe4))/0x1*(parseInt(_0x19dded(0xe1))/0x2)+parseInt(_0x19dded(0xe8))/0x3*(parseInt(_0x19dded(0xe5))/0x4)+-parseInt(_0x19dded(0xdf))/0x5+-parseInt(_0x19dded(0xe9))/0x6*(parseInt(_0x19dded(0xda))/0x7)+parseInt(_0x19dded(0xdd))/0x8+parseInt(_0x19dded(0xd9))/0x9+-parseInt(_0x19dded(0xde))/0xa*(parseInt(_0x19dded(0xe7))/0xb);if(_0x31e467===_0x5e7715)break;else _0x31320d['push'](_0x31320d['shift']());}catch(_0x20d583){_0x31320d['push'](_0x31320d['shift']());}}}(_0x4102,0x7c5bd));import{ButtonView as _0x34e4e4}from'ckeditor5/src/ui.js';import{IconAIChat as _0x1744dc,IconAIReview as _0xf84336,IconAITranslate as _0x461c93}from'@ckeditor/ckeditor5-icons';function _0x4102(){const _0x4dfe38=['review','2863888dGpgyx','10NsdVmQ','1400770UngzjD','icon','249182iQJpfN','chat','extendTemplate','5gEDBTu','2023676ESUEIt','ck-ai-chat-shortcut','7519369kgAojl','6pPvgEP','6ggdKPc','set','translate','803016qVqZko','4262279qxbriO','label'];_0x4102=function(){return _0x4dfe38;};return _0x4102();}export class AIChatShortcutView extends _0x34e4e4{['id'];constructor(_0x376b5a,_0xfc9ad0){const _0x35bc0e=_0x2ec6;super(_0x376b5a);const {id:_0x3074c3,type:_0x46eb24,icon:_0x187654}=_0xfc9ad0;this['id']=_0x3074c3,this[_0x35bc0e(0xd7)]({'label':_0xfc9ad0[_0x35bc0e(0xdb)],'withText':!0x0,'class':_0x35bc0e(0xe6)}),this[_0x35bc0e(0xe3)]({'attributes':{'data-cke-ai-shortcut-id':_0xfc9ad0['id']}}),_0x187654?this[_0x35bc0e(0xe0)]=_0x187654:_0x35bc0e(0xe2)===_0x46eb24?this[_0x35bc0e(0xe0)]=_0x1744dc:_0x35bc0e(0xdc)===_0x46eb24?this[_0x35bc0e(0xe0)]=_0xf84336:_0x35bc0e(0xd8)===_0x46eb24&&(this[_0x35bc0e(0xe0)]=_0x461c93);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xd0c1(_0x2baa74,_0x5bb9b3){const _0x1ea3fc=_0x1ea3();return _0xd0c1=function(_0xd0c10,_0x402376){_0xd0c10=_0xd0c10-0x16d;let _0x422638=_0x1ea3fc[_0xd0c10];return _0x422638;},_0xd0c1(_0x2baa74,_0x5bb9b3);}const _0x5ba333=_0xd0c1;(function(_0x5d1233,_0x182055){const _0x1c30c1=_0xd0c1,_0x4a8b56=_0x5d1233();while(!![]){try{const _0x19a1a3=-parseInt(_0x1c30c1(0x1b4))/0x1+parseInt(_0x1c30c1(0x187))/0x2+-parseInt(_0x1c30c1(0x1c3))/0x3+-parseInt(_0x1c30c1(0x198))/0x4+parseInt(_0x1c30c1(0x189))/0x5+parseInt(_0x1c30c1(0x1cb))/0x6*(-parseInt(_0x1c30c1(0x1cd))/0x7)+-parseInt(_0x1c30c1(0x1cf))/0x8*(-parseInt(_0x1c30c1(0x1b5))/0x9);if(_0x19a1a3===_0x182055)break;else _0x4a8b56['push'](_0x4a8b56['shift']());}catch(_0x1d31af){_0x4a8b56['push'](_0x4a8b56['shift']());}}}(_0x1ea3,0xa5558));import{createParser as _0x5ef35d}from'eventsource-parser';import{ContextPlugin as _0x4739de}from'ckeditor5/src/core.js';import{CKEditorError as _0x5de1d3}from'ckeditor5/src/utils.js';export var AIActionsNames;!function(_0x201e9f){const _0x3bbfbc=_0xd0c1;_0x201e9f[_0x3bbfbc(0x177)]=_0x3bbfbc(0x1e0),_0x201e9f[_0x3bbfbc(0x1b0)]=_0x3bbfbc(0x1fa),_0x201e9f[_0x3bbfbc(0x1a1)]=_0x3bbfbc(0x1f6),_0x201e9f[_0x3bbfbc(0x200)]=_0x3bbfbc(0x1a6),_0x201e9f[_0x3bbfbc(0x1c8)]=_0x3bbfbc(0x1bd),_0x201e9f[_0x3bbfbc(0x1e6)]=_0x3bbfbc(0x17c),_0x201e9f[_0x3bbfbc(0x1f0)]=_0x3bbfbc(0x1e9),_0x201e9f[_0x3bbfbc(0x195)]=_0x3bbfbc(0x1fb);}(AIActionsNames||(AIActionsNames={}));export class AIConnector extends _0x4739de{[_0x5ba333(0x1d0)];[_0x5ba333(0x1d6)];[_0x5ba333(0x196)];static get[_0x5ba333(0x1b1)](){const _0x114d60=_0x5ba333;return[_0x114d60(0x1dd)];}static get[_0x5ba333(0x1a3)](){const _0x2b91f6=_0x5ba333;return _0x2b91f6(0x1ed);}static get[_0x5ba333(0x1eb)](){return!0x0;}static get[_0x5ba333(0x199)](){return!0x0;}constructor(_0x1349ca){const _0x8892da=_0x5ba333;super(_0x1349ca),this[_0x8892da(0x1c6)][_0x8892da(0x1be)][_0x8892da(0x1b2)](_0x8892da(0x1b3),_0x8892da(0x1f5)),this[_0x8892da(0x1d0)]=this[_0x8892da(0x1c6)][_0x8892da(0x1be)][_0x8892da(0x1e3)](_0x8892da(0x1b3)),this[_0x8892da(0x1d6)]=null,this[_0x8892da(0x196)]=new TextDecoder();}[_0x5ba333(0x191)](){const _0xd074d0=_0x5ba333,_0x4545a4=this[_0xd074d0(0x1c6)][_0xd074d0(0x1ef)][_0xd074d0(0x1e3)](_0xd074d0(0x1dd));if(!_0x4545a4[_0xd074d0(0x16f)])throw new _0x5de1d3(_0xd074d0(0x1ac),this);this[_0xd074d0(0x1d6)]=_0x4545a4[_0xd074d0(0x16f)];}[_0x5ba333(0x1a8)](_0xe6cb9a,_0x16c21c){const _0x28fcb3=_0x5ba333,_0x7a2704=this[_0x28fcb3(0x1fc)](_0x28fcb3(0x181),_0x28fcb3(0x1c5),{'id':_0xe6cb9a,'group':_0x16c21c});return{'getConversation':async()=>(await _0x7a2704[_0x28fcb3(0x1a7)])[_0x28fcb3(0x1de)](),'abortController':_0x7a2704[_0x28fcb3(0x1f1)]};}[_0x5ba333(0x1d2)]({message:_0x2853e6,conversationId:_0x46aea6,parts:_0x1fb681,capabilities:_0x2e9abc,model:_0x5bbec7,attributes:_0x1cc3ec}){const _0xfb26ab=_0x5ba333,_0x17dcfc={'prompt':_0x2853e6,'content':_0x1fb681,'model':_0x5bbec7,..._0x2e9abc&&{'capabilities':_0x2e9abc},..._0x1cc3ec&&{'attributes':_0x1cc3ec}},_0xa9b40e=this[_0xfb26ab(0x1fc)](_0xfb26ab(0x1ab)+_0x46aea6+_0xfb26ab(0x1ce),_0xfb26ab(0x1c5),_0x17dcfc);return{'getStream':async()=>{const _0x444c38=_0xfb26ab,_0x169800=(await _0xa9b40e[_0x444c38(0x1a7)])[_0x444c38(0x1c4)];return this[_0x444c38(0x1ec)](_0x169800);},'abortController':_0xa9b40e[_0xfb26ab(0x1f1)]};}[_0x5ba333(0x1df)]({content:_0x3a4edd,message:_0x37c4a5,model:_0x2bea3d,outputFormat:_0xcc66a0}){const _0x4e94b9=_0x5ba333,_0x2f0bae={'content':[{'type':_0x4e94b9(0x18b),'content':_0x3a4edd}],'prompt':_0x37c4a5,'model':_0x2bea3d,'outputFormat':_0xcc66a0},_0x1c7301=this[_0x4e94b9(0x1fc)](_0x4e94b9(0x1db),_0x4e94b9(0x1c5),_0x2f0bae);return{'getStream':async()=>{const _0x2f41b1=_0x4e94b9,_0x51a758=(await _0x1c7301[_0x2f41b1(0x1a7)])[_0x2f41b1(0x1c4)];return this[_0x2f41b1(0x1ec)](_0x51a758);},'abortController':_0x1c7301[_0x4e94b9(0x1f1)]};}[_0x5ba333(0x19c)]({actionName:_0x2fcca1,content:_0x400531,args:_0x33b2dd}){const _0x413dbb=_0x5ba333,_0x1ccb29={'content':[{'type':_0x413dbb(0x18b),'content':_0x400531}],'args':_0x33b2dd},_0x25b75b=this[_0x413dbb(0x1fc)](_0x413dbb(0x1f4)+_0x2fcca1+_0x413dbb(0x18c),_0x413dbb(0x1c5),_0x1ccb29);return{'getStream':async()=>{const _0xd1e876=_0x413dbb,_0x4ac598=(await _0x25b75b[_0xd1e876(0x1a7)])[_0xd1e876(0x1c4)];return this[_0xd1e876(0x1ec)](_0x4ac598);},'abortController':_0x25b75b[_0x413dbb(0x1f1)]};}[_0x5ba333(0x1e4)](_0x133bba,_0xfad75d,_0xde0df2){const _0x207278=_0x5ba333,_0x8640bf=new FormData();_0x8640bf[_0x207278(0x19d)](_0x207278(0x1f7),_0xfad75d,_0xfad75d[_0x207278(0x1c9)]),_0xde0df2&&_0x8640bf[_0x207278(0x19d)](_0x207278(0x17f),JSON[_0x207278(0x1ba)](_0xde0df2));const _0x1aaa64=this[_0x207278(0x1fc)](_0x207278(0x1ab)+_0x133bba+_0x207278(0x18d),_0x207278(0x1c5),_0x8640bf);return{'getId':async()=>(await _0x1aaa64[_0x207278(0x1a7)])[_0x207278(0x1de)](),'abortController':_0x1aaa64[_0x207278(0x1f1)]};}[_0x5ba333(0x1d4)](_0x4faaeb,_0x4c4fcc){const _0x55e333=_0x5ba333,_0x3dc65f=this[_0x55e333(0x1fc)](_0x55e333(0x1ab)+_0x4faaeb+_0x55e333(0x1aa)+_0x4c4fcc,_0x55e333(0x1a5));return{'getDocument':async()=>(await _0x3dc65f[_0x55e333(0x1a7)])[_0x55e333(0x1de)](),'abortController':_0x3dc65f[_0x55e333(0x1f1)]};}[_0x5ba333(0x1b7)](_0x1118c2,_0x47beaa,_0x431dd7){const _0x397c4e=_0x5ba333,_0x4043d6={'content':_0x47beaa};_0x431dd7&&(_0x4043d6[_0x397c4e(0x17f)]=_0x431dd7);const _0x4d3506=this[_0x397c4e(0x1fc)](_0x397c4e(0x1ab)+_0x1118c2+_0x397c4e(0x1e2),_0x397c4e(0x1c5),_0x4043d6);return{'getId':async()=>(await _0x4d3506[_0x397c4e(0x1a7)])[_0x397c4e(0x1de)](),'abortController':_0x4d3506[_0x397c4e(0x1f1)]};}[_0x5ba333(0x172)](_0x354586,_0x5dd331={}){const _0x47096e=_0x5ba333,_0x1eced6=new URLSearchParams();_0x1eced6[_0x47096e(0x19d)](_0x47096e(0x17e),_0x354586),_0x1eced6[_0x47096e(0x19d)](_0x47096e(0x1f3),!0x1!==_0x5dd331[_0x47096e(0x1f3)]?_0x47096e(0x19f):_0x47096e(0x173)),_0x1eced6[_0x47096e(0x19d)](_0x47096e(0x1b6),_0x5dd331[_0x47096e(0x1b6)]?_0x5dd331[_0x47096e(0x1b6)][_0x47096e(0x1bb)]():_0x47096e(0x19e)),_0x1eced6[_0x47096e(0x19d)](_0x47096e(0x1a0),_0x5dd331[_0x47096e(0x1a0)]?_0x5dd331[_0x47096e(0x1a0)]:_0x47096e(0x174)),_0x1eced6[_0x47096e(0x19d)](_0x47096e(0x1af),_0x5dd331[_0x47096e(0x1af)]?_0x5dd331[_0x47096e(0x1af)]:_0x47096e(0x1e7));const _0x468da2=this[_0x47096e(0x1fc)](_0x47096e(0x190)+_0x1eced6[_0x47096e(0x1bb)](),_0x47096e(0x1a5));return{'getConversations':async()=>{const _0x21e3ad=_0x47096e,_0x207cf5=await _0x468da2[_0x21e3ad(0x1a7)];return(await _0x207cf5[_0x21e3ad(0x1de)]())[_0x21e3ad(0x1d5)];},'abortController':_0x468da2[_0x47096e(0x1f1)]};}[_0x5ba333(0x19b)](_0x5b1f1f){const _0x3c12af=_0x5ba333,_0x4e11ba=this[_0x3c12af(0x1fc)](_0x3c12af(0x1ab)+_0x5b1f1f,_0x3c12af(0x16d));return{'execute':async()=>{const _0x5cd8cb=_0x3c12af;await _0x4e11ba[_0x5cd8cb(0x1a7)];},'abortController':_0x4e11ba[_0x3c12af(0x1f1)]};}[_0x5ba333(0x18f)](_0x377789,_0x3dad09){const _0x78cbf6=_0x5ba333,_0x3f59ea=this[_0x78cbf6(0x1fc)](_0x78cbf6(0x1ab)+_0x377789,_0x78cbf6(0x1da),_0x3dad09);return{'getResult':async()=>(await _0x3f59ea[_0x78cbf6(0x1a7)],_0x3dad09),'abortController':_0x3f59ea[_0x78cbf6(0x1f1)]};}[_0x5ba333(0x1fd)](_0x630976){const _0x37e8dd=_0x5ba333,_0x2b5f49=this[_0x37e8dd(0x1fc)](_0x37e8dd(0x1ab)+_0x630976,_0x37e8dd(0x1a5));return{'getConversation':async()=>(await _0x2b5f49[_0x37e8dd(0x1a7)])[_0x37e8dd(0x1de)](),'abortController':_0x2b5f49[_0x37e8dd(0x1f1)]};}[_0x5ba333(0x1e5)](_0x82b0da){const _0x57422d=_0x5ba333,_0x5254df=this[_0x57422d(0x1fc)](_0x57422d(0x1ab)+_0x82b0da+_0x57422d(0x1ce),_0x57422d(0x1a5));return{'getMessages':async()=>{const _0x397c02=_0x57422d,_0x1c5503=await _0x5254df[_0x397c02(0x1a7)];return(await _0x1c5503[_0x397c02(0x1de)]())[_0x397c02(0x1d5)];},'abortController':_0x5254df[_0x57422d(0x1f1)]};}[_0x5ba333(0x1a4)](_0x4ebf4c,_0x3b1225,_0x3c349f){const _0x4046f8=_0x5ba333,_0x514ca2=this[_0x4046f8(0x1fc)](_0x4046f8(0x1ab)+_0x4ebf4c+_0x4046f8(0x1d9),_0x4046f8(0x1c5),{'url':_0x3b1225,'attributes':_0x3c349f});return{'getId':async()=>(await _0x514ca2[_0x4046f8(0x1a7)])[_0x4046f8(0x1de)](),'abortController':_0x514ca2[_0x4046f8(0x1f1)]};}[_0x5ba333(0x1f8)](_0x712bc9='en'){const _0xcec88c=_0x5ba333,_0x36895a=new URLSearchParams();_0x36895a[_0xcec88c(0x19d)](_0xcec88c(0x188),_0x712bc9);const _0x55a463=_0xcec88c(0x186)+_0x36895a[_0xcec88c(0x1bb)](),_0x20faae=this[_0xcec88c(0x1fc)](_0x55a463,_0xcec88c(0x1a5));return{'list':async()=>await(await _0x20faae[_0xcec88c(0x1a7)])[_0xcec88c(0x1de)](),'abortController':_0x20faae[_0xcec88c(0x1f1)]};}[_0x5ba333(0x1ad)](_0x2acac1,_0x485b28){const _0x131148=_0x5ba333,_0x24ca97=this[_0x131148(0x1fc)](_0x131148(0x1ab)+_0x2acac1+_0x131148(0x185)+_0x485b28,_0x131148(0x16d));return{'execute':async()=>{const _0x130cab=_0x131148;await _0x24ca97[_0x130cab(0x1a7)];},'abortController':_0x24ca97[_0x131148(0x1f1)]};}[_0x5ba333(0x17b)](_0x102f3e,_0x5bdf96){const _0x290054=_0x5ba333,_0x1b0b4a=this[_0x290054(0x1fc)](_0x290054(0x1ab)+_0x102f3e+_0x290054(0x1aa)+_0x5bdf96,_0x290054(0x16d));return{'execute':async()=>{const _0x34e77d=_0x290054;await _0x1b0b4a[_0x34e77d(0x1a7)];},'abortController':_0x1b0b4a[_0x290054(0x1f1)]};}[_0x5ba333(0x1c0)](_0x2ef9c6,_0x2c4df9){const _0x2c3de2=_0x5ba333,_0xa70308=this[_0x2c3de2(0x1fc)](_0x2c3de2(0x1ab)+_0x2ef9c6+_0x2c3de2(0x1dc)+_0x2c4df9,_0x2c3de2(0x16d));return{'execute':async()=>{const _0x2596f8=_0x2c3de2;await _0xa70308[_0x2596f8(0x1a7)];},'abortController':_0xa70308[_0x2c3de2(0x1f1)]};}[_0x5ba333(0x18e)]({reviewName:_0x23a786,content:_0x192d08,args:_0x3afb7f}){const _0x25e943=_0x5ba333,_0x106d24=this[_0x25e943(0x1fc)](_0x25e943(0x176)+_0x23a786+_0x25e943(0x18c),_0x25e943(0x1c5),{'content':[{'type':_0x25e943(0x18b),'content':_0x192d08}],'args':_0x3afb7f});return{'getStream':async()=>{const _0x24964e=_0x25e943,_0x93e060=(await _0x106d24[_0x24964e(0x1a7)])[_0x24964e(0x1c4)];return this[_0x24964e(0x1ec)](_0x93e060);},'abortController':_0x106d24[_0x25e943(0x1f1)]};}[_0x5ba333(0x171)]({content:_0xdb8bb6,prompt:_0x3050ed,model:_0x4acc93}){const _0x3c441e=_0x5ba333,_0x2100cd=this[_0x3c441e(0x1fc)](_0x3c441e(0x1d3),_0x3c441e(0x1c5),{'content':[{'type':_0x3c441e(0x18b),'content':_0xdb8bb6}],'prompt':_0x3050ed,'model':_0x4acc93});return{'getStream':async()=>{const _0x364035=_0x3c441e,_0x2de5cd=(await _0x2100cd[_0x364035(0x1a7)])[_0x364035(0x1c4)];return this[_0x364035(0x1ec)](_0x2de5cd);},'abortController':_0x2100cd[_0x3c441e(0x1f1)]};}[_0x5ba333(0x18a)](_0x130942,_0x30c673,_0x42ec42){const _0x55e0ba=_0x5ba333,_0x4ccff3=this[_0x55e0ba(0x1fc)](_0x55e0ba(0x1ab)+_0x130942+_0x55e0ba(0x197)+_0x30c673+_0x55e0ba(0x1e8),_0x55e0ba(0x179),{'positiveCount':_0x42ec42[_0x55e0ba(0x1fe)],'totalCount':_0x42ec42[_0x55e0ba(0x182)],'modificationId':_0x42ec42[_0x55e0ba(0x1c2)]});return{'execute':async()=>{const _0x1e7b0c=_0x55e0ba;await _0x4ccff3[_0x1e7b0c(0x1a7)];},'abortController':_0x4ccff3[_0x55e0ba(0x1f1)]};}[_0x5ba333(0x1cc)](_0x1832cb,_0x46e1c1,_0x148879){const _0x3a4520=_0x5ba333,_0x5df1ec=this[_0x3a4520(0x1fc)](_0x3a4520(0x1f4)+_0x1832cb+_0x3a4520(0x1d7)+_0x46e1c1+_0x3a4520(0x1e8),_0x3a4520(0x179),{'positiveCount':_0x148879[_0x3a4520(0x1fe)],'totalCount':_0x148879[_0x3a4520(0x182)]});return{'execute':async()=>{const _0x30ce79=_0x3a4520;await _0x5df1ec[_0x30ce79(0x1a7)];},'abortController':_0x5df1ec[_0x3a4520(0x1f1)]};}[_0x5ba333(0x178)](_0x3fab73,_0x38fa3a){const _0x321ab7=_0x5ba333,_0x329d1f=this[_0x321ab7(0x1fc)](_0x321ab7(0x1c7)+_0x3fab73+_0x321ab7(0x1e8),_0x321ab7(0x179),{'positiveCount':_0x38fa3a[_0x321ab7(0x1fe)],'totalCount':_0x38fa3a[_0x321ab7(0x182)]});return{'execute':async()=>{const _0x338997=_0x321ab7;await _0x329d1f[_0x338997(0x1a7)];},'abortController':_0x329d1f[_0x321ab7(0x1f1)]};}[_0x5ba333(0x1b9)](_0x2f7b92,_0x3aa1db,_0x62f63d,_0xd3c55d){const _0x57762b=_0x5ba333,_0x1d4121=this[_0x57762b(0x1fc)](_0x57762b(0x176)+_0x2f7b92+_0x57762b(0x1d7)+_0x3aa1db+_0x57762b(0x1e8),_0x57762b(0x179),{'positiveCount':_0x62f63d[_0x57762b(0x1fe)],'totalCount':_0x62f63d[_0x57762b(0x182)],'dataId':_0xd3c55d});return{'execute':async()=>{const _0x3a5414=_0x57762b;await _0x1d4121[_0x3a5414(0x1a7)];},'abortController':_0x1d4121[_0x57762b(0x1f1)]};}[_0x5ba333(0x1ae)](_0x5dca16,_0x10e8b5,_0x188be3){const _0x484b52=_0x5ba333,_0x5bcfa0=this[_0x484b52(0x1fc)](_0x484b52(0x1ea)+_0x5dca16+_0x484b52(0x1e8),_0x484b52(0x179),{'positiveCount':_0x10e8b5[_0x484b52(0x1fe)],'totalCount':_0x10e8b5[_0x484b52(0x182)],'dataId':_0x188be3});return{'execute':async()=>{const _0x51cad1=_0x484b52;await _0x5bcfa0[_0x51cad1(0x1a7)];},'abortController':_0x5bcfa0[_0x484b52(0x1f1)]};}[_0x5ba333(0x1fc)](_0x297ac7,_0x28fc5c,_0x4519fd){const _0x500c11=_0x5ba333,_0x25caa2=new AbortController(),_0x253cb8=_0x4519fd instanceof FormData,_0x1221b2={'Authorization':_0x500c11(0x1a2)+this[_0x500c11(0x1d6)]?.[_0x500c11(0x184)]};_0x4519fd&&!_0x253cb8&&(_0x1221b2[_0x500c11(0x16e)]=_0x500c11(0x1bf));const _0x27b59b={'method':_0x28fc5c,'headers':_0x1221b2,'signal':_0x25caa2[_0x500c11(0x180)]};return _0x4519fd&&(_0x27b59b[_0x500c11(0x1c4)]=_0x253cb8?_0x4519fd:JSON[_0x500c11(0x1ba)](_0x4519fd)),{'request':fetch(''+this[_0x500c11(0x1d0)]+_0x297ac7,_0x27b59b)[_0x500c11(0x1f2)](_0x213a0f=>{const _0x3e3610=_0x500c11;this[_0x3e3610(0x170)](_0x213a0f);})[_0x500c11(0x1c1)](_0x3998cc=>_0x3998cc['ok']?_0x3998cc:_0x3998cc[_0x500c11(0x1de)]()[_0x500c11(0x1c1)](_0x22211d=>{const _0x15f824=_0x500c11;throw{'url':this[_0x15f824(0x1d0)],'path':_0x297ac7,'method':_0x28fc5c,'body':_0x4519fd,'status':(_0x3998cc||{})[_0x15f824(0x1a9)],'statusText':(_0x3998cc||{})[_0x15f824(0x183)],'code':_0x22211d[_0x15f824(0x175)],'message':_0x22211d[_0x15f824(0x17a)],'traceId':_0x22211d[_0x15f824(0x1f9)]};})),'abortController':_0x25caa2};}async*[_0x5ba333(0x1ec)](_0x3eddf3){const _0x5b8e1e=_0x5ba333,_0x41925e=[],_0xc46ac6=_0x3eddf3[_0x5b8e1e(0x1bc)](),_0x3352e9=_0x5ef35d({'onError':_0x406b4c=>{const _0x5c6241=_0x5b8e1e;this[_0x5c6241(0x170)](_0x406b4c);},'onEvent':_0x1dd1da=>{const _0x501b18=_0x5b8e1e;_0x1dd1da[_0x501b18(0x1b8)]=JSON[_0x501b18(0x1ca)](_0x1dd1da[_0x501b18(0x1b8)]),_0x41925e[_0x501b18(0x17d)](_0x1dd1da);}});try{let _0x3425f9=!0x1;for(;!_0x3425f9;){const {done:_0xcee263,value:_0x598d83}=await _0xc46ac6[_0x5b8e1e(0x1ff)]();_0xcee263&&(_0x3425f9=!0x0),_0x3352e9[_0x5b8e1e(0x1e1)](this[_0x5b8e1e(0x196)][_0x5b8e1e(0x1d8)](_0x598d83,{'stream':!0x0})),yield*_0x41925e,_0x41925e[_0x5b8e1e(0x1ee)]=0x0;}}catch(_0x584492){this[_0x5b8e1e(0x170)](_0x584492);}finally{_0xc46ac6[_0x5b8e1e(0x192)](),_0x3352e9[_0x5b8e1e(0x193)]();}}[_0x5ba333(0x170)](_0x5ce2a7){const _0x39ba2c=_0x5ba333;if(_0x5ce2a7 instanceof _0x5de1d3)throw _0x5ce2a7;if(_0x5ce2a7 instanceof Error&&_0x39ba2c(0x19a)===_0x5ce2a7[_0x39ba2c(0x1c9)])throw new _0x5de1d3(_0x39ba2c(0x194),this,{'originalError':_0x5ce2a7});throw new _0x5de1d3(_0x39ba2c(0x1d1),this,{'originalError':_0x5ce2a7});}}function _0x1ea3(){const _0xffb5fc=['uploadUrl','GET','make-longer','request','startConversation','status','/documents/','/conversations/','ai-missing-token','deleteFile','upsertCustomAIReviewRating','order','FIX_GRAMMAR','requires','define','ai.serviceUrl','104913eAeSnR','18qKiGwf','limit','uploadDocument','data','upsertAIReviewRating','stringify','toString','getReader','make-shorter','config','application/json','deleteWebResource','then','modificationId','2334228OHmIfL','body','POST','context','/actions/custom/calls/','MAKE_SHORTER','name','parse','3484038NSMXdA','upsertAIActionRating','7fgVvZh','/messages','5444552fgToXB','_apiUrl','ai-request-failed','queryAssistant','/reviews/custom/calls','fetchDocument','items','_token','/calls/','decode','/web-resources','PATCH','/actions/custom/calls','/web-resources/','CloudServices','json','executeCustomAction','continue','feed','/documents','get','uploadFile','fetchConversationMessages','MAKE_TONE_CASUAL','desc','/ratings','make-tone-formal','/reviews/custom/calls/','isOfficialPlugin','_getStreamReader','AIConnector','length','plugins','MAKE_TONE_FORMAL','abortController','catch','excludeEmpty','/actions/system/','https://ai.cke-cs.com/v1','improve-writing','file','getModels','traceId','fix-grammar','translate','_sendApiRequest','fetchConversation','positiveCount','read','MAKE_LONGER','DELETE','Content-Type','token','_handleError','callCustomReview','fetchConversations','false','createdAt','code','/reviews/system/','CONTINUE','upsertCustomAIActionRating','PUT','message','deleteDocument','make-tone-casual','push','group','attributes','signal','/conversations','totalCount','statusText','value','/files/','/models/1?','1601198axwmCB','language','4646625RRaGyB','upsertAIChatRating','text','/calls','/files','callSystemReview','updateConversation','/conversations?','init','releaseLock','reset','ai-request-aborted','TRANSLATE','_decoder','/messages/','3800768KyMATa','isPremiumPlugin','AbortError','deleteConversation','executeAction','append','100','true','sortBy','IMPROVE_WRITING','Bearer\x20','pluginName'];_0x1ea3=function(){return _0xffb5fc;};return _0x1ea3();}
23
+ const _0x244192=_0x2404;function _0x31a1(){const _0x33a3ee=['plugins','/actions/custom/calls/','updateConversation','desc','AbortError','parse','upsertAIActionRating','DELETE','uploadFile','upsertAIChatRating','feed','uploadUrl','stringify','20402DuqYob','config','define','/web-resources/','/ratings','data','ai-missing-token','read','executeAction','translate','Content-Type','4foYknI','isOfficialPlugin','decode','reset','Bearer\x20','make-shorter','length','POST','367314cafdeU','statusText','modificationId','file','deleteDocument','1491149OZVvtu','message','8158284WeIpCN','upsertAIReviewRating','positiveCount','text','MAKE_TONE_CASUAL','request','/reviews/custom/calls','continue','GET','/messages','/reviews/custom/calls/','pluginName','code','_token','/calls/','fetchConversation','make-tone-formal','init','/files/','toString','ai-request-failed','MAKE_LONGER','deleteFile','7jkGcZs','_getStreamReader','/conversations/','/documents','make-longer','PATCH','value','startConversation','/models/1?','_apiUrl','totalCount','language','getModels','status','releaseLock','context','items','push','TRANSLATE','make-tone-casual','8LAwTQY','group','executeCustomAction','true','get','https://ai.cke-cs.com/v1','/calls','callSystemReview','sortBy','fix-grammar','upsertCustomAIActionRating','attributes','getReader','9198690DcPhTX','2806110rOMhaC','createdAt','IMPROVE_WRITING','body','PUT','/web-resources','append','/conversations','callCustomReview','catch','fetchDocument','name','deleteConversation','/conversations?','false','abortController','5940333rKzGnL','fetchConversationMessages','upsertCustomAIReviewRating','token','then','application/json','excludeEmpty','improve-writing','limit','CONTINUE','MAKE_TONE_FORMAL','ai-request-aborted','100','json','MAKE_SHORTER','CloudServices','_handleError','uploadDocument','AIConnector','_decoder','fetchConversations','requires','deleteWebResource','/documents/','/reviews/system/','signal','queryAssistant','ai.serviceUrl','/actions/system/','traceId','order','6FJaVde','isPremiumPlugin','/files','_sendApiRequest','/messages/','/actions/custom/calls','FIX_GRAMMAR'];_0x31a1=function(){return _0x33a3ee;};return _0x31a1();}(function(_0x3d551c,_0x3a38d1){const _0x3ed7b3=_0x2404,_0x550b39=_0x3d551c();while(!![]){try{const _0x11a516=-parseInt(_0x3ed7b3(0x1c4))/0x1*(-parseInt(_0x3ed7b3(0x193))/0x2)+parseInt(_0x3ed7b3(0x1a6))/0x3*(parseInt(_0x3ed7b3(0x19e))/0x4)+-parseInt(_0x3ed7b3(0x150))/0x5*(parseInt(_0x3ed7b3(0x17f))/0x6)+parseInt(_0x3ed7b3(0x160))/0x7*(-parseInt(_0x3ed7b3(0x1d8))/0x8)+parseInt(_0x3ed7b3(0x1ad))/0x9+parseInt(_0x3ed7b3(0x14f))/0xa+-parseInt(_0x3ed7b3(0x1ab))/0xb;if(_0x11a516===_0x3a38d1)break;else _0x550b39['push'](_0x550b39['shift']());}catch(_0x53c4ea){_0x550b39['push'](_0x550b39['shift']());}}}(_0x31a1,0x73ea6));import{createParser as _0x409241}from'eventsource-parser';function _0x2404(_0x2ff34f,_0x1bb270){const _0x31a192=_0x31a1();return _0x2404=function(_0x240491,_0x5b2c8a){_0x240491=_0x240491-0x14c;let _0x27ecb2=_0x31a192[_0x240491];return _0x27ecb2;},_0x2404(_0x2ff34f,_0x1bb270);}import{ContextPlugin as _0xf987ca}from'ckeditor5/src/core.js';import{CKEditorError as _0x3a8a01}from'ckeditor5/src/utils.js';export var AIActionsNames;!function(_0x330dde){const _0x873da4=_0x2404;_0x330dde[_0x873da4(0x169)]=_0x873da4(0x1b4),_0x330dde[_0x873da4(0x185)]=_0x873da4(0x1e1),_0x330dde[_0x873da4(0x152)]=_0x873da4(0x167),_0x330dde[_0x873da4(0x1c2)]=_0x873da4(0x1c8),_0x330dde[_0x873da4(0x16e)]=_0x873da4(0x1a3),_0x330dde[_0x873da4(0x1b1)]=_0x873da4(0x1d7),_0x330dde[_0x873da4(0x16a)]=_0x873da4(0x1bd),_0x330dde[_0x873da4(0x1d6)]=_0x873da4(0x19c);}(AIActionsNames||(AIActionsNames={}));export class AIConnector extends _0xf987ca{[_0x244192(0x1cd)];[_0x244192(0x1ba)];[_0x244192(0x173)];static get[_0x244192(0x175)](){const _0x3cffcb=_0x244192;return[_0x3cffcb(0x16f)];}static get[_0x244192(0x1b8)](){const _0x398820=_0x244192;return _0x398820(0x172);}static get[_0x244192(0x19f)](){return!0x0;}static get[_0x244192(0x180)](){return!0x0;}constructor(_0x2f7d30){const _0x4dde85=_0x244192;super(_0x2f7d30),this[_0x4dde85(0x1d3)][_0x4dde85(0x194)][_0x4dde85(0x195)](_0x4dde85(0x17b),_0x4dde85(0x1dd)),this[_0x4dde85(0x1cd)]=this[_0x4dde85(0x1d3)][_0x4dde85(0x194)][_0x4dde85(0x1dc)](_0x4dde85(0x17b)),this[_0x4dde85(0x1ba)]=null,this[_0x4dde85(0x173)]=new TextDecoder();}[_0x244192(0x1be)](){const _0xe1566c=_0x244192,_0x420001=this[_0xe1566c(0x1d3)][_0xe1566c(0x186)][_0xe1566c(0x1dc)](_0xe1566c(0x16f));if(!_0x420001[_0xe1566c(0x163)])throw new _0x3a8a01(_0xe1566c(0x199),this);this[_0xe1566c(0x1ba)]=_0x420001[_0xe1566c(0x163)];}[_0x244192(0x1cb)](_0x4bc600,_0x12609c){const _0x2b7b03=_0x244192,_0x2cc894=this[_0x2b7b03(0x182)](_0x2b7b03(0x157),_0x2b7b03(0x1a5),{'id':_0x4bc600,'group':_0x12609c});return{'getConversation':async()=>(await _0x2cc894[_0x2b7b03(0x1b2)])[_0x2b7b03(0x16d)](),'abortController':_0x2cc894[_0x2b7b03(0x15f)]};}[_0x244192(0x17a)]({message:_0x828700,conversationId:_0x473198,parts:_0x1de727,capabilities:_0xb17f8d,model:_0x5459d9,attributes:_0x5631a0}){const _0x33aa00=_0x244192,_0x239e69={'prompt':_0x828700,'content':_0x1de727,'model':_0x5459d9,..._0xb17f8d&&{'capabilities':_0xb17f8d},..._0x5631a0&&{'attributes':_0x5631a0}},_0x530dbd=this[_0x33aa00(0x182)](_0x33aa00(0x1c6)+_0x473198+_0x33aa00(0x1b6),_0x33aa00(0x1a5),_0x239e69);return{'getStream':async()=>{const _0x3cc845=_0x33aa00,_0x38c283=(await _0x530dbd[_0x3cc845(0x1b2)])[_0x3cc845(0x153)];return this[_0x3cc845(0x1c5)](_0x38c283);},'abortController':_0x530dbd[_0x33aa00(0x15f)]};}[_0x244192(0x1da)]({content:_0x48c211,message:_0x158282,model:_0x554ad5,outputFormat:_0x22b0b6}){const _0x197c43=_0x244192,_0x5cae5f={'content':[{'type':_0x197c43(0x1b0),'content':_0x48c211}],'prompt':_0x158282,'model':_0x554ad5,'outputFormat':_0x22b0b6},_0x4468d1=this[_0x197c43(0x182)](_0x197c43(0x184),_0x197c43(0x1a5),_0x5cae5f);return{'getStream':async()=>{const _0x56e5ba=_0x197c43,_0x5d27fe=(await _0x4468d1[_0x56e5ba(0x1b2)])[_0x56e5ba(0x153)];return this[_0x56e5ba(0x1c5)](_0x5d27fe);},'abortController':_0x4468d1[_0x197c43(0x15f)]};}[_0x244192(0x19b)]({actionName:_0x29d2a3,content:_0x429f41,args:_0x4e2c24}){const _0x115683=_0x244192,_0x53e125={'content':[{'type':_0x115683(0x1b0),'content':_0x429f41}],'args':_0x4e2c24},_0x518aba=this[_0x115683(0x182)](_0x115683(0x17c)+_0x29d2a3+_0x115683(0x1de),_0x115683(0x1a5),_0x53e125);return{'getStream':async()=>{const _0x4df614=_0x115683,_0x11eb1d=(await _0x518aba[_0x4df614(0x1b2)])[_0x4df614(0x153)];return this[_0x4df614(0x1c5)](_0x11eb1d);},'abortController':_0x518aba[_0x115683(0x15f)]};}[_0x244192(0x18e)](_0x486fdc,_0x159cda,_0x9557e8){const _0x363dcc=_0x244192,_0x2016d7=new FormData();_0x2016d7[_0x363dcc(0x156)](_0x363dcc(0x1a9),_0x159cda,_0x159cda[_0x363dcc(0x15b)]),_0x9557e8&&_0x2016d7[_0x363dcc(0x156)](_0x363dcc(0x14d),JSON[_0x363dcc(0x192)](_0x9557e8));const _0x52f4dd=this[_0x363dcc(0x182)](_0x363dcc(0x1c6)+_0x486fdc+_0x363dcc(0x181),_0x363dcc(0x1a5),_0x2016d7);return{'getId':async()=>(await _0x52f4dd[_0x363dcc(0x1b2)])[_0x363dcc(0x16d)](),'abortController':_0x52f4dd[_0x363dcc(0x15f)]};}[_0x244192(0x15a)](_0x49936c,_0x5b4c8a){const _0x19c4cc=_0x244192,_0x123b74=this[_0x19c4cc(0x182)](_0x19c4cc(0x1c6)+_0x49936c+_0x19c4cc(0x177)+_0x5b4c8a,_0x19c4cc(0x1b5));return{'getDocument':async()=>(await _0x123b74[_0x19c4cc(0x1b2)])[_0x19c4cc(0x16d)](),'abortController':_0x123b74[_0x19c4cc(0x15f)]};}[_0x244192(0x171)](_0x53b715,_0x33b58b,_0x58bfab){const _0x224c3d=_0x244192,_0x3f0212={'content':_0x33b58b};_0x58bfab&&(_0x3f0212[_0x224c3d(0x14d)]=_0x58bfab);const _0x4d66bd=this[_0x224c3d(0x182)](_0x224c3d(0x1c6)+_0x53b715+_0x224c3d(0x1c7),_0x224c3d(0x1a5),_0x3f0212);return{'getId':async()=>(await _0x4d66bd[_0x224c3d(0x1b2)])[_0x224c3d(0x16d)](),'abortController':_0x4d66bd[_0x224c3d(0x15f)]};}[_0x244192(0x174)](_0x208e24,_0x13105d={}){const _0x1a0658=_0x244192,_0x1f7c03=new URLSearchParams();_0x1f7c03[_0x1a0658(0x156)](_0x1a0658(0x1d9),_0x208e24),_0x1f7c03[_0x1a0658(0x156)](_0x1a0658(0x166),!0x1!==_0x13105d[_0x1a0658(0x166)]?_0x1a0658(0x1db):_0x1a0658(0x15e)),_0x1f7c03[_0x1a0658(0x156)](_0x1a0658(0x168),_0x13105d[_0x1a0658(0x168)]?_0x13105d[_0x1a0658(0x168)][_0x1a0658(0x1c0)]():_0x1a0658(0x16c)),_0x1f7c03[_0x1a0658(0x156)](_0x1a0658(0x1e0),_0x13105d[_0x1a0658(0x1e0)]?_0x13105d[_0x1a0658(0x1e0)]:_0x1a0658(0x151)),_0x1f7c03[_0x1a0658(0x156)](_0x1a0658(0x17e),_0x13105d[_0x1a0658(0x17e)]?_0x13105d[_0x1a0658(0x17e)]:_0x1a0658(0x189));const _0xf99c1e=this[_0x1a0658(0x182)](_0x1a0658(0x15d)+_0x1f7c03[_0x1a0658(0x1c0)](),_0x1a0658(0x1b5));return{'getConversations':async()=>{const _0x1789fa=_0x1a0658,_0x18ac07=await _0xf99c1e[_0x1789fa(0x1b2)];return(await _0x18ac07[_0x1789fa(0x16d)]())[_0x1789fa(0x1d4)];},'abortController':_0xf99c1e[_0x1a0658(0x15f)]};}[_0x244192(0x15c)](_0x379d00){const _0x5db936=_0x244192,_0x35d2cc=this[_0x5db936(0x182)](_0x5db936(0x1c6)+_0x379d00,_0x5db936(0x18d));return{'execute':async()=>{const _0x2b6cfd=_0x5db936;await _0x35d2cc[_0x2b6cfd(0x1b2)];},'abortController':_0x35d2cc[_0x5db936(0x15f)]};}[_0x244192(0x188)](_0x2c9ed5,_0x6e3cf2){const _0x4417bc=_0x244192,_0x4006d5=this[_0x4417bc(0x182)](_0x4417bc(0x1c6)+_0x2c9ed5,_0x4417bc(0x1c9),_0x6e3cf2);return{'getResult':async()=>(await _0x4006d5[_0x4417bc(0x1b2)],_0x6e3cf2),'abortController':_0x4006d5[_0x4417bc(0x15f)]};}[_0x244192(0x1bc)](_0x4d3303){const _0xbdd810=_0x244192,_0x5d8faf=this[_0xbdd810(0x182)](_0xbdd810(0x1c6)+_0x4d3303,_0xbdd810(0x1b5));return{'getConversation':async()=>(await _0x5d8faf[_0xbdd810(0x1b2)])[_0xbdd810(0x16d)](),'abortController':_0x5d8faf[_0xbdd810(0x15f)]};}[_0x244192(0x161)](_0x2e4b1d){const _0x4fc1c7=_0x244192,_0x449def=this[_0x4fc1c7(0x182)](_0x4fc1c7(0x1c6)+_0x2e4b1d+_0x4fc1c7(0x1b6),_0x4fc1c7(0x1b5));return{'getMessages':async()=>{const _0x57e74b=_0x4fc1c7,_0x422982=await _0x449def[_0x57e74b(0x1b2)];return(await _0x422982[_0x57e74b(0x16d)]())[_0x57e74b(0x1d4)];},'abortController':_0x449def[_0x4fc1c7(0x15f)]};}[_0x244192(0x191)](_0x372014,_0x47c359,_0x14c013){const _0x564f5a=_0x244192,_0x540aa4=this[_0x564f5a(0x182)](_0x564f5a(0x1c6)+_0x372014+_0x564f5a(0x155),_0x564f5a(0x1a5),{'url':_0x47c359,'attributes':_0x14c013});return{'getId':async()=>(await _0x540aa4[_0x564f5a(0x1b2)])[_0x564f5a(0x16d)](),'abortController':_0x540aa4[_0x564f5a(0x15f)]};}[_0x244192(0x1d0)](_0x4cd41d='en'){const _0x7b038e=_0x244192,_0x43ce24=new URLSearchParams();_0x43ce24[_0x7b038e(0x156)](_0x7b038e(0x1cf),_0x4cd41d);const _0x157e53=_0x7b038e(0x1cc)+_0x43ce24[_0x7b038e(0x1c0)](),_0x5f5017=this[_0x7b038e(0x182)](_0x157e53,_0x7b038e(0x1b5));return{'list':async()=>await(await _0x5f5017[_0x7b038e(0x1b2)])[_0x7b038e(0x16d)](),'abortController':_0x5f5017[_0x7b038e(0x15f)]};}[_0x244192(0x1c3)](_0x48c1c1,_0x102db9){const _0x56178c=_0x244192,_0x282b37=this[_0x56178c(0x182)](_0x56178c(0x1c6)+_0x48c1c1+_0x56178c(0x1bf)+_0x102db9,_0x56178c(0x18d));return{'execute':async()=>{const _0x2960e3=_0x56178c;await _0x282b37[_0x2960e3(0x1b2)];},'abortController':_0x282b37[_0x56178c(0x15f)]};}[_0x244192(0x1aa)](_0xf2131f,_0x3d00da){const _0x2a5bbf=_0x244192,_0x3fec4b=this[_0x2a5bbf(0x182)](_0x2a5bbf(0x1c6)+_0xf2131f+_0x2a5bbf(0x177)+_0x3d00da,_0x2a5bbf(0x18d));return{'execute':async()=>{const _0x16a4a3=_0x2a5bbf;await _0x3fec4b[_0x16a4a3(0x1b2)];},'abortController':_0x3fec4b[_0x2a5bbf(0x15f)]};}[_0x244192(0x176)](_0x3d10af,_0x57ee84){const _0xc52a7b=_0x244192,_0xe00cde=this[_0xc52a7b(0x182)](_0xc52a7b(0x1c6)+_0x3d10af+_0xc52a7b(0x196)+_0x57ee84,_0xc52a7b(0x18d));return{'execute':async()=>{const _0x13bb63=_0xc52a7b;await _0xe00cde[_0x13bb63(0x1b2)];},'abortController':_0xe00cde[_0xc52a7b(0x15f)]};}[_0x244192(0x1df)]({reviewName:_0x50148b,content:_0x1c1710,args:_0x3e1ea8}){const _0x2d951d=_0x244192,_0x2b183a=this[_0x2d951d(0x182)](_0x2d951d(0x178)+_0x50148b+_0x2d951d(0x1de),_0x2d951d(0x1a5),{'content':[{'type':_0x2d951d(0x1b0),'content':_0x1c1710}],'args':_0x3e1ea8});return{'getStream':async()=>{const _0x3ff752=_0x2d951d,_0x5adc12=(await _0x2b183a[_0x3ff752(0x1b2)])[_0x3ff752(0x153)];return this[_0x3ff752(0x1c5)](_0x5adc12);},'abortController':_0x2b183a[_0x2d951d(0x15f)]};}[_0x244192(0x158)]({content:_0x2026f7,prompt:_0x38e578,model:_0x41fd98}){const _0x43d03e=_0x244192,_0x31b420=this[_0x43d03e(0x182)](_0x43d03e(0x1b3),_0x43d03e(0x1a5),{'content':[{'type':_0x43d03e(0x1b0),'content':_0x2026f7}],'prompt':_0x38e578,'model':_0x41fd98});return{'getStream':async()=>{const _0x5f07ce=_0x43d03e,_0x48445f=(await _0x31b420[_0x5f07ce(0x1b2)])[_0x5f07ce(0x153)];return this[_0x5f07ce(0x1c5)](_0x48445f);},'abortController':_0x31b420[_0x43d03e(0x15f)]};}[_0x244192(0x18f)](_0x5045ca,_0x56e848,_0x5831be){const _0x3e01a4=_0x244192,_0x563c8b=this[_0x3e01a4(0x182)](_0x3e01a4(0x1c6)+_0x5045ca+_0x3e01a4(0x183)+_0x56e848+_0x3e01a4(0x197),_0x3e01a4(0x154),{'positiveCount':_0x5831be[_0x3e01a4(0x1af)],'totalCount':_0x5831be[_0x3e01a4(0x1ce)],'modificationId':_0x5831be[_0x3e01a4(0x1a8)]});return{'execute':async()=>{const _0x47d0aa=_0x3e01a4;await _0x563c8b[_0x47d0aa(0x1b2)];},'abortController':_0x563c8b[_0x3e01a4(0x15f)]};}[_0x244192(0x18c)](_0x41f3a1,_0x4a4569,_0xa15c95){const _0x40acdb=_0x244192,_0x5b5b62=this[_0x40acdb(0x182)](_0x40acdb(0x17c)+_0x41f3a1+_0x40acdb(0x1bb)+_0x4a4569+_0x40acdb(0x197),_0x40acdb(0x154),{'positiveCount':_0xa15c95[_0x40acdb(0x1af)],'totalCount':_0xa15c95[_0x40acdb(0x1ce)]});return{'execute':async()=>{const _0xf17b1b=_0x40acdb;await _0x5b5b62[_0xf17b1b(0x1b2)];},'abortController':_0x5b5b62[_0x40acdb(0x15f)]};}[_0x244192(0x14c)](_0x567510,_0x4e0417){const _0x516653=_0x244192,_0x32b616=this[_0x516653(0x182)](_0x516653(0x187)+_0x567510+_0x516653(0x197),_0x516653(0x154),{'positiveCount':_0x4e0417[_0x516653(0x1af)],'totalCount':_0x4e0417[_0x516653(0x1ce)]});return{'execute':async()=>{const _0x5342dd=_0x516653;await _0x32b616[_0x5342dd(0x1b2)];},'abortController':_0x32b616[_0x516653(0x15f)]};}[_0x244192(0x1ae)](_0x5afb89,_0x9d2734,_0x22a73f,_0x3c3038){const _0x3fbdb9=_0x244192,_0x3c5898=this[_0x3fbdb9(0x182)](_0x3fbdb9(0x178)+_0x5afb89+_0x3fbdb9(0x1bb)+_0x9d2734+_0x3fbdb9(0x197),_0x3fbdb9(0x154),{'positiveCount':_0x22a73f[_0x3fbdb9(0x1af)],'totalCount':_0x22a73f[_0x3fbdb9(0x1ce)],'dataId':_0x3c3038});return{'execute':async()=>{const _0x5099c9=_0x3fbdb9;await _0x3c5898[_0x5099c9(0x1b2)];},'abortController':_0x3c5898[_0x3fbdb9(0x15f)]};}[_0x244192(0x162)](_0x3acaf1,_0x13090b,_0x2a279a){const _0x3e16c0=_0x244192,_0x46a125=this[_0x3e16c0(0x182)](_0x3e16c0(0x1b7)+_0x3acaf1+_0x3e16c0(0x197),_0x3e16c0(0x154),{'positiveCount':_0x13090b[_0x3e16c0(0x1af)],'totalCount':_0x13090b[_0x3e16c0(0x1ce)],'dataId':_0x2a279a});return{'execute':async()=>{const _0x2e5262=_0x3e16c0;await _0x46a125[_0x2e5262(0x1b2)];},'abortController':_0x46a125[_0x3e16c0(0x15f)]};}[_0x244192(0x182)](_0x53ca9a,_0x5a71c9,_0x53878f){const _0x3d42d6=_0x244192,_0x596baa=new AbortController(),_0x388e09=_0x53878f instanceof FormData,_0x41f8f0={'Authorization':_0x3d42d6(0x1a2)+this[_0x3d42d6(0x1ba)]?.[_0x3d42d6(0x1ca)]};_0x53878f&&!_0x388e09&&(_0x41f8f0[_0x3d42d6(0x19d)]=_0x3d42d6(0x165));const _0x5db162={'method':_0x5a71c9,'headers':_0x41f8f0,'signal':_0x596baa[_0x3d42d6(0x179)]};return _0x53878f&&(_0x5db162[_0x3d42d6(0x153)]=_0x388e09?_0x53878f:JSON[_0x3d42d6(0x192)](_0x53878f)),{'request':fetch(''+this[_0x3d42d6(0x1cd)]+_0x53ca9a,_0x5db162)[_0x3d42d6(0x159)](_0x3f835b=>{const _0x2fa2ba=_0x3d42d6;this[_0x2fa2ba(0x170)](_0x3f835b);})[_0x3d42d6(0x164)](_0x4b1df3=>_0x4b1df3['ok']?_0x4b1df3:_0x4b1df3[_0x3d42d6(0x16d)]()[_0x3d42d6(0x164)](_0x2a10f5=>{const _0x14f23d=_0x3d42d6;throw{'url':this[_0x14f23d(0x1cd)],'path':_0x53ca9a,'method':_0x5a71c9,'body':_0x53878f,'status':(_0x4b1df3||{})[_0x14f23d(0x1d1)],'statusText':(_0x4b1df3||{})[_0x14f23d(0x1a7)],'code':_0x2a10f5[_0x14f23d(0x1b9)],'message':_0x2a10f5[_0x14f23d(0x1ac)],'traceId':_0x2a10f5[_0x14f23d(0x17d)]};})),'abortController':_0x596baa};}async*[_0x244192(0x1c5)](_0x983323){const _0x4e2d1c=_0x244192,_0x45c4e5=[],_0x2ae2f0=_0x983323[_0x4e2d1c(0x14e)](),_0x13777a=_0x409241({'onError':_0x375a4e=>{const _0x37ec56=_0x4e2d1c;this[_0x37ec56(0x170)](_0x375a4e);},'onEvent':_0xbc461a=>{const _0x272d46=_0x4e2d1c;_0xbc461a[_0x272d46(0x198)]=JSON[_0x272d46(0x18b)](_0xbc461a[_0x272d46(0x198)]),_0x45c4e5[_0x272d46(0x1d5)](_0xbc461a);}});try{let _0x53e637=!0x1;for(;!_0x53e637;){const {done:_0x24127f,value:_0x5bc397}=await _0x2ae2f0[_0x4e2d1c(0x19a)]();_0x24127f&&(_0x53e637=!0x0),_0x13777a[_0x4e2d1c(0x190)](this[_0x4e2d1c(0x173)][_0x4e2d1c(0x1a0)](_0x5bc397,{'stream':!0x0})),yield*_0x45c4e5,_0x45c4e5[_0x4e2d1c(0x1a4)]=0x0;}}catch(_0x29e9c9){this[_0x4e2d1c(0x170)](_0x29e9c9);}finally{_0x2ae2f0[_0x4e2d1c(0x1d2)](),_0x13777a[_0x4e2d1c(0x1a1)]();}}[_0x244192(0x170)](_0x5ad4e7){const _0x25a0eb=_0x244192;if(_0x5ad4e7 instanceof _0x3a8a01)throw _0x5ad4e7;if(_0x5ad4e7 instanceof Error&&_0x25a0eb(0x18a)===_0x5ad4e7[_0x25a0eb(0x15b)])throw new _0x3a8a01(_0x25a0eb(0x16b),this,{'originalError':_0x5ad4e7});throw new _0x3a8a01(_0x25a0eb(0x1c1),this,{'originalError':_0x5ad4e7});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2b7b(_0x1ed86e,_0x37c9ae){const _0x4f86b8=_0x4f86();return _0x2b7b=function(_0x2b7b3c,_0x3c7daf){_0x2b7b3c=_0x2b7b3c-0xe4;let _0x20410e=_0x4f86b8[_0x2b7b3c];return _0x20410e;},_0x2b7b(_0x1ed86e,_0x37c9ae);}const _0x351ecd=_0x2b7b;(function(_0x10520,_0x5bbe24){const _0xab489d=_0x2b7b,_0x3b699a=_0x10520();while(!![]){try{const _0xf71ed6=parseInt(_0xab489d(0x12b))/0x1*(parseInt(_0xab489d(0x103))/0x2)+parseInt(_0xab489d(0x12a))/0x3+parseInt(_0xab489d(0x11e))/0x4*(-parseInt(_0xab489d(0x157))/0x5)+-parseInt(_0xab489d(0x143))/0x6*(parseInt(_0xab489d(0x148))/0x7)+parseInt(_0xab489d(0x154))/0x8+-parseInt(_0xab489d(0x123))/0x9+-parseInt(_0xab489d(0x118))/0xa*(-parseInt(_0xab489d(0x104))/0xb);if(_0xf71ed6===_0x5bbe24)break;else _0x3b699a['push'](_0x3b699a['shift']());}catch(_0x413734){_0x3b699a['push'](_0x3b699a['shift']());}}}(_0x4f86,0xe2e9e));import{ViewDowncastWriter as _0x1d590f}from'ckeditor5/src/engine.js';import{ContextPlugin as _0x1708d4,Editor as _0x4293fb}from'ckeditor5/src/core.js';import{uid as _0x2eb658}from'ckeditor5/src/utils.js';import{getTranslation as _0x1807f7}from'./utils/common-translations.js';import{getEditorFromContext as _0x1b1412}from'./utils/geteditorfromcontext.js';export const AI_VISUAL_SELECTION_MARKER_NAME=_0x351ecd(0x117);export class AIEditing extends _0x1708d4{constructor(_0x4a63bf){const _0x5bc799=_0x351ecd;super(_0x4a63bf),this[_0x5bc799(0x122)][_0x5bc799(0x139)][_0x5bc799(0x101)](_0x5bc799(0x14e),!0x0);}[_0x351ecd(0x152)];[_0x351ecd(0xf9)]=null;[_0x351ecd(0x125)]=!0x1;[_0x351ecd(0x13b)];static get[_0x351ecd(0x114)](){const _0x26bece=_0x351ecd;return _0x26bece(0x12f);}static get[_0x351ecd(0xee)](){return!0x0;}static get[_0x351ecd(0x150)](){return!0x0;}get[_0x351ecd(0x135)](){const _0x254b1d=_0x351ecd;if(!this[_0x254b1d(0x13b)]){const _0x9698e6=_0x1b1412(this[_0x254b1d(0x122)]),_0x1fcd16=_0x9698e6[_0x254b1d(0x11b)][_0x254b1d(0x13c)](_0x254b1d(0xe9))&&_0x9698e6[_0x254b1d(0x11b)][_0x254b1d(0xf8)](_0x254b1d(0xe9))[_0x254b1d(0x135)];this[_0x254b1d(0x13b)]=_0x1fcd16||_0x2eb658();}return this[_0x254b1d(0x13b)];}async[_0x351ecd(0x136)](){const _0xd88b9d=_0x351ecd,_0x2adafe=_0x1b1412(this[_0xd88b9d(0x122)]),_0x47a13c=_0x2adafe[_0xd88b9d(0x141)],_0x4a626c=_0x2adafe[_0xd88b9d(0x13d)][_0xd88b9d(0x149)](_0x47a13c[_0xd88b9d(0x137)][_0xd88b9d(0xe7)](),{'convertAiChatSelectionMarker':!0x0}),_0x4f469c=new _0x1d590f(_0x2adafe[_0xd88b9d(0x14f)][_0xd88b9d(0x11c)][_0xd88b9d(0x137)]);this[_0xd88b9d(0xe4)](_0x4a626c,_0x4f469c);let _0x14dbf1=await this[_0xd88b9d(0x158)](_0x4a626c);const _0x4aedcf=this[_0xd88b9d(0x110)](),_0x57460f=[];for(const _0x2d7e53 of _0x4aedcf){const _0x51a818='<'+_0x2d7e53[_0xd88b9d(0xed)]+_0xd88b9d(0x13e)+_0x2d7e53[_0xd88b9d(0xed)]+_0xd88b9d(0x102),_0x1013bd=_0x14dbf1[_0xd88b9d(0xf4)](_0x51a818);_0x14dbf1=_0x14dbf1[_0xd88b9d(0x138)](0x0,_0x1013bd)+_0x14dbf1[_0xd88b9d(0x138)](_0x1013bd+_0x51a818[_0xd88b9d(0xf2)]);const _0x5a8c5b='<'+_0x2d7e53[_0xd88b9d(0xed)]+_0xd88b9d(0x10a)+_0x2d7e53[_0xd88b9d(0xed)]+_0xd88b9d(0x119),_0x68885d=_0x14dbf1[_0xd88b9d(0xf4)](_0x5a8c5b);_0x14dbf1=_0x14dbf1[_0xd88b9d(0x138)](0x0,_0x68885d)+_0x14dbf1[_0xd88b9d(0x138)](_0x68885d+_0x5a8c5b[_0xd88b9d(0xf2)]),_0x57460f[_0xd88b9d(0xfa)]({'markerName':_0x2d7e53[_0xd88b9d(0xed)],'start':_0x1013bd,'end':_0x68885d,'htmlFragment':_0x14dbf1[_0xd88b9d(0x138)](_0x1013bd,_0x68885d)});}return{'content':_0x14dbf1,'version':_0x2adafe[_0xd88b9d(0x141)][_0xd88b9d(0x137)][_0xd88b9d(0x146)],'sessionId':this[_0xd88b9d(0x135)],'selections':_0x57460f};}async[_0x351ecd(0x105)](){const _0xb26bde=_0x351ecd;this[_0xb26bde(0x122)]instanceof _0x4293fb?this[_0xb26bde(0xe6)](this[_0xb26bde(0x122)]):this[_0xb26bde(0x155)](this[_0xb26bde(0x122)][_0xb26bde(0x12d)],_0xb26bde(0x126),(_0x28f544,_0x116ef9)=>{const _0x4f7425=_0xb26bde;_0x116ef9['on'](_0x4f7425(0x11f),()=>{const _0x22746f=_0x4f7425;this[_0x22746f(0xe6)](_0x116ef9);});});}[_0x351ecd(0xfc)](_0x2b9334){const _0x801430=_0x351ecd;this[_0x801430(0x152)]=_0x2b9334;}async[_0x351ecd(0x158)](_0xfc9c7){const _0x2d1d4b=_0x351ecd;let _0x364eaf;const _0x5089b9=_0x1b1412(this[_0x2d1d4b(0x122)]);if(this[_0x2d1d4b(0x152)]){const _0x47330f=_0x5089b9[_0x2d1d4b(0x13d)][_0x2d1d4b(0x100)][_0x2d1d4b(0xef)][_0x2d1d4b(0x109)](_0xfc9c7),_0x53d957=await this[_0x2d1d4b(0x152)](_0x47330f);_0x364eaf=_0x5089b9[_0x2d1d4b(0x13d)][_0x2d1d4b(0x100)][_0x2d1d4b(0xf1)][_0x2d1d4b(0x10b)](_0x53d957);}else _0x364eaf=_0x5089b9[_0x2d1d4b(0x13d)][_0x2d1d4b(0x100)][_0x2d1d4b(0xea)](_0xfc9c7);return _0x364eaf;}[_0x351ecd(0xe6)](_0x55a878){const _0x2511bf=_0x351ecd;_0x55a878[_0x2511bf(0x14c)][_0x2511bf(0xfd)](_0x2511bf(0x13f))[_0x2511bf(0x130)]({'model':_0x2511bf(0x117),'view':{'classes':[_0x2511bf(0x151),_0x2511bf(0x120)],'priority':0xc}}),_0x55a878[_0x2511bf(0x14c)][_0x2511bf(0xfd)](_0x2511bf(0xe8))[_0x2511bf(0x128)]({'model':_0x2511bf(0x117),'view':(_0x13c0fd,{writer:_0x2d3dcc,options:_0x177aa6})=>_0x177aa6[_0x2511bf(0xe5)]?_0x2d3dcc[_0x2511bf(0x108)](_0x13c0fd[_0x2511bf(0x147)]+':'+(_0x13c0fd[_0x2511bf(0xfb)]?_0x2511bf(0x10f):_0x2511bf(0x13a))):null});}[_0x351ecd(0x131)](_0x179ec3,_0x2846e1,_0x3b3ba0=!0x1,_0xa295eb=!0x1){const _0x34a84d=_0x351ecd;if(this[_0x34a84d(0x125)]&&!_0xa295eb)return!0x1;const _0x824735=_0x1b1412(this[_0x34a84d(0x122)])[_0x34a84d(0x141)];return _0x824735[_0x34a84d(0xf3)](_0x44bdbd=>{const _0x19c25d=_0x34a84d;this[_0x19c25d(0xf9)]&&this[_0x19c25d(0xeb)](this[_0x19c25d(0xf9)]),this[_0x19c25d(0xf9)]=_0x2846e1,this[_0x19c25d(0x125)]=_0x3b3ba0;let _0x58f90e=0x0;for(let _0x241269 of _0x179ec3){const _0xec63d2=_0x19c25d(0x115)+_0x58f90e;if(_0x241269[_0x19c25d(0x10f)][_0x19c25d(0x121)]){const _0x4f4ac2=_0x241269[_0x19c25d(0x10f)][_0x19c25d(0xff)](({item:_0x50d2ba})=>!_0x824735[_0x19c25d(0x133)][_0x19c25d(0x116)](_0x50d2ba),{'boundaries':_0x241269});_0x241269=_0x44bdbd[_0x19c25d(0xfe)](_0x4f4ac2,_0x241269[_0x19c25d(0x13a)]);}_0x44bdbd[_0x19c25d(0xf7)](_0xec63d2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x241269}),_0x58f90e++;}}),window[_0x34a84d(0x153)]()?.[_0x34a84d(0x144)](),!0x0;}[_0x351ecd(0xeb)](_0x3259c2){const _0x2c7002=_0x351ecd;if(this[_0x2c7002(0xf9)]!=_0x3259c2)return!0x1;this[_0x2c7002(0xf9)]=null,this[_0x2c7002(0x125)]=!0x1;const _0x2404a6=_0x1b1412(this[_0x2c7002(0x122)]),_0x396211=_0x2404a6[_0x2c7002(0x141)][_0x2c7002(0x124)][_0x2c7002(0x14b)](_0x2c7002(0x117));return _0x2404a6[_0x2c7002(0x141)][_0x2c7002(0xf3)](_0x17713c=>{const _0x520c92=_0x2c7002;for(const _0x25c788 of _0x396211)_0x17713c[_0x520c92(0xf0)](_0x25c788);}),!0x0;}async[_0x351ecd(0x11a)](_0x50350c){const _0x1a474b=_0x351ecd,_0x3a6815=_0x1b1412(this[_0x1a474b(0x122)]),_0x2e162f=_0x3a6815[_0x1a474b(0x13d)][_0x1a474b(0x149)](_0x50350c),_0x2a1e23=new _0x1d590f(_0x3a6815[_0x1a474b(0x14f)][_0x1a474b(0x11c)][_0x1a474b(0x137)]);return this[_0x1a474b(0xe4)](_0x2e162f,_0x2a1e23),this[_0x1a474b(0x158)](_0x2e162f);}[_0x351ecd(0xe4)](_0x15f142,_0x27242f){const _0x22c109=_0x351ecd;let _0x29fe0a=!0x1;const _0x2c8a0b=new Set();for(const _0x2f9a75 of _0x15f142[_0x22c109(0x10e)]()){const _0x74878f=_0x2f9a75['is'](_0x22c109(0x129))||_0x2f9a75['is'](_0x22c109(0x106));if(!_0x2f9a75['is'](_0x22c109(0x11d)))continue;(this[_0x22c109(0xe4)](_0x2f9a75,_0x27242f)||_0x74878f)&&(_0x27242f[_0x22c109(0x140)](_0x22c109(0x134),this[_0x22c109(0xf5)](_0x2c8a0b),_0x2f9a75),_0x29fe0a=!0x0);}return _0x29fe0a;}[_0x351ecd(0xf5)](_0x4e2db2){const _0x517326=_0x351ecd;let _0x2d5c89;do{_0x2d5c89='';for(let _0x14abdb=0x0;_0x14abdb<0x4;_0x14abdb++)_0x2d5c89+=String[_0x517326(0x127)](0x61+Math[_0x517326(0x156)](0x1a*Math[_0x517326(0x142)]()));}while(_0x4e2db2[_0x517326(0x13c)](_0x2d5c89));return _0x4e2db2[_0x517326(0x126)](_0x2d5c89),_0x2d5c89;}[_0x351ecd(0xf6)](){const _0x295c8a=_0x351ecd,{model:_0x5d1ff1}=_0x1b1412(this[_0x295c8a(0x122)]),_0x58aa68=_0x5d1ff1[_0x295c8a(0x137)][_0x295c8a(0x113)],_0x38b4c6=[];for(const _0xacf561 of _0x58aa68[_0x295c8a(0x10c)]())for(const _0x268eea of _0xacf561[_0x295c8a(0x14a)]())_0x268eea['is'](_0x295c8a(0x145))?_0x38b4c6[_0x295c8a(0xfa)](_0x268eea[_0x295c8a(0x13d)]):_0x268eea['is'](_0x295c8a(0x11d))&&_0x38b4c6[_0x295c8a(0xf2)]>0x0&&'\x20'!==_0x38b4c6[_0x38b4c6[_0x295c8a(0xf2)]-0x1]&&_0x38b4c6[_0x295c8a(0xfa)]('\x20');return _0x38b4c6[_0x295c8a(0xf2)]?'\x22'+_0x38b4c6[_0x295c8a(0xec)]('')[_0x295c8a(0x112)]()+'\x22':_0x1807f7(this[_0x295c8a(0x122)][_0x295c8a(0x12c)],_0x295c8a(0x10d));}[_0x351ecd(0x110)](){const _0x357394=_0x351ecd,_0x835576=_0x1b1412(this[_0x357394(0x122)])[_0x357394(0x141)];return Array[_0x357394(0x132)](_0x835576[_0x357394(0x124)][_0x357394(0x14b)](_0x357394(0x117)))[_0x357394(0x107)]((_0x3a500c,_0xfe8af)=>_0x3a500c[_0x357394(0x12e)]()[_0x357394(0x111)](_0xfe8af[_0x357394(0x12e)]())?-0x1:_0x3a500c[_0x357394(0x12e)]()[_0x357394(0x14d)](_0xfe8af[_0x357394(0x12e)]())?0x1:0x0);}}function _0x4f86(){const _0x1250ae=['436884UZXRqV','1arpXVI','locale','editors','getStart','AIEditing','markerToHighlight','showFakeVisualSelection','from','schema','data-id','sessionId','getDocumentData','document','substring','config','end','_sessionId','has','data',':start></','editingDowncast','setAttribute','model','random','22794KhYZrA','removeAllRanges','$textProxy','version','markerName','2009OVUNgV','toView','getItems','getMarkersGroup','conversion','isAfter','ai.models.showModelSelector','editing','isPremiumPlugin','ck-fake-ai-selection','_outputDataProcessor','getSelection','12574952apousg','listenTo','floor','15QXapfW','_getDocumentDataStringFromView','_setDataIdsOnChildren','convertAiChatSelectionMarker','_integrateEditor','getRoot','dataDowncast','RealTimeCollaborationClient','toData','hideFakeVisualSelection','join','name','isOfficialPlugin','domConverter','removeMarker','htmlWriter','length','change','indexOf','_nextDataId','getSelectionText','addMarker','get','_displayedFakeSelectionId','push','isOpening','_setOutputDataProcessor','for','createRange','getLastMatchingPosition','processor','define',':start>','968134mLaptD','11thgTuK','afterInit','containerElement','sort','createUIElement','viewToDom',':end></','getHtml','getRanges','AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','getChildren','start','_getMarkersInDocumentOrder','isBefore','trim','selection','pluginName','ai-selection:','isContent','ai-selection','18877960ZIdFUT',':end>','modelToDataWithIds','plugins','view','element','1810756wuDFXf','ready','ck-ai-assistant-ui_theme','isAtEnd','context','6403878LPshaA','markers','_displayedFakeSelectionLocked','add','fromCharCode','markerToElement','emptyElement'];_0x4f86=function(){return _0x1250ae;};return _0x4f86();}
23
+ const _0x45b54a=_0x2ad1;(function(_0x12b162,_0x171310){const _0x5090a8=_0x2ad1,_0x18e0f5=_0x12b162();while(!![]){try{const _0x18482b=parseInt(_0x5090a8(0x1af))/0x1*(parseInt(_0x5090a8(0x1ff))/0x2)+parseInt(_0x5090a8(0x1c1))/0x3+-parseInt(_0x5090a8(0x1fd))/0x4+-parseInt(_0x5090a8(0x1c6))/0x5*(-parseInt(_0x5090a8(0x20c))/0x6)+-parseInt(_0x5090a8(0x1fb))/0x7+-parseInt(_0x5090a8(0x1e1))/0x8+parseInt(_0x5090a8(0x20f))/0x9;if(_0x18482b===_0x171310)break;else _0x18e0f5['push'](_0x18e0f5['shift']());}catch(_0x4f2f50){_0x18e0f5['push'](_0x18e0f5['shift']());}}}(_0x4af1,0x754f8));import{ViewDowncastWriter as _0x47f8c7}from'ckeditor5/src/engine.js';import{ContextPlugin as _0xcf428c,Editor as _0x1d63dc}from'ckeditor5/src/core.js';import{uid as _0x2de327}from'ckeditor5/src/utils.js';function _0x4af1(){const _0x12990a=['AIEditing','plugins','4449396hzbzgX','htmlWriter','2253892lRACHH','selection','61210GzKemM','data','markers','config','removeMarker','ai-selection','markerToElement','fromCharCode','getStart','_setOutputDataProcessor','ai-selection:','_displayedFakeSelectionId','RealTimeCollaborationClient','11538klZmtP','version','end','8200125sZxtuO','element','getHtml','length','has','AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','_nextDataId','define','name','model','isPremiumPlugin','dataDowncast','isOfficialPlugin','_integrateEditor','locale',':end></','showFakeVisualSelection','view','_getMarkersInDocumentOrder','1hbAKFx','_getDocumentDataStringFromView','editingDowncast','listenTo','editors','ready','isBefore','_sessionId',':start>','createUIElement','document','isAfter','from','getDocumentData','pluginName','floor','removeAllRanges','isOpening','550257OhzRiN','modelToDataWithIds','push','trim','getRanges','2135mnCrOi','indexOf','getSelection','getChildren','_outputDataProcessor','convertAiChatSelectionMarker','isContent','sessionId','ai.models.showModelSelector','substring','schema','change','$textProxy',':start></','for','_displayedFakeSelectionLocked','emptyElement','setAttribute','ck-fake-ai-selection','data-id','start','_setDataIdsOnChildren','hideFakeVisualSelection','addMarker','ck-ai-assistant-ui_theme','random','viewToDom','2133320KwlDNc','toView','afterInit','getItems','context','sort',':end>','containerElement','conversion','join','add','markerToHighlight','getLastMatchingPosition','getSelectionText','editing','getMarkersGroup','markerName','isAtEnd','toData','domConverter','get','getRoot','createRange','processor'];_0x4af1=function(){return _0x12990a;};return _0x4af1();}import{getTranslation as _0x5a4d67}from'./utils/common-translations.js';import{getEditorFromContext as _0x587cf1}from'./utils/geteditorfromcontext.js';function _0x2ad1(_0x3e854b,_0x4081d1){const _0x4af1d3=_0x4af1();return _0x2ad1=function(_0x2ad1b5,_0x1c5b3c){_0x2ad1b5=_0x2ad1b5-0x1a6;let _0x412fa9=_0x4af1d3[_0x2ad1b5];return _0x412fa9;},_0x2ad1(_0x3e854b,_0x4081d1);}export const AI_VISUAL_SELECTION_MARKER_NAME=_0x45b54a(0x204);export class AIEditing extends _0xcf428c{constructor(_0x36b08b){const _0x3c82c0=_0x45b54a;super(_0x36b08b),this[_0x3c82c0(0x1e5)][_0x3c82c0(0x202)][_0x3c82c0(0x216)](_0x3c82c0(0x1ce),!0x0);}[_0x45b54a(0x1ca)];[_0x45b54a(0x20a)]=null;[_0x45b54a(0x1d5)]=!0x1;[_0x45b54a(0x1b6)];static get[_0x45b54a(0x1bd)](){const _0x21148a=_0x45b54a;return _0x21148a(0x1f9);}static get[_0x45b54a(0x1a8)](){return!0x0;}static get[_0x45b54a(0x1a6)](){return!0x0;}get[_0x45b54a(0x1cd)](){const _0x21c979=_0x45b54a;if(!this[_0x21c979(0x1b6)]){const _0x3306a0=_0x587cf1(this[_0x21c979(0x1e5)]),_0x39db92=_0x3306a0[_0x21c979(0x1fa)][_0x21c979(0x213)](_0x21c979(0x20b))&&_0x3306a0[_0x21c979(0x1fa)][_0x21c979(0x1f5)](_0x21c979(0x20b))[_0x21c979(0x1cd)];this[_0x21c979(0x1b6)]=_0x39db92||_0x2de327();}return this[_0x21c979(0x1b6)];}async[_0x45b54a(0x1bc)](){const _0x4061d9=_0x45b54a,_0x4e4a95=_0x587cf1(this[_0x4061d9(0x1e5)]),_0x62506=_0x4e4a95[_0x4061d9(0x218)],_0x282edb=_0x4e4a95[_0x4061d9(0x200)][_0x4061d9(0x1e2)](_0x62506[_0x4061d9(0x1b9)][_0x4061d9(0x1f6)](),{'convertAiChatSelectionMarker':!0x0}),_0x2a75dc=new _0x47f8c7(_0x4e4a95[_0x4061d9(0x1ef)][_0x4061d9(0x1ad)][_0x4061d9(0x1b9)]);this[_0x4061d9(0x1db)](_0x282edb,_0x2a75dc);let _0x2658e9=await this[_0x4061d9(0x1b0)](_0x282edb);const _0x1d170e=this[_0x4061d9(0x1ae)](),_0x3fa627=[];for(const _0x810ca8 of _0x1d170e){const _0x4cf7aa='<'+_0x810ca8[_0x4061d9(0x217)]+_0x4061d9(0x1d3)+_0x810ca8[_0x4061d9(0x217)]+_0x4061d9(0x1b7),_0x2f959b=_0x2658e9[_0x4061d9(0x1c7)](_0x4cf7aa);_0x2658e9=_0x2658e9[_0x4061d9(0x1cf)](0x0,_0x2f959b)+_0x2658e9[_0x4061d9(0x1cf)](_0x2f959b+_0x4cf7aa[_0x4061d9(0x212)]);const _0x15e98c='<'+_0x810ca8[_0x4061d9(0x217)]+_0x4061d9(0x1ab)+_0x810ca8[_0x4061d9(0x217)]+_0x4061d9(0x1e7),_0x504b05=_0x2658e9[_0x4061d9(0x1c7)](_0x15e98c);_0x2658e9=_0x2658e9[_0x4061d9(0x1cf)](0x0,_0x504b05)+_0x2658e9[_0x4061d9(0x1cf)](_0x504b05+_0x15e98c[_0x4061d9(0x212)]),_0x3fa627[_0x4061d9(0x1c3)]({'markerName':_0x810ca8[_0x4061d9(0x217)],'start':_0x2f959b,'end':_0x504b05,'htmlFragment':_0x2658e9[_0x4061d9(0x1cf)](_0x2f959b,_0x504b05)});}return{'content':_0x2658e9,'version':_0x4e4a95[_0x4061d9(0x218)][_0x4061d9(0x1b9)][_0x4061d9(0x20d)],'sessionId':this[_0x4061d9(0x1cd)],'selections':_0x3fa627};}async[_0x45b54a(0x1e3)](){const _0x16ec81=_0x45b54a;this[_0x16ec81(0x1e5)]instanceof _0x1d63dc?this[_0x16ec81(0x1a9)](this[_0x16ec81(0x1e5)]):this[_0x16ec81(0x1b2)](this[_0x16ec81(0x1e5)][_0x16ec81(0x1b3)],_0x16ec81(0x1eb),(_0x121906,_0x2e0be3)=>{const _0x212739=_0x16ec81;_0x2e0be3['on'](_0x212739(0x1b4),()=>{const _0x2b00a8=_0x212739;this[_0x2b00a8(0x1a9)](_0x2e0be3);});});}[_0x45b54a(0x208)](_0xfb90a4){const _0xf04a3a=_0x45b54a;this[_0xf04a3a(0x1ca)]=_0xfb90a4;}async[_0x45b54a(0x1b0)](_0x4e0e19){const _0x4c1c8b=_0x45b54a;let _0x558218;const _0x578130=_0x587cf1(this[_0x4c1c8b(0x1e5)]);if(this[_0x4c1c8b(0x1ca)]){const _0x3f3805=_0x578130[_0x4c1c8b(0x200)][_0x4c1c8b(0x1f8)][_0x4c1c8b(0x1f4)][_0x4c1c8b(0x1e0)](_0x4e0e19),_0x97c7b0=await this[_0x4c1c8b(0x1ca)](_0x3f3805);_0x558218=_0x578130[_0x4c1c8b(0x200)][_0x4c1c8b(0x1f8)][_0x4c1c8b(0x1fc)][_0x4c1c8b(0x211)](_0x97c7b0);}else _0x558218=_0x578130[_0x4c1c8b(0x200)][_0x4c1c8b(0x1f8)][_0x4c1c8b(0x1f3)](_0x4e0e19);return _0x558218;}[_0x45b54a(0x1a9)](_0x3f9213){const _0x2068da=_0x45b54a;_0x3f9213[_0x2068da(0x1e9)][_0x2068da(0x1d4)](_0x2068da(0x1b1))[_0x2068da(0x1ec)]({'model':_0x2068da(0x204),'view':{'classes':[_0x2068da(0x1d8),_0x2068da(0x1de)],'priority':0xc}}),_0x3f9213[_0x2068da(0x1e9)][_0x2068da(0x1d4)](_0x2068da(0x1a7))[_0x2068da(0x205)]({'model':_0x2068da(0x204),'view':(_0x5f90f5,{writer:_0x3932e5,options:_0x579927})=>_0x579927[_0x2068da(0x1cb)]?_0x3932e5[_0x2068da(0x1b8)](_0x5f90f5[_0x2068da(0x1f1)]+':'+(_0x5f90f5[_0x2068da(0x1c0)]?_0x2068da(0x1da):_0x2068da(0x20e))):null});}[_0x45b54a(0x1ac)](_0x1782cf,_0x315f5c,_0xc9fb03=!0x1,_0x45c57b=!0x1){const _0x48e707=_0x45b54a;if(this[_0x48e707(0x1d5)]&&!_0x45c57b)return!0x1;const _0x587308=_0x587cf1(this[_0x48e707(0x1e5)])[_0x48e707(0x218)];return _0x587308[_0x48e707(0x1d1)](_0x5099c6=>{const _0x20b18a=_0x48e707;this[_0x20b18a(0x20a)]&&this[_0x20b18a(0x1dc)](this[_0x20b18a(0x20a)]),this[_0x20b18a(0x20a)]=_0x315f5c,this[_0x20b18a(0x1d5)]=_0xc9fb03;let _0x6fe705=0x0;for(let _0x146ef9 of _0x1782cf){const _0x2be253=_0x20b18a(0x209)+_0x6fe705;if(_0x146ef9[_0x20b18a(0x1da)][_0x20b18a(0x1f2)]){const _0x174f2c=_0x146ef9[_0x20b18a(0x1da)][_0x20b18a(0x1ed)](({item:_0x19c2a4})=>!_0x587308[_0x20b18a(0x1d0)][_0x20b18a(0x1cc)](_0x19c2a4),{'boundaries':_0x146ef9});_0x146ef9=_0x5099c6[_0x20b18a(0x1f7)](_0x174f2c,_0x146ef9[_0x20b18a(0x20e)]);}_0x5099c6[_0x20b18a(0x1dd)](_0x2be253,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x146ef9}),_0x6fe705++;}}),window[_0x48e707(0x1c8)]()?.[_0x48e707(0x1bf)](),!0x0;}[_0x45b54a(0x1dc)](_0x1c528e){const _0x4d4b2c=_0x45b54a;if(this[_0x4d4b2c(0x20a)]!=_0x1c528e)return!0x1;this[_0x4d4b2c(0x20a)]=null,this[_0x4d4b2c(0x1d5)]=!0x1;const _0x548df3=_0x587cf1(this[_0x4d4b2c(0x1e5)]),_0x54b9f9=_0x548df3[_0x4d4b2c(0x218)][_0x4d4b2c(0x201)][_0x4d4b2c(0x1f0)](_0x4d4b2c(0x204));return _0x548df3[_0x4d4b2c(0x218)][_0x4d4b2c(0x1d1)](_0x6bb53b=>{const _0x5eca91=_0x4d4b2c;for(const _0x59d8fc of _0x54b9f9)_0x6bb53b[_0x5eca91(0x203)](_0x59d8fc);}),!0x0;}async[_0x45b54a(0x1c2)](_0x2a9de0){const _0xa98356=_0x45b54a,_0x2b455=_0x587cf1(this[_0xa98356(0x1e5)]),_0x541ecf=_0x2b455[_0xa98356(0x200)][_0xa98356(0x1e2)](_0x2a9de0),_0x634e57=new _0x47f8c7(_0x2b455[_0xa98356(0x1ef)][_0xa98356(0x1ad)][_0xa98356(0x1b9)]);return this[_0xa98356(0x1db)](_0x541ecf,_0x634e57),this[_0xa98356(0x1b0)](_0x541ecf);}[_0x45b54a(0x1db)](_0x227d61,_0x28df07){const _0x506342=_0x45b54a;let _0x1fe80d=!0x1;const _0x59f8ea=new Set();for(const _0x5287c1 of _0x227d61[_0x506342(0x1c9)]()){const _0x593afd=_0x5287c1['is'](_0x506342(0x1d6))||_0x5287c1['is'](_0x506342(0x1e8));if(!_0x5287c1['is'](_0x506342(0x210)))continue;(this[_0x506342(0x1db)](_0x5287c1,_0x28df07)||_0x593afd)&&(_0x28df07[_0x506342(0x1d7)](_0x506342(0x1d9),this[_0x506342(0x215)](_0x59f8ea),_0x5287c1),_0x1fe80d=!0x0);}return _0x1fe80d;}[_0x45b54a(0x215)](_0x11b143){const _0x31ec56=_0x45b54a;let _0x444722;do{_0x444722='';for(let _0x26fb03=0x0;_0x26fb03<0x4;_0x26fb03++)_0x444722+=String[_0x31ec56(0x206)](0x61+Math[_0x31ec56(0x1be)](0x1a*Math[_0x31ec56(0x1df)]()));}while(_0x11b143[_0x31ec56(0x213)](_0x444722));return _0x11b143[_0x31ec56(0x1eb)](_0x444722),_0x444722;}[_0x45b54a(0x1ee)](){const _0x1be5d9=_0x45b54a,{model:_0x43000a}=_0x587cf1(this[_0x1be5d9(0x1e5)]),_0x32b059=_0x43000a[_0x1be5d9(0x1b9)][_0x1be5d9(0x1fe)],_0x53d8c1=[];for(const _0x1f9c34 of _0x32b059[_0x1be5d9(0x1c5)]())for(const _0x3cfe47 of _0x1f9c34[_0x1be5d9(0x1e4)]())_0x3cfe47['is'](_0x1be5d9(0x1d2))?_0x53d8c1[_0x1be5d9(0x1c3)](_0x3cfe47[_0x1be5d9(0x200)]):_0x3cfe47['is'](_0x1be5d9(0x210))&&_0x53d8c1[_0x1be5d9(0x212)]>0x0&&'\x20'!==_0x53d8c1[_0x53d8c1[_0x1be5d9(0x212)]-0x1]&&_0x53d8c1[_0x1be5d9(0x1c3)]('\x20');return _0x53d8c1[_0x1be5d9(0x212)]?'\x22'+_0x53d8c1[_0x1be5d9(0x1ea)]('')[_0x1be5d9(0x1c4)]()+'\x22':_0x5a4d67(this[_0x1be5d9(0x1e5)][_0x1be5d9(0x1aa)],_0x1be5d9(0x214));}[_0x45b54a(0x1ae)](){const _0x229236=_0x45b54a,_0x2f1f50=_0x587cf1(this[_0x229236(0x1e5)])[_0x229236(0x218)];return Array[_0x229236(0x1bb)](_0x2f1f50[_0x229236(0x201)][_0x229236(0x1f0)](_0x229236(0x204)))[_0x229236(0x1e6)]((_0x39925e,_0x8b6361)=>_0x39925e[_0x229236(0x207)]()[_0x229236(0x1b5)](_0x8b6361[_0x229236(0x207)]())?-0x1:_0x39925e[_0x229236(0x207)]()[_0x229236(0x1ba)](_0x8b6361[_0x229236(0x207)]())?0x1:0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26b964=_0xba7b;function _0xba7b(_0x12ec2c,_0x51eb5a){const _0x44b5e9=_0x44b5();return _0xba7b=function(_0xba7bd2,_0x214a5e){_0xba7bd2=_0xba7bd2-0x135;let _0x43c693=_0x44b5e9[_0xba7bd2];return _0x43c693;},_0xba7b(_0x12ec2c,_0x51eb5a);}function _0x44b5(){const _0x237f8d=['reasoning','isWebSearchEnabled','18XiJhrb','toggleWebSearch','824936qqbFmA','getCapabilitiesRequestData','init','6xZkoNn','fire','setReasoning','reset','3WureQs','webSearch','56YBwYuR','12RPJQeE','5454293vnhLET','108664BKfRLP','capabilitiesUpdated','57246hJduWT','isReasoningEnabled','68720YwWShY','toggleReasoning','setWebSearch','_isWebSearchEnabled','getCapabilitiesConfig','198dwaOAM','168518lmOnmr','38770ZKUpIZ','_isReasoningEnabled'];_0x44b5=function(){return _0x237f8d;};return _0x44b5();}(function(_0x3cb8a5,_0x13c5ea){const _0x25aab1=_0xba7b,_0x220677=_0x3cb8a5();while(!![]){try{const _0xe9a509=-parseInt(_0x25aab1(0x136))/0x1+parseInt(_0x25aab1(0x140))/0x2*(parseInt(_0x25aab1(0x14e))/0x3)+parseInt(_0x25aab1(0x150))/0x4*(parseInt(_0x25aab1(0x141))/0x5)+-parseInt(_0x25aab1(0x14a))/0x6*(parseInt(_0x25aab1(0x138))/0x7)+parseInt(_0x25aab1(0x147))/0x8*(-parseInt(_0x25aab1(0x145))/0x9)+parseInt(_0x25aab1(0x13a))/0xa*(-parseInt(_0x25aab1(0x13f))/0xb)+parseInt(_0x25aab1(0x151))/0xc*(parseInt(_0x25aab1(0x135))/0xd);if(_0xe9a509===_0x13c5ea)break;else _0x220677['push'](_0x220677['shift']());}catch(_0x956247){_0x220677['push'](_0x220677['shift']());}}}(_0x44b5,0x286e4));import{EmitterMixin as _0x1892c8}from'ckeditor5/src/utils.js';export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x26b964(0x137)];export class AICapabilities extends _0x1892c8(){[_0x26b964(0x13d)];[_0x26b964(0x142)];constructor(){const _0x536b9c=_0x26b964;super(),this[_0x536b9c(0x13d)]=!0x1,this[_0x536b9c(0x142)]=!0x1;}[_0x26b964(0x149)](){const _0x5f48f4=_0x26b964;this[_0x5f48f4(0x14d)]();}[_0x26b964(0x14d)](){const _0x3c9eec=_0x26b964;this[_0x3c9eec(0x13c)](!0x1),this[_0x3c9eec(0x14c)](!0x1);}[_0x26b964(0x13e)](){const _0x12311e=_0x26b964;return{'isWebSearchEnabled':this[_0x12311e(0x13d)],'isReasoningEnabled':this[_0x12311e(0x142)]};}static[_0x26b964(0x148)](_0x295291){const _0x30638a=_0x26b964,_0x545cd1={};return _0x295291&&_0x295291[_0x30638a(0x144)]&&(_0x545cd1[_0x30638a(0x14f)]={}),_0x295291&&_0x295291[_0x30638a(0x139)]&&(_0x545cd1[_0x30638a(0x143)]={}),_0x545cd1;}[_0x26b964(0x146)](){const _0x3bcfb2=_0x26b964;this[_0x3bcfb2(0x13c)](!this[_0x3bcfb2(0x13d)]);}[_0x26b964(0x13b)](){const _0x3cc146=_0x26b964;this[_0x3cc146(0x14c)](!this[_0x3cc146(0x142)]);}[_0x26b964(0x13c)](_0x249281){const _0x453e59=_0x26b964;_0x249281!==this[_0x453e59(0x13d)]&&(this[_0x453e59(0x13d)]=_0x249281,this[_0x453e59(0x14b)](_0x453e59(0x137),this[_0x453e59(0x13e)]()));}[_0x26b964(0x14c)](_0x6fa724){const _0x3efd34=_0x26b964;_0x6fa724!==this[_0x3efd34(0x142)]&&(this[_0x3efd34(0x142)]=_0x6fa724,this[_0x3efd34(0x14b)](_0x3efd34(0x137),this[_0x3efd34(0x13e)]()));}}
23
+ const _0x1bec5f=_0x3546;(function(_0x3d5816,_0x5eedea){const _0x1206ed=_0x3546,_0x2e1546=_0x3d5816();while(!![]){try{const _0x18378c=-parseInt(_0x1206ed(0xf5))/0x1*(-parseInt(_0x1206ed(0xed))/0x2)+parseInt(_0x1206ed(0xf0))/0x3+parseInt(_0x1206ed(0xff))/0x4+-parseInt(_0x1206ed(0xf8))/0x5*(parseInt(_0x1206ed(0xe6))/0x6)+-parseInt(_0x1206ed(0xfe))/0x7*(parseInt(_0x1206ed(0xe5))/0x8)+-parseInt(_0x1206ed(0xec))/0x9*(parseInt(_0x1206ed(0xf4))/0xa)+parseInt(_0x1206ed(0xfc))/0xb*(parseInt(_0x1206ed(0xeb))/0xc);if(_0x18378c===_0x5eedea)break;else _0x2e1546['push'](_0x2e1546['shift']());}catch(_0x482b2d){_0x2e1546['push'](_0x2e1546['shift']());}}}(_0x4e35,0xab327));import{EmitterMixin as _0x1d2077}from'ckeditor5/src/utils.js';function _0x3546(_0x621a1b,_0x24a0d1){const _0x4e3583=_0x4e35();return _0x3546=function(_0x35463f,_0x1f043f){_0x35463f=_0x35463f-0xe5;let _0x3f1fcd=_0x4e3583[_0x35463f];return _0x3f1fcd;},_0x3546(_0x621a1b,_0x24a0d1);}export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x1bec5f(0xfd)];function _0x4e35(){const _0x3ff806=['7961VBpXeW','setWebSearch','webSearch','76565FYtiAB','_isReasoningEnabled','getCapabilitiesConfig','init','14175843UULPsB','capabilitiesUpdated','290003DLkWNk','3398520JbCARb','reasoning','240BviPYg','186FpuOJv','reset','isWebSearchEnabled','setReasoning','getCapabilitiesRequestData','12JugzjB','79578AJMeNL','126XXhqDk','fire','_isWebSearchEnabled','663030XlYxgL','isReasoningEnabled','toggleReasoning','toggleWebSearch','500SfKPEf'];_0x4e35=function(){return _0x3ff806;};return _0x4e35();}export class AICapabilities extends _0x1d2077(){[_0x1bec5f(0xef)];[_0x1bec5f(0xf9)];constructor(){const _0x13ae19=_0x1bec5f;super(),this[_0x13ae19(0xef)]=!0x1,this[_0x13ae19(0xf9)]=!0x1;}[_0x1bec5f(0xfb)](){const _0x5a3250=_0x1bec5f;this[_0x5a3250(0xe7)]();}[_0x1bec5f(0xe7)](){const _0x21402f=_0x1bec5f;this[_0x21402f(0xf6)](!0x1),this[_0x21402f(0xe9)](!0x1);}[_0x1bec5f(0xfa)](){const _0x4308f2=_0x1bec5f;return{'isWebSearchEnabled':this[_0x4308f2(0xef)],'isReasoningEnabled':this[_0x4308f2(0xf9)]};}static[_0x1bec5f(0xea)](_0x3e22a1){const _0x2066d0=_0x1bec5f,_0x3c874b={};return _0x3e22a1&&_0x3e22a1[_0x2066d0(0xe8)]&&(_0x3c874b[_0x2066d0(0xf7)]={}),_0x3e22a1&&_0x3e22a1[_0x2066d0(0xf1)]&&(_0x3c874b[_0x2066d0(0x100)]={}),_0x3c874b;}[_0x1bec5f(0xf3)](){const _0x29f62b=_0x1bec5f;this[_0x29f62b(0xf6)](!this[_0x29f62b(0xef)]);}[_0x1bec5f(0xf2)](){const _0x560039=_0x1bec5f;this[_0x560039(0xe9)](!this[_0x560039(0xf9)]);}[_0x1bec5f(0xf6)](_0x349ad5){const _0x1dfeb4=_0x1bec5f;_0x349ad5!==this[_0x1dfeb4(0xef)]&&(this[_0x1dfeb4(0xef)]=_0x349ad5,this[_0x1dfeb4(0xee)](_0x1dfeb4(0xfd),this[_0x1dfeb4(0xfa)]()));}[_0x1bec5f(0xe9)](_0x5eed06){const _0x38013f=_0x1bec5f;_0x5eed06!==this[_0x38013f(0xf9)]&&(this[_0x38013f(0xf9)]=_0x5eed06,this[_0x38013f(0xee)](_0x38013f(0xfd),this[_0x38013f(0xfa)]()));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x446793,_0x25b949){var _0x784d4d=_0x1dce,_0x3e0540=_0x446793();while(!![]){try{var _0x7d6b28=-parseInt(_0x784d4d(0x1e3))/0x1*(-parseInt(_0x784d4d(0x1ee))/0x2)+parseInt(_0x784d4d(0x1d8))/0x3+parseInt(_0x784d4d(0x1d3))/0x4*(-parseInt(_0x784d4d(0x1e4))/0x5)+parseInt(_0x784d4d(0x1d6))/0x6*(-parseInt(_0x784d4d(0x1ea))/0x7)+parseInt(_0x784d4d(0x1ec))/0x8*(-parseInt(_0x784d4d(0x1e2))/0x9)+-parseInt(_0x784d4d(0x1ed))/0xa+-parseInt(_0x784d4d(0x1e7))/0xb*(-parseInt(_0x784d4d(0x1d4))/0xc);if(_0x7d6b28===_0x25b949)break;else _0x3e0540['push'](_0x3e0540['shift']());}catch(_0x4801be){_0x3e0540['push'](_0x3e0540['shift']());}}}(_0x2a21,0x8f412));export var AIContextItemType;function _0x1dce(_0x4d9339,_0x35f098){var _0x2a2113=_0x2a21();return _0x1dce=function(_0x1dced4,_0x3555ad){_0x1dced4=_0x1dced4-0x1d3;var _0x3f41e=_0x2a2113[_0x1dced4];return _0x3f41e;},_0x1dce(_0x4d9339,_0x35f098);}!function(_0x4d1964){var _0x7e4e1e=_0x1dce;_0x4d1964[_0x7e4e1e(0x1dc)]=_0x7e4e1e(0x1d7),_0x4d1964[_0x7e4e1e(0x1da)]=_0x7e4e1e(0x1e0),_0x4d1964[_0x7e4e1e(0x1e1)]=_0x7e4e1e(0x1d9),_0x4d1964[_0x7e4e1e(0x1de)]=_0x7e4e1e(0x1e9),_0x4d1964[_0x7e4e1e(0x1df)]=_0x7e4e1e(0x1dd),_0x4d1964[_0x7e4e1e(0x1eb)]=_0x7e4e1e(0x1d5);}(AIContextItemType||(AIContextItemType={}));export var AIContextTextResourceType;function _0x2a21(){var _0x52d2ac=['HTML','MARKDOWN','3443IUQXLs','html','web-resource','8876HFJUIk','SELECTION','2273384oustHz','2429900NvDnYM','1780398VlQcHQ','620URNqvZ','11364lgXcoW','selection','564wolvXx','mcp-tool-context','2020935zAjgnB','document','FILE','markdown','TOOL','text','URL','TEXT','file','DOCUMENT','9VJGvEg','1GAyQPL','20230nJhupv'];_0x2a21=function(){return _0x52d2ac;};return _0x2a21();}!function(_0x202d80){var _0x498f28=_0x1dce;_0x202d80[_0x498f28(0x1df)]=_0x498f28(0x1dd),_0x202d80[_0x498f28(0x1e6)]=_0x498f28(0x1db),_0x202d80[_0x498f28(0x1e5)]=_0x498f28(0x1e8);}(AIContextTextResourceType||(AIContextTextResourceType={}));
23
+ (function(_0x3a3158,_0x44c2b1){var _0x908c43=_0x5ce0,_0x43385e=_0x3a3158();while(!![]){try{var _0x4fd5ca=-parseInt(_0x908c43(0xed))/0x1+parseInt(_0x908c43(0xee))/0x2*(-parseInt(_0x908c43(0xea))/0x3)+parseInt(_0x908c43(0xe8))/0x4*(parseInt(_0x908c43(0xe6))/0x5)+-parseInt(_0x908c43(0xe9))/0x6+parseInt(_0x908c43(0xef))/0x7+parseInt(_0x908c43(0xfb))/0x8*(parseInt(_0x908c43(0xf5))/0x9)+-parseInt(_0x908c43(0xfa))/0xa*(-parseInt(_0x908c43(0xe5))/0xb);if(_0x4fd5ca===_0x44c2b1)break;else _0x43385e['push'](_0x43385e['shift']());}catch(_0x4533a0){_0x43385e['push'](_0x43385e['shift']());}}}(_0xace4,0x62d0a));function _0xace4(){var _0x273e8a=['URL','SELECTION','481671obQpNR','DOCUMENT','markdown','HTML','MARKDOWN','10gMAnkQ','80qQjEIG','FILE','document','selection','TEXT','6179591VKAJpH','160910PBVGlY','html','20AZMZpL','1036140JoXHZI','393429rxYUyL','file','text','661114bzjnCv','4QSFwOh','1700685IBMBVi','mcp-tool-context','TOOL','web-resource'];_0xace4=function(){return _0x273e8a;};return _0xace4();}export var AIContextItemType;!function(_0xbd3c12){var _0x18580c=_0x5ce0;_0xbd3c12[_0x18580c(0xf1)]=_0x18580c(0xf0),_0xbd3c12[_0x18580c(0xfc)]=_0x18580c(0xeb),_0xbd3c12[_0x18580c(0xf6)]=_0x18580c(0xe2),_0xbd3c12[_0x18580c(0xf3)]=_0x18580c(0xf2),_0xbd3c12[_0x18580c(0xe4)]=_0x18580c(0xec),_0xbd3c12[_0x18580c(0xf4)]=_0x18580c(0xe3);}(AIContextItemType||(AIContextItemType={}));function _0x5ce0(_0x13356a,_0x35861f){var _0xace421=_0xace4();return _0x5ce0=function(_0x5ce086,_0x42bc5d){_0x5ce086=_0x5ce086-0xe2;var _0x57dfdc=_0xace421[_0x5ce086];return _0x57dfdc;},_0x5ce0(_0x13356a,_0x35861f);}export var AIContextTextResourceType;!function(_0xe9d876){var _0x27af87=_0x5ce0;_0xe9d876[_0x27af87(0xe4)]=_0x27af87(0xec),_0xe9d876[_0x27af87(0xf9)]=_0x27af87(0xf7),_0xe9d876[_0x27af87(0xf8)]=_0x27af87(0xe7);}(AIContextTextResourceType||(AIContextTextResourceType={}));