@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240117.0 → 0.0.0-nightly-20240119.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 +5 -5
  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 _0x18fe=['isEnabled','children','remove','history','execute','change:isOpen','plugins','saveRevision','length','view','set','Open\x20revision\x20history','addMany','bind','buttonView','editor','isReady','RevisionTracker','add','render','componentFactory','Save\x20current\x20revision','focus','init','panelView','requires','isOpen','submit','Revision\x20history','editing','isReadOnly','config','get','revisionHistory','showRevisionViewerCallback'];(function(_0x442f1f,_0x18fe5d){const _0x50a57f=function(_0x55a127){while(--_0x55a127){_0x442f1f['push'](_0x442f1f['shift']());}};_0x50a57f(++_0x18fe5d);}(_0x18fe,0x182));const _0x50a5=function(_0x442f1f,_0x18fe5d){_0x442f1f=_0x442f1f-0x0;let _0x50a57f=_0x18fe[_0x442f1f];return _0x50a57f;};import{Plugin as _0x21ff44,icons as _0x4ed89e}from'ckeditor5/src/core.js';import{ListView as _0x18a031,ListItemView as _0x189067,ButtonView as _0x120c71,createDropdown as _0xbc4ba8}from'ckeditor5/src/ui.js';import _0x4a334c from'../../revisiontracker.js';import _0x164887 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0xb7768b}from'../../utils/common-translations.js';export default class u extends _0x21ff44{static get['pluginName'](){return'RevisionHistoryUI';}static get[_0x50a5('0x18')](){return[_0x4a334c];}[_0x50a5('0x16')](){const _0x3370a4=this[_0x50a5('0xe')],_0x2b446e=_0x3370a4[_0x50a5('0x5')]['get'](_0x50a5('0x10'));_0x3370a4['ui'][_0x50a5('0x13')][_0x50a5('0x11')](_0x50a5('0x20'),_0x24e1e0=>{const _0x144220=_0xbc4ba8(_0x24e1e0),_0x1d5a80=_0x144220[_0x50a5('0x17')][_0x50a5('0x0')],_0x42a1cf=new _0x18a031(_0x24e1e0),_0x51b98d=new _0x189067(_0x24e1e0),_0xc2c39b=new _0x120c71(_0x24e1e0),_0x592df9=new _0x189067(_0x24e1e0),_0x1bc24e=new _0x120c71(_0x24e1e0),_0x5cc07f=new _0x164887(_0x24e1e0);function _0x5f196b(){_0x1d5a80[_0x50a5('0x7')]&&_0x1d5a80[_0x50a5('0x1')](0x0),_0x1d5a80[_0x50a5('0x11')](_0x42a1cf);}function _0x3a4895(){_0x144220[_0x50a5('0x19')]=!0x1,_0x3370a4[_0x50a5('0x1c')][_0x50a5('0x8')][_0x50a5('0x15')]();}return _0x144220['bind'](_0x50a5('0x22'))['to'](_0x2b446e,_0x50a5('0xf'),_0x2b446e,_0x50a5('0x22'),_0x3370a4,'isReadOnly',(_0x25acb9,_0x2c698a,_0x11b8f7)=>_0x25acb9&&_0x2c698a&&!_0x11b8f7),_0x144220[_0x50a5('0xd')][_0x50a5('0x9')]({'icon':_0x4ed89e[_0x50a5('0x2')],'label':_0xb7768b(_0x24e1e0,_0x50a5('0x1b')),'tooltip':!0x0}),_0xc2c39b[_0x50a5('0x9')]({'label':_0xb7768b(_0x24e1e0,_0x50a5('0x14')),'withText':!0x0}),_0xc2c39b[_0x50a5('0xc')](_0x50a5('0x22'))['to'](_0x2b446e,_0x50a5('0xf'),_0x2b446e,_0x50a5('0x22'),_0x3370a4,_0x50a5('0x1d'),(_0xd250fd,_0x11d877,_0x394e58)=>_0xd250fd&&_0x11d877&&!_0x394e58),_0xc2c39b['on'](_0x50a5('0x3'),()=>function(){_0x1d5a80['length']&&_0x1d5a80[_0x50a5('0x1')](0x0),(_0x5cc07f['reset'](),_0x1d5a80[_0x50a5('0x11')](_0x5cc07f),_0x5cc07f['focus']());}()),_0x1bc24e['set']({'label':_0xb7768b(_0x24e1e0,_0x50a5('0xa')),'withText':!0x0}),_0x1bc24e['bind'](_0x50a5('0x22'))['to'](_0x2b446e,_0x50a5('0xf'),_0x3370a4,_0x50a5('0x1d'),(_0x192d52,_0x177b24)=>_0x192d52&&!_0x177b24),_0x1bc24e['on'](_0x50a5('0x3'),()=>{_0x3370a4[_0x50a5('0x1e')][_0x50a5('0x1f')](_0x50a5('0x20'))[_0x50a5('0x21')](),_0x3a4895();}),_0x51b98d[_0x50a5('0x0')][_0x50a5('0x11')](_0xc2c39b),_0x592df9[_0x50a5('0x0')][_0x50a5('0x11')](_0x1bc24e),_0x42a1cf['items'][_0x50a5('0xb')]([_0x51b98d,_0x592df9]),_0x144220['on'](_0x50a5('0x4'),()=>_0x5f196b()),_0x5cc07f['saveButtonView'][_0x50a5('0xc')](_0x50a5('0x22'))['to'](_0x2b446e,'isReady',_0x2b446e,_0x50a5('0x22'),_0x3370a4,_0x50a5('0x1d'),(_0x130c9a,_0x259f4d,_0x330421)=>_0x130c9a&&_0x259f4d&&!_0x330421),_0x5cc07f['on'](_0x50a5('0x1a'),()=>(_0x3370a4['plugins'][_0x50a5('0x1f')](_0x4a334c)[_0x50a5('0x6')]({'name':_0x5cc07f['revisionName']}),void _0x3a4895())),_0x5cc07f['on']('cancel',()=>_0x5f196b()),_0x5cc07f[_0x50a5('0x12')](),_0x5f196b(),_0x144220;});}}
23
+ const _0x52ae=['Revision\x20history','remove','view','revisionHistory','isEnabled','add','history','init','saveRevision','requires','isOpen','addMany','bind','set','render','editor','buttonView','isReady','change:isOpen','execute','children','revisionName','config','cancel','get','pluginName','length','editing','RevisionHistoryUI','focus','plugins','componentFactory','items','isReadOnly','submit'];(function(_0x17ddda,_0x52aeb3){const _0x23073a=function(_0x46c5b1){while(--_0x46c5b1){_0x17ddda['push'](_0x17ddda['shift']());}};_0x23073a(++_0x52aeb3);}(_0x52ae,0xc8));const _0x2307=function(_0x17ddda,_0x52aeb3){_0x17ddda=_0x17ddda-0x0;let _0x23073a=_0x52ae[_0x17ddda];return _0x23073a;};import{Plugin as _0x202a63,icons as _0x375042}from'ckeditor5/src/core.js';import{ListView as _0x505960,ListItemView as _0x59c552,ButtonView as _0x1beb4f,createDropdown as _0x2b6e30}from'ckeditor5/src/ui.js';import _0x3d9e2d from'../../revisiontracker.js';import _0x2d92da from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x3932f0}from'../../utils/common-translations.js';export default class u extends _0x202a63{static get[_0x2307('0x0')](){return _0x2307('0x3');}static get[_0x2307('0x13')](){return[_0x3d9e2d];}[_0x2307('0x11')](){const _0x1174da=this[_0x2307('0x19')],_0x1490b5=_0x1174da['plugins']['get']('RevisionTracker');_0x1174da['ui'][_0x2307('0x6')][_0x2307('0xf')](_0x2307('0xd'),_0x4bf07c=>{const _0x14c8ee=_0x2b6e30(_0x4bf07c),_0x52e860=_0x14c8ee['panelView'][_0x2307('0x1e')],_0x480576=new _0x505960(_0x4bf07c),_0x232d45=new _0x59c552(_0x4bf07c),_0x3103c1=new _0x1beb4f(_0x4bf07c),_0x2c313e=new _0x59c552(_0x4bf07c),_0x5aa01e=new _0x1beb4f(_0x4bf07c),_0x4a9053=new _0x2d92da(_0x4bf07c);function _0x217f7f(){_0x52e860[_0x2307('0x1')]&&_0x52e860[_0x2307('0xb')](0x0),_0x52e860[_0x2307('0xf')](_0x480576);}function _0x8cfbf7(){_0x14c8ee[_0x2307('0x14')]=!0x1,_0x1174da[_0x2307('0x2')][_0x2307('0xc')][_0x2307('0x4')]();}return _0x14c8ee[_0x2307('0x16')](_0x2307('0xe'))['to'](_0x1490b5,'isReady',_0x1490b5,_0x2307('0xe'),_0x1174da,'isReadOnly',(_0x150393,_0xfa0367,_0x1711da)=>_0x150393&&_0xfa0367&&!_0x1711da),_0x14c8ee[_0x2307('0x1a')][_0x2307('0x17')]({'icon':_0x375042[_0x2307('0x10')],'label':_0x3932f0(_0x4bf07c,_0x2307('0xa')),'tooltip':!0x0}),_0x3103c1[_0x2307('0x17')]({'label':_0x3932f0(_0x4bf07c,'Save\x20current\x20revision'),'withText':!0x0}),_0x3103c1[_0x2307('0x16')](_0x2307('0xe'))['to'](_0x1490b5,'isReady',_0x1490b5,_0x2307('0xe'),_0x1174da,_0x2307('0x8'),(_0x1aa852,_0x49e050,_0x3cad9c)=>_0x1aa852&&_0x49e050&&!_0x3cad9c),_0x3103c1['on'](_0x2307('0x1d'),()=>function(){_0x52e860[_0x2307('0x1')]&&_0x52e860['remove'](0x0),(_0x4a9053['reset'](),_0x52e860[_0x2307('0xf')](_0x4a9053),_0x4a9053[_0x2307('0x4')]());}()),_0x5aa01e['set']({'label':_0x3932f0(_0x4bf07c,'Open\x20revision\x20history'),'withText':!0x0}),_0x5aa01e[_0x2307('0x16')]('isEnabled')['to'](_0x1490b5,'isReady',_0x1174da,_0x2307('0x8'),(_0x4f5e55,_0x583de1)=>_0x4f5e55&&!_0x583de1),_0x5aa01e['on'](_0x2307('0x1d'),()=>{_0x1174da[_0x2307('0x20')]['get'](_0x2307('0xd'))['showRevisionViewerCallback'](),_0x8cfbf7();}),_0x232d45['children'][_0x2307('0xf')](_0x3103c1),_0x2c313e['children'][_0x2307('0xf')](_0x5aa01e),_0x480576[_0x2307('0x7')][_0x2307('0x15')]([_0x232d45,_0x2c313e]),_0x14c8ee['on'](_0x2307('0x1c'),()=>_0x217f7f()),_0x4a9053['saveButtonView'][_0x2307('0x16')](_0x2307('0xe'))['to'](_0x1490b5,_0x2307('0x1b'),_0x1490b5,'isEnabled',_0x1174da,'isReadOnly',(_0x3c2056,_0x31f889,_0x26a257)=>_0x3c2056&&_0x31f889&&!_0x26a257),_0x4a9053['on'](_0x2307('0x9'),()=>(_0x1174da[_0x2307('0x5')][_0x2307('0x22')](_0x3d9e2d)[_0x2307('0x12')]({'name':_0x4a9053[_0x2307('0x1f')]}),void _0x8cfbf7())),_0x4a9053['on'](_0x2307('0x21'),()=>_0x217f7f()),_0x4a9053[_0x2307('0x18')](),_0x217f7f(),_0x14c8ee;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b23=['action','destroy','pluginName','requires','restoreRevisionCallback','_handleRevisionSetName','editor','map','revisionViews','remove','selectRevision','config','_sidebarView','defaultRevisionActions','revisionHistory','focus','getRevision','_revisionViewer','length','compare','change:diff','data','restoreRevision','_revisionsRepository','element','isReady','isVisible','assign','repository','highlightRevisions','getLaterVisibleRevision','availableRevisionActions','fieldView','_createRevisionActions','get','appendChild','timePeriodViews','listenTo','getRevisionsInDiff','getIndex','getEarlierVisibleRevision','revisionHistory.revisionActions','revisionSelected','revisionSetName','compareAgainstSelected','bind','name','_handleDiffChange','isEnabled','_handleEditorDataReady','newRevisionId','ready','add','diff','plugins','revisionHistory.viewerSidebarContainer'];(function(_0x36625a,_0x4b23ad){const _0x471e4d=function(_0x431871){while(--_0x431871){_0x36625a['push'](_0x36625a['shift']());}};_0x471e4d(++_0x4b23ad);}(_0x4b23,0x72));const _0x471e=function(_0x36625a,_0x4b23ad){_0x36625a=_0x36625a-0x0;let _0x471e4d=_0x4b23[_0x36625a];return _0x471e4d;};import{Plugin as _0x371756}from'ckeditor5/src/core.js';import _0x585eee from'./revisionssidebarview.js';import _0x58c263 from'../../revisionviewer.js';export default class w extends _0x371756{static get[_0x471e('0x0')](){return'RevisionsSidebar';}static get[_0x471e('0x1')](){return[_0x58c263];}constructor(_0x156894){super(_0x156894),this[_0x471e('0xf')]=_0x156894[_0x471e('0x34')][_0x471e('0x20')](_0x58c263),this[_0x471e('0x15')]=this[_0x471e('0xf')][_0x471e('0x1a')],this[_0x471e('0xa')]=null;}['init'](){const _0x320a6d=this[_0x471e('0x15')]['_revisions'],_0x5ceec6=this['_createRevisionActions'](),_0xeca969=this['editor'][_0x471e('0x9')][_0x471e('0x20')](_0x471e('0x35'));this[_0x471e('0xa')]=new _0x585eee(this['editor']['locale'],_0x320a6d,_0x5ceec6),this[_0x471e('0xa')]['on'](_0x471e('0x28'),this['_handleRevisionSelected'][_0x471e('0x2b')](this)),this[_0x471e('0xa')]['on'](_0x471e('0x29'),this[_0x471e('0x3')][_0x471e('0x2b')](this)),this['_sidebarView'][_0x471e('0x2b')]('isEnabled')['to'](this[_0x471e('0xf')]),this[_0x471e('0xa')][_0x471e('0x22')]['on'](_0x471e('0x32'),(_0x3f9435,_0x5fa601)=>{_0x5fa601[_0x471e('0x6')]['on'](_0x471e('0x32'),(_0xc5b2f1,_0x3a59a6)=>{_0x3a59a6[_0x471e('0x2b')](_0x471e('0x2e'),_0x471e('0x17'))['to'](this['_revisionViewer']);});}),this[_0x471e('0xa')]['render'](),this[_0x471e('0x23')](this[_0x471e('0x4')][_0x471e('0x13')],_0x471e('0x31'),this[_0x471e('0x2f')][_0x471e('0x2b')](this)),this[_0x471e('0x23')](this[_0x471e('0xf')],_0x471e('0x12'),this[_0x471e('0x2d')]['bind'](this)),_0xeca969[_0x471e('0x21')](this[_0x471e('0xa')][_0x471e('0x16')]);}[_0x471e('0x37')](){this['_sidebarView'][_0x471e('0x16')][_0x471e('0x7')](),this[_0x471e('0xa')][_0x471e('0x37')]();}[_0x471e('0x2f')](){const _0x377d1b=this[_0x471e('0x15')][_0x471e('0xe')](0x0);if(_0x377d1b){const _0x5ff211=this[_0x471e('0x15')][_0x471e('0x26')](_0x377d1b['id']);this[_0x471e('0xf')][_0x471e('0x11')](_0x377d1b,_0x5ff211);}}['_handleRevisionSelected'](_0x3424c1,_0x3e970d){const _0x6dbbf3=this[_0x471e('0x15')][_0x471e('0xe')](_0x3e970d['id']),_0x19c14c=this['_revisionsRepository'][_0x471e('0x26')](_0x6dbbf3['id']);this['_revisionViewer'][_0x471e('0x11')](_0x6dbbf3,_0x19c14c);}['_handleRevisionSetName'](_0x239f54,_0x14f23e){this[_0x471e('0x15')][_0x471e('0xe')](_0x14f23e['id'])['setName'](_0x14f23e[_0x471e('0x2c')]);}[_0x471e('0x2d')](_0x47b6e1,_0x23ae90,_0x586d7c){const _0x41a90f=this[_0x471e('0x15')][_0x471e('0x24')](_0x586d7c);_0x41a90f[_0x471e('0x10')]>0x2?(this[_0x471e('0xa')][_0x471e('0x1b')](_0x41a90f),this[_0x471e('0xa')][_0x471e('0x8')](null)):(this[_0x471e('0xa')][_0x471e('0x1b')]([]),this[_0x471e('0xa')][_0x471e('0x8')](_0x41a90f[0x0]));}[_0x471e('0x1f')](){const _0x3b50ba=this[_0x471e('0x4')],_0x40d9a6=w[_0x471e('0x1d')],_0x393fb4=_0x3b50ba['config']['get'](_0x471e('0x27'))||w[_0x471e('0xb')];if(_0x393fb4[_0x471e('0x10')])return _0x393fb4[_0x471e('0x5')](_0x16d5a7=>{const _0x58c8b2='string'==typeof _0x16d5a7?Object[_0x471e('0x19')]({},_0x40d9a6[_0x16d5a7]):_0x16d5a7;return _0x58c8b2['action']=_0x58c8b2[_0x471e('0x36')][_0x471e('0x2b')](this,_0x3b50ba),_0x58c8b2[_0x471e('0x18')]&&(_0x58c8b2[_0x471e('0x18')]=_0x58c8b2['isVisible'][_0x471e('0x2b')](this,_0x3b50ba)),_0x58c8b2;});}}w[_0x471e('0x1d')]={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x511499},_0x2a473d)=>{const _0x24fa13=_0x511499[_0x471e('0x20')](_0x58c263),_0x696415=_0x24fa13[_0x471e('0x1a')];let _0x4624be=_0x24fa13[_0x471e('0x33')][_0x471e('0x30')],_0x35f439=_0x2a473d['id'];_0x696415['getIndex'](_0x4624be)>_0x696415[_0x471e('0x25')](_0x35f439)&&([_0x4624be,_0x35f439]=[_0x35f439,_0x4624be]),_0x24fa13[_0x471e('0x11')](_0x4624be,_0x35f439);},'isVisible':({plugins:_0x41a3bf},_0x460eab)=>{const _0x1e448e=_0x41a3bf[_0x471e('0x20')](_0x58c263);return!(_0x1e448e['repository'][_0x471e('0x24')](_0x1e448e[_0x471e('0x33')])[_0x471e('0x10')]>0x2)&&!_0x460eab['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x269a6c,{id:_0x10a388})=>{_0x269a6c['config'][_0x471e('0x20')](_0x471e('0xc'))[_0x471e('0x2')](_0x10a388);},'isVisible':({plugins:_0x20d434},_0x32e3cb)=>!!_0x20d434[_0x471e('0x20')](_0x58c263)[_0x471e('0x1a')][_0x471e('0x1c')](_0x32e3cb['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3f2e8b},{id:_0x27c1a2,revisionNameView:_0x265b5b})=>{const _0x16f0b3=_0x3f2e8b[_0x471e('0x20')](_0x58c263),_0x2e9c70=_0x16f0b3['repository'][_0x471e('0x26')](_0x27c1a2);_0x16f0b3[_0x471e('0x11')](_0x27c1a2,_0x2e9c70),_0x265b5b[_0x471e('0xd')](),_0x265b5b[_0x471e('0x1e')]['select']();}}},w[_0x471e('0xb')]=[_0x471e('0x2a'),_0x471e('0x14'),'nameRevision'];
23
+ const _0x3ed1=['compare','ready','revisionHistory.viewerSidebarContainer','nameRevision','config','Restore\x20this\x20revision','fieldView','selectRevision','_revisionsRepository','isSelected','assign','compareAgainstSelected','isVisible','_handleRevisionSetName','_revisions','element','_createRevisionActions','restoreRevision','map','revisionHistory.revisionActions','add','pluginName','Compare\x20against\x20selected','bind','timePeriodViews','select','getLaterVisibleRevision','revisionViews','diff','getRevision','_revisionViewer','repository','locale','getRevisionsInDiff','Name\x20this\x20revision','remove','_handleRevisionSelected','plugins','restoreRevisionCallback','getIndex','appendChild','isEnabled','_handleEditorDataReady','requires','newRevisionId','editor','action','RevisionsSidebar','focus','name','data','availableRevisionActions','get','change:diff','setName','highlightRevisions','_handleDiffChange','defaultRevisionActions','getEarlierVisibleRevision','length','_sidebarView','isReady','destroy','revisionHistory','listenTo'];(function(_0x1b65c3,_0x3ed1cf){const _0x33c77d=function(_0xc49946){while(--_0xc49946){_0x1b65c3['push'](_0x1b65c3['shift']());}};_0x33c77d(++_0x3ed1cf);}(_0x3ed1,0xd7));const _0x33c7=function(_0x1b65c3,_0x3ed1cf){_0x1b65c3=_0x1b65c3-0x0;let _0x33c77d=_0x3ed1[_0x1b65c3];return _0x33c77d;};import{Plugin as _0x7c3e72}from'ckeditor5/src/core.js';import _0x3189f0 from'./revisionssidebarview.js';import _0x3daa94 from'../../revisionviewer.js';export default class w extends _0x7c3e72{static get[_0x33c7('0x1')](){return _0x33c7('0x1b');}static get[_0x33c7('0x17')](){return[_0x3daa94];}constructor(_0x378fa2){super(_0x378fa2),this['_revisionViewer']=_0x378fa2[_0x33c7('0x11')][_0x33c7('0x20')](_0x3daa94),this[_0x33c7('0x35')]=this['_revisionViewer'][_0x33c7('0xb')],this[_0x33c7('0x28')]=null;}['init'](){const _0xcd7977=this[_0x33c7('0x35')][_0x33c7('0x3b')],_0xa54f71=this[_0x33c7('0x3d')](),_0x4289f7=this[_0x33c7('0x19')][_0x33c7('0x31')][_0x33c7('0x20')](_0x33c7('0x2f'));this[_0x33c7('0x28')]=new _0x3189f0(this['editor'][_0x33c7('0xc')],_0xcd7977,_0xa54f71),this[_0x33c7('0x28')]['on']('revisionSelected',this[_0x33c7('0x10')][_0x33c7('0x3')](this)),this['_sidebarView']['on']('revisionSetName',this[_0x33c7('0x3a')][_0x33c7('0x3')](this)),this[_0x33c7('0x28')][_0x33c7('0x3')](_0x33c7('0x15'))['to'](this[_0x33c7('0xa')]),this[_0x33c7('0x28')][_0x33c7('0x4')]['on'](_0x33c7('0x0'),(_0x2094ad,_0x136571)=>{_0x136571[_0x33c7('0x7')]['on']('add',(_0x449698,_0x3b574f)=>{_0x3b574f[_0x33c7('0x3')](_0x33c7('0x15'),_0x33c7('0x29'))['to'](this[_0x33c7('0xa')]);});}),this[_0x33c7('0x28')]['render'](),this['listenTo'](this[_0x33c7('0x19')][_0x33c7('0x1e')],_0x33c7('0x2e'),this[_0x33c7('0x16')][_0x33c7('0x3')](this)),this[_0x33c7('0x2c')](this[_0x33c7('0xa')],_0x33c7('0x21'),this[_0x33c7('0x24')][_0x33c7('0x3')](this)),_0x4289f7[_0x33c7('0x14')](this['_sidebarView'][_0x33c7('0x3c')]);}['destroy'](){this[_0x33c7('0x28')][_0x33c7('0x3c')][_0x33c7('0xf')](),this['_sidebarView'][_0x33c7('0x2a')]();}[_0x33c7('0x16')](){const _0x4dc425=this[_0x33c7('0x35')][_0x33c7('0x9')](0x0);if(_0x4dc425){const _0x113d3=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4dc425['id']);this['_revisionViewer'][_0x33c7('0x2d')](_0x4dc425,_0x113d3);}}['_handleRevisionSelected'](_0x583e6d,_0x5d86a5){const _0x7f824e=this['_revisionsRepository'][_0x33c7('0x9')](_0x5d86a5['id']),_0x9cea27=this[_0x33c7('0x35')]['getEarlierVisibleRevision'](_0x7f824e['id']);this[_0x33c7('0xa')][_0x33c7('0x2d')](_0x7f824e,_0x9cea27);}[_0x33c7('0x3a')](_0x43b722,_0x1c5392){this[_0x33c7('0x35')][_0x33c7('0x9')](_0x1c5392['id'])[_0x33c7('0x22')](_0x1c5392[_0x33c7('0x1d')]);}[_0x33c7('0x24')](_0x501871,_0x4ad8b0,_0x4d850f){const _0x441a54=this[_0x33c7('0x35')][_0x33c7('0xd')](_0x4d850f);_0x441a54['length']>0x2?(this[_0x33c7('0x28')][_0x33c7('0x23')](_0x441a54),this[_0x33c7('0x28')][_0x33c7('0x34')](null)):(this[_0x33c7('0x28')]['highlightRevisions']([]),this[_0x33c7('0x28')][_0x33c7('0x34')](_0x441a54[0x0]));}['_createRevisionActions'](){const _0xbf0577=this[_0x33c7('0x19')],_0x25a430=w['availableRevisionActions'],_0x115dce=_0xbf0577[_0x33c7('0x31')][_0x33c7('0x20')](_0x33c7('0x40'))||w[_0x33c7('0x25')];if(_0x115dce[_0x33c7('0x27')])return _0x115dce[_0x33c7('0x3f')](_0x550bdf=>{const _0x481a22='string'==typeof _0x550bdf?Object[_0x33c7('0x37')]({},_0x25a430[_0x550bdf]):_0x550bdf;return _0x481a22[_0x33c7('0x1a')]=_0x481a22[_0x33c7('0x1a')][_0x33c7('0x3')](this,_0xbf0577),_0x481a22[_0x33c7('0x39')]&&(_0x481a22[_0x33c7('0x39')]=_0x481a22[_0x33c7('0x39')]['bind'](this,_0xbf0577)),_0x481a22;});}}w[_0x33c7('0x1f')]={'compareAgainstSelected':{'name':_0x33c7('0x2'),'action':({plugins:_0x339892},_0x46d815)=>{const _0x1438bd=_0x339892[_0x33c7('0x20')](_0x3daa94),_0x21b7ce=_0x1438bd[_0x33c7('0xb')];let _0x1052aa=_0x1438bd[_0x33c7('0x8')][_0x33c7('0x18')],_0x1fa7e4=_0x46d815['id'];_0x21b7ce[_0x33c7('0x13')](_0x1052aa)>_0x21b7ce['getIndex'](_0x1fa7e4)&&([_0x1052aa,_0x1fa7e4]=[_0x1fa7e4,_0x1052aa]),_0x1438bd[_0x33c7('0x2d')](_0x1052aa,_0x1fa7e4);},'isVisible':({plugins:_0x10f2fa},_0x52d48c)=>{const _0xe3b51a=_0x10f2fa['get'](_0x3daa94);return!(_0xe3b51a[_0x33c7('0xb')][_0x33c7('0xd')](_0xe3b51a[_0x33c7('0x8')])[_0x33c7('0x27')]>0x2)&&!_0x52d48c[_0x33c7('0x36')];}},'restoreRevision':{'name':_0x33c7('0x32'),'action':(_0x59e8bf,{id:_0x422a80})=>{_0x59e8bf['config'][_0x33c7('0x20')](_0x33c7('0x2b'))[_0x33c7('0x12')](_0x422a80);},'isVisible':({plugins:_0x139a6b},_0x201f10)=>!!_0x139a6b[_0x33c7('0x20')](_0x3daa94)['repository'][_0x33c7('0x6')](_0x201f10['id'])},'nameRevision':{'name':_0x33c7('0xe'),'action':({plugins:_0x445c97},{id:_0xd1f947,revisionNameView:_0x1da41f})=>{const _0x76d964=_0x445c97[_0x33c7('0x20')](_0x3daa94),_0x2e37ea=_0x76d964[_0x33c7('0xb')][_0x33c7('0x26')](_0xd1f947);_0x76d964[_0x33c7('0x2d')](_0xd1f947,_0x2e37ea),_0x1da41f[_0x33c7('0x1c')](),_0x1da41f[_0x33c7('0x33')][_0x33c7('0x5')]();}}},w[_0x33c7('0x25')]=[_0x33c7('0x38'),_0x33c7('0x3e'),_0x33c7('0x30')];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1850=['div','span','ck-revision-history-sidebar__header__label','ck-revision-history-sidebar__header','history','setTemplate','content','Revision\x20history'];(function(_0x59ba0d,_0x18500d){const _0x1f5ef1=function(_0x2d33d7){while(--_0x2d33d7){_0x59ba0d['push'](_0x59ba0d['shift']());}};_0x1f5ef1(++_0x18500d);}(_0x1850,0x1dd));const _0x1f5e=function(_0x59ba0d,_0x18500d){_0x59ba0d=_0x59ba0d-0x0;let _0x1f5ef1=_0x1850[_0x59ba0d];return _0x1f5ef1;};import{View as _0x5b2552,IconView as _0x445ab5}from'ckeditor5/src/ui.js';import{getTranslation as _0xed1970}from'../../utils/common-translations.js';import{icons as _0x2bf97c}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rs extends _0x5b2552{constructor(_0x4993ba){super(_0x4993ba);const _0x3cac87=new _0x445ab5();_0x3cac87[_0x1f5e('0x1')]=_0x2bf97c[_0x1f5e('0x7')],this[_0x1f5e('0x0')]({'tag':_0x1f5e('0x3'),'attributes':{'class':['ck','ck-reset_all',_0x1f5e('0x6')]},'children':[_0x3cac87,{'tag':_0x1f5e('0x4'),'attributes':{'class':['ck',_0x1f5e('0x5')]},'children':[_0xed1970(_0x4993ba,_0x1f5e('0x2'))]}]});}}
23
+ const _0x3396=['content','history','div','span','ck-revision-history-sidebar__header__label','ck-revision-history-sidebar__header','Revision\x20history','setTemplate'];(function(_0x3ef640,_0x339621){const _0x23cf89=function(_0x53815f){while(--_0x53815f){_0x3ef640['push'](_0x3ef640['shift']());}};_0x23cf89(++_0x339621);}(_0x3396,0x74));const _0x23cf=function(_0x3ef640,_0x339621){_0x3ef640=_0x3ef640-0x0;let _0x23cf89=_0x3396[_0x3ef640];return _0x23cf89;};import{View as _0x17233a,IconView as _0x314170}from'ckeditor5/src/ui.js';import{getTranslation as _0x49a671}from'../../utils/common-translations.js';import{icons as _0x52b104}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rs extends _0x17233a{constructor(_0x7e402){super(_0x7e402);const _0x5b4ba6=new _0x314170();_0x5b4ba6[_0x23cf('0x4')]=_0x52b104[_0x23cf('0x5')],this[_0x23cf('0x3')]({'tag':_0x23cf('0x6'),'attributes':{'class':['ck','ck-reset_all',_0x23cf('0x1')]},'children':[_0x5b4ba6,{'tag':_0x23cf('0x7'),'attributes':{'class':['ck',_0x23cf('0x0')]},'children':[_0x49a671(_0x7e402,_0x23cf('0x2'))]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c7b=['setName','delegate','localizedPeriodName','_revisionActions','find','div','setTemplate','removeRevision','startDate','ck-revision-history-sidebar__time-period__revisions','locale','revisionViews','add','createCollection','span','addRevision'];(function(_0x59efd9,_0x1c7bde){const _0x384dbe=function(_0x4488b0){while(--_0x4488b0){_0x59efd9['push'](_0x59efd9['shift']());}};_0x384dbe(++_0x1c7bde);}(_0x1c7b,0x1de));const _0x384d=function(_0x59efd9,_0x1c7bde){_0x59efd9=_0x59efd9-0x0;let _0x384dbe=_0x1c7b[_0x59efd9];return _0x384dbe;};import{View as _0x563399}from'ckeditor5/src/ui.js';import _0x1bd43c from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x17dc76}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class vi extends _0x563399{constructor(_0x243d66,_0x244c7e,_0x4b707e){super(_0x243d66);const _0x1a48ff=_0x17dc76(_0x244c7e,this[_0x384d('0xc')]['uiLanguage'])[_0x384d('0x4')];this[_0x384d('0xa')]=_0x244c7e,this[_0x384d('0xd')]=this[_0x384d('0xf')](),this[_0x384d('0x5')]=_0x4b707e,this[_0x384d('0xd')][_0x384d('0x3')]('select')['to'](this),this['revisionViews'][_0x384d('0x3')](_0x384d('0x2'))['to'](this),this[_0x384d('0x8')]({'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':_0x384d('0x0'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x1a48ff}]},{'tag':_0x384d('0x7'),'attributes':{'class':['ck',_0x384d('0xb')]},'children':this['revisionViews']}]});}[_0x384d('0x1')](_0x5d1a75){const _0x5b0c9e=new _0x1bd43c(this[_0x384d('0xc')],_0x5d1a75,this[_0x384d('0x5')]);this[_0x384d('0xd')][_0x384d('0xe')](_0x5b0c9e);}[_0x384d('0x9')](_0x42646){const _0xec8fbf=this[_0x384d('0xd')][_0x384d('0x6')](_0x2f681a=>_0x2f681a['id']===_0x42646['id']);this[_0x384d('0xd')]['remove'](_0xec8fbf);}}
23
+ const _0x5eb0=['add','ck-revision-history-sidebar__time-period__revisions','ck-revision-history-sidebar__time-period__label','uiLanguage','createCollection','setName','revisionViews','setTemplate','ck-revision-history-sidebar__time-period','startDate','_revisionActions','locale','select','delegate','find','div'];(function(_0x4553a7,_0x5eb012){const _0x1d4af8=function(_0x5fc068){while(--_0x5fc068){_0x4553a7['push'](_0x4553a7['shift']());}};_0x1d4af8(++_0x5eb012);}(_0x5eb0,0x187));const _0x1d4a=function(_0x4553a7,_0x5eb012){_0x4553a7=_0x4553a7-0x0;let _0x1d4af8=_0x5eb0[_0x4553a7];return _0x1d4af8;};import{View as _0x4015da}from'ckeditor5/src/ui.js';import _0x4309c2 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x15b9c5}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class vi extends _0x4015da{constructor(_0x582a2c,_0x29483a,_0x52f5c2){super(_0x582a2c);const _0x17a942=_0x15b9c5(_0x29483a,this[_0x1d4a('0x4')][_0x1d4a('0xc')])['localizedPeriodName'];this[_0x1d4a('0x2')]=_0x29483a,this[_0x1d4a('0xf')]=this[_0x1d4a('0xd')](),this[_0x1d4a('0x3')]=_0x52f5c2,this[_0x1d4a('0xf')][_0x1d4a('0x6')](_0x1d4a('0x5'))['to'](this),this[_0x1d4a('0xf')]['delegate'](_0x1d4a('0xe'))['to'](this),this[_0x1d4a('0x0')]({'tag':_0x1d4a('0x8'),'attributes':{'class':['ck',_0x1d4a('0x1')]},'children':[{'tag':'span','attributes':{'class':['ck',_0x1d4a('0xb')]},'children':[{'text':_0x17a942}]},{'tag':_0x1d4a('0x8'),'attributes':{'class':['ck',_0x1d4a('0xa')]},'children':this[_0x1d4a('0xf')]}]});}['addRevision'](_0x31278b){const _0x2794bc=new _0x4309c2(this[_0x1d4a('0x4')],_0x31278b,this[_0x1d4a('0x3')]);this[_0x1d4a('0xf')][_0x1d4a('0x9')](_0x2794bc);}['removeRevision'](_0x4728fa){const _0x36b9c3=this['revisionViews'][_0x1d4a('0x7')](_0x327dc0=>_0x327dc0['id']===_0x4728fa['id']);this[_0x1d4a('0xf')]['remove'](_0x36b9c3);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3396=['timePeriodViews','startDate','revisionSelected','highlightRevisions','isEnabled','removeRevision','select','createCollection','setName','add','render','revisionViews','div','_revisions','unhighlight','locale','_revisionActions','_getTimePeriodViewByStartDate','revisionSetName','setTemplate','getTime','highlight','createdAt','ck-rounded-corners','bindTemplate','remove','uiLanguage','fire','selectRevision','addRevision','delegate','map','ck-reset','ck-revision-history-sidebar__timeline','flat','_addRevision','find','ck-disabled'];(function(_0x55736b,_0x3396ec){const _0x5f0f31=function(_0x2d7b42){while(--_0x2d7b42){_0x55736b['push'](_0x55736b['shift']());}};_0x5f0f31(++_0x3396ec);}(_0x3396,0x1cb));const _0x5f0f=function(_0x55736b,_0x3396ec){_0x55736b=_0x55736b-0x0;let _0x5f0f31=_0x3396[_0x55736b];return _0x5f0f31;};import{View as _0x5ddecb}from'ckeditor5/src/ui.js';import _0x50ec6a from'./revisionssidebartimeperiodview.js';import _0x112920 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x30ebc3}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class di extends _0x5ddecb{constructor(_0x598c3e,_0x59f35e,_0x4d56e0){super(_0x598c3e);const _0x52ca1b=this[_0x5f0f('0x15')];this['timePeriodViews']=this[_0x5f0f('0x4')](),this['timePeriodViews']['delegate'](_0x5f0f('0x3'))['to'](this),this['timePeriodViews'][_0x5f0f('0x1b')](_0x5f0f('0x5'))['to'](this),this[_0x5f0f('0xa')]=_0x59f35e,this[_0x5f0f('0xd')]=_0x4d56e0,this['on'](_0x5f0f('0x3'),(_0x5ddd3a,_0x28f43e)=>{this[_0x5f0f('0x18')](_0x5f0f('0x25'),_0x28f43e);}),this['on'](_0x5f0f('0x5'),(_0x27fb0c,_0x444a20)=>{this['fire'](_0x5f0f('0xf'),_0x444a20);}),this['set'](_0x5f0f('0x1'),!0x1),this[_0x5f0f('0x10')]({'tag':_0x5f0f('0x9'),'attributes':{'class':['ck',_0x5f0f('0x1d'),_0x5f0f('0x14'),'ck-revision-history-sidebar']},'children':[new _0x112920(_0x598c3e),{'tag':_0x5f0f('0x9'),'attributes':{'class':['ck',_0x5f0f('0x1e'),_0x52ca1b['if'](_0x5f0f('0x1'),_0x5f0f('0x22'),_0x2bdda8=>!_0x2bdda8)]},'children':this['timePeriodViews']}]});}[_0x5f0f('0x7')](){super['render']();for(const _0x113fc0 of this[_0x5f0f('0xa')])this[_0x5f0f('0x20')](_0x113fc0);this[_0x5f0f('0xa')]['on'](_0x5f0f('0x6'),(_0x1af4bf,_0x1a7e62)=>{this[_0x5f0f('0x20')](_0x1a7e62);}),this[_0x5f0f('0xa')]['on'](_0x5f0f('0x16'),(_0x3a7b7f,_0xc6ca85)=>{this['_removeRevision'](_0xc6ca85);});}get[_0x5f0f('0x8')](){return this['timePeriodViews'][_0x5f0f('0x1c')](_0x360ded=>_0x360ded[_0x5f0f('0x8')][_0x5f0f('0x1c')](_0x4d1c56=>_0x4d1c56))[_0x5f0f('0x1f')]();}[_0x5f0f('0x19')](_0x1cf01b){for(const _0x8bef37 of this[_0x5f0f('0x8')])_0x1cf01b&&_0x1cf01b['id']===_0x8bef37['id']?_0x8bef37[_0x5f0f('0x3')]():_0x8bef37['deselect']();}[_0x5f0f('0x0')](_0x452869){for(const _0x3e463d of this['revisionViews'])_0x452869['some'](({id:_0x12aace})=>_0x12aace===_0x3e463d['id'])?_0x3e463d[_0x5f0f('0x12')]():_0x3e463d[_0x5f0f('0xb')]();}[_0x5f0f('0x20')](_0x5ce105){const _0x8f55c5=_0x30ebc3(_0x5ce105[_0x5f0f('0x13')],this['locale']['uiLanguage'])[_0x5f0f('0x24')];let _0x151653=this['timePeriodViews']['get'](0x0);_0x151653&&_0x151653[_0x5f0f('0x24')][_0x5f0f('0x11')]()===_0x8f55c5[_0x5f0f('0x11')]()||(_0x151653=new _0x50ec6a(this[_0x5f0f('0xc')],_0x8f55c5,this['_revisionActions']),this[_0x5f0f('0x23')][_0x5f0f('0x6')](_0x151653)),_0x151653[_0x5f0f('0x1a')](_0x5ce105);}['_removeRevision'](_0x360335){const _0x3961ba=_0x30ebc3(_0x360335[_0x5f0f('0x13')],this['locale'][_0x5f0f('0x17')])[_0x5f0f('0x24')];this['_getTimePeriodViewByStartDate'](_0x3961ba)[_0x5f0f('0x2')](_0x360335);}[_0x5f0f('0xe')](_0x52c9ab){return this[_0x5f0f('0x23')][_0x5f0f('0x21')](_0x1e700e=>_0x1e700e[_0x5f0f('0x24')][_0x5f0f('0x11')]()===_0x52c9ab[_0x5f0f('0x11')]());}}
23
+ const _0x2078=['startDate','getTime','_revisions','revisionViews','revisionSelected','createCollection','_removeRevision','find','fire','_revisionActions','ck-reset','ck-disabled','map','_addRevision','bindTemplate','revisionSetName','div','flat','ck-rounded-corners','delegate','set','ck-revision-history-sidebar','locale','select','_getTimePeriodViewByStartDate','setName','render','isEnabled','removeRevision','timePeriodViews','addRevision','uiLanguage','remove','unhighlight','highlightRevisions','some','selectRevision','ck-revision-history-sidebar__timeline','add'];(function(_0x4227c1,_0x2078e9){const _0x2cbba6=function(_0x51f9cb){while(--_0x51f9cb){_0x4227c1['push'](_0x4227c1['shift']());}};_0x2cbba6(++_0x2078e9);}(_0x2078,0x17a));const _0x2cbb=function(_0x4227c1,_0x2078e9){_0x4227c1=_0x4227c1-0x0;let _0x2cbba6=_0x2078[_0x4227c1];return _0x2cbba6;};import{View as _0xfcf782}from'ckeditor5/src/ui.js';import _0x4c6f5f from'./revisionssidebartimeperiodview.js';import _0x40415d from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x2d7ce5}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class di extends _0xfcf782{constructor(_0x18aa18,_0x154b58,_0x74f70a){super(_0x18aa18);const _0x288333=this[_0x2cbb('0x1a')];this[_0x2cbb('0x2')]=this[_0x2cbb('0x11')](),this[_0x2cbb('0x2')][_0x2cbb('0x1f')](_0x2cbb('0x23'))['to'](this),this[_0x2cbb('0x2')]['delegate']('setName')['to'](this),this['_revisions']=_0x154b58,this[_0x2cbb('0x15')]=_0x74f70a,this['on']('select',(_0x18ff1a,_0x168d94)=>{this[_0x2cbb('0x14')](_0x2cbb('0x10'),_0x168d94);}),this['on'](_0x2cbb('0x25'),(_0x354c81,_0x23fef1)=>{this['fire'](_0x2cbb('0x1b'),_0x23fef1);}),this[_0x2cbb('0x20')](_0x2cbb('0x0'),!0x1),this['setTemplate']({'tag':_0x2cbb('0x1c'),'attributes':{'class':['ck',_0x2cbb('0x16'),_0x2cbb('0x1e'),_0x2cbb('0x21')]},'children':[new _0x40415d(_0x18aa18),{'tag':_0x2cbb('0x1c'),'attributes':{'class':['ck',_0x2cbb('0xa'),_0x288333['if']('isEnabled',_0x2cbb('0x17'),_0x3ffe91=>!_0x3ffe91)]},'children':this[_0x2cbb('0x2')]}]});}[_0x2cbb('0x26')](){super[_0x2cbb('0x26')]();for(const _0x174c8f of this[_0x2cbb('0xe')])this[_0x2cbb('0x19')](_0x174c8f);this[_0x2cbb('0xe')]['on']('add',(_0x3eb556,_0x25f9d0)=>{this['_addRevision'](_0x25f9d0);}),this['_revisions']['on'](_0x2cbb('0x5'),(_0x228d84,_0xa6b500)=>{this[_0x2cbb('0x12')](_0xa6b500);});}get['revisionViews'](){return this['timePeriodViews'][_0x2cbb('0x18')](_0x4d0cb2=>_0x4d0cb2[_0x2cbb('0xf')]['map'](_0x4b13ec=>_0x4b13ec))[_0x2cbb('0x1d')]();}[_0x2cbb('0x9')](_0x56a518){for(const _0x36aaa0 of this['revisionViews'])_0x56a518&&_0x56a518['id']===_0x36aaa0['id']?_0x36aaa0['select']():_0x36aaa0['deselect']();}[_0x2cbb('0x7')](_0x4885af){for(const _0x30adec of this['revisionViews'])_0x4885af[_0x2cbb('0x8')](({id:_0x3553fe})=>_0x3553fe===_0x30adec['id'])?_0x30adec['highlight']():_0x30adec[_0x2cbb('0x6')]();}['_addRevision'](_0x3955c5){const _0x13f8d6=_0x2d7ce5(_0x3955c5['createdAt'],this['locale']['uiLanguage'])[_0x2cbb('0xc')];let _0x102dc8=this[_0x2cbb('0x2')]['get'](0x0);_0x102dc8&&_0x102dc8[_0x2cbb('0xc')][_0x2cbb('0xd')]()===_0x13f8d6['getTime']()||(_0x102dc8=new _0x4c6f5f(this[_0x2cbb('0x22')],_0x13f8d6,this[_0x2cbb('0x15')]),this['timePeriodViews'][_0x2cbb('0xb')](_0x102dc8)),_0x102dc8[_0x2cbb('0x3')](_0x3955c5);}[_0x2cbb('0x12')](_0xac8542){const _0x2c3126=_0x2d7ce5(_0xac8542['createdAt'],this[_0x2cbb('0x22')][_0x2cbb('0x4')])[_0x2cbb('0xc')];this[_0x2cbb('0x24')](_0x2c3126)[_0x2cbb('0x1')](_0xac8542);}[_0x2cbb('0x24')](_0x1995a5){return this['timePeriodViews'][_0x2cbb('0x13')](_0x5722b0=>_0x5722b0['startDate'][_0x2cbb('0xd')]()===_0x1995a5[_0x2cbb('0xd')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4677=['minus','day','toJSDate','month','startOf','year','week','hasSame','setLocale','monthLong','fromJSDate','local','weekdayLong','toRelativeCalendar'];(function(_0x835f7b,_0x467756){const _0xbc23fb=function(_0x398d3d){while(--_0x398d3d){_0x835f7b['push'](_0x835f7b['shift']());}};_0xbc23fb(++_0x467756);}(_0x4677,0x86));const _0xbc23=function(_0x835f7b,_0x467756){_0x835f7b=_0x835f7b-0x0;let _0xbc23fb=_0x4677[_0x835f7b];return _0xbc23fb;};import{DateTime as _0x494c64}from'luxon';export function getDateTimePeriodInfo(_0x1548d0,_0x18bb5f){const _0x4f7f0b=_0x494c64[_0xbc23('0x2')](_0x1548d0)[_0xbc23('0x0')](_0x18bb5f),_0x1ce13d=_0x494c64[_0xbc23('0x3')](),_0x148213=_0x1ce13d[_0xbc23('0x6')]({'days':0x1})['startOf'](_0xbc23('0x7'));let _0xae9ef,_0x3a88a7;return _0x4f7f0b[_0xbc23('0xd')](_0x1ce13d,_0xbc23('0x7'))?(_0xae9ef=_0x4f7f0b[_0xbc23('0xa')](_0xbc23('0x7'))[_0xbc23('0x8')](),_0x3a88a7=_0x4f7f0b[_0xbc23('0x5')]()):_0x4f7f0b[_0xbc23('0xd')](_0x148213,'day')?(_0xae9ef=_0x148213[_0xbc23('0x8')](),_0x3a88a7=_0x4f7f0b[_0xbc23('0x5')]()):_0x4f7f0b['hasSame'](_0x1ce13d,_0xbc23('0xc'))?(_0xae9ef=_0x4f7f0b['startOf'](_0xbc23('0xc'))[_0xbc23('0x8')](),_0x3a88a7=_0x4f7f0b[_0xbc23('0x4')]||''):_0x4f7f0b[_0xbc23('0xd')](_0x1ce13d,_0xbc23('0xb'))?(_0xae9ef=_0x4f7f0b[_0xbc23('0xa')](_0xbc23('0x9'))[_0xbc23('0x8')](),_0x3a88a7=_0x4f7f0b[_0xbc23('0x1')]||''):(_0xae9ef=_0x4f7f0b[_0xbc23('0xa')](_0xbc23('0xb'))['toJSDate'](),_0x3a88a7=String(_0x4f7f0b[_0xbc23('0xb')])),{'startDate':_0xae9ef,'localizedPeriodName':_0x3a88a7};}
23
+ const _0x1e37=['monthLong','weekdayLong','startOf','month','fromJSDate','toRelativeCalendar','toJSDate','week','day','setLocale','minus','year','hasSame'];(function(_0x26d1e1,_0x1e37a8){const _0x5cb5e3=function(_0x4719d8){while(--_0x4719d8){_0x26d1e1['push'](_0x26d1e1['shift']());}};_0x5cb5e3(++_0x1e37a8);}(_0x1e37,0x107));const _0x5cb5=function(_0x26d1e1,_0x1e37a8){_0x26d1e1=_0x26d1e1-0x0;let _0x5cb5e3=_0x1e37[_0x26d1e1];return _0x5cb5e3;};import{DateTime as _0x2f90a1}from'luxon';export function getDateTimePeriodInfo(_0x50ef3e,_0x1b6d08){const _0x278e5c=_0x2f90a1[_0x5cb5('0x1')](_0x50ef3e)[_0x5cb5('0x6')](_0x1b6d08),_0x5beede=_0x2f90a1['local'](),_0x4049ba=_0x5beede[_0x5cb5('0x7')]({'days':0x1})[_0x5cb5('0xc')]('day');let _0x147ef9,_0xcc4a12;return _0x278e5c[_0x5cb5('0x9')](_0x5beede,_0x5cb5('0x5'))?(_0x147ef9=_0x278e5c[_0x5cb5('0xc')](_0x5cb5('0x5'))[_0x5cb5('0x3')](),_0xcc4a12=_0x278e5c[_0x5cb5('0x2')]()):_0x278e5c[_0x5cb5('0x9')](_0x4049ba,_0x5cb5('0x5'))?(_0x147ef9=_0x4049ba[_0x5cb5('0x3')](),_0xcc4a12=_0x278e5c['toRelativeCalendar']()):_0x278e5c['hasSame'](_0x5beede,'week')?(_0x147ef9=_0x278e5c['startOf'](_0x5cb5('0x4'))[_0x5cb5('0x3')](),_0xcc4a12=_0x278e5c[_0x5cb5('0xb')]||''):_0x278e5c[_0x5cb5('0x9')](_0x5beede,_0x5cb5('0x8'))?(_0x147ef9=_0x278e5c[_0x5cb5('0xc')](_0x5cb5('0x0'))['toJSDate'](),_0xcc4a12=_0x278e5c[_0x5cb5('0xa')]||''):(_0x147ef9=_0x278e5c['startOf'](_0x5cb5('0x8'))[_0x5cb5('0x3')](),_0xcc4a12=String(_0x278e5c[_0x5cb5('0x8')])),{'startDate':_0x147ef9,'localizedPeriodName':_0xcc4a12};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x261e=['_model','ck-annotation','ck-revision-change__','Added\x20by','type','div','span','data','Suggested\x20by','setTemplate','focus','name','set','ck-revision-change','add','ck-revision-change__label'];(function(_0x367b96,_0x261eef){const _0x5d17f4=function(_0x3be519){while(--_0x3be519){_0x367b96['push'](_0x367b96['shift']());}};_0x5d17f4(++_0x261eef);}(_0x261e,0x149));const _0x5d17=function(_0x367b96,_0x261eef){_0x367b96=_0x367b96-0x0;let _0x5d17f4=_0x261e[_0x367b96];return _0x5d17f4;};import{View as _0x5ce624}from'ckeditor5/src/ui.js';import{getTranslation as _0x2f6e9e}from'../../utils/common-translations.js';export default class Z extends _0x5ce624{constructor(_0x428315,_0x37360e){super(_0x428315),this[_0x5d17('0x7')]=_0x37360e,this['changeId']=_0x37360e['id'];const _0x46c3ff=this['bindTemplate'],_0x17d83e=_0x2f6e9e(_0x428315,_0x37360e[_0x5d17('0xe')]['isSuggestion']?_0x5d17('0xf'):_0x5d17('0x5')==_0x37360e[_0x5d17('0xb')]?_0x5d17('0xa'):'Removed\x20by');this[_0x5d17('0x3')](_0x5d17('0xb'),_0x37360e[_0x5d17('0xb')]),this[_0x5d17('0x0')]({'tag':_0x5d17('0xc'),'attributes':{'class':[_0x5d17('0x8'),_0x5d17('0x4'),_0x46c3ff['to'](_0x5d17('0xb'),_0x31aec1=>_0x5d17('0x9')+_0x31aec1)],'tabindex':-0x1},'children':[{'tag':_0x5d17('0xd'),'children':[{'tag':_0x5d17('0xd'),'attributes':{'class':[_0x5d17('0x6')]},'children':[{'text':_0x17d83e}]},{'text':'\x20'+_0x37360e['author'][_0x5d17('0x2')]}]}]});}[_0x5d17('0x1')](){this['element'][_0x5d17('0x1')]();}}
23
+ const _0xec1d=['div','isSuggestion','ck-revision-change__','set','element','author','span','_model','ck-annotation','type','Removed\x20by','Added\x20by','Suggested\x20by','setTemplate','focus','add','ck-revision-change','bindTemplate'];(function(_0x105c9e,_0xec1d5d){const _0x2ae1ad=function(_0x5859c9){while(--_0x5859c9){_0x105c9e['push'](_0x105c9e['shift']());}};_0x2ae1ad(++_0xec1d5d);}(_0xec1d,0xa8));const _0x2ae1=function(_0x105c9e,_0xec1d5d){_0x105c9e=_0x105c9e-0x0;let _0x2ae1ad=_0xec1d[_0x105c9e];return _0x2ae1ad;};import{View as _0x3463dc}from'ckeditor5/src/ui.js';import{getTranslation as _0xf30e12}from'../../utils/common-translations.js';export default class Z extends _0x3463dc{constructor(_0x345c7b,_0x2dbc18){super(_0x345c7b),this[_0x2ae1('0x1')]=_0x2dbc18,this['changeId']=_0x2dbc18['id'];const _0x24fc0c=this[_0x2ae1('0xb')],_0x50f38c=_0xf30e12(_0x345c7b,_0x2dbc18['data'][_0x2ae1('0xd')]?_0x2ae1('0x6'):_0x2ae1('0x9')==_0x2dbc18[_0x2ae1('0x3')]?_0x2ae1('0x5'):_0x2ae1('0x4'));this[_0x2ae1('0xf')](_0x2ae1('0x3'),_0x2dbc18[_0x2ae1('0x3')]),this[_0x2ae1('0x7')]({'tag':_0x2ae1('0xc'),'attributes':{'class':[_0x2ae1('0x2'),_0x2ae1('0xa'),_0x24fc0c['to'](_0x2ae1('0x3'),_0x390a62=>_0x2ae1('0xe')+_0x390a62)],'tabindex':-0x1},'children':[{'tag':_0x2ae1('0x0'),'children':[{'tag':_0x2ae1('0x0'),'attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x50f38c}]},{'text':'\x20'+_0x2dbc18[_0x2ae1('0x11')]['name']}]}]});}['focus'](){this[_0x2ae1('0x10')][_0x2ae1('0x8')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x336d=['EDIT_X_OF_Y_REVISIONS','isForwardNavigationEnabled','set','forward','_isStatusLabelVisible','No\x20changes','fire','isEnabled','isNavigationMode','ck-revision-history-ui__changes-navigation__wrapper','span','ck-revision-history-ui__changes-navigation__label','Loading...','execute','ck-revision-history-ui','Total','numberOfChanges','currentChangeNumber','isBackwardNavigationEnabled','Show\x20previous\x20change','NUMBER_OF_CHANGES','div','isReady','ck-revision-history-ui__changes-navigation','backward','setTemplate','bind','bindTemplate','X_OF_Y_CHANGES','ck-hidden'];(function(_0x35b7a7,_0x336d72){const _0x414ed6=function(_0x4aaa40){while(--_0x4aaa40){_0x35b7a7['push'](_0x35b7a7['shift']());}};_0x414ed6(++_0x336d72);}(_0x336d,0x145));const _0x414e=function(_0x35b7a7,_0x336d72){_0x35b7a7=_0x35b7a7-0x0;let _0x414ed6=_0x336d[_0x35b7a7];return _0x414ed6;};import{View as _0xbdd4f7,ButtonView as _0x42bc79,ToolbarSeparatorView as _0x51b36a}from'ckeditor5/src/ui.js';import{getTranslation as _0x4b6df6}from'../../utils/common-translations.js';import _0x255867 from'../../../theme/icons/arrow-up.svg';import _0x19093d from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0xbdd4f7{constructor(_0x269dd3){super(_0x269dd3);const _0xb47ec5=this[_0x414e('0x2')],_0x454245=new _0x42bc79(_0x269dd3),_0x440427=new _0x42bc79(_0x269dd3);this[_0x414e('0x7')]('isNavigationMode',!0x1),this[_0x414e('0x7')](_0x414e('0x1b'),!0x1),this[_0x414e('0x7')]('currentChangeNumber',0x0),this['set'](_0x414e('0x15'),0x0),this[_0x414e('0x7')]('isForwardNavigationEnabled',!0x1),this['set'](_0x414e('0x17'),!0x1),this[_0x414e('0x1')]('_isStatusLabelVisible')['to'](this,_0x414e('0x1b'),this,_0x414e('0x15'),(_0x296213,_0x26ba5d)=>_0x296213&&_0x26ba5d>0x0),this[_0x414e('0x1')]('_statusText')['to'](this,_0x414e('0x1b'),this,_0x414e('0x16'),this,_0x414e('0x15'),this,_0x414e('0xd'),(_0x59048b,_0x1f8887,_0x5cada3,_0x5ba74)=>{if(!_0x59048b)return _0x4b6df6(_0x269dd3,_0x414e('0x11'));if(!_0x5cada3)return _0x4b6df6(_0x269dd3,_0x414e('0xa'));const _0x4ccc1e=_0x4b6df6(_0x269dd3,_0x414e('0x19'),_0x5cada3);return _0x5ba74?_0x4b6df6(_0x269dd3,_0x414e('0x3'),[_0x1f8887+0x1,_0x5cada3]):_0x4ccc1e;}),_0x454245['set']({'label':_0x4b6df6(_0x269dd3,_0x414e('0x18')),'tooltip':!0x0,'icon':_0x255867}),_0x440427['set']({'label':_0x4b6df6(_0x269dd3,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0x19093d}),_0x454245['bind'](_0x414e('0xc'))['to'](this,_0x414e('0x17')),_0x440427[_0x414e('0x1')](_0x414e('0xc'))['to'](this,_0x414e('0x6')),_0x454245['on'](_0x414e('0x12'),()=>this['fire'](_0x414e('0x12'),_0x414e('0x1d'))),_0x440427['on'](_0x414e('0x12'),()=>this[_0x414e('0xb')]('execute',_0x414e('0x8'))),this[_0x414e('0x0')]({'tag':_0x414e('0x1a'),'attributes':{'class':['ck',_0x414e('0x13'),_0x414e('0x1c')]},'children':[{'tag':_0x414e('0xf'),'attributes':{'class':[_0x414e('0xe')]},'children':[{'tag':'span','attributes':{'class':[_0x414e('0x10'),_0xb47ec5['if'](_0x414e('0x9'),_0x414e('0x4'),_0x1ea98a=>!_0x1ea98a)]},'children':[{'text':_0xb47ec5['to'](_0x414e('0xd'),_0x2bf1d1=>_0x2bf1d1?_0x4b6df6(_0x269dd3,_0x414e('0x5'))+':\x20':_0x4b6df6(_0x269dd3,_0x414e('0x14'))+':\x20')}]},{'text':_0xb47ec5['to']('_statusText')}]},new _0x51b36a(),{'tag':_0x414e('0x1a'),'attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x454245,_0x440427]}]});}}
23
+ const _0x18ae=['div','Loading...','ck-hidden','backward','No\x20changes','bindTemplate','_statusText','NUMBER_OF_CHANGES','ck-revision-history-ui__changes-navigation__wrapper','numberOfChanges','isNavigationMode','setTemplate','fire','Show\x20previous\x20change','ck-revision-history-ui__changes-navigation__label','isForwardNavigationEnabled','_isStatusLabelVisible','ck-revision-history-ui','span','execute','isBackwardNavigationEnabled','bind','EDIT_X_OF_Y_REVISIONS','currentChangeNumber','isReady','set','Show\x20next\x20change','ck-revision-history-ui__changes-navigation__navigation','isEnabled'];(function(_0x197aa0,_0x18aea1){const _0x5b65f8=function(_0xbdd539){while(--_0xbdd539){_0x197aa0['push'](_0x197aa0['shift']());}};_0x5b65f8(++_0x18aea1);}(_0x18ae,0xcf));const _0x5b65=function(_0x197aa0,_0x18aea1){_0x197aa0=_0x197aa0-0x0;let _0x5b65f8=_0x18ae[_0x197aa0];return _0x5b65f8;};import{View as _0x373592,ButtonView as _0x42985f,ToolbarSeparatorView as _0x1c66ef}from'ckeditor5/src/ui.js';import{getTranslation as _0xebbfcb}from'../../utils/common-translations.js';import _0x43fa5a from'../../../theme/icons/arrow-up.svg';import _0x1b8c86 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x373592{constructor(_0x22031a){super(_0x22031a);const _0x8c1c9f=this[_0x5b65('0x1')],_0x5ed4e1=new _0x42985f(_0x22031a),_0x4d9029=new _0x42985f(_0x22031a);this['set'](_0x5b65('0x6'),!0x1),this['set'](_0x5b65('0x14'),!0x1),this['set'](_0x5b65('0x13'),0x0),this[_0x5b65('0x15')](_0x5b65('0x5'),0x0),this[_0x5b65('0x15')](_0x5b65('0xb'),!0x1),this[_0x5b65('0x15')](_0x5b65('0x10'),!0x1),this[_0x5b65('0x11')](_0x5b65('0xc'))['to'](this,_0x5b65('0x14'),this,_0x5b65('0x5'),(_0x390af4,_0x1054a6)=>_0x390af4&&_0x1054a6>0x0),this['bind'](_0x5b65('0x2'))['to'](this,_0x5b65('0x14'),this,_0x5b65('0x13'),this,_0x5b65('0x5'),this,_0x5b65('0x6'),(_0x217234,_0x36de61,_0x3d5db3,_0x2badff)=>{if(!_0x217234)return _0xebbfcb(_0x22031a,_0x5b65('0x1a'));if(!_0x3d5db3)return _0xebbfcb(_0x22031a,_0x5b65('0x0'));const _0xd31cb0=_0xebbfcb(_0x22031a,_0x5b65('0x3'),_0x3d5db3);return _0x2badff?_0xebbfcb(_0x22031a,'X_OF_Y_CHANGES',[_0x36de61+0x1,_0x3d5db3]):_0xd31cb0;}),_0x5ed4e1[_0x5b65('0x15')]({'label':_0xebbfcb(_0x22031a,_0x5b65('0x9')),'tooltip':!0x0,'icon':_0x43fa5a}),_0x4d9029[_0x5b65('0x15')]({'label':_0xebbfcb(_0x22031a,_0x5b65('0x16')),'tooltip':!0x0,'icon':_0x1b8c86}),_0x5ed4e1[_0x5b65('0x11')](_0x5b65('0x18'))['to'](this,_0x5b65('0x10')),_0x4d9029[_0x5b65('0x11')]('isEnabled')['to'](this,_0x5b65('0xb')),_0x5ed4e1['on'](_0x5b65('0xf'),()=>this[_0x5b65('0x8')](_0x5b65('0xf'),_0x5b65('0x1c'))),_0x4d9029['on'](_0x5b65('0xf'),()=>this[_0x5b65('0x8')](_0x5b65('0xf'),'forward')),this[_0x5b65('0x7')]({'tag':_0x5b65('0x19'),'attributes':{'class':['ck',_0x5b65('0xd'),'ck-revision-history-ui__changes-navigation']},'children':[{'tag':_0x5b65('0xe'),'attributes':{'class':[_0x5b65('0x4')]},'children':[{'tag':'span','attributes':{'class':[_0x5b65('0xa'),_0x8c1c9f['if'](_0x5b65('0xc'),_0x5b65('0x1b'),_0x1ddee4=>!_0x1ddee4)]},'children':[{'text':_0x8c1c9f['to'](_0x5b65('0x6'),_0x34e48d=>_0x34e48d?_0xebbfcb(_0x22031a,_0x5b65('0x12'))+':\x20':_0xebbfcb(_0x22031a,'Total')+':\x20')}]},{'text':_0x8c1c9f['to'](_0x5b65('0x2'))}]},new _0x1c66ef(),{'tag':_0x5b65('0x19'),'attributes':{'class':[_0x5b65('0x17')]},'children':[_0x5ed4e1,_0x4d9029]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49c1=['pluginName','editing','hide','document','view','roots','show','RevisionViewerLoadingOverlay','addClass','change','editor'];(function(_0x1ae269,_0x49c18e){const _0x376505=function(_0x2065ee){while(--_0x2065ee){_0x1ae269['push'](_0x1ae269['shift']());}};_0x376505(++_0x49c18e);}(_0x49c1,0xd5));const _0x3765=function(_0x1ae269,_0x49c18e){_0x1ae269=_0x1ae269-0x0;let _0x376505=_0x49c1[_0x1ae269];return _0x376505;};import{Plugin as _0x1abdf2}from'ckeditor5/src/core.js';const oe='ck-editor__editable__loading-overlay';import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x1abdf2{static get[_0x3765('0x7')](){return _0x3765('0x3');}[_0x3765('0x2')](){const _0x346776=this['editor'][_0x3765('0x8')][_0x3765('0x0')];_0x346776[_0x3765('0x5')](_0x2fe2f1=>{for(const _0x591f53 of _0x346776[_0x3765('0xa')]['roots'])_0x2fe2f1[_0x3765('0x4')](oe,_0x591f53);});}[_0x3765('0x9')](){const _0x581af2=this[_0x3765('0x6')][_0x3765('0x8')]['view'];_0x581af2[_0x3765('0x5')](_0x1169ea=>{for(const _0x2be00b of _0x581af2[_0x3765('0xa')][_0x3765('0x1')])_0x1169ea['removeClass'](oe,_0x2be00b);});}}
23
+ const _0x1e97=['change','roots','view','removeClass','show','editing','pluginName','addClass','editor','RevisionViewerLoadingOverlay','document'];(function(_0x174aff,_0x1e9727){const _0x555e75=function(_0x23d576){while(--_0x23d576){_0x174aff['push'](_0x174aff['shift']());}};_0x555e75(++_0x1e9727);}(_0x1e97,0xc5));const _0x555e=function(_0x174aff,_0x1e9727){_0x174aff=_0x174aff-0x0;let _0x555e75=_0x1e97[_0x174aff];return _0x555e75;};import{Plugin as _0x5cb6c7}from'ckeditor5/src/core.js';const oe='ck-editor__editable__loading-overlay';import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x5cb6c7{static get[_0x555e('0x7')](){return _0x555e('0xa');}[_0x555e('0x5')](){const _0x2c6340=this[_0x555e('0x9')][_0x555e('0x6')][_0x555e('0x3')];_0x2c6340[_0x555e('0x1')](_0x364802=>{for(const _0x28b904 of _0x2c6340[_0x555e('0x0')][_0x555e('0x2')])_0x364802[_0x555e('0x8')](oe,_0x28b904);});}['hide'](){const _0x4a5edf=this[_0x555e('0x9')][_0x555e('0x6')][_0x555e('0x3')];_0x4a5edf[_0x555e('0x1')](_0x505490=>{for(const _0x5bf87b of _0x4a5edf[_0x555e('0x0')][_0x555e('0x2')])_0x505490[_0x555e('0x4')](oe,_0x5bf87b);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b79=['add','ck-revision-history-ui__back-to-editing','Restore\x20this\x20revision','Back\x20to\x20editing','get','hide','init','listenTo','showNextChange','isBackwardNavigationEnabled','restoreRevision','plugins','changesNavigation','config','closeRevisionViewerCallback','isEnabled','forward','exitToEditing','show','execute','showPreviousChange','commands','isForwardNavigationEnabled','currentChangeNumber','bind','editor','set','componentFactory','isNavigationMode','requires','revisionHistory','isReady','pluginName','numberOfChanges','RevisionViewerUI'];(function(_0x3f329d,_0x1b7959){const _0x1be3d4=function(_0x3e1ffb){while(--_0x3e1ffb){_0x3f329d['push'](_0x3f329d['shift']());}};_0x1be3d4(++_0x1b7959);}(_0x1b79,0x16d));const _0x1be3=function(_0x3f329d,_0x1b7959){_0x3f329d=_0x3f329d-0x0;let _0x1be3d4=_0x1b79[_0x3f329d];return _0x1be3d4;};import{icons as _0x59ae46,Plugin as _0x4e4e99}from'ckeditor5/src/core.js';import{ButtonView as _0x376284}from'ckeditor5/src/ui.js';import _0x150c02 from'./changesnavigationview.js';import _0x4e1acd from'./../../revisionviewer.js';import _0x191a5c from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x6b87d}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x4e4e99{static get[_0x1be3('0x11')](){return _0x1be3('0x13');}static get[_0x1be3('0xe')](){return[_0x4e1acd,_0x191a5c];}[_0x1be3('0x1a')](){const _0x4d3d1c=this[_0x1be3('0xa')],_0x25e1b1=_0x4d3d1c['plugins'][_0x1be3('0x18')](_0x4e1acd),_0x19c3a8=_0x4d3d1c[_0x1be3('0x1f')][_0x1be3('0x18')](_0x191a5c);_0x4d3d1c['ui'][_0x1be3('0xc')][_0x1be3('0x14')](_0x1be3('0x2'),_0x4c8147=>{const _0x443415=new _0x376284(_0x4c8147);return _0x443415[_0x1be3('0xb')]({'label':_0x6b87d(_0x4c8147,_0x1be3('0x17')),'icon':_0x59ae46['undo'],'withText':!0x0,'tooltip':!0x0,'class':_0x1be3('0x15')}),this[_0x1be3('0x1b')](_0x443415,_0x1be3('0x4'),()=>{_0x4d3d1c[_0x1be3('0x21')]['get'](_0x1be3('0xf'))[_0x1be3('0x22')]();}),_0x443415;}),_0x4d3d1c['ui']['componentFactory'][_0x1be3('0x14')](_0x1be3('0x1e'),_0x160583=>{const _0x23b930=new _0x376284(_0x160583);return _0x23b930['set']({'label':_0x6b87d(_0x160583,_0x1be3('0x16')),'withText':!0x0,'tooltip':!0x0}),_0x23b930[_0x1be3('0x9')](_0x1be3('0x0'))['to'](_0x4d3d1c[_0x1be3('0x6')][_0x1be3('0x18')]('restoreRevision')),this[_0x1be3('0x1b')](_0x23b930,_0x1be3('0x4'),()=>_0x4d3d1c['execute']('restoreRevision')),_0x23b930;}),_0x4d3d1c['ui'][_0x1be3('0xc')]['add'](_0x1be3('0x20'),_0x264b82=>{const _0x22dc25=new _0x150c02(_0x264b82),_0x469377=_0x4d3d1c[_0x1be3('0x6')][_0x1be3('0x18')](_0x1be3('0x5')),_0x50ed19=_0x4d3d1c[_0x1be3('0x6')][_0x1be3('0x18')](_0x1be3('0x1c'));return _0x22dc25['bind'](_0x1be3('0x1d'))['to'](_0x469377,_0x1be3('0x0')),_0x22dc25['bind'](_0x1be3('0x7'))['to'](_0x50ed19,_0x1be3('0x0')),_0x22dc25[_0x1be3('0x9')](_0x1be3('0x10'),_0x1be3('0x8'),_0x1be3('0x12'),_0x1be3('0xd'))['to'](_0x25e1b1),this[_0x1be3('0x1b')](_0x22dc25,_0x1be3('0x4'),(_0x40e8aa,_0x2aaa29)=>{_0x4d3d1c[_0x1be3('0x4')](_0x1be3('0x1')===_0x2aaa29?_0x1be3('0x1c'):'showPreviousChange');}),_0x22dc25;}),_0x19c3a8[_0x1be3('0x3')](),_0x25e1b1['on']('change:isReady',(_0xed8888,_0x1d937f,_0x52d25f)=>{_0x52d25f?_0x19c3a8[_0x1be3('0x19')]():_0x19c3a8[_0x1be3('0x3')]();});}}
23
+ const _0x41ee=['closeRevisionViewerCallback','Restore\x20this\x20revision','config','editor','undo','showPreviousChange','currentChangeNumber','RevisionViewerUI','pluginName','plugins','set','exitToEditing','execute','listenTo','revisionHistory','restoreRevision','hide','isReady','isForwardNavigationEnabled','show','changesNavigation','bind','isNavigationMode','commands','showNextChange','Back\x20to\x20editing','numberOfChanges','add','get','componentFactory','init','isEnabled','change:isReady'];(function(_0x57db77,_0x41ee85){const _0x2982f6=function(_0x28d075){while(--_0x28d075){_0x57db77['push'](_0x57db77['shift']());}};_0x2982f6(++_0x41ee85);}(_0x41ee,0x1d5));const _0x2982=function(_0x57db77,_0x41ee85){_0x57db77=_0x57db77-0x0;let _0x2982f6=_0x41ee[_0x57db77];return _0x2982f6;};import{icons as _0xde052e,Plugin as _0x561769}from'ckeditor5/src/core.js';import{ButtonView as _0x550559}from'ckeditor5/src/ui.js';import _0x2700d2 from'./changesnavigationview.js';import _0x37b37d from'./../../revisionviewer.js';import _0x14baf8 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x1e94bc}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x561769{static get[_0x2982('0x1')](){return _0x2982('0x0');}static get['requires'](){return[_0x37b37d,_0x14baf8];}[_0x2982('0x17')](){const _0x3eb9da=this[_0x2982('0x1d')],_0x1ff727=_0x3eb9da[_0x2982('0x2')][_0x2982('0x15')](_0x37b37d),_0x220d4b=_0x3eb9da[_0x2982('0x2')][_0x2982('0x15')](_0x14baf8);_0x3eb9da['ui'][_0x2982('0x16')][_0x2982('0x14')](_0x2982('0x4'),_0x4505bf=>{const _0x2824c4=new _0x550559(_0x4505bf);return _0x2824c4['set']({'label':_0x1e94bc(_0x4505bf,_0x2982('0x12')),'icon':_0xde052e[_0x2982('0x1e')],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this[_0x2982('0x6')](_0x2824c4,_0x2982('0x5'),()=>{_0x3eb9da[_0x2982('0x1c')][_0x2982('0x15')](_0x2982('0x7'))[_0x2982('0x1a')]();}),_0x2824c4;}),_0x3eb9da['ui'][_0x2982('0x16')][_0x2982('0x14')]('restoreRevision',_0x15c275=>{const _0x3a99b6=new _0x550559(_0x15c275);return _0x3a99b6[_0x2982('0x3')]({'label':_0x1e94bc(_0x15c275,_0x2982('0x1b')),'withText':!0x0,'tooltip':!0x0}),_0x3a99b6[_0x2982('0xe')](_0x2982('0x18'))['to'](_0x3eb9da[_0x2982('0x10')][_0x2982('0x15')](_0x2982('0x8'))),this[_0x2982('0x6')](_0x3a99b6,_0x2982('0x5'),()=>_0x3eb9da[_0x2982('0x5')]('restoreRevision')),_0x3a99b6;}),_0x3eb9da['ui']['componentFactory'][_0x2982('0x14')](_0x2982('0xd'),_0x50665c=>{const _0x30df9e=new _0x2700d2(_0x50665c),_0xdf70c4=_0x3eb9da[_0x2982('0x10')][_0x2982('0x15')]('showPreviousChange'),_0x13c4c3=_0x3eb9da[_0x2982('0x10')][_0x2982('0x15')](_0x2982('0x11'));return _0x30df9e[_0x2982('0xe')]('isBackwardNavigationEnabled')['to'](_0xdf70c4,_0x2982('0x18')),_0x30df9e[_0x2982('0xe')](_0x2982('0xb'))['to'](_0x13c4c3,_0x2982('0x18')),_0x30df9e[_0x2982('0xe')](_0x2982('0xa'),_0x2982('0x20'),_0x2982('0x13'),_0x2982('0xf'))['to'](_0x1ff727),this[_0x2982('0x6')](_0x30df9e,_0x2982('0x5'),(_0x19157f,_0x29459e)=>{_0x3eb9da[_0x2982('0x5')]('forward'===_0x29459e?_0x2982('0x11'):_0x2982('0x1f'));}),_0x30df9e;}),_0x220d4b[_0x2982('0xc')](),_0x1ff727['on'](_0x2982('0x19'),(_0x3ba783,_0x3415be,_0x1a8c21)=>{_0x1a8c21?_0x220d4b[_0x2982('0x9')]():_0x220d4b['show']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x168dc9,_0x46276e,_0x472e2e){const t=_0x168dc9['t'];switch(_0x46276e){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'},_0x472e2e);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x472e2e);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 _0x46276e;}}
23
+ export function getTranslation(_0x297803,_0x5c8e03,_0x3ad84c){const t=_0x297803['t'];switch(_0x5c8e03){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'},_0x3ad84c);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3ad84c);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 _0x5c8e03;}}