@ckeditor/ckeditor5-ai 47.7.1-alpha.0 → 47.7.2-alpha.0

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 _0x2da127=_0x509a;(function(_0x5bc0aa,_0x307979){const _0x4e1a39=_0x509a,_0xea0281=_0x5bc0aa();while(!![]){try{const _0x503a92=parseInt(_0x4e1a39(0xdc))/0x1+parseInt(_0x4e1a39(0xb4))/0x2+-parseInt(_0x4e1a39(0xaf))/0x3+parseInt(_0x4e1a39(0xac))/0x4+parseInt(_0x4e1a39(0xe4))/0x5+parseInt(_0x4e1a39(0xb3))/0x6+-parseInt(_0x4e1a39(0x99))/0x7;if(_0x503a92===_0x307979)break;else _0xea0281['push'](_0xea0281['shift']());}catch(_0x300325){_0xea0281['push'](_0xea0281['shift']());}}}(_0x338f,0x289df));import{ListItemView as _0x2a1574,HighlightedTextView as _0x53b46a,ButtonView as _0x1f89d3,ListView as _0x384409,IconView as _0x2506a6,createDropdown as _0x5d67d1,InputTextView as _0x1173df}from'ckeditor5/src/ui.js';function _0x338f(){const _0x4bdf4c=['256464uNRgFu','updateTitle','AI_CHAT_HISTORY_LOADING_UNPINNING','setConversationPinned','tiny','ck-ai-chat-history__item-date','value','ck-ai-chat-history__item-row','AI_CHAT_HISTORY_CANCEL','ck-ai-chat-history__item-main-content','panelPosition','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','selectConversation','set','_titleView','match','edit:cancel','_createCheckView','bindTemplate','AI_CHAT_HISTORY_LOADING_RENAMING','editConversationTitle','isVisible','focus','isOn','AI_CHAT_HISTORY_PIN_BUTTON','add','actions','extendTemplate','clear','_createAcceptEditButtonView','click','ck-ai-chat-history__item--edit','bind','element','locale','AI_CHAT_HISTORY_ACCEPT','ck-ai-chat-history__item--active','execute','_createPinButtonView','AI_CHAT_HISTORY_REMOVE_CONFIRM','247713IuIidz','ck-ai-chat-history__item-actions','listitem','LOADING_LABELS','AI_CHAT_HISTORY_LOADING_REMOVING','ck-ai-chat-history__item-title','ck-ai-loader__text','AI_CHAT_HISTORY_REMOVE','237395wQLLRU','change:isEdit','span','ck-ai-chat-history__item-content','_createEditInputView','label','ck-hidden','div','isEdit','buttonView','string','loadingState','items','key','_createMenuDropdownView','_createSpinnerView','ck-ai-chat-history__item','ck-ai-chat-history__item-check-container','ck-confirm-view-cancel','highlightText','3658116YKtsDd','showConfirm','removeConversation','mainContent','ck-confirm-view-submit','AI_CHAT_HISTORY_LOADING_PINNING','AI_CHAT_HISTORY_EDIT_NAME','updateLoadingState','_createCancelEditButtonView','children','createCollection','_commitEditInputValue','ck-ai-loader','panelView','addMany','ck-ai-chat-history__item-check','withText','fire','then','649772aZzSIu','pinned','isMatching','409935StmTZs','text','setTemplate','Enter','1438398qcKygD'];_0x338f=function(){return _0x4bdf4c;};return _0x338f();}import{IconThreeHorizontalDots as _0x576ceb,IconPin as _0x439396,IconCheck as _0x35ffb7,IconCancel as _0x813f83}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x1a3f23,ConfirmMixin as _0x5d8442}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x3cce10}from'es-toolkit/compat';function _0x509a(_0x6828bf,_0xe6de62){const _0x338ffd=_0x338f();return _0x509a=function(_0x509a69,_0x1423c6){_0x509a69=_0x509a69-0x92;let _0x2b43a3=_0x338ffd[_0x509a69];return _0x2b43a3;},_0x509a(_0x6828bf,_0xe6de62);}import{AISpinnerView as _0x1fc50e}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x336b93}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
- _0x5d8442(_0x2a1574){['id'];static [_0x2da127(0xdf)]={'remove':_0x2da127(0xe0),'rename':_0x2da127(0xc7),'pin':_0x2da127(0x9e),'unpin':_0x2da127(0xb6)};[_0x2da127(0xce)];[_0x2da127(0x9c)];[_0x2da127(0xc2)];constructor(_0xdb8a97,_0x2786e8){const _0x156d25=_0x2da127;super(_0xdb8a97);const _0x262bb0=this[_0x156d25(0xc6)];this[_0x156d25(0xc1)](_0x156d25(0xec),!0x1),this[_0x156d25(0xc1)](_0x156d25(0xc9),!0x0),this[_0x156d25(0xc1)](_0x156d25(0xad),!!_0x2786e8[_0x156d25(0xad)]),this[_0x156d25(0xc1)](_0x156d25(0xef),null),this['id']=_0x2786e8['id'];const {title:_0x3c7be8,createdAt:_0x251c90,active:_0x219b78=!0x1}=_0x2786e8;this[_0x156d25(0xc2)]=new _0x53b46a(),this[_0x156d25(0xc2)][_0x156d25(0xb0)]=_0x3c7be8,this[_0x156d25(0xc2)][_0x156d25(0xcf)]({'attributes':{'class':[_0x156d25(0xe1)]}});const _0x4b167c=this[_0x156d25(0xc5)](),_0x343458=this[_0x156d25(0xda)](_0xdb8a97),_0x1f0e7c=this[_0x156d25(0x93)](),_0x1fe122=this[_0x156d25(0xe8)](_0xdb8a97,_0x3c7be8),_0x24908c=this[_0x156d25(0xd1)](_0xdb8a97,_0x1fe122),_0x406425=this[_0x156d25(0xa1)](_0xdb8a97,_0x1fe122);this[_0x156d25(0xce)]=this[_0x156d25(0xa3)](),this[_0x156d25(0x9c)]=this[_0x156d25(0xa3)](),this[_0x156d25(0x9c)][_0x156d25(0xcd)](this[_0x156d25(0xc2)]),this[_0x156d25(0xce)][_0x156d25(0xcd)](_0x343458),this[_0x156d25(0xce)][_0x156d25(0xcd)](_0x1f0e7c),this['on'](_0x156d25(0xe5),(_0x4bf756,_0x235e64,_0x1db4b2)=>{const _0x1a2706=_0x156d25;this[_0x1a2706(0xce)][_0x1a2706(0xd0)](),this[_0x1a2706(0x9c)][_0x1a2706(0xd0)](),_0x1db4b2?(this[_0x1a2706(0xce)][_0x1a2706(0xcd)](_0x24908c),this[_0x1a2706(0xce)][_0x1a2706(0xcd)](_0x406425),this[_0x1a2706(0x9c)][_0x1a2706(0xcd)](_0x1fe122),_0x1fe122[_0x1a2706(0xd5)][_0x1a2706(0xca)]()):(this[_0x1a2706(0xce)][_0x1a2706(0xcd)](_0x343458),this[_0x1a2706(0xce)][_0x1a2706(0xcd)](_0x1f0e7c),this[_0x1a2706(0x9c)][_0x1a2706(0xcd)](this[_0x1a2706(0xc2)]));}),this[_0x156d25(0xb1)]({'tag':'li','attributes':{'class':[_0x156d25(0x95),_0x219b78?_0x156d25(0xd8):'',_0x262bb0['if'](_0x156d25(0xc9),_0x156d25(0xea),_0x4c9f36=>!_0x4c9f36),_0x262bb0['if'](_0x156d25(0xec),_0x156d25(0xd3))],'role':_0x156d25(0xde)},'children':[{'tag':_0x156d25(0xe6),'attributes':{'class':[_0x156d25(0x96)]},'children':[{'tag':_0x156d25(0xeb),'attributes':{'class':[_0x156d25(0xa8),_0x262bb0['if'](_0x156d25(0xef),_0x156d25(0xea),_0x4d8533=>!!_0x4d8533)]},'children':_0x219b78?[_0x4b167c]:[]},{'tag':_0x156d25(0xeb),'attributes':{'class':[_0x156d25(0xa5),_0x262bb0['if'](_0x156d25(0xef),_0x156d25(0xea),_0x3dab2f=>!_0x3dab2f)]},'children':[this[_0x156d25(0x94)]()]}]},{'tag':_0x156d25(0xeb),'attributes':{'class':[_0x156d25(0xbb)]},'children':[{'tag':_0x156d25(0xeb),'attributes':{'class':[_0x156d25(0xe7)]},'on':{'click':this[_0x156d25(0xc6)]['to'](_0x156d25(0xd2))},'children':[{'tag':_0x156d25(0xeb),'attributes':{'class':[_0x156d25(0xbd)]},'children':[{'tag':_0x156d25(0xeb),'attributes':{'class':[_0x156d25(0xe1),_0x262bb0['if'](_0x156d25(0xef),_0x156d25(0xea),_0x1180a9=>!!_0x1180a9)]},'children':this[_0x156d25(0x9c)]},{'tag':_0x156d25(0xeb),'attributes':{'class':[_0x156d25(0xe2),_0x262bb0['if'](_0x156d25(0xef),_0x156d25(0xea),_0x39c0e0=>!_0x39c0e0)]},'children':[{'text':_0x262bb0['to'](_0x156d25(0xef),_0x173d86=>_0x173d86?_0x336b93(this[_0x156d25(0xd6)],AIChatHistoryListItemView[_0x156d25(0xdf)][_0x173d86]):'')}]}]},{'tag':_0x156d25(0xe6),'attributes':{'class':[_0x156d25(0xb9)]},'children':[_0x251c90]}]},{'tag':_0x156d25(0xeb),'attributes':{'class':[_0x156d25(0xdd)]},'children':this[_0x156d25(0xce)]}]}]}),this['on'](_0x156d25(0xd2),()=>{const _0x6bcec4=_0x156d25;this[_0x6bcec4(0xec)]||this[_0x6bcec4(0xaa)](_0x6bcec4(0xc0),{'id':this['id']});});}[_0x2da127(0xb5)](_0x1bc33c){const _0x499134=_0x2da127;this[_0x499134(0xc2)][_0x499134(0xb0)]=_0x3cce10(_0x1bc33c);}[_0x2da127(0xa0)](_0x142c0a,_0x587874){const _0x447cab=_0x2da127;this[_0x447cab(0xc1)](_0x447cab(0xef),_0x587874?_0x142c0a:null);}[_0x2da127(0xc5)](){const _0x2c8bb3=_0x2da127,_0x428bf1=new _0x2506a6();return _0x428bf1[_0x2c8bb3(0xc1)]({'content':_0x35ffb7}),_0x428bf1;}[_0x2da127(0xda)](_0x13c7c3){const _0x108c88=_0x2da127,_0x1d4e44=new _0x1f89d3(_0x13c7c3);return _0x1d4e44[_0x108c88(0xc1)]({'label':_0x336b93(_0x13c7c3,_0x108c88(0xcc)),'icon':_0x439396,'withText':!0x1,'tooltip':!0x0}),_0x1d4e44[_0x108c88(0xd4)](_0x108c88(0xcb))['to'](this,_0x108c88(0xad)),_0x1d4e44['on'](_0x108c88(0xd9),()=>{const _0xde569c=_0x108c88,_0x5230d6=!this[_0xde569c(0xad)];this[_0xde569c(0xaa)](_0xde569c(0xb7),{'id':this['id'],'pinned':_0x5230d6});}),_0x1d4e44;}[_0x2da127(0x93)](){const _0x53a0df=_0x2da127,_0x4b27f2=_0x5d67d1(this[_0x53a0df(0xd6)],_0x1a3f23),_0x1886f8=_0x4b27f2[_0x53a0df(0xa6)][_0x53a0df(0xa2)];_0x4b27f2[_0x53a0df(0xed)][_0x53a0df(0xc1)]({'label':_0x336b93(this[_0x53a0df(0xd6)],_0x53a0df(0xbf)),'icon':_0x576ceb}),_0x4b27f2[_0x53a0df(0xbe)]='sw';const _0x539e86=new _0x1f89d3(this[_0x53a0df(0xd6)]);_0x539e86[_0x53a0df(0xe9)]=_0x336b93(this[_0x53a0df(0xd6)],_0x53a0df(0x9f)),_0x539e86[_0x53a0df(0xa9)]=!0x0,_0x539e86['on'](_0x53a0df(0xd9),()=>{const _0x4af8b7=_0x53a0df;this[_0x4af8b7(0xec)]=!0x0;});const _0xfa591d=new _0x1f89d3(this[_0x53a0df(0xd6)]);_0xfa591d[_0x53a0df(0xe9)]=_0x336b93(this[_0x53a0df(0xd6)],_0x53a0df(0xe3)),_0xfa591d[_0x53a0df(0xa9)]=!0x0,_0xfa591d['on'](_0x53a0df(0xd9),()=>{const _0x3b2b63=_0x53a0df;this[_0x3b2b63(0x9a)](_0x336b93(this[_0x3b2b63(0xd6)],_0x3b2b63(0xdb)),this[_0x3b2b63(0xd5)])[_0x3b2b63(0xab)](()=>{const _0x7e12c5=_0x3b2b63;this[_0x7e12c5(0xaa)](_0x7e12c5(0x9b),{'id':this['id']});});});const _0x2061fa=new _0x384409(this[_0x53a0df(0xd6)]),_0x1ead33=new _0x2a1574(this[_0x53a0df(0xd6)]);_0x1ead33[_0x53a0df(0xa2)][_0x53a0df(0xcd)](_0x539e86);const _0x1c257a=new _0x2a1574(this[_0x53a0df(0xd6)]);return _0x1c257a[_0x53a0df(0xa2)][_0x53a0df(0xcd)](_0xfa591d),_0x2061fa[_0x53a0df(0xf0)][_0x53a0df(0xa7)]([_0x1ead33,_0x1c257a]),_0x1886f8[_0x53a0df(0xcd)](_0x2061fa),_0x4b27f2;}[_0x2da127(0xe8)](_0x4cf0ff,_0x381aa7){const _0x2e06ae=_0x2da127,_0x4f3ec5=new _0x1173df(_0x4cf0ff),_0x1b1e1d=_0x4f3ec5[_0x2e06ae(0xc6)];return _0x4f3ec5[_0x2e06ae(0xba)]=_0x381aa7,_0x4f3ec5[_0x2e06ae(0xcf)]({'on':{'keydown':_0x1b1e1d['to'](_0x45666a=>{const _0x3e251a=_0x2e06ae;_0x3e251a(0xb2)==_0x45666a[_0x3e251a(0x92)]&&this[_0x3e251a(0xa4)](_0x4f3ec5);})}}),_0x4f3ec5;}[_0x2da127(0xd1)](_0x5a1a60,_0x457067){const _0x18f5f3=_0x2da127,_0x5791dd=new _0x1f89d3(_0x5a1a60);return _0x5791dd[_0x18f5f3(0xc1)]({'icon':_0x35ffb7,'withText':!0x1,'tooltip':_0x336b93(_0x5a1a60,_0x18f5f3(0xd7))}),_0x5791dd[_0x18f5f3(0xcf)]({'attributes':{'class':[_0x18f5f3(0x9d)]}}),_0x5791dd['on'](_0x18f5f3(0xd9),()=>{const _0x57e586=_0x18f5f3;this[_0x57e586(0xa4)](_0x457067);}),_0x5791dd;}[_0x2da127(0xa4)](_0x4b6488){const _0x4fc9b5=_0x2da127,_0x43ab8b=_0x4b6488[_0x4fc9b5(0xd5)][_0x4fc9b5(0xba)]||'';this[_0x4fc9b5(0xc2)][_0x4fc9b5(0xb0)]=_0x43ab8b,this[_0x4fc9b5(0xec)]=!0x1,this[_0x4fc9b5(0xaa)](_0x4fc9b5(0xc8),{'id':this['id'],'title':_0x43ab8b});}[_0x2da127(0xa1)](_0x3cc8cf,_0xf44e3e){const _0x1719ff=_0x2da127,_0x29eb73=new _0x1f89d3(_0x3cc8cf);return _0x29eb73[_0x1719ff(0xc1)]({'icon':_0x813f83,'withText':!0x1,'tooltip':_0x336b93(_0x3cc8cf,_0x1719ff(0xbc))}),_0x29eb73[_0x1719ff(0xcf)]({'attributes':{'class':[_0x1719ff(0x97)]}}),_0x29eb73['on'](_0x1719ff(0xd9),()=>{const _0x5ab4ce=_0x1719ff;this[_0x5ab4ce(0xec)]=!0x1,_0xf44e3e[_0x5ab4ce(0xba)]=this[_0x5ab4ce(0xc2)][_0x5ab4ce(0xb0)]||'',this[_0x5ab4ce(0xaa)](_0x5ab4ce(0xc4));}),_0x29eb73;}[_0x2da127(0x94)](){const _0x1b4de4=_0x2da127,_0x5a0064=new _0x1fc50e(_0x1b4de4(0xb8));return _0x5a0064[_0x1b4de4(0xc9)]=!0x0,_0x5a0064;}[_0x2da127(0xae)](_0x507c99){const _0x2c7016=_0x2da127;return this[_0x2c7016(0xc2)]&&_0x2c7016(0xee)==typeof this[_0x2c7016(0xc2)][_0x2c7016(0xb0)]&&this[_0x2c7016(0xc2)][_0x2c7016(0xb0)][_0x2c7016(0xc3)](_0x507c99)?{'title':!0x0}:null;}[_0x2da127(0x98)](_0x2818ac){const _0x3fc92d=_0x2da127;this[_0x3fc92d(0xc2)][_0x3fc92d(0x98)](_0x2818ac);}}
23
+ const _0x3c64b2=_0x40d2;(function(_0x545d60,_0x1640d3){const _0x4275bf=_0x40d2,_0x5d7cd7=_0x545d60();while(!![]){try{const _0x1c18cd=-parseInt(_0x4275bf(0x19a))/0x1+parseInt(_0x4275bf(0x195))/0x2*(-parseInt(_0x4275bf(0x1e9))/0x3)+parseInt(_0x4275bf(0x1b7))/0x4+parseInt(_0x4275bf(0x1ce))/0x5*(-parseInt(_0x4275bf(0x1a7))/0x6)+-parseInt(_0x4275bf(0x1a8))/0x7*(-parseInt(_0x4275bf(0x1c3))/0x8)+-parseInt(_0x4275bf(0x1b0))/0x9*(parseInt(_0x4275bf(0x19b))/0xa)+parseInt(_0x4275bf(0x1b4))/0xb;if(_0x1c18cd===_0x1640d3)break;else _0x5d7cd7['push'](_0x5d7cd7['shift']());}catch(_0x193b6c){_0x5d7cd7['push'](_0x5d7cd7['shift']());}}}(_0x3f62,0xe2809));import{ListItemView as _0x3fdc54,HighlightedTextView as _0x3363c8,ButtonView as _0x4f1c9b,ListView as _0x5b5d7a,IconView as _0x40fe9a,createDropdown as _0x170406,InputTextView as _0x14639a}from'ckeditor5/src/ui.js';function _0x40d2(_0x2d3a76,_0x211f3b){const _0x3f622a=_0x3f62();return _0x40d2=function(_0x40d2fa,_0x2ef3fc){_0x40d2fa=_0x40d2fa-0x18d;let _0x484150=_0x3f622a[_0x40d2fa];return _0x484150;},_0x40d2(_0x2d3a76,_0x211f3b);}import{IconThreeHorizontalDots as _0x3754a9,IconPin as _0x510fc9,IconCheck as _0x53cc16,IconCancel as _0x5b1b45}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x1c3157,ConfirmMixin as _0x59cc9a}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x2eb1a9}from'es-toolkit/compat';import{AISpinnerView as _0x15f9c8}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x22d8b2}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
+ _0x59cc9a(_0x3fdc54){['id'];static [_0x3c64b2(0x1de)]={'remove':_0x3c64b2(0x1b8),'rename':_0x3c64b2(0x1a3),'pin':_0x3c64b2(0x1e7),'unpin':_0x3c64b2(0x1c4)};[_0x3c64b2(0x1c0)];[_0x3c64b2(0x1d1)];[_0x3c64b2(0x193)];constructor(_0x17c8a7,_0x455295){const _0x542314=_0x3c64b2;super(_0x17c8a7);const _0x26c0d7=this[_0x542314(0x19e)];this[_0x542314(0x199)](_0x542314(0x1ee),!0x1),this[_0x542314(0x199)](_0x542314(0x1ae),!0x0),this[_0x542314(0x199)](_0x542314(0x19f),!!_0x455295[_0x542314(0x19f)]),this[_0x542314(0x199)](_0x542314(0x1bb),null),this['id']=_0x455295['id'];const {title:_0x12f6b8,createdAt:_0x489c39,active:_0x316ac8=!0x1}=_0x455295;this[_0x542314(0x193)]=new _0x3363c8(),this[_0x542314(0x193)][_0x542314(0x198)]=_0x12f6b8,this[_0x542314(0x193)][_0x542314(0x1ea)]({'attributes':{'class':[_0x542314(0x1eb)]}});const _0x28383b=this[_0x542314(0x1ac)](),_0x1fb4fb=this[_0x542314(0x1d4)](_0x17c8a7),_0x108508=this[_0x542314(0x1a6)](),_0x25d391=this[_0x542314(0x1df)](_0x17c8a7,_0x12f6b8),_0x1d31a7=this[_0x542314(0x1d5)](_0x17c8a7,_0x25d391),_0x30d9c8=this[_0x542314(0x1b5)](_0x17c8a7,_0x25d391);this[_0x542314(0x1c0)]=this[_0x542314(0x1ef)](),this[_0x542314(0x1d1)]=this[_0x542314(0x1ef)](),this[_0x542314(0x1d1)][_0x542314(0x1cf)](this[_0x542314(0x193)]),this[_0x542314(0x1c0)][_0x542314(0x1cf)](_0x1fb4fb),this[_0x542314(0x1c0)][_0x542314(0x1cf)](_0x108508),this['on'](_0x542314(0x1ad),(_0x2affd4,_0x54f9f7,_0x521cca)=>{const _0x515e78=_0x542314;this[_0x515e78(0x1c0)][_0x515e78(0x1b1)](),this[_0x515e78(0x1d1)][_0x515e78(0x1b1)](),_0x521cca?(this[_0x515e78(0x1c0)][_0x515e78(0x1cf)](_0x1d31a7),this[_0x515e78(0x1c0)][_0x515e78(0x1cf)](_0x30d9c8),this[_0x515e78(0x1d1)][_0x515e78(0x1cf)](_0x25d391),_0x25d391[_0x515e78(0x1d6)][_0x515e78(0x1a5)]()):(this[_0x515e78(0x1c0)][_0x515e78(0x1cf)](_0x1fb4fb),this[_0x515e78(0x1c0)][_0x515e78(0x1cf)](_0x108508),this[_0x515e78(0x1d1)][_0x515e78(0x1cf)](this[_0x515e78(0x193)]));}),this[_0x542314(0x19d)]({'tag':'li','attributes':{'class':[_0x542314(0x191),_0x316ac8?_0x542314(0x1e2):'',_0x26c0d7['if'](_0x542314(0x1ae),_0x542314(0x1a1),_0x48f672=>!_0x48f672),_0x26c0d7['if'](_0x542314(0x1ee),_0x542314(0x1e0))],'role':_0x542314(0x1ba)},'children':[{'tag':_0x542314(0x1da),'attributes':{'class':[_0x542314(0x1ec)]},'children':[{'tag':_0x542314(0x1e3),'attributes':{'class':[_0x542314(0x1e8),_0x26c0d7['if'](_0x542314(0x1bb),_0x542314(0x1a1),_0x7731d4=>!!_0x7731d4)]},'children':_0x316ac8?[_0x28383b]:[]},{'tag':_0x542314(0x1e3),'attributes':{'class':[_0x542314(0x1c1),_0x26c0d7['if'](_0x542314(0x1bb),_0x542314(0x1a1),_0x3c85ee=>!_0x3c85ee)]},'children':[this[_0x542314(0x1a0)]()]}]},{'tag':_0x542314(0x1e3),'attributes':{'class':[_0x542314(0x1cc)]},'children':[{'tag':_0x542314(0x1e3),'attributes':{'class':[_0x542314(0x197)]},'on':{'click':this[_0x542314(0x19e)]['to'](_0x542314(0x1e1))},'children':[{'tag':_0x542314(0x1e3),'attributes':{'class':[_0x542314(0x1dc)]},'children':[{'tag':_0x542314(0x1e3),'attributes':{'class':[_0x542314(0x1eb),_0x26c0d7['if'](_0x542314(0x1bb),_0x542314(0x1a1),_0x21dd39=>!!_0x21dd39)]},'children':this[_0x542314(0x1d1)]},{'tag':_0x542314(0x1e3),'attributes':{'class':[_0x542314(0x1c5),_0x26c0d7['if'](_0x542314(0x1bb),_0x542314(0x1a1),_0x257971=>!_0x257971)]},'children':[{'text':_0x26c0d7['to'](_0x542314(0x1bb),_0x3d21fa=>_0x3d21fa?_0x22d8b2(this[_0x542314(0x190)],AIChatHistoryListItemView[_0x542314(0x1de)][_0x3d21fa]):'')}]}]},{'tag':_0x542314(0x1da),'attributes':{'class':[_0x542314(0x1ab)]},'children':[_0x489c39]}]},{'tag':_0x542314(0x1e3),'attributes':{'class':[_0x542314(0x1cb)]},'children':this[_0x542314(0x1c0)]}]}]}),this['on'](_0x542314(0x1e1),()=>{const _0x510435=_0x542314;this[_0x510435(0x1ee)]||this[_0x510435(0x1c7)](_0x510435(0x192),{'id':this['id']});});}[_0x3c64b2(0x1d2)](_0x404ba8){const _0x16c337=_0x3c64b2;this[_0x16c337(0x193)][_0x16c337(0x198)]=_0x2eb1a9(_0x404ba8);}[_0x3c64b2(0x1af)](_0x5d0bf2,_0xdf71df){const _0x374874=_0x3c64b2;this[_0x374874(0x199)](_0x374874(0x1bb),_0xdf71df?_0x5d0bf2:null);}[_0x3c64b2(0x1ac)](){const _0x4b5924=_0x3c64b2,_0x583f7d=new _0x40fe9a();return _0x583f7d[_0x4b5924(0x199)]({'content':_0x53cc16}),_0x583f7d;}[_0x3c64b2(0x1d4)](_0x12448f){const _0x175d0e=_0x3c64b2,_0x5258ac=new _0x4f1c9b(_0x12448f);return _0x5258ac[_0x175d0e(0x199)]({'label':_0x22d8b2(_0x12448f,_0x175d0e(0x18f)),'icon':_0x510fc9,'withText':!0x1,'tooltip':!0x0}),_0x5258ac[_0x175d0e(0x1bc)](_0x175d0e(0x1c6))['to'](this,_0x175d0e(0x19f)),_0x5258ac['on'](_0x175d0e(0x1bf),()=>{const _0xbd6e82=_0x175d0e,_0x357ae2=!this[_0xbd6e82(0x19f)];this[_0xbd6e82(0x1c7)](_0xbd6e82(0x1aa),{'id':this['id'],'pinned':_0x357ae2});}),_0x5258ac;}[_0x3c64b2(0x1a6)](){const _0xcd295c=_0x3c64b2,_0x3b2d8c=_0x170406(this[_0xcd295c(0x190)],_0x1c3157),_0xdfa7c0=_0x3b2d8c[_0xcd295c(0x1e6)][_0xcd295c(0x1a2)];_0x3b2d8c[_0xcd295c(0x1e4)][_0xcd295c(0x199)]({'label':_0x22d8b2(this[_0xcd295c(0x190)],_0xcd295c(0x18e)),'icon':_0x3754a9}),_0x3b2d8c[_0xcd295c(0x1c9)]='sw';const _0x423272=new _0x4f1c9b(this[_0xcd295c(0x190)]);_0x423272[_0xcd295c(0x1b2)]=_0x22d8b2(this[_0xcd295c(0x190)],_0xcd295c(0x1d9)),_0x423272[_0xcd295c(0x1a4)]=!0x0,_0x423272['on'](_0xcd295c(0x1bf),()=>{const _0x35696e=_0xcd295c;this[_0x35696e(0x1ee)]=!0x0;});const _0x1cfd72=new _0x4f1c9b(this[_0xcd295c(0x190)]);_0x1cfd72[_0xcd295c(0x1b2)]=_0x22d8b2(this[_0xcd295c(0x190)],_0xcd295c(0x1a9)),_0x1cfd72[_0xcd295c(0x1a4)]=!0x0,_0x1cfd72['on'](_0xcd295c(0x1bf),()=>{const _0x266a1f=_0xcd295c;this[_0x266a1f(0x1db)](_0x22d8b2(this[_0x266a1f(0x190)],_0x266a1f(0x1d8)),this[_0x266a1f(0x1d6)])[_0x266a1f(0x1cd)](()=>{const _0x5ae0c3=_0x266a1f;this[_0x5ae0c3(0x1c7)](_0x5ae0c3(0x196),{'id':this['id']});});});const _0x2d32c4=new _0x5b5d7a(this[_0xcd295c(0x190)]),_0x5010ae=new _0x3fdc54(this[_0xcd295c(0x190)]);_0x5010ae[_0xcd295c(0x1a2)][_0xcd295c(0x1cf)](_0x423272);const _0x202315=new _0x3fdc54(this[_0xcd295c(0x190)]);return _0x202315[_0xcd295c(0x1a2)][_0xcd295c(0x1cf)](_0x1cfd72),_0x2d32c4[_0xcd295c(0x1be)][_0xcd295c(0x1b3)]([_0x5010ae,_0x202315]),_0xdfa7c0[_0xcd295c(0x1cf)](_0x2d32c4),_0x3b2d8c;}[_0x3c64b2(0x1df)](_0x286a15,_0x54d85c){const _0x460d57=_0x3c64b2,_0x120ed4=new _0x14639a(_0x286a15),_0xbf98da=_0x120ed4[_0x460d57(0x19e)];return _0x120ed4[_0x460d57(0x1c2)]=_0x54d85c,_0x120ed4[_0x460d57(0x1ea)]({'on':{'keydown':_0xbf98da['to'](_0x282776=>{const _0x6ed49e=_0x460d57;_0x6ed49e(0x1dd)==_0x282776[_0x6ed49e(0x18d)]&&this[_0x6ed49e(0x1c8)](_0x120ed4);})}}),_0x120ed4;}[_0x3c64b2(0x1d5)](_0x465f0b,_0x5e7673){const _0x5bf111=_0x3c64b2,_0x4fb3de=new _0x4f1c9b(_0x465f0b);return _0x4fb3de[_0x5bf111(0x199)]({'icon':_0x53cc16,'withText':!0x1,'tooltip':_0x22d8b2(_0x465f0b,_0x5bf111(0x194))}),_0x4fb3de[_0x5bf111(0x1ea)]({'attributes':{'class':[_0x5bf111(0x1ed)]}}),_0x4fb3de['on'](_0x5bf111(0x1bf),()=>{const _0x252e8d=_0x5bf111;this[_0x252e8d(0x1c8)](_0x5e7673);}),_0x4fb3de;}[_0x3c64b2(0x1c8)](_0x421772){const _0x196799=_0x3c64b2,_0x498959=_0x421772[_0x196799(0x1d6)][_0x196799(0x1c2)]||'';this[_0x196799(0x193)][_0x196799(0x198)]=_0x498959,this[_0x196799(0x1ee)]=!0x1,this[_0x196799(0x1c7)](_0x196799(0x19c),{'id':this['id'],'title':_0x498959});}[_0x3c64b2(0x1b5)](_0x10340a,_0x365ae6){const _0x1689e8=_0x3c64b2,_0x49c08d=new _0x4f1c9b(_0x10340a);return _0x49c08d[_0x1689e8(0x199)]({'icon':_0x5b1b45,'withText':!0x1,'tooltip':_0x22d8b2(_0x10340a,_0x1689e8(0x1b9))}),_0x49c08d[_0x1689e8(0x1ea)]({'attributes':{'class':[_0x1689e8(0x1bd)]}}),_0x49c08d['on'](_0x1689e8(0x1bf),()=>{const _0x298cc1=_0x1689e8;this[_0x298cc1(0x1ee)]=!0x1,_0x365ae6[_0x298cc1(0x1c2)]=this[_0x298cc1(0x193)][_0x298cc1(0x198)]||'',this[_0x298cc1(0x1c7)](_0x298cc1(0x1d0));}),_0x49c08d;}[_0x3c64b2(0x1a0)](){const _0x241dc5=_0x3c64b2,_0x186248=new _0x15f9c8(_0x241dc5(0x1e5));return _0x186248[_0x241dc5(0x1ae)]=!0x0,_0x186248;}[_0x3c64b2(0x1b6)](_0x18370d){const _0x28d1d2=_0x3c64b2;return this[_0x28d1d2(0x193)]&&_0x28d1d2(0x1ca)==typeof this[_0x28d1d2(0x193)][_0x28d1d2(0x198)]&&this[_0x28d1d2(0x193)][_0x28d1d2(0x198)][_0x28d1d2(0x1d3)](_0x18370d)?{'title':!0x0}:null;}[_0x3c64b2(0x1d7)](_0x102980){const _0x1782dd=_0x3c64b2;this[_0x1782dd(0x193)][_0x1782dd(0x1d7)](_0x102980);}}function _0x3f62(){const _0x28eeed=['span','showConfirm','ck-ai-chat-history__item-main-content','Enter','LOADING_LABELS','_createEditInputView','ck-ai-chat-history__item--edit','click','ck-ai-chat-history__item--active','div','buttonView','tiny','panelView','AI_CHAT_HISTORY_LOADING_PINNING','ck-ai-chat-history__item-check','75123cWTjyO','extendTemplate','ck-ai-chat-history__item-title','ck-ai-chat-history__item-check-container','ck-confirm-view-submit','isEdit','createCollection','key','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','AI_CHAT_HISTORY_PIN_BUTTON','locale','ck-ai-chat-history__item','selectConversation','_titleView','AI_CHAT_HISTORY_ACCEPT','18jkoNrQ','removeConversation','ck-ai-chat-history__item-content','text','set','1469520IrgutM','15889690RkVKrL','editConversationTitle','setTemplate','bindTemplate','pinned','_createSpinnerView','ck-hidden','children','AI_CHAT_HISTORY_LOADING_RENAMING','withText','focus','_createMenuDropdownView','84828yoiRmT','176148psoxAQ','AI_CHAT_HISTORY_REMOVE','setConversationPinned','ck-ai-chat-history__item-date','_createCheckView','change:isEdit','isVisible','updateLoadingState','9gsocph','clear','label','addMany','47359950xNbDXI','_createCancelEditButtonView','isMatching','5009532YuVcWj','AI_CHAT_HISTORY_LOADING_REMOVING','AI_CHAT_HISTORY_CANCEL','listitem','loadingState','bind','ck-confirm-view-cancel','items','execute','actions','ck-ai-loader','value','8hFXVhg','AI_CHAT_HISTORY_LOADING_UNPINNING','ck-ai-loader__text','isOn','fire','_commitEditInputValue','panelPosition','string','ck-ai-chat-history__item-actions','ck-ai-chat-history__item-row','then','485SgMcuG','add','edit:cancel','mainContent','updateTitle','match','_createPinButtonView','_createAcceptEditButtonView','element','highlightText','AI_CHAT_HISTORY_REMOVE_CONFIRM','AI_CHAT_HISTORY_EDIT_NAME'];_0x3f62=function(){return _0x28eeed;};return _0x3f62();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x52d1(_0x4a144e,_0x5b3fc8){const _0x5f2d0e=_0x5f2d();return _0x52d1=function(_0x52d133,_0x5cdc51){_0x52d133=_0x52d133-0xe9;let _0x2d172b=_0x5f2d0e[_0x52d133];return _0x2d172b;},_0x52d1(_0x4a144e,_0x5b3fc8);}function _0x5f2d(){const _0x4950f2=['ck-ai-chat-history__section-title','4592536IoEKDI','removeItem','addMany','6979128SFGCwT','find','items','45HXlsXv','div','_itemsListView','ck-hidden','highlightText','5261395immvMj','10405801BJbxEE','set','2350QebQit','1388258UMFUIw','title','bindTemplate','ck-ai-chat-history__section','remove','filter','length','354QFvQFS','isVisible','setTemplate','indexOf','splice','isMatching','itemsViews','getItem','6651380vbWSmk'];_0x5f2d=function(){return _0x4950f2;};return _0x5f2d();}const _0x5c795e=_0x52d1;(function(_0x9e3c93,_0x5e1491){const _0x3c6748=_0x52d1,_0x28aee2=_0x9e3c93();while(!![]){try{const _0x3bcb35=-parseInt(_0x3c6748(0x107))/0x1+-parseInt(_0x3c6748(0x106))/0x2*(parseInt(_0x3c6748(0xee))/0x3)+parseInt(_0x3c6748(0xf6))/0x4+parseInt(_0x3c6748(0x103))/0x5+parseInt(_0x3c6748(0xfb))/0x6+parseInt(_0x3c6748(0x104))/0x7+-parseInt(_0x3c6748(0xf8))/0x8*(parseInt(_0x3c6748(0xfe))/0x9);if(_0x3bcb35===_0x5e1491)break;else _0x28aee2['push'](_0x28aee2['shift']());}catch(_0x43fc5e){_0x28aee2['push'](_0x28aee2['shift']());}}}(_0x5f2d,0xec3bc));import{ListItemView as _0x13cbd6,View as _0x5e26b5,ListView as _0x71c46f}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x13cbd6{[_0x5c795e(0x108)];[_0x5c795e(0xf4)];[_0x5c795e(0x100)];constructor(_0x1fcd21,{title:_0x54fc15,items:_0x5cfdf0}){const _0x616aa3=_0x5c795e;super(_0x1fcd21);const _0x4e1d56=this[_0x616aa3(0xe9)];this[_0x616aa3(0x105)](_0x616aa3(0xef),!0x0),this[_0x616aa3(0x108)]=_0x54fc15,this[_0x616aa3(0xf4)]=_0x5cfdf0;const _0x3c237a=new _0x5e26b5(_0x1fcd21);_0x3c237a[_0x616aa3(0xf0)]({'tag':_0x616aa3(0xff),'attributes':{'class':[_0x616aa3(0xf7)]},'children':[this[_0x616aa3(0x108)]]}),this[_0x616aa3(0x100)]=new _0x71c46f(_0x1fcd21),this[_0x616aa3(0x100)][_0x616aa3(0xfd)][_0x616aa3(0xfa)](this[_0x616aa3(0xf4)]),this[_0x616aa3(0xf0)]({'tag':'li','attributes':{'class':[_0x616aa3(0xea),_0x4e1d56['if'](_0x616aa3(0xef),_0x616aa3(0x101),_0x5f1bdf=>!_0x5f1bdf)]},'children':[_0x3c237a,this[_0x616aa3(0x100)]]});}[_0x5c795e(0xec)](_0x1df396){const _0x324a86=_0x5c795e,_0x17ffcc=this[_0x324a86(0xf4)][_0x324a86(0xed)];let _0x2cb299=0x0;for(const _0x111bea of this[_0x324a86(0xf4)]){if(_0x1df396){const _0x3e9f05=_0x111bea[_0x324a86(0xf3)](_0x1df396);_0x111bea[_0x324a86(0xef)]=!!_0x3e9f05,_0x111bea[_0x324a86(0x102)](_0x1df396);}else _0x111bea[_0x324a86(0xef)]=!0x0,_0x111bea[_0x324a86(0x102)](null);_0x111bea[_0x324a86(0xef)]&&_0x2cb299++;}return this[_0x324a86(0xef)]=_0x2cb299>0x0,{'resultsCount':_0x2cb299,'totalItemsCount':_0x17ffcc};}[_0x5c795e(0xf5)](_0x127512){const _0x4f8489=_0x5c795e;return this[_0x4f8489(0xf4)][_0x4f8489(0xfc)](_0x185868=>_0x185868['id']===_0x127512);}[_0x5c795e(0xf9)](_0xf3cb33){const _0x587eca=_0x5c795e,_0x5288a2=this[_0x587eca(0xf4)][_0x587eca(0xf1)](_0xf3cb33);-0x1!==_0x5288a2&&(this[_0x587eca(0xf4)][_0x587eca(0xf2)](_0x5288a2,0x1),this[_0x587eca(0x100)][_0x587eca(0xfd)][_0x587eca(0xeb)](_0xf3cb33));}}
23
+ function _0x2ce2(_0x5ba53a,_0x14176d){const _0x10b739=_0x10b7();return _0x2ce2=function(_0x2ce291,_0x1d14ca){_0x2ce291=_0x2ce291-0x115;let _0x2382d3=_0x10b739[_0x2ce291];return _0x2382d3;},_0x2ce2(_0x5ba53a,_0x14176d);}const _0x45c845=_0x2ce2;(function(_0x559f20,_0x3bb12f){const _0xc6c2d2=_0x2ce2,_0x5f0faf=_0x559f20();while(!![]){try{const _0x3dd514=-parseInt(_0xc6c2d2(0x133))/0x1+parseInt(_0xc6c2d2(0x128))/0x2+-parseInt(_0xc6c2d2(0x121))/0x3+-parseInt(_0xc6c2d2(0x11f))/0x4+-parseInt(_0xc6c2d2(0x115))/0x5*(-parseInt(_0xc6c2d2(0x12f))/0x6)+-parseInt(_0xc6c2d2(0x126))/0x7+parseInt(_0xc6c2d2(0x11a))/0x8*(parseInt(_0xc6c2d2(0x11b))/0x9);if(_0x3dd514===_0x3bb12f)break;else _0x5f0faf['push'](_0x5f0faf['shift']());}catch(_0x2151c4){_0x5f0faf['push'](_0x5f0faf['shift']());}}}(_0x10b7,0xd9387));import{ListItemView as _0x326ab9,View as _0x3e59a4,ListView as _0x3646e3}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x326ab9{[_0x45c845(0x118)];[_0x45c845(0x123)];[_0x45c845(0x134)];constructor(_0x3d613f,{title:_0x1d6727,items:_0x4fe270}){const _0x129deb=_0x45c845;super(_0x3d613f);const _0x1784be=this[_0x129deb(0x127)];this[_0x129deb(0x11e)](_0x129deb(0x116),!0x0),this[_0x129deb(0x118)]=_0x1d6727,this[_0x129deb(0x123)]=_0x4fe270;const _0x113db1=new _0x3e59a4(_0x3d613f);_0x113db1[_0x129deb(0x119)]({'tag':_0x129deb(0x125),'attributes':{'class':[_0x129deb(0x11d)]},'children':[this[_0x129deb(0x118)]]}),this[_0x129deb(0x134)]=new _0x3646e3(_0x3d613f),this[_0x129deb(0x134)][_0x129deb(0x124)][_0x129deb(0x130)](this[_0x129deb(0x123)]),this[_0x129deb(0x119)]({'tag':'li','attributes':{'class':[_0x129deb(0x131),_0x1784be['if'](_0x129deb(0x116),_0x129deb(0x117),_0x132af6=>!_0x132af6)]},'children':[_0x113db1,this[_0x129deb(0x134)]]});}[_0x45c845(0x122)](_0x2f400a){const _0x42a5b2=_0x45c845,_0x5a8bfc=this[_0x42a5b2(0x123)][_0x42a5b2(0x12d)];let _0x508504=0x0;for(const _0x207e55 of this[_0x42a5b2(0x123)]){if(_0x2f400a){const _0x2263a5=_0x207e55[_0x42a5b2(0x12c)](_0x2f400a);_0x207e55[_0x42a5b2(0x116)]=!!_0x2263a5,_0x207e55[_0x42a5b2(0x12b)](_0x2f400a);}else _0x207e55[_0x42a5b2(0x116)]=!0x0,_0x207e55[_0x42a5b2(0x12b)](null);_0x207e55[_0x42a5b2(0x116)]&&_0x508504++;}return this[_0x42a5b2(0x116)]=_0x508504>0x0,{'resultsCount':_0x508504,'totalItemsCount':_0x5a8bfc};}[_0x45c845(0x120)](_0x183b89){const _0x2bac20=_0x45c845;return this[_0x2bac20(0x123)][_0x2bac20(0x132)](_0x1af0b1=>_0x1af0b1['id']===_0x183b89);}[_0x45c845(0x129)](_0x1fff21){const _0x11c40d=_0x45c845,_0x30af04=this[_0x11c40d(0x123)][_0x11c40d(0x11c)](_0x1fff21);-0x1!==_0x30af04&&(this[_0x11c40d(0x123)][_0x11c40d(0x12a)](_0x30af04,0x1),this[_0x11c40d(0x134)][_0x11c40d(0x124)][_0x11c40d(0x12e)](_0x1fff21));}}function _0x10b7(){const _0x7760e9=['splice','highlightText','isMatching','length','remove','312ZkQiBF','addMany','ck-ai-chat-history__section','find','637464PZrxpd','_itemsListView','7335RQbqPU','isVisible','ck-hidden','title','setTemplate','4312iEfXdl','32355NJbaFN','indexOf','ck-ai-chat-history__section-title','set','1560964aXUSbz','getItem','2737179QFhbXt','filter','itemsViews','items','div','1398950avyMcZ','bindTemplate','2031388MRFedN','removeItem'];_0x10b7=function(){return _0x7760e9;};return _0x10b7();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8d2b5b=_0x5829;function _0x5829(_0x42d15e,_0x34da70){const _0x2f6bf5=_0x2f6b();return _0x5829=function(_0x582941,_0x3e879c){_0x582941=_0x582941-0x139;let _0x4c746d=_0x2f6bf5[_0x582941];return _0x4c746d;},_0x5829(_0x42d15e,_0x34da70);}(function(_0x39c72c,_0x347444){const _0xa826f0=_0x5829,_0x37bdb4=_0x39c72c();while(!![]){try{const _0xad20c8=parseInt(_0xa826f0(0x147))/0x1*(parseInt(_0xa826f0(0x14a))/0x2)+-parseInt(_0xa826f0(0x141))/0x3*(-parseInt(_0xa826f0(0x139))/0x4)+parseInt(_0xa826f0(0x146))/0x5*(-parseInt(_0xa826f0(0x13e))/0x6)+-parseInt(_0xa826f0(0x13b))/0x7*(parseInt(_0xa826f0(0x14b))/0x8)+-parseInt(_0xa826f0(0x149))/0x9*(parseInt(_0xa826f0(0x13a))/0xa)+-parseInt(_0xa826f0(0x13d))/0xb*(parseInt(_0xa826f0(0x145))/0xc)+parseInt(_0xa826f0(0x144))/0xd;if(_0xad20c8===_0x347444)break;else _0x37bdb4['push'](_0x37bdb4['shift']());}catch(_0x5abfde){_0x37bdb4['push'](_0x37bdb4['shift']());}}}(_0x2f6b,0x18bae));function _0x2f6b(){const _0x5922be=['extendTemplate','12699xXQHTO','4UFxHvE','120WMhIvO','188DOvZUd','1130oDBLlW','16562LUThtX','items','11XCtmLZ','552AcsBtS','ck-ai-chat-history__sections','filter','8328sVpuAh','addMany','sections','3323866WHRfhV','620532gNLgYX','3310budLWl','11344FFJSlS'];_0x2f6b=function(){return _0x5922be;};return _0x2f6b();}import{ListView as _0x112002}from'ckeditor5/src/ui.js';export class AIChatHistorySectionListView extends _0x112002{[_0x8d2b5b(0x143)];constructor(_0x343e54,_0x3d030a){const _0x4880ed=_0x8d2b5b;super(_0x343e54),this[_0x4880ed(0x143)]=_0x3d030a,this[_0x4880ed(0x13c)][_0x4880ed(0x142)](this[_0x4880ed(0x143)]),this[_0x4880ed(0x148)]({'attributes':{'class':[_0x4880ed(0x13f)]}});}[_0x8d2b5b(0x140)](_0x79db08){const _0x4dd818=_0x8d2b5b;let _0x5d125f=0x0,_0x14e6b8=0x0;for(const _0x2900a2 of this[_0x4dd818(0x143)]){const {resultsCount:_0x5d2ce5,totalItemsCount:_0x7fe412}=_0x2900a2[_0x4dd818(0x140)](_0x79db08);_0x5d125f+=_0x5d2ce5,_0x14e6b8+=_0x7fe412;}return{'resultsCount':_0x5d125f,'totalItemsCount':_0x14e6b8};}}
23
+ const _0x239acc=_0x2e24;(function(_0x1b4256,_0x1e4fdb){const _0x523527=_0x2e24,_0x162763=_0x1b4256();while(!![]){try{const _0x4134e9=parseInt(_0x523527(0x1dd))/0x1+-parseInt(_0x523527(0x1e4))/0x2*(parseInt(_0x523527(0x1e2))/0x3)+-parseInt(_0x523527(0x1e9))/0x4*(parseInt(_0x523527(0x1ec))/0x5)+parseInt(_0x523527(0x1e3))/0x6*(-parseInt(_0x523527(0x1df))/0x7)+parseInt(_0x523527(0x1ee))/0x8*(parseInt(_0x523527(0x1e0))/0x9)+-parseInt(_0x523527(0x1e5))/0xa*(parseInt(_0x523527(0x1e6))/0xb)+parseInt(_0x523527(0x1de))/0xc;if(_0x4134e9===_0x1e4fdb)break;else _0x162763['push'](_0x162763['shift']());}catch(_0x4fd6c5){_0x162763['push'](_0x162763['shift']());}}}(_0x1ff3,0xe289a));function _0x2e24(_0xb18e4c,_0x51233d){const _0x1ff356=_0x1ff3();return _0x2e24=function(_0x2e24ba,_0x22c8b6){_0x2e24ba=_0x2e24ba-0x1dd;let _0x1aaa3f=_0x1ff356[_0x2e24ba];return _0x1aaa3f;},_0x2e24(_0xb18e4c,_0x51233d);}import{ListView as _0x5aa95d}from'ckeditor5/src/ui.js';function _0x1ff3(){const _0x4f5e75=['sections','98526xgHPxu','42TukUAj','10jTUbvU','30MHKBAo','6224163IKkxgE','filter','extendTemplate','24gmmxTH','addMany','ck-ai-chat-history__sections','972955haOowW','items','8OhZgih','1307124FYbpUr','32127264dOKOvt','587342DCjDWq','5040891zaQPYB'];_0x1ff3=function(){return _0x4f5e75;};return _0x1ff3();}export class AIChatHistorySectionListView extends _0x5aa95d{[_0x239acc(0x1e1)];constructor(_0x1641e4,_0x169409){const _0x36ecce=_0x239acc;super(_0x1641e4),this[_0x36ecce(0x1e1)]=_0x169409,this[_0x36ecce(0x1ed)][_0x36ecce(0x1ea)](this[_0x36ecce(0x1e1)]),this[_0x36ecce(0x1e8)]({'attributes':{'class':[_0x36ecce(0x1eb)]}});}[_0x239acc(0x1e7)](_0x4d7dd6){const _0x246c14=_0x239acc;let _0xbb5e7e=0x0,_0x19ee87=0x0;for(const _0x141689 of this[_0x246c14(0x1e1)]){const {resultsCount:_0x34f908,totalItemsCount:_0xe0d17d}=_0x141689[_0x246c14(0x1e7)](_0x4d7dd6);_0xbb5e7e+=_0x34f908,_0x19ee87+=_0xe0d17d;}return{'resultsCount':_0xbb5e7e,'totalItemsCount':_0x19ee87};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x528728=_0x4801;(function(_0x1f0c16,_0x14b2c0){const _0x3c694b=_0x4801,_0x3be2c0=_0x1f0c16();while(!![]){try{const _0x4e5bd0=-parseInt(_0x3c694b(0xa5))/0x1*(parseInt(_0x3c694b(0xd7))/0x2)+-parseInt(_0x3c694b(0x89))/0x3*(-parseInt(_0x3c694b(0xab))/0x4)+-parseInt(_0x3c694b(0xa7))/0x5*(-parseInt(_0x3c694b(0x98))/0x6)+parseInt(_0x3c694b(0x96))/0x7*(-parseInt(_0x3c694b(0x91))/0x8)+parseInt(_0x3c694b(0xc0))/0x9*(parseInt(_0x3c694b(0x87))/0xa)+-parseInt(_0x3c694b(0xac))/0xb+parseInt(_0x3c694b(0xc5))/0xc;if(_0x4e5bd0===_0x14b2c0)break;else _0x3be2c0['push'](_0x3be2c0['shift']());}catch(_0x1ff062){_0x3be2c0['push'](_0x3be2c0['shift']());}}}(_0x5894,0xec98b));import{View as _0x516f09,SearchTextView as _0x57c897,FormHeaderView as _0x48fbc3,ButtonView as _0x3d78d6}from'ckeditor5/src/ui.js';import{IconAIHistory as _0x106de3,IconCancel as _0x4b2d3a,IconPlus as _0x2621fd}from'ckeditor5/src/icons.js';import{AIChatHistorySectionListView as _0x2fcdb5}from'./aichathistorysectionlistview.js';function _0x5894(){const _0x1c1789=['execute','errorMessage','AI_CHAT_HISTORY_SEARCH_LABEL','updateHistoryItemsWithCategories','change:isLoading','getItem','AI_CHAT_LABEL_NEW_CHAT','updateItemTitle','ck-ai-header\x20ck-ai-header_history','remove','updateLoadingState','ck-ai-chat-history__empty','searchView','itemsViews','2848617hKTUsc','ck-ai-chat-history__content','isLoading','isVisible','AI_CHAT_HISTORY_HEADING','26417700ooJXwk','_createSearchView','ck-ai-chat-history__empty-message','_createListItemViews','add','removeHistoryItem','extendTemplate','locale','splice','sectionsView','ck-ai-notification','addMany','search','AI_CHAT_HISTORY_EMPTY_MESSAGE','_createErrorView','_refreshSearch','bind','updateTitle','2284924mDQjKS','skeletonView','fire','ck-reset_all','value','ck-ai-chat-history','hasItems','ck-rounded-corners','indexOf','element','ltr','removeItem','render','updateItemLoadingState','ck-hidden','50oMHeNY','length','6fTyXIN','fieldView','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','children','_createSkeletonView','ck-ai-notification_error','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','change:hasItems','3269512fJmkaS','sections','bindTemplate','emptyView','ck-ai-notification_error__dismiss-button','28UtDqRK','delegate','78VJNSvK','resizeButton','mainErrorView','queryView','aiHistory','set','clear','title','isEmptyViewVisible','push','items','isMainErrorViewVisible','isMaximized','1YLIvDY','_createEmptyStateView','121575PxQpRe','isSearchViewVisible','some','ck-ai-chat__start-conversation','325944TyODLW','5684690EwBBMm','setTemplate','openChat','_updateViewVisibility','change:errorMessage','div'];_0x5894=function(){return _0x1c1789;};return _0x5894();}import{AIChatHistoryListView as _0x2d731f}from'./aichathistorylistview.js';import{AIChatHistoryListItemView as _0x83c2fb}from'./aichathistorylistitemview.js';import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0x1004e8}from'../aichathistoryui.js';import{AISkeletonView as _0x4dc3c9,SKELETON_DEFINITIONS as _0x1c4b5c}from'../../aicore/ui/aiskeleton.js';import{createResizeButton as _0x3ca3f6}from'../../aicore/utils/createresizebutton.js';function _0x4801(_0x28eca0,_0x20408c){const _0x589418=_0x5894();return _0x4801=function(_0x480173,_0x3e3daa){_0x480173=_0x480173-0x80;let _0x42239d=_0x589418[_0x480173];return _0x42239d;},_0x4801(_0x28eca0,_0x20408c);}import{getTranslation as _0x6173b4}from'../../aicore/utils/common-translations.js';export class AIChatHistoryView extends _0x516f09{[_0x528728(0xbe)];[_0x528728(0x9a)];[_0x528728(0xd8)];[_0x528728(0x94)];[_0x528728(0xce)];[_0x528728(0x99)];constructor(_0x18bc83,_0x363ff4){const _0x960a74=_0x528728;super(_0x18bc83),this[_0x960a74(0x9d)](_0x960a74(0xdd),!0x1),this[_0x960a74(0x9d)](_0x960a74(0xc2),!0x0),this[_0x960a74(0x9d)](_0x960a74(0xb3),''),this[_0x960a74(0x9d)](_0x960a74(0xa4),!0x1),this[_0x960a74(0x9d)](_0x960a74(0xa8),!0x1),this[_0x960a74(0x9d)](_0x960a74(0xa0),!0x1),this[_0x960a74(0x9d)](_0x960a74(0xa3),!0x1);const _0x79c4a9=new _0x48fbc3(_0x18bc83,{'label':_0x6173b4(_0x18bc83,_0x960a74(0xc4)),'icon':_0x106de3,'class':_0x960a74(0xba)});_0x363ff4&&(this[_0x960a74(0x99)]=_0x3ca3f6(_0x18bc83,this),_0x79c4a9[_0x960a74(0x8c)][_0x960a74(0xc9)](this[_0x960a74(0x99)])),this[_0x960a74(0xce)]=new _0x2fcdb5(_0x18bc83,[]),this[_0x960a74(0xce)][_0x960a74(0x97)](..._0x1004e8)['to'](this),this[_0x960a74(0x9a)]=this[_0x960a74(0xd3)](),this[_0x960a74(0xd8)]=this[_0x960a74(0x8d)](),this[_0x960a74(0x94)]=this[_0x960a74(0xa6)](),this[_0x960a74(0xbe)]=this[_0x960a74(0xc6)](),this[_0x960a74(0x9a)][_0x960a74(0xcb)]({'attributes':{'class':[this[_0x960a74(0x93)]['if'](_0x960a74(0xa3),_0x960a74(0x86),_0x4a6aba=>!_0x4a6aba)]}}),this['on'](_0x960a74(0xb6),()=>this[_0x960a74(0xaf)]()),this['on'](_0x960a74(0x90),()=>this[_0x960a74(0xaf)]()),this['on'](_0x960a74(0xb0),()=>this[_0x960a74(0xaf)]()),this[_0x960a74(0xad)]({'tag':_0x960a74(0xb1),'attributes':{'class':['ck',_0x960a74(0xda),_0x960a74(0xdc),_0x960a74(0xde)],'dir':_0x960a74(0x82)},'children':[_0x79c4a9,{'tag':_0x960a74(0xb1),'attributes':{'class':[_0x960a74(0xc1)]},'children':[this[_0x960a74(0xd8)],this[_0x960a74(0x9a)],this[_0x960a74(0x94)],this[_0x960a74(0xbe)]]}]});}[_0x528728(0xaf)](){const _0x5bee97=_0x528728;this[_0x5bee97(0xa8)]=!this[_0x5bee97(0xc2)]&&this[_0x5bee97(0xdd)],this[_0x5bee97(0xa0)]=!this[_0x5bee97(0xc2)]&&!this[_0x5bee97(0xdd)]&&!this[_0x5bee97(0xb3)],this[_0x5bee97(0xa3)]=!this[_0x5bee97(0xa8)]&&!!this[_0x5bee97(0xb3)];}[_0x528728(0xc6)](){const _0xc9fe4b=_0x528728,_0x1a8224=new _0x57c897(this[_0xc9fe4b(0xcc)],{'filteredView':this[_0xc9fe4b(0xce)],'queryView':{'label':_0x6173b4(this[_0xc9fe4b(0xcc)],_0xc9fe4b(0xb4))},'infoView':{'text':{'notFound':{'primary':_0x5c9dab=>_0x6173b4(this[_0xc9fe4b(0xcc)],_0xc9fe4b(0x8f),_0x5c9dab),'secondary':_0x6173b4(this[_0xc9fe4b(0xcc)],_0xc9fe4b(0x8b))}}}}),_0x556060=this[_0xc9fe4b(0xd3)]();return _0x556060[_0xc9fe4b(0xcb)]({'attributes':{'class':[this[_0xc9fe4b(0x93)]['if'](_0xc9fe4b(0xb3),_0xc9fe4b(0x86),_0x1ddfef=>!_0x1ddfef)]}}),_0x1a8224['on'](_0xc9fe4b(0x84),()=>{const _0x14549d=_0xc9fe4b;_0x1a8224[_0x14549d(0x8c)][_0x14549d(0xc9)](_0x556060,0x1);}),_0x1a8224[_0xc9fe4b(0xcb)]({'attributes':{'class':[this[_0xc9fe4b(0x93)]['if'](_0xc9fe4b(0xa8),_0xc9fe4b(0x86),_0x32c0e2=>!_0x32c0e2)]}}),_0x1a8224;}[_0x528728(0x8d)](){const _0x52c548=_0x528728,_0x43a952=new _0x4dc3c9(this[_0x52c548(0xcc)],_0x1c4b5c[_0x52c548(0x9c)]);return _0x43a952[_0x52c548(0xcb)]({'attributes':{'class':[this[_0x52c548(0x93)]['if'](_0x52c548(0xc2),_0x52c548(0x86),_0x512277=>!_0x512277)]}}),_0x43a952;}[_0x528728(0xd3)](){const _0x318d57=_0x528728,_0x26ed3b=new _0x516f09(this[_0x318d57(0xcc)]),_0x4308c9=new _0x3d78d6(this[_0x318d57(0xcc)]);_0x4308c9[_0x318d57(0x9d)]({'withText':!0x1,'icon':_0x4b2d3a,'class':_0x318d57(0x95)}),_0x4308c9[_0x318d57(0xd5)](_0x318d57(0xc3))['to'](this,_0x318d57(0xdd),_0x29b941=>!!_0x29b941),_0x4308c9['on'](_0x318d57(0xb2),()=>{const _0x32225b=_0x318d57;this[_0x32225b(0xb3)]='';});const _0x5b7238=this[_0x318d57(0x93)];return _0x26ed3b[_0x318d57(0xad)]({'tag':_0x318d57(0xb1),'attributes':{'class':['ck',_0x318d57(0xcf),_0x318d57(0x8e)]},'children':[{'tag':'p','children':[{'text':_0x5b7238['to'](_0x318d57(0xb3))}]},_0x4308c9]}),_0x26ed3b;}[_0x528728(0xa6)](){const _0x35dc4e=_0x528728,_0x405ebf=new _0x3d78d6(this[_0x35dc4e(0xcc)]);_0x405ebf[_0x35dc4e(0x9d)]({'label':_0x6173b4(this[_0x35dc4e(0xcc)],_0x35dc4e(0xb8)),'withText':!0x0,'icon':_0x2621fd,'class':_0x35dc4e(0xaa)}),_0x405ebf['on'](_0x35dc4e(0xb2),()=>{const _0x32b96f=_0x35dc4e;this[_0x32b96f(0xd9)](_0x32b96f(0xae));});const _0x4ff364=new _0x516f09(this[_0x35dc4e(0xcc)]);return _0x4ff364[_0x35dc4e(0xad)]({'tag':_0x35dc4e(0xb1),'attributes':{'class':[_0x35dc4e(0xbd),this[_0x35dc4e(0x93)]['if'](_0x35dc4e(0xa0),_0x35dc4e(0x86),_0x3a871d=>!_0x3a871d)]},'children':[{'tag':'p','attributes':{'class':[_0x35dc4e(0xc7)]},'children':[_0x6173b4(this[_0x35dc4e(0xcc)],_0x35dc4e(0xd2))]},_0x405ebf]}),_0x4ff364;}[_0x528728(0xc8)](_0x40b71c,_0x39e592){const _0x4df3c8=_0x528728,_0x15750c=[];for(const _0x3bf5a0 of _0x40b71c){const _0x1d9410=new _0x83c2fb(_0x39e592,_0x3bf5a0);_0x1d9410[_0x4df3c8(0x97)](..._0x1004e8)['to'](this),_0x15750c[_0x4df3c8(0xa1)](_0x1d9410);}return _0x15750c;}[_0x528728(0xb5)](_0x268cef){const _0xdbafe1=_0x528728,_0x356015=this[_0xdbafe1(0xcc)]||'en',_0x278d79=[];for(const _0x353543 of _0x268cef){const _0x3ae4a7=this[_0xdbafe1(0xc8)](_0x353543[_0xdbafe1(0xa2)],_0x356015);_0x278d79[_0xdbafe1(0xa1)](new _0x2d731f(_0x356015,{'title':_0x353543[_0xdbafe1(0x9f)],'items':_0x3ae4a7}));}this[_0xdbafe1(0xce)][_0xdbafe1(0x92)]=_0x278d79,this[_0xdbafe1(0xce)][_0xdbafe1(0xa2)][_0xdbafe1(0x9e)](),this[_0xdbafe1(0xce)][_0xdbafe1(0xa2)][_0xdbafe1(0xd0)](_0x278d79),this[_0xdbafe1(0xdd)]=_0x268cef[_0xdbafe1(0xa9)](_0x35e74c=>_0x35e74c[_0xdbafe1(0xa2)][_0xdbafe1(0x88)]>0x0),this[_0xdbafe1(0xd4)]();}[_0x528728(0xca)](_0x383860){const _0x44f199=_0x528728;for(const _0x5cc183 of this[_0x44f199(0xce)][_0x44f199(0x92)]){const _0x49c37b=_0x5cc183[_0x44f199(0xb7)](_0x383860);if(_0x49c37b){if(_0x5cc183[_0x44f199(0x83)](_0x49c37b),0x0===_0x5cc183[_0x44f199(0xbf)][_0x44f199(0x88)]){const _0x2f6ad6=this[_0x44f199(0xce)][_0x44f199(0x92)][_0x44f199(0x80)](_0x5cc183);-0x1!==_0x2f6ad6&&(this[_0x44f199(0xce)][_0x44f199(0x92)][_0x44f199(0xcd)](_0x2f6ad6,0x1),this[_0x44f199(0xce)][_0x44f199(0xa2)][_0x44f199(0xbb)](_0x5cc183));}this[_0x44f199(0xdd)]=this[_0x44f199(0xce)][_0x44f199(0x92)][_0x44f199(0x88)]>0x0,this[_0x44f199(0xd4)]();break;}}}[_0x528728(0xb9)](_0x130fbc,_0xbff650){const _0x269b21=_0x528728;for(const _0x5d4c4f of this[_0x269b21(0xce)][_0x269b21(0x92)]){const _0x289014=_0x5d4c4f[_0x269b21(0xb7)](_0x130fbc);if(_0x289014){_0x289014[_0x269b21(0xd6)](_0xbff650);break;}}}[_0x528728(0x85)](_0x4864d6,_0x5b0314,_0x3236f3){const _0x599513=_0x528728;for(const _0xb78d2b of this[_0x599513(0xce)][_0x599513(0x92)]){const _0x3f8582=_0xb78d2b[_0x599513(0xb7)](_0x4864d6);if(_0x3f8582){_0x3f8582[_0x599513(0xbc)](_0x5b0314,_0x3236f3);break;}}}[_0x528728(0xd4)](){const _0x255453=_0x528728;if(this[_0x255453(0xdd)]){const _0x37e25e=this[_0x255453(0xbe)][_0x255453(0x9b)][_0x255453(0x8a)]?.[_0x255453(0x81)]?.[_0x255453(0xdb)]||'';this[_0x255453(0xbe)][_0x255453(0xd1)](_0x37e25e);}}}
23
+ const _0x1afeb2=_0xf453;(function(_0x30b3ae,_0x5415b1){const _0x1a1e81=_0xf453,_0x306015=_0x30b3ae();while(!![]){try{const _0x212c78=-parseInt(_0x1a1e81(0x189))/0x1*(parseInt(_0x1a1e81(0x179))/0x2)+parseInt(_0x1a1e81(0x159))/0x3*(-parseInt(_0x1a1e81(0x15e))/0x4)+parseInt(_0x1a1e81(0x154))/0x5*(parseInt(_0x1a1e81(0x170))/0x6)+parseInt(_0x1a1e81(0x19d))/0x7*(-parseInt(_0x1a1e81(0x197))/0x8)+parseInt(_0x1a1e81(0x16b))/0x9*(parseInt(_0x1a1e81(0x177))/0xa)+-parseInt(_0x1a1e81(0x181))/0xb+parseInt(_0x1a1e81(0x151))/0xc*(parseInt(_0x1a1e81(0x1a4))/0xd);if(_0x212c78===_0x5415b1)break;else _0x306015['push'](_0x306015['shift']());}catch(_0x5d21cf){_0x306015['push'](_0x306015['shift']());}}}(_0xc547,0x1fe34));import{View as _0xe98905,SearchTextView as _0x4a9aa2,FormHeaderView as _0xc73299,ButtonView as _0x45ce3a}from'ckeditor5/src/ui.js';import{IconAIHistory as _0x38623b,IconCancel as _0x5eec41,IconPlus as _0x364955}from'ckeditor5/src/icons.js';function _0xf453(_0x315e86,_0x3dd474){const _0xc547a9=_0xc547();return _0xf453=function(_0xf4530,_0x1093f0){_0xf4530=_0xf4530-0x14f;let _0x22c71b=_0xc547a9[_0xf4530];return _0x22c71b;},_0xf453(_0x315e86,_0x3dd474);}import{AIChatHistorySectionListView as _0x5a0fac}from'./aichathistorysectionlistview.js';import{AIChatHistoryListView as _0x2e2054}from'./aichathistorylistview.js';import{AIChatHistoryListItemView as _0x514225}from'./aichathistorylistitemview.js';function _0xc547(){const _0x35a80b=['sections','38653TBmNsi','updateTitle','items','search','isVisible','change:isLoading','updateLoadingState','extendTemplate','openChat','_createListItemViews','isEmptyViewVisible','resizeButton','_createEmptyStateView','title','3632AzQrim','addMany','AI_CHAT_HISTORY_SEARCH_LABEL','AI_CHAT_HISTORY_EMPTY_MESSAGE','ck-ai-chat-history__empty','render','875ZFgjQZ','some','removeItem','isSearchViewVisible','div','fire','length','52143oTyaJq','locale','ck-ai-chat-history__empty-message','add','fieldView','set','value','ck-ai-chat__start-conversation','change:hasItems','clear','isLoading','push','AI_CHAT_HISTORY_HEADING','1668pcEffs','_createSkeletonView','ck-ai-chat-history','5LtFFke','itemsViews','aiHistory','isMaximized','removeHistoryItem','414lwAOop','_createErrorView','children','_updateViewVisibility','queryView','5832Zrmklh','ck-ai-chat-history__content','ck-ai-header\x20ck-ai-header_history','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','change:errorMessage','_refreshSearch','indexOf','delegate','errorMessage','sectionsView','ck-ai-notification','emptyView','ltr','126ppwslW','execute','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','bind','updateItemLoadingState','315294NRqsEN','splice','ck-reset_all','mainErrorView','_createSearchView','isMainErrorViewVisible','hasItems','54490ugPfuq','getItem','4ncOvBQ','ck-hidden','ck-rounded-corners','bindTemplate','remove','element','updateItemTitle','AI_CHAT_LABEL_NEW_CHAT','2425412GXVFnJ','setTemplate','skeletonView','updateHistoryItemsWithCategories','ck-ai-notification_error','searchView','ck-ai-notification_error__dismiss-button'];_0xc547=function(){return _0x35a80b;};return _0xc547();}import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0x2df4e1}from'../aichathistoryui.js';import{AISkeletonView as _0x2e814b,SKELETON_DEFINITIONS as _0x51fd80}from'../../aicore/ui/aiskeleton.js';import{createResizeButton as _0x2cd12d}from'../../aicore/utils/createresizebutton.js';import{getTranslation as _0x261629}from'../../aicore/utils/common-translations.js';export class AIChatHistoryView extends _0xe98905{[_0x1afeb2(0x186)];[_0x1afeb2(0x173)];[_0x1afeb2(0x183)];[_0x1afeb2(0x169)];[_0x1afeb2(0x167)];[_0x1afeb2(0x194)];constructor(_0x4960c8,_0x32d5eb){const _0x1ad949=_0x1afeb2;super(_0x4960c8),this[_0x1ad949(0x1a9)](_0x1ad949(0x176),!0x1),this[_0x1ad949(0x1a9)](_0x1ad949(0x1ae),!0x0),this[_0x1ad949(0x1a9)](_0x1ad949(0x166),''),this[_0x1ad949(0x1a9)](_0x1ad949(0x157),!0x1),this[_0x1ad949(0x1a9)](_0x1ad949(0x1a0),!0x1),this[_0x1ad949(0x1a9)](_0x1ad949(0x193),!0x1),this[_0x1ad949(0x1a9)](_0x1ad949(0x175),!0x1);const _0x1b6f68=new _0xc73299(_0x4960c8,{'label':_0x261629(_0x4960c8,_0x1ad949(0x150)),'icon':_0x38623b,'class':_0x1ad949(0x160)});_0x32d5eb&&(this[_0x1ad949(0x194)]=_0x2cd12d(_0x4960c8,this),_0x1b6f68[_0x1ad949(0x15b)][_0x1ad949(0x1a7)](this[_0x1ad949(0x194)])),this[_0x1ad949(0x167)]=new _0x5a0fac(_0x4960c8,[]),this[_0x1ad949(0x167)][_0x1ad949(0x165)](..._0x2df4e1)['to'](this),this[_0x1ad949(0x173)]=this[_0x1ad949(0x15a)](),this[_0x1ad949(0x183)]=this[_0x1ad949(0x152)](),this[_0x1ad949(0x169)]=this[_0x1ad949(0x195)](),this[_0x1ad949(0x186)]=this[_0x1ad949(0x174)](),this[_0x1ad949(0x173)][_0x1ad949(0x190)]({'attributes':{'class':[this[_0x1ad949(0x17c)]['if'](_0x1ad949(0x175),_0x1ad949(0x17a),_0x3a4fab=>!_0x3a4fab)]}}),this['on'](_0x1ad949(0x18e),()=>this[_0x1ad949(0x15c)]()),this['on'](_0x1ad949(0x1ac),()=>this[_0x1ad949(0x15c)]()),this['on'](_0x1ad949(0x162),()=>this[_0x1ad949(0x15c)]()),this[_0x1ad949(0x182)]({'tag':_0x1ad949(0x1a1),'attributes':{'class':['ck',_0x1ad949(0x172),_0x1ad949(0x153),_0x1ad949(0x17b)],'dir':_0x1ad949(0x16a)},'children':[_0x1b6f68,{'tag':_0x1ad949(0x1a1),'attributes':{'class':[_0x1ad949(0x15f)]},'children':[this[_0x1ad949(0x183)],this[_0x1ad949(0x173)],this[_0x1ad949(0x169)],this[_0x1ad949(0x186)]]}]});}[_0x1afeb2(0x15c)](){const _0x53795c=_0x1afeb2;this[_0x53795c(0x1a0)]=!this[_0x53795c(0x1ae)]&&this[_0x53795c(0x176)],this[_0x53795c(0x193)]=!this[_0x53795c(0x1ae)]&&!this[_0x53795c(0x176)]&&!this[_0x53795c(0x166)],this[_0x53795c(0x175)]=!this[_0x53795c(0x1a0)]&&!!this[_0x53795c(0x166)];}[_0x1afeb2(0x174)](){const _0x91ba39=_0x1afeb2,_0x37a897=new _0x4a9aa2(this[_0x91ba39(0x1a5)],{'filteredView':this[_0x91ba39(0x167)],'queryView':{'label':_0x261629(this[_0x91ba39(0x1a5)],_0x91ba39(0x199))},'infoView':{'text':{'notFound':{'primary':_0x5c647a=>_0x261629(this[_0x91ba39(0x1a5)],_0x91ba39(0x161),_0x5c647a),'secondary':_0x261629(this[_0x91ba39(0x1a5)],_0x91ba39(0x16d))}}}}),_0x380a0f=this[_0x91ba39(0x15a)]();return _0x380a0f[_0x91ba39(0x190)]({'attributes':{'class':[this[_0x91ba39(0x17c)]['if'](_0x91ba39(0x166),_0x91ba39(0x17a),_0x2864e6=>!_0x2864e6)]}}),_0x37a897['on'](_0x91ba39(0x19c),()=>{const _0x5a20f4=_0x91ba39;_0x37a897[_0x5a20f4(0x15b)][_0x5a20f4(0x1a7)](_0x380a0f,0x1);}),_0x37a897[_0x91ba39(0x190)]({'attributes':{'class':[this[_0x91ba39(0x17c)]['if'](_0x91ba39(0x1a0),_0x91ba39(0x17a),_0x5b4815=>!_0x5b4815)]}}),_0x37a897;}[_0x1afeb2(0x152)](){const _0x1db218=_0x1afeb2,_0x113211=new _0x2e814b(this[_0x1db218(0x1a5)],_0x51fd80[_0x1db218(0x156)]);return _0x113211[_0x1db218(0x190)]({'attributes':{'class':[this[_0x1db218(0x17c)]['if'](_0x1db218(0x1ae),_0x1db218(0x17a),_0x4b9e8d=>!_0x4b9e8d)]}}),_0x113211;}[_0x1afeb2(0x15a)](){const _0x3fec94=_0x1afeb2,_0x52be2d=new _0xe98905(this[_0x3fec94(0x1a5)]),_0x35dcc4=new _0x45ce3a(this[_0x3fec94(0x1a5)]);_0x35dcc4[_0x3fec94(0x1a9)]({'withText':!0x1,'icon':_0x5eec41,'class':_0x3fec94(0x187)}),_0x35dcc4[_0x3fec94(0x16e)](_0x3fec94(0x18d))['to'](this,_0x3fec94(0x176),_0x458f65=>!!_0x458f65),_0x35dcc4['on'](_0x3fec94(0x16c),()=>{const _0x5980f5=_0x3fec94;this[_0x5980f5(0x166)]='';});const _0x73bf50=this[_0x3fec94(0x17c)];return _0x52be2d[_0x3fec94(0x182)]({'tag':_0x3fec94(0x1a1),'attributes':{'class':['ck',_0x3fec94(0x168),_0x3fec94(0x185)]},'children':[{'tag':'p','children':[{'text':_0x73bf50['to'](_0x3fec94(0x166))}]},_0x35dcc4]}),_0x52be2d;}[_0x1afeb2(0x195)](){const _0x2aff06=_0x1afeb2,_0x12792f=new _0x45ce3a(this[_0x2aff06(0x1a5)]);_0x12792f[_0x2aff06(0x1a9)]({'label':_0x261629(this[_0x2aff06(0x1a5)],_0x2aff06(0x180)),'withText':!0x0,'icon':_0x364955,'class':_0x2aff06(0x1ab)}),_0x12792f['on'](_0x2aff06(0x16c),()=>{const _0x5a90e1=_0x2aff06;this[_0x5a90e1(0x1a2)](_0x5a90e1(0x191));});const _0x24ff49=new _0xe98905(this[_0x2aff06(0x1a5)]);return _0x24ff49[_0x2aff06(0x182)]({'tag':_0x2aff06(0x1a1),'attributes':{'class':[_0x2aff06(0x19b),this[_0x2aff06(0x17c)]['if'](_0x2aff06(0x193),_0x2aff06(0x17a),_0x2c612c=>!_0x2c612c)]},'children':[{'tag':'p','attributes':{'class':[_0x2aff06(0x1a6)]},'children':[_0x261629(this[_0x2aff06(0x1a5)],_0x2aff06(0x19a))]},_0x12792f]}),_0x24ff49;}[_0x1afeb2(0x192)](_0x850757,_0x470691){const _0x3eaf3c=_0x1afeb2,_0xb422b3=[];for(const _0xa02c49 of _0x850757){const _0x42ceeb=new _0x514225(_0x470691,_0xa02c49);_0x42ceeb[_0x3eaf3c(0x165)](..._0x2df4e1)['to'](this),_0xb422b3[_0x3eaf3c(0x14f)](_0x42ceeb);}return _0xb422b3;}[_0x1afeb2(0x184)](_0x2e1e4c){const _0x125c0e=_0x1afeb2,_0xc4eb96=this[_0x125c0e(0x1a5)]||'en',_0x17a760=[];for(const _0x4da691 of _0x2e1e4c){const _0x149e7a=this[_0x125c0e(0x192)](_0x4da691[_0x125c0e(0x18b)],_0xc4eb96);_0x17a760[_0x125c0e(0x14f)](new _0x2e2054(_0xc4eb96,{'title':_0x4da691[_0x125c0e(0x196)],'items':_0x149e7a}));}this[_0x125c0e(0x167)][_0x125c0e(0x188)]=_0x17a760,this[_0x125c0e(0x167)][_0x125c0e(0x18b)][_0x125c0e(0x1ad)](),this[_0x125c0e(0x167)][_0x125c0e(0x18b)][_0x125c0e(0x198)](_0x17a760),this[_0x125c0e(0x176)]=_0x2e1e4c[_0x125c0e(0x19e)](_0x433aea=>_0x433aea[_0x125c0e(0x18b)][_0x125c0e(0x1a3)]>0x0),this[_0x125c0e(0x163)]();}[_0x1afeb2(0x158)](_0x7a07ef){const _0x1addc8=_0x1afeb2;for(const _0x51a558 of this[_0x1addc8(0x167)][_0x1addc8(0x188)]){const _0x469358=_0x51a558[_0x1addc8(0x178)](_0x7a07ef);if(_0x469358){if(_0x51a558[_0x1addc8(0x19f)](_0x469358),0x0===_0x51a558[_0x1addc8(0x155)][_0x1addc8(0x1a3)]){const _0x5a0e99=this[_0x1addc8(0x167)][_0x1addc8(0x188)][_0x1addc8(0x164)](_0x51a558);-0x1!==_0x5a0e99&&(this[_0x1addc8(0x167)][_0x1addc8(0x188)][_0x1addc8(0x171)](_0x5a0e99,0x1),this[_0x1addc8(0x167)][_0x1addc8(0x18b)][_0x1addc8(0x17d)](_0x51a558));}this[_0x1addc8(0x176)]=this[_0x1addc8(0x167)][_0x1addc8(0x188)][_0x1addc8(0x1a3)]>0x0,this[_0x1addc8(0x163)]();break;}}}[_0x1afeb2(0x17f)](_0x16a1eb,_0x55befa){const _0x1d1f2c=_0x1afeb2;for(const _0x4a4679 of this[_0x1d1f2c(0x167)][_0x1d1f2c(0x188)]){const _0x4153b4=_0x4a4679[_0x1d1f2c(0x178)](_0x16a1eb);if(_0x4153b4){_0x4153b4[_0x1d1f2c(0x18a)](_0x55befa);break;}}}[_0x1afeb2(0x16f)](_0xabf7ad,_0x53f5d5,_0x88038d){const _0x43e430=_0x1afeb2;for(const _0x37ce70 of this[_0x43e430(0x167)][_0x43e430(0x188)]){const _0xc3b1fc=_0x37ce70[_0x43e430(0x178)](_0xabf7ad);if(_0xc3b1fc){_0xc3b1fc[_0x43e430(0x18f)](_0x53f5d5,_0x88038d);break;}}}[_0x1afeb2(0x163)](){const _0x1d3b73=_0x1afeb2;if(this[_0x1d3b73(0x176)]){const _0x5aaa12=this[_0x1d3b73(0x186)][_0x1d3b73(0x15d)][_0x1d3b73(0x1a8)]?.[_0x1d3b73(0x17e)]?.[_0x1d3b73(0x1aa)]||'';this[_0x1d3b73(0x186)][_0x1d3b73(0x18c)](_0x5aaa12);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ba5e5=_0x56f7;function _0x45d3(){const _0x2e2fc4=['getModel','AIChat','ai-chat-shortcuts-translate-not-found','6402HvuXkV','TRANSLATE','fire','requires','setModel','261201DVwcxm','activeConversation','custom','hasFeedItem','params','isPremiumPlugin','_runChatShortcut','reviewMode','AITabs','listenTo','translate','AITranslateUI','render','values','AIReviewModeUI','setReasoning','type','ai-chat-shortcuts-ai-tabs-not-found','isOfficialPlugin','execute','prompt','_removeShortcuts','addFeedItemCustomElement','language','source','addCurrentDocumentToChatContext','_validateShortcuts','getDefault','16NLMhYL','1375ZJPYQM','sendMessage','setWebSearch','review','pluginName','find','get','init','context','_aiChatUI','_shortcutsView','removeFeedItem','plugins','setPromptInputValue','chat','element','731829lTHHZr','chatModels','ai-chat-shortcuts-review-mode-not-found','check','655592CGUlBB','forEach','args','20804CdcMBP','destroy','chat-shortcuts','view','length','has','REVIEW','activateTab','10622xcnnLe','config','_executeShortcut','string','label','AIChatShortcuts','_injectShortcuts','ai.chat.shortcuts','_runTranslateShortcut','AIChatController','_shortcuts','locale','focusPromptInput','CHAT','_switchTab','isFromHistory','ai-chat-shortcuts-invalid-config','conversationCreated','includes','runReviewCheck','_runReviewShortcut','interactionStarted','1320426MZirMN'];_0x45d3=function(){return _0x2e2fc4;};return _0x45d3();}(function(_0xd5b560,_0x24c59e){const _0x3260b1=_0x56f7,_0x5bfd47=_0xd5b560();while(!![]){try{const _0x49100a=parseInt(_0x3260b1(0x1e5))/0x1+-parseInt(_0x3260b1(0x1ed))/0x2+parseInt(_0x3260b1(0x20c))/0x3+parseInt(_0x3260b1(0x1e2))/0x4+parseInt(_0x3260b1(0x229))/0x5*(parseInt(_0x3260b1(0x207))/0x6)+-parseInt(_0x3260b1(0x1de))/0x7+-parseInt(_0x3260b1(0x228))/0x8*(parseInt(_0x3260b1(0x203))/0x9);if(_0x49100a===_0x24c59e)break;else _0x5bfd47['push'](_0x5bfd47['shift']());}catch(_0x35a3a){_0x5bfd47['push'](_0x5bfd47['shift']());}}}(_0x45d3,0x27874));import{AIChatUI as _0xcdea64}from'../aichat/aichatui.js';import{ContextPlugin as _0xf6b950}from'ckeditor5/src/core.js';import{AIChatShortcutsView as _0x443c6b}from'./ui/aichatshortcutsview.js';import{CKEditorError as _0x5dfa6b}from'ckeditor5/src/utils.js';import'../../theme/aichatshortcuts/aichatshortcuts.css';const wt=_0x4ba5e5(0x1e7);export var AIChatShortcutType;!function(_0x1e12fa){const _0x2f67b4=_0x4ba5e5;_0x1e12fa[_0x2f67b4(0x1fa)]=_0x2f67b4(0x1dc),_0x1e12fa[_0x2f67b4(0x1eb)]=_0x2f67b4(0x22c),_0x1e12fa[_0x2f67b4(0x208)]=_0x2f67b4(0x216);}(AIChatShortcutType||(AIChatShortcutType={}));function _0x56f7(_0x4caa38,_0x3bec1a){const _0x45d370=_0x45d3();return _0x56f7=function(_0x56f76d,_0x4e7c04){_0x56f76d=_0x56f76d-0x1da;let _0x54ec98=_0x45d370[_0x56f76d];return _0x54ec98;},_0x56f7(_0x4caa38,_0x3bec1a);}export class AIChatShortcuts extends _0xf6b950{[_0x4ba5e5(0x1f7)];[_0x4ba5e5(0x233)];[_0x4ba5e5(0x232)];static get[_0x4ba5e5(0x20a)](){return[_0xcdea64];}static get[_0x4ba5e5(0x22d)](){const _0x4c2b2a=_0x4ba5e5;return _0x4c2b2a(0x1f2);}static get[_0x4ba5e5(0x21e)](){return!0x0;}static get[_0x4ba5e5(0x211)](){return!0x0;}[_0x4ba5e5(0x230)](){const _0x52ff31=_0x4ba5e5;this[_0x52ff31(0x232)]=this[_0x52ff31(0x231)][_0x52ff31(0x1da)][_0x52ff31(0x22f)](_0xcdea64),this[_0x52ff31(0x1f7)]=this[_0x52ff31(0x231)][_0x52ff31(0x1ee)][_0x52ff31(0x22f)](_0x52ff31(0x1f4))??[];const _0x54fb18=this[_0x52ff31(0x231)][_0x52ff31(0x1da)][_0x52ff31(0x22f)](_0x52ff31(0x1f6));this[_0x52ff31(0x1f7)][_0x52ff31(0x1e9)]&&(this[_0x52ff31(0x226)](),this[_0x52ff31(0x232)]['on'](_0x52ff31(0x1fe),()=>{const _0x117a5f=_0x52ff31;_0x54fb18[_0x117a5f(0x20d)][_0x117a5f(0x1fc)]||this[_0x117a5f(0x1f3)]();}),this[_0x52ff31(0x215)](_0x54fb18,_0x52ff31(0x202),()=>{const _0xb31d88=_0x52ff31;this[_0xb31d88(0x221)]();}));}[_0x4ba5e5(0x226)](){const _0x547167=_0x4ba5e5,_0x204fe5=Object[_0x547167(0x219)](AIChatShortcutType);this[_0x547167(0x1f7)][_0x547167(0x1e3)](_0x1b711d=>{const _0x179f41=_0x547167;let _0x391dc6=!0x0;if(_0x1b711d['id']&&_0x1b711d[_0x179f41(0x1f1)]&&_0x204fe5[_0x179f41(0x1ff)](_0x1b711d[_0x179f41(0x21c)])?_0x179f41(0x1dc)===_0x1b711d[_0x179f41(0x21c)]&&(_0x391dc6=_0x179f41(0x1f0)==typeof _0x1b711d[_0x179f41(0x220)]):_0x391dc6=!0x1,!_0x391dc6)throw new _0x5dfa6b(_0x179f41(0x1fd),this[_0x179f41(0x231)],{'shortcut':_0x1b711d});});}[_0x4ba5e5(0x1f3)](){const _0x1f9f4d=_0x4ba5e5,_0x5afa36=this[_0x1f9f4d(0x231)][_0x1f9f4d(0x1da)][_0x1f9f4d(0x22f)](_0xcdea64);this[_0x1f9f4d(0x233)]=new _0x443c6b(this[_0x1f9f4d(0x231)][_0x1f9f4d(0x1f8)],this[_0x1f9f4d(0x1f7)]),this[_0x1f9f4d(0x233)][_0x1f9f4d(0x218)](),_0x5afa36[_0x1f9f4d(0x222)](this[_0x1f9f4d(0x233)][_0x1f9f4d(0x1dd)],wt),this[_0x1f9f4d(0x233)]['on'](_0x1f9f4d(0x21f),_0x135d78=>{const _0x61ce9f=_0x1f9f4d,_0x474887=_0x135d78[_0x61ce9f(0x224)]['id'];this[_0x61ce9f(0x1ef)](_0x474887);});}[_0x4ba5e5(0x221)](){const _0x1ce8e9=_0x4ba5e5,_0x2c3db2=this[_0x1ce8e9(0x231)][_0x1ce8e9(0x1da)][_0x1ce8e9(0x22f)](_0xcdea64);_0x2c3db2[_0x1ce8e9(0x20f)](wt)&&_0x2c3db2[_0x1ce8e9(0x234)](wt),this[_0x1ce8e9(0x233)]?.[_0x1ce8e9(0x1e6)]();}[_0x4ba5e5(0x1ef)](_0x2bed01){const _0x32dbbf=_0x4ba5e5,_0x11218e=this[_0x32dbbf(0x1f7)][_0x32dbbf(0x22e)](_0x1191ef=>_0x1191ef['id']===_0x2bed01),_0x418ec0=_0x11218e[_0x32dbbf(0x21c)];_0x32dbbf(0x1dc)===_0x418ec0?this[_0x32dbbf(0x212)](_0x11218e):_0x32dbbf(0x22c)===_0x418ec0?_0x11218e[_0x32dbbf(0x1e1)]?this[_0x32dbbf(0x201)](_0x11218e):this[_0x32dbbf(0x1fb)](_0x32dbbf(0x213)):_0x32dbbf(0x216)===_0x418ec0&&(_0x11218e[_0x32dbbf(0x223)]?this[_0x32dbbf(0x1f5)](_0x11218e):this[_0x32dbbf(0x1fb)](_0x32dbbf(0x216)));}[_0x4ba5e5(0x1fb)](_0x31fc0b){const _0xd78a4d=_0x4ba5e5;if(!this[_0xd78a4d(0x231)][_0xd78a4d(0x1da)][_0xd78a4d(0x1ea)](_0xd78a4d(0x214)))throw new _0x5dfa6b(_0xd78a4d(0x21d),this[_0xd78a4d(0x231)],{'tabName':_0x31fc0b});this[_0xd78a4d(0x231)][_0xd78a4d(0x1da)][_0xd78a4d(0x22f)](_0xd78a4d(0x214))[_0xd78a4d(0x1e8)][_0xd78a4d(0x1ec)](_0x31fc0b);}async[_0x4ba5e5(0x212)]({prompt:_0x3f1db2,draftMode:_0x4e0c18,useWebSearch:_0x29254e=!0x1,useReasoning:_0x34feaf=!0x1,model:_0x3a55aa}){const _0x1c6691=_0x4ba5e5,_0x59df8d=this[_0x1c6691(0x231)][_0x1c6691(0x1da)][_0x1c6691(0x22f)](_0x1c6691(0x205)),_0x4795de=this[_0x1c6691(0x231)][_0x1c6691(0x1da)][_0x1c6691(0x22f)](_0x1c6691(0x1f6)),_0x4fe5a3=_0x4795de[_0x1c6691(0x20d)];let _0x2e6ea1;_0x2e6ea1=_0x3a55aa?await _0x4fe5a3[_0x1c6691(0x1df)][_0x1c6691(0x204)](_0x3a55aa):await _0x4fe5a3[_0x1c6691(0x1df)][_0x1c6691(0x227)](),_0x2e6ea1&&await _0x4fe5a3[_0x1c6691(0x20b)](_0x2e6ea1),_0x4fe5a3[_0x1c6691(0x22b)](_0x29254e),_0x4fe5a3[_0x1c6691(0x21b)](_0x34feaf),_0x4795de[_0x1c6691(0x225)](),_0x4e0c18?(this[_0x1c6691(0x232)][_0x1c6691(0x1db)](_0x3f1db2),this[_0x1c6691(0x232)][_0x1c6691(0x1f9)](!0x0)):_0x59df8d[_0x1c6691(0x22a)]({'message':_0x3f1db2});}[_0x4ba5e5(0x201)]({check:_0x23040c,model:_0x19886f,prompt:_0x26ec15,params:_0x501c29}){const _0x18e33f=_0x4ba5e5;if(!this[_0x18e33f(0x231)][_0x18e33f(0x1da)][_0x18e33f(0x1ea)](_0x18e33f(0x21a)))throw new _0x5dfa6b(_0x18e33f(0x1e0),this[_0x18e33f(0x231)]);this[_0x18e33f(0x1fb)](_0x18e33f(0x213));const _0x48da30={'id':_0x23040c,'isCustom':_0x18e33f(0x20e)===_0x23040c};_0x19886f&&_0x26ec15&&(_0x48da30[_0x18e33f(0x1e4)]={'model':_0x19886f,'prompt':_0x26ec15}),_0x501c29&&(_0x48da30[_0x18e33f(0x210)]=_0x501c29),this[_0x18e33f(0x231)][_0x18e33f(0x1da)][_0x18e33f(0x22f)](_0x18e33f(0x21a))[_0x18e33f(0x209)](_0x18e33f(0x200),_0x48da30);}[_0x4ba5e5(0x1f5)]({language:_0x13fed8}){const _0xed861d=_0x4ba5e5;if(!this[_0xed861d(0x231)][_0xed861d(0x1da)][_0xed861d(0x1ea)](_0xed861d(0x217)))throw new _0x5dfa6b(_0xed861d(0x206),this[_0xed861d(0x231)]);this[_0xed861d(0x1fb)](_0xed861d(0x216)),this[_0xed861d(0x231)][_0xed861d(0x1da)][_0xed861d(0x22f)](_0xed861d(0x217))[_0xed861d(0x209)](_0xed861d(0x200),{'id':_0x13fed8,'args':{'language':_0x13fed8}});}}
23
+ const _0x58a4a1=_0x26dd;(function(_0x4ed4c4,_0x3cc172){const _0x48338f=_0x26dd,_0x3f68fe=_0x4ed4c4();while(!![]){try{const _0x1754ef=parseInt(_0x48338f(0xfd))/0x1+-parseInt(_0x48338f(0xd5))/0x2+parseInt(_0x48338f(0xe5))/0x3+parseInt(_0x48338f(0xf1))/0x4+parseInt(_0x48338f(0x101))/0x5+parseInt(_0x48338f(0xec))/0x6+-parseInt(_0x48338f(0xef))/0x7*(parseInt(_0x48338f(0xdc))/0x8);if(_0x1754ef===_0x3cc172)break;else _0x3f68fe['push'](_0x3f68fe['shift']());}catch(_0x505174){_0x3f68fe['push'](_0x3f68fe['shift']());}}}(_0x51fe,0xb7f46));import{AIChatUI as _0x175e19}from'../aichat/aichatui.js';import{ContextPlugin as _0x39187c}from'ckeditor5/src/core.js';function _0x51fe(){const _0x14bda0=['check','source','_shortcuts','locale','find','destroy','658337cFQfhI','getDefault','fire','ai.chat.shortcuts','4732820ZuUAPB','element','_switchTab','_removeShortcuts','_runChatShortcut','interactionStarted','_runReviewShortcut','get','_validateShortcuts','getModel','AITabs','_aiChatUI','conversationCreated','values','params','config','AIChatController','hasFeedItem','ai-chat-shortcuts-translate-not-found','review','focusPromptInput','pluginName','_injectShortcuts','isFromHistory','chat','args','AIReviewModeUI','activeConversation','REVIEW','runReviewCheck','isPremiumPlugin','forEach','TRANSLATE','requires','type','AIChatShortcuts','_shortcutsView','ai-chat-shortcuts-ai-tabs-not-found','CHAT','activateTab','reviewMode','string','has','chat-shortcuts','chatModels','listenTo','1959070OxeSAX','plugins','_executeShortcut','setPromptInputValue','isOfficialPlugin','execute','ai-chat-shortcuts-invalid-config','64ljjNCT','view','translate','setReasoning','_runTranslateShortcut','removeFeedItem','addFeedItemCustomElement','addCurrentDocumentToChatContext','init','370986RrFLHx','label','AITranslateUI','length','context','setWebSearch','render','1615320lOcJZC','ai-chat-shortcuts-review-mode-not-found','language','456729bVgJhB','setModel','1028824GSKJfv','sendMessage','prompt','includes','custom','AIChat'];_0x51fe=function(){return _0x14bda0;};return _0x51fe();}import{AIChatShortcutsView as _0x47c79a}from'./ui/aichatshortcutsview.js';import{CKEditorError as _0x35a8ad}from'ckeditor5/src/utils.js';function _0x26dd(_0x29751d,_0x1900d9){const _0x51fed1=_0x51fe();return _0x26dd=function(_0x26dd8f,_0x259897){_0x26dd8f=_0x26dd8f-0xb6;let _0x455b91=_0x51fed1[_0x26dd8f];return _0x455b91;},_0x26dd(_0x29751d,_0x1900d9);}import'../../theme/aichatshortcuts/aichatshortcuts.css';const wt=_0x58a4a1(0xd2);export var AIChatShortcutType;!function(_0x286b01){const _0x3cc585=_0x58a4a1;_0x286b01[_0x3cc585(0xcd)]=_0x3cc585(0xbf),_0x286b01[_0x3cc585(0xc3)]=_0x3cc585(0xba),_0x286b01[_0x3cc585(0xc7)]=_0x3cc585(0xde);}(AIChatShortcutType||(AIChatShortcutType={}));export class AIChatShortcuts extends _0x39187c{[_0x58a4a1(0xf9)];[_0x58a4a1(0xcb)];[_0x58a4a1(0x10c)];static get[_0x58a4a1(0xc8)](){return[_0x175e19];}static get[_0x58a4a1(0xbc)](){const _0x2ed13b=_0x58a4a1;return _0x2ed13b(0xca);}static get[_0x58a4a1(0xd9)](){return!0x0;}static get[_0x58a4a1(0xc5)](){return!0x0;}[_0x58a4a1(0xe4)](){const _0x1952a5=_0x58a4a1;this[_0x1952a5(0x10c)]=this[_0x1952a5(0xe9)][_0x1952a5(0xd6)][_0x1952a5(0x108)](_0x175e19),this[_0x1952a5(0xf9)]=this[_0x1952a5(0xe9)][_0x1952a5(0xb6)][_0x1952a5(0x108)](_0x1952a5(0x100))??[];const _0x1604a5=this[_0x1952a5(0xe9)][_0x1952a5(0xd6)][_0x1952a5(0x108)](_0x1952a5(0xb7));this[_0x1952a5(0xf9)][_0x1952a5(0xe8)]&&(this[_0x1952a5(0x109)](),this[_0x1952a5(0x10c)]['on'](_0x1952a5(0x10d),()=>{const _0x3b6664=_0x1952a5;_0x1604a5[_0x3b6664(0xc2)][_0x3b6664(0xbe)]||this[_0x3b6664(0xbd)]();}),this[_0x1952a5(0xd4)](_0x1604a5,_0x1952a5(0x106),()=>{const _0x132389=_0x1952a5;this[_0x132389(0x104)]();}));}[_0x58a4a1(0x109)](){const _0x595699=_0x58a4a1,_0x47e61a=Object[_0x595699(0x10e)](AIChatShortcutType);this[_0x595699(0xf9)][_0x595699(0xc6)](_0x54b040=>{const _0x4abc36=_0x595699;let _0xceb216=!0x0;if(_0x54b040['id']&&_0x54b040[_0x4abc36(0xe6)]&&_0x47e61a[_0x4abc36(0xf4)](_0x54b040[_0x4abc36(0xc9)])?_0x4abc36(0xbf)===_0x54b040[_0x4abc36(0xc9)]&&(_0xceb216=_0x4abc36(0xd0)==typeof _0x54b040[_0x4abc36(0xf3)]):_0xceb216=!0x1,!_0xceb216)throw new _0x35a8ad(_0x4abc36(0xdb),this[_0x4abc36(0xe9)],{'shortcut':_0x54b040});});}[_0x58a4a1(0xbd)](){const _0x2072a6=_0x58a4a1,_0x4873ff=this[_0x2072a6(0xe9)][_0x2072a6(0xd6)][_0x2072a6(0x108)](_0x175e19);this[_0x2072a6(0xcb)]=new _0x47c79a(this[_0x2072a6(0xe9)][_0x2072a6(0xfa)],this[_0x2072a6(0xf9)]),this[_0x2072a6(0xcb)][_0x2072a6(0xeb)](),_0x4873ff[_0x2072a6(0xe2)](this[_0x2072a6(0xcb)][_0x2072a6(0x102)],wt),this[_0x2072a6(0xcb)]['on'](_0x2072a6(0xda),_0x4781db=>{const _0x5014c9=_0x2072a6,_0x327f44=_0x4781db[_0x5014c9(0xf8)]['id'];this[_0x5014c9(0xd7)](_0x327f44);});}[_0x58a4a1(0x104)](){const _0x42b7c1=_0x58a4a1,_0x1799af=this[_0x42b7c1(0xe9)][_0x42b7c1(0xd6)][_0x42b7c1(0x108)](_0x175e19);_0x1799af[_0x42b7c1(0xb8)](wt)&&_0x1799af[_0x42b7c1(0xe1)](wt),this[_0x42b7c1(0xcb)]?.[_0x42b7c1(0xfc)]();}[_0x58a4a1(0xd7)](_0x4a3172){const _0x3706e7=_0x58a4a1,_0x21caaa=this[_0x3706e7(0xf9)][_0x3706e7(0xfb)](_0x54ae1c=>_0x54ae1c['id']===_0x4a3172),_0x3d5761=_0x21caaa[_0x3706e7(0xc9)];_0x3706e7(0xbf)===_0x3d5761?this[_0x3706e7(0x105)](_0x21caaa):_0x3706e7(0xba)===_0x3d5761?_0x21caaa[_0x3706e7(0xf7)]?this[_0x3706e7(0x107)](_0x21caaa):this[_0x3706e7(0x103)](_0x3706e7(0xcf)):_0x3706e7(0xde)===_0x3d5761&&(_0x21caaa[_0x3706e7(0xee)]?this[_0x3706e7(0xe0)](_0x21caaa):this[_0x3706e7(0x103)](_0x3706e7(0xde)));}[_0x58a4a1(0x103)](_0x28bae1){const _0x398515=_0x58a4a1;if(!this[_0x398515(0xe9)][_0x398515(0xd6)][_0x398515(0xd1)](_0x398515(0x10b)))throw new _0x35a8ad(_0x398515(0xcc),this[_0x398515(0xe9)],{'tabName':_0x28bae1});this[_0x398515(0xe9)][_0x398515(0xd6)][_0x398515(0x108)](_0x398515(0x10b))[_0x398515(0xdd)][_0x398515(0xce)](_0x28bae1);}async[_0x58a4a1(0x105)]({prompt:_0x2bba33,draftMode:_0x51bb55,useWebSearch:_0x336df5=!0x1,useReasoning:_0x120b54=!0x1,model:_0x16b6f9}){const _0x2735f0=_0x58a4a1,_0x3b596d=this[_0x2735f0(0xe9)][_0x2735f0(0xd6)][_0x2735f0(0x108)](_0x2735f0(0xf6)),_0x23b634=this[_0x2735f0(0xe9)][_0x2735f0(0xd6)][_0x2735f0(0x108)](_0x2735f0(0xb7)),_0x9addf9=_0x23b634[_0x2735f0(0xc2)];let _0xe722ba;_0xe722ba=_0x16b6f9?await _0x9addf9[_0x2735f0(0xd3)][_0x2735f0(0x10a)](_0x16b6f9):await _0x9addf9[_0x2735f0(0xd3)][_0x2735f0(0xfe)](),_0xe722ba&&await _0x9addf9[_0x2735f0(0xf0)](_0xe722ba),_0x9addf9[_0x2735f0(0xea)](_0x336df5),_0x9addf9[_0x2735f0(0xdf)](_0x120b54),_0x23b634[_0x2735f0(0xe3)](),_0x51bb55?(this[_0x2735f0(0x10c)][_0x2735f0(0xd8)](_0x2bba33),this[_0x2735f0(0x10c)][_0x2735f0(0xbb)](!0x0)):_0x3b596d[_0x2735f0(0xf2)]({'message':_0x2bba33});}[_0x58a4a1(0x107)]({check:_0x460f66,model:_0x4f28fb,prompt:_0x1f97ba,params:_0x32270c}){const _0xcc9e48=_0x58a4a1;if(!this[_0xcc9e48(0xe9)][_0xcc9e48(0xd6)][_0xcc9e48(0xd1)](_0xcc9e48(0xc1)))throw new _0x35a8ad(_0xcc9e48(0xed),this[_0xcc9e48(0xe9)]);this[_0xcc9e48(0x103)](_0xcc9e48(0xcf));const _0x26a644={'id':_0x460f66,'isCustom':_0xcc9e48(0xf5)===_0x460f66};_0x4f28fb&&_0x1f97ba&&(_0x26a644[_0xcc9e48(0xc0)]={'model':_0x4f28fb,'prompt':_0x1f97ba}),_0x32270c&&(_0x26a644[_0xcc9e48(0x10f)]=_0x32270c),this[_0xcc9e48(0xe9)][_0xcc9e48(0xd6)][_0xcc9e48(0x108)](_0xcc9e48(0xc1))[_0xcc9e48(0xff)](_0xcc9e48(0xc4),_0x26a644);}[_0x58a4a1(0xe0)]({language:_0x4406d8}){const _0x5256d8=_0x58a4a1;if(!this[_0x5256d8(0xe9)][_0x5256d8(0xd6)][_0x5256d8(0xd1)](_0x5256d8(0xe7)))throw new _0x35a8ad(_0x5256d8(0xb9),this[_0x5256d8(0xe9)]);this[_0x5256d8(0x103)](_0x5256d8(0xde)),this[_0x5256d8(0xe9)][_0x5256d8(0xd6)][_0x5256d8(0x108)](_0x5256d8(0xe7))[_0x5256d8(0xff)](_0x5256d8(0xc4),{'id':_0x4406d8,'args':{'language':_0x4406d8}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57047b=_0x75d9;(function(_0x5c96e9,_0x3de6a1){const _0x249bec=_0x75d9,_0x24426a=_0x5c96e9();while(!![]){try{const _0x5b45bc=-parseInt(_0x249bec(0x1dc))/0x1*(-parseInt(_0x249bec(0x1d4))/0x2)+-parseInt(_0x249bec(0x1cf))/0x3*(parseInt(_0x249bec(0x1d8))/0x4)+parseInt(_0x249bec(0x1d3))/0x5*(-parseInt(_0x249bec(0x1e1))/0x6)+parseInt(_0x249bec(0x1de))/0x7*(parseInt(_0x249bec(0x1e2))/0x8)+-parseInt(_0x249bec(0x1d5))/0x9+parseInt(_0x249bec(0x1d0))/0xa+parseInt(_0x249bec(0x1df))/0xb*(parseInt(_0x249bec(0x1d9))/0xc);if(_0x5b45bc===_0x3de6a1)break;else _0x24426a['push'](_0x24426a['shift']());}catch(_0x2df37b){_0x24426a['push'](_0x24426a['shift']());}}}(_0x1402,0x2563f));function _0x1402(){const _0x342638=['listView','setTemplate','execute','10350etsNyf','1977680QHiIqe','addMany','add','1273945lEiibg','3016KplXOq','660177DGuoHy','delegate','ck-ai-chat-shortcuts','140LYUSnZ','275148IdVhkW','map','div','5hsxKyl','items','476OLNwZf','77EBRwAi','locale','6JQsfDD','27792cTxjjH','children'];_0x1402=function(){return _0x342638;};return _0x1402();}import{ListItemView as _0xb79191,ListView as _0x5668c4,View as _0x5ddb35}from'ckeditor5/src/ui.js';function _0x75d9(_0x703a4a,_0x1ad600){const _0x140264=_0x1402();return _0x75d9=function(_0x75d9ca,_0x1796e8){_0x75d9ca=_0x75d9ca-0x1cd;let _0x1ab52d=_0x140264[_0x75d9ca];return _0x1ab52d;},_0x75d9(_0x703a4a,_0x1ad600);}import{AIChatShortcutView as _0x1735d0}from'./aichatshortcutview.js';export class AIChatShortcutsView extends _0x5ddb35{[_0x57047b(0x1e4)];constructor(_0x39b563,_0x559fc4){const _0x4b8a4d=_0x57047b;super(_0x39b563);const _0x3151c6=_0x559fc4[_0x4b8a4d(0x1da)](_0x49219c=>{const _0x3e2531=_0x4b8a4d,_0x2a3923=new _0xb79191(this[_0x3e2531(0x1e0)]),_0x407a27=new _0x1735d0(this[_0x3e2531(0x1e0)],_0x49219c);return _0x2a3923[_0x3e2531(0x1e3)][_0x3e2531(0x1d2)](_0x407a27),_0x407a27[_0x3e2531(0x1d6)](_0x3e2531(0x1ce))['to'](this),_0x2a3923;});this[_0x4b8a4d(0x1e4)]=new _0x5668c4(this[_0x4b8a4d(0x1e0)]),this[_0x4b8a4d(0x1e4)][_0x4b8a4d(0x1dd)][_0x4b8a4d(0x1d1)](_0x3151c6),this[_0x4b8a4d(0x1cd)]({'tag':_0x4b8a4d(0x1db),'attributes':{'class':['ck',_0x4b8a4d(0x1d7)]},'children':[this[_0x4b8a4d(0x1e4)]]});}}
23
+ const _0x9ca811=_0x136a;function _0x136a(_0x2d82f0,_0x75610a){const _0x5ab9df=_0x5ab9();return _0x136a=function(_0x136a30,_0x34162a){_0x136a30=_0x136a30-0xa8;let _0x2eec1d=_0x5ab9df[_0x136a30];return _0x2eec1d;},_0x136a(_0x2d82f0,_0x75610a);}(function(_0x5f3d39,_0x580d5b){const _0x2c6d95=_0x136a,_0x4100a7=_0x5f3d39();while(!![]){try{const _0x45e101=-parseInt(_0x2c6d95(0xb8))/0x1+parseInt(_0x2c6d95(0xb5))/0x2*(-parseInt(_0x2c6d95(0xba))/0x3)+-parseInt(_0x2c6d95(0xb6))/0x4*(parseInt(_0x2c6d95(0xaa))/0x5)+parseInt(_0x2c6d95(0xbb))/0x6*(-parseInt(_0x2c6d95(0xb4))/0x7)+-parseInt(_0x2c6d95(0xac))/0x8*(parseInt(_0x2c6d95(0xbd))/0x9)+parseInt(_0x2c6d95(0xb9))/0xa+-parseInt(_0x2c6d95(0xab))/0xb*(-parseInt(_0x2c6d95(0xbf))/0xc);if(_0x45e101===_0x580d5b)break;else _0x4100a7['push'](_0x4100a7['shift']());}catch(_0x541f0d){_0x4100a7['push'](_0x4100a7['shift']());}}}(_0x5ab9,0xa7398));function _0x5ab9(){const _0x56bc92=['addMany','map','14fHJDEs','15530nTubwC','16DnRSEg','items','278431lTmDvS','8816860YgASjW','123adsLQo','1410930lkrkSG','ck-ai-chat-shortcuts','265203WPPgqH','children','747732eWctiI','div','listView','1462415leAlBU','407kxIMIR','72eZnlpo','delegate','locale','setTemplate','execute','add'];_0x5ab9=function(){return _0x56bc92;};return _0x5ab9();}import{ListItemView as _0x195fcf,ListView as _0x39e264,View as _0x33a9d9}from'ckeditor5/src/ui.js';import{AIChatShortcutView as _0x4f5c53}from'./aichatshortcutview.js';export class AIChatShortcutsView extends _0x33a9d9{[_0x9ca811(0xa9)];constructor(_0x29055a,_0x31ee55){const _0xc99125=_0x9ca811;super(_0x29055a);const _0x1db8f0=_0x31ee55[_0xc99125(0xb3)](_0x50f576=>{const _0x1009c3=_0xc99125,_0x2f7b5d=new _0x195fcf(this[_0x1009c3(0xae)]),_0x4954c3=new _0x4f5c53(this[_0x1009c3(0xae)],_0x50f576);return _0x2f7b5d[_0x1009c3(0xbe)][_0x1009c3(0xb1)](_0x4954c3),_0x4954c3[_0x1009c3(0xad)](_0x1009c3(0xb0))['to'](this),_0x2f7b5d;});this[_0xc99125(0xa9)]=new _0x39e264(this[_0xc99125(0xae)]),this[_0xc99125(0xa9)][_0xc99125(0xb7)][_0xc99125(0xb2)](_0x1db8f0),this[_0xc99125(0xaf)]({'tag':_0xc99125(0xa8),'attributes':{'class':['ck',_0xc99125(0xbc)]},'children':[this[_0xc99125(0xa9)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4e6cf9,_0x52e6d9){const _0x3d3321=_0x5adc,_0x4b9ec4=_0x4e6cf9();while(!![]){try{const _0x196e84=-parseInt(_0x3d3321(0x113))/0x1*(-parseInt(_0x3d3321(0x10d))/0x2)+parseInt(_0x3d3321(0x11a))/0x3+parseInt(_0x3d3321(0x11f))/0x4*(parseInt(_0x3d3321(0x110))/0x5)+parseInt(_0x3d3321(0x112))/0x6*(parseInt(_0x3d3321(0x119))/0x7)+-parseInt(_0x3d3321(0x11b))/0x8*(parseInt(_0x3d3321(0x111))/0x9)+parseInt(_0x3d3321(0x114))/0xa*(-parseInt(_0x3d3321(0x117))/0xb)+parseInt(_0x3d3321(0x10c))/0xc*(parseInt(_0x3d3321(0x11c))/0xd);if(_0x196e84===_0x52e6d9)break;else _0x4b9ec4['push'](_0x4b9ec4['shift']());}catch(_0x3aeeb3){_0x4b9ec4['push'](_0x4b9ec4['shift']());}}}(_0x10ef,0x32191));function _0x5adc(_0x78674f,_0x5d5a1f){const _0x10ef87=_0x10ef();return _0x5adc=function(_0x5adc4d,_0x49ad99){_0x5adc4d=_0x5adc4d-0x10c;let _0x38dc7c=_0x10ef87[_0x5adc4d];return _0x38dc7c;},_0x5adc(_0x78674f,_0x5d5a1f);}import{ButtonView as _0x5b358d}from'ckeditor5/src/ui.js';import{IconAIChat as _0x5ec8c1,IconAIReview as _0x543e89,IconAITranslate as _0x3fdc8f}from'@ckeditor/ckeditor5-icons';function _0x10ef(){const _0x274b96=['set','42psgbvV','464112aBZJtF','3196504KYPFgL','13cvjfCJ','label','ck-ai-chat-shortcut','84WTCHuf','icon','2868732JLCCCy','74166ousUrt','review','translate','2850LBgsGO','9kTyZOk','60546nhOBWa','6bhmaHV','30AGjUsA','chat','extendTemplate','308055QHgJyN'];_0x10ef=function(){return _0x274b96;};return _0x10ef();}export class AIChatShortcutView extends _0x5b358d{['id'];constructor(_0x25c045,_0xc70ba3){const _0x111d3b=_0x5adc;super(_0x25c045);const {id:_0x36b74d,type:_0x5b0bc8,icon:_0x595be2}=_0xc70ba3;this['id']=_0x36b74d,this[_0x111d3b(0x118)]({'label':_0xc70ba3[_0x111d3b(0x11d)],'withText':!0x0,'class':_0x111d3b(0x11e)}),this[_0x111d3b(0x116)]({'attributes':{'data-cke-ai-shortcut-id':_0xc70ba3['id']}}),_0x595be2?this[_0x111d3b(0x120)]=_0x595be2:_0x111d3b(0x115)===_0x5b0bc8?this[_0x111d3b(0x120)]=_0x5ec8c1:_0x111d3b(0x10e)===_0x5b0bc8?this[_0x111d3b(0x120)]=_0x543e89:_0x111d3b(0x10f)===_0x5b0bc8&&(this[_0x111d3b(0x120)]=_0x3fdc8f);}}
23
+ (function(_0x5991d1,_0x563093){const _0xa5980e=_0x4bf4,_0x2630b9=_0x5991d1();while(!![]){try{const _0x3d2928=-parseInt(_0xa5980e(0x191))/0x1*(parseInt(_0xa5980e(0x190))/0x2)+parseInt(_0xa5980e(0x18d))/0x3*(-parseInt(_0xa5980e(0x18e))/0x4)+parseInt(_0xa5980e(0x19a))/0x5+-parseInt(_0xa5980e(0x189))/0x6+-parseInt(_0xa5980e(0x196))/0x7*(-parseInt(_0xa5980e(0x194))/0x8)+parseInt(_0xa5980e(0x193))/0x9+-parseInt(_0xa5980e(0x18c))/0xa*(parseInt(_0xa5980e(0x18b))/0xb);if(_0x3d2928===_0x563093)break;else _0x2630b9['push'](_0x2630b9['shift']());}catch(_0x17fe55){_0x2630b9['push'](_0x2630b9['shift']());}}}(_0x1273,0xc9c35));import{ButtonView as _0x4d0744}from'ckeditor5/src/ui.js';function _0x4bf4(_0x581cf4,_0x14c515){const _0x12730f=_0x1273();return _0x4bf4=function(_0x4bf43c,_0x133d82){_0x4bf43c=_0x4bf43c-0x189;let _0x22d024=_0x12730f[_0x4bf43c];return _0x22d024;},_0x4bf4(_0x581cf4,_0x14c515);}import{IconAIChat as _0x23ed56,IconAIReview as _0x4df5c8,IconAITranslate as _0x2eff23}from'@ckeditor/ckeditor5-icons';export class AIChatShortcutView extends _0x4d0744{['id'];constructor(_0x38cb6c,_0x11c6f7){const _0x228862=_0x4bf4;super(_0x38cb6c);const {id:_0x502b5,type:_0x384a61,icon:_0x4306cc}=_0x11c6f7;this['id']=_0x502b5,this[_0x228862(0x197)]({'label':_0x11c6f7[_0x228862(0x195)],'withText':!0x0,'class':_0x228862(0x19b)}),this[_0x228862(0x192)]({'attributes':{'data-cke-ai-shortcut-id':_0x11c6f7['id']}}),_0x4306cc?this[_0x228862(0x18a)]=_0x4306cc:_0x228862(0x199)===_0x384a61?this[_0x228862(0x18a)]=_0x23ed56:_0x228862(0x18f)===_0x384a61?this[_0x228862(0x18a)]=_0x4df5c8:_0x228862(0x198)===_0x384a61&&(this[_0x228862(0x18a)]=_0x2eff23);}}function _0x1273(){const _0x5237c9=['6247BBUEJU','extendTemplate','13308498eoAZqV','127072HsQxZl','label','567FhTcPt','set','translate','chat','1005675QIelvE','ck-ai-chat-shortcut','1948668NhopmA','icon','3617174YryBvu','10PBXSrC','1104645pgZJgL','4adizdG','review','358WFPCaq'];_0x1273=function(){return _0x5237c9;};return _0x1273();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26b9bf=_0x2dd6;(function(_0x1be338,_0x5def68){const _0x22289c=_0x2dd6,_0x278215=_0x1be338();while(!![]){try{const _0xded4f1=parseInt(_0x22289c(0x108))/0x1+-parseInt(_0x22289c(0x143))/0x2*(parseInt(_0x22289c(0xe6))/0x3)+parseInt(_0x22289c(0x102))/0x4+-parseInt(_0x22289c(0xee))/0x5*(-parseInt(_0x22289c(0xd3))/0x6)+-parseInt(_0x22289c(0x15a))/0x7*(parseInt(_0x22289c(0x104))/0x8)+parseInt(_0x22289c(0xd6))/0x9*(-parseInt(_0x22289c(0x129))/0xa)+-parseInt(_0x22289c(0x117))/0xb*(-parseInt(_0x22289c(0x10a))/0xc);if(_0xded4f1===_0x5def68)break;else _0x278215['push'](_0x278215['shift']());}catch(_0x290105){_0x278215['push'](_0x278215['shift']());}}}(_0x27c5,0x9b76c));function _0x2dd6(_0x54f22c,_0x4d156c){const _0x27c526=_0x27c5();return _0x2dd6=function(_0x2dd655,_0x46e040){_0x2dd655=_0x2dd655-0xcf;let _0x3e33d1=_0x27c526[_0x2dd655];return _0x3e33d1;},_0x2dd6(_0x54f22c,_0x4d156c);}import{createParser as _0x56d860}from'eventsource-parser';import{ContextPlugin as _0x312939}from'ckeditor5/src/core.js';import{CKEditorError as _0x4ee7e1}from'ckeditor5/src/utils.js';function _0x27c5(){const _0x2f2abf=['fetchConversationMessages','_getStreamReader','/documents','abortController','/files','25kNOyqC','createdAt','releaseLock','message','/web-resources/','uploadDocument','modificationId','upsertAIChatRating','_handleError','upsertCustomAIActionRating','AbortError','positiveCount','upsertCustomAIReviewRating','define','TRANSLATE','/conversations','continue','/calls/','isPremiumPlugin','_decoder','2198536qfPiEa','/messages/','6197008fHYzET','deleteFile','deleteWebResource','then','705796ZApOsv','token','66720zhuRPB','read','make-tone-formal','feed','/ratings','toString','name','improve-writing','updateConversation','/calls','sortBy','application/json','uploadUrl','1595tJszkC','uploadFile','PUT','CloudServices','PATCH','plugins','false','data','/reviews/custom/calls','body','totalCount','make-tone-casual','100','config','parse','/actions/custom/calls/','_token','Content-Type','10mONLWz','/conversations?','/actions/custom/calls','deleteDocument','/messages','GET','request','group','json','IMPROVE_WRITING','reset','/reviews/custom/calls/','queryAssistant','get','signal','language','pluginName','attributes','fetchConversation','fetchConversations','fix-grammar','code','startConversation','limit','text','MAKE_LONGER','24902tWiMfy','/models/1?','traceId','callSystemReview','_sendApiRequest','fetchDocument','ai-request-failed','MAKE_TONE_FORMAL','deleteConversation','make-longer','translate','executeCustomAction','order','_apiUrl','file','ai.serviceUrl','https://ai.cke-cs.com/v1','isOfficialPlugin','upsertAIActionRating','desc','MAKE_TONE_CASUAL','getReader','/actions/system/','7kCOKbz','requires','upsertAIReviewRating','push','CONTINUE','MAKE_SHORTER','DELETE','statusText','true','FIX_GRAMMAR','decode','items','callCustomReview','POST','stringify','excludeEmpty','292902QLZckS','AIConnector','status','6816132kCAbid','/files/','length','Bearer\x20','/reviews/system/','ai-request-aborted','append','context','make-shorter','getModels','/conversations/','value','/documents/','init','catch','executeAction','33kKiBfg','ai-missing-token','/web-resources'];_0x27c5=function(){return _0x2f2abf;};return _0x27c5();}export var AIActionsNames;!function(_0x1412a0){const _0x16be5e=_0x2dd6;_0x1412a0[_0x16be5e(0x15e)]=_0x16be5e(0xfe),_0x1412a0[_0x16be5e(0x163)]=_0x16be5e(0x13d),_0x1412a0[_0x16be5e(0x132)]=_0x16be5e(0x111),_0x1412a0[_0x16be5e(0x142)]=_0x16be5e(0x14c),_0x1412a0[_0x16be5e(0x15f)]=_0x16be5e(0xde),_0x1412a0[_0x16be5e(0x157)]=_0x16be5e(0x122),_0x1412a0[_0x16be5e(0x14a)]=_0x16be5e(0x10c),_0x1412a0[_0x16be5e(0xfc)]=_0x16be5e(0x14d);}(AIActionsNames||(AIActionsNames={}));export class AIConnector extends _0x312939{[_0x26b9bf(0x150)];[_0x26b9bf(0x127)];[_0x26b9bf(0x101)];static get[_0x26b9bf(0x15b)](){const _0x574a51=_0x26b9bf;return[_0x574a51(0x11a)];}static get[_0x26b9bf(0x139)](){const _0x3d4dc9=_0x26b9bf;return _0x3d4dc9(0xd4);}static get[_0x26b9bf(0x154)](){return!0x0;}static get[_0x26b9bf(0x100)](){return!0x0;}constructor(_0x3ffaae){const _0x5ca9e3=_0x26b9bf;super(_0x3ffaae),this[_0x5ca9e3(0xdd)][_0x5ca9e3(0x124)][_0x5ca9e3(0xfb)](_0x5ca9e3(0x152),_0x5ca9e3(0x153)),this[_0x5ca9e3(0x150)]=this[_0x5ca9e3(0xdd)][_0x5ca9e3(0x124)][_0x5ca9e3(0x136)](_0x5ca9e3(0x152)),this[_0x5ca9e3(0x127)]=null,this[_0x5ca9e3(0x101)]=new TextDecoder();}[_0x26b9bf(0xe3)](){const _0x24777b=_0x26b9bf,_0x49454e=this[_0x24777b(0xdd)][_0x24777b(0x11c)][_0x24777b(0x136)](_0x24777b(0x11a));if(!_0x49454e[_0x24777b(0x109)])throw new _0x4ee7e1(_0x24777b(0xe7),this);this[_0x24777b(0x127)]=_0x49454e[_0x24777b(0x109)];}[_0x26b9bf(0x13f)](_0x3b365c,_0x2b07b8){const _0x30fada=_0x26b9bf,_0x559b3b=this[_0x30fada(0x147)](_0x30fada(0xfd),_0x30fada(0xd0),{'id':_0x3b365c,'group':_0x2b07b8});return{'getConversation':async()=>(await _0x559b3b[_0x30fada(0x12f)])[_0x30fada(0x131)](),'abortController':_0x559b3b[_0x30fada(0xec)]};}[_0x26b9bf(0x135)]({message:_0x4c9cbd,conversationId:_0x29ebce,parts:_0x508d89,capabilities:_0x5e6fd4,model:_0x5bec04,attributes:_0xf3cd27}){const _0x584d48=_0x26b9bf,_0x485e98={'prompt':_0x4c9cbd,'content':_0x508d89,'model':_0x5bec04,..._0x5e6fd4&&{'capabilities':_0x5e6fd4},..._0xf3cd27&&{'attributes':_0xf3cd27}},_0x280d93=this[_0x584d48(0x147)](_0x584d48(0xe0)+_0x29ebce+_0x584d48(0x12d),_0x584d48(0xd0),_0x485e98);return{'getStream':async()=>{const _0x2ed116=_0x584d48,_0x58e235=(await _0x280d93[_0x2ed116(0x12f)])[_0x2ed116(0x120)];return this[_0x2ed116(0xea)](_0x58e235);},'abortController':_0x280d93[_0x584d48(0xec)]};}[_0x26b9bf(0x14e)]({content:_0x4fadea,message:_0x327d56,model:_0x55bb25,outputFormat:_0x2bd629}){const _0x52baf8=_0x26b9bf,_0x3186bb={'content':[{'type':_0x52baf8(0x141),'content':_0x4fadea}],'prompt':_0x327d56,'model':_0x55bb25,'outputFormat':_0x2bd629},_0x33f73f=this[_0x52baf8(0x147)](_0x52baf8(0x12b),_0x52baf8(0xd0),_0x3186bb);return{'getStream':async()=>{const _0x57b8fc=_0x52baf8,_0x2fceb3=(await _0x33f73f[_0x57b8fc(0x12f)])[_0x57b8fc(0x120)];return this[_0x57b8fc(0xea)](_0x2fceb3);},'abortController':_0x33f73f[_0x52baf8(0xec)]};}[_0x26b9bf(0xe5)]({actionName:_0x5c23fc,content:_0x18bd4d,args:_0x42db12}){const _0x24a654=_0x26b9bf,_0x4c455b={'content':[{'type':_0x24a654(0x141),'content':_0x18bd4d}],'args':_0x42db12},_0x2a2324=this[_0x24a654(0x147)](_0x24a654(0x159)+_0x5c23fc+_0x24a654(0x113),_0x24a654(0xd0),_0x4c455b);return{'getStream':async()=>{const _0x6714a=_0x24a654,_0x4b8213=(await _0x2a2324[_0x6714a(0x12f)])[_0x6714a(0x120)];return this[_0x6714a(0xea)](_0x4b8213);},'abortController':_0x2a2324[_0x24a654(0xec)]};}[_0x26b9bf(0x118)](_0x542192,_0x2d595b,_0x3a404e){const _0x33320c=_0x26b9bf,_0x4be483=new FormData();_0x4be483[_0x33320c(0xdc)](_0x33320c(0x151),_0x2d595b,_0x2d595b[_0x33320c(0x110)]),_0x3a404e&&_0x4be483[_0x33320c(0xdc)](_0x33320c(0x13a),JSON[_0x33320c(0xd1)](_0x3a404e));const _0x9d8f69=this[_0x33320c(0x147)](_0x33320c(0xe0)+_0x542192+_0x33320c(0xed),_0x33320c(0xd0),_0x4be483);return{'getId':async()=>(await _0x9d8f69[_0x33320c(0x12f)])[_0x33320c(0x131)](),'abortController':_0x9d8f69[_0x33320c(0xec)]};}[_0x26b9bf(0x148)](_0xb75615,_0x3e5a91){const _0x4c0149=_0x26b9bf,_0x3edff6=this[_0x4c0149(0x147)](_0x4c0149(0xe0)+_0xb75615+_0x4c0149(0xe2)+_0x3e5a91,_0x4c0149(0x12e));return{'getDocument':async()=>(await _0x3edff6[_0x4c0149(0x12f)])[_0x4c0149(0x131)](),'abortController':_0x3edff6[_0x4c0149(0xec)]};}[_0x26b9bf(0xf3)](_0x620227,_0x30272e,_0x32254e){const _0x360dbd=_0x26b9bf,_0x38dae2={'content':_0x30272e};_0x32254e&&(_0x38dae2[_0x360dbd(0x13a)]=_0x32254e);const _0x20c82b=this[_0x360dbd(0x147)](_0x360dbd(0xe0)+_0x620227+_0x360dbd(0xeb),_0x360dbd(0xd0),_0x38dae2);return{'getId':async()=>(await _0x20c82b[_0x360dbd(0x12f)])[_0x360dbd(0x131)](),'abortController':_0x20c82b[_0x360dbd(0xec)]};}[_0x26b9bf(0x13c)](_0x219b9b,_0x5ec5f7={}){const _0x1c63fb=_0x26b9bf,_0x3d7ec9=new URLSearchParams();_0x3d7ec9[_0x1c63fb(0xdc)](_0x1c63fb(0x130),_0x219b9b),_0x3d7ec9[_0x1c63fb(0xdc)](_0x1c63fb(0xd2),!0x1!==_0x5ec5f7[_0x1c63fb(0xd2)]?_0x1c63fb(0x162):_0x1c63fb(0x11d)),_0x3d7ec9[_0x1c63fb(0xdc)](_0x1c63fb(0x140),_0x5ec5f7[_0x1c63fb(0x140)]?_0x5ec5f7[_0x1c63fb(0x140)][_0x1c63fb(0x10f)]():_0x1c63fb(0x123)),_0x3d7ec9[_0x1c63fb(0xdc)](_0x1c63fb(0x114),_0x5ec5f7[_0x1c63fb(0x114)]?_0x5ec5f7[_0x1c63fb(0x114)]:_0x1c63fb(0xef)),_0x3d7ec9[_0x1c63fb(0xdc)](_0x1c63fb(0x14f),_0x5ec5f7[_0x1c63fb(0x14f)]?_0x5ec5f7[_0x1c63fb(0x14f)]:_0x1c63fb(0x156));const _0x48db3e=this[_0x1c63fb(0x147)](_0x1c63fb(0x12a)+_0x3d7ec9[_0x1c63fb(0x10f)](),_0x1c63fb(0x12e));return{'getConversations':async()=>{const _0x2f4319=_0x1c63fb,_0x379c5b=await _0x48db3e[_0x2f4319(0x12f)];return(await _0x379c5b[_0x2f4319(0x131)]())[_0x2f4319(0x165)];},'abortController':_0x48db3e[_0x1c63fb(0xec)]};}[_0x26b9bf(0x14b)](_0x4ae12d){const _0x2c2ef1=_0x26b9bf,_0x390558=this[_0x2c2ef1(0x147)](_0x2c2ef1(0xe0)+_0x4ae12d,_0x2c2ef1(0x160));return{'execute':async()=>{const _0x299777=_0x2c2ef1;await _0x390558[_0x299777(0x12f)];},'abortController':_0x390558[_0x2c2ef1(0xec)]};}[_0x26b9bf(0x112)](_0x6156f,_0x1a555b){const _0x48e255=_0x26b9bf,_0x24d32b=this[_0x48e255(0x147)](_0x48e255(0xe0)+_0x6156f,_0x48e255(0x11b),_0x1a555b);return{'getResult':async()=>(await _0x24d32b[_0x48e255(0x12f)],_0x1a555b),'abortController':_0x24d32b[_0x48e255(0xec)]};}[_0x26b9bf(0x13b)](_0x25cbb0){const _0x2468e0=_0x26b9bf,_0x28a1cc=this[_0x2468e0(0x147)](_0x2468e0(0xe0)+_0x25cbb0,_0x2468e0(0x12e));return{'getConversation':async()=>(await _0x28a1cc[_0x2468e0(0x12f)])[_0x2468e0(0x131)](),'abortController':_0x28a1cc[_0x2468e0(0xec)]};}[_0x26b9bf(0xe9)](_0x3c45b1){const _0xdec652=_0x26b9bf,_0xa931bb=this[_0xdec652(0x147)](_0xdec652(0xe0)+_0x3c45b1+_0xdec652(0x12d),_0xdec652(0x12e));return{'getMessages':async()=>{const _0x288ccc=_0xdec652,_0x3ad7d6=await _0xa931bb[_0x288ccc(0x12f)];return(await _0x3ad7d6[_0x288ccc(0x131)]())[_0x288ccc(0x165)];},'abortController':_0xa931bb[_0xdec652(0xec)]};}[_0x26b9bf(0x116)](_0x50ff40,_0x271fa5,_0x4e831a){const _0x87b7=_0x26b9bf,_0x37316e=this[_0x87b7(0x147)](_0x87b7(0xe0)+_0x50ff40+_0x87b7(0xe8),_0x87b7(0xd0),{'url':_0x271fa5,'attributes':_0x4e831a});return{'getId':async()=>(await _0x37316e[_0x87b7(0x12f)])[_0x87b7(0x131)](),'abortController':_0x37316e[_0x87b7(0xec)]};}[_0x26b9bf(0xdf)](_0x145cf1='en'){const _0x330346=_0x26b9bf,_0x4d18dd=new URLSearchParams();_0x4d18dd[_0x330346(0xdc)](_0x330346(0x138),_0x145cf1);const _0x5b813d=_0x330346(0x144)+_0x4d18dd[_0x330346(0x10f)](),_0x4ca4d2=this[_0x330346(0x147)](_0x5b813d,_0x330346(0x12e));return{'list':async()=>await(await _0x4ca4d2[_0x330346(0x12f)])[_0x330346(0x131)](),'abortController':_0x4ca4d2[_0x330346(0xec)]};}[_0x26b9bf(0x105)](_0x4dd57f,_0xb6e374){const _0x242eda=_0x26b9bf,_0x266fa2=this[_0x242eda(0x147)](_0x242eda(0xe0)+_0x4dd57f+_0x242eda(0xd7)+_0xb6e374,_0x242eda(0x160));return{'execute':async()=>{const _0x4dca4a=_0x242eda;await _0x266fa2[_0x4dca4a(0x12f)];},'abortController':_0x266fa2[_0x242eda(0xec)]};}[_0x26b9bf(0x12c)](_0x1a054f,_0xdc7d0a){const _0xeb6b9=_0x26b9bf,_0x5b8b9a=this[_0xeb6b9(0x147)](_0xeb6b9(0xe0)+_0x1a054f+_0xeb6b9(0xe2)+_0xdc7d0a,_0xeb6b9(0x160));return{'execute':async()=>{const _0x15c26d=_0xeb6b9;await _0x5b8b9a[_0x15c26d(0x12f)];},'abortController':_0x5b8b9a[_0xeb6b9(0xec)]};}[_0x26b9bf(0x106)](_0x1fc32c,_0xda53de){const _0xf31953=_0x26b9bf,_0x2e2b7b=this[_0xf31953(0x147)](_0xf31953(0xe0)+_0x1fc32c+_0xf31953(0xf2)+_0xda53de,_0xf31953(0x160));return{'execute':async()=>{const _0x245b7a=_0xf31953;await _0x2e2b7b[_0x245b7a(0x12f)];},'abortController':_0x2e2b7b[_0xf31953(0xec)]};}[_0x26b9bf(0x146)]({reviewName:_0x2d7e3c,content:_0x1acfd8,args:_0x25691f}){const _0x1a8723=_0x26b9bf,_0x491beb=this[_0x1a8723(0x147)](_0x1a8723(0xda)+_0x2d7e3c+_0x1a8723(0x113),_0x1a8723(0xd0),{'content':[{'type':_0x1a8723(0x141),'content':_0x1acfd8}],'args':_0x25691f});return{'getStream':async()=>{const _0x1d935b=_0x1a8723,_0x1dc490=(await _0x491beb[_0x1d935b(0x12f)])[_0x1d935b(0x120)];return this[_0x1d935b(0xea)](_0x1dc490);},'abortController':_0x491beb[_0x1a8723(0xec)]};}[_0x26b9bf(0xcf)]({content:_0x18e7df,prompt:_0x29ce59,model:_0x9778a8}){const _0x7da8f5=_0x26b9bf,_0x558b4a=this[_0x7da8f5(0x147)](_0x7da8f5(0x11f),_0x7da8f5(0xd0),{'content':[{'type':_0x7da8f5(0x141),'content':_0x18e7df}],'prompt':_0x29ce59,'model':_0x9778a8});return{'getStream':async()=>{const _0x23a6b0=_0x7da8f5,_0x2bb7c8=(await _0x558b4a[_0x23a6b0(0x12f)])[_0x23a6b0(0x120)];return this[_0x23a6b0(0xea)](_0x2bb7c8);},'abortController':_0x558b4a[_0x7da8f5(0xec)]};}[_0x26b9bf(0xf5)](_0x4350da,_0x58fe70,_0x25fd73){const _0x193d2a=_0x26b9bf,_0x97657d=this[_0x193d2a(0x147)](_0x193d2a(0xe0)+_0x4350da+_0x193d2a(0x103)+_0x58fe70+_0x193d2a(0x10e),_0x193d2a(0x119),{'positiveCount':_0x25fd73[_0x193d2a(0xf9)],'totalCount':_0x25fd73[_0x193d2a(0x121)],'modificationId':_0x25fd73[_0x193d2a(0xf4)]});return{'execute':async()=>{const _0x42050e=_0x193d2a;await _0x97657d[_0x42050e(0x12f)];},'abortController':_0x97657d[_0x193d2a(0xec)]};}[_0x26b9bf(0x155)](_0x2363a7,_0x9a332c,_0x39d61a){const _0x564afc=_0x26b9bf,_0x4d46cd=this[_0x564afc(0x147)](_0x564afc(0x159)+_0x2363a7+_0x564afc(0xff)+_0x9a332c+_0x564afc(0x10e),_0x564afc(0x119),{'positiveCount':_0x39d61a[_0x564afc(0xf9)],'totalCount':_0x39d61a[_0x564afc(0x121)]});return{'execute':async()=>{const _0x453d70=_0x564afc;await _0x4d46cd[_0x453d70(0x12f)];},'abortController':_0x4d46cd[_0x564afc(0xec)]};}[_0x26b9bf(0xf7)](_0x28c24f,_0x2c8330){const _0x2cb7a1=_0x26b9bf,_0x1ec1dc=this[_0x2cb7a1(0x147)](_0x2cb7a1(0x126)+_0x28c24f+_0x2cb7a1(0x10e),_0x2cb7a1(0x119),{'positiveCount':_0x2c8330[_0x2cb7a1(0xf9)],'totalCount':_0x2c8330[_0x2cb7a1(0x121)]});return{'execute':async()=>{const _0xe327c2=_0x2cb7a1;await _0x1ec1dc[_0xe327c2(0x12f)];},'abortController':_0x1ec1dc[_0x2cb7a1(0xec)]};}[_0x26b9bf(0x15c)](_0x34f390,_0x2db6d0,_0x24d660,_0x468b22){const _0x1d5ecf=_0x26b9bf,_0x4c3d31=this[_0x1d5ecf(0x147)](_0x1d5ecf(0xda)+_0x34f390+_0x1d5ecf(0xff)+_0x2db6d0+_0x1d5ecf(0x10e),_0x1d5ecf(0x119),{'positiveCount':_0x24d660[_0x1d5ecf(0xf9)],'totalCount':_0x24d660[_0x1d5ecf(0x121)],'dataId':_0x468b22});return{'execute':async()=>{const _0x5a2ce8=_0x1d5ecf;await _0x4c3d31[_0x5a2ce8(0x12f)];},'abortController':_0x4c3d31[_0x1d5ecf(0xec)]};}[_0x26b9bf(0xfa)](_0x4c3e9a,_0x11b80c,_0x1e7c21){const _0x2cfa9e=_0x26b9bf,_0x1fe0e1=this[_0x2cfa9e(0x147)](_0x2cfa9e(0x134)+_0x4c3e9a+_0x2cfa9e(0x10e),_0x2cfa9e(0x119),{'positiveCount':_0x11b80c[_0x2cfa9e(0xf9)],'totalCount':_0x11b80c[_0x2cfa9e(0x121)],'dataId':_0x1e7c21});return{'execute':async()=>{const _0x16fad5=_0x2cfa9e;await _0x1fe0e1[_0x16fad5(0x12f)];},'abortController':_0x1fe0e1[_0x2cfa9e(0xec)]};}[_0x26b9bf(0x147)](_0x40db94,_0x574b08,_0x500018){const _0x183eca=_0x26b9bf,_0x390733=new AbortController(),_0x2031c5=_0x500018 instanceof FormData,_0x58f3da={'Authorization':_0x183eca(0xd9)+this[_0x183eca(0x127)]?.[_0x183eca(0xe1)]};_0x500018&&!_0x2031c5&&(_0x58f3da[_0x183eca(0x128)]=_0x183eca(0x115));const _0x321266={'method':_0x574b08,'headers':_0x58f3da,'signal':_0x390733[_0x183eca(0x137)]};return _0x500018&&(_0x321266[_0x183eca(0x120)]=_0x2031c5?_0x500018:JSON[_0x183eca(0xd1)](_0x500018)),{'request':fetch(''+this[_0x183eca(0x150)]+_0x40db94,_0x321266)[_0x183eca(0xe4)](_0x3f0021=>{const _0x3b3422=_0x183eca;this[_0x3b3422(0xf6)](_0x3f0021);})[_0x183eca(0x107)](_0x55a700=>_0x55a700['ok']?_0x55a700:_0x55a700[_0x183eca(0x131)]()[_0x183eca(0x107)](_0x3747b1=>{const _0x3edcb4=_0x183eca;throw{'url':this[_0x3edcb4(0x150)],'path':_0x40db94,'method':_0x574b08,'body':_0x500018,'status':(_0x55a700||{})[_0x3edcb4(0xd5)],'statusText':(_0x55a700||{})[_0x3edcb4(0x161)],'code':_0x3747b1[_0x3edcb4(0x13e)],'message':_0x3747b1[_0x3edcb4(0xf1)],'traceId':_0x3747b1[_0x3edcb4(0x145)]};})),'abortController':_0x390733};}async*[_0x26b9bf(0xea)](_0x46397b){const _0x390169=_0x26b9bf,_0x15e97c=[],_0x5217a4=_0x46397b[_0x390169(0x158)](),_0x37adc7=_0x56d860({'onError':_0x30d708=>{const _0xec6c43=_0x390169;this[_0xec6c43(0xf6)](_0x30d708);},'onEvent':_0x3f8826=>{const _0x354896=_0x390169;_0x3f8826[_0x354896(0x11e)]=JSON[_0x354896(0x125)](_0x3f8826[_0x354896(0x11e)]),_0x15e97c[_0x354896(0x15d)](_0x3f8826);}});try{let _0x114402=!0x1;for(;!_0x114402;){const {done:_0x21743d,value:_0x2ba962}=await _0x5217a4[_0x390169(0x10b)]();_0x21743d&&(_0x114402=!0x0),_0x37adc7[_0x390169(0x10d)](this[_0x390169(0x101)][_0x390169(0x164)](_0x2ba962,{'stream':!0x0})),yield*_0x15e97c,_0x15e97c[_0x390169(0xd8)]=0x0;}}catch(_0x368e58){this[_0x390169(0xf6)](_0x368e58);}finally{_0x5217a4[_0x390169(0xf0)](),_0x37adc7[_0x390169(0x133)]();}}[_0x26b9bf(0xf6)](_0x39c88f){const _0x6b0897=_0x26b9bf;if(_0x39c88f instanceof _0x4ee7e1)throw _0x39c88f;if(_0x39c88f instanceof Error&&_0x6b0897(0xf8)===_0x39c88f[_0x6b0897(0x110)])throw new _0x4ee7e1(_0x6b0897(0xdb),this,{'originalError':_0x39c88f});throw new _0x4ee7e1(_0x6b0897(0x149),this,{'originalError':_0x39c88f});}}
23
+ const _0x5675e2=_0x4700;function _0x1d27(){const _0x3bad56=['/documents/','positiveCount','Content-Type','upsertCustomAIReviewRating','/reviews/custom/calls','POST','949930fHXSAP','/calls/','code','init','message','sortBy','context','false','MAKE_LONGER','PUT','348392qBmPRj','deleteConversation','isPremiumPlugin','/messages','/files','isOfficialPlugin','upsertAIChatRating','/conversations','5fBWMoa','callSystemReview','_sendApiRequest','MAKE_SHORTER','_apiUrl','PATCH','1104724zRkhXw','fetchConversationMessages','_token','ai.serviceUrl','group','GET','status','body','fix-grammar','abortController','MAKE_TONE_FORMAL','executeCustomAction','2806311vobYKq','read','file','traceId','append','uploadDocument','/conversations?','/ratings','/calls','make-shorter','/reviews/system/','requires','application/json','config','/files/','/web-resources/','json','attributes','createdAt','order','DELETE','deleteDocument','uploadFile','upsertCustomAIActionRating','value','language','/messages/','https://ai.cke-cs.com/v1','_decoder','fetchDocument','make-tone-formal','feed','make-tone-casual','IMPROVE_WRITING','fetchConversation','ai-request-aborted','/actions/system/','100','statusText','length','deleteFile','name','signal','queryAssistant','Bearer\x20','upsertAIReviewRating','deleteWebResource','/conversations/','text','AIConnector','FIX_GRAMMAR','executeAction','ai-missing-token','pluginName','then','push','totalCount','translate','get','limit','/models/1?','stringify','startConversation','continue','toString','define','2896UwyfFV','uploadUrl','desc','data','callCustomReview','excludeEmpty','CONTINUE','modificationId','ai-request-failed','token','catch','MAKE_TONE_CASUAL','10260999AHuxLw','items','true','/reviews/custom/calls/','/documents','updateConversation','fetchConversations','make-longer','TRANSLATE','getReader','_handleError','plugins','20195loSGYT','_getStreamReader','/actions/custom/calls','request','1103226KPqjwY','reset','decode','improve-writing','/actions/custom/calls/','parse','upsertAIActionRating','releaseLock','CloudServices','AbortError','/web-resources','getModels'];_0x1d27=function(){return _0x3bad56;};return _0x1d27();}(function(_0x263377,_0x309d18){const _0x56bea7=_0x4700,_0x48eff2=_0x263377();while(!![]){try{const _0x3d103c=parseInt(_0x56bea7(0x105))/0x1+parseInt(_0x56bea7(0x11d))/0x2+-parseInt(_0x56bea7(0x129))/0x3+-parseInt(_0x56bea7(0x10f))/0x4+parseInt(_0x56bea7(0x117))/0x5*(parseInt(_0x56bea7(0xf3))/0x6)+parseInt(_0x56bea7(0xef))/0x7*(parseInt(_0x56bea7(0xd7))/0x8)+-parseInt(_0x56bea7(0xe3))/0x9;if(_0x3d103c===_0x309d18)break;else _0x48eff2['push'](_0x48eff2['shift']());}catch(_0x5618cb){_0x48eff2['push'](_0x48eff2['shift']());}}}(_0x1d27,0x8aa4f));import{createParser as _0x116244}from'eventsource-parser';import{ContextPlugin as _0x31d959}from'ckeditor5/src/core.js';import{CKEditorError as _0x2ee44f}from'ckeditor5/src/utils.js';function _0x4700(_0x4531b0,_0x4fb97c){const _0x1d2764=_0x1d27();return _0x4700=function(_0x470091,_0x49c0f1){_0x470091=_0x470091-0xc9;let _0x27965c=_0x1d2764[_0x470091];return _0x27965c;},_0x4700(_0x4531b0,_0x4fb97c);}export var AIActionsNames;!function(_0x457236){const _0x2cb3de=_0x4700;_0x457236[_0x2cb3de(0xdd)]=_0x2cb3de(0xd4),_0x457236[_0x2cb3de(0x15b)]=_0x2cb3de(0x125),_0x457236[_0x2cb3de(0x14a)]=_0x2cb3de(0xf6),_0x457236[_0x2cb3de(0x10d)]=_0x2cb3de(0xea),_0x457236[_0x2cb3de(0x11a)]=_0x2cb3de(0x132),_0x457236[_0x2cb3de(0xe2)]=_0x2cb3de(0x149),_0x457236[_0x2cb3de(0x127)]=_0x2cb3de(0x147),_0x457236[_0x2cb3de(0xeb)]=_0x2cb3de(0xce);}(AIActionsNames||(AIActionsNames={}));export class AIConnector extends _0x31d959{[_0x5675e2(0x11b)];[_0x5675e2(0x11f)];[_0x5675e2(0x145)];static get[_0x5675e2(0x134)](){const _0x12478a=_0x5675e2;return[_0x12478a(0xfb)];}static get[_0x5675e2(0xca)](){const _0xb29a16=_0x5675e2;return _0xb29a16(0x15a);}static get[_0x5675e2(0x114)](){return!0x0;}static get[_0x5675e2(0x111)](){return!0x0;}constructor(_0xedf475){const _0x3d3d5e=_0x5675e2;super(_0xedf475),this[_0x3d3d5e(0x10b)][_0x3d3d5e(0x136)][_0x3d3d5e(0xd6)](_0x3d3d5e(0x120),_0x3d3d5e(0x144)),this[_0x3d3d5e(0x11b)]=this[_0x3d3d5e(0x10b)][_0x3d3d5e(0x136)][_0x3d3d5e(0xcf)](_0x3d3d5e(0x120)),this[_0x3d3d5e(0x11f)]=null,this[_0x3d3d5e(0x145)]=new TextDecoder();}[_0x5675e2(0x108)](){const _0xd44f4c=_0x5675e2,_0x189bc7=this[_0xd44f4c(0x10b)][_0xd44f4c(0xee)][_0xd44f4c(0xcf)](_0xd44f4c(0xfb));if(!_0x189bc7[_0xd44f4c(0xe0)])throw new _0x2ee44f(_0xd44f4c(0xc9),this);this[_0xd44f4c(0x11f)]=_0x189bc7[_0xd44f4c(0xe0)];}[_0x5675e2(0xd3)](_0x477b1a,_0x42f471){const _0x1c7491=_0x5675e2,_0x46278e=this[_0x1c7491(0x119)](_0x1c7491(0x116),_0x1c7491(0x104),{'id':_0x477b1a,'group':_0x42f471});return{'getConversation':async()=>(await _0x46278e[_0x1c7491(0xf2)])[_0x1c7491(0x139)](),'abortController':_0x46278e[_0x1c7491(0x126)]};}[_0x5675e2(0x154)]({message:_0x46653d,conversationId:_0x51c68e,parts:_0x43f5c9,capabilities:_0x5dfdb5,model:_0x2e1f15,attributes:_0x3ee3d8}){const _0x59a00d=_0x5675e2,_0x46cbd7={'prompt':_0x46653d,'content':_0x43f5c9,'model':_0x2e1f15,..._0x5dfdb5&&{'capabilities':_0x5dfdb5},..._0x3ee3d8&&{'attributes':_0x3ee3d8}},_0x41cf83=this[_0x59a00d(0x119)](_0x59a00d(0x158)+_0x51c68e+_0x59a00d(0x112),_0x59a00d(0x104),_0x46cbd7);return{'getStream':async()=>{const _0x6dfb5d=_0x59a00d,_0x2c7dd7=(await _0x41cf83[_0x6dfb5d(0xf2)])[_0x6dfb5d(0x124)];return this[_0x6dfb5d(0xf0)](_0x2c7dd7);},'abortController':_0x41cf83[_0x59a00d(0x126)]};}[_0x5675e2(0x128)]({content:_0x184624,message:_0x3c3779,model:_0x191517,outputFormat:_0x2d818f}){const _0x54b113=_0x5675e2,_0x35defa={'content':[{'type':_0x54b113(0x159),'content':_0x184624}],'prompt':_0x3c3779,'model':_0x191517,'outputFormat':_0x2d818f},_0x50cda0=this[_0x54b113(0x119)](_0x54b113(0xf1),_0x54b113(0x104),_0x35defa);return{'getStream':async()=>{const _0x33a833=_0x54b113,_0x2c153f=(await _0x50cda0[_0x33a833(0xf2)])[_0x33a833(0x124)];return this[_0x33a833(0xf0)](_0x2c153f);},'abortController':_0x50cda0[_0x54b113(0x126)]};}[_0x5675e2(0x15c)]({actionName:_0x360e56,content:_0xa92739,args:_0x521415}){const _0x26fc9c=_0x5675e2,_0x2edb49={'content':[{'type':_0x26fc9c(0x159),'content':_0xa92739}],'args':_0x521415},_0x381011=this[_0x26fc9c(0x119)](_0x26fc9c(0x14d)+_0x360e56+_0x26fc9c(0x131),_0x26fc9c(0x104),_0x2edb49);return{'getStream':async()=>{const _0x4f1333=_0x26fc9c,_0x2f229b=(await _0x381011[_0x4f1333(0xf2)])[_0x4f1333(0x124)];return this[_0x4f1333(0xf0)](_0x2f229b);},'abortController':_0x381011[_0x26fc9c(0x126)]};}[_0x5675e2(0x13f)](_0x1d7933,_0x4a3062,_0x7ed8f0){const _0x57932a=_0x5675e2,_0x36cf72=new FormData();_0x36cf72[_0x57932a(0x12d)](_0x57932a(0x12b),_0x4a3062,_0x4a3062[_0x57932a(0x152)]),_0x7ed8f0&&_0x36cf72[_0x57932a(0x12d)](_0x57932a(0x13a),JSON[_0x57932a(0xd2)](_0x7ed8f0));const _0x5817c9=this[_0x57932a(0x119)](_0x57932a(0x158)+_0x1d7933+_0x57932a(0x113),_0x57932a(0x104),_0x36cf72);return{'getId':async()=>(await _0x5817c9[_0x57932a(0xf2)])[_0x57932a(0x139)](),'abortController':_0x5817c9[_0x57932a(0x126)]};}[_0x5675e2(0x146)](_0x4a99d5,_0x1a3bf6){const _0x86ce8a=_0x5675e2,_0x25d78e=this[_0x86ce8a(0x119)](_0x86ce8a(0x158)+_0x4a99d5+_0x86ce8a(0xff)+_0x1a3bf6,_0x86ce8a(0x122));return{'getDocument':async()=>(await _0x25d78e[_0x86ce8a(0xf2)])[_0x86ce8a(0x139)](),'abortController':_0x25d78e[_0x86ce8a(0x126)]};}[_0x5675e2(0x12e)](_0xa3a3f4,_0x16d0a3,_0x439ad4){const _0x4fc1a8=_0x5675e2,_0x1c9919={'content':_0x16d0a3};_0x439ad4&&(_0x1c9919[_0x4fc1a8(0x13a)]=_0x439ad4);const _0x5513f1=this[_0x4fc1a8(0x119)](_0x4fc1a8(0x158)+_0xa3a3f4+_0x4fc1a8(0xe7),_0x4fc1a8(0x104),_0x1c9919);return{'getId':async()=>(await _0x5513f1[_0x4fc1a8(0xf2)])[_0x4fc1a8(0x139)](),'abortController':_0x5513f1[_0x4fc1a8(0x126)]};}[_0x5675e2(0xe9)](_0x2f36e4,_0x578fae={}){const _0x73dfcf=_0x5675e2,_0x647ccc=new URLSearchParams();_0x647ccc[_0x73dfcf(0x12d)](_0x73dfcf(0x121),_0x2f36e4),_0x647ccc[_0x73dfcf(0x12d)](_0x73dfcf(0xdc),!0x1!==_0x578fae[_0x73dfcf(0xdc)]?_0x73dfcf(0xe5):_0x73dfcf(0x10c)),_0x647ccc[_0x73dfcf(0x12d)](_0x73dfcf(0xd0),_0x578fae[_0x73dfcf(0xd0)]?_0x578fae[_0x73dfcf(0xd0)][_0x73dfcf(0xd5)]():_0x73dfcf(0x14e)),_0x647ccc[_0x73dfcf(0x12d)](_0x73dfcf(0x10a),_0x578fae[_0x73dfcf(0x10a)]?_0x578fae[_0x73dfcf(0x10a)]:_0x73dfcf(0x13b)),_0x647ccc[_0x73dfcf(0x12d)](_0x73dfcf(0x13c),_0x578fae[_0x73dfcf(0x13c)]?_0x578fae[_0x73dfcf(0x13c)]:_0x73dfcf(0xd9));const _0xeee441=this[_0x73dfcf(0x119)](_0x73dfcf(0x12f)+_0x647ccc[_0x73dfcf(0xd5)](),_0x73dfcf(0x122));return{'getConversations':async()=>{const _0x27afb3=_0x73dfcf,_0x5cd64c=await _0xeee441[_0x27afb3(0xf2)];return(await _0x5cd64c[_0x27afb3(0x139)]())[_0x27afb3(0xe4)];},'abortController':_0xeee441[_0x73dfcf(0x126)]};}[_0x5675e2(0x110)](_0x223cf7){const _0x5a1523=_0x5675e2,_0x2c9d98=this[_0x5a1523(0x119)](_0x5a1523(0x158)+_0x223cf7,_0x5a1523(0x13d));return{'execute':async()=>{const _0x4d7358=_0x5a1523;await _0x2c9d98[_0x4d7358(0xf2)];},'abortController':_0x2c9d98[_0x5a1523(0x126)]};}[_0x5675e2(0xe8)](_0x31794b,_0xe3e94e){const _0x452301=_0x5675e2,_0x4d3038=this[_0x452301(0x119)](_0x452301(0x158)+_0x31794b,_0x452301(0x11c),_0xe3e94e);return{'getResult':async()=>(await _0x4d3038[_0x452301(0xf2)],_0xe3e94e),'abortController':_0x4d3038[_0x452301(0x126)]};}[_0x5675e2(0x14b)](_0x4838d8){const _0x5d482a=_0x5675e2,_0xeac45a=this[_0x5d482a(0x119)](_0x5d482a(0x158)+_0x4838d8,_0x5d482a(0x122));return{'getConversation':async()=>(await _0xeac45a[_0x5d482a(0xf2)])[_0x5d482a(0x139)](),'abortController':_0xeac45a[_0x5d482a(0x126)]};}[_0x5675e2(0x11e)](_0x59e3e4){const _0x210a0f=_0x5675e2,_0x2c0839=this[_0x210a0f(0x119)](_0x210a0f(0x158)+_0x59e3e4+_0x210a0f(0x112),_0x210a0f(0x122));return{'getMessages':async()=>{const _0x2fd891=_0x210a0f,_0x1cd7f1=await _0x2c0839[_0x2fd891(0xf2)];return(await _0x1cd7f1[_0x2fd891(0x139)]())[_0x2fd891(0xe4)];},'abortController':_0x2c0839[_0x210a0f(0x126)]};}[_0x5675e2(0xd8)](_0x2cca1e,_0x39681b,_0x56cd25){const _0x109242=_0x5675e2,_0x576e17=this[_0x109242(0x119)](_0x109242(0x158)+_0x2cca1e+_0x109242(0xfd),_0x109242(0x104),{'url':_0x39681b,'attributes':_0x56cd25});return{'getId':async()=>(await _0x576e17[_0x109242(0xf2)])[_0x109242(0x139)](),'abortController':_0x576e17[_0x109242(0x126)]};}[_0x5675e2(0xfe)](_0x325491='en'){const _0x50967a=_0x5675e2,_0x2ff444=new URLSearchParams();_0x2ff444[_0x50967a(0x12d)](_0x50967a(0x142),_0x325491);const _0x503017=_0x50967a(0xd1)+_0x2ff444[_0x50967a(0xd5)](),_0x45d117=this[_0x50967a(0x119)](_0x503017,_0x50967a(0x122));return{'list':async()=>await(await _0x45d117[_0x50967a(0xf2)])[_0x50967a(0x139)](),'abortController':_0x45d117[_0x50967a(0x126)]};}[_0x5675e2(0x151)](_0x50bf3b,_0x3bbadf){const _0x27c601=_0x5675e2,_0xebef1=this[_0x27c601(0x119)](_0x27c601(0x158)+_0x50bf3b+_0x27c601(0x137)+_0x3bbadf,_0x27c601(0x13d));return{'execute':async()=>{const _0x32abfb=_0x27c601;await _0xebef1[_0x32abfb(0xf2)];},'abortController':_0xebef1[_0x27c601(0x126)]};}[_0x5675e2(0x13e)](_0x5317e2,_0x3b86c4){const _0x4db183=_0x5675e2,_0xa426e8=this[_0x4db183(0x119)](_0x4db183(0x158)+_0x5317e2+_0x4db183(0xff)+_0x3b86c4,_0x4db183(0x13d));return{'execute':async()=>{const _0x49a88e=_0x4db183;await _0xa426e8[_0x49a88e(0xf2)];},'abortController':_0xa426e8[_0x4db183(0x126)]};}[_0x5675e2(0x157)](_0x50dfa4,_0x800aaa){const _0x5f4d01=_0x5675e2,_0x218ebf=this[_0x5f4d01(0x119)](_0x5f4d01(0x158)+_0x50dfa4+_0x5f4d01(0x138)+_0x800aaa,_0x5f4d01(0x13d));return{'execute':async()=>{const _0x6cffa8=_0x5f4d01;await _0x218ebf[_0x6cffa8(0xf2)];},'abortController':_0x218ebf[_0x5f4d01(0x126)]};}[_0x5675e2(0x118)]({reviewName:_0x4fb017,content:_0x2f6121,args:_0x1c3fba}){const _0x9f8063=_0x5675e2,_0x1c4343=this[_0x9f8063(0x119)](_0x9f8063(0x133)+_0x4fb017+_0x9f8063(0x131),_0x9f8063(0x104),{'content':[{'type':_0x9f8063(0x159),'content':_0x2f6121}],'args':_0x1c3fba});return{'getStream':async()=>{const _0x1f6b72=_0x9f8063,_0x412e1f=(await _0x1c4343[_0x1f6b72(0xf2)])[_0x1f6b72(0x124)];return this[_0x1f6b72(0xf0)](_0x412e1f);},'abortController':_0x1c4343[_0x9f8063(0x126)]};}[_0x5675e2(0xdb)]({content:_0x10938c,prompt:_0x3f927f,model:_0x4aadd4}){const _0xbc7694=_0x5675e2,_0x3fb328=this[_0xbc7694(0x119)](_0xbc7694(0x103),_0xbc7694(0x104),{'content':[{'type':_0xbc7694(0x159),'content':_0x10938c}],'prompt':_0x3f927f,'model':_0x4aadd4});return{'getStream':async()=>{const _0x1978e6=_0xbc7694,_0x166e1c=(await _0x3fb328[_0x1978e6(0xf2)])[_0x1978e6(0x124)];return this[_0x1978e6(0xf0)](_0x166e1c);},'abortController':_0x3fb328[_0xbc7694(0x126)]};}[_0x5675e2(0x115)](_0x4cae41,_0x5bf594,_0x317ca2){const _0x3f65d1=_0x5675e2,_0x99763=this[_0x3f65d1(0x119)](_0x3f65d1(0x158)+_0x4cae41+_0x3f65d1(0x143)+_0x5bf594+_0x3f65d1(0x130),_0x3f65d1(0x10e),{'positiveCount':_0x317ca2[_0x3f65d1(0x100)],'totalCount':_0x317ca2[_0x3f65d1(0xcd)],'modificationId':_0x317ca2[_0x3f65d1(0xde)]});return{'execute':async()=>{const _0x1bb0c5=_0x3f65d1;await _0x99763[_0x1bb0c5(0xf2)];},'abortController':_0x99763[_0x3f65d1(0x126)]};}[_0x5675e2(0xf9)](_0x1ac477,_0x418c63,_0x2f5c1c){const _0xac6c1e=_0x5675e2,_0x176da7=this[_0xac6c1e(0x119)](_0xac6c1e(0x14d)+_0x1ac477+_0xac6c1e(0x106)+_0x418c63+_0xac6c1e(0x130),_0xac6c1e(0x10e),{'positiveCount':_0x2f5c1c[_0xac6c1e(0x100)],'totalCount':_0x2f5c1c[_0xac6c1e(0xcd)]});return{'execute':async()=>{const _0x5960c8=_0xac6c1e;await _0x176da7[_0x5960c8(0xf2)];},'abortController':_0x176da7[_0xac6c1e(0x126)]};}[_0x5675e2(0x140)](_0x1261af,_0x47cc3f){const _0x28a99b=_0x5675e2,_0x3dc2aa=this[_0x28a99b(0x119)](_0x28a99b(0xf7)+_0x1261af+_0x28a99b(0x130),_0x28a99b(0x10e),{'positiveCount':_0x47cc3f[_0x28a99b(0x100)],'totalCount':_0x47cc3f[_0x28a99b(0xcd)]});return{'execute':async()=>{const _0x2b94c9=_0x28a99b;await _0x3dc2aa[_0x2b94c9(0xf2)];},'abortController':_0x3dc2aa[_0x28a99b(0x126)]};}[_0x5675e2(0x156)](_0x137446,_0x406c95,_0xdf0ffd,_0x301e12){const _0x1bba88=_0x5675e2,_0x33c81d=this[_0x1bba88(0x119)](_0x1bba88(0x133)+_0x137446+_0x1bba88(0x106)+_0x406c95+_0x1bba88(0x130),_0x1bba88(0x10e),{'positiveCount':_0xdf0ffd[_0x1bba88(0x100)],'totalCount':_0xdf0ffd[_0x1bba88(0xcd)],'dataId':_0x301e12});return{'execute':async()=>{const _0x2010d4=_0x1bba88;await _0x33c81d[_0x2010d4(0xf2)];},'abortController':_0x33c81d[_0x1bba88(0x126)]};}[_0x5675e2(0x102)](_0x20dd1c,_0x5c797c,_0x3aac00){const _0x380bb7=_0x5675e2,_0x12a71f=this[_0x380bb7(0x119)](_0x380bb7(0xe6)+_0x20dd1c+_0x380bb7(0x130),_0x380bb7(0x10e),{'positiveCount':_0x5c797c[_0x380bb7(0x100)],'totalCount':_0x5c797c[_0x380bb7(0xcd)],'dataId':_0x3aac00});return{'execute':async()=>{const _0x410128=_0x380bb7;await _0x12a71f[_0x410128(0xf2)];},'abortController':_0x12a71f[_0x380bb7(0x126)]};}[_0x5675e2(0x119)](_0x22b721,_0x2317c4,_0x125fe3){const _0x2bff70=_0x5675e2,_0x5791b4=new AbortController(),_0x366c89=_0x125fe3 instanceof FormData,_0x5ad354={'Authorization':_0x2bff70(0x155)+this[_0x2bff70(0x11f)]?.[_0x2bff70(0x141)]};_0x125fe3&&!_0x366c89&&(_0x5ad354[_0x2bff70(0x101)]=_0x2bff70(0x135));const _0x3ff381={'method':_0x2317c4,'headers':_0x5ad354,'signal':_0x5791b4[_0x2bff70(0x153)]};return _0x125fe3&&(_0x3ff381[_0x2bff70(0x124)]=_0x366c89?_0x125fe3:JSON[_0x2bff70(0xd2)](_0x125fe3)),{'request':fetch(''+this[_0x2bff70(0x11b)]+_0x22b721,_0x3ff381)[_0x2bff70(0xe1)](_0x4a3982=>{const _0x30f3e9=_0x2bff70;this[_0x30f3e9(0xed)](_0x4a3982);})[_0x2bff70(0xcb)](_0x3e50b1=>_0x3e50b1['ok']?_0x3e50b1:_0x3e50b1[_0x2bff70(0x139)]()[_0x2bff70(0xcb)](_0xce09d5=>{const _0x22af2f=_0x2bff70;throw{'url':this[_0x22af2f(0x11b)],'path':_0x22b721,'method':_0x2317c4,'body':_0x125fe3,'status':(_0x3e50b1||{})[_0x22af2f(0x123)],'statusText':(_0x3e50b1||{})[_0x22af2f(0x14f)],'code':_0xce09d5[_0x22af2f(0x107)],'message':_0xce09d5[_0x22af2f(0x109)],'traceId':_0xce09d5[_0x22af2f(0x12c)]};})),'abortController':_0x5791b4};}async*[_0x5675e2(0xf0)](_0x24e7f7){const _0x52b253=_0x5675e2,_0x22f111=[],_0x218c00=_0x24e7f7[_0x52b253(0xec)](),_0x593f5b=_0x116244({'onError':_0x19955d=>{const _0x28f709=_0x52b253;this[_0x28f709(0xed)](_0x19955d);},'onEvent':_0x5ece40=>{const _0x5a0a9a=_0x52b253;_0x5ece40[_0x5a0a9a(0xda)]=JSON[_0x5a0a9a(0xf8)](_0x5ece40[_0x5a0a9a(0xda)]),_0x22f111[_0x5a0a9a(0xcc)](_0x5ece40);}});try{let _0x87a74f=!0x1;for(;!_0x87a74f;){const {done:_0x3c13ba,value:_0x7e03a5}=await _0x218c00[_0x52b253(0x12a)]();_0x3c13ba&&(_0x87a74f=!0x0),_0x593f5b[_0x52b253(0x148)](this[_0x52b253(0x145)][_0x52b253(0xf5)](_0x7e03a5,{'stream':!0x0})),yield*_0x22f111,_0x22f111[_0x52b253(0x150)]=0x0;}}catch(_0x20061b){this[_0x52b253(0xed)](_0x20061b);}finally{_0x218c00[_0x52b253(0xfa)](),_0x593f5b[_0x52b253(0xf4)]();}}[_0x5675e2(0xed)](_0x2009c9){const _0x27fcf3=_0x5675e2;if(_0x2009c9 instanceof _0x2ee44f)throw _0x2009c9;if(_0x2009c9 instanceof Error&&_0x27fcf3(0xfc)===_0x2009c9[_0x27fcf3(0x152)])throw new _0x2ee44f(_0x27fcf3(0x14c),this,{'originalError':_0x2009c9});throw new _0x2ee44f(_0x27fcf3(0xdf),this,{'originalError':_0x2009c9});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4dd393=_0x11f3;(function(_0x370787,_0x550678){const _0x394dea=_0x11f3,_0x580fd2=_0x370787();while(!![]){try{const _0x5bbc11=-parseInt(_0x394dea(0x138))/0x1*(parseInt(_0x394dea(0x10f))/0x2)+-parseInt(_0x394dea(0xf2))/0x3+parseInt(_0x394dea(0x122))/0x4*(-parseInt(_0x394dea(0xdd))/0x5)+parseInt(_0x394dea(0x10d))/0x6*(-parseInt(_0x394dea(0x12a))/0x7)+parseInt(_0x394dea(0x139))/0x8+parseInt(_0x394dea(0x104))/0x9+-parseInt(_0x394dea(0x109))/0xa*(-parseInt(_0x394dea(0x148))/0xb);if(_0x5bbc11===_0x550678)break;else _0x580fd2['push'](_0x580fd2['shift']());}catch(_0x305b5b){_0x580fd2['push'](_0x580fd2['shift']());}}}(_0xa2da,0x91b21));function _0xa2da(){const _0xb5363f=['for','model','containerElement','data','getRoot','end','plugins','9360828maIsNV','getRanges','emptyElement',':start></','trim','80HczlmD','view','start','convertAiChatSelectionMarker','1206rpwtlN','editors','143006livwwD','context','ck-ai-assistant-ui_theme','getSelection','dataDowncast','push','editingDowncast','getChildren','removeMarker','conversion','createUIElement','_getMarkersInDocumentOrder','isBefore','listenTo','pluginName','schema','fromCharCode','markerName','config','1431212heBHod','from','createRange','afterInit','locale','showFakeVisualSelection','isAfter','isAtEnd','21889ykJmyn','isOpening','_outputDataProcessor','toView','ai-selection:','getItems','change','toData','length','substring','hideFakeVisualSelection','_setDataIdsOnChildren','name','_sessionId','2kprEQZ','4880088yjAEai','removeAllRanges','setAttribute','domConverter','define',':end></','add','ck-fake-ai-selection','isContent','getDocumentData','version','element','ai-selection','indexOf','_displayedFakeSelectionId','1345443GgXfNB','ready','AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','random','data-id','getHtml','viewToDom','addMarker','sessionId','floor','5dHVsyH','getLastMatchingPosition','markerToElement','has','ai.models.showModelSelector','RealTimeCollaborationClient','markers','document','_setOutputDataProcessor','isPremiumPlugin','$textProxy','getStart','isOfficialPlugin','_integrateEditor','getMarkersGroup','selection','_getDocumentDataStringFromView','getSelectionText','_nextDataId','join','AIEditing','2707506eIwNoB',':start>','htmlWriter','_displayedFakeSelectionLocked','get','editing',':end>','processor','sort','modelToDataWithIds','markerToHighlight'];_0xa2da=function(){return _0xb5363f;};return _0xa2da();}import{ViewDowncastWriter as _0x58b373}from'ckeditor5/src/engine.js';import{ContextPlugin as _0x4628c2,Editor as _0x1c152e}from'ckeditor5/src/core.js';function _0x11f3(_0x4a710a,_0x41afcd){const _0xa2da83=_0xa2da();return _0x11f3=function(_0x11f329,_0x5cf11f){_0x11f329=_0x11f329-0xda;let _0x56defe=_0xa2da83[_0x11f329];return _0x56defe;},_0x11f3(_0x4a710a,_0x41afcd);}import{uid as _0x1d17e6}from'ckeditor5/src/utils.js';import{getTranslation as _0x8fed0d}from'./utils/common-translations.js';import{getEditorFromContext as _0x1cc823}from'./utils/geteditorfromcontext.js';export const AI_VISUAL_SELECTION_MARKER_NAME=_0x4dd393(0x145);export class AIEditing extends _0x4628c2{constructor(_0x3cbe43){const _0x49b516=_0x4dd393;super(_0x3cbe43),this[_0x49b516(0x110)][_0x49b516(0x121)][_0x49b516(0x13d)](_0x49b516(0xe1),!0x0);}[_0x4dd393(0x12c)];[_0x4dd393(0x147)]=null;[_0x4dd393(0xf5)]=!0x1;[_0x4dd393(0x137)];static get[_0x4dd393(0x11d)](){const _0x51cb43=_0x4dd393;return _0x51cb43(0xf1);}static get[_0x4dd393(0xe9)](){return!0x0;}static get[_0x4dd393(0xe6)](){return!0x0;}get[_0x4dd393(0xdb)](){const _0x5722c0=_0x4dd393;if(!this[_0x5722c0(0x137)]){const _0x25f715=_0x1cc823(this[_0x5722c0(0x110)]),_0x1d822d=_0x25f715[_0x5722c0(0x103)][_0x5722c0(0xe0)](_0x5722c0(0xe2))&&_0x25f715[_0x5722c0(0x103)][_0x5722c0(0xf6)](_0x5722c0(0xe2))[_0x5722c0(0xdb)];this[_0x5722c0(0x137)]=_0x1d822d||_0x1d17e6();}return this[_0x5722c0(0x137)];}async[_0x4dd393(0x142)](){const _0x3494b5=_0x4dd393,_0x3a348a=_0x1cc823(this[_0x3494b5(0x110)]),_0x391ada=_0x3a348a[_0x3494b5(0xfe)],_0x3d5a12=_0x3a348a[_0x3494b5(0x100)][_0x3494b5(0x12d)](_0x391ada[_0x3494b5(0xe4)][_0x3494b5(0x101)](),{'convertAiChatSelectionMarker':!0x0}),_0x3e0495=new _0x58b373(_0x3a348a[_0x3494b5(0xf7)][_0x3494b5(0x10a)][_0x3494b5(0xe4)]);this[_0x3494b5(0x135)](_0x3d5a12,_0x3e0495);let _0x3857bd=await this[_0x3494b5(0xed)](_0x3d5a12);const _0x2b5ee6=this[_0x3494b5(0x11a)](),_0xdd09b5=[];for(const _0x3cdeda of _0x2b5ee6){const _0x2f04a8='<'+_0x3cdeda[_0x3494b5(0x136)]+_0x3494b5(0x107)+_0x3cdeda[_0x3494b5(0x136)]+_0x3494b5(0xf3),_0x49d3bc=_0x3857bd[_0x3494b5(0x146)](_0x2f04a8);_0x3857bd=_0x3857bd[_0x3494b5(0x133)](0x0,_0x49d3bc)+_0x3857bd[_0x3494b5(0x133)](_0x49d3bc+_0x2f04a8[_0x3494b5(0x132)]);const _0x53353e='<'+_0x3cdeda[_0x3494b5(0x136)]+_0x3494b5(0x13e)+_0x3cdeda[_0x3494b5(0x136)]+_0x3494b5(0xf8),_0x2dca5b=_0x3857bd[_0x3494b5(0x146)](_0x53353e);_0x3857bd=_0x3857bd[_0x3494b5(0x133)](0x0,_0x2dca5b)+_0x3857bd[_0x3494b5(0x133)](_0x2dca5b+_0x53353e[_0x3494b5(0x132)]),_0xdd09b5[_0x3494b5(0x114)]({'markerName':_0x3cdeda[_0x3494b5(0x136)],'start':_0x49d3bc,'end':_0x2dca5b,'htmlFragment':_0x3857bd[_0x3494b5(0x133)](_0x49d3bc,_0x2dca5b)});}return{'content':_0x3857bd,'version':_0x3a348a[_0x3494b5(0xfe)][_0x3494b5(0xe4)][_0x3494b5(0x143)],'sessionId':this[_0x3494b5(0xdb)],'selections':_0xdd09b5};}async[_0x4dd393(0x125)](){const _0x49fc4f=_0x4dd393;this[_0x49fc4f(0x110)]instanceof _0x1c152e?this[_0x49fc4f(0xea)](this[_0x49fc4f(0x110)]):this[_0x49fc4f(0x11c)](this[_0x49fc4f(0x110)][_0x49fc4f(0x10e)],_0x49fc4f(0x13f),(_0x11a068,_0x2be589)=>{const _0x291db0=_0x49fc4f;_0x2be589['on'](_0x291db0(0x149),()=>{const _0x15d76e=_0x291db0;this[_0x15d76e(0xea)](_0x2be589);});});}[_0x4dd393(0xe5)](_0x18b7a1){const _0x5bc00e=_0x4dd393;this[_0x5bc00e(0x12c)]=_0x18b7a1;}async[_0x4dd393(0xed)](_0x94925b){const _0x261ee1=_0x4dd393;let _0x188d6d;const _0x35af04=_0x1cc823(this[_0x261ee1(0x110)]);if(this[_0x261ee1(0x12c)]){const _0x11cde3=_0x35af04[_0x261ee1(0x100)][_0x261ee1(0xf9)][_0x261ee1(0x13c)][_0x261ee1(0x14e)](_0x94925b),_0x1376b4=await this[_0x261ee1(0x12c)](_0x11cde3);_0x188d6d=_0x35af04[_0x261ee1(0x100)][_0x261ee1(0xf9)][_0x261ee1(0xf4)][_0x261ee1(0x14d)](_0x1376b4);}else _0x188d6d=_0x35af04[_0x261ee1(0x100)][_0x261ee1(0xf9)][_0x261ee1(0x131)](_0x94925b);return _0x188d6d;}[_0x4dd393(0xea)](_0x290ed9){const _0x4bdc17=_0x4dd393;_0x290ed9[_0x4bdc17(0x118)][_0x4bdc17(0xfd)](_0x4bdc17(0x115))[_0x4bdc17(0xfc)]({'model':_0x4bdc17(0x145),'view':{'classes':[_0x4bdc17(0x140),_0x4bdc17(0x111)],'priority':0xc}}),_0x290ed9[_0x4bdc17(0x118)][_0x4bdc17(0xfd)](_0x4bdc17(0x113))[_0x4bdc17(0xdf)]({'model':_0x4bdc17(0x145),'view':(_0x3287ea,{writer:_0x43e203,options:_0x4d528b})=>_0x4d528b[_0x4bdc17(0x10c)]?_0x43e203[_0x4bdc17(0x119)](_0x3287ea[_0x4bdc17(0x120)]+':'+(_0x3287ea[_0x4bdc17(0x12b)]?_0x4bdc17(0x10b):_0x4bdc17(0x102))):null});}[_0x4dd393(0x127)](_0x422952,_0x476dbc,_0x495020=!0x1,_0x239a08=!0x1){const _0xb4b89c=_0x4dd393;if(this[_0xb4b89c(0xf5)]&&!_0x239a08)return!0x1;const _0x1811aa=_0x1cc823(this[_0xb4b89c(0x110)])[_0xb4b89c(0xfe)];return _0x1811aa[_0xb4b89c(0x130)](_0x7ee61=>{const _0x2b62d0=_0xb4b89c;this[_0x2b62d0(0x147)]&&this[_0x2b62d0(0x134)](this[_0x2b62d0(0x147)]),this[_0x2b62d0(0x147)]=_0x476dbc,this[_0x2b62d0(0xf5)]=_0x495020;let _0x51db61=0x0;for(let _0x28bc9c of _0x422952){const _0x5b4383=_0x2b62d0(0x12e)+_0x51db61;if(_0x28bc9c[_0x2b62d0(0x10b)][_0x2b62d0(0x129)]){const _0x885963=_0x28bc9c[_0x2b62d0(0x10b)][_0x2b62d0(0xde)](({item:_0xe52266})=>!_0x1811aa[_0x2b62d0(0x11e)][_0x2b62d0(0x141)](_0xe52266),{'boundaries':_0x28bc9c});_0x28bc9c=_0x7ee61[_0x2b62d0(0x124)](_0x885963,_0x28bc9c[_0x2b62d0(0x102)]);}_0x7ee61[_0x2b62d0(0xda)](_0x5b4383,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x28bc9c}),_0x51db61++;}}),window[_0xb4b89c(0x112)]()?.[_0xb4b89c(0x13a)](),!0x0;}[_0x4dd393(0x134)](_0x374841){const _0x262813=_0x4dd393;if(this[_0x262813(0x147)]!=_0x374841)return!0x1;this[_0x262813(0x147)]=null,this[_0x262813(0xf5)]=!0x1;const _0x2316a3=_0x1cc823(this[_0x262813(0x110)]),_0x192b44=_0x2316a3[_0x262813(0xfe)][_0x262813(0xe3)][_0x262813(0xeb)](_0x262813(0x145));return _0x2316a3[_0x262813(0xfe)][_0x262813(0x130)](_0x23341b=>{const _0x28f626=_0x262813;for(const _0x31bed9 of _0x192b44)_0x23341b[_0x28f626(0x117)](_0x31bed9);}),!0x0;}async[_0x4dd393(0xfb)](_0x192211){const _0x402c96=_0x4dd393,_0x3bf3e7=_0x1cc823(this[_0x402c96(0x110)]),_0x4f0507=_0x3bf3e7[_0x402c96(0x100)][_0x402c96(0x12d)](_0x192211),_0x25751a=new _0x58b373(_0x3bf3e7[_0x402c96(0xf7)][_0x402c96(0x10a)][_0x402c96(0xe4)]);return this[_0x402c96(0x135)](_0x4f0507,_0x25751a),this[_0x402c96(0xed)](_0x4f0507);}[_0x4dd393(0x135)](_0x52967f,_0x1223d5){const _0x100625=_0x4dd393;let _0x2685ec=!0x1;const _0x3925cc=new Set();for(const _0x1351df of _0x52967f[_0x100625(0x116)]()){const _0x1e9378=_0x1351df['is'](_0x100625(0x106))||_0x1351df['is'](_0x100625(0xff));if(!_0x1351df['is'](_0x100625(0x144)))continue;(this[_0x100625(0x135)](_0x1351df,_0x1223d5)||_0x1e9378)&&(_0x1223d5[_0x100625(0x13b)](_0x100625(0x14c),this[_0x100625(0xef)](_0x3925cc),_0x1351df),_0x2685ec=!0x0);}return _0x2685ec;}[_0x4dd393(0xef)](_0x47cf4a){const _0x1d8a77=_0x4dd393;let _0x47cefd;do{_0x47cefd='';for(let _0x4f3aec=0x0;_0x4f3aec<0x4;_0x4f3aec++)_0x47cefd+=String[_0x1d8a77(0x11f)](0x61+Math[_0x1d8a77(0xdc)](0x1a*Math[_0x1d8a77(0x14b)]()));}while(_0x47cf4a[_0x1d8a77(0xe0)](_0x47cefd));return _0x47cf4a[_0x1d8a77(0x13f)](_0x47cefd),_0x47cefd;}[_0x4dd393(0xee)](){const _0xf90b50=_0x4dd393,{model:_0x1b4770}=_0x1cc823(this[_0xf90b50(0x110)]),_0x3a03d5=_0x1b4770[_0xf90b50(0xe4)][_0xf90b50(0xec)],_0x5f0638=[];for(const _0x45d786 of _0x3a03d5[_0xf90b50(0x105)]())for(const _0x17bd79 of _0x45d786[_0xf90b50(0x12f)]())_0x17bd79['is'](_0xf90b50(0xe7))?_0x5f0638[_0xf90b50(0x114)](_0x17bd79[_0xf90b50(0x100)]):_0x17bd79['is'](_0xf90b50(0x144))&&_0x5f0638[_0xf90b50(0x132)]>0x0&&'\x20'!==_0x5f0638[_0x5f0638[_0xf90b50(0x132)]-0x1]&&_0x5f0638[_0xf90b50(0x114)]('\x20');return _0x5f0638[_0xf90b50(0x132)]?'\x22'+_0x5f0638[_0xf90b50(0xf0)]('')[_0xf90b50(0x108)]()+'\x22':_0x8fed0d(this[_0xf90b50(0x110)][_0xf90b50(0x126)],_0xf90b50(0x14a));}[_0x4dd393(0x11a)](){const _0x5b9d85=_0x4dd393,_0x4747f4=_0x1cc823(this[_0x5b9d85(0x110)])[_0x5b9d85(0xfe)];return Array[_0x5b9d85(0x123)](_0x4747f4[_0x5b9d85(0xe3)][_0x5b9d85(0xeb)](_0x5b9d85(0x145)))[_0x5b9d85(0xfa)]((_0x50bdf5,_0x283ec5)=>_0x50bdf5[_0x5b9d85(0xe8)]()[_0x5b9d85(0x11b)](_0x283ec5[_0x5b9d85(0xe8)]())?-0x1:_0x50bdf5[_0x5b9d85(0xe8)]()[_0x5b9d85(0x128)](_0x283ec5[_0x5b9d85(0xe8)]())?0x1:0x0);}}
23
+ function _0x185a(){const _0x1de68a=['locale','plugins','markerName','ai-selection:','getSelection','define','50982600VTOjVH','getRanges','change','removeAllRanges','substring','isOfficialPlugin','getRoot','from','trim','version','listenTo','context','markerToElement','pluginName','data','setAttribute','createRange','sessionId','domConverter','ai-selection','toData','toView','view','length','dataDowncast','editingDowncast','4XyBxUs','addMarker','722504lCleSN','_setDataIdsOnChildren','indexOf','emptyElement','document','70585iupEaR','getChildren','modelToDataWithIds','AIEditing','containerElement','sort','_displayedFakeSelectionLocked','editors','random','start','add','_integrateEditor','element','convertAiChatSelectionMarker','_outputDataProcessor','_displayedFakeSelectionId','getStart','floor','viewToDom','data-id','push','2261505UFZmXs','_getDocumentDataStringFromView','getHtml','config','28816yQJuRe',':start></','getSelectionText','AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','processor',':end></','fromCharCode','model','172zXvoTj','3987NfsPcB','isBefore','afterInit','selection','end','conversion','_setOutputDataProcessor','6046848hBneLp','markers','markerToHighlight','isAfter','name','htmlWriter','$textProxy','get','removeMarker','getDocumentData','showFakeVisualSelection','isOpening','ck-fake-ai-selection','ai.models.showModelSelector','_nextDataId','getItems','RealTimeCollaborationClient','hideFakeVisualSelection','getMarkersGroup','isContent','ck-ai-assistant-ui_theme','join','isAtEnd','ready','_getMarkersInDocumentOrder','createUIElement','editing',':start>','has','_sessionId','schema','8000041kUIBSl','getLastMatchingPosition','for','isPremiumPlugin',':end>'];_0x185a=function(){return _0x1de68a;};return _0x185a();}const _0x310faa=_0x4c12;(function(_0x162085,_0x3f5dea){const _0x38cf5b=_0x4c12,_0x51c8c3=_0x162085();while(!![]){try{const _0x5ddeb2=parseInt(_0x38cf5b(0xf2))/0x1*(-parseInt(_0x38cf5b(0xf4))/0x2)+-parseInt(_0x38cf5b(0x10e))/0x3+parseInt(_0x38cf5b(0xa6))/0x4*(-parseInt(_0x38cf5b(0xf9))/0x5)+-parseInt(_0x38cf5b(0xae))/0x6+parseInt(_0x38cf5b(0xcd))/0x7+parseInt(_0x38cf5b(0x112))/0x8*(-parseInt(_0x38cf5b(0xa7))/0x9)+parseInt(_0x38cf5b(0xd8))/0xa;if(_0x5ddeb2===_0x3f5dea)break;else _0x51c8c3['push'](_0x51c8c3['shift']());}catch(_0x5763d0){_0x51c8c3['push'](_0x51c8c3['shift']());}}}(_0x185a,0xcb10b));import{ViewDowncastWriter as _0x2f6821}from'ckeditor5/src/engine.js';import{ContextPlugin as _0x310d8f,Editor as _0x214077}from'ckeditor5/src/core.js';import{uid as _0x40ca1d}from'ckeditor5/src/utils.js';function _0x4c12(_0x13f835,_0xbd9289){const _0x185a79=_0x185a();return _0x4c12=function(_0x4c128c,_0x119d38){_0x4c128c=_0x4c128c-0xa3;let _0x5123bd=_0x185a79[_0x4c128c];return _0x5123bd;},_0x4c12(_0x13f835,_0xbd9289);}import{getTranslation as _0x3e2707}from'./utils/common-translations.js';import{getEditorFromContext as _0x46b53e}from'./utils/geteditorfromcontext.js';export const AI_VISUAL_SELECTION_MARKER_NAME=_0x310faa(0xeb);export class AIEditing extends _0x310d8f{constructor(_0x5ade15){const _0x1a403e=_0x310faa;super(_0x5ade15),this[_0x1a403e(0xe3)][_0x1a403e(0x111)][_0x1a403e(0xd7)](_0x1a403e(0xbb),!0x0);}[_0x310faa(0x107)];[_0x310faa(0x108)]=null;[_0x310faa(0xff)]=!0x1;[_0x310faa(0xcb)];static get[_0x310faa(0xe5)](){const _0x2e503d=_0x310faa;return _0x2e503d(0xfc);}static get[_0x310faa(0xdd)](){return!0x0;}static get[_0x310faa(0xd0)](){return!0x0;}get[_0x310faa(0xe9)](){const _0x163fbb=_0x310faa;if(!this[_0x163fbb(0xcb)]){const _0x3870d7=_0x46b53e(this[_0x163fbb(0xe3)]),_0x233f91=_0x3870d7[_0x163fbb(0xd3)][_0x163fbb(0xca)](_0x163fbb(0xbe))&&_0x3870d7[_0x163fbb(0xd3)][_0x163fbb(0xb5)](_0x163fbb(0xbe))[_0x163fbb(0xe9)];this[_0x163fbb(0xcb)]=_0x233f91||_0x40ca1d();}return this[_0x163fbb(0xcb)];}async[_0x310faa(0xb7)](){const _0x213e24=_0x310faa,_0x56e1e6=_0x46b53e(this[_0x213e24(0xe3)]),_0x1302fe=_0x56e1e6[_0x213e24(0xa5)],_0x187958=_0x56e1e6[_0x213e24(0xe6)][_0x213e24(0xed)](_0x1302fe[_0x213e24(0xf8)][_0x213e24(0xde)](),{'convertAiChatSelectionMarker':!0x0}),_0x3005be=new _0x2f6821(_0x56e1e6[_0x213e24(0xc8)][_0x213e24(0xee)][_0x213e24(0xf8)]);this[_0x213e24(0xf5)](_0x187958,_0x3005be);let _0x42973f=await this[_0x213e24(0x10f)](_0x187958);const _0x1f1873=this[_0x213e24(0xc6)](),_0x25dc56=[];for(const _0x13f42d of _0x1f1873){const _0x2790c1='<'+_0x13f42d[_0x213e24(0xb2)]+_0x213e24(0x113)+_0x13f42d[_0x213e24(0xb2)]+_0x213e24(0xc9),_0x1ae46a=_0x42973f[_0x213e24(0xf6)](_0x2790c1);_0x42973f=_0x42973f[_0x213e24(0xdc)](0x0,_0x1ae46a)+_0x42973f[_0x213e24(0xdc)](_0x1ae46a+_0x2790c1[_0x213e24(0xef)]);const _0x2252ad='<'+_0x13f42d[_0x213e24(0xb2)]+_0x213e24(0xa3)+_0x13f42d[_0x213e24(0xb2)]+_0x213e24(0xd1),_0x2fa7ff=_0x42973f[_0x213e24(0xf6)](_0x2252ad);_0x42973f=_0x42973f[_0x213e24(0xdc)](0x0,_0x2fa7ff)+_0x42973f[_0x213e24(0xdc)](_0x2fa7ff+_0x2252ad[_0x213e24(0xef)]),_0x25dc56[_0x213e24(0x10d)]({'markerName':_0x13f42d[_0x213e24(0xb2)],'start':_0x1ae46a,'end':_0x2fa7ff,'htmlFragment':_0x42973f[_0x213e24(0xdc)](_0x1ae46a,_0x2fa7ff)});}return{'content':_0x42973f,'version':_0x56e1e6[_0x213e24(0xa5)][_0x213e24(0xf8)][_0x213e24(0xe1)],'sessionId':this[_0x213e24(0xe9)],'selections':_0x25dc56};}async[_0x310faa(0xa9)](){const _0x28ea3a=_0x310faa;this[_0x28ea3a(0xe3)]instanceof _0x214077?this[_0x28ea3a(0x104)](this[_0x28ea3a(0xe3)]):this[_0x28ea3a(0xe2)](this[_0x28ea3a(0xe3)][_0x28ea3a(0x100)],_0x28ea3a(0x103),(_0x2d197a,_0x477198)=>{const _0x6a6393=_0x28ea3a;_0x477198['on'](_0x6a6393(0xc5),()=>{const _0x466dac=_0x6a6393;this[_0x466dac(0x104)](_0x477198);});});}[_0x310faa(0xad)](_0x40bd2f){const _0x42d306=_0x310faa;this[_0x42d306(0x107)]=_0x40bd2f;}async[_0x310faa(0x10f)](_0xc6c5c0){const _0x4d06d6=_0x310faa;let _0x1e1b0d;const _0x4c4769=_0x46b53e(this[_0x4d06d6(0xe3)]);if(this[_0x4d06d6(0x107)]){const _0x70a1b7=_0x4c4769[_0x4d06d6(0xe6)][_0x4d06d6(0x116)][_0x4d06d6(0xea)][_0x4d06d6(0x10b)](_0xc6c5c0),_0x4a7230=await this[_0x4d06d6(0x107)](_0x70a1b7);_0x1e1b0d=_0x4c4769[_0x4d06d6(0xe6)][_0x4d06d6(0x116)][_0x4d06d6(0xb3)][_0x4d06d6(0x110)](_0x4a7230);}else _0x1e1b0d=_0x4c4769[_0x4d06d6(0xe6)][_0x4d06d6(0x116)][_0x4d06d6(0xec)](_0xc6c5c0);return _0x1e1b0d;}[_0x310faa(0x104)](_0x4d7c7c){const _0xe8b5d5=_0x310faa;_0x4d7c7c[_0xe8b5d5(0xac)][_0xe8b5d5(0xcf)](_0xe8b5d5(0xf1))[_0xe8b5d5(0xb0)]({'model':_0xe8b5d5(0xeb),'view':{'classes':[_0xe8b5d5(0xba),_0xe8b5d5(0xc2)],'priority':0xc}}),_0x4d7c7c[_0xe8b5d5(0xac)][_0xe8b5d5(0xcf)](_0xe8b5d5(0xf0))[_0xe8b5d5(0xe4)]({'model':_0xe8b5d5(0xeb),'view':(_0x886195,{writer:_0x29b8c7,options:_0x2d622d})=>_0x2d622d[_0xe8b5d5(0x106)]?_0x29b8c7[_0xe8b5d5(0xc7)](_0x886195[_0xe8b5d5(0xd4)]+':'+(_0x886195[_0xe8b5d5(0xb9)]?_0xe8b5d5(0x102):_0xe8b5d5(0xab))):null});}[_0x310faa(0xb8)](_0x5620c0,_0x42d842,_0x57f824=!0x1,_0x3d9f4c=!0x1){const _0x3e7730=_0x310faa;if(this[_0x3e7730(0xff)]&&!_0x3d9f4c)return!0x1;const _0x1678ea=_0x46b53e(this[_0x3e7730(0xe3)])[_0x3e7730(0xa5)];return _0x1678ea[_0x3e7730(0xda)](_0x50cd6f=>{const _0x227baf=_0x3e7730;this[_0x227baf(0x108)]&&this[_0x227baf(0xbf)](this[_0x227baf(0x108)]),this[_0x227baf(0x108)]=_0x42d842,this[_0x227baf(0xff)]=_0x57f824;let _0x3ae111=0x0;for(let _0x3f150b of _0x5620c0){const _0x5954f4=_0x227baf(0xd5)+_0x3ae111;if(_0x3f150b[_0x227baf(0x102)][_0x227baf(0xc4)]){const _0x3e81c3=_0x3f150b[_0x227baf(0x102)][_0x227baf(0xce)](({item:_0x3dc5ef})=>!_0x1678ea[_0x227baf(0xcc)][_0x227baf(0xc1)](_0x3dc5ef),{'boundaries':_0x3f150b});_0x3f150b=_0x50cd6f[_0x227baf(0xe8)](_0x3e81c3,_0x3f150b[_0x227baf(0xab)]);}_0x50cd6f[_0x227baf(0xf3)](_0x5954f4,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3f150b}),_0x3ae111++;}}),window[_0x3e7730(0xd6)]()?.[_0x3e7730(0xdb)](),!0x0;}[_0x310faa(0xbf)](_0x3e7751){const _0x40c331=_0x310faa;if(this[_0x40c331(0x108)]!=_0x3e7751)return!0x1;this[_0x40c331(0x108)]=null,this[_0x40c331(0xff)]=!0x1;const _0x4c4878=_0x46b53e(this[_0x40c331(0xe3)]),_0x53591a=_0x4c4878[_0x40c331(0xa5)][_0x40c331(0xaf)][_0x40c331(0xc0)](_0x40c331(0xeb));return _0x4c4878[_0x40c331(0xa5)][_0x40c331(0xda)](_0x19a9d8=>{const _0xa507cb=_0x40c331;for(const _0xb29aa3 of _0x53591a)_0x19a9d8[_0xa507cb(0xb6)](_0xb29aa3);}),!0x0;}async[_0x310faa(0xfb)](_0x49d926){const _0x122446=_0x310faa,_0xdf2fe5=_0x46b53e(this[_0x122446(0xe3)]),_0xb5b4a5=_0xdf2fe5[_0x122446(0xe6)][_0x122446(0xed)](_0x49d926),_0x500309=new _0x2f6821(_0xdf2fe5[_0x122446(0xc8)][_0x122446(0xee)][_0x122446(0xf8)]);return this[_0x122446(0xf5)](_0xb5b4a5,_0x500309),this[_0x122446(0x10f)](_0xb5b4a5);}[_0x310faa(0xf5)](_0x80ebc8,_0x6efd3c){const _0x4e1598=_0x310faa;let _0x58714d=!0x1;const _0x3b2b32=new Set();for(const _0xa320a7 of _0x80ebc8[_0x4e1598(0xfa)]()){const _0x670d26=_0xa320a7['is'](_0x4e1598(0xf7))||_0xa320a7['is'](_0x4e1598(0xfd));if(!_0xa320a7['is'](_0x4e1598(0x105)))continue;(this[_0x4e1598(0xf5)](_0xa320a7,_0x6efd3c)||_0x670d26)&&(_0x6efd3c[_0x4e1598(0xe7)](_0x4e1598(0x10c),this[_0x4e1598(0xbc)](_0x3b2b32),_0xa320a7),_0x58714d=!0x0);}return _0x58714d;}[_0x310faa(0xbc)](_0x3a7680){const _0x5f07bb=_0x310faa;let _0x324bba;do{_0x324bba='';for(let _0x709046=0x0;_0x709046<0x4;_0x709046++)_0x324bba+=String[_0x5f07bb(0xa4)](0x61+Math[_0x5f07bb(0x10a)](0x1a*Math[_0x5f07bb(0x101)]()));}while(_0x3a7680[_0x5f07bb(0xca)](_0x324bba));return _0x3a7680[_0x5f07bb(0x103)](_0x324bba),_0x324bba;}[_0x310faa(0x114)](){const _0x55ff4e=_0x310faa,{model:_0x2405e2}=_0x46b53e(this[_0x55ff4e(0xe3)]),_0x4bdb7a=_0x2405e2[_0x55ff4e(0xf8)][_0x55ff4e(0xaa)],_0xd0778e=[];for(const _0x3a8686 of _0x4bdb7a[_0x55ff4e(0xd9)]())for(const _0x4dbe26 of _0x3a8686[_0x55ff4e(0xbd)]())_0x4dbe26['is'](_0x55ff4e(0xb4))?_0xd0778e[_0x55ff4e(0x10d)](_0x4dbe26[_0x55ff4e(0xe6)]):_0x4dbe26['is'](_0x55ff4e(0x105))&&_0xd0778e[_0x55ff4e(0xef)]>0x0&&'\x20'!==_0xd0778e[_0xd0778e[_0x55ff4e(0xef)]-0x1]&&_0xd0778e[_0x55ff4e(0x10d)]('\x20');return _0xd0778e[_0x55ff4e(0xef)]?'\x22'+_0xd0778e[_0x55ff4e(0xc3)]('')[_0x55ff4e(0xe0)]()+'\x22':_0x3e2707(this[_0x55ff4e(0xe3)][_0x55ff4e(0xd2)],_0x55ff4e(0x115));}[_0x310faa(0xc6)](){const _0x3a6103=_0x310faa,_0x5b62b5=_0x46b53e(this[_0x3a6103(0xe3)])[_0x3a6103(0xa5)];return Array[_0x3a6103(0xdf)](_0x5b62b5[_0x3a6103(0xaf)][_0x3a6103(0xc0)](_0x3a6103(0xeb)))[_0x3a6103(0xfe)]((_0x14842b,_0x23b180)=>_0x14842b[_0x3a6103(0x109)]()[_0x3a6103(0xa8)](_0x23b180[_0x3a6103(0x109)]())?-0x1:_0x14842b[_0x3a6103(0x109)]()[_0x3a6103(0xb1)](_0x23b180[_0x3a6103(0x109)]())?0x1:0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)]()));}}
23
+ function _0x41fd(_0x1c6a5e,_0xc29e5a){const _0x1e4645=_0x1e46();return _0x41fd=function(_0x41fd79,_0x4fa38f){_0x41fd79=_0x41fd79-0x1e0;let _0x178c39=_0x1e4645[_0x41fd79];return _0x178c39;},_0x41fd(_0x1c6a5e,_0xc29e5a);}const _0x14f560=_0x41fd;(function(_0x297eb4,_0x308ea2){const _0x109a1e=_0x41fd,_0x49a59a=_0x297eb4();while(!![]){try{const _0x28a735=-parseInt(_0x109a1e(0x1fb))/0x1*(parseInt(_0x109a1e(0x1f8))/0x2)+parseInt(_0x109a1e(0x1e4))/0x3*(-parseInt(_0x109a1e(0x1ee))/0x4)+parseInt(_0x109a1e(0x1e2))/0x5*(-parseInt(_0x109a1e(0x1e3))/0x6)+parseInt(_0x109a1e(0x1f2))/0x7+-parseInt(_0x109a1e(0x1f3))/0x8*(-parseInt(_0x109a1e(0x1f6))/0x9)+parseInt(_0x109a1e(0x1f4))/0xa*(-parseInt(_0x109a1e(0x1f5))/0xb)+parseInt(_0x109a1e(0x1f7))/0xc;if(_0x28a735===_0x308ea2)break;else _0x49a59a['push'](_0x49a59a['shift']());}catch(_0x247e4c){_0x49a59a['push'](_0x49a59a['shift']());}}}(_0x1e46,0xa977e));import{EmitterMixin as _0x1a5493}from'ckeditor5/src/utils.js';export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x14f560(0x1f1)];export class AICapabilities extends _0x1a5493(){[_0x14f560(0x1ea)];[_0x14f560(0x1ef)];constructor(){const _0x113603=_0x14f560;super(),this[_0x113603(0x1ea)]=!0x1,this[_0x113603(0x1ef)]=!0x1;}[_0x14f560(0x1ec)](){const _0x2f95ce=_0x14f560;this[_0x2f95ce(0x1e8)]();}[_0x14f560(0x1e8)](){const _0xacacb9=_0x14f560;this[_0xacacb9(0x1e7)](!0x1),this[_0xacacb9(0x1e0)](!0x1);}[_0x14f560(0x1e5)](){const _0x3b9005=_0x14f560;return{'isWebSearchEnabled':this[_0x3b9005(0x1ea)],'isReasoningEnabled':this[_0x3b9005(0x1ef)]};}static[_0x14f560(0x1e1)](_0x39b1ae){const _0x4e6222=_0x14f560,_0x4706ee={};return _0x39b1ae&&_0x39b1ae[_0x4e6222(0x1eb)]&&(_0x4706ee[_0x4e6222(0x1e6)]={}),_0x39b1ae&&_0x39b1ae[_0x4e6222(0x1ed)]&&(_0x4706ee[_0x4e6222(0x1e9)]={}),_0x4706ee;}[_0x14f560(0x1fa)](){const _0x412df1=_0x14f560;this[_0x412df1(0x1e7)](!this[_0x412df1(0x1ea)]);}[_0x14f560(0x1f9)](){const _0x3c9a2a=_0x14f560;this[_0x3c9a2a(0x1e0)](!this[_0x3c9a2a(0x1ef)]);}[_0x14f560(0x1e7)](_0x586c05){const _0xfeaa6f=_0x14f560;_0x586c05!==this[_0xfeaa6f(0x1ea)]&&(this[_0xfeaa6f(0x1ea)]=_0x586c05,this[_0xfeaa6f(0x1f0)](_0xfeaa6f(0x1f1),this[_0xfeaa6f(0x1e5)]()));}[_0x14f560(0x1e0)](_0x519b9b){const _0x196662=_0x14f560;_0x519b9b!==this[_0x196662(0x1ef)]&&(this[_0x196662(0x1ef)]=_0x519b9b,this[_0x196662(0x1f0)](_0x196662(0x1f1),this[_0x196662(0x1e5)]()));}}function _0x1e46(){const _0x19056d=['getCapabilitiesRequestData','465535uuHUrZ','18CQNYLd','3164025KRdGRB','getCapabilitiesConfig','webSearch','setWebSearch','reset','reasoning','_isWebSearchEnabled','isWebSearchEnabled','init','isReasoningEnabled','4PNjYCZ','_isReasoningEnabled','fire','capabilitiesUpdated','8579438xAKSQX','88zmenIA','190VCfxtD','740465pzxRrB','9738kvCRNG','25578612GLzZEt','4426Eqremg','toggleReasoning','toggleWebSearch','28wQtUYK','setReasoning'];_0x1e46=function(){return _0x19056d;};return _0x1e46();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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={}));
23
+ (function(_0x29929f,_0x265b45){var _0x49aee5=_0x2535,_0xf9c0ca=_0x29929f();while(!![]){try{var _0xbba965=-parseInt(_0x49aee5(0xc1))/0x1+-parseInt(_0x49aee5(0xc2))/0x2*(parseInt(_0x49aee5(0xd1))/0x3)+parseInt(_0x49aee5(0xc6))/0x4+parseInt(_0x49aee5(0xd9))/0x5+-parseInt(_0x49aee5(0xd0))/0x6*(-parseInt(_0x49aee5(0xcf))/0x7)+-parseInt(_0x49aee5(0xc5))/0x8+-parseInt(_0x49aee5(0xd6))/0x9*(parseInt(_0x49aee5(0xc8))/0xa);if(_0xbba965===_0x265b45)break;else _0xf9c0ca['push'](_0xf9c0ca['shift']());}catch(_0x37d35a){_0xf9c0ca['push'](_0xf9c0ca['shift']());}}}(_0x1a48,0x20245));export var AIContextItemType;!function(_0x9776a7){var _0x49e58d=_0x2535;_0x9776a7[_0x49e58d(0xcb)]=_0x49e58d(0xd2),_0x9776a7[_0x49e58d(0xc9)]=_0x49e58d(0xd5),_0x9776a7[_0x49e58d(0xd7)]=_0x49e58d(0xc0),_0x9776a7[_0x49e58d(0xcd)]=_0x49e58d(0xc7),_0x9776a7[_0x49e58d(0xd8)]=_0x49e58d(0xc4),_0x9776a7[_0x49e58d(0xcc)]=_0x49e58d(0xca);}(AIContextItemType||(AIContextItemType={}));export var AIContextTextResourceType;function _0x2535(_0x5b654d,_0x2c7406){var _0x1a480f=_0x1a48();return _0x2535=function(_0x253523,_0x4bfd08){_0x253523=_0x253523-0xc0;var _0x5d02f2=_0x1a480f[_0x253523];return _0x5d02f2;},_0x2535(_0x5b654d,_0x2c7406);}!function(_0x4f457e){var _0x4991b6=_0x2535;_0x4f457e[_0x4991b6(0xd8)]=_0x4991b6(0xc4),_0x4f457e[_0x4991b6(0xd3)]=_0x4991b6(0xd4),_0x4f457e[_0x4991b6(0xce)]=_0x4991b6(0xc3);}(AIContextTextResourceType||(AIContextTextResourceType={}));function _0x1a48(){var _0x97e718=['19626PmmbCq','1653eDKfFB','mcp-tool-context','MARKDOWN','markdown','file','9ewksNj','DOCUMENT','TEXT','779305YZnGbm','document','76367oGLvBf','878KRIjdr','html','text','466136nPMQsR','740712EgvvwP','web-resource','454780OlXKUP','FILE','selection','TOOL','SELECTION','URL','HTML','455DugBom'];_0x1a48=function(){return _0x97e718;};return _0x1a48();}