@ckeditor/ckeditor5-revision-history 47.4.0-alpha.1 → 47.4.0-alpha.2
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 +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +12 -12
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3a72c2=_0xc979;function _0xc979(_0x155931,_0xb71d4c){const _0x19a66b=_0x19a6();return _0xc979=function(_0xc9790b,_0x23013b){_0xc9790b=_0xc9790b-0xeb;let _0x135e93=_0x19a66b[_0xc9790b];return _0x135e93;},_0xc979(_0x155931,_0xb71d4c);}(function(_0x3f4143,_0x10d18a){const _0x5202c7=_0xc979,_0x34f009=_0x3f4143();while(!![]){try{const _0x2f97b5=parseInt(_0x5202c7(0x10b))/0x1*(parseInt(_0x5202c7(0xed))/0x2)+parseInt(_0x5202c7(0x113))/0x3*(-parseInt(_0x5202c7(0xec))/0x4)+parseInt(_0x5202c7(0x10e))/0x5+-parseInt(_0x5202c7(0x105))/0x6*(parseInt(_0x5202c7(0x10d))/0x7)+-parseInt(_0x5202c7(0x116))/0x8+parseInt(_0x5202c7(0xee))/0x9*(parseInt(_0x5202c7(0xf9))/0xa)+parseInt(_0x5202c7(0xfd))/0xb*(parseInt(_0x5202c7(0x10a))/0xc);if(_0x2f97b5===_0x10d18a)break;else _0x34f009['push'](_0x34f009['shift']());}catch(_0x41cd31){_0x34f009['push'](_0x34f009['shift']());}}}(_0x19a6,0xcc317));function _0x19a6(){const _0x194425=['focus','optional','render','fieldView','extendTemplate','arrowright','listenTo','input','10DijsCb','initializeCssTransitionDisablerMixin','errorText','keystrokes','500984wHEcyN','arrowup','revisionNameInputView','revisionName','add','revisionNameInputValue','label','element','743562obSysa','arrowdown','_createRevisionNameInput','trim','setTemplate','216FYDKpJ','98281zpnltj','stopPropagation','77HGTNcj','7735705nUGdlb','set','locale','value','arrowleft','6SODpwQ','220','focusTracker','10274752JmTwtC','reset','Name\x20of\x20the\x20revision','form','1395656NoYcju','10xpDpZu','11910654SUKnwk','ck-revision-history-save-revision-form','ck-responsive-form'];_0x19a6=function(){return _0x194425;};return _0x19a6();}import{CssTransitionDisablerMixin as _0x4df99f,LabeledFieldView as _0x97ffc2,View as _0x4b55f1,createLabeledInputText as _0x34a07f,submitHandler as _0x2d711b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x113b2d,KeystrokeHandler as _0x4ff125}from'ckeditor5/src/utils.js';import{getTranslation as _0x55dec1}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4df99f(_0x4b55f1){[_0x3a72c2(0x115)];[_0x3a72c2(0xfc)];[_0x3a72c2(0xff)];constructor(_0x328ae1,_0x247055){const _0x4ff00c=_0x3a72c2;super(_0x328ae1),this[_0x4ff00c(0x115)]=new _0x113b2d(),this[_0x4ff00c(0xfc)]=new _0x4ff125(),this[_0x4ff00c(0x10f)](_0x4ff00c(0x102),''),this[_0x4ff00c(0xff)]=this[_0x4ff00c(0x107)](_0x247055),this[_0x4ff00c(0x109)]({'tag':_0x4ff00c(0xeb),'attributes':{'class':['ck',_0x4ff00c(0xef),_0x4ff00c(0xf0)],'tabindex':'-1'},'children':[this[_0x4ff00c(0xff)]]}),this[_0x4ff00c(0xfa)]();}[_0x3a72c2(0xf3)](){const _0x5a8c15=_0x3a72c2;super[_0x5a8c15(0xf3)](),_0x2d711b({'view':this}),this[_0x5a8c15(0x115)][_0x5a8c15(0x101)](this[_0x5a8c15(0xff)][_0x5a8c15(0x104)]),this[_0x5a8c15(0xfc)][_0x5a8c15(0xf7)](this[_0x5a8c15(0x104)]);const _0x1e001d=_0x39ad67=>_0x39ad67[_0x5a8c15(0x10c)]();this[_0x5a8c15(0xfc)][_0x5a8c15(0x10f)](_0x5a8c15(0xf6),_0x1e001d),this[_0x5a8c15(0xfc)][_0x5a8c15(0x10f)](_0x5a8c15(0x112),_0x1e001d),this[_0x5a8c15(0xfc)][_0x5a8c15(0x10f)](_0x5a8c15(0xfe),_0x1e001d),this[_0x5a8c15(0xfc)][_0x5a8c15(0x10f)](_0x5a8c15(0x106),_0x1e001d);}[_0x3a72c2(0xf1)](){const _0x53cb2c=_0x3a72c2;this[_0x53cb2c(0xff)][_0x53cb2c(0xf1)]();}get[_0x3a72c2(0x100)](){const _0x28d037=_0x3a72c2;return this[_0x28d037(0xff)][_0x28d037(0xf4)][_0x28d037(0x104)][_0x28d037(0x111)][_0x28d037(0x108)]();}set[_0x3a72c2(0x100)](_0x2d4d15){const _0x146d22=_0x3a72c2;this[_0x146d22(0xff)][_0x146d22(0xf4)][_0x146d22(0x104)][_0x146d22(0x111)]=_0x2d4d15[_0x146d22(0x108)]();}[_0x3a72c2(0x117)](){const _0x1ce03e=_0x3a72c2;this[_0x1ce03e(0xff)][_0x1ce03e(0xf4)][_0x1ce03e(0x104)][_0x1ce03e(0x111)]='',this[_0x1ce03e(0xff)][_0x1ce03e(0xfb)]=null;}[_0x3a72c2(0x107)](_0x26ff45){const _0x14f519=_0x3a72c2,_0x17d713=new _0x97ffc2(this[_0x14f519(0x110)],_0x34a07f),_0x15d57d=_0x17d713[_0x14f519(0xf4)];_0x15d57d[_0x14f519(0xf5)]({'attributes':{'maxlength':_0x14f519(0x114)}});let _0x4faffb=_0x55dec1(this[_0x14f519(0x110)],_0x14f519(0x118));return!_0x26ff45&&(_0x4faffb+='\x20('+_0x55dec1(this[_0x14f519(0x110)],_0x14f519(0xf2))+')'),(_0x17d713[_0x14f519(0x103)]=_0x4faffb,_0x15d57d['on'](_0x14f519(0xf8),()=>{const _0x5f0a9f=_0x14f519;this[_0x5f0a9f(0x102)]=_0x15d57d[_0x5f0a9f(0x104)][_0x5f0a9f(0x111)][_0x5f0a9f(0x108)]();}),_0x17d713);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ffbde=_0x698c;(function(_0x23dffe,_0x5e9c31){const _0x3e0603=_0x698c,_0x453e3f=_0x23dffe();while(!![]){try{const _0x3987f2=-parseInt(_0x3e0603(0x109))/0x1+parseInt(_0x3e0603(0xe8))/0x2+parseInt(_0x3e0603(0xe2))/0x3*(-parseInt(_0x3e0603(0xda))/0x4)+-parseInt(_0x3e0603(0xec))/0x5+-parseInt(_0x3e0603(0x115))/0x6+-parseInt(_0x3e0603(0xe4))/0x7+parseInt(_0x3e0603(0x113))/0x8*(parseInt(_0x3e0603(0xff))/0x9);if(_0x3987f2===_0x5e9c31)break;else _0x453e3f['push'](_0x453e3f['shift']());}catch(_0x55dc94){_0x453e3f['push'](_0x453e3f['shift']());}}}(_0x21d1,0x57734));import{Plugin as _0x4e3406}from'ckeditor5/src/core.js';import{IconHistory as _0x1d13f8}from'ckeditor5/src/icons.js';import{createDropdown as _0x1f444e,ButtonView as _0x3c0d93,ListItemView as _0x4ea081,ListView as _0xb295ae,MenuBarMenuListItemButtonView as _0x1e6e40,MenuBarMenuListItemView as _0x1acbcf,MenuBarMenuListView as _0x146a12,MenuBarMenuView as _0x128613}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x1173e0}from'../../revisiontracker.js';import{RevisionHistorySaveRevisionFormView as _0x27b855}from'./revisionhistorysaverevisionformview.js';function _0x698c(_0x562b7b,_0x5aceea){const _0x21d11a=_0x21d1();return _0x698c=function(_0x698ca5,_0x3b1ba7){_0x698ca5=_0x698ca5-0xd4;let _0x63fc67=_0x21d11a[_0x698ca5];return _0x63fc67;},_0x698c(_0x562b7b,_0x5aceea);}import{getTranslation as _0x1b28a9}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x4e3406{static get[_0x2ffbde(0xee)](){const _0x1a1aee=_0x2ffbde;return _0x1a1aee(0xf2);}static get[_0x2ffbde(0x111)](){return!0x0;}static get[_0x2ffbde(0x116)](){return!0x0;}static get[_0x2ffbde(0xf6)](){return[_0x1173e0];}[_0x2ffbde(0xf1)];[_0x2ffbde(0xdf)](){const _0x5f3b4a=_0x2ffbde,_0x25dc0f=this[_0x5f3b4a(0xd7)],_0x39889a=_0x25dc0f[_0x5f3b4a(0xf3)][_0x5f3b4a(0xed)](_0x5f3b4a(0x10d));_0x25dc0f['ui'][_0x5f3b4a(0x10b)][_0x5f3b4a(0xdd)](_0x5f3b4a(0xe7),_0xb09f5a=>{const _0x456fad=_0x5f3b4a,_0x2bab46=_0x1f444e(_0xb09f5a),_0x3b9cfd=_0x2bab46[_0x456fad(0x108)][_0x456fad(0xf9)],_0x1e5c6c=new _0xb295ae(_0xb09f5a),_0x56ae53=new _0x4ea081(_0xb09f5a),_0x13311a=this[_0x456fad(0xe1)](_0x3c0d93),_0x455847=new _0x4ea081(_0xb09f5a),_0x17835f=this[_0x456fad(0xea)](_0x3c0d93);return _0x2bab46[_0x456fad(0xf5)](_0x456fad(0xfb))['to'](_0x39889a,_0x456fad(0xe3),_0x39889a,_0x456fad(0xfb),_0x25dc0f,_0x456fad(0xf8),(_0x4b073e,_0x1f13f6,_0x1a9e70)=>_0x4b073e&&_0x1f13f6&&!_0x1a9e70),_0x2bab46[_0x456fad(0x102)][_0x456fad(0x104)]({'icon':_0x1d13f8,'label':_0x1b28a9(_0xb09f5a,_0x456fad(0xd9)),'tooltip':!0x0}),_0x13311a[_0x456fad(0x104)]({'withText':!0x0,'role':_0x456fad(0x106)}),_0x17835f[_0x456fad(0x104)]({'withText':!0x0,'role':_0x456fad(0x106)}),this[_0x456fad(0x100)](_0x17835f,_0x456fad(0x11a),()=>{const _0x5988f4=_0x456fad;_0x2bab46[_0x5988f4(0xdc)]=!0x1,_0x25dc0f[_0x5988f4(0xfc)][_0x5988f4(0x10c)][_0x5988f4(0x118)]();},{'priority':_0x456fad(0x110)}),_0x56ae53[_0x456fad(0xf9)][_0x456fad(0xdd)](_0x13311a),_0x455847[_0x456fad(0xf9)][_0x456fad(0xdd)](_0x17835f),_0x1e5c6c[_0x456fad(0x11b)]=_0x456fad(0x119),_0x1e5c6c[_0x456fad(0x103)][_0x456fad(0xfa)]([_0x56ae53,_0x455847]),_0x3b9cfd[_0x456fad(0xdd)](_0x1e5c6c),_0x2bab46;}),_0x25dc0f['ui'][_0x5f3b4a(0x10b)][_0x5f3b4a(0xdd)](_0x5f3b4a(0x114),()=>this[_0x5f3b4a(0x10f)]());}[_0x2ffbde(0x10f)](){const _0x53af54=_0x2ffbde,_0x9464a1=this[_0x53af54(0xd7)],_0xa5625b=_0x9464a1[_0x53af54(0x10a)],_0x5722bb=_0x9464a1[_0x53af54(0xf3)][_0x53af54(0xed)](_0x53af54(0x10d)),_0x21cfaf=new _0x128613(_0xa5625b),_0x29a0ea=new _0x146a12(_0xa5625b);_0x21cfaf[_0x53af54(0xf5)](_0x53af54(0xfb))['to'](_0x5722bb,_0x53af54(0xe3),_0x5722bb,_0x53af54(0xfb),_0x9464a1,_0x53af54(0xf8),(_0x3c9e96,_0x553b04,_0x42493e)=>_0x3c9e96&&_0x553b04&&!_0x42493e),_0x21cfaf[_0x53af54(0x102)][_0x53af54(0x104)]({'icon':_0x1d13f8,'label':_0x1b28a9(_0xa5625b,_0x53af54(0xd9))});const _0x1c465c=new _0x1acbcf(_0xa5625b,_0x21cfaf),_0x57a140=this[_0x53af54(0xe1)](_0x1e6e40);_0x57a140[_0x53af54(0x107)](_0x53af54(0x11a))['to'](_0x21cfaf),_0x1c465c[_0x53af54(0xf9)][_0x53af54(0xdd)](_0x57a140),_0x29a0ea[_0x53af54(0x103)][_0x53af54(0xdd)](_0x1c465c);const _0x2a26f9=new _0x1acbcf(_0xa5625b,_0x21cfaf),_0x5257aa=this[_0x53af54(0xea)](_0x1e6e40);return _0x5257aa[_0x53af54(0x107)](_0x53af54(0x11a))['to'](_0x21cfaf),_0x2a26f9[_0x53af54(0xf9)][_0x53af54(0xdd)](_0x5257aa),_0x29a0ea[_0x53af54(0x103)][_0x53af54(0xdd)](_0x2a26f9),_0x21cfaf[_0x53af54(0x108)][_0x53af54(0xf9)][_0x53af54(0xdd)](_0x29a0ea),_0x21cfaf;}[_0x2ffbde(0xe1)](_0x317213){const _0x1c10de=_0x2ffbde,_0x44e7fd=this[_0x1c10de(0xd7)],_0x1650d6=_0x44e7fd[_0x1c10de(0xf3)][_0x1c10de(0xed)](_0x1c10de(0x10d)),_0x20e86c=new _0x317213(_0x44e7fd[_0x1c10de(0x10a)]);return _0x20e86c[_0x1c10de(0x104)]({'label':_0x1b28a9(_0x44e7fd[_0x1c10de(0x10a)],_0x1c10de(0xd4))}),_0x20e86c[_0x1c10de(0xf5)](_0x1c10de(0xfb))['to'](_0x1650d6,_0x1c10de(0xe3),_0x1650d6,_0x1c10de(0xfb),_0x44e7fd,_0x1c10de(0xf8),(_0x48221b,_0x54b84f,_0x111f5f)=>_0x48221b&&_0x54b84f&&!_0x111f5f),this[_0x1c10de(0x100)](_0x20e86c,_0x1c10de(0x11a),()=>{const _0x4f7af9=_0x1c10de;this[_0x4f7af9(0xf0)]();}),_0x20e86c;}[_0x2ffbde(0xea)](_0x3b1e87){const _0x19d7f8=_0x2ffbde,_0x432be6=this[_0x19d7f8(0xd7)],_0x1ca822=_0x432be6[_0x19d7f8(0xf3)][_0x19d7f8(0xed)](_0x19d7f8(0x10d)),_0x25b163=new _0x3b1e87(_0x432be6[_0x19d7f8(0x10a)]);return _0x25b163[_0x19d7f8(0x104)]({'label':_0x1b28a9(_0x432be6[_0x19d7f8(0x10a)],_0x19d7f8(0x10e))}),_0x25b163[_0x19d7f8(0xf5)](_0x19d7f8(0xfb))['to'](_0x1ca822,_0x19d7f8(0xe3),_0x432be6,_0x19d7f8(0xf8),(_0x3e082d,_0xef0e85)=>_0x3e082d&&!_0xef0e85),this[_0x19d7f8(0x100)](_0x25b163,_0x19d7f8(0x11a),()=>{const _0x4b17bb=_0x19d7f8;_0x432be6[_0x4b17bb(0xe0)][_0x4b17bb(0xed)](_0x4b17bb(0xe7))[_0x4b17bb(0xfe)]();}),_0x25b163;}[_0x2ffbde(0xf0)](){const _0x17e31b=_0x2ffbde,_0x1e0877=this[_0x17e31b(0xd7)],_0x2f2ec6=_0x1e0877[_0x17e31b(0x10a)],_0x168969=_0x1e0877[_0x17e31b(0xf3)][_0x17e31b(0xed)](_0x17e31b(0xd6)),_0x54f788=_0x1e0877[_0x17e31b(0xf3)][_0x17e31b(0xed)](_0x17e31b(0x10d));function _0x219059(_0x551957){const _0x3618bf=_0x17e31b;_0x1e0877[_0x3618bf(0xe0)][_0x3618bf(0xed)](_0x3618bf(0xd5))&&''===_0x551957[_0x3618bf(0x105)]?_0x551957[_0x3618bf(0x112)][_0x3618bf(0xeb)]=_0x1b28a9(_0x2f2ec6,_0x3618bf(0xef)):(_0x1e0877[_0x3618bf(0xf3)][_0x3618bf(0xed)](_0x1173e0)[_0x3618bf(0xf4)]({'name':_0x551957[_0x3618bf(0x105)]}),_0x168969[_0x3618bf(0xdb)]());}this[_0x17e31b(0xf1)]||(this[_0x17e31b(0xe6)](),this[_0x17e31b(0xf1)]['on'](_0x17e31b(0xf7),()=>_0x219059(this[_0x17e31b(0xf1)]))),this[_0x17e31b(0xf1)][_0x17e31b(0x117)](),_0x168969[_0x17e31b(0xe9)]({'id':_0x17e31b(0xfd),'title':_0x1b28a9(_0x2f2ec6,_0x17e31b(0xd4)),'isModal':!0x0,'content':this[_0x17e31b(0xf1)],'actionButtons':[{'label':_0x1b28a9(_0x1e0877[_0x17e31b(0x10a)],_0x17e31b(0x101)),'withText':!0x0,'onExecute':()=>_0x168969[_0x17e31b(0xdb)]()},{'label':_0x1b28a9(_0x1e0877[_0x17e31b(0x10a)],_0x17e31b(0xe5)),'class':_0x17e31b(0xd8),'withText':!0x0,'onCreate'(_0x5a403c){const _0x301d1b=_0x17e31b;_0x5a403c[_0x301d1b(0xf5)](_0x301d1b(0xfb))['to'](_0x54f788,_0x301d1b(0xe3),_0x54f788,_0x301d1b(0xfb),_0x1e0877,_0x301d1b(0xf8),(_0x2cc069,_0x8fdaf0,_0x569fc9)=>_0x2cc069&&_0x8fdaf0&&!_0x569fc9);},'onExecute':()=>_0x219059(this[_0x17e31b(0xf1)])}]});}[_0x2ffbde(0xe6)](){const _0x1bb964=_0x2ffbde,_0xeeb391=this[_0x1bb964(0xd7)],_0x483d79=_0xeeb391[_0x1bb964(0x10a)];this[_0x1bb964(0xf1)]=new _0x27b855(_0x483d79,_0xeeb391[_0x1bb964(0xe0)][_0x1bb964(0xed)](_0x1bb964(0xd5))),this[_0x1bb964(0xf1)][_0x1bb964(0xde)]();}}function _0x21d1(){const _0x38df9f=['_createSaveRevisionButton','300IdpeEP','isReady','3807041QvXkQq','Accept','_createSaveRevisionFormView','revisionHistory','986896LExBkD','show','_createOpenRevisionButton','errorText','3578580DTRhrU','get','pluginName','The\x20revision\x20name\x20cannot\x20be\x20empty.','_showDialog','_saveRevisionFormView','RevisionHistoryUI','plugins','saveRevision','bind','requires','submit','isReadOnly','children','addMany','isEnabled','editing','revisionSave','showRevisionViewerCallback','27376659Qmphjo','listenTo','Cancel','buttonView','items','set','revisionName','menuitem','delegate','panelView','672627VetRVa','locale','componentFactory','view','RevisionTracker','Open\x20revision\x20history','_registerMenuComponent','low','isOfficialPlugin','revisionNameInputView','8RVxIoV','menuBar:revisionHistory','4030182pIVSBA','isPremiumPlugin','reset','focus','menu','execute','role','Save\x20current\x20revision','revisionHistory.requireRevisionName','Dialog','editor','ck-button-action','Revision\x20history','22928kRYpFm','hide','isOpen','add','render','init','config'];_0x21d1=function(){return _0x38df9f;};return _0x21d1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2022a2=_0x1d04;function _0x4819(){const _0x66259b=['locale','909178MRDQIB','_revisions','bind','_handleDiffChange','availableRevisionActions','defaultRevisionActions','revisionHistory.revisionActions','1cWPsZR','length','_handleEditorDataReady','_revisionsRepository','map','nameRevision','get','_revisionViewer','newRevisionId','editor','11xSPmge','isVisible','Restore\x20this\x20revision','fieldView','init','_handleRevisionSetName','2643708RQLJBG','action','getRevisionsInDiff','isOfficialPlugin','highlightRevisions','_sidebarView','isSelected','element','appendChild','repository','change:diff','remove','_handleRevisionSelected','2834368ZhNVLG','pluginName','isEnabled','compare','timePeriodViews','1040169TFdJPS','diff','revisionHistory','revisionSetName','focus','Compare\x20against\x20selected','setName','requires','isPremiumPlugin','5pOuoTJ','Name\x20this\x20revision','ready','revisionHistory.requireRevisionName','getLaterVisibleRevision','revisionSelected','getIndex','name','RevisionsSidebar','4510908fajDoj','compareAgainstSelected','string','restoreRevisionCallback','getRevision','selectRevision','select','7wqszTd','add','config','render','restoreRevision','getEarlierVisibleRevision','6020ArrZVW','assign','revisionViews','plugins','destroy','revisionHistory.viewerSidebarContainer','listenTo','_createRevisionActions','7574740nsApFV','isReady','data'];_0x4819=function(){return _0x66259b;};return _0x4819();}(function(_0x2d1c00,_0x5c9e77){const _0x23ce9e=_0x1d04,_0xb1b70f=_0x2d1c00();while(!![]){try{const _0x2fbc0b=-parseInt(_0x23ce9e(0x11e))/0x1*(-parseInt(_0x23ce9e(0x117))/0x2)+-parseInt(_0x23ce9e(0xec))/0x3+-parseInt(_0x23ce9e(0x10b))/0x4*(parseInt(_0x23ce9e(0xf5))/0x5)+-parseInt(_0x23ce9e(0xda))/0x6+parseInt(_0x23ce9e(0x105))/0x7*(parseInt(_0x23ce9e(0xe7))/0x8)+-parseInt(_0x23ce9e(0xfe))/0x9+parseInt(_0x23ce9e(0x113))/0xa*(parseInt(_0x23ce9e(0x128))/0xb);if(_0x2fbc0b===_0x5c9e77)break;else _0xb1b70f['push'](_0xb1b70f['shift']());}catch(_0x2c4019){_0xb1b70f['push'](_0xb1b70f['shift']());}}}(_0x4819,0x4374d));import{Plugin as _0x4da8d8}from'ckeditor5/src/core.js';function _0x1d04(_0x216484,_0x5eeb62){const _0x481933=_0x4819();return _0x1d04=function(_0x1d04c6,_0x1e84e7){_0x1d04c6=_0x1d04c6-0xd8;let _0x458f98=_0x481933[_0x1d04c6];return _0x458f98;},_0x1d04(_0x216484,_0x5eeb62);}import{RevisionsSidebarView as _0x45179e}from'./revisionssidebarview.js';import{RevisionViewer as _0x3296dc}from'../../revisionviewer.js';export class RevisionsSidebar extends _0x4da8d8{[_0x2022a2(0x125)];[_0x2022a2(0x121)];[_0x2022a2(0xdf)];static [_0x2022a2(0x11c)]=[_0x2022a2(0xff),_0x2022a2(0x109),_0x2022a2(0x123)];static [_0x2022a2(0x11b)]=(function(){const _0x1ed596=_0x2022a2;return{'compareAgainstSelected':{'name':_0x1ed596(0xf1),'action':({plugins:i},s)=>{const _0x1969e6=_0x1ed596,e=i[_0x1969e6(0x124)](_0x3296dc),n=e[_0x1969e6(0xe3)];let r=e[_0x1969e6(0xed)][_0x1969e6(0x126)],o=s['id'];n[_0x1969e6(0xfb)](r)>n[_0x1969e6(0xfb)](o)&&([r,o]=[o,r]),e[_0x1969e6(0xea)](r,o);},'isVisible':({plugins:i},s)=>{const _0x5e7dc0=_0x1ed596,e=i[_0x5e7dc0(0x124)](_0x3296dc);return!(e[_0x5e7dc0(0xe3)][_0x5e7dc0(0xdc)](e[_0x5e7dc0(0xed)])[_0x5e7dc0(0x11f)]>0x2)&&!s[_0x5e7dc0(0xe0)];}},'restoreRevision':{'name':_0x1ed596(0x12a),'action':(i,{id:s})=>{const _0x33c2c4=_0x1ed596;i[_0x33c2c4(0x107)][_0x33c2c4(0x124)](_0x33c2c4(0xee))[_0x33c2c4(0x101)](s);},'isVisible':({plugins:i},s)=>!!i[_0x1ed596(0x124)](_0x3296dc)[_0x1ed596(0xe3)][_0x1ed596(0xf9)](s['id'])},'nameRevision':{'name':_0x1ed596(0xf6),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0x15ad75=_0x1ed596,n=i[_0x15ad75(0x124)](_0x3296dc),r=n[_0x15ad75(0xe3)][_0x15ad75(0x10a)](s);n[_0x15ad75(0xea)](s,r),e[_0x15ad75(0xf0)](),e[_0x15ad75(0x12b)][_0x15ad75(0x104)]();}}};}());static get[_0x2022a2(0xe8)](){const _0x39f995=_0x2022a2;return _0x39f995(0xfd);}static get[_0x2022a2(0xdd)](){return!0x0;}static get[_0x2022a2(0xf4)](){return!0x0;}static get[_0x2022a2(0xf3)](){return[_0x3296dc];}constructor(_0x4c5032){const _0x5acf3d=_0x2022a2;super(_0x4c5032),this[_0x5acf3d(0x125)]=_0x4c5032[_0x5acf3d(0x10e)][_0x5acf3d(0x124)](_0x3296dc),this[_0x5acf3d(0x121)]=this[_0x5acf3d(0x125)][_0x5acf3d(0xe3)],this[_0x5acf3d(0xdf)]=null;}[_0x2022a2(0xd8)](){const _0x3daabf=_0x2022a2,_0xe06f2f=this[_0x3daabf(0x121)][_0x3daabf(0x118)],_0x3fb4f0=this[_0x3daabf(0x112)](),_0x19cd3c=this[_0x3daabf(0x127)][_0x3daabf(0x107)][_0x3daabf(0x124)](_0x3daabf(0x110));this[_0x3daabf(0xdf)]=new _0x45179e(this[_0x3daabf(0x127)][_0x3daabf(0x116)],_0xe06f2f,_0x3fb4f0,this[_0x3daabf(0x127)][_0x3daabf(0x107)][_0x3daabf(0x124)](_0x3daabf(0xf8))),this[_0x3daabf(0xdf)]['on'](_0x3daabf(0xfa),this[_0x3daabf(0xe6)][_0x3daabf(0x119)](this)),this[_0x3daabf(0xdf)]['on'](_0x3daabf(0xef),this[_0x3daabf(0xd9)][_0x3daabf(0x119)](this)),this[_0x3daabf(0xdf)][_0x3daabf(0x119)](_0x3daabf(0xe9))['to'](this[_0x3daabf(0x125)]),this[_0x3daabf(0xdf)][_0x3daabf(0xeb)]['on'](_0x3daabf(0x106),(_0x5614b1,_0x574017)=>{const _0x38b06e=_0x3daabf;_0x574017[_0x38b06e(0x10d)]['on'](_0x38b06e(0x106),(_0x1c9189,_0x453420)=>{const _0x25aa90=_0x38b06e;_0x453420[_0x25aa90(0x119)](_0x25aa90(0xe9),_0x25aa90(0x114))['to'](this[_0x25aa90(0x125)]);});}),this[_0x3daabf(0xdf)][_0x3daabf(0x108)](),this[_0x3daabf(0x111)](this[_0x3daabf(0x127)][_0x3daabf(0x115)],_0x3daabf(0xf7),this[_0x3daabf(0x120)][_0x3daabf(0x119)](this)),this[_0x3daabf(0x111)](this[_0x3daabf(0x125)],_0x3daabf(0xe4),this[_0x3daabf(0x11a)][_0x3daabf(0x119)](this)),_0x19cd3c[_0x3daabf(0xe2)](this[_0x3daabf(0xdf)][_0x3daabf(0xe1)]);}[_0x2022a2(0x10f)](){const _0x2f9c96=_0x2022a2;this[_0x2f9c96(0xdf)][_0x2f9c96(0xe1)][_0x2f9c96(0xe5)](),this[_0x2f9c96(0xdf)][_0x2f9c96(0x10f)]();}[_0x2022a2(0x120)](){const _0x4186af=_0x2022a2,_0x1a10a6=this[_0x4186af(0x121)][_0x4186af(0x102)](0x0);if(_0x1a10a6){const _0x1f7f4f=this[_0x4186af(0x121)][_0x4186af(0x10a)](_0x1a10a6['id']);this[_0x4186af(0x125)][_0x4186af(0xea)](_0x1a10a6,_0x1f7f4f);}}[_0x2022a2(0xe6)](_0x350775,_0x266274){const _0x4a30d2=_0x2022a2,_0x37ca84=this[_0x4a30d2(0x121)][_0x4a30d2(0x102)](_0x266274['id']),_0x5adedb=this[_0x4a30d2(0x121)][_0x4a30d2(0x10a)](_0x37ca84['id']);this[_0x4a30d2(0x125)][_0x4a30d2(0xea)](_0x37ca84,_0x5adedb);}[_0x2022a2(0xd9)](_0x47e80c,_0x4e92e9){const _0x97af5d=_0x2022a2;this[_0x97af5d(0x121)][_0x97af5d(0x102)](_0x4e92e9['id'])[_0x97af5d(0xf2)](_0x4e92e9[_0x97af5d(0xfc)]);}[_0x2022a2(0x11a)](_0x2a013f,_0x2218b,_0xc93995){const _0x295eda=_0x2022a2,_0x10596d=this[_0x295eda(0x121)][_0x295eda(0xdc)](_0xc93995);_0x10596d[_0x295eda(0x11f)]>0x2?(this[_0x295eda(0xdf)][_0x295eda(0xde)](_0x10596d),this[_0x295eda(0xdf)][_0x295eda(0x103)](null)):(this[_0x295eda(0xdf)][_0x295eda(0xde)]([]),this[_0x295eda(0xdf)][_0x295eda(0x103)](_0x10596d[0x0]));}[_0x2022a2(0x112)](){const _0x46736f=_0x2022a2,_0x3e0a24=this[_0x46736f(0x127)],_0x134124=RevisionsSidebar[_0x46736f(0x11b)],_0x2980dd=_0x3e0a24[_0x46736f(0x107)][_0x46736f(0x124)](_0x46736f(0x11d))||RevisionsSidebar[_0x46736f(0x11c)];if(_0x2980dd[_0x46736f(0x11f)])return _0x2980dd[_0x46736f(0x122)](_0x4f009f=>{const _0x591309=_0x46736f,_0x29cac5=_0x591309(0x100)==typeof _0x4f009f?Object[_0x591309(0x10c)]({},_0x134124[_0x4f009f]):_0x4f009f;return _0x29cac5[_0x591309(0xdb)]=_0x29cac5[_0x591309(0xdb)][_0x591309(0x119)](this,_0x3e0a24),_0x29cac5[_0x591309(0x129)]&&(_0x29cac5[_0x591309(0x129)]=_0x29cac5[_0x591309(0x129)][_0x591309(0x119)](this,_0x3e0a24)),_0x29cac5;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x38ab(_0x290a58,_0x579790){const _0x46d2fe=_0x46d2();return _0x38ab=function(_0x38ab5e,_0x4ec7c3){_0x38ab5e=_0x38ab5e-0x132;let _0x5c982d=_0x46d2fe[_0x38ab5e];return _0x5c982d;},_0x38ab(_0x290a58,_0x579790);}(function(_0x45e369,_0xe02d32){const _0x24ea73=_0x38ab,_0x41379f=_0x45e369();while(!![]){try{const _0x324d5c=-parseInt(_0x24ea73(0x139))/0x1*(parseInt(_0x24ea73(0x134))/0x2)+-parseInt(_0x24ea73(0x135))/0x3*(-parseInt(_0x24ea73(0x13c))/0x4)+-parseInt(_0x24ea73(0x133))/0x5+parseInt(_0x24ea73(0x136))/0x6+parseInt(_0x24ea73(0x13e))/0x7*(-parseInt(_0x24ea73(0x13b))/0x8)+-parseInt(_0x24ea73(0x132))/0x9*(-parseInt(_0x24ea73(0x144))/0xa)+parseInt(_0x24ea73(0x140))/0xb;if(_0x324d5c===_0xe02d32)break;else _0x41379f['push'](_0x41379f['shift']());}catch(_0xccb1c3){_0x41379f['push'](_0x41379f['shift']());}}}(_0x46d2,0x21514));import{View as _0x47a323,IconView as _0x1f600f}from'ckeditor5/src/ui.js';import{getTranslation as _0x488df7}from'../../utils/common-translations.js';import{IconHistory as _0x4d364d}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x47a323{constructor(_0x2b6267){const _0x55e863=_0x38ab;super(_0x2b6267);const _0x13b8e8=new _0x1f600f();_0x13b8e8[_0x55e863(0x13a)]=_0x4d364d,this[_0x55e863(0x142)]({'tag':_0x55e863(0x13d),'attributes':{'class':['ck',_0x55e863(0x141),_0x55e863(0x137)]},'children':[_0x13b8e8,{'tag':_0x55e863(0x138),'attributes':{'class':['ck',_0x55e863(0x143)]},'children':[_0x488df7(_0x2b6267,_0x55e863(0x13f))]}]});}}function _0x46d2(){const _0x2824ad=['span','2FKWOCn','content','3264TrBayW','827760OIrRQJ','div','2331yIKxPq','Revision\x20history','2197305YcIAfz','ck-reset_all','setTemplate','ck-revision-history-sidebar__header__label','70EdxNrT','115029SGoPPx','747255cTsDok','224166WVAnWv','3pPIyOK','898722VJWaaB','ck-revision-history-sidebar__header'];_0x46d2=function(){return _0x2824ad;};return _0x46d2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10489e=_0x1a1d;(function(_0x2df46b,_0x2f2850){const _0x2ded27=_0x1a1d,_0x4fb202=_0x2df46b();while(!![]){try{const _0x4afdec=-parseInt(_0x2ded27(0x156))/0x1*(-parseInt(_0x2ded27(0x155))/0x2)+-parseInt(_0x2ded27(0x14b))/0x3*(parseInt(_0x2ded27(0x14e))/0x4)+-parseInt(_0x2ded27(0x153))/0x5*(parseInt(_0x2ded27(0x15a))/0x6)+-parseInt(_0x2ded27(0x159))/0x7*(parseInt(_0x2ded27(0x167))/0x8)+parseInt(_0x2ded27(0x157))/0x9+-parseInt(_0x2ded27(0x162))/0xa*(-parseInt(_0x2ded27(0x14d))/0xb)+parseInt(_0x2ded27(0x169))/0xc;if(_0x4afdec===_0x2f2850)break;else _0x4fb202['push'](_0x4fb202['shift']());}catch(_0xf1d218){_0x4fb202['push'](_0x4fb202['shift']());}}}(_0x161a,0xb85a1));function _0x161a(){const _0x1a06f3=['16hIhyQu','removeRevision','22030560FaIQnQ','setName','span','uiLanguage','24696qsUxxo','find','33hbJJDN','452VCQwJg','div','select','localizedPeriodName','_revisionActions','764155mVQSaY','createCollection','609164fBOPpC','4dIpwEO','3818835sZSHJf','locale','2776067TRwNbL','42SIQIpx','delegate','ck-revision-history-sidebar__time-period__revisions','revisionViews','remove','setTemplate','_requireRevisionName','add','232590NkqeeO','ck-revision-history-sidebar__time-period__label','addRevision','startDate','ck-revision-history-sidebar__time-period'];_0x161a=function(){return _0x1a06f3;};return _0x161a();}import{View as _0x595db3}from'ckeditor5/src/ui.js';import{RevisionView as _0x1276e5}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x2fc5ba}from'./utils.js';function _0x1a1d(_0x469e55,_0x1c13e8){const _0x161a1b=_0x161a();return _0x1a1d=function(_0x1a1dcd,_0x50c88b){_0x1a1dcd=_0x1a1dcd-0x14a;let _0x276d17=_0x161a1b[_0x1a1dcd];return _0x276d17;},_0x1a1d(_0x469e55,_0x1c13e8);}import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x595db3{[_0x10489e(0x165)];[_0x10489e(0x15d)];[_0x10489e(0x152)];[_0x10489e(0x160)];constructor(_0x51853c,_0x2227c9,_0x2aaa6b,_0x555836){const _0x2d747f=_0x10489e;super(_0x51853c);const _0x38b5cf=_0x2fc5ba(_0x2227c9,this[_0x2d747f(0x158)][_0x2d747f(0x14a)])[_0x2d747f(0x151)];this[_0x2d747f(0x165)]=_0x2227c9,this[_0x2d747f(0x15d)]=this[_0x2d747f(0x154)](),this[_0x2d747f(0x152)]=_0x2aaa6b,this[_0x2d747f(0x160)]=_0x555836,this[_0x2d747f(0x15d)][_0x2d747f(0x15b)](_0x2d747f(0x150))['to'](this),this[_0x2d747f(0x15d)][_0x2d747f(0x15b)](_0x2d747f(0x16a))['to'](this),this[_0x2d747f(0x15f)]({'tag':_0x2d747f(0x14f),'attributes':{'class':['ck',_0x2d747f(0x166)]},'children':[{'tag':_0x2d747f(0x16b),'attributes':{'class':['ck',_0x2d747f(0x163)]},'children':[{'text':_0x38b5cf}]},{'tag':_0x2d747f(0x14f),'attributes':{'class':['ck',_0x2d747f(0x15c)]},'children':this[_0x2d747f(0x15d)]}]});}[_0x10489e(0x164)](_0x4cdf57){const _0x2266cd=_0x10489e,_0x4d908b=new _0x1276e5(this[_0x2266cd(0x158)],_0x4cdf57,this[_0x2266cd(0x152)],this[_0x2266cd(0x160)]);this[_0x2266cd(0x15d)][_0x2266cd(0x161)](_0x4d908b);}[_0x10489e(0x168)](_0x3e9410){const _0x21ed8f=_0x10489e,_0x15e178=this[_0x21ed8f(0x15d)][_0x21ed8f(0x14c)](_0x1b5abb=>_0x1b5abb['id']===_0x3e9410['id']);this[_0x21ed8f(0x15d)][_0x21ed8f(0x15e)](_0x15e178);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x27b8e0=_0x5a01;function _0x5a01(_0x222e7b,_0x5bd832){const _0x2ce9bb=_0x2ce9();return _0x5a01=function(_0x5a01de,_0x188afe){_0x5a01de=_0x5a01de-0xbc;let _0x52846f=_0x2ce9bb[_0x5a01de];return _0x52846f;},_0x5a01(_0x222e7b,_0x5bd832);}function _0x2ce9(){const _0x1be606=['uiLanguage','add','selectRevision','remove','15mGmqfm','some','unhighlight','startDate','select','ck-disabled','_requireRevisionName','createdAt','ck-rounded-corners','2614LAdLhj','1777167TilUHk','fire','flat','delegate','_removeRevision','highlightRevisions','1237wSOuEs','div','6843900QLlXIT','bindTemplate','locale','revisionViews','ck-revision-history-sidebar','ck-reset','find','10530909TvwcQM','deselect','highlight','1817838zWTkHc','setName','removeRevision','getTime','addRevision','_revisionActions','map','set','createCollection','_revisions','ck-revision-history-sidebar__timeline','revisionSelected','_addRevision','render','revisionSetName','_getTimePeriodViewByStartDate','30GDParl','3613104spjePa','isEnabled','4904469xwsjWZ','setTemplate','get','timePeriodViews'];_0x2ce9=function(){return _0x1be606;};return _0x2ce9();}(function(_0x35ce06,_0x2312c1){const _0x42f6dc=_0x5a01,_0x314fc3=_0x35ce06();while(!![]){try{const _0x6a2a45=-parseInt(_0x42f6dc(0xd9))/0x1*(parseInt(_0x42f6dc(0xd2))/0x2)+-parseInt(_0x42f6dc(0xc1))/0x3+parseInt(_0x42f6dc(0xdb))/0x4+parseInt(_0x42f6dc(0xc9))/0x5*(-parseInt(_0x42f6dc(0xe5))/0x6)+parseInt(_0x42f6dc(0xd3))/0x7+-parseInt(_0x42f6dc(0xbf))/0x8+parseInt(_0x42f6dc(0xe2))/0x9*(parseInt(_0x42f6dc(0xbe))/0xa);if(_0x6a2a45===_0x2312c1)break;else _0x314fc3['push'](_0x314fc3['shift']());}catch(_0x4f2f63){_0x314fc3['push'](_0x314fc3['shift']());}}}(_0x2ce9,0xd2b2c));import{View as _0x28771c}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x3a790a}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x452b1e}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0xb5ac67}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x28771c{[_0x27b8e0(0xc4)];[_0x27b8e0(0xee)];[_0x27b8e0(0xea)];[_0x27b8e0(0xcf)];constructor(_0x5eaadf,_0x1cfde1,_0x846c96,_0x19e07d){const _0x2f3aec=_0x27b8e0;super(_0x5eaadf);const _0x5b522b=this[_0x2f3aec(0xdc)];this[_0x2f3aec(0xc4)]=this[_0x2f3aec(0xed)](),this[_0x2f3aec(0xc4)][_0x2f3aec(0xd6)](_0x2f3aec(0xcd))['to'](this),this[_0x2f3aec(0xc4)][_0x2f3aec(0xd6)](_0x2f3aec(0xe6))['to'](this),this[_0x2f3aec(0xee)]=_0x1cfde1,this[_0x2f3aec(0xea)]=_0x846c96,this[_0x2f3aec(0xcf)]=_0x19e07d,this['on'](_0x2f3aec(0xcd),(_0x550fda,_0x33bc50)=>{const _0xcc60f4=_0x2f3aec;this[_0xcc60f4(0xd4)](_0xcc60f4(0xf0),_0x33bc50);}),this['on'](_0x2f3aec(0xe6),(_0x4ae84c,_0x44f66a)=>{const _0x36d8cb=_0x2f3aec;this[_0x36d8cb(0xd4)](_0x36d8cb(0xbc),_0x44f66a);}),this[_0x2f3aec(0xec)](_0x2f3aec(0xc0),!0x1),this[_0x2f3aec(0xc2)]({'tag':_0x2f3aec(0xda),'attributes':{'class':['ck',_0x2f3aec(0xe0),_0x2f3aec(0xd1),_0x2f3aec(0xdf)]},'children':[new _0x452b1e(_0x5eaadf),{'tag':_0x2f3aec(0xda),'attributes':{'class':['ck',_0x2f3aec(0xef),_0x5b522b['if'](_0x2f3aec(0xc0),_0x2f3aec(0xce),_0x4af437=>!_0x4af437)]},'children':this[_0x2f3aec(0xc4)]}]});}[_0x27b8e0(0xf2)](){const _0x4b0898=_0x27b8e0;super[_0x4b0898(0xf2)]();for(const _0x8ceee1 of this[_0x4b0898(0xee)])this[_0x4b0898(0xf1)](_0x8ceee1);this[_0x4b0898(0xee)]['on'](_0x4b0898(0xc6),(_0x58b23d,_0x3b3863)=>{const _0x18d714=_0x4b0898;this[_0x18d714(0xf1)](_0x3b3863);}),this[_0x4b0898(0xee)]['on'](_0x4b0898(0xc8),(_0x539f3e,_0x54dddf)=>{const _0x5735fe=_0x4b0898;this[_0x5735fe(0xd7)](_0x54dddf);});}get[_0x27b8e0(0xde)](){const _0x13d077=_0x27b8e0;return this[_0x13d077(0xc4)][_0x13d077(0xeb)](_0x304171=>_0x304171[_0x13d077(0xde)][_0x13d077(0xeb)](_0x781e52=>_0x781e52))[_0x13d077(0xd5)]();}[_0x27b8e0(0xc7)](_0x51ebfc){const _0x521e0a=_0x27b8e0;for(const _0x568e6d of this[_0x521e0a(0xde)])_0x51ebfc&&_0x51ebfc['id']===_0x568e6d['id']?_0x568e6d[_0x521e0a(0xcd)]():_0x568e6d[_0x521e0a(0xe3)]();}[_0x27b8e0(0xd8)](_0x585fa8){const _0x518447=_0x27b8e0;for(const _0x50894c of this[_0x518447(0xde)])_0x585fa8[_0x518447(0xca)](({id:_0x5a5966})=>_0x5a5966===_0x50894c['id'])?_0x50894c[_0x518447(0xe4)]():_0x50894c[_0x518447(0xcb)]();}[_0x27b8e0(0xf1)](_0x2dc731){const _0x58d0a6=_0x27b8e0,_0x1f5364=_0xb5ac67(_0x2dc731[_0x58d0a6(0xd0)],this[_0x58d0a6(0xdd)][_0x58d0a6(0xc5)])[_0x58d0a6(0xcc)];let _0x304744=this[_0x58d0a6(0xc4)][_0x58d0a6(0xc3)](0x0);_0x304744&&_0x304744[_0x58d0a6(0xcc)][_0x58d0a6(0xe8)]()===_0x1f5364[_0x58d0a6(0xe8)]()||(_0x304744=new _0x3a790a(this[_0x58d0a6(0xdd)],_0x1f5364,this[_0x58d0a6(0xea)],this[_0x58d0a6(0xcf)]),this[_0x58d0a6(0xc4)][_0x58d0a6(0xc6)](_0x304744)),_0x304744[_0x58d0a6(0xe9)](_0x2dc731);}[_0x27b8e0(0xd7)](_0x126028){const _0xf15e44=_0x27b8e0,_0x269de4=_0xb5ac67(_0x126028[_0xf15e44(0xd0)],this[_0xf15e44(0xdd)][_0xf15e44(0xc5)])[_0xf15e44(0xcc)];this[_0xf15e44(0xbd)](_0x269de4)[_0xf15e44(0xe7)](_0x126028);}[_0x27b8e0(0xbd)](_0x480b4e){const _0x37a41b=_0x27b8e0;return this[_0x37a41b(0xc4)][_0x37a41b(0xe1)](_0x477a9e=>_0x477a9e[_0x37a41b(0xcc)][_0x37a41b(0xe8)]()===_0x480b4e[_0x37a41b(0xe8)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x297e(_0x35638d,_0x14a69f){const _0x5b1ea2=_0x5b1e();return _0x297e=function(_0x297e76,_0x158b52){_0x297e76=_0x297e76-0x11b;let _0x49d2f1=_0x5b1ea2[_0x297e76];return _0x49d2f1;},_0x297e(_0x35638d,_0x14a69f);}(function(_0x1fc113,_0x549151){const _0xb4c744=_0x297e,_0x678615=_0x1fc113();while(!![]){try{const _0x40632b=-parseInt(_0xb4c744(0x11c))/0x1+parseInt(_0xb4c744(0x11d))/0x2*(-parseInt(_0xb4c744(0x120))/0x3)+parseInt(_0xb4c744(0x123))/0x4+parseInt(_0xb4c744(0x126))/0x5+parseInt(_0xb4c744(0x121))/0x6+parseInt(_0xb4c744(0x11e))/0x7+parseInt(_0xb4c744(0x12f))/0x8*(parseInt(_0xb4c744(0x11b))/0x9);if(_0x40632b===_0x549151)break;else _0x678615['push'](_0x678615['shift']());}catch(_0x58970d){_0x678615['push'](_0x678615['shift']());}}}(_0x5b1e,0x7f22d));import{DateTime as _0x5ae243}from'luxon';function _0x5b1e(){const _0x25c09e=['fromJSDate','1376908ricFFm','year','hasSame','2214270NmrxiP','local','toJSDate','setLocale','day','startOf','minus','month','toRelativeCalendar','3443064IiUSxS','monthLong','week','9pGzrCP','571650srvfQZ','543376XRlXUG','2257605dBWNOZ','weekdayLong','6HoiTbT','574776ZdfUOG'];_0x5b1e=function(){return _0x25c09e;};return _0x5b1e();}export function getDateTimePeriodInfo(_0x39cd0a,_0x553e9e){const _0x5c18ac=_0x297e,_0x5e6f15=_0x5ae243[_0x5c18ac(0x122)](_0x39cd0a)[_0x5c18ac(0x129)](_0x553e9e),_0x4787ab=_0x5ae243[_0x5c18ac(0x127)](),_0x453019=_0x4787ab[_0x5c18ac(0x12c)]({'days':0x1})[_0x5c18ac(0x12b)](_0x5c18ac(0x12a));let _0x173201,_0x3b413b;return _0x5e6f15[_0x5c18ac(0x125)](_0x4787ab,_0x5c18ac(0x12a))?(_0x173201=_0x5e6f15[_0x5c18ac(0x12b)](_0x5c18ac(0x12a))[_0x5c18ac(0x128)](),_0x3b413b=_0x5e6f15[_0x5c18ac(0x12e)]()):_0x5e6f15[_0x5c18ac(0x125)](_0x453019,_0x5c18ac(0x12a))?(_0x173201=_0x453019[_0x5c18ac(0x128)](),_0x3b413b=_0x5e6f15[_0x5c18ac(0x12e)]()):_0x5e6f15[_0x5c18ac(0x125)](_0x4787ab,_0x5c18ac(0x131))?(_0x173201=_0x5e6f15[_0x5c18ac(0x12b)](_0x5c18ac(0x131))[_0x5c18ac(0x128)](),_0x3b413b=_0x5e6f15[_0x5c18ac(0x11f)]||''):_0x5e6f15[_0x5c18ac(0x125)](_0x4787ab,_0x5c18ac(0x124))?(_0x173201=_0x5e6f15[_0x5c18ac(0x12b)](_0x5c18ac(0x12d))[_0x5c18ac(0x128)](),_0x3b413b=_0x5e6f15[_0x5c18ac(0x130)]||''):(_0x173201=_0x5e6f15[_0x5c18ac(0x12b)](_0x5c18ac(0x124))[_0x5c18ac(0x128)](),_0x3b413b=String(_0x5e6f15[_0x5c18ac(0x124)])),{'startDate':_0x173201,'localizedPeriodName':_0x3b413b};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4413(_0x39f182,_0x4066ad){const _0x2fed8d=_0x2fed();return _0x4413=function(_0x441360,_0x2c1acd){_0x441360=_0x441360-0x175;let _0x446e60=_0x2fed8d[_0x441360];return _0x446e60;},_0x4413(_0x39f182,_0x4066ad);}function _0x2fed(){const _0x95f1b4=['type','data','ck-revision-change','element','span','8311737SaExoA','_model','bindTemplate','445806LFOCtG','ck-revision-change__label','214650pmULEt','3511395xRjFLz','1202096taAdLD','name','Suggested\x20by','1552TdjKFY','div','setTemplate','1665sjMDTO','set','ck-revision-change__','ck-annotation','focus','8585168cyAcRt','changeId','50lEFJGF','718eajvBQ','isSuggestion','add','Added\x20by','Removed\x20by','author'];_0x2fed=function(){return _0x95f1b4;};return _0x2fed();}const _0x34e3cc=_0x4413;(function(_0x313a0b,_0x10f00c){const _0x57e443=_0x4413,_0x2ace76=_0x313a0b();while(!![]){try{const _0x482653=parseInt(_0x57e443(0x18b))/0x1*(parseInt(_0x57e443(0x180))/0x2)+-parseInt(_0x57e443(0x17c))/0x3+parseInt(_0x57e443(0x17d))/0x4+-parseInt(_0x57e443(0x18a))/0x5*(parseInt(_0x57e443(0x179))/0x6)+-parseInt(_0x57e443(0x176))/0x7+-parseInt(_0x57e443(0x188))/0x8+-parseInt(_0x57e443(0x183))/0x9*(-parseInt(_0x57e443(0x17b))/0xa);if(_0x482653===_0x10f00c)break;else _0x2ace76['push'](_0x2ace76['shift']());}catch(_0x5479e4){_0x2ace76['push'](_0x2ace76['shift']());}}}(_0x2fed,0x9fd71));import{View as _0x2b93f2}from'ckeditor5/src/ui.js';import{getTranslation as _0x25f28f}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x2b93f2{[_0x34e3cc(0x189)];[_0x34e3cc(0x177)];constructor(_0x46c2d5,_0x302ecb){const _0x5ce4b8=_0x34e3cc;super(_0x46c2d5),this[_0x5ce4b8(0x177)]=_0x302ecb,this[_0x5ce4b8(0x189)]=_0x302ecb['id'];const _0x1bcf92=this[_0x5ce4b8(0x178)],_0x267f26=_0x25f28f(_0x46c2d5,_0x302ecb[_0x5ce4b8(0x192)][_0x5ce4b8(0x18c)]?_0x5ce4b8(0x17f):_0x5ce4b8(0x18d)==_0x302ecb[_0x5ce4b8(0x191)]?_0x5ce4b8(0x18e):_0x5ce4b8(0x18f));this[_0x5ce4b8(0x184)](_0x5ce4b8(0x191),_0x302ecb[_0x5ce4b8(0x191)]),this[_0x5ce4b8(0x182)]({'tag':_0x5ce4b8(0x181),'attributes':{'class':[_0x5ce4b8(0x186),_0x5ce4b8(0x193),_0x1bcf92['to'](_0x5ce4b8(0x191),_0x57fe1f=>_0x5ce4b8(0x185)+_0x57fe1f)],'tabindex':-0x1},'children':[{'tag':_0x5ce4b8(0x175),'children':[{'tag':_0x5ce4b8(0x175),'attributes':{'class':[_0x5ce4b8(0x17a)]},'children':[{'text':_0x267f26}]},{'text':'\x20'+_0x302ecb[_0x5ce4b8(0x190)][_0x5ce4b8(0x17e)]}]}]});}[_0x34e3cc(0x187)](){const _0x32d132=_0x34e3cc;this[_0x32d132(0x194)][_0x32d132(0x187)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1600ca,_0x3d9931){const _0x392b2f=_0x2ec1,_0x1ba05b=_0x1600ca();while(!![]){try{const _0x50dfcc=-parseInt(_0x392b2f(0x18b))/0x1*(-parseInt(_0x392b2f(0x17f))/0x2)+parseInt(_0x392b2f(0x186))/0x3+parseInt(_0x392b2f(0x170))/0x4+-parseInt(_0x392b2f(0x18a))/0x5*(-parseInt(_0x392b2f(0x184))/0x6)+-parseInt(_0x392b2f(0x182))/0x7+parseInt(_0x392b2f(0x183))/0x8*(parseInt(_0x392b2f(0x16f))/0x9)+-parseInt(_0x392b2f(0x189))/0xa;if(_0x50dfcc===_0x3d9931)break;else _0x1ba05b['push'](_0x1ba05b['shift']());}catch(_0x41916a){_0x1ba05b['push'](_0x1ba05b['shift']());}}}(_0x33b0,0x4d9e3));function _0x2ec1(_0x288f91,_0x5c10df){const _0x33b009=_0x33b0();return _0x2ec1=function(_0x2ec172,_0x375800){_0x2ec172=_0x2ec172-0x165;let _0x569991=_0x33b009[_0x2ec172];return _0x569991;},_0x2ec1(_0x288f91,_0x5c10df);}function _0x33b0(){const _0x10cd28=['1001670EdgmIQ','isForwardNavigationEnabled','isReady','3605329RvjYDS','131048Gybfdq','420bfeVAP','forward','1840080PdOALG','ck-revision-history-ui','ck-revision-history-ui__changes-navigation__label','11927940qFDVJs','8145sWUkWB','1JZEnsw','backward','setTemplate','set','span','_isStatusLabelVisible','isEnabled','_statusText','NUMBER_OF_CHANGES','div','No\x20changes','isBackwardNavigationEnabled','fire','ck-revision-history-ui__changes-navigation','Total','333KfBWXv','765768KnMZnB','isNavigationMode','ck-revision-history-ui__changes-navigation__wrapper','bindTemplate','ck-revision-history-ui__changes-navigation__navigation','Show\x20previous\x20change','Show\x20next\x20change','currentChangeNumber','EDIT_X_OF_Y_REVISIONS','numberOfChanges','execute','ck-hidden','bind','Loading...','X_OF_Y_CHANGES'];_0x33b0=function(){return _0x10cd28;};return _0x33b0();}import{View as _0x1bb14c,ButtonView as _0x58565d,ToolbarSeparatorView as _0x21727d}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x2a092f,IconChevronDown as _0x18c076}from'ckeditor5/src/icons.js';import{getTranslation as _0x442e9c}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x1bb14c{constructor(_0x28c53e){const _0x483f52=_0x2ec1;super(_0x28c53e);const _0x2828d3=this[_0x483f52(0x173)],_0x3ff242=new _0x58565d(_0x28c53e),_0x18c03d=new _0x58565d(_0x28c53e);this[_0x483f52(0x18e)](_0x483f52(0x171),!0x1),this[_0x483f52(0x18e)](_0x483f52(0x181),!0x1),this[_0x483f52(0x18e)](_0x483f52(0x177),0x0),this[_0x483f52(0x18e)](_0x483f52(0x179),0x0),this[_0x483f52(0x18e)](_0x483f52(0x180),!0x1),this[_0x483f52(0x18e)](_0x483f52(0x16b),!0x1),this[_0x483f52(0x17c)](_0x483f52(0x165))['to'](this,_0x483f52(0x181),this,_0x483f52(0x179),(_0x286633,_0x22e07b)=>_0x286633&&_0x22e07b>0x0),this[_0x483f52(0x17c)](_0x483f52(0x167))['to'](this,_0x483f52(0x181),this,_0x483f52(0x177),this,_0x483f52(0x179),this,_0x483f52(0x171),(_0x33de05,_0xc2795e,_0x23bb3c,_0x360597)=>{const _0x39e92f=_0x483f52;if(!_0x33de05)return _0x442e9c(_0x28c53e,_0x39e92f(0x17d));if(!_0x23bb3c)return _0x442e9c(_0x28c53e,_0x39e92f(0x16a));const _0x59b54e=_0x442e9c(_0x28c53e,_0x39e92f(0x168),_0x23bb3c);return _0x360597?_0x442e9c(_0x28c53e,_0x39e92f(0x17e),[_0xc2795e+0x1,_0x23bb3c]):_0x59b54e;}),_0x3ff242[_0x483f52(0x18e)]({'label':_0x442e9c(_0x28c53e,_0x483f52(0x175)),'tooltip':!0x0,'icon':_0x2a092f}),_0x18c03d[_0x483f52(0x18e)]({'label':_0x442e9c(_0x28c53e,_0x483f52(0x176)),'tooltip':!0x0,'icon':_0x18c076}),_0x3ff242[_0x483f52(0x17c)](_0x483f52(0x166))['to'](this,_0x483f52(0x16b)),_0x18c03d[_0x483f52(0x17c)](_0x483f52(0x166))['to'](this,_0x483f52(0x180)),_0x3ff242['on'](_0x483f52(0x17a),()=>this[_0x483f52(0x16c)](_0x483f52(0x17a),_0x483f52(0x18c))),_0x18c03d['on'](_0x483f52(0x17a),()=>this[_0x483f52(0x16c)](_0x483f52(0x17a),_0x483f52(0x185))),this[_0x483f52(0x18d)]({'tag':_0x483f52(0x169),'attributes':{'class':['ck',_0x483f52(0x187),_0x483f52(0x16d)]},'children':[{'tag':_0x483f52(0x18f),'attributes':{'class':[_0x483f52(0x172)]},'children':[{'tag':_0x483f52(0x18f),'attributes':{'class':[_0x483f52(0x188),_0x2828d3['if'](_0x483f52(0x165),_0x483f52(0x17b),_0x55ab69=>!_0x55ab69)]},'children':[{'text':_0x2828d3['to'](_0x483f52(0x171),_0x5082cb=>_0x5082cb?_0x442e9c(_0x28c53e,_0x483f52(0x178))+':\x20':_0x442e9c(_0x28c53e,_0x483f52(0x16e))+':\x20')}]},{'text':_0x2828d3['to'](_0x483f52(0x167))}]},new _0x21727d(),{'tag':_0x483f52(0x169),'attributes':{'class':[_0x483f52(0x174)]},'children':[_0x3ff242,_0x18c03d]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3049ac=_0x3b13;(function(_0x127db7,_0x32c9bd){const _0x3c03ea=_0x3b13,_0x32964e=_0x127db7();while(!![]){try{const _0x819473=parseInt(_0x3c03ea(0x7b))/0x1*(-parseInt(_0x3c03ea(0x89))/0x2)+parseInt(_0x3c03ea(0x94))/0x3*(-parseInt(_0x3c03ea(0x88))/0x4)+parseInt(_0x3c03ea(0x8f))/0x5+-parseInt(_0x3c03ea(0x7c))/0x6*(-parseInt(_0x3c03ea(0x82))/0x7)+-parseInt(_0x3c03ea(0x8d))/0x8*(parseInt(_0x3c03ea(0x86))/0x9)+parseInt(_0x3c03ea(0x87))/0xa*(parseInt(_0x3c03ea(0x8c))/0xb)+-parseInt(_0x3c03ea(0x92))/0xc*(-parseInt(_0x3c03ea(0x7f))/0xd);if(_0x819473===_0x32c9bd)break;else _0x32964e['push'](_0x32964e['shift']());}catch(_0x1ae692){_0x32964e['push'](_0x32964e['shift']());}}}(_0x4cd9,0xd4738));import{Plugin as _0x475271}from'ckeditor5/src/core.js';const ge=_0x3049ac(0x85);import'../../../theme/revisionviewerloadingoverlay.css';function _0x3b13(_0x235def,_0x27555f){const _0x4cd9d2=_0x4cd9();return _0x3b13=function(_0x3b1379,_0x467abc){_0x3b1379=_0x3b1379-0x79;let _0x55a450=_0x4cd9d2[_0x3b1379];return _0x55a450;},_0x3b13(_0x235def,_0x27555f);}function _0x4cd9(){const _0x842e37=['document','editor','7wDKNmp','pluginName','hide','ck-editor__editable__loading-overlay','37161NZJLjk','20fDWfzM','68xAaspd','2AiURMC','addClass','isPremiumPlugin','5541217tmJrYi','2488KyEZJc','view','7480355EaBIbP','RevisionViewerLoadingOverlay','roots','21926316qVxQaf','removeClass','253749FHvIfo','change','show','1599649sddPoZ','5166726tbKqrq','isOfficialPlugin','editing','13BDgCUY'];_0x4cd9=function(){return _0x842e37;};return _0x4cd9();}export class RevisionViewerLoadingOverlay extends _0x475271{static get[_0x3049ac(0x83)](){const _0x5f3684=_0x3049ac;return _0x5f3684(0x90);}static get[_0x3049ac(0x7d)](){return!0x0;}static get[_0x3049ac(0x8b)](){return!0x0;}[_0x3049ac(0x7a)](){const _0x45b6f3=_0x3049ac,_0x1a8de5=this[_0x45b6f3(0x81)][_0x45b6f3(0x7e)][_0x45b6f3(0x8e)];_0x1a8de5[_0x45b6f3(0x79)](_0x1f6a73=>{const _0x13b6a5=_0x45b6f3;for(const _0x2ee679 of _0x1a8de5[_0x13b6a5(0x80)][_0x13b6a5(0x91)])_0x1f6a73[_0x13b6a5(0x8a)](ge,_0x2ee679);});}[_0x3049ac(0x84)](){const _0x2b4248=_0x3049ac,_0x249670=this[_0x2b4248(0x81)][_0x2b4248(0x7e)][_0x2b4248(0x8e)];_0x249670[_0x2b4248(0x79)](_0x180fe4=>{const _0x21aa2b=_0x2b4248;for(const _0x2ae9fc of _0x249670[_0x21aa2b(0x80)][_0x21aa2b(0x91)])_0x180fe4[_0x21aa2b(0x93)](ge,_0x2ae9fc);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x317a24=_0x5488;(function(_0x4ed574,_0x48e770){const _0x247683=_0x5488,_0x34b196=_0x4ed574();while(!![]){try{const _0x561634=-parseInt(_0x247683(0x14c))/0x1+-parseInt(_0x247683(0x15c))/0x2*(-parseInt(_0x247683(0x133))/0x3)+parseInt(_0x247683(0x151))/0x4+-parseInt(_0x247683(0x15d))/0x5*(-parseInt(_0x247683(0x155))/0x6)+-parseInt(_0x247683(0x154))/0x7*(parseInt(_0x247683(0x132))/0x8)+-parseInt(_0x247683(0x13f))/0x9+parseInt(_0x247683(0x134))/0xa*(-parseInt(_0x247683(0x131))/0xb);if(_0x561634===_0x48e770)break;else _0x34b196['push'](_0x34b196['shift']());}catch(_0x146b2a){_0x34b196['push'](_0x34b196['shift']());}}}(_0x8c1c,0xc7619));import{Plugin as _0x43eaf7}from'ckeditor5/src/core.js';function _0x8c1c(){const _0x2ea743=['plugins','isPremiumPlugin','isNavigationMode','73923zAhybc','numberOfChanges','set','hide','get','566396xneXvY','add','revisionHistory','7CbCVRD','173028pzmpFz','editor','isReady','isEnabled','isBackwardNavigationEnabled','commands','forward','2bslsLF','275nErDwy','Back\x20to\x20editing','bind','componentFactory','execute','11oeJDJg','2709488KihJgX','3957405xINqcO','2363170SNLcGy','currentChangeNumber','showNextChange','isOfficialPlugin','change:isReady','closeRevisionViewerCallback','pluginName','requires','showPreviousChange','RevisionViewerUI','show','14231097hRlGoI','Restore\x20this\x20revision','exitToEditing','ck-revision-history-ui__back-to-editing','listenTo','restoreRevision','config','init','changesNavigation','isForwardNavigationEnabled'];_0x8c1c=function(){return _0x2ea743;};return _0x8c1c();}import{ButtonView as _0x30177d}from'ckeditor5/src/ui.js';import{IconUndo as _0x22cd0c}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x51809e}from'./changesnavigationview.js';import{RevisionViewer as _0x45f820}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x5710ab}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0xeec7e2}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0x5488(_0x71fc80,_0x477f99){const _0x8c1c73=_0x8c1c();return _0x5488=function(_0x5488bc,_0x404cdb){_0x5488bc=_0x5488bc-0x130;let _0x5bd91a=_0x8c1c73[_0x5488bc];return _0x5bd91a;},_0x5488(_0x71fc80,_0x477f99);}export class RevisionViewerUI extends _0x43eaf7{static get[_0x317a24(0x13a)](){const _0x2e0176=_0x317a24;return _0x2e0176(0x13d);}static get[_0x317a24(0x137)](){return!0x0;}static get[_0x317a24(0x14a)](){return!0x0;}static get[_0x317a24(0x13b)](){return[_0x45f820,_0x5710ab];}[_0x317a24(0x146)](){const _0x95386d=_0x317a24,_0x30346c=this[_0x95386d(0x156)],_0x172479=_0x30346c[_0x95386d(0x149)][_0x95386d(0x150)](_0x45f820),_0x2479d3=_0x30346c[_0x95386d(0x149)][_0x95386d(0x150)](_0x5710ab);_0x30346c['ui'][_0x95386d(0x160)][_0x95386d(0x152)](_0x95386d(0x141),_0x7c23c1=>{const _0x41d617=_0x95386d,_0x5d3bf7=new _0x30177d(_0x7c23c1);return _0x5d3bf7[_0x41d617(0x14e)]({'label':_0xeec7e2(_0x7c23c1,_0x41d617(0x15e)),'icon':_0x22cd0c,'withText':!0x0,'tooltip':!0x0,'class':_0x41d617(0x142)}),this[_0x41d617(0x143)](_0x5d3bf7,_0x41d617(0x130),()=>{const _0x40d5fa=_0x41d617;_0x30346c[_0x40d5fa(0x145)][_0x40d5fa(0x150)](_0x40d5fa(0x153))[_0x40d5fa(0x139)]();}),_0x5d3bf7;}),_0x30346c['ui'][_0x95386d(0x160)][_0x95386d(0x152)](_0x95386d(0x144),_0x1c158d=>{const _0x595e7c=_0x95386d,_0x40e53b=new _0x30177d(_0x1c158d);return _0x40e53b[_0x595e7c(0x14e)]({'label':_0xeec7e2(_0x1c158d,_0x595e7c(0x140)),'withText':!0x0,'tooltip':!0x0}),_0x40e53b[_0x595e7c(0x15f)](_0x595e7c(0x158))['to'](_0x30346c[_0x595e7c(0x15a)][_0x595e7c(0x150)](_0x595e7c(0x144))),this[_0x595e7c(0x143)](_0x40e53b,_0x595e7c(0x130),()=>_0x30346c[_0x595e7c(0x130)](_0x595e7c(0x144))),_0x40e53b;}),_0x30346c['ui'][_0x95386d(0x160)][_0x95386d(0x152)](_0x95386d(0x147),_0x4056b8=>{const _0x18cf32=_0x95386d,_0x61f748=new _0x51809e(_0x4056b8),_0x1a8966=_0x30346c[_0x18cf32(0x15a)][_0x18cf32(0x150)](_0x18cf32(0x13c)),_0x4ee683=_0x30346c[_0x18cf32(0x15a)][_0x18cf32(0x150)](_0x18cf32(0x136));return _0x61f748[_0x18cf32(0x15f)](_0x18cf32(0x159))['to'](_0x1a8966,_0x18cf32(0x158)),_0x61f748[_0x18cf32(0x15f)](_0x18cf32(0x148))['to'](_0x4ee683,_0x18cf32(0x158)),_0x61f748[_0x18cf32(0x15f)](_0x18cf32(0x157),_0x18cf32(0x135),_0x18cf32(0x14d),_0x18cf32(0x14b))['to'](_0x172479),this[_0x18cf32(0x143)](_0x61f748,_0x18cf32(0x130),(_0x38a1e3,_0x59138d)=>{const _0x3b61d2=_0x18cf32;_0x30346c[_0x3b61d2(0x130)](_0x3b61d2(0x15b)===_0x59138d?_0x3b61d2(0x136):_0x3b61d2(0x13c));}),_0x61f748;}),_0x2479d3[_0x95386d(0x13e)](),_0x172479['on'](_0x95386d(0x138),(_0x3a37d5,_0x2b015e,_0x9cd764)=>{const _0x1b18c7=_0x95386d;_0x9cd764?_0x2479d3[_0x1b18c7(0x14f)]():_0x2479d3[_0x1b18c7(0x13e)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x468d62,_0x30fa0b,_0x57d70f){const t=_0x468d62['t'];switch(_0x30fa0b){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'},_0x57d70f);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x57d70f);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'';}}
|