@ckeditor/ckeditor5-ai 47.6.2-alpha.1 → 47.7.0-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 _0x436e5b=_0x36c6;(function(_0x23a6e2,_0x3eebdc){const _0x13294f=_0x36c6,_0x2c4e03=_0x23a6e2();while(!![]){try{const _0x5eb82d=parseInt(_0x13294f(0x133))/0x1*(parseInt(_0x13294f(0x128))/0x2)+-parseInt(_0x13294f(0x101))/0x3+parseInt(_0x13294f(0xd4))/0x4+-parseInt(_0x13294f(0xde))/0x5+-parseInt(_0x13294f(0xe3))/0x6*(-parseInt(_0x13294f(0xfc))/0x7)+parseInt(_0x13294f(0x12b))/0x8*(-parseInt(_0x13294f(0x132))/0x9)+-parseInt(_0x13294f(0xfa))/0xa*(parseInt(_0x13294f(0xec))/0xb);if(_0x5eb82d===_0x3eebdc)break;else _0x2c4e03['push'](_0x2c4e03['shift']());}catch(_0x1e66ab){_0x2c4e03['push'](_0x2c4e03['shift']());}}}(_0x22b1,0x31f8c));import{ListItemView as _0x39fd4e,HighlightedTextView as _0x259fad,ButtonView as _0xe25d9b,ListView as _0x52f0ae,IconView as _0x37bae0,createDropdown as _0x4b6045,InputTextView as _0x2b0e75}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x2ebeb7,IconPin as _0x2f6d1c,IconCheck as _0x34174a,IconCancel as _0x3f6ef0}from'ckeditor5/src/icons.js';function _0x22b1(){const _0x343dba=['_createEditInputView','AI_CHAT_HISTORY_PIN_BUTTON','5769kDJPUO','4swztfs','focus','AI_CHAT_HISTORY_CANCEL','label','1064448hyghKB','match','createCollection','bindTemplate','updateLoadingState','then','_createCheckView','edit:cancel','AI_CHAT_HISTORY_REMOVE','isMatching','1378360PfRymB','ck-ai-chat-history__item-actions','ck-ai-chat-history__item-title','mainContent','AI_CHAT_HISTORY_REMOVE_CONFIRM','2199228YRaSOI','setTemplate','AI_CHAT_HISTORY_LOADING_REMOVING','_createMenuDropdownView','updateTitle','extendTemplate','tiny','_createAcceptEditButtonView','text','209aMgqwq','AI_CHAT_HISTORY_LOADING_RENAMING','ck-ai-chat-history__item-check-container','execute','ck-ai-chat-history__item-row','removeConversation','click','div','loadingState','ck-ai-loader__text','ck-ai-chat-history__item--edit','showConfirm','listitem','span','41570XtChOP','clear','7HFkxJn','withText','LOADING_LABELS','ck-ai-loader','ck-confirm-view-submit','66048xyDipU','isOn','addMany','ck-ai-chat-history__item-content','ck-confirm-view-cancel','change:isEdit','highlightText','_createSpinnerView','value','panelPosition','element','items','AI_CHAT_HISTORY_LOADING_UNPINNING','ck-ai-chat-history__item-date','children','Enter','key','panelView','pinned','buttonView','locale','set','isEdit','add','_commitEditInputValue','setConversationPinned','fire','selectConversation','actions','ck-hidden','ck-ai-chat-history__item-main-content','ck-ai-chat-history__item-check','editConversationTitle','_createCancelEditButtonView','_createPinButtonView','AI_CHAT_HISTORY_ACCEPT','AI_CHAT_HISTORY_EDIT_NAME','AI_CHAT_HISTORY_LOADING_PINNING','ck-ai-chat-history__item','131718pxmbvy','string','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','3928eZWqMz','ck-ai-chat-history__item--active','bind','_titleView','isVisible'];_0x22b1=function(){return _0x343dba;};return _0x22b1();}import{LateFocusDropdownButtonView as _0x44863b,ConfirmMixin as _0x5c82b0}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x36c6(_0x3890a8,_0x3cc1ae){const _0x22b195=_0x22b1();return _0x36c6=function(_0x36c6d0,_0x494754){_0x36c6d0=_0x36c6d0-0xd2;let _0x1b69dc=_0x22b195[_0x36c6d0];return _0x1b69dc;},_0x36c6(_0x3890a8,_0x3cc1ae);}import{escape as _0x22bd9a}from'es-toolkit/compat';import{AISpinnerView as _0x424b91}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x55b9c5}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
- _0x5c82b0(_0x39fd4e){['id'];static [_0x436e5b(0xfe)]={'remove':_0x436e5b(0xe5),'rename':_0x436e5b(0xed),'pin':_0x436e5b(0x126),'unpin':_0x436e5b(0x10d)};[_0x436e5b(0x11d)];[_0x436e5b(0xe1)];[_0x436e5b(0x12e)];constructor(_0x1fba04,_0x2b5add){const _0x4480c2=_0x436e5b;super(_0x1fba04);const _0x7daf5e=this[_0x4480c2(0xd7)];this[_0x4480c2(0x116)](_0x4480c2(0x117),!0x1),this[_0x4480c2(0x116)](_0x4480c2(0x12f),!0x0),this[_0x4480c2(0x116)](_0x4480c2(0x113),!!_0x2b5add[_0x4480c2(0x113)]),this[_0x4480c2(0x116)](_0x4480c2(0xf4),null),this['id']=_0x2b5add['id'];const {title:_0x3568b2,createdAt:_0xa7113c,active:_0x288bf0=!0x1}=_0x2b5add;this[_0x4480c2(0x12e)]=new _0x259fad(),this[_0x4480c2(0x12e)][_0x4480c2(0xeb)]=_0x3568b2,this[_0x4480c2(0x12e)][_0x4480c2(0xe8)]({'attributes':{'class':[_0x4480c2(0xe0)]}});const _0x3cc0d9=this[_0x4480c2(0xda)](),_0x1ac2bb=this[_0x4480c2(0x123)](_0x1fba04),_0x414923=this[_0x4480c2(0xe6)](),_0x5da7e9=this[_0x4480c2(0x130)](_0x1fba04,_0x3568b2),_0xe86d19=this[_0x4480c2(0xea)](_0x1fba04,_0x5da7e9),_0xf3bbf6=this[_0x4480c2(0x122)](_0x1fba04,_0x5da7e9);this[_0x4480c2(0x11d)]=this[_0x4480c2(0xd6)](),this[_0x4480c2(0xe1)]=this[_0x4480c2(0xd6)](),this[_0x4480c2(0xe1)][_0x4480c2(0x118)](this[_0x4480c2(0x12e)]),this[_0x4480c2(0x11d)][_0x4480c2(0x118)](_0x1ac2bb),this[_0x4480c2(0x11d)][_0x4480c2(0x118)](_0x414923),this['on'](_0x4480c2(0x106),(_0xb04654,_0x45c346,_0x5815c6)=>{const _0x482296=_0x4480c2;this[_0x482296(0x11d)][_0x482296(0xfb)](),this[_0x482296(0xe1)][_0x482296(0xfb)](),_0x5815c6?(this[_0x482296(0x11d)][_0x482296(0x118)](_0xe86d19),this[_0x482296(0x11d)][_0x482296(0x118)](_0xf3bbf6),this[_0x482296(0xe1)][_0x482296(0x118)](_0x5da7e9),_0x5da7e9[_0x482296(0x10b)][_0x482296(0x134)]()):(this[_0x482296(0x11d)][_0x482296(0x118)](_0x1ac2bb),this[_0x482296(0x11d)][_0x482296(0x118)](_0x414923),this[_0x482296(0xe1)][_0x482296(0x118)](this[_0x482296(0x12e)]));}),this[_0x4480c2(0xe4)]({'tag':'li','attributes':{'class':[_0x4480c2(0x127),_0x288bf0?_0x4480c2(0x12c):'',_0x7daf5e['if'](_0x4480c2(0x12f),_0x4480c2(0x11e),_0x10270d=>!_0x10270d),_0x7daf5e['if'](_0x4480c2(0x117),_0x4480c2(0xf6))],'role':_0x4480c2(0xf8)},'children':[{'tag':_0x4480c2(0xf9),'attributes':{'class':[_0x4480c2(0xee)]},'children':[{'tag':_0x4480c2(0xf3),'attributes':{'class':[_0x4480c2(0x120),_0x7daf5e['if'](_0x4480c2(0xf4),_0x4480c2(0x11e),_0x1a52cc=>!!_0x1a52cc)]},'children':_0x288bf0?[_0x3cc0d9]:[]},{'tag':_0x4480c2(0xf3),'attributes':{'class':[_0x4480c2(0xff),_0x7daf5e['if'](_0x4480c2(0xf4),_0x4480c2(0x11e),_0x467f55=>!_0x467f55)]},'children':[this[_0x4480c2(0x108)]()]}]},{'tag':_0x4480c2(0xf3),'attributes':{'class':[_0x4480c2(0xf0)]},'children':[{'tag':_0x4480c2(0xf3),'attributes':{'class':[_0x4480c2(0x104)]},'on':{'click':this[_0x4480c2(0xd7)]['to'](_0x4480c2(0xf2))},'children':[{'tag':_0x4480c2(0xf3),'attributes':{'class':[_0x4480c2(0x11f)]},'children':[{'tag':_0x4480c2(0xf3),'attributes':{'class':[_0x4480c2(0xe0),_0x7daf5e['if'](_0x4480c2(0xf4),_0x4480c2(0x11e),_0x39b52b=>!!_0x39b52b)]},'children':this[_0x4480c2(0xe1)]},{'tag':_0x4480c2(0xf3),'attributes':{'class':[_0x4480c2(0xf5),_0x7daf5e['if'](_0x4480c2(0xf4),_0x4480c2(0x11e),_0x38cc09=>!_0x38cc09)]},'children':[{'text':_0x7daf5e['to'](_0x4480c2(0xf4),_0x211434=>_0x211434?_0x55b9c5(this[_0x4480c2(0x115)],AIChatHistoryListItemView[_0x4480c2(0xfe)][_0x211434]):'')}]}]},{'tag':_0x4480c2(0xf9),'attributes':{'class':[_0x4480c2(0x10e)]},'children':[_0xa7113c]}]},{'tag':_0x4480c2(0xf3),'attributes':{'class':[_0x4480c2(0xdf)]},'children':this[_0x4480c2(0x11d)]}]}]}),this['on'](_0x4480c2(0xf2),()=>{const _0x59da6b=_0x4480c2;this[_0x59da6b(0x117)]||this[_0x59da6b(0x11b)](_0x59da6b(0x11c),{'id':this['id']});});}[_0x436e5b(0xe7)](_0xba3f20){const _0x2fc2b5=_0x436e5b;this[_0x2fc2b5(0x12e)][_0x2fc2b5(0xeb)]=_0x22bd9a(_0xba3f20);}[_0x436e5b(0xd8)](_0x366f51,_0xdf9a73){const _0x3a258e=_0x436e5b;this[_0x3a258e(0x116)](_0x3a258e(0xf4),_0xdf9a73?_0x366f51:null);}[_0x436e5b(0xda)](){const _0x3688d7=_0x436e5b,_0x2b989c=new _0x37bae0();return _0x2b989c[_0x3688d7(0x116)]({'content':_0x34174a}),_0x2b989c;}[_0x436e5b(0x123)](_0x44a980){const _0x3f1c9a=_0x436e5b,_0x28c0d3=new _0xe25d9b(_0x44a980);return _0x28c0d3[_0x3f1c9a(0x116)]({'label':_0x55b9c5(_0x44a980,_0x3f1c9a(0x131)),'icon':_0x2f6d1c,'withText':!0x1,'tooltip':!0x0}),_0x28c0d3[_0x3f1c9a(0x12d)](_0x3f1c9a(0x102))['to'](this,_0x3f1c9a(0x113)),_0x28c0d3['on'](_0x3f1c9a(0xef),()=>{const _0x2bb4ba=_0x3f1c9a,_0x353880=!this[_0x2bb4ba(0x113)];this[_0x2bb4ba(0x11b)](_0x2bb4ba(0x11a),{'id':this['id'],'pinned':_0x353880});}),_0x28c0d3;}[_0x436e5b(0xe6)](){const _0x1a136e=_0x436e5b,_0x5a05f2=_0x4b6045(this[_0x1a136e(0x115)],_0x44863b),_0x45390b=_0x5a05f2[_0x1a136e(0x112)][_0x1a136e(0x10f)];_0x5a05f2[_0x1a136e(0x114)][_0x1a136e(0x116)]({'label':_0x55b9c5(this[_0x1a136e(0x115)],_0x1a136e(0x12a)),'icon':_0x2ebeb7}),_0x5a05f2[_0x1a136e(0x10a)]='sw';const _0x349dbb=new _0xe25d9b(this[_0x1a136e(0x115)]);_0x349dbb[_0x1a136e(0xd3)]=_0x55b9c5(this[_0x1a136e(0x115)],_0x1a136e(0x125)),_0x349dbb[_0x1a136e(0xfd)]=!0x0,_0x349dbb['on'](_0x1a136e(0xef),()=>{const _0xdd8504=_0x1a136e;this[_0xdd8504(0x117)]=!0x0;});const _0x3b3afb=new _0xe25d9b(this[_0x1a136e(0x115)]);_0x3b3afb[_0x1a136e(0xd3)]=_0x55b9c5(this[_0x1a136e(0x115)],_0x1a136e(0xdc)),_0x3b3afb[_0x1a136e(0xfd)]=!0x0,_0x3b3afb['on'](_0x1a136e(0xef),()=>{const _0x1796a5=_0x1a136e;this[_0x1796a5(0xf7)](_0x55b9c5(this[_0x1796a5(0x115)],_0x1796a5(0xe2)),this[_0x1796a5(0x10b)])[_0x1796a5(0xd9)](()=>{const _0x3a8aa7=_0x1796a5;this[_0x3a8aa7(0x11b)](_0x3a8aa7(0xf1),{'id':this['id']});});});const _0x124efd=new _0x52f0ae(this[_0x1a136e(0x115)]),_0x21b926=new _0x39fd4e(this[_0x1a136e(0x115)]);_0x21b926[_0x1a136e(0x10f)][_0x1a136e(0x118)](_0x349dbb);const _0x423267=new _0x39fd4e(this[_0x1a136e(0x115)]);return _0x423267[_0x1a136e(0x10f)][_0x1a136e(0x118)](_0x3b3afb),_0x124efd[_0x1a136e(0x10c)][_0x1a136e(0x103)]([_0x21b926,_0x423267]),_0x45390b[_0x1a136e(0x118)](_0x124efd),_0x5a05f2;}[_0x436e5b(0x130)](_0x5d61c3,_0x389103){const _0x66d677=_0x436e5b,_0x3c558a=new _0x2b0e75(_0x5d61c3),_0x3e1664=_0x3c558a[_0x66d677(0xd7)];return _0x3c558a[_0x66d677(0x109)]=_0x389103,_0x3c558a[_0x66d677(0xe8)]({'on':{'keydown':_0x3e1664['to'](_0x5652ff=>{const _0x181083=_0x66d677;_0x181083(0x110)==_0x5652ff[_0x181083(0x111)]&&this[_0x181083(0x119)](_0x3c558a);})}}),_0x3c558a;}[_0x436e5b(0xea)](_0x4e0d70,_0x2560e3){const _0x1a4a04=_0x436e5b,_0x53480b=new _0xe25d9b(_0x4e0d70);return _0x53480b[_0x1a4a04(0x116)]({'icon':_0x34174a,'withText':!0x1,'tooltip':_0x55b9c5(_0x4e0d70,_0x1a4a04(0x124))}),_0x53480b[_0x1a4a04(0xe8)]({'attributes':{'class':[_0x1a4a04(0x100)]}}),_0x53480b['on'](_0x1a4a04(0xef),()=>{const _0x5f1420=_0x1a4a04;this[_0x5f1420(0x119)](_0x2560e3);}),_0x53480b;}[_0x436e5b(0x119)](_0xab6c81){const _0x3f9403=_0x436e5b,_0x341b1a=_0xab6c81[_0x3f9403(0x10b)][_0x3f9403(0x109)]||'';this[_0x3f9403(0x12e)][_0x3f9403(0xeb)]=_0x341b1a,this[_0x3f9403(0x117)]=!0x1,this[_0x3f9403(0x11b)](_0x3f9403(0x121),{'id':this['id'],'title':_0x341b1a});}[_0x436e5b(0x122)](_0xf6d3a6,_0x5a4343){const _0x5d5c01=_0x436e5b,_0x3ce173=new _0xe25d9b(_0xf6d3a6);return _0x3ce173[_0x5d5c01(0x116)]({'icon':_0x3f6ef0,'withText':!0x1,'tooltip':_0x55b9c5(_0xf6d3a6,_0x5d5c01(0xd2))}),_0x3ce173[_0x5d5c01(0xe8)]({'attributes':{'class':[_0x5d5c01(0x105)]}}),_0x3ce173['on'](_0x5d5c01(0xef),()=>{const _0x45fc3a=_0x5d5c01;this[_0x45fc3a(0x117)]=!0x1,_0x5a4343[_0x45fc3a(0x109)]=this[_0x45fc3a(0x12e)][_0x45fc3a(0xeb)]||'',this[_0x45fc3a(0x11b)](_0x45fc3a(0xdb));}),_0x3ce173;}[_0x436e5b(0x108)](){const _0x26ad9b=_0x436e5b,_0x190b44=new _0x424b91(_0x26ad9b(0xe9));return _0x190b44[_0x26ad9b(0x12f)]=!0x0,_0x190b44;}[_0x436e5b(0xdd)](_0x11e03b){const _0x2573a2=_0x436e5b;return this[_0x2573a2(0x12e)]&&_0x2573a2(0x129)==typeof this[_0x2573a2(0x12e)][_0x2573a2(0xeb)]&&this[_0x2573a2(0x12e)][_0x2573a2(0xeb)][_0x2573a2(0xd5)](_0x11e03b)?{'title':!0x0}:null;}[_0x436e5b(0x107)](_0x40c203){const _0x53475c=_0x436e5b;this[_0x53475c(0x12e)][_0x53475c(0x107)](_0x40c203);}}
23
+ const _0x7db12c=_0x58c3;(function(_0x2d17aa,_0x4b3d5f){const _0x2ccfda=_0x58c3,_0x361be0=_0x2d17aa();while(!![]){try{const _0x86aaf5=-parseInt(_0x2ccfda(0x122))/0x1+-parseInt(_0x2ccfda(0xeb))/0x2+parseInt(_0x2ccfda(0x13a))/0x3+parseInt(_0x2ccfda(0x128))/0x4*(-parseInt(_0x2ccfda(0x113))/0x5)+parseInt(_0x2ccfda(0x10d))/0x6+-parseInt(_0x2ccfda(0x120))/0x7*(-parseInt(_0x2ccfda(0xed))/0x8)+parseInt(_0x2ccfda(0x10b))/0x9;if(_0x86aaf5===_0x4b3d5f)break;else _0x361be0['push'](_0x361be0['shift']());}catch(_0x38bc1d){_0x361be0['push'](_0x361be0['shift']());}}}(_0x422c,0x9f65f));import{ListItemView as _0x56c583,HighlightedTextView as _0x7ee74d,ButtonView as _0x3c2362,ListView as _0x4f17af,IconView as _0x247890,createDropdown as _0x55825b,InputTextView as _0x4f89c5}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x3dee14,IconPin as _0x537a21,IconCheck as _0x41b692,IconCancel as _0x12f5da}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x40aaa4,ConfirmMixin as _0x1da082}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x390a48}from'es-toolkit/compat';function _0x58c3(_0x477376,_0x248a97){const _0x422c83=_0x422c();return _0x58c3=function(_0x58c3a0,_0x2f1e58){_0x58c3a0=_0x58c3a0-0xe3;let _0xfed667=_0x422c83[_0x58c3a0];return _0xfed667;},_0x58c3(_0x477376,_0x248a97);}function _0x422c(){const _0x4531b9=['_createPinButtonView','552654NOXjBx','ck-ai-chat-history__item-content','editConversationTitle','Enter','span','removeConversation','4PNUGGo','withText','ck-ai-chat-history__item--active','AI_CHAT_HISTORY_EDIT_NAME','edit:cancel','_createCancelEditButtonView','addMany','_createSpinnerView','AI_CHAT_HISTORY_ACCEPT','ck-ai-chat-history__item-title','ck-ai-chat-history__item-check-container','_createCheckView','mainContent','updateLoadingState','clear','AI_CHAT_HISTORY_PIN_BUTTON','ck-ai-chat-history__item--edit','add','1246572PbRyvm','items','div','ck-confirm-view-submit','isOn','ck-ai-chat-history__item','ck-ai-chat-history__item-actions','pinned','execute','click','ck-hidden','match','loadingState','selectConversation','extendTemplate','listitem','updateTitle','value','357292hIVKcD','_createMenuDropdownView','1897080vWcbVe','createCollection','bind','highlightText','setConversationPinned','_titleView','isVisible','children','ck-ai-loader','panelPosition','_commitEditInputValue','showConfirm','_createAcceptEditButtonView','element','text','_createEditInputView','focus','AI_CHAT_HISTORY_CANCEL','setTemplate','AI_CHAT_HISTORY_LOADING_REMOVING','isMatching','change:isEdit','LOADING_LABELS','key','ck-confirm-view-cancel','actions','ck-ai-chat-history__item-row','fire','buttonView','string','5686434vNKAWT','set','3011160RaFRBq','bindTemplate','ck-ai-chat-history__item-check','ck-ai-chat-history__item-main-content','tiny','ck-ai-chat-history__item-date','5567775gGeecU','AI_CHAT_HISTORY_REMOVE','AI_CHAT_HISTORY_REMOVE_CONFIRM','locale','ck-ai-loader__text','AI_CHAT_HISTORY_LOADING_UNPINNING','AI_CHAT_HISTORY_LOADING_RENAMING','label','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','AI_CHAT_HISTORY_LOADING_PINNING','then','panelView','isEdit','28qPXThN'];_0x422c=function(){return _0x4531b9;};return _0x422c();}import{AISpinnerView as _0x3f7d03}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x3ae019}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
+ _0x1da082(_0x56c583){['id'];static [_0x7db12c(0x103)]={'remove':_0x7db12c(0x100),'rename':_0x7db12c(0x119),'pin':_0x7db12c(0x11c),'unpin':_0x7db12c(0x118)};[_0x7db12c(0x106)];[_0x7db12c(0x134)];[_0x7db12c(0xf2)];constructor(_0x4f36da,_0x453bbc){const _0x404901=_0x7db12c;super(_0x4f36da);const _0x407545=this[_0x404901(0x10e)];this[_0x404901(0x10c)](_0x404901(0x11f),!0x1),this[_0x404901(0x10c)](_0x404901(0xf3),!0x0),this[_0x404901(0x10c)](_0x404901(0x141),!!_0x453bbc[_0x404901(0x141)]),this[_0x404901(0x10c)](_0x404901(0xe5),null),this['id']=_0x453bbc['id'];const {title:_0x2cb048,createdAt:_0x459541,active:_0x2ed501=!0x1}=_0x453bbc;this[_0x404901(0xf2)]=new _0x7ee74d(),this[_0x404901(0xf2)][_0x404901(0xfb)]=_0x2cb048,this[_0x404901(0xf2)][_0x404901(0xe7)]({'attributes':{'class':[_0x404901(0x131)]}});const _0x4fb361=this[_0x404901(0x133)](),_0x423bb3=this[_0x404901(0x121)](_0x4f36da),_0x26b857=this[_0x404901(0xec)](),_0x4021ed=this[_0x404901(0xfc)](_0x4f36da,_0x2cb048),_0xaa977e=this[_0x404901(0xf9)](_0x4f36da,_0x4021ed),_0x22efb3=this[_0x404901(0x12d)](_0x4f36da,_0x4021ed);this[_0x404901(0x106)]=this[_0x404901(0xee)](),this[_0x404901(0x134)]=this[_0x404901(0xee)](),this[_0x404901(0x134)][_0x404901(0x139)](this[_0x404901(0xf2)]),this[_0x404901(0x106)][_0x404901(0x139)](_0x423bb3),this[_0x404901(0x106)][_0x404901(0x139)](_0x26b857),this['on'](_0x404901(0x102),(_0x303881,_0x195335,_0x402f98)=>{const _0x1549b1=_0x404901;this[_0x1549b1(0x106)][_0x1549b1(0x136)](),this[_0x1549b1(0x134)][_0x1549b1(0x136)](),_0x402f98?(this[_0x1549b1(0x106)][_0x1549b1(0x139)](_0xaa977e),this[_0x1549b1(0x106)][_0x1549b1(0x139)](_0x22efb3),this[_0x1549b1(0x134)][_0x1549b1(0x139)](_0x4021ed),_0x4021ed[_0x1549b1(0xfa)][_0x1549b1(0xfd)]()):(this[_0x1549b1(0x106)][_0x1549b1(0x139)](_0x423bb3),this[_0x1549b1(0x106)][_0x1549b1(0x139)](_0x26b857),this[_0x1549b1(0x134)][_0x1549b1(0x139)](this[_0x1549b1(0xf2)]));}),this[_0x404901(0xff)]({'tag':'li','attributes':{'class':[_0x404901(0x13f),_0x2ed501?_0x404901(0x12a):'',_0x407545['if'](_0x404901(0xf3),_0x404901(0xe3),_0xb42ded=>!_0xb42ded),_0x407545['if'](_0x404901(0x11f),_0x404901(0x138))],'role':_0x404901(0xe8)},'children':[{'tag':_0x404901(0x126),'attributes':{'class':[_0x404901(0x132)]},'children':[{'tag':_0x404901(0x13c),'attributes':{'class':[_0x404901(0x10f),_0x407545['if'](_0x404901(0xe5),_0x404901(0xe3),_0x2e7fc6=>!!_0x2e7fc6)]},'children':_0x2ed501?[_0x4fb361]:[]},{'tag':_0x404901(0x13c),'attributes':{'class':[_0x404901(0xf5),_0x407545['if'](_0x404901(0xe5),_0x404901(0xe3),_0x4b8892=>!_0x4b8892)]},'children':[this[_0x404901(0x12f)]()]}]},{'tag':_0x404901(0x13c),'attributes':{'class':[_0x404901(0x107)]},'children':[{'tag':_0x404901(0x13c),'attributes':{'class':[_0x404901(0x123)]},'on':{'click':this[_0x404901(0x10e)]['to'](_0x404901(0x143))},'children':[{'tag':_0x404901(0x13c),'attributes':{'class':[_0x404901(0x110)]},'children':[{'tag':_0x404901(0x13c),'attributes':{'class':[_0x404901(0x131),_0x407545['if'](_0x404901(0xe5),_0x404901(0xe3),_0x36ef55=>!!_0x36ef55)]},'children':this[_0x404901(0x134)]},{'tag':_0x404901(0x13c),'attributes':{'class':[_0x404901(0x117),_0x407545['if'](_0x404901(0xe5),_0x404901(0xe3),_0x2d8ef4=>!_0x2d8ef4)]},'children':[{'text':_0x407545['to'](_0x404901(0xe5),_0x4cd3b8=>_0x4cd3b8?_0x3ae019(this[_0x404901(0x116)],AIChatHistoryListItemView[_0x404901(0x103)][_0x4cd3b8]):'')}]}]},{'tag':_0x404901(0x126),'attributes':{'class':[_0x404901(0x112)]},'children':[_0x459541]}]},{'tag':_0x404901(0x13c),'attributes':{'class':[_0x404901(0x140)]},'children':this[_0x404901(0x106)]}]}]}),this['on'](_0x404901(0x143),()=>{const _0x471d3b=_0x404901;this[_0x471d3b(0x11f)]||this[_0x471d3b(0x108)](_0x471d3b(0xe6),{'id':this['id']});});}[_0x7db12c(0xe9)](_0x5e8b92){const _0x358223=_0x7db12c;this[_0x358223(0xf2)][_0x358223(0xfb)]=_0x390a48(_0x5e8b92);}[_0x7db12c(0x135)](_0x11a8d5,_0x5030ab){const _0x385a2f=_0x7db12c;this[_0x385a2f(0x10c)](_0x385a2f(0xe5),_0x5030ab?_0x11a8d5:null);}[_0x7db12c(0x133)](){const _0x1b120b=_0x7db12c,_0x165660=new _0x247890();return _0x165660[_0x1b120b(0x10c)]({'content':_0x41b692}),_0x165660;}[_0x7db12c(0x121)](_0x4d6c28){const _0x49f17c=_0x7db12c,_0x14f4a3=new _0x3c2362(_0x4d6c28);return _0x14f4a3[_0x49f17c(0x10c)]({'label':_0x3ae019(_0x4d6c28,_0x49f17c(0x137)),'icon':_0x537a21,'withText':!0x1,'tooltip':!0x0}),_0x14f4a3[_0x49f17c(0xef)](_0x49f17c(0x13e))['to'](this,_0x49f17c(0x141)),_0x14f4a3['on'](_0x49f17c(0x142),()=>{const _0x205836=_0x49f17c,_0x3fd68e=!this[_0x205836(0x141)];this[_0x205836(0x108)](_0x205836(0xf1),{'id':this['id'],'pinned':_0x3fd68e});}),_0x14f4a3;}[_0x7db12c(0xec)](){const _0xf7871a=_0x7db12c,_0x497eda=_0x55825b(this[_0xf7871a(0x116)],_0x40aaa4),_0x8056f4=_0x497eda[_0xf7871a(0x11e)][_0xf7871a(0xf4)];_0x497eda[_0xf7871a(0x109)][_0xf7871a(0x10c)]({'label':_0x3ae019(this[_0xf7871a(0x116)],_0xf7871a(0x11b)),'icon':_0x3dee14}),_0x497eda[_0xf7871a(0xf6)]='sw';const _0x1142d8=new _0x3c2362(this[_0xf7871a(0x116)]);_0x1142d8[_0xf7871a(0x11a)]=_0x3ae019(this[_0xf7871a(0x116)],_0xf7871a(0x12b)),_0x1142d8[_0xf7871a(0x129)]=!0x0,_0x1142d8['on'](_0xf7871a(0x142),()=>{const _0x208f2d=_0xf7871a;this[_0x208f2d(0x11f)]=!0x0;});const _0x76c90b=new _0x3c2362(this[_0xf7871a(0x116)]);_0x76c90b[_0xf7871a(0x11a)]=_0x3ae019(this[_0xf7871a(0x116)],_0xf7871a(0x114)),_0x76c90b[_0xf7871a(0x129)]=!0x0,_0x76c90b['on'](_0xf7871a(0x142),()=>{const _0x599a44=_0xf7871a;this[_0x599a44(0xf8)](_0x3ae019(this[_0x599a44(0x116)],_0x599a44(0x115)),this[_0x599a44(0xfa)])[_0x599a44(0x11d)](()=>{const _0x215b08=_0x599a44;this[_0x215b08(0x108)](_0x215b08(0x127),{'id':this['id']});});});const _0x489218=new _0x4f17af(this[_0xf7871a(0x116)]),_0x42d8ea=new _0x56c583(this[_0xf7871a(0x116)]);_0x42d8ea[_0xf7871a(0xf4)][_0xf7871a(0x139)](_0x1142d8);const _0x10c74c=new _0x56c583(this[_0xf7871a(0x116)]);return _0x10c74c[_0xf7871a(0xf4)][_0xf7871a(0x139)](_0x76c90b),_0x489218[_0xf7871a(0x13b)][_0xf7871a(0x12e)]([_0x42d8ea,_0x10c74c]),_0x8056f4[_0xf7871a(0x139)](_0x489218),_0x497eda;}[_0x7db12c(0xfc)](_0x1ef139,_0x563f75){const _0xdebf3f=_0x7db12c,_0x541d85=new _0x4f89c5(_0x1ef139),_0x3458df=_0x541d85[_0xdebf3f(0x10e)];return _0x541d85[_0xdebf3f(0xea)]=_0x563f75,_0x541d85[_0xdebf3f(0xe7)]({'on':{'keydown':_0x3458df['to'](_0x1b8f72=>{const _0x11fcfd=_0xdebf3f;_0x11fcfd(0x125)==_0x1b8f72[_0x11fcfd(0x104)]&&this[_0x11fcfd(0xf7)](_0x541d85);})}}),_0x541d85;}[_0x7db12c(0xf9)](_0x838e0f,_0x28473a){const _0x852e3=_0x7db12c,_0x571c26=new _0x3c2362(_0x838e0f);return _0x571c26[_0x852e3(0x10c)]({'icon':_0x41b692,'withText':!0x1,'tooltip':_0x3ae019(_0x838e0f,_0x852e3(0x130))}),_0x571c26[_0x852e3(0xe7)]({'attributes':{'class':[_0x852e3(0x13d)]}}),_0x571c26['on'](_0x852e3(0x142),()=>{const _0x4d2b60=_0x852e3;this[_0x4d2b60(0xf7)](_0x28473a);}),_0x571c26;}[_0x7db12c(0xf7)](_0x3d1304){const _0x26b65e=_0x7db12c,_0x2653b6=_0x3d1304[_0x26b65e(0xfa)][_0x26b65e(0xea)]||'';this[_0x26b65e(0xf2)][_0x26b65e(0xfb)]=_0x2653b6,this[_0x26b65e(0x11f)]=!0x1,this[_0x26b65e(0x108)](_0x26b65e(0x124),{'id':this['id'],'title':_0x2653b6});}[_0x7db12c(0x12d)](_0x517d22,_0x433076){const _0x818fa7=_0x7db12c,_0x2ebf5a=new _0x3c2362(_0x517d22);return _0x2ebf5a[_0x818fa7(0x10c)]({'icon':_0x12f5da,'withText':!0x1,'tooltip':_0x3ae019(_0x517d22,_0x818fa7(0xfe))}),_0x2ebf5a[_0x818fa7(0xe7)]({'attributes':{'class':[_0x818fa7(0x105)]}}),_0x2ebf5a['on'](_0x818fa7(0x142),()=>{const _0x21b96c=_0x818fa7;this[_0x21b96c(0x11f)]=!0x1,_0x433076[_0x21b96c(0xea)]=this[_0x21b96c(0xf2)][_0x21b96c(0xfb)]||'',this[_0x21b96c(0x108)](_0x21b96c(0x12c));}),_0x2ebf5a;}[_0x7db12c(0x12f)](){const _0x2a1bce=_0x7db12c,_0x5da2c6=new _0x3f7d03(_0x2a1bce(0x111));return _0x5da2c6[_0x2a1bce(0xf3)]=!0x0,_0x5da2c6;}[_0x7db12c(0x101)](_0x21b610){const _0x4ea2ca=_0x7db12c;return this[_0x4ea2ca(0xf2)]&&_0x4ea2ca(0x10a)==typeof this[_0x4ea2ca(0xf2)][_0x4ea2ca(0xfb)]&&this[_0x4ea2ca(0xf2)][_0x4ea2ca(0xfb)][_0x4ea2ca(0xe4)](_0x21b610)?{'title':!0x0}:null;}[_0x7db12c(0xf0)](_0x2bb4ff){const _0x5b5037=_0x7db12c;this[_0x5b5037(0xf2)][_0x5b5037(0xf0)](_0x2bb4ff);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x273948=_0x1511;function _0x1511(_0x5bfab3,_0xc0e9d0){const _0x35bc1d=_0x35bc();return _0x1511=function(_0x15118e,_0x1f980f){_0x15118e=_0x15118e-0x18a;let _0x45db0d=_0x35bc1d[_0x15118e];return _0x45db0d;},_0x1511(_0x5bfab3,_0xc0e9d0);}(function(_0x333a02,_0x3046c1){const _0x4ed3d7=_0x1511,_0x1fda89=_0x333a02();while(!![]){try{const _0x47f7b2=parseInt(_0x4ed3d7(0x198))/0x1*(-parseInt(_0x4ed3d7(0x1a8))/0x2)+-parseInt(_0x4ed3d7(0x193))/0x3+-parseInt(_0x4ed3d7(0x18b))/0x4*(parseInt(_0x4ed3d7(0x1a2))/0x5)+parseInt(_0x4ed3d7(0x1a0))/0x6+parseInt(_0x4ed3d7(0x1a7))/0x7+-parseInt(_0x4ed3d7(0x195))/0x8+parseInt(_0x4ed3d7(0x192))/0x9*(parseInt(_0x4ed3d7(0x19c))/0xa);if(_0x47f7b2===_0x3046c1)break;else _0x1fda89['push'](_0x1fda89['shift']());}catch(_0x2e7cfc){_0x1fda89['push'](_0x1fda89['shift']());}}}(_0x35bc,0x8c989));function _0x35bc(){const _0x174599=['7908176AbJspH','ck-hidden','setTemplate','11LjPauc','find','bindTemplate','ck-ai-chat-history__section','188630iXIadE','isVisible','getItem','removeItem','5157588BfMjjg','_itemsListView','15gxjHIb','ck-ai-chat-history__section-title','remove','itemsViews','isMatching','1245825dqLQUc','97742cEEPXb','addMany','highlightText','items','913364BZRYGd','indexOf','set','filter','div','splice','length','1197cRcOWy','2278035IWXRjZ','title'];_0x35bc=function(){return _0x174599;};return _0x35bc();}import{ListItemView as _0x55950f,View as _0x7dc9f5,ListView as _0x49e658}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x55950f{[_0x273948(0x194)];[_0x273948(0x1a5)];[_0x273948(0x1a1)];constructor(_0x39d169,{title:_0x2b1147,items:_0x1d058f}){const _0x169564=_0x273948;super(_0x39d169);const _0x2d902a=this[_0x169564(0x19a)];this[_0x169564(0x18d)](_0x169564(0x19d),!0x0),this[_0x169564(0x194)]=_0x2b1147,this[_0x169564(0x1a5)]=_0x1d058f;const _0x30bffd=new _0x7dc9f5(_0x39d169);_0x30bffd[_0x169564(0x197)]({'tag':_0x169564(0x18f),'attributes':{'class':[_0x169564(0x1a3)]},'children':[this[_0x169564(0x194)]]}),this[_0x169564(0x1a1)]=new _0x49e658(_0x39d169),this[_0x169564(0x1a1)][_0x169564(0x18a)][_0x169564(0x1a9)](this[_0x169564(0x1a5)]),this[_0x169564(0x197)]({'tag':'li','attributes':{'class':[_0x169564(0x19b),_0x2d902a['if'](_0x169564(0x19d),_0x169564(0x196),_0x4454a3=>!_0x4454a3)]},'children':[_0x30bffd,this[_0x169564(0x1a1)]]});}[_0x273948(0x18e)](_0x419e0c){const _0xc8f9ff=_0x273948,_0x470719=this[_0xc8f9ff(0x1a5)][_0xc8f9ff(0x191)];let _0x29418f=0x0;for(const _0x320451 of this[_0xc8f9ff(0x1a5)]){if(_0x419e0c){const _0x52ddd9=_0x320451[_0xc8f9ff(0x1a6)](_0x419e0c);_0x320451[_0xc8f9ff(0x19d)]=!!_0x52ddd9,_0x320451[_0xc8f9ff(0x1aa)](_0x419e0c);}else _0x320451[_0xc8f9ff(0x19d)]=!0x0,_0x320451[_0xc8f9ff(0x1aa)](null);_0x320451[_0xc8f9ff(0x19d)]&&_0x29418f++;}return this[_0xc8f9ff(0x19d)]=_0x29418f>0x0,{'resultsCount':_0x29418f,'totalItemsCount':_0x470719};}[_0x273948(0x19e)](_0x445ebe){const _0x13b9ee=_0x273948;return this[_0x13b9ee(0x1a5)][_0x13b9ee(0x199)](_0x38b203=>_0x38b203['id']===_0x445ebe);}[_0x273948(0x19f)](_0x24655a){const _0x16bab7=_0x273948,_0x2f41b9=this[_0x16bab7(0x1a5)][_0x16bab7(0x18c)](_0x24655a);-0x1!==_0x2f41b9&&(this[_0x16bab7(0x1a5)][_0x16bab7(0x190)](_0x2f41b9,0x1),this[_0x16bab7(0x1a1)][_0x16bab7(0x18a)][_0x16bab7(0x1a4)](_0x24655a));}}
23
+ function _0x52a7(){const _0x3dd509=['3276505LIwilk','102605fZtTLo','highlightText','1582344gxtRvS','removeItem','1506EMHris','set','getItem','indexOf','div','1485zYupQe','splice','2054228AotRVC','itemsViews','2Rahxyn','bindTemplate','ck-hidden','27160UPyKsq','setTemplate','ck-ai-chat-history__section-title','5663pDGIqn','addMany','filter','find','_itemsListView','items','length','remove','title','ck-ai-chat-history__section','isMatching','isVisible','6077100NNDdUK'];_0x52a7=function(){return _0x3dd509;};return _0x52a7();}const _0x5666c0=_0x3131;(function(_0x56e21e,_0x2d93f9){const _0x58e329=_0x3131,_0x471c98=_0x56e21e();while(!![]){try{const _0x2b7a39=parseInt(_0x58e329(0x180))/0x1*(-parseInt(_0x58e329(0x16c))/0x2)+-parseInt(_0x58e329(0x182))/0x3+parseInt(_0x58e329(0x16a))/0x4+parseInt(_0x58e329(0x17f))/0x5+parseInt(_0x58e329(0x184))/0x6*(-parseInt(_0x58e329(0x172))/0x7)+-parseInt(_0x58e329(0x16f))/0x8*(parseInt(_0x58e329(0x168))/0x9)+parseInt(_0x58e329(0x17e))/0xa;if(_0x2b7a39===_0x2d93f9)break;else _0x471c98['push'](_0x471c98['shift']());}catch(_0x1e2f40){_0x471c98['push'](_0x471c98['shift']());}}}(_0x52a7,0x5d931));import{ListItemView as _0x1569b1,View as _0x95e4cc,ListView as _0x29e460}from'ckeditor5/src/ui.js';function _0x3131(_0x584844,_0x43b712){const _0x52a77f=_0x52a7();return _0x3131=function(_0x313166,_0x4b9cbe){_0x313166=_0x313166-0x165;let _0x3c7469=_0x52a77f[_0x313166];return _0x3c7469;},_0x3131(_0x584844,_0x43b712);}export class AIChatHistoryListView extends _0x1569b1{[_0x5666c0(0x17a)];[_0x5666c0(0x16b)];[_0x5666c0(0x176)];constructor(_0x2fdc60,{title:_0x33f2bf,items:_0x542722}){const _0x8f35c8=_0x5666c0;super(_0x2fdc60);const _0x4c1074=this[_0x8f35c8(0x16d)];this[_0x8f35c8(0x185)](_0x8f35c8(0x17d),!0x0),this[_0x8f35c8(0x17a)]=_0x33f2bf,this[_0x8f35c8(0x16b)]=_0x542722;const _0x445b36=new _0x95e4cc(_0x2fdc60);_0x445b36[_0x8f35c8(0x170)]({'tag':_0x8f35c8(0x167),'attributes':{'class':[_0x8f35c8(0x171)]},'children':[this[_0x8f35c8(0x17a)]]}),this[_0x8f35c8(0x176)]=new _0x29e460(_0x2fdc60),this[_0x8f35c8(0x176)][_0x8f35c8(0x177)][_0x8f35c8(0x173)](this[_0x8f35c8(0x16b)]),this[_0x8f35c8(0x170)]({'tag':'li','attributes':{'class':[_0x8f35c8(0x17b),_0x4c1074['if'](_0x8f35c8(0x17d),_0x8f35c8(0x16e),_0x58cc99=>!_0x58cc99)]},'children':[_0x445b36,this[_0x8f35c8(0x176)]]});}[_0x5666c0(0x174)](_0x11c1c6){const _0x8145e2=_0x5666c0,_0x1864a4=this[_0x8145e2(0x16b)][_0x8145e2(0x178)];let _0x34751c=0x0;for(const _0x5eb36b of this[_0x8145e2(0x16b)]){if(_0x11c1c6){const _0x375709=_0x5eb36b[_0x8145e2(0x17c)](_0x11c1c6);_0x5eb36b[_0x8145e2(0x17d)]=!!_0x375709,_0x5eb36b[_0x8145e2(0x181)](_0x11c1c6);}else _0x5eb36b[_0x8145e2(0x17d)]=!0x0,_0x5eb36b[_0x8145e2(0x181)](null);_0x5eb36b[_0x8145e2(0x17d)]&&_0x34751c++;}return this[_0x8145e2(0x17d)]=_0x34751c>0x0,{'resultsCount':_0x34751c,'totalItemsCount':_0x1864a4};}[_0x5666c0(0x165)](_0x4f02a5){const _0x4a70c0=_0x5666c0;return this[_0x4a70c0(0x16b)][_0x4a70c0(0x175)](_0x1d9e43=>_0x1d9e43['id']===_0x4f02a5);}[_0x5666c0(0x183)](_0x5986a4){const _0x43dd63=_0x5666c0,_0x33bc14=this[_0x43dd63(0x16b)][_0x43dd63(0x166)](_0x5986a4);-0x1!==_0x33bc14&&(this[_0x43dd63(0x16b)][_0x43dd63(0x169)](_0x33bc14,0x1),this[_0x43dd63(0x176)][_0x43dd63(0x177)][_0x43dd63(0x179)](_0x5986a4));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x44f8(){const _0x16b7d5=['1188549MKkwWD','ck-ai-chat-history__sections','sections','82487kNOoyq','items','525392YSNUGa','7383550bTZlEz','extendTemplate','112204ReekYi','addMany','18LzXGvS','121588CXPLCY','filter','301671EFembH','55uNWJIj','8yEcRIt'];_0x44f8=function(){return _0x16b7d5;};return _0x44f8();}const _0x4e5d6f=_0x4291;(function(_0xbf1400,_0x4c1be9){const _0x3df989=_0x4291,_0x2805e7=_0xbf1400();while(!![]){try{const _0x11f9d8=parseInt(_0x3df989(0x135))/0x1+parseInt(_0x3df989(0x12a))/0x2+parseInt(_0x3df989(0x12f))/0x3+-parseInt(_0x3df989(0x12d))/0x4*(-parseInt(_0x3df989(0x130))/0x5)+parseInt(_0x3df989(0x12c))/0x6*(parseInt(_0x3df989(0x137))/0x7)+parseInt(_0x3df989(0x131))/0x8*(parseInt(_0x3df989(0x132))/0x9)+-parseInt(_0x3df989(0x138))/0xa;if(_0x11f9d8===_0x4c1be9)break;else _0x2805e7['push'](_0x2805e7['shift']());}catch(_0x2bcc90){_0x2805e7['push'](_0x2805e7['shift']());}}}(_0x44f8,0x2ef83));function _0x4291(_0x2a8959,_0x417874){const _0x44f82b=_0x44f8();return _0x4291=function(_0x42918a,_0x42b795){_0x42918a=_0x42918a-0x12a;let _0x47cb90=_0x44f82b[_0x42918a];return _0x47cb90;},_0x4291(_0x2a8959,_0x417874);}import{ListView as _0x2c1382}from'ckeditor5/src/ui.js';export class AIChatHistorySectionListView extends _0x2c1382{[_0x4e5d6f(0x134)];constructor(_0x12e7ee,_0x2492b6){const _0x227d25=_0x4e5d6f;super(_0x12e7ee),this[_0x227d25(0x134)]=_0x2492b6,this[_0x227d25(0x136)][_0x227d25(0x12b)](this[_0x227d25(0x134)]),this[_0x227d25(0x139)]({'attributes':{'class':[_0x227d25(0x133)]}});}[_0x4e5d6f(0x12e)](_0x313d00){const _0x1a131a=_0x4e5d6f;let _0x129f85=0x0,_0x3d285d=0x0;for(const _0x493a9c of this[_0x1a131a(0x134)]){const {resultsCount:_0x39d610,totalItemsCount:_0x4c59c8}=_0x493a9c[_0x1a131a(0x12e)](_0x313d00);_0x129f85+=_0x39d610,_0x3d285d+=_0x4c59c8;}return{'resultsCount':_0x129f85,'totalItemsCount':_0x3d285d};}}
23
+ const _0x1e267b=_0xe9d8;function _0x5e24(){const _0x2a2488=['5THDSGH','filter','1125688ARNgIK','36lGksZd','1244667RBuxYh','7251730obQgRB','9UFNwSn','addMany','4RJvXPa','4oCfGzV','sections','687138dJfACc','items','ck-ai-chat-history__sections','1741051PlIfPf','11vCOodh','3802498tGjzsV','88546nRmmLl','extendTemplate'];_0x5e24=function(){return _0x2a2488;};return _0x5e24();}(function(_0xf3f6dc,_0x478a22){const _0x31ed6e=_0xe9d8,_0x5d4e0f=_0xf3f6dc();while(!![]){try{const _0x3636f2=-parseInt(_0x31ed6e(0x14b))/0x1*(-parseInt(_0x31ed6e(0x141))/0x2)+parseInt(_0x31ed6e(0x147))/0x3*(-parseInt(_0x31ed6e(0x14c))/0x4)+-parseInt(_0x31ed6e(0x143))/0x5*(parseInt(_0x31ed6e(0x13b))/0x6)+parseInt(_0x31ed6e(0x140))/0x7+parseInt(_0x31ed6e(0x145))/0x8*(-parseInt(_0x31ed6e(0x149))/0x9)+parseInt(_0x31ed6e(0x148))/0xa*(parseInt(_0x31ed6e(0x13f))/0xb)+-parseInt(_0x31ed6e(0x146))/0xc*(parseInt(_0x31ed6e(0x13e))/0xd);if(_0x3636f2===_0x478a22)break;else _0x5d4e0f['push'](_0x5d4e0f['shift']());}catch(_0x28ae48){_0x5d4e0f['push'](_0x5d4e0f['shift']());}}}(_0x5e24,0x5b347));import{ListView as _0x1815bf}from'ckeditor5/src/ui.js';function _0xe9d8(_0x538dbc,_0xb05994){const _0x5e246b=_0x5e24();return _0xe9d8=function(_0xe9d8ab,_0x455636){_0xe9d8ab=_0xe9d8ab-0x13a;let _0x3daca8=_0x5e246b[_0xe9d8ab];return _0x3daca8;},_0xe9d8(_0x538dbc,_0xb05994);}export class AIChatHistorySectionListView extends _0x1815bf{[_0x1e267b(0x13a)];constructor(_0x30ed52,_0xe726be){const _0x2e8060=_0x1e267b;super(_0x30ed52),this[_0x2e8060(0x13a)]=_0xe726be,this[_0x2e8060(0x13c)][_0x2e8060(0x14a)](this[_0x2e8060(0x13a)]),this[_0x2e8060(0x142)]({'attributes':{'class':[_0x2e8060(0x13d)]}});}[_0x1e267b(0x144)](_0x28c941){const _0x496ef8=_0x1e267b;let _0x2ebe6b=0x0,_0xbe69b6=0x0;for(const _0xcc0af9 of this[_0x496ef8(0x13a)]){const {resultsCount:_0x295a09,totalItemsCount:_0x184b9d}=_0xcc0af9[_0x496ef8(0x144)](_0x28c941);_0x2ebe6b+=_0x295a09,_0xbe69b6+=_0x184b9d;}return{'resultsCount':_0x2ebe6b,'totalItemsCount':_0xbe69b6};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x571fde=_0x2d92;(function(_0x163071,_0x3760f9){const _0x216924=_0x2d92,_0x20b4a3=_0x163071();while(!![]){try{const _0x22fa08=parseInt(_0x216924(0xf8))/0x1+-parseInt(_0x216924(0xef))/0x2*(parseInt(_0x216924(0xa7))/0x3)+parseInt(_0x216924(0xd8))/0x4+-parseInt(_0x216924(0xc9))/0x5+-parseInt(_0x216924(0xdc))/0x6*(-parseInt(_0x216924(0xb6))/0x7)+-parseInt(_0x216924(0xba))/0x8+parseInt(_0x216924(0xe2))/0x9;if(_0x22fa08===_0x3760f9)break;else _0x20b4a3['push'](_0x20b4a3['shift']());}catch(_0x237a66){_0x20b4a3['push'](_0x20b4a3['shift']());}}}(_0x3b5e,0x4cd37));import{View as _0x379d2e,SearchTextView as _0x2d5d28,FormHeaderView as _0x1d90c2,ButtonView as _0x13b760}from'ckeditor5/src/ui.js';import{IconAIHistory as _0x58184d,IconCancel as _0x134cec,IconPlus as _0x256e99}from'ckeditor5/src/icons.js';function _0x3b5e(){const _0x4d072b=['removeItem','delegate','updateLoadingState','updateHistoryItemsWithCategories','1907244ItOBbk','items','AI_CHAT_HISTORY_SEARCH_LABEL','ck-ai-chat__start-conversation','48BKVtoD','title','push','remove','emptyView','children','3939885Wlpgqi','element','addMany','value','sectionsView','removeHistoryItem','ltr','isEmptyViewVisible','bindTemplate','ck-ai-notification_error__dismiss-button','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','ck-ai-chat-history__content','div','2Oavqbs','isVisible','sections','ck-reset_all','render','execute','hasItems','_refreshSearch','clear','564135FBsIYw','_updateViewVisibility','bind','ck-rounded-corners','ck-hidden','ck-ai-chat-history__empty','mainErrorView','queryView','_createSearchView','some','fieldView','990909RFerGV','aiHistory','indexOf','errorMessage','ck-ai-chat-history__empty-message','updateTitle','_createListItemViews','locale','AI_CHAT_HISTORY_HEADING','fire','extendTemplate','getItem','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','isSearchViewVisible','search','7448cjOyaq','change:errorMessage','isMaximized','ck-ai-chat-history','4563616xtmzVq','_createErrorView','ck-ai-notification','_createSkeletonView','ck-ai-notification_error','_createEmptyStateView','AI_CHAT_LABEL_NEW_CHAT','updateItemTitle','change:hasItems','isMainErrorViewVisible','splice','set','isLoading','updateItemLoadingState','itemsViews','1358945OyUwfj','setTemplate','add','ck-ai-header\x20ck-ai-header_history','AI_CHAT_HISTORY_EMPTY_MESSAGE','length','resizeButton','change:isLoading','openChat','searchView','skeletonView'];_0x3b5e=function(){return _0x4d072b;};return _0x3b5e();}import{AIChatHistorySectionListView as _0x57f137}from'./aichathistorysectionlistview.js';function _0x2d92(_0x136c66,_0x526c26){const _0x3b5e39=_0x3b5e();return _0x2d92=function(_0x2d92b8,_0x33a0df){_0x2d92b8=_0x2d92b8-0xa0;let _0x1d6969=_0x3b5e39[_0x2d92b8];return _0x1d6969;},_0x2d92(_0x136c66,_0x526c26);}import{AIChatHistoryListView as _0x298941}from'./aichathistorylistview.js';import{AIChatHistoryListItemView as _0x2dd736}from'./aichathistorylistitemview.js';import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0x46a02a}from'../aichathistoryui.js';import{AISkeletonView as _0x54de3b,SKELETON_DEFINITIONS as _0x26ded5}from'../../aicore/ui/aiskeleton.js';import{createResizeButton as _0x5acaac}from'../../aicore/utils/createresizebutton.js';import{getTranslation as _0x4b4e04}from'../../aicore/utils/common-translations.js';export class AIChatHistoryView extends _0x379d2e{[_0x571fde(0xd2)];[_0x571fde(0xa2)];[_0x571fde(0xd3)];[_0x571fde(0xe0)];[_0x571fde(0xe6)];[_0x571fde(0xcf)];constructor(_0x497e96,_0x4bc728){const _0x5ce3fd=_0x571fde;super(_0x497e96),this[_0x5ce3fd(0xc5)](_0x5ce3fd(0xf5),!0x1),this[_0x5ce3fd(0xc5)](_0x5ce3fd(0xc6),!0x0),this[_0x5ce3fd(0xc5)](_0x5ce3fd(0xaa),''),this[_0x5ce3fd(0xc5)](_0x5ce3fd(0xb8),!0x1),this[_0x5ce3fd(0xc5)](_0x5ce3fd(0xb4),!0x1),this[_0x5ce3fd(0xc5)](_0x5ce3fd(0xe9),!0x1),this[_0x5ce3fd(0xc5)](_0x5ce3fd(0xc3),!0x1);const _0x1c367e=new _0x1d90c2(_0x497e96,{'label':_0x4b4e04(_0x497e96,_0x5ce3fd(0xaf)),'icon':_0x58184d,'class':_0x5ce3fd(0xcc)});_0x4bc728&&(this[_0x5ce3fd(0xcf)]=_0x5acaac(_0x497e96,this),_0x1c367e[_0x5ce3fd(0xe1)][_0x5ce3fd(0xcb)](this[_0x5ce3fd(0xcf)])),this[_0x5ce3fd(0xe6)]=new _0x57f137(_0x497e96,[]),this[_0x5ce3fd(0xe6)][_0x5ce3fd(0xd5)](..._0x46a02a)['to'](this),this[_0x5ce3fd(0xa2)]=this[_0x5ce3fd(0xbb)](),this[_0x5ce3fd(0xd3)]=this[_0x5ce3fd(0xbd)](),this[_0x5ce3fd(0xe0)]=this[_0x5ce3fd(0xbf)](),this[_0x5ce3fd(0xd2)]=this[_0x5ce3fd(0xa4)](),this[_0x5ce3fd(0xa2)][_0x5ce3fd(0xb1)]({'attributes':{'class':[this[_0x5ce3fd(0xea)]['if'](_0x5ce3fd(0xc3),_0x5ce3fd(0xa0),_0x2fec74=>!_0x2fec74)]}}),this['on'](_0x5ce3fd(0xd0),()=>this[_0x5ce3fd(0xf9)]()),this['on'](_0x5ce3fd(0xc2),()=>this[_0x5ce3fd(0xf9)]()),this['on'](_0x5ce3fd(0xb7),()=>this[_0x5ce3fd(0xf9)]()),this[_0x5ce3fd(0xca)]({'tag':_0x5ce3fd(0xee),'attributes':{'class':['ck',_0x5ce3fd(0xf2),_0x5ce3fd(0xb9),_0x5ce3fd(0xfb)],'dir':_0x5ce3fd(0xe8)},'children':[_0x1c367e,{'tag':_0x5ce3fd(0xee),'attributes':{'class':[_0x5ce3fd(0xed)]},'children':[this[_0x5ce3fd(0xd3)],this[_0x5ce3fd(0xa2)],this[_0x5ce3fd(0xe0)],this[_0x5ce3fd(0xd2)]]}]});}[_0x571fde(0xf9)](){const _0x4a3582=_0x571fde;this[_0x4a3582(0xb4)]=!this[_0x4a3582(0xc6)]&&this[_0x4a3582(0xf5)],this[_0x4a3582(0xe9)]=!this[_0x4a3582(0xc6)]&&!this[_0x4a3582(0xf5)]&&!this[_0x4a3582(0xaa)],this[_0x4a3582(0xc3)]=!this[_0x4a3582(0xb4)]&&!!this[_0x4a3582(0xaa)];}[_0x571fde(0xa4)](){const _0x4390d9=_0x571fde,_0x3ba406=new _0x2d5d28(this[_0x4390d9(0xae)],{'filteredView':this[_0x4390d9(0xe6)],'queryView':{'label':_0x4b4e04(this[_0x4390d9(0xae)],_0x4390d9(0xda))},'infoView':{'text':{'notFound':{'primary':_0x21768b=>_0x4b4e04(this[_0x4390d9(0xae)],_0x4390d9(0xb3),_0x21768b),'secondary':_0x4b4e04(this[_0x4390d9(0xae)],_0x4390d9(0xec))}}}}),_0x16e5a0=this[_0x4390d9(0xbb)]();return _0x16e5a0[_0x4390d9(0xb1)]({'attributes':{'class':[this[_0x4390d9(0xea)]['if'](_0x4390d9(0xaa),_0x4390d9(0xa0),_0x4bf525=>!_0x4bf525)]}}),_0x3ba406['on'](_0x4390d9(0xf3),()=>{const _0x124e50=_0x4390d9;_0x3ba406[_0x124e50(0xe1)][_0x124e50(0xcb)](_0x16e5a0,0x1);}),_0x3ba406[_0x4390d9(0xb1)]({'attributes':{'class':[this[_0x4390d9(0xea)]['if'](_0x4390d9(0xb4),_0x4390d9(0xa0),_0x16354e=>!_0x16354e)]}}),_0x3ba406;}[_0x571fde(0xbd)](){const _0xdd6776=_0x571fde,_0x37615f=new _0x54de3b(this[_0xdd6776(0xae)],_0x26ded5[_0xdd6776(0xa8)]);return _0x37615f[_0xdd6776(0xb1)]({'attributes':{'class':[this[_0xdd6776(0xea)]['if'](_0xdd6776(0xc6),_0xdd6776(0xa0),_0x4a2b8d=>!_0x4a2b8d)]}}),_0x37615f;}[_0x571fde(0xbb)](){const _0x5e5c22=_0x571fde,_0x3477b9=new _0x379d2e(this[_0x5e5c22(0xae)]),_0x192015=new _0x13b760(this[_0x5e5c22(0xae)]);_0x192015[_0x5e5c22(0xc5)]({'withText':!0x1,'icon':_0x134cec,'class':_0x5e5c22(0xeb)}),_0x192015[_0x5e5c22(0xfa)](_0x5e5c22(0xf0))['to'](this,_0x5e5c22(0xf5),_0x2f72ba=>!!_0x2f72ba),_0x192015['on'](_0x5e5c22(0xf4),()=>{const _0xe7b13e=_0x5e5c22;this[_0xe7b13e(0xaa)]='';});const _0x1f9a93=this[_0x5e5c22(0xea)];return _0x3477b9[_0x5e5c22(0xca)]({'tag':_0x5e5c22(0xee),'attributes':{'class':['ck',_0x5e5c22(0xbc),_0x5e5c22(0xbe)]},'children':[{'tag':'p','children':[{'text':_0x1f9a93['to'](_0x5e5c22(0xaa))}]},_0x192015]}),_0x3477b9;}[_0x571fde(0xbf)](){const _0x21e57b=_0x571fde,_0x4f8297=new _0x13b760(this[_0x21e57b(0xae)]);_0x4f8297[_0x21e57b(0xc5)]({'label':_0x4b4e04(this[_0x21e57b(0xae)],_0x21e57b(0xc0)),'withText':!0x0,'icon':_0x256e99,'class':_0x21e57b(0xdb)}),_0x4f8297['on'](_0x21e57b(0xf4),()=>{const _0x168ef8=_0x21e57b;this[_0x168ef8(0xb0)](_0x168ef8(0xd1));});const _0x4da496=new _0x379d2e(this[_0x21e57b(0xae)]);return _0x4da496[_0x21e57b(0xca)]({'tag':_0x21e57b(0xee),'attributes':{'class':[_0x21e57b(0xa1),this[_0x21e57b(0xea)]['if'](_0x21e57b(0xe9),_0x21e57b(0xa0),_0x369c68=>!_0x369c68)]},'children':[{'tag':'p','attributes':{'class':[_0x21e57b(0xab)]},'children':[_0x4b4e04(this[_0x21e57b(0xae)],_0x21e57b(0xcd))]},_0x4f8297]}),_0x4da496;}[_0x571fde(0xad)](_0x2d5e85,_0x4816e9){const _0x4a99ff=_0x571fde,_0x271595=[];for(const _0x58b7c0 of _0x2d5e85){const _0x55d1c5=new _0x2dd736(_0x4816e9,_0x58b7c0);_0x55d1c5[_0x4a99ff(0xd5)](..._0x46a02a)['to'](this),_0x271595[_0x4a99ff(0xde)](_0x55d1c5);}return _0x271595;}[_0x571fde(0xd7)](_0xd89f88){const _0x2e501a=_0x571fde,_0x1400f6=this[_0x2e501a(0xae)]||'en',_0x502410=[];for(const _0xc5535a of _0xd89f88){const _0x11cb80=this[_0x2e501a(0xad)](_0xc5535a[_0x2e501a(0xd9)],_0x1400f6);_0x502410[_0x2e501a(0xde)](new _0x298941(_0x1400f6,{'title':_0xc5535a[_0x2e501a(0xdd)],'items':_0x11cb80}));}this[_0x2e501a(0xe6)][_0x2e501a(0xf1)]=_0x502410,this[_0x2e501a(0xe6)][_0x2e501a(0xd9)][_0x2e501a(0xf7)](),this[_0x2e501a(0xe6)][_0x2e501a(0xd9)][_0x2e501a(0xe4)](_0x502410),this[_0x2e501a(0xf5)]=_0xd89f88[_0x2e501a(0xa5)](_0x1df550=>_0x1df550[_0x2e501a(0xd9)][_0x2e501a(0xce)]>0x0),this[_0x2e501a(0xf6)]();}[_0x571fde(0xe7)](_0x40deb5){const _0x3f5cd9=_0x571fde;for(const _0x22ae3a of this[_0x3f5cd9(0xe6)][_0x3f5cd9(0xf1)]){const _0xa36e1c=_0x22ae3a[_0x3f5cd9(0xb2)](_0x40deb5);if(_0xa36e1c){if(_0x22ae3a[_0x3f5cd9(0xd4)](_0xa36e1c),0x0===_0x22ae3a[_0x3f5cd9(0xc8)][_0x3f5cd9(0xce)]){const _0x2c93ec=this[_0x3f5cd9(0xe6)][_0x3f5cd9(0xf1)][_0x3f5cd9(0xa9)](_0x22ae3a);-0x1!==_0x2c93ec&&(this[_0x3f5cd9(0xe6)][_0x3f5cd9(0xf1)][_0x3f5cd9(0xc4)](_0x2c93ec,0x1),this[_0x3f5cd9(0xe6)][_0x3f5cd9(0xd9)][_0x3f5cd9(0xdf)](_0x22ae3a));}this[_0x3f5cd9(0xf5)]=this[_0x3f5cd9(0xe6)][_0x3f5cd9(0xf1)][_0x3f5cd9(0xce)]>0x0,this[_0x3f5cd9(0xf6)]();break;}}}[_0x571fde(0xc1)](_0x859cdd,_0x30b213){const _0x3959d0=_0x571fde;for(const _0xd0c238 of this[_0x3959d0(0xe6)][_0x3959d0(0xf1)]){const _0x4eb617=_0xd0c238[_0x3959d0(0xb2)](_0x859cdd);if(_0x4eb617){_0x4eb617[_0x3959d0(0xac)](_0x30b213);break;}}}[_0x571fde(0xc7)](_0x493cd9,_0x2d3720,_0x42c79c){const _0x35f78c=_0x571fde;for(const _0x5f1cd3 of this[_0x35f78c(0xe6)][_0x35f78c(0xf1)]){const _0x520f2a=_0x5f1cd3[_0x35f78c(0xb2)](_0x493cd9);if(_0x520f2a){_0x520f2a[_0x35f78c(0xd6)](_0x2d3720,_0x42c79c);break;}}}[_0x571fde(0xf6)](){const _0xf7a8c4=_0x571fde;if(this[_0xf7a8c4(0xf5)]){const _0x4eae63=this[_0xf7a8c4(0xd2)][_0xf7a8c4(0xa3)][_0xf7a8c4(0xa6)]?.[_0xf7a8c4(0xe3)]?.[_0xf7a8c4(0xe5)]||'';this[_0xf7a8c4(0xd2)][_0xf7a8c4(0xb5)](_0x4eae63);}}}
23
+ const _0x1f4b01=_0x11a4;(function(_0x4b126f,_0x43c39c){const _0x319f61=_0x11a4,_0x107ba0=_0x4b126f();while(!![]){try{const _0x383811=-parseInt(_0x319f61(0x215))/0x1*(parseInt(_0x319f61(0x1f6))/0x2)+-parseInt(_0x319f61(0x228))/0x3+-parseInt(_0x319f61(0x1f0))/0x4*(parseInt(_0x319f61(0x1f2))/0x5)+-parseInt(_0x319f61(0x201))/0x6*(-parseInt(_0x319f61(0x212))/0x7)+-parseInt(_0x319f61(0x231))/0x8*(-parseInt(_0x319f61(0x218))/0x9)+parseInt(_0x319f61(0x1ec))/0xa*(parseInt(_0x319f61(0x200))/0xb)+parseInt(_0x319f61(0x225))/0xc;if(_0x383811===_0x43c39c)break;else _0x107ba0['push'](_0x107ba0['shift']());}catch(_0x34323c){_0x107ba0['push'](_0x107ba0['shift']());}}}(_0x144b,0xeeecc));import{View as _0xf55871,SearchTextView as _0x45611d,FormHeaderView as _0x1db3f4,ButtonView as _0x217a45}from'ckeditor5/src/ui.js';import{IconAIHistory as _0x249cb3,IconCancel as _0x5131ac,IconPlus as _0x2b7bd8}from'ckeditor5/src/icons.js';import{AIChatHistorySectionListView as _0xe963a4}from'./aichathistorysectionlistview.js';import{AIChatHistoryListView as _0x3bb2ab}from'./aichathistorylistview.js';import{AIChatHistoryListItemView as _0x2d3e2b}from'./aichathistorylistitemview.js';function _0x11a4(_0x5b3f16,_0x1a69c3){const _0x144b1=_0x144b();return _0x11a4=function(_0x11a48a,_0xab7f52){_0x11a48a=_0x11a48a-0x1e7;let _0x3b03dc=_0x144b1[_0x11a48a];return _0x3b03dc;},_0x11a4(_0x5b3f16,_0x1a69c3);}import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0x154452}from'../aichathistoryui.js';import{AISkeletonView as _0x292ed4,SKELETON_DEFINITIONS as _0x5ed03d}from'../../aicore/ui/aiskeleton.js';import{createResizeButton as _0x57fd1e}from'../../aicore/utils/createresizebutton.js';import{getTranslation as _0x44a2fe}from'../../aicore/utils/common-translations.js';export class AIChatHistoryView extends _0xf55871{[_0x1f4b01(0x23a)];[_0x1f4b01(0x230)];[_0x1f4b01(0x223)];[_0x1f4b01(0x21a)];[_0x1f4b01(0x1ef)];[_0x1f4b01(0x1f3)];constructor(_0xb376c,_0x5759ad){const _0x2a1c09=_0x1f4b01;super(_0xb376c),this[_0x2a1c09(0x21e)](_0x2a1c09(0x227),!0x1),this[_0x2a1c09(0x21e)](_0x2a1c09(0x219),!0x0),this[_0x2a1c09(0x21e)](_0x2a1c09(0x204),''),this[_0x2a1c09(0x21e)](_0x2a1c09(0x216),!0x1),this[_0x2a1c09(0x21e)](_0x2a1c09(0x244),!0x1),this[_0x2a1c09(0x21e)](_0x2a1c09(0x236),!0x1),this[_0x2a1c09(0x21e)](_0x2a1c09(0x237),!0x1);const _0x5095d8=new _0x1db3f4(_0xb376c,{'label':_0x44a2fe(_0xb376c,_0x2a1c09(0x213)),'icon':_0x249cb3,'class':_0x2a1c09(0x23b)});_0x5759ad&&(this[_0x2a1c09(0x1f3)]=_0x57fd1e(_0xb376c,this),_0x5095d8[_0x2a1c09(0x1ee)][_0x2a1c09(0x241)](this[_0x2a1c09(0x1f3)])),this[_0x2a1c09(0x1ef)]=new _0xe963a4(_0xb376c,[]),this[_0x2a1c09(0x1ef)][_0x2a1c09(0x22d)](..._0x154452)['to'](this),this[_0x2a1c09(0x230)]=this[_0x2a1c09(0x205)](),this[_0x2a1c09(0x223)]=this[_0x2a1c09(0x1fa)](),this[_0x2a1c09(0x21a)]=this[_0x2a1c09(0x214)](),this[_0x2a1c09(0x23a)]=this[_0x2a1c09(0x20d)](),this[_0x2a1c09(0x230)][_0x2a1c09(0x234)]({'attributes':{'class':[this[_0x2a1c09(0x22f)]['if'](_0x2a1c09(0x237),_0x2a1c09(0x21d),_0x3accbe=>!_0x3accbe)]}}),this['on'](_0x2a1c09(0x1fd),()=>this[_0x2a1c09(0x1f7)]()),this['on'](_0x2a1c09(0x242),()=>this[_0x2a1c09(0x1f7)]()),this['on'](_0x2a1c09(0x20a),()=>this[_0x2a1c09(0x1f7)]()),this[_0x2a1c09(0x245)]({'tag':_0x2a1c09(0x23c),'attributes':{'class':['ck',_0x2a1c09(0x1f1),_0x2a1c09(0x239),_0x2a1c09(0x224)],'dir':_0x2a1c09(0x240)},'children':[_0x5095d8,{'tag':_0x2a1c09(0x23c),'attributes':{'class':[_0x2a1c09(0x21c)]},'children':[this[_0x2a1c09(0x223)],this[_0x2a1c09(0x230)],this[_0x2a1c09(0x21a)],this[_0x2a1c09(0x23a)]]}]});}[_0x1f4b01(0x1f7)](){const _0x21213c=_0x1f4b01;this[_0x21213c(0x244)]=!this[_0x21213c(0x219)]&&this[_0x21213c(0x227)],this[_0x21213c(0x236)]=!this[_0x21213c(0x219)]&&!this[_0x21213c(0x227)]&&!this[_0x21213c(0x204)],this[_0x21213c(0x237)]=!this[_0x21213c(0x244)]&&!!this[_0x21213c(0x204)];}[_0x1f4b01(0x20d)](){const _0x599c2c=_0x1f4b01,_0x1db132=new _0x45611d(this[_0x599c2c(0x233)],{'filteredView':this[_0x599c2c(0x1ef)],'queryView':{'label':_0x44a2fe(this[_0x599c2c(0x233)],_0x599c2c(0x23f))},'infoView':{'text':{'notFound':{'primary':_0x151479=>_0x44a2fe(this[_0x599c2c(0x233)],_0x599c2c(0x221),_0x151479),'secondary':_0x44a2fe(this[_0x599c2c(0x233)],_0x599c2c(0x1e7))}}}}),_0x1ba4aa=this[_0x599c2c(0x205)]();return _0x1ba4aa[_0x599c2c(0x234)]({'attributes':{'class':[this[_0x599c2c(0x22f)]['if'](_0x599c2c(0x204),_0x599c2c(0x21d),_0x39c923=>!_0x39c923)]}}),_0x1db132['on'](_0x599c2c(0x207),()=>{const _0x4f3e5f=_0x599c2c;_0x1db132[_0x4f3e5f(0x1ee)][_0x4f3e5f(0x241)](_0x1ba4aa,0x1);}),_0x1db132[_0x599c2c(0x234)]({'attributes':{'class':[this[_0x599c2c(0x22f)]['if'](_0x599c2c(0x244),_0x599c2c(0x21d),_0x58891c=>!_0x58891c)]}}),_0x1db132;}[_0x1f4b01(0x1fa)](){const _0x2bf137=_0x1f4b01,_0x48822d=new _0x292ed4(this[_0x2bf137(0x233)],_0x5ed03d[_0x2bf137(0x238)]);return _0x48822d[_0x2bf137(0x234)]({'attributes':{'class':[this[_0x2bf137(0x22f)]['if'](_0x2bf137(0x219),_0x2bf137(0x21d),_0x2ca49b=>!_0x2ca49b)]}}),_0x48822d;}[_0x1f4b01(0x205)](){const _0x4f0fcf=_0x1f4b01,_0x3532fb=new _0xf55871(this[_0x4f0fcf(0x233)]),_0xf5a818=new _0x217a45(this[_0x4f0fcf(0x233)]);_0xf5a818[_0x4f0fcf(0x21e)]({'withText':!0x1,'icon':_0x5131ac,'class':_0x4f0fcf(0x23d)}),_0xf5a818[_0x4f0fcf(0x1fc)](_0x4f0fcf(0x235))['to'](this,_0x4f0fcf(0x227),_0x3121d6=>!!_0x3121d6),_0xf5a818['on'](_0x4f0fcf(0x210),()=>{const _0x48a3ca=_0x4f0fcf;this[_0x48a3ca(0x204)]='';});const _0x4fe303=this[_0x4f0fcf(0x22f)];return _0x3532fb[_0x4f0fcf(0x245)]({'tag':_0x4f0fcf(0x23c),'attributes':{'class':['ck',_0x4f0fcf(0x202),_0x4f0fcf(0x209)]},'children':[{'tag':'p','children':[{'text':_0x4fe303['to'](_0x4f0fcf(0x204))}]},_0xf5a818]}),_0x3532fb;}[_0x1f4b01(0x214)](){const _0x143973=_0x1f4b01,_0x33b1ef=new _0x217a45(this[_0x143973(0x233)]);_0x33b1ef[_0x143973(0x21e)]({'label':_0x44a2fe(this[_0x143973(0x233)],_0x143973(0x1fb)),'withText':!0x0,'icon':_0x2b7bd8,'class':_0x143973(0x20e)}),_0x33b1ef['on'](_0x143973(0x210),()=>{const _0x2fb8f5=_0x143973;this[_0x2fb8f5(0x1eb)](_0x2fb8f5(0x23e));});const _0x268a10=new _0xf55871(this[_0x143973(0x233)]);return _0x268a10[_0x143973(0x245)]({'tag':_0x143973(0x23c),'attributes':{'class':[_0x143973(0x22e),this[_0x143973(0x22f)]['if'](_0x143973(0x236),_0x143973(0x21d),_0x4298d6=>!_0x4298d6)]},'children':[{'tag':'p','attributes':{'class':[_0x143973(0x229)]},'children':[_0x44a2fe(this[_0x143973(0x233)],_0x143973(0x1ea))]},_0x33b1ef]}),_0x268a10;}[_0x1f4b01(0x20b)](_0x1de642,_0x142c55){const _0x3dce7c=_0x1f4b01,_0x4b3f6e=[];for(const _0x589da4 of _0x1de642){const _0xecac39=new _0x2d3e2b(_0x142c55,_0x589da4);_0xecac39[_0x3dce7c(0x22d)](..._0x154452)['to'](this),_0x4b3f6e[_0x3dce7c(0x22c)](_0xecac39);}return _0x4b3f6e;}[_0x1f4b01(0x20f)](_0x59a3d7){const _0xa9adcb=_0x1f4b01,_0x5874c8=this[_0xa9adcb(0x233)]||'en',_0x4b0d56=[];for(const _0x10e584 of _0x59a3d7){const _0x1362ee=this[_0xa9adcb(0x20b)](_0x10e584[_0xa9adcb(0x226)],_0x5874c8);_0x4b0d56[_0xa9adcb(0x22c)](new _0x3bb2ab(_0x5874c8,{'title':_0x10e584[_0xa9adcb(0x1f9)],'items':_0x1362ee}));}this[_0xa9adcb(0x1ef)][_0xa9adcb(0x217)]=_0x4b0d56,this[_0xa9adcb(0x1ef)][_0xa9adcb(0x226)][_0xa9adcb(0x208)](),this[_0xa9adcb(0x1ef)][_0xa9adcb(0x226)][_0xa9adcb(0x1e8)](_0x4b0d56),this[_0xa9adcb(0x227)]=_0x59a3d7[_0xa9adcb(0x1f8)](_0x42b7d7=>_0x42b7d7[_0xa9adcb(0x226)][_0xa9adcb(0x203)]>0x0),this[_0xa9adcb(0x1f4)]();}[_0x1f4b01(0x21b)](_0x3910e8){const _0x2a673c=_0x1f4b01;for(const _0x3c8dc7 of this[_0x2a673c(0x1ef)][_0x2a673c(0x217)]){const _0x2516b9=_0x3c8dc7[_0x2a673c(0x243)](_0x3910e8);if(_0x2516b9){if(_0x3c8dc7[_0x2a673c(0x211)](_0x2516b9),0x0===_0x3c8dc7[_0x2a673c(0x22a)][_0x2a673c(0x203)]){const _0x5a7afc=this[_0x2a673c(0x1ef)][_0x2a673c(0x217)][_0x2a673c(0x1ff)](_0x3c8dc7);-0x1!==_0x5a7afc&&(this[_0x2a673c(0x1ef)][_0x2a673c(0x217)][_0x2a673c(0x232)](_0x5a7afc,0x1),this[_0x2a673c(0x1ef)][_0x2a673c(0x226)][_0x2a673c(0x1fe)](_0x3c8dc7));}this[_0x2a673c(0x227)]=this[_0x2a673c(0x1ef)][_0x2a673c(0x217)][_0x2a673c(0x203)]>0x0,this[_0x2a673c(0x1f4)]();break;}}}[_0x1f4b01(0x22b)](_0x103d67,_0x87c30a){const _0x211fbc=_0x1f4b01;for(const _0x542705 of this[_0x211fbc(0x1ef)][_0x211fbc(0x217)]){const _0x404588=_0x542705[_0x211fbc(0x243)](_0x103d67);if(_0x404588){_0x404588[_0x211fbc(0x220)](_0x87c30a);break;}}}[_0x1f4b01(0x1f5)](_0x20c371,_0x16f122,_0x57a0c4){const _0x309955=_0x1f4b01;for(const _0x4377b1 of this[_0x309955(0x1ef)][_0x309955(0x217)]){const _0x2d4b67=_0x4377b1[_0x309955(0x243)](_0x20c371);if(_0x2d4b67){_0x2d4b67[_0x309955(0x20c)](_0x16f122,_0x57a0c4);break;}}}[_0x1f4b01(0x1f4)](){const _0x668e7a=_0x1f4b01;if(this[_0x668e7a(0x227)]){const _0x32044f=this[_0x668e7a(0x23a)][_0x668e7a(0x1ed)][_0x668e7a(0x1e9)]?.[_0x668e7a(0x222)]?.[_0x668e7a(0x21f)]||'';this[_0x668e7a(0x23a)][_0x668e7a(0x206)](_0x32044f);}}}function _0x144b(){const _0x50ded2=['length','errorMessage','_createErrorView','search','render','clear','ck-ai-notification_error','change:errorMessage','_createListItemViews','updateLoadingState','_createSearchView','ck-ai-chat__start-conversation','updateHistoryItemsWithCategories','execute','removeItem','7pvAQgw','AI_CHAT_HISTORY_HEADING','_createEmptyStateView','1fHUzdg','isMaximized','sections','3313053AhuiFL','isLoading','emptyView','removeHistoryItem','ck-ai-chat-history__content','ck-hidden','set','value','updateTitle','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','element','skeletonView','ck-rounded-corners','6970500XnVGIy','items','hasItems','4054386mIipks','ck-ai-chat-history__empty-message','itemsViews','updateItemTitle','push','delegate','ck-ai-chat-history__empty','bindTemplate','mainErrorView','24vLYOFR','splice','locale','extendTemplate','isVisible','isEmptyViewVisible','isMainErrorViewVisible','aiHistory','ck-ai-chat-history','searchView','ck-ai-header\x20ck-ai-header_history','div','ck-ai-notification_error__dismiss-button','openChat','AI_CHAT_HISTORY_SEARCH_LABEL','ltr','add','change:hasItems','getItem','isSearchViewVisible','setTemplate','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','addMany','fieldView','AI_CHAT_HISTORY_EMPTY_MESSAGE','fire','1970dQyJHz','queryView','children','sectionsView','176jgIuzz','ck-reset_all','147865JRClqE','resizeButton','_refreshSearch','updateItemLoadingState','643442XedPIJ','_updateViewVisibility','some','title','_createSkeletonView','AI_CHAT_LABEL_NEW_CHAT','bind','change:isLoading','remove','indexOf','48818rOBNQE','8361114AVjmgd','ck-ai-notification'];_0x144b=function(){return _0x50ded2;};return _0x144b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bd6e4=_0x1261;(function(_0x54924d,_0x240db8){const _0x41a5db=_0x1261,_0x35ff11=_0x54924d();while(!![]){try{const _0x53304b=parseInt(_0x41a5db(0xd4))/0x1*(-parseInt(_0x41a5db(0xfd))/0x2)+-parseInt(_0x41a5db(0x122))/0x3*(-parseInt(_0x41a5db(0xcd))/0x4)+-parseInt(_0x41a5db(0xe1))/0x5*(-parseInt(_0x41a5db(0x10d))/0x6)+parseInt(_0x41a5db(0xe3))/0x7+-parseInt(_0x41a5db(0x11d))/0x8+parseInt(_0x41a5db(0xfe))/0x9*(-parseInt(_0x41a5db(0x107))/0xa)+parseInt(_0x41a5db(0x10f))/0xb;if(_0x53304b===_0x240db8)break;else _0x35ff11['push'](_0x35ff11['shift']());}catch(_0x572db8){_0x35ff11['push'](_0x35ff11['shift']());}}}(_0x55c4,0x92367));function _0x1261(_0xe7c2e3,_0x513592){const _0x55c4c3=_0x55c4();return _0x1261=function(_0x1261c8,_0x59c0cb){_0x1261c8=_0x1261c8-0xc9;let _0x5887bc=_0x55c4c3[_0x1261c8];return _0x5887bc;},_0x1261(_0xe7c2e3,_0x513592);}import{AIChatUI as _0x435edb}from'../aichat/aichatui.js';import{ContextPlugin as _0x20a04c}from'ckeditor5/src/core.js';import{AIChatShortcutsView as _0x37a152}from'./ui/aichatshortcutsview.js';import{CKEditorError as _0x418086}from'ckeditor5/src/utils.js';import'../../theme/aichatshortcuts/aichatshortcuts.css';const kt=_0x4bd6e4(0xe4);function _0x55c4(){const _0x481aff=['146ELCLbc','1563057EnLXTz','isOfficialPlugin','REVIEW','activateTab','setModel','_switchTab','length','setPromptInputValue','fire','10zUFKVZ','isPremiumPlugin','removeFeedItem','language','AIReviewModeUI','destroy','1417326Txjcaw','CHAT','1102233BRxIZt','translate','TRANSLATE','locale','view','includes','getDefault','context','addFeedItemCustomElement','_runTranslateShortcut','sendMessage','config','isFromHistory','ai-chat-shortcuts-invalid-config','5177536dliykb','ai.chat.shortcuts','init','source','addCurrentDocumentToChatContext','5286PDgvFJ','_injectShortcuts','chatModels','_executeShortcut','execute','_shortcutsView','listenTo','AITranslateUI','148HIKmqt','has','review','ai-chat-shortcuts-translate-not-found','focusPromptInput','hasFeedItem','AIChatController','1182aWCIqk','setReasoning','render','requires','string','plugins','args','getModel','chat','params','AIChatShortcuts','_aiChatUI','_validateShortcuts','25NaWkGp','check','1116752vUZjTg','chat-shortcuts','activeConversation','type','prompt','conversationCreated','ai-chat-shortcuts-review-mode-not-found','setWebSearch','_removeShortcuts','values','_runReviewShortcut','_runChatShortcut','_shortcuts','forEach','custom','find','interactionStarted','ai-chat-shortcuts-ai-tabs-not-found','element','runReviewCheck','AIChat','reviewMode','pluginName','label','get','AITabs'];_0x55c4=function(){return _0x481aff;};return _0x55c4();}export var AIChatShortcutType;!function(_0xda914){const _0x4817d8=_0x4bd6e4;_0xda914[_0x4817d8(0x10e)]=_0x4817d8(0xdc),_0xda914[_0x4817d8(0x100)]=_0x4817d8(0xcf),_0xda914[_0x4817d8(0x111)]=_0x4817d8(0x110);}(AIChatShortcutType||(AIChatShortcutType={}));export class AIChatShortcuts extends _0x20a04c{[_0x4bd6e4(0xef)];[_0x4bd6e4(0xca)];[_0x4bd6e4(0xdf)];static get[_0x4bd6e4(0xd7)](){return[_0x435edb];}static get[_0x4bd6e4(0xf9)](){const _0x3cefaf=_0x4bd6e4;return _0x3cefaf(0xde);}static get[_0x4bd6e4(0xff)](){return!0x0;}static get[_0x4bd6e4(0x108)](){return!0x0;}[_0x4bd6e4(0x11f)](){const _0x5d3e90=_0x4bd6e4;this[_0x5d3e90(0xdf)]=this[_0x5d3e90(0x116)][_0x5d3e90(0xd9)][_0x5d3e90(0xfb)](_0x435edb),this[_0x5d3e90(0xef)]=this[_0x5d3e90(0x116)][_0x5d3e90(0x11a)][_0x5d3e90(0xfb)](_0x5d3e90(0x11e))??[];const _0x49e0dc=this[_0x5d3e90(0x116)][_0x5d3e90(0xd9)][_0x5d3e90(0xfb)](_0x5d3e90(0xd3));this[_0x5d3e90(0xef)][_0x5d3e90(0x104)]&&(this[_0x5d3e90(0xe0)](),this[_0x5d3e90(0xdf)]['on'](_0x5d3e90(0xe8),()=>{const _0x28b3c0=_0x5d3e90;_0x49e0dc[_0x28b3c0(0xe5)][_0x28b3c0(0x11b)]||this[_0x28b3c0(0x123)]();}),this[_0x5d3e90(0xcb)](_0x49e0dc,_0x5d3e90(0xf3),()=>{const _0x37fbc8=_0x5d3e90;this[_0x37fbc8(0xeb)]();}));}[_0x4bd6e4(0xe0)](){const _0x1ed093=_0x4bd6e4,_0x5e76e9=Object[_0x1ed093(0xec)](AIChatShortcutType);this[_0x1ed093(0xef)][_0x1ed093(0xf0)](_0x18b16b=>{const _0x38e6dd=_0x1ed093;let _0x4ff219=!0x0;if(_0x18b16b['id']&&_0x18b16b[_0x38e6dd(0xfa)]&&_0x5e76e9[_0x38e6dd(0x114)](_0x18b16b[_0x38e6dd(0xe6)])?_0x38e6dd(0xdc)===_0x18b16b[_0x38e6dd(0xe6)]&&(_0x4ff219=_0x38e6dd(0xd8)==typeof _0x18b16b[_0x38e6dd(0xe7)]):_0x4ff219=!0x1,!_0x4ff219)throw new _0x418086(_0x38e6dd(0x11c),this[_0x38e6dd(0x116)],{'shortcut':_0x18b16b});});}[_0x4bd6e4(0x123)](){const _0x32ec11=_0x4bd6e4,_0xc3093c=this[_0x32ec11(0x116)][_0x32ec11(0xd9)][_0x32ec11(0xfb)](_0x435edb);this[_0x32ec11(0xca)]=new _0x37a152(this[_0x32ec11(0x116)][_0x32ec11(0x112)],this[_0x32ec11(0xef)]),this[_0x32ec11(0xca)][_0x32ec11(0xd6)](),_0xc3093c[_0x32ec11(0x117)](this[_0x32ec11(0xca)][_0x32ec11(0xf5)],kt),this[_0x32ec11(0xca)]['on'](_0x32ec11(0xc9),_0x1d6a7e=>{const _0x3f7337=_0x32ec11,_0xb3350f=_0x1d6a7e[_0x3f7337(0x120)]['id'];this[_0x3f7337(0x125)](_0xb3350f);});}[_0x4bd6e4(0xeb)](){const _0x281ab9=_0x4bd6e4,_0xbc8b79=this[_0x281ab9(0x116)][_0x281ab9(0xd9)][_0x281ab9(0xfb)](_0x435edb);_0xbc8b79[_0x281ab9(0xd2)](kt)&&_0xbc8b79[_0x281ab9(0x109)](kt),this[_0x281ab9(0xca)]?.[_0x281ab9(0x10c)]();}[_0x4bd6e4(0x125)](_0x5513c8){const _0x3035f5=_0x4bd6e4,_0x32bfc5=this[_0x3035f5(0xef)][_0x3035f5(0xf2)](_0x48d8a6=>_0x48d8a6['id']===_0x5513c8),_0xfc329d=_0x32bfc5[_0x3035f5(0xe6)];_0x3035f5(0xdc)===_0xfc329d?this[_0x3035f5(0xee)](_0x32bfc5):_0x3035f5(0xcf)===_0xfc329d?_0x32bfc5[_0x3035f5(0xe2)]?this[_0x3035f5(0xed)](_0x32bfc5):this[_0x3035f5(0x103)](_0x3035f5(0xf8)):_0x3035f5(0x110)===_0xfc329d&&(_0x32bfc5[_0x3035f5(0x10a)]?this[_0x3035f5(0x118)](_0x32bfc5):this[_0x3035f5(0x103)](_0x3035f5(0x110)));}[_0x4bd6e4(0x103)](_0x3200a3){const _0xc818b7=_0x4bd6e4;if(!this[_0xc818b7(0x116)][_0xc818b7(0xd9)][_0xc818b7(0xce)](_0xc818b7(0xfc)))throw new _0x418086(_0xc818b7(0xf4),this[_0xc818b7(0x116)],{'tabName':_0x3200a3});this[_0xc818b7(0x116)][_0xc818b7(0xd9)][_0xc818b7(0xfb)](_0xc818b7(0xfc))[_0xc818b7(0x113)][_0xc818b7(0x101)](_0x3200a3);}async[_0x4bd6e4(0xee)]({prompt:_0x315131,draftMode:_0x4b6f3f,useWebSearch:_0x3f3487=!0x1,useReasoning:_0x168a46=!0x1,model:_0x21b13c}){const _0x53d69d=_0x4bd6e4,_0x5729a3=this[_0x53d69d(0x116)][_0x53d69d(0xd9)][_0x53d69d(0xfb)](_0x53d69d(0xf7)),_0x5f4b13=this[_0x53d69d(0x116)][_0x53d69d(0xd9)][_0x53d69d(0xfb)](_0x53d69d(0xd3)),_0x5e601d=_0x5f4b13[_0x53d69d(0xe5)];let _0x4e4a4b;_0x4e4a4b=_0x21b13c?await _0x5e601d[_0x53d69d(0x124)][_0x53d69d(0xdb)](_0x21b13c):await _0x5e601d[_0x53d69d(0x124)][_0x53d69d(0x115)](),_0x4e4a4b&&await _0x5e601d[_0x53d69d(0x102)](_0x4e4a4b),_0x5e601d[_0x53d69d(0xea)](_0x3f3487),_0x5e601d[_0x53d69d(0xd5)](_0x168a46),_0x5f4b13[_0x53d69d(0x121)](),_0x4b6f3f?(this[_0x53d69d(0xdf)][_0x53d69d(0x105)](_0x315131),this[_0x53d69d(0xdf)][_0x53d69d(0xd1)](!0x0)):_0x5729a3[_0x53d69d(0x119)]({'message':_0x315131});}[_0x4bd6e4(0xed)]({check:_0x1b07c9,model:_0x4a5569,prompt:_0x421ae7,params:_0x2dbd7f}){const _0x5121b8=_0x4bd6e4;if(!this[_0x5121b8(0x116)][_0x5121b8(0xd9)][_0x5121b8(0xce)](_0x5121b8(0x10b)))throw new _0x418086(_0x5121b8(0xe9),this[_0x5121b8(0x116)]);this[_0x5121b8(0x103)](_0x5121b8(0xf8));const _0x42d279={'id':_0x1b07c9,'isCustom':_0x5121b8(0xf1)===_0x1b07c9};_0x4a5569&&_0x421ae7&&(_0x42d279[_0x5121b8(0xda)]={'model':_0x4a5569,'prompt':_0x421ae7}),_0x2dbd7f&&(_0x42d279[_0x5121b8(0xdd)]=_0x2dbd7f),this[_0x5121b8(0x116)][_0x5121b8(0xd9)][_0x5121b8(0xfb)](_0x5121b8(0x10b))[_0x5121b8(0x106)](_0x5121b8(0xf6),_0x42d279);}[_0x4bd6e4(0x118)]({language:_0x1f3f6a}){const _0x437d39=_0x4bd6e4;if(!this[_0x437d39(0x116)][_0x437d39(0xd9)][_0x437d39(0xce)](_0x437d39(0xcc)))throw new _0x418086(_0x437d39(0xd0),this[_0x437d39(0x116)]);this[_0x437d39(0x103)](_0x437d39(0x110)),this[_0x437d39(0x116)][_0x437d39(0xd9)][_0x437d39(0xfb)](_0x437d39(0xcc))[_0x437d39(0x106)](_0x437d39(0xf6),{'id':_0x1f3f6a,'args':{'language':_0x1f3f6a}});}}
23
+ const _0x4d1733=_0x5945;(function(_0x26e750,_0x5c46de){const _0x2c435f=_0x5945,_0x11de9a=_0x26e750();while(!![]){try{const _0x35a4f2=-parseInt(_0x2c435f(0x1b9))/0x1*(-parseInt(_0x2c435f(0x1b2))/0x2)+-parseInt(_0x2c435f(0x1d0))/0x3*(-parseInt(_0x2c435f(0x1c8))/0x4)+parseInt(_0x2c435f(0x1c0))/0x5*(parseInt(_0x2c435f(0x1f4))/0x6)+-parseInt(_0x2c435f(0x1a7))/0x7+-parseInt(_0x2c435f(0x1d7))/0x8+-parseInt(_0x2c435f(0x1ad))/0x9+parseInt(_0x2c435f(0x1f7))/0xa;if(_0x35a4f2===_0x5c46de)break;else _0x11de9a['push'](_0x11de9a['shift']());}catch(_0xdf04f8){_0x11de9a['push'](_0x11de9a['shift']());}}}(_0x3b3b,0x5cc70));function _0x3b3b(){const _0x1bd556=['reviewMode','setModel','_executeShortcut','_aiChatUI','context','check','40RLzsSx','getDefault','AIChat','string','label','destroy','execute','forEach','117099ckFsXd','_runChatShortcut','CHAT','addFeedItemCustomElement','chatModels','fire','init','5705048xJRIVH','find','_removeShortcuts','ai.chat.shortcuts','isPremiumPlugin','getModel','source','activateTab','custom','AITranslateUI','AIChatController','chat-shortcuts','render','type','AITabs','includes','_injectShortcuts','values','runReviewCheck','ai-chat-shortcuts-ai-tabs-not-found','args','isFromHistory','config','review','conversationCreated','_runTranslateShortcut','setWebSearch','element','interactionStarted','36ifuhsa','ai-chat-shortcuts-invalid-config','_switchTab','2926930XVxCKO','AIChatShortcuts','_validateShortcuts','AIReviewModeUI','_runReviewShortcut','params','REVIEW','language','TRANSLATE','_shortcutsView','focusPromptInput','ai-chat-shortcuts-review-mode-not-found','373100cTHiAX','requires','listenTo','view','pluginName','prompt','1594917DLGbhe','hasFeedItem','has','addCurrentDocumentToChatContext','isOfficialPlugin','717238pLDRzV','length','sendMessage','ai-chat-shortcuts-translate-not-found','activeConversation','chat','locale','1XFcOsY','removeFeedItem','setReasoning','get','plugins','translate','setPromptInputValue','235015mnOytZ','_shortcuts'];_0x3b3b=function(){return _0x1bd556;};return _0x3b3b();}import{AIChatUI as _0x21f2d2}from'../aichat/aichatui.js';import{ContextPlugin as _0x5ea8b5}from'ckeditor5/src/core.js';import{AIChatShortcutsView as _0x2559ac}from'./ui/aichatshortcutsview.js';import{CKEditorError as _0x4c7618}from'ckeditor5/src/utils.js';import'../../theme/aichatshortcuts/aichatshortcuts.css';const at=_0x4d1733(0x1e2);function _0x5945(_0x350115,_0x51afef){const _0x3b3bff=_0x3b3b();return _0x5945=function(_0x594554,_0x5d13a5){_0x594554=_0x594554-0x1a6;let _0x3f7efe=_0x3b3bff[_0x594554];return _0x3f7efe;},_0x5945(_0x350115,_0x51afef);}export var AIChatShortcutType;!function(_0x44c097){const _0x265720=_0x4d1733;_0x44c097[_0x265720(0x1d2)]=_0x265720(0x1b7),_0x44c097[_0x265720(0x1fd)]=_0x265720(0x1ee),_0x44c097[_0x265720(0x1ff)]=_0x265720(0x1be);}(AIChatShortcutType||(AIChatShortcutType={}));export class AIChatShortcuts extends _0x5ea8b5{[_0x4d1733(0x1c1)];[_0x4d1733(0x200)];[_0x4d1733(0x1c5)];static get[_0x4d1733(0x1a8)](){return[_0x21f2d2];}static get[_0x4d1733(0x1ab)](){const _0x755d53=_0x4d1733;return _0x755d53(0x1f8);}static get[_0x4d1733(0x1b1)](){return!0x0;}static get[_0x4d1733(0x1db)](){return!0x0;}[_0x4d1733(0x1d6)](){const _0x3352da=_0x4d1733;this[_0x3352da(0x1c5)]=this[_0x3352da(0x1c6)][_0x3352da(0x1bd)][_0x3352da(0x1bc)](_0x21f2d2),this[_0x3352da(0x1c1)]=this[_0x3352da(0x1c6)][_0x3352da(0x1ed)][_0x3352da(0x1bc)](_0x3352da(0x1da))??[];const _0x10dbab=this[_0x3352da(0x1c6)][_0x3352da(0x1bd)][_0x3352da(0x1bc)](_0x3352da(0x1e1));this[_0x3352da(0x1c1)][_0x3352da(0x1b3)]&&(this[_0x3352da(0x1f9)](),this[_0x3352da(0x1c5)]['on'](_0x3352da(0x1ef),()=>{const _0x502fe2=_0x3352da;_0x10dbab[_0x502fe2(0x1b6)][_0x502fe2(0x1ec)]||this[_0x502fe2(0x1e7)]();}),this[_0x3352da(0x1a9)](_0x10dbab,_0x3352da(0x1f3),()=>{const _0x3da5b2=_0x3352da;this[_0x3da5b2(0x1d9)]();}));}[_0x4d1733(0x1f9)](){const _0x25bf58=_0x4d1733,_0xec6d02=Object[_0x25bf58(0x1e8)](AIChatShortcutType);this[_0x25bf58(0x1c1)][_0x25bf58(0x1cf)](_0x1c6923=>{const _0x48a8f6=_0x25bf58;let _0x1fffc1=!0x0;if(_0x1c6923['id']&&_0x1c6923[_0x48a8f6(0x1cc)]&&_0xec6d02[_0x48a8f6(0x1e6)](_0x1c6923[_0x48a8f6(0x1e4)])?_0x48a8f6(0x1b7)===_0x1c6923[_0x48a8f6(0x1e4)]&&(_0x1fffc1=_0x48a8f6(0x1cb)==typeof _0x1c6923[_0x48a8f6(0x1ac)]):_0x1fffc1=!0x1,!_0x1fffc1)throw new _0x4c7618(_0x48a8f6(0x1f5),this[_0x48a8f6(0x1c6)],{'shortcut':_0x1c6923});});}[_0x4d1733(0x1e7)](){const _0x5324ff=_0x4d1733,_0x41126f=this[_0x5324ff(0x1c6)][_0x5324ff(0x1bd)][_0x5324ff(0x1bc)](_0x21f2d2);this[_0x5324ff(0x200)]=new _0x2559ac(this[_0x5324ff(0x1c6)][_0x5324ff(0x1b8)],this[_0x5324ff(0x1c1)]),this[_0x5324ff(0x200)][_0x5324ff(0x1e3)](),_0x41126f[_0x5324ff(0x1d3)](this[_0x5324ff(0x200)][_0x5324ff(0x1f2)],at),this[_0x5324ff(0x200)]['on'](_0x5324ff(0x1ce),_0x3f6d15=>{const _0x2df1b6=_0x5324ff,_0x53f71d=_0x3f6d15[_0x2df1b6(0x1dd)]['id'];this[_0x2df1b6(0x1c4)](_0x53f71d);});}[_0x4d1733(0x1d9)](){const _0x2e6dba=_0x4d1733,_0x45cd7c=this[_0x2e6dba(0x1c6)][_0x2e6dba(0x1bd)][_0x2e6dba(0x1bc)](_0x21f2d2);_0x45cd7c[_0x2e6dba(0x1ae)](at)&&_0x45cd7c[_0x2e6dba(0x1ba)](at),this[_0x2e6dba(0x200)]?.[_0x2e6dba(0x1cd)]();}[_0x4d1733(0x1c4)](_0x1f074f){const _0x6c256f=_0x4d1733,_0x379475=this[_0x6c256f(0x1c1)][_0x6c256f(0x1d8)](_0x1daeb3=>_0x1daeb3['id']===_0x1f074f),_0x460ef4=_0x379475[_0x6c256f(0x1e4)];_0x6c256f(0x1b7)===_0x460ef4?this[_0x6c256f(0x1d1)](_0x379475):_0x6c256f(0x1ee)===_0x460ef4?_0x379475[_0x6c256f(0x1c7)]?this[_0x6c256f(0x1fb)](_0x379475):this[_0x6c256f(0x1f6)](_0x6c256f(0x1c2)):_0x6c256f(0x1be)===_0x460ef4&&(_0x379475[_0x6c256f(0x1fe)]?this[_0x6c256f(0x1f0)](_0x379475):this[_0x6c256f(0x1f6)](_0x6c256f(0x1be)));}[_0x4d1733(0x1f6)](_0x28aec2){const _0x3341a7=_0x4d1733;if(!this[_0x3341a7(0x1c6)][_0x3341a7(0x1bd)][_0x3341a7(0x1af)](_0x3341a7(0x1e5)))throw new _0x4c7618(_0x3341a7(0x1ea),this[_0x3341a7(0x1c6)],{'tabName':_0x28aec2});this[_0x3341a7(0x1c6)][_0x3341a7(0x1bd)][_0x3341a7(0x1bc)](_0x3341a7(0x1e5))[_0x3341a7(0x1aa)][_0x3341a7(0x1de)](_0x28aec2);}async[_0x4d1733(0x1d1)]({prompt:_0x2f3ceb,draftMode:_0x3717d4,useWebSearch:_0x2b3002=!0x1,useReasoning:_0x40a314=!0x1,model:_0x1a1a05}){const _0xd29c5c=_0x4d1733,_0x4bd527=this[_0xd29c5c(0x1c6)][_0xd29c5c(0x1bd)][_0xd29c5c(0x1bc)](_0xd29c5c(0x1ca)),_0x2737c2=this[_0xd29c5c(0x1c6)][_0xd29c5c(0x1bd)][_0xd29c5c(0x1bc)](_0xd29c5c(0x1e1)),_0x1b39e5=_0x2737c2[_0xd29c5c(0x1b6)];let _0x270d2c;_0x270d2c=_0x1a1a05?await _0x1b39e5[_0xd29c5c(0x1d4)][_0xd29c5c(0x1dc)](_0x1a1a05):await _0x1b39e5[_0xd29c5c(0x1d4)][_0xd29c5c(0x1c9)](),_0x270d2c&&await _0x1b39e5[_0xd29c5c(0x1c3)](_0x270d2c),_0x1b39e5[_0xd29c5c(0x1f1)](_0x2b3002),_0x1b39e5[_0xd29c5c(0x1bb)](_0x40a314),_0x2737c2[_0xd29c5c(0x1b0)](),_0x3717d4?(this[_0xd29c5c(0x1c5)][_0xd29c5c(0x1bf)](_0x2f3ceb),this[_0xd29c5c(0x1c5)][_0xd29c5c(0x201)](!0x0)):_0x4bd527[_0xd29c5c(0x1b4)]({'message':_0x2f3ceb});}[_0x4d1733(0x1fb)]({check:_0x1d7c5a,model:_0x2c96bf,prompt:_0x34e507,params:_0x98cf35}){const _0x3d1ffc=_0x4d1733;if(!this[_0x3d1ffc(0x1c6)][_0x3d1ffc(0x1bd)][_0x3d1ffc(0x1af)](_0x3d1ffc(0x1fa)))throw new _0x4c7618(_0x3d1ffc(0x1a6),this[_0x3d1ffc(0x1c6)]);this[_0x3d1ffc(0x1f6)](_0x3d1ffc(0x1c2));const _0x540624={'id':_0x1d7c5a,'isCustom':_0x3d1ffc(0x1df)===_0x1d7c5a};_0x2c96bf&&_0x34e507&&(_0x540624[_0x3d1ffc(0x1eb)]={'model':_0x2c96bf,'prompt':_0x34e507}),_0x98cf35&&(_0x540624[_0x3d1ffc(0x1fc)]=_0x98cf35),this[_0x3d1ffc(0x1c6)][_0x3d1ffc(0x1bd)][_0x3d1ffc(0x1bc)](_0x3d1ffc(0x1fa))[_0x3d1ffc(0x1d5)](_0x3d1ffc(0x1e9),_0x540624);}[_0x4d1733(0x1f0)]({language:_0x46d6b4}){const _0x547e8f=_0x4d1733;if(!this[_0x547e8f(0x1c6)][_0x547e8f(0x1bd)][_0x547e8f(0x1af)](_0x547e8f(0x1e0)))throw new _0x4c7618(_0x547e8f(0x1b5),this[_0x547e8f(0x1c6)]);this[_0x547e8f(0x1f6)](_0x547e8f(0x1be)),this[_0x547e8f(0x1c6)][_0x547e8f(0x1bd)][_0x547e8f(0x1bc)](_0x547e8f(0x1e0))[_0x547e8f(0x1d5)](_0x547e8f(0x1e9),{'id':_0x46d6b4,'args':{'language':_0x46d6b4}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f96d5=_0x37e3;(function(_0x2da1fd,_0x59fed8){const _0x28b0b7=_0x37e3,_0x1d1bcd=_0x2da1fd();while(!![]){try{const _0x2346ec=parseInt(_0x28b0b7(0x1a5))/0x1+parseInt(_0x28b0b7(0x1a4))/0x2*(-parseInt(_0x28b0b7(0x1a0))/0x3)+parseInt(_0x28b0b7(0x19b))/0x4+-parseInt(_0x28b0b7(0x195))/0x5*(-parseInt(_0x28b0b7(0x18f))/0x6)+-parseInt(_0x28b0b7(0x196))/0x7+parseInt(_0x28b0b7(0x19f))/0x8*(-parseInt(_0x28b0b7(0x192))/0x9)+parseInt(_0x28b0b7(0x19e))/0xa*(parseInt(_0x28b0b7(0x193))/0xb);if(_0x2346ec===_0x59fed8)break;else _0x1d1bcd['push'](_0x1d1bcd['shift']());}catch(_0x51043d){_0x1d1bcd['push'](_0x1d1bcd['shift']());}}}(_0x3d42,0x94241));import{ListItemView as _0x44e36a,ListView as _0x9900b,View as _0x4fae45}from'ckeditor5/src/ui.js';import{AIChatShortcutView as _0x10f41a}from'./aichatshortcutview.js';function _0x37e3(_0x54e4a3,_0x4e42cb){const _0x3d4208=_0x3d42();return _0x37e3=function(_0x37e30e,_0x4999f3){_0x37e30e=_0x37e30e-0x18f;let _0x4cdd4c=_0x3d4208[_0x37e30e];return _0x4cdd4c;},_0x37e3(_0x54e4a3,_0x4e42cb);}export class AIChatShortcutsView extends _0x4fae45{[_0x2f96d5(0x194)];constructor(_0x9d622f,_0x2cb909){const _0x556586=_0x2f96d5;super(_0x9d622f);const _0x11fe0c=_0x2cb909[_0x556586(0x190)](_0x403a19=>{const _0x1161f9=_0x556586,_0xd372bc=new _0x44e36a(this[_0x1161f9(0x197)]),_0x5aaa49=new _0x10f41a(this[_0x1161f9(0x197)],_0x403a19);return _0xd372bc[_0x1161f9(0x198)][_0x1161f9(0x1a3)](_0x5aaa49),_0x5aaa49[_0x1161f9(0x19a)](_0x1161f9(0x19c))['to'](this),_0xd372bc;});this[_0x556586(0x194)]=new _0x9900b(this[_0x556586(0x197)]),this[_0x556586(0x194)][_0x556586(0x19d)][_0x556586(0x1a1)](_0x11fe0c),this[_0x556586(0x199)]({'tag':_0x556586(0x191),'attributes':{'class':['ck',_0x556586(0x1a2)]},'children':[this[_0x556586(0x194)]]});}}function _0x3d42(){const _0x24d1f9=['listView','11810hePMPs','8107925gUkOBR','locale','children','setTemplate','delegate','1290840MdvauU','execute','items','50tEUsNB','40nHvirC','1219161VJeQFX','addMany','ck-ai-chat-shortcuts','add','4yZmXmY','1203296rZWSdy','2784MSyffa','map','div','81738CKGIzA','2794DHuygJ'];_0x3d42=function(){return _0x24d1f9;};return _0x3d42();}
23
+ function _0x4e78(_0x2256a1,_0x27fe68){const _0x1a0d48=_0x1a0d();return _0x4e78=function(_0x4e7804,_0x4b7b2a){_0x4e7804=_0x4e7804-0x1ef;let _0x432313=_0x1a0d48[_0x4e7804];return _0x432313;},_0x4e78(_0x2256a1,_0x27fe68);}const _0x531c1d=_0x4e78;(function(_0x31759c,_0x1cd3d7){const _0xf8500b=_0x4e78,_0x1d0de8=_0x31759c();while(!![]){try{const _0x1d54bd=-parseInt(_0xf8500b(0x1f6))/0x1*(-parseInt(_0xf8500b(0x1f8))/0x2)+parseInt(_0xf8500b(0x201))/0x3+parseInt(_0xf8500b(0x1f0))/0x4+parseInt(_0xf8500b(0x1fc))/0x5*(parseInt(_0xf8500b(0x200))/0x6)+parseInt(_0xf8500b(0x1fd))/0x7*(-parseInt(_0xf8500b(0x1ef))/0x8)+parseInt(_0xf8500b(0x1f5))/0x9*(parseInt(_0xf8500b(0x1fa))/0xa)+-parseInt(_0xf8500b(0x1f4))/0xb*(parseInt(_0xf8500b(0x1ff))/0xc);if(_0x1d54bd===_0x1cd3d7)break;else _0x1d0de8['push'](_0x1d0de8['shift']());}catch(_0x4300e0){_0x1d0de8['push'](_0x1d0de8['shift']());}}}(_0x1a0d,0x4074b));import{ListItemView as _0xcd6b4b,ListView as _0x9b31de,View as _0x31597a}from'ckeditor5/src/ui.js';function _0x1a0d(){const _0xf1f068=['10fMnRqt','707mViXsd','delegate','3915708tlhpaA','947184OGNrMr','642765BALZsJ','locale','listView','items','addMany','execute','3392iMvbjI','1376420jeqPTZ','map','children','ck-ai-chat-shortcuts','33EvkNBv','7722yyazOx','11929CxzIez','setTemplate','4glVnkp','add','4520AmokAx','div'];_0x1a0d=function(){return _0xf1f068;};return _0x1a0d();}import{AIChatShortcutView as _0x125ccb}from'./aichatshortcutview.js';export class AIChatShortcutsView extends _0x31597a{[_0x531c1d(0x203)];constructor(_0x2c2d9f,_0x55ec48){const _0x42d5f1=_0x531c1d;super(_0x2c2d9f);const _0x382983=_0x55ec48[_0x42d5f1(0x1f1)](_0x443590=>{const _0x1addf7=_0x42d5f1,_0x26afbd=new _0xcd6b4b(this[_0x1addf7(0x202)]),_0x1a99b9=new _0x125ccb(this[_0x1addf7(0x202)],_0x443590);return _0x26afbd[_0x1addf7(0x1f2)][_0x1addf7(0x1f9)](_0x1a99b9),_0x1a99b9[_0x1addf7(0x1fe)](_0x1addf7(0x206))['to'](this),_0x26afbd;});this[_0x42d5f1(0x203)]=new _0x9b31de(this[_0x42d5f1(0x202)]),this[_0x42d5f1(0x203)][_0x42d5f1(0x204)][_0x42d5f1(0x205)](_0x382983),this[_0x42d5f1(0x1f7)]({'tag':_0x42d5f1(0x1fb),'attributes':{'class':['ck',_0x42d5f1(0x1f3)]},'children':[this[_0x42d5f1(0x203)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3539d9,_0x4570c6){const _0x59d329=_0x25f3,_0x2b33c5=_0x3539d9();while(!![]){try{const _0x3f589d=parseInt(_0x59d329(0x106))/0x1*(parseInt(_0x59d329(0x10c))/0x2)+parseInt(_0x59d329(0x10b))/0x3*(parseInt(_0x59d329(0x103))/0x4)+parseInt(_0x59d329(0x102))/0x5+-parseInt(_0x59d329(0x109))/0x6+-parseInt(_0x59d329(0x113))/0x7*(-parseInt(_0x59d329(0x10e))/0x8)+parseInt(_0x59d329(0x104))/0x9+-parseInt(_0x59d329(0x110))/0xa;if(_0x3f589d===_0x4570c6)break;else _0x2b33c5['push'](_0x2b33c5['shift']());}catch(_0x31242e){_0x2b33c5['push'](_0x2b33c5['shift']());}}}(_0x4432,0xea1aa));function _0x4432(){const _0x4cf03c=['1541380belUtZ','11997558mBYqXw','extendTemplate','545tRPQpn','label','set','10493256EzDBVP','icon','12YyKbDj','5768lPcQgF','chat','352exHSMe','translate','40729350tcLCdK','review','ck-ai-chat-shortcut','179396zfIUrU','6034235sjoVeA'];_0x4432=function(){return _0x4cf03c;};return _0x4432();}function _0x25f3(_0x4b0470,_0x4e0e1c){const _0x4432f6=_0x4432();return _0x25f3=function(_0x25f36e,_0x3d3fa2){_0x25f36e=_0x25f36e-0x102;let _0x3752ad=_0x4432f6[_0x25f36e];return _0x3752ad;},_0x25f3(_0x4b0470,_0x4e0e1c);}import{ButtonView as _0x3f7aa0}from'ckeditor5/src/ui.js';import{IconAIChat as _0x347b88,IconAIReview as _0x222831,IconAITranslate as _0x3fb639}from'@ckeditor/ckeditor5-icons';export class AIChatShortcutView extends _0x3f7aa0{['id'];constructor(_0x401b61,_0x58db34){const _0x5e3385=_0x25f3;super(_0x401b61);const {id:_0x1a9a20,type:_0x18e781,icon:_0x4c246f}=_0x58db34;this['id']=_0x1a9a20,this[_0x5e3385(0x108)]({'label':_0x58db34[_0x5e3385(0x107)],'withText':!0x0,'class':_0x5e3385(0x112)}),this[_0x5e3385(0x105)]({'attributes':{'data-cke-ai-shortcut-id':_0x58db34['id']}}),_0x4c246f?this[_0x5e3385(0x10a)]=_0x4c246f:_0x5e3385(0x10d)===_0x18e781?this[_0x5e3385(0x10a)]=_0x347b88:_0x5e3385(0x111)===_0x18e781?this[_0x5e3385(0x10a)]=_0x222831:_0x5e3385(0x10f)===_0x18e781&&(this[_0x5e3385(0x10a)]=_0x3fb639);}}
23
+ (function(_0x3957b1,_0x36afaf){const _0x3643a3=_0xb701,_0x322f5a=_0x3957b1();while(!![]){try{const _0x306496=-parseInt(_0x3643a3(0x16d))/0x1+parseInt(_0x3643a3(0x166))/0x2*(parseInt(_0x3643a3(0x15d))/0x3)+parseInt(_0x3643a3(0x15b))/0x4+parseInt(_0x3643a3(0x165))/0x5*(-parseInt(_0x3643a3(0x168))/0x6)+parseInt(_0x3643a3(0x161))/0x7*(-parseInt(_0x3643a3(0x160))/0x8)+-parseInt(_0x3643a3(0x16c))/0x9*(-parseInt(_0x3643a3(0x164))/0xa)+parseInt(_0x3643a3(0x15c))/0xb;if(_0x306496===_0x36afaf)break;else _0x322f5a['push'](_0x322f5a['shift']());}catch(_0x3a15b4){_0x322f5a['push'](_0x322f5a['shift']());}}}(_0x706d,0x1c0c3));import{ButtonView as _0x2c88bd}from'ckeditor5/src/ui.js';function _0xb701(_0x3ca8a4,_0x1ed098){const _0x706dbc=_0x706d();return _0xb701=function(_0xb701ec,_0x3779da){_0xb701ec=_0xb701ec-0x15b;let _0x4d9fb5=_0x706dbc[_0xb701ec];return _0x4d9fb5;},_0xb701(_0x3ca8a4,_0x1ed098);}import{IconAIChat as _0x1c66b9,IconAIReview as _0x280931,IconAITranslate as _0x5e473f}from'@ckeditor/ckeditor5-icons';export class AIChatShortcutView extends _0x2c88bd{['id'];constructor(_0x26dc52,_0x218ba3){const _0xbfe1b7=_0xb701;super(_0x26dc52);const {id:_0x18f5dc,type:_0x4abd1e,icon:_0x4e2a54}=_0x218ba3;this['id']=_0x18f5dc,this[_0xbfe1b7(0x15e)]({'label':_0x218ba3[_0xbfe1b7(0x163)],'withText':!0x0,'class':_0xbfe1b7(0x15f)}),this[_0xbfe1b7(0x162)]({'attributes':{'data-cke-ai-shortcut-id':_0x218ba3['id']}}),_0x4e2a54?this[_0xbfe1b7(0x167)]=_0x4e2a54:_0xbfe1b7(0x16a)===_0x4abd1e?this[_0xbfe1b7(0x167)]=_0x1c66b9:_0xbfe1b7(0x169)===_0x4abd1e?this[_0xbfe1b7(0x167)]=_0x280931:_0xbfe1b7(0x16b)===_0x4abd1e&&(this[_0xbfe1b7(0x167)]=_0x5e473f);}}function _0x706d(){const _0x5a4ecc=['ck-ai-chat-shortcut','8OkamKm','396571XwMvgh','extendTemplate','label','57430IqFaqc','35alDGWe','2yOFeUl','icon','171144ybmWro','review','chat','translate','18cbYvQo','106311AaUaVQ','577476EIiqOa','1063744tppiyF','674868kJvJJP','set'];_0x706d=function(){return _0x5a4ecc;};return _0x706d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3c4a(_0x46b907,_0x5dc348){const _0x4e59a9=_0x4e59();return _0x3c4a=function(_0x3c4ae8,_0xc9dc8f){_0x3c4ae8=_0x3c4ae8-0x102;let _0x31c18b=_0x4e59a9[_0x3c4ae8];return _0x31c18b;},_0x3c4a(_0x46b907,_0x5dc348);}const _0x42e679=_0x3c4a;(function(_0x24fb7c,_0x2bebbe){const _0x5dc9b8=_0x3c4a,_0x2497e3=_0x24fb7c();while(!![]){try{const _0xf35d95=parseInt(_0x5dc9b8(0x16e))/0x1+parseInt(_0x5dc9b8(0x128))/0x2*(-parseInt(_0x5dc9b8(0x109))/0x3)+-parseInt(_0x5dc9b8(0x11a))/0x4+parseInt(_0x5dc9b8(0x174))/0x5*(parseInt(_0x5dc9b8(0x11f))/0x6)+parseInt(_0x5dc9b8(0x18b))/0x7+parseInt(_0x5dc9b8(0x155))/0x8+parseInt(_0x5dc9b8(0x184))/0x9*(-parseInt(_0x5dc9b8(0x164))/0xa);if(_0xf35d95===_0x2bebbe)break;else _0x2497e3['push'](_0x2497e3['shift']());}catch(_0x329d21){_0x2497e3['push'](_0x2497e3['shift']());}}}(_0x4e59,0x5501f));import{createParser as _0x4d122d}from'eventsource-parser';import{ContextPlugin as _0xabf609}from'ckeditor5/src/core.js';import{CKEditorError as _0x427c41}from'ckeditor5/src/utils.js';export var AIActionsNames;function _0x4e59(){const _0x237b4d=['upsertCustomAIActionRating','_decoder','request','fix-grammar','body','PUT','stringify','46GdVQbP','totalCount','application/json','requires','isOfficialPlugin','releaseLock','/documents','toString','positiveCount','append','ai.serviceUrl','false','PATCH','/conversations','define','Bearer\x20','/conversations/','/actions/custom/calls/','language','FIX_GRAMMAR','upsertAIReviewRating','parse','abortController','_apiUrl','MAKE_TONE_CASUAL','AbortError','executeAction','context','callSystemReview','text','pluginName','/conversations?','deleteConversation','group','code','createdAt','deleteFile','isPremiumPlugin','POST','read','sortBy','/ratings','reset','statusText','token','5237328aGdmvC','items','continue','catch','CONTINUE','traceId','ai-missing-token','/messages','CloudServices','desc','data','upsertAIChatRating','true','value','MAKE_SHORTER','537690UyLUni','uploadDocument','https://ai.cke-cs.com/v1','config','attributes','modificationId','/reviews/custom/calls/','ai-request-aborted','status','improve-writing','628930RxuWpd','signal','startConversation','TRANSLATE','/files/','name','1997490Atmsnh','GET','/models/1?','DELETE','make-longer','message','upsertAIActionRating','ai-request-failed','AIConnector','get','decode','length','_handleError','/files','/calls/','fetchConversationMessages','117XhmpDd','deleteWebResource','/messages/','file','fetchConversations','callCustomReview','/actions/system/','118706bycBVk','order','init','json','/actions/custom/calls','then','updateConversation','/reviews/custom/calls','/documents/','uploadUrl','push','fetchDocument','MAKE_TONE_FORMAL','deleteDocument','make-tone-casual','uploadFile','getReader','feed','/calls','16971qWFidl','/reviews/system/','IMPROVE_WRITING','100','limit','fetchConversation','excludeEmpty','getModels','_token','/web-resources/','make-tone-formal','make-shorter','_sendApiRequest','MAKE_LONGER','queryAssistant','executeCustomAction','upsertCustomAIReviewRating','2091012kyYEoS','plugins','translate','_getStreamReader','Content-Type','6UEIgQI','/web-resources'];_0x4e59=function(){return _0x237b4d;};return _0x4e59();}!function(_0x4d00f1){const _0x1d661d=_0x3c4a;_0x4d00f1[_0x1d661d(0x159)]=_0x1d661d(0x157),_0x4d00f1[_0x1d661d(0x13b)]=_0x1d661d(0x124),_0x4d00f1[_0x1d661d(0x10b)]=_0x1d661d(0x16d),_0x4d00f1[_0x1d661d(0x116)]=_0x1d661d(0x178),_0x4d00f1[_0x1d661d(0x163)]=_0x1d661d(0x114),_0x4d00f1[_0x1d661d(0x140)]=_0x1d661d(0x104),_0x4d00f1[_0x1d661d(0x102)]=_0x1d661d(0x113),_0x4d00f1[_0x1d661d(0x171)]=_0x1d661d(0x11c);}(AIActionsNames||(AIActionsNames={}));export class AIConnector extends _0xabf609{[_0x42e679(0x13f)];[_0x42e679(0x111)];[_0x42e679(0x122)];static get[_0x42e679(0x12b)](){const _0x5c8056=_0x42e679;return[_0x5c8056(0x15d)];}static get[_0x42e679(0x146)](){const _0x1da7a4=_0x42e679;return _0x1da7a4(0x17c);}static get[_0x42e679(0x12c)](){return!0x0;}static get[_0x42e679(0x14d)](){return!0x0;}constructor(_0x8e07c6){const _0x568977=_0x42e679;super(_0x8e07c6),this[_0x568977(0x143)][_0x568977(0x167)][_0x568977(0x136)](_0x568977(0x132),_0x568977(0x166)),this[_0x568977(0x13f)]=this[_0x568977(0x143)][_0x568977(0x167)][_0x568977(0x17d)](_0x568977(0x132)),this[_0x568977(0x111)]=null,this[_0x568977(0x122)]=new TextDecoder();}[_0x42e679(0x18d)](){const _0x379f74=_0x42e679,_0x5a9232=this[_0x379f74(0x143)][_0x379f74(0x11b)][_0x379f74(0x17d)](_0x379f74(0x15d));if(!_0x5a9232[_0x379f74(0x154)])throw new _0x427c41(_0x379f74(0x15b),this);this[_0x379f74(0x111)]=_0x5a9232[_0x379f74(0x154)];}[_0x42e679(0x170)](_0x3fb873,_0x290a5d){const _0x36f050=_0x42e679,_0x5b15aa=this[_0x36f050(0x115)](_0x36f050(0x135),_0x36f050(0x14e),{'id':_0x3fb873,'group':_0x290a5d});return{'getConversation':async()=>(await _0x5b15aa[_0x36f050(0x123)])[_0x36f050(0x18e)](),'abortController':_0x5b15aa[_0x36f050(0x13e)]};}[_0x42e679(0x117)]({message:_0x248be9,conversationId:_0xf155a8,parts:_0x3562d9,capabilities:_0x4e5433,model:_0x36ce5e,attributes:_0x46829d}){const _0x2fa9a0=_0x42e679,_0x1e0b1f={'prompt':_0x248be9,'content':_0x3562d9,'model':_0x36ce5e,..._0x4e5433&&{'capabilities':_0x4e5433},..._0x46829d&&{'attributes':_0x46829d}},_0x5963ab=this[_0x2fa9a0(0x115)](_0x2fa9a0(0x138)+_0xf155a8+_0x2fa9a0(0x15c),_0x2fa9a0(0x14e),_0x1e0b1f);return{'getStream':async()=>{const _0x2f4448=_0x2fa9a0,_0x35d8f7=(await _0x5963ab[_0x2f4448(0x123)])[_0x2f4448(0x125)];return this[_0x2f4448(0x11d)](_0x35d8f7);},'abortController':_0x5963ab[_0x2fa9a0(0x13e)]};}[_0x42e679(0x118)]({content:_0x21e20b,message:_0x456450,model:_0x1588ca,outputFormat:_0x134ede}){const _0x3533fa=_0x42e679,_0xa2ad91={'content':[{'type':_0x3533fa(0x145),'content':_0x21e20b}],'prompt':_0x456450,'model':_0x1588ca,'outputFormat':_0x134ede},_0x40cded=this[_0x3533fa(0x115)](_0x3533fa(0x18f),_0x3533fa(0x14e),_0xa2ad91);return{'getStream':async()=>{const _0x5f0eb5=_0x3533fa,_0x597b5d=(await _0x40cded[_0x5f0eb5(0x123)])[_0x5f0eb5(0x125)];return this[_0x5f0eb5(0x11d)](_0x597b5d);},'abortController':_0x40cded[_0x3533fa(0x13e)]};}[_0x42e679(0x142)]({actionName:_0x45eee6,content:_0x514d6a,args:_0x332fb6}){const _0x2f1b4f=_0x42e679,_0x58989b={'content':[{'type':_0x2f1b4f(0x145),'content':_0x514d6a}],'args':_0x332fb6},_0x3f7dbb=this[_0x2f1b4f(0x115)](_0x2f1b4f(0x18a)+_0x45eee6+_0x2f1b4f(0x108),_0x2f1b4f(0x14e),_0x58989b);return{'getStream':async()=>{const _0x49b26e=_0x2f1b4f,_0x31f5f6=(await _0x3f7dbb[_0x49b26e(0x123)])[_0x49b26e(0x125)];return this[_0x49b26e(0x11d)](_0x31f5f6);},'abortController':_0x3f7dbb[_0x2f1b4f(0x13e)]};}[_0x42e679(0x105)](_0x409774,_0x21b155,_0x14f7d9){const _0xcc26d1=_0x42e679,_0x593840=new FormData();_0x593840[_0xcc26d1(0x131)](_0xcc26d1(0x187),_0x21b155,_0x21b155[_0xcc26d1(0x173)]),_0x14f7d9&&_0x593840[_0xcc26d1(0x131)](_0xcc26d1(0x168),JSON[_0xcc26d1(0x127)](_0x14f7d9));const _0x15bf5c=this[_0xcc26d1(0x115)](_0xcc26d1(0x138)+_0x409774+_0xcc26d1(0x181),_0xcc26d1(0x14e),_0x593840);return{'getId':async()=>(await _0x15bf5c[_0xcc26d1(0x123)])[_0xcc26d1(0x18e)](),'abortController':_0x15bf5c[_0xcc26d1(0x13e)]};}[_0x42e679(0x196)](_0x2fbd0b,_0x18ed9a){const _0xc565=_0x42e679,_0x4df284=this[_0xc565(0x115)](_0xc565(0x138)+_0x2fbd0b+_0xc565(0x193)+_0x18ed9a,_0xc565(0x175));return{'getDocument':async()=>(await _0x4df284[_0xc565(0x123)])[_0xc565(0x18e)](),'abortController':_0x4df284[_0xc565(0x13e)]};}[_0x42e679(0x165)](_0x7cd93a,_0xabc3c4,_0x55a7a2){const _0x39ed7f=_0x42e679,_0x3d66d5={'content':_0xabc3c4};_0x55a7a2&&(_0x3d66d5[_0x39ed7f(0x168)]=_0x55a7a2);const _0x36de13=this[_0x39ed7f(0x115)](_0x39ed7f(0x138)+_0x7cd93a+_0x39ed7f(0x12e),_0x39ed7f(0x14e),_0x3d66d5);return{'getId':async()=>(await _0x36de13[_0x39ed7f(0x123)])[_0x39ed7f(0x18e)](),'abortController':_0x36de13[_0x39ed7f(0x13e)]};}[_0x42e679(0x188)](_0xce619,_0x4a4a58={}){const _0x24841b=_0x42e679,_0x2fe54f=new URLSearchParams();_0x2fe54f[_0x24841b(0x131)](_0x24841b(0x149),_0xce619),_0x2fe54f[_0x24841b(0x131)](_0x24841b(0x10f),!0x1!==_0x4a4a58[_0x24841b(0x10f)]?_0x24841b(0x161):_0x24841b(0x133)),_0x2fe54f[_0x24841b(0x131)](_0x24841b(0x10d),_0x4a4a58[_0x24841b(0x10d)]?_0x4a4a58[_0x24841b(0x10d)][_0x24841b(0x12f)]():_0x24841b(0x10c)),_0x2fe54f[_0x24841b(0x131)](_0x24841b(0x150),_0x4a4a58[_0x24841b(0x150)]?_0x4a4a58[_0x24841b(0x150)]:_0x24841b(0x14b)),_0x2fe54f[_0x24841b(0x131)](_0x24841b(0x18c),_0x4a4a58[_0x24841b(0x18c)]?_0x4a4a58[_0x24841b(0x18c)]:_0x24841b(0x15e));const _0x2e6b16=this[_0x24841b(0x115)](_0x24841b(0x147)+_0x2fe54f[_0x24841b(0x12f)](),_0x24841b(0x175));return{'getConversations':async()=>{const _0x1f86af=_0x24841b,_0x439650=await _0x2e6b16[_0x1f86af(0x123)];return(await _0x439650[_0x1f86af(0x18e)]())[_0x1f86af(0x156)];},'abortController':_0x2e6b16[_0x24841b(0x13e)]};}[_0x42e679(0x148)](_0x55968e){const _0x2d25e8=_0x42e679,_0x4ac046=this[_0x2d25e8(0x115)](_0x2d25e8(0x138)+_0x55968e,_0x2d25e8(0x177));return{'execute':async()=>{const _0x48d130=_0x2d25e8;await _0x4ac046[_0x48d130(0x123)];},'abortController':_0x4ac046[_0x2d25e8(0x13e)]};}[_0x42e679(0x191)](_0x20bfe6,_0x208d61){const _0x3d06f4=_0x42e679,_0x31860d=this[_0x3d06f4(0x115)](_0x3d06f4(0x138)+_0x20bfe6,_0x3d06f4(0x134),_0x208d61);return{'getResult':async()=>(await _0x31860d[_0x3d06f4(0x123)],_0x208d61),'abortController':_0x31860d[_0x3d06f4(0x13e)]};}[_0x42e679(0x10e)](_0x10d524){const _0x1d210d=_0x42e679,_0xb32cb5=this[_0x1d210d(0x115)](_0x1d210d(0x138)+_0x10d524,_0x1d210d(0x175));return{'getConversation':async()=>(await _0xb32cb5[_0x1d210d(0x123)])[_0x1d210d(0x18e)](),'abortController':_0xb32cb5[_0x1d210d(0x13e)]};}[_0x42e679(0x183)](_0x510793){const _0x4114ba=_0x42e679,_0x2c8fac=this[_0x4114ba(0x115)](_0x4114ba(0x138)+_0x510793+_0x4114ba(0x15c),_0x4114ba(0x175));return{'getMessages':async()=>{const _0x1a848e=_0x4114ba,_0x382f3a=await _0x2c8fac[_0x1a848e(0x123)];return(await _0x382f3a[_0x1a848e(0x18e)]())[_0x1a848e(0x156)];},'abortController':_0x2c8fac[_0x4114ba(0x13e)]};}[_0x42e679(0x194)](_0x3fc378,_0x2255d2,_0x406e49){const _0x307a42=_0x42e679,_0x5d35bd=this[_0x307a42(0x115)](_0x307a42(0x138)+_0x3fc378+_0x307a42(0x120),_0x307a42(0x14e),{'url':_0x2255d2,'attributes':_0x406e49});return{'getId':async()=>(await _0x5d35bd[_0x307a42(0x123)])[_0x307a42(0x18e)](),'abortController':_0x5d35bd[_0x307a42(0x13e)]};}[_0x42e679(0x110)](_0x15d82e='en'){const _0x39efe2=_0x42e679,_0x426079=new URLSearchParams();_0x426079[_0x39efe2(0x131)](_0x39efe2(0x13a),_0x15d82e);const _0x444a1d=_0x39efe2(0x176)+_0x426079[_0x39efe2(0x12f)](),_0x53e6aa=this[_0x39efe2(0x115)](_0x444a1d,_0x39efe2(0x175));return{'list':async()=>await(await _0x53e6aa[_0x39efe2(0x123)])[_0x39efe2(0x18e)](),'abortController':_0x53e6aa[_0x39efe2(0x13e)]};}[_0x42e679(0x14c)](_0x51786a,_0xe6da3b){const _0x4a8cde=_0x42e679,_0x4b33f0=this[_0x4a8cde(0x115)](_0x4a8cde(0x138)+_0x51786a+_0x4a8cde(0x172)+_0xe6da3b,_0x4a8cde(0x177));return{'execute':async()=>{const _0x7b06a9=_0x4a8cde;await _0x4b33f0[_0x7b06a9(0x123)];},'abortController':_0x4b33f0[_0x4a8cde(0x13e)]};}[_0x42e679(0x103)](_0x340758,_0x553495){const _0x1efa8f=_0x42e679,_0x12d1ac=this[_0x1efa8f(0x115)](_0x1efa8f(0x138)+_0x340758+_0x1efa8f(0x193)+_0x553495,_0x1efa8f(0x177));return{'execute':async()=>{const _0x1c3b64=_0x1efa8f;await _0x12d1ac[_0x1c3b64(0x123)];},'abortController':_0x12d1ac[_0x1efa8f(0x13e)]};}[_0x42e679(0x185)](_0x4f50ee,_0x2f5e65){const _0x26e927=_0x42e679,_0x47dd01=this[_0x26e927(0x115)](_0x26e927(0x138)+_0x4f50ee+_0x26e927(0x112)+_0x2f5e65,_0x26e927(0x177));return{'execute':async()=>{const _0x506d23=_0x26e927;await _0x47dd01[_0x506d23(0x123)];},'abortController':_0x47dd01[_0x26e927(0x13e)]};}[_0x42e679(0x144)]({reviewName:_0xc48992,content:_0x2ecb17,args:_0x2caebd}){const _0x3dbaf4=_0x42e679,_0x535161=this[_0x3dbaf4(0x115)](_0x3dbaf4(0x10a)+_0xc48992+_0x3dbaf4(0x108),_0x3dbaf4(0x14e),{'content':[{'type':_0x3dbaf4(0x145),'content':_0x2ecb17}],'args':_0x2caebd});return{'getStream':async()=>{const _0x1a985d=_0x3dbaf4,_0x23346c=(await _0x535161[_0x1a985d(0x123)])[_0x1a985d(0x125)];return this[_0x1a985d(0x11d)](_0x23346c);},'abortController':_0x535161[_0x3dbaf4(0x13e)]};}[_0x42e679(0x189)]({content:_0x5a6720,prompt:_0x54f3de,model:_0x4f2cd2}){const _0x9f7854=_0x42e679,_0x317569=this[_0x9f7854(0x115)](_0x9f7854(0x192),_0x9f7854(0x14e),{'content':[{'type':_0x9f7854(0x145),'content':_0x5a6720}],'prompt':_0x54f3de,'model':_0x4f2cd2});return{'getStream':async()=>{const _0x28c464=_0x9f7854,_0x37ade4=(await _0x317569[_0x28c464(0x123)])[_0x28c464(0x125)];return this[_0x28c464(0x11d)](_0x37ade4);},'abortController':_0x317569[_0x9f7854(0x13e)]};}[_0x42e679(0x160)](_0x4c7079,_0x55e692,_0x71f33c){const _0x1ffefc=_0x42e679,_0x5cec5d=this[_0x1ffefc(0x115)](_0x1ffefc(0x138)+_0x4c7079+_0x1ffefc(0x186)+_0x55e692+_0x1ffefc(0x151),_0x1ffefc(0x126),{'positiveCount':_0x71f33c[_0x1ffefc(0x130)],'totalCount':_0x71f33c[_0x1ffefc(0x129)],'modificationId':_0x71f33c[_0x1ffefc(0x169)]});return{'execute':async()=>{const _0x3e4766=_0x1ffefc;await _0x5cec5d[_0x3e4766(0x123)];},'abortController':_0x5cec5d[_0x1ffefc(0x13e)]};}[_0x42e679(0x17a)](_0x3b9201,_0x1aaa8d,_0x33f887){const _0x308375=_0x42e679,_0x2fc2e2=this[_0x308375(0x115)](_0x308375(0x18a)+_0x3b9201+_0x308375(0x182)+_0x1aaa8d+_0x308375(0x151),_0x308375(0x126),{'positiveCount':_0x33f887[_0x308375(0x130)],'totalCount':_0x33f887[_0x308375(0x129)]});return{'execute':async()=>{const _0x2e7ef4=_0x308375;await _0x2fc2e2[_0x2e7ef4(0x123)];},'abortController':_0x2fc2e2[_0x308375(0x13e)]};}[_0x42e679(0x121)](_0x9e4332,_0x15d105){const _0x1f8e7b=_0x42e679,_0x1c8c5b=this[_0x1f8e7b(0x115)](_0x1f8e7b(0x139)+_0x9e4332+_0x1f8e7b(0x151),_0x1f8e7b(0x126),{'positiveCount':_0x15d105[_0x1f8e7b(0x130)],'totalCount':_0x15d105[_0x1f8e7b(0x129)]});return{'execute':async()=>{const _0x6d5595=_0x1f8e7b;await _0x1c8c5b[_0x6d5595(0x123)];},'abortController':_0x1c8c5b[_0x1f8e7b(0x13e)]};}[_0x42e679(0x13c)](_0x109370,_0x4bbfcd,_0x18d590,_0x30be24){const _0x23519e=_0x42e679,_0x3c1bbd=this[_0x23519e(0x115)](_0x23519e(0x10a)+_0x109370+_0x23519e(0x182)+_0x4bbfcd+_0x23519e(0x151),_0x23519e(0x126),{'positiveCount':_0x18d590[_0x23519e(0x130)],'totalCount':_0x18d590[_0x23519e(0x129)],'dataId':_0x30be24});return{'execute':async()=>{const _0x51d14c=_0x23519e;await _0x3c1bbd[_0x51d14c(0x123)];},'abortController':_0x3c1bbd[_0x23519e(0x13e)]};}[_0x42e679(0x119)](_0x4b816e,_0x26db26,_0x1b4199){const _0x54c07d=_0x42e679,_0x19cbdf=this[_0x54c07d(0x115)](_0x54c07d(0x16a)+_0x4b816e+_0x54c07d(0x151),_0x54c07d(0x126),{'positiveCount':_0x26db26[_0x54c07d(0x130)],'totalCount':_0x26db26[_0x54c07d(0x129)],'dataId':_0x1b4199});return{'execute':async()=>{const _0x2e807e=_0x54c07d;await _0x19cbdf[_0x2e807e(0x123)];},'abortController':_0x19cbdf[_0x54c07d(0x13e)]};}[_0x42e679(0x115)](_0x42c8b3,_0x3c4489,_0x1ac415){const _0x44f184=_0x42e679,_0xcf292f=new AbortController(),_0x25068a=_0x1ac415 instanceof FormData,_0x57d86b={'Authorization':_0x44f184(0x137)+this[_0x44f184(0x111)]?.[_0x44f184(0x162)]};_0x1ac415&&!_0x25068a&&(_0x57d86b[_0x44f184(0x11e)]=_0x44f184(0x12a));const _0x5476c8={'method':_0x3c4489,'headers':_0x57d86b,'signal':_0xcf292f[_0x44f184(0x16f)]};return _0x1ac415&&(_0x5476c8[_0x44f184(0x125)]=_0x25068a?_0x1ac415:JSON[_0x44f184(0x127)](_0x1ac415)),{'request':fetch(''+this[_0x44f184(0x13f)]+_0x42c8b3,_0x5476c8)[_0x44f184(0x158)](_0x1a9f64=>{const _0x34cee0=_0x44f184;this[_0x34cee0(0x180)](_0x1a9f64);})[_0x44f184(0x190)](_0x2db727=>_0x2db727['ok']?_0x2db727:_0x2db727[_0x44f184(0x18e)]()[_0x44f184(0x190)](_0x426e6b=>{const _0x4a9046=_0x44f184;throw{'url':this[_0x4a9046(0x13f)],'path':_0x42c8b3,'method':_0x3c4489,'body':_0x1ac415,'status':(_0x2db727||{})[_0x4a9046(0x16c)],'statusText':(_0x2db727||{})[_0x4a9046(0x153)],'code':_0x426e6b[_0x4a9046(0x14a)],'message':_0x426e6b[_0x4a9046(0x179)],'traceId':_0x426e6b[_0x4a9046(0x15a)]};})),'abortController':_0xcf292f};}async*[_0x42e679(0x11d)](_0x564934){const _0x59015c=_0x42e679,_0x16d3ac=[],_0x42cc8f=_0x564934[_0x59015c(0x106)](),_0x2c88ee=_0x4d122d({'onError':_0x39bcd9=>{const _0x3aedb4=_0x59015c;this[_0x3aedb4(0x180)](_0x39bcd9);},'onEvent':_0x1a4899=>{const _0x5c673c=_0x59015c;_0x1a4899[_0x5c673c(0x15f)]=JSON[_0x5c673c(0x13d)](_0x1a4899[_0x5c673c(0x15f)]),_0x16d3ac[_0x5c673c(0x195)](_0x1a4899);}});try{let _0x28ebdb=!0x1;for(;!_0x28ebdb;){const {done:_0x3ed941,value:_0x4b0bfa}=await _0x42cc8f[_0x59015c(0x14f)]();_0x3ed941&&(_0x28ebdb=!0x0),_0x2c88ee[_0x59015c(0x107)](this[_0x59015c(0x122)][_0x59015c(0x17e)](_0x4b0bfa,{'stream':!0x0})),yield*_0x16d3ac,_0x16d3ac[_0x59015c(0x17f)]=0x0;}}catch(_0x474e24){this[_0x59015c(0x180)](_0x474e24);}finally{_0x42cc8f[_0x59015c(0x12d)](),_0x2c88ee[_0x59015c(0x152)]();}}[_0x42e679(0x180)](_0x22a60a){const _0xe51068=_0x42e679;if(_0x22a60a instanceof _0x427c41)throw _0x22a60a;if(_0x22a60a instanceof Error&&_0xe51068(0x141)===_0x22a60a[_0xe51068(0x173)])throw new _0x427c41(_0xe51068(0x16b),this,{'originalError':_0x22a60a});throw new _0x427c41(_0xe51068(0x17b),this,{'originalError':_0x22a60a});}}
23
+ const _0x2e17dc=_0x5c4a;(function(_0x42bb5d,_0xc3098d){const _0x502c14=_0x5c4a,_0x29cb20=_0x42bb5d();while(!![]){try{const _0x1b8145=parseInt(_0x502c14(0x158))/0x1+-parseInt(_0x502c14(0x17f))/0x2+parseInt(_0x502c14(0x13e))/0x3*(parseInt(_0x502c14(0x141))/0x4)+-parseInt(_0x502c14(0x177))/0x5+parseInt(_0x502c14(0x127))/0x6+parseInt(_0x502c14(0x11e))/0x7*(-parseInt(_0x502c14(0x12a))/0x8)+-parseInt(_0x502c14(0x110))/0x9*(-parseInt(_0x502c14(0xfe))/0xa);if(_0x1b8145===_0xc3098d)break;else _0x29cb20['push'](_0x29cb20['shift']());}catch(_0x76ee11){_0x29cb20['push'](_0x29cb20['shift']());}}}(_0x14f1,0xeff41));import{createParser as _0x5a1401}from'eventsource-parser';import{ContextPlugin as _0x5c4c8b}from'ckeditor5/src/core.js';function _0x14f1(){const _0x4de83a=['desc','/conversations/','fix-grammar','/actions/custom/calls/','/messages','fetchConversations','make-shorter','feed','2297169peHqFl','improve-writing','language','decode','upsertCustomAIActionRating','IMPROVE_WRITING','application/json','ai.serviceUrl','deleteFile','311646Udjdaf','context','excludeEmpty','8Qjgufh','queryAssistant','token','false','statusText','make-tone-formal','group','fetchConversationMessages','requires','name','file','deleteDocument','traceId','/web-resources','_sendApiRequest','message','MAKE_TONE_CASUAL','/web-resources/','updateConversation','/files','4914993seOsiL','/actions/system/','fetchDocument','4dtwqDz','ai-missing-token','uploadFile','/documents/','startConversation','modificationId','/messages/','upsertAIActionRating','stringify','/models/1?','AbortError','upsertAIReviewRating','CONTINUE','code','body','/reviews/custom/calls/','fetchConversation','attributes','callCustomReview','limit','createdAt','ai-request-aborted','init','1344743kFTzNt','/reviews/system/','uploadDocument','getReader','/actions/custom/calls','text','ai-request-failed','/conversations','catch','parse','json','uploadUrl','upsertAIChatRating','MAKE_SHORTER','config','PATCH','order','isPremiumPlugin','value','then','_getStreamReader','upsertCustomAIReviewRating','request','reset','_token','FIX_GRAMMAR','abortController','pluginName','DELETE','push','make-tone-casual','7750325koNCsH','positiveCount','read','MAKE_LONGER','POST','plugins','define','signal','3596280moLZxr','append','/files/','_handleError','Bearer\x20','/conversations?','continue','status','translate','true','sortBy','releaseLock','Content-Type','/documents','isOfficialPlugin','items','callSystemReview','_apiUrl','totalCount','/reviews/custom/calls','10RRxalN','100','length','TRANSLATE','https://ai.cke-cs.com/v1','data','executeAction','/calls','deleteWebResource','PUT','/calls/','/ratings','_decoder','deleteConversation','AIConnector','GET','CloudServices','toString','14617854DWuyjz','MAKE_TONE_FORMAL','get','executeCustomAction','getModels','make-longer'];_0x14f1=function(){return _0x4de83a;};return _0x14f1();}function _0x5c4a(_0x332bfc,_0x569e80){const _0x14f115=_0x14f1();return _0x5c4a=function(_0x5c4acd,_0x2f0543){_0x5c4acd=_0x5c4acd-0xfb;let _0x29b808=_0x14f115[_0x5c4acd];return _0x29b808;},_0x5c4a(_0x332bfc,_0x569e80);}import{CKEditorError as _0x1a9217}from'ckeditor5/src/utils.js';export var AIActionsNames;!function(_0x3d2748){const _0xc7133=_0x5c4a;_0x3d2748[_0xc7133(0x14d)]=_0xc7133(0x185),_0x3d2748[_0xc7133(0x171)]=_0xc7133(0x118),_0x3d2748[_0xc7133(0x123)]=_0xc7133(0x11f),_0x3d2748[_0xc7133(0x17a)]=_0xc7133(0x115),_0x3d2748[_0xc7133(0x165)]=_0xc7133(0x11c),_0x3d2748[_0xc7133(0x13a)]=_0xc7133(0x176),_0x3d2748[_0xc7133(0x111)]=_0xc7133(0x12f),_0x3d2748[_0xc7133(0x101)]=_0xc7133(0x187);}(AIActionsNames||(AIActionsNames={}));export class AIConnector extends _0x5c4c8b{[_0x2e17dc(0xfb)];[_0x2e17dc(0x170)];[_0x2e17dc(0x10a)];static get[_0x2e17dc(0x132)](){const _0x3b5aa0=_0x2e17dc;return[_0x3b5aa0(0x10e)];}static get[_0x2e17dc(0x173)](){const _0x311cf=_0x2e17dc;return _0x311cf(0x10c);}static get[_0x2e17dc(0x18d)](){return!0x0;}static get[_0x2e17dc(0x169)](){return!0x0;}constructor(_0x115638){const _0x293053=_0x2e17dc;super(_0x115638),this[_0x293053(0x128)][_0x293053(0x166)][_0x293053(0x17d)](_0x293053(0x125),_0x293053(0x102)),this[_0x293053(0xfb)]=this[_0x293053(0x128)][_0x293053(0x166)][_0x293053(0x112)](_0x293053(0x125)),this[_0x293053(0x170)]=null,this[_0x293053(0x10a)]=new TextDecoder();}[_0x2e17dc(0x157)](){const _0x5721eb=_0x2e17dc,_0x207860=this[_0x5721eb(0x128)][_0x5721eb(0x17c)][_0x5721eb(0x112)](_0x5721eb(0x10e));if(!_0x207860[_0x5721eb(0x12c)])throw new _0x1a9217(_0x5721eb(0x142),this);this[_0x5721eb(0x170)]=_0x207860[_0x5721eb(0x12c)];}[_0x2e17dc(0x145)](_0x4f64a5,_0x5a9528){const _0x47e003=_0x2e17dc,_0x3a576d=this[_0x47e003(0x138)](_0x47e003(0x15f),_0x47e003(0x17b),{'id':_0x4f64a5,'group':_0x5a9528});return{'getConversation':async()=>(await _0x3a576d[_0x47e003(0x16e)])[_0x47e003(0x162)](),'abortController':_0x3a576d[_0x47e003(0x172)]};}[_0x2e17dc(0x12b)]({message:_0x2ae3ea,conversationId:_0x10696c,parts:_0x473b67,capabilities:_0x40aa12,model:_0x58cb3d,attributes:_0x4c6135}){const _0x4a701a=_0x2e17dc,_0x1d7248={'prompt':_0x2ae3ea,'content':_0x473b67,'model':_0x58cb3d,..._0x40aa12&&{'capabilities':_0x40aa12},..._0x4c6135&&{'attributes':_0x4c6135}},_0xb3593e=this[_0x4a701a(0x138)](_0x4a701a(0x117)+_0x10696c+_0x4a701a(0x11a),_0x4a701a(0x17b),_0x1d7248);return{'getStream':async()=>{const _0x32fefb=_0x4a701a,_0x29e9d0=(await _0xb3593e[_0x32fefb(0x16e)])[_0x32fefb(0x14f)];return this[_0x32fefb(0x16c)](_0x29e9d0);},'abortController':_0xb3593e[_0x4a701a(0x172)]};}[_0x2e17dc(0x113)]({content:_0x41e5cd,message:_0x3822e3,model:_0x497db6,outputFormat:_0xa6d917}){const _0x1c210e=_0x2e17dc,_0x143525={'content':[{'type':_0x1c210e(0x15d),'content':_0x41e5cd}],'prompt':_0x3822e3,'model':_0x497db6,'outputFormat':_0xa6d917},_0x200359=this[_0x1c210e(0x138)](_0x1c210e(0x15c),_0x1c210e(0x17b),_0x143525);return{'getStream':async()=>{const _0x39443c=_0x1c210e,_0x2148ac=(await _0x200359[_0x39443c(0x16e)])[_0x39443c(0x14f)];return this[_0x39443c(0x16c)](_0x2148ac);},'abortController':_0x200359[_0x1c210e(0x172)]};}[_0x2e17dc(0x104)]({actionName:_0xc5b367,content:_0x2d485d,args:_0x4277cb}){const _0x171f09=_0x2e17dc,_0x37cd12={'content':[{'type':_0x171f09(0x15d),'content':_0x2d485d}],'args':_0x4277cb},_0x8b0a9b=this[_0x171f09(0x138)](_0x171f09(0x13f)+_0xc5b367+_0x171f09(0x105),_0x171f09(0x17b),_0x37cd12);return{'getStream':async()=>{const _0x358d98=_0x171f09,_0x196615=(await _0x8b0a9b[_0x358d98(0x16e)])[_0x358d98(0x14f)];return this[_0x358d98(0x16c)](_0x196615);},'abortController':_0x8b0a9b[_0x171f09(0x172)]};}[_0x2e17dc(0x143)](_0x4e554d,_0xcea1e8,_0x2525ed){const _0x345df9=_0x2e17dc,_0xa3c32=new FormData();_0xa3c32[_0x345df9(0x180)](_0x345df9(0x134),_0xcea1e8,_0xcea1e8[_0x345df9(0x133)]),_0x2525ed&&_0xa3c32[_0x345df9(0x180)](_0x345df9(0x152),JSON[_0x345df9(0x149)](_0x2525ed));const _0x5230ad=this[_0x345df9(0x138)](_0x345df9(0x117)+_0x4e554d+_0x345df9(0x13d),_0x345df9(0x17b),_0xa3c32);return{'getId':async()=>(await _0x5230ad[_0x345df9(0x16e)])[_0x345df9(0x162)](),'abortController':_0x5230ad[_0x345df9(0x172)]};}[_0x2e17dc(0x140)](_0x3cbb00,_0x269fc3){const _0x3356e7=_0x2e17dc,_0x368286=this[_0x3356e7(0x138)](_0x3356e7(0x117)+_0x3cbb00+_0x3356e7(0x144)+_0x269fc3,_0x3356e7(0x10d));return{'getDocument':async()=>(await _0x368286[_0x3356e7(0x16e)])[_0x3356e7(0x162)](),'abortController':_0x368286[_0x3356e7(0x172)]};}[_0x2e17dc(0x15a)](_0x532343,_0xb53f47,_0x125a81){const _0x2711d6=_0x2e17dc,_0x258e3b={'content':_0xb53f47};_0x125a81&&(_0x258e3b[_0x2711d6(0x152)]=_0x125a81);const _0xa66998=this[_0x2711d6(0x138)](_0x2711d6(0x117)+_0x532343+_0x2711d6(0x18c),_0x2711d6(0x17b),_0x258e3b);return{'getId':async()=>(await _0xa66998[_0x2711d6(0x16e)])[_0x2711d6(0x162)](),'abortController':_0xa66998[_0x2711d6(0x172)]};}[_0x2e17dc(0x11b)](_0x39561a,_0x148b29={}){const _0x42562c=_0x2e17dc,_0x2162a5=new URLSearchParams();_0x2162a5[_0x42562c(0x180)](_0x42562c(0x130),_0x39561a),_0x2162a5[_0x42562c(0x180)](_0x42562c(0x129),!0x1!==_0x148b29[_0x42562c(0x129)]?_0x42562c(0x188):_0x42562c(0x12d)),_0x2162a5[_0x42562c(0x180)](_0x42562c(0x154),_0x148b29[_0x42562c(0x154)]?_0x148b29[_0x42562c(0x154)][_0x42562c(0x10f)]():_0x42562c(0xff)),_0x2162a5[_0x42562c(0x180)](_0x42562c(0x189),_0x148b29[_0x42562c(0x189)]?_0x148b29[_0x42562c(0x189)]:_0x42562c(0x155)),_0x2162a5[_0x42562c(0x180)](_0x42562c(0x168),_0x148b29[_0x42562c(0x168)]?_0x148b29[_0x42562c(0x168)]:_0x42562c(0x116));const _0x3fd376=this[_0x42562c(0x138)](_0x42562c(0x184)+_0x2162a5[_0x42562c(0x10f)](),_0x42562c(0x10d));return{'getConversations':async()=>{const _0x20d0c3=_0x42562c,_0x4e3d37=await _0x3fd376[_0x20d0c3(0x16e)];return(await _0x4e3d37[_0x20d0c3(0x162)]())[_0x20d0c3(0x18e)];},'abortController':_0x3fd376[_0x42562c(0x172)]};}[_0x2e17dc(0x10b)](_0x5b8b58){const _0x5ce209=_0x2e17dc,_0x77c310=this[_0x5ce209(0x138)](_0x5ce209(0x117)+_0x5b8b58,_0x5ce209(0x174));return{'execute':async()=>{const _0x1e4112=_0x5ce209;await _0x77c310[_0x1e4112(0x16e)];},'abortController':_0x77c310[_0x5ce209(0x172)]};}[_0x2e17dc(0x13c)](_0x5e3c4f,_0x39aa53){const _0x41b9e2=_0x2e17dc,_0x2fe183=this[_0x41b9e2(0x138)](_0x41b9e2(0x117)+_0x5e3c4f,_0x41b9e2(0x167),_0x39aa53);return{'getResult':async()=>(await _0x2fe183[_0x41b9e2(0x16e)],_0x39aa53),'abortController':_0x2fe183[_0x41b9e2(0x172)]};}[_0x2e17dc(0x151)](_0x1ed328){const _0x423973=_0x2e17dc,_0x16913a=this[_0x423973(0x138)](_0x423973(0x117)+_0x1ed328,_0x423973(0x10d));return{'getConversation':async()=>(await _0x16913a[_0x423973(0x16e)])[_0x423973(0x162)](),'abortController':_0x16913a[_0x423973(0x172)]};}[_0x2e17dc(0x131)](_0x10f45a){const _0x479951=_0x2e17dc,_0xfe315c=this[_0x479951(0x138)](_0x479951(0x117)+_0x10f45a+_0x479951(0x11a),_0x479951(0x10d));return{'getMessages':async()=>{const _0x566b15=_0x479951,_0x489c62=await _0xfe315c[_0x566b15(0x16e)];return(await _0x489c62[_0x566b15(0x162)]())[_0x566b15(0x18e)];},'abortController':_0xfe315c[_0x479951(0x172)]};}[_0x2e17dc(0x163)](_0x24c9b2,_0x2f1f82,_0x106536){const _0x26b793=_0x2e17dc,_0x35684e=this[_0x26b793(0x138)](_0x26b793(0x117)+_0x24c9b2+_0x26b793(0x137),_0x26b793(0x17b),{'url':_0x2f1f82,'attributes':_0x106536});return{'getId':async()=>(await _0x35684e[_0x26b793(0x16e)])[_0x26b793(0x162)](),'abortController':_0x35684e[_0x26b793(0x172)]};}[_0x2e17dc(0x114)](_0x51b901='en'){const _0x233c32=_0x2e17dc,_0x1164a5=new URLSearchParams();_0x1164a5[_0x233c32(0x180)](_0x233c32(0x120),_0x51b901);const _0x12cc32=_0x233c32(0x14a)+_0x1164a5[_0x233c32(0x10f)](),_0x2863e5=this[_0x233c32(0x138)](_0x12cc32,_0x233c32(0x10d));return{'list':async()=>await(await _0x2863e5[_0x233c32(0x16e)])[_0x233c32(0x162)](),'abortController':_0x2863e5[_0x233c32(0x172)]};}[_0x2e17dc(0x126)](_0x38c54c,_0x2ff225){const _0x3c33b1=_0x2e17dc,_0x5c212e=this[_0x3c33b1(0x138)](_0x3c33b1(0x117)+_0x38c54c+_0x3c33b1(0x181)+_0x2ff225,_0x3c33b1(0x174));return{'execute':async()=>{const _0x9053e=_0x3c33b1;await _0x5c212e[_0x9053e(0x16e)];},'abortController':_0x5c212e[_0x3c33b1(0x172)]};}[_0x2e17dc(0x135)](_0x3cbe42,_0x5dd3a9){const _0x5c09cb=_0x2e17dc,_0x1303cc=this[_0x5c09cb(0x138)](_0x5c09cb(0x117)+_0x3cbe42+_0x5c09cb(0x144)+_0x5dd3a9,_0x5c09cb(0x174));return{'execute':async()=>{const _0x3d30da=_0x5c09cb;await _0x1303cc[_0x3d30da(0x16e)];},'abortController':_0x1303cc[_0x5c09cb(0x172)]};}[_0x2e17dc(0x106)](_0x3294cd,_0x484c8f){const _0x1f931f=_0x2e17dc,_0x269701=this[_0x1f931f(0x138)](_0x1f931f(0x117)+_0x3294cd+_0x1f931f(0x13b)+_0x484c8f,_0x1f931f(0x174));return{'execute':async()=>{const _0x487a9a=_0x1f931f;await _0x269701[_0x487a9a(0x16e)];},'abortController':_0x269701[_0x1f931f(0x172)]};}[_0x2e17dc(0x18f)]({reviewName:_0x207d42,content:_0x281ec3,args:_0x4fac42}){const _0x284b05=_0x2e17dc,_0x388b8d=this[_0x284b05(0x138)](_0x284b05(0x159)+_0x207d42+_0x284b05(0x105),_0x284b05(0x17b),{'content':[{'type':_0x284b05(0x15d),'content':_0x281ec3}],'args':_0x4fac42});return{'getStream':async()=>{const _0x1a0117=_0x284b05,_0x33e530=(await _0x388b8d[_0x1a0117(0x16e)])[_0x1a0117(0x14f)];return this[_0x1a0117(0x16c)](_0x33e530);},'abortController':_0x388b8d[_0x284b05(0x172)]};}[_0x2e17dc(0x153)]({content:_0x37dabf,prompt:_0x43f883,model:_0x493131}){const _0x13437d=_0x2e17dc,_0x32f143=this[_0x13437d(0x138)](_0x13437d(0xfd),_0x13437d(0x17b),{'content':[{'type':_0x13437d(0x15d),'content':_0x37dabf}],'prompt':_0x43f883,'model':_0x493131});return{'getStream':async()=>{const _0x47383c=_0x13437d,_0x53b48a=(await _0x32f143[_0x47383c(0x16e)])[_0x47383c(0x14f)];return this[_0x47383c(0x16c)](_0x53b48a);},'abortController':_0x32f143[_0x13437d(0x172)]};}[_0x2e17dc(0x164)](_0x44f6aa,_0x4e6320,_0x7af6b5){const _0x8a6d1b=_0x2e17dc,_0x526c94=this[_0x8a6d1b(0x138)](_0x8a6d1b(0x117)+_0x44f6aa+_0x8a6d1b(0x147)+_0x4e6320+_0x8a6d1b(0x109),_0x8a6d1b(0x107),{'positiveCount':_0x7af6b5[_0x8a6d1b(0x178)],'totalCount':_0x7af6b5[_0x8a6d1b(0xfc)],'modificationId':_0x7af6b5[_0x8a6d1b(0x146)]});return{'execute':async()=>{const _0x5c2fc1=_0x8a6d1b;await _0x526c94[_0x5c2fc1(0x16e)];},'abortController':_0x526c94[_0x8a6d1b(0x172)]};}[_0x2e17dc(0x148)](_0x5bb01e,_0x49c8ba,_0x11f1cf){const _0x1744b4=_0x2e17dc,_0x328851=this[_0x1744b4(0x138)](_0x1744b4(0x13f)+_0x5bb01e+_0x1744b4(0x108)+_0x49c8ba+_0x1744b4(0x109),_0x1744b4(0x107),{'positiveCount':_0x11f1cf[_0x1744b4(0x178)],'totalCount':_0x11f1cf[_0x1744b4(0xfc)]});return{'execute':async()=>{const _0x190016=_0x1744b4;await _0x328851[_0x190016(0x16e)];},'abortController':_0x328851[_0x1744b4(0x172)]};}[_0x2e17dc(0x122)](_0x535d38,_0x8617e){const _0x49e0a1=_0x2e17dc,_0x39257c=this[_0x49e0a1(0x138)](_0x49e0a1(0x119)+_0x535d38+_0x49e0a1(0x109),_0x49e0a1(0x107),{'positiveCount':_0x8617e[_0x49e0a1(0x178)],'totalCount':_0x8617e[_0x49e0a1(0xfc)]});return{'execute':async()=>{const _0x256553=_0x49e0a1;await _0x39257c[_0x256553(0x16e)];},'abortController':_0x39257c[_0x49e0a1(0x172)]};}[_0x2e17dc(0x14c)](_0x1f93aa,_0x5e627f,_0x211b6a,_0x30519e){const _0xe86967=_0x2e17dc,_0x50708b=this[_0xe86967(0x138)](_0xe86967(0x159)+_0x1f93aa+_0xe86967(0x108)+_0x5e627f+_0xe86967(0x109),_0xe86967(0x107),{'positiveCount':_0x211b6a[_0xe86967(0x178)],'totalCount':_0x211b6a[_0xe86967(0xfc)],'dataId':_0x30519e});return{'execute':async()=>{const _0x31470b=_0xe86967;await _0x50708b[_0x31470b(0x16e)];},'abortController':_0x50708b[_0xe86967(0x172)]};}[_0x2e17dc(0x16d)](_0x9b91b3,_0x4ec0b1,_0x21cb8b){const _0x1260b7=_0x2e17dc,_0x28b957=this[_0x1260b7(0x138)](_0x1260b7(0x150)+_0x9b91b3+_0x1260b7(0x109),_0x1260b7(0x107),{'positiveCount':_0x4ec0b1[_0x1260b7(0x178)],'totalCount':_0x4ec0b1[_0x1260b7(0xfc)],'dataId':_0x21cb8b});return{'execute':async()=>{const _0x3fb4c3=_0x1260b7;await _0x28b957[_0x3fb4c3(0x16e)];},'abortController':_0x28b957[_0x1260b7(0x172)]};}[_0x2e17dc(0x138)](_0x3339d1,_0x3590c1,_0x3f9630){const _0x4eb241=_0x2e17dc,_0x69f6de=new AbortController(),_0x26050d=_0x3f9630 instanceof FormData,_0x2c2059={'Authorization':_0x4eb241(0x183)+this[_0x4eb241(0x170)]?.[_0x4eb241(0x16a)]};_0x3f9630&&!_0x26050d&&(_0x2c2059[_0x4eb241(0x18b)]=_0x4eb241(0x124));const _0x2ec5d7={'method':_0x3590c1,'headers':_0x2c2059,'signal':_0x69f6de[_0x4eb241(0x17e)]};return _0x3f9630&&(_0x2ec5d7[_0x4eb241(0x14f)]=_0x26050d?_0x3f9630:JSON[_0x4eb241(0x149)](_0x3f9630)),{'request':fetch(''+this[_0x4eb241(0xfb)]+_0x3339d1,_0x2ec5d7)[_0x4eb241(0x160)](_0x4740d2=>{const _0xb1f2a7=_0x4eb241;this[_0xb1f2a7(0x182)](_0x4740d2);})[_0x4eb241(0x16b)](_0x440936=>_0x440936['ok']?_0x440936:_0x440936[_0x4eb241(0x162)]()[_0x4eb241(0x16b)](_0x560298=>{const _0x15f67c=_0x4eb241;throw{'url':this[_0x15f67c(0xfb)],'path':_0x3339d1,'method':_0x3590c1,'body':_0x3f9630,'status':(_0x440936||{})[_0x15f67c(0x186)],'statusText':(_0x440936||{})[_0x15f67c(0x12e)],'code':_0x560298[_0x15f67c(0x14e)],'message':_0x560298[_0x15f67c(0x139)],'traceId':_0x560298[_0x15f67c(0x136)]};})),'abortController':_0x69f6de};}async*[_0x2e17dc(0x16c)](_0x5ddf33){const _0x201aa3=_0x2e17dc,_0x55737e=[],_0x4d1022=_0x5ddf33[_0x201aa3(0x15b)](),_0x2e67c5=_0x5a1401({'onError':_0x547ace=>{const _0x368bc6=_0x201aa3;this[_0x368bc6(0x182)](_0x547ace);},'onEvent':_0x13c5a0=>{const _0x4d2a11=_0x201aa3;_0x13c5a0[_0x4d2a11(0x103)]=JSON[_0x4d2a11(0x161)](_0x13c5a0[_0x4d2a11(0x103)]),_0x55737e[_0x4d2a11(0x175)](_0x13c5a0);}});try{let _0x25a3db=!0x1;for(;!_0x25a3db;){const {done:_0x273a89,value:_0x17586a}=await _0x4d1022[_0x201aa3(0x179)]();_0x273a89&&(_0x25a3db=!0x0),_0x2e67c5[_0x201aa3(0x11d)](this[_0x201aa3(0x10a)][_0x201aa3(0x121)](_0x17586a,{'stream':!0x0})),yield*_0x55737e,_0x55737e[_0x201aa3(0x100)]=0x0;}}catch(_0x29b389){this[_0x201aa3(0x182)](_0x29b389);}finally{_0x4d1022[_0x201aa3(0x18a)](),_0x2e67c5[_0x201aa3(0x16f)]();}}[_0x2e17dc(0x182)](_0x476de9){const _0x53ace7=_0x2e17dc;if(_0x476de9 instanceof _0x1a9217)throw _0x476de9;if(_0x476de9 instanceof Error&&_0x53ace7(0x14b)===_0x476de9[_0x53ace7(0x133)])throw new _0x1a9217(_0x53ace7(0x156),this,{'originalError':_0x476de9});throw new _0x1a9217(_0x53ace7(0x15e),this,{'originalError':_0x476de9});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2897(_0x1deb8f,_0x477157){const _0x3986a7=_0x3986();return _0x2897=function(_0x28979d,_0x5451e6){_0x28979d=_0x28979d-0xb1;let _0x4692b2=_0x3986a7[_0x28979d];return _0x4692b2;},_0x2897(_0x1deb8f,_0x477157);}const _0x2e1c3f=_0x2897;(function(_0x340a1b,_0x16632d){const _0x1e30a7=_0x2897,_0x44fabc=_0x340a1b();while(!![]){try{const _0x19324f=parseInt(_0x1e30a7(0x115))/0x1*(parseInt(_0x1e30a7(0xfb))/0x2)+-parseInt(_0x1e30a7(0x105))/0x3*(-parseInt(_0x1e30a7(0x108))/0x4)+-parseInt(_0x1e30a7(0xda))/0x5*(-parseInt(_0x1e30a7(0x122))/0x6)+parseInt(_0x1e30a7(0xe7))/0x7*(-parseInt(_0x1e30a7(0xc0))/0x8)+-parseInt(_0x1e30a7(0x10e))/0x9+parseInt(_0x1e30a7(0xeb))/0xa+-parseInt(_0x1e30a7(0xfd))/0xb*(parseInt(_0x1e30a7(0x126))/0xc);if(_0x19324f===_0x16632d)break;else _0x44fabc['push'](_0x44fabc['shift']());}catch(_0x2ca041){_0x44fabc['push'](_0x44fabc['shift']());}}}(_0x3986,0x638a0));import{ViewDowncastWriter as _0x31a61c}from'ckeditor5/src/engine.js';import{ContextPlugin as _0x52f3b8,Editor as _0x2707ea}from'ckeditor5/src/core.js';function _0x3986(){const _0x51f65b=['from','editors','isContent','4SHJGse','has','2651rfQUqO','change','createUIElement','afterInit','getDocumentData','data','RealTimeCollaborationClient','push','17487TGCJaK','document','getLastMatchingPosition','4iaJHMo','toView','_setOutputDataProcessor','isAfter','getRoot','random','3811230YoUQjw','ai-selection','listenTo','_outputDataProcessor','start','define','convertAiChatSelectionMarker','398654evmyRv','htmlWriter','pluginName','markers','ck-ai-assistant-ui_theme','removeMarker','containerElement','$textProxy','hideFakeVisualSelection','plugins','removeAllRanges','getHtml','getStart','6wYbLaJ','sessionId','markerToElement','trim','41616fhGlsw','config','name',':end></','ai.models.showModelSelector','editing','getItems','_displayedFakeSelectionId','view','selection','_getDocumentDataStringFromView','substring','conversion','getMarkersGroup','locale','setAttribute','571368GWzjZS','end','isOfficialPlugin',':end>','element','isOpening','dataDowncast','AIEditing','emptyElement','getSelection','ck-fake-ai-selection','get','indexOf','for','toData','editingDowncast','data-id','domConverter','addMarker','getChildren','length','createRange','processor','getSelectionText','ai-selection:','isBefore','3534935hUqCZO','_sessionId','showFakeVisualSelection','_displayedFakeSelectionLocked','context',':start></','sort','isAtEnd','_nextDataId','add','modelToDataWithIds','schema','markerToHighlight','14AaZcbb',':start>','_setDataIdsOnChildren','model','2996880AmnAla','getRanges','join','_getMarkersInDocumentOrder','fromCharCode','isPremiumPlugin','markerName','floor','AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','ready','version','viewToDom','_integrateEditor'];_0x3986=function(){return _0x51f65b;};return _0x3986();}import{uid as _0x31dc04}from'ckeditor5/src/utils.js';import{getTranslation as _0x187d46}from'./utils/common-translations.js';import{getEditorFromContext as _0xa927a4}from'./utils/geteditorfromcontext.js';export const AI_VISUAL_SELECTION_MARKER_NAME=_0x2e1c3f(0x10f);export class AIEditing extends _0x52f3b8{constructor(_0x3713cb){const _0x34dd92=_0x2e1c3f;super(_0x3713cb),this[_0x34dd92(0xde)][_0x34dd92(0xb1)][_0x34dd92(0x113)](_0x34dd92(0xb4),!0x0);}[_0x2e1c3f(0x111)];[_0x2e1c3f(0xb7)]=null;[_0x2e1c3f(0xdd)]=!0x1;[_0x2e1c3f(0xdb)];static get[_0x2e1c3f(0x117)](){const _0x40eacb=_0x2e1c3f;return _0x40eacb(0xc7);}static get[_0x2e1c3f(0xc2)](){return!0x0;}static get[_0x2e1c3f(0xf0)](){return!0x0;}get[_0x2e1c3f(0x123)](){const _0x46e09a=_0x2e1c3f;if(!this[_0x46e09a(0xdb)]){const _0x8df58d=_0xa927a4(this[_0x46e09a(0xde)]),_0x4212e3=_0x8df58d[_0x46e09a(0x11e)][_0x46e09a(0xfc)](_0x46e09a(0x103))&&_0x8df58d[_0x46e09a(0x11e)][_0x46e09a(0xcb)](_0x46e09a(0x103))[_0x46e09a(0x123)];this[_0x46e09a(0xdb)]=_0x4212e3||_0x31dc04();}return this[_0x46e09a(0xdb)];}async[_0x2e1c3f(0x101)](){const _0x538cfc=_0x2e1c3f,_0x426398=_0xa927a4(this[_0x538cfc(0xde)]),_0x5debfc=_0x426398[_0x538cfc(0xea)],_0x18cd93=_0x426398[_0x538cfc(0x102)][_0x538cfc(0x109)](_0x5debfc[_0x538cfc(0x106)][_0x538cfc(0x10c)](),{'convertAiChatSelectionMarker':!0x0}),_0x4dac37=new _0x31a61c(_0x426398[_0x538cfc(0xb5)][_0x538cfc(0xb8)][_0x538cfc(0x106)]);this[_0x538cfc(0xe9)](_0x18cd93,_0x4dac37);let _0x49cdf8=await this[_0x538cfc(0xba)](_0x18cd93);const _0x237c6f=this[_0x538cfc(0xee)](),_0xb7db36=[];for(const _0x37062c of _0x237c6f){const _0x42387d='<'+_0x37062c[_0x538cfc(0xb2)]+_0x538cfc(0xdf)+_0x37062c[_0x538cfc(0xb2)]+_0x538cfc(0xe8),_0x11d39c=_0x49cdf8[_0x538cfc(0xcc)](_0x42387d);_0x49cdf8=_0x49cdf8[_0x538cfc(0xbb)](0x0,_0x11d39c)+_0x49cdf8[_0x538cfc(0xbb)](_0x11d39c+_0x42387d[_0x538cfc(0xd4)]);const _0x1e20c2='<'+_0x37062c[_0x538cfc(0xb2)]+_0x538cfc(0xb3)+_0x37062c[_0x538cfc(0xb2)]+_0x538cfc(0xc3),_0x4af85c=_0x49cdf8[_0x538cfc(0xcc)](_0x1e20c2);_0x49cdf8=_0x49cdf8[_0x538cfc(0xbb)](0x0,_0x4af85c)+_0x49cdf8[_0x538cfc(0xbb)](_0x4af85c+_0x1e20c2[_0x538cfc(0xd4)]),_0xb7db36[_0x538cfc(0x104)]({'markerName':_0x37062c[_0x538cfc(0xb2)],'start':_0x11d39c,'end':_0x4af85c,'htmlFragment':_0x49cdf8[_0x538cfc(0xbb)](_0x11d39c,_0x4af85c)});}return{'content':_0x49cdf8,'version':_0x426398[_0x538cfc(0xea)][_0x538cfc(0x106)][_0x538cfc(0xf5)],'sessionId':this[_0x538cfc(0x123)],'selections':_0xb7db36};}async[_0x2e1c3f(0x100)](){const _0x3b6e45=_0x2e1c3f;this[_0x3b6e45(0xde)]instanceof _0x2707ea?this[_0x3b6e45(0xf7)](this[_0x3b6e45(0xde)]):this[_0x3b6e45(0x110)](this[_0x3b6e45(0xde)][_0x3b6e45(0xf9)],_0x3b6e45(0xe3),(_0x1eb0db,_0x49ba30)=>{const _0x316811=_0x3b6e45;_0x49ba30['on'](_0x316811(0xf4),()=>{const _0x2b5637=_0x316811;this[_0x2b5637(0xf7)](_0x49ba30);});});}[_0x2e1c3f(0x10a)](_0xd81275){const _0x161655=_0x2e1c3f;this[_0x161655(0x111)]=_0xd81275;}async[_0x2e1c3f(0xba)](_0x13bef8){const _0x53fe10=_0x2e1c3f;let _0x5a22d6;const _0x37ca89=_0xa927a4(this[_0x53fe10(0xde)]);if(this[_0x53fe10(0x111)]){const _0x4ab60a=_0x37ca89[_0x53fe10(0x102)][_0x53fe10(0xd6)][_0x53fe10(0xd1)][_0x53fe10(0xf6)](_0x13bef8),_0x2f207c=await this[_0x53fe10(0x111)](_0x4ab60a);_0x5a22d6=_0x37ca89[_0x53fe10(0x102)][_0x53fe10(0xd6)][_0x53fe10(0x116)][_0x53fe10(0x120)](_0x2f207c);}else _0x5a22d6=_0x37ca89[_0x53fe10(0x102)][_0x53fe10(0xd6)][_0x53fe10(0xce)](_0x13bef8);return _0x5a22d6;}[_0x2e1c3f(0xf7)](_0x33afbe){const _0x228e9f=_0x2e1c3f;_0x33afbe[_0x228e9f(0xbc)][_0x228e9f(0xcd)](_0x228e9f(0xcf))[_0x228e9f(0xe6)]({'model':_0x228e9f(0x10f),'view':{'classes':[_0x228e9f(0xca),_0x228e9f(0x119)],'priority':0xc}}),_0x33afbe[_0x228e9f(0xbc)][_0x228e9f(0xcd)](_0x228e9f(0xc6))[_0x228e9f(0x124)]({'model':_0x228e9f(0x10f),'view':(_0x53cc92,{writer:_0x2b485c,options:_0x4106dd})=>_0x4106dd[_0x228e9f(0x114)]?_0x2b485c[_0x228e9f(0xff)](_0x53cc92[_0x228e9f(0xf1)]+':'+(_0x53cc92[_0x228e9f(0xc5)]?_0x228e9f(0x112):_0x228e9f(0xc1))):null});}[_0x2e1c3f(0xdc)](_0x5ca115,_0x2b9dad,_0x13851e=!0x1,_0x482280=!0x1){const _0x393dc1=_0x2e1c3f;if(this[_0x393dc1(0xdd)]&&!_0x482280)return!0x1;const _0x14f5fc=_0xa927a4(this[_0x393dc1(0xde)])[_0x393dc1(0xea)];return _0x14f5fc[_0x393dc1(0xfe)](_0x4615b0=>{const _0x227498=_0x393dc1;this[_0x227498(0xb7)]&&this[_0x227498(0x11d)](this[_0x227498(0xb7)]),this[_0x227498(0xb7)]=_0x2b9dad,this[_0x227498(0xdd)]=_0x13851e;let _0x13c589=0x0;for(let _0x3b3e67 of _0x5ca115){const _0x77d686=_0x227498(0xd8)+_0x13c589;if(_0x3b3e67[_0x227498(0x112)][_0x227498(0xe1)]){const _0x291205=_0x3b3e67[_0x227498(0x112)][_0x227498(0x107)](({item:_0x571f90})=>!_0x14f5fc[_0x227498(0xe5)][_0x227498(0xfa)](_0x571f90),{'boundaries':_0x3b3e67});_0x3b3e67=_0x4615b0[_0x227498(0xd5)](_0x291205,_0x3b3e67[_0x227498(0xc1)]);}_0x4615b0[_0x227498(0xd2)](_0x77d686,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3b3e67}),_0x13c589++;}}),window[_0x393dc1(0xc9)]()?.[_0x393dc1(0x11f)](),!0x0;}[_0x2e1c3f(0x11d)](_0x386db5){const _0x3e2ec7=_0x2e1c3f;if(this[_0x3e2ec7(0xb7)]!=_0x386db5)return!0x1;this[_0x3e2ec7(0xb7)]=null,this[_0x3e2ec7(0xdd)]=!0x1;const _0x38a673=_0xa927a4(this[_0x3e2ec7(0xde)]),_0x5415b0=_0x38a673[_0x3e2ec7(0xea)][_0x3e2ec7(0x118)][_0x3e2ec7(0xbd)](_0x3e2ec7(0x10f));return _0x38a673[_0x3e2ec7(0xea)][_0x3e2ec7(0xfe)](_0x15322c=>{const _0x53a2c2=_0x3e2ec7;for(const _0xe971f5 of _0x5415b0)_0x15322c[_0x53a2c2(0x11a)](_0xe971f5);}),!0x0;}async[_0x2e1c3f(0xe4)](_0x3edcad){const _0x2d3403=_0x2e1c3f,_0x373434=_0xa927a4(this[_0x2d3403(0xde)]),_0x5a4441=_0x373434[_0x2d3403(0x102)][_0x2d3403(0x109)](_0x3edcad),_0x38f3c4=new _0x31a61c(_0x373434[_0x2d3403(0xb5)][_0x2d3403(0xb8)][_0x2d3403(0x106)]);return this[_0x2d3403(0xe9)](_0x5a4441,_0x38f3c4),this[_0x2d3403(0xba)](_0x5a4441);}[_0x2e1c3f(0xe9)](_0x7b7cd,_0x181f6d){const _0x15b371=_0x2e1c3f;let _0x4feee8=!0x1;const _0x2c3bc2=new Set();for(const _0x4be15d of _0x7b7cd[_0x15b371(0xd3)]()){const _0x3b0c8f=_0x4be15d['is'](_0x15b371(0xc8))||_0x4be15d['is'](_0x15b371(0x11b));if(!_0x4be15d['is'](_0x15b371(0xc4)))continue;(this[_0x15b371(0xe9)](_0x4be15d,_0x181f6d)||_0x3b0c8f)&&(_0x181f6d[_0x15b371(0xbf)](_0x15b371(0xd0),this[_0x15b371(0xe2)](_0x2c3bc2),_0x4be15d),_0x4feee8=!0x0);}return _0x4feee8;}[_0x2e1c3f(0xe2)](_0x190b38){const _0x5e577a=_0x2e1c3f;let _0x5241ca;do{_0x5241ca='';for(let _0x1d6841=0x0;_0x1d6841<0x4;_0x1d6841++)_0x5241ca+=String[_0x5e577a(0xef)](0x61+Math[_0x5e577a(0xf2)](0x1a*Math[_0x5e577a(0x10d)]()));}while(_0x190b38[_0x5e577a(0xfc)](_0x5241ca));return _0x190b38[_0x5e577a(0xe3)](_0x5241ca),_0x5241ca;}[_0x2e1c3f(0xd7)](){const _0x1ff84f=_0x2e1c3f,{model:_0x4f0e85}=_0xa927a4(this[_0x1ff84f(0xde)]),_0x251c24=_0x4f0e85[_0x1ff84f(0x106)][_0x1ff84f(0xb9)],_0xcdeb99=[];for(const _0x199e62 of _0x251c24[_0x1ff84f(0xec)]())for(const _0x48c7a0 of _0x199e62[_0x1ff84f(0xb6)]())_0x48c7a0['is'](_0x1ff84f(0x11c))?_0xcdeb99[_0x1ff84f(0x104)](_0x48c7a0[_0x1ff84f(0x102)]):_0x48c7a0['is'](_0x1ff84f(0xc4))&&_0xcdeb99[_0x1ff84f(0xd4)]>0x0&&'\x20'!==_0xcdeb99[_0xcdeb99[_0x1ff84f(0xd4)]-0x1]&&_0xcdeb99[_0x1ff84f(0x104)]('\x20');return _0xcdeb99[_0x1ff84f(0xd4)]?'\x22'+_0xcdeb99[_0x1ff84f(0xed)]('')[_0x1ff84f(0x125)]()+'\x22':_0x187d46(this[_0x1ff84f(0xde)][_0x1ff84f(0xbe)],_0x1ff84f(0xf3));}[_0x2e1c3f(0xee)](){const _0x569e14=_0x2e1c3f,_0x5ca43f=_0xa927a4(this[_0x569e14(0xde)])[_0x569e14(0xea)];return Array[_0x569e14(0xf8)](_0x5ca43f[_0x569e14(0x118)][_0x569e14(0xbd)](_0x569e14(0x10f)))[_0x569e14(0xe0)]((_0xf9ed04,_0x40d253)=>_0xf9ed04[_0x569e14(0x121)]()[_0x569e14(0xd9)](_0x40d253[_0x569e14(0x121)]())?-0x1:_0xf9ed04[_0x569e14(0x121)]()[_0x569e14(0x10b)](_0x40d253[_0x569e14(0x121)]())?0x1:0x0);}}
23
+ const _0x48f16f=_0x910b;(function(_0x4eb5fe,_0x292150){const _0x4f861f=_0x910b,_0x9b30cb=_0x4eb5fe();while(!![]){try{const _0xcedded=parseInt(_0x4f861f(0x205))/0x1+parseInt(_0x4f861f(0x201))/0x2*(parseInt(_0x4f861f(0x22f))/0x3)+parseInt(_0x4f861f(0x212))/0x4+-parseInt(_0x4f861f(0x1cf))/0x5*(parseInt(_0x4f861f(0x23a))/0x6)+parseInt(_0x4f861f(0x1f0))/0x7+-parseInt(_0x4f861f(0x1d2))/0x8+parseInt(_0x4f861f(0x1ea))/0x9*(-parseInt(_0x4f861f(0x228))/0xa);if(_0xcedded===_0x292150)break;else _0x9b30cb['push'](_0x9b30cb['shift']());}catch(_0x1bfe51){_0x9b30cb['push'](_0x9b30cb['shift']());}}}(_0x2479,0xb409a));import{ViewDowncastWriter as _0x3a1608}from'ckeditor5/src/engine.js';import{ContextPlugin as _0x516b14,Editor as _0x43ba2f}from'ckeditor5/src/core.js';import{uid as _0x30500e}from'ckeditor5/src/utils.js';import{getTranslation as _0x51c60a}from'./utils/common-translations.js';import{getEditorFromContext as _0x10170b}from'./utils/geteditorfromcontext.js';export const AI_VISUAL_SELECTION_MARKER_NAME=_0x48f16f(0x223);function _0x910b(_0x28c0ba,_0x3aa1c9){const _0x24795f=_0x2479();return _0x910b=function(_0x910bf4,_0x36ee5e){_0x910bf4=_0x910bf4-0x1cd;let _0x5af7c9=_0x24795f[_0x910bf4];return _0x5af7c9;},_0x910b(_0x28c0ba,_0x3aa1c9);}function _0x2479(){const _0x514ca2=['_getDocumentDataStringFromView','markers','processor','isPremiumPlugin','removeMarker','34ESItCT','isBefore','getItems','isAtEnd','1024103cFVsIS','getRanges','end','modelToDataWithIds','document','schema','start','locale','sort','getLastMatchingPosition','fromCharCode','viewToDom','element','3433444mgLGmL','ck-fake-ai-selection','random','has','_sessionId','getStart','listenTo','_integrateEditor','change','isContent','name','config','setAttribute','markerToHighlight','markerName','AIEditing','sessionId','ai-selection','plugins','getRoot',':end></','push','783220wdzgrp','from','pluginName','emptyElement','length','addMarker','htmlWriter','83310gHsXqE','define','trim','add','createRange','domConverter',':end>','ck-ai-assistant-ui_theme','isOfficialPlugin','selection',':start></','207846PyJDOu','for','getMarkersGroup','convertAiChatSelectionMarker','version','getSelectionText','hideFakeVisualSelection','indexOf','$textProxy','75LBTwyw','ai-selection:','_displayedFakeSelectionId','8426952QQMQzK','join','getChildren','context','dataDowncast','RealTimeCollaborationClient','floor','getSelection','conversion','get','substring','_displayedFakeSelectionLocked','afterInit','isOpening','editors','getHtml','_nextDataId',':start>','_getMarkersInDocumentOrder','ai.models.showModelSelector','editing','createUIElement','toData','_setOutputDataProcessor','63fJZelF','editingDowncast','_setDataIdsOnChildren','view','showFakeVisualSelection','_outputDataProcessor','3528826DsxxKK','markerToElement','containerElement','removeAllRanges','ready','data','toView','getDocumentData','AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','isAfter','model','data-id'];_0x2479=function(){return _0x514ca2;};return _0x2479();}export class AIEditing extends _0x516b14{constructor(_0x4a1d35){const _0x271afc=_0x48f16f;super(_0x4a1d35),this[_0x271afc(0x1d5)][_0x271afc(0x21d)][_0x271afc(0x230)](_0x271afc(0x1e5),!0x0);}[_0x48f16f(0x1ef)];[_0x48f16f(0x1d1)]=null;[_0x48f16f(0x1dd)]=!0x1;[_0x48f16f(0x216)];static get[_0x48f16f(0x22a)](){const _0x25a7a6=_0x48f16f;return _0x25a7a6(0x221);}static get[_0x48f16f(0x237)](){return!0x0;}static get[_0x48f16f(0x1ff)](){return!0x0;}get[_0x48f16f(0x222)](){const _0xeb7160=_0x48f16f;if(!this[_0xeb7160(0x216)]){const _0x318f16=_0x10170b(this[_0xeb7160(0x1d5)]),_0x1eed9b=_0x318f16[_0xeb7160(0x224)][_0xeb7160(0x215)](_0xeb7160(0x1d7))&&_0x318f16[_0xeb7160(0x224)][_0xeb7160(0x1db)](_0xeb7160(0x1d7))[_0xeb7160(0x222)];this[_0xeb7160(0x216)]=_0x1eed9b||_0x30500e();}return this[_0xeb7160(0x216)];}async[_0x48f16f(0x1f7)](){const _0xda89b4=_0x48f16f,_0x36105d=_0x10170b(this[_0xda89b4(0x1d5)]),_0x2e43a2=_0x36105d[_0xda89b4(0x1fa)],_0xe615f3=_0x36105d[_0xda89b4(0x1f5)][_0xda89b4(0x1f6)](_0x2e43a2[_0xda89b4(0x209)][_0xda89b4(0x225)](),{'convertAiChatSelectionMarker':!0x0}),_0x10e050=new _0x3a1608(_0x36105d[_0xda89b4(0x1e6)][_0xda89b4(0x1ed)][_0xda89b4(0x209)]);this[_0xda89b4(0x1ec)](_0xe615f3,_0x10e050);let _0x1382a1=await this[_0xda89b4(0x1fc)](_0xe615f3);const _0x4e0576=this[_0xda89b4(0x1e4)](),_0x228c62=[];for(const _0x1a7d24 of _0x4e0576){const _0x9f22c9='<'+_0x1a7d24[_0xda89b4(0x21c)]+_0xda89b4(0x239)+_0x1a7d24[_0xda89b4(0x21c)]+_0xda89b4(0x1e3),_0x33ae90=_0x1382a1[_0xda89b4(0x1cd)](_0x9f22c9);_0x1382a1=_0x1382a1[_0xda89b4(0x1dc)](0x0,_0x33ae90)+_0x1382a1[_0xda89b4(0x1dc)](_0x33ae90+_0x9f22c9[_0xda89b4(0x22c)]);const _0x52c748='<'+_0x1a7d24[_0xda89b4(0x21c)]+_0xda89b4(0x226)+_0x1a7d24[_0xda89b4(0x21c)]+_0xda89b4(0x235),_0x503ec8=_0x1382a1[_0xda89b4(0x1cd)](_0x52c748);_0x1382a1=_0x1382a1[_0xda89b4(0x1dc)](0x0,_0x503ec8)+_0x1382a1[_0xda89b4(0x1dc)](_0x503ec8+_0x52c748[_0xda89b4(0x22c)]),_0x228c62[_0xda89b4(0x227)]({'markerName':_0x1a7d24[_0xda89b4(0x21c)],'start':_0x33ae90,'end':_0x503ec8,'htmlFragment':_0x1382a1[_0xda89b4(0x1dc)](_0x33ae90,_0x503ec8)});}return{'content':_0x1382a1,'version':_0x36105d[_0xda89b4(0x1fa)][_0xda89b4(0x209)][_0xda89b4(0x23e)],'sessionId':this[_0xda89b4(0x222)],'selections':_0x228c62};}async[_0x48f16f(0x1de)](){const _0x35c3b6=_0x48f16f;this[_0x35c3b6(0x1d5)]instanceof _0x43ba2f?this[_0x35c3b6(0x219)](this[_0x35c3b6(0x1d5)]):this[_0x35c3b6(0x218)](this[_0x35c3b6(0x1d5)][_0x35c3b6(0x1e0)],_0x35c3b6(0x232),(_0x2aa826,_0x4bed76)=>{const _0x34499d=_0x35c3b6;_0x4bed76['on'](_0x34499d(0x1f4),()=>{const _0x2ee676=_0x34499d;this[_0x2ee676(0x219)](_0x4bed76);});});}[_0x48f16f(0x1e9)](_0x500bd4){const _0x4355af=_0x48f16f;this[_0x4355af(0x1ef)]=_0x500bd4;}async[_0x48f16f(0x1fc)](_0x8586ee){const _0x341d76=_0x48f16f;let _0x7d8608;const _0x3f1599=_0x10170b(this[_0x341d76(0x1d5)]);if(this[_0x341d76(0x1ef)]){const _0x9dc88e=_0x3f1599[_0x341d76(0x1f5)][_0x341d76(0x1fe)][_0x341d76(0x234)][_0x341d76(0x210)](_0x8586ee),_0x46e9a1=await this[_0x341d76(0x1ef)](_0x9dc88e);_0x7d8608=_0x3f1599[_0x341d76(0x1f5)][_0x341d76(0x1fe)][_0x341d76(0x22e)][_0x341d76(0x1e1)](_0x46e9a1);}else _0x7d8608=_0x3f1599[_0x341d76(0x1f5)][_0x341d76(0x1fe)][_0x341d76(0x1e8)](_0x8586ee);return _0x7d8608;}[_0x48f16f(0x219)](_0x4e990d){const _0x35f5fd=_0x48f16f;_0x4e990d[_0x35f5fd(0x1da)][_0x35f5fd(0x23b)](_0x35f5fd(0x1eb))[_0x35f5fd(0x21f)]({'model':_0x35f5fd(0x223),'view':{'classes':[_0x35f5fd(0x213),_0x35f5fd(0x236)],'priority':0xc}}),_0x4e990d[_0x35f5fd(0x1da)][_0x35f5fd(0x23b)](_0x35f5fd(0x1d6))[_0x35f5fd(0x1f1)]({'model':_0x35f5fd(0x223),'view':(_0x4efc94,{writer:_0x5f2acc,options:_0x5cb32b})=>_0x5cb32b[_0x35f5fd(0x23d)]?_0x5f2acc[_0x35f5fd(0x1e7)](_0x4efc94[_0x35f5fd(0x220)]+':'+(_0x4efc94[_0x35f5fd(0x1df)]?_0x35f5fd(0x20b):_0x35f5fd(0x207))):null});}[_0x48f16f(0x1ee)](_0x13ab59,_0x4857c0,_0x51e2c5=!0x1,_0x512932=!0x1){const _0x4704ed=_0x48f16f;if(this[_0x4704ed(0x1dd)]&&!_0x512932)return!0x1;const _0x22dc51=_0x10170b(this[_0x4704ed(0x1d5)])[_0x4704ed(0x1fa)];return _0x22dc51[_0x4704ed(0x21a)](_0x34dc0e=>{const _0x789c9a=_0x4704ed;this[_0x789c9a(0x1d1)]&&this[_0x789c9a(0x240)](this[_0x789c9a(0x1d1)]),this[_0x789c9a(0x1d1)]=_0x4857c0,this[_0x789c9a(0x1dd)]=_0x51e2c5;let _0x49c309=0x0;for(let _0xfcbb74 of _0x13ab59){const _0x20bd4d=_0x789c9a(0x1d0)+_0x49c309;if(_0xfcbb74[_0x789c9a(0x20b)][_0x789c9a(0x204)]){const _0x4ea1c7=_0xfcbb74[_0x789c9a(0x20b)][_0x789c9a(0x20e)](({item:_0x3d3d2c})=>!_0x22dc51[_0x789c9a(0x20a)][_0x789c9a(0x21b)](_0x3d3d2c),{'boundaries':_0xfcbb74});_0xfcbb74=_0x34dc0e[_0x789c9a(0x233)](_0x4ea1c7,_0xfcbb74[_0x789c9a(0x207)]);}_0x34dc0e[_0x789c9a(0x22d)](_0x20bd4d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xfcbb74}),_0x49c309++;}}),window[_0x4704ed(0x1d9)]()?.[_0x4704ed(0x1f3)](),!0x0;}[_0x48f16f(0x240)](_0x24c45e){const _0x22184c=_0x48f16f;if(this[_0x22184c(0x1d1)]!=_0x24c45e)return!0x1;this[_0x22184c(0x1d1)]=null,this[_0x22184c(0x1dd)]=!0x1;const _0x4586a2=_0x10170b(this[_0x22184c(0x1d5)]),_0x41fee5=_0x4586a2[_0x22184c(0x1fa)][_0x22184c(0x1fd)][_0x22184c(0x23c)](_0x22184c(0x223));return _0x4586a2[_0x22184c(0x1fa)][_0x22184c(0x21a)](_0x29dd5a=>{const _0x468dd3=_0x22184c;for(const _0x1d371a of _0x41fee5)_0x29dd5a[_0x468dd3(0x200)](_0x1d371a);}),!0x0;}async[_0x48f16f(0x208)](_0x36c2ab){const _0x4b4cb2=_0x48f16f,_0x10386a=_0x10170b(this[_0x4b4cb2(0x1d5)]),_0x29093c=_0x10386a[_0x4b4cb2(0x1f5)][_0x4b4cb2(0x1f6)](_0x36c2ab),_0x55b524=new _0x3a1608(_0x10386a[_0x4b4cb2(0x1e6)][_0x4b4cb2(0x1ed)][_0x4b4cb2(0x209)]);return this[_0x4b4cb2(0x1ec)](_0x29093c,_0x55b524),this[_0x4b4cb2(0x1fc)](_0x29093c);}[_0x48f16f(0x1ec)](_0x4288d5,_0x91da9c){const _0x3dcf7b=_0x48f16f;let _0x10d80d=!0x1;const _0x8eac7e=new Set();for(const _0x8c6bb2 of _0x4288d5[_0x3dcf7b(0x1d4)]()){const _0x15ed7b=_0x8c6bb2['is'](_0x3dcf7b(0x22b))||_0x8c6bb2['is'](_0x3dcf7b(0x1f2));if(!_0x8c6bb2['is'](_0x3dcf7b(0x211)))continue;(this[_0x3dcf7b(0x1ec)](_0x8c6bb2,_0x91da9c)||_0x15ed7b)&&(_0x91da9c[_0x3dcf7b(0x21e)](_0x3dcf7b(0x1fb),this[_0x3dcf7b(0x1e2)](_0x8eac7e),_0x8c6bb2),_0x10d80d=!0x0);}return _0x10d80d;}[_0x48f16f(0x1e2)](_0x5b21d9){const _0x8f3328=_0x48f16f;let _0x5c93ce;do{_0x5c93ce='';for(let _0x28b6ae=0x0;_0x28b6ae<0x4;_0x28b6ae++)_0x5c93ce+=String[_0x8f3328(0x20f)](0x61+Math[_0x8f3328(0x1d8)](0x1a*Math[_0x8f3328(0x214)]()));}while(_0x5b21d9[_0x8f3328(0x215)](_0x5c93ce));return _0x5b21d9[_0x8f3328(0x232)](_0x5c93ce),_0x5c93ce;}[_0x48f16f(0x23f)](){const _0x39b289=_0x48f16f,{model:_0x90e41}=_0x10170b(this[_0x39b289(0x1d5)]),_0x1ff2eb=_0x90e41[_0x39b289(0x209)][_0x39b289(0x238)],_0x3491a6=[];for(const _0x1a10e2 of _0x1ff2eb[_0x39b289(0x206)]())for(const _0xd0a0a6 of _0x1a10e2[_0x39b289(0x203)]())_0xd0a0a6['is'](_0x39b289(0x1ce))?_0x3491a6[_0x39b289(0x227)](_0xd0a0a6[_0x39b289(0x1f5)]):_0xd0a0a6['is'](_0x39b289(0x211))&&_0x3491a6[_0x39b289(0x22c)]>0x0&&'\x20'!==_0x3491a6[_0x3491a6[_0x39b289(0x22c)]-0x1]&&_0x3491a6[_0x39b289(0x227)]('\x20');return _0x3491a6[_0x39b289(0x22c)]?'\x22'+_0x3491a6[_0x39b289(0x1d3)]('')[_0x39b289(0x231)]()+'\x22':_0x51c60a(this[_0x39b289(0x1d5)][_0x39b289(0x20c)],_0x39b289(0x1f8));}[_0x48f16f(0x1e4)](){const _0x4398f9=_0x48f16f,_0x34756d=_0x10170b(this[_0x4398f9(0x1d5)])[_0x4398f9(0x1fa)];return Array[_0x4398f9(0x229)](_0x34756d[_0x4398f9(0x1fd)][_0x4398f9(0x23c)](_0x4398f9(0x223)))[_0x4398f9(0x20d)]((_0x2a22a8,_0x5c4f29)=>_0x2a22a8[_0x4398f9(0x217)]()[_0x4398f9(0x202)](_0x5c4f29[_0x4398f9(0x217)]())?-0x1:_0x2a22a8[_0x4398f9(0x217)]()[_0x4398f9(0x1f9)](_0x5c4f29[_0x4398f9(0x217)]())?0x1:0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x54dd(){const _0x4af094=['setReasoning','10cOLgjY','isReasoningEnabled','getCapabilitiesConfig','555177vzmGFr','6268DlqIey','56805uUtPiy','setWebSearch','reset','6814960JEGhqY','webSearch','isWebSearchEnabled','_isWebSearchEnabled','toggleWebSearch','getCapabilitiesRequestData','fire','reasoning','_isReasoningEnabled','115758wzBmyQ','51NmdldQ','21536DuXJkl','13874lKODvS','toggleReasoning','1116arKTnv','init','capabilitiesUpdated'];_0x54dd=function(){return _0x4af094;};return _0x54dd();}const _0x11028c=_0x467a;function _0x467a(_0x3a28e2,_0xf7ac08){const _0x54dd8b=_0x54dd();return _0x467a=function(_0x467a79,_0x18d5ae){_0x467a79=_0x467a79-0x1a2;let _0x4c96f9=_0x54dd8b[_0x467a79];return _0x4c96f9;},_0x467a(_0x3a28e2,_0xf7ac08);}(function(_0x39054f,_0x1d6b47){const _0x3fff9b=_0x467a,_0x5dd738=_0x39054f();while(!![]){try{const _0x8dc3da=-parseInt(_0x3fff9b(0x1ad))/0x1+parseInt(_0x3fff9b(0x1a2))/0x2*(-parseInt(_0x3fff9b(0x1ba))/0x3)+-parseInt(_0x3fff9b(0x1ac))/0x4*(-parseInt(_0x3fff9b(0x1a8))/0x5)+parseInt(_0x3fff9b(0x1b9))/0x6+parseInt(_0x3fff9b(0x1ab))/0x7+-parseInt(_0x3fff9b(0x1bb))/0x8*(parseInt(_0x3fff9b(0x1a4))/0x9)+parseInt(_0x3fff9b(0x1b0))/0xa;if(_0x8dc3da===_0x1d6b47)break;else _0x5dd738['push'](_0x5dd738['shift']());}catch(_0x39fce5){_0x5dd738['push'](_0x5dd738['shift']());}}}(_0x54dd,0x43104));import{EmitterMixin as _0x1d56d6}from'ckeditor5/src/utils.js';export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x11028c(0x1a6)];export class AICapabilities extends _0x1d56d6(){[_0x11028c(0x1b3)];[_0x11028c(0x1b8)];constructor(){const _0x5d3fd2=_0x11028c;super(),this[_0x5d3fd2(0x1b3)]=!0x1,this[_0x5d3fd2(0x1b8)]=!0x1;}[_0x11028c(0x1a5)](){const _0x5681c4=_0x11028c;this[_0x5681c4(0x1af)]();}[_0x11028c(0x1af)](){const _0x14f741=_0x11028c;this[_0x14f741(0x1ae)](!0x1),this[_0x14f741(0x1a7)](!0x1);}[_0x11028c(0x1aa)](){const _0x422bcb=_0x11028c;return{'isWebSearchEnabled':this[_0x422bcb(0x1b3)],'isReasoningEnabled':this[_0x422bcb(0x1b8)]};}static[_0x11028c(0x1b5)](_0x2937d2){const _0x4c56a4=_0x11028c,_0x3c3cdd={};return _0x2937d2&&_0x2937d2[_0x4c56a4(0x1b2)]&&(_0x3c3cdd[_0x4c56a4(0x1b1)]={}),_0x2937d2&&_0x2937d2[_0x4c56a4(0x1a9)]&&(_0x3c3cdd[_0x4c56a4(0x1b7)]={}),_0x3c3cdd;}[_0x11028c(0x1b4)](){const _0x4289b4=_0x11028c;this[_0x4289b4(0x1ae)](!this[_0x4289b4(0x1b3)]);}[_0x11028c(0x1a3)](){const _0x1ea180=_0x11028c;this[_0x1ea180(0x1a7)](!this[_0x1ea180(0x1b8)]);}[_0x11028c(0x1ae)](_0x2309c4){const _0x534a3b=_0x11028c;_0x2309c4!==this[_0x534a3b(0x1b3)]&&(this[_0x534a3b(0x1b3)]=_0x2309c4,this[_0x534a3b(0x1b6)](_0x534a3b(0x1a6),this[_0x534a3b(0x1aa)]()));}[_0x11028c(0x1a7)](_0x31e282){const _0x5d5e8f=_0x11028c;_0x31e282!==this[_0x5d5e8f(0x1b8)]&&(this[_0x5d5e8f(0x1b8)]=_0x31e282,this[_0x5d5e8f(0x1b6)](_0x5d5e8f(0x1a6),this[_0x5d5e8f(0x1aa)]()));}}
23
+ const _0x3fdb94=_0x5065;(function(_0x4428dc,_0x4de7df){const _0x3023a4=_0x5065,_0x50da00=_0x4428dc();while(!![]){try{const _0x33432a=-parseInt(_0x3023a4(0xbe))/0x1+parseInt(_0x3023a4(0xb7))/0x2+-parseInt(_0x3023a4(0xb1))/0x3*(parseInt(_0x3023a4(0xac))/0x4)+-parseInt(_0x3023a4(0xa9))/0x5+-parseInt(_0x3023a4(0xae))/0x6*(parseInt(_0x3023a4(0xbd))/0x7)+parseInt(_0x3023a4(0xbc))/0x8+parseInt(_0x3023a4(0xb8))/0x9;if(_0x33432a===_0x4de7df)break;else _0x50da00['push'](_0x50da00['shift']());}catch(_0x4a500c){_0x50da00['push'](_0x50da00['shift']());}}}(_0x3c6c,0xda261));import{EmitterMixin as _0xc02342}from'ckeditor5/src/utils.js';function _0x5065(_0x5dbbfd,_0x40dfd4){const _0x3c6cf7=_0x3c6c();return _0x5065=function(_0x5065c9,_0x484dc0){_0x5065c9=_0x5065c9-0xa6;let _0x5d921a=_0x3c6cf7[_0x5065c9];return _0x5d921a;},_0x5065(_0x5dbbfd,_0x40dfd4);}export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x3fdb94(0xa7)];export class AICapabilities extends _0xc02342(){[_0x3fdb94(0xb9)];[_0x3fdb94(0xa8)];constructor(){const _0x32affa=_0x3fdb94;super(),this[_0x32affa(0xb9)]=!0x1,this[_0x32affa(0xa8)]=!0x1;}[_0x3fdb94(0xab)](){const _0x41b632=_0x3fdb94;this[_0x41b632(0xaf)]();}[_0x3fdb94(0xaf)](){const _0x3cd529=_0x3fdb94;this[_0x3cd529(0xba)](!0x1),this[_0x3cd529(0xb6)](!0x1);}[_0x3fdb94(0xbb)](){const _0x1f6b0a=_0x3fdb94;return{'isWebSearchEnabled':this[_0x1f6b0a(0xb9)],'isReasoningEnabled':this[_0x1f6b0a(0xa8)]};}static[_0x3fdb94(0xb3)](_0x4033bd){const _0x1b1234=_0x3fdb94,_0xc2bdfd={};return _0x4033bd&&_0x4033bd[_0x1b1234(0xb0)]&&(_0xc2bdfd[_0x1b1234(0xaa)]={}),_0x4033bd&&_0x4033bd[_0x1b1234(0xad)]&&(_0xc2bdfd[_0x1b1234(0xb2)]={}),_0xc2bdfd;}[_0x3fdb94(0xb4)](){const _0x1d3426=_0x3fdb94;this[_0x1d3426(0xba)](!this[_0x1d3426(0xb9)]);}[_0x3fdb94(0xa6)](){const _0x50a149=_0x3fdb94;this[_0x50a149(0xb6)](!this[_0x50a149(0xa8)]);}[_0x3fdb94(0xba)](_0x597081){const _0x10d9b2=_0x3fdb94;_0x597081!==this[_0x10d9b2(0xb9)]&&(this[_0x10d9b2(0xb9)]=_0x597081,this[_0x10d9b2(0xb5)](_0x10d9b2(0xa7),this[_0x10d9b2(0xbb)]()));}[_0x3fdb94(0xb6)](_0x2d6888){const _0x3e83de=_0x3fdb94;_0x2d6888!==this[_0x3e83de(0xa8)]&&(this[_0x3e83de(0xa8)]=_0x2d6888,this[_0x3e83de(0xb5)](_0x3e83de(0xa7),this[_0x3e83de(0xbb)]()));}}function _0x3c6c(){const _0xa3cd12=['isReasoningEnabled','606702yWIMJp','reset','isWebSearchEnabled','114609OQyXKj','reasoning','getCapabilitiesRequestData','toggleWebSearch','fire','setReasoning','1026008YKfmsw','24507693ZyjwvW','_isWebSearchEnabled','setWebSearch','getCapabilitiesConfig','8329208HpJefD','84xUvrvy','691367UarQCE','toggleReasoning','capabilitiesUpdated','_isReasoningEnabled','5102440OdPXZG','webSearch','init','48YnQsOH'];_0x3c6c=function(){return _0xa3cd12;};return _0x3c6c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1d08d0,_0x43b736){var _0x4252d9=_0x5074,_0x4f4d5e=_0x1d08d0();while(!![]){try{var _0x526e93=parseInt(_0x4252d9(0x107))/0x1+parseInt(_0x4252d9(0x10e))/0x2+-parseInt(_0x4252d9(0x100))/0x3+parseInt(_0x4252d9(0x10c))/0x4*(parseInt(_0x4252d9(0xff))/0x5)+-parseInt(_0x4252d9(0x101))/0x6*(-parseInt(_0x4252d9(0x104))/0x7)+parseInt(_0x4252d9(0x117))/0x8*(-parseInt(_0x4252d9(0x10f))/0x9)+parseInt(_0x4252d9(0xfd))/0xa*(-parseInt(_0x4252d9(0x109))/0xb);if(_0x526e93===_0x43b736)break;else _0x4f4d5e['push'](_0x4f4d5e['shift']());}catch(_0x2ace12){_0x4f4d5e['push'](_0x4f4d5e['shift']());}}}(_0x4172,0x468ce));export var AIContextItemType;!function(_0x5933a6){var _0x418b7d=_0x5074;_0x5933a6[_0x418b7d(0xfe)]=_0x418b7d(0x10b),_0x5933a6[_0x418b7d(0x111)]=_0x418b7d(0x102),_0x5933a6[_0x418b7d(0x103)]=_0x418b7d(0x10a),_0x5933a6[_0x418b7d(0x106)]=_0x418b7d(0x113),_0x5933a6[_0x418b7d(0x112)]=_0x418b7d(0x115),_0x5933a6[_0x418b7d(0x108)]=_0x418b7d(0x10d);}(AIContextItemType||(AIContextItemType={}));function _0x5074(_0x20cf05,_0x4c1d99){var _0x417275=_0x4172();return _0x5074=function(_0x50747a,_0x3e7c24){_0x50747a=_0x50747a-0xfd;var _0x1a5594=_0x417275[_0x50747a];return _0x1a5594;},_0x5074(_0x20cf05,_0x4c1d99);}export var AIContextTextResourceType;!function(_0x5015e2){var _0x2f6382=_0x5074;_0x5015e2[_0x2f6382(0x112)]=_0x2f6382(0x115),_0x5015e2[_0x2f6382(0x116)]=_0x2f6382(0x110),_0x5015e2[_0x2f6382(0x105)]=_0x2f6382(0x114);}(AIContextTextResourceType||(AIContextTextResourceType={}));function _0x4172(){var _0x55d7b4=['web-resource','html','text','MARKDOWN','8RphbyO','4047740kaNkDn','TOOL','1133590NzCJZd','1410132UXmoIl','1974NPAoee','file','DOCUMENT','9023kBcHNA','HTML','URL','50887fwZWma','SELECTION','11taETSR','document','mcp-tool-context','8dKKirp','selection','623922mpNMfM','689157QZVEVD','markdown','FILE','TEXT'];_0x4172=function(){return _0x55d7b4;};return _0x4172();}
23
+ (function(_0x281389,_0x57e5df){var _0x36928c=_0x5671,_0x24e10c=_0x281389();while(!![]){try{var _0x16f189=-parseInt(_0x36928c(0x12c))/0x1+-parseInt(_0x36928c(0x12f))/0x2+-parseInt(_0x36928c(0x138))/0x3*(-parseInt(_0x36928c(0x11f))/0x4)+-parseInt(_0x36928c(0x132))/0x5*(parseInt(_0x36928c(0x123))/0x6)+-parseInt(_0x36928c(0x12d))/0x7*(parseInt(_0x36928c(0x120))/0x8)+-parseInt(_0x36928c(0x127))/0x9+-parseInt(_0x36928c(0x122))/0xa*(-parseInt(_0x36928c(0x133))/0xb);if(_0x16f189===_0x57e5df)break;else _0x24e10c['push'](_0x24e10c['shift']());}catch(_0x4693e1){_0x24e10c['push'](_0x24e10c['shift']());}}}(_0x3aa9,0xc62fa));export var AIContextItemType;!function(_0x42aecc){var _0x2ddf3c=_0x5671;_0x42aecc[_0x2ddf3c(0x128)]=_0x2ddf3c(0x125),_0x42aecc[_0x2ddf3c(0x126)]=_0x2ddf3c(0x131),_0x42aecc[_0x2ddf3c(0x11e)]=_0x2ddf3c(0x135),_0x42aecc[_0x2ddf3c(0x121)]=_0x2ddf3c(0x134),_0x42aecc[_0x2ddf3c(0x12e)]=_0x2ddf3c(0x129),_0x42aecc[_0x2ddf3c(0x136)]=_0x2ddf3c(0x137);}(AIContextItemType||(AIContextItemType={}));function _0x5671(_0x40e0a2,_0x33c345){var _0x3aa9b3=_0x3aa9();return _0x5671=function(_0x56713e,_0x3d4c97){_0x56713e=_0x56713e-0x11e;var _0x49c310=_0x3aa9b3[_0x56713e];return _0x49c310;},_0x5671(_0x40e0a2,_0x33c345);}export var AIContextTextResourceType;!function(_0x435049){var _0x14a619=_0x5671;_0x435049[_0x14a619(0x12e)]=_0x14a619(0x129),_0x435049[_0x14a619(0x12b)]=_0x14a619(0x124),_0x435049[_0x14a619(0x12a)]=_0x14a619(0x130);}(AIContextTextResourceType||(AIContextTextResourceType={}));function _0x3aa9(){var _0x389c6a=['selection','1061274kbfMmD','DOCUMENT','16suWfcA','30776kTQolO','URL','920bSJOxl','480RshvLu','markdown','mcp-tool-context','FILE','6328098dKcEIE','TOOL','text','HTML','MARKDOWN','1441998nWRmdh','588FPHbxf','TEXT','2358796wZcDIr','html','file','49310RFXqiD','458337MScPcr','web-resource','document','SELECTION'];_0x3aa9=function(){return _0x389c6a;};return _0x3aa9();}