@ckeditor/ckeditor5-ai 47.0.0-alpha.8 → 47.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +4 -4
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.d.ts +197 -1
  181. package/src/aichat/model/aichatcontext.js +1 -1
  182. package/src/aichat/model/aichatconversation.js +1 -1
  183. package/src/aichat/model/aichatinteraction.js +1 -1
  184. package/src/aichat/model/aichatmodels.d.ts +30 -0
  185. package/src/aichat/model/aichatmodels.js +1 -1
  186. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  187. package/src/aichat/ui/aichatfeedview.js +1 -1
  188. package/src/aichat/ui/aichatheaderview.js +1 -1
  189. package/src/aichat/ui/aichatview.js +1 -1
  190. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  211. package/src/aichat/utils/eventnames.js +1 -1
  212. package/src/aichat/utils/promisequeue.js +1 -1
  213. package/src/aichat/utils/scrollmanager.js +1 -1
  214. package/src/aichathistory/aichathistory.js +1 -1
  215. package/src/aichathistory/aichathistorycontroller.js +1 -1
  216. package/src/aichathistory/aichathistoryui.js +1 -1
  217. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  218. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  219. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  221. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aireply.js +1 -1
  229. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  230. package/src/aicore/pipeline/airesponseparser.js +2 -2
  231. package/src/aicore/ui/aidisclaimerview.js +1 -1
  232. package/src/aicore/ui/aiskeleton.js +1 -1
  233. package/src/aicore/ui/aispinner.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  239. package/src/aicore/utils/common-translations.js +1 -1
  240. package/src/aicore/utils/createresizebutton.js +1 -1
  241. package/src/aicore/utils/documentposition.js +1 -1
  242. package/src/aicore/utils/documentrange.js +1 -1
  243. package/src/aicore/utils/eventnames.js +1 -1
  244. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  245. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  246. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  247. package/src/aicore/utils/htmlparser.js +1 -1
  248. package/src/aicore/utils/htmlstreamer.js +1 -1
  249. package/src/aieditorintegration/aieditorintegration.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  251. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  252. package/src/aiquickactions/aiquickactions.d.ts +1 -0
  253. package/src/aiquickactions/aiquickactions.js +1 -1
  254. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  255. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  256. package/src/aiquickactions/aiquickactionsui.d.ts +49 -0
  257. package/src/aiquickactions/aiquickactionsui.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  259. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  260. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  261. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  262. package/src/aireviewmode/aireviewmode.js +1 -1
  263. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  264. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  265. package/src/aireviewmode/aireviewmodeui.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  268. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  270. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  271. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  272. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  273. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  274. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  275. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  285. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  286. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  287. package/src/aitabs/aitabs.d.ts +14 -0
  288. package/src/aitabs/aitabs.js +1 -1
  289. package/src/aitabs/aitabsmainview.js +1 -1
  290. package/src/aitabs/tabs/aitabsview.js +1 -1
  291. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  292. package/src/aitabs/tabs/tabpanelview.js +1 -1
  293. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x210284,_0x2d753a){const _0x52d48e=_0x49eb,_0x5c4e4c=_0x210284();while(!![]){try{const _0x3352f8=-parseInt(_0x52d48e(0x13a))/0x1*(-parseInt(_0x52d48e(0x12f))/0x2)+parseInt(_0x52d48e(0x13c))/0x3+-parseInt(_0x52d48e(0x128))/0x4*(-parseInt(_0x52d48e(0x135))/0x5)+parseInt(_0x52d48e(0x13e))/0x6+parseInt(_0x52d48e(0x13d))/0x7+-parseInt(_0x52d48e(0x133))/0x8*(-parseInt(_0x52d48e(0x12e))/0x9)+-parseInt(_0x52d48e(0x129))/0xa;if(_0x3352f8===_0x2d753a)break;else _0x5c4e4c['push'](_0x5c4e4c['shift']());}catch(_0x50d57b){_0x5c4e4c['push'](_0x5c4e4c['shift']());}}}(_0x3603,0x40a6f));import{parseDocument as _0x2ac53f}from'htmlparser2';import{append as _0x27d03f,appendChild as _0x3dd3a0,find as _0x2e89e7,findAll as _0x5076dd,findOne as _0x472c11,getChildren as _0x117fec,isComment as _0x37da2d,isTag as _0x3550b5,prepend as _0x28cf6a,prependChild as _0x139d22,removeElement as _0x1fbf6d,replaceElement as _0x25ea77,textContent as _0x14b3ec,getParent as _0x5a7fa3,hasChildren as _0x254a83}from'domutils';import _0x480b1a from'dom-serializer';import{cloneNode as _0x42c65f,isDocument as _0xb67db7,isText as _0x32b9fe,Element as _0x13f08f,Text as _0x520c79,Document as _0x582c80,NodeWithChildren as _0x1d99fe}from'domhandler';export{_0x42c65f as cloneNode,_0x2e89e7 as find,_0x472c11 as findOne,_0x5076dd as findAll,_0x117fec as getChildren,_0x5a7fa3 as getParent,_0x37da2d as isComment,_0xb67db7 as isDocument,_0x3550b5 as isTag,_0x32b9fe as isText,_0x27d03f as append,_0x3dd3a0 as appendChild,_0x28cf6a as prepend,_0x139d22 as prependChild,_0x480b1a as render,_0x1fbf6d as removeElement,_0x25ea77 as replaceElement,_0x14b3ec as textContent,_0x254a83 as hasChildren,_0x13f08f as Element,_0x582c80 as Document,_0x1d99fe as NodeWithChildren,_0x520c79 as Text};export function parse(_0x2585d1){return _0x2ac53f(_0x2585d1);}export function serialize(_0x24453b){return _0x480b1a(_0x24453b);}export function findByAttribute(_0x258da3,_0x5d1f96,_0x2881cb){const _0xa41419=_0x49eb,_0x1c5e1f=null!==_0x5d1f96?_0x500bb0=>_0x500bb0[_0xa41419(0x131)][_0x258da3]===_0x5d1f96:_0x3be81d=>Boolean(_0x3be81d[_0xa41419(0x131)][_0x258da3]);return _0x472c11(_0x264e57=>_0x3550b5(_0x264e57)&&_0x1c5e1f(_0x264e57),_0x2881cb);}function _0x3603(){const _0x2856c0=['34oXvFdq','afterend','1044921xEwbjZ','191324YfuIqp','1207530PScpxo','beforebegin','forEach','108uEcAOy','10960640nfesbC','slice','nextSibling','reverse','beforeend','3924urYGsG','3534FQPAQm','push','attribs','indexOf','5528GhIWqy','map','78265mjIujt','parentNode','replace','cloneNode','afterbegin'];_0x3603=function(){return _0x2856c0;};return _0x3603();}export function findAllByAttribute(_0xbae3ce,_0xe8d9e6,_0x222516){const _0x2ba0d5=_0x49eb,_0xf6d864=null!==_0xe8d9e6?_0x45690c=>_0x45690c[_0x2ba0d5(0x131)][_0xbae3ce]===_0xe8d9e6:_0x4c8716=>Boolean(_0x4c8716[_0x2ba0d5(0x131)][_0xbae3ce]);return _0x5076dd(_0x492643=>_0x3550b5(_0x492643)&&_0xf6d864(_0x492643),_0x222516);}export function findAllComments(_0x22ef4d){return _0x2e89e7(_0x3c287e=>_0x37da2d(_0x3c287e),_0x22ef4d,!0x0,0x1/0x0);}export function getAttribute(_0x164103,_0x25df73){const _0x388449=_0x49eb;return _0x164103&&_0x3550b5(_0x164103)?_0x164103[_0x388449(0x131)][_0x25df73]:null;}export function setAttribute(_0x965995,_0x7ade27,_0x56315f){const _0x31d7bb=_0x49eb;_0x3550b5(_0x965995)&&(null===_0x56315f?delete _0x965995[_0x31d7bb(0x131)][_0x7ade27]:_0x965995[_0x31d7bb(0x131)][_0x7ade27]=_0x56315f);}export function insertElement(_0x45cf3d,_0xea1eac,_0x9591f0){const _0x3d74c8=_0x49eb,_0x80c79f=_0xea1eac[_0x3d74c8(0x138)](!0x0);_0x3d74c8(0x13f)===_0x9591f0?_0x28cf6a(_0x45cf3d,_0x80c79f):_0x3d74c8(0x139)===_0x9591f0?_0x139d22(_0x45cf3d,_0x80c79f):_0x3d74c8(0x12d)===_0x9591f0?_0x3dd3a0(_0x45cf3d,_0x80c79f):_0x3d74c8(0x13b)===_0x9591f0&&_0x27d03f(_0x45cf3d,_0x80c79f);}export function moveElement(_0x180532,_0x23fe26){_0x1fbf6d(_0x180532),_0x25ea77(_0x23fe26,_0x180532);}export function clone(_0x48f763){const _0x54bab4=_0x49eb;return _0x48f763[_0x54bab4(0x138)](!0x0);}function _0x49eb(_0x542124,_0x4863f0){const _0x36033d=_0x3603();return _0x49eb=function(_0x49eb83,_0x40912a){_0x49eb83=_0x49eb83-0x128;let _0x24a977=_0x36033d[_0x49eb83];return _0x24a977;},_0x49eb(_0x542124,_0x4863f0);}export function getParents(_0x49860a){const _0x5a1fba=_0x49eb,_0x154527=[];let _0x185bd1=_0x49860a;for(;_0x185bd1;)_0x185bd1=_0x5a7fa3(_0x185bd1),_0x185bd1&&_0x154527[_0x5a1fba(0x130)](_0x185bd1);return _0x154527;}export function normalizeHTML(_0x595999){const _0x707026=_0x49eb;return _0x595999[_0x707026(0x137)](/^\s+/gm,'')[_0x707026(0x137)](/\s+$/gm,'')[_0x707026(0x137)](/\n*/g,'')[_0x707026(0x137)](/\s+/g,'\x20')[_0x707026(0x137)](/>\s*</g,'><');}export function areNodesSame(_0x495aa2,_0x2de242){return normalizeHTML(serialize(_0x495aa2))===normalizeHTML(serialize(_0x2de242));}export function getNodeNestingLevel(_0x793edc){const _0x1eb61e=_0x49eb;let _0x1f2bee=0x0;for(;_0x793edc[_0x1eb61e(0x136)];)_0x793edc=_0x793edc[_0x1eb61e(0x136)],_0x1f2bee++;return _0x1f2bee;}export function removeElementsAfter(_0x419335){const _0x88f442=_0x49eb,_0x21f3b9=[];let _0x221281=_0x419335[_0x88f442(0x12b)];for(;_0x221281;)_0x21f3b9[_0x88f442(0x130)](_0x221281),_0x221281=_0x221281[_0x88f442(0x12b)];_0x21f3b9[_0x88f442(0x140)](_0x3a2e30=>{_0x1fbf6d(_0x3a2e30);});}export function getNodePath(_0x52452f){const _0xda8a4a=_0x49eb;return[_0x52452f,...getParents(_0x52452f)][_0xda8a4a(0x12a)](0x0,-0x1)[_0xda8a4a(0x134)](_0x2ac248=>{const _0x51aaca=_0xda8a4a,_0x5834a2=_0x5a7fa3(_0x2ac248);return _0x117fec(_0x5834a2)[_0x51aaca(0x132)](_0x2ac248);})[_0xda8a4a(0x12c)]();}
23
+ (function(_0x45da14,_0x25d2f5){const _0x1a7e13=_0x3de1,_0x1edc43=_0x45da14();while(!![]){try{const _0x209cec=-parseInt(_0x1a7e13(0x1d8))/0x1+parseInt(_0x1a7e13(0x1da))/0x2+parseInt(_0x1a7e13(0x1d1))/0x3*(parseInt(_0x1a7e13(0x1d3))/0x4)+-parseInt(_0x1a7e13(0x1d7))/0x5*(-parseInt(_0x1a7e13(0x1d2))/0x6)+-parseInt(_0x1a7e13(0x1d9))/0x7*(-parseInt(_0x1a7e13(0x1ca))/0x8)+-parseInt(_0x1a7e13(0x1e2))/0x9+-parseInt(_0x1a7e13(0x1db))/0xa*(parseInt(_0x1a7e13(0x1cb))/0xb);if(_0x209cec===_0x25d2f5)break;else _0x1edc43['push'](_0x1edc43['shift']());}catch(_0x2742ce){_0x1edc43['push'](_0x1edc43['shift']());}}}(_0x3bd7,0xe463c));import{parseDocument as _0x4c8cc7}from'htmlparser2';import{append as _0x54a5e9,appendChild as _0x3d80f9,find as _0x434452,findAll as _0xa1c0e,findOne as _0x41004f,getChildren as _0x13b4b8,isComment as _0x37b0ef,isTag as _0x3ac049,prepend as _0x47004c,prependChild as _0x34bf9e,removeElement as _0x5e6fe7,replaceElement as _0x161f71,textContent as _0x260e37,getParent as _0x5ade47,hasChildren as _0x159a5d}from'domutils';import _0x497781 from'dom-serializer';import{cloneNode as _0x1f97d4,isDocument as _0x4b8618,isText as _0x38d533,Element as _0x90b494,Text as _0x1fe6b4,Document as _0x5eb30d,NodeWithChildren as _0x1f3b21}from'domhandler';function _0x3de1(_0x35751b,_0x422c64){const _0x3bd7ee=_0x3bd7();return _0x3de1=function(_0x3de1ea,_0x189491){_0x3de1ea=_0x3de1ea-0x1ca;let _0x92d158=_0x3bd7ee[_0x3de1ea];return _0x92d158;},_0x3de1(_0x35751b,_0x422c64);}export{_0x1f97d4 as cloneNode,_0x434452 as find,_0x41004f as findOne,_0xa1c0e as findAll,_0x13b4b8 as getChildren,_0x5ade47 as getParent,_0x37b0ef as isComment,_0x4b8618 as isDocument,_0x3ac049 as isTag,_0x38d533 as isText,_0x54a5e9 as append,_0x3d80f9 as appendChild,_0x47004c as prepend,_0x34bf9e as prependChild,_0x497781 as render,_0x5e6fe7 as removeElement,_0x161f71 as replaceElement,_0x260e37 as textContent,_0x159a5d as hasChildren,_0x90b494 as Element,_0x5eb30d as Document,_0x1f3b21 as NodeWithChildren,_0x1fe6b4 as Text};export function parse(_0x2a0f7f){return _0x4c8cc7(_0x2a0f7f);}export function serialize(_0x339293){return _0x497781(_0x339293);}export function findByAttribute(_0x4529b9,_0x2fc990,_0x362f9f){const _0x10d5f3=_0x3de1,_0x5bc346=null!==_0x2fc990?_0x182880=>_0x182880[_0x10d5f3(0x1d4)][_0x4529b9]===_0x2fc990:_0x3d33ac=>Boolean(_0x3d33ac[_0x10d5f3(0x1d4)][_0x4529b9]);return _0x41004f(_0x45372b=>_0x3ac049(_0x45372b)&&_0x5bc346(_0x45372b),_0x362f9f);}export function findAllByAttribute(_0x1dfe08,_0x28cd61,_0x1902d1){const _0x48bb2b=_0x3de1,_0x4a6c3f=null!==_0x28cd61?_0x2dcf75=>_0x2dcf75[_0x48bb2b(0x1d4)][_0x1dfe08]===_0x28cd61:_0x528284=>Boolean(_0x528284[_0x48bb2b(0x1d4)][_0x1dfe08]);return _0xa1c0e(_0x274349=>_0x3ac049(_0x274349)&&_0x4a6c3f(_0x274349),_0x1902d1);}export function findAllComments(_0x11dc0d){return _0x434452(_0x195843=>_0x37b0ef(_0x195843),_0x11dc0d,!0x0,0x1/0x0);}export function getAttribute(_0x481da7,_0x56c903){const _0x577522=_0x3de1;return _0x481da7&&_0x3ac049(_0x481da7)?_0x481da7[_0x577522(0x1d4)][_0x56c903]:null;}export function setAttribute(_0x3cc5b4,_0x292cfc,_0xb3559d){const _0x136af3=_0x3de1;_0x3ac049(_0x3cc5b4)&&(null===_0xb3559d?delete _0x3cc5b4[_0x136af3(0x1d4)][_0x292cfc]:_0x3cc5b4[_0x136af3(0x1d4)][_0x292cfc]=_0xb3559d);}export function insertElement(_0x4c751d,_0x3f089a,_0x15ad58){const _0x5786dc=_0x3de1,_0x97f9e0=_0x3f089a[_0x5786dc(0x1e3)](!0x0);_0x5786dc(0x1d6)===_0x15ad58?_0x47004c(_0x4c751d,_0x97f9e0):_0x5786dc(0x1d5)===_0x15ad58?_0x34bf9e(_0x4c751d,_0x97f9e0):_0x5786dc(0x1df)===_0x15ad58?_0x3d80f9(_0x4c751d,_0x97f9e0):_0x5786dc(0x1dd)===_0x15ad58&&_0x54a5e9(_0x4c751d,_0x97f9e0);}export function moveElement(_0x5b4076,_0x482ddc){_0x5e6fe7(_0x5b4076),_0x161f71(_0x482ddc,_0x5b4076);}export function clone(_0x25cddf){const _0x3f80a8=_0x3de1;return _0x25cddf[_0x3f80a8(0x1e3)](!0x0);}export function getParents(_0x7696b4){const _0x69887=_0x3de1,_0x5198b9=[];let _0x3097d4=_0x7696b4;for(;_0x3097d4;)_0x3097d4=_0x5ade47(_0x3097d4),_0x3097d4&&_0x5198b9[_0x69887(0x1cf)](_0x3097d4);return _0x5198b9;}export function normalizeHTML(_0x48323e){const _0x2f46db=_0x3de1;return _0x48323e[_0x2f46db(0x1cd)](/^\s+/gm,'')[_0x2f46db(0x1cd)](/\s+$/gm,'')[_0x2f46db(0x1cd)](/\n*/g,'')[_0x2f46db(0x1cd)](/\s+/g,'\x20')[_0x2f46db(0x1cd)](/>\s*</g,'><');}export function areNodesSame(_0x42316a,_0x1f98eb){return normalizeHTML(serialize(_0x42316a))===normalizeHTML(serialize(_0x1f98eb));}function _0x3bd7(){const _0x5e3c93=['84778kfYrpP','7kuMtvF','2432394uUPcnK','10cPsMAE','slice','afterend','reverse','beforeend','forEach','parentNode','8449866FLADbZ','cloneNode','2800352xhwAXf','20218407aZndwM','map','replace','nextSibling','push','indexOf','1521RfEBUr','466866llSAoQ','12076PILeWc','attribs','afterbegin','beforebegin','45RveYOP'];_0x3bd7=function(){return _0x5e3c93;};return _0x3bd7();}export function getNodeNestingLevel(_0x4e8011){const _0x2e7514=_0x3de1;let _0x138ecf=0x0;for(;_0x4e8011[_0x2e7514(0x1e1)];)_0x4e8011=_0x4e8011[_0x2e7514(0x1e1)],_0x138ecf++;return _0x138ecf;}export function removeElementsAfter(_0x1fd62f){const _0x19f743=_0x3de1,_0x189337=[];let _0x4ffc8e=_0x1fd62f[_0x19f743(0x1ce)];for(;_0x4ffc8e;)_0x189337[_0x19f743(0x1cf)](_0x4ffc8e),_0x4ffc8e=_0x4ffc8e[_0x19f743(0x1ce)];_0x189337[_0x19f743(0x1e0)](_0x3cf81b=>{_0x5e6fe7(_0x3cf81b);});}export function getNodePath(_0x3368fa){const _0x544e7a=_0x3de1;return[_0x3368fa,...getParents(_0x3368fa)][_0x544e7a(0x1dc)](0x0,-0x1)[_0x544e7a(0x1cc)](_0x2e5c5b=>{const _0x1b6294=_0x544e7a,_0x538fbf=_0x5ade47(_0x2e5c5b);return _0x13b4b8(_0x538fbf)[_0x1b6294(0x1d0)](_0x2e5c5b);})[_0x544e7a(0x1de)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x501e0d=_0x1374;(function(_0x1e7604,_0x32ac42){const _0x56dcd1=_0x1374,_0x495519=_0x1e7604();while(!![]){try{const _0x353d3a=-parseInt(_0x56dcd1(0xc4))/0x1*(-parseInt(_0x56dcd1(0xb0))/0x2)+parseInt(_0x56dcd1(0xce))/0x3*(-parseInt(_0x56dcd1(0xcd))/0x4)+-parseInt(_0x56dcd1(0xe0))/0x5+parseInt(_0x56dcd1(0xe5))/0x6*(-parseInt(_0x56dcd1(0xda))/0x7)+parseInt(_0x56dcd1(0xe2))/0x8+parseInt(_0x56dcd1(0xcc))/0x9*(-parseInt(_0x56dcd1(0xbe))/0xa)+parseInt(_0x56dcd1(0xe9))/0xb;if(_0x353d3a===_0x32ac42)break;else _0x495519['push'](_0x495519['shift']());}catch(_0x25290f){_0x495519['push'](_0x495519['shift']());}}}(_0x1eb3,0xe4202));import _0x2273f8 from'morphdom';import{NodeWithChildren as _0x5c6cc8,Text as _0x1b5a34,Element as _0x4fdbca,isText as _0x29746e,isDocument as _0x3cc10d,isTag as _0x3b6a99,cloneNode as _0x28d2d0,getChildren as _0x2c2e96,prepend as _0x459e49,removeElement as _0x3c6731,textContent as _0x5e826c,render as _0x4ec64c}from'./htmlparser.js';import{logWarning as _0x56df86}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x501e0d(0xc0)];[_0x501e0d(0xc6)]=!0x1;[_0x501e0d(0xbd)]=null;[_0x501e0d(0xd1)]=[];[_0x501e0d(0xde)]=0x0;[_0x501e0d(0xac)]=null;constructor(_0xcf579d){const _0x50d42a=_0x501e0d;this[_0x50d42a(0xc0)]={'delay':_0xcf579d[_0x50d42a(0xb3)]??0x14,'textNodeStyle':_0xcf579d[_0x50d42a(0xd0)],'onStreamUpdate':_0xcf579d[_0x50d42a(0xe1)]||(()=>{})};}async[_0x501e0d(0xbb)]({document:_0x28aed0,targetElement:_0x1a1759,abortSignal:_0x35bf5b}){const _0x54ad91=_0x501e0d;this[_0x54ad91(0xc6)]&&this[_0x54ad91(0xba)](),_0x35bf5b?.[_0x54ad91(0xb7)](_0x54ad91(0xaf),this[_0x54ad91(0xba)][_0x54ad91(0xae)](this)),this[_0x54ad91(0xbd)]=_0x28d2d0(_0x28aed0,!0x0),this[_0x54ad91(0xd1)]=this[_0x54ad91(0xc2)](),this[_0x54ad91(0xc6)]=!0x0,this[_0x54ad91(0xde)]>this[_0x54ad91(0xd1)][_0x54ad91(0xd2)]&&(_0x56df86(_0x54ad91(0xc7),{'currentIndex':this[_0x54ad91(0xde)],'nodeList':this[_0x54ad91(0xd1)]}),this[_0x54ad91(0xde)]=this[_0x54ad91(0xd1)][_0x54ad91(0xd2)]);for(let _0x18e841=0x0;_0x18e841<this[_0x54ad91(0xde)];_0x18e841++)this[_0x54ad91(0xd1)][_0x18e841][_0x54ad91(0xb9)]=!0x0;let _0x4bda87=0x0;for(let _0x5b4469=this[_0x54ad91(0xde)];_0x5b4469<this[_0x54ad91(0xd1)][_0x54ad91(0xd2)];_0x5b4469++){const _0x19cf71=Date[_0x54ad91(0xb5)](),_0xd2e88d=this[_0x54ad91(0xd1)][_0x5b4469],_0x252afe=_0x19cf71-_0x4bda87;_0xd2e88d[_0x54ad91(0xb9)]=!0x0;let _0x440f10=_0xd2e88d[_0x54ad91(0xd9)];for(;_0x440f10;)_0x440f10[_0x54ad91(0xb9)]=!0x0,_0x440f10=_0x440f10[_0x54ad91(0xd9)];if(_0x252afe<this[_0x54ad91(0xc0)][_0x54ad91(0xb3)])try{const {promise:_0x297670,abortController:_0x5176c8}=mr(this[_0x54ad91(0xc0)][_0x54ad91(0xb3)]-_0x252afe);this[_0x54ad91(0xac)]=_0x5176c8,await _0x297670;}catch(_0x41b548){return;}_0x2273f8(_0x1a1759,'<'+_0x1a1759[_0x54ad91(0xb2)]+'>'+this[_0x54ad91(0xc1)](this[_0x54ad91(0xbd)])+'</'+_0x1a1759[_0x54ad91(0xb2)]+'>',{'childrenOnly':!0x0}),this[_0x54ad91(0xc0)][_0x54ad91(0xe1)]&&this[_0x54ad91(0xc0)][_0x54ad91(0xe1)](),this[_0x54ad91(0xde)]=_0x5b4469,_0x4bda87=Date[_0x54ad91(0xb5)]();}this[_0x54ad91(0xc6)]=!0x1;}[_0x501e0d(0xbf)]({targetElement:_0x58f943}){const _0x12bf73=_0x501e0d;Array[_0x12bf73(0xd8)](_0x58f943[_0x12bf73(0xb4)](_0x12bf73(0xd4)))[_0x12bf73(0xcf)]()[_0x12bf73(0xc5)](_0x358b29=>{const _0x42b998=_0x12bf73;_0x358b29[_0x42b998(0xca)](_0x358b29[_0x42b998(0xc8)][0x0]);});}[_0x501e0d(0xba)](){const _0xb1f8ee=_0x501e0d;this[_0xb1f8ee(0xc6)]=!0x1,this[_0xb1f8ee(0xac)]&&(this[_0xb1f8ee(0xac)][_0xb1f8ee(0xaf)](),this[_0xb1f8ee(0xac)]=null);}[_0x501e0d(0xc1)](_0x3e37d1){const _0x129668=_0x501e0d;let _0x1dc4e8='';if(function(_0x1620f0){return _0x3cc10d(_0x1620f0);}(_0x3e37d1)){for(const _0xd4efc of _0x3e37d1[_0x129668(0xdb)])_0x1dc4e8+=this[_0x129668(0xc1)](_0xd4efc);}else{if(ar(_0x3e37d1)){if(!_0x3e37d1[_0x129668(0xb9)])return'';const _0x1f4e0e=_0x3e37d1,_0xd331bf=Object[_0x129668(0xe8)](_0x1f4e0e[_0x129668(0xdd)])[_0x129668(0xb1)](([_0x13816c,_0x2ff3f4])=>_0x13816c+'=\x22'+_0x2ff3f4+'\x22')[_0x129668(0xe6)]('\x20');_0x1dc4e8+='<'+_0x1f4e0e[_0x129668(0xb2)]+(_0xd331bf?'\x20'+_0xd331bf:'')+'>';for(const _0x5ebb4e of _0x2c2e96(_0x1f4e0e))_0x1dc4e8+=this[_0x129668(0xc1)](_0x5ebb4e);_0x1dc4e8+='</'+_0x1f4e0e[_0x129668(0xb2)]+'>';}else{if(!cr(_0x3e37d1))return'';if(!_0x3e37d1[_0x129668(0xb9)])return'';!function(_0x1392f4){const _0x3247a2=_0x129668;if(!_0x1392f4[_0x3247a2(0xd9)]||!ar(_0x1392f4[_0x3247a2(0xd9)]))return!0x1;if(!hr[_0x3247a2(0xe4)](_0x1392f4[_0x3247a2(0xd9)][_0x3247a2(0xb2)]))return!0x1;return!_0x5e826c(_0x1392f4)[_0x3247a2(0xad)](/^\s*[<>]\s*$/);}(_0x3e37d1)?_0x1dc4e8+=_0x4ec64c(_0x3e37d1):_0x1dc4e8+=_0x4ec64c(new _0x4fdbca(_0x129668(0xc9),{'data-ck-html-streamer-word-chunk':'','style':this[_0x129668(0xc0)][_0x129668(0xd0)]},[_0x3e37d1]));}}return _0x1dc4e8;}[_0x501e0d(0xc2)](){const _0x13b76f=_0x501e0d,_0x3725f0=[];return function(_0x2d40cd,_0x5f5a2c){const _0x6927ae=_0x1374,_0x26c340=_0x4fbc64=>{const _0xd6107d=_0x1374;if(_0x5f5a2c(_0x4fbc64),_0x4fbc64 instanceof _0x5c6cc8)for(let _0x41cf63=0x0;_0x41cf63<_0x4fbc64[_0xd6107d(0xdb)][_0xd6107d(0xd2)];_0x41cf63++){const _0x760741=_0x4fbc64[_0xd6107d(0xdb)][_0x41cf63];_0x26c340(_0x760741);}};for(let _0x551ada=0x0;_0x551ada<_0x2d40cd[_0x6927ae(0xdb)][_0x6927ae(0xd2)];_0x551ada++)_0x26c340(_0x2d40cd[_0x6927ae(0xdb)][_0x551ada]);}(this[_0x13b76f(0xbd)],_0x3e621b=>{const _0x4284f0=_0x13b76f;if(cr(_0x3e621b)){const _0x25b0bf=this[_0x4284f0(0xb6)](_0x3e621b);_0x25b0bf[_0x4284f0(0xd2)]&&_0x3725f0[_0x4284f0(0xe3)](..._0x25b0bf);}_0x3e621b[_0x4284f0(0xc3)]||_0x3e621b[_0x4284f0(0xd3)]||_0x3725f0[_0x4284f0(0xe3)](_0x3e621b);}),_0x3725f0;}[_0x501e0d(0xb6)](_0x4513d1){const _0x516bcb=_0x501e0d;if(_0x4513d1[_0x516bcb(0xc3)]||_0x4513d1[_0x516bcb(0xd3)])return[];const _0xeb099e=_0x5e826c(_0x4513d1)[_0x516bcb(0xad)](/(?:\s*\S+\s*)/g),_0x2dfcc8=[];if(_0xeb099e&&_0xeb099e[_0x516bcb(0xd2)]>0x1){for(const _0x558e23 of _0xeb099e){const _0x459d05=new _0x1b5a34(_0x558e23);_0x459d05[_0x516bcb(0xd3)]=!0x0,_0x459e49(_0x4513d1,_0x459d05),_0x2dfcc8[_0x516bcb(0xe3)](_0x459d05);}_0x4513d1[_0x516bcb(0xc3)]=!0x0,_0x3c6731(_0x4513d1);}return _0x2dfcc8;}}function _0x1eb3(){const _0x44c64c=['document','555590IECRee','cleanUpAnimations','options','renderNode','getParsedDocumentNodeList','isWordSplitSource','2868AGulLb','forEach','isStreaming','html-streamer-current-index-out-of-bounds','childNodes','span','replaceWith','code','9KlKVyH','508GChLwr','12651VpIUoZ','reverse','textNodeStyle','nodesList','length','isWordSplitResult','span[data-ck-html-streamer-word-chunk]','del','sub','ins','from','parent','803866ThtJIF','children','sup','attribs','currentIndex','signal','3721915gZPJBS','onStreamUpdate','10928896uxKOGl','push','includes','18zRKZVx','join','div','entries','1269895SNejSo','timeoutAbortController','match','bind','abort','790KUQPPG','map','tagName','delay','querySelectorAll','now','splitTextNodeIntoWordNodes','addEventListener','strong','shouldBeStreamed','stop','stream','mark'];_0x1eb3=function(){return _0x44c64c;};return _0x1eb3();}function _0x1374(_0x1de599,_0x51bf11){const _0x1eb3e9=_0x1eb3();return _0x1374=function(_0x1374ca,_0x3dca5f){_0x1374ca=_0x1374ca-0xac;let _0xda1aac=_0x1eb3e9[_0x1374ca];return _0xda1aac;},_0x1374(_0x1de599,_0x51bf11);}const hr=['p','li','td','th',_0x501e0d(0xc9),'h1','h2','h3','h4','h5','h6','b',_0x501e0d(0xb8),'i','em',_0x501e0d(0xbc),_0x501e0d(0xd5),_0x501e0d(0xd7),_0x501e0d(0xdc),_0x501e0d(0xd6),'a',_0x501e0d(0xcb),_0x501e0d(0xe7)];function cr(_0x1d8606){return _0x29746e(_0x1d8606);}function ar(_0x1cbbb0){return _0x3b6a99(_0x1cbbb0);}function mr(_0x57275a){const _0x9264a3=new AbortController();return{'promise':new Promise((_0x5b9f4b,_0x492891)=>{const _0x1e2fbf=_0x1374,_0x2f22de=setTimeout(_0x5b9f4b,_0x57275a);_0x9264a3[_0x1e2fbf(0xdf)][_0x1e2fbf(0xb7)](_0x1e2fbf(0xaf),()=>{clearTimeout(_0x2f22de),_0x492891();});}),'abortController':_0x9264a3};}
23
+ const _0x80c624=_0x1b75;(function(_0xa21376,_0x194277){const _0x40f4cc=_0x1b75,_0x15ab72=_0xa21376();while(!![]){try{const _0x4ff36b=parseInt(_0x40f4cc(0xe5))/0x1+-parseInt(_0x40f4cc(0xf5))/0x2*(parseInt(_0x40f4cc(0xc0))/0x3)+-parseInt(_0x40f4cc(0xe4))/0x4*(-parseInt(_0x40f4cc(0xe6))/0x5)+parseInt(_0x40f4cc(0xbf))/0x6+-parseInt(_0x40f4cc(0xde))/0x7+parseInt(_0x40f4cc(0xbc))/0x8*(parseInt(_0x40f4cc(0xc6))/0x9)+-parseInt(_0x40f4cc(0xbe))/0xa*(-parseInt(_0x40f4cc(0xc7))/0xb);if(_0x4ff36b===_0x194277)break;else _0x15ab72['push'](_0x15ab72['shift']());}catch(_0x55986d){_0x15ab72['push'](_0x15ab72['shift']());}}}(_0x2aba,0xaf692));import _0x12e701 from'morphdom';function _0x1b75(_0x3cf300,_0x1f5168){const _0x2abaeb=_0x2aba();return _0x1b75=function(_0x1b7563,_0x4eaff4){_0x1b7563=_0x1b7563-0xb9;let _0xa599f7=_0x2abaeb[_0x1b7563];return _0xa599f7;},_0x1b75(_0x3cf300,_0x1f5168);}import{NodeWithChildren as _0x21585b,Text as _0x17815a,Element as _0x4fa9bd,isText as _0x4d96c0,isDocument as _0x58d3b6,isTag as _0x48fc88,cloneNode as _0x325663,getChildren as _0x495753,prepend as _0x211a38,removeElement as _0x2121bf,textContent as _0x2ff8d2,render as _0x135121}from'./htmlparser.js';import{logWarning as _0x142cbe}from'ckeditor5/src/utils.js';function _0x2aba(){const _0x204316=['delay','document','nodesList','currentIndex','4tnyIwp','268675hBSjgY','1718755lLLvYk','attribs','now','join','tagName','timeoutAbortController','isWordSplitResult','addEventListener','replaceWith','strong','bind','textNodeStyle','stop','html-streamer-current-index-out-of-bounds','getParsedDocumentNodeList','10KEBmVs','code','del','length','sup','16nAKgcT','signal','110eVFUUg','7684164EHQleh','760644QGdUMl','from','shouldBeStreamed','childNodes','entries','onStreamUpdate','4575897qCrUPU','211717lotyrs','isStreaming','querySelectorAll','splitTextNodeIntoWordNodes','options','match','sub','includes','abort','span','ins','isWordSplitSource','parent','children','stream','map','push','renderNode','forEach','reverse','cleanUpAnimations','mark','div','7948367sxyKQu','span[data-ck-html-streamer-word-chunk]'];_0x2aba=function(){return _0x204316;};return _0x2aba();}export class HTMLStreamer{[_0x80c624(0xcb)];[_0x80c624(0xc8)]=!0x1;[_0x80c624(0xe1)]=null;[_0x80c624(0xe2)]=[];[_0x80c624(0xe3)]=0x0;[_0x80c624(0xeb)]=null;constructor(_0x1eaae4){const _0x5c7191=_0x80c624;this[_0x5c7191(0xcb)]={'delay':_0x1eaae4[_0x5c7191(0xe0)]??0x14,'textNodeStyle':_0x1eaae4[_0x5c7191(0xf1)],'onStreamUpdate':_0x1eaae4[_0x5c7191(0xc5)]||(()=>{})};}async[_0x80c624(0xd5)]({document:_0x202088,targetElement:_0xfc9f27,abortSignal:_0x6bbd0}){const _0x11f982=_0x80c624;this[_0x11f982(0xc8)]&&this[_0x11f982(0xf2)](),_0x6bbd0?.[_0x11f982(0xed)](_0x11f982(0xcf),this[_0x11f982(0xf2)][_0x11f982(0xf0)](this)),this[_0x11f982(0xe1)]=_0x325663(_0x202088,!0x0),this[_0x11f982(0xe2)]=this[_0x11f982(0xf4)](),this[_0x11f982(0xc8)]=!0x0,this[_0x11f982(0xe3)]>this[_0x11f982(0xe2)][_0x11f982(0xba)]&&(_0x142cbe(_0x11f982(0xf3),{'currentIndex':this[_0x11f982(0xe3)],'nodeList':this[_0x11f982(0xe2)]}),this[_0x11f982(0xe3)]=this[_0x11f982(0xe2)][_0x11f982(0xba)]);for(let _0x4ed59f=0x0;_0x4ed59f<this[_0x11f982(0xe3)];_0x4ed59f++)this[_0x11f982(0xe2)][_0x4ed59f][_0x11f982(0xc2)]=!0x0;let _0x4774bb=0x0;for(let _0x478605=this[_0x11f982(0xe3)];_0x478605<this[_0x11f982(0xe2)][_0x11f982(0xba)];_0x478605++){const _0x5f20fc=Date[_0x11f982(0xe8)](),_0x100f89=this[_0x11f982(0xe2)][_0x478605],_0x574561=_0x5f20fc-_0x4774bb;_0x100f89[_0x11f982(0xc2)]=!0x0;let _0x23f1d8=_0x100f89[_0x11f982(0xd3)];for(;_0x23f1d8;)_0x23f1d8[_0x11f982(0xc2)]=!0x0,_0x23f1d8=_0x23f1d8[_0x11f982(0xd3)];if(_0x574561<this[_0x11f982(0xcb)][_0x11f982(0xe0)])try{const {promise:_0x38522f,abortController:_0x2ed3b9}=mr(this[_0x11f982(0xcb)][_0x11f982(0xe0)]-_0x574561);this[_0x11f982(0xeb)]=_0x2ed3b9,await _0x38522f;}catch(_0x51040f){return;}_0x12e701(_0xfc9f27,'<'+_0xfc9f27[_0x11f982(0xea)]+'>'+this[_0x11f982(0xd8)](this[_0x11f982(0xe1)])+'</'+_0xfc9f27[_0x11f982(0xea)]+'>',{'childrenOnly':!0x0}),this[_0x11f982(0xcb)][_0x11f982(0xc5)]&&this[_0x11f982(0xcb)][_0x11f982(0xc5)](),this[_0x11f982(0xe3)]=_0x478605,_0x4774bb=Date[_0x11f982(0xe8)]();}this[_0x11f982(0xc8)]=!0x1;}[_0x80c624(0xdb)]({targetElement:_0x443737}){const _0x158334=_0x80c624;Array[_0x158334(0xc1)](_0x443737[_0x158334(0xc9)](_0x158334(0xdf)))[_0x158334(0xda)]()[_0x158334(0xd9)](_0x592209=>{const _0x4efd8c=_0x158334;_0x592209[_0x4efd8c(0xee)](_0x592209[_0x4efd8c(0xc3)][0x0]);});}[_0x80c624(0xf2)](){const _0x20e86a=_0x80c624;this[_0x20e86a(0xc8)]=!0x1,this[_0x20e86a(0xeb)]&&(this[_0x20e86a(0xeb)][_0x20e86a(0xcf)](),this[_0x20e86a(0xeb)]=null);}[_0x80c624(0xd8)](_0x53ec18){const _0x232bcf=_0x80c624;let _0x1f99c4='';if(function(_0x3c95d9){return _0x58d3b6(_0x3c95d9);}(_0x53ec18)){for(const _0x243b78 of _0x53ec18[_0x232bcf(0xd4)])_0x1f99c4+=this[_0x232bcf(0xd8)](_0x243b78);}else{if(ar(_0x53ec18)){if(!_0x53ec18[_0x232bcf(0xc2)])return'';const _0x3f26bd=_0x53ec18,_0x32b272=Object[_0x232bcf(0xc4)](_0x3f26bd[_0x232bcf(0xe7)])[_0x232bcf(0xd6)](([_0x5a5631,_0x12e6af])=>_0x5a5631+'=\x22'+_0x12e6af+'\x22')[_0x232bcf(0xe9)]('\x20');_0x1f99c4+='<'+_0x3f26bd[_0x232bcf(0xea)]+(_0x32b272?'\x20'+_0x32b272:'')+'>';for(const _0x5873d6 of _0x495753(_0x3f26bd))_0x1f99c4+=this[_0x232bcf(0xd8)](_0x5873d6);_0x1f99c4+='</'+_0x3f26bd[_0x232bcf(0xea)]+'>';}else{if(!cr(_0x53ec18))return'';if(!_0x53ec18[_0x232bcf(0xc2)])return'';!function(_0x38ac08){const _0x994496=_0x232bcf;if(!_0x38ac08[_0x994496(0xd3)]||!ar(_0x38ac08[_0x994496(0xd3)]))return!0x1;if(!hr[_0x994496(0xce)](_0x38ac08[_0x994496(0xd3)][_0x994496(0xea)]))return!0x1;return!_0x2ff8d2(_0x38ac08)[_0x994496(0xcc)](/^\s*[<>]\s*$/);}(_0x53ec18)?_0x1f99c4+=_0x135121(_0x53ec18):_0x1f99c4+=_0x135121(new _0x4fa9bd(_0x232bcf(0xd0),{'data-ck-html-streamer-word-chunk':'','style':this[_0x232bcf(0xcb)][_0x232bcf(0xf1)]},[_0x53ec18]));}}return _0x1f99c4;}[_0x80c624(0xf4)](){const _0x3936b6=_0x80c624,_0x58c69a=[];return function(_0x22b2b4,_0x3a010){const _0x1d6521=_0x1b75,_0x1a1234=_0x568ac3=>{const _0x24d653=_0x1b75;if(_0x3a010(_0x568ac3),_0x568ac3 instanceof _0x21585b)for(let _0x1a677a=0x0;_0x1a677a<_0x568ac3[_0x24d653(0xd4)][_0x24d653(0xba)];_0x1a677a++){const _0x365081=_0x568ac3[_0x24d653(0xd4)][_0x1a677a];_0x1a1234(_0x365081);}};for(let _0x115781=0x0;_0x115781<_0x22b2b4[_0x1d6521(0xd4)][_0x1d6521(0xba)];_0x115781++)_0x1a1234(_0x22b2b4[_0x1d6521(0xd4)][_0x115781]);}(this[_0x3936b6(0xe1)],_0x2a714d=>{const _0x458c02=_0x3936b6;if(cr(_0x2a714d)){const _0x32fc18=this[_0x458c02(0xca)](_0x2a714d);_0x32fc18[_0x458c02(0xba)]&&_0x58c69a[_0x458c02(0xd7)](..._0x32fc18);}_0x2a714d[_0x458c02(0xd2)]||_0x2a714d[_0x458c02(0xec)]||_0x58c69a[_0x458c02(0xd7)](_0x2a714d);}),_0x58c69a;}[_0x80c624(0xca)](_0x1f0fec){const _0x27b032=_0x80c624;if(_0x1f0fec[_0x27b032(0xd2)]||_0x1f0fec[_0x27b032(0xec)])return[];const _0x1a798a=_0x2ff8d2(_0x1f0fec)[_0x27b032(0xcc)](/(?:\s*\S+\s*)/g),_0x26b0b1=[];if(_0x1a798a&&_0x1a798a[_0x27b032(0xba)]>0x1){for(const _0x74b085 of _0x1a798a){const _0x1f8cb0=new _0x17815a(_0x74b085);_0x1f8cb0[_0x27b032(0xec)]=!0x0,_0x211a38(_0x1f0fec,_0x1f8cb0),_0x26b0b1[_0x27b032(0xd7)](_0x1f8cb0);}_0x1f0fec[_0x27b032(0xd2)]=!0x0,_0x2121bf(_0x1f0fec);}return _0x26b0b1;}}const hr=['p','li','td','th',_0x80c624(0xd0),'h1','h2','h3','h4','h5','h6','b',_0x80c624(0xef),'i','em',_0x80c624(0xdc),_0x80c624(0xb9),_0x80c624(0xd1),_0x80c624(0xbb),_0x80c624(0xcd),'a',_0x80c624(0xf6),_0x80c624(0xdd)];function cr(_0x415ff6){return _0x4d96c0(_0x415ff6);}function ar(_0x121461){return _0x48fc88(_0x121461);}function mr(_0x5623db){const _0x5eb230=new AbortController();return{'promise':new Promise((_0x4b28bf,_0x235924)=>{const _0x38adc9=_0x1b75,_0x49204f=setTimeout(_0x4b28bf,_0x5623db);_0x5eb230[_0x38adc9(0xbd)][_0x38adc9(0xed)](_0x38adc9(0xcf),()=>{clearTimeout(_0x49204f),_0x235924();});}),'abortController':_0x5eb230};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x36e457=_0x48ae;(function(_0x187f28,_0x5b4ca7){var _0x2d109d=_0x48ae,_0x593002=_0x187f28();while(!![]){try{var _0x34ac7f=parseInt(_0x2d109d(0x123))/0x1*(-parseInt(_0x2d109d(0x127))/0x2)+-parseInt(_0x2d109d(0x121))/0x3+parseInt(_0x2d109d(0x126))/0x4+-parseInt(_0x2d109d(0x12d))/0x5*(parseInt(_0x2d109d(0x12b))/0x6)+-parseInt(_0x2d109d(0x124))/0x7*(-parseInt(_0x2d109d(0x129))/0x8)+-parseInt(_0x2d109d(0x12f))/0x9+parseInt(_0x2d109d(0x12e))/0xa;if(_0x34ac7f===_0x5b4ca7)break;else _0x593002['push'](_0x593002['shift']());}catch(_0x182fac){_0x593002['push'](_0x593002['shift']());}}}(_0x4922,0x75012));import{Plugin as _0x53e895}from'ckeditor5/src/core.js';function _0x48ae(_0x28caf9,_0x1d7543){var _0x49228c=_0x4922();return _0x48ae=function(_0x48ae57,_0x3c990e){_0x48ae57=_0x48ae57-0x121;var _0x5e31f0=_0x49228c[_0x48ae57];return _0x5e31f0;},_0x48ae(_0x28caf9,_0x1d7543);}import{AIToggleButtonUI as _0x1161df}from'./aitogglebutton/aitogglebuttonui.js';function _0x4922(){var _0x2a0300=['10151sHSmXF','3083892XQfTnk','pluginName','3392056mCixwI','4XzvwbT','requires','8uSLcGT','AIEditorIntegration','6078IBeEuS','isOfficialPlugin','4045GQCNVo','14113550RhliVA','7654239ZbRmRe','1591155eimtCz','isPremiumPlugin'];_0x4922=function(){return _0x2a0300;};return _0x4922();}export class AIEditorIntegration extends _0x53e895{static get[_0x36e457(0x128)](){return[_0x1161df];}static get[_0x36e457(0x125)](){var _0x370649=_0x36e457;return _0x370649(0x12a);}static get[_0x36e457(0x12c)](){return!0x0;}static get[_0x36e457(0x122)](){return!0x0;}}
23
+ var _0x51a3df=_0x39bf;(function(_0x5f5d50,_0x1adc45){var _0x44facc=_0x39bf,_0x4d692e=_0x5f5d50();while(!![]){try{var _0x130854=parseInt(_0x44facc(0x9e))/0x1*(parseInt(_0x44facc(0x9c))/0x2)+parseInt(_0x44facc(0x98))/0x3+-parseInt(_0x44facc(0x9b))/0x4+parseInt(_0x44facc(0x9d))/0x5*(parseInt(_0x44facc(0xa3))/0x6)+parseInt(_0x44facc(0xa2))/0x7*(-parseInt(_0x44facc(0x9a))/0x8)+-parseInt(_0x44facc(0x97))/0x9+parseInt(_0x44facc(0xa0))/0xa*(parseInt(_0x44facc(0xa4))/0xb);if(_0x130854===_0x1adc45)break;else _0x4d692e['push'](_0x4d692e['shift']());}catch(_0x42d22b){_0x4d692e['push'](_0x4d692e['shift']());}}}(_0x87ed,0xac91d));function _0x39bf(_0x4a6e7a,_0x5a676b){var _0x87edf9=_0x87ed();return _0x39bf=function(_0x39bfdd,_0x3a7808){_0x39bfdd=_0x39bfdd-0x95;var _0x5ea6e0=_0x87edf9[_0x39bfdd];return _0x5ea6e0;},_0x39bf(_0x4a6e7a,_0x5a676b);}import{Plugin as _0x5a74d9}from'ckeditor5/src/core.js';function _0x87ed(){var _0x30154e=['isOfficialPlugin','4129938TnLVll','2372790zGWCVu','isPremiumPlugin','43128VSpJMW','1782852NPiDpA','6oLefgO','1745paCYRA','361398TQNCkN','AIEditorIntegration','17590CjSelz','requires','1239CYHrEE','7668hivGJF','1529mDjRGA','pluginName'];_0x87ed=function(){return _0x30154e;};return _0x87ed();}import{AIToggleButtonUI as _0xbd9b4d}from'./aitogglebutton/aitogglebuttonui.js';export class AIEditorIntegration extends _0x5a74d9{static get[_0x51a3df(0xa1)](){return[_0xbd9b4d];}static get[_0x51a3df(0x95)](){var _0x395cb7=_0x51a3df;return _0x395cb7(0x9f);}static get[_0x51a3df(0x96)](){return!0x0;}static get[_0x51a3df(0x99)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a71e0=_0x20ed;function _0x20ed(_0x71152a,_0xd65e8){const _0x44af11=_0x44af();return _0x20ed=function(_0x20ed04,_0x1a6aa4){_0x20ed04=_0x20ed04-0x191;let _0x5dd05b=_0x44af11[_0x20ed04];return _0x5dd05b;},_0x20ed(_0x71152a,_0xd65e8);}(function(_0x27dcb5,_0x2f29c5){const _0x426dc7=_0x20ed,_0x45f95f=_0x27dcb5();while(!![]){try{const _0x3a83ba=-parseInt(_0x426dc7(0x1a6))/0x1*(-parseInt(_0x426dc7(0x1a4))/0x2)+-parseInt(_0x426dc7(0x191))/0x3*(parseInt(_0x426dc7(0x1a5))/0x4)+parseInt(_0x426dc7(0x1af))/0x5+-parseInt(_0x426dc7(0x1b0))/0x6*(parseInt(_0x426dc7(0x19f))/0x7)+parseInt(_0x426dc7(0x1ac))/0x8+-parseInt(_0x426dc7(0x19a))/0x9+parseInt(_0x426dc7(0x19c))/0xa;if(_0x3a83ba===_0x2f29c5)break;else _0x45f95f['push'](_0x45f95f['shift']());}catch(_0x3a76db){_0x45f95f['push'](_0x45f95f['shift']());}}}(_0x44af,0xbafbe));import{Plugin as _0x2c77af}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x25d350}from'./toggleaicommand.js';import{ButtonView as _0x12bc6a,MenuBarMenuListItemButtonView as _0x194fb5}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x40c4ea}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x3c8fc0}from'../../aicore/utils/common-translations.js';import{AITabs as _0x3f5d24}from'../../aitabs/aitabs.js';function _0x44af(){const _0x65eb24=['751551keNfJI','isPremiumPlugin','listenTo','menuBar:toggleAi','componentFactory','menuitemcheckbox','3435368lZXXMp','isOfficialPlugin','AIToggleButtonUI','99775NcvXAb','62910oiTMgQ','get','editor','isOn','3AsDcbH','locale','set','value','bind','toggleAi','pluginName','init','AI_TOGGLE_BUTTON_LABEL','11043279pfqPec','requires','21612080UvtqqA','_createAIUIButton','isEnabled','658ZHeIee','add','ck-ai-toggle-button','commands','execute','4KfSFpF','4540716OqKDVr'];_0x44af=function(){return _0x65eb24;};return _0x44af();}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x2c77af{static get[_0x4a71e0(0x19b)](){return[_0x3f5d24];}static get[_0x4a71e0(0x197)](){const _0x58427e=_0x4a71e0;return _0x58427e(0x1ae);}static get[_0x4a71e0(0x1ad)](){return!0x0;}static get[_0x4a71e0(0x1a7)](){return!0x0;}[_0x4a71e0(0x198)](){const _0x3648f5=_0x4a71e0,_0xbb7c42=this[_0x3648f5(0x1b2)];_0xbb7c42[_0x3648f5(0x1a2)][_0x3648f5(0x1a0)](_0x3648f5(0x196),new _0x25d350(_0xbb7c42)),_0xbb7c42['ui'][_0x3648f5(0x1aa)][_0x3648f5(0x1a0)](_0x3648f5(0x196),()=>{const _0x28b7c6=_0x3648f5,_0x18efc9=this[_0x28b7c6(0x19d)](_0x12bc6a);return _0x18efc9[_0x28b7c6(0x193)]({'tooltip':!0x0,'class':_0x28b7c6(0x1a1)}),_0x18efc9;}),_0xbb7c42['ui'][_0x3648f5(0x1aa)][_0x3648f5(0x1a0)](_0x3648f5(0x1a9),()=>{const _0x1172d6=_0x3648f5,_0x4a7614=this[_0x1172d6(0x19d)](_0x194fb5);return _0x4a7614[_0x1172d6(0x193)]({'role':_0x1172d6(0x1ab)}),_0x4a7614;});}[_0x4a71e0(0x19d)](_0xc2ff3d){const _0x2abe5e=_0x4a71e0,_0x10412d=this[_0x2abe5e(0x1b2)],_0x351773=_0x10412d[_0x2abe5e(0x1a2)][_0x2abe5e(0x1b1)](_0x2abe5e(0x196)),_0x2ce6be=new _0xc2ff3d(_0x10412d[_0x2abe5e(0x192)]);return _0x2ce6be[_0x2abe5e(0x193)]({'label':_0x3c8fc0(_0x10412d[_0x2abe5e(0x192)],_0x2abe5e(0x199)),'icon':_0x40c4ea,'isToggleable':!0x0}),_0x2ce6be[_0x2abe5e(0x195)](_0x2abe5e(0x19e))['to'](_0x351773),_0x2ce6be[_0x2abe5e(0x195)](_0x2abe5e(0x1b3))['to'](_0x351773,_0x2abe5e(0x194),_0x3964f3=>!!_0x3964f3),this[_0x2abe5e(0x1a8)](_0x2ce6be,_0x2abe5e(0x1a3),()=>{const _0x2aa71b=_0x2abe5e;_0x351773[_0x2aa71b(0x1a3)]();}),_0x2ce6be;}}
23
+ const _0x22b18d=_0x8ccb;(function(_0x4d9dd1,_0x58188e){const _0x2fbfd1=_0x8ccb,_0x5e801f=_0x4d9dd1();while(!![]){try{const _0x4bd72c=-parseInt(_0x2fbfd1(0x10a))/0x1+-parseInt(_0x2fbfd1(0x112))/0x2+-parseInt(_0x2fbfd1(0x11b))/0x3+parseInt(_0x2fbfd1(0x103))/0x4*(-parseInt(_0x2fbfd1(0x118))/0x5)+parseInt(_0x2fbfd1(0x104))/0x6*(-parseInt(_0x2fbfd1(0x119))/0x7)+parseInt(_0x2fbfd1(0x100))/0x8*(-parseInt(_0x2fbfd1(0x116))/0x9)+-parseInt(_0x2fbfd1(0xfa))/0xa*(-parseInt(_0x2fbfd1(0x109))/0xb);if(_0x4bd72c===_0x58188e)break;else _0x5e801f['push'](_0x5e801f['shift']());}catch(_0x379203){_0x5e801f['push'](_0x5e801f['shift']());}}}(_0x4e06,0xcac37));import{Plugin as _0x26aa0c}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x28966d}from'./toggleaicommand.js';import{ButtonView as _0x15dd45,MenuBarMenuListItemButtonView as _0x12e816}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x5ed52f}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2f32ec}from'../../aicore/utils/common-translations.js';function _0x8ccb(_0x3ea9bf,_0xf4ccd2){const _0x4e06c5=_0x4e06();return _0x8ccb=function(_0x8ccb3c,_0x516a0a){_0x8ccb3c=_0x8ccb3c-0xf9;let _0x33b544=_0x4e06c5[_0x8ccb3c];return _0x33b544;},_0x8ccb(_0x3ea9bf,_0xf4ccd2);}import{AITabs as _0x41c5b2}from'../../aitabs/aitabs.js';function _0x4e06(){const _0x3e0109=['get','306WBNkss','menuitemcheckbox','35285yBrZmt','156149SHdAuC','isOfficialPlugin','1772643ImoJIx','ck-ai-toggle-button','commands','10730120qervJZ','editor','value','bind','pluginName','componentFactory','17304xEAkwm','AI_TOGGLE_BUTTON_LABEL','_createAIUIButton','500jdEcpR','222JXgqCK','execute','isEnabled','toggleAi','isOn','44ZJiIBz','529659jAaxUD','requires','locale','menuBar:toggleAi','isPremiumPlugin','init','AIToggleButtonUI','set','1119926MlrmIA','add','listenTo'];_0x4e06=function(){return _0x3e0109;};return _0x4e06();}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x26aa0c{static get[_0x22b18d(0x10b)](){return[_0x41c5b2];}static get[_0x22b18d(0xfe)](){const _0x2f4c78=_0x22b18d;return _0x2f4c78(0x110);}static get[_0x22b18d(0x11a)](){return!0x0;}static get[_0x22b18d(0x10e)](){return!0x0;}[_0x22b18d(0x10f)](){const _0xf92134=_0x22b18d,_0x450a0f=this[_0xf92134(0xfb)];_0x450a0f[_0xf92134(0xf9)][_0xf92134(0x113)](_0xf92134(0x107),new _0x28966d(_0x450a0f)),_0x450a0f['ui'][_0xf92134(0xff)][_0xf92134(0x113)](_0xf92134(0x107),()=>{const _0x397914=_0xf92134,_0x5a90a4=this[_0x397914(0x102)](_0x15dd45);return _0x5a90a4[_0x397914(0x111)]({'tooltip':!0x0,'class':_0x397914(0x11c)}),_0x5a90a4;}),_0x450a0f['ui'][_0xf92134(0xff)][_0xf92134(0x113)](_0xf92134(0x10d),()=>{const _0x239fd2=_0xf92134,_0x491f67=this[_0x239fd2(0x102)](_0x12e816);return _0x491f67[_0x239fd2(0x111)]({'role':_0x239fd2(0x117)}),_0x491f67;});}[_0x22b18d(0x102)](_0x413b72){const _0x48e28c=_0x22b18d,_0x3b8db4=this[_0x48e28c(0xfb)],_0x40578f=_0x3b8db4[_0x48e28c(0xf9)][_0x48e28c(0x115)](_0x48e28c(0x107)),_0x2da547=new _0x413b72(_0x3b8db4[_0x48e28c(0x10c)]);return _0x2da547[_0x48e28c(0x111)]({'label':_0x2f32ec(_0x3b8db4[_0x48e28c(0x10c)],_0x48e28c(0x101)),'icon':_0x5ed52f,'isToggleable':!0x0}),_0x2da547[_0x48e28c(0xfd)](_0x48e28c(0x106))['to'](_0x40578f),_0x2da547[_0x48e28c(0xfd)](_0x48e28c(0x108))['to'](_0x40578f,_0x48e28c(0xfc),_0x51e6eb=>!!_0x51e6eb),this[_0x48e28c(0x114)](_0x2da547,_0x48e28c(0x105),()=>{const _0x1a7af5=_0x48e28c;_0x40578f[_0x1a7af5(0x105)]();}),_0x2da547;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4199(_0x1862f5,_0x15c1a8){const _0xfb43d6=_0xfb43();return _0x4199=function(_0x41994b,_0x29aa37){_0x41994b=_0x41994b-0x153;let _0x2e8347=_0xfb43d6[_0x41994b];return _0x2e8347;},_0x4199(_0x1862f5,_0x15c1a8);}const _0x461c93=_0x4199;(function(_0x5d708e,_0x3ee1e3){const _0x5a3d7e=_0x4199,_0x28b212=_0x5d708e();while(!![]){try{const _0x2abc14=parseInt(_0x5a3d7e(0x156))/0x1+-parseInt(_0x5a3d7e(0x165))/0x2*(-parseInt(_0x5a3d7e(0x153))/0x3)+parseInt(_0x5a3d7e(0x163))/0x4+-parseInt(_0x5a3d7e(0x15c))/0x5*(-parseInt(_0x5a3d7e(0x157))/0x6)+parseInt(_0x5a3d7e(0x164))/0x7+-parseInt(_0x5a3d7e(0x160))/0x8*(parseInt(_0x5a3d7e(0x159))/0x9)+-parseInt(_0x5a3d7e(0x15f))/0xa;if(_0x2abc14===_0x3ee1e3)break;else _0x28b212['push'](_0x28b212['shift']());}catch(_0x16be21){_0x28b212['push'](_0x28b212['shift']());}}}(_0xfb43,0x7c63f));import{Command as _0x2e2b33}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x2e2b33{constructor(_0x170206){const _0x180343=_0x4199;super(_0x170206);const _0x539690=_0x170206[_0x180343(0x15b)][_0x180343(0x161)](_0x180343(0x166))[_0x180343(0x15a)];this[_0x180343(0x15e)](_0x180343(0x15d))['to'](_0x539690,_0x180343(0x162)),this[_0x180343(0x155)]=!0x0;}[_0x461c93(0x154)](){const _0x1a1c4=_0x461c93,_0x150692=this[_0x1a1c4(0x158)][_0x1a1c4(0x15b)][_0x1a1c4(0x161)](_0x1a1c4(0x166))[_0x1a1c4(0x15a)];_0x150692[_0x1a1c4(0x162)]=!_0x150692[_0x1a1c4(0x162)];}}function _0xfb43(){const _0x13a6e1=['104qWJjDG','get','isVisible','3272176jqDwMm','3993542MexFDJ','2yUlorM','AITabs','1286961QDJTQn','execute','isEnabled','72913lhSoOU','276AJCfxS','editor','400338fDzawe','view','plugins','12145UzLNYo','value','bind','9144150hmJzmM'];_0xfb43=function(){return _0x13a6e1;};return _0xfb43();}
23
+ function _0x3e80(){const _0x3d62ff=['483210ZFcgXx','126500pKvleK','2IaHanj','editor','2105604cyLgsu','isVisible','129147CJVdDT','240maEWDR','isEnabled','view','execute','plugins','value','9MugiVT','8806xmmwCy','20cCuoIW','120CqRGbN','get','31495ULTLOS','165244FmhKkl','AITabs','bind'];_0x3e80=function(){return _0x3d62ff;};return _0x3e80();}const _0x589f0c=_0x6fd7;function _0x6fd7(_0x16789d,_0x1675d3){const _0x3e80c8=_0x3e80();return _0x6fd7=function(_0x6fd723,_0x14b883){_0x6fd723=_0x6fd723-0x1ab;let _0x131ae2=_0x3e80c8[_0x6fd723];return _0x131ae2;},_0x6fd7(_0x16789d,_0x1675d3);}(function(_0x5bb9b5,_0x5baac4){const _0x21b105=_0x6fd7,_0x48a4ba=_0x5bb9b5();while(!![]){try{const _0x24919c=-parseInt(_0x21b105(0x1ac))/0x1*(-parseInt(_0x21b105(0x1be))/0x2)+-parseInt(_0x21b105(0x1b3))/0x3*(-parseInt(_0x21b105(0x1b9))/0x4)+-parseInt(_0x21b105(0x1b8))/0x5*(-parseInt(_0x21b105(0x1b6))/0x6)+parseInt(_0x21b105(0x1b4))/0x7*(parseInt(_0x21b105(0x1ad))/0x8)+-parseInt(_0x21b105(0x1bc))/0x9+-parseInt(_0x21b105(0x1b5))/0xa*(parseInt(_0x21b105(0x1bd))/0xb)+-parseInt(_0x21b105(0x1c0))/0xc;if(_0x24919c===_0x5baac4)break;else _0x48a4ba['push'](_0x48a4ba['shift']());}catch(_0x3e9de0){_0x48a4ba['push'](_0x48a4ba['shift']());}}}(_0x3e80,0x28323));import{Command as _0x26cb5f}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x26cb5f{constructor(_0x1bdfdc){const _0x17cbb1=_0x6fd7;super(_0x1bdfdc);const _0x148f10=_0x1bdfdc[_0x17cbb1(0x1b1)][_0x17cbb1(0x1b7)](_0x17cbb1(0x1ba))[_0x17cbb1(0x1af)];this[_0x17cbb1(0x1bb)](_0x17cbb1(0x1b2))['to'](_0x148f10,_0x17cbb1(0x1ab)),this[_0x17cbb1(0x1ae)]=!0x0;}[_0x589f0c(0x1b0)](){const _0x368944=_0x589f0c,_0x434949=this[_0x368944(0x1bf)][_0x368944(0x1b1)][_0x368944(0x1b7)](_0x368944(0x1ba))[_0x368944(0x1af)];_0x434949[_0x368944(0x1ab)]=!_0x434949[_0x368944(0x1ab)];}}
@@ -202,3 +202,4 @@ export interface AIQuickActionsConfig {
202
202
  export type AICustomQuickActionDefinition = Required<Pick<AIQuickActionDefinition, 'id' | 'displayedPrompt' | 'prompt' | 'type'>> & {
203
203
  requiresContent?: boolean;
204
204
  };
205
+ export type AIQuickActionRequestData = Pick<AIQuickActionDefinition, 'id' | 'displayedPrompt'>;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x35e2de=_0x3d25;(function(_0x8a6289,_0x5ef72a){var _0x308ef5=_0x3d25,_0x3b4db6=_0x8a6289();while(!![]){try{var _0x5006f4=parseInt(_0x308ef5(0x158))/0x1*(parseInt(_0x308ef5(0x15c))/0x2)+parseInt(_0x308ef5(0x155))/0x3+parseInt(_0x308ef5(0x153))/0x4+parseInt(_0x308ef5(0x15e))/0x5*(-parseInt(_0x308ef5(0x14e))/0x6)+parseInt(_0x308ef5(0x15d))/0x7*(parseInt(_0x308ef5(0x160))/0x8)+parseInt(_0x308ef5(0x15f))/0x9+parseInt(_0x308ef5(0x156))/0xa*(-parseInt(_0x308ef5(0x152))/0xb);if(_0x5006f4===_0x5ef72a)break;else _0x3b4db6['push'](_0x3b4db6['shift']());}catch(_0x17d2ee){_0x3b4db6['push'](_0x3b4db6['shift']());}}}(_0x5896,0x99503));import{Plugin as _0x44f4b5}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x35c85d}from'./aiquickactionsui.js';function _0x5896(){var _0x310ccd=['2raBVJw','define','ai.quickActions','pluginName','587562SGcazb','1995581TlVIRh','6770vHWEWu','10708722HJdoUA','16kIXfKo','2796opRVvP','isOfficialPlugin','requires','AIQuickActions','1384647ArZqFP','297992cBoGpL','config','664494wnxHCZ','110nNFRBD','isPremiumPlugin'];_0x5896=function(){return _0x310ccd;};return _0x5896();}function _0x3d25(_0x362e0c,_0x23c215){var _0x58968c=_0x5896();return _0x3d25=function(_0x3d25db,_0x797fe3){_0x3d25db=_0x3d25db-0x14e;var _0x300e88=_0x58968c[_0x3d25db];return _0x300e88;},_0x3d25(_0x362e0c,_0x23c215);}import{AIQuickActionsEditing as _0x26ffe0}from'./aiquickactionsediting.js';export class AIQuickActions extends _0x44f4b5{static get[_0x35e2de(0x150)](){return[_0x35c85d,_0x26ffe0];}static get[_0x35e2de(0x15b)](){var _0xe2fc71=_0x35e2de;return _0xe2fc71(0x151);}static get[_0x35e2de(0x14f)](){return!0x0;}static get[_0x35e2de(0x157)](){return!0x0;}constructor(_0x343538){var _0x101140=_0x35e2de;super(_0x343538),_0x343538[_0x101140(0x154)][_0x101140(0x159)](_0x101140(0x15a),{'extraCommands':[],'removeCommands':[]});}}
23
+ function _0x1f94(_0x12a4a8,_0x451feb){var _0x413fdc=_0x413f();return _0x1f94=function(_0x1f9443,_0x703383){_0x1f9443=_0x1f9443-0x128;var _0xcf09ba=_0x413fdc[_0x1f9443];return _0xcf09ba;},_0x1f94(_0x12a4a8,_0x451feb);}var _0x27f3e1=_0x1f94;(function(_0x47af38,_0x4cd84e){var _0xdbf197=_0x1f94,_0x45b3dc=_0x47af38();while(!![]){try{var _0x178b6b=-parseInt(_0xdbf197(0x12d))/0x1*(parseInt(_0xdbf197(0x132))/0x2)+-parseInt(_0xdbf197(0x139))/0x3+parseInt(_0xdbf197(0x133))/0x4+parseInt(_0xdbf197(0x137))/0x5*(parseInt(_0xdbf197(0x12c))/0x6)+parseInt(_0xdbf197(0x12f))/0x7*(parseInt(_0xdbf197(0x136))/0x8)+parseInt(_0xdbf197(0x135))/0x9+-parseInt(_0xdbf197(0x130))/0xa;if(_0x178b6b===_0x4cd84e)break;else _0x45b3dc['push'](_0x45b3dc['shift']());}catch(_0xf1237c){_0x45b3dc['push'](_0x45b3dc['shift']());}}}(_0x413f,0x62581));import{Plugin as _0x11fa58}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x1bb66c}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x34c4ee}from'./aiquickactionsediting.js';export class AIQuickActions extends _0x11fa58{static get[_0x27f3e1(0x134)](){return[_0x1bb66c,_0x34c4ee];}static get[_0x27f3e1(0x129)](){var _0x42bdcd=_0x27f3e1;return _0x42bdcd(0x138);}static get[_0x27f3e1(0x128)](){return!0x0;}static get[_0x27f3e1(0x12b)](){return!0x0;}constructor(_0x60d61e){var _0x5ae911=_0x27f3e1;super(_0x60d61e),_0x60d61e[_0x5ae911(0x12e)][_0x5ae911(0x12a)](_0x5ae911(0x131),{'extraCommands':[],'removeCommands':[]});}}function _0x413f(){var _0x92419=['define','isPremiumPlugin','42JwbRvW','1VrODvP','config','925519rVQkad','13477810sbWJRh','ai.quickActions','424774WQEdQN','2571200sLXoXw','requires','5375565vdJwfE','40IZHBgv','158645faxDoP','AIQuickActions','480864VUFxMJ','isOfficialPlugin','pluginName'];_0x413f=function(){return _0x92419;};return _0x413f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2ffe(_0x2c232c,_0xb08417){const _0x4d6ac9=_0x4d6a();return _0x2ffe=function(_0x2ffead,_0xdd1ee1){_0x2ffead=_0x2ffead-0x67;let _0x12eb75=_0x4d6ac9[_0x2ffead];return _0x12eb75;},_0x2ffe(_0x2c232c,_0xb08417);}const _0x9e1b0=_0x2ffe;(function(_0x4a2d55,_0x4d344a){const _0x1c71a7=_0x2ffe,_0x5b3981=_0x4a2d55();while(!![]){try{const _0x4a7ff9=-parseInt(_0x1c71a7(0x74))/0x1+-parseInt(_0x1c71a7(0x7e))/0x2+-parseInt(_0x1c71a7(0x76))/0x3+-parseInt(_0x1c71a7(0x73))/0x4*(-parseInt(_0x1c71a7(0x70))/0x5)+-parseInt(_0x1c71a7(0x86))/0x6*(-parseInt(_0x1c71a7(0x75))/0x7)+parseInt(_0x1c71a7(0x84))/0x8+parseInt(_0x1c71a7(0x71))/0x9*(parseInt(_0x1c71a7(0xa1))/0xa);if(_0x4a7ff9===_0x4d344a)break;else _0x5b3981['push'](_0x5b3981['shift']());}catch(_0x30c3b1){_0x5b3981['push'](_0x5b3981['shift']());}}}(_0x4d6a,0xe46a0));function _0x4d6a(){const _0x1fd1e9=['args','setSelection','616446CVoHIV','handleAIReviewAction','ask-ai','AIChat','schema','prompt','9091360Vcosdd','getLimitElement','42ZFlhsZ','view','chat','_handleAIReviewAction','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AITabs','_handleAIActionsActionLabel','has','startConversation','selection','sendMessage','REVIEW','executeAction','type','ACTION','addSelectionToChatContext','parent','ai-quick-actions-plugin-not-found','_handleAIActionsAction','plugins','CHAT','execute','_handleAIChatAction','isCollapsed','change','_expandSelectionIfCollapsed','AIReviewMode','10FIXUjB','other','locale','focusPromptInput','actionName','document','getSelectedBlocks','activateTab','displayedPrompt','editor','icon','log','30425qUNmis','24730479fbOApM','model','48AaNYkb','1683951SjbTaW','505911SpWAdW','4606272RItzjE','AIActions','removeSelectionFromChatContext','get','label','AIChatController'];_0x4d6a=function(){return _0x1fd1e9;};return _0x4d6a();}import{Command as _0x52664a}from'ckeditor5/src/core.js';import{CKEditorError as _0x47afcd,first as _0xbd630b}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x4cfec1}from'./aiquickactionsui.js';import{getTranslation as _0xe764e3}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x52664a{[_0x9e1b0(0x9b)](_0x195a80){const _0x1279dc=_0x9e1b0;switch(_0x195a80[_0x1279dc(0x93)]){case _0x4cfec1[_0x1279dc(0x9a)]:if(!this[_0x1279dc(0x6d)][_0x1279dc(0x99)][_0x1279dc(0x8d)](_0x1279dc(0x81))){const _0x3a86b0=_0xe764e3(this[_0x1279dc(0x6d)][_0x1279dc(0xa3)],_0x1279dc(0x8a),_0x1279dc(0x81));throw new _0x47afcd(_0x1279dc(0x97),this[_0x1279dc(0x6d)],{'errorMessage':_0x3a86b0});}this[_0x1279dc(0x9c)](_0x195a80);break;case _0x4cfec1[_0x1279dc(0x94)]:if(!this[_0x1279dc(0x6d)][_0x1279dc(0x99)][_0x1279dc(0x8d)](_0x1279dc(0x77))){const _0x2641aa=_0xe764e3(this[_0x1279dc(0x6d)][_0x1279dc(0xa3)],_0x1279dc(0x8a),_0x1279dc(0x77));throw new _0x47afcd(_0x1279dc(0x97),this[_0x1279dc(0x6d)],{'errorMessage':_0x2641aa});}this[_0x1279dc(0x98)](_0x195a80);break;case _0x4cfec1[_0x1279dc(0x91)]:if(!this[_0x1279dc(0x6d)][_0x1279dc(0x99)][_0x1279dc(0x8d)](_0x1279dc(0xa0))){const _0x5d938c=_0xe764e3(this[_0x1279dc(0x6d)][_0x1279dc(0xa3)],_0x1279dc(0x8a),_0x1279dc(0xa0));throw new _0x47afcd(_0x1279dc(0x97),this[_0x1279dc(0x6d)],{'errorMessage':_0x5d938c});}this[_0x1279dc(0x89)](_0x195a80);}}async[_0x9e1b0(0x9c)](_0x41fcac){const _0x318d56=_0x9e1b0,_0x5075aa=this[_0x318d56(0x6d)][_0x318d56(0x99)][_0x318d56(0x79)](_0x318d56(0x81)),_0x58d143=this[_0x318d56(0x6d)][_0x318d56(0x99)][_0x318d56(0x79)](_0x318d56(0x7b));if(this[_0x318d56(0x6d)][_0x318d56(0x99)][_0x318d56(0x79)](_0x318d56(0x8b))[_0x318d56(0x87)][_0x318d56(0x6b)](_0x318d56(0x88)),_0x318d56(0x80)===_0x41fcac['id'])_0x58d143[_0x318d56(0x78)](),this[_0x318d56(0x9f)](),await _0x5075aa[_0x318d56(0x95)](),_0x5075aa[_0x318d56(0x67)]();else await _0x5075aa[_0x318d56(0x8e)](),await _0x5075aa[_0x318d56(0x95)](),await _0x5075aa[_0x318d56(0x90)]({'message':_0x41fcac[_0x318d56(0x83)]||_0x41fcac[_0x318d56(0x6c)],'quickActionData':{'id':_0x41fcac['id'],'displayedPrompt':_0x41fcac[_0x318d56(0x6c)]}});}[_0x9e1b0(0x9f)](){const _0xe8d5c2=_0x9e1b0,_0x3b4390=this[_0xe8d5c2(0x6d)],_0x316f67=_0x3b4390[_0xe8d5c2(0x72)][_0xe8d5c2(0x69)][_0xe8d5c2(0x8f)];if(!_0x316f67[_0xe8d5c2(0x9d)])return;const _0x303a40=_0xbd630b(_0x316f67[_0xe8d5c2(0x6a)]())||_0x3b4390[_0xe8d5c2(0x72)][_0xe8d5c2(0x82)][_0xe8d5c2(0x85)](_0x316f67);_0x3b4390[_0xe8d5c2(0x72)][_0xe8d5c2(0x9e)](_0xe4881c=>{const _0x4cea31=_0xe8d5c2;_0xe4881c[_0x4cea31(0x7d)](_0x303a40,'in');});}[_0x9e1b0(0x8c)](_0x6b2496){const _0x33fb63=_0x9e1b0;return _0x6b2496[_0x33fb63(0x96)]?.[_0x33fb63(0x7a)]&&_0x33fb63(0xa2)!==_0x6b2496[_0x33fb63(0x96)]?.['id']?_0x6b2496[_0x33fb63(0x96)][_0x33fb63(0x7a)]+':\x20'+_0x6b2496[_0x33fb63(0x6c)]:_0x6b2496[_0x33fb63(0x6c)];}async[_0x9e1b0(0x98)](_0x126a2c){const _0x4cb9ff=_0x9e1b0,_0x176964=this[_0x4cb9ff(0x6d)][_0x4cb9ff(0x99)][_0x4cb9ff(0x79)](_0x4cb9ff(0x77)),_0x646c=_0x126a2c[_0x4cb9ff(0x83)]?{'userMessage':_0x126a2c[_0x4cb9ff(0x83)],'model':_0x126a2c[_0x4cb9ff(0x72)]}:{'actionName':_0x126a2c[_0x4cb9ff(0x68)]||_0x126a2c['id'],'args':_0x126a2c[_0x4cb9ff(0x7c)]},_0x17e914=this[_0x4cb9ff(0x8c)](_0x126a2c);await _0x176964[_0x4cb9ff(0x92)](_0x646c,_0x17e914,_0x126a2c[_0x4cb9ff(0x6e)]);}async[_0x9e1b0(0x89)](_0x3fbf79){const _0x3eb2fd=_0x9e1b0;console[_0x3eb2fd(0x6f)](_0x3eb2fd(0x7f),_0x3fbf79);}}
23
+ const _0x568fe5=_0x1e2f;(function(_0x516fcc,_0x516afa){const _0x1c45c4=_0x1e2f,_0x45dc07=_0x516fcc();while(!![]){try{const _0xfe3df9=-parseInt(_0x1c45c4(0x148))/0x1+-parseInt(_0x1c45c4(0x118))/0x2*(parseInt(_0x1c45c4(0x13f))/0x3)+-parseInt(_0x1c45c4(0x132))/0x4*(parseInt(_0x1c45c4(0x137))/0x5)+-parseInt(_0x1c45c4(0x116))/0x6*(parseInt(_0x1c45c4(0x134))/0x7)+parseInt(_0x1c45c4(0x11e))/0x8*(parseInt(_0x1c45c4(0x12d))/0x9)+-parseInt(_0x1c45c4(0x120))/0xa+parseInt(_0x1c45c4(0x121))/0xb;if(_0xfe3df9===_0x516afa)break;else _0x45dc07['push'](_0x45dc07['shift']());}catch(_0x240091){_0x45dc07['push'](_0x45dc07['shift']());}}}(_0x8402,0x22602));import{Command as _0xbda9ef}from'ckeditor5/src/core.js';import{CKEditorError as _0x534e13,first as _0x3f5fa2}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x4a5a5d}from'./aiquickactionsui.js';function _0x1e2f(_0x550c77,_0xad2946){const _0x8402a2=_0x8402();return _0x1e2f=function(_0x1e2f2c,_0x4d81ba){_0x1e2f2c=_0x1e2f2c-0x116;let _0x32f5a4=_0x8402a2[_0x1e2f2c];return _0x32f5a4;},_0x1e2f(_0x550c77,_0xad2946);}import{getTranslation as _0x5b9472}from'../aicore/utils/common-translations.js';function _0x8402(){const _0x52c4f2=['focusPromptInput','56NgQVsm','activateTab','AIActions','35ofqxGz','getLimitElement','_expandSelectionIfCollapsed','AIChatController','execute','AITabs','parent','removeSelectionFromChatContext','3VynnTm','isCollapsed','ACTION','startConversation','label','_handleAIActionsActionLabel','CHAT','handleAIReviewAction','getSelectedBlocks','222815GWhkfV','change','_handleAIChatAction','ask-ai','model','log','executeAction','prompt','AIReviewMode','document','AIChat','addSelectionToChatContext','72714vEFCDu','get','380664afPLPZ','schema','view','locale','REVIEW','_handleAIActionsAction','67520LhJiGq','selection','204900YRLswF','9109892YcZxGM','_handleAIReviewAction','sendMessage','type','ai-quick-actions-plugin-not-found','actionName','editor','chat','setSelection','plugins','other','has','72sZpAXY','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','args','displayedPrompt','icon','128172JhINob'];_0x8402=function(){return _0x52c4f2;};return _0x8402();}export class AIQuickActionsCommand extends _0xbda9ef{[_0x568fe5(0x13b)](_0x422c06){const _0x9b9477=_0x568fe5;switch(_0x422c06[_0x9b9477(0x124)]){case _0x4a5a5d[_0x9b9477(0x145)]:if(!this[_0x9b9477(0x127)][_0x9b9477(0x12a)][_0x9b9477(0x12c)](_0x9b9477(0x152))){const _0x13a3a0=_0x5b9472(this[_0x9b9477(0x127)][_0x9b9477(0x11b)],_0x9b9477(0x12e),_0x9b9477(0x152));throw new _0x534e13(_0x9b9477(0x125),this[_0x9b9477(0x127)],{'errorMessage':_0x13a3a0});}this[_0x9b9477(0x14a)](_0x422c06);break;case _0x4a5a5d[_0x9b9477(0x141)]:if(!this[_0x9b9477(0x127)][_0x9b9477(0x12a)][_0x9b9477(0x12c)](_0x9b9477(0x136))){const _0x4ed41b=_0x5b9472(this[_0x9b9477(0x127)][_0x9b9477(0x11b)],_0x9b9477(0x12e),_0x9b9477(0x136));throw new _0x534e13(_0x9b9477(0x125),this[_0x9b9477(0x127)],{'errorMessage':_0x4ed41b});}this[_0x9b9477(0x11d)](_0x422c06);break;case _0x4a5a5d[_0x9b9477(0x11c)]:if(!this[_0x9b9477(0x127)][_0x9b9477(0x12a)][_0x9b9477(0x12c)](_0x9b9477(0x150))){const _0x559f14=_0x5b9472(this[_0x9b9477(0x127)][_0x9b9477(0x11b)],_0x9b9477(0x12e),_0x9b9477(0x150));throw new _0x534e13(_0x9b9477(0x125),this[_0x9b9477(0x127)],{'errorMessage':_0x559f14});}this[_0x9b9477(0x122)](_0x422c06);}}async[_0x568fe5(0x14a)](_0x40f8d5){const _0x470527=_0x568fe5,_0x3dfaf5=this[_0x470527(0x127)][_0x470527(0x12a)][_0x470527(0x117)](_0x470527(0x152)),_0x1ef823=this[_0x470527(0x127)][_0x470527(0x12a)][_0x470527(0x117)](_0x470527(0x13a));if(this[_0x470527(0x127)][_0x470527(0x12a)][_0x470527(0x117)](_0x470527(0x13c))[_0x470527(0x11a)][_0x470527(0x135)](_0x470527(0x128)),_0x470527(0x14b)===_0x40f8d5['id'])_0x1ef823[_0x470527(0x13e)](),this[_0x470527(0x139)](),await _0x3dfaf5[_0x470527(0x153)](),_0x3dfaf5[_0x470527(0x133)]();else await _0x3dfaf5[_0x470527(0x142)](),await _0x3dfaf5[_0x470527(0x153)](),await _0x3dfaf5[_0x470527(0x123)]({'message':_0x40f8d5[_0x470527(0x14f)]||_0x40f8d5[_0x470527(0x130)],'quickActionData':{'id':_0x40f8d5['id'],'displayedPrompt':_0x40f8d5[_0x470527(0x130)]}});}[_0x568fe5(0x139)](){const _0x333eba=_0x568fe5,_0x4cc7f0=this[_0x333eba(0x127)],_0x4f5c14=_0x4cc7f0[_0x333eba(0x14c)][_0x333eba(0x151)][_0x333eba(0x11f)];if(!_0x4f5c14[_0x333eba(0x140)])return;const _0x4cd8f7=_0x3f5fa2(_0x4f5c14[_0x333eba(0x147)]())||_0x4cc7f0[_0x333eba(0x14c)][_0x333eba(0x119)][_0x333eba(0x138)](_0x4f5c14);_0x4cc7f0[_0x333eba(0x14c)][_0x333eba(0x149)](_0x41c0ee=>{const _0x181814=_0x333eba;_0x41c0ee[_0x181814(0x129)](_0x4cd8f7,'in');});}[_0x568fe5(0x144)](_0x7e2ab){const _0x24b841=_0x568fe5;return _0x7e2ab[_0x24b841(0x13d)]?.[_0x24b841(0x143)]&&_0x24b841(0x12b)!==_0x7e2ab[_0x24b841(0x13d)]?.['id']?_0x7e2ab[_0x24b841(0x13d)][_0x24b841(0x143)]+':\x20'+_0x7e2ab[_0x24b841(0x130)]:_0x7e2ab[_0x24b841(0x130)];}async[_0x568fe5(0x11d)](_0x6fdb95){const _0x5ae3a4=_0x568fe5,_0x212bb4=this[_0x5ae3a4(0x127)][_0x5ae3a4(0x12a)][_0x5ae3a4(0x117)](_0x5ae3a4(0x136)),_0x481018=_0x6fdb95[_0x5ae3a4(0x14f)]?{'userMessage':_0x6fdb95[_0x5ae3a4(0x14f)],'model':_0x6fdb95[_0x5ae3a4(0x14c)]}:{'actionName':_0x6fdb95[_0x5ae3a4(0x126)]||_0x6fdb95['id'],'args':_0x6fdb95[_0x5ae3a4(0x12f)]},_0x1a8da6=this[_0x5ae3a4(0x144)](_0x6fdb95);await _0x212bb4[_0x5ae3a4(0x14e)](_0x481018,_0x1a8da6,_0x6fdb95[_0x5ae3a4(0x131)]);}async[_0x568fe5(0x122)](_0xa4a122){const _0x35bdd2=_0x568fe5;console[_0x35bdd2(0x14d)](_0x35bdd2(0x146),_0xa4a122);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd732d5=_0x2074;(function(_0x563302,_0x3ec60d){const _0x87dc5e=_0x2074,_0x2f10a3=_0x563302();while(!![]){try{const _0x5b1283=parseInt(_0x87dc5e(0xa2))/0x1*(-parseInt(_0x87dc5e(0xa3))/0x2)+-parseInt(_0x87dc5e(0x8d))/0x3*(-parseInt(_0x87dc5e(0xa7))/0x4)+parseInt(_0x87dc5e(0x8f))/0x5+-parseInt(_0x87dc5e(0x97))/0x6+parseInt(_0x87dc5e(0xa1))/0x7*(-parseInt(_0x87dc5e(0x9e))/0x8)+-parseInt(_0x87dc5e(0x96))/0x9+parseInt(_0x87dc5e(0x92))/0xa*(parseInt(_0x87dc5e(0x9b))/0xb);if(_0x5b1283===_0x3ec60d)break;else _0x2f10a3['push'](_0x2f10a3['shift']());}catch(_0x3a7995){_0x2f10a3['push'](_0x2f10a3['shift']());}}}(_0x40d4,0x60bea));function _0x40d4(){const _0x26780b=['model','5569821XZLknN','927576KDMkHE','pluginName','isPremiumPlugin','change:range','7099499bKJGlf','isOfficialPlugin','selection','744JmMyMg','commands','add','6657ZJRDIs','3ttLUWn','30398TokhZx','has','aiQuickAction','init','1668xNInrp','get','plugins','editor','4197RtiFBV','AIQuickActionsEditing','374895DohPvh','AIChat','directChange','10iqBdto','removeSelectionFromChatContext','document'];_0x40d4=function(){return _0x26780b;};return _0x40d4();}function _0x2074(_0x5ae829,_0x2adedb){const _0x40d4c6=_0x40d4();return _0x2074=function(_0x20742f,_0xc608c5){_0x20742f=_0x20742f-0x8c;let _0x24a934=_0x40d4c6[_0x20742f];return _0x24a934;},_0x2074(_0x5ae829,_0x2adedb);}import{Plugin as _0x434203}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x23b2dc}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x434203{static get[_0xd732d5(0x98)](){const _0x2a0e08=_0xd732d5;return _0x2a0e08(0x8e);}static get[_0xd732d5(0x9c)](){return!0x0;}static get[_0xd732d5(0x99)](){return!0x0;}[_0xd732d5(0xa6)](){const _0x554ec4=_0xd732d5,_0x322db0=this[_0x554ec4(0x8c)],_0x3d7a8d=new _0x23b2dc(this[_0x554ec4(0x8c)]);if(_0x322db0[_0x554ec4(0x9f)][_0x554ec4(0xa0)](_0x554ec4(0xa5),_0x3d7a8d),_0x322db0[_0x554ec4(0xa9)][_0x554ec4(0xa4)](_0x554ec4(0x90))){const _0x1aa330=this[_0x554ec4(0x8c)][_0x554ec4(0xa9)][_0x554ec4(0xa8)](_0x554ec4(0x90));_0x322db0[_0x554ec4(0x95)][_0x554ec4(0x94)][_0x554ec4(0x9d)]['on'](_0x554ec4(0x9a),(_0x1148d2,_0x284341)=>{const _0x504d3f=_0x554ec4;_0x284341[_0x504d3f(0x91)]&&_0x1aa330[_0x504d3f(0x93)]();});}}}
23
+ function _0x17b8(){const _0x12582d=['change:range','commands','add','isOfficialPlugin','219694TBbfiJ','isPremiumPlugin','AIQuickActionsEditing','init','model','93xaFzVA','106566JCSzpm','12FfCoyV','3856908FsjjUJ','aiQuickAction','pluginName','document','384lnNrYL','17662610FfBTCy','get','574870HdEFCz','directChange','editor','has','156863yETgkr','56jrkLmh','44sSPoiQ','AIChat','removeSelectionFromChatContext','557343phSuaJ','selection','plugins'];_0x17b8=function(){return _0x12582d;};return _0x17b8();}const _0x259a14=_0x40b4;(function(_0x47896e,_0x3b23ac){const _0x3aa363=_0x40b4,_0x501e7a=_0x47896e();while(!![]){try{const _0x25b1b6=parseInt(_0x3aa363(0x7c))/0x1+parseInt(_0x3aa363(0x82))/0x2*(-parseInt(_0x3aa363(0x81))/0x3)+-parseInt(_0x3aa363(0x83))/0x4*(-parseInt(_0x3aa363(0x6c))/0x5)+parseInt(_0x3aa363(0x69))/0x6*(-parseInt(_0x3aa363(0x70))/0x7)+-parseInt(_0x3aa363(0x71))/0x8*(-parseInt(_0x3aa363(0x75))/0x9)+parseInt(_0x3aa363(0x6a))/0xa+-parseInt(_0x3aa363(0x72))/0xb*(-parseInt(_0x3aa363(0x84))/0xc);if(_0x25b1b6===_0x3b23ac)break;else _0x501e7a['push'](_0x501e7a['shift']());}catch(_0x1e8c43){_0x501e7a['push'](_0x501e7a['shift']());}}}(_0x17b8,0xeb5d5));import{Plugin as _0x244b7c}from'ckeditor5/src/core.js';function _0x40b4(_0x369f45,_0x135149){const _0x17b885=_0x17b8();return _0x40b4=function(_0x40b4b2,_0x1c8711){_0x40b4b2=_0x40b4b2-0x67;let _0x3efb7b=_0x17b885[_0x40b4b2];return _0x3efb7b;},_0x40b4(_0x369f45,_0x135149);}import{AIQuickActionsCommand as _0x3f46e9}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x244b7c{static get[_0x259a14(0x67)](){const _0x1f5eeb=_0x259a14;return _0x1f5eeb(0x7e);}static get[_0x259a14(0x7b)](){return!0x0;}static get[_0x259a14(0x7d)](){return!0x0;}[_0x259a14(0x7f)](){const _0x399f56=_0x259a14,_0x31518e=this[_0x399f56(0x6e)],_0x1fd7ef=new _0x3f46e9(this[_0x399f56(0x6e)]);if(_0x31518e[_0x399f56(0x79)][_0x399f56(0x7a)](_0x399f56(0x85),_0x1fd7ef),_0x31518e[_0x399f56(0x77)][_0x399f56(0x6f)](_0x399f56(0x73))){const _0x520d69=this[_0x399f56(0x6e)][_0x399f56(0x77)][_0x399f56(0x6b)](_0x399f56(0x73));_0x31518e[_0x399f56(0x80)][_0x399f56(0x68)][_0x399f56(0x76)]['on'](_0x399f56(0x78),(_0x5c4d97,_0x3f3edd)=>{const _0x3c32ca=_0x399f56;_0x3f3edd[_0x3c32ca(0x6d)]&&_0x520d69[_0x3c32ca(0x74)]();});}}}
@@ -2,6 +2,9 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
+ import { Plugin } from 'ckeditor5/src/core.js';
6
+ import { type Locale } from 'ckeditor5/src/utils.js';
7
+ import { BalloonToolbar } from 'ckeditor5/src/ui.js';
5
8
  import '../../theme/aiquickactions/aiquickactions.css';
6
9
  /**
7
10
  * Defines the different types of AI quick actions available in the editor.
@@ -30,6 +33,52 @@ export declare enum AIQuickActionTypeToPluginName {
30
33
  ACTION = "AIActions",
31
34
  REVIEW = "AIReviewMode"
32
35
  }
36
+ /**
37
+ * UI plugin for AI Quick Actions that provides a set of predefined AI-powered tools.
38
+ *
39
+ * This plugin manages the creation and configuration of AI quick action buttons and dropdowns
40
+ * in the editor's toolbar. It handles both individual actions and grouped actions, automatically
41
+ * filtering based on available plugins and creating the appropriate UI components.
42
+ *
43
+ * The plugin supports three types of AI actions:
44
+ * - AICHAT: Opens interactive AI chat interface
45
+ * - AIACTIONS: Shows results in inline balloon popups
46
+ * - REVIEW: Opens detailed AI review interface
47
+ */
48
+ export declare class AIQuickActionsUI extends Plugin {
49
+ /**
50
+ * @inheritDoc
51
+ */
52
+ static get requires(): readonly [typeof BalloonToolbar];
53
+ /**
54
+ * @inheritDoc
55
+ */
56
+ static get pluginName(): "AIQuickActionsUI";
57
+ /**
58
+ * @inheritDoc
59
+ */
60
+ static get isOfficialPlugin(): true;
61
+ /**
62
+ * @inheritDoc
63
+ */
64
+ static get isPremiumPlugin(): true;
65
+ /**
66
+ * Initializes the AI Quick Actions UI plugin.
67
+ *
68
+ * Sets up the default quick actions configuration and creates all necessary
69
+ * UI components and commands for the quick actions functionality.
70
+ *
71
+ * @inheritDoc
72
+ */
73
+ init(): void;
74
+ /**
75
+ * Returns the default quick actions configuration.
76
+ *
77
+ * @param locale The editor's locale for text translation
78
+ * @returns Array of quick action definitions and groups
79
+ */
80
+ static getDefaultQuickActions(locale: Locale): Array<AIQuickActionsGroupDefinition | AIQuickActionDefinition>;
81
+ }
33
82
  /**
34
83
  * Defines a group of related AI quick actions that appear together in a dropdown.
35
84
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x10a1(){const _0x2ee80c=['_initializeQuickActionsComponentsAndCommands','componentFactory','translate-to-chinese','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_ASK_AI','set','add','AI_QUICK_ACTIONS_OTHER','139528yOQWvo','AI_QUICK_ACTIONS_MORE_FRIENDLY','getDefaultQuickActions','find','CHAT','uiLanguage','editing','menu','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_shouldIncludeAction','make-tone-confident','attachToDom','47948OpEztJ','AI_QUICK_ACTIONS_MORE_CONFIDENT','1364010dchAwN','558366eNUTvc','init','_initializeQuickActionsDropdown','69820oxpScI','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','english','ask-ai','translate-to-spanish','includes','adjust-length','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','type','displayedPrompt','<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>','explain','make-shorter','make-tone-friendly','highlight-key-points','plugins','AIQuickActionsUI','length','isPremiumPlugin','chinese','menuBarView','icon','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','aiQuickActions','view','AIChat','translate-to-german','fix-grammar','other','change-tone','translate','language','push','319ILaCEH','pluginName','<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_CONTINUE_WRITING','ai.quickActions.extraCommands','_prepareQuickActionsDefinition','replace','make-tone-direct','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','translate-to-korean','summarize','get','translate-to-italian','close','menuBar:aiQuickActions','children','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','make-tone-casual','spanish','portuguese','_getDefaultAndCustomActions','isOfficialPlugin','actions','2oPnOeB','AI_QUICK_ACTIONS_MORE_DIRECT','some','filter','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AIActions','translate-to-japanese','make-longer','buttonView','make-tone-professional','ACTION','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE','DisplayNames','japanese','russian','AI_QUICK_ACTIONS_MORE_CASUAL','AIReviewMode','AI_QUICK_ACTIONS_CHANGE_TONE','items','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','locale','chat-commands','continue','commands','_executeQuickAction','korean','English','1179150TYWVfj','values','translate-to-portuguese','italian','execute','translate-to-french','panelView','requires','AI_QUICK_ACTIONS_SUMMARIZE','translate-to-english','focus','forEach','label','map','_initializeQuickActionsComponents','translate-to-russian','AI_QUICK_ACTIONS_MAKE_SHORTER','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','config','delegate','french','improve-writing','81895maLsKI','has','_quickActionsDefinition','aiQuickAction','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_ADJUST_LENGTH','editor','menuitem','german','90TLqaOU','<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_IMPROVE_WRITING','4uXKSVS','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_CHAT_COMMANDS','ai.quickActions.removeCommands','REVIEW'];_0x10a1=function(){return _0x2ee80c;};return _0x10a1();}const _0x1743f1=_0x4bb3;(function(_0x13f366,_0x4f5179){const _0x3287b0=_0x4bb3,_0x566bc0=_0x13f366();while(!![]){try{const _0x36a807=-parseInt(_0x3287b0(0x14c))/0x1+-parseInt(_0x3287b0(0x18a))/0x2*(-parseInt(_0x3287b0(0x14f))/0x3)+-parseInt(_0x3287b0(0x130))/0x4*(parseInt(_0x3287b0(0x124))/0x5)+parseInt(_0x3287b0(0x14e))/0x6+parseInt(_0x3287b0(0x10d))/0x7+-parseInt(_0x3287b0(0x140))/0x8*(parseInt(_0x3287b0(0x12d))/0x9)+-parseInt(_0x3287b0(0x152))/0xa*(parseInt(_0x3287b0(0x173))/0xb);if(_0x36a807===_0x4f5179)break;else _0x566bc0['push'](_0x566bc0['shift']());}catch(_0x548cde){_0x566bc0['push'](_0x566bc0['shift']());}}}(_0x10a1,0x22594));import{IconAIAdjustLength as _0x53f75f,IconAIAskAI as _0x9aa5ff,IconAIChangeTone as _0x42b7cf,IconAIChatCommands as _0x23f44c,IconAIContinueWriting as _0x1d11f3,IconAIGrammarCheck as _0x3e4b95,IconAIImproveWriting as _0x15188f,IconAIOther as _0x32025e,IconAIQuickActions as _0xc71bed,IconAITranslate as _0x39e7d4}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x460787}from'ckeditor5/src/core.js';function _0x4bb3(_0x4dd38e,_0x3d2811){const _0x10a180=_0x10a1();return _0x4bb3=function(_0x4bb375,_0x320752){_0x4bb375=_0x4bb375-0x10a;let _0x379a98=_0x10a180[_0x4bb375];return _0x379a98;},_0x4bb3(_0x4dd38e,_0x3d2811);}import{getTranslation as _0x57e1a1}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4370f8}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x321dff}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x36a397,BalloonToolbar as _0x374b5e,MenuBarMenuView as _0x9fd362,MenuBarMenuListView as _0xae30bf,MenuBarMenuListItemView as _0x2e0f7c,MenuBarMenuListItemButtonView as _0x3c7306}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Wt=_0x1743f1(0x15c),Bt=_0x1743f1(0x175),Jt=_0x1743f1(0x12e);export var AIQuickActionType;!function(_0x32e2b9){const _0x41d099=_0x1743f1;_0x32e2b9[_0x41d099(0x144)]=_0x41d099(0x144),_0x32e2b9[_0x41d099(0x194)]=_0x41d099(0x194),_0x32e2b9[_0x41d099(0x135)]=_0x41d099(0x135);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x571a86){const _0x455f9b=_0x1743f1;_0x571a86[_0x455f9b(0x144)]=_0x455f9b(0x16b),_0x571a86[_0x455f9b(0x194)]=_0x455f9b(0x18f),_0x571a86[_0x455f9b(0x135)]=_0x455f9b(0x19b);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x460787{static get[_0x1743f1(0x114)](){return[_0x374b5e];}static get[_0x1743f1(0x174)](){const _0x21949e=_0x1743f1;return _0x21949e(0x162);}static get[_0x1743f1(0x188)](){return!0x0;}static get[_0x1743f1(0x164)](){return!0x0;}[_0x1743f1(0x150)](){const _0x5eff94=_0x1743f1;this[_0x5eff94(0x178)](this[_0x5eff94(0x187)]()),this[_0x5eff94(0x136)]();}static[_0x1743f1(0x142)](_0x1625c3){return function(_0x574459){const _0x5f161f=_0x4bb3,_0x3149f8=new Intl[(_0x5f161f(0x197))](['en'],{'type':_0x5f161f(0x171)})['of'](_0x574459[_0x5f161f(0x145)]),_0x525f7d=_0x3149f8||_0x5f161f(0x10c),_0x38336f=[{'id':_0x5f161f(0x155),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x13c)),'type':AIQuickActionType[_0x5f161f(0x144)],'icon':_0x9aa5ff},{'id':_0x5f161f(0x1a0),'label':_0x57e1a1(_0x574459,_0x5f161f(0x133)),'icon':_0x23f44c,'actions':[{'id':_0x5f161f(0x15d),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x131)),'prompt':Wt[_0x5f161f(0x179)]('%0',_0x525f7d),'type':AIQuickActionType[_0x5f161f(0x144)]},{'id':_0x5f161f(0x17d),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x115)),'prompt':Bt[_0x5f161f(0x179)]('%0',_0x525f7d),'type':AIQuickActionType[_0x5f161f(0x144)]},{'id':_0x5f161f(0x160),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x18e)),'prompt':Jt[_0x5f161f(0x179)]('%0',_0x525f7d),'type':AIQuickActionType[_0x5f161f(0x144)]}]},{'id':_0x5f161f(0x123),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x12f)),'type':AIQuickActionType[_0x5f161f(0x194)],'icon':_0x15188f},{'id':_0x5f161f(0x1a1),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x176)),'type':AIQuickActionType[_0x5f161f(0x194)],'icon':_0x1d11f3},{'id':_0x5f161f(0x16d),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x11f)),'type':AIQuickActionType[_0x5f161f(0x194)],'icon':_0x3e4b95},{'id':_0x5f161f(0x158),'label':_0x57e1a1(_0x574459,_0x5f161f(0x129)),'icon':_0x53f75f,'actions':[{'id':_0x5f161f(0x15e),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x11d)),'type':AIQuickActionType[_0x5f161f(0x194)]},{'id':_0x5f161f(0x191),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x13b)),'type':AIQuickActionType[_0x5f161f(0x194)]}]},{'id':_0x5f161f(0x16f),'label':_0x57e1a1(_0x574459,_0x5f161f(0x19c)),'icon':_0x42b7cf,'actions':[{'id':_0x5f161f(0x184),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x19a)),'type':AIQuickActionType[_0x5f161f(0x194)]},{'id':_0x5f161f(0x17a),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x18b)),'type':AIQuickActionType[_0x5f161f(0x194)]},{'id':_0x5f161f(0x15f),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x141)),'type':AIQuickActionType[_0x5f161f(0x194)]},{'id':_0x5f161f(0x14a),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x14d)),'type':AIQuickActionType[_0x5f161f(0x194)]},{'id':_0x5f161f(0x193),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x148)),'type':AIQuickActionType[_0x5f161f(0x194)]}]},{'id':_0x5f161f(0x170),'label':_0x57e1a1(_0x574459,_0x5f161f(0x196)),'icon':_0x39e7d4,'actions':[{'id':_0x5f161f(0x116),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x159)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x154)}},{'id':_0x5f161f(0x138),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x139)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x165)}},{'id':_0x5f161f(0x156),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x153)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x185)}},{'id':_0x5f161f(0x16c),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x17b)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x12c)}},{'id':_0x5f161f(0x112),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x128)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x122)}},{'id':_0x5f161f(0x190),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x195)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x198)}},{'id':_0x5f161f(0x10f),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x183)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x186)}},{'id':_0x5f161f(0x17c),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x168)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x10b)}},{'id':_0x5f161f(0x17f),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x19e)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x110)}},{'id':_0x5f161f(0x11c),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x13a)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x199)}}]},{'id':_0x5f161f(0x16e),'label':_0x57e1a1(_0x574459,_0x5f161f(0x13f)),'icon':_0x32025e,'actions':[]}];return _0x38336f;}(_0x1625c3);}[_0x1743f1(0x187)](){const _0x2d8698=_0x1743f1,_0x2c876c=AIQuickActionsUI[_0x2d8698(0x142)](this[_0x2d8698(0x12a)][_0x2d8698(0x19f)]),_0x391c31=(this[_0x2d8698(0x12a)][_0x2d8698(0x120)][_0x2d8698(0x17e)](_0x2d8698(0x177))||[])[_0x2d8698(0x11a)](_0x2b1a4b=>({..._0x2b1a4b,'icon':void 0x0}));return _0x2c876c[_0x2d8698(0x143)](_0x18d5af=>_0x2d8698(0x16e)===_0x18d5af['id'])[_0x2d8698(0x189)][_0x2d8698(0x172)](..._0x391c31),_0x2c876c;}[_0x1743f1(0x136)](){const _0x40aeb3=_0x1743f1,_0x5b1b36=new _0x36a397(this[_0x40aeb3(0x12a)][_0x40aeb3(0x19f)]);_0x5b1b36[_0x40aeb3(0x14b)](),this[_0x40aeb3(0x151)](_0x5b1b36),this[_0x40aeb3(0x11e)](),this[_0x40aeb3(0x11b)](_0x5b1b36);}[_0x1743f1(0x151)](_0x9d4583){const _0x4feb91=_0x1743f1;this[_0x4feb91(0x12a)]['ui'][_0x4feb91(0x137)][_0x4feb91(0x13e)](_0x4feb91(0x169),_0x4370f8(this[_0x4feb91(0x12a)],this[_0x4feb91(0x126)],{'icon':_0xc71bed,'label':_0x57e1a1(this[_0x4feb91(0x12a)][_0x4feb91(0x19f)],_0x4feb91(0x132))},_0x9d4583));}[_0x1743f1(0x178)](_0x5a5bcd){const _0x1d48af=_0x1743f1;this[_0x1d48af(0x126)]=_0x5a5bcd[_0x1d48af(0x11a)](_0x4de0ec=>{const _0x180f8d=_0x1d48af;if(_0x180f8d(0x189)in _0x4de0ec){const _0x3d2424=_0x4de0ec;return{..._0x3d2424,'actions':_0x3d2424[_0x180f8d(0x189)][_0x180f8d(0x11a)](_0x40f273=>{const {actions:_0x4412ba,..._0x20002b}=_0x3d2424;return{..._0x40f273,'parent':_0x20002b};})[_0x180f8d(0x18d)](_0x48c6d7=>this[_0x180f8d(0x149)](_0x48c6d7))};}return _0x4de0ec;})[_0x1d48af(0x18d)](_0x2f6498=>_0x1d48af(0x189)in _0x2f6498?_0x2f6498[_0x1d48af(0x189)][_0x1d48af(0x163)]>0x0:this[_0x1d48af(0x149)](_0x2f6498));}[_0x1743f1(0x149)](_0x19200d){const _0x3097c2=_0x1743f1,_0x103e13=this[_0x3097c2(0x12a)][_0x3097c2(0x120)][_0x3097c2(0x17e)](_0x3097c2(0x134))||[];return this[_0x3097c2(0x12a)][_0x3097c2(0x161)][_0x3097c2(0x125)](AIQuickActionTypeToPluginName[_0x19200d[_0x3097c2(0x15a)]])&&!_0x103e13[_0x3097c2(0x157)](_0x19200d['id']);}[_0x1743f1(0x11b)](_0x506bcb){const _0x452c96=_0x1743f1;this[_0x452c96(0x126)][_0x452c96(0x118)](_0x271c69=>{const _0x2d3d77=_0x452c96;if(_0x2d3d77(0x189)in _0x271c69){const _0x2f8db1=_0x4370f8(this[_0x2d3d77(0x12a)],_0x271c69[_0x2d3d77(0x189)],_0x271c69,_0x506bcb);this[_0x2d3d77(0x12a)]['ui'][_0x2d3d77(0x137)][_0x2d3d77(0x13e)](_0x271c69['id'],_0x2f8db1),_0x271c69[_0x2d3d77(0x189)][_0x2d3d77(0x118)](_0x390f41=>{const _0x250521=_0x2d3d77,_0x52ea9c=_0x321dff(this[_0x250521(0x12a)],_0x390f41);this[_0x250521(0x12a)]['ui'][_0x250521(0x137)][_0x250521(0x13e)](_0x390f41['id'],_0x52ea9c);});}else{const _0x1e9291=_0x321dff(this[_0x2d3d77(0x12a)],_0x271c69);this[_0x2d3d77(0x12a)]['ui'][_0x2d3d77(0x137)][_0x2d3d77(0x13e)](_0x271c69['id'],_0x1e9291);}});}[_0x1743f1(0x11e)](){const _0x4cb658=_0x1743f1;this[_0x4cb658(0x12a)]['ui'][_0x4cb658(0x137)][_0x4cb658(0x13e)](_0x4cb658(0x181),_0x2ac930=>{const _0x411b26=_0x4cb658,_0x11afeb=new _0x9fd362(_0x2ac930),_0x226e9f=_0x57e1a1(_0x2ac930,_0x411b26(0x132));_0x11afeb[_0x411b26(0x192)][_0x411b26(0x13d)]({'label':_0x226e9f,'icon':_0xc71bed});const _0x112019=new _0xae30bf(_0x2ac930);_0x112019[_0x411b26(0x13d)]({'ariaLabel':_0x226e9f,'role':_0x411b26(0x147)}),this[_0x411b26(0x126)][_0x411b26(0x118)](_0x17f1c1=>{const _0x19c737=_0x411b26;if(_0x19c737(0x189)in _0x17f1c1){const _0x52e14b=_0x17f1c1,_0x4bd5d6=new _0x2e0f7c(_0x2ac930,_0x11afeb),_0x20fd82=new _0x9fd362(_0x2ac930),_0x3d9042=new _0xae30bf(_0x2ac930);_0x20fd82[_0x19c737(0x192)][_0x19c737(0x13d)]({'label':_0x52e14b[_0x19c737(0x119)],'icon':_0x52e14b[_0x19c737(0x167)]}),_0x52e14b[_0x19c737(0x189)][_0x19c737(0x118)](_0x4d23ee=>{const _0x3d9244=_0x19c737,_0x1e8a7c=new _0x2e0f7c(_0x2ac930,_0x20fd82),_0x1a8a6b=new _0x3c7306(_0x2ac930);_0x1a8a6b[_0x3d9244(0x13d)]({'label':_0x4d23ee[_0x3d9244(0x15b)],'icon':_0x4d23ee[_0x3d9244(0x167)],'role':_0x3d9244(0x12b)}),_0x1a8a6b['on'](_0x3d9244(0x111),()=>{const _0x2ab4f7=_0x3d9244;this[_0x2ab4f7(0x10a)](_0x4d23ee);}),_0x1a8a6b[_0x3d9244(0x121)](_0x3d9244(0x111))['to'](_0x20fd82),_0x1e8a7c[_0x3d9244(0x182)][_0x3d9244(0x13e)](_0x1a8a6b),_0x3d9042[_0x3d9244(0x19d)][_0x3d9244(0x13e)](_0x1e8a7c);}),_0x20fd82[_0x19c737(0x113)][_0x19c737(0x182)][_0x19c737(0x13e)](_0x3d9042),_0x4bd5d6[_0x19c737(0x182)][_0x19c737(0x13e)](_0x20fd82),_0x112019[_0x19c737(0x19d)][_0x19c737(0x13e)](_0x4bd5d6);}else{const _0xf1329d=_0x17f1c1,_0x575f36=new _0x2e0f7c(_0x2ac930,_0x11afeb),_0x4bc993=new _0x3c7306(_0x2ac930);_0x4bc993[_0x19c737(0x13d)]({'label':_0xf1329d[_0x19c737(0x15b)],'icon':_0xf1329d[_0x19c737(0x167)],'role':_0x19c737(0x12b)}),_0x4bc993['on'](_0x19c737(0x111),()=>{const _0x48679f=_0x19c737;this[_0x48679f(0x10a)](_0xf1329d);}),_0x4bc993[_0x19c737(0x121)](_0x19c737(0x111))['to'](_0x11afeb),_0x575f36[_0x19c737(0x182)][_0x19c737(0x13e)](_0x4bc993),_0x112019[_0x19c737(0x19d)][_0x19c737(0x13e)](_0x575f36);}});const _0x129fae=Object[_0x411b26(0x10e)](AIQuickActionTypeToPluginName)[_0x411b26(0x18c)](_0x3c0d7a=>this[_0x411b26(0x12a)][_0x411b26(0x161)][_0x411b26(0x125)](_0x3c0d7a));return _0x11afeb[_0x411b26(0x13d)]({'isEnabled':_0x129fae}),_0x11afeb[_0x411b26(0x113)][_0x411b26(0x182)][_0x411b26(0x13e)](_0x112019),_0x11afeb;});}[_0x1743f1(0x10a)](_0x14ed4d){const _0x1c0b3e=_0x1743f1,_0x4ca453=this[_0x1c0b3e(0x12a)];_0x4ca453[_0x1c0b3e(0x146)][_0x1c0b3e(0x16a)][_0x1c0b3e(0x117)](),_0x4ca453[_0x1c0b3e(0x1a2)][_0x1c0b3e(0x111)](_0x1c0b3e(0x127),_0x14ed4d);const _0x129b0f=_0x4ca453['ui'][_0x1c0b3e(0x16a)][_0x1c0b3e(0x166)];_0x129b0f&&_0x129b0f[_0x1c0b3e(0x180)]&&_0x129b0f[_0x1c0b3e(0x180)]();}}
23
+ const _0x51e8e0=_0x151a;(function(_0x43d8ba,_0x25bc23){const _0x4e94b9=_0x151a,_0x43a298=_0x43d8ba();while(!![]){try{const _0x3730ec=parseInt(_0x4e94b9(0x233))/0x1+-parseInt(_0x4e94b9(0x1b8))/0x2+-parseInt(_0x4e94b9(0x1b5))/0x3+parseInt(_0x4e94b9(0x1f9))/0x4+-parseInt(_0x4e94b9(0x1ce))/0x5+parseInt(_0x4e94b9(0x208))/0x6+-parseInt(_0x4e94b9(0x1d0))/0x7;if(_0x3730ec===_0x25bc23)break;else _0x43a298['push'](_0x43a298['shift']());}catch(_0x313a3){_0x43a298['push'](_0x43a298['shift']());}}}(_0x35f5,0x1c283));import{IconAIAdjustLength as _0x9de14b,IconAIAskAI as _0x59d408,IconAIChangeTone as _0x1bcfcb,IconAIChatCommands as _0x87065c,IconAIContinueWriting as _0x3368af,IconAIGrammarCheck as _0x51d786,IconAIImproveWriting as _0x27ab6a,IconAIOther as _0x2533ad,IconAIQuickActions as _0x1a8cd1,IconAITranslate as _0x484913}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x4c664e}from'ckeditor5/src/core.js';import{getTranslation as _0x5ef184}from'../aicore/utils/common-translations.js';function _0x35f5(){const _0x5e7f07=['make-tone-confident','summarize','length','highlight-key-points','chat-commands','make-longer','actions','494451tOfiXF','make-tone-casual','items','254392LsAMDh','italian','make-tone-direct','menuitem','componentFactory','map','_quickActionsDefinition','add','push','AI_QUICK_ACTIONS_MORE_CONFIDENT','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_MORE_DIRECT','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','japanese','portuguese','other','locale','plugins','make-tone-professional','make-shorter','isOfficialPlugin','364190fmZvgY','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','393295BOJFNS','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','spanish','REVIEW','AI_QUICK_ACTIONS_SUMMARIZE','_prepareQuickActionsDefinition','translate-to-french','ACTION','filter','<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>','init','translate-to-german','AIActions','editing','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','view','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','german','delegate','AI_QUICK_ACTIONS_OTHER','ai.quickActions.extraCommands','English','set','config','chinese','has','get','DisplayNames','menuBarView','translate-to-portuguese','find','french','russian','ask-ai','commands','_initializeQuickActionsMenuBar','_initializeQuickActionsDropdown','<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>','forEach','422868uNLUmF','korean','panelView','aiQuickAction','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_EXPLAIN','replace','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','attachToDom','uiLanguage','ai.quickActions.removeCommands','english','CHAT','values','1352418YybyUq','translate-to-korean','language','translate-to-spanish','AIReviewMode','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','focus','AI_QUICK_ACTIONS_MORE_FRIENDLY','explain','execute','label','translate','aiQuickActions','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','includes','isPremiumPlugin','some','translate-to-english','requires','menu','change-tone','editor','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','_initializeQuickActionsComponents','pluginName','AIChat','make-tone-friendly','icon','translate-to-chinese','getDefaultQuickActions','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','menuBar:aiQuickActions','AI_QUICK_ACTIONS_MAKE_LONGER','displayedPrompt','AIQuickActionsUI','AI_QUICK_ACTIONS_CONTINUE_WRITING','translate-to-italian','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_IMPROVE_WRITING','_shouldIncludeAction','AI_QUICK_ACTIONS_MORE_CASUAL','continue','type','205247TpbCtT','children','<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>','adjust-length','_executeQuickAction','translate-to-russian','improve-writing','buttonView','close','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_MAKE_SHORTER','fix-grammar','translate-to-japanese'];_0x35f5=function(){return _0x5e7f07;};return _0x35f5();}import{aiQuickActionsDropdownCreator as _0x10a857}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5372bd}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x2ae2a2,BalloonToolbar as _0x82d9db,MenuBarMenuView as _0x1fa1df,MenuBarMenuListView as _0x41384a,MenuBarMenuListItemView as _0x2d844c,MenuBarMenuListItemButtonView as _0x350329}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const te=_0x51e8e0(0x1db),ee=_0x51e8e0(0x235),ie=_0x51e8e0(0x1f7);export var AIQuickActionType;!function(_0x14c9a8){const _0x4ca079=_0x51e8e0;_0x14c9a8[_0x4ca079(0x206)]=_0x4ca079(0x206),_0x14c9a8[_0x4ca079(0x1d9)]=_0x4ca079(0x1d9),_0x14c9a8[_0x4ca079(0x1d5)]=_0x4ca079(0x1d5);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;function _0x151a(_0x134e04,_0x4742ff){const _0x35f531=_0x35f5();return _0x151a=function(_0x151af0,_0x37bcd4){_0x151af0=_0x151af0-0x1b4;let _0x535601=_0x35f531[_0x151af0];return _0x535601;},_0x151a(_0x134e04,_0x4742ff);}!function(_0x1b3a63){const _0x3d8732=_0x51e8e0;_0x1b3a63[_0x3d8732(0x206)]=_0x3d8732(0x221),_0x1b3a63[_0x3d8732(0x1d9)]=_0x3d8732(0x1de),_0x1b3a63[_0x3d8732(0x1d5)]=_0x3d8732(0x20c);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x4c664e{static get[_0x51e8e0(0x21a)](){return[_0x82d9db];}static get[_0x51e8e0(0x220)](){const _0x1551ea=_0x51e8e0;return _0x1551ea(0x22a);}static get[_0x51e8e0(0x1cd)](){return!0x0;}static get[_0x51e8e0(0x217)](){return!0x0;}[_0x51e8e0(0x1dc)](){const _0x252d9b=_0x51e8e0;this[_0x252d9b(0x1d7)](this[_0x252d9b(0x1c2)]()),this[_0x252d9b(0x1c4)]();}static[_0x51e8e0(0x225)](_0x40406d){return function(_0x195d41){const _0x39efcd=_0x151a,_0x46bbde=new Intl[(_0x39efcd(0x1ed))](['en'],{'type':_0x39efcd(0x20a)})['of'](_0x195d41[_0x39efcd(0x203)]),_0x2859cd=_0x46bbde||_0x39efcd(0x1e7),_0x3429ad=[{'id':_0x39efcd(0x1f3),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1d2)),'type':AIQuickActionType[_0x39efcd(0x206)],'icon':_0x59d408},{'id':_0x39efcd(0x247),'label':_0x5ef184(_0x195d41,_0x39efcd(0x23c)),'icon':_0x87065c,'actions':[{'id':_0x39efcd(0x210),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1fe)),'prompt':te[_0x39efcd(0x1ff)]('%0',_0x2859cd),'type':AIQuickActionType[_0x39efcd(0x206)]},{'id':_0x39efcd(0x244),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1d6)),'prompt':ee[_0x39efcd(0x1ff)]('%0',_0x2859cd),'type':AIQuickActionType[_0x39efcd(0x206)]},{'id':_0x39efcd(0x246),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x215)),'prompt':ie[_0x39efcd(0x1ff)]('%0',_0x2859cd),'type':AIQuickActionType[_0x39efcd(0x206)]}]},{'id':_0x39efcd(0x239),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x22e)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'icon':_0x27ab6a},{'id':_0x39efcd(0x231),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x22b)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'icon':_0x3368af},{'id':_0x39efcd(0x241),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x201)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'icon':_0x51d786},{'id':_0x39efcd(0x236),'label':_0x5ef184(_0x195d41,_0x39efcd(0x1d1)),'icon':_0x9de14b,'actions':[{'id':_0x39efcd(0x1cc),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x240)),'type':AIQuickActionType[_0x39efcd(0x1d9)]},{'id':_0x39efcd(0x248),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x228)),'type':AIQuickActionType[_0x39efcd(0x1d9)]}]},{'id':_0x39efcd(0x21c),'label':_0x5ef184(_0x195d41,_0x39efcd(0x1fd)),'icon':_0x1bcfcb,'actions':[{'id':_0x39efcd(0x1b6),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x230)),'type':AIQuickActionType[_0x39efcd(0x1d9)]},{'id':_0x39efcd(0x1ba),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1c3)),'type':AIQuickActionType[_0x39efcd(0x1d9)]},{'id':_0x39efcd(0x222),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x20f)),'type':AIQuickActionType[_0x39efcd(0x1d9)]},{'id':_0x39efcd(0x243),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1c1)),'type':AIQuickActionType[_0x39efcd(0x1d9)]},{'id':_0x39efcd(0x1cb),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x200)),'type':AIQuickActionType[_0x39efcd(0x1d9)]}]},{'id':_0x39efcd(0x213),'label':_0x5ef184(_0x195d41,_0x39efcd(0x23f)),'icon':_0x484913,'actions':[{'id':_0x39efcd(0x219),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x21e)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x205)}},{'id':_0x39efcd(0x224),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x22d)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1ea)}},{'id':_0x39efcd(0x20b),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x20d)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1d4)}},{'id':_0x39efcd(0x1dd),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x226)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1e3)}},{'id':_0x39efcd(0x1d8),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1e0)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1f1)}},{'id':_0x39efcd(0x242),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x23e)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1c6)}},{'id':_0x39efcd(0x1ef),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1cf)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1c7)}},{'id':_0x39efcd(0x209),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1e2)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1fa)}},{'id':_0x39efcd(0x22c),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1c5)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1b9)}},{'id':_0x39efcd(0x238),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1d3)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1f2)}}]},{'id':_0x39efcd(0x1c8),'label':_0x5ef184(_0x195d41,_0x39efcd(0x1e5)),'icon':_0x2533ad,'actions':[]}];return _0x3429ad;}(_0x40406d);}[_0x51e8e0(0x1c2)](){const _0x3d4275=_0x51e8e0,_0x3879aa=AIQuickActionsUI[_0x3d4275(0x225)](this[_0x3d4275(0x21d)][_0x3d4275(0x1c9)]),_0x24721c=(this[_0x3d4275(0x21d)][_0x3d4275(0x1e9)][_0x3d4275(0x1ec)](_0x3d4275(0x1e6))||[])[_0x3d4275(0x1bd)](_0x2d9912=>({..._0x2d9912,'icon':void 0x0}));return _0x3879aa[_0x3d4275(0x1f0)](_0x1c24e5=>_0x3d4275(0x1c8)===_0x1c24e5['id'])[_0x3d4275(0x1b4)][_0x3d4275(0x1c0)](..._0x24721c),_0x3879aa;}[_0x51e8e0(0x1c4)](){const _0x506b17=_0x51e8e0,_0x5c4832=new _0x2ae2a2(this[_0x506b17(0x21d)][_0x506b17(0x1c9)]);_0x5c4832[_0x506b17(0x202)](),this[_0x506b17(0x1f6)](_0x5c4832),this[_0x506b17(0x1f5)](),this[_0x506b17(0x21f)](_0x5c4832);}[_0x51e8e0(0x1f6)](_0x2d1eb2){const _0x24d6bd=_0x51e8e0;this[_0x24d6bd(0x21d)]['ui'][_0x24d6bd(0x1bc)][_0x24d6bd(0x1bf)](_0x24d6bd(0x214),_0x10a857(this[_0x24d6bd(0x21d)],this[_0x24d6bd(0x1be)],{'icon':_0x1a8cd1,'label':_0x5ef184(this[_0x24d6bd(0x21d)][_0x24d6bd(0x1c9)],_0x24d6bd(0x23d))},_0x2d1eb2));}[_0x51e8e0(0x1d7)](_0x5afab1){const _0x233474=_0x51e8e0;this[_0x233474(0x1be)]=_0x5afab1[_0x233474(0x1bd)](_0x2bffe0=>{const _0x3562b6=_0x233474;if(_0x3562b6(0x1b4)in _0x2bffe0){const _0x2ae1d0=_0x2bffe0;return{..._0x2ae1d0,'actions':_0x2ae1d0[_0x3562b6(0x1b4)][_0x3562b6(0x1bd)](_0x327889=>{const {actions:_0x1cb242,..._0x392f6e}=_0x2ae1d0;return{..._0x327889,'parent':_0x392f6e};})[_0x3562b6(0x1da)](_0x490406=>this[_0x3562b6(0x22f)](_0x490406))};}return _0x2bffe0;})[_0x233474(0x1da)](_0x7259ed=>_0x233474(0x1b4)in _0x7259ed?_0x7259ed[_0x233474(0x1b4)][_0x233474(0x245)]>0x0:this[_0x233474(0x22f)](_0x7259ed));}[_0x51e8e0(0x22f)](_0x4c4c6c){const _0x458b89=_0x51e8e0,_0x5c740f=this[_0x458b89(0x21d)][_0x458b89(0x1e9)][_0x458b89(0x1ec)](_0x458b89(0x204))||[];return this[_0x458b89(0x21d)][_0x458b89(0x1ca)][_0x458b89(0x1eb)](AIQuickActionTypeToPluginName[_0x4c4c6c[_0x458b89(0x232)]])&&!_0x5c740f[_0x458b89(0x216)](_0x4c4c6c['id']);}[_0x51e8e0(0x21f)](_0x3509f8){const _0x2b7347=_0x51e8e0;this[_0x2b7347(0x1be)][_0x2b7347(0x1f8)](_0x23fac1=>{const _0x48970c=_0x2b7347;if(_0x48970c(0x1b4)in _0x23fac1){const _0x4c73ca=_0x10a857(this[_0x48970c(0x21d)],_0x23fac1[_0x48970c(0x1b4)],_0x23fac1,_0x3509f8);this[_0x48970c(0x21d)]['ui'][_0x48970c(0x1bc)][_0x48970c(0x1bf)](_0x23fac1['id'],_0x4c73ca),_0x23fac1[_0x48970c(0x1b4)][_0x48970c(0x1f8)](_0x31d132=>{const _0x4b94f3=_0x48970c,_0x10aa55=_0x5372bd(this[_0x4b94f3(0x21d)],_0x31d132);this[_0x4b94f3(0x21d)]['ui'][_0x4b94f3(0x1bc)][_0x4b94f3(0x1bf)](_0x31d132['id'],_0x10aa55);});}else{const _0x44102b=_0x5372bd(this[_0x48970c(0x21d)],_0x23fac1);this[_0x48970c(0x21d)]['ui'][_0x48970c(0x1bc)][_0x48970c(0x1bf)](_0x23fac1['id'],_0x44102b);}});}[_0x51e8e0(0x1f5)](){const _0x349f48=_0x51e8e0;this[_0x349f48(0x21d)]['ui'][_0x349f48(0x1bc)][_0x349f48(0x1bf)](_0x349f48(0x227),_0x30eaa4=>{const _0x38164a=_0x349f48,_0x4ad320=new _0x1fa1df(_0x30eaa4),_0x584388=_0x5ef184(_0x30eaa4,_0x38164a(0x23d));_0x4ad320[_0x38164a(0x23a)][_0x38164a(0x1e8)]({'label':_0x584388,'icon':_0x1a8cd1});const _0x5deee8=new _0x41384a(_0x30eaa4);_0x5deee8[_0x38164a(0x1e8)]({'ariaLabel':_0x584388,'role':_0x38164a(0x21b)}),this[_0x38164a(0x1be)][_0x38164a(0x1f8)](_0x2f2464=>{const _0x27963e=_0x38164a;if(_0x27963e(0x1b4)in _0x2f2464){const _0x5603c3=_0x2f2464,_0x567870=new _0x2d844c(_0x30eaa4,_0x4ad320),_0x11d451=new _0x1fa1df(_0x30eaa4),_0x5b260d=new _0x41384a(_0x30eaa4);_0x11d451[_0x27963e(0x23a)][_0x27963e(0x1e8)]({'label':_0x5603c3[_0x27963e(0x212)],'icon':_0x5603c3[_0x27963e(0x223)]}),_0x5603c3[_0x27963e(0x1b4)][_0x27963e(0x1f8)](_0x2559c1=>{const _0x105bcc=_0x27963e,_0xebe906=new _0x2d844c(_0x30eaa4,_0x11d451),_0x35eabd=new _0x350329(_0x30eaa4);_0x35eabd[_0x105bcc(0x1e8)]({'label':_0x2559c1[_0x105bcc(0x229)],'icon':_0x2559c1[_0x105bcc(0x223)],'role':_0x105bcc(0x1bb)}),_0x35eabd['on'](_0x105bcc(0x211),()=>{const _0x35d545=_0x105bcc;this[_0x35d545(0x237)](_0x2559c1);}),_0x35eabd[_0x105bcc(0x1e4)](_0x105bcc(0x211))['to'](_0x11d451),_0xebe906[_0x105bcc(0x234)][_0x105bcc(0x1bf)](_0x35eabd),_0x5b260d[_0x105bcc(0x1b7)][_0x105bcc(0x1bf)](_0xebe906);}),_0x11d451[_0x27963e(0x1fb)][_0x27963e(0x234)][_0x27963e(0x1bf)](_0x5b260d),_0x567870[_0x27963e(0x234)][_0x27963e(0x1bf)](_0x11d451),_0x5deee8[_0x27963e(0x1b7)][_0x27963e(0x1bf)](_0x567870);}else{const _0x392656=_0x2f2464,_0x3278af=new _0x2d844c(_0x30eaa4,_0x4ad320),_0x5b3abf=new _0x350329(_0x30eaa4);_0x5b3abf[_0x27963e(0x1e8)]({'label':_0x392656[_0x27963e(0x229)],'icon':_0x392656[_0x27963e(0x223)],'role':_0x27963e(0x1bb)}),_0x5b3abf['on'](_0x27963e(0x211),()=>{const _0x57a3b1=_0x27963e;this[_0x57a3b1(0x237)](_0x392656);}),_0x5b3abf[_0x27963e(0x1e4)](_0x27963e(0x211))['to'](_0x4ad320),_0x3278af[_0x27963e(0x234)][_0x27963e(0x1bf)](_0x5b3abf),_0x5deee8[_0x27963e(0x1b7)][_0x27963e(0x1bf)](_0x3278af);}});const _0x8f0c81=Object[_0x38164a(0x207)](AIQuickActionTypeToPluginName)[_0x38164a(0x218)](_0x3c39e0=>this[_0x38164a(0x21d)][_0x38164a(0x1ca)][_0x38164a(0x1eb)](_0x3c39e0));return _0x4ad320[_0x38164a(0x1e8)]({'isEnabled':_0x8f0c81}),_0x4ad320[_0x38164a(0x1fb)][_0x38164a(0x234)][_0x38164a(0x1bf)](_0x5deee8),_0x4ad320;});}[_0x51e8e0(0x237)](_0x14fb75){const _0x1c8f6d=_0x51e8e0,_0x35c729=this[_0x1c8f6d(0x21d)];_0x35c729[_0x1c8f6d(0x1df)][_0x1c8f6d(0x1e1)][_0x1c8f6d(0x20e)](),_0x35c729[_0x1c8f6d(0x1f4)][_0x1c8f6d(0x211)](_0x1c8f6d(0x1fc),_0x14fb75);const _0x4c394b=_0x35c729['ui'][_0x1c8f6d(0x1e1)][_0x1c8f6d(0x1ee)];_0x4c394b&&_0x4c394b[_0x1c8f6d(0x23b)]&&_0x4c394b[_0x1c8f6d(0x23b)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x36bfa0,_0x22bfcb){const _0x3f0e7f=_0x3c81,_0x5a0c85=_0x36bfa0();while(!![]){try{const _0x3f25ab=-parseInt(_0x3f0e7f(0x122))/0x1*(parseInt(_0x3f0e7f(0x121))/0x2)+-parseInt(_0x3f0e7f(0x113))/0x3+-parseInt(_0x3f0e7f(0x110))/0x4*(parseInt(_0x3f0e7f(0x112))/0x5)+parseInt(_0x3f0e7f(0x11b))/0x6+parseInt(_0x3f0e7f(0x11c))/0x7+-parseInt(_0x3f0e7f(0x111))/0x8+parseInt(_0x3f0e7f(0x123))/0x9;if(_0x3f25ab===_0x22bfcb)break;else _0x5a0c85['push'](_0x5a0c85['shift']());}catch(_0x5743a3){_0x5a0c85['push'](_0x5a0c85['shift']());}}}(_0x512d,0x9eb15));function _0x3c81(_0xaedc25,_0x30792a){const _0x512db2=_0x512d();return _0x3c81=function(_0x3c8150,_0x56ce5c){_0x3c8150=_0x3c8150-0x110;let _0x77f7b3=_0x512db2[_0x3c8150];return _0x77f7b3;},_0x3c81(_0xaedc25,_0x30792a);}import{ButtonView as _0x4c55ab}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x31a661}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x3f72dc,_0x5e85d0,_0x64a424=!0x1,_0x537208=!0x0){return()=>{const _0x541d87=_0x3c81,_0x2f833f=_0x3f72dc[_0x541d87(0x119)],_0x17139e=new _0x4c55ab(_0x2f833f),_0x152b50=_0x17139e[_0x541d87(0x127)];_0x17139e[_0x541d87(0x120)]({'on':{'mouseenter':_0x152b50['to'](()=>{const _0x418242=_0x541d87;_0x17139e[_0x418242(0x126)]();})}});const _0x3b3a42=_0x5e85d0[_0x541d87(0x118)]??_0x5e85d0[_0x541d87(0x125)]?.[_0x541d87(0x118)];return _0x17139e[_0x541d87(0x11e)]({'label':_0x5e85d0[_0x541d87(0x11f)],'withText':_0x64a424,'role':_0x541d87(0x124),'icon':_0x537208?_0x3b3a42??_0x31a661:void 0x0,'tooltip':!_0x64a424,'class':_0x541d87(0x114)}),_0x17139e['on'](_0x541d87(0x115),()=>{const _0x112117=_0x541d87;_0x3f72dc[_0x112117(0x11d)][_0x112117(0x117)][_0x112117(0x126)](),_0x3f72dc[_0x112117(0x11a)][_0x112117(0x115)](_0x112117(0x116),_0x5e85d0);}),_0x17139e;};}function _0x512d(){const _0x2ce974=['view','icon','locale','commands','7188246QobvzU','2751924zSWzOb','editing','set','displayedPrompt','extendTemplate','32ewFFLP','63067gQhRLe','14904360SeDyvp','menuitem','parent','focus','bindTemplate','5756xlbRze','9564584jInKfd','915XHnODG','387678mOZWvd','ck-ai-quick-actions-button','execute','aiQuickAction'];_0x512d=function(){return _0x2ce974;};return _0x512d();}
23
+ (function(_0x16f9f6,_0x258bee){const _0xd3ba63=_0x5d7d,_0x25e6ad=_0x16f9f6();while(!![]){try{const _0x5dc0d8=-parseInt(_0xd3ba63(0xcf))/0x1*(parseInt(_0xd3ba63(0xd2))/0x2)+-parseInt(_0xd3ba63(0xd6))/0x3*(parseInt(_0xd3ba63(0xe5))/0x4)+-parseInt(_0xd3ba63(0xd8))/0x5*(-parseInt(_0xd3ba63(0xdb))/0x6)+-parseInt(_0xd3ba63(0xda))/0x7*(parseInt(_0xd3ba63(0xcc))/0x8)+-parseInt(_0xd3ba63(0xe1))/0x9*(parseInt(_0xd3ba63(0xe2))/0xa)+-parseInt(_0xd3ba63(0xd9))/0xb+parseInt(_0xd3ba63(0xde))/0xc;if(_0x5dc0d8===_0x258bee)break;else _0x25e6ad['push'](_0x25e6ad['shift']());}catch(_0x1d94ae){_0x25e6ad['push'](_0x25e6ad['shift']());}}}(_0x5f24,0xe7810));function _0x5f24(){const _0x4f9b5f=['14ySRIkn','parent','bindTemplate','editing','7836DSQugE','set','625ASnzls','8223017qqMoiu','21JIZcmb','29658uzHdFP','view','displayedPrompt','53045460rJlWqr','focus','commands','4862205jWdFTp','10eDNgMS','icon','extendTemplate','2784ZUXsTe','locale','1275752NTKOQx','menuitem','execute','72277gyAIxv','ck-ai-quick-actions-button','aiQuickAction'];_0x5f24=function(){return _0x4f9b5f;};return _0x5f24();}import{ButtonView as _0x588966}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x1d9d53}from'@ckeditor/ckeditor5-icons';function _0x5d7d(_0x3bba75,_0x338aba){const _0x5f2410=_0x5f24();return _0x5d7d=function(_0x5d7d98,_0x283c34){_0x5d7d98=_0x5d7d98-0xcb;let _0x4097a3=_0x5f2410[_0x5d7d98];return _0x4097a3;},_0x5d7d(_0x3bba75,_0x338aba);}export function aiQuickActionsButtonCreator(_0x374d16,_0x2be609,_0x1fe0aa=!0x1,_0x5f11ec=!0x0){return()=>{const _0x3a3b03=_0x5d7d,_0x569485=_0x374d16[_0x3a3b03(0xcb)],_0x480329=new _0x588966(_0x569485),_0x290bd9=_0x480329[_0x3a3b03(0xd4)];_0x480329[_0x3a3b03(0xe4)]({'on':{'mouseenter':_0x290bd9['to'](()=>{const _0x54b397=_0x3a3b03;_0x480329[_0x54b397(0xdf)]();})}});const _0x18b6c3=_0x2be609[_0x3a3b03(0xe3)]??_0x2be609[_0x3a3b03(0xd3)]?.[_0x3a3b03(0xe3)];return _0x480329[_0x3a3b03(0xd7)]({'label':_0x2be609[_0x3a3b03(0xdd)],'withText':_0x1fe0aa,'role':_0x3a3b03(0xcd),'icon':_0x5f11ec?_0x18b6c3??_0x1d9d53:void 0x0,'tooltip':!_0x1fe0aa,'class':_0x3a3b03(0xd0)}),_0x480329['on'](_0x3a3b03(0xce),()=>{const _0x1e4a5c=_0x3a3b03;_0x374d16[_0x1e4a5c(0xd5)][_0x1e4a5c(0xdc)][_0x1e4a5c(0xdf)](),_0x374d16[_0x1e4a5c(0xe0)][_0x1e4a5c(0xce)](_0x1e4a5c(0xd1),_0x2be609);}),_0x480329;};}