@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20230829.0 → 0.0.0-nightly-20230830.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 _0x1166=['focus','revisionName','remove','buttonView','panelView','items','isEnabled','render','showRevisionViewerCallback','Open\x20revision\x20history','isOpen','children','get','editing','config','cancel','plugins','editor','reset','isReadOnly','RevisionTracker','set','execute','saveButtonView','componentFactory','saveRevision','requires','add','init','length','revisionHistory','addMany','pluginName','Save\x20current\x20revision','submit','bind','isReady','RevisionHistoryUI'];(function(_0x838cec,_0x11660b){const _0x434cc9=function(_0x131f84){while(--_0x131f84){_0x838cec['push'](_0x838cec['shift']());}};_0x434cc9(++_0x11660b);}(_0x1166,0x86));const _0x434c=function(_0x838cec,_0x11660b){_0x838cec=_0x838cec-0x0;let _0x434cc9=_0x1166[_0x838cec];return _0x434cc9;};import{Plugin as _0x297c0b}from'ckeditor5/src/core';import{ListView as _0x678552,ListItemView as _0x10e947,ButtonView as _0x49f130,createDropdown as _0x436761}from'ckeditor5/src/ui';import _0x110614 from'../../revisiontracker';import _0x30562e from'./revisionhistorysaverevisionformview';import _0x4a5138 from'../../../theme/icons/revision-history.svg';import{getTranslation as _0x31823d}from'../../utils/common-translations';export default class u extends _0x297c0b{static get[_0x434c('0xc')](){return _0x434c('0x11');}static get[_0x434c('0x6')](){return[_0x110614];}[_0x434c('0x8')](){const _0x5efee0=this[_0x434c('0x23')],_0x2cfa3f=_0x5efee0['plugins'][_0x434c('0x1e')](_0x434c('0x0'));_0x5efee0['ui'][_0x434c('0x4')]['add'](_0x434c('0xa'),_0x40600e=>{const _0x3127e5=_0x436761(_0x40600e),_0x141b96=_0x3127e5[_0x434c('0x16')]['children'],_0x1b36d7=new _0x678552(_0x40600e),_0x337a30=new _0x10e947(_0x40600e),_0x4b208d=new _0x49f130(_0x40600e),_0x17d14a=new _0x10e947(_0x40600e),_0x25c9ce=new _0x49f130(_0x40600e),_0x3b2615=new _0x30562e(_0x40600e);function _0x3983c4(){_0x141b96[_0x434c('0x9')]&&_0x141b96[_0x434c('0x14')](0x0),_0x141b96[_0x434c('0x7')](_0x1b36d7);}function _0x301e3a(){_0x3127e5[_0x434c('0x1c')]=!0x1,_0x5efee0[_0x434c('0x1f')]['view']['focus']();}return _0x3127e5[_0x434c('0xf')](_0x434c('0x18'))['to'](_0x2cfa3f,_0x434c('0x10'),_0x2cfa3f,_0x434c('0x18'),_0x5efee0,_0x434c('0x25'),(_0x1fd41e,_0xbea594,_0x17a1f7)=>_0x1fd41e&&_0xbea594&&!_0x17a1f7),_0x3127e5[_0x434c('0x15')][_0x434c('0x1')]({'icon':_0x4a5138,'label':_0x31823d(_0x40600e,'Revision\x20history'),'tooltip':!0x0}),_0x4b208d['set']({'label':_0x31823d(_0x40600e,_0x434c('0xd')),'withText':!0x0}),_0x4b208d['bind'](_0x434c('0x18'))['to'](_0x2cfa3f,_0x434c('0x10'),_0x2cfa3f,_0x434c('0x18'),_0x5efee0,_0x434c('0x25'),(_0x3d893c,_0x11cf72,_0xb3746f)=>_0x3d893c&&_0x11cf72&&!_0xb3746f),_0x4b208d['on'](_0x434c('0x2'),()=>function(){_0x141b96['length']&&_0x141b96[_0x434c('0x14')](0x0),(_0x3b2615[_0x434c('0x24')](),_0x141b96['add'](_0x3b2615),_0x3b2615[_0x434c('0x12')]());}()),_0x25c9ce['set']({'label':_0x31823d(_0x40600e,_0x434c('0x1b')),'withText':!0x0}),_0x25c9ce[_0x434c('0xf')]('isEnabled')['to'](_0x2cfa3f,'isReady',_0x5efee0,'isReadOnly',(_0x1ab1f9,_0x1d1af0)=>_0x1ab1f9&&!_0x1d1af0),_0x25c9ce['on'](_0x434c('0x2'),()=>{_0x5efee0[_0x434c('0x20')][_0x434c('0x1e')](_0x434c('0xa'))[_0x434c('0x1a')](),_0x301e3a();}),_0x337a30[_0x434c('0x1d')][_0x434c('0x7')](_0x4b208d),_0x17d14a[_0x434c('0x1d')][_0x434c('0x7')](_0x25c9ce),_0x1b36d7[_0x434c('0x17')][_0x434c('0xb')]([_0x337a30,_0x17d14a]),_0x3127e5['on']('change:isOpen',()=>_0x3983c4()),_0x3b2615[_0x434c('0x3')]['bind'](_0x434c('0x18'))['to'](_0x2cfa3f,_0x434c('0x10'),_0x2cfa3f,_0x434c('0x18'),_0x5efee0,_0x434c('0x25'),(_0x5c8bb0,_0xffd71c,_0x34de3e)=>_0x5c8bb0&&_0xffd71c&&!_0x34de3e),_0x3b2615['on'](_0x434c('0xe'),()=>(_0x5efee0[_0x434c('0x22')][_0x434c('0x1e')](_0x110614)[_0x434c('0x5')]({'name':_0x3b2615[_0x434c('0x13')]}),void _0x301e3a())),_0x3b2615['on'](_0x434c('0x21'),()=>_0x3983c4()),_0x3b2615[_0x434c('0x19')](),_0x3983c4(),_0x3127e5;});}}
23
+ const _0x4982=['execute','panelView','get','focus','Open\x20revision\x20history','init','editor','addMany','remove','revisionName','cancel','render','set','isReady','pluginName','Revision\x20history','view','Save\x20current\x20revision','RevisionHistoryUI','change:isOpen','reset','isReadOnly','requires','isEnabled','showRevisionViewerCallback','items','saveRevision','children','RevisionTracker','add','buttonView','bind'];(function(_0x5dcd17,_0x4982b3){const _0xb9842=function(_0x395480){while(--_0x395480){_0x5dcd17['push'](_0x5dcd17['shift']());}};_0xb9842(++_0x4982b3);}(_0x4982,0x1ee));const _0xb984=function(_0x5dcd17,_0x4982b3){_0x5dcd17=_0x5dcd17-0x0;let _0xb9842=_0x4982[_0x5dcd17];return _0xb9842;};import{Plugin as _0x5e6f90}from'ckeditor5/src/core';import{ListView as _0x3606a3,ListItemView as _0x3f30a6,ButtonView as _0x56b371,createDropdown as _0x47cd2e}from'ckeditor5/src/ui';import _0x50aba9 from'../../revisiontracker';import _0x3fa4ae from'./revisionhistorysaverevisionformview';import _0x55b0fb from'../../../theme/icons/revision-history.svg';import{getTranslation as _0xff7ca5}from'../../utils/common-translations';export default class u extends _0x5e6f90{static get[_0xb984('0x0')](){return _0xb984('0x4');}static get[_0xb984('0x8')](){return[_0x50aba9];}[_0xb984('0x17')](){const _0x425e20=this[_0xb984('0x18')],_0x57d7f7=_0x425e20['plugins'][_0xb984('0x14')](_0xb984('0xe'));_0x425e20['ui']['componentFactory'][_0xb984('0xf')]('revisionHistory',_0x5eec60=>{const _0x35212a=_0x47cd2e(_0x5eec60),_0x34dfa0=_0x35212a[_0xb984('0x13')]['children'],_0xb4a553=new _0x3606a3(_0x5eec60),_0x45f35d=new _0x3f30a6(_0x5eec60),_0x17b74d=new _0x56b371(_0x5eec60),_0x2d3d3b=new _0x3f30a6(_0x5eec60),_0x1ce320=new _0x56b371(_0x5eec60),_0x217516=new _0x3fa4ae(_0x5eec60);function _0x4de74a(){_0x34dfa0['length']&&_0x34dfa0['remove'](0x0),_0x34dfa0[_0xb984('0xf')](_0xb4a553);}function _0xfb6c95(){_0x35212a['isOpen']=!0x1,_0x425e20['editing'][_0xb984('0x2')][_0xb984('0x15')]();}return _0x35212a[_0xb984('0x11')](_0xb984('0x9'))['to'](_0x57d7f7,'isReady',_0x57d7f7,'isEnabled',_0x425e20,_0xb984('0x7'),(_0x4210f0,_0x3b4a85,_0x5d8d1f)=>_0x4210f0&&_0x3b4a85&&!_0x5d8d1f),_0x35212a[_0xb984('0x10')][_0xb984('0x1e')]({'icon':_0x55b0fb,'label':_0xff7ca5(_0x5eec60,_0xb984('0x1')),'tooltip':!0x0}),_0x17b74d[_0xb984('0x1e')]({'label':_0xff7ca5(_0x5eec60,_0xb984('0x3')),'withText':!0x0}),_0x17b74d['bind'](_0xb984('0x9'))['to'](_0x57d7f7,_0xb984('0x1f'),_0x57d7f7,_0xb984('0x9'),_0x425e20,_0xb984('0x7'),(_0x4295c3,_0x20390c,_0x53a8d3)=>_0x4295c3&&_0x20390c&&!_0x53a8d3),_0x17b74d['on'](_0xb984('0x12'),()=>function(){_0x34dfa0['length']&&_0x34dfa0[_0xb984('0x1a')](0x0),(_0x217516[_0xb984('0x6')](),_0x34dfa0[_0xb984('0xf')](_0x217516),_0x217516[_0xb984('0x15')]());}()),_0x1ce320[_0xb984('0x1e')]({'label':_0xff7ca5(_0x5eec60,_0xb984('0x16')),'withText':!0x0}),_0x1ce320[_0xb984('0x11')](_0xb984('0x9'))['to'](_0x57d7f7,_0xb984('0x1f'),_0x425e20,_0xb984('0x7'),(_0x53273a,_0x323a84)=>_0x53273a&&!_0x323a84),_0x1ce320['on']('execute',()=>{_0x425e20['config'][_0xb984('0x14')]('revisionHistory')[_0xb984('0xa')](),_0xfb6c95();}),_0x45f35d[_0xb984('0xd')][_0xb984('0xf')](_0x17b74d),_0x2d3d3b[_0xb984('0xd')][_0xb984('0xf')](_0x1ce320),_0xb4a553[_0xb984('0xb')][_0xb984('0x19')]([_0x45f35d,_0x2d3d3b]),_0x35212a['on'](_0xb984('0x5'),()=>_0x4de74a()),_0x217516['saveButtonView'][_0xb984('0x11')]('isEnabled')['to'](_0x57d7f7,_0xb984('0x1f'),_0x57d7f7,_0xb984('0x9'),_0x425e20,_0xb984('0x7'),(_0x125de2,_0x5e21f7,_0x57ebb3)=>_0x125de2&&_0x5e21f7&&!_0x57ebb3),_0x217516['on']('submit',()=>(_0x425e20['plugins'][_0xb984('0x14')](_0x50aba9)[_0xb984('0xc')]({'name':_0x217516[_0xb984('0x1b')]}),void _0xfb6c95())),_0x217516['on'](_0xb984('0x1c'),()=>_0x4de74a()),_0x217516[_0xb984('0x1d')](),_0x4de74a(),_0x35212a;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26fd=['getRevisionsInDiff','ready','diff','Compare\x20against\x20selected','plugins','setName','_handleDiffChange','editor','data','_revisionViewer','RevisionsSidebar','element','revisionViews','getEarlierVisibleRevision','_revisions','name','restoreRevisionCallback','revisionHistory','_sidebarView','length','isReady','render','defaultRevisionActions','_revisionsRepository','isEnabled','isSelected','_createRevisionActions','compareAgainstSelected','_handleEditorDataReady','_handleRevisionSelected','selectRevision','appendChild','bind','revisionHistory.revisionActions','fieldView','timePeriodViews','action','destroy','get','listenTo','compare','repository','change:diff','getRevision','init','nameRevision','string','availableRevisionActions','config','map','add','_handleRevisionSetName','newRevisionId','revisionHistory.viewerSidebarContainer','assign','revisionSetName','isVisible'];(function(_0x1cc33a,_0x26fd9d){const _0x3c1cbd=function(_0x194db9){while(--_0x194db9){_0x1cc33a['push'](_0x1cc33a['shift']());}};_0x3c1cbd(++_0x26fd9d);}(_0x26fd,0xdc));const _0x3c1c=function(_0x1cc33a,_0x26fd9d){_0x1cc33a=_0x1cc33a-0x0;let _0x3c1cbd=_0x26fd[_0x1cc33a];return _0x3c1cbd;};import{Plugin as _0x24dfc2}from'ckeditor5/src/core';import _0x33db68 from'./revisionssidebarview';import _0xe60f85 from'../../revisionviewer';export default class w extends _0x24dfc2{static get['pluginName'](){return _0x3c1c('0x12');}static get['requires'](){return[_0xe60f85];}constructor(_0x29ed6b){super(_0x29ed6b),this[_0x3c1c('0x11')]=_0x29ed6b[_0x3c1c('0xc')][_0x3c1c('0x2e')](_0xe60f85),this[_0x3c1c('0x1f')]=this[_0x3c1c('0x11')][_0x3c1c('0x31')],this[_0x3c1c('0x1a')]=null;}[_0x3c1c('0x34')](){const _0x5b182c=this['_revisionsRepository'][_0x3c1c('0x16')],_0x4cebc1=this['_createRevisionActions'](),_0x530a00=this[_0x3c1c('0xf')][_0x3c1c('0x38')]['get'](_0x3c1c('0x4'));this['_sidebarView']=new _0x33db68(this[_0x3c1c('0xf')]['locale'],_0x5b182c,_0x4cebc1),this[_0x3c1c('0x1a')]['on']('revisionSelected',this[_0x3c1c('0x25')][_0x3c1c('0x28')](this)),this[_0x3c1c('0x1a')]['on'](_0x3c1c('0x6'),this['_handleRevisionSetName']['bind'](this)),this[_0x3c1c('0x1a')][_0x3c1c('0x28')](_0x3c1c('0x20'))['to'](this[_0x3c1c('0x11')]),this[_0x3c1c('0x1a')][_0x3c1c('0x2b')]['on'](_0x3c1c('0x1'),(_0x141b4f,_0x48081c)=>{_0x48081c[_0x3c1c('0x14')]['on']('add',(_0x5a6446,_0x3b0edf)=>{_0x3b0edf[_0x3c1c('0x28')](_0x3c1c('0x20'),_0x3c1c('0x1c'))['to'](this[_0x3c1c('0x11')]);});}),this['_sidebarView'][_0x3c1c('0x1d')](),this[_0x3c1c('0x2f')](this[_0x3c1c('0xf')][_0x3c1c('0x10')],_0x3c1c('0x9'),this[_0x3c1c('0x24')][_0x3c1c('0x28')](this)),this[_0x3c1c('0x2f')](this[_0x3c1c('0x11')],_0x3c1c('0x32'),this[_0x3c1c('0xe')][_0x3c1c('0x28')](this)),_0x530a00[_0x3c1c('0x27')](this[_0x3c1c('0x1a')][_0x3c1c('0x13')]);}['destroy'](){this['_sidebarView'][_0x3c1c('0x13')]['remove'](),this[_0x3c1c('0x1a')][_0x3c1c('0x2d')]();}[_0x3c1c('0x24')](){const _0x424b2e=this[_0x3c1c('0x1f')]['getRevision'](0x0);if(_0x424b2e){const _0x3440ad=this[_0x3c1c('0x1f')][_0x3c1c('0x15')](_0x424b2e['id']);this[_0x3c1c('0x11')][_0x3c1c('0x30')](_0x424b2e,_0x3440ad);}}[_0x3c1c('0x25')](_0x2013c6,_0x23f534){const _0x1a1d10=this[_0x3c1c('0x1f')][_0x3c1c('0x33')](_0x23f534['id']),_0x395238=this[_0x3c1c('0x1f')][_0x3c1c('0x15')](_0x1a1d10['id']);this[_0x3c1c('0x11')]['compare'](_0x1a1d10,_0x395238);}[_0x3c1c('0x2')](_0x53dc40,_0x54ee0c){this[_0x3c1c('0x1f')][_0x3c1c('0x33')](_0x54ee0c['id'])[_0x3c1c('0xd')](_0x54ee0c[_0x3c1c('0x17')]);}[_0x3c1c('0xe')](_0x462f04,_0x234d3a,_0x5e1fab){const _0x5d4372=this[_0x3c1c('0x1f')][_0x3c1c('0x8')](_0x5e1fab);_0x5d4372[_0x3c1c('0x1b')]>0x2?(this[_0x3c1c('0x1a')]['highlightRevisions'](_0x5d4372),this['_sidebarView'][_0x3c1c('0x26')](null)):(this[_0x3c1c('0x1a')]['highlightRevisions']([]),this[_0x3c1c('0x1a')][_0x3c1c('0x26')](_0x5d4372[0x0]));}[_0x3c1c('0x22')](){const _0xf52021=this[_0x3c1c('0xf')],_0x283efa=w[_0x3c1c('0x37')],_0x2ec079=_0xf52021['config'][_0x3c1c('0x2e')](_0x3c1c('0x29'))||w[_0x3c1c('0x1e')];if(_0x2ec079[_0x3c1c('0x1b')])return _0x2ec079[_0x3c1c('0x0')](_0x4af6d6=>{const _0x3c62f1=_0x3c1c('0x36')==typeof _0x4af6d6?Object[_0x3c1c('0x5')]({},_0x283efa[_0x4af6d6]):_0x4af6d6;return _0x3c62f1[_0x3c1c('0x2c')]=_0x3c62f1[_0x3c1c('0x2c')]['bind'](this,_0xf52021),_0x3c62f1[_0x3c1c('0x7')]&&(_0x3c62f1['isVisible']=_0x3c62f1[_0x3c1c('0x7')][_0x3c1c('0x28')](this,_0xf52021)),_0x3c62f1;});}}w[_0x3c1c('0x37')]={'compareAgainstSelected':{'name':_0x3c1c('0xb'),'action':({plugins:_0x1e2a30},_0x1f0a4e)=>{const _0x202021=_0x1e2a30[_0x3c1c('0x2e')](_0xe60f85),_0x4abbee=_0x202021[_0x3c1c('0x31')];let _0x5967ee=_0x202021['diff'][_0x3c1c('0x3')],_0x482f16=_0x1f0a4e['id'];_0x4abbee['getIndex'](_0x5967ee)>_0x4abbee['getIndex'](_0x482f16)&&([_0x5967ee,_0x482f16]=[_0x482f16,_0x5967ee]),_0x202021[_0x3c1c('0x30')](_0x5967ee,_0x482f16);},'isVisible':({plugins:_0x56a74a},_0x45344b)=>{const _0x4d213c=_0x56a74a['get'](_0xe60f85);return!(_0x4d213c[_0x3c1c('0x31')][_0x3c1c('0x8')](_0x4d213c[_0x3c1c('0xa')])[_0x3c1c('0x1b')]>0x2)&&!_0x45344b[_0x3c1c('0x21')];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x340f2b,{id:_0x1e5388})=>{_0x340f2b[_0x3c1c('0x38')][_0x3c1c('0x2e')](_0x3c1c('0x19'))[_0x3c1c('0x18')](_0x1e5388);},'isVisible':({plugins:_0x1a6528},_0x51a775)=>!!_0x1a6528[_0x3c1c('0x2e')](_0xe60f85)[_0x3c1c('0x31')]['getLaterVisibleRevision'](_0x51a775['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x12af1d},{id:_0x3d4d6c,revisionNameView:_0x57b348})=>{const _0x57a13e=_0x12af1d['get'](_0xe60f85),_0x129a3a=_0x57a13e['repository'][_0x3c1c('0x15')](_0x3d4d6c);_0x57a13e[_0x3c1c('0x30')](_0x3d4d6c,_0x129a3a),_0x57b348['focus'](),_0x57b348[_0x3c1c('0x2a')]['select']();}}},w[_0x3c1c('0x1e')]=[_0x3c1c('0x23'),'restoreRevision',_0x3c1c('0x35')];
23
+ const _0x57f0=['_handleRevisionSelected','editor','setName','getRevision','pluginName','highlightRevisions','defaultRevisionActions','_revisionsRepository','getRevisionsInDiff','length','isVisible','RevisionsSidebar','restoreRevisionCallback','timePeriodViews','revisionHistory.viewerSidebarContainer','ready','revisionViews','revisionHistory','string','isSelected','requires','getIndex','revisionSelected','listenTo','change:diff','_handleDiffChange','name','get','compareAgainstSelected','Name\x20this\x20revision','assign','nameRevision','_sidebarView','select','_handleEditorDataReady','getEarlierVisibleRevision','revisionSetName','element','_revisions','availableRevisionActions','restoreRevision','isReady','config','render','init','compare','destroy','selectRevision','remove','_revisionViewer','locale','getLaterVisibleRevision','_handleRevisionSetName','Restore\x20this\x20revision','isEnabled','data','bind','map','appendChild','diff','repository'];(function(_0x462109,_0x57f077){const _0x35f246=function(_0x584d74){while(--_0x584d74){_0x462109['push'](_0x462109['shift']());}};_0x35f246(++_0x57f077);}(_0x57f0,0x18a));const _0x35f2=function(_0x462109,_0x57f077){_0x462109=_0x462109-0x0;let _0x35f246=_0x57f0[_0x462109];return _0x35f246;};import{Plugin as _0xef6568}from'ckeditor5/src/core';import _0x210eba from'./revisionssidebarview';import _0x14c7ae from'../../revisionviewer';export default class w extends _0xef6568{static get[_0x35f2('0x25')](){return _0x35f2('0x2c');}static get[_0x35f2('0x35')](){return[_0x14c7ae];}constructor(_0x2a3943){super(_0x2a3943),this[_0x35f2('0x15')]=_0x2a3943['plugins'][_0x35f2('0x3c')](_0x14c7ae),this[_0x35f2('0x28')]=this[_0x35f2('0x15')][_0x35f2('0x20')],this[_0x35f2('0x4')]=null;}[_0x35f2('0x10')](){const _0x1e7d39=this['_revisionsRepository'][_0x35f2('0xa')],_0x3406a4=this['_createRevisionActions'](),_0x29e49f=this[_0x35f2('0x22')]['config'][_0x35f2('0x3c')](_0x35f2('0x2f'));this[_0x35f2('0x4')]=new _0x210eba(this[_0x35f2('0x22')][_0x35f2('0x16')],_0x1e7d39,_0x3406a4),this[_0x35f2('0x4')]['on'](_0x35f2('0x37'),this[_0x35f2('0x21')][_0x35f2('0x1c')](this)),this[_0x35f2('0x4')]['on'](_0x35f2('0x8'),this[_0x35f2('0x18')][_0x35f2('0x1c')](this)),this['_sidebarView'][_0x35f2('0x1c')]('isEnabled')['to'](this[_0x35f2('0x15')]),this[_0x35f2('0x4')][_0x35f2('0x2e')]['on']('add',(_0x37a78c,_0x27be4b)=>{_0x27be4b[_0x35f2('0x31')]['on']('add',(_0x5bf6fa,_0xee168)=>{_0xee168[_0x35f2('0x1c')](_0x35f2('0x1a'),_0x35f2('0xd'))['to'](this[_0x35f2('0x15')]);});}),this[_0x35f2('0x4')][_0x35f2('0xf')](),this[_0x35f2('0x38')](this[_0x35f2('0x22')][_0x35f2('0x1b')],_0x35f2('0x30'),this[_0x35f2('0x6')][_0x35f2('0x1c')](this)),this[_0x35f2('0x38')](this[_0x35f2('0x15')],_0x35f2('0x39'),this[_0x35f2('0x3a')][_0x35f2('0x1c')](this)),_0x29e49f[_0x35f2('0x1e')](this['_sidebarView']['element']);}['destroy'](){this[_0x35f2('0x4')][_0x35f2('0x9')][_0x35f2('0x14')](),this[_0x35f2('0x4')][_0x35f2('0x12')]();}[_0x35f2('0x6')](){const _0x34be87=this[_0x35f2('0x28')][_0x35f2('0x24')](0x0);if(_0x34be87){const _0x4e83c9=this[_0x35f2('0x28')][_0x35f2('0x7')](_0x34be87['id']);this[_0x35f2('0x15')][_0x35f2('0x11')](_0x34be87,_0x4e83c9);}}[_0x35f2('0x21')](_0x568566,_0x3b7d83){const _0x2924f4=this['_revisionsRepository']['getRevision'](_0x3b7d83['id']),_0x4fec7e=this[_0x35f2('0x28')]['getEarlierVisibleRevision'](_0x2924f4['id']);this[_0x35f2('0x15')]['compare'](_0x2924f4,_0x4fec7e);}[_0x35f2('0x18')](_0xb9cbfb,_0x113995){this[_0x35f2('0x28')]['getRevision'](_0x113995['id'])[_0x35f2('0x23')](_0x113995[_0x35f2('0x3b')]);}[_0x35f2('0x3a')](_0x328e9d,_0x14026c,_0x1278cd){const _0x366989=this[_0x35f2('0x28')]['getRevisionsInDiff'](_0x1278cd);_0x366989['length']>0x2?(this[_0x35f2('0x4')][_0x35f2('0x26')](_0x366989),this[_0x35f2('0x4')]['selectRevision'](null)):(this['_sidebarView'][_0x35f2('0x26')]([]),this[_0x35f2('0x4')][_0x35f2('0x13')](_0x366989[0x0]));}['_createRevisionActions'](){const _0x102d54=this[_0x35f2('0x22')],_0x3f0c43=w['availableRevisionActions'],_0x32f005=_0x102d54[_0x35f2('0xe')][_0x35f2('0x3c')]('revisionHistory.revisionActions')||w[_0x35f2('0x27')];if(_0x32f005[_0x35f2('0x2a')])return _0x32f005[_0x35f2('0x1d')](_0x3d0ac5=>{const _0x19a916=_0x35f2('0x33')==typeof _0x3d0ac5?Object[_0x35f2('0x2')]({},_0x3f0c43[_0x3d0ac5]):_0x3d0ac5;return _0x19a916['action']=_0x19a916['action']['bind'](this,_0x102d54),_0x19a916['isVisible']&&(_0x19a916[_0x35f2('0x2b')]=_0x19a916[_0x35f2('0x2b')][_0x35f2('0x1c')](this,_0x102d54)),_0x19a916;});}}w[_0x35f2('0xb')]={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x298e38},_0x5b544f)=>{const _0x282762=_0x298e38[_0x35f2('0x3c')](_0x14c7ae),_0x1f7ad0=_0x282762[_0x35f2('0x20')];let _0x3095e5=_0x282762['diff']['newRevisionId'],_0x54e051=_0x5b544f['id'];_0x1f7ad0[_0x35f2('0x36')](_0x3095e5)>_0x1f7ad0[_0x35f2('0x36')](_0x54e051)&&([_0x3095e5,_0x54e051]=[_0x54e051,_0x3095e5]),_0x282762['compare'](_0x3095e5,_0x54e051);},'isVisible':({plugins:_0x442397},_0xba92f2)=>{const _0x177207=_0x442397[_0x35f2('0x3c')](_0x14c7ae);return!(_0x177207[_0x35f2('0x20')][_0x35f2('0x29')](_0x177207[_0x35f2('0x1f')])[_0x35f2('0x2a')]>0x2)&&!_0xba92f2[_0x35f2('0x34')];}},'restoreRevision':{'name':_0x35f2('0x19'),'action':(_0x5ac131,{id:_0x2fb082})=>{_0x5ac131[_0x35f2('0xe')][_0x35f2('0x3c')](_0x35f2('0x32'))[_0x35f2('0x2d')](_0x2fb082);},'isVisible':({plugins:_0x1211ca},_0x111135)=>!!_0x1211ca[_0x35f2('0x3c')](_0x14c7ae)['repository'][_0x35f2('0x17')](_0x111135['id'])},'nameRevision':{'name':_0x35f2('0x1'),'action':({plugins:_0x53f6a0},{id:_0xa744bf,revisionNameView:_0x10fe89})=>{const _0x417f1d=_0x53f6a0['get'](_0x14c7ae),_0xbba0ac=_0x417f1d['repository'][_0x35f2('0x7')](_0xa744bf);_0x417f1d[_0x35f2('0x11')](_0xa744bf,_0xbba0ac),_0x10fe89['focus'](),_0x10fe89['fieldView'][_0x35f2('0x5')]();}}},w[_0x35f2('0x27')]=[_0x35f2('0x0'),_0x35f2('0xc'),_0x35f2('0x3')];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5697=['ck-reset_all','content','Revision\x20history','setTemplate'];(function(_0x34af53,_0x5697c1){const _0x285137=function(_0x596f1c){while(--_0x596f1c){_0x34af53['push'](_0x34af53['shift']());}};_0x285137(++_0x5697c1);}(_0x5697,0x141));const _0x2851=function(_0x34af53,_0x5697c1){_0x34af53=_0x34af53-0x0;let _0x285137=_0x5697[_0x34af53];return _0x285137;};import{View as _0x59ffea,IconView as _0xf755bf}from'ckeditor5/src/ui';import{getTranslation as _0x522a81}from'../../utils/common-translations';import _0x388c54 from'../../../theme/icons/revision-history.svg';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class ts extends _0x59ffea{constructor(_0x28db53){super(_0x28db53);const _0x16bca1=new _0xf755bf();_0x16bca1[_0x2851('0x0')]=_0x388c54,this[_0x2851('0x2')]({'tag':'div','attributes':{'class':['ck',_0x2851('0x3'),'ck-revision-history-sidebar__header']},'children':[_0x16bca1,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[_0x522a81(_0x28db53,_0x2851('0x1'))]}]});}}
23
+ const _0x969c=['ck-revision-history-sidebar__header','span','Revision\x20history','div','ck-revision-history-sidebar__header__label','ck-reset_all','content'];(function(_0x4967d0,_0x969c0a){const _0x5499e3=function(_0xb70862){while(--_0xb70862){_0x4967d0['push'](_0x4967d0['shift']());}};_0x5499e3(++_0x969c0a);}(_0x969c,0x198));const _0x5499=function(_0x4967d0,_0x969c0a){_0x4967d0=_0x4967d0-0x0;let _0x5499e3=_0x969c[_0x4967d0];return _0x5499e3;};import{View as _0x306904,IconView as _0x3ff32d}from'ckeditor5/src/ui';import{getTranslation as _0x331876}from'../../utils/common-translations';import _0x1cfd42 from'../../../theme/icons/revision-history.svg';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class ts extends _0x306904{constructor(_0x22b437){super(_0x22b437);const _0x44a77d=new _0x3ff32d();_0x44a77d[_0x5499('0x4')]=_0x1cfd42,this['setTemplate']({'tag':_0x5499('0x1'),'attributes':{'class':['ck',_0x5499('0x3'),_0x5499('0x5')]},'children':[_0x44a77d,{'tag':_0x5499('0x6'),'attributes':{'class':['ck',_0x5499('0x2')]},'children':[_0x331876(_0x22b437,_0x5499('0x0'))]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x121b=['createCollection','select','setTemplate','ck-revision-history-sidebar__time-period__label','div','ck-revision-history-sidebar__time-period','_revisionActions','ck-revision-history-sidebar__time-period__revisions','revisionViews','locale','removeRevision','setName','startDate','span','uiLanguage','localizedPeriodName','add','remove'];(function(_0x3a3763,_0x121bb2){const _0x1559f5=function(_0x36a6e3){while(--_0x36a6e3){_0x3a3763['push'](_0x3a3763['shift']());}};_0x1559f5(++_0x121bb2);}(_0x121b,0x158));const _0x1559=function(_0x3a3763,_0x121bb2){_0x3a3763=_0x3a3763-0x0;let _0x1559f5=_0x121b[_0x3a3763];return _0x1559f5;};import{View as _0x2a1cce}from'ckeditor5/src/ui';import _0x52ad2a from'../revision/revisionview';import{getDateTimePeriodInfo as _0x412668}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class _i extends _0x2a1cce{constructor(_0x2eacc3,_0x22948a,_0x375386){super(_0x2eacc3);const _0x125d3a=_0x412668(_0x22948a,this['locale'][_0x1559('0xc')])[_0x1559('0xd')];this[_0x1559('0xa')]=_0x22948a,this['revisionViews']=this[_0x1559('0x10')](),this[_0x1559('0x4')]=_0x375386,this[_0x1559('0x6')]['delegate'](_0x1559('0x11'))['to'](this),this[_0x1559('0x6')]['delegate'](_0x1559('0x9'))['to'](this),this[_0x1559('0x0')]({'tag':_0x1559('0x2'),'attributes':{'class':['ck',_0x1559('0x3')]},'children':[{'tag':_0x1559('0xb'),'attributes':{'class':['ck',_0x1559('0x1')]},'children':[{'text':_0x125d3a}]},{'tag':_0x1559('0x2'),'attributes':{'class':['ck',_0x1559('0x5')]},'children':this[_0x1559('0x6')]}]});}['addRevision'](_0x4a7f1c){const _0x4b15bf=new _0x52ad2a(this[_0x1559('0x7')],_0x4a7f1c,this['_revisionActions']);this['revisionViews'][_0x1559('0xe')](_0x4b15bf);}[_0x1559('0x8')](_0x549b26){const _0x5290f8=this['revisionViews']['find'](_0x507ac4=>_0x507ac4['id']===_0x549b26['id']);this[_0x1559('0x6')][_0x1559('0xf')](_0x5290f8);}}
23
+ const _0x4f70=['ck-revision-history-sidebar__time-period__revisions','setName','localizedPeriodName','uiLanguage','_revisionActions','removeRevision','ck-revision-history-sidebar__time-period','setTemplate','locale','startDate','addRevision','remove','add','delegate','revisionViews','ck-revision-history-sidebar__time-period__label','div','find','span'];(function(_0x2385d5,_0x4f703d){const _0x21a8e8=function(_0x36b1d2){while(--_0x36b1d2){_0x2385d5['push'](_0x2385d5['shift']());}};_0x21a8e8(++_0x4f703d);}(_0x4f70,0xf9));const _0x21a8=function(_0x2385d5,_0x4f703d){_0x2385d5=_0x2385d5-0x0;let _0x21a8e8=_0x4f70[_0x2385d5];return _0x21a8e8;};import{View as _0x82d2e4}from'ckeditor5/src/ui';import _0x1f6db3 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x20f83c}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class _i extends _0x82d2e4{constructor(_0x4b41fb,_0x597f18,_0x3f9977){super(_0x4b41fb);const _0x47e273=_0x20f83c(_0x597f18,this[_0x21a8('0x6')][_0x21a8('0x1')])[_0x21a8('0x0')];this[_0x21a8('0x7')]=_0x597f18,this[_0x21a8('0xc')]=this['createCollection'](),this[_0x21a8('0x2')]=_0x3f9977,this[_0x21a8('0xc')][_0x21a8('0xb')]('select')['to'](this),this['revisionViews'][_0x21a8('0xb')](_0x21a8('0x12'))['to'](this),this[_0x21a8('0x5')]({'tag':_0x21a8('0xe'),'attributes':{'class':['ck',_0x21a8('0x4')]},'children':[{'tag':_0x21a8('0x10'),'attributes':{'class':['ck',_0x21a8('0xd')]},'children':[{'text':_0x47e273}]},{'tag':_0x21a8('0xe'),'attributes':{'class':['ck',_0x21a8('0x11')]},'children':this['revisionViews']}]});}[_0x21a8('0x8')](_0xccce1c){const _0x2303d7=new _0x1f6db3(this[_0x21a8('0x6')],_0xccce1c,this[_0x21a8('0x2')]);this[_0x21a8('0xc')][_0x21a8('0xa')](_0x2303d7);}[_0x21a8('0x3')](_0x407c2f){const _0x36a513=this[_0x21a8('0xc')][_0x21a8('0xf')](_0x4a3042=>_0x4a3042['id']===_0x407c2f['id']);this[_0x21a8('0xc')][_0x21a8('0x9')](_0x36a513);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c96=['div','bindTemplate','revisionSelected','createdAt','addRevision','getTime','revisionViews','map','some','find','flat','setName','timePeriodViews','_addRevision','ck-revision-history-sidebar','setTemplate','_revisionActions','selectRevision','get','_revisions','locale','startDate','fire','ck-disabled','select','isEnabled','removeRevision','deselect','ck-revision-history-sidebar__timeline','createCollection','render','highlightRevisions','delegate','_getTimePeriodViewByStartDate','uiLanguage','_removeRevision'];(function(_0x41e351,_0x2c968f){const _0x436af3=function(_0x192d5a){while(--_0x192d5a){_0x41e351['push'](_0x41e351['shift']());}};_0x436af3(++_0x2c968f);}(_0x2c96,0x179));const _0x436a=function(_0x41e351,_0x2c968f){_0x41e351=_0x41e351-0x0;let _0x436af3=_0x2c96[_0x41e351];return _0x436af3;};import{View as _0x1ef7e8}from'ckeditor5/src/ui';import _0x5eb9c2 from'./revisionssidebartimeperiodview';import _0x144a8f from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0xa11972}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x1ef7e8{constructor(_0x39da5e,_0x31e0df,_0x51e04f){super(_0x39da5e);const _0x3c6777=this[_0x436a('0x14')];this[_0x436a('0x1f')]=this[_0x436a('0xc')](),this[_0x436a('0x1f')][_0x436a('0xf')](_0x436a('0x7'))['to'](this),this[_0x436a('0x1f')][_0x436a('0xf')](_0x436a('0x1e'))['to'](this),this[_0x436a('0x2')]=_0x31e0df,this[_0x436a('0x23')]=_0x51e04f,this['on'](_0x436a('0x7'),(_0x27acfc,_0x115143)=>{this[_0x436a('0x5')](_0x436a('0x15'),_0x115143);}),this['on'](_0x436a('0x1e'),(_0x2b4b41,_0x16af70)=>{this[_0x436a('0x5')]('revisionSetName',_0x16af70);}),this['set'](_0x436a('0x8'),!0x1),this[_0x436a('0x22')]({'tag':_0x436a('0x13'),'attributes':{'class':['ck','ck-reset','ck-rounded-corners',_0x436a('0x21')]},'children':[new _0x144a8f(_0x39da5e),{'tag':_0x436a('0x13'),'attributes':{'class':['ck',_0x436a('0xb'),_0x3c6777['if'](_0x436a('0x8'),_0x436a('0x6'),_0x11f2fd=>!_0x11f2fd)]},'children':this[_0x436a('0x1f')]}]});}[_0x436a('0xd')](){super['render']();for(const _0x2c04f5 of this[_0x436a('0x2')])this[_0x436a('0x20')](_0x2c04f5);this[_0x436a('0x2')]['on']('add',(_0x4fe9b9,_0x23cfd8)=>{this[_0x436a('0x20')](_0x23cfd8);}),this[_0x436a('0x2')]['on']('remove',(_0x884b1c,_0x2a8d73)=>{this[_0x436a('0x12')](_0x2a8d73);});}get[_0x436a('0x19')](){return this[_0x436a('0x1f')][_0x436a('0x1a')](_0x2207c6=>_0x2207c6['revisionViews'][_0x436a('0x1a')](_0x13a976=>_0x13a976))[_0x436a('0x1d')]();}[_0x436a('0x0')](_0x54527b){for(const _0x452891 of this[_0x436a('0x19')])_0x54527b&&_0x54527b['id']===_0x452891['id']?_0x452891[_0x436a('0x7')]():_0x452891[_0x436a('0xa')]();}[_0x436a('0xe')](_0x1662c5){for(const _0x18eb1d of this[_0x436a('0x19')])_0x1662c5[_0x436a('0x1b')](({id:_0x3a8d84})=>_0x3a8d84===_0x18eb1d['id'])?_0x18eb1d['highlight']():_0x18eb1d['unhighlight']();}[_0x436a('0x20')](_0x27c7e3){const _0x136985=_0xa11972(_0x27c7e3[_0x436a('0x16')],this[_0x436a('0x3')]['uiLanguage'])['startDate'];let _0x3fae56=this['timePeriodViews'][_0x436a('0x1')](0x0);_0x3fae56&&_0x3fae56[_0x436a('0x4')][_0x436a('0x18')]()===_0x136985[_0x436a('0x18')]()||(_0x3fae56=new _0x5eb9c2(this[_0x436a('0x3')],_0x136985,this[_0x436a('0x23')]),this[_0x436a('0x1f')]['add'](_0x3fae56)),_0x3fae56[_0x436a('0x17')](_0x27c7e3);}['_removeRevision'](_0x1e2501){const _0x5c5fc1=_0xa11972(_0x1e2501['createdAt'],this[_0x436a('0x3')][_0x436a('0x11')])[_0x436a('0x4')];this[_0x436a('0x10')](_0x5c5fc1)[_0x436a('0x9')](_0x1e2501);}[_0x436a('0x10')](_0x7b3381){return this['timePeriodViews'][_0x436a('0x1c')](_0x230ba9=>_0x230ba9[_0x436a('0x4')][_0x436a('0x18')]()===_0x7b3381['getTime']());}}
23
+ const _0x5f53=['isEnabled','highlight','delegate','_revisionActions','select','removeRevision','add','ck-revision-history-sidebar__timeline','unhighlight','createCollection','revisionSelected','fire','get','set','ck-reset','flat','find','locale','selectRevision','_revisions','ck-revision-history-sidebar','startDate','remove','some','_addRevision','setTemplate','revisionSetName','addRevision','revisionViews','createdAt','setName','highlightRevisions','timePeriodViews','div','_getTimePeriodViewByStartDate','getTime','uiLanguage','render'];(function(_0x486752,_0x5f531b){const _0x4122d4=function(_0x388563){while(--_0x388563){_0x486752['push'](_0x486752['shift']());}};_0x4122d4(++_0x5f531b);}(_0x5f53,0x194));const _0x4122=function(_0x486752,_0x5f531b){_0x486752=_0x486752-0x0;let _0x4122d4=_0x5f53[_0x486752];return _0x4122d4;};import{View as _0x370b7b}from'ckeditor5/src/ui';import _0x709b2 from'./revisionssidebartimeperiodview';import _0x30e66e from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x396af5}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x370b7b{constructor(_0x1a1d32,_0x5d9622,_0x12627f){super(_0x1a1d32);const _0xfae746=this['bindTemplate'];this[_0x4122('0x8')]=this[_0x4122('0x17')](),this['timePeriodViews'][_0x4122('0x10')](_0x4122('0x12'))['to'](this),this['timePeriodViews']['delegate'](_0x4122('0x6'))['to'](this),this[_0x4122('0x21')]=_0x5d9622,this[_0x4122('0x11')]=_0x12627f,this['on'](_0x4122('0x12'),(_0x45f628,_0x33e924)=>{this[_0x4122('0x19')](_0x4122('0x18'),_0x33e924);}),this['on'](_0x4122('0x6'),(_0x460667,_0x10cf1b)=>{this[_0x4122('0x19')](_0x4122('0x2'),_0x10cf1b);}),this[_0x4122('0x1b')](_0x4122('0xe'),!0x1),this[_0x4122('0x1')]({'tag':'div','attributes':{'class':['ck',_0x4122('0x1c'),'ck-rounded-corners',_0x4122('0x22')]},'children':[new _0x30e66e(_0x1a1d32),{'tag':_0x4122('0x9'),'attributes':{'class':['ck',_0x4122('0x15'),_0xfae746['if'](_0x4122('0xe'),'ck-disabled',_0x21598a=>!_0x21598a)]},'children':this['timePeriodViews']}]});}['render'](){super[_0x4122('0xd')]();for(const _0x3ab409 of this[_0x4122('0x21')])this['_addRevision'](_0x3ab409);this[_0x4122('0x21')]['on']('add',(_0x57c791,_0x312079)=>{this[_0x4122('0x0')](_0x312079);}),this[_0x4122('0x21')]['on'](_0x4122('0x24'),(_0x357dfb,_0x42ff6e)=>{this['_removeRevision'](_0x42ff6e);});}get[_0x4122('0x4')](){return this[_0x4122('0x8')]['map'](_0x5c48fc=>_0x5c48fc[_0x4122('0x4')]['map'](_0x672e61=>_0x672e61))[_0x4122('0x1d')]();}[_0x4122('0x20')](_0x27b8d6){for(const _0x494616 of this[_0x4122('0x4')])_0x27b8d6&&_0x27b8d6['id']===_0x494616['id']?_0x494616[_0x4122('0x12')]():_0x494616['deselect']();}[_0x4122('0x7')](_0x8e339e){for(const _0x40a1e4 of this[_0x4122('0x4')])_0x8e339e[_0x4122('0x25')](({id:_0x2715f5})=>_0x2715f5===_0x40a1e4['id'])?_0x40a1e4[_0x4122('0xf')]():_0x40a1e4[_0x4122('0x16')]();}[_0x4122('0x0')](_0x4c7dda){const _0xa005fa=_0x396af5(_0x4c7dda[_0x4122('0x5')],this[_0x4122('0x1f')][_0x4122('0xc')])[_0x4122('0x23')];let _0xef9223=this[_0x4122('0x8')][_0x4122('0x1a')](0x0);_0xef9223&&_0xef9223['startDate'][_0x4122('0xb')]()===_0xa005fa[_0x4122('0xb')]()||(_0xef9223=new _0x709b2(this['locale'],_0xa005fa,this[_0x4122('0x11')]),this[_0x4122('0x8')][_0x4122('0x14')](_0xef9223)),_0xef9223[_0x4122('0x3')](_0x4c7dda);}['_removeRevision'](_0x19a8da){const _0x50ef43=_0x396af5(_0x19a8da['createdAt'],this[_0x4122('0x1f')][_0x4122('0xc')])[_0x4122('0x23')];this[_0x4122('0xa')](_0x50ef43)[_0x4122('0x13')](_0x19a8da);}[_0x4122('0xa')](_0x8fe32d){return this[_0x4122('0x8')][_0x4122('0x1e')](_0x36964a=>_0x36964a[_0x4122('0x23')][_0x4122('0xb')]()===_0x8fe32d[_0x4122('0xb')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1112=['fromJSDate','year','minus','monthLong','week','local','toRelativeCalendar','startOf','setLocale','day','toJSDate','hasSame','month','weekdayLong'];(function(_0x35cf1a,_0x1112df){const _0x3c1133=function(_0x218d8c){while(--_0x218d8c){_0x35cf1a['push'](_0x35cf1a['shift']());}};_0x3c1133(++_0x1112df);}(_0x1112,0x146));const _0x3c11=function(_0x35cf1a,_0x1112df){_0x35cf1a=_0x35cf1a-0x0;let _0x3c1133=_0x1112[_0x35cf1a];return _0x3c1133;};import{DateTime as _0x95b415}from'luxon';export function getDateTimePeriodInfo(_0x2ac264,_0x5829ae){const _0x20a93a=_0x95b415[_0x3c11('0xa')](_0x2ac264)[_0x3c11('0x4')](_0x5829ae),_0x5afe41=_0x95b415[_0x3c11('0x1')](),_0x1a6008=_0x5afe41[_0x3c11('0xc')]({'days':0x1})[_0x3c11('0x3')](_0x3c11('0x5'));let _0x1cb4f6,_0x33a109;return _0x20a93a[_0x3c11('0x7')](_0x5afe41,_0x3c11('0x5'))?(_0x1cb4f6=_0x20a93a[_0x3c11('0x3')]('day')[_0x3c11('0x6')](),_0x33a109=_0x20a93a['toRelativeCalendar']()):_0x20a93a[_0x3c11('0x7')](_0x1a6008,_0x3c11('0x5'))?(_0x1cb4f6=_0x1a6008['toJSDate'](),_0x33a109=_0x20a93a[_0x3c11('0x2')]()):_0x20a93a[_0x3c11('0x7')](_0x5afe41,_0x3c11('0x0'))?(_0x1cb4f6=_0x20a93a[_0x3c11('0x3')](_0x3c11('0x0'))[_0x3c11('0x6')](),_0x33a109=_0x20a93a[_0x3c11('0x9')]||''):_0x20a93a['hasSame'](_0x5afe41,_0x3c11('0xb'))?(_0x1cb4f6=_0x20a93a[_0x3c11('0x3')](_0x3c11('0x8'))['toJSDate'](),_0x33a109=_0x20a93a[_0x3c11('0xd')]||''):(_0x1cb4f6=_0x20a93a[_0x3c11('0x3')]('year')[_0x3c11('0x6')](),_0x33a109=String(_0x20a93a['year'])),{'startDate':_0x1cb4f6,'localizedPeriodName':_0x33a109};}
23
+ const _0x5003=['toJSDate','setLocale','year','hasSame','toRelativeCalendar','fromJSDate','monthLong','month','minus','startOf','week','day','weekdayLong'];(function(_0x3e1164,_0x5003cb){const _0x5bddbf=function(_0x3e825a){while(--_0x3e825a){_0x3e1164['push'](_0x3e1164['shift']());}};_0x5bddbf(++_0x5003cb);}(_0x5003,0x168));const _0x5bdd=function(_0x3e1164,_0x5003cb){_0x3e1164=_0x3e1164-0x0;let _0x5bddbf=_0x5003[_0x3e1164];return _0x5bddbf;};import{DateTime as _0x197d84}from'luxon';export function getDateTimePeriodInfo(_0x210956,_0x1f92ef){const _0x982971=_0x197d84[_0x5bdd('0x9')](_0x210956)[_0x5bdd('0x5')](_0x1f92ef),_0x56a073=_0x197d84['local'](),_0x213b32=_0x56a073[_0x5bdd('0xc')]({'days':0x1})[_0x5bdd('0x0')](_0x5bdd('0x2'));let _0x18d499,_0x1defe7;return _0x982971[_0x5bdd('0x7')](_0x56a073,_0x5bdd('0x2'))?(_0x18d499=_0x982971[_0x5bdd('0x0')](_0x5bdd('0x2'))[_0x5bdd('0x4')](),_0x1defe7=_0x982971[_0x5bdd('0x8')]()):_0x982971[_0x5bdd('0x7')](_0x213b32,_0x5bdd('0x2'))?(_0x18d499=_0x213b32['toJSDate'](),_0x1defe7=_0x982971[_0x5bdd('0x8')]()):_0x982971['hasSame'](_0x56a073,'week')?(_0x18d499=_0x982971[_0x5bdd('0x0')](_0x5bdd('0x1'))[_0x5bdd('0x4')](),_0x1defe7=_0x982971[_0x5bdd('0x3')]||''):_0x982971[_0x5bdd('0x7')](_0x56a073,_0x5bdd('0x6'))?(_0x18d499=_0x982971[_0x5bdd('0x0')](_0x5bdd('0xb'))[_0x5bdd('0x4')](),_0x1defe7=_0x982971[_0x5bdd('0xa')]||''):(_0x18d499=_0x982971[_0x5bdd('0x0')]('year')[_0x5bdd('0x4')](),_0x1defe7=String(_0x982971[_0x5bdd('0x6')])),{'startDate':_0x18d499,'localizedPeriodName':_0x1defe7};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28bc=['isSuggestion','author','ck-revision-change__label','changeId','span','set','add','Added\x20by','name','bindTemplate','_model','focus','Suggested\x20by','type','element','ck-annotation','Removed\x20by','data','div'];(function(_0x753f8,_0x28bc53){const _0x511418=function(_0x5291ae){while(--_0x5291ae){_0x753f8['push'](_0x753f8['shift']());}};_0x511418(++_0x28bc53);}(_0x28bc,0x65));const _0x5114=function(_0x753f8,_0x28bc53){_0x753f8=_0x753f8-0x0;let _0x511418=_0x28bc[_0x753f8];return _0x511418;};import{View as _0x2ec2f4}from'ckeditor5/src/ui';import{getTranslation as _0x5773a9}from'../../utils/common-translations';export default class Z extends _0x2ec2f4{constructor(_0x22fcbf,_0x35fec7){super(_0x22fcbf),this[_0x5114('0x4')]=_0x35fec7,this[_0x5114('0x10')]=_0x35fec7['id'];const _0x5b7a79=this[_0x5114('0x3')],_0x4bc9e5=_0x5773a9(_0x22fcbf,_0x35fec7[_0x5114('0xb')][_0x5114('0xd')]?_0x5114('0x6'):_0x5114('0x0')==_0x35fec7[_0x5114('0x7')]?_0x5114('0x1'):_0x5114('0xa'));this[_0x5114('0x12')](_0x5114('0x7'),_0x35fec7[_0x5114('0x7')]),this['setTemplate']({'tag':_0x5114('0xc'),'attributes':{'class':[_0x5114('0x9'),'ck-revision-change',_0x5b7a79['to'](_0x5114('0x7'),_0x295b4c=>'ck-revision-change__'+_0x295b4c)],'tabindex':-0x1},'children':[{'tag':_0x5114('0x11'),'children':[{'tag':_0x5114('0x11'),'attributes':{'class':[_0x5114('0xf')]},'children':[{'text':_0x4bc9e5}]},{'text':'\x20'+_0x35fec7[_0x5114('0xe')][_0x5114('0x2')]}]}]});}[_0x5114('0x5')](){this[_0x5114('0x8')]['focus']();}}
23
+ const _0x15c7=['focus','ck-annotation','bindTemplate','name','changeId','Removed\x20by','_model','ck-revision-change','Added\x20by','author','ck-revision-change__label','span','div','ck-revision-change__','type'];(function(_0x11779f,_0x15c7c8){const _0x1bf19d=function(_0x166f7c){while(--_0x166f7c){_0x11779f['push'](_0x11779f['shift']());}};_0x1bf19d(++_0x15c7c8);}(_0x15c7,0xad));const _0x1bf1=function(_0x11779f,_0x15c7c8){_0x11779f=_0x11779f-0x0;let _0x1bf19d=_0x15c7[_0x11779f];return _0x1bf19d;};import{View as _0x37ffef}from'ckeditor5/src/ui';import{getTranslation as _0x154294}from'../../utils/common-translations';export default class Z extends _0x37ffef{constructor(_0x4e5abf,_0xd883b6){super(_0x4e5abf),this[_0x1bf1('0xd')]=_0xd883b6,this[_0x1bf1('0xb')]=_0xd883b6['id'];const _0x1271d0=this[_0x1bf1('0x9')],_0x33fd7f=_0x154294(_0x4e5abf,_0xd883b6['data']['isSuggestion']?'Suggested\x20by':'add'==_0xd883b6['type']?_0x1bf1('0x0'):_0x1bf1('0xc'));this['set'](_0x1bf1('0x6'),_0xd883b6[_0x1bf1('0x6')]),this['setTemplate']({'tag':_0x1bf1('0x4'),'attributes':{'class':[_0x1bf1('0x8'),_0x1bf1('0xe'),_0x1271d0['to']('type',_0x1a5bb2=>_0x1bf1('0x5')+_0x1a5bb2)],'tabindex':-0x1},'children':[{'tag':_0x1bf1('0x3'),'children':[{'tag':_0x1bf1('0x3'),'attributes':{'class':[_0x1bf1('0x2')]},'children':[{'text':_0x33fd7f}]},{'text':'\x20'+_0xd883b6[_0x1bf1('0x1')][_0x1bf1('0xa')]}]}]});}[_0x1bf1('0x7')](){this['element'][_0x1bf1('0x7')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f4c=['set','_isStatusLabelVisible','ck-revision-history-ui','isNavigationMode','Show\x20next\x20change','X_OF_Y_CHANGES','span','Loading...','ck-revision-history-ui__changes-navigation__wrapper','ck-hidden','currentChangeNumber','setTemplate','ck-revision-history-ui__changes-navigation','div','ck-revision-history-ui__changes-navigation__navigation','EDIT_X_OF_Y_REVISIONS','execute','isForwardNavigationEnabled','forward','ck-revision-history-ui__changes-navigation__label','isBackwardNavigationEnabled','isReady','bind','numberOfChanges','isEnabled','Total'];(function(_0x1a4074,_0x2f4c4b){const _0x87fca6=function(_0x2a9d75){while(--_0x2a9d75){_0x1a4074['push'](_0x1a4074['shift']());}};_0x87fca6(++_0x2f4c4b);}(_0x2f4c,0xd2));const _0x87fc=function(_0x1a4074,_0x2f4c4b){_0x1a4074=_0x1a4074-0x0;let _0x87fca6=_0x2f4c[_0x1a4074];return _0x87fca6;};import{View as _0x1306be,ButtonView as _0x3f933f,ToolbarSeparatorView as _0x59d31e}from'ckeditor5/src/ui';import{getTranslation as _0x132ac8}from'../../utils/common-translations';import _0x3636ba from'../../../theme/icons/arrow-up.svg';import _0x5d7ef8 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class wi extends _0x1306be{constructor(_0x4083a5){super(_0x4083a5);const _0x38df1b=this['bindTemplate'],_0x46628f=new _0x3f933f(_0x4083a5),_0xefdb75=new _0x3f933f(_0x4083a5);this[_0x87fc('0x18')]('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set'](_0x87fc('0x8'),0x0),this[_0x87fc('0x18')](_0x87fc('0x15'),0x0),this[_0x87fc('0x18')]('isForwardNavigationEnabled',!0x1),this[_0x87fc('0x18')]('isBackwardNavigationEnabled',!0x1),this['bind'](_0x87fc('0x19'))['to'](this,_0x87fc('0x13'),this,_0x87fc('0x15'),(_0x38ea09,_0x271f97)=>_0x38ea09&&_0x271f97>0x0),this[_0x87fc('0x14')]('_statusText')['to'](this,_0x87fc('0x13'),this,_0x87fc('0x8'),this,_0x87fc('0x15'),this,_0x87fc('0x1'),(_0x535505,_0x4d69f5,_0x357e51,_0x16d726)=>{if(!_0x535505)return _0x132ac8(_0x4083a5,_0x87fc('0x5'));if(!_0x357e51)return _0x132ac8(_0x4083a5,'No\x20changes');const _0x4c735c=_0x132ac8(_0x4083a5,'NUMBER_OF_CHANGES',_0x357e51);return _0x16d726?_0x132ac8(_0x4083a5,_0x87fc('0x3'),[_0x4d69f5+0x1,_0x357e51]):_0x4c735c;}),_0x46628f[_0x87fc('0x18')]({'label':_0x132ac8(_0x4083a5,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x3636ba}),_0xefdb75['set']({'label':_0x132ac8(_0x4083a5,_0x87fc('0x2')),'tooltip':!0x0,'icon':_0x5d7ef8}),_0x46628f['bind'](_0x87fc('0x16'))['to'](this,_0x87fc('0x12')),_0xefdb75['bind'](_0x87fc('0x16'))['to'](this,_0x87fc('0xf')),_0x46628f['on'](_0x87fc('0xe'),()=>this['fire'](_0x87fc('0xe'),'backward')),_0xefdb75['on'](_0x87fc('0xe'),()=>this['fire']('execute',_0x87fc('0x10'))),this[_0x87fc('0x9')]({'tag':_0x87fc('0xb'),'attributes':{'class':['ck',_0x87fc('0x0'),_0x87fc('0xa')]},'children':[{'tag':_0x87fc('0x4'),'attributes':{'class':[_0x87fc('0x6')]},'children':[{'tag':_0x87fc('0x4'),'attributes':{'class':[_0x87fc('0x11'),_0x38df1b['if'](_0x87fc('0x19'),_0x87fc('0x7'),_0x17367f=>!_0x17367f)]},'children':[{'text':_0x38df1b['to']('isNavigationMode',_0x347ad3=>_0x347ad3?_0x132ac8(_0x4083a5,_0x87fc('0xd'))+':\x20':_0x132ac8(_0x4083a5,_0x87fc('0x17'))+':\x20')}]},{'text':_0x38df1b['to']('_statusText')}]},new _0x59d31e(),{'tag':_0x87fc('0xb'),'attributes':{'class':[_0x87fc('0xc')]},'children':[_0x46628f,_0xefdb75]}]});}}
23
+ const _0x62cf=['fire','NUMBER_OF_CHANGES','ck-hidden','currentChangeNumber','div','X_OF_Y_CHANGES','isBackwardNavigationEnabled','_statusText','bindTemplate','isForwardNavigationEnabled','execute','ck-revision-history-ui__changes-navigation__navigation','ck-revision-history-ui','Loading...','Total','_isStatusLabelVisible','Show\x20previous\x20change','ck-revision-history-ui__changes-navigation__wrapper','set','isNavigationMode','No\x20changes','numberOfChanges','span','bind','isReady','ck-revision-history-ui__changes-navigation','isEnabled','ck-revision-history-ui__changes-navigation__label','EDIT_X_OF_Y_REVISIONS','Show\x20next\x20change'];(function(_0x210ce6,_0x62cf5d){const _0x2a7edd=function(_0x112e98){while(--_0x112e98){_0x210ce6['push'](_0x210ce6['shift']());}};_0x2a7edd(++_0x62cf5d);}(_0x62cf,0xee));const _0x2a7e=function(_0x210ce6,_0x62cf5d){_0x210ce6=_0x210ce6-0x0;let _0x2a7edd=_0x62cf[_0x210ce6];return _0x2a7edd;};import{View as _0x570ec6,ButtonView as _0x415a67,ToolbarSeparatorView as _0x15eaaa}from'ckeditor5/src/ui';import{getTranslation as _0x45e006}from'../../utils/common-translations';import _0x3eac96 from'../../../theme/icons/arrow-up.svg';import _0x517646 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class wi extends _0x570ec6{constructor(_0xffcaa3){super(_0xffcaa3);const _0x23923f=this[_0x2a7e('0xa')],_0x40581a=new _0x415a67(_0xffcaa3),_0x5f37fb=new _0x415a67(_0xffcaa3);this[_0x2a7e('0x14')](_0x2a7e('0x15'),!0x1),this[_0x2a7e('0x14')](_0x2a7e('0x1a'),!0x1),this['set'](_0x2a7e('0x5'),0x0),this[_0x2a7e('0x14')](_0x2a7e('0x17'),0x0),this['set'](_0x2a7e('0xb'),!0x1),this['set'](_0x2a7e('0x8'),!0x1),this[_0x2a7e('0x19')](_0x2a7e('0x11'))['to'](this,'isReady',this,'numberOfChanges',(_0x580f6c,_0x143cf9)=>_0x580f6c&&_0x143cf9>0x0),this[_0x2a7e('0x19')](_0x2a7e('0x9'))['to'](this,_0x2a7e('0x1a'),this,_0x2a7e('0x5'),this,_0x2a7e('0x17'),this,_0x2a7e('0x15'),(_0x63a76d,_0x3d6655,_0x4bd999,_0x2302ec)=>{if(!_0x63a76d)return _0x45e006(_0xffcaa3,_0x2a7e('0xf'));if(!_0x4bd999)return _0x45e006(_0xffcaa3,_0x2a7e('0x16'));const _0x4840c1=_0x45e006(_0xffcaa3,_0x2a7e('0x3'),_0x4bd999);return _0x2302ec?_0x45e006(_0xffcaa3,_0x2a7e('0x7'),[_0x3d6655+0x1,_0x4bd999]):_0x4840c1;}),_0x40581a[_0x2a7e('0x14')]({'label':_0x45e006(_0xffcaa3,_0x2a7e('0x12')),'tooltip':!0x0,'icon':_0x3eac96}),_0x5f37fb[_0x2a7e('0x14')]({'label':_0x45e006(_0xffcaa3,_0x2a7e('0x1')),'tooltip':!0x0,'icon':_0x517646}),_0x40581a[_0x2a7e('0x19')](_0x2a7e('0x1c'))['to'](this,_0x2a7e('0x8')),_0x5f37fb[_0x2a7e('0x19')](_0x2a7e('0x1c'))['to'](this,_0x2a7e('0xb')),_0x40581a['on'](_0x2a7e('0xc'),()=>this['fire'](_0x2a7e('0xc'),'backward')),_0x5f37fb['on'](_0x2a7e('0xc'),()=>this[_0x2a7e('0x2')](_0x2a7e('0xc'),'forward')),this['setTemplate']({'tag':_0x2a7e('0x6'),'attributes':{'class':['ck',_0x2a7e('0xe'),_0x2a7e('0x1b')]},'children':[{'tag':_0x2a7e('0x18'),'attributes':{'class':[_0x2a7e('0x13')]},'children':[{'tag':'span','attributes':{'class':[_0x2a7e('0x1d'),_0x23923f['if']('_isStatusLabelVisible',_0x2a7e('0x4'),_0x1c6c2b=>!_0x1c6c2b)]},'children':[{'text':_0x23923f['to'](_0x2a7e('0x15'),_0x14f794=>_0x14f794?_0x45e006(_0xffcaa3,_0x2a7e('0x0'))+':\x20':_0x45e006(_0xffcaa3,_0x2a7e('0x10'))+':\x20')}]},{'text':_0x23923f['to']('_statusText')}]},new _0x15eaaa(),{'tag':'div','attributes':{'class':[_0x2a7e('0xd')]},'children':[_0x40581a,_0x5f37fb]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58cb=['show','hide','RevisionViewerLoadingOverlay','change','editor','roots','editing','view','document'];(function(_0x197870,_0x58cbd8){const _0x13f743=function(_0x4d03d5){while(--_0x4d03d5){_0x197870['push'](_0x197870['shift']());}};_0x13f743(++_0x58cbd8);}(_0x58cb,0xcf));const _0x13f7=function(_0x197870,_0x58cbd8){_0x197870=_0x197870-0x0;let _0x13f743=_0x58cb[_0x197870];return _0x13f743;};import{Plugin as _0x13a704}from'ckeditor5/src/core';const oe='ck-editor__editable__loading-overlay';import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x13a704{static get['pluginName'](){return _0x13f7('0x2');}[_0x13f7('0x0')](){const _0x131a0d=this[_0x13f7('0x4')][_0x13f7('0x6')]['view'];_0x131a0d[_0x13f7('0x3')](_0x390dfd=>{for(const _0x2e63f5 of _0x131a0d[_0x13f7('0x8')]['roots'])_0x390dfd['addClass'](oe,_0x2e63f5);});}[_0x13f7('0x1')](){const _0x377bec=this[_0x13f7('0x4')][_0x13f7('0x6')][_0x13f7('0x7')];_0x377bec[_0x13f7('0x3')](_0x227364=>{for(const _0x31e37e of _0x377bec[_0x13f7('0x8')][_0x13f7('0x5')])_0x227364['removeClass'](oe,_0x31e37e);});}}
23
+ const _0x4673=['document','hide','editor','show','editing','removeClass','ck-editor__editable__loading-overlay','roots','change','pluginName'];(function(_0x123ca1,_0x4673e0){const _0x53ddf2=function(_0x580aeb){while(--_0x580aeb){_0x123ca1['push'](_0x123ca1['shift']());}};_0x53ddf2(++_0x4673e0);}(_0x4673,0xb0));const _0x53dd=function(_0x123ca1,_0x4673e0){_0x123ca1=_0x123ca1-0x0;let _0x53ddf2=_0x4673[_0x123ca1];return _0x53ddf2;};import{Plugin as _0x4c374a}from'ckeditor5/src/core';const oe=_0x53dd('0x0');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x4c374a{static get[_0x53dd('0x3')](){return'RevisionViewerLoadingOverlay';}[_0x53dd('0x7')](){const _0x15c1ec=this[_0x53dd('0x6')][_0x53dd('0x8')]['view'];_0x15c1ec[_0x53dd('0x2')](_0x533643=>{for(const _0x4389ab of _0x15c1ec[_0x53dd('0x4')][_0x53dd('0x1')])_0x533643['addClass'](oe,_0x4389ab);});}[_0x53dd('0x5')](){const _0x2d0ce8=this[_0x53dd('0x6')]['editing']['view'];_0x2d0ce8['change'](_0x2d8095=>{for(const _0x194090 of _0x2d0ce8[_0x53dd('0x4')][_0x53dd('0x1')])_0x2d8095[_0x53dd('0x9')](oe,_0x194090);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5165=['requires','show','Restore\x20this\x20revision','isForwardNavigationEnabled','config','add','commands','listenTo','isReady','restoreRevision','componentFactory','init','ck-revision-history-ui__back-to-editing','showNextChange','currentChangeNumber','plugins','editor','change:isReady','isNavigationMode','changesNavigation','isBackwardNavigationEnabled','numberOfChanges','isEnabled','pluginName','get','RevisionViewerUI','execute','Back\x20to\x20editing','hide','bind','showPreviousChange'];(function(_0x61bf40,_0x516543){const _0xaf8003=function(_0x220fa1){while(--_0x220fa1){_0x61bf40['push'](_0x61bf40['shift']());}};_0xaf8003(++_0x516543);}(_0x5165,0x7d));const _0xaf80=function(_0x61bf40,_0x516543){_0x61bf40=_0x61bf40-0x0;let _0xaf8003=_0x5165[_0x61bf40];return _0xaf8003;};import{Plugin as _0x104426}from'ckeditor5/src/core';import{ButtonView as _0x16ac4c}from'ckeditor5/src/ui';import _0x5064ed from'./changesnavigationview';import _0x556f08 from'./../../revisionviewer';import _0x3bdd1a from'./revisionviewerloadingoverlay';import{getTranslation as _0x460f47}from'../../utils/common-translations';import _0x5f46ec from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x104426{static get[_0xaf80('0x16')](){return _0xaf80('0x18');}static get[_0xaf80('0x1e')](){return[_0x556f08,_0x3bdd1a];}[_0xaf80('0xa')](){const _0x314b07=this[_0xaf80('0xf')],_0x31df74=_0x314b07['plugins'][_0xaf80('0x17')](_0x556f08),_0x5eed95=_0x314b07[_0xaf80('0xe')][_0xaf80('0x17')](_0x3bdd1a);_0x314b07['ui'][_0xaf80('0x9')][_0xaf80('0x4')]('exitToEditing',_0x231439=>{const _0x491d13=new _0x16ac4c(_0x231439);return _0x491d13['set']({'label':_0x460f47(_0x231439,_0xaf80('0x1a')),'icon':_0x5f46ec,'withText':!0x0,'tooltip':!0x0,'class':_0xaf80('0xb')}),this[_0xaf80('0x6')](_0x491d13,_0xaf80('0x19'),()=>{_0x314b07[_0xaf80('0x3')][_0xaf80('0x17')]('revisionHistory')['closeRevisionViewerCallback']();}),_0x491d13;}),_0x314b07['ui'][_0xaf80('0x9')][_0xaf80('0x4')](_0xaf80('0x8'),_0x5cb77d=>{const _0x59f116=new _0x16ac4c(_0x5cb77d);return _0x59f116['set']({'label':_0x460f47(_0x5cb77d,_0xaf80('0x1')),'withText':!0x0,'tooltip':!0x0}),_0x59f116[_0xaf80('0x1c')](_0xaf80('0x15'))['to'](_0x314b07[_0xaf80('0x5')][_0xaf80('0x17')](_0xaf80('0x8'))),this[_0xaf80('0x6')](_0x59f116,_0xaf80('0x19'),()=>_0x314b07[_0xaf80('0x19')]('restoreRevision')),_0x59f116;}),_0x314b07['ui'][_0xaf80('0x9')]['add'](_0xaf80('0x12'),_0x52adf0=>{const _0x29b2c2=new _0x5064ed(_0x52adf0),_0x22fd1c=_0x314b07[_0xaf80('0x5')][_0xaf80('0x17')](_0xaf80('0x1d')),_0x99d0d6=_0x314b07[_0xaf80('0x5')][_0xaf80('0x17')]('showNextChange');return _0x29b2c2[_0xaf80('0x1c')](_0xaf80('0x13'))['to'](_0x22fd1c,_0xaf80('0x15')),_0x29b2c2[_0xaf80('0x1c')](_0xaf80('0x2'))['to'](_0x99d0d6,_0xaf80('0x15')),_0x29b2c2['bind'](_0xaf80('0x7'),_0xaf80('0xd'),_0xaf80('0x14'),_0xaf80('0x11'))['to'](_0x31df74),this[_0xaf80('0x6')](_0x29b2c2,_0xaf80('0x19'),(_0x55f267,_0x4e2d9a)=>{_0x314b07[_0xaf80('0x19')]('forward'===_0x4e2d9a?_0xaf80('0xc'):_0xaf80('0x1d'));}),_0x29b2c2;}),_0x5eed95[_0xaf80('0x0')](),_0x31df74['on'](_0xaf80('0x10'),(_0xa37fec,_0x26e98f,_0x2c2be2)=>{_0x2c2be2?_0x5eed95[_0xaf80('0x1b')]():_0x5eed95['show']();});}}
23
+ const _0xd6f7=['hide','editor','config','bind','add','showPreviousChange','execute','set','forward','showNextChange','show','exitToEditing','isForwardNavigationEnabled','RevisionViewerUI','Back\x20to\x20editing','Restore\x20this\x20revision','get','init','commands','restoreRevision','plugins','listenTo','change:isReady','closeRevisionViewerCallback','isNavigationMode','isBackwardNavigationEnabled','componentFactory','currentChangeNumber','pluginName','isEnabled'];(function(_0x474121,_0xd6f745){const _0xa074be=function(_0x431389){while(--_0x431389){_0x474121['push'](_0x474121['shift']());}};_0xa074be(++_0xd6f745);}(_0xd6f7,0x18f));const _0xa074=function(_0x474121,_0xd6f745){_0x474121=_0x474121-0x0;let _0xa074be=_0xd6f7[_0x474121];return _0xa074be;};import{Plugin as _0x2feadc}from'ckeditor5/src/core';import{ButtonView as _0x598b49}from'ckeditor5/src/ui';import _0x56d4a9 from'./changesnavigationview';import _0x28c1ff from'./../../revisionviewer';import _0x14496d from'./revisionviewerloadingoverlay';import{getTranslation as _0x497aa0}from'../../utils/common-translations';import _0x3d06b5 from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x2feadc{static get[_0xa074('0x13')](){return _0xa074('0x4');}static get['requires'](){return[_0x28c1ff,_0x14496d];}[_0xa074('0x8')](){const _0x3fe763=this[_0xa074('0x16')],_0x2d5dda=_0x3fe763[_0xa074('0xb')][_0xa074('0x7')](_0x28c1ff),_0x3176e5=_0x3fe763[_0xa074('0xb')][_0xa074('0x7')](_0x14496d);_0x3fe763['ui'][_0xa074('0x11')][_0xa074('0x19')](_0xa074('0x2'),_0x52e36a=>{const _0x510fc6=new _0x598b49(_0x52e36a);return _0x510fc6[_0xa074('0x1c')]({'label':_0x497aa0(_0x52e36a,_0xa074('0x5')),'icon':_0x3d06b5,'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this[_0xa074('0xc')](_0x510fc6,'execute',()=>{_0x3fe763[_0xa074('0x17')][_0xa074('0x7')]('revisionHistory')[_0xa074('0xe')]();}),_0x510fc6;}),_0x3fe763['ui'][_0xa074('0x11')][_0xa074('0x19')](_0xa074('0xa'),_0x22ddab=>{const _0x599e45=new _0x598b49(_0x22ddab);return _0x599e45[_0xa074('0x1c')]({'label':_0x497aa0(_0x22ddab,_0xa074('0x6')),'withText':!0x0,'tooltip':!0x0}),_0x599e45[_0xa074('0x18')](_0xa074('0x14'))['to'](_0x3fe763['commands'][_0xa074('0x7')](_0xa074('0xa'))),this[_0xa074('0xc')](_0x599e45,_0xa074('0x1b'),()=>_0x3fe763[_0xa074('0x1b')]('restoreRevision')),_0x599e45;}),_0x3fe763['ui'][_0xa074('0x11')][_0xa074('0x19')]('changesNavigation',_0x539ea2=>{const _0x6384e3=new _0x56d4a9(_0x539ea2),_0xb17b81=_0x3fe763[_0xa074('0x9')][_0xa074('0x7')](_0xa074('0x1a')),_0x36b060=_0x3fe763[_0xa074('0x9')][_0xa074('0x7')](_0xa074('0x0'));return _0x6384e3[_0xa074('0x18')](_0xa074('0x10'))['to'](_0xb17b81,_0xa074('0x14')),_0x6384e3[_0xa074('0x18')](_0xa074('0x3'))['to'](_0x36b060,_0xa074('0x14')),_0x6384e3['bind']('isReady',_0xa074('0x12'),'numberOfChanges',_0xa074('0xf'))['to'](_0x2d5dda),this[_0xa074('0xc')](_0x6384e3,_0xa074('0x1b'),(_0xcbc13d,_0x5230ee)=>{_0x3fe763[_0xa074('0x1b')](_0xa074('0x1d')===_0x5230ee?_0xa074('0x0'):_0xa074('0x1a'));}),_0x6384e3;}),_0x3176e5[_0xa074('0x1')](),_0x2d5dda['on'](_0xa074('0xd'),(_0x43174b,_0x2217f8,_0xac04ba)=>{_0xac04ba?_0x3176e5[_0xa074('0x15')]():_0x3176e5[_0xa074('0x1')]();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4a69f9,_0x10a709,_0x1315b7){const t=_0x4a69f9['t'];switch(_0x10a709){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'},_0x1315b7);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x1315b7);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 _0x10a709;}}
23
+ export function getTranslation(_0x3c3500,_0xd933c1,_0x2a1097){const t=_0x3c3500['t'];switch(_0xd933c1){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'},_0x2a1097);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2a1097);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 _0xd933c1;}}