@ckeditor/ckeditor5-revision-history 44.0.0-alpha.3 → 44.0.0-alpha.4
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/package.json +8 -8
- package/src/revisionsrepository.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/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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f50be=_0x1c18;function _0x384a(){const _0x5097ca=['startDate','ck-revision-history-sidebar__time-period__label','setTemplate','ck-revision-history-sidebar__time-period__revisions','455478BpvVZL','span','3388500PQsPTB','256176ucNSHp','_requireRevisionName','_revisionActions','setName','removeRevision','find','2985176yesMwS','ck-revision-history-sidebar__time-period','select','1702230msubFV','localizedPeriodName','28nMTOZJ','createCollection','add','363420LZGnzd','revisionViews','3239364pLEBof','locale','uiLanguage','addRevision','remove','delegate','div'];_0x384a=function(){return _0x5097ca;};return _0x384a();}(function(_0x486383,_0x1b54dc){const _0x500468=_0x1c18,_0x141e7b=_0x486383();while(!![]){try{const _0x506340=-parseInt(_0x500468(0x150))/0x1+parseInt(_0x500468(0x160))/0x2+-parseInt(_0x500468(0x152))/0x3+parseInt(_0x500468(0x15f))/0x4+parseInt(_0x500468(0x169))/0x5+-parseInt(_0x500468(0x15d))/0x6*(-parseInt(_0x500468(0x14d))/0x7)+parseInt(_0x500468(0x166))/0x8;if(_0x506340===_0x1b54dc)break;else _0x141e7b['push'](_0x141e7b['shift']());}catch(_0x3a4366){_0x141e7b['push'](_0x141e7b['shift']());}}}(_0x384a,0x86182));import{View as _0x4909f7}from'ckeditor5/src/ui.js';import _0x38cc42 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x3851d7}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';function _0x1c18(_0x35a038,_0x370f18){const _0x384a51=_0x384a();return _0x1c18=function(_0x1c1824,_0x2c2f42){_0x1c1824=_0x1c1824-0x14d;let _0x323425=_0x384a51[_0x1c1824];return _0x323425;},_0x1c18(_0x35a038,_0x370f18);}export default class vi extends _0x4909f7{constructor(_0x162ac4,_0x13c866,_0x5ed34e,_0x46b5fd){const _0x3c43c6=_0x1c18;super(_0x162ac4);const _0x1c7302=_0x3851d7(_0x13c866,this[_0x3c43c6(0x153)][_0x3c43c6(0x154)])[_0x3c43c6(0x16a)];this[_0x3c43c6(0x159)]=_0x13c866,this[_0x3c43c6(0x151)]=this[_0x3c43c6(0x14e)](),this[_0x3c43c6(0x162)]=_0x5ed34e,this[_0x3c43c6(0x161)]=_0x46b5fd,this[_0x3c43c6(0x151)][_0x3c43c6(0x157)](_0x3c43c6(0x168))['to'](this),this[_0x3c43c6(0x151)][_0x3c43c6(0x157)](_0x3c43c6(0x163))['to'](this),this[_0x3c43c6(0x15b)]({'tag':_0x3c43c6(0x158),'attributes':{'class':['ck',_0x3c43c6(0x167)]},'children':[{'tag':_0x3c43c6(0x15e),'attributes':{'class':['ck',_0x3c43c6(0x15a)]},'children':[{'text':_0x1c7302}]},{'tag':_0x3c43c6(0x158),'attributes':{'class':['ck',_0x3c43c6(0x15c)]},'children':this[_0x3c43c6(0x151)]}]});}[_0x2f50be(0x155)](_0x1ab6fe){const _0x557ebd=_0x2f50be,_0x5c5b57=new _0x38cc42(this[_0x557ebd(0x153)],_0x1ab6fe,this[_0x557ebd(0x162)],this[_0x557ebd(0x161)]);this[_0x557ebd(0x151)][_0x557ebd(0x14f)](_0x5c5b57);}[_0x2f50be(0x164)](_0x38d553){const _0x431008=_0x2f50be,_0x20ab53=this[_0x431008(0x151)][_0x431008(0x165)](_0x40ba6e=>_0x40ba6e['id']===_0x38d553['id']);this[_0x431008(0x151)][_0x431008(0x156)](_0x20ab53);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2121(){const _0x2097f5=['bindTemplate','revisionSelected','get','14IHmlov','deselect','setTemplate','removeRevision','locale','add','highlight','649112zojCnh','_revisions','_getTimePeriodViewByStartDate','startDate','unhighlight','select','highlightRevisions','ck-rounded-corners','setName','isEnabled','56040qAdPto','764atznVB','1806TorZRh','_requireRevisionName','738fJhEXG','div','fire','addRevision','ck-revision-history-sidebar__timeline','createdAt','_revisionActions','remove','delegate','_addRevision','timePeriodViews','ck-reset','getTime','selectRevision','find','set','ck-disabled','uiLanguage','52lfrrwD','808enBQnZ','860094QGKpMc','6361465HawRoV','415175EaHXAW','_removeRevision','revisionSetName','createCollection','map','revisionViews','some','render','ck-revision-history-sidebar','flat'];_0x2121=function(){return _0x2097f5;};return _0x2121();}const _0x4e678d=_0xbc8c;(function(_0x515da2,_0x517745){const _0x1541c1=_0xbc8c,_0x47d1de=_0x515da2();while(!![]){try{const _0x37bb76=parseInt(_0x1541c1(0x205))/0x1*(parseInt(_0x1541c1(0x1ef))/0x2)+parseInt(_0x1541c1(0x1f0))/0x3*(-parseInt(_0x1541c1(0x204))/0x4)+parseInt(_0x1541c1(0x1d0))/0x5+parseInt(_0x1541c1(0x1ce))/0x6+-parseInt(_0x1541c1(0x1dd))/0x7*(parseInt(_0x1541c1(0x1e4))/0x8)+parseInt(_0x1541c1(0x1f2))/0x9*(parseInt(_0x1541c1(0x1ee))/0xa)+-parseInt(_0x1541c1(0x1cf))/0xb;if(_0x37bb76===_0x517745)break;else _0x47d1de['push'](_0x47d1de['shift']());}catch(_0x16abe8){_0x47d1de['push'](_0x47d1de['shift']());}}}(_0x2121,0x3c185));import{View as _0x4bf362}from'ckeditor5/src/ui.js';import _0x40baa2 from'./revisionssidebartimeperiodview.js';function _0xbc8c(_0x3a0555,_0x5bd400){const _0x2121ee=_0x2121();return _0xbc8c=function(_0xbc8c54,_0x496d2f){_0xbc8c54=_0xbc8c54-0x1ce;let _0x29b708=_0x2121ee[_0xbc8c54];return _0x29b708;},_0xbc8c(_0x3a0555,_0x5bd400);}import _0x4084a0 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x2892f0}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class di extends _0x4bf362{constructor(_0x5547c7,_0x107d4e,_0x2d1f6b,_0x203451){const _0x3d3774=_0xbc8c;super(_0x5547c7);const _0x669df7=this[_0x3d3774(0x1da)];this[_0x3d3774(0x1fc)]=this[_0x3d3774(0x1d3)](),this[_0x3d3774(0x1fc)][_0x3d3774(0x1fa)](_0x3d3774(0x1e9))['to'](this),this[_0x3d3774(0x1fc)][_0x3d3774(0x1fa)](_0x3d3774(0x1ec))['to'](this),this[_0x3d3774(0x1e5)]=_0x107d4e,this[_0x3d3774(0x1f8)]=_0x2d1f6b,this[_0x3d3774(0x1f1)]=_0x203451,this['on'](_0x3d3774(0x1e9),(_0x2764af,_0x5dbe26)=>{const _0xb6ed77=_0x3d3774;this[_0xb6ed77(0x1f4)](_0xb6ed77(0x1db),_0x5dbe26);}),this['on'](_0x3d3774(0x1ec),(_0x4ca7b0,_0x32fde1)=>{const _0x38afb9=_0x3d3774;this[_0x38afb9(0x1f4)](_0x38afb9(0x1d2),_0x32fde1);}),this[_0x3d3774(0x201)](_0x3d3774(0x1ed),!0x1),this[_0x3d3774(0x1df)]({'tag':_0x3d3774(0x1f3),'attributes':{'class':['ck',_0x3d3774(0x1fd),_0x3d3774(0x1eb),_0x3d3774(0x1d8)]},'children':[new _0x4084a0(_0x5547c7),{'tag':_0x3d3774(0x1f3),'attributes':{'class':['ck',_0x3d3774(0x1f6),_0x669df7['if'](_0x3d3774(0x1ed),_0x3d3774(0x202),_0x5cc3e5=>!_0x5cc3e5)]},'children':this[_0x3d3774(0x1fc)]}]});}[_0x4e678d(0x1d7)](){const _0x597a45=_0x4e678d;super[_0x597a45(0x1d7)]();for(const _0x1710f6 of this[_0x597a45(0x1e5)])this[_0x597a45(0x1fb)](_0x1710f6);this[_0x597a45(0x1e5)]['on'](_0x597a45(0x1e2),(_0x517eca,_0x5b0b6b)=>{const _0x2f5635=_0x597a45;this[_0x2f5635(0x1fb)](_0x5b0b6b);}),this[_0x597a45(0x1e5)]['on'](_0x597a45(0x1f9),(_0x2c8c30,_0x5d1e03)=>{const _0x350bd5=_0x597a45;this[_0x350bd5(0x1d1)](_0x5d1e03);});}get[_0x4e678d(0x1d5)](){const _0x3cec0c=_0x4e678d;return this[_0x3cec0c(0x1fc)][_0x3cec0c(0x1d4)](_0x11f17e=>_0x11f17e[_0x3cec0c(0x1d5)][_0x3cec0c(0x1d4)](_0x1f68ec=>_0x1f68ec))[_0x3cec0c(0x1d9)]();}[_0x4e678d(0x1ff)](_0x13c2bb){const _0x5d7066=_0x4e678d;for(const _0x47a74d of this[_0x5d7066(0x1d5)])_0x13c2bb&&_0x13c2bb['id']===_0x47a74d['id']?_0x47a74d[_0x5d7066(0x1e9)]():_0x47a74d[_0x5d7066(0x1de)]();}[_0x4e678d(0x1ea)](_0x21b8fc){const _0x2ccfbb=_0x4e678d;for(const _0x418d50 of this[_0x2ccfbb(0x1d5)])_0x21b8fc[_0x2ccfbb(0x1d6)](({id:_0x207aa6})=>_0x207aa6===_0x418d50['id'])?_0x418d50[_0x2ccfbb(0x1e3)]():_0x418d50[_0x2ccfbb(0x1e8)]();}[_0x4e678d(0x1fb)](_0x7e0690){const _0x50553b=_0x4e678d,_0x3ab52d=_0x2892f0(_0x7e0690[_0x50553b(0x1f7)],this[_0x50553b(0x1e1)][_0x50553b(0x203)])[_0x50553b(0x1e7)];let _0x4c2bdc=this[_0x50553b(0x1fc)][_0x50553b(0x1dc)](0x0);_0x4c2bdc&&_0x4c2bdc[_0x50553b(0x1e7)][_0x50553b(0x1fe)]()===_0x3ab52d[_0x50553b(0x1fe)]()||(_0x4c2bdc=new _0x40baa2(this[_0x50553b(0x1e1)],_0x3ab52d,this[_0x50553b(0x1f8)],this[_0x50553b(0x1f1)]),this[_0x50553b(0x1fc)][_0x50553b(0x1e2)](_0x4c2bdc)),_0x4c2bdc[_0x50553b(0x1f5)](_0x7e0690);}[_0x4e678d(0x1d1)](_0xf6758b){const _0x4c8c02=_0x4e678d,_0x10e4c5=_0x2892f0(_0xf6758b[_0x4c8c02(0x1f7)],this[_0x4c8c02(0x1e1)][_0x4c8c02(0x203)])[_0x4c8c02(0x1e7)];this[_0x4c8c02(0x1e6)](_0x10e4c5)[_0x4c8c02(0x1e0)](_0xf6758b);}[_0x4e678d(0x1e6)](_0x3da11a){const _0x2c698c=_0x4e678d;return this[_0x2c698c(0x1fc)][_0x2c698c(0x200)](_0x4f8ca7=>_0x4f8ca7[_0x2c698c(0x1e7)][_0x2c698c(0x1fe)]()===_0x3da11a[_0x2c698c(0x1fe)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x39b3(_0x57d752,_0x27f26d){const _0x12b5e3=_0x12b5();return _0x39b3=function(_0x39b377,_0x5c5c25){_0x39b377=_0x39b377-0x1a5;let _0x2b320a=_0x12b5e3[_0x39b377];return _0x2b320a;},_0x39b3(_0x57d752,_0x27f26d);}(function(_0x527101,_0xf95d68){const _0x5c096=_0x39b3,_0x1eabb8=_0x527101();while(!![]){try{const _0x33a2be=parseInt(_0x5c096(0x1b0))/0x1+-parseInt(_0x5c096(0x1b5))/0x2*(parseInt(_0x5c096(0x1af))/0x3)+-parseInt(_0x5c096(0x1bb))/0x4*(-parseInt(_0x5c096(0x1ac))/0x5)+parseInt(_0x5c096(0x1bd))/0x6+parseInt(_0x5c096(0x1b6))/0x7*(-parseInt(_0x5c096(0x1ad))/0x8)+-parseInt(_0x5c096(0x1ba))/0x9*(parseInt(_0x5c096(0x1ae))/0xa)+parseInt(_0x5c096(0x1a6))/0xb;if(_0x33a2be===_0xf95d68)break;else _0x1eabb8['push'](_0x1eabb8['shift']());}catch(_0x2b5f39){_0x1eabb8['push'](_0x1eabb8['shift']());}}}(_0x12b5,0xa12d7));import{DateTime as _0x4c0ed6}from'luxon';function _0x12b5(){const _0x1fcf2d=['year','monthLong','156734QbMRYp','231rxFXVt','weekdayLong','startOf','month','27dSopus','1040zgaXmo','day','7727484ABPPWl','local','8352586ubKOhy','setLocale','week','toRelativeCalendar','hasSame','toJSDate','13250uVzMlR','319736bZiUIc','1148970kWjRMT','48BAPLxf','841417QSbycj','fromJSDate','minus'];_0x12b5=function(){return _0x1fcf2d;};return _0x12b5();}export function getDateTimePeriodInfo(_0x11a9de,_0x2531de){const _0x27362d=_0x39b3,_0x5eeaf5=_0x4c0ed6[_0x27362d(0x1b1)](_0x11a9de)[_0x27362d(0x1a7)](_0x2531de),_0x29b329=_0x4c0ed6[_0x27362d(0x1a5)](),_0x918d50=_0x29b329[_0x27362d(0x1b2)]({'days':0x1})[_0x27362d(0x1b8)](_0x27362d(0x1bc));let _0x293bbf,_0x81c329;return _0x5eeaf5[_0x27362d(0x1aa)](_0x29b329,_0x27362d(0x1bc))?(_0x293bbf=_0x5eeaf5[_0x27362d(0x1b8)](_0x27362d(0x1bc))[_0x27362d(0x1ab)](),_0x81c329=_0x5eeaf5[_0x27362d(0x1a9)]()):_0x5eeaf5[_0x27362d(0x1aa)](_0x918d50,_0x27362d(0x1bc))?(_0x293bbf=_0x918d50[_0x27362d(0x1ab)](),_0x81c329=_0x5eeaf5[_0x27362d(0x1a9)]()):_0x5eeaf5[_0x27362d(0x1aa)](_0x29b329,_0x27362d(0x1a8))?(_0x293bbf=_0x5eeaf5[_0x27362d(0x1b8)](_0x27362d(0x1a8))[_0x27362d(0x1ab)](),_0x81c329=_0x5eeaf5[_0x27362d(0x1b7)]||''):_0x5eeaf5[_0x27362d(0x1aa)](_0x29b329,_0x27362d(0x1b3))?(_0x293bbf=_0x5eeaf5[_0x27362d(0x1b8)](_0x27362d(0x1b9))[_0x27362d(0x1ab)](),_0x81c329=_0x5eeaf5[_0x27362d(0x1b4)]||''):(_0x293bbf=_0x5eeaf5[_0x27362d(0x1b8)](_0x27362d(0x1b3))[_0x27362d(0x1ab)](),_0x81c329=String(_0x5eeaf5[_0x27362d(0x1b3)])),{'startDate':_0x293bbf,'localizedPeriodName':_0x81c329};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ede1d=_0x5242;(function(_0x10225b,_0xf95151){const _0x45ecf5=_0x5242,_0x313a34=_0x10225b();while(!![]){try{const _0x16929d=parseInt(_0x45ecf5(0xcb))/0x1+-parseInt(_0x45ecf5(0xdf))/0x2*(-parseInt(_0x45ecf5(0xdd))/0x3)+parseInt(_0x45ecf5(0xd7))/0x4+-parseInt(_0x45ecf5(0xe7))/0x5+parseInt(_0x45ecf5(0xce))/0x6*(-parseInt(_0x45ecf5(0xdb))/0x7)+parseInt(_0x45ecf5(0xd9))/0x8+-parseInt(_0x45ecf5(0xcf))/0x9*(-parseInt(_0x45ecf5(0xe4))/0xa);if(_0x16929d===_0xf95151)break;else _0x313a34['push'](_0x313a34['shift']());}catch(_0x395ff0){_0x313a34['push'](_0x313a34['shift']());}}}(_0x3d62,0xc8426));import{View as _0x436e41}from'ckeditor5/src/ui.js';import{getTranslation as _0xfdf3f6}from'../../utils/common-translations.js';function _0x3d62(){const _0x3ec596=['ck-annotation','type','795128TOpKhl','span','data','6faXwFG','46251cvsaVK','focus','add','ck-revision-change','changeId','isSuggestion','name','element','1872884oRSoXf','ck-revision-change__label','4820224nvooqJ','setTemplate','7400183cpkGBP','ck-revision-change__','489hiijIq','_model','92cWxzwl','div','Added\x20by','bindTemplate','author','300yVRPKJ','Removed\x20by','Suggested\x20by','750570kFGNao','set'];_0x3d62=function(){return _0x3ec596;};return _0x3d62();}function _0x5242(_0x5dbe6f,_0x58a402){const _0x3d62e2=_0x3d62();return _0x5242=function(_0x524200,_0x86f1ed){_0x524200=_0x524200-0xca;let _0x4c17c1=_0x3d62e2[_0x524200];return _0x4c17c1;},_0x5242(_0x5dbe6f,_0x58a402);}export default class Y extends _0x436e41{constructor(_0x5e4cce,_0x1d8727){const _0x488b04=_0x5242;super(_0x5e4cce),this[_0x488b04(0xde)]=_0x1d8727,this[_0x488b04(0xd3)]=_0x1d8727['id'];const _0x1fb840=this[_0x488b04(0xe2)],_0x5daec6=_0xfdf3f6(_0x5e4cce,_0x1d8727[_0x488b04(0xcd)][_0x488b04(0xd4)]?_0x488b04(0xe6):_0x488b04(0xd1)==_0x1d8727[_0x488b04(0xca)]?_0x488b04(0xe1):_0x488b04(0xe5));this[_0x488b04(0xe8)](_0x488b04(0xca),_0x1d8727[_0x488b04(0xca)]),this[_0x488b04(0xda)]({'tag':_0x488b04(0xe0),'attributes':{'class':[_0x488b04(0xe9),_0x488b04(0xd2),_0x1fb840['to'](_0x488b04(0xca),_0x15ff37=>_0x488b04(0xdc)+_0x15ff37)],'tabindex':-0x1},'children':[{'tag':_0x488b04(0xcc),'children':[{'tag':_0x488b04(0xcc),'attributes':{'class':[_0x488b04(0xd8)]},'children':[{'text':_0x5daec6}]},{'text':'\x20'+_0x1d8727[_0x488b04(0xe3)][_0x488b04(0xd5)]}]}]});}[_0x2ede1d(0xd0)](){const _0x2186f1=_0x2ede1d;this[_0x2186f1(0xd6)][_0x2186f1(0xd0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xfa520d,_0x258f37){const _0x5189b2=_0x361a,_0x44123f=_0xfa520d();while(!![]){try{const _0x9e3db4=-parseInt(_0x5189b2(0x152))/0x1+parseInt(_0x5189b2(0x154))/0x2*(-parseInt(_0x5189b2(0x169))/0x3)+-parseInt(_0x5189b2(0x174))/0x4*(parseInt(_0x5189b2(0x156))/0x5)+parseInt(_0x5189b2(0x17a))/0x6*(-parseInt(_0x5189b2(0x165))/0x7)+-parseInt(_0x5189b2(0x16c))/0x8*(parseInt(_0x5189b2(0x15d))/0x9)+-parseInt(_0x5189b2(0x15f))/0xa*(parseInt(_0x5189b2(0x17b))/0xb)+parseInt(_0x5189b2(0x16e))/0xc;if(_0x9e3db4===_0x258f37)break;else _0x44123f['push'](_0x44123f['shift']());}catch(_0x32e988){_0x44123f['push'](_0x44123f['shift']());}}}(_0x2ed4,0x89935));function _0x361a(_0x1da856,_0x411291){const _0x2ed462=_0x2ed4();return _0x361a=function(_0x361a86,_0x4f148c){_0x361a86=_0x361a86-0x150;let _0x26eab0=_0x2ed462[_0x361a86];return _0x26eab0;},_0x361a(_0x1da856,_0x411291);}import{View as _0x1789f8,ButtonView as _0x237ca2,ToolbarSeparatorView as _0x56f470}from'ckeditor5/src/ui.js';import{getTranslation as _0x5f44a7}from'../../utils/common-translations.js';import _0x27f52a from'../../../theme/icons/arrow-up.svg';import _0x1a7608 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';function _0x2ed4(){const _0x4e9904=['5mZteRh','isEnabled','isForwardNavigationEnabled','EDIT_X_OF_Y_REVISIONS','bind','isReady','setTemplate','502479tMSazM','fire','10KsgYVi','div','ck-revision-history-ui__changes-navigation__wrapper','Loading...','NUMBER_OF_CHANGES','isBackwardNavigationEnabled','28KtFytn','span','forward','Total','1974072kAHjdf','set','ck-revision-history-ui','16WTaROf','ck-revision-history-ui__changes-navigation__navigation','41196084IFPwFr','backward','ck-revision-history-ui__changes-navigation__label','isNavigationMode','_isStatusLabelVisible','Show\x20previous\x20change','2138252ParYBP','numberOfChanges','ck-revision-history-ui__changes-navigation','bindTemplate','currentChangeNumber','Show\x20next\x20change','84006RHUhKc','11676247ccNYnW','X_OF_Y_CHANGES','ck-hidden','No\x20changes','447768QMyhRu','_statusText','2JajOax','execute'];_0x2ed4=function(){return _0x4e9904;};return _0x2ed4();}export default class ui extends _0x1789f8{constructor(_0x4429bc){const _0x3b02ec=_0x361a;super(_0x4429bc);const _0x4209c5=this[_0x3b02ec(0x177)],_0x22fdc6=new _0x237ca2(_0x4429bc),_0x383e73=new _0x237ca2(_0x4429bc);this[_0x3b02ec(0x16a)](_0x3b02ec(0x171),!0x1),this[_0x3b02ec(0x16a)](_0x3b02ec(0x15b),!0x1),this[_0x3b02ec(0x16a)](_0x3b02ec(0x178),0x0),this[_0x3b02ec(0x16a)](_0x3b02ec(0x175),0x0),this[_0x3b02ec(0x16a)](_0x3b02ec(0x158),!0x1),this[_0x3b02ec(0x16a)](_0x3b02ec(0x164),!0x1),this[_0x3b02ec(0x15a)](_0x3b02ec(0x172))['to'](this,_0x3b02ec(0x15b),this,_0x3b02ec(0x175),(_0x384155,_0x88f07f)=>_0x384155&&_0x88f07f>0x0),this[_0x3b02ec(0x15a)](_0x3b02ec(0x153))['to'](this,_0x3b02ec(0x15b),this,_0x3b02ec(0x178),this,_0x3b02ec(0x175),this,_0x3b02ec(0x171),(_0x1ae1d8,_0xc63fd1,_0x1111c9,_0x49033d)=>{const _0x3e3e3b=_0x3b02ec;if(!_0x1ae1d8)return _0x5f44a7(_0x4429bc,_0x3e3e3b(0x162));if(!_0x1111c9)return _0x5f44a7(_0x4429bc,_0x3e3e3b(0x151));const _0x179f70=_0x5f44a7(_0x4429bc,_0x3e3e3b(0x163),_0x1111c9);return _0x49033d?_0x5f44a7(_0x4429bc,_0x3e3e3b(0x17c),[_0xc63fd1+0x1,_0x1111c9]):_0x179f70;}),_0x22fdc6[_0x3b02ec(0x16a)]({'label':_0x5f44a7(_0x4429bc,_0x3b02ec(0x173)),'tooltip':!0x0,'icon':_0x27f52a}),_0x383e73[_0x3b02ec(0x16a)]({'label':_0x5f44a7(_0x4429bc,_0x3b02ec(0x179)),'tooltip':!0x0,'icon':_0x1a7608}),_0x22fdc6[_0x3b02ec(0x15a)](_0x3b02ec(0x157))['to'](this,_0x3b02ec(0x164)),_0x383e73[_0x3b02ec(0x15a)](_0x3b02ec(0x157))['to'](this,_0x3b02ec(0x158)),_0x22fdc6['on'](_0x3b02ec(0x155),()=>this[_0x3b02ec(0x15e)](_0x3b02ec(0x155),_0x3b02ec(0x16f))),_0x383e73['on'](_0x3b02ec(0x155),()=>this[_0x3b02ec(0x15e)](_0x3b02ec(0x155),_0x3b02ec(0x167))),this[_0x3b02ec(0x15c)]({'tag':_0x3b02ec(0x160),'attributes':{'class':['ck',_0x3b02ec(0x16b),_0x3b02ec(0x176)]},'children':[{'tag':_0x3b02ec(0x166),'attributes':{'class':[_0x3b02ec(0x161)]},'children':[{'tag':_0x3b02ec(0x166),'attributes':{'class':[_0x3b02ec(0x170),_0x4209c5['if'](_0x3b02ec(0x172),_0x3b02ec(0x150),_0xaa3b26=>!_0xaa3b26)]},'children':[{'text':_0x4209c5['to'](_0x3b02ec(0x171),_0x4938f0=>_0x4938f0?_0x5f44a7(_0x4429bc,_0x3b02ec(0x159))+':\x20':_0x5f44a7(_0x4429bc,_0x3b02ec(0x168))+':\x20')}]},{'text':_0x4209c5['to'](_0x3b02ec(0x153))}]},new _0x56f470(),{'tag':_0x3b02ec(0x160),'attributes':{'class':[_0x3b02ec(0x16d)]},'children':[_0x22fdc6,_0x383e73]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ed45f=_0xce33;(function(_0x5038ff,_0x1c3951){const _0x2ece8b=_0xce33,_0x198dce=_0x5038ff();while(!![]){try{const _0x36362b=-parseInt(_0x2ece8b(0x1ea))/0x1*(-parseInt(_0x2ece8b(0x1f4))/0x2)+parseInt(_0x2ece8b(0x1f1))/0x3*(parseInt(_0x2ece8b(0x1f0))/0x4)+parseInt(_0x2ece8b(0x1df))/0x5*(-parseInt(_0x2ece8b(0x1ef))/0x6)+-parseInt(_0x2ece8b(0x1e5))/0x7*(parseInt(_0x2ece8b(0x1e4))/0x8)+parseInt(_0x2ece8b(0x1f2))/0x9+parseInt(_0x2ece8b(0x1f8))/0xa+parseInt(_0x2ece8b(0x1f6))/0xb*(-parseInt(_0x2ece8b(0x1e1))/0xc);if(_0x36362b===_0x1c3951)break;else _0x198dce['push'](_0x198dce['shift']());}catch(_0x40c020){_0x198dce['push'](_0x198dce['shift']());}}}(_0xf274,0x3e10d));function _0xce33(_0x518093,_0x4d23e7){const _0xf2741e=_0xf274();return _0xce33=function(_0xce33c6,_0x28c13f){_0xce33c6=_0xce33c6-0x1df;let _0x2a5899=_0xf2741e[_0xce33c6];return _0x2a5899;},_0xce33(_0x518093,_0x4d23e7);}function _0xf274(){const _0x31311d=['show','editor','8iApbwh','1786260JMYuHM','hide','ck-editor__editable__loading-overlay','isPremiumPlugin','roots','1fWUTbY','addClass','RevisionViewerLoadingOverlay','change','view','60KiRljb','20DnBgcB','26907oJmTmh','3867561ONhOnv','pluginName','835822TPSnRp','editing','11obRMru','removeClass','1807930TChWpx','isOfficialPlugin','223865Fppwmj','document','1393764SlJKrY'];_0xf274=function(){return _0x31311d;};return _0xf274();}import{Plugin as _0x3b96bc}from'ckeditor5/src/core.js';const le=_0x4ed45f(0x1e7);import'../../../theme/revisionviewerloadingoverlay.css';export default class de extends _0x3b96bc{static get[_0x4ed45f(0x1f3)](){const _0x5e4ee8=_0x4ed45f;return _0x5e4ee8(0x1ec);}static get[_0x4ed45f(0x1f9)](){return!0x0;}static get[_0x4ed45f(0x1e8)](){return!0x0;}[_0x4ed45f(0x1e2)](){const _0x2ad18f=_0x4ed45f,_0xa0ec13=this[_0x2ad18f(0x1e3)][_0x2ad18f(0x1f5)][_0x2ad18f(0x1ee)];_0xa0ec13[_0x2ad18f(0x1ed)](_0x129f1e=>{const _0x1df3cd=_0x2ad18f;for(const _0x3ae690 of _0xa0ec13[_0x1df3cd(0x1e0)][_0x1df3cd(0x1e9)])_0x129f1e[_0x1df3cd(0x1eb)](le,_0x3ae690);});}[_0x4ed45f(0x1e6)](){const _0x132548=_0x4ed45f,_0x377e53=this[_0x132548(0x1e3)][_0x132548(0x1f5)][_0x132548(0x1ee)];_0x377e53[_0x132548(0x1ed)](_0x5b482a=>{const _0x280c41=_0x132548;for(const _0x4beb9b of _0x377e53[_0x280c41(0x1e0)][_0x280c41(0x1e9)])_0x5b482a[_0x280c41(0x1f7)](le,_0x4beb9b);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x277519=_0x44bf;(function(_0x44b665,_0x4e37b9){const _0x1ad5c8=_0x44bf,_0x2e1b7f=_0x44b665();while(!![]){try{const _0x487e67=parseInt(_0x1ad5c8(0x17a))/0x1+parseInt(_0x1ad5c8(0x183))/0x2*(-parseInt(_0x1ad5c8(0x17d))/0x3)+parseInt(_0x1ad5c8(0x199))/0x4*(-parseInt(_0x1ad5c8(0x180))/0x5)+parseInt(_0x1ad5c8(0x194))/0x6*(parseInt(_0x1ad5c8(0x179))/0x7)+-parseInt(_0x1ad5c8(0x18e))/0x8*(-parseInt(_0x1ad5c8(0x178))/0x9)+parseInt(_0x1ad5c8(0x190))/0xa*(parseInt(_0x1ad5c8(0x188))/0xb)+-parseInt(_0x1ad5c8(0x174))/0xc*(parseInt(_0x1ad5c8(0x168))/0xd);if(_0x487e67===_0x4e37b9)break;else _0x2e1b7f['push'](_0x2e1b7f['shift']());}catch(_0x58c52f){_0x2e1b7f['push'](_0x2e1b7f['shift']());}}}(_0x2055,0x4235e));import{icons as _0x165158,Plugin as _0x144125}from'ckeditor5/src/core.js';import{ButtonView as _0x3395d3}from'ckeditor5/src/ui.js';function _0x2055(){const _0x217442=['showPreviousChange','231ENjaGW','requires','init','isNavigationMode','currentChangeNumber','showNextChange','1328fMWaLs','add','156490KQLCpB','bind','restoreRevision','hide','402774PjVEuW','plugins','commands','Restore\x20this\x20revision','exitToEditing','1268236oclcBY','set','get','136461nIdqqK','RevisionViewerUI','pluginName','isEnabled','config','isReady','isPremiumPlugin','change:isReady','undo','show','editor','changesNavigation','144FYOVPs','forward','ck-revision-history-ui__back-to-editing','revisionHistory','414hZtbbc','49zdPOWF','360571nGJAmt','Back\x20to\x20editing','isBackwardNavigationEnabled','1357554tvKMrb','closeRevisionViewerCallback','execute','5bBxiCH','componentFactory','numberOfChanges','2pRIacF','listenTo','isForwardNavigationEnabled','isOfficialPlugin'];_0x2055=function(){return _0x217442;};return _0x2055();}import _0x580fec from'./changesnavigationview.js';import _0x3aa52b from'./../../revisionviewer.js';function _0x44bf(_0xd919a3,_0x3b04fb){const _0x205524=_0x2055();return _0x44bf=function(_0x44bf28,_0xc97431){_0x44bf28=_0x44bf28-0x167;let _0x25b536=_0x205524[_0x44bf28];return _0x25b536;},_0x44bf(_0xd919a3,_0x3b04fb);}import _0x38f3ee from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x47ee07}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class m extends _0x144125{static get[_0x277519(0x16a)](){const _0x69f351=_0x277519;return _0x69f351(0x169);}static get[_0x277519(0x186)](){return!0x0;}static get[_0x277519(0x16e)](){return!0x0;}static get[_0x277519(0x189)](){return[_0x3aa52b,_0x38f3ee];}[_0x277519(0x18a)](){const _0x32032e=_0x277519,_0x4518e4=this[_0x32032e(0x172)],_0x1f9825=_0x4518e4[_0x32032e(0x195)][_0x32032e(0x167)](_0x3aa52b),_0xa2d516=_0x4518e4[_0x32032e(0x195)][_0x32032e(0x167)](_0x38f3ee);_0x4518e4['ui'][_0x32032e(0x181)][_0x32032e(0x18f)](_0x32032e(0x198),_0x3031a7=>{const _0x2619b1=_0x32032e,_0x4e3161=new _0x3395d3(_0x3031a7);return _0x4e3161[_0x2619b1(0x19a)]({'label':_0x47ee07(_0x3031a7,_0x2619b1(0x17b)),'icon':_0x165158[_0x2619b1(0x170)],'withText':!0x0,'tooltip':!0x0,'class':_0x2619b1(0x176)}),this[_0x2619b1(0x184)](_0x4e3161,_0x2619b1(0x17f),()=>{const _0x3a99bc=_0x2619b1;_0x4518e4[_0x3a99bc(0x16c)][_0x3a99bc(0x167)](_0x3a99bc(0x177))[_0x3a99bc(0x17e)]();}),_0x4e3161;}),_0x4518e4['ui'][_0x32032e(0x181)][_0x32032e(0x18f)](_0x32032e(0x192),_0x172575=>{const _0x3e09ee=_0x32032e,_0x5a0be0=new _0x3395d3(_0x172575);return _0x5a0be0[_0x3e09ee(0x19a)]({'label':_0x47ee07(_0x172575,_0x3e09ee(0x197)),'withText':!0x0,'tooltip':!0x0}),_0x5a0be0[_0x3e09ee(0x191)](_0x3e09ee(0x16b))['to'](_0x4518e4[_0x3e09ee(0x196)][_0x3e09ee(0x167)](_0x3e09ee(0x192))),this[_0x3e09ee(0x184)](_0x5a0be0,_0x3e09ee(0x17f),()=>_0x4518e4[_0x3e09ee(0x17f)](_0x3e09ee(0x192))),_0x5a0be0;}),_0x4518e4['ui'][_0x32032e(0x181)][_0x32032e(0x18f)](_0x32032e(0x173),_0x112b20=>{const _0x237e6b=_0x32032e,_0x3d52bb=new _0x580fec(_0x112b20),_0x1ac0ab=_0x4518e4[_0x237e6b(0x196)][_0x237e6b(0x167)](_0x237e6b(0x187)),_0x1bf21c=_0x4518e4[_0x237e6b(0x196)][_0x237e6b(0x167)](_0x237e6b(0x18d));return _0x3d52bb[_0x237e6b(0x191)](_0x237e6b(0x17c))['to'](_0x1ac0ab,_0x237e6b(0x16b)),_0x3d52bb[_0x237e6b(0x191)](_0x237e6b(0x185))['to'](_0x1bf21c,_0x237e6b(0x16b)),_0x3d52bb[_0x237e6b(0x191)](_0x237e6b(0x16d),_0x237e6b(0x18c),_0x237e6b(0x182),_0x237e6b(0x18b))['to'](_0x1f9825),this[_0x237e6b(0x184)](_0x3d52bb,_0x237e6b(0x17f),(_0x9314e1,_0x1556d5)=>{const _0x3723cc=_0x237e6b;_0x4518e4[_0x3723cc(0x17f)](_0x3723cc(0x175)===_0x1556d5?_0x3723cc(0x18d):_0x3723cc(0x187));}),_0x3d52bb;}),_0xa2d516[_0x32032e(0x171)](),_0x1f9825['on'](_0x32032e(0x16f),(_0x3a82b4,_0xf8ebac,_0x155370)=>{const _0x2e23a5=_0x32032e;_0x155370?_0xa2d516[_0x2e23a5(0x193)]():_0xa2d516[_0x2e23a5(0x171)]();});}}
|