@ckeditor/ckeditor5-ai 47.0.0-alpha.5 → 47.0.0-alpha.7

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 (327) hide show
  1. package/LICENSE.md +4 -0
  2. package/build/ai.js +1 -1
  3. package/ckeditor5-metadata.json +14 -0
  4. package/dist/index-editor.css +70 -19
  5. package/dist/index.css +80 -19
  6. package/dist/index.js +4 -4
  7. package/dist/translations/af.js +1 -1
  8. package/dist/translations/af.umd.js +1 -1
  9. package/dist/translations/ar.js +1 -1
  10. package/dist/translations/ar.umd.js +1 -1
  11. package/dist/translations/ast.js +1 -1
  12. package/dist/translations/ast.umd.js +1 -1
  13. package/dist/translations/az.js +1 -1
  14. package/dist/translations/az.umd.js +1 -1
  15. package/dist/translations/be.js +1 -1
  16. package/dist/translations/be.umd.js +1 -1
  17. package/dist/translations/bg.js +1 -1
  18. package/dist/translations/bg.umd.js +1 -1
  19. package/dist/translations/bn.js +1 -1
  20. package/dist/translations/bn.umd.js +1 -1
  21. package/dist/translations/bs.js +1 -1
  22. package/dist/translations/bs.umd.js +1 -1
  23. package/dist/translations/ca.js +1 -1
  24. package/dist/translations/ca.umd.js +1 -1
  25. package/dist/translations/cs.js +1 -1
  26. package/dist/translations/cs.umd.js +1 -1
  27. package/dist/translations/da.js +1 -1
  28. package/dist/translations/da.umd.js +1 -1
  29. package/dist/translations/de-ch.js +1 -1
  30. package/dist/translations/de-ch.umd.js +1 -1
  31. package/dist/translations/de.js +1 -1
  32. package/dist/translations/de.umd.js +1 -1
  33. package/dist/translations/el.js +1 -1
  34. package/dist/translations/el.umd.js +1 -1
  35. package/dist/translations/en-au.js +1 -1
  36. package/dist/translations/en-au.umd.js +1 -1
  37. package/dist/translations/en-gb.js +1 -1
  38. package/dist/translations/en-gb.umd.js +1 -1
  39. package/dist/translations/en.js +1 -1
  40. package/dist/translations/en.umd.js +1 -1
  41. package/dist/translations/eo.js +1 -1
  42. package/dist/translations/eo.umd.js +1 -1
  43. package/dist/translations/es-co.js +1 -1
  44. package/dist/translations/es-co.umd.js +1 -1
  45. package/dist/translations/es.js +1 -1
  46. package/dist/translations/es.umd.js +1 -1
  47. package/dist/translations/et.js +1 -1
  48. package/dist/translations/et.umd.js +1 -1
  49. package/dist/translations/eu.js +1 -1
  50. package/dist/translations/eu.umd.js +1 -1
  51. package/dist/translations/fa.js +1 -1
  52. package/dist/translations/fa.umd.js +1 -1
  53. package/dist/translations/fi.js +1 -1
  54. package/dist/translations/fi.umd.js +1 -1
  55. package/dist/translations/fr.js +1 -1
  56. package/dist/translations/fr.umd.js +1 -1
  57. package/dist/translations/gl.js +1 -1
  58. package/dist/translations/gl.umd.js +1 -1
  59. package/dist/translations/gu.js +1 -1
  60. package/dist/translations/gu.umd.js +1 -1
  61. package/dist/translations/he.js +1 -1
  62. package/dist/translations/he.umd.js +1 -1
  63. package/dist/translations/hi.js +1 -1
  64. package/dist/translations/hi.umd.js +1 -1
  65. package/dist/translations/hr.js +1 -1
  66. package/dist/translations/hr.umd.js +1 -1
  67. package/dist/translations/hu.js +1 -1
  68. package/dist/translations/hu.umd.js +1 -1
  69. package/dist/translations/hy.js +1 -1
  70. package/dist/translations/hy.umd.js +1 -1
  71. package/dist/translations/id.js +1 -1
  72. package/dist/translations/id.umd.js +1 -1
  73. package/dist/translations/it.js +1 -1
  74. package/dist/translations/it.umd.js +1 -1
  75. package/dist/translations/ja.js +1 -1
  76. package/dist/translations/ja.umd.js +1 -1
  77. package/dist/translations/jv.js +1 -1
  78. package/dist/translations/jv.umd.js +1 -1
  79. package/dist/translations/kk.js +1 -1
  80. package/dist/translations/kk.umd.js +1 -1
  81. package/dist/translations/km.js +1 -1
  82. package/dist/translations/km.umd.js +1 -1
  83. package/dist/translations/kn.js +1 -1
  84. package/dist/translations/kn.umd.js +1 -1
  85. package/dist/translations/ko.js +1 -1
  86. package/dist/translations/ko.umd.js +1 -1
  87. package/dist/translations/ku.js +1 -1
  88. package/dist/translations/ku.umd.js +1 -1
  89. package/dist/translations/lt.js +1 -1
  90. package/dist/translations/lt.umd.js +1 -1
  91. package/dist/translations/lv.js +1 -1
  92. package/dist/translations/lv.umd.js +1 -1
  93. package/dist/translations/ms.js +1 -1
  94. package/dist/translations/ms.umd.js +1 -1
  95. package/dist/translations/nb.js +1 -1
  96. package/dist/translations/nb.umd.js +1 -1
  97. package/dist/translations/ne.js +1 -1
  98. package/dist/translations/ne.umd.js +1 -1
  99. package/dist/translations/nl.js +1 -1
  100. package/dist/translations/nl.umd.js +1 -1
  101. package/dist/translations/no.js +1 -1
  102. package/dist/translations/no.umd.js +1 -1
  103. package/dist/translations/oc.js +1 -1
  104. package/dist/translations/oc.umd.js +1 -1
  105. package/dist/translations/pl.js +1 -1
  106. package/dist/translations/pl.umd.js +1 -1
  107. package/dist/translations/pt-br.js +1 -1
  108. package/dist/translations/pt-br.umd.js +1 -1
  109. package/dist/translations/pt.js +1 -1
  110. package/dist/translations/pt.umd.js +1 -1
  111. package/dist/translations/ro.js +1 -1
  112. package/dist/translations/ro.umd.js +1 -1
  113. package/dist/translations/ru.js +1 -1
  114. package/dist/translations/ru.umd.js +1 -1
  115. package/dist/translations/si.js +1 -1
  116. package/dist/translations/si.umd.js +1 -1
  117. package/dist/translations/sk.js +1 -1
  118. package/dist/translations/sk.umd.js +1 -1
  119. package/dist/translations/sl.js +1 -1
  120. package/dist/translations/sl.umd.js +1 -1
  121. package/dist/translations/sq.js +1 -1
  122. package/dist/translations/sq.umd.js +1 -1
  123. package/dist/translations/sr-latn.js +1 -1
  124. package/dist/translations/sr-latn.umd.js +1 -1
  125. package/dist/translations/sr.js +1 -1
  126. package/dist/translations/sr.umd.js +1 -1
  127. package/dist/translations/sv.js +1 -1
  128. package/dist/translations/sv.umd.js +1 -1
  129. package/dist/translations/th.js +1 -1
  130. package/dist/translations/th.umd.js +1 -1
  131. package/dist/translations/ti.js +1 -1
  132. package/dist/translations/ti.umd.js +1 -1
  133. package/dist/translations/tk.js +1 -1
  134. package/dist/translations/tk.umd.js +1 -1
  135. package/dist/translations/tr.js +1 -1
  136. package/dist/translations/tr.umd.js +1 -1
  137. package/dist/translations/tt.js +1 -1
  138. package/dist/translations/tt.umd.js +1 -1
  139. package/dist/translations/ug.js +1 -1
  140. package/dist/translations/ug.umd.js +1 -1
  141. package/dist/translations/uk.js +1 -1
  142. package/dist/translations/uk.umd.js +1 -1
  143. package/dist/translations/ur.js +1 -1
  144. package/dist/translations/ur.umd.js +1 -1
  145. package/dist/translations/uz.js +1 -1
  146. package/dist/translations/uz.umd.js +1 -1
  147. package/dist/translations/vi.js +1 -1
  148. package/dist/translations/vi.umd.js +1 -1
  149. package/dist/translations/zh-cn.js +1 -1
  150. package/dist/translations/zh-cn.umd.js +1 -1
  151. package/dist/translations/zh.js +1 -1
  152. package/dist/translations/zh.umd.js +1 -1
  153. package/lang/contexts.json +6 -0
  154. package/package.json +15 -15
  155. package/src/aiactions/aiactions.d.ts +0 -2
  156. package/src/aiactions/aiactions.js +1 -1
  157. package/src/aiactions/model/aiactionsinteraction.d.ts +1 -0
  158. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  159. package/src/aiactions/model/aiactionsreply.js +1 -1
  160. package/src/aiassistant/adapters/aiadapter.js +1 -1
  161. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  162. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  163. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  164. package/src/aiassistant/aiassistant.js +1 -1
  165. package/src/aiassistant/aiassistantediting.js +1 -1
  166. package/src/aiassistant/aiassistantui.js +1 -1
  167. package/src/aiassistant/legacyerrors.js +1 -1
  168. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  169. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  170. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  171. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  172. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  173. package/src/aiassistant/ui/form/aiformview.js +1 -1
  174. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  175. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  176. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  177. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  178. package/src/aiassistant/utils/common-translations.js +1 -1
  179. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  180. package/src/aiballoon/aiballoon.js +1 -1
  181. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  182. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  183. package/src/aiballoon/ui/aiballoonview.d.ts +3 -1
  184. package/src/aiballoon/ui/aiballoonview.js +1 -1
  185. package/src/aichat/aichat.js +1 -1
  186. package/src/aichat/aichatcontroller.d.ts +4 -0
  187. package/src/aichat/aichatcontroller.js +1 -1
  188. package/src/aichat/aichatui.d.ts +9 -2
  189. package/src/aichat/aichatui.js +1 -1
  190. package/src/aichat/model/aichatcontext.js +1 -1
  191. package/src/aichat/model/aichatconversation.js +1 -1
  192. package/src/aichat/model/aichatinteraction.js +1 -1
  193. package/src/aichat/model/aichatmodels.js +1 -1
  194. package/src/aichat/ui/aichatcontrolsview.d.ts +6 -0
  195. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  196. package/src/aichat/ui/aichatfeedview.d.ts +4 -0
  197. package/src/aichat/ui/aichatfeedview.js +1 -1
  198. package/src/aichat/ui/aichatheaderview.js +1 -1
  199. package/src/aichat/ui/aichatview.js +1 -1
  200. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  201. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  202. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  203. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  204. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  205. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  206. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  207. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  208. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  209. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  210. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  211. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  212. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  213. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  214. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  215. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -0
  216. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  217. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  218. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  219. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +8 -2
  220. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  221. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +9 -0
  222. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  223. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  224. package/src/aichat/utils/eventnames.js +1 -1
  225. package/src/aichat/utils/promisequeue.js +1 -1
  226. package/src/aichat/utils/scrollmanager.js +1 -1
  227. package/src/aichathistory/aichathistory.js +1 -1
  228. package/src/aichathistory/aichathistorycontroller.js +1 -1
  229. package/src/aichathistory/aichathistoryui.js +1 -1
  230. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  231. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  232. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  233. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  234. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  235. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  236. package/src/aiconfig.d.ts +17 -0
  237. package/src/aicore/aiconnector.d.ts +13 -0
  238. package/src/aicore/aiconnector.js +1 -1
  239. package/src/aicore/aiediting.js +1 -1
  240. package/src/aicore/model/aicapabilities.js +1 -1
  241. package/src/aicore/model/aicontext.js +1 -1
  242. package/src/aicore/model/aiinteraction.d.ts +41 -1
  243. package/src/aicore/model/aiinteraction.js +1 -1
  244. package/src/aicore/model/aireply.d.ts +2 -2
  245. package/src/aicore/model/aireply.js +1 -1
  246. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  247. package/src/aicore/pipeline/airesponseparser.js +2 -2
  248. package/src/aicore/ui/aidisclaimerview.js +1 -1
  249. package/src/aicore/ui/aiskeleton.js +1 -1
  250. package/src/aicore/ui/aispinner.js +1 -1
  251. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  252. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  253. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +16 -0
  254. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  255. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  256. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  257. package/src/aicore/utils/common-translations.js +1 -1
  258. package/src/aicore/utils/createresizebutton.js +1 -1
  259. package/src/aicore/utils/documentposition.js +1 -1
  260. package/src/aicore/utils/documentrange.js +1 -1
  261. package/src/aicore/utils/eventnames.js +1 -1
  262. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  263. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  264. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  265. package/src/aicore/utils/htmlparser.js +1 -1
  266. package/src/aicore/utils/htmlstreamer.js +1 -1
  267. package/src/aieditorintegration/aieditorintegration.d.ts +35 -0
  268. package/src/aieditorintegration/aieditorintegration.js +23 -0
  269. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +38 -0
  270. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +23 -0
  271. package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +16 -0
  272. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +23 -0
  273. package/src/aiquickactions/aiquickactions.js +1 -1
  274. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  275. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  276. package/src/aiquickactions/aiquickactionsui.js +1 -1
  277. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  278. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  279. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  280. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  281. package/src/aireviewmode/aireviewmode.js +1 -1
  282. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  283. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  284. package/src/aireviewmode/aireviewmodeui.js +1 -1
  285. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  286. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  287. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  288. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  289. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  290. package/src/aireviewmode/model/aireviewcheckrun.d.ts +4 -0
  291. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  292. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  293. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  294. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  295. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  296. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  297. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  298. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  299. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  300. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  301. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  302. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  303. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  304. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  305. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  306. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  307. package/src/aitabs/aitabs.js +1 -1
  308. package/src/aitabs/aitabsmainview.d.ts +6 -0
  309. package/src/aitabs/aitabsmainview.js +1 -1
  310. package/src/aitabs/tabs/aitabsview.js +1 -1
  311. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  312. package/src/aitabs/tabs/tabpanelview.js +1 -1
  313. package/src/augmentation.d.ts +6 -0
  314. package/src/index.d.ts +4 -1
  315. package/src/index.js +1 -1
  316. package/theme/aiballoon/aiballoon.css +17 -4
  317. package/theme/aichat/aichat-controls.css +6 -0
  318. package/theme/aichat/aichat.css +2 -0
  319. package/theme/aichat/aichathistory.css +26 -9
  320. package/theme/aichat/aiminitoolbar.css +8 -0
  321. package/theme/aichat/aisuggestioncontainer.css +14 -2
  322. package/theme/aireviewmode/aireviewmode-check-run-result.css +6 -0
  323. package/theme/aitabs/aitabsview.css +6 -1
  324. package/theme/common/aibutton.css +0 -4
  325. package/theme/common/aiheader.css +1 -0
  326. package/src/aiquickactions/utils/common-translations.d.ts +0 -9
  327. package/src/aiquickactions/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4831f2,_0x4a18ea){const _0x3fc0f1=_0x341e,_0x4b3cb2=_0x4831f2();while(!![]){try{const _0x173c74=parseInt(_0x3fc0f1(0xa4))/0x1*(-parseInt(_0x3fc0f1(0x97))/0x2)+parseInt(_0x3fc0f1(0x98))/0x3+parseInt(_0x3fc0f1(0xa6))/0x4*(-parseInt(_0x3fc0f1(0xa5))/0x5)+-parseInt(_0x3fc0f1(0x9a))/0x6+-parseInt(_0x3fc0f1(0x95))/0x7+-parseInt(_0x3fc0f1(0x9b))/0x8+parseInt(_0x3fc0f1(0xa2))/0x9;if(_0x173c74===_0x4a18ea)break;else _0x4b3cb2['push'](_0x4b3cb2['shift']());}catch(_0x4d8e0e){_0x4b3cb2['push'](_0x4b3cb2['shift']());}}}(_0x2b23,0x8d4f7));import{parseDocument as _0x488016}from'htmlparser2';import{append as _0x35e413,appendChild as _0x296f31,find as _0x296d45,findAll as _0x5b0132,findOne as _0x5e0d41,getChildren as _0x11d0fe,isComment as _0x48243e,isTag as _0x12ac6a,prepend as _0x198e82,prependChild as _0x3533ba,removeElement as _0x1846e2,replaceElement as _0x51781b,textContent as _0x204f07,getParent as _0x233d17,hasChildren as _0x7289d7}from'domutils';import _0x1ec75c from'dom-serializer';import{cloneNode as _0xb63d72,isDocument as _0x1da6bb,isText as _0x9dd868,Element as _0x3b612c,Text as _0xc3a119,Document as _0xed0d7b,NodeWithChildren as _0x4f5cc2}from'domhandler';export{_0xb63d72 as cloneNode,_0x296d45 as find,_0x5e0d41 as findOne,_0x5b0132 as findAll,_0x11d0fe as getChildren,_0x233d17 as getParent,_0x48243e as isComment,_0x1da6bb as isDocument,_0x12ac6a as isTag,_0x9dd868 as isText,_0x35e413 as append,_0x296f31 as appendChild,_0x198e82 as prepend,_0x3533ba as prependChild,_0x1ec75c as render,_0x1846e2 as removeElement,_0x51781b as replaceElement,_0x204f07 as textContent,_0x7289d7 as hasChildren,_0x3b612c as Element,_0xed0d7b as Document,_0x4f5cc2 as NodeWithChildren,_0xc3a119 as Text};export function parse(_0x2724de){return _0x488016(_0x2724de);}export function serialize(_0xba36ea){return _0x1ec75c(_0xba36ea);}export function findByAttribute(_0x108c35,_0x493392,_0x18e03a){const _0x35918b=_0x341e,_0x1f3d83=null!==_0x493392?_0x1c5e7d=>_0x1c5e7d[_0x35918b(0x96)][_0x108c35]===_0x493392:_0x520689=>Boolean(_0x520689[_0x35918b(0x96)][_0x108c35]);return _0x5e0d41(_0x298edb=>_0x12ac6a(_0x298edb)&&_0x1f3d83(_0x298edb),_0x18e03a);}export function findAllByAttribute(_0x44403a,_0x3047a3,_0xf1ccbd){const _0x5072d8=_0x341e,_0x5450ce=null!==_0x3047a3?_0x5edaf1=>_0x5edaf1[_0x5072d8(0x96)][_0x44403a]===_0x3047a3:_0x132585=>Boolean(_0x132585[_0x5072d8(0x96)][_0x44403a]);return _0x5b0132(_0x72c68=>_0x12ac6a(_0x72c68)&&_0x5450ce(_0x72c68),_0xf1ccbd);}export function findAllComments(_0x5c4334){return _0x296d45(_0x375d94=>_0x48243e(_0x375d94),_0x5c4334,!0x0,0x1/0x0);}function _0x341e(_0x2c5114,_0x245082){const _0x2b23e8=_0x2b23();return _0x341e=function(_0x341ea3,_0x28f185){_0x341ea3=_0x341ea3-0x91;let _0x57e9db=_0x2b23e8[_0x341ea3];return _0x57e9db;},_0x341e(_0x2c5114,_0x245082);}export function getAttribute(_0x30499c,_0x3b5f7a){const _0x1c3352=_0x341e;return _0x30499c&&_0x12ac6a(_0x30499c)?_0x30499c[_0x1c3352(0x96)][_0x3b5f7a]:null;}export function setAttribute(_0xeff07f,_0x45ac82,_0x3eb8bb){const _0x5deaf4=_0x341e;_0x12ac6a(_0xeff07f)&&(null===_0x3eb8bb?delete _0xeff07f[_0x5deaf4(0x96)][_0x45ac82]:_0xeff07f[_0x5deaf4(0x96)][_0x45ac82]=_0x3eb8bb);}export function insertElement(_0x23a7e1,_0xb120a7,_0x5ebe09){const _0x154a0f=_0x341e,_0x126124=_0xb120a7[_0x154a0f(0x94)](!0x0);_0x154a0f(0x9e)===_0x5ebe09?_0x198e82(_0x23a7e1,_0x126124):_0x154a0f(0x9f)===_0x5ebe09?_0x3533ba(_0x23a7e1,_0x126124):_0x154a0f(0xa7)===_0x5ebe09?_0x296f31(_0x23a7e1,_0x126124):_0x154a0f(0x9d)===_0x5ebe09&&_0x35e413(_0x23a7e1,_0x126124);}export function moveElement(_0x2a62e2,_0x1c4aab){_0x1846e2(_0x2a62e2),_0x51781b(_0x1c4aab,_0x2a62e2);}export function clone(_0x35de52){const _0x28f88c=_0x341e;return _0x35de52[_0x28f88c(0x94)](!0x0);}export function getParents(_0x4799e2){const _0x19a45c=_0x341e,_0x1d34e4=[];let _0x33a391=_0x4799e2;for(;_0x33a391;)_0x33a391=_0x233d17(_0x33a391),_0x33a391&&_0x1d34e4[_0x19a45c(0x9c)](_0x33a391);return _0x1d34e4;}export function normalizeHTML(_0x92d876){const _0x12a8c0=_0x341e;return _0x92d876[_0x12a8c0(0x91)](/^\s+/gm,'')[_0x12a8c0(0x91)](/\s+$/gm,'')[_0x12a8c0(0x91)](/\n*/g,'')[_0x12a8c0(0x91)](/\s+/g,'\x20')[_0x12a8c0(0x91)](/>\s*</g,'><');}export function areNodesSame(_0x8924c5,_0x19d044){return normalizeHTML(serialize(_0x8924c5))===normalizeHTML(serialize(_0x19d044));}function _0x2b23(){const _0x1d928c=['5490ZkHXAD','2596NmnhJU','beforeend','map','replace','parentNode','nextSibling','cloneNode','1078924ZSkZYb','attribs','2028466IPsevT','1251765FnlDkN','slice','2691270MucPIp','5998936zJZgoU','push','afterend','beforebegin','afterbegin','forEach','indexOf','29168379JqTbZt','reverse','1eGtrOc'];_0x2b23=function(){return _0x1d928c;};return _0x2b23();}export function getNodeNestingLevel(_0x2ccb37){const _0x3ab8e0=_0x341e;let _0x1ccfc5=0x0;for(;_0x2ccb37[_0x3ab8e0(0x92)];)_0x2ccb37=_0x2ccb37[_0x3ab8e0(0x92)],_0x1ccfc5++;return _0x1ccfc5;}export function removeElementsAfter(_0x57bd38){const _0x9851be=_0x341e,_0x15cb55=[];let _0x53b041=_0x57bd38[_0x9851be(0x93)];for(;_0x53b041;)_0x15cb55[_0x9851be(0x9c)](_0x53b041),_0x53b041=_0x53b041[_0x9851be(0x93)];_0x15cb55[_0x9851be(0xa0)](_0x4b8bf0=>{_0x1846e2(_0x4b8bf0);});}export function getNodePath(_0x3b7474){const _0x132f70=_0x341e;return[_0x3b7474,...getParents(_0x3b7474)][_0x132f70(0x99)](0x0,-0x1)[_0x132f70(0xa8)](_0x417c0d=>{const _0x534e1d=_0x132f70,_0x294fb6=_0x233d17(_0x417c0d);return _0x11d0fe(_0x294fb6)[_0x534e1d(0xa1)](_0x417c0d);})[_0x132f70(0xa3)]();}
23
+ (function(_0x1171fb,_0x1d471f){const _0x597c55=_0x1ada,_0x1488b7=_0x1171fb();while(!![]){try{const _0x572cee=-parseInt(_0x597c55(0x1b2))/0x1*(parseInt(_0x597c55(0x1b0))/0x2)+-parseInt(_0x597c55(0x1c7))/0x3*(-parseInt(_0x597c55(0x1c8))/0x4)+parseInt(_0x597c55(0x1b6))/0x5*(parseInt(_0x597c55(0x1bd))/0x6)+parseInt(_0x597c55(0x1b8))/0x7*(parseInt(_0x597c55(0x1ae))/0x8)+-parseInt(_0x597c55(0x1c5))/0x9+-parseInt(_0x597c55(0x1b1))/0xa*(parseInt(_0x597c55(0x1b9))/0xb)+parseInt(_0x597c55(0x1b5))/0xc*(parseInt(_0x597c55(0x1b4))/0xd);if(_0x572cee===_0x1d471f)break;else _0x1488b7['push'](_0x1488b7['shift']());}catch(_0x595182){_0x1488b7['push'](_0x1488b7['shift']());}}}(_0x5c5a,0x4e3e9));import{parseDocument as _0x37d8c5}from'htmlparser2';import{append as _0x17507f,appendChild as _0x48678e,find as _0x39eda9,findAll as _0x26e2ca,findOne as _0x17a384,getChildren as _0xc63d4f,isComment as _0x11dd48,isTag as _0xfe346c,prepend as _0x352f0b,prependChild as _0x426be7,removeElement as _0x4089d4,replaceElement as _0x5db633,textContent as _0x26da12,getParent as _0x2cdd7a,hasChildren as _0x5ddc9e}from'domutils';import _0xf2bc8c from'dom-serializer';import{cloneNode as _0x987890,isDocument as _0x4d33bc,isText as _0x12102a,Element as _0x25c1de,Text as _0x4ea8ef,Document as _0x32406d,NodeWithChildren as _0x2f9fb7}from'domhandler';function _0x1ada(_0xebf1f3,_0x453198){const _0x5c5aa8=_0x5c5a();return _0x1ada=function(_0x1adac3,_0x774e3a){_0x1adac3=_0x1adac3-0x1ad;let _0x33b9db=_0x5c5aa8[_0x1adac3];return _0x33b9db;},_0x1ada(_0xebf1f3,_0x453198);}export{_0x987890 as cloneNode,_0x39eda9 as find,_0x17a384 as findOne,_0x26e2ca as findAll,_0xc63d4f as getChildren,_0x2cdd7a as getParent,_0x11dd48 as isComment,_0x4d33bc as isDocument,_0xfe346c as isTag,_0x12102a as isText,_0x17507f as append,_0x48678e as appendChild,_0x352f0b as prepend,_0x426be7 as prependChild,_0xf2bc8c as render,_0x4089d4 as removeElement,_0x5db633 as replaceElement,_0x26da12 as textContent,_0x5ddc9e as hasChildren,_0x25c1de as Element,_0x32406d as Document,_0x2f9fb7 as NodeWithChildren,_0x4ea8ef as Text};export function parse(_0x25908c){return _0x37d8c5(_0x25908c);}function _0x5c5a(){const _0x37ea9c=['attribs','nextSibling','reverse','slice','afterend','push','4533264vAKYTB','beforebegin','1311ZTfKui','76tofbDF','forEach','16nIjXMr','indexOf','63896HFdQmY','1597170VUgvUj','19gDFmVM','beforeend','221OsrMoF','342828bCwkzt','1376315nQiTCm','cloneNode','1912442SymtGF','11CSywLn','replace','afterbegin','parentNode','12pVeNuk','map'];_0x5c5a=function(){return _0x37ea9c;};return _0x5c5a();}export function serialize(_0x2752a5){return _0xf2bc8c(_0x2752a5);}export function findByAttribute(_0x2340f6,_0x5dbb6a,_0x36138a){const _0x2a47a8=_0x1ada,_0x195f9a=null!==_0x5dbb6a?_0xaa3ec1=>_0xaa3ec1[_0x2a47a8(0x1bf)][_0x2340f6]===_0x5dbb6a:_0x498656=>Boolean(_0x498656[_0x2a47a8(0x1bf)][_0x2340f6]);return _0x17a384(_0x3cd678=>_0xfe346c(_0x3cd678)&&_0x195f9a(_0x3cd678),_0x36138a);}export function findAllByAttribute(_0x4e4b28,_0x4affab,_0x4013e4){const _0x357e4e=_0x1ada,_0x39f9cc=null!==_0x4affab?_0x3a2910=>_0x3a2910[_0x357e4e(0x1bf)][_0x4e4b28]===_0x4affab:_0x3ba5c1=>Boolean(_0x3ba5c1[_0x357e4e(0x1bf)][_0x4e4b28]);return _0x26e2ca(_0x4ff382=>_0xfe346c(_0x4ff382)&&_0x39f9cc(_0x4ff382),_0x4013e4);}export function findAllComments(_0xc8577e){return _0x39eda9(_0x191811=>_0x11dd48(_0x191811),_0xc8577e,!0x0,0x1/0x0);}export function getAttribute(_0x5740e2,_0x1cf419){const _0x1d0224=_0x1ada;return _0x5740e2&&_0xfe346c(_0x5740e2)?_0x5740e2[_0x1d0224(0x1bf)][_0x1cf419]:null;}export function setAttribute(_0x2de878,_0x50b4de,_0x431571){const _0xf24e9a=_0x1ada;_0xfe346c(_0x2de878)&&(null===_0x431571?delete _0x2de878[_0xf24e9a(0x1bf)][_0x50b4de]:_0x2de878[_0xf24e9a(0x1bf)][_0x50b4de]=_0x431571);}export function insertElement(_0x6eed98,_0xe0b24e,_0x183403){const _0x36e4a3=_0x1ada,_0x3318a2=_0xe0b24e[_0x36e4a3(0x1b7)](!0x0);_0x36e4a3(0x1c6)===_0x183403?_0x352f0b(_0x6eed98,_0x3318a2):_0x36e4a3(0x1bb)===_0x183403?_0x426be7(_0x6eed98,_0x3318a2):_0x36e4a3(0x1b3)===_0x183403?_0x48678e(_0x6eed98,_0x3318a2):_0x36e4a3(0x1c3)===_0x183403&&_0x17507f(_0x6eed98,_0x3318a2);}export function moveElement(_0x173ab3,_0x483711){_0x4089d4(_0x173ab3),_0x5db633(_0x483711,_0x173ab3);}export function clone(_0x345c98){const _0x3c09d5=_0x1ada;return _0x345c98[_0x3c09d5(0x1b7)](!0x0);}export function getParents(_0x485792){const _0x59a481=_0x1ada,_0x4102c9=[];let _0x357dce=_0x485792;for(;_0x357dce;)_0x357dce=_0x2cdd7a(_0x357dce),_0x357dce&&_0x4102c9[_0x59a481(0x1c4)](_0x357dce);return _0x4102c9;}export function normalizeHTML(_0x2c6cab){const _0x67961f=_0x1ada;return _0x2c6cab[_0x67961f(0x1ba)](/^\s+/gm,'')[_0x67961f(0x1ba)](/\s+$/gm,'')[_0x67961f(0x1ba)](/\n*/g,'')[_0x67961f(0x1ba)](/\s+/g,'\x20')[_0x67961f(0x1ba)](/>\s*</g,'><');}export function areNodesSame(_0xc956d9,_0x42bfdf){return normalizeHTML(serialize(_0xc956d9))===normalizeHTML(serialize(_0x42bfdf));}export function getNodeNestingLevel(_0x2b1cc8){const _0x160dd6=_0x1ada;let _0xdb1be1=0x0;for(;_0x2b1cc8[_0x160dd6(0x1bc)];)_0x2b1cc8=_0x2b1cc8[_0x160dd6(0x1bc)],_0xdb1be1++;return _0xdb1be1;}export function removeElementsAfter(_0x48bb1b){const _0x3f53e1=_0x1ada,_0x3ee734=[];let _0x4c6a80=_0x48bb1b[_0x3f53e1(0x1c0)];for(;_0x4c6a80;)_0x3ee734[_0x3f53e1(0x1c4)](_0x4c6a80),_0x4c6a80=_0x4c6a80[_0x3f53e1(0x1c0)];_0x3ee734[_0x3f53e1(0x1ad)](_0x7639e1=>{_0x4089d4(_0x7639e1);});}export function getNodePath(_0x230629){const _0x2d9545=_0x1ada;return[_0x230629,...getParents(_0x230629)][_0x2d9545(0x1c2)](0x0,-0x1)[_0x2d9545(0x1be)](_0x1fd993=>{const _0x81424c=_0x2d9545,_0x48eac2=_0x2cdd7a(_0x1fd993);return _0xc63d4f(_0x48eac2)[_0x81424c(0x1af)](_0x1fd993);})[_0x2d9545(0x1c1)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5402b0=_0x151a;(function(_0x2d782d,_0x3e4d46){const _0x20032f=_0x151a,_0xfe6018=_0x2d782d();while(!![]){try{const _0x59a5be=parseInt(_0x20032f(0x198))/0x1*(-parseInt(_0x20032f(0x19e))/0x2)+parseInt(_0x20032f(0x196))/0x3+parseInt(_0x20032f(0x184))/0x4+parseInt(_0x20032f(0x17f))/0x5*(parseInt(_0x20032f(0x19a))/0x6)+-parseInt(_0x20032f(0x1aa))/0x7+parseInt(_0x20032f(0x1ad))/0x8*(-parseInt(_0x20032f(0x18a))/0x9)+-parseInt(_0x20032f(0x17b))/0xa*(-parseInt(_0x20032f(0x193))/0xb);if(_0x59a5be===_0x3e4d46)break;else _0xfe6018['push'](_0xfe6018['shift']());}catch(_0x39e24e){_0xfe6018['push'](_0xfe6018['shift']());}}}(_0x490a,0xf31b2));import _0xdb9353 from'morphdom';import{NodeWithChildren as _0x5006b0,Text as _0x4bc57b,Element as _0x1d8ce3,isText as _0x589c97,isDocument as _0x4a69ec,isTag as _0x1ce270,cloneNode as _0x3a25a4,getChildren as _0x7f624e,prepend as _0x3fc3c7,removeElement as _0x3eed10,textContent as _0x239bfb,render as _0x4ed8aa}from'./htmlparser.js';import{logWarning as _0x3bf69e}from'ckeditor5/src/utils.js';function _0x151a(_0x275e41,_0x4f0a70){const _0x490a82=_0x490a();return _0x151a=function(_0x151ab8,_0x5ba57c){_0x151ab8=_0x151ab8-0x176;let _0x2a644d=_0x490a82[_0x151ab8];return _0x2a644d;},_0x151a(_0x275e41,_0x4f0a70);}function _0x490a(){const _0x6518ee=['cleanUpAnimations','40iRBqGS','stop','span','forEach','117235sGWYuk','options','attribs','getParsedDocumentNodeList','join','3839392IjvSuU','querySelectorAll','entries','tagName','addEventListener','mark','378630tPenex','map','onStreamUpdate','abort','signal','delay','parent','childNodes','now','6765407lnInUu','isWordSplitResult','code','52347owmeCf','nodesList','68744BcGKIQ','length','174HwCzUV','bind','includes','document','52lhJEvd','timeoutAbortController','sub','isWordSplitSource','html-streamer-current-index-out-of-bounds','stream','splitTextNodeIntoWordNodes','renderNode','textNodeStyle','match','div','children','6100724LBavCI','replaceWith','sup','88LmbIBt','isStreaming','push','span[data-ck-html-streamer-word-chunk]','reverse','del','from','ins','strong','currentIndex','shouldBeStreamed'];_0x490a=function(){return _0x6518ee;};return _0x490a();}export class HTMLStreamer{[_0x5402b0(0x180)];[_0x5402b0(0x1ae)]=!0x1;[_0x5402b0(0x19d)]=null;[_0x5402b0(0x197)]=[];[_0x5402b0(0x178)]=0x0;[_0x5402b0(0x19f)]=null;constructor(_0x58b983){const _0x5849ee=_0x5402b0;this[_0x5849ee(0x180)]={'delay':_0x58b983[_0x5849ee(0x18f)]??0x14,'textNodeStyle':_0x58b983[_0x5849ee(0x1a6)],'onStreamUpdate':_0x58b983[_0x5849ee(0x18c)]||(()=>{})};}async[_0x5402b0(0x1a3)]({document:_0x207e4e,targetElement:_0x26e8ea,abortSignal:_0x416871}){const _0x4726dd=_0x5402b0;this[_0x4726dd(0x1ae)]&&this[_0x4726dd(0x17c)](),_0x416871?.[_0x4726dd(0x188)](_0x4726dd(0x18d),this[_0x4726dd(0x17c)][_0x4726dd(0x19b)](this)),this[_0x4726dd(0x19d)]=_0x3a25a4(_0x207e4e,!0x0),this[_0x4726dd(0x197)]=this[_0x4726dd(0x182)](),this[_0x4726dd(0x1ae)]=!0x0,this[_0x4726dd(0x178)]>this[_0x4726dd(0x197)][_0x4726dd(0x199)]&&(_0x3bf69e(_0x4726dd(0x1a2),{'currentIndex':this[_0x4726dd(0x178)],'nodeList':this[_0x4726dd(0x197)]}),this[_0x4726dd(0x178)]=this[_0x4726dd(0x197)][_0x4726dd(0x199)]);for(let _0x1f52db=0x0;_0x1f52db<this[_0x4726dd(0x178)];_0x1f52db++)this[_0x4726dd(0x197)][_0x1f52db][_0x4726dd(0x179)]=!0x0;let _0x595b88=0x0;for(let _0x13b09b=this[_0x4726dd(0x178)];_0x13b09b<this[_0x4726dd(0x197)][_0x4726dd(0x199)];_0x13b09b++){const _0x52dfdc=Date[_0x4726dd(0x192)](),_0x2e259b=this[_0x4726dd(0x197)][_0x13b09b],_0x5dbd52=_0x52dfdc-_0x595b88;_0x2e259b[_0x4726dd(0x179)]=!0x0;let _0x11e697=_0x2e259b[_0x4726dd(0x190)];for(;_0x11e697;)_0x11e697[_0x4726dd(0x179)]=!0x0,_0x11e697=_0x11e697[_0x4726dd(0x190)];if(_0x5dbd52<this[_0x4726dd(0x180)][_0x4726dd(0x18f)])try{const {promise:_0x2c3c11,abortController:_0xf9b250}=dr(this[_0x4726dd(0x180)][_0x4726dd(0x18f)]-_0x5dbd52);this[_0x4726dd(0x19f)]=_0xf9b250,await _0x2c3c11;}catch(_0x58dd8d){return;}_0xdb9353(_0x26e8ea,'<'+_0x26e8ea[_0x4726dd(0x187)]+'>'+this[_0x4726dd(0x1a5)](this[_0x4726dd(0x19d)])+'</'+_0x26e8ea[_0x4726dd(0x187)]+'>',{'childrenOnly':!0x0}),this[_0x4726dd(0x180)][_0x4726dd(0x18c)]&&this[_0x4726dd(0x180)][_0x4726dd(0x18c)](),this[_0x4726dd(0x178)]=_0x13b09b,_0x595b88=Date[_0x4726dd(0x192)]();}this[_0x4726dd(0x1ae)]=!0x1;}[_0x5402b0(0x17a)]({targetElement:_0x443552}){const _0x493a84=_0x5402b0;Array[_0x493a84(0x1b3)](_0x443552[_0x493a84(0x185)](_0x493a84(0x1b0)))[_0x493a84(0x1b1)]()[_0x493a84(0x17e)](_0x4e0170=>{const _0x51808b=_0x493a84;_0x4e0170[_0x51808b(0x1ab)](_0x4e0170[_0x51808b(0x191)][0x0]);});}[_0x5402b0(0x17c)](){const _0x145837=_0x5402b0;this[_0x145837(0x1ae)]=!0x1,this[_0x145837(0x19f)]&&(this[_0x145837(0x19f)][_0x145837(0x18d)](),this[_0x145837(0x19f)]=null);}[_0x5402b0(0x1a5)](_0x138e3a){const _0x41cb07=_0x5402b0;let _0x266c2d='';if(function(_0x5b03cc){return _0x4a69ec(_0x5b03cc);}(_0x138e3a)){for(const _0x476ade of _0x138e3a[_0x41cb07(0x1a9)])_0x266c2d+=this[_0x41cb07(0x1a5)](_0x476ade);}else{if(mr(_0x138e3a)){if(!_0x138e3a[_0x41cb07(0x179)])return'';const _0x5c76b6=_0x138e3a,_0x349798=Object[_0x41cb07(0x186)](_0x5c76b6[_0x41cb07(0x181)])[_0x41cb07(0x18b)](([_0x476e34,_0x3d90c6])=>_0x476e34+'=\x22'+_0x3d90c6+'\x22')[_0x41cb07(0x183)]('\x20');_0x266c2d+='<'+_0x5c76b6[_0x41cb07(0x187)]+(_0x349798?'\x20'+_0x349798:'')+'>';for(const _0x45118a of _0x7f624e(_0x5c76b6))_0x266c2d+=this[_0x41cb07(0x1a5)](_0x45118a);_0x266c2d+='</'+_0x5c76b6[_0x41cb07(0x187)]+'>';}else{if(!ar(_0x138e3a))return'';if(!_0x138e3a[_0x41cb07(0x179)])return'';!function(_0x18f949){const _0x1eefe6=_0x41cb07;if(!_0x18f949[_0x1eefe6(0x190)]||!mr(_0x18f949[_0x1eefe6(0x190)]))return!0x1;if(!cr[_0x1eefe6(0x19c)](_0x18f949[_0x1eefe6(0x190)][_0x1eefe6(0x187)]))return!0x1;return!_0x239bfb(_0x18f949)[_0x1eefe6(0x1a7)](/^\s*[<>]\s*$/);}(_0x138e3a)?_0x266c2d+=_0x4ed8aa(_0x138e3a):_0x266c2d+=_0x4ed8aa(new _0x1d8ce3(_0x41cb07(0x17d),{'data-ck-html-streamer-word-chunk':'','style':this[_0x41cb07(0x180)][_0x41cb07(0x1a6)]},[_0x138e3a]));}}return _0x266c2d;}[_0x5402b0(0x182)](){const _0x42a936=_0x5402b0,_0x45c612=[];return function(_0x1f8cef,_0xe65df5){const _0x11c950=_0x151a,_0x25adad=_0x3d797f=>{const _0x430ea6=_0x151a;if(_0xe65df5(_0x3d797f),_0x3d797f instanceof _0x5006b0)for(let _0x5b6ca1=0x0;_0x5b6ca1<_0x3d797f[_0x430ea6(0x1a9)][_0x430ea6(0x199)];_0x5b6ca1++){const _0x74b78=_0x3d797f[_0x430ea6(0x1a9)][_0x5b6ca1];_0x25adad(_0x74b78);}};for(let _0x554c25=0x0;_0x554c25<_0x1f8cef[_0x11c950(0x1a9)][_0x11c950(0x199)];_0x554c25++)_0x25adad(_0x1f8cef[_0x11c950(0x1a9)][_0x554c25]);}(this[_0x42a936(0x19d)],_0x2b503f=>{const _0x3b569f=_0x42a936;if(ar(_0x2b503f)){const _0xc75da2=this[_0x3b569f(0x1a4)](_0x2b503f);_0xc75da2[_0x3b569f(0x199)]&&_0x45c612[_0x3b569f(0x1af)](..._0xc75da2);}_0x2b503f[_0x3b569f(0x1a1)]||_0x2b503f[_0x3b569f(0x194)]||_0x45c612[_0x3b569f(0x1af)](_0x2b503f);}),_0x45c612;}[_0x5402b0(0x1a4)](_0x182ec5){const _0x3041da=_0x5402b0;if(_0x182ec5[_0x3041da(0x1a1)]||_0x182ec5[_0x3041da(0x194)])return[];const _0x221bf5=_0x239bfb(_0x182ec5)[_0x3041da(0x1a7)](/(?:\s*\S+\s*)/g),_0x20627e=[];if(_0x221bf5&&_0x221bf5[_0x3041da(0x199)]>0x1){for(const _0x4fe063 of _0x221bf5){const _0x186751=new _0x4bc57b(_0x4fe063);_0x186751[_0x3041da(0x194)]=!0x0,_0x3fc3c7(_0x182ec5,_0x186751),_0x20627e[_0x3041da(0x1af)](_0x186751);}_0x182ec5[_0x3041da(0x1a1)]=!0x0,_0x3eed10(_0x182ec5);}return _0x20627e;}}const cr=['p','li','td','th',_0x5402b0(0x17d),'h1','h2','h3','h4','h5','h6','b',_0x5402b0(0x177),'i','em',_0x5402b0(0x189),_0x5402b0(0x1b2),_0x5402b0(0x176),_0x5402b0(0x1ac),_0x5402b0(0x1a0),'a',_0x5402b0(0x195),_0x5402b0(0x1a8)];function ar(_0x47797c){return _0x589c97(_0x47797c);}function mr(_0x357583){return _0x1ce270(_0x357583);}function dr(_0x257330){const _0x1f9772=new AbortController();return{'promise':new Promise((_0x1c20f2,_0x42837d)=>{const _0x112c5f=_0x151a,_0x4c0bdd=setTimeout(_0x1c20f2,_0x257330);_0x1f9772[_0x112c5f(0x18e)][_0x112c5f(0x188)](_0x112c5f(0x18d),()=>{clearTimeout(_0x4c0bdd),_0x42837d();});}),'abortController':_0x1f9772};}
23
+ const _0x15fb0b=_0x4ea2;(function(_0x1e751a,_0x55f5a4){const _0x1276ce=_0x4ea2,_0x34653e=_0x1e751a();while(!![]){try{const _0x2195fa=-parseInt(_0x1276ce(0xb3))/0x1*(parseInt(_0x1276ce(0xbd))/0x2)+-parseInt(_0x1276ce(0xc0))/0x3*(parseInt(_0x1276ce(0xc1))/0x4)+-parseInt(_0x1276ce(0xa3))/0x5+parseInt(_0x1276ce(0xaf))/0x6+-parseInt(_0x1276ce(0x9e))/0x7*(-parseInt(_0x1276ce(0xb7))/0x8)+parseInt(_0x1276ce(0xa2))/0x9*(parseInt(_0x1276ce(0x98))/0xa)+parseInt(_0x1276ce(0xad))/0xb;if(_0x2195fa===_0x55f5a4)break;else _0x34653e['push'](_0x34653e['shift']());}catch(_0x40eb12){_0x34653e['push'](_0x34653e['shift']());}}}(_0x5ca5,0x5dba2));import _0x33dc47 from'morphdom';import{NodeWithChildren as _0x598cf6,Text as _0x4fb4f5,Element as _0x420855,isText as _0x464f83,isDocument as _0x277b79,isTag as _0x4af61f,cloneNode as _0x22c74c,getChildren as _0x14196e,prepend as _0xd01543,removeElement as _0x3488a9,textContent as _0x2fe09b,render as _0x425cf7}from'./htmlparser.js';import{logWarning as _0x4226fd}from'ckeditor5/src/utils.js';function _0x5ca5(){const _0x290fb5=['stop','tagName','mark','reverse','signal','push','ins','options','shouldBeStreamed','del','span[data-ck-html-streamer-word-chunk]','document','cleanUpAnimations','forEach','map','div','renderNode','childNodes','isStreaming','170NaXWya','sup','children','join','getParsedDocumentNodeList','html-streamer-current-index-out-of-bounds','148477HpxtKv','timeoutAbortController','abort','splitTextNodeIntoWordNodes','136359uCQeUr','2471355ThCxxo','includes','textNodeStyle','sub','length','bind','delay','nodesList','parent','code','13064370EBuczA','span','230070njxSKJ','currentIndex','replaceWith','onStreamUpdate','1olIiWU','from','strong','now','32CMAgZY','isWordSplitSource','stream','isWordSplitResult','querySelectorAll','match','285698xjjAQc','attribs','addEventListener','2550YODmvk','2576EcNrOc','entries'];_0x5ca5=function(){return _0x290fb5;};return _0x5ca5();}function _0x4ea2(_0x2e5c1d,_0x427384){const _0x5ca5bb=_0x5ca5();return _0x4ea2=function(_0x4ea2ab,_0x57300a){_0x4ea2ab=_0x4ea2ab-0x95;let _0x27492c=_0x5ca5bb[_0x4ea2ab];return _0x27492c;},_0x4ea2(_0x2e5c1d,_0x427384);}export class HTMLStreamer{[_0x15fb0b(0xca)];[_0x15fb0b(0x97)]=!0x1;[_0x15fb0b(0xce)]=null;[_0x15fb0b(0xaa)]=[];[_0x15fb0b(0xb0)]=0x0;[_0x15fb0b(0x9f)]=null;constructor(_0x4ec4c5){const _0x1af0de=_0x15fb0b;this[_0x1af0de(0xca)]={'delay':_0x4ec4c5[_0x1af0de(0xa9)]??0x14,'textNodeStyle':_0x4ec4c5[_0x1af0de(0xa5)],'onStreamUpdate':_0x4ec4c5[_0x1af0de(0xb2)]||(()=>{})};}async[_0x15fb0b(0xb9)]({document:_0x51a756,targetElement:_0xd1f9ee,abortSignal:_0xe1943d}){const _0x5dd1fa=_0x15fb0b;this[_0x5dd1fa(0x97)]&&this[_0x5dd1fa(0xc3)](),_0xe1943d?.[_0x5dd1fa(0xbf)](_0x5dd1fa(0xa0),this[_0x5dd1fa(0xc3)][_0x5dd1fa(0xa8)](this)),this[_0x5dd1fa(0xce)]=_0x22c74c(_0x51a756,!0x0),this[_0x5dd1fa(0xaa)]=this[_0x5dd1fa(0x9c)](),this[_0x5dd1fa(0x97)]=!0x0,this[_0x5dd1fa(0xb0)]>this[_0x5dd1fa(0xaa)][_0x5dd1fa(0xa7)]&&(_0x4226fd(_0x5dd1fa(0x9d),{'currentIndex':this[_0x5dd1fa(0xb0)],'nodeList':this[_0x5dd1fa(0xaa)]}),this[_0x5dd1fa(0xb0)]=this[_0x5dd1fa(0xaa)][_0x5dd1fa(0xa7)]);for(let _0x34357e=0x0;_0x34357e<this[_0x5dd1fa(0xb0)];_0x34357e++)this[_0x5dd1fa(0xaa)][_0x34357e][_0x5dd1fa(0xcb)]=!0x0;let _0x1ca46f=0x0;for(let _0x5eaa14=this[_0x5dd1fa(0xb0)];_0x5eaa14<this[_0x5dd1fa(0xaa)][_0x5dd1fa(0xa7)];_0x5eaa14++){const _0x49eac0=Date[_0x5dd1fa(0xb6)](),_0x475558=this[_0x5dd1fa(0xaa)][_0x5eaa14],_0x236663=_0x49eac0-_0x1ca46f;_0x475558[_0x5dd1fa(0xcb)]=!0x0;let _0xf5c7ac=_0x475558[_0x5dd1fa(0xab)];for(;_0xf5c7ac;)_0xf5c7ac[_0x5dd1fa(0xcb)]=!0x0,_0xf5c7ac=_0xf5c7ac[_0x5dd1fa(0xab)];if(_0x236663<this[_0x5dd1fa(0xca)][_0x5dd1fa(0xa9)])try{const {promise:_0x3efc2f,abortController:_0x589cfb}=mr(this[_0x5dd1fa(0xca)][_0x5dd1fa(0xa9)]-_0x236663);this[_0x5dd1fa(0x9f)]=_0x589cfb,await _0x3efc2f;}catch(_0x2921d1){return;}_0x33dc47(_0xd1f9ee,'<'+_0xd1f9ee[_0x5dd1fa(0xc4)]+'>'+this[_0x5dd1fa(0x95)](this[_0x5dd1fa(0xce)])+'</'+_0xd1f9ee[_0x5dd1fa(0xc4)]+'>',{'childrenOnly':!0x0}),this[_0x5dd1fa(0xca)][_0x5dd1fa(0xb2)]&&this[_0x5dd1fa(0xca)][_0x5dd1fa(0xb2)](),this[_0x5dd1fa(0xb0)]=_0x5eaa14,_0x1ca46f=Date[_0x5dd1fa(0xb6)]();}this[_0x5dd1fa(0x97)]=!0x1;}[_0x15fb0b(0xcf)]({targetElement:_0x531e65}){const _0x52f684=_0x15fb0b;Array[_0x52f684(0xb4)](_0x531e65[_0x52f684(0xbb)](_0x52f684(0xcd)))[_0x52f684(0xc6)]()[_0x52f684(0xd0)](_0x1e9936=>{const _0x3c3ab6=_0x52f684;_0x1e9936[_0x3c3ab6(0xb1)](_0x1e9936[_0x3c3ab6(0x96)][0x0]);});}[_0x15fb0b(0xc3)](){const _0x3b8c35=_0x15fb0b;this[_0x3b8c35(0x97)]=!0x1,this[_0x3b8c35(0x9f)]&&(this[_0x3b8c35(0x9f)][_0x3b8c35(0xa0)](),this[_0x3b8c35(0x9f)]=null);}[_0x15fb0b(0x95)](_0x12b004){const _0x544c57=_0x15fb0b;let _0x55a643='';if(function(_0x29c1f1){return _0x277b79(_0x29c1f1);}(_0x12b004)){for(const _0x4cb9fa of _0x12b004[_0x544c57(0x9a)])_0x55a643+=this[_0x544c57(0x95)](_0x4cb9fa);}else{if(ar(_0x12b004)){if(!_0x12b004[_0x544c57(0xcb)])return'';const _0x5077cc=_0x12b004,_0x552ca4=Object[_0x544c57(0xc2)](_0x5077cc[_0x544c57(0xbe)])[_0x544c57(0xd1)](([_0x5b9c1b,_0x5bdb10])=>_0x5b9c1b+'=\x22'+_0x5bdb10+'\x22')[_0x544c57(0x9b)]('\x20');_0x55a643+='<'+_0x5077cc[_0x544c57(0xc4)]+(_0x552ca4?'\x20'+_0x552ca4:'')+'>';for(const _0x82a1d4 of _0x14196e(_0x5077cc))_0x55a643+=this[_0x544c57(0x95)](_0x82a1d4);_0x55a643+='</'+_0x5077cc[_0x544c57(0xc4)]+'>';}else{if(!cr(_0x12b004))return'';if(!_0x12b004[_0x544c57(0xcb)])return'';!function(_0x41fb14){const _0x581545=_0x544c57;if(!_0x41fb14[_0x581545(0xab)]||!ar(_0x41fb14[_0x581545(0xab)]))return!0x1;if(!hr[_0x581545(0xa4)](_0x41fb14[_0x581545(0xab)][_0x581545(0xc4)]))return!0x1;return!_0x2fe09b(_0x41fb14)[_0x581545(0xbc)](/^\s*[<>]\s*$/);}(_0x12b004)?_0x55a643+=_0x425cf7(_0x12b004):_0x55a643+=_0x425cf7(new _0x420855(_0x544c57(0xae),{'data-ck-html-streamer-word-chunk':'','style':this[_0x544c57(0xca)][_0x544c57(0xa5)]},[_0x12b004]));}}return _0x55a643;}[_0x15fb0b(0x9c)](){const _0x2eba0b=_0x15fb0b,_0xb439f5=[];return function(_0x3bb030,_0x22e9fb){const _0x4d5f47=_0x4ea2,_0x1c9c14=_0x2a5649=>{const _0x20c9e0=_0x4ea2;if(_0x22e9fb(_0x2a5649),_0x2a5649 instanceof _0x598cf6)for(let _0x4fc30b=0x0;_0x4fc30b<_0x2a5649[_0x20c9e0(0x9a)][_0x20c9e0(0xa7)];_0x4fc30b++){const _0x5a0bd2=_0x2a5649[_0x20c9e0(0x9a)][_0x4fc30b];_0x1c9c14(_0x5a0bd2);}};for(let _0x3ee8b0=0x0;_0x3ee8b0<_0x3bb030[_0x4d5f47(0x9a)][_0x4d5f47(0xa7)];_0x3ee8b0++)_0x1c9c14(_0x3bb030[_0x4d5f47(0x9a)][_0x3ee8b0]);}(this[_0x2eba0b(0xce)],_0x25aff1=>{const _0x37ef33=_0x2eba0b;if(cr(_0x25aff1)){const _0x291dc1=this[_0x37ef33(0xa1)](_0x25aff1);_0x291dc1[_0x37ef33(0xa7)]&&_0xb439f5[_0x37ef33(0xc8)](..._0x291dc1);}_0x25aff1[_0x37ef33(0xb8)]||_0x25aff1[_0x37ef33(0xba)]||_0xb439f5[_0x37ef33(0xc8)](_0x25aff1);}),_0xb439f5;}[_0x15fb0b(0xa1)](_0x3ac1db){const _0x57c49b=_0x15fb0b;if(_0x3ac1db[_0x57c49b(0xb8)]||_0x3ac1db[_0x57c49b(0xba)])return[];const _0x11ff70=_0x2fe09b(_0x3ac1db)[_0x57c49b(0xbc)](/(?:\s*\S+\s*)/g),_0x4b8768=[];if(_0x11ff70&&_0x11ff70[_0x57c49b(0xa7)]>0x1){for(const _0x50787b of _0x11ff70){const _0x15d669=new _0x4fb4f5(_0x50787b);_0x15d669[_0x57c49b(0xba)]=!0x0,_0xd01543(_0x3ac1db,_0x15d669),_0x4b8768[_0x57c49b(0xc8)](_0x15d669);}_0x3ac1db[_0x57c49b(0xb8)]=!0x0,_0x3488a9(_0x3ac1db);}return _0x4b8768;}}const hr=['p','li','td','th',_0x15fb0b(0xae),'h1','h2','h3','h4','h5','h6','b',_0x15fb0b(0xb5),'i','em',_0x15fb0b(0xc5),_0x15fb0b(0xcc),_0x15fb0b(0xc9),_0x15fb0b(0x99),_0x15fb0b(0xa6),'a',_0x15fb0b(0xac),_0x15fb0b(0xd2)];function cr(_0x578984){return _0x464f83(_0x578984);}function ar(_0x193efb){return _0x4af61f(_0x193efb);}function mr(_0x906bb8){const _0x33645b=new AbortController();return{'promise':new Promise((_0x2c2d5f,_0x278528)=>{const _0x554a4f=_0x4ea2,_0x510a6b=setTimeout(_0x2c2d5f,_0x906bb8);_0x33645b[_0x554a4f(0xc7)][_0x554a4f(0xbf)](_0x554a4f(0xa0),()=>{clearTimeout(_0x510a6b),_0x278528();});}),'abortController':_0x33645b};}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module ai/aieditorintegration/aieditorintegration
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import { AIToggleButtonUI } from './aitogglebutton/aitogglebuttonui.js';
11
+ /**
12
+ * The AI Editor Integration plugin. It registers AI-related components in the editor
13
+ * and provides the necessary UI elements for AI functionality.
14
+ *
15
+ * This plugin works alongside context plugins that provide specific AI features,
16
+ * handling the editor-level integration and toolbar controls.
17
+ */
18
+ export declare class AIEditorIntegration extends Plugin {
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get requires(): readonly [typeof AIToggleButtonUI];
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get pluginName(): "AIEditorIntegration";
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get isOfficialPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ static get isPremiumPlugin(): true;
35
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x5af1(){var _0x582aa7=['5940459gvxYTM','2033214AjxoCr','2359000SjimxW','1268118KrFdtJ','2135084FXTGYs','isOfficialPlugin','requires','isPremiumPlugin','3eFUctM','pluginName','8akKYQL','AIEditorIntegration','3239971dKxWHN','538719tIHYaf'];_0x5af1=function(){return _0x582aa7;};return _0x5af1();}function _0xdf3d(_0x220be0,_0x2063b8){var _0x5af167=_0x5af1();return _0xdf3d=function(_0xdf3d45,_0x5e2eff){_0xdf3d45=_0xdf3d45-0x1c6;var _0x2db589=_0x5af167[_0xdf3d45];return _0x2db589;},_0xdf3d(_0x220be0,_0x2063b8);}var _0x4bcc19=_0xdf3d;(function(_0x361fda,_0x113404){var _0x447b2e=_0xdf3d,_0x2b0b57=_0x361fda();while(!![]){try{var _0x2fa0bd=-parseInt(_0x447b2e(0x1cc))/0x1+-parseInt(_0x447b2e(0x1d0))/0x2+parseInt(_0x447b2e(0x1c7))/0x3*(parseInt(_0x447b2e(0x1d1))/0x4)+parseInt(_0x447b2e(0x1cf))/0x5+parseInt(_0x447b2e(0x1ce))/0x6+-parseInt(_0x447b2e(0x1cb))/0x7+-parseInt(_0x447b2e(0x1c9))/0x8*(-parseInt(_0x447b2e(0x1cd))/0x9);if(_0x2fa0bd===_0x113404)break;else _0x2b0b57['push'](_0x2b0b57['shift']());}catch(_0x19cfa6){_0x2b0b57['push'](_0x2b0b57['shift']());}}}(_0x5af1,0x5a0dc));import{Plugin as _0x5eb85c}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x4cda56}from'./aitogglebutton/aitogglebuttonui.js';export class AIEditorIntegration extends _0x5eb85c{static get[_0x4bcc19(0x1d3)](){return[_0x4cda56];}static get[_0x4bcc19(0x1c8)](){var _0x49bc55=_0x4bcc19;return _0x49bc55(0x1ca);}static get[_0x4bcc19(0x1d2)](){return!0x0;}static get[_0x4bcc19(0x1c6)](){return!0x0;}}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module ai/aieditorintegration/aitogglebutton/aitogglebuttonui
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import { AITabs } from '../../aitabs/aitabs.js';
11
+ /**
12
+ * Registers the `toggleAi` toolbar button that toggles the visibility of AI tabs.
13
+ *
14
+ * Context plugins can’t register toolbar items via the editor’s component factory, so this is provided as a dedicated editor plugin.
15
+ * Include this plugin in the editor configuration to enable the button.
16
+ */
17
+ export declare class AIToggleButtonUI extends Plugin {
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get requires(): readonly [typeof AITabs];
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get pluginName(): "AIToggleButtonUI";
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static get isOfficialPlugin(): true;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ static get isPremiumPlugin(): true;
34
+ /**
35
+ * @inheritDoc
36
+ */
37
+ init(): void;
38
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x4b3f7f=_0x335b;(function(_0x9a874d,_0x58981e){const _0xb64697=_0x335b,_0x319590=_0x9a874d();while(!![]){try{const _0x18b38b=parseInt(_0xb64697(0xdc))/0x1*(-parseInt(_0xb64697(0xd3))/0x2)+parseInt(_0xb64697(0xea))/0x3*(parseInt(_0xb64697(0xdb))/0x4)+parseInt(_0xb64697(0xe0))/0x5+parseInt(_0xb64697(0xd1))/0x6*(-parseInt(_0xb64697(0xe7))/0x7)+-parseInt(_0xb64697(0xd7))/0x8+-parseInt(_0xb64697(0xdd))/0x9*(parseInt(_0xb64697(0xec))/0xa)+parseInt(_0xb64697(0xef))/0xb*(parseInt(_0xb64697(0xd6))/0xc);if(_0x18b38b===_0x58981e)break;else _0x319590['push'](_0x319590['shift']());}catch(_0x57cae9){_0x319590['push'](_0x319590['shift']());}}}(_0x3fd6,0x8766a));function _0x3fd6(){const _0x318cf5=['menuBar:toggleAi','6XkaZsB','set','ck-ai-toggle-button','27809172humLOZ','7043304ZZvOOe','AIToggleButtonUI','listenTo','AI_TOGGLE_BUTTON_LABEL','308860avhpHw','128291AosnXn','9oxSjqv','isOfficialPlugin','toggleAi','785540IyGekN','isEnabled','isOn','_createAIUIButton','pluginName','value','commands','21tqBJcs','isPremiumPlugin','add','24BiyATY','execute','4520150bNxrvB','requires','bind','11LONdUs','componentFactory','menuitemcheckbox','get','init','locale','editor','1640712BKcehY'];_0x3fd6=function(){return _0x318cf5;};return _0x3fd6();}import{Plugin as _0x2a3e6c}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x1c54c4}from'./toggleaicommand.js';import{ButtonView as _0x15f9cd,MenuBarMenuListItemButtonView as _0x5c9c3f}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x126450}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1c4d55}from'../../aicore/utils/common-translations.js';import{AITabs as _0x57af98}from'../../aitabs/aitabs.js';function _0x335b(_0x571a08,_0x221bb5){const _0x3fd619=_0x3fd6();return _0x335b=function(_0x335b40,_0x52610d){_0x335b40=_0x335b40-0xcc;let _0x48f9c9=_0x3fd619[_0x335b40];return _0x48f9c9;},_0x335b(_0x571a08,_0x221bb5);}export class AIToggleButtonUI extends _0x2a3e6c{static get[_0x4b3f7f(0xed)](){return[_0x57af98];}static get[_0x4b3f7f(0xe4)](){const _0x7675d9=_0x4b3f7f;return _0x7675d9(0xd8);}static get[_0x4b3f7f(0xde)](){return!0x0;}static get[_0x4b3f7f(0xe8)](){return!0x0;}[_0x4b3f7f(0xce)](){const _0xd0bf5d=_0x4b3f7f,_0x2c571a=this[_0xd0bf5d(0xd0)];_0x2c571a[_0xd0bf5d(0xe6)][_0xd0bf5d(0xe9)](_0xd0bf5d(0xdf),new _0x1c54c4(_0x2c571a)),_0x2c571a['ui'][_0xd0bf5d(0xf0)][_0xd0bf5d(0xe9)](_0xd0bf5d(0xdf),()=>{const _0x6eedbb=_0xd0bf5d,_0xf8a8ff=this[_0x6eedbb(0xe3)](_0x15f9cd);return _0xf8a8ff[_0x6eedbb(0xd4)]({'tooltip':!0x0,'class':_0x6eedbb(0xd5)}),_0xf8a8ff;}),_0x2c571a['ui'][_0xd0bf5d(0xf0)][_0xd0bf5d(0xe9)](_0xd0bf5d(0xd2),()=>{const _0x2ae9b0=_0xd0bf5d,_0xdeb8fe=this[_0x2ae9b0(0xe3)](_0x5c9c3f);return _0xdeb8fe[_0x2ae9b0(0xd4)]({'role':_0x2ae9b0(0xcc)}),_0xdeb8fe;});}[_0x4b3f7f(0xe3)](_0x453ce4){const _0x84e327=_0x4b3f7f,_0x4fbd51=this[_0x84e327(0xd0)],_0x5bb46a=_0x4fbd51[_0x84e327(0xe6)][_0x84e327(0xcd)](_0x84e327(0xdf)),_0xec11e8=new _0x453ce4(_0x4fbd51[_0x84e327(0xcf)]);return _0xec11e8[_0x84e327(0xd4)]({'label':_0x1c4d55(_0x4fbd51[_0x84e327(0xcf)],_0x84e327(0xda)),'icon':_0x126450,'isToggleable':!0x0}),_0xec11e8[_0x84e327(0xee)](_0x84e327(0xe1))['to'](_0x5bb46a),_0xec11e8[_0x84e327(0xee)](_0x84e327(0xe2))['to'](_0x5bb46a,_0x84e327(0xe5),_0x2c20d2=>!!_0x2c20d2),this[_0x84e327(0xd9)](_0xec11e8,_0x84e327(0xeb),()=>{const _0x59e363=_0x84e327;_0x5bb46a[_0x59e363(0xeb)]();}),_0xec11e8;}}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module ai/aieditorintegration/aitogglebutton/toggleaicommand
7
+ * @publicApi
8
+ */
9
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
10
+ export declare class ToggleAICommand extends Command {
11
+ constructor(editor: Editor);
12
+ /**
13
+ * @inheritdoc
14
+ */
15
+ execute(): void;
16
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x41e962=_0x3e87;(function(_0x22458d,_0x1b804f){const _0x2fb8e6=_0x3e87,_0x4d80d4=_0x22458d();while(!![]){try{const _0x5b443b=-parseInt(_0x2fb8e6(0xcb))/0x1*(parseInt(_0x2fb8e6(0xc8))/0x2)+parseInt(_0x2fb8e6(0xcd))/0x3+-parseInt(_0x2fb8e6(0xd1))/0x4*(parseInt(_0x2fb8e6(0xd2))/0x5)+parseInt(_0x2fb8e6(0xc6))/0x6+parseInt(_0x2fb8e6(0xc9))/0x7*(parseInt(_0x2fb8e6(0xc5))/0x8)+parseInt(_0x2fb8e6(0xca))/0x9*(parseInt(_0x2fb8e6(0xc0))/0xa)+-parseInt(_0x2fb8e6(0xbf))/0xb*(parseInt(_0x2fb8e6(0xcf))/0xc);if(_0x5b443b===_0x1b804f)break;else _0x4d80d4['push'](_0x4d80d4['shift']());}catch(_0x2a3150){_0x4d80d4['push'](_0x4d80d4['shift']());}}}(_0x54d7,0xbe2c2));import{Command as _0x490988}from'ckeditor5/src/core.js';function _0x3e87(_0x3ec220,_0x38c956){const _0x54d773=_0x54d7();return _0x3e87=function(_0x3e8726,_0x18a12a){_0x3e8726=_0x3e8726-0xbd;let _0xf83c39=_0x54d773[_0x3e8726];return _0xf83c39;},_0x3e87(_0x3ec220,_0x38c956);}function _0x54d7(){const _0x5470d1=['view','8CuhKyU','7946778eTnhZj','isEnabled','6hafeBL','4525871wnnQRV','112293sfHDbM','487051OdMVRM','editor','3636243BvKfQl','execute','12cvJkaX','AITabs','2428pYoUlA','5705juCagH','isVisible','get','15106751RxlXhm','900vHFpoI','value','plugins','bind'];_0x54d7=function(){return _0x5470d1;};return _0x54d7();}export class ToggleAICommand extends _0x490988{constructor(_0x59cac7){const _0x180748=_0x3e87;super(_0x59cac7);const _0x3e9fe2=_0x59cac7[_0x180748(0xc2)][_0x180748(0xbe)](_0x180748(0xd0))[_0x180748(0xc4)];this[_0x180748(0xc3)](_0x180748(0xc1))['to'](_0x3e9fe2,_0x180748(0xbd)),this[_0x180748(0xc7)]=!0x0;}[_0x41e962(0xce)](){const _0x15cdc0=_0x41e962,_0x30c59d=this[_0x15cdc0(0xcc)][_0x15cdc0(0xc2)][_0x15cdc0(0xbe)](_0x15cdc0(0xd0))[_0x15cdc0(0xc4)];_0x30c59d[_0x15cdc0(0xbd)]=!_0x30c59d[_0x15cdc0(0xbd)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x527f(_0x4a8ca2,_0x24667f){var _0x3fa8aa=_0x3fa8();return _0x527f=function(_0x527f62,_0x4ceb41){_0x527f62=_0x527f62-0xef;var _0x2015e3=_0x3fa8aa[_0x527f62];return _0x2015e3;},_0x527f(_0x4a8ca2,_0x24667f);}var _0x539f77=_0x527f;(function(_0x5765b1,_0x320b1d){var _0xcb92fd=_0x527f,_0x5164a8=_0x5765b1();while(!![]){try{var _0x13e7cf=-parseInt(_0xcb92fd(0xf5))/0x1*(-parseInt(_0xcb92fd(0xf2))/0x2)+parseInt(_0xcb92fd(0xf8))/0x3+-parseInt(_0xcb92fd(0xfe))/0x4*(-parseInt(_0xcb92fd(0xf3))/0x5)+parseInt(_0xcb92fd(0xfd))/0x6+-parseInt(_0xcb92fd(0xf6))/0x7+parseInt(_0xcb92fd(0xf9))/0x8*(parseInt(_0xcb92fd(0xf7))/0x9)+-parseInt(_0xcb92fd(0xfa))/0xa;if(_0x13e7cf===_0x320b1d)break;else _0x5164a8['push'](_0x5164a8['shift']());}catch(_0xab0482){_0x5164a8['push'](_0x5164a8['shift']());}}}(_0x3fa8,0x39917));import{Plugin as _0x4277c4}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x374022}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x110c69}from'./aiquickactionsediting.js';export class AIQuickActions extends _0x4277c4{static get[_0x539f77(0xef)](){return[_0x374022,_0x110c69];}static get[_0x539f77(0xf0)](){var _0x5394a9=_0x539f77;return _0x5394a9(0xfc);}static get[_0x539f77(0xf1)](){return!0x0;}static get[_0x539f77(0xfb)](){return!0x0;}constructor(_0x4678ed){var _0x2de64e=_0x539f77;super(_0x4678ed),_0x4678ed[_0x2de64e(0x100)][_0x2de64e(0xff)](_0x2de64e(0xf4),{'extraCommands':[],'removeCommands':[]});}}function _0x3fa8(){var _0x5702d5=['15QoPCcw','ai.quickActions','207071lRijNn','1902880wcMufq','45iuoIry','256029LxpyPT','70600AqlooD','5981590nmDWPB','isPremiumPlugin','AIQuickActions','2094852JnOLkU','560156bsKlrw','define','config','requires','pluginName','isOfficialPlugin','2fnzMFt'];_0x3fa8=function(){return _0x5702d5;};return _0x3fa8();}
23
+ var _0x3ec36f=_0xd5b1;function _0x44a9(){var _0x963ea9=['2817369TIUqhn','define','isPremiumPlugin','ai.quickActions','AIQuickActions','179548iGZCRz','638160DlGejp','1338044LPJShi','isOfficialPlugin','3582719sBMRTb','12027210YPUnfJ','10XSDdys','1PXtpsx','config','444180IeUoBQ','pluginName','3aWEsWk','requires'];_0x44a9=function(){return _0x963ea9;};return _0x44a9();}(function(_0x2a60f6,_0x11fe2c){var _0x2175c8=_0xd5b1,_0x1994e1=_0x2a60f6();while(!![]){try{var _0x58fed3=-parseInt(_0x2175c8(0x18f))/0x1*(-parseInt(_0x2175c8(0x188))/0x2)+-parseInt(_0x2175c8(0x193))/0x3*(-parseInt(_0x2175c8(0x18a))/0x4)+parseInt(_0x2175c8(0x18e))/0x5*(parseInt(_0x2175c8(0x191))/0x6)+parseInt(_0x2175c8(0x18c))/0x7+parseInt(_0x2175c8(0x189))/0x8+parseInt(_0x2175c8(0x195))/0x9+-parseInt(_0x2175c8(0x18d))/0xa;if(_0x58fed3===_0x11fe2c)break;else _0x1994e1['push'](_0x1994e1['shift']());}catch(_0x29e16d){_0x1994e1['push'](_0x1994e1['shift']());}}}(_0x44a9,0x42f4c));import{Plugin as _0x23d2f0}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x5ce820}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x8d54a0}from'./aiquickactionsediting.js';function _0xd5b1(_0x321943,_0xdb7352){var _0x44a930=_0x44a9();return _0xd5b1=function(_0xd5b178,_0x54db6d){_0xd5b178=_0xd5b178-0x185;var _0x387677=_0x44a930[_0xd5b178];return _0x387677;},_0xd5b1(_0x321943,_0xdb7352);}export class AIQuickActions extends _0x23d2f0{static get[_0x3ec36f(0x194)](){return[_0x5ce820,_0x8d54a0];}static get[_0x3ec36f(0x192)](){var _0x32f097=_0x3ec36f;return _0x32f097(0x187);}static get[_0x3ec36f(0x18b)](){return!0x0;}static get[_0x3ec36f(0x185)](){return!0x0;}constructor(_0x1c355b){var _0x531a88=_0x3ec36f;super(_0x1c355b),_0x1c355b[_0x531a88(0x190)][_0x531a88(0x196)](_0x531a88(0x186),{'extraCommands':[],'removeCommands':[]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4495f4=_0x39f8;(function(_0xdf4f5f,_0x4d21a8){const _0x516261=_0x39f8,_0x22cfb8=_0xdf4f5f();while(!![]){try{const _0x1832ee=parseInt(_0x516261(0x20d))/0x1+parseInt(_0x516261(0x20f))/0x2+parseInt(_0x516261(0x207))/0x3*(parseInt(_0x516261(0x1f7))/0x4)+-parseInt(_0x516261(0x213))/0x5+parseInt(_0x516261(0x223))/0x6*(-parseInt(_0x516261(0x203))/0x7)+-parseInt(_0x516261(0x229))/0x8*(parseInt(_0x516261(0x205))/0x9)+parseInt(_0x516261(0x20c))/0xa;if(_0x1832ee===_0x4d21a8)break;else _0x22cfb8['push'](_0x22cfb8['shift']());}catch(_0x3e9d50){_0x22cfb8['push'](_0x22cfb8['shift']());}}}(_0x22cc,0x2094b));import{Command as _0x14864f}from'ckeditor5/src/core.js';import{CKEditorError as _0x106901,first as _0x5179dd}from'ckeditor5/src/utils.js';function _0x22cc(){const _0x4fb6a4=['setSelection','get','_handleAIReviewAction','view','CHAT','other','getSelectedBlocks','108RNOMKt','actionName','prompt','AITabs','plugins','_expandSelectionIfCollapsed','706408SKxWQp','selection','_handleAIChatAction','ACTION','change','executeAction','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','execute','type','sendMessage','locale','22844luqtKg','ask-ai','args','activateTab','has','icon','AIChatController','handleAIReviewAction','label','chat','ai-quick-actions-plugin-not-found','document','91343GwVBQz','displayedPrompt','9hVUZRg','model','105dlygJE','_handleAIActionsActionLabel','schema','removeSelectionFromChatContext','parent','1189570WoGYtV','250008ZVdbBU','_handleAIActionsAction','257594rnwipS','getLimitElement','AIChat','editor','1205065VGmkdo','focusPromptInput','REVIEW','AIActions','startConversation','AIReviewMode','addSelectionToChatContext','isCollapsed','log'];_0x22cc=function(){return _0x4fb6a4;};return _0x22cc();}function _0x39f8(_0x1bf387,_0x51dcc2){const _0x22cc85=_0x22cc();return _0x39f8=function(_0x39f8c5,_0x3ca880){_0x39f8c5=_0x39f8c5-0x1f1;let _0x31541e=_0x22cc85[_0x39f8c5];return _0x31541e;},_0x39f8(_0x1bf387,_0x51dcc2);}import{AIQuickActionType as _0xc27b7c}from'./aiquickactionsui.js';import{getTranslation as _0x5a1335}from'./utils/common-translations.js';export class AIQuickActionsCommand extends _0x14864f{[_0x4495f4(0x1f3)](_0x7cd264){const _0x40ddda=_0x4495f4;switch(_0x7cd264[_0x40ddda(0x1f4)]){case _0xc27b7c[_0x40ddda(0x220)]:if(!this[_0x40ddda(0x212)][_0x40ddda(0x227)][_0x40ddda(0x1fb)](_0x40ddda(0x211))){const _0x554224=_0x5a1335(this[_0x40ddda(0x212)][_0x40ddda(0x1f6)],_0x40ddda(0x1f2),_0x40ddda(0x211));throw new _0x106901(_0x40ddda(0x201),this[_0x40ddda(0x212)],{'errorMessage':_0x554224});}this[_0x40ddda(0x22b)](_0x7cd264);break;case _0xc27b7c[_0x40ddda(0x22c)]:if(!this[_0x40ddda(0x212)][_0x40ddda(0x227)][_0x40ddda(0x1fb)](_0x40ddda(0x216))){const _0x2b4e56=_0x5a1335(this[_0x40ddda(0x212)][_0x40ddda(0x1f6)],_0x40ddda(0x1f2),_0x40ddda(0x216));throw new _0x106901(_0x40ddda(0x201),this[_0x40ddda(0x212)],{'errorMessage':_0x2b4e56});}this[_0x40ddda(0x20e)](_0x7cd264);break;case _0xc27b7c[_0x40ddda(0x215)]:if(!this[_0x40ddda(0x212)][_0x40ddda(0x227)][_0x40ddda(0x1fb)](_0x40ddda(0x218))){const _0x3e1c46=_0x5a1335(this[_0x40ddda(0x212)][_0x40ddda(0x1f6)],_0x40ddda(0x1f2),_0x40ddda(0x218));throw new _0x106901(_0x40ddda(0x201),this[_0x40ddda(0x212)],{'errorMessage':_0x3e1c46});}this[_0x40ddda(0x21e)](_0x7cd264);}}async[_0x4495f4(0x22b)](_0x5bf60d){const _0x4e6c3c=_0x4495f4,_0x4029b9=this[_0x4e6c3c(0x212)][_0x4e6c3c(0x227)][_0x4e6c3c(0x21d)](_0x4e6c3c(0x211)),_0x2473b7=this[_0x4e6c3c(0x212)][_0x4e6c3c(0x227)][_0x4e6c3c(0x21d)](_0x4e6c3c(0x1fd));if(this[_0x4e6c3c(0x212)][_0x4e6c3c(0x227)][_0x4e6c3c(0x21d)](_0x4e6c3c(0x226))[_0x4e6c3c(0x21f)][_0x4e6c3c(0x1fa)](_0x4e6c3c(0x200)),_0x4e6c3c(0x1f8)===_0x5bf60d['id'])_0x2473b7[_0x4e6c3c(0x20a)](),this[_0x4e6c3c(0x228)](),await _0x4029b9[_0x4e6c3c(0x219)](),_0x4029b9[_0x4e6c3c(0x214)]();else await _0x4029b9[_0x4e6c3c(0x217)](),await _0x4029b9[_0x4e6c3c(0x219)](),await _0x4029b9[_0x4e6c3c(0x1f5)]({'message':_0x5bf60d[_0x4e6c3c(0x225)]||_0x5bf60d[_0x4e6c3c(0x204)],'quickActionData':{'id':_0x5bf60d['id'],'displayedPrompt':_0x5bf60d[_0x4e6c3c(0x204)]}});}[_0x4495f4(0x228)](){const _0x43cf0e=_0x4495f4,_0x212e08=this[_0x43cf0e(0x212)],_0x1e1c96=_0x212e08[_0x43cf0e(0x206)][_0x43cf0e(0x202)][_0x43cf0e(0x22a)];if(!_0x1e1c96[_0x43cf0e(0x21a)])return;const _0x58f5e5=_0x5179dd(_0x1e1c96[_0x43cf0e(0x222)]())||_0x212e08[_0x43cf0e(0x206)][_0x43cf0e(0x209)][_0x43cf0e(0x210)](_0x1e1c96);_0x212e08[_0x43cf0e(0x206)][_0x43cf0e(0x22d)](_0x24b64d=>{const _0x11e5ae=_0x43cf0e;_0x24b64d[_0x11e5ae(0x21c)](_0x58f5e5,'in');});}[_0x4495f4(0x208)](_0x1dce33){const _0x2706bc=_0x4495f4;return _0x1dce33[_0x2706bc(0x20b)]?.[_0x2706bc(0x1ff)]&&_0x2706bc(0x221)!==_0x1dce33[_0x2706bc(0x20b)]?.['id']?_0x1dce33[_0x2706bc(0x20b)][_0x2706bc(0x1ff)]+':\x20'+_0x1dce33[_0x2706bc(0x204)]:_0x1dce33[_0x2706bc(0x204)];}async[_0x4495f4(0x20e)](_0x5e90ea){const _0x47479c=_0x4495f4,_0x317382=this[_0x47479c(0x212)][_0x47479c(0x227)][_0x47479c(0x21d)](_0x47479c(0x216)),_0x4832d8=_0x5e90ea[_0x47479c(0x225)]?{'userMessage':_0x5e90ea[_0x47479c(0x225)],'model':_0x5e90ea[_0x47479c(0x206)]}:{'actionName':_0x5e90ea[_0x47479c(0x224)]||_0x5e90ea['id'],'args':_0x5e90ea[_0x47479c(0x1f9)]},_0x27a998=this[_0x47479c(0x208)](_0x5e90ea);await _0x317382[_0x47479c(0x1f1)](_0x4832d8,_0x27a998,_0x5e90ea[_0x47479c(0x1fc)]);}async[_0x4495f4(0x21e)](_0x532479){const _0x1c741f=_0x4495f4;console[_0x1c741f(0x21b)](_0x1c741f(0x1fe),_0x532479);}}
23
+ function _0x3755(){const _0x56731f=['REVIEW','304BuhqRe','172413HlwbtT','document','displayedPrompt','setSelection','CHAT','args','_handleAIActionsAction','has','label','focusPromptInput','ask-ai','plugins','view','editor','_expandSelectionIfCollapsed','prompt','isCollapsed','removeSelectionFromChatContext','get','addSelectionToChatContext','_handleAIChatAction','getLimitElement','22150aOcJPO','type','98xTKfss','execute','1732158GtWUda','AIChatController','handleAIReviewAction','AIChat','11376299XBelVZ','getSelectedBlocks','ai-quick-actions-plugin-not-found','chat','actionName','change','308LwtyBN','4444620ozSQMn','_handleAIActionsActionLabel','icon','1085075DvTxtv','schema','AIActions','137058iBPpmC','startConversation','parent','AITabs','4CASTmQ','other','activateTab','log','model','selection','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','_handleAIReviewAction','ACTION','executeAction','AIReviewMode','locale','sendMessage'];_0x3755=function(){return _0x56731f;};return _0x3755();}const _0x384fc4=_0x1314;(function(_0x2cd082,_0x3728e6){const _0x404ce0=_0x1314,_0xaea2fc=_0x2cd082();while(!![]){try{const _0x46edd0=parseInt(_0x404ce0(0x181))/0x1*(parseInt(_0x404ce0(0x17f))/0x2)+parseInt(_0x404ce0(0x183))/0x3+-parseInt(_0x404ce0(0x198))/0x4*(-parseInt(_0x404ce0(0x191))/0x5)+-parseInt(_0x404ce0(0x194))/0x6*(parseInt(_0x404ce0(0x18d))/0x7)+-parseInt(_0x404ce0(0x168))/0x8*(parseInt(_0x404ce0(0x169))/0x9)+-parseInt(_0x404ce0(0x18e))/0xa+parseInt(_0x404ce0(0x187))/0xb;if(_0x46edd0===_0x3728e6)break;else _0xaea2fc['push'](_0xaea2fc['shift']());}catch(_0x236e14){_0xaea2fc['push'](_0xaea2fc['shift']());}}}(_0x3755,0xb3cb8));import{Command as _0x1fd798}from'ckeditor5/src/core.js';function _0x1314(_0x152c89,_0x4d8987){const _0x375592=_0x3755();return _0x1314=function(_0x1314f7,_0x64dc57){_0x1314f7=_0x1314f7-0x167;let _0x5551e8=_0x375592[_0x1314f7];return _0x5551e8;},_0x1314(_0x152c89,_0x4d8987);}import{CKEditorError as _0x25ad0e,first as _0x336887}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x50c7ed}from'./aiquickactionsui.js';import{getTranslation as _0x4290ae}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x1fd798{[_0x384fc4(0x182)](_0x41600c){const _0x5d5022=_0x384fc4;switch(_0x41600c[_0x5d5022(0x180)]){case _0x50c7ed[_0x5d5022(0x16d)]:if(!this[_0x5d5022(0x176)][_0x5d5022(0x174)][_0x5d5022(0x170)](_0x5d5022(0x186))){const _0x7b7f2a=_0x4290ae(this[_0x5d5022(0x176)][_0x5d5022(0x1a3)],_0x5d5022(0x19e),_0x5d5022(0x186));throw new _0x25ad0e(_0x5d5022(0x189),this[_0x5d5022(0x176)],{'errorMessage':_0x7b7f2a});}this[_0x5d5022(0x17d)](_0x41600c);break;case _0x50c7ed[_0x5d5022(0x1a0)]:if(!this[_0x5d5022(0x176)][_0x5d5022(0x174)][_0x5d5022(0x170)](_0x5d5022(0x193))){const _0x4c738e=_0x4290ae(this[_0x5d5022(0x176)][_0x5d5022(0x1a3)],_0x5d5022(0x19e),_0x5d5022(0x193));throw new _0x25ad0e(_0x5d5022(0x189),this[_0x5d5022(0x176)],{'errorMessage':_0x4c738e});}this[_0x5d5022(0x16f)](_0x41600c);break;case _0x50c7ed[_0x5d5022(0x167)]:if(!this[_0x5d5022(0x176)][_0x5d5022(0x174)][_0x5d5022(0x170)](_0x5d5022(0x1a2))){const _0x4a5a0c=_0x4290ae(this[_0x5d5022(0x176)][_0x5d5022(0x1a3)],_0x5d5022(0x19e),_0x5d5022(0x1a2));throw new _0x25ad0e(_0x5d5022(0x189),this[_0x5d5022(0x176)],{'errorMessage':_0x4a5a0c});}this[_0x5d5022(0x19f)](_0x41600c);}}async[_0x384fc4(0x17d)](_0x200df1){const _0x81e50f=_0x384fc4,_0x48d7b5=this[_0x81e50f(0x176)][_0x81e50f(0x174)][_0x81e50f(0x17b)](_0x81e50f(0x186)),_0x43bbea=this[_0x81e50f(0x176)][_0x81e50f(0x174)][_0x81e50f(0x17b)](_0x81e50f(0x184));if(this[_0x81e50f(0x176)][_0x81e50f(0x174)][_0x81e50f(0x17b)](_0x81e50f(0x197))[_0x81e50f(0x175)][_0x81e50f(0x19a)](_0x81e50f(0x18a)),_0x81e50f(0x173)===_0x200df1['id'])_0x43bbea[_0x81e50f(0x17a)](),this[_0x81e50f(0x177)](),await _0x48d7b5[_0x81e50f(0x17c)](),_0x48d7b5[_0x81e50f(0x172)]();else await _0x48d7b5[_0x81e50f(0x195)](),await _0x48d7b5[_0x81e50f(0x17c)](),await _0x48d7b5[_0x81e50f(0x1a4)]({'message':_0x200df1[_0x81e50f(0x178)]||_0x200df1[_0x81e50f(0x16b)],'quickActionData':{'id':_0x200df1['id'],'displayedPrompt':_0x200df1[_0x81e50f(0x16b)]}});}[_0x384fc4(0x177)](){const _0x50ac97=_0x384fc4,_0x4174e0=this[_0x50ac97(0x176)],_0x351dd9=_0x4174e0[_0x50ac97(0x19c)][_0x50ac97(0x16a)][_0x50ac97(0x19d)];if(!_0x351dd9[_0x50ac97(0x179)])return;const _0x4c8e05=_0x336887(_0x351dd9[_0x50ac97(0x188)]())||_0x4174e0[_0x50ac97(0x19c)][_0x50ac97(0x192)][_0x50ac97(0x17e)](_0x351dd9);_0x4174e0[_0x50ac97(0x19c)][_0x50ac97(0x18c)](_0x1edb06=>{const _0x4428f1=_0x50ac97;_0x1edb06[_0x4428f1(0x16c)](_0x4c8e05,'in');});}[_0x384fc4(0x18f)](_0x5278c5){const _0x231d0a=_0x384fc4;return _0x5278c5[_0x231d0a(0x196)]?.[_0x231d0a(0x171)]&&_0x231d0a(0x199)!==_0x5278c5[_0x231d0a(0x196)]?.['id']?_0x5278c5[_0x231d0a(0x196)][_0x231d0a(0x171)]+':\x20'+_0x5278c5[_0x231d0a(0x16b)]:_0x5278c5[_0x231d0a(0x16b)];}async[_0x384fc4(0x16f)](_0x125e75){const _0x320cff=_0x384fc4,_0x3e3ebb=this[_0x320cff(0x176)][_0x320cff(0x174)][_0x320cff(0x17b)](_0x320cff(0x193)),_0x38491c=_0x125e75[_0x320cff(0x178)]?{'userMessage':_0x125e75[_0x320cff(0x178)],'model':_0x125e75[_0x320cff(0x19c)]}:{'actionName':_0x125e75[_0x320cff(0x18b)]||_0x125e75['id'],'args':_0x125e75[_0x320cff(0x16e)]},_0x407c0a=this[_0x320cff(0x18f)](_0x125e75);await _0x3e3ebb[_0x320cff(0x1a1)](_0x38491c,_0x407c0a,_0x125e75[_0x320cff(0x190)]);}async[_0x384fc4(0x19f)](_0x54e14e){const _0x2999e9=_0x384fc4;console[_0x2999e9(0x19b)](_0x2999e9(0x185),_0x54e14e);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x390b(_0x27fe6b,_0x105791){const _0x42ce15=_0x42ce();return _0x390b=function(_0x390b12,_0x5ddf05){_0x390b12=_0x390b12-0x105;let _0x439b41=_0x42ce15[_0x390b12];return _0x439b41;},_0x390b(_0x27fe6b,_0x105791);}const _0x1896d8=_0x390b;(function(_0xc21ec8,_0x2c8a93){const _0x210f8a=_0x390b,_0x63e484=_0xc21ec8();while(!![]){try{const _0x16ccb9=-parseInt(_0x210f8a(0x120))/0x1*(parseInt(_0x210f8a(0x113))/0x2)+-parseInt(_0x210f8a(0x119))/0x3*(-parseInt(_0x210f8a(0x111))/0x4)+parseInt(_0x210f8a(0x118))/0x5+-parseInt(_0x210f8a(0x11d))/0x6*(parseInt(_0x210f8a(0x10f))/0x7)+-parseInt(_0x210f8a(0x106))/0x8+-parseInt(_0x210f8a(0x108))/0x9*(-parseInt(_0x210f8a(0x117))/0xa)+parseInt(_0x210f8a(0x109))/0xb;if(_0x16ccb9===_0x2c8a93)break;else _0x63e484['push'](_0x63e484['shift']());}catch(_0x212714){_0x63e484['push'](_0x63e484['shift']());}}}(_0x42ce,0x204b7));import{Plugin as _0x5546c3}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x41fe7a}from'./aiquickactionscommand.js';function _0x42ce(){const _0x306628=['change:range','AIQuickActionsEditing','init','1544176tZeOHE','plugins','60273bPyRLG','3206665qapSCR','has','model','AIChat','get','document','7fxZFpy','isPremiumPlugin','8foDSpo','isOfficialPlugin','2GTxJgX','add','pluginName','selection','90dftJvx','872335ByXTBB','385479dWIrAA','commands','removeSelectionFromChatContext','editor','1493442wvktvs','directChange','aiQuickAction','209033fcZSDQ'];_0x42ce=function(){return _0x306628;};return _0x42ce();}export class AIQuickActionsEditing extends _0x5546c3{static get[_0x1896d8(0x115)](){const _0x1e13a7=_0x1896d8;return _0x1e13a7(0x122);}static get[_0x1896d8(0x112)](){return!0x0;}static get[_0x1896d8(0x110)](){return!0x0;}[_0x1896d8(0x105)](){const _0x54837b=_0x1896d8,_0x2e86d0=this[_0x54837b(0x11c)],_0x1cfff3=new _0x41fe7a(this[_0x54837b(0x11c)]);if(_0x2e86d0[_0x54837b(0x11a)][_0x54837b(0x114)](_0x54837b(0x11f),_0x1cfff3),_0x2e86d0[_0x54837b(0x107)][_0x54837b(0x10a)](_0x54837b(0x10c))){const _0x48757d=this[_0x54837b(0x11c)][_0x54837b(0x107)][_0x54837b(0x10d)](_0x54837b(0x10c));_0x2e86d0[_0x54837b(0x10b)][_0x54837b(0x10e)][_0x54837b(0x116)]['on'](_0x54837b(0x121),(_0x18caa2,_0x2a6846)=>{const _0x5740e3=_0x54837b;_0x2a6846[_0x5740e3(0x11e)]&&_0x48757d[_0x5740e3(0x11b)]();});}}}
23
+ const _0x3b9225=_0xca87;(function(_0x318909,_0x444470){const _0x3862ba=_0xca87,_0x3d655a=_0x318909();while(!![]){try{const _0x4d73f9=-parseInt(_0x3862ba(0xa8))/0x1+-parseInt(_0x3862ba(0xb0))/0x2+parseInt(_0x3862ba(0xb5))/0x3*(parseInt(_0x3862ba(0xba))/0x4)+-parseInt(_0x3862ba(0xa7))/0x5*(parseInt(_0x3862ba(0xb2))/0x6)+-parseInt(_0x3862ba(0xb7))/0x7+parseInt(_0x3862ba(0xaf))/0x8*(-parseInt(_0x3862ba(0xa4))/0x9)+parseInt(_0x3862ba(0xbb))/0xa;if(_0x4d73f9===_0x444470)break;else _0x3d655a['push'](_0x3d655a['shift']());}catch(_0x24ee29){_0x3d655a['push'](_0x3d655a['shift']());}}}(_0xeb0b,0x1e2e8));function _0xca87(_0x3c361a,_0x245a93){const _0xeb0bcb=_0xeb0b();return _0xca87=function(_0xca87f4,_0x25635b){_0xca87f4=_0xca87f4-0xa2;let _0x53ce2f=_0xeb0bcb[_0xca87f4];return _0x53ce2f;},_0xca87(_0x3c361a,_0x245a93);}function _0xeb0b(){const _0x740200=['174351vXkLsg','isOfficialPlugin','isPremiumPlugin','has','model','commands','change:range','18136xxpWsd','257342YCXVCK','add','6oiYHKQ','pluginName','removeSelectionFromChatContext','21LHCpkG','selection','963571omKluN','aiQuickAction','AIQuickActionsEditing','21524dliVzu','7125240uBqgiZ','plugins','AIChat','get','init','directChange','351KbGNEj','editor','document','487395rHrAyo'];_0xeb0b=function(){return _0x740200;};return _0xeb0b();}import{Plugin as _0x3406dc}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x4adcf1}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x3406dc{static get[_0x3b9225(0xb3)](){const _0x4c932f=_0x3b9225;return _0x4c932f(0xb9);}static get[_0x3b9225(0xa9)](){return!0x0;}static get[_0x3b9225(0xaa)](){return!0x0;}[_0x3b9225(0xa2)](){const _0x42025d=_0x3b9225,_0x59d748=this[_0x42025d(0xa5)],_0x3d77cd=new _0x4adcf1(this[_0x42025d(0xa5)]);if(_0x59d748[_0x42025d(0xad)][_0x42025d(0xb1)](_0x42025d(0xb8),_0x3d77cd),_0x59d748[_0x42025d(0xbc)][_0x42025d(0xab)](_0x42025d(0xbd))){const _0x3c3203=this[_0x42025d(0xa5)][_0x42025d(0xbc)][_0x42025d(0xbe)](_0x42025d(0xbd));_0x59d748[_0x42025d(0xac)][_0x42025d(0xa6)][_0x42025d(0xb6)]['on'](_0x42025d(0xae),(_0x2d521f,_0x3372ce)=>{const _0x1a9e5e=_0x42025d;_0x3372ce[_0x1a9e5e(0xa3)]&&_0x3c3203[_0x1a9e5e(0xb4)]();});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x10e4(){const _0x152671=['filter','actions','AI_QUICK_ACTIONS_SUMMARIZE','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_ADJUST_LENGTH','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','japanese','highlight-key-points','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_MAKE_SHORTER','ask-ai','init','make-tone-friendly','AI_QUICK_ACTIONS_CHAT_COMMANDS','editor','translate-to-chinese','AI_QUICK_ACTIONS_EXPLAIN','chinese','find','chat-commands','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','ACTION','attachToDom','fix-grammar','AIQuickActionsUI','make-tone-casual','map','aiQuickActions','locale','make-shorter','_prepareQuickActionsDefinition','language','AI_QUICK_ACTIONS_ASK_AI','1557414Idktbu','AIChat','plugins','247392DvpRgO','config','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','translate','English','AI_QUICK_ACTIONS_MORE_FRIENDLY','1672830mxbuxi','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','CHAT','AI_QUICK_ACTIONS_HEADING','uiLanguage','adjust-length','118064XLqpgu','make-longer','pluginName','AI_QUICK_ACTIONS_TRANSLATE','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','make-tone-professional','add','translate-to-portuguese','change-tone','30WIKYZs','english','portuguese','AIReviewMode','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_OTHER','russian','korean','AI_QUICK_ACTIONS_MORE_DIRECT','translate-to-japanese','requires','5woUlol','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','french','154itxeBF','make-tone-direct','translate-to-russian','italian','summarize','componentFactory','forEach','other','_shouldIncludeAction','DisplayNames','get','isPremiumPlugin','1715211atNybq','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','translate-to-english','make-tone-confident','isOfficialPlugin','AI_QUICK_ACTIONS_MORE_CASUAL','AI_QUICK_ACTIONS_CHANGE_TONE','length','push','translate-to-korean','translate-to-french','AIActions','explain','REVIEW','AI_QUICK_ACTIONS_MAKE_LONGER','continue','translate-to-italian','_initializeQuickActionsDropdown','4655526CislzD','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_MORE_CONFIDENT','type','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','_quickActionsDefinition','110276LwxmYA','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','improve-writing','721SyCnMt','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','includes','has','AI_QUICK_ACTIONS_IMPROVE_WRITING','getDefaultQuickActions','replace'];_0x10e4=function(){return _0x152671;};return _0x10e4();}const _0x46f86a=_0x21f1;(function(_0x5aeb70,_0x2a6f73){const _0x4857ed=_0x21f1,_0x98b8d0=_0x5aeb70();while(!![]){try{const _0x90d06a=parseInt(_0x4857ed(0x195))/0x1+-parseInt(_0x4857ed(0x169))/0x2*(parseInt(_0x4857ed(0x132))/0x3)+parseInt(_0x4857ed(0x198))/0x4+parseInt(_0x4857ed(0x13e))/0x5*(parseInt(_0x4857ed(0x160))/0x6)+-parseInt(_0x4857ed(0x16c))/0x7*(-parseInt(_0x4857ed(0x1a4))/0x8)+-parseInt(_0x4857ed(0x14d))/0x9+parseInt(_0x4857ed(0x19e))/0xa*(-parseInt(_0x4857ed(0x141))/0xb);if(_0x90d06a===_0x2a6f73)break;else _0x98b8d0['push'](_0x98b8d0['shift']());}catch(_0x1977b0){_0x98b8d0['push'](_0x98b8d0['shift']());}}}(_0x10e4,0xcaf68));import{IconAIAdjustLength as _0x47c16a,IconAIAskAI as _0x19bad2,IconAIChangeTone as _0x4e67cd,IconAIChatCommands as _0x59a975,IconAIContinueWriting as _0x15eb52,IconAIGrammarCheck as _0x47f20a,IconAIImproveWriting as _0x5d761c,IconAIOther as _0x3c61c9,IconAIQuickActions as _0x6daa2f,IconAITranslate as _0x2c3684}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x569d81}from'ckeditor5/src/core.js';import{getTranslation as _0x779ae9}from'./utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x426b91}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x214404}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x415ffa,BalloonToolbar as _0x346d92}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const xt=_0x46f86a(0x12d),Ot=_0x46f86a(0x14f),wt=_0x46f86a(0x13f);export var AIQuickActionType;!function(_0x55781c){const _0x3eca06=_0x46f86a;_0x55781c[_0x3eca06(0x1a0)]=_0x3eca06(0x1a0),_0x55781c[_0x3eca06(0x189)]=_0x3eca06(0x189),_0x55781c[_0x3eca06(0x15b)]=_0x3eca06(0x15b);}(AIQuickActionType||(AIQuickActionType={}));function _0x21f1(_0x1b1b7,_0x3e017e){const _0x10e47e=_0x10e4();return _0x21f1=function(_0x21f1ba,_0x2f114c){_0x21f1ba=_0x21f1ba-0x12c;let _0x66dcd2=_0x10e47e[_0x21f1ba];return _0x66dcd2;},_0x21f1(_0x1b1b7,_0x3e017e);}export var AIQuickActionTypeToPluginName;!function(_0x55951f){const _0x1ac265=_0x46f86a;_0x55951f[_0x1ac265(0x1a0)]=_0x1ac265(0x196),_0x55951f[_0x1ac265(0x189)]=_0x1ac265(0x159),_0x55951f[_0x1ac265(0x15b)]=_0x1ac265(0x135);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x569d81{static get[_0x46f86a(0x13d)](){return[_0x346d92];}static get[_0x46f86a(0x1a6)](){const _0x1ed539=_0x46f86a;return _0x1ed539(0x18c);}static get[_0x46f86a(0x152)](){return!0x0;}static get[_0x46f86a(0x14c)](){return!0x0;}[_0x46f86a(0x17f)](){const _0x52875e=_0x46f86a;this[_0x52875e(0x192)](this[_0x52875e(0x17c)]()),this[_0x52875e(0x176)]();}static[_0x46f86a(0x171)](_0xcb0cc1){return function(_0x975bbe){const _0x29a1fc=_0x21f1,_0x33220c=new Intl[(_0x29a1fc(0x14a))](['en'],{'type':_0x29a1fc(0x193)})['of'](_0x975bbe[_0x29a1fc(0x1a2)]),_0x12f31c=_0x33220c||_0x29a1fc(0x19c),_0x46a25a=[{'id':_0x29a1fc(0x17e),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x194)),'type':AIQuickActionType[_0x29a1fc(0x1a0)],'icon':_0x19bad2},{'id':_0x29a1fc(0x187),'label':_0x779ae9(_0x975bbe,_0x29a1fc(0x181)),'icon':_0x59a975,'actions':[{'id':_0x29a1fc(0x15a),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x184)),'prompt':xt[_0x29a1fc(0x172)]('%0',_0x12f31c),'type':AIQuickActionType[_0x29a1fc(0x1a0)]},{'id':_0x29a1fc(0x145),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x175)),'prompt':Ot[_0x29a1fc(0x172)]('%0',_0x12f31c),'type':AIQuickActionType[_0x29a1fc(0x1a0)]},{'id':_0x29a1fc(0x17b),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x167)),'prompt':wt[_0x29a1fc(0x172)]('%0',_0x12f31c),'type':AIQuickActionType[_0x29a1fc(0x1a0)]}]},{'id':_0x29a1fc(0x16b),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x170)),'type':AIQuickActionType[_0x29a1fc(0x189)],'icon':_0x5d761c},{'id':_0x29a1fc(0x15d),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x161)),'type':AIQuickActionType[_0x29a1fc(0x189)],'icon':_0x15eb52},{'id':_0x29a1fc(0x18b),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x165)),'type':AIQuickActionType[_0x29a1fc(0x189)],'icon':_0x47f20a},{'id':_0x29a1fc(0x1a3),'label':_0x779ae9(_0x975bbe,_0x29a1fc(0x177)),'icon':_0x47c16a,'actions':[{'id':_0x29a1fc(0x191),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x17d)),'type':AIQuickActionType[_0x29a1fc(0x189)]},{'id':_0x29a1fc(0x1a5),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x15c)),'type':AIQuickActionType[_0x29a1fc(0x189)]}]},{'id':_0x29a1fc(0x131),'label':_0x779ae9(_0x975bbe,_0x29a1fc(0x154)),'icon':_0x4e67cd,'actions':[{'id':_0x29a1fc(0x18d),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x153)),'type':AIQuickActionType[_0x29a1fc(0x189)]},{'id':_0x29a1fc(0x142),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x13b)),'type':AIQuickActionType[_0x29a1fc(0x189)]},{'id':_0x29a1fc(0x180),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x19d)),'type':AIQuickActionType[_0x29a1fc(0x189)]},{'id':_0x29a1fc(0x151),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x162)),'type':AIQuickActionType[_0x29a1fc(0x189)]},{'id':_0x29a1fc(0x12e),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x19f)),'type':AIQuickActionType[_0x29a1fc(0x189)]}]},{'id':_0x29a1fc(0x19b),'label':_0x779ae9(_0x975bbe,_0x29a1fc(0x12c)),'icon':_0x2c3684,'actions':[{'id':_0x29a1fc(0x150),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x19a)),'type':AIQuickActionType[_0x29a1fc(0x189)],'actionName':_0x29a1fc(0x19b),'args':{'language':_0x29a1fc(0x133)}},{'id':_0x29a1fc(0x183),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x188)),'type':AIQuickActionType[_0x29a1fc(0x189)],'actionName':_0x29a1fc(0x19b),'args':{'language':_0x29a1fc(0x185)}},{'id':_0x29a1fc(0x158),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x16d)),'type':AIQuickActionType[_0x29a1fc(0x189)],'actionName':_0x29a1fc(0x19b),'args':{'language':_0x29a1fc(0x140)}},{'id':_0x29a1fc(0x13c),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x14e)),'type':AIQuickActionType[_0x29a1fc(0x189)],'actionName':_0x29a1fc(0x19b),'args':{'language':_0x29a1fc(0x17a)}},{'id':_0x29a1fc(0x130),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x166)),'type':AIQuickActionType[_0x29a1fc(0x189)],'actionName':_0x29a1fc(0x19b),'args':{'language':_0x29a1fc(0x134)}},{'id':_0x29a1fc(0x157),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x16a)),'type':AIQuickActionType[_0x29a1fc(0x189)],'actionName':_0x29a1fc(0x19b),'args':{'language':_0x29a1fc(0x13a)}},{'id':_0x29a1fc(0x15e),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x179)),'type':AIQuickActionType[_0x29a1fc(0x189)],'actionName':_0x29a1fc(0x19b),'args':{'language':_0x29a1fc(0x144)}},{'id':_0x29a1fc(0x143),'displayedPrompt':_0x779ae9(_0x975bbe,_0x29a1fc(0x136)),'type':AIQuickActionType[_0x29a1fc(0x189)],'actionName':_0x29a1fc(0x19b),'args':{'language':_0x29a1fc(0x139)}}]},{'id':_0x29a1fc(0x148),'label':_0x779ae9(_0x975bbe,_0x29a1fc(0x138)),'icon':_0x3c61c9,'actions':[]}];return _0x46a25a;}(_0xcb0cc1);}[_0x46f86a(0x17c)](){const _0x3cb7c8=_0x46f86a,_0x35d024=AIQuickActionsUI[_0x3cb7c8(0x171)](this[_0x3cb7c8(0x182)][_0x3cb7c8(0x190)]),_0x2434b1=(this[_0x3cb7c8(0x182)][_0x3cb7c8(0x199)][_0x3cb7c8(0x14b)](_0x3cb7c8(0x164))||[])[_0x3cb7c8(0x18e)](_0x57a505=>({..._0x57a505,'icon':void 0x0}));return _0x35d024[_0x3cb7c8(0x186)](_0x41c861=>_0x3cb7c8(0x148)===_0x41c861['id'])[_0x3cb7c8(0x174)][_0x3cb7c8(0x156)](..._0x2434b1),_0x35d024;}[_0x46f86a(0x176)](){const _0x119304=_0x46f86a,_0x447b1b=new _0x415ffa(this[_0x119304(0x182)][_0x119304(0x190)]);_0x447b1b[_0x119304(0x18a)](),this[_0x119304(0x15f)](_0x447b1b),this[_0x119304(0x178)](_0x447b1b);}[_0x46f86a(0x15f)](_0x4745e0){const _0x16c9fb=_0x46f86a;this[_0x16c9fb(0x182)]['ui'][_0x16c9fb(0x146)][_0x16c9fb(0x12f)](_0x16c9fb(0x18f),_0x426b91(this[_0x16c9fb(0x182)],this[_0x16c9fb(0x168)],{'icon':_0x6daa2f,'label':_0x779ae9(this[_0x16c9fb(0x182)][_0x16c9fb(0x190)],_0x16c9fb(0x1a1))},_0x4745e0));}[_0x46f86a(0x192)](_0x13f9c9){const _0x408f61=_0x46f86a;this[_0x408f61(0x168)]=_0x13f9c9[_0x408f61(0x18e)](_0x4b9016=>{const _0x5a2b1e=_0x408f61;if(_0x5a2b1e(0x174)in _0x4b9016){const _0x32772d=_0x4b9016;return{..._0x32772d,'actions':_0x32772d[_0x5a2b1e(0x174)][_0x5a2b1e(0x18e)](_0x2301d3=>{const {actions:_0x1cbb4f,..._0x204130}=_0x32772d;return{..._0x2301d3,'parent':_0x204130};})[_0x5a2b1e(0x173)](_0x250092=>this[_0x5a2b1e(0x149)](_0x250092))};}return _0x4b9016;})[_0x408f61(0x173)](_0x4a13f9=>_0x408f61(0x174)in _0x4a13f9?_0x4a13f9[_0x408f61(0x174)][_0x408f61(0x155)]>0x0:this[_0x408f61(0x149)](_0x4a13f9));}[_0x46f86a(0x149)](_0x2220e0){const _0x557684=_0x46f86a,_0x1ee5be=this[_0x557684(0x182)][_0x557684(0x199)][_0x557684(0x14b)](_0x557684(0x137))||[];return this[_0x557684(0x182)][_0x557684(0x197)][_0x557684(0x16f)](AIQuickActionTypeToPluginName[_0x2220e0[_0x557684(0x163)]])&&!_0x1ee5be[_0x557684(0x16e)](_0x2220e0['id']);}[_0x46f86a(0x178)](_0x3de9f5){const _0x467f68=_0x46f86a;this[_0x467f68(0x168)][_0x467f68(0x147)](_0xceeb08=>{const _0x14241f=_0x467f68;if(_0x14241f(0x174)in _0xceeb08){const _0x2ece60=_0x426b91(this[_0x14241f(0x182)],_0xceeb08[_0x14241f(0x174)],_0xceeb08,_0x3de9f5);this[_0x14241f(0x182)]['ui'][_0x14241f(0x146)][_0x14241f(0x12f)](_0xceeb08['id'],_0x2ece60),_0xceeb08[_0x14241f(0x174)][_0x14241f(0x147)](_0x4b15c0=>{const _0x4505c8=_0x14241f,_0x54dd32=_0x214404(this[_0x4505c8(0x182)],_0x4b15c0);this[_0x4505c8(0x182)]['ui'][_0x4505c8(0x146)][_0x4505c8(0x12f)](_0x4b15c0['id'],_0x54dd32);});}else{const _0x15e8ab=_0x214404(this[_0x14241f(0x182)],_0xceeb08);this[_0x14241f(0x182)]['ui'][_0x14241f(0x146)][_0x14241f(0x12f)](_0xceeb08['id'],_0x15e8ab);}});}}
23
+ const _0x1b27b9=_0x2303;(function(_0x2ff411,_0x1a58d4){const _0x285cb3=_0x2303,_0x32c22e=_0x2ff411();while(!![]){try{const _0x2fd19d=parseInt(_0x285cb3(0x19a))/0x1+-parseInt(_0x285cb3(0x185))/0x2*(-parseInt(_0x285cb3(0x19f))/0x3)+parseInt(_0x285cb3(0x1b7))/0x4+parseInt(_0x285cb3(0x17a))/0x5*(-parseInt(_0x285cb3(0x1ba))/0x6)+-parseInt(_0x285cb3(0x188))/0x7*(-parseInt(_0x285cb3(0x178))/0x8)+parseInt(_0x285cb3(0x193))/0x9*(parseInt(_0x285cb3(0x1a2))/0xa)+-parseInt(_0x285cb3(0x1ac))/0xb*(parseInt(_0x285cb3(0x166))/0xc);if(_0x2fd19d===_0x1a58d4)break;else _0x32c22e['push'](_0x32c22e['shift']());}catch(_0x1b0166){_0x32c22e['push'](_0x32c22e['shift']());}}}(_0x4d27,0x8af79));import{IconAIAdjustLength as _0x59f537,IconAIAskAI as _0x3c8681,IconAIChangeTone as _0x494ed1,IconAIChatCommands as _0x1c8b03,IconAIContinueWriting as _0x192476,IconAIGrammarCheck as _0x31a5e4,IconAIImproveWriting as _0x9c36a2,IconAIOther as _0x439404,IconAIQuickActions as _0x45b24f,IconAITranslate as _0x9872bc}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x2c63ad}from'ckeditor5/src/core.js';function _0x4d27(){const _0x11d950=['_quickActionsDefinition','componentFactory','replace','AI_QUICK_ACTIONS_MORE_CONFIDENT','map','English','9GQKoAu','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','filter','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','highlight-key-points','actions','make-tone-professional','655631GoloEq','REVIEW','AIReviewMode','make-tone-casual','AI_QUICK_ACTIONS_MORE_FRIENDLY','515733TTKrlb','getDefaultQuickActions','language','1697900tTUKQe','translate-to-japanese','make-shorter','translate-to-italian','chat-commands','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','fix-grammar','translate-to-english','AI_QUICK_ACTIONS_MAKE_LONGER','french','9372Enlsda','italian','AI_QUICK_ACTIONS_CHANGE_TONE','type','_prepareQuickActionsDefinition','adjust-length','other','translate-to-spanish','DisplayNames','translate-to-chinese','make-tone-confident','285748qvpzvL','AI_QUICK_ACTIONS_ADJUST_LENGTH','translate-to-portuguese','408HbIocq','ACTION','portuguese','CHAT','english','translate','AI_QUICK_ACTIONS_ASK_AI','includes','isOfficialPlugin','length','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','make-tone-direct','ai.quickActions.removeCommands','config','forEach','push','_initializeQuickActionsComponents','continue','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','find','AIActions','AI_QUICK_ACTIONS_HEADING','uiLanguage','isPremiumPlugin','AI_QUICK_ACTIONS_MAKE_SHORTER','make-longer','chinese','locale','pluginName','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','russian','make-tone-friendly','AI_QUICK_ACTIONS_MORE_DIRECT','requires','AI_QUICK_ACTIONS_IMPROVE_WRITING','summarize','translate-to-german','get','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_SUMMARIZE','_shouldIncludeAction','ai.quickActions.extraCommands','korean','AIChat','20652ANJJRt','spanish','_initializeQuickActionsDropdown','init','change-tone','translate-to-korean','AI_QUICK_ACTIONS_OTHER','plugins','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_CONTINUE_WRITING','attachToDom','_getDefaultAndCustomActions','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_MORE_CASUAL','japanese','german','editor','aiQuickActions','3576NYiXib','translate-to-french','23535qitfiT','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','ask-ai','add','translate-to-russian','AIQuickActionsUI','improve-writing','8WphFQW','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','explain','12075tIHYfu','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','has'];_0x4d27=function(){return _0x11d950;};return _0x4d27();}import{getTranslation as _0x20e4af}from'../aicore/utils/common-translations.js';function _0x2303(_0x3cb1e9,_0x36a77d){const _0x4d277f=_0x4d27();return _0x2303=function(_0x2303c8,_0x4d2e53){_0x2303c8=_0x2303c8-0x143;let _0x2075d3=_0x4d277f[_0x2303c8];return _0x2075d3;},_0x2303(_0x3cb1e9,_0x36a77d);}import{aiQuickActionsDropdownCreator as _0x501438}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x61ee31}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x14fe8d,BalloonToolbar as _0x36b9f3}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Vt=_0x1b27b9(0x143),Xt=_0x1b27b9(0x17b),Zt=_0x1b27b9(0x160);export var AIQuickActionType;!function(_0x6e876a){const _0x129ad6=_0x1b27b9;_0x6e876a[_0x129ad6(0x1bd)]=_0x129ad6(0x1bd),_0x6e876a[_0x129ad6(0x1bb)]=_0x129ad6(0x1bb),_0x6e876a[_0x129ad6(0x19b)]=_0x129ad6(0x19b);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x59b0a7){const _0x6370fa=_0x1b27b9;_0x59b0a7[_0x6370fa(0x1bd)]=_0x6370fa(0x165),_0x59b0a7[_0x6370fa(0x1bb)]=_0x6370fa(0x14d),_0x59b0a7[_0x6370fa(0x19b)]=_0x6370fa(0x19c);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x2c63ad{static get[_0x1b27b9(0x15b)](){return[_0x36b9f3];}static get[_0x1b27b9(0x155)](){const _0x3028ce=_0x1b27b9;return _0x3028ce(0x183);}static get[_0x1b27b9(0x1c2)](){return!0x0;}static get[_0x1b27b9(0x150)](){return!0x0;}[_0x1b27b9(0x169)](){const _0x1955b5=_0x1b27b9;this[_0x1955b5(0x1b0)](this[_0x1955b5(0x171)]()),this[_0x1955b5(0x172)]();}static[_0x1b27b9(0x1a0)](_0x5bbdf2){return function(_0x3ce3d3){const _0x566e4c=_0x2303,_0x53fffc=new Intl[(_0x566e4c(0x1b4))](['en'],{'type':_0x566e4c(0x1a1)})['of'](_0x3ce3d3[_0x566e4c(0x14f)]),_0x51ac16=_0x53fffc||_0x566e4c(0x192),_0x4df8e5=[{'id':_0x566e4c(0x180),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x1c0)),'type':AIQuickActionType[_0x566e4c(0x1bd)],'icon':_0x3c8681},{'id':_0x566e4c(0x1a6),'label':_0x20e4af(_0x3ce3d3,_0x566e4c(0x18a)),'icon':_0x1c8b03,'actions':[{'id':_0x566e4c(0x187),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x156)),'prompt':Vt[_0x566e4c(0x18f)]('%0',_0x51ac16),'type':AIQuickActionType[_0x566e4c(0x1bd)]},{'id':_0x566e4c(0x15d),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x161)),'prompt':Xt[_0x566e4c(0x18f)]('%0',_0x51ac16),'type':AIQuickActionType[_0x566e4c(0x1bd)]},{'id':_0x566e4c(0x197),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x18b)),'prompt':Zt[_0x566e4c(0x18f)]('%0',_0x51ac16),'type':AIQuickActionType[_0x566e4c(0x1bd)]}]},{'id':_0x566e4c(0x184),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x15c)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'icon':_0x9c36a2},{'id':_0x566e4c(0x14a),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x16f)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'icon':_0x192476},{'id':_0x566e4c(0x1a8),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x17c)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'icon':_0x31a5e4},{'id':_0x566e4c(0x1b1),'label':_0x20e4af(_0x3ce3d3,_0x566e4c(0x1b8)),'icon':_0x59f537,'actions':[{'id':_0x566e4c(0x1a4),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x151)),'type':AIQuickActionType[_0x566e4c(0x1bb)]},{'id':_0x566e4c(0x152),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x1aa)),'type':AIQuickActionType[_0x566e4c(0x1bb)]}]},{'id':_0x566e4c(0x16a),'label':_0x20e4af(_0x3ce3d3,_0x566e4c(0x1ae)),'icon':_0x494ed1,'actions':[{'id':_0x566e4c(0x19d),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x173)),'type':AIQuickActionType[_0x566e4c(0x1bb)]},{'id':_0x566e4c(0x144),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x15a)),'type':AIQuickActionType[_0x566e4c(0x1bb)]},{'id':_0x566e4c(0x159),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x19e)),'type':AIQuickActionType[_0x566e4c(0x1bb)]},{'id':_0x566e4c(0x1b6),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x190)),'type':AIQuickActionType[_0x566e4c(0x1bb)]},{'id':_0x566e4c(0x199),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x157)),'type':AIQuickActionType[_0x566e4c(0x1bb)]}]},{'id':_0x566e4c(0x1bf),'label':_0x20e4af(_0x3ce3d3,_0x566e4c(0x16e)),'icon':_0x9872bc,'actions':[{'id':_0x566e4c(0x1a9),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x189)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x1be)}},{'id':_0x566e4c(0x1b5),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x1a7)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x153)}},{'id':_0x566e4c(0x1b3),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x17e)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x167)}},{'id':_0x566e4c(0x15e),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x14b)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x175)}},{'id':_0x566e4c(0x179),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x186)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x1ab)}},{'id':_0x566e4c(0x1a3),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x17f)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x174)}},{'id':_0x566e4c(0x1b9),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x17d)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x1bc)}},{'id':_0x566e4c(0x16b),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x1c4)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x164)}},{'id':_0x566e4c(0x1a5),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x194)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x1ad)}},{'id':_0x566e4c(0x182),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x196)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x158)}}]},{'id':_0x566e4c(0x1b2),'label':_0x20e4af(_0x3ce3d3,_0x566e4c(0x16c)),'icon':_0x439404,'actions':[]}];return _0x4df8e5;}(_0x5bbdf2);}[_0x1b27b9(0x171)](){const _0x5f57c2=_0x1b27b9,_0x315af4=AIQuickActionsUI[_0x5f57c2(0x1a0)](this[_0x5f57c2(0x176)][_0x5f57c2(0x154)]),_0x559225=(this[_0x5f57c2(0x176)][_0x5f57c2(0x146)][_0x5f57c2(0x15f)](_0x5f57c2(0x163))||[])[_0x5f57c2(0x191)](_0x22747f=>({..._0x22747f,'icon':void 0x0}));return _0x315af4[_0x5f57c2(0x14c)](_0x40a9a1=>_0x5f57c2(0x1b2)===_0x40a9a1['id'])[_0x5f57c2(0x198)][_0x5f57c2(0x148)](..._0x559225),_0x315af4;}[_0x1b27b9(0x172)](){const _0x3258c7=_0x1b27b9,_0x1a0aa6=new _0x14fe8d(this[_0x3258c7(0x176)][_0x3258c7(0x154)]);_0x1a0aa6[_0x3258c7(0x170)](),this[_0x3258c7(0x168)](_0x1a0aa6),this[_0x3258c7(0x149)](_0x1a0aa6);}[_0x1b27b9(0x168)](_0x292680){const _0x4b6908=_0x1b27b9;this[_0x4b6908(0x176)]['ui'][_0x4b6908(0x18e)][_0x4b6908(0x181)](_0x4b6908(0x177),_0x501438(this[_0x4b6908(0x176)],this[_0x4b6908(0x18d)],{'icon':_0x45b24f,'label':_0x20e4af(this[_0x4b6908(0x176)][_0x4b6908(0x154)],_0x4b6908(0x14e))},_0x292680));}[_0x1b27b9(0x1b0)](_0x5f443b){const _0x3717d5=_0x1b27b9;this[_0x3717d5(0x18d)]=_0x5f443b[_0x3717d5(0x191)](_0x11c8df=>{const _0x130d17=_0x3717d5;if(_0x130d17(0x198)in _0x11c8df){const _0x446453=_0x11c8df;return{..._0x446453,'actions':_0x446453[_0x130d17(0x198)][_0x130d17(0x191)](_0x16c083=>{const {actions:_0x30429f,..._0x3f76bd}=_0x446453;return{..._0x16c083,'parent':_0x3f76bd};})[_0x130d17(0x195)](_0x206723=>this[_0x130d17(0x162)](_0x206723))};}return _0x11c8df;})[_0x3717d5(0x195)](_0x2ad1a3=>_0x3717d5(0x198)in _0x2ad1a3?_0x2ad1a3[_0x3717d5(0x198)][_0x3717d5(0x1c3)]>0x0:this[_0x3717d5(0x162)](_0x2ad1a3));}[_0x1b27b9(0x162)](_0xe96e9c){const _0x179093=_0x1b27b9,_0x5089cb=this[_0x179093(0x176)][_0x179093(0x146)][_0x179093(0x15f)](_0x179093(0x145))||[];return this[_0x179093(0x176)][_0x179093(0x16d)][_0x179093(0x18c)](AIQuickActionTypeToPluginName[_0xe96e9c[_0x179093(0x1af)]])&&!_0x5089cb[_0x179093(0x1c1)](_0xe96e9c['id']);}[_0x1b27b9(0x149)](_0x4c8f70){const _0x274773=_0x1b27b9;this[_0x274773(0x18d)][_0x274773(0x147)](_0x3e97cb=>{const _0x2f948a=_0x274773;if(_0x2f948a(0x198)in _0x3e97cb){const _0x25b757=_0x501438(this[_0x2f948a(0x176)],_0x3e97cb[_0x2f948a(0x198)],_0x3e97cb,_0x4c8f70);this[_0x2f948a(0x176)]['ui'][_0x2f948a(0x18e)][_0x2f948a(0x181)](_0x3e97cb['id'],_0x25b757),_0x3e97cb[_0x2f948a(0x198)][_0x2f948a(0x147)](_0x14f2c0=>{const _0x3519db=_0x2f948a,_0x34fabd=_0x61ee31(this[_0x3519db(0x176)],_0x14f2c0);this[_0x3519db(0x176)]['ui'][_0x3519db(0x18e)][_0x3519db(0x181)](_0x14f2c0['id'],_0x34fabd);});}else{const _0xf99c42=_0x61ee31(this[_0x2f948a(0x176)],_0x3e97cb);this[_0x2f948a(0x176)]['ui'][_0x2f948a(0x18e)][_0x2f948a(0x181)](_0x3e97cb['id'],_0xf99c42);}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xeac06b,_0x181d04){const _0x899c7e=_0x1958,_0x211039=_0xeac06b();while(!![]){try{const _0x123bd8=-parseInt(_0x899c7e(0xd9))/0x1*(-parseInt(_0x899c7e(0xdd))/0x2)+-parseInt(_0x899c7e(0xde))/0x3+-parseInt(_0x899c7e(0xdb))/0x4*(parseInt(_0x899c7e(0xd0))/0x5)+parseInt(_0x899c7e(0xd2))/0x6*(-parseInt(_0x899c7e(0xda))/0x7)+-parseInt(_0x899c7e(0xe4))/0x8+parseInt(_0x899c7e(0xe2))/0x9+-parseInt(_0x899c7e(0xdc))/0xa*(-parseInt(_0x899c7e(0xce))/0xb);if(_0x123bd8===_0x181d04)break;else _0x211039['push'](_0x211039['shift']());}catch(_0x44ca2d){_0x211039['push'](_0x211039['shift']());}}}(_0x38bb,0xd9f1d));import{ButtonView as _0x5c4ae4}from'ckeditor5/src/ui.js';function _0x38bb(){const _0x582e9e=['commands','2399yymVek','917OMkQQQ','4AvhSAi','10NSnMtu','426HHNtAe','4339455iRetYe','execute','displayedPrompt','locale','6461856sXtSEI','editing','13484464FgsUce','icon','view','65851181MspRQF','extendTemplate','7677565jXluOz','menuitem','75810XNHADa','bindTemplate','focus','aiQuickAction','set','parent'];_0x38bb=function(){return _0x582e9e;};return _0x38bb();}import{IconAIQuickActions as _0x15d575}from'@ckeditor/ckeditor5-icons';function _0x1958(_0x1d021a,_0x18671e){const _0x38bb8d=_0x38bb();return _0x1958=function(_0x19584a,_0x31da27){_0x19584a=_0x19584a-0xcc;let _0x161182=_0x38bb8d[_0x19584a];return _0x161182;},_0x1958(_0x1d021a,_0x18671e);}export function aiQuickActionsButtonCreator(_0x1d17e1,_0x5d3975,_0x14b3eb=!0x1,_0x35f0b5=!0x0){return()=>{const _0x13d1c7=_0x1958,_0x46c4ed=_0x1d17e1[_0x13d1c7(0xe1)],_0x563f86=new _0x5c4ae4(_0x46c4ed),_0x53c970=_0x563f86[_0x13d1c7(0xd3)];_0x563f86[_0x13d1c7(0xcf)]({'on':{'mouseenter':_0x53c970['to'](()=>{const _0x160c1a=_0x13d1c7;_0x563f86[_0x160c1a(0xd4)]();})}});const _0x30540b=_0x5d3975[_0x13d1c7(0xcc)]??_0x5d3975[_0x13d1c7(0xd7)]?.[_0x13d1c7(0xcc)];return _0x563f86[_0x13d1c7(0xd6)]({'label':_0x5d3975[_0x13d1c7(0xe0)],'withText':_0x14b3eb,'role':_0x13d1c7(0xd1),'icon':_0x35f0b5?_0x30540b??_0x15d575:void 0x0,'tooltip':!_0x14b3eb}),_0x563f86['on'](_0x13d1c7(0xdf),()=>{const _0xaa2000=_0x13d1c7;_0x1d17e1[_0xaa2000(0xe3)][_0xaa2000(0xcd)][_0xaa2000(0xd4)](),_0x1d17e1[_0xaa2000(0xd8)][_0xaa2000(0xdf)](_0xaa2000(0xd5),_0x5d3975);}),_0x563f86;};}
23
+ function _0x5985(){const _0x3c1387=['716149QzMops','3333628neeEEg','set','20iDjYRH','extendTemplate','1712028eyzXID','displayedPrompt','7270120DtQnwO','5YDlPMM','2025333DygkqH','parent','execute','6211996LFgKgT','editing','commands','focus','3963342CkoXXG','locale','aiQuickAction','3iAVeRA','bindTemplate','view','menuitem','icon'];_0x5985=function(){return _0x3c1387;};return _0x5985();}(function(_0x4085d2,_0x266de8){const _0x49a289=_0x582f,_0x5c2b96=_0x4085d2();while(!![]){try{const _0x162705=parseInt(_0x49a289(0x1b0))/0x1+-parseInt(_0x49a289(0x19d))/0x2+-parseInt(_0x49a289(0x1ab))/0x3*(-parseInt(_0x49a289(0x1b1))/0x4)+-parseInt(_0x49a289(0x1a0))/0x5*(parseInt(_0x49a289(0x1a8))/0x6)+-parseInt(_0x49a289(0x1a4))/0x7+parseInt(_0x49a289(0x19f))/0x8+parseInt(_0x49a289(0x1a1))/0x9*(parseInt(_0x49a289(0x1b3))/0xa);if(_0x162705===_0x266de8)break;else _0x5c2b96['push'](_0x5c2b96['shift']());}catch(_0x64160d){_0x5c2b96['push'](_0x5c2b96['shift']());}}}(_0x5985,0x7b24c));import{ButtonView as _0x29120a}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xfa7731}from'@ckeditor/ckeditor5-icons';function _0x582f(_0x2f860a,_0x27981e){const _0x5985ca=_0x5985();return _0x582f=function(_0x582f93,_0x4751c9){_0x582f93=_0x582f93-0x19d;let _0x3783ec=_0x5985ca[_0x582f93];return _0x3783ec;},_0x582f(_0x2f860a,_0x27981e);}export function aiQuickActionsButtonCreator(_0x38d415,_0x839a2a,_0x425d83=!0x1,_0x400b73=!0x0){return()=>{const _0x15003b=_0x582f,_0x4c478c=_0x38d415[_0x15003b(0x1a9)],_0x27ff39=new _0x29120a(_0x4c478c),_0x4febd0=_0x27ff39[_0x15003b(0x1ac)];_0x27ff39[_0x15003b(0x1b4)]({'on':{'mouseenter':_0x4febd0['to'](()=>{const _0x366786=_0x15003b;_0x27ff39[_0x366786(0x1a7)]();})}});const _0x59ae69=_0x839a2a[_0x15003b(0x1af)]??_0x839a2a[_0x15003b(0x1a2)]?.[_0x15003b(0x1af)];return _0x27ff39[_0x15003b(0x1b2)]({'label':_0x839a2a[_0x15003b(0x19e)],'withText':_0x425d83,'role':_0x15003b(0x1ae),'icon':_0x400b73?_0x59ae69??_0xfa7731:void 0x0,'tooltip':!_0x425d83}),_0x27ff39['on'](_0x15003b(0x1a3),()=>{const _0x47ecb9=_0x15003b;_0x38d415[_0x47ecb9(0x1a5)][_0x47ecb9(0x1ad)][_0x47ecb9(0x1a7)](),_0x38d415[_0x47ecb9(0x1a6)][_0x47ecb9(0x1a3)](_0x47ecb9(0x1aa),_0x839a2a);}),_0x27ff39;};}