@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231122.0 → 0.0.0-nightly-20231124.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.
Files changed (31) hide show
  1. package/build/revision-history.js +1 -1
  2. package/package.json +6 -6
  3. package/src/changeitem.js +1 -1
  4. package/src/editor/revisionviewereditor.js +1 -1
  5. package/src/editor/revisionviewereditorui.js +1 -1
  6. package/src/editor/revisionviewereditoruiview.js +1 -1
  7. package/src/revision.js +1 -1
  8. package/src/revisiondiff.js +1 -1
  9. package/src/revisionhistory.js +1 -1
  10. package/src/revisionsrepository.js +1 -1
  11. package/src/revisiontracker.js +1 -1
  12. package/src/revisionviewer.js +1 -1
  13. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  14. package/src/ui/revision/revisionauthorview.js +1 -1
  15. package/src/ui/revision/revisionnameview.js +1 -1
  16. package/src/ui/revision/revisionview.js +1 -1
  17. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  18. package/src/ui/revision/subrevisionview.js +1 -1
  19. package/src/ui/revision/utils.js +1 -1
  20. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  21. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  22. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  23. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  24. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  25. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  26. package/src/ui/revisionssidebar/utils.js +1 -1
  27. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  28. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  29. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  30. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  31. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5797=['pluginName','isReadOnly','view','Open\x20revision\x20history','length','editing','RevisionTracker','reset','history','buttonView','isReady','execute','plugins','saveRevision','requires','panelView','init','isOpen','saveButtonView','submit','render','Save\x20current\x20revision','set','config','addMany','children','bind','Revision\x20history','isEnabled','items','RevisionHistoryUI','add','cancel','remove','componentFactory','revisionHistory','get'];(function(_0x1e019d,_0x57978f){const _0x230ab4=function(_0xe357fa){while(--_0xe357fa){_0x1e019d['push'](_0x1e019d['shift']());}};_0x230ab4(++_0x57978f);}(_0x5797,0xe2));const _0x230a=function(_0x1e019d,_0x57978f){_0x1e019d=_0x1e019d-0x0;let _0x230ab4=_0x5797[_0x1e019d];return _0x230ab4;};import{Plugin as _0x351872,icons as _0x3bd18e}from'ckeditor5/src/core';import{ListView as _0x3e3045,ListItemView as _0x166683,ButtonView as _0xb725a0,createDropdown as _0x4e6a0f}from'ckeditor5/src/ui';import _0x17bf8e from'../../revisiontracker';import _0x54d2ff from'./revisionhistorysaverevisionformview';import{getTranslation as _0x543818}from'../../utils/common-translations';export default class u extends _0x351872{static get[_0x230a('0x21')](){return _0x230a('0x1a');}static get[_0x230a('0xa')](){return[_0x17bf8e];}[_0x230a('0xc')](){const _0x3cca4c=this['editor'],_0x92993e=_0x3cca4c[_0x230a('0x8')][_0x230a('0x20')](_0x230a('0x2'));_0x3cca4c['ui'][_0x230a('0x1e')][_0x230a('0x1b')](_0x230a('0x1f'),_0xed7de8=>{const _0x56fbe8=_0x4e6a0f(_0xed7de8),_0x56755e=_0x56fbe8[_0x230a('0xb')]['children'],_0xf77a6b=new _0x3e3045(_0xed7de8),_0x1b2b13=new _0x166683(_0xed7de8),_0x41832b=new _0xb725a0(_0xed7de8),_0x375ed6=new _0x166683(_0xed7de8),_0x224abf=new _0xb725a0(_0xed7de8),_0x571c6b=new _0x54d2ff(_0xed7de8);function _0x34c2a9(){_0x56755e[_0x230a('0x0')]&&_0x56755e[_0x230a('0x1d')](0x0),_0x56755e[_0x230a('0x1b')](_0xf77a6b);}function _0x57ec92(){_0x56fbe8[_0x230a('0xd')]=!0x1,_0x3cca4c[_0x230a('0x1')][_0x230a('0x23')]['focus']();}return _0x56fbe8[_0x230a('0x16')]('isEnabled')['to'](_0x92993e,'isReady',_0x92993e,_0x230a('0x18'),_0x3cca4c,'isReadOnly',(_0x7a92da,_0x1aeb72,_0x5b26d5)=>_0x7a92da&&_0x1aeb72&&!_0x5b26d5),_0x56fbe8[_0x230a('0x5')][_0x230a('0x12')]({'icon':_0x3bd18e[_0x230a('0x4')],'label':_0x543818(_0xed7de8,_0x230a('0x17')),'tooltip':!0x0}),_0x41832b[_0x230a('0x12')]({'label':_0x543818(_0xed7de8,_0x230a('0x11')),'withText':!0x0}),_0x41832b[_0x230a('0x16')](_0x230a('0x18'))['to'](_0x92993e,_0x230a('0x6'),_0x92993e,_0x230a('0x18'),_0x3cca4c,'isReadOnly',(_0x27b88c,_0x4cb37d,_0x29303c)=>_0x27b88c&&_0x4cb37d&&!_0x29303c),_0x41832b['on'](_0x230a('0x7'),()=>function(){_0x56755e[_0x230a('0x0')]&&_0x56755e[_0x230a('0x1d')](0x0),(_0x571c6b[_0x230a('0x3')](),_0x56755e[_0x230a('0x1b')](_0x571c6b),_0x571c6b['focus']());}()),_0x224abf['set']({'label':_0x543818(_0xed7de8,_0x230a('0x24')),'withText':!0x0}),_0x224abf[_0x230a('0x16')](_0x230a('0x18'))['to'](_0x92993e,'isReady',_0x3cca4c,_0x230a('0x22'),(_0x40c49d,_0x3858d0)=>_0x40c49d&&!_0x3858d0),_0x224abf['on'](_0x230a('0x7'),()=>{_0x3cca4c[_0x230a('0x13')][_0x230a('0x20')](_0x230a('0x1f'))['showRevisionViewerCallback'](),_0x57ec92();}),_0x1b2b13['children'][_0x230a('0x1b')](_0x41832b),_0x375ed6[_0x230a('0x15')][_0x230a('0x1b')](_0x224abf),_0xf77a6b[_0x230a('0x19')][_0x230a('0x14')]([_0x1b2b13,_0x375ed6]),_0x56fbe8['on']('change:isOpen',()=>_0x34c2a9()),_0x571c6b[_0x230a('0xe')][_0x230a('0x16')](_0x230a('0x18'))['to'](_0x92993e,_0x230a('0x6'),_0x92993e,'isEnabled',_0x3cca4c,_0x230a('0x22'),(_0x49a446,_0x5650da,_0x2b554a)=>_0x49a446&&_0x5650da&&!_0x2b554a),_0x571c6b['on'](_0x230a('0xf'),()=>(_0x3cca4c[_0x230a('0x8')][_0x230a('0x20')](_0x17bf8e)[_0x230a('0x9')]({'name':_0x571c6b['revisionName']}),void _0x57ec92())),_0x571c6b['on'](_0x230a('0x1c'),()=>_0x34c2a9()),_0x571c6b[_0x230a('0x10')](),_0x34c2a9(),_0x56fbe8;});}}
23
+ const _0x5c6a=['execute','length','plugins','revisionName','bind','Open\x20revision\x20history','isReadOnly','RevisionTracker','showRevisionViewerCallback','revisionHistory','buttonView','render','cancel','requires','items','set','addMany','panelView','focus','saveRevision','reset','init','view','children','isReady','editor','Revision\x20history','remove','get','saveButtonView','add','history','change:isOpen','submit','pluginName','isOpen','RevisionHistoryUI','isEnabled'];(function(_0x623dad,_0x5c6a8a){const _0x4598b1=function(_0x1fa226){while(--_0x1fa226){_0x623dad['push'](_0x623dad['shift']());}};_0x4598b1(++_0x5c6a8a);}(_0x5c6a,0x7d));const _0x4598=function(_0x623dad,_0x5c6a8a){_0x623dad=_0x623dad-0x0;let _0x4598b1=_0x5c6a[_0x623dad];return _0x4598b1;};import{Plugin as _0xc88604,icons as _0x4bac78}from'ckeditor5/src/core';import{ListView as _0x1d1d09,ListItemView as _0x50438e,ButtonView as _0x4da8f0,createDropdown as _0x5097a0}from'ckeditor5/src/ui';import _0x9ae726 from'../../revisiontracker';import _0x47d26d from'./revisionhistorysaverevisionformview';import{getTranslation as _0x12b8f3}from'../../utils/common-translations';export default class u extends _0xc88604{static get[_0x4598('0x17')](){return _0x4598('0x19');}static get[_0x4598('0x2')](){return[_0x9ae726];}[_0x4598('0xa')](){const _0x347dfe=this[_0x4598('0xe')],_0x56a747=_0x347dfe[_0x4598('0x1d')][_0x4598('0x11')](_0x4598('0x22'));_0x347dfe['ui']['componentFactory'][_0x4598('0x13')](_0x4598('0x24'),_0x1e9bf0=>{const _0x2da476=_0x5097a0(_0x1e9bf0),_0x56e779=_0x2da476[_0x4598('0x6')][_0x4598('0xc')],_0x441c50=new _0x1d1d09(_0x1e9bf0),_0x5e459c=new _0x50438e(_0x1e9bf0),_0x47119d=new _0x4da8f0(_0x1e9bf0),_0x3cdf46=new _0x50438e(_0x1e9bf0),_0x16e96f=new _0x4da8f0(_0x1e9bf0),_0x1d0302=new _0x47d26d(_0x1e9bf0);function _0xc53b39(){_0x56e779[_0x4598('0x1c')]&&_0x56e779['remove'](0x0),_0x56e779['add'](_0x441c50);}function _0x531fc7(){_0x2da476[_0x4598('0x18')]=!0x1,_0x347dfe['editing'][_0x4598('0xb')][_0x4598('0x7')]();}return _0x2da476[_0x4598('0x1f')](_0x4598('0x1a'))['to'](_0x56a747,_0x4598('0xd'),_0x56a747,_0x4598('0x1a'),_0x347dfe,_0x4598('0x21'),(_0xfcbbef,_0x211b11,_0xf32305)=>_0xfcbbef&&_0x211b11&&!_0xf32305),_0x2da476[_0x4598('0x25')][_0x4598('0x4')]({'icon':_0x4bac78[_0x4598('0x14')],'label':_0x12b8f3(_0x1e9bf0,_0x4598('0xf')),'tooltip':!0x0}),_0x47119d['set']({'label':_0x12b8f3(_0x1e9bf0,'Save\x20current\x20revision'),'withText':!0x0}),_0x47119d[_0x4598('0x1f')]('isEnabled')['to'](_0x56a747,_0x4598('0xd'),_0x56a747,_0x4598('0x1a'),_0x347dfe,_0x4598('0x21'),(_0x7edfa8,_0x1978c5,_0x474016)=>_0x7edfa8&&_0x1978c5&&!_0x474016),_0x47119d['on'](_0x4598('0x1b'),()=>function(){_0x56e779[_0x4598('0x1c')]&&_0x56e779[_0x4598('0x10')](0x0),(_0x1d0302[_0x4598('0x9')](),_0x56e779[_0x4598('0x13')](_0x1d0302),_0x1d0302[_0x4598('0x7')]());}()),_0x16e96f['set']({'label':_0x12b8f3(_0x1e9bf0,_0x4598('0x20')),'withText':!0x0}),_0x16e96f[_0x4598('0x1f')](_0x4598('0x1a'))['to'](_0x56a747,_0x4598('0xd'),_0x347dfe,_0x4598('0x21'),(_0x1fb327,_0x34422a)=>_0x1fb327&&!_0x34422a),_0x16e96f['on'](_0x4598('0x1b'),()=>{_0x347dfe['config']['get'](_0x4598('0x24'))[_0x4598('0x23')](),_0x531fc7();}),_0x5e459c[_0x4598('0xc')][_0x4598('0x13')](_0x47119d),_0x3cdf46[_0x4598('0xc')][_0x4598('0x13')](_0x16e96f),_0x441c50[_0x4598('0x3')][_0x4598('0x5')]([_0x5e459c,_0x3cdf46]),_0x2da476['on'](_0x4598('0x15'),()=>_0xc53b39()),_0x1d0302[_0x4598('0x12')][_0x4598('0x1f')](_0x4598('0x1a'))['to'](_0x56a747,_0x4598('0xd'),_0x56a747,_0x4598('0x1a'),_0x347dfe,_0x4598('0x21'),(_0x3d2fa2,_0x4d3127,_0x627779)=>_0x3d2fa2&&_0x4d3127&&!_0x627779),_0x1d0302['on'](_0x4598('0x16'),()=>(_0x347dfe['plugins'][_0x4598('0x11')](_0x9ae726)[_0x4598('0x8')]({'name':_0x1d0302[_0x4598('0x1e')]}),void _0x531fc7())),_0x1d0302['on'](_0x4598('0x1'),()=>_0xc53b39()),_0x1d0302[_0x4598('0x0')](),_0xc53b39(),_0x2da476;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ab1=['_createRevisionActions','compareAgainstSelected','getLaterVisibleRevision','length','highlightRevisions','_handleRevisionSetName','isVisible','isEnabled','destroy','listenTo','focus','assign','restoreRevisionCallback','revisionHistory','selectRevision','change:diff','data','isReady','_revisionsRepository','map','_handleRevisionSelected','RevisionsSidebar','isSelected','action','name','editor','getRevision','init','revisionHistory.revisionActions','element','restoreRevision','render','get','ready','revisionSelected','getEarlierVisibleRevision','_handleEditorDataReady','_handleDiffChange','nameRevision','_revisionViewer','Compare\x20against\x20selected','fieldView','setName','compare','config','repository','revisionHistory.viewerSidebarContainer','requires','getRevisionsInDiff','bind','diff','plugins','_sidebarView','add','getIndex','availableRevisionActions','select','defaultRevisionActions','timePeriodViews'];(function(_0x4da597,_0x3ab11c){const _0x426e30=function(_0x4ce79e){while(--_0x4ce79e){_0x4da597['push'](_0x4da597['shift']());}};_0x426e30(++_0x3ab11c);}(_0x3ab1,0x1aa));const _0x426e=function(_0x4da597,_0x3ab11c){_0x4da597=_0x4da597-0x0;let _0x426e30=_0x3ab1[_0x4da597];return _0x426e30;};import{Plugin as _0x5e2ded}from'ckeditor5/src/core';import _0x1d0025 from'./revisionssidebarview';import _0x334cf8 from'../../revisionviewer';export default class w extends _0x5e2ded{static get['pluginName'](){return _0x426e('0x8');}static get[_0x426e('0x22')](){return[_0x334cf8];}constructor(_0x17acd4){super(_0x17acd4),this[_0x426e('0x1a')]=_0x17acd4[_0x426e('0x26')]['get'](_0x334cf8),this[_0x426e('0x5')]=this[_0x426e('0x1a')]['repository'],this['_sidebarView']=null;}[_0x426e('0xe')](){const _0x420a83=this[_0x426e('0x5')]['_revisions'],_0x59a61b=this[_0x426e('0x2e')](),_0x2decfa=this['editor']['config'][_0x426e('0x13')](_0x426e('0x21'));this[_0x426e('0x27')]=new _0x1d0025(this[_0x426e('0xc')]['locale'],_0x420a83,_0x59a61b),this[_0x426e('0x27')]['on'](_0x426e('0x15'),this[_0x426e('0x7')][_0x426e('0x24')](this)),this[_0x426e('0x27')]['on']('revisionSetName',this[_0x426e('0x33')]['bind'](this)),this[_0x426e('0x27')][_0x426e('0x24')](_0x426e('0x35'))['to'](this['_revisionViewer']),this[_0x426e('0x27')][_0x426e('0x2d')]['on'](_0x426e('0x28'),(_0x3c0e2e,_0x15c9b7)=>{_0x15c9b7['revisionViews']['on'](_0x426e('0x28'),(_0x562275,_0xf5d99)=>{_0xf5d99['bind'](_0x426e('0x35'),_0x426e('0x4'))['to'](this[_0x426e('0x1a')]);});}),this['_sidebarView'][_0x426e('0x12')](),this[_0x426e('0x37')](this[_0x426e('0xc')][_0x426e('0x3')],_0x426e('0x14'),this[_0x426e('0x17')][_0x426e('0x24')](this)),this[_0x426e('0x37')](this['_revisionViewer'],_0x426e('0x2'),this[_0x426e('0x18')][_0x426e('0x24')](this)),_0x2decfa['appendChild'](this[_0x426e('0x27')][_0x426e('0x10')]);}[_0x426e('0x36')](){this['_sidebarView'][_0x426e('0x10')]['remove'](),this['_sidebarView'][_0x426e('0x36')]();}[_0x426e('0x17')](){const _0x121a3b=this[_0x426e('0x5')]['getRevision'](0x0);if(_0x121a3b){const _0x34287d=this[_0x426e('0x5')][_0x426e('0x16')](_0x121a3b['id']);this['_revisionViewer'][_0x426e('0x1e')](_0x121a3b,_0x34287d);}}[_0x426e('0x7')](_0xad4d02,_0x5470a4){const _0xd8ec6c=this['_revisionsRepository']['getRevision'](_0x5470a4['id']),_0xed400e=this[_0x426e('0x5')][_0x426e('0x16')](_0xd8ec6c['id']);this['_revisionViewer']['compare'](_0xd8ec6c,_0xed400e);}[_0x426e('0x33')](_0x5f1be5,_0x51779b){this[_0x426e('0x5')][_0x426e('0xd')](_0x51779b['id'])[_0x426e('0x1d')](_0x51779b[_0x426e('0xb')]);}['_handleDiffChange'](_0x1281a5,_0x11721d,_0x5d3c9a){const _0x2efeb4=this[_0x426e('0x5')]['getRevisionsInDiff'](_0x5d3c9a);_0x2efeb4[_0x426e('0x31')]>0x2?(this['_sidebarView']['highlightRevisions'](_0x2efeb4),this[_0x426e('0x27')][_0x426e('0x1')](null)):(this['_sidebarView'][_0x426e('0x32')]([]),this['_sidebarView'][_0x426e('0x1')](_0x2efeb4[0x0]));}[_0x426e('0x2e')](){const _0x323ec5=this[_0x426e('0xc')],_0x4cd13a=w['availableRevisionActions'],_0x34d094=_0x323ec5[_0x426e('0x1f')][_0x426e('0x13')](_0x426e('0xf'))||w[_0x426e('0x2c')];if(_0x34d094[_0x426e('0x31')])return _0x34d094[_0x426e('0x6')](_0x31c4ce=>{const _0x499ffb='string'==typeof _0x31c4ce?Object[_0x426e('0x39')]({},_0x4cd13a[_0x31c4ce]):_0x31c4ce;return _0x499ffb['action']=_0x499ffb[_0x426e('0xa')][_0x426e('0x24')](this,_0x323ec5),_0x499ffb[_0x426e('0x34')]&&(_0x499ffb[_0x426e('0x34')]=_0x499ffb['isVisible'][_0x426e('0x24')](this,_0x323ec5)),_0x499ffb;});}}w[_0x426e('0x2a')]={'compareAgainstSelected':{'name':_0x426e('0x1b'),'action':({plugins:_0x4e8bac},_0xd3b606)=>{const _0x2e815e=_0x4e8bac[_0x426e('0x13')](_0x334cf8),_0x250588=_0x2e815e[_0x426e('0x20')];let _0x4472be=_0x2e815e[_0x426e('0x25')]['newRevisionId'],_0x27deb2=_0xd3b606['id'];_0x250588[_0x426e('0x29')](_0x4472be)>_0x250588['getIndex'](_0x27deb2)&&([_0x4472be,_0x27deb2]=[_0x27deb2,_0x4472be]),_0x2e815e[_0x426e('0x1e')](_0x4472be,_0x27deb2);},'isVisible':({plugins:_0x48e8a0},_0x275e54)=>{const _0x149aee=_0x48e8a0['get'](_0x334cf8);return!(_0x149aee[_0x426e('0x20')][_0x426e('0x23')](_0x149aee[_0x426e('0x25')])['length']>0x2)&&!_0x275e54[_0x426e('0x9')];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x2302d2,{id:_0x5ec28c})=>{_0x2302d2[_0x426e('0x1f')][_0x426e('0x13')](_0x426e('0x0'))[_0x426e('0x3a')](_0x5ec28c);},'isVisible':({plugins:_0x32f7b2},_0x231d15)=>!!_0x32f7b2[_0x426e('0x13')](_0x334cf8)[_0x426e('0x20')][_0x426e('0x30')](_0x231d15['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x180334},{id:_0x41a355,revisionNameView:_0x4bd9db})=>{const _0x68bd5=_0x180334[_0x426e('0x13')](_0x334cf8),_0x810cf=_0x68bd5[_0x426e('0x20')][_0x426e('0x16')](_0x41a355);_0x68bd5[_0x426e('0x1e')](_0x41a355,_0x810cf),_0x4bd9db[_0x426e('0x38')](),_0x4bd9db[_0x426e('0x1c')][_0x426e('0x2b')]();}}},w[_0x426e('0x2c')]=[_0x426e('0x2f'),_0x426e('0x11'),_0x426e('0x19')];
23
+ const _0x3bf6=['action','plugins','_revisionsRepository','isEnabled','isVisible','_revisions','isSelected','Restore\x20this\x20revision','destroy','pluginName','map','getIndex','revisionHistory','revisionHistory.viewerSidebarContainer','_handleRevisionSetName','add','_handleRevisionSelected','revisionViews','config','editor','Compare\x20against\x20selected','_revisionViewer','isReady','length','select','remove','restoreRevisionCallback','restoreRevision','ready','getRevision','nameRevision','init','requires','bind','get','render','change:diff','string','compare','defaultRevisionActions','appendChild','getRevisionsInDiff','element','getEarlierVisibleRevision','focus','compareAgainstSelected','name','repository','_handleEditorDataReady','setName','diff','fieldView','_sidebarView','revisionSelected','selectRevision','highlightRevisions','timePeriodViews','RevisionsSidebar','newRevisionId','revisionSetName','listenTo','_handleDiffChange','assign'];(function(_0x3b79bd,_0x3bf6be){const _0x7aa58f=function(_0x34bf9){while(--_0x34bf9){_0x3b79bd['push'](_0x3b79bd['shift']());}};_0x7aa58f(++_0x3bf6be);}(_0x3bf6,0x15e));const _0x7aa5=function(_0x3b79bd,_0x3bf6be){_0x3b79bd=_0x3b79bd-0x0;let _0x7aa58f=_0x3bf6[_0x3b79bd];return _0x7aa58f;};import{Plugin as _0x117bef}from'ckeditor5/src/core';import _0x1a7894 from'./revisionssidebarview';import _0x39fe8c from'../../revisionviewer';export default class w extends _0x117bef{static get[_0x7aa5('0x25')](){return _0x7aa5('0x16');}static get[_0x7aa5('0x3c')](){return[_0x39fe8c];}constructor(_0x4a6304){super(_0x4a6304),this[_0x7aa5('0x31')]=_0x4a6304[_0x7aa5('0x1d')]['get'](_0x39fe8c),this[_0x7aa5('0x1e')]=this[_0x7aa5('0x31')]['repository'],this[_0x7aa5('0x11')]=null;}[_0x7aa5('0x3b')](){const _0x271925=this[_0x7aa5('0x1e')][_0x7aa5('0x21')],_0x549dd1=this['_createRevisionActions'](),_0x303dfd=this[_0x7aa5('0x2f')][_0x7aa5('0x2e')]['get'](_0x7aa5('0x29'));this[_0x7aa5('0x11')]=new _0x1a7894(this[_0x7aa5('0x2f')]['locale'],_0x271925,_0x549dd1),this[_0x7aa5('0x11')]['on'](_0x7aa5('0x12'),this[_0x7aa5('0x2c')]['bind'](this)),this[_0x7aa5('0x11')]['on'](_0x7aa5('0x18'),this[_0x7aa5('0x2a')][_0x7aa5('0x3d')](this)),this[_0x7aa5('0x11')][_0x7aa5('0x3d')](_0x7aa5('0x1f'))['to'](this[_0x7aa5('0x31')]),this[_0x7aa5('0x11')][_0x7aa5('0x15')]['on'](_0x7aa5('0x2b'),(_0x2f28fa,_0x1d8b5d)=>{_0x1d8b5d[_0x7aa5('0x2d')]['on'](_0x7aa5('0x2b'),(_0x598ec1,_0x4c1bda)=>{_0x4c1bda[_0x7aa5('0x3d')](_0x7aa5('0x1f'),_0x7aa5('0x32'))['to'](this[_0x7aa5('0x31')]);});}),this[_0x7aa5('0x11')][_0x7aa5('0x0')](),this['listenTo'](this[_0x7aa5('0x2f')]['data'],_0x7aa5('0x38'),this['_handleEditorDataReady']['bind'](this)),this[_0x7aa5('0x19')](this[_0x7aa5('0x31')],_0x7aa5('0x1'),this[_0x7aa5('0x1a')][_0x7aa5('0x3d')](this)),_0x303dfd[_0x7aa5('0x5')](this[_0x7aa5('0x11')][_0x7aa5('0x7')]);}['destroy'](){this['_sidebarView']['element'][_0x7aa5('0x35')](),this[_0x7aa5('0x11')][_0x7aa5('0x24')]();}[_0x7aa5('0xd')](){const _0x7911f2=this[_0x7aa5('0x1e')][_0x7aa5('0x39')](0x0);if(_0x7911f2){const _0x41852a=this[_0x7aa5('0x1e')][_0x7aa5('0x8')](_0x7911f2['id']);this[_0x7aa5('0x31')][_0x7aa5('0x3')](_0x7911f2,_0x41852a);}}['_handleRevisionSelected'](_0xb1ac53,_0xf1a76){const _0xb6b2c4=this['_revisionsRepository'][_0x7aa5('0x39')](_0xf1a76['id']),_0x5467a0=this[_0x7aa5('0x1e')]['getEarlierVisibleRevision'](_0xb6b2c4['id']);this['_revisionViewer'][_0x7aa5('0x3')](_0xb6b2c4,_0x5467a0);}['_handleRevisionSetName'](_0x5215ff,_0x3b5148){this[_0x7aa5('0x1e')][_0x7aa5('0x39')](_0x3b5148['id'])[_0x7aa5('0xe')](_0x3b5148[_0x7aa5('0xb')]);}[_0x7aa5('0x1a')](_0x565fac,_0x4ed7d9,_0x1ca9f2){const _0x179f41=this[_0x7aa5('0x1e')][_0x7aa5('0x6')](_0x1ca9f2);_0x179f41['length']>0x2?(this[_0x7aa5('0x11')][_0x7aa5('0x14')](_0x179f41),this[_0x7aa5('0x11')]['selectRevision'](null)):(this['_sidebarView'][_0x7aa5('0x14')]([]),this[_0x7aa5('0x11')][_0x7aa5('0x13')](_0x179f41[0x0]));}['_createRevisionActions'](){const _0x1fbfbe=this['editor'],_0x24f632=w['availableRevisionActions'],_0x223548=_0x1fbfbe[_0x7aa5('0x2e')]['get']('revisionHistory.revisionActions')||w[_0x7aa5('0x4')];if(_0x223548[_0x7aa5('0x33')])return _0x223548[_0x7aa5('0x26')](_0xc37d8d=>{const _0xa61e3d=_0x7aa5('0x2')==typeof _0xc37d8d?Object[_0x7aa5('0x1b')]({},_0x24f632[_0xc37d8d]):_0xc37d8d;return _0xa61e3d[_0x7aa5('0x1c')]=_0xa61e3d[_0x7aa5('0x1c')][_0x7aa5('0x3d')](this,_0x1fbfbe),_0xa61e3d[_0x7aa5('0x20')]&&(_0xa61e3d[_0x7aa5('0x20')]=_0xa61e3d[_0x7aa5('0x20')]['bind'](this,_0x1fbfbe)),_0xa61e3d;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':_0x7aa5('0x30'),'action':({plugins:_0x248d95},_0xf0453e)=>{const _0x2e15bb=_0x248d95[_0x7aa5('0x3e')](_0x39fe8c),_0x461ced=_0x2e15bb[_0x7aa5('0xc')];let _0x52d3f9=_0x2e15bb[_0x7aa5('0xf')][_0x7aa5('0x17')],_0x40580e=_0xf0453e['id'];_0x461ced[_0x7aa5('0x27')](_0x52d3f9)>_0x461ced[_0x7aa5('0x27')](_0x40580e)&&([_0x52d3f9,_0x40580e]=[_0x40580e,_0x52d3f9]),_0x2e15bb[_0x7aa5('0x3')](_0x52d3f9,_0x40580e);},'isVisible':({plugins:_0x7a0879},_0x11bb1e)=>{const _0xfb06bc=_0x7a0879[_0x7aa5('0x3e')](_0x39fe8c);return!(_0xfb06bc[_0x7aa5('0xc')][_0x7aa5('0x6')](_0xfb06bc[_0x7aa5('0xf')])[_0x7aa5('0x33')]>0x2)&&!_0x11bb1e[_0x7aa5('0x22')];}},'restoreRevision':{'name':_0x7aa5('0x23'),'action':(_0x4084e2,{id:_0x5a8ce7})=>{_0x4084e2[_0x7aa5('0x2e')]['get'](_0x7aa5('0x28'))[_0x7aa5('0x36')](_0x5a8ce7);},'isVisible':({plugins:_0x1c6936},_0x57ada4)=>!!_0x1c6936[_0x7aa5('0x3e')](_0x39fe8c)[_0x7aa5('0xc')]['getLaterVisibleRevision'](_0x57ada4['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x95cc43},{id:_0xdcc5e6,revisionNameView:_0xbbc743})=>{const _0xd5f7a9=_0x95cc43[_0x7aa5('0x3e')](_0x39fe8c),_0x2082bd=_0xd5f7a9['repository'][_0x7aa5('0x8')](_0xdcc5e6);_0xd5f7a9[_0x7aa5('0x3')](_0xdcc5e6,_0x2082bd),_0xbbc743[_0x7aa5('0x9')](),_0xbbc743[_0x7aa5('0x10')][_0x7aa5('0x34')]();}}},w[_0x7aa5('0x4')]=[_0x7aa5('0xa'),_0x7aa5('0x37'),_0x7aa5('0x3a')];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x368d=['ck-revision-history-sidebar__header__label','span','ck-reset_all','content','setTemplate','div','ck-revision-history-sidebar__header','history'];(function(_0x4584eb,_0x368d1b){const _0x34a25d=function(_0x42331b){while(--_0x42331b){_0x4584eb['push'](_0x4584eb['shift']());}};_0x34a25d(++_0x368d1b);}(_0x368d,0x188));const _0x34a2=function(_0x4584eb,_0x368d1b){_0x4584eb=_0x4584eb-0x0;let _0x34a25d=_0x368d[_0x4584eb];return _0x34a25d;};import{View as _0x5266f0,IconView as _0x41057d}from'ckeditor5/src/ui';import{getTranslation as _0x4c13fd}from'../../utils/common-translations';import{icons as _0x57ed3f}from'ckeditor5/src/core';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rr extends _0x5266f0{constructor(_0x55a50c){super(_0x55a50c);const _0x438183=new _0x41057d();_0x438183[_0x34a2('0x3')]=_0x57ed3f[_0x34a2('0x7')],this[_0x34a2('0x4')]({'tag':_0x34a2('0x5'),'attributes':{'class':['ck',_0x34a2('0x2'),_0x34a2('0x6')]},'children':[_0x438183,{'tag':_0x34a2('0x1'),'attributes':{'class':['ck',_0x34a2('0x0')]},'children':[_0x4c13fd(_0x55a50c,'Revision\x20history')]}]});}}
23
+ const _0x1fb3=['ck-reset_all','ck-revision-history-sidebar__header','setTemplate','history','span','Revision\x20history'];(function(_0xea6ff4,_0x1fb380){const _0x10c903=function(_0x18ce2c){while(--_0x18ce2c){_0xea6ff4['push'](_0xea6ff4['shift']());}};_0x10c903(++_0x1fb380);}(_0x1fb3,0xa1));const _0x10c9=function(_0xea6ff4,_0x1fb380){_0xea6ff4=_0xea6ff4-0x0;let _0x10c903=_0x1fb3[_0xea6ff4];return _0x10c903;};import{View as _0x55bae7,IconView as _0x571a0b}from'ckeditor5/src/ui';import{getTranslation as _0x2db2bc}from'../../utils/common-translations';import{icons as _0xfecf7e}from'ckeditor5/src/core';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rr extends _0x55bae7{constructor(_0x31b9fc){super(_0x31b9fc);const _0x5af2fc=new _0x571a0b();_0x5af2fc['content']=_0xfecf7e[_0x10c9('0x4')],this[_0x10c9('0x3')]({'tag':'div','attributes':{'class':['ck',_0x10c9('0x1'),_0x10c9('0x2')]},'children':[_0x5af2fc,{'tag':_0x10c9('0x5'),'attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[_0x2db2bc(_0x31b9fc,_0x10c9('0x0'))]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21aa=['addRevision','setName','revisionViews','delegate','removeRevision','ck-revision-history-sidebar__time-period__label','select','div','_revisionActions','find','ck-revision-history-sidebar__time-period','span','add','locale','createCollection'];(function(_0x2e0cf9,_0x21aa71){const _0x374f68=function(_0x3271e3){while(--_0x3271e3){_0x2e0cf9['push'](_0x2e0cf9['shift']());}};_0x374f68(++_0x21aa71);}(_0x21aa,0x125));const _0x374f=function(_0x2e0cf9,_0x21aa71){_0x2e0cf9=_0x2e0cf9-0x0;let _0x374f68=_0x21aa[_0x2e0cf9];return _0x374f68;};import{View as _0x100537}from'ckeditor5/src/ui';import _0xfea926 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x4a7740}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x100537{constructor(_0x3e8b3d,_0x497690,_0x5cec63){super(_0x3e8b3d);const _0x5d3747=_0x4a7740(_0x497690,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x497690,this[_0x374f('0x9')]=this[_0x374f('0x6')](),this[_0x374f('0x0')]=_0x5cec63,this[_0x374f('0x9')]['delegate'](_0x374f('0xd'))['to'](this),this['revisionViews'][_0x374f('0xa')](_0x374f('0x8'))['to'](this),this['setTemplate']({'tag':_0x374f('0xe'),'attributes':{'class':['ck',_0x374f('0x2')]},'children':[{'tag':_0x374f('0x3'),'attributes':{'class':['ck',_0x374f('0xc')]},'children':[{'text':_0x5d3747}]},{'tag':_0x374f('0xe'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this[_0x374f('0x9')]}]});}[_0x374f('0x7')](_0x57954a){const _0x48c424=new _0xfea926(this[_0x374f('0x5')],_0x57954a,this['_revisionActions']);this[_0x374f('0x9')][_0x374f('0x4')](_0x48c424);}[_0x374f('0xb')](_0x224edc){const _0x4d9a4e=this['revisionViews'][_0x374f('0x1')](_0x2338ba=>_0x2338ba['id']===_0x224edc['id']);this[_0x374f('0x9')]['remove'](_0x4d9a4e);}}
23
+ const _0x4b57=['startDate','localizedPeriodName','div','revisionViews','ck-revision-history-sidebar__time-period__revisions','removeRevision','ck-revision-history-sidebar__time-period__label','createCollection','setName','locale','remove','ck-revision-history-sidebar__time-period','delegate','uiLanguage','span','_revisionActions','addRevision'];(function(_0x3489c2,_0x4b57a8){const _0x1f1f38=function(_0x58f5c2){while(--_0x58f5c2){_0x3489c2['push'](_0x3489c2['shift']());}};_0x1f1f38(++_0x4b57a8);}(_0x4b57,0x140));const _0x1f1f=function(_0x3489c2,_0x4b57a8){_0x3489c2=_0x3489c2-0x0;let _0x1f1f38=_0x4b57[_0x3489c2];return _0x1f1f38;};import{View as _0x9e97b0}from'ckeditor5/src/ui';import _0x388100 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x19b6c9}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x9e97b0{constructor(_0x1f5a16,_0x46977a,_0x25d970){super(_0x1f5a16);const _0x5278a5=_0x19b6c9(_0x46977a,this['locale'][_0x1f1f('0x10')])[_0x1f1f('0x4')];this[_0x1f1f('0x3')]=_0x46977a,this[_0x1f1f('0x6')]=this[_0x1f1f('0xa')](),this['_revisionActions']=_0x25d970,this[_0x1f1f('0x6')][_0x1f1f('0xf')]('select')['to'](this),this['revisionViews'][_0x1f1f('0xf')](_0x1f1f('0xb'))['to'](this),this['setTemplate']({'tag':_0x1f1f('0x5'),'attributes':{'class':['ck',_0x1f1f('0xe')]},'children':[{'tag':_0x1f1f('0x0'),'attributes':{'class':['ck',_0x1f1f('0x9')]},'children':[{'text':_0x5278a5}]},{'tag':'div','attributes':{'class':['ck',_0x1f1f('0x7')]},'children':this[_0x1f1f('0x6')]}]});}[_0x1f1f('0x2')](_0x5a6244){const _0x274bea=new _0x388100(this[_0x1f1f('0xc')],_0x5a6244,this[_0x1f1f('0x1')]);this['revisionViews']['add'](_0x274bea);}[_0x1f1f('0x8')](_0x5e162e){const _0x45086=this['revisionViews']['find'](_0x5a0575=>_0x5a0575['id']===_0x5e162e['id']);this[_0x1f1f('0x6')][_0x1f1f('0xd')](_0x45086);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1bfa=['add','delegate','bindTemplate','fire','div','ck-rounded-corners','remove','map','set','find','deselect','timePeriodViews','render','getTime','_getTimePeriodViewByStartDate','_removeRevision','locale','get','unhighlight','_revisions','_addRevision','createdAt','highlightRevisions','ck-revision-history-sidebar','select','revisionSetName','createCollection','addRevision','revisionSelected','ck-disabled','setName','revisionViews','removeRevision','ck-reset','_revisionActions','isEnabled','startDate','uiLanguage'];(function(_0x245ed6,_0x1bfa96){const _0xb04e2a=function(_0x4e7d69){while(--_0x4e7d69){_0x245ed6['push'](_0x245ed6['shift']());}};_0xb04e2a(++_0x1bfa96);}(_0x1bfa,0xfc));const _0xb04e=function(_0x245ed6,_0x1bfa96){_0x245ed6=_0x245ed6-0x0;let _0xb04e2a=_0x1bfa[_0x245ed6];return _0xb04e2a;};import{View as _0x25a5c0}from'ckeditor5/src/ui';import _0xae9cc6 from'./revisionssidebartimeperiodview';import _0x46eced from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x4bfa69}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x25a5c0{constructor(_0x5bd59f,_0x4d03df,_0x198fa5){super(_0x5bd59f);const _0x15def5=this[_0xb04e('0x10')];this[_0xb04e('0x19')]=this[_0xb04e('0x2')](),this[_0xb04e('0x19')][_0xb04e('0xf')](_0xb04e('0x0'))['to'](this),this[_0xb04e('0x19')][_0xb04e('0xf')](_0xb04e('0x6'))['to'](this),this['_revisions']=_0x4d03df,this[_0xb04e('0xa')]=_0x198fa5,this['on']('select',(_0x1571cd,_0x4e81c0)=>{this[_0xb04e('0x11')](_0xb04e('0x4'),_0x4e81c0);}),this['on'](_0xb04e('0x6'),(_0x518b7d,_0x35c81e)=>{this[_0xb04e('0x11')](_0xb04e('0x1'),_0x35c81e);}),this[_0xb04e('0x16')](_0xb04e('0xb'),!0x1),this['setTemplate']({'tag':_0xb04e('0x12'),'attributes':{'class':['ck',_0xb04e('0x9'),_0xb04e('0x13'),_0xb04e('0x25')]},'children':[new _0x46eced(_0x5bd59f),{'tag':_0xb04e('0x12'),'attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x15def5['if'](_0xb04e('0xb'),_0xb04e('0x5'),_0xfbf6e8=>!_0xfbf6e8)]},'children':this[_0xb04e('0x19')]}]});}[_0xb04e('0x1a')](){super[_0xb04e('0x1a')]();for(const _0x50b340 of this[_0xb04e('0x21')])this[_0xb04e('0x22')](_0x50b340);this[_0xb04e('0x21')]['on'](_0xb04e('0xe'),(_0x2f62ae,_0x158dda)=>{this[_0xb04e('0x22')](_0x158dda);}),this[_0xb04e('0x21')]['on'](_0xb04e('0x14'),(_0x4139cd,_0x29b96b)=>{this[_0xb04e('0x1d')](_0x29b96b);});}get[_0xb04e('0x7')](){return this[_0xb04e('0x19')]['map'](_0x517243=>_0x517243[_0xb04e('0x7')][_0xb04e('0x15')](_0xc61250=>_0xc61250))['flat']();}['selectRevision'](_0x5b61ad){for(const _0x4c0697 of this[_0xb04e('0x7')])_0x5b61ad&&_0x5b61ad['id']===_0x4c0697['id']?_0x4c0697[_0xb04e('0x0')]():_0x4c0697[_0xb04e('0x18')]();}[_0xb04e('0x24')](_0x4fc968){for(const _0x5e7252 of this['revisionViews'])_0x4fc968['some'](({id:_0x1adc7e})=>_0x1adc7e===_0x5e7252['id'])?_0x5e7252['highlight']():_0x5e7252[_0xb04e('0x20')]();}['_addRevision'](_0x1df4b6){const _0x4197ee=_0x4bfa69(_0x1df4b6['createdAt'],this[_0xb04e('0x1e')][_0xb04e('0xd')])['startDate'];let _0x3d9124=this['timePeriodViews'][_0xb04e('0x1f')](0x0);_0x3d9124&&_0x3d9124[_0xb04e('0xc')]['getTime']()===_0x4197ee[_0xb04e('0x1b')]()||(_0x3d9124=new _0xae9cc6(this[_0xb04e('0x1e')],_0x4197ee,this[_0xb04e('0xa')]),this[_0xb04e('0x19')][_0xb04e('0xe')](_0x3d9124)),_0x3d9124[_0xb04e('0x3')](_0x1df4b6);}[_0xb04e('0x1d')](_0x3df36f){const _0x3c003e=_0x4bfa69(_0x3df36f[_0xb04e('0x23')],this[_0xb04e('0x1e')][_0xb04e('0xd')])[_0xb04e('0xc')];this[_0xb04e('0x1c')](_0x3c003e)[_0xb04e('0x8')](_0x3df36f);}[_0xb04e('0x1c')](_0x1fc88b){return this[_0xb04e('0x19')][_0xb04e('0x17')](_0x316c00=>_0x316c00[_0xb04e('0xc')]['getTime']()===_0x1fc88b[_0xb04e('0x1b')]());}}
23
+ const _0x5248=['select','createCollection','find','deselect','ck-revision-history-sidebar','div','fire','_revisionActions','flat','_revisions','revisionSetName','remove','revisionViews','_removeRevision','createdAt','ck-reset','_getTimePeriodViewByStartDate','set','ck-revision-history-sidebar__timeline','map','removeRevision','render','locale','delegate','setTemplate','isEnabled','getTime','bindTemplate','add','highlight','uiLanguage','_addRevision','timePeriodViews','highlightRevisions','startDate'];(function(_0x30ceb2,_0x5248c5){const _0x3702c7=function(_0x22aa2d){while(--_0x22aa2d){_0x30ceb2['push'](_0x30ceb2['shift']());}};_0x3702c7(++_0x5248c5);}(_0x5248,0x131));const _0x3702=function(_0x30ceb2,_0x5248c5){_0x30ceb2=_0x30ceb2-0x0;let _0x3702c7=_0x5248[_0x30ceb2];return _0x3702c7;};import{View as _0x3ac265}from'ckeditor5/src/ui';import _0x2062ff from'./revisionssidebartimeperiodview';import _0x818c61 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x24ce90}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x3ac265{constructor(_0x14199f,_0x3df547,_0x369bf2){super(_0x14199f);const _0x55394d=this[_0x3702('0x2')];this['timePeriodViews']=this[_0x3702('0xb')](),this['timePeriodViews'][_0x3702('0x21')](_0x3702('0xa'))['to'](this),this[_0x3702('0x7')][_0x3702('0x21')]('setName')['to'](this),this[_0x3702('0x13')]=_0x3df547,this[_0x3702('0x11')]=_0x369bf2,this['on']('select',(_0x634718,_0x264db2)=>{this[_0x3702('0x10')]('revisionSelected',_0x264db2);}),this['on']('setName',(_0x52d7ac,_0x119eb0)=>{this[_0x3702('0x10')](_0x3702('0x14'),_0x119eb0);}),this[_0x3702('0x1b')](_0x3702('0x0'),!0x1),this[_0x3702('0x22')]({'tag':_0x3702('0xf'),'attributes':{'class':['ck',_0x3702('0x19'),'ck-rounded-corners',_0x3702('0xe')]},'children':[new _0x818c61(_0x14199f),{'tag':_0x3702('0xf'),'attributes':{'class':['ck',_0x3702('0x1c'),_0x55394d['if'](_0x3702('0x0'),'ck-disabled',_0x2b6a55=>!_0x2b6a55)]},'children':this[_0x3702('0x7')]}]});}[_0x3702('0x1f')](){super[_0x3702('0x1f')]();for(const _0x3b6cc7 of this[_0x3702('0x13')])this[_0x3702('0x6')](_0x3b6cc7);this[_0x3702('0x13')]['on'](_0x3702('0x3'),(_0xec0e80,_0x52b60e)=>{this[_0x3702('0x6')](_0x52b60e);}),this[_0x3702('0x13')]['on'](_0x3702('0x15'),(_0x478e73,_0x47266a)=>{this[_0x3702('0x17')](_0x47266a);});}get[_0x3702('0x16')](){return this[_0x3702('0x7')][_0x3702('0x1d')](_0x33583f=>_0x33583f[_0x3702('0x16')][_0x3702('0x1d')](_0x5b14d6=>_0x5b14d6))[_0x3702('0x12')]();}['selectRevision'](_0x19c84f){for(const _0x472f1a of this[_0x3702('0x16')])_0x19c84f&&_0x19c84f['id']===_0x472f1a['id']?_0x472f1a[_0x3702('0xa')]():_0x472f1a[_0x3702('0xd')]();}[_0x3702('0x8')](_0x985273){for(const _0x110341 of this['revisionViews'])_0x985273['some'](({id:_0x3592c9})=>_0x3592c9===_0x110341['id'])?_0x110341[_0x3702('0x4')]():_0x110341['unhighlight']();}[_0x3702('0x6')](_0x42e91d){const _0x1b1a90=_0x24ce90(_0x42e91d[_0x3702('0x18')],this[_0x3702('0x20')]['uiLanguage'])[_0x3702('0x9')];let _0xe09027=this[_0x3702('0x7')]['get'](0x0);_0xe09027&&_0xe09027['startDate'][_0x3702('0x1')]()===_0x1b1a90[_0x3702('0x1')]()||(_0xe09027=new _0x2062ff(this[_0x3702('0x20')],_0x1b1a90,this[_0x3702('0x11')]),this[_0x3702('0x7')]['add'](_0xe09027)),_0xe09027['addRevision'](_0x42e91d);}[_0x3702('0x17')](_0x5c5d65){const _0xe5df8f=_0x24ce90(_0x5c5d65[_0x3702('0x18')],this[_0x3702('0x20')][_0x3702('0x5')])['startDate'];this[_0x3702('0x1a')](_0xe5df8f)[_0x3702('0x1e')](_0x5c5d65);}['_getTimePeriodViewByStartDate'](_0x5bea34){return this[_0x3702('0x7')][_0x3702('0xc')](_0xc0ab8c=>_0xc0ab8c[_0x3702('0x9')][_0x3702('0x1')]()===_0x5bea34['getTime']());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59de=['weekdayLong','month','setLocale','minus','toJSDate','hasSame','local','monthLong','day','year','startOf','week'];(function(_0x1ed6eb,_0x59dee1){const _0x31d30e=function(_0x18d8c4){while(--_0x18d8c4){_0x1ed6eb['push'](_0x1ed6eb['shift']());}};_0x31d30e(++_0x59dee1);}(_0x59de,0xe5));const _0x31d3=function(_0x1ed6eb,_0x59dee1){_0x1ed6eb=_0x1ed6eb-0x0;let _0x31d30e=_0x59de[_0x1ed6eb];return _0x31d30e;};import{DateTime as _0x295322}from'luxon';export function getDateTimePeriodInfo(_0x5eb203,_0x37b8df){const _0x2ff176=_0x295322['fromJSDate'](_0x5eb203)[_0x31d3('0x1')](_0x37b8df),_0x4fc096=_0x295322[_0x31d3('0x5')](),_0x38ad90=_0x4fc096[_0x31d3('0x2')]({'days':0x1})[_0x31d3('0x9')](_0x31d3('0x7'));let _0x4108b7,_0x172db0;return _0x2ff176[_0x31d3('0x4')](_0x4fc096,'day')?(_0x4108b7=_0x2ff176[_0x31d3('0x9')]('day')['toJSDate'](),_0x172db0=_0x2ff176['toRelativeCalendar']()):_0x2ff176['hasSame'](_0x38ad90,_0x31d3('0x7'))?(_0x4108b7=_0x38ad90[_0x31d3('0x3')](),_0x172db0=_0x2ff176['toRelativeCalendar']()):_0x2ff176[_0x31d3('0x4')](_0x4fc096,'week')?(_0x4108b7=_0x2ff176['startOf'](_0x31d3('0xa'))['toJSDate'](),_0x172db0=_0x2ff176[_0x31d3('0xb')]||''):_0x2ff176['hasSame'](_0x4fc096,_0x31d3('0x8'))?(_0x4108b7=_0x2ff176[_0x31d3('0x9')](_0x31d3('0x0'))[_0x31d3('0x3')](),_0x172db0=_0x2ff176[_0x31d3('0x6')]||''):(_0x4108b7=_0x2ff176[_0x31d3('0x9')](_0x31d3('0x8'))['toJSDate'](),_0x172db0=String(_0x2ff176[_0x31d3('0x8')])),{'startDate':_0x4108b7,'localizedPeriodName':_0x172db0};}
23
+ const _0xe94f=['month','startOf','week','hasSame','monthLong','toJSDate','year','weekdayLong','day','toRelativeCalendar','minus'];(function(_0x5cd3cd,_0xe94fce){const _0x57735e=function(_0xf50639){while(--_0xf50639){_0x5cd3cd['push'](_0x5cd3cd['shift']());}};_0x57735e(++_0xe94fce);}(_0xe94f,0x1ea));const _0x5773=function(_0x5cd3cd,_0xe94fce){_0x5cd3cd=_0x5cd3cd-0x0;let _0x57735e=_0xe94f[_0x5cd3cd];return _0x57735e;};import{DateTime as _0x5c6482}from'luxon';export function getDateTimePeriodInfo(_0x474235,_0x561c62){const _0x1ea690=_0x5c6482['fromJSDate'](_0x474235)['setLocale'](_0x561c62),_0x4ee822=_0x5c6482['local'](),_0x31b16f=_0x4ee822[_0x5773('0x4')]({'days':0x1})[_0x5773('0x6')](_0x5773('0x2'));let _0x37425a,_0x2878f6;return _0x1ea690[_0x5773('0x8')](_0x4ee822,_0x5773('0x2'))?(_0x37425a=_0x1ea690[_0x5773('0x6')](_0x5773('0x2'))['toJSDate'](),_0x2878f6=_0x1ea690[_0x5773('0x3')]()):_0x1ea690['hasSame'](_0x31b16f,_0x5773('0x2'))?(_0x37425a=_0x31b16f['toJSDate'](),_0x2878f6=_0x1ea690[_0x5773('0x3')]()):_0x1ea690[_0x5773('0x8')](_0x4ee822,_0x5773('0x7'))?(_0x37425a=_0x1ea690[_0x5773('0x6')](_0x5773('0x7'))[_0x5773('0xa')](),_0x2878f6=_0x1ea690[_0x5773('0x1')]||''):_0x1ea690['hasSame'](_0x4ee822,_0x5773('0x0'))?(_0x37425a=_0x1ea690['startOf'](_0x5773('0x5'))[_0x5773('0xa')](),_0x2878f6=_0x1ea690[_0x5773('0x9')]||''):(_0x37425a=_0x1ea690['startOf'](_0x5773('0x0'))[_0x5773('0xa')](),_0x2878f6=String(_0x1ea690[_0x5773('0x0')])),{'startDate':_0x37425a,'localizedPeriodName':_0x2878f6};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5374=['name','element','type','set','ck-revision-change__label','ck-revision-change__','Suggested\x20by','add','isSuggestion','focus','ck-revision-change','bindTemplate','_model','div','ck-annotation','Added\x20by','span','data','author'];(function(_0x366e7a,_0x5374da){const _0x2db0b8=function(_0x483fec){while(--_0x483fec){_0x366e7a['push'](_0x366e7a['shift']());}};_0x2db0b8(++_0x5374da);}(_0x5374,0x148));const _0x2db0=function(_0x366e7a,_0x5374da){_0x366e7a=_0x366e7a-0x0;let _0x2db0b8=_0x5374[_0x366e7a];return _0x2db0b8;};import{View as _0x4056e5}from'ckeditor5/src/ui';import{getTranslation as _0x49cf0e}from'../../utils/common-translations';export default class Z extends _0x4056e5{constructor(_0x3e98f1,_0x41caa2){super(_0x3e98f1),this[_0x2db0('0x7')]=_0x41caa2,this['changeId']=_0x41caa2['id'];const _0x274af5=this[_0x2db0('0x6')],_0x4df99b=_0x49cf0e(_0x3e98f1,_0x41caa2[_0x2db0('0xc')][_0x2db0('0x3')]?_0x2db0('0x1'):_0x2db0('0x2')==_0x41caa2[_0x2db0('0x10')]?_0x2db0('0xa'):'Removed\x20by');this[_0x2db0('0x11')](_0x2db0('0x10'),_0x41caa2['type']),this['setTemplate']({'tag':_0x2db0('0x8'),'attributes':{'class':[_0x2db0('0x9'),_0x2db0('0x5'),_0x274af5['to'](_0x2db0('0x10'),_0x4e09e2=>_0x2db0('0x0')+_0x4e09e2)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':_0x2db0('0xb'),'attributes':{'class':[_0x2db0('0x12')]},'children':[{'text':_0x4df99b}]},{'text':'\x20'+_0x41caa2[_0x2db0('0xd')][_0x2db0('0xe')]}]}]});}[_0x2db0('0x4')](){this[_0x2db0('0xf')][_0x2db0('0x4')]();}}
23
+ const _0xf05f=['setTemplate','Suggested\x20by','ck-annotation','data','Removed\x20by','_model','ck-revision-change__label','focus','element','type','author','span','div','isSuggestion'];(function(_0x22f9ed,_0xf05f19){const _0x1810b4=function(_0x2417d6){while(--_0x2417d6){_0x22f9ed['push'](_0x22f9ed['shift']());}};_0x1810b4(++_0xf05f19);}(_0xf05f,0xf7));const _0x1810=function(_0x22f9ed,_0xf05f19){_0x22f9ed=_0x22f9ed-0x0;let _0x1810b4=_0xf05f[_0x22f9ed];return _0x1810b4;};import{View as _0x50ff22}from'ckeditor5/src/ui';import{getTranslation as _0x5f8b2a}from'../../utils/common-translations';export default class Z extends _0x50ff22{constructor(_0x4dbab2,_0x39ea09){super(_0x4dbab2),this[_0x1810('0xa')]=_0x39ea09,this['changeId']=_0x39ea09['id'];const _0x11fc29=this['bindTemplate'],_0x44bbbe=_0x5f8b2a(_0x4dbab2,_0x39ea09[_0x1810('0x8')][_0x1810('0x4')]?_0x1810('0x6'):'add'==_0x39ea09[_0x1810('0x0')]?'Added\x20by':_0x1810('0x9'));this['set'](_0x1810('0x0'),_0x39ea09[_0x1810('0x0')]),this[_0x1810('0x5')]({'tag':_0x1810('0x3'),'attributes':{'class':[_0x1810('0x7'),'ck-revision-change',_0x11fc29['to'](_0x1810('0x0'),_0x2adbe0=>'ck-revision-change__'+_0x2adbe0)],'tabindex':-0x1},'children':[{'tag':_0x1810('0x2'),'children':[{'tag':_0x1810('0x2'),'attributes':{'class':[_0x1810('0xb')]},'children':[{'text':_0x44bbbe}]},{'text':'\x20'+_0x39ea09[_0x1810('0x1')]['name']}]}]});}[_0x1810('0xc')](){this[_0x1810('0xd')]['focus']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1082=['NUMBER_OF_CHANGES','setTemplate','No\x20changes','isForwardNavigationEnabled','isBackwardNavigationEnabled','isNavigationMode','Show\x20previous\x20change','backward','execute','ck-hidden','numberOfChanges','isReady','span','_statusText','ck-revision-history-ui__changes-navigation__navigation','ck-revision-history-ui__changes-navigation__label','bind','fire','set','Total','Loading...','ck-revision-history-ui__changes-navigation__wrapper','bindTemplate','forward','currentChangeNumber','EDIT_X_OF_Y_REVISIONS','isEnabled','X_OF_Y_CHANGES','_isStatusLabelVisible','ck-revision-history-ui','div'];(function(_0x16d845,_0x108216){const _0x5d0587=function(_0x4fc3a2){while(--_0x4fc3a2){_0x16d845['push'](_0x16d845['shift']());}};_0x5d0587(++_0x108216);}(_0x1082,0x69));const _0x5d05=function(_0x16d845,_0x108216){_0x16d845=_0x16d845-0x0;let _0x5d0587=_0x1082[_0x16d845];return _0x5d0587;};import{View as _0x5b1104,ButtonView as _0x206a4d,ToolbarSeparatorView as _0x25d4cc}from'ckeditor5/src/ui';import{getTranslation as _0x5b269f}from'../../utils/common-translations';import _0x18f47a from'../../../theme/icons/arrow-up.svg';import _0xda7204 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x5b1104{constructor(_0x1203bd){super(_0x1203bd);const _0x3e93e7=this[_0x5d05('0xa')],_0x2aa7e9=new _0x206a4d(_0x1203bd),_0x416b45=new _0x206a4d(_0x1203bd);this[_0x5d05('0x6')](_0x5d05('0x18'),!0x1),this[_0x5d05('0x6')](_0x5d05('0x1e'),!0x1),this[_0x5d05('0x6')](_0x5d05('0xc'),0x0),this['set'](_0x5d05('0x1d'),0x0),this[_0x5d05('0x6')](_0x5d05('0x16'),!0x1),this[_0x5d05('0x6')](_0x5d05('0x17'),!0x1),this[_0x5d05('0x4')](_0x5d05('0x10'))['to'](this,'isReady',this,_0x5d05('0x1d'),(_0x39c55a,_0x5e041d)=>_0x39c55a&&_0x5e041d>0x0),this[_0x5d05('0x4')](_0x5d05('0x1'))['to'](this,'isReady',this,_0x5d05('0xc'),this,_0x5d05('0x1d'),this,_0x5d05('0x18'),(_0x5c0dcc,_0x5d184d,_0x5ac73a,_0x2d2937)=>{if(!_0x5c0dcc)return _0x5b269f(_0x1203bd,_0x5d05('0x8'));if(!_0x5ac73a)return _0x5b269f(_0x1203bd,_0x5d05('0x15'));const _0x395d85=_0x5b269f(_0x1203bd,_0x5d05('0x13'),_0x5ac73a);return _0x2d2937?_0x5b269f(_0x1203bd,_0x5d05('0xf'),[_0x5d184d+0x1,_0x5ac73a]):_0x395d85;}),_0x2aa7e9['set']({'label':_0x5b269f(_0x1203bd,_0x5d05('0x19')),'tooltip':!0x0,'icon':_0x18f47a}),_0x416b45['set']({'label':_0x5b269f(_0x1203bd,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0xda7204}),_0x2aa7e9[_0x5d05('0x4')](_0x5d05('0xe'))['to'](this,_0x5d05('0x17')),_0x416b45['bind']('isEnabled')['to'](this,_0x5d05('0x16')),_0x2aa7e9['on'](_0x5d05('0x1b'),()=>this[_0x5d05('0x5')](_0x5d05('0x1b'),_0x5d05('0x1a'))),_0x416b45['on'](_0x5d05('0x1b'),()=>this[_0x5d05('0x5')](_0x5d05('0x1b'),_0x5d05('0xb'))),this[_0x5d05('0x14')]({'tag':_0x5d05('0x12'),'attributes':{'class':['ck',_0x5d05('0x11'),'ck-revision-history-ui__changes-navigation']},'children':[{'tag':_0x5d05('0x0'),'attributes':{'class':[_0x5d05('0x9')]},'children':[{'tag':_0x5d05('0x0'),'attributes':{'class':[_0x5d05('0x3'),_0x3e93e7['if'](_0x5d05('0x10'),_0x5d05('0x1c'),_0x3ddad5=>!_0x3ddad5)]},'children':[{'text':_0x3e93e7['to']('isNavigationMode',_0x49cfe8=>_0x49cfe8?_0x5b269f(_0x1203bd,_0x5d05('0xd'))+':\x20':_0x5b269f(_0x1203bd,_0x5d05('0x7'))+':\x20')}]},{'text':_0x3e93e7['to']('_statusText')}]},new _0x25d4cc(),{'tag':'div','attributes':{'class':[_0x5d05('0x2')]},'children':[_0x2aa7e9,_0x416b45]}]});}}
23
+ const _0x245c=['numberOfChanges','_isStatusLabelVisible','Show\x20next\x20change','isForwardNavigationEnabled','forward','ck-revision-history-ui__changes-navigation','ck-revision-history-ui','Total','execute','span','ck-revision-history-ui__changes-navigation__navigation','currentChangeNumber','isReady','NUMBER_OF_CHANGES','ck-hidden','Show\x20previous\x20change','isEnabled','EDIT_X_OF_Y_REVISIONS','bind','Loading...','fire','isNavigationMode','set','X_OF_Y_CHANGES','ck-revision-history-ui__changes-navigation__wrapper','div','ck-revision-history-ui__changes-navigation__label','backward','isBackwardNavigationEnabled','setTemplate'];(function(_0x51bb01,_0x245cae){const _0x41a4b9=function(_0x10e2ec){while(--_0x10e2ec){_0x51bb01['push'](_0x51bb01['shift']());}};_0x41a4b9(++_0x245cae);}(_0x245c,0x1bb));const _0x41a4=function(_0x51bb01,_0x245cae){_0x51bb01=_0x51bb01-0x0;let _0x41a4b9=_0x245c[_0x51bb01];return _0x41a4b9;};import{View as _0x3d5abc,ButtonView as _0x27ffdb,ToolbarSeparatorView as _0x18137b}from'ckeditor5/src/ui';import{getTranslation as _0x1df0d8}from'../../utils/common-translations';import _0x188cb9 from'../../../theme/icons/arrow-up.svg';import _0x113457 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x3d5abc{constructor(_0x18319b){super(_0x18319b);const _0x4f7fc0=this['bindTemplate'],_0x270116=new _0x27ffdb(_0x18319b),_0x498412=new _0x27ffdb(_0x18319b);this['set'](_0x41a4('0x1c'),!0x1),this[_0x41a4('0x1d')]('isReady',!0x1),this[_0x41a4('0x1d')]('currentChangeNumber',0x0),this[_0x41a4('0x1d')]('numberOfChanges',0x0),this[_0x41a4('0x1d')](_0x41a4('0xa'),!0x1),this[_0x41a4('0x1d')](_0x41a4('0x5'),!0x1),this[_0x41a4('0x19')](_0x41a4('0x8'))['to'](this,_0x41a4('0x13'),this,_0x41a4('0x7'),(_0x573e22,_0x45406a)=>_0x573e22&&_0x45406a>0x0),this['bind']('_statusText')['to'](this,_0x41a4('0x13'),this,_0x41a4('0x12'),this,'numberOfChanges',this,_0x41a4('0x1c'),(_0x4a9f99,_0x47159c,_0x247266,_0x38c5ab)=>{if(!_0x4a9f99)return _0x1df0d8(_0x18319b,_0x41a4('0x1a'));if(!_0x247266)return _0x1df0d8(_0x18319b,'No\x20changes');const _0x33e5ca=_0x1df0d8(_0x18319b,_0x41a4('0x14'),_0x247266);return _0x38c5ab?_0x1df0d8(_0x18319b,_0x41a4('0x0'),[_0x47159c+0x1,_0x247266]):_0x33e5ca;}),_0x270116[_0x41a4('0x1d')]({'label':_0x1df0d8(_0x18319b,_0x41a4('0x16')),'tooltip':!0x0,'icon':_0x188cb9}),_0x498412[_0x41a4('0x1d')]({'label':_0x1df0d8(_0x18319b,_0x41a4('0x9')),'tooltip':!0x0,'icon':_0x113457}),_0x270116[_0x41a4('0x19')]('isEnabled')['to'](this,_0x41a4('0x5')),_0x498412[_0x41a4('0x19')](_0x41a4('0x17'))['to'](this,_0x41a4('0xa')),_0x270116['on'](_0x41a4('0xf'),()=>this[_0x41a4('0x1b')](_0x41a4('0xf'),_0x41a4('0x4'))),_0x498412['on'](_0x41a4('0xf'),()=>this['fire'](_0x41a4('0xf'),_0x41a4('0xb'))),this[_0x41a4('0x6')]({'tag':_0x41a4('0x2'),'attributes':{'class':['ck',_0x41a4('0xd'),_0x41a4('0xc')]},'children':[{'tag':_0x41a4('0x10'),'attributes':{'class':[_0x41a4('0x1')]},'children':[{'tag':_0x41a4('0x10'),'attributes':{'class':[_0x41a4('0x3'),_0x4f7fc0['if'](_0x41a4('0x8'),_0x41a4('0x15'),_0x4bd039=>!_0x4bd039)]},'children':[{'text':_0x4f7fc0['to'](_0x41a4('0x1c'),_0x2baac4=>_0x2baac4?_0x1df0d8(_0x18319b,_0x41a4('0x18'))+':\x20':_0x1df0d8(_0x18319b,_0x41a4('0xe'))+':\x20')}]},{'text':_0x4f7fc0['to']('_statusText')}]},new _0x18137b(),{'tag':_0x41a4('0x2'),'attributes':{'class':[_0x41a4('0x11')]},'children':[_0x270116,_0x498412]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdedd=['change','addClass','RevisionViewerLoadingOverlay','document','view','show','removeClass','hide','editor','editing','roots','pluginName'];(function(_0x5267ef,_0xdedd4b){const _0x2f4eb7=function(_0x42e309){while(--_0x42e309){_0x5267ef['push'](_0x5267ef['shift']());}};_0x2f4eb7(++_0xdedd4b);}(_0xdedd,0x1be));const _0x2f4e=function(_0x5267ef,_0xdedd4b){_0x5267ef=_0x5267ef-0x0;let _0x2f4eb7=_0xdedd[_0x5267ef];return _0x2f4eb7;};import{Plugin as _0x271b4d}from'ckeditor5/src/core';const oe='ck-editor__editable__loading-overlay';import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x271b4d{static get[_0x2f4e('0x9')](){return _0x2f4e('0x0');}[_0x2f4e('0x3')](){const _0x4fbb67=this['editor'][_0x2f4e('0x7')][_0x2f4e('0x2')];_0x4fbb67[_0x2f4e('0xa')](_0x1fa5a5=>{for(const _0x2d03fe of _0x4fbb67[_0x2f4e('0x1')][_0x2f4e('0x8')])_0x1fa5a5[_0x2f4e('0xb')](oe,_0x2d03fe);});}[_0x2f4e('0x5')](){const _0x5373e4=this[_0x2f4e('0x6')][_0x2f4e('0x7')]['view'];_0x5373e4[_0x2f4e('0xa')](_0x399790=>{for(const _0x5266a5 of _0x5373e4[_0x2f4e('0x1')]['roots'])_0x399790[_0x2f4e('0x4')](oe,_0x5266a5);});}}
23
+ const _0x52fd=['change','show','addClass','ck-editor__editable__loading-overlay','document','editor','RevisionViewerLoadingOverlay','view'];(function(_0x4a36af,_0x52fd16){const _0x102827=function(_0x25a063){while(--_0x25a063){_0x4a36af['push'](_0x4a36af['shift']());}};_0x102827(++_0x52fd16);}(_0x52fd,0x19c));const _0x1028=function(_0x4a36af,_0x52fd16){_0x4a36af=_0x4a36af-0x0;let _0x102827=_0x52fd[_0x4a36af];return _0x102827;};import{Plugin as _0x4693f1}from'ckeditor5/src/core';const oe=_0x1028('0x7');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x4693f1{static get['pluginName'](){return _0x1028('0x2');}[_0x1028('0x5')](){const _0x3b99e5=this[_0x1028('0x1')]['editing'][_0x1028('0x3')];_0x3b99e5['change'](_0x232260=>{for(const _0x319217 of _0x3b99e5[_0x1028('0x0')]['roots'])_0x232260[_0x1028('0x6')](oe,_0x319217);});}['hide'](){const _0x108a13=this['editor']['editing'][_0x1028('0x3')];_0x108a13[_0x1028('0x4')](_0x47f74a=>{for(const _0x534d36 of _0x108a13[_0x1028('0x0')]['roots'])_0x47f74a['removeClass'](oe,_0x534d36);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a5c=['pluginName','plugins','ck-revision-history-ui__back-to-editing','Restore\x20this\x20revision','showPreviousChange','closeRevisionViewerCallback','config','numberOfChanges','revisionHistory','add','isEnabled','listenTo','forward','isBackwardNavigationEnabled','execute','isReady','bind','RevisionViewerUI','get','isForwardNavigationEnabled','hide','commands','init','show','set','restoreRevision','isNavigationMode','change:isReady','requires','componentFactory'];(function(_0x1d80cc,_0x5a5c27){const _0x6fd2fe=function(_0x39c85c){while(--_0x39c85c){_0x1d80cc['push'](_0x1d80cc['shift']());}};_0x6fd2fe(++_0x5a5c27);}(_0x5a5c,0xe0));const _0x6fd2=function(_0x1d80cc,_0x5a5c27){_0x1d80cc=_0x1d80cc-0x0;let _0x6fd2fe=_0x5a5c[_0x1d80cc];return _0x6fd2fe;};import{Plugin as _0x4606f4}from'ckeditor5/src/core';import{ButtonView as _0x4d4801}from'ckeditor5/src/ui';import _0x3f25e3 from'./changesnavigationview';import _0x14a3fd from'./../../revisionviewer';import _0x4c63bd from'./revisionviewerloadingoverlay';import{getTranslation as _0x17232e}from'../../utils/common-translations';import _0x42434b from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x4606f4{static get[_0x6fd2('0x10')](){return _0x6fd2('0x3');}static get[_0x6fd2('0xe')](){return[_0x14a3fd,_0x4c63bd];}[_0x6fd2('0x8')](){const _0x2bd20b=this['editor'],_0x2e1d9f=_0x2bd20b[_0x6fd2('0x11')][_0x6fd2('0x4')](_0x14a3fd),_0x5708a3=_0x2bd20b[_0x6fd2('0x11')][_0x6fd2('0x4')](_0x4c63bd);_0x2bd20b['ui']['componentFactory']['add']('exitToEditing',_0x56d49c=>{const _0x30f912=new _0x4d4801(_0x56d49c);return _0x30f912[_0x6fd2('0xa')]({'label':_0x17232e(_0x56d49c,'Back\x20to\x20editing'),'icon':_0x42434b,'withText':!0x0,'tooltip':!0x0,'class':_0x6fd2('0x12')}),this[_0x6fd2('0x1b')](_0x30f912,_0x6fd2('0x0'),()=>{_0x2bd20b[_0x6fd2('0x16')][_0x6fd2('0x4')](_0x6fd2('0x18'))[_0x6fd2('0x15')]();}),_0x30f912;}),_0x2bd20b['ui'][_0x6fd2('0xf')][_0x6fd2('0x19')](_0x6fd2('0xb'),_0x1d9cbf=>{const _0x4c3cd2=new _0x4d4801(_0x1d9cbf);return _0x4c3cd2[_0x6fd2('0xa')]({'label':_0x17232e(_0x1d9cbf,_0x6fd2('0x13')),'withText':!0x0,'tooltip':!0x0}),_0x4c3cd2['bind'](_0x6fd2('0x1a'))['to'](_0x2bd20b[_0x6fd2('0x7')][_0x6fd2('0x4')](_0x6fd2('0xb'))),this[_0x6fd2('0x1b')](_0x4c3cd2,_0x6fd2('0x0'),()=>_0x2bd20b[_0x6fd2('0x0')]('restoreRevision')),_0x4c3cd2;}),_0x2bd20b['ui'][_0x6fd2('0xf')][_0x6fd2('0x19')]('changesNavigation',_0x4fd736=>{const _0x21e61e=new _0x3f25e3(_0x4fd736),_0x2e43dc=_0x2bd20b[_0x6fd2('0x7')]['get']('showPreviousChange'),_0x1ea2b0=_0x2bd20b[_0x6fd2('0x7')][_0x6fd2('0x4')]('showNextChange');return _0x21e61e['bind'](_0x6fd2('0x1d'))['to'](_0x2e43dc,_0x6fd2('0x1a')),_0x21e61e[_0x6fd2('0x2')](_0x6fd2('0x5'))['to'](_0x1ea2b0,_0x6fd2('0x1a')),_0x21e61e['bind'](_0x6fd2('0x1'),'currentChangeNumber',_0x6fd2('0x17'),_0x6fd2('0xc'))['to'](_0x2e1d9f),this[_0x6fd2('0x1b')](_0x21e61e,_0x6fd2('0x0'),(_0x5f0b86,_0x4c4de5)=>{_0x2bd20b[_0x6fd2('0x0')](_0x6fd2('0x1c')===_0x4c4de5?'showNextChange':_0x6fd2('0x14'));}),_0x21e61e;}),_0x5708a3[_0x6fd2('0x9')](),_0x2e1d9f['on'](_0x6fd2('0xd'),(_0x528d00,_0xcd9025,_0x5773ff)=>{_0x5773ff?_0x5708a3[_0x6fd2('0x6')]():_0x5708a3[_0x6fd2('0x9')]();});}}
23
+ const _0x3f7e=['execute','set','showNextChange','componentFactory','init','exitToEditing','changesNavigation','get','commands','isBackwardNavigationEnabled','bind','config','restoreRevision','RevisionViewerUI','closeRevisionViewerCallback','ck-revision-history-ui__back-to-editing','show','isForwardNavigationEnabled','add','isEnabled','requires','listenTo','pluginName','Restore\x20this\x20revision','editor','Back\x20to\x20editing'];(function(_0x59ae2c,_0x3f7e9a){const _0x1d2faa=function(_0x3e43d7){while(--_0x3e43d7){_0x59ae2c['push'](_0x59ae2c['shift']());}};_0x1d2faa(++_0x3f7e9a);}(_0x3f7e,0x1dd));const _0x1d2f=function(_0x59ae2c,_0x3f7e9a){_0x59ae2c=_0x59ae2c-0x0;let _0x1d2faa=_0x3f7e[_0x59ae2c];return _0x1d2faa;};import{Plugin as _0x51b89e}from'ckeditor5/src/core';import{ButtonView as _0x2124b4}from'ckeditor5/src/ui';import _0x5e0d6f from'./changesnavigationview';import _0x4fad9b from'./../../revisionviewer';import _0x56035 from'./revisionviewerloadingoverlay';import{getTranslation as _0x5ba3ff}from'../../utils/common-translations';import _0x3dbfd1 from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x51b89e{static get[_0x1d2f('0xd')](){return _0x1d2f('0x4');}static get[_0x1d2f('0xb')](){return[_0x4fad9b,_0x56035];}[_0x1d2f('0x15')](){const _0x2a333b=this[_0x1d2f('0xf')],_0x3bb791=_0x2a333b['plugins'][_0x1d2f('0x18')](_0x4fad9b),_0x20f5c7=_0x2a333b['plugins']['get'](_0x56035);_0x2a333b['ui']['componentFactory'][_0x1d2f('0x9')](_0x1d2f('0x16'),_0x1cf8fa=>{const _0x14e216=new _0x2124b4(_0x1cf8fa);return _0x14e216['set']({'label':_0x5ba3ff(_0x1cf8fa,_0x1d2f('0x10')),'icon':_0x3dbfd1,'withText':!0x0,'tooltip':!0x0,'class':_0x1d2f('0x6')}),this['listenTo'](_0x14e216,_0x1d2f('0x11'),()=>{_0x2a333b[_0x1d2f('0x2')][_0x1d2f('0x18')]('revisionHistory')[_0x1d2f('0x5')]();}),_0x14e216;}),_0x2a333b['ui'][_0x1d2f('0x14')][_0x1d2f('0x9')]('restoreRevision',_0x479950=>{const _0x3c0557=new _0x2124b4(_0x479950);return _0x3c0557[_0x1d2f('0x12')]({'label':_0x5ba3ff(_0x479950,_0x1d2f('0xe')),'withText':!0x0,'tooltip':!0x0}),_0x3c0557[_0x1d2f('0x1')](_0x1d2f('0xa'))['to'](_0x2a333b[_0x1d2f('0x19')][_0x1d2f('0x18')](_0x1d2f('0x3'))),this[_0x1d2f('0xc')](_0x3c0557,_0x1d2f('0x11'),()=>_0x2a333b[_0x1d2f('0x11')](_0x1d2f('0x3'))),_0x3c0557;}),_0x2a333b['ui'][_0x1d2f('0x14')][_0x1d2f('0x9')](_0x1d2f('0x17'),_0x676942=>{const _0x3b1d9e=new _0x5e0d6f(_0x676942),_0x1c5979=_0x2a333b[_0x1d2f('0x19')]['get']('showPreviousChange'),_0x25167d=_0x2a333b['commands'][_0x1d2f('0x18')]('showNextChange');return _0x3b1d9e[_0x1d2f('0x1')](_0x1d2f('0x0'))['to'](_0x1c5979,_0x1d2f('0xa')),_0x3b1d9e['bind'](_0x1d2f('0x8'))['to'](_0x25167d,_0x1d2f('0xa')),_0x3b1d9e[_0x1d2f('0x1')]('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x3bb791),this[_0x1d2f('0xc')](_0x3b1d9e,_0x1d2f('0x11'),(_0x538cda,_0x303974)=>{_0x2a333b[_0x1d2f('0x11')]('forward'===_0x303974?_0x1d2f('0x13'):'showPreviousChange');}),_0x3b1d9e;}),_0x20f5c7['show'](),_0x3bb791['on']('change:isReady',(_0x3090e1,_0x2e142a,_0x34fa98)=>{_0x34fa98?_0x20f5c7['hide']():_0x20f5c7[_0x1d2f('0x7')]();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x1f74c9,_0x6d8ba4,_0x365a6e){const t=_0x1f74c9['t'];switch(_0x6d8ba4){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'},_0x365a6e);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x365a6e);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'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision\x20(optional)':return t('Name\x20of\x20the\x20revision\x20(optional)');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});default:return _0x6d8ba4;}}
23
+ export function getTranslation(_0x566fe3,_0x5f3496,_0x41cce9){const t=_0x566fe3['t'];switch(_0x5f3496){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'},_0x41cce9);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x41cce9);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'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision\x20(optional)':return t('Name\x20of\x20the\x20revision\x20(optional)');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});default:return _0x5f3496;}}