@ckeditor/ckeditor5-ai 47.3.0 → 47.4.0-alpha.1

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 (701) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/ai.js +3 -3
  4. package/build/translations/af.js +1 -1
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/ast.js +1 -1
  7. package/build/translations/az.js +1 -1
  8. package/build/translations/be.js +1 -1
  9. package/build/translations/bg.js +1 -1
  10. package/build/translations/bn.js +1 -1
  11. package/build/translations/bs.js +1 -1
  12. package/build/translations/ca.js +1 -1
  13. package/build/translations/cs.js +1 -1
  14. package/build/translations/da.js +1 -1
  15. package/build/translations/de-ch.js +1 -1
  16. package/build/translations/de.js +1 -1
  17. package/build/translations/el.js +1 -1
  18. package/build/translations/en-au.js +1 -1
  19. package/build/translations/en-gb.js +1 -1
  20. package/build/translations/eo.js +1 -1
  21. package/build/translations/es-co.js +1 -1
  22. package/build/translations/es.js +1 -1
  23. package/build/translations/et.js +1 -1
  24. package/build/translations/eu.js +1 -1
  25. package/build/translations/fa.js +1 -1
  26. package/build/translations/fi.js +1 -1
  27. package/build/translations/fr.js +1 -1
  28. package/build/translations/gl.js +1 -1
  29. package/build/translations/gu.js +1 -1
  30. package/build/translations/he.js +1 -1
  31. package/build/translations/hi.js +1 -1
  32. package/build/translations/hr.js +1 -1
  33. package/build/translations/hu.js +1 -1
  34. package/build/translations/hy.js +1 -1
  35. package/build/translations/id.js +1 -1
  36. package/build/translations/it.js +1 -1
  37. package/build/translations/ja.js +1 -1
  38. package/build/translations/jv.js +1 -1
  39. package/build/translations/kk.js +1 -1
  40. package/build/translations/km.js +1 -1
  41. package/build/translations/kn.js +1 -1
  42. package/build/translations/ko.js +1 -1
  43. package/build/translations/ku.js +1 -1
  44. package/build/translations/lt.js +1 -1
  45. package/build/translations/lv.js +1 -1
  46. package/build/translations/ms.js +1 -1
  47. package/build/translations/nb.js +1 -1
  48. package/build/translations/ne.js +1 -1
  49. package/build/translations/nl.js +1 -1
  50. package/build/translations/no.js +1 -1
  51. package/build/translations/oc.js +1 -1
  52. package/build/translations/pl.js +1 -1
  53. package/build/translations/pt-br.js +1 -1
  54. package/build/translations/pt.js +1 -1
  55. package/build/translations/ro.js +1 -1
  56. package/build/translations/ru.js +1 -1
  57. package/build/translations/si.js +1 -1
  58. package/build/translations/sk.js +1 -1
  59. package/build/translations/sl.js +1 -1
  60. package/build/translations/sq.js +1 -1
  61. package/build/translations/sr-latn.js +1 -1
  62. package/build/translations/sr.js +1 -1
  63. package/build/translations/sv.js +1 -1
  64. package/build/translations/th.js +1 -1
  65. package/build/translations/ti.js +1 -1
  66. package/build/translations/tk.js +1 -1
  67. package/build/translations/tr.js +1 -1
  68. package/build/translations/tt.js +1 -1
  69. package/build/translations/ug.js +1 -1
  70. package/build/translations/uk.js +1 -1
  71. package/build/translations/ur.js +1 -1
  72. package/build/translations/uz.js +1 -1
  73. package/build/translations/vi.js +1 -1
  74. package/build/translations/zh-cn.js +1 -1
  75. package/build/translations/zh.js +1 -1
  76. package/dist/index-content.css +1 -1
  77. package/dist/index-editor.css +67 -4
  78. package/dist/index.css +117 -54
  79. package/dist/index.js +6 -6
  80. package/dist/translations/af.d.ts +1 -1
  81. package/dist/translations/af.js +2 -2
  82. package/dist/translations/af.umd.js +2 -2
  83. package/dist/translations/ar.d.ts +1 -1
  84. package/dist/translations/ar.js +2 -2
  85. package/dist/translations/ar.umd.js +2 -2
  86. package/dist/translations/ast.d.ts +1 -1
  87. package/dist/translations/ast.js +2 -2
  88. package/dist/translations/ast.umd.js +2 -2
  89. package/dist/translations/az.d.ts +1 -1
  90. package/dist/translations/az.js +2 -2
  91. package/dist/translations/az.umd.js +2 -2
  92. package/dist/translations/be.d.ts +1 -1
  93. package/dist/translations/be.js +2 -2
  94. package/dist/translations/be.umd.js +2 -2
  95. package/dist/translations/bg.d.ts +1 -1
  96. package/dist/translations/bg.js +2 -2
  97. package/dist/translations/bg.umd.js +2 -2
  98. package/dist/translations/bn.d.ts +1 -1
  99. package/dist/translations/bn.js +2 -2
  100. package/dist/translations/bn.umd.js +2 -2
  101. package/dist/translations/bs.d.ts +1 -1
  102. package/dist/translations/bs.js +2 -2
  103. package/dist/translations/bs.umd.js +2 -2
  104. package/dist/translations/ca.d.ts +1 -1
  105. package/dist/translations/ca.js +2 -2
  106. package/dist/translations/ca.umd.js +2 -2
  107. package/dist/translations/cs.d.ts +1 -1
  108. package/dist/translations/cs.js +2 -2
  109. package/dist/translations/cs.umd.js +2 -2
  110. package/dist/translations/da.d.ts +1 -1
  111. package/dist/translations/da.js +2 -2
  112. package/dist/translations/da.umd.js +2 -2
  113. package/dist/translations/de-ch.d.ts +1 -1
  114. package/dist/translations/de-ch.js +2 -2
  115. package/dist/translations/de-ch.umd.js +2 -2
  116. package/dist/translations/de.d.ts +1 -1
  117. package/dist/translations/de.js +2 -2
  118. package/dist/translations/de.umd.js +2 -2
  119. package/dist/translations/el.d.ts +1 -1
  120. package/dist/translations/el.js +2 -2
  121. package/dist/translations/el.umd.js +2 -2
  122. package/dist/translations/en-au.d.ts +1 -1
  123. package/dist/translations/en-au.js +2 -2
  124. package/dist/translations/en-au.umd.js +2 -2
  125. package/dist/translations/en-gb.d.ts +1 -1
  126. package/dist/translations/en-gb.js +2 -2
  127. package/dist/translations/en-gb.umd.js +2 -2
  128. package/dist/translations/en.d.ts +1 -1
  129. package/dist/translations/en.js +2 -2
  130. package/dist/translations/en.umd.js +2 -2
  131. package/dist/translations/eo.d.ts +1 -1
  132. package/dist/translations/eo.js +2 -2
  133. package/dist/translations/eo.umd.js +2 -2
  134. package/dist/translations/es-co.d.ts +1 -1
  135. package/dist/translations/es-co.js +2 -2
  136. package/dist/translations/es-co.umd.js +2 -2
  137. package/dist/translations/es.d.ts +1 -1
  138. package/dist/translations/es.js +2 -2
  139. package/dist/translations/es.umd.js +2 -2
  140. package/dist/translations/et.d.ts +1 -1
  141. package/dist/translations/et.js +2 -2
  142. package/dist/translations/et.umd.js +2 -2
  143. package/dist/translations/eu.d.ts +1 -1
  144. package/dist/translations/eu.js +2 -2
  145. package/dist/translations/eu.umd.js +2 -2
  146. package/dist/translations/fa.d.ts +1 -1
  147. package/dist/translations/fa.js +2 -2
  148. package/dist/translations/fa.umd.js +2 -2
  149. package/dist/translations/fi.d.ts +1 -1
  150. package/dist/translations/fi.js +2 -2
  151. package/dist/translations/fi.umd.js +2 -2
  152. package/dist/translations/fr.d.ts +1 -1
  153. package/dist/translations/fr.js +2 -2
  154. package/dist/translations/fr.umd.js +2 -2
  155. package/dist/translations/gl.d.ts +1 -1
  156. package/dist/translations/gl.js +2 -2
  157. package/dist/translations/gl.umd.js +2 -2
  158. package/dist/translations/gu.d.ts +1 -1
  159. package/dist/translations/gu.js +2 -2
  160. package/dist/translations/gu.umd.js +2 -2
  161. package/dist/translations/he.d.ts +1 -1
  162. package/dist/translations/he.js +2 -2
  163. package/dist/translations/he.umd.js +2 -2
  164. package/dist/translations/hi.d.ts +1 -1
  165. package/dist/translations/hi.js +2 -2
  166. package/dist/translations/hi.umd.js +2 -2
  167. package/dist/translations/hr.d.ts +1 -1
  168. package/dist/translations/hr.js +2 -2
  169. package/dist/translations/hr.umd.js +2 -2
  170. package/dist/translations/hu.d.ts +1 -1
  171. package/dist/translations/hu.js +2 -2
  172. package/dist/translations/hu.umd.js +2 -2
  173. package/dist/translations/hy.d.ts +1 -1
  174. package/dist/translations/hy.js +2 -2
  175. package/dist/translations/hy.umd.js +2 -2
  176. package/dist/translations/id.d.ts +1 -1
  177. package/dist/translations/id.js +2 -2
  178. package/dist/translations/id.umd.js +2 -2
  179. package/dist/translations/it.d.ts +1 -1
  180. package/dist/translations/it.js +2 -2
  181. package/dist/translations/it.umd.js +2 -2
  182. package/dist/translations/ja.d.ts +1 -1
  183. package/dist/translations/ja.js +2 -2
  184. package/dist/translations/ja.umd.js +2 -2
  185. package/dist/translations/jv.d.ts +1 -1
  186. package/dist/translations/jv.js +2 -2
  187. package/dist/translations/jv.umd.js +2 -2
  188. package/dist/translations/kk.d.ts +1 -1
  189. package/dist/translations/kk.js +2 -2
  190. package/dist/translations/kk.umd.js +2 -2
  191. package/dist/translations/km.d.ts +1 -1
  192. package/dist/translations/km.js +2 -2
  193. package/dist/translations/km.umd.js +2 -2
  194. package/dist/translations/kn.d.ts +1 -1
  195. package/dist/translations/kn.js +2 -2
  196. package/dist/translations/kn.umd.js +2 -2
  197. package/dist/translations/ko.d.ts +1 -1
  198. package/dist/translations/ko.js +2 -2
  199. package/dist/translations/ko.umd.js +2 -2
  200. package/dist/translations/ku.d.ts +1 -1
  201. package/dist/translations/ku.js +2 -2
  202. package/dist/translations/ku.umd.js +2 -2
  203. package/dist/translations/lt.d.ts +1 -1
  204. package/dist/translations/lt.js +2 -2
  205. package/dist/translations/lt.umd.js +2 -2
  206. package/dist/translations/lv.d.ts +1 -1
  207. package/dist/translations/lv.js +2 -2
  208. package/dist/translations/lv.umd.js +2 -2
  209. package/dist/translations/ms.d.ts +1 -1
  210. package/dist/translations/ms.js +2 -2
  211. package/dist/translations/ms.umd.js +2 -2
  212. package/dist/translations/nb.d.ts +1 -1
  213. package/dist/translations/nb.js +2 -2
  214. package/dist/translations/nb.umd.js +2 -2
  215. package/dist/translations/ne.d.ts +1 -1
  216. package/dist/translations/ne.js +2 -2
  217. package/dist/translations/ne.umd.js +2 -2
  218. package/dist/translations/nl.d.ts +1 -1
  219. package/dist/translations/nl.js +2 -2
  220. package/dist/translations/nl.umd.js +2 -2
  221. package/dist/translations/no.d.ts +1 -1
  222. package/dist/translations/no.js +2 -2
  223. package/dist/translations/no.umd.js +2 -2
  224. package/dist/translations/oc.d.ts +1 -1
  225. package/dist/translations/oc.js +2 -2
  226. package/dist/translations/oc.umd.js +2 -2
  227. package/dist/translations/pl.d.ts +1 -1
  228. package/dist/translations/pl.js +2 -2
  229. package/dist/translations/pl.umd.js +2 -2
  230. package/dist/translations/pt-br.d.ts +1 -1
  231. package/dist/translations/pt-br.js +2 -2
  232. package/dist/translations/pt-br.umd.js +2 -2
  233. package/dist/translations/pt.d.ts +1 -1
  234. package/dist/translations/pt.js +2 -2
  235. package/dist/translations/pt.umd.js +2 -2
  236. package/dist/translations/ro.d.ts +1 -1
  237. package/dist/translations/ro.js +2 -2
  238. package/dist/translations/ro.umd.js +2 -2
  239. package/dist/translations/ru.d.ts +1 -1
  240. package/dist/translations/ru.js +2 -2
  241. package/dist/translations/ru.umd.js +2 -2
  242. package/dist/translations/si.d.ts +1 -1
  243. package/dist/translations/si.js +2 -2
  244. package/dist/translations/si.umd.js +2 -2
  245. package/dist/translations/sk.d.ts +1 -1
  246. package/dist/translations/sk.js +2 -2
  247. package/dist/translations/sk.umd.js +2 -2
  248. package/dist/translations/sl.d.ts +1 -1
  249. package/dist/translations/sl.js +2 -2
  250. package/dist/translations/sl.umd.js +2 -2
  251. package/dist/translations/sq.d.ts +1 -1
  252. package/dist/translations/sq.js +2 -2
  253. package/dist/translations/sq.umd.js +2 -2
  254. package/dist/translations/sr-latn.d.ts +1 -1
  255. package/dist/translations/sr-latn.js +2 -2
  256. package/dist/translations/sr-latn.umd.js +2 -2
  257. package/dist/translations/sr.d.ts +1 -1
  258. package/dist/translations/sr.js +2 -2
  259. package/dist/translations/sr.umd.js +2 -2
  260. package/dist/translations/sv.d.ts +1 -1
  261. package/dist/translations/sv.js +2 -2
  262. package/dist/translations/sv.umd.js +2 -2
  263. package/dist/translations/th.d.ts +1 -1
  264. package/dist/translations/th.js +2 -2
  265. package/dist/translations/th.umd.js +2 -2
  266. package/dist/translations/ti.d.ts +1 -1
  267. package/dist/translations/ti.js +2 -2
  268. package/dist/translations/ti.umd.js +2 -2
  269. package/dist/translations/tk.d.ts +1 -1
  270. package/dist/translations/tk.js +2 -2
  271. package/dist/translations/tk.umd.js +2 -2
  272. package/dist/translations/tr.d.ts +1 -1
  273. package/dist/translations/tr.js +2 -2
  274. package/dist/translations/tr.umd.js +2 -2
  275. package/dist/translations/tt.d.ts +1 -1
  276. package/dist/translations/tt.js +2 -2
  277. package/dist/translations/tt.umd.js +2 -2
  278. package/dist/translations/ug.d.ts +1 -1
  279. package/dist/translations/ug.js +2 -2
  280. package/dist/translations/ug.umd.js +2 -2
  281. package/dist/translations/uk.d.ts +1 -1
  282. package/dist/translations/uk.js +2 -2
  283. package/dist/translations/uk.umd.js +2 -2
  284. package/dist/translations/ur.d.ts +1 -1
  285. package/dist/translations/ur.js +2 -2
  286. package/dist/translations/ur.umd.js +2 -2
  287. package/dist/translations/uz.d.ts +1 -1
  288. package/dist/translations/uz.js +2 -2
  289. package/dist/translations/uz.umd.js +2 -2
  290. package/dist/translations/vi.d.ts +1 -1
  291. package/dist/translations/vi.js +2 -2
  292. package/dist/translations/vi.umd.js +2 -2
  293. package/dist/translations/zh-cn.d.ts +1 -1
  294. package/dist/translations/zh-cn.js +2 -2
  295. package/dist/translations/zh-cn.umd.js +2 -2
  296. package/dist/translations/zh.d.ts +1 -1
  297. package/dist/translations/zh.js +2 -2
  298. package/dist/translations/zh.umd.js +2 -2
  299. package/lang/contexts.json +0 -11
  300. package/lang/translations/af.po +1 -45
  301. package/lang/translations/ar.po +1 -45
  302. package/lang/translations/ast.po +1 -45
  303. package/lang/translations/az.po +1 -45
  304. package/lang/translations/be.po +1 -45
  305. package/lang/translations/bg.po +1 -45
  306. package/lang/translations/bn.po +1 -45
  307. package/lang/translations/bs.po +1 -45
  308. package/lang/translations/ca.po +1 -45
  309. package/lang/translations/cs.po +1 -45
  310. package/lang/translations/da.po +1 -45
  311. package/lang/translations/de-ch.po +1 -45
  312. package/lang/translations/de.po +1 -45
  313. package/lang/translations/el.po +1 -45
  314. package/lang/translations/en-au.po +1 -45
  315. package/lang/translations/en-gb.po +1 -45
  316. package/lang/translations/en.po +1 -45
  317. package/lang/translations/eo.po +1 -45
  318. package/lang/translations/es-co.po +1 -45
  319. package/lang/translations/es.po +1 -45
  320. package/lang/translations/et.po +1 -45
  321. package/lang/translations/eu.po +1 -45
  322. package/lang/translations/fa.po +1 -45
  323. package/lang/translations/fi.po +1 -45
  324. package/lang/translations/fr.po +1 -45
  325. package/lang/translations/gl.po +1 -45
  326. package/lang/translations/gu.po +1 -45
  327. package/lang/translations/he.po +1 -45
  328. package/lang/translations/hi.po +1 -45
  329. package/lang/translations/hr.po +1 -45
  330. package/lang/translations/hu.po +1 -45
  331. package/lang/translations/hy.po +1 -45
  332. package/lang/translations/id.po +1 -45
  333. package/lang/translations/it.po +1 -45
  334. package/lang/translations/ja.po +1 -45
  335. package/lang/translations/jv.po +1 -45
  336. package/lang/translations/kk.po +1 -45
  337. package/lang/translations/km.po +1 -45
  338. package/lang/translations/kn.po +1 -45
  339. package/lang/translations/ko.po +1 -45
  340. package/lang/translations/ku.po +1 -45
  341. package/lang/translations/lt.po +1 -45
  342. package/lang/translations/lv.po +1 -45
  343. package/lang/translations/ms.po +1 -45
  344. package/lang/translations/nb.po +1 -45
  345. package/lang/translations/ne.po +1 -45
  346. package/lang/translations/nl.po +1 -45
  347. package/lang/translations/no.po +1 -45
  348. package/lang/translations/oc.po +1 -45
  349. package/lang/translations/pl.po +1 -45
  350. package/lang/translations/pt-br.po +1 -45
  351. package/lang/translations/pt.po +1 -45
  352. package/lang/translations/ro.po +1 -45
  353. package/lang/translations/ru.po +1 -45
  354. package/lang/translations/si.po +1 -45
  355. package/lang/translations/sk.po +1 -45
  356. package/lang/translations/sl.po +1 -45
  357. package/lang/translations/sq.po +1 -45
  358. package/lang/translations/sr-latn.po +1 -45
  359. package/lang/translations/sr.po +1 -45
  360. package/lang/translations/sv.po +1 -45
  361. package/lang/translations/th.po +1 -45
  362. package/lang/translations/ti.po +1 -45
  363. package/lang/translations/tk.po +1 -45
  364. package/lang/translations/tr.po +1 -45
  365. package/lang/translations/tt.po +1 -45
  366. package/lang/translations/ug.po +1 -45
  367. package/lang/translations/uk.po +1 -45
  368. package/lang/translations/ur.po +1 -45
  369. package/lang/translations/uz.po +1 -45
  370. package/lang/translations/vi.po +1 -45
  371. package/lang/translations/zh-cn.po +1 -45
  372. package/lang/translations/zh.po +1 -45
  373. package/package.json +16 -16
  374. package/src/aiactions/aiactions.d.ts +5 -1
  375. package/src/aiactions/aiactions.js +2 -2
  376. package/src/aiactions/model/aiactionsinteraction.d.ts +1 -1
  377. package/src/aiactions/model/aiactionsinteraction.js +2 -2
  378. package/src/aiactions/model/aiactionsreply.d.ts +1 -1
  379. package/src/aiactions/model/aiactionsreply.js +2 -2
  380. package/src/aiassistant/adapters/aiadapter.d.ts +1 -1
  381. package/src/aiassistant/adapters/aiadapter.js +2 -2
  382. package/src/aiassistant/adapters/aitextadapter.d.ts +1 -1
  383. package/src/aiassistant/adapters/aitextadapter.js +2 -2
  384. package/src/aiassistant/adapters/awstextadapter.d.ts +1 -1
  385. package/src/aiassistant/adapters/awstextadapter.js +2 -2
  386. package/src/aiassistant/adapters/openaitextadapter.d.ts +1 -1
  387. package/src/aiassistant/adapters/openaitextadapter.js +2 -2
  388. package/src/aiassistant/aiassistant.d.ts +1 -1
  389. package/src/aiassistant/aiassistant.js +2 -2
  390. package/src/aiassistant/aiassistantediting.d.ts +1 -1
  391. package/src/aiassistant/aiassistantediting.js +2 -2
  392. package/src/aiassistant/aiassistantui.d.ts +1 -1
  393. package/src/aiassistant/aiassistantui.js +2 -2
  394. package/src/aiassistant/legacyerrors.d.ts +1 -1
  395. package/src/aiassistant/legacyerrors.js +2 -2
  396. package/src/aiassistant/ui/aiassistantcontroller.d.ts +1 -1
  397. package/src/aiassistant/ui/aiassistantcontroller.js +3 -3
  398. package/src/aiassistant/ui/form/aiformcontentarea.d.ts +1 -1
  399. package/src/aiassistant/ui/form/aiformcontentarea.js +2 -2
  400. package/src/aiassistant/ui/form/aiformerrorview.d.ts +1 -1
  401. package/src/aiassistant/ui/form/aiformerrorview.js +2 -2
  402. package/src/aiassistant/ui/form/aiformpromptview.d.ts +1 -1
  403. package/src/aiassistant/ui/form/aiformpromptview.js +2 -2
  404. package/src/aiassistant/ui/form/aiformtoolbarview.d.ts +1 -1
  405. package/src/aiassistant/ui/form/aiformtoolbarview.js +2 -2
  406. package/src/aiassistant/ui/form/aiformview.d.ts +1 -1
  407. package/src/aiassistant/ui/form/aiformview.js +2 -2
  408. package/src/aiassistant/ui/form/aihistorylistitemview.d.ts +1 -1
  409. package/src/aiassistant/ui/form/aihistorylistitemview.js +2 -2
  410. package/src/aiassistant/ui/form/aihistorylistview.d.ts +1 -1
  411. package/src/aiassistant/ui/form/aihistorylistview.js +2 -2
  412. package/src/aiassistant/ui/form/prompthistory.d.ts +1 -1
  413. package/src/aiassistant/ui/form/prompthistory.js +2 -2
  414. package/src/aiassistant/ui/showaiassistantcommand.d.ts +1 -1
  415. package/src/aiassistant/ui/showaiassistantcommand.js +2 -2
  416. package/src/aiassistant/utils/common-translations.d.ts +1 -1
  417. package/src/aiassistant/utils/common-translations.js +2 -2
  418. package/src/aiassistant/utils/normalizecommandsconfig.d.ts +1 -1
  419. package/src/aiassistant/utils/normalizecommandsconfig.js +2 -2
  420. package/src/aiballoon/aiballoon.d.ts +1 -1
  421. package/src/aiballoon/aiballoon.js +2 -2
  422. package/src/aiballoon/ui/aiballoondisclaimerview.d.ts +1 -1
  423. package/src/aiballoon/ui/aiballoondisclaimerview.js +2 -2
  424. package/src/aiballoon/ui/aiballoontoolbarview.d.ts +1 -1
  425. package/src/aiballoon/ui/aiballoontoolbarview.js +2 -2
  426. package/src/aiballoon/ui/aiballoonview.d.ts +1 -1
  427. package/src/aiballoon/ui/aiballoonview.js +2 -2
  428. package/src/aichat/aichat.d.ts +38 -4
  429. package/src/aichat/aichat.js +2 -2
  430. package/src/aichat/aichatcontroller.d.ts +5 -1
  431. package/src/aichat/aichatcontroller.js +2 -2
  432. package/src/aichat/aichatui.d.ts +3 -3
  433. package/src/aichat/aichatui.js +2 -2
  434. package/src/aichat/model/aichatcontext.d.ts +1 -1
  435. package/src/aichat/model/aichatcontext.js +2 -2
  436. package/src/aichat/model/aichatconversation.d.ts +10 -10
  437. package/src/aichat/model/aichatconversation.js +2 -2
  438. package/src/aichat/model/aichatinteraction.d.ts +1 -1
  439. package/src/aichat/model/aichatinteraction.js +2 -2
  440. package/src/aichat/ui/aichatcontrolsview.d.ts +4 -4
  441. package/src/aichat/ui/aichatcontrolsview.js +2 -2
  442. package/src/aichat/ui/aichatfeedview.d.ts +1 -1
  443. package/src/aichat/ui/aichatfeedview.js +2 -2
  444. package/src/aichat/ui/aichatheaderview.d.ts +1 -1
  445. package/src/aichat/ui/aichatheaderview.js +2 -2
  446. package/src/aichat/ui/aichatview.d.ts +1 -1
  447. package/src/aichat/ui/aichatview.js +2 -2
  448. package/src/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +1 -1
  449. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +2 -2
  450. package/src/aichat/ui/controls/aichatcontextitembuttonview.d.ts +1 -1
  451. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +2 -2
  452. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +1 -1
  453. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +2 -2
  454. package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +1 -1
  455. package/src/aichat/ui/controls/aichatcontextpanelview.js +2 -2
  456. package/src/aichat/ui/controls/aichatcontrolsloaderview.d.ts +1 -1
  457. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +2 -2
  458. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +5 -5
  459. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +2 -2
  460. package/src/aichat/ui/controls/aichatpromptinputview.d.ts +1 -1
  461. package/src/aichat/ui/controls/aichatpromptinputview.js +2 -2
  462. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +1 -1
  463. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +2 -2
  464. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.d.ts +1 -1
  465. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +2 -2
  466. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.d.ts +1 -1
  467. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +2 -2
  468. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +1 -1
  469. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +2 -2
  470. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +1 -1
  471. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +2 -2
  472. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +1 -1
  473. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +2 -2
  474. package/src/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +1 -1
  475. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +2 -2
  476. package/src/aichat/ui/feed/aichatfeederroritemview.d.ts +1 -1
  477. package/src/aichat/ui/feed/aichatfeederroritemview.js +2 -2
  478. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -1
  479. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +2 -2
  480. package/src/aichat/ui/feed/aichatfeeditemview.d.ts +1 -1
  481. package/src/aichat/ui/feed/aichatfeeditemview.js +2 -2
  482. package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +3 -2
  483. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +2 -2
  484. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +1 -1
  485. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +2 -2
  486. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -2
  487. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +2 -2
  488. package/src/aichat/ui/feed/aichatfeedusermessageitem.d.ts +1 -1
  489. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +2 -2
  490. package/src/aichat/utils/eventnames.d.ts +1 -1
  491. package/src/aichat/utils/eventnames.js +2 -2
  492. package/src/aichat/utils/promisequeue.d.ts +1 -1
  493. package/src/aichat/utils/promisequeue.js +2 -2
  494. package/src/aichathistory/aichathistory.d.ts +1 -1
  495. package/src/aichathistory/aichathistory.js +2 -2
  496. package/src/aichathistory/aichathistorycontroller.d.ts +1 -1
  497. package/src/aichathistory/aichathistorycontroller.js +2 -2
  498. package/src/aichathistory/aichathistoryui.d.ts +1 -1
  499. package/src/aichathistory/aichathistoryui.js +2 -2
  500. package/src/aichathistory/model/aichathistoryconversations.d.ts +1 -1
  501. package/src/aichathistory/model/aichathistoryconversations.js +2 -2
  502. package/src/aichathistory/model/aichathistoryitem.d.ts +1 -1
  503. package/src/aichathistory/model/aichathistoryitem.js +2 -2
  504. package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
  505. package/src/aichathistory/ui/aichathistorylistitemview.js +3 -3
  506. package/src/aichathistory/ui/aichathistorylistview.d.ts +1 -1
  507. package/src/aichathistory/ui/aichathistorylistview.js +2 -2
  508. package/src/aichathistory/ui/aichathistorysectionlistview.d.ts +1 -1
  509. package/src/aichathistory/ui/aichathistorysectionlistview.js +2 -2
  510. package/src/aichathistory/ui/aichathistoryview.d.ts +1 -1
  511. package/src/aichathistory/ui/aichathistoryview.js +2 -2
  512. package/src/aiconfig.d.ts +1 -1
  513. package/src/aiconfig.js +1 -1
  514. package/src/aicore/aiconnector.d.ts +4 -2
  515. package/src/aicore/aiconnector.js +2 -2
  516. package/src/aicore/aiediting.d.ts +1 -1
  517. package/src/aicore/aiediting.js +2 -2
  518. package/src/aicore/model/aicapabilities.d.ts +1 -1
  519. package/src/aicore/model/aicapabilities.js +2 -2
  520. package/src/aicore/model/aicontext.d.ts +1 -1
  521. package/src/aicore/model/aicontext.js +2 -2
  522. package/src/aicore/model/aiinteraction.d.ts +1 -1
  523. package/src/aicore/model/aiinteraction.js +2 -2
  524. package/src/aicore/model/aimodels.d.ts +3 -12
  525. package/src/aicore/model/aimodels.js +2 -2
  526. package/src/aicore/model/aireply.d.ts +1 -1
  527. package/src/aicore/model/aireply.js +2 -2
  528. package/src/aicore/pipeline/airesponseapplier.d.ts +1 -1
  529. package/src/aicore/pipeline/airesponseapplier.js +3 -3
  530. package/src/aicore/pipeline/airesponseparser.d.ts +1 -1
  531. package/src/aicore/pipeline/airesponseparser.js +3 -3
  532. package/src/aicore/ui/aidisclaimerview.d.ts +1 -1
  533. package/src/aicore/ui/aidisclaimerview.js +2 -2
  534. package/src/aicore/ui/aiskeleton.d.ts +1 -1
  535. package/src/aicore/ui/aiskeleton.js +2 -2
  536. package/src/aicore/ui/aispinner.d.ts +1 -1
  537. package/src/aicore/ui/aispinner.js +2 -2
  538. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +1 -1
  539. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +2 -2
  540. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +1 -1
  541. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +2 -2
  542. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +5 -5
  543. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +2 -2
  544. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +1 -1
  545. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +2 -2
  546. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +1 -1
  547. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +2 -2
  548. package/src/aicore/utils/common-translations.d.ts +1 -1
  549. package/src/aicore/utils/common-translations.js +2 -2
  550. package/src/aicore/utils/createresizebutton.d.ts +1 -1
  551. package/src/aicore/utils/createresizebutton.js +2 -2
  552. package/src/aicore/utils/documentposition.d.ts +1 -1
  553. package/src/aicore/utils/documentposition.js +2 -2
  554. package/src/aicore/utils/documentrange.d.ts +1 -1
  555. package/src/aicore/utils/documentrange.js +2 -2
  556. package/src/aicore/utils/eventnames.d.ts +1 -1
  557. package/src/aicore/utils/eventnames.js +2 -2
  558. package/src/aicore/utils/geteditorfromcontext.d.ts +1 -1
  559. package/src/aicore/utils/geteditorfromcontext.js +2 -2
  560. package/src/aicore/utils/getoperationsfromreply.d.ts +1 -1
  561. package/src/aicore/utils/getoperationsfromreply.js +2 -2
  562. package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +1 -1
  563. package/src/aicore/utils/getsuggestionpartsfromreply.js +2 -2
  564. package/src/aicore/utils/htmlparser.d.ts +1 -1
  565. package/src/aicore/utils/htmlparser.js +2 -2
  566. package/src/aicore/utils/htmlstreamer.d.ts +1 -1
  567. package/src/aicore/utils/htmlstreamer.js +2 -2
  568. package/src/aicore/utils/scrollmanager.d.ts +1 -1
  569. package/src/aicore/utils/scrollmanager.js +2 -2
  570. package/src/aieditorintegration/aieditorintegration.d.ts +1 -1
  571. package/src/aieditorintegration/aieditorintegration.js +2 -2
  572. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -1
  573. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +2 -2
  574. package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +1 -1
  575. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +2 -2
  576. package/src/aiquickactions/aiquickactions.d.ts +1 -1
  577. package/src/aiquickactions/aiquickactions.js +2 -2
  578. package/src/aiquickactions/aiquickactionscommand.d.ts +1 -1
  579. package/src/aiquickactions/aiquickactionscommand.js +2 -2
  580. package/src/aiquickactions/aiquickactionsediting.d.ts +1 -1
  581. package/src/aiquickactions/aiquickactionsediting.js +2 -2
  582. package/src/aiquickactions/aiquickactionsui.d.ts +1 -1
  583. package/src/aiquickactions/aiquickactionsui.js +2 -2
  584. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +1 -1
  585. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +2 -2
  586. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +1 -1
  587. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +2 -2
  588. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +1 -1
  589. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +2 -2
  590. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +1 -1
  591. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +2 -2
  592. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +1 -1
  593. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +2 -2
  594. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +1 -1
  595. package/src/aireviewmode/aireviewcheckdefinitions.js +2 -2
  596. package/src/aireviewmode/aireviewmode.d.ts +1 -1
  597. package/src/aireviewmode/aireviewmode.js +2 -2
  598. package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
  599. package/src/aireviewmode/aireviewmodecontroller.js +2 -2
  600. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
  601. package/src/aireviewmode/aireviewmodeediting.js +2 -2
  602. package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
  603. package/src/aireviewmode/aireviewmodeui.js +2 -2
  604. package/src/aireviewmode/model/aireviewcheck.d.ts +1 -1
  605. package/src/aireviewmode/model/aireviewcheck.js +2 -2
  606. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +1 -1
  607. package/src/aireviewmode/model/aireviewcheckcustom.js +2 -2
  608. package/src/aireviewmode/model/aireviewchecklist.d.ts +1 -1
  609. package/src/aireviewmode/model/aireviewchecklist.js +2 -2
  610. package/src/aireviewmode/model/aireviewcheckresult.d.ts +1 -1
  611. package/src/aireviewmode/model/aireviewcheckresult.js +2 -2
  612. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
  613. package/src/aireviewmode/model/aireviewcheckresultchange.js +2 -2
  614. package/src/aireviewmode/model/aireviewcheckrun.d.ts +1 -1
  615. package/src/aireviewmode/model/aireviewcheckrun.js +2 -2
  616. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
  617. package/src/aireviewmode/model/aireviewcustomcheckrun.js +2 -2
  618. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +1 -1
  619. package/src/aireviewmode/model/aireviewsystemcheckrun.js +2 -2
  620. package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +1 -1
  621. package/src/aireviewmode/ui/aireviemodepromptinputview.js +2 -2
  622. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +1 -1
  623. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +2 -2
  624. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +2 -2
  625. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +2 -2
  626. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +1 -1
  627. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +2 -2
  628. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +1 -1
  629. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +2 -2
  630. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +1 -1
  631. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +2 -2
  632. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.d.ts +1 -1
  633. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +2 -2
  634. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -1
  635. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +2 -2
  636. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -1
  637. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +2 -2
  638. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +1 -1
  639. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +2 -2
  640. package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -1
  641. package/src/aireviewmode/ui/aireviewmodeview.js +2 -2
  642. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  643. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +2 -2
  644. package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
  645. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +2 -2
  646. package/src/aitabs/aitabs.d.ts +1 -1
  647. package/src/aitabs/aitabs.js +2 -2
  648. package/src/aitabs/aitabsmainview.d.ts +1 -1
  649. package/src/aitabs/aitabsmainview.js +2 -2
  650. package/src/aitabs/tabs/aitabsview.d.ts +1 -1
  651. package/src/aitabs/tabs/aitabsview.js +2 -2
  652. package/src/aitabs/tabs/tabbuttonview.d.ts +1 -1
  653. package/src/aitabs/tabs/tabbuttonview.js +2 -2
  654. package/src/aitabs/tabs/tabpanelview.d.ts +1 -1
  655. package/src/aitabs/tabs/tabpanelview.js +2 -2
  656. package/src/augmentation.d.ts +1 -1
  657. package/src/augmentation.js +1 -1
  658. package/src/errors.d.ts +1 -1
  659. package/src/errors.js +2 -2
  660. package/src/errorsmap.d.ts +1 -1
  661. package/src/errorsmap.js +2 -2
  662. package/src/index.d.ts +1 -2
  663. package/src/index.js +2 -2
  664. package/theme/aiassistant/ai-dropdown.css +1 -1
  665. package/theme/aiassistant/ai-form.css +1 -1
  666. package/theme/aiassistant/ai.css +1 -1
  667. package/theme/aiballoon/aiballoon.css +1 -1
  668. package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
  669. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +1 -1
  670. package/theme/aichat/aichat-controls/aichat-context-controls.css +1 -1
  671. package/theme/aichat/aichat-controls/aichat-controls-button.css +1 -1
  672. package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
  673. package/theme/aichat/aichat-controls/model-unavailable-message.css +1 -1
  674. package/theme/aichat/aichat-controls/prompt-capabilities.css +1 -1
  675. package/theme/aichat/aichat-controls/prompt-input.css +1 -1
  676. package/theme/aichat/aichat-controls.css +1 -1
  677. package/theme/aichat/aichat.css +1 -1
  678. package/theme/aichat/aichatfeed.css +55 -1
  679. package/theme/aichat/aichathistory.css +1 -1
  680. package/theme/aichat/aiminitoolbar.css +1 -1
  681. package/theme/aichat/aisuggestioncontainer.css +1 -1
  682. package/theme/aieditorintegration/aitogglebutton.css +1 -1
  683. package/theme/aiquickactions/aiquickactions.css +1 -1
  684. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +1 -1
  685. package/theme/aireviewmode/aireviewmode-check-list.css +1 -1
  686. package/theme/aireviewmode/aireviewmode-check-run-result.css +1 -1
  687. package/theme/aireviewmode/aireviewmode-check-run.css +1 -1
  688. package/theme/aireviewmode/aireviewmode-review-completed.css +1 -1
  689. package/theme/aireviewmode/aireviewmode.css +9 -4
  690. package/theme/aitabs/aitabsview.css +1 -1
  691. package/theme/aitabs/tabs/tabbuttonview.css +1 -1
  692. package/theme/aitabs/tabs/tabsview.css +1 -1
  693. package/theme/common/aibutton.css +1 -1
  694. package/theme/common/aidisclaimer.css +1 -1
  695. package/theme/common/aiheader.css +1 -1
  696. package/theme/common/ainotification.css +1 -1
  697. package/theme/common/aiskeleton.css +1 -1
  698. package/theme/common/aispinner.css +1 -1
  699. package/theme/common/aitrackchanges.css +1 -1
  700. package/src/aichat/model/aichatmodels.d.ts +0 -63
  701. package/src/aichat/model/aichatmodels.js +0 -23
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x52144c,_0x3f6b27){const _0x5800e5=_0x11b1,_0x516b98=_0x52144c();while(!![]){try{const _0x560cf2=-parseInt(_0x5800e5(0x135))/0x1+-parseInt(_0x5800e5(0x17c))/0x2+parseInt(_0x5800e5(0x17f))/0x3*(-parseInt(_0x5800e5(0x11d))/0x4)+parseInt(_0x5800e5(0x128))/0x5+-parseInt(_0x5800e5(0x15b))/0x6+parseInt(_0x5800e5(0x18d))/0x7+parseInt(_0x5800e5(0x133))/0x8;if(_0x560cf2===_0x3f6b27)break;else _0x516b98['push'](_0x516b98['shift']());}catch(_0x21a294){_0x516b98['push'](_0x516b98['shift']());}}}(_0x2a5a,0x6c096));import{findOne as _0x4e46d5,getAttribute as _0x1fa2d9,Document as _0x5bffcf,serialize as _0x348fd9,parse as _0x3907f9}from'./htmlparser.js';import{fixElementSuggestionRange as _0x9b9033}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x11b1(_0x4f7353,_0x1b5d24){const _0x2a5a87=_0x2a5a();return _0x11b1=function(_0x11b17e,_0x4f0c0c){_0x11b17e=_0x11b17e-0x11b;let _0x2d128e=_0x2a5a87[_0x11b17e];return _0x2d128e;},_0x11b1(_0x4f7353,_0x1b5d24);}import{ModelRange as _0x4e0be,_DetachOperation as _0x58e051,_removeFromModelNodeList as _0x134569,_insertIntoModelNodeList as _0x243d65}from'ckeditor5/src/engine.js';import{uid as _0x4bec7d}from'ckeditor5/src/utils.js';function _0x2a5a(){const _0x29fd91=['remove','splitPosition','key','11689360nfguii','isMarkedRemoveOperation','841520KWUoWc','newRange','element','offset','push','backward','plugins','change','path','getDiff','createPositionAt','$root','...','howMany','createRangeOn','move','isBlock','changeAttribute','length','$text','rename','parse','isBefore','word','nodeAfter','merge','sourcePosition','DocumentCompare','get','schema','moveTargetPosition','data','children','removed','suggestion:formatBlock:$fakeWrap:','slice','isObject','isAfter','3058758wcnYXt','index','split','clone','getShiftedBy','end','root','targetPosition','_createFromRanges','forward','getOperations','position','stickiness','oldValue','model','cloneNode','textNode','marker','toNone','suggestion:insertion:','applyOperation','range','batch','isDocumentOperation','removeAttribute','getMovedRangeStart','insert','SuggestionsConversion','newValue','add','reverse','nodeBefore','isRegisteredAttribute','136794MUOFsv','parent','_getTransformedByDeletion','32469XuNfft','POSITIVE_INFINITY','getFirstRange','stringify','changes','suggestion:attribute:','addOperation','createSelection','$elementName','createRange','getTransformedByOperation','suggestion:deletion:','new','delete','4019799MkMXkj','start','oldName','176exshQb',':$aiSuggestion','newName','markers','node','set','baseVersion','modifySelection','setTo','addAttribute','type','1515065vXqRZy','_getTransformedByInsertion','getMinimalFlatRanges','createPositionFromPath','focus','map','data-id','name'];_0x2a5a=function(){return _0x29fd91;};return _0x2a5a();}export function getSuggestionPartsFromReply({editor:_0x1be475,changeGroups:_0x1d4651,documentContextContent:_0x414d0d,showDiff:_0x446326,trimUnchanged:_0x8be6a2=!0x0}){const _0x2b3473=_0x11b1;return _0x1d4651[_0x2b3473(0x12d)](_0x51dbae=>{const _0x1a59d4=_0x2b3473,_0x31b0c8=new _0x5bffcf([]),_0x5c559b=new _0x5bffcf([]);for(const _0x23533b of _0x51dbae[_0x1a59d4(0x183)])if(_0x446326&&_0x1a59d4(0x156)==_0x23533b[_0x1a59d4(0x127)]||_0x5c559b[_0x1a59d4(0x155)][_0x1a59d4(0x139)](_0x23533b[_0x1a59d4(0x121)][_0x1a59d4(0x16a)](!0x0)),_0x1a59d4(0x18b)!=_0x23533b[_0x1a59d4(0x127)]&&(_0x446326||_0x1a59d4(0x156)!=_0x23533b[_0x1a59d4(0x127)])){const _0x40765b=_0x4e46d5(_0x1c5390=>_0x1fa2d9(_0x1c5390,_0x1a59d4(0x12e))==_0x23533b['id'],_0x414d0d,!0x0);_0x40765b&&_0x31b0c8[_0x1a59d4(0x155)][_0x1a59d4(0x139)](_0x40765b[_0x1a59d4(0x16a)](!0x0));}const {content:_0x5b584c,hasChanges:_0x17c1ed}=function(_0x270efd,_0x3c1efe,_0x436982,_0x4eae9c,_0x1a9964=!0x0){const _0x166a07=_0x1a59d4,_0x53cf48=_0x270efd[_0x166a07(0x13b)][_0x166a07(0x151)](_0x166a07(0x150)),_0x1e455f=_0x348fd9(_0x3c1efe),_0x473ae1=_0x348fd9(_0x436982),_0x31a933=_0x270efd[_0x166a07(0x154)][_0x166a07(0x14a)](_0x1e455f,_0x166a07(0x140)),_0x3aa0d0=_0x270efd[_0x166a07(0x169)][_0x166a07(0x13f)](_0x31a933,0x0),_0x2af259=_0x53cf48[_0x166a07(0x13e)](_0x1e455f,_0x473ae1,{'anchor':_0x3aa0d0,'markDeletions':_0x4eae9c}),_0x3528ea=_0x2af259[_0x166a07(0x165)]();if(0x0==_0x3528ea[_0x166a07(0x147)])return{'content':_0x3c1efe[_0x166a07(0x16a)](!0x0),'hasChanges':!0x1};_0x4eae9c?function(_0x7fba2c,_0x184061,_0x4aafa5){const _0x8f5680=_0x166a07;if(0x0==_0x7fba2c[_0x8f5680(0x147)])return;const _0x83b04f=_0x4aafa5[_0x8f5680(0x13b)][_0x8f5680(0x151)](_0x8f5680(0x150)),_0x1c6fb0=_0x4aafa5[_0x8f5680(0x13b)][_0x8f5680(0x151)](_0x8f5680(0x176));_0x4aafa5[_0x8f5680(0x169)][_0x8f5680(0x13c)](_0x1a8969=>{const _0x15e4b8=_0x8f5680,_0x3b1238=new Set();for(let _0x44c3c5=0x0;_0x44c3c5<_0x7fba2c[_0x15e4b8(0x147)];_0x44c3c5++){const _0x20ecfa=_0x7fba2c[_0x44c3c5];if(_0x20ecfa[_0x15e4b8(0x123)]=null,_0x20ecfa[_0x15e4b8(0x172)]=!0x1,_0x83b04f[_0x15e4b8(0x134)](_0x20ecfa)){const _0x9931c2=_0x9b9033(_0x20ecfa[_0x15e4b8(0x136)],_0x4aafa5[_0x15e4b8(0x169)]),_0x978398=_0x15e4b8(0x18a)+_0x4bec7d()+_0x15e4b8(0x11e);_0x184061[_0x15e4b8(0x120)][_0x15e4b8(0x122)](_0x978398,_0x9931c2);}else switch(_0x20ecfa[_0x15e4b8(0x127)]){case _0x15e4b8(0x149):{if(_0x20ecfa[_0x15e4b8(0x11c)]==_0x20ecfa[_0x15e4b8(0x11f)])break;_0x1a8969[_0x15e4b8(0x171)][_0x15e4b8(0x185)](_0x20ecfa),_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x16f)](_0x20ecfa);const _0xae56ef=_0x15e4b8(0x187),_0x26bd57=_0x20ecfa[_0x15e4b8(0x166)],_0x2a5aea=_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x188)](_0x26bd57,_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x13f)](_0x26bd57[_0x15e4b8(0x14d)],_0x15e4b8(0x160))),_0x2daa73=_0x15e4b8(0x184)+_0xae56ef+':'+_0x4bec7d()+_0x15e4b8(0x11e);_0x184061[_0x15e4b8(0x120)][_0x15e4b8(0x122)](_0x2daa73,_0x2a5aea);break;}case _0x15e4b8(0x126):case _0x15e4b8(0x173):case _0x15e4b8(0x146):{if(_0x20ecfa[_0x15e4b8(0x168)]==_0x20ecfa[_0x15e4b8(0x177)])break;_0x1a8969[_0x15e4b8(0x171)][_0x15e4b8(0x185)](_0x20ecfa),_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x16f)](_0x20ecfa);const _0x35ea34=_0x20ecfa[_0x15e4b8(0x132)];if(!_0x1c6fb0[_0x15e4b8(0x17b)](_0x35ea34))break;const _0x2ec31b=_0x9b9033(_0x20ecfa[_0x15e4b8(0x170)],_0x4aafa5[_0x15e4b8(0x169)]),_0x54c0ab=_0x15e4b8(0x184)+_0x35ea34+':'+_0x4bec7d()+_0x15e4b8(0x11e);_0x184061[_0x15e4b8(0x120)][_0x15e4b8(0x122)](_0x54c0ab,_0x2ec31b);break;}case _0x15e4b8(0x175):{_0x1a8969[_0x15e4b8(0x171)][_0x15e4b8(0x185)](_0x20ecfa),_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x16f)](_0x20ecfa);if(_0x7fba2c[_0x44c3c5+0x1]&&_0x15e4b8(0x144)==_0x7fba2c[_0x44c3c5+0x1][_0x15e4b8(0x127)]){ro(_0x184061,_0x20ecfa);break;}const _0x476cde=_0x20ecfa[_0x15e4b8(0x166)],_0x5e4c14=_0x20ecfa[_0x15e4b8(0x142)],_0x1bd52c=_0x9b9033(_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x188)](_0x476cde,_0x476cde[_0x15e4b8(0x15f)](_0x5e4c14)),_0x4aafa5[_0x15e4b8(0x169)]),_0x1ddba3=_0x15e4b8(0x16e)+_0x4bec7d()+_0x15e4b8(0x11e);_0x184061[_0x15e4b8(0x120)][_0x15e4b8(0x122)](_0x1ddba3,_0x1bd52c);break;}case _0x15e4b8(0x15d):{_0x1a8969[_0x15e4b8(0x171)][_0x15e4b8(0x185)](_0x20ecfa),_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x16f)](_0x20ecfa);const _0x52050b=_0x20ecfa[_0x15e4b8(0x131)],_0x4063cc=_0x20ecfa[_0x15e4b8(0x153)],_0x533afb=_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x188)](_0x52050b,_0x4063cc),_0xf5ba1a=_0x15e4b8(0x16e)+_0x4bec7d()+_0x15e4b8(0x11e);_0x184061[_0x15e4b8(0x120)][_0x15e4b8(0x122)](_0xf5ba1a,_0x533afb);break;}case _0x15e4b8(0x144):{_0x1a8969[_0x15e4b8(0x171)][_0x15e4b8(0x185)](_0x20ecfa),_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x16f)](_0x20ecfa),_0x7fba2c[_0x44c3c5-0x1]&&_0x15e4b8(0x175)==_0x7fba2c[_0x44c3c5-0x1][_0x15e4b8(0x127)]&&ro(_0x184061,_0x20ecfa);const _0x12461e=_0x20ecfa[_0x15e4b8(0x174)](),_0x5ebe3d=_0x20ecfa[_0x15e4b8(0x142)];for(let _0x306e4f=0x0;_0x306e4f<_0x5ebe3d;_0x306e4f++){const _0x5ea1e5=_0x12461e[_0x15e4b8(0x15f)](_0x306e4f)[_0x15e4b8(0x14d)];_0x3b1238[_0x15e4b8(0x178)](_0x5ea1e5);}break;}case _0x15e4b8(0x130):{const _0x1bba2d=_0x20ecfa[_0x15e4b8(0x14f)],_0x409502=_0x20ecfa[_0x15e4b8(0x142)],_0x16398f=new _0x58e051(_0x1bba2d,_0x409502);_0x1a8969[_0x15e4b8(0x171)][_0x15e4b8(0x185)](_0x16398f),_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x16f)](_0x16398f);break;}}}for(const _0x1b9314 of _0x3b1238){const _0x2ab790=_0x4aafa5[_0x15e4b8(0x169)][_0x15e4b8(0x143)](_0x1b9314),_0x107f42=_0x15e4b8(0x157)+_0x4bec7d()+_0x15e4b8(0x11e);_0x184061[_0x15e4b8(0x120)][_0x15e4b8(0x122)](_0x107f42,_0x9b9033(_0x2ab790,_0x4aafa5[_0x15e4b8(0x169)]));}});}(_0x3528ea,_0x31a933,_0x270efd):_0x270efd[_0x166a07(0x169)][_0x166a07(0x13c)](_0x59a46a=>{const _0x207fe2=_0x166a07;for(const _0x2f452b of _0x3528ea)if(_0x207fe2(0x130)==_0x2f452b[_0x207fe2(0x127)]){const _0x199d52=_0x2f452b[_0x207fe2(0x14f)],_0x4717a2=_0x2f452b[_0x207fe2(0x142)],_0x32b891=new _0x58e051(_0x199d52,_0x4717a2);_0x59a46a[_0x207fe2(0x171)][_0x207fe2(0x185)](_0x32b891),_0x270efd[_0x207fe2(0x169)][_0x207fe2(0x16f)](_0x32b891);}else{if(_0x207fe2(0x16c)==_0x2f452b[_0x207fe2(0x127)]){const _0xc278e7=_0x2f452b[_0x207fe2(0x12f)],_0x17fd3f=_0x2f452b[_0x207fe2(0x136)];_0x31a933[_0x207fe2(0x120)][_0x207fe2(0x122)](_0xc278e7,_0x17fd3f);}else _0x2f452b[_0x207fe2(0x123)]=null,_0x2f452b[_0x207fe2(0x172)]=!0x1,_0x59a46a[_0x207fe2(0x171)][_0x207fe2(0x185)](_0x2f452b),_0x270efd[_0x207fe2(0x169)][_0x207fe2(0x16f)](_0x2f452b);}});if(_0x1a9964){const _0x5d760f=getMinimalSelection(_0x270efd,_0x3528ea,_0x31a933);expandSelectionWithContext(_0x270efd[_0x166a07(0x169)],_0x5d760f),function(_0x78306c,_0x8132a9){const _0xa0ff14=_0x166a07,_0x19120e=_0x8132a9[_0xa0ff14(0x181)]()[_0xa0ff14(0x11b)];let _0x463d92=_0x8132a9[_0xa0ff14(0x181)]()[_0xa0ff14(0x160)];const _0x2db216=_0x19120e[_0xa0ff14(0x161)];(_0x463d92[_0xa0ff14(0x16b)]||_0x463d92[_0xa0ff14(0x14d)]&&_0x463d92[_0xa0ff14(0x14d)]['is'](_0xa0ff14(0x148)))&&(_0x243d65(_0x463d92,_0xa0ff14(0x141)),_0x463d92=_0x463d92[_0xa0ff14(0x15f)](0x3)),(_0x19120e[_0xa0ff14(0x16b)]||_0x19120e[_0xa0ff14(0x17a)]&&_0x19120e[_0xa0ff14(0x17a)]['is'](_0xa0ff14(0x148)))&&(_0x243d65(_0x19120e,_0xa0ff14(0x141)),function(_0x5bdd69,_0x14e770,_0x40b651){const _0x48e5f2=_0xa0ff14;for(let [_0x1ad15d,_0x4c28de]of _0x5bdd69[_0x48e5f2(0x120)]){const _0x296542=_0x4c28de[_0x48e5f2(0x129)](_0x14e770,_0x40b651,!0x1);_0x4c28de=_0x296542[0x0],_0x5bdd69[_0x48e5f2(0x120)][_0x48e5f2(0x122)](_0x1ad15d,_0x4c28de);}}(_0x2db216,_0x19120e,0x3),_0x19120e[_0xa0ff14(0x17d)]==_0x463d92[_0xa0ff14(0x17d)]&&(_0x463d92=_0x463d92[_0xa0ff14(0x15f)](0x3)));const _0x2048ad=_0x78306c[_0xa0ff14(0x188)](_0x78306c[_0xa0ff14(0x13f)](_0x2db216,0x0),_0x19120e),_0x30534f=_0x78306c[_0xa0ff14(0x188)](_0x463d92,_0x78306c[_0xa0ff14(0x13f)](_0x2db216,_0xa0ff14(0x160))),_0x3a605e=[..._0x2048ad[_0xa0ff14(0x12a)](),..._0x30534f[_0xa0ff14(0x12a)]()];_0x3a605e[_0xa0ff14(0x179)]();for(const _0x5dfc44 of _0x3a605e)_0x134569(_0x5dfc44),_transformMarkersByDeletion(_0x2db216,_0x5dfc44);}(_0x270efd[_0x166a07(0x169)],_0x5d760f);}const _0x40c58d=_0x270efd[_0x166a07(0x154)][_0x166a07(0x182)](_0x31a933,{'showSuggestionHighlights':!0x0});return{'content':_0x3907f9(_0x40c58d),'hasChanges':!0x0};}(_0x1be475,_0x31b0c8,_0x5c559b,_0x446326,_0x8be6a2);return{'type':_0x51dbae[_0x1a59d4(0x183)][0x0][_0x1a59d4(0x127)],'index':_0x51dbae[_0x1a59d4(0x15c)],'content':_0x5b584c,'hasChanges':_0x17c1ed};});}function ro(_0x3ab6c9,_0x5352fa){const _0x260804=_0x11b1;for(const [_0x21d786,_0x427d2f]of _0x3ab6c9[_0x260804(0x120)]){const _0x462cb3=_0x4e0be[_0x260804(0x163)](_0x427d2f[_0x260804(0x189)](_0x5352fa));_0x3ab6c9[_0x260804(0x120)][_0x260804(0x122)](_0x21d786,_0x462cb3);}}export function getMinimalSelection(_0x4d18a0,_0x550ed5,_0x5baca4){const _0x39d3be=_0x11b1,_0x551839=_0x4d18a0[_0x39d3be(0x13b)][_0x39d3be(0x151)](_0x39d3be(0x150));let _0x258a42=_0x4d18a0[_0x39d3be(0x169)][_0x39d3be(0x13f)](_0x5baca4,Number[_0x39d3be(0x180)]),_0x43855c=_0x4d18a0[_0x39d3be(0x169)][_0x39d3be(0x13f)](_0x5baca4,0x0);for(const _0x570b7e of _0x550ed5){let _0xd962fe,_0x3e3690;if(_0x551839[_0x39d3be(0x134)](_0x570b7e))_0xd962fe=_0x570b7e[_0x39d3be(0x136)][_0x39d3be(0x11b)],_0x3e3690=_0x570b7e[_0x39d3be(0x136)][_0x39d3be(0x160)];else switch(_0x258a42=_0x258a42[_0x39d3be(0x189)](_0x570b7e),_0x43855c=_0x43855c[_0x39d3be(0x189)](_0x570b7e),_0x570b7e[_0x39d3be(0x127)]){case _0x39d3be(0x149):_0xd962fe=_0x570b7e[_0x39d3be(0x166)],_0x3e3690=_0xd962fe[_0x39d3be(0x15f)](0x1);break;case _0x39d3be(0x126):case _0x39d3be(0x173):case _0x39d3be(0x146):_0xd962fe=_0x570b7e[_0x39d3be(0x170)][_0x39d3be(0x11b)],_0x3e3690=_0x570b7e[_0x39d3be(0x170)][_0x39d3be(0x160)];break;case _0x39d3be(0x175):_0xd962fe=_0x570b7e[_0x39d3be(0x166)],_0x3e3690=_0xd962fe[_0x39d3be(0x15f)](_0x570b7e[_0x39d3be(0x142)]);break;case _0x39d3be(0x15d):_0xd962fe=_0x570b7e[_0x39d3be(0x131)],_0x3e3690=_0x570b7e[_0x39d3be(0x153)];break;case _0x39d3be(0x14e):{const _0x4391d8=_0x570b7e[_0x39d3be(0x162)][_0x39d3be(0x13d)][_0x39d3be(0x158)](0x0,-0x1);_0xd962fe=_0x4d18a0[_0x39d3be(0x169)][_0x39d3be(0x12b)](_0x5baca4,_0x4391d8),_0x3e3690=_0xd962fe[_0x39d3be(0x15f)](0x1);break;}case _0x39d3be(0x130):{const _0x3c265e=_0x570b7e[_0x39d3be(0x142)],_0x1723e2=_0x570b7e[_0x39d3be(0x14f)][_0x39d3be(0x129)](_0x570b7e[_0x39d3be(0x162)],_0x3c265e),_0x1599fe=_0x570b7e[_0x39d3be(0x174)]();_0x39d3be(0x130)==_0x570b7e[_0x39d3be(0x127)]?(_0xd962fe=_0x1723e2,_0x3e3690=_0x1723e2):(_0xd962fe=_0x1599fe,_0x3e3690=_0x1599fe[_0x39d3be(0x15f)](_0x3c265e));break;}}_0xd962fe&&_0xd962fe[_0x39d3be(0x14b)](_0x258a42)&&(_0x258a42=_0xd962fe[_0x39d3be(0x15e)](),_0x258a42[_0x39d3be(0x167)]=_0x39d3be(0x16d)),_0x3e3690&&_0x3e3690[_0x39d3be(0x15a)](_0x43855c)&&(_0x43855c=_0x3e3690[_0x39d3be(0x15e)](),_0x43855c[_0x39d3be(0x167)]=_0x39d3be(0x16d));}return _0x4d18a0[_0x39d3be(0x169)][_0x39d3be(0x186)](_0x4d18a0[_0x39d3be(0x169)][_0x39d3be(0x188)](_0x258a42,_0x43855c));}export function expandSelectionWithContext(_0x7e7c5b,_0x2f9509){const _0x4d88ef=_0x11b1;so(_0x7e7c5b,_0x2f9509,_0x4d88ef(0x164));const _0xbab442=_0x2f9509[_0x4d88ef(0x181)]();_0x2f9509[_0x4d88ef(0x125)]([]),_0x2f9509[_0x4d88ef(0x125)](_0xbab442,{'backward':!0x0}),so(_0x7e7c5b,_0x2f9509,_0x4d88ef(0x13a));}function so(_0x5f52c9,_0xa194c5,_0x5bef97){const _0x3af363=_0x11b1;let _0x39d9b0=0x14;for(;_0x39d9b0;){_0x5f52c9[_0x3af363(0x124)](_0xa194c5,{'unit':_0x3af363(0x14c),'direction':_0x5bef97}),_0x39d9b0--;const _0x3a00d9=_0xa194c5[_0x3af363(0x12c)][_0x3af363(0x164)==_0x5bef97?_0x3af363(0x17a):_0x3af363(0x14d)];if(_0x3a00d9&&_0x3a00d9['is'](_0x3af363(0x137))&&_0x5f52c9[_0x3af363(0x152)][_0x3af363(0x145)](_0x3a00d9)&&_0x5f52c9[_0x3af363(0x152)][_0x3af363(0x159)](_0x3a00d9))break;}}export function _transformMarkersByDeletion(_0x763193,_0x58d1d3){const _0x236a17=_0x11b1;for(const [_0x40ca01,_0x2e0f0e]of _0x763193[_0x236a17(0x120)]){const _0xdf0248=_0x2e0f0e[_0x236a17(0x17e)](_0x58d1d3[_0x236a17(0x11b)],_0x58d1d3[_0x236a17(0x160)][_0x236a17(0x138)]-_0x58d1d3[_0x236a17(0x11b)][_0x236a17(0x138)]);null!=_0xdf0248?_0x763193[_0x236a17(0x120)][_0x236a17(0x122)](_0x40ca01,_0xdf0248):_0x763193[_0x236a17(0x120)][_0x236a17(0x18c)](_0x40ca01);}}
23
+ function _0x5ed2(){const _0xfc945c=['plugins','867320OvCrOr','split','children','remove','push','rename','35itbDIm',':$aiSuggestion','isDocumentOperation','node','suggestion:attribute:','isMarkedRemoveOperation','$root','change','_createFromRanges','isBefore','createSelection','set','move','parse','addAttribute','nodeBefore','reverse','path','251pDIhHe','suggestion:deletion:','createPositionFromPath','isObject','oldValue','index','model','forward','focus','newRange','map','get','add','clone','2061920RdPkBz','newValue','getShiftedBy','isBlock','createRange','32gAFHDw','data','start','getDiff','121722tQVdUk','howMany','_getTransformedByDeletion','root','slice','parent','removeAttribute','targetPosition','toNone','2130080siwHNS','isAfter','oldName','merge','suggestion:formatBlock:$fakeWrap:','getFirstRange','textNode','$text','position','delete','element','createRangeOn','getOperations','cloneNode','offset','splitPosition','createPositionAt','word','applyOperation','30276KQZOgt','markers','batch','sourcePosition','marker','changes','...','type','nodeAfter','data-id','name','getMovedRangeStart','suggestion:insertion:','range','newName','length','1278fsICDY','key','insert','isRegisteredAttribute','SuggestionsConversion','backward','addOperation','end','schema','removed','stickiness','_getTransformedByInsertion','changeAttribute','moveTargetPosition','$elementName','getTransformedByOperation','new','modifySelection','baseVersion','DocumentCompare','setTo','POSITIVE_INFINITY','stringify','242514JCDvGV','getMinimalFlatRanges'];_0x5ed2=function(){return _0xfc945c;};return _0x5ed2();}(function(_0x5b1795,_0x266b7d){const _0x17fa3d=_0x392c,_0x52a541=_0x5b1795();while(!![]){try{const _0xbd1f1a=-parseInt(_0x17fa3d(0x1f4))/0x1*(-parseInt(_0x17fa3d(0x237))/0x2)+parseInt(_0x17fa3d(0x227))/0x3*(-parseInt(_0x17fa3d(0x207))/0x4)+parseInt(_0x17fa3d(0x251))/0x5+parseInt(_0x17fa3d(0x20b))/0x6*(-parseInt(_0x17fa3d(0x1e2))/0x7)+-parseInt(_0x17fa3d(0x202))/0x8+parseInt(_0x17fa3d(0x24e))/0x9+parseInt(_0x17fa3d(0x214))/0xa;if(_0xbd1f1a===_0x266b7d)break;else _0x52a541['push'](_0x52a541['shift']());}catch(_0x437041){_0x52a541['push'](_0x52a541['shift']());}}}(_0x5ed2,0x20b08));import{findOne as _0x1a1662,getAttribute as _0x5af669,Document as _0x20a0b1,serialize as _0x11955b,parse as _0x2fade0}from'./htmlparser.js';function _0x392c(_0x430185,_0x51ab53){const _0x5ed27c=_0x5ed2();return _0x392c=function(_0x392c0d,_0x1c9052){_0x392c0d=_0x392c0d-0x1df;let _0x4e6e88=_0x5ed27c[_0x392c0d];return _0x4e6e88;},_0x392c(_0x430185,_0x51ab53);}import{fixElementSuggestionRange as _0x355669}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x80223f,_DetachOperation as _0x5244a3,_removeFromModelNodeList as _0x2d5a69,_insertIntoModelNodeList as _0x4f3069}from'ckeditor5/src/engine.js';import{uid as _0xdf8d39}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x7c518b,changeGroups:_0xc17006,documentContextContent:_0x177717,showDiff:_0x36ecf9,trimUnchanged:_0xb10df6=!0x0}){const _0x4d3d1f=_0x392c;return _0xc17006[_0x4d3d1f(0x1fe)](_0x542795=>{const _0x386d88=_0x4d3d1f,_0x52baec=new _0x20a0b1([]),_0xa8a1fc=new _0x20a0b1([]);for(const _0x33a442 of _0x542795[_0x386d88(0x22c)])if(_0x36ecf9&&_0x386d88(0x240)==_0x33a442[_0x386d88(0x22e)]||_0xa8a1fc[_0x386d88(0x253)][_0x386d88(0x1e0)](_0x33a442[_0x386d88(0x1e5)][_0x386d88(0x221)](!0x0)),_0x386d88(0x247)!=_0x33a442[_0x386d88(0x22e)]&&(_0x36ecf9||_0x386d88(0x240)!=_0x33a442[_0x386d88(0x22e)])){const _0x6aedaf=_0x1a1662(_0x11148a=>_0x5af669(_0x11148a,_0x386d88(0x230))==_0x33a442['id'],_0x177717,!0x0);_0x6aedaf&&_0x52baec[_0x386d88(0x253)][_0x386d88(0x1e0)](_0x6aedaf[_0x386d88(0x221)](!0x0));}const {content:_0x132a21,hasChanges:_0x398f77}=function(_0x466682,_0x49352c,_0x4e2598,_0x56c50f,_0x47a500=!0x0){const _0x5170be=_0x386d88,_0x1e4b8f=_0x466682[_0x5170be(0x250)][_0x5170be(0x1ff)](_0x5170be(0x24a)),_0x432d66=_0x11955b(_0x49352c),_0x2016fa=_0x11955b(_0x4e2598),_0x992f45=_0x466682[_0x5170be(0x208)][_0x5170be(0x1ef)](_0x432d66,_0x5170be(0x1e8)),_0xd75264=_0x466682[_0x5170be(0x1fa)][_0x5170be(0x224)](_0x992f45,0x0),_0x1290bb=_0x1e4b8f[_0x5170be(0x20a)](_0x432d66,_0x2016fa,{'anchor':_0xd75264,'markDeletions':_0x56c50f,'context':_0x5170be(0x1e8)}),_0x152dad=_0x1290bb[_0x5170be(0x220)]();if(0x0==_0x152dad[_0x5170be(0x236)])return{'content':_0x49352c[_0x5170be(0x221)](!0x0),'hasChanges':!0x1};_0x56c50f?function(_0x14e39e,_0x40654c,_0x1630ac){const _0x4e4fbb=_0x5170be;if(0x0==_0x14e39e[_0x4e4fbb(0x236)])return;const _0xbed82b=_0x1630ac[_0x4e4fbb(0x250)][_0x4e4fbb(0x1ff)](_0x4e4fbb(0x24a)),_0x1b69a0=_0x1630ac[_0x4e4fbb(0x250)][_0x4e4fbb(0x1ff)](_0x4e4fbb(0x23b));_0x1630ac[_0x4e4fbb(0x1fa)][_0x4e4fbb(0x1e9)](_0x1b5180=>{const _0xe9f133=_0x4e4fbb,_0x103629=new Set();for(let _0x11ebbb=0x0;_0x11ebbb<_0x14e39e[_0xe9f133(0x236)];_0x11ebbb++){const _0x79e959=_0x14e39e[_0x11ebbb];if(_0x79e959[_0xe9f133(0x249)]=null,_0x79e959[_0xe9f133(0x1e4)]=!0x1,_0xbed82b[_0xe9f133(0x1e7)](_0x79e959)){const _0x226fea=_0x355669(_0x79e959[_0xe9f133(0x1fd)],_0x1630ac[_0xe9f133(0x1fa)]),_0x1ab3ca=_0xe9f133(0x1f5)+_0xdf8d39()+_0xe9f133(0x1e3);_0x40654c[_0xe9f133(0x228)][_0xe9f133(0x1ed)](_0x1ab3ca,_0x226fea);}else switch(_0x79e959[_0xe9f133(0x22e)]){case _0xe9f133(0x1e1):{if(_0x79e959[_0xe9f133(0x216)]==_0x79e959[_0xe9f133(0x235)])break;_0x1b5180[_0xe9f133(0x229)][_0xe9f133(0x23d)](_0x79e959),_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x226)](_0x79e959);const _0x693395=_0xe9f133(0x245),_0x202a37=_0x79e959[_0xe9f133(0x21c)],_0x3f56cd=_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x206)](_0x202a37,_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x224)](_0x202a37[_0xe9f133(0x22f)],_0xe9f133(0x23e))),_0x42eb08=_0xe9f133(0x1e6)+_0x693395+':'+_0xdf8d39()+_0xe9f133(0x1e3);_0x40654c[_0xe9f133(0x228)][_0xe9f133(0x1ed)](_0x42eb08,_0x3f56cd);break;}case _0xe9f133(0x1f0):case _0xe9f133(0x211):case _0xe9f133(0x243):{if(_0x79e959[_0xe9f133(0x1f8)]==_0x79e959[_0xe9f133(0x203)])break;_0x1b5180[_0xe9f133(0x229)][_0xe9f133(0x23d)](_0x79e959),_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x226)](_0x79e959);const _0x45ad11=_0x79e959[_0xe9f133(0x238)];if(!_0x1b69a0[_0xe9f133(0x23a)](_0x45ad11))break;const _0x533e71=_0x355669(_0x79e959[_0xe9f133(0x234)],_0x1630ac[_0xe9f133(0x1fa)]),_0x11a620=_0xe9f133(0x1e6)+_0x45ad11+':'+_0xdf8d39()+_0xe9f133(0x1e3);_0x40654c[_0xe9f133(0x228)][_0xe9f133(0x1ed)](_0x11a620,_0x533e71);break;}case _0xe9f133(0x239):{_0x1b5180[_0xe9f133(0x229)][_0xe9f133(0x23d)](_0x79e959),_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x226)](_0x79e959);if(_0x14e39e[_0x11ebbb+0x1]&&_0xe9f133(0x1ee)==_0x14e39e[_0x11ebbb+0x1][_0xe9f133(0x22e)]){ro(_0x40654c,_0x79e959);break;}const _0x55eb29=_0x79e959[_0xe9f133(0x21c)],_0x560cf6=_0x79e959[_0xe9f133(0x20c)],_0x16c6bd=_0x355669(_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x206)](_0x55eb29,_0x55eb29[_0xe9f133(0x204)](_0x560cf6)),_0x1630ac[_0xe9f133(0x1fa)]),_0x59bdc0=_0xe9f133(0x233)+_0xdf8d39()+_0xe9f133(0x1e3);_0x40654c[_0xe9f133(0x228)][_0xe9f133(0x1ed)](_0x59bdc0,_0x16c6bd);break;}case _0xe9f133(0x252):{_0x1b5180[_0xe9f133(0x229)][_0xe9f133(0x23d)](_0x79e959),_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x226)](_0x79e959);const _0x2683b5=_0x79e959[_0xe9f133(0x223)],_0x1dd4e0=_0x79e959[_0xe9f133(0x244)],_0x4be8c8=_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x206)](_0x2683b5,_0x1dd4e0),_0x3d3b97=_0xe9f133(0x233)+_0xdf8d39()+_0xe9f133(0x1e3);_0x40654c[_0xe9f133(0x228)][_0xe9f133(0x1ed)](_0x3d3b97,_0x4be8c8);break;}case _0xe9f133(0x1ee):{_0x1b5180[_0xe9f133(0x229)][_0xe9f133(0x23d)](_0x79e959),_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x226)](_0x79e959),_0x14e39e[_0x11ebbb-0x1]&&_0xe9f133(0x239)==_0x14e39e[_0x11ebbb-0x1][_0xe9f133(0x22e)]&&ro(_0x40654c,_0x79e959);const _0x2f2f87=_0x79e959[_0xe9f133(0x232)](),_0x5d26ff=_0x79e959[_0xe9f133(0x20c)];for(let _0x160f4c=0x0;_0x160f4c<_0x5d26ff;_0x160f4c++){const _0x39d242=_0x2f2f87[_0xe9f133(0x204)](_0x160f4c)[_0xe9f133(0x22f)];_0x103629[_0xe9f133(0x200)](_0x39d242);}break;}case _0xe9f133(0x1df):{const _0x1de1c5=_0x79e959[_0xe9f133(0x22a)],_0x2a4477=_0x79e959[_0xe9f133(0x20c)],_0x3cd9ce=new _0x5244a3(_0x1de1c5,_0x2a4477);_0x1b5180[_0xe9f133(0x229)][_0xe9f133(0x23d)](_0x3cd9ce),_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x226)](_0x3cd9ce);break;}}}for(const _0x1d74d4 of _0x103629){const _0x3538fc=_0x1630ac[_0xe9f133(0x1fa)][_0xe9f133(0x21f)](_0x1d74d4),_0x5705aa=_0xe9f133(0x218)+_0xdf8d39()+_0xe9f133(0x1e3);_0x40654c[_0xe9f133(0x228)][_0xe9f133(0x1ed)](_0x5705aa,_0x355669(_0x3538fc,_0x1630ac[_0xe9f133(0x1fa)]));}});}(_0x152dad,_0x992f45,_0x466682):_0x466682[_0x5170be(0x1fa)][_0x5170be(0x1e9)](_0x1413ee=>{const _0x3b8da3=_0x5170be;for(const _0x439fc1 of _0x152dad)if(_0x3b8da3(0x1df)==_0x439fc1[_0x3b8da3(0x22e)]){const _0xe24a3e=_0x439fc1[_0x3b8da3(0x22a)],_0x1fc21e=_0x439fc1[_0x3b8da3(0x20c)],_0x24b530=new _0x5244a3(_0xe24a3e,_0x1fc21e);_0x1413ee[_0x3b8da3(0x229)][_0x3b8da3(0x23d)](_0x24b530),_0x466682[_0x3b8da3(0x1fa)][_0x3b8da3(0x226)](_0x24b530);}else{if(_0x3b8da3(0x22b)==_0x439fc1[_0x3b8da3(0x22e)]){const _0x55e752=_0x439fc1[_0x3b8da3(0x231)],_0xb398bf=_0x439fc1[_0x3b8da3(0x1fd)];_0x992f45[_0x3b8da3(0x228)][_0x3b8da3(0x1ed)](_0x55e752,_0xb398bf);}else _0x439fc1[_0x3b8da3(0x249)]=null,_0x439fc1[_0x3b8da3(0x1e4)]=!0x1,_0x1413ee[_0x3b8da3(0x229)][_0x3b8da3(0x23d)](_0x439fc1),_0x466682[_0x3b8da3(0x1fa)][_0x3b8da3(0x226)](_0x439fc1);}});if(_0x47a500){const _0x810a54=getMinimalSelection(_0x466682,_0x152dad,_0x992f45);expandSelectionWithContext(_0x466682[_0x5170be(0x1fa)],_0x810a54),function(_0x4dffeb,_0x1f9c61){const _0x55a2a1=_0x5170be,_0x28678a=_0x1f9c61[_0x55a2a1(0x219)]()[_0x55a2a1(0x209)];let _0x1cefcb=_0x1f9c61[_0x55a2a1(0x219)]()[_0x55a2a1(0x23e)];const _0x4423e0=_0x28678a[_0x55a2a1(0x20e)];(_0x1cefcb[_0x55a2a1(0x21a)]||_0x1cefcb[_0x55a2a1(0x22f)]&&_0x1cefcb[_0x55a2a1(0x22f)]['is'](_0x55a2a1(0x21b)))&&(_0x4f3069(_0x1cefcb,_0x55a2a1(0x22d)),_0x1cefcb=_0x1cefcb[_0x55a2a1(0x204)](0x3)),(_0x28678a[_0x55a2a1(0x21a)]||_0x28678a[_0x55a2a1(0x1f1)]&&_0x28678a[_0x55a2a1(0x1f1)]['is'](_0x55a2a1(0x21b)))&&(_0x4f3069(_0x28678a,_0x55a2a1(0x22d)),function(_0x49a5c5,_0x265a84,_0x510f0c){const _0x10931d=_0x55a2a1;for(let [_0x22bf9a,_0x283074]of _0x49a5c5[_0x10931d(0x228)]){const _0x527957=_0x283074[_0x10931d(0x242)](_0x265a84,_0x510f0c,!0x1);_0x283074=_0x527957[0x0],_0x49a5c5[_0x10931d(0x228)][_0x10931d(0x1ed)](_0x22bf9a,_0x283074);}}(_0x4423e0,_0x28678a,0x3),_0x28678a[_0x55a2a1(0x210)]==_0x1cefcb[_0x55a2a1(0x210)]&&(_0x1cefcb=_0x1cefcb[_0x55a2a1(0x204)](0x3)));const _0xe879ce=_0x4dffeb[_0x55a2a1(0x206)](_0x4dffeb[_0x55a2a1(0x224)](_0x4423e0,0x0),_0x28678a),_0x468613=_0x4dffeb[_0x55a2a1(0x206)](_0x1cefcb,_0x4dffeb[_0x55a2a1(0x224)](_0x4423e0,_0x55a2a1(0x23e))),_0x194aa6=[..._0xe879ce[_0x55a2a1(0x24f)](),..._0x468613[_0x55a2a1(0x24f)]()];_0x194aa6[_0x55a2a1(0x1f2)]();for(const _0x1a79fa of _0x194aa6)_0x2d5a69(_0x1a79fa),_transformMarkersByDeletion(_0x4423e0,_0x1a79fa);}(_0x466682[_0x5170be(0x1fa)],_0x810a54);}const _0x36173a=_0x466682[_0x5170be(0x208)][_0x5170be(0x24d)](_0x992f45,{'showSuggestionHighlights':!0x0});return{'content':_0x2fade0(_0x36173a),'hasChanges':!0x0};}(_0x7c518b,_0x52baec,_0xa8a1fc,_0x36ecf9,_0xb10df6);return{'type':_0x542795[_0x386d88(0x22c)][0x0][_0x386d88(0x22e)],'index':_0x542795[_0x386d88(0x1f9)],'content':_0x132a21,'hasChanges':_0x398f77};});}function ro(_0x18bdb7,_0x336152){const _0x5ea635=_0x392c;for(const [_0x388bb1,_0x224eee]of _0x18bdb7[_0x5ea635(0x228)]){const _0x13267f=_0x80223f[_0x5ea635(0x1ea)](_0x224eee[_0x5ea635(0x246)](_0x336152));_0x18bdb7[_0x5ea635(0x228)][_0x5ea635(0x1ed)](_0x388bb1,_0x13267f);}}export function getMinimalSelection(_0x236f33,_0x22ec46,_0x2bb2dc){const _0x2e9ea6=_0x392c,_0x3a3d9d=_0x236f33[_0x2e9ea6(0x250)][_0x2e9ea6(0x1ff)](_0x2e9ea6(0x24a));let _0x573aee=_0x236f33[_0x2e9ea6(0x1fa)][_0x2e9ea6(0x224)](_0x2bb2dc,Number[_0x2e9ea6(0x24c)]),_0x3806ba=_0x236f33[_0x2e9ea6(0x1fa)][_0x2e9ea6(0x224)](_0x2bb2dc,0x0);for(const _0x1d09de of _0x22ec46){let _0x2f4416,_0x44ad70;if(_0x3a3d9d[_0x2e9ea6(0x1e7)](_0x1d09de))_0x2f4416=_0x1d09de[_0x2e9ea6(0x1fd)][_0x2e9ea6(0x209)],_0x44ad70=_0x1d09de[_0x2e9ea6(0x1fd)][_0x2e9ea6(0x23e)];else switch(_0x573aee=_0x573aee[_0x2e9ea6(0x246)](_0x1d09de),_0x3806ba=_0x3806ba[_0x2e9ea6(0x246)](_0x1d09de),_0x1d09de[_0x2e9ea6(0x22e)]){case _0x2e9ea6(0x1e1):_0x2f4416=_0x1d09de[_0x2e9ea6(0x21c)],_0x44ad70=_0x2f4416[_0x2e9ea6(0x204)](0x1);break;case _0x2e9ea6(0x1f0):case _0x2e9ea6(0x211):case _0x2e9ea6(0x243):_0x2f4416=_0x1d09de[_0x2e9ea6(0x234)][_0x2e9ea6(0x209)],_0x44ad70=_0x1d09de[_0x2e9ea6(0x234)][_0x2e9ea6(0x23e)];break;case _0x2e9ea6(0x239):_0x2f4416=_0x1d09de[_0x2e9ea6(0x21c)],_0x44ad70=_0x2f4416[_0x2e9ea6(0x204)](_0x1d09de[_0x2e9ea6(0x20c)]);break;case _0x2e9ea6(0x252):_0x2f4416=_0x1d09de[_0x2e9ea6(0x223)],_0x44ad70=_0x1d09de[_0x2e9ea6(0x244)];break;case _0x2e9ea6(0x217):{const _0x4a370e=_0x1d09de[_0x2e9ea6(0x212)][_0x2e9ea6(0x1f3)][_0x2e9ea6(0x20f)](0x0,-0x1);_0x2f4416=_0x236f33[_0x2e9ea6(0x1fa)][_0x2e9ea6(0x1f6)](_0x2bb2dc,_0x4a370e),_0x44ad70=_0x2f4416[_0x2e9ea6(0x204)](0x1);break;}case _0x2e9ea6(0x1df):{const _0x107c73=_0x1d09de[_0x2e9ea6(0x20c)],_0xa8f1f3=_0x1d09de[_0x2e9ea6(0x22a)][_0x2e9ea6(0x242)](_0x1d09de[_0x2e9ea6(0x212)],_0x107c73),_0xa4831b=_0x1d09de[_0x2e9ea6(0x232)]();_0x2e9ea6(0x1df)==_0x1d09de[_0x2e9ea6(0x22e)]?(_0x2f4416=_0xa8f1f3,_0x44ad70=_0xa8f1f3):(_0x2f4416=_0xa4831b,_0x44ad70=_0xa4831b[_0x2e9ea6(0x204)](_0x107c73));break;}}_0x2f4416&&_0x2f4416[_0x2e9ea6(0x1eb)](_0x573aee)&&(_0x573aee=_0x2f4416[_0x2e9ea6(0x201)](),_0x573aee[_0x2e9ea6(0x241)]=_0x2e9ea6(0x213)),_0x44ad70&&_0x44ad70[_0x2e9ea6(0x215)](_0x3806ba)&&(_0x3806ba=_0x44ad70[_0x2e9ea6(0x201)](),_0x3806ba[_0x2e9ea6(0x241)]=_0x2e9ea6(0x213));}return _0x236f33[_0x2e9ea6(0x1fa)][_0x2e9ea6(0x1ec)](_0x236f33[_0x2e9ea6(0x1fa)][_0x2e9ea6(0x206)](_0x573aee,_0x3806ba));}export function expandSelectionWithContext(_0x20b86a,_0x4cb322){const _0x246013=_0x392c;so(_0x20b86a,_0x4cb322,_0x246013(0x1fb));const _0x4c588f=_0x4cb322[_0x246013(0x219)]();_0x4cb322[_0x246013(0x24b)]([]),_0x4cb322[_0x246013(0x24b)](_0x4c588f,{'backward':!0x0}),so(_0x20b86a,_0x4cb322,_0x246013(0x23c));}function so(_0x43eb0c,_0x163dec,_0x42db59){const _0xe23206=_0x392c;let _0xfb602=0x14;for(;_0xfb602;){_0x43eb0c[_0xe23206(0x248)](_0x163dec,{'unit':_0xe23206(0x225),'direction':_0x42db59}),_0xfb602--;const _0x5a10e8=_0x163dec[_0xe23206(0x1fc)][_0xe23206(0x1fb)==_0x42db59?_0xe23206(0x1f1):_0xe23206(0x22f)];if(_0x5a10e8&&_0x5a10e8['is'](_0xe23206(0x21e))&&_0x43eb0c[_0xe23206(0x23f)][_0xe23206(0x205)](_0x5a10e8)&&_0x43eb0c[_0xe23206(0x23f)][_0xe23206(0x1f7)](_0x5a10e8))break;}}export function _transformMarkersByDeletion(_0x3d0313,_0x349d0e){const _0x41775b=_0x392c;for(const [_0x53724a,_0x81bd57]of _0x3d0313[_0x41775b(0x228)]){const _0x4fc247=_0x81bd57[_0x41775b(0x20d)](_0x349d0e[_0x41775b(0x209)],_0x349d0e[_0x41775b(0x23e)][_0x41775b(0x222)]-_0x349d0e[_0x41775b(0x209)][_0x41775b(0x222)]);null!=_0x4fc247?_0x3d0313[_0x41775b(0x228)][_0x41775b(0x1ed)](_0x53724a,_0x4fc247):_0x3d0313[_0x41775b(0x228)][_0x41775b(0x21d)](_0x53724a);}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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
5
  import { append, appendChild, find, findAll, findOne, getChildren, isComment, isTag, prepend, prependChild, removeElement, replaceElement, textContent, getParent, hasChildren } from 'domutils';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1d8b56,_0x53e729){const _0x583814=_0x1443,_0x4e4b39=_0x1d8b56();while(!![]){try{const _0x16a6a9=-parseInt(_0x583814(0x142))/0x1+parseInt(_0x583814(0x14a))/0x2*(-parseInt(_0x583814(0x157))/0x3)+parseInt(_0x583814(0x14d))/0x4*(-parseInt(_0x583814(0x145))/0x5)+parseInt(_0x583814(0x159))/0x6+parseInt(_0x583814(0x143))/0x7+-parseInt(_0x583814(0x149))/0x8+-parseInt(_0x583814(0x156))/0x9*(-parseInt(_0x583814(0x146))/0xa);if(_0x16a6a9===_0x53e729)break;else _0x4e4b39['push'](_0x4e4b39['shift']());}catch(_0x1666e3){_0x4e4b39['push'](_0x4e4b39['shift']());}}}(_0x31eb,0xb9f67));import{parseDocument as _0x22a3a6}from'htmlparser2';import{append as _0x48e68e,appendChild as _0x5c2016,find as _0x593854,findAll as _0x4cbf35,findOne as _0x20f2a0,getChildren as _0xb0e799,isComment as _0x3e1add,isTag as _0x398f0d,prepend as _0xc1f962,prependChild as _0x36defd,removeElement as _0x208761,replaceElement as _0x14e638,textContent as _0xbd54c3,getParent as _0x395a20,hasChildren as _0x2ef243}from'domutils';import _0x5825b0 from'dom-serializer';function _0x1443(_0x4cf7b2,_0x4374df){const _0x31eb67=_0x31eb();return _0x1443=function(_0x14430a,_0x26a852){_0x14430a=_0x14430a-0x142;let _0x2f79d3=_0x31eb67[_0x14430a];return _0x2f79d3;},_0x1443(_0x4cf7b2,_0x4374df);}import{cloneNode as _0x1013e4,isDocument as _0x121220,isText as _0x16a2ab,Element as _0x13ed0e,Text as _0x1b0ef4,Document as _0x5ce902,NodeWithChildren as _0x5bb2ac}from'domhandler';export{_0x1013e4 as cloneNode,_0x593854 as find,_0x20f2a0 as findOne,_0x4cbf35 as findAll,_0xb0e799 as getChildren,_0x395a20 as getParent,_0x3e1add as isComment,_0x121220 as isDocument,_0x398f0d as isTag,_0x16a2ab as isText,_0x48e68e as append,_0x5c2016 as appendChild,_0xc1f962 as prepend,_0x36defd as prependChild,_0x5825b0 as render,_0x208761 as removeElement,_0x14e638 as replaceElement,_0xbd54c3 as textContent,_0x2ef243 as hasChildren,_0x13ed0e as Element,_0x5ce902 as Document,_0x5bb2ac as NodeWithChildren,_0x1b0ef4 as Text};export function parse(_0x2b6e80){return _0x22a3a6(_0x2b6e80);}export function serialize(_0x32f277){return _0x5825b0(_0x32f277);}export function findByAttribute(_0x11bf55,_0x3c5aab,_0x19435d){const _0x51eebb=_0x1443,_0x21f587=null!==_0x3c5aab?_0xdbf8db=>_0xdbf8db[_0x51eebb(0x158)][_0x11bf55]===_0x3c5aab:_0x21e6d5=>Boolean(_0x21e6d5[_0x51eebb(0x158)][_0x11bf55]);return _0x20f2a0(_0x53aaa5=>_0x398f0d(_0x53aaa5)&&_0x21f587(_0x53aaa5),_0x19435d);}export function findAllByAttribute(_0x5df277,_0x41e91a,_0x572b28){const _0x7374e3=_0x1443,_0x779a15=null!==_0x41e91a?_0xd00200=>_0xd00200[_0x7374e3(0x158)][_0x5df277]===_0x41e91a:_0x1f0846=>Boolean(_0x1f0846[_0x7374e3(0x158)][_0x5df277]);return _0x4cbf35(_0x285cc0=>_0x398f0d(_0x285cc0)&&_0x779a15(_0x285cc0),_0x572b28);}export function findAllComments(_0x560ea7){return _0x593854(_0x3fcc48=>_0x3e1add(_0x3fcc48),_0x560ea7,!0x0,0x1/0x0);}export function getAttribute(_0xa1c79,_0x32af31){const _0x54cecd=_0x1443;return _0xa1c79&&_0x398f0d(_0xa1c79)?_0xa1c79[_0x54cecd(0x158)][_0x32af31]:null;}export function setAttribute(_0x186447,_0x12e7b6,_0x737fe2){const _0x2b028b=_0x1443;_0x398f0d(_0x186447)&&(null===_0x737fe2?delete _0x186447[_0x2b028b(0x158)][_0x12e7b6]:_0x186447[_0x2b028b(0x158)][_0x12e7b6]=_0x737fe2);}export function insertElement(_0x2797a8,_0x1aa1f3,_0x51b073){const _0x3e79bb=_0x1443,_0x100064=_0x1aa1f3[_0x3e79bb(0x14f)](!0x0);_0x3e79bb(0x150)===_0x51b073?_0xc1f962(_0x2797a8,_0x100064):_0x3e79bb(0x14c)===_0x51b073?_0x36defd(_0x2797a8,_0x100064):_0x3e79bb(0x155)===_0x51b073?_0x5c2016(_0x2797a8,_0x100064):_0x3e79bb(0x14e)===_0x51b073&&_0x48e68e(_0x2797a8,_0x100064);}export function moveElement(_0x5a4605,_0xb851c9){_0x208761(_0x5a4605),_0x14e638(_0xb851c9,_0x5a4605);}export function clone(_0xc7e754){const _0x15e6eb=_0x1443;return _0xc7e754[_0x15e6eb(0x14f)](!0x0);}export function getParents(_0xb5f813){const _0x1c4fdf=_0x1443,_0x214933=[];let _0x550a27=_0xb5f813;for(;_0x550a27;)_0x550a27=_0x395a20(_0x550a27),_0x550a27&&_0x214933[_0x1c4fdf(0x147)](_0x550a27);return _0x214933;}export function normalizeHTML(_0x3a84e5){const _0x3a5edc=_0x1443;return _0x3a84e5[_0x3a5edc(0x153)](/^\s+/gm,'')[_0x3a5edc(0x153)](/\s+$/gm,'')[_0x3a5edc(0x153)](/\n*/g,'')[_0x3a5edc(0x153)](/\s+/g,'\x20')[_0x3a5edc(0x153)](/>\s*</g,'><');}function _0x31eb(){const _0x1b5e39=['indexOf','nextSibling','replace','reverse','beforeend','63QEJhWQ','1501167nYkNvL','attribs','6872580BKJpuw','slice','1055982DRejXV','7641739LZfFlW','forEach','11020DnUxvv','2580760vjnSDi','push','map','11353672SWxDfa','2lbSitG','parentNode','afterbegin','556roHOuB','afterend','cloneNode','beforebegin'];_0x31eb=function(){return _0x1b5e39;};return _0x31eb();}export function areNodesSame(_0x20519a,_0x1e0760){return normalizeHTML(serialize(_0x20519a))===normalizeHTML(serialize(_0x1e0760));}export function getNodeNestingLevel(_0x59bd76){const _0x431f28=_0x1443;let _0xfdbb77=0x0;for(;_0x59bd76[_0x431f28(0x14b)];)_0x59bd76=_0x59bd76[_0x431f28(0x14b)],_0xfdbb77++;return _0xfdbb77;}export function removeElementsAfter(_0x2307eb){const _0x5d26ee=_0x1443,_0x367355=[];let _0xb192bf=_0x2307eb[_0x5d26ee(0x152)];for(;_0xb192bf;)_0x367355[_0x5d26ee(0x147)](_0xb192bf),_0xb192bf=_0xb192bf[_0x5d26ee(0x152)];_0x367355[_0x5d26ee(0x144)](_0x564e49=>{_0x208761(_0x564e49);});}export function getNodePath(_0x2f9341){const _0xa7f47b=_0x1443;return[_0x2f9341,...getParents(_0x2f9341)][_0xa7f47b(0x15a)](0x0,-0x1)[_0xa7f47b(0x148)](_0xe76f27=>{const _0xe2a8d0=_0xa7f47b,_0x309b9e=_0x395a20(_0xe76f27);return _0xb0e799(_0x309b9e)[_0xe2a8d0(0x151)](_0xe76f27);})[_0xa7f47b(0x154)]();}
23
+ (function(_0x1d012c,_0x263b12){const _0x6f395a=_0xdb37,_0x2d37d5=_0x1d012c();while(!![]){try{const _0x151eed=parseInt(_0x6f395a(0x162))/0x1+-parseInt(_0x6f395a(0x156))/0x2+-parseInt(_0x6f395a(0x159))/0x3*(-parseInt(_0x6f395a(0x14f))/0x4)+parseInt(_0x6f395a(0x161))/0x5+parseInt(_0x6f395a(0x157))/0x6*(parseInt(_0x6f395a(0x160))/0x7)+parseInt(_0x6f395a(0x15c))/0x8*(-parseInt(_0x6f395a(0x158))/0x9)+-parseInt(_0x6f395a(0x15d))/0xa;if(_0x151eed===_0x263b12)break;else _0x2d37d5['push'](_0x2d37d5['shift']());}catch(_0x5d215b){_0x2d37d5['push'](_0x2d37d5['shift']());}}}(_0x43b0,0x83ca8));import{parseDocument as _0x2a3863}from'htmlparser2';import{append as _0x243e6c,appendChild as _0x21ba91,find as _0x4d05e0,findAll as _0x3a3fa2,findOne as _0x5c67f9,getChildren as _0x487cd9,isComment as _0x5c476d,isTag as _0x37d3a3,prepend as _0x45bec8,prependChild as _0x3722bb,removeElement as _0x4ec2d9,replaceElement as _0x10d52c,textContent as _0xa99089,getParent as _0x4fd255,hasChildren as _0x4b1412}from'domutils';import _0x2f7d5c from'dom-serializer';import{cloneNode as _0x1bddc2,isDocument as _0xdf7fc,isText as _0xf2e71d,Element as _0x355b05,Text as _0x5481c2,Document as _0x2ded51,NodeWithChildren as _0x16da93}from'domhandler';export{_0x1bddc2 as cloneNode,_0x4d05e0 as find,_0x5c67f9 as findOne,_0x3a3fa2 as findAll,_0x487cd9 as getChildren,_0x4fd255 as getParent,_0x5c476d as isComment,_0xdf7fc as isDocument,_0x37d3a3 as isTag,_0xf2e71d as isText,_0x243e6c as append,_0x21ba91 as appendChild,_0x45bec8 as prepend,_0x3722bb as prependChild,_0x2f7d5c as render,_0x4ec2d9 as removeElement,_0x10d52c as replaceElement,_0xa99089 as textContent,_0x4b1412 as hasChildren,_0x355b05 as Element,_0x2ded51 as Document,_0x16da93 as NodeWithChildren,_0x5481c2 as Text};export function parse(_0x4410a6){return _0x2a3863(_0x4410a6);}export function serialize(_0x1b3ba3){return _0x2f7d5c(_0x1b3ba3);}export function findByAttribute(_0x2cc180,_0x4dedf6,_0x3f30d3){const _0x1a2c05=_0xdb37,_0x4b28fc=null!==_0x4dedf6?_0xd48f16=>_0xd48f16[_0x1a2c05(0x15b)][_0x2cc180]===_0x4dedf6:_0x343875=>Boolean(_0x343875[_0x1a2c05(0x15b)][_0x2cc180]);return _0x5c67f9(_0x5a4f02=>_0x37d3a3(_0x5a4f02)&&_0x4b28fc(_0x5a4f02),_0x3f30d3);}export function findAllByAttribute(_0x3d3110,_0x28ab90,_0x275f3a){const _0x252a3d=_0xdb37,_0x11eba6=null!==_0x28ab90?_0x55557a=>_0x55557a[_0x252a3d(0x15b)][_0x3d3110]===_0x28ab90:_0x60c8b=>Boolean(_0x60c8b[_0x252a3d(0x15b)][_0x3d3110]);return _0x3a3fa2(_0x498bd6=>_0x37d3a3(_0x498bd6)&&_0x11eba6(_0x498bd6),_0x275f3a);}export function findAllComments(_0x5d3ba3){return _0x4d05e0(_0x23844d=>_0x5c476d(_0x23844d),_0x5d3ba3,!0x0,0x1/0x0);}export function getAttribute(_0x127d31,_0x3030b1){const _0x59b06c=_0xdb37;return _0x127d31&&_0x37d3a3(_0x127d31)?_0x127d31[_0x59b06c(0x15b)][_0x3030b1]:null;}export function setAttribute(_0x1dc5c2,_0x48f84d,_0xb41769){const _0x5bc116=_0xdb37;_0x37d3a3(_0x1dc5c2)&&(null===_0xb41769?delete _0x1dc5c2[_0x5bc116(0x15b)][_0x48f84d]:_0x1dc5c2[_0x5bc116(0x15b)][_0x48f84d]=_0xb41769);}function _0xdb37(_0x4a7db6,_0x4ad0c2){const _0x43b095=_0x43b0();return _0xdb37=function(_0xdb3799,_0x8f0ad2){_0xdb3799=_0xdb3799-0x14c;let _0x3f22b3=_0x43b095[_0xdb3799];return _0x3f22b3;},_0xdb37(_0x4a7db6,_0x4ad0c2);}export function insertElement(_0x3875cf,_0xba5a79,_0x5934ee){const _0x21c674=_0xdb37,_0xacac5d=_0xba5a79[_0x21c674(0x154)](!0x0);_0x21c674(0x151)===_0x5934ee?_0x45bec8(_0x3875cf,_0xacac5d):_0x21c674(0x155)===_0x5934ee?_0x3722bb(_0x3875cf,_0xacac5d):_0x21c674(0x15e)===_0x5934ee?_0x21ba91(_0x3875cf,_0xacac5d):_0x21c674(0x14c)===_0x5934ee&&_0x243e6c(_0x3875cf,_0xacac5d);}export function moveElement(_0x3f6071,_0x35dbfe){_0x4ec2d9(_0x3f6071),_0x10d52c(_0x35dbfe,_0x3f6071);}export function clone(_0x39b101){const _0x2945fd=_0xdb37;return _0x39b101[_0x2945fd(0x154)](!0x0);}function _0x43b0(){const _0x53c531=['1902674kAvARA','6DKnhVL','1233iBjNFk','3HthmLp','push','attribs','30200MbXcTv','7324020aZWELp','beforeend','map','4464719BOpHMq','1790965bLCOXP','685865iJOsyK','nextSibling','slice','afterend','replace','reverse','4235420lmMfsr','indexOf','beforebegin','parentNode','forEach','cloneNode','afterbegin'];_0x43b0=function(){return _0x53c531;};return _0x43b0();}export function getParents(_0x5b6eb6){const _0x4f18d7=_0xdb37,_0x575d5b=[];let _0x1c705a=_0x5b6eb6;for(;_0x1c705a;)_0x1c705a=_0x4fd255(_0x1c705a),_0x1c705a&&_0x575d5b[_0x4f18d7(0x15a)](_0x1c705a);return _0x575d5b;}export function normalizeHTML(_0x5a5bca){const _0x75e564=_0xdb37;return _0x5a5bca[_0x75e564(0x14d)](/^\s+/gm,'')[_0x75e564(0x14d)](/\s+$/gm,'')[_0x75e564(0x14d)](/\n*/g,'')[_0x75e564(0x14d)](/\s+/g,'\x20')[_0x75e564(0x14d)](/>\s*</g,'><');}export function areNodesSame(_0x575b67,_0x3edee0){return normalizeHTML(serialize(_0x575b67))===normalizeHTML(serialize(_0x3edee0));}export function getNodeNestingLevel(_0x142d66){const _0x42d86b=_0xdb37;let _0x5c490a=0x0;for(;_0x142d66[_0x42d86b(0x152)];)_0x142d66=_0x142d66[_0x42d86b(0x152)],_0x5c490a++;return _0x5c490a;}export function removeElementsAfter(_0x5aad84){const _0x4905da=_0xdb37,_0x99652e=[];let _0x48f680=_0x5aad84[_0x4905da(0x163)];for(;_0x48f680;)_0x99652e[_0x4905da(0x15a)](_0x48f680),_0x48f680=_0x48f680[_0x4905da(0x163)];_0x99652e[_0x4905da(0x153)](_0x4c3a35=>{_0x4ec2d9(_0x4c3a35);});}export function getNodePath(_0x27f0ad){const _0x365858=_0xdb37;return[_0x27f0ad,...getParents(_0x27f0ad)][_0x365858(0x164)](0x0,-0x1)[_0x365858(0x15f)](_0x120a24=>{const _0x4bf9ba=_0x365858,_0x19d663=_0x4fd255(_0x120a24);return _0x487cd9(_0x19d663)[_0x4bf9ba(0x150)](_0x120a24);})[_0x365858(0x14e)]();}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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
5
  import { type Document } from './htmlparser.js';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d3b59=_0x5607;(function(_0x28a477,_0x111671){const _0x259083=_0x5607,_0xbfc3c5=_0x28a477();while(!![]){try{const _0x1e5dfb=-parseInt(_0x259083(0x1f6))/0x1+-parseInt(_0x259083(0x1f7))/0x2*(parseInt(_0x259083(0x22a))/0x3)+parseInt(_0x259083(0x225))/0x4+parseInt(_0x259083(0x20d))/0x5*(parseInt(_0x259083(0x212))/0x6)+-parseInt(_0x259083(0x223))/0x7+parseInt(_0x259083(0x207))/0x8*(-parseInt(_0x259083(0x1f5))/0x9)+parseInt(_0x259083(0x20b))/0xa;if(_0x1e5dfb===_0x111671)break;else _0xbfc3c5['push'](_0xbfc3c5['shift']());}catch(_0x3d9977){_0xbfc3c5['push'](_0xbfc3c5['shift']());}}}(_0x4353,0x5689b));function _0x4353(){const _0x5aee4a=['isStreaming','147drqxjj','addEventListener','strong','map','delay','tagName','mark','join','9IQQjLz','543365fnxxZn','16084GsFRkx','sup','parent','currentIndex','div','entries','querySelectorAll','splitTextNodeIntoWordNodes','includes','textNodeStyle','isWordSplitResult','span[data-ck-html-streamer-word-chunk]','childNodes','signal','match','from','641720lgNozF','cleanUpAnimations','replaceWith','sub','16820370WhQCgr','ins','5EPtTJy','push','timeoutAbortController','abort','bind','85620Yylbcm','document','span','reverse','shouldBeStreamed','children','renderNode','nodesList','getParsedDocumentNodeList','del','onStreamUpdate','code','ai-html-streamer-current-index-out-of-bounds','isWordSplitSource','options','now','stream','4190137MmcHmx','attribs','1097524TFIKYT','length','stop','forEach'];_0x4353=function(){return _0x5aee4a;};return _0x4353();}import _0x5c750f from'morphdom';function _0x5607(_0xf81bba,_0x5a507e){const _0x435337=_0x4353();return _0x5607=function(_0x560754,_0x25bb67){_0x560754=_0x560754-0x1f4;let _0x3ac46e=_0x435337[_0x560754];return _0x3ac46e;},_0x5607(_0xf81bba,_0x5a507e);}import{NodeWithChildren as _0x1f917b,Text as _0xf97fcd,Element as _0x55a4c5,isText as _0x22914d,isDocument as _0x52f139,isTag as _0x54e023,cloneNode as _0x30b9d3,getChildren as _0x53f377,prepend as _0x3a1765,removeElement as _0x45b3e1,textContent as _0x22d713,render as _0x14e5f7}from'./htmlparser.js';import{logWarning as _0x33fd07}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x3d3b59(0x220)];[_0x3d3b59(0x229)]=!0x1;[_0x3d3b59(0x213)]=null;[_0x3d3b59(0x219)]=[];[_0x3d3b59(0x1fa)]=0x0;[_0x3d3b59(0x20f)]=null;constructor(_0x4d02dd){const _0x2b4195=_0x3d3b59;this[_0x2b4195(0x220)]={'delay':_0x4d02dd[_0x2b4195(0x22e)]??0x14,'textNodeStyle':_0x4d02dd[_0x2b4195(0x200)],'onStreamUpdate':_0x4d02dd[_0x2b4195(0x21c)]||(()=>{})};}async[_0x3d3b59(0x222)]({document:_0x54a05c,targetElement:_0x501935,abortSignal:_0x236c08}){const _0x425710=_0x3d3b59;this[_0x425710(0x229)]&&this[_0x425710(0x227)](),_0x236c08?.[_0x425710(0x22b)](_0x425710(0x210),this[_0x425710(0x227)][_0x425710(0x211)](this)),this[_0x425710(0x213)]=_0x30b9d3(_0x54a05c,!0x0),this[_0x425710(0x219)]=this[_0x425710(0x21a)](),this[_0x425710(0x229)]=!0x0,this[_0x425710(0x1fa)]>this[_0x425710(0x219)][_0x425710(0x226)]&&(_0x33fd07(_0x425710(0x21e),{'currentIndex':this[_0x425710(0x1fa)],'nodeList':this[_0x425710(0x219)]}),this[_0x425710(0x1fa)]=this[_0x425710(0x219)][_0x425710(0x226)]);for(let _0x49c9be=0x0;_0x49c9be<this[_0x425710(0x1fa)];_0x49c9be++)this[_0x425710(0x219)][_0x49c9be][_0x425710(0x216)]=!0x0;let _0x35317c=0x0;for(let _0x3bc118=this[_0x425710(0x1fa)];_0x3bc118<this[_0x425710(0x219)][_0x425710(0x226)];_0x3bc118++){const _0xd7070f=Date[_0x425710(0x221)](),_0x4b7cf6=this[_0x425710(0x219)][_0x3bc118],_0x500dcd=_0xd7070f-_0x35317c;_0x4b7cf6[_0x425710(0x216)]=!0x0;let _0x3c0c1d=_0x4b7cf6[_0x425710(0x1f9)];for(;_0x3c0c1d;)_0x3c0c1d[_0x425710(0x216)]=!0x0,_0x3c0c1d=_0x3c0c1d[_0x425710(0x1f9)];if(_0x500dcd<this[_0x425710(0x220)][_0x425710(0x22e)])try{const {promise:_0x3d7905,abortController:_0x12de14}=pr(this[_0x425710(0x220)][_0x425710(0x22e)]-_0x500dcd);this[_0x425710(0x20f)]=_0x12de14,await _0x3d7905;}catch(_0x585d4b){return;}_0x5c750f(_0x501935,'<'+_0x501935[_0x425710(0x22f)]+'>'+this[_0x425710(0x218)](this[_0x425710(0x213)])+'</'+_0x501935[_0x425710(0x22f)]+'>',{'childrenOnly':!0x0}),this[_0x425710(0x220)][_0x425710(0x21c)]&&this[_0x425710(0x220)][_0x425710(0x21c)](),this[_0x425710(0x1fa)]=_0x3bc118,_0x35317c=Date[_0x425710(0x221)]();}this[_0x425710(0x229)]=!0x1;}[_0x3d3b59(0x208)]({targetElement:_0xb190f7}){const _0x477360=_0x3d3b59;Array[_0x477360(0x206)](_0xb190f7[_0x477360(0x1fd)](_0x477360(0x202)))[_0x477360(0x215)]()[_0x477360(0x228)](_0x5eb1c7=>{const _0x2728d9=_0x477360;_0x5eb1c7[_0x2728d9(0x209)](_0x5eb1c7[_0x2728d9(0x203)][0x0]);});}[_0x3d3b59(0x227)](){const _0x492156=_0x3d3b59;this[_0x492156(0x229)]=!0x1,this[_0x492156(0x20f)]&&(this[_0x492156(0x20f)][_0x492156(0x210)](),this[_0x492156(0x20f)]=null);}[_0x3d3b59(0x218)](_0x29e041){const _0xc56cc5=_0x3d3b59;let _0x4c3bab='';if(function(_0x38a89f){return _0x52f139(_0x38a89f);}(_0x29e041)){for(const _0x1566ad of _0x29e041[_0xc56cc5(0x217)])_0x4c3bab+=this[_0xc56cc5(0x218)](_0x1566ad);}else{if(dr(_0x29e041)){if(!_0x29e041[_0xc56cc5(0x216)])return'';const _0x56a86c=_0x29e041,_0x390751=Object[_0xc56cc5(0x1fc)](_0x56a86c[_0xc56cc5(0x224)])[_0xc56cc5(0x22d)](([_0x4c5794,_0x25d2e2])=>_0x4c5794+'=\x22'+_0x25d2e2+'\x22')[_0xc56cc5(0x1f4)]('\x20');_0x4c3bab+='<'+_0x56a86c[_0xc56cc5(0x22f)]+(_0x390751?'\x20'+_0x390751:'')+'>';for(const _0x120ac2 of _0x53f377(_0x56a86c))_0x4c3bab+=this[_0xc56cc5(0x218)](_0x120ac2);_0x4c3bab+='</'+_0x56a86c[_0xc56cc5(0x22f)]+'>';}else{if(!ar(_0x29e041))return'';if(!_0x29e041[_0xc56cc5(0x216)])return'';!function(_0xc9d36b){const _0x14bc10=_0xc56cc5;if(!_0xc9d36b[_0x14bc10(0x1f9)]||!dr(_0xc9d36b[_0x14bc10(0x1f9)]))return!0x1;if(!cr[_0x14bc10(0x1ff)](_0xc9d36b[_0x14bc10(0x1f9)][_0x14bc10(0x22f)]))return!0x1;return!_0x22d713(_0xc9d36b)[_0x14bc10(0x205)](/^\s*[<>]\s*$/);}(_0x29e041)?_0x4c3bab+=_0x14e5f7(_0x29e041):_0x4c3bab+=_0x14e5f7(new _0x55a4c5(_0xc56cc5(0x214),{'data-ck-html-streamer-word-chunk':'','style':this[_0xc56cc5(0x220)][_0xc56cc5(0x200)]},[_0x29e041]));}}return _0x4c3bab;}[_0x3d3b59(0x21a)](){const _0x11c9b3=_0x3d3b59,_0xb056a3=[];return function(_0x5c28d5,_0x3438c4){const _0x1130ff=_0x5607,_0x4ecc2c=_0x53e40e=>{const _0x116ee2=_0x5607;if(_0x3438c4(_0x53e40e),_0x53e40e instanceof _0x1f917b)for(let _0x199596=0x0;_0x199596<_0x53e40e[_0x116ee2(0x217)][_0x116ee2(0x226)];_0x199596++){const _0x213ad4=_0x53e40e[_0x116ee2(0x217)][_0x199596];_0x4ecc2c(_0x213ad4);}};for(let _0x283f84=0x0;_0x283f84<_0x5c28d5[_0x1130ff(0x217)][_0x1130ff(0x226)];_0x283f84++)_0x4ecc2c(_0x5c28d5[_0x1130ff(0x217)][_0x283f84]);}(this[_0x11c9b3(0x213)],_0x305493=>{const _0xf8bc04=_0x11c9b3;if(ar(_0x305493)){const _0x3f1d71=this[_0xf8bc04(0x1fe)](_0x305493);_0x3f1d71[_0xf8bc04(0x226)]&&_0xb056a3[_0xf8bc04(0x20e)](..._0x3f1d71);}_0x305493[_0xf8bc04(0x21f)]||_0x305493[_0xf8bc04(0x201)]||_0xb056a3[_0xf8bc04(0x20e)](_0x305493);}),_0xb056a3;}[_0x3d3b59(0x1fe)](_0x566022){const _0x12414e=_0x3d3b59;if(_0x566022[_0x12414e(0x21f)]||_0x566022[_0x12414e(0x201)])return[];const _0x327e35=_0x22d713(_0x566022)[_0x12414e(0x205)](/(?:\s*\S+\s*)/g),_0x1616b0=[];if(_0x327e35&&_0x327e35[_0x12414e(0x226)]>0x1){for(const _0x327626 of _0x327e35){const _0x552060=new _0xf97fcd(_0x327626);_0x552060[_0x12414e(0x201)]=!0x0,_0x3a1765(_0x566022,_0x552060),_0x1616b0[_0x12414e(0x20e)](_0x552060);}_0x566022[_0x12414e(0x21f)]=!0x0,_0x45b3e1(_0x566022);}return _0x1616b0;}}const cr=['p','li','td','th',_0x3d3b59(0x214),'h1','h2','h3','h4','h5','h6','b',_0x3d3b59(0x22c),'i','em',_0x3d3b59(0x230),_0x3d3b59(0x21b),_0x3d3b59(0x20c),_0x3d3b59(0x1f8),_0x3d3b59(0x20a),'a',_0x3d3b59(0x21d),_0x3d3b59(0x1fb)];function ar(_0x1c193f){return _0x22914d(_0x1c193f);}function dr(_0x1ce329){return _0x54e023(_0x1ce329);}function pr(_0x25eade){const _0x112ac4=new AbortController();return{'promise':new Promise((_0x52206a,_0x196c95)=>{const _0x51cb48=_0x5607,_0x2469db=setTimeout(_0x52206a,_0x25eade);_0x112ac4[_0x51cb48(0x204)][_0x51cb48(0x22b)](_0x51cb48(0x210),()=>{clearTimeout(_0x2469db),_0x196c95();});}),'abortController':_0x112ac4};}
23
+ const _0x220c1e=_0x15ef;(function(_0x319e19,_0x449b9e){const _0x3edba8=_0x15ef,_0x467f86=_0x319e19();while(!![]){try{const _0x168e50=-parseInt(_0x3edba8(0x1ec))/0x1+-parseInt(_0x3edba8(0x1b4))/0x2*(parseInt(_0x3edba8(0x1b8))/0x3)+parseInt(_0x3edba8(0x1b2))/0x4+parseInt(_0x3edba8(0x1b5))/0x5*(-parseInt(_0x3edba8(0x1ce))/0x6)+parseInt(_0x3edba8(0x1ee))/0x7+parseInt(_0x3edba8(0x1d3))/0x8*(-parseInt(_0x3edba8(0x1bf))/0x9)+parseInt(_0x3edba8(0x1d8))/0xa*(parseInt(_0x3edba8(0x1e7))/0xb);if(_0x168e50===_0x449b9e)break;else _0x467f86['push'](_0x467f86['shift']());}catch(_0x5d299c){_0x467f86['push'](_0x467f86['shift']());}}}(_0x41d0,0x1ab07));import _0x1e5161 from'morphdom';import{NodeWithChildren as _0x1e500a,Text as _0x9050e2,Element as _0x28f479,isText as _0x2c636e,isDocument as _0x31870e,isTag as _0x454fa0,cloneNode as _0x50cc2f,getChildren as _0x55c7aa,prepend as _0x227680,removeElement as _0x5b5939,textContent as _0x2e7124,render as _0x26c7ab}from'./htmlparser.js';import{logWarning as _0x572e88}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x220c1e(0x1c1)];[_0x220c1e(0x1c4)]=!0x1;[_0x220c1e(0x1cb)]=null;[_0x220c1e(0x1e6)]=[];[_0x220c1e(0x1e2)]=0x0;[_0x220c1e(0x1b7)]=null;constructor(_0x46f805){const _0x1db0de=_0x220c1e;this[_0x1db0de(0x1c1)]={'delay':_0x46f805[_0x1db0de(0x1b6)]??0x14,'textNodeStyle':_0x46f805[_0x1db0de(0x1c8)],'onStreamUpdate':_0x46f805[_0x1db0de(0x1c6)]||(()=>{})};}async[_0x220c1e(0x1cf)]({document:_0x37129e,targetElement:_0x959728,abortSignal:_0x572bd8}){const _0x20bd86=_0x220c1e;this[_0x20bd86(0x1c4)]&&this[_0x20bd86(0x1e0)](),_0x572bd8?.[_0x20bd86(0x1c5)](_0x20bd86(0x1db),this[_0x20bd86(0x1e0)][_0x20bd86(0x1bd)](this)),this[_0x20bd86(0x1cb)]=_0x50cc2f(_0x37129e,!0x0),this[_0x20bd86(0x1e6)]=this[_0x20bd86(0x1d6)](),this[_0x20bd86(0x1c4)]=!0x0,this[_0x20bd86(0x1e2)]>this[_0x20bd86(0x1e6)][_0x20bd86(0x1e4)]&&(_0x572e88(_0x20bd86(0x1be),{'currentIndex':this[_0x20bd86(0x1e2)],'nodeList':this[_0x20bd86(0x1e6)]}),this[_0x20bd86(0x1e2)]=this[_0x20bd86(0x1e6)][_0x20bd86(0x1e4)]);for(let _0x259cc8=0x0;_0x259cc8<this[_0x20bd86(0x1e2)];_0x259cc8++)this[_0x20bd86(0x1e6)][_0x259cc8][_0x20bd86(0x1ed)]=!0x0;let _0x2debfa=0x0;for(let _0x5531bd=this[_0x20bd86(0x1e2)];_0x5531bd<this[_0x20bd86(0x1e6)][_0x20bd86(0x1e4)];_0x5531bd++){const _0x3d61ef=Date[_0x20bd86(0x1d7)](),_0x4761ec=this[_0x20bd86(0x1e6)][_0x5531bd],_0x5999c5=_0x3d61ef-_0x2debfa;_0x4761ec[_0x20bd86(0x1ed)]=!0x0;let _0x232483=_0x4761ec[_0x20bd86(0x1c3)];for(;_0x232483;)_0x232483[_0x20bd86(0x1ed)]=!0x0,_0x232483=_0x232483[_0x20bd86(0x1c3)];if(_0x5999c5<this[_0x20bd86(0x1c1)][_0x20bd86(0x1b6)])try{const {promise:_0x5bd3c9,abortController:_0x112a32}=dr(this[_0x20bd86(0x1c1)][_0x20bd86(0x1b6)]-_0x5999c5);this[_0x20bd86(0x1b7)]=_0x112a32,await _0x5bd3c9;}catch(_0x2160a9){return;}_0x1e5161(_0x959728,'<'+_0x959728[_0x20bd86(0x1cc)]+'>'+this[_0x20bd86(0x1cd)](this[_0x20bd86(0x1cb)])+'</'+_0x959728[_0x20bd86(0x1cc)]+'>',{'childrenOnly':!0x0}),this[_0x20bd86(0x1c1)][_0x20bd86(0x1c6)]&&this[_0x20bd86(0x1c1)][_0x20bd86(0x1c6)](),this[_0x20bd86(0x1e2)]=_0x5531bd,_0x2debfa=Date[_0x20bd86(0x1d7)]();}this[_0x20bd86(0x1c4)]=!0x1;}[_0x220c1e(0x1e1)]({targetElement:_0x56c312}){const _0x3cbae7=_0x220c1e;Array[_0x3cbae7(0x1d1)](_0x56c312[_0x3cbae7(0x1c7)](_0x3cbae7(0x1eb)))[_0x3cbae7(0x1e3)]()[_0x3cbae7(0x1d9)](_0x107cda=>{const _0x44f320=_0x3cbae7;_0x107cda[_0x44f320(0x1e5)](_0x107cda[_0x44f320(0x1ea)][0x0]);});}[_0x220c1e(0x1e0)](){const _0x3f5e4c=_0x220c1e;this[_0x3f5e4c(0x1c4)]=!0x1,this[_0x3f5e4c(0x1b7)]&&(this[_0x3f5e4c(0x1b7)][_0x3f5e4c(0x1db)](),this[_0x3f5e4c(0x1b7)]=null);}[_0x220c1e(0x1cd)](_0x382ca8){const _0x32f91e=_0x220c1e;let _0x39c2b3='';if(function(_0x3d0663){return _0x31870e(_0x3d0663);}(_0x382ca8)){for(const _0x5c38b2 of _0x382ca8[_0x32f91e(0x1dc)])_0x39c2b3+=this[_0x32f91e(0x1cd)](_0x5c38b2);}else{if(ar(_0x382ca8)){if(!_0x382ca8[_0x32f91e(0x1ed)])return'';const _0x44e9f0=_0x382ca8,_0x39973e=Object[_0x32f91e(0x1b3)](_0x44e9f0[_0x32f91e(0x1de)])[_0x32f91e(0x1da)](([_0x44aa75,_0x32224d])=>_0x44aa75+'=\x22'+_0x32224d+'\x22')[_0x32f91e(0x1ba)]('\x20');_0x39c2b3+='<'+_0x44e9f0[_0x32f91e(0x1cc)]+(_0x39973e?'\x20'+_0x39973e:'')+'>';for(const _0x485290 of _0x55c7aa(_0x44e9f0))_0x39c2b3+=this[_0x32f91e(0x1cd)](_0x485290);_0x39c2b3+='</'+_0x44e9f0[_0x32f91e(0x1cc)]+'>';}else{if(!cr(_0x382ca8))return'';if(!_0x382ca8[_0x32f91e(0x1ed)])return'';!function(_0x4df50d){const _0x58ca1d=_0x32f91e;if(!_0x4df50d[_0x58ca1d(0x1c3)]||!ar(_0x4df50d[_0x58ca1d(0x1c3)]))return!0x1;if(!hr[_0x58ca1d(0x1ca)](_0x4df50d[_0x58ca1d(0x1c3)][_0x58ca1d(0x1cc)]))return!0x1;return!_0x2e7124(_0x4df50d)[_0x58ca1d(0x1e9)](/^\s*[<>]\s*$/);}(_0x382ca8)?_0x39c2b3+=_0x26c7ab(_0x382ca8):_0x39c2b3+=_0x26c7ab(new _0x28f479(_0x32f91e(0x1c2),{'data-ck-html-streamer-word-chunk':'','style':this[_0x32f91e(0x1c1)][_0x32f91e(0x1c8)]},[_0x382ca8]));}}return _0x39c2b3;}[_0x220c1e(0x1d6)](){const _0x4a37ac=_0x220c1e,_0x48a0bd=[];return function(_0x534a46,_0x3587ba){const _0x3e8792=_0x15ef,_0x24ebcf=_0x184a9c=>{const _0x29a4dd=_0x15ef;if(_0x3587ba(_0x184a9c),_0x184a9c instanceof _0x1e500a)for(let _0x416d9a=0x0;_0x416d9a<_0x184a9c[_0x29a4dd(0x1dc)][_0x29a4dd(0x1e4)];_0x416d9a++){const _0x45b539=_0x184a9c[_0x29a4dd(0x1dc)][_0x416d9a];_0x24ebcf(_0x45b539);}};for(let _0x4bd92f=0x0;_0x4bd92f<_0x534a46[_0x3e8792(0x1dc)][_0x3e8792(0x1e4)];_0x4bd92f++)_0x24ebcf(_0x534a46[_0x3e8792(0x1dc)][_0x4bd92f]);}(this[_0x4a37ac(0x1cb)],_0xba281=>{const _0x10040d=_0x4a37ac;if(cr(_0xba281)){const _0x395fa6=this[_0x10040d(0x1d4)](_0xba281);_0x395fa6[_0x10040d(0x1e4)]&&_0x48a0bd[_0x10040d(0x1d5)](..._0x395fa6);}_0xba281[_0x10040d(0x1d0)]||_0xba281[_0x10040d(0x1dd)]||_0x48a0bd[_0x10040d(0x1d5)](_0xba281);}),_0x48a0bd;}[_0x220c1e(0x1d4)](_0x2c90a6){const _0x5fc396=_0x220c1e;if(_0x2c90a6[_0x5fc396(0x1d0)]||_0x2c90a6[_0x5fc396(0x1dd)])return[];const _0xe0b09b=_0x2e7124(_0x2c90a6)[_0x5fc396(0x1e9)](/(?:\s*\S+\s*)/g),_0xeca47d=[];if(_0xe0b09b&&_0xe0b09b[_0x5fc396(0x1e4)]>0x1){for(const _0x49e979 of _0xe0b09b){const _0x3df6f5=new _0x9050e2(_0x49e979);_0x3df6f5[_0x5fc396(0x1dd)]=!0x0,_0x227680(_0x2c90a6,_0x3df6f5),_0xeca47d[_0x5fc396(0x1d5)](_0x3df6f5);}_0x2c90a6[_0x5fc396(0x1d0)]=!0x0,_0x5b5939(_0x2c90a6);}return _0xeca47d;}}const hr=['p','li','td','th',_0x220c1e(0x1c2),'h1','h2','h3','h4','h5','h6','b',_0x220c1e(0x1df),'i','em',_0x220c1e(0x1c0),_0x220c1e(0x1b9),_0x220c1e(0x1bc),_0x220c1e(0x1b1),_0x220c1e(0x1e8),'a',_0x220c1e(0x1c9),_0x220c1e(0x1bb)];function cr(_0x2fe0fa){return _0x2c636e(_0x2fe0fa);}function _0x15ef(_0x223ea8,_0x49bcbe){const _0x41d017=_0x41d0();return _0x15ef=function(_0x15ef2a,_0x4b6349){_0x15ef2a=_0x15ef2a-0x1b1;let _0xbc39a5=_0x41d017[_0x15ef2a];return _0xbc39a5;},_0x15ef(_0x223ea8,_0x49bcbe);}function _0x41d0(){const _0x3dbd3c=['11fyYVHl','sub','match','childNodes','span[data-ck-html-streamer-word-chunk]','45101rgtzJl','shouldBeStreamed','827253dqeiDA','sup','431288iZXSLS','entries','10524pnxMgu','20275lGwbEs','delay','timeoutAbortController','3NgOyHt','del','join','div','ins','bind','ai-html-streamer-current-index-out-of-bounds','1584Iqlpbe','mark','options','span','parent','isStreaming','addEventListener','onStreamUpdate','querySelectorAll','textNodeStyle','code','includes','document','tagName','renderNode','282XQlHhD','stream','isWordSplitSource','from','signal','8848rQnjhF','splitTextNodeIntoWordNodes','push','getParsedDocumentNodeList','now','3189220eBCTDU','forEach','map','abort','children','isWordSplitResult','attribs','strong','stop','cleanUpAnimations','currentIndex','reverse','length','replaceWith','nodesList'];_0x41d0=function(){return _0x3dbd3c;};return _0x41d0();}function ar(_0x2ba84b){return _0x454fa0(_0x2ba84b);}function dr(_0x5a80b9){const _0x26ac61=new AbortController();return{'promise':new Promise((_0x141dda,_0x523dff)=>{const _0x37435f=_0x15ef,_0x18d070=setTimeout(_0x141dda,_0x5a80b9);_0x26ac61[_0x37435f(0x1d2)][_0x37435f(0x1c5)](_0x37435f(0x1db),()=>{clearTimeout(_0x18d070),_0x523dff();});}),'abortController':_0x26ac61};}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc845(){const _0x77bc0f=['type','Home','2644270hcYWhj','signal','stop','touchstart','bind','scrollTo','auto','45BjvEIP','key','addEventListener','animationFrameId','61229UCmTxE','_rafUpdate','8156XlNnCZ','PageDown','isRunning','106190KNLSfp','_onUserEvent','keydown','deltaY','ArrowUp','21uCtuwg','End','2694320xocluF','1942228mLiUxm','element','3126414sHcbgj','ArrowDown','PageUp','360KGObQg','start','isUserPaused','destroy','pointerdown','_stop','_isAtBottom','includes','wheel','abortController','scrollHeight','abort'];_0xc845=function(){return _0x77bc0f;};return _0xc845();}function _0x51c9(_0x3e259c,_0x179967){const _0xc8455e=_0xc845();return _0x51c9=function(_0x51c910,_0x430e18){_0x51c910=_0x51c910-0x1cd;let _0x445af4=_0xc8455e[_0x51c910];return _0x445af4;},_0x51c9(_0x3e259c,_0x179967);}const _0x3f35b6=_0x51c9;(function(_0x32b4d2,_0x2625c9){const _0x5bab94=_0x51c9,_0x50f2e5=_0x32b4d2();while(!![]){try{const _0x3f0ef1=-parseInt(_0x5bab94(0x1e6))/0x1+-parseInt(_0x5bab94(0x1e3))/0x2*(-parseInt(_0x5bab94(0x1eb))/0x3)+-parseInt(_0x5bab94(0x1ee))/0x4+parseInt(_0x5bab94(0x1ed))/0x5+-parseInt(_0x5bab94(0x1f0))/0x6+-parseInt(_0x5bab94(0x1e1))/0x7*(parseInt(_0x5bab94(0x1f3))/0x8)+-parseInt(_0x5bab94(0x1dd))/0x9*(-parseInt(_0x5bab94(0x1d6))/0xa);if(_0x3f0ef1===_0x2625c9)break;else _0x50f2e5['push'](_0x50f2e5['shift']());}catch(_0x103b1c){_0x50f2e5['push'](_0x50f2e5['shift']());}}}(_0xc845,0x5d88a));const ws=[_0x3f35b6(0x1d0),_0x3f35b6(0x1d9),_0x3f35b6(0x1f7),_0x3f35b6(0x1e8)],Fs=[_0x3f35b6(0x1ea),_0x3f35b6(0x1f1),_0x3f35b6(0x1f2),_0x3f35b6(0x1e4),_0x3f35b6(0x1d5),_0x3f35b6(0x1ec),'\x20'];export class ScrollManager{[_0x3f35b6(0x1ef)];[_0x3f35b6(0x1e0)];[_0x3f35b6(0x1e5)];[_0x3f35b6(0x1d1)];[_0x3f35b6(0x1f5)];constructor(_0x114651){const _0x2e95e8=_0x3f35b6;this[_0x2e95e8(0x1ef)]=_0x114651,this[_0x2e95e8(0x1e0)]=null,this[_0x2e95e8(0x1e5)]=!0x1,this[_0x2e95e8(0x1d1)]=new AbortController(),this[_0x2e95e8(0x1f5)]=!0x1;for(const _0x1d924f of ws){const _0x526170=_0x2e95e8(0x1e8)!==_0x1d924f;this[_0x2e95e8(0x1ef)][_0x2e95e8(0x1df)](_0x1d924f,this[_0x2e95e8(0x1e7)][_0x2e95e8(0x1da)](this),{'passive':_0x526170,'signal':this[_0x2e95e8(0x1d1)][_0x2e95e8(0x1d7)]});}}[_0x3f35b6(0x1f4)](){const _0x297062=_0x3f35b6;this[_0x297062(0x1e5)]||(this[_0x297062(0x1e5)]=!0x0,this[_0x297062(0x1f5)]=!0x1,this[_0x297062(0x1e0)]=requestAnimationFrame(this[_0x297062(0x1e2)][_0x297062(0x1da)](this)));}[_0x3f35b6(0x1d8)](){requestAnimationFrame(()=>{const _0x298a21=_0x51c9;this[_0x298a21(0x1cd)]();});}[_0x3f35b6(0x1f6)](){const _0x19de68=_0x3f35b6;this[_0x19de68(0x1cd)](),this[_0x19de68(0x1d1)][_0x19de68(0x1d3)]();}[_0x3f35b6(0x1cd)](){const _0x1495c1=_0x3f35b6;null!==this[_0x1495c1(0x1e0)]&&(cancelAnimationFrame(this[_0x1495c1(0x1e0)]),this[_0x1495c1(0x1e0)]=null),this[_0x1495c1(0x1e5)]&&(this[_0x1495c1(0x1e5)]=!0x1),this[_0x1495c1(0x1f5)]=!0x1;}[_0x3f35b6(0x1e7)](_0x3f3399){const _0x3358cd=_0x3f35b6;if(this[_0x3358cd(0x1e5)]){if(_0x3358cd(0x1e8)===_0x3f3399[_0x3358cd(0x1d4)]){const _0x527024=_0x3f3399[_0x3358cd(0x1de)];if(!Fs[_0x3358cd(0x1cf)](_0x527024))return;}_0x3f3399 instanceof WheelEvent?_0x3f3399[_0x3358cd(0x1e9)]<0x0?this[_0x3358cd(0x1f5)]=!0x0:this[_0x3358cd(0x1f5)]=!this[_0x3358cd(0x1ce)]():this[_0x3358cd(0x1f5)]=!0x0;}}[_0x3f35b6(0x1ce)](){const _0x1ff4c2=_0x3f35b6,{scrollTop:_0x50beb6,scrollHeight:_0x25946a,clientHeight:_0x240c01}=this[_0x1ff4c2(0x1ef)];return _0x25946a-_0x50beb6-_0x240c01<=0x5;}[_0x3f35b6(0x1e2)](){const _0x66e2a9=_0x3f35b6;this[_0x66e2a9(0x1e5)]&&(this[_0x66e2a9(0x1f5)]||this[_0x66e2a9(0x1ef)][_0x66e2a9(0x1db)]({'top':this[_0x66e2a9(0x1ef)][_0x66e2a9(0x1d2)],'behavior':_0x66e2a9(0x1dc)}),this[_0x66e2a9(0x1e0)]=requestAnimationFrame(this[_0x66e2a9(0x1e2)][_0x66e2a9(0x1da)](this)));}}
23
+ function _0x5eda(){const _0x4ae6e0=['PageDown','destroy','abortController','addEventListener','117kwCSjI','2861888ZjYxab','172MbbqXN','1027360aoxpMd','type','animationFrameId','touchstart','2057MzYhOX','key','signal','_isAtBottom','Home','512968BcfDZp','267197HlmiUU','wheel','PageUp','element','_rafUpdate','1723632TVFCFH','deltaY','start','End','isRunning','isUserPaused','abort','stop','scrollTo','76940giHtPz','ArrowDown','auto','bind','pointerdown','scrollHeight','ArrowUp','3pzNFIf','_stop','keydown','includes','_onUserEvent'];_0x5eda=function(){return _0x4ae6e0;};return _0x5eda();}const _0x3a7f35=_0x44f9;(function(_0xdb67da,_0x415a87){const _0x1048f5=_0x44f9,_0x46d807=_0xdb67da();while(!![]){try{const _0x18cfc4=parseInt(_0x1048f5(0x1bf))/0x1*(parseInt(_0x1048f5(0x1ba))/0x2)+-parseInt(_0x1048f5(0x1da))/0x3*(-parseInt(_0x1048f5(0x1c4))/0x4)+-parseInt(_0x1048f5(0x1bb))/0x5+-parseInt(_0x1048f5(0x1ca))/0x6+-parseInt(_0x1048f5(0x1c5))/0x7+parseInt(_0x1048f5(0x1b9))/0x8+-parseInt(_0x1048f5(0x1b8))/0x9*(-parseInt(_0x1048f5(0x1d3))/0xa);if(_0x18cfc4===_0x415a87)break;else _0x46d807['push'](_0x46d807['shift']());}catch(_0x339c3e){_0x46d807['push'](_0x46d807['shift']());}}}(_0x5eda,0x38a33));const fs=[_0x3a7f35(0x1c6),_0x3a7f35(0x1be),_0x3a7f35(0x1d7),_0x3a7f35(0x1dc)],Fs=[_0x3a7f35(0x1d9),_0x3a7f35(0x1d4),_0x3a7f35(0x1c7),_0x3a7f35(0x1df),_0x3a7f35(0x1c3),_0x3a7f35(0x1cd),'\x20'];function _0x44f9(_0x1d7d30,_0x5a76bb){const _0x5eda3d=_0x5eda();return _0x44f9=function(_0x44f9d3,_0xba65b3){_0x44f9d3=_0x44f9d3-0x1b6;let _0x55448b=_0x5eda3d[_0x44f9d3];return _0x55448b;},_0x44f9(_0x1d7d30,_0x5a76bb);}export class ScrollManager{[_0x3a7f35(0x1c8)];[_0x3a7f35(0x1bd)];[_0x3a7f35(0x1ce)];[_0x3a7f35(0x1b6)];[_0x3a7f35(0x1cf)];constructor(_0x17f637){const _0x49e499=_0x3a7f35;this[_0x49e499(0x1c8)]=_0x17f637,this[_0x49e499(0x1bd)]=null,this[_0x49e499(0x1ce)]=!0x1,this[_0x49e499(0x1b6)]=new AbortController(),this[_0x49e499(0x1cf)]=!0x1;for(const _0x5b3376 of fs){const _0x55fe11=_0x49e499(0x1dc)!==_0x5b3376;this[_0x49e499(0x1c8)][_0x49e499(0x1b7)](_0x5b3376,this[_0x49e499(0x1de)][_0x49e499(0x1d6)](this),{'passive':_0x55fe11,'signal':this[_0x49e499(0x1b6)][_0x49e499(0x1c1)]});}}[_0x3a7f35(0x1cc)](){const _0x369321=_0x3a7f35;this[_0x369321(0x1ce)]||(this[_0x369321(0x1ce)]=!0x0,this[_0x369321(0x1cf)]=!0x1,this[_0x369321(0x1bd)]=requestAnimationFrame(this[_0x369321(0x1c9)][_0x369321(0x1d6)](this)));}[_0x3a7f35(0x1d1)](){requestAnimationFrame(()=>{const _0x165f54=_0x44f9;this[_0x165f54(0x1db)]();});}[_0x3a7f35(0x1e0)](){const _0x1e6af5=_0x3a7f35;this[_0x1e6af5(0x1db)](),this[_0x1e6af5(0x1b6)][_0x1e6af5(0x1d0)]();}[_0x3a7f35(0x1db)](){const _0x49a3b9=_0x3a7f35;null!==this[_0x49a3b9(0x1bd)]&&(cancelAnimationFrame(this[_0x49a3b9(0x1bd)]),this[_0x49a3b9(0x1bd)]=null),this[_0x49a3b9(0x1ce)]&&(this[_0x49a3b9(0x1ce)]=!0x1),this[_0x49a3b9(0x1cf)]=!0x1;}[_0x3a7f35(0x1de)](_0x4e4f32){const _0x5b6d9f=_0x3a7f35;if(this[_0x5b6d9f(0x1ce)]){if(_0x5b6d9f(0x1dc)===_0x4e4f32[_0x5b6d9f(0x1bc)]){const _0x505ca5=_0x4e4f32[_0x5b6d9f(0x1c0)];if(!Fs[_0x5b6d9f(0x1dd)](_0x505ca5))return;}_0x4e4f32 instanceof WheelEvent?_0x4e4f32[_0x5b6d9f(0x1cb)]<0x0?this[_0x5b6d9f(0x1cf)]=!0x0:this[_0x5b6d9f(0x1cf)]=!this[_0x5b6d9f(0x1c2)]():this[_0x5b6d9f(0x1cf)]=!0x0;}}[_0x3a7f35(0x1c2)](){const _0x306ff3=_0x3a7f35,{scrollTop:_0xcce2a7,scrollHeight:_0x3576b3,clientHeight:_0x417b79}=this[_0x306ff3(0x1c8)];return _0x3576b3-_0xcce2a7-_0x417b79<=0x5;}[_0x3a7f35(0x1c9)](){const _0x2d79a8=_0x3a7f35;this[_0x2d79a8(0x1ce)]&&(this[_0x2d79a8(0x1cf)]||this[_0x2d79a8(0x1c8)][_0x2d79a8(0x1d2)]({'top':this[_0x2d79a8(0x1c8)][_0x2d79a8(0x1d8)],'behavior':_0x2d79a8(0x1d5)}),this[_0x2d79a8(0x1bd)]=requestAnimationFrame(this[_0x2d79a8(0x1c9)][_0x2d79a8(0x1d6)](this)));}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4e2d42=_0x36b2;(function(_0x452451,_0x12f0f6){var _0x5113d1=_0x36b2,_0x33cc95=_0x452451();while(!![]){try{var _0xdd2a0b=-parseInt(_0x5113d1(0x1bb))/0x1*(-parseInt(_0x5113d1(0x1c6))/0x2)+-parseInt(_0x5113d1(0x1ba))/0x3+parseInt(_0x5113d1(0x1bd))/0x4*(parseInt(_0x5113d1(0x1c1))/0x5)+parseInt(_0x5113d1(0x1be))/0x6+parseInt(_0x5113d1(0x1b8))/0x7*(-parseInt(_0x5113d1(0x1c2))/0x8)+-parseInt(_0x5113d1(0x1c5))/0x9+parseInt(_0x5113d1(0x1bf))/0xa;if(_0xdd2a0b===_0x12f0f6)break;else _0x33cc95['push'](_0x33cc95['shift']());}catch(_0xcb253){_0x33cc95['push'](_0x33cc95['shift']());}}}(_0x1b54,0x82d51));import{Plugin as _0x5c20c5}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0xcb484f}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x2d1b78}from'@ckeditor/ckeditor5-collaboration-core';function _0x36b2(_0x34b93,_0x4a23bd){var _0x1b540b=_0x1b54();return _0x36b2=function(_0x36b21f,_0xa453e5){_0x36b21f=_0x36b21f-0x1b8;var _0x3acf44=_0x1b540b[_0x36b21f];return _0x3acf44;},_0x36b2(_0x34b93,_0x4a23bd);}export class AIEditorIntegration extends _0x5c20c5{static get[_0x4e2d42(0x1c3)](){return[_0xcb484f,_0x2d1b78];}static get[_0x4e2d42(0x1c0)](){var _0x51aaa7=_0x4e2d42;return _0x51aaa7(0x1c4);}static get[_0x4e2d42(0x1b9)](){return!0x0;}static get[_0x4e2d42(0x1bc)](){return!0x0;}}function _0x1b54(){var _0x26bbae=['19819KQRNIX','isPremiumPlugin','6088WsUOLr','1185252XknpAZ','17725980OXozyV','pluginName','1285FVkCQA','6368YFkdzr','requires','AIEditorIntegration','7608267bhRtJh','76bOjbYq','7973uNGAkZ','isOfficialPlugin','2479560kxWugz'];_0x1b54=function(){return _0x26bbae;};return _0x1b54();}
23
+ var _0x2caada=_0xdb1e;function _0xdb1e(_0x3e4cda,_0x43412a){var _0xa909d7=_0xa909();return _0xdb1e=function(_0xdb1e04,_0x571a3b){_0xdb1e04=_0xdb1e04-0x195;var _0x21b69f=_0xa909d7[_0xdb1e04];return _0x21b69f;},_0xdb1e(_0x3e4cda,_0x43412a);}function _0xa909(){var _0x4a2e30=['6213660GatAuV','isPremiumPlugin','AIEditorIntegration','97523lzDzfU','pluginName','704gULpSu','33939WWeklT','8TYkeUW','40972968fujsGr','315672qmNlcU','6jDzxdZ','isOfficialPlugin','requires','11BJWHQg','21DhcrGI','3076969ekCqRz','2746035HLnHUp'];_0xa909=function(){return _0x4a2e30;};return _0xa909();}(function(_0x3cb0db,_0x304bd7){var _0x1b807c=_0xdb1e,_0x4852ae=_0x3cb0db();while(!![]){try{var _0x52f663=-parseInt(_0x1b807c(0x196))/0x1+parseInt(_0x1b807c(0x19c))/0x2*(-parseInt(_0x1b807c(0x1a1))/0x3)+-parseInt(_0x1b807c(0x19a))/0x4*(parseInt(_0x1b807c(0x1a3))/0x5)+parseInt(_0x1b807c(0x19d))/0x6*(parseInt(_0x1b807c(0x1a2))/0x7)+-parseInt(_0x1b807c(0x198))/0x8*(parseInt(_0x1b807c(0x199))/0x9)+parseInt(_0x1b807c(0x1a4))/0xa*(-parseInt(_0x1b807c(0x1a0))/0xb)+parseInt(_0x1b807c(0x19b))/0xc;if(_0x52f663===_0x304bd7)break;else _0x4852ae['push'](_0x4852ae['shift']());}catch(_0x1f9149){_0x4852ae['push'](_0x4852ae['shift']());}}}(_0xa909,0x927aa));import{Plugin as _0x4f9825}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x4e44a3}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x11985f}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0x4f9825{static get[_0x2caada(0x19f)](){return[_0x4e44a3,_0x11985f];}static get[_0x2caada(0x197)](){var _0x2e098e=_0x2caada;return _0x2e098e(0x195);}static get[_0x2caada(0x19e)](){return!0x0;}static get[_0x2caada(0x1a5)](){return!0x0;}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c59c4=_0x5836;(function(_0x27e44f,_0x2d44f8){const _0x250dff=_0x5836,_0x7ebcd0=_0x27e44f();while(!![]){try{const _0x34e4d8=parseInt(_0x250dff(0xfe))/0x1*(-parseInt(_0x250dff(0x103))/0x2)+parseInt(_0x250dff(0xfd))/0x3+parseInt(_0x250dff(0xf1))/0x4*(-parseInt(_0x250dff(0x101))/0x5)+parseInt(_0x250dff(0x108))/0x6*(parseInt(_0x250dff(0xf0))/0x7)+-parseInt(_0x250dff(0xed))/0x8*(-parseInt(_0x250dff(0x10a))/0x9)+parseInt(_0x250dff(0x105))/0xa+parseInt(_0x250dff(0xfb))/0xb*(-parseInt(_0x250dff(0x107))/0xc);if(_0x34e4d8===_0x2d44f8)break;else _0x7ebcd0['push'](_0x7ebcd0['shift']());}catch(_0x31ccd5){_0x7ebcd0['push'](_0x7ebcd0['shift']());}}}(_0xfe34,0x48c13));import{Plugin as _0x4cb192}from'ckeditor5/src/core.js';function _0xfe34(){const _0x66225f=['7PKrvxD','4CUmDam','isOn','init','locale','menuBar:toggleAi','isOfficialPlugin','ck-ai-toggle-button','AIToggleButtonUI','get','AI_TOGGLE_BUTTON_LABEL','40359kzripd','commands','408201Sqrhuk','1uCwMBw','requires','componentFactory','769985KlHXaO','menuitemcheckbox','1188302cqlIMg','add','1703040jUPktb','_createAIUIButton','840cjcSJA','2722134hjDMNf','set','9gvnRxY','editor','bind','isPremiumPlugin','isEnabled','execute','toggleAi','pluginName','4343368CuxshI','listenTo','value'];_0xfe34=function(){return _0x66225f;};return _0xfe34();}import{ToggleAICommand as _0x5b28c1}from'./toggleaicommand.js';import{ButtonView as _0x33babf,MenuBarMenuListItemButtonView as _0x460f16}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x443c3b}from'@ckeditor/ckeditor5-icons';function _0x5836(_0x2ae9d0,_0x92f83f){const _0xfe344b=_0xfe34();return _0x5836=function(_0x5836c9,_0x1bb63f){_0x5836c9=_0x5836c9-0xeb;let _0x191063=_0xfe344b[_0x5836c9];return _0x191063;},_0x5836(_0x2ae9d0,_0x92f83f);}import{getTranslation as _0x1e4a48}from'../../aicore/utils/common-translations.js';import{AITabs as _0x43606e}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x4cb192{static get[_0x3c59c4(0xff)](){return[_0x43606e];}static get[_0x3c59c4(0xec)](){const _0x18ca11=_0x3c59c4;return _0x18ca11(0xf8);}static get[_0x3c59c4(0xf6)](){return!0x0;}static get[_0x3c59c4(0x10d)](){return!0x0;}[_0x3c59c4(0xf3)](){const _0x372d4c=_0x3c59c4,_0x58d623=this[_0x372d4c(0x10b)];_0x58d623[_0x372d4c(0xfc)][_0x372d4c(0x104)](_0x372d4c(0xeb),new _0x5b28c1(_0x58d623)),_0x58d623['ui'][_0x372d4c(0x100)][_0x372d4c(0x104)](_0x372d4c(0xeb),()=>{const _0x350742=_0x372d4c,_0x59d8e7=this[_0x350742(0x106)](_0x33babf);return _0x59d8e7[_0x350742(0x109)]({'tooltip':!0x0,'class':_0x350742(0xf7)}),_0x59d8e7;}),_0x58d623['ui'][_0x372d4c(0x100)][_0x372d4c(0x104)](_0x372d4c(0xf5),()=>{const _0x1ebce6=_0x372d4c,_0x2dd4f2=this[_0x1ebce6(0x106)](_0x460f16);return _0x2dd4f2[_0x1ebce6(0x109)]({'role':_0x1ebce6(0x102)}),_0x2dd4f2;});}[_0x3c59c4(0x106)](_0x232453){const _0x5ea83c=_0x3c59c4,_0x31f935=this[_0x5ea83c(0x10b)],_0x122db0=_0x31f935[_0x5ea83c(0xfc)][_0x5ea83c(0xf9)](_0x5ea83c(0xeb)),_0x3afcc1=new _0x232453(_0x31f935[_0x5ea83c(0xf4)]);return _0x3afcc1[_0x5ea83c(0x109)]({'label':_0x1e4a48(_0x31f935[_0x5ea83c(0xf4)],_0x5ea83c(0xfa)),'icon':_0x443c3b,'isToggleable':!0x0}),_0x3afcc1[_0x5ea83c(0x10c)](_0x5ea83c(0x10e))['to'](_0x122db0),_0x3afcc1[_0x5ea83c(0x10c)](_0x5ea83c(0xf2))['to'](_0x122db0,_0x5ea83c(0xef),_0x3f58c3=>!!_0x3f58c3),this[_0x5ea83c(0xee)](_0x3afcc1,_0x5ea83c(0x10f),()=>{const _0x1821fb=_0x5ea83c;_0x122db0[_0x1821fb(0x10f)]();}),_0x3afcc1;}}
23
+ const _0x3ea455=_0x2c83;(function(_0x40237d,_0x5494f5){const _0x5e90f0=_0x2c83,_0xe13d4f=_0x40237d();while(!![]){try{const _0x1f18c7=-parseInt(_0x5e90f0(0xfd))/0x1+parseInt(_0x5e90f0(0xfb))/0x2+parseInt(_0x5e90f0(0xf1))/0x3*(parseInt(_0x5e90f0(0xf8))/0x4)+parseInt(_0x5e90f0(0x109))/0x5*(parseInt(_0x5e90f0(0xf0))/0x6)+parseInt(_0x5e90f0(0x10d))/0x7*(-parseInt(_0x5e90f0(0x107))/0x8)+parseInt(_0x5e90f0(0xfa))/0x9+-parseInt(_0x5e90f0(0x101))/0xa;if(_0x1f18c7===_0x5494f5)break;else _0xe13d4f['push'](_0xe13d4f['shift']());}catch(_0xb6558d){_0xe13d4f['push'](_0xe13d4f['shift']());}}}(_0xb17c,0x8e5c3));import{Plugin as _0x5c5637}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x1fa97e}from'./toggleaicommand.js';import{ButtonView as _0x212cf5,MenuBarMenuListItemButtonView as _0x3ae8a4}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x1fe43d}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1373d4}from'../../aicore/utils/common-translations.js';import{AITabs as _0x46b253}from'../../aitabs/aitabs.js';function _0xb17c(){const _0xc37ba8=['execute','9654170oMunes','isOfficialPlugin','requires','AI_TOGGLE_BUTTON_LABEL','isOn','listenTo','2568EAGEIT','menuitemcheckbox','1867340OevboH','locale','get','_createAIUIButton','24353PpXftB','init','ck-ai-toggle-button','isEnabled','AIToggleButtonUI','componentFactory','12CuscDg','9EHwAPl','value','editor','set','pluginName','add','commands','995116rFcSBt','toggleAi','8127693FlFeMO','1407948gdhLSA','menuBar:toggleAi','435041ypOrZS','isPremiumPlugin','bind'];_0xb17c=function(){return _0xc37ba8;};return _0xb17c();}function _0x2c83(_0x41b506,_0x494e8f){const _0xb17cc1=_0xb17c();return _0x2c83=function(_0x2c8362,_0x31f827){_0x2c8362=_0x2c8362-0xf0;let _0x39677f=_0xb17cc1[_0x2c8362];return _0x39677f;},_0x2c83(_0x41b506,_0x494e8f);}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x5c5637{static get[_0x3ea455(0x103)](){return[_0x46b253];}static get[_0x3ea455(0xf5)](){const _0x599dad=_0x3ea455;return _0x599dad(0x111);}static get[_0x3ea455(0x102)](){return!0x0;}static get[_0x3ea455(0xfe)](){return!0x0;}[_0x3ea455(0x10e)](){const _0x4ad333=_0x3ea455,_0x4e6d47=this[_0x4ad333(0xf3)];_0x4e6d47[_0x4ad333(0xf7)][_0x4ad333(0xf6)](_0x4ad333(0xf9),new _0x1fa97e(_0x4e6d47)),_0x4e6d47['ui'][_0x4ad333(0x112)][_0x4ad333(0xf6)](_0x4ad333(0xf9),()=>{const _0x1c7e0f=_0x4ad333,_0x2aa3df=this[_0x1c7e0f(0x10c)](_0x212cf5);return _0x2aa3df[_0x1c7e0f(0xf4)]({'tooltip':!0x0,'class':_0x1c7e0f(0x10f)}),_0x2aa3df;}),_0x4e6d47['ui'][_0x4ad333(0x112)][_0x4ad333(0xf6)](_0x4ad333(0xfc),()=>{const _0x39651f=_0x4ad333,_0x2a2f41=this[_0x39651f(0x10c)](_0x3ae8a4);return _0x2a2f41[_0x39651f(0xf4)]({'role':_0x39651f(0x108)}),_0x2a2f41;});}[_0x3ea455(0x10c)](_0x3ff8dd){const _0x47ef94=_0x3ea455,_0xc0a496=this[_0x47ef94(0xf3)],_0x1c29a2=_0xc0a496[_0x47ef94(0xf7)][_0x47ef94(0x10b)](_0x47ef94(0xf9)),_0x4dade8=new _0x3ff8dd(_0xc0a496[_0x47ef94(0x10a)]);return _0x4dade8[_0x47ef94(0xf4)]({'label':_0x1373d4(_0xc0a496[_0x47ef94(0x10a)],_0x47ef94(0x104)),'icon':_0x1fe43d,'isToggleable':!0x0}),_0x4dade8[_0x47ef94(0xff)](_0x47ef94(0x110))['to'](_0x1c29a2),_0x4dade8[_0x47ef94(0xff)](_0x47ef94(0x105))['to'](_0x1c29a2,_0x47ef94(0xf2),_0x280ba8=>!!_0x280ba8),this[_0x47ef94(0x106)](_0x4dade8,_0x47ef94(0x100),()=>{const _0x3df284=_0x47ef94;_0x1c29a2[_0x3df284(0x100)]();}),_0x4dade8;}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d53ae=_0x2ae4;function _0x2ae4(_0x2271f4,_0x5878ad){const _0x22de2e=_0x22de();return _0x2ae4=function(_0x2ae4b7,_0x38b294){_0x2ae4b7=_0x2ae4b7-0xef;let _0x472775=_0x22de2e[_0x2ae4b7];return _0x472775;},_0x2ae4(_0x2271f4,_0x5878ad);}(function(_0x3d4751,_0x47ff7a){const _0xda44c=_0x2ae4,_0x23b883=_0x3d4751();while(!![]){try{const _0x33ad84=-parseInt(_0xda44c(0xf5))/0x1*(-parseInt(_0xda44c(0xf4))/0x2)+parseInt(_0xda44c(0xfb))/0x3+parseInt(_0xda44c(0x103))/0x4*(-parseInt(_0xda44c(0x100))/0x5)+parseInt(_0xda44c(0x101))/0x6*(-parseInt(_0xda44c(0xf3))/0x7)+-parseInt(_0xda44c(0xfa))/0x8*(parseInt(_0xda44c(0xf1))/0x9)+-parseInt(_0xda44c(0xef))/0xa+parseInt(_0xda44c(0xf9))/0xb*(parseInt(_0xda44c(0x104))/0xc);if(_0x33ad84===_0x47ff7a)break;else _0x23b883['push'](_0x23b883['shift']());}catch(_0x751907){_0x23b883['push'](_0x23b883['shift']());}}}(_0x22de,0x687a8));function _0x22de(){const _0x3d926b=['23089584rBjyOK','8182040iVDvzW','view','9vEMOSO','AITabs','7vzHgaz','1576434rylAqj','1dEcKIh','editor','get','execute','11qIxjoV','4405408mwMHOB','530271hnqytR','bind','plugins','value','isVisible','1222465qDJoFU','5086734AePcJK','isEnabled','4gzfgZg'];_0x22de=function(){return _0x3d926b;};return _0x22de();}import{Command as _0x2afb38}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x2afb38{constructor(_0x21b160){const _0x37e0c2=_0x2ae4;super(_0x21b160);const _0x143c09=_0x21b160[_0x37e0c2(0xfd)][_0x37e0c2(0xf7)](_0x37e0c2(0xf2))[_0x37e0c2(0xf0)];this[_0x37e0c2(0xfc)](_0x37e0c2(0xfe))['to'](_0x143c09,_0x37e0c2(0xff)),this[_0x37e0c2(0x102)]=!0x0;}[_0x5d53ae(0xf8)](){const _0x485175=_0x5d53ae,_0x5d460f=this[_0x485175(0xf6)][_0x485175(0xfd)][_0x485175(0xf7)](_0x485175(0xf2))[_0x485175(0xf0)];_0x5d460f[_0x485175(0xff)]=!_0x5d460f[_0x485175(0xff)];}}
23
+ function _0x21b8(){const _0x5572cd=['bind','editor','plugins','122052muQHDR','326givgXW','view','1911602sXpNKo','execute','3039128GKBdQS','value','298596efDWaB','isVisible','11060UXQtpS','419952sudDnc','isEnabled','745tlYkuR','get','AITabs','9xYqljY'];_0x21b8=function(){return _0x5572cd;};return _0x21b8();}const _0x19ee4d=_0x5c4e;function _0x5c4e(_0x2ec666,_0x1f8434){const _0x21b8d1=_0x21b8();return _0x5c4e=function(_0x5c4ece,_0x1719db){_0x5c4ece=_0x5c4ece-0x7e;let _0x3767e8=_0x21b8d1[_0x5c4ece];return _0x3767e8;},_0x5c4e(_0x2ec666,_0x1f8434);}(function(_0x155263,_0x589707){const _0x1fd4c7=_0x5c4e,_0x734391=_0x155263();while(!![]){try{const _0x2af3e7=-parseInt(_0x1fd4c7(0x88))/0x1*(-parseInt(_0x1fd4c7(0x90))/0x2)+parseInt(_0x1fd4c7(0x86))/0x3+-parseInt(_0x1fd4c7(0x8f))/0x4+-parseInt(_0x1fd4c7(0x85))/0x5+parseInt(_0x1fd4c7(0x83))/0x6+parseInt(_0x1fd4c7(0x7f))/0x7+parseInt(_0x1fd4c7(0x81))/0x8*(-parseInt(_0x1fd4c7(0x8b))/0x9);if(_0x2af3e7===_0x589707)break;else _0x734391['push'](_0x734391['shift']());}catch(_0x3df925){_0x734391['push'](_0x734391['shift']());}}}(_0x21b8,0x29e87));import{Command as _0x15fec0}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x15fec0{constructor(_0x5d9f43){const _0x207663=_0x5c4e;super(_0x5d9f43);const _0x1ccd1f=_0x5d9f43[_0x207663(0x8e)][_0x207663(0x89)](_0x207663(0x8a))[_0x207663(0x7e)];this[_0x207663(0x8c)](_0x207663(0x82))['to'](_0x1ccd1f,_0x207663(0x84)),this[_0x207663(0x87)]=!0x0;}[_0x19ee4d(0x80)](){const _0x2cc06e=_0x19ee4d,_0x1790d4=this[_0x2cc06e(0x8d)][_0x2cc06e(0x8e)][_0x2cc06e(0x89)](_0x2cc06e(0x8a))[_0x2cc06e(0x7e)];_0x1790d4[_0x2cc06e(0x84)]=!_0x1790d4[_0x2cc06e(0x84)];}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3fdff3=_0x2231;(function(_0x2c2ef8,_0x3e8908){var _0x10bf84=_0x2231,_0x1d7fda=_0x2c2ef8();while(!![]){try{var _0x18fd1b=-parseInt(_0x10bf84(0x10e))/0x1+-parseInt(_0x10bf84(0x109))/0x2+-parseInt(_0x10bf84(0x108))/0x3+-parseInt(_0x10bf84(0x110))/0x4*(parseInt(_0x10bf84(0x10a))/0x5)+-parseInt(_0x10bf84(0x10b))/0x6+-parseInt(_0x10bf84(0x113))/0x7+parseInt(_0x10bf84(0x112))/0x8;if(_0x18fd1b===_0x3e8908)break;else _0x1d7fda['push'](_0x1d7fda['shift']());}catch(_0x207722){_0x1d7fda['push'](_0x1d7fda['shift']());}}}(_0x54f2,0x1d580));import{Plugin as _0x1ae7e4}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x6a40be}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x48eedd}from'./aiquickactionsediting.js';import{AIActions as _0xd6cdd9}from'../aiactions/aiactions.js';function _0x54f2(){var _0x358cb2=['59475jpCRnP','955860RovGSy','config','define','136639lzpdWJ','AIQuickActions','80yfAdxc','ai.quickActions','6502032JbrGaZ','474089EXmldb','requires','isPremiumPlugin','isOfficialPlugin','pluginName','242508qzgJpC','20300wovfrm'];_0x54f2=function(){return _0x358cb2;};return _0x54f2();}function _0x2231(_0x23d34d,_0x1d852d){var _0x54f2c9=_0x54f2();return _0x2231=function(_0x2231d9,_0x2ac04e){_0x2231d9=_0x2231d9-0x106;var _0x5b9e9e=_0x54f2c9[_0x2231d9];return _0x5b9e9e;},_0x2231(_0x23d34d,_0x1d852d);}export class AIQuickActions extends _0x1ae7e4{static get[_0x3fdff3(0x114)](){return[_0x6a40be,_0x48eedd,_0xd6cdd9];}static get[_0x3fdff3(0x107)](){var _0x7935a5=_0x3fdff3;return _0x7935a5(0x10f);}static get[_0x3fdff3(0x106)](){return!0x0;}static get[_0x3fdff3(0x115)](){return!0x0;}constructor(_0x5c0f52){var _0x388bb5=_0x3fdff3;super(_0x5c0f52),_0x5c0f52[_0x388bb5(0x10c)][_0x388bb5(0x10d)](_0x388bb5(0x111),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
23
+ var _0x20d1a5=_0x1c86;function _0x40cb(){var _0x114326=['5804235iCouHA','62886ZxAWQS','3352000jixFwS','86hdPKzd','config','7236876yiTltE','requires','4228fCRFgE','8VKwHnH','pluginName','define','AIQuickActions','584vqZxHC','isOfficialPlugin','ai.quickActions','116851znBNsL','11201778JQlUto','isPremiumPlugin'];_0x40cb=function(){return _0x114326;};return _0x40cb();}(function(_0xaf4e58,_0x99d2ee){var _0x2e8df1=_0x1c86,_0x34d03=_0xaf4e58();while(!![]){try{var _0x4bd39f=-parseInt(_0x2e8df1(0xef))/0x1*(-parseInt(_0x2e8df1(0xeb))/0x2)+-parseInt(_0x2e8df1(0xe9))/0x3*(-parseInt(_0x2e8df1(0xf0))/0x4)+-parseInt(_0x2e8df1(0xfa))/0x5+-parseInt(_0x2e8df1(0xed))/0x6+-parseInt(_0x2e8df1(0xf7))/0x7*(-parseInt(_0x2e8df1(0xf4))/0x8)+parseInt(_0x2e8df1(0xf8))/0x9+parseInt(_0x2e8df1(0xea))/0xa;if(_0x4bd39f===_0x99d2ee)break;else _0x34d03['push'](_0x34d03['shift']());}catch(_0x33dda4){_0x34d03['push'](_0x34d03['shift']());}}}(_0x40cb,0x9ff3e));import{Plugin as _0x31bc33}from'ckeditor5/src/core.js';function _0x1c86(_0x3de3c7,_0x1f24e6){var _0x40cbdb=_0x40cb();return _0x1c86=function(_0x1c8671,_0x4245c3){_0x1c8671=_0x1c8671-0xe9;var _0x53ba6a=_0x40cbdb[_0x1c8671];return _0x53ba6a;},_0x1c86(_0x3de3c7,_0x1f24e6);}import{AIQuickActionsUI as _0x42a07d}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x490dce}from'./aiquickactionsediting.js';import{AIActions as _0x268134}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x31bc33{static get[_0x20d1a5(0xee)](){return[_0x42a07d,_0x490dce,_0x268134];}static get[_0x20d1a5(0xf1)](){var _0x51e65a=_0x20d1a5;return _0x51e65a(0xf3);}static get[_0x20d1a5(0xf5)](){return!0x0;}static get[_0x20d1a5(0xf9)](){return!0x0;}constructor(_0x4d694f){var _0x316832=_0x20d1a5;super(_0x4d694f),_0x4d694f[_0x316832(0xec)][_0x316832(0xf2)](_0x316832(0xf6),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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
5
  import { Command } from 'ckeditor5/src/core.js';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e2fc0=_0x3884;(function(_0x195356,_0xe2334c){const _0x4a2a1e=_0x3884,_0x413518=_0x195356();while(!![]){try{const _0x24b58c=-parseInt(_0x4a2a1e(0xf2))/0x1+parseInt(_0x4a2a1e(0xdd))/0x2*(-parseInt(_0x4a2a1e(0xee))/0x3)+-parseInt(_0x4a2a1e(0xf7))/0x4+-parseInt(_0x4a2a1e(0x119))/0x5*(parseInt(_0x4a2a1e(0xde))/0x6)+-parseInt(_0x4a2a1e(0xe6))/0x7*(-parseInt(_0x4a2a1e(0xe0))/0x8)+-parseInt(_0x4a2a1e(0xfa))/0x9+parseInt(_0x4a2a1e(0xfb))/0xa;if(_0x24b58c===_0xe2334c)break;else _0x413518['push'](_0x413518['shift']());}catch(_0x342f8b){_0x413518['push'](_0x413518['shift']());}}}(_0x46c7,0x51474));import{Command as _0x2de5a8}from'ckeditor5/src/core.js';import{CKEditorError as _0x4a1fec,first as _0xb10fcf}from'ckeditor5/src/utils.js';function _0x46c7(){const _0x367d4e=['has','getSelectedBlocks','displayedPrompt','focusPromptInput','other','_handleAIActionsAction','CHAT','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','args','type','ask-ai','locale','AIChatController','plugins','get','AITabs','removeSelectionFromChatContext','change','ai-quick-actions-plugin-not-found','view','_handleAIChatAction','log','executeAction','handleAIReviewAction','addSelectionToChatContext','ACTION','prompt','actionName','isCollapsed','9210SZOoXM','260290AGiBZx','1722yyWoyp','getLimitElement','8QnZYSE','sendMessage','document','execute','REVIEW','startConversation','3308522xrHJdj','_expandSelectionIfCollapsed','icon','editor','_handleAIReviewAction','schema','label','AIActions','3pHljPA','chat','model','setSelection','486329PVwOCg','parent','AIChat','selection','activateTab','722676NhqVKV','AIReviewMode','_handleAIActionsActionLabel','1886445FVbYhe','13956720tFRbln'];_0x46c7=function(){return _0x367d4e;};return _0x46c7();}function _0x3884(_0x55a612,_0x312118){const _0x46c7c0=_0x46c7();return _0x3884=function(_0x3884aa,_0x196612){_0x3884aa=_0x3884aa-0xdd;let _0x79782d=_0x46c7c0[_0x3884aa];return _0x79782d;},_0x3884(_0x55a612,_0x312118);}import{AIQuickActionType as _0x414723}from'./aiquickactionsui.js';import{getTranslation as _0x4f6468}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x2de5a8{[_0x2e2fc0(0xe3)](_0x34f515){const _0x21633c=_0x2e2fc0;switch(this[_0x21633c(0xe7)](),_0x34f515[_0x21633c(0x105)]){case _0x414723[_0x21633c(0x102)]:if(!this[_0x21633c(0xe9)][_0x21633c(0x109)][_0x21633c(0xfc)](_0x21633c(0xf4))){const _0x485edb=_0x4f6468(this[_0x21633c(0xe9)][_0x21633c(0x107)],_0x21633c(0x103),_0x21633c(0xf4));throw new _0x4a1fec(_0x21633c(0x10e),this[_0x21633c(0xe9)],{'errorMessage':_0x485edb});}this[_0x21633c(0x110)](_0x34f515);break;case _0x414723[_0x21633c(0x115)]:if(!this[_0x21633c(0xe9)][_0x21633c(0x109)][_0x21633c(0xfc)](_0x21633c(0xed))){const _0x50a25c=_0x4f6468(this[_0x21633c(0xe9)][_0x21633c(0x107)],_0x21633c(0x103),_0x21633c(0xed));throw new _0x4a1fec(_0x21633c(0x10e),this[_0x21633c(0xe9)],{'errorMessage':_0x50a25c});}this[_0x21633c(0x101)](_0x34f515);break;case _0x414723[_0x21633c(0xe4)]:if(!this[_0x21633c(0xe9)][_0x21633c(0x109)][_0x21633c(0xfc)](_0x21633c(0xf8))){const _0x249077=_0x4f6468(this[_0x21633c(0xe9)][_0x21633c(0x107)],_0x21633c(0x103),_0x21633c(0xf8));throw new _0x4a1fec(_0x21633c(0x10e),this[_0x21633c(0xe9)],{'errorMessage':_0x249077});}this[_0x21633c(0xea)](_0x34f515);}}async[_0x2e2fc0(0x110)](_0x2c9cc2){const _0x12409f=_0x2e2fc0,_0x3fa42b=this[_0x12409f(0xe9)][_0x12409f(0x109)][_0x12409f(0x10a)](_0x12409f(0xf4)),_0x18a7b0=this[_0x12409f(0xe9)][_0x12409f(0x109)][_0x12409f(0x10a)](_0x12409f(0x108));if(this[_0x12409f(0xe9)][_0x12409f(0x109)][_0x12409f(0x10a)](_0x12409f(0x10b))[_0x12409f(0x10f)][_0x12409f(0xf6)](_0x12409f(0xef)),_0x12409f(0x106)===_0x2c9cc2['id'])_0x18a7b0[_0x12409f(0x10c)](),await _0x3fa42b[_0x12409f(0x114)](),_0x3fa42b[_0x12409f(0xff)]();else await _0x3fa42b[_0x12409f(0xe5)](),_0x18a7b0[_0x12409f(0x10c)](),await _0x3fa42b[_0x12409f(0x114)](),_0x3fa42b[_0x12409f(0xff)](),await _0x3fa42b[_0x12409f(0xe1)]({'message':_0x2c9cc2[_0x12409f(0x116)]||_0x2c9cc2[_0x12409f(0xfe)],'quickActionData':{'id':_0x2c9cc2['id'],'displayedPrompt':_0x2c9cc2[_0x12409f(0xfe)]}});}[_0x2e2fc0(0xe7)](){const _0x1e7240=_0x2e2fc0,_0xc72a32=this[_0x1e7240(0xe9)],_0x491fb9=_0xc72a32[_0x1e7240(0xf0)][_0x1e7240(0xe2)][_0x1e7240(0xf5)];if(!_0x491fb9[_0x1e7240(0x118)])return;const _0x5eaeb0=_0xb10fcf(_0x491fb9[_0x1e7240(0xfd)]())||_0xc72a32[_0x1e7240(0xf0)][_0x1e7240(0xeb)][_0x1e7240(0xdf)](_0x491fb9);_0xc72a32[_0x1e7240(0xf0)][_0x1e7240(0x10d)](_0x3ed108=>{const _0x4eff11=_0x1e7240;_0x3ed108[_0x4eff11(0xf1)](_0x5eaeb0,'in');});}[_0x2e2fc0(0xf9)](_0x529972){const _0x4d1520=_0x2e2fc0;return _0x529972[_0x4d1520(0xf3)]?.[_0x4d1520(0xec)]&&_0x4d1520(0x100)!==_0x529972[_0x4d1520(0xf3)]?.['id']?_0x529972[_0x4d1520(0xf3)][_0x4d1520(0xec)]+':\x20'+_0x529972[_0x4d1520(0xfe)]:_0x529972[_0x4d1520(0xfe)];}async[_0x2e2fc0(0x101)](_0x37ec6a){const _0x35a296=_0x2e2fc0,_0x19f952=this[_0x35a296(0xe9)][_0x35a296(0x109)][_0x35a296(0x10a)](_0x35a296(0xed)),_0x12f6d7=_0x37ec6a[_0x35a296(0x116)]?{'userMessage':_0x37ec6a[_0x35a296(0x116)],'model':_0x37ec6a[_0x35a296(0xf0)]}:{'actionName':_0x37ec6a[_0x35a296(0x117)]||_0x37ec6a['id'],'args':_0x37ec6a[_0x35a296(0x104)]},_0x2481cd=this[_0x35a296(0xf9)](_0x37ec6a);await _0x19f952[_0x35a296(0x112)](_0x12f6d7,_0x2481cd,_0x37ec6a[_0x35a296(0xe8)]);}async[_0x2e2fc0(0xea)](_0x3391db){const _0x1fda76=_0x2e2fc0;console[_0x1fda76(0x111)](_0x1fda76(0x113),_0x3391db);}}
23
+ const _0x591d76=_0x2a8f;function _0x2a8f(_0x48ca8b,_0x4cf117){const _0x5c26a3=_0x5c26();return _0x2a8f=function(_0x2a8f68,_0x47452e){_0x2a8f68=_0x2a8f68-0x1c0;let _0x59e75a=_0x5c26a3[_0x2a8f68];return _0x59e75a;},_0x2a8f(_0x48ca8b,_0x4cf117);}function _0x5c26(){const _0x3cc0d8=['REVIEW','view','AIActions','chat','label','get','locale','_handleAIActionsActionLabel','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','startConversation','AIChat','ask-ai','editor','isVisible','getLimitElement','ACTION','_expandSelectionIfCollapsed','schema','icon','handleAIReviewAction','setSelection','544599tyOHlL','removeSelectionFromChatContext','_handleAIReviewAction','prompt','sendMessage','activeTab','AIChatController','1498398MoWHox','8694280jLSDgI','has','other','args','plugins','addSelectionToChatContext','parent','change','execute','isCollapsed','log','58890xFbfGe','model','displayedPrompt','activateTab','36bgmDhF','_handleAIActionsAction','12NKHWPf','AIReviewMode','380XuZGVO','getSelectedBlocks','2150874AhLAMP','actionName','AITabs','executeAction','_handleAIChatAction','CHAT','selection','2977849guTKaS','document','focusPromptInput','type','ai-quick-actions-plugin-not-found','758221WQhjwI'];_0x5c26=function(){return _0x3cc0d8;};return _0x5c26();}(function(_0x2951a8,_0x3b65c8){const _0x188afb=_0x2a8f,_0x1bcc5d=_0x2951a8();while(!![]){try{const _0x57e178=-parseInt(_0x188afb(0x1e2))/0x1+parseInt(_0x188afb(0x1d6))/0x2+parseInt(_0x188afb(0x1c0))/0x3+-parseInt(_0x188afb(0x1d0))/0x4*(-parseInt(_0x188afb(0x1cc))/0x5)+parseInt(_0x188afb(0x1d2))/0x6*(parseInt(_0x188afb(0x1dd))/0x7)+parseInt(_0x188afb(0x1c1))/0x8+parseInt(_0x188afb(0x1f8))/0x9*(-parseInt(_0x188afb(0x1d4))/0xa);if(_0x57e178===_0x3b65c8)break;else _0x1bcc5d['push'](_0x1bcc5d['shift']());}catch(_0x231366){_0x1bcc5d['push'](_0x1bcc5d['shift']());}}}(_0x5c26,0x88ee1));import{Command as _0x1383c7}from'ckeditor5/src/core.js';import{CKEditorError as _0x538241,first as _0x569bbc}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x30d486}from'./aiquickactionsui.js';import{getTranslation as _0x1030db}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x1383c7{[_0x591d76(0x1c9)](_0x4fd756){const _0x1d747a=_0x591d76;switch(this[_0x1d747a(0x1f3)](),_0x4fd756[_0x1d747a(0x1e0)]){case _0x30d486[_0x1d747a(0x1db)]:if(!this[_0x1d747a(0x1ef)][_0x1d747a(0x1c5)][_0x1d747a(0x1c2)](_0x1d747a(0x1ed))){const _0x3ea40e=_0x1030db(this[_0x1d747a(0x1ef)][_0x1d747a(0x1e9)],_0x1d747a(0x1eb),_0x1d747a(0x1ed));throw new _0x538241(_0x1d747a(0x1e1),this[_0x1d747a(0x1ef)],{'errorMessage':_0x3ea40e});}this[_0x1d747a(0x1da)](_0x4fd756);break;case _0x30d486[_0x1d747a(0x1f2)]:if(!this[_0x1d747a(0x1ef)][_0x1d747a(0x1c5)][_0x1d747a(0x1c2)](_0x1d747a(0x1e5))){const _0x37ad1f=_0x1030db(this[_0x1d747a(0x1ef)][_0x1d747a(0x1e9)],_0x1d747a(0x1eb),_0x1d747a(0x1e5));throw new _0x538241(_0x1d747a(0x1e1),this[_0x1d747a(0x1ef)],{'errorMessage':_0x37ad1f});}this[_0x1d747a(0x1d1)](_0x4fd756);break;case _0x30d486[_0x1d747a(0x1e3)]:if(!this[_0x1d747a(0x1ef)][_0x1d747a(0x1c5)][_0x1d747a(0x1c2)](_0x1d747a(0x1d3))){const _0x391d5b=_0x1030db(this[_0x1d747a(0x1ef)][_0x1d747a(0x1e9)],_0x1d747a(0x1eb),_0x1d747a(0x1d3));throw new _0x538241(_0x1d747a(0x1e1),this[_0x1d747a(0x1ef)],{'errorMessage':_0x391d5b});}this[_0x1d747a(0x1fa)](_0x4fd756);}}async[_0x591d76(0x1da)](_0x101bd6){const _0x473404=_0x591d76,_0xab012=this[_0x473404(0x1ef)][_0x473404(0x1c5)][_0x473404(0x1e8)](_0x473404(0x1ed)),_0x50e873=this[_0x473404(0x1ef)][_0x473404(0x1c5)][_0x473404(0x1e8)](_0x473404(0x1fe)),_0x5c554f=this[_0x473404(0x1ef)][_0x473404(0x1c5)][_0x473404(0x1e8)](_0x473404(0x1d8))[_0x473404(0x1e4)];if(_0x5c554f[_0x473404(0x1f0)]||(_0x5c554f[_0x473404(0x1f0)]=!0x0),_0x473404(0x1e6)!==_0x5c554f[_0x473404(0x1fd)]&&_0x5c554f[_0x473404(0x1cf)](_0x473404(0x1e6)),_0x473404(0x1ee)===_0x101bd6['id'])_0x50e873[_0x473404(0x1f9)](),await _0xab012[_0x473404(0x1c6)](),_0xab012[_0x473404(0x1df)]();else await _0xab012[_0x473404(0x1ec)](),_0x50e873[_0x473404(0x1f9)](),await _0xab012[_0x473404(0x1c6)](),_0xab012[_0x473404(0x1df)](),await _0xab012[_0x473404(0x1fc)]({'message':_0x101bd6[_0x473404(0x1fb)]||_0x101bd6[_0x473404(0x1ce)],'quickActionData':{'id':_0x101bd6['id'],'displayedPrompt':_0x101bd6[_0x473404(0x1ce)]}});}[_0x591d76(0x1f3)](){const _0x59531f=_0x591d76,_0x248ac3=this[_0x59531f(0x1ef)],_0x4c2b3e=_0x248ac3[_0x59531f(0x1cd)][_0x59531f(0x1de)][_0x59531f(0x1dc)];if(!_0x4c2b3e[_0x59531f(0x1ca)])return;const _0x2d202d=_0x569bbc(_0x4c2b3e[_0x59531f(0x1d5)]())||_0x248ac3[_0x59531f(0x1cd)][_0x59531f(0x1f4)][_0x59531f(0x1f1)](_0x4c2b3e);_0x248ac3[_0x59531f(0x1cd)][_0x59531f(0x1c8)](_0xa183f8=>{const _0x3d1e14=_0x59531f;_0xa183f8[_0x3d1e14(0x1f7)](_0x2d202d,'in');});}[_0x591d76(0x1ea)](_0x4e69c4){const _0x59060a=_0x591d76;return _0x4e69c4[_0x59060a(0x1c7)]?.[_0x59060a(0x1e7)]&&_0x59060a(0x1c3)!==_0x4e69c4[_0x59060a(0x1c7)]?.['id']?_0x4e69c4[_0x59060a(0x1c7)][_0x59060a(0x1e7)]+':\x20'+_0x4e69c4[_0x59060a(0x1ce)]:_0x4e69c4[_0x59060a(0x1ce)];}async[_0x591d76(0x1d1)](_0x45ab5e){const _0x4c1a92=_0x591d76,_0x49ffc7=this[_0x4c1a92(0x1ef)][_0x4c1a92(0x1c5)][_0x4c1a92(0x1e8)](_0x4c1a92(0x1e5)),_0x5f3e7b=_0x45ab5e[_0x4c1a92(0x1fb)]?{'userMessage':_0x45ab5e[_0x4c1a92(0x1fb)],'model':_0x45ab5e[_0x4c1a92(0x1cd)]}:{'actionName':_0x45ab5e[_0x4c1a92(0x1d7)]||_0x45ab5e['id'],'args':_0x45ab5e[_0x4c1a92(0x1c4)]},_0x5c002b=this[_0x4c1a92(0x1ea)](_0x45ab5e);await _0x49ffc7[_0x4c1a92(0x1d9)](_0x5f3e7b,_0x5c002b,_0x45ab5e[_0x4c1a92(0x1f5)]);}async[_0x591d76(0x1fa)](_0x265055){const _0x20d30d=_0x591d76;console[_0x20d30d(0x1cb)](_0x20d30d(0x1f6),_0x265055);}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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
5
  import { Plugin } from 'ckeditor5/src/core.js';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ad521=_0x3a11;function _0x39b5(){const _0xd960d8=['isPremiumPlugin','isOfficialPlugin','get','2157633RjfggZ','11nsBblr','5YyMSxA','pluginName','1954729Gnhyqh','160fNqWwj','removeSelectionFromChatContext','aiQuickAction','189108QDlbha','directChange','8eMfSIf','add','6324tFzydu','AIChat','plugins','model','232998iDgisj','selection','commands','has','document','AIQuickActionsEditing','init','41129yXMwPa','1259780mRIIBN','change:range','editor'];_0x39b5=function(){return _0xd960d8;};return _0x39b5();}(function(_0x6b5d4e,_0x3d5fe7){const _0x3082c5=_0x3a11,_0x200aa8=_0x6b5d4e();while(!![]){try{const _0x50d3b8=parseInt(_0x3082c5(0xc8))/0x1*(-parseInt(_0x3082c5(0xd3))/0x2)+-parseInt(_0x3082c5(0xcf))/0x3+-parseInt(_0x3082c5(0xc1))/0x4+-parseInt(_0x3082c5(0xc9))/0x5*(-parseInt(_0x3082c5(0xd7))/0x6)+parseInt(_0x3082c5(0xcb))/0x7+-parseInt(_0x3082c5(0xd1))/0x8*(-parseInt(_0x3082c5(0xc7))/0x9)+parseInt(_0x3082c5(0xcc))/0xa*(parseInt(_0x3082c5(0xc0))/0xb);if(_0x50d3b8===_0x3d5fe7)break;else _0x200aa8['push'](_0x200aa8['shift']());}catch(_0x1562ae){_0x200aa8['push'](_0x200aa8['shift']());}}}(_0x39b5,0x3204e));function _0x3a11(_0x856f3f,_0x2a60b7){const _0x39b570=_0x39b5();return _0x3a11=function(_0x3a11e3,_0x4df4c9){_0x3a11e3=_0x3a11e3-0xba;let _0x512207=_0x39b570[_0x3a11e3];return _0x512207;},_0x3a11(_0x856f3f,_0x2a60b7);}import{Plugin as _0x8de810}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x59b696}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x8de810{static get[_0x2ad521(0xca)](){const _0x7c2ebc=_0x2ad521;return _0x7c2ebc(0xbe);}static get[_0x2ad521(0xc5)](){return!0x0;}static get[_0x2ad521(0xc4)](){return!0x0;}[_0x2ad521(0xbf)](){const _0x5ccc0c=_0x2ad521,_0x231d08=this[_0x5ccc0c(0xc3)],_0x2495ec=new _0x59b696(this[_0x5ccc0c(0xc3)]);if(_0x231d08[_0x5ccc0c(0xbb)][_0x5ccc0c(0xd2)](_0x5ccc0c(0xce),_0x2495ec),_0x231d08[_0x5ccc0c(0xd5)][_0x5ccc0c(0xbc)](_0x5ccc0c(0xd4))){const _0x8a9904=this[_0x5ccc0c(0xc3)][_0x5ccc0c(0xd5)][_0x5ccc0c(0xc6)](_0x5ccc0c(0xd4));_0x231d08[_0x5ccc0c(0xd6)][_0x5ccc0c(0xbd)][_0x5ccc0c(0xba)]['on'](_0x5ccc0c(0xc2),(_0x6014a7,_0x43898a)=>{const _0x3c8839=_0x5ccc0c;_0x43898a[_0x3c8839(0xd0)]&&_0x8a9904[_0x3c8839(0xcd)]();});}}}
23
+ function _0xbffa(_0x3e785f,_0x40be5b){const _0x525a39=_0x525a();return _0xbffa=function(_0xbffab0,_0x338ad9){_0xbffab0=_0xbffab0-0x174;let _0x4084a0=_0x525a39[_0xbffab0];return _0x4084a0;},_0xbffa(_0x3e785f,_0x40be5b);}const _0xd27cc3=_0xbffa;(function(_0x15dbb7,_0x3ae0e8){const _0x151648=_0xbffa,_0x573859=_0x15dbb7();while(!![]){try{const _0x543fdb=-parseInt(_0x151648(0x185))/0x1*(parseInt(_0x151648(0x17a))/0x2)+parseInt(_0x151648(0x176))/0x3+parseInt(_0x151648(0x178))/0x4+-parseInt(_0x151648(0x179))/0x5+parseInt(_0x151648(0x17f))/0x6+parseInt(_0x151648(0x180))/0x7+-parseInt(_0x151648(0x182))/0x8;if(_0x543fdb===_0x3ae0e8)break;else _0x573859['push'](_0x573859['shift']());}catch(_0x16a90f){_0x573859['push'](_0x573859['shift']());}}}(_0x525a,0x27a25));import{Plugin as _0x19ae97}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x221f9a}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x19ae97{static get[_0xd27cc3(0x181)](){const _0x4fe09b=_0xd27cc3;return _0x4fe09b(0x188);}static get[_0xd27cc3(0x187)](){return!0x0;}static get[_0xd27cc3(0x174)](){return!0x0;}[_0xd27cc3(0x17e)](){const _0x25923c=_0xd27cc3,_0x32c381=this[_0x25923c(0x186)],_0x4deca6=new _0x221f9a(this[_0x25923c(0x186)]);if(_0x32c381[_0x25923c(0x18c)][_0x25923c(0x17b)](_0x25923c(0x18e),_0x4deca6),_0x32c381[_0x25923c(0x183)][_0x25923c(0x175)](_0x25923c(0x177))){const _0x150857=this[_0x25923c(0x186)][_0x25923c(0x183)][_0x25923c(0x18a)](_0x25923c(0x177));_0x32c381[_0x25923c(0x17d)][_0x25923c(0x18d)][_0x25923c(0x17c)]['on'](_0x25923c(0x18b),(_0x289504,_0x1ac57f)=>{const _0x4bc958=_0x25923c;_0x1ac57f[_0x4bc958(0x184)]&&_0x150857[_0x4bc958(0x189)]();});}}}function _0x525a(){const _0x37b850=['has','720927qSPmkM','AIChat','1236200rWiCQP','687150pzvqdH','2PQlZVk','add','selection','model','init','947772ghpPUQ','893550MvsFhB','pluginName','2732456rOSKvw','plugins','directChange','193643IExgJN','editor','isOfficialPlugin','AIQuickActionsEditing','removeSelectionFromChatContext','get','change:range','commands','document','aiQuickAction','isPremiumPlugin'];_0x525a=function(){return _0x37b850;};return _0x525a();}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, 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
5
  import { Plugin } from 'ckeditor5/src/core.js';