@ckeditor/ckeditor5-revision-history 47.0.0 → 47.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
-
|
|
24
|
-
|
|
23
|
+
const _0x514209=_0x32ac;(function(_0x35f821,_0x49fd32){const _0x475f43=_0x32ac,_0xba1496=_0x35f821();while(!![]){try{const _0x133476=parseInt(_0x475f43(0x80))/0x1+parseInt(_0x475f43(0x8e))/0x2+parseInt(_0x475f43(0x77))/0x3*(parseInt(_0x475f43(0x73))/0x4)+parseInt(_0x475f43(0x8a))/0x5*(-parseInt(_0x475f43(0x87))/0x6)+-parseInt(_0x475f43(0x79))/0x7*(-parseInt(_0x475f43(0x82))/0x8)+parseInt(_0x475f43(0x7d))/0x9*(parseInt(_0x475f43(0x76))/0xa)+-parseInt(_0x475f43(0x89))/0xb;if(_0x133476===_0x49fd32)break;else _0xba1496['push'](_0xba1496['shift']());}catch(_0x3e5622){_0xba1496['push'](_0xba1496['shift']());}}}(_0x2868,0x22f40));import{CssTransitionDisablerMixin as _0x10bd5b,LabeledFieldView as _0x469409,View as _0x33544f,createLabeledInputText as _0x18156b,submitHandler as _0x494079}from'ckeditor5/src/ui.js';import{FocusTracker as _0x59ae89,KeystrokeHandler as _0x51a1dc}from'ckeditor5/src/utils.js';function _0x32ac(_0x2f16f7,_0x44dfea){const _0x286874=_0x2868();return _0x32ac=function(_0x32acad,_0x43f961){_0x32acad=_0x32acad-0x67;let _0x3b398c=_0x286874[_0x32acad];return _0x3b398c;},_0x32ac(_0x2f16f7,_0x44dfea);}function _0x2868(){const _0x112160=['locale','8YwRUct','ck-responsive-form','arrowright','value','Name\x20of\x20the\x20revision','4866GFKrCy','ck-revision-history-save-revision-form','2960628pKlFQH','190tuLEeR','stopPropagation','revisionNameInputValue','initializeCssTransitionDisablerMixin','366348pQghgl','_createRevisionNameInput','arrowup','fieldView','listenTo','form','arrowdown','focus','focusTracker','arrowleft','trim','keystrokes','element','errorText','render','revisionNameInputView','set','revisionName','11708KZhpNh','input','label','10KiKcOi','57JXablu','setTemplate','899423AFQXQV','add','reset','extendTemplate','180171aGDwIL','220','optional','55839wNaXKZ'];_0x2868=function(){return _0x112160;};return _0x2868();}import{getTranslation as _0x36adfa}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
|
+
_0x10bd5b(_0x33544f){[_0x514209(0x69)];[_0x514209(0x6c)];[_0x514209(0x70)];constructor(_0x3b1f18,_0x4f1a50){const _0x5b32b0=_0x514209;super(_0x3b1f18),this[_0x5b32b0(0x69)]=new _0x59ae89(),this[_0x5b32b0(0x6c)]=new _0x51a1dc(),this[_0x5b32b0(0x71)](_0x5b32b0(0x8c),''),this[_0x5b32b0(0x70)]=this[_0x5b32b0(0x8f)](_0x4f1a50),this[_0x5b32b0(0x78)]({'tag':_0x5b32b0(0x93),'attributes':{'class':['ck',_0x5b32b0(0x88),_0x5b32b0(0x83)],'tabindex':'-1'},'children':[this[_0x5b32b0(0x70)]]}),this[_0x5b32b0(0x8d)]();}[_0x514209(0x6f)](){const _0x5a60c7=_0x514209;super[_0x5a60c7(0x6f)](),_0x494079({'view':this}),this[_0x5a60c7(0x69)][_0x5a60c7(0x7a)](this[_0x5a60c7(0x70)][_0x5a60c7(0x6d)]),this[_0x5a60c7(0x6c)][_0x5a60c7(0x92)](this[_0x5a60c7(0x6d)]);const _0x25e6d2=_0x2e1453=>_0x2e1453[_0x5a60c7(0x8b)]();this[_0x5a60c7(0x6c)][_0x5a60c7(0x71)](_0x5a60c7(0x84),_0x25e6d2),this[_0x5a60c7(0x6c)][_0x5a60c7(0x71)](_0x5a60c7(0x6a),_0x25e6d2),this[_0x5a60c7(0x6c)][_0x5a60c7(0x71)](_0x5a60c7(0x90),_0x25e6d2),this[_0x5a60c7(0x6c)][_0x5a60c7(0x71)](_0x5a60c7(0x67),_0x25e6d2);}[_0x514209(0x68)](){const _0x3c8cf1=_0x514209;this[_0x3c8cf1(0x70)][_0x3c8cf1(0x68)]();}get[_0x514209(0x72)](){const _0x27f95f=_0x514209;return this[_0x27f95f(0x70)][_0x27f95f(0x91)][_0x27f95f(0x6d)][_0x27f95f(0x85)][_0x27f95f(0x6b)]();}set[_0x514209(0x72)](_0x23b252){const _0x288bba=_0x514209;this[_0x288bba(0x70)][_0x288bba(0x91)][_0x288bba(0x6d)][_0x288bba(0x85)]=_0x23b252[_0x288bba(0x6b)]();}[_0x514209(0x7b)](){const _0x5dbfa9=_0x514209;this[_0x5dbfa9(0x70)][_0x5dbfa9(0x91)][_0x5dbfa9(0x6d)][_0x5dbfa9(0x85)]='',this[_0x5dbfa9(0x70)][_0x5dbfa9(0x6e)]=null;}[_0x514209(0x8f)](_0x8696c9){const _0x5c7cb7=_0x514209,_0x2612cf=new _0x469409(this[_0x5c7cb7(0x81)],_0x18156b),_0x30df1a=_0x2612cf[_0x5c7cb7(0x91)];_0x30df1a[_0x5c7cb7(0x7c)]({'attributes':{'maxlength':_0x5c7cb7(0x7e)}});let _0x513940=_0x36adfa(this[_0x5c7cb7(0x81)],_0x5c7cb7(0x86));return!_0x8696c9&&(_0x513940+='\x20('+_0x36adfa(this[_0x5c7cb7(0x81)],_0x5c7cb7(0x7f))+')'),(_0x2612cf[_0x5c7cb7(0x75)]=_0x513940,_0x30df1a['on'](_0x5c7cb7(0x74),()=>{const _0x42a984=_0x5c7cb7;this[_0x42a984(0x8c)]=_0x30df1a[_0x42a984(0x6d)][_0x42a984(0x85)][_0x42a984(0x6b)]();}),_0x2612cf);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x15c62e=_0x182b;(function(_0x20adcb,_0x4357a5){const _0x1ac3c8=_0x182b,_0x11ad53=_0x20adcb();while(!![]){try{const _0x4e4be1=parseInt(_0x1ac3c8(0x1cf))/0x1*(parseInt(_0x1ac3c8(0x1a9))/0x2)+-parseInt(_0x1ac3c8(0x1b4))/0x3*(parseInt(_0x1ac3c8(0x1c7))/0x4)+-parseInt(_0x1ac3c8(0x1c4))/0x5+-parseInt(_0x1ac3c8(0x1a1))/0x6+parseInt(_0x1ac3c8(0x190))/0x7+parseInt(_0x1ac3c8(0x1bf))/0x8*(-parseInt(_0x1ac3c8(0x1a4))/0x9)+parseInt(_0x1ac3c8(0x1b5))/0xa;if(_0x4e4be1===_0x4357a5)break;else _0x11ad53['push'](_0x11ad53['shift']());}catch(_0x25e284){_0x11ad53['push'](_0x11ad53['shift']());}}}(_0x507a,0x55db5));function _0x507a(){const _0x291765=['7032880OxmwbF','editor','editing','items','delegate','errorText','Dialog','isEnabled','execute','reset','4488GDKwKL','set','get','bind','RevisionTracker','293155Tcddkc','_showDialog','componentFactory','547196UBkPxm','isOpen','plugins','menuBar:revisionHistory','revisionName','isReadOnly','isPremiumPlugin','requires','1EFrJCn','Revision\x20history','isReady','RevisionHistoryUI','Open\x20revision\x20history','addMany','3448690NUWqaw','isOfficialPlugin','_createSaveRevisionFormView','config','Cancel','locale','saveRevision','submit','view','hide','show','render','revisionNameInputView','The\x20revision\x20name\x20cannot\x20be\x20empty.','ck-button-action','revisionSave','role','913098LIUIBs','panelView','_registerMenuComponent','5643EbTHXY','menuitem','menu','revisionHistory','_saveRevisionFormView','257338PscooK','focus','revisionHistory.requireRevisionName','pluginName','Accept','buttonView','children','add','init','showRevisionViewerCallback','Save\x20current\x20revision','9gvCQdD'];_0x507a=function(){return _0x291765;};return _0x507a();}import{Plugin as _0x40659d}from'ckeditor5/src/core.js';import{IconHistory as _0x11d444}from'ckeditor5/src/icons.js';import{createDropdown as _0x2a5ae5,ButtonView as _0x25c194,ListItemView as _0x3805ad,ListView as _0x39687b,MenuBarMenuListItemButtonView as _0x437df5,MenuBarMenuListItemView as _0x8ce916,MenuBarMenuListView as _0x418dc0,MenuBarMenuView as _0x476b77}from'ckeditor5/src/ui.js';import{RevisionTracker as _0x78ad8e}from'../../revisiontracker.js';function _0x182b(_0x1d71a3,_0x2c2c40){const _0x507aa6=_0x507a();return _0x182b=function(_0x182b52,_0x3408b2){_0x182b52=_0x182b52-0x18d;let _0x1b67c1=_0x507aa6[_0x182b52];return _0x1b67c1;},_0x182b(_0x1d71a3,_0x2c2c40);}import{RevisionHistorySaveRevisionFormView as _0x48ec61}from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x3bfe44}from'../../utils/common-translations.js';export class RevisionHistoryUI extends _0x40659d{static get[_0x15c62e(0x1ac)](){const _0x2c1d23=_0x15c62e;return _0x2c1d23(0x18d);}static get[_0x15c62e(0x191)](){return!0x0;}static get[_0x15c62e(0x1cd)](){return!0x0;}static get[_0x15c62e(0x1ce)](){return[_0x78ad8e];}[_0x15c62e(0x1a8)];[_0x15c62e(0x1b1)](){const _0x3a15db=_0x15c62e,_0x3f4953=this[_0x3a15db(0x1b6)],_0x15c271=_0x3f4953[_0x3a15db(0x1c9)][_0x3a15db(0x1c1)](_0x3a15db(0x1c3));_0x3f4953['ui'][_0x3a15db(0x1c6)][_0x3a15db(0x1b0)](_0x3a15db(0x1a7),_0x2a35e4=>{const _0x2e9bad=_0x3a15db,_0x3f2ad8=_0x2a5ae5(_0x2a35e4),_0x3e25b1=_0x3f2ad8[_0x2e9bad(0x1a2)][_0x2e9bad(0x1af)],_0x1ce57f=new _0x39687b(_0x2a35e4),_0x1c52e3=new _0x3805ad(_0x2a35e4),_0x290713=new _0x25c194(_0x2a35e4),_0x2cb805=new _0x3805ad(_0x2a35e4),_0x57d1e4=new _0x25c194(_0x2a35e4);return _0x3f2ad8[_0x2e9bad(0x1c2)](_0x2e9bad(0x1bc))['to'](_0x15c271,_0x2e9bad(0x1d1),_0x15c271,_0x2e9bad(0x1bc),_0x3f4953,_0x2e9bad(0x1cc),(_0x4f77ff,_0x3d27ee,_0x458701)=>_0x4f77ff&&_0x3d27ee&&!_0x458701),_0x3f2ad8[_0x2e9bad(0x1ae)][_0x2e9bad(0x1c0)]({'icon':_0x11d444,'label':_0x3bfe44(_0x2a35e4,_0x2e9bad(0x1d0)),'tooltip':!0x0}),_0x290713[_0x2e9bad(0x1c0)]({'label':_0x3bfe44(_0x2a35e4,_0x2e9bad(0x1b3)),'withText':!0x0,'role':_0x2e9bad(0x1a5)}),_0x290713[_0x2e9bad(0x1c2)](_0x2e9bad(0x1bc))['to'](_0x15c271,_0x2e9bad(0x1d1),_0x15c271,_0x2e9bad(0x1bc),_0x3f4953,_0x2e9bad(0x1cc),(_0x3f238a,_0x979f2a,_0x2133f8)=>_0x3f238a&&_0x979f2a&&!_0x2133f8),_0x290713['on'](_0x2e9bad(0x1bd),()=>this[_0x2e9bad(0x1c5)]()),_0x57d1e4[_0x2e9bad(0x1c0)]({'label':_0x3bfe44(_0x2a35e4,_0x2e9bad(0x18e)),'withText':!0x0,'role':_0x2e9bad(0x1a5)}),_0x57d1e4[_0x2e9bad(0x1c2)](_0x2e9bad(0x1bc))['to'](_0x15c271,_0x2e9bad(0x1d1),_0x3f4953,_0x2e9bad(0x1cc),(_0x6f7bab,_0x55eb1d)=>_0x6f7bab&&!_0x55eb1d),_0x57d1e4['on'](_0x2e9bad(0x1bd),()=>{const _0x481ea4=_0x2e9bad;_0x3f4953[_0x481ea4(0x193)][_0x481ea4(0x1c1)](_0x481ea4(0x1a7))[_0x481ea4(0x1b2)](),_0x3f2ad8[_0x481ea4(0x1c8)]=!0x1,_0x3f4953[_0x481ea4(0x1b7)][_0x481ea4(0x198)][_0x481ea4(0x1aa)]();}),_0x1c52e3[_0x2e9bad(0x1af)][_0x2e9bad(0x1b0)](_0x290713),_0x2cb805[_0x2e9bad(0x1af)][_0x2e9bad(0x1b0)](_0x57d1e4),_0x1ce57f[_0x2e9bad(0x1a0)]=_0x2e9bad(0x1a6),_0x1ce57f[_0x2e9bad(0x1b8)][_0x2e9bad(0x18f)]([_0x1c52e3,_0x2cb805]),_0x3e25b1[_0x2e9bad(0x1b0)](_0x1ce57f),_0x3f2ad8;}),_0x3f4953['ui'][_0x3a15db(0x1c6)][_0x3a15db(0x1b0)](_0x3a15db(0x1ca),()=>this[_0x3a15db(0x1a3)]());}[_0x15c62e(0x1a3)](){const _0x42f240=_0x15c62e,_0x40fa54=this[_0x42f240(0x1b6)],_0x200a65=_0x40fa54[_0x42f240(0x195)],_0x1b5b04=new _0x476b77(_0x200a65),_0x2e2dd4=new _0x418dc0(_0x200a65);_0x1b5b04[_0x42f240(0x1ae)][_0x42f240(0x1c0)]({'icon':_0x11d444,'label':_0x3bfe44(_0x200a65,_0x42f240(0x1d0))});const _0x1f9791=new _0x8ce916(_0x200a65,_0x1b5b04),_0x223e36=new _0x437df5(_0x200a65);_0x223e36[_0x42f240(0x1c0)]({'label':_0x3bfe44(_0x200a65,_0x42f240(0x1b3))}),_0x223e36[_0x42f240(0x1b9)](_0x42f240(0x1bd))['to'](_0x1b5b04),_0x223e36['on'](_0x42f240(0x1bd),()=>{const _0x360344=_0x42f240;this[_0x360344(0x1c5)]();}),_0x1f9791[_0x42f240(0x1af)][_0x42f240(0x1b0)](_0x223e36),_0x2e2dd4[_0x42f240(0x1b8)][_0x42f240(0x1b0)](_0x1f9791);const _0x15af1a=new _0x8ce916(_0x200a65,_0x1b5b04),_0xc28edd=new _0x437df5(_0x200a65);return _0xc28edd[_0x42f240(0x1c0)]({'label':_0x3bfe44(_0x200a65,_0x42f240(0x18e))}),_0xc28edd[_0x42f240(0x1b9)](_0x42f240(0x1bd))['to'](_0x1b5b04),_0xc28edd['on'](_0x42f240(0x1bd),()=>{const _0x4b7d0a=_0x42f240;_0x40fa54[_0x4b7d0a(0x193)][_0x4b7d0a(0x1c1)](_0x4b7d0a(0x1a7))[_0x4b7d0a(0x1b2)]();}),_0x15af1a[_0x42f240(0x1af)][_0x42f240(0x1b0)](_0xc28edd),_0x2e2dd4[_0x42f240(0x1b8)][_0x42f240(0x1b0)](_0x15af1a),_0x1b5b04[_0x42f240(0x1a2)][_0x42f240(0x1af)][_0x42f240(0x1b0)](_0x2e2dd4),_0x1b5b04;}[_0x15c62e(0x1c5)](){const _0x80d870=_0x15c62e,_0x5196f5=this[_0x80d870(0x1b6)],_0x2ebb95=_0x5196f5[_0x80d870(0x195)],_0x20fd28=_0x5196f5[_0x80d870(0x1c9)][_0x80d870(0x1c1)](_0x80d870(0x1bb)),_0x39375c=_0x5196f5[_0x80d870(0x1c9)][_0x80d870(0x1c1)](_0x80d870(0x1c3));function _0x161f54(_0x5e1a18){const _0x21b6ae=_0x80d870;_0x5196f5[_0x21b6ae(0x193)][_0x21b6ae(0x1c1)](_0x21b6ae(0x1ab))&&''===_0x5e1a18[_0x21b6ae(0x1cb)]?_0x5e1a18[_0x21b6ae(0x19c)][_0x21b6ae(0x1ba)]=_0x3bfe44(_0x2ebb95,_0x21b6ae(0x19d)):(_0x5196f5[_0x21b6ae(0x1c9)][_0x21b6ae(0x1c1)](_0x78ad8e)[_0x21b6ae(0x196)]({'name':_0x5e1a18[_0x21b6ae(0x1cb)]}),_0x20fd28[_0x21b6ae(0x199)]());}this[_0x80d870(0x1a8)]||(this[_0x80d870(0x192)](),this[_0x80d870(0x1a8)]['on'](_0x80d870(0x197),()=>_0x161f54(this[_0x80d870(0x1a8)]))),this[_0x80d870(0x1a8)][_0x80d870(0x1be)](),_0x20fd28[_0x80d870(0x19a)]({'id':_0x80d870(0x19f),'title':_0x3bfe44(_0x2ebb95,_0x80d870(0x1b3)),'isModal':!0x0,'content':this[_0x80d870(0x1a8)],'actionButtons':[{'label':_0x3bfe44(_0x5196f5[_0x80d870(0x195)],_0x80d870(0x194)),'withText':!0x0,'onExecute':()=>_0x20fd28[_0x80d870(0x199)]()},{'label':_0x3bfe44(_0x5196f5[_0x80d870(0x195)],_0x80d870(0x1ad)),'class':_0x80d870(0x19e),'withText':!0x0,'onCreate'(_0x461f98){const _0x23f00d=_0x80d870;_0x461f98[_0x23f00d(0x1c2)](_0x23f00d(0x1bc))['to'](_0x39375c,_0x23f00d(0x1d1),_0x39375c,_0x23f00d(0x1bc),_0x5196f5,_0x23f00d(0x1cc),(_0x14af25,_0x42f3bb,_0x280f9c)=>_0x14af25&&_0x42f3bb&&!_0x280f9c);},'onExecute':()=>_0x161f54(this[_0x80d870(0x1a8)])}]});}[_0x15c62e(0x192)](){const _0x444b06=_0x15c62e,_0x2df050=this[_0x444b06(0x1b6)],_0x51129b=_0x2df050[_0x444b06(0x195)];this[_0x444b06(0x1a8)]=new _0x48ec61(_0x51129b,_0x2df050[_0x444b06(0x193)][_0x444b06(0x1c1)](_0x444b06(0x1ab))),this[_0x444b06(0x1a8)][_0x444b06(0x19b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1a68(){const _0x430671=['revisionHistory.revisionActions','isVisible','_handleEditorDataReady','render','_revisionsRepository','timePeriodViews','pluginName','getRevision','change:diff','action','locale','nameRevision','isSelected','Name\x20this\x20revision','requires','2976680EPChdO','_handleRevisionSelected','revisionSetName','Restore\x20this\x20revision','init','_createRevisionActions','string','660160SRKaZh','revisionSelected','_handleRevisionSetName','availableRevisionActions','highlightRevisions','_sidebarView','ready','isOfficialPlugin','config','8hYCsAP','newRevisionId','focus','_handleDiffChange','revisionHistory.requireRevisionName','get','getEarlierVisibleRevision','assign','200398TAerAx','destroy','_revisions','name','5462zNcbjS','diff','83LhdODn','getIndex','isReady','4918270egIlyE','map','compare','length','bind','listenTo','2946797rZkIbD','isEnabled','restoreRevisionCallback','element','restoreRevision','data','135VgvdsA','getLaterVisibleRevision','1788iPItqJ','revisionHistory.viewerSidebarContainer','1560135ThroYX','getRevisionsInDiff','Compare\x20against\x20selected','setName','remove','editor','6vTfCHL','add','appendChild','repository','RevisionsSidebar','compareAgainstSelected','fieldView','revisionHistory','select','isPremiumPlugin','plugins','_revisionViewer','revisionViews','defaultRevisionActions','selectRevision'];_0x1a68=function(){return _0x430671;};return _0x1a68();}const _0x48ce2a=_0x2294;(function(_0x4623ae,_0x5ea145){const _0x1f0a2a=_0x2294,_0xec2e69=_0x4623ae();while(!![]){try{const _0x21432f=-parseInt(_0x1f0a2a(0x1ac))/0x1*(parseInt(_0x1f0a2a(0x1aa))/0x2)+parseInt(_0x1f0a2a(0x1bf))/0x3*(-parseInt(_0x1f0a2a(0x19e))/0x4)+parseInt(_0x1f0a2a(0x1af))/0x5+parseInt(_0x1f0a2a(0x1c5))/0x6*(-parseInt(_0x1f0a2a(0x1b5))/0x7)+-parseInt(_0x1f0a2a(0x1e3))/0x8+parseInt(_0x1f0a2a(0x1bb))/0x9*(-parseInt(_0x1f0a2a(0x195))/0xa)+-parseInt(_0x1f0a2a(0x1a6))/0xb*(-parseInt(_0x1f0a2a(0x1bd))/0xc);if(_0x21432f===_0x5ea145)break;else _0xec2e69['push'](_0xec2e69['shift']());}catch(_0x5bf34b){_0xec2e69['push'](_0xec2e69['shift']());}}}(_0x1a68,0x9e38d));import{Plugin as _0x13d8b5}from'ckeditor5/src/core.js';import{RevisionsSidebarView as _0x1a8eef}from'./revisionssidebarview.js';import{RevisionViewer as _0x230e72}from'../../revisionviewer.js';function _0x2294(_0x26e8c6,_0x19af4e){const _0x1a68ed=_0x1a68();return _0x2294=function(_0x22947e,_0x3d96a5){_0x22947e=_0x22947e-0x192;let _0x5b3ca3=_0x1a68ed[_0x22947e];return _0x5b3ca3;},_0x2294(_0x26e8c6,_0x19af4e);}export class RevisionsSidebar extends _0x13d8b5{[_0x48ce2a(0x1d0)];[_0x48ce2a(0x1d8)];[_0x48ce2a(0x19a)];static [_0x48ce2a(0x1d2)]=[_0x48ce2a(0x1ca),_0x48ce2a(0x1b9),_0x48ce2a(0x1df)];static [_0x48ce2a(0x198)]=(function(){const _0x5405ab=_0x48ce2a;return{'compareAgainstSelected':{'name':_0x5405ab(0x1c1),'action':({plugins:i},s)=>{const _0x1e5363=_0x5405ab,e=i[_0x1e5363(0x1a3)](_0x230e72),n=e[_0x1e5363(0x1c8)];let r=e[_0x1e5363(0x1ab)][_0x1e5363(0x19f)],o=s['id'];n[_0x1e5363(0x1ad)](r)>n[_0x1e5363(0x1ad)](o)&&([r,o]=[o,r]),e[_0x1e5363(0x1b1)](r,o);},'isVisible':({plugins:i},s)=>{const _0x165543=_0x5405ab,e=i[_0x165543(0x1a3)](_0x230e72);return!(e[_0x165543(0x1c8)][_0x165543(0x1c0)](e[_0x165543(0x1ab)])[_0x165543(0x1b2)]>0x2)&&!s[_0x165543(0x1e0)];}},'restoreRevision':{'name':_0x5405ab(0x1e6),'action':(i,{id:s})=>{const _0x107cef=_0x5405ab;i[_0x107cef(0x19d)][_0x107cef(0x1a3)](_0x107cef(0x1cc))[_0x107cef(0x1b7)](s);},'isVisible':({plugins:i},s)=>!!i[_0x5405ab(0x1a3)](_0x230e72)[_0x5405ab(0x1c8)][_0x5405ab(0x1bc)](s['id'])},'nameRevision':{'name':_0x5405ab(0x1e1),'action':({plugins:i},{id:s,revisionNameView:e})=>{const _0xeda7cb=_0x5405ab,n=i[_0xeda7cb(0x1a3)](_0x230e72),r=n[_0xeda7cb(0x1c8)][_0xeda7cb(0x1a4)](s);n[_0xeda7cb(0x1b1)](s,r),e[_0xeda7cb(0x1a0)](),e[_0xeda7cb(0x1cb)][_0xeda7cb(0x1cd)]();}}};}());static get[_0x48ce2a(0x1da)](){const _0x4eea49=_0x48ce2a;return _0x4eea49(0x1c9);}static get[_0x48ce2a(0x19c)](){return!0x0;}static get[_0x48ce2a(0x1ce)](){return!0x0;}static get[_0x48ce2a(0x1e2)](){return[_0x230e72];}constructor(_0xaba271){const _0x2b9241=_0x48ce2a;super(_0xaba271),this[_0x2b9241(0x1d0)]=_0xaba271[_0x2b9241(0x1cf)][_0x2b9241(0x1a3)](_0x230e72),this[_0x2b9241(0x1d8)]=this[_0x2b9241(0x1d0)][_0x2b9241(0x1c8)],this[_0x2b9241(0x19a)]=null;}[_0x48ce2a(0x192)](){const _0x5709b5=_0x48ce2a,_0x274c5f=this[_0x5709b5(0x1d8)][_0x5709b5(0x1a8)],_0x23015a=this[_0x5709b5(0x193)](),_0xa3a09d=this[_0x5709b5(0x1c4)][_0x5709b5(0x19d)][_0x5709b5(0x1a3)](_0x5709b5(0x1be));this[_0x5709b5(0x19a)]=new _0x1a8eef(this[_0x5709b5(0x1c4)][_0x5709b5(0x1de)],_0x274c5f,_0x23015a,this[_0x5709b5(0x1c4)][_0x5709b5(0x19d)][_0x5709b5(0x1a3)](_0x5709b5(0x1a2))),this[_0x5709b5(0x19a)]['on'](_0x5709b5(0x196),this[_0x5709b5(0x1e4)][_0x5709b5(0x1b3)](this)),this[_0x5709b5(0x19a)]['on'](_0x5709b5(0x1e5),this[_0x5709b5(0x197)][_0x5709b5(0x1b3)](this)),this[_0x5709b5(0x19a)][_0x5709b5(0x1b3)](_0x5709b5(0x1b6))['to'](this[_0x5709b5(0x1d0)]),this[_0x5709b5(0x19a)][_0x5709b5(0x1d9)]['on'](_0x5709b5(0x1c6),(_0x2c12e8,_0x57f4ce)=>{const _0x3e4138=_0x5709b5;_0x57f4ce[_0x3e4138(0x1d1)]['on'](_0x3e4138(0x1c6),(_0x5db0bb,_0x42a583)=>{const _0x591c2e=_0x3e4138;_0x42a583[_0x591c2e(0x1b3)](_0x591c2e(0x1b6),_0x591c2e(0x1ae))['to'](this[_0x591c2e(0x1d0)]);});}),this[_0x5709b5(0x19a)][_0x5709b5(0x1d7)](),this[_0x5709b5(0x1b4)](this[_0x5709b5(0x1c4)][_0x5709b5(0x1ba)],_0x5709b5(0x19b),this[_0x5709b5(0x1d6)][_0x5709b5(0x1b3)](this)),this[_0x5709b5(0x1b4)](this[_0x5709b5(0x1d0)],_0x5709b5(0x1dc),this[_0x5709b5(0x1a1)][_0x5709b5(0x1b3)](this)),_0xa3a09d[_0x5709b5(0x1c7)](this[_0x5709b5(0x19a)][_0x5709b5(0x1b8)]);}[_0x48ce2a(0x1a7)](){const _0x439e49=_0x48ce2a;this[_0x439e49(0x19a)][_0x439e49(0x1b8)][_0x439e49(0x1c3)](),this[_0x439e49(0x19a)][_0x439e49(0x1a7)]();}[_0x48ce2a(0x1d6)](){const _0x5bc27e=_0x48ce2a,_0x3f527c=this[_0x5bc27e(0x1d8)][_0x5bc27e(0x1db)](0x0);if(_0x3f527c){const _0x4ddb20=this[_0x5bc27e(0x1d8)][_0x5bc27e(0x1a4)](_0x3f527c['id']);this[_0x5bc27e(0x1d0)][_0x5bc27e(0x1b1)](_0x3f527c,_0x4ddb20);}}[_0x48ce2a(0x1e4)](_0x592d1b,_0x2b8065){const _0x39c67b=_0x48ce2a,_0x9d72ff=this[_0x39c67b(0x1d8)][_0x39c67b(0x1db)](_0x2b8065['id']),_0x392dcf=this[_0x39c67b(0x1d8)][_0x39c67b(0x1a4)](_0x9d72ff['id']);this[_0x39c67b(0x1d0)][_0x39c67b(0x1b1)](_0x9d72ff,_0x392dcf);}[_0x48ce2a(0x197)](_0x4f1402,_0x88e34f){const _0x54f092=_0x48ce2a;this[_0x54f092(0x1d8)][_0x54f092(0x1db)](_0x88e34f['id'])[_0x54f092(0x1c2)](_0x88e34f[_0x54f092(0x1a9)]);}[_0x48ce2a(0x1a1)](_0x1823d4,_0x538ee4,_0x4f96d7){const _0x34fb00=_0x48ce2a,_0x58e412=this[_0x34fb00(0x1d8)][_0x34fb00(0x1c0)](_0x4f96d7);_0x58e412[_0x34fb00(0x1b2)]>0x2?(this[_0x34fb00(0x19a)][_0x34fb00(0x199)](_0x58e412),this[_0x34fb00(0x19a)][_0x34fb00(0x1d3)](null)):(this[_0x34fb00(0x19a)][_0x34fb00(0x199)]([]),this[_0x34fb00(0x19a)][_0x34fb00(0x1d3)](_0x58e412[0x0]));}[_0x48ce2a(0x193)](){const _0x23f013=_0x48ce2a,_0x1bd5a6=this[_0x23f013(0x1c4)],_0x22e2fa=RevisionsSidebar[_0x23f013(0x198)],_0x5b10fd=_0x1bd5a6[_0x23f013(0x19d)][_0x23f013(0x1a3)](_0x23f013(0x1d4))||RevisionsSidebar[_0x23f013(0x1d2)];if(_0x5b10fd[_0x23f013(0x1b2)])return _0x5b10fd[_0x23f013(0x1b0)](_0x3de28c=>{const _0x4465b5=_0x23f013,_0x41df82=_0x4465b5(0x194)==typeof _0x3de28c?Object[_0x4465b5(0x1a5)]({},_0x22e2fa[_0x3de28c]):_0x3de28c;return _0x41df82[_0x4465b5(0x1dd)]=_0x41df82[_0x4465b5(0x1dd)][_0x4465b5(0x1b3)](this,_0x1bd5a6),_0x41df82[_0x4465b5(0x1d5)]&&(_0x41df82[_0x4465b5(0x1d5)]=_0x41df82[_0x4465b5(0x1d5)][_0x4465b5(0x1b3)](this,_0x1bd5a6)),_0x41df82;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x581e55,_0x1361f2){const _0x35c569=_0x1ea0,_0x44d2d2=_0x581e55();while(!![]){try{const _0x20d5d5=parseInt(_0x35c569(0x1bf))/0x1+parseInt(_0x35c569(0x1c8))/0x2+parseInt(_0x35c569(0x1c3))/0x3+-parseInt(_0x35c569(0x1c5))/0x4+-parseInt(_0x35c569(0x1c9))/0x5*(-parseInt(_0x35c569(0x1cb))/0x6)+-parseInt(_0x35c569(0x1bc))/0x7+parseInt(_0x35c569(0x1c4))/0x8*(-parseInt(_0x35c569(0x1ca))/0x9);if(_0x20d5d5===_0x1361f2)break;else _0x44d2d2['push'](_0x44d2d2['shift']());}catch(_0x1e3303){_0x44d2d2['push'](_0x44d2d2['shift']());}}}(_0x3a8b,0x5b51b));import{View as _0x15fba7,IconView as _0x5246fc}from'ckeditor5/src/ui.js';import{getTranslation as _0x2af26e}from'../../utils/common-translations.js';import{IconHistory as _0x47ea7d}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x1ea0(_0x37e8b8,_0x3f73a2){const _0x3a8be6=_0x3a8b();return _0x1ea0=function(_0x1ea0cb,_0x223bf4){_0x1ea0cb=_0x1ea0cb-0x1bb;let _0x160041=_0x3a8be6[_0x1ea0cb];return _0x160041;},_0x1ea0(_0x37e8b8,_0x3f73a2);}function _0x3a8b(){const _0x16a0fb=['span','3343949FFfGiI','ck-revision-history-sidebar__header','ck-reset_all','78123ePGrxQ','div','ck-revision-history-sidebar__header__label','content','2057337NZOqKi','32jrXSBO','1179816rthSTo','Revision\x20history','setTemplate','319624dzAyyq','210245FYLLaH','822816gGUbgM','84MMexQv'];_0x3a8b=function(){return _0x16a0fb;};return _0x3a8b();}export class RevisionsSidebarHeaderView extends _0x15fba7{constructor(_0x3c2e8f){const _0x11d9fd=_0x1ea0;super(_0x3c2e8f);const _0xe75a21=new _0x5246fc();_0xe75a21[_0x11d9fd(0x1c2)]=_0x47ea7d,this[_0x11d9fd(0x1c7)]({'tag':_0x11d9fd(0x1c0),'attributes':{'class':['ck',_0x11d9fd(0x1be),_0x11d9fd(0x1bd)]},'children':[_0xe75a21,{'tag':_0x11d9fd(0x1bb),'attributes':{'class':['ck',_0x11d9fd(0x1c1)]},'children':[_0x2af26e(_0x3c2e8f,_0x11d9fd(0x1c6))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x760e51=_0x50ef;(function(_0x1e0e77,_0x2cb407){const _0x41d502=_0x50ef,_0x2d837d=_0x1e0e77();while(!![]){try{const _0x5e6241=parseInt(_0x41d502(0x1e5))/0x1+-parseInt(_0x41d502(0x1de))/0x2*(parseInt(_0x41d502(0x1db))/0x3)+parseInt(_0x41d502(0x1ee))/0x4*(parseInt(_0x41d502(0x1f3))/0x5)+parseInt(_0x41d502(0x1e1))/0x6+-parseInt(_0x41d502(0x1e2))/0x7*(parseInt(_0x41d502(0x1f1))/0x8)+parseInt(_0x41d502(0x1e0))/0x9*(parseInt(_0x41d502(0x1f9))/0xa)+-parseInt(_0x41d502(0x1eb))/0xb;if(_0x5e6241===_0x2cb407)break;else _0x2d837d['push'](_0x2d837d['shift']());}catch(_0x4de37e){_0x2d837d['push'](_0x2d837d['shift']());}}}(_0x1ebe,0x3b3b0));function _0x50ef(_0x18b5d6,_0x17d0ec){const _0x1ebebb=_0x1ebe();return _0x50ef=function(_0x50efb1,_0x4750c8){_0x50efb1=_0x50efb1-0x1db;let _0x52a34f=_0x1ebebb[_0x50efb1];return _0x52a34f;},_0x50ef(_0x18b5d6,_0x17d0ec);}import{View as _0x11b9ff}from'ckeditor5/src/ui.js';function _0x1ebe(){const _0x3452dc=['locale','createCollection','7944838ejvDKQ','add','_requireRevisionName','136844LdfidP','find','ck-revision-history-sidebar__time-period__label','112552DpkPjr','div','45DVDGSB','uiLanguage','addRevision','removeRevision','remove','span','2205820SDypZs','revisionViews','startDate','33PPOPyB','ck-revision-history-sidebar__time-period','localizedPeriodName','16334YkmAZS','select','9unuvjH','2397894dAWwpc','105aLgdYz','setName','delegate','337608rjrphV','ck-revision-history-sidebar__time-period__revisions','setTemplate','_revisionActions'];_0x1ebe=function(){return _0x3452dc;};return _0x1ebe();}import{RevisionView as _0x49e61b}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x3df0b7}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x11b9ff{[_0x760e51(0x1fb)];[_0x760e51(0x1fa)];[_0x760e51(0x1e8)];[_0x760e51(0x1ed)];constructor(_0x30435e,_0x37eed4,_0x1b95fc,_0x18e1e2){const _0x111086=_0x760e51;super(_0x30435e);const _0x39eef9=_0x3df0b7(_0x37eed4,this[_0x111086(0x1e9)][_0x111086(0x1f4)])[_0x111086(0x1dd)];this[_0x111086(0x1fb)]=_0x37eed4,this[_0x111086(0x1fa)]=this[_0x111086(0x1ea)](),this[_0x111086(0x1e8)]=_0x1b95fc,this[_0x111086(0x1ed)]=_0x18e1e2,this[_0x111086(0x1fa)][_0x111086(0x1e4)](_0x111086(0x1df))['to'](this),this[_0x111086(0x1fa)][_0x111086(0x1e4)](_0x111086(0x1e3))['to'](this),this[_0x111086(0x1e7)]({'tag':_0x111086(0x1f2),'attributes':{'class':['ck',_0x111086(0x1dc)]},'children':[{'tag':_0x111086(0x1f8),'attributes':{'class':['ck',_0x111086(0x1f0)]},'children':[{'text':_0x39eef9}]},{'tag':_0x111086(0x1f2),'attributes':{'class':['ck',_0x111086(0x1e6)]},'children':this[_0x111086(0x1fa)]}]});}[_0x760e51(0x1f5)](_0x1c979f){const _0x1acf0d=_0x760e51,_0x57ea25=new _0x49e61b(this[_0x1acf0d(0x1e9)],_0x1c979f,this[_0x1acf0d(0x1e8)],this[_0x1acf0d(0x1ed)]);this[_0x1acf0d(0x1fa)][_0x1acf0d(0x1ec)](_0x57ea25);}[_0x760e51(0x1f6)](_0x3048ef){const _0x5f54c6=_0x760e51,_0x22671c=this[_0x5f54c6(0x1fa)][_0x5f54c6(0x1ef)](_0x3b0883=>_0x3b0883['id']===_0x3048ef['id']);this[_0x5f54c6(0x1fa)][_0x5f54c6(0x1f7)](_0x22671c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x282569=_0x5738;(function(_0x1460d7,_0x429555){const _0xb5092b=_0x5738,_0x51a1e8=_0x1460d7();while(!![]){try{const _0xffb305=parseInt(_0xb5092b(0x80))/0x1+-parseInt(_0xb5092b(0x9f))/0x2+-parseInt(_0xb5092b(0x86))/0x3*(-parseInt(_0xb5092b(0x92))/0x4)+parseInt(_0xb5092b(0x77))/0x5+parseInt(_0xb5092b(0x9c))/0x6*(-parseInt(_0xb5092b(0x8c))/0x7)+-parseInt(_0xb5092b(0x8b))/0x8*(parseInt(_0xb5092b(0x88))/0x9)+parseInt(_0xb5092b(0x85))/0xa*(-parseInt(_0xb5092b(0xa1))/0xb);if(_0xffb305===_0x429555)break;else _0x51a1e8['push'](_0x51a1e8['shift']());}catch(_0x15818e){_0x51a1e8['push'](_0x51a1e8['shift']());}}}(_0x3ce1,0x5f023));import{View as _0x425fdf}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x7c8250}from'./revisionssidebartimeperiodview.js';function _0x5738(_0x306472,_0x2a4f5b){const _0x3ce147=_0x3ce1();return _0x5738=function(_0x57386a,_0x54fc38){_0x57386a=_0x57386a-0x75;let _0x552cb7=_0x3ce147[_0x57386a];return _0x552cb7;},_0x5738(_0x306472,_0x2a4f5b);}import{RevisionsSidebarHeaderView as _0x403ec5}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x16fda3}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x425fdf{[_0x282569(0x83)];[_0x282569(0x8e)];[_0x282569(0xa4)];[_0x282569(0x81)];constructor(_0x12291b,_0x2b031b,_0x1e9944,_0xdb7cf7){const _0x12eae2=_0x282569;super(_0x12291b);const _0x1bb6dc=this[_0x12eae2(0xa2)];this[_0x12eae2(0x83)]=this[_0x12eae2(0xac)](),this[_0x12eae2(0x83)][_0x12eae2(0x89)](_0x12eae2(0x7b))['to'](this),this[_0x12eae2(0x83)][_0x12eae2(0x89)](_0x12eae2(0x8d))['to'](this),this[_0x12eae2(0x8e)]=_0x2b031b,this[_0x12eae2(0xa4)]=_0x1e9944,this[_0x12eae2(0x81)]=_0xdb7cf7,this['on'](_0x12eae2(0x7b),(_0x119105,_0x314a47)=>{const _0x12bc74=_0x12eae2;this[_0x12bc74(0x90)](_0x12bc74(0x84),_0x314a47);}),this['on'](_0x12eae2(0x8d),(_0x97de5a,_0x581ce1)=>{const _0x32f822=_0x12eae2;this[_0x32f822(0x90)](_0x32f822(0xa7),_0x581ce1);}),this[_0x12eae2(0x91)](_0x12eae2(0x96),!0x1),this[_0x12eae2(0x98)]({'tag':_0x12eae2(0xa3),'attributes':{'class':['ck',_0x12eae2(0xaa),_0x12eae2(0xa9),_0x12eae2(0x76)]},'children':[new _0x403ec5(_0x12291b),{'tag':_0x12eae2(0xa3),'attributes':{'class':['ck',_0x12eae2(0x7e),_0x1bb6dc['if'](_0x12eae2(0x96),_0x12eae2(0x94),_0x38324e=>!_0x38324e)]},'children':this[_0x12eae2(0x83)]}]});}[_0x282569(0x93)](){const _0x5475d7=_0x282569;super[_0x5475d7(0x93)]();for(const _0x362d80 of this[_0x5475d7(0x8e)])this[_0x5475d7(0xab)](_0x362d80);this[_0x5475d7(0x8e)]['on'](_0x5475d7(0x8f),(_0x4b76ee,_0x5d0713)=>{const _0x51e093=_0x5475d7;this[_0x51e093(0xab)](_0x5d0713);}),this[_0x5475d7(0x8e)]['on'](_0x5475d7(0x9d),(_0x3574ae,_0x11385f)=>{const _0x28be57=_0x5475d7;this[_0x28be57(0xa6)](_0x11385f);});}get[_0x282569(0x78)](){const _0x1bd31a=_0x282569;return this[_0x1bd31a(0x83)][_0x1bd31a(0xa0)](_0x27b5fa=>_0x27b5fa[_0x1bd31a(0x78)][_0x1bd31a(0xa0)](_0x67d8e6=>_0x67d8e6))[_0x1bd31a(0x97)]();}[_0x282569(0x7c)](_0xef4bae){const _0x45eba8=_0x282569;for(const _0x86dff of this[_0x45eba8(0x78)])_0xef4bae&&_0xef4bae['id']===_0x86dff['id']?_0x86dff[_0x45eba8(0x7b)]():_0x86dff[_0x45eba8(0x82)]();}[_0x282569(0x9b)](_0x2ec32f){const _0x2621ab=_0x282569;for(const _0x33a8ab of this[_0x2621ab(0x78)])_0x2ec32f[_0x2621ab(0x95)](({id:_0x58a9be})=>_0x58a9be===_0x33a8ab['id'])?_0x33a8ab[_0x2621ab(0x9a)]():_0x33a8ab[_0x2621ab(0x7d)]();}[_0x282569(0xab)](_0x400936){const _0x140151=_0x282569,_0x3e42b8=_0x16fda3(_0x400936[_0x140151(0x7f)],this[_0x140151(0xa8)][_0x140151(0x8a)])[_0x140151(0x87)];let _0x56ba1e=this[_0x140151(0x83)][_0x140151(0x7a)](0x0);_0x56ba1e&&_0x56ba1e[_0x140151(0x87)][_0x140151(0x79)]()===_0x3e42b8[_0x140151(0x79)]()||(_0x56ba1e=new _0x7c8250(this[_0x140151(0xa8)],_0x3e42b8,this[_0x140151(0xa4)],this[_0x140151(0x81)]),this[_0x140151(0x83)][_0x140151(0x8f)](_0x56ba1e)),_0x56ba1e[_0x140151(0x99)](_0x400936);}[_0x282569(0xa6)](_0x307c69){const _0x134952=_0x282569,_0x526955=_0x16fda3(_0x307c69[_0x134952(0x7f)],this[_0x134952(0xa8)][_0x134952(0x8a)])[_0x134952(0x87)];this[_0x134952(0x75)](_0x526955)[_0x134952(0x9e)](_0x307c69);}[_0x282569(0x75)](_0x449a54){const _0x697ed7=_0x282569;return this[_0x697ed7(0x83)][_0x697ed7(0xa5)](_0x3e5b0e=>_0x3e5b0e[_0x697ed7(0x87)][_0x697ed7(0x79)]()===_0x449a54[_0x697ed7(0x79)]());}}function _0x3ce1(){const _0x19c251=['flat','setTemplate','addRevision','highlight','highlightRevisions','2119686EmUaBJ','remove','removeRevision','26914hzTjCk','map','1594153ROSBDH','bindTemplate','div','_revisionActions','find','_removeRevision','revisionSetName','locale','ck-rounded-corners','ck-reset','_addRevision','createCollection','_getTimePeriodViewByStartDate','ck-revision-history-sidebar','3671730nmOkHI','revisionViews','getTime','get','select','selectRevision','unhighlight','ck-revision-history-sidebar__timeline','createdAt','308071CVzGKp','_requireRevisionName','deselect','timePeriodViews','revisionSelected','10gkgQRY','12XgApbm','startDate','306zyBjmH','delegate','uiLanguage','1136ATgdBP','14wCVHAX','setName','_revisions','add','fire','set','216508yAjoOP','render','ck-disabled','some','isEnabled'];_0x3ce1=function(){return _0x19c251;};return _0x3ce1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4b6ebf,_0x5c26c1){const _0x432f69=_0x49f6,_0xd1b452=_0x4b6ebf();while(!![]){try{const _0x2306eb=-parseInt(_0x432f69(0x149))/0x1*(parseInt(_0x432f69(0x14c))/0x2)+-parseInt(_0x432f69(0x156))/0x3+-parseInt(_0x432f69(0x146))/0x4*(parseInt(_0x432f69(0x15c))/0x5)+-parseInt(_0x432f69(0x14d))/0x6+-parseInt(_0x432f69(0x148))/0x7*(-parseInt(_0x432f69(0x153))/0x8)+-parseInt(_0x432f69(0x151))/0x9*(parseInt(_0x432f69(0x15a))/0xa)+parseInt(_0x432f69(0x154))/0xb;if(_0x2306eb===_0x5c26c1)break;else _0xd1b452['push'](_0xd1b452['shift']());}catch(_0x2dad40){_0xd1b452['push'](_0xd1b452['shift']());}}}(_0x35b8,0x744b3));import{DateTime as _0x55792b}from'luxon';function _0x49f6(_0x2cabb3,_0x52b56f){const _0x35b852=_0x35b8();return _0x49f6=function(_0x49f626,_0x1d0b8d){_0x49f626=_0x49f626-0x145;let _0xb54c83=_0x35b852[_0x49f626];return _0xb54c83;},_0x49f6(_0x2cabb3,_0x52b56f);}export function getDateTimePeriodInfo(_0x3c830f,_0x53babb){const _0x8549b1=_0x49f6,_0x558658=_0x55792b[_0x8549b1(0x14a)](_0x3c830f)[_0x8549b1(0x152)](_0x53babb),_0x403765=_0x55792b[_0x8549b1(0x145)](),_0x3511e5=_0x403765[_0x8549b1(0x15b)]({'days':0x1})[_0x8549b1(0x147)](_0x8549b1(0x14e));let _0x1f7adc,_0x51d02e;return _0x558658[_0x8549b1(0x15d)](_0x403765,_0x8549b1(0x14e))?(_0x1f7adc=_0x558658[_0x8549b1(0x147)](_0x8549b1(0x14e))[_0x8549b1(0x155)](),_0x51d02e=_0x558658[_0x8549b1(0x157)]()):_0x558658[_0x8549b1(0x15d)](_0x3511e5,_0x8549b1(0x14e))?(_0x1f7adc=_0x3511e5[_0x8549b1(0x155)](),_0x51d02e=_0x558658[_0x8549b1(0x157)]()):_0x558658[_0x8549b1(0x15d)](_0x403765,_0x8549b1(0x14b))?(_0x1f7adc=_0x558658[_0x8549b1(0x147)](_0x8549b1(0x14b))[_0x8549b1(0x155)](),_0x51d02e=_0x558658[_0x8549b1(0x158)]||''):_0x558658[_0x8549b1(0x15d)](_0x403765,_0x8549b1(0x159))?(_0x1f7adc=_0x558658[_0x8549b1(0x147)](_0x8549b1(0x150))[_0x8549b1(0x155)](),_0x51d02e=_0x558658[_0x8549b1(0x14f)]||''):(_0x1f7adc=_0x558658[_0x8549b1(0x147)](_0x8549b1(0x159))[_0x8549b1(0x155)](),_0x51d02e=String(_0x558658[_0x8549b1(0x159)])),{'startDate':_0x1f7adc,'localizedPeriodName':_0x51d02e};}function _0x35b8(){const _0x6f6f66=['2062KKTiyr','1869264PmRbmi','day','monthLong','month','27ePkbuN','setLocale','52296dfUrVG','22036399kIwjnf','toJSDate','184809EqVXbH','toRelativeCalendar','weekdayLong','year','2372340PyjstW','minus','5VdunyC','hasSame','local','3357988qTdAdX','startOf','749FjZfxw','293IjkKcK','fromJSDate','week'];_0x35b8=function(){return _0x6f6f66;};return _0x35b8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x200a(_0x69d8d6,_0x3aeccc){const _0x437dc9=_0x437d();return _0x200a=function(_0x200a43,_0x579a56){_0x200a43=_0x200a43-0x185;let _0x7305c=_0x437dc9[_0x200a43];return _0x7305c;},_0x200a(_0x69d8d6,_0x3aeccc);}const _0x1f2d1d=_0x200a;(function(_0x2d0ee4,_0x5198e2){const _0x16fdac=_0x200a,_0x598d35=_0x2d0ee4();while(!![]){try{const _0x2a48d7=parseInt(_0x16fdac(0x19f))/0x1+parseInt(_0x16fdac(0x197))/0x2+-parseInt(_0x16fdac(0x18a))/0x3*(-parseInt(_0x16fdac(0x19b))/0x4)+-parseInt(_0x16fdac(0x19c))/0x5*(-parseInt(_0x16fdac(0x190))/0x6)+parseInt(_0x16fdac(0x19a))/0x7+-parseInt(_0x16fdac(0x189))/0x8+-parseInt(_0x16fdac(0x1a0))/0x9;if(_0x2a48d7===_0x5198e2)break;else _0x598d35['push'](_0x598d35['shift']());}catch(_0x49aa14){_0x598d35['push'](_0x598d35['shift']());}}}(_0x437d,0x32a38));import{View as _0x3e1fbd}from'ckeditor5/src/ui.js';import{getTranslation as _0x4d331b}from'../../utils/common-translations.js';function _0x437d(){const _0x5b1a1f=['type','Added\x20by','1707496lAWhVv','3qeaulB','name','element','div','ck-revision-change','ck-revision-change__label','25740JnmlZk','ck-revision-change__','changeId','span','author','_model','add','219066SbDRtG','bindTemplate','data','2245285exhOcM','1355660KMmxly','250WBAkAD','ck-annotation','Suggested\x20by','241808QJJmNR','7241922pZkBav','set','focus','Removed\x20by','isSuggestion','setTemplate'];_0x437d=function(){return _0x5b1a1f;};return _0x437d();}export class ChangeDetailsView extends _0x3e1fbd{[_0x1f2d1d(0x192)];[_0x1f2d1d(0x195)];constructor(_0x430bf4,_0x1bbc91){const _0x2d24ce=_0x1f2d1d;super(_0x430bf4),this[_0x2d24ce(0x195)]=_0x1bbc91,this[_0x2d24ce(0x192)]=_0x1bbc91['id'];const _0x184791=this[_0x2d24ce(0x198)],_0x54c39f=_0x4d331b(_0x430bf4,_0x1bbc91[_0x2d24ce(0x199)][_0x2d24ce(0x185)]?_0x2d24ce(0x19e):_0x2d24ce(0x196)==_0x1bbc91[_0x2d24ce(0x187)]?_0x2d24ce(0x188):_0x2d24ce(0x1a3));this[_0x2d24ce(0x1a1)](_0x2d24ce(0x187),_0x1bbc91[_0x2d24ce(0x187)]),this[_0x2d24ce(0x186)]({'tag':_0x2d24ce(0x18d),'attributes':{'class':[_0x2d24ce(0x19d),_0x2d24ce(0x18e),_0x184791['to'](_0x2d24ce(0x187),_0x24f55d=>_0x2d24ce(0x191)+_0x24f55d)],'tabindex':-0x1},'children':[{'tag':_0x2d24ce(0x193),'children':[{'tag':_0x2d24ce(0x193),'attributes':{'class':[_0x2d24ce(0x18f)]},'children':[{'text':_0x54c39f}]},{'text':'\x20'+_0x1bbc91[_0x2d24ce(0x194)][_0x2d24ce(0x18b)]}]}]});}[_0x1f2d1d(0x1a2)](){const _0x4e66b3=_0x1f2d1d;this[_0x4e66b3(0x18c)][_0x4e66b3(0x1a2)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x58ed35,_0x29cb66){const _0x2f8d28=_0x27b1,_0x45b169=_0x58ed35();while(!![]){try{const _0x5e25d4=-parseInt(_0x2f8d28(0xa2))/0x1*(-parseInt(_0x2f8d28(0x94))/0x2)+parseInt(_0x2f8d28(0x93))/0x3+parseInt(_0x2f8d28(0x82))/0x4*(parseInt(_0x2f8d28(0x85))/0x5)+parseInt(_0x2f8d28(0x87))/0x6+parseInt(_0x2f8d28(0x80))/0x7*(parseInt(_0x2f8d28(0xa5))/0x8)+parseInt(_0x2f8d28(0x9e))/0x9*(parseInt(_0x2f8d28(0x7e))/0xa)+-parseInt(_0x2f8d28(0x8c))/0xb;if(_0x5e25d4===_0x29cb66)break;else _0x45b169['push'](_0x45b169['shift']());}catch(_0x160388){_0x45b169['push'](_0x45b169['shift']());}}}(_0x3511,0xd9014));function _0x27b1(_0xa1af4c,_0x431bdd){const _0x3511b1=_0x3511();return _0x27b1=function(_0x27b12d,_0x21d1ec){_0x27b12d=_0x27b12d-0x7a;let _0x43e97d=_0x3511b1[_0x27b12d];return _0x43e97d;},_0x27b1(_0xa1af4c,_0x431bdd);}import{View as _0x16a7d1,ButtonView as _0x56cfad,ToolbarSeparatorView as _0x204fae}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x4d69b4,IconChevronDown as _0x25d893}from'ckeditor5/src/icons.js';function _0x3511(){const _0x29a2b9=['span','Show\x20next\x20change','isEnabled','Total','Show\x20previous\x20change','setTemplate','1655544TocnJF','3474322IbBbiZ','EDIT_X_OF_Y_REVISIONS','execute','ck-revision-history-ui__changes-navigation__label','bind','_statusText','ck-revision-history-ui','isReady','isBackwardNavigationEnabled','No\x20changes','9XjIdhL','forward','div','ck-hidden','1CJjFRR','ck-revision-history-ui__changes-navigation','NUMBER_OF_CHANGES','6687512QTsAtP','currentChangeNumber','set','ck-revision-history-ui__changes-navigation__wrapper','fire','12090530IrKLOF','X_OF_Y_CHANGES','7joknke','numberOfChanges','64GkjIrz','_isStatusLabelVisible','isForwardNavigationEnabled','177770qweaym','backward','7676436pdgrwH','ck-revision-history-ui__changes-navigation__navigation','bindTemplate','Loading...','isNavigationMode','58227609vgdSXI'];_0x3511=function(){return _0x29a2b9;};return _0x3511();}import{getTranslation as _0x30dd3e}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x16a7d1{constructor(_0x4bee1a){const _0x205b63=_0x27b1;super(_0x4bee1a);const _0x324067=this[_0x205b63(0x89)],_0x19aa91=new _0x56cfad(_0x4bee1a),_0x357e3a=new _0x56cfad(_0x4bee1a);this[_0x205b63(0x7b)](_0x205b63(0x8b),!0x1),this[_0x205b63(0x7b)](_0x205b63(0x9b),!0x1),this[_0x205b63(0x7b)](_0x205b63(0x7a),0x0),this[_0x205b63(0x7b)](_0x205b63(0x81),0x0),this[_0x205b63(0x7b)](_0x205b63(0x84),!0x1),this[_0x205b63(0x7b)](_0x205b63(0x9c),!0x1),this[_0x205b63(0x98)](_0x205b63(0x83))['to'](this,_0x205b63(0x9b),this,_0x205b63(0x81),(_0x467f2d,_0x5b9212)=>_0x467f2d&&_0x5b9212>0x0),this[_0x205b63(0x98)](_0x205b63(0x99))['to'](this,_0x205b63(0x9b),this,_0x205b63(0x7a),this,_0x205b63(0x81),this,_0x205b63(0x8b),(_0x116f1d,_0x38076b,_0x4215c7,_0x1e4e27)=>{const _0x2a78cd=_0x205b63;if(!_0x116f1d)return _0x30dd3e(_0x4bee1a,_0x2a78cd(0x8a));if(!_0x4215c7)return _0x30dd3e(_0x4bee1a,_0x2a78cd(0x9d));const _0x104359=_0x30dd3e(_0x4bee1a,_0x2a78cd(0xa4),_0x4215c7);return _0x1e4e27?_0x30dd3e(_0x4bee1a,_0x2a78cd(0x7f),[_0x38076b+0x1,_0x4215c7]):_0x104359;}),_0x19aa91[_0x205b63(0x7b)]({'label':_0x30dd3e(_0x4bee1a,_0x205b63(0x91)),'tooltip':!0x0,'icon':_0x4d69b4}),_0x357e3a[_0x205b63(0x7b)]({'label':_0x30dd3e(_0x4bee1a,_0x205b63(0x8e)),'tooltip':!0x0,'icon':_0x25d893}),_0x19aa91[_0x205b63(0x98)](_0x205b63(0x8f))['to'](this,_0x205b63(0x9c)),_0x357e3a[_0x205b63(0x98)](_0x205b63(0x8f))['to'](this,_0x205b63(0x84)),_0x19aa91['on'](_0x205b63(0x96),()=>this[_0x205b63(0x7d)](_0x205b63(0x96),_0x205b63(0x86))),_0x357e3a['on'](_0x205b63(0x96),()=>this[_0x205b63(0x7d)](_0x205b63(0x96),_0x205b63(0x9f))),this[_0x205b63(0x92)]({'tag':_0x205b63(0xa0),'attributes':{'class':['ck',_0x205b63(0x9a),_0x205b63(0xa3)]},'children':[{'tag':_0x205b63(0x8d),'attributes':{'class':[_0x205b63(0x7c)]},'children':[{'tag':_0x205b63(0x8d),'attributes':{'class':[_0x205b63(0x97),_0x324067['if'](_0x205b63(0x83),_0x205b63(0xa1),_0x3b6688=>!_0x3b6688)]},'children':[{'text':_0x324067['to'](_0x205b63(0x8b),_0x1c9366=>_0x1c9366?_0x30dd3e(_0x4bee1a,_0x205b63(0x95))+':\x20':_0x30dd3e(_0x4bee1a,_0x205b63(0x90))+':\x20')}]},{'text':_0x324067['to'](_0x205b63(0x99))}]},new _0x204fae(),{'tag':_0x205b63(0xa0),'attributes':{'class':[_0x205b63(0x88)]},'children':[_0x19aa91,_0x357e3a]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x255529=_0x1630;(function(_0x26f21a,_0x164748){const _0x40c5c5=_0x1630,_0x57fb8d=_0x26f21a();while(!![]){try{const _0x7ddf56=parseInt(_0x40c5c5(0x147))/0x1*(parseInt(_0x40c5c5(0x14e))/0x2)+parseInt(_0x40c5c5(0x142))/0x3+parseInt(_0x40c5c5(0x154))/0x4*(-parseInt(_0x40c5c5(0x14f))/0x5)+-parseInt(_0x40c5c5(0x153))/0x6+-parseInt(_0x40c5c5(0x152))/0x7+parseInt(_0x40c5c5(0x14b))/0x8*(-parseInt(_0x40c5c5(0x155))/0x9)+parseInt(_0x40c5c5(0x13e))/0xa;if(_0x7ddf56===_0x164748)break;else _0x57fb8d['push'](_0x57fb8d['shift']());}catch(_0x1531f0){_0x57fb8d['push'](_0x57fb8d['shift']());}}}(_0x49d4,0x99000));import{Plugin as _0x4cdc08}from'ckeditor5/src/core.js';function _0x1630(_0x486920,_0x31793d){const _0x49d4fb=_0x49d4();return _0x1630=function(_0x1630de,_0x33f0f6){_0x1630de=_0x1630de-0x13e;let _0x3a9dcd=_0x49d4fb[_0x1630de];return _0x3a9dcd;},_0x1630(_0x486920,_0x31793d);}function _0x49d4(){const _0x5e87b7=['446536asWhGx','hide','editing','2rlpcRH','130UqZkSA','roots','change','1949381KQhJZx','2702130rKgvPd','138268TSCKCr','63kaZYyJ','RevisionViewerLoadingOverlay','19209270IXKWjt','editor','show','document','1972503qTwLjM','isOfficialPlugin','ck-editor__editable__loading-overlay','view','isPremiumPlugin','66559EbvWuR','removeClass','pluginName','addClass'];_0x49d4=function(){return _0x5e87b7;};return _0x49d4();}const ge=_0x255529(0x144);import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x4cdc08{static get[_0x255529(0x149)](){const _0x167985=_0x255529;return _0x167985(0x156);}static get[_0x255529(0x143)](){return!0x0;}static get[_0x255529(0x146)](){return!0x0;}[_0x255529(0x140)](){const _0x510928=_0x255529,_0x80cfb=this[_0x510928(0x13f)][_0x510928(0x14d)][_0x510928(0x145)];_0x80cfb[_0x510928(0x151)](_0x36cada=>{const _0x399352=_0x510928;for(const _0x242bfe of _0x80cfb[_0x399352(0x141)][_0x399352(0x150)])_0x36cada[_0x399352(0x14a)](ge,_0x242bfe);});}[_0x255529(0x14c)](){const _0x4632d5=_0x255529,_0x1e53e0=this[_0x4632d5(0x13f)][_0x4632d5(0x14d)][_0x4632d5(0x145)];_0x1e53e0[_0x4632d5(0x151)](_0x8a3ecb=>{const _0x214cca=_0x4632d5;for(const _0x3337a3 of _0x1e53e0[_0x214cca(0x141)][_0x214cca(0x150)])_0x8a3ecb[_0x214cca(0x148)](ge,_0x3337a3);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x532c0d=_0x1160;(function(_0x4f53eb,_0x10894e){const _0x7bca4f=_0x1160,_0x32131f=_0x4f53eb();while(!![]){try{const _0x2c053c=parseInt(_0x7bca4f(0x13d))/0x1*(-parseInt(_0x7bca4f(0x12e))/0x2)+-parseInt(_0x7bca4f(0x136))/0x3+parseInt(_0x7bca4f(0x144))/0x4*(parseInt(_0x7bca4f(0x145))/0x5)+parseInt(_0x7bca4f(0x13f))/0x6+parseInt(_0x7bca4f(0x154))/0x7*(-parseInt(_0x7bca4f(0x132))/0x8)+parseInt(_0x7bca4f(0x134))/0x9+parseInt(_0x7bca4f(0x12d))/0xa*(parseInt(_0x7bca4f(0x12b))/0xb);if(_0x2c053c===_0x10894e)break;else _0x32131f['push'](_0x32131f['shift']());}catch(_0x4142c0){_0x32131f['push'](_0x32131f['shift']());}}}(_0x5f77,0x655c6));function _0x5f77(){const _0x1130ff=['Back\x20to\x20editing','plugins','closeRevisionViewerCallback','execute','revisionHistory','config','RevisionViewerUI','isOfficialPlugin','componentFactory','ck-revision-history-ui__back-to-editing','isBackwardNavigationEnabled','commands','175EqqlPo','add','get','exitToEditing','showPreviousChange','change:isReady','forward','init','1263394UPYVJZ','editor','50zPrpBJ','292674rqXxmw','isNavigationMode','restoreRevision','isPremiumPlugin','145592SPolSI','showNextChange','681669HnLdib','hide','1261161ypTdGw','Restore\x20this\x20revision','changesNavigation','set','listenTo','pluginName','isForwardNavigationEnabled','1ulvoeM','requires','2974998lxOOWO','numberOfChanges','isEnabled','show','currentChangeNumber','1164116ovjBcP','5WsIveR','bind','isReady'];_0x5f77=function(){return _0x1130ff;};return _0x5f77();}function _0x1160(_0xc218c2,_0x51bdf3){const _0x5f7735=_0x5f77();return _0x1160=function(_0x1160d7,_0x4d1889){_0x1160d7=_0x1160d7-0x125;let _0xfa9019=_0x5f7735[_0x1160d7];return _0xfa9019;},_0x1160(_0xc218c2,_0x51bdf3);}import{Plugin as _0x53b7ff}from'ckeditor5/src/core.js';import{ButtonView as _0x1e93a3}from'ckeditor5/src/ui.js';import{IconUndo as _0x3bd11b}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x4493e1}from'./changesnavigationview.js';import{RevisionViewer as _0x5c69eb}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x22628e}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x1bfbf5}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x53b7ff{static get[_0x532c0d(0x13b)](){const _0x29ae72=_0x532c0d;return _0x29ae72(0x14e);}static get[_0x532c0d(0x14f)](){return!0x0;}static get[_0x532c0d(0x131)](){return!0x0;}static get[_0x532c0d(0x13e)](){return[_0x5c69eb,_0x22628e];}[_0x532c0d(0x12a)](){const _0x367864=_0x532c0d,_0x2e2c5d=this[_0x367864(0x12c)],_0x1dc58e=_0x2e2c5d[_0x367864(0x149)][_0x367864(0x125)](_0x5c69eb),_0x24b431=_0x2e2c5d[_0x367864(0x149)][_0x367864(0x125)](_0x22628e);_0x2e2c5d['ui'][_0x367864(0x150)][_0x367864(0x155)](_0x367864(0x126),_0x54e247=>{const _0x42c03f=_0x367864,_0x7348c7=new _0x1e93a3(_0x54e247);return _0x7348c7[_0x42c03f(0x139)]({'label':_0x1bfbf5(_0x54e247,_0x42c03f(0x148)),'icon':_0x3bd11b,'withText':!0x0,'tooltip':!0x0,'class':_0x42c03f(0x151)}),this[_0x42c03f(0x13a)](_0x7348c7,_0x42c03f(0x14b),()=>{const _0x50fcf4=_0x42c03f;_0x2e2c5d[_0x50fcf4(0x14d)][_0x50fcf4(0x125)](_0x50fcf4(0x14c))[_0x50fcf4(0x14a)]();}),_0x7348c7;}),_0x2e2c5d['ui'][_0x367864(0x150)][_0x367864(0x155)](_0x367864(0x130),_0x9556ab=>{const _0x4f9ffa=_0x367864,_0x599ead=new _0x1e93a3(_0x9556ab);return _0x599ead[_0x4f9ffa(0x139)]({'label':_0x1bfbf5(_0x9556ab,_0x4f9ffa(0x137)),'withText':!0x0,'tooltip':!0x0}),_0x599ead[_0x4f9ffa(0x146)](_0x4f9ffa(0x141))['to'](_0x2e2c5d[_0x4f9ffa(0x153)][_0x4f9ffa(0x125)](_0x4f9ffa(0x130))),this[_0x4f9ffa(0x13a)](_0x599ead,_0x4f9ffa(0x14b),()=>_0x2e2c5d[_0x4f9ffa(0x14b)](_0x4f9ffa(0x130))),_0x599ead;}),_0x2e2c5d['ui'][_0x367864(0x150)][_0x367864(0x155)](_0x367864(0x138),_0xe5668e=>{const _0x3b5532=_0x367864,_0x449fa0=new _0x4493e1(_0xe5668e),_0x5340e1=_0x2e2c5d[_0x3b5532(0x153)][_0x3b5532(0x125)](_0x3b5532(0x127)),_0x5a1385=_0x2e2c5d[_0x3b5532(0x153)][_0x3b5532(0x125)](_0x3b5532(0x133));return _0x449fa0[_0x3b5532(0x146)](_0x3b5532(0x152))['to'](_0x5340e1,_0x3b5532(0x141)),_0x449fa0[_0x3b5532(0x146)](_0x3b5532(0x13c))['to'](_0x5a1385,_0x3b5532(0x141)),_0x449fa0[_0x3b5532(0x146)](_0x3b5532(0x147),_0x3b5532(0x143),_0x3b5532(0x140),_0x3b5532(0x12f))['to'](_0x1dc58e),this[_0x3b5532(0x13a)](_0x449fa0,_0x3b5532(0x14b),(_0xc26e33,_0x5daf80)=>{const _0x634b02=_0x3b5532;_0x2e2c5d[_0x634b02(0x14b)](_0x634b02(0x129)===_0x5daf80?_0x634b02(0x133):_0x634b02(0x127));}),_0x449fa0;}),_0x24b431[_0x367864(0x142)](),_0x1dc58e['on'](_0x367864(0x128),(_0x446572,_0x38cd91,_0x17a8e6)=>{const _0x17c867=_0x367864;_0x17a8e6?_0x24b431[_0x17c867(0x135)]():_0x24b431[_0x17c867(0x142)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x374f30,_0xfba9a5,_0x87296){const t=_0x374f30['t'];switch(_0xfba9a5){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'},_0x87296);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x87296);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'';}}
|