@ckeditor/ckeditor5-revision-history 32.0.0 → 33.0.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 (46) hide show
  1. package/README.md +1 -1
  2. package/lang/translations/cs.po +27 -27
  3. package/lang/translations/de.po +21 -21
  4. package/lang/translations/el.po +123 -0
  5. package/lang/translations/es.po +24 -24
  6. package/lang/translations/fr.po +2 -2
  7. package/lang/translations/gl.po +21 -21
  8. package/lang/translations/hr.po +19 -19
  9. package/lang/translations/hu.po +6 -6
  10. package/lang/translations/id.po +10 -10
  11. package/lang/translations/it.po +24 -24
  12. package/lang/translations/nl.po +21 -21
  13. package/lang/translations/pl.po +21 -21
  14. package/lang/translations/pt-br.po +21 -21
  15. package/lang/translations/ro.po +19 -19
  16. package/lang/translations/sr-latn.po +22 -22
  17. package/lang/translations/sr.po +22 -22
  18. package/lang/translations/tr.po +18 -18
  19. package/lang/translations/zh.po +1 -1
  20. package/package.json +11 -11
  21. package/src/changeitem.js +1 -1
  22. package/src/revision.js +1 -1
  23. package/src/revisiondiff.js +1 -1
  24. package/src/revisionhistory.js +1 -1
  25. package/src/revisionsrepository.js +1 -1
  26. package/src/revisiontracker.js +1 -1
  27. package/src/revisionviewer.js +1 -1
  28. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  29. package/src/ui/revision/revisionauthorview.js +1 -1
  30. package/src/ui/revision/revisionnameview.js +1 -1
  31. package/src/ui/revision/revisionview.js +1 -1
  32. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  33. package/src/ui/revision/subrevisionview.js +1 -1
  34. package/src/ui/revision/utils.js +1 -1
  35. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  36. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  37. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  38. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  39. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  40. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  41. package/src/ui/revisionssidebar/utils.js +1 -1
  42. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  43. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  44. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  45. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  46. package/theme/revisionviewer.css +0 -6
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1494=['assign','nameRevision','_revisionViewer','bind','Compare\x20against\x20selected','get','data','Name\x20this\x20revision','revisionHistory','_revisionsRepository','_revisions','init','config','getEarlierVisibleRevision','listenTo','getLaterVisibleRevision','setName','availableRevisionActions','getIndex','requires','repository','_createRevisionActions','Restore\x20this\x20revision','name','isReady','locale','action','change:diff','_handleRevisionSelected','_sidebarView','newRevisionId','appendChild','timePeriodViews','isEnabled','selectRevision','editor','getRevision','ready','revisionSetName','remove','destroy','isSelected','defaultRevisionActions','diff','pluginName','_handleRevisionSetName','compare','string','isVisible','element','compareAgainstSelected','length','restoreRevisionCallback','getRevisionsInDiff','revisionHistory.revisionActions','_handleDiffChange','add','plugins','_handleEditorDataReady','select','map'];(function(_0xc49a86,_0x149469){const _0x3f6caf=function(_0xdede0d){while(--_0xdede0d){_0xc49a86['push'](_0xc49a86['shift']());}};_0x3f6caf(++_0x149469);}(_0x1494,0x97));const _0x3f6c=function(_0xc49a86,_0x149469){_0xc49a86=_0xc49a86-0x0;let _0x3f6caf=_0x1494[_0xc49a86];return _0x3f6caf;};import{Plugin as _0x45686a}from'ckeditor5/src/core';import _0x5aed88 from'./revisionssidebarview';import _0x52ea04 from'../../revisionviewer';export default class y extends _0x45686a{static get[_0x3f6c('0xf')](){return'RevisionsSidebar';}static get[_0x3f6c('0x33')](){return[_0x52ea04];}constructor(_0x24f9ea){super(_0x24f9ea),this['_revisionViewer']=_0x24f9ea[_0x3f6c('0x1c')][_0x3f6c('0x25')](_0x52ea04),this['_revisionsRepository']=this[_0x3f6c('0x22')][_0x3f6c('0x34')],this[_0x3f6c('0x0')]=null;}[_0x3f6c('0x2b')](){const _0xda47c8=this[_0x3f6c('0x29')][_0x3f6c('0x2a')],_0x170cb1=this[_0x3f6c('0x35')](),_0x55e8f6=this['editor'][_0x3f6c('0x2c')]['get']('revisionHistory.viewerSidebarContainer');this[_0x3f6c('0x0')]=new _0x5aed88(this[_0x3f6c('0x6')][_0x3f6c('0x39')],_0xda47c8,_0x170cb1),this[_0x3f6c('0x0')]['on']('revisionSelected',this[_0x3f6c('0x3c')][_0x3f6c('0x23')](this)),this[_0x3f6c('0x0')]['on'](_0x3f6c('0x9'),this[_0x3f6c('0x10')][_0x3f6c('0x23')](this)),this[_0x3f6c('0x0')]['bind']('isEnabled')['to'](this['_revisionViewer']),this[_0x3f6c('0x0')][_0x3f6c('0x3')]['on'](_0x3f6c('0x1b'),(_0x1e80d1,_0x4a715d)=>{_0x4a715d['revisionViews']['on'](_0x3f6c('0x1b'),(_0x3662d2,_0x3d2f30)=>{_0x3d2f30[_0x3f6c('0x23')](_0x3f6c('0x4'),_0x3f6c('0x38'))['to'](this[_0x3f6c('0x22')]);});}),this['_sidebarView']['render'](),this[_0x3f6c('0x2e')](this[_0x3f6c('0x6')][_0x3f6c('0x26')],_0x3f6c('0x8'),this[_0x3f6c('0x1d')]['bind'](this)),this[_0x3f6c('0x2e')](this['_revisionViewer'],_0x3f6c('0x3b'),this[_0x3f6c('0x1a')][_0x3f6c('0x23')](this)),_0x55e8f6[_0x3f6c('0x2')](this[_0x3f6c('0x0')][_0x3f6c('0x14')]);}[_0x3f6c('0xb')](){this[_0x3f6c('0x0')]['element'][_0x3f6c('0xa')](),this['_sidebarView'][_0x3f6c('0xb')]();}[_0x3f6c('0x1d')](){const _0x1c5c97=this[_0x3f6c('0x29')][_0x3f6c('0x7')](0x0);if(_0x1c5c97){const _0x38ed94=this[_0x3f6c('0x29')]['getEarlierVisibleRevision'](_0x1c5c97['id']);this[_0x3f6c('0x22')][_0x3f6c('0x11')](_0x1c5c97,_0x38ed94);}}[_0x3f6c('0x3c')](_0x48fdd5,_0x14e74f){const _0x37c5eb=this[_0x3f6c('0x29')][_0x3f6c('0x7')](_0x14e74f['id']),_0x561463=this[_0x3f6c('0x29')][_0x3f6c('0x2d')](_0x37c5eb['id']);this[_0x3f6c('0x22')]['compare'](_0x37c5eb,_0x561463);}['_handleRevisionSetName'](_0x1b7702,_0x62a4c0){this[_0x3f6c('0x29')][_0x3f6c('0x7')](_0x62a4c0['id'])[_0x3f6c('0x30')](_0x62a4c0[_0x3f6c('0x37')]);}[_0x3f6c('0x1a')](_0xc7eb20,_0x20509b,_0x5f04f2){const _0x5903a5=this[_0x3f6c('0x29')]['getRevisionsInDiff'](_0x5f04f2);_0x5903a5['length']>0x2?(this[_0x3f6c('0x0')]['highlightRevisions'](_0x5903a5),this['_sidebarView']['selectRevision'](null)):(this[_0x3f6c('0x0')]['highlightRevisions']([]),this[_0x3f6c('0x0')][_0x3f6c('0x5')](_0x5903a5[0x0]));}['_createRevisionActions'](){const _0x3412b5=this['editor'],_0x30cb92=y[_0x3f6c('0x31')],_0x41aa36=_0x3412b5[_0x3f6c('0x2c')]['get'](_0x3f6c('0x19'))||y[_0x3f6c('0xd')];if(_0x41aa36['length'])return _0x41aa36[_0x3f6c('0x1f')](_0x25d778=>{const _0x113a29=_0x3f6c('0x12')==typeof _0x25d778?Object[_0x3f6c('0x20')]({},_0x30cb92[_0x25d778]):_0x25d778;return _0x113a29[_0x3f6c('0x3a')]=_0x113a29[_0x3f6c('0x3a')][_0x3f6c('0x23')](this,_0x3412b5),_0x113a29['isVisible']&&(_0x113a29['isVisible']=_0x113a29[_0x3f6c('0x13')][_0x3f6c('0x23')](this,_0x3412b5)),_0x113a29;});}}y['availableRevisionActions']={'compareAgainstSelected':{'name':_0x3f6c('0x24'),'action':({plugins:_0x323989},_0x4a3a3d)=>{const _0x4819c6=_0x323989[_0x3f6c('0x25')](_0x52ea04),_0x5aba76=_0x4819c6[_0x3f6c('0x34')];let _0x133310=_0x4819c6['diff'][_0x3f6c('0x1')],_0x79bd46=_0x4a3a3d['id'];_0x5aba76[_0x3f6c('0x32')](_0x133310)>_0x5aba76[_0x3f6c('0x32')](_0x79bd46)&&([_0x133310,_0x79bd46]=[_0x79bd46,_0x133310]),_0x4819c6[_0x3f6c('0x11')](_0x133310,_0x79bd46);},'isVisible':({plugins:_0x2fae18},_0x198bb0)=>{const _0x115182=_0x2fae18[_0x3f6c('0x25')](_0x52ea04);return!(_0x115182[_0x3f6c('0x34')][_0x3f6c('0x18')](_0x115182[_0x3f6c('0xe')])[_0x3f6c('0x16')]>0x2)&&!_0x198bb0[_0x3f6c('0xc')];}},'restoreRevision':{'name':_0x3f6c('0x36'),'action':(_0x115a7f,{id:_0x18c0ca})=>{_0x115a7f[_0x3f6c('0x2c')]['get'](_0x3f6c('0x28'))[_0x3f6c('0x17')](_0x18c0ca);},'isVisible':({plugins:_0x100698},_0x1c0768)=>!!_0x100698['get'](_0x52ea04)[_0x3f6c('0x34')][_0x3f6c('0x2f')](_0x1c0768['id'])},'nameRevision':{'name':_0x3f6c('0x27'),'action':({plugins:_0x41f44},{id:_0x5dd539,revisionNameView:_0x3da5e2})=>{const _0x5e9426=_0x41f44[_0x3f6c('0x25')](_0x52ea04),_0x4bd05c=_0x5e9426[_0x3f6c('0x34')][_0x3f6c('0x2d')](_0x5dd539);_0x5e9426[_0x3f6c('0x11')](_0x5dd539,_0x4bd05c),_0x3da5e2['focus'](),_0x3da5e2['fieldView'][_0x3f6c('0x1e')]();}}},y[_0x3f6c('0xd')]=[_0x3f6c('0x15'),'restoreRevision',_0x3f6c('0x21')];
23
+ const _0x2d78=['get','Compare\x20against\x20selected','defaultRevisionActions','highlightRevisions','bind','appendChild','getRevision','restoreRevision','remove','revisionHistory.viewerSidebarContainer','add','getRevisionsInDiff','Name\x20this\x20revision','action','compare','isVisible','setName','select','isEnabled','name','diff','newRevisionId','ready','revisionHistory.revisionActions','_sidebarView','revisionViews','revisionSelected','map','_revisions','_handleRevisionSelected','assign','selectRevision','_handleRevisionSetName','_handleDiffChange','_handleEditorDataReady','change:diff','string','getEarlierVisibleRevision','_revisionsRepository','destroy','editor','listenTo','element','timePeriodViews','_revisionViewer','nameRevision','pluginName','availableRevisionActions','Restore\x20this\x20revision','config','fieldView','length','focus','restoreRevisionCallback','revisionSetName','compareAgainstSelected'];(function(_0x3e223a,_0x2d78b4){const _0x260dab=function(_0x1de565){while(--_0x1de565){_0x3e223a['push'](_0x3e223a['shift']());}};_0x260dab(++_0x2d78b4);}(_0x2d78,0x169));const _0x260d=function(_0x3e223a,_0x2d78b4){_0x3e223a=_0x3e223a-0x0;let _0x260dab=_0x2d78[_0x3e223a];return _0x260dab;};import{Plugin as _0x29c01f}from'ckeditor5/src/core';import _0x7d9131 from'./revisionssidebarview';import _0x40374a from'../../revisionviewer';export default class y extends _0x29c01f{static get[_0x260d('0x15')](){return'RevisionsSidebar';}static get['requires'](){return[_0x40374a];}constructor(_0x22906f){super(_0x22906f),this[_0x260d('0x13')]=_0x22906f['plugins']['get'](_0x40374a),this[_0x260d('0xd')]=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x1cd03d=this[_0x260d('0xd')][_0x260d('0x3')],_0x1ea421=this['_createRevisionActions'](),_0x20da88=this[_0x260d('0xf')]['config'][_0x260d('0x1f')](_0x260d('0x28'));this[_0x260d('0x37')]=new _0x7d9131(this[_0x260d('0xf')]['locale'],_0x1cd03d,_0x1ea421),this[_0x260d('0x37')]['on'](_0x260d('0x1'),this[_0x260d('0x4')][_0x260d('0x23')](this)),this[_0x260d('0x37')]['on'](_0x260d('0x1d'),this[_0x260d('0x7')][_0x260d('0x23')](this)),this[_0x260d('0x37')][_0x260d('0x23')](_0x260d('0x31'))['to'](this[_0x260d('0x13')]),this[_0x260d('0x37')][_0x260d('0x12')]['on']('add',(_0x1c8716,_0x3468bc)=>{_0x3468bc[_0x260d('0x0')]['on'](_0x260d('0x29'),(_0x50c85e,_0x44d2a5)=>{_0x44d2a5[_0x260d('0x23')](_0x260d('0x31'),'isReady')['to'](this[_0x260d('0x13')]);});}),this[_0x260d('0x37')]['render'](),this[_0x260d('0x10')](this['editor']['data'],_0x260d('0x35'),this['_handleEditorDataReady'][_0x260d('0x23')](this)),this[_0x260d('0x10')](this[_0x260d('0x13')],_0x260d('0xa'),this[_0x260d('0x8')]['bind'](this)),_0x20da88[_0x260d('0x24')](this[_0x260d('0x37')]['element']);}[_0x260d('0xe')](){this[_0x260d('0x37')][_0x260d('0x11')][_0x260d('0x27')](),this['_sidebarView'][_0x260d('0xe')]();}[_0x260d('0x9')](){const _0xf8a6d2=this[_0x260d('0xd')][_0x260d('0x25')](0x0);if(_0xf8a6d2){const _0x5a2112=this[_0x260d('0xd')]['getEarlierVisibleRevision'](_0xf8a6d2['id']);this[_0x260d('0x13')]['compare'](_0xf8a6d2,_0x5a2112);}}[_0x260d('0x4')](_0x38e626,_0x4fa5e9){const _0x33f54a=this[_0x260d('0xd')][_0x260d('0x25')](_0x4fa5e9['id']),_0x1c5a73=this['_revisionsRepository'][_0x260d('0xc')](_0x33f54a['id']);this[_0x260d('0x13')][_0x260d('0x2d')](_0x33f54a,_0x1c5a73);}[_0x260d('0x7')](_0x1a4dd2,_0x1642bf){this[_0x260d('0xd')][_0x260d('0x25')](_0x1642bf['id'])[_0x260d('0x2f')](_0x1642bf[_0x260d('0x32')]);}[_0x260d('0x8')](_0x2bb368,_0x5135f1,_0x8063a9){const _0x262c32=this[_0x260d('0xd')][_0x260d('0x2a')](_0x8063a9);_0x262c32[_0x260d('0x1a')]>0x2?(this[_0x260d('0x37')][_0x260d('0x22')](_0x262c32),this['_sidebarView'][_0x260d('0x6')](null)):(this[_0x260d('0x37')][_0x260d('0x22')]([]),this['_sidebarView'][_0x260d('0x6')](_0x262c32[0x0]));}['_createRevisionActions'](){const _0x479217=this[_0x260d('0xf')],_0x22b693=y[_0x260d('0x16')],_0x4b42dd=_0x479217['config'][_0x260d('0x1f')](_0x260d('0x36'))||y[_0x260d('0x21')];if(_0x4b42dd[_0x260d('0x1a')])return _0x4b42dd[_0x260d('0x2')](_0x3e57f9=>{const _0xd15ed6=_0x260d('0xb')==typeof _0x3e57f9?Object[_0x260d('0x5')]({},_0x22b693[_0x3e57f9]):_0x3e57f9;return _0xd15ed6['action']=_0xd15ed6[_0x260d('0x2c')][_0x260d('0x23')](this,_0x479217),_0xd15ed6['isVisible']&&(_0xd15ed6[_0x260d('0x2e')]=_0xd15ed6[_0x260d('0x2e')]['bind'](this,_0x479217)),_0xd15ed6;});}}y[_0x260d('0x16')]={'compareAgainstSelected':{'name':_0x260d('0x20'),'action':({plugins:_0x47ddd3},_0x5726e7)=>{const _0x3c16db=_0x47ddd3['get'](_0x40374a),_0x2af0ef=_0x3c16db['repository'];let _0x134bc9=_0x3c16db[_0x260d('0x33')][_0x260d('0x34')],_0x109962=_0x5726e7['id'];_0x2af0ef['getIndex'](_0x134bc9)>_0x2af0ef['getIndex'](_0x109962)&&([_0x134bc9,_0x109962]=[_0x109962,_0x134bc9]),_0x3c16db[_0x260d('0x2d')](_0x134bc9,_0x109962);},'isVisible':({plugins:_0x38e539},_0x579156)=>{const _0x41c18f=_0x38e539['get'](_0x40374a);return!(_0x41c18f['repository'][_0x260d('0x2a')](_0x41c18f[_0x260d('0x33')])[_0x260d('0x1a')]>0x2)&&!_0x579156['isSelected'];}},'restoreRevision':{'name':_0x260d('0x17'),'action':(_0x4ab98d,{id:_0x67b5ac})=>{_0x4ab98d[_0x260d('0x18')][_0x260d('0x1f')]('revisionHistory')[_0x260d('0x1c')](_0x67b5ac);},'isVisible':({plugins:_0x4a32b7},_0x591cec)=>!!_0x4a32b7[_0x260d('0x1f')](_0x40374a)['repository']['getLaterVisibleRevision'](_0x591cec['id'])},'nameRevision':{'name':_0x260d('0x2b'),'action':({plugins:_0x4d21ea},{id:_0x307412,revisionNameView:_0x410c06})=>{const _0x1fea56=_0x4d21ea[_0x260d('0x1f')](_0x40374a),_0x2fec73=_0x1fea56['repository'][_0x260d('0xc')](_0x307412);_0x1fea56['compare'](_0x307412,_0x2fec73),_0x410c06[_0x260d('0x1b')](),_0x410c06[_0x260d('0x19')][_0x260d('0x30')]();}}},y[_0x260d('0x21')]=[_0x260d('0x1e'),_0x260d('0x26'),_0x260d('0x14')];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{View as _0x338fe6,IconView as _0x3fcc6b}from'ckeditor5/src/ui';import _0x236e33 from'../../../theme/icons/revision-history.svg';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class is extends _0x338fe6{constructor(_0x1b95b5){super(_0x1b95b5);const t=_0x1b95b5['t'],_0x47689a=new _0x3fcc6b(_0x1b95b5);_0x47689a['content']=_0x236e33,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x47689a,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[t('Revision\x20history')]}]});}}
23
+ import{View as _0x1412ae,IconView as _0x91560b}from'ckeditor5/src/ui';import _0x21f55d from'../../../theme/icons/revision-history.svg';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class ts extends _0x1412ae{constructor(_0x48001b){super(_0x48001b);const t=_0x48001b['t'],_0x5eb818=new _0x91560b(_0x48001b);_0x5eb818['content']=_0x21f55d,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x5eb818,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[t('Revision\x20history')]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5961=['ck-revision-history-sidebar__time-period','addRevision','select','setTemplate','revisionViews','startDate','add','remove','uiLanguage','find','createCollection','div','_revisionActions','locale','localizedPeriodName','setName'];(function(_0x551929,_0x596124){const _0xa82373=function(_0x4f1c33){while(--_0x4f1c33){_0x551929['push'](_0x551929['shift']());}};_0xa82373(++_0x596124);}(_0x5961,0x1c9));const _0xa823=function(_0x551929,_0x596124){_0x551929=_0x551929-0x0;let _0xa82373=_0x5961[_0x551929];return _0xa82373;};import{View as _0x5f407e}from'ckeditor5/src/ui';import _0x16169e from'../revision/revisionview';import{getDateTimePeriodInfo as _0x11b69e}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class hi extends _0x5f407e{constructor(_0x4a15a6,_0x18e2ed,_0x58f430){super(_0x4a15a6);const _0x98a15d=_0x11b69e(_0x18e2ed,this[_0xa823('0x4')][_0xa823('0xf')])[_0xa823('0x5')];this[_0xa823('0xc')]=_0x18e2ed,this['_revisionActions']=_0x58f430,this[_0xa823('0xb')]=this[_0xa823('0x1')](),this[_0xa823('0xb')]['delegate'](_0xa823('0x9'))['to'](this),this[_0xa823('0xb')]['delegate'](_0xa823('0x6'))['to'](this),this[_0xa823('0xa')]({'tag':_0xa823('0x2'),'attributes':{'class':['ck',_0xa823('0x7')]},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x98a15d}]},{'tag':_0xa823('0x2'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this[_0xa823('0xb')]}]});}[_0xa823('0x8')](_0xee832a){const _0x22f699=new _0x16169e(this[_0xa823('0x4')],_0xee832a,this[_0xa823('0x3')]);this['revisionViews'][_0xa823('0xd')](_0x22f699);}['removeRevision'](_0x1e043a){const _0x44031b=this['revisionViews'][_0xa823('0x0')](_0x202e56=>_0x202e56['id']===_0x1e043a['id']);this['revisionViews'][_0xa823('0xe')](_0x44031b);}}
23
+ const _0x34b3=['setName','revisionViews','ck-revision-history-sidebar__time-period__revisions','startDate','_revisionActions','remove','removeRevision','select','span','add','div','createCollection','delegate','ck-revision-history-sidebar__time-period__label','setTemplate','locale','find'];(function(_0x2ae9dd,_0x34b30e){const _0x3d3880=function(_0x291620){while(--_0x291620){_0x2ae9dd['push'](_0x2ae9dd['shift']());}};_0x3d3880(++_0x34b30e);}(_0x34b3,0x118));const _0x3d38=function(_0x2ae9dd,_0x34b30e){_0x2ae9dd=_0x2ae9dd-0x0;let _0x3d3880=_0x34b3[_0x2ae9dd];return _0x3d3880;};import{View as _0x16df2c}from'ckeditor5/src/ui';import _0xd58139 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x5b9bd9}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class vi extends _0x16df2c{constructor(_0x22eae9,_0x4851fe,_0x2fdb16){super(_0x22eae9);const _0x5954c0=_0x5b9bd9(_0x4851fe,this['locale']['uiLanguage'])['localizedPeriodName'];this[_0x3d38('0xc')]=_0x4851fe,this[_0x3d38('0xd')]=_0x2fdb16,this[_0x3d38('0xa')]=this[_0x3d38('0x3')](),this[_0x3d38('0xa')]['delegate'](_0x3d38('0x10'))['to'](this),this[_0x3d38('0xa')][_0x3d38('0x4')](_0x3d38('0x9'))['to'](this),this[_0x3d38('0x6')]({'tag':_0x3d38('0x2'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':_0x3d38('0x0'),'attributes':{'class':['ck',_0x3d38('0x5')]},'children':[{'text':_0x5954c0}]},{'tag':_0x3d38('0x2'),'attributes':{'class':['ck',_0x3d38('0xb')]},'children':this['revisionViews']}]});}['addRevision'](_0x52592d){const _0x12f347=new _0xd58139(this[_0x3d38('0x7')],_0x52592d,this[_0x3d38('0xd')]);this['revisionViews'][_0x3d38('0x1')](_0x12f347);}[_0x3d38('0xf')](_0x204e33){const _0x3a1387=this[_0x3d38('0xa')][_0x3d38('0x8')](_0x184199=>_0x184199['id']===_0x204e33['id']);this['revisionViews'][_0x3d38('0xe')](_0x3a1387);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ca3=['render','bindTemplate','removeRevision','delegate','highlightRevisions','selectRevision','ck-revision-history-sidebar','highlight','ck-revision-history-sidebar__timeline','map','_revisionActions','timePeriodViews','setName','add','isEnabled','_removeRevision','set','revisionSetName','addRevision','createdAt','some','select','revisionSelected','div','remove','find','_revisions','startDate','_addRevision','ck-disabled','deselect','createCollection','revisionViews','getTime','ck-rounded-corners','locale','_getTimePeriodViewByStartDate'];(function(_0x39b24f,_0x4ca3c3){const _0x14e76a=function(_0x6644be){while(--_0x6644be){_0x39b24f['push'](_0x39b24f['shift']());}};_0x14e76a(++_0x4ca3c3);}(_0x4ca3,0x73));const _0x14e7=function(_0x39b24f,_0x4ca3c3){_0x39b24f=_0x39b24f-0x0;let _0x14e76a=_0x4ca3[_0x39b24f];return _0x14e76a;};import{View as _0x4352e7}from'ckeditor5/src/ui';import _0x15d399 from'./revisionssidebartimeperiodview';import _0x49afb2 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x3199b8}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ni extends _0x4352e7{constructor(_0x411ea3,_0x42059d,_0x1d1fa3){super(_0x411ea3);const _0x47e0b5=this[_0x14e7('0x22')];this['timePeriodViews']=this[_0x14e7('0x1b')](),this[_0x14e7('0x7')][_0x14e7('0x24')]('select')['to'](this),this[_0x14e7('0x7')][_0x14e7('0x24')](_0x14e7('0x8'))['to'](this),this['_revisions']=_0x42059d,this[_0x14e7('0x6')]=_0x1d1fa3,this['on'](_0x14e7('0x11'),(_0x4278ca,_0x44c9aa)=>{this['fire'](_0x14e7('0x12'),_0x44c9aa);}),this['on']('setName',(_0x4c5d2d,_0x1a3d13)=>{this['fire'](_0x14e7('0xd'),_0x1a3d13);}),this[_0x14e7('0xc')](_0x14e7('0xa'),!0x1),this['setTemplate']({'tag':_0x14e7('0x13'),'attributes':{'class':['ck','ck-reset',_0x14e7('0x1e'),_0x14e7('0x2')]},'children':[new _0x49afb2(_0x411ea3),{'tag':'div','attributes':{'class':['ck',_0x14e7('0x4'),_0x47e0b5['if'](_0x14e7('0xa'),_0x14e7('0x19'),_0x29235b=>!_0x29235b)]},'children':this[_0x14e7('0x7')]}]});}[_0x14e7('0x21')](){super['render']();for(const _0x18f69a of this[_0x14e7('0x16')])this[_0x14e7('0x18')](_0x18f69a);this[_0x14e7('0x16')]['on'](_0x14e7('0x9'),(_0x21b869,_0x2012b7)=>{this[_0x14e7('0x18')](_0x2012b7);}),this['_revisions']['on'](_0x14e7('0x14'),(_0x1f296b,_0x54fd0f)=>{this['_removeRevision'](_0x54fd0f);});}get[_0x14e7('0x1c')](){return this[_0x14e7('0x7')]['map'](_0x5aad6f=>_0x5aad6f[_0x14e7('0x1c')][_0x14e7('0x5')](_0xebe3bc=>_0xebe3bc))['flat']();}[_0x14e7('0x1')](_0x1ffc70){for(const _0x33f194 of this[_0x14e7('0x1c')])_0x1ffc70&&_0x1ffc70['id']===_0x33f194['id']?_0x33f194[_0x14e7('0x11')]():_0x33f194[_0x14e7('0x1a')]();}[_0x14e7('0x0')](_0x55be12){for(const _0x286675 of this['revisionViews'])_0x55be12[_0x14e7('0x10')](({id:_0x1ad92a})=>_0x1ad92a===_0x286675['id'])?_0x286675[_0x14e7('0x3')]():_0x286675['unhighlight']();}[_0x14e7('0x18')](_0x4b1ddf){const _0x57b14b=_0x3199b8(_0x4b1ddf[_0x14e7('0xf')])['startDate'];let _0x4547a8=this[_0x14e7('0x7')]['get'](0x0);_0x4547a8&&_0x4547a8['startDate']['getTime']()===_0x57b14b[_0x14e7('0x1d')]()||(_0x4547a8=new _0x15d399(this[_0x14e7('0x1f')],_0x57b14b,this['_revisionActions']),this['timePeriodViews'][_0x14e7('0x9')](_0x4547a8)),_0x4547a8[_0x14e7('0xe')](_0x4b1ddf);}[_0x14e7('0xb')](_0x21f6f0){const _0xe71f3c=_0x3199b8(_0x21f6f0[_0x14e7('0xf')])[_0x14e7('0x17')];this[_0x14e7('0x20')](_0xe71f3c)[_0x14e7('0x23')](_0x21f6f0);}['_getTimePeriodViewByStartDate'](_0x3ccc20){return this[_0x14e7('0x7')][_0x14e7('0x15')](_0x339016=>_0x339016[_0x14e7('0x17')]['getTime']()===_0x3ccc20[_0x14e7('0x1d')]());}}
23
+ const _0x4181=['unhighlight','ck-revision-history-sidebar','revisionSelected','timePeriodViews','highlight','ck-reset','flat','_revisionActions','_getTimePeriodViewByStartDate','_addRevision','getTime','_removeRevision','div','bindTemplate','delegate','createCollection','render','selectRevision','add','_revisions','setName','highlightRevisions','find','fire','select','setTemplate','ck-rounded-corners','startDate','get','addRevision','revisionSetName','map','set','locale','revisionViews','remove'];(function(_0x57922d,_0x41812a){const _0x4e45ca=function(_0x48d105){while(--_0x48d105){_0x57922d['push'](_0x57922d['shift']());}};_0x4e45ca(++_0x41812a);}(_0x4181,0x1d4));const _0x4e45=function(_0x57922d,_0x41812a){_0x57922d=_0x57922d-0x0;let _0x4e45ca=_0x4181[_0x57922d];return _0x4e45ca;};import{View as _0x11a652}from'ckeditor5/src/ui';import _0x5f28e8 from'./revisionssidebartimeperiodview';import _0x31c611 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x127f87}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class di extends _0x11a652{constructor(_0x53c05f,_0x27333f,_0x5825ca){super(_0x53c05f);const _0x58737e=this[_0x4e45('0xd')];this['timePeriodViews']=this[_0x4e45('0xf')](),this['timePeriodViews'][_0x4e45('0xe')](_0x4e45('0x18'))['to'](this),this[_0x4e45('0x3')][_0x4e45('0xe')](_0x4e45('0x14'))['to'](this),this['_revisions']=_0x27333f,this[_0x4e45('0x7')]=_0x5825ca,this['on'](_0x4e45('0x18'),(_0x2cbb6b,_0x23a7a9)=>{this[_0x4e45('0x17')](_0x4e45('0x2'),_0x23a7a9);}),this['on'](_0x4e45('0x14'),(_0x4148af,_0x23d115)=>{this['fire'](_0x4e45('0x1e'),_0x23d115);}),this[_0x4e45('0x20')]('isEnabled',!0x1),this[_0x4e45('0x19')]({'tag':_0x4e45('0xc'),'attributes':{'class':['ck',_0x4e45('0x5'),_0x4e45('0x1a'),_0x4e45('0x1')]},'children':[new _0x31c611(_0x53c05f),{'tag':_0x4e45('0xc'),'attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x58737e['if']('isEnabled','ck-disabled',_0x37ee41=>!_0x37ee41)]},'children':this[_0x4e45('0x3')]}]});}[_0x4e45('0x10')](){super[_0x4e45('0x10')]();for(const _0x4e2e29 of this[_0x4e45('0x13')])this[_0x4e45('0x9')](_0x4e2e29);this[_0x4e45('0x13')]['on']('add',(_0x3fbf21,_0x17aebb)=>{this[_0x4e45('0x9')](_0x17aebb);}),this[_0x4e45('0x13')]['on'](_0x4e45('0x23'),(_0x3cdaca,_0x4fa26a)=>{this[_0x4e45('0xb')](_0x4fa26a);});}get[_0x4e45('0x22')](){return this[_0x4e45('0x3')][_0x4e45('0x1f')](_0x1f1273=>_0x1f1273[_0x4e45('0x22')]['map'](_0x1d4b01=>_0x1d4b01))[_0x4e45('0x6')]();}[_0x4e45('0x11')](_0xc46526){for(const _0x50921c of this['revisionViews'])_0xc46526&&_0xc46526['id']===_0x50921c['id']?_0x50921c[_0x4e45('0x18')]():_0x50921c['deselect']();}[_0x4e45('0x15')](_0x574a5c){for(const _0x1e733f of this[_0x4e45('0x22')])_0x574a5c['some'](({id:_0x4a6cd8})=>_0x4a6cd8===_0x1e733f['id'])?_0x1e733f[_0x4e45('0x4')]():_0x1e733f[_0x4e45('0x0')]();}[_0x4e45('0x9')](_0x2b15cf){const _0x477d3b=_0x127f87(_0x2b15cf['createdAt'])['startDate'];let _0x4b2753=this['timePeriodViews'][_0x4e45('0x1c')](0x0);_0x4b2753&&_0x4b2753[_0x4e45('0x1b')][_0x4e45('0xa')]()===_0x477d3b[_0x4e45('0xa')]()||(_0x4b2753=new _0x5f28e8(this[_0x4e45('0x21')],_0x477d3b,this['_revisionActions']),this[_0x4e45('0x3')][_0x4e45('0x12')](_0x4b2753)),_0x4b2753[_0x4e45('0x1d')](_0x2b15cf);}[_0x4e45('0xb')](_0x4ade1f){const _0x21e586=_0x127f87(_0x4ade1f['createdAt'])[_0x4e45('0x1b')];this[_0x4e45('0x8')](_0x21e586)['removeRevision'](_0x4ade1f);}[_0x4e45('0x8')](_0x4eb1c0){return this[_0x4e45('0x3')][_0x4e45('0x16')](_0x1841eb=>_0x1841eb[_0x4e45('0x1b')][_0x4e45('0xa')]()===_0x4eb1c0['getTime']());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1658=['week','toRelativeCalendar','hasSame','local','month','minus','day','weekdayLong','startOf','monthLong','toJSDate','year'];(function(_0x4f36bf,_0x1658fa){const _0x3ca710=function(_0x1dff97){while(--_0x1dff97){_0x4f36bf['push'](_0x4f36bf['shift']());}};_0x3ca710(++_0x1658fa);}(_0x1658,0x1b1));const _0x3ca7=function(_0x4f36bf,_0x1658fa){_0x4f36bf=_0x4f36bf-0x0;let _0x3ca710=_0x1658[_0x4f36bf];return _0x3ca710;};import{DateTime as _0x589ba0}from'luxon';export function getDateTimePeriodInfo(_0x56c22c,_0x529c20){_0x56c22c=_0x589ba0['fromJSDate'](_0x56c22c)['setLocale'](_0x529c20);const _0x23aa9d=_0x589ba0[_0x3ca7('0x2')](),_0x2f9b6c=_0x23aa9d[_0x3ca7('0x4')]({'days':0x1})[_0x3ca7('0x7')](_0x3ca7('0x5'));let _0x5acb96,_0x49bbac;return _0x56c22c[_0x3ca7('0x1')](_0x23aa9d,'day')?(_0x5acb96=_0x56c22c[_0x3ca7('0x7')](_0x3ca7('0x5'))[_0x3ca7('0x9')](),_0x49bbac=_0x56c22c[_0x3ca7('0x0')]()):_0x56c22c[_0x3ca7('0x1')](_0x2f9b6c,_0x3ca7('0x5'))?(_0x5acb96=_0x2f9b6c[_0x3ca7('0x9')](),_0x49bbac=_0x56c22c[_0x3ca7('0x0')]()):_0x56c22c[_0x3ca7('0x1')](_0x23aa9d,_0x3ca7('0xb'))?(_0x5acb96=_0x56c22c[_0x3ca7('0x7')](_0x3ca7('0xb'))[_0x3ca7('0x9')](),_0x49bbac=_0x56c22c[_0x3ca7('0x6')]):_0x56c22c[_0x3ca7('0x1')](_0x23aa9d,'year')?(_0x5acb96=_0x56c22c[_0x3ca7('0x7')](_0x3ca7('0x3'))[_0x3ca7('0x9')](),_0x49bbac=_0x56c22c[_0x3ca7('0x8')]):(_0x5acb96=_0x56c22c[_0x3ca7('0x7')](_0x3ca7('0xa'))['toJSDate'](),_0x49bbac=_0x56c22c[_0x3ca7('0xa')]),{'startDate':_0x5acb96,'localizedPeriodName':_0x49bbac};}
23
+ const _0x4733=['week','month','fromJSDate','hasSame','setLocale','startOf','weekdayLong','toJSDate','year','day','local','minus','toRelativeCalendar'];(function(_0x2a7b5c,_0x473322){const _0x19c26d=function(_0x209ab7){while(--_0x209ab7){_0x2a7b5c['push'](_0x2a7b5c['shift']());}};_0x19c26d(++_0x473322);}(_0x4733,0x116));const _0x19c2=function(_0x2a7b5c,_0x473322){_0x2a7b5c=_0x2a7b5c-0x0;let _0x19c26d=_0x4733[_0x2a7b5c];return _0x19c26d;};import{DateTime as _0x26cad4}from'luxon';export function getDateTimePeriodInfo(_0x1837c4,_0x363a8b){_0x1837c4=_0x26cad4[_0x19c2('0xa')](_0x1837c4)[_0x19c2('0xc')](_0x363a8b);const _0x2c5a4d=_0x26cad4[_0x19c2('0x5')](),_0x50eda2=_0x2c5a4d[_0x19c2('0x6')]({'days':0x1})['startOf']('day');let _0x5e60ad,_0x5841e6;return _0x1837c4[_0x19c2('0xb')](_0x2c5a4d,_0x19c2('0x4'))?(_0x5e60ad=_0x1837c4['startOf'](_0x19c2('0x4'))[_0x19c2('0x2')](),_0x5841e6=_0x1837c4['toRelativeCalendar']()):_0x1837c4[_0x19c2('0xb')](_0x50eda2,_0x19c2('0x4'))?(_0x5e60ad=_0x50eda2['toJSDate'](),_0x5841e6=_0x1837c4[_0x19c2('0x7')]()):_0x1837c4[_0x19c2('0xb')](_0x2c5a4d,_0x19c2('0x8'))?(_0x5e60ad=_0x1837c4[_0x19c2('0x0')](_0x19c2('0x8'))[_0x19c2('0x2')](),_0x5841e6=_0x1837c4[_0x19c2('0x1')]):_0x1837c4[_0x19c2('0xb')](_0x2c5a4d,'year')?(_0x5e60ad=_0x1837c4[_0x19c2('0x0')](_0x19c2('0x9'))['toJSDate'](),_0x5841e6=_0x1837c4['monthLong']):(_0x5e60ad=_0x1837c4[_0x19c2('0x0')](_0x19c2('0x3'))[_0x19c2('0x2')](),_0x5841e6=_0x1837c4[_0x19c2('0x3')]),{'startDate':_0x5e60ad,'localizedPeriodName':_0x5841e6};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{View as _0x4f8087}from'ckeditor5/src/ui';export default class H extends _0x4f8087{constructor(_0x1c8603,_0x439fc6){super(_0x1c8603);const t=_0x1c8603['t'];this['_model']=_0x439fc6;const _0x572a4e=this['bindTemplate'],_0x1b9126=_0x439fc6['data']['isSuggestion']?t('Suggested\x20by'):'add'==_0x439fc6['type']?t('Added\x20by'):t('Removed\x20by');this['set']('type',_0x439fc6['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x572a4e['to']('type',_0xc4b23=>'ck-revision-change__'+_0xc4b23)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1b9126}]},{'text':'\x20'+_0x439fc6['author']['name']}]}]});}['focus'](){this['element']['focus']();}}
23
+ import{View as _0x41b149}from'ckeditor5/src/ui';export default class H extends _0x41b149{constructor(_0x2f656c,_0x3c7c98){super(_0x2f656c);const t=_0x2f656c['t'];this['_model']=_0x3c7c98;const _0x150c50=this['bindTemplate'],_0xcb33c6=_0x3c7c98['data']['isSuggestion']?t('Suggested\x20by'):'add'==_0x3c7c98['type']?t('Added\x20by'):t('Removed\x20by');this['set']('type',_0x3c7c98['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x150c50['to']('type',_0x17332a=>'ck-revision-change__'+_0x17332a)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0xcb33c6}]},{'text':'\x20'+_0x3c7c98['author']['name']}]}]});}['focus'](){this['element']['focus']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{View as _0x120a7d,ButtonView as _0x36049c,ToolbarSeparatorView as _0x2809db}from'ckeditor5/src/ui';import ti from'../../../theme/icons/arrow-up.svg';import _0xc34c3f from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class ei extends _0x120a7d{constructor(_0x56b64a){super(_0x56b64a);const t=_0x56b64a['t'],_0x3c6200=this['bindTemplate'],_0x19b225=new _0x36049c(_0x56b64a),_0x4a3ef3=new _0x36049c(_0x56b64a);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x3c212f,_0x59a3e0)=>_0x3c212f&&_0x59a3e0>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x5b959a,_0x452ab3,_0x10e05b,_0x222b3c)=>{if(!_0x5b959a)return t('Loading...');if(!_0x10e05b)return t('No\x20changes');const _0x204003=t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x10e05b);return _0x222b3c?t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},[_0x452ab3+0x1,_0x10e05b]):_0x204003;}),_0x19b225['set']({'label':t('Show\x20previous\x20change'),'tooltip':!0x0,'icon':ti}),_0x4a3ef3['set']({'label':t('Show\x20next\x20change'),'tooltip':!0x0,'icon':_0xc34c3f}),_0x19b225['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x4a3ef3['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x19b225['on']('execute',()=>this['fire']('execute','backward')),_0x4a3ef3['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x3c6200['if']('_isStatusLabelVisible','ck-hidden',_0x5abe54=>!_0x5abe54)]},'children':[{'text':_0x3c6200['to']('isNavigationMode',_0x14841b=>_0x14841b?t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'})+':\x20':t('Total')+':\x20')}]},{'text':_0x3c6200['to']('_statusText')}]},new _0x2809db(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x19b225,_0x4a3ef3]}]});}}
23
+ import{View as _0xe9a54f,ButtonView as _0xe82b53,ToolbarSeparatorView as _0x438fec}from'ckeditor5/src/ui';import _0x4a3465 from'../../../theme/icons/arrow-up.svg';import _0x4826df from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class gi extends _0xe9a54f{constructor(_0x47d265){super(_0x47d265);const t=_0x47d265['t'],_0x49e86e=this['bindTemplate'],_0x3ebe60=new _0xe82b53(_0x47d265),_0x4b48c3=new _0xe82b53(_0x47d265);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x20fb1a,_0x3dbe95)=>_0x20fb1a&&_0x3dbe95>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xa98d03,_0x58f388,_0x1f8abb,_0x4b17e7)=>{if(!_0xa98d03)return t('Loading...');if(!_0x1f8abb)return t('No\x20changes');const _0x1e8e2b=t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x1f8abb);return _0x4b17e7?t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},[_0x58f388+0x1,_0x1f8abb]):_0x1e8e2b;}),_0x3ebe60['set']({'label':t('Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x4a3465}),_0x4b48c3['set']({'label':t('Show\x20next\x20change'),'tooltip':!0x0,'icon':_0x4826df}),_0x3ebe60['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x4b48c3['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x3ebe60['on']('execute',()=>this['fire']('execute','backward')),_0x4b48c3['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x49e86e['if']('_isStatusLabelVisible','ck-hidden',_0x50f426=>!_0x50f426)]},'children':[{'text':_0x49e86e['to']('isNavigationMode',_0x44c5e0=>_0x44c5e0?t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'})+':\x20':t('Total')+':\x20')}]},{'text':_0x49e86e['to']('_statusText')}]},new _0x438fec(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x3ebe60,_0x4b48c3]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa272=['addClass','document','ck-editor__editable__loading-overlay','view','pluginName','editing','show','editor','change','removeClass'];(function(_0x34f39d,_0xa272df){const _0x2bbbf6=function(_0x2246eb){while(--_0x2246eb){_0x34f39d['push'](_0x34f39d['shift']());}};_0x2bbbf6(++_0xa272df);}(_0xa272,0x142));const _0x2bbb=function(_0x34f39d,_0xa272df){_0x34f39d=_0x34f39d-0x0;let _0x2bbbf6=_0xa272[_0x34f39d];return _0x2bbbf6;};import{Plugin as _0x480096}from'ckeditor5/src/core';import'../../../theme/revisionviewerloadingoverlay.css';export default class oe extends _0x480096{static get[_0x2bbb('0x2')](){return'RevisionViewerLoadingOverlay';}[_0x2bbb('0x4')](){const _0x23dedd=this[_0x2bbb('0x5')][_0x2bbb('0x3')]['view'];_0x23dedd[_0x2bbb('0x6')](_0x4525c1=>{for(const _0x3050f1 of _0x23dedd[_0x2bbb('0x9')]['roots'])_0x4525c1[_0x2bbb('0x8')]('ck-editor__editable__loading-overlay',_0x3050f1);});}['hide'](){const _0x305104=this[_0x2bbb('0x5')]['editing'][_0x2bbb('0x1')];_0x305104[_0x2bbb('0x6')](_0xbc8884=>{for(const _0x530093 of _0x305104[_0x2bbb('0x9')]['roots'])_0xbc8884[_0x2bbb('0x7')](_0x2bbb('0x0'),_0x530093);});}}
23
+ const _0x1f21=['document','editor','hide','RevisionViewerLoadingOverlay','roots','pluginName','addClass','change','removeClass','editing','view','show','ck-editor__editable__loading-overlay'];(function(_0x1d8efe,_0x1f217c){const _0x2672ea=function(_0x190438){while(--_0x190438){_0x1d8efe['push'](_0x1d8efe['shift']());}};_0x2672ea(++_0x1f217c);}(_0x1f21,0xe0));const _0x2672=function(_0x1d8efe,_0x1f217c){_0x1d8efe=_0x1d8efe-0x0;let _0x2672ea=_0x1f21[_0x1d8efe];return _0x2672ea;};import{Plugin as _0x7cc8af}from'ckeditor5/src/core';import'../../../theme/revisionviewerloadingoverlay.css';export default class ee extends _0x7cc8af{static get[_0x2672('0x2')](){return _0x2672('0x0');}[_0x2672('0x8')](){const _0x565cf1=this[_0x2672('0xb')][_0x2672('0x6')][_0x2672('0x7')];_0x565cf1[_0x2672('0x4')](_0x3ce487=>{for(const _0x219d79 of _0x565cf1[_0x2672('0xa')][_0x2672('0x1')])_0x3ce487[_0x2672('0x3')](_0x2672('0x9'),_0x219d79);});}[_0x2672('0xc')](){const _0xc15eab=this['editor']['editing'][_0x2672('0x7')];_0xc15eab[_0x2672('0x4')](_0x355182=>{for(const _0x2bb4fb of _0xc15eab[_0x2672('0xa')][_0x2672('0x1')])_0x355182[_0x2672('0x5')](_0x2672('0x9'),_0x2bb4fb);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x650dcd}from'ckeditor5/src/core';import{ButtonView as _0x33dfbf}from'ckeditor5/src/ui';import _0x5c1fcc from'./changesnavigationview';import _0x1c343e from'./../../revisionviewer';import _0x25feaa from'./revisionviewerloadingoverlay';import te from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class d extends _0x650dcd{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[_0x1c343e,_0x25feaa];}['init'](){const _0x1ff1c8=this['editor'],_0x5176d4=_0x1ff1c8['plugins']['get'](_0x1c343e),_0x3348ff=_0x1ff1c8['plugins']['get'](_0x25feaa),t=_0x1ff1c8['t'];_0x1ff1c8['ui']['componentFactory']['add']('exitToEditing',_0x25ceb1=>{const _0x8b5fbe=new _0x33dfbf(_0x25ceb1);return _0x8b5fbe['set']({'label':t('Back\x20to\x20editing'),'icon':te,'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x8b5fbe,'execute',()=>{_0x1ff1c8['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x8b5fbe;}),_0x1ff1c8['ui']['componentFactory']['add']('restoreRevision',_0x19c791=>{const _0x1bd240=new _0x33dfbf(_0x19c791);return _0x1bd240['set']({'label':t('Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x1bd240['bind']('isEnabled')['to'](_0x1ff1c8['commands']['get']('restoreRevision')),this['listenTo'](_0x1bd240,'execute',()=>_0x1ff1c8['execute']('restoreRevision')),_0x1bd240;}),_0x1ff1c8['ui']['componentFactory']['add']('changesNavigation',_0xbfedbf=>{const _0x7fc23c=new _0x5c1fcc(_0xbfedbf),_0x2ee7f3=_0x1ff1c8['commands']['get']('showPreviousChange'),_0xdbe3d6=_0x1ff1c8['commands']['get']('showNextChange');return _0x7fc23c['bind']('isBackwardNavigationEnabled')['to'](_0x2ee7f3,'isEnabled'),_0x7fc23c['bind']('isForwardNavigationEnabled')['to'](_0xdbe3d6,'isEnabled'),_0x7fc23c['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5176d4),this['listenTo'](_0x7fc23c,'execute',(_0x168d65,_0x4b5e96)=>{_0x1ff1c8['execute']('forward'===_0x4b5e96?'showNextChange':'showPreviousChange');}),_0x7fc23c;}),_0x3348ff['show'](),_0x5176d4['on']('change:isReady',(_0x28dab5,_0x1820c9,_0x1ada9c)=>{_0x1ada9c?_0x3348ff['hide']():_0x3348ff['show']();});}}
23
+ import{Plugin as _0x8b02ba}from'ckeditor5/src/core';import{ButtonView as _0x36bcd5}from'ckeditor5/src/ui';import _0x5804b3 from'./changesnavigationview';import _0x3c7a4f from'./../../revisionviewer';import _0x3a6f12 from'./revisionviewerloadingoverlay';import _0x384ee3 from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class d extends _0x8b02ba{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[_0x3c7a4f,_0x3a6f12];}['init'](){const _0x244f60=this['editor'],_0x3df7a4=_0x244f60['plugins']['get'](_0x3c7a4f),_0x3fd86e=_0x244f60['plugins']['get'](_0x3a6f12),t=_0x244f60['t'];_0x244f60['ui']['componentFactory']['add']('exitToEditing',_0xf6356=>{const _0x21355b=new _0x36bcd5(_0xf6356);return _0x21355b['set']({'label':t('Back\x20to\x20editing'),'icon':_0x384ee3,'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x21355b,'execute',()=>{_0x244f60['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x21355b;}),_0x244f60['ui']['componentFactory']['add']('restoreRevision',_0x2ff740=>{const _0x5d44a8=new _0x36bcd5(_0x2ff740);return _0x5d44a8['set']({'label':t('Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x5d44a8['bind']('isEnabled')['to'](_0x244f60['commands']['get']('restoreRevision')),this['listenTo'](_0x5d44a8,'execute',()=>_0x244f60['execute']('restoreRevision')),_0x5d44a8;}),_0x244f60['ui']['componentFactory']['add']('changesNavigation',_0x3032f3=>{const _0x504d5e=new _0x5804b3(_0x3032f3),_0x2f5726=_0x244f60['commands']['get']('showPreviousChange'),_0x143430=_0x244f60['commands']['get']('showNextChange');return _0x504d5e['bind']('isBackwardNavigationEnabled')['to'](_0x2f5726,'isEnabled'),_0x504d5e['bind']('isForwardNavigationEnabled')['to'](_0x143430,'isEnabled'),_0x504d5e['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x3df7a4),this['listenTo'](_0x504d5e,'execute',(_0x175d19,_0x4d0642)=>{_0x244f60['execute']('forward'===_0x4d0642?'showNextChange':'showPreviousChange');}),_0x504d5e;}),_0x3fd86e['show'](),_0x3df7a4['on']('change:isReady',(_0x575958,_0xfa4742,_0x14dccb)=>{_0x14dccb?_0x3fd86e['hide']():_0x3fd86e['show']();});}}
@@ -1,9 +1,3 @@
1
- :root {
2
- --ck-color-suggestion-box-deletion-border: hsl(345, 62%, 60%);
3
- --ck-color-suggestion-box-insertion-border: hsl(128, 62%, 60%);
4
- --ck-inline-annotation-container-width: auto;
5
- }
6
-
7
1
  .ck .ck-revision-change {
8
2
  padding: var(--ck-spacing-small) var(--ck-spacing-large);
9
3
  border-top-left-radius: var(--ck-border-radius);