@ckeditor/ckeditor5-revision-history 44.1.0 → 44.2.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 (408) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/revision-history.js +2 -2
  4. package/dist/index-content.css +2 -2
  5. package/dist/index-editor.css +6 -3
  6. package/dist/index.css +43 -18
  7. package/dist/index.js +7 -7
  8. package/dist/translations/af.d.ts +2 -2
  9. package/dist/translations/af.js +2 -2
  10. package/dist/translations/af.umd.js +2 -2
  11. package/dist/translations/ar.d.ts +2 -2
  12. package/dist/translations/ar.js +2 -2
  13. package/dist/translations/ar.umd.js +2 -2
  14. package/dist/translations/ast.d.ts +2 -2
  15. package/dist/translations/ast.js +2 -2
  16. package/dist/translations/ast.umd.js +2 -2
  17. package/dist/translations/az.d.ts +2 -2
  18. package/dist/translations/az.js +2 -2
  19. package/dist/translations/az.umd.js +2 -2
  20. package/dist/translations/bg.d.ts +2 -2
  21. package/dist/translations/bg.js +2 -2
  22. package/dist/translations/bg.umd.js +2 -2
  23. package/dist/translations/bn.d.ts +2 -2
  24. package/dist/translations/bn.js +2 -2
  25. package/dist/translations/bn.umd.js +2 -2
  26. package/dist/translations/bs.d.ts +2 -2
  27. package/dist/translations/bs.js +2 -2
  28. package/dist/translations/bs.umd.js +2 -2
  29. package/dist/translations/ca.d.ts +2 -2
  30. package/dist/translations/ca.js +2 -2
  31. package/dist/translations/ca.umd.js +2 -2
  32. package/dist/translations/cs.d.ts +2 -2
  33. package/dist/translations/cs.js +2 -2
  34. package/dist/translations/cs.umd.js +2 -2
  35. package/dist/translations/da.d.ts +2 -2
  36. package/dist/translations/da.js +2 -2
  37. package/dist/translations/da.umd.js +2 -2
  38. package/dist/translations/de-ch.d.ts +2 -2
  39. package/dist/translations/de-ch.js +2 -2
  40. package/dist/translations/de-ch.umd.js +2 -2
  41. package/dist/translations/de.d.ts +2 -2
  42. package/dist/translations/de.js +2 -2
  43. package/dist/translations/de.umd.js +2 -2
  44. package/dist/translations/el.d.ts +2 -2
  45. package/dist/translations/el.js +2 -2
  46. package/dist/translations/el.umd.js +2 -2
  47. package/dist/translations/en-au.d.ts +2 -2
  48. package/dist/translations/en-au.js +2 -2
  49. package/dist/translations/en-au.umd.js +2 -2
  50. package/dist/translations/en-gb.d.ts +2 -2
  51. package/dist/translations/en-gb.js +2 -2
  52. package/dist/translations/en-gb.umd.js +2 -2
  53. package/dist/translations/en.d.ts +2 -2
  54. package/dist/translations/en.js +2 -2
  55. package/dist/translations/en.umd.js +2 -2
  56. package/dist/translations/eo.d.ts +2 -2
  57. package/dist/translations/eo.js +2 -2
  58. package/dist/translations/eo.umd.js +2 -2
  59. package/dist/translations/es-co.d.ts +2 -2
  60. package/dist/translations/es-co.js +2 -2
  61. package/dist/translations/es-co.umd.js +2 -2
  62. package/dist/translations/es.d.ts +2 -2
  63. package/dist/translations/es.js +2 -2
  64. package/dist/translations/es.umd.js +2 -2
  65. package/dist/translations/et.d.ts +2 -2
  66. package/dist/translations/et.js +2 -2
  67. package/dist/translations/et.umd.js +2 -2
  68. package/dist/translations/eu.d.ts +2 -2
  69. package/dist/translations/eu.js +2 -2
  70. package/dist/translations/eu.umd.js +2 -2
  71. package/dist/translations/fa.d.ts +2 -2
  72. package/dist/translations/fa.js +2 -2
  73. package/dist/translations/fa.umd.js +2 -2
  74. package/dist/translations/fi.d.ts +2 -2
  75. package/dist/translations/fi.js +2 -2
  76. package/dist/translations/fi.umd.js +2 -2
  77. package/dist/translations/fr.d.ts +2 -2
  78. package/dist/translations/fr.js +2 -2
  79. package/dist/translations/fr.umd.js +2 -2
  80. package/dist/translations/gl.d.ts +2 -2
  81. package/dist/translations/gl.js +2 -2
  82. package/dist/translations/gl.umd.js +2 -2
  83. package/dist/translations/gu.d.ts +2 -2
  84. package/dist/translations/gu.js +2 -2
  85. package/dist/translations/gu.umd.js +2 -2
  86. package/dist/translations/he.d.ts +2 -2
  87. package/dist/translations/he.js +2 -2
  88. package/dist/translations/he.umd.js +2 -2
  89. package/dist/translations/hi.d.ts +2 -2
  90. package/dist/translations/hi.js +2 -2
  91. package/dist/translations/hi.umd.js +2 -2
  92. package/dist/translations/hr.d.ts +2 -2
  93. package/dist/translations/hr.js +2 -2
  94. package/dist/translations/hr.umd.js +2 -2
  95. package/dist/translations/hu.d.ts +2 -2
  96. package/dist/translations/hu.js +2 -2
  97. package/dist/translations/hu.umd.js +2 -2
  98. package/dist/translations/hy.d.ts +2 -2
  99. package/dist/translations/hy.js +2 -2
  100. package/dist/translations/hy.umd.js +2 -2
  101. package/dist/translations/id.d.ts +2 -2
  102. package/dist/translations/id.js +2 -2
  103. package/dist/translations/id.umd.js +2 -2
  104. package/dist/translations/it.d.ts +2 -2
  105. package/dist/translations/it.js +2 -2
  106. package/dist/translations/it.umd.js +2 -2
  107. package/dist/translations/ja.d.ts +2 -2
  108. package/dist/translations/ja.js +2 -2
  109. package/dist/translations/ja.umd.js +2 -2
  110. package/dist/translations/jv.d.ts +2 -2
  111. package/dist/translations/jv.js +2 -2
  112. package/dist/translations/jv.umd.js +2 -2
  113. package/dist/translations/kk.d.ts +2 -2
  114. package/dist/translations/kk.js +2 -2
  115. package/dist/translations/kk.umd.js +2 -2
  116. package/dist/translations/km.d.ts +2 -2
  117. package/dist/translations/km.js +2 -2
  118. package/dist/translations/km.umd.js +2 -2
  119. package/dist/translations/kn.d.ts +2 -2
  120. package/dist/translations/kn.js +2 -2
  121. package/dist/translations/kn.umd.js +2 -2
  122. package/dist/translations/ko.d.ts +2 -2
  123. package/dist/translations/ko.js +2 -2
  124. package/dist/translations/ko.umd.js +2 -2
  125. package/dist/translations/ku.d.ts +2 -2
  126. package/dist/translations/ku.js +2 -2
  127. package/dist/translations/ku.umd.js +2 -2
  128. package/dist/translations/lt.d.ts +2 -2
  129. package/dist/translations/lt.js +2 -2
  130. package/dist/translations/lt.umd.js +2 -2
  131. package/dist/translations/lv.d.ts +2 -2
  132. package/dist/translations/lv.js +2 -2
  133. package/dist/translations/lv.umd.js +2 -2
  134. package/dist/translations/ms.d.ts +2 -2
  135. package/dist/translations/ms.js +2 -2
  136. package/dist/translations/ms.umd.js +2 -2
  137. package/dist/translations/nb.d.ts +2 -2
  138. package/dist/translations/nb.js +2 -2
  139. package/dist/translations/nb.umd.js +2 -2
  140. package/dist/translations/ne.d.ts +2 -2
  141. package/dist/translations/ne.js +2 -2
  142. package/dist/translations/ne.umd.js +2 -2
  143. package/dist/translations/nl.d.ts +2 -2
  144. package/dist/translations/nl.js +2 -2
  145. package/dist/translations/nl.umd.js +2 -2
  146. package/dist/translations/no.d.ts +2 -2
  147. package/dist/translations/no.js +2 -2
  148. package/dist/translations/no.umd.js +2 -2
  149. package/dist/translations/oc.d.ts +2 -2
  150. package/dist/translations/oc.js +2 -2
  151. package/dist/translations/oc.umd.js +2 -2
  152. package/dist/translations/pl.d.ts +2 -2
  153. package/dist/translations/pl.js +2 -2
  154. package/dist/translations/pl.umd.js +2 -2
  155. package/dist/translations/pt-br.d.ts +2 -2
  156. package/dist/translations/pt-br.js +2 -2
  157. package/dist/translations/pt-br.umd.js +2 -2
  158. package/dist/translations/pt.d.ts +2 -2
  159. package/dist/translations/pt.js +2 -2
  160. package/dist/translations/pt.umd.js +2 -2
  161. package/dist/translations/ro.d.ts +2 -2
  162. package/dist/translations/ro.js +2 -2
  163. package/dist/translations/ro.umd.js +2 -2
  164. package/dist/translations/ru.d.ts +2 -2
  165. package/dist/translations/ru.js +2 -2
  166. package/dist/translations/ru.umd.js +2 -2
  167. package/dist/translations/si.d.ts +2 -2
  168. package/dist/translations/si.js +2 -2
  169. package/dist/translations/si.umd.js +2 -2
  170. package/dist/translations/sk.d.ts +2 -2
  171. package/dist/translations/sk.js +2 -2
  172. package/dist/translations/sk.umd.js +2 -2
  173. package/dist/translations/sl.d.ts +2 -2
  174. package/dist/translations/sl.js +2 -2
  175. package/dist/translations/sl.umd.js +2 -2
  176. package/dist/translations/sq.d.ts +2 -2
  177. package/dist/translations/sq.js +2 -2
  178. package/dist/translations/sq.umd.js +2 -2
  179. package/dist/translations/sr-latn.d.ts +2 -2
  180. package/dist/translations/sr-latn.js +2 -2
  181. package/dist/translations/sr-latn.umd.js +2 -2
  182. package/dist/translations/sr.d.ts +2 -2
  183. package/dist/translations/sr.js +2 -2
  184. package/dist/translations/sr.umd.js +2 -2
  185. package/dist/translations/sv.d.ts +2 -2
  186. package/dist/translations/sv.js +2 -2
  187. package/dist/translations/sv.umd.js +2 -2
  188. package/dist/translations/th.d.ts +2 -2
  189. package/dist/translations/th.js +2 -2
  190. package/dist/translations/th.umd.js +2 -2
  191. package/dist/translations/ti.d.ts +2 -2
  192. package/dist/translations/ti.js +2 -2
  193. package/dist/translations/ti.umd.js +2 -2
  194. package/dist/translations/tk.d.ts +2 -2
  195. package/dist/translations/tk.js +2 -2
  196. package/dist/translations/tk.umd.js +2 -2
  197. package/dist/translations/tr.d.ts +2 -2
  198. package/dist/translations/tr.js +2 -2
  199. package/dist/translations/tr.umd.js +2 -2
  200. package/dist/translations/tt.d.ts +2 -2
  201. package/dist/translations/tt.js +2 -2
  202. package/dist/translations/tt.umd.js +2 -2
  203. package/dist/translations/ug.d.ts +2 -2
  204. package/dist/translations/ug.js +2 -2
  205. package/dist/translations/ug.umd.js +2 -2
  206. package/dist/translations/uk.d.ts +2 -2
  207. package/dist/translations/uk.js +2 -2
  208. package/dist/translations/uk.umd.js +2 -2
  209. package/dist/translations/ur.d.ts +2 -2
  210. package/dist/translations/ur.js +2 -2
  211. package/dist/translations/ur.umd.js +2 -2
  212. package/dist/translations/uz.d.ts +2 -2
  213. package/dist/translations/uz.js +2 -2
  214. package/dist/translations/uz.umd.js +2 -2
  215. package/dist/translations/vi.d.ts +2 -2
  216. package/dist/translations/vi.js +2 -2
  217. package/dist/translations/vi.umd.js +2 -2
  218. package/dist/translations/zh-cn.d.ts +2 -2
  219. package/dist/translations/zh-cn.js +2 -2
  220. package/dist/translations/zh-cn.umd.js +2 -2
  221. package/dist/translations/zh.d.ts +2 -2
  222. package/dist/translations/zh.js +2 -2
  223. package/dist/translations/zh.umd.js +2 -2
  224. package/lang/translations/af.po +1 -1
  225. package/lang/translations/ar.po +1 -1
  226. package/lang/translations/ast.po +1 -1
  227. package/lang/translations/az.po +1 -1
  228. package/lang/translations/bg.po +1 -1
  229. package/lang/translations/bn.po +1 -1
  230. package/lang/translations/bs.po +1 -1
  231. package/lang/translations/ca.po +1 -1
  232. package/lang/translations/cs.po +1 -1
  233. package/lang/translations/da.po +1 -1
  234. package/lang/translations/de-ch.po +1 -1
  235. package/lang/translations/de.po +1 -1
  236. package/lang/translations/el.po +1 -1
  237. package/lang/translations/en-au.po +1 -1
  238. package/lang/translations/en-gb.po +1 -1
  239. package/lang/translations/en.po +1 -1
  240. package/lang/translations/eo.po +1 -1
  241. package/lang/translations/es-co.po +1 -1
  242. package/lang/translations/es.po +1 -1
  243. package/lang/translations/et.po +1 -1
  244. package/lang/translations/eu.po +1 -1
  245. package/lang/translations/fa.po +1 -1
  246. package/lang/translations/fi.po +1 -1
  247. package/lang/translations/fr.po +1 -1
  248. package/lang/translations/gl.po +1 -1
  249. package/lang/translations/gu.po +1 -1
  250. package/lang/translations/he.po +1 -1
  251. package/lang/translations/hi.po +1 -1
  252. package/lang/translations/hr.po +1 -1
  253. package/lang/translations/hu.po +1 -1
  254. package/lang/translations/hy.po +1 -1
  255. package/lang/translations/id.po +1 -1
  256. package/lang/translations/it.po +1 -1
  257. package/lang/translations/ja.po +1 -1
  258. package/lang/translations/jv.po +1 -1
  259. package/lang/translations/kk.po +1 -1
  260. package/lang/translations/km.po +1 -1
  261. package/lang/translations/kn.po +1 -1
  262. package/lang/translations/ko.po +1 -1
  263. package/lang/translations/ku.po +1 -1
  264. package/lang/translations/lt.po +1 -1
  265. package/lang/translations/lv.po +1 -1
  266. package/lang/translations/ms.po +1 -1
  267. package/lang/translations/nb.po +1 -1
  268. package/lang/translations/ne.po +1 -1
  269. package/lang/translations/nl.po +1 -1
  270. package/lang/translations/no.po +1 -1
  271. package/lang/translations/oc.po +1 -1
  272. package/lang/translations/pl.po +1 -1
  273. package/lang/translations/pt-br.po +1 -1
  274. package/lang/translations/pt.po +1 -1
  275. package/lang/translations/ro.po +1 -1
  276. package/lang/translations/ru.po +1 -1
  277. package/lang/translations/si.po +1 -1
  278. package/lang/translations/sk.po +1 -1
  279. package/lang/translations/sl.po +1 -1
  280. package/lang/translations/sq.po +1 -1
  281. package/lang/translations/sr-latn.po +1 -1
  282. package/lang/translations/sr.po +1 -1
  283. package/lang/translations/sv.po +1 -1
  284. package/lang/translations/th.po +1 -1
  285. package/lang/translations/ti.po +1 -1
  286. package/lang/translations/tk.po +1 -1
  287. package/lang/translations/tr.po +1 -1
  288. package/lang/translations/tt.po +1 -1
  289. package/lang/translations/ug.po +1 -1
  290. package/lang/translations/uk.po +1 -1
  291. package/lang/translations/ur.po +1 -1
  292. package/lang/translations/uz.po +1 -1
  293. package/lang/translations/vi.po +1 -1
  294. package/lang/translations/zh-cn.po +1 -1
  295. package/lang/translations/zh.po +1 -1
  296. package/package.json +34 -9
  297. package/src/augmentation.d.ts +1 -1
  298. package/src/augmentation.js +1 -1
  299. package/src/changeitem.d.ts +1 -1
  300. package/src/changeitem.js +3 -3
  301. package/src/editor/revisionviewereditor.d.ts +1 -1
  302. package/src/editor/revisionviewereditor.js +3 -3
  303. package/src/editor/revisionviewereditorui.d.ts +1 -1
  304. package/src/editor/revisionviewereditorui.js +2 -2
  305. package/src/editor/revisionviewereditoruiview.d.ts +1 -1
  306. package/src/editor/revisionviewereditoruiview.js +2 -2
  307. package/src/index.d.ts +1 -1
  308. package/src/index.js +2 -2
  309. package/src/revision.d.ts +1 -1
  310. package/src/revision.js +3 -3
  311. package/src/revisiondiff.d.ts +1 -1
  312. package/src/revisiondiff.js +2 -2
  313. package/src/revisionhistory.d.ts +18 -1
  314. package/src/revisionhistory.js +2 -2
  315. package/src/revisionhistoryadapter.d.ts +1 -1
  316. package/src/revisionhistoryadapter.js +1 -1
  317. package/src/revisionhistoryconfig.d.ts +1 -1
  318. package/src/revisionhistoryconfig.js +1 -1
  319. package/src/revisionsrepository.d.ts +1 -1
  320. package/src/revisionsrepository.js +2 -2
  321. package/src/revisiontracker.d.ts +1 -1
  322. package/src/revisiontracker.js +2 -2
  323. package/src/revisionviewer.d.ts +1 -1
  324. package/src/revisionviewer.js +2 -2
  325. package/src/ui/revision/createrevisionactionsdropdown.d.ts +1 -1
  326. package/src/ui/revision/createrevisionactionsdropdown.js +2 -2
  327. package/src/ui/revision/revisionauthorview.d.ts +1 -1
  328. package/src/ui/revision/revisionauthorview.js +2 -2
  329. package/src/ui/revision/revisionnameview.d.ts +1 -1
  330. package/src/ui/revision/revisionnameview.js +2 -2
  331. package/src/ui/revision/revisionview.d.ts +1 -1
  332. package/src/ui/revision/revisionview.js +3 -3
  333. package/src/ui/revision/subrevisioncollapserview.d.ts +1 -1
  334. package/src/ui/revision/subrevisioncollapserview.js +2 -2
  335. package/src/ui/revision/subrevisionview.d.ts +1 -1
  336. package/src/ui/revision/subrevisionview.js +2 -2
  337. package/src/ui/revision/utils.d.ts +1 -1
  338. package/src/ui/revision/utils.js +2 -2
  339. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +1 -1
  340. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
  341. package/src/ui/revisionhistory/revisionhistoryui.d.ts +1 -1
  342. package/src/ui/revisionhistory/revisionhistoryui.js +2 -2
  343. package/src/ui/revisionssidebar/revisionssidebar.d.ts +1 -1
  344. package/src/ui/revisionssidebar/revisionssidebar.js +2 -2
  345. package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +1 -1
  346. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +2 -2
  347. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +1 -1
  348. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +2 -2
  349. package/src/ui/revisionssidebar/revisionssidebarview.d.ts +1 -1
  350. package/src/ui/revisionssidebar/revisionssidebarview.js +2 -2
  351. package/src/ui/revisionssidebar/utils.d.ts +1 -1
  352. package/src/ui/revisionssidebar/utils.js +2 -2
  353. package/src/ui/revisionviewer/changedetailsview.d.ts +1 -1
  354. package/src/ui/revisionviewer/changedetailsview.js +2 -2
  355. package/src/ui/revisionviewer/changesnavigationview.d.ts +1 -1
  356. package/src/ui/revisionviewer/changesnavigationview.js +2 -2
  357. package/src/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +1 -1
  358. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +2 -2
  359. package/src/ui/revisionviewer/revisionviewerui.d.ts +1 -1
  360. package/src/ui/revisionviewer/revisionviewerui.js +2 -2
  361. package/src/utils/common-translations.d.ts +1 -1
  362. package/src/utils/common-translations.js +2 -2
  363. package/theme/changesnavigation.css +1 -1
  364. package/theme/revision/revision.css +1 -1
  365. package/theme/revision/revisionactions.css +1 -1
  366. package/theme/revision/revisionauthor.css +1 -1
  367. package/theme/revision/revisionname.css +1 -1
  368. package/theme/revision/subrevision.css +1 -1
  369. package/theme/revision/subrevisioncollapser.css +1 -1
  370. package/theme/revisionhistorysaverevisionform.css +1 -1
  371. package/theme/revisionssidebar/revisionssidebar.css +1 -1
  372. package/theme/revisionssidebar/revisionssidebarheader.css +25 -2
  373. package/theme/revisionssidebar/revisionssidebartimeperiod.css +1 -1
  374. package/theme/revisionviewer.css +1 -1
  375. package/theme/revisionviewerloadingoverlay.css +3 -1
  376. package/dist/augmentation.d.ts +0 -33
  377. package/dist/changeitem.d.ts +0 -62
  378. package/dist/editor/revisionviewereditor.d.ts +0 -31
  379. package/dist/editor/revisionviewereditorui.d.ts +0 -32
  380. package/dist/editor/revisionviewereditoruiview.d.ts +0 -47
  381. package/dist/index.d.ts +0 -20
  382. package/dist/revision.d.ts +0 -157
  383. package/dist/revisiondiff.d.ts +0 -28
  384. package/dist/revisionhistory.d.ts +0 -111
  385. package/dist/revisionhistoryadapter.d.ts +0 -68
  386. package/dist/revisionhistoryconfig.d.ts +0 -75
  387. package/dist/revisionsrepository.d.ts +0 -64
  388. package/dist/revisiontracker.d.ts +0 -141
  389. package/dist/revisionviewer.d.ts +0 -119
  390. package/dist/ui/revision/createrevisionactionsdropdown.d.ts +0 -17
  391. package/dist/ui/revision/revisionauthorview.d.ts +0 -18
  392. package/dist/ui/revision/revisionnameview.d.ts +0 -34
  393. package/dist/ui/revision/revisionview.d.ts +0 -99
  394. package/dist/ui/revision/subrevisioncollapserview.d.ts +0 -25
  395. package/dist/ui/revision/subrevisionview.d.ts +0 -38
  396. package/dist/ui/revision/utils.d.ts +0 -9
  397. package/dist/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +0 -61
  398. package/dist/ui/revisionhistory/revisionhistoryui.d.ts +0 -38
  399. package/dist/ui/revisionssidebar/revisionssidebar.d.ts +0 -56
  400. package/dist/ui/revisionssidebar/revisionssidebarheaderview.d.ts +0 -20
  401. package/dist/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +0 -33
  402. package/dist/ui/revisionssidebar/revisionssidebarview.d.ts +0 -48
  403. package/dist/ui/revisionssidebar/utils.d.ts +0 -13
  404. package/dist/ui/revisionviewer/changedetailsview.d.ts +0 -26
  405. package/dist/ui/revisionviewer/changesnavigationview.d.ts +0 -44
  406. package/dist/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +0 -38
  407. package/dist/ui/revisionviewer/revisionviewerui.d.ts +0 -40
  408. package/dist/utils/common-translations.d.ts +0 -15
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, 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(_0x411c46,_0x2187f5){const _0x52f9e8=_0xdb1b,_0x24db43=_0x411c46();while(!![]){try{const _0x19a9de=-parseInt(_0x52f9e8(0x1cb))/0x1*(parseInt(_0x52f9e8(0x1b5))/0x2)+-parseInt(_0x52f9e8(0x1d3))/0x3*(-parseInt(_0x52f9e8(0x1b0))/0x4)+-parseInt(_0x52f9e8(0x1b8))/0x5*(parseInt(_0x52f9e8(0x1d1))/0x6)+parseInt(_0x52f9e8(0x1ae))/0x7+parseInt(_0x52f9e8(0x1ce))/0x8*(parseInt(_0x52f9e8(0x1bb))/0x9)+parseInt(_0x52f9e8(0x1b9))/0xa*(parseInt(_0x52f9e8(0x1ac))/0xb)+-parseInt(_0x52f9e8(0x1b6))/0xc;if(_0x19a9de===_0x2187f5)break;else _0x24db43['push'](_0x24db43['shift']());}catch(_0x38e413){_0x24db43['push'](_0x24db43['shift']());}}}(_0x4d65,0x80a0e));import{View as _0x43d634,ButtonView as _0x51310c,ToolbarSeparatorView as _0x56737c}from'ckeditor5/src/ui.js';import{getTranslation as _0x5d27a3}from'../../utils/common-translations.js';import _0x3ed5dc from'../../../theme/icons/arrow-up.svg';import _0x33fe54 from'../../../theme/icons/arrow-down.svg';function _0x4d65(){const _0x1cf344=['div','ck-revision-history-ui__changes-navigation','bind','811943qqKPsu','isForwardNavigationEnabled','4062345RURjWg','isBackwardNavigationEnabled','28cEJUaf','backward','set','Show\x20next\x20change','EDIT_X_OF_Y_REVISIONS','42HfuTHw','20898732uuFQJS','execute','10anqSId','130wbrCVK','setTemplate','2220255Xfusev','isReady','fire','No\x20changes','isNavigationMode','isEnabled','_statusText','currentChangeNumber','bindTemplate','_isStatusLabelVisible','ck-revision-history-ui','ck-hidden','Show\x20previous\x20change','NUMBER_OF_CHANGES','ck-revision-history-ui__changes-navigation__wrapper','ck-revision-history-ui__changes-navigation__label','7724ohZAqe','Total','numberOfChanges','16agbpLh','ck-revision-history-ui__changes-navigation__navigation','Loading...','578238BTJAdI','X_OF_Y_CHANGES','252891TdIdCL','forward','span'];_0x4d65=function(){return _0x1cf344;};return _0x4d65();}import'../../../theme/changesnavigation.css';function _0xdb1b(_0x1cb0cd,_0x3f15e6){const _0x4d65ce=_0x4d65();return _0xdb1b=function(_0xdb1b68,_0x308a4c){_0xdb1b68=_0xdb1b68-0x1aa;let _0x626972=_0x4d65ce[_0xdb1b68];return _0x626972;},_0xdb1b(_0x1cb0cd,_0x3f15e6);}export default class _i extends _0x43d634{constructor(_0x5d7a3b){const _0x2688ea=_0xdb1b;super(_0x5d7a3b);const _0x29bedb=this[_0x2688ea(0x1c3)],_0x18830b=new _0x51310c(_0x5d7a3b),_0x289318=new _0x51310c(_0x5d7a3b);this[_0x2688ea(0x1b2)](_0x2688ea(0x1bf),!0x1),this[_0x2688ea(0x1b2)](_0x2688ea(0x1bc),!0x1),this[_0x2688ea(0x1b2)](_0x2688ea(0x1c2),0x0),this[_0x2688ea(0x1b2)](_0x2688ea(0x1cd),0x0),this[_0x2688ea(0x1b2)](_0x2688ea(0x1ad),!0x1),this[_0x2688ea(0x1b2)](_0x2688ea(0x1af),!0x1),this[_0x2688ea(0x1ab)](_0x2688ea(0x1c4))['to'](this,_0x2688ea(0x1bc),this,_0x2688ea(0x1cd),(_0x3c9d41,_0x55badf)=>_0x3c9d41&&_0x55badf>0x0),this[_0x2688ea(0x1ab)](_0x2688ea(0x1c1))['to'](this,_0x2688ea(0x1bc),this,_0x2688ea(0x1c2),this,_0x2688ea(0x1cd),this,_0x2688ea(0x1bf),(_0x3e486a,_0xda3a44,_0x19eeff,_0x248111)=>{const _0x49ef41=_0x2688ea;if(!_0x3e486a)return _0x5d27a3(_0x5d7a3b,_0x49ef41(0x1d0));if(!_0x19eeff)return _0x5d27a3(_0x5d7a3b,_0x49ef41(0x1be));const _0x112de6=_0x5d27a3(_0x5d7a3b,_0x49ef41(0x1c8),_0x19eeff);return _0x248111?_0x5d27a3(_0x5d7a3b,_0x49ef41(0x1d2),[_0xda3a44+0x1,_0x19eeff]):_0x112de6;}),_0x18830b[_0x2688ea(0x1b2)]({'label':_0x5d27a3(_0x5d7a3b,_0x2688ea(0x1c7)),'tooltip':!0x0,'icon':_0x3ed5dc}),_0x289318[_0x2688ea(0x1b2)]({'label':_0x5d27a3(_0x5d7a3b,_0x2688ea(0x1b3)),'tooltip':!0x0,'icon':_0x33fe54}),_0x18830b[_0x2688ea(0x1ab)](_0x2688ea(0x1c0))['to'](this,_0x2688ea(0x1af)),_0x289318[_0x2688ea(0x1ab)](_0x2688ea(0x1c0))['to'](this,_0x2688ea(0x1ad)),_0x18830b['on'](_0x2688ea(0x1b7),()=>this[_0x2688ea(0x1bd)](_0x2688ea(0x1b7),_0x2688ea(0x1b1))),_0x289318['on'](_0x2688ea(0x1b7),()=>this[_0x2688ea(0x1bd)](_0x2688ea(0x1b7),_0x2688ea(0x1d4))),this[_0x2688ea(0x1ba)]({'tag':_0x2688ea(0x1d6),'attributes':{'class':['ck',_0x2688ea(0x1c5),_0x2688ea(0x1aa)]},'children':[{'tag':_0x2688ea(0x1d5),'attributes':{'class':[_0x2688ea(0x1c9)]},'children':[{'tag':_0x2688ea(0x1d5),'attributes':{'class':[_0x2688ea(0x1ca),_0x29bedb['if'](_0x2688ea(0x1c4),_0x2688ea(0x1c6),_0x305d29=>!_0x305d29)]},'children':[{'text':_0x29bedb['to'](_0x2688ea(0x1bf),_0x5047cf=>_0x5047cf?_0x5d27a3(_0x5d7a3b,_0x2688ea(0x1b4))+':\x20':_0x5d27a3(_0x5d7a3b,_0x2688ea(0x1cc))+':\x20')}]},{'text':_0x29bedb['to'](_0x2688ea(0x1c1))}]},new _0x56737c(),{'tag':_0x2688ea(0x1d6),'attributes':{'class':[_0x2688ea(0x1cf)]},'children':[_0x18830b,_0x289318]}]});}}
23
+ function _0x3a98(){const _0x293ad2=['2442165WRPrHH','2074366eNBZWD','isEnabled','set','4AkfkSq','setTemplate','span','Total','Loading...','ck-revision-history-ui__changes-navigation__navigation','currentChangeNumber','ck-revision-history-ui__changes-navigation__wrapper','_statusText','fire','534684zmaeKk','isNavigationMode','ck-revision-history-ui__changes-navigation','X_OF_Y_CHANGES','isBackwardNavigationEnabled','ck-revision-history-ui__changes-navigation__label','forward','isReady','ck-hidden','backward','No\x20changes','div','902260RbfdDO','1QgUGZL','Show\x20next\x20change','Show\x20previous\x20change','numberOfChanges','bindTemplate','EDIT_X_OF_Y_REVISIONS','NUMBER_OF_CHANGES','isForwardNavigationEnabled','516189LnBKzj','_isStatusLabelVisible','7363737ALKbGh','ck-revision-history-ui','execute','8PdAKnW','53095JpbYCz','bind'];_0x3a98=function(){return _0x293ad2;};return _0x3a98();}function _0x1f55(_0x16516f,_0x3f6c99){const _0x3a9836=_0x3a98();return _0x1f55=function(_0x1f5560,_0x454145){_0x1f5560=_0x1f5560-0x16f;let _0x5443c9=_0x3a9836[_0x1f5560];return _0x5443c9;},_0x1f55(_0x16516f,_0x3f6c99);}(function(_0x86ff98,_0x10c734){const _0x84bcf9=_0x1f55,_0x545681=_0x86ff98();while(!![]){try{const _0x39810d=parseInt(_0x84bcf9(0x172))/0x1*(parseInt(_0x84bcf9(0x183))/0x2)+-parseInt(_0x84bcf9(0x17a))/0x3*(parseInt(_0x84bcf9(0x186))/0x4)+parseInt(_0x84bcf9(0x182))/0x5+parseInt(_0x84bcf9(0x190))/0x6+-parseInt(_0x84bcf9(0x180))/0x7*(-parseInt(_0x84bcf9(0x17f))/0x8)+-parseInt(_0x84bcf9(0x17c))/0x9+-parseInt(_0x84bcf9(0x171))/0xa;if(_0x39810d===_0x10c734)break;else _0x545681['push'](_0x545681['shift']());}catch(_0x9aca){_0x545681['push'](_0x545681['shift']());}}}(_0x3a98,0x84489));import{View as _0x5d4979,ButtonView as _0x1a4a43,ToolbarSeparatorView as _0x3b6e1d}from'ckeditor5/src/ui.js';import{getTranslation as _0x2ac0d1}from'../../utils/common-translations.js';import _0x38310e from'../../../theme/icons/arrow-up.svg';import _0x365e05 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class oi extends _0x5d4979{constructor(_0x3a1689){const _0x2be5f6=_0x1f55;super(_0x3a1689);const _0x5a4a69=this[_0x2be5f6(0x176)],_0x48b819=new _0x1a4a43(_0x3a1689),_0x3ad081=new _0x1a4a43(_0x3a1689);this[_0x2be5f6(0x185)](_0x2be5f6(0x191),!0x1),this[_0x2be5f6(0x185)](_0x2be5f6(0x197),!0x1),this[_0x2be5f6(0x185)](_0x2be5f6(0x18c),0x0),this[_0x2be5f6(0x185)](_0x2be5f6(0x175),0x0),this[_0x2be5f6(0x185)](_0x2be5f6(0x179),!0x1),this[_0x2be5f6(0x185)](_0x2be5f6(0x194),!0x1),this[_0x2be5f6(0x181)](_0x2be5f6(0x17b))['to'](this,_0x2be5f6(0x197),this,_0x2be5f6(0x175),(_0x47f9ad,_0x3ed2f2)=>_0x47f9ad&&_0x3ed2f2>0x0),this[_0x2be5f6(0x181)](_0x2be5f6(0x18e))['to'](this,_0x2be5f6(0x197),this,_0x2be5f6(0x18c),this,_0x2be5f6(0x175),this,_0x2be5f6(0x191),(_0x456ecf,_0x29493a,_0x58b0c1,_0x3fc38b)=>{const _0x4a5bfb=_0x2be5f6;if(!_0x456ecf)return _0x2ac0d1(_0x3a1689,_0x4a5bfb(0x18a));if(!_0x58b0c1)return _0x2ac0d1(_0x3a1689,_0x4a5bfb(0x16f));const _0x1fcf5a=_0x2ac0d1(_0x3a1689,_0x4a5bfb(0x178),_0x58b0c1);return _0x3fc38b?_0x2ac0d1(_0x3a1689,_0x4a5bfb(0x193),[_0x29493a+0x1,_0x58b0c1]):_0x1fcf5a;}),_0x48b819[_0x2be5f6(0x185)]({'label':_0x2ac0d1(_0x3a1689,_0x2be5f6(0x174)),'tooltip':!0x0,'icon':_0x38310e}),_0x3ad081[_0x2be5f6(0x185)]({'label':_0x2ac0d1(_0x3a1689,_0x2be5f6(0x173)),'tooltip':!0x0,'icon':_0x365e05}),_0x48b819[_0x2be5f6(0x181)](_0x2be5f6(0x184))['to'](this,_0x2be5f6(0x194)),_0x3ad081[_0x2be5f6(0x181)](_0x2be5f6(0x184))['to'](this,_0x2be5f6(0x179)),_0x48b819['on'](_0x2be5f6(0x17e),()=>this[_0x2be5f6(0x18f)](_0x2be5f6(0x17e),_0x2be5f6(0x199))),_0x3ad081['on'](_0x2be5f6(0x17e),()=>this[_0x2be5f6(0x18f)](_0x2be5f6(0x17e),_0x2be5f6(0x196))),this[_0x2be5f6(0x187)]({'tag':_0x2be5f6(0x170),'attributes':{'class':['ck',_0x2be5f6(0x17d),_0x2be5f6(0x192)]},'children':[{'tag':_0x2be5f6(0x188),'attributes':{'class':[_0x2be5f6(0x18d)]},'children':[{'tag':_0x2be5f6(0x188),'attributes':{'class':[_0x2be5f6(0x195),_0x5a4a69['if'](_0x2be5f6(0x17b),_0x2be5f6(0x198),_0x1d759c=>!_0x1d759c)]},'children':[{'text':_0x5a4a69['to'](_0x2be5f6(0x191),_0x2f891d=>_0x2f891d?_0x2ac0d1(_0x3a1689,_0x2be5f6(0x177))+':\x20':_0x2ac0d1(_0x3a1689,_0x2be5f6(0x189))+':\x20')}]},{'text':_0x5a4a69['to'](_0x2be5f6(0x18e))}]},new _0x3b6e1d(),{'tag':_0x2be5f6(0x170),'attributes':{'class':[_0x2be5f6(0x18b)]},'children':[_0x48b819,_0x3ad081]}]});}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, 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 _0x49f15c=_0x38bc;(function(_0x449851,_0x5c6972){const _0x8b0720=_0x38bc,_0x1af951=_0x449851();while(!![]){try{const _0xed57bf=-parseInt(_0x8b0720(0x124))/0x1+-parseInt(_0x8b0720(0x127))/0x2+parseInt(_0x8b0720(0x122))/0x3+-parseInt(_0x8b0720(0x111))/0x4*(parseInt(_0x8b0720(0x118))/0x5)+parseInt(_0x8b0720(0x119))/0x6+-parseInt(_0x8b0720(0x114))/0x7*(-parseInt(_0x8b0720(0x120))/0x8)+parseInt(_0x8b0720(0x113))/0x9*(parseInt(_0x8b0720(0x126))/0xa);if(_0xed57bf===_0x5c6972)break;else _0x1af951['push'](_0x1af951['shift']());}catch(_0x28102e){_0x1af951['push'](_0x1af951['shift']());}}}(_0x4928,0xafa3f));import{Plugin as _0x1055e4}from'ckeditor5/src/core.js';const ce=_0x49f15c(0x116);import'../../../theme/revisionviewerloadingoverlay.css';function _0x4928(){const _0x248298=['view','8aiIQfv','change','3486924XWLDWl','isPremiumPlugin','553268TxCLCE','hide','250KHXPFt','1380976qAtKeC','roots','removeClass','4Qbjgdt','editing','44397BxNFpn','7809781ffWafR','pluginName','ck-editor__editable__loading-overlay','show','7051450pcELse','5832918HqfOAQ','isOfficialPlugin','editor','document','addClass','RevisionViewerLoadingOverlay'];_0x4928=function(){return _0x248298;};return _0x4928();}function _0x38bc(_0x2b3310,_0x55e3af){const _0x49286a=_0x4928();return _0x38bc=function(_0x38bca4,_0x7ab53e){_0x38bca4=_0x38bca4-0x110;let _0x191e72=_0x49286a[_0x38bca4];return _0x191e72;},_0x38bc(_0x2b3310,_0x55e3af);}export default class le extends _0x1055e4{static get[_0x49f15c(0x115)](){const _0x3c16d5=_0x49f15c;return _0x3c16d5(0x11e);}static get[_0x49f15c(0x11a)](){return!0x0;}static get[_0x49f15c(0x123)](){return!0x0;}[_0x49f15c(0x117)](){const _0x4124bd=_0x49f15c,_0x14fd5f=this[_0x4124bd(0x11b)][_0x4124bd(0x112)][_0x4124bd(0x11f)];_0x14fd5f[_0x4124bd(0x121)](_0x56183e=>{const _0x5b8d99=_0x4124bd;for(const _0x22aad0 of _0x14fd5f[_0x5b8d99(0x11c)][_0x5b8d99(0x128)])_0x56183e[_0x5b8d99(0x11d)](ce,_0x22aad0);});}[_0x49f15c(0x125)](){const _0x210b40=_0x49f15c,_0x41fa8d=this[_0x210b40(0x11b)][_0x210b40(0x112)][_0x210b40(0x11f)];_0x41fa8d[_0x210b40(0x121)](_0x54d6a0=>{const _0x46e394=_0x210b40;for(const _0x4dec3a of _0x41fa8d[_0x46e394(0x11c)][_0x46e394(0x128)])_0x54d6a0[_0x46e394(0x110)](ce,_0x4dec3a);});}}
23
+ const _0x29233d=_0x5845;function _0x5845(_0x4749e8,_0x26bf3e){const _0x479e91=_0x479e();return _0x5845=function(_0x58458a,_0x6bdf88){_0x58458a=_0x58458a-0xcc;let _0xf410e4=_0x479e91[_0x58458a];return _0xf410e4;},_0x5845(_0x4749e8,_0x26bf3e);}(function(_0x4cb3bc,_0x180466){const _0x4b4ba5=_0x5845,_0xd7f0e=_0x4cb3bc();while(!![]){try{const _0x5b7698=parseInt(_0x4b4ba5(0xd4))/0x1+-parseInt(_0x4b4ba5(0xda))/0x2*(parseInt(_0x4b4ba5(0xe3))/0x3)+parseInt(_0x4b4ba5(0xdc))/0x4*(parseInt(_0x4b4ba5(0xd2))/0x5)+-parseInt(_0x4b4ba5(0xe6))/0x6+parseInt(_0x4b4ba5(0xe5))/0x7*(-parseInt(_0x4b4ba5(0xcd))/0x8)+parseInt(_0x4b4ba5(0xdd))/0x9*(-parseInt(_0x4b4ba5(0xd7))/0xa)+parseInt(_0x4b4ba5(0xd1))/0xb*(parseInt(_0x4b4ba5(0xcc))/0xc);if(_0x5b7698===_0x180466)break;else _0xd7f0e['push'](_0xd7f0e['shift']());}catch(_0x8bb46e){_0xd7f0e['push'](_0xd7f0e['shift']());}}}(_0x479e,0x67c5e));import{Plugin as _0x34d212}from'ckeditor5/src/core.js';const le=_0x29233d(0xd6);import'../../../theme/revisionviewerloadingoverlay.css';export default class ge extends _0x34d212{static get[_0x29233d(0xd9)](){const _0x464e23=_0x29233d;return _0x464e23(0xdf);}static get[_0x29233d(0xdb)](){return!0x0;}static get[_0x29233d(0xe1)](){return!0x0;}[_0x29233d(0xcf)](){const _0x3819d5=_0x29233d,_0x329d23=this[_0x3819d5(0xde)][_0x3819d5(0xd0)][_0x3819d5(0xe4)];_0x329d23[_0x3819d5(0xd3)](_0x3be340=>{const _0xedc2e6=_0x3819d5;for(const _0x27a97a of _0x329d23[_0xedc2e6(0xe2)][_0xedc2e6(0xd5)])_0x3be340[_0xedc2e6(0xce)](le,_0x27a97a);});}[_0x29233d(0xd8)](){const _0x5bc6fc=_0x29233d,_0x339ec9=this[_0x5bc6fc(0xde)][_0x5bc6fc(0xd0)][_0x5bc6fc(0xe4)];_0x339ec9[_0x5bc6fc(0xd3)](_0x45402f=>{const _0x2576eb=_0x5bc6fc;for(const _0x4cbe53 of _0x339ec9[_0x2576eb(0xe2)][_0x2576eb(0xd5)])_0x45402f[_0x2576eb(0xe0)](le,_0x4cbe53);});}}function _0x479e(){const _0x2cee35=['15762ViuSUV','isOfficialPlugin','341416SyDvfe','45DHZMdH','editor','RevisionViewerLoadingOverlay','removeClass','isPremiumPlugin','document','213bRKhfx','view','7InOThN','3830508QXGhNQ','12UDFqXB','5432552TisOQv','addClass','show','editing','24089241XswTBo','20fXtzln','change','494800CLMQCv','roots','ck-editor__editable__loading-overlay','1448110Hzhguo','hide','pluginName'];_0x479e=function(){return _0x2cee35;};return _0x479e();}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, 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 _0x560638=_0x1f6a;(function(_0x400185,_0x3feeb7){const _0x24659d=_0x1f6a,_0x46ec6e=_0x400185();while(!![]){try{const _0x4dbd2d=parseInt(_0x24659d(0x164))/0x1*(-parseInt(_0x24659d(0x16a))/0x2)+parseInt(_0x24659d(0x155))/0x3*(-parseInt(_0x24659d(0x179))/0x4)+parseInt(_0x24659d(0x152))/0x5*(-parseInt(_0x24659d(0x14c))/0x6)+-parseInt(_0x24659d(0x154))/0x7*(parseInt(_0x24659d(0x153))/0x8)+parseInt(_0x24659d(0x15f))/0x9+parseInt(_0x24659d(0x173))/0xa+parseInt(_0x24659d(0x162))/0xb;if(_0x4dbd2d===_0x3feeb7)break;else _0x46ec6e['push'](_0x46ec6e['shift']());}catch(_0xb2022e){_0x46ec6e['push'](_0x46ec6e['shift']());}}}(_0x5eba,0xe9be6));function _0x1f6a(_0x19616f,_0x40cdee){const _0x5eba04=_0x5eba();return _0x1f6a=function(_0x1f6a39,_0x4e9ad1){_0x1f6a39=_0x1f6a39-0x14a;let _0x491ffb=_0x5eba04[_0x1f6a39];return _0x491ffb;},_0x1f6a(_0x19616f,_0x40cdee);}import{icons as _0x143e79,Plugin as _0x44ab13}from'ckeditor5/src/core.js';import{ButtonView as _0x55a30d}from'ckeditor5/src/ui.js';import _0x5184ea from'./changesnavigationview.js';import _0x32dab2 from'./../../revisionviewer.js';function _0x5eba(){const _0x41e231=['changesNavigation','config','pluginName','change:isReady','init','hide','6363999XnEPOx','numberOfChanges','showPreviousChange','40198400Jrtvtr','closeRevisionViewerCallback','10BBxifn','plugins','ck-revision-history-ui__back-to-editing','isEnabled','undo','isForwardNavigationEnabled','261436NDrYkR','isOfficialPlugin','currentChangeNumber','add','isPremiumPlugin','RevisionViewerUI','showNextChange','Restore\x20this\x20revision','set','14452510CLzlNX','commands','forward','listenTo','bind','Back\x20to\x20editing','4TLcvKQ','isBackwardNavigationEnabled','get','componentFactory','restoreRevision','42WpHlFk','revisionHistory','exitToEditing','isReady','editor','execute','656285lxMbme','8304bmOmVA','5677VJcBsI','5344653DPaSBo','isNavigationMode','requires','show'];_0x5eba=function(){return _0x41e231;};return _0x5eba();}import _0x3c0354 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x379a00}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class m extends _0x44ab13{static get[_0x560638(0x15b)](){const _0x203f77=_0x560638;return _0x203f77(0x16f);}static get[_0x560638(0x16b)](){return!0x0;}static get[_0x560638(0x16e)](){return!0x0;}static get[_0x560638(0x157)](){return[_0x32dab2,_0x3c0354];}[_0x560638(0x15d)](){const _0x5e09b8=_0x560638,_0x53e453=this[_0x5e09b8(0x150)],_0x50aadb=_0x53e453[_0x5e09b8(0x165)][_0x5e09b8(0x17b)](_0x32dab2),_0x2e2678=_0x53e453[_0x5e09b8(0x165)][_0x5e09b8(0x17b)](_0x3c0354);_0x53e453['ui'][_0x5e09b8(0x14a)][_0x5e09b8(0x16d)](_0x5e09b8(0x14e),_0x188ee6=>{const _0x2e938d=_0x5e09b8,_0x20ccac=new _0x55a30d(_0x188ee6);return _0x20ccac[_0x2e938d(0x172)]({'label':_0x379a00(_0x188ee6,_0x2e938d(0x178)),'icon':_0x143e79[_0x2e938d(0x168)],'withText':!0x0,'tooltip':!0x0,'class':_0x2e938d(0x166)}),this[_0x2e938d(0x176)](_0x20ccac,_0x2e938d(0x151),()=>{const _0x22da8e=_0x2e938d;_0x53e453[_0x22da8e(0x15a)][_0x22da8e(0x17b)](_0x22da8e(0x14d))[_0x22da8e(0x163)]();}),_0x20ccac;}),_0x53e453['ui'][_0x5e09b8(0x14a)][_0x5e09b8(0x16d)](_0x5e09b8(0x14b),_0x3254ad=>{const _0x16898d=_0x5e09b8,_0x2f2fd1=new _0x55a30d(_0x3254ad);return _0x2f2fd1[_0x16898d(0x172)]({'label':_0x379a00(_0x3254ad,_0x16898d(0x171)),'withText':!0x0,'tooltip':!0x0}),_0x2f2fd1[_0x16898d(0x177)](_0x16898d(0x167))['to'](_0x53e453[_0x16898d(0x174)][_0x16898d(0x17b)](_0x16898d(0x14b))),this[_0x16898d(0x176)](_0x2f2fd1,_0x16898d(0x151),()=>_0x53e453[_0x16898d(0x151)](_0x16898d(0x14b))),_0x2f2fd1;}),_0x53e453['ui'][_0x5e09b8(0x14a)][_0x5e09b8(0x16d)](_0x5e09b8(0x159),_0x568f17=>{const _0x3f3de=_0x5e09b8,_0x176f77=new _0x5184ea(_0x568f17),_0x43825e=_0x53e453[_0x3f3de(0x174)][_0x3f3de(0x17b)](_0x3f3de(0x161)),_0x1835e0=_0x53e453[_0x3f3de(0x174)][_0x3f3de(0x17b)](_0x3f3de(0x170));return _0x176f77[_0x3f3de(0x177)](_0x3f3de(0x17a))['to'](_0x43825e,_0x3f3de(0x167)),_0x176f77[_0x3f3de(0x177)](_0x3f3de(0x169))['to'](_0x1835e0,_0x3f3de(0x167)),_0x176f77[_0x3f3de(0x177)](_0x3f3de(0x14f),_0x3f3de(0x16c),_0x3f3de(0x160),_0x3f3de(0x156))['to'](_0x50aadb),this[_0x3f3de(0x176)](_0x176f77,_0x3f3de(0x151),(_0x4da936,_0x58c314)=>{const _0x5e1be1=_0x3f3de;_0x53e453[_0x5e1be1(0x151)](_0x5e1be1(0x175)===_0x58c314?_0x5e1be1(0x170):_0x5e1be1(0x161));}),_0x176f77;}),_0x2e2678[_0x5e09b8(0x158)](),_0x50aadb['on'](_0x5e09b8(0x15c),(_0x5f4265,_0x21bd7f,_0x367554)=>{const _0x389661=_0x5e09b8;_0x367554?_0x2e2678[_0x389661(0x15e)]():_0x2e2678[_0x389661(0x158)]();});}}
23
+ const _0x595c=_0x6db6;(function(_0x56eb12,_0x33a56f){const _0x435adb=_0x6db6,_0x2f066c=_0x56eb12();while(!![]){try{const _0x524d3f=-parseInt(_0x435adb(0x115))/0x1+-parseInt(_0x435adb(0x12d))/0x2+parseInt(_0x435adb(0x114))/0x3*(parseInt(_0x435adb(0x138))/0x4)+-parseInt(_0x435adb(0x123))/0x5+parseInt(_0x435adb(0x111))/0x6+parseInt(_0x435adb(0x127))/0x7+-parseInt(_0x435adb(0x12b))/0x8*(-parseInt(_0x435adb(0x134))/0x9);if(_0x524d3f===_0x33a56f)break;else _0x2f066c['push'](_0x2f066c['shift']());}catch(_0x2fd183){_0x2f066c['push'](_0x2f066c['shift']());}}}(_0x1e30,0x37e59));function _0x6db6(_0x3e2fec,_0x981ab5){const _0x1e3007=_0x1e30();return _0x6db6=function(_0x6db657,_0x3570f6){_0x6db657=_0x6db657-0x111;let _0x2cfa6f=_0x1e3007[_0x6db657];return _0x2cfa6f;},_0x6db6(_0x3e2fec,_0x981ab5);}import{icons as _0x4be59b,Plugin as _0x358954}from'ckeditor5/src/core.js';import{ButtonView as _0x2a7072}from'ckeditor5/src/ui.js';import _0x54e663 from'./changesnavigationview.js';import _0x2ec1b1 from'./../../revisionviewer.js';import _0x51ed50 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x3f7cb4}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0x1e30(){const _0x4bbf5d=['811656EbONDH','ck-revision-history-ui__back-to-editing','set','1045134FBEjLt','347963FXCAbP','execute','exitToEditing','RevisionViewerUI','showPreviousChange','config','add','isNavigationMode','revisionHistory','bind','init','get','forward','restoreRevision','1655585vopsVd','currentChangeNumber','componentFactory','closeRevisionViewerCallback','3143007SujIRz','pluginName','Restore\x20this\x20revision','requires','109128DcPHcB','isForwardNavigationEnabled','185654yhLuki','isBackwardNavigationEnabled','undo','commands','isOfficialPlugin','listenTo','changesNavigation','45phBBJU','showNextChange','show','change:isReady','4MdIQaW','isReady','hide','editor','isPremiumPlugin','numberOfChanges','isEnabled','Back\x20to\x20editing','plugins'];_0x1e30=function(){return _0x4bbf5d;};return _0x1e30();}export default class g extends _0x358954{static get[_0x595c(0x128)](){const _0x669249=_0x595c;return _0x669249(0x118);}static get[_0x595c(0x131)](){return!0x0;}static get[_0x595c(0x13c)](){return!0x0;}static get[_0x595c(0x12a)](){return[_0x2ec1b1,_0x51ed50];}[_0x595c(0x11f)](){const _0x31fac0=_0x595c,_0x330de2=this[_0x31fac0(0x13b)],_0x1b019=_0x330de2[_0x31fac0(0x140)][_0x31fac0(0x120)](_0x2ec1b1),_0x57912c=_0x330de2[_0x31fac0(0x140)][_0x31fac0(0x120)](_0x51ed50);_0x330de2['ui'][_0x31fac0(0x125)][_0x31fac0(0x11b)](_0x31fac0(0x117),_0x2d48d3=>{const _0xdbe28d=_0x31fac0,_0x51de10=new _0x2a7072(_0x2d48d3);return _0x51de10[_0xdbe28d(0x113)]({'label':_0x3f7cb4(_0x2d48d3,_0xdbe28d(0x13f)),'icon':_0x4be59b[_0xdbe28d(0x12f)],'withText':!0x0,'tooltip':!0x0,'class':_0xdbe28d(0x112)}),this[_0xdbe28d(0x132)](_0x51de10,_0xdbe28d(0x116),()=>{const _0x369029=_0xdbe28d;_0x330de2[_0x369029(0x11a)][_0x369029(0x120)](_0x369029(0x11d))[_0x369029(0x126)]();}),_0x51de10;}),_0x330de2['ui'][_0x31fac0(0x125)][_0x31fac0(0x11b)](_0x31fac0(0x122),_0xa1ee8f=>{const _0x432391=_0x31fac0,_0x2184ad=new _0x2a7072(_0xa1ee8f);return _0x2184ad[_0x432391(0x113)]({'label':_0x3f7cb4(_0xa1ee8f,_0x432391(0x129)),'withText':!0x0,'tooltip':!0x0}),_0x2184ad[_0x432391(0x11e)](_0x432391(0x13e))['to'](_0x330de2[_0x432391(0x130)][_0x432391(0x120)](_0x432391(0x122))),this[_0x432391(0x132)](_0x2184ad,_0x432391(0x116),()=>_0x330de2[_0x432391(0x116)](_0x432391(0x122))),_0x2184ad;}),_0x330de2['ui'][_0x31fac0(0x125)][_0x31fac0(0x11b)](_0x31fac0(0x133),_0x134f93=>{const _0x2126a8=_0x31fac0,_0x3e000b=new _0x54e663(_0x134f93),_0x8acd71=_0x330de2[_0x2126a8(0x130)][_0x2126a8(0x120)](_0x2126a8(0x119)),_0x8465bb=_0x330de2[_0x2126a8(0x130)][_0x2126a8(0x120)](_0x2126a8(0x135));return _0x3e000b[_0x2126a8(0x11e)](_0x2126a8(0x12e))['to'](_0x8acd71,_0x2126a8(0x13e)),_0x3e000b[_0x2126a8(0x11e)](_0x2126a8(0x12c))['to'](_0x8465bb,_0x2126a8(0x13e)),_0x3e000b[_0x2126a8(0x11e)](_0x2126a8(0x139),_0x2126a8(0x124),_0x2126a8(0x13d),_0x2126a8(0x11c))['to'](_0x1b019),this[_0x2126a8(0x132)](_0x3e000b,_0x2126a8(0x116),(_0x258ee0,_0x1c6d06)=>{const _0x5d87ad=_0x2126a8;_0x330de2[_0x5d87ad(0x116)](_0x5d87ad(0x121)===_0x1c6d06?_0x5d87ad(0x135):_0x5d87ad(0x119));}),_0x3e000b;}),_0x57912c[_0x31fac0(0x136)](),_0x1b019['on'](_0x31fac0(0x137),(_0x3ce298,_0x1a5ca4,_0x16e487)=>{const _0x38b195=_0x31fac0;_0x16e487?_0x57912c[_0x38b195(0x13a)]():_0x57912c[_0x38b195(0x136)]();});}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, 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
- export function getTranslation(_0x3a4dcf,_0x57ce16,_0x22a07f){const t=_0x3a4dcf['t'];switch(_0x57ce16){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x22a07f);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x22a07f);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}
23
+ export function getTranslation(_0x20e4a6,_0x19aafa,_0x2ae171){const t=_0x20e4a6['t'];switch(_0x19aafa){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x2ae171);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2ae171);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,12 +3,35 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
10
10
  .ck.ck-revision-history-sidebar__header {
11
- --header-height: calc(var(--ck-ui-component-min-height) + 2 * var(--ck-spacing-small) + 1px);
11
+ /*
12
+ The height of the sidebar header is calculated to match the height of the editor toolbar.
13
+ The total editor toolbar height is set to `auto`, so we need to calculate its size based on the elements inside.
14
+
15
+ The editor toolbar height is affected by 2 main variables and takes the height of whichever is bigger:
16
+ - Toolbar button height, which is a combination of `--ck-ui-component-min-height`, `--ck-icon-size` and `--ck-spacing-small`.
17
+ - Toolbar separator height, which is a combination of `--ck-icon-size` and `--ck-spacing-small`.
18
+
19
+ The toolbar button height is calculated as below:
20
+ - `var(--ck-ui-component-min-height)` <- The minimum height of the toolbar button.
21
+ - `2 * var(--ck-spacing-small)` <- Additional margin for all elements inside the toolbar.
22
+ - `1px` <- Top border.
23
+
24
+ The toolbar separator height is calculated as below:
25
+ - `var(--ck-icon-size) + 2 * var(--ck-spacing-small)` <- The line separator height.
26
+ - `2 * var(--ck-spacing-small)` <- Additional margin for all elements inside the toolbar.
27
+ - `1px` <- Top border.
28
+
29
+ See https://github.com/cksource/ckeditor5-commercial/issues/6929.
30
+ */
31
+ --header-height: max(
32
+ calc(var(--ck-ui-component-min-height) + 2 * var(--ck-spacing-small) + 1px),
33
+ calc(var(--ck-icon-size) + 2 * var(--ck-spacing-small) + 2 * var(--ck-spacing-small) + 1px)
34
+ );
12
35
 
13
36
  height: var(--header-height);
14
37
  min-height: var(--header-height);
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -58,6 +58,8 @@
58
58
 
59
59
  &::before, &::after {
60
60
  visibility: visible;
61
+ /* Some widgets (e.g. Image) has z-index set to 1. Overlay needs a higher value to cover them correctly. */
62
+ z-index: 2;
61
63
  opacity: .8;
62
64
  transition-delay: var(--ck-revision-history-loading-overlay-transition-delay);
63
65
  }
@@ -1,33 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import type { RevisionHistory, RevisionHistoryConfig, RevisionsRepository, RevisionViewerLoadingOverlay, RevisionHistoryUI, RevisionTracker, RevisionViewer, RestoreRevisionCommand, ShowChangeCommand, RevisionsSidebar, RevisionViewerUI } from './index.js';
10
- declare module '@ckeditor/ckeditor5-core' {
11
- interface EditorConfig {
12
- /**
13
- * The configuration of the revision history feature.
14
- * Introduced by the {@link module:revision-history/revisionhistory~RevisionHistory} feature.
15
- */
16
- revisionHistory?: RevisionHistoryConfig;
17
- }
18
- interface PluginsMap {
19
- [RevisionHistory.pluginName]: RevisionHistory;
20
- [RevisionsRepository.pluginName]: RevisionsRepository;
21
- [RevisionViewerLoadingOverlay.pluginName]: RevisionViewerLoadingOverlay;
22
- [RevisionHistoryUI.pluginName]: RevisionHistoryUI;
23
- [RevisionTracker.pluginName]: RevisionTracker;
24
- [RevisionViewer.pluginName]: RevisionViewer;
25
- [RevisionsSidebar.pluginName]: RevisionsSidebar;
26
- [RevisionViewerUI.pluginName]: RevisionViewerUI;
27
- }
28
- interface CommandsMap {
29
- restoreRevision: RestoreRevisionCommand;
30
- showPreviousChange: ShowChangeCommand<'backward'>;
31
- showNextChange: ShowChangeCommand<'forward'>;
32
- }
33
- }
@@ -1,62 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
10
- declare const ChangeItem_base: {
11
- new (): import("ckeditor5/src/utils.js").Observable;
12
- prototype: import("ckeditor5/src/utils.js").Observable;
13
- };
14
- /**
15
- * Represents a singular change entry in the revision or in the revisions comparison.
16
- */
17
- export default class ChangeItem extends /* #__PURE__ -- @preserve */ ChangeItem_base {
18
- /**
19
- * Unique change item id.
20
- */
21
- readonly id: string;
22
- /**
23
- * User who created the change.
24
- */
25
- readonly author: User;
26
- /**
27
- * Change type.
28
- */
29
- readonly type: string;
30
- /**
31
- * Additional details about the change.
32
- */
33
- readonly data: Record<string, unknown>;
34
- /**
35
- * Name of the root which contains the change.
36
- */
37
- readonly rootName: string;
38
- /**
39
- * The date when the change was created.
40
- *
41
- * @observable
42
- */
43
- readonly createdAt: Date;
44
- constructor(data: ChangeItemInput);
45
- toJSON(): ChangeItemJSON;
46
- }
47
- export interface ChangeItemInput {
48
- id?: string;
49
- author: User;
50
- type: string;
51
- data: Record<string, unknown>;
52
- createdAt: Date;
53
- rootName: string;
54
- }
55
- export interface ChangeItemJSON {
56
- id: string;
57
- authorId: string;
58
- type: string;
59
- data: Record<string, unknown>;
60
- createdAt: Date;
61
- }
62
- export {};
@@ -1,31 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module revision-history/editor/revisionviewereditor
11
- */
12
- import { Editor, type EditorConfig } from 'ckeditor5/src/core.js';
13
- import RevisionViewerEditorUI from './revisionviewereditorui.js';
14
- declare const RevisionViewerEditor_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof Editor, import("ckeditor5/src/core.js").ElementApi>;
15
- /**
16
- * Editor class used to show revision comparisons.
17
- */
18
- export default class RevisionViewerEditor extends /* #__PURE__ -- @preserve */ RevisionViewerEditor_base {
19
- get ui(): RevisionViewerEditorUI;
20
- /**
21
- * @param sourceElement Editor source element.
22
- * @param config Editor configuration.
23
- */
24
- constructor(sourceElement: HTMLElement, config?: EditorConfig);
25
- /**
26
- * @inheritDoc
27
- */
28
- destroy(): Promise<unknown>;
29
- static create(sourceElement: HTMLElement, config?: EditorConfig): Promise<RevisionViewerEditor>;
30
- }
31
- export {};
@@ -1,32 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module revision-history/editor/revisionviewereditorui
11
- */
12
- import type { Editor } from 'ckeditor5/src/core.js';
13
- import { EditorUI } from 'ckeditor5/src/ui.js';
14
- import type RevisionViewerEditorUIView from './revisionviewereditoruiview.js';
15
- export default class RevisionViewerEditorUI extends EditorUI {
16
- get view(): RevisionViewerEditorUIView;
17
- constructor(editor: Editor, view: RevisionViewerEditorUIView);
18
- /**
19
- * @inheritDoc
20
- */
21
- get element(): HTMLElement | null;
22
- /**
23
- * Initializes the UI.
24
- *
25
- * @param replacementElement The DOM element that will be the source for the created editor.
26
- */
27
- init(replacementElement: HTMLElement): void;
28
- /**
29
- * @inheritDoc
30
- */
31
- destroy(): void;
32
- }
@@ -1,47 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module revision-history/editor/revisionviewereditoruiview
11
- */
12
- import { BoxedEditorUIView, InlineEditableUIView, StickyPanelView, ToolbarView } from 'ckeditor5/src/ui.js';
13
- import type { EditingView } from 'ckeditor5/src/engine.js';
14
- import type { Locale } from 'ckeditor5/src/utils.js';
15
- import '@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';
16
- export default class RevisionViewerEditorUIView extends BoxedEditorUIView {
17
- /**
18
- * Sticky panel view instance. This is a parent view of a {@link #toolbar}
19
- * that makes toolbar sticky.
20
- */
21
- readonly stickyPanel: StickyPanelView;
22
- /**
23
- * Toolbar view instance.
24
- */
25
- readonly toolbar: ToolbarView;
26
- get editable(): InlineEditableUIView;
27
- /**
28
- * Creates an instance of the classic editor UI view.
29
- *
30
- * @param locale The {@link module:core/editor/editor~Editor#locale} instance.
31
- * @param editingView The editing view instance this view is related to.
32
- * @param options Configuration options for the view instance.
33
- */
34
- constructor(locale: Locale, editingView: EditingView, options?: RevisionViewerEditorUIViewOptions);
35
- /**
36
- * @inheritDoc
37
- */
38
- render(): void;
39
- }
40
- export interface RevisionViewerEditorUIViewOptions {
41
- /**
42
- * When set `true` enables automatic items grouping
43
- * in the main {@link module:editor-classic/classiceditoruiview~ClassicEditorUIView#toolbar toolbar}.
44
- * See {@link module:ui/toolbar/toolbarview~ToolbarOptions#shouldGroupWhenFull} to learn more.
45
- */
46
- shouldToolbarGroupWhenFull?: boolean;
47
- }
package/dist/index.d.ts DELETED
@@ -1,20 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- export { default as Revision } from './revision.js';
10
- export { default as RevisionHistory } from './revisionhistory.js';
11
- export { default as RevisionsRepository } from './revisionsrepository.js';
12
- export { default as RevisionViewerLoadingOverlay } from './ui/revisionviewer/revisionviewerloadingoverlay.js';
13
- export { default as RevisionHistoryUI } from './ui/revisionhistory/revisionhistoryui.js';
14
- export { default as RevisionTracker } from './revisiontracker.js';
15
- export { default as RevisionViewer, type RestoreRevisionCommand, type ShowChangeCommand } from './revisionviewer.js';
16
- export { default as RevisionsSidebar } from './ui/revisionssidebar/revisionssidebar.js';
17
- export { default as RevisionViewerUI } from './ui/revisionviewer/revisionviewerui.js';
18
- export type { RevisionData } from './revision.js';
19
- export type { RevisionHistoryConfig } from './revisionhistoryconfig.js';
20
- import './augmentation.js';