@ckeditor/ckeditor5-ai 47.7.0-alpha.4 → 47.7.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fb4bb=_0x5d1b;(function(_0x31b785,_0x348c22){const _0x1d4522=_0x5d1b,_0x4df9d0=_0x31b785();while(!![]){try{const _0x1aa3f0=-parseInt(_0x1d4522(0x208))/0x1*(-parseInt(_0x1d4522(0x1e7))/0x2)+parseInt(_0x1d4522(0x214))/0x3+-parseInt(_0x1d4522(0x230))/0x4*(parseInt(_0x1d4522(0x1e5))/0x5)+-parseInt(_0x1d4522(0x207))/0x6*(parseInt(_0x1d4522(0x202))/0x7)+-parseInt(_0x1d4522(0x1fa))/0x8*(parseInt(_0x1d4522(0x1f6))/0x9)+-parseInt(_0x1d4522(0x220))/0xa+parseInt(_0x1d4522(0x21a))/0xb;if(_0x1aa3f0===_0x348c22)break;else _0x4df9d0['push'](_0x4df9d0['shift']());}catch(_0x2db6cc){_0x4df9d0['push'](_0x4df9d0['shift']());}}}(_0x26b7,0x79bad));import{ListItemView as _0x146380,HighlightedTextView as _0x12596e,ButtonView as _0x19c72b,ListView as _0x42730c,IconView as _0x339e40,createDropdown as _0x45c0a0,InputTextView as _0x3c590d}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x25ba04,IconPin as _0x2961ad,IconCheck as _0x310959,IconCancel as _0x55b6ee}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x572f58,ConfirmMixin as _0x2d9c9c}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x335c0c}from'es-toolkit/compat';function _0x26b7(){const _0x1438e4=['107JYpXNc','ck-ai-chat-history__item-check-container','ck-ai-chat-history__item-content','editConversationTitle','label','children','key','text','highlightText','createCollection','AI_CHAT_HISTORY_LOADING_RENAMING','pinned','1757856vAByhP','extendTemplate','mainContent','ck-confirm-view-cancel','addMany','AI_CHAT_HISTORY_EDIT_NAME','22047971GOLgpJ','actions','value','_createCheckView','_createAcceptEditButtonView','ck-ai-chat-history__item-date','7135420lIAyhH','clear','isVisible','AI_CHAT_HISTORY_ACCEPT','focus','LOADING_LABELS','_createEditInputView','ck-ai-loader__text','updateLoadingState','ck-ai-chat-history__item-actions','ck-confirm-view-submit','element','set','panelView','AI_CHAT_HISTORY_REMOVE','AI_CHAT_HISTORY_LOADING_UNPINNING','77048yxdrgx','updateTitle','ck-ai-chat-history__item-check','ck-ai-chat-history__item-title','_commitEditInputValue','click','edit:cancel','AI_CHAT_HISTORY_PIN_BUTTON','AI_CHAT_HISTORY_LOADING_PINNING','AI_CHAT_HISTORY_LOADING_REMOVING','ck-ai-chat-history__item-row','AI_CHAT_HISTORY_CANCEL','panelPosition','listitem','change:isEdit','withText','removeConversation','ck-ai-chat-history__item--active','Enter','string','setTemplate','_createMenuDropdownView','ck-ai-chat-history__item--edit','loadingState','135OGSMXG','tiny','16662IZuQDc','isOn','fire','add','div','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','_createSpinnerView','AI_CHAT_HISTORY_REMOVE_CONFIRM','isMatching','span','isEdit','_createPinButtonView','showConfirm','locale','ck-ai-chat-history__item-main-content','25209ZsGbaU','_titleView','then','setConversationPinned','2552tgMCBh','items','bind','ck-ai-chat-history__item','selectConversation','ck-ai-loader','ck-hidden','bindTemplate','630nvFfPX','match','buttonView','execute','_createCancelEditButtonView','57066qeqVDY'];_0x26b7=function(){return _0x1438e4;};return _0x26b7();}import{AISpinnerView as _0x4825bc}from'../../aicore/ui/aispinner.js';function _0x5d1b(_0x5ca28d,_0x3d3120){const _0x26b758=_0x26b7();return _0x5d1b=function(_0x5d1b23,_0x52c328){_0x5d1b23=_0x5d1b23-0x1e5;let _0x4354e7=_0x26b758[_0x5d1b23];return _0x4354e7;},_0x5d1b(_0x5ca28d,_0x3d3120);}import{getTranslation as _0xd91f3e}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
- _0x2d9c9c(_0x146380){['id'];static [_0x1fb4bb(0x225)]={'remove':_0x1fb4bb(0x239),'rename':_0x1fb4bb(0x212),'pin':_0x1fb4bb(0x238),'unpin':_0x1fb4bb(0x22f)};[_0x1fb4bb(0x21b)];[_0x1fb4bb(0x216)];[_0x1fb4bb(0x1f7)];constructor(_0x1a6621,_0x32f5fb){const _0x31d7f4=_0x1fb4bb;super(_0x1a6621);const _0x4331e6=this[_0x31d7f4(0x201)];this[_0x31d7f4(0x22c)](_0x31d7f4(0x1f1),!0x1),this[_0x31d7f4(0x22c)](_0x31d7f4(0x222),!0x0),this[_0x31d7f4(0x22c)](_0x31d7f4(0x213),!!_0x32f5fb[_0x31d7f4(0x213)]),this[_0x31d7f4(0x22c)](_0x31d7f4(0x247),null),this['id']=_0x32f5fb['id'];const {title:_0x300c7f,createdAt:_0x159644,active:_0x49c99d=!0x1}=_0x32f5fb;this[_0x31d7f4(0x1f7)]=new _0x12596e(),this[_0x31d7f4(0x1f7)][_0x31d7f4(0x20f)]=_0x300c7f,this[_0x31d7f4(0x1f7)][_0x31d7f4(0x215)]({'attributes':{'class':[_0x31d7f4(0x233)]}});const _0x3a2b97=this[_0x31d7f4(0x21d)](),_0x5e4a29=this[_0x31d7f4(0x1f2)](_0x1a6621),_0xb69af6=this[_0x31d7f4(0x245)](),_0x5b2152=this[_0x31d7f4(0x226)](_0x1a6621,_0x300c7f),_0x256660=this[_0x31d7f4(0x21e)](_0x1a6621,_0x5b2152),_0x4fefcb=this[_0x31d7f4(0x206)](_0x1a6621,_0x5b2152);this[_0x31d7f4(0x21b)]=this[_0x31d7f4(0x211)](),this[_0x31d7f4(0x216)]=this[_0x31d7f4(0x211)](),this[_0x31d7f4(0x216)][_0x31d7f4(0x1ea)](this[_0x31d7f4(0x1f7)]),this[_0x31d7f4(0x21b)][_0x31d7f4(0x1ea)](_0x5e4a29),this[_0x31d7f4(0x21b)][_0x31d7f4(0x1ea)](_0xb69af6),this['on'](_0x31d7f4(0x23e),(_0x345fc1,_0x2292c8,_0x214e56)=>{const _0x2f24a2=_0x31d7f4;this[_0x2f24a2(0x21b)][_0x2f24a2(0x221)](),this[_0x2f24a2(0x216)][_0x2f24a2(0x221)](),_0x214e56?(this[_0x2f24a2(0x21b)][_0x2f24a2(0x1ea)](_0x256660),this[_0x2f24a2(0x21b)][_0x2f24a2(0x1ea)](_0x4fefcb),this[_0x2f24a2(0x216)][_0x2f24a2(0x1ea)](_0x5b2152),_0x5b2152[_0x2f24a2(0x22b)][_0x2f24a2(0x224)]()):(this[_0x2f24a2(0x21b)][_0x2f24a2(0x1ea)](_0x5e4a29),this[_0x2f24a2(0x21b)][_0x2f24a2(0x1ea)](_0xb69af6),this[_0x2f24a2(0x216)][_0x2f24a2(0x1ea)](this[_0x2f24a2(0x1f7)]));}),this[_0x31d7f4(0x244)]({'tag':'li','attributes':{'class':[_0x31d7f4(0x1fd),_0x49c99d?_0x31d7f4(0x241):'',_0x4331e6['if'](_0x31d7f4(0x222),_0x31d7f4(0x200),_0x1f1201=>!_0x1f1201),_0x4331e6['if'](_0x31d7f4(0x1f1),_0x31d7f4(0x246))],'role':_0x31d7f4(0x23d)},'children':[{'tag':_0x31d7f4(0x1f0),'attributes':{'class':[_0x31d7f4(0x209)]},'children':[{'tag':_0x31d7f4(0x1eb),'attributes':{'class':[_0x31d7f4(0x232),_0x4331e6['if'](_0x31d7f4(0x247),_0x31d7f4(0x200),_0x39977a=>!!_0x39977a)]},'children':_0x49c99d?[_0x3a2b97]:[]},{'tag':_0x31d7f4(0x1eb),'attributes':{'class':[_0x31d7f4(0x1ff),_0x4331e6['if'](_0x31d7f4(0x247),_0x31d7f4(0x200),_0x6ec609=>!_0x6ec609)]},'children':[this[_0x31d7f4(0x1ed)]()]}]},{'tag':_0x31d7f4(0x1eb),'attributes':{'class':[_0x31d7f4(0x23a)]},'children':[{'tag':_0x31d7f4(0x1eb),'attributes':{'class':[_0x31d7f4(0x20a)]},'on':{'click':this[_0x31d7f4(0x201)]['to'](_0x31d7f4(0x235))},'children':[{'tag':_0x31d7f4(0x1eb),'attributes':{'class':[_0x31d7f4(0x1f5)]},'children':[{'tag':_0x31d7f4(0x1eb),'attributes':{'class':[_0x31d7f4(0x233),_0x4331e6['if'](_0x31d7f4(0x247),_0x31d7f4(0x200),_0x5ab6f9=>!!_0x5ab6f9)]},'children':this[_0x31d7f4(0x216)]},{'tag':_0x31d7f4(0x1eb),'attributes':{'class':[_0x31d7f4(0x227),_0x4331e6['if'](_0x31d7f4(0x247),_0x31d7f4(0x200),_0x4ccb1=>!_0x4ccb1)]},'children':[{'text':_0x4331e6['to'](_0x31d7f4(0x247),_0x1211a3=>_0x1211a3?_0xd91f3e(this[_0x31d7f4(0x1f4)],AIChatHistoryListItemView[_0x31d7f4(0x225)][_0x1211a3]):'')}]}]},{'tag':_0x31d7f4(0x1f0),'attributes':{'class':[_0x31d7f4(0x21f)]},'children':[_0x159644]}]},{'tag':_0x31d7f4(0x1eb),'attributes':{'class':[_0x31d7f4(0x229)]},'children':this[_0x31d7f4(0x21b)]}]}]}),this['on'](_0x31d7f4(0x235),()=>{const _0x416763=_0x31d7f4;this[_0x416763(0x1f1)]||this[_0x416763(0x1e9)](_0x416763(0x1fe),{'id':this['id']});});}[_0x1fb4bb(0x231)](_0x1c999b){const _0x2a93b8=_0x1fb4bb;this[_0x2a93b8(0x1f7)][_0x2a93b8(0x20f)]=_0x335c0c(_0x1c999b);}[_0x1fb4bb(0x228)](_0x51a3b5,_0x387e1c){const _0x4ef415=_0x1fb4bb;this[_0x4ef415(0x22c)](_0x4ef415(0x247),_0x387e1c?_0x51a3b5:null);}[_0x1fb4bb(0x21d)](){const _0x32f443=_0x1fb4bb,_0x49b595=new _0x339e40();return _0x49b595[_0x32f443(0x22c)]({'content':_0x310959}),_0x49b595;}[_0x1fb4bb(0x1f2)](_0x2d90ab){const _0x20c0ff=_0x1fb4bb,_0x3b4972=new _0x19c72b(_0x2d90ab);return _0x3b4972[_0x20c0ff(0x22c)]({'label':_0xd91f3e(_0x2d90ab,_0x20c0ff(0x237)),'icon':_0x2961ad,'withText':!0x1,'tooltip':!0x0}),_0x3b4972[_0x20c0ff(0x1fc)](_0x20c0ff(0x1e8))['to'](this,_0x20c0ff(0x213)),_0x3b4972['on'](_0x20c0ff(0x205),()=>{const _0x36cf7c=_0x20c0ff,_0xccd414=!this[_0x36cf7c(0x213)];this[_0x36cf7c(0x1e9)](_0x36cf7c(0x1f9),{'id':this['id'],'pinned':_0xccd414});}),_0x3b4972;}[_0x1fb4bb(0x245)](){const _0x181a3c=_0x1fb4bb,_0x2d83d6=_0x45c0a0(this[_0x181a3c(0x1f4)],_0x572f58),_0x43a4d7=_0x2d83d6[_0x181a3c(0x22d)][_0x181a3c(0x20d)];_0x2d83d6[_0x181a3c(0x204)][_0x181a3c(0x22c)]({'label':_0xd91f3e(this[_0x181a3c(0x1f4)],_0x181a3c(0x1ec)),'icon':_0x25ba04}),_0x2d83d6[_0x181a3c(0x23c)]='sw';const _0x106094=new _0x19c72b(this[_0x181a3c(0x1f4)]);_0x106094[_0x181a3c(0x20c)]=_0xd91f3e(this[_0x181a3c(0x1f4)],_0x181a3c(0x219)),_0x106094[_0x181a3c(0x23f)]=!0x0,_0x106094['on'](_0x181a3c(0x205),()=>{const _0x587c4a=_0x181a3c;this[_0x587c4a(0x1f1)]=!0x0;});const _0x3661bd=new _0x19c72b(this[_0x181a3c(0x1f4)]);_0x3661bd[_0x181a3c(0x20c)]=_0xd91f3e(this[_0x181a3c(0x1f4)],_0x181a3c(0x22e)),_0x3661bd[_0x181a3c(0x23f)]=!0x0,_0x3661bd['on'](_0x181a3c(0x205),()=>{const _0x2b1c8a=_0x181a3c;this[_0x2b1c8a(0x1f3)](_0xd91f3e(this[_0x2b1c8a(0x1f4)],_0x2b1c8a(0x1ee)),this[_0x2b1c8a(0x22b)])[_0x2b1c8a(0x1f8)](()=>{const _0x5a9e25=_0x2b1c8a;this[_0x5a9e25(0x1e9)](_0x5a9e25(0x240),{'id':this['id']});});});const _0x345724=new _0x42730c(this[_0x181a3c(0x1f4)]),_0x5b750a=new _0x146380(this[_0x181a3c(0x1f4)]);_0x5b750a[_0x181a3c(0x20d)][_0x181a3c(0x1ea)](_0x106094);const _0x12f4a4=new _0x146380(this[_0x181a3c(0x1f4)]);return _0x12f4a4[_0x181a3c(0x20d)][_0x181a3c(0x1ea)](_0x3661bd),_0x345724[_0x181a3c(0x1fb)][_0x181a3c(0x218)]([_0x5b750a,_0x12f4a4]),_0x43a4d7[_0x181a3c(0x1ea)](_0x345724),_0x2d83d6;}[_0x1fb4bb(0x226)](_0x131a17,_0xf61f81){const _0x1b543b=_0x1fb4bb,_0xcfe99b=new _0x3c590d(_0x131a17),_0xe4972f=_0xcfe99b[_0x1b543b(0x201)];return _0xcfe99b[_0x1b543b(0x21c)]=_0xf61f81,_0xcfe99b[_0x1b543b(0x215)]({'on':{'keydown':_0xe4972f['to'](_0x5820b2=>{const _0x49765e=_0x1b543b;_0x49765e(0x242)==_0x5820b2[_0x49765e(0x20e)]&&this[_0x49765e(0x234)](_0xcfe99b);})}}),_0xcfe99b;}[_0x1fb4bb(0x21e)](_0xbc0b6c,_0x1c128d){const _0x2862fa=_0x1fb4bb,_0x195aec=new _0x19c72b(_0xbc0b6c);return _0x195aec[_0x2862fa(0x22c)]({'icon':_0x310959,'withText':!0x1,'tooltip':_0xd91f3e(_0xbc0b6c,_0x2862fa(0x223))}),_0x195aec[_0x2862fa(0x215)]({'attributes':{'class':[_0x2862fa(0x22a)]}}),_0x195aec['on'](_0x2862fa(0x205),()=>{const _0x2f971e=_0x2862fa;this[_0x2f971e(0x234)](_0x1c128d);}),_0x195aec;}[_0x1fb4bb(0x234)](_0x5761d4){const _0x8737d3=_0x1fb4bb,_0x1c9adc=_0x5761d4[_0x8737d3(0x22b)][_0x8737d3(0x21c)]||'';this[_0x8737d3(0x1f7)][_0x8737d3(0x20f)]=_0x1c9adc,this[_0x8737d3(0x1f1)]=!0x1,this[_0x8737d3(0x1e9)](_0x8737d3(0x20b),{'id':this['id'],'title':_0x1c9adc});}[_0x1fb4bb(0x206)](_0xf57cc1,_0x45783e){const _0x84df9=_0x1fb4bb,_0x1b4b89=new _0x19c72b(_0xf57cc1);return _0x1b4b89[_0x84df9(0x22c)]({'icon':_0x55b6ee,'withText':!0x1,'tooltip':_0xd91f3e(_0xf57cc1,_0x84df9(0x23b))}),_0x1b4b89[_0x84df9(0x215)]({'attributes':{'class':[_0x84df9(0x217)]}}),_0x1b4b89['on'](_0x84df9(0x205),()=>{const _0x40e3ca=_0x84df9;this[_0x40e3ca(0x1f1)]=!0x1,_0x45783e[_0x40e3ca(0x21c)]=this[_0x40e3ca(0x1f7)][_0x40e3ca(0x20f)]||'',this[_0x40e3ca(0x1e9)](_0x40e3ca(0x236));}),_0x1b4b89;}[_0x1fb4bb(0x1ed)](){const _0x1841b4=_0x1fb4bb,_0x198d8f=new _0x4825bc(_0x1841b4(0x1e6));return _0x198d8f[_0x1841b4(0x222)]=!0x0,_0x198d8f;}[_0x1fb4bb(0x1ef)](_0x276dc2){const _0x9efbbe=_0x1fb4bb;return this[_0x9efbbe(0x1f7)]&&_0x9efbbe(0x243)==typeof this[_0x9efbbe(0x1f7)][_0x9efbbe(0x20f)]&&this[_0x9efbbe(0x1f7)][_0x9efbbe(0x20f)][_0x9efbbe(0x203)](_0x276dc2)?{'title':!0x0}:null;}[_0x1fb4bb(0x210)](_0x4b2d48){const _0x52cacc=_0x1fb4bb;this[_0x52cacc(0x1f7)][_0x52cacc(0x210)](_0x4b2d48);}}
23
+ const _0x2da127=_0x509a;(function(_0x5bc0aa,_0x307979){const _0x4e1a39=_0x509a,_0xea0281=_0x5bc0aa();while(!![]){try{const _0x503a92=parseInt(_0x4e1a39(0xdc))/0x1+parseInt(_0x4e1a39(0xb4))/0x2+-parseInt(_0x4e1a39(0xaf))/0x3+parseInt(_0x4e1a39(0xac))/0x4+parseInt(_0x4e1a39(0xe4))/0x5+parseInt(_0x4e1a39(0xb3))/0x6+-parseInt(_0x4e1a39(0x99))/0x7;if(_0x503a92===_0x307979)break;else _0xea0281['push'](_0xea0281['shift']());}catch(_0x300325){_0xea0281['push'](_0xea0281['shift']());}}}(_0x338f,0x289df));import{ListItemView as _0x2a1574,HighlightedTextView as _0x53b46a,ButtonView as _0x1f89d3,ListView as _0x384409,IconView as _0x2506a6,createDropdown as _0x5d67d1,InputTextView as _0x1173df}from'ckeditor5/src/ui.js';function _0x338f(){const _0x4bdf4c=['256464uNRgFu','updateTitle','AI_CHAT_HISTORY_LOADING_UNPINNING','setConversationPinned','tiny','ck-ai-chat-history__item-date','value','ck-ai-chat-history__item-row','AI_CHAT_HISTORY_CANCEL','ck-ai-chat-history__item-main-content','panelPosition','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','selectConversation','set','_titleView','match','edit:cancel','_createCheckView','bindTemplate','AI_CHAT_HISTORY_LOADING_RENAMING','editConversationTitle','isVisible','focus','isOn','AI_CHAT_HISTORY_PIN_BUTTON','add','actions','extendTemplate','clear','_createAcceptEditButtonView','click','ck-ai-chat-history__item--edit','bind','element','locale','AI_CHAT_HISTORY_ACCEPT','ck-ai-chat-history__item--active','execute','_createPinButtonView','AI_CHAT_HISTORY_REMOVE_CONFIRM','247713IuIidz','ck-ai-chat-history__item-actions','listitem','LOADING_LABELS','AI_CHAT_HISTORY_LOADING_REMOVING','ck-ai-chat-history__item-title','ck-ai-loader__text','AI_CHAT_HISTORY_REMOVE','237395wQLLRU','change:isEdit','span','ck-ai-chat-history__item-content','_createEditInputView','label','ck-hidden','div','isEdit','buttonView','string','loadingState','items','key','_createMenuDropdownView','_createSpinnerView','ck-ai-chat-history__item','ck-ai-chat-history__item-check-container','ck-confirm-view-cancel','highlightText','3658116YKtsDd','showConfirm','removeConversation','mainContent','ck-confirm-view-submit','AI_CHAT_HISTORY_LOADING_PINNING','AI_CHAT_HISTORY_EDIT_NAME','updateLoadingState','_createCancelEditButtonView','children','createCollection','_commitEditInputValue','ck-ai-loader','panelView','addMany','ck-ai-chat-history__item-check','withText','fire','then','649772aZzSIu','pinned','isMatching','409935StmTZs','text','setTemplate','Enter','1438398qcKygD'];_0x338f=function(){return _0x4bdf4c;};return _0x338f();}import{IconThreeHorizontalDots as _0x576ceb,IconPin as _0x439396,IconCheck as _0x35ffb7,IconCancel as _0x813f83}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x1a3f23,ConfirmMixin as _0x5d8442}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x3cce10}from'es-toolkit/compat';function _0x509a(_0x6828bf,_0xe6de62){const _0x338ffd=_0x338f();return _0x509a=function(_0x509a69,_0x1423c6){_0x509a69=_0x509a69-0x92;let _0x2b43a3=_0x338ffd[_0x509a69];return _0x2b43a3;},_0x509a(_0x6828bf,_0xe6de62);}import{AISpinnerView as _0x1fc50e}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x336b93}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
+ _0x5d8442(_0x2a1574){['id'];static [_0x2da127(0xdf)]={'remove':_0x2da127(0xe0),'rename':_0x2da127(0xc7),'pin':_0x2da127(0x9e),'unpin':_0x2da127(0xb6)};[_0x2da127(0xce)];[_0x2da127(0x9c)];[_0x2da127(0xc2)];constructor(_0xdb8a97,_0x2786e8){const _0x156d25=_0x2da127;super(_0xdb8a97);const _0x262bb0=this[_0x156d25(0xc6)];this[_0x156d25(0xc1)](_0x156d25(0xec),!0x1),this[_0x156d25(0xc1)](_0x156d25(0xc9),!0x0),this[_0x156d25(0xc1)](_0x156d25(0xad),!!_0x2786e8[_0x156d25(0xad)]),this[_0x156d25(0xc1)](_0x156d25(0xef),null),this['id']=_0x2786e8['id'];const {title:_0x3c7be8,createdAt:_0x251c90,active:_0x219b78=!0x1}=_0x2786e8;this[_0x156d25(0xc2)]=new _0x53b46a(),this[_0x156d25(0xc2)][_0x156d25(0xb0)]=_0x3c7be8,this[_0x156d25(0xc2)][_0x156d25(0xcf)]({'attributes':{'class':[_0x156d25(0xe1)]}});const _0x4b167c=this[_0x156d25(0xc5)](),_0x343458=this[_0x156d25(0xda)](_0xdb8a97),_0x1f0e7c=this[_0x156d25(0x93)](),_0x1fe122=this[_0x156d25(0xe8)](_0xdb8a97,_0x3c7be8),_0x24908c=this[_0x156d25(0xd1)](_0xdb8a97,_0x1fe122),_0x406425=this[_0x156d25(0xa1)](_0xdb8a97,_0x1fe122);this[_0x156d25(0xce)]=this[_0x156d25(0xa3)](),this[_0x156d25(0x9c)]=this[_0x156d25(0xa3)](),this[_0x156d25(0x9c)][_0x156d25(0xcd)](this[_0x156d25(0xc2)]),this[_0x156d25(0xce)][_0x156d25(0xcd)](_0x343458),this[_0x156d25(0xce)][_0x156d25(0xcd)](_0x1f0e7c),this['on'](_0x156d25(0xe5),(_0x4bf756,_0x235e64,_0x1db4b2)=>{const _0x1a2706=_0x156d25;this[_0x1a2706(0xce)][_0x1a2706(0xd0)](),this[_0x1a2706(0x9c)][_0x1a2706(0xd0)](),_0x1db4b2?(this[_0x1a2706(0xce)][_0x1a2706(0xcd)](_0x24908c),this[_0x1a2706(0xce)][_0x1a2706(0xcd)](_0x406425),this[_0x1a2706(0x9c)][_0x1a2706(0xcd)](_0x1fe122),_0x1fe122[_0x1a2706(0xd5)][_0x1a2706(0xca)]()):(this[_0x1a2706(0xce)][_0x1a2706(0xcd)](_0x343458),this[_0x1a2706(0xce)][_0x1a2706(0xcd)](_0x1f0e7c),this[_0x1a2706(0x9c)][_0x1a2706(0xcd)](this[_0x1a2706(0xc2)]));}),this[_0x156d25(0xb1)]({'tag':'li','attributes':{'class':[_0x156d25(0x95),_0x219b78?_0x156d25(0xd8):'',_0x262bb0['if'](_0x156d25(0xc9),_0x156d25(0xea),_0x4c9f36=>!_0x4c9f36),_0x262bb0['if'](_0x156d25(0xec),_0x156d25(0xd3))],'role':_0x156d25(0xde)},'children':[{'tag':_0x156d25(0xe6),'attributes':{'class':[_0x156d25(0x96)]},'children':[{'tag':_0x156d25(0xeb),'attributes':{'class':[_0x156d25(0xa8),_0x262bb0['if'](_0x156d25(0xef),_0x156d25(0xea),_0x4d8533=>!!_0x4d8533)]},'children':_0x219b78?[_0x4b167c]:[]},{'tag':_0x156d25(0xeb),'attributes':{'class':[_0x156d25(0xa5),_0x262bb0['if'](_0x156d25(0xef),_0x156d25(0xea),_0x3dab2f=>!_0x3dab2f)]},'children':[this[_0x156d25(0x94)]()]}]},{'tag':_0x156d25(0xeb),'attributes':{'class':[_0x156d25(0xbb)]},'children':[{'tag':_0x156d25(0xeb),'attributes':{'class':[_0x156d25(0xe7)]},'on':{'click':this[_0x156d25(0xc6)]['to'](_0x156d25(0xd2))},'children':[{'tag':_0x156d25(0xeb),'attributes':{'class':[_0x156d25(0xbd)]},'children':[{'tag':_0x156d25(0xeb),'attributes':{'class':[_0x156d25(0xe1),_0x262bb0['if'](_0x156d25(0xef),_0x156d25(0xea),_0x1180a9=>!!_0x1180a9)]},'children':this[_0x156d25(0x9c)]},{'tag':_0x156d25(0xeb),'attributes':{'class':[_0x156d25(0xe2),_0x262bb0['if'](_0x156d25(0xef),_0x156d25(0xea),_0x39c0e0=>!_0x39c0e0)]},'children':[{'text':_0x262bb0['to'](_0x156d25(0xef),_0x173d86=>_0x173d86?_0x336b93(this[_0x156d25(0xd6)],AIChatHistoryListItemView[_0x156d25(0xdf)][_0x173d86]):'')}]}]},{'tag':_0x156d25(0xe6),'attributes':{'class':[_0x156d25(0xb9)]},'children':[_0x251c90]}]},{'tag':_0x156d25(0xeb),'attributes':{'class':[_0x156d25(0xdd)]},'children':this[_0x156d25(0xce)]}]}]}),this['on'](_0x156d25(0xd2),()=>{const _0x6bcec4=_0x156d25;this[_0x6bcec4(0xec)]||this[_0x6bcec4(0xaa)](_0x6bcec4(0xc0),{'id':this['id']});});}[_0x2da127(0xb5)](_0x1bc33c){const _0x499134=_0x2da127;this[_0x499134(0xc2)][_0x499134(0xb0)]=_0x3cce10(_0x1bc33c);}[_0x2da127(0xa0)](_0x142c0a,_0x587874){const _0x447cab=_0x2da127;this[_0x447cab(0xc1)](_0x447cab(0xef),_0x587874?_0x142c0a:null);}[_0x2da127(0xc5)](){const _0x2c8bb3=_0x2da127,_0x428bf1=new _0x2506a6();return _0x428bf1[_0x2c8bb3(0xc1)]({'content':_0x35ffb7}),_0x428bf1;}[_0x2da127(0xda)](_0x13c7c3){const _0x108c88=_0x2da127,_0x1d4e44=new _0x1f89d3(_0x13c7c3);return _0x1d4e44[_0x108c88(0xc1)]({'label':_0x336b93(_0x13c7c3,_0x108c88(0xcc)),'icon':_0x439396,'withText':!0x1,'tooltip':!0x0}),_0x1d4e44[_0x108c88(0xd4)](_0x108c88(0xcb))['to'](this,_0x108c88(0xad)),_0x1d4e44['on'](_0x108c88(0xd9),()=>{const _0xde569c=_0x108c88,_0x5230d6=!this[_0xde569c(0xad)];this[_0xde569c(0xaa)](_0xde569c(0xb7),{'id':this['id'],'pinned':_0x5230d6});}),_0x1d4e44;}[_0x2da127(0x93)](){const _0x53a0df=_0x2da127,_0x4b27f2=_0x5d67d1(this[_0x53a0df(0xd6)],_0x1a3f23),_0x1886f8=_0x4b27f2[_0x53a0df(0xa6)][_0x53a0df(0xa2)];_0x4b27f2[_0x53a0df(0xed)][_0x53a0df(0xc1)]({'label':_0x336b93(this[_0x53a0df(0xd6)],_0x53a0df(0xbf)),'icon':_0x576ceb}),_0x4b27f2[_0x53a0df(0xbe)]='sw';const _0x539e86=new _0x1f89d3(this[_0x53a0df(0xd6)]);_0x539e86[_0x53a0df(0xe9)]=_0x336b93(this[_0x53a0df(0xd6)],_0x53a0df(0x9f)),_0x539e86[_0x53a0df(0xa9)]=!0x0,_0x539e86['on'](_0x53a0df(0xd9),()=>{const _0x4af8b7=_0x53a0df;this[_0x4af8b7(0xec)]=!0x0;});const _0xfa591d=new _0x1f89d3(this[_0x53a0df(0xd6)]);_0xfa591d[_0x53a0df(0xe9)]=_0x336b93(this[_0x53a0df(0xd6)],_0x53a0df(0xe3)),_0xfa591d[_0x53a0df(0xa9)]=!0x0,_0xfa591d['on'](_0x53a0df(0xd9),()=>{const _0x3b2b63=_0x53a0df;this[_0x3b2b63(0x9a)](_0x336b93(this[_0x3b2b63(0xd6)],_0x3b2b63(0xdb)),this[_0x3b2b63(0xd5)])[_0x3b2b63(0xab)](()=>{const _0x7e12c5=_0x3b2b63;this[_0x7e12c5(0xaa)](_0x7e12c5(0x9b),{'id':this['id']});});});const _0x2061fa=new _0x384409(this[_0x53a0df(0xd6)]),_0x1ead33=new _0x2a1574(this[_0x53a0df(0xd6)]);_0x1ead33[_0x53a0df(0xa2)][_0x53a0df(0xcd)](_0x539e86);const _0x1c257a=new _0x2a1574(this[_0x53a0df(0xd6)]);return _0x1c257a[_0x53a0df(0xa2)][_0x53a0df(0xcd)](_0xfa591d),_0x2061fa[_0x53a0df(0xf0)][_0x53a0df(0xa7)]([_0x1ead33,_0x1c257a]),_0x1886f8[_0x53a0df(0xcd)](_0x2061fa),_0x4b27f2;}[_0x2da127(0xe8)](_0x4cf0ff,_0x381aa7){const _0x2e06ae=_0x2da127,_0x4f3ec5=new _0x1173df(_0x4cf0ff),_0x1b1e1d=_0x4f3ec5[_0x2e06ae(0xc6)];return _0x4f3ec5[_0x2e06ae(0xba)]=_0x381aa7,_0x4f3ec5[_0x2e06ae(0xcf)]({'on':{'keydown':_0x1b1e1d['to'](_0x45666a=>{const _0x3e251a=_0x2e06ae;_0x3e251a(0xb2)==_0x45666a[_0x3e251a(0x92)]&&this[_0x3e251a(0xa4)](_0x4f3ec5);})}}),_0x4f3ec5;}[_0x2da127(0xd1)](_0x5a1a60,_0x457067){const _0x18f5f3=_0x2da127,_0x5791dd=new _0x1f89d3(_0x5a1a60);return _0x5791dd[_0x18f5f3(0xc1)]({'icon':_0x35ffb7,'withText':!0x1,'tooltip':_0x336b93(_0x5a1a60,_0x18f5f3(0xd7))}),_0x5791dd[_0x18f5f3(0xcf)]({'attributes':{'class':[_0x18f5f3(0x9d)]}}),_0x5791dd['on'](_0x18f5f3(0xd9),()=>{const _0x57e586=_0x18f5f3;this[_0x57e586(0xa4)](_0x457067);}),_0x5791dd;}[_0x2da127(0xa4)](_0x4b6488){const _0x4fc9b5=_0x2da127,_0x43ab8b=_0x4b6488[_0x4fc9b5(0xd5)][_0x4fc9b5(0xba)]||'';this[_0x4fc9b5(0xc2)][_0x4fc9b5(0xb0)]=_0x43ab8b,this[_0x4fc9b5(0xec)]=!0x1,this[_0x4fc9b5(0xaa)](_0x4fc9b5(0xc8),{'id':this['id'],'title':_0x43ab8b});}[_0x2da127(0xa1)](_0x3cc8cf,_0xf44e3e){const _0x1719ff=_0x2da127,_0x29eb73=new _0x1f89d3(_0x3cc8cf);return _0x29eb73[_0x1719ff(0xc1)]({'icon':_0x813f83,'withText':!0x1,'tooltip':_0x336b93(_0x3cc8cf,_0x1719ff(0xbc))}),_0x29eb73[_0x1719ff(0xcf)]({'attributes':{'class':[_0x1719ff(0x97)]}}),_0x29eb73['on'](_0x1719ff(0xd9),()=>{const _0x5ab4ce=_0x1719ff;this[_0x5ab4ce(0xec)]=!0x1,_0xf44e3e[_0x5ab4ce(0xba)]=this[_0x5ab4ce(0xc2)][_0x5ab4ce(0xb0)]||'',this[_0x5ab4ce(0xaa)](_0x5ab4ce(0xc4));}),_0x29eb73;}[_0x2da127(0x94)](){const _0x1b4de4=_0x2da127,_0x5a0064=new _0x1fc50e(_0x1b4de4(0xb8));return _0x5a0064[_0x1b4de4(0xc9)]=!0x0,_0x5a0064;}[_0x2da127(0xae)](_0x507c99){const _0x2c7016=_0x2da127;return this[_0x2c7016(0xc2)]&&_0x2c7016(0xee)==typeof this[_0x2c7016(0xc2)][_0x2c7016(0xb0)]&&this[_0x2c7016(0xc2)][_0x2c7016(0xb0)][_0x2c7016(0xc3)](_0x507c99)?{'title':!0x0}:null;}[_0x2da127(0x98)](_0x2818ac){const _0x3fc92d=_0x2da127;this[_0x3fc92d(0xc2)][_0x3fc92d(0x98)](_0x2818ac);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x557979=_0x4beb;(function(_0x95c034,_0x11b61c){const _0x4cacc3=_0x4beb,_0x48f5f3=_0x95c034();while(!![]){try{const _0x50f252=parseInt(_0x4cacc3(0x208))/0x1*(-parseInt(_0x4cacc3(0x1fc))/0x2)+parseInt(_0x4cacc3(0x20c))/0x3*(parseInt(_0x4cacc3(0x1fd))/0x4)+parseInt(_0x4cacc3(0x1ef))/0x5*(parseInt(_0x4cacc3(0x200))/0x6)+-parseInt(_0x4cacc3(0x205))/0x7*(-parseInt(_0x4cacc3(0x202))/0x8)+-parseInt(_0x4cacc3(0x1ff))/0x9*(-parseInt(_0x4cacc3(0x1f3))/0xa)+-parseInt(_0x4cacc3(0x1f2))/0xb*(-parseInt(_0x4cacc3(0x20d))/0xc)+-parseInt(_0x4cacc3(0x1f6))/0xd;if(_0x50f252===_0x11b61c)break;else _0x48f5f3['push'](_0x48f5f3['shift']());}catch(_0x51e01b){_0x48f5f3['push'](_0x48f5f3['shift']());}}}(_0x5bf9,0x7d585));function _0x5bf9(){const _0xa57733=['66pWMQso','45670ZrvyfR','_itemsListView','set','35551789mhfgoZ','length','getItem','ck-hidden','div','indexOf','65434KuoAXx','2804820waKZnA','addMany','1359mfgjon','78dcmQyG','title','3558520SOlUCx','isMatching','ck-ai-chat-history__section-title','7QZDhQH','filter','items','2vOjYEr','splice','setTemplate','highlightText','3KknakC','1885584AZYlVW','removeItem','remove','bindTemplate','ck-ai-chat-history__section','isVisible','205835VdePNF','itemsViews','find'];_0x5bf9=function(){return _0xa57733;};return _0x5bf9();}function _0x4beb(_0x4392fb,_0x495f6d){const _0x5bf93d=_0x5bf9();return _0x4beb=function(_0x4beb5e,_0x4ccfef){_0x4beb5e=_0x4beb5e-0x1ee;let _0x3625c6=_0x5bf93d[_0x4beb5e];return _0x3625c6;},_0x4beb(_0x4392fb,_0x495f6d);}import{ListItemView as _0x5aee52,View as _0x3267e0,ListView as _0x48b597}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x5aee52{[_0x557979(0x201)];[_0x557979(0x1f0)];[_0x557979(0x1f4)];constructor(_0x505e6e,{title:_0xa8601f,items:_0x4f2b6a}){const _0x16bb8e=_0x557979;super(_0x505e6e);const _0x732ccc=this[_0x16bb8e(0x210)];this[_0x16bb8e(0x1f5)](_0x16bb8e(0x1ee),!0x0),this[_0x16bb8e(0x201)]=_0xa8601f,this[_0x16bb8e(0x1f0)]=_0x4f2b6a;const _0x5b35f1=new _0x3267e0(_0x505e6e);_0x5b35f1[_0x16bb8e(0x20a)]({'tag':_0x16bb8e(0x1fa),'attributes':{'class':[_0x16bb8e(0x204)]},'children':[this[_0x16bb8e(0x201)]]}),this[_0x16bb8e(0x1f4)]=new _0x48b597(_0x505e6e),this[_0x16bb8e(0x1f4)][_0x16bb8e(0x207)][_0x16bb8e(0x1fe)](this[_0x16bb8e(0x1f0)]),this[_0x16bb8e(0x20a)]({'tag':'li','attributes':{'class':[_0x16bb8e(0x211),_0x732ccc['if'](_0x16bb8e(0x1ee),_0x16bb8e(0x1f9),_0x4c3b28=>!_0x4c3b28)]},'children':[_0x5b35f1,this[_0x16bb8e(0x1f4)]]});}[_0x557979(0x206)](_0x304cdd){const _0x5e2d97=_0x557979,_0x491ab9=this[_0x5e2d97(0x1f0)][_0x5e2d97(0x1f7)];let _0x4ce95b=0x0;for(const _0x4cc914 of this[_0x5e2d97(0x1f0)]){if(_0x304cdd){const _0x24160b=_0x4cc914[_0x5e2d97(0x203)](_0x304cdd);_0x4cc914[_0x5e2d97(0x1ee)]=!!_0x24160b,_0x4cc914[_0x5e2d97(0x20b)](_0x304cdd);}else _0x4cc914[_0x5e2d97(0x1ee)]=!0x0,_0x4cc914[_0x5e2d97(0x20b)](null);_0x4cc914[_0x5e2d97(0x1ee)]&&_0x4ce95b++;}return this[_0x5e2d97(0x1ee)]=_0x4ce95b>0x0,{'resultsCount':_0x4ce95b,'totalItemsCount':_0x491ab9};}[_0x557979(0x1f8)](_0x2ce35e){const _0x3b86e6=_0x557979;return this[_0x3b86e6(0x1f0)][_0x3b86e6(0x1f1)](_0x44b80d=>_0x44b80d['id']===_0x2ce35e);}[_0x557979(0x20e)](_0x1d66c0){const _0x438275=_0x557979,_0x425098=this[_0x438275(0x1f0)][_0x438275(0x1fb)](_0x1d66c0);-0x1!==_0x425098&&(this[_0x438275(0x1f0)][_0x438275(0x209)](_0x425098,0x1),this[_0x438275(0x1f4)][_0x438275(0x207)][_0x438275(0x20f)](_0x1d66c0));}}
23
+ function _0x52d1(_0x4a144e,_0x5b3fc8){const _0x5f2d0e=_0x5f2d();return _0x52d1=function(_0x52d133,_0x5cdc51){_0x52d133=_0x52d133-0xe9;let _0x2d172b=_0x5f2d0e[_0x52d133];return _0x2d172b;},_0x52d1(_0x4a144e,_0x5b3fc8);}function _0x5f2d(){const _0x4950f2=['ck-ai-chat-history__section-title','4592536IoEKDI','removeItem','addMany','6979128SFGCwT','find','items','45HXlsXv','div','_itemsListView','ck-hidden','highlightText','5261395immvMj','10405801BJbxEE','set','2350QebQit','1388258UMFUIw','title','bindTemplate','ck-ai-chat-history__section','remove','filter','length','354QFvQFS','isVisible','setTemplate','indexOf','splice','isMatching','itemsViews','getItem','6651380vbWSmk'];_0x5f2d=function(){return _0x4950f2;};return _0x5f2d();}const _0x5c795e=_0x52d1;(function(_0x9e3c93,_0x5e1491){const _0x3c6748=_0x52d1,_0x28aee2=_0x9e3c93();while(!![]){try{const _0x3bcb35=-parseInt(_0x3c6748(0x107))/0x1+-parseInt(_0x3c6748(0x106))/0x2*(parseInt(_0x3c6748(0xee))/0x3)+parseInt(_0x3c6748(0xf6))/0x4+parseInt(_0x3c6748(0x103))/0x5+parseInt(_0x3c6748(0xfb))/0x6+parseInt(_0x3c6748(0x104))/0x7+-parseInt(_0x3c6748(0xf8))/0x8*(parseInt(_0x3c6748(0xfe))/0x9);if(_0x3bcb35===_0x5e1491)break;else _0x28aee2['push'](_0x28aee2['shift']());}catch(_0x43fc5e){_0x28aee2['push'](_0x28aee2['shift']());}}}(_0x5f2d,0xec3bc));import{ListItemView as _0x13cbd6,View as _0x5e26b5,ListView as _0x71c46f}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x13cbd6{[_0x5c795e(0x108)];[_0x5c795e(0xf4)];[_0x5c795e(0x100)];constructor(_0x1fcd21,{title:_0x54fc15,items:_0x5cfdf0}){const _0x616aa3=_0x5c795e;super(_0x1fcd21);const _0x4e1d56=this[_0x616aa3(0xe9)];this[_0x616aa3(0x105)](_0x616aa3(0xef),!0x0),this[_0x616aa3(0x108)]=_0x54fc15,this[_0x616aa3(0xf4)]=_0x5cfdf0;const _0x3c237a=new _0x5e26b5(_0x1fcd21);_0x3c237a[_0x616aa3(0xf0)]({'tag':_0x616aa3(0xff),'attributes':{'class':[_0x616aa3(0xf7)]},'children':[this[_0x616aa3(0x108)]]}),this[_0x616aa3(0x100)]=new _0x71c46f(_0x1fcd21),this[_0x616aa3(0x100)][_0x616aa3(0xfd)][_0x616aa3(0xfa)](this[_0x616aa3(0xf4)]),this[_0x616aa3(0xf0)]({'tag':'li','attributes':{'class':[_0x616aa3(0xea),_0x4e1d56['if'](_0x616aa3(0xef),_0x616aa3(0x101),_0x5f1bdf=>!_0x5f1bdf)]},'children':[_0x3c237a,this[_0x616aa3(0x100)]]});}[_0x5c795e(0xec)](_0x1df396){const _0x324a86=_0x5c795e,_0x17ffcc=this[_0x324a86(0xf4)][_0x324a86(0xed)];let _0x2cb299=0x0;for(const _0x111bea of this[_0x324a86(0xf4)]){if(_0x1df396){const _0x3e9f05=_0x111bea[_0x324a86(0xf3)](_0x1df396);_0x111bea[_0x324a86(0xef)]=!!_0x3e9f05,_0x111bea[_0x324a86(0x102)](_0x1df396);}else _0x111bea[_0x324a86(0xef)]=!0x0,_0x111bea[_0x324a86(0x102)](null);_0x111bea[_0x324a86(0xef)]&&_0x2cb299++;}return this[_0x324a86(0xef)]=_0x2cb299>0x0,{'resultsCount':_0x2cb299,'totalItemsCount':_0x17ffcc};}[_0x5c795e(0xf5)](_0x127512){const _0x4f8489=_0x5c795e;return this[_0x4f8489(0xf4)][_0x4f8489(0xfc)](_0x185868=>_0x185868['id']===_0x127512);}[_0x5c795e(0xf9)](_0xf3cb33){const _0x587eca=_0x5c795e,_0x5288a2=this[_0x587eca(0xf4)][_0x587eca(0xf1)](_0xf3cb33);-0x1!==_0x5288a2&&(this[_0x587eca(0xf4)][_0x587eca(0xf2)](_0x5288a2,0x1),this[_0x587eca(0x100)][_0x587eca(0xfd)][_0x587eca(0xeb)](_0xf3cb33));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29df55=_0x5a4d;(function(_0x289607,_0x358b9c){const _0x1c8618=_0x5a4d,_0x5a3377=_0x289607();while(!![]){try{const _0x43ff68=-parseInt(_0x1c8618(0xa1))/0x1+parseInt(_0x1c8618(0x9b))/0x2*(-parseInt(_0x1c8618(0xa3))/0x3)+parseInt(_0x1c8618(0x98))/0x4*(parseInt(_0x1c8618(0x9a))/0x5)+parseInt(_0x1c8618(0xa6))/0x6+-parseInt(_0x1c8618(0x99))/0x7+parseInt(_0x1c8618(0xa4))/0x8+parseInt(_0x1c8618(0xa0))/0x9;if(_0x43ff68===_0x358b9c)break;else _0x5a3377['push'](_0x5a3377['shift']());}catch(_0x10cbe7){_0x5a3377['push'](_0x5a3377['shift']());}}}(_0x4331,0x36411));function _0x5a4d(_0x51af89,_0x40f7af){const _0x4331f3=_0x4331();return _0x5a4d=function(_0x5a4da6,_0x487cce){_0x5a4da6=_0x5a4da6-0x98;let _0xe60257=_0x4331f3[_0x5a4da6];return _0xe60257;},_0x5a4d(_0x51af89,_0x40f7af);}import{ListView as _0x334e6d}from'ckeditor5/src/ui.js';export class AIChatHistorySectionListView extends _0x334e6d{[_0x29df55(0xa5)];constructor(_0x11e994,_0x424552){const _0x2276de=_0x29df55;super(_0x11e994),this[_0x2276de(0xa5)]=_0x424552,this[_0x2276de(0x9c)][_0x2276de(0x9f)](this[_0x2276de(0xa5)]),this[_0x2276de(0x9d)]({'attributes':{'class':[_0x2276de(0xa2)]}});}[_0x29df55(0x9e)](_0x1a9bdc){const _0x3c6c61=_0x29df55;let _0x306298=0x0,_0x417e97=0x0;for(const _0x2c9ce9 of this[_0x3c6c61(0xa5)]){const {resultsCount:_0x488155,totalItemsCount:_0x197fed}=_0x2c9ce9[_0x3c6c61(0x9e)](_0x1a9bdc);_0x306298+=_0x488155,_0x417e97+=_0x197fed;}return{'resultsCount':_0x306298,'totalItemsCount':_0x417e97};}}function _0x4331(){const _0x439245=['4041396PtlUjg','390518yOWSIr','ck-ai-chat-history__sections','1151559uOXlbG','3471040ysqaBW','sections','1245534OoJalb','604644UYlxzP','1715546pAzMIS','5eFDOCX','2NACLsz','items','extendTemplate','filter','addMany'];_0x4331=function(){return _0x439245;};return _0x4331();}
23
+ const _0x8d2b5b=_0x5829;function _0x5829(_0x42d15e,_0x34da70){const _0x2f6bf5=_0x2f6b();return _0x5829=function(_0x582941,_0x3e879c){_0x582941=_0x582941-0x139;let _0x4c746d=_0x2f6bf5[_0x582941];return _0x4c746d;},_0x5829(_0x42d15e,_0x34da70);}(function(_0x39c72c,_0x347444){const _0xa826f0=_0x5829,_0x37bdb4=_0x39c72c();while(!![]){try{const _0xad20c8=parseInt(_0xa826f0(0x147))/0x1*(parseInt(_0xa826f0(0x14a))/0x2)+-parseInt(_0xa826f0(0x141))/0x3*(-parseInt(_0xa826f0(0x139))/0x4)+parseInt(_0xa826f0(0x146))/0x5*(-parseInt(_0xa826f0(0x13e))/0x6)+-parseInt(_0xa826f0(0x13b))/0x7*(parseInt(_0xa826f0(0x14b))/0x8)+-parseInt(_0xa826f0(0x149))/0x9*(parseInt(_0xa826f0(0x13a))/0xa)+-parseInt(_0xa826f0(0x13d))/0xb*(parseInt(_0xa826f0(0x145))/0xc)+parseInt(_0xa826f0(0x144))/0xd;if(_0xad20c8===_0x347444)break;else _0x37bdb4['push'](_0x37bdb4['shift']());}catch(_0x5abfde){_0x37bdb4['push'](_0x37bdb4['shift']());}}}(_0x2f6b,0x18bae));function _0x2f6b(){const _0x5922be=['extendTemplate','12699xXQHTO','4UFxHvE','120WMhIvO','188DOvZUd','1130oDBLlW','16562LUThtX','items','11XCtmLZ','552AcsBtS','ck-ai-chat-history__sections','filter','8328sVpuAh','addMany','sections','3323866WHRfhV','620532gNLgYX','3310budLWl','11344FFJSlS'];_0x2f6b=function(){return _0x5922be;};return _0x2f6b();}import{ListView as _0x112002}from'ckeditor5/src/ui.js';export class AIChatHistorySectionListView extends _0x112002{[_0x8d2b5b(0x143)];constructor(_0x343e54,_0x3d030a){const _0x4880ed=_0x8d2b5b;super(_0x343e54),this[_0x4880ed(0x143)]=_0x3d030a,this[_0x4880ed(0x13c)][_0x4880ed(0x142)](this[_0x4880ed(0x143)]),this[_0x4880ed(0x148)]({'attributes':{'class':[_0x4880ed(0x13f)]}});}[_0x8d2b5b(0x140)](_0x79db08){const _0x4dd818=_0x8d2b5b;let _0x5d125f=0x0,_0x14e6b8=0x0;for(const _0x2900a2 of this[_0x4dd818(0x143)]){const {resultsCount:_0x5d2ce5,totalItemsCount:_0x7fe412}=_0x2900a2[_0x4dd818(0x140)](_0x79db08);_0x5d125f+=_0x5d2ce5,_0x14e6b8+=_0x7fe412;}return{'resultsCount':_0x5d125f,'totalItemsCount':_0x14e6b8};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3b2a(){const _0x55cbd6=['_createErrorView','search','190ypfSfD','ck-ai-notification_error__dismiss-button','ck-ai-notification_error','value','emptyView','sectionsView','ck-ai-chat-history','8hpaWmr','render','ck-ai-chat-history__empty-message','execute','change:hasItems','delegate','ck-hidden','title','change:isLoading','remove','308hrdizf','AI_CHAT_HISTORY_HEADING','change:errorMessage','_createSkeletonView','hasItems','sections','_refreshSearch','isVisible','updateItemTitle','updateHistoryItemsWithCategories','openChat','1524446SXnbKk','isMaximized','AI_CHAT_HISTORY_EMPTY_MESSAGE','903751rotDdf','splice','children','ltr','ck-reset_all','extendTemplate','16885yZewhN','bindTemplate','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','queryView','updateItemLoadingState','8794812hSjnqV','locale','updateLoadingState','_createListItemViews','getItem','431578LohxlC','push','errorMessage','isEmptyViewVisible','updateTitle','fire','ck-ai-chat__start-conversation','aiHistory','ck-rounded-corners','_updateViewVisibility','set','some','skeletonView','add','bind','3bmaOZA','isLoading','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','addMany','length','2689317DSUHtb','_createSearchView','indexOf','removeItem','ck-ai-header\x20ck-ai-header_history','div','5961249qlQWZo','removeHistoryItem','resizeButton','setTemplate','ck-ai-chat-history__content','isSearchViewVisible','ck-ai-chat-history__empty','AI_CHAT_LABEL_NEW_CHAT','mainErrorView','searchView','clear','_createEmptyStateView','itemsViews','items','isMainErrorViewVisible','AI_CHAT_HISTORY_SEARCH_LABEL','ck-ai-notification','element','fieldView'];_0x3b2a=function(){return _0x55cbd6;};return _0x3b2a();}const _0x2b9754=_0x42e6;(function(_0x2ac6b9,_0xda5d30){const _0x5def62=_0x42e6,_0x53ab32=_0x2ac6b9();while(!![]){try{const _0x18f5a0=parseInt(_0x5def62(0x1fd))/0x1+parseInt(_0x5def62(0x20d))/0x2*(parseInt(_0x5def62(0x21c))/0x3)+-parseInt(_0x5def62(0x24d))/0x4*(-parseInt(_0x5def62(0x203))/0x5)+parseInt(_0x5def62(0x208))/0x6+-parseInt(_0x5def62(0x227))/0x7*(-parseInt(_0x5def62(0x243))/0x8)+-parseInt(_0x5def62(0x221))/0x9+-parseInt(_0x5def62(0x23c))/0xa*(parseInt(_0x5def62(0x1fa))/0xb);if(_0x18f5a0===_0xda5d30)break;else _0x53ab32['push'](_0x53ab32['shift']());}catch(_0x5332ec){_0x53ab32['push'](_0x53ab32['shift']());}}}(_0x3b2a,0xbac67));import{View as _0x2e838c,SearchTextView as _0x4d6633,FormHeaderView as _0x258471,ButtonView as _0x3d59ae}from'ckeditor5/src/ui.js';import{IconAIHistory as _0x160469,IconCancel as _0x267611,IconPlus as _0x26665e}from'ckeditor5/src/icons.js';import{AIChatHistorySectionListView as _0x56cfd5}from'./aichathistorysectionlistview.js';import{AIChatHistoryListView as _0x12195f}from'./aichathistorylistview.js';import{AIChatHistoryListItemView as _0x331156}from'./aichathistorylistitemview.js';function _0x42e6(_0x311529,_0x2e5605){const _0x3b2a32=_0x3b2a();return _0x42e6=function(_0x42e65c,_0x13172d){_0x42e65c=_0x42e65c-0x1f3;let _0x58141e=_0x3b2a32[_0x42e65c];return _0x58141e;},_0x42e6(_0x311529,_0x2e5605);}import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0x5eaa1a}from'../aichathistoryui.js';import{AISkeletonView as _0xfa3ec9,SKELETON_DEFINITIONS as _0x3ab144}from'../../aicore/ui/aiskeleton.js';import{createResizeButton as _0xf7175d}from'../../aicore/utils/createresizebutton.js';import{getTranslation as _0x5eb250}from'../../aicore/utils/common-translations.js';export class AIChatHistoryView extends _0x2e838c{[_0x2b9754(0x230)];[_0x2b9754(0x22f)];[_0x2b9754(0x219)];[_0x2b9754(0x240)];[_0x2b9754(0x241)];[_0x2b9754(0x229)];constructor(_0x3c234e,_0x1ac667){const _0x385c93=_0x2b9754;super(_0x3c234e),this[_0x385c93(0x217)](_0x385c93(0x1f3),!0x1),this[_0x385c93(0x217)](_0x385c93(0x21d),!0x0),this[_0x385c93(0x217)](_0x385c93(0x20f),''),this[_0x385c93(0x217)](_0x385c93(0x1fb),!0x1),this[_0x385c93(0x217)](_0x385c93(0x22c),!0x1),this[_0x385c93(0x217)](_0x385c93(0x210),!0x1),this[_0x385c93(0x217)](_0x385c93(0x235),!0x1);const _0x2320df=new _0x258471(_0x3c234e,{'label':_0x5eb250(_0x3c234e,_0x385c93(0x24e)),'icon':_0x160469,'class':_0x385c93(0x225)});_0x1ac667&&(this[_0x385c93(0x229)]=_0xf7175d(_0x3c234e,this),_0x2320df[_0x385c93(0x1ff)][_0x385c93(0x21a)](this[_0x385c93(0x229)])),this[_0x385c93(0x241)]=new _0x56cfd5(_0x3c234e,[]),this[_0x385c93(0x241)][_0x385c93(0x248)](..._0x5eaa1a)['to'](this),this[_0x385c93(0x22f)]=this[_0x385c93(0x23a)](),this[_0x385c93(0x219)]=this[_0x385c93(0x250)](),this[_0x385c93(0x240)]=this[_0x385c93(0x232)](),this[_0x385c93(0x230)]=this[_0x385c93(0x222)](),this[_0x385c93(0x22f)][_0x385c93(0x202)]({'attributes':{'class':[this[_0x385c93(0x204)]['if'](_0x385c93(0x235),_0x385c93(0x249),_0x3b5659=>!_0x3b5659)]}}),this['on'](_0x385c93(0x24b),()=>this[_0x385c93(0x216)]()),this['on'](_0x385c93(0x247),()=>this[_0x385c93(0x216)]()),this['on'](_0x385c93(0x24f),()=>this[_0x385c93(0x216)]()),this[_0x385c93(0x22a)]({'tag':_0x385c93(0x226),'attributes':{'class':['ck',_0x385c93(0x201),_0x385c93(0x242),_0x385c93(0x215)],'dir':_0x385c93(0x200)},'children':[_0x2320df,{'tag':_0x385c93(0x226),'attributes':{'class':[_0x385c93(0x22b)]},'children':[this[_0x385c93(0x219)],this[_0x385c93(0x22f)],this[_0x385c93(0x240)],this[_0x385c93(0x230)]]}]});}[_0x2b9754(0x216)](){const _0x2d0860=_0x2b9754;this[_0x2d0860(0x22c)]=!this[_0x2d0860(0x21d)]&&this[_0x2d0860(0x1f3)],this[_0x2d0860(0x210)]=!this[_0x2d0860(0x21d)]&&!this[_0x2d0860(0x1f3)]&&!this[_0x2d0860(0x20f)],this[_0x2d0860(0x235)]=!this[_0x2d0860(0x22c)]&&!!this[_0x2d0860(0x20f)];}[_0x2b9754(0x222)](){const _0x3026c8=_0x2b9754,_0x5e62b8=new _0x4d6633(this[_0x3026c8(0x209)],{'filteredView':this[_0x3026c8(0x241)],'queryView':{'label':_0x5eb250(this[_0x3026c8(0x209)],_0x3026c8(0x236))},'infoView':{'text':{'notFound':{'primary':_0x55860e=>_0x5eb250(this[_0x3026c8(0x209)],_0x3026c8(0x21e),_0x55860e),'secondary':_0x5eb250(this[_0x3026c8(0x209)],_0x3026c8(0x205))}}}}),_0x5320cc=this[_0x3026c8(0x23a)]();return _0x5320cc[_0x3026c8(0x202)]({'attributes':{'class':[this[_0x3026c8(0x204)]['if'](_0x3026c8(0x20f),_0x3026c8(0x249),_0xacee1e=>!_0xacee1e)]}}),_0x5e62b8['on'](_0x3026c8(0x244),()=>{const _0x124847=_0x3026c8;_0x5e62b8[_0x124847(0x1ff)][_0x124847(0x21a)](_0x5320cc,0x1);}),_0x5e62b8[_0x3026c8(0x202)]({'attributes':{'class':[this[_0x3026c8(0x204)]['if'](_0x3026c8(0x22c),_0x3026c8(0x249),_0xf2db5a=>!_0xf2db5a)]}}),_0x5e62b8;}[_0x2b9754(0x250)](){const _0x34de85=_0x2b9754,_0x2108b7=new _0xfa3ec9(this[_0x34de85(0x209)],_0x3ab144[_0x34de85(0x214)]);return _0x2108b7[_0x34de85(0x202)]({'attributes':{'class':[this[_0x34de85(0x204)]['if'](_0x34de85(0x21d),_0x34de85(0x249),_0x5eb481=>!_0x5eb481)]}}),_0x2108b7;}[_0x2b9754(0x23a)](){const _0x5660fc=_0x2b9754,_0x7a85e8=new _0x2e838c(this[_0x5660fc(0x209)]),_0x312cdd=new _0x3d59ae(this[_0x5660fc(0x209)]);_0x312cdd[_0x5660fc(0x217)]({'withText':!0x1,'icon':_0x267611,'class':_0x5660fc(0x23d)}),_0x312cdd[_0x5660fc(0x21b)](_0x5660fc(0x1f6))['to'](this,_0x5660fc(0x1f3),_0x3805dc=>!!_0x3805dc),_0x312cdd['on'](_0x5660fc(0x246),()=>{const _0x3764a9=_0x5660fc;this[_0x3764a9(0x20f)]='';});const _0x260c86=this[_0x5660fc(0x204)];return _0x7a85e8[_0x5660fc(0x22a)]({'tag':_0x5660fc(0x226),'attributes':{'class':['ck',_0x5660fc(0x237),_0x5660fc(0x23e)]},'children':[{'tag':'p','children':[{'text':_0x260c86['to'](_0x5660fc(0x20f))}]},_0x312cdd]}),_0x7a85e8;}[_0x2b9754(0x232)](){const _0x5e393f=_0x2b9754,_0x2f371f=new _0x3d59ae(this[_0x5e393f(0x209)]);_0x2f371f[_0x5e393f(0x217)]({'label':_0x5eb250(this[_0x5e393f(0x209)],_0x5e393f(0x22e)),'withText':!0x0,'icon':_0x26665e,'class':_0x5e393f(0x213)}),_0x2f371f['on'](_0x5e393f(0x246),()=>{const _0x4449c0=_0x5e393f;this[_0x4449c0(0x212)](_0x4449c0(0x1f9));});const _0x556f9a=new _0x2e838c(this[_0x5e393f(0x209)]);return _0x556f9a[_0x5e393f(0x22a)]({'tag':_0x5e393f(0x226),'attributes':{'class':[_0x5e393f(0x22d),this[_0x5e393f(0x204)]['if'](_0x5e393f(0x210),_0x5e393f(0x249),_0x98f6d5=>!_0x98f6d5)]},'children':[{'tag':'p','attributes':{'class':[_0x5e393f(0x245)]},'children':[_0x5eb250(this[_0x5e393f(0x209)],_0x5e393f(0x1fc))]},_0x2f371f]}),_0x556f9a;}[_0x2b9754(0x20b)](_0x22df2d,_0x40f95a){const _0x5dab8b=_0x2b9754,_0x22024a=[];for(const _0x4bd3f1 of _0x22df2d){const _0x156883=new _0x331156(_0x40f95a,_0x4bd3f1);_0x156883[_0x5dab8b(0x248)](..._0x5eaa1a)['to'](this),_0x22024a[_0x5dab8b(0x20e)](_0x156883);}return _0x22024a;}[_0x2b9754(0x1f8)](_0x1dc3d4){const _0x484fcc=_0x2b9754,_0x15dfe1=this[_0x484fcc(0x209)]||'en',_0x39306b=[];for(const _0x3b4171 of _0x1dc3d4){const _0x4c4038=this[_0x484fcc(0x20b)](_0x3b4171[_0x484fcc(0x234)],_0x15dfe1);_0x39306b[_0x484fcc(0x20e)](new _0x12195f(_0x15dfe1,{'title':_0x3b4171[_0x484fcc(0x24a)],'items':_0x4c4038}));}this[_0x484fcc(0x241)][_0x484fcc(0x1f4)]=_0x39306b,this[_0x484fcc(0x241)][_0x484fcc(0x234)][_0x484fcc(0x231)](),this[_0x484fcc(0x241)][_0x484fcc(0x234)][_0x484fcc(0x21f)](_0x39306b),this[_0x484fcc(0x1f3)]=_0x1dc3d4[_0x484fcc(0x218)](_0x4a036c=>_0x4a036c[_0x484fcc(0x234)][_0x484fcc(0x220)]>0x0),this[_0x484fcc(0x1f5)]();}[_0x2b9754(0x228)](_0x4c7000){const _0x2d7404=_0x2b9754;for(const _0x56874e of this[_0x2d7404(0x241)][_0x2d7404(0x1f4)]){const _0x492038=_0x56874e[_0x2d7404(0x20c)](_0x4c7000);if(_0x492038){if(_0x56874e[_0x2d7404(0x224)](_0x492038),0x0===_0x56874e[_0x2d7404(0x233)][_0x2d7404(0x220)]){const _0x47c69d=this[_0x2d7404(0x241)][_0x2d7404(0x1f4)][_0x2d7404(0x223)](_0x56874e);-0x1!==_0x47c69d&&(this[_0x2d7404(0x241)][_0x2d7404(0x1f4)][_0x2d7404(0x1fe)](_0x47c69d,0x1),this[_0x2d7404(0x241)][_0x2d7404(0x234)][_0x2d7404(0x24c)](_0x56874e));}this[_0x2d7404(0x1f3)]=this[_0x2d7404(0x241)][_0x2d7404(0x1f4)][_0x2d7404(0x220)]>0x0,this[_0x2d7404(0x1f5)]();break;}}}[_0x2b9754(0x1f7)](_0x1de9f1,_0x1e2224){const _0x19878b=_0x2b9754;for(const _0x52a4c5 of this[_0x19878b(0x241)][_0x19878b(0x1f4)]){const _0x1c5f42=_0x52a4c5[_0x19878b(0x20c)](_0x1de9f1);if(_0x1c5f42){_0x1c5f42[_0x19878b(0x211)](_0x1e2224);break;}}}[_0x2b9754(0x207)](_0x295b80,_0x4295b6,_0x4cce34){const _0x297eef=_0x2b9754;for(const _0x6f040b of this[_0x297eef(0x241)][_0x297eef(0x1f4)]){const _0x26d0ad=_0x6f040b[_0x297eef(0x20c)](_0x295b80);if(_0x26d0ad){_0x26d0ad[_0x297eef(0x20a)](_0x4295b6,_0x4cce34);break;}}}[_0x2b9754(0x1f5)](){const _0x55cde1=_0x2b9754;if(this[_0x55cde1(0x1f3)]){const _0x314900=this[_0x55cde1(0x230)][_0x55cde1(0x206)][_0x55cde1(0x239)]?.[_0x55cde1(0x238)]?.[_0x55cde1(0x23f)]||'';this[_0x55cde1(0x230)][_0x55cde1(0x23b)](_0x314900);}}}
23
+ const _0x528728=_0x4801;(function(_0x1f0c16,_0x14b2c0){const _0x3c694b=_0x4801,_0x3be2c0=_0x1f0c16();while(!![]){try{const _0x4e5bd0=-parseInt(_0x3c694b(0xa5))/0x1*(parseInt(_0x3c694b(0xd7))/0x2)+-parseInt(_0x3c694b(0x89))/0x3*(-parseInt(_0x3c694b(0xab))/0x4)+-parseInt(_0x3c694b(0xa7))/0x5*(-parseInt(_0x3c694b(0x98))/0x6)+parseInt(_0x3c694b(0x96))/0x7*(-parseInt(_0x3c694b(0x91))/0x8)+parseInt(_0x3c694b(0xc0))/0x9*(parseInt(_0x3c694b(0x87))/0xa)+-parseInt(_0x3c694b(0xac))/0xb+parseInt(_0x3c694b(0xc5))/0xc;if(_0x4e5bd0===_0x14b2c0)break;else _0x3be2c0['push'](_0x3be2c0['shift']());}catch(_0x1ff062){_0x3be2c0['push'](_0x3be2c0['shift']());}}}(_0x5894,0xec98b));import{View as _0x516f09,SearchTextView as _0x57c897,FormHeaderView as _0x48fbc3,ButtonView as _0x3d78d6}from'ckeditor5/src/ui.js';import{IconAIHistory as _0x106de3,IconCancel as _0x4b2d3a,IconPlus as _0x2621fd}from'ckeditor5/src/icons.js';import{AIChatHistorySectionListView as _0x2fcdb5}from'./aichathistorysectionlistview.js';function _0x5894(){const _0x1c1789=['execute','errorMessage','AI_CHAT_HISTORY_SEARCH_LABEL','updateHistoryItemsWithCategories','change:isLoading','getItem','AI_CHAT_LABEL_NEW_CHAT','updateItemTitle','ck-ai-header\x20ck-ai-header_history','remove','updateLoadingState','ck-ai-chat-history__empty','searchView','itemsViews','2848617hKTUsc','ck-ai-chat-history__content','isLoading','isVisible','AI_CHAT_HISTORY_HEADING','26417700ooJXwk','_createSearchView','ck-ai-chat-history__empty-message','_createListItemViews','add','removeHistoryItem','extendTemplate','locale','splice','sectionsView','ck-ai-notification','addMany','search','AI_CHAT_HISTORY_EMPTY_MESSAGE','_createErrorView','_refreshSearch','bind','updateTitle','2284924mDQjKS','skeletonView','fire','ck-reset_all','value','ck-ai-chat-history','hasItems','ck-rounded-corners','indexOf','element','ltr','removeItem','render','updateItemLoadingState','ck-hidden','50oMHeNY','length','6fTyXIN','fieldView','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','children','_createSkeletonView','ck-ai-notification_error','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','change:hasItems','3269512fJmkaS','sections','bindTemplate','emptyView','ck-ai-notification_error__dismiss-button','28UtDqRK','delegate','78VJNSvK','resizeButton','mainErrorView','queryView','aiHistory','set','clear','title','isEmptyViewVisible','push','items','isMainErrorViewVisible','isMaximized','1YLIvDY','_createEmptyStateView','121575PxQpRe','isSearchViewVisible','some','ck-ai-chat__start-conversation','325944TyODLW','5684690EwBBMm','setTemplate','openChat','_updateViewVisibility','change:errorMessage','div'];_0x5894=function(){return _0x1c1789;};return _0x5894();}import{AIChatHistoryListView as _0x2d731f}from'./aichathistorylistview.js';import{AIChatHistoryListItemView as _0x83c2fb}from'./aichathistorylistitemview.js';import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0x1004e8}from'../aichathistoryui.js';import{AISkeletonView as _0x4dc3c9,SKELETON_DEFINITIONS as _0x1c4b5c}from'../../aicore/ui/aiskeleton.js';import{createResizeButton as _0x3ca3f6}from'../../aicore/utils/createresizebutton.js';function _0x4801(_0x28eca0,_0x20408c){const _0x589418=_0x5894();return _0x4801=function(_0x480173,_0x3e3daa){_0x480173=_0x480173-0x80;let _0x42239d=_0x589418[_0x480173];return _0x42239d;},_0x4801(_0x28eca0,_0x20408c);}import{getTranslation as _0x6173b4}from'../../aicore/utils/common-translations.js';export class AIChatHistoryView extends _0x516f09{[_0x528728(0xbe)];[_0x528728(0x9a)];[_0x528728(0xd8)];[_0x528728(0x94)];[_0x528728(0xce)];[_0x528728(0x99)];constructor(_0x18bc83,_0x363ff4){const _0x960a74=_0x528728;super(_0x18bc83),this[_0x960a74(0x9d)](_0x960a74(0xdd),!0x1),this[_0x960a74(0x9d)](_0x960a74(0xc2),!0x0),this[_0x960a74(0x9d)](_0x960a74(0xb3),''),this[_0x960a74(0x9d)](_0x960a74(0xa4),!0x1),this[_0x960a74(0x9d)](_0x960a74(0xa8),!0x1),this[_0x960a74(0x9d)](_0x960a74(0xa0),!0x1),this[_0x960a74(0x9d)](_0x960a74(0xa3),!0x1);const _0x79c4a9=new _0x48fbc3(_0x18bc83,{'label':_0x6173b4(_0x18bc83,_0x960a74(0xc4)),'icon':_0x106de3,'class':_0x960a74(0xba)});_0x363ff4&&(this[_0x960a74(0x99)]=_0x3ca3f6(_0x18bc83,this),_0x79c4a9[_0x960a74(0x8c)][_0x960a74(0xc9)](this[_0x960a74(0x99)])),this[_0x960a74(0xce)]=new _0x2fcdb5(_0x18bc83,[]),this[_0x960a74(0xce)][_0x960a74(0x97)](..._0x1004e8)['to'](this),this[_0x960a74(0x9a)]=this[_0x960a74(0xd3)](),this[_0x960a74(0xd8)]=this[_0x960a74(0x8d)](),this[_0x960a74(0x94)]=this[_0x960a74(0xa6)](),this[_0x960a74(0xbe)]=this[_0x960a74(0xc6)](),this[_0x960a74(0x9a)][_0x960a74(0xcb)]({'attributes':{'class':[this[_0x960a74(0x93)]['if'](_0x960a74(0xa3),_0x960a74(0x86),_0x4a6aba=>!_0x4a6aba)]}}),this['on'](_0x960a74(0xb6),()=>this[_0x960a74(0xaf)]()),this['on'](_0x960a74(0x90),()=>this[_0x960a74(0xaf)]()),this['on'](_0x960a74(0xb0),()=>this[_0x960a74(0xaf)]()),this[_0x960a74(0xad)]({'tag':_0x960a74(0xb1),'attributes':{'class':['ck',_0x960a74(0xda),_0x960a74(0xdc),_0x960a74(0xde)],'dir':_0x960a74(0x82)},'children':[_0x79c4a9,{'tag':_0x960a74(0xb1),'attributes':{'class':[_0x960a74(0xc1)]},'children':[this[_0x960a74(0xd8)],this[_0x960a74(0x9a)],this[_0x960a74(0x94)],this[_0x960a74(0xbe)]]}]});}[_0x528728(0xaf)](){const _0x5bee97=_0x528728;this[_0x5bee97(0xa8)]=!this[_0x5bee97(0xc2)]&&this[_0x5bee97(0xdd)],this[_0x5bee97(0xa0)]=!this[_0x5bee97(0xc2)]&&!this[_0x5bee97(0xdd)]&&!this[_0x5bee97(0xb3)],this[_0x5bee97(0xa3)]=!this[_0x5bee97(0xa8)]&&!!this[_0x5bee97(0xb3)];}[_0x528728(0xc6)](){const _0xc9fe4b=_0x528728,_0x1a8224=new _0x57c897(this[_0xc9fe4b(0xcc)],{'filteredView':this[_0xc9fe4b(0xce)],'queryView':{'label':_0x6173b4(this[_0xc9fe4b(0xcc)],_0xc9fe4b(0xb4))},'infoView':{'text':{'notFound':{'primary':_0x5c9dab=>_0x6173b4(this[_0xc9fe4b(0xcc)],_0xc9fe4b(0x8f),_0x5c9dab),'secondary':_0x6173b4(this[_0xc9fe4b(0xcc)],_0xc9fe4b(0x8b))}}}}),_0x556060=this[_0xc9fe4b(0xd3)]();return _0x556060[_0xc9fe4b(0xcb)]({'attributes':{'class':[this[_0xc9fe4b(0x93)]['if'](_0xc9fe4b(0xb3),_0xc9fe4b(0x86),_0x1ddfef=>!_0x1ddfef)]}}),_0x1a8224['on'](_0xc9fe4b(0x84),()=>{const _0x14549d=_0xc9fe4b;_0x1a8224[_0x14549d(0x8c)][_0x14549d(0xc9)](_0x556060,0x1);}),_0x1a8224[_0xc9fe4b(0xcb)]({'attributes':{'class':[this[_0xc9fe4b(0x93)]['if'](_0xc9fe4b(0xa8),_0xc9fe4b(0x86),_0x32c0e2=>!_0x32c0e2)]}}),_0x1a8224;}[_0x528728(0x8d)](){const _0x52c548=_0x528728,_0x43a952=new _0x4dc3c9(this[_0x52c548(0xcc)],_0x1c4b5c[_0x52c548(0x9c)]);return _0x43a952[_0x52c548(0xcb)]({'attributes':{'class':[this[_0x52c548(0x93)]['if'](_0x52c548(0xc2),_0x52c548(0x86),_0x512277=>!_0x512277)]}}),_0x43a952;}[_0x528728(0xd3)](){const _0x318d57=_0x528728,_0x26ed3b=new _0x516f09(this[_0x318d57(0xcc)]),_0x4308c9=new _0x3d78d6(this[_0x318d57(0xcc)]);_0x4308c9[_0x318d57(0x9d)]({'withText':!0x1,'icon':_0x4b2d3a,'class':_0x318d57(0x95)}),_0x4308c9[_0x318d57(0xd5)](_0x318d57(0xc3))['to'](this,_0x318d57(0xdd),_0x29b941=>!!_0x29b941),_0x4308c9['on'](_0x318d57(0xb2),()=>{const _0x32225b=_0x318d57;this[_0x32225b(0xb3)]='';});const _0x5b7238=this[_0x318d57(0x93)];return _0x26ed3b[_0x318d57(0xad)]({'tag':_0x318d57(0xb1),'attributes':{'class':['ck',_0x318d57(0xcf),_0x318d57(0x8e)]},'children':[{'tag':'p','children':[{'text':_0x5b7238['to'](_0x318d57(0xb3))}]},_0x4308c9]}),_0x26ed3b;}[_0x528728(0xa6)](){const _0x35dc4e=_0x528728,_0x405ebf=new _0x3d78d6(this[_0x35dc4e(0xcc)]);_0x405ebf[_0x35dc4e(0x9d)]({'label':_0x6173b4(this[_0x35dc4e(0xcc)],_0x35dc4e(0xb8)),'withText':!0x0,'icon':_0x2621fd,'class':_0x35dc4e(0xaa)}),_0x405ebf['on'](_0x35dc4e(0xb2),()=>{const _0x32b96f=_0x35dc4e;this[_0x32b96f(0xd9)](_0x32b96f(0xae));});const _0x4ff364=new _0x516f09(this[_0x35dc4e(0xcc)]);return _0x4ff364[_0x35dc4e(0xad)]({'tag':_0x35dc4e(0xb1),'attributes':{'class':[_0x35dc4e(0xbd),this[_0x35dc4e(0x93)]['if'](_0x35dc4e(0xa0),_0x35dc4e(0x86),_0x3a871d=>!_0x3a871d)]},'children':[{'tag':'p','attributes':{'class':[_0x35dc4e(0xc7)]},'children':[_0x6173b4(this[_0x35dc4e(0xcc)],_0x35dc4e(0xd2))]},_0x405ebf]}),_0x4ff364;}[_0x528728(0xc8)](_0x40b71c,_0x39e592){const _0x4df3c8=_0x528728,_0x15750c=[];for(const _0x3bf5a0 of _0x40b71c){const _0x1d9410=new _0x83c2fb(_0x39e592,_0x3bf5a0);_0x1d9410[_0x4df3c8(0x97)](..._0x1004e8)['to'](this),_0x15750c[_0x4df3c8(0xa1)](_0x1d9410);}return _0x15750c;}[_0x528728(0xb5)](_0x268cef){const _0xdbafe1=_0x528728,_0x356015=this[_0xdbafe1(0xcc)]||'en',_0x278d79=[];for(const _0x353543 of _0x268cef){const _0x3ae4a7=this[_0xdbafe1(0xc8)](_0x353543[_0xdbafe1(0xa2)],_0x356015);_0x278d79[_0xdbafe1(0xa1)](new _0x2d731f(_0x356015,{'title':_0x353543[_0xdbafe1(0x9f)],'items':_0x3ae4a7}));}this[_0xdbafe1(0xce)][_0xdbafe1(0x92)]=_0x278d79,this[_0xdbafe1(0xce)][_0xdbafe1(0xa2)][_0xdbafe1(0x9e)](),this[_0xdbafe1(0xce)][_0xdbafe1(0xa2)][_0xdbafe1(0xd0)](_0x278d79),this[_0xdbafe1(0xdd)]=_0x268cef[_0xdbafe1(0xa9)](_0x35e74c=>_0x35e74c[_0xdbafe1(0xa2)][_0xdbafe1(0x88)]>0x0),this[_0xdbafe1(0xd4)]();}[_0x528728(0xca)](_0x383860){const _0x44f199=_0x528728;for(const _0x5cc183 of this[_0x44f199(0xce)][_0x44f199(0x92)]){const _0x49c37b=_0x5cc183[_0x44f199(0xb7)](_0x383860);if(_0x49c37b){if(_0x5cc183[_0x44f199(0x83)](_0x49c37b),0x0===_0x5cc183[_0x44f199(0xbf)][_0x44f199(0x88)]){const _0x2f6ad6=this[_0x44f199(0xce)][_0x44f199(0x92)][_0x44f199(0x80)](_0x5cc183);-0x1!==_0x2f6ad6&&(this[_0x44f199(0xce)][_0x44f199(0x92)][_0x44f199(0xcd)](_0x2f6ad6,0x1),this[_0x44f199(0xce)][_0x44f199(0xa2)][_0x44f199(0xbb)](_0x5cc183));}this[_0x44f199(0xdd)]=this[_0x44f199(0xce)][_0x44f199(0x92)][_0x44f199(0x88)]>0x0,this[_0x44f199(0xd4)]();break;}}}[_0x528728(0xb9)](_0x130fbc,_0xbff650){const _0x269b21=_0x528728;for(const _0x5d4c4f of this[_0x269b21(0xce)][_0x269b21(0x92)]){const _0x289014=_0x5d4c4f[_0x269b21(0xb7)](_0x130fbc);if(_0x289014){_0x289014[_0x269b21(0xd6)](_0xbff650);break;}}}[_0x528728(0x85)](_0x4864d6,_0x5b0314,_0x3236f3){const _0x599513=_0x528728;for(const _0xb78d2b of this[_0x599513(0xce)][_0x599513(0x92)]){const _0x3f8582=_0xb78d2b[_0x599513(0xb7)](_0x4864d6);if(_0x3f8582){_0x3f8582[_0x599513(0xbc)](_0x5b0314,_0x3236f3);break;}}}[_0x528728(0xd4)](){const _0x255453=_0x528728;if(this[_0x255453(0xdd)]){const _0x37e25e=this[_0x255453(0xbe)][_0x255453(0x9b)][_0x255453(0x8a)]?.[_0x255453(0x81)]?.[_0x255453(0xdb)]||'';this[_0x255453(0xbe)][_0x255453(0xd1)](_0x37e25e);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39467a=_0x5476;(function(_0x3eb900,_0x3578e7){const _0x5b4ab4=_0x5476,_0x1f8d25=_0x3eb900();while(!![]){try{const _0x8d59bd=parseInt(_0x5b4ab4(0x11e))/0x1+-parseInt(_0x5b4ab4(0x11d))/0x2+-parseInt(_0x5b4ab4(0x10b))/0x3+parseInt(_0x5b4ab4(0x114))/0x4*(-parseInt(_0x5b4ab4(0x14d))/0x5)+-parseInt(_0x5b4ab4(0x10c))/0x6*(-parseInt(_0x5b4ab4(0x13a))/0x7)+-parseInt(_0x5b4ab4(0x12c))/0x8*(-parseInt(_0x5b4ab4(0x13f))/0x9)+parseInt(_0x5b4ab4(0x148))/0xa;if(_0x8d59bd===_0x3578e7)break;else _0x1f8d25['push'](_0x1f8d25['shift']());}catch(_0x5e9dd6){_0x1f8d25['push'](_0x1f8d25['shift']());}}}(_0x3167,0xce65b));import{AIChatUI as _0x1e35cf}from'../aichat/aichatui.js';function _0x5476(_0x23ecaa,_0x3171b3){const _0x316744=_0x3167();return _0x5476=function(_0x547614,_0x2a34be){_0x547614=_0x547614-0xfb;let _0xbd7e36=_0x316744[_0x547614];return _0xbd7e36;},_0x5476(_0x23ecaa,_0x3171b3);}import{ContextPlugin as _0x157dd5}from'ckeditor5/src/core.js';import{AIChatShortcutsView as _0x156870}from'./ui/aichatshortcutsview.js';function _0x3167(){const _0x154610=['ai-chat-shortcuts-translate-not-found','addFeedItemCustomElement','language','locale','runReviewCheck','AIReviewModeUI','custom','length','isFromHistory','element','execute','prompt','removeFeedItem','2455713DNYeEr','6nMXdlT','ai.chat.shortcuts','requires','ai-chat-shortcuts-review-mode-not-found','chat','destroy','init','activateTab','52sqGKhE','AITranslateUI','type','AITabs','sendMessage','_shortcutsView','args','hasFeedItem','check','2804758THAgsQ','252830rJnccU','includes','setReasoning','source','conversationCreated','get','_injectShortcuts','interactionStarted','getDefault','has','params','setModel','forEach','ai-chat-shortcuts-ai-tabs-not-found','892272tpyaSh','TRANSLATE','review','fire','getModel','AIChatController','_switchTab','setWebSearch','listenTo','_validateShortcuts','AIChat','setPromptInputValue','context','_runTranslateShortcut','7947380uqsPLD','render','_aiChatUI','chat-shortcuts','plugins','36MzqSLU','config','_removeShortcuts','string','reviewMode','find','_executeShortcut','label','REVIEW','15981530TJoXsk','CHAT','values','AIChatShortcuts','chatModels','140810ndsmtX','ai-chat-shortcuts-invalid-config','addCurrentDocumentToChatContext','translate','view','pluginName','_shortcuts','_runChatShortcut','_runReviewShortcut','isPremiumPlugin','focusPromptInput','isOfficialPlugin','activeConversation'];_0x3167=function(){return _0x154610;};return _0x3167();}import{CKEditorError as _0x482675}from'ckeditor5/src/utils.js';import'../../theme/aichatshortcuts/aichatshortcuts.css';const Ut=_0x39467a(0x13d);export var AIChatShortcutType;!function(_0x5924bc){const _0x3a2a21=_0x39467a;_0x5924bc[_0x3a2a21(0x149)]=_0x3a2a21(0x110),_0x5924bc[_0x3a2a21(0x147)]=_0x3a2a21(0x12e),_0x5924bc[_0x3a2a21(0x12d)]=_0x3a2a21(0x150);}(AIChatShortcutType||(AIChatShortcutType={}));export class AIChatShortcuts extends _0x157dd5{[_0x39467a(0x153)];[_0x39467a(0x119)];[_0x39467a(0x13c)];static get[_0x39467a(0x10e)](){return[_0x1e35cf];}static get[_0x39467a(0x152)](){const _0x3e7228=_0x39467a;return _0x3e7228(0x14b);}static get[_0x39467a(0xfc)](){return!0x0;}static get[_0x39467a(0x156)](){return!0x0;}[_0x39467a(0x112)](){const _0x11f816=_0x39467a;this[_0x11f816(0x13c)]=this[_0x11f816(0x138)][_0x11f816(0x13e)][_0x11f816(0x123)](_0x1e35cf),this[_0x11f816(0x153)]=this[_0x11f816(0x138)][_0x11f816(0x140)][_0x11f816(0x123)](_0x11f816(0x10d))??[];const _0x39fbf8=this[_0x11f816(0x138)][_0x11f816(0x13e)][_0x11f816(0x123)](_0x11f816(0x131));this[_0x11f816(0x153)][_0x11f816(0x105)]&&(this[_0x11f816(0x135)](),this[_0x11f816(0x13c)]['on'](_0x11f816(0x122),()=>{const _0x88a4e4=_0x11f816;_0x39fbf8[_0x88a4e4(0xfd)][_0x88a4e4(0x106)]||this[_0x88a4e4(0x124)]();}),this[_0x11f816(0x134)](_0x39fbf8,_0x11f816(0x125),()=>{const _0x2a74e3=_0x11f816;this[_0x2a74e3(0x141)]();}));}[_0x39467a(0x135)](){const _0x1ad2f8=_0x39467a,_0x47461f=Object[_0x1ad2f8(0x14a)](AIChatShortcutType);this[_0x1ad2f8(0x153)][_0x1ad2f8(0x12a)](_0x574f6f=>{const _0x47f2ac=_0x1ad2f8;let _0x1e9e81=!0x0;if(_0x574f6f['id']&&_0x574f6f[_0x47f2ac(0x146)]&&_0x47461f[_0x47f2ac(0x11f)](_0x574f6f[_0x47f2ac(0x116)])?_0x47f2ac(0x110)===_0x574f6f[_0x47f2ac(0x116)]&&(_0x1e9e81=_0x47f2ac(0x142)==typeof _0x574f6f[_0x47f2ac(0x109)]):_0x1e9e81=!0x1,!_0x1e9e81)throw new _0x482675(_0x47f2ac(0x14e),this[_0x47f2ac(0x138)],{'shortcut':_0x574f6f});});}[_0x39467a(0x124)](){const _0x2a2451=_0x39467a,_0x3370d1=this[_0x2a2451(0x138)][_0x2a2451(0x13e)][_0x2a2451(0x123)](_0x1e35cf);this[_0x2a2451(0x119)]=new _0x156870(this[_0x2a2451(0x138)][_0x2a2451(0x101)],this[_0x2a2451(0x153)]),this[_0x2a2451(0x119)][_0x2a2451(0x13b)](),_0x3370d1[_0x2a2451(0xff)](this[_0x2a2451(0x119)][_0x2a2451(0x107)],Ut),this[_0x2a2451(0x119)]['on'](_0x2a2451(0x108),_0x16cabd=>{const _0xf74a45=_0x2a2451,_0x43ed7e=_0x16cabd[_0xf74a45(0x121)]['id'];this[_0xf74a45(0x145)](_0x43ed7e);});}[_0x39467a(0x141)](){const _0x54d97f=_0x39467a,_0x1098ce=this[_0x54d97f(0x138)][_0x54d97f(0x13e)][_0x54d97f(0x123)](_0x1e35cf);_0x1098ce[_0x54d97f(0x11b)](Ut)&&_0x1098ce[_0x54d97f(0x10a)](Ut),this[_0x54d97f(0x119)]?.[_0x54d97f(0x111)]();}[_0x39467a(0x145)](_0x133e0c){const _0xe35155=_0x39467a,_0xba11b1=this[_0xe35155(0x153)][_0xe35155(0x144)](_0x3ea401=>_0x3ea401['id']===_0x133e0c),_0x318627=_0xba11b1[_0xe35155(0x116)];_0xe35155(0x110)===_0x318627?this[_0xe35155(0x154)](_0xba11b1):_0xe35155(0x12e)===_0x318627?_0xba11b1[_0xe35155(0x11c)]?this[_0xe35155(0x155)](_0xba11b1):this[_0xe35155(0x132)](_0xe35155(0x143)):_0xe35155(0x150)===_0x318627&&(_0xba11b1[_0xe35155(0x100)]?this[_0xe35155(0x139)](_0xba11b1):this[_0xe35155(0x132)](_0xe35155(0x150)));}[_0x39467a(0x132)](_0x30f27d){const _0x3fefc=_0x39467a;if(!this[_0x3fefc(0x138)][_0x3fefc(0x13e)][_0x3fefc(0x127)](_0x3fefc(0x117)))throw new _0x482675(_0x3fefc(0x12b),this[_0x3fefc(0x138)],{'tabName':_0x30f27d});this[_0x3fefc(0x138)][_0x3fefc(0x13e)][_0x3fefc(0x123)](_0x3fefc(0x117))[_0x3fefc(0x151)][_0x3fefc(0x113)](_0x30f27d);}async[_0x39467a(0x154)]({prompt:_0x3035a8,draftMode:_0x29c639,useWebSearch:_0x4213e9=!0x1,useReasoning:_0xc99517=!0x1,model:_0xe10cb6}){const _0x4a8af8=_0x39467a,_0x2933fd=this[_0x4a8af8(0x138)][_0x4a8af8(0x13e)][_0x4a8af8(0x123)](_0x4a8af8(0x136)),_0x3f6b3a=this[_0x4a8af8(0x138)][_0x4a8af8(0x13e)][_0x4a8af8(0x123)](_0x4a8af8(0x131)),_0x36df6d=_0x3f6b3a[_0x4a8af8(0xfd)];let _0x3c83c2;_0x3c83c2=_0xe10cb6?await _0x36df6d[_0x4a8af8(0x14c)][_0x4a8af8(0x130)](_0xe10cb6):await _0x36df6d[_0x4a8af8(0x14c)][_0x4a8af8(0x126)](),_0x3c83c2&&await _0x36df6d[_0x4a8af8(0x129)](_0x3c83c2),_0x36df6d[_0x4a8af8(0x133)](_0x4213e9),_0x36df6d[_0x4a8af8(0x120)](_0xc99517),_0x3f6b3a[_0x4a8af8(0x14f)](),_0x29c639?(this[_0x4a8af8(0x13c)][_0x4a8af8(0x137)](_0x3035a8),this[_0x4a8af8(0x13c)][_0x4a8af8(0xfb)](!0x0)):_0x2933fd[_0x4a8af8(0x118)]({'message':_0x3035a8});}[_0x39467a(0x155)]({check:_0x2e99b8,model:_0x5899fe,prompt:_0x4d30cb,params:_0x2a8f6c}){const _0x17823a=_0x39467a;if(!this[_0x17823a(0x138)][_0x17823a(0x13e)][_0x17823a(0x127)](_0x17823a(0x103)))throw new _0x482675(_0x17823a(0x10f),this[_0x17823a(0x138)]);this[_0x17823a(0x132)](_0x17823a(0x143));const _0x446bcf={'id':_0x2e99b8,'isCustom':_0x17823a(0x104)===_0x2e99b8};_0x5899fe&&_0x4d30cb&&(_0x446bcf[_0x17823a(0x11a)]={'model':_0x5899fe,'prompt':_0x4d30cb}),_0x2a8f6c&&(_0x446bcf[_0x17823a(0x128)]=_0x2a8f6c),this[_0x17823a(0x138)][_0x17823a(0x13e)][_0x17823a(0x123)](_0x17823a(0x103))[_0x17823a(0x12f)](_0x17823a(0x102),_0x446bcf);}[_0x39467a(0x139)]({language:_0x3c848c}){const _0x108a4c=_0x39467a;if(!this[_0x108a4c(0x138)][_0x108a4c(0x13e)][_0x108a4c(0x127)](_0x108a4c(0x115)))throw new _0x482675(_0x108a4c(0xfe),this[_0x108a4c(0x138)]);this[_0x108a4c(0x132)](_0x108a4c(0x150)),this[_0x108a4c(0x138)][_0x108a4c(0x13e)][_0x108a4c(0x123)](_0x108a4c(0x115))[_0x108a4c(0x12f)](_0x108a4c(0x102),{'id':_0x3c848c,'args':{'language':_0x3c848c}});}}
23
+ const _0x4ba5e5=_0x56f7;function _0x45d3(){const _0x2e2fc4=['getModel','AIChat','ai-chat-shortcuts-translate-not-found','6402HvuXkV','TRANSLATE','fire','requires','setModel','261201DVwcxm','activeConversation','custom','hasFeedItem','params','isPremiumPlugin','_runChatShortcut','reviewMode','AITabs','listenTo','translate','AITranslateUI','render','values','AIReviewModeUI','setReasoning','type','ai-chat-shortcuts-ai-tabs-not-found','isOfficialPlugin','execute','prompt','_removeShortcuts','addFeedItemCustomElement','language','source','addCurrentDocumentToChatContext','_validateShortcuts','getDefault','16NLMhYL','1375ZJPYQM','sendMessage','setWebSearch','review','pluginName','find','get','init','context','_aiChatUI','_shortcutsView','removeFeedItem','plugins','setPromptInputValue','chat','element','731829lTHHZr','chatModels','ai-chat-shortcuts-review-mode-not-found','check','655592CGUlBB','forEach','args','20804CdcMBP','destroy','chat-shortcuts','view','length','has','REVIEW','activateTab','10622xcnnLe','config','_executeShortcut','string','label','AIChatShortcuts','_injectShortcuts','ai.chat.shortcuts','_runTranslateShortcut','AIChatController','_shortcuts','locale','focusPromptInput','CHAT','_switchTab','isFromHistory','ai-chat-shortcuts-invalid-config','conversationCreated','includes','runReviewCheck','_runReviewShortcut','interactionStarted','1320426MZirMN'];_0x45d3=function(){return _0x2e2fc4;};return _0x45d3();}(function(_0xd5b560,_0x24c59e){const _0x3260b1=_0x56f7,_0x5bfd47=_0xd5b560();while(!![]){try{const _0x49100a=parseInt(_0x3260b1(0x1e5))/0x1+-parseInt(_0x3260b1(0x1ed))/0x2+parseInt(_0x3260b1(0x20c))/0x3+parseInt(_0x3260b1(0x1e2))/0x4+parseInt(_0x3260b1(0x229))/0x5*(parseInt(_0x3260b1(0x207))/0x6)+-parseInt(_0x3260b1(0x1de))/0x7+-parseInt(_0x3260b1(0x228))/0x8*(parseInt(_0x3260b1(0x203))/0x9);if(_0x49100a===_0x24c59e)break;else _0x5bfd47['push'](_0x5bfd47['shift']());}catch(_0x35a3a){_0x5bfd47['push'](_0x5bfd47['shift']());}}}(_0x45d3,0x27874));import{AIChatUI as _0xcdea64}from'../aichat/aichatui.js';import{ContextPlugin as _0xf6b950}from'ckeditor5/src/core.js';import{AIChatShortcutsView as _0x443c6b}from'./ui/aichatshortcutsview.js';import{CKEditorError as _0x5dfa6b}from'ckeditor5/src/utils.js';import'../../theme/aichatshortcuts/aichatshortcuts.css';const wt=_0x4ba5e5(0x1e7);export var AIChatShortcutType;!function(_0x1e12fa){const _0x2f67b4=_0x4ba5e5;_0x1e12fa[_0x2f67b4(0x1fa)]=_0x2f67b4(0x1dc),_0x1e12fa[_0x2f67b4(0x1eb)]=_0x2f67b4(0x22c),_0x1e12fa[_0x2f67b4(0x208)]=_0x2f67b4(0x216);}(AIChatShortcutType||(AIChatShortcutType={}));function _0x56f7(_0x4caa38,_0x3bec1a){const _0x45d370=_0x45d3();return _0x56f7=function(_0x56f76d,_0x4e7c04){_0x56f76d=_0x56f76d-0x1da;let _0x54ec98=_0x45d370[_0x56f76d];return _0x54ec98;},_0x56f7(_0x4caa38,_0x3bec1a);}export class AIChatShortcuts extends _0xf6b950{[_0x4ba5e5(0x1f7)];[_0x4ba5e5(0x233)];[_0x4ba5e5(0x232)];static get[_0x4ba5e5(0x20a)](){return[_0xcdea64];}static get[_0x4ba5e5(0x22d)](){const _0x4c2b2a=_0x4ba5e5;return _0x4c2b2a(0x1f2);}static get[_0x4ba5e5(0x21e)](){return!0x0;}static get[_0x4ba5e5(0x211)](){return!0x0;}[_0x4ba5e5(0x230)](){const _0x52ff31=_0x4ba5e5;this[_0x52ff31(0x232)]=this[_0x52ff31(0x231)][_0x52ff31(0x1da)][_0x52ff31(0x22f)](_0xcdea64),this[_0x52ff31(0x1f7)]=this[_0x52ff31(0x231)][_0x52ff31(0x1ee)][_0x52ff31(0x22f)](_0x52ff31(0x1f4))??[];const _0x54fb18=this[_0x52ff31(0x231)][_0x52ff31(0x1da)][_0x52ff31(0x22f)](_0x52ff31(0x1f6));this[_0x52ff31(0x1f7)][_0x52ff31(0x1e9)]&&(this[_0x52ff31(0x226)](),this[_0x52ff31(0x232)]['on'](_0x52ff31(0x1fe),()=>{const _0x117a5f=_0x52ff31;_0x54fb18[_0x117a5f(0x20d)][_0x117a5f(0x1fc)]||this[_0x117a5f(0x1f3)]();}),this[_0x52ff31(0x215)](_0x54fb18,_0x52ff31(0x202),()=>{const _0xb31d88=_0x52ff31;this[_0xb31d88(0x221)]();}));}[_0x4ba5e5(0x226)](){const _0x547167=_0x4ba5e5,_0x204fe5=Object[_0x547167(0x219)](AIChatShortcutType);this[_0x547167(0x1f7)][_0x547167(0x1e3)](_0x1b711d=>{const _0x179f41=_0x547167;let _0x391dc6=!0x0;if(_0x1b711d['id']&&_0x1b711d[_0x179f41(0x1f1)]&&_0x204fe5[_0x179f41(0x1ff)](_0x1b711d[_0x179f41(0x21c)])?_0x179f41(0x1dc)===_0x1b711d[_0x179f41(0x21c)]&&(_0x391dc6=_0x179f41(0x1f0)==typeof _0x1b711d[_0x179f41(0x220)]):_0x391dc6=!0x1,!_0x391dc6)throw new _0x5dfa6b(_0x179f41(0x1fd),this[_0x179f41(0x231)],{'shortcut':_0x1b711d});});}[_0x4ba5e5(0x1f3)](){const _0x1f9f4d=_0x4ba5e5,_0x5afa36=this[_0x1f9f4d(0x231)][_0x1f9f4d(0x1da)][_0x1f9f4d(0x22f)](_0xcdea64);this[_0x1f9f4d(0x233)]=new _0x443c6b(this[_0x1f9f4d(0x231)][_0x1f9f4d(0x1f8)],this[_0x1f9f4d(0x1f7)]),this[_0x1f9f4d(0x233)][_0x1f9f4d(0x218)](),_0x5afa36[_0x1f9f4d(0x222)](this[_0x1f9f4d(0x233)][_0x1f9f4d(0x1dd)],wt),this[_0x1f9f4d(0x233)]['on'](_0x1f9f4d(0x21f),_0x135d78=>{const _0x61ce9f=_0x1f9f4d,_0x474887=_0x135d78[_0x61ce9f(0x224)]['id'];this[_0x61ce9f(0x1ef)](_0x474887);});}[_0x4ba5e5(0x221)](){const _0x1ce8e9=_0x4ba5e5,_0x2c3db2=this[_0x1ce8e9(0x231)][_0x1ce8e9(0x1da)][_0x1ce8e9(0x22f)](_0xcdea64);_0x2c3db2[_0x1ce8e9(0x20f)](wt)&&_0x2c3db2[_0x1ce8e9(0x234)](wt),this[_0x1ce8e9(0x233)]?.[_0x1ce8e9(0x1e6)]();}[_0x4ba5e5(0x1ef)](_0x2bed01){const _0x32dbbf=_0x4ba5e5,_0x11218e=this[_0x32dbbf(0x1f7)][_0x32dbbf(0x22e)](_0x1191ef=>_0x1191ef['id']===_0x2bed01),_0x418ec0=_0x11218e[_0x32dbbf(0x21c)];_0x32dbbf(0x1dc)===_0x418ec0?this[_0x32dbbf(0x212)](_0x11218e):_0x32dbbf(0x22c)===_0x418ec0?_0x11218e[_0x32dbbf(0x1e1)]?this[_0x32dbbf(0x201)](_0x11218e):this[_0x32dbbf(0x1fb)](_0x32dbbf(0x213)):_0x32dbbf(0x216)===_0x418ec0&&(_0x11218e[_0x32dbbf(0x223)]?this[_0x32dbbf(0x1f5)](_0x11218e):this[_0x32dbbf(0x1fb)](_0x32dbbf(0x216)));}[_0x4ba5e5(0x1fb)](_0x31fc0b){const _0xd78a4d=_0x4ba5e5;if(!this[_0xd78a4d(0x231)][_0xd78a4d(0x1da)][_0xd78a4d(0x1ea)](_0xd78a4d(0x214)))throw new _0x5dfa6b(_0xd78a4d(0x21d),this[_0xd78a4d(0x231)],{'tabName':_0x31fc0b});this[_0xd78a4d(0x231)][_0xd78a4d(0x1da)][_0xd78a4d(0x22f)](_0xd78a4d(0x214))[_0xd78a4d(0x1e8)][_0xd78a4d(0x1ec)](_0x31fc0b);}async[_0x4ba5e5(0x212)]({prompt:_0x3f1db2,draftMode:_0x4e0c18,useWebSearch:_0x29254e=!0x1,useReasoning:_0x34feaf=!0x1,model:_0x3a55aa}){const _0x1c6691=_0x4ba5e5,_0x59df8d=this[_0x1c6691(0x231)][_0x1c6691(0x1da)][_0x1c6691(0x22f)](_0x1c6691(0x205)),_0x4795de=this[_0x1c6691(0x231)][_0x1c6691(0x1da)][_0x1c6691(0x22f)](_0x1c6691(0x1f6)),_0x4fe5a3=_0x4795de[_0x1c6691(0x20d)];let _0x2e6ea1;_0x2e6ea1=_0x3a55aa?await _0x4fe5a3[_0x1c6691(0x1df)][_0x1c6691(0x204)](_0x3a55aa):await _0x4fe5a3[_0x1c6691(0x1df)][_0x1c6691(0x227)](),_0x2e6ea1&&await _0x4fe5a3[_0x1c6691(0x20b)](_0x2e6ea1),_0x4fe5a3[_0x1c6691(0x22b)](_0x29254e),_0x4fe5a3[_0x1c6691(0x21b)](_0x34feaf),_0x4795de[_0x1c6691(0x225)](),_0x4e0c18?(this[_0x1c6691(0x232)][_0x1c6691(0x1db)](_0x3f1db2),this[_0x1c6691(0x232)][_0x1c6691(0x1f9)](!0x0)):_0x59df8d[_0x1c6691(0x22a)]({'message':_0x3f1db2});}[_0x4ba5e5(0x201)]({check:_0x23040c,model:_0x19886f,prompt:_0x26ec15,params:_0x501c29}){const _0x18e33f=_0x4ba5e5;if(!this[_0x18e33f(0x231)][_0x18e33f(0x1da)][_0x18e33f(0x1ea)](_0x18e33f(0x21a)))throw new _0x5dfa6b(_0x18e33f(0x1e0),this[_0x18e33f(0x231)]);this[_0x18e33f(0x1fb)](_0x18e33f(0x213));const _0x48da30={'id':_0x23040c,'isCustom':_0x18e33f(0x20e)===_0x23040c};_0x19886f&&_0x26ec15&&(_0x48da30[_0x18e33f(0x1e4)]={'model':_0x19886f,'prompt':_0x26ec15}),_0x501c29&&(_0x48da30[_0x18e33f(0x210)]=_0x501c29),this[_0x18e33f(0x231)][_0x18e33f(0x1da)][_0x18e33f(0x22f)](_0x18e33f(0x21a))[_0x18e33f(0x209)](_0x18e33f(0x200),_0x48da30);}[_0x4ba5e5(0x1f5)]({language:_0x13fed8}){const _0xed861d=_0x4ba5e5;if(!this[_0xed861d(0x231)][_0xed861d(0x1da)][_0xed861d(0x1ea)](_0xed861d(0x217)))throw new _0x5dfa6b(_0xed861d(0x206),this[_0xed861d(0x231)]);this[_0xed861d(0x1fb)](_0xed861d(0x216)),this[_0xed861d(0x231)][_0xed861d(0x1da)][_0xed861d(0x22f)](_0xed861d(0x217))[_0xed861d(0x209)](_0xed861d(0x200),{'id':_0x13fed8,'args':{'language':_0x13fed8}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3307(_0x426610,_0x4cbdad){const _0x2c21fb=_0x2c21();return _0x3307=function(_0x3307e9,_0x46c2a9){_0x3307e9=_0x3307e9-0x18f;let _0x5f058c=_0x2c21fb[_0x3307e9];return _0x5f058c;},_0x3307(_0x426610,_0x4cbdad);}const _0x4dacb4=_0x3307;(function(_0x2e2c55,_0x2b231a){const _0x5afdc7=_0x3307,_0x44c705=_0x2e2c55();while(!![]){try{const _0x151834=-parseInt(_0x5afdc7(0x193))/0x1*(-parseInt(_0x5afdc7(0x19e))/0x2)+-parseInt(_0x5afdc7(0x19b))/0x3+-parseInt(_0x5afdc7(0x18f))/0x4+-parseInt(_0x5afdc7(0x1a2))/0x5+-parseInt(_0x5afdc7(0x19a))/0x6+parseInt(_0x5afdc7(0x19f))/0x7*(-parseInt(_0x5afdc7(0x1a0))/0x8)+parseInt(_0x5afdc7(0x191))/0x9*(parseInt(_0x5afdc7(0x198))/0xa);if(_0x151834===_0x2b231a)break;else _0x44c705['push'](_0x44c705['shift']());}catch(_0x2b1745){_0x44c705['push'](_0x44c705['shift']());}}}(_0x2c21,0x8060d));import{ListItemView as _0x1df162,ListView as _0x3bada7,View as _0x4b54b3}from'ckeditor5/src/ui.js';import{AIChatShortcutView as _0x48ec28}from'./aichatshortcutview.js';function _0x2c21(){const _0x2df40a=['ck-ai-chat-shortcuts','add','530846hXLgEj','7oTUgvD','2336520OjDNPH','addMany','4454155GpAsrC','execute','delegate','2337260EAtbgG','children','36GeMuex','locale','2TlMtkp','div','listView','setTemplate','items','6667550woRlKT','map','5106822aKeWzT','161043knLtUk'];_0x2c21=function(){return _0x2df40a;};return _0x2c21();}export class AIChatShortcutsView extends _0x4b54b3{[_0x4dacb4(0x195)];constructor(_0x2dfb9b,_0x364e7b){const _0x3df8cb=_0x4dacb4;super(_0x2dfb9b);const _0x40c0cf=_0x364e7b[_0x3df8cb(0x199)](_0x569363=>{const _0x215bf4=_0x3df8cb,_0x2bcbdb=new _0x1df162(this[_0x215bf4(0x192)]),_0xe87b04=new _0x48ec28(this[_0x215bf4(0x192)],_0x569363);return _0x2bcbdb[_0x215bf4(0x190)][_0x215bf4(0x19d)](_0xe87b04),_0xe87b04[_0x215bf4(0x1a4)](_0x215bf4(0x1a3))['to'](this),_0x2bcbdb;});this[_0x3df8cb(0x195)]=new _0x3bada7(this[_0x3df8cb(0x192)]),this[_0x3df8cb(0x195)][_0x3df8cb(0x197)][_0x3df8cb(0x1a1)](_0x40c0cf),this[_0x3df8cb(0x196)]({'tag':_0x3df8cb(0x194),'attributes':{'class':['ck',_0x3df8cb(0x19c)]},'children':[this[_0x3df8cb(0x195)]]});}}
23
+ const _0x57047b=_0x75d9;(function(_0x5c96e9,_0x3de6a1){const _0x249bec=_0x75d9,_0x24426a=_0x5c96e9();while(!![]){try{const _0x5b45bc=-parseInt(_0x249bec(0x1dc))/0x1*(-parseInt(_0x249bec(0x1d4))/0x2)+-parseInt(_0x249bec(0x1cf))/0x3*(parseInt(_0x249bec(0x1d8))/0x4)+parseInt(_0x249bec(0x1d3))/0x5*(-parseInt(_0x249bec(0x1e1))/0x6)+parseInt(_0x249bec(0x1de))/0x7*(parseInt(_0x249bec(0x1e2))/0x8)+-parseInt(_0x249bec(0x1d5))/0x9+parseInt(_0x249bec(0x1d0))/0xa+parseInt(_0x249bec(0x1df))/0xb*(parseInt(_0x249bec(0x1d9))/0xc);if(_0x5b45bc===_0x3de6a1)break;else _0x24426a['push'](_0x24426a['shift']());}catch(_0x2df37b){_0x24426a['push'](_0x24426a['shift']());}}}(_0x1402,0x2563f));function _0x1402(){const _0x342638=['listView','setTemplate','execute','10350etsNyf','1977680QHiIqe','addMany','add','1273945lEiibg','3016KplXOq','660177DGuoHy','delegate','ck-ai-chat-shortcuts','140LYUSnZ','275148IdVhkW','map','div','5hsxKyl','items','476OLNwZf','77EBRwAi','locale','6JQsfDD','27792cTxjjH','children'];_0x1402=function(){return _0x342638;};return _0x1402();}import{ListItemView as _0xb79191,ListView as _0x5668c4,View as _0x5ddb35}from'ckeditor5/src/ui.js';function _0x75d9(_0x703a4a,_0x1ad600){const _0x140264=_0x1402();return _0x75d9=function(_0x75d9ca,_0x1796e8){_0x75d9ca=_0x75d9ca-0x1cd;let _0x1ab52d=_0x140264[_0x75d9ca];return _0x1ab52d;},_0x75d9(_0x703a4a,_0x1ad600);}import{AIChatShortcutView as _0x1735d0}from'./aichatshortcutview.js';export class AIChatShortcutsView extends _0x5ddb35{[_0x57047b(0x1e4)];constructor(_0x39b563,_0x559fc4){const _0x4b8a4d=_0x57047b;super(_0x39b563);const _0x3151c6=_0x559fc4[_0x4b8a4d(0x1da)](_0x49219c=>{const _0x3e2531=_0x4b8a4d,_0x2a3923=new _0xb79191(this[_0x3e2531(0x1e0)]),_0x407a27=new _0x1735d0(this[_0x3e2531(0x1e0)],_0x49219c);return _0x2a3923[_0x3e2531(0x1e3)][_0x3e2531(0x1d2)](_0x407a27),_0x407a27[_0x3e2531(0x1d6)](_0x3e2531(0x1ce))['to'](this),_0x2a3923;});this[_0x4b8a4d(0x1e4)]=new _0x5668c4(this[_0x4b8a4d(0x1e0)]),this[_0x4b8a4d(0x1e4)][_0x4b8a4d(0x1dd)][_0x4b8a4d(0x1d1)](_0x3151c6),this[_0x4b8a4d(0x1cd)]({'tag':_0x4b8a4d(0x1db),'attributes':{'class':['ck',_0x4b8a4d(0x1d7)]},'children':[this[_0x4b8a4d(0x1e4)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1818bf,_0x4412dc){const _0x45f587=_0x1854,_0x4f333b=_0x1818bf();while(!![]){try{const _0x428e51=parseInt(_0x45f587(0x165))/0x1*(parseInt(_0x45f587(0x164))/0x2)+-parseInt(_0x45f587(0x172))/0x3*(-parseInt(_0x45f587(0x16a))/0x4)+-parseInt(_0x45f587(0x163))/0x5*(parseInt(_0x45f587(0x16f))/0x6)+parseInt(_0x45f587(0x166))/0x7*(-parseInt(_0x45f587(0x16b))/0x8)+-parseInt(_0x45f587(0x16c))/0x9*(parseInt(_0x45f587(0x16d))/0xa)+parseInt(_0x45f587(0x175))/0xb+parseInt(_0x45f587(0x170))/0xc;if(_0x428e51===_0x4412dc)break;else _0x4f333b['push'](_0x4f333b['shift']());}catch(_0x332b33){_0x4f333b['push'](_0x4f333b['shift']());}}}(_0x3d5a,0xb738b));function _0x1854(_0xae9d90,_0x2564a9){const _0x3d5add=_0x3d5a();return _0x1854=function(_0x185497,_0x490e7f){_0x185497=_0x185497-0x163;let _0x2be84a=_0x3d5add[_0x185497];return _0x2be84a;},_0x1854(_0xae9d90,_0x2564a9);}import{ButtonView as _0x5e674d}from'ckeditor5/src/ui.js';import{IconAIChat as _0x142db7,IconAIReview as _0x45dbc6,IconAITranslate as _0x13405c}from'@ckeditor/ckeditor5-icons';function _0x3d5a(){const _0x3ef5e1=['716aoUAHL','896iLBida','14XSIZvw','label','chat','set','1041064bAiWhi','4288328nBaVEa','12185496NbiXCm','10giBOVR','icon','36DLNduD','37725732PioLOA','extendTemplate','9DDeLZd','ck-ai-chat-shortcut','review','2881032vdgoHz','translate','1108990fvDaca'];_0x3d5a=function(){return _0x3ef5e1;};return _0x3d5a();}export class AIChatShortcutView extends _0x5e674d{['id'];constructor(_0x2dc315,_0xeccdcb){const _0x1576c2=_0x1854;super(_0x2dc315);const {id:_0x5728c4,type:_0x1a1475,icon:_0x1896a4}=_0xeccdcb;this['id']=_0x5728c4,this[_0x1576c2(0x169)]({'label':_0xeccdcb[_0x1576c2(0x167)],'withText':!0x0,'class':_0x1576c2(0x173)}),this[_0x1576c2(0x171)]({'attributes':{'data-cke-ai-shortcut-id':_0xeccdcb['id']}}),_0x1896a4?this[_0x1576c2(0x16e)]=_0x1896a4:_0x1576c2(0x168)===_0x1a1475?this[_0x1576c2(0x16e)]=_0x142db7:_0x1576c2(0x174)===_0x1a1475?this[_0x1576c2(0x16e)]=_0x45dbc6:_0x1576c2(0x176)===_0x1a1475&&(this[_0x1576c2(0x16e)]=_0x13405c);}}
23
+ (function(_0x4e6cf9,_0x52e6d9){const _0x3d3321=_0x5adc,_0x4b9ec4=_0x4e6cf9();while(!![]){try{const _0x196e84=-parseInt(_0x3d3321(0x113))/0x1*(-parseInt(_0x3d3321(0x10d))/0x2)+parseInt(_0x3d3321(0x11a))/0x3+parseInt(_0x3d3321(0x11f))/0x4*(parseInt(_0x3d3321(0x110))/0x5)+parseInt(_0x3d3321(0x112))/0x6*(parseInt(_0x3d3321(0x119))/0x7)+-parseInt(_0x3d3321(0x11b))/0x8*(parseInt(_0x3d3321(0x111))/0x9)+parseInt(_0x3d3321(0x114))/0xa*(-parseInt(_0x3d3321(0x117))/0xb)+parseInt(_0x3d3321(0x10c))/0xc*(parseInt(_0x3d3321(0x11c))/0xd);if(_0x196e84===_0x52e6d9)break;else _0x4b9ec4['push'](_0x4b9ec4['shift']());}catch(_0x3aeeb3){_0x4b9ec4['push'](_0x4b9ec4['shift']());}}}(_0x10ef,0x32191));function _0x5adc(_0x78674f,_0x5d5a1f){const _0x10ef87=_0x10ef();return _0x5adc=function(_0x5adc4d,_0x49ad99){_0x5adc4d=_0x5adc4d-0x10c;let _0x38dc7c=_0x10ef87[_0x5adc4d];return _0x38dc7c;},_0x5adc(_0x78674f,_0x5d5a1f);}import{ButtonView as _0x5b358d}from'ckeditor5/src/ui.js';import{IconAIChat as _0x5ec8c1,IconAIReview as _0x543e89,IconAITranslate as _0x3fdc8f}from'@ckeditor/ckeditor5-icons';function _0x10ef(){const _0x274b96=['set','42psgbvV','464112aBZJtF','3196504KYPFgL','13cvjfCJ','label','ck-ai-chat-shortcut','84WTCHuf','icon','2868732JLCCCy','74166ousUrt','review','translate','2850LBgsGO','9kTyZOk','60546nhOBWa','6bhmaHV','30AGjUsA','chat','extendTemplate','308055QHgJyN'];_0x10ef=function(){return _0x274b96;};return _0x10ef();}export class AIChatShortcutView extends _0x5b358d{['id'];constructor(_0x25c045,_0xc70ba3){const _0x111d3b=_0x5adc;super(_0x25c045);const {id:_0x36b74d,type:_0x5b0bc8,icon:_0x595be2}=_0xc70ba3;this['id']=_0x36b74d,this[_0x111d3b(0x118)]({'label':_0xc70ba3[_0x111d3b(0x11d)],'withText':!0x0,'class':_0x111d3b(0x11e)}),this[_0x111d3b(0x116)]({'attributes':{'data-cke-ai-shortcut-id':_0xc70ba3['id']}}),_0x595be2?this[_0x111d3b(0x120)]=_0x595be2:_0x111d3b(0x115)===_0x5b0bc8?this[_0x111d3b(0x120)]=_0x5ec8c1:_0x111d3b(0x10e)===_0x5b0bc8?this[_0x111d3b(0x120)]=_0x543e89:_0x111d3b(0x10f)===_0x5b0bc8&&(this[_0x111d3b(0x120)]=_0x3fdc8f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a057b=_0x2ba5;(function(_0x2a4be2,_0x38d465){const _0x1502b3=_0x2ba5,_0x8108fd=_0x2a4be2();while(!![]){try{const _0x14ad3f=parseInt(_0x1502b3(0x17c))/0x1*(-parseInt(_0x1502b3(0x1c2))/0x2)+-parseInt(_0x1502b3(0x169))/0x3*(-parseInt(_0x1502b3(0x1bc))/0x4)+-parseInt(_0x1502b3(0x15a))/0x5+parseInt(_0x1502b3(0x1b3))/0x6+parseInt(_0x1502b3(0x170))/0x7*(parseInt(_0x1502b3(0x155))/0x8)+parseInt(_0x1502b3(0x1d0))/0x9*(-parseInt(_0x1502b3(0x1ae))/0xa)+-parseInt(_0x1502b3(0x187))/0xb*(-parseInt(_0x1502b3(0x199))/0xc);if(_0x14ad3f===_0x38d465)break;else _0x8108fd['push'](_0x8108fd['shift']());}catch(_0x37416c){_0x8108fd['push'](_0x8108fd['shift']());}}}(_0x3cdb,0xc2d80));import{createParser as _0x58a608}from'eventsource-parser';import{ContextPlugin as _0x42708a}from'ckeditor5/src/core.js';function _0x3cdb(){const _0x19ba50=['signal','continue','feed','/conversations/','FIX_GRAMMAR','/documents/','fetchDocument','/reviews/custom/calls/','make-longer','Bearer\x20','ai-missing-token','code','getModels','/reviews/system/','CONTINUE','queryAssistant','/models/1?','data','deleteConversation','value','Content-Type','upsertCustomAIReviewRating','TRANSLATE','upsertAIReviewRating','callCustomReview','updateConversation','language','4116840IcivEr','/web-resources','fetchConversationMessages','IMPROVE_WRITING','/files/','2284555XYungC','/actions/system/','json','deleteWebResource','PUT','callSystemReview','uploadFile','application/json','message','/messages/','getReader','plugins','status','POST','group','24414mABkvj','_sendApiRequest','createdAt','token','AIConnector','false','/conversations','7EsmWYw','_handleError','requires','releaseLock','improve-writing','true','push','/conversations?','fix-grammar','deleteDocument','/actions/custom/calls','totalCount','252725daGZmF','MAKE_TONE_CASUAL','_getStreamReader','parse','ai.serviceUrl','MAKE_SHORTER','positiveCount','config','sortBy','traceId','uploadDocument','1716077ZWvjep','read','executeAction','/actions/custom/calls/','stringify','then','file','/calls/','uploadUrl','limit','GET','abortController','excludeEmpty','attributes','pluginName','request','AbortError','body','108YRgzKm','isOfficialPlugin','PATCH','/files','upsertCustomAIActionRating','startConversation','ai-request-failed','reset','/reviews/custom/calls','upsertAIActionRating','init','ai-request-aborted','desc','CloudServices','text','executeCustomAction','/messages','MAKE_LONGER','length','MAKE_TONE_FORMAL','/calls','1920VTsGBK','items','/web-resources/','DELETE','upsertAIChatRating','1644348cyfsTv','/ratings','100','fetchConversations','get','modificationId','order','fetchConversation','deleteFile','44gSqCSi','define','translate','isPremiumPlugin','context','catch','2DCthUv','make-tone-casual','statusText','decode','https://ai.cke-cs.com/v1','append','_decoder','make-shorter','_apiUrl','name','_token','toString','make-tone-formal','/documents','36306dSdEjm'];_0x3cdb=function(){return _0x19ba50;};return _0x3cdb();}import{CKEditorError as _0x1470c8}from'ckeditor5/src/utils.js';function _0x2ba5(_0x199f65,_0x51f2df){const _0x3cdb75=_0x3cdb();return _0x2ba5=function(_0x2ba5ca,_0x16eee5){_0x2ba5ca=_0x2ba5ca-0x14f;let _0x33fc56=_0x3cdb75[_0x2ba5ca];return _0x33fc56;},_0x2ba5(_0x199f65,_0x51f2df);}export var AIActionsNames;!function(_0x4039eb){const _0x1b15dc=_0x2ba5;_0x4039eb[_0x1b15dc(0x1df)]=_0x1b15dc(0x1d2),_0x4039eb[_0x1b15dc(0x1d5)]=_0x1b15dc(0x178),_0x4039eb[_0x1b15dc(0x158)]=_0x1b15dc(0x174),_0x4039eb[_0x1b15dc(0x1aa)]=_0x1b15dc(0x1d9),_0x4039eb[_0x1b15dc(0x181)]=_0x1b15dc(0x1c9),_0x4039eb[_0x1b15dc(0x17d)]=_0x1b15dc(0x1c3),_0x4039eb[_0x1b15dc(0x1ac)]=_0x1b15dc(0x1ce),_0x4039eb[_0x1b15dc(0x150)]=_0x1b15dc(0x1be);}(AIActionsNames||(AIActionsNames={}));export class AIConnector extends _0x42708a{[_0x4a057b(0x1ca)];[_0x4a057b(0x1cc)];[_0x4a057b(0x1c8)];static get[_0x4a057b(0x172)](){const _0x5de00c=_0x4a057b;return[_0x5de00c(0x1a6)];}static get[_0x4a057b(0x195)](){const _0xc3f878=_0x4a057b;return _0xc3f878(0x16d);}static get[_0x4a057b(0x19a)](){return!0x0;}static get[_0x4a057b(0x1bf)](){return!0x0;}constructor(_0x10587b){const _0x47cc2d=_0x4a057b;super(_0x10587b),this[_0x47cc2d(0x1c0)][_0x47cc2d(0x183)][_0x47cc2d(0x1bd)](_0x47cc2d(0x180),_0x47cc2d(0x1c6)),this[_0x47cc2d(0x1ca)]=this[_0x47cc2d(0x1c0)][_0x47cc2d(0x183)][_0x47cc2d(0x1b7)](_0x47cc2d(0x180)),this[_0x47cc2d(0x1cc)]=null,this[_0x47cc2d(0x1c8)]=new TextDecoder();}[_0x4a057b(0x1a3)](){const _0x261eb3=_0x4a057b,_0x4ea8c6=this[_0x261eb3(0x1c0)][_0x261eb3(0x165)][_0x261eb3(0x1b7)](_0x261eb3(0x1a6));if(!_0x4ea8c6[_0x261eb3(0x16c)])throw new _0x1470c8(_0x261eb3(0x1db),this);this[_0x261eb3(0x1cc)]=_0x4ea8c6[_0x261eb3(0x16c)];}[_0x4a057b(0x19e)](_0x2627c1,_0x33baa6){const _0xd568e=_0x4a057b,_0x3455e8=this[_0xd568e(0x16a)](_0xd568e(0x16f),_0xd568e(0x167),{'id':_0x2627c1,'group':_0x33baa6});return{'getConversation':async()=>(await _0x3455e8[_0xd568e(0x196)])[_0xd568e(0x15c)](),'abortController':_0x3455e8[_0xd568e(0x192)]};}[_0x4a057b(0x1e0)]({message:_0x35b356,conversationId:_0x597883,parts:_0x2ae9a6,capabilities:_0x5288dd,model:_0x4decb9,attributes:_0x1eb237}){const _0x5b5e16=_0x4a057b,_0x1e2378={'prompt':_0x35b356,'content':_0x2ae9a6,'model':_0x4decb9,..._0x5288dd&&{'capabilities':_0x5288dd},..._0x1eb237&&{'attributes':_0x1eb237}},_0x104b3b=this[_0x5b5e16(0x16a)](_0x5b5e16(0x1d4)+_0x597883+_0x5b5e16(0x1a9),_0x5b5e16(0x167),_0x1e2378);return{'getStream':async()=>{const _0x7db5fa=_0x5b5e16,_0x3b28ab=(await _0x104b3b[_0x7db5fa(0x196)])[_0x7db5fa(0x198)];return this[_0x7db5fa(0x17e)](_0x3b28ab);},'abortController':_0x104b3b[_0x5b5e16(0x192)]};}[_0x4a057b(0x1a8)]({content:_0x3f877e,message:_0x1a6d46,model:_0x161ea5,outputFormat:_0x2550ac}){const _0x48436e=_0x4a057b,_0x1dd8d2={'content':[{'type':_0x48436e(0x1a7),'content':_0x3f877e}],'prompt':_0x1a6d46,'model':_0x161ea5,'outputFormat':_0x2550ac},_0x3e4bd9=this[_0x48436e(0x16a)](_0x48436e(0x17a),_0x48436e(0x167),_0x1dd8d2);return{'getStream':async()=>{const _0x5ba150=_0x48436e,_0x21cee4=(await _0x3e4bd9[_0x5ba150(0x196)])[_0x5ba150(0x198)];return this[_0x5ba150(0x17e)](_0x21cee4);},'abortController':_0x3e4bd9[_0x48436e(0x192)]};}[_0x4a057b(0x189)]({actionName:_0x42b2d7,content:_0x475a35,args:_0x5168c7}){const _0xd089d0=_0x4a057b,_0x56b8a2={'content':[{'type':_0xd089d0(0x1a7),'content':_0x475a35}],'args':_0x5168c7},_0x13088a=this[_0xd089d0(0x16a)](_0xd089d0(0x15b)+_0x42b2d7+_0xd089d0(0x1ad),_0xd089d0(0x167),_0x56b8a2);return{'getStream':async()=>{const _0x47d495=_0xd089d0,_0x2e7219=(await _0x13088a[_0x47d495(0x196)])[_0x47d495(0x198)];return this[_0x47d495(0x17e)](_0x2e7219);},'abortController':_0x13088a[_0xd089d0(0x192)]};}[_0x4a057b(0x160)](_0x2a3dea,_0x118994,_0x681857){const _0x4225e5=_0x4a057b,_0x1c9247=new FormData();_0x1c9247[_0x4225e5(0x1c7)](_0x4225e5(0x18d),_0x118994,_0x118994[_0x4225e5(0x1cb)]),_0x681857&&_0x1c9247[_0x4225e5(0x1c7)](_0x4225e5(0x194),JSON[_0x4225e5(0x18b)](_0x681857));const _0x8dde8=this[_0x4225e5(0x16a)](_0x4225e5(0x1d4)+_0x2a3dea+_0x4225e5(0x19c),_0x4225e5(0x167),_0x1c9247);return{'getId':async()=>(await _0x8dde8[_0x4225e5(0x196)])[_0x4225e5(0x15c)](),'abortController':_0x8dde8[_0x4225e5(0x192)]};}[_0x4a057b(0x1d7)](_0x49626a,_0x58913d){const _0x3bdf9f=_0x4a057b,_0x479c85=this[_0x3bdf9f(0x16a)](_0x3bdf9f(0x1d4)+_0x49626a+_0x3bdf9f(0x1d6)+_0x58913d,_0x3bdf9f(0x191));return{'getDocument':async()=>(await _0x479c85[_0x3bdf9f(0x196)])[_0x3bdf9f(0x15c)](),'abortController':_0x479c85[_0x3bdf9f(0x192)]};}[_0x4a057b(0x186)](_0x4290d4,_0x1a13b1,_0x5137b6){const _0x120ff8=_0x4a057b,_0x2d302a={'content':_0x1a13b1};_0x5137b6&&(_0x2d302a[_0x120ff8(0x194)]=_0x5137b6);const _0x6997d3=this[_0x120ff8(0x16a)](_0x120ff8(0x1d4)+_0x4290d4+_0x120ff8(0x1cf),_0x120ff8(0x167),_0x2d302a);return{'getId':async()=>(await _0x6997d3[_0x120ff8(0x196)])[_0x120ff8(0x15c)](),'abortController':_0x6997d3[_0x120ff8(0x192)]};}[_0x4a057b(0x1b6)](_0x41a8dc,_0x98c226={}){const _0xa6cf=_0x4a057b,_0xe5bbef=new URLSearchParams();_0xe5bbef[_0xa6cf(0x1c7)](_0xa6cf(0x168),_0x41a8dc),_0xe5bbef[_0xa6cf(0x1c7)](_0xa6cf(0x193),!0x1!==_0x98c226[_0xa6cf(0x193)]?_0xa6cf(0x175):_0xa6cf(0x16e)),_0xe5bbef[_0xa6cf(0x1c7)](_0xa6cf(0x190),_0x98c226[_0xa6cf(0x190)]?_0x98c226[_0xa6cf(0x190)][_0xa6cf(0x1cd)]():_0xa6cf(0x1b5)),_0xe5bbef[_0xa6cf(0x1c7)](_0xa6cf(0x184),_0x98c226[_0xa6cf(0x184)]?_0x98c226[_0xa6cf(0x184)]:_0xa6cf(0x16b)),_0xe5bbef[_0xa6cf(0x1c7)](_0xa6cf(0x1b9),_0x98c226[_0xa6cf(0x1b9)]?_0x98c226[_0xa6cf(0x1b9)]:_0xa6cf(0x1a5));const _0xc5db49=this[_0xa6cf(0x16a)](_0xa6cf(0x177)+_0xe5bbef[_0xa6cf(0x1cd)](),_0xa6cf(0x191));return{'getConversations':async()=>{const _0x4ce37e=_0xa6cf,_0x5a15ea=await _0xc5db49[_0x4ce37e(0x196)];return(await _0x5a15ea[_0x4ce37e(0x15c)]())[_0x4ce37e(0x1af)];},'abortController':_0xc5db49[_0xa6cf(0x192)]};}[_0x4a057b(0x1e3)](_0x1114c2){const _0x542b24=_0x4a057b,_0x8a8a91=this[_0x542b24(0x16a)](_0x542b24(0x1d4)+_0x1114c2,_0x542b24(0x1b1));return{'execute':async()=>{const _0x556061=_0x542b24;await _0x8a8a91[_0x556061(0x196)];},'abortController':_0x8a8a91[_0x542b24(0x192)]};}[_0x4a057b(0x153)](_0xc8f8d7,_0xcb5468){const _0x4e73ae=_0x4a057b,_0x41cd89=this[_0x4e73ae(0x16a)](_0x4e73ae(0x1d4)+_0xc8f8d7,_0x4e73ae(0x19b),_0xcb5468);return{'getResult':async()=>(await _0x41cd89[_0x4e73ae(0x196)],_0xcb5468),'abortController':_0x41cd89[_0x4e73ae(0x192)]};}[_0x4a057b(0x1ba)](_0x1f57cf){const _0x7fc495=_0x4a057b,_0x423ca5=this[_0x7fc495(0x16a)](_0x7fc495(0x1d4)+_0x1f57cf,_0x7fc495(0x191));return{'getConversation':async()=>(await _0x423ca5[_0x7fc495(0x196)])[_0x7fc495(0x15c)](),'abortController':_0x423ca5[_0x7fc495(0x192)]};}[_0x4a057b(0x157)](_0x3e914e){const _0x17aac8=_0x4a057b,_0x48b346=this[_0x17aac8(0x16a)](_0x17aac8(0x1d4)+_0x3e914e+_0x17aac8(0x1a9),_0x17aac8(0x191));return{'getMessages':async()=>{const _0x266b83=_0x17aac8,_0x2e58ab=await _0x48b346[_0x266b83(0x196)];return(await _0x2e58ab[_0x266b83(0x15c)]())[_0x266b83(0x1af)];},'abortController':_0x48b346[_0x17aac8(0x192)]};}[_0x4a057b(0x18f)](_0x2bd4f6,_0x4f7a5e,_0x2179b8){const _0x5747e5=_0x4a057b,_0x8914cd=this[_0x5747e5(0x16a)](_0x5747e5(0x1d4)+_0x2bd4f6+_0x5747e5(0x156),_0x5747e5(0x167),{'url':_0x4f7a5e,'attributes':_0x2179b8});return{'getId':async()=>(await _0x8914cd[_0x5747e5(0x196)])[_0x5747e5(0x15c)](),'abortController':_0x8914cd[_0x5747e5(0x192)]};}[_0x4a057b(0x1dd)](_0x44c53f='en'){const _0x4527c0=_0x4a057b,_0x5dd3fe=new URLSearchParams();_0x5dd3fe[_0x4527c0(0x1c7)](_0x4527c0(0x154),_0x44c53f);const _0x42ba16=_0x4527c0(0x1e1)+_0x5dd3fe[_0x4527c0(0x1cd)](),_0x4294ec=this[_0x4527c0(0x16a)](_0x42ba16,_0x4527c0(0x191));return{'list':async()=>await(await _0x4294ec[_0x4527c0(0x196)])[_0x4527c0(0x15c)](),'abortController':_0x4294ec[_0x4527c0(0x192)]};}[_0x4a057b(0x1bb)](_0x2c1c4f,_0x30d380){const _0x18b80f=_0x4a057b,_0x26a6b1=this[_0x18b80f(0x16a)](_0x18b80f(0x1d4)+_0x2c1c4f+_0x18b80f(0x159)+_0x30d380,_0x18b80f(0x1b1));return{'execute':async()=>{const _0x24c05f=_0x18b80f;await _0x26a6b1[_0x24c05f(0x196)];},'abortController':_0x26a6b1[_0x18b80f(0x192)]};}[_0x4a057b(0x179)](_0x26e246,_0x382903){const _0x5bd6fa=_0x4a057b,_0x5e3ebe=this[_0x5bd6fa(0x16a)](_0x5bd6fa(0x1d4)+_0x26e246+_0x5bd6fa(0x1d6)+_0x382903,_0x5bd6fa(0x1b1));return{'execute':async()=>{const _0x50a0be=_0x5bd6fa;await _0x5e3ebe[_0x50a0be(0x196)];},'abortController':_0x5e3ebe[_0x5bd6fa(0x192)]};}[_0x4a057b(0x15d)](_0x54f295,_0x3ea0f0){const _0x4a8815=_0x4a057b,_0x235e75=this[_0x4a8815(0x16a)](_0x4a8815(0x1d4)+_0x54f295+_0x4a8815(0x1b0)+_0x3ea0f0,_0x4a8815(0x1b1));return{'execute':async()=>{const _0x34f1cc=_0x4a8815;await _0x235e75[_0x34f1cc(0x196)];},'abortController':_0x235e75[_0x4a8815(0x192)]};}[_0x4a057b(0x15f)]({reviewName:_0x3805a6,content:_0x347e98,args:_0x5a38e6}){const _0x8b1b8a=_0x4a057b,_0x1d137b=this[_0x8b1b8a(0x16a)](_0x8b1b8a(0x1de)+_0x3805a6+_0x8b1b8a(0x1ad),_0x8b1b8a(0x167),{'content':[{'type':_0x8b1b8a(0x1a7),'content':_0x347e98}],'args':_0x5a38e6});return{'getStream':async()=>{const _0x252825=_0x8b1b8a,_0x403a7e=(await _0x1d137b[_0x252825(0x196)])[_0x252825(0x198)];return this[_0x252825(0x17e)](_0x403a7e);},'abortController':_0x1d137b[_0x8b1b8a(0x192)]};}[_0x4a057b(0x152)]({content:_0x31461a,prompt:_0x944aae,model:_0x37a1b7}){const _0x281c5e=_0x4a057b,_0x20f122=this[_0x281c5e(0x16a)](_0x281c5e(0x1a1),_0x281c5e(0x167),{'content':[{'type':_0x281c5e(0x1a7),'content':_0x31461a}],'prompt':_0x944aae,'model':_0x37a1b7});return{'getStream':async()=>{const _0x15aeb9=_0x281c5e,_0x374c39=(await _0x20f122[_0x15aeb9(0x196)])[_0x15aeb9(0x198)];return this[_0x15aeb9(0x17e)](_0x374c39);},'abortController':_0x20f122[_0x281c5e(0x192)]};}[_0x4a057b(0x1b2)](_0x4ab5c4,_0xe3f7a6,_0x4de61d){const _0x348614=_0x4a057b,_0x29595b=this[_0x348614(0x16a)](_0x348614(0x1d4)+_0x4ab5c4+_0x348614(0x163)+_0xe3f7a6+_0x348614(0x1b4),_0x348614(0x15e),{'positiveCount':_0x4de61d[_0x348614(0x182)],'totalCount':_0x4de61d[_0x348614(0x17b)],'modificationId':_0x4de61d[_0x348614(0x1b8)]});return{'execute':async()=>{const _0x36a01f=_0x348614;await _0x29595b[_0x36a01f(0x196)];},'abortController':_0x29595b[_0x348614(0x192)]};}[_0x4a057b(0x1a2)](_0x4f1ef8,_0x54cd14,_0x51897d){const _0x30dba8=_0x4a057b,_0x36827a=this[_0x30dba8(0x16a)](_0x30dba8(0x15b)+_0x4f1ef8+_0x30dba8(0x18e)+_0x54cd14+_0x30dba8(0x1b4),_0x30dba8(0x15e),{'positiveCount':_0x51897d[_0x30dba8(0x182)],'totalCount':_0x51897d[_0x30dba8(0x17b)]});return{'execute':async()=>{const _0x3435b2=_0x30dba8;await _0x36827a[_0x3435b2(0x196)];},'abortController':_0x36827a[_0x30dba8(0x192)]};}[_0x4a057b(0x19d)](_0x1561db,_0x58c77b){const _0xecc41f=_0x4a057b,_0x2d2da4=this[_0xecc41f(0x16a)](_0xecc41f(0x18a)+_0x1561db+_0xecc41f(0x1b4),_0xecc41f(0x15e),{'positiveCount':_0x58c77b[_0xecc41f(0x182)],'totalCount':_0x58c77b[_0xecc41f(0x17b)]});return{'execute':async()=>{const _0x26f108=_0xecc41f;await _0x2d2da4[_0x26f108(0x196)];},'abortController':_0x2d2da4[_0xecc41f(0x192)]};}[_0x4a057b(0x151)](_0x642b98,_0x27648a,_0x135bea,_0x4404e4){const _0x264803=_0x4a057b,_0x4e369c=this[_0x264803(0x16a)](_0x264803(0x1de)+_0x642b98+_0x264803(0x18e)+_0x27648a+_0x264803(0x1b4),_0x264803(0x15e),{'positiveCount':_0x135bea[_0x264803(0x182)],'totalCount':_0x135bea[_0x264803(0x17b)],'dataId':_0x4404e4});return{'execute':async()=>{const _0x3651c9=_0x264803;await _0x4e369c[_0x3651c9(0x196)];},'abortController':_0x4e369c[_0x264803(0x192)]};}[_0x4a057b(0x14f)](_0x310679,_0x40fbfa,_0x5b7216){const _0x5e77af=_0x4a057b,_0x3ec784=this[_0x5e77af(0x16a)](_0x5e77af(0x1d8)+_0x310679+_0x5e77af(0x1b4),_0x5e77af(0x15e),{'positiveCount':_0x40fbfa[_0x5e77af(0x182)],'totalCount':_0x40fbfa[_0x5e77af(0x17b)],'dataId':_0x5b7216});return{'execute':async()=>{const _0x26395e=_0x5e77af;await _0x3ec784[_0x26395e(0x196)];},'abortController':_0x3ec784[_0x5e77af(0x192)]};}[_0x4a057b(0x16a)](_0x1fe907,_0x3de365,_0x2c4529){const _0x3483bf=_0x4a057b,_0x5d268d=new AbortController(),_0xa8990b=_0x2c4529 instanceof FormData,_0xcdec46={'Authorization':_0x3483bf(0x1da)+this[_0x3483bf(0x1cc)]?.[_0x3483bf(0x1e4)]};_0x2c4529&&!_0xa8990b&&(_0xcdec46[_0x3483bf(0x1e5)]=_0x3483bf(0x161));const _0x18f385={'method':_0x3de365,'headers':_0xcdec46,'signal':_0x5d268d[_0x3483bf(0x1d1)]};return _0x2c4529&&(_0x18f385[_0x3483bf(0x198)]=_0xa8990b?_0x2c4529:JSON[_0x3483bf(0x18b)](_0x2c4529)),{'request':fetch(''+this[_0x3483bf(0x1ca)]+_0x1fe907,_0x18f385)[_0x3483bf(0x1c1)](_0x549bc3=>{const _0x3ba5c5=_0x3483bf;this[_0x3ba5c5(0x171)](_0x549bc3);})[_0x3483bf(0x18c)](_0x401ef6=>_0x401ef6['ok']?_0x401ef6:_0x401ef6[_0x3483bf(0x15c)]()[_0x3483bf(0x18c)](_0x325d9c=>{const _0x16853b=_0x3483bf;throw{'url':this[_0x16853b(0x1ca)],'path':_0x1fe907,'method':_0x3de365,'body':_0x2c4529,'status':(_0x401ef6||{})[_0x16853b(0x166)],'statusText':(_0x401ef6||{})[_0x16853b(0x1c4)],'code':_0x325d9c[_0x16853b(0x1dc)],'message':_0x325d9c[_0x16853b(0x162)],'traceId':_0x325d9c[_0x16853b(0x185)]};})),'abortController':_0x5d268d};}async*[_0x4a057b(0x17e)](_0x54dcb1){const _0x180551=_0x4a057b,_0x5c3caf=[],_0x2a31be=_0x54dcb1[_0x180551(0x164)](),_0x44336d=_0x58a608({'onError':_0x3e6ba1=>{const _0x41d694=_0x180551;this[_0x41d694(0x171)](_0x3e6ba1);},'onEvent':_0x34e281=>{const _0x5940f5=_0x180551;_0x34e281[_0x5940f5(0x1e2)]=JSON[_0x5940f5(0x17f)](_0x34e281[_0x5940f5(0x1e2)]),_0x5c3caf[_0x5940f5(0x176)](_0x34e281);}});try{let _0x4d54df=!0x1;for(;!_0x4d54df;){const {done:_0x27b648,value:_0x4496d4}=await _0x2a31be[_0x180551(0x188)]();_0x27b648&&(_0x4d54df=!0x0),_0x44336d[_0x180551(0x1d3)](this[_0x180551(0x1c8)][_0x180551(0x1c5)](_0x4496d4,{'stream':!0x0})),yield*_0x5c3caf,_0x5c3caf[_0x180551(0x1ab)]=0x0;}}catch(_0x195048){this[_0x180551(0x171)](_0x195048);}finally{_0x2a31be[_0x180551(0x173)](),_0x44336d[_0x180551(0x1a0)]();}}[_0x4a057b(0x171)](_0x28671f){const _0x524231=_0x4a057b;if(_0x28671f instanceof _0x1470c8)throw _0x28671f;if(_0x28671f instanceof Error&&_0x524231(0x197)===_0x28671f[_0x524231(0x1cb)])throw new _0x1470c8(_0x524231(0x1a4),this,{'originalError':_0x28671f});throw new _0x1470c8(_0x524231(0x19f),this,{'originalError':_0x28671f});}}
23
+ const _0x26b9bf=_0x2dd6;(function(_0x1be338,_0x5def68){const _0x22289c=_0x2dd6,_0x278215=_0x1be338();while(!![]){try{const _0xded4f1=parseInt(_0x22289c(0x108))/0x1+-parseInt(_0x22289c(0x143))/0x2*(parseInt(_0x22289c(0xe6))/0x3)+parseInt(_0x22289c(0x102))/0x4+-parseInt(_0x22289c(0xee))/0x5*(-parseInt(_0x22289c(0xd3))/0x6)+-parseInt(_0x22289c(0x15a))/0x7*(parseInt(_0x22289c(0x104))/0x8)+parseInt(_0x22289c(0xd6))/0x9*(-parseInt(_0x22289c(0x129))/0xa)+-parseInt(_0x22289c(0x117))/0xb*(-parseInt(_0x22289c(0x10a))/0xc);if(_0xded4f1===_0x5def68)break;else _0x278215['push'](_0x278215['shift']());}catch(_0x290105){_0x278215['push'](_0x278215['shift']());}}}(_0x27c5,0x9b76c));function _0x2dd6(_0x54f22c,_0x4d156c){const _0x27c526=_0x27c5();return _0x2dd6=function(_0x2dd655,_0x46e040){_0x2dd655=_0x2dd655-0xcf;let _0x3e33d1=_0x27c526[_0x2dd655];return _0x3e33d1;},_0x2dd6(_0x54f22c,_0x4d156c);}import{createParser as _0x56d860}from'eventsource-parser';import{ContextPlugin as _0x312939}from'ckeditor5/src/core.js';import{CKEditorError as _0x4ee7e1}from'ckeditor5/src/utils.js';function _0x27c5(){const _0x2f2abf=['fetchConversationMessages','_getStreamReader','/documents','abortController','/files','25kNOyqC','createdAt','releaseLock','message','/web-resources/','uploadDocument','modificationId','upsertAIChatRating','_handleError','upsertCustomAIActionRating','AbortError','positiveCount','upsertCustomAIReviewRating','define','TRANSLATE','/conversations','continue','/calls/','isPremiumPlugin','_decoder','2198536qfPiEa','/messages/','6197008fHYzET','deleteFile','deleteWebResource','then','705796ZApOsv','token','66720zhuRPB','read','make-tone-formal','feed','/ratings','toString','name','improve-writing','updateConversation','/calls','sortBy','application/json','uploadUrl','1595tJszkC','uploadFile','PUT','CloudServices','PATCH','plugins','false','data','/reviews/custom/calls','body','totalCount','make-tone-casual','100','config','parse','/actions/custom/calls/','_token','Content-Type','10mONLWz','/conversations?','/actions/custom/calls','deleteDocument','/messages','GET','request','group','json','IMPROVE_WRITING','reset','/reviews/custom/calls/','queryAssistant','get','signal','language','pluginName','attributes','fetchConversation','fetchConversations','fix-grammar','code','startConversation','limit','text','MAKE_LONGER','24902tWiMfy','/models/1?','traceId','callSystemReview','_sendApiRequest','fetchDocument','ai-request-failed','MAKE_TONE_FORMAL','deleteConversation','make-longer','translate','executeCustomAction','order','_apiUrl','file','ai.serviceUrl','https://ai.cke-cs.com/v1','isOfficialPlugin','upsertAIActionRating','desc','MAKE_TONE_CASUAL','getReader','/actions/system/','7kCOKbz','requires','upsertAIReviewRating','push','CONTINUE','MAKE_SHORTER','DELETE','statusText','true','FIX_GRAMMAR','decode','items','callCustomReview','POST','stringify','excludeEmpty','292902QLZckS','AIConnector','status','6816132kCAbid','/files/','length','Bearer\x20','/reviews/system/','ai-request-aborted','append','context','make-shorter','getModels','/conversations/','value','/documents/','init','catch','executeAction','33kKiBfg','ai-missing-token','/web-resources'];_0x27c5=function(){return _0x2f2abf;};return _0x27c5();}export var AIActionsNames;!function(_0x1412a0){const _0x16be5e=_0x2dd6;_0x1412a0[_0x16be5e(0x15e)]=_0x16be5e(0xfe),_0x1412a0[_0x16be5e(0x163)]=_0x16be5e(0x13d),_0x1412a0[_0x16be5e(0x132)]=_0x16be5e(0x111),_0x1412a0[_0x16be5e(0x142)]=_0x16be5e(0x14c),_0x1412a0[_0x16be5e(0x15f)]=_0x16be5e(0xde),_0x1412a0[_0x16be5e(0x157)]=_0x16be5e(0x122),_0x1412a0[_0x16be5e(0x14a)]=_0x16be5e(0x10c),_0x1412a0[_0x16be5e(0xfc)]=_0x16be5e(0x14d);}(AIActionsNames||(AIActionsNames={}));export class AIConnector extends _0x312939{[_0x26b9bf(0x150)];[_0x26b9bf(0x127)];[_0x26b9bf(0x101)];static get[_0x26b9bf(0x15b)](){const _0x574a51=_0x26b9bf;return[_0x574a51(0x11a)];}static get[_0x26b9bf(0x139)](){const _0x3d4dc9=_0x26b9bf;return _0x3d4dc9(0xd4);}static get[_0x26b9bf(0x154)](){return!0x0;}static get[_0x26b9bf(0x100)](){return!0x0;}constructor(_0x3ffaae){const _0x5ca9e3=_0x26b9bf;super(_0x3ffaae),this[_0x5ca9e3(0xdd)][_0x5ca9e3(0x124)][_0x5ca9e3(0xfb)](_0x5ca9e3(0x152),_0x5ca9e3(0x153)),this[_0x5ca9e3(0x150)]=this[_0x5ca9e3(0xdd)][_0x5ca9e3(0x124)][_0x5ca9e3(0x136)](_0x5ca9e3(0x152)),this[_0x5ca9e3(0x127)]=null,this[_0x5ca9e3(0x101)]=new TextDecoder();}[_0x26b9bf(0xe3)](){const _0x24777b=_0x26b9bf,_0x49454e=this[_0x24777b(0xdd)][_0x24777b(0x11c)][_0x24777b(0x136)](_0x24777b(0x11a));if(!_0x49454e[_0x24777b(0x109)])throw new _0x4ee7e1(_0x24777b(0xe7),this);this[_0x24777b(0x127)]=_0x49454e[_0x24777b(0x109)];}[_0x26b9bf(0x13f)](_0x3b365c,_0x2b07b8){const _0x30fada=_0x26b9bf,_0x559b3b=this[_0x30fada(0x147)](_0x30fada(0xfd),_0x30fada(0xd0),{'id':_0x3b365c,'group':_0x2b07b8});return{'getConversation':async()=>(await _0x559b3b[_0x30fada(0x12f)])[_0x30fada(0x131)](),'abortController':_0x559b3b[_0x30fada(0xec)]};}[_0x26b9bf(0x135)]({message:_0x4c9cbd,conversationId:_0x29ebce,parts:_0x508d89,capabilities:_0x5e6fd4,model:_0x5bec04,attributes:_0xf3cd27}){const _0x584d48=_0x26b9bf,_0x485e98={'prompt':_0x4c9cbd,'content':_0x508d89,'model':_0x5bec04,..._0x5e6fd4&&{'capabilities':_0x5e6fd4},..._0xf3cd27&&{'attributes':_0xf3cd27}},_0x280d93=this[_0x584d48(0x147)](_0x584d48(0xe0)+_0x29ebce+_0x584d48(0x12d),_0x584d48(0xd0),_0x485e98);return{'getStream':async()=>{const _0x2ed116=_0x584d48,_0x58e235=(await _0x280d93[_0x2ed116(0x12f)])[_0x2ed116(0x120)];return this[_0x2ed116(0xea)](_0x58e235);},'abortController':_0x280d93[_0x584d48(0xec)]};}[_0x26b9bf(0x14e)]({content:_0x4fadea,message:_0x327d56,model:_0x55bb25,outputFormat:_0x2bd629}){const _0x52baf8=_0x26b9bf,_0x3186bb={'content':[{'type':_0x52baf8(0x141),'content':_0x4fadea}],'prompt':_0x327d56,'model':_0x55bb25,'outputFormat':_0x2bd629},_0x33f73f=this[_0x52baf8(0x147)](_0x52baf8(0x12b),_0x52baf8(0xd0),_0x3186bb);return{'getStream':async()=>{const _0x57b8fc=_0x52baf8,_0x2fceb3=(await _0x33f73f[_0x57b8fc(0x12f)])[_0x57b8fc(0x120)];return this[_0x57b8fc(0xea)](_0x2fceb3);},'abortController':_0x33f73f[_0x52baf8(0xec)]};}[_0x26b9bf(0xe5)]({actionName:_0x5c23fc,content:_0x18bd4d,args:_0x42db12}){const _0x24a654=_0x26b9bf,_0x4c455b={'content':[{'type':_0x24a654(0x141),'content':_0x18bd4d}],'args':_0x42db12},_0x2a2324=this[_0x24a654(0x147)](_0x24a654(0x159)+_0x5c23fc+_0x24a654(0x113),_0x24a654(0xd0),_0x4c455b);return{'getStream':async()=>{const _0x6714a=_0x24a654,_0x4b8213=(await _0x2a2324[_0x6714a(0x12f)])[_0x6714a(0x120)];return this[_0x6714a(0xea)](_0x4b8213);},'abortController':_0x2a2324[_0x24a654(0xec)]};}[_0x26b9bf(0x118)](_0x542192,_0x2d595b,_0x3a404e){const _0x33320c=_0x26b9bf,_0x4be483=new FormData();_0x4be483[_0x33320c(0xdc)](_0x33320c(0x151),_0x2d595b,_0x2d595b[_0x33320c(0x110)]),_0x3a404e&&_0x4be483[_0x33320c(0xdc)](_0x33320c(0x13a),JSON[_0x33320c(0xd1)](_0x3a404e));const _0x9d8f69=this[_0x33320c(0x147)](_0x33320c(0xe0)+_0x542192+_0x33320c(0xed),_0x33320c(0xd0),_0x4be483);return{'getId':async()=>(await _0x9d8f69[_0x33320c(0x12f)])[_0x33320c(0x131)](),'abortController':_0x9d8f69[_0x33320c(0xec)]};}[_0x26b9bf(0x148)](_0xb75615,_0x3e5a91){const _0x4c0149=_0x26b9bf,_0x3edff6=this[_0x4c0149(0x147)](_0x4c0149(0xe0)+_0xb75615+_0x4c0149(0xe2)+_0x3e5a91,_0x4c0149(0x12e));return{'getDocument':async()=>(await _0x3edff6[_0x4c0149(0x12f)])[_0x4c0149(0x131)](),'abortController':_0x3edff6[_0x4c0149(0xec)]};}[_0x26b9bf(0xf3)](_0x620227,_0x30272e,_0x32254e){const _0x360dbd=_0x26b9bf,_0x38dae2={'content':_0x30272e};_0x32254e&&(_0x38dae2[_0x360dbd(0x13a)]=_0x32254e);const _0x20c82b=this[_0x360dbd(0x147)](_0x360dbd(0xe0)+_0x620227+_0x360dbd(0xeb),_0x360dbd(0xd0),_0x38dae2);return{'getId':async()=>(await _0x20c82b[_0x360dbd(0x12f)])[_0x360dbd(0x131)](),'abortController':_0x20c82b[_0x360dbd(0xec)]};}[_0x26b9bf(0x13c)](_0x219b9b,_0x5ec5f7={}){const _0x1c63fb=_0x26b9bf,_0x3d7ec9=new URLSearchParams();_0x3d7ec9[_0x1c63fb(0xdc)](_0x1c63fb(0x130),_0x219b9b),_0x3d7ec9[_0x1c63fb(0xdc)](_0x1c63fb(0xd2),!0x1!==_0x5ec5f7[_0x1c63fb(0xd2)]?_0x1c63fb(0x162):_0x1c63fb(0x11d)),_0x3d7ec9[_0x1c63fb(0xdc)](_0x1c63fb(0x140),_0x5ec5f7[_0x1c63fb(0x140)]?_0x5ec5f7[_0x1c63fb(0x140)][_0x1c63fb(0x10f)]():_0x1c63fb(0x123)),_0x3d7ec9[_0x1c63fb(0xdc)](_0x1c63fb(0x114),_0x5ec5f7[_0x1c63fb(0x114)]?_0x5ec5f7[_0x1c63fb(0x114)]:_0x1c63fb(0xef)),_0x3d7ec9[_0x1c63fb(0xdc)](_0x1c63fb(0x14f),_0x5ec5f7[_0x1c63fb(0x14f)]?_0x5ec5f7[_0x1c63fb(0x14f)]:_0x1c63fb(0x156));const _0x48db3e=this[_0x1c63fb(0x147)](_0x1c63fb(0x12a)+_0x3d7ec9[_0x1c63fb(0x10f)](),_0x1c63fb(0x12e));return{'getConversations':async()=>{const _0x2f4319=_0x1c63fb,_0x379c5b=await _0x48db3e[_0x2f4319(0x12f)];return(await _0x379c5b[_0x2f4319(0x131)]())[_0x2f4319(0x165)];},'abortController':_0x48db3e[_0x1c63fb(0xec)]};}[_0x26b9bf(0x14b)](_0x4ae12d){const _0x2c2ef1=_0x26b9bf,_0x390558=this[_0x2c2ef1(0x147)](_0x2c2ef1(0xe0)+_0x4ae12d,_0x2c2ef1(0x160));return{'execute':async()=>{const _0x299777=_0x2c2ef1;await _0x390558[_0x299777(0x12f)];},'abortController':_0x390558[_0x2c2ef1(0xec)]};}[_0x26b9bf(0x112)](_0x6156f,_0x1a555b){const _0x48e255=_0x26b9bf,_0x24d32b=this[_0x48e255(0x147)](_0x48e255(0xe0)+_0x6156f,_0x48e255(0x11b),_0x1a555b);return{'getResult':async()=>(await _0x24d32b[_0x48e255(0x12f)],_0x1a555b),'abortController':_0x24d32b[_0x48e255(0xec)]};}[_0x26b9bf(0x13b)](_0x25cbb0){const _0x2468e0=_0x26b9bf,_0x28a1cc=this[_0x2468e0(0x147)](_0x2468e0(0xe0)+_0x25cbb0,_0x2468e0(0x12e));return{'getConversation':async()=>(await _0x28a1cc[_0x2468e0(0x12f)])[_0x2468e0(0x131)](),'abortController':_0x28a1cc[_0x2468e0(0xec)]};}[_0x26b9bf(0xe9)](_0x3c45b1){const _0xdec652=_0x26b9bf,_0xa931bb=this[_0xdec652(0x147)](_0xdec652(0xe0)+_0x3c45b1+_0xdec652(0x12d),_0xdec652(0x12e));return{'getMessages':async()=>{const _0x288ccc=_0xdec652,_0x3ad7d6=await _0xa931bb[_0x288ccc(0x12f)];return(await _0x3ad7d6[_0x288ccc(0x131)]())[_0x288ccc(0x165)];},'abortController':_0xa931bb[_0xdec652(0xec)]};}[_0x26b9bf(0x116)](_0x50ff40,_0x271fa5,_0x4e831a){const _0x87b7=_0x26b9bf,_0x37316e=this[_0x87b7(0x147)](_0x87b7(0xe0)+_0x50ff40+_0x87b7(0xe8),_0x87b7(0xd0),{'url':_0x271fa5,'attributes':_0x4e831a});return{'getId':async()=>(await _0x37316e[_0x87b7(0x12f)])[_0x87b7(0x131)](),'abortController':_0x37316e[_0x87b7(0xec)]};}[_0x26b9bf(0xdf)](_0x145cf1='en'){const _0x330346=_0x26b9bf,_0x4d18dd=new URLSearchParams();_0x4d18dd[_0x330346(0xdc)](_0x330346(0x138),_0x145cf1);const _0x5b813d=_0x330346(0x144)+_0x4d18dd[_0x330346(0x10f)](),_0x4ca4d2=this[_0x330346(0x147)](_0x5b813d,_0x330346(0x12e));return{'list':async()=>await(await _0x4ca4d2[_0x330346(0x12f)])[_0x330346(0x131)](),'abortController':_0x4ca4d2[_0x330346(0xec)]};}[_0x26b9bf(0x105)](_0x4dd57f,_0xb6e374){const _0x242eda=_0x26b9bf,_0x266fa2=this[_0x242eda(0x147)](_0x242eda(0xe0)+_0x4dd57f+_0x242eda(0xd7)+_0xb6e374,_0x242eda(0x160));return{'execute':async()=>{const _0x4dca4a=_0x242eda;await _0x266fa2[_0x4dca4a(0x12f)];},'abortController':_0x266fa2[_0x242eda(0xec)]};}[_0x26b9bf(0x12c)](_0x1a054f,_0xdc7d0a){const _0xeb6b9=_0x26b9bf,_0x5b8b9a=this[_0xeb6b9(0x147)](_0xeb6b9(0xe0)+_0x1a054f+_0xeb6b9(0xe2)+_0xdc7d0a,_0xeb6b9(0x160));return{'execute':async()=>{const _0x15c26d=_0xeb6b9;await _0x5b8b9a[_0x15c26d(0x12f)];},'abortController':_0x5b8b9a[_0xeb6b9(0xec)]};}[_0x26b9bf(0x106)](_0x1fc32c,_0xda53de){const _0xf31953=_0x26b9bf,_0x2e2b7b=this[_0xf31953(0x147)](_0xf31953(0xe0)+_0x1fc32c+_0xf31953(0xf2)+_0xda53de,_0xf31953(0x160));return{'execute':async()=>{const _0x245b7a=_0xf31953;await _0x2e2b7b[_0x245b7a(0x12f)];},'abortController':_0x2e2b7b[_0xf31953(0xec)]};}[_0x26b9bf(0x146)]({reviewName:_0x2d7e3c,content:_0x1acfd8,args:_0x25691f}){const _0x1a8723=_0x26b9bf,_0x491beb=this[_0x1a8723(0x147)](_0x1a8723(0xda)+_0x2d7e3c+_0x1a8723(0x113),_0x1a8723(0xd0),{'content':[{'type':_0x1a8723(0x141),'content':_0x1acfd8}],'args':_0x25691f});return{'getStream':async()=>{const _0x1d935b=_0x1a8723,_0x1dc490=(await _0x491beb[_0x1d935b(0x12f)])[_0x1d935b(0x120)];return this[_0x1d935b(0xea)](_0x1dc490);},'abortController':_0x491beb[_0x1a8723(0xec)]};}[_0x26b9bf(0xcf)]({content:_0x18e7df,prompt:_0x29ce59,model:_0x9778a8}){const _0x7da8f5=_0x26b9bf,_0x558b4a=this[_0x7da8f5(0x147)](_0x7da8f5(0x11f),_0x7da8f5(0xd0),{'content':[{'type':_0x7da8f5(0x141),'content':_0x18e7df}],'prompt':_0x29ce59,'model':_0x9778a8});return{'getStream':async()=>{const _0x23a6b0=_0x7da8f5,_0x2bb7c8=(await _0x558b4a[_0x23a6b0(0x12f)])[_0x23a6b0(0x120)];return this[_0x23a6b0(0xea)](_0x2bb7c8);},'abortController':_0x558b4a[_0x7da8f5(0xec)]};}[_0x26b9bf(0xf5)](_0x4350da,_0x58fe70,_0x25fd73){const _0x193d2a=_0x26b9bf,_0x97657d=this[_0x193d2a(0x147)](_0x193d2a(0xe0)+_0x4350da+_0x193d2a(0x103)+_0x58fe70+_0x193d2a(0x10e),_0x193d2a(0x119),{'positiveCount':_0x25fd73[_0x193d2a(0xf9)],'totalCount':_0x25fd73[_0x193d2a(0x121)],'modificationId':_0x25fd73[_0x193d2a(0xf4)]});return{'execute':async()=>{const _0x42050e=_0x193d2a;await _0x97657d[_0x42050e(0x12f)];},'abortController':_0x97657d[_0x193d2a(0xec)]};}[_0x26b9bf(0x155)](_0x2363a7,_0x9a332c,_0x39d61a){const _0x564afc=_0x26b9bf,_0x4d46cd=this[_0x564afc(0x147)](_0x564afc(0x159)+_0x2363a7+_0x564afc(0xff)+_0x9a332c+_0x564afc(0x10e),_0x564afc(0x119),{'positiveCount':_0x39d61a[_0x564afc(0xf9)],'totalCount':_0x39d61a[_0x564afc(0x121)]});return{'execute':async()=>{const _0x453d70=_0x564afc;await _0x4d46cd[_0x453d70(0x12f)];},'abortController':_0x4d46cd[_0x564afc(0xec)]};}[_0x26b9bf(0xf7)](_0x28c24f,_0x2c8330){const _0x2cb7a1=_0x26b9bf,_0x1ec1dc=this[_0x2cb7a1(0x147)](_0x2cb7a1(0x126)+_0x28c24f+_0x2cb7a1(0x10e),_0x2cb7a1(0x119),{'positiveCount':_0x2c8330[_0x2cb7a1(0xf9)],'totalCount':_0x2c8330[_0x2cb7a1(0x121)]});return{'execute':async()=>{const _0xe327c2=_0x2cb7a1;await _0x1ec1dc[_0xe327c2(0x12f)];},'abortController':_0x1ec1dc[_0x2cb7a1(0xec)]};}[_0x26b9bf(0x15c)](_0x34f390,_0x2db6d0,_0x24d660,_0x468b22){const _0x1d5ecf=_0x26b9bf,_0x4c3d31=this[_0x1d5ecf(0x147)](_0x1d5ecf(0xda)+_0x34f390+_0x1d5ecf(0xff)+_0x2db6d0+_0x1d5ecf(0x10e),_0x1d5ecf(0x119),{'positiveCount':_0x24d660[_0x1d5ecf(0xf9)],'totalCount':_0x24d660[_0x1d5ecf(0x121)],'dataId':_0x468b22});return{'execute':async()=>{const _0x5a2ce8=_0x1d5ecf;await _0x4c3d31[_0x5a2ce8(0x12f)];},'abortController':_0x4c3d31[_0x1d5ecf(0xec)]};}[_0x26b9bf(0xfa)](_0x4c3e9a,_0x11b80c,_0x1e7c21){const _0x2cfa9e=_0x26b9bf,_0x1fe0e1=this[_0x2cfa9e(0x147)](_0x2cfa9e(0x134)+_0x4c3e9a+_0x2cfa9e(0x10e),_0x2cfa9e(0x119),{'positiveCount':_0x11b80c[_0x2cfa9e(0xf9)],'totalCount':_0x11b80c[_0x2cfa9e(0x121)],'dataId':_0x1e7c21});return{'execute':async()=>{const _0x16fad5=_0x2cfa9e;await _0x1fe0e1[_0x16fad5(0x12f)];},'abortController':_0x1fe0e1[_0x2cfa9e(0xec)]};}[_0x26b9bf(0x147)](_0x40db94,_0x574b08,_0x500018){const _0x183eca=_0x26b9bf,_0x390733=new AbortController(),_0x2031c5=_0x500018 instanceof FormData,_0x58f3da={'Authorization':_0x183eca(0xd9)+this[_0x183eca(0x127)]?.[_0x183eca(0xe1)]};_0x500018&&!_0x2031c5&&(_0x58f3da[_0x183eca(0x128)]=_0x183eca(0x115));const _0x321266={'method':_0x574b08,'headers':_0x58f3da,'signal':_0x390733[_0x183eca(0x137)]};return _0x500018&&(_0x321266[_0x183eca(0x120)]=_0x2031c5?_0x500018:JSON[_0x183eca(0xd1)](_0x500018)),{'request':fetch(''+this[_0x183eca(0x150)]+_0x40db94,_0x321266)[_0x183eca(0xe4)](_0x3f0021=>{const _0x3b3422=_0x183eca;this[_0x3b3422(0xf6)](_0x3f0021);})[_0x183eca(0x107)](_0x55a700=>_0x55a700['ok']?_0x55a700:_0x55a700[_0x183eca(0x131)]()[_0x183eca(0x107)](_0x3747b1=>{const _0x3edcb4=_0x183eca;throw{'url':this[_0x3edcb4(0x150)],'path':_0x40db94,'method':_0x574b08,'body':_0x500018,'status':(_0x55a700||{})[_0x3edcb4(0xd5)],'statusText':(_0x55a700||{})[_0x3edcb4(0x161)],'code':_0x3747b1[_0x3edcb4(0x13e)],'message':_0x3747b1[_0x3edcb4(0xf1)],'traceId':_0x3747b1[_0x3edcb4(0x145)]};})),'abortController':_0x390733};}async*[_0x26b9bf(0xea)](_0x46397b){const _0x390169=_0x26b9bf,_0x15e97c=[],_0x5217a4=_0x46397b[_0x390169(0x158)](),_0x37adc7=_0x56d860({'onError':_0x30d708=>{const _0xec6c43=_0x390169;this[_0xec6c43(0xf6)](_0x30d708);},'onEvent':_0x3f8826=>{const _0x354896=_0x390169;_0x3f8826[_0x354896(0x11e)]=JSON[_0x354896(0x125)](_0x3f8826[_0x354896(0x11e)]),_0x15e97c[_0x354896(0x15d)](_0x3f8826);}});try{let _0x114402=!0x1;for(;!_0x114402;){const {done:_0x21743d,value:_0x2ba962}=await _0x5217a4[_0x390169(0x10b)]();_0x21743d&&(_0x114402=!0x0),_0x37adc7[_0x390169(0x10d)](this[_0x390169(0x101)][_0x390169(0x164)](_0x2ba962,{'stream':!0x0})),yield*_0x15e97c,_0x15e97c[_0x390169(0xd8)]=0x0;}}catch(_0x368e58){this[_0x390169(0xf6)](_0x368e58);}finally{_0x5217a4[_0x390169(0xf0)](),_0x37adc7[_0x390169(0x133)]();}}[_0x26b9bf(0xf6)](_0x39c88f){const _0x6b0897=_0x26b9bf;if(_0x39c88f instanceof _0x4ee7e1)throw _0x39c88f;if(_0x39c88f instanceof Error&&_0x6b0897(0xf8)===_0x39c88f[_0x6b0897(0x110)])throw new _0x4ee7e1(_0x6b0897(0xdb),this,{'originalError':_0x39c88f});throw new _0x4ee7e1(_0x6b0897(0x149),this,{'originalError':_0x39c88f});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4cc378=_0x2dc4;(function(_0x44d06f,_0x1840a2){const _0x2e807f=_0x2dc4,_0x5e31a2=_0x44d06f();while(!![]){try{const _0x14e983=parseInt(_0x2e807f(0x1e2))/0x1*(-parseInt(_0x2e807f(0x1fc))/0x2)+-parseInt(_0x2e807f(0x1bb))/0x3*(parseInt(_0x2e807f(0x1fa))/0x4)+parseInt(_0x2e807f(0x1bd))/0x5*(-parseInt(_0x2e807f(0x1a4))/0x6)+-parseInt(_0x2e807f(0x1e0))/0x7+-parseInt(_0x2e807f(0x1dd))/0x8+parseInt(_0x2e807f(0x202))/0x9+-parseInt(_0x2e807f(0x1a6))/0xa*(-parseInt(_0x2e807f(0x1d7))/0xb);if(_0x14e983===_0x1840a2)break;else _0x5e31a2['push'](_0x5e31a2['shift']());}catch(_0xdb066b){_0x5e31a2['push'](_0x5e31a2['shift']());}}}(_0x332f,0xce3e1));import{ViewDowncastWriter as _0x460d12}from'ckeditor5/src/engine.js';function _0x2dc4(_0x241c04,_0x31c31a){const _0x332fd5=_0x332f();return _0x2dc4=function(_0x2dc4ff,_0x41c4a7){_0x2dc4ff=_0x2dc4ff-0x19d;let _0x1092c3=_0x332fd5[_0x2dc4ff];return _0x1092c3;},_0x2dc4(_0x241c04,_0x31c31a);}import{ContextPlugin as _0xc1df86,Editor as _0x50291b}from'ckeditor5/src/core.js';import{uid as _0x4a12ea}from'ckeditor5/src/utils.js';function _0x332f(){const _0x198a98=['editing','23506417LJLzFx','setAttribute','ai-selection','fromCharCode',':end></','addMarker','1440928BgGJbx','toView','_getMarkersInDocumentOrder','3202703TMJehO',':start></','3260YAglWn','getStart','push','afterInit','sort','_setOutputDataProcessor','model','ai-selection:','editors','RealTimeCollaborationClient','_sessionId','listenTo','getLastMatchingPosition','get','isOfficialPlugin','AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','domConverter','random','define','conversion','from','view','markerToElement','createRange','110872ESdXHl','locale','394yCwmEH','_nextDataId','ck-ai-assistant-ui_theme','length','removeAllRanges','htmlWriter','14786514KlwMZP','change','pluginName','markerName','editingDowncast','hideFakeVisualSelection','isPremiumPlugin','isAtEnd','substring','getRoot','showFakeVisualSelection','plugins','getDocumentData','convertAiChatSelectionMarker','ai.models.showModelSelector','isBefore','selection','ck-fake-ai-selection','emptyElement','containerElement','ready','getChildren','viewToDom','6TmcfOq','modelToDataWithIds','10BDpsoQ','getSelection','config','_integrateEditor','getHtml','end','_displayedFakeSelectionId',':start>','isAfter','dataDowncast','name','_outputDataProcessor','add','_setDataIdsOnChildren','getRanges','processor','isOpening','toData','createUIElement','getItems','version','6HQNVRR','markers','7999115QYqEGC','start','sessionId','AIEditing','context','schema','getSelectionText','$textProxy','data-id','element','removeMarker','join','trim','isContent','_displayedFakeSelectionLocked','floor','has','_getDocumentDataStringFromView','data','getMarkersGroup','indexOf','for','document',':end>','markerToHighlight'];_0x332f=function(){return _0x198a98;};return _0x332f();}import{getTranslation as _0x15eed4}from'./utils/common-translations.js';import{getEditorFromContext as _0x440a2f}from'./utils/geteditorfromcontext.js';export const AI_VISUAL_SELECTION_MARKER_NAME=_0x4cc378(0x1d9);export class AIEditing extends _0xc1df86{constructor(_0x4cef88){const _0x43b760=_0x4cc378;super(_0x4cef88),this[_0x43b760(0x1c1)][_0x43b760(0x1a8)][_0x43b760(0x1f4)](_0x43b760(0x210),!0x0);}[_0x4cc378(0x1b1)];[_0x4cc378(0x1ac)]=null;[_0x4cc378(0x1cb)]=!0x1;[_0x4cc378(0x1ec)];static get[_0x4cc378(0x204)](){const _0x20d01a=_0x4cc378;return _0x20d01a(0x1c0);}static get[_0x4cc378(0x1f0)](){return!0x0;}static get[_0x4cc378(0x208)](){return!0x0;}get[_0x4cc378(0x1bf)](){const _0x16b65f=_0x4cc378;if(!this[_0x16b65f(0x1ec)]){const _0x527114=_0x440a2f(this[_0x16b65f(0x1c1)]),_0x4c2cba=_0x527114[_0x16b65f(0x20d)][_0x16b65f(0x1cd)](_0x16b65f(0x1eb))&&_0x527114[_0x16b65f(0x20d)][_0x16b65f(0x1ef)](_0x16b65f(0x1eb))[_0x16b65f(0x1bf)];this[_0x16b65f(0x1ec)]=_0x4c2cba||_0x4a12ea();}return this[_0x16b65f(0x1ec)];}async[_0x4cc378(0x20e)](){const _0x403375=_0x4cc378,_0x589538=_0x440a2f(this[_0x403375(0x1c1)]),_0x5b7731=_0x589538[_0x403375(0x1e8)],_0x579339=_0x589538[_0x403375(0x1cf)][_0x403375(0x1de)](_0x5b7731[_0x403375(0x1d3)][_0x403375(0x20b)](),{'convertAiChatSelectionMarker':!0x0}),_0x4df517=new _0x460d12(_0x589538[_0x403375(0x1d6)][_0x403375(0x1f7)][_0x403375(0x1d3)]);this[_0x403375(0x1b3)](_0x579339,_0x4df517);let _0x14114c=await this[_0x403375(0x1ce)](_0x579339);const _0xf71176=this[_0x403375(0x1df)](),_0x535381=[];for(const _0x4377c9 of _0xf71176){const _0x2eeb33='<'+_0x4377c9[_0x403375(0x1b0)]+_0x403375(0x1e1)+_0x4377c9[_0x403375(0x1b0)]+_0x403375(0x1ad),_0x1d5f68=_0x14114c[_0x403375(0x1d1)](_0x2eeb33);_0x14114c=_0x14114c[_0x403375(0x20a)](0x0,_0x1d5f68)+_0x14114c[_0x403375(0x20a)](_0x1d5f68+_0x2eeb33[_0x403375(0x1ff)]);const _0xb7bc16='<'+_0x4377c9[_0x403375(0x1b0)]+_0x403375(0x1db)+_0x4377c9[_0x403375(0x1b0)]+_0x403375(0x1d4),_0x4c0ca1=_0x14114c[_0x403375(0x1d1)](_0xb7bc16);_0x14114c=_0x14114c[_0x403375(0x20a)](0x0,_0x4c0ca1)+_0x14114c[_0x403375(0x20a)](_0x4c0ca1+_0xb7bc16[_0x403375(0x1ff)]),_0x535381[_0x403375(0x1e4)]({'markerName':_0x4377c9[_0x403375(0x1b0)],'start':_0x1d5f68,'end':_0x4c0ca1,'htmlFragment':_0x14114c[_0x403375(0x20a)](_0x1d5f68,_0x4c0ca1)});}return{'content':_0x14114c,'version':_0x589538[_0x403375(0x1e8)][_0x403375(0x1d3)][_0x403375(0x1ba)],'sessionId':this[_0x403375(0x1bf)],'selections':_0x535381};}async[_0x4cc378(0x1e5)](){const _0x57033e=_0x4cc378;this[_0x57033e(0x1c1)]instanceof _0x50291b?this[_0x57033e(0x1a9)](this[_0x57033e(0x1c1)]):this[_0x57033e(0x1ed)](this[_0x57033e(0x1c1)][_0x57033e(0x1ea)],_0x57033e(0x1b2),(_0x3fe2f5,_0x198f11)=>{const _0x28d85d=_0x57033e;_0x198f11['on'](_0x28d85d(0x1a1),()=>{const _0x56a6ba=_0x28d85d;this[_0x56a6ba(0x1a9)](_0x198f11);});});}[_0x4cc378(0x1e7)](_0x41d6d6){const _0x5f07db=_0x4cc378;this[_0x5f07db(0x1b1)]=_0x41d6d6;}async[_0x4cc378(0x1ce)](_0x1361dc){const _0x502953=_0x4cc378;let _0x4e594f;const _0x1a8ec5=_0x440a2f(this[_0x502953(0x1c1)]);if(this[_0x502953(0x1b1)]){const _0x3e0730=_0x1a8ec5[_0x502953(0x1cf)][_0x502953(0x1b5)][_0x502953(0x1f2)][_0x502953(0x1a3)](_0x1361dc),_0x3f55d1=await this[_0x502953(0x1b1)](_0x3e0730);_0x4e594f=_0x1a8ec5[_0x502953(0x1cf)][_0x502953(0x1b5)][_0x502953(0x201)][_0x502953(0x1aa)](_0x3f55d1);}else _0x4e594f=_0x1a8ec5[_0x502953(0x1cf)][_0x502953(0x1b5)][_0x502953(0x1b7)](_0x1361dc);return _0x4e594f;}[_0x4cc378(0x1a9)](_0x19561e){const _0xf9f798=_0x4cc378;_0x19561e[_0xf9f798(0x1f5)][_0xf9f798(0x1d2)](_0xf9f798(0x206))[_0xf9f798(0x1d5)]({'model':_0xf9f798(0x1d9),'view':{'classes':[_0xf9f798(0x19e),_0xf9f798(0x1fe)],'priority':0xc}}),_0x19561e[_0xf9f798(0x1f5)][_0xf9f798(0x1d2)](_0xf9f798(0x1af))[_0xf9f798(0x1f8)]({'model':_0xf9f798(0x1d9),'view':(_0x199d77,{writer:_0x248a5f,options:_0x25b88d})=>_0x25b88d[_0xf9f798(0x20f)]?_0x248a5f[_0xf9f798(0x1b8)](_0x199d77[_0xf9f798(0x205)]+':'+(_0x199d77[_0xf9f798(0x1b6)]?_0xf9f798(0x1be):_0xf9f798(0x1ab))):null});}[_0x4cc378(0x20c)](_0x3411e7,_0x6c12d3,_0x239e63=!0x1,_0x57ea2d=!0x1){const _0x295dc3=_0x4cc378;if(this[_0x295dc3(0x1cb)]&&!_0x57ea2d)return!0x1;const _0x45ea10=_0x440a2f(this[_0x295dc3(0x1c1)])[_0x295dc3(0x1e8)];return _0x45ea10[_0x295dc3(0x203)](_0x3c9263=>{const _0x50f53f=_0x295dc3;this[_0x50f53f(0x1ac)]&&this[_0x50f53f(0x207)](this[_0x50f53f(0x1ac)]),this[_0x50f53f(0x1ac)]=_0x6c12d3,this[_0x50f53f(0x1cb)]=_0x239e63;let _0x352458=0x0;for(let _0x3e028c of _0x3411e7){const _0x1d4f88=_0x50f53f(0x1e9)+_0x352458;if(_0x3e028c[_0x50f53f(0x1be)][_0x50f53f(0x209)]){const _0x514cd6=_0x3e028c[_0x50f53f(0x1be)][_0x50f53f(0x1ee)](({item:_0x585b38})=>!_0x45ea10[_0x50f53f(0x1c2)][_0x50f53f(0x1ca)](_0x585b38),{'boundaries':_0x3e028c});_0x3e028c=_0x3c9263[_0x50f53f(0x1f9)](_0x514cd6,_0x3e028c[_0x50f53f(0x1ab)]);}_0x3c9263[_0x50f53f(0x1dc)](_0x1d4f88,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3e028c}),_0x352458++;}}),window[_0x295dc3(0x1a7)]()?.[_0x295dc3(0x200)](),!0x0;}[_0x4cc378(0x207)](_0x116c69){const _0x22cb5c=_0x4cc378;if(this[_0x22cb5c(0x1ac)]!=_0x116c69)return!0x1;this[_0x22cb5c(0x1ac)]=null,this[_0x22cb5c(0x1cb)]=!0x1;const _0x2940ca=_0x440a2f(this[_0x22cb5c(0x1c1)]),_0x25d678=_0x2940ca[_0x22cb5c(0x1e8)][_0x22cb5c(0x1bc)][_0x22cb5c(0x1d0)](_0x22cb5c(0x1d9));return _0x2940ca[_0x22cb5c(0x1e8)][_0x22cb5c(0x203)](_0x2ad938=>{const _0x43e4aa=_0x22cb5c;for(const _0x276130 of _0x25d678)_0x2ad938[_0x43e4aa(0x1c7)](_0x276130);}),!0x0;}async[_0x4cc378(0x1a5)](_0x4ac520){const _0x4a7d6f=_0x4cc378,_0x242824=_0x440a2f(this[_0x4a7d6f(0x1c1)]),_0x3a054c=_0x242824[_0x4a7d6f(0x1cf)][_0x4a7d6f(0x1de)](_0x4ac520),_0x2802d2=new _0x460d12(_0x242824[_0x4a7d6f(0x1d6)][_0x4a7d6f(0x1f7)][_0x4a7d6f(0x1d3)]);return this[_0x4a7d6f(0x1b3)](_0x3a054c,_0x2802d2),this[_0x4a7d6f(0x1ce)](_0x3a054c);}[_0x4cc378(0x1b3)](_0x53bf3b,_0x42daaf){const _0x58c181=_0x4cc378;let _0x5afe41=!0x1;const _0x4cc2ea=new Set();for(const _0x2f08b7 of _0x53bf3b[_0x58c181(0x1a2)]()){const _0x17daed=_0x2f08b7['is'](_0x58c181(0x19f))||_0x2f08b7['is'](_0x58c181(0x1a0));if(!_0x2f08b7['is'](_0x58c181(0x1c6)))continue;(this[_0x58c181(0x1b3)](_0x2f08b7,_0x42daaf)||_0x17daed)&&(_0x42daaf[_0x58c181(0x1d8)](_0x58c181(0x1c5),this[_0x58c181(0x1fd)](_0x4cc2ea),_0x2f08b7),_0x5afe41=!0x0);}return _0x5afe41;}[_0x4cc378(0x1fd)](_0x156071){const _0x3355e6=_0x4cc378;let _0x22ce0f;do{_0x22ce0f='';for(let _0x5232fb=0x0;_0x5232fb<0x4;_0x5232fb++)_0x22ce0f+=String[_0x3355e6(0x1da)](0x61+Math[_0x3355e6(0x1cc)](0x1a*Math[_0x3355e6(0x1f3)]()));}while(_0x156071[_0x3355e6(0x1cd)](_0x22ce0f));return _0x156071[_0x3355e6(0x1b2)](_0x22ce0f),_0x22ce0f;}[_0x4cc378(0x1c3)](){const _0xa51274=_0x4cc378,{model:_0x520112}=_0x440a2f(this[_0xa51274(0x1c1)]),_0x903819=_0x520112[_0xa51274(0x1d3)][_0xa51274(0x19d)],_0x21d912=[];for(const _0x37feb3 of _0x903819[_0xa51274(0x1b4)]())for(const _0x18801a of _0x37feb3[_0xa51274(0x1b9)]())_0x18801a['is'](_0xa51274(0x1c4))?_0x21d912[_0xa51274(0x1e4)](_0x18801a[_0xa51274(0x1cf)]):_0x18801a['is'](_0xa51274(0x1c6))&&_0x21d912[_0xa51274(0x1ff)]>0x0&&'\x20'!==_0x21d912[_0x21d912[_0xa51274(0x1ff)]-0x1]&&_0x21d912[_0xa51274(0x1e4)]('\x20');return _0x21d912[_0xa51274(0x1ff)]?'\x22'+_0x21d912[_0xa51274(0x1c8)]('')[_0xa51274(0x1c9)]()+'\x22':_0x15eed4(this[_0xa51274(0x1c1)][_0xa51274(0x1fb)],_0xa51274(0x1f1));}[_0x4cc378(0x1df)](){const _0x47625d=_0x4cc378,_0x18ee6e=_0x440a2f(this[_0x47625d(0x1c1)])[_0x47625d(0x1e8)];return Array[_0x47625d(0x1f6)](_0x18ee6e[_0x47625d(0x1bc)][_0x47625d(0x1d0)](_0x47625d(0x1d9)))[_0x47625d(0x1e6)]((_0x5a34a8,_0x132b3f)=>_0x5a34a8[_0x47625d(0x1e3)]()[_0x47625d(0x211)](_0x132b3f[_0x47625d(0x1e3)]())?-0x1:_0x5a34a8[_0x47625d(0x1e3)]()[_0x47625d(0x1ae)](_0x132b3f[_0x47625d(0x1e3)]())?0x1:0x0);}}
23
+ const _0x4dd393=_0x11f3;(function(_0x370787,_0x550678){const _0x394dea=_0x11f3,_0x580fd2=_0x370787();while(!![]){try{const _0x5bbc11=-parseInt(_0x394dea(0x138))/0x1*(parseInt(_0x394dea(0x10f))/0x2)+-parseInt(_0x394dea(0xf2))/0x3+parseInt(_0x394dea(0x122))/0x4*(-parseInt(_0x394dea(0xdd))/0x5)+parseInt(_0x394dea(0x10d))/0x6*(-parseInt(_0x394dea(0x12a))/0x7)+parseInt(_0x394dea(0x139))/0x8+parseInt(_0x394dea(0x104))/0x9+-parseInt(_0x394dea(0x109))/0xa*(-parseInt(_0x394dea(0x148))/0xb);if(_0x5bbc11===_0x550678)break;else _0x580fd2['push'](_0x580fd2['shift']());}catch(_0x305b5b){_0x580fd2['push'](_0x580fd2['shift']());}}}(_0xa2da,0x91b21));function _0xa2da(){const _0xb5363f=['for','model','containerElement','data','getRoot','end','plugins','9360828maIsNV','getRanges','emptyElement',':start></','trim','80HczlmD','view','start','convertAiChatSelectionMarker','1206rpwtlN','editors','143006livwwD','context','ck-ai-assistant-ui_theme','getSelection','dataDowncast','push','editingDowncast','getChildren','removeMarker','conversion','createUIElement','_getMarkersInDocumentOrder','isBefore','listenTo','pluginName','schema','fromCharCode','markerName','config','1431212heBHod','from','createRange','afterInit','locale','showFakeVisualSelection','isAfter','isAtEnd','21889ykJmyn','isOpening','_outputDataProcessor','toView','ai-selection:','getItems','change','toData','length','substring','hideFakeVisualSelection','_setDataIdsOnChildren','name','_sessionId','2kprEQZ','4880088yjAEai','removeAllRanges','setAttribute','domConverter','define',':end></','add','ck-fake-ai-selection','isContent','getDocumentData','version','element','ai-selection','indexOf','_displayedFakeSelectionId','1345443GgXfNB','ready','AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','random','data-id','getHtml','viewToDom','addMarker','sessionId','floor','5dHVsyH','getLastMatchingPosition','markerToElement','has','ai.models.showModelSelector','RealTimeCollaborationClient','markers','document','_setOutputDataProcessor','isPremiumPlugin','$textProxy','getStart','isOfficialPlugin','_integrateEditor','getMarkersGroup','selection','_getDocumentDataStringFromView','getSelectionText','_nextDataId','join','AIEditing','2707506eIwNoB',':start>','htmlWriter','_displayedFakeSelectionLocked','get','editing',':end>','processor','sort','modelToDataWithIds','markerToHighlight'];_0xa2da=function(){return _0xb5363f;};return _0xa2da();}import{ViewDowncastWriter as _0x58b373}from'ckeditor5/src/engine.js';import{ContextPlugin as _0x4628c2,Editor as _0x1c152e}from'ckeditor5/src/core.js';function _0x11f3(_0x4a710a,_0x41afcd){const _0xa2da83=_0xa2da();return _0x11f3=function(_0x11f329,_0x5cf11f){_0x11f329=_0x11f329-0xda;let _0x56defe=_0xa2da83[_0x11f329];return _0x56defe;},_0x11f3(_0x4a710a,_0x41afcd);}import{uid as _0x1d17e6}from'ckeditor5/src/utils.js';import{getTranslation as _0x8fed0d}from'./utils/common-translations.js';import{getEditorFromContext as _0x1cc823}from'./utils/geteditorfromcontext.js';export const AI_VISUAL_SELECTION_MARKER_NAME=_0x4dd393(0x145);export class AIEditing extends _0x4628c2{constructor(_0x3cbe43){const _0x49b516=_0x4dd393;super(_0x3cbe43),this[_0x49b516(0x110)][_0x49b516(0x121)][_0x49b516(0x13d)](_0x49b516(0xe1),!0x0);}[_0x4dd393(0x12c)];[_0x4dd393(0x147)]=null;[_0x4dd393(0xf5)]=!0x1;[_0x4dd393(0x137)];static get[_0x4dd393(0x11d)](){const _0x51cb43=_0x4dd393;return _0x51cb43(0xf1);}static get[_0x4dd393(0xe9)](){return!0x0;}static get[_0x4dd393(0xe6)](){return!0x0;}get[_0x4dd393(0xdb)](){const _0x5722c0=_0x4dd393;if(!this[_0x5722c0(0x137)]){const _0x25f715=_0x1cc823(this[_0x5722c0(0x110)]),_0x1d822d=_0x25f715[_0x5722c0(0x103)][_0x5722c0(0xe0)](_0x5722c0(0xe2))&&_0x25f715[_0x5722c0(0x103)][_0x5722c0(0xf6)](_0x5722c0(0xe2))[_0x5722c0(0xdb)];this[_0x5722c0(0x137)]=_0x1d822d||_0x1d17e6();}return this[_0x5722c0(0x137)];}async[_0x4dd393(0x142)](){const _0x3494b5=_0x4dd393,_0x3a348a=_0x1cc823(this[_0x3494b5(0x110)]),_0x391ada=_0x3a348a[_0x3494b5(0xfe)],_0x3d5a12=_0x3a348a[_0x3494b5(0x100)][_0x3494b5(0x12d)](_0x391ada[_0x3494b5(0xe4)][_0x3494b5(0x101)](),{'convertAiChatSelectionMarker':!0x0}),_0x3e0495=new _0x58b373(_0x3a348a[_0x3494b5(0xf7)][_0x3494b5(0x10a)][_0x3494b5(0xe4)]);this[_0x3494b5(0x135)](_0x3d5a12,_0x3e0495);let _0x3857bd=await this[_0x3494b5(0xed)](_0x3d5a12);const _0x2b5ee6=this[_0x3494b5(0x11a)](),_0xdd09b5=[];for(const _0x3cdeda of _0x2b5ee6){const _0x2f04a8='<'+_0x3cdeda[_0x3494b5(0x136)]+_0x3494b5(0x107)+_0x3cdeda[_0x3494b5(0x136)]+_0x3494b5(0xf3),_0x49d3bc=_0x3857bd[_0x3494b5(0x146)](_0x2f04a8);_0x3857bd=_0x3857bd[_0x3494b5(0x133)](0x0,_0x49d3bc)+_0x3857bd[_0x3494b5(0x133)](_0x49d3bc+_0x2f04a8[_0x3494b5(0x132)]);const _0x53353e='<'+_0x3cdeda[_0x3494b5(0x136)]+_0x3494b5(0x13e)+_0x3cdeda[_0x3494b5(0x136)]+_0x3494b5(0xf8),_0x2dca5b=_0x3857bd[_0x3494b5(0x146)](_0x53353e);_0x3857bd=_0x3857bd[_0x3494b5(0x133)](0x0,_0x2dca5b)+_0x3857bd[_0x3494b5(0x133)](_0x2dca5b+_0x53353e[_0x3494b5(0x132)]),_0xdd09b5[_0x3494b5(0x114)]({'markerName':_0x3cdeda[_0x3494b5(0x136)],'start':_0x49d3bc,'end':_0x2dca5b,'htmlFragment':_0x3857bd[_0x3494b5(0x133)](_0x49d3bc,_0x2dca5b)});}return{'content':_0x3857bd,'version':_0x3a348a[_0x3494b5(0xfe)][_0x3494b5(0xe4)][_0x3494b5(0x143)],'sessionId':this[_0x3494b5(0xdb)],'selections':_0xdd09b5};}async[_0x4dd393(0x125)](){const _0x49fc4f=_0x4dd393;this[_0x49fc4f(0x110)]instanceof _0x1c152e?this[_0x49fc4f(0xea)](this[_0x49fc4f(0x110)]):this[_0x49fc4f(0x11c)](this[_0x49fc4f(0x110)][_0x49fc4f(0x10e)],_0x49fc4f(0x13f),(_0x11a068,_0x2be589)=>{const _0x291db0=_0x49fc4f;_0x2be589['on'](_0x291db0(0x149),()=>{const _0x15d76e=_0x291db0;this[_0x15d76e(0xea)](_0x2be589);});});}[_0x4dd393(0xe5)](_0x18b7a1){const _0x5bc00e=_0x4dd393;this[_0x5bc00e(0x12c)]=_0x18b7a1;}async[_0x4dd393(0xed)](_0x94925b){const _0x261ee1=_0x4dd393;let _0x188d6d;const _0x35af04=_0x1cc823(this[_0x261ee1(0x110)]);if(this[_0x261ee1(0x12c)]){const _0x11cde3=_0x35af04[_0x261ee1(0x100)][_0x261ee1(0xf9)][_0x261ee1(0x13c)][_0x261ee1(0x14e)](_0x94925b),_0x1376b4=await this[_0x261ee1(0x12c)](_0x11cde3);_0x188d6d=_0x35af04[_0x261ee1(0x100)][_0x261ee1(0xf9)][_0x261ee1(0xf4)][_0x261ee1(0x14d)](_0x1376b4);}else _0x188d6d=_0x35af04[_0x261ee1(0x100)][_0x261ee1(0xf9)][_0x261ee1(0x131)](_0x94925b);return _0x188d6d;}[_0x4dd393(0xea)](_0x290ed9){const _0x4bdc17=_0x4dd393;_0x290ed9[_0x4bdc17(0x118)][_0x4bdc17(0xfd)](_0x4bdc17(0x115))[_0x4bdc17(0xfc)]({'model':_0x4bdc17(0x145),'view':{'classes':[_0x4bdc17(0x140),_0x4bdc17(0x111)],'priority':0xc}}),_0x290ed9[_0x4bdc17(0x118)][_0x4bdc17(0xfd)](_0x4bdc17(0x113))[_0x4bdc17(0xdf)]({'model':_0x4bdc17(0x145),'view':(_0x3287ea,{writer:_0x43e203,options:_0x4d528b})=>_0x4d528b[_0x4bdc17(0x10c)]?_0x43e203[_0x4bdc17(0x119)](_0x3287ea[_0x4bdc17(0x120)]+':'+(_0x3287ea[_0x4bdc17(0x12b)]?_0x4bdc17(0x10b):_0x4bdc17(0x102))):null});}[_0x4dd393(0x127)](_0x422952,_0x476dbc,_0x495020=!0x1,_0x239a08=!0x1){const _0xb4b89c=_0x4dd393;if(this[_0xb4b89c(0xf5)]&&!_0x239a08)return!0x1;const _0x1811aa=_0x1cc823(this[_0xb4b89c(0x110)])[_0xb4b89c(0xfe)];return _0x1811aa[_0xb4b89c(0x130)](_0x7ee61=>{const _0x2b62d0=_0xb4b89c;this[_0x2b62d0(0x147)]&&this[_0x2b62d0(0x134)](this[_0x2b62d0(0x147)]),this[_0x2b62d0(0x147)]=_0x476dbc,this[_0x2b62d0(0xf5)]=_0x495020;let _0x51db61=0x0;for(let _0x28bc9c of _0x422952){const _0x5b4383=_0x2b62d0(0x12e)+_0x51db61;if(_0x28bc9c[_0x2b62d0(0x10b)][_0x2b62d0(0x129)]){const _0x885963=_0x28bc9c[_0x2b62d0(0x10b)][_0x2b62d0(0xde)](({item:_0xe52266})=>!_0x1811aa[_0x2b62d0(0x11e)][_0x2b62d0(0x141)](_0xe52266),{'boundaries':_0x28bc9c});_0x28bc9c=_0x7ee61[_0x2b62d0(0x124)](_0x885963,_0x28bc9c[_0x2b62d0(0x102)]);}_0x7ee61[_0x2b62d0(0xda)](_0x5b4383,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x28bc9c}),_0x51db61++;}}),window[_0xb4b89c(0x112)]()?.[_0xb4b89c(0x13a)](),!0x0;}[_0x4dd393(0x134)](_0x374841){const _0x262813=_0x4dd393;if(this[_0x262813(0x147)]!=_0x374841)return!0x1;this[_0x262813(0x147)]=null,this[_0x262813(0xf5)]=!0x1;const _0x2316a3=_0x1cc823(this[_0x262813(0x110)]),_0x192b44=_0x2316a3[_0x262813(0xfe)][_0x262813(0xe3)][_0x262813(0xeb)](_0x262813(0x145));return _0x2316a3[_0x262813(0xfe)][_0x262813(0x130)](_0x23341b=>{const _0x28f626=_0x262813;for(const _0x31bed9 of _0x192b44)_0x23341b[_0x28f626(0x117)](_0x31bed9);}),!0x0;}async[_0x4dd393(0xfb)](_0x192211){const _0x402c96=_0x4dd393,_0x3bf3e7=_0x1cc823(this[_0x402c96(0x110)]),_0x4f0507=_0x3bf3e7[_0x402c96(0x100)][_0x402c96(0x12d)](_0x192211),_0x25751a=new _0x58b373(_0x3bf3e7[_0x402c96(0xf7)][_0x402c96(0x10a)][_0x402c96(0xe4)]);return this[_0x402c96(0x135)](_0x4f0507,_0x25751a),this[_0x402c96(0xed)](_0x4f0507);}[_0x4dd393(0x135)](_0x52967f,_0x1223d5){const _0x100625=_0x4dd393;let _0x2685ec=!0x1;const _0x3925cc=new Set();for(const _0x1351df of _0x52967f[_0x100625(0x116)]()){const _0x1e9378=_0x1351df['is'](_0x100625(0x106))||_0x1351df['is'](_0x100625(0xff));if(!_0x1351df['is'](_0x100625(0x144)))continue;(this[_0x100625(0x135)](_0x1351df,_0x1223d5)||_0x1e9378)&&(_0x1223d5[_0x100625(0x13b)](_0x100625(0x14c),this[_0x100625(0xef)](_0x3925cc),_0x1351df),_0x2685ec=!0x0);}return _0x2685ec;}[_0x4dd393(0xef)](_0x47cf4a){const _0x1d8a77=_0x4dd393;let _0x47cefd;do{_0x47cefd='';for(let _0x4f3aec=0x0;_0x4f3aec<0x4;_0x4f3aec++)_0x47cefd+=String[_0x1d8a77(0x11f)](0x61+Math[_0x1d8a77(0xdc)](0x1a*Math[_0x1d8a77(0x14b)]()));}while(_0x47cf4a[_0x1d8a77(0xe0)](_0x47cefd));return _0x47cf4a[_0x1d8a77(0x13f)](_0x47cefd),_0x47cefd;}[_0x4dd393(0xee)](){const _0xf90b50=_0x4dd393,{model:_0x1b4770}=_0x1cc823(this[_0xf90b50(0x110)]),_0x3a03d5=_0x1b4770[_0xf90b50(0xe4)][_0xf90b50(0xec)],_0x5f0638=[];for(const _0x45d786 of _0x3a03d5[_0xf90b50(0x105)]())for(const _0x17bd79 of _0x45d786[_0xf90b50(0x12f)]())_0x17bd79['is'](_0xf90b50(0xe7))?_0x5f0638[_0xf90b50(0x114)](_0x17bd79[_0xf90b50(0x100)]):_0x17bd79['is'](_0xf90b50(0x144))&&_0x5f0638[_0xf90b50(0x132)]>0x0&&'\x20'!==_0x5f0638[_0x5f0638[_0xf90b50(0x132)]-0x1]&&_0x5f0638[_0xf90b50(0x114)]('\x20');return _0x5f0638[_0xf90b50(0x132)]?'\x22'+_0x5f0638[_0xf90b50(0xf0)]('')[_0xf90b50(0x108)]()+'\x22':_0x8fed0d(this[_0xf90b50(0x110)][_0xf90b50(0x126)],_0xf90b50(0x14a));}[_0x4dd393(0x11a)](){const _0x5b9d85=_0x4dd393,_0x4747f4=_0x1cc823(this[_0x5b9d85(0x110)])[_0x5b9d85(0xfe)];return Array[_0x5b9d85(0x123)](_0x4747f4[_0x5b9d85(0xe3)][_0x5b9d85(0xeb)](_0x5b9d85(0x145)))[_0x5b9d85(0xfa)]((_0x50bdf5,_0x283ec5)=>_0x50bdf5[_0x5b9d85(0xe8)]()[_0x5b9d85(0x11b)](_0x283ec5[_0x5b9d85(0xe8)]())?-0x1:_0x50bdf5[_0x5b9d85(0xe8)]()[_0x5b9d85(0x128)](_0x283ec5[_0x5b9d85(0xe8)]())?0x1:0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26b964=_0xba7b;function _0xba7b(_0x12ec2c,_0x51eb5a){const _0x44b5e9=_0x44b5();return _0xba7b=function(_0xba7bd2,_0x214a5e){_0xba7bd2=_0xba7bd2-0x135;let _0x43c693=_0x44b5e9[_0xba7bd2];return _0x43c693;},_0xba7b(_0x12ec2c,_0x51eb5a);}function _0x44b5(){const _0x237f8d=['reasoning','isWebSearchEnabled','18XiJhrb','toggleWebSearch','824936qqbFmA','getCapabilitiesRequestData','init','6xZkoNn','fire','setReasoning','reset','3WureQs','webSearch','56YBwYuR','12RPJQeE','5454293vnhLET','108664BKfRLP','capabilitiesUpdated','57246hJduWT','isReasoningEnabled','68720YwWShY','toggleReasoning','setWebSearch','_isWebSearchEnabled','getCapabilitiesConfig','198dwaOAM','168518lmOnmr','38770ZKUpIZ','_isReasoningEnabled'];_0x44b5=function(){return _0x237f8d;};return _0x44b5();}(function(_0x3cb8a5,_0x13c5ea){const _0x25aab1=_0xba7b,_0x220677=_0x3cb8a5();while(!![]){try{const _0xe9a509=-parseInt(_0x25aab1(0x136))/0x1+parseInt(_0x25aab1(0x140))/0x2*(parseInt(_0x25aab1(0x14e))/0x3)+parseInt(_0x25aab1(0x150))/0x4*(parseInt(_0x25aab1(0x141))/0x5)+-parseInt(_0x25aab1(0x14a))/0x6*(parseInt(_0x25aab1(0x138))/0x7)+parseInt(_0x25aab1(0x147))/0x8*(-parseInt(_0x25aab1(0x145))/0x9)+parseInt(_0x25aab1(0x13a))/0xa*(-parseInt(_0x25aab1(0x13f))/0xb)+parseInt(_0x25aab1(0x151))/0xc*(parseInt(_0x25aab1(0x135))/0xd);if(_0xe9a509===_0x13c5ea)break;else _0x220677['push'](_0x220677['shift']());}catch(_0x956247){_0x220677['push'](_0x220677['shift']());}}}(_0x44b5,0x286e4));import{EmitterMixin as _0x1892c8}from'ckeditor5/src/utils.js';export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x26b964(0x137)];export class AICapabilities extends _0x1892c8(){[_0x26b964(0x13d)];[_0x26b964(0x142)];constructor(){const _0x536b9c=_0x26b964;super(),this[_0x536b9c(0x13d)]=!0x1,this[_0x536b9c(0x142)]=!0x1;}[_0x26b964(0x149)](){const _0x5f48f4=_0x26b964;this[_0x5f48f4(0x14d)]();}[_0x26b964(0x14d)](){const _0x3c9eec=_0x26b964;this[_0x3c9eec(0x13c)](!0x1),this[_0x3c9eec(0x14c)](!0x1);}[_0x26b964(0x13e)](){const _0x12311e=_0x26b964;return{'isWebSearchEnabled':this[_0x12311e(0x13d)],'isReasoningEnabled':this[_0x12311e(0x142)]};}static[_0x26b964(0x148)](_0x295291){const _0x30638a=_0x26b964,_0x545cd1={};return _0x295291&&_0x295291[_0x30638a(0x144)]&&(_0x545cd1[_0x30638a(0x14f)]={}),_0x295291&&_0x295291[_0x30638a(0x139)]&&(_0x545cd1[_0x30638a(0x143)]={}),_0x545cd1;}[_0x26b964(0x146)](){const _0x3bcfb2=_0x26b964;this[_0x3bcfb2(0x13c)](!this[_0x3bcfb2(0x13d)]);}[_0x26b964(0x13b)](){const _0x3cc146=_0x26b964;this[_0x3cc146(0x14c)](!this[_0x3cc146(0x142)]);}[_0x26b964(0x13c)](_0x249281){const _0x453e59=_0x26b964;_0x249281!==this[_0x453e59(0x13d)]&&(this[_0x453e59(0x13d)]=_0x249281,this[_0x453e59(0x14b)](_0x453e59(0x137),this[_0x453e59(0x13e)]()));}[_0x26b964(0x14c)](_0x6fa724){const _0x3efd34=_0x26b964;_0x6fa724!==this[_0x3efd34(0x142)]&&(this[_0x3efd34(0x142)]=_0x6fa724,this[_0x3efd34(0x14b)](_0x3efd34(0x137),this[_0x3efd34(0x13e)]()));}}
23
+ const _0x1bec5f=_0x3546;(function(_0x3d5816,_0x5eedea){const _0x1206ed=_0x3546,_0x2e1546=_0x3d5816();while(!![]){try{const _0x18378c=-parseInt(_0x1206ed(0xf5))/0x1*(-parseInt(_0x1206ed(0xed))/0x2)+parseInt(_0x1206ed(0xf0))/0x3+parseInt(_0x1206ed(0xff))/0x4+-parseInt(_0x1206ed(0xf8))/0x5*(parseInt(_0x1206ed(0xe6))/0x6)+-parseInt(_0x1206ed(0xfe))/0x7*(parseInt(_0x1206ed(0xe5))/0x8)+-parseInt(_0x1206ed(0xec))/0x9*(parseInt(_0x1206ed(0xf4))/0xa)+parseInt(_0x1206ed(0xfc))/0xb*(parseInt(_0x1206ed(0xeb))/0xc);if(_0x18378c===_0x5eedea)break;else _0x2e1546['push'](_0x2e1546['shift']());}catch(_0x482b2d){_0x2e1546['push'](_0x2e1546['shift']());}}}(_0x4e35,0xab327));import{EmitterMixin as _0x1d2077}from'ckeditor5/src/utils.js';function _0x3546(_0x621a1b,_0x24a0d1){const _0x4e3583=_0x4e35();return _0x3546=function(_0x35463f,_0x1f043f){_0x35463f=_0x35463f-0xe5;let _0x3f1fcd=_0x4e3583[_0x35463f];return _0x3f1fcd;},_0x3546(_0x621a1b,_0x24a0d1);}export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x1bec5f(0xfd)];function _0x4e35(){const _0x3ff806=['7961VBpXeW','setWebSearch','webSearch','76565FYtiAB','_isReasoningEnabled','getCapabilitiesConfig','init','14175843UULPsB','capabilitiesUpdated','290003DLkWNk','3398520JbCARb','reasoning','240BviPYg','186FpuOJv','reset','isWebSearchEnabled','setReasoning','getCapabilitiesRequestData','12JugzjB','79578AJMeNL','126XXhqDk','fire','_isWebSearchEnabled','663030XlYxgL','isReasoningEnabled','toggleReasoning','toggleWebSearch','500SfKPEf'];_0x4e35=function(){return _0x3ff806;};return _0x4e35();}export class AICapabilities extends _0x1d2077(){[_0x1bec5f(0xef)];[_0x1bec5f(0xf9)];constructor(){const _0x13ae19=_0x1bec5f;super(),this[_0x13ae19(0xef)]=!0x1,this[_0x13ae19(0xf9)]=!0x1;}[_0x1bec5f(0xfb)](){const _0x5a3250=_0x1bec5f;this[_0x5a3250(0xe7)]();}[_0x1bec5f(0xe7)](){const _0x21402f=_0x1bec5f;this[_0x21402f(0xf6)](!0x1),this[_0x21402f(0xe9)](!0x1);}[_0x1bec5f(0xfa)](){const _0x4308f2=_0x1bec5f;return{'isWebSearchEnabled':this[_0x4308f2(0xef)],'isReasoningEnabled':this[_0x4308f2(0xf9)]};}static[_0x1bec5f(0xea)](_0x3e22a1){const _0x2066d0=_0x1bec5f,_0x3c874b={};return _0x3e22a1&&_0x3e22a1[_0x2066d0(0xe8)]&&(_0x3c874b[_0x2066d0(0xf7)]={}),_0x3e22a1&&_0x3e22a1[_0x2066d0(0xf1)]&&(_0x3c874b[_0x2066d0(0x100)]={}),_0x3c874b;}[_0x1bec5f(0xf3)](){const _0x29f62b=_0x1bec5f;this[_0x29f62b(0xf6)](!this[_0x29f62b(0xef)]);}[_0x1bec5f(0xf2)](){const _0x560039=_0x1bec5f;this[_0x560039(0xe9)](!this[_0x560039(0xf9)]);}[_0x1bec5f(0xf6)](_0x349ad5){const _0x1dfeb4=_0x1bec5f;_0x349ad5!==this[_0x1dfeb4(0xef)]&&(this[_0x1dfeb4(0xef)]=_0x349ad5,this[_0x1dfeb4(0xee)](_0x1dfeb4(0xfd),this[_0x1dfeb4(0xfa)]()));}[_0x1bec5f(0xe9)](_0x5eed06){const _0x38013f=_0x1bec5f;_0x5eed06!==this[_0x38013f(0xf9)]&&(this[_0x38013f(0xf9)]=_0x5eed06,this[_0x38013f(0xee)](_0x38013f(0xfd),this[_0x38013f(0xfa)]()));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x446793,_0x25b949){var _0x784d4d=_0x1dce,_0x3e0540=_0x446793();while(!![]){try{var _0x7d6b28=-parseInt(_0x784d4d(0x1e3))/0x1*(-parseInt(_0x784d4d(0x1ee))/0x2)+parseInt(_0x784d4d(0x1d8))/0x3+parseInt(_0x784d4d(0x1d3))/0x4*(-parseInt(_0x784d4d(0x1e4))/0x5)+parseInt(_0x784d4d(0x1d6))/0x6*(-parseInt(_0x784d4d(0x1ea))/0x7)+parseInt(_0x784d4d(0x1ec))/0x8*(-parseInt(_0x784d4d(0x1e2))/0x9)+-parseInt(_0x784d4d(0x1ed))/0xa+-parseInt(_0x784d4d(0x1e7))/0xb*(-parseInt(_0x784d4d(0x1d4))/0xc);if(_0x7d6b28===_0x25b949)break;else _0x3e0540['push'](_0x3e0540['shift']());}catch(_0x4801be){_0x3e0540['push'](_0x3e0540['shift']());}}}(_0x2a21,0x8f412));export var AIContextItemType;function _0x1dce(_0x4d9339,_0x35f098){var _0x2a2113=_0x2a21();return _0x1dce=function(_0x1dced4,_0x3555ad){_0x1dced4=_0x1dced4-0x1d3;var _0x3f41e=_0x2a2113[_0x1dced4];return _0x3f41e;},_0x1dce(_0x4d9339,_0x35f098);}!function(_0x4d1964){var _0x7e4e1e=_0x1dce;_0x4d1964[_0x7e4e1e(0x1dc)]=_0x7e4e1e(0x1d7),_0x4d1964[_0x7e4e1e(0x1da)]=_0x7e4e1e(0x1e0),_0x4d1964[_0x7e4e1e(0x1e1)]=_0x7e4e1e(0x1d9),_0x4d1964[_0x7e4e1e(0x1de)]=_0x7e4e1e(0x1e9),_0x4d1964[_0x7e4e1e(0x1df)]=_0x7e4e1e(0x1dd),_0x4d1964[_0x7e4e1e(0x1eb)]=_0x7e4e1e(0x1d5);}(AIContextItemType||(AIContextItemType={}));export var AIContextTextResourceType;function _0x2a21(){var _0x52d2ac=['HTML','MARKDOWN','3443IUQXLs','html','web-resource','8876HFJUIk','SELECTION','2273384oustHz','2429900NvDnYM','1780398VlQcHQ','620URNqvZ','11364lgXcoW','selection','564wolvXx','mcp-tool-context','2020935zAjgnB','document','FILE','markdown','TOOL','text','URL','TEXT','file','DOCUMENT','9VJGvEg','1GAyQPL','20230nJhupv'];_0x2a21=function(){return _0x52d2ac;};return _0x2a21();}!function(_0x202d80){var _0x498f28=_0x1dce;_0x202d80[_0x498f28(0x1df)]=_0x498f28(0x1dd),_0x202d80[_0x498f28(0x1e6)]=_0x498f28(0x1db),_0x202d80[_0x498f28(0x1e5)]=_0x498f28(0x1e8);}(AIContextTextResourceType||(AIContextTextResourceType={}));
23
+ (function(_0x3a3158,_0x44c2b1){var _0x908c43=_0x5ce0,_0x43385e=_0x3a3158();while(!![]){try{var _0x4fd5ca=-parseInt(_0x908c43(0xed))/0x1+parseInt(_0x908c43(0xee))/0x2*(-parseInt(_0x908c43(0xea))/0x3)+parseInt(_0x908c43(0xe8))/0x4*(parseInt(_0x908c43(0xe6))/0x5)+-parseInt(_0x908c43(0xe9))/0x6+parseInt(_0x908c43(0xef))/0x7+parseInt(_0x908c43(0xfb))/0x8*(parseInt(_0x908c43(0xf5))/0x9)+-parseInt(_0x908c43(0xfa))/0xa*(-parseInt(_0x908c43(0xe5))/0xb);if(_0x4fd5ca===_0x44c2b1)break;else _0x43385e['push'](_0x43385e['shift']());}catch(_0x4533a0){_0x43385e['push'](_0x43385e['shift']());}}}(_0xace4,0x62d0a));function _0xace4(){var _0x273e8a=['URL','SELECTION','481671obQpNR','DOCUMENT','markdown','HTML','MARKDOWN','10gMAnkQ','80qQjEIG','FILE','document','selection','TEXT','6179591VKAJpH','160910PBVGlY','html','20AZMZpL','1036140JoXHZI','393429rxYUyL','file','text','661114bzjnCv','4QSFwOh','1700685IBMBVi','mcp-tool-context','TOOL','web-resource'];_0xace4=function(){return _0x273e8a;};return _0xace4();}export var AIContextItemType;!function(_0xbd3c12){var _0x18580c=_0x5ce0;_0xbd3c12[_0x18580c(0xf1)]=_0x18580c(0xf0),_0xbd3c12[_0x18580c(0xfc)]=_0x18580c(0xeb),_0xbd3c12[_0x18580c(0xf6)]=_0x18580c(0xe2),_0xbd3c12[_0x18580c(0xf3)]=_0x18580c(0xf2),_0xbd3c12[_0x18580c(0xe4)]=_0x18580c(0xec),_0xbd3c12[_0x18580c(0xf4)]=_0x18580c(0xe3);}(AIContextItemType||(AIContextItemType={}));function _0x5ce0(_0x13356a,_0x35861f){var _0xace421=_0xace4();return _0x5ce0=function(_0x5ce086,_0x42bc5d){_0x5ce086=_0x5ce086-0xe2;var _0x57dfdc=_0xace421[_0x5ce086];return _0x57dfdc;},_0x5ce0(_0x13356a,_0x35861f);}export var AIContextTextResourceType;!function(_0xe9d876){var _0x27af87=_0x5ce0;_0xe9d876[_0x27af87(0xe4)]=_0x27af87(0xec),_0xe9d876[_0x27af87(0xf9)]=_0x27af87(0xf7),_0xe9d876[_0x27af87(0xf8)]=_0x27af87(0xe7);}(AIContextTextResourceType||(AIContextTextResourceType={}));