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

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 (465) hide show
  1. package/build/ai.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/ast.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/be.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/bs.js +1 -1
  10. package/build/translations/ca.js +1 -1
  11. package/build/translations/cs.js +1 -1
  12. package/build/translations/da.js +1 -1
  13. package/build/translations/de-ch.js +1 -1
  14. package/build/translations/de.js +1 -1
  15. package/build/translations/el.js +1 -1
  16. package/build/translations/en-au.js +1 -1
  17. package/build/translations/en-gb.js +1 -1
  18. package/build/translations/eo.js +1 -1
  19. package/build/translations/es-co.js +1 -1
  20. package/build/translations/es.js +1 -1
  21. package/build/translations/et.js +1 -1
  22. package/build/translations/eu.js +1 -1
  23. package/build/translations/fa.js +1 -1
  24. package/build/translations/fi.js +1 -1
  25. package/build/translations/fr.js +1 -1
  26. package/build/translations/gl.js +1 -1
  27. package/build/translations/gu.js +1 -1
  28. package/build/translations/he.js +1 -1
  29. package/build/translations/hi.js +1 -1
  30. package/build/translations/hr.js +1 -1
  31. package/build/translations/hu.js +1 -1
  32. package/build/translations/hy.js +1 -1
  33. package/build/translations/id.js +1 -1
  34. package/build/translations/it.js +1 -1
  35. package/build/translations/ja.js +1 -1
  36. package/build/translations/jv.js +1 -1
  37. package/build/translations/kk.js +1 -1
  38. package/build/translations/km.js +1 -1
  39. package/build/translations/kn.js +1 -1
  40. package/build/translations/ko.js +1 -1
  41. package/build/translations/ku.js +1 -1
  42. package/build/translations/lt.js +1 -1
  43. package/build/translations/lv.js +1 -1
  44. package/build/translations/ms.js +1 -1
  45. package/build/translations/nb.js +1 -1
  46. package/build/translations/ne.js +1 -1
  47. package/build/translations/nl.js +1 -1
  48. package/build/translations/no.js +1 -1
  49. package/build/translations/oc.js +1 -1
  50. package/build/translations/pl.js +1 -1
  51. package/build/translations/pt-br.js +1 -1
  52. package/build/translations/pt.js +1 -1
  53. package/build/translations/ro.js +1 -1
  54. package/build/translations/ru.js +1 -1
  55. package/build/translations/si.js +1 -1
  56. package/build/translations/sk.js +1 -1
  57. package/build/translations/sl.js +1 -1
  58. package/build/translations/sq.js +1 -1
  59. package/build/translations/sr-latn.js +1 -1
  60. package/build/translations/sr.js +1 -1
  61. package/build/translations/sv.js +1 -1
  62. package/build/translations/th.js +1 -1
  63. package/build/translations/ti.js +1 -1
  64. package/build/translations/tk.js +1 -1
  65. package/build/translations/tr.js +1 -1
  66. package/build/translations/tt.js +1 -1
  67. package/build/translations/ug.js +1 -1
  68. package/build/translations/uk.js +1 -1
  69. package/build/translations/ur.js +1 -1
  70. package/build/translations/uz.js +1 -1
  71. package/build/translations/vi.js +1 -1
  72. package/build/translations/zh-cn.js +1 -1
  73. package/build/translations/zh.js +1 -1
  74. package/dist/index-editor.css +93 -5
  75. package/dist/index.css +118 -5
  76. package/dist/index.js +4 -4
  77. package/dist/translations/af.js +1 -1
  78. package/dist/translations/af.umd.js +1 -1
  79. package/dist/translations/ar.js +1 -1
  80. package/dist/translations/ar.umd.js +1 -1
  81. package/dist/translations/ast.js +1 -1
  82. package/dist/translations/ast.umd.js +1 -1
  83. package/dist/translations/az.js +1 -1
  84. package/dist/translations/az.umd.js +1 -1
  85. package/dist/translations/be.js +1 -1
  86. package/dist/translations/be.umd.js +1 -1
  87. package/dist/translations/bg.js +1 -1
  88. package/dist/translations/bg.umd.js +1 -1
  89. package/dist/translations/bn.js +1 -1
  90. package/dist/translations/bn.umd.js +1 -1
  91. package/dist/translations/bs.js +1 -1
  92. package/dist/translations/bs.umd.js +1 -1
  93. package/dist/translations/ca.js +1 -1
  94. package/dist/translations/ca.umd.js +1 -1
  95. package/dist/translations/cs.js +1 -1
  96. package/dist/translations/cs.umd.js +1 -1
  97. package/dist/translations/da.js +1 -1
  98. package/dist/translations/da.umd.js +1 -1
  99. package/dist/translations/de-ch.js +1 -1
  100. package/dist/translations/de-ch.umd.js +1 -1
  101. package/dist/translations/de.js +1 -1
  102. package/dist/translations/de.umd.js +1 -1
  103. package/dist/translations/el.js +1 -1
  104. package/dist/translations/el.umd.js +1 -1
  105. package/dist/translations/en-au.js +1 -1
  106. package/dist/translations/en-au.umd.js +1 -1
  107. package/dist/translations/en-gb.js +1 -1
  108. package/dist/translations/en-gb.umd.js +1 -1
  109. package/dist/translations/en.js +1 -1
  110. package/dist/translations/en.umd.js +1 -1
  111. package/dist/translations/eo.js +1 -1
  112. package/dist/translations/eo.umd.js +1 -1
  113. package/dist/translations/es-co.js +1 -1
  114. package/dist/translations/es-co.umd.js +1 -1
  115. package/dist/translations/es.js +1 -1
  116. package/dist/translations/es.umd.js +1 -1
  117. package/dist/translations/et.js +1 -1
  118. package/dist/translations/et.umd.js +1 -1
  119. package/dist/translations/eu.js +1 -1
  120. package/dist/translations/eu.umd.js +1 -1
  121. package/dist/translations/fa.js +1 -1
  122. package/dist/translations/fa.umd.js +1 -1
  123. package/dist/translations/fi.js +1 -1
  124. package/dist/translations/fi.umd.js +1 -1
  125. package/dist/translations/fr.js +1 -1
  126. package/dist/translations/fr.umd.js +1 -1
  127. package/dist/translations/gl.js +1 -1
  128. package/dist/translations/gl.umd.js +1 -1
  129. package/dist/translations/gu.js +1 -1
  130. package/dist/translations/gu.umd.js +1 -1
  131. package/dist/translations/he.js +1 -1
  132. package/dist/translations/he.umd.js +1 -1
  133. package/dist/translations/hi.js +1 -1
  134. package/dist/translations/hi.umd.js +1 -1
  135. package/dist/translations/hr.js +1 -1
  136. package/dist/translations/hr.umd.js +1 -1
  137. package/dist/translations/hu.js +1 -1
  138. package/dist/translations/hu.umd.js +1 -1
  139. package/dist/translations/hy.js +1 -1
  140. package/dist/translations/hy.umd.js +1 -1
  141. package/dist/translations/id.js +1 -1
  142. package/dist/translations/id.umd.js +1 -1
  143. package/dist/translations/it.js +1 -1
  144. package/dist/translations/it.umd.js +1 -1
  145. package/dist/translations/ja.js +1 -1
  146. package/dist/translations/ja.umd.js +1 -1
  147. package/dist/translations/jv.js +1 -1
  148. package/dist/translations/jv.umd.js +1 -1
  149. package/dist/translations/kk.js +1 -1
  150. package/dist/translations/kk.umd.js +1 -1
  151. package/dist/translations/km.js +1 -1
  152. package/dist/translations/km.umd.js +1 -1
  153. package/dist/translations/kn.js +1 -1
  154. package/dist/translations/kn.umd.js +1 -1
  155. package/dist/translations/ko.js +1 -1
  156. package/dist/translations/ko.umd.js +1 -1
  157. package/dist/translations/ku.js +1 -1
  158. package/dist/translations/ku.umd.js +1 -1
  159. package/dist/translations/lt.js +1 -1
  160. package/dist/translations/lt.umd.js +1 -1
  161. package/dist/translations/lv.js +1 -1
  162. package/dist/translations/lv.umd.js +1 -1
  163. package/dist/translations/ms.js +1 -1
  164. package/dist/translations/ms.umd.js +1 -1
  165. package/dist/translations/nb.js +1 -1
  166. package/dist/translations/nb.umd.js +1 -1
  167. package/dist/translations/ne.js +1 -1
  168. package/dist/translations/ne.umd.js +1 -1
  169. package/dist/translations/nl.js +1 -1
  170. package/dist/translations/nl.umd.js +1 -1
  171. package/dist/translations/no.js +1 -1
  172. package/dist/translations/no.umd.js +1 -1
  173. package/dist/translations/oc.js +1 -1
  174. package/dist/translations/oc.umd.js +1 -1
  175. package/dist/translations/pl.js +1 -1
  176. package/dist/translations/pl.umd.js +1 -1
  177. package/dist/translations/pt-br.js +1 -1
  178. package/dist/translations/pt-br.umd.js +1 -1
  179. package/dist/translations/pt.js +1 -1
  180. package/dist/translations/pt.umd.js +1 -1
  181. package/dist/translations/ro.js +1 -1
  182. package/dist/translations/ro.umd.js +1 -1
  183. package/dist/translations/ru.js +1 -1
  184. package/dist/translations/ru.umd.js +1 -1
  185. package/dist/translations/si.js +1 -1
  186. package/dist/translations/si.umd.js +1 -1
  187. package/dist/translations/sk.js +1 -1
  188. package/dist/translations/sk.umd.js +1 -1
  189. package/dist/translations/sl.js +1 -1
  190. package/dist/translations/sl.umd.js +1 -1
  191. package/dist/translations/sq.js +1 -1
  192. package/dist/translations/sq.umd.js +1 -1
  193. package/dist/translations/sr-latn.js +1 -1
  194. package/dist/translations/sr-latn.umd.js +1 -1
  195. package/dist/translations/sr.js +1 -1
  196. package/dist/translations/sr.umd.js +1 -1
  197. package/dist/translations/sv.js +1 -1
  198. package/dist/translations/sv.umd.js +1 -1
  199. package/dist/translations/th.js +1 -1
  200. package/dist/translations/th.umd.js +1 -1
  201. package/dist/translations/ti.js +1 -1
  202. package/dist/translations/ti.umd.js +1 -1
  203. package/dist/translations/tk.js +1 -1
  204. package/dist/translations/tk.umd.js +1 -1
  205. package/dist/translations/tr.js +1 -1
  206. package/dist/translations/tr.umd.js +1 -1
  207. package/dist/translations/tt.js +1 -1
  208. package/dist/translations/tt.umd.js +1 -1
  209. package/dist/translations/ug.js +1 -1
  210. package/dist/translations/ug.umd.js +1 -1
  211. package/dist/translations/uk.js +1 -1
  212. package/dist/translations/uk.umd.js +1 -1
  213. package/dist/translations/ur.js +1 -1
  214. package/dist/translations/ur.umd.js +1 -1
  215. package/dist/translations/uz.js +1 -1
  216. package/dist/translations/uz.umd.js +1 -1
  217. package/dist/translations/vi.js +1 -1
  218. package/dist/translations/vi.umd.js +1 -1
  219. package/dist/translations/zh-cn.js +1 -1
  220. package/dist/translations/zh-cn.umd.js +1 -1
  221. package/dist/translations/zh.js +1 -1
  222. package/dist/translations/zh.umd.js +1 -1
  223. package/lang/translations/af.po +224 -0
  224. package/lang/translations/ar.po +232 -0
  225. package/lang/translations/ast.po +224 -0
  226. package/lang/translations/az.po +224 -0
  227. package/lang/translations/be.po +226 -0
  228. package/lang/translations/bg.po +224 -0
  229. package/lang/translations/bn.po +224 -0
  230. package/lang/translations/bs.po +226 -0
  231. package/lang/translations/ca.po +224 -0
  232. package/lang/translations/cs.po +226 -0
  233. package/lang/translations/da.po +224 -0
  234. package/lang/translations/de-ch.po +224 -0
  235. package/lang/translations/de.po +224 -0
  236. package/lang/translations/el.po +224 -0
  237. package/lang/translations/en-au.po +224 -0
  238. package/lang/translations/en-gb.po +224 -0
  239. package/lang/translations/en.po +224 -0
  240. package/lang/translations/eo.po +224 -0
  241. package/lang/translations/es-co.po +224 -0
  242. package/lang/translations/es.po +224 -0
  243. package/lang/translations/et.po +224 -0
  244. package/lang/translations/eu.po +224 -0
  245. package/lang/translations/fa.po +222 -0
  246. package/lang/translations/fi.po +224 -0
  247. package/lang/translations/fr.po +224 -0
  248. package/lang/translations/gl.po +224 -0
  249. package/lang/translations/gu.po +224 -0
  250. package/lang/translations/he.po +224 -0
  251. package/lang/translations/hi.po +224 -0
  252. package/lang/translations/hr.po +226 -0
  253. package/lang/translations/hu.po +224 -0
  254. package/lang/translations/hy.po +224 -0
  255. package/lang/translations/id.po +222 -0
  256. package/lang/translations/it.po +224 -0
  257. package/lang/translations/ja.po +222 -0
  258. package/lang/translations/jv.po +224 -0
  259. package/lang/translations/kk.po +224 -0
  260. package/lang/translations/km.po +222 -0
  261. package/lang/translations/kn.po +224 -0
  262. package/lang/translations/ko.po +222 -0
  263. package/lang/translations/ku.po +224 -0
  264. package/lang/translations/lt.po +226 -0
  265. package/lang/translations/lv.po +226 -0
  266. package/lang/translations/ms.po +222 -0
  267. package/lang/translations/nb.po +224 -0
  268. package/lang/translations/ne.po +224 -0
  269. package/lang/translations/nl.po +224 -0
  270. package/lang/translations/no.po +224 -0
  271. package/lang/translations/oc.po +224 -0
  272. package/lang/translations/pl.po +226 -0
  273. package/lang/translations/pt-br.po +224 -0
  274. package/lang/translations/pt.po +224 -0
  275. package/lang/translations/ro.po +226 -0
  276. package/lang/translations/ru.po +226 -0
  277. package/lang/translations/si.po +224 -0
  278. package/lang/translations/sk.po +226 -0
  279. package/lang/translations/sl.po +228 -0
  280. package/lang/translations/sq.po +224 -0
  281. package/lang/translations/sr-latn.po +226 -0
  282. package/lang/translations/sr.po +226 -0
  283. package/lang/translations/sv.po +224 -0
  284. package/lang/translations/th.po +222 -0
  285. package/lang/translations/ti.po +224 -0
  286. package/lang/translations/tk.po +224 -0
  287. package/lang/translations/tr.po +224 -0
  288. package/lang/translations/tt.po +222 -0
  289. package/lang/translations/ug.po +222 -0
  290. package/lang/translations/uk.po +226 -0
  291. package/lang/translations/ur.po +224 -0
  292. package/lang/translations/uz.po +224 -0
  293. package/lang/translations/vi.po +222 -0
  294. package/lang/translations/zh-cn.po +222 -0
  295. package/lang/translations/zh.po +222 -0
  296. package/package.json +15 -15
  297. package/src/aiactions/aiactions.js +1 -1
  298. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  299. package/src/aiactions/model/aiactionsreply.js +1 -1
  300. package/src/aiassistant/adapters/aiadapter.js +1 -1
  301. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  302. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  303. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  304. package/src/aiassistant/aiassistant.js +1 -1
  305. package/src/aiassistant/aiassistantediting.js +1 -1
  306. package/src/aiassistant/aiassistantui.js +1 -1
  307. package/src/aiassistant/legacyerrors.js +1 -1
  308. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  309. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  310. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  311. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  312. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  313. package/src/aiassistant/ui/form/aiformview.js +1 -1
  314. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  315. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  316. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  317. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  318. package/src/aiassistant/utils/common-translations.js +1 -1
  319. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  320. package/src/aiballoon/aiballoon.js +1 -1
  321. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  322. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  323. package/src/aiballoon/ui/aiballoonview.js +1 -1
  324. package/src/aichat/aichat.d.ts +12 -4
  325. package/src/aichat/aichat.js +1 -1
  326. package/src/aichat/aichatcontroller.d.ts +0 -1
  327. package/src/aichat/aichatcontroller.js +1 -1
  328. package/src/aichat/aichatui.d.ts +0 -1
  329. package/src/aichat/aichatui.js +1 -1
  330. package/src/aichat/model/aichatcontext.d.ts +0 -30
  331. package/src/aichat/model/aichatcontext.js +1 -1
  332. package/src/aichat/model/aichatconversation.js +1 -1
  333. package/src/aichat/model/aichatinteraction.d.ts +3 -0
  334. package/src/aichat/model/aichatinteraction.js +1 -1
  335. package/src/aichat/model/aichatmodels.js +1 -1
  336. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  337. package/src/aichat/ui/aichatfeedview.js +1 -1
  338. package/src/aichat/ui/aichatheaderview.js +1 -1
  339. package/src/aichat/ui/aichatview.js +1 -1
  340. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  341. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  342. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  343. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  344. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  345. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  346. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  347. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  348. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  349. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  350. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  351. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  352. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  353. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  354. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  355. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  356. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  357. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  358. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  359. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  360. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  361. package/src/aichat/utils/eventnames.js +1 -1
  362. package/src/aichat/utils/promisequeue.js +1 -1
  363. package/src/aichat/utils/scrollmanager.js +1 -1
  364. package/src/aichathistory/aichathistory.js +1 -1
  365. package/src/aichathistory/aichathistorycontroller.d.ts +0 -1
  366. package/src/aichathistory/aichathistorycontroller.js +1 -1
  367. package/src/aichathistory/aichathistoryui.d.ts +0 -1
  368. package/src/aichathistory/aichathistoryui.js +1 -1
  369. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  370. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  371. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  372. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  373. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  374. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  375. package/src/aiconfig.d.ts +47 -9
  376. package/src/aicore/aiconnector.d.ts +2 -3
  377. package/src/aicore/aiconnector.js +1 -1
  378. package/src/aicore/aiediting.d.ts +0 -1
  379. package/src/aicore/aiediting.js +1 -1
  380. package/src/aicore/model/aicapabilities.js +1 -1
  381. package/src/aicore/model/aicontext.js +1 -1
  382. package/src/aicore/model/aiinteraction.js +1 -1
  383. package/src/aicore/model/aireply.js +1 -1
  384. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  385. package/src/aicore/pipeline/airesponseparser.js +2 -2
  386. package/src/aicore/ui/aidisclaimerview.js +1 -1
  387. package/src/aicore/ui/aiskeleton.js +1 -1
  388. package/src/aicore/ui/aispinner.js +1 -1
  389. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  390. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  391. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  392. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  393. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  394. package/src/aicore/utils/common-translations.js +1 -1
  395. package/src/aicore/utils/createresizebutton.js +1 -1
  396. package/src/aicore/utils/documentposition.js +1 -1
  397. package/src/aicore/utils/documentrange.js +1 -1
  398. package/src/aicore/utils/eventnames.d.ts +0 -1
  399. package/src/aicore/utils/eventnames.js +1 -1
  400. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  401. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  402. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  403. package/src/aicore/utils/htmlparser.js +1 -1
  404. package/src/aicore/utils/htmlstreamer.js +1 -1
  405. package/src/aieditorintegration/aieditorintegration.js +1 -1
  406. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -0
  407. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  408. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  409. package/src/aiquickactions/aiquickactions.d.ts +164 -0
  410. package/src/aiquickactions/aiquickactions.js +1 -1
  411. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  412. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  413. package/src/aiquickactions/aiquickactionsui.js +1 -1
  414. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  415. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  416. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  417. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +0 -1
  418. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  419. package/src/aireviewmode/aireviewmode.d.ts +29 -0
  420. package/src/aireviewmode/aireviewmode.js +1 -1
  421. package/src/aireviewmode/aireviewmodecontroller.d.ts +0 -1
  422. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  423. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -2
  424. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  425. package/src/aireviewmode/aireviewmodeui.d.ts +0 -1
  426. package/src/aireviewmode/aireviewmodeui.js +1 -1
  427. package/src/aireviewmode/model/aireviewcheck.d.ts +0 -1
  428. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  429. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +0 -1
  430. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  431. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  432. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  433. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  434. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  435. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +0 -1
  436. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  437. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  438. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +0 -1
  439. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  440. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  441. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  442. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  443. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  444. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  445. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  446. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  447. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  448. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  449. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  450. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  451. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  452. package/src/aitabs/aitabs.d.ts +6 -2
  453. package/src/aitabs/aitabs.js +1 -1
  454. package/src/aitabs/aitabsmainview.js +1 -1
  455. package/src/aitabs/tabs/aitabsview.js +1 -1
  456. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  457. package/src/aitabs/tabs/tabpanelview.js +1 -1
  458. package/src/index.js +1 -1
  459. package/theme/aichat/aichat.css +1 -0
  460. package/theme/aichat/aichatfeed.css +39 -0
  461. package/theme/aieditorintegration/aitogglebutton.css +23 -0
  462. package/theme/aiquickactions/aiquickactions.css +23 -4
  463. package/theme/aireviewmode/aireviewmode.css +23 -0
  464. package/theme/common/aibutton.css +1 -1
  465. package/theme/common/aitrackchanges.css +13 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1171fb,_0x1d471f){const _0x597c55=_0x1ada,_0x1488b7=_0x1171fb();while(!![]){try{const _0x572cee=-parseInt(_0x597c55(0x1b2))/0x1*(parseInt(_0x597c55(0x1b0))/0x2)+-parseInt(_0x597c55(0x1c7))/0x3*(-parseInt(_0x597c55(0x1c8))/0x4)+parseInt(_0x597c55(0x1b6))/0x5*(parseInt(_0x597c55(0x1bd))/0x6)+parseInt(_0x597c55(0x1b8))/0x7*(parseInt(_0x597c55(0x1ae))/0x8)+-parseInt(_0x597c55(0x1c5))/0x9+-parseInt(_0x597c55(0x1b1))/0xa*(parseInt(_0x597c55(0x1b9))/0xb)+parseInt(_0x597c55(0x1b5))/0xc*(parseInt(_0x597c55(0x1b4))/0xd);if(_0x572cee===_0x1d471f)break;else _0x1488b7['push'](_0x1488b7['shift']());}catch(_0x595182){_0x1488b7['push'](_0x1488b7['shift']());}}}(_0x5c5a,0x4e3e9));import{parseDocument as _0x37d8c5}from'htmlparser2';import{append as _0x17507f,appendChild as _0x48678e,find as _0x39eda9,findAll as _0x26e2ca,findOne as _0x17a384,getChildren as _0xc63d4f,isComment as _0x11dd48,isTag as _0xfe346c,prepend as _0x352f0b,prependChild as _0x426be7,removeElement as _0x4089d4,replaceElement as _0x5db633,textContent as _0x26da12,getParent as _0x2cdd7a,hasChildren as _0x5ddc9e}from'domutils';import _0xf2bc8c from'dom-serializer';import{cloneNode as _0x987890,isDocument as _0x4d33bc,isText as _0x12102a,Element as _0x25c1de,Text as _0x4ea8ef,Document as _0x32406d,NodeWithChildren as _0x2f9fb7}from'domhandler';function _0x1ada(_0xebf1f3,_0x453198){const _0x5c5aa8=_0x5c5a();return _0x1ada=function(_0x1adac3,_0x774e3a){_0x1adac3=_0x1adac3-0x1ad;let _0x33b9db=_0x5c5aa8[_0x1adac3];return _0x33b9db;},_0x1ada(_0xebf1f3,_0x453198);}export{_0x987890 as cloneNode,_0x39eda9 as find,_0x17a384 as findOne,_0x26e2ca as findAll,_0xc63d4f as getChildren,_0x2cdd7a as getParent,_0x11dd48 as isComment,_0x4d33bc as isDocument,_0xfe346c as isTag,_0x12102a as isText,_0x17507f as append,_0x48678e as appendChild,_0x352f0b as prepend,_0x426be7 as prependChild,_0xf2bc8c as render,_0x4089d4 as removeElement,_0x5db633 as replaceElement,_0x26da12 as textContent,_0x5ddc9e as hasChildren,_0x25c1de as Element,_0x32406d as Document,_0x2f9fb7 as NodeWithChildren,_0x4ea8ef as Text};export function parse(_0x25908c){return _0x37d8c5(_0x25908c);}function _0x5c5a(){const _0x37ea9c=['attribs','nextSibling','reverse','slice','afterend','push','4533264vAKYTB','beforebegin','1311ZTfKui','76tofbDF','forEach','16nIjXMr','indexOf','63896HFdQmY','1597170VUgvUj','19gDFmVM','beforeend','221OsrMoF','342828bCwkzt','1376315nQiTCm','cloneNode','1912442SymtGF','11CSywLn','replace','afterbegin','parentNode','12pVeNuk','map'];_0x5c5a=function(){return _0x37ea9c;};return _0x5c5a();}export function serialize(_0x2752a5){return _0xf2bc8c(_0x2752a5);}export function findByAttribute(_0x2340f6,_0x5dbb6a,_0x36138a){const _0x2a47a8=_0x1ada,_0x195f9a=null!==_0x5dbb6a?_0xaa3ec1=>_0xaa3ec1[_0x2a47a8(0x1bf)][_0x2340f6]===_0x5dbb6a:_0x498656=>Boolean(_0x498656[_0x2a47a8(0x1bf)][_0x2340f6]);return _0x17a384(_0x3cd678=>_0xfe346c(_0x3cd678)&&_0x195f9a(_0x3cd678),_0x36138a);}export function findAllByAttribute(_0x4e4b28,_0x4affab,_0x4013e4){const _0x357e4e=_0x1ada,_0x39f9cc=null!==_0x4affab?_0x3a2910=>_0x3a2910[_0x357e4e(0x1bf)][_0x4e4b28]===_0x4affab:_0x3ba5c1=>Boolean(_0x3ba5c1[_0x357e4e(0x1bf)][_0x4e4b28]);return _0x26e2ca(_0x4ff382=>_0xfe346c(_0x4ff382)&&_0x39f9cc(_0x4ff382),_0x4013e4);}export function findAllComments(_0xc8577e){return _0x39eda9(_0x191811=>_0x11dd48(_0x191811),_0xc8577e,!0x0,0x1/0x0);}export function getAttribute(_0x5740e2,_0x1cf419){const _0x1d0224=_0x1ada;return _0x5740e2&&_0xfe346c(_0x5740e2)?_0x5740e2[_0x1d0224(0x1bf)][_0x1cf419]:null;}export function setAttribute(_0x2de878,_0x50b4de,_0x431571){const _0xf24e9a=_0x1ada;_0xfe346c(_0x2de878)&&(null===_0x431571?delete _0x2de878[_0xf24e9a(0x1bf)][_0x50b4de]:_0x2de878[_0xf24e9a(0x1bf)][_0x50b4de]=_0x431571);}export function insertElement(_0x6eed98,_0xe0b24e,_0x183403){const _0x36e4a3=_0x1ada,_0x3318a2=_0xe0b24e[_0x36e4a3(0x1b7)](!0x0);_0x36e4a3(0x1c6)===_0x183403?_0x352f0b(_0x6eed98,_0x3318a2):_0x36e4a3(0x1bb)===_0x183403?_0x426be7(_0x6eed98,_0x3318a2):_0x36e4a3(0x1b3)===_0x183403?_0x48678e(_0x6eed98,_0x3318a2):_0x36e4a3(0x1c3)===_0x183403&&_0x17507f(_0x6eed98,_0x3318a2);}export function moveElement(_0x173ab3,_0x483711){_0x4089d4(_0x173ab3),_0x5db633(_0x483711,_0x173ab3);}export function clone(_0x345c98){const _0x3c09d5=_0x1ada;return _0x345c98[_0x3c09d5(0x1b7)](!0x0);}export function getParents(_0x485792){const _0x59a481=_0x1ada,_0x4102c9=[];let _0x357dce=_0x485792;for(;_0x357dce;)_0x357dce=_0x2cdd7a(_0x357dce),_0x357dce&&_0x4102c9[_0x59a481(0x1c4)](_0x357dce);return _0x4102c9;}export function normalizeHTML(_0x2c6cab){const _0x67961f=_0x1ada;return _0x2c6cab[_0x67961f(0x1ba)](/^\s+/gm,'')[_0x67961f(0x1ba)](/\s+$/gm,'')[_0x67961f(0x1ba)](/\n*/g,'')[_0x67961f(0x1ba)](/\s+/g,'\x20')[_0x67961f(0x1ba)](/>\s*</g,'><');}export function areNodesSame(_0xc956d9,_0x42bfdf){return normalizeHTML(serialize(_0xc956d9))===normalizeHTML(serialize(_0x42bfdf));}export function getNodeNestingLevel(_0x2b1cc8){const _0x160dd6=_0x1ada;let _0xdb1be1=0x0;for(;_0x2b1cc8[_0x160dd6(0x1bc)];)_0x2b1cc8=_0x2b1cc8[_0x160dd6(0x1bc)],_0xdb1be1++;return _0xdb1be1;}export function removeElementsAfter(_0x48bb1b){const _0x3f53e1=_0x1ada,_0x3ee734=[];let _0x4c6a80=_0x48bb1b[_0x3f53e1(0x1c0)];for(;_0x4c6a80;)_0x3ee734[_0x3f53e1(0x1c4)](_0x4c6a80),_0x4c6a80=_0x4c6a80[_0x3f53e1(0x1c0)];_0x3ee734[_0x3f53e1(0x1ad)](_0x7639e1=>{_0x4089d4(_0x7639e1);});}export function getNodePath(_0x230629){const _0x2d9545=_0x1ada;return[_0x230629,...getParents(_0x230629)][_0x2d9545(0x1c2)](0x0,-0x1)[_0x2d9545(0x1be)](_0x1fd993=>{const _0x81424c=_0x2d9545,_0x48eac2=_0x2cdd7a(_0x1fd993);return _0xc63d4f(_0x48eac2)[_0x81424c(0x1af)](_0x1fd993);})[_0x2d9545(0x1c1)]();}
23
+ (function(_0x109275,_0x32efc1){const _0x102571=_0x5cde,_0xf2fabe=_0x109275();while(!![]){try{const _0x23ef04=parseInt(_0x102571(0x1e0))/0x1*(parseInt(_0x102571(0x1d5))/0x2)+-parseInt(_0x102571(0x1e3))/0x3+parseInt(_0x102571(0x1d2))/0x4+parseInt(_0x102571(0x1dd))/0x5*(parseInt(_0x102571(0x1e4))/0x6)+-parseInt(_0x102571(0x1cf))/0x7*(parseInt(_0x102571(0x1d4))/0x8)+-parseInt(_0x102571(0x1d1))/0x9+-parseInt(_0x102571(0x1d8))/0xa*(-parseInt(_0x102571(0x1dc))/0xb);if(_0x23ef04===_0x32efc1)break;else _0xf2fabe['push'](_0xf2fabe['shift']());}catch(_0x54adc8){_0xf2fabe['push'](_0xf2fabe['shift']());}}}(_0x8ae3,0x3e211));import{parseDocument as _0x24af7b}from'htmlparser2';import{append as _0x55f5f4,appendChild as _0xb7a64f,find as _0x2e54b3,findAll as _0x1aa146,findOne as _0x46b1c3,getChildren as _0x184ef7,isComment as _0x326239,isTag as _0x22126d,prepend as _0x41f3f8,prependChild as _0x5ebaf8,removeElement as _0x422db5,replaceElement as _0x10225e,textContent as _0x4c1f06,getParent as _0x38eb73,hasChildren as _0x5dc74d}from'domutils';import _0x4dca0c from'dom-serializer';import{cloneNode as _0x2ed271,isDocument as _0x3bd181,isText as _0x209bf8,Element as _0x38e279,Text as _0x5697cb,Document as _0x1d80ac,NodeWithChildren as _0x3d14ba}from'domhandler';export{_0x2ed271 as cloneNode,_0x2e54b3 as find,_0x46b1c3 as findOne,_0x1aa146 as findAll,_0x184ef7 as getChildren,_0x38eb73 as getParent,_0x326239 as isComment,_0x3bd181 as isDocument,_0x22126d as isTag,_0x209bf8 as isText,_0x55f5f4 as append,_0xb7a64f as appendChild,_0x41f3f8 as prepend,_0x5ebaf8 as prependChild,_0x4dca0c as render,_0x422db5 as removeElement,_0x10225e as replaceElement,_0x4c1f06 as textContent,_0x5dc74d as hasChildren,_0x38e279 as Element,_0x1d80ac as Document,_0x3d14ba as NodeWithChildren,_0x5697cb as Text};export function parse(_0x280e6c){return _0x24af7b(_0x280e6c);}export function serialize(_0x268b41){return _0x4dca0c(_0x268b41);}export function findByAttribute(_0x36936e,_0x2c570a,_0x4bd1cc){const _0x1912ea=_0x5cde,_0x56086f=null!==_0x2c570a?_0x580ccc=>_0x580ccc[_0x1912ea(0x1d7)][_0x36936e]===_0x2c570a:_0x3eb823=>Boolean(_0x3eb823[_0x1912ea(0x1d7)][_0x36936e]);return _0x46b1c3(_0x2453dd=>_0x22126d(_0x2453dd)&&_0x56086f(_0x2453dd),_0x4bd1cc);}export function findAllByAttribute(_0x366f5e,_0x317c15,_0x774df6){const _0x4dc485=_0x5cde,_0x40429f=null!==_0x317c15?_0x3b8ac8=>_0x3b8ac8[_0x4dc485(0x1d7)][_0x366f5e]===_0x317c15:_0x258954=>Boolean(_0x258954[_0x4dc485(0x1d7)][_0x366f5e]);return _0x1aa146(_0x44c060=>_0x22126d(_0x44c060)&&_0x40429f(_0x44c060),_0x774df6);}export function findAllComments(_0x33c131){return _0x2e54b3(_0x3641a9=>_0x326239(_0x3641a9),_0x33c131,!0x0,0x1/0x0);}export function getAttribute(_0x2a45d8,_0x1d30ae){const _0x143a58=_0x5cde;return _0x2a45d8&&_0x22126d(_0x2a45d8)?_0x2a45d8[_0x143a58(0x1d7)][_0x1d30ae]:null;}export function setAttribute(_0x4255c1,_0x153cf6,_0x3ce920){const _0x10f371=_0x5cde;_0x22126d(_0x4255c1)&&(null===_0x3ce920?delete _0x4255c1[_0x10f371(0x1d7)][_0x153cf6]:_0x4255c1[_0x10f371(0x1d7)][_0x153cf6]=_0x3ce920);}export function insertElement(_0x35a209,_0xb25dcb,_0x5d0068){const _0x344dfe=_0x5cde,_0x44dadf=_0xb25dcb[_0x344dfe(0x1d9)](!0x0);_0x344dfe(0x1df)===_0x5d0068?_0x41f3f8(_0x35a209,_0x44dadf):_0x344dfe(0x1e6)===_0x5d0068?_0x5ebaf8(_0x35a209,_0x44dadf):_0x344dfe(0x1d0)===_0x5d0068?_0xb7a64f(_0x35a209,_0x44dadf):_0x344dfe(0x1d6)===_0x5d0068&&_0x55f5f4(_0x35a209,_0x44dadf);}export function moveElement(_0x2edf21,_0x13dc65){_0x422db5(_0x2edf21),_0x10225e(_0x13dc65,_0x2edf21);}function _0x5cde(_0x6134b9,_0x287e83){const _0x8ae300=_0x8ae3();return _0x5cde=function(_0x5cdeef,_0x366670){_0x5cdeef=_0x5cdeef-0x1cd;let _0xbcaa9a=_0x8ae300[_0x5cdeef];return _0xbcaa9a;},_0x5cde(_0x6134b9,_0x287e83);}export function clone(_0x1c88b3){const _0x2152e7=_0x5cde;return _0x1c88b3[_0x2152e7(0x1d9)](!0x0);}export function getParents(_0x8715e6){const _0x413131=_0x5cde,_0x49220a=[];let _0x1771d1=_0x8715e6;for(;_0x1771d1;)_0x1771d1=_0x38eb73(_0x1771d1),_0x1771d1&&_0x49220a[_0x413131(0x1e2)](_0x1771d1);return _0x49220a;}export function normalizeHTML(_0x442eeb){const _0x2b3bca=_0x5cde;return _0x442eeb[_0x2b3bca(0x1da)](/^\s+/gm,'')[_0x2b3bca(0x1da)](/\s+$/gm,'')[_0x2b3bca(0x1da)](/\n*/g,'')[_0x2b3bca(0x1da)](/\s+/g,'\x20')[_0x2b3bca(0x1da)](/>\s*</g,'><');}export function areNodesSame(_0x54dd2,_0x1e5a6f){return normalizeHTML(serialize(_0x54dd2))===normalizeHTML(serialize(_0x1e5a6f));}export function getNodeNestingLevel(_0x3ccc45){const _0x2a2a61=_0x5cde;let _0xf71a4c=0x0;for(;_0x3ccc45[_0x2a2a61(0x1e1)];)_0x3ccc45=_0x3ccc45[_0x2a2a61(0x1e1)],_0xf71a4c++;return _0xf71a4c;}export function removeElementsAfter(_0x2f1657){const _0x2c27fc=_0x5cde,_0x39f8f2=[];let _0xdc8764=_0x2f1657[_0x2c27fc(0x1de)];for(;_0xdc8764;)_0x39f8f2[_0x2c27fc(0x1e2)](_0xdc8764),_0xdc8764=_0xdc8764[_0x2c27fc(0x1de)];_0x39f8f2[_0x2c27fc(0x1d3)](_0x34d32a=>{_0x422db5(_0x34d32a);});}export function getNodePath(_0x436538){const _0x291874=_0x5cde;return[_0x436538,...getParents(_0x436538)][_0x291874(0x1ce)](0x0,-0x1)[_0x291874(0x1cd)](_0x4a2aa8=>{const _0x30cc5d=_0x291874,_0x3d575a=_0x38eb73(_0x4a2aa8);return _0x184ef7(_0x3d575a)[_0x30cc5d(0x1e5)](_0x4a2aa8);})[_0x291874(0x1db)]();}function _0x8ae3(){const _0x4f6ca6=['attribs','163070GrysHU','cloneNode','replace','reverse','264XQokBJ','65MUZAxq','nextSibling','beforebegin','287273kCiFvp','parentNode','push','1179627DjaGoi','156012azJsEp','indexOf','afterbegin','map','slice','28IicHMb','beforeend','372447BLvUYT','221704RyopLo','forEach','766040jDLVsR','2UhhkBC','afterend'];_0x8ae3=function(){return _0x4f6ca6;};return _0x8ae3();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15fb0b=_0x4ea2;(function(_0x1e751a,_0x55f5a4){const _0x1276ce=_0x4ea2,_0x34653e=_0x1e751a();while(!![]){try{const _0x2195fa=-parseInt(_0x1276ce(0xb3))/0x1*(parseInt(_0x1276ce(0xbd))/0x2)+-parseInt(_0x1276ce(0xc0))/0x3*(parseInt(_0x1276ce(0xc1))/0x4)+-parseInt(_0x1276ce(0xa3))/0x5+parseInt(_0x1276ce(0xaf))/0x6+-parseInt(_0x1276ce(0x9e))/0x7*(-parseInt(_0x1276ce(0xb7))/0x8)+parseInt(_0x1276ce(0xa2))/0x9*(parseInt(_0x1276ce(0x98))/0xa)+parseInt(_0x1276ce(0xad))/0xb;if(_0x2195fa===_0x55f5a4)break;else _0x34653e['push'](_0x34653e['shift']());}catch(_0x40eb12){_0x34653e['push'](_0x34653e['shift']());}}}(_0x5ca5,0x5dba2));import _0x33dc47 from'morphdom';import{NodeWithChildren as _0x598cf6,Text as _0x4fb4f5,Element as _0x420855,isText as _0x464f83,isDocument as _0x277b79,isTag as _0x4af61f,cloneNode as _0x22c74c,getChildren as _0x14196e,prepend as _0xd01543,removeElement as _0x3488a9,textContent as _0x2fe09b,render as _0x425cf7}from'./htmlparser.js';import{logWarning as _0x4226fd}from'ckeditor5/src/utils.js';function _0x5ca5(){const _0x290fb5=['stop','tagName','mark','reverse','signal','push','ins','options','shouldBeStreamed','del','span[data-ck-html-streamer-word-chunk]','document','cleanUpAnimations','forEach','map','div','renderNode','childNodes','isStreaming','170NaXWya','sup','children','join','getParsedDocumentNodeList','html-streamer-current-index-out-of-bounds','148477HpxtKv','timeoutAbortController','abort','splitTextNodeIntoWordNodes','136359uCQeUr','2471355ThCxxo','includes','textNodeStyle','sub','length','bind','delay','nodesList','parent','code','13064370EBuczA','span','230070njxSKJ','currentIndex','replaceWith','onStreamUpdate','1olIiWU','from','strong','now','32CMAgZY','isWordSplitSource','stream','isWordSplitResult','querySelectorAll','match','285698xjjAQc','attribs','addEventListener','2550YODmvk','2576EcNrOc','entries'];_0x5ca5=function(){return _0x290fb5;};return _0x5ca5();}function _0x4ea2(_0x2e5c1d,_0x427384){const _0x5ca5bb=_0x5ca5();return _0x4ea2=function(_0x4ea2ab,_0x57300a){_0x4ea2ab=_0x4ea2ab-0x95;let _0x27492c=_0x5ca5bb[_0x4ea2ab];return _0x27492c;},_0x4ea2(_0x2e5c1d,_0x427384);}export class HTMLStreamer{[_0x15fb0b(0xca)];[_0x15fb0b(0x97)]=!0x1;[_0x15fb0b(0xce)]=null;[_0x15fb0b(0xaa)]=[];[_0x15fb0b(0xb0)]=0x0;[_0x15fb0b(0x9f)]=null;constructor(_0x4ec4c5){const _0x1af0de=_0x15fb0b;this[_0x1af0de(0xca)]={'delay':_0x4ec4c5[_0x1af0de(0xa9)]??0x14,'textNodeStyle':_0x4ec4c5[_0x1af0de(0xa5)],'onStreamUpdate':_0x4ec4c5[_0x1af0de(0xb2)]||(()=>{})};}async[_0x15fb0b(0xb9)]({document:_0x51a756,targetElement:_0xd1f9ee,abortSignal:_0xe1943d}){const _0x5dd1fa=_0x15fb0b;this[_0x5dd1fa(0x97)]&&this[_0x5dd1fa(0xc3)](),_0xe1943d?.[_0x5dd1fa(0xbf)](_0x5dd1fa(0xa0),this[_0x5dd1fa(0xc3)][_0x5dd1fa(0xa8)](this)),this[_0x5dd1fa(0xce)]=_0x22c74c(_0x51a756,!0x0),this[_0x5dd1fa(0xaa)]=this[_0x5dd1fa(0x9c)](),this[_0x5dd1fa(0x97)]=!0x0,this[_0x5dd1fa(0xb0)]>this[_0x5dd1fa(0xaa)][_0x5dd1fa(0xa7)]&&(_0x4226fd(_0x5dd1fa(0x9d),{'currentIndex':this[_0x5dd1fa(0xb0)],'nodeList':this[_0x5dd1fa(0xaa)]}),this[_0x5dd1fa(0xb0)]=this[_0x5dd1fa(0xaa)][_0x5dd1fa(0xa7)]);for(let _0x34357e=0x0;_0x34357e<this[_0x5dd1fa(0xb0)];_0x34357e++)this[_0x5dd1fa(0xaa)][_0x34357e][_0x5dd1fa(0xcb)]=!0x0;let _0x1ca46f=0x0;for(let _0x5eaa14=this[_0x5dd1fa(0xb0)];_0x5eaa14<this[_0x5dd1fa(0xaa)][_0x5dd1fa(0xa7)];_0x5eaa14++){const _0x49eac0=Date[_0x5dd1fa(0xb6)](),_0x475558=this[_0x5dd1fa(0xaa)][_0x5eaa14],_0x236663=_0x49eac0-_0x1ca46f;_0x475558[_0x5dd1fa(0xcb)]=!0x0;let _0xf5c7ac=_0x475558[_0x5dd1fa(0xab)];for(;_0xf5c7ac;)_0xf5c7ac[_0x5dd1fa(0xcb)]=!0x0,_0xf5c7ac=_0xf5c7ac[_0x5dd1fa(0xab)];if(_0x236663<this[_0x5dd1fa(0xca)][_0x5dd1fa(0xa9)])try{const {promise:_0x3efc2f,abortController:_0x589cfb}=mr(this[_0x5dd1fa(0xca)][_0x5dd1fa(0xa9)]-_0x236663);this[_0x5dd1fa(0x9f)]=_0x589cfb,await _0x3efc2f;}catch(_0x2921d1){return;}_0x33dc47(_0xd1f9ee,'<'+_0xd1f9ee[_0x5dd1fa(0xc4)]+'>'+this[_0x5dd1fa(0x95)](this[_0x5dd1fa(0xce)])+'</'+_0xd1f9ee[_0x5dd1fa(0xc4)]+'>',{'childrenOnly':!0x0}),this[_0x5dd1fa(0xca)][_0x5dd1fa(0xb2)]&&this[_0x5dd1fa(0xca)][_0x5dd1fa(0xb2)](),this[_0x5dd1fa(0xb0)]=_0x5eaa14,_0x1ca46f=Date[_0x5dd1fa(0xb6)]();}this[_0x5dd1fa(0x97)]=!0x1;}[_0x15fb0b(0xcf)]({targetElement:_0x531e65}){const _0x52f684=_0x15fb0b;Array[_0x52f684(0xb4)](_0x531e65[_0x52f684(0xbb)](_0x52f684(0xcd)))[_0x52f684(0xc6)]()[_0x52f684(0xd0)](_0x1e9936=>{const _0x3c3ab6=_0x52f684;_0x1e9936[_0x3c3ab6(0xb1)](_0x1e9936[_0x3c3ab6(0x96)][0x0]);});}[_0x15fb0b(0xc3)](){const _0x3b8c35=_0x15fb0b;this[_0x3b8c35(0x97)]=!0x1,this[_0x3b8c35(0x9f)]&&(this[_0x3b8c35(0x9f)][_0x3b8c35(0xa0)](),this[_0x3b8c35(0x9f)]=null);}[_0x15fb0b(0x95)](_0x12b004){const _0x544c57=_0x15fb0b;let _0x55a643='';if(function(_0x29c1f1){return _0x277b79(_0x29c1f1);}(_0x12b004)){for(const _0x4cb9fa of _0x12b004[_0x544c57(0x9a)])_0x55a643+=this[_0x544c57(0x95)](_0x4cb9fa);}else{if(ar(_0x12b004)){if(!_0x12b004[_0x544c57(0xcb)])return'';const _0x5077cc=_0x12b004,_0x552ca4=Object[_0x544c57(0xc2)](_0x5077cc[_0x544c57(0xbe)])[_0x544c57(0xd1)](([_0x5b9c1b,_0x5bdb10])=>_0x5b9c1b+'=\x22'+_0x5bdb10+'\x22')[_0x544c57(0x9b)]('\x20');_0x55a643+='<'+_0x5077cc[_0x544c57(0xc4)]+(_0x552ca4?'\x20'+_0x552ca4:'')+'>';for(const _0x82a1d4 of _0x14196e(_0x5077cc))_0x55a643+=this[_0x544c57(0x95)](_0x82a1d4);_0x55a643+='</'+_0x5077cc[_0x544c57(0xc4)]+'>';}else{if(!cr(_0x12b004))return'';if(!_0x12b004[_0x544c57(0xcb)])return'';!function(_0x41fb14){const _0x581545=_0x544c57;if(!_0x41fb14[_0x581545(0xab)]||!ar(_0x41fb14[_0x581545(0xab)]))return!0x1;if(!hr[_0x581545(0xa4)](_0x41fb14[_0x581545(0xab)][_0x581545(0xc4)]))return!0x1;return!_0x2fe09b(_0x41fb14)[_0x581545(0xbc)](/^\s*[<>]\s*$/);}(_0x12b004)?_0x55a643+=_0x425cf7(_0x12b004):_0x55a643+=_0x425cf7(new _0x420855(_0x544c57(0xae),{'data-ck-html-streamer-word-chunk':'','style':this[_0x544c57(0xca)][_0x544c57(0xa5)]},[_0x12b004]));}}return _0x55a643;}[_0x15fb0b(0x9c)](){const _0x2eba0b=_0x15fb0b,_0xb439f5=[];return function(_0x3bb030,_0x22e9fb){const _0x4d5f47=_0x4ea2,_0x1c9c14=_0x2a5649=>{const _0x20c9e0=_0x4ea2;if(_0x22e9fb(_0x2a5649),_0x2a5649 instanceof _0x598cf6)for(let _0x4fc30b=0x0;_0x4fc30b<_0x2a5649[_0x20c9e0(0x9a)][_0x20c9e0(0xa7)];_0x4fc30b++){const _0x5a0bd2=_0x2a5649[_0x20c9e0(0x9a)][_0x4fc30b];_0x1c9c14(_0x5a0bd2);}};for(let _0x3ee8b0=0x0;_0x3ee8b0<_0x3bb030[_0x4d5f47(0x9a)][_0x4d5f47(0xa7)];_0x3ee8b0++)_0x1c9c14(_0x3bb030[_0x4d5f47(0x9a)][_0x3ee8b0]);}(this[_0x2eba0b(0xce)],_0x25aff1=>{const _0x37ef33=_0x2eba0b;if(cr(_0x25aff1)){const _0x291dc1=this[_0x37ef33(0xa1)](_0x25aff1);_0x291dc1[_0x37ef33(0xa7)]&&_0xb439f5[_0x37ef33(0xc8)](..._0x291dc1);}_0x25aff1[_0x37ef33(0xb8)]||_0x25aff1[_0x37ef33(0xba)]||_0xb439f5[_0x37ef33(0xc8)](_0x25aff1);}),_0xb439f5;}[_0x15fb0b(0xa1)](_0x3ac1db){const _0x57c49b=_0x15fb0b;if(_0x3ac1db[_0x57c49b(0xb8)]||_0x3ac1db[_0x57c49b(0xba)])return[];const _0x11ff70=_0x2fe09b(_0x3ac1db)[_0x57c49b(0xbc)](/(?:\s*\S+\s*)/g),_0x4b8768=[];if(_0x11ff70&&_0x11ff70[_0x57c49b(0xa7)]>0x1){for(const _0x50787b of _0x11ff70){const _0x15d669=new _0x4fb4f5(_0x50787b);_0x15d669[_0x57c49b(0xba)]=!0x0,_0xd01543(_0x3ac1db,_0x15d669),_0x4b8768[_0x57c49b(0xc8)](_0x15d669);}_0x3ac1db[_0x57c49b(0xb8)]=!0x0,_0x3488a9(_0x3ac1db);}return _0x4b8768;}}const hr=['p','li','td','th',_0x15fb0b(0xae),'h1','h2','h3','h4','h5','h6','b',_0x15fb0b(0xb5),'i','em',_0x15fb0b(0xc5),_0x15fb0b(0xcc),_0x15fb0b(0xc9),_0x15fb0b(0x99),_0x15fb0b(0xa6),'a',_0x15fb0b(0xac),_0x15fb0b(0xd2)];function cr(_0x578984){return _0x464f83(_0x578984);}function ar(_0x193efb){return _0x4af61f(_0x193efb);}function mr(_0x906bb8){const _0x33645b=new AbortController();return{'promise':new Promise((_0x2c2d5f,_0x278528)=>{const _0x554a4f=_0x4ea2,_0x510a6b=setTimeout(_0x2c2d5f,_0x906bb8);_0x33645b[_0x554a4f(0xc7)][_0x554a4f(0xbf)](_0x554a4f(0xa0),()=>{clearTimeout(_0x510a6b),_0x278528();});}),'abortController':_0x33645b};}
23
+ const _0x37c566=_0x3894;(function(_0x139c66,_0x128ded){const _0x3ec784=_0x3894,_0x31280f=_0x139c66();while(!![]){try{const _0x13a15c=parseInt(_0x3ec784(0x114))/0x1*(parseInt(_0x3ec784(0x108))/0x2)+-parseInt(_0x3ec784(0x116))/0x3*(-parseInt(_0x3ec784(0x10e))/0x4)+-parseInt(_0x3ec784(0xe6))/0x5*(parseInt(_0x3ec784(0xea))/0x6)+parseInt(_0x3ec784(0x11f))/0x7+parseInt(_0x3ec784(0x110))/0x8*(-parseInt(_0x3ec784(0x118))/0x9)+parseInt(_0x3ec784(0x10b))/0xa+-parseInt(_0x3ec784(0x11b))/0xb*(parseInt(_0x3ec784(0x107))/0xc);if(_0x13a15c===_0x128ded)break;else _0x31280f['push'](_0x31280f['shift']());}catch(_0x21af32){_0x31280f['push'](_0x31280f['shift']());}}}(_0x82cf,0xefb47));import _0x58e4a8 from'morphdom';import{NodeWithChildren as _0x580834,Text as _0x500aa1,Element as _0x578958,isText as _0x1a2782,isDocument as _0xe91847,isTag as _0x165b9b,cloneNode as _0x3a25a3,getChildren as _0x98aafc,prepend as _0x45ca8a,removeElement as _0x1cf2bb,textContent as _0x5123de,render as _0x54c9c3}from'./htmlparser.js';import{logWarning as _0x475735}from'ckeditor5/src/utils.js';function _0x82cf(){const _0x165365=['map','document','timeoutAbortController','addEventListener','entries','html-streamer-current-index-out-of-bounds','getParsedDocumentNodeList','stream','del','strong','join','cleanUpAnimations','sup','abort','attribs','336KrOGmv','3220658lozVkr','renderNode','length','5975700nrDapz','parent','span','9436ADCimA','isWordSplitResult','712fTwiQY','push','signal','match','1RdyuKZ','now','1047VaJXFh','splitTextNodeIntoWordNodes','114993EnDARf','includes','div','743501dJDYKN','childNodes','onStreamUpdate','tagName','9603790OQTxBg','code','span[data-ck-html-streamer-word-chunk]','replaceWith','nodesList','forEach','1958140VzwGhH','querySelectorAll','ins','currentIndex','6AGToea','from','shouldBeStreamed','bind','textNodeStyle','delay','isWordSplitSource','reverse','isStreaming','options','children','stop','mark','sub'];_0x82cf=function(){return _0x165365;};return _0x82cf();}export class HTMLStreamer{[_0x37c566(0xf3)];[_0x37c566(0xf2)]=!0x1;[_0x37c566(0xf9)]=null;[_0x37c566(0xe4)]=[];[_0x37c566(0xe9)]=0x0;[_0x37c566(0xfa)]=null;constructor(_0x505cce){const _0x1b5256=_0x37c566;this[_0x1b5256(0xf3)]={'delay':_0x505cce[_0x1b5256(0xef)]??0x14,'textNodeStyle':_0x505cce[_0x1b5256(0xee)],'onStreamUpdate':_0x505cce[_0x1b5256(0x11d)]||(()=>{})};}async[_0x37c566(0xff)]({document:_0x492f4b,targetElement:_0x1bfc8c,abortSignal:_0x221b3}){const _0x5da203=_0x37c566;this[_0x5da203(0xf2)]&&this[_0x5da203(0xf5)](),_0x221b3?.[_0x5da203(0xfb)](_0x5da203(0x105),this[_0x5da203(0xf5)][_0x5da203(0xed)](this)),this[_0x5da203(0xf9)]=_0x3a25a3(_0x492f4b,!0x0),this[_0x5da203(0xe4)]=this[_0x5da203(0xfe)](),this[_0x5da203(0xf2)]=!0x0,this[_0x5da203(0xe9)]>this[_0x5da203(0xe4)][_0x5da203(0x10a)]&&(_0x475735(_0x5da203(0xfd),{'currentIndex':this[_0x5da203(0xe9)],'nodeList':this[_0x5da203(0xe4)]}),this[_0x5da203(0xe9)]=this[_0x5da203(0xe4)][_0x5da203(0x10a)]);for(let _0x7c4519=0x0;_0x7c4519<this[_0x5da203(0xe9)];_0x7c4519++)this[_0x5da203(0xe4)][_0x7c4519][_0x5da203(0xec)]=!0x0;let _0x42bb89=0x0;for(let _0x1a1426=this[_0x5da203(0xe9)];_0x1a1426<this[_0x5da203(0xe4)][_0x5da203(0x10a)];_0x1a1426++){const _0x4a9f87=Date[_0x5da203(0x115)](),_0x50fb40=this[_0x5da203(0xe4)][_0x1a1426],_0x38f1a8=_0x4a9f87-_0x42bb89;_0x50fb40[_0x5da203(0xec)]=!0x0;let _0x4f7fcb=_0x50fb40[_0x5da203(0x10c)];for(;_0x4f7fcb;)_0x4f7fcb[_0x5da203(0xec)]=!0x0,_0x4f7fcb=_0x4f7fcb[_0x5da203(0x10c)];if(_0x38f1a8<this[_0x5da203(0xf3)][_0x5da203(0xef)])try{const {promise:_0x1f610b,abortController:_0x213db9}=mr(this[_0x5da203(0xf3)][_0x5da203(0xef)]-_0x38f1a8);this[_0x5da203(0xfa)]=_0x213db9,await _0x1f610b;}catch(_0x46af17){return;}_0x58e4a8(_0x1bfc8c,'<'+_0x1bfc8c[_0x5da203(0x11e)]+'>'+this[_0x5da203(0x109)](this[_0x5da203(0xf9)])+'</'+_0x1bfc8c[_0x5da203(0x11e)]+'>',{'childrenOnly':!0x0}),this[_0x5da203(0xf3)][_0x5da203(0x11d)]&&this[_0x5da203(0xf3)][_0x5da203(0x11d)](),this[_0x5da203(0xe9)]=_0x1a1426,_0x42bb89=Date[_0x5da203(0x115)]();}this[_0x5da203(0xf2)]=!0x1;}[_0x37c566(0x103)]({targetElement:_0x21d88c}){const _0x260050=_0x37c566;Array[_0x260050(0xeb)](_0x21d88c[_0x260050(0xe7)](_0x260050(0xe2)))[_0x260050(0xf1)]()[_0x260050(0xe5)](_0x3e06f5=>{const _0x27d16a=_0x260050;_0x3e06f5[_0x27d16a(0xe3)](_0x3e06f5[_0x27d16a(0x11c)][0x0]);});}[_0x37c566(0xf5)](){const _0x58f7fe=_0x37c566;this[_0x58f7fe(0xf2)]=!0x1,this[_0x58f7fe(0xfa)]&&(this[_0x58f7fe(0xfa)][_0x58f7fe(0x105)](),this[_0x58f7fe(0xfa)]=null);}[_0x37c566(0x109)](_0x2ee569){const _0x122514=_0x37c566;let _0x3644fc='';if(function(_0x53b2fa){return _0xe91847(_0x53b2fa);}(_0x2ee569)){for(const _0x47d89b of _0x2ee569[_0x122514(0xf4)])_0x3644fc+=this[_0x122514(0x109)](_0x47d89b);}else{if(ar(_0x2ee569)){if(!_0x2ee569[_0x122514(0xec)])return'';const _0x4628d6=_0x2ee569,_0x5a397e=Object[_0x122514(0xfc)](_0x4628d6[_0x122514(0x106)])[_0x122514(0xf8)](([_0x2fc075,_0x41c343])=>_0x2fc075+'=\x22'+_0x41c343+'\x22')[_0x122514(0x102)]('\x20');_0x3644fc+='<'+_0x4628d6[_0x122514(0x11e)]+(_0x5a397e?'\x20'+_0x5a397e:'')+'>';for(const _0x6f4f8a of _0x98aafc(_0x4628d6))_0x3644fc+=this[_0x122514(0x109)](_0x6f4f8a);_0x3644fc+='</'+_0x4628d6[_0x122514(0x11e)]+'>';}else{if(!cr(_0x2ee569))return'';if(!_0x2ee569[_0x122514(0xec)])return'';!function(_0x2e7cd9){const _0x245bb0=_0x122514;if(!_0x2e7cd9[_0x245bb0(0x10c)]||!ar(_0x2e7cd9[_0x245bb0(0x10c)]))return!0x1;if(!hr[_0x245bb0(0x119)](_0x2e7cd9[_0x245bb0(0x10c)][_0x245bb0(0x11e)]))return!0x1;return!_0x5123de(_0x2e7cd9)[_0x245bb0(0x113)](/^\s*[<>]\s*$/);}(_0x2ee569)?_0x3644fc+=_0x54c9c3(_0x2ee569):_0x3644fc+=_0x54c9c3(new _0x578958(_0x122514(0x10d),{'data-ck-html-streamer-word-chunk':'','style':this[_0x122514(0xf3)][_0x122514(0xee)]},[_0x2ee569]));}}return _0x3644fc;}[_0x37c566(0xfe)](){const _0x7d487c=_0x37c566,_0x3d8c29=[];return function(_0x2b4a11,_0x4db75d){const _0x2bb30a=_0x3894,_0x4f05d1=_0x55c343=>{const _0x24af6d=_0x3894;if(_0x4db75d(_0x55c343),_0x55c343 instanceof _0x580834)for(let _0x34bafe=0x0;_0x34bafe<_0x55c343[_0x24af6d(0xf4)][_0x24af6d(0x10a)];_0x34bafe++){const _0x479131=_0x55c343[_0x24af6d(0xf4)][_0x34bafe];_0x4f05d1(_0x479131);}};for(let _0x390850=0x0;_0x390850<_0x2b4a11[_0x2bb30a(0xf4)][_0x2bb30a(0x10a)];_0x390850++)_0x4f05d1(_0x2b4a11[_0x2bb30a(0xf4)][_0x390850]);}(this[_0x7d487c(0xf9)],_0x19c3cc=>{const _0x373d23=_0x7d487c;if(cr(_0x19c3cc)){const _0x5901bf=this[_0x373d23(0x117)](_0x19c3cc);_0x5901bf[_0x373d23(0x10a)]&&_0x3d8c29[_0x373d23(0x111)](..._0x5901bf);}_0x19c3cc[_0x373d23(0xf0)]||_0x19c3cc[_0x373d23(0x10f)]||_0x3d8c29[_0x373d23(0x111)](_0x19c3cc);}),_0x3d8c29;}[_0x37c566(0x117)](_0x4fcca8){const _0x50ad73=_0x37c566;if(_0x4fcca8[_0x50ad73(0xf0)]||_0x4fcca8[_0x50ad73(0x10f)])return[];const _0x48b51a=_0x5123de(_0x4fcca8)[_0x50ad73(0x113)](/(?:\s*\S+\s*)/g),_0x4ba9c5=[];if(_0x48b51a&&_0x48b51a[_0x50ad73(0x10a)]>0x1){for(const _0x58ee52 of _0x48b51a){const _0x2ebe2b=new _0x500aa1(_0x58ee52);_0x2ebe2b[_0x50ad73(0x10f)]=!0x0,_0x45ca8a(_0x4fcca8,_0x2ebe2b),_0x4ba9c5[_0x50ad73(0x111)](_0x2ebe2b);}_0x4fcca8[_0x50ad73(0xf0)]=!0x0,_0x1cf2bb(_0x4fcca8);}return _0x4ba9c5;}}const hr=['p','li','td','th',_0x37c566(0x10d),'h1','h2','h3','h4','h5','h6','b',_0x37c566(0x101),'i','em',_0x37c566(0xf6),_0x37c566(0x100),_0x37c566(0xe8),_0x37c566(0x104),_0x37c566(0xf7),'a',_0x37c566(0x120),_0x37c566(0x11a)];function cr(_0x339766){return _0x1a2782(_0x339766);}function _0x3894(_0x215ffa,_0x13fc46){const _0x82cfa2=_0x82cf();return _0x3894=function(_0x38948e,_0x3af42c){_0x38948e=_0x38948e-0xe2;let _0x1e4427=_0x82cfa2[_0x38948e];return _0x1e4427;},_0x3894(_0x215ffa,_0x13fc46);}function ar(_0x164e93){return _0x165b9b(_0x164e93);}function mr(_0x19a8b0){const _0x293e8e=new AbortController();return{'promise':new Promise((_0x657193,_0x224abc)=>{const _0x2f3129=_0x3894,_0xf9cbc4=setTimeout(_0x657193,_0x19a8b0);_0x293e8e[_0x2f3129(0x112)][_0x2f3129(0xfb)](_0x2f3129(0x105),()=>{clearTimeout(_0xf9cbc4),_0x224abc();});}),'abortController':_0x293e8e};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5af1(){var _0x582aa7=['5940459gvxYTM','2033214AjxoCr','2359000SjimxW','1268118KrFdtJ','2135084FXTGYs','isOfficialPlugin','requires','isPremiumPlugin','3eFUctM','pluginName','8akKYQL','AIEditorIntegration','3239971dKxWHN','538719tIHYaf'];_0x5af1=function(){return _0x582aa7;};return _0x5af1();}function _0xdf3d(_0x220be0,_0x2063b8){var _0x5af167=_0x5af1();return _0xdf3d=function(_0xdf3d45,_0x5e2eff){_0xdf3d45=_0xdf3d45-0x1c6;var _0x2db589=_0x5af167[_0xdf3d45];return _0x2db589;},_0xdf3d(_0x220be0,_0x2063b8);}var _0x4bcc19=_0xdf3d;(function(_0x361fda,_0x113404){var _0x447b2e=_0xdf3d,_0x2b0b57=_0x361fda();while(!![]){try{var _0x2fa0bd=-parseInt(_0x447b2e(0x1cc))/0x1+-parseInt(_0x447b2e(0x1d0))/0x2+parseInt(_0x447b2e(0x1c7))/0x3*(parseInt(_0x447b2e(0x1d1))/0x4)+parseInt(_0x447b2e(0x1cf))/0x5+parseInt(_0x447b2e(0x1ce))/0x6+-parseInt(_0x447b2e(0x1cb))/0x7+-parseInt(_0x447b2e(0x1c9))/0x8*(-parseInt(_0x447b2e(0x1cd))/0x9);if(_0x2fa0bd===_0x113404)break;else _0x2b0b57['push'](_0x2b0b57['shift']());}catch(_0x19cfa6){_0x2b0b57['push'](_0x2b0b57['shift']());}}}(_0x5af1,0x5a0dc));import{Plugin as _0x5eb85c}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x4cda56}from'./aitogglebutton/aitogglebuttonui.js';export class AIEditorIntegration extends _0x5eb85c{static get[_0x4bcc19(0x1d3)](){return[_0x4cda56];}static get[_0x4bcc19(0x1c8)](){var _0x49bc55=_0x4bcc19;return _0x49bc55(0x1ca);}static get[_0x4bcc19(0x1d2)](){return!0x0;}static get[_0x4bcc19(0x1c6)](){return!0x0;}}
23
+ var _0xec0472=_0x474a;(function(_0x486577,_0x275f55){var _0x3b1d9d=_0x474a,_0x337708=_0x486577();while(!![]){try{var _0x4e66ed=parseInt(_0x3b1d9d(0xa0))/0x1+parseInt(_0x3b1d9d(0xa3))/0x2+parseInt(_0x3b1d9d(0xa1))/0x3*(-parseInt(_0x3b1d9d(0xa5))/0x4)+parseInt(_0x3b1d9d(0xa4))/0x5+-parseInt(_0x3b1d9d(0xa8))/0x6+-parseInt(_0x3b1d9d(0xaa))/0x7*(parseInt(_0x3b1d9d(0xab))/0x8)+parseInt(_0x3b1d9d(0xac))/0x9;if(_0x4e66ed===_0x275f55)break;else _0x337708['push'](_0x337708['shift']());}catch(_0x4c236f){_0x337708['push'](_0x337708['shift']());}}}(_0x2160,0x8394e));function _0x474a(_0x378912,_0x279e87){var _0x2160bd=_0x2160();return _0x474a=function(_0x474acc,_0x4b3fd7){_0x474acc=_0x474acc-0xa0;var _0x52d075=_0x2160bd[_0x474acc];return _0x52d075;},_0x474a(_0x378912,_0x279e87);}function _0x2160(){var _0x4ae95d=['754508xKQfgj','29055PJryeT','requires','1692746uLfZUc','2456465nTqVEJ','400eHwYkN','isPremiumPlugin','AIEditorIntegration','3433692AprFQf','isOfficialPlugin','32284zAoosv','56ChLEMa','178650gJxzLG','pluginName'];_0x2160=function(){return _0x4ae95d;};return _0x2160();}import{Plugin as _0x50603a}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x2974c9}from'./aitogglebutton/aitogglebuttonui.js';export class AIEditorIntegration extends _0x50603a{static get[_0xec0472(0xa2)](){return[_0x2974c9];}static get[_0xec0472(0xad)](){var _0x1ba9d2=_0xec0472;return _0x1ba9d2(0xa7);}static get[_0xec0472(0xa9)](){return!0x0;}static get[_0xec0472(0xa6)](){return!0x0;}}
@@ -8,6 +8,7 @@
8
8
  */
9
9
  import { Plugin } from 'ckeditor5/src/core.js';
10
10
  import { AITabs } from '../../aitabs/aitabs.js';
11
+ import '../../../theme/aieditorintegration/aitogglebutton.css';
11
12
  /**
12
13
  * Registers the `toggleAi` toolbar button that toggles the visibility of AI tabs.
13
14
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b3f7f=_0x335b;(function(_0x9a874d,_0x58981e){const _0xb64697=_0x335b,_0x319590=_0x9a874d();while(!![]){try{const _0x18b38b=parseInt(_0xb64697(0xdc))/0x1*(-parseInt(_0xb64697(0xd3))/0x2)+parseInt(_0xb64697(0xea))/0x3*(parseInt(_0xb64697(0xdb))/0x4)+parseInt(_0xb64697(0xe0))/0x5+parseInt(_0xb64697(0xd1))/0x6*(-parseInt(_0xb64697(0xe7))/0x7)+-parseInt(_0xb64697(0xd7))/0x8+-parseInt(_0xb64697(0xdd))/0x9*(parseInt(_0xb64697(0xec))/0xa)+parseInt(_0xb64697(0xef))/0xb*(parseInt(_0xb64697(0xd6))/0xc);if(_0x18b38b===_0x58981e)break;else _0x319590['push'](_0x319590['shift']());}catch(_0x57cae9){_0x319590['push'](_0x319590['shift']());}}}(_0x3fd6,0x8766a));function _0x3fd6(){const _0x318cf5=['menuBar:toggleAi','6XkaZsB','set','ck-ai-toggle-button','27809172humLOZ','7043304ZZvOOe','AIToggleButtonUI','listenTo','AI_TOGGLE_BUTTON_LABEL','308860avhpHw','128291AosnXn','9oxSjqv','isOfficialPlugin','toggleAi','785540IyGekN','isEnabled','isOn','_createAIUIButton','pluginName','value','commands','21tqBJcs','isPremiumPlugin','add','24BiyATY','execute','4520150bNxrvB','requires','bind','11LONdUs','componentFactory','menuitemcheckbox','get','init','locale','editor','1640712BKcehY'];_0x3fd6=function(){return _0x318cf5;};return _0x3fd6();}import{Plugin as _0x2a3e6c}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x1c54c4}from'./toggleaicommand.js';import{ButtonView as _0x15f9cd,MenuBarMenuListItemButtonView as _0x5c9c3f}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x126450}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1c4d55}from'../../aicore/utils/common-translations.js';import{AITabs as _0x57af98}from'../../aitabs/aitabs.js';function _0x335b(_0x571a08,_0x221bb5){const _0x3fd619=_0x3fd6();return _0x335b=function(_0x335b40,_0x52610d){_0x335b40=_0x335b40-0xcc;let _0x48f9c9=_0x3fd619[_0x335b40];return _0x48f9c9;},_0x335b(_0x571a08,_0x221bb5);}export class AIToggleButtonUI extends _0x2a3e6c{static get[_0x4b3f7f(0xed)](){return[_0x57af98];}static get[_0x4b3f7f(0xe4)](){const _0x7675d9=_0x4b3f7f;return _0x7675d9(0xd8);}static get[_0x4b3f7f(0xde)](){return!0x0;}static get[_0x4b3f7f(0xe8)](){return!0x0;}[_0x4b3f7f(0xce)](){const _0xd0bf5d=_0x4b3f7f,_0x2c571a=this[_0xd0bf5d(0xd0)];_0x2c571a[_0xd0bf5d(0xe6)][_0xd0bf5d(0xe9)](_0xd0bf5d(0xdf),new _0x1c54c4(_0x2c571a)),_0x2c571a['ui'][_0xd0bf5d(0xf0)][_0xd0bf5d(0xe9)](_0xd0bf5d(0xdf),()=>{const _0x6eedbb=_0xd0bf5d,_0xf8a8ff=this[_0x6eedbb(0xe3)](_0x15f9cd);return _0xf8a8ff[_0x6eedbb(0xd4)]({'tooltip':!0x0,'class':_0x6eedbb(0xd5)}),_0xf8a8ff;}),_0x2c571a['ui'][_0xd0bf5d(0xf0)][_0xd0bf5d(0xe9)](_0xd0bf5d(0xd2),()=>{const _0x2ae9b0=_0xd0bf5d,_0xdeb8fe=this[_0x2ae9b0(0xe3)](_0x5c9c3f);return _0xdeb8fe[_0x2ae9b0(0xd4)]({'role':_0x2ae9b0(0xcc)}),_0xdeb8fe;});}[_0x4b3f7f(0xe3)](_0x453ce4){const _0x84e327=_0x4b3f7f,_0x4fbd51=this[_0x84e327(0xd0)],_0x5bb46a=_0x4fbd51[_0x84e327(0xe6)][_0x84e327(0xcd)](_0x84e327(0xdf)),_0xec11e8=new _0x453ce4(_0x4fbd51[_0x84e327(0xcf)]);return _0xec11e8[_0x84e327(0xd4)]({'label':_0x1c4d55(_0x4fbd51[_0x84e327(0xcf)],_0x84e327(0xda)),'icon':_0x126450,'isToggleable':!0x0}),_0xec11e8[_0x84e327(0xee)](_0x84e327(0xe1))['to'](_0x5bb46a),_0xec11e8[_0x84e327(0xee)](_0x84e327(0xe2))['to'](_0x5bb46a,_0x84e327(0xe5),_0x2c20d2=>!!_0x2c20d2),this[_0x84e327(0xd9)](_0xec11e8,_0x84e327(0xeb),()=>{const _0x59e363=_0x84e327;_0x5bb46a[_0x59e363(0xeb)]();}),_0xec11e8;}}
23
+ const _0x56987f=_0x4bbe;(function(_0x384ad7,_0x58ddf8){const _0x517536=_0x4bbe,_0x36b751=_0x384ad7();while(!![]){try{const _0x4b4ad8=-parseInt(_0x517536(0x14f))/0x1*(-parseInt(_0x517536(0x148))/0x2)+-parseInt(_0x517536(0x14d))/0x3*(parseInt(_0x517536(0x15a))/0x4)+-parseInt(_0x517536(0x163))/0x5*(parseInt(_0x517536(0x149))/0x6)+-parseInt(_0x517536(0x14b))/0x7*(parseInt(_0x517536(0x142))/0x8)+parseInt(_0x517536(0x156))/0x9+-parseInt(_0x517536(0x161))/0xa*(parseInt(_0x517536(0x15d))/0xb)+parseInt(_0x517536(0x155))/0xc;if(_0x4b4ad8===_0x58ddf8)break;else _0x36b751['push'](_0x36b751['shift']());}catch(_0x3c3996){_0x36b751['push'](_0x36b751['shift']());}}}(_0x45a7,0xd208c));import{Plugin as _0x6005c4}from'ckeditor5/src/core.js';function _0x4bbe(_0x4c61cc,_0x2ca204){const _0x45a720=_0x45a7();return _0x4bbe=function(_0x4bbeca,_0x2d780f){_0x4bbeca=_0x4bbeca-0x140;let _0x2d2464=_0x45a720[_0x4bbeca];return _0x2d2464;},_0x4bbe(_0x4c61cc,_0x2ca204);}import{ToggleAICommand as _0x1fde76}from'./toggleaicommand.js';import{ButtonView as _0x201c8b,MenuBarMenuListItemButtonView as _0x4972f0}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0xb4b63b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x436fe7}from'../../aicore/utils/common-translations.js';import{AITabs as _0x391bc1}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0x45a7(){const _0x555602=['36068ZtSPjt','1020324GqCbCc','isEnabled','308uysyhf','AIToggleButtonUI','22692TlTVAm','pluginName','59PJsxEm','bind','isOn','isPremiumPlugin','_createAIUIButton','isOfficialPlugin','20644920QMBbuO','10129329tfcJTF','add','menuitemcheckbox','value','508OLmoEp','editor','locale','121dEvZpG','execute','init','requires','558130hIVmnb','componentFactory','25DkQCPC','menuBar:toggleAi','AI_TOGGLE_BUTTON_LABEL','get','113592bIdTtw','set','ck-ai-toggle-button','listenTo','commands','toggleAi'];_0x45a7=function(){return _0x555602;};return _0x45a7();}export class AIToggleButtonUI extends _0x6005c4{static get[_0x56987f(0x160)](){return[_0x391bc1];}static get[_0x56987f(0x14e)](){const _0x15f9bc=_0x56987f;return _0x15f9bc(0x14c);}static get[_0x56987f(0x154)](){return!0x0;}static get[_0x56987f(0x152)](){return!0x0;}[_0x56987f(0x15f)](){const _0x1c7d36=_0x56987f,_0x15b997=this[_0x1c7d36(0x15b)];_0x15b997[_0x1c7d36(0x146)][_0x1c7d36(0x157)](_0x1c7d36(0x147),new _0x1fde76(_0x15b997)),_0x15b997['ui'][_0x1c7d36(0x162)][_0x1c7d36(0x157)](_0x1c7d36(0x147),()=>{const _0x2df0ef=_0x1c7d36,_0x16915d=this[_0x2df0ef(0x153)](_0x201c8b);return _0x16915d[_0x2df0ef(0x143)]({'tooltip':!0x0,'class':_0x2df0ef(0x144)}),_0x16915d;}),_0x15b997['ui'][_0x1c7d36(0x162)][_0x1c7d36(0x157)](_0x1c7d36(0x164),()=>{const _0x19dd01=_0x1c7d36,_0x130f58=this[_0x19dd01(0x153)](_0x4972f0);return _0x130f58[_0x19dd01(0x143)]({'role':_0x19dd01(0x158)}),_0x130f58;});}[_0x56987f(0x153)](_0x21d79c){const _0x4e7727=_0x56987f,_0x5c7306=this[_0x4e7727(0x15b)],_0x4d1535=_0x5c7306[_0x4e7727(0x146)][_0x4e7727(0x141)](_0x4e7727(0x147)),_0x565563=new _0x21d79c(_0x5c7306[_0x4e7727(0x15c)]);return _0x565563[_0x4e7727(0x143)]({'label':_0x436fe7(_0x5c7306[_0x4e7727(0x15c)],_0x4e7727(0x140)),'icon':_0xb4b63b,'isToggleable':!0x0}),_0x565563[_0x4e7727(0x150)](_0x4e7727(0x14a))['to'](_0x4d1535),_0x565563[_0x4e7727(0x150)](_0x4e7727(0x151))['to'](_0x4d1535,_0x4e7727(0x159),_0x1db65c=>!!_0x1db65c),this[_0x4e7727(0x145)](_0x565563,_0x4e7727(0x15e),()=>{const _0x2fa8d9=_0x4e7727;_0x4d1535[_0x2fa8d9(0x15e)]();}),_0x565563;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41e962=_0x3e87;(function(_0x22458d,_0x1b804f){const _0x2fb8e6=_0x3e87,_0x4d80d4=_0x22458d();while(!![]){try{const _0x5b443b=-parseInt(_0x2fb8e6(0xcb))/0x1*(parseInt(_0x2fb8e6(0xc8))/0x2)+parseInt(_0x2fb8e6(0xcd))/0x3+-parseInt(_0x2fb8e6(0xd1))/0x4*(parseInt(_0x2fb8e6(0xd2))/0x5)+parseInt(_0x2fb8e6(0xc6))/0x6+parseInt(_0x2fb8e6(0xc9))/0x7*(parseInt(_0x2fb8e6(0xc5))/0x8)+parseInt(_0x2fb8e6(0xca))/0x9*(parseInt(_0x2fb8e6(0xc0))/0xa)+-parseInt(_0x2fb8e6(0xbf))/0xb*(parseInt(_0x2fb8e6(0xcf))/0xc);if(_0x5b443b===_0x1b804f)break;else _0x4d80d4['push'](_0x4d80d4['shift']());}catch(_0x2a3150){_0x4d80d4['push'](_0x4d80d4['shift']());}}}(_0x54d7,0xbe2c2));import{Command as _0x490988}from'ckeditor5/src/core.js';function _0x3e87(_0x3ec220,_0x38c956){const _0x54d773=_0x54d7();return _0x3e87=function(_0x3e8726,_0x18a12a){_0x3e8726=_0x3e8726-0xbd;let _0xf83c39=_0x54d773[_0x3e8726];return _0xf83c39;},_0x3e87(_0x3ec220,_0x38c956);}function _0x54d7(){const _0x5470d1=['view','8CuhKyU','7946778eTnhZj','isEnabled','6hafeBL','4525871wnnQRV','112293sfHDbM','487051OdMVRM','editor','3636243BvKfQl','execute','12cvJkaX','AITabs','2428pYoUlA','5705juCagH','isVisible','get','15106751RxlXhm','900vHFpoI','value','plugins','bind'];_0x54d7=function(){return _0x5470d1;};return _0x54d7();}export class ToggleAICommand extends _0x490988{constructor(_0x59cac7){const _0x180748=_0x3e87;super(_0x59cac7);const _0x3e9fe2=_0x59cac7[_0x180748(0xc2)][_0x180748(0xbe)](_0x180748(0xd0))[_0x180748(0xc4)];this[_0x180748(0xc3)](_0x180748(0xc1))['to'](_0x3e9fe2,_0x180748(0xbd)),this[_0x180748(0xc7)]=!0x0;}[_0x41e962(0xce)](){const _0x15cdc0=_0x41e962,_0x30c59d=this[_0x15cdc0(0xcc)][_0x15cdc0(0xc2)][_0x15cdc0(0xbe)](_0x15cdc0(0xd0))[_0x15cdc0(0xc4)];_0x30c59d[_0x15cdc0(0xbd)]=!_0x30c59d[_0x15cdc0(0xbd)];}}
23
+ const _0x1297f4=_0x86dc;(function(_0xfc2378,_0x445eff){const _0x5d956f=_0x86dc,_0x1218d9=_0xfc2378();while(!![]){try{const _0x5a13e1=-parseInt(_0x5d956f(0x1c9))/0x1*(-parseInt(_0x5d956f(0x1c7))/0x2)+-parseInt(_0x5d956f(0x1c2))/0x3+-parseInt(_0x5d956f(0x1cb))/0x4+-parseInt(_0x5d956f(0x1d0))/0x5*(-parseInt(_0x5d956f(0x1ce))/0x6)+-parseInt(_0x5d956f(0x1d3))/0x7*(parseInt(_0x5d956f(0x1c6))/0x8)+parseInt(_0x5d956f(0x1d2))/0x9+parseInt(_0x5d956f(0x1cc))/0xa;if(_0x5a13e1===_0x445eff)break;else _0x1218d9['push'](_0x1218d9['shift']());}catch(_0xd73bbd){_0x1218d9['push'](_0x1218d9['shift']());}}}(_0x32d3,0x612b9));function _0x32d3(){const _0x1141a2=['343NPzCDz','isVisible','get','1728912ChXbpV','execute','view','bind','95000xWngVt','4ZtfhEo','value','365837TyoaXz','editor','1039004RgNVHH','8308690RaTkVD','isEnabled','8820sdPGRi','AITabs','405IaQrCb','plugins','1208934iZUgnT'];_0x32d3=function(){return _0x1141a2;};return _0x32d3();}function _0x86dc(_0x1bdd7f,_0x3b03f6){const _0x32d332=_0x32d3();return _0x86dc=function(_0x86dc51,_0x1ec8b0){_0x86dc51=_0x86dc51-0x1c2;let _0x5375f2=_0x32d332[_0x86dc51];return _0x5375f2;},_0x86dc(_0x1bdd7f,_0x3b03f6);}import{Command as _0x54d749}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x54d749{constructor(_0x597989){const _0x47ef26=_0x86dc;super(_0x597989);const _0x31bf6b=_0x597989[_0x47ef26(0x1d1)][_0x47ef26(0x1d5)](_0x47ef26(0x1cf))[_0x47ef26(0x1c4)];this[_0x47ef26(0x1c5)](_0x47ef26(0x1c8))['to'](_0x31bf6b,_0x47ef26(0x1d4)),this[_0x47ef26(0x1cd)]=!0x0;}[_0x1297f4(0x1c3)](){const _0x5ba2a3=_0x1297f4,_0x1fdb6e=this[_0x5ba2a3(0x1ca)][_0x5ba2a3(0x1d1)][_0x5ba2a3(0x1d5)](_0x5ba2a3(0x1cf))[_0x5ba2a3(0x1c4)];_0x1fdb6e[_0x5ba2a3(0x1d4)]=!_0x1fdb6e[_0x5ba2a3(0x1d4)];}}
@@ -9,6 +9,16 @@
9
9
  import { type Editor, Plugin } from 'ckeditor5/src/core.js';
10
10
  import { AIQuickActionsUI, type AIQuickActionDefinition } from './aiquickactionsui.js';
11
11
  import { AIQuickActionsEditing } from './aiquickactionsediting.js';
12
+ /**
13
+ * The AI Quick Actions feature.
14
+ *
15
+ * Quick Actions streamline routine content transformations by offering one-click AI-powered suggestions directly within the editor.
16
+ * You can also ask questions about your selected text in the Chat to get instant AI insights and analysis.
17
+ *
18
+ * You can configure the feature by setting the {@link module:ai/aiquickactions/aiquickactions~AIQuickActionsConfig} property.
19
+ *
20
+ * Learn more about AI features in CKEditor in the {@glink features/ai/ckeditor-ai-overview AI Overview} documentation.
21
+ */
12
22
  export declare class AIQuickActions extends Plugin {
13
23
  /**
14
24
  * @inheritDoc
@@ -28,12 +38,166 @@ export declare class AIQuickActions extends Plugin {
28
38
  static get isPremiumPlugin(): true;
29
39
  constructor(editor: Editor);
30
40
  }
41
+ /**
42
+ * The configuration of the {@link module:ai/aiquickactions/aiquickactions~AIQuickActions AI Quick Actions feature}.
43
+ *
44
+ * The properties defined in this config are set in the `config.ai.quickActions` namespace.
45
+ *
46
+ * ```ts
47
+ * ClassicEditor
48
+ * .create( editorElement, {
49
+ * ai: {
50
+ * quickActions: {
51
+ * // AI Quick Actions configuration.
52
+ * }
53
+ * }
54
+ * } )
55
+ * .then( ... )
56
+ * .catch( ... );
57
+ * ```
58
+ *
59
+ * See {@link module:ai/aiconfig~AIConfig the full AI configuration}.
60
+ *
61
+ * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
62
+ */
31
63
  export interface AIQuickActionsConfig {
64
+ /**
65
+ * The extra commands to add to the AI Quick Actions feature to become available for the user. You can fine-tune
66
+ * the commands by specifying the type, prompt, and other properties. By default, the extra commands land in the
67
+ * "Other" group in the user interface.
68
+ *
69
+ * The following example will add three new commands to the AI Quick Actions feature:
70
+ *
71
+ * ```ts
72
+ * ClassicEditor
73
+ * .create( editorElement, {
74
+ * // ... Other configuration options ...
75
+ * ai: {
76
+ * quickActions: {
77
+ * extraCommands: [
78
+ * // An action that requires content to be selected in the editor (it transforms the selected content).
79
+ * {
80
+ id: 'add-quote-from-famous-person',
81
+ displayedPrompt: 'Add a quote from a famous person',
82
+ prompt: 'Add a quote from a known person, which would make sense in the context of the selected text.',
83
+ type: AIQuickActionType.ACTION,
84
+ model: 'claude-4-sonnet'
85
+ },
86
+ {
87
+ id: 'summarize-in-bullet-points',
88
+ displayedPrompt: 'Summarize in 5 bullet points',
89
+ prompt: 'Summarize the selected text in 5 bullet points.',
90
+ type: AIQuickActionType.CHAT
91
+ },
92
+ {
93
+ id: 'include-more-sarcasm',
94
+ displayedPrompt: 'Rewrite adding more sarcasm',
95
+ prompt: 'Rewrite using a sarcastic tone.',
96
+ type: AIQuickActionType.ACTION,
97
+ model: 'claude-4-sonnet'
98
+ }
99
+ *
100
+ * // ... More commands ...
101
+ * ],
102
+ * },
103
+ * }
104
+ * } )
105
+ * .then( ... )
106
+ * .catch( ... );
107
+ * ```
108
+ */
32
109
  extraCommands?: Array<AICustomQuickActionDefinition>;
110
+ /**
111
+ * The ids of the commands to remove from the AI Quick Actions feature. Removing all commands from a specific category
112
+ * will remove the category from the user interface.
113
+ *
114
+ * The defaults are as follows:
115
+ *
116
+ * - `'ask-ai`,
117
+ * - "Chat commands" category
118
+ * - `'explain'`,
119
+ * - `'summarize'`,
120
+ * - `'highlight-key-points'`,
121
+ * - `'improve-writing'`,
122
+ * - `'continue'`,
123
+ * - `'fix-grammar'`,
124
+ * - "Adjust length" category
125
+ * - `'make-shorter'`,
126
+ * - `'make-longer'`,
127
+ * - "Change tone" category
128
+ * - `'make-tone-casual'`,
129
+ * - `'make-tone-direct'`,
130
+ * - `'make-tone-friendly'`,
131
+ * - `'make-tone-confident'`,
132
+ * - `'make-tone-professional'`,
133
+ * - "Translate" category
134
+ * - `'translate-to-english'`,
135
+ * - `'translate-to-chinese'`,
136
+ * - `'translate-to-french'`,
137
+ * - `'translate-to-german'`,
138
+ * - `'translate-to-italian'`,
139
+ * - `'translate-to-portuguese'`,
140
+ * - `'translate-to-russian'`
141
+ *
142
+ * The following example will remove the "Explain" and "Summarize" commands from the user interface:
143
+ *
144
+ * ```ts
145
+ * ClassicEditor
146
+ * .create( editorElement, {
147
+ * // ... Other configuration options ...
148
+ * ai: {
149
+ * quickActions: {
150
+ * removeCommands: [
151
+ * 'explain',
152
+ * 'summarize',
153
+ * // ...
154
+ * ]
155
+ * },
156
+ * }
157
+ * } )
158
+ * .then( ... )
159
+ * .catch( ... );
160
+ * ```
161
+ */
33
162
  removeCommands?: Array<string>;
34
163
  }
35
164
  /**
36
165
  * Defines a custom AI quick action with all required properties.
166
+ *
167
+ * An example of an action that requires content to be selected in the editor (it transforms the selected content):
168
+ *
169
+ * ```ts
170
+ *{
171
+ * id: 'add-quote-from-famous-person',
172
+ * displayedPrompt: 'Add a quote from a famous person',
173
+ * prompt: 'Add a quote from a known person, which would make sense in the context of the selected text.',
174
+ * type: AIQuickActionType.ACTION,
175
+ * model: 'claude-4-sonnet'
176
+ *}
177
+ * ```
178
+ *
179
+ * An example of an action that does not require content to be selected in the editor (adds a new content):
180
+ *
181
+ * ```ts
182
+ * {
183
+ * id: 'add-random-cat-fact',
184
+ * displayedPrompt: 'Add cat fact.',
185
+ * prompt: 'Add a random fact about cats to the document.',
186
+ * type: 'ACTION',
187
+ * requiresContent: false
188
+ * }
189
+ * ```
190
+ *
191
+ * An example of an action that opens the {@link module:ai/aichat/aichat~AIChat AI Chat} interface for interactive conversations:
192
+ *
193
+ * ```ts
194
+ * {
195
+ * id: 'summarize-in-bullet-points',
196
+ * displayedPrompt: 'Summarize in 5 bullet points',
197
+ * prompt: 'Summarize the selected text in 5 bullet points.',
198
+ * type: AIQuickActionType.CHAT
199
+ *}
200
+ * ```
37
201
  */
38
202
  export type AICustomQuickActionDefinition = Required<Pick<AIQuickActionDefinition, 'id' | 'displayedPrompt' | 'prompt' | 'type'>> & {
39
203
  requiresContent?: boolean;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3ec36f=_0xd5b1;function _0x44a9(){var _0x963ea9=['2817369TIUqhn','define','isPremiumPlugin','ai.quickActions','AIQuickActions','179548iGZCRz','638160DlGejp','1338044LPJShi','isOfficialPlugin','3582719sBMRTb','12027210YPUnfJ','10XSDdys','1PXtpsx','config','444180IeUoBQ','pluginName','3aWEsWk','requires'];_0x44a9=function(){return _0x963ea9;};return _0x44a9();}(function(_0x2a60f6,_0x11fe2c){var _0x2175c8=_0xd5b1,_0x1994e1=_0x2a60f6();while(!![]){try{var _0x58fed3=-parseInt(_0x2175c8(0x18f))/0x1*(-parseInt(_0x2175c8(0x188))/0x2)+-parseInt(_0x2175c8(0x193))/0x3*(-parseInt(_0x2175c8(0x18a))/0x4)+parseInt(_0x2175c8(0x18e))/0x5*(parseInt(_0x2175c8(0x191))/0x6)+parseInt(_0x2175c8(0x18c))/0x7+parseInt(_0x2175c8(0x189))/0x8+parseInt(_0x2175c8(0x195))/0x9+-parseInt(_0x2175c8(0x18d))/0xa;if(_0x58fed3===_0x11fe2c)break;else _0x1994e1['push'](_0x1994e1['shift']());}catch(_0x29e16d){_0x1994e1['push'](_0x1994e1['shift']());}}}(_0x44a9,0x42f4c));import{Plugin as _0x23d2f0}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x5ce820}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x8d54a0}from'./aiquickactionsediting.js';function _0xd5b1(_0x321943,_0xdb7352){var _0x44a930=_0x44a9();return _0xd5b1=function(_0xd5b178,_0x54db6d){_0xd5b178=_0xd5b178-0x185;var _0x387677=_0x44a930[_0xd5b178];return _0x387677;},_0xd5b1(_0x321943,_0xdb7352);}export class AIQuickActions extends _0x23d2f0{static get[_0x3ec36f(0x194)](){return[_0x5ce820,_0x8d54a0];}static get[_0x3ec36f(0x192)](){var _0x32f097=_0x3ec36f;return _0x32f097(0x187);}static get[_0x3ec36f(0x18b)](){return!0x0;}static get[_0x3ec36f(0x185)](){return!0x0;}constructor(_0x1c355b){var _0x531a88=_0x3ec36f;super(_0x1c355b),_0x1c355b[_0x531a88(0x190)][_0x531a88(0x196)](_0x531a88(0x186),{'extraCommands':[],'removeCommands':[]});}}
23
+ var _0x199bd3=_0xb4f7;(function(_0x318cca,_0x301d64){var _0x15b00f=_0xb4f7,_0x38783a=_0x318cca();while(!![]){try{var _0x4df8ac=parseInt(_0x15b00f(0x100))/0x1*(parseInt(_0x15b00f(0x101))/0x2)+parseInt(_0x15b00f(0xfe))/0x3*(-parseInt(_0x15b00f(0x106))/0x4)+-parseInt(_0x15b00f(0x10d))/0x5*(parseInt(_0x15b00f(0x107))/0x6)+-parseInt(_0x15b00f(0x109))/0x7+parseInt(_0x15b00f(0x102))/0x8+parseInt(_0x15b00f(0x10c))/0x9+parseInt(_0x15b00f(0x108))/0xa;if(_0x4df8ac===_0x301d64)break;else _0x38783a['push'](_0x38783a['shift']());}catch(_0x3facfc){_0x38783a['push'](_0x38783a['shift']());}}}(_0x41a1,0xccb17));import{Plugin as _0x4bdc5d}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x34f940}from'./aiquickactionsui.js';function _0xb4f7(_0x4c94a5,_0x5124cb){var _0x41a1b1=_0x41a1();return _0xb4f7=function(_0xb4f7ef,_0x5adbef){_0xb4f7ef=_0xb4f7ef-0xfc;var _0x3f02e3=_0x41a1b1[_0xb4f7ef];return _0x3f02e3;},_0xb4f7(_0x4c94a5,_0x5124cb);}import{AIQuickActionsEditing as _0xbda1ea}from'./aiquickactionsediting.js';export class AIQuickActions extends _0x4bdc5d{static get[_0x199bd3(0x105)](){return[_0x34f940,_0xbda1ea];}static get[_0x199bd3(0x104)](){var _0x3bcac4=_0x199bd3;return _0x3bcac4(0xfc);}static get[_0x199bd3(0x103)](){return!0x0;}static get[_0x199bd3(0x10a)](){return!0x0;}constructor(_0x6b5a3c){var _0x213d0d=_0x199bd3;super(_0x6b5a3c),_0x6b5a3c[_0x213d0d(0x10b)][_0x213d0d(0xff)](_0x213d0d(0xfd),{'extraCommands':[],'removeCommands':[]});}}function _0x41a1(){var _0x5beac4=['48348crJQlE','define','5pQiHeh','254498WnPpgF','7410344pfOYhE','isOfficialPlugin','pluginName','requires','196Udxdkf','1463262WjqESb','4892350ZAnxyX','1312472ChLuCh','isPremiumPlugin','config','6654042cGBopE','20jFQCZi','AIQuickActions','ai.quickActions'];_0x41a1=function(){return _0x5beac4;};return _0x41a1();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3755(){const _0x56731f=['REVIEW','304BuhqRe','172413HlwbtT','document','displayedPrompt','setSelection','CHAT','args','_handleAIActionsAction','has','label','focusPromptInput','ask-ai','plugins','view','editor','_expandSelectionIfCollapsed','prompt','isCollapsed','removeSelectionFromChatContext','get','addSelectionToChatContext','_handleAIChatAction','getLimitElement','22150aOcJPO','type','98xTKfss','execute','1732158GtWUda','AIChatController','handleAIReviewAction','AIChat','11376299XBelVZ','getSelectedBlocks','ai-quick-actions-plugin-not-found','chat','actionName','change','308LwtyBN','4444620ozSQMn','_handleAIActionsActionLabel','icon','1085075DvTxtv','schema','AIActions','137058iBPpmC','startConversation','parent','AITabs','4CASTmQ','other','activateTab','log','model','selection','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','_handleAIReviewAction','ACTION','executeAction','AIReviewMode','locale','sendMessage'];_0x3755=function(){return _0x56731f;};return _0x3755();}const _0x384fc4=_0x1314;(function(_0x2cd082,_0x3728e6){const _0x404ce0=_0x1314,_0xaea2fc=_0x2cd082();while(!![]){try{const _0x46edd0=parseInt(_0x404ce0(0x181))/0x1*(parseInt(_0x404ce0(0x17f))/0x2)+parseInt(_0x404ce0(0x183))/0x3+-parseInt(_0x404ce0(0x198))/0x4*(-parseInt(_0x404ce0(0x191))/0x5)+-parseInt(_0x404ce0(0x194))/0x6*(parseInt(_0x404ce0(0x18d))/0x7)+-parseInt(_0x404ce0(0x168))/0x8*(parseInt(_0x404ce0(0x169))/0x9)+-parseInt(_0x404ce0(0x18e))/0xa+parseInt(_0x404ce0(0x187))/0xb;if(_0x46edd0===_0x3728e6)break;else _0xaea2fc['push'](_0xaea2fc['shift']());}catch(_0x236e14){_0xaea2fc['push'](_0xaea2fc['shift']());}}}(_0x3755,0xb3cb8));import{Command as _0x1fd798}from'ckeditor5/src/core.js';function _0x1314(_0x152c89,_0x4d8987){const _0x375592=_0x3755();return _0x1314=function(_0x1314f7,_0x64dc57){_0x1314f7=_0x1314f7-0x167;let _0x5551e8=_0x375592[_0x1314f7];return _0x5551e8;},_0x1314(_0x152c89,_0x4d8987);}import{CKEditorError as _0x25ad0e,first as _0x336887}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x50c7ed}from'./aiquickactionsui.js';import{getTranslation as _0x4290ae}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x1fd798{[_0x384fc4(0x182)](_0x41600c){const _0x5d5022=_0x384fc4;switch(_0x41600c[_0x5d5022(0x180)]){case _0x50c7ed[_0x5d5022(0x16d)]:if(!this[_0x5d5022(0x176)][_0x5d5022(0x174)][_0x5d5022(0x170)](_0x5d5022(0x186))){const _0x7b7f2a=_0x4290ae(this[_0x5d5022(0x176)][_0x5d5022(0x1a3)],_0x5d5022(0x19e),_0x5d5022(0x186));throw new _0x25ad0e(_0x5d5022(0x189),this[_0x5d5022(0x176)],{'errorMessage':_0x7b7f2a});}this[_0x5d5022(0x17d)](_0x41600c);break;case _0x50c7ed[_0x5d5022(0x1a0)]:if(!this[_0x5d5022(0x176)][_0x5d5022(0x174)][_0x5d5022(0x170)](_0x5d5022(0x193))){const _0x4c738e=_0x4290ae(this[_0x5d5022(0x176)][_0x5d5022(0x1a3)],_0x5d5022(0x19e),_0x5d5022(0x193));throw new _0x25ad0e(_0x5d5022(0x189),this[_0x5d5022(0x176)],{'errorMessage':_0x4c738e});}this[_0x5d5022(0x16f)](_0x41600c);break;case _0x50c7ed[_0x5d5022(0x167)]:if(!this[_0x5d5022(0x176)][_0x5d5022(0x174)][_0x5d5022(0x170)](_0x5d5022(0x1a2))){const _0x4a5a0c=_0x4290ae(this[_0x5d5022(0x176)][_0x5d5022(0x1a3)],_0x5d5022(0x19e),_0x5d5022(0x1a2));throw new _0x25ad0e(_0x5d5022(0x189),this[_0x5d5022(0x176)],{'errorMessage':_0x4a5a0c});}this[_0x5d5022(0x19f)](_0x41600c);}}async[_0x384fc4(0x17d)](_0x200df1){const _0x81e50f=_0x384fc4,_0x48d7b5=this[_0x81e50f(0x176)][_0x81e50f(0x174)][_0x81e50f(0x17b)](_0x81e50f(0x186)),_0x43bbea=this[_0x81e50f(0x176)][_0x81e50f(0x174)][_0x81e50f(0x17b)](_0x81e50f(0x184));if(this[_0x81e50f(0x176)][_0x81e50f(0x174)][_0x81e50f(0x17b)](_0x81e50f(0x197))[_0x81e50f(0x175)][_0x81e50f(0x19a)](_0x81e50f(0x18a)),_0x81e50f(0x173)===_0x200df1['id'])_0x43bbea[_0x81e50f(0x17a)](),this[_0x81e50f(0x177)](),await _0x48d7b5[_0x81e50f(0x17c)](),_0x48d7b5[_0x81e50f(0x172)]();else await _0x48d7b5[_0x81e50f(0x195)](),await _0x48d7b5[_0x81e50f(0x17c)](),await _0x48d7b5[_0x81e50f(0x1a4)]({'message':_0x200df1[_0x81e50f(0x178)]||_0x200df1[_0x81e50f(0x16b)],'quickActionData':{'id':_0x200df1['id'],'displayedPrompt':_0x200df1[_0x81e50f(0x16b)]}});}[_0x384fc4(0x177)](){const _0x50ac97=_0x384fc4,_0x4174e0=this[_0x50ac97(0x176)],_0x351dd9=_0x4174e0[_0x50ac97(0x19c)][_0x50ac97(0x16a)][_0x50ac97(0x19d)];if(!_0x351dd9[_0x50ac97(0x179)])return;const _0x4c8e05=_0x336887(_0x351dd9[_0x50ac97(0x188)]())||_0x4174e0[_0x50ac97(0x19c)][_0x50ac97(0x192)][_0x50ac97(0x17e)](_0x351dd9);_0x4174e0[_0x50ac97(0x19c)][_0x50ac97(0x18c)](_0x1edb06=>{const _0x4428f1=_0x50ac97;_0x1edb06[_0x4428f1(0x16c)](_0x4c8e05,'in');});}[_0x384fc4(0x18f)](_0x5278c5){const _0x231d0a=_0x384fc4;return _0x5278c5[_0x231d0a(0x196)]?.[_0x231d0a(0x171)]&&_0x231d0a(0x199)!==_0x5278c5[_0x231d0a(0x196)]?.['id']?_0x5278c5[_0x231d0a(0x196)][_0x231d0a(0x171)]+':\x20'+_0x5278c5[_0x231d0a(0x16b)]:_0x5278c5[_0x231d0a(0x16b)];}async[_0x384fc4(0x16f)](_0x125e75){const _0x320cff=_0x384fc4,_0x3e3ebb=this[_0x320cff(0x176)][_0x320cff(0x174)][_0x320cff(0x17b)](_0x320cff(0x193)),_0x38491c=_0x125e75[_0x320cff(0x178)]?{'userMessage':_0x125e75[_0x320cff(0x178)],'model':_0x125e75[_0x320cff(0x19c)]}:{'actionName':_0x125e75[_0x320cff(0x18b)]||_0x125e75['id'],'args':_0x125e75[_0x320cff(0x16e)]},_0x407c0a=this[_0x320cff(0x18f)](_0x125e75);await _0x3e3ebb[_0x320cff(0x1a1)](_0x38491c,_0x407c0a,_0x125e75[_0x320cff(0x190)]);}async[_0x384fc4(0x19f)](_0x54e14e){const _0x2999e9=_0x384fc4;console[_0x2999e9(0x19b)](_0x2999e9(0x185),_0x54e14e);}}
23
+ function _0x4ac9(){const _0x5eda73=['change','focusPromptInput','664NVPqir','AIActions','setSelection','1297422VpUDNH','AIChatController','selection','51165wOPfBZ','129510WQyncf','1348796hEBmgP','getSelectedBlocks','8495SFsSis','ACTION','isCollapsed','AITabs','locale','_handleAIActionsAction','removeSelectionFromChatContext','icon','handleAIReviewAction','executeAction','9jvjtef','_expandSelectionIfCollapsed','2057HBwZzt','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','prompt','REVIEW','model','_handleAIChatAction','schema','document','ai-quick-actions-plugin-not-found','186Wrqpsr','type','sendMessage','_handleAIActionsActionLabel','AIReviewMode','_handleAIReviewAction','actionName','getLimitElement','view','parent','editor','displayedPrompt','156438iqdifM','plugins','log','execute','addSelectionToChatContext','has','chat','AIChat','startConversation','activateTab','2210085oyKksv','CHAT','get','ask-ai','label','other','args'];_0x4ac9=function(){return _0x5eda73;};return _0x4ac9();}const _0x46b4ff=_0x3ea4;(function(_0x1f64c9,_0x4ae851){const _0x46f08c=_0x3ea4,_0x4a739e=_0x1f64c9();while(!![]){try{const _0x5bd446=parseInt(_0x46f08c(0x1d7))/0x1*(-parseInt(_0x46f08c(0x1ee))/0x2)+-parseInt(_0x46f08c(0x1f8))/0x3+-parseInt(_0x46f08c(0x209))/0x4+parseInt(_0x46f08c(0x20b))/0x5*(parseInt(_0x46f08c(0x1e2))/0x6)+parseInt(_0x46f08c(0x204))/0x7+parseInt(_0x46f08c(0x201))/0x8*(-parseInt(_0x46f08c(0x207))/0x9)+parseInt(_0x46f08c(0x208))/0xa*(parseInt(_0x46f08c(0x1d9))/0xb);if(_0x5bd446===_0x4ae851)break;else _0x4a739e['push'](_0x4a739e['shift']());}catch(_0x13e304){_0x4a739e['push'](_0x4a739e['shift']());}}}(_0x4ac9,0x64214));import{Command as _0x300641}from'ckeditor5/src/core.js';import{CKEditorError as _0xff77a7,first as _0x446fa4}from'ckeditor5/src/utils.js';function _0x3ea4(_0x49eca1,_0x4370e0){const _0x4ac976=_0x4ac9();return _0x3ea4=function(_0x3ea411,_0x22e57d){_0x3ea411=_0x3ea411-0x1d7;let _0x5e1e4a=_0x4ac976[_0x3ea411];return _0x5e1e4a;},_0x3ea4(_0x49eca1,_0x4370e0);}import{AIQuickActionType as _0x54a79c}from'./aiquickactionsui.js';import{getTranslation as _0x5a8e5b}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x300641{[_0x46b4ff(0x1f1)](_0x3e7165){const _0x21d707=_0x46b4ff;switch(_0x3e7165[_0x21d707(0x1e3)]){case _0x54a79c[_0x21d707(0x1f9)]:if(!this[_0x21d707(0x1ec)][_0x21d707(0x1ef)][_0x21d707(0x1f3)](_0x21d707(0x1f5))){const _0x261507=_0x5a8e5b(this[_0x21d707(0x1ec)][_0x21d707(0x20f)],_0x21d707(0x1da),_0x21d707(0x1f5));throw new _0xff77a7(_0x21d707(0x1e1),this[_0x21d707(0x1ec)],{'errorMessage':_0x261507});}this[_0x21d707(0x1de)](_0x3e7165);break;case _0x54a79c[_0x21d707(0x20c)]:if(!this[_0x21d707(0x1ec)][_0x21d707(0x1ef)][_0x21d707(0x1f3)](_0x21d707(0x202))){const _0x32aa55=_0x5a8e5b(this[_0x21d707(0x1ec)][_0x21d707(0x20f)],_0x21d707(0x1da),_0x21d707(0x202));throw new _0xff77a7(_0x21d707(0x1e1),this[_0x21d707(0x1ec)],{'errorMessage':_0x32aa55});}this[_0x21d707(0x210)](_0x3e7165);break;case _0x54a79c[_0x21d707(0x1dc)]:if(!this[_0x21d707(0x1ec)][_0x21d707(0x1ef)][_0x21d707(0x1f3)](_0x21d707(0x1e6))){const _0x371ed7=_0x5a8e5b(this[_0x21d707(0x1ec)][_0x21d707(0x20f)],_0x21d707(0x1da),_0x21d707(0x1e6));throw new _0xff77a7(_0x21d707(0x1e1),this[_0x21d707(0x1ec)],{'errorMessage':_0x371ed7});}this[_0x21d707(0x1e7)](_0x3e7165);}}async[_0x46b4ff(0x1de)](_0x58ede6){const _0x67675b=_0x46b4ff,_0x50b374=this[_0x67675b(0x1ec)][_0x67675b(0x1ef)][_0x67675b(0x1fa)](_0x67675b(0x1f5)),_0x534982=this[_0x67675b(0x1ec)][_0x67675b(0x1ef)][_0x67675b(0x1fa)](_0x67675b(0x205));if(this[_0x67675b(0x1ec)][_0x67675b(0x1ef)][_0x67675b(0x1fa)](_0x67675b(0x20e))[_0x67675b(0x1ea)][_0x67675b(0x1f7)](_0x67675b(0x1f4)),_0x67675b(0x1fb)===_0x58ede6['id'])_0x534982[_0x67675b(0x211)](),this[_0x67675b(0x1d8)](),await _0x50b374[_0x67675b(0x1f2)](),_0x50b374[_0x67675b(0x200)]();else await _0x50b374[_0x67675b(0x1f6)](),await _0x50b374[_0x67675b(0x1f2)](),await _0x50b374[_0x67675b(0x1e4)]({'message':_0x58ede6[_0x67675b(0x1db)]||_0x58ede6[_0x67675b(0x1ed)],'quickActionData':{'id':_0x58ede6['id'],'displayedPrompt':_0x58ede6[_0x67675b(0x1ed)]}});}[_0x46b4ff(0x1d8)](){const _0x473426=_0x46b4ff,_0x53ea47=this[_0x473426(0x1ec)],_0x4b55cc=_0x53ea47[_0x473426(0x1dd)][_0x473426(0x1e0)][_0x473426(0x206)];if(!_0x4b55cc[_0x473426(0x20d)])return;const _0x3775f7=_0x446fa4(_0x4b55cc[_0x473426(0x20a)]())||_0x53ea47[_0x473426(0x1dd)][_0x473426(0x1df)][_0x473426(0x1e9)](_0x4b55cc);_0x53ea47[_0x473426(0x1dd)][_0x473426(0x1ff)](_0x387770=>{const _0x5b13ce=_0x473426;_0x387770[_0x5b13ce(0x203)](_0x3775f7,'in');});}[_0x46b4ff(0x1e5)](_0xa48dc8){const _0x24804a=_0x46b4ff;return _0xa48dc8[_0x24804a(0x1eb)]?.[_0x24804a(0x1fc)]&&_0x24804a(0x1fd)!==_0xa48dc8[_0x24804a(0x1eb)]?.['id']?_0xa48dc8[_0x24804a(0x1eb)][_0x24804a(0x1fc)]+':\x20'+_0xa48dc8[_0x24804a(0x1ed)]:_0xa48dc8[_0x24804a(0x1ed)];}async[_0x46b4ff(0x210)](_0xb03fa1){const _0x14868c=_0x46b4ff,_0x44d35f=this[_0x14868c(0x1ec)][_0x14868c(0x1ef)][_0x14868c(0x1fa)](_0x14868c(0x202)),_0x4f6f59=_0xb03fa1[_0x14868c(0x1db)]?{'userMessage':_0xb03fa1[_0x14868c(0x1db)],'model':_0xb03fa1[_0x14868c(0x1dd)]}:{'actionName':_0xb03fa1[_0x14868c(0x1e8)]||_0xb03fa1['id'],'args':_0xb03fa1[_0x14868c(0x1fe)]},_0x2dfcf4=this[_0x14868c(0x1e5)](_0xb03fa1);await _0x44d35f[_0x14868c(0x214)](_0x4f6f59,_0x2dfcf4,_0xb03fa1[_0x14868c(0x212)]);}async[_0x46b4ff(0x1e7)](_0x219e6c){const _0x66a141=_0x46b4ff;console[_0x66a141(0x1f0)](_0x66a141(0x213),_0x219e6c);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b9225=_0xca87;(function(_0x318909,_0x444470){const _0x3862ba=_0xca87,_0x3d655a=_0x318909();while(!![]){try{const _0x4d73f9=-parseInt(_0x3862ba(0xa8))/0x1+-parseInt(_0x3862ba(0xb0))/0x2+parseInt(_0x3862ba(0xb5))/0x3*(parseInt(_0x3862ba(0xba))/0x4)+-parseInt(_0x3862ba(0xa7))/0x5*(parseInt(_0x3862ba(0xb2))/0x6)+-parseInt(_0x3862ba(0xb7))/0x7+parseInt(_0x3862ba(0xaf))/0x8*(-parseInt(_0x3862ba(0xa4))/0x9)+parseInt(_0x3862ba(0xbb))/0xa;if(_0x4d73f9===_0x444470)break;else _0x3d655a['push'](_0x3d655a['shift']());}catch(_0x24ee29){_0x3d655a['push'](_0x3d655a['shift']());}}}(_0xeb0b,0x1e2e8));function _0xca87(_0x3c361a,_0x245a93){const _0xeb0bcb=_0xeb0b();return _0xca87=function(_0xca87f4,_0x25635b){_0xca87f4=_0xca87f4-0xa2;let _0x53ce2f=_0xeb0bcb[_0xca87f4];return _0x53ce2f;},_0xca87(_0x3c361a,_0x245a93);}function _0xeb0b(){const _0x740200=['174351vXkLsg','isOfficialPlugin','isPremiumPlugin','has','model','commands','change:range','18136xxpWsd','257342YCXVCK','add','6oiYHKQ','pluginName','removeSelectionFromChatContext','21LHCpkG','selection','963571omKluN','aiQuickAction','AIQuickActionsEditing','21524dliVzu','7125240uBqgiZ','plugins','AIChat','get','init','directChange','351KbGNEj','editor','document','487395rHrAyo'];_0xeb0b=function(){return _0x740200;};return _0xeb0b();}import{Plugin as _0x3406dc}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x4adcf1}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x3406dc{static get[_0x3b9225(0xb3)](){const _0x4c932f=_0x3b9225;return _0x4c932f(0xb9);}static get[_0x3b9225(0xa9)](){return!0x0;}static get[_0x3b9225(0xaa)](){return!0x0;}[_0x3b9225(0xa2)](){const _0x42025d=_0x3b9225,_0x59d748=this[_0x42025d(0xa5)],_0x3d77cd=new _0x4adcf1(this[_0x42025d(0xa5)]);if(_0x59d748[_0x42025d(0xad)][_0x42025d(0xb1)](_0x42025d(0xb8),_0x3d77cd),_0x59d748[_0x42025d(0xbc)][_0x42025d(0xab)](_0x42025d(0xbd))){const _0x3c3203=this[_0x42025d(0xa5)][_0x42025d(0xbc)][_0x42025d(0xbe)](_0x42025d(0xbd));_0x59d748[_0x42025d(0xac)][_0x42025d(0xa6)][_0x42025d(0xb6)]['on'](_0x42025d(0xae),(_0x2d521f,_0x3372ce)=>{const _0x1a9e5e=_0x42025d;_0x3372ce[_0x1a9e5e(0xa3)]&&_0x3c3203[_0x1a9e5e(0xb4)]();});}}}
23
+ const _0x4e4a06=_0x27e8;function _0x27e8(_0x1634af,_0x3faf63){const _0x142988=_0x1429();return _0x27e8=function(_0x27e8a5,_0x590698){_0x27e8a5=_0x27e8a5-0x90;let _0x52762e=_0x142988[_0x27e8a5];return _0x52762e;},_0x27e8(_0x1634af,_0x3faf63);}(function(_0x30cf38,_0x3fa1df){const _0x59b80=_0x27e8,_0x8c8083=_0x30cf38();while(!![]){try{const _0x19b91=parseInt(_0x59b80(0xa5))/0x1*(-parseInt(_0x59b80(0x9d))/0x2)+-parseInt(_0x59b80(0xa2))/0x3+-parseInt(_0x59b80(0xa1))/0x4*(-parseInt(_0x59b80(0xa9))/0x5)+parseInt(_0x59b80(0x96))/0x6+parseInt(_0x59b80(0x95))/0x7*(parseInt(_0x59b80(0x9f))/0x8)+parseInt(_0x59b80(0x9c))/0x9+parseInt(_0x59b80(0xa3))/0xa*(parseInt(_0x59b80(0xaa))/0xb);if(_0x19b91===_0x3fa1df)break;else _0x8c8083['push'](_0x8c8083['shift']());}catch(_0x58fee7){_0x8c8083['push'](_0x8c8083['shift']());}}}(_0x1429,0x2142a));import{Plugin as _0x928308}from'ckeditor5/src/core.js';function _0x1429(){const _0x40b1e3=['147346oWBCAE','commands','1928yNLCWS','change:range','12PTUPvb','673263bGQYqk','60BKGkAp','add','1dIOgsb','isPremiumPlugin','AIQuickActionsEditing','aiQuickAction','31105vApkqh','441188xLWMtG','isOfficialPlugin','get','init','model','AIChat','selection','editor','has','1778HXsLpK','194610AzZxzC','plugins','document','directChange','pluginName','removeSelectionFromChatContext','732312ZfpWWM'];_0x1429=function(){return _0x40b1e3;};return _0x1429();}import{AIQuickActionsCommand as _0xfec1f3}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x928308{static get[_0x4e4a06(0x9a)](){const _0x325b17=_0x4e4a06;return _0x325b17(0xa7);}static get[_0x4e4a06(0xab)](){return!0x0;}static get[_0x4e4a06(0xa6)](){return!0x0;}[_0x4e4a06(0xad)](){const _0x5dd0d1=_0x4e4a06,_0xf193c=this[_0x5dd0d1(0x93)],_0x305dcf=new _0xfec1f3(this[_0x5dd0d1(0x93)]);if(_0xf193c[_0x5dd0d1(0x9e)][_0x5dd0d1(0xa4)](_0x5dd0d1(0xa8),_0x305dcf),_0xf193c[_0x5dd0d1(0x97)][_0x5dd0d1(0x94)](_0x5dd0d1(0x91))){const _0x4354f2=this[_0x5dd0d1(0x93)][_0x5dd0d1(0x97)][_0x5dd0d1(0xac)](_0x5dd0d1(0x91));_0xf193c[_0x5dd0d1(0x90)][_0x5dd0d1(0x98)][_0x5dd0d1(0x92)]['on'](_0x5dd0d1(0xa0),(_0x4a3375,_0x477e52)=>{const _0x309190=_0x5dd0d1;_0x477e52[_0x309190(0x99)]&&_0x4354f2[_0x309190(0x9b)]();});}}}