@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231105.0 → 0.0.0-nightly-20231107.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 _0x475a=['revisionHistory','isReady','cancel','execute','children','focus','Save\x20current\x20revision','saveRevision','length','config','componentFactory','isReadOnly','revisionName','addMany','Open\x20revision\x20history','RevisionTracker','init','requires','set','bind','submit','editing','items','isEnabled','reset','saveButtonView','history','editor','get','RevisionHistoryUI','plugins','add','pluginName','render','Revision\x20history','panelView','showRevisionViewerCallback'];(function(_0x5b0f9f,_0x475a6b){const _0xd74ccf=function(_0x9b56a){while(--_0x9b56a){_0x5b0f9f['push'](_0x5b0f9f['shift']());}};_0xd74ccf(++_0x475a6b);}(_0x475a,0x1e2));const _0xd74c=function(_0x5b0f9f,_0x475a6b){_0x5b0f9f=_0x5b0f9f-0x0;let _0xd74ccf=_0x475a[_0x5b0f9f];return _0xd74ccf;};import{Plugin as _0x2588a5,icons as _0x2fa85f}from'ckeditor5/src/core';import{ListView as _0x4aa5ae,ListItemView as _0x223797,ButtonView as _0x4b44b3,createDropdown as _0x12ec82}from'ckeditor5/src/ui';import _0x507f62 from'../../revisiontracker';import _0x36607b from'./revisionhistorysaverevisionformview';import{getTranslation as _0x18ee85}from'../../utils/common-translations';export default class u extends _0x2588a5{static get[_0xd74c('0x1f')](){return _0xd74c('0x1c');}static get[_0xd74c('0x10')](){return[_0x507f62];}[_0xd74c('0xf')](){const _0x57c62a=this[_0xd74c('0x1a')],_0x55694a=_0x57c62a[_0xd74c('0x1d')][_0xd74c('0x1b')](_0xd74c('0xe'));_0x57c62a['ui'][_0xd74c('0x9')]['add'](_0xd74c('0x24'),_0xea9609=>{const _0x2908b9=_0x12ec82(_0xea9609),_0x45f4ed=_0x2908b9[_0xd74c('0x22')][_0xd74c('0x3')],_0x5c454e=new _0x4aa5ae(_0xea9609),_0x3f7783=new _0x223797(_0xea9609),_0x55fd2c=new _0x4b44b3(_0xea9609),_0x2fd79c=new _0x223797(_0xea9609),_0x3ae7a2=new _0x4b44b3(_0xea9609),_0x5e4be8=new _0x36607b(_0xea9609);function _0x1acf77(){_0x45f4ed[_0xd74c('0x7')]&&_0x45f4ed['remove'](0x0),_0x45f4ed[_0xd74c('0x1e')](_0x5c454e);}function _0x539d8b(){_0x2908b9['isOpen']=!0x1,_0x57c62a[_0xd74c('0x14')]['view'][_0xd74c('0x4')]();}return _0x2908b9[_0xd74c('0x12')](_0xd74c('0x16'))['to'](_0x55694a,'isReady',_0x55694a,_0xd74c('0x16'),_0x57c62a,_0xd74c('0xa'),(_0x3cc177,_0x409862,_0x35e62f)=>_0x3cc177&&_0x409862&&!_0x35e62f),_0x2908b9['buttonView'][_0xd74c('0x11')]({'icon':_0x2fa85f[_0xd74c('0x19')],'label':_0x18ee85(_0xea9609,_0xd74c('0x21')),'tooltip':!0x0}),_0x55fd2c['set']({'label':_0x18ee85(_0xea9609,_0xd74c('0x5')),'withText':!0x0}),_0x55fd2c[_0xd74c('0x12')](_0xd74c('0x16'))['to'](_0x55694a,_0xd74c('0x0'),_0x55694a,_0xd74c('0x16'),_0x57c62a,_0xd74c('0xa'),(_0x2d966d,_0x554940,_0x523e4f)=>_0x2d966d&&_0x554940&&!_0x523e4f),_0x55fd2c['on'](_0xd74c('0x2'),()=>function(){_0x45f4ed[_0xd74c('0x7')]&&_0x45f4ed['remove'](0x0),(_0x5e4be8[_0xd74c('0x17')](),_0x45f4ed[_0xd74c('0x1e')](_0x5e4be8),_0x5e4be8[_0xd74c('0x4')]());}()),_0x3ae7a2[_0xd74c('0x11')]({'label':_0x18ee85(_0xea9609,_0xd74c('0xd')),'withText':!0x0}),_0x3ae7a2[_0xd74c('0x12')](_0xd74c('0x16'))['to'](_0x55694a,'isReady',_0x57c62a,'isReadOnly',(_0x9a3208,_0x1f5711)=>_0x9a3208&&!_0x1f5711),_0x3ae7a2['on']('execute',()=>{_0x57c62a[_0xd74c('0x8')][_0xd74c('0x1b')](_0xd74c('0x24'))[_0xd74c('0x23')](),_0x539d8b();}),_0x3f7783[_0xd74c('0x3')][_0xd74c('0x1e')](_0x55fd2c),_0x2fd79c[_0xd74c('0x3')][_0xd74c('0x1e')](_0x3ae7a2),_0x5c454e[_0xd74c('0x15')][_0xd74c('0xc')]([_0x3f7783,_0x2fd79c]),_0x2908b9['on']('change:isOpen',()=>_0x1acf77()),_0x5e4be8[_0xd74c('0x18')]['bind'](_0xd74c('0x16'))['to'](_0x55694a,_0xd74c('0x0'),_0x55694a,_0xd74c('0x16'),_0x57c62a,_0xd74c('0xa'),(_0xbcf4a1,_0x2c2f3c,_0xfb26e2)=>_0xbcf4a1&&_0x2c2f3c&&!_0xfb26e2),_0x5e4be8['on'](_0xd74c('0x13'),()=>(_0x57c62a['plugins'][_0xd74c('0x1b')](_0x507f62)[_0xd74c('0x6')]({'name':_0x5e4be8[_0xd74c('0xb')]}),void _0x539d8b())),_0x5e4be8['on'](_0xd74c('0x1'),()=>_0x1acf77()),_0x5e4be8[_0xd74c('0x20')](),_0x1acf77(),_0x2908b9;});}}
23
+ const _0x23a3=['focus','editing','Open\x20revision\x20history','bind','change:isOpen','isReady','RevisionTracker','init','buttonView','reset','isReadOnly','set','plugins','RevisionHistoryUI','items','children','execute','remove','showRevisionViewerCallback','cancel','get','isEnabled','history','length','Revision\x20history','revisionHistory','render','config','view','addMany','editor','add'];(function(_0x163242,_0x23a3ed){const _0x2264f1=function(_0x244fd5){while(--_0x244fd5){_0x163242['push'](_0x163242['shift']());}};_0x2264f1(++_0x23a3ed);}(_0x23a3,0xc1));const _0x2264=function(_0x163242,_0x23a3ed){_0x163242=_0x163242-0x0;let _0x2264f1=_0x23a3[_0x163242];return _0x2264f1;};import{Plugin as _0x3674f9,icons as _0x2d2711}from'ckeditor5/src/core';import{ListView as _0x31a342,ListItemView as _0x1ca7fd,ButtonView as _0x5d77b4,createDropdown as _0x472d64}from'ckeditor5/src/ui';import _0x4929de from'../../revisiontracker';import _0x42afaf from'./revisionhistorysaverevisionformview';import{getTranslation as _0x26670f}from'../../utils/common-translations';export default class u extends _0x3674f9{static get['pluginName'](){return _0x2264('0xc');}static get['requires'](){return[_0x4929de];}[_0x2264('0x6')](){const _0x258bf5=this[_0x2264('0x1d')],_0x2e5bcf=_0x258bf5[_0x2264('0xb')]['get'](_0x2264('0x5'));_0x258bf5['ui']['componentFactory'][_0x2264('0x1e')]('revisionHistory',_0x476fc3=>{const _0x2de4c=_0x472d64(_0x476fc3),_0x1bb968=_0x2de4c['panelView'][_0x2264('0xe')],_0x3125ed=new _0x31a342(_0x476fc3),_0x212a74=new _0x1ca7fd(_0x476fc3),_0xe06df4=new _0x5d77b4(_0x476fc3),_0x112f0b=new _0x1ca7fd(_0x476fc3),_0x3be7b8=new _0x5d77b4(_0x476fc3),_0x414a88=new _0x42afaf(_0x476fc3);function _0x74ff49(){_0x1bb968[_0x2264('0x16')]&&_0x1bb968['remove'](0x0),_0x1bb968[_0x2264('0x1e')](_0x3125ed);}function _0x107b2c(){_0x2de4c['isOpen']=!0x1,_0x258bf5[_0x2264('0x0')][_0x2264('0x1b')][_0x2264('0x1f')]();}return _0x2de4c[_0x2264('0x2')]('isEnabled')['to'](_0x2e5bcf,_0x2264('0x4'),_0x2e5bcf,_0x2264('0x14'),_0x258bf5,_0x2264('0x9'),(_0x46ff45,_0x3c14c3,_0xf2b5a5)=>_0x46ff45&&_0x3c14c3&&!_0xf2b5a5),_0x2de4c[_0x2264('0x7')][_0x2264('0xa')]({'icon':_0x2d2711[_0x2264('0x15')],'label':_0x26670f(_0x476fc3,_0x2264('0x17')),'tooltip':!0x0}),_0xe06df4[_0x2264('0xa')]({'label':_0x26670f(_0x476fc3,'Save\x20current\x20revision'),'withText':!0x0}),_0xe06df4['bind'](_0x2264('0x14'))['to'](_0x2e5bcf,_0x2264('0x4'),_0x2e5bcf,_0x2264('0x14'),_0x258bf5,_0x2264('0x9'),(_0x4d8fbe,_0x54dcb0,_0x29cfa3)=>_0x4d8fbe&&_0x54dcb0&&!_0x29cfa3),_0xe06df4['on'](_0x2264('0xf'),()=>function(){_0x1bb968[_0x2264('0x16')]&&_0x1bb968[_0x2264('0x10')](0x0),(_0x414a88[_0x2264('0x8')](),_0x1bb968[_0x2264('0x1e')](_0x414a88),_0x414a88['focus']());}()),_0x3be7b8['set']({'label':_0x26670f(_0x476fc3,_0x2264('0x1')),'withText':!0x0}),_0x3be7b8[_0x2264('0x2')](_0x2264('0x14'))['to'](_0x2e5bcf,_0x2264('0x4'),_0x258bf5,_0x2264('0x9'),(_0x36c0d2,_0x20ab3a)=>_0x36c0d2&&!_0x20ab3a),_0x3be7b8['on']('execute',()=>{_0x258bf5[_0x2264('0x1a')][_0x2264('0x13')](_0x2264('0x18'))[_0x2264('0x11')](),_0x107b2c();}),_0x212a74[_0x2264('0xe')][_0x2264('0x1e')](_0xe06df4),_0x112f0b['children']['add'](_0x3be7b8),_0x3125ed[_0x2264('0xd')][_0x2264('0x1c')]([_0x212a74,_0x112f0b]),_0x2de4c['on'](_0x2264('0x3'),()=>_0x74ff49()),_0x414a88['saveButtonView'][_0x2264('0x2')](_0x2264('0x14'))['to'](_0x2e5bcf,_0x2264('0x4'),_0x2e5bcf,_0x2264('0x14'),_0x258bf5,_0x2264('0x9'),(_0x1f75f6,_0x586aa9,_0x5dcde7)=>_0x1f75f6&&_0x586aa9&&!_0x5dcde7),_0x414a88['on']('submit',()=>(_0x258bf5['plugins'][_0x2264('0x13')](_0x4929de)['saveRevision']({'name':_0x414a88['revisionName']}),void _0x107b2c())),_0x414a88['on'](_0x2264('0x12'),()=>_0x74ff49()),_0x414a88[_0x2264('0x19')](),_0x74ff49(),_0x2de4c;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20da=['_handleDiffChange','getRevision','render','isVisible','revisionHistory.viewerSidebarContainer','repository','map','appendChild','_revisionsRepository','Restore\x20this\x20revision','revisionSelected','isSelected','change:diff','compare','highlightRevisions','newRevisionId','getRevisionsInDiff','revisionHistory','add','revisionSetName','getEarlierVisibleRevision','focus','_handleRevisionSelected','revisionHistory.revisionActions','getLaterVisibleRevision','destroy','compareAgainstSelected','string','remove','getIndex','timePeriodViews','isReady','selectRevision','assign','_handleEditorDataReady','_revisionViewer','ready','availableRevisionActions','setName','_handleRevisionSetName','listenTo','revisionViews','locale','isEnabled','defaultRevisionActions','config','fieldView','Compare\x20against\x20selected','name','diff','_sidebarView','plugins','init','bind','select','_revisions','nameRevision','_createRevisionActions','pluginName','action','editor','element','get'];(function(_0x4445ea,_0x20da18){const _0x296c0e=function(_0x484bde){while(--_0x484bde){_0x4445ea['push'](_0x4445ea['shift']());}};_0x296c0e(++_0x20da18);}(_0x20da,0x183));const _0x296c=function(_0x4445ea,_0x20da18){_0x4445ea=_0x4445ea-0x0;let _0x296c0e=_0x20da[_0x4445ea];return _0x296c0e;};import{Plugin as _0x5b3a95}from'ckeditor5/src/core';import _0x33a3b7 from'./revisionssidebarview';import _0x52a7c8 from'../../revisionviewer';export default class w extends _0x5b3a95{static get[_0x296c('0x31')](){return'RevisionsSidebar';}static get['requires'](){return[_0x52a7c8];}constructor(_0x19b2e1){super(_0x19b2e1),this[_0x296c('0x1a')]=_0x19b2e1[_0x296c('0x2a')][_0x296c('0x35')](_0x52a7c8),this['_revisionsRepository']=this[_0x296c('0x1a')]['repository'],this['_sidebarView']=null;}[_0x296c('0x2b')](){const _0x30a1ee=this['_revisionsRepository'][_0x296c('0x2e')],_0x2467b1=this[_0x296c('0x30')](),_0x1f3f09=this[_0x296c('0x33')][_0x296c('0x24')][_0x296c('0x35')](_0x296c('0x3a'));this[_0x296c('0x29')]=new _0x33a3b7(this['editor'][_0x296c('0x21')],_0x30a1ee,_0x2467b1),this['_sidebarView']['on'](_0x296c('0x1'),this[_0x296c('0xd')]['bind'](this)),this[_0x296c('0x29')]['on'](_0x296c('0xa'),this[_0x296c('0x1e')]['bind'](this)),this[_0x296c('0x29')]['bind'](_0x296c('0x22'))['to'](this[_0x296c('0x1a')]),this['_sidebarView'][_0x296c('0x15')]['on']('add',(_0x51f3dd,_0x2bbb01)=>{_0x2bbb01[_0x296c('0x20')]['on'](_0x296c('0x9'),(_0x496657,_0x30c858)=>{_0x30c858[_0x296c('0x2c')](_0x296c('0x22'),_0x296c('0x16'))['to'](this[_0x296c('0x1a')]);});}),this[_0x296c('0x29')][_0x296c('0x38')](),this[_0x296c('0x1f')](this[_0x296c('0x33')]['data'],_0x296c('0x1b'),this[_0x296c('0x19')]['bind'](this)),this[_0x296c('0x1f')](this[_0x296c('0x1a')],_0x296c('0x3'),this['_handleDiffChange'][_0x296c('0x2c')](this)),_0x1f3f09[_0x296c('0x3d')](this[_0x296c('0x29')][_0x296c('0x34')]);}[_0x296c('0x10')](){this[_0x296c('0x29')][_0x296c('0x34')][_0x296c('0x13')](),this['_sidebarView'][_0x296c('0x10')]();}[_0x296c('0x19')](){const _0x4f640d=this['_revisionsRepository']['getRevision'](0x0);if(_0x4f640d){const _0x54e582=this[_0x296c('0x3e')][_0x296c('0xb')](_0x4f640d['id']);this[_0x296c('0x1a')][_0x296c('0x4')](_0x4f640d,_0x54e582);}}[_0x296c('0xd')](_0x41fa72,_0x596c35){const _0x5aa666=this[_0x296c('0x3e')][_0x296c('0x37')](_0x596c35['id']),_0x2d9cd8=this[_0x296c('0x3e')][_0x296c('0xb')](_0x5aa666['id']);this[_0x296c('0x1a')]['compare'](_0x5aa666,_0x2d9cd8);}[_0x296c('0x1e')](_0x304b20,_0xf471e7){this[_0x296c('0x3e')][_0x296c('0x37')](_0xf471e7['id'])[_0x296c('0x1d')](_0xf471e7[_0x296c('0x27')]);}[_0x296c('0x36')](_0x1614f1,_0x1a73eb,_0x1773dc){const _0x3ed703=this[_0x296c('0x3e')][_0x296c('0x7')](_0x1773dc);_0x3ed703['length']>0x2?(this['_sidebarView'][_0x296c('0x5')](_0x3ed703),this['_sidebarView'][_0x296c('0x17')](null)):(this[_0x296c('0x29')][_0x296c('0x5')]([]),this[_0x296c('0x29')][_0x296c('0x17')](_0x3ed703[0x0]));}['_createRevisionActions'](){const _0x4f2091=this[_0x296c('0x33')],_0x3342ed=w[_0x296c('0x1c')],_0xf1977=_0x4f2091[_0x296c('0x24')][_0x296c('0x35')](_0x296c('0xe'))||w[_0x296c('0x23')];if(_0xf1977['length'])return _0xf1977[_0x296c('0x3c')](_0x24f67b=>{const _0x3e1ff3=_0x296c('0x12')==typeof _0x24f67b?Object[_0x296c('0x18')]({},_0x3342ed[_0x24f67b]):_0x24f67b;return _0x3e1ff3[_0x296c('0x32')]=_0x3e1ff3[_0x296c('0x32')]['bind'](this,_0x4f2091),_0x3e1ff3[_0x296c('0x39')]&&(_0x3e1ff3[_0x296c('0x39')]=_0x3e1ff3[_0x296c('0x39')]['bind'](this,_0x4f2091)),_0x3e1ff3;});}}w[_0x296c('0x1c')]={'compareAgainstSelected':{'name':_0x296c('0x26'),'action':({plugins:_0x2754a4},_0x23cf0f)=>{const _0x5be6ae=_0x2754a4[_0x296c('0x35')](_0x52a7c8),_0x386090=_0x5be6ae[_0x296c('0x3b')];let _0x42a648=_0x5be6ae[_0x296c('0x28')][_0x296c('0x6')],_0xa88a32=_0x23cf0f['id'];_0x386090[_0x296c('0x14')](_0x42a648)>_0x386090[_0x296c('0x14')](_0xa88a32)&&([_0x42a648,_0xa88a32]=[_0xa88a32,_0x42a648]),_0x5be6ae['compare'](_0x42a648,_0xa88a32);},'isVisible':({plugins:_0x3b21ec},_0x2d0f80)=>{const _0x34f411=_0x3b21ec[_0x296c('0x35')](_0x52a7c8);return!(_0x34f411[_0x296c('0x3b')][_0x296c('0x7')](_0x34f411[_0x296c('0x28')])['length']>0x2)&&!_0x2d0f80[_0x296c('0x2')];}},'restoreRevision':{'name':_0x296c('0x0'),'action':(_0x4397d0,{id:_0x2d691c})=>{_0x4397d0[_0x296c('0x24')][_0x296c('0x35')](_0x296c('0x8'))['restoreRevisionCallback'](_0x2d691c);},'isVisible':({plugins:_0xab0246},_0x4c6462)=>!!_0xab0246[_0x296c('0x35')](_0x52a7c8)['repository'][_0x296c('0xf')](_0x4c6462['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3c2d16},{id:_0x4153e3,revisionNameView:_0x340c6a})=>{const _0xbc6dc2=_0x3c2d16[_0x296c('0x35')](_0x52a7c8),_0x520ae5=_0xbc6dc2[_0x296c('0x3b')]['getEarlierVisibleRevision'](_0x4153e3);_0xbc6dc2['compare'](_0x4153e3,_0x520ae5),_0x340c6a[_0x296c('0xc')](),_0x340c6a[_0x296c('0x25')][_0x296c('0x2d')]();}}},w[_0x296c('0x23')]=[_0x296c('0x11'),'restoreRevision',_0x296c('0x2f')];
23
+ const _0x4661=['element','map','focus','_revisionsRepository','restoreRevisionCallback','compare','revisionSelected','isSelected','select','_handleDiffChange','plugins','fieldView','length','assign','init','editor','Restore\x20this\x20revision','diff','getRevisionsInDiff','_handleRevisionSetName','_revisionViewer','newRevisionId','action','revisionHistory.revisionActions','revisionHistory','selectRevision','RevisionsSidebar','string','destroy','render','_sidebarView','timePeriodViews','getIndex','config','restoreRevision','locale','compareAgainstSelected','revisionHistory.viewerSidebarContainer','Compare\x20against\x20selected','availableRevisionActions','getEarlierVisibleRevision','nameRevision','_createRevisionActions','isVisible','_handleRevisionSelected','repository','name','revisionSetName','pluginName','isEnabled','isReady','requires','Name\x20this\x20revision','revisionViews','get','getRevision','getLaterVisibleRevision','defaultRevisionActions','highlightRevisions','listenTo','data','add','bind'];(function(_0xf95dd5,_0x466157){const _0x31d546=function(_0x55d4d2){while(--_0x55d4d2){_0xf95dd5['push'](_0xf95dd5['shift']());}};_0x31d546(++_0x466157);}(_0x4661,0xa5));const _0x31d5=function(_0xf95dd5,_0x466157){_0xf95dd5=_0xf95dd5-0x0;let _0x31d546=_0x4661[_0xf95dd5];return _0x31d546;};import{Plugin as _0x5a592b}from'ckeditor5/src/core';import _0x4a5f63 from'./revisionssidebarview';import _0x285750 from'../../revisionviewer';export default class w extends _0x5a592b{static get[_0x31d5('0x9')](){return _0x31d5('0x32');}static get[_0x31d5('0xc')](){return[_0x285750];}constructor(_0x17f3b1){super(_0x17f3b1),this[_0x31d5('0x2c')]=_0x17f3b1[_0x31d5('0x22')]['get'](_0x285750),this[_0x31d5('0x1b')]=this[_0x31d5('0x2c')]['repository'],this['_sidebarView']=null;}[_0x31d5('0x26')](){const _0x198da8=this['_revisionsRepository']['_revisions'],_0x202d75=this[_0x31d5('0x3')](),_0x5dc107=this[_0x31d5('0x27')][_0x31d5('0x39')][_0x31d5('0xf')](_0x31d5('0x3d'));this[_0x31d5('0x36')]=new _0x4a5f63(this[_0x31d5('0x27')][_0x31d5('0x3b')],_0x198da8,_0x202d75),this['_sidebarView']['on'](_0x31d5('0x1e'),this[_0x31d5('0x5')][_0x31d5('0x17')](this)),this[_0x31d5('0x36')]['on'](_0x31d5('0x8'),this[_0x31d5('0x2b')][_0x31d5('0x17')](this)),this[_0x31d5('0x36')][_0x31d5('0x17')](_0x31d5('0xa'))['to'](this[_0x31d5('0x2c')]),this[_0x31d5('0x36')][_0x31d5('0x37')]['on']('add',(_0x22c9fc,_0x253887)=>{_0x253887[_0x31d5('0xe')]['on'](_0x31d5('0x16'),(_0x53369c,_0x4d8307)=>{_0x4d8307['bind'](_0x31d5('0xa'),_0x31d5('0xb'))['to'](this['_revisionViewer']);});}),this[_0x31d5('0x36')][_0x31d5('0x35')](),this[_0x31d5('0x14')](this[_0x31d5('0x27')][_0x31d5('0x15')],'ready',this['_handleEditorDataReady']['bind'](this)),this[_0x31d5('0x14')](this[_0x31d5('0x2c')],'change:diff',this[_0x31d5('0x21')][_0x31d5('0x17')](this)),_0x5dc107['appendChild'](this[_0x31d5('0x36')][_0x31d5('0x18')]);}[_0x31d5('0x34')](){this['_sidebarView'][_0x31d5('0x18')]['remove'](),this[_0x31d5('0x36')][_0x31d5('0x34')]();}['_handleEditorDataReady'](){const _0x7ca784=this[_0x31d5('0x1b')]['getRevision'](0x0);if(_0x7ca784){const _0x42fea2=this[_0x31d5('0x1b')]['getEarlierVisibleRevision'](_0x7ca784['id']);this[_0x31d5('0x2c')]['compare'](_0x7ca784,_0x42fea2);}}[_0x31d5('0x5')](_0x18b132,_0x6c2d93){const _0x5c8001=this[_0x31d5('0x1b')][_0x31d5('0x10')](_0x6c2d93['id']),_0x4929a1=this[_0x31d5('0x1b')][_0x31d5('0x1')](_0x5c8001['id']);this[_0x31d5('0x2c')][_0x31d5('0x1d')](_0x5c8001,_0x4929a1);}['_handleRevisionSetName'](_0x540e02,_0x57f53b){this['_revisionsRepository'][_0x31d5('0x10')](_0x57f53b['id'])['setName'](_0x57f53b[_0x31d5('0x7')]);}[_0x31d5('0x21')](_0x424871,_0x10658e,_0xf822ba){const _0x134b97=this[_0x31d5('0x1b')][_0x31d5('0x2a')](_0xf822ba);_0x134b97[_0x31d5('0x24')]>0x2?(this[_0x31d5('0x36')]['highlightRevisions'](_0x134b97),this['_sidebarView'][_0x31d5('0x31')](null)):(this[_0x31d5('0x36')][_0x31d5('0x13')]([]),this[_0x31d5('0x36')][_0x31d5('0x31')](_0x134b97[0x0]));}['_createRevisionActions'](){const _0x4d7d25=this['editor'],_0x45a3a7=w[_0x31d5('0x0')],_0x3beffb=_0x4d7d25[_0x31d5('0x39')][_0x31d5('0xf')](_0x31d5('0x2f'))||w[_0x31d5('0x12')];if(_0x3beffb[_0x31d5('0x24')])return _0x3beffb[_0x31d5('0x19')](_0x606d75=>{const _0x3ca0d6=_0x31d5('0x33')==typeof _0x606d75?Object[_0x31d5('0x25')]({},_0x45a3a7[_0x606d75]):_0x606d75;return _0x3ca0d6[_0x31d5('0x2e')]=_0x3ca0d6[_0x31d5('0x2e')]['bind'](this,_0x4d7d25),_0x3ca0d6['isVisible']&&(_0x3ca0d6[_0x31d5('0x4')]=_0x3ca0d6[_0x31d5('0x4')][_0x31d5('0x17')](this,_0x4d7d25)),_0x3ca0d6;});}}w[_0x31d5('0x0')]={'compareAgainstSelected':{'name':_0x31d5('0x3e'),'action':({plugins:_0x245976},_0xbea829)=>{const _0x3fea23=_0x245976[_0x31d5('0xf')](_0x285750),_0x3d24ea=_0x3fea23['repository'];let _0x3d5302=_0x3fea23['diff'][_0x31d5('0x2d')],_0x41abed=_0xbea829['id'];_0x3d24ea[_0x31d5('0x38')](_0x3d5302)>_0x3d24ea[_0x31d5('0x38')](_0x41abed)&&([_0x3d5302,_0x41abed]=[_0x41abed,_0x3d5302]),_0x3fea23['compare'](_0x3d5302,_0x41abed);},'isVisible':({plugins:_0x37016c},_0x11beb6)=>{const _0x3deab3=_0x37016c['get'](_0x285750);return!(_0x3deab3['repository'][_0x31d5('0x2a')](_0x3deab3[_0x31d5('0x29')])[_0x31d5('0x24')]>0x2)&&!_0x11beb6[_0x31d5('0x1f')];}},'restoreRevision':{'name':_0x31d5('0x28'),'action':(_0x184fc0,{id:_0x40de0c})=>{_0x184fc0['config'][_0x31d5('0xf')](_0x31d5('0x30'))[_0x31d5('0x1c')](_0x40de0c);},'isVisible':({plugins:_0x274dc9},_0x5aaabc)=>!!_0x274dc9['get'](_0x285750)[_0x31d5('0x6')][_0x31d5('0x11')](_0x5aaabc['id'])},'nameRevision':{'name':_0x31d5('0xd'),'action':({plugins:_0xea44c1},{id:_0xb88da0,revisionNameView:_0x81e809})=>{const _0x6c1861=_0xea44c1['get'](_0x285750),_0x2b9d0d=_0x6c1861[_0x31d5('0x6')][_0x31d5('0x1')](_0xb88da0);_0x6c1861['compare'](_0xb88da0,_0x2b9d0d),_0x81e809[_0x31d5('0x1a')](),_0x81e809[_0x31d5('0x23')][_0x31d5('0x20')]();}}},w['defaultRevisionActions']=[_0x31d5('0x3c'),_0x31d5('0x3a'),_0x31d5('0x2')];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14ab=['ck-revision-history-sidebar__header__label','ck-reset_all','history','content','setTemplate','span'];(function(_0x9247ae,_0x14ab7e){const _0x51a4ef=function(_0x262184){while(--_0x262184){_0x9247ae['push'](_0x9247ae['shift']());}};_0x51a4ef(++_0x14ab7e);}(_0x14ab,0x8a));const _0x51a4=function(_0x9247ae,_0x14ab7e){_0x9247ae=_0x9247ae-0x0;let _0x51a4ef=_0x14ab[_0x9247ae];return _0x51a4ef;};import{View as _0x34a778,IconView as _0x1cda1f}from'ckeditor5/src/ui';import{getTranslation as _0xadc531}from'../../utils/common-translations';import{icons as _0x37a275}from'ckeditor5/src/core';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rr extends _0x34a778{constructor(_0x189efd){super(_0x189efd);const _0x429a79=new _0x1cda1f();_0x429a79[_0x51a4('0x3')]=_0x37a275[_0x51a4('0x2')],this[_0x51a4('0x4')]({'tag':'div','attributes':{'class':['ck',_0x51a4('0x1'),'ck-revision-history-sidebar__header']},'children':[_0x429a79,{'tag':_0x51a4('0x5'),'attributes':{'class':['ck',_0x51a4('0x0')]},'children':[_0xadc531(_0x189efd,'Revision\x20history')]}]});}}
23
+ const _0x4012=['div','history','ck-revision-history-sidebar__header','setTemplate','Revision\x20history','span','content','ck-revision-history-sidebar__header__label'];(function(_0x26d241,_0x4012d3){const _0x2dd292=function(_0x11dabe){while(--_0x11dabe){_0x26d241['push'](_0x26d241['shift']());}};_0x2dd292(++_0x4012d3);}(_0x4012,0x107));const _0x2dd2=function(_0x26d241,_0x4012d3){_0x26d241=_0x26d241-0x0;let _0x2dd292=_0x4012[_0x26d241];return _0x2dd292;};import{View as _0x1194ae,IconView as _0x1f982a}from'ckeditor5/src/ui';import{getTranslation as _0x4112df}from'../../utils/common-translations';import{icons as _0x342a8f}from'ckeditor5/src/core';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rr extends _0x1194ae{constructor(_0xd3e691){super(_0xd3e691);const _0x254a9c=new _0x1f982a();_0x254a9c[_0x2dd2('0x7')]=_0x342a8f[_0x2dd2('0x2')],this[_0x2dd2('0x4')]({'tag':_0x2dd2('0x1'),'attributes':{'class':['ck','ck-reset_all',_0x2dd2('0x3')]},'children':[_0x254a9c,{'tag':_0x2dd2('0x6'),'attributes':{'class':['ck',_0x2dd2('0x0')]},'children':[_0x4112df(_0xd3e691,_0x2dd2('0x5'))]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a3e=['startDate','locale','ck-revision-history-sidebar__time-period','localizedPeriodName','addRevision','_revisionActions','ck-revision-history-sidebar__time-period__label','select','div','uiLanguage','revisionViews','find','setTemplate','createCollection'];(function(_0x3b8bdd,_0x1a3ebd){const _0xe736c1=function(_0x3ef2a6){while(--_0x3ef2a6){_0x3b8bdd['push'](_0x3b8bdd['shift']());}};_0xe736c1(++_0x1a3ebd);}(_0x1a3e,0x15e));const _0xe736=function(_0x3b8bdd,_0x1a3ebd){_0x3b8bdd=_0x3b8bdd-0x0;let _0xe736c1=_0x1a3e[_0x3b8bdd];return _0xe736c1;};import{View as _0x11a73c}from'ckeditor5/src/ui';import _0x4419c1 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x442fdb}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x11a73c{constructor(_0x57aba0,_0x595b4a,_0x548b87){super(_0x57aba0);const _0x188e11=_0x442fdb(_0x595b4a,this[_0xe736('0x1')][_0xe736('0x9')])[_0xe736('0x3')];this[_0xe736('0x0')]=_0x595b4a,this[_0xe736('0xa')]=this[_0xe736('0xd')](),this['_revisionActions']=_0x548b87,this['revisionViews']['delegate'](_0xe736('0x7'))['to'](this),this[_0xe736('0xa')]['delegate']('setName')['to'](this),this[_0xe736('0xc')]({'tag':_0xe736('0x8'),'attributes':{'class':['ck',_0xe736('0x2')]},'children':[{'tag':'span','attributes':{'class':['ck',_0xe736('0x6')]},'children':[{'text':_0x188e11}]},{'tag':_0xe736('0x8'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this[_0xe736('0xa')]}]});}[_0xe736('0x4')](_0x2a3875){const _0x45d297=new _0x4419c1(this[_0xe736('0x1')],_0x2a3875,this[_0xe736('0x5')]);this[_0xe736('0xa')]['add'](_0x45d297);}['removeRevision'](_0x1fda82){const _0x1069d9=this['revisionViews'][_0xe736('0xb')](_0x144511=>_0x144511['id']===_0x1fda82['id']);this[_0xe736('0xa')]['remove'](_0x1069d9);}}
23
+ const _0x3945=['select','startDate','removeRevision','localizedPeriodName','locale','ck-revision-history-sidebar__time-period','revisionViews','setName','ck-revision-history-sidebar__time-period__revisions','addRevision','ck-revision-history-sidebar__time-period__label','uiLanguage','span','delegate','div','remove','_revisionActions','setTemplate','createCollection'];(function(_0x69688e,_0x39459d){const _0x424166=function(_0x410023){while(--_0x410023){_0x69688e['push'](_0x69688e['shift']());}};_0x424166(++_0x39459d);}(_0x3945,0x7f));const _0x4241=function(_0x69688e,_0x39459d){_0x69688e=_0x69688e-0x0;let _0x424166=_0x3945[_0x69688e];return _0x424166;};import{View as _0x5ef439}from'ckeditor5/src/ui';import _0x52f69e from'../revision/revisionview';import{getDateTimePeriodInfo as _0x1b85e6}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x5ef439{constructor(_0x373c68,_0xf63fb2,_0x288dbd){super(_0x373c68);const _0x144b3f=_0x1b85e6(_0xf63fb2,this[_0x4241('0xa')][_0x4241('0x11')])[_0x4241('0x9')];this[_0x4241('0x7')]=_0xf63fb2,this[_0x4241('0xc')]=this[_0x4241('0x5')](),this[_0x4241('0x3')]=_0x288dbd,this['revisionViews'][_0x4241('0x0')](_0x4241('0x6'))['to'](this),this[_0x4241('0xc')]['delegate'](_0x4241('0xd'))['to'](this),this[_0x4241('0x4')]({'tag':_0x4241('0x1'),'attributes':{'class':['ck',_0x4241('0xb')]},'children':[{'tag':_0x4241('0x12'),'attributes':{'class':['ck',_0x4241('0x10')]},'children':[{'text':_0x144b3f}]},{'tag':_0x4241('0x1'),'attributes':{'class':['ck',_0x4241('0xe')]},'children':this['revisionViews']}]});}[_0x4241('0xf')](_0x433e3f){const _0x2acc06=new _0x52f69e(this[_0x4241('0xa')],_0x433e3f,this[_0x4241('0x3')]);this[_0x4241('0xc')]['add'](_0x2acc06);}[_0x4241('0x8')](_0x3e7e2f){const _0x471128=this['revisionViews']['find'](_0x3eb29c=>_0x3eb29c['id']===_0x3e7e2f['id']);this[_0x4241('0xc')][_0x4241('0x2')](_0x471128);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x453b=['add','selectRevision','isEnabled','setName','div','render','getTime','_removeRevision','setTemplate','locale','fire','get','bindTemplate','startDate','_revisionActions','set','_getTimePeriodViewByStartDate','ck-rounded-corners','addRevision','deselect','some','map','createdAt','createCollection','_addRevision','ck-revision-history-sidebar','revisionViews','delegate','ck-revision-history-sidebar__timeline','ck-reset','_revisions','uiLanguage','revisionSelected','find','select','timePeriodViews','flat','remove'];(function(_0x1f41dd,_0x453b9c){const _0x2f5ad7=function(_0x2362a7){while(--_0x2362a7){_0x1f41dd['push'](_0x1f41dd['shift']());}};_0x2f5ad7(++_0x453b9c);}(_0x453b,0xe7));const _0x2f5a=function(_0x1f41dd,_0x453b9c){_0x1f41dd=_0x1f41dd-0x0;let _0x2f5ad7=_0x453b[_0x1f41dd];return _0x2f5ad7;};import{View as _0x423e58}from'ckeditor5/src/ui';import _0x292962 from'./revisionssidebartimeperiodview';import _0x1bce6c from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x46ef32}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x423e58{constructor(_0x4517c1,_0x5e6fcd,_0x1991ba){super(_0x4517c1);const _0x2e99fa=this[_0x2f5a('0x9')];this[_0x2f5a('0x20')]=this[_0x2f5a('0x14')](),this[_0x2f5a('0x20')]['delegate']('select')['to'](this),this[_0x2f5a('0x20')][_0x2f5a('0x18')](_0x2f5a('0x0'))['to'](this),this[_0x2f5a('0x1b')]=_0x5e6fcd,this[_0x2f5a('0xb')]=_0x1991ba,this['on'](_0x2f5a('0x1f'),(_0x114f23,_0x374170)=>{this[_0x2f5a('0x7')](_0x2f5a('0x1d'),_0x374170);}),this['on'](_0x2f5a('0x0'),(_0x2ad0f6,_0x2fc9fd)=>{this[_0x2f5a('0x7')]('revisionSetName',_0x2fc9fd);}),this[_0x2f5a('0xc')](_0x2f5a('0x25'),!0x1),this[_0x2f5a('0x5')]({'tag':_0x2f5a('0x1'),'attributes':{'class':['ck',_0x2f5a('0x1a'),_0x2f5a('0xe'),_0x2f5a('0x16')]},'children':[new _0x1bce6c(_0x4517c1),{'tag':_0x2f5a('0x1'),'attributes':{'class':['ck',_0x2f5a('0x19'),_0x2e99fa['if'](_0x2f5a('0x25'),'ck-disabled',_0x26d79f=>!_0x26d79f)]},'children':this[_0x2f5a('0x20')]}]});}[_0x2f5a('0x2')](){super[_0x2f5a('0x2')]();for(const _0x272a99 of this['_revisions'])this[_0x2f5a('0x15')](_0x272a99);this['_revisions']['on'](_0x2f5a('0x23'),(_0x3cc5f2,_0x392ee0)=>{this[_0x2f5a('0x15')](_0x392ee0);}),this['_revisions']['on'](_0x2f5a('0x22'),(_0xf6cfcb,_0x2aad25)=>{this['_removeRevision'](_0x2aad25);});}get['revisionViews'](){return this[_0x2f5a('0x20')][_0x2f5a('0x12')](_0x44fb57=>_0x44fb57[_0x2f5a('0x17')][_0x2f5a('0x12')](_0x43fbf8=>_0x43fbf8))[_0x2f5a('0x21')]();}[_0x2f5a('0x24')](_0x12c89c){for(const _0x2aee49 of this[_0x2f5a('0x17')])_0x12c89c&&_0x12c89c['id']===_0x2aee49['id']?_0x2aee49[_0x2f5a('0x1f')]():_0x2aee49[_0x2f5a('0x10')]();}['highlightRevisions'](_0x2185de){for(const _0x5dff3e of this[_0x2f5a('0x17')])_0x2185de[_0x2f5a('0x11')](({id:_0x29e2bc})=>_0x29e2bc===_0x5dff3e['id'])?_0x5dff3e['highlight']():_0x5dff3e['unhighlight']();}[_0x2f5a('0x15')](_0x1195fe){const _0x3892ff=_0x46ef32(_0x1195fe[_0x2f5a('0x13')],this[_0x2f5a('0x6')]['uiLanguage'])[_0x2f5a('0xa')];let _0x5d96c6=this[_0x2f5a('0x20')][_0x2f5a('0x8')](0x0);_0x5d96c6&&_0x5d96c6['startDate']['getTime']()===_0x3892ff[_0x2f5a('0x3')]()||(_0x5d96c6=new _0x292962(this[_0x2f5a('0x6')],_0x3892ff,this['_revisionActions']),this['timePeriodViews'][_0x2f5a('0x23')](_0x5d96c6)),_0x5d96c6[_0x2f5a('0xf')](_0x1195fe);}[_0x2f5a('0x4')](_0x392f1e){const _0xf58c1c=_0x46ef32(_0x392f1e['createdAt'],this[_0x2f5a('0x6')][_0x2f5a('0x1c')])[_0x2f5a('0xa')];this[_0x2f5a('0xd')](_0xf58c1c)['removeRevision'](_0x392f1e);}['_getTimePeriodViewByStartDate'](_0x3eb660){return this['timePeriodViews'][_0x2f5a('0x1e')](_0x6dd832=>_0x6dd832[_0x2f5a('0xa')][_0x2f5a('0x3')]()===_0x3eb660[_0x2f5a('0x3')]());}}
23
+ const _0x2572=['div','ck-rounded-corners','ck-reset','startDate','timePeriodViews','addRevision','delegate','isEnabled','find','revisionViews','_revisions','unhighlight','render','remove','ck-revision-history-sidebar__timeline','uiLanguage','_getTimePeriodViewByStartDate','get','ck-revision-history-sidebar','createdAt','setName','highlight','bindTemplate','highlightRevisions','getTime','revisionSelected','locale','fire','flat','setTemplate','select','set','add','revisionSetName','some','removeRevision','_revisionActions','map','_removeRevision','selectRevision'];(function(_0x1a69c3,_0x257289){const _0x5db77c=function(_0x4f00ed){while(--_0x4f00ed){_0x1a69c3['push'](_0x1a69c3['shift']());}};_0x5db77c(++_0x257289);}(_0x2572,0xd3));const _0x5db7=function(_0x1a69c3,_0x257289){_0x1a69c3=_0x1a69c3-0x0;let _0x5db77c=_0x2572[_0x1a69c3];return _0x5db77c;};import{View as _0x59d769}from'ckeditor5/src/ui';import _0x3dbcf3 from'./revisionssidebartimeperiodview';import _0x2bf4a3 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x2e54f6}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x59d769{constructor(_0x373122,_0x2bee67,_0x9498b3){super(_0x373122);const _0x1faab4=this[_0x5db7('0xb')];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews'][_0x5db7('0x23')](_0x5db7('0x13'))['to'](this),this[_0x5db7('0x21')][_0x5db7('0x23')](_0x5db7('0x9'))['to'](this),this[_0x5db7('0x27')]=_0x2bee67,this[_0x5db7('0x19')]=_0x9498b3,this['on'](_0x5db7('0x13'),(_0x3d7a46,_0x9ac2a3)=>{this[_0x5db7('0x10')](_0x5db7('0xe'),_0x9ac2a3);}),this['on']('setName',(_0x3f72fe,_0x2f3331)=>{this[_0x5db7('0x10')](_0x5db7('0x16'),_0x2f3331);}),this[_0x5db7('0x14')](_0x5db7('0x24'),!0x1),this[_0x5db7('0x12')]({'tag':'div','attributes':{'class':['ck',_0x5db7('0x1f'),_0x5db7('0x1e'),_0x5db7('0x7')]},'children':[new _0x2bf4a3(_0x373122),{'tag':_0x5db7('0x1d'),'attributes':{'class':['ck',_0x5db7('0x3'),_0x1faab4['if'](_0x5db7('0x24'),'ck-disabled',_0xa07219=>!_0xa07219)]},'children':this['timePeriodViews']}]});}[_0x5db7('0x1')](){super[_0x5db7('0x1')]();for(const _0x2cfd30 of this['_revisions'])this['_addRevision'](_0x2cfd30);this[_0x5db7('0x27')]['on']('add',(_0x2bae75,_0x1fc5e0)=>{this['_addRevision'](_0x1fc5e0);}),this[_0x5db7('0x27')]['on'](_0x5db7('0x2'),(_0x2f9b1b,_0x212022)=>{this[_0x5db7('0x1b')](_0x212022);});}get[_0x5db7('0x26')](){return this[_0x5db7('0x21')][_0x5db7('0x1a')](_0x3b18e4=>_0x3b18e4['revisionViews'][_0x5db7('0x1a')](_0x26c691=>_0x26c691))[_0x5db7('0x11')]();}[_0x5db7('0x1c')](_0x216662){for(const _0x3deb9e of this[_0x5db7('0x26')])_0x216662&&_0x216662['id']===_0x3deb9e['id']?_0x3deb9e[_0x5db7('0x13')]():_0x3deb9e['deselect']();}[_0x5db7('0xc')](_0x36365a){for(const _0x134b11 of this['revisionViews'])_0x36365a[_0x5db7('0x17')](({id:_0x1b195c})=>_0x1b195c===_0x134b11['id'])?_0x134b11[_0x5db7('0xa')]():_0x134b11[_0x5db7('0x0')]();}['_addRevision'](_0x38d603){const _0x3169e3=_0x2e54f6(_0x38d603[_0x5db7('0x8')],this[_0x5db7('0xf')][_0x5db7('0x4')])[_0x5db7('0x20')];let _0xb627cb=this[_0x5db7('0x21')][_0x5db7('0x6')](0x0);_0xb627cb&&_0xb627cb[_0x5db7('0x20')][_0x5db7('0xd')]()===_0x3169e3[_0x5db7('0xd')]()||(_0xb627cb=new _0x3dbcf3(this[_0x5db7('0xf')],_0x3169e3,this[_0x5db7('0x19')]),this[_0x5db7('0x21')][_0x5db7('0x15')](_0xb627cb)),_0xb627cb[_0x5db7('0x22')](_0x38d603);}[_0x5db7('0x1b')](_0x57b136){const _0x29610e=_0x2e54f6(_0x57b136[_0x5db7('0x8')],this[_0x5db7('0xf')][_0x5db7('0x4')])[_0x5db7('0x20')];this[_0x5db7('0x5')](_0x29610e)[_0x5db7('0x18')](_0x57b136);}[_0x5db7('0x5')](_0xe7ad00){return this[_0x5db7('0x21')][_0x5db7('0x25')](_0x37a959=>_0x37a959['startDate'][_0x5db7('0xd')]()===_0xe7ad00[_0x5db7('0xd')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c4e=['monthLong','hasSame','day','minus','weekdayLong','local','startOf','fromJSDate','year','toJSDate','toRelativeCalendar','week','month'];(function(_0x4eef60,_0x3c4e77){const _0x5af71a=function(_0x254311){while(--_0x254311){_0x4eef60['push'](_0x4eef60['shift']());}};_0x5af71a(++_0x3c4e77);}(_0x3c4e,0x1af));const _0x5af7=function(_0x4eef60,_0x3c4e77){_0x4eef60=_0x4eef60-0x0;let _0x5af71a=_0x3c4e[_0x4eef60];return _0x5af71a;};import{DateTime as _0x37e84d}from'luxon';export function getDateTimePeriodInfo(_0x136d5d,_0x6d88d4){const _0x154245=_0x37e84d[_0x5af7('0x5')](_0x136d5d)['setLocale'](_0x6d88d4),_0x4840d3=_0x37e84d[_0x5af7('0x3')](),_0x30a1a0=_0x4840d3[_0x5af7('0x1')]({'days':0x1})[_0x5af7('0x4')](_0x5af7('0x0'));let _0x4054ee,_0x52dfa8;return _0x154245[_0x5af7('0xc')](_0x4840d3,'day')?(_0x4054ee=_0x154245['startOf'](_0x5af7('0x0'))[_0x5af7('0x7')](),_0x52dfa8=_0x154245[_0x5af7('0x8')]()):_0x154245[_0x5af7('0xc')](_0x30a1a0,_0x5af7('0x0'))?(_0x4054ee=_0x30a1a0[_0x5af7('0x7')](),_0x52dfa8=_0x154245[_0x5af7('0x8')]()):_0x154245[_0x5af7('0xc')](_0x4840d3,'week')?(_0x4054ee=_0x154245[_0x5af7('0x4')](_0x5af7('0x9'))[_0x5af7('0x7')](),_0x52dfa8=_0x154245[_0x5af7('0x2')]||''):_0x154245[_0x5af7('0xc')](_0x4840d3,_0x5af7('0x6'))?(_0x4054ee=_0x154245['startOf'](_0x5af7('0xa'))[_0x5af7('0x7')](),_0x52dfa8=_0x154245[_0x5af7('0xb')]||''):(_0x4054ee=_0x154245[_0x5af7('0x4')](_0x5af7('0x6'))[_0x5af7('0x7')](),_0x52dfa8=String(_0x154245[_0x5af7('0x6')])),{'startDate':_0x4054ee,'localizedPeriodName':_0x52dfa8};}
23
+ const _0x227a=['setLocale','week','startOf','month','toRelativeCalendar','day','hasSame','toJSDate','weekdayLong','monthLong','minus','year'];(function(_0x367376,_0x227a09){const _0x5c397c=function(_0x23ed08){while(--_0x23ed08){_0x367376['push'](_0x367376['shift']());}};_0x5c397c(++_0x227a09);}(_0x227a,0x148));const _0x5c39=function(_0x367376,_0x227a09){_0x367376=_0x367376-0x0;let _0x5c397c=_0x227a[_0x367376];return _0x5c397c;};import{DateTime as _0x34728b}from'luxon';export function getDateTimePeriodInfo(_0x33c771,_0xd67f8e){const _0xabba76=_0x34728b['fromJSDate'](_0x33c771)[_0x5c39('0x8')](_0xd67f8e),_0x3c2635=_0x34728b['local'](),_0x490195=_0x3c2635[_0x5c39('0x6')]({'days':0x1})[_0x5c39('0xa')](_0x5c39('0x1'));let _0x5ceec4,_0x2b50db;return _0xabba76[_0x5c39('0x2')](_0x3c2635,_0x5c39('0x1'))?(_0x5ceec4=_0xabba76[_0x5c39('0xa')](_0x5c39('0x1'))[_0x5c39('0x3')](),_0x2b50db=_0xabba76[_0x5c39('0x0')]()):_0xabba76[_0x5c39('0x2')](_0x490195,_0x5c39('0x1'))?(_0x5ceec4=_0x490195[_0x5c39('0x3')](),_0x2b50db=_0xabba76[_0x5c39('0x0')]()):_0xabba76[_0x5c39('0x2')](_0x3c2635,_0x5c39('0x9'))?(_0x5ceec4=_0xabba76['startOf'](_0x5c39('0x9'))[_0x5c39('0x3')](),_0x2b50db=_0xabba76[_0x5c39('0x4')]||''):_0xabba76[_0x5c39('0x2')](_0x3c2635,'year')?(_0x5ceec4=_0xabba76[_0x5c39('0xa')](_0x5c39('0xb'))[_0x5c39('0x3')](),_0x2b50db=_0xabba76[_0x5c39('0x5')]||''):(_0x5ceec4=_0xabba76[_0x5c39('0xa')]('year')[_0x5c39('0x3')](),_0x2b50db=String(_0xabba76[_0x5c39('0x7')])),{'startDate':_0x5ceec4,'localizedPeriodName':_0x2b50db};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5534=['Suggested\x20by','ck-revision-change__label','changeId','div','author','set','setTemplate','add','bindTemplate','type','isSuggestion','ck-annotation','data','ck-revision-change__','name','_model'];(function(_0x55e3b3,_0x5534f6){const _0x721e74=function(_0x498b0b){while(--_0x498b0b){_0x55e3b3['push'](_0x55e3b3['shift']());}};_0x721e74(++_0x5534f6);}(_0x5534,0x1cd));const _0x721e=function(_0x55e3b3,_0x5534f6){_0x55e3b3=_0x55e3b3-0x0;let _0x721e74=_0x5534[_0x55e3b3];return _0x721e74;};import{View as _0x19925b}from'ckeditor5/src/ui';import{getTranslation as _0x2747ef}from'../../utils/common-translations';export default class Z extends _0x19925b{constructor(_0x1f128e,_0x52415c){super(_0x1f128e),this[_0x721e('0x2')]=_0x52415c,this[_0x721e('0x5')]=_0x52415c['id'];const _0x1e73b1=this[_0x721e('0xb')],_0x2e81c4=_0x2747ef(_0x1f128e,_0x52415c[_0x721e('0xf')][_0x721e('0xd')]?_0x721e('0x3'):_0x721e('0xa')==_0x52415c[_0x721e('0xc')]?'Added\x20by':'Removed\x20by');this[_0x721e('0x8')](_0x721e('0xc'),_0x52415c['type']),this[_0x721e('0x9')]({'tag':_0x721e('0x6'),'attributes':{'class':[_0x721e('0xe'),'ck-revision-change',_0x1e73b1['to']('type',_0x15d370=>_0x721e('0x0')+_0x15d370)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':[_0x721e('0x4')]},'children':[{'text':_0x2e81c4}]},{'text':'\x20'+_0x52415c[_0x721e('0x7')][_0x721e('0x1')]}]}]});}['focus'](){this['element']['focus']();}}
23
+ const _0x3176=['element','changeId','span','Added\x20by','Removed\x20by','focus','setTemplate','name','ck-annotation','div','add','_model','type','set','ck-revision-change','data'];(function(_0x33f132,_0x31766a){const _0x2bbe20=function(_0x112f45){while(--_0x112f45){_0x33f132['push'](_0x33f132['shift']());}};_0x2bbe20(++_0x31766a);}(_0x3176,0x13e));const _0x2bbe=function(_0x33f132,_0x31766a){_0x33f132=_0x33f132-0x0;let _0x2bbe20=_0x3176[_0x33f132];return _0x2bbe20;};import{View as _0x2c3dce}from'ckeditor5/src/ui';import{getTranslation as _0x4e297d}from'../../utils/common-translations';export default class Z extends _0x2c3dce{constructor(_0x5de1de,_0x1dc2c6){super(_0x5de1de),this[_0x2bbe('0xd')]=_0x1dc2c6,this[_0x2bbe('0x3')]=_0x1dc2c6['id'];const _0x1fc614=this['bindTemplate'],_0x34b00a=_0x4e297d(_0x5de1de,_0x1dc2c6[_0x2bbe('0x1')]['isSuggestion']?'Suggested\x20by':_0x2bbe('0xc')==_0x1dc2c6[_0x2bbe('0xe')]?_0x2bbe('0x5'):_0x2bbe('0x6'));this[_0x2bbe('0xf')](_0x2bbe('0xe'),_0x1dc2c6[_0x2bbe('0xe')]),this[_0x2bbe('0x8')]({'tag':_0x2bbe('0xb'),'attributes':{'class':[_0x2bbe('0xa'),_0x2bbe('0x0'),_0x1fc614['to'](_0x2bbe('0xe'),_0x59e51d=>'ck-revision-change__'+_0x59e51d)],'tabindex':-0x1},'children':[{'tag':_0x2bbe('0x4'),'children':[{'tag':_0x2bbe('0x4'),'attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x34b00a}]},{'text':'\x20'+_0x1dc2c6['author'][_0x2bbe('0x9')]}]}]});}['focus'](){this[_0x2bbe('0x2')][_0x2bbe('0x7')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xed6c=['ck-revision-history-ui__changes-navigation__navigation','fire','_statusText','numberOfChanges','Show\x20next\x20change','div','set','Total','NUMBER_OF_CHANGES','Show\x20previous\x20change','No\x20changes','span','bind','forward','ck-revision-history-ui__changes-navigation','execute','X_OF_Y_CHANGES','isReady','currentChangeNumber','backward','ck-revision-history-ui','Loading...','EDIT_X_OF_Y_REVISIONS','ck-revision-history-ui__changes-navigation__wrapper','bindTemplate','isNavigationMode','isEnabled','isForwardNavigationEnabled','_isStatusLabelVisible'];(function(_0x1ec3cc,_0xed6cc8){const _0x279d3e=function(_0x222f5a){while(--_0x222f5a){_0x1ec3cc['push'](_0x1ec3cc['shift']());}};_0x279d3e(++_0xed6cc8);}(_0xed6c,0xe5));const _0x279d=function(_0x1ec3cc,_0xed6cc8){_0x1ec3cc=_0x1ec3cc-0x0;let _0x279d3e=_0xed6c[_0x1ec3cc];return _0x279d3e;};import{View as _0x4787f2,ButtonView as _0xb02393,ToolbarSeparatorView as _0x18630b}from'ckeditor5/src/ui';import{getTranslation as _0x5158bf}from'../../utils/common-translations';import _0x46dea1 from'../../../theme/icons/arrow-up.svg';import _0x2df9af from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x4787f2{constructor(_0x9b265){super(_0x9b265);const _0x50c772=this[_0x279d('0x1b')],_0x17ca0a=new _0xb02393(_0x9b265),_0xfbaa03=new _0xb02393(_0x9b265);this['set'](_0x279d('0x1c'),!0x1),this[_0x279d('0x9')]('isReady',!0x1),this[_0x279d('0x9')](_0x279d('0x15'),0x0),this[_0x279d('0x9')](_0x279d('0x6'),0x0),this[_0x279d('0x9')](_0x279d('0x1'),!0x1),this[_0x279d('0x9')]('isBackwardNavigationEnabled',!0x1),this[_0x279d('0xf')](_0x279d('0x2'))['to'](this,_0x279d('0x14'),this,_0x279d('0x6'),(_0x5f46aa,_0x2e732e)=>_0x5f46aa&&_0x2e732e>0x0),this[_0x279d('0xf')](_0x279d('0x5'))['to'](this,_0x279d('0x14'),this,_0x279d('0x15'),this,_0x279d('0x6'),this,_0x279d('0x1c'),(_0x53cbf4,_0x4bd9a8,_0xb39cc1,_0x4db830)=>{if(!_0x53cbf4)return _0x5158bf(_0x9b265,_0x279d('0x18'));if(!_0xb39cc1)return _0x5158bf(_0x9b265,_0x279d('0xd'));const _0x4861ed=_0x5158bf(_0x9b265,_0x279d('0xb'),_0xb39cc1);return _0x4db830?_0x5158bf(_0x9b265,_0x279d('0x13'),[_0x4bd9a8+0x1,_0xb39cc1]):_0x4861ed;}),_0x17ca0a['set']({'label':_0x5158bf(_0x9b265,_0x279d('0xc')),'tooltip':!0x0,'icon':_0x46dea1}),_0xfbaa03[_0x279d('0x9')]({'label':_0x5158bf(_0x9b265,_0x279d('0x7')),'tooltip':!0x0,'icon':_0x2df9af}),_0x17ca0a[_0x279d('0xf')](_0x279d('0x0'))['to'](this,'isBackwardNavigationEnabled'),_0xfbaa03[_0x279d('0xf')](_0x279d('0x0'))['to'](this,'isForwardNavigationEnabled'),_0x17ca0a['on']('execute',()=>this[_0x279d('0x4')](_0x279d('0x12'),_0x279d('0x16'))),_0xfbaa03['on'](_0x279d('0x12'),()=>this[_0x279d('0x4')](_0x279d('0x12'),_0x279d('0x10'))),this['setTemplate']({'tag':_0x279d('0x8'),'attributes':{'class':['ck',_0x279d('0x17'),_0x279d('0x11')]},'children':[{'tag':_0x279d('0xe'),'attributes':{'class':[_0x279d('0x1a')]},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x50c772['if'](_0x279d('0x2'),'ck-hidden',_0x3e89fc=>!_0x3e89fc)]},'children':[{'text':_0x50c772['to']('isNavigationMode',_0x3beda9=>_0x3beda9?_0x5158bf(_0x9b265,_0x279d('0x19'))+':\x20':_0x5158bf(_0x9b265,_0x279d('0xa'))+':\x20')}]},{'text':_0x50c772['to']('_statusText')}]},new _0x18630b(),{'tag':_0x279d('0x8'),'attributes':{'class':[_0x279d('0x3')]},'children':[_0x17ca0a,_0xfbaa03]}]});}}
23
+ const _0x130f=['numberOfChanges','Show\x20next\x20change','X_OF_Y_CHANGES','Show\x20previous\x20change','NUMBER_OF_CHANGES','_statusText','ck-revision-history-ui__changes-navigation__navigation','isReady','ck-revision-history-ui','_isStatusLabelVisible','div','isForwardNavigationEnabled','bind','ck-revision-history-ui__changes-navigation','isEnabled','No\x20changes','bindTemplate','currentChangeNumber','execute','span','isNavigationMode','fire','ck-revision-history-ui__changes-navigation__label','set'];(function(_0x59ae15,_0x130ff9){const _0x1e4f94=function(_0x3ff12f){while(--_0x3ff12f){_0x59ae15['push'](_0x59ae15['shift']());}};_0x1e4f94(++_0x130ff9);}(_0x130f,0x1dd));const _0x1e4f=function(_0x59ae15,_0x130ff9){_0x59ae15=_0x59ae15-0x0;let _0x1e4f94=_0x130f[_0x59ae15];return _0x1e4f94;};import{View as _0x592cc4,ButtonView as _0x1697e5,ToolbarSeparatorView as _0x55df7d}from'ckeditor5/src/ui';import{getTranslation as _0xe2a176}from'../../utils/common-translations';import _0x2ea80c from'../../../theme/icons/arrow-up.svg';import _0x1aaaef from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x592cc4{constructor(_0x4dfb74){super(_0x4dfb74);const _0x47d80c=this[_0x1e4f('0x13')],_0x4925e0=new _0x1697e5(_0x4dfb74),_0x11fdad=new _0x1697e5(_0x4dfb74);this[_0x1e4f('0x2')](_0x1e4f('0x17'),!0x1),this['set']('isReady',!0x1),this[_0x1e4f('0x2')]('currentChangeNumber',0x0),this[_0x1e4f('0x2')](_0x1e4f('0x3'),0x0),this[_0x1e4f('0x2')]('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this[_0x1e4f('0xf')]('_isStatusLabelVisible')['to'](this,_0x1e4f('0xa'),this,_0x1e4f('0x3'),(_0xe665a,_0x471cac)=>_0xe665a&&_0x471cac>0x0),this[_0x1e4f('0xf')]('_statusText')['to'](this,'isReady',this,_0x1e4f('0x14'),this,_0x1e4f('0x3'),this,'isNavigationMode',(_0x5c44dc,_0x3bbfaa,_0x36b25b,_0x5b12d2)=>{if(!_0x5c44dc)return _0xe2a176(_0x4dfb74,'Loading...');if(!_0x36b25b)return _0xe2a176(_0x4dfb74,_0x1e4f('0x12'));const _0x2a2a41=_0xe2a176(_0x4dfb74,_0x1e4f('0x7'),_0x36b25b);return _0x5b12d2?_0xe2a176(_0x4dfb74,_0x1e4f('0x5'),[_0x3bbfaa+0x1,_0x36b25b]):_0x2a2a41;}),_0x4925e0[_0x1e4f('0x2')]({'label':_0xe2a176(_0x4dfb74,_0x1e4f('0x6')),'tooltip':!0x0,'icon':_0x2ea80c}),_0x11fdad[_0x1e4f('0x2')]({'label':_0xe2a176(_0x4dfb74,_0x1e4f('0x4')),'tooltip':!0x0,'icon':_0x1aaaef}),_0x4925e0[_0x1e4f('0xf')](_0x1e4f('0x11'))['to'](this,'isBackwardNavigationEnabled'),_0x11fdad[_0x1e4f('0xf')](_0x1e4f('0x11'))['to'](this,_0x1e4f('0xe')),_0x4925e0['on'](_0x1e4f('0x15'),()=>this[_0x1e4f('0x0')](_0x1e4f('0x15'),'backward')),_0x11fdad['on'](_0x1e4f('0x15'),()=>this['fire'](_0x1e4f('0x15'),'forward')),this['setTemplate']({'tag':_0x1e4f('0xd'),'attributes':{'class':['ck',_0x1e4f('0xb'),_0x1e4f('0x10')]},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':_0x1e4f('0x16'),'attributes':{'class':[_0x1e4f('0x1'),_0x47d80c['if'](_0x1e4f('0xc'),'ck-hidden',_0x4cd41c=>!_0x4cd41c)]},'children':[{'text':_0x47d80c['to'](_0x1e4f('0x17'),_0x2c3267=>_0x2c3267?_0xe2a176(_0x4dfb74,'EDIT_X_OF_Y_REVISIONS')+':\x20':_0xe2a176(_0x4dfb74,'Total')+':\x20')}]},{'text':_0x47d80c['to'](_0x1e4f('0x8'))}]},new _0x55df7d(),{'tag':'div','attributes':{'class':[_0x1e4f('0x9')]},'children':[_0x4925e0,_0x11fdad]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x451f=['change','editor','RevisionViewerLoadingOverlay','addClass','document','show','ck-editor__editable__loading-overlay','view','pluginName','editing','roots'];(function(_0x1330eb,_0x451f21){const _0x537b00=function(_0x3f6c88){while(--_0x3f6c88){_0x1330eb['push'](_0x1330eb['shift']());}};_0x537b00(++_0x451f21);}(_0x451f,0xb4));const _0x537b=function(_0x1330eb,_0x451f21){_0x1330eb=_0x1330eb-0x0;let _0x537b00=_0x451f[_0x1330eb];return _0x537b00;};import{Plugin as _0x320309}from'ckeditor5/src/core';const oe=_0x537b('0x2');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x320309{static get[_0x537b('0x4')](){return _0x537b('0x9');}[_0x537b('0x1')](){const _0x32ecdc=this[_0x537b('0x8')][_0x537b('0x5')][_0x537b('0x3')];_0x32ecdc['change'](_0x26576c=>{for(const _0x531dfa of _0x32ecdc[_0x537b('0x0')][_0x537b('0x6')])_0x26576c[_0x537b('0xa')](oe,_0x531dfa);});}['hide'](){const _0x289114=this[_0x537b('0x8')][_0x537b('0x5')][_0x537b('0x3')];_0x289114[_0x537b('0x7')](_0x131e5a=>{for(const _0x1ddfce of _0x289114[_0x537b('0x0')]['roots'])_0x131e5a['removeClass'](oe,_0x1ddfce);});}}
23
+ const _0x5db1=['roots','ck-editor__editable__loading-overlay','RevisionViewerLoadingOverlay','pluginName','change','editor','hide','removeClass','view','addClass'];(function(_0x1efe26,_0x5db1b9){const _0xe0db50=function(_0x187e64){while(--_0x187e64){_0x1efe26['push'](_0x1efe26['shift']());}};_0xe0db50(++_0x5db1b9);}(_0x5db1,0xe6));const _0xe0db=function(_0x1efe26,_0x5db1b9){_0x1efe26=_0x1efe26-0x0;let _0xe0db50=_0x5db1[_0x1efe26];return _0xe0db50;};import{Plugin as _0x397cba}from'ckeditor5/src/core';const oe=_0xe0db('0x1');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x397cba{static get[_0xe0db('0x3')](){return _0xe0db('0x2');}['show'](){const _0x4adcd1=this[_0xe0db('0x5')]['editing']['view'];_0x4adcd1[_0xe0db('0x4')](_0x46909e=>{for(const _0x36350a of _0x4adcd1['document'][_0xe0db('0x0')])_0x46909e[_0xe0db('0x9')](oe,_0x36350a);});}[_0xe0db('0x6')](){const _0x54d666=this[_0xe0db('0x5')]['editing'][_0xe0db('0x8')];_0x54d666[_0xe0db('0x4')](_0x4c98b2=>{for(const _0x3e35b2 of _0x54d666['document'][_0xe0db('0x0')])_0x4c98b2[_0xe0db('0x7')](oe,_0x3e35b2);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x183e=['showPreviousChange','exitToEditing','revisionHistory','config','execute','restoreRevision','plugins','get','isEnabled','hide','closeRevisionViewerCallback','isNavigationMode','init','set','RevisionViewerUI','componentFactory','editor','bind','commands','show','pluginName','add','showNextChange','listenTo','Restore\x20this\x20revision','isBackwardNavigationEnabled','ck-revision-history-ui__back-to-editing','forward','change:isReady'];(function(_0x29d46f,_0x183e35){const _0x53129d=function(_0x17d6fe){while(--_0x17d6fe){_0x29d46f['push'](_0x29d46f['shift']());}};_0x53129d(++_0x183e35);}(_0x183e,0x113));const _0x5312=function(_0x29d46f,_0x183e35){_0x29d46f=_0x29d46f-0x0;let _0x53129d=_0x183e[_0x29d46f];return _0x53129d;};import{Plugin as _0x2a54da}from'ckeditor5/src/core';import{ButtonView as _0x3cf6e8}from'ckeditor5/src/ui';import _0x45b87f from'./changesnavigationview';import _0x603801 from'./../../revisionviewer';import _0x1e9c5e from'./revisionviewerloadingoverlay';import{getTranslation as _0x3b0d87}from'../../utils/common-translations';import _0x4d86cf from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x2a54da{static get[_0x5312('0x6')](){return _0x5312('0x0');}static get['requires'](){return[_0x603801,_0x1e9c5e];}[_0x5312('0x1b')](){const _0x342578=this[_0x5312('0x2')],_0xe5faa2=_0x342578[_0x5312('0x15')][_0x5312('0x16')](_0x603801),_0x4f28c8=_0x342578['plugins'][_0x5312('0x16')](_0x1e9c5e);_0x342578['ui'][_0x5312('0x1')][_0x5312('0x7')](_0x5312('0x10'),_0x594d1e=>{const _0x1e7952=new _0x3cf6e8(_0x594d1e);return _0x1e7952['set']({'label':_0x3b0d87(_0x594d1e,'Back\x20to\x20editing'),'icon':_0x4d86cf,'withText':!0x0,'tooltip':!0x0,'class':_0x5312('0xc')}),this['listenTo'](_0x1e7952,_0x5312('0x13'),()=>{_0x342578[_0x5312('0x12')]['get'](_0x5312('0x11'))[_0x5312('0x19')]();}),_0x1e7952;}),_0x342578['ui'][_0x5312('0x1')][_0x5312('0x7')](_0x5312('0x14'),_0x30f5d2=>{const _0x52540b=new _0x3cf6e8(_0x30f5d2);return _0x52540b[_0x5312('0x1c')]({'label':_0x3b0d87(_0x30f5d2,_0x5312('0xa')),'withText':!0x0,'tooltip':!0x0}),_0x52540b[_0x5312('0x3')](_0x5312('0x17'))['to'](_0x342578[_0x5312('0x4')][_0x5312('0x16')](_0x5312('0x14'))),this[_0x5312('0x9')](_0x52540b,_0x5312('0x13'),()=>_0x342578[_0x5312('0x13')](_0x5312('0x14'))),_0x52540b;}),_0x342578['ui'][_0x5312('0x1')][_0x5312('0x7')]('changesNavigation',_0x36f6d9=>{const _0x632b6a=new _0x45b87f(_0x36f6d9),_0x5efa98=_0x342578[_0x5312('0x4')][_0x5312('0x16')]('showPreviousChange'),_0x50f7b5=_0x342578['commands']['get'](_0x5312('0x8'));return _0x632b6a[_0x5312('0x3')](_0x5312('0xb'))['to'](_0x5efa98,_0x5312('0x17')),_0x632b6a[_0x5312('0x3')]('isForwardNavigationEnabled')['to'](_0x50f7b5,_0x5312('0x17')),_0x632b6a[_0x5312('0x3')]('isReady','currentChangeNumber','numberOfChanges',_0x5312('0x1a'))['to'](_0xe5faa2),this[_0x5312('0x9')](_0x632b6a,_0x5312('0x13'),(_0x53c2c1,_0x22b81f)=>{_0x342578[_0x5312('0x13')](_0x5312('0xd')===_0x22b81f?'showNextChange':_0x5312('0xf'));}),_0x632b6a;}),_0x4f28c8[_0x5312('0x5')](),_0xe5faa2['on'](_0x5312('0xe'),(_0x320497,_0x72a5b3,_0x27029d)=>{_0x27029d?_0x4f28c8[_0x5312('0x18')]():_0x4f28c8[_0x5312('0x5')]();});}}
23
+ const _0x17a7=['pluginName','add','listenTo','change:isReady','set','exitToEditing','get','RevisionViewerUI','isForwardNavigationEnabled','restoreRevision','changesNavigation','showNextChange','closeRevisionViewerCallback','isEnabled','numberOfChanges','isNavigationMode','revisionHistory','bind','Back\x20to\x20editing','isReady','currentChangeNumber','componentFactory','editor','commands','showPreviousChange','init','execute','forward'];(function(_0xb3b196,_0x17a7dc){const _0x3dbd46=function(_0x34dad8){while(--_0x34dad8){_0xb3b196['push'](_0xb3b196['shift']());}};_0x3dbd46(++_0x17a7dc);}(_0x17a7,0x93));const _0x3dbd=function(_0xb3b196,_0x17a7dc){_0xb3b196=_0xb3b196-0x0;let _0x3dbd46=_0x17a7[_0xb3b196];return _0x3dbd46;};import{Plugin as _0x43f9e0}from'ckeditor5/src/core';import{ButtonView as _0x108509}from'ckeditor5/src/ui';import _0x10ab0c from'./changesnavigationview';import _0x21c5be from'./../../revisionviewer';import _0x545827 from'./revisionviewerloadingoverlay';import{getTranslation as _0x3e7ff0}from'../../utils/common-translations';import _0x3b61a9 from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x43f9e0{static get[_0x3dbd('0x15')](){return _0x3dbd('0x0');}static get['requires'](){return[_0x21c5be,_0x545827];}[_0x3dbd('0x12')](){const _0x48bb58=this[_0x3dbd('0xf')],_0x30ab96=_0x48bb58['plugins'][_0x3dbd('0x1b')](_0x21c5be),_0x1e9238=_0x48bb58['plugins'][_0x3dbd('0x1b')](_0x545827);_0x48bb58['ui'][_0x3dbd('0xe')][_0x3dbd('0x16')](_0x3dbd('0x1a'),_0xe6f723=>{const _0x2ac280=new _0x108509(_0xe6f723);return _0x2ac280[_0x3dbd('0x19')]({'label':_0x3e7ff0(_0xe6f723,_0x3dbd('0xb')),'icon':_0x3b61a9,'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this[_0x3dbd('0x17')](_0x2ac280,_0x3dbd('0x13'),()=>{_0x48bb58['config'][_0x3dbd('0x1b')](_0x3dbd('0x9'))[_0x3dbd('0x5')]();}),_0x2ac280;}),_0x48bb58['ui'][_0x3dbd('0xe')][_0x3dbd('0x16')]('restoreRevision',_0xba430a=>{const _0x3678f7=new _0x108509(_0xba430a);return _0x3678f7[_0x3dbd('0x19')]({'label':_0x3e7ff0(_0xba430a,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x3678f7[_0x3dbd('0xa')](_0x3dbd('0x6'))['to'](_0x48bb58[_0x3dbd('0x10')][_0x3dbd('0x1b')](_0x3dbd('0x2'))),this['listenTo'](_0x3678f7,_0x3dbd('0x13'),()=>_0x48bb58[_0x3dbd('0x13')](_0x3dbd('0x2'))),_0x3678f7;}),_0x48bb58['ui'][_0x3dbd('0xe')]['add'](_0x3dbd('0x3'),_0x145201=>{const _0x18f0be=new _0x10ab0c(_0x145201),_0x38e6a5=_0x48bb58['commands']['get'](_0x3dbd('0x11')),_0xff98fc=_0x48bb58[_0x3dbd('0x10')]['get'](_0x3dbd('0x4'));return _0x18f0be[_0x3dbd('0xa')]('isBackwardNavigationEnabled')['to'](_0x38e6a5,'isEnabled'),_0x18f0be[_0x3dbd('0xa')](_0x3dbd('0x1'))['to'](_0xff98fc,'isEnabled'),_0x18f0be['bind'](_0x3dbd('0xc'),_0x3dbd('0xd'),_0x3dbd('0x7'),_0x3dbd('0x8'))['to'](_0x30ab96),this[_0x3dbd('0x17')](_0x18f0be,'execute',(_0x3d4c7b,_0x25d107)=>{_0x48bb58[_0x3dbd('0x13')](_0x3dbd('0x14')===_0x25d107?_0x3dbd('0x4'):_0x3dbd('0x11'));}),_0x18f0be;}),_0x1e9238['show'](),_0x30ab96['on'](_0x3dbd('0x18'),(_0x308fcf,_0x4f52e3,_0x396882)=>{_0x396882?_0x1e9238['hide']():_0x1e9238['show']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4a1b88,_0x1e1641,_0x2e2ac0){const t=_0x4a1b88['t'];switch(_0x1e1641){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'},_0x2e2ac0);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2e2ac0);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 _0x1e1641;}}
23
+ export function getTranslation(_0x2ca161,_0x3d3ee3,_0x346e5d){const t=_0x2ca161['t'];switch(_0x3d3ee3){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'},_0x346e5d);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x346e5d);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 _0x3d3ee3;}}