@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20241230.0 → 0.0.0-nightly-20250101.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.
- package/build/revision-history.js +2 -2
- package/dist/index-content.css +1 -1
- package/dist/index-editor.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +1 -1
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +1 -1
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +1 -1
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +1 -1
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +1 -1
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +1 -1
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +1 -1
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +1 -1
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +1 -1
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +1 -1
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +1 -1
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +1 -1
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +1 -1
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +1 -1
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +1 -1
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +1 -1
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +1 -1
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +1 -1
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +1 -1
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +1 -1
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +1 -1
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/package.json +8 -8
- package/src/augmentation.js +1 -1
- package/src/changeitem.js +3 -3
- package/src/editor/revisionviewereditor.js +3 -3
- package/src/editor/revisionviewereditorui.js +2 -2
- package/src/editor/revisionviewereditoruiview.js +2 -2
- package/src/index.js +2 -2
- package/src/revision.js +3 -3
- package/src/revisiondiff.js +2 -2
- package/src/revisionhistory.js +2 -2
- package/src/revisionhistoryadapter.js +1 -1
- package/src/revisionhistoryconfig.js +1 -1
- package/src/revisionsrepository.js +2 -2
- package/src/revisiontracker.js +2 -2
- package/src/revisionviewer.js +2 -2
- package/src/ui/revision/createrevisionactionsdropdown.js +2 -2
- package/src/ui/revision/revisionauthorview.js +2 -2
- package/src/ui/revision/revisionnameview.js +2 -2
- package/src/ui/revision/revisionview.js +3 -3
- package/src/ui/revision/subrevisioncollapserview.js +2 -2
- package/src/ui/revision/subrevisionview.js +2 -2
- package/src/ui/revision/utils.js +2 -2
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +2 -2
- package/src/ui/revisionssidebar/revisionssidebar.js +2 -2
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +2 -2
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +2 -2
- package/src/ui/revisionssidebar/revisionssidebarview.js +2 -2
- package/src/ui/revisionssidebar/utils.js +2 -2
- package/src/ui/revisionviewer/changedetailsview.js +2 -2
- package/src/ui/revisionviewer/changesnavigationview.js +2 -2
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +2 -2
- package/src/ui/revisionviewer/revisionviewerui.js +2 -2
- package/src/utils/common-translations.js +2 -2
package/src/ui/revision/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
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(
|
|
23
|
+
(function(_0x2fc7f4,_0x4f9f67){var _0x183616=_0x5cf4,_0x2fcc28=_0x2fc7f4();while(!![]){try{var _0x2f5e0e=-parseInt(_0x183616(0xe9))/0x1+-parseInt(_0x183616(0xe8))/0x2+parseInt(_0x183616(0xe6))/0x3+parseInt(_0x183616(0xe4))/0x4+parseInt(_0x183616(0xe7))/0x5+-parseInt(_0x183616(0xeb))/0x6+parseInt(_0x183616(0xe5))/0x7;if(_0x2f5e0e===_0x4f9f67)break;else _0x2fcc28['push'](_0x2fcc28['shift']());}catch(_0x4ddc5a){_0x2fcc28['push'](_0x2fcc28['shift']());}}}(_0x31b1,0x44e16));export function dateToPrettyFormat(_0x5b51f3,_0x1aec95){var _0x20f687=_0x5cf4;return _0x1aec95[_0x20f687(0xec)](_0x5b51f3,{'month':_0x20f687(0xed),'day':_0x20f687(0xe3)})+',\x20'+_0x1aec95[_0x20f687(0xea)](_0x5b51f3,{'hour':_0x20f687(0xe3),'minute':_0x20f687(0xe3)});}function _0x5cf4(_0x3de717,_0xfab180){var _0x31b1e3=_0x31b1();return _0x5cf4=function(_0x5cf4ab,_0x433037){_0x5cf4ab=_0x5cf4ab-0xe3;var _0x5efe72=_0x31b1e3[_0x5cf4ab];return _0x5efe72;},_0x5cf4(_0x3de717,_0xfab180);}function _0x31b1(){var _0x5d05a7=['882290DcVuLB','973802aacAXG','74398uvryhC','toLocaleTimeString','2385486hNuysi','toLocaleDateString','long','numeric','2216528vrFbQC','1759380CfTWXy','777252sixGix'];_0x31b1=function(){return _0x5d05a7;};return _0x31b1();}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
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
|
|
23
|
+
const _0x34359f=_0x1ec8;(function(_0x516e5f,_0x46e8ed){const _0x6087f7=_0x1ec8,_0x303acb=_0x516e5f();while(!![]){try{const _0xf56dc3=-parseInt(_0x6087f7(0xb4))/0x1*(parseInt(_0x6087f7(0xbd))/0x2)+parseInt(_0x6087f7(0xc7))/0x3*(-parseInt(_0x6087f7(0xc1))/0x4)+parseInt(_0x6087f7(0xae))/0x5*(-parseInt(_0x6087f7(0xc4))/0x6)+-parseInt(_0x6087f7(0xb2))/0x7*(parseInt(_0x6087f7(0xad))/0x8)+-parseInt(_0x6087f7(0xc6))/0x9+parseInt(_0x6087f7(0xa1))/0xa*(parseInt(_0x6087f7(0xb8))/0xb)+-parseInt(_0x6087f7(0xa8))/0xc*(-parseInt(_0x6087f7(0xc3))/0xd);if(_0xf56dc3===_0x46e8ed)break;else _0x303acb['push'](_0x303acb['shift']());}catch(_0x55e286){_0x303acb['push'](_0x303acb['shift']());}}}(_0x512f,0xa6375));import{LabeledFieldView as _0xaa9be0,View as _0x167bc3,createLabeledInputText as _0x47ee8e,injectCssTransitionDisabler as _0xbad24d,submitHandler as _0x4b6a5b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x457419,KeystrokeHandler as _0x1e7150}from'ckeditor5/src/utils.js';function _0x512f(){const _0x23dd51=['ck-revision-history-save-revision-form','480473iJEzcC','extendTemplate','locale','revisionName','3550976iTTceT','revisionNameInputView','stopPropagation','fieldView','arrowdown','2CPXYFl','_createRevisionNameInput','render','arrowup','40484qgAFPK','keystrokes','34619Ptgkia','972tESnJs','element','11952801DLpglB','6VTchbC','Name\x20of\x20the\x20revision','add','value','trim','setTemplate','listenTo','focus','40mmajHe','focusTracker','form','220','set','arrowright','optional','9852YdCjny','label','input','errorText','arrowleft','92760rZHNii','530UhMtMG','revisionNameInputValue','ck-responsive-form','reset','574gubcVE'];_0x512f=function(){return _0x23dd51;};return _0x512f();}import{getTranslation as _0x5039e6}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';function _0x1ec8(_0x4e03bc,_0x3d7233){const _0x512f82=_0x512f();return _0x1ec8=function(_0x1ec8f9,_0x2287f7){_0x1ec8f9=_0x1ec8f9-0x9d;let _0x5c2941=_0x512f82[_0x1ec8f9];return _0x5c2941;},_0x1ec8(_0x4e03bc,_0x3d7233);}import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class ns extends _0x167bc3{constructor(_0x29bcc0,_0x8f4076){const _0x3f2fcb=_0x1ec8;super(_0x29bcc0),this[_0x3f2fcb(0xa2)]=new _0x457419(),this[_0x3f2fcb(0xc2)]=new _0x1e7150(),this[_0x3f2fcb(0xa5)](_0x3f2fcb(0xaf),''),this[_0x3f2fcb(0xb9)]=this[_0x3f2fcb(0xbe)](_0x8f4076),this[_0x3f2fcb(0x9e)]({'tag':_0x3f2fcb(0xa3),'attributes':{'class':['ck',_0x3f2fcb(0xb3),_0x3f2fcb(0xb0)],'tabindex':'-1'},'children':[this[_0x3f2fcb(0xb9)]]}),_0xbad24d(this);}[_0x34359f(0xbf)](){const _0x57f5bf=_0x34359f;super[_0x57f5bf(0xbf)](),_0x4b6a5b({'view':this}),this[_0x57f5bf(0xa2)][_0x57f5bf(0xc9)](this[_0x57f5bf(0xb9)][_0x57f5bf(0xc5)]),this[_0x57f5bf(0xc2)][_0x57f5bf(0x9f)](this[_0x57f5bf(0xc5)]);const _0x5a0a37=_0x5510d1=>_0x5510d1[_0x57f5bf(0xba)]();this[_0x57f5bf(0xc2)][_0x57f5bf(0xa5)](_0x57f5bf(0xa6),_0x5a0a37),this[_0x57f5bf(0xc2)][_0x57f5bf(0xa5)](_0x57f5bf(0xac),_0x5a0a37),this[_0x57f5bf(0xc2)][_0x57f5bf(0xa5)](_0x57f5bf(0xc0),_0x5a0a37),this[_0x57f5bf(0xc2)][_0x57f5bf(0xa5)](_0x57f5bf(0xbc),_0x5a0a37);}[_0x34359f(0xa0)](){const _0x3848c4=_0x34359f;this[_0x3848c4(0xb9)][_0x3848c4(0xa0)]();}get[_0x34359f(0xb7)](){const _0xf0aa5f=_0x34359f;return this[_0xf0aa5f(0xb9)][_0xf0aa5f(0xbb)][_0xf0aa5f(0xc5)][_0xf0aa5f(0xca)][_0xf0aa5f(0x9d)]();}set[_0x34359f(0xb7)](_0x4e6fac){const _0xeb2156=_0x34359f;this[_0xeb2156(0xb9)][_0xeb2156(0xbb)][_0xeb2156(0xc5)][_0xeb2156(0xca)]=_0x4e6fac[_0xeb2156(0x9d)]();}[_0x34359f(0xb1)](){const _0x390db1=_0x34359f;this[_0x390db1(0xb9)][_0x390db1(0xbb)][_0x390db1(0xc5)][_0x390db1(0xca)]='',this[_0x390db1(0xb9)][_0x390db1(0xab)]=null;}[_0x34359f(0xbe)](_0x177b96){const _0x25657f=_0x34359f,_0x4623f9=new _0xaa9be0(this[_0x25657f(0xb6)],_0x47ee8e),_0x35a0f3=_0x4623f9[_0x25657f(0xbb)];_0x35a0f3[_0x25657f(0xb5)]({'attributes':{'maxlength':_0x25657f(0xa4)}});let _0x4da739=_0x5039e6(this[_0x25657f(0xb6)],_0x25657f(0xc8));return!_0x177b96&&(_0x4da739+='\x20('+_0x5039e6(this[_0x25657f(0xb6)],_0x25657f(0xa7))+')'),(_0x4623f9[_0x25657f(0xa9)]=_0x4da739,_0x35a0f3['on'](_0x25657f(0xaa),()=>{const _0x8a7318=_0x25657f;this[_0x8a7318(0xaf)]=_0x35a0f3[_0x8a7318(0xc5)][_0x8a7318(0xca)][_0x8a7318(0x9d)]();}),_0x4623f9);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
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
|
|
23
|
+
const _0x313d4c=_0x22b0;function _0x22b0(_0x395142,_0x26a624){const _0x397799=_0x3977();return _0x22b0=function(_0x22b0e9,_0x568440){_0x22b0e9=_0x22b0e9-0xe8;let _0x4cd063=_0x397799[_0x22b0e9];return _0x4cd063;},_0x22b0(_0x395142,_0x26a624);}(function(_0x32bcc5,_0x16f389){const _0x5e6e67=_0x22b0,_0x701069=_0x32bcc5();while(!![]){try{const _0x58a747=-parseInt(_0x5e6e67(0x11f))/0x1*(parseInt(_0x5e6e67(0x127))/0x2)+-parseInt(_0x5e6e67(0x113))/0x3+-parseInt(_0x5e6e67(0xf0))/0x4+-parseInt(_0x5e6e67(0x116))/0x5*(parseInt(_0x5e6e67(0xfa))/0x6)+parseInt(_0x5e6e67(0x12d))/0x7+-parseInt(_0x5e6e67(0x107))/0x8+-parseInt(_0x5e6e67(0x102))/0x9*(-parseInt(_0x5e6e67(0xfc))/0xa);if(_0x58a747===_0x16f389)break;else _0x701069['push'](_0x701069['shift']());}catch(_0x38542b){_0x701069['push'](_0x701069['shift']());}}}(_0x3977,0xe9b7b));import{Plugin as _0x6a2cd8,icons as _0x447bc4}from'ckeditor5/src/core.js';import{createDropdown as _0x9ff0a7,ButtonView as _0x40a2f1,ListItemView as _0x26fb3f,ListView as _0x5810f1,MenuBarMenuListItemButtonView as _0x1d6f7c,MenuBarMenuListItemView as _0x2e9a49,MenuBarMenuListView as _0x3a42ed,MenuBarMenuView as _0xd12d5a}from'ckeditor5/src/ui.js';function _0x3977(){const _0x41fe11=['isEnabled','_showDialog','6458215msQQqV','isOpen','revisionHistory.requireRevisionName','_registerMenuComponent','Revision\x20history','history','add','isOfficialPlugin','RevisionTracker','73HPDGtu','editing','view','menuitem','addMany','isReady','items','set','46402MFRUKj','buttonView','showRevisionViewerCallback','config','Accept','menuBar:revisionHistory','145726EPwDaz','The\x20revision\x20name\x20cannot\x20be\x20empty.','children','componentFactory','reset','Save\x20current\x20revision','_saveRevisionFormView','submit','revisionName','4636400COVrmY','RevisionHistoryUI','errorText','focus','menu','hide','panelView','show','render','revisionSave','6BDLIGj','bind','10mKkCxc','revisionHistory','_createSaveRevisionFormView','role','isPremiumPlugin','requires','63729378xiHRNh','Cancel','execute','get','revisionNameInputView','15164432lIdbKf','delegate','locale','editor','plugins','Open\x20revision\x20history','isReadOnly','pluginName','init','saveRevision','Dialog','ck-button-action','313749cvNRHA'];_0x3977=function(){return _0x41fe11;};return _0x3977();}import _0x4b5e10 from'../../revisiontracker.js';import _0x4f3e4d from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x47a2a4}from'../../utils/common-translations.js';export default class u extends _0x6a2cd8{static get[_0x313d4c(0x10e)](){const _0x3a1323=_0x313d4c;return _0x3a1323(0xf1);}static get[_0x313d4c(0x11d)](){return!0x0;}static get[_0x313d4c(0x100)](){return!0x0;}static get[_0x313d4c(0x101)](){return[_0x4b5e10];}[_0x313d4c(0x10f)](){const _0x16f3fa=_0x313d4c,_0x330092=this[_0x16f3fa(0x10a)],_0x28160b=_0x330092[_0x16f3fa(0x10b)][_0x16f3fa(0x105)](_0x16f3fa(0x11e));_0x330092['ui'][_0x16f3fa(0xea)][_0x16f3fa(0x11c)](_0x16f3fa(0xfd),_0x507a53=>{const _0x324866=_0x16f3fa,_0x15d82f=_0x9ff0a7(_0x507a53),_0x15aa2b=_0x15d82f[_0x324866(0xf6)][_0x324866(0xe9)],_0x1d4d64=new _0x5810f1(_0x507a53),_0x151d68=new _0x26fb3f(_0x507a53),_0x12f78b=new _0x40a2f1(_0x507a53),_0x3385f7=new _0x26fb3f(_0x507a53),_0x1e1473=new _0x40a2f1(_0x507a53);return _0x15d82f[_0x324866(0xfb)](_0x324866(0x114))['to'](_0x28160b,_0x324866(0x124),_0x28160b,_0x324866(0x114),_0x330092,_0x324866(0x10d),(_0xa275d5,_0x5ff2ad,_0x4d0e31)=>_0xa275d5&&_0x5ff2ad&&!_0x4d0e31),_0x15d82f[_0x324866(0x128)][_0x324866(0x126)]({'icon':_0x447bc4[_0x324866(0x11b)],'label':_0x47a2a4(_0x507a53,_0x324866(0x11a)),'tooltip':!0x0}),_0x12f78b[_0x324866(0x126)]({'label':_0x47a2a4(_0x507a53,_0x324866(0xec)),'withText':!0x0,'role':_0x324866(0x122)}),_0x12f78b[_0x324866(0xfb)](_0x324866(0x114))['to'](_0x28160b,_0x324866(0x124),_0x28160b,_0x324866(0x114),_0x330092,_0x324866(0x10d),(_0x200ba4,_0x48698f,_0x1dc1b4)=>_0x200ba4&&_0x48698f&&!_0x1dc1b4),_0x12f78b['on'](_0x324866(0x104),()=>this[_0x324866(0x115)]()),_0x1e1473[_0x324866(0x126)]({'label':_0x47a2a4(_0x507a53,_0x324866(0x10c)),'withText':!0x0,'role':_0x324866(0x122)}),_0x1e1473[_0x324866(0xfb)](_0x324866(0x114))['to'](_0x28160b,_0x324866(0x124),_0x330092,_0x324866(0x10d),(_0x2929a8,_0x3b66d8)=>_0x2929a8&&!_0x3b66d8),_0x1e1473['on'](_0x324866(0x104),()=>{const _0x3faad1=_0x324866;_0x330092[_0x3faad1(0x12a)][_0x3faad1(0x105)](_0x3faad1(0xfd))[_0x3faad1(0x129)](),_0x15d82f[_0x3faad1(0x117)]=!0x1,_0x330092[_0x3faad1(0x120)][_0x3faad1(0x121)][_0x3faad1(0xf3)]();}),_0x151d68[_0x324866(0xe9)][_0x324866(0x11c)](_0x12f78b),_0x3385f7[_0x324866(0xe9)][_0x324866(0x11c)](_0x1e1473),_0x1d4d64[_0x324866(0xff)]=_0x324866(0xf4),_0x1d4d64[_0x324866(0x125)][_0x324866(0x123)]([_0x151d68,_0x3385f7]),_0x15aa2b[_0x324866(0x11c)](_0x1d4d64),_0x15d82f;}),_0x330092['ui'][_0x16f3fa(0xea)][_0x16f3fa(0x11c)](_0x16f3fa(0x12c),()=>this[_0x16f3fa(0x119)]());}[_0x313d4c(0x119)](){const _0x345012=_0x313d4c,_0x1ea575=this[_0x345012(0x10a)],_0x12a0ba=_0x1ea575[_0x345012(0x109)],_0x58e285=new _0xd12d5a(_0x12a0ba),_0x249f19=new _0x3a42ed(_0x12a0ba);_0x58e285[_0x345012(0x128)][_0x345012(0x126)]({'icon':_0x447bc4[_0x345012(0x11b)],'label':_0x47a2a4(_0x12a0ba,_0x345012(0x11a))});const _0x4ee4a2=new _0x2e9a49(_0x12a0ba,_0x58e285),_0x1a943a=new _0x1d6f7c(_0x12a0ba);_0x1a943a[_0x345012(0x126)]({'label':_0x47a2a4(_0x12a0ba,_0x345012(0xec))}),_0x1a943a[_0x345012(0x108)](_0x345012(0x104))['to'](_0x58e285),_0x1a943a['on'](_0x345012(0x104),()=>{const _0x1f71fb=_0x345012;this[_0x1f71fb(0x115)]();}),_0x4ee4a2[_0x345012(0xe9)][_0x345012(0x11c)](_0x1a943a),_0x249f19[_0x345012(0x125)][_0x345012(0x11c)](_0x4ee4a2);const _0x149aec=new _0x2e9a49(_0x12a0ba,_0x58e285),_0x2800d0=new _0x1d6f7c(_0x12a0ba);return _0x2800d0[_0x345012(0x126)]({'label':_0x47a2a4(_0x12a0ba,_0x345012(0x10c))}),_0x2800d0[_0x345012(0x108)](_0x345012(0x104))['to'](_0x58e285),_0x2800d0['on'](_0x345012(0x104),()=>{const _0x394fef=_0x345012;_0x1ea575[_0x394fef(0x12a)][_0x394fef(0x105)](_0x394fef(0xfd))[_0x394fef(0x129)]();}),_0x149aec[_0x345012(0xe9)][_0x345012(0x11c)](_0x2800d0),_0x249f19[_0x345012(0x125)][_0x345012(0x11c)](_0x149aec),_0x58e285[_0x345012(0xf6)][_0x345012(0xe9)][_0x345012(0x11c)](_0x249f19),_0x58e285;}[_0x313d4c(0x115)](){const _0x5e542c=_0x313d4c,_0x21e1f5=this[_0x5e542c(0x10a)],_0x2d44bd=_0x21e1f5[_0x5e542c(0x109)],_0x47ab13=_0x21e1f5[_0x5e542c(0x10b)][_0x5e542c(0x105)](_0x5e542c(0x111)),_0x55621c=_0x21e1f5[_0x5e542c(0x10b)][_0x5e542c(0x105)](_0x5e542c(0x11e));function _0x2f3439(_0x3b7d34){const _0x19bbed=_0x5e542c;_0x21e1f5[_0x19bbed(0x12a)][_0x19bbed(0x105)](_0x19bbed(0x118))&&''===_0x3b7d34[_0x19bbed(0xef)]?_0x3b7d34[_0x19bbed(0x106)][_0x19bbed(0xf2)]=_0x47a2a4(_0x2d44bd,_0x19bbed(0xe8)):(_0x21e1f5[_0x19bbed(0x10b)][_0x19bbed(0x105)](_0x4b5e10)[_0x19bbed(0x110)]({'name':_0x3b7d34[_0x19bbed(0xef)]}),_0x47ab13[_0x19bbed(0xf5)]());}this[_0x5e542c(0xed)]||(this[_0x5e542c(0xfe)](),this[_0x5e542c(0xed)]['on'](_0x5e542c(0xee),()=>_0x2f3439(this[_0x5e542c(0xed)]))),this[_0x5e542c(0xed)][_0x5e542c(0xeb)](),_0x47ab13[_0x5e542c(0xf7)]({'id':_0x5e542c(0xf9),'title':_0x47a2a4(_0x2d44bd,_0x5e542c(0xec)),'isModal':!0x0,'content':this[_0x5e542c(0xed)],'actionButtons':[{'label':_0x47a2a4(_0x21e1f5[_0x5e542c(0x109)],_0x5e542c(0x103)),'withText':!0x0,'onExecute':()=>_0x47ab13[_0x5e542c(0xf5)]()},{'label':_0x47a2a4(_0x21e1f5[_0x5e542c(0x109)],_0x5e542c(0x12b)),'class':_0x5e542c(0x112),'withText':!0x0,'onCreate'(_0x2d692a){const _0x5ad907=_0x5e542c;_0x2d692a[_0x5ad907(0xfb)](_0x5ad907(0x114))['to'](_0x55621c,_0x5ad907(0x124),_0x55621c,_0x5ad907(0x114),_0x21e1f5,_0x5ad907(0x10d),(_0x100b71,_0x504978,_0x2f0e40)=>_0x100b71&&_0x504978&&!_0x2f0e40);},'onExecute':()=>_0x2f3439(this[_0x5e542c(0xed)])}]});}[_0x313d4c(0xfe)](){const _0x1854b8=_0x313d4c,_0x536d35=this[_0x1854b8(0x10a)],_0x4fc99b=_0x536d35[_0x1854b8(0x109)];this[_0x1854b8(0xed)]=new _0x4f3e4d(_0x4fc99b,_0x536d35[_0x1854b8(0x12a)][_0x1854b8(0x105)](_0x1854b8(0x118))),this[_0x1854b8(0xed)][_0x1854b8(0xf8)]();}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
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
|
-
|
|
23
|
+
const _0x1579af=_0x5d1a;(function(_0x508b4d,_0x1f9639){const _0x16f9bd=_0x5d1a,_0xf37566=_0x508b4d();while(!![]){try{const _0x3679f1=-parseInt(_0x16f9bd(0x1f3))/0x1*(parseInt(_0x16f9bd(0x1d2))/0x2)+parseInt(_0x16f9bd(0x219))/0x3*(parseInt(_0x16f9bd(0x1ec))/0x4)+-parseInt(_0x16f9bd(0x21a))/0x5+-parseInt(_0x16f9bd(0x209))/0x6*(-parseInt(_0x16f9bd(0x1e6))/0x7)+-parseInt(_0x16f9bd(0x211))/0x8*(parseInt(_0x16f9bd(0x204))/0x9)+parseInt(_0x16f9bd(0x1f1))/0xa*(parseInt(_0x16f9bd(0x215))/0xb)+-parseInt(_0x16f9bd(0x216))/0xc*(-parseInt(_0x16f9bd(0x1e8))/0xd);if(_0x3679f1===_0x1f9639)break;else _0xf37566['push'](_0xf37566['shift']());}catch(_0x3a9c11){_0xf37566['push'](_0xf37566['shift']());}}}(_0x43f6,0x7faa4));import{Plugin as _0xcb701}from'ckeditor5/src/core.js';import _0x57a91b from'./revisionssidebarview.js';import _0x48b6c2 from'../../revisionviewer.js';class g extends _0xcb701{static get[_0x1579af(0x1e9)](){const _0x3cec8f=_0x1579af;return _0x3cec8f(0x200);}static get[_0x1579af(0x1d1)](){return!0x0;}static get[_0x1579af(0x21f)](){return!0x0;}static get[_0x1579af(0x1da)](){return[_0x48b6c2];}constructor(_0x343d40){const _0x1dcb1b=_0x1579af;super(_0x343d40),this[_0x1dcb1b(0x1dd)]=_0x343d40[_0x1dcb1b(0x1f9)][_0x1dcb1b(0x225)](_0x48b6c2),this[_0x1dcb1b(0x20e)]=this[_0x1dcb1b(0x1dd)][_0x1dcb1b(0x1d5)],this[_0x1dcb1b(0x212)]=null;}[_0x1579af(0x1eb)](){const _0x2c71c0=_0x1579af,_0xda366c=this[_0x2c71c0(0x20e)][_0x2c71c0(0x213)],_0x5ddd8c=this[_0x2c71c0(0x217)](),_0x31da80=this[_0x2c71c0(0x221)][_0x2c71c0(0x1e5)][_0x2c71c0(0x225)](_0x2c71c0(0x21c));this[_0x2c71c0(0x212)]=new _0x57a91b(this[_0x2c71c0(0x221)][_0x2c71c0(0x21b)],_0xda366c,_0x5ddd8c,this[_0x2c71c0(0x221)][_0x2c71c0(0x1e5)][_0x2c71c0(0x225)](_0x2c71c0(0x1f6))),this[_0x2c71c0(0x212)]['on'](_0x2c71c0(0x1de),this[_0x2c71c0(0x218)][_0x2c71c0(0x1e7)](this)),this[_0x2c71c0(0x212)]['on'](_0x2c71c0(0x1fa),this[_0x2c71c0(0x21e)][_0x2c71c0(0x1e7)](this)),this[_0x2c71c0(0x212)][_0x2c71c0(0x1e7)](_0x2c71c0(0x1e4))['to'](this[_0x2c71c0(0x1dd)]),this[_0x2c71c0(0x212)][_0x2c71c0(0x203)]['on'](_0x2c71c0(0x21d),(_0x4aaf0f,_0x904b60)=>{const _0x4de1b6=_0x2c71c0;_0x904b60[_0x4de1b6(0x1ea)]['on'](_0x4de1b6(0x21d),(_0x467685,_0x457d80)=>{const _0x405c62=_0x4de1b6;_0x457d80[_0x405c62(0x1e7)](_0x405c62(0x1e4),_0x405c62(0x1f2))['to'](this[_0x405c62(0x1dd)]);});}),this[_0x2c71c0(0x212)][_0x2c71c0(0x223)](),this[_0x2c71c0(0x1d4)](this[_0x2c71c0(0x221)][_0x2c71c0(0x220)],_0x2c71c0(0x1d3),this[_0x2c71c0(0x1fe)][_0x2c71c0(0x1e7)](this)),this[_0x2c71c0(0x1d4)](this[_0x2c71c0(0x1dd)],_0x2c71c0(0x1df),this[_0x2c71c0(0x20b)][_0x2c71c0(0x1e7)](this)),_0x31da80[_0x2c71c0(0x1db)](this[_0x2c71c0(0x212)][_0x2c71c0(0x1f0)]);}[_0x1579af(0x222)](){const _0x4585bf=_0x1579af;this[_0x4585bf(0x212)][_0x4585bf(0x1f0)][_0x4585bf(0x1f4)](),this[_0x4585bf(0x212)][_0x4585bf(0x222)]();}[_0x1579af(0x1fe)](){const _0x396141=_0x1579af,_0x1d1c04=this[_0x396141(0x20e)][_0x396141(0x1e1)](0x0);if(_0x1d1c04){const _0x3e5b5b=this[_0x396141(0x20e)][_0x396141(0x205)](_0x1d1c04['id']);this[_0x396141(0x1dd)][_0x396141(0x210)](_0x1d1c04,_0x3e5b5b);}}[_0x1579af(0x218)](_0x43fafb,_0x306ba3){const _0x5d7c9d=_0x1579af,_0x38e950=this[_0x5d7c9d(0x20e)][_0x5d7c9d(0x1e1)](_0x306ba3['id']),_0x4d80e9=this[_0x5d7c9d(0x20e)][_0x5d7c9d(0x205)](_0x38e950['id']);this[_0x5d7c9d(0x1dd)][_0x5d7c9d(0x210)](_0x38e950,_0x4d80e9);}[_0x1579af(0x21e)](_0x17ae0d,_0x5cfcfe){const _0xe906fe=_0x1579af;this[_0xe906fe(0x20e)][_0xe906fe(0x1e1)](_0x5cfcfe['id'])[_0xe906fe(0x207)](_0x5cfcfe[_0xe906fe(0x20f)]);}[_0x1579af(0x20b)](_0x2e42f8,_0x17a468,_0x3e7a8f){const _0x272255=_0x1579af,_0x2277d5=this[_0x272255(0x20e)][_0x272255(0x1e0)](_0x3e7a8f);_0x2277d5[_0x272255(0x1d6)]>0x2?(this[_0x272255(0x212)][_0x272255(0x214)](_0x2277d5),this[_0x272255(0x212)][_0x272255(0x1ff)](null)):(this[_0x272255(0x212)][_0x272255(0x214)]([]),this[_0x272255(0x212)][_0x272255(0x1ff)](_0x2277d5[0x0]));}[_0x1579af(0x217)](){const _0x3c2428=_0x1579af,_0x50aa70=this[_0x3c2428(0x221)],_0x407465=g[_0x3c2428(0x1f5)],_0x3f188c=_0x50aa70[_0x3c2428(0x1e5)][_0x3c2428(0x225)](_0x3c2428(0x20c))||g[_0x3c2428(0x1fc)];if(_0x3f188c[_0x3c2428(0x1d6)])return _0x3f188c[_0x3c2428(0x224)](_0x413407=>{const _0x15ae2b=_0x3c2428,_0x443ea5=_0x15ae2b(0x1f8)==typeof _0x413407?Object[_0x15ae2b(0x1ed)]({},_0x407465[_0x413407]):_0x413407;return _0x443ea5[_0x15ae2b(0x1fb)]=_0x443ea5[_0x15ae2b(0x1fb)][_0x15ae2b(0x1e7)](this,_0x50aa70),_0x443ea5[_0x15ae2b(0x206)]&&(_0x443ea5[_0x15ae2b(0x206)]=_0x443ea5[_0x15ae2b(0x206)][_0x15ae2b(0x1e7)](this,_0x50aa70)),_0x443ea5;});}}function _0x43f6(){const _0x34bde6=['1342480eOikbP','_sidebarView','_revisions','highlightRevisions','11ehYsiQ','740268eNOmnY','_createRevisionActions','_handleRevisionSelected','4449NRVtEd','4323655maZqey','locale','revisionHistory.viewerSidebarContainer','add','_handleRevisionSetName','isPremiumPlugin','data','editor','destroy','render','map','get','newRevisionId','isOfficialPlugin','194wSUGhW','ready','listenTo','repository','length','Compare\x20against\x20selected','compareAgainstSelected','getLaterVisibleRevision','requires','appendChild','restoreRevisionCallback','_revisionViewer','revisionSelected','change:diff','getRevisionsInDiff','getRevision','revisionHistory','restoreRevision','isEnabled','config','105pPnYqY','bind','247dPbzsH','pluginName','revisionViews','init','436bBmviL','assign','diff','focus','element','3968330qdnPLr','isReady','632isilyZ','remove','availableRevisionActions','revisionHistory.requireRevisionName','nameRevision','string','plugins','revisionSetName','action','defaultRevisionActions','isSelected','_handleEditorDataReady','selectRevision','RevisionsSidebar','Restore\x20this\x20revision','fieldView','timePeriodViews','18fuAWzX','getEarlierVisibleRevision','isVisible','setName','select','21600bfbcSx','Name\x20this\x20revision','_handleDiffChange','revisionHistory.revisionActions','getIndex','_revisionsRepository','name','compare'];_0x43f6=function(){return _0x34bde6;};return _0x43f6();}g[_0x1579af(0x1fc)]=[_0x1579af(0x1d8),_0x1579af(0x1e3),_0x1579af(0x1f7)],g[_0x1579af(0x1f5)]={'compareAgainstSelected':{'name':_0x1579af(0x1d7),'action':({plugins:_0x5c828d},_0x598d2a)=>{const _0x8e872a=_0x1579af,_0x386ef0=_0x5c828d[_0x8e872a(0x225)](_0x48b6c2),_0x575fa8=_0x386ef0[_0x8e872a(0x1d5)];let _0x2b7fa5=_0x386ef0[_0x8e872a(0x1ee)][_0x8e872a(0x226)],_0xcedf96=_0x598d2a['id'];_0x575fa8[_0x8e872a(0x20d)](_0x2b7fa5)>_0x575fa8[_0x8e872a(0x20d)](_0xcedf96)&&([_0x2b7fa5,_0xcedf96]=[_0xcedf96,_0x2b7fa5]),_0x386ef0[_0x8e872a(0x210)](_0x2b7fa5,_0xcedf96);},'isVisible':({plugins:_0x4bd854},_0x11eae6)=>{const _0x5c5618=_0x1579af,_0x114bc3=_0x4bd854[_0x5c5618(0x225)](_0x48b6c2);return!(_0x114bc3[_0x5c5618(0x1d5)][_0x5c5618(0x1e0)](_0x114bc3[_0x5c5618(0x1ee)])[_0x5c5618(0x1d6)]>0x2||_0x11eae6[_0x5c5618(0x1fd)]);}},'restoreRevision':{'name':_0x1579af(0x201),'action':(_0x7cbcf3,{id:_0x4c65d6})=>{const _0x26fa53=_0x1579af;_0x7cbcf3[_0x26fa53(0x1e5)][_0x26fa53(0x225)](_0x26fa53(0x1e2))[_0x26fa53(0x1dc)](_0x4c65d6);},'isVisible':({plugins:_0x466c30},_0x4d97ed)=>!!_0x466c30[_0x1579af(0x225)](_0x48b6c2)[_0x1579af(0x1d5)][_0x1579af(0x1d9)](_0x4d97ed['id'])},'nameRevision':{'name':_0x1579af(0x20a),'action':({plugins:_0x28d500},{id:_0x43f11d,revisionNameView:_0x4e9c15})=>{const _0x396788=_0x1579af,_0xe29764=_0x28d500[_0x396788(0x225)](_0x48b6c2),_0x2fe06a=_0xe29764[_0x396788(0x1d5)][_0x396788(0x205)](_0x43f11d);_0xe29764[_0x396788(0x210)](_0x43f11d,_0x2fe06a),_0x4e9c15[_0x396788(0x1ef)](),_0x4e9c15[_0x396788(0x202)][_0x396788(0x208)]();}}};function _0x5d1a(_0x1eac8d,_0x36e413){const _0x43f647=_0x43f6();return _0x5d1a=function(_0x5d1aa3,_0x2f16b7){_0x5d1aa3=_0x5d1aa3-0x1d1;let _0x10af72=_0x43f647[_0x5d1aa3];return _0x10af72;},_0x5d1a(_0x1eac8d,_0x36e413);}export default g;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
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(
|
|
23
|
+
function _0x78e0(_0x3f10e8,_0x28b849){const _0x526d97=_0x526d();return _0x78e0=function(_0x78e0c9,_0x5960c1){_0x78e0c9=_0x78e0c9-0x1c9;let _0x29ee87=_0x526d97[_0x78e0c9];return _0x29ee87;},_0x78e0(_0x3f10e8,_0x28b849);}(function(_0x1bb0b0,_0x28518e){const _0x47343b=_0x78e0,_0xaf10f2=_0x1bb0b0();while(!![]){try{const _0x589338=-parseInt(_0x47343b(0x1d9))/0x1*(parseInt(_0x47343b(0x1d3))/0x2)+parseInt(_0x47343b(0x1ca))/0x3+parseInt(_0x47343b(0x1d8))/0x4*(-parseInt(_0x47343b(0x1d6))/0x5)+parseInt(_0x47343b(0x1cc))/0x6+-parseInt(_0x47343b(0x1db))/0x7*(-parseInt(_0x47343b(0x1cd))/0x8)+parseInt(_0x47343b(0x1d7))/0x9*(-parseInt(_0x47343b(0x1d1))/0xa)+-parseInt(_0x47343b(0x1d4))/0xb*(-parseInt(_0x47343b(0x1d5))/0xc);if(_0x589338===_0x28518e)break;else _0xaf10f2['push'](_0xaf10f2['shift']());}catch(_0x10d1bd){_0xaf10f2['push'](_0xaf10f2['shift']());}}}(_0x526d,0xbf091));function _0x526d(){const _0x4da4a8=['30lYhSdI','span','34pTNdAN','913BRjeps','71352ulEPbz','1545loWovw','3636099OcdjYH','15116lpIgnr','19543wAlaFy','ck-reset_all','8495431nmEmAt','content','Revision\x20history','ck-revision-history-sidebar__header','3130506GDDnQl','div','4462818LsdBYr','8gYQQtL','setTemplate','history','ck-revision-history-sidebar__header__label'];_0x526d=function(){return _0x4da4a8;};return _0x526d();}import{View as _0x547acf,IconView as _0x5a0698}from'ckeditor5/src/ui.js';import{getTranslation as _0x2b3d86}from'../../utils/common-translations.js';import{icons as _0x5c55d8}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class as extends _0x547acf{constructor(_0x4204b7){const _0x3954cf=_0x78e0;super(_0x4204b7);const _0x2fb352=new _0x5a0698();_0x2fb352[_0x3954cf(0x1dc)]=_0x5c55d8[_0x3954cf(0x1cf)],this[_0x3954cf(0x1ce)]({'tag':_0x3954cf(0x1cb),'attributes':{'class':['ck',_0x3954cf(0x1da),_0x3954cf(0x1c9)]},'children':[_0x2fb352,{'tag':_0x3954cf(0x1d2),'attributes':{'class':['ck',_0x3954cf(0x1d0)]},'children':[_0x2b3d86(_0x4204b7,_0x3954cf(0x1dd))]}]});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
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
|
|
23
|
+
const _0x52a163=_0x397c;function _0x397c(_0x5a3401,_0x57e54e){const _0xba8b44=_0xba8b();return _0x397c=function(_0x397c1b,_0x29af37){_0x397c1b=_0x397c1b-0x1af;let _0x35cb32=_0xba8b44[_0x397c1b];return _0x35cb32;},_0x397c(_0x5a3401,_0x57e54e);}(function(_0xfd5aa6,_0xc43274){const _0x31b66f=_0x397c,_0xcdacc7=_0xfd5aa6();while(!![]){try{const _0x1f6772=parseInt(_0x31b66f(0x1bf))/0x1*(-parseInt(_0x31b66f(0x1c2))/0x2)+-parseInt(_0x31b66f(0x1c8))/0x3*(parseInt(_0x31b66f(0x1c0))/0x4)+-parseInt(_0x31b66f(0x1b0))/0x5+parseInt(_0x31b66f(0x1c5))/0x6+parseInt(_0x31b66f(0x1ce))/0x7+-parseInt(_0x31b66f(0x1af))/0x8+parseInt(_0x31b66f(0x1b9))/0x9*(parseInt(_0x31b66f(0x1c9))/0xa);if(_0x1f6772===_0xc43274)break;else _0xcdacc7['push'](_0xcdacc7['shift']());}catch(_0x59204b){_0xcdacc7['push'](_0xcdacc7['shift']());}}}(_0xba8b,0xd1951));import{View as _0x4b4bfa}from'ckeditor5/src/ui.js';import _0x2972ee from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x2bb5d8}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';function _0xba8b(){const _0x506689=['find','startDate','revisionViews','ck-revision-history-sidebar__time-period__revisions','remove','removeRevision','createCollection','div','9MNbKOK','add','localizedPeriodName','_requireRevisionName','uiLanguage','locale','2SKeRLB','129556FJWitJ','ck-revision-history-sidebar__time-period__label','1655062pMwAlX','setTemplate','setName','8098386DKQdgU','span','delegate','6mRrVKA','27711730NTSXYK','select','addRevision','ck-revision-history-sidebar__time-period','_revisionActions','1155553fKzLWz','2656096rpBbvZ','6878410vqmoSs'];_0xba8b=function(){return _0x506689;};return _0xba8b();}export default class mi extends _0x4b4bfa{constructor(_0x843e0a,_0x3916fa,_0x16254a,_0x39be68){const _0x32c67d=_0x397c;super(_0x843e0a);const _0x319259=_0x2bb5d8(_0x3916fa,this[_0x32c67d(0x1be)][_0x32c67d(0x1bd)])[_0x32c67d(0x1bb)];this[_0x32c67d(0x1b2)]=_0x3916fa,this[_0x32c67d(0x1b3)]=this[_0x32c67d(0x1b7)](),this[_0x32c67d(0x1cd)]=_0x16254a,this[_0x32c67d(0x1bc)]=_0x39be68,this[_0x32c67d(0x1b3)][_0x32c67d(0x1c7)](_0x32c67d(0x1ca))['to'](this),this[_0x32c67d(0x1b3)][_0x32c67d(0x1c7)](_0x32c67d(0x1c4))['to'](this),this[_0x32c67d(0x1c3)]({'tag':_0x32c67d(0x1b8),'attributes':{'class':['ck',_0x32c67d(0x1cc)]},'children':[{'tag':_0x32c67d(0x1c6),'attributes':{'class':['ck',_0x32c67d(0x1c1)]},'children':[{'text':_0x319259}]},{'tag':_0x32c67d(0x1b8),'attributes':{'class':['ck',_0x32c67d(0x1b4)]},'children':this[_0x32c67d(0x1b3)]}]});}[_0x52a163(0x1cb)](_0x4623e3){const _0x1fc36a=_0x52a163,_0x427603=new _0x2972ee(this[_0x1fc36a(0x1be)],_0x4623e3,this[_0x1fc36a(0x1cd)],this[_0x1fc36a(0x1bc)]);this[_0x1fc36a(0x1b3)][_0x1fc36a(0x1ba)](_0x427603);}[_0x52a163(0x1b6)](_0x17a976){const _0x106b74=_0x52a163,_0x240485=this[_0x106b74(0x1b3)][_0x106b74(0x1b1)](_0x802155=>_0x802155['id']===_0x17a976['id']);this[_0x106b74(0x1b3)][_0x106b74(0x1b5)](_0x240485);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
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
|
|
23
|
+
function _0x43ee(_0x5ac684,_0x1ee7e1){const _0x1553c3=_0x1553();return _0x43ee=function(_0x43ee68,_0x5456c8){_0x43ee68=_0x43ee68-0x105;let _0x1c7a3f=_0x1553c3[_0x43ee68];return _0x1c7a3f;},_0x43ee(_0x5ac684,_0x1ee7e1);}const _0xdea3d4=_0x43ee;(function(_0x4fa43c,_0x34a21f){const _0x2436f4=_0x43ee,_0x51d071=_0x4fa43c();while(!![]){try{const _0x43ecf4=parseInt(_0x2436f4(0x131))/0x1*(-parseInt(_0x2436f4(0x11a))/0x2)+parseInt(_0x2436f4(0x129))/0x3*(-parseInt(_0x2436f4(0x10c))/0x4)+parseInt(_0x2436f4(0x12f))/0x5*(-parseInt(_0x2436f4(0x123))/0x6)+-parseInt(_0x2436f4(0x11f))/0x7*(-parseInt(_0x2436f4(0x12a))/0x8)+-parseInt(_0x2436f4(0x121))/0x9+parseInt(_0x2436f4(0x116))/0xa*(parseInt(_0x2436f4(0x113))/0xb)+parseInt(_0x2436f4(0x111))/0xc;if(_0x43ecf4===_0x34a21f)break;else _0x51d071['push'](_0x51d071['shift']());}catch(_0xb92562){_0x51d071['push'](_0x51d071['shift']());}}}(_0x1553,0x63381));import{View as _0xd1901f}from'ckeditor5/src/ui.js';import _0x2da983 from'./revisionssidebartimeperiodview.js';function _0x1553(){const _0x432e81=['setName','unhighlight','revisionSelected','195iMeoft','290992hsfMCr','highlightRevisions','removeRevision','startDate','render','5zbyEyK','revisionViews','24060zOgjnQ','remove','ck-disabled','fire','createdAt','delegate','setTemplate','some','addRevision','createCollection','_revisions','selectRevision','_revisionActions','revisionSetName','ck-rounded-corners','uiLanguage','locale','map','select','_requireRevisionName','13844gFyYvT','bindTemplate','highlight','isEnabled','div','10163532fUYvpn','_getTimePeriodViewByStartDate','154srasyI','find','add','337350XpOpkE','getTime','ck-revision-history-sidebar','deselect','26ArVRDF','get','set','ck-reset','ck-revision-history-sidebar__timeline','56VJzZrr','timePeriodViews','896778YXxtIk','flat','3398730QiIvyR','_addRevision','_removeRevision'];_0x1553=function(){return _0x432e81;};return _0x1553();}import _0x4494d8 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x12a481}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0xd1901f{constructor(_0xebc153,_0x51a95e,_0x26ffa4,_0x2f3f3c){const _0x1e78d2=_0x43ee;super(_0xebc153);const _0x355e1c=this[_0x1e78d2(0x10d)];this[_0x1e78d2(0x120)]=this[_0x1e78d2(0x13a)](),this[_0x1e78d2(0x120)][_0x1e78d2(0x136)](_0x1e78d2(0x10a))['to'](this),this[_0x1e78d2(0x120)][_0x1e78d2(0x136)](_0x1e78d2(0x126))['to'](this),this[_0x1e78d2(0x13b)]=_0x51a95e,this[_0x1e78d2(0x13d)]=_0x26ffa4,this[_0x1e78d2(0x10b)]=_0x2f3f3c,this['on'](_0x1e78d2(0x10a),(_0x55405f,_0x2d1ff6)=>{const _0x49fd34=_0x1e78d2;this[_0x49fd34(0x134)](_0x49fd34(0x128),_0x2d1ff6);}),this['on'](_0x1e78d2(0x126),(_0x2e1e09,_0x138628)=>{const _0x4fa399=_0x1e78d2;this[_0x4fa399(0x134)](_0x4fa399(0x105),_0x138628);}),this[_0x1e78d2(0x11c)](_0x1e78d2(0x10f),!0x1),this[_0x1e78d2(0x137)]({'tag':_0x1e78d2(0x110),'attributes':{'class':['ck',_0x1e78d2(0x11d),_0x1e78d2(0x106),_0x1e78d2(0x118)]},'children':[new _0x4494d8(_0xebc153),{'tag':_0x1e78d2(0x110),'attributes':{'class':['ck',_0x1e78d2(0x11e),_0x355e1c['if'](_0x1e78d2(0x10f),_0x1e78d2(0x133),_0x479a61=>!_0x479a61)]},'children':this[_0x1e78d2(0x120)]}]});}[_0xdea3d4(0x12e)](){const _0x89a0a2=_0xdea3d4;super[_0x89a0a2(0x12e)]();for(const _0x2641bd of this[_0x89a0a2(0x13b)])this[_0x89a0a2(0x124)](_0x2641bd);this[_0x89a0a2(0x13b)]['on'](_0x89a0a2(0x115),(_0x3b4beb,_0x36c43a)=>{const _0xa4de61=_0x89a0a2;this[_0xa4de61(0x124)](_0x36c43a);}),this[_0x89a0a2(0x13b)]['on'](_0x89a0a2(0x132),(_0x4278c7,_0xdf3626)=>{const _0xa9faa7=_0x89a0a2;this[_0xa9faa7(0x125)](_0xdf3626);});}get[_0xdea3d4(0x130)](){const _0x32762a=_0xdea3d4;return this[_0x32762a(0x120)][_0x32762a(0x109)](_0x1002e5=>_0x1002e5[_0x32762a(0x130)][_0x32762a(0x109)](_0x409c1a=>_0x409c1a))[_0x32762a(0x122)]();}[_0xdea3d4(0x13c)](_0x210eb4){const _0x437da8=_0xdea3d4;for(const _0x31ae4d of this[_0x437da8(0x130)])_0x210eb4&&_0x210eb4['id']===_0x31ae4d['id']?_0x31ae4d[_0x437da8(0x10a)]():_0x31ae4d[_0x437da8(0x119)]();}[_0xdea3d4(0x12b)](_0x1752d2){const _0x4d7071=_0xdea3d4;for(const _0x1e1faa of this[_0x4d7071(0x130)])_0x1752d2[_0x4d7071(0x138)](({id:_0x2d7872})=>_0x2d7872===_0x1e1faa['id'])?_0x1e1faa[_0x4d7071(0x10e)]():_0x1e1faa[_0x4d7071(0x127)]();}[_0xdea3d4(0x124)](_0x33bb5b){const _0x4c4412=_0xdea3d4,_0x145a48=_0x12a481(_0x33bb5b[_0x4c4412(0x135)],this[_0x4c4412(0x108)][_0x4c4412(0x107)])[_0x4c4412(0x12d)];let _0x23c685=this[_0x4c4412(0x120)][_0x4c4412(0x11b)](0x0);_0x23c685&&_0x23c685[_0x4c4412(0x12d)][_0x4c4412(0x117)]()===_0x145a48[_0x4c4412(0x117)]()||(_0x23c685=new _0x2da983(this[_0x4c4412(0x108)],_0x145a48,this[_0x4c4412(0x13d)],this[_0x4c4412(0x10b)]),this[_0x4c4412(0x120)][_0x4c4412(0x115)](_0x23c685)),_0x23c685[_0x4c4412(0x139)](_0x33bb5b);}[_0xdea3d4(0x125)](_0x1311c2){const _0x53c610=_0xdea3d4,_0x8e7914=_0x12a481(_0x1311c2[_0x53c610(0x135)],this[_0x53c610(0x108)][_0x53c610(0x107)])[_0x53c610(0x12d)];this[_0x53c610(0x112)](_0x8e7914)[_0x53c610(0x12c)](_0x1311c2);}[_0xdea3d4(0x112)](_0x1eb6d9){const _0x389f2c=_0xdea3d4;return this[_0x389f2c(0x120)][_0x389f2c(0x114)](_0x1f350c=>_0x1f350c[_0x389f2c(0x12d)][_0x389f2c(0x117)]()===_0x1eb6d9[_0x389f2c(0x117)]());}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
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(
|
|
23
|
+
(function(_0x4a71bd,_0x51b821){const _0x4443f9=_0x1d93,_0xee6c13=_0x4a71bd();while(!![]){try{const _0x17186e=-parseInt(_0x4443f9(0x206))/0x1+-parseInt(_0x4443f9(0x205))/0x2*(parseInt(_0x4443f9(0x202))/0x3)+parseInt(_0x4443f9(0x200))/0x4+parseInt(_0x4443f9(0x207))/0x5*(-parseInt(_0x4443f9(0x1f3))/0x6)+parseInt(_0x4443f9(0x1f5))/0x7+parseInt(_0x4443f9(0x1fb))/0x8+parseInt(_0x4443f9(0x204))/0x9*(parseInt(_0x4443f9(0x203))/0xa);if(_0x17186e===_0x51b821)break;else _0xee6c13['push'](_0xee6c13['shift']());}catch(_0x496521){_0xee6c13['push'](_0xee6c13['shift']());}}}(_0x2b7f,0x6dac6));import{DateTime as _0x5b0f9c}from'luxon';export function getDateTimePeriodInfo(_0x1f8c0a,_0x1ab35f){const _0x55777e=_0x1d93,_0x5a712e=_0x5b0f9c[_0x55777e(0x1fe)](_0x1f8c0a)[_0x55777e(0x208)](_0x1ab35f),_0x1c919f=_0x5b0f9c[_0x55777e(0x201)](),_0x55e53f=_0x1c919f[_0x55777e(0x1f8)]({'days':0x1})[_0x55777e(0x1f6)](_0x55777e(0x1f2));let _0x3ded1f,_0x2b2789;return _0x5a712e[_0x55777e(0x1fd)](_0x1c919f,_0x55777e(0x1f2))?(_0x3ded1f=_0x5a712e[_0x55777e(0x1f6)](_0x55777e(0x1f2))[_0x55777e(0x1fa)](),_0x2b2789=_0x5a712e[_0x55777e(0x1fc)]()):_0x5a712e[_0x55777e(0x1fd)](_0x55e53f,_0x55777e(0x1f2))?(_0x3ded1f=_0x55e53f[_0x55777e(0x1fa)](),_0x2b2789=_0x5a712e[_0x55777e(0x1fc)]()):_0x5a712e[_0x55777e(0x1fd)](_0x1c919f,_0x55777e(0x1f9))?(_0x3ded1f=_0x5a712e[_0x55777e(0x1f6)](_0x55777e(0x1f9))[_0x55777e(0x1fa)](),_0x2b2789=_0x5a712e[_0x55777e(0x1f1)]||''):_0x5a712e[_0x55777e(0x1fd)](_0x1c919f,_0x55777e(0x1f4))?(_0x3ded1f=_0x5a712e[_0x55777e(0x1f6)](_0x55777e(0x1ff))[_0x55777e(0x1fa)](),_0x2b2789=_0x5a712e[_0x55777e(0x1f7)]||''):(_0x3ded1f=_0x5a712e[_0x55777e(0x1f6)](_0x55777e(0x1f4))[_0x55777e(0x1fa)](),_0x2b2789=String(_0x5a712e[_0x55777e(0x1f4)])),{'startDate':_0x3ded1f,'localizedPeriodName':_0x2b2789};}function _0x1d93(_0x56066d,_0x57fb03){const _0x2b7f3e=_0x2b7f();return _0x1d93=function(_0x1d937b,_0x5d1225){_0x1d937b=_0x1d937b-0x1f1;let _0xab99f3=_0x2b7f3e[_0x1d937b];return _0xab99f3;},_0x1d93(_0x56066d,_0x57fb03);}function _0x2b7f(){const _0x5a709f=['setLocale','weekdayLong','day','60sAJrFC','year','530985JensDN','startOf','monthLong','minus','week','toJSDate','1875024GxvlRN','toRelativeCalendar','hasSame','fromJSDate','month','1440008LXqVkD','local','6phGaom','20LkkJBu','5168547BYzCOX','170842kBQBVi','788267FOgqQJ','205235PoBXtB'];_0x2b7f=function(){return _0x5a709f;};return _0x2b7f();}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
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
|
-
|
|
23
|
+
const _0x15e419=_0x221b;(function(_0x44ab59,_0x224d80){const _0x55a89d=_0x221b,_0x24a861=_0x44ab59();while(!![]){try{const _0x59962a=parseInt(_0x55a89d(0x9c))/0x1+-parseInt(_0x55a89d(0x9f))/0x2*(-parseInt(_0x55a89d(0x8b))/0x3)+parseInt(_0x55a89d(0x9e))/0x4+parseInt(_0x55a89d(0x88))/0x5+parseInt(_0x55a89d(0x97))/0x6*(-parseInt(_0x55a89d(0x83))/0x7)+-parseInt(_0x55a89d(0x96))/0x8+-parseInt(_0x55a89d(0x89))/0x9;if(_0x59962a===_0x224d80)break;else _0x24a861['push'](_0x24a861['shift']());}catch(_0x4c28f6){_0x24a861['push'](_0x24a861['shift']());}}}(_0x466c,0x37f29));function _0x221b(_0x560d5c,_0x2f5315){const _0x466c3e=_0x466c();return _0x221b=function(_0x221bf5,_0x568403){_0x221bf5=_0x221bf5-0x81;let _0x3d3d29=_0x466c3e[_0x221bf5];return _0x3d3d29;},_0x221b(_0x560d5c,_0x2f5315);}import{View as _0x11f615}from'ckeditor5/src/ui.js';function _0x466c(){const _0x39e8c1=['bindTemplate','ck-revision-change__','ck-revision-change__label','1699325xaZjnP','3520323ngPcRj','data','3702DqORrg','changeId','author','set','name','ck-annotation','isSuggestion','ck-revision-change','Suggested\x20by','span','element','2635016ZynQPW','32244aBefMd','setTemplate','Added\x20by','Removed\x20by','add','271500VJJXjH','_model','155584DCOfJp','494uJRSPc','type','div','7PLhrlk','focus'];_0x466c=function(){return _0x39e8c1;};return _0x466c();}import{getTranslation as _0x1b77af}from'../../utils/common-translations.js';export default class Y extends _0x11f615{constructor(_0x9156cf,_0x4c9af7){const _0x5cb7dd=_0x221b;super(_0x9156cf),this[_0x5cb7dd(0x9d)]=_0x4c9af7,this[_0x5cb7dd(0x8c)]=_0x4c9af7['id'];const _0x4a9b26=this[_0x5cb7dd(0x85)],_0x1d658c=_0x1b77af(_0x9156cf,_0x4c9af7[_0x5cb7dd(0x8a)][_0x5cb7dd(0x91)]?_0x5cb7dd(0x93):_0x5cb7dd(0x9b)==_0x4c9af7[_0x5cb7dd(0x81)]?_0x5cb7dd(0x99):_0x5cb7dd(0x9a));this[_0x5cb7dd(0x8e)](_0x5cb7dd(0x81),_0x4c9af7[_0x5cb7dd(0x81)]),this[_0x5cb7dd(0x98)]({'tag':_0x5cb7dd(0x82),'attributes':{'class':[_0x5cb7dd(0x90),_0x5cb7dd(0x92),_0x4a9b26['to'](_0x5cb7dd(0x81),_0xe4ded8=>_0x5cb7dd(0x86)+_0xe4ded8)],'tabindex':-0x1},'children':[{'tag':_0x5cb7dd(0x94),'children':[{'tag':_0x5cb7dd(0x94),'attributes':{'class':[_0x5cb7dd(0x87)]},'children':[{'text':_0x1d658c}]},{'text':'\x20'+_0x4c9af7[_0x5cb7dd(0x8d)][_0x5cb7dd(0x8f)]}]}]});}[_0x15e419(0x84)](){const _0x494330=_0x15e419;this[_0x494330(0x95)][_0x494330(0x84)]();}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
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(
|
|
23
|
+
(function(_0x344fbb,_0x3b668b){const _0x262581=_0x44fa,_0xe291f=_0x344fbb();while(!![]){try{const _0x472300=parseInt(_0x262581(0x151))/0x1*(parseInt(_0x262581(0x138))/0x2)+parseInt(_0x262581(0x147))/0x3*(parseInt(_0x262581(0x136))/0x4)+-parseInt(_0x262581(0x158))/0x5*(parseInt(_0x262581(0x155))/0x6)+parseInt(_0x262581(0x148))/0x7*(parseInt(_0x262581(0x15d))/0x8)+parseInt(_0x262581(0x150))/0x9+-parseInt(_0x262581(0x13c))/0xa+-parseInt(_0x262581(0x15f))/0xb;if(_0x472300===_0x3b668b)break;else _0xe291f['push'](_0xe291f['shift']());}catch(_0x559029){_0xe291f['push'](_0xe291f['shift']());}}}(_0x4b40,0x4bcfb));import{View as _0x2874d5,ButtonView as _0x73b42d,ToolbarSeparatorView as _0x2b7b4f}from'ckeditor5/src/ui.js';import{getTranslation as _0x3fec76}from'../../utils/common-translations.js';import _0x19c444 from'../../../theme/icons/arrow-up.svg';function _0x44fa(_0x4fcb89,_0x8e1f96){const _0x4b40b3=_0x4b40();return _0x44fa=function(_0x44faea,_0x4073c2){_0x44faea=_0x44faea-0x134;let _0x39b67b=_0x4b40b3[_0x44faea];return _0x39b67b;},_0x44fa(_0x4fcb89,_0x8e1f96);}import _0x19a1a9 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';function _0x4b40(){const _0x11e58e=['set','1795830nHzNsN','_statusText','Loading...','fire','execute','No\x20changes','EDIT_X_OF_Y_REVISIONS','bind','ck-revision-history-ui','isEnabled','currentChangeNumber','366837AdXOtl','21KHRgFC','Total','forward','X_OF_Y_CHANGES','setTemplate','div','isForwardNavigationEnabled','_isStatusLabelVisible','4927257NDsGvJ','124601AqqmYx','NUMBER_OF_CHANGES','numberOfChanges','isReady','18oZMLxz','isNavigationMode','Show\x20next\x20change','561200GcBcmo','ck-revision-history-ui__changes-navigation__navigation','span','ck-revision-history-ui__changes-navigation','isBackwardNavigationEnabled','948568avLITg','ck-revision-history-ui__changes-navigation__wrapper','7616389NUAMoo','ck-revision-history-ui__changes-navigation__label','ck-hidden','12QncbtI','Show\x20previous\x20change','4oAcyuM','backward','bindTemplate'];_0x4b40=function(){return _0x11e58e;};return _0x4b40();}export default class _i extends _0x2874d5{constructor(_0x20e20e){const _0x25b767=_0x44fa;super(_0x20e20e);const _0x2e057a=this[_0x25b767(0x13a)],_0x1b2bc1=new _0x73b42d(_0x20e20e),_0x2aae=new _0x73b42d(_0x20e20e);this[_0x25b767(0x13b)](_0x25b767(0x156),!0x1),this[_0x25b767(0x13b)](_0x25b767(0x154),!0x1),this[_0x25b767(0x13b)](_0x25b767(0x146),0x0),this[_0x25b767(0x13b)](_0x25b767(0x153),0x0),this[_0x25b767(0x13b)](_0x25b767(0x14e),!0x1),this[_0x25b767(0x13b)](_0x25b767(0x15c),!0x1),this[_0x25b767(0x143)](_0x25b767(0x14f))['to'](this,_0x25b767(0x154),this,_0x25b767(0x153),(_0x3cebe5,_0x4f38c3)=>_0x3cebe5&&_0x4f38c3>0x0),this[_0x25b767(0x143)](_0x25b767(0x13d))['to'](this,_0x25b767(0x154),this,_0x25b767(0x146),this,_0x25b767(0x153),this,_0x25b767(0x156),(_0x2c652f,_0x3f9860,_0x1881e0,_0x277ee0)=>{const _0x4ca2cf=_0x25b767;if(!_0x2c652f)return _0x3fec76(_0x20e20e,_0x4ca2cf(0x13e));if(!_0x1881e0)return _0x3fec76(_0x20e20e,_0x4ca2cf(0x141));const _0xa3b65b=_0x3fec76(_0x20e20e,_0x4ca2cf(0x152),_0x1881e0);return _0x277ee0?_0x3fec76(_0x20e20e,_0x4ca2cf(0x14b),[_0x3f9860+0x1,_0x1881e0]):_0xa3b65b;}),_0x1b2bc1[_0x25b767(0x13b)]({'label':_0x3fec76(_0x20e20e,_0x25b767(0x137)),'tooltip':!0x0,'icon':_0x19c444}),_0x2aae[_0x25b767(0x13b)]({'label':_0x3fec76(_0x20e20e,_0x25b767(0x157)),'tooltip':!0x0,'icon':_0x19a1a9}),_0x1b2bc1[_0x25b767(0x143)](_0x25b767(0x145))['to'](this,_0x25b767(0x15c)),_0x2aae[_0x25b767(0x143)](_0x25b767(0x145))['to'](this,_0x25b767(0x14e)),_0x1b2bc1['on'](_0x25b767(0x140),()=>this[_0x25b767(0x13f)](_0x25b767(0x140),_0x25b767(0x139))),_0x2aae['on'](_0x25b767(0x140),()=>this[_0x25b767(0x13f)](_0x25b767(0x140),_0x25b767(0x14a))),this[_0x25b767(0x14c)]({'tag':_0x25b767(0x14d),'attributes':{'class':['ck',_0x25b767(0x144),_0x25b767(0x15b)]},'children':[{'tag':_0x25b767(0x15a),'attributes':{'class':[_0x25b767(0x15e)]},'children':[{'tag':_0x25b767(0x15a),'attributes':{'class':[_0x25b767(0x134),_0x2e057a['if'](_0x25b767(0x14f),_0x25b767(0x135),_0x3c03d2=>!_0x3c03d2)]},'children':[{'text':_0x2e057a['to'](_0x25b767(0x156),_0x2ecb44=>_0x2ecb44?_0x3fec76(_0x20e20e,_0x25b767(0x142))+':\x20':_0x3fec76(_0x20e20e,_0x25b767(0x149))+':\x20')}]},{'text':_0x2e057a['to'](_0x25b767(0x13d))}]},new _0x2b7b4f(),{'tag':_0x25b767(0x14d),'attributes':{'class':[_0x25b767(0x159)]},'children':[_0x1b2bc1,_0x2aae]}]});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
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
|
|
23
|
+
const _0x5dfe7d=_0x9c50;(function(_0x4f740a,_0x2b650e){const _0x3fedc1=_0x9c50,_0x17e37c=_0x4f740a();while(!![]){try{const _0x17df1c=parseInt(_0x3fedc1(0x94))/0x1*(parseInt(_0x3fedc1(0x95))/0x2)+-parseInt(_0x3fedc1(0xab))/0x3+parseInt(_0x3fedc1(0xa4))/0x4*(parseInt(_0x3fedc1(0x96))/0x5)+-parseInt(_0x3fedc1(0xa1))/0x6+-parseInt(_0x3fedc1(0x97))/0x7+parseInt(_0x3fedc1(0xa6))/0x8*(parseInt(_0x3fedc1(0x9e))/0x9)+-parseInt(_0x3fedc1(0xa7))/0xa;if(_0x17df1c===_0x2b650e)break;else _0x17e37c['push'](_0x17e37c['shift']());}catch(_0x279b8d){_0x17e37c['push'](_0x17e37c['shift']());}}}(_0x1320,0x87f57));function _0x9c50(_0x1f8d92,_0x270b9d){const _0x132047=_0x1320();return _0x9c50=function(_0x9c50f8,_0x1782f3){_0x9c50f8=_0x9c50f8-0x93;let _0x34ecc1=_0x132047[_0x9c50f8];return _0x34ecc1;},_0x9c50(_0x1f8d92,_0x270b9d);}function _0x1320(){const _0x244b6c=['document','editor','view','1921692vdOuDK','change','13paFUDy','126328VPLjjx','6070hGHzEq','7713069UzQkkU','hide','roots','pluginName','RevisionViewerLoadingOverlay','isOfficialPlugin','removeClass','2184669GuKNRl','isPremiumPlugin','addClass','787278KIzIFb','editing','ck-editor__editable__loading-overlay','3576NuLPyb','show','24NdhAOe','2041400efToiY'];_0x1320=function(){return _0x244b6c;};return _0x1320();}import{Plugin as _0x53e045}from'ckeditor5/src/core.js';const ce=_0x5dfe7d(0xa3);import'../../../theme/revisionviewerloadingoverlay.css';export default class le extends _0x53e045{static get[_0x5dfe7d(0x9a)](){const _0x1f6652=_0x5dfe7d;return _0x1f6652(0x9b);}static get[_0x5dfe7d(0x9c)](){return!0x0;}static get[_0x5dfe7d(0x9f)](){return!0x0;}[_0x5dfe7d(0xa5)](){const _0x456a8e=_0x5dfe7d,_0x373424=this[_0x456a8e(0xa9)][_0x456a8e(0xa2)][_0x456a8e(0xaa)];_0x373424[_0x456a8e(0x93)](_0x5b2e36=>{const _0x43186d=_0x456a8e;for(const _0x49a98d of _0x373424[_0x43186d(0xa8)][_0x43186d(0x99)])_0x5b2e36[_0x43186d(0xa0)](ce,_0x49a98d);});}[_0x5dfe7d(0x98)](){const _0x441108=_0x5dfe7d,_0x44838a=this[_0x441108(0xa9)][_0x441108(0xa2)][_0x441108(0xaa)];_0x44838a[_0x441108(0x93)](_0x1063a9=>{const _0xe18b85=_0x441108;for(const _0x5494d1 of _0x44838a[_0xe18b85(0xa8)][_0xe18b85(0x99)])_0x1063a9[_0xe18b85(0x9d)](ce,_0x5494d1);});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
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
|
|
23
|
+
const _0x5d8c6a=_0x5a52;(function(_0x5c8464,_0x46224f){const _0x44bf1a=_0x5a52,_0x25a0e5=_0x5c8464();while(!![]){try{const _0x38ae53=parseInt(_0x44bf1a(0xdf))/0x1+parseInt(_0x44bf1a(0xcd))/0x2+-parseInt(_0x44bf1a(0xcc))/0x3*(parseInt(_0x44bf1a(0xc6))/0x4)+parseInt(_0x44bf1a(0xe9))/0x5*(-parseInt(_0x44bf1a(0xda))/0x6)+parseInt(_0x44bf1a(0xe2))/0x7*(parseInt(_0x44bf1a(0xd1))/0x8)+-parseInt(_0x44bf1a(0xf2))/0x9*(-parseInt(_0x44bf1a(0xd6))/0xa)+-parseInt(_0x44bf1a(0xe6))/0xb;if(_0x38ae53===_0x46224f)break;else _0x25a0e5['push'](_0x25a0e5['shift']());}catch(_0x2142bf){_0x25a0e5['push'](_0x25a0e5['shift']());}}}(_0x1aee,0x2eee9));import{icons as _0x4205aa,Plugin as _0x93a412}from'ckeditor5/src/core.js';import{ButtonView as _0x5f4945}from'ckeditor5/src/ui.js';import _0x480f5d from'./changesnavigationview.js';import _0x10e2a7 from'./../../revisionviewer.js';function _0x5a52(_0x544cbf,_0xff1f8c){const _0x1aee42=_0x1aee();return _0x5a52=function(_0x5a5275,_0x23364f){_0x5a5275=_0x5a5275-0xc2;let _0x41c3ad=_0x1aee42[_0x5a5275];return _0x41c3ad;},_0x5a52(_0x544cbf,_0xff1f8c);}import _0xd50d86 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x467871}from'../../utils/common-translations.js';function _0x1aee(){const _0x1c3963=['Back\x20to\x20editing','hide','835578rCSNBz','show','isNavigationMode','ck-revision-history-ui__back-to-editing','commands','execute','4FfmegK','init','requires','currentChangeNumber','closeRevisionViewerCallback','exitToEditing','262284Vmxkpm','129892oRdRmo','plugins','config','isOfficialPlugin','3560blFtrk','editor','isBackwardNavigationEnabled','isForwardNavigationEnabled','Restore\x20this\x20revision','40ancXNC','set','forward','numberOfChanges','66ihSodO','changesNavigation','isPremiumPlugin','get','showPreviousChange','366366FuddNS','add','RevisionViewerUI','4438zfaLqg','isReady','revisionHistory','bind','5688254KcSDin','restoreRevision','isEnabled','130925YyAWzA','change:isReady','listenTo','undo','showNextChange','pluginName','componentFactory'];_0x1aee=function(){return _0x1c3963;};return _0x1aee();}import'../../../theme/revisionviewer.css';export default class m extends _0x93a412{static get[_0x5d8c6a(0xee)](){const _0x1f7a08=_0x5d8c6a;return _0x1f7a08(0xe1);}static get[_0x5d8c6a(0xd0)](){return!0x0;}static get[_0x5d8c6a(0xdc)](){return!0x0;}static get[_0x5d8c6a(0xc8)](){return[_0x10e2a7,_0xd50d86];}[_0x5d8c6a(0xc7)](){const _0x7b513=_0x5d8c6a,_0x1820b0=this[_0x7b513(0xd2)],_0x168976=_0x1820b0[_0x7b513(0xce)][_0x7b513(0xdd)](_0x10e2a7),_0x233ed1=_0x1820b0[_0x7b513(0xce)][_0x7b513(0xdd)](_0xd50d86);_0x1820b0['ui'][_0x7b513(0xef)][_0x7b513(0xe0)](_0x7b513(0xcb),_0x215136=>{const _0xb21e2e=_0x7b513,_0x395c4b=new _0x5f4945(_0x215136);return _0x395c4b[_0xb21e2e(0xd7)]({'label':_0x467871(_0x215136,_0xb21e2e(0xf0)),'icon':_0x4205aa[_0xb21e2e(0xec)],'withText':!0x0,'tooltip':!0x0,'class':_0xb21e2e(0xc3)}),this[_0xb21e2e(0xeb)](_0x395c4b,_0xb21e2e(0xc5),()=>{const _0x49b95b=_0xb21e2e;_0x1820b0[_0x49b95b(0xcf)][_0x49b95b(0xdd)](_0x49b95b(0xe4))[_0x49b95b(0xca)]();}),_0x395c4b;}),_0x1820b0['ui'][_0x7b513(0xef)][_0x7b513(0xe0)](_0x7b513(0xe7),_0x2a8817=>{const _0x4b8a4f=_0x7b513,_0x1287d3=new _0x5f4945(_0x2a8817);return _0x1287d3[_0x4b8a4f(0xd7)]({'label':_0x467871(_0x2a8817,_0x4b8a4f(0xd5)),'withText':!0x0,'tooltip':!0x0}),_0x1287d3[_0x4b8a4f(0xe5)](_0x4b8a4f(0xe8))['to'](_0x1820b0[_0x4b8a4f(0xc4)][_0x4b8a4f(0xdd)](_0x4b8a4f(0xe7))),this[_0x4b8a4f(0xeb)](_0x1287d3,_0x4b8a4f(0xc5),()=>_0x1820b0[_0x4b8a4f(0xc5)](_0x4b8a4f(0xe7))),_0x1287d3;}),_0x1820b0['ui'][_0x7b513(0xef)][_0x7b513(0xe0)](_0x7b513(0xdb),_0x3b6b84=>{const _0x4cb7ee=_0x7b513,_0x26555a=new _0x480f5d(_0x3b6b84),_0x3781a0=_0x1820b0[_0x4cb7ee(0xc4)][_0x4cb7ee(0xdd)](_0x4cb7ee(0xde)),_0x1f477b=_0x1820b0[_0x4cb7ee(0xc4)][_0x4cb7ee(0xdd)](_0x4cb7ee(0xed));return _0x26555a[_0x4cb7ee(0xe5)](_0x4cb7ee(0xd3))['to'](_0x3781a0,_0x4cb7ee(0xe8)),_0x26555a[_0x4cb7ee(0xe5)](_0x4cb7ee(0xd4))['to'](_0x1f477b,_0x4cb7ee(0xe8)),_0x26555a[_0x4cb7ee(0xe5)](_0x4cb7ee(0xe3),_0x4cb7ee(0xc9),_0x4cb7ee(0xd9),_0x4cb7ee(0xc2))['to'](_0x168976),this[_0x4cb7ee(0xeb)](_0x26555a,_0x4cb7ee(0xc5),(_0x59a671,_0x4adff3)=>{const _0x4129c7=_0x4cb7ee;_0x1820b0[_0x4129c7(0xc5)](_0x4129c7(0xd8)===_0x4adff3?_0x4129c7(0xed):_0x4129c7(0xde));}),_0x26555a;}),_0x233ed1[_0x7b513(0xf3)](),_0x168976['on'](_0x7b513(0xea),(_0x39dda3,_0x1506a3,_0x3cfd69)=>{const _0x466eab=_0x7b513;_0x3cfd69?_0x233ed1[_0x466eab(0xf1)]():_0x233ed1[_0x466eab(0xf3)]();});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
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(
|
|
23
|
+
export function getTranslation(_0x4bec04,_0x5d459c,_0x597205){const t=_0x4bec04['t'];switch(_0x5d459c){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'},_0x597205);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x597205);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'';}}
|