@ckeditor/ckeditor5-ai 47.7.2 → 47.7.3

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
- function _0x4753(_0x388aed,_0x1d9bf6){const _0x312312=_0x3123();return _0x4753=function(_0x47538d,_0x4e5858){_0x47538d=_0x47538d-0x125;let _0x31d06c=_0x312312[_0x47538d];return _0x31d06c;},_0x4753(_0x388aed,_0x1d9bf6);}const _0x45e21a=_0x4753;(function(_0x9ffe9f,_0x4bd5ca){const _0x8c9060=_0x4753,_0x343612=_0x9ffe9f();while(!![]){try{const _0x58de8c=-parseInt(_0x8c9060(0x155))/0x1+parseInt(_0x8c9060(0x14b))/0x2+parseInt(_0x8c9060(0x12f))/0x3+-parseInt(_0x8c9060(0x132))/0x4+-parseInt(_0x8c9060(0x138))/0x5+-parseInt(_0x8c9060(0x158))/0x6*(parseInt(_0x8c9060(0x128))/0x7)+parseInt(_0x8c9060(0x14c))/0x8;if(_0x58de8c===_0x4bd5ca)break;else _0x343612['push'](_0x343612['shift']());}catch(_0x4c1f83){_0x343612['push'](_0x343612['shift']());}}}(_0x3123,0x80c6d));import{ListItemView as _0x5081b4,HighlightedTextView as _0x26bf05,ButtonView as _0x1b6385,ListView as _0x5076fc,IconView as _0x4c8f44,createDropdown as _0x4336f5,InputTextView as _0x2cef48}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x18be09,IconPin as _0x412a91,IconCheck as _0x427fd5,IconCancel as _0x14796f}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x27d014,ConfirmMixin as _0x2c9f6e}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0xdd1516}from'es-toolkit/compat';import{AISpinnerView as _0x60838}from'../../aicore/ui/aispinner.js';function _0x3123(){const _0x13ff56=['ck-ai-chat-history__item-title','key','removeConversation','text','ck-ai-chat-history__item-actions','items','setConversationPinned','AI_CHAT_HISTORY_REMOVE','loadingState','mainContent','panelView','ck-ai-chat-history__item-content','locale','element','string','change:isEdit','extendTemplate','showConfirm','AI_CHAT_HISTORY_CANCEL','isOn','AI_CHAT_HISTORY_PIN_BUTTON','isEdit','ck-hidden','selectConversation','execute','_createEditInputView','tiny','AI_CHAT_HISTORY_LOADING_RENAMING','AI_CHAT_HISTORY_LOADING_PINNING','_commitEditInputValue','_createCheckView','1729OwZTAH','panelPosition','ck-confirm-view-cancel','highlightText','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','ck-ai-chat-history__item--active','updateLoadingState','1799046FzCLqj','match','_createMenuDropdownView','3842412xOHETv','bind','_createSpinnerView','_createAcceptEditButtonView','ck-ai-chat-history__item-main-content','updateTitle','449085tfcwls','_createPinButtonView','div','AI_CHAT_HISTORY_LOADING_UNPINNING','ck-ai-loader','withText','AI_CHAT_HISTORY_EDIT_NAME','_titleView','ck-ai-chat-history__item-row','children','bindTemplate','Enter','ck-ai-chat-history__item-check','focus','ck-ai-chat-history__item--edit','then','label','ck-confirm-view-submit','ck-ai-chat-history__item-date','1273568PhjJIh','8441392EfBtZF','setTemplate','buttonView','LOADING_LABELS','value','add','clear','_createCancelEditButtonView','AI_CHAT_HISTORY_REMOVE_CONFIRM','495650eHPiSm','ck-ai-loader__text','set','5298BEZJgP','isVisible','fire','edit:cancel','pinned','ck-ai-chat-history__item','AI_CHAT_HISTORY_LOADING_REMOVING','span','editConversationTitle','ck-ai-chat-history__item-check-container','addMany','AI_CHAT_HISTORY_ACCEPT','isMatching','click','actions','createCollection','listitem'];_0x3123=function(){return _0x13ff56;};return _0x3123();}import{getTranslation as _0x1c67a9}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
- _0x2c9f6e(_0x5081b4){['id'];static [_0x45e21a(0x14f)]={'remove':_0x45e21a(0x15e),'rename':_0x45e21a(0x184),'pin':_0x45e21a(0x125),'unpin':_0x45e21a(0x13b)};[_0x45e21a(0x166)];[_0x45e21a(0x172)];[_0x45e21a(0x13f)];constructor(_0x162f13,_0x56c9c8){const _0x3bf216=_0x45e21a;super(_0x162f13);const _0x5a44e4=this[_0x3bf216(0x142)];this[_0x3bf216(0x157)](_0x3bf216(0x17e),!0x1),this[_0x3bf216(0x157)](_0x3bf216(0x159),!0x0),this[_0x3bf216(0x157)](_0x3bf216(0x15c),!!_0x56c9c8[_0x3bf216(0x15c)]),this[_0x3bf216(0x157)](_0x3bf216(0x171),null),this['id']=_0x56c9c8['id'];const {title:_0x18f3e1,createdAt:_0xbfe8f6,active:_0x7572d3=!0x1}=_0x56c9c8;this[_0x3bf216(0x13f)]=new _0x26bf05(),this[_0x3bf216(0x13f)][_0x3bf216(0x16c)]=_0x18f3e1,this[_0x3bf216(0x13f)][_0x3bf216(0x179)]({'attributes':{'class':[_0x3bf216(0x169)]}});const _0x26e10f=this[_0x3bf216(0x127)](),_0xd7445d=this[_0x3bf216(0x139)](_0x162f13),_0x40cb5c=this[_0x3bf216(0x131)](),_0x357fc8=this[_0x3bf216(0x182)](_0x162f13,_0x18f3e1),_0x2f48ec=this[_0x3bf216(0x135)](_0x162f13,_0x357fc8),_0x4a82da=this[_0x3bf216(0x153)](_0x162f13,_0x357fc8);this[_0x3bf216(0x166)]=this[_0x3bf216(0x167)](),this[_0x3bf216(0x172)]=this[_0x3bf216(0x167)](),this[_0x3bf216(0x172)][_0x3bf216(0x151)](this[_0x3bf216(0x13f)]),this[_0x3bf216(0x166)][_0x3bf216(0x151)](_0xd7445d),this[_0x3bf216(0x166)][_0x3bf216(0x151)](_0x40cb5c),this['on'](_0x3bf216(0x178),(_0xdc7830,_0x5986e8,_0x4a2ae5)=>{const _0xfeeb35=_0x3bf216;this[_0xfeeb35(0x166)][_0xfeeb35(0x152)](),this[_0xfeeb35(0x172)][_0xfeeb35(0x152)](),_0x4a2ae5?(this[_0xfeeb35(0x166)][_0xfeeb35(0x151)](_0x2f48ec),this[_0xfeeb35(0x166)][_0xfeeb35(0x151)](_0x4a82da),this[_0xfeeb35(0x172)][_0xfeeb35(0x151)](_0x357fc8),_0x357fc8[_0xfeeb35(0x176)][_0xfeeb35(0x145)]()):(this[_0xfeeb35(0x166)][_0xfeeb35(0x151)](_0xd7445d),this[_0xfeeb35(0x166)][_0xfeeb35(0x151)](_0x40cb5c),this[_0xfeeb35(0x172)][_0xfeeb35(0x151)](this[_0xfeeb35(0x13f)]));}),this[_0x3bf216(0x14d)]({'tag':'li','attributes':{'class':[_0x3bf216(0x15d),_0x7572d3?_0x3bf216(0x12d):'',_0x5a44e4['if'](_0x3bf216(0x159),_0x3bf216(0x17f),_0xb39e6f=>!_0xb39e6f),_0x5a44e4['if'](_0x3bf216(0x17e),_0x3bf216(0x146))],'role':_0x3bf216(0x168)},'children':[{'tag':_0x3bf216(0x15f),'attributes':{'class':[_0x3bf216(0x161)]},'children':[{'tag':_0x3bf216(0x13a),'attributes':{'class':[_0x3bf216(0x144),_0x5a44e4['if'](_0x3bf216(0x171),_0x3bf216(0x17f),_0x5a446d=>!!_0x5a446d)]},'children':_0x7572d3?[_0x26e10f]:[]},{'tag':_0x3bf216(0x13a),'attributes':{'class':[_0x3bf216(0x13c),_0x5a44e4['if'](_0x3bf216(0x171),_0x3bf216(0x17f),_0x531aab=>!_0x531aab)]},'children':[this[_0x3bf216(0x134)]()]}]},{'tag':_0x3bf216(0x13a),'attributes':{'class':[_0x3bf216(0x140)]},'children':[{'tag':_0x3bf216(0x13a),'attributes':{'class':[_0x3bf216(0x174)]},'on':{'click':this[_0x3bf216(0x142)]['to'](_0x3bf216(0x165))},'children':[{'tag':_0x3bf216(0x13a),'attributes':{'class':[_0x3bf216(0x136)]},'children':[{'tag':_0x3bf216(0x13a),'attributes':{'class':[_0x3bf216(0x169),_0x5a44e4['if'](_0x3bf216(0x171),_0x3bf216(0x17f),_0x18cff5=>!!_0x18cff5)]},'children':this[_0x3bf216(0x172)]},{'tag':_0x3bf216(0x13a),'attributes':{'class':[_0x3bf216(0x156),_0x5a44e4['if'](_0x3bf216(0x171),_0x3bf216(0x17f),_0x532a51=>!_0x532a51)]},'children':[{'text':_0x5a44e4['to'](_0x3bf216(0x171),_0x169b37=>_0x169b37?_0x1c67a9(this[_0x3bf216(0x175)],AIChatHistoryListItemView[_0x3bf216(0x14f)][_0x169b37]):'')}]}]},{'tag':_0x3bf216(0x15f),'attributes':{'class':[_0x3bf216(0x14a)]},'children':[_0xbfe8f6]}]},{'tag':_0x3bf216(0x13a),'attributes':{'class':[_0x3bf216(0x16d)]},'children':this[_0x3bf216(0x166)]}]}]}),this['on'](_0x3bf216(0x165),()=>{const _0x2914ec=_0x3bf216;this[_0x2914ec(0x17e)]||this[_0x2914ec(0x15a)](_0x2914ec(0x180),{'id':this['id']});});}[_0x45e21a(0x137)](_0x558601){const _0x4e4ed9=_0x45e21a;this[_0x4e4ed9(0x13f)][_0x4e4ed9(0x16c)]=_0xdd1516(_0x558601);}[_0x45e21a(0x12e)](_0x570a1d,_0x184204){const _0x5174ca=_0x45e21a;this[_0x5174ca(0x157)](_0x5174ca(0x171),_0x184204?_0x570a1d:null);}[_0x45e21a(0x127)](){const _0x5dc215=_0x45e21a,_0xb0a23c=new _0x4c8f44();return _0xb0a23c[_0x5dc215(0x157)]({'content':_0x427fd5}),_0xb0a23c;}[_0x45e21a(0x139)](_0x3bb1b2){const _0x4b333a=_0x45e21a,_0x3f5369=new _0x1b6385(_0x3bb1b2);return _0x3f5369[_0x4b333a(0x157)]({'label':_0x1c67a9(_0x3bb1b2,_0x4b333a(0x17d)),'icon':_0x412a91,'withText':!0x1,'tooltip':!0x0}),_0x3f5369[_0x4b333a(0x133)](_0x4b333a(0x17c))['to'](this,_0x4b333a(0x15c)),_0x3f5369['on'](_0x4b333a(0x181),()=>{const _0x105712=_0x4b333a,_0x372ff3=!this[_0x105712(0x15c)];this[_0x105712(0x15a)](_0x105712(0x16f),{'id':this['id'],'pinned':_0x372ff3});}),_0x3f5369;}[_0x45e21a(0x131)](){const _0x116417=_0x45e21a,_0xc6d749=_0x4336f5(this[_0x116417(0x175)],_0x27d014),_0x23bcdf=_0xc6d749[_0x116417(0x173)][_0x116417(0x141)];_0xc6d749[_0x116417(0x14e)][_0x116417(0x157)]({'label':_0x1c67a9(this[_0x116417(0x175)],_0x116417(0x12c)),'icon':_0x18be09}),_0xc6d749[_0x116417(0x129)]='sw';const _0x397700=new _0x1b6385(this[_0x116417(0x175)]);_0x397700[_0x116417(0x148)]=_0x1c67a9(this[_0x116417(0x175)],_0x116417(0x13e)),_0x397700[_0x116417(0x13d)]=!0x0,_0x397700['on'](_0x116417(0x181),()=>{const _0x44e10c=_0x116417;this[_0x44e10c(0x17e)]=!0x0;});const _0x343bd3=new _0x1b6385(this[_0x116417(0x175)]);_0x343bd3[_0x116417(0x148)]=_0x1c67a9(this[_0x116417(0x175)],_0x116417(0x170)),_0x343bd3[_0x116417(0x13d)]=!0x0,_0x343bd3['on'](_0x116417(0x181),()=>{const _0x423e9f=_0x116417;this[_0x423e9f(0x17a)](_0x1c67a9(this[_0x423e9f(0x175)],_0x423e9f(0x154)),this[_0x423e9f(0x176)])[_0x423e9f(0x147)](()=>{const _0x42de4c=_0x423e9f;this[_0x42de4c(0x15a)](_0x42de4c(0x16b),{'id':this['id']});});});const _0x27d717=new _0x5076fc(this[_0x116417(0x175)]),_0x596055=new _0x5081b4(this[_0x116417(0x175)]);_0x596055[_0x116417(0x141)][_0x116417(0x151)](_0x397700);const _0x81585e=new _0x5081b4(this[_0x116417(0x175)]);return _0x81585e[_0x116417(0x141)][_0x116417(0x151)](_0x343bd3),_0x27d717[_0x116417(0x16e)][_0x116417(0x162)]([_0x596055,_0x81585e]),_0x23bcdf[_0x116417(0x151)](_0x27d717),_0xc6d749;}[_0x45e21a(0x182)](_0x42938,_0x1ae60f){const _0x25d434=_0x45e21a,_0x3bcc56=new _0x2cef48(_0x42938),_0x437e3d=_0x3bcc56[_0x25d434(0x142)];return _0x3bcc56[_0x25d434(0x150)]=_0x1ae60f,_0x3bcc56[_0x25d434(0x179)]({'on':{'keydown':_0x437e3d['to'](_0x53b34a=>{const _0x10c454=_0x25d434;_0x10c454(0x143)==_0x53b34a[_0x10c454(0x16a)]&&this[_0x10c454(0x126)](_0x3bcc56);})}}),_0x3bcc56;}[_0x45e21a(0x135)](_0xb01ff8,_0x3437cd){const _0x191cb9=_0x45e21a,_0x5a5c30=new _0x1b6385(_0xb01ff8);return _0x5a5c30[_0x191cb9(0x157)]({'icon':_0x427fd5,'withText':!0x1,'tooltip':_0x1c67a9(_0xb01ff8,_0x191cb9(0x163))}),_0x5a5c30[_0x191cb9(0x179)]({'attributes':{'class':[_0x191cb9(0x149)]}}),_0x5a5c30['on'](_0x191cb9(0x181),()=>{const _0x326df3=_0x191cb9;this[_0x326df3(0x126)](_0x3437cd);}),_0x5a5c30;}[_0x45e21a(0x126)](_0x1d664b){const _0xafd767=_0x45e21a,_0x50bc9c=_0x1d664b[_0xafd767(0x176)][_0xafd767(0x150)]||'';this[_0xafd767(0x13f)][_0xafd767(0x16c)]=_0x50bc9c,this[_0xafd767(0x17e)]=!0x1,this[_0xafd767(0x15a)](_0xafd767(0x160),{'id':this['id'],'title':_0x50bc9c});}[_0x45e21a(0x153)](_0x5c45a0,_0x42fd7b){const _0x4eb34c=_0x45e21a,_0x86569c=new _0x1b6385(_0x5c45a0);return _0x86569c[_0x4eb34c(0x157)]({'icon':_0x14796f,'withText':!0x1,'tooltip':_0x1c67a9(_0x5c45a0,_0x4eb34c(0x17b))}),_0x86569c[_0x4eb34c(0x179)]({'attributes':{'class':[_0x4eb34c(0x12a)]}}),_0x86569c['on'](_0x4eb34c(0x181),()=>{const _0x1afda7=_0x4eb34c;this[_0x1afda7(0x17e)]=!0x1,_0x42fd7b[_0x1afda7(0x150)]=this[_0x1afda7(0x13f)][_0x1afda7(0x16c)]||'',this[_0x1afda7(0x15a)](_0x1afda7(0x15b));}),_0x86569c;}[_0x45e21a(0x134)](){const _0x4655b1=_0x45e21a,_0x39980a=new _0x60838(_0x4655b1(0x183));return _0x39980a[_0x4655b1(0x159)]=!0x0,_0x39980a;}[_0x45e21a(0x164)](_0x407e59){const _0x330576=_0x45e21a;return this[_0x330576(0x13f)]&&_0x330576(0x177)==typeof this[_0x330576(0x13f)][_0x330576(0x16c)]&&this[_0x330576(0x13f)][_0x330576(0x16c)][_0x330576(0x130)](_0x407e59)?{'title':!0x0}:null;}[_0x45e21a(0x12b)](_0x3af515){const _0x44b154=_0x45e21a;this[_0x44b154(0x13f)][_0x44b154(0x12b)](_0x3af515);}}
23
+ const _0x4ac2fb=_0xb92a;(function(_0x45a62d,_0x302bdc){const _0x27ccc9=_0xb92a,_0x427bbc=_0x45a62d();while(!![]){try{const _0x1de878=-parseInt(_0x27ccc9(0x219))/0x1*(-parseInt(_0x27ccc9(0x201))/0x2)+-parseInt(_0x27ccc9(0x1d9))/0x3+-parseInt(_0x27ccc9(0x20f))/0x4*(parseInt(_0x27ccc9(0x1eb))/0x5)+-parseInt(_0x27ccc9(0x204))/0x6*(parseInt(_0x27ccc9(0x222))/0x7)+parseInt(_0x27ccc9(0x1e2))/0x8*(parseInt(_0x27ccc9(0x21a))/0x9)+-parseInt(_0x27ccc9(0x1f7))/0xa*(-parseInt(_0x27ccc9(0x20d))/0xb)+-parseInt(_0x27ccc9(0x1dc))/0xc*(parseInt(_0x27ccc9(0x1d8))/0xd);if(_0x1de878===_0x302bdc)break;else _0x427bbc['push'](_0x427bbc['shift']());}catch(_0x351436){_0x427bbc['push'](_0x427bbc['shift']());}}}(_0x3533,0x598b1));function _0x3533(){const _0x3aae57=['children','addMany','2XjoHWR','listitem','_createEditInputView','36apSAad','_createPinButtonView','mainContent','ck-ai-chat-history__item-check-container','removeConversation','add','panelView','bindTemplate','panelPosition','11bEHLVj','createCollection','1050904UWJtWC','isMatching','ck-ai-chat-history__item-check','Enter','focus','_createCancelEditButtonView','AI_CHAT_HISTORY_REMOVE_CONFIRM','ck-ai-chat-history__item-content','click','fire','338783Zulamq','9XhePZz','AI_CHAT_HISTORY_LOADING_REMOVING','selectConversation','setTemplate','isOn','_createSpinnerView','LOADING_LABELS','key','433118HYEmMk','label','ck-ai-chat-history__item','span','buttonView','items','_createAcceptEditButtonView','actions','AI_CHAT_HISTORY_PIN_BUTTON','ck-ai-chat-history__item-row','updateTitle','setConversationPinned','change:isEdit','ck-ai-chat-history__item-date','bind','showConfirm','ck-ai-chat-history__item--edit','div','ck-ai-loader__text','AI_CHAT_HISTORY_REMOVE','pinned','AI_CHAT_HISTORY_LOADING_UNPINNING','AI_CHAT_HISTORY_LOADING_RENAMING','loadingState','_titleView','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','ck-ai-chat-history__item-actions','445315GgQZQu','280773VVjdfU','withText','clear','12Sjnxls','text','ck-confirm-view-cancel','AI_CHAT_HISTORY_CANCEL','_commitEditInputValue','editConversationTitle','5342824yuHaSS','tiny','ck-ai-chat-history__item--active','AI_CHAT_HISTORY_LOADING_PINNING','isVisible','set','_createMenuDropdownView','highlightText','ck-ai-loader','5xdBykm','ck-ai-chat-history__item-main-content','string','then','edit:cancel','AI_CHAT_HISTORY_EDIT_NAME','_createCheckView','AI_CHAT_HISTORY_ACCEPT','updateLoadingState','element','isEdit','execute','1219490HPTGZl','value','extendTemplate','ck-ai-chat-history__item-title','ck-hidden','ck-confirm-view-submit','locale','match'];_0x3533=function(){return _0x3aae57;};return _0x3533();}import{ListItemView as _0x365afd,HighlightedTextView as _0x32b79d,ButtonView as _0x1d853b,ListView as _0x1bdf2c,IconView as _0x5d75f1,createDropdown as _0x532c55,InputTextView as _0x3979ce}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x17af50,IconPin as _0x5084ab,IconCheck as _0x35ae4a,IconCancel as _0x315f56}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x527717,ConfirmMixin as _0x19fdbd}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x20f7ff}from'es-toolkit/compat';import{AISpinnerView as _0x37d7a0}from'../../aicore/ui/aispinner.js';function _0xb92a(_0x2d4dc0,_0x129bcc){const _0x353393=_0x3533();return _0xb92a=function(_0xb92a95,_0x1b4f4f){_0xb92a95=_0xb92a95-0x1d2;let _0x1ed2d0=_0x353393[_0xb92a95];return _0x1ed2d0;},_0xb92a(_0x2d4dc0,_0x129bcc);}import{getTranslation as _0x57a0f0}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
+ _0x19fdbd(_0x365afd){['id'];static [_0x4ac2fb(0x220)]={'remove':_0x4ac2fb(0x21b),'rename':_0x4ac2fb(0x1d3),'pin':_0x4ac2fb(0x1e5),'unpin':_0x4ac2fb(0x1d2)};[_0x4ac2fb(0x229)];[_0x4ac2fb(0x206)];[_0x4ac2fb(0x1d5)];constructor(_0x2a90c9,_0x2f81b7){const _0x14a6e5=_0x4ac2fb;super(_0x2a90c9);const _0x54e1e4=this[_0x14a6e5(0x20b)];this[_0x14a6e5(0x1e7)](_0x14a6e5(0x1f5),!0x1),this[_0x14a6e5(0x1e7)](_0x14a6e5(0x1e6),!0x0),this[_0x14a6e5(0x1e7)](_0x14a6e5(0x236),!!_0x2f81b7[_0x14a6e5(0x236)]),this[_0x14a6e5(0x1e7)](_0x14a6e5(0x1d4),null),this['id']=_0x2f81b7['id'];const {title:_0x20ad0c,createdAt:_0x38bb20,active:_0x12c112=!0x1}=_0x2f81b7;this[_0x14a6e5(0x1d5)]=new _0x32b79d(),this[_0x14a6e5(0x1d5)][_0x14a6e5(0x1dd)]=_0x20ad0c,this[_0x14a6e5(0x1d5)][_0x14a6e5(0x1f9)]({'attributes':{'class':[_0x14a6e5(0x1fa)]}});const _0x40fc98=this[_0x14a6e5(0x1f1)](),_0x1f2146=this[_0x14a6e5(0x205)](_0x2a90c9),_0x2a74a6=this[_0x14a6e5(0x1e8)](),_0x284d1b=this[_0x14a6e5(0x203)](_0x2a90c9,_0x20ad0c),_0x524453=this[_0x14a6e5(0x228)](_0x2a90c9,_0x284d1b),_0x443510=this[_0x14a6e5(0x214)](_0x2a90c9,_0x284d1b);this[_0x14a6e5(0x229)]=this[_0x14a6e5(0x20e)](),this[_0x14a6e5(0x206)]=this[_0x14a6e5(0x20e)](),this[_0x14a6e5(0x206)][_0x14a6e5(0x209)](this[_0x14a6e5(0x1d5)]),this[_0x14a6e5(0x229)][_0x14a6e5(0x209)](_0x1f2146),this[_0x14a6e5(0x229)][_0x14a6e5(0x209)](_0x2a74a6),this['on'](_0x14a6e5(0x22e),(_0x41d0e3,_0x3e490d,_0x38d98f)=>{const _0x22bd4c=_0x14a6e5;this[_0x22bd4c(0x229)][_0x22bd4c(0x1db)](),this[_0x22bd4c(0x206)][_0x22bd4c(0x1db)](),_0x38d98f?(this[_0x22bd4c(0x229)][_0x22bd4c(0x209)](_0x524453),this[_0x22bd4c(0x229)][_0x22bd4c(0x209)](_0x443510),this[_0x22bd4c(0x206)][_0x22bd4c(0x209)](_0x284d1b),_0x284d1b[_0x22bd4c(0x1f4)][_0x22bd4c(0x213)]()):(this[_0x22bd4c(0x229)][_0x22bd4c(0x209)](_0x1f2146),this[_0x22bd4c(0x229)][_0x22bd4c(0x209)](_0x2a74a6),this[_0x22bd4c(0x206)][_0x22bd4c(0x209)](this[_0x22bd4c(0x1d5)]));}),this[_0x14a6e5(0x21d)]({'tag':'li','attributes':{'class':[_0x14a6e5(0x224),_0x12c112?_0x14a6e5(0x1e4):'',_0x54e1e4['if'](_0x14a6e5(0x1e6),_0x14a6e5(0x1fb),_0x13c428=>!_0x13c428),_0x54e1e4['if'](_0x14a6e5(0x1f5),_0x14a6e5(0x232))],'role':_0x14a6e5(0x202)},'children':[{'tag':_0x14a6e5(0x225),'attributes':{'class':[_0x14a6e5(0x207)]},'children':[{'tag':_0x14a6e5(0x233),'attributes':{'class':[_0x14a6e5(0x211),_0x54e1e4['if'](_0x14a6e5(0x1d4),_0x14a6e5(0x1fb),_0x1bc110=>!!_0x1bc110)]},'children':_0x12c112?[_0x40fc98]:[]},{'tag':_0x14a6e5(0x233),'attributes':{'class':[_0x14a6e5(0x1ea),_0x54e1e4['if'](_0x14a6e5(0x1d4),_0x14a6e5(0x1fb),_0x14b28f=>!_0x14b28f)]},'children':[this[_0x14a6e5(0x21f)]()]}]},{'tag':_0x14a6e5(0x233),'attributes':{'class':[_0x14a6e5(0x22b)]},'children':[{'tag':_0x14a6e5(0x233),'attributes':{'class':[_0x14a6e5(0x216)]},'on':{'click':this[_0x14a6e5(0x20b)]['to'](_0x14a6e5(0x217))},'children':[{'tag':_0x14a6e5(0x233),'attributes':{'class':[_0x14a6e5(0x1ec)]},'children':[{'tag':_0x14a6e5(0x233),'attributes':{'class':[_0x14a6e5(0x1fa),_0x54e1e4['if'](_0x14a6e5(0x1d4),_0x14a6e5(0x1fb),_0x1b47bb=>!!_0x1b47bb)]},'children':this[_0x14a6e5(0x206)]},{'tag':_0x14a6e5(0x233),'attributes':{'class':[_0x14a6e5(0x234),_0x54e1e4['if'](_0x14a6e5(0x1d4),_0x14a6e5(0x1fb),_0x5a7338=>!_0x5a7338)]},'children':[{'text':_0x54e1e4['to'](_0x14a6e5(0x1d4),_0x15d931=>_0x15d931?_0x57a0f0(this[_0x14a6e5(0x1fd)],AIChatHistoryListItemView[_0x14a6e5(0x220)][_0x15d931]):'')}]}]},{'tag':_0x14a6e5(0x225),'attributes':{'class':[_0x14a6e5(0x22f)]},'children':[_0x38bb20]}]},{'tag':_0x14a6e5(0x233),'attributes':{'class':[_0x14a6e5(0x1d7)]},'children':this[_0x14a6e5(0x229)]}]}]}),this['on'](_0x14a6e5(0x217),()=>{const _0x18965b=_0x14a6e5;this[_0x18965b(0x1f5)]||this[_0x18965b(0x218)](_0x18965b(0x21c),{'id':this['id']});});}[_0x4ac2fb(0x22c)](_0x57ec76){const _0x2ae221=_0x4ac2fb;this[_0x2ae221(0x1d5)][_0x2ae221(0x1dd)]=_0x20f7ff(_0x57ec76);}[_0x4ac2fb(0x1f3)](_0x5e7cbe,_0xe40b4a){const _0x53de53=_0x4ac2fb;this[_0x53de53(0x1e7)](_0x53de53(0x1d4),_0xe40b4a?_0x5e7cbe:null);}[_0x4ac2fb(0x1f1)](){const _0x44947d=_0x4ac2fb,_0x265ee1=new _0x5d75f1();return _0x265ee1[_0x44947d(0x1e7)]({'content':_0x35ae4a}),_0x265ee1;}[_0x4ac2fb(0x205)](_0x3a58b3){const _0x528d46=_0x4ac2fb,_0x4cefc7=new _0x1d853b(_0x3a58b3);return _0x4cefc7[_0x528d46(0x1e7)]({'label':_0x57a0f0(_0x3a58b3,_0x528d46(0x22a)),'icon':_0x5084ab,'withText':!0x1,'tooltip':!0x0}),_0x4cefc7[_0x528d46(0x230)](_0x528d46(0x21e))['to'](this,_0x528d46(0x236)),_0x4cefc7['on'](_0x528d46(0x1f6),()=>{const _0x35df27=_0x528d46,_0xd5e456=!this[_0x35df27(0x236)];this[_0x35df27(0x218)](_0x35df27(0x22d),{'id':this['id'],'pinned':_0xd5e456});}),_0x4cefc7;}[_0x4ac2fb(0x1e8)](){const _0x1f8233=_0x4ac2fb,_0x12f369=_0x532c55(this[_0x1f8233(0x1fd)],_0x527717),_0x273b44=_0x12f369[_0x1f8233(0x20a)][_0x1f8233(0x1ff)];_0x12f369[_0x1f8233(0x226)][_0x1f8233(0x1e7)]({'label':_0x57a0f0(this[_0x1f8233(0x1fd)],_0x1f8233(0x1d6)),'icon':_0x17af50}),_0x12f369[_0x1f8233(0x20c)]='sw';const _0x4b0f90=new _0x1d853b(this[_0x1f8233(0x1fd)]);_0x4b0f90[_0x1f8233(0x223)]=_0x57a0f0(this[_0x1f8233(0x1fd)],_0x1f8233(0x1f0)),_0x4b0f90[_0x1f8233(0x1da)]=!0x0,_0x4b0f90['on'](_0x1f8233(0x1f6),()=>{const _0xa64928=_0x1f8233;this[_0xa64928(0x1f5)]=!0x0;});const _0x46650d=new _0x1d853b(this[_0x1f8233(0x1fd)]);_0x46650d[_0x1f8233(0x223)]=_0x57a0f0(this[_0x1f8233(0x1fd)],_0x1f8233(0x235)),_0x46650d[_0x1f8233(0x1da)]=!0x0,_0x46650d['on'](_0x1f8233(0x1f6),()=>{const _0x174f41=_0x1f8233;this[_0x174f41(0x231)](_0x57a0f0(this[_0x174f41(0x1fd)],_0x174f41(0x215)),this[_0x174f41(0x1f4)])[_0x174f41(0x1ee)](()=>{const _0x2540bf=_0x174f41;this[_0x2540bf(0x218)](_0x2540bf(0x208),{'id':this['id']});});});const _0x487579=new _0x1bdf2c(this[_0x1f8233(0x1fd)]),_0x1da1f2=new _0x365afd(this[_0x1f8233(0x1fd)]);_0x1da1f2[_0x1f8233(0x1ff)][_0x1f8233(0x209)](_0x4b0f90);const _0x3ffa2e=new _0x365afd(this[_0x1f8233(0x1fd)]);return _0x3ffa2e[_0x1f8233(0x1ff)][_0x1f8233(0x209)](_0x46650d),_0x487579[_0x1f8233(0x227)][_0x1f8233(0x200)]([_0x1da1f2,_0x3ffa2e]),_0x273b44[_0x1f8233(0x209)](_0x487579),_0x12f369;}[_0x4ac2fb(0x203)](_0x517404,_0x27bed3){const _0x9438e=_0x4ac2fb,_0x2ba760=new _0x3979ce(_0x517404),_0x21a38d=_0x2ba760[_0x9438e(0x20b)];return _0x2ba760[_0x9438e(0x1f8)]=_0x27bed3,_0x2ba760[_0x9438e(0x1f9)]({'on':{'keydown':_0x21a38d['to'](_0x3b45bd=>{const _0x50175f=_0x9438e;_0x50175f(0x212)==_0x3b45bd[_0x50175f(0x221)]&&this[_0x50175f(0x1e0)](_0x2ba760);})}}),_0x2ba760;}[_0x4ac2fb(0x228)](_0x16d302,_0x41f1be){const _0x32d874=_0x4ac2fb,_0x621049=new _0x1d853b(_0x16d302);return _0x621049[_0x32d874(0x1e7)]({'icon':_0x35ae4a,'withText':!0x1,'tooltip':_0x57a0f0(_0x16d302,_0x32d874(0x1f2))}),_0x621049[_0x32d874(0x1f9)]({'attributes':{'class':[_0x32d874(0x1fc)]}}),_0x621049['on'](_0x32d874(0x1f6),()=>{const _0x4fac93=_0x32d874;this[_0x4fac93(0x1e0)](_0x41f1be);}),_0x621049;}[_0x4ac2fb(0x1e0)](_0x252bc3){const _0x230aed=_0x4ac2fb,_0x176b73=_0x252bc3[_0x230aed(0x1f4)][_0x230aed(0x1f8)]||'';this[_0x230aed(0x1d5)][_0x230aed(0x1dd)]=_0x176b73,this[_0x230aed(0x1f5)]=!0x1,this[_0x230aed(0x218)](_0x230aed(0x1e1),{'id':this['id'],'title':_0x176b73});}[_0x4ac2fb(0x214)](_0x4e506d,_0x214b1a){const _0x42f3d9=_0x4ac2fb,_0x480310=new _0x1d853b(_0x4e506d);return _0x480310[_0x42f3d9(0x1e7)]({'icon':_0x315f56,'withText':!0x1,'tooltip':_0x57a0f0(_0x4e506d,_0x42f3d9(0x1df))}),_0x480310[_0x42f3d9(0x1f9)]({'attributes':{'class':[_0x42f3d9(0x1de)]}}),_0x480310['on'](_0x42f3d9(0x1f6),()=>{const _0x1714fa=_0x42f3d9;this[_0x1714fa(0x1f5)]=!0x1,_0x214b1a[_0x1714fa(0x1f8)]=this[_0x1714fa(0x1d5)][_0x1714fa(0x1dd)]||'',this[_0x1714fa(0x218)](_0x1714fa(0x1ef));}),_0x480310;}[_0x4ac2fb(0x21f)](){const _0x3989e1=_0x4ac2fb,_0x47d7fd=new _0x37d7a0(_0x3989e1(0x1e3));return _0x47d7fd[_0x3989e1(0x1e6)]=!0x0,_0x47d7fd;}[_0x4ac2fb(0x210)](_0x1d03ca){const _0x347f58=_0x4ac2fb;return this[_0x347f58(0x1d5)]&&_0x347f58(0x1ed)==typeof this[_0x347f58(0x1d5)][_0x347f58(0x1dd)]&&this[_0x347f58(0x1d5)][_0x347f58(0x1dd)][_0x347f58(0x1fe)](_0x1d03ca)?{'title':!0x0}:null;}[_0x4ac2fb(0x1e9)](_0x526fa1){const _0x41410c=_0x4ac2fb;this[_0x41410c(0x1d5)][_0x41410c(0x1e9)](_0x526fa1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x384f97=_0x1b8a;(function(_0x244d18,_0x5e3fc3){const _0x509389=_0x1b8a,_0x2d781f=_0x244d18();while(!![]){try{const _0x5b1876=-parseInt(_0x509389(0xdd))/0x1*(-parseInt(_0x509389(0xbe))/0x2)+-parseInt(_0x509389(0xde))/0x3*(parseInt(_0x509389(0xdb))/0x4)+-parseInt(_0x509389(0xdc))/0x5*(-parseInt(_0x509389(0xd6))/0x6)+-parseInt(_0x509389(0xc9))/0x7*(parseInt(_0x509389(0xcd))/0x8)+-parseInt(_0x509389(0xe0))/0x9*(parseInt(_0x509389(0xc7))/0xa)+-parseInt(_0x509389(0xd1))/0xb+parseInt(_0x509389(0xd5))/0xc*(parseInt(_0x509389(0xc6))/0xd);if(_0x5b1876===_0x5e3fc3)break;else _0x2d781f['push'](_0x2d781f['shift']());}catch(_0x472a64){_0x2d781f['push'](_0x2d781f['shift']());}}}(_0x161a,0x2831c));function _0x1b8a(_0x39cb08,_0x3419fe){const _0x161a8d=_0x161a();return _0x1b8a=function(_0x1b8a4c,_0x5b2e67){_0x1b8a4c=_0x1b8a4c-0xbe;let _0x418c1f=_0x161a8d[_0x1b8a4c];return _0x418c1f;},_0x1b8a(_0x39cb08,_0x3419fe);}import{ListItemView as _0x1545a9,View as _0x548d8d,ListView as _0xcce3ed}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x1545a9{[_0x384f97(0xe1)];[_0x384f97(0xd0)];[_0x384f97(0xd3)];constructor(_0x5a7c77,{title:_0x143cd7,items:_0x574d14}){const _0xb746c=_0x384f97;super(_0x5a7c77);const _0x2202c0=this[_0xb746c(0xc2)];this[_0xb746c(0xca)](_0xb746c(0xc4),!0x0),this[_0xb746c(0xe1)]=_0x143cd7,this[_0xb746c(0xd0)]=_0x574d14;const _0x49f276=new _0x548d8d(_0x5a7c77);_0x49f276[_0xb746c(0xc3)]({'tag':_0xb746c(0xd8),'attributes':{'class':[_0xb746c(0xce)]},'children':[this[_0xb746c(0xe1)]]}),this[_0xb746c(0xd3)]=new _0xcce3ed(_0x5a7c77),this[_0xb746c(0xd3)][_0xb746c(0xc5)][_0xb746c(0xcb)](this[_0xb746c(0xd0)]),this[_0xb746c(0xc3)]({'tag':'li','attributes':{'class':[_0xb746c(0xcf),_0x2202c0['if'](_0xb746c(0xc4),_0xb746c(0xcc),_0x417690=>!_0x417690)]},'children':[_0x49f276,this[_0xb746c(0xd3)]]});}[_0x384f97(0xd7)](_0x3539b0){const _0x2c9889=_0x384f97,_0x8337ee=this[_0x2c9889(0xd0)][_0x2c9889(0xd4)];let _0x46466e=0x0;for(const _0x5ba0f3 of this[_0x2c9889(0xd0)]){if(_0x3539b0){const _0x56a2df=_0x5ba0f3[_0x2c9889(0xc1)](_0x3539b0);_0x5ba0f3[_0x2c9889(0xc4)]=!!_0x56a2df,_0x5ba0f3[_0x2c9889(0xc8)](_0x3539b0);}else _0x5ba0f3[_0x2c9889(0xc4)]=!0x0,_0x5ba0f3[_0x2c9889(0xc8)](null);_0x5ba0f3[_0x2c9889(0xc4)]&&_0x46466e++;}return this[_0x2c9889(0xc4)]=_0x46466e>0x0,{'resultsCount':_0x46466e,'totalItemsCount':_0x8337ee};}[_0x384f97(0xda)](_0xac62d4){const _0x812c9a=_0x384f97;return this[_0x812c9a(0xd0)][_0x812c9a(0xdf)](_0x2bba95=>_0x2bba95['id']===_0xac62d4);}[_0x384f97(0xd9)](_0x208dcf){const _0x40b574=_0x384f97,_0x427ff7=this[_0x40b574(0xd0)][_0x40b574(0xd2)](_0x208dcf);-0x1!==_0x427ff7&&(this[_0x40b574(0xd0)][_0x40b574(0xbf)](_0x427ff7,0x1),this[_0x40b574(0xd3)][_0x40b574(0xc5)][_0x40b574(0xc0)](_0x208dcf));}}function _0x161a(){const _0x3f8713=['filter','div','removeItem','getItem','4qIRrXg','320140ywPVNJ','213043mYFBWX','279771cpxPKL','find','459yMpvcf','title','2PGoBNn','splice','remove','isMatching','bindTemplate','setTemplate','isVisible','items','474071arPSOV','1720nAJEwn','highlightText','27153xMrPXi','set','addMany','ck-hidden','608MIZgYb','ck-ai-chat-history__section-title','ck-ai-chat-history__section','itemsViews','1792505pmSmDU','indexOf','_itemsListView','length','84JpLSnk','24QjvVVn'];_0x161a=function(){return _0x3f8713;};return _0x161a();}
23
+ const _0x2a0056=_0x3643;(function(_0x2afac1,_0x568ff4){const _0x17b0a8=_0x3643,_0x459ec5=_0x2afac1();while(!![]){try{const _0x5392bb=-parseInt(_0x17b0a8(0x1e7))/0x1+parseInt(_0x17b0a8(0x1df))/0x2+parseInt(_0x17b0a8(0x1e1))/0x3*(parseInt(_0x17b0a8(0x1ef))/0x4)+-parseInt(_0x17b0a8(0x1d2))/0x5*(-parseInt(_0x17b0a8(0x1f3))/0x6)+parseInt(_0x17b0a8(0x1e9))/0x7+parseInt(_0x17b0a8(0x1f2))/0x8*(-parseInt(_0x17b0a8(0x1db))/0x9)+-parseInt(_0x17b0a8(0x1d7))/0xa*(parseInt(_0x17b0a8(0x1e4))/0xb);if(_0x5392bb===_0x568ff4)break;else _0x459ec5['push'](_0x459ec5['shift']());}catch(_0x3960c0){_0x459ec5['push'](_0x459ec5['shift']());}}}(_0x35b2,0xdb3b3));function _0x3643(_0x441583,_0x37f948){const _0x35b20e=_0x35b2();return _0x3643=function(_0x364312,_0x410226){_0x364312=_0x364312-0x1d2;let _0x4e461e=_0x35b20e[_0x364312];return _0x4e461e;},_0x3643(_0x441583,_0x37f948);}import{ListItemView as _0x19c839,View as _0x2302b9,ListView as _0xe76272}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x19c839{[_0x2a0056(0x1d4)];[_0x2a0056(0x1ee)];[_0x2a0056(0x1da)];constructor(_0x3d679d,{title:_0x1774f3,items:_0x66f4f3}){const _0x72e548=_0x2a0056;super(_0x3d679d);const _0x21ab35=this[_0x72e548(0x1f0)];this[_0x72e548(0x1d8)](_0x72e548(0x1dc),!0x0),this[_0x72e548(0x1d4)]=_0x1774f3,this[_0x72e548(0x1ee)]=_0x66f4f3;const _0x52a52b=new _0x2302b9(_0x3d679d);_0x52a52b[_0x72e548(0x1dd)]({'tag':_0x72e548(0x1de),'attributes':{'class':[_0x72e548(0x1d9)]},'children':[this[_0x72e548(0x1d4)]]}),this[_0x72e548(0x1da)]=new _0xe76272(_0x3d679d),this[_0x72e548(0x1da)][_0x72e548(0x1f1)][_0x72e548(0x1eb)](this[_0x72e548(0x1ee)]),this[_0x72e548(0x1dd)]({'tag':'li','attributes':{'class':[_0x72e548(0x1d6),_0x21ab35['if'](_0x72e548(0x1dc),_0x72e548(0x1e5),_0x3f4e48=>!_0x3f4e48)]},'children':[_0x52a52b,this[_0x72e548(0x1da)]]});}[_0x2a0056(0x1e8)](_0x3d337a){const _0x3ce4c4=_0x2a0056,_0x3994f7=this[_0x3ce4c4(0x1ee)][_0x3ce4c4(0x1ea)];let _0x33d1ec=0x0;for(const _0x47201c of this[_0x3ce4c4(0x1ee)]){if(_0x3d337a){const _0x460ab2=_0x47201c[_0x3ce4c4(0x1e0)](_0x3d337a);_0x47201c[_0x3ce4c4(0x1dc)]=!!_0x460ab2,_0x47201c[_0x3ce4c4(0x1e3)](_0x3d337a);}else _0x47201c[_0x3ce4c4(0x1dc)]=!0x0,_0x47201c[_0x3ce4c4(0x1e3)](null);_0x47201c[_0x3ce4c4(0x1dc)]&&_0x33d1ec++;}return this[_0x3ce4c4(0x1dc)]=_0x33d1ec>0x0,{'resultsCount':_0x33d1ec,'totalItemsCount':_0x3994f7};}[_0x2a0056(0x1e2)](_0x1c42c5){const _0x4ef2b8=_0x2a0056;return this[_0x4ef2b8(0x1ee)][_0x4ef2b8(0x1ed)](_0x3ea83f=>_0x3ea83f['id']===_0x1c42c5);}[_0x2a0056(0x1e6)](_0x401328){const _0x500a6d=_0x2a0056,_0xf4be4f=this[_0x500a6d(0x1ee)][_0x500a6d(0x1d3)](_0x401328);-0x1!==_0xf4be4f&&(this[_0x500a6d(0x1ee)][_0x500a6d(0x1d5)](_0xf4be4f,0x1),this[_0x500a6d(0x1da)][_0x500a6d(0x1f1)][_0x500a6d(0x1ec)](_0x401328));}}function _0x35b2(){const _0x4f8012=['set','ck-ai-chat-history__section-title','_itemsListView','1961271twUinm','isVisible','setTemplate','div','1948322heWCbl','isMatching','3BWOJcn','getItem','highlightText','31293284pLoOsZ','ck-hidden','removeItem','25468WbdqnW','filter','4176298YMqSCb','length','addMany','remove','find','itemsViews','6309176CIzsSl','bindTemplate','items','32pEdBAI','895134KvwvMz','50tcpjDF','indexOf','title','splice','ck-ai-chat-history__section','10VlHUyD'];_0x35b2=function(){return _0x4f8012;};return _0x35b2();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x38d1(_0x1b2d51,_0x4d57b1){const _0x3506c7=_0x3506();return _0x38d1=function(_0x38d140,_0x39bec2){_0x38d140=_0x38d140-0x1a4;let _0x598aa7=_0x3506c7[_0x38d140];return _0x598aa7;},_0x38d1(_0x1b2d51,_0x4d57b1);}function _0x3506(){const _0x1a196e=['filter','4111302IsnTVg','772758VQmcha','sections','5029780IAWLCg','1466424lGUgsT','extendTemplate','6179949NnTUMv','4hCQuYO','items','addMany','2146047zTtihC','ck-ai-chat-history__sections','2601035HIJYYq','24PaQvDe'];_0x3506=function(){return _0x1a196e;};return _0x3506();}const _0x5ae623=_0x38d1;(function(_0xc9988f,_0x491aac){const _0x35f619=_0x38d1,_0x1fdd98=_0xc9988f();while(!![]){try{const _0x3befe3=parseInt(_0x35f619(0x1a9))/0x1+parseInt(_0x35f619(0x1ac))/0x2+-parseInt(_0x35f619(0x1b2))/0x3*(-parseInt(_0x35f619(0x1af))/0x4)+parseInt(_0x35f619(0x1a5))/0x5+parseInt(_0x35f619(0x1a8))/0x6+-parseInt(_0x35f619(0x1ab))/0x7+parseInt(_0x35f619(0x1a6))/0x8*(-parseInt(_0x35f619(0x1ae))/0x9);if(_0x3befe3===_0x491aac)break;else _0x1fdd98['push'](_0x1fdd98['shift']());}catch(_0x64c9e4){_0x1fdd98['push'](_0x1fdd98['shift']());}}}(_0x3506,0x9e41c));import{ListView as _0xeb5215}from'ckeditor5/src/ui.js';export class AIChatHistorySectionListView extends _0xeb5215{[_0x5ae623(0x1aa)];constructor(_0xa70d00,_0x9da05d){const _0x124751=_0x5ae623;super(_0xa70d00),this[_0x124751(0x1aa)]=_0x9da05d,this[_0x124751(0x1b0)][_0x124751(0x1b1)](this[_0x124751(0x1aa)]),this[_0x124751(0x1ad)]({'attributes':{'class':[_0x124751(0x1a4)]}});}[_0x5ae623(0x1a7)](_0x3362f8){const _0x12f860=_0x5ae623;let _0x1f0a66=0x0,_0x3107ec=0x0;for(const _0x319fa4 of this[_0x12f860(0x1aa)]){const {resultsCount:_0x2d5db5,totalItemsCount:_0x491445}=_0x319fa4[_0x12f860(0x1a7)](_0x3362f8);_0x1f0a66+=_0x2d5db5,_0x3107ec+=_0x491445;}return{'resultsCount':_0x1f0a66,'totalItemsCount':_0x3107ec};}}
23
+ const _0x47c97c=_0x3b7c;function _0x3c93(){const _0x1e13d0=['7kguomT','5923005sdfKcs','items','3646893CRARFN','ck-ai-chat-history__sections','sections','3345450PeJdvq','filter','addMany','extendTemplate','2623096UpsvsM','1031144qAtztw','1955722vkwwEy','6847288poGVDr'];_0x3c93=function(){return _0x1e13d0;};return _0x3c93();}(function(_0x339318,_0x301e33){const _0xe60884=_0x3b7c,_0x4d4389=_0x339318();while(!![]){try{const _0x591718=parseInt(_0xe60884(0x91))/0x1+-parseInt(_0xe60884(0x92))/0x2+-parseInt(_0xe60884(0x89))/0x3+-parseInt(_0xe60884(0x90))/0x4+parseInt(_0xe60884(0x95))/0x5+parseInt(_0xe60884(0x8c))/0x6*(parseInt(_0xe60884(0x94))/0x7)+parseInt(_0xe60884(0x93))/0x8;if(_0x591718===_0x301e33)break;else _0x4d4389['push'](_0x4d4389['shift']());}catch(_0x503dc0){_0x4d4389['push'](_0x4d4389['shift']());}}}(_0x3c93,0xbe6bd));import{ListView as _0x4a0cdc}from'ckeditor5/src/ui.js';function _0x3b7c(_0x4da24,_0xaf6209){const _0x3c9370=_0x3c93();return _0x3b7c=function(_0x3b7cbc,_0x3ab9f7){_0x3b7cbc=_0x3b7cbc-0x88;let _0x2ca2c=_0x3c9370[_0x3b7cbc];return _0x2ca2c;},_0x3b7c(_0x4da24,_0xaf6209);}export class AIChatHistorySectionListView extends _0x4a0cdc{[_0x47c97c(0x8b)];constructor(_0x22061d,_0x72e418){const _0xe54d36=_0x47c97c;super(_0x22061d),this[_0xe54d36(0x8b)]=_0x72e418,this[_0xe54d36(0x88)][_0xe54d36(0x8e)](this[_0xe54d36(0x8b)]),this[_0xe54d36(0x8f)]({'attributes':{'class':[_0xe54d36(0x8a)]}});}[_0x47c97c(0x8d)](_0x52d787){const _0x116581=_0x47c97c;let _0x434e6b=0x0,_0x2a94d9=0x0;for(const _0x24d240 of this[_0x116581(0x8b)]){const {resultsCount:_0x486a40,totalItemsCount:_0x44bac1}=_0x24d240[_0x116581(0x8d)](_0x52d787);_0x434e6b+=_0x486a40,_0x2a94d9+=_0x44bac1;}return{'resultsCount':_0x434e6b,'totalItemsCount':_0x2a94d9};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3811f6=_0x4448;(function(_0x2f78de,_0x1135ec){const _0x3bafd3=_0x4448,_0x4478fd=_0x2f78de();while(!![]){try{const _0x2acc98=-parseInt(_0x3bafd3(0x1e9))/0x1+parseInt(_0x3bafd3(0x1c9))/0x2*(-parseInt(_0x3bafd3(0x1d9))/0x3)+-parseInt(_0x3bafd3(0x1bc))/0x4+-parseInt(_0x3bafd3(0x200))/0x5+parseInt(_0x3bafd3(0x1f7))/0x6*(parseInt(_0x3bafd3(0x1d0))/0x7)+parseInt(_0x3bafd3(0x1bd))/0x8*(-parseInt(_0x3bafd3(0x1e6))/0x9)+parseInt(_0x3bafd3(0x1e4))/0xa;if(_0x2acc98===_0x1135ec)break;else _0x4478fd['push'](_0x4478fd['shift']());}catch(_0x26fa6d){_0x4478fd['push'](_0x4478fd['shift']());}}}(_0x2e66,0x34e67));import{View as _0x35ee7e,SearchTextView as _0xd8b7ae,FormHeaderView as _0x18df13,ButtonView as _0x308e8c}from'ckeditor5/src/ui.js';import{IconAIHistory as _0x3963c0,IconCancel as _0x29f2d6,IconPlus as _0x581c2a}from'ckeditor5/src/icons.js';import{AIChatHistorySectionListView as _0x546df9}from'./aichathistorysectionlistview.js';import{AIChatHistoryListView as _0x177fde}from'./aichathistorylistview.js';import{AIChatHistoryListItemView as _0x449a88}from'./aichathistorylistitemview.js';import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0x2ec27f}from'../aichathistoryui.js';import{AISkeletonView as _0xf76c91,SKELETON_DEFINITIONS as _0x3bf8de}from'../../aicore/ui/aiskeleton.js';function _0x4448(_0x36435a,_0x1c77ad){const _0x2e6631=_0x2e66();return _0x4448=function(_0x444801,_0x1a6ce9){_0x444801=_0x444801-0x1a9;let _0x45b45e=_0x2e6631[_0x444801];return _0x45b45e;},_0x4448(_0x36435a,_0x1c77ad);}import{createResizeButton as _0x5cabbd}from'../../aicore/utils/createresizebutton.js';function _0x2e66(){const _0x5604fe=['set','AI_CHAT_HISTORY_EMPTY_MESSAGE','ck-ai-chat-history__empty-message','ck-ai-chat-history__content','errorMessage','removeItem','change:isLoading','438Izfrjk','updateHistoryItemsWithCategories','add','bindTemplate','ck-ai-chat-history','change:errorMessage','updateLoadingState','735721rpWNhH','searchView','emptyView','ck-reset_all','_updateViewVisibility','ck-ai-notification','updateItemLoadingState','splice','length','4815GSIBfs','addMany','ck-ai-chat-history__empty','value','resizeButton','delegate','getItem','sectionsView','isVisible','isMainErrorViewVisible','ltr','14610790xqvZeZ','itemsViews','52335wPKLFO','AI_CHAT_HISTORY_HEADING','element','69295hlclhj','isEmptyViewVisible','removeHistoryItem','AI_CHAT_LABEL_NEW_CHAT','ck-ai-notification_error','title','div','setTemplate','queryView','updateItemTitle','_createEmptyStateView','remove','fire','search','18VnQqZp','updateTitle','isMaximized','extendTemplate','aiHistory','sections','some','children','bind','2066095TSbmOM','render','_refreshSearch','fieldView','ck-ai-notification_error__dismiss-button','clear','locale','isLoading','push','indexOf','ck-rounded-corners','_createErrorView','ck-hidden','execute','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','AI_CHAT_HISTORY_SEARCH_LABEL','change:hasItems','skeletonView','items','ck-ai-chat__start-conversation','isSearchViewVisible','_createSearchView','hasItems','_createSkeletonView','1251340FRzSTC','568kFcHLn','openChat','_createListItemViews','ck-ai-header\x20ck-ai-header_history','mainErrorView'];_0x2e66=function(){return _0x5604fe;};return _0x2e66();}import{getTranslation as _0x10c7f0}from'../../aicore/utils/common-translations.js';export class AIChatHistoryView extends _0x35ee7e{[_0x3811f6(0x1d1)];[_0x3811f6(0x1c1)];[_0x3811f6(0x1b5)];[_0x3811f6(0x1d2)];[_0x3811f6(0x1e0)];[_0x3811f6(0x1dd)];constructor(_0xc1f7a0,_0x37fd66){const _0xc10e05=_0x3811f6;super(_0xc1f7a0),this[_0xc10e05(0x1c2)](_0xc10e05(0x1ba),!0x1),this[_0xc10e05(0x1c2)](_0xc10e05(0x1aa),!0x0),this[_0xc10e05(0x1c2)](_0xc10e05(0x1c6),''),this[_0xc10e05(0x1c2)](_0xc10e05(0x1f9),!0x1),this[_0xc10e05(0x1c2)](_0xc10e05(0x1b8),!0x1),this[_0xc10e05(0x1c2)](_0xc10e05(0x1ea),!0x1),this[_0xc10e05(0x1c2)](_0xc10e05(0x1e2),!0x1);const _0x58f52b=new _0x18df13(_0xc1f7a0,{'label':_0x10c7f0(_0xc1f7a0,_0xc10e05(0x1e7)),'icon':_0x3963c0,'class':_0xc10e05(0x1c0)});_0x37fd66&&(this[_0xc10e05(0x1dd)]=_0x5cabbd(_0xc1f7a0,this),_0x58f52b[_0xc10e05(0x1fe)][_0xc10e05(0x1cb)](this[_0xc10e05(0x1dd)])),this[_0xc10e05(0x1e0)]=new _0x546df9(_0xc1f7a0,[]),this[_0xc10e05(0x1e0)][_0xc10e05(0x1de)](..._0x2ec27f)['to'](this),this[_0xc10e05(0x1c1)]=this[_0xc10e05(0x1ae)](),this[_0xc10e05(0x1b5)]=this[_0xc10e05(0x1bb)](),this[_0xc10e05(0x1d2)]=this[_0xc10e05(0x1f3)](),this[_0xc10e05(0x1d1)]=this[_0xc10e05(0x1b9)](),this[_0xc10e05(0x1c1)][_0xc10e05(0x1fa)]({'attributes':{'class':[this[_0xc10e05(0x1cc)]['if'](_0xc10e05(0x1e2),_0xc10e05(0x1af),_0x2c1ca=>!_0x2c1ca)]}}),this['on'](_0xc10e05(0x1c8),()=>this[_0xc10e05(0x1d4)]()),this['on'](_0xc10e05(0x1b4),()=>this[_0xc10e05(0x1d4)]()),this['on'](_0xc10e05(0x1ce),()=>this[_0xc10e05(0x1d4)]()),this[_0xc10e05(0x1f0)]({'tag':_0xc10e05(0x1ef),'attributes':{'class':['ck',_0xc10e05(0x1d3),_0xc10e05(0x1cd),_0xc10e05(0x1ad)],'dir':_0xc10e05(0x1e3)},'children':[_0x58f52b,{'tag':_0xc10e05(0x1ef),'attributes':{'class':[_0xc10e05(0x1c5)]},'children':[this[_0xc10e05(0x1b5)],this[_0xc10e05(0x1c1)],this[_0xc10e05(0x1d2)],this[_0xc10e05(0x1d1)]]}]});}[_0x3811f6(0x1d4)](){const _0x998855=_0x3811f6;this[_0x998855(0x1b8)]=!this[_0x998855(0x1aa)]&&this[_0x998855(0x1ba)],this[_0x998855(0x1ea)]=!this[_0x998855(0x1aa)]&&!this[_0x998855(0x1ba)]&&!this[_0x998855(0x1c6)],this[_0x998855(0x1e2)]=!this[_0x998855(0x1b8)]&&!!this[_0x998855(0x1c6)];}[_0x3811f6(0x1b9)](){const _0x3dccde=_0x3811f6,_0x1916ca=new _0xd8b7ae(this[_0x3dccde(0x1a9)],{'filteredView':this[_0x3dccde(0x1e0)],'queryView':{'label':_0x10c7f0(this[_0x3dccde(0x1a9)],_0x3dccde(0x1b3))},'infoView':{'text':{'notFound':{'primary':_0xb54302=>_0x10c7f0(this[_0x3dccde(0x1a9)],_0x3dccde(0x1b2),_0xb54302),'secondary':_0x10c7f0(this[_0x3dccde(0x1a9)],_0x3dccde(0x1b1))}}}}),_0x4458ee=this[_0x3dccde(0x1ae)]();return _0x4458ee[_0x3dccde(0x1fa)]({'attributes':{'class':[this[_0x3dccde(0x1cc)]['if'](_0x3dccde(0x1c6),_0x3dccde(0x1af),_0x5c3cfa=>!_0x5c3cfa)]}}),_0x1916ca['on'](_0x3dccde(0x201),()=>{const _0xee03bf=_0x3dccde;_0x1916ca[_0xee03bf(0x1fe)][_0xee03bf(0x1cb)](_0x4458ee,0x1);}),_0x1916ca[_0x3dccde(0x1fa)]({'attributes':{'class':[this[_0x3dccde(0x1cc)]['if'](_0x3dccde(0x1b8),_0x3dccde(0x1af),_0x25c548=>!_0x25c548)]}}),_0x1916ca;}[_0x3811f6(0x1bb)](){const _0x5db565=_0x3811f6,_0x20f298=new _0xf76c91(this[_0x5db565(0x1a9)],_0x3bf8de[_0x5db565(0x1fb)]);return _0x20f298[_0x5db565(0x1fa)]({'attributes':{'class':[this[_0x5db565(0x1cc)]['if'](_0x5db565(0x1aa),_0x5db565(0x1af),_0x276c38=>!_0x276c38)]}}),_0x20f298;}[_0x3811f6(0x1ae)](){const _0x275779=_0x3811f6,_0x1fb622=new _0x35ee7e(this[_0x275779(0x1a9)]),_0xa27255=new _0x308e8c(this[_0x275779(0x1a9)]);_0xa27255[_0x275779(0x1c2)]({'withText':!0x1,'icon':_0x29f2d6,'class':_0x275779(0x204)}),_0xa27255[_0x275779(0x1ff)](_0x275779(0x1e1))['to'](this,_0x275779(0x1ba),_0x58aeb0=>!!_0x58aeb0),_0xa27255['on'](_0x275779(0x1b0),()=>{const _0x2067ae=_0x275779;this[_0x2067ae(0x1c6)]='';});const _0x33aec9=this[_0x275779(0x1cc)];return _0x1fb622[_0x275779(0x1f0)]({'tag':_0x275779(0x1ef),'attributes':{'class':['ck',_0x275779(0x1d5),_0x275779(0x1ed)]},'children':[{'tag':'p','children':[{'text':_0x33aec9['to'](_0x275779(0x1c6))}]},_0xa27255]}),_0x1fb622;}[_0x3811f6(0x1f3)](){const _0x5d93b2=_0x3811f6,_0x32939b=new _0x308e8c(this[_0x5d93b2(0x1a9)]);_0x32939b[_0x5d93b2(0x1c2)]({'label':_0x10c7f0(this[_0x5d93b2(0x1a9)],_0x5d93b2(0x1ec)),'withText':!0x0,'icon':_0x581c2a,'class':_0x5d93b2(0x1b7)}),_0x32939b['on'](_0x5d93b2(0x1b0),()=>{const _0x1c2db2=_0x5d93b2;this[_0x1c2db2(0x1f5)](_0x1c2db2(0x1be));});const _0x3c4383=new _0x35ee7e(this[_0x5d93b2(0x1a9)]);return _0x3c4383[_0x5d93b2(0x1f0)]({'tag':_0x5d93b2(0x1ef),'attributes':{'class':[_0x5d93b2(0x1db),this[_0x5d93b2(0x1cc)]['if'](_0x5d93b2(0x1ea),_0x5d93b2(0x1af),_0x240498=>!_0x240498)]},'children':[{'tag':'p','attributes':{'class':[_0x5d93b2(0x1c4)]},'children':[_0x10c7f0(this[_0x5d93b2(0x1a9)],_0x5d93b2(0x1c3))]},_0x32939b]}),_0x3c4383;}[_0x3811f6(0x1bf)](_0x573fdc,_0x58e383){const _0x40d5b4=_0x3811f6,_0x42ca38=[];for(const _0x2a56cb of _0x573fdc){const _0x33219f=new _0x449a88(_0x58e383,_0x2a56cb);_0x33219f[_0x40d5b4(0x1de)](..._0x2ec27f)['to'](this),_0x42ca38[_0x40d5b4(0x1ab)](_0x33219f);}return _0x42ca38;}[_0x3811f6(0x1ca)](_0x15c5e4){const _0x19a08a=_0x3811f6,_0x299ed7=this[_0x19a08a(0x1a9)]||'en',_0x31095b=[];for(const _0x10cf19 of _0x15c5e4){const _0x57cebc=this[_0x19a08a(0x1bf)](_0x10cf19[_0x19a08a(0x1b6)],_0x299ed7);_0x31095b[_0x19a08a(0x1ab)](new _0x177fde(_0x299ed7,{'title':_0x10cf19[_0x19a08a(0x1ee)],'items':_0x57cebc}));}this[_0x19a08a(0x1e0)][_0x19a08a(0x1fc)]=_0x31095b,this[_0x19a08a(0x1e0)][_0x19a08a(0x1b6)][_0x19a08a(0x205)](),this[_0x19a08a(0x1e0)][_0x19a08a(0x1b6)][_0x19a08a(0x1da)](_0x31095b),this[_0x19a08a(0x1ba)]=_0x15c5e4[_0x19a08a(0x1fd)](_0x452aec=>_0x452aec[_0x19a08a(0x1b6)][_0x19a08a(0x1d8)]>0x0),this[_0x19a08a(0x202)]();}[_0x3811f6(0x1eb)](_0x3ba585){const _0xa02a5f=_0x3811f6;for(const _0x45e314 of this[_0xa02a5f(0x1e0)][_0xa02a5f(0x1fc)]){const _0x4932cc=_0x45e314[_0xa02a5f(0x1df)](_0x3ba585);if(_0x4932cc){if(_0x45e314[_0xa02a5f(0x1c7)](_0x4932cc),0x0===_0x45e314[_0xa02a5f(0x1e5)][_0xa02a5f(0x1d8)]){const _0x352f43=this[_0xa02a5f(0x1e0)][_0xa02a5f(0x1fc)][_0xa02a5f(0x1ac)](_0x45e314);-0x1!==_0x352f43&&(this[_0xa02a5f(0x1e0)][_0xa02a5f(0x1fc)][_0xa02a5f(0x1d7)](_0x352f43,0x1),this[_0xa02a5f(0x1e0)][_0xa02a5f(0x1b6)][_0xa02a5f(0x1f4)](_0x45e314));}this[_0xa02a5f(0x1ba)]=this[_0xa02a5f(0x1e0)][_0xa02a5f(0x1fc)][_0xa02a5f(0x1d8)]>0x0,this[_0xa02a5f(0x202)]();break;}}}[_0x3811f6(0x1f2)](_0x5b5c95,_0x12d7e4){const _0x4afb30=_0x3811f6;for(const _0x166232 of this[_0x4afb30(0x1e0)][_0x4afb30(0x1fc)]){const _0x22fbba=_0x166232[_0x4afb30(0x1df)](_0x5b5c95);if(_0x22fbba){_0x22fbba[_0x4afb30(0x1f8)](_0x12d7e4);break;}}}[_0x3811f6(0x1d6)](_0x271a48,_0x4d4839,_0x3c24b1){const _0x2529cd=_0x3811f6;for(const _0x2df0db of this[_0x2529cd(0x1e0)][_0x2529cd(0x1fc)]){const _0x3809e2=_0x2df0db[_0x2529cd(0x1df)](_0x271a48);if(_0x3809e2){_0x3809e2[_0x2529cd(0x1cf)](_0x4d4839,_0x3c24b1);break;}}}[_0x3811f6(0x202)](){const _0x3a3646=_0x3811f6;if(this[_0x3a3646(0x1ba)]){const _0x2bcdaf=this[_0x3a3646(0x1d1)][_0x3a3646(0x1f1)][_0x3a3646(0x203)]?.[_0x3a3646(0x1e8)]?.[_0x3a3646(0x1dc)]||'';this[_0x3a3646(0x1d1)][_0x3a3646(0x1f6)](_0x2bcdaf);}}}
23
+ const _0x3bc240=_0x3566;(function(_0x202c55,_0x101fec){const _0x5b669d=_0x3566,_0x2d8a00=_0x202c55();while(!![]){try{const _0x34d3df=parseInt(_0x5b669d(0x199))/0x1*(-parseInt(_0x5b669d(0x160))/0x2)+parseInt(_0x5b669d(0x150))/0x3*(-parseInt(_0x5b669d(0x178))/0x4)+-parseInt(_0x5b669d(0x197))/0x5*(parseInt(_0x5b669d(0x16e))/0x6)+-parseInt(_0x5b669d(0x164))/0x7*(parseInt(_0x5b669d(0x1a4))/0x8)+parseInt(_0x5b669d(0x154))/0x9*(-parseInt(_0x5b669d(0x19e))/0xa)+parseInt(_0x5b669d(0x14f))/0xb+parseInt(_0x5b669d(0x187))/0xc;if(_0x34d3df===_0x101fec)break;else _0x2d8a00['push'](_0x2d8a00['shift']());}catch(_0x38e711){_0x2d8a00['push'](_0x2d8a00['shift']());}}}(_0x4323,0x2bcac));import{View as _0x5ea6eb,SearchTextView as _0x5188f9,FormHeaderView as _0x1b7c19,ButtonView as _0x3aea82}from'ckeditor5/src/ui.js';import{IconAIHistory as _0x38c996,IconCancel as _0x23b683,IconPlus as _0x57eb52}from'ckeditor5/src/icons.js';import{AIChatHistorySectionListView as _0x578364}from'./aichathistorysectionlistview.js';import{AIChatHistoryListView as _0x54e369}from'./aichathistorylistview.js';import{AIChatHistoryListItemView as _0x2fbd68}from'./aichathistorylistitemview.js';function _0x3566(_0x2cbc48,_0x392f46){const _0x432382=_0x4323();return _0x3566=function(_0x35663a,_0x279bf9){_0x35663a=_0x35663a-0x14a;let _0x416e8e=_0x432382[_0x35663a];return _0x416e8e;},_0x3566(_0x2cbc48,_0x392f46);}import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0x348e81}from'../aichathistoryui.js';import{AISkeletonView as _0x3cdc42,SKELETON_DEFINITIONS as _0x24c0a6}from'../../aicore/ui/aiskeleton.js';import{createResizeButton as _0x109d61}from'../../aicore/utils/createresizebutton.js';import{getTranslation as _0x5d3034}from'../../aicore/utils/common-translations.js';function _0x4323(){const _0x4af6f6=['_refreshSearch','ck-ai-notification_error','627768wyUAHp','errorMessage','change:hasItems','execute','remove','getItem','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','change:errorMessage','ck-ai-chat-history__empty-message','_createSkeletonView','6721eaarin','18KoOHKe','children','sectionsView','ck-reset_all','3204VMjBqx','indexOf','isVisible','ck-hidden','updateHistoryItemsWithCategories','updateLoadingState','isEmptyViewVisible','isMaximized','ck-ai-chat-history__empty','setTemplate','clear','AI_CHAT_HISTORY_EMPTY_MESSAGE','4yrSOsF','sections','ck-ai-chat-history__content','_createSearchView','7wPaDGe','element','hasItems','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','AI_CHAT_HISTORY_SEARCH_LABEL','length','removeItem','bindTemplate','fieldView','div','394206BdgZtg','splice','updateItemLoadingState','locale','search','AI_CHAT_HISTORY_HEADING','title','add','bind','resizeButton','125012kABcXx','ck-ai-chat__start-conversation','_createEmptyStateView','ck-ai-notification','ck-rounded-corners','extendTemplate','fire','emptyView','ltr','ck-ai-chat-history','some','aiHistory','_createErrorView','AI_CHAT_LABEL_NEW_CHAT','render','11841324QFRySb','_updateViewVisibility','change:isLoading','value','queryView','push','set','items','updateTitle','removeHistoryItem','itemsViews','delegate','ck-ai-notification_error__dismiss-button','skeletonView','searchView','openChat','25PUiAVV','addMany','77213CzUbPa','updateItemTitle','mainErrorView','isLoading','_createListItemViews','1660aJFbfi','isMainErrorViewVisible','ck-ai-header\x20ck-ai-header_history','isSearchViewVisible'];_0x4323=function(){return _0x4af6f6;};return _0x4323();}export class AIChatHistoryView extends _0x5ea6eb{[_0x3bc240(0x195)];[_0x3bc240(0x19b)];[_0x3bc240(0x194)];[_0x3bc240(0x17f)];[_0x3bc240(0x152)];[_0x3bc240(0x177)];constructor(_0x24c7d4,_0x1eb15b){const _0xcd6b61=_0x3bc240;super(_0x24c7d4),this[_0xcd6b61(0x18d)](_0xcd6b61(0x166),!0x1),this[_0xcd6b61(0x18d)](_0xcd6b61(0x19c),!0x0),this[_0xcd6b61(0x18d)](_0xcd6b61(0x1a5),''),this[_0xcd6b61(0x18d)](_0xcd6b61(0x15b),!0x1),this[_0xcd6b61(0x18d)](_0xcd6b61(0x1a1),!0x1),this[_0xcd6b61(0x18d)](_0xcd6b61(0x15a),!0x1),this[_0xcd6b61(0x18d)](_0xcd6b61(0x19f),!0x1);const _0x1d6baa=new _0x1b7c19(_0x24c7d4,{'label':_0x5d3034(_0x24c7d4,_0xcd6b61(0x173)),'icon':_0x38c996,'class':_0xcd6b61(0x1a0)});_0x1eb15b&&(this[_0xcd6b61(0x177)]=_0x109d61(_0x24c7d4,this),_0x1d6baa[_0xcd6b61(0x151)][_0xcd6b61(0x175)](this[_0xcd6b61(0x177)])),this[_0xcd6b61(0x152)]=new _0x578364(_0x24c7d4,[]),this[_0xcd6b61(0x152)][_0xcd6b61(0x192)](..._0x348e81)['to'](this),this[_0xcd6b61(0x19b)]=this[_0xcd6b61(0x184)](),this[_0xcd6b61(0x194)]=this[_0xcd6b61(0x14e)](),this[_0xcd6b61(0x17f)]=this[_0xcd6b61(0x17a)](),this[_0xcd6b61(0x195)]=this[_0xcd6b61(0x163)](),this[_0xcd6b61(0x19b)][_0xcd6b61(0x17d)]({'attributes':{'class':[this[_0xcd6b61(0x16b)]['if'](_0xcd6b61(0x19f),_0xcd6b61(0x157),_0x7e5569=>!_0x7e5569)]}}),this['on'](_0xcd6b61(0x189),()=>this[_0xcd6b61(0x188)]()),this['on'](_0xcd6b61(0x1a6),()=>this[_0xcd6b61(0x188)]()),this['on'](_0xcd6b61(0x14c),()=>this[_0xcd6b61(0x188)]()),this[_0xcd6b61(0x15d)]({'tag':_0xcd6b61(0x16d),'attributes':{'class':['ck',_0xcd6b61(0x153),_0xcd6b61(0x181),_0xcd6b61(0x17c)],'dir':_0xcd6b61(0x180)},'children':[_0x1d6baa,{'tag':_0xcd6b61(0x16d),'attributes':{'class':[_0xcd6b61(0x162)]},'children':[this[_0xcd6b61(0x194)],this[_0xcd6b61(0x19b)],this[_0xcd6b61(0x17f)],this[_0xcd6b61(0x195)]]}]});}[_0x3bc240(0x188)](){const _0x27a692=_0x3bc240;this[_0x27a692(0x1a1)]=!this[_0x27a692(0x19c)]&&this[_0x27a692(0x166)],this[_0x27a692(0x15a)]=!this[_0x27a692(0x19c)]&&!this[_0x27a692(0x166)]&&!this[_0x27a692(0x1a5)],this[_0x27a692(0x19f)]=!this[_0x27a692(0x1a1)]&&!!this[_0x27a692(0x1a5)];}[_0x3bc240(0x163)](){const _0x155f77=_0x3bc240,_0x4264b4=new _0x5188f9(this[_0x155f77(0x171)],{'filteredView':this[_0x155f77(0x152)],'queryView':{'label':_0x5d3034(this[_0x155f77(0x171)],_0x155f77(0x168))},'infoView':{'text':{'notFound':{'primary':_0x3b4144=>_0x5d3034(this[_0x155f77(0x171)],_0x155f77(0x14b),_0x3b4144),'secondary':_0x5d3034(this[_0x155f77(0x171)],_0x155f77(0x167))}}}}),_0x55b3e9=this[_0x155f77(0x184)]();return _0x55b3e9[_0x155f77(0x17d)]({'attributes':{'class':[this[_0x155f77(0x16b)]['if'](_0x155f77(0x1a5),_0x155f77(0x157),_0x24679a=>!_0x24679a)]}}),_0x4264b4['on'](_0x155f77(0x186),()=>{const _0x132f34=_0x155f77;_0x4264b4[_0x132f34(0x151)][_0x132f34(0x175)](_0x55b3e9,0x1);}),_0x4264b4[_0x155f77(0x17d)]({'attributes':{'class':[this[_0x155f77(0x16b)]['if'](_0x155f77(0x1a1),_0x155f77(0x157),_0x36fc89=>!_0x36fc89)]}}),_0x4264b4;}[_0x3bc240(0x14e)](){const _0x40530c=_0x3bc240,_0x5ce99a=new _0x3cdc42(this[_0x40530c(0x171)],_0x24c0a6[_0x40530c(0x183)]);return _0x5ce99a[_0x40530c(0x17d)]({'attributes':{'class':[this[_0x40530c(0x16b)]['if'](_0x40530c(0x19c),_0x40530c(0x157),_0x52c8e1=>!_0x52c8e1)]}}),_0x5ce99a;}[_0x3bc240(0x184)](){const _0x52810c=_0x3bc240,_0x37f4cf=new _0x5ea6eb(this[_0x52810c(0x171)]),_0x2024cb=new _0x3aea82(this[_0x52810c(0x171)]);_0x2024cb[_0x52810c(0x18d)]({'withText':!0x1,'icon':_0x23b683,'class':_0x52810c(0x193)}),_0x2024cb[_0x52810c(0x176)](_0x52810c(0x156))['to'](this,_0x52810c(0x166),_0x15a151=>!!_0x15a151),_0x2024cb['on'](_0x52810c(0x1a7),()=>{const _0x17f001=_0x52810c;this[_0x17f001(0x1a5)]='';});const _0x1a4d7b=this[_0x52810c(0x16b)];return _0x37f4cf[_0x52810c(0x15d)]({'tag':_0x52810c(0x16d),'attributes':{'class':['ck',_0x52810c(0x17b),_0x52810c(0x1a3)]},'children':[{'tag':'p','children':[{'text':_0x1a4d7b['to'](_0x52810c(0x1a5))}]},_0x2024cb]}),_0x37f4cf;}[_0x3bc240(0x17a)](){const _0x25a15a=_0x3bc240,_0x5100e8=new _0x3aea82(this[_0x25a15a(0x171)]);_0x5100e8[_0x25a15a(0x18d)]({'label':_0x5d3034(this[_0x25a15a(0x171)],_0x25a15a(0x185)),'withText':!0x0,'icon':_0x57eb52,'class':_0x25a15a(0x179)}),_0x5100e8['on'](_0x25a15a(0x1a7),()=>{const _0x2de3de=_0x25a15a;this[_0x2de3de(0x17e)](_0x2de3de(0x196));});const _0x3086d4=new _0x5ea6eb(this[_0x25a15a(0x171)]);return _0x3086d4[_0x25a15a(0x15d)]({'tag':_0x25a15a(0x16d),'attributes':{'class':[_0x25a15a(0x15c),this[_0x25a15a(0x16b)]['if'](_0x25a15a(0x15a),_0x25a15a(0x157),_0x5b80fd=>!_0x5b80fd)]},'children':[{'tag':'p','attributes':{'class':[_0x25a15a(0x14d)]},'children':[_0x5d3034(this[_0x25a15a(0x171)],_0x25a15a(0x15f))]},_0x5100e8]}),_0x3086d4;}[_0x3bc240(0x19d)](_0x3837ae,_0x11bfad){const _0x2670a3=_0x3bc240,_0x31b72d=[];for(const _0x31179a of _0x3837ae){const _0x21f21a=new _0x2fbd68(_0x11bfad,_0x31179a);_0x21f21a[_0x2670a3(0x192)](..._0x348e81)['to'](this),_0x31b72d[_0x2670a3(0x18c)](_0x21f21a);}return _0x31b72d;}[_0x3bc240(0x158)](_0x32f7a1){const _0x3906c0=_0x3bc240,_0x4314eb=this[_0x3906c0(0x171)]||'en',_0x31d620=[];for(const _0x5a3527 of _0x32f7a1){const _0x599ad8=this[_0x3906c0(0x19d)](_0x5a3527[_0x3906c0(0x18e)],_0x4314eb);_0x31d620[_0x3906c0(0x18c)](new _0x54e369(_0x4314eb,{'title':_0x5a3527[_0x3906c0(0x174)],'items':_0x599ad8}));}this[_0x3906c0(0x152)][_0x3906c0(0x161)]=_0x31d620,this[_0x3906c0(0x152)][_0x3906c0(0x18e)][_0x3906c0(0x15e)](),this[_0x3906c0(0x152)][_0x3906c0(0x18e)][_0x3906c0(0x198)](_0x31d620),this[_0x3906c0(0x166)]=_0x32f7a1[_0x3906c0(0x182)](_0x217abb=>_0x217abb[_0x3906c0(0x18e)][_0x3906c0(0x169)]>0x0),this[_0x3906c0(0x1a2)]();}[_0x3bc240(0x190)](_0x572ffe){const _0x4b9ac7=_0x3bc240;for(const _0xcae5e1 of this[_0x4b9ac7(0x152)][_0x4b9ac7(0x161)]){const _0x435f07=_0xcae5e1[_0x4b9ac7(0x14a)](_0x572ffe);if(_0x435f07){if(_0xcae5e1[_0x4b9ac7(0x16a)](_0x435f07),0x0===_0xcae5e1[_0x4b9ac7(0x191)][_0x4b9ac7(0x169)]){const _0x4ef223=this[_0x4b9ac7(0x152)][_0x4b9ac7(0x161)][_0x4b9ac7(0x155)](_0xcae5e1);-0x1!==_0x4ef223&&(this[_0x4b9ac7(0x152)][_0x4b9ac7(0x161)][_0x4b9ac7(0x16f)](_0x4ef223,0x1),this[_0x4b9ac7(0x152)][_0x4b9ac7(0x18e)][_0x4b9ac7(0x1a8)](_0xcae5e1));}this[_0x4b9ac7(0x166)]=this[_0x4b9ac7(0x152)][_0x4b9ac7(0x161)][_0x4b9ac7(0x169)]>0x0,this[_0x4b9ac7(0x1a2)]();break;}}}[_0x3bc240(0x19a)](_0x3ffb19,_0x1d951c){const _0x44c19d=_0x3bc240;for(const _0x3f5325 of this[_0x44c19d(0x152)][_0x44c19d(0x161)]){const _0x330c98=_0x3f5325[_0x44c19d(0x14a)](_0x3ffb19);if(_0x330c98){_0x330c98[_0x44c19d(0x18f)](_0x1d951c);break;}}}[_0x3bc240(0x170)](_0x27c82d,_0xc86a84,_0x98a7dc){const _0x5f521f=_0x3bc240;for(const _0x1a6095 of this[_0x5f521f(0x152)][_0x5f521f(0x161)]){const _0x1654ed=_0x1a6095[_0x5f521f(0x14a)](_0x27c82d);if(_0x1654ed){_0x1654ed[_0x5f521f(0x159)](_0xc86a84,_0x98a7dc);break;}}}[_0x3bc240(0x1a2)](){const _0x36d468=_0x3bc240;if(this[_0x36d468(0x166)]){const _0x1f2f33=this[_0x36d468(0x195)][_0x36d468(0x18b)][_0x36d468(0x16c)]?.[_0x36d468(0x165)]?.[_0x36d468(0x18a)]||'';this[_0x36d468(0x195)][_0x36d468(0x172)](_0x1f2f33);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45108e=_0x192b;(function(_0x37b3ca,_0x3106b4){const _0x52623b=_0x192b,_0x11b901=_0x37b3ca();while(!![]){try{const _0x5a486d=parseInt(_0x52623b(0x206))/0x1*(-parseInt(_0x52623b(0x1d2))/0x2)+parseInt(_0x52623b(0x20e))/0x3*(-parseInt(_0x52623b(0x201))/0x4)+-parseInt(_0x52623b(0x22d))/0x5+parseInt(_0x52623b(0x20f))/0x6*(-parseInt(_0x52623b(0x222))/0x7)+-parseInt(_0x52623b(0x20a))/0x8*(parseInt(_0x52623b(0x209))/0x9)+-parseInt(_0x52623b(0x1fb))/0xa+parseInt(_0x52623b(0x1f9))/0xb;if(_0x5a486d===_0x3106b4)break;else _0x11b901['push'](_0x11b901['shift']());}catch(_0x2cd97d){_0x11b901['push'](_0x11b901['shift']());}}}(_0x428e,0x234df));import{AIChatUI as _0x250f9f}from'../aichat/aichatui.js';import{ContextPlugin as _0x41cc41}from'ckeditor5/src/core.js';function _0x428e(){const _0x26ac13=['focusPromptInput','element','removeFeedItem','custom','check','addFeedItemCustomElement','_aiChatUI','_runTranslateShortcut','type','params','setModel','includes','review','AIChatController','language','interactionStarted','_runChatShortcut','runReviewCheck','AIReviewModeUI','isPremiumPlugin','args','ai-chat-shortcuts-review-mode-not-found','TRANSLATE','AIChat','init','get','config','_injectShortcuts','hasFeedItem','CHAT','conversationCreated','destroy','ai-chat-shortcuts-invalid-config','chat-shortcuts','locale','12101650EsuOUL','plugins','2686250RnApdU','activateTab','chat','find','_removeShortcuts','activeConversation','640nbPPpw','has','requires','AITabs','chatModels','3lzdUfo','context','setPromptInputValue','243amkEaJ','19096afBSKm','_shortcutsView','forEach','isOfficialPlugin','2937tARltX','138lHMZJv','_validateShortcuts','length','getDefault','view','AITranslateUI','_executeShortcut','execute','values','sendMessage','string','setWebSearch','pluginName','getModel','_shortcuts','reviewMode','listenTo','setReasoning','ai-chat-shortcuts-translate-not-found','68733nlCrDi','label','translate','AIChatShortcuts','fire','REVIEW','source','_switchTab','prompt','_runReviewShortcut','ai-chat-shortcuts-ai-tabs-not-found','608990mOByZc','render','78796hdckTM','addCurrentDocumentToChatContext','isFromHistory','ai.chat.shortcuts'];_0x428e=function(){return _0x26ac13;};return _0x428e();}import{AIChatShortcutsView as _0x130cad}from'./ui/aichatshortcutsview.js';import{CKEditorError as _0x5980aa}from'ckeditor5/src/utils.js';import'../../theme/aichatshortcuts/aichatshortcuts.css';const Ut=_0x45108e(0x1f7);function _0x192b(_0x34f511,_0x4b0502){const _0x428ed5=_0x428e();return _0x192b=function(_0x192bdd,_0x12935b){_0x192bdd=_0x192bdd-0x1d1;let _0x3954fe=_0x428ed5[_0x192bdd];return _0x3954fe;},_0x192b(_0x34f511,_0x4b0502);}export var AIChatShortcutType;!function(_0x370400){const _0x2d095b=_0x45108e;_0x370400[_0x2d095b(0x1f3)]=_0x2d095b(0x1fd),_0x370400[_0x2d095b(0x227)]=_0x2d095b(0x1e2),_0x370400[_0x2d095b(0x1ec)]=_0x2d095b(0x224);}(AIChatShortcutType||(AIChatShortcutType={}));export class AIChatShortcuts extends _0x41cc41{[_0x45108e(0x21d)];[_0x45108e(0x20b)];[_0x45108e(0x1dc)];static get[_0x45108e(0x203)](){return[_0x250f9f];}static get[_0x45108e(0x21b)](){const _0x3fc6c6=_0x45108e;return _0x3fc6c6(0x225);}static get[_0x45108e(0x20d)](){return!0x0;}static get[_0x45108e(0x1e9)](){return!0x0;}[_0x45108e(0x1ee)](){const _0x1da882=_0x45108e;this[_0x1da882(0x1dc)]=this[_0x1da882(0x207)][_0x1da882(0x1fa)][_0x1da882(0x1ef)](_0x250f9f),this[_0x1da882(0x21d)]=this[_0x1da882(0x207)][_0x1da882(0x1f0)][_0x1da882(0x1ef)](_0x1da882(0x1d5))??[];const _0x1cbd19=this[_0x1da882(0x207)][_0x1da882(0x1fa)][_0x1da882(0x1ef)](_0x1da882(0x1e3));this[_0x1da882(0x21d)][_0x1da882(0x211)]&&(this[_0x1da882(0x210)](),this[_0x1da882(0x1dc)]['on'](_0x1da882(0x1f4),()=>{const _0x1de03f=_0x1da882;_0x1cbd19[_0x1de03f(0x200)][_0x1de03f(0x1d4)]||this[_0x1de03f(0x1f1)]();}),this[_0x1da882(0x21f)](_0x1cbd19,_0x1da882(0x1e5),()=>{const _0x561255=_0x1da882;this[_0x561255(0x1ff)]();}));}[_0x45108e(0x210)](){const _0x548cd1=_0x45108e,_0x4caa2a=Object[_0x548cd1(0x217)](AIChatShortcutType);this[_0x548cd1(0x21d)][_0x548cd1(0x20c)](_0x3e499a=>{const _0xcde80d=_0x548cd1;let _0xf7e86d=!0x0;if(_0x3e499a['id']&&_0x3e499a[_0xcde80d(0x223)]&&_0x4caa2a[_0xcde80d(0x1e1)](_0x3e499a[_0xcde80d(0x1de)])?_0xcde80d(0x1fd)===_0x3e499a[_0xcde80d(0x1de)]&&(_0xf7e86d=_0xcde80d(0x219)==typeof _0x3e499a[_0xcde80d(0x22a)]):_0xf7e86d=!0x1,!_0xf7e86d)throw new _0x5980aa(_0xcde80d(0x1f6),this[_0xcde80d(0x207)],{'shortcut':_0x3e499a});});}[_0x45108e(0x1f1)](){const _0x485feb=_0x45108e,_0xb8087d=this[_0x485feb(0x207)][_0x485feb(0x1fa)][_0x485feb(0x1ef)](_0x250f9f);this[_0x485feb(0x20b)]=new _0x130cad(this[_0x485feb(0x207)][_0x485feb(0x1f8)],this[_0x485feb(0x21d)]),this[_0x485feb(0x20b)][_0x485feb(0x1d1)](),_0xb8087d[_0x485feb(0x1db)](this[_0x485feb(0x20b)][_0x485feb(0x1d7)],Ut),this[_0x485feb(0x20b)]['on'](_0x485feb(0x216),_0x5d2420=>{const _0x386479=_0x485feb,_0x25c815=_0x5d2420[_0x386479(0x228)]['id'];this[_0x386479(0x215)](_0x25c815);});}[_0x45108e(0x1ff)](){const _0xd25aa2=_0x45108e,_0xc5ab7a=this[_0xd25aa2(0x207)][_0xd25aa2(0x1fa)][_0xd25aa2(0x1ef)](_0x250f9f);_0xc5ab7a[_0xd25aa2(0x1f2)](Ut)&&_0xc5ab7a[_0xd25aa2(0x1d8)](Ut),this[_0xd25aa2(0x20b)]?.[_0xd25aa2(0x1f5)]();}[_0x45108e(0x215)](_0x4e4350){const _0x3dee86=_0x45108e,_0x44afa1=this[_0x3dee86(0x21d)][_0x3dee86(0x1fe)](_0x80a4e6=>_0x80a4e6['id']===_0x4e4350),_0x36d7f6=_0x44afa1[_0x3dee86(0x1de)];_0x3dee86(0x1fd)===_0x36d7f6?this[_0x3dee86(0x1e6)](_0x44afa1):_0x3dee86(0x1e2)===_0x36d7f6?_0x44afa1[_0x3dee86(0x1da)]?this[_0x3dee86(0x22b)](_0x44afa1):this[_0x3dee86(0x229)](_0x3dee86(0x21e)):_0x3dee86(0x224)===_0x36d7f6&&(_0x44afa1[_0x3dee86(0x1e4)]?this[_0x3dee86(0x1dd)](_0x44afa1):this[_0x3dee86(0x229)](_0x3dee86(0x224)));}[_0x45108e(0x229)](_0x44c1d7){const _0x5d9319=_0x45108e;if(!this[_0x5d9319(0x207)][_0x5d9319(0x1fa)][_0x5d9319(0x202)](_0x5d9319(0x204)))throw new _0x5980aa(_0x5d9319(0x22c),this[_0x5d9319(0x207)],{'tabName':_0x44c1d7});this[_0x5d9319(0x207)][_0x5d9319(0x1fa)][_0x5d9319(0x1ef)](_0x5d9319(0x204))[_0x5d9319(0x213)][_0x5d9319(0x1fc)](_0x44c1d7);}async[_0x45108e(0x1e6)]({prompt:_0x332faa,draftMode:_0x4801c3,useWebSearch:_0x5bb9ea=!0x1,useReasoning:_0x5788ee=!0x1,model:_0x598f50}){const _0x10ac21=_0x45108e,_0x2041ec=this[_0x10ac21(0x207)][_0x10ac21(0x1fa)][_0x10ac21(0x1ef)](_0x10ac21(0x1ed)),_0x550e20=this[_0x10ac21(0x207)][_0x10ac21(0x1fa)][_0x10ac21(0x1ef)](_0x10ac21(0x1e3)),_0x2e93ea=_0x550e20[_0x10ac21(0x200)];let _0x476712;_0x476712=_0x598f50?await _0x2e93ea[_0x10ac21(0x205)][_0x10ac21(0x21c)](_0x598f50):await _0x2e93ea[_0x10ac21(0x205)][_0x10ac21(0x212)](),_0x476712&&await _0x2e93ea[_0x10ac21(0x1e0)](_0x476712),_0x2e93ea[_0x10ac21(0x21a)](_0x5bb9ea),_0x2e93ea[_0x10ac21(0x220)](_0x5788ee),_0x550e20[_0x10ac21(0x1d3)](),_0x4801c3?(this[_0x10ac21(0x1dc)][_0x10ac21(0x208)](_0x332faa),this[_0x10ac21(0x1dc)][_0x10ac21(0x1d6)](!0x0)):_0x2041ec[_0x10ac21(0x218)]({'message':_0x332faa});}[_0x45108e(0x22b)]({check:_0x52e22d,model:_0x180735,prompt:_0x4246b7,params:_0x309a5e}){const _0x14c0f1=_0x45108e;if(!this[_0x14c0f1(0x207)][_0x14c0f1(0x1fa)][_0x14c0f1(0x202)](_0x14c0f1(0x1e8)))throw new _0x5980aa(_0x14c0f1(0x1eb),this[_0x14c0f1(0x207)]);this[_0x14c0f1(0x229)](_0x14c0f1(0x21e));const _0x4ad923={'id':_0x52e22d,'isCustom':_0x14c0f1(0x1d9)===_0x52e22d};_0x180735&&_0x4246b7&&(_0x4ad923[_0x14c0f1(0x1ea)]={'model':_0x180735,'prompt':_0x4246b7}),_0x309a5e&&(_0x4ad923[_0x14c0f1(0x1df)]=_0x309a5e),this[_0x14c0f1(0x207)][_0x14c0f1(0x1fa)][_0x14c0f1(0x1ef)](_0x14c0f1(0x1e8))[_0x14c0f1(0x226)](_0x14c0f1(0x1e7),_0x4ad923);}[_0x45108e(0x1dd)]({language:_0x97f878}){const _0x33905a=_0x45108e;if(!this[_0x33905a(0x207)][_0x33905a(0x1fa)][_0x33905a(0x202)](_0x33905a(0x214)))throw new _0x5980aa(_0x33905a(0x221),this[_0x33905a(0x207)]);this[_0x33905a(0x229)](_0x33905a(0x224)),this[_0x33905a(0x207)][_0x33905a(0x1fa)][_0x33905a(0x1ef)](_0x33905a(0x214))[_0x33905a(0x226)](_0x33905a(0x1e7),{'id':_0x97f878,'args':{'language':_0x97f878}});}}
23
+ const _0xf0af77=_0x3a78;(function(_0x455874,_0x11bb7c){const _0x314b04=_0x3a78,_0x231848=_0x455874();while(!![]){try{const _0xce5d50=parseInt(_0x314b04(0x1ac))/0x1*(parseInt(_0x314b04(0x1e3))/0x2)+parseInt(_0x314b04(0x1e2))/0x3*(parseInt(_0x314b04(0x1e1))/0x4)+parseInt(_0x314b04(0x1ab))/0x5+-parseInt(_0x314b04(0x1d2))/0x6*(-parseInt(_0x314b04(0x1de))/0x7)+parseInt(_0x314b04(0x1bc))/0x8+parseInt(_0x314b04(0x1ba))/0x9*(parseInt(_0x314b04(0x1b1))/0xa)+-parseInt(_0x314b04(0x1a2))/0xb*(parseInt(_0x314b04(0x1a5))/0xc);if(_0xce5d50===_0x11bb7c)break;else _0x231848['push'](_0x231848['shift']());}catch(_0x5274e5){_0x231848['push'](_0x231848['shift']());}}}(_0x29c8,0x25149));import{AIChatUI as _0x32b134}from'../aichat/aichatui.js';import{ContextPlugin as _0x2ea68f}from'ckeditor5/src/core.js';import{AIChatShortcutsView as _0x3c6327}from'./ui/aichatshortcutsview.js';function _0x29c8(){const _0x6813db=['6eZafeX','prompt','forEach','hasFeedItem','label','reviewMode','string','get','AITranslateUI','type','CHAT','activeConversation','2110017YqGECj','_shortcuts','translate','60TdCKIR','59439mtSTwZ','179056WYlrym','AITabs','AIChatController','_runTranslateShortcut','destroy','review','AIChat','_executeShortcut','execute','element','params','config','plugins','interactionStarted','removeFeedItem','context','ai-chat-shortcuts-ai-tabs-not-found','length','fire','focusPromptInput','TRANSLATE','_shortcutsView','find','ai.chat.shortcuts','check','addFeedItemCustomElement','AIReviewModeUI','_validateShortcuts','chatModels','517QfILBv','activateTab','custom','307428cQcXEi','sendMessage','isPremiumPlugin','setReasoning','init','setPromptInputValue','1280830xpFldw','1TNZefX','source','_injectShortcuts','language','pluginName','10oMKYaS','_runChatShortcut','values','chat','locale','runReviewCheck','ai-chat-shortcuts-translate-not-found','ai-chat-shortcuts-review-mode-not-found','getModel','1932129lntwPH','conversationCreated','1575784zzFMkB','setModel','_removeShortcuts','requires','_runReviewShortcut','listenTo','addCurrentDocumentToChatContext','chat-shortcuts','includes','has','ai-chat-shortcuts-invalid-config','REVIEW','setWebSearch','_switchTab','view','AIChatShortcuts','getDefault','isFromHistory','args','isOfficialPlugin','_aiChatUI','render'];_0x29c8=function(){return _0x6813db;};return _0x29c8();}import{CKEditorError as _0x3a66bd}from'ckeditor5/src/utils.js';import'../../theme/aichatshortcuts/aichatshortcuts.css';const Ut=_0xf0af77(0x1c3);function _0x3a78(_0x1d5fbd,_0x50c64e){const _0x29c874=_0x29c8();return _0x3a78=function(_0x3a7896,_0x294c41){_0x3a7896=_0x3a7896-0x19d;let _0x3b620a=_0x29c874[_0x3a7896];return _0x3b620a;},_0x3a78(_0x1d5fbd,_0x50c64e);}export var AIChatShortcutType;!function(_0x2999bb){const _0x3b8b62=_0xf0af77;_0x2999bb[_0x3b8b62(0x1dc)]=_0x3b8b62(0x1b4),_0x2999bb[_0x3b8b62(0x1c7)]=_0x3b8b62(0x1e8),_0x2999bb[_0x3b8b62(0x1f7)]=_0x3b8b62(0x1e0);}(AIChatShortcutType||(AIChatShortcutType={}));export class AIChatShortcuts extends _0x2ea68f{[_0xf0af77(0x1df)];[_0xf0af77(0x1f8)];[_0xf0af77(0x1d0)];static get[_0xf0af77(0x1bf)](){return[_0x32b134];}static get[_0xf0af77(0x1b0)](){const _0x3ee06a=_0xf0af77;return _0x3ee06a(0x1cb);}static get[_0xf0af77(0x1cf)](){return!0x0;}static get[_0xf0af77(0x1a7)](){return!0x0;}[_0xf0af77(0x1a9)](){const _0x56e493=_0xf0af77;this[_0x56e493(0x1d0)]=this[_0x56e493(0x1f2)][_0x56e493(0x1ef)][_0x56e493(0x1d9)](_0x32b134),this[_0x56e493(0x1df)]=this[_0x56e493(0x1f2)][_0x56e493(0x1ee)][_0x56e493(0x1d9)](_0x56e493(0x1fa))??[];const _0x567186=this[_0x56e493(0x1f2)][_0x56e493(0x1ef)][_0x56e493(0x1d9)](_0x56e493(0x1e5));this[_0x56e493(0x1df)][_0x56e493(0x1f4)]&&(this[_0x56e493(0x1a0)](),this[_0x56e493(0x1d0)]['on'](_0x56e493(0x1bb),()=>{const _0x128602=_0x56e493;_0x567186[_0x128602(0x1dd)][_0x128602(0x1cd)]||this[_0x128602(0x1ae)]();}),this[_0x56e493(0x1c1)](_0x567186,_0x56e493(0x1f0),()=>{const _0x353e34=_0x56e493;this[_0x353e34(0x1be)]();}));}[_0xf0af77(0x1a0)](){const _0x2043c2=_0xf0af77,_0x5e11f4=Object[_0x2043c2(0x1b3)](AIChatShortcutType);this[_0x2043c2(0x1df)][_0x2043c2(0x1d4)](_0x21e2dc=>{const _0x54191d=_0x2043c2;let _0x22831b=!0x0;if(_0x21e2dc['id']&&_0x21e2dc[_0x54191d(0x1d6)]&&_0x5e11f4[_0x54191d(0x1c4)](_0x21e2dc[_0x54191d(0x1db)])?_0x54191d(0x1b4)===_0x21e2dc[_0x54191d(0x1db)]&&(_0x22831b=_0x54191d(0x1d8)==typeof _0x21e2dc[_0x54191d(0x1d3)]):_0x22831b=!0x1,!_0x22831b)throw new _0x3a66bd(_0x54191d(0x1c6),this[_0x54191d(0x1f2)],{'shortcut':_0x21e2dc});});}[_0xf0af77(0x1ae)](){const _0x356e3b=_0xf0af77,_0xa75df0=this[_0x356e3b(0x1f2)][_0x356e3b(0x1ef)][_0x356e3b(0x1d9)](_0x32b134);this[_0x356e3b(0x1f8)]=new _0x3c6327(this[_0x356e3b(0x1f2)][_0x356e3b(0x1b5)],this[_0x356e3b(0x1df)]),this[_0x356e3b(0x1f8)][_0x356e3b(0x1d1)](),_0xa75df0[_0x356e3b(0x19e)](this[_0x356e3b(0x1f8)][_0x356e3b(0x1ec)],Ut),this[_0x356e3b(0x1f8)]['on'](_0x356e3b(0x1eb),_0x4eba19=>{const _0x84c7c2=_0x356e3b,_0x553d45=_0x4eba19[_0x84c7c2(0x1ad)]['id'];this[_0x84c7c2(0x1ea)](_0x553d45);});}[_0xf0af77(0x1be)](){const _0x28bf11=_0xf0af77,_0x35db94=this[_0x28bf11(0x1f2)][_0x28bf11(0x1ef)][_0x28bf11(0x1d9)](_0x32b134);_0x35db94[_0x28bf11(0x1d5)](Ut)&&_0x35db94[_0x28bf11(0x1f1)](Ut),this[_0x28bf11(0x1f8)]?.[_0x28bf11(0x1e7)]();}[_0xf0af77(0x1ea)](_0x28dd6f){const _0x272d72=_0xf0af77,_0x36e451=this[_0x272d72(0x1df)][_0x272d72(0x1f9)](_0x4001fb=>_0x4001fb['id']===_0x28dd6f),_0x5935c4=_0x36e451[_0x272d72(0x1db)];_0x272d72(0x1b4)===_0x5935c4?this[_0x272d72(0x1b2)](_0x36e451):_0x272d72(0x1e8)===_0x5935c4?_0x36e451[_0x272d72(0x19d)]?this[_0x272d72(0x1c0)](_0x36e451):this[_0x272d72(0x1c9)](_0x272d72(0x1d7)):_0x272d72(0x1e0)===_0x5935c4&&(_0x36e451[_0x272d72(0x1af)]?this[_0x272d72(0x1e6)](_0x36e451):this[_0x272d72(0x1c9)](_0x272d72(0x1e0)));}[_0xf0af77(0x1c9)](_0x19d9ee){const _0x10f84f=_0xf0af77;if(!this[_0x10f84f(0x1f2)][_0x10f84f(0x1ef)][_0x10f84f(0x1c5)](_0x10f84f(0x1e4)))throw new _0x3a66bd(_0x10f84f(0x1f3),this[_0x10f84f(0x1f2)],{'tabName':_0x19d9ee});this[_0x10f84f(0x1f2)][_0x10f84f(0x1ef)][_0x10f84f(0x1d9)](_0x10f84f(0x1e4))[_0x10f84f(0x1ca)][_0x10f84f(0x1a3)](_0x19d9ee);}async[_0xf0af77(0x1b2)]({prompt:_0x4087e7,draftMode:_0x5e7078,useWebSearch:_0x57707c=!0x1,useReasoning:_0x466453=!0x1,model:_0x1d433b}){const _0x33aa4c=_0xf0af77,_0x22fd98=this[_0x33aa4c(0x1f2)][_0x33aa4c(0x1ef)][_0x33aa4c(0x1d9)](_0x33aa4c(0x1e9)),_0x55dee3=this[_0x33aa4c(0x1f2)][_0x33aa4c(0x1ef)][_0x33aa4c(0x1d9)](_0x33aa4c(0x1e5)),_0x5ecea1=_0x55dee3[_0x33aa4c(0x1dd)];let _0x33ff05;_0x33ff05=_0x1d433b?await _0x5ecea1[_0x33aa4c(0x1a1)][_0x33aa4c(0x1b9)](_0x1d433b):await _0x5ecea1[_0x33aa4c(0x1a1)][_0x33aa4c(0x1cc)](),_0x33ff05&&await _0x5ecea1[_0x33aa4c(0x1bd)](_0x33ff05),_0x5ecea1[_0x33aa4c(0x1c8)](_0x57707c),_0x5ecea1[_0x33aa4c(0x1a8)](_0x466453),_0x55dee3[_0x33aa4c(0x1c2)](),_0x5e7078?(this[_0x33aa4c(0x1d0)][_0x33aa4c(0x1aa)](_0x4087e7),this[_0x33aa4c(0x1d0)][_0x33aa4c(0x1f6)](!0x0)):_0x22fd98[_0x33aa4c(0x1a6)]({'message':_0x4087e7});}[_0xf0af77(0x1c0)]({check:_0x5e81de,model:_0x1150d2,prompt:_0x3287fb,params:_0x4a399e}){const _0x9be03=_0xf0af77;if(!this[_0x9be03(0x1f2)][_0x9be03(0x1ef)][_0x9be03(0x1c5)](_0x9be03(0x19f)))throw new _0x3a66bd(_0x9be03(0x1b8),this[_0x9be03(0x1f2)]);this[_0x9be03(0x1c9)](_0x9be03(0x1d7));const _0x2b6943={'id':_0x5e81de,'isCustom':_0x9be03(0x1a4)===_0x5e81de};_0x1150d2&&_0x3287fb&&(_0x2b6943[_0x9be03(0x1ce)]={'model':_0x1150d2,'prompt':_0x3287fb}),_0x4a399e&&(_0x2b6943[_0x9be03(0x1ed)]=_0x4a399e),this[_0x9be03(0x1f2)][_0x9be03(0x1ef)][_0x9be03(0x1d9)](_0x9be03(0x19f))[_0x9be03(0x1f5)](_0x9be03(0x1b6),_0x2b6943);}[_0xf0af77(0x1e6)]({language:_0x535f60}){const _0x1c453a=_0xf0af77;if(!this[_0x1c453a(0x1f2)][_0x1c453a(0x1ef)][_0x1c453a(0x1c5)](_0x1c453a(0x1da)))throw new _0x3a66bd(_0x1c453a(0x1b7),this[_0x1c453a(0x1f2)]);this[_0x1c453a(0x1c9)](_0x1c453a(0x1e0)),this[_0x1c453a(0x1f2)][_0x1c453a(0x1ef)][_0x1c453a(0x1d9)](_0x1c453a(0x1da))[_0x1c453a(0x1f5)](_0x1c453a(0x1b6),{'id':_0x535f60,'args':{'language':_0x535f60}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b2f32=_0x3f8b;(function(_0x4111d8,_0xc70669){const _0x4d29eb=_0x3f8b,_0x3c656b=_0x4111d8();while(!![]){try{const _0x2aec3c=parseInt(_0x4d29eb(0x18a))/0x1+parseInt(_0x4d29eb(0x18e))/0x2*(-parseInt(_0x4d29eb(0x17a))/0x3)+parseInt(_0x4d29eb(0x18c))/0x4*(parseInt(_0x4d29eb(0x18f))/0x5)+parseInt(_0x4d29eb(0x183))/0x6+parseInt(_0x4d29eb(0x190))/0x7*(-parseInt(_0x4d29eb(0x18d))/0x8)+-parseInt(_0x4d29eb(0x185))/0x9*(parseInt(_0x4d29eb(0x17d))/0xa)+-parseInt(_0x4d29eb(0x180))/0xb;if(_0x2aec3c===_0xc70669)break;else _0x3c656b['push'](_0x3c656b['shift']());}catch(_0x91327b){_0x3c656b['push'](_0x3c656b['shift']());}}}(_0x546c,0xaf881));function _0x546c(){const _0x3fc8e2=['delegate','327550bIdjZb','map','4xEvbwL','6576yDQIyf','298uenzCu','2971415EyKjVz','7441xBIUQU','1509OFDIyA','locale','execute','2412330FgqIlB','addMany','children','171215ENEXyp','setTemplate','ck-ai-chat-shortcuts','7463448LAUHDk','items','18HqwWnA','div','add','listView'];_0x546c=function(){return _0x3fc8e2;};return _0x546c();}import{ListItemView as _0x13ecb1,ListView as _0x5c2671,View as _0x5acdde}from'ckeditor5/src/ui.js';function _0x3f8b(_0x533723,_0x2280cf){const _0x546cc5=_0x546c();return _0x3f8b=function(_0x3f8bf2,_0x1a3488){_0x3f8bf2=_0x3f8bf2-0x17a;let _0x24ec0a=_0x546cc5[_0x3f8bf2];return _0x24ec0a;},_0x3f8b(_0x533723,_0x2280cf);}import{AIChatShortcutView as _0x5531a5}from'./aichatshortcutview.js';export class AIChatShortcutsView extends _0x5acdde{[_0x5b2f32(0x188)];constructor(_0x1a823e,_0x58d438){const _0x32ea5a=_0x5b2f32;super(_0x1a823e);const _0xbc227c=_0x58d438[_0x32ea5a(0x18b)](_0x165234=>{const _0xe4b335=_0x32ea5a,_0x4beac8=new _0x13ecb1(this[_0xe4b335(0x17b)]),_0x2b63d7=new _0x5531a5(this[_0xe4b335(0x17b)],_0x165234);return _0x4beac8[_0xe4b335(0x17f)][_0xe4b335(0x187)](_0x2b63d7),_0x2b63d7[_0xe4b335(0x189)](_0xe4b335(0x17c))['to'](this),_0x4beac8;});this[_0x32ea5a(0x188)]=new _0x5c2671(this[_0x32ea5a(0x17b)]),this[_0x32ea5a(0x188)][_0x32ea5a(0x184)][_0x32ea5a(0x17e)](_0xbc227c),this[_0x32ea5a(0x181)]({'tag':_0x32ea5a(0x186),'attributes':{'class':['ck',_0x32ea5a(0x182)]},'children':[this[_0x32ea5a(0x188)]]});}}
23
+ function _0x2c58(){const _0x2fbf07=['243369MiQStA','locale','329500kDjeDV','listView','execute','1730DqGsOR','1784043mUKscL','children','3008DZuXqT','add','ck-ai-chat-shortcuts','1SOebMa','8PPPLln','delegate','1027812rTIurd','map','setTemplate','580587pUfyFQ','addMany','div','103270nzSGPA','items'];_0x2c58=function(){return _0x2fbf07;};return _0x2c58();}const _0x1efb22=_0x5cd5;(function(_0x5e83ec,_0x3721be){const _0x2174d2=_0x5cd5,_0x382531=_0x5e83ec();while(!![]){try{const _0x35d35f=parseInt(_0x2174d2(0x13e))/0x1*(parseInt(_0x2174d2(0x131))/0x2)+parseInt(_0x2174d2(0x12e))/0x3+-parseInt(_0x2174d2(0x13b))/0x4*(-parseInt(_0x2174d2(0x138))/0x5)+-parseInt(_0x2174d2(0x141))/0x6+parseInt(_0x2174d2(0x133))/0x7*(-parseInt(_0x2174d2(0x13f))/0x8)+-parseInt(_0x2174d2(0x139))/0x9+parseInt(_0x2174d2(0x135))/0xa;if(_0x35d35f===_0x3721be)break;else _0x382531['push'](_0x382531['shift']());}catch(_0x323611){_0x382531['push'](_0x382531['shift']());}}}(_0x2c58,0x20b7a));import{ListItemView as _0x54990c,ListView as _0x1f6d49,View as _0x5b4fd8}from'ckeditor5/src/ui.js';function _0x5cd5(_0x31d0fa,_0x1d0256){const _0x2c582a=_0x2c58();return _0x5cd5=function(_0x5cd5e9,_0x56fadc){_0x5cd5e9=_0x5cd5e9-0x12c;let _0x4388c5=_0x2c582a[_0x5cd5e9];return _0x4388c5;},_0x5cd5(_0x31d0fa,_0x1d0256);}import{AIChatShortcutView as _0x56c187}from'./aichatshortcutview.js';export class AIChatShortcutsView extends _0x5b4fd8{[_0x1efb22(0x136)];constructor(_0x132618,_0x2f5043){const _0x5b5d55=_0x1efb22;super(_0x132618);const _0x242ddf=_0x2f5043[_0x5b5d55(0x12c)](_0x21cb3c=>{const _0x53fe7=_0x5b5d55,_0x35050a=new _0x54990c(this[_0x53fe7(0x134)]),_0x307a6c=new _0x56c187(this[_0x53fe7(0x134)],_0x21cb3c);return _0x35050a[_0x53fe7(0x13a)][_0x53fe7(0x13c)](_0x307a6c),_0x307a6c[_0x53fe7(0x140)](_0x53fe7(0x137))['to'](this),_0x35050a;});this[_0x5b5d55(0x136)]=new _0x1f6d49(this[_0x5b5d55(0x134)]),this[_0x5b5d55(0x136)][_0x5b5d55(0x132)][_0x5b5d55(0x12f)](_0x242ddf),this[_0x5b5d55(0x12d)]({'tag':_0x5b5d55(0x130),'attributes':{'class':['ck',_0x5b5d55(0x13d)]},'children':[this[_0x5b5d55(0x136)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1fef(_0x3bd786,_0x5a66e5){const _0x13775d=_0x1377();return _0x1fef=function(_0x1fefe8,_0xca8652){_0x1fefe8=_0x1fefe8-0xdd;let _0x142072=_0x13775d[_0x1fefe8];return _0x142072;},_0x1fef(_0x3bd786,_0x5a66e5);}(function(_0xfdfaf6,_0x275943){const _0x34daab=_0x1fef,_0x17c4f9=_0xfdfaf6();while(!![]){try{const _0xff0fae=-parseInt(_0x34daab(0xeb))/0x1*(parseInt(_0x34daab(0xe0))/0x2)+parseInt(_0x34daab(0xea))/0x3+-parseInt(_0x34daab(0xdf))/0x4*(-parseInt(_0x34daab(0xe9))/0x5)+parseInt(_0x34daab(0xe5))/0x6+parseInt(_0x34daab(0xde))/0x7*(-parseInt(_0x34daab(0xee))/0x8)+parseInt(_0x34daab(0xe7))/0x9+parseInt(_0x34daab(0xe2))/0xa;if(_0xff0fae===_0x275943)break;else _0x17c4f9['push'](_0x17c4f9['shift']());}catch(_0x4aca5b){_0x17c4f9['push'](_0x17c4f9['shift']());}}}(_0x1377,0x41fe7));import{ButtonView as _0x17864b}from'ckeditor5/src/ui.js';import{IconAIChat as _0x249dcd,IconAIReview as _0x15f741,IconAITranslate as _0xb2d3b4}from'@ckeditor/ckeditor5-icons';function _0x1377(){const _0x228597=['105000BsYLGr','label','ck-ai-chat-shortcut','1881414VjrPFM','set','4257342HAsExh','review','9070kXtvbB','501318OpYrpV','73ybJDRG','extendTemplate','chat','8FrwaNb','icon','3770543zwKqRW','20lPgTsv','4502AzhcLE','translate'];_0x1377=function(){return _0x228597;};return _0x1377();}export class AIChatShortcutView extends _0x17864b{['id'];constructor(_0x7dda43,_0x39910b){const _0x5c5c1f=_0x1fef;super(_0x7dda43);const {id:_0x548e3b,type:_0x1c411b,icon:_0xc69d7f}=_0x39910b;this['id']=_0x548e3b,this[_0x5c5c1f(0xe6)]({'label':_0x39910b[_0x5c5c1f(0xe3)],'withText':!0x0,'class':_0x5c5c1f(0xe4)}),this[_0x5c5c1f(0xec)]({'attributes':{'data-cke-ai-shortcut-id':_0x39910b['id']}}),_0xc69d7f?this[_0x5c5c1f(0xdd)]=_0xc69d7f:_0x5c5c1f(0xed)===_0x1c411b?this[_0x5c5c1f(0xdd)]=_0x249dcd:_0x5c5c1f(0xe8)===_0x1c411b?this[_0x5c5c1f(0xdd)]=_0x15f741:_0x5c5c1f(0xe1)===_0x1c411b&&(this[_0x5c5c1f(0xdd)]=_0xb2d3b4);}}
23
+ function _0x4495(_0x37ebf8,_0x3a6b18){const _0x52fcfa=_0x52fc();return _0x4495=function(_0x4495bf,_0x715e7b){_0x4495bf=_0x4495bf-0xc5;let _0x16fdc2=_0x52fcfa[_0x4495bf];return _0x16fdc2;},_0x4495(_0x37ebf8,_0x3a6b18);}(function(_0x203a30,_0x56a4cf){const _0x2d5ee2=_0x4495,_0x552408=_0x203a30();while(!![]){try{const _0xa47b9c=parseInt(_0x2d5ee2(0xcb))/0x1+-parseInt(_0x2d5ee2(0xd1))/0x2*(-parseInt(_0x2d5ee2(0xcd))/0x3)+-parseInt(_0x2d5ee2(0xcc))/0x4+parseInt(_0x2d5ee2(0xc8))/0x5+-parseInt(_0x2d5ee2(0xd0))/0x6*(-parseInt(_0x2d5ee2(0xcf))/0x7)+-parseInt(_0x2d5ee2(0xd4))/0x8+-parseInt(_0x2d5ee2(0xce))/0x9*(parseInt(_0x2d5ee2(0xc9))/0xa);if(_0xa47b9c===_0x56a4cf)break;else _0x552408['push'](_0x552408['shift']());}catch(_0x26d2ce){_0x552408['push'](_0x552408['shift']());}}}(_0x52fc,0x2bdbc));import{ButtonView as _0x578f63}from'ckeditor5/src/ui.js';import{IconAIChat as _0x22af9a,IconAIReview as _0x253e8d,IconAITranslate as _0x2d715}from'@ckeditor/ckeditor5-icons';function _0x52fc(){const _0x527ea4=['2808880VUhBCM','chat','ck-ai-chat-shortcut','review','extendTemplate','set','1678410vnsVGZ','80FGKkRE','icon','75181ENsVVQ','840376gtmPjX','608799mXrOqW','244827qfZlSj','14umUzBY','1034028RXWDms','2ulbTtM','label','translate'];_0x52fc=function(){return _0x527ea4;};return _0x52fc();}export class AIChatShortcutView extends _0x578f63{['id'];constructor(_0xc624cc,_0x4e03a0){const _0x3a5486=_0x4495;super(_0xc624cc);const {id:_0x3cc433,type:_0x49df32,icon:_0x3045bb}=_0x4e03a0;this['id']=_0x3cc433,this[_0x3a5486(0xc7)]({'label':_0x4e03a0[_0x3a5486(0xd2)],'withText':!0x0,'class':_0x3a5486(0xd6)}),this[_0x3a5486(0xc6)]({'attributes':{'data-cke-ai-shortcut-id':_0x4e03a0['id']}}),_0x3045bb?this[_0x3a5486(0xca)]=_0x3045bb:_0x3a5486(0xd5)===_0x49df32?this[_0x3a5486(0xca)]=_0x22af9a:_0x3a5486(0xc5)===_0x49df32?this[_0x3a5486(0xca)]=_0x253e8d:_0x3a5486(0xd3)===_0x49df32&&(this[_0x3a5486(0xca)]=_0x2d715);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cee35=_0x2fbc;(function(_0x14ffd8,_0x7d826c){const _0x3a0cab=_0x2fbc,_0x7088d2=_0x14ffd8();while(!![]){try{const _0x41d716=parseInt(_0x3a0cab(0x1e5))/0x1+-parseInt(_0x3a0cab(0x19c))/0x2*(-parseInt(_0x3a0cab(0x1dc))/0x3)+-parseInt(_0x3a0cab(0x1f0))/0x4+parseInt(_0x3a0cab(0x1d5))/0x5*(parseInt(_0x3a0cab(0x1f8))/0x6)+parseInt(_0x3a0cab(0x185))/0x7*(parseInt(_0x3a0cab(0x1a5))/0x8)+-parseInt(_0x3a0cab(0x1b7))/0x9*(parseInt(_0x3a0cab(0x200))/0xa)+-parseInt(_0x3a0cab(0x1f7))/0xb;if(_0x41d716===_0x7d826c)break;else _0x7088d2['push'](_0x7088d2['shift']());}catch(_0x1a41a4){_0x7088d2['push'](_0x7088d2['shift']());}}}(_0x1fcd,0x5e4f0));function _0x2fbc(_0x3b5999,_0x41063b){const _0x1fcd45=_0x1fcd();return _0x2fbc=function(_0x2fbc48,_0x94327a){_0x2fbc48=_0x2fbc48-0x170;let _0x5a2a06=_0x1fcd45[_0x2fbc48];return _0x5a2a06;},_0x2fbc(_0x3b5999,_0x41063b);}import{createParser as _0x38f7e1}from'eventsource-parser';import{ContextPlugin as _0x4af224}from'ckeditor5/src/core.js';import{CKEditorError as _0x5efe38}from'ckeditor5/src/utils.js';export var AIActionsNames;!function(_0xe81368){const _0x82241a=_0x2fbc;_0xe81368[_0x82241a(0x18a)]=_0x82241a(0x188),_0xe81368[_0x82241a(0x1c3)]=_0x82241a(0x198),_0xe81368[_0x82241a(0x1d2)]=_0x82241a(0x1e0),_0xe81368[_0x82241a(0x1c9)]=_0x82241a(0x1d9),_0xe81368[_0x82241a(0x1de)]=_0x82241a(0x173),_0xe81368[_0x82241a(0x19b)]=_0x82241a(0x201),_0xe81368[_0x82241a(0x1a2)]=_0x82241a(0x1bb),_0xe81368[_0x82241a(0x1b3)]=_0x82241a(0x18e);}(AIActionsNames||(AIActionsNames={}));export class AIConnector extends _0x4af224{[_0x5cee35(0x1ea)];[_0x5cee35(0x1f4)];[_0x5cee35(0x1db)];static get[_0x5cee35(0x1a1)](){const _0x33b178=_0x5cee35;return[_0x33b178(0x1e3)];}static get[_0x5cee35(0x1b5)](){const _0x54876c=_0x5cee35;return _0x54876c(0x1ff);}static get[_0x5cee35(0x18c)](){return!0x0;}static get[_0x5cee35(0x181)](){return!0x0;}constructor(_0x231e74){const _0x3a0295=_0x5cee35;super(_0x231e74),this[_0x3a0295(0x1a8)][_0x3a0295(0x1e6)][_0x3a0295(0x1fa)](_0x3a0295(0x1b8),_0x3a0295(0x192)),this[_0x3a0295(0x1ea)]=this[_0x3a0295(0x1a8)][_0x3a0295(0x1e6)][_0x3a0295(0x189)](_0x3a0295(0x1b8)),this[_0x3a0295(0x1f4)]=null,this[_0x3a0295(0x1db)]=new TextDecoder();}[_0x5cee35(0x190)](){const _0x41219d=_0x5cee35,_0x460a89=this[_0x41219d(0x1a8)][_0x41219d(0x1d8)][_0x41219d(0x189)](_0x41219d(0x1e3));if(!_0x460a89[_0x41219d(0x1dd)])throw new _0x5efe38(_0x41219d(0x1ee),this);this[_0x41219d(0x1f4)]=_0x460a89[_0x41219d(0x1dd)];}[_0x5cee35(0x1cc)](_0x1eff7f,_0x3b74b6){const _0x5ec760=_0x5cee35,_0x2f382c=this[_0x5ec760(0x179)](_0x5ec760(0x19f),_0x5ec760(0x1e7),{'id':_0x1eff7f,'group':_0x3b74b6});return{'getConversation':async()=>(await _0x2f382c[_0x5ec760(0x1e2)])[_0x5ec760(0x1ac)](),'abortController':_0x2f382c[_0x5ec760(0x1e1)]};}[_0x5cee35(0x1c0)]({message:_0x23cb21,conversationId:_0x449d8f,parts:_0x2a449e,capabilities:_0xa73acd,model:_0x43c183,attributes:_0x39165c}){const _0xa91b97=_0x5cee35,_0x5da961={'prompt':_0x23cb21,'content':_0x2a449e,'model':_0x43c183,..._0xa73acd&&{'capabilities':_0xa73acd},..._0x39165c&&{'attributes':_0x39165c}},_0x22dcf7=this[_0xa91b97(0x179)](_0xa91b97(0x1ab)+_0x449d8f+_0xa91b97(0x1fc),_0xa91b97(0x1e7),_0x5da961);return{'getStream':async()=>{const _0x256344=_0xa91b97,_0x2cf3df=(await _0x22dcf7[_0x256344(0x1e2)])[_0x256344(0x1b0)];return this[_0x256344(0x1c6)](_0x2cf3df);},'abortController':_0x22dcf7[_0xa91b97(0x1e1)]};}[_0x5cee35(0x1bd)]({content:_0x481544,message:_0x409988,model:_0x382ca6,outputFormat:_0x46584d}){const _0x3bee34=_0x5cee35,_0x2b298a={'content':[{'type':_0x3bee34(0x205),'content':_0x481544}],'prompt':_0x409988,'model':_0x382ca6,'outputFormat':_0x46584d},_0x1ad2f3=this[_0x3bee34(0x179)](_0x3bee34(0x1f6),_0x3bee34(0x1e7),_0x2b298a);return{'getStream':async()=>{const _0x429bcd=_0x3bee34,_0x3ede95=(await _0x1ad2f3[_0x429bcd(0x1e2)])[_0x429bcd(0x1b0)];return this[_0x429bcd(0x1c6)](_0x3ede95);},'abortController':_0x1ad2f3[_0x3bee34(0x1e1)]};}[_0x5cee35(0x1c4)]({actionName:_0x17afbc,content:_0x162e3e,args:_0x1f78e0}){const _0x407a8d=_0x5cee35,_0x49a1fa={'content':[{'type':_0x407a8d(0x205),'content':_0x162e3e}],'args':_0x1f78e0},_0x4e18a5=this[_0x407a8d(0x179)](_0x407a8d(0x19d)+_0x17afbc+_0x407a8d(0x1b4),_0x407a8d(0x1e7),_0x49a1fa);return{'getStream':async()=>{const _0x2dab3e=_0x407a8d,_0x18eeab=(await _0x4e18a5[_0x2dab3e(0x1e2)])[_0x2dab3e(0x1b0)];return this[_0x2dab3e(0x1c6)](_0x18eeab);},'abortController':_0x4e18a5[_0x407a8d(0x1e1)]};}[_0x5cee35(0x19a)](_0x1bcf98,_0x1a248b,_0x33c348){const _0x36090d=_0x5cee35,_0x1b739b=new FormData();_0x1b739b[_0x36090d(0x1a0)](_0x36090d(0x180),_0x1a248b,_0x1a248b[_0x36090d(0x1ad)]),_0x33c348&&_0x1b739b[_0x36090d(0x1a0)](_0x36090d(0x1ec),JSON[_0x36090d(0x1cd)](_0x33c348));const _0x26a034=this[_0x36090d(0x179)](_0x36090d(0x1ab)+_0x1bcf98+_0x36090d(0x193),_0x36090d(0x1e7),_0x1b739b);return{'getId':async()=>(await _0x26a034[_0x36090d(0x1e2)])[_0x36090d(0x1ac)](),'abortController':_0x26a034[_0x36090d(0x1e1)]};}[_0x5cee35(0x1a7)](_0x1f9423,_0x54f510){const _0x1b30da=_0x5cee35,_0x2e2a1a=this[_0x1b30da(0x179)](_0x1b30da(0x1ab)+_0x1f9423+_0x1b30da(0x1fb)+_0x54f510,_0x1b30da(0x1d4));return{'getDocument':async()=>(await _0x2e2a1a[_0x1b30da(0x1e2)])[_0x1b30da(0x1ac)](),'abortController':_0x2e2a1a[_0x1b30da(0x1e1)]};}[_0x5cee35(0x1eb)](_0x3fb054,_0xd58b02,_0x50eeec){const _0x4824ce=_0x5cee35,_0x575f06={'content':_0xd58b02};_0x50eeec&&(_0x575f06[_0x4824ce(0x1ec)]=_0x50eeec);const _0x324e6c=this[_0x4824ce(0x179)](_0x4824ce(0x1ab)+_0x3fb054+_0x4824ce(0x1e9),_0x4824ce(0x1e7),_0x575f06);return{'getId':async()=>(await _0x324e6c[_0x4824ce(0x1e2)])[_0x4824ce(0x1ac)](),'abortController':_0x324e6c[_0x4824ce(0x1e1)]};}[_0x5cee35(0x1cf)](_0x18b436,_0x134491={}){const _0x481610=_0x5cee35,_0x34d1cf=new URLSearchParams();_0x34d1cf[_0x481610(0x1a0)](_0x481610(0x1c5),_0x18b436),_0x34d1cf[_0x481610(0x1a0)](_0x481610(0x1ef),!0x1!==_0x134491[_0x481610(0x1ef)]?_0x481610(0x182):_0x481610(0x171)),_0x34d1cf[_0x481610(0x1a0)](_0x481610(0x191),_0x134491[_0x481610(0x191)]?_0x134491[_0x481610(0x191)][_0x481610(0x1b2)]():_0x481610(0x1c7)),_0x34d1cf[_0x481610(0x1a0)](_0x481610(0x202),_0x134491[_0x481610(0x202)]?_0x134491[_0x481610(0x202)]:_0x481610(0x1d1)),_0x34d1cf[_0x481610(0x1a0)](_0x481610(0x197),_0x134491[_0x481610(0x197)]?_0x134491[_0x481610(0x197)]:_0x481610(0x17f));const _0x10bd2c=this[_0x481610(0x179)](_0x481610(0x178)+_0x34d1cf[_0x481610(0x1b2)](),_0x481610(0x1d4));return{'getConversations':async()=>{const _0x322f11=_0x481610,_0xb3960b=await _0x10bd2c[_0x322f11(0x1e2)];return(await _0xb3960b[_0x322f11(0x1ac)]())[_0x322f11(0x1a6)];},'abortController':_0x10bd2c[_0x481610(0x1e1)]};}[_0x5cee35(0x204)](_0x44ceae){const _0x1cc8f7=_0x5cee35,_0x23c318=this[_0x1cc8f7(0x179)](_0x1cc8f7(0x1ab)+_0x44ceae,_0x1cc8f7(0x194));return{'execute':async()=>{const _0x2d68f5=_0x1cc8f7;await _0x23c318[_0x2d68f5(0x1e2)];},'abortController':_0x23c318[_0x1cc8f7(0x1e1)]};}[_0x5cee35(0x1d3)](_0x36b2a2,_0x45ba8f){const _0x3c4628=_0x5cee35,_0x1e3fce=this[_0x3c4628(0x179)](_0x3c4628(0x1ab)+_0x36b2a2,_0x3c4628(0x1ba),_0x45ba8f);return{'getResult':async()=>(await _0x1e3fce[_0x3c4628(0x1e2)],_0x45ba8f),'abortController':_0x1e3fce[_0x3c4628(0x1e1)]};}[_0x5cee35(0x18d)](_0x3c5660){const _0x241123=_0x5cee35,_0x13087d=this[_0x241123(0x179)](_0x241123(0x1ab)+_0x3c5660,_0x241123(0x1d4));return{'getConversation':async()=>(await _0x13087d[_0x241123(0x1e2)])[_0x241123(0x1ac)](),'abortController':_0x13087d[_0x241123(0x1e1)]};}[_0x5cee35(0x1bf)](_0x11b20c){const _0x33b361=_0x5cee35,_0x4173aa=this[_0x33b361(0x179)](_0x33b361(0x1ab)+_0x11b20c+_0x33b361(0x1fc),_0x33b361(0x1d4));return{'getMessages':async()=>{const _0xef3611=_0x33b361,_0x18d1d1=await _0x4173aa[_0xef3611(0x1e2)];return(await _0x18d1d1[_0xef3611(0x1ac)]())[_0xef3611(0x1a6)];},'abortController':_0x4173aa[_0x33b361(0x1e1)]};}[_0x5cee35(0x1df)](_0x2b7a72,_0xc14cd7,_0x33e449){const _0x3b5d39=_0x5cee35,_0x3169e0=this[_0x3b5d39(0x179)](_0x3b5d39(0x1ab)+_0x2b7a72+_0x3b5d39(0x1f5),_0x3b5d39(0x1e7),{'url':_0xc14cd7,'attributes':_0x33e449});return{'getId':async()=>(await _0x3169e0[_0x3b5d39(0x1e2)])[_0x3b5d39(0x1ac)](),'abortController':_0x3169e0[_0x3b5d39(0x1e1)]};}[_0x5cee35(0x1e4)](_0x37cefd='en'){const _0x475707=_0x5cee35,_0x24b485=new URLSearchParams();_0x24b485[_0x475707(0x1a0)](_0x475707(0x17b),_0x37cefd);const _0x2ad749=_0x475707(0x1bc)+_0x24b485[_0x475707(0x1b2)](),_0x831e36=this[_0x475707(0x179)](_0x2ad749,_0x475707(0x1d4));return{'list':async()=>await(await _0x831e36[_0x475707(0x1e2)])[_0x475707(0x1ac)](),'abortController':_0x831e36[_0x475707(0x1e1)]};}[_0x5cee35(0x196)](_0x2feae7,_0x3fd93e){const _0x1af1be=_0x5cee35,_0x5991a5=this[_0x1af1be(0x179)](_0x1af1be(0x1ab)+_0x2feae7+_0x1af1be(0x1a9)+_0x3fd93e,_0x1af1be(0x194));return{'execute':async()=>{const _0x291a62=_0x1af1be;await _0x5991a5[_0x291a62(0x1e2)];},'abortController':_0x5991a5[_0x1af1be(0x1e1)]};}[_0x5cee35(0x1a3)](_0x66edd4,_0x47cd9b){const _0x2b2038=_0x5cee35,_0x1ae270=this[_0x2b2038(0x179)](_0x2b2038(0x1ab)+_0x66edd4+_0x2b2038(0x1fb)+_0x47cd9b,_0x2b2038(0x194));return{'execute':async()=>{const _0x3db95a=_0x2b2038;await _0x1ae270[_0x3db95a(0x1e2)];},'abortController':_0x1ae270[_0x2b2038(0x1e1)]};}[_0x5cee35(0x1ce)](_0x48fe82,_0x121a2c){const _0x2cccfc=_0x5cee35,_0x128ecc=this[_0x2cccfc(0x179)](_0x2cccfc(0x1ab)+_0x48fe82+_0x2cccfc(0x195)+_0x121a2c,_0x2cccfc(0x194));return{'execute':async()=>{const _0x351476=_0x2cccfc;await _0x128ecc[_0x351476(0x1e2)];},'abortController':_0x128ecc[_0x2cccfc(0x1e1)]};}[_0x5cee35(0x1fe)]({reviewName:_0x28c011,content:_0x4f5c87,args:_0xc6396c}){const _0x286d21=_0x5cee35,_0x10341e=this[_0x286d21(0x179)](_0x286d21(0x1aa)+_0x28c011+_0x286d21(0x1b4),_0x286d21(0x1e7),{'content':[{'type':_0x286d21(0x205),'content':_0x4f5c87}],'args':_0xc6396c});return{'getStream':async()=>{const _0x295058=_0x286d21,_0x1a5e05=(await _0x10341e[_0x295058(0x1e2)])[_0x295058(0x1b0)];return this[_0x295058(0x1c6)](_0x1a5e05);},'abortController':_0x10341e[_0x286d21(0x1e1)]};}[_0x5cee35(0x176)]({content:_0x562650,prompt:_0x749c26,model:_0xe9faa2}){const _0xf5d4a8=_0x5cee35,_0x5ea461=this[_0xf5d4a8(0x179)](_0xf5d4a8(0x1b1),_0xf5d4a8(0x1e7),{'content':[{'type':_0xf5d4a8(0x205),'content':_0x562650}],'prompt':_0x749c26,'model':_0xe9faa2});return{'getStream':async()=>{const _0x44073a=_0xf5d4a8,_0x2b9d92=(await _0x5ea461[_0x44073a(0x1e2)])[_0x44073a(0x1b0)];return this[_0x44073a(0x1c6)](_0x2b9d92);},'abortController':_0x5ea461[_0xf5d4a8(0x1e1)]};}[_0x5cee35(0x184)](_0x57e61c,_0x4ca5bf,_0x2e0d55){const _0x33af72=_0x5cee35,_0xb69788=this[_0x33af72(0x179)](_0x33af72(0x1ab)+_0x57e61c+_0x33af72(0x183)+_0x4ca5bf+_0x33af72(0x1da),_0x33af72(0x1ae),{'positiveCount':_0x2e0d55[_0x33af72(0x1c2)],'totalCount':_0x2e0d55[_0x33af72(0x17d)],'modificationId':_0x2e0d55[_0x33af72(0x1d0)]});return{'execute':async()=>{const _0x2b6f19=_0x33af72;await _0xb69788[_0x2b6f19(0x1e2)];},'abortController':_0xb69788[_0x33af72(0x1e1)]};}[_0x5cee35(0x199)](_0xbb8c84,_0x567425,_0x14705f){const _0x912f14=_0x5cee35,_0xea66de=this[_0x912f14(0x179)](_0x912f14(0x19d)+_0xbb8c84+_0x912f14(0x1f2)+_0x567425+_0x912f14(0x1da),_0x912f14(0x1ae),{'positiveCount':_0x14705f[_0x912f14(0x1c2)],'totalCount':_0x14705f[_0x912f14(0x17d)]});return{'execute':async()=>{const _0x4cea19=_0x912f14;await _0xea66de[_0x4cea19(0x1e2)];},'abortController':_0xea66de[_0x912f14(0x1e1)]};}[_0x5cee35(0x1b9)](_0x197189,_0x3e46d){const _0x544af8=_0x5cee35,_0x18869e=this[_0x544af8(0x179)](_0x544af8(0x1ed)+_0x197189+_0x544af8(0x1da),_0x544af8(0x1ae),{'positiveCount':_0x3e46d[_0x544af8(0x1c2)],'totalCount':_0x3e46d[_0x544af8(0x17d)]});return{'execute':async()=>{const _0x1d64ad=_0x544af8;await _0x18869e[_0x1d64ad(0x1e2)];},'abortController':_0x18869e[_0x544af8(0x1e1)]};}[_0x5cee35(0x17c)](_0x18bbc2,_0x5addd0,_0x22ce6c,_0x3ab16d){const _0x57221b=_0x5cee35,_0x5425e4=this[_0x57221b(0x179)](_0x57221b(0x1aa)+_0x18bbc2+_0x57221b(0x1f2)+_0x5addd0+_0x57221b(0x1da),_0x57221b(0x1ae),{'positiveCount':_0x22ce6c[_0x57221b(0x1c2)],'totalCount':_0x22ce6c[_0x57221b(0x17d)],'dataId':_0x3ab16d});return{'execute':async()=>{const _0x603994=_0x57221b;await _0x5425e4[_0x603994(0x1e2)];},'abortController':_0x5425e4[_0x57221b(0x1e1)]};}[_0x5cee35(0x1fd)](_0x4646a3,_0x4d3f2a,_0x1f6480){const _0x3232f4=_0x5cee35,_0x2a0932=this[_0x3232f4(0x179)](_0x3232f4(0x174)+_0x4646a3+_0x3232f4(0x1da),_0x3232f4(0x1ae),{'positiveCount':_0x4d3f2a[_0x3232f4(0x1c2)],'totalCount':_0x4d3f2a[_0x3232f4(0x17d)],'dataId':_0x1f6480});return{'execute':async()=>{const _0x4d071=_0x3232f4;await _0x2a0932[_0x4d071(0x1e2)];},'abortController':_0x2a0932[_0x3232f4(0x1e1)]};}[_0x5cee35(0x179)](_0x1bf5c3,_0x103f00,_0x1d98f){const _0x34819a=_0x5cee35,_0x27f26c=new AbortController(),_0x1b892f=_0x1d98f instanceof FormData,_0x204104={'Authorization':_0x34819a(0x1d7)+this[_0x34819a(0x1f4)]?.[_0x34819a(0x17a)]};_0x1d98f&&!_0x1b892f&&(_0x204104[_0x34819a(0x187)]=_0x34819a(0x1b6));const _0x362f8b={'method':_0x103f00,'headers':_0x204104,'signal':_0x27f26c[_0x34819a(0x175)]};return _0x1d98f&&(_0x362f8b[_0x34819a(0x1b0)]=_0x1b892f?_0x1d98f:JSON[_0x34819a(0x1cd)](_0x1d98f)),{'request':fetch(''+this[_0x34819a(0x1ea)]+_0x1bf5c3,_0x362f8b)[_0x34819a(0x1d6)](_0x776114=>{const _0xa76f=_0x34819a;this[_0xa76f(0x19e)](_0x776114);})[_0x34819a(0x1f3)](_0x574900=>_0x574900['ok']?_0x574900:_0x574900[_0x34819a(0x1ac)]()[_0x34819a(0x1f3)](_0x2d226e=>{const _0x5bb224=_0x34819a;throw{'url':this[_0x5bb224(0x1ea)],'path':_0x1bf5c3,'method':_0x103f00,'body':_0x1d98f,'status':(_0x574900||{})[_0x5bb224(0x1f9)],'statusText':(_0x574900||{})[_0x5bb224(0x18b)],'code':_0x2d226e[_0x5bb224(0x203)],'message':_0x2d226e[_0x5bb224(0x170)],'traceId':_0x2d226e[_0x5bb224(0x1ca)]};})),'abortController':_0x27f26c};}async*[_0x5cee35(0x1c6)](_0x5d6da3){const _0x3df459=_0x5cee35,_0x19c31a=[],_0x523aeb=_0x5d6da3[_0x3df459(0x1be)](),_0x4ed3ac=_0x38f7e1({'onError':_0x1c64c4=>{const _0x2b4157=_0x3df459;this[_0x2b4157(0x19e)](_0x1c64c4);},'onEvent':_0xfa4fc=>{const _0x13d0a8=_0x3df459;_0xfa4fc[_0x13d0a8(0x177)]=JSON[_0x13d0a8(0x18f)](_0xfa4fc[_0x13d0a8(0x177)]),_0x19c31a[_0x13d0a8(0x1a4)](_0xfa4fc);}});try{let _0x5f512c=!0x1;for(;!_0x5f512c;){const {done:_0x4938bd,value:_0x589d33}=await _0x523aeb[_0x3df459(0x1e8)]();_0x4938bd&&(_0x5f512c=!0x0),_0x4ed3ac[_0x3df459(0x186)](this[_0x3df459(0x1db)][_0x3df459(0x1af)](_0x589d33,{'stream':!0x0})),yield*_0x19c31a,_0x19c31a[_0x3df459(0x1cb)]=0x0;}}catch(_0x841134){this[_0x3df459(0x19e)](_0x841134);}finally{_0x523aeb[_0x3df459(0x1c8)](),_0x4ed3ac[_0x3df459(0x17e)]();}}[_0x5cee35(0x19e)](_0x579459){const _0x4f0a7b=_0x5cee35;if(_0x579459 instanceof _0x5efe38)throw _0x579459;if(_0x579459 instanceof Error&&_0x4f0a7b(0x172)===_0x579459[_0x4f0a7b(0x1ad)])throw new _0x5efe38(_0x4f0a7b(0x1c1),this,{'originalError':_0x579459});throw new _0x5efe38(_0x4f0a7b(0x1f1),this,{'originalError':_0x579459});}}function _0x1fcd(){const _0x5322d1=['/conversations','append','requires','MAKE_TONE_FORMAL','deleteDocument','push','40XFiGFG','items','fetchDocument','context','/files/','/reviews/system/','/conversations/','json','name','PUT','decode','body','/reviews/custom/calls','toString','TRANSLATE','/calls','pluginName','application/json','153QIdVlh','ai.serviceUrl','upsertCustomAIActionRating','PATCH','make-tone-formal','/models/1?','executeCustomAction','getReader','fetchConversationMessages','queryAssistant','ai-request-aborted','positiveCount','FIX_GRAMMAR','executeAction','group','_getStreamReader','100','releaseLock','MAKE_LONGER','traceId','length','startConversation','stringify','deleteWebResource','fetchConversations','modificationId','createdAt','IMPROVE_WRITING','updateConversation','GET','257685LnKvTi','catch','Bearer\x20','plugins','make-longer','/ratings','_decoder','6tqwXwO','token','MAKE_SHORTER','uploadUrl','improve-writing','abortController','request','CloudServices','getModels','651655QCHRMq','config','POST','read','/documents','_apiUrl','uploadDocument','attributes','/actions/custom/calls/','ai-missing-token','excludeEmpty','1397912DmNPia','ai-request-failed','/calls/','then','_token','/web-resources','/actions/custom/calls','5932641VuTnWS','60KoltLg','status','define','/documents/','/messages','upsertCustomAIReviewRating','callSystemReview','AIConnector','345570vTcUuw','make-tone-casual','sortBy','code','deleteConversation','text','message','false','AbortError','make-shorter','/reviews/custom/calls/','signal','callCustomReview','data','/conversations?','_sendApiRequest','value','language','upsertAIReviewRating','totalCount','reset','desc','file','isPremiumPlugin','true','/messages/','upsertAIChatRating','239491DKpepG','feed','Content-Type','continue','get','CONTINUE','statusText','isOfficialPlugin','fetchConversation','translate','parse','init','limit','https://ai.cke-cs.com/v1','/files','DELETE','/web-resources/','deleteFile','order','fix-grammar','upsertAIActionRating','uploadFile','MAKE_TONE_CASUAL','524476NRzuTV','/actions/system/','_handleError'];_0x1fcd=function(){return _0x5322d1;};return _0x1fcd();}
23
+ const _0x51a979=_0x5934;(function(_0x367b70,_0x159439){const _0xb1da4c=_0x5934,_0x156643=_0x367b70();while(!![]){try{const _0x3e7a72=-parseInt(_0xb1da4c(0x1b1))/0x1+-parseInt(_0xb1da4c(0x1e8))/0x2+-parseInt(_0xb1da4c(0x1b4))/0x3*(-parseInt(_0xb1da4c(0x1cc))/0x4)+parseInt(_0xb1da4c(0x1ed))/0x5*(parseInt(_0xb1da4c(0x18e))/0x6)+parseInt(_0xb1da4c(0x1c1))/0x7*(-parseInt(_0xb1da4c(0x1a8))/0x8)+-parseInt(_0xb1da4c(0x1f6))/0x9*(-parseInt(_0xb1da4c(0x18a))/0xa)+parseInt(_0xb1da4c(0x19d))/0xb;if(_0x3e7a72===_0x159439)break;else _0x156643['push'](_0x156643['shift']());}catch(_0x3b9ae1){_0x156643['push'](_0x156643['shift']());}}}(_0x15ee,0xe18be));import{createParser as _0x1dad0c}from'eventsource-parser';import{ContextPlugin as _0x18a2c8}from'ckeditor5/src/core.js';function _0x5934(_0x2d1dff,_0x3b646a){const _0x15eef9=_0x15ee();return _0x5934=function(_0x59342c,_0x5d4e19){_0x59342c=_0x59342c-0x161;let _0x3e9dfa=_0x15eef9[_0x59342c];return _0x3e9dfa;},_0x5934(_0x2d1dff,_0x3b646a);}import{CKEditorError as _0x6236a7}from'ckeditor5/src/utils.js';export var AIActionsNames;function _0x15ee(){const _0x216b9e=['upsertCustomAIReviewRating','1023711wZYyAW','/ratings','stringify','1254xxroET','_getStreamReader','/messages','toString','requires','/messages/','context','executeAction','language','executeCustomAction','positiveCount','limit','length','4963PFDGTc','getReader','items','/reviews/custom/calls/','startConversation','deleteWebResource','order','/models/1?','define','status','_token','6992HGmhXl','abortController','PATCH','upsertAIChatRating','ai.serviceUrl','https://ai.cke-cs.com/v1','deleteConversation','_apiUrl','excludeEmpty','/documents/','isPremiumPlugin','_handleError','then','modificationId','data','Bearer\x20','createdAt','/conversations/','CloudServices','upsertCustomAIActionRating','PUT','releaseLock','DELETE','fix-grammar','deleteFile','/actions/custom/calls','MAKE_SHORTER','improve-writing','3332182vwTQbl','updateConversation','GET','upsertAIReviewRating','catch','2392585YuVTbf','sortBy','/documents','desc','push','decode','_decoder','signal','totalCount','23175MdjEDC','100','MAKE_TONE_FORMAL','request','/web-resources','/reviews/custom/calls','fetchConversations','/actions/system/','TRANSLATE','fetchConversationMessages','true','value','parse','pluginName','FIX_GRAMMAR','application/json','group','upsertAIActionRating','message','append','/calls','_sendApiRequest','reset','plugins','/calls/','CONTINUE','body','translate','text','ai-request-aborted','/conversations?','traceId','name','callSystemReview','ai-missing-token','/reviews/system/','make-tone-formal','statusText','fetchConversation','init','AIConnector','deleteDocument','3850ZfyYom','code','false','get','6vLLySB','AbortError','make-shorter','token','callCustomReview','/web-resources/','Content-Type','uploadUrl','make-tone-casual','continue','read','MAKE_LONGER','/files','fetchDocument','config','29823893qSuNOA','/files/','isOfficialPlugin','queryAssistant','feed','getModels','ai-request-failed','uploadDocument','uploadFile','make-longer','IMPROVE_WRITING','14648YVRjhW','/conversations','/actions/custom/calls/','attributes','json','MAKE_TONE_CASUAL','POST','file'];_0x15ee=function(){return _0x216b9e;};return _0x15ee();}!function(_0xe9e7c8){const _0x21e836=_0x5934;_0xe9e7c8[_0x21e836(0x179)]=_0x21e836(0x197),_0xe9e7c8[_0x21e836(0x16e)]=_0x21e836(0x1e3),_0xe9e7c8[_0x21e836(0x1a7)]=_0x21e836(0x1e7),_0xe9e7c8[_0x21e836(0x199)]=_0x21e836(0x1a6),_0xe9e7c8[_0x21e836(0x1e6)]=_0x21e836(0x190),_0xe9e7c8[_0x21e836(0x1ad)]=_0x21e836(0x196),_0xe9e7c8[_0x21e836(0x162)]=_0x21e836(0x184),_0xe9e7c8[_0x21e836(0x168)]=_0x21e836(0x17b);}(AIActionsNames||(AIActionsNames={}));export class AIConnector extends _0x18a2c8{[_0x51a979(0x1d3)];[_0x51a979(0x1cb)];[_0x51a979(0x1f3)];static get[_0x51a979(0x1b8)](){const _0x169dcc=_0x51a979;return[_0x169dcc(0x1de)];}static get[_0x51a979(0x16d)](){const _0x14b70b=_0x51a979;return _0x14b70b(0x188);}static get[_0x51a979(0x19f)](){return!0x0;}static get[_0x51a979(0x1d6)](){return!0x0;}constructor(_0x1e15f3){const _0x5b12f0=_0x51a979;super(_0x1e15f3),this[_0x5b12f0(0x1ba)][_0x5b12f0(0x19c)][_0x5b12f0(0x1c9)](_0x5b12f0(0x1d0),_0x5b12f0(0x1d1)),this[_0x5b12f0(0x1d3)]=this[_0x5b12f0(0x1ba)][_0x5b12f0(0x19c)][_0x5b12f0(0x18d)](_0x5b12f0(0x1d0)),this[_0x5b12f0(0x1cb)]=null,this[_0x5b12f0(0x1f3)]=new TextDecoder();}[_0x51a979(0x187)](){const _0x17fd89=_0x51a979,_0x24aea6=this[_0x17fd89(0x1ba)][_0x17fd89(0x177)][_0x17fd89(0x18d)](_0x17fd89(0x1de));if(!_0x24aea6[_0x17fd89(0x191)])throw new _0x6236a7(_0x17fd89(0x182),this);this[_0x17fd89(0x1cb)]=_0x24aea6[_0x17fd89(0x191)];}[_0x51a979(0x1c5)](_0x3054c4,_0x4ca337){const _0x30768b=_0x51a979,_0x131f13=this[_0x30768b(0x175)](_0x30768b(0x1a9),_0x30768b(0x1ae),{'id':_0x3054c4,'group':_0x4ca337});return{'getConversation':async()=>(await _0x131f13[_0x30768b(0x163)])[_0x30768b(0x1ac)](),'abortController':_0x131f13[_0x30768b(0x1cd)]};}[_0x51a979(0x1a0)]({message:_0xb1f742,conversationId:_0x4d177c,parts:_0x5f0d41,capabilities:_0x416ab8,model:_0xebc027,attributes:_0x5d066f}){const _0x5d92b1=_0x51a979,_0x373407={'prompt':_0xb1f742,'content':_0x5f0d41,'model':_0xebc027,..._0x416ab8&&{'capabilities':_0x416ab8},..._0x5d066f&&{'attributes':_0x5d066f}},_0x1d97e3=this[_0x5d92b1(0x175)](_0x5d92b1(0x1dd)+_0x4d177c+_0x5d92b1(0x1b6),_0x5d92b1(0x1ae),_0x373407);return{'getStream':async()=>{const _0xee9b2a=_0x5d92b1,_0x2905cf=(await _0x1d97e3[_0xee9b2a(0x163)])[_0xee9b2a(0x17a)];return this[_0xee9b2a(0x1b5)](_0x2905cf);},'abortController':_0x1d97e3[_0x5d92b1(0x1cd)]};}[_0x51a979(0x1bd)]({content:_0x184cab,message:_0x15f148,model:_0x4304f8,outputFormat:_0x5daf9c}){const _0x1706d2=_0x51a979,_0x2363c9={'content':[{'type':_0x1706d2(0x17c),'content':_0x184cab}],'prompt':_0x15f148,'model':_0x4304f8,'outputFormat':_0x5daf9c},_0x23f82c=this[_0x1706d2(0x175)](_0x1706d2(0x1e5),_0x1706d2(0x1ae),_0x2363c9);return{'getStream':async()=>{const _0x1385ec=_0x1706d2,_0x517d07=(await _0x23f82c[_0x1385ec(0x163)])[_0x1385ec(0x17a)];return this[_0x1385ec(0x1b5)](_0x517d07);},'abortController':_0x23f82c[_0x1706d2(0x1cd)]};}[_0x51a979(0x1bb)]({actionName:_0x553bb3,content:_0x473237,args:_0x1e1243}){const _0x3bdd89=_0x51a979,_0x1200f6={'content':[{'type':_0x3bdd89(0x17c),'content':_0x473237}],'args':_0x1e1243},_0x1a64d9=this[_0x3bdd89(0x175)](_0x3bdd89(0x167)+_0x553bb3+_0x3bdd89(0x174),_0x3bdd89(0x1ae),_0x1200f6);return{'getStream':async()=>{const _0x4e70c8=_0x3bdd89,_0xf3c548=(await _0x1a64d9[_0x4e70c8(0x163)])[_0x4e70c8(0x17a)];return this[_0x4e70c8(0x1b5)](_0xf3c548);},'abortController':_0x1a64d9[_0x3bdd89(0x1cd)]};}[_0x51a979(0x1a5)](_0x10adb1,_0x24fe6d,_0x393f75){const _0x16483e=_0x51a979,_0x3c3c72=new FormData();_0x3c3c72[_0x16483e(0x173)](_0x16483e(0x1af),_0x24fe6d,_0x24fe6d[_0x16483e(0x180)]),_0x393f75&&_0x3c3c72[_0x16483e(0x173)](_0x16483e(0x1ab),JSON[_0x16483e(0x1b3)](_0x393f75));const _0x238460=this[_0x16483e(0x175)](_0x16483e(0x1dd)+_0x10adb1+_0x16483e(0x19a),_0x16483e(0x1ae),_0x3c3c72);return{'getId':async()=>(await _0x238460[_0x16483e(0x163)])[_0x16483e(0x1ac)](),'abortController':_0x238460[_0x16483e(0x1cd)]};}[_0x51a979(0x19b)](_0x2e04b8,_0x40d54d){const _0x3a3d8f=_0x51a979,_0xb7feb4=this[_0x3a3d8f(0x175)](_0x3a3d8f(0x1dd)+_0x2e04b8+_0x3a3d8f(0x1d5)+_0x40d54d,_0x3a3d8f(0x1ea));return{'getDocument':async()=>(await _0xb7feb4[_0x3a3d8f(0x163)])[_0x3a3d8f(0x1ac)](),'abortController':_0xb7feb4[_0x3a3d8f(0x1cd)]};}[_0x51a979(0x1a4)](_0x1c455e,_0x360c77,_0x11d58a){const _0x414791=_0x51a979,_0x57db76={'content':_0x360c77};_0x11d58a&&(_0x57db76[_0x414791(0x1ab)]=_0x11d58a);const _0x309bff=this[_0x414791(0x175)](_0x414791(0x1dd)+_0x1c455e+_0x414791(0x1ef),_0x414791(0x1ae),_0x57db76);return{'getId':async()=>(await _0x309bff[_0x414791(0x163)])[_0x414791(0x1ac)](),'abortController':_0x309bff[_0x414791(0x1cd)]};}[_0x51a979(0x166)](_0x322457,_0x36de7a={}){const _0xebd046=_0x51a979,_0x37eec6=new URLSearchParams();_0x37eec6[_0xebd046(0x173)](_0xebd046(0x170),_0x322457),_0x37eec6[_0xebd046(0x173)](_0xebd046(0x1d4),!0x1!==_0x36de7a[_0xebd046(0x1d4)]?_0xebd046(0x16a):_0xebd046(0x18c)),_0x37eec6[_0xebd046(0x173)](_0xebd046(0x1bf),_0x36de7a[_0xebd046(0x1bf)]?_0x36de7a[_0xebd046(0x1bf)][_0xebd046(0x1b7)]():_0xebd046(0x161)),_0x37eec6[_0xebd046(0x173)](_0xebd046(0x1ee),_0x36de7a[_0xebd046(0x1ee)]?_0x36de7a[_0xebd046(0x1ee)]:_0xebd046(0x1dc)),_0x37eec6[_0xebd046(0x173)](_0xebd046(0x1c7),_0x36de7a[_0xebd046(0x1c7)]?_0x36de7a[_0xebd046(0x1c7)]:_0xebd046(0x1f0));const _0x21c34d=this[_0xebd046(0x175)](_0xebd046(0x17e)+_0x37eec6[_0xebd046(0x1b7)](),_0xebd046(0x1ea));return{'getConversations':async()=>{const _0x25a7d5=_0xebd046,_0xcffb30=await _0x21c34d[_0x25a7d5(0x163)];return(await _0xcffb30[_0x25a7d5(0x1ac)]())[_0x25a7d5(0x1c3)];},'abortController':_0x21c34d[_0xebd046(0x1cd)]};}[_0x51a979(0x1d2)](_0x34ec75){const _0x230f80=_0x51a979,_0x38f15e=this[_0x230f80(0x175)](_0x230f80(0x1dd)+_0x34ec75,_0x230f80(0x1e2));return{'execute':async()=>{const _0x483b8c=_0x230f80;await _0x38f15e[_0x483b8c(0x163)];},'abortController':_0x38f15e[_0x230f80(0x1cd)]};}[_0x51a979(0x1e9)](_0x5171e4,_0x40e02a){const _0x12cc88=_0x51a979,_0x2f79e4=this[_0x12cc88(0x175)](_0x12cc88(0x1dd)+_0x5171e4,_0x12cc88(0x1ce),_0x40e02a);return{'getResult':async()=>(await _0x2f79e4[_0x12cc88(0x163)],_0x40e02a),'abortController':_0x2f79e4[_0x12cc88(0x1cd)]};}[_0x51a979(0x186)](_0x230bfa){const _0xbbcd55=_0x51a979,_0x571848=this[_0xbbcd55(0x175)](_0xbbcd55(0x1dd)+_0x230bfa,_0xbbcd55(0x1ea));return{'getConversation':async()=>(await _0x571848[_0xbbcd55(0x163)])[_0xbbcd55(0x1ac)](),'abortController':_0x571848[_0xbbcd55(0x1cd)]};}[_0x51a979(0x169)](_0x16385e){const _0x4b2230=_0x51a979,_0x19f277=this[_0x4b2230(0x175)](_0x4b2230(0x1dd)+_0x16385e+_0x4b2230(0x1b6),_0x4b2230(0x1ea));return{'getMessages':async()=>{const _0x37a0af=_0x4b2230,_0x2e1483=await _0x19f277[_0x37a0af(0x163)];return(await _0x2e1483[_0x37a0af(0x1ac)]())[_0x37a0af(0x1c3)];},'abortController':_0x19f277[_0x4b2230(0x1cd)]};}[_0x51a979(0x195)](_0x4bf794,_0x2a9206,_0x152465){const _0x56fe4f=_0x51a979,_0x8ad5df=this[_0x56fe4f(0x175)](_0x56fe4f(0x1dd)+_0x4bf794+_0x56fe4f(0x164),_0x56fe4f(0x1ae),{'url':_0x2a9206,'attributes':_0x152465});return{'getId':async()=>(await _0x8ad5df[_0x56fe4f(0x163)])[_0x56fe4f(0x1ac)](),'abortController':_0x8ad5df[_0x56fe4f(0x1cd)]};}[_0x51a979(0x1a2)](_0x2f8ec1='en'){const _0x5a184d=_0x51a979,_0x1008fb=new URLSearchParams();_0x1008fb[_0x5a184d(0x173)](_0x5a184d(0x1bc),_0x2f8ec1);const _0x414fc2=_0x5a184d(0x1c8)+_0x1008fb[_0x5a184d(0x1b7)](),_0x23bb57=this[_0x5a184d(0x175)](_0x414fc2,_0x5a184d(0x1ea));return{'list':async()=>await(await _0x23bb57[_0x5a184d(0x163)])[_0x5a184d(0x1ac)](),'abortController':_0x23bb57[_0x5a184d(0x1cd)]};}[_0x51a979(0x1e4)](_0x1518ca,_0x1f4cdc){const _0x1e0d78=_0x51a979,_0x3b6da3=this[_0x1e0d78(0x175)](_0x1e0d78(0x1dd)+_0x1518ca+_0x1e0d78(0x19e)+_0x1f4cdc,_0x1e0d78(0x1e2));return{'execute':async()=>{const _0x5bf3f5=_0x1e0d78;await _0x3b6da3[_0x5bf3f5(0x163)];},'abortController':_0x3b6da3[_0x1e0d78(0x1cd)]};}[_0x51a979(0x189)](_0x44f461,_0x3ca203){const _0x184450=_0x51a979,_0x1fedbd=this[_0x184450(0x175)](_0x184450(0x1dd)+_0x44f461+_0x184450(0x1d5)+_0x3ca203,_0x184450(0x1e2));return{'execute':async()=>{const _0x40f819=_0x184450;await _0x1fedbd[_0x40f819(0x163)];},'abortController':_0x1fedbd[_0x184450(0x1cd)]};}[_0x51a979(0x1c6)](_0x57fcf7,_0x286fc0){const _0x1a1dd5=_0x51a979,_0x3c9793=this[_0x1a1dd5(0x175)](_0x1a1dd5(0x1dd)+_0x57fcf7+_0x1a1dd5(0x193)+_0x286fc0,_0x1a1dd5(0x1e2));return{'execute':async()=>{const _0x48527d=_0x1a1dd5;await _0x3c9793[_0x48527d(0x163)];},'abortController':_0x3c9793[_0x1a1dd5(0x1cd)]};}[_0x51a979(0x181)]({reviewName:_0x2272bc,content:_0x2eb7eb,args:_0x4fa216}){const _0xa0a48a=_0x51a979,_0x374c8e=this[_0xa0a48a(0x175)](_0xa0a48a(0x183)+_0x2272bc+_0xa0a48a(0x174),_0xa0a48a(0x1ae),{'content':[{'type':_0xa0a48a(0x17c),'content':_0x2eb7eb}],'args':_0x4fa216});return{'getStream':async()=>{const _0x2ed169=_0xa0a48a,_0x592a6d=(await _0x374c8e[_0x2ed169(0x163)])[_0x2ed169(0x17a)];return this[_0x2ed169(0x1b5)](_0x592a6d);},'abortController':_0x374c8e[_0xa0a48a(0x1cd)]};}[_0x51a979(0x192)]({content:_0xadd4ad,prompt:_0x5b2aaf,model:_0x55f94a}){const _0x3b50c2=_0x51a979,_0x42e4fc=this[_0x3b50c2(0x175)](_0x3b50c2(0x165),_0x3b50c2(0x1ae),{'content':[{'type':_0x3b50c2(0x17c),'content':_0xadd4ad}],'prompt':_0x5b2aaf,'model':_0x55f94a});return{'getStream':async()=>{const _0x1f498a=_0x3b50c2,_0x506692=(await _0x42e4fc[_0x1f498a(0x163)])[_0x1f498a(0x17a)];return this[_0x1f498a(0x1b5)](_0x506692);},'abortController':_0x42e4fc[_0x3b50c2(0x1cd)]};}[_0x51a979(0x1cf)](_0x1f6428,_0xc9d82,_0x4dd759){const _0x4f6dbd=_0x51a979,_0x3b0746=this[_0x4f6dbd(0x175)](_0x4f6dbd(0x1dd)+_0x1f6428+_0x4f6dbd(0x1b9)+_0xc9d82+_0x4f6dbd(0x1b2),_0x4f6dbd(0x1e0),{'positiveCount':_0x4dd759[_0x4f6dbd(0x1be)],'totalCount':_0x4dd759[_0x4f6dbd(0x1f5)],'modificationId':_0x4dd759[_0x4f6dbd(0x1d9)]});return{'execute':async()=>{const _0x478fe2=_0x4f6dbd;await _0x3b0746[_0x478fe2(0x163)];},'abortController':_0x3b0746[_0x4f6dbd(0x1cd)]};}[_0x51a979(0x171)](_0x356e66,_0x35c621,_0x4a211b){const _0x7361a9=_0x51a979,_0x5eb86c=this[_0x7361a9(0x175)](_0x7361a9(0x167)+_0x356e66+_0x7361a9(0x178)+_0x35c621+_0x7361a9(0x1b2),_0x7361a9(0x1e0),{'positiveCount':_0x4a211b[_0x7361a9(0x1be)],'totalCount':_0x4a211b[_0x7361a9(0x1f5)]});return{'execute':async()=>{const _0x43986f=_0x7361a9;await _0x5eb86c[_0x43986f(0x163)];},'abortController':_0x5eb86c[_0x7361a9(0x1cd)]};}[_0x51a979(0x1df)](_0xa9ebbb,_0x2a59d2){const _0x55714a=_0x51a979,_0x1ea496=this[_0x55714a(0x175)](_0x55714a(0x1aa)+_0xa9ebbb+_0x55714a(0x1b2),_0x55714a(0x1e0),{'positiveCount':_0x2a59d2[_0x55714a(0x1be)],'totalCount':_0x2a59d2[_0x55714a(0x1f5)]});return{'execute':async()=>{const _0x21e929=_0x55714a;await _0x1ea496[_0x21e929(0x163)];},'abortController':_0x1ea496[_0x55714a(0x1cd)]};}[_0x51a979(0x1eb)](_0x5570b,_0x4a9213,_0x1ea9c5,_0x4ec3a2){const _0x57eaa5=_0x51a979,_0x13e086=this[_0x57eaa5(0x175)](_0x57eaa5(0x183)+_0x5570b+_0x57eaa5(0x178)+_0x4a9213+_0x57eaa5(0x1b2),_0x57eaa5(0x1e0),{'positiveCount':_0x1ea9c5[_0x57eaa5(0x1be)],'totalCount':_0x1ea9c5[_0x57eaa5(0x1f5)],'dataId':_0x4ec3a2});return{'execute':async()=>{const _0x3682c4=_0x57eaa5;await _0x13e086[_0x3682c4(0x163)];},'abortController':_0x13e086[_0x57eaa5(0x1cd)]};}[_0x51a979(0x1b0)](_0x4462d1,_0x3621b3,_0x11158b){const _0x3a15c=_0x51a979,_0x57d7ae=this[_0x3a15c(0x175)](_0x3a15c(0x1c4)+_0x4462d1+_0x3a15c(0x1b2),_0x3a15c(0x1e0),{'positiveCount':_0x3621b3[_0x3a15c(0x1be)],'totalCount':_0x3621b3[_0x3a15c(0x1f5)],'dataId':_0x11158b});return{'execute':async()=>{const _0x1e8a9f=_0x3a15c;await _0x57d7ae[_0x1e8a9f(0x163)];},'abortController':_0x57d7ae[_0x3a15c(0x1cd)]};}[_0x51a979(0x175)](_0x10a02e,_0x59a290,_0xc61fc6){const _0x1ed729=_0x51a979,_0x133428=new AbortController(),_0x13d4e5=_0xc61fc6 instanceof FormData,_0x172061={'Authorization':_0x1ed729(0x1db)+this[_0x1ed729(0x1cb)]?.[_0x1ed729(0x16b)]};_0xc61fc6&&!_0x13d4e5&&(_0x172061[_0x1ed729(0x194)]=_0x1ed729(0x16f));const _0x75aabc={'method':_0x59a290,'headers':_0x172061,'signal':_0x133428[_0x1ed729(0x1f4)]};return _0xc61fc6&&(_0x75aabc[_0x1ed729(0x17a)]=_0x13d4e5?_0xc61fc6:JSON[_0x1ed729(0x1b3)](_0xc61fc6)),{'request':fetch(''+this[_0x1ed729(0x1d3)]+_0x10a02e,_0x75aabc)[_0x1ed729(0x1ec)](_0x4954ed=>{const _0x3cff37=_0x1ed729;this[_0x3cff37(0x1d7)](_0x4954ed);})[_0x1ed729(0x1d8)](_0x298334=>_0x298334['ok']?_0x298334:_0x298334[_0x1ed729(0x1ac)]()[_0x1ed729(0x1d8)](_0x3b5a5b=>{const _0x5a5dcd=_0x1ed729;throw{'url':this[_0x5a5dcd(0x1d3)],'path':_0x10a02e,'method':_0x59a290,'body':_0xc61fc6,'status':(_0x298334||{})[_0x5a5dcd(0x1ca)],'statusText':(_0x298334||{})[_0x5a5dcd(0x185)],'code':_0x3b5a5b[_0x5a5dcd(0x18b)],'message':_0x3b5a5b[_0x5a5dcd(0x172)],'traceId':_0x3b5a5b[_0x5a5dcd(0x17f)]};})),'abortController':_0x133428};}async*[_0x51a979(0x1b5)](_0x5da348){const _0x2c6c41=_0x51a979,_0x3af080=[],_0x1ed799=_0x5da348[_0x2c6c41(0x1c2)](),_0x23fe86=_0x1dad0c({'onError':_0x24c3a5=>{const _0x50feea=_0x2c6c41;this[_0x50feea(0x1d7)](_0x24c3a5);},'onEvent':_0x5eebcb=>{const _0x3c3ed6=_0x2c6c41;_0x5eebcb[_0x3c3ed6(0x1da)]=JSON[_0x3c3ed6(0x16c)](_0x5eebcb[_0x3c3ed6(0x1da)]),_0x3af080[_0x3c3ed6(0x1f1)](_0x5eebcb);}});try{let _0x2658bc=!0x1;for(;!_0x2658bc;){const {done:_0x23912a,value:_0xfc45f7}=await _0x1ed799[_0x2c6c41(0x198)]();_0x23912a&&(_0x2658bc=!0x0),_0x23fe86[_0x2c6c41(0x1a1)](this[_0x2c6c41(0x1f3)][_0x2c6c41(0x1f2)](_0xfc45f7,{'stream':!0x0})),yield*_0x3af080,_0x3af080[_0x2c6c41(0x1c0)]=0x0;}}catch(_0x1ec7f7){this[_0x2c6c41(0x1d7)](_0x1ec7f7);}finally{_0x1ed799[_0x2c6c41(0x1e1)](),_0x23fe86[_0x2c6c41(0x176)]();}}[_0x51a979(0x1d7)](_0x49c020){const _0x2ceaef=_0x51a979;if(_0x49c020 instanceof _0x6236a7)throw _0x49c020;if(_0x49c020 instanceof Error&&_0x2ceaef(0x18f)===_0x49c020[_0x2ceaef(0x180)])throw new _0x6236a7(_0x2ceaef(0x17d),this,{'originalError':_0x49c020});throw new _0x6236a7(_0x2ceaef(0x1a3),this,{'originalError':_0x49c020});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40aa86=_0xf8ba;(function(_0x4b141e,_0x48f199){const _0xb08747=_0xf8ba,_0x136663=_0x4b141e();while(!![]){try{const _0x25ca78=-parseInt(_0xb08747(0x167))/0x1+-parseInt(_0xb08747(0x192))/0x2*(-parseInt(_0xb08747(0x1a5))/0x3)+-parseInt(_0xb08747(0x1b4))/0x4+parseInt(_0xb08747(0x177))/0x5+-parseInt(_0xb08747(0x187))/0x6*(parseInt(_0xb08747(0x1ba))/0x7)+parseInt(_0xb08747(0x1ac))/0x8*(-parseInt(_0xb08747(0x183))/0x9)+parseInt(_0xb08747(0x1a4))/0xa;if(_0x25ca78===_0x48f199)break;else _0x136663['push'](_0x136663['shift']());}catch(_0x5240d5){_0x136663['push'](_0x136663['shift']());}}}(_0x3360,0x78298));import{ViewDowncastWriter as _0x3e972b}from'ckeditor5/src/engine.js';import{ContextPlugin as _0x2d584b,Editor as _0x390b06}from'ckeditor5/src/core.js';import{uid as _0x1a710e}from'ckeditor5/src/utils.js';import{getTranslation as _0x49aaff}from'./utils/common-translations.js';import{getEditorFromContext as _0x13d0c8}from'./utils/geteditorfromcontext.js';export const AI_VISUAL_SELECTION_MARKER_NAME=_0x40aa86(0x1a6);export class AIEditing extends _0x2d584b{constructor(_0x135579){const _0xfc1f33=_0x40aa86;super(_0x135579),this[_0xfc1f33(0x1c5)][_0xfc1f33(0x16f)][_0xfc1f33(0x189)](_0xfc1f33(0x19c),!0x0);}[_0x40aa86(0x166)];[_0x40aa86(0x191)]=null;[_0x40aa86(0x1b9)]=!0x1;[_0x40aa86(0x1b1)];static get[_0x40aa86(0x16b)](){const _0x455ed0=_0x40aa86;return _0x455ed0(0x18f);}static get[_0x40aa86(0x164)](){return!0x0;}static get[_0x40aa86(0x1b8)](){return!0x0;}get[_0x40aa86(0x190)](){const _0x18a21b=_0x40aa86;if(!this[_0x18a21b(0x1b1)]){const _0x4c2b9a=_0x13d0c8(this[_0x18a21b(0x1c5)]),_0x19b469=_0x4c2b9a[_0x18a21b(0x18c)][_0x18a21b(0x18a)](_0x18a21b(0x158))&&_0x4c2b9a[_0x18a21b(0x18c)][_0x18a21b(0x16d)](_0x18a21b(0x158))[_0x18a21b(0x190)];this[_0x18a21b(0x1b1)]=_0x19b469||_0x1a710e();}return this[_0x18a21b(0x1b1)];}async[_0x40aa86(0x171)](){const _0x377ce6=_0x40aa86,_0x5f2a81=_0x13d0c8(this[_0x377ce6(0x1c5)]),_0x29fbcf=_0x5f2a81[_0x377ce6(0x1b2)],_0x4a1120=_0x5f2a81[_0x377ce6(0x161)][_0x377ce6(0x17a)](_0x29fbcf[_0x377ce6(0x15e)][_0x377ce6(0x17d)](),{'convertAiChatSelectionMarker':!0x0}),_0x1f5bc0=new _0x3e972b(_0x5f2a81[_0x377ce6(0x1cb)][_0x377ce6(0x19f)][_0x377ce6(0x15e)]);this[_0x377ce6(0x184)](_0x4a1120,_0x1f5bc0);let _0x1d1ff7=await this[_0x377ce6(0x170)](_0x4a1120);const _0x3e0d00=this[_0x377ce6(0x1b7)](),_0x4e2fd7=[];for(const _0x19c65f of _0x3e0d00){const _0x396424='<'+_0x19c65f[_0x377ce6(0x1b3)]+_0x377ce6(0x194)+_0x19c65f[_0x377ce6(0x1b3)]+_0x377ce6(0x16e),_0x486771=_0x1d1ff7[_0x377ce6(0x19d)](_0x396424);_0x1d1ff7=_0x1d1ff7[_0x377ce6(0x1a7)](0x0,_0x486771)+_0x1d1ff7[_0x377ce6(0x1a7)](_0x486771+_0x396424[_0x377ce6(0x198)]);const _0x2ae89e='<'+_0x19c65f[_0x377ce6(0x1b3)]+_0x377ce6(0x15d)+_0x19c65f[_0x377ce6(0x1b3)]+_0x377ce6(0x18e),_0x16256f=_0x1d1ff7[_0x377ce6(0x19d)](_0x2ae89e);_0x1d1ff7=_0x1d1ff7[_0x377ce6(0x1a7)](0x0,_0x16256f)+_0x1d1ff7[_0x377ce6(0x1a7)](_0x16256f+_0x2ae89e[_0x377ce6(0x198)]),_0x4e2fd7[_0x377ce6(0x1ca)]({'markerName':_0x19c65f[_0x377ce6(0x1b3)],'start':_0x486771,'end':_0x16256f,'htmlFragment':_0x1d1ff7[_0x377ce6(0x1a7)](_0x486771,_0x16256f)});}return{'content':_0x1d1ff7,'version':_0x5f2a81[_0x377ce6(0x1b2)][_0x377ce6(0x15e)][_0x377ce6(0x16a)],'sessionId':this[_0x377ce6(0x190)],'selections':_0x4e2fd7};}async[_0x40aa86(0x16c)](){const _0x50a707=_0x40aa86;this[_0x50a707(0x1c5)]instanceof _0x390b06?this[_0x50a707(0x1bf)](this[_0x50a707(0x1c5)]):this[_0x50a707(0x1bd)](this[_0x50a707(0x1c5)][_0x50a707(0x1be)],_0x50a707(0x15b),(_0x4fdac8,_0x1f7fa2)=>{const _0x3ac4ee=_0x50a707;_0x1f7fa2['on'](_0x3ac4ee(0x1a8),()=>{const _0x4fbd2b=_0x3ac4ee;this[_0x4fbd2b(0x1bf)](_0x1f7fa2);});});}[_0x40aa86(0x15c)](_0x3f0d54){const _0x25ddfe=_0x40aa86;this[_0x25ddfe(0x166)]=_0x3f0d54;}async[_0x40aa86(0x170)](_0x140a13){const _0x557cae=_0x40aa86;let _0x50441d;const _0xfaf71e=_0x13d0c8(this[_0x557cae(0x1c5)]);if(this[_0x557cae(0x166)]){const _0x58f67f=_0xfaf71e[_0x557cae(0x161)][_0x557cae(0x186)][_0x557cae(0x160)][_0x557cae(0x159)](_0x140a13),_0x160bed=await this[_0x557cae(0x166)](_0x58f67f);_0x50441d=_0xfaf71e[_0x557cae(0x161)][_0x557cae(0x186)][_0x557cae(0x1c0)][_0x557cae(0x165)](_0x160bed);}else _0x50441d=_0xfaf71e[_0x557cae(0x161)][_0x557cae(0x186)][_0x557cae(0x180)](_0x140a13);return _0x50441d;}[_0x40aa86(0x1bf)](_0x394236){const _0x5ea4cc=_0x40aa86;_0x394236[_0x5ea4cc(0x1bb)][_0x5ea4cc(0x1a1)](_0x5ea4cc(0x1b6))[_0x5ea4cc(0x18b)]({'model':_0x5ea4cc(0x1a6),'view':{'classes':[_0x5ea4cc(0x163),_0x5ea4cc(0x18d)],'priority':0xc}}),_0x394236[_0x5ea4cc(0x1bb)][_0x5ea4cc(0x1a1)](_0x5ea4cc(0x1a9))[_0x5ea4cc(0x168)]({'model':_0x5ea4cc(0x1a6),'view':(_0x375f49,{writer:_0x8204a8,options:_0x54fc5c})=>_0x54fc5c[_0x5ea4cc(0x17e)]?_0x8204a8[_0x5ea4cc(0x1c4)](_0x375f49[_0x5ea4cc(0x1a3)]+':'+(_0x375f49[_0x5ea4cc(0x193)]?_0x5ea4cc(0x179):_0x5ea4cc(0x197))):null});}[_0x40aa86(0x1c3)](_0x46b2b6,_0x12ee57,_0x4197a0=!0x1,_0x276013=!0x1){const _0x16c332=_0x40aa86;if(this[_0x16c332(0x1b9)]&&!_0x276013)return!0x1;const _0x111e5f=_0x13d0c8(this[_0x16c332(0x1c5)])[_0x16c332(0x1b2)];return _0x111e5f[_0x16c332(0x1c7)](_0x4051d2=>{const _0x3a52a8=_0x16c332;this[_0x3a52a8(0x191)]&&this[_0x3a52a8(0x1af)](this[_0x3a52a8(0x191)]),this[_0x3a52a8(0x191)]=_0x12ee57,this[_0x3a52a8(0x1b9)]=_0x4197a0;let _0x4f008c=0x0;for(let _0x47cf3a of _0x46b2b6){const _0x596997=_0x3a52a8(0x1b0)+_0x4f008c;if(_0x47cf3a[_0x3a52a8(0x179)][_0x3a52a8(0x169)]){const _0x1a7b49=_0x47cf3a[_0x3a52a8(0x179)][_0x3a52a8(0x19e)](({item:_0x2ad4c7})=>!_0x111e5f[_0x3a52a8(0x1ae)][_0x3a52a8(0x17b)](_0x2ad4c7),{'boundaries':_0x47cf3a});_0x47cf3a=_0x4051d2[_0x3a52a8(0x17c)](_0x1a7b49,_0x47cf3a[_0x3a52a8(0x197)]);}_0x4051d2[_0x3a52a8(0x1a0)](_0x596997,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x47cf3a}),_0x4f008c++;}}),window[_0x16c332(0x1c9)]()?.[_0x16c332(0x1ad)](),!0x0;}[_0x40aa86(0x1af)](_0x225b23){const _0x5f58ab=_0x40aa86;if(this[_0x5f58ab(0x191)]!=_0x225b23)return!0x1;this[_0x5f58ab(0x191)]=null,this[_0x5f58ab(0x1b9)]=!0x1;const _0x30cc11=_0x13d0c8(this[_0x5f58ab(0x1c5)]),_0x5d353a=_0x30cc11[_0x5f58ab(0x1b2)][_0x5f58ab(0x175)][_0x5f58ab(0x15f)](_0x5f58ab(0x1a6));return _0x30cc11[_0x5f58ab(0x1b2)][_0x5f58ab(0x1c7)](_0x531700=>{const _0x2c581a=_0x5f58ab;for(const _0x1502a4 of _0x5d353a)_0x531700[_0x2c581a(0x176)](_0x1502a4);}),!0x0;}async[_0x40aa86(0x199)](_0x1ec2ce){const _0x3a1578=_0x40aa86,_0x329bf5=_0x13d0c8(this[_0x3a1578(0x1c5)]),_0x4adfb8=_0x329bf5[_0x3a1578(0x161)][_0x3a1578(0x17a)](_0x1ec2ce),_0x35eb6c=new _0x3e972b(_0x329bf5[_0x3a1578(0x1cb)][_0x3a1578(0x19f)][_0x3a1578(0x15e)]);return this[_0x3a1578(0x184)](_0x4adfb8,_0x35eb6c),this[_0x3a1578(0x170)](_0x4adfb8);}[_0x40aa86(0x184)](_0x32693f,_0x491ba2){const _0x28778c=_0x40aa86;let _0x5d6dfc=!0x1;const _0x43cecc=new Set();for(const _0x38b960 of _0x32693f[_0x28778c(0x162)]()){const _0x2576d4=_0x38b960['is'](_0x28778c(0x185))||_0x38b960['is'](_0x28778c(0x1ab));if(!_0x38b960['is'](_0x28778c(0x1b5)))continue;(this[_0x28778c(0x184)](_0x38b960,_0x491ba2)||_0x2576d4)&&(_0x491ba2[_0x28778c(0x172)](_0x28778c(0x174),this[_0x28778c(0x1aa)](_0x43cecc),_0x38b960),_0x5d6dfc=!0x0);}return _0x5d6dfc;}[_0x40aa86(0x1aa)](_0x57b5cc){const _0x32bf4a=_0x40aa86;let _0x3a891c;do{_0x3a891c='';for(let _0x14229c=0x0;_0x14229c<0x4;_0x14229c++)_0x3a891c+=String[_0x32bf4a(0x173)](0x61+Math[_0x32bf4a(0x15a)](0x1a*Math[_0x32bf4a(0x1c2)]()));}while(_0x57b5cc[_0x32bf4a(0x18a)](_0x3a891c));return _0x57b5cc[_0x32bf4a(0x15b)](_0x3a891c),_0x3a891c;}[_0x40aa86(0x1c1)](){const _0xe77c77=_0x40aa86,{model:_0x365196}=_0x13d0c8(this[_0xe77c77(0x1c5)]),_0xc9c997=_0x365196[_0xe77c77(0x15e)][_0xe77c77(0x17f)],_0x23135c=[];for(const _0x1a6100 of _0xc9c997[_0xe77c77(0x188)]())for(const _0x36fad9 of _0x1a6100[_0xe77c77(0x19b)]())_0x36fad9['is'](_0xe77c77(0x1bc))?_0x23135c[_0xe77c77(0x1ca)](_0x36fad9[_0xe77c77(0x161)]):_0x36fad9['is'](_0xe77c77(0x1b5))&&_0x23135c[_0xe77c77(0x198)]>0x0&&'\x20'!==_0x23135c[_0x23135c[_0xe77c77(0x198)]-0x1]&&_0x23135c[_0xe77c77(0x1ca)]('\x20');return _0x23135c[_0xe77c77(0x198)]?'\x22'+_0x23135c[_0xe77c77(0x181)]('')[_0xe77c77(0x178)]()+'\x22':_0x49aaff(this[_0xe77c77(0x1c5)][_0xe77c77(0x1c8)],_0xe77c77(0x1a2));}[_0x40aa86(0x1b7)](){const _0x3d4c4c=_0x40aa86,_0x52b4d6=_0x13d0c8(this[_0x3d4c4c(0x1c5)])[_0x3d4c4c(0x1b2)];return Array[_0x3d4c4c(0x1c6)](_0x52b4d6[_0x3d4c4c(0x175)][_0x3d4c4c(0x15f)](_0x3d4c4c(0x1a6)))[_0x3d4c4c(0x182)]((_0x599652,_0x5acd85)=>_0x599652[_0x3d4c4c(0x196)]()[_0x3d4c4c(0x195)](_0x5acd85[_0x3d4c4c(0x196)]())?-0x1:_0x599652[_0x3d4c4c(0x196)]()[_0x3d4c4c(0x19a)](_0x5acd85[_0x3d4c4c(0x196)]())?0x1:0x0);}}function _0xf8ba(_0x33ac0e,_0x2df690){const _0x336059=_0x3360();return _0xf8ba=function(_0xf8ba49,_0x42eba1){_0xf8ba49=_0xf8ba49-0x158;let _0x197602=_0x336059[_0xf8ba49];return _0x197602;},_0xf8ba(_0x33ac0e,_0x2df690);}function _0x3360(){const _0x51f51e=['pluginName','afterInit','get',':start>','config','_getDocumentDataStringFromView','getDocumentData','setAttribute','fromCharCode','data-id','markers','removeMarker','1741345naOLuU','trim','start','toView','isContent','createRange','getRoot','convertAiChatSelectionMarker','selection','toData','join','sort','15633bxcarq','_setDataIdsOnChildren','emptyElement','processor','6UMdbBO','getRanges','define','has','markerToHighlight','plugins','ck-ai-assistant-ui_theme',':end>','AIEditing','sessionId','_displayedFakeSelectionId','134alYJeo','isOpening',':start></','isBefore','getStart','end','length','modelToDataWithIds','isAfter','getItems','ai.models.showModelSelector','indexOf','getLastMatchingPosition','view','addMarker','for','AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','markerName','13026170PITDlU','30702fOjZhJ','ai-selection','substring','ready','dataDowncast','_nextDataId','containerElement','4040USQUxr','removeAllRanges','schema','hideFakeVisualSelection','ai-selection:','_sessionId','model','name','990356ibSOKk','element','editingDowncast','_getMarkersInDocumentOrder','isPremiumPlugin','_displayedFakeSelectionLocked','4947467YoWemt','conversion','$textProxy','listenTo','editors','_integrateEditor','htmlWriter','getSelectionText','random','showFakeVisualSelection','createUIElement','context','from','change','locale','getSelection','push','editing','RealTimeCollaborationClient','viewToDom','floor','add','_setOutputDataProcessor',':end></','document','getMarkersGroup','domConverter','data','getChildren','ck-fake-ai-selection','isOfficialPlugin','getHtml','_outputDataProcessor','12825PYqlfK','markerToElement','isAtEnd','version'];_0x3360=function(){return _0x51f51e;};return _0x3360();}
23
+ const _0x29f28c=_0x5720;(function(_0x3a6a0d,_0x1a7ab1){const _0x46cdc2=_0x5720,_0x562f9d=_0x3a6a0d();while(!![]){try{const _0x34b761=parseInt(_0x46cdc2(0x219))/0x1+-parseInt(_0x46cdc2(0x1d1))/0x2+-parseInt(_0x46cdc2(0x22c))/0x3*(-parseInt(_0x46cdc2(0x1de))/0x4)+parseInt(_0x46cdc2(0x234))/0x5*(parseInt(_0x46cdc2(0x1ff))/0x6)+parseInt(_0x46cdc2(0x1fc))/0x7*(parseInt(_0x46cdc2(0x1cc))/0x8)+-parseInt(_0x46cdc2(0x22d))/0x9*(-parseInt(_0x46cdc2(0x1d0))/0xa)+-parseInt(_0x46cdc2(0x1c7))/0xb*(parseInt(_0x46cdc2(0x1d5))/0xc);if(_0x34b761===_0x1a7ab1)break;else _0x562f9d['push'](_0x562f9d['shift']());}catch(_0x214265){_0x562f9d['push'](_0x562f9d['shift']());}}}(_0x2d7e,0x77836));import{ViewDowncastWriter as _0x363d9f}from'ckeditor5/src/engine.js';import{ContextPlugin as _0x50d022,Editor as _0x30cc69}from'ckeditor5/src/core.js';import{uid as _0x196cd8}from'ckeditor5/src/utils.js';function _0x5720(_0x1f0a10,_0x3d3efe){const _0x2d7ea6=_0x2d7e();return _0x5720=function(_0x5720ce,_0x428e5d){_0x5720ce=_0x5720ce-0x1c5;let _0x12ca97=_0x2d7ea6[_0x5720ce];return _0x12ca97;},_0x5720(_0x1f0a10,_0x3d3efe);}function _0x2d7e(){const _0x5cc051=['_getDocumentDataStringFromView','4NjJCGo','toView','start','containerElement','getItems','isOfficialPlugin','data','editingDowncast','trim','getLastMatchingPosition','data-id','hideFakeVisualSelection','schema','selection','createRange','getStart','for','getHtml','_displayedFakeSelectionLocked','markerToElement','toData','AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','removeMarker','_setDataIdsOnChildren',':start>','push','isAtEnd','isPremiumPlugin','domConverter','markers','119LLWALd','_integrateEditor','locale','193770FUNgoO','ai-selection:','isOpening','ai-selection','fromCharCode','define','removeAllRanges','random','config','createUIElement','markerToHighlight','_outputDataProcessor','$textProxy','processor','emptyElement','sessionId','pluginName','name','context','indexOf','view','getSelection','markerName','length','substring','viewToDom','615353XtEGKk','listenTo','conversion',':start></','afterInit','convertAiChatSelectionMarker','isBefore','getSelectionText','sort','AIEditing','ready','getRoot','_setOutputDataProcessor','getDocumentData','dataDowncast','_getMarkersInDocumentOrder','end','_sessionId','has','912387ZMyxzH','3015Lmjkod','ai.models.showModelSelector','setAttribute','plugins','addMarker','RealTimeCollaborationClient','editing','20ckWIcj','from','getChildren','editors','isContent','document','get','floor','htmlWriter','3568609QuxKii','getMarkersGroup','model','element','join','118424QEIrCv',':end>','ck-ai-assistant-ui_theme','modelToDataWithIds','2480sVzEXj','1138896YpkgYZ','_displayedFakeSelectionId','ck-fake-ai-selection','getRanges','12TBOrXM','change',':end></','showFakeVisualSelection','add','isAfter','version','_nextDataId'];_0x2d7e=function(){return _0x5cc051;};return _0x2d7e();}import{getTranslation as _0x357b17}from'./utils/common-translations.js';import{getEditorFromContext as _0x40762e}from'./utils/geteditorfromcontext.js';export const AI_VISUAL_SELECTION_MARKER_NAME=_0x29f28c(0x202);export class AIEditing extends _0x50d022{constructor(_0x332452){const _0x31ba91=_0x29f28c;super(_0x332452),this[_0x31ba91(0x211)][_0x31ba91(0x207)][_0x31ba91(0x204)](_0x31ba91(0x22e),!0x0);}[_0x29f28c(0x20a)];[_0x29f28c(0x1d2)]=null;[_0x29f28c(0x1f0)]=!0x1;[_0x29f28c(0x22a)];static get[_0x29f28c(0x20f)](){const _0x15ab3d=_0x29f28c;return _0x15ab3d(0x222);}static get[_0x29f28c(0x1e3)](){return!0x0;}static get[_0x29f28c(0x1f9)](){return!0x0;}get[_0x29f28c(0x20e)](){const _0x5947ef=_0x29f28c;if(!this[_0x5947ef(0x22a)]){const _0x4534d4=_0x40762e(this[_0x5947ef(0x211)]),_0x5021eb=_0x4534d4[_0x5947ef(0x230)][_0x5947ef(0x22b)](_0x5947ef(0x232))&&_0x4534d4[_0x5947ef(0x230)][_0x5947ef(0x23a)](_0x5947ef(0x232))[_0x5947ef(0x20e)];this[_0x5947ef(0x22a)]=_0x5021eb||_0x196cd8();}return this[_0x5947ef(0x22a)];}async[_0x29f28c(0x226)](){const _0x58d24c=_0x29f28c,_0x444cb1=_0x40762e(this[_0x58d24c(0x211)]),_0x4d938d=_0x444cb1[_0x58d24c(0x1c9)],_0x29cec5=_0x444cb1[_0x58d24c(0x1e4)][_0x58d24c(0x1df)](_0x4d938d[_0x58d24c(0x239)][_0x58d24c(0x224)](),{'convertAiChatSelectionMarker':!0x0}),_0x49db72=new _0x363d9f(_0x444cb1[_0x58d24c(0x233)][_0x58d24c(0x213)][_0x58d24c(0x239)]);this[_0x58d24c(0x1f5)](_0x29cec5,_0x49db72);let _0x114d4e=await this[_0x58d24c(0x1dd)](_0x29cec5);const _0x3b8a39=this[_0x58d24c(0x228)](),_0x202282=[];for(const _0x1ddfb9 of _0x3b8a39){const _0x404868='<'+_0x1ddfb9[_0x58d24c(0x210)]+_0x58d24c(0x21c)+_0x1ddfb9[_0x58d24c(0x210)]+_0x58d24c(0x1f6),_0x2887ce=_0x114d4e[_0x58d24c(0x212)](_0x404868);_0x114d4e=_0x114d4e[_0x58d24c(0x217)](0x0,_0x2887ce)+_0x114d4e[_0x58d24c(0x217)](_0x2887ce+_0x404868[_0x58d24c(0x216)]);const _0x3e69b3='<'+_0x1ddfb9[_0x58d24c(0x210)]+_0x58d24c(0x1d7)+_0x1ddfb9[_0x58d24c(0x210)]+_0x58d24c(0x1cd),_0x200b3b=_0x114d4e[_0x58d24c(0x212)](_0x3e69b3);_0x114d4e=_0x114d4e[_0x58d24c(0x217)](0x0,_0x200b3b)+_0x114d4e[_0x58d24c(0x217)](_0x200b3b+_0x3e69b3[_0x58d24c(0x216)]),_0x202282[_0x58d24c(0x1f7)]({'markerName':_0x1ddfb9[_0x58d24c(0x210)],'start':_0x2887ce,'end':_0x200b3b,'htmlFragment':_0x114d4e[_0x58d24c(0x217)](_0x2887ce,_0x200b3b)});}return{'content':_0x114d4e,'version':_0x444cb1[_0x58d24c(0x1c9)][_0x58d24c(0x239)][_0x58d24c(0x1db)],'sessionId':this[_0x58d24c(0x20e)],'selections':_0x202282};}async[_0x29f28c(0x21d)](){const _0x2b7ba9=_0x29f28c;this[_0x2b7ba9(0x211)]instanceof _0x30cc69?this[_0x2b7ba9(0x1fd)](this[_0x2b7ba9(0x211)]):this[_0x2b7ba9(0x21a)](this[_0x2b7ba9(0x211)][_0x2b7ba9(0x237)],_0x2b7ba9(0x1d9),(_0x3eb76f,_0x239214)=>{const _0x370786=_0x2b7ba9;_0x239214['on'](_0x370786(0x223),()=>{const _0x18ef9d=_0x370786;this[_0x18ef9d(0x1fd)](_0x239214);});});}[_0x29f28c(0x225)](_0x22d87c){const _0x1b8789=_0x29f28c;this[_0x1b8789(0x20a)]=_0x22d87c;}async[_0x29f28c(0x1dd)](_0x5e8cd6){const _0x18338a=_0x29f28c;let _0x1049cc;const _0x1a4605=_0x40762e(this[_0x18338a(0x211)]);if(this[_0x18338a(0x20a)]){const _0x804f14=_0x1a4605[_0x18338a(0x1e4)][_0x18338a(0x20c)][_0x18338a(0x1fa)][_0x18338a(0x218)](_0x5e8cd6),_0x5d094a=await this[_0x18338a(0x20a)](_0x804f14);_0x1049cc=_0x1a4605[_0x18338a(0x1e4)][_0x18338a(0x20c)][_0x18338a(0x1c6)][_0x18338a(0x1ef)](_0x5d094a);}else _0x1049cc=_0x1a4605[_0x18338a(0x1e4)][_0x18338a(0x20c)][_0x18338a(0x1f2)](_0x5e8cd6);return _0x1049cc;}[_0x29f28c(0x1fd)](_0x3c3536){const _0x1ea231=_0x29f28c;_0x3c3536[_0x1ea231(0x21b)][_0x1ea231(0x1ee)](_0x1ea231(0x1e5))[_0x1ea231(0x209)]({'model':_0x1ea231(0x202),'view':{'classes':[_0x1ea231(0x1d3),_0x1ea231(0x1ce)],'priority':0xc}}),_0x3c3536[_0x1ea231(0x21b)][_0x1ea231(0x1ee)](_0x1ea231(0x227))[_0x1ea231(0x1f1)]({'model':_0x1ea231(0x202),'view':(_0x5c8040,{writer:_0x24faa8,options:_0x23eff5})=>_0x23eff5[_0x1ea231(0x21e)]?_0x24faa8[_0x1ea231(0x208)](_0x5c8040[_0x1ea231(0x215)]+':'+(_0x5c8040[_0x1ea231(0x201)]?_0x1ea231(0x1e0):_0x1ea231(0x229))):null});}[_0x29f28c(0x1d8)](_0x4e2a05,_0x1ffc31,_0x267cce=!0x1,_0x43707a=!0x1){const _0x3255bb=_0x29f28c;if(this[_0x3255bb(0x1f0)]&&!_0x43707a)return!0x1;const _0x4ce4b9=_0x40762e(this[_0x3255bb(0x211)])[_0x3255bb(0x1c9)];return _0x4ce4b9[_0x3255bb(0x1d6)](_0x177a26=>{const _0x4d5286=_0x3255bb;this[_0x4d5286(0x1d2)]&&this[_0x4d5286(0x1e9)](this[_0x4d5286(0x1d2)]),this[_0x4d5286(0x1d2)]=_0x1ffc31,this[_0x4d5286(0x1f0)]=_0x267cce;let _0x2207c8=0x0;for(let _0x3eb606 of _0x4e2a05){const _0x527f9f=_0x4d5286(0x200)+_0x2207c8;if(_0x3eb606[_0x4d5286(0x1e0)][_0x4d5286(0x1f8)]){const _0x385af4=_0x3eb606[_0x4d5286(0x1e0)][_0x4d5286(0x1e7)](({item:_0x3ef912})=>!_0x4ce4b9[_0x4d5286(0x1ea)][_0x4d5286(0x238)](_0x3ef912),{'boundaries':_0x3eb606});_0x3eb606=_0x177a26[_0x4d5286(0x1ec)](_0x385af4,_0x3eb606[_0x4d5286(0x229)]);}_0x177a26[_0x4d5286(0x231)](_0x527f9f,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3eb606}),_0x2207c8++;}}),window[_0x3255bb(0x214)]()?.[_0x3255bb(0x205)](),!0x0;}[_0x29f28c(0x1e9)](_0x5a39c2){const _0x2281d0=_0x29f28c;if(this[_0x2281d0(0x1d2)]!=_0x5a39c2)return!0x1;this[_0x2281d0(0x1d2)]=null,this[_0x2281d0(0x1f0)]=!0x1;const _0x403391=_0x40762e(this[_0x2281d0(0x211)]),_0x6c4757=_0x403391[_0x2281d0(0x1c9)][_0x2281d0(0x1fb)][_0x2281d0(0x1c8)](_0x2281d0(0x202));return _0x403391[_0x2281d0(0x1c9)][_0x2281d0(0x1d6)](_0x29946d=>{const _0x26d053=_0x2281d0;for(const _0x4d6bd8 of _0x6c4757)_0x29946d[_0x26d053(0x1f4)](_0x4d6bd8);}),!0x0;}async[_0x29f28c(0x1cf)](_0x3b1c4d){const _0x218dad=_0x29f28c,_0x2fafe1=_0x40762e(this[_0x218dad(0x211)]),_0x211d56=_0x2fafe1[_0x218dad(0x1e4)][_0x218dad(0x1df)](_0x3b1c4d),_0x1b0d83=new _0x363d9f(_0x2fafe1[_0x218dad(0x233)][_0x218dad(0x213)][_0x218dad(0x239)]);return this[_0x218dad(0x1f5)](_0x211d56,_0x1b0d83),this[_0x218dad(0x1dd)](_0x211d56);}[_0x29f28c(0x1f5)](_0x199268,_0x418a97){const _0x34468b=_0x29f28c;let _0x383c8e=!0x1;const _0x2649bf=new Set();for(const _0x74b864 of _0x199268[_0x34468b(0x236)]()){const _0xc615ee=_0x74b864['is'](_0x34468b(0x20d))||_0x74b864['is'](_0x34468b(0x1e1));if(!_0x74b864['is'](_0x34468b(0x1ca)))continue;(this[_0x34468b(0x1f5)](_0x74b864,_0x418a97)||_0xc615ee)&&(_0x418a97[_0x34468b(0x22f)](_0x34468b(0x1e8),this[_0x34468b(0x1dc)](_0x2649bf),_0x74b864),_0x383c8e=!0x0);}return _0x383c8e;}[_0x29f28c(0x1dc)](_0x5123a1){const _0xb5dd40=_0x29f28c;let _0x2631a1;do{_0x2631a1='';for(let _0x2eebcd=0x0;_0x2eebcd<0x4;_0x2eebcd++)_0x2631a1+=String[_0xb5dd40(0x203)](0x61+Math[_0xb5dd40(0x1c5)](0x1a*Math[_0xb5dd40(0x206)]()));}while(_0x5123a1[_0xb5dd40(0x22b)](_0x2631a1));return _0x5123a1[_0xb5dd40(0x1d9)](_0x2631a1),_0x2631a1;}[_0x29f28c(0x220)](){const _0x41fab6=_0x29f28c,{model:_0x1b7367}=_0x40762e(this[_0x41fab6(0x211)]),_0x32fef3=_0x1b7367[_0x41fab6(0x239)][_0x41fab6(0x1eb)],_0x5ba2cb=[];for(const _0x28f66b of _0x32fef3[_0x41fab6(0x1d4)]())for(const _0x22ee20 of _0x28f66b[_0x41fab6(0x1e2)]())_0x22ee20['is'](_0x41fab6(0x20b))?_0x5ba2cb[_0x41fab6(0x1f7)](_0x22ee20[_0x41fab6(0x1e4)]):_0x22ee20['is'](_0x41fab6(0x1ca))&&_0x5ba2cb[_0x41fab6(0x216)]>0x0&&'\x20'!==_0x5ba2cb[_0x5ba2cb[_0x41fab6(0x216)]-0x1]&&_0x5ba2cb[_0x41fab6(0x1f7)]('\x20');return _0x5ba2cb[_0x41fab6(0x216)]?'\x22'+_0x5ba2cb[_0x41fab6(0x1cb)]('')[_0x41fab6(0x1e6)]()+'\x22':_0x357b17(this[_0x41fab6(0x211)][_0x41fab6(0x1fe)],_0x41fab6(0x1f3));}[_0x29f28c(0x228)](){const _0x366579=_0x29f28c,_0x5d6286=_0x40762e(this[_0x366579(0x211)])[_0x366579(0x1c9)];return Array[_0x366579(0x235)](_0x5d6286[_0x366579(0x1fb)][_0x366579(0x1c8)](_0x366579(0x202)))[_0x366579(0x221)]((_0x180578,_0x2e072c)=>_0x180578[_0x366579(0x1ed)]()[_0x366579(0x21f)](_0x2e072c[_0x366579(0x1ed)]())?-0x1:_0x180578[_0x366579(0x1ed)]()[_0x366579(0x1da)](_0x2e072c[_0x366579(0x1ed)]())?0x1:0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x41fd(_0x1c6a5e,_0xc29e5a){const _0x1e4645=_0x1e46();return _0x41fd=function(_0x41fd79,_0x4fa38f){_0x41fd79=_0x41fd79-0x1e0;let _0x178c39=_0x1e4645[_0x41fd79];return _0x178c39;},_0x41fd(_0x1c6a5e,_0xc29e5a);}const _0x14f560=_0x41fd;(function(_0x297eb4,_0x308ea2){const _0x109a1e=_0x41fd,_0x49a59a=_0x297eb4();while(!![]){try{const _0x28a735=-parseInt(_0x109a1e(0x1fb))/0x1*(parseInt(_0x109a1e(0x1f8))/0x2)+parseInt(_0x109a1e(0x1e4))/0x3*(-parseInt(_0x109a1e(0x1ee))/0x4)+parseInt(_0x109a1e(0x1e2))/0x5*(-parseInt(_0x109a1e(0x1e3))/0x6)+parseInt(_0x109a1e(0x1f2))/0x7+-parseInt(_0x109a1e(0x1f3))/0x8*(-parseInt(_0x109a1e(0x1f6))/0x9)+parseInt(_0x109a1e(0x1f4))/0xa*(-parseInt(_0x109a1e(0x1f5))/0xb)+parseInt(_0x109a1e(0x1f7))/0xc;if(_0x28a735===_0x308ea2)break;else _0x49a59a['push'](_0x49a59a['shift']());}catch(_0x247e4c){_0x49a59a['push'](_0x49a59a['shift']());}}}(_0x1e46,0xa977e));import{EmitterMixin as _0x1a5493}from'ckeditor5/src/utils.js';export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x14f560(0x1f1)];export class AICapabilities extends _0x1a5493(){[_0x14f560(0x1ea)];[_0x14f560(0x1ef)];constructor(){const _0x113603=_0x14f560;super(),this[_0x113603(0x1ea)]=!0x1,this[_0x113603(0x1ef)]=!0x1;}[_0x14f560(0x1ec)](){const _0x2f95ce=_0x14f560;this[_0x2f95ce(0x1e8)]();}[_0x14f560(0x1e8)](){const _0xacacb9=_0x14f560;this[_0xacacb9(0x1e7)](!0x1),this[_0xacacb9(0x1e0)](!0x1);}[_0x14f560(0x1e5)](){const _0x3b9005=_0x14f560;return{'isWebSearchEnabled':this[_0x3b9005(0x1ea)],'isReasoningEnabled':this[_0x3b9005(0x1ef)]};}static[_0x14f560(0x1e1)](_0x39b1ae){const _0x4e6222=_0x14f560,_0x4706ee={};return _0x39b1ae&&_0x39b1ae[_0x4e6222(0x1eb)]&&(_0x4706ee[_0x4e6222(0x1e6)]={}),_0x39b1ae&&_0x39b1ae[_0x4e6222(0x1ed)]&&(_0x4706ee[_0x4e6222(0x1e9)]={}),_0x4706ee;}[_0x14f560(0x1fa)](){const _0x412df1=_0x14f560;this[_0x412df1(0x1e7)](!this[_0x412df1(0x1ea)]);}[_0x14f560(0x1f9)](){const _0x3c9a2a=_0x14f560;this[_0x3c9a2a(0x1e0)](!this[_0x3c9a2a(0x1ef)]);}[_0x14f560(0x1e7)](_0x586c05){const _0xfeaa6f=_0x14f560;_0x586c05!==this[_0xfeaa6f(0x1ea)]&&(this[_0xfeaa6f(0x1ea)]=_0x586c05,this[_0xfeaa6f(0x1f0)](_0xfeaa6f(0x1f1),this[_0xfeaa6f(0x1e5)]()));}[_0x14f560(0x1e0)](_0x519b9b){const _0x196662=_0x14f560;_0x519b9b!==this[_0x196662(0x1ef)]&&(this[_0x196662(0x1ef)]=_0x519b9b,this[_0x196662(0x1f0)](_0x196662(0x1f1),this[_0x196662(0x1e5)]()));}}function _0x1e46(){const _0x19056d=['getCapabilitiesRequestData','465535uuHUrZ','18CQNYLd','3164025KRdGRB','getCapabilitiesConfig','webSearch','setWebSearch','reset','reasoning','_isWebSearchEnabled','isWebSearchEnabled','init','isReasoningEnabled','4PNjYCZ','_isReasoningEnabled','fire','capabilitiesUpdated','8579438xAKSQX','88zmenIA','190VCfxtD','740465pzxRrB','9738kvCRNG','25578612GLzZEt','4426Eqremg','toggleReasoning','toggleWebSearch','28wQtUYK','setReasoning'];_0x1e46=function(){return _0x19056d;};return _0x1e46();}
23
+ function _0x2131(){const _0x2c92dc=['webSearch','23252cxOybE','setWebSearch','63bFlCrY','reasoning','738822ZHAnUT','capabilitiesUpdated','getCapabilitiesConfig','setReasoning','isReasoningEnabled','toggleReasoning','_isReasoningEnabled','4566654XBHycz','3924uGCrjr','fire','576590ExESyg','init','toggleWebSearch','4914049iWpMdd','1389486KgJUDf','getCapabilitiesRequestData','reset','4532AooCRS','8DWWjoQ','5wllrlA','isWebSearchEnabled','_isWebSearchEnabled','27yBKzvA'];_0x2131=function(){return _0x2c92dc;};return _0x2131();}const _0x324fab=_0x3ef3;(function(_0x114b8b,_0x4d23c3){const _0x37aaa2=_0x3ef3,_0x2081ef=_0x114b8b();while(!![]){try{const _0x2a7e58=-parseInt(_0x37aaa2(0xf4))/0x1+parseInt(_0x37aaa2(0xe6))/0x2+parseInt(_0x37aaa2(0xee))/0x3*(-parseInt(_0x37aaa2(0xf0))/0x4)+-parseInt(_0x37aaa2(0xeb))/0x5*(parseInt(_0x37aaa2(0xfb))/0x6)+parseInt(_0x37aaa2(0xe5))/0x7*(parseInt(_0x37aaa2(0xea))/0x8)+-parseInt(_0x37aaa2(0xf2))/0x9*(-parseInt(_0x37aaa2(0xe2))/0xa)+-parseInt(_0x37aaa2(0xe9))/0xb*(-parseInt(_0x37aaa2(0xfc))/0xc);if(_0x2a7e58===_0x4d23c3)break;else _0x2081ef['push'](_0x2081ef['shift']());}catch(_0x18a106){_0x2081ef['push'](_0x2081ef['shift']());}}}(_0x2131,0x5d777));function _0x3ef3(_0x52fb84,_0xb7358d){const _0x2131f5=_0x2131();return _0x3ef3=function(_0x3ef324,_0x7f2728){_0x3ef324=_0x3ef324-0xe1;let _0x520b1b=_0x2131f5[_0x3ef324];return _0x520b1b;},_0x3ef3(_0x52fb84,_0xb7358d);}import{EmitterMixin as _0xe08f0b}from'ckeditor5/src/utils.js';export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x324fab(0xf5)];export class AICapabilities extends _0xe08f0b(){[_0x324fab(0xed)];[_0x324fab(0xfa)];constructor(){const _0x2fe609=_0x324fab;super(),this[_0x2fe609(0xed)]=!0x1,this[_0x2fe609(0xfa)]=!0x1;}[_0x324fab(0xe3)](){const _0x4415c0=_0x324fab;this[_0x4415c0(0xe8)]();}[_0x324fab(0xe8)](){const _0x2c8324=_0x324fab;this[_0x2c8324(0xf1)](!0x1),this[_0x2c8324(0xf7)](!0x1);}[_0x324fab(0xf6)](){const _0x2fcf38=_0x324fab;return{'isWebSearchEnabled':this[_0x2fcf38(0xed)],'isReasoningEnabled':this[_0x2fcf38(0xfa)]};}static[_0x324fab(0xe7)](_0x1ea9f9){const _0xe5d559=_0x324fab,_0x42faf2={};return _0x1ea9f9&&_0x1ea9f9[_0xe5d559(0xec)]&&(_0x42faf2[_0xe5d559(0xef)]={}),_0x1ea9f9&&_0x1ea9f9[_0xe5d559(0xf8)]&&(_0x42faf2[_0xe5d559(0xf3)]={}),_0x42faf2;}[_0x324fab(0xe4)](){const _0x185df8=_0x324fab;this[_0x185df8(0xf1)](!this[_0x185df8(0xed)]);}[_0x324fab(0xf9)](){const _0x409995=_0x324fab;this[_0x409995(0xf7)](!this[_0x409995(0xfa)]);}[_0x324fab(0xf1)](_0x339ac9){const _0x71602f=_0x324fab;_0x339ac9!==this[_0x71602f(0xed)]&&(this[_0x71602f(0xed)]=_0x339ac9,this[_0x71602f(0xe1)](_0x71602f(0xf5),this[_0x71602f(0xf6)]()));}[_0x324fab(0xf7)](_0x16ce18){const _0x5446d5=_0x324fab;_0x16ce18!==this[_0x5446d5(0xfa)]&&(this[_0x5446d5(0xfa)]=_0x16ce18,this[_0x5446d5(0xe1)](_0x5446d5(0xf5),this[_0x5446d5(0xf6)]()));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x29929f,_0x265b45){var _0x49aee5=_0x2535,_0xf9c0ca=_0x29929f();while(!![]){try{var _0xbba965=-parseInt(_0x49aee5(0xc1))/0x1+-parseInt(_0x49aee5(0xc2))/0x2*(parseInt(_0x49aee5(0xd1))/0x3)+parseInt(_0x49aee5(0xc6))/0x4+parseInt(_0x49aee5(0xd9))/0x5+-parseInt(_0x49aee5(0xd0))/0x6*(-parseInt(_0x49aee5(0xcf))/0x7)+-parseInt(_0x49aee5(0xc5))/0x8+-parseInt(_0x49aee5(0xd6))/0x9*(parseInt(_0x49aee5(0xc8))/0xa);if(_0xbba965===_0x265b45)break;else _0xf9c0ca['push'](_0xf9c0ca['shift']());}catch(_0x37d35a){_0xf9c0ca['push'](_0xf9c0ca['shift']());}}}(_0x1a48,0x20245));export var AIContextItemType;!function(_0x9776a7){var _0x49e58d=_0x2535;_0x9776a7[_0x49e58d(0xcb)]=_0x49e58d(0xd2),_0x9776a7[_0x49e58d(0xc9)]=_0x49e58d(0xd5),_0x9776a7[_0x49e58d(0xd7)]=_0x49e58d(0xc0),_0x9776a7[_0x49e58d(0xcd)]=_0x49e58d(0xc7),_0x9776a7[_0x49e58d(0xd8)]=_0x49e58d(0xc4),_0x9776a7[_0x49e58d(0xcc)]=_0x49e58d(0xca);}(AIContextItemType||(AIContextItemType={}));export var AIContextTextResourceType;function _0x2535(_0x5b654d,_0x2c7406){var _0x1a480f=_0x1a48();return _0x2535=function(_0x253523,_0x4bfd08){_0x253523=_0x253523-0xc0;var _0x5d02f2=_0x1a480f[_0x253523];return _0x5d02f2;},_0x2535(_0x5b654d,_0x2c7406);}!function(_0x4f457e){var _0x4991b6=_0x2535;_0x4f457e[_0x4991b6(0xd8)]=_0x4991b6(0xc4),_0x4f457e[_0x4991b6(0xd3)]=_0x4991b6(0xd4),_0x4f457e[_0x4991b6(0xce)]=_0x4991b6(0xc3);}(AIContextTextResourceType||(AIContextTextResourceType={}));function _0x1a48(){var _0x97e718=['19626PmmbCq','1653eDKfFB','mcp-tool-context','MARKDOWN','markdown','file','9ewksNj','DOCUMENT','TEXT','779305YZnGbm','document','76367oGLvBf','878KRIjdr','html','text','466136nPMQsR','740712EgvvwP','web-resource','454780OlXKUP','FILE','selection','TOOL','SELECTION','URL','HTML','455DugBom'];_0x1a48=function(){return _0x97e718;};return _0x1a48();}
23
+ (function(_0x55d246,_0x2cf435){var _0x4b2b53=_0x5542,_0x793766=_0x55d246();while(!![]){try{var _0x515481=-parseInt(_0x4b2b53(0x10d))/0x1*(-parseInt(_0x4b2b53(0x114))/0x2)+-parseInt(_0x4b2b53(0x100))/0x3*(parseInt(_0x4b2b53(0x118))/0x4)+-parseInt(_0x4b2b53(0x11a))/0x5+-parseInt(_0x4b2b53(0x112))/0x6*(-parseInt(_0x4b2b53(0x117))/0x7)+-parseInt(_0x4b2b53(0x105))/0x8*(parseInt(_0x4b2b53(0x113))/0x9)+parseInt(_0x4b2b53(0x116))/0xa*(parseInt(_0x4b2b53(0x119))/0xb)+parseInt(_0x4b2b53(0xfe))/0xc*(parseInt(_0x4b2b53(0x110))/0xd);if(_0x515481===_0x2cf435)break;else _0x793766['push'](_0x793766['shift']());}catch(_0x36f25b){_0x793766['push'](_0x793766['shift']());}}}(_0x54e4,0x3f169));export var AIContextItemType;!function(_0x87e3b9){var _0x5c88b6=_0x5542;_0x87e3b9[_0x5c88b6(0x115)]=_0x5c88b6(0x106),_0x87e3b9[_0x5c88b6(0x10f)]=_0x5c88b6(0x102),_0x87e3b9[_0x5c88b6(0x10c)]=_0x5c88b6(0x104),_0x87e3b9[_0x5c88b6(0x10e)]=_0x5c88b6(0x10b),_0x87e3b9[_0x5c88b6(0x10a)]=_0x5c88b6(0x107),_0x87e3b9[_0x5c88b6(0x101)]=_0x5c88b6(0x108);}(AIContextItemType||(AIContextItemType={}));export var AIContextTextResourceType;function _0x5542(_0x15574d,_0x2022dc){var _0x54e48c=_0x54e4();return _0x5542=function(_0x554265,_0x24f95d){_0x554265=_0x554265-0xfe;var _0x23d03f=_0x54e48c[_0x554265];return _0x23d03f;},_0x5542(_0x15574d,_0x2022dc);}function _0x54e4(){var _0x29d35c=['51317uwwmUk','11624ViPtRz','385gTaZpn','2547070IfCRCr','9571332tlqxzd','HTML','501LnMBzu','SELECTION','file','MARKDOWN','document','82864gSLsmw','mcp-tool-context','text','selection','markdown','TEXT','web-resource','DOCUMENT','5712eWtQyN','URL','FILE','13ShfspA','html','186oDFVaW','207VJvvkK','122LdPZgg','TOOL','33730xVGOCb'];_0x54e4=function(){return _0x29d35c;};return _0x54e4();}!function(_0x22e5c5){var _0x46cba=_0x5542;_0x22e5c5[_0x46cba(0x10a)]=_0x46cba(0x107),_0x22e5c5[_0x46cba(0x103)]=_0x46cba(0x109),_0x22e5c5[_0x46cba(0xff)]=_0x46cba(0x111);}(AIContextTextResourceType||(AIContextTextResourceType={}));