@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240702.0 → 0.0.0-nightly-20240704.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 +6 -6
- 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/az.js +1 -1
- package/dist/translations/az.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.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/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/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/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/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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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 +5 -5
- 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/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 +1 -1
- 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,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b09b6=_0x15de;(function(_0x31c705,_0xae57ad){const _0x55d8d7=_0x15de,_0x37bd8c=_0x31c705();while(!![]){try{const _0x4f55be=parseInt(_0x55d8d7(0x104))/0x1+-parseInt(_0x55d8d7(0x100))/0x2+-parseInt(_0x55d8d7(0xf3))/0x3+parseInt(_0x55d8d7(0x114))/0x4*(-parseInt(_0x55d8d7(0x10d))/0x5)+parseInt(_0x55d8d7(0x103))/0x6+-parseInt(_0x55d8d7(0x119))/0x7+parseInt(_0x55d8d7(0xfe))/0x8;if(_0x4f55be===_0xae57ad)break;else _0x37bd8c['push'](_0x37bd8c['shift']());}catch(_0x5df1c8){_0x37bd8c['push'](_0x37bd8c['shift']());}}}(_0x5aa3,0xd2de9));import{LabeledFieldView as _0x18fbf8,View as _0xe3f10f,createLabeledInputText as _0x4b279f,injectCssTransitionDisabler as _0x144042,submitHandler as _0x31b879}from'ckeditor5/src/ui.js';function _0x5aa3(){const _0x57ba69=['arrowleft','optional','element','label','render','19056528TZmmuj','locale','2509766MOvuyZ','_createRevisionNameInput','revisionNameInputValue','3641706WQrkfY','527304OmDlnb','arrowup','add','Name\x20of\x20the\x20revision','revisionNameInputView','arrowright','ck-responsive-form','focusTracker','reset','150TEEJyL','input','stopPropagation','revisionName','setTemplate','form','value','27552UcGuQN','ck-revision-history-save-revision-form','errorText','arrowdown','set','3351572yuWgpQ','focus','keystrokes','2136843yIDkWe','220','fieldView','listenTo','trim','extendTemplate'];_0x5aa3=function(){return _0x57ba69;};return _0x5aa3();}function _0x15de(_0x5651d5,_0x4e0197){const _0x5aa33c=_0x5aa3();return _0x15de=function(_0x15de77,_0xefaf0c){_0x15de77=_0x15de77-0xf3;let _0x354b6d=_0x5aa33c[_0x15de77];return _0x354b6d;},_0x15de(_0x5651d5,_0x4e0197);}import{FocusTracker as _0x24c03e,KeystrokeHandler as _0x510442}from'ckeditor5/src/utils.js';import{getTranslation as _0x2a999b}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class ns extends _0xe3f10f{constructor(_0x19378a,_0x5dfc0b){const _0x3b8e6f=_0x15de;super(_0x19378a),this[_0x3b8e6f(0x10b)]=new _0x24c03e(),this[_0x3b8e6f(0x11b)]=new _0x510442(),this[_0x3b8e6f(0x118)](_0x3b8e6f(0x102),''),this[_0x3b8e6f(0x108)]=this[_0x3b8e6f(0x101)](_0x5dfc0b),this[_0x3b8e6f(0x111)]({'tag':_0x3b8e6f(0x112),'attributes':{'class':['ck',_0x3b8e6f(0x115),_0x3b8e6f(0x10a)],'tabindex':'-1'},'children':[this[_0x3b8e6f(0x108)]]}),_0x144042(this);}[_0x5b09b6(0xfd)](){const _0x325b19=_0x5b09b6;super[_0x325b19(0xfd)](),_0x31b879({'view':this}),this[_0x325b19(0x10b)][_0x325b19(0x106)](this[_0x325b19(0x108)][_0x325b19(0xfb)]),this[_0x325b19(0x11b)][_0x325b19(0xf6)](this[_0x325b19(0xfb)]);const _0x39e33d=_0x492dbf=>_0x492dbf[_0x325b19(0x10f)]();this[_0x325b19(0x11b)][_0x325b19(0x118)](_0x325b19(0x109),_0x39e33d),this[_0x325b19(0x11b)][_0x325b19(0x118)](_0x325b19(0xf9),_0x39e33d),this[_0x325b19(0x11b)][_0x325b19(0x118)](_0x325b19(0x105),_0x39e33d),this[_0x325b19(0x11b)][_0x325b19(0x118)](_0x325b19(0x117),_0x39e33d);}[_0x5b09b6(0x11a)](){const _0x1824ad=_0x5b09b6;this[_0x1824ad(0x108)][_0x1824ad(0x11a)]();}get[_0x5b09b6(0x110)](){const _0x460e29=_0x5b09b6;return this[_0x460e29(0x108)][_0x460e29(0xf5)][_0x460e29(0xfb)][_0x460e29(0x113)][_0x460e29(0xf7)]();}set[_0x5b09b6(0x110)](_0x375861){const _0x582bde=_0x5b09b6;this[_0x582bde(0x108)][_0x582bde(0xf5)][_0x582bde(0xfb)][_0x582bde(0x113)]=_0x375861[_0x582bde(0xf7)]();}[_0x5b09b6(0x10c)](){const _0x4505a4=_0x5b09b6;this[_0x4505a4(0x108)][_0x4505a4(0xf5)][_0x4505a4(0xfb)][_0x4505a4(0x113)]='',this[_0x4505a4(0x108)][_0x4505a4(0x116)]=null;}[_0x5b09b6(0x101)](_0x32f5c1){const _0x4fc473=_0x5b09b6,_0x20525c=new _0x18fbf8(this[_0x4fc473(0xff)],_0x4b279f),_0x99bd77=_0x20525c[_0x4fc473(0xf5)];_0x99bd77[_0x4fc473(0xf8)]({'attributes':{'maxlength':_0x4fc473(0xf4)}});let _0x3b9c40=_0x2a999b(this[_0x4fc473(0xff)],_0x4fc473(0x107));return!_0x32f5c1&&(_0x3b9c40+='\x20('+_0x2a999b(this[_0x4fc473(0xff)],_0x4fc473(0xfa))+')'),(_0x20525c[_0x4fc473(0xfc)]=_0x3b9c40,_0x99bd77['on'](_0x4fc473(0x10e),()=>{const _0x4e288c=_0x4fc473;this[_0x4e288c(0x102)]=_0x99bd77[_0x4e288c(0xfb)][_0x4e288c(0x113)][_0x4e288c(0xf7)]();}),_0x20525c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1e14(_0x4a3ad9,_0xc3d078){const _0xc359f0=_0xc359();return _0x1e14=function(_0x1e14fa,_0x2dac29){_0x1e14fa=_0x1e14fa-0x6b;let _0xd8c3d4=_0xc359f0[_0x1e14fa];return _0xd8c3d4;},_0x1e14(_0x4a3ad9,_0xc3d078);}const _0x291e06=_0x1e14;(function(_0x26dec2,_0x5eb5ed){const _0x54eb19=_0x1e14,_0x4b1c86=_0x26dec2();while(!![]){try{const _0x5d5255=-parseInt(_0x54eb19(0x8f))/0x1+-parseInt(_0x54eb19(0x81))/0x2+-parseInt(_0x54eb19(0x9c))/0x3*(parseInt(_0x54eb19(0x7f))/0x4)+-parseInt(_0x54eb19(0x96))/0x5*(parseInt(_0x54eb19(0x7e))/0x6)+-parseInt(_0x54eb19(0x72))/0x7*(parseInt(_0x54eb19(0x7c))/0x8)+-parseInt(_0x54eb19(0x8d))/0x9+parseInt(_0x54eb19(0x79))/0xa*(parseInt(_0x54eb19(0x9e))/0xb);if(_0x5d5255===_0x5eb5ed)break;else _0x4b1c86['push'](_0x4b1c86['shift']());}catch(_0x3ef508){_0x4b1c86['push'](_0x4b1c86['shift']());}}}(_0xc359,0xd16ff));function _0xc359(){const _0x52c7d3=['showRevisionViewerCallback','set','Dialog','ck-button-action','bind','locale','history','RevisionHistoryUI','The\x20revision\x20name\x20cannot\x20be\x20empty.','requires','1523781gFqvKF','saveRevision','1388100gbLzvq','Open\x20revision\x20history','buttonView','editor','revisionName','isOpen','reset','770UYztHt','RevisionTracker','show','add','isEnabled','editing','204078TcMGzI','render','6494961cUoELP','revisionHistory.requireRevisionName','view','hide','init','plugins','_registerMenuComponent','menuBar:revisionHistory','addMany','submit','_createSaveRevisionFormView','Revision\x20history','get','Accept','Save\x20current\x20revision','isReadOnly','config','Cancel','revisionNameInputView','componentFactory','pluginName','delegate','role','revisionHistory','revisionSave','2601179ufmtHe','items','menuitem','focus','isReady','menu','_saveRevisionFormView','90uHMlrj','children','errorText','16KolQfX','_showDialog','23628gHKspM','4QbJFGP','panelView','2962246RZkqng','execute'];_0xc359=function(){return _0x52c7d3;};return _0xc359();}import{Plugin as _0x43c603,icons as _0xd6fcd2}from'ckeditor5/src/core.js';import{createDropdown as _0x4244ae,ButtonView as _0x2f36ed,ListItemView as _0x2b55e2,ListView as _0x3cd107,MenuBarMenuListItemButtonView as _0x58ed8,MenuBarMenuListItemView as _0x534b74,MenuBarMenuListView as _0xec36f6,MenuBarMenuView as _0x13738d}from'ckeditor5/src/ui.js';import _0x52c778 from'../../revisiontracker.js';import _0x237f4d from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x3a07c9}from'../../utils/common-translations.js';export default class u extends _0x43c603{static get[_0x291e06(0x6d)](){const _0x167c8f=_0x291e06;return _0x167c8f(0x8a);}static get[_0x291e06(0x8c)](){return[_0x52c778];}[_0x291e06(0xa2)](){const _0x24fa9=_0x291e06,_0x340564=this[_0x24fa9(0x92)],_0x13416f=_0x340564[_0x24fa9(0xa3)][_0x24fa9(0xaa)](_0x24fa9(0x97));_0x340564['ui'][_0x24fa9(0x6c)][_0x24fa9(0x99)](_0x24fa9(0x70),_0x24e5b7=>{const _0x4f77b9=_0x24fa9,_0x4442b9=_0x4244ae(_0x24e5b7),_0x471d71=_0x4442b9[_0x4f77b9(0x80)][_0x4f77b9(0x7a)],_0x5a71cb=new _0x3cd107(_0x24e5b7),_0x403478=new _0x2b55e2(_0x24e5b7),_0x303adc=new _0x2f36ed(_0x24e5b7),_0x59d656=new _0x2b55e2(_0x24e5b7),_0x4dba5e=new _0x2f36ed(_0x24e5b7);return _0x4442b9[_0x4f77b9(0x87)](_0x4f77b9(0x9a))['to'](_0x13416f,_0x4f77b9(0x76),_0x13416f,_0x4f77b9(0x9a),_0x340564,_0x4f77b9(0xad),(_0x51ae91,_0x49f9e4,_0x42a108)=>_0x51ae91&&_0x49f9e4&&!_0x42a108),_0x4442b9[_0x4f77b9(0x91)][_0x4f77b9(0x84)]({'icon':_0xd6fcd2[_0x4f77b9(0x89)],'label':_0x3a07c9(_0x24e5b7,_0x4f77b9(0xa9)),'tooltip':!0x0}),_0x303adc[_0x4f77b9(0x84)]({'label':_0x3a07c9(_0x24e5b7,_0x4f77b9(0xac)),'withText':!0x0,'role':_0x4f77b9(0x74)}),_0x303adc[_0x4f77b9(0x87)](_0x4f77b9(0x9a))['to'](_0x13416f,_0x4f77b9(0x76),_0x13416f,_0x4f77b9(0x9a),_0x340564,_0x4f77b9(0xad),(_0x50c21b,_0x452731,_0x39eb87)=>_0x50c21b&&_0x452731&&!_0x39eb87),_0x303adc['on'](_0x4f77b9(0x82),()=>this[_0x4f77b9(0x7d)]()),_0x4dba5e[_0x4f77b9(0x84)]({'label':_0x3a07c9(_0x24e5b7,_0x4f77b9(0x90)),'withText':!0x0,'role':_0x4f77b9(0x74)}),_0x4dba5e[_0x4f77b9(0x87)](_0x4f77b9(0x9a))['to'](_0x13416f,_0x4f77b9(0x76),_0x340564,_0x4f77b9(0xad),(_0x580918,_0x563842)=>_0x580918&&!_0x563842),_0x4dba5e['on'](_0x4f77b9(0x82),()=>{const _0x13451c=_0x4f77b9;_0x340564[_0x13451c(0xae)][_0x13451c(0xaa)](_0x13451c(0x70))[_0x13451c(0x83)](),_0x4442b9[_0x13451c(0x94)]=!0x1,_0x340564[_0x13451c(0x9b)][_0x13451c(0xa0)][_0x13451c(0x75)]();}),_0x403478[_0x4f77b9(0x7a)][_0x4f77b9(0x99)](_0x303adc),_0x59d656[_0x4f77b9(0x7a)][_0x4f77b9(0x99)](_0x4dba5e),_0x5a71cb[_0x4f77b9(0x6f)]=_0x4f77b9(0x77),_0x5a71cb[_0x4f77b9(0x73)][_0x4f77b9(0xa6)]([_0x403478,_0x59d656]),_0x471d71[_0x4f77b9(0x99)](_0x5a71cb),_0x4442b9;}),_0x340564['ui'][_0x24fa9(0x6c)][_0x24fa9(0x99)](_0x24fa9(0xa5),()=>this[_0x24fa9(0xa4)]());}[_0x291e06(0xa4)](){const _0x43f287=_0x291e06,_0x1af9ab=this[_0x43f287(0x92)],_0x3bcc1b=_0x1af9ab[_0x43f287(0x88)],_0x447c47=new _0x13738d(_0x3bcc1b),_0x52f518=new _0xec36f6(_0x3bcc1b);_0x447c47[_0x43f287(0x91)][_0x43f287(0x84)]({'icon':_0xd6fcd2[_0x43f287(0x89)],'label':_0x3a07c9(_0x3bcc1b,_0x43f287(0xa9))});const _0xef8208=new _0x534b74(_0x3bcc1b,_0x447c47),_0x37d48c=new _0x58ed8(_0x3bcc1b);_0x37d48c[_0x43f287(0x84)]({'label':_0x3a07c9(_0x3bcc1b,_0x43f287(0xac))}),_0x37d48c[_0x43f287(0x6e)](_0x43f287(0x82))['to'](_0x447c47),_0x37d48c['on'](_0x43f287(0x82),()=>{const _0x34031c=_0x43f287;this[_0x34031c(0x7d)]();}),_0xef8208[_0x43f287(0x7a)][_0x43f287(0x99)](_0x37d48c),_0x52f518[_0x43f287(0x73)][_0x43f287(0x99)](_0xef8208);const _0x31b1d4=new _0x534b74(_0x3bcc1b,_0x447c47),_0x3ad158=new _0x58ed8(_0x3bcc1b);return _0x3ad158[_0x43f287(0x84)]({'label':_0x3a07c9(_0x3bcc1b,_0x43f287(0x90))}),_0x3ad158[_0x43f287(0x6e)](_0x43f287(0x82))['to'](_0x447c47),_0x3ad158['on'](_0x43f287(0x82),()=>{const _0x3ea107=_0x43f287;_0x1af9ab[_0x3ea107(0xae)][_0x3ea107(0xaa)](_0x3ea107(0x70))[_0x3ea107(0x83)]();}),_0x31b1d4[_0x43f287(0x7a)][_0x43f287(0x99)](_0x3ad158),_0x52f518[_0x43f287(0x73)][_0x43f287(0x99)](_0x31b1d4),_0x447c47[_0x43f287(0x80)][_0x43f287(0x7a)][_0x43f287(0x99)](_0x52f518),_0x447c47;}[_0x291e06(0x7d)](){const _0x4b8a78=_0x291e06,_0x4074a4=this[_0x4b8a78(0x92)],_0x251213=_0x4074a4[_0x4b8a78(0x88)],_0x588869=_0x4074a4[_0x4b8a78(0xa3)][_0x4b8a78(0xaa)](_0x4b8a78(0x85)),_0x1646dc=_0x4074a4[_0x4b8a78(0xa3)][_0x4b8a78(0xaa)](_0x4b8a78(0x97));function _0x35e152(_0x1fd3d5){const _0x48cf5b=_0x4b8a78;_0x4074a4[_0x48cf5b(0xae)][_0x48cf5b(0xaa)](_0x48cf5b(0x9f))&&''===_0x1fd3d5[_0x48cf5b(0x93)]?_0x1fd3d5[_0x48cf5b(0x6b)][_0x48cf5b(0x7b)]=_0x3a07c9(_0x251213,_0x48cf5b(0x8b)):(_0x4074a4[_0x48cf5b(0xa3)][_0x48cf5b(0xaa)](_0x52c778)[_0x48cf5b(0x8e)]({'name':_0x1fd3d5[_0x48cf5b(0x93)]}),_0x588869[_0x48cf5b(0xa1)]());}this[_0x4b8a78(0x78)]||(this[_0x4b8a78(0xa8)](),this[_0x4b8a78(0x78)]['on'](_0x4b8a78(0xa7),()=>_0x35e152(this[_0x4b8a78(0x78)]))),this[_0x4b8a78(0x78)][_0x4b8a78(0x95)](),_0x588869[_0x4b8a78(0x98)]({'id':_0x4b8a78(0x71),'title':_0x3a07c9(_0x251213,_0x4b8a78(0xac)),'isModal':!0x0,'content':this[_0x4b8a78(0x78)],'actionButtons':[{'label':_0x3a07c9(_0x4074a4[_0x4b8a78(0x88)],_0x4b8a78(0xaf)),'withText':!0x0,'onExecute':()=>_0x588869[_0x4b8a78(0xa1)]()},{'label':_0x3a07c9(_0x4074a4[_0x4b8a78(0x88)],_0x4b8a78(0xab)),'class':_0x4b8a78(0x86),'withText':!0x0,'onCreate'(_0x13ade7){const _0x2719c0=_0x4b8a78;_0x13ade7[_0x2719c0(0x87)](_0x2719c0(0x9a))['to'](_0x1646dc,_0x2719c0(0x76),_0x1646dc,_0x2719c0(0x9a),_0x4074a4,_0x2719c0(0xad),(_0x158f1b,_0x4ae249,_0x1b753b)=>_0x158f1b&&_0x4ae249&&!_0x1b753b);},'onExecute':()=>_0x35e152(this[_0x4b8a78(0x78)])}]});}[_0x291e06(0xa8)](){const _0x3b79c0=_0x291e06,_0x5a3eee=this[_0x3b79c0(0x92)],_0x325841=_0x5a3eee[_0x3b79c0(0x88)];this[_0x3b79c0(0x78)]=new _0x237f4d(_0x325841,_0x5a3eee[_0x3b79c0(0xae)][_0x3b79c0(0xaa)](_0x3b79c0(0x9f))),this[_0x3b79c0(0x78)][_0x3b79c0(0x9d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x7131f6=_0x344e;(function(_0x5ab615,_0x2e4630){const _0x1765a4=_0x344e,_0x49bb0e=_0x5ab615();while(!![]){try{const _0x1c7e6e=parseInt(_0x1765a4(0xc2))/0x1*(-parseInt(_0x1765a4(0xe2))/0x2)+-parseInt(_0x1765a4(0xc1))/0x3+-parseInt(_0x1765a4(0xea))/0x4+-parseInt(_0x1765a4(0xf8))/0x5+parseInt(_0x1765a4(0xe9))/0x6+parseInt(_0x1765a4(0xce))/0x7*(parseInt(_0x1765a4(0xc5))/0x8)+parseInt(_0x1765a4(0xf3))/0x9;if(_0x1c7e6e===_0x2e4630)break;else _0x49bb0e['push'](_0x49bb0e['shift']());}catch(_0x3e6390){_0x49bb0e['push'](_0x49bb0e['shift']());}}}(_0x37d1,0x70f61));import{Plugin as _0x57faad}from'ckeditor5/src/core.js';function _0x344e(_0x1f8f63,_0x486114){const _0x37d11a=_0x37d1();return _0x344e=function(_0x344eea,_0x3f4b6c){_0x344eea=_0x344eea-0xc0;let _0x413552=_0x37d11a[_0x344eea];return _0x413552;},_0x344e(_0x1f8f63,_0x486114);}import _0x23f178 from'./revisionssidebarview.js';import _0x49196e from'../../revisionviewer.js';class w extends _0x57faad{static get[_0x7131f6(0xfb)](){const _0x56081f=_0x7131f6;return _0x56081f(0x105);}static get[_0x7131f6(0xcc)](){return[_0x49196e];}constructor(_0x41b848){const _0x3bc282=_0x7131f6;super(_0x41b848),this[_0x3bc282(0x107)]=_0x41b848[_0x3bc282(0xd4)][_0x3bc282(0xf2)](_0x49196e),this[_0x3bc282(0xc9)]=this[_0x3bc282(0x107)][_0x3bc282(0xd9)],this[_0x3bc282(0x108)]=null;}[_0x7131f6(0x10d)](){const _0x5afde6=_0x7131f6,_0x39d344=this[_0x5afde6(0xc9)][_0x5afde6(0xca)],_0x28e6dd=this[_0x5afde6(0xe7)](),_0x599435=this[_0x5afde6(0xf4)][_0x5afde6(0xd3)][_0x5afde6(0xf2)](_0x5afde6(0xc3));this[_0x5afde6(0x108)]=new _0x23f178(this[_0x5afde6(0xf4)][_0x5afde6(0xf0)],_0x39d344,_0x28e6dd,this[_0x5afde6(0xf4)][_0x5afde6(0xd3)][_0x5afde6(0xf2)](_0x5afde6(0xdb))),this[_0x5afde6(0x108)]['on'](_0x5afde6(0xe4),this[_0x5afde6(0xd7)][_0x5afde6(0xfe)](this)),this[_0x5afde6(0x108)]['on'](_0x5afde6(0xf7),this[_0x5afde6(0xf9)][_0x5afde6(0xfe)](this)),this[_0x5afde6(0x108)][_0x5afde6(0xfe)](_0x5afde6(0xeb))['to'](this[_0x5afde6(0x107)]),this[_0x5afde6(0x108)][_0x5afde6(0x10f)]['on'](_0x5afde6(0x10a),(_0x25c16c,_0x154f97)=>{const _0x275fa2=_0x5afde6;_0x154f97[_0x275fa2(0xcd)]['on'](_0x275fa2(0x10a),(_0x52d035,_0x2774ad)=>{const _0xe54418=_0x275fa2;_0x2774ad[_0xe54418(0xfe)](_0xe54418(0xeb),_0xe54418(0x109))['to'](this[_0xe54418(0x107)]);});}),this[_0x5afde6(0x108)][_0x5afde6(0xd6)](),this[_0x5afde6(0xcf)](this[_0x5afde6(0xf4)][_0x5afde6(0x10c)],_0x5afde6(0x106),this[_0x5afde6(0xe3)][_0x5afde6(0xfe)](this)),this[_0x5afde6(0xcf)](this[_0x5afde6(0x107)],_0x5afde6(0xee),this[_0x5afde6(0x104)][_0x5afde6(0xfe)](this)),_0x599435[_0x5afde6(0xd2)](this[_0x5afde6(0x108)][_0x5afde6(0x10e)]);}[_0x7131f6(0xf6)](){const _0x187957=_0x7131f6;this[_0x187957(0x108)][_0x187957(0x10e)][_0x187957(0xff)](),this[_0x187957(0x108)][_0x187957(0xf6)]();}[_0x7131f6(0xe3)](){const _0x13e6dc=_0x7131f6,_0x493769=this[_0x13e6dc(0xc9)][_0x13e6dc(0xfd)](0x0);if(_0x493769){const _0x27c3c7=this[_0x13e6dc(0xc9)][_0x13e6dc(0xde)](_0x493769['id']);this[_0x13e6dc(0x107)][_0x13e6dc(0x100)](_0x493769,_0x27c3c7);}}[_0x7131f6(0xd7)](_0x5ce960,_0x3ed653){const _0x4085f6=_0x7131f6,_0x29f0a3=this[_0x4085f6(0xc9)][_0x4085f6(0xfd)](_0x3ed653['id']),_0x30e20d=this[_0x4085f6(0xc9)][_0x4085f6(0xde)](_0x29f0a3['id']);this[_0x4085f6(0x107)][_0x4085f6(0x100)](_0x29f0a3,_0x30e20d);}[_0x7131f6(0xf9)](_0x4ada95,_0x1e5a36){const _0x4a1ca5=_0x7131f6;this[_0x4a1ca5(0xc9)][_0x4a1ca5(0xfd)](_0x1e5a36['id'])[_0x4a1ca5(0xc0)](_0x1e5a36[_0x4a1ca5(0xdc)]);}[_0x7131f6(0x104)](_0x2c5087,_0x5b1ff3,_0x27e3e3){const _0x11dc3c=_0x7131f6,_0x1a3a35=this[_0x11dc3c(0xc9)][_0x11dc3c(0x102)](_0x27e3e3);_0x1a3a35[_0x11dc3c(0xd5)]>0x2?(this[_0x11dc3c(0x108)][_0x11dc3c(0xef)](_0x1a3a35),this[_0x11dc3c(0x108)][_0x11dc3c(0xd8)](null)):(this[_0x11dc3c(0x108)][_0x11dc3c(0xef)]([]),this[_0x11dc3c(0x108)][_0x11dc3c(0xd8)](_0x1a3a35[0x0]));}[_0x7131f6(0xe7)](){const _0x4f4951=_0x7131f6,_0x5596ef=this[_0x4f4951(0xf4)],_0xf2126f=w[_0x4f4951(0xf1)],_0x22e653=_0x5596ef[_0x4f4951(0xd3)][_0x4f4951(0xf2)](_0x4f4951(0xed))||w[_0x4f4951(0xe0)];if(_0x22e653[_0x4f4951(0xd5)])return _0x22e653[_0x4f4951(0xf5)](_0x30fd72=>{const _0x18ec95=_0x4f4951,_0x1d79b2=_0x18ec95(0xec)==typeof _0x30fd72?Object[_0x18ec95(0xfa)]({},_0xf2126f[_0x30fd72]):_0x30fd72;return _0x1d79b2[_0x18ec95(0xc4)]=_0x1d79b2[_0x18ec95(0xc4)][_0x18ec95(0xfe)](this,_0x5596ef),_0x1d79b2[_0x18ec95(0x103)]&&(_0x1d79b2[_0x18ec95(0x103)]=_0x1d79b2[_0x18ec95(0x103)][_0x18ec95(0xfe)](this,_0x5596ef)),_0x1d79b2;});}}w[_0x7131f6(0xe0)]=[_0x7131f6(0xe5),_0x7131f6(0x10b),_0x7131f6(0xfc)],w[_0x7131f6(0xf1)]={'compareAgainstSelected':{'name':_0x7131f6(0xd0),'action':({plugins:_0x3d78ce},_0x4adec1)=>{const _0x26b72a=_0x7131f6,_0x2dd11e=_0x3d78ce[_0x26b72a(0xf2)](_0x49196e),_0x25c73b=_0x2dd11e[_0x26b72a(0xd9)];let _0x18728a=_0x2dd11e[_0x26b72a(0xe1)][_0x26b72a(0xdf)],_0x2af043=_0x4adec1['id'];_0x25c73b[_0x26b72a(0xdd)](_0x18728a)>_0x25c73b[_0x26b72a(0xdd)](_0x2af043)&&([_0x18728a,_0x2af043]=[_0x2af043,_0x18728a]),_0x2dd11e[_0x26b72a(0x100)](_0x18728a,_0x2af043);},'isVisible':({plugins:_0x57a1c3},_0x1b289d)=>{const _0x1ef6a0=_0x7131f6,_0x22e56c=_0x57a1c3[_0x1ef6a0(0xf2)](_0x49196e);return!(_0x22e56c[_0x1ef6a0(0xd9)][_0x1ef6a0(0x102)](_0x22e56c[_0x1ef6a0(0xe1)])[_0x1ef6a0(0xd5)]>0x2||_0x1b289d[_0x1ef6a0(0xe8)]);}},'restoreRevision':{'name':_0x7131f6(0xc6),'action':(_0x55f46b,{id:_0x9e7c95})=>{const _0x4dae69=_0x7131f6;_0x55f46b[_0x4dae69(0xd3)][_0x4dae69(0xf2)](_0x4dae69(0xd1))[_0x4dae69(0xe6)](_0x9e7c95);},'isVisible':({plugins:_0x18faf0},_0x14815c)=>!!_0x18faf0[_0x7131f6(0xf2)](_0x49196e)[_0x7131f6(0xd9)][_0x7131f6(0xc7)](_0x14815c['id'])},'nameRevision':{'name':_0x7131f6(0x101),'action':({plugins:_0x23c470},{id:_0x14a011,revisionNameView:_0x178442})=>{const _0x2a6e1f=_0x7131f6,_0x486a6c=_0x23c470[_0x2a6e1f(0xf2)](_0x49196e),_0x3e62f2=_0x486a6c[_0x2a6e1f(0xd9)][_0x2a6e1f(0xde)](_0x14a011);_0x486a6c[_0x2a6e1f(0x100)](_0x14a011,_0x3e62f2),_0x178442[_0x2a6e1f(0xc8)](),_0x178442[_0x2a6e1f(0xda)][_0x2a6e1f(0xcb)]();}}};export default w;function _0x37d1(){const _0x3477b6=['revisionHistory','appendChild','config','plugins','length','render','_handleRevisionSelected','selectRevision','repository','fieldView','revisionHistory.requireRevisionName','name','getIndex','getEarlierVisibleRevision','newRevisionId','defaultRevisionActions','diff','1762514wfdyTy','_handleEditorDataReady','revisionSelected','compareAgainstSelected','restoreRevisionCallback','_createRevisionActions','isSelected','820800beDbvH','2604436ZjSWPu','isEnabled','string','revisionHistory.revisionActions','change:diff','highlightRevisions','locale','availableRevisionActions','get','19020195KqHsTo','editor','map','destroy','revisionSetName','2839650FeCwhe','_handleRevisionSetName','assign','pluginName','nameRevision','getRevision','bind','remove','compare','Name\x20this\x20revision','getRevisionsInDiff','isVisible','_handleDiffChange','RevisionsSidebar','ready','_revisionViewer','_sidebarView','isReady','add','restoreRevision','data','init','element','timePeriodViews','setName','1135014RMeKob','1AvaTGd','revisionHistory.viewerSidebarContainer','action','691168dpWAyi','Restore\x20this\x20revision','getLaterVisibleRevision','focus','_revisionsRepository','_revisions','select','requires','revisionViews','56bpMjSK','listenTo','Compare\x20against\x20selected'];_0x37d1=function(){return _0x3477b6;};return _0x37d1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x481341,_0x1d725c){const _0x24087f=_0x2767,_0x26a34e=_0x481341();while(!![]){try{const _0x29252e=parseInt(_0x24087f(0x166))/0x1*(-parseInt(_0x24087f(0x165))/0x2)+parseInt(_0x24087f(0x162))/0x3*(parseInt(_0x24087f(0x171))/0x4)+-parseInt(_0x24087f(0x174))/0x5+-parseInt(_0x24087f(0x172))/0x6+-parseInt(_0x24087f(0x164))/0x7*(-parseInt(_0x24087f(0x175))/0x8)+-parseInt(_0x24087f(0x163))/0x9*(-parseInt(_0x24087f(0x170))/0xa)+-parseInt(_0x24087f(0x161))/0xb*(-parseInt(_0x24087f(0x16f))/0xc);if(_0x29252e===_0x1d725c)break;else _0x26a34e['push'](_0x26a34e['shift']());}catch(_0x4fafb5){_0x26a34e['push'](_0x26a34e['shift']());}}}(_0x2371,0xa73f6));import{View as _0x4704f9,IconView as _0x5c6629}from'ckeditor5/src/ui.js';function _0x2371(){const _0x22b766=['div','content','ck-revision-history-sidebar__header__label','ck-revision-history-sidebar__header','Revision\x20history','setTemplate','4104QufYKJ','10zpSmPm','54856eCIBxu','176064tavtwj','span','2298180qIwJST','1532040thUdUp','539DCvdgJ','222XtiPwQ','4561047OrtGmW','7WNujmV','158816YtUxKd','7EyLgYv','history','ck-reset_all'];_0x2371=function(){return _0x22b766;};return _0x2371();}import{getTranslation as _0x4b1ece}from'../../utils/common-translations.js';import{icons as _0x15e3c7}from'ckeditor5/src/core.js';function _0x2767(_0x32471e,_0x5d6ecf){const _0x23719b=_0x2371();return _0x2767=function(_0x276723,_0x3e2662){_0x276723=_0x276723-0x161;let _0xcba3cd=_0x23719b[_0x276723];return _0xcba3cd;},_0x2767(_0x32471e,_0x5d6ecf);}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class as extends _0x4704f9{constructor(_0x20f8bc){const _0x14d016=_0x2767;super(_0x20f8bc);const _0x160a68=new _0x5c6629();_0x160a68[_0x14d016(0x16a)]=_0x15e3c7[_0x14d016(0x167)],this[_0x14d016(0x16e)]({'tag':_0x14d016(0x169),'attributes':{'class':['ck',_0x14d016(0x168),_0x14d016(0x16c)]},'children':[_0x160a68,{'tag':_0x14d016(0x173),'attributes':{'class':['ck',_0x14d016(0x16b)]},'children':[_0x4b1ece(_0x20f8bc,_0x14d016(0x16d))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x558669=_0x2ee6;(function(_0x2b3404,_0x20d971){const _0x107f38=_0x2ee6,_0x390cbd=_0x2b3404();while(!![]){try{const _0x55e08d=-parseInt(_0x107f38(0x210))/0x1+-parseInt(_0x107f38(0x20f))/0x2*(parseInt(_0x107f38(0x200))/0x3)+-parseInt(_0x107f38(0x1fd))/0x4+parseInt(_0x107f38(0x211))/0x5*(-parseInt(_0x107f38(0x1fb))/0x6)+-parseInt(_0x107f38(0x205))/0x7+parseInt(_0x107f38(0x202))/0x8*(parseInt(_0x107f38(0x1fc))/0x9)+parseInt(_0x107f38(0x1ff))/0xa;if(_0x55e08d===_0x20d971)break;else _0x390cbd['push'](_0x390cbd['shift']());}catch(_0x44d8ef){_0x390cbd['push'](_0x390cbd['shift']());}}}(_0x59f6,0xd0d08));import{View as _0x473d31}from'ckeditor5/src/ui.js';import _0x1c1506 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x1556c2}from'./utils.js';function _0x2ee6(_0x209ba5,_0x52dbe9){const _0x59f67a=_0x59f6();return _0x2ee6=function(_0x2ee629,_0xdc307e){_0x2ee629=_0x2ee629-0x1f2;let _0x591079=_0x59f67a[_0x2ee629];return _0x591079;},_0x2ee6(_0x209ba5,_0x52dbe9);}import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';function _0x59f6(){const _0x14aece=['remove','createCollection','setName','localizedPeriodName','span','setTemplate','removeRevision','delegate','ck-revision-history-sidebar__time-period','1421056yOiaFM','1101620rbYyqs','10OSomdu','_revisionActions','addRevision','ck-revision-history-sidebar__time-period__revisions','_requireRevisionName','select','startDate','ck-revision-history-sidebar__time-period__label','add','find','2418822bxoNbj','9eaaggu','1078960JqplqF','revisionViews','44142170xbQgQY','6pgJYlX','div','2601976fdHNCk','uiLanguage','locale','1998290IOtUOk'];_0x59f6=function(){return _0x14aece;};return _0x59f6();}export default class mi extends _0x473d31{constructor(_0xd10912,_0x4408f2,_0x41851b,_0x5df536){const _0x5267cf=_0x2ee6;super(_0xd10912);const _0x2acf97=_0x1556c2(_0x4408f2,this[_0x5267cf(0x204)][_0x5267cf(0x203)])[_0x5267cf(0x209)];this[_0x5267cf(0x1f7)]=_0x4408f2,this[_0x5267cf(0x1fe)]=this[_0x5267cf(0x207)](),this[_0x5267cf(0x1f2)]=_0x41851b,this[_0x5267cf(0x1f5)]=_0x5df536,this[_0x5267cf(0x1fe)][_0x5267cf(0x20d)](_0x5267cf(0x1f6))['to'](this),this[_0x5267cf(0x1fe)][_0x5267cf(0x20d)](_0x5267cf(0x208))['to'](this),this[_0x5267cf(0x20b)]({'tag':_0x5267cf(0x201),'attributes':{'class':['ck',_0x5267cf(0x20e)]},'children':[{'tag':_0x5267cf(0x20a),'attributes':{'class':['ck',_0x5267cf(0x1f8)]},'children':[{'text':_0x2acf97}]},{'tag':_0x5267cf(0x201),'attributes':{'class':['ck',_0x5267cf(0x1f4)]},'children':this[_0x5267cf(0x1fe)]}]});}[_0x558669(0x1f3)](_0x4400f3){const _0x575417=_0x558669,_0x3fc7bb=new _0x1c1506(this[_0x575417(0x204)],_0x4400f3,this[_0x575417(0x1f2)],this[_0x575417(0x1f5)]);this[_0x575417(0x1fe)][_0x575417(0x1f9)](_0x3fc7bb);}[_0x558669(0x20c)](_0xad5ee3){const _0x525ed0=_0x558669,_0x1d555f=this[_0x525ed0(0x1fe)][_0x525ed0(0x1fa)](_0x34a142=>_0x34a142['id']===_0xad5ee3['id']);this[_0x525ed0(0x1fe)][_0x525ed0(0x206)](_0x1d555f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f1546=_0x4288;function _0x1b40(){const _0x2fc965=['57170fncKTI','revisionSetName','11092506RmlEqT','get','_revisions','86654WZSyOG','set','ck-reset','deselect','unhighlight','ck-revision-history-sidebar__timeline','2244110BtROOJ','489090FLAqvz','_revisionActions','ck-rounded-corners','delegate','addRevision','8205120dlnoFI','2EMQhsd','revisionViews','some','_getTimePeriodViewByStartDate','297HPmpMu','getTime','highlightRevisions','timePeriodViews','384964HnegpL','render','_requireRevisionName','ck-revision-history-sidebar','find','fire','ck-disabled','setTemplate','isEnabled','highlight','div','184GBWRCP','select','_addRevision','uiLanguage','revisionSelected','startDate','selectRevision','flat','setName','bindTemplate','remove','createCollection','15LNSOTy','_removeRevision','createdAt','map','removeRevision','locale','add'];_0x1b40=function(){return _0x2fc965;};return _0x1b40();}(function(_0x2c6834,_0x1dca77){const _0x144161=_0x4288,_0x1aff09=_0x2c6834();while(!![]){try{const _0x34b3a5=-parseInt(_0x144161(0x11c))/0x1*(-parseInt(_0x144161(0x10f))/0x2)+-parseInt(_0x144161(0x103))/0x3*(parseInt(_0x144161(0x124))/0x4)+parseInt(_0x144161(0x11b))/0x5+-parseInt(_0x144161(0x10c))/0x6+-parseInt(_0x144161(0x116))/0x7*(-parseInt(_0x144161(0xf7))/0x8)+-parseInt(_0x144161(0x120))/0x9*(-parseInt(_0x144161(0x10a))/0xa)+-parseInt(_0x144161(0x115))/0xb;if(_0x34b3a5===_0x1dca77)break;else _0x1aff09['push'](_0x1aff09['shift']());}catch(_0xc00ebb){_0x1aff09['push'](_0x1aff09['shift']());}}}(_0x1b40,0xf18c7));import{View as _0x46fcd3}from'ckeditor5/src/ui.js';import _0x236871 from'./revisionssidebartimeperiodview.js';import _0x2a1fc2 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x1d2645}from'./utils.js';function _0x4288(_0x33e321,_0x33d1f3){const _0x1b40a0=_0x1b40();return _0x4288=function(_0x428822,_0x89f70e){_0x428822=_0x428822-0xf5;let _0x59e1b2=_0x1b40a0[_0x428822];return _0x59e1b2;},_0x4288(_0x33e321,_0x33d1f3);}import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0x46fcd3{constructor(_0x1f18db,_0x222ed5,_0x4ab6bd,_0x3adfad){const _0x183919=_0x4288;super(_0x1f18db);const _0x613c6e=this[_0x183919(0x100)];this[_0x183919(0x123)]=this[_0x183919(0x102)](),this[_0x183919(0x123)][_0x183919(0x119)](_0x183919(0xf8))['to'](this),this[_0x183919(0x123)][_0x183919(0x119)](_0x183919(0xff))['to'](this),this[_0x183919(0x10e)]=_0x222ed5,this[_0x183919(0x117)]=_0x4ab6bd,this[_0x183919(0x126)]=_0x3adfad,this['on'](_0x183919(0xf8),(_0xfbe2fc,_0x23aae0)=>{const _0x3da63c=_0x183919;this[_0x3da63c(0x129)](_0x3da63c(0xfb),_0x23aae0);}),this['on'](_0x183919(0xff),(_0x1dd893,_0x39890d)=>{const _0x4523a0=_0x183919;this[_0x4523a0(0x129)](_0x4523a0(0x10b),_0x39890d);}),this[_0x183919(0x110)](_0x183919(0x12c),!0x1),this[_0x183919(0x12b)]({'tag':_0x183919(0xf6),'attributes':{'class':['ck',_0x183919(0x111),_0x183919(0x118),_0x183919(0x127)]},'children':[new _0x2a1fc2(_0x1f18db),{'tag':_0x183919(0xf6),'attributes':{'class':['ck',_0x183919(0x114),_0x613c6e['if'](_0x183919(0x12c),_0x183919(0x12a),_0x35aaf9=>!_0x35aaf9)]},'children':this[_0x183919(0x123)]}]});}[_0x2f1546(0x125)](){const _0x5e0ab5=_0x2f1546;super[_0x5e0ab5(0x125)]();for(const _0x4b0b24 of this[_0x5e0ab5(0x10e)])this[_0x5e0ab5(0xf9)](_0x4b0b24);this[_0x5e0ab5(0x10e)]['on'](_0x5e0ab5(0x109),(_0x35f1f8,_0x1d3a8)=>{const _0x1dad9a=_0x5e0ab5;this[_0x1dad9a(0xf9)](_0x1d3a8);}),this[_0x5e0ab5(0x10e)]['on'](_0x5e0ab5(0x101),(_0x5c8a81,_0x1a9c38)=>{const _0x5d1cf5=_0x5e0ab5;this[_0x5d1cf5(0x104)](_0x1a9c38);});}get[_0x2f1546(0x11d)](){const _0x418b26=_0x2f1546;return this[_0x418b26(0x123)][_0x418b26(0x106)](_0x227756=>_0x227756[_0x418b26(0x11d)][_0x418b26(0x106)](_0x5364d1=>_0x5364d1))[_0x418b26(0xfe)]();}[_0x2f1546(0xfd)](_0x2010c5){const _0x49783a=_0x2f1546;for(const _0x47bae5 of this[_0x49783a(0x11d)])_0x2010c5&&_0x2010c5['id']===_0x47bae5['id']?_0x47bae5[_0x49783a(0xf8)]():_0x47bae5[_0x49783a(0x112)]();}[_0x2f1546(0x122)](_0x4ce487){const _0x517a63=_0x2f1546;for(const _0x2fa85b of this[_0x517a63(0x11d)])_0x4ce487[_0x517a63(0x11e)](({id:_0x46d154})=>_0x46d154===_0x2fa85b['id'])?_0x2fa85b[_0x517a63(0xf5)]():_0x2fa85b[_0x517a63(0x113)]();}[_0x2f1546(0xf9)](_0x371030){const _0x123eb1=_0x2f1546,_0x15f40d=_0x1d2645(_0x371030[_0x123eb1(0x105)],this[_0x123eb1(0x108)][_0x123eb1(0xfa)])[_0x123eb1(0xfc)];let _0x1f97b9=this[_0x123eb1(0x123)][_0x123eb1(0x10d)](0x0);_0x1f97b9&&_0x1f97b9[_0x123eb1(0xfc)][_0x123eb1(0x121)]()===_0x15f40d[_0x123eb1(0x121)]()||(_0x1f97b9=new _0x236871(this[_0x123eb1(0x108)],_0x15f40d,this[_0x123eb1(0x117)],this[_0x123eb1(0x126)]),this[_0x123eb1(0x123)][_0x123eb1(0x109)](_0x1f97b9)),_0x1f97b9[_0x123eb1(0x11a)](_0x371030);}[_0x2f1546(0x104)](_0x544c4d){const _0x488b1a=_0x2f1546,_0x1c8d52=_0x1d2645(_0x544c4d[_0x488b1a(0x105)],this[_0x488b1a(0x108)][_0x488b1a(0xfa)])[_0x488b1a(0xfc)];this[_0x488b1a(0x11f)](_0x1c8d52)[_0x488b1a(0x107)](_0x544c4d);}[_0x2f1546(0x11f)](_0x39bdae){const _0x11ee7b=_0x2f1546;return this[_0x11ee7b(0x123)][_0x11ee7b(0x128)](_0x3eabb9=>_0x3eabb9[_0x11ee7b(0xfc)][_0x11ee7b(0x121)]()===_0x39bdae[_0x11ee7b(0x121)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4740a5,_0x36a5b7){const _0xb7f1bc=_0x1396,_0x1151be=_0x4740a5();while(!![]){try{const _0x36e95c=parseInt(_0xb7f1bc(0x198))/0x1+-parseInt(_0xb7f1bc(0x1a2))/0x2*(-parseInt(_0xb7f1bc(0x19f))/0x3)+parseInt(_0xb7f1bc(0x1a0))/0x4+-parseInt(_0xb7f1bc(0x1a6))/0x5+parseInt(_0xb7f1bc(0x1a7))/0x6+parseInt(_0xb7f1bc(0x1a3))/0x7*(-parseInt(_0xb7f1bc(0x1a1))/0x8)+-parseInt(_0xb7f1bc(0x1ad))/0x9;if(_0x36e95c===_0x36a5b7)break;else _0x1151be['push'](_0x1151be['shift']());}catch(_0x59723c){_0x1151be['push'](_0x1151be['shift']());}}}(_0x5748,0xbef43));function _0x1396(_0x20b684,_0x2acedf){const _0x57480c=_0x5748();return _0x1396=function(_0x13969c,_0x345d0a){_0x13969c=_0x13969c-0x197;let _0x45da26=_0x57480c[_0x13969c];return _0x45da26;},_0x1396(_0x20b684,_0x2acedf);}import{DateTime as _0x5ad60e}from'luxon';function _0x5748(){const _0x246b68=['minus','local','year','day','9bZnpsc','3315576NsoOkt','16GxTGtW','315806vGGMuO','3477215rWyatC','monthLong','toJSDate','7152820vFaaNZ','6956466dqNfQo','startOf','setLocale','toRelativeCalendar','hasSame','weekdayLong','7096446Oyqpyo','fromJSDate','1532681KKlhcn','week','month'];_0x5748=function(){return _0x246b68;};return _0x5748();}export function getDateTimePeriodInfo(_0x108a4f,_0x56fd45){const _0x40e65e=_0x1396,_0x4ea571=_0x5ad60e[_0x40e65e(0x197)](_0x108a4f)[_0x40e65e(0x1a9)](_0x56fd45),_0xc71339=_0x5ad60e[_0x40e65e(0x19c)](),_0x187d2e=_0xc71339[_0x40e65e(0x19b)]({'days':0x1})[_0x40e65e(0x1a8)](_0x40e65e(0x19e));let _0x19506b,_0x4dbd6f;return _0x4ea571[_0x40e65e(0x1ab)](_0xc71339,_0x40e65e(0x19e))?(_0x19506b=_0x4ea571[_0x40e65e(0x1a8)](_0x40e65e(0x19e))[_0x40e65e(0x1a5)](),_0x4dbd6f=_0x4ea571[_0x40e65e(0x1aa)]()):_0x4ea571[_0x40e65e(0x1ab)](_0x187d2e,_0x40e65e(0x19e))?(_0x19506b=_0x187d2e[_0x40e65e(0x1a5)](),_0x4dbd6f=_0x4ea571[_0x40e65e(0x1aa)]()):_0x4ea571[_0x40e65e(0x1ab)](_0xc71339,_0x40e65e(0x199))?(_0x19506b=_0x4ea571[_0x40e65e(0x1a8)](_0x40e65e(0x199))[_0x40e65e(0x1a5)](),_0x4dbd6f=_0x4ea571[_0x40e65e(0x1ac)]||''):_0x4ea571[_0x40e65e(0x1ab)](_0xc71339,_0x40e65e(0x19d))?(_0x19506b=_0x4ea571[_0x40e65e(0x1a8)](_0x40e65e(0x19a))[_0x40e65e(0x1a5)](),_0x4dbd6f=_0x4ea571[_0x40e65e(0x1a4)]||''):(_0x19506b=_0x4ea571[_0x40e65e(0x1a8)](_0x40e65e(0x19d))[_0x40e65e(0x1a5)](),_0x4dbd6f=String(_0x4ea571[_0x40e65e(0x19d)])),{'startDate':_0x19506b,'localizedPeriodName':_0x4dbd6f};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x223c6e=_0x5ef4;function _0x6cef(){const _0x2803d7=['53952MpawOf','112584tgJmwi','setTemplate','data','type','ck-annotation','add','3001570GUxCZP','1527631ZSXYXy','ck-revision-change__label','div','set','Added\x20by','847320GHsqJr','9PkBRyw','232476TIvwpu','Removed\x20by','focus','508936zvqdJa','name','changeId','author','bindTemplate','5AHMlRy','span','2WECPVG','Suggested\x20by','element','ck-revision-change__','ck-revision-change','_model','isSuggestion'];_0x6cef=function(){return _0x2803d7;};return _0x6cef();}function _0x5ef4(_0x1c97cc,_0x39b69d){const _0x6ceff4=_0x6cef();return _0x5ef4=function(_0x5ef43d,_0x3c4b52){_0x5ef43d=_0x5ef43d-0x18f;let _0x17955e=_0x6ceff4[_0x5ef43d];return _0x17955e;},_0x5ef4(_0x1c97cc,_0x39b69d);}(function(_0x4a04ed,_0x4ec42c){const _0x506dc2=_0x5ef4,_0x31b149=_0x4a04ed();while(!![]){try{const _0x3ffb0f=-parseInt(_0x506dc2(0x1ad))/0x1*(-parseInt(_0x506dc2(0x197))/0x2)+-parseInt(_0x506dc2(0x1ab))/0x3+-parseInt(_0x506dc2(0x190))/0x4*(-parseInt(_0x506dc2(0x195))/0x5)+-parseInt(_0x506dc2(0x19e))/0x6+-parseInt(_0x506dc2(0x1a6))/0x7+-parseInt(_0x506dc2(0x19f))/0x8*(-parseInt(_0x506dc2(0x1ac))/0x9)+parseInt(_0x506dc2(0x1a5))/0xa;if(_0x3ffb0f===_0x4ec42c)break;else _0x31b149['push'](_0x31b149['shift']());}catch(_0x329d2a){_0x31b149['push'](_0x31b149['shift']());}}}(_0x6cef,0x281b3));import{View as _0xf90e29}from'ckeditor5/src/ui.js';import{getTranslation as _0x589782}from'../../utils/common-translations.js';export default class Z extends _0xf90e29{constructor(_0x4c3687,_0x19f671){const _0x47a90b=_0x5ef4;super(_0x4c3687),this[_0x47a90b(0x19c)]=_0x19f671,this[_0x47a90b(0x192)]=_0x19f671['id'];const _0x2d51bd=this[_0x47a90b(0x194)],_0x31c0f6=_0x589782(_0x4c3687,_0x19f671[_0x47a90b(0x1a1)][_0x47a90b(0x19d)]?_0x47a90b(0x198):_0x47a90b(0x1a4)==_0x19f671[_0x47a90b(0x1a2)]?_0x47a90b(0x1aa):_0x47a90b(0x1ae));this[_0x47a90b(0x1a9)](_0x47a90b(0x1a2),_0x19f671[_0x47a90b(0x1a2)]),this[_0x47a90b(0x1a0)]({'tag':_0x47a90b(0x1a8),'attributes':{'class':[_0x47a90b(0x1a3),_0x47a90b(0x19b),_0x2d51bd['to'](_0x47a90b(0x1a2),_0x398781=>_0x47a90b(0x19a)+_0x398781)],'tabindex':-0x1},'children':[{'tag':_0x47a90b(0x196),'children':[{'tag':_0x47a90b(0x196),'attributes':{'class':[_0x47a90b(0x1a7)]},'children':[{'text':_0x31c0f6}]},{'text':'\x20'+_0x19f671[_0x47a90b(0x193)][_0x47a90b(0x191)]}]}]});}[_0x223c6e(0x18f)](){const _0x1e5d05=_0x223c6e;this[_0x1e5d05(0x199)][_0x1e5d05(0x18f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x10f458,_0x7e2afb){const _0x2f3572=_0x5db0,_0x3cdcf5=_0x10f458();while(!![]){try{const _0x5d1849=parseInt(_0x2f3572(0xe2))/0x1+parseInt(_0x2f3572(0xdd))/0x2*(parseInt(_0x2f3572(0xb9))/0x3)+-parseInt(_0x2f3572(0xd8))/0x4+-parseInt(_0x2f3572(0xc0))/0x5*(parseInt(_0x2f3572(0xcc))/0x6)+-parseInt(_0x2f3572(0xdf))/0x7+parseInt(_0x2f3572(0xc4))/0x8+parseInt(_0x2f3572(0xcd))/0x9*(parseInt(_0x2f3572(0xe1))/0xa);if(_0x5d1849===_0x7e2afb)break;else _0x3cdcf5['push'](_0x3cdcf5['shift']());}catch(_0x9827){_0x3cdcf5['push'](_0x3cdcf5['shift']());}}}(_0x922a,0x6d9da));import{View as _0x3c4280,ButtonView as _0x460507,ToolbarSeparatorView as _0x20333c}from'ckeditor5/src/ui.js';function _0x922a(){const _0x423227=['isForwardNavigationEnabled','ck-revision-history-ui__changes-navigation__label','setTemplate','bind','currentChangeNumber','Loading...','3511278lSxacJ','27vlcLZi','bindTemplate','fire','ck-revision-history-ui__changes-navigation__navigation','set','_statusText','execute','forward','X_OF_Y_CHANGES','isReady','span','3195424BjrRZh','isBackwardNavigationEnabled','No\x20changes','EDIT_X_OF_Y_REVISIONS','numberOfChanges','1640234Awcjcp','ck-revision-history-ui','3910669oFJagR','_isStatusLabelVisible','3842590uJxbZl','74833buzFHd','isNavigationMode','3XaljEq','div','ck-hidden','NUMBER_OF_CHANGES','backward','isEnabled','Total','5cUfYea','Show\x20previous\x20change','Show\x20next\x20change','ck-revision-history-ui__changes-navigation__wrapper','2751960YPxgbt','ck-revision-history-ui__changes-navigation'];_0x922a=function(){return _0x423227;};return _0x922a();}function _0x5db0(_0x5a390c,_0x163484){const _0x922a26=_0x922a();return _0x5db0=function(_0x5db071,_0x2197a3){_0x5db071=_0x5db071-0xb9;let _0x2813e0=_0x922a26[_0x5db071];return _0x2813e0;},_0x5db0(_0x5a390c,_0x163484);}import{getTranslation as _0x16fc3d}from'../../utils/common-translations.js';import _0xd4d078 from'../../../theme/icons/arrow-up.svg';import _0x3ef69d from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class _i extends _0x3c4280{constructor(_0xba2272){const _0xc236fc=_0x5db0;super(_0xba2272);const _0x2f8b2d=this[_0xc236fc(0xce)],_0x1f52e6=new _0x460507(_0xba2272),_0x5c34a9=new _0x460507(_0xba2272);this[_0xc236fc(0xd1)](_0xc236fc(0xe3),!0x1),this[_0xc236fc(0xd1)](_0xc236fc(0xd6),!0x1),this[_0xc236fc(0xd1)](_0xc236fc(0xca),0x0),this[_0xc236fc(0xd1)](_0xc236fc(0xdc),0x0),this[_0xc236fc(0xd1)](_0xc236fc(0xc6),!0x1),this[_0xc236fc(0xd1)](_0xc236fc(0xd9),!0x1),this[_0xc236fc(0xc9)](_0xc236fc(0xe0))['to'](this,_0xc236fc(0xd6),this,_0xc236fc(0xdc),(_0xa87bed,_0x33d5ee)=>_0xa87bed&&_0x33d5ee>0x0),this[_0xc236fc(0xc9)](_0xc236fc(0xd2))['to'](this,_0xc236fc(0xd6),this,_0xc236fc(0xca),this,_0xc236fc(0xdc),this,_0xc236fc(0xe3),(_0x599f93,_0x386e01,_0x451cce,_0x46aa0f)=>{const _0x46486a=_0xc236fc;if(!_0x599f93)return _0x16fc3d(_0xba2272,_0x46486a(0xcb));if(!_0x451cce)return _0x16fc3d(_0xba2272,_0x46486a(0xda));const _0x5ef011=_0x16fc3d(_0xba2272,_0x46486a(0xbc),_0x451cce);return _0x46aa0f?_0x16fc3d(_0xba2272,_0x46486a(0xd5),[_0x386e01+0x1,_0x451cce]):_0x5ef011;}),_0x1f52e6[_0xc236fc(0xd1)]({'label':_0x16fc3d(_0xba2272,_0xc236fc(0xc1)),'tooltip':!0x0,'icon':_0xd4d078}),_0x5c34a9[_0xc236fc(0xd1)]({'label':_0x16fc3d(_0xba2272,_0xc236fc(0xc2)),'tooltip':!0x0,'icon':_0x3ef69d}),_0x1f52e6[_0xc236fc(0xc9)](_0xc236fc(0xbe))['to'](this,_0xc236fc(0xd9)),_0x5c34a9[_0xc236fc(0xc9)](_0xc236fc(0xbe))['to'](this,_0xc236fc(0xc6)),_0x1f52e6['on'](_0xc236fc(0xd3),()=>this[_0xc236fc(0xcf)](_0xc236fc(0xd3),_0xc236fc(0xbd))),_0x5c34a9['on'](_0xc236fc(0xd3),()=>this[_0xc236fc(0xcf)](_0xc236fc(0xd3),_0xc236fc(0xd4))),this[_0xc236fc(0xc8)]({'tag':_0xc236fc(0xba),'attributes':{'class':['ck',_0xc236fc(0xde),_0xc236fc(0xc5)]},'children':[{'tag':_0xc236fc(0xd7),'attributes':{'class':[_0xc236fc(0xc3)]},'children':[{'tag':_0xc236fc(0xd7),'attributes':{'class':[_0xc236fc(0xc7),_0x2f8b2d['if'](_0xc236fc(0xe0),_0xc236fc(0xbb),_0x2cd014=>!_0x2cd014)]},'children':[{'text':_0x2f8b2d['to'](_0xc236fc(0xe3),_0x53a4b0=>_0x53a4b0?_0x16fc3d(_0xba2272,_0xc236fc(0xdb))+':\x20':_0x16fc3d(_0xba2272,_0xc236fc(0xbf))+':\x20')}]},{'text':_0x2f8b2d['to'](_0xc236fc(0xd2))}]},new _0x20333c(),{'tag':_0xc236fc(0xba),'attributes':{'class':[_0xc236fc(0xd0)]},'children':[_0x1f52e6,_0x5c34a9]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5405f=_0x466e;function _0x466e(_0x38c430,_0x1676ea){const _0x5f021d=_0x5f02();return _0x466e=function(_0x466ec5,_0x1df2e9){_0x466ec5=_0x466ec5-0x11d;let _0x5a3eef=_0x5f021d[_0x466ec5];return _0x5a3eef;},_0x466e(_0x38c430,_0x1676ea);}(function(_0x57b391,_0x81b051){const _0x1eef70=_0x466e,_0x2a0238=_0x57b391();while(!![]){try{const _0x1d675c=-parseInt(_0x1eef70(0x125))/0x1+-parseInt(_0x1eef70(0x132))/0x2+-parseInt(_0x1eef70(0x12b))/0x3*(-parseInt(_0x1eef70(0x11d))/0x4)+parseInt(_0x1eef70(0x12f))/0x5*(parseInt(_0x1eef70(0x12d))/0x6)+parseInt(_0x1eef70(0x126))/0x7*(-parseInt(_0x1eef70(0x12a))/0x8)+parseInt(_0x1eef70(0x133))/0x9+parseInt(_0x1eef70(0x12c))/0xa;if(_0x1d675c===_0x81b051)break;else _0x2a0238['push'](_0x2a0238['shift']());}catch(_0x3d56a0){_0x2a0238['push'](_0x2a0238['shift']());}}}(_0x5f02,0x3d49e));import{Plugin as _0x45ce58}from'ckeditor5/src/core.js';function _0x5f02(){const _0x1adebf=['44796YDoxXb','hide','60bPARLP','document','removeClass','152442cHHPrY','929646QQBfim','20eqdnnp','RevisionViewerLoadingOverlay','view','editor','ck-editor__editable__loading-overlay','pluginName','roots','show','58429phyYpc','449862OCVPsb','editing','change','addClass','56YMGmwf','37218UIKpQK','5806340TCfCyt'];_0x5f02=function(){return _0x1adebf;};return _0x5f02();}const ce=_0x5405f(0x121);import'../../../theme/revisionviewerloadingoverlay.css';export default class de extends _0x45ce58{static get[_0x5405f(0x122)](){const _0x114495=_0x5405f;return _0x114495(0x11e);}[_0x5405f(0x124)](){const _0x3a790c=_0x5405f,_0x1795fc=this[_0x3a790c(0x120)][_0x3a790c(0x127)][_0x3a790c(0x11f)];_0x1795fc[_0x3a790c(0x128)](_0x5dd00a=>{const _0x3d2bb8=_0x3a790c;for(const _0x3adc2a of _0x1795fc[_0x3d2bb8(0x130)][_0x3d2bb8(0x123)])_0x5dd00a[_0x3d2bb8(0x129)](ce,_0x3adc2a);});}[_0x5405f(0x12e)](){const _0x4f96a2=_0x5405f,_0x8462e0=this[_0x4f96a2(0x120)][_0x4f96a2(0x127)][_0x4f96a2(0x11f)];_0x8462e0[_0x4f96a2(0x128)](_0x45662a=>{const _0x47502d=_0x4f96a2;for(const _0x2400cb of _0x8462e0[_0x47502d(0x130)][_0x47502d(0x123)])_0x45662a[_0x47502d(0x131)](ce,_0x2400cb);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2361f1=_0x4faf;function _0x4faf(_0x2ef961,_0x31443d){const _0x17ec3b=_0x17ec();return _0x4faf=function(_0x4fafcb,_0x105e22){_0x4fafcb=_0x4fafcb-0x193;let _0x36a19f=_0x17ec3b[_0x4fafcb];return _0x36a19f;},_0x4faf(_0x2ef961,_0x31443d);}(function(_0x56ab5e,_0x1b8345){const _0x2198a7=_0x4faf,_0x422422=_0x56ab5e();while(!![]){try{const _0x1188a6=parseInt(_0x2198a7(0x1b9))/0x1+parseInt(_0x2198a7(0x19f))/0x2*(-parseInt(_0x2198a7(0x19d))/0x3)+-parseInt(_0x2198a7(0x193))/0x4*(-parseInt(_0x2198a7(0x1a9))/0x5)+parseInt(_0x2198a7(0x1c1))/0x6*(-parseInt(_0x2198a7(0x1b2))/0x7)+-parseInt(_0x2198a7(0x195))/0x8+-parseInt(_0x2198a7(0x1bd))/0x9+parseInt(_0x2198a7(0x1ac))/0xa;if(_0x1188a6===_0x1b8345)break;else _0x422422['push'](_0x422422['shift']());}catch(_0x5b6979){_0x422422['push'](_0x422422['shift']());}}}(_0x17ec,0xdd16b));import{icons as _0x50f2d5,Plugin as _0x35dcb1}from'ckeditor5/src/core.js';import{ButtonView as _0x33e2c0}from'ckeditor5/src/ui.js';import _0x55be7e from'./changesnavigationview.js';import _0xce3efc from'./../../revisionviewer.js';import _0x20791f from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x195432}from'../../utils/common-translations.js';function _0x17ec(){const _0x3ba040=['pluginName','9IxQFUU','listenTo','167758SWJaBy','isReady','add','Back\x20to\x20editing','RevisionViewerUI','init','undo','bind','componentFactory','Restore\x20this\x20revision','180pQFjil','restoreRevision','revisionHistory','20959320JlWIkJ','plugins','forward','change:isReady','changesNavigation','execute','71113sPFWXm','ck-revision-history-ui__back-to-editing','requires','config','editor','get','closeRevisionViewerCallback','217181EYoxol','numberOfChanges','showNextChange','commands','6732702REtRyW','exitToEditing','isEnabled','currentChangeNumber','396KyecWp','150272OQMUhz','set','8718184NhslWS','showPreviousChange','hide','isNavigationMode','show','isBackwardNavigationEnabled','isForwardNavigationEnabled'];_0x17ec=function(){return _0x3ba040;};return _0x17ec();}import'../../../theme/revisionviewer.css';export default class R extends _0x35dcb1{static get[_0x2361f1(0x19c)](){const _0x4d12df=_0x2361f1;return _0x4d12df(0x1a3);}static get[_0x2361f1(0x1b4)](){return[_0xce3efc,_0x20791f];}[_0x2361f1(0x1a4)](){const _0x3cf404=_0x2361f1,_0x416d83=this[_0x3cf404(0x1b6)],_0x1fefe0=_0x416d83[_0x3cf404(0x1ad)][_0x3cf404(0x1b7)](_0xce3efc),_0x2f546b=_0x416d83[_0x3cf404(0x1ad)][_0x3cf404(0x1b7)](_0x20791f);_0x416d83['ui'][_0x3cf404(0x1a7)][_0x3cf404(0x1a1)](_0x3cf404(0x1be),_0xfd1f5d=>{const _0x1a29ff=_0x3cf404,_0x34da8f=new _0x33e2c0(_0xfd1f5d);return _0x34da8f[_0x1a29ff(0x194)]({'label':_0x195432(_0xfd1f5d,_0x1a29ff(0x1a2)),'icon':_0x50f2d5[_0x1a29ff(0x1a5)],'withText':!0x0,'tooltip':!0x0,'class':_0x1a29ff(0x1b3)}),this[_0x1a29ff(0x19e)](_0x34da8f,_0x1a29ff(0x1b1),()=>{const _0x1a70bd=_0x1a29ff;_0x416d83[_0x1a70bd(0x1b5)][_0x1a70bd(0x1b7)](_0x1a70bd(0x1ab))[_0x1a70bd(0x1b8)]();}),_0x34da8f;}),_0x416d83['ui'][_0x3cf404(0x1a7)][_0x3cf404(0x1a1)](_0x3cf404(0x1aa),_0x194fb4=>{const _0x3a12b9=_0x3cf404,_0x463eda=new _0x33e2c0(_0x194fb4);return _0x463eda[_0x3a12b9(0x194)]({'label':_0x195432(_0x194fb4,_0x3a12b9(0x1a8)),'withText':!0x0,'tooltip':!0x0}),_0x463eda[_0x3a12b9(0x1a6)](_0x3a12b9(0x1bf))['to'](_0x416d83[_0x3a12b9(0x1bc)][_0x3a12b9(0x1b7)](_0x3a12b9(0x1aa))),this[_0x3a12b9(0x19e)](_0x463eda,_0x3a12b9(0x1b1),()=>_0x416d83[_0x3a12b9(0x1b1)](_0x3a12b9(0x1aa))),_0x463eda;}),_0x416d83['ui'][_0x3cf404(0x1a7)][_0x3cf404(0x1a1)](_0x3cf404(0x1b0),_0x2e16e9=>{const _0x1994da=_0x3cf404,_0x3e49a3=new _0x55be7e(_0x2e16e9),_0x881ca1=_0x416d83[_0x1994da(0x1bc)][_0x1994da(0x1b7)](_0x1994da(0x196)),_0x2c7c13=_0x416d83[_0x1994da(0x1bc)][_0x1994da(0x1b7)](_0x1994da(0x1bb));return _0x3e49a3[_0x1994da(0x1a6)](_0x1994da(0x19a))['to'](_0x881ca1,_0x1994da(0x1bf)),_0x3e49a3[_0x1994da(0x1a6)](_0x1994da(0x19b))['to'](_0x2c7c13,_0x1994da(0x1bf)),_0x3e49a3[_0x1994da(0x1a6)](_0x1994da(0x1a0),_0x1994da(0x1c0),_0x1994da(0x1ba),_0x1994da(0x198))['to'](_0x1fefe0),this[_0x1994da(0x19e)](_0x3e49a3,_0x1994da(0x1b1),(_0x5922a7,_0x152f06)=>{const _0xf4c98c=_0x1994da;_0x416d83[_0xf4c98c(0x1b1)](_0xf4c98c(0x1ae)===_0x152f06?_0xf4c98c(0x1bb):_0xf4c98c(0x196));}),_0x3e49a3;}),_0x2f546b[_0x3cf404(0x199)](),_0x1fefe0['on'](_0x3cf404(0x1af),(_0xdafd3b,_0x6a0e4b,_0x2bf8f5)=>{const _0x46fbec=_0x3cf404;_0x2bf8f5?_0x2f546b[_0x46fbec(0x197)]():_0x2f546b[_0x46fbec(0x199)]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0xbfb85c,_0x463884,_0x267e0c){const t=_0xbfb85c['t'];switch(_0x463884){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'},_0x267e0c);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x267e0c);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'';}}
|