@ckeditor/ckeditor5-ai 47.3.0-alpha.7 → 47.4.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cd92a=_0x1330;(function(_0x17bfff,_0x9c00d3){const _0x10c44a=_0x1330,_0x2a5627=_0x17bfff();while(!![]){try{const _0x5eb58b=-parseInt(_0x10c44a(0xf8))/0x1*(-parseInt(_0x10c44a(0xe4))/0x2)+-parseInt(_0x10c44a(0xf7))/0x3*(parseInt(_0x10c44a(0xe6))/0x4)+-parseInt(_0x10c44a(0xed))/0x5*(-parseInt(_0x10c44a(0x11f))/0x6)+parseInt(_0x10c44a(0xef))/0x7+parseInt(_0x10c44a(0xf6))/0x8+-parseInt(_0x10c44a(0x11e))/0x9*(-parseInt(_0x10c44a(0x113))/0xa)+parseInt(_0x10c44a(0xe9))/0xb*(-parseInt(_0x10c44a(0x111))/0xc);if(_0x5eb58b===_0x9c00d3)break;else _0x2a5627['push'](_0x2a5627['shift']());}catch(_0x877b1a){_0x2a5627['push'](_0x2a5627['shift']());}}}(_0x19aa,0x93e76));import{ObservableMixin as _0xb54ac7,uid as _0x5b29d5}from'ckeditor5/src/utils.js';function _0x19aa(){const _0x171868=['_isExistingNode','_markWrappedElements','newIds','_markLastTagElementUnstable','_insertNodes','afterend','from','_isExistingContentComment','merge','push','includes','4rNEoZR','match','16FFtOKZ','markUnstableElements','data-wrapped-id','30041ifHSmf','map','beforebegin','parentNode','1472765IaelBQ','_findFallbackReferenceNode','4784444rUpTtb','_findNextElementWithDataId','_getNodeDataId','slice','childNodes','lastTouchedId','_isDelNode','1263568UHAeHP','35952WsqTwM','343946mtfnEC','data-unstable','previousSibling','_isNewNode','trim','_storeDeletedElementIds','new-element','filter','_hasWrappedParent','true','_findReferenceNode','removedIds','reverse','lastChild','data-id','splice','markUnstableElementsDepth','_generateUid','data-removed','cutAfterLastChange','forEach','afterbegin','modifiedIds','nextSibling','_replaceNode','6264DwBeme','has','2554490FRzHwr','_findPrevElementWithDataId','replaceRemovedWith','_markUnstableElements','length','_getUid','_removeSpecialComments','_existingDataIds','_touchedNodesState','invalidIds','indexOf','9cAgNYA','6vagLsx','cloneNode','nodeType'];_0x19aa=function(){return _0x171868;};return _0x19aa();}import{findAllByAttribute as _0x499230,findByAttribute as _0x316f4c,getAttribute as _0x43fc81,isComment as _0x185e2d,isTag as _0x46637d,insertElement as _0x572831,moveElement as _0x2dac23,removeElement as _0x450074,replaceElement as _0xf2dcc7,serialize as _0x434ecb,setAttribute as _0x1f9e36,clone as _0x36f115,findAllComments as _0x4d6b39,getParents as _0x2cdf21,getNodeNestingLevel as _0x27d44e,areNodesSame as _0x533ed1,removeElementsAfter as _0x4fefac}from'../utils/htmlparser.js';function _0x1330(_0x2ab65b,_0x137184){const _0x19aa12=_0x19aa();return _0x1330=function(_0x133045,_0x4c5795){_0x133045=_0x133045-0xda;let _0x5ed2ca=_0x19aa12[_0x133045];return _0x5ed2ca;},_0x1330(_0x2ab65b,_0x137184);}export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
- _0xb54ac7(){[_0x1cd92a(0x109)];[_0x1cd92a(0x11b)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x1cd92a(0x11a)]=new Set();constructor(_0x157efa){const _0x17871b=_0x1cd92a;super(),this[_0x17871b(0x109)]=_0x157efa||_0x5b29d5;}[_0x1cd92a(0xe1)](_0xa51432,_0xaf82ba,_0x272cf6){const _0x1020f5=_0x1cd92a,_0x192188=_0x36f115(_0xa51432);if(0x0===_0xaf82ba[_0x1020f5(0xf3)][_0x1020f5(0x117)]){const _0x5c4c52=[];return _0x499230(_0x1020f5(0x106),_0x1020f5(0xfe),_0x192188)[_0x1020f5(0x10c)](_0x5a33bb=>{const _0x11dc3a=_0x1020f5,_0x1df18a=this[_0x11dc3a(0x109)]();_0x1f9e36(_0x5a33bb,_0x11dc3a(0x106),_0x1df18a),_0x5c4c52[_0x11dc3a(0xe2)](_0x1df18a);}),this[_0x1020f5(0x119)](_0x192188),{'parsedContent':_0x192188,'newNodeIds':_0x5c4c52,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x272cf6&&_0x272cf6[_0x1020f5(0xe7)]&&this[_0x1020f5(0xdc)](_0x192188),this[_0x1020f5(0x11b)][_0x1020f5(0xdb)]=[],this[_0x1020f5(0x11b)][_0x1020f5(0x10e)]=[],this[_0x1020f5(0x11b)][_0x1020f5(0x103)]=[],this[_0x1020f5(0x11b)][_0x1020f5(0x11c)]=[],this[_0x1020f5(0x11b)][_0x1020f5(0xf4)]=null,this[_0x1020f5(0x11a)]=new Set(_0x499230(_0x1020f5(0x106),null,_0xaf82ba)[_0x1020f5(0xea)](_0x27301a=>_0x43fc81(_0x27301a,_0x1020f5(0x106)))[_0x1020f5(0xff)](_0x4f121c=>!!_0x4f121c));let _0x3f88d4=-0x1,_0x20ae67=!0x1;const _0x220df0=_0x192188[_0x1020f5(0xf3)],_0x2e4496=Array[_0x1020f5(0xdf)](_0x220df0)[_0x1020f5(0xff)](_0x246bae=>!(0x3===_0x246bae[_0x1020f5(0x121)]&&''===_0x434ecb(_0x246bae)[_0x1020f5(0xfc)]())),_0x224695=_0x2e4496[_0x1020f5(0x117)];for(let _0x3f2012=0x0;_0x3f2012<_0x224695;_0x3f2012++){const _0x359fbe=_0x2e4496[_0x3f2012],_0x2e7fed=_0x2e4496[_0x3f2012+0x1];if(this[_0x1020f5(0xfb)](_0x359fbe)){if(-0x1===_0x3f88d4&&(_0x3f88d4=_0x3f2012),this[_0x1020f5(0xda)](_0x359fbe),!this[_0x1020f5(0xfb)](_0x2e7fed)){const [_0x107177,_0x5b3d60]=this[_0x1020f5(0x102)](_0x359fbe,_0x20ae67,_0xaf82ba);if(_0x107177){const _0x1a4a1a=Array[_0x1020f5(0xdf)](_0x2e4496)[_0x1020f5(0xf2)](_0x3f88d4,_0x3f2012+0x1);this[_0x1020f5(0xdd)](_0x107177,_0x1a4a1a,_0x5b3d60),_0x3f88d4=-0x1;}}}else{if(this[_0x1020f5(0xe0)](_0x359fbe))_0x20ae67=!0x0;else{if(this[_0x1020f5(0x122)](_0x359fbe)){const _0x4a0908=_0x43fc81(_0x359fbe,_0x1020f5(0x106));if(_0x4a0908&&this[_0x1020f5(0x11a)][_0x1020f5(0x112)](_0x4a0908)){const _0x473455=_0x316f4c(_0x1020f5(0x106),_0x4a0908,_0xaf82ba);this[_0x1020f5(0x110)](_0x473455,_0x359fbe);}if(this[_0x1020f5(0x11b)][_0x1020f5(0x103)][_0x1020f5(0xe3)](_0x4a0908)){const _0x55e011=this[_0x1020f5(0x11b)][_0x1020f5(0x103)][_0x1020f5(0x11d)](_0x4a0908);this[_0x1020f5(0x11b)][_0x1020f5(0x103)][_0x1020f5(0x107)](_0x55e011,0x1);}}else{if(this[_0x1020f5(0xf5)](_0x359fbe)){const _0x5217e1=_0x43fc81(_0x359fbe,_0x1020f5(0x106));this[_0x1020f5(0x11b)][_0x1020f5(0x10e)][_0x1020f5(0xe3)](_0x5217e1)||this[_0x1020f5(0xfd)](_0x359fbe);}}}}}for(const _0x1c0746 of this[_0x1020f5(0x11b)][_0x1020f5(0x103)]){const _0x49b579=_0x316f4c(_0x1020f5(0x106),_0x1c0746,_0xaf82ba);if(_0x49b579){if(_0x272cf6&&_0x272cf6[_0x1020f5(0x115)]){this[_0x1020f5(0x11b)][_0x1020f5(0xf4)]=_0x1c0746;const _0x746fb9=_0x272cf6[_0x1020f5(0x115)][_0x1020f5(0x120)](!0x0);_0x1f9e36(_0x746fb9,_0x1020f5(0x106),_0x1c0746),_0x1f9e36(_0x746fb9,_0x1020f5(0x10a),_0x1020f5(0x101)),_0xf2dcc7(_0x49b579,_0x746fb9);}else _0x450074(_0x49b579);}}if(_0x499230(_0x1020f5(0xe8),null,_0xaf82ba)[_0x1020f5(0x10c)](_0x13ab72=>{const _0x159114=_0x1020f5,_0x2f4c4a=_0x43fc81(_0x13ab72,_0x159114(0xe8)),_0xd51d89=_0x316f4c(_0x159114(0x106),_0x2f4c4a,_0xaf82ba);_0xd51d89&&_0x2dac23(_0xd51d89,_0x13ab72);}),_0x499230(_0x1020f5(0x106),_0x1020f5(0xfe),_0xaf82ba)[_0x1020f5(0x10c)](_0x3b29f3=>{const _0x52a913=_0x1020f5,_0x4cda73=this[_0x52a913(0x118)](_0x3b29f3);_0x1f9e36(_0x3b29f3,_0x52a913(0x106),_0x4cda73),this[_0x52a913(0x11b)][_0x52a913(0xdb)][_0x52a913(0xe2)](_0x4cda73);}),this[_0x1020f5(0x119)](_0xaf82ba),_0x272cf6&&_0x272cf6[_0x1020f5(0xe7)]&&this[_0x1020f5(0x116)](_0xaf82ba,_0x272cf6[_0x1020f5(0x108)]||0x0),_0x272cf6&&_0x272cf6[_0x1020f5(0x10b)]&&this[_0x1020f5(0x11b)][_0x1020f5(0xf4)]){let _0xa01569=_0x316f4c(_0x1020f5(0x106),this[_0x1020f5(0x11b)][_0x1020f5(0xf4)],_0xaf82ba);for(;_0xa01569;)_0x4fefac(_0xa01569),_0xa01569=_0xa01569[_0x1020f5(0xec)];}return{'parsedContent':_0xaf82ba,'newNodeIds':this[_0x1020f5(0x11b)][_0x1020f5(0xdb)],'modifiedNodeIds':this[_0x1020f5(0x11b)][_0x1020f5(0x10e)],'removedNodeIds':this[_0x1020f5(0x11b)][_0x1020f5(0x103)]};}[_0x1cd92a(0xdd)](_0x7ebc8,_0x495be9,_0x2d9841){const _0x54bdb8=_0x1cd92a;for(const _0x39b632 of _0x495be9){const _0x617825=this[_0x54bdb8(0x118)](_0x39b632);_0x1f9e36(_0x39b632,_0x54bdb8(0x106),_0x617825),this[_0x54bdb8(0x11b)][_0x54bdb8(0xdb)][_0x54bdb8(0xe2)](_0x617825),this[_0x54bdb8(0x11b)][_0x54bdb8(0xf4)]=_0x617825;}const _0x541820=_0x54bdb8(0x10d)===_0x2d9841||_0x54bdb8(0xde)===_0x2d9841?_0x495be9[_0x54bdb8(0x104)]():_0x495be9;for(const _0x559253 of _0x541820)_0x572831(_0x7ebc8,_0x559253,_0x2d9841);}[_0x1cd92a(0x110)](_0x1db845,_0x25cd83){const _0x4cd81e=_0x1cd92a;if(!_0x1db845)return;if(_0x533ed1(_0x1db845,_0x25cd83))return;const _0x48ee57=this[_0x4cd81e(0x118)](_0x1db845);_0x1f9e36(_0x25cd83,_0x4cd81e(0x106),_0x48ee57),this[_0x4cd81e(0x11b)][_0x4cd81e(0x10e)][_0x4cd81e(0xe2)](_0x48ee57),this[_0x4cd81e(0x11b)][_0x4cd81e(0xf4)]=_0x48ee57,_0xf2dcc7(_0x1db845,_0x25cd83[_0x4cd81e(0x120)](!0x0));}[_0x1cd92a(0x102)](_0x4cb3ba,_0x119017,_0x5c1fea){const _0xef4b1b=_0x1cd92a,_0xd62124=this[_0xef4b1b(0x114)](_0x4cb3ba,!0x1);if(_0xd62124){const _0x667fe2=this[_0xef4b1b(0xf1)](_0xd62124),_0x5183cf=_0x316f4c(_0xef4b1b(0x106),_0x667fe2,_0x5c1fea);if(_0x5183cf)return[_0x5183cf,_0xef4b1b(0xde)];this[_0xef4b1b(0x11b)][_0xef4b1b(0x11c)][_0xef4b1b(0xe2)](_0x667fe2);}const _0x180579=this[_0xef4b1b(0xf0)](_0x4cb3ba,!0x1);if(_0x180579){const _0x5ce410=this[_0xef4b1b(0xf1)](_0x180579),_0x13fb7d=_0x316f4c(_0xef4b1b(0x106),_0x5ce410,_0x5c1fea);if(_0x13fb7d)return[_0x13fb7d,_0xef4b1b(0xeb)];this[_0xef4b1b(0x11b)][_0xef4b1b(0x11c)][_0xef4b1b(0xe2)](_0x5ce410);}return _0x119017?_0x4cb3ba[_0xef4b1b(0x10f)]?this[_0xef4b1b(0xee)](_0x4cb3ba,_0x5c1fea):[_0x5c1fea[_0xef4b1b(0xf3)][_0x5c1fea[_0xef4b1b(0xf3)][_0xef4b1b(0x117)]-0x1],_0xef4b1b(0xde)]:[_0x5c1fea[_0xef4b1b(0xf3)][0x0],_0xef4b1b(0xeb)];}[_0x1cd92a(0xee)](_0x5059e5,_0x4b4b94){const _0x2bc81b=_0x1cd92a,_0x153bc2=[],_0x11d30d=this[_0x2bc81b(0x114)](_0x5059e5,!0x0);if(_0x11d30d){const _0x13013f=this[_0x2bc81b(0xf1)](_0x11d30d),_0x424e9c=_0x316f4c(_0x2bc81b(0x106),_0x13013f,_0x4b4b94);_0x424e9c&&_0x153bc2[_0x2bc81b(0xe2)]([_0x424e9c,_0x2bc81b(0xde)]);}const _0x3e19ee=this[_0x2bc81b(0xf0)](_0x5059e5,!0x0);if(_0x3e19ee){const _0x11087e=this[_0x2bc81b(0xf1)](_0x3e19ee),_0xa114e1=_0x316f4c(_0x2bc81b(0x106),_0x11087e,_0x4b4b94);_0xa114e1&&_0x153bc2[_0x2bc81b(0xe2)]([_0xa114e1,_0x2bc81b(0xeb)]);}if(_0x153bc2[_0x2bc81b(0x117)]>0x1)return _0x27d44e(_0x153bc2[0x0][0x0])<=_0x27d44e(_0x153bc2[0x1][0x0])?_0x153bc2[0x0]:_0x153bc2[0x1];return 0x1===_0x153bc2[_0x2bc81b(0x117)]?_0x153bc2[0x0]:[_0x4b4b94[_0x2bc81b(0x105)],_0x2bc81b(0xde)];}[_0x1cd92a(0xf0)](_0x419824,_0x593777){const _0x2d450d=_0x1cd92a;let _0x218913=_0x419824[_0x2d450d(0x10f)],_0x586053=null,_0x342244=!0x1;for(;_0x218913;){if(_0x185e2d(_0x218913)){if(this[_0x2d450d(0xf5)](_0x218913)&&(_0x586053=_0x218913),this[_0x2d450d(0xe0)](_0x218913)&&_0x593777&&!_0x342244){_0x342244=!0x0,_0x218913=_0x218913[_0x2d450d(0x10f)];continue;}break;}const _0x2a079c=_0x43fc81(_0x218913,_0x2d450d(0x106));if(_0x2a079c&&_0x2d450d(0xfe)!==_0x2a079c&&this[_0x2d450d(0x11a)][_0x2d450d(0x112)](_0x2a079c)){_0x586053=_0x218913;break;}_0x218913=_0x218913[_0x2d450d(0x10f)];}return _0x586053;}[_0x1cd92a(0x114)](_0x51677f,_0x3db6bf){const _0x15f524=_0x1cd92a;let _0x420495=_0x51677f[_0x15f524(0xfa)],_0x522ed2=null,_0x496925=!0x1;for(;_0x420495;){if(_0x185e2d(_0x420495)){if(this[_0x15f524(0xf5)](_0x420495)&&(_0x522ed2=_0x420495),this[_0x15f524(0xe0)](_0x420495)&&_0x3db6bf&&!_0x496925){_0x496925=!0x0,_0x420495=_0x420495[_0x15f524(0xfa)];continue;}break;}const _0x2f275f=_0x43fc81(_0x420495,_0x15f524(0x106));if(_0x2f275f&&_0x15f524(0xfe)!==_0x2f275f&&this[_0x15f524(0x11a)][_0x15f524(0x112)](_0x2f275f)){_0x522ed2=_0x420495;break;}_0x420495=_0x420495[_0x15f524(0xfa)];}return _0x522ed2;}[_0x1cd92a(0xda)](_0x46dfc0){const _0x4a933d=_0x1cd92a;_0x46637d(_0x46dfc0)&&_0x499230(_0x4a933d(0x106),null,_0x46dfc0)[_0x4a933d(0x10c)](_0x5a30a7=>{const _0x595d1a=_0x4a933d;if(this[_0x595d1a(0x122)](_0x5a30a7)&&!this[_0x595d1a(0x100)](_0x5a30a7)){const _0x4d2d65=_0x43fc81(_0x5a30a7,_0x595d1a(0x106));_0x1f9e36(_0x5a30a7,_0x595d1a(0xe8),_0x4d2d65),_0x1f9e36(_0x5a30a7,_0x595d1a(0x106),null);}});}[_0x1cd92a(0xf1)](_0x357fd0){const _0x52a23a=_0x1cd92a;if(!_0x357fd0)return null;if(_0x46637d(_0x357fd0))return _0x43fc81(_0x357fd0,_0x52a23a(0x106));if(_0x185e2d(_0x357fd0)){const _0x338b9e=_0x434ecb(_0x357fd0)[_0x52a23a(0xe5)](/removed[\s*-]data-id="([^"]+)"/);if(_0x338b9e&&_0x338b9e[0x1])return _0x338b9e[0x1];}return null;}[_0x1cd92a(0xfd)](_0x1e4911){const _0x8a4a27=_0x1cd92a;if(_0x185e2d(_0x1e4911)){const _0x7048f4=_0x434ecb(_0x1e4911)[_0x8a4a27(0xe5)](/removed[\s*-]data-id="([^"]+)"/);_0x7048f4&&_0x7048f4[0x1]&&this[_0x8a4a27(0x11b)][_0x8a4a27(0x103)][_0x8a4a27(0xe2)](_0x7048f4[0x1]);}}[_0x1cd92a(0x118)](_0x223e34){const _0x21d4ce=_0x1cd92a;return this[_0x21d4ce(0x122)](_0x223e34)?_0x43fc81(_0x223e34,_0x21d4ce(0x106)):this[_0x21d4ce(0x109)]();}[_0x1cd92a(0x119)](_0x6a7435){const _0x16f376=_0x1cd92a;_0x4d6b39(_0x6a7435)[_0x16f376(0xff)](_0x432cd6=>this[_0x16f376(0xf5)](_0x432cd6)||this[_0x16f376(0xe0)](_0x432cd6))[_0x16f376(0x10c)](_0x426042=>{_0x450074(_0x426042);});}[_0x1cd92a(0xdc)](_0xfcd77f){const _0x2a9cb5=_0x1cd92a,_0x584fd2=_0xfcd77f[_0x2a9cb5(0xf3)],_0x426dab=_0x584fd2[_0x584fd2[_0x2a9cb5(0x117)]-0x1];_0x426dab&&_0x46637d(_0x426dab)&&_0x1f9e36(_0x426dab,_0x2a9cb5(0xf9),_0x2a9cb5(0x101));}[_0x1cd92a(0x116)](_0x47a834,_0x5dd8e4){const _0x388d7c=_0x1cd92a,_0x1f4331=_0x316f4c(_0x388d7c(0xf9),_0x388d7c(0x101),_0x47a834);if(!_0x1f4331)return;const _0x488c25=_0x2cdf21(_0x1f4331)[_0x388d7c(0xf2)](0x0,-0x1),_0x435c77=_0x488c25[_0x388d7c(0x117)];let _0xb291eb=_0x1f4331;if(_0x435c77>_0x5dd8e4){let _0x2a670e=_0x435c77,_0x567059=null;for(;_0x2a670e>_0x5dd8e4&&_0x2a670e>=0x0;)_0x2a670e--,_0x567059=_0x488c25[_0x2a670e];_0x567059&&(_0xb291eb=_0x567059,_0x1f9e36(_0x1f4331,_0x388d7c(0xf9),null),_0x1f9e36(_0x567059,_0x388d7c(0xf9),_0x388d7c(0x101)));}else{if(_0x435c77<_0x5dd8e4){let _0x1d99bd=_0x435c77,_0x1a86af=_0x1f4331;for(;_0x1d99bd<_0x5dd8e4;){const _0x3313d6=_0x1a86af[_0x388d7c(0xf3)][_0x388d7c(0xff)](_0x43f1c4=>_0x46637d(_0x43f1c4));if(0x0===_0x3313d6[_0x388d7c(0x117)])break;_0x1d99bd++,_0x1a86af=_0x3313d6[_0x3313d6[_0x388d7c(0x117)]-0x1];}_0x1a86af&&(_0xb291eb=_0x1a86af,_0x1f9e36(_0x1f4331,_0x388d7c(0xf9),null),_0x1f9e36(_0x1a86af,_0x388d7c(0xf9),_0x388d7c(0x101)));}}let _0x2a1008=_0xb291eb;for(;_0x2a1008;){for(;_0x2a1008[_0x388d7c(0x10f)];)_0x2a1008=_0x2a1008[_0x388d7c(0x10f)],_0x46637d(_0x2a1008)&&_0x1f9e36(_0x2a1008,_0x388d7c(0xf9),_0x388d7c(0x101));_0x2a1008=_0x2a1008[_0x388d7c(0xec)];}}[_0x1cd92a(0xfb)](_0x4c6356){const _0x481237=_0x1cd92a;return Boolean(_0x481237(0xfe)===_0x43fc81(_0x4c6356,_0x481237(0x106)));}[_0x1cd92a(0x122)](_0x269e4b){const _0x8a4d34=_0x1cd92a;return Boolean((_0x43fc81(_0x269e4b,_0x8a4d34(0x106))||'')[_0x8a4d34(0x117)]>0x0&&_0x8a4d34(0xfe)!==_0x43fc81(_0x269e4b,_0x8a4d34(0x106)));}[_0x1cd92a(0xf5)](_0xbc9756){const _0x252018=_0x1cd92a;return!!_0xbc9756&&Boolean(_0x185e2d(_0xbc9756)&&_0x434ecb(_0xbc9756)[_0x252018(0xe5)](/removed[\s*-]data-id="[^"]+"/));}[_0x1cd92a(0x100)](_0xd6e0d8){const _0x4d8beb=_0x1cd92a;let _0x2cf869=_0xd6e0d8[_0x4d8beb(0xec)];for(;_0x2cf869;){if(_0x43fc81(_0x2cf869,_0x4d8beb(0xe8)))return!0x0;_0x2cf869=_0x2cf869[_0x4d8beb(0xec)];}return!0x1;}[_0x1cd92a(0xe0)](_0x6c62ed){const _0x44dd5f=_0x1cd92a;return Boolean(_0x185e2d(_0x6c62ed)&&_0x434ecb(_0x6c62ed)[_0x44dd5f(0xe5)](/\s*existing[\s*-](content|document)\s*/g));}}
23
+ const _0x2bdac0=_0x3982;(function(_0x33b08b,_0x46e207){const _0x389451=_0x3982,_0x2ba3f0=_0x33b08b();while(!![]){try{const _0x5a3bae=parseInt(_0x389451(0x1f2))/0x1*(-parseInt(_0x389451(0x1ee))/0x2)+-parseInt(_0x389451(0x1fa))/0x3+-parseInt(_0x389451(0x22b))/0x4*(parseInt(_0x389451(0x21a))/0x5)+-parseInt(_0x389451(0x208))/0x6*(parseInt(_0x389451(0x203))/0x7)+-parseInt(_0x389451(0x1f9))/0x8*(-parseInt(_0x389451(0x20d))/0x9)+-parseInt(_0x389451(0x1f7))/0xa+parseInt(_0x389451(0x1f0))/0xb*(parseInt(_0x389451(0x20c))/0xc);if(_0x5a3bae===_0x46e207)break;else _0x2ba3f0['push'](_0x2ba3f0['shift']());}catch(_0xd0d632){_0x2ba3f0['push'](_0x2ba3f0['shift']());}}}(_0x45f8,0x42537));function _0x3982(_0x310338,_0x284189){const _0x45f828=_0x45f8();return _0x3982=function(_0x3982b4,_0x301a4c){_0x3982b4=_0x3982b4-0x1ed;let _0x3f5f41=_0x45f828[_0x3982b4];return _0x3f5f41;},_0x3982(_0x310338,_0x284189);}import{ObservableMixin as _0x2f492a,uid as _0x115a8c}from'ckeditor5/src/utils.js';import{findAllByAttribute as _0x4dc6ed,findByAttribute as _0x5dbd36,getAttribute as _0x5a1ef9,isComment as _0x3c83f4,isTag as _0x15bf1f,insertElement as _0x319e55,moveElement as _0x15f245,removeElement as _0x106246,replaceElement as _0x11f5e2,serialize as _0x2a3480,setAttribute as _0x578b7e,clone as _0x12676c,findAllComments as _0x406c0d,getParents as _0x23813a,getNodeNestingLevel as _0x12ba7c,areNodesSame as _0x428615,removeElementsAfter as _0x5d07ba}from'../utils/htmlparser.js';function _0x45f8(){const _0x5111d6=['cutAfterLastChange','slice','childNodes','_isExistingContentComment','parentNode','previousSibling','3715kICujS','_hasWrappedParent','afterend','_isNewNode','match','filter','removedIds','reverse','map','replaceRemovedWith','_removeSpecialComments','splice','true','from','nodeType','_storeDeletedElementIds','_touchedNodesState','2724zrOJNk','_markLastTagElementUnstable','data-unstable','forEach','invalidIds','beforebegin','_isExistingNode','has','_getUid','includes','new-element','data-id','102022oVUaDx','markUnstableElements','13904PedCVX','_insertNodes','7sxnPue','merge','afterbegin','trim','indexOf','5316360mWBrUb','push','652792RzNpst','431019MnFFgB','data-removed','nextSibling','_generateUid','lastTouchedId','_findFallbackReferenceNode','_isDelNode','_markWrappedElements','_existingDataIds','14ajSkfr','newIds','modifiedIds','markUnstableElementsDepth','_replaceNode','1173030WyEGJb','data-wrapped-id','cloneNode','_findNextElementWithDataId','16248pKMbpC','54rbtmgd','length','_findReferenceNode','_markUnstableElements','_findPrevElementWithDataId','_getNodeDataId','lastChild'];_0x45f8=function(){return _0x5111d6;};return _0x45f8();}export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
+ _0x2f492a(){[_0x2bdac0(0x1fd)];[_0x2bdac0(0x22a)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x2bdac0(0x202)]=new Set();constructor(_0x43477d){const _0xb1291d=_0x2bdac0;super(),this[_0xb1291d(0x1fd)]=_0x43477d||_0x115a8c;}[_0x2bdac0(0x1f3)](_0x136317,_0x2e776a,_0x44fa5d){const _0x15e0ba=_0x2bdac0,_0x3b56ab=_0x12676c(_0x136317);if(0x0===_0x2e776a[_0x15e0ba(0x216)][_0x15e0ba(0x20e)]){const _0x4572cf=[];return _0x4dc6ed(_0x15e0ba(0x1ed),_0x15e0ba(0x235),_0x3b56ab)[_0x15e0ba(0x22e)](_0x577d44=>{const _0x3f1b0f=_0x15e0ba,_0x315e63=this[_0x3f1b0f(0x1fd)]();_0x578b7e(_0x577d44,_0x3f1b0f(0x1ed),_0x315e63),_0x4572cf[_0x3f1b0f(0x1f8)](_0x315e63);}),this[_0x15e0ba(0x224)](_0x3b56ab),{'parsedContent':_0x3b56ab,'newNodeIds':_0x4572cf,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x44fa5d&&_0x44fa5d[_0x15e0ba(0x1ef)]&&this[_0x15e0ba(0x22c)](_0x3b56ab),this[_0x15e0ba(0x22a)][_0x15e0ba(0x204)]=[],this[_0x15e0ba(0x22a)][_0x15e0ba(0x205)]=[],this[_0x15e0ba(0x22a)][_0x15e0ba(0x220)]=[],this[_0x15e0ba(0x22a)][_0x15e0ba(0x22f)]=[],this[_0x15e0ba(0x22a)][_0x15e0ba(0x1fe)]=null,this[_0x15e0ba(0x202)]=new Set(_0x4dc6ed(_0x15e0ba(0x1ed),null,_0x2e776a)[_0x15e0ba(0x222)](_0x33db96=>_0x5a1ef9(_0x33db96,_0x15e0ba(0x1ed)))[_0x15e0ba(0x21f)](_0x543784=>!!_0x543784));let _0x8369d6=-0x1,_0x3c3640=!0x1;const _0x5951f0=_0x3b56ab[_0x15e0ba(0x216)],_0x40810b=Array[_0x15e0ba(0x227)](_0x5951f0)[_0x15e0ba(0x21f)](_0x5e365a=>!(0x3===_0x5e365a[_0x15e0ba(0x228)]&&''===_0x2a3480(_0x5e365a)[_0x15e0ba(0x1f5)]())),_0x678d74=_0x40810b[_0x15e0ba(0x20e)];for(let _0x220621=0x0;_0x220621<_0x678d74;_0x220621++){const _0x16c508=_0x40810b[_0x220621],_0x4f1983=_0x40810b[_0x220621+0x1];if(this[_0x15e0ba(0x21d)](_0x16c508)){if(-0x1===_0x8369d6&&(_0x8369d6=_0x220621),this[_0x15e0ba(0x201)](_0x16c508),!this[_0x15e0ba(0x21d)](_0x4f1983)){const [_0x1bac95,_0x477990]=this[_0x15e0ba(0x20f)](_0x16c508,_0x3c3640,_0x2e776a);if(_0x1bac95){const _0x581ba3=Array[_0x15e0ba(0x227)](_0x40810b)[_0x15e0ba(0x215)](_0x8369d6,_0x220621+0x1);this[_0x15e0ba(0x1f1)](_0x1bac95,_0x581ba3,_0x477990),_0x8369d6=-0x1;}}}else{if(this[_0x15e0ba(0x217)](_0x16c508))_0x3c3640=!0x0;else{if(this[_0x15e0ba(0x231)](_0x16c508)){const _0x1957cf=_0x5a1ef9(_0x16c508,_0x15e0ba(0x1ed));if(_0x1957cf&&this[_0x15e0ba(0x202)][_0x15e0ba(0x232)](_0x1957cf)){const _0x3c57ca=_0x5dbd36(_0x15e0ba(0x1ed),_0x1957cf,_0x2e776a);this[_0x15e0ba(0x207)](_0x3c57ca,_0x16c508);}if(this[_0x15e0ba(0x22a)][_0x15e0ba(0x220)][_0x15e0ba(0x234)](_0x1957cf)){const _0xf05b8=this[_0x15e0ba(0x22a)][_0x15e0ba(0x220)][_0x15e0ba(0x1f6)](_0x1957cf);this[_0x15e0ba(0x22a)][_0x15e0ba(0x220)][_0x15e0ba(0x225)](_0xf05b8,0x1);}}else{if(this[_0x15e0ba(0x200)](_0x16c508)){const _0x2540a3=_0x5a1ef9(_0x16c508,_0x15e0ba(0x1ed));this[_0x15e0ba(0x22a)][_0x15e0ba(0x205)][_0x15e0ba(0x234)](_0x2540a3)||this[_0x15e0ba(0x229)](_0x16c508);}}}}}for(const _0x1360f6 of this[_0x15e0ba(0x22a)][_0x15e0ba(0x220)]){const _0xa4dc83=_0x5dbd36(_0x15e0ba(0x1ed),_0x1360f6,_0x2e776a);if(_0xa4dc83){if(_0x44fa5d&&_0x44fa5d[_0x15e0ba(0x223)]){this[_0x15e0ba(0x22a)][_0x15e0ba(0x1fe)]=_0x1360f6;const _0x32c67e=_0x44fa5d[_0x15e0ba(0x223)][_0x15e0ba(0x20a)](!0x0);_0x578b7e(_0x32c67e,_0x15e0ba(0x1ed),_0x1360f6),_0x578b7e(_0x32c67e,_0x15e0ba(0x1fb),_0x15e0ba(0x226)),_0x11f5e2(_0xa4dc83,_0x32c67e);}else _0x106246(_0xa4dc83);}}if(_0x4dc6ed(_0x15e0ba(0x209),null,_0x2e776a)[_0x15e0ba(0x22e)](_0x17c157=>{const _0x5e3459=_0x15e0ba,_0x4df5d7=_0x5a1ef9(_0x17c157,_0x5e3459(0x209)),_0x3d9d5d=_0x5dbd36(_0x5e3459(0x1ed),_0x4df5d7,_0x2e776a);_0x3d9d5d&&_0x15f245(_0x3d9d5d,_0x17c157);}),_0x4dc6ed(_0x15e0ba(0x1ed),_0x15e0ba(0x235),_0x2e776a)[_0x15e0ba(0x22e)](_0x27a067=>{const _0xf87e77=_0x15e0ba,_0x536892=this[_0xf87e77(0x233)](_0x27a067);_0x578b7e(_0x27a067,_0xf87e77(0x1ed),_0x536892),this[_0xf87e77(0x22a)][_0xf87e77(0x204)][_0xf87e77(0x1f8)](_0x536892);}),this[_0x15e0ba(0x224)](_0x2e776a),_0x44fa5d&&_0x44fa5d[_0x15e0ba(0x1ef)]&&this[_0x15e0ba(0x210)](_0x2e776a,_0x44fa5d[_0x15e0ba(0x206)]||0x0),_0x44fa5d&&_0x44fa5d[_0x15e0ba(0x214)]&&this[_0x15e0ba(0x22a)][_0x15e0ba(0x1fe)]){let _0xd6f911=_0x5dbd36(_0x15e0ba(0x1ed),this[_0x15e0ba(0x22a)][_0x15e0ba(0x1fe)],_0x2e776a);for(;_0xd6f911;)_0x5d07ba(_0xd6f911),_0xd6f911=_0xd6f911[_0x15e0ba(0x218)];}return{'parsedContent':_0x2e776a,'newNodeIds':this[_0x15e0ba(0x22a)][_0x15e0ba(0x204)],'modifiedNodeIds':this[_0x15e0ba(0x22a)][_0x15e0ba(0x205)],'removedNodeIds':this[_0x15e0ba(0x22a)][_0x15e0ba(0x220)]};}[_0x2bdac0(0x1f1)](_0x2d64fc,_0x1f8d3d,_0x42778b){const _0x13f30f=_0x2bdac0;for(const _0x2690f5 of _0x1f8d3d){const _0x56b17b=this[_0x13f30f(0x233)](_0x2690f5);_0x578b7e(_0x2690f5,_0x13f30f(0x1ed),_0x56b17b),this[_0x13f30f(0x22a)][_0x13f30f(0x204)][_0x13f30f(0x1f8)](_0x56b17b),this[_0x13f30f(0x22a)][_0x13f30f(0x1fe)]=_0x56b17b;}const _0x48695d=_0x13f30f(0x1f4)===_0x42778b||_0x13f30f(0x21c)===_0x42778b?_0x1f8d3d[_0x13f30f(0x221)]():_0x1f8d3d;for(const _0x2fd22f of _0x48695d)_0x319e55(_0x2d64fc,_0x2fd22f,_0x42778b);}[_0x2bdac0(0x207)](_0x43ce1b,_0x43507b){const _0x335cb4=_0x2bdac0;if(!_0x43ce1b)return;if(_0x428615(_0x43ce1b,_0x43507b))return;const _0x338042=this[_0x335cb4(0x233)](_0x43ce1b);_0x578b7e(_0x43507b,_0x335cb4(0x1ed),_0x338042),this[_0x335cb4(0x22a)][_0x335cb4(0x205)][_0x335cb4(0x1f8)](_0x338042),this[_0x335cb4(0x22a)][_0x335cb4(0x1fe)]=_0x338042,_0x11f5e2(_0x43ce1b,_0x43507b[_0x335cb4(0x20a)](!0x0));}[_0x2bdac0(0x20f)](_0x1b5605,_0x3e7c24,_0x49ca03){const _0x5a054d=_0x2bdac0,_0x47f868=this[_0x5a054d(0x211)](_0x1b5605,!0x1);if(_0x47f868){const _0x51e2d8=this[_0x5a054d(0x212)](_0x47f868),_0x539bf4=_0x5dbd36(_0x5a054d(0x1ed),_0x51e2d8,_0x49ca03);if(_0x539bf4)return[_0x539bf4,_0x5a054d(0x21c)];this[_0x5a054d(0x22a)][_0x5a054d(0x22f)][_0x5a054d(0x1f8)](_0x51e2d8);}const _0x203621=this[_0x5a054d(0x20b)](_0x1b5605,!0x1);if(_0x203621){const _0x4b2479=this[_0x5a054d(0x212)](_0x203621),_0x56a810=_0x5dbd36(_0x5a054d(0x1ed),_0x4b2479,_0x49ca03);if(_0x56a810)return[_0x56a810,_0x5a054d(0x230)];this[_0x5a054d(0x22a)][_0x5a054d(0x22f)][_0x5a054d(0x1f8)](_0x4b2479);}return _0x3e7c24?_0x1b5605[_0x5a054d(0x1fc)]?this[_0x5a054d(0x1ff)](_0x1b5605,_0x49ca03):[_0x49ca03[_0x5a054d(0x216)][_0x49ca03[_0x5a054d(0x216)][_0x5a054d(0x20e)]-0x1],_0x5a054d(0x21c)]:[_0x49ca03[_0x5a054d(0x216)][0x0],_0x5a054d(0x230)];}[_0x2bdac0(0x1ff)](_0x8cc8ce,_0x14f259){const _0x31c731=_0x2bdac0,_0x19f314=[],_0x481fed=this[_0x31c731(0x211)](_0x8cc8ce,!0x0);if(_0x481fed){const _0x329ddc=this[_0x31c731(0x212)](_0x481fed),_0x3adf9d=_0x5dbd36(_0x31c731(0x1ed),_0x329ddc,_0x14f259);_0x3adf9d&&_0x19f314[_0x31c731(0x1f8)]([_0x3adf9d,_0x31c731(0x21c)]);}const _0x342fcf=this[_0x31c731(0x20b)](_0x8cc8ce,!0x0);if(_0x342fcf){const _0x2b519e=this[_0x31c731(0x212)](_0x342fcf),_0x57a0f3=_0x5dbd36(_0x31c731(0x1ed),_0x2b519e,_0x14f259);_0x57a0f3&&_0x19f314[_0x31c731(0x1f8)]([_0x57a0f3,_0x31c731(0x230)]);}if(_0x19f314[_0x31c731(0x20e)]>0x1)return _0x12ba7c(_0x19f314[0x0][0x0])<=_0x12ba7c(_0x19f314[0x1][0x0])?_0x19f314[0x0]:_0x19f314[0x1];return 0x1===_0x19f314[_0x31c731(0x20e)]?_0x19f314[0x0]:[_0x14f259[_0x31c731(0x213)],_0x31c731(0x21c)];}[_0x2bdac0(0x20b)](_0x2d5f52,_0x4a72d5){const _0x572657=_0x2bdac0;let _0x2c757b=_0x2d5f52[_0x572657(0x1fc)],_0x2316b1=null,_0x347052=!0x1;for(;_0x2c757b;){if(_0x3c83f4(_0x2c757b)){if(this[_0x572657(0x200)](_0x2c757b)&&(_0x2316b1=_0x2c757b),this[_0x572657(0x217)](_0x2c757b)&&_0x4a72d5&&!_0x347052){_0x347052=!0x0,_0x2c757b=_0x2c757b[_0x572657(0x1fc)];continue;}break;}const _0x1b3c50=_0x5a1ef9(_0x2c757b,_0x572657(0x1ed));if(_0x1b3c50&&_0x572657(0x235)!==_0x1b3c50&&this[_0x572657(0x202)][_0x572657(0x232)](_0x1b3c50)){_0x2316b1=_0x2c757b;break;}_0x2c757b=_0x2c757b[_0x572657(0x1fc)];}return _0x2316b1;}[_0x2bdac0(0x211)](_0x2b4433,_0x3f1003){const _0x1413a0=_0x2bdac0;let _0x7c88d4=_0x2b4433[_0x1413a0(0x219)],_0x16e0c4=null,_0x4e9933=!0x1;for(;_0x7c88d4;){if(_0x3c83f4(_0x7c88d4)){if(this[_0x1413a0(0x200)](_0x7c88d4)&&(_0x16e0c4=_0x7c88d4),this[_0x1413a0(0x217)](_0x7c88d4)&&_0x3f1003&&!_0x4e9933){_0x4e9933=!0x0,_0x7c88d4=_0x7c88d4[_0x1413a0(0x219)];continue;}break;}const _0x19c961=_0x5a1ef9(_0x7c88d4,_0x1413a0(0x1ed));if(_0x19c961&&_0x1413a0(0x235)!==_0x19c961&&this[_0x1413a0(0x202)][_0x1413a0(0x232)](_0x19c961)){_0x16e0c4=_0x7c88d4;break;}_0x7c88d4=_0x7c88d4[_0x1413a0(0x219)];}return _0x16e0c4;}[_0x2bdac0(0x201)](_0x568e8c){const _0x1252cb=_0x2bdac0;_0x15bf1f(_0x568e8c)&&_0x4dc6ed(_0x1252cb(0x1ed),null,_0x568e8c)[_0x1252cb(0x22e)](_0x4ff5cb=>{const _0x391796=_0x1252cb;if(this[_0x391796(0x231)](_0x4ff5cb)&&!this[_0x391796(0x21b)](_0x4ff5cb)){const _0x24960c=_0x5a1ef9(_0x4ff5cb,_0x391796(0x1ed));_0x578b7e(_0x4ff5cb,_0x391796(0x209),_0x24960c),_0x578b7e(_0x4ff5cb,_0x391796(0x1ed),null);}});}[_0x2bdac0(0x212)](_0x58d0f6){const _0x2fe114=_0x2bdac0;if(!_0x58d0f6)return null;if(_0x15bf1f(_0x58d0f6))return _0x5a1ef9(_0x58d0f6,_0x2fe114(0x1ed));if(_0x3c83f4(_0x58d0f6)){const _0x30e603=_0x2a3480(_0x58d0f6)[_0x2fe114(0x21e)](/removed[\s*-]data-id="([^"]+)"/);if(_0x30e603&&_0x30e603[0x1])return _0x30e603[0x1];}return null;}[_0x2bdac0(0x229)](_0x531d8d){const _0x214c17=_0x2bdac0;if(_0x3c83f4(_0x531d8d)){const _0x127ffd=_0x2a3480(_0x531d8d)[_0x214c17(0x21e)](/removed[\s*-]data-id="([^"]+)"/);_0x127ffd&&_0x127ffd[0x1]&&this[_0x214c17(0x22a)][_0x214c17(0x220)][_0x214c17(0x1f8)](_0x127ffd[0x1]);}}[_0x2bdac0(0x233)](_0x4c556e){const _0x254620=_0x2bdac0;return this[_0x254620(0x231)](_0x4c556e)?_0x5a1ef9(_0x4c556e,_0x254620(0x1ed)):this[_0x254620(0x1fd)]();}[_0x2bdac0(0x224)](_0x2ca2c3){const _0x531c9a=_0x2bdac0;_0x406c0d(_0x2ca2c3)[_0x531c9a(0x21f)](_0x1ef51b=>this[_0x531c9a(0x200)](_0x1ef51b)||this[_0x531c9a(0x217)](_0x1ef51b))[_0x531c9a(0x22e)](_0x20b0a1=>{_0x106246(_0x20b0a1);});}[_0x2bdac0(0x22c)](_0x16e1c4){const _0x242a2d=_0x2bdac0,_0x501049=_0x16e1c4[_0x242a2d(0x216)],_0x5883cb=_0x501049[_0x501049[_0x242a2d(0x20e)]-0x1];_0x5883cb&&_0x15bf1f(_0x5883cb)&&_0x578b7e(_0x5883cb,_0x242a2d(0x22d),_0x242a2d(0x226));}[_0x2bdac0(0x210)](_0x3f4e5f,_0x16d192){const _0x44607f=_0x2bdac0,_0x46a04a=_0x5dbd36(_0x44607f(0x22d),_0x44607f(0x226),_0x3f4e5f);if(!_0x46a04a)return;const _0x42c70c=_0x23813a(_0x46a04a)[_0x44607f(0x215)](0x0,-0x1),_0x578a5b=_0x42c70c[_0x44607f(0x20e)];let _0x5c546f=_0x46a04a;if(_0x578a5b>_0x16d192){let _0x3479bd=_0x578a5b,_0x30df6e=null;for(;_0x3479bd>_0x16d192&&_0x3479bd>=0x0;)_0x3479bd--,_0x30df6e=_0x42c70c[_0x3479bd];_0x30df6e&&(_0x5c546f=_0x30df6e,_0x578b7e(_0x46a04a,_0x44607f(0x22d),null),_0x578b7e(_0x30df6e,_0x44607f(0x22d),_0x44607f(0x226)));}else{if(_0x578a5b<_0x16d192){let _0x966362=_0x578a5b,_0x505964=_0x46a04a;for(;_0x966362<_0x16d192;){const _0x554be8=_0x505964[_0x44607f(0x216)][_0x44607f(0x21f)](_0x13991d=>_0x15bf1f(_0x13991d));if(0x0===_0x554be8[_0x44607f(0x20e)])break;_0x966362++,_0x505964=_0x554be8[_0x554be8[_0x44607f(0x20e)]-0x1];}_0x505964&&(_0x5c546f=_0x505964,_0x578b7e(_0x46a04a,_0x44607f(0x22d),null),_0x578b7e(_0x505964,_0x44607f(0x22d),_0x44607f(0x226)));}}let _0x3d0821=_0x5c546f;for(;_0x3d0821;){for(;_0x3d0821[_0x44607f(0x1fc)];)_0x3d0821=_0x3d0821[_0x44607f(0x1fc)],_0x15bf1f(_0x3d0821)&&_0x578b7e(_0x3d0821,_0x44607f(0x22d),_0x44607f(0x226));_0x3d0821=_0x3d0821[_0x44607f(0x218)];}}[_0x2bdac0(0x21d)](_0x1e8a67){const _0x4dcad2=_0x2bdac0;return Boolean(_0x4dcad2(0x235)===_0x5a1ef9(_0x1e8a67,_0x4dcad2(0x1ed)));}[_0x2bdac0(0x231)](_0x55d412){const _0x5031cd=_0x2bdac0;return Boolean((_0x5a1ef9(_0x55d412,_0x5031cd(0x1ed))||'')[_0x5031cd(0x20e)]>0x0&&_0x5031cd(0x235)!==_0x5a1ef9(_0x55d412,_0x5031cd(0x1ed)));}[_0x2bdac0(0x200)](_0x3cf60d){const _0x249864=_0x2bdac0;return!!_0x3cf60d&&Boolean(_0x3c83f4(_0x3cf60d)&&_0x2a3480(_0x3cf60d)[_0x249864(0x21e)](/removed[\s*-]data-id="[^"]+"/));}[_0x2bdac0(0x21b)](_0x4cab2f){const _0x1af898=_0x2bdac0;let _0x3ae897=_0x4cab2f[_0x1af898(0x218)];for(;_0x3ae897;){if(_0x5a1ef9(_0x3ae897,_0x1af898(0x209)))return!0x0;_0x3ae897=_0x3ae897[_0x1af898(0x218)];}return!0x1;}[_0x2bdac0(0x217)](_0x2665ef){const _0x1a4081=_0x2bdac0;return Boolean(_0x3c83f4(_0x2665ef)&&_0x2a3480(_0x2665ef)[_0x1a4081(0x21e)](/\s*existing[\s*-](content|document)\s*/g));}}
@@ -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 '../utils/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,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x290cf7=_0x2ed4;(function(_0x4423d9,_0x565d5f){const _0x573b73=_0x2ed4,_0x138324=_0x4423d9();while(!![]){try{const _0x18af2c=-parseInt(_0x573b73(0x1ee))/0x1*(parseInt(_0x573b73(0x1fc))/0x2)+-parseInt(_0x573b73(0x1fe))/0x3*(parseInt(_0x573b73(0x1f1))/0x4)+-parseInt(_0x573b73(0x1f9))/0x5*(-parseInt(_0x573b73(0x1fa))/0x6)+-parseInt(_0x573b73(0x200))/0x7*(-parseInt(_0x573b73(0x1f8))/0x8)+-parseInt(_0x573b73(0x202))/0x9*(parseInt(_0x573b73(0x1f2))/0xa)+parseInt(_0x573b73(0x1f7))/0xb+parseInt(_0x573b73(0x1ef))/0xc;if(_0x18af2c===_0x565d5f)break;else _0x138324['push'](_0x138324['shift']());}catch(_0x39d272){_0x138324['push'](_0x138324['shift']());}}}(_0xa59c,0x70ade));import{ObservableMixin as _0x2fff03}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x131c44}from'@ckeditor/ckeditor5-markdown-gfm';function _0x2ed4(_0x34d204,_0xfa3189){const _0xa59c5d=_0xa59c();return _0x2ed4=function(_0x2ed49b,_0x3c5de5){_0x2ed49b=_0x2ed49b-0x1ee;let _0x5026a2=_0xa59c5d[_0x2ed49b];return _0x5026a2;},_0x2ed4(_0x34d204,_0xfa3189);}function _0xa59c(){const _0x3ee995=['2KmQWlO','<dummy>','1347IkAxwk','</dummy>','7jsOPqd','convertMarkdownToHTML','3380067FaDDeJ','871656iVUrQY','23289348HjsrqY','parse','8092kKWkZl','20pWAAaJ','_m2html','_parseHTML','children','parseAndNormalizeHTML','2936989qIxBBD','5136648EoxHdl','230rzqLnM','18624CPUMBd','replace'];_0xa59c=function(){return _0x3ee995;};return _0xa59c();}import{parse as _0x2f9d02}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
- _0x2fff03(){[_0x290cf7(0x1f3)];constructor(){const _0x1bd02e=_0x290cf7;super(),this[_0x1bd02e(0x1f3)]=new _0x131c44();}[_0x290cf7(0x201)](_0x3de2a1){const _0x1e8bd4=_0x290cf7,_0x3091f4=this[_0x1e8bd4(0x1f3)][_0x1e8bd4(0x1f0)](_0x3de2a1);return this[_0x1e8bd4(0x1f6)](_0x3091f4);}[_0x290cf7(0x1f6)](_0x54e48b){const _0x11e794=_0x290cf7;return this[_0x11e794(0x1f4)](_0x54e48b);}[_0x290cf7(0x1f4)](_0x45249b){const _0x6bccc9=_0x290cf7,_0x136bb8=_0x45249b[_0x6bccc9(0x1fb)](/^\t+/gm,'\x20')[_0x6bccc9(0x1fb)](/\n*/g,'')[_0x6bccc9(0x1fb)](/\s+/g,'\x20')[_0x6bccc9(0x1fb)](/<[^>]*?$/g,''),_0x42f61b=_0x2f9d02(_0x6bccc9(0x1fd)+_0x136bb8+_0x6bccc9(0x1ff));return _0x42f61b[_0x6bccc9(0x1f5)]=_0x42f61b[_0x6bccc9(0x1f5)][0x0][_0x6bccc9(0x1f5)],_0x42f61b;}}
23
+ const _0x34cd6b=_0x45e4;(function(_0x24d52c,_0x15d11f){const _0x14a318=_0x45e4,_0x569b23=_0x24d52c();while(!![]){try{const _0x31a7dc=-parseInt(_0x14a318(0x158))/0x1+-parseInt(_0x14a318(0x159))/0x2*(-parseInt(_0x14a318(0x15a))/0x3)+-parseInt(_0x14a318(0x154))/0x4*(-parseInt(_0x14a318(0x147))/0x5)+-parseInt(_0x14a318(0x155))/0x6*(-parseInt(_0x14a318(0x14a))/0x7)+-parseInt(_0x14a318(0x14f))/0x8*(-parseInt(_0x14a318(0x152))/0x9)+parseInt(_0x14a318(0x151))/0xa+parseInt(_0x14a318(0x153))/0xb*(-parseInt(_0x14a318(0x148))/0xc);if(_0x31a7dc===_0x15d11f)break;else _0x569b23['push'](_0x569b23['shift']());}catch(_0x102a3a){_0x569b23['push'](_0x569b23['shift']());}}}(_0x4b17,0x8dc93));import{ObservableMixin as _0x1b5885}from'ckeditor5/src/utils.js';function _0x4b17(){const _0x13495f=['children','5klKzPe','12Rcvhpr','parse','462rFJbnw','</dummy>','_m2html','replace','_parseHTML','319288hMVSVr','parseAndNormalizeHTML','2104960IiWuYb','99LAqOam','3890073piStRF','538296pmucDV','7818STfnqr','<dummy>','convertMarkdownToHTML','195214abQzoo','519046ZVzyII','3KHLGSA'];_0x4b17=function(){return _0x13495f;};return _0x4b17();}import{MarkdownGfmMdToHtml as _0x33082a}from'@ckeditor/ckeditor5-markdown-gfm';function _0x45e4(_0xaf7957,_0x367492){const _0x4b17e7=_0x4b17();return _0x45e4=function(_0x45e4dd,_0x13cc99){_0x45e4dd=_0x45e4dd-0x147;let _0x31608d=_0x4b17e7[_0x45e4dd];return _0x31608d;},_0x45e4(_0xaf7957,_0x367492);}import{parse as _0x322dc9}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
+ _0x1b5885(){[_0x34cd6b(0x14c)];constructor(){const _0x53be78=_0x34cd6b;super(),this[_0x53be78(0x14c)]=new _0x33082a();}[_0x34cd6b(0x157)](_0x262cf8){const _0x4f3452=_0x34cd6b,_0x742b1f=this[_0x4f3452(0x14c)][_0x4f3452(0x149)](_0x262cf8);return this[_0x4f3452(0x150)](_0x742b1f);}[_0x34cd6b(0x150)](_0x5fe511){const _0x5904e4=_0x34cd6b;return this[_0x5904e4(0x14e)](_0x5fe511);}[_0x34cd6b(0x14e)](_0x5d2e3e){const _0xfec16d=_0x34cd6b,_0x1ccda3=_0x5d2e3e[_0xfec16d(0x14d)](/^\t+/gm,'\x20')[_0xfec16d(0x14d)](/\n*/g,'')[_0xfec16d(0x14d)](/\s+/g,'\x20')[_0xfec16d(0x14d)](/<[^>]*?$/g,''),_0x3cebc6=_0x322dc9(_0xfec16d(0x156)+_0x1ccda3+_0xfec16d(0x14b));return _0x3cebc6[_0xfec16d(0x15b)]=_0x3cebc6[_0xfec16d(0x15b)][0x0][_0xfec16d(0x15b)],_0x3cebc6;}}
@@ -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(_0x5bb02d,_0x4e8449){var _0x553440=_0x5da0,_0x20bc85=_0x5bb02d();while(!![]){try{var _0x195f1f=-parseInt(_0x553440(0x16e))/0x1*(-parseInt(_0x553440(0x166))/0x2)+parseInt(_0x553440(0x16a))/0x3*(parseInt(_0x553440(0x164))/0x4)+-parseInt(_0x553440(0x162))/0x5+-parseInt(_0x553440(0x163))/0x6+parseInt(_0x553440(0x169))/0x7*(-parseInt(_0x553440(0x171))/0x8)+-parseInt(_0x553440(0x16b))/0x9+-parseInt(_0x553440(0x168))/0xa*(parseInt(_0x553440(0x167))/0xb);if(_0x195f1f===_0x4e8449)break;else _0x20bc85['push'](_0x20bc85['shift']());}catch(_0x2f4e59){_0x20bc85['push'](_0x20bc85['shift']());}}}(_0x3123,0xaf85e));function _0x3123(){var _0x3d9a4a=['2621155wYnyfn','783000PegTCt','1572952JiAWGw','div','114sgwXxK','476454dpzXkr','60NvRhOX','1050140Btossn','9cUXQDD','2590128GrUUJN','AI_DISCLAIMER_TEXT','ck-ai-disclaimer','18275RJZrID','ck-ai-disclaimer__content','setTemplate','16wJsjiV'];_0x3123=function(){return _0x3d9a4a;};return _0x3123();}import{View as _0xe22230}from'ckeditor5/src/ui.js';function _0x5da0(_0x2b193b,_0x22c0b0){var _0x3123f2=_0x3123();return _0x5da0=function(_0x5da0b8,_0x464aac){_0x5da0b8=_0x5da0b8-0x162;var _0x3d030a=_0x3123f2[_0x5da0b8];return _0x3d030a;},_0x5da0(_0x2b193b,_0x22c0b0);}import{getTranslation as _0x3e864f}from'../../aicore/utils/common-translations.js';export class AIDisclaimerView extends _0xe22230{constructor(_0x3ebffd){var _0x248293=_0x5da0;super(_0x3ebffd),this[_0x248293(0x170)]({'tag':_0x248293(0x165),'attributes':{'class':['ck',_0x248293(0x16d)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x248293(0x16f)]},'children':[{'text':_0x3e864f(_0x3ebffd,_0x248293(0x16c))}]}]});}}
23
+ (function(_0x5c1991,_0x8f2a8b){var _0x2fd6ab=_0x56e3,_0x500d83=_0x5c1991();while(!![]){try{var _0x3255ff=parseInt(_0x2fd6ab(0x154))/0x1*(-parseInt(_0x2fd6ab(0x155))/0x2)+-parseInt(_0x2fd6ab(0x160))/0x3+parseInt(_0x2fd6ab(0x158))/0x4+parseInt(_0x2fd6ab(0x156))/0x5+-parseInt(_0x2fd6ab(0x15d))/0x6*(-parseInt(_0x2fd6ab(0x15b))/0x7)+-parseInt(_0x2fd6ab(0x15a))/0x8*(-parseInt(_0x2fd6ab(0x15c))/0x9)+-parseInt(_0x2fd6ab(0x153))/0xa*(parseInt(_0x2fd6ab(0x151))/0xb);if(_0x3255ff===_0x8f2a8b)break;else _0x500d83['push'](_0x500d83['shift']());}catch(_0x174d54){_0x500d83['push'](_0x500d83['shift']());}}}(_0x29e9,0x69f6a));import{View as _0x157db5}from'ckeditor5/src/ui.js';import{getTranslation as _0x5519f2}from'../../aicore/utils/common-translations.js';function _0x29e9(){var _0x16f345=['2138688xoQDyW','54078VQdltd','AI_DISCLAIMER_TEXT','div','755010tPALiC','682253NEXWGi','ck-ai-disclaimer','220wOured','61919jTKbdV','8HNERTn','3468890fqsiyi','setTemplate','1126456tEKEJO','ck-ai-disclaimer__content','16wSxPzd','658zEyuno'];_0x29e9=function(){return _0x16f345;};return _0x29e9();}function _0x56e3(_0x2e37d7,_0x40f21f){var _0x29e914=_0x29e9();return _0x56e3=function(_0x56e306,_0x7122c1){_0x56e306=_0x56e306-0x151;var _0x4e6328=_0x29e914[_0x56e306];return _0x4e6328;},_0x56e3(_0x2e37d7,_0x40f21f);}export class AIDisclaimerView extends _0x157db5{constructor(_0x102448){var _0x4a07eb=_0x56e3;super(_0x102448),this[_0x4a07eb(0x157)]({'tag':_0x4a07eb(0x15f),'attributes':{'class':['ck',_0x4a07eb(0x152)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x4a07eb(0x159)]},'children':[{'text':_0x5519f2(_0x102448,_0x4a07eb(0x15e))}]}]});}}
@@ -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 { View } from 'ckeditor5/src/ui.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
- function _0x5269(_0x4826c4,_0x53bfd4){const _0x56b8d6=_0x56b8();return _0x5269=function(_0x5269da,_0x316599){_0x5269da=_0x5269da-0x141;let _0x5d1b12=_0x56b8d6[_0x5269da];return _0x5d1b12;},_0x5269(_0x4826c4,_0x53bfd4);}const _0x2921ee=_0x5269;function _0x56b8(){const _0x162696=['2844249JCRRtT','_createSkeletonItems','width','setTemplate','24px','44px','150px','center','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','height','div','140px','11424888fintoe','1696760oOuyNi','72px','128px','tag','100%','left','right','ck-ai-skeleton','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','1250810CxeaRD','align',';\x20height:\x20','map','40px','100296gmFxFK','155CqLctN','250px','ck-ai-skeleton__item','fill','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','70UDQItl','88px','width:\x20','636798UmjXdj','attributes','18611775cfeqvt','class'];_0x56b8=function(){return _0x162696;};return _0x56b8();}(function(_0x493b9f,_0x40fb28){const _0x14b754=_0x5269,_0x1d285f=_0x493b9f();while(!![]){try{const _0x5022de=-parseInt(_0x14b754(0x146))/0x1+-parseInt(_0x14b754(0x165))/0x2+-parseInt(_0x14b754(0x158))/0x3+parseInt(_0x14b754(0x14b))/0x4*(-parseInt(_0x14b754(0x14c))/0x5)+parseInt(_0x14b754(0x154))/0x6*(parseInt(_0x14b754(0x151))/0x7)+parseInt(_0x14b754(0x164))/0x8+parseInt(_0x14b754(0x156))/0x9;if(_0x5022de===_0x40fb28)break;else _0x1d285f['push'](_0x1d285f['shift']());}catch(_0x1d4e8e){_0x1d285f['push'](_0x1d285f['shift']());}}}(_0x56b8,0xb2eb1));import{View as _0x5409b8}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x5409b8{constructor(_0x3d81ba,_0x187c27){const _0x55216f=_0x5269;super(_0x3d81ba),this[_0x55216f(0x15b)]({'tag':_0x55216f(0x162),'attributes':{'class':['ck',_0x55216f(0x144)]},'children':this[_0x55216f(0x159)](_0x187c27)});}[_0x2921ee(0x159)](_0xf75b50){const _0x4e3514=_0x2921ee,_0x124fea=['ck',_0x4e3514(0x14e)];return _0xf75b50[_0x4e3514(0x149)](_0x447ffa=>{const _0x43badb=_0x4e3514;let _0x330fa7='';switch(_0x447ffa[_0x43badb(0x155)][_0x43badb(0x147)]){case _0x43badb(0x143):_0x330fa7=_0x43badb(0x150);break;case _0x43badb(0x15f):_0x330fa7=_0x43badb(0x145);break;case _0x43badb(0x142):_0x330fa7=_0x43badb(0x160);}return{'tag':_0x447ffa[_0x43badb(0x168)],'attributes':{'class':[..._0x124fea,_0x447ffa[_0x43badb(0x155)][_0x43badb(0x157)]?_0x447ffa[_0x43badb(0x155)][_0x43badb(0x157)]:''],'style':_0x43badb(0x153)+_0x447ffa[_0x43badb(0x155)][_0x43badb(0x15a)]+_0x43badb(0x148)+_0x447ffa[_0x43badb(0x155)][_0x43badb(0x161)]+';'+_0x330fa7}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x2921ee(0x162),'attributes':{'width':_0x2921ee(0x141),'height':_0x2921ee(0x166),'align':_0x2921ee(0x143)}},{'tag':_0x2921ee(0x162),'attributes':{'width':_0x2921ee(0x14d),'height':_0x2921ee(0x14a),'align':_0x2921ee(0x143)}},{'tag':_0x2921ee(0x162),'attributes':{'width':_0x2921ee(0x141),'height':_0x2921ee(0x152),'align':_0x2921ee(0x143)}},{'tag':_0x2921ee(0x162),'attributes':{'width':_0x2921ee(0x15e),'height':_0x2921ee(0x14a),'align':_0x2921ee(0x143)}},{'tag':_0x2921ee(0x162),'attributes':{'width':_0x2921ee(0x141),'height':_0x2921ee(0x163),'align':_0x2921ee(0x143)}},{'tag':_0x2921ee(0x162),'attributes':{'width':_0x2921ee(0x14d),'height':_0x2921ee(0x14a),'align':_0x2921ee(0x143)}},{'tag':_0x2921ee(0x162),'attributes':{'width':_0x2921ee(0x141),'height':_0x2921ee(0x152),'align':_0x2921ee(0x143)}}],'aiHistory':ta(0x5,_0x2921ee(0x141),_0x2921ee(0x15d),_0x2921ee(0x143)),'aiChatResources':ta(0x8,_0x2921ee(0x141),_0x2921ee(0x15c),_0x2921ee(0x143)),'aiReviewChecks':[{'tag':_0x2921ee(0x162),'attributes':{'width':_0x2921ee(0x167),'height':_0x2921ee(0x15c),'align':_0x2921ee(0x142)}},{'tag':_0x2921ee(0x162),'attributes':{'width':_0x2921ee(0x141),'height':_0x2921ee(0x15c),'align':_0x2921ee(0x142)}},{'tag':_0x2921ee(0x162),'attributes':{'width':_0x2921ee(0x167),'height':_0x2921ee(0x15c),'align':_0x2921ee(0x142)}}]};function ta(_0x5f0d68,_0x2b8848,_0x21eef2,_0x5a3aec){const _0x2b6695=_0x2921ee;return new Array(_0x5f0d68)[_0x2b6695(0x14f)](null)[_0x2b6695(0x149)](()=>({'tag':_0x2b6695(0x162),'attributes':{'width':_0x2b8848,'height':_0x21eef2,'align':_0x5a3aec}}));}
23
+ const _0x3a6693=_0x29c9;function _0x57f4(){const _0x5edf8a=['height','88px','210pXkkGY','div','class','setTemplate','148BOIYBb','250px','100%','44px','24px','20997QdmbyS','width','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;',';\x20height:\x20','861646jABALD','right','1084523ztmQNy','ck-ai-skeleton','map','tag','width:\x20','align','center','245185cqtbUw','_createSkeletonItems','128px','4106637katNBP','1360dnJnOv','left','ck-ai-skeleton__item','499091HEYHHt','fill','150px','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','72px','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','attributes','140px','40px','34895vBBiWE','102kzmxEs'];_0x57f4=function(){return _0x5edf8a;};return _0x57f4();}(function(_0xe97ef3,_0x29f2db){const _0x21da8d=_0x29c9,_0x2a8b39=_0xe97ef3();while(!![]){try{const _0x334c70=-parseInt(_0x21da8d(0xda))/0x1+-parseInt(_0x21da8d(0xca))/0x2+parseInt(_0x21da8d(0xc6))/0x3*(-parseInt(_0x21da8d(0xeb))/0x4)+parseInt(_0x21da8d(0xd3))/0x5*(-parseInt(_0x21da8d(0xe4))/0x6)+-parseInt(_0x21da8d(0xe3))/0x7*(-parseInt(_0x21da8d(0xd7))/0x8)+-parseInt(_0x21da8d(0xd6))/0x9+-parseInt(_0x21da8d(0xe7))/0xa*(-parseInt(_0x21da8d(0xcc))/0xb);if(_0x334c70===_0x29f2db)break;else _0x2a8b39['push'](_0x2a8b39['shift']());}catch(_0x5469b9){_0x2a8b39['push'](_0x2a8b39['shift']());}}}(_0x57f4,0x6b340));function _0x29c9(_0x34b208,_0x3f970e){const _0x57f49c=_0x57f4();return _0x29c9=function(_0x29c9f1,_0x9eb81){_0x29c9f1=_0x29c9f1-0xc6;let _0x37c480=_0x57f49c[_0x29c9f1];return _0x37c480;},_0x29c9(_0x34b208,_0x3f970e);}import{View as _0x3220ea}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x3220ea{constructor(_0x597ce0,_0x3e0a40){const _0xe25eba=_0x29c9;super(_0x597ce0),this[_0xe25eba(0xea)]({'tag':_0xe25eba(0xe8),'attributes':{'class':['ck',_0xe25eba(0xcd)]},'children':this[_0xe25eba(0xd4)](_0x3e0a40)});}[_0x3a6693(0xd4)](_0x3fe236){const _0x417bc8=_0x3a6693,_0x4ec156=['ck',_0x417bc8(0xd9)];return _0x3fe236[_0x417bc8(0xce)](_0x1c3a42=>{const _0x2b9bd1=_0x417bc8;let _0x3002e9='';switch(_0x1c3a42[_0x2b9bd1(0xe0)][_0x2b9bd1(0xd1)]){case _0x2b9bd1(0xcb):_0x3002e9=_0x2b9bd1(0xdd);break;case _0x2b9bd1(0xd2):_0x3002e9=_0x2b9bd1(0xdf);break;case _0x2b9bd1(0xd8):_0x3002e9=_0x2b9bd1(0xc8);}return{'tag':_0x1c3a42[_0x2b9bd1(0xcf)],'attributes':{'class':[..._0x4ec156,_0x1c3a42[_0x2b9bd1(0xe0)][_0x2b9bd1(0xe9)]?_0x1c3a42[_0x2b9bd1(0xe0)][_0x2b9bd1(0xe9)]:''],'style':_0x2b9bd1(0xd0)+_0x1c3a42[_0x2b9bd1(0xe0)][_0x2b9bd1(0xc7)]+_0x2b9bd1(0xc9)+_0x1c3a42[_0x2b9bd1(0xe0)][_0x2b9bd1(0xe5)]+';'+_0x3002e9}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x3a6693(0xe8),'attributes':{'width':_0x3a6693(0xed),'height':_0x3a6693(0xde),'align':_0x3a6693(0xcb)}},{'tag':_0x3a6693(0xe8),'attributes':{'width':_0x3a6693(0xec),'height':_0x3a6693(0xe2),'align':_0x3a6693(0xcb)}},{'tag':_0x3a6693(0xe8),'attributes':{'width':_0x3a6693(0xed),'height':_0x3a6693(0xe6),'align':_0x3a6693(0xcb)}},{'tag':_0x3a6693(0xe8),'attributes':{'width':_0x3a6693(0xdc),'height':_0x3a6693(0xe2),'align':_0x3a6693(0xcb)}},{'tag':_0x3a6693(0xe8),'attributes':{'width':_0x3a6693(0xed),'height':_0x3a6693(0xe1),'align':_0x3a6693(0xcb)}},{'tag':_0x3a6693(0xe8),'attributes':{'width':_0x3a6693(0xec),'height':_0x3a6693(0xe2),'align':_0x3a6693(0xcb)}},{'tag':_0x3a6693(0xe8),'attributes':{'width':_0x3a6693(0xed),'height':_0x3a6693(0xe6),'align':_0x3a6693(0xcb)}}],'aiHistory':$i(0x5,_0x3a6693(0xed),_0x3a6693(0xee),_0x3a6693(0xcb)),'aiChatResources':$i(0x8,_0x3a6693(0xed),_0x3a6693(0xef),_0x3a6693(0xcb)),'aiReviewChecks':[{'tag':_0x3a6693(0xe8),'attributes':{'width':_0x3a6693(0xd5),'height':_0x3a6693(0xef),'align':_0x3a6693(0xd8)}},{'tag':_0x3a6693(0xe8),'attributes':{'width':_0x3a6693(0xed),'height':_0x3a6693(0xef),'align':_0x3a6693(0xd8)}},{'tag':_0x3a6693(0xe8),'attributes':{'width':_0x3a6693(0xd5),'height':_0x3a6693(0xef),'align':_0x3a6693(0xd8)}}]};function $i(_0x4ca2f2,_0x3d6f13,_0x5e5a6a,_0x4c54cc){const _0xada31f=_0x3a6693;return new Array(_0x4ca2f2)[_0xada31f(0xdb)](null)[_0xada31f(0xce)](()=>({'tag':_0xada31f(0xe8),'attributes':{'width':_0x3d6f13,'height':_0x5e5a6a,'align':_0x4c54cc}}));}
@@ -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(_0x2088d0,_0x9a0af){const _0x32e674=_0x7a9d,_0x32e2d7=_0x2088d0();while(!![]){try{const _0x32e378=parseInt(_0x32e674(0x10d))/0x1+parseInt(_0x32e674(0x10b))/0x2+-parseInt(_0x32e674(0x10f))/0x3*(parseInt(_0x32e674(0x108))/0x4)+-parseInt(_0x32e674(0x107))/0x5+parseInt(_0x32e674(0x105))/0x6*(-parseInt(_0x32e674(0x109))/0x7)+parseInt(_0x32e674(0x10c))/0x8*(parseInt(_0x32e674(0x10a))/0x9)+-parseInt(_0x32e674(0x112))/0xa;if(_0x32e378===_0x9a0af)break;else _0x32e2d7['push'](_0x32e2d7['shift']());}catch(_0x50b46d){_0x32e2d7['push'](_0x32e2d7['shift']());}}}(_0x6c3f,0x73f3e));function _0x6c3f(){const _0x429793=['806804sTgaDq','ck-ai-spinner','1867269MioKGE','ck-ai-spinner_','extendTemplate','2219410gVSqCJ','1023132NBoaNN','span','193745JmDXQC','4fBfdpC','14MPnbqx','153BCaXNz','462772oUMKue','311016vhxXzN'];_0x6c3f=function(){return _0x429793;};return _0x6c3f();}import{SpinnerView as _0x16f1f2}from'ckeditor5/src/ui.js';function _0x7a9d(_0xb39bc1,_0x366d47){const _0x6c3f65=_0x6c3f();return _0x7a9d=function(_0x7a9d60,_0x12df4a){_0x7a9d60=_0x7a9d60-0x105;let _0x5a1bf1=_0x6c3f65[_0x7a9d60];return _0x5a1bf1;},_0x7a9d(_0xb39bc1,_0x366d47);}export class AISpinnerView extends _0x16f1f2{constructor(_0x56e8e7=void 0x0){const _0x3427f1=_0x7a9d;super();const _0x3c38b2=_0x56e8e7?_0x3427f1(0x110)+_0x56e8e7:'';this[_0x3427f1(0x111)]({'tag':_0x3427f1(0x106),'attributes':{'class':[_0x3427f1(0x10e),_0x3c38b2]}});}}
23
+ function _0x1cd0(_0x1a8aec,_0x184b47){const _0x41d0f1=_0x41d0();return _0x1cd0=function(_0x1cd08b,_0x10791a){_0x1cd08b=_0x1cd08b-0xc9;let _0x2efd2e=_0x41d0f1[_0x1cd08b];return _0x2efd2e;},_0x1cd0(_0x1a8aec,_0x184b47);}(function(_0x6a802d,_0xdd78a5){const _0x278872=_0x1cd0,_0x98582b=_0x6a802d();while(!![]){try{const _0x4d0c25=-parseInt(_0x278872(0xd0))/0x1*(-parseInt(_0x278872(0xd3))/0x2)+parseInt(_0x278872(0xcd))/0x3+parseInt(_0x278872(0xca))/0x4+parseInt(_0x278872(0xcb))/0x5*(parseInt(_0x278872(0xce))/0x6)+-parseInt(_0x278872(0xcf))/0x7+parseInt(_0x278872(0xd5))/0x8+-parseInt(_0x278872(0xc9))/0x9;if(_0x4d0c25===_0xdd78a5)break;else _0x98582b['push'](_0x98582b['shift']());}catch(_0x70965c){_0x98582b['push'](_0x98582b['shift']());}}}(_0x41d0,0xa0570));function _0x41d0(){const _0x18e7a4=['ck-ai-spinner','7384QBTAOl','8867961xpbKnm','4547532sqSgSW','265HfhXVt','extendTemplate','1260012ASCvQe','20940uUaZaG','1009939onQXMd','21789lYokhz','span','ck-ai-spinner_','4tArUfE'];_0x41d0=function(){return _0x18e7a4;};return _0x41d0();}import{SpinnerView as _0x38a7de}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x38a7de{constructor(_0x40b9cd=void 0x0){const _0x53c45c=_0x1cd0;super();const _0xae3162=_0x40b9cd?_0x53c45c(0xd2)+_0x40b9cd:'';this[_0x53c45c(0xcc)]({'tag':_0x53c45c(0xd1),'attributes':{'class':[_0x53c45c(0xd4),_0xae3162]}});}}
@@ -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 _0x2c943f=_0x2d00;(function(_0x4138fb,_0x364573){const _0x24d381=_0x2d00,_0x3fa85b=_0x4138fb();while(!![]){try{const _0x4c9b92=-parseInt(_0x24d381(0x161))/0x1+-parseInt(_0x24d381(0x13b))/0x2+parseInt(_0x24d381(0x159))/0x3*(-parseInt(_0x24d381(0x14e))/0x4)+parseInt(_0x24d381(0x15e))/0x5*(parseInt(_0x24d381(0x15f))/0x6)+-parseInt(_0x24d381(0x134))/0x7+-parseInt(_0x24d381(0x15d))/0x8+parseInt(_0x24d381(0x138))/0x9;if(_0x4c9b92===_0x364573)break;else _0x3fa85b['push'](_0x3fa85b['shift']());}catch(_0x15bef4){_0x3fa85b['push'](_0x3fa85b['shift']());}}}(_0xf741,0x4859d));function _0x2d00(_0x131936,_0x2c9128){const _0xf7418=_0xf741();return _0x2d00=function(_0x2d009b,_0x4589cf){_0x2d009b=_0x2d009b-0x131;let _0x1fac1b=_0xf7418[_0x2d009b];return _0x1fac1b;},_0x2d00(_0x131936,_0x2c9128);}import{ButtonView as _0x1f1832,IconView as _0x9773a,ToolbarView as _0x21d46f}from'ckeditor5/src/ui.js';import{IconCheck as _0x46211b,IconCopy as _0x55c74d,IconShowChangesOff as _0x25a30a,IconShowChangesOn as _0x4ffe39,IconThumbDown as _0x4b9427,IconThumbUp as _0x25d0a9}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2f0b28}from'../../utils/common-translations.js';function _0xf741(){const _0x2ec188=['isLoading','AI_MINI_TOOLBAR_LIKE','isOn','73470hRxvSV','length','ck-ai-mini-toolbar-copy-button__check-mark','_setupRatingButtons','2800128FqkqyB','3185TldJmt','228wRJXzv','addMany','155796OIIgzf','children','isEnabled','toggleShowChanges','likeButton','3668987GMLfCv','set','customView','locale','14944293BAtJiB','showLike','dislike','569822RDxfzl','_config','copyButton','class','AI_SUGGESTION_BUTTON_SHOW_CHANGES','ck-ai-mini-toolbar-copy-button','execute','add','AI_MINI_TOOLBAR_COPY','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','like','showChangesButton','items','fire','ck-ai-mini-toolbar\x20ck-hidden','full','ck-ai-mini-toolbar','showChanges','_setupCopyButton','12PjAbHx','AI_MINI_TOOLBAR_DISLIKE','_setupShowChangesButton','bind','showDislike','dislikeButton','showCopy','extendTemplate'];_0xf741=function(){return _0x2ec188;};return _0xf741();}export class AIMiniToolbarView extends _0x21d46f{[_0x2c943f(0x13d)];[_0x2c943f(0x133)];[_0x2c943f(0x153)];[_0x2c943f(0x146)];[_0x2c943f(0x13c)];constructor(_0x389c19,_0x3c6544={},_0x53c426){const _0x728eda=_0x2c943f;super(_0x389c19),this[_0x728eda(0x135)](_0x728eda(0x156),!0x1),this[_0x728eda(0x13c)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x3c6544};const _0x485d62=!(this[_0x728eda(0x13c)][_0x728eda(0x154)]||this[_0x728eda(0x13c)][_0x728eda(0x14c)]||this[_0x728eda(0x13c)][_0x728eda(0x139)]||this[_0x728eda(0x13c)][_0x728eda(0x152)]||this[_0x728eda(0x13c)][_0x728eda(0x136)]?.[_0x728eda(0x15a)]);this[_0x728eda(0x13e)]=_0x485d62?_0x728eda(0x149):_0x728eda(0x14b),this[_0x728eda(0x13c)][_0x728eda(0x154)]&&(this[_0x728eda(0x14d)](),this[_0x728eda(0x147)][_0x728eda(0x142)](this[_0x728eda(0x13d)])),this[_0x728eda(0x13c)][_0x728eda(0x14c)]&&(this[_0x728eda(0x150)](_0x53c426),this[_0x728eda(0x147)][_0x728eda(0x142)](this[_0x728eda(0x146)])),this[_0x728eda(0x15c)](),this[_0x728eda(0x13c)][_0x728eda(0x139)]&&this[_0x728eda(0x147)][_0x728eda(0x142)](this[_0x728eda(0x133)]),this[_0x728eda(0x13c)][_0x728eda(0x152)]&&this[_0x728eda(0x147)][_0x728eda(0x142)](this[_0x728eda(0x153)]),this[_0x728eda(0x13c)][_0x728eda(0x136)]&&this[_0x728eda(0x147)][_0x728eda(0x160)](this[_0x728eda(0x13c)][_0x728eda(0x136)]);}[_0x2c943f(0x15c)](){const _0x426782=_0x2c943f;this[_0x426782(0x133)]=new _0x1f1832(this[_0x426782(0x137)]),this[_0x426782(0x133)][_0x426782(0x135)]({'icon':_0x25d0a9,'label':_0x2f0b28(this[_0x426782(0x137)],_0x426782(0x157)),'tooltip':!0x0}),this[_0x426782(0x133)][_0x426782(0x151)](_0x426782(0x131))['to'](this,_0x426782(0x156),_0x114f3f=>!_0x114f3f),this[_0x426782(0x133)]['on'](_0x426782(0x141),()=>{const _0xd0eb64=_0x426782;this[_0xd0eb64(0x148)](_0xd0eb64(0x145));}),this[_0x426782(0x153)]=new _0x1f1832(this[_0x426782(0x137)]),this[_0x426782(0x153)][_0x426782(0x135)]({'icon':_0x4b9427,'label':_0x2f0b28(this[_0x426782(0x137)],_0x426782(0x14f)),'tooltip':!0x0}),this[_0x426782(0x153)][_0x426782(0x151)](_0x426782(0x131))['to'](this,_0x426782(0x156),_0x43e304=>!_0x43e304),this[_0x426782(0x153)]['on'](_0x426782(0x141),()=>{const _0x5da39c=_0x426782;this[_0x5da39c(0x148)](_0x5da39c(0x13a));});}[_0x2c943f(0x14d)](){const _0xd7502a=_0x2c943f;this[_0xd7502a(0x13d)]=new _0x1f1832(this[_0xd7502a(0x137)]),this[_0xd7502a(0x13d)][_0xd7502a(0x135)]({'icon':_0x55c74d,'label':_0x2f0b28(this[_0xd7502a(0x137)],_0xd7502a(0x143)),'class':_0xd7502a(0x140),'tooltip':!0x0}),this[_0xd7502a(0x13d)][_0xd7502a(0x151)](_0xd7502a(0x131))['to'](this,_0xd7502a(0x156),_0x3e9fca=>!_0x3e9fca);const _0x3cc4ff=new _0x9773a();_0x3cc4ff[_0xd7502a(0x135)]({'content':_0x46211b}),_0x3cc4ff[_0xd7502a(0x155)]({'attributes':{'class':[_0xd7502a(0x15b)]}}),this[_0xd7502a(0x13d)]['on'](_0xd7502a(0x141),()=>{const _0x4da56d=_0xd7502a;this[_0x4da56d(0x13d)][_0x4da56d(0x13e)]=_0x4da56d(0x144),setTimeout(()=>{const _0x1d19ba=_0x4da56d;this[_0x1d19ba(0x13d)][_0x1d19ba(0x13e)]=_0x1d19ba(0x140);},0x7d0);}),this[_0xd7502a(0x13d)][_0xd7502a(0x162)][_0xd7502a(0x142)](_0x3cc4ff);}[_0x2c943f(0x150)](_0x38569e){const _0x49b038=_0x2c943f;this[_0x49b038(0x146)]=new _0x1f1832(this[_0x49b038(0x137)]),this[_0x49b038(0x146)][_0x49b038(0x135)]({'icon':_0x25a30a,'label':_0x2f0b28(this[_0x49b038(0x137)],_0x49b038(0x13f)),'withText':_0x49b038(0x14a)==this[_0x49b038(0x13c)][_0x49b038(0x14c)],'tooltip':_0x49b038(0x14a)!=this[_0x49b038(0x13c)][_0x49b038(0x14c)],'isOn':_0x38569e}),this[_0x49b038(0x146)][_0x49b038(0x151)](_0x49b038(0x131))['to'](this,_0x49b038(0x156),_0x4d110e=>!_0x4d110e),this[_0x49b038(0x146)]['on'](_0x49b038(0x141),()=>{const _0x2f3a6e=_0x49b038,_0x2317fe=!this[_0x2f3a6e(0x146)][_0x2f3a6e(0x158)];this[_0x2f3a6e(0x146)][_0x2f3a6e(0x135)]({'isOn':_0x2317fe,'icon':_0x2317fe?_0x4ffe39:_0x25a30a}),this[_0x2f3a6e(0x148)](_0x2f3a6e(0x132),_0x2317fe);});}}
23
+ function _0x5a47(_0x3c69d1,_0x2b312e){const _0x52549a=_0x5254();return _0x5a47=function(_0x5a4741,_0x91b9be){_0x5a4741=_0x5a4741-0x1a8;let _0x4c958a=_0x52549a[_0x5a4741];return _0x4c958a;},_0x5a47(_0x3c69d1,_0x2b312e);}const _0x543529=_0x5a47;(function(_0x5a6b4a,_0x8a8f99){const _0x4b4c06=_0x5a47,_0x313112=_0x5a6b4a();while(!![]){try{const _0x46dbc8=-parseInt(_0x4b4c06(0x1c0))/0x1*(-parseInt(_0x4b4c06(0x1cf))/0x2)+-parseInt(_0x4b4c06(0x1b0))/0x3*(-parseInt(_0x4b4c06(0x1c8))/0x4)+parseInt(_0x4b4c06(0x1c1))/0x5*(-parseInt(_0x4b4c06(0x1c3))/0x6)+parseInt(_0x4b4c06(0x1ce))/0x7+-parseInt(_0x4b4c06(0x1b7))/0x8+-parseInt(_0x4b4c06(0x1b2))/0x9*(-parseInt(_0x4b4c06(0x1db))/0xa)+-parseInt(_0x4b4c06(0x1af))/0xb;if(_0x46dbc8===_0x8a8f99)break;else _0x313112['push'](_0x313112['shift']());}catch(_0x1f1c88){_0x313112['push'](_0x313112['shift']());}}}(_0x5254,0xd26f9));import{ButtonView as _0x336362,IconView as _0x226b6b,ToolbarView as _0x26c809}from'ckeditor5/src/ui.js';import{IconCheck as _0x4fa955,IconCopy as _0x1021eb,IconShowChangesOff as _0x1cee5e,IconShowChangesOn as _0xa44fd7,IconThumbDown as _0x4a9a0f,IconThumbUp as _0x2e25c3}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x218bf5}from'../../utils/common-translations.js';function _0x5254(){const _0x30c157=['toggleShowChanges','set','extendTemplate','items','AI_SUGGESTION_BUTTON_SHOW_CHANGES','showChangesButton','fire','AI_MINI_TOOLBAR_LIKE','21431wpyAEO','10IKPgPr','AI_MINI_TOOLBAR_DISLIKE','3804564mTfenm','AI_MINI_TOOLBAR_COPY','children','copyButton','class','712788welUNx','add','_setupCopyButton','ck-ai-mini-toolbar\x20ck-hidden','_config','_setupRatingButtons','5247564EMTHSQ','64RHKRCu','showLike','dislikeButton','execute','showChanges','ck-ai-mini-toolbar','like','full','ck-ai-mini-toolbar-copy-button','dislike','isOn','isLoading','20CILHRR','_setupShowChangesButton','showDislike','showCopy','ck-ai-mini-toolbar-copy-button__check-mark','length','locale','bind','9134774wUBiDc','18FDjSEK','isEnabled','4097106JiNGRi','likeButton','customView','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','addMany','3636216vMWIDP'];_0x5254=function(){return _0x30c157;};return _0x5254();}export class AIMiniToolbarView extends _0x26c809{[_0x543529(0x1c6)];[_0x543529(0x1b3)];[_0x543529(0x1d1)];[_0x543529(0x1bd)];[_0x543529(0x1cc)];constructor(_0x54cc23,_0x42a384={},_0x17b26d){const _0x306b0f=_0x543529;super(_0x54cc23),this[_0x306b0f(0x1b9)](_0x306b0f(0x1da),!0x1),this[_0x306b0f(0x1cc)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x42a384};const _0x5159b1=!(this[_0x306b0f(0x1cc)][_0x306b0f(0x1aa)]||this[_0x306b0f(0x1cc)][_0x306b0f(0x1d3)]||this[_0x306b0f(0x1cc)][_0x306b0f(0x1d0)]||this[_0x306b0f(0x1cc)][_0x306b0f(0x1a9)]||this[_0x306b0f(0x1cc)][_0x306b0f(0x1b4)]?.[_0x306b0f(0x1ac)]);this[_0x306b0f(0x1c7)]=_0x5159b1?_0x306b0f(0x1cb):_0x306b0f(0x1d4),this[_0x306b0f(0x1cc)][_0x306b0f(0x1aa)]&&(this[_0x306b0f(0x1ca)](),this[_0x306b0f(0x1bb)][_0x306b0f(0x1c9)](this[_0x306b0f(0x1c6)])),this[_0x306b0f(0x1cc)][_0x306b0f(0x1d3)]&&(this[_0x306b0f(0x1a8)](_0x17b26d),this[_0x306b0f(0x1bb)][_0x306b0f(0x1c9)](this[_0x306b0f(0x1bd)])),this[_0x306b0f(0x1cd)](),this[_0x306b0f(0x1cc)][_0x306b0f(0x1d0)]&&this[_0x306b0f(0x1bb)][_0x306b0f(0x1c9)](this[_0x306b0f(0x1b3)]),this[_0x306b0f(0x1cc)][_0x306b0f(0x1a9)]&&this[_0x306b0f(0x1bb)][_0x306b0f(0x1c9)](this[_0x306b0f(0x1d1)]),this[_0x306b0f(0x1cc)][_0x306b0f(0x1b4)]&&this[_0x306b0f(0x1bb)][_0x306b0f(0x1b6)](this[_0x306b0f(0x1cc)][_0x306b0f(0x1b4)]);}[_0x543529(0x1cd)](){const _0x11ee31=_0x543529;this[_0x11ee31(0x1b3)]=new _0x336362(this[_0x11ee31(0x1ad)]),this[_0x11ee31(0x1b3)][_0x11ee31(0x1b9)]({'icon':_0x2e25c3,'label':_0x218bf5(this[_0x11ee31(0x1ad)],_0x11ee31(0x1bf)),'tooltip':!0x0}),this[_0x11ee31(0x1b3)][_0x11ee31(0x1ae)](_0x11ee31(0x1b1))['to'](this,_0x11ee31(0x1da),_0x5e192e=>!_0x5e192e),this[_0x11ee31(0x1b3)]['on'](_0x11ee31(0x1d2),()=>{const _0x1d3aec=_0x11ee31;this[_0x1d3aec(0x1be)](_0x1d3aec(0x1d5));}),this[_0x11ee31(0x1d1)]=new _0x336362(this[_0x11ee31(0x1ad)]),this[_0x11ee31(0x1d1)][_0x11ee31(0x1b9)]({'icon':_0x4a9a0f,'label':_0x218bf5(this[_0x11ee31(0x1ad)],_0x11ee31(0x1c2)),'tooltip':!0x0}),this[_0x11ee31(0x1d1)][_0x11ee31(0x1ae)](_0x11ee31(0x1b1))['to'](this,_0x11ee31(0x1da),_0x453f10=>!_0x453f10),this[_0x11ee31(0x1d1)]['on'](_0x11ee31(0x1d2),()=>{const _0x457005=_0x11ee31;this[_0x457005(0x1be)](_0x457005(0x1d8));});}[_0x543529(0x1ca)](){const _0x323745=_0x543529;this[_0x323745(0x1c6)]=new _0x336362(this[_0x323745(0x1ad)]),this[_0x323745(0x1c6)][_0x323745(0x1b9)]({'icon':_0x1021eb,'label':_0x218bf5(this[_0x323745(0x1ad)],_0x323745(0x1c4)),'class':_0x323745(0x1d7),'tooltip':!0x0}),this[_0x323745(0x1c6)][_0x323745(0x1ae)](_0x323745(0x1b1))['to'](this,_0x323745(0x1da),_0x6ea2c1=>!_0x6ea2c1);const _0x5a707d=new _0x226b6b();_0x5a707d[_0x323745(0x1b9)]({'content':_0x4fa955}),_0x5a707d[_0x323745(0x1ba)]({'attributes':{'class':[_0x323745(0x1ab)]}}),this[_0x323745(0x1c6)]['on'](_0x323745(0x1d2),()=>{const _0x3c138f=_0x323745;this[_0x3c138f(0x1c6)][_0x3c138f(0x1c7)]=_0x3c138f(0x1b5),setTimeout(()=>{const _0xec3e78=_0x3c138f;this[_0xec3e78(0x1c6)][_0xec3e78(0x1c7)]=_0xec3e78(0x1d7);},0x7d0);}),this[_0x323745(0x1c6)][_0x323745(0x1c5)][_0x323745(0x1c9)](_0x5a707d);}[_0x543529(0x1a8)](_0x36e47f){const _0x5b41b0=_0x543529;this[_0x5b41b0(0x1bd)]=new _0x336362(this[_0x5b41b0(0x1ad)]),this[_0x5b41b0(0x1bd)][_0x5b41b0(0x1b9)]({'icon':_0x1cee5e,'label':_0x218bf5(this[_0x5b41b0(0x1ad)],_0x5b41b0(0x1bc)),'withText':_0x5b41b0(0x1d6)==this[_0x5b41b0(0x1cc)][_0x5b41b0(0x1d3)],'tooltip':_0x5b41b0(0x1d6)!=this[_0x5b41b0(0x1cc)][_0x5b41b0(0x1d3)],'isOn':_0x36e47f}),this[_0x5b41b0(0x1bd)][_0x5b41b0(0x1ae)](_0x5b41b0(0x1b1))['to'](this,_0x5b41b0(0x1da),_0x580767=>!_0x580767),this[_0x5b41b0(0x1bd)]['on'](_0x5b41b0(0x1d2),()=>{const _0x1cf60c=_0x5b41b0,_0x20b811=!this[_0x1cf60c(0x1bd)][_0x1cf60c(0x1d9)];this[_0x1cf60c(0x1bd)][_0x1cf60c(0x1b9)]({'isOn':_0x20b811,'icon':_0x20b811?_0xa44fd7:_0x1cee5e}),this[_0x1cf60c(0x1be)](_0x1cf60c(0x1b8),_0x20b811);});}}
@@ -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 _0x3769(_0x36eddc,_0x2bd2be){const _0x31ac00=_0x31ac();return _0x3769=function(_0x37699c,_0x22a8c6){_0x37699c=_0x37699c-0x1d1;let _0x5e0a62=_0x31ac00[_0x37699c];return _0x5e0a62;},_0x3769(_0x36eddc,_0x2bd2be);}const _0x10f7b3=_0x3769;(function(_0x2f1f7b,_0x5e4aa2){const _0x5731be=_0x3769,_0x1c3363=_0x2f1f7b();while(!![]){try{const _0x2bf008=parseInt(_0x5731be(0x1da))/0x1*(parseInt(_0x5731be(0x1d8))/0x2)+-parseInt(_0x5731be(0x1e7))/0x3+-parseInt(_0x5731be(0x1d1))/0x4*(-parseInt(_0x5731be(0x1fb))/0x5)+-parseInt(_0x5731be(0x1f7))/0x6+parseInt(_0x5731be(0x1db))/0x7*(parseInt(_0x5731be(0x1f4))/0x8)+-parseInt(_0x5731be(0x1f0))/0x9+-parseInt(_0x5731be(0x1d7))/0xa;if(_0x2bf008===_0x5e4aa2)break;else _0x1c3363['push'](_0x1c3363['shift']());}catch(_0x33c6e0){_0x1c3363['push'](_0x1c3363['shift']());}}}(_0x31ac,0x32b18));import{View as _0x105cc1}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x2c2e4d}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4e511f}from'../../utils/eventnames.js';import{PromiseQueue as _0x498bba}from'../../../aichat/utils/promisequeue.js';function _0x31ac(){const _0x6603b5=['_areActionsDisabled','queueEmptyPromise','empty-parts-warning','set','_availableActions','getPartView','setContent','locale','state','hasNonEmptyParts','add','some','hasPendingParts','partDefinition','_children','AI_SUGGESTION_NO_PARTS_WARNING','8BNuNPZ','filter','forEach','find','index','partsCount','4436700TXXUZi','36PXNodY','findIndex','12193zDqcRD','3409pVbIfO','abort','updateContent','enqueue','setTemplate','from','_emptyPartsWarningView','delegate','div','_updateContentPartsPromiseQueue','_showUnchangedParts','ck-ai-suggestion__body','413613diMhDl','updatePartState','hasChanges','AI_SUGGESTION_EMPTY_PART_WARNING','ck-ai-suggestion__body__content-parts','toggleHeader','warning','updateContentParts','push','294228edjokG','_cachedContentParts','addEventListener','createCollection','4528wejzxR','markAsDone','length','71046KXAhjb','pending','isVisible','first','846495AFXXKk'];_0x31ac=function(){return _0x6603b5;};return _0x31ac();}import{AIChatFeedErrorItemView as _0x2be458}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x260dba}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x105cc1{[_0x10f7b3(0x20a)];[_0x10f7b3(0x1fc)];[_0x10f7b3(0x1e5)];[_0x10f7b3(0x1e4)];[_0x10f7b3(0x1e1)];[_0x10f7b3(0x200)];[_0x10f7b3(0x1f1)]=[];constructor(_0x130bd4,_0x3ade7a){const _0xbf67f0=_0x10f7b3;super(_0x130bd4);const {areActionsDisabled:_0x3ccc3d,showUnchangedParts:_0x168340,availableActions:_0x1af362}=_0x3ade7a;this[_0xbf67f0(0x1fc)]=_0x3ccc3d,this[_0xbf67f0(0x1e5)]=_0x168340,this[_0xbf67f0(0x200)]=_0x1af362,this[_0xbf67f0(0x1ff)](_0xbf67f0(0x208),!0x1),this[_0xbf67f0(0x20a)]=this[_0xbf67f0(0x1f3)](),this[_0xbf67f0(0x1e4)]=new _0x498bba(),this[_0xbf67f0(0x1e1)]=new _0x2be458({'id':_0xbf67f0(0x1fe),'initialContent':_0x260dba(_0x130bd4,_0xbf67f0(0x1ea)),'level':_0xbf67f0(0x1ed)}),this[_0xbf67f0(0x1e1)][_0xbf67f0(0x1f9)]=!0x1,this[_0xbf67f0(0x1df)]({'tag':_0xbf67f0(0x1e3),'attributes':{'class':['ck',_0xbf67f0(0x1e6)]},'children':[{'tag':_0xbf67f0(0x1e3),'attributes':{'class':['ck',_0xbf67f0(0x1eb)]},'children':this[_0xbf67f0(0x20a)]},this[_0xbf67f0(0x1e1)]]});}get[_0x10f7b3(0x1d6)](){const _0x447e01=_0x10f7b3;return this[_0x447e01(0x20a)][_0x447e01(0x1f6)];}async[_0x10f7b3(0x1ee)]({parts:_0x1f66c1,renderingStrategy:_0x22499a,abortSignal:_0x51ded8}){const _0xdfe0a3=_0x10f7b3;this[_0xdfe0a3(0x20a)][_0xdfe0a3(0x1f6)]?_0x1f66c1[_0xdfe0a3(0x1d3)](_0x53baa0=>{const _0x2541ef=_0xdfe0a3,_0x16aa22=this[_0x2541ef(0x1f1)][_0x2541ef(0x1d9)](_0x43a95c=>_0x43a95c[_0x2541ef(0x1d5)]==_0x53baa0[_0x2541ef(0x1d5)]);-0x1===_0x16aa22?this[_0x2541ef(0x1f1)][_0x2541ef(0x1ef)](_0x53baa0):this[_0x2541ef(0x1f1)][_0x16aa22]=_0x53baa0;}):this[_0xdfe0a3(0x1f1)]=_0x1f66c1;for(const _0x723b8e of _0x1f66c1[_0xdfe0a3(0x1d2)](_0x30d3cb=>_0x30d3cb[_0xdfe0a3(0x1e9)]))this[_0xdfe0a3(0x1e4)][_0xdfe0a3(0x1de)](async _0xaaa271=>{const _0x494fe6=_0xdfe0a3;let _0x333591=this[_0x494fe6(0x201)](_0x723b8e[_0x494fe6(0x1d5)]);_0x333591||(_0x333591=new _0x2c2e4d(this[_0x494fe6(0x203)],{'part':_0x723b8e,'uiIndex':this[_0x494fe6(0x20a)][_0x494fe6(0x1f6)]+0x1,'areActionsDisabled':this[_0x494fe6(0x1fc)],'availableActions':this[_0x494fe6(0x200)]}),_0x333591[_0x494fe6(0x1e2)](..._0x4e511f)['to'](this),this[_0x494fe6(0x20a)][_0x494fe6(0x206)](_0x333591),this[_0x494fe6(0x208)]=!0x0),0x2===this[_0x494fe6(0x20a)][_0x494fe6(0x1f6)]&&this[_0x494fe6(0x20a)][_0x494fe6(0x1fa)][_0x494fe6(0x1ec)](!0x0),_0x333591[_0x494fe6(0x1ec)](this[_0x494fe6(0x20a)][_0x494fe6(0x1f6)]>0x1),await _0x333591[_0x494fe6(0x1dd)]({'part':_0x723b8e,'renderingStrategy':_0x22499a,'showUnchangedParts':this[_0x494fe6(0x1e5)],'abortSignal':_0xaaa271});});return _0x51ded8?.[_0xdfe0a3(0x1f2)](_0xdfe0a3(0x1dc),()=>{const _0x40cf59=_0xdfe0a3;this[_0x40cf59(0x1e4)][_0x40cf59(0x1dc)]();}),this[_0xdfe0a3(0x1e4)][_0xdfe0a3(0x1fd)];}[_0x10f7b3(0x1e8)](_0x344a82,_0xb1f00f){const _0x59a2c3=_0x10f7b3,_0x53e520=this[_0x59a2c3(0x201)](_0x344a82);_0x53e520&&(_0x53e520[_0x59a2c3(0x204)]=_0xb1f00f),this[_0x59a2c3(0x208)]=_0x59a2c3(0x1f8)==_0xb1f00f||Array[_0x59a2c3(0x1e0)](this[_0x59a2c3(0x20a)])[_0x59a2c3(0x207)](_0x402aee=>_0x59a2c3(0x1f8)==_0x402aee[_0x59a2c3(0x204)]);}[_0x10f7b3(0x201)](_0x157508){const _0x54083c=_0x10f7b3;return this[_0x54083c(0x20a)][_0x54083c(0x1d4)](_0x309264=>_0x309264[_0x54083c(0x209)][_0x54083c(0x1d5)]==_0x157508)??null;}[_0x10f7b3(0x1f5)](){const _0x4b4808=_0x10f7b3;if(!this[_0x4b4808(0x1e5)]){const _0x16a5d1=!this[_0x4b4808(0x1f1)][_0x4b4808(0x1d4)](({hasChanges:_0x5b7ac9})=>_0x5b7ac9),_0x4b6cd5=!!this[_0x4b4808(0x1f1)][_0x4b4808(0x1d4)](({hasChanges:_0x449078})=>!_0x449078);this[_0x4b4808(0x1e1)][_0x4b4808(0x1f9)]=0x0==this[_0x4b4808(0x20a)][_0x4b4808(0x1f6)]||_0x4b6cd5,_0x16a5d1?this[_0x4b4808(0x1e1)][_0x4b4808(0x202)](_0x260dba(this[_0x4b4808(0x203)],_0x4b4808(0x20b))):this[_0x4b4808(0x1e1)][_0x4b4808(0x202)](_0x260dba(this[_0x4b4808(0x203)],_0x4b4808(0x1ea)));}}get[_0x10f7b3(0x205)](){const _0xcd7e24=_0x10f7b3;return!!this[_0xcd7e24(0x20a)][_0xcd7e24(0x1d4)](_0x53adf6=>_0x53adf6[_0xcd7e24(0x209)][_0xcd7e24(0x1e9)]);}}
23
+ function _0x4b14(_0x23e59a,_0x3a1c7a){const _0x526f29=_0x526f();return _0x4b14=function(_0x4b1407,_0x44c216){_0x4b1407=_0x4b1407-0x1b3;let _0x4d0164=_0x526f29[_0x4b1407];return _0x4d0164;},_0x4b14(_0x23e59a,_0x3a1c7a);}const _0x5970f4=_0x4b14;(function(_0x5c4d5b,_0x161918){const _0x1915eb=_0x4b14,_0x1a5aa3=_0x5c4d5b();while(!![]){try{const _0x447980=parseInt(_0x1915eb(0x1c4))/0x1*(-parseInt(_0x1915eb(0x1e3))/0x2)+parseInt(_0x1915eb(0x1b5))/0x3+-parseInt(_0x1915eb(0x1d1))/0x4+-parseInt(_0x1915eb(0x1cb))/0x5+-parseInt(_0x1915eb(0x1ea))/0x6*(-parseInt(_0x1915eb(0x1c0))/0x7)+parseInt(_0x1915eb(0x1d0))/0x8*(-parseInt(_0x1915eb(0x1d7))/0x9)+parseInt(_0x1915eb(0x1c1))/0xa;if(_0x447980===_0x161918)break;else _0x1a5aa3['push'](_0x1a5aa3['shift']());}catch(_0x1b8648){_0x1a5aa3['push'](_0x1a5aa3['shift']());}}}(_0x526f,0x65637));function _0x526f(){const _0x36a68f=['53UAFnkZ','addEventListener','some','div','createCollection','set','ck-ai-suggestion__body__content-parts','3118960BxbbXX','_updateContentPartsPromiseQueue','updateContentParts','first','_emptyPartsWarningView','3109512BYaQJa','2955428xQtsyo','hasPendingParts','updateContent','_areActionsDisabled','AI_SUGGESTION_EMPTY_PART_WARNING','partsCount','9BQqjsw','findIndex','forEach','filter','from','isVisible','warning','setTemplate','add','hasChanges','empty-parts-warning','_availableActions','2326HmtFIB','push','state','pending','enqueue','locale','updatePartState','13206yTLlnK','ck-ai-suggestion__body','markAsDone','index','length','_showUnchangedParts','1911999VVmIEU','getPartView','partDefinition','setContent','_cachedContentParts','_children','toggleHeader','find','abort','delegate','queueEmptyPromise','252IDxdas','15116950VkRLxw','hasNonEmptyParts','AI_SUGGESTION_NO_PARTS_WARNING'];_0x526f=function(){return _0x36a68f;};return _0x526f();}import{View as _0x35b1c7}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x217719}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x18e273}from'../../utils/eventnames.js';import{PromiseQueue as _0x409ff0}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x88fc1b}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x1174f4}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x35b1c7{[_0x5970f4(0x1ba)];[_0x5970f4(0x1d4)];[_0x5970f4(0x1b4)];[_0x5970f4(0x1cc)];[_0x5970f4(0x1cf)];[_0x5970f4(0x1e2)];[_0x5970f4(0x1b9)]=[];constructor(_0x1e2376,_0xd6481b){const _0x831aee=_0x5970f4;super(_0x1e2376);const {areActionsDisabled:_0x3e3630,showUnchangedParts:_0x261d64,availableActions:_0x290f46}=_0xd6481b;this[_0x831aee(0x1d4)]=_0x3e3630,this[_0x831aee(0x1b4)]=_0x261d64,this[_0x831aee(0x1e2)]=_0x290f46,this[_0x831aee(0x1c9)](_0x831aee(0x1d2),!0x1),this[_0x831aee(0x1ba)]=this[_0x831aee(0x1c8)](),this[_0x831aee(0x1cc)]=new _0x409ff0(),this[_0x831aee(0x1cf)]=new _0x88fc1b({'id':_0x831aee(0x1e1),'initialContent':_0x1174f4(_0x1e2376,_0x831aee(0x1d5)),'level':_0x831aee(0x1dd)}),this[_0x831aee(0x1cf)][_0x831aee(0x1dc)]=!0x1,this[_0x831aee(0x1de)]({'tag':_0x831aee(0x1c7),'attributes':{'class':['ck',_0x831aee(0x1eb)]},'children':[{'tag':_0x831aee(0x1c7),'attributes':{'class':['ck',_0x831aee(0x1ca)]},'children':this[_0x831aee(0x1ba)]},this[_0x831aee(0x1cf)]]});}get[_0x5970f4(0x1d6)](){const _0x2d25be=_0x5970f4;return this[_0x2d25be(0x1ba)][_0x2d25be(0x1b3)];}async[_0x5970f4(0x1cd)]({parts:_0x945d7,renderingStrategy:_0x469d4d,abortSignal:_0x61b654}){const _0x3ffe5d=_0x5970f4;this[_0x3ffe5d(0x1ba)][_0x3ffe5d(0x1b3)]?_0x945d7[_0x3ffe5d(0x1d9)](_0x481d3d=>{const _0x3008df=_0x3ffe5d,_0x36dfc9=this[_0x3008df(0x1b9)][_0x3008df(0x1d8)](_0x2e9322=>_0x2e9322[_0x3008df(0x1ed)]==_0x481d3d[_0x3008df(0x1ed)]);-0x1===_0x36dfc9?this[_0x3008df(0x1b9)][_0x3008df(0x1e4)](_0x481d3d):this[_0x3008df(0x1b9)][_0x36dfc9]=_0x481d3d;}):this[_0x3ffe5d(0x1b9)]=_0x945d7;for(const _0x1e965d of _0x945d7[_0x3ffe5d(0x1da)](_0x1ab5b8=>_0x1ab5b8[_0x3ffe5d(0x1e0)]))this[_0x3ffe5d(0x1cc)][_0x3ffe5d(0x1e7)](async _0x1b0e74=>{const _0x66d224=_0x3ffe5d;let _0x3cd8e4=this[_0x66d224(0x1b6)](_0x1e965d[_0x66d224(0x1ed)]);_0x3cd8e4||(_0x3cd8e4=new _0x217719(this[_0x66d224(0x1e8)],{'part':_0x1e965d,'uiIndex':this[_0x66d224(0x1ba)][_0x66d224(0x1b3)]+0x1,'areActionsDisabled':this[_0x66d224(0x1d4)],'availableActions':this[_0x66d224(0x1e2)]}),_0x3cd8e4[_0x66d224(0x1be)](..._0x18e273)['to'](this),this[_0x66d224(0x1ba)][_0x66d224(0x1df)](_0x3cd8e4),this[_0x66d224(0x1d2)]=!0x0),0x2===this[_0x66d224(0x1ba)][_0x66d224(0x1b3)]&&this[_0x66d224(0x1ba)][_0x66d224(0x1ce)][_0x66d224(0x1bb)](!0x0),_0x3cd8e4[_0x66d224(0x1bb)](this[_0x66d224(0x1ba)][_0x66d224(0x1b3)]>0x1),await _0x3cd8e4[_0x66d224(0x1d3)]({'part':_0x1e965d,'renderingStrategy':_0x469d4d,'showUnchangedParts':this[_0x66d224(0x1b4)],'abortSignal':_0x1b0e74});});return _0x61b654?.[_0x3ffe5d(0x1c5)](_0x3ffe5d(0x1bd),()=>{const _0x43c18f=_0x3ffe5d;this[_0x43c18f(0x1cc)][_0x43c18f(0x1bd)]();}),this[_0x3ffe5d(0x1cc)][_0x3ffe5d(0x1bf)];}[_0x5970f4(0x1e9)](_0x345caf,_0x212096){const _0x22156c=_0x5970f4,_0x36c416=this[_0x22156c(0x1b6)](_0x345caf);_0x36c416&&(_0x36c416[_0x22156c(0x1e5)]=_0x212096),this[_0x22156c(0x1d2)]=_0x22156c(0x1e6)==_0x212096||Array[_0x22156c(0x1db)](this[_0x22156c(0x1ba)])[_0x22156c(0x1c6)](_0x1c0178=>_0x22156c(0x1e6)==_0x1c0178[_0x22156c(0x1e5)]);}[_0x5970f4(0x1b6)](_0x2316e4){const _0x376b9c=_0x5970f4;return this[_0x376b9c(0x1ba)][_0x376b9c(0x1bc)](_0x4d5071=>_0x4d5071[_0x376b9c(0x1b7)][_0x376b9c(0x1ed)]==_0x2316e4)??null;}[_0x5970f4(0x1ec)](){const _0x3298fe=_0x5970f4;if(!this[_0x3298fe(0x1b4)]){const _0x1ff53a=!this[_0x3298fe(0x1b9)][_0x3298fe(0x1bc)](({hasChanges:_0xbbbb9f})=>_0xbbbb9f),_0x275a61=!!this[_0x3298fe(0x1b9)][_0x3298fe(0x1bc)](({hasChanges:_0x3c57a2})=>!_0x3c57a2);this[_0x3298fe(0x1cf)][_0x3298fe(0x1dc)]=0x0==this[_0x3298fe(0x1ba)][_0x3298fe(0x1b3)]||_0x275a61,_0x1ff53a?this[_0x3298fe(0x1cf)][_0x3298fe(0x1b8)](_0x1174f4(this[_0x3298fe(0x1e8)],_0x3298fe(0x1c3))):this[_0x3298fe(0x1cf)][_0x3298fe(0x1b8)](_0x1174f4(this[_0x3298fe(0x1e8)],_0x3298fe(0x1d5)));}}get[_0x5970f4(0x1c2)](){const _0x1315f8=_0x5970f4;return!!this[_0x1315f8(0x1ba)][_0x1315f8(0x1bc)](_0xfa30ed=>_0xfa30ed[_0x1315f8(0x1b7)][_0x1315f8(0x1e0)]);}}
@@ -1,12 +1,12 @@
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
  /**
6
6
  * @module ai/aicore/ui/aisuggestioncontainer/aisuggestioncontainerview
7
7
  */
8
8
  import { type Locale } from 'ckeditor5/src/utils.js';
9
- import { View, type ViewCollection, ButtonView } from 'ckeditor5/src/ui.js';
9
+ import { View, type ViewCollection, ButtonView, BalloonPanelView, type BodyCollection } from 'ckeditor5/src/ui.js';
10
10
  import { type AIMiniToolbarConfig } from './aiminitoolbarview.js';
11
11
  import { type AISuggestionContentPartDefinition } from '../../utils/getsuggestionpartsfromreply.js';
12
12
  import { type AIContentRenderingStrategy } from './aisuggestioncontentpartview.js';
@@ -30,7 +30,7 @@ export declare class AISuggestionContainerView extends View<HTMLDivElement> {
30
30
  /**
31
31
  * @inheritDoc
32
32
  */
33
- constructor(locale: Locale, options: AISuggestionContainerViewOptions);
33
+ constructor(locale: Locale, options: AISuggestionContainerViewOptions, bodyCollection: BodyCollection);
34
34
  updateContent(options: {
35
35
  parts: Array<AISuggestionContentPartDefinition>;
36
36
  renderingStrategy: AIContentRenderingStrategy;
@@ -92,8 +92,8 @@ export type AISuggestionContainerViewOptions = {
92
92
  export declare class AIWebSourcesView extends View {
93
93
  children: ViewCollection;
94
94
  isVisible: boolean;
95
- constructor(locale: Locale);
95
+ constructor(locale: Locale, bodyCollection: BodyCollection);
96
96
  }
97
97
  export declare class AIWebSourceView extends ButtonView {
98
- constructor(locale: Locale, source: AIReplySource);
98
+ constructor(locale: Locale, source: AIReplySource, balloonPanelView: BalloonPanelView);
99
99
  }
@@ -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 _0x385f(){const _0x530eee=['clearLoading','AI_CHAT_SOURCES_HEADER','585624ccDPRx','div','errorView','fire','setErrorState','clearErrorState','60zyqzaf','bodyView','showLoader','querySelector','306qERDvb','_blank','ck-ai-suggestion__error','isOn','setTemplate','isShowChangesToggleVisible','icon','2KqAZgM','setLoading','textContent','showError','ck-ai-suggestion__container','_createErrorView','url','2448YBvosq','sourcesView','.ck-ai-suggestion__error-text','toggleSuggestionDisplayMode','bindTemplate','hideLoader','ck-hidden','showChangesToggleView','119fqKmIg','markAsDone','6449963mKitZl','ck-ai-web-sources','isErrorVisible','hideError','content','ck-ai-web-source__image','2200gCDfVo','delegate','ck-ai-suggestion__error-text','toggleShowChanges','ck-ai-web-sources__header','locale','1001192NGfcch','updateContent','hasNonEmptyParts','ck-ai-suggestion__loader-text','isEnabled','159984vQKmrN','AI_CHAT_IS_WRITING','miniToolbarView','span','extendTemplate','70758hHKBkF','createCollection','ck-rounded-corners','AI_CHAT_GENERIC_ERROR','map','updateSources','areChangesVisible','headerView','ck-ai-suggestion__loader','50055AwpOnN','87307JTmPOd','addNavigationItem','small','updateContentParts','set','isLoading','loaderView','addMany','favicon','img','items','isLoaderVisible','element','children','open','remove','_createLoaderView','isVisible','removeNavigationItem','ck\x20ck-ai-web-source','title','add','bind'];_0x385f=function(){return _0x530eee;};return _0x385f();}const _0x16d3b8=_0x2d15;(function(_0xb25ee5,_0x142662){const _0x160a9b=_0x2d15,_0xe457f7=_0xb25ee5();while(!![]){try{const _0x4cebc0=parseInt(_0x160a9b(0x203))/0x1*(-parseInt(_0x160a9b(0x241))/0x2)+parseInt(_0x160a9b(0x208))/0x3*(parseInt(_0x160a9b(0x236))/0x4)+parseInt(_0x160a9b(0x216))/0x5*(-parseInt(_0x160a9b(0x23a))/0x6)+-parseInt(_0x160a9b(0x1f5))/0x7*(-parseInt(_0x160a9b(0x230))/0x8)+-parseInt(_0x160a9b(0x20d))/0x9*(parseInt(_0x160a9b(0x1fd))/0xa)+-parseInt(_0x160a9b(0x217))/0xb*(-parseInt(_0x160a9b(0x1ed))/0xc)+parseInt(_0x160a9b(0x1f7))/0xd;if(_0x4cebc0===_0x142662)break;else _0xe457f7['push'](_0xe457f7['shift']());}catch(_0x18b91b){_0xe457f7['push'](_0xe457f7['shift']());}}}(_0x385f,0xe0305));import{IconWeb as _0x2e4d2b}from'@ckeditor/ckeditor5-icons';import{View as _0x24de8e,ButtonView as _0x5c0521,IconView as _0x107ad1}from'ckeditor5/src/ui.js';function _0x2d15(_0x34922e,_0x293d53){const _0x385f28=_0x385f();return _0x2d15=function(_0x2d1510,_0x4390fd){_0x2d1510=_0x2d1510-0x1ed;let _0xa6bc43=_0x385f28[_0x2d1510];return _0xa6bc43;},_0x2d15(_0x34922e,_0x293d53);}import{AIMiniToolbarView as _0x25c882}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x25182f}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x1d421b}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x35f848}from'../../utils/eventnames.js';import{AISpinnerView as _0x54553b}from'../aispinner.js';import{getTranslation as _0x43c9c7}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x24de8e{[_0x16d3b8(0x237)];[_0x16d3b8(0x20a)];[_0x16d3b8(0x224)];[_0x16d3b8(0x214)];[_0x16d3b8(0x21d)];[_0x16d3b8(0x232)];[_0x16d3b8(0x1ee)];constructor(_0x152510,_0xcea82){const _0x175526=_0x16d3b8;super(_0x152510);const {showDiff:_0x42acc6,areActionsDisabled:_0x6cf653,miniToolbarConfig:_0x414624,hideHeader:_0x32661b,showLoader:_0x314c93,showUnchangedParts:_0x5a49ff,availableActions:_0x3229e8}=_0xcea82;this[_0x175526(0x21b)](_0x175526(0x213),!0x1),this[_0x175526(0x21b)](_0x175526(0x222),!!_0x314c93),this[_0x175526(0x21b)](_0x175526(0x1f9),!0x1),this[_0x175526(0x21b)](_0x175526(0x21c),!0x1),this[_0x175526(0x224)]=this[_0x175526(0x20e)](),_0x32661b||(this[_0x175526(0x214)]=new _0x25182f(_0x152510,{'showDiff':_0x42acc6}),this[_0x175526(0x214)]['on'](_0x175526(0x200),(_0x4ea3e8,_0x5b6f24)=>{const _0x2030ce=_0x175526;this[_0x2030ce(0x213)]=_0x5b6f24[_0x2030ce(0x23d)],this[_0x2030ce(0x233)](_0x2030ce(0x1f0),{'showDiff':_0x5b6f24[_0x2030ce(0x23d)]});}),this[_0x175526(0x224)][_0x175526(0x22c)](this[_0x175526(0x214)])),this[_0x175526(0x237)]=new _0x1d421b(_0x152510,{'areActionsDisabled':_0x6cf653,'showUnchangedParts':!!_0x5a49ff,'availableActions':_0x3229e8}),this[_0x175526(0x237)][_0x175526(0x1fe)](..._0x35f848)['to'](this),this[_0x175526(0x237)][_0x175526(0x20c)]({'attributes':{'class':[this[_0x175526(0x1f1)]['if'](_0x175526(0x222),_0x175526(0x1f3)),this[_0x175526(0x1f1)]['if'](_0x175526(0x1f9),_0x175526(0x1f3))]}}),this[_0x175526(0x20a)]=new _0x25c882(_0x152510,_0x414624,_0x42acc6),this[_0x175526(0x20a)][_0x175526(0x1fe)](..._0x35f848)['to'](this),this[_0x175526(0x20a)]['on'](_0x175526(0x200),(_0x2011e9,_0x4b1ab1)=>{const _0x400e5a=_0x175526;this[_0x400e5a(0x213)]=_0x4b1ab1,this[_0x400e5a(0x233)](_0x400e5a(0x1f0),{'showDiff':_0x4b1ab1});}),this[_0x175526(0x20a)][_0x175526(0x22d)](_0x175526(0x21c))['to'](this),this[_0x175526(0x224)][_0x175526(0x22c)](this[_0x175526(0x237)]),this[_0x175526(0x224)][_0x175526(0x22c)](this[_0x175526(0x20a)]),this[_0x175526(0x1ee)]=new AIWebSourcesView(this[_0x175526(0x202)]),this[_0x175526(0x224)][_0x175526(0x22c)](this[_0x175526(0x1ee)]),_0x314c93&&(this[_0x175526(0x21d)]=this[_0x175526(0x227)](),this[_0x175526(0x224)][_0x175526(0x22c)](this[_0x175526(0x21d)])),this[_0x175526(0x232)]=this[_0x175526(0x246)](),this[_0x175526(0x224)][_0x175526(0x22c)](this[_0x175526(0x232)]),this[_0x175526(0x23e)]({'tag':_0x175526(0x231),'attributes':{'class':['ck',_0x175526(0x245),_0x175526(0x20f)]},'children':this[_0x175526(0x224)]});}async[_0x16d3b8(0x204)](_0x584a66){const _0x23261d=_0x16d3b8;await this[_0x23261d(0x237)][_0x23261d(0x21a)](_0x584a66);}[_0x16d3b8(0x212)](_0x51b078){const _0x21310d=_0x16d3b8;this[_0x21310d(0x1ee)][_0x21310d(0x224)][_0x21310d(0x21e)](_0x51b078[_0x21310d(0x211)](_0x8f33a3=>new AIWebSourceView(this[_0x21310d(0x202)],_0x8f33a3))),this[_0x21310d(0x1ee)][_0x21310d(0x228)]=!0x0;}[_0x16d3b8(0x238)](){const _0x49b44e=_0x16d3b8;this[_0x49b44e(0x21d)]&&(this[_0x49b44e(0x222)]=!0x0);}[_0x16d3b8(0x1f2)](){const _0x3731d2=_0x16d3b8;this[_0x3731d2(0x21d)]&&(this[_0x3731d2(0x222)]=!0x1);}[_0x16d3b8(0x244)](_0xb9ad3e){const _0x52a8db=_0x16d3b8;if(this[_0x52a8db(0x232)]){const _0x486a86=this[_0x52a8db(0x232)][_0x52a8db(0x223)]?.[_0x52a8db(0x239)](_0x52a8db(0x1ef));_0x486a86&&(_0x486a86[_0x52a8db(0x243)]=_0xb9ad3e),this[_0x52a8db(0x1f9)]=!0x0;}}[_0x16d3b8(0x1fa)](){const _0x46d69d=_0x16d3b8;this[_0x46d69d(0x232)]&&(this[_0x46d69d(0x1f9)]=!0x1);}[_0x16d3b8(0x1f6)](){const _0x48d028=_0x16d3b8;this[_0x48d028(0x237)][_0x48d028(0x1f6)](),this[_0x48d028(0x214)]&&(this[_0x48d028(0x214)][_0x48d028(0x23f)]=this[_0x48d028(0x237)][_0x48d028(0x205)]);}[_0x16d3b8(0x242)](){const _0x261cb5=_0x16d3b8;this[_0x261cb5(0x21c)]=!0x0;}[_0x16d3b8(0x22e)](){const _0x167aee=_0x16d3b8;this[_0x167aee(0x21c)]=!0x1;}[_0x16d3b8(0x234)](){const _0x13de5b=_0x16d3b8;this[_0x13de5b(0x20a)]&&(this[_0x13de5b(0x20a)][_0x13de5b(0x21c)]=!0x0),this[_0x13de5b(0x214)]?.[_0x13de5b(0x1f4)]&&(this[_0x13de5b(0x214)][_0x13de5b(0x1f4)][_0x13de5b(0x207)]=!0x1);}[_0x16d3b8(0x235)](){const _0x14cce4=_0x16d3b8;this[_0x14cce4(0x20a)]&&(this[_0x14cce4(0x20a)][_0x14cce4(0x21c)]=!0x1),this[_0x14cce4(0x214)]?.[_0x14cce4(0x1f4)]&&(this[_0x14cce4(0x214)][_0x14cce4(0x1f4)][_0x14cce4(0x207)]=!0x0);}[_0x16d3b8(0x218)](_0x217f09){const _0xfb4ef3=_0x16d3b8;this[_0xfb4ef3(0x20a)][_0xfb4ef3(0x221)][_0xfb4ef3(0x22c)](_0x217f09);}[_0x16d3b8(0x229)](_0x4f778c){const _0x2c807c=_0x16d3b8;this[_0x2c807c(0x20a)][_0x2c807c(0x221)][_0x2c807c(0x226)](_0x4f778c);}[_0x16d3b8(0x227)](){const _0x2d1bfe=_0x16d3b8,_0xce0184=new _0x24de8e(this[_0x2d1bfe(0x202)]),_0x3bfe02=new _0x54553b(_0x2d1bfe(0x219));_0x3bfe02[_0x2d1bfe(0x228)]=!0x0;const _0x554816=new _0x24de8e(this[_0x2d1bfe(0x202)]);return _0x554816[_0x2d1bfe(0x23e)]({'tag':_0x2d1bfe(0x20b),'attributes':{'class':['ck',_0x2d1bfe(0x206)]},'children':[_0x43c9c7(this[_0x2d1bfe(0x202)],_0x2d1bfe(0x209))]}),_0xce0184[_0x2d1bfe(0x23e)]({'tag':_0x2d1bfe(0x231),'attributes':{'class':['ck',_0x2d1bfe(0x215),this[_0x2d1bfe(0x1f1)]['if'](_0x2d1bfe(0x222),_0x2d1bfe(0x1f3),_0x18a05f=>!_0x18a05f)]},'children':[_0x3bfe02,_0x554816]}),_0xce0184;}[_0x16d3b8(0x246)](){const _0x3dc31c=_0x16d3b8,_0x524afb=new _0x24de8e(this[_0x3dc31c(0x202)]),_0x438042=new _0x24de8e(this[_0x3dc31c(0x202)]);return _0x438042[_0x3dc31c(0x23e)]({'tag':_0x3dc31c(0x20b),'attributes':{'class':['ck',_0x3dc31c(0x1ff)]},'children':[_0x43c9c7(this[_0x3dc31c(0x202)],_0x3dc31c(0x210))]}),_0x524afb[_0x3dc31c(0x23e)]({'tag':_0x3dc31c(0x231),'attributes':{'class':['ck',_0x3dc31c(0x23c),this[_0x3dc31c(0x1f1)]['if'](_0x3dc31c(0x1f9),_0x3dc31c(0x1f3),_0x5b1333=>!_0x5b1333)]},'children':[_0x438042]}),_0x524afb;}}export class AIWebSourcesView extends _0x24de8e{[_0x16d3b8(0x224)];constructor(_0x20bd1b){const _0x50c11e=_0x16d3b8;super(_0x20bd1b),this[_0x50c11e(0x224)]=this[_0x50c11e(0x20e)](),this[_0x50c11e(0x21b)](_0x50c11e(0x228),!0x1),this[_0x50c11e(0x23e)]({'tag':_0x50c11e(0x231),'attributes':{'class':['ck',_0x50c11e(0x1f8),this[_0x50c11e(0x1f1)]['if'](_0x50c11e(0x228),_0x50c11e(0x1f3),_0x4ff35b=>!_0x4ff35b)]},'children':this[_0x50c11e(0x224)]});const _0x33277f=new _0x24de8e(this[_0x50c11e(0x202)]),_0x314014=new _0x107ad1();_0x314014[_0x50c11e(0x1fb)]=_0x2e4d2b,_0x33277f[_0x50c11e(0x23e)]({'tag':_0x50c11e(0x231),'attributes':{'class':['ck',_0x50c11e(0x201)]},'children':[_0x314014,{'tag':_0x50c11e(0x20b),'children':[{'text':_0x43c9c7(this[_0x50c11e(0x202)],_0x50c11e(0x22f))}]}]}),this[_0x50c11e(0x224)][_0x50c11e(0x22c)](_0x33277f);}}export class AIWebSourceView extends _0x5c0521{constructor(_0x5827cf,_0x47afaa){const _0x38709e=_0x16d3b8;super(_0x5827cf),this[_0x38709e(0x21b)]({'label':_0x47afaa[_0x38709e(0x22b)],'tooltip':_0x47afaa[_0x38709e(0x22b)],'class':[_0x38709e(0x22a)],'withText':!0x0});const _0x7ba5af=this[_0x38709e(0x1f1)];if(this[_0x38709e(0x20c)]({'on':{'click':_0x7ba5af['to'](()=>{const _0x597ae7=_0x38709e;window[_0x597ae7(0x225)](_0x47afaa[_0x597ae7(0x247)],_0x597ae7(0x23b));})}}),_0x47afaa[_0x38709e(0x21f)]){const _0x3a4c5c=new _0x24de8e(_0x5827cf);_0x3a4c5c[_0x38709e(0x23e)]({'tag':_0x38709e(0x220),'attributes':{'src':_0x47afaa[_0x38709e(0x21f)]||_0x2e4d2b,'alt':_0x47afaa[_0x38709e(0x22b)],'class':[_0x38709e(0x1fc)]}}),this[_0x38709e(0x224)][_0x38709e(0x22c)](_0x3a4c5c);}else this[_0x38709e(0x21b)](_0x38709e(0x240),_0x2e4d2b);}}
23
+ const _0x641d0e=_0x2225;(function(_0x4fa6a1,_0x174aa7){const _0x40ba1a=_0x2225,_0x57b7f9=_0x4fa6a1();while(!![]){try{const _0x25d112=parseInt(_0x40ba1a(0x10b))/0x1+parseInt(_0x40ba1a(0x113))/0x2*(parseInt(_0x40ba1a(0x17d))/0x3)+-parseInt(_0x40ba1a(0x162))/0x4*(parseInt(_0x40ba1a(0x147))/0x5)+-parseInt(_0x40ba1a(0x112))/0x6*(-parseInt(_0x40ba1a(0x11e))/0x7)+parseInt(_0x40ba1a(0x109))/0x8+-parseInt(_0x40ba1a(0x16e))/0x9+-parseInt(_0x40ba1a(0x166))/0xa;if(_0x25d112===_0x174aa7)break;else _0x57b7f9['push'](_0x57b7f9['shift']());}catch(_0x28293f){_0x57b7f9['push'](_0x57b7f9['shift']());}}}(_0xe20c,0xc29ea));import{IconWeb as _0x6c1842}from'@ckeditor/ckeditor5-icons';function _0x2225(_0x1dc457,_0x3103f8){const _0xe20c82=_0xe20c();return _0x2225=function(_0x22252b,_0x38cc2f){_0x22252b=_0x22252b-0x109;let _0x374fae=_0xe20c82[_0x22252b];return _0x374fae;},_0x2225(_0x1dc457,_0x3103f8);}import{View as _0x5e7483,ButtonView as _0x45783a,IconView as _0x24f695,BalloonPanelView as _0xa83d7e}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x42eb45}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x1063b8}from'./aisuggestionheaderview.js';function _0xe20c(){const _0x2ecf07=['updateContent','ck-ai-suggestion__loader-text','addNavigationItem','_showTooltip','hideError','remove','7GtbPHP','AI_CHAT_SOURCES_HEADER','errorView','push','updateSources','AI_CHAT_IS_WRITING','hideLoader','locale','ck-ai-suggestion__error-text','isLoading','AI_CHAT_GENERIC_ERROR','_hideTooltip','clear','updateContentParts','ck-hidden','_setupBalloonPanel','removeNavigationItem','ck-ai-web-source__image','balloonPanelView','ck-ai-web-source__tooltip','_createTooltipContentView','.ck-ai-chat','toggleSuggestionDisplayMode','length','pin','clearLoading','add','ck-ai-web-source__tooltip-image','markAsDone','fire','element','img','icon','isErrorVisible','ck-ai-web-source__tooltip-row','setErrorState','get','ck-ai-web-source__tooltip-balloon','defaultPositions','hasNonEmptyParts','clearErrorState','61145IebWes','isOn','setLoading','_createLoaderView','ck-ai-web-sources__header','showLoader','...','url','destroy','northArrowSouthWest','substring','_bodyCollection','showError','querySelector','isEnabled','addMany','bodyCollection','isLoaderVisible','set','source','northArrowSouth','isVisible','extendTemplate','_createErrorView','ck-ai-suggestion__loader','favicon','show','136fKJfwi','.ck-ai-suggestion__error-text','map','ck-ai-web-sources','20951890vSWrKH','delegate','open','div','hide','createCollection','bodyView','isShowChangesToggleVisible','401247VQgBSZ','span','ck-ai-suggestion__error','children','bindTemplate','showChangesToggleView','small','ck-ai-suggestion__container','ck-ai-web-source__tooltip-url','items','northArrowSouthEast','loaderView','bind','_updateTooltipContent','toggleShowChanges','219MbTMcJ','textContent','ck-ai-web-source__tooltip-title','8059824roWUsO','sourcesView','549254QwFlyl','hostname','areChangesVisible','miniToolbarView','ck\x20ck-ai-web-source','setTemplate','title','8840406wQZquw','8838TKyhUJ','headerView','ck-rounded-corners','content','_blank'];_0xe20c=function(){return _0x2ecf07;};return _0xe20c();}import{AISuggestionBodyView as _0x482b2c}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x414e2b}from'../../utils/eventnames.js';import{AISpinnerView as _0x3a9000}from'../aispinner.js';import{getTranslation as _0x1c6768}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x5e7483{[_0x641d0e(0x16c)];[_0x641d0e(0x10e)];[_0x641d0e(0x171)];[_0x641d0e(0x114)];[_0x641d0e(0x179)];[_0x641d0e(0x120)];[_0x641d0e(0x10a)];[_0x641d0e(0x152)];constructor(_0x30216e,_0x131207,_0x66178b){const _0x433f15=_0x641d0e;super(_0x30216e),this[_0x433f15(0x152)]=_0x66178b;const {showDiff:_0x4fac95,areActionsDisabled:_0x99e9f7,miniToolbarConfig:_0x4511ec,hideHeader:_0x3f99a9,showLoader:_0x4d16f4,showUnchangedParts:_0x2b3a4d,availableActions:_0x12b713}=_0x131207;this[_0x433f15(0x159)](_0x433f15(0x10d),!0x1),this[_0x433f15(0x159)](_0x433f15(0x158),!!_0x4d16f4),this[_0x433f15(0x159)](_0x433f15(0x13f),!0x1),this[_0x433f15(0x159)](_0x433f15(0x127),!0x1),this[_0x433f15(0x171)]=this[_0x433f15(0x16b)](),_0x3f99a9||(this[_0x433f15(0x114)]=new _0x1063b8(_0x30216e,{'showDiff':_0x4fac95}),this[_0x433f15(0x114)]['on'](_0x433f15(0x17c),(_0x319f8a,_0x520770)=>{const _0x3f6bda=_0x433f15;this[_0x3f6bda(0x10d)]=_0x520770[_0x3f6bda(0x148)],this[_0x3f6bda(0x13b)](_0x3f6bda(0x134),{'showDiff':_0x520770[_0x3f6bda(0x148)]});}),this[_0x433f15(0x171)][_0x433f15(0x138)](this[_0x433f15(0x114)])),this[_0x433f15(0x16c)]=new _0x482b2c(_0x30216e,{'areActionsDisabled':_0x99e9f7,'showUnchangedParts':!!_0x2b3a4d,'availableActions':_0x12b713}),this[_0x433f15(0x16c)][_0x433f15(0x167)](..._0x414e2b)['to'](this),this[_0x433f15(0x16c)][_0x433f15(0x15d)]({'attributes':{'class':[this[_0x433f15(0x172)]['if'](_0x433f15(0x158),_0x433f15(0x12c)),this[_0x433f15(0x172)]['if'](_0x433f15(0x13f),_0x433f15(0x12c))]}}),this[_0x433f15(0x10e)]=new _0x42eb45(_0x30216e,_0x4511ec,_0x4fac95),this[_0x433f15(0x10e)][_0x433f15(0x167)](..._0x414e2b)['to'](this),this[_0x433f15(0x10e)]['on'](_0x433f15(0x17c),(_0x42f0c5,_0x111ba3)=>{const _0x11a2a8=_0x433f15;this[_0x11a2a8(0x10d)]=_0x111ba3,this[_0x11a2a8(0x13b)](_0x11a2a8(0x134),{'showDiff':_0x111ba3});}),this[_0x433f15(0x10e)][_0x433f15(0x17a)](_0x433f15(0x127))['to'](this),this[_0x433f15(0x171)][_0x433f15(0x138)](this[_0x433f15(0x16c)]),this[_0x433f15(0x171)][_0x433f15(0x138)](this[_0x433f15(0x10e)]),this[_0x433f15(0x10a)]=new AIWebSourcesView(this[_0x433f15(0x125)],this[_0x433f15(0x152)]),this[_0x433f15(0x171)][_0x433f15(0x138)](this[_0x433f15(0x10a)]),_0x4d16f4&&(this[_0x433f15(0x179)]=this[_0x433f15(0x14a)](),this[_0x433f15(0x171)][_0x433f15(0x138)](this[_0x433f15(0x179)])),this[_0x433f15(0x120)]=this[_0x433f15(0x15e)](),this[_0x433f15(0x171)][_0x433f15(0x138)](this[_0x433f15(0x120)]),this[_0x433f15(0x110)]({'tag':_0x433f15(0x169),'attributes':{'class':['ck',_0x433f15(0x175),_0x433f15(0x115)]},'children':this[_0x433f15(0x171)]});}async[_0x641d0e(0x118)](_0x2f5913){const _0x1c2e8a=_0x641d0e;await this[_0x1c2e8a(0x16c)][_0x1c2e8a(0x12b)](_0x2f5913);}[_0x641d0e(0x122)](_0x27ec3b){const _0xc19f5f=_0x641d0e,_0x46ae16=this[_0xc19f5f(0x10a)],_0x15e51b=_0x46ae16[_0xc19f5f(0x130)];_0x46ae16[_0xc19f5f(0x171)][_0xc19f5f(0x156)](_0x27ec3b[_0xc19f5f(0x164)](_0x4ee3db=>new AIWebSourceView(this[_0xc19f5f(0x125)],_0x4ee3db,_0x15e51b))),_0x46ae16[_0xc19f5f(0x15c)]=!0x0;}[_0x641d0e(0x14c)](){const _0xc8e22f=_0x641d0e;this[_0xc8e22f(0x179)]&&(this[_0xc8e22f(0x158)]=!0x0);}[_0x641d0e(0x124)](){const _0x3ec698=_0x641d0e;this[_0x3ec698(0x179)]&&(this[_0x3ec698(0x158)]=!0x1);}[_0x641d0e(0x153)](_0x2eb025){const _0x2a759f=_0x641d0e;if(this[_0x2a759f(0x120)]){const _0x4f63bb=this[_0x2a759f(0x120)][_0x2a759f(0x13c)]?.[_0x2a759f(0x154)](_0x2a759f(0x163));_0x4f63bb&&(_0x4f63bb[_0x2a759f(0x17e)]=_0x2eb025),this[_0x2a759f(0x13f)]=!0x0;}}[_0x641d0e(0x11c)](){const _0x2c0d2f=_0x641d0e;this[_0x2c0d2f(0x120)]&&(this[_0x2c0d2f(0x13f)]=!0x1);}[_0x641d0e(0x13a)](){const _0x2548d4=_0x641d0e;this[_0x2548d4(0x16c)][_0x2548d4(0x13a)](),this[_0x2548d4(0x114)]&&(this[_0x2548d4(0x114)][_0x2548d4(0x16d)]=this[_0x2548d4(0x16c)][_0x2548d4(0x145)]);}[_0x641d0e(0x149)](){const _0x3cce1a=_0x641d0e;this[_0x3cce1a(0x127)]=!0x0;}[_0x641d0e(0x137)](){const _0x202679=_0x641d0e;this[_0x202679(0x127)]=!0x1;}[_0x641d0e(0x141)](){const _0x4342ad=_0x641d0e;this[_0x4342ad(0x10e)]&&(this[_0x4342ad(0x10e)][_0x4342ad(0x127)]=!0x0),this[_0x4342ad(0x114)]?.[_0x4342ad(0x173)]&&(this[_0x4342ad(0x114)][_0x4342ad(0x173)][_0x4342ad(0x155)]=!0x1);}[_0x641d0e(0x146)](){const _0x55e641=_0x641d0e;this[_0x55e641(0x10e)]&&(this[_0x55e641(0x10e)][_0x55e641(0x127)]=!0x1),this[_0x55e641(0x114)]?.[_0x55e641(0x173)]&&(this[_0x55e641(0x114)][_0x55e641(0x173)][_0x55e641(0x155)]=!0x0);}[_0x641d0e(0x11a)](_0x1b50cc){const _0x2a7ac5=_0x641d0e;this[_0x2a7ac5(0x10e)][_0x2a7ac5(0x177)][_0x2a7ac5(0x138)](_0x1b50cc);}[_0x641d0e(0x12e)](_0x2e110d){const _0x349d07=_0x641d0e;this[_0x349d07(0x10e)][_0x349d07(0x177)][_0x349d07(0x11d)](_0x2e110d);}[_0x641d0e(0x14a)](){const _0x262dc1=_0x641d0e,_0x1b92f3=new _0x5e7483(this[_0x262dc1(0x125)]),_0x5c677a=new _0x3a9000(_0x262dc1(0x174));_0x5c677a[_0x262dc1(0x15c)]=!0x0;const _0xd21544=new _0x5e7483(this[_0x262dc1(0x125)]);return _0xd21544[_0x262dc1(0x110)]({'tag':_0x262dc1(0x16f),'attributes':{'class':['ck',_0x262dc1(0x119)]},'children':[_0x1c6768(this[_0x262dc1(0x125)],_0x262dc1(0x123))]}),_0x1b92f3[_0x262dc1(0x110)]({'tag':_0x262dc1(0x169),'attributes':{'class':['ck',_0x262dc1(0x15f),this[_0x262dc1(0x172)]['if'](_0x262dc1(0x158),_0x262dc1(0x12c),_0x38f003=>!_0x38f003)]},'children':[_0x5c677a,_0xd21544]}),_0x1b92f3;}[_0x641d0e(0x15e)](){const _0x1dd587=_0x641d0e,_0x4b3f5=new _0x5e7483(this[_0x1dd587(0x125)]),_0xb7b5a6=new _0x5e7483(this[_0x1dd587(0x125)]);return _0xb7b5a6[_0x1dd587(0x110)]({'tag':_0x1dd587(0x16f),'attributes':{'class':['ck',_0x1dd587(0x126)]},'children':[_0x1c6768(this[_0x1dd587(0x125)],_0x1dd587(0x128))]}),_0x4b3f5[_0x1dd587(0x110)]({'tag':_0x1dd587(0x169),'attributes':{'class':['ck',_0x1dd587(0x170),this[_0x1dd587(0x172)]['if'](_0x1dd587(0x13f),_0x1dd587(0x12c),_0x3b09ee=>!_0x3b09ee)]},'children':[_0xb7b5a6]}),_0x4b3f5;}}export class AIWebSourcesView extends _0x5e7483{[_0x641d0e(0x171)];[_0x641d0e(0x130)];[_0x641d0e(0x157)];constructor(_0x25f927,_0x3fa79d){const _0xf4721=_0x641d0e;super(_0x25f927),this[_0xf4721(0x157)]=_0x3fa79d,this[_0xf4721(0x171)]=this[_0xf4721(0x16b)](),this[_0xf4721(0x159)](_0xf4721(0x15c),!0x1),this[_0xf4721(0x110)]({'tag':_0xf4721(0x169),'attributes':{'class':['ck',_0xf4721(0x165),this[_0xf4721(0x172)]['if'](_0xf4721(0x15c),_0xf4721(0x12c),_0x372643=>!_0x372643)]},'children':this[_0xf4721(0x171)]});const _0x13baa5=new _0x5e7483(this[_0xf4721(0x125)]),_0x4b4132=new _0x24f695();_0x4b4132[_0xf4721(0x116)]=_0x6c1842,_0x13baa5[_0xf4721(0x110)]({'tag':_0xf4721(0x169),'attributes':{'class':['ck',_0xf4721(0x14b)]},'children':[_0x4b4132,{'tag':_0xf4721(0x16f),'children':[{'text':_0x1c6768(this[_0xf4721(0x125)],_0xf4721(0x11f))}]}]}),this[_0xf4721(0x171)][_0xf4721(0x138)](_0x13baa5),this[_0xf4721(0x12d)](_0x25f927);}[_0x641d0e(0x12d)](_0x1fc517){const _0x25e836=_0x641d0e;this[_0x25e836(0x130)]=new _0xa83d7e(_0x1fc517),this[_0x25e836(0x130)][_0x25e836(0x15d)]({'attributes':{'class':[_0x25e836(0x143)]}}),this[_0x25e836(0x157)][_0x25e836(0x138)](this[_0x25e836(0x130)]);}}export class AIWebSourceView extends _0x45783a{[_0x641d0e(0x130)];[_0x641d0e(0x15a)];constructor(_0x5d9cbe,_0x4a6b57,_0x2284b3){const _0x1c74a6=_0x641d0e;super(_0x5d9cbe),this[_0x1c74a6(0x15a)]=_0x4a6b57,this[_0x1c74a6(0x130)]=_0x2284b3,this[_0x1c74a6(0x159)]({'label':_0x4a6b57[_0x1c74a6(0x111)],'class':[_0x1c74a6(0x10f)],'withText':!0x0});const _0x178231=this[_0x1c74a6(0x172)];if(this[_0x1c74a6(0x15d)]({'on':{'click':_0x178231['to'](()=>{const _0x5ef77c=_0x1c74a6;window[_0x5ef77c(0x168)](_0x4a6b57[_0x5ef77c(0x14e)],_0x5ef77c(0x117));}),'mouseenter':_0x178231['to'](()=>{const _0x177aef=_0x1c74a6;this[_0x177aef(0x11b)]();}),'mouseleave':_0x178231['to'](()=>{const _0x3b14ac=_0x1c74a6;this[_0x3b14ac(0x129)]();})}}),_0x4a6b57[_0x1c74a6(0x160)]){const _0x4f4d5e=new _0x5e7483(_0x5d9cbe);_0x4f4d5e[_0x1c74a6(0x110)]({'tag':_0x1c74a6(0x13d),'attributes':{'src':_0x4a6b57[_0x1c74a6(0x160)]||_0x6c1842,'alt':_0x4a6b57[_0x1c74a6(0x111)],'class':[_0x1c74a6(0x12f)]}}),this[_0x1c74a6(0x171)][_0x1c74a6(0x138)](_0x4f4d5e);}else this[_0x1c74a6(0x159)](_0x1c74a6(0x13e),_0x6c1842);}[_0x641d0e(0x132)](_0x348813,_0x5b277f){const _0x39849d=_0x641d0e,_0x44dc92=new _0x5e7483(_0x348813),_0x1c9adc=[];let _0x38aec8;_0x5b277f?.[_0x39849d(0x160)]?(_0x38aec8=new _0x5e7483(_0x348813),_0x38aec8[_0x39849d(0x110)]({'tag':_0x39849d(0x13d),'attributes':{'src':_0x5b277f[_0x39849d(0x160)],'alt':_0x5b277f[_0x39849d(0x111)],'class':[_0x39849d(0x139)]}})):(_0x38aec8=new _0x24f695(),_0x38aec8[_0x39849d(0x116)]=_0x6c1842,_0x38aec8[_0x39849d(0x15d)]({'attributes':{'alt':_0x5b277f[_0x39849d(0x111)],'class':[_0x39849d(0x139)]}})),_0x1c9adc[_0x39849d(0x121)](_0x38aec8);const _0x1d304d=new _0x5e7483(_0x348813);_0x1d304d[_0x39849d(0x110)]({'tag':'a','attributes':{'class':[_0x39849d(0x176)],'href':_0x5b277f[_0x39849d(0x14e)]},'children':[{'text':new URL(_0x5b277f[_0x39849d(0x14e)])?.[_0x39849d(0x10c)]}]}),_0x1c9adc[_0x39849d(0x121)](_0x1d304d);const _0x527040=new _0x5e7483(_0x348813);_0x527040[_0x39849d(0x110)]({'tag':_0x39849d(0x169),'attributes':{'class':[_0x39849d(0x140)]},'children':_0x1c9adc});const _0x279e4e=new _0x5e7483(_0x348813);return _0x279e4e[_0x39849d(0x110)]({'tag':_0x39849d(0x16f),'attributes':{'class':[_0x39849d(0x140),_0x39849d(0x17f)]},'children':[{'text':_0x5b277f[_0x39849d(0x111)][_0x39849d(0x135)]>0x190?_0x5b277f[_0x39849d(0x111)][_0x39849d(0x151)](0x0,0x190)+_0x39849d(0x14d):_0x5b277f[_0x39849d(0x111)]}]}),_0x44dc92[_0x39849d(0x110)]({'tag':_0x39849d(0x169),'attributes':{'class':['ck',_0x39849d(0x131)]},'children':[_0x527040,_0x279e4e]}),_0x44dc92;}[_0x641d0e(0x11b)](){const _0x27efd8=_0x641d0e;this[_0x27efd8(0x17b)](),this[_0x27efd8(0x130)][_0x27efd8(0x136)]({'target':this[_0x27efd8(0x13c)],'positions':[_0xa83d7e[_0x27efd8(0x144)][_0x27efd8(0x15b)],_0xa83d7e[_0x27efd8(0x144)][_0x27efd8(0x150)],_0xa83d7e[_0x27efd8(0x144)][_0x27efd8(0x178)]],'limiter':document[_0x27efd8(0x154)](_0x27efd8(0x133))}),this[_0x27efd8(0x130)][_0x27efd8(0x161)]();}[_0x641d0e(0x129)](){const _0xc07516=_0x641d0e;this[_0xc07516(0x130)][_0xc07516(0x16a)]();}[_0x641d0e(0x17b)](){const _0x17693b=_0x641d0e;this[_0x17693b(0x130)][_0x17693b(0x116)][_0x17693b(0x142)](0x0)?.[_0x17693b(0x14f)](),this[_0x17693b(0x130)][_0x17693b(0x116)][_0x17693b(0x12a)]();const _0x4bd457=this[_0x17693b(0x132)](this[_0x17693b(0x125)],this[_0x17693b(0x15a)]);this[_0x17693b(0x130)][_0x17693b(0x116)][_0x17693b(0x138)](_0x4bd457);}}
@@ -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 _0x40345c=_0x51f7;function _0x21e9(){const _0x4af304=['ck-ai-suggestion__body__content-part__content','accepted','addMany','change:state','ck-ai-suggestion__body__content-part_','children','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','execute','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','mouseLeaveSuggestion','index','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','innerHTML','setTemplate','insertSuggestion','push','_toolbarView','includes','AI_SUGGESTION_CONTENT_PART_DELETE','htmlStreamer','state','isEnabled','mouseOverSuggestion','11992977VGuARt','toString','items','isVisible','span','showChangeInText','stream','ck-ai-suggestion__body__content-part__icon-outdated','element','ck-ai-suggestion__body__content-part__icon-rejected','2072250dhSQch','ck-ai-suggestion__body__content-part__title','_iconStateRejected','_iconStateAccepted','bind','streaming','ck-ai-suggestion__body__content-part','_iconStateOutdated','outdated','bindTemplate','31668520csRldH','597pkCSLU','rejected','delegate','7ZmdbLQ','ck-content','has','div','content','8228310ZxKAKX','ck-reset_all-excluded','hasChanges','toggleHeader','pending','partDefinition','createCollection','ck-ai-suggestion__body__content-part__icon-accepted','ck-hidden','set','AI_SUGGESTION_CONTENT_PART_OUTDATED','ck-ai-suggestion__body__content-part__title__label','headerView','fire','animation:\x20ck-html-streamer-fade-in\x20.5s','6812RUkQfz','remove','ck-ai-suggestion__body__content-part__icon-title','ck-ai-suggestion__body__content-part_active','2351475oOChKv','extendTemplate','contentView','8tCrfrF','AI_SUGGESTION_CONTENT_PART_REJECTED','rejectSuggestion','AI_SUGGESTION_CONTENT_PART_TITLE','updateContent','1431963IwVnCg','add'];_0x21e9=function(){return _0x4af304;};return _0x21e9();}(function(_0x5d27f9,_0x4ce4ea){const _0xbd25db=_0x51f7,_0x56fa04=_0x5d27f9();while(!![]){try{const _0x2e9594=parseInt(_0xbd25db(0x114))/0x1+-parseInt(_0xbd25db(0x137))/0x2+parseInt(_0xbd25db(0xf1))/0x3*(parseInt(_0xbd25db(0x108))/0x4)+parseInt(_0xbd25db(0x10c))/0x5+-parseInt(_0xbd25db(0xf9))/0x6*(-parseInt(_0xbd25db(0xf4))/0x7)+-parseInt(_0xbd25db(0x10f))/0x8*(-parseInt(_0xbd25db(0x12d))/0x9)+-parseInt(_0xbd25db(0xf0))/0xa;if(_0x2e9594===_0x4ce4ea)break;else _0x56fa04['push'](_0x56fa04['shift']());}catch(_0x43a1c9){_0x56fa04['push'](_0x56fa04['shift']());}}}(_0x21e9,0xb52e4));import{View as _0x14d4bf,IconView as _0x107313,ToolbarView as _0x29ca81,ButtonView as _0x17a635}from'ckeditor5/src/ui.js';import{IconAddComment as _0x16f7a3,IconDocumentWithLoupe as _0xd6f4ae,IconDocumentWithCheckmark as _0x503f75,IconDocumentWithCross as _0x44f936,IconRemove as _0x3a6f28,IconThreeStars as _0x577a32}from'ckeditor5/src/icons.js';function _0x51f7(_0x238647,_0x21a8b2){const _0x21e982=_0x21e9();return _0x51f7=function(_0x51f7f3,_0x36d1a6){_0x51f7f3=_0x51f7f3-0xe7;let _0x406c22=_0x21e982[_0x51f7f3];return _0x406c22;},_0x51f7(_0x238647,_0x21a8b2);}import{HTMLStreamer as _0x165cd8}from'../../utils/htmlstreamer.js';import{getTranslation as _0x544407}from'../../utils/common-translations.js';import{serialize as _0x2acbb8}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x429af9}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x14d4bf{[_0x40345c(0x129)];[_0x40345c(0x11b)];[_0x40345c(0x105)];[_0x40345c(0x10e)];constructor(_0x5115c3,{part:_0x26db29,uiIndex:_0x48ebc2,areActionsDisabled:_0x1c7c11,availableActions:_0x3578dd}){const _0x59ffc4=_0x40345c;super(_0x5115c3),this[_0x59ffc4(0x102)](_0x59ffc4(0xfe),_0x26db29),this[_0x59ffc4(0x102)](_0x59ffc4(0x12a),_0x59ffc4(0xfd)),this[_0x59ffc4(0x102)](_0x59ffc4(0x130),!0x1),this[_0x59ffc4(0xea)](_0x59ffc4(0x12b))['to'](this,_0x59ffc4(0x12a),_0x3be077=>_0x59ffc4(0xfd)==_0x3be077&&!_0x1c7c11),this[_0x59ffc4(0x11b)]=this[_0x59ffc4(0xff)](),this[_0x59ffc4(0x129)]=new _0x165cd8({'textNodeStyle':_0x59ffc4(0x107),'delay':0x14}),this[_0x59ffc4(0x105)]=new Pn(_0x5115c3,{'part':_0x26db29,'uiIndex':_0x48ebc2,'availableActions':_0x3578dd}),this[_0x59ffc4(0x105)][_0x59ffc4(0xea)](_0x59ffc4(0xfe))['to'](this),this[_0x59ffc4(0x105)][_0x59ffc4(0xea)](_0x59ffc4(0x12b))['to'](this),this[_0x59ffc4(0x105)][_0x59ffc4(0xea)](_0x59ffc4(0x12a))['to'](this),this[_0x59ffc4(0x105)][_0x59ffc4(0xf3)](..._0x429af9)['to'](this);const _0x28dfe9=this[_0x59ffc4(0xef)];this[_0x59ffc4(0x10e)]=new _0x14d4bf(),this[_0x59ffc4(0x10e)][_0x59ffc4(0x123)]({'tag':_0x59ffc4(0xf7),'attributes':{'class':['ck',_0x59ffc4(0xf5),_0x59ffc4(0xfa),_0x59ffc4(0x116)]}}),this[_0x59ffc4(0x11b)][_0x59ffc4(0x118)]([this[_0x59ffc4(0x10e)]]),this[_0x59ffc4(0x123)]({'tag':_0x59ffc4(0xf7),'attributes':{'class':['ck',_0x59ffc4(0xec),_0x28dfe9['to'](_0x59ffc4(0x12a),_0x20dbbb=>_0x59ffc4(0x11a)+_0x20dbbb),_0x28dfe9['to'](_0x59ffc4(0x12b),_0x4b58ed=>_0x4b58ed?_0x59ffc4(0x10b):void 0x0),_0x28dfe9['if'](_0x59ffc4(0x130),_0x59ffc4(0x101),_0x55f539=>!_0x55f539)]},'children':this[_0x59ffc4(0x11b)],'on':{'mouseenter':_0x28dfe9['to'](()=>{const _0x5a56a1=_0x59ffc4;this[_0x5a56a1(0x12b)]&&this[_0x5a56a1(0x106)](_0x5a56a1(0x12c),{'index':_0x26db29[_0x5a56a1(0x120)]});}),'mouseleave':_0x28dfe9['to'](()=>{const _0x4f54d8=_0x59ffc4;this[_0x4f54d8(0x12b)]&&this[_0x4f54d8(0x106)](_0x4f54d8(0x11f),{'index':_0x26db29[_0x4f54d8(0x120)]});})}});}async[_0x40345c(0x113)]({part:_0x2343a0,renderingStrategy:_0x45b75c,showUnchangedParts:_0x3caecd=!0x1,abortSignal:_0x1b3426}){const _0x206baa=_0x40345c;this[_0x206baa(0xfe)]=_0x2343a0,this[_0x206baa(0x130)]=this[_0x206baa(0xfe)][_0x206baa(0xfb)]||_0x3caecd,this[_0x206baa(0x130)]&&(_0x206baa(0xeb)===_0x45b75c?await this[_0x206baa(0x129)][_0x206baa(0x133)]({'document':this[_0x206baa(0xfe)][_0x206baa(0xf8)],'targetElement':this[_0x206baa(0x10e)][_0x206baa(0x135)],'abortSignal':_0x1b3426}):this[_0x206baa(0x10e)][_0x206baa(0x135)][_0x206baa(0x122)]=_0x2acbb8(this[_0x206baa(0xfe)][_0x206baa(0xf8)]));}[_0x40345c(0xfc)](_0x1ea187){const _0x503579=_0x40345c;_0x1ea187?this[_0x503579(0x11b)][_0x503579(0xf6)](this[_0x503579(0x105)])||this[_0x503579(0x11b)][_0x503579(0x115)](this[_0x503579(0x105)],0x0):this[_0x503579(0x11b)][_0x503579(0xf6)](this[_0x503579(0x105)])&&this[_0x503579(0x11b)][_0x503579(0x109)](this[_0x503579(0x105)]);}}class Pn extends _0x14d4bf{[_0x40345c(0x11b)];[_0x40345c(0x126)];[_0x40345c(0xe9)];[_0x40345c(0xe8)];[_0x40345c(0xed)];constructor(_0x23fd22,{part:_0x482707,uiIndex:_0x410676,availableActions:_0x4987d1}){const _0x20c68a=_0x40345c;super(_0x23fd22),this[_0x20c68a(0x102)](_0x20c68a(0xfe),_0x482707),this[_0x20c68a(0x102)](_0x20c68a(0x12b),!0x0),this[_0x20c68a(0x102)](_0x20c68a(0x12a),_0x20c68a(0xfd));const _0x5c5627=new _0x107313();_0x5c5627[_0x20c68a(0xf8)]=_0x577a32,_0x5c5627[_0x20c68a(0x10d)]({'attributes':{'class':[_0x20c68a(0x10a)]}});const _0x11b791=[];if(_0x4987d1[_0x20c68a(0x127)](_0x20c68a(0x132))){const _0x2cfb13=new _0x17a635(_0x23fd22);_0x2cfb13[_0x20c68a(0x102)]({'label':_0x544407(_0x23fd22,_0x20c68a(0x11e)),'tooltip':!0x0,'withText':!0x1,'icon':_0xd6f4ae}),_0x2cfb13[_0x20c68a(0xea)](_0x20c68a(0x12b))['to'](this),_0x2cfb13['on'](_0x20c68a(0x11d),()=>{const _0xae962d=_0x20c68a;this[_0xae962d(0x106)](_0xae962d(0x132),{'index':_0x482707[_0xae962d(0x120)]});}),_0x11b791[_0x20c68a(0x125)](_0x2cfb13);}if(_0x4987d1[_0x20c68a(0x127)](_0x20c68a(0x124))){const _0xe5232c=new _0x17a635(_0x23fd22);_0xe5232c[_0x20c68a(0x102)]({'label':_0x544407(_0x23fd22,_0x20c68a(0x11c)),'tooltip':!0x0,'withText':!0x1,'icon':_0x16f7a3}),_0xe5232c[_0x20c68a(0xea)](_0x20c68a(0x12b))['to'](this),_0xe5232c['on'](_0x20c68a(0x11d),()=>{const _0x3605de=_0x20c68a;this[_0x3605de(0x106)](_0x3605de(0x124),{'index':_0x482707[_0x3605de(0x120)]});}),_0x11b791[_0x20c68a(0x125)](_0xe5232c);}const _0x13e4ab=new _0x17a635(_0x23fd22);_0x13e4ab[_0x20c68a(0x102)]({'label':_0x544407(_0x23fd22,_0x20c68a(0x128)),'tooltip':!0x0,'withText':!0x1,'icon':_0x3a6f28}),_0x13e4ab[_0x20c68a(0xea)](_0x20c68a(0x12b))['to'](this),_0x13e4ab['on'](_0x20c68a(0x11d),()=>{const _0x181824=_0x20c68a;this[_0x181824(0x106)](_0x181824(0x111),{'index':_0x482707[_0x181824(0x120)]});}),_0x11b791[_0x20c68a(0x125)](_0x13e4ab),this[_0x20c68a(0x126)]=new _0x29ca81(_0x23fd22),this[_0x20c68a(0x126)][_0x20c68a(0x12f)][_0x20c68a(0x118)](_0x11b791),this[_0x20c68a(0xe9)]=new _0x107313(),this[_0x20c68a(0xe9)][_0x20c68a(0xf8)]=_0x503f75,this[_0x20c68a(0xe9)][_0x20c68a(0x10d)]({'attributes':{'class':[_0x20c68a(0x100)],'data-cke-tooltip-text':_0x544407(_0x23fd22,_0x20c68a(0x121)),'data-cke-tooltip-position':'n'}}),this[_0x20c68a(0xe8)]=new _0x107313(),this[_0x20c68a(0xe8)][_0x20c68a(0xf8)]=_0x44f936,this[_0x20c68a(0xe8)][_0x20c68a(0x10d)]({'attributes':{'class':[_0x20c68a(0x136)],'data-cke-tooltip-text':_0x544407(_0x23fd22,_0x20c68a(0x110)),'data-cke-tooltip-position':'n'}}),this[_0x20c68a(0xed)]=new _0x107313(),this[_0x20c68a(0xed)][_0x20c68a(0xf8)]=_0x44f936,this[_0x20c68a(0xed)][_0x20c68a(0x10d)]({'attributes':{'class':[_0x20c68a(0x134)],'data-cke-tooltip-text':_0x544407(_0x23fd22,_0x20c68a(0x103)),'data-cke-tooltip-position':'n'}});const _0x5d3e6f=new _0x14d4bf(_0x23fd22);_0x5d3e6f[_0x20c68a(0x123)]({'tag':_0x20c68a(0x131),'attributes':{'class':['ck',_0x20c68a(0x104)]},'children':[_0x544407(_0x23fd22,_0x20c68a(0x112),_0x410676[_0x20c68a(0x12e)]())]}),this[_0x20c68a(0x11b)]=this[_0x20c68a(0xff)](),this[_0x20c68a(0x11b)][_0x20c68a(0x118)]([_0x5c5627,_0x5d3e6f,this[_0x20c68a(0x126)]]),this[_0x20c68a(0x123)]({'tag':_0x20c68a(0xf7),'attributes':{'class':['ck',_0x20c68a(0xfa),_0x20c68a(0xe7)]},'children':this[_0x20c68a(0x11b)]}),this['on'](_0x20c68a(0x119),(_0x548e90,_0x1d8302,_0x1b988e,_0x427dd6)=>{const _0x2a77b4=_0x20c68a;switch(_0x427dd6){case _0x2a77b4(0xfd):this[_0x2a77b4(0x11b)][_0x2a77b4(0x109)](this[_0x2a77b4(0x126)]);break;case _0x2a77b4(0x117):this[_0x2a77b4(0x11b)][_0x2a77b4(0x109)](this[_0x2a77b4(0xe9)]);break;case _0x2a77b4(0xf2):this[_0x2a77b4(0x11b)][_0x2a77b4(0x109)](this[_0x2a77b4(0xe8)]);break;case _0x2a77b4(0xee):this[_0x2a77b4(0x11b)][_0x2a77b4(0x109)](this[_0x2a77b4(0xed)]);}switch(_0x1b988e){case _0x2a77b4(0xfd):this[_0x2a77b4(0x11b)][_0x2a77b4(0x115)](this[_0x2a77b4(0x126)]);break;case _0x2a77b4(0x117):this[_0x2a77b4(0x11b)][_0x2a77b4(0x115)](this[_0x2a77b4(0xe9)]);break;case _0x2a77b4(0xf2):this[_0x2a77b4(0x11b)][_0x2a77b4(0x115)](this[_0x2a77b4(0xe8)]);break;case _0x2a77b4(0xee):this[_0x2a77b4(0x11b)][_0x2a77b4(0x115)](this[_0x2a77b4(0xed)]);}});}}
23
+ const _0x1917a9=_0x1945;(function(_0xfc41d7,_0x547bbb){const _0x41e635=_0x1945,_0x7ada78=_0xfc41d7();while(!![]){try{const _0x4def53=parseInt(_0x41e635(0x17e))/0x1*(-parseInt(_0x41e635(0x171))/0x2)+-parseInt(_0x41e635(0x170))/0x3*(parseInt(_0x41e635(0x143))/0x4)+-parseInt(_0x41e635(0x189))/0x5+parseInt(_0x41e635(0x180))/0x6*(parseInt(_0x41e635(0x186))/0x7)+-parseInt(_0x41e635(0x155))/0x8*(parseInt(_0x41e635(0x142))/0x9)+-parseInt(_0x41e635(0x13f))/0xa+parseInt(_0x41e635(0x17d))/0xb;if(_0x4def53===_0x547bbb)break;else _0x7ada78['push'](_0x7ada78['shift']());}catch(_0x88a482){_0x7ada78['push'](_0x7ada78['shift']());}}}(_0x191d,0x977fd));import{View as _0x29ac2a,IconView as _0x1d7605,ToolbarView as _0x3ea1e8,ButtonView as _0x5e980e}from'ckeditor5/src/ui.js';function _0x1945(_0x486a60,_0x153d61){const _0x191da1=_0x191d();return _0x1945=function(_0x19459e,_0x5eb565){_0x19459e=_0x19459e-0x13a;let _0x453bbc=_0x191da1[_0x19459e];return _0x453bbc;},_0x1945(_0x486a60,_0x153d61);}function _0x191d(){const _0x27fb2f=['_iconStateRejected','ck-ai-suggestion__body__content-part__icon-outdated','AI_SUGGESTION_CONTENT_PART_TITLE','rejectSuggestion','ck-ai-suggestion__body__content-part__icon-accepted','add','setTemplate','outdated','createCollection','AI_SUGGESTION_CONTENT_PART_OUTDATED','span','mouseLeaveSuggestion','delegate','push','stream','has','change:state','toggleHeader','toString','ck-ai-suggestion__body__content-part__title','pending','fire','content','ck-reset_all-excluded','remove','21cgyDtR','2DmKqSj','ck-hidden','headerView','includes','ck-ai-suggestion__body__content-part','ck-ai-suggestion__body__content-part__icon-title','ck-ai-suggestion__body__content-part__icon-rejected','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','ck-content','animation:\x20ck-html-streamer-fade-in\x20.5s','isVisible','execute','49664626mzzLIx','389255WYLART','_toolbarView','6qnEOzO','bind','streaming','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','ck-ai-suggestion__body__content-part_active','htmlStreamer','5835193KeORpB','bindTemplate','AI_SUGGESTION_CONTENT_PART_DELETE','5180885lJnXow','set','ck-ai-suggestion__body__content-part_','updateContent','addMany','index','children','div','10239190vgLsCM','innerHTML','ck-ai-suggestion__body__content-part__content','18RjVMFi','671372WPeWQy','rejected','ck-ai-suggestion__body__content-part__title__label','_iconStateAccepted','extendTemplate','insertSuggestion','element','contentView','_iconStateOutdated','showChangeInText','hasChanges','AI_SUGGESTION_CONTENT_PART_REJECTED','isEnabled','state','partDefinition','items','accepted','mouseOverSuggestion','4415088ENLPoC','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION'];_0x191d=function(){return _0x27fb2f;};return _0x191d();}import{IconAddComment as _0x487dc1,IconDocumentWithLoupe as _0x46c978,IconDocumentWithCheckmark as _0x1cc4f6,IconDocumentWithCross as _0x33b567,IconRemove as _0x2d6dc5,IconThreeStars as _0x23d2c3}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x570b8c}from'../../utils/htmlstreamer.js';import{getTranslation as _0x13ae5c}from'../../utils/common-translations.js';import{serialize as _0x2ed3a2}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x1c7eff}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x29ac2a{[_0x1917a9(0x185)];[_0x1917a9(0x13d)];[_0x1917a9(0x173)];[_0x1917a9(0x14a)];constructor(_0x2804dc,{part:_0x22214b,uiIndex:_0x365684,areActionsDisabled:_0x366723,availableActions:_0x4b821b}){const _0x41941d=_0x1917a9;super(_0x2804dc),this[_0x41941d(0x18a)](_0x41941d(0x151),_0x22214b),this[_0x41941d(0x18a)](_0x41941d(0x150),_0x41941d(0x16b)),this[_0x41941d(0x18a)](_0x41941d(0x17b),!0x1),this[_0x41941d(0x181)](_0x41941d(0x14f))['to'](this,_0x41941d(0x150),_0x13aff5=>_0x41941d(0x16b)==_0x13aff5&&!_0x366723),this[_0x41941d(0x13d)]=this[_0x41941d(0x15f)](),this[_0x41941d(0x185)]=new _0x570b8c({'textNodeStyle':_0x41941d(0x17a),'delay':0x14}),this[_0x41941d(0x173)]=new Un(_0x2804dc,{'part':_0x22214b,'uiIndex':_0x365684,'availableActions':_0x4b821b}),this[_0x41941d(0x173)][_0x41941d(0x181)](_0x41941d(0x151))['to'](this),this[_0x41941d(0x173)][_0x41941d(0x181)](_0x41941d(0x14f))['to'](this),this[_0x41941d(0x173)][_0x41941d(0x181)](_0x41941d(0x150))['to'](this),this[_0x41941d(0x173)][_0x41941d(0x163)](..._0x1c7eff)['to'](this);const _0x59e2a4=this[_0x41941d(0x187)];this[_0x41941d(0x14a)]=new _0x29ac2a(),this[_0x41941d(0x14a)][_0x41941d(0x15d)]({'tag':_0x41941d(0x13e),'attributes':{'class':['ck',_0x41941d(0x179),_0x41941d(0x16e),_0x41941d(0x141)]}}),this[_0x41941d(0x13d)][_0x41941d(0x13b)]([this[_0x41941d(0x14a)]]),this[_0x41941d(0x15d)]({'tag':_0x41941d(0x13e),'attributes':{'class':['ck',_0x41941d(0x175),_0x59e2a4['to'](_0x41941d(0x150),_0x113fe7=>_0x41941d(0x18b)+_0x113fe7),_0x59e2a4['to'](_0x41941d(0x14f),_0x434b5b=>_0x434b5b?_0x41941d(0x184):void 0x0),_0x59e2a4['if'](_0x41941d(0x17b),_0x41941d(0x172),_0x19a1fd=>!_0x19a1fd)]},'children':this[_0x41941d(0x13d)],'on':{'mouseenter':_0x59e2a4['to'](()=>{const _0x375673=_0x41941d;this[_0x375673(0x14f)]&&this[_0x375673(0x16c)](_0x375673(0x154),{'index':_0x22214b[_0x375673(0x13c)]});}),'mouseleave':_0x59e2a4['to'](()=>{const _0x377039=_0x41941d;this[_0x377039(0x14f)]&&this[_0x377039(0x16c)](_0x377039(0x162),{'index':_0x22214b[_0x377039(0x13c)]});})}});}async[_0x1917a9(0x13a)]({part:_0x584f41,renderingStrategy:_0x1db95c,showUnchangedParts:_0x3a3c14=!0x1,abortSignal:_0x1a5a34}){const _0x8d22a8=_0x1917a9;this[_0x8d22a8(0x151)]=_0x584f41,this[_0x8d22a8(0x17b)]=this[_0x8d22a8(0x151)][_0x8d22a8(0x14d)]||_0x3a3c14,this[_0x8d22a8(0x17b)]&&(_0x8d22a8(0x182)===_0x1db95c?await this[_0x8d22a8(0x185)][_0x8d22a8(0x165)]({'document':this[_0x8d22a8(0x151)][_0x8d22a8(0x16d)],'targetElement':this[_0x8d22a8(0x14a)][_0x8d22a8(0x149)],'abortSignal':_0x1a5a34}):this[_0x8d22a8(0x14a)][_0x8d22a8(0x149)][_0x8d22a8(0x140)]=_0x2ed3a2(this[_0x8d22a8(0x151)][_0x8d22a8(0x16d)]));}[_0x1917a9(0x168)](_0x2a08af){const _0x1e6657=_0x1917a9;_0x2a08af?this[_0x1e6657(0x13d)][_0x1e6657(0x166)](this[_0x1e6657(0x173)])||this[_0x1e6657(0x13d)][_0x1e6657(0x15c)](this[_0x1e6657(0x173)],0x0):this[_0x1e6657(0x13d)][_0x1e6657(0x166)](this[_0x1e6657(0x173)])&&this[_0x1e6657(0x13d)][_0x1e6657(0x16f)](this[_0x1e6657(0x173)]);}}class Un extends _0x29ac2a{[_0x1917a9(0x13d)];[_0x1917a9(0x17f)];[_0x1917a9(0x146)];[_0x1917a9(0x157)];[_0x1917a9(0x14b)];constructor(_0x4c129c,{part:_0x361a95,uiIndex:_0x446b7f,availableActions:_0x47469f}){const _0x462fce=_0x1917a9;super(_0x4c129c),this[_0x462fce(0x18a)](_0x462fce(0x151),_0x361a95),this[_0x462fce(0x18a)](_0x462fce(0x14f),!0x0),this[_0x462fce(0x18a)](_0x462fce(0x150),_0x462fce(0x16b));const _0x396047=new _0x1d7605();_0x396047[_0x462fce(0x16d)]=_0x23d2c3,_0x396047[_0x462fce(0x147)]({'attributes':{'class':[_0x462fce(0x176)]}});const _0x1e439a=[];if(_0x47469f[_0x462fce(0x174)](_0x462fce(0x14c))){const _0x1c3102=new _0x5e980e(_0x4c129c);_0x1c3102[_0x462fce(0x18a)]({'label':_0x13ae5c(_0x4c129c,_0x462fce(0x178)),'tooltip':!0x0,'withText':!0x1,'icon':_0x46c978}),_0x1c3102[_0x462fce(0x181)](_0x462fce(0x14f))['to'](this),_0x1c3102['on'](_0x462fce(0x17c),()=>{const _0x241e67=_0x462fce;this[_0x241e67(0x16c)](_0x241e67(0x14c),{'index':_0x361a95[_0x241e67(0x13c)]});}),_0x1e439a[_0x462fce(0x164)](_0x1c3102);}if(_0x47469f[_0x462fce(0x174)](_0x462fce(0x148))){const _0x5c20a5=new _0x5e980e(_0x4c129c);_0x5c20a5[_0x462fce(0x18a)]({'label':_0x13ae5c(_0x4c129c,_0x462fce(0x156)),'tooltip':!0x0,'withText':!0x1,'icon':_0x487dc1}),_0x5c20a5[_0x462fce(0x181)](_0x462fce(0x14f))['to'](this),_0x5c20a5['on'](_0x462fce(0x17c),()=>{const _0x1b2b2f=_0x462fce;this[_0x1b2b2f(0x16c)](_0x1b2b2f(0x148),{'index':_0x361a95[_0x1b2b2f(0x13c)]});}),_0x1e439a[_0x462fce(0x164)](_0x5c20a5);}const _0x26013e=new _0x5e980e(_0x4c129c);_0x26013e[_0x462fce(0x18a)]({'label':_0x13ae5c(_0x4c129c,_0x462fce(0x188)),'tooltip':!0x0,'withText':!0x1,'icon':_0x2d6dc5}),_0x26013e[_0x462fce(0x181)](_0x462fce(0x14f))['to'](this),_0x26013e['on'](_0x462fce(0x17c),()=>{const _0x58f9df=_0x462fce;this[_0x58f9df(0x16c)](_0x58f9df(0x15a),{'index':_0x361a95[_0x58f9df(0x13c)]});}),_0x1e439a[_0x462fce(0x164)](_0x26013e),this[_0x462fce(0x17f)]=new _0x3ea1e8(_0x4c129c),this[_0x462fce(0x17f)][_0x462fce(0x152)][_0x462fce(0x13b)](_0x1e439a),this[_0x462fce(0x146)]=new _0x1d7605(),this[_0x462fce(0x146)][_0x462fce(0x16d)]=_0x1cc4f6,this[_0x462fce(0x146)][_0x462fce(0x147)]({'attributes':{'class':[_0x462fce(0x15b)],'data-cke-tooltip-text':_0x13ae5c(_0x4c129c,_0x462fce(0x183)),'data-cke-tooltip-position':'n'}}),this[_0x462fce(0x157)]=new _0x1d7605(),this[_0x462fce(0x157)][_0x462fce(0x16d)]=_0x33b567,this[_0x462fce(0x157)][_0x462fce(0x147)]({'attributes':{'class':[_0x462fce(0x177)],'data-cke-tooltip-text':_0x13ae5c(_0x4c129c,_0x462fce(0x14e)),'data-cke-tooltip-position':'n'}}),this[_0x462fce(0x14b)]=new _0x1d7605(),this[_0x462fce(0x14b)][_0x462fce(0x16d)]=_0x33b567,this[_0x462fce(0x14b)][_0x462fce(0x147)]({'attributes':{'class':[_0x462fce(0x158)],'data-cke-tooltip-text':_0x13ae5c(_0x4c129c,_0x462fce(0x160)),'data-cke-tooltip-position':'n'}});const _0x3de4f5=new _0x29ac2a(_0x4c129c);_0x3de4f5[_0x462fce(0x15d)]({'tag':_0x462fce(0x161),'attributes':{'class':['ck',_0x462fce(0x145)]},'children':[_0x13ae5c(_0x4c129c,_0x462fce(0x159),_0x446b7f[_0x462fce(0x169)]())]}),this[_0x462fce(0x13d)]=this[_0x462fce(0x15f)](),this[_0x462fce(0x13d)][_0x462fce(0x13b)]([_0x396047,_0x3de4f5,this[_0x462fce(0x17f)]]),this[_0x462fce(0x15d)]({'tag':_0x462fce(0x13e),'attributes':{'class':['ck',_0x462fce(0x16e),_0x462fce(0x16a)]},'children':this[_0x462fce(0x13d)]}),this['on'](_0x462fce(0x167),(_0x1c75e3,_0x2e0a7d,_0x2a4ada,_0x5ba71c)=>{const _0x2640b7=_0x462fce;switch(_0x5ba71c){case _0x2640b7(0x16b):this[_0x2640b7(0x13d)][_0x2640b7(0x16f)](this[_0x2640b7(0x17f)]);break;case _0x2640b7(0x153):this[_0x2640b7(0x13d)][_0x2640b7(0x16f)](this[_0x2640b7(0x146)]);break;case _0x2640b7(0x144):this[_0x2640b7(0x13d)][_0x2640b7(0x16f)](this[_0x2640b7(0x157)]);break;case _0x2640b7(0x15e):this[_0x2640b7(0x13d)][_0x2640b7(0x16f)](this[_0x2640b7(0x14b)]);}switch(_0x2a4ada){case _0x2640b7(0x16b):this[_0x2640b7(0x13d)][_0x2640b7(0x15c)](this[_0x2640b7(0x17f)]);break;case _0x2640b7(0x153):this[_0x2640b7(0x13d)][_0x2640b7(0x15c)](this[_0x2640b7(0x146)]);break;case _0x2640b7(0x144):this[_0x2640b7(0x13d)][_0x2640b7(0x15c)](this[_0x2640b7(0x157)]);break;case _0x2640b7(0x15e):this[_0x2640b7(0x13d)][_0x2640b7(0x15c)](this[_0x2640b7(0x14b)]);}});}}