@ckeditor/ckeditor5-revision-history 35.3.2 → 35.4.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 (87) hide show
  1. package/build/revision-history.js +2 -1
  2. package/build/translations/af.js +1 -0
  3. package/build/translations/ar.js +1 -0
  4. package/build/translations/az.js +1 -0
  5. package/build/translations/bg.js +1 -0
  6. package/build/translations/bn.js +1 -0
  7. package/build/translations/bs.js +1 -0
  8. package/build/translations/ca.js +1 -0
  9. package/build/translations/cs.js +1 -0
  10. package/build/translations/da.js +1 -0
  11. package/build/translations/de-ch.js +1 -0
  12. package/build/translations/de.js +1 -0
  13. package/build/translations/el.js +1 -0
  14. package/build/translations/en-au.js +1 -0
  15. package/build/translations/en-gb.js +1 -0
  16. package/build/translations/es-co.js +1 -0
  17. package/build/translations/es.js +1 -0
  18. package/build/translations/et.js +1 -0
  19. package/build/translations/fa.js +1 -0
  20. package/build/translations/fi.js +1 -0
  21. package/build/translations/fr.js +1 -0
  22. package/build/translations/gl.js +1 -0
  23. package/build/translations/he.js +1 -0
  24. package/build/translations/hi.js +1 -0
  25. package/build/translations/hr.js +1 -0
  26. package/build/translations/hu.js +1 -0
  27. package/build/translations/id.js +1 -0
  28. package/build/translations/it.js +1 -0
  29. package/build/translations/ja.js +1 -0
  30. package/build/translations/jv.js +1 -0
  31. package/build/translations/ko.js +1 -0
  32. package/build/translations/ku.js +1 -0
  33. package/build/translations/lt.js +1 -0
  34. package/build/translations/lv.js +1 -0
  35. package/build/translations/ms.js +1 -0
  36. package/build/translations/ne.js +1 -0
  37. package/build/translations/nl.js +1 -0
  38. package/build/translations/no.js +1 -0
  39. package/build/translations/pl.js +1 -0
  40. package/build/translations/pt-br.js +1 -0
  41. package/build/translations/pt.js +1 -0
  42. package/build/translations/ro.js +1 -0
  43. package/build/translations/ru.js +1 -0
  44. package/build/translations/sk.js +1 -0
  45. package/build/translations/sr-latn.js +1 -0
  46. package/build/translations/sr.js +1 -0
  47. package/build/translations/sv.js +1 -0
  48. package/build/translations/th.js +1 -0
  49. package/build/translations/tk.js +1 -0
  50. package/build/translations/tr.js +1 -0
  51. package/build/translations/tt.js +1 -0
  52. package/build/translations/ug.js +1 -0
  53. package/build/translations/uk.js +1 -0
  54. package/build/translations/ur.js +1 -0
  55. package/build/translations/vi.js +1 -0
  56. package/build/translations/zh-cn.js +1 -0
  57. package/build/translations/zh.js +1 -0
  58. package/package.json +7 -7
  59. package/src/changeitem.js +1 -1
  60. package/src/editor/revisionviewereditor.js +1 -1
  61. package/src/editor/revisionviewereditorui.js +1 -1
  62. package/src/editor/revisionviewereditoruiview.js +1 -1
  63. package/src/revision.js +1 -1
  64. package/src/revisiondiff.js +1 -1
  65. package/src/revisionhistory.js +1 -1
  66. package/src/revisionsrepository.js +1 -1
  67. package/src/revisiontracker.js +1 -1
  68. package/src/revisionviewer.js +1 -1
  69. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  70. package/src/ui/revision/revisionauthorview.js +1 -1
  71. package/src/ui/revision/revisionnameview.js +1 -1
  72. package/src/ui/revision/revisionview.js +1 -1
  73. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  74. package/src/ui/revision/subrevisionview.js +1 -1
  75. package/src/ui/revision/utils.js +1 -1
  76. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  77. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  78. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  79. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  80. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  81. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  82. package/src/ui/revisionssidebar/utils.js +1 -1
  83. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  84. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  85. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  86. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  87. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c51=['init','cancel','isOpen','editing','bind','revisionHistory','execute','focus','get','plugins','add','remove','editor','Save\x20current\x20revision','buttonView','isReady','config','requires','view','reset','Open\x20revision\x20history','showRevisionViewerCallback','panelView','children','revisionName','saveButtonView','Revision\x20history','pluginName','RevisionHistoryUI','set','items','isEnabled','RevisionTracker','isReadOnly','addMany','submit','componentFactory','length'];(function(_0x1bfd82,_0x5c5164){const _0x1721d6=function(_0xbaf334){while(--_0xbaf334){_0x1bfd82['push'](_0x1bfd82['shift']());}};_0x1721d6(++_0x5c5164);}(_0x5c51,0xd9));const _0x1721=function(_0x1bfd82,_0x5c5164){_0x1bfd82=_0x1bfd82-0x0;let _0x1721d6=_0x5c51[_0x1bfd82];return _0x1721d6;};import{Plugin as _0x33f5af}from'ckeditor5/src/core';import{ListView as _0x3237fb,ListItemView as _0x5f4bde,ButtonView as _0x27efac,createDropdown as _0x893ce3}from'ckeditor5/src/ui';import _0x4d26e0 from'../../revisiontracker';import _0xbc094f from'./revisionhistorysaverevisionformview';import _0x4b018a from'../../../theme/icons/revision-history.svg';import{getTranslation as _0x2fde6c}from'../../utils/common-translations';export default class R extends _0x33f5af{static get[_0x1721('0x0')](){return _0x1721('0x1');}static get[_0x1721('0x1c')](){return[_0x4d26e0];}[_0x1721('0xb')](){const _0x4ea8ef=this[_0x1721('0x17')],_0xd3502e=_0x4ea8ef['plugins'][_0x1721('0x13')](_0x1721('0x5'));_0x4ea8ef['ui'][_0x1721('0x9')][_0x1721('0x15')]('revisionHistory',_0xea7994=>{const _0x3e1e2e=_0x893ce3(_0xea7994),_0x363d2c=_0x3e1e2e[_0x1721('0x21')][_0x1721('0x22')],_0x5c817f=new _0x3237fb(_0xea7994),_0x110901=new _0x5f4bde(_0xea7994),_0x40524f=new _0x27efac(_0xea7994),_0x589cfe=new _0x5f4bde(_0xea7994),_0x54367f=new _0x27efac(_0xea7994),_0x470281=new _0xbc094f(_0xea7994);function _0x8e1c92(){_0x363d2c[_0x1721('0xa')]&&_0x363d2c[_0x1721('0x16')](0x0),_0x363d2c[_0x1721('0x15')](_0x5c817f);}function _0x1de3a5(){_0x3e1e2e[_0x1721('0xd')]=!0x1,_0x4ea8ef[_0x1721('0xe')][_0x1721('0x1d')][_0x1721('0x12')]();}return _0x3e1e2e[_0x1721('0xf')](_0x1721('0x4'))['to'](_0xd3502e,_0x1721('0x1a'),_0xd3502e,_0x1721('0x4'),_0x4ea8ef,'isReadOnly',(_0x108da9,_0x4eda8d,_0x157b5b)=>_0x108da9&&_0x4eda8d&&!_0x157b5b),_0x3e1e2e[_0x1721('0x19')][_0x1721('0x2')]({'icon':_0x4b018a,'label':_0x2fde6c(_0xea7994,_0x1721('0x25')),'tooltip':!0x0}),_0x40524f[_0x1721('0x2')]({'label':_0x2fde6c(_0xea7994,_0x1721('0x18')),'withText':!0x0}),_0x40524f['bind'](_0x1721('0x4'))['to'](_0xd3502e,'isReady',_0xd3502e,_0x1721('0x4'),_0x4ea8ef,_0x1721('0x6'),(_0x52f30f,_0xc3b7c0,_0x3c8eed)=>_0x52f30f&&_0xc3b7c0&&!_0x3c8eed),_0x40524f['on'](_0x1721('0x11'),()=>function(){_0x363d2c[_0x1721('0xa')]&&_0x363d2c[_0x1721('0x16')](0x0),(_0x470281[_0x1721('0x1e')](),_0x363d2c[_0x1721('0x15')](_0x470281),_0x470281[_0x1721('0x12')]());}()),_0x54367f['set']({'label':_0x2fde6c(_0xea7994,_0x1721('0x1f')),'withText':!0x0}),_0x54367f[_0x1721('0xf')](_0x1721('0x4'))['to'](_0xd3502e,_0x1721('0x1a'),_0x4ea8ef,'isReadOnly',(_0x1b4943,_0x2017e9)=>_0x1b4943&&!_0x2017e9),_0x54367f['on']('execute',()=>{_0x4ea8ef[_0x1721('0x1b')]['get'](_0x1721('0x10'))[_0x1721('0x20')](),_0x1de3a5();}),_0x110901[_0x1721('0x22')][_0x1721('0x15')](_0x40524f),_0x589cfe['children'][_0x1721('0x15')](_0x54367f),_0x5c817f[_0x1721('0x3')][_0x1721('0x7')]([_0x110901,_0x589cfe]),_0x3e1e2e['on']('change:isOpen',()=>_0x8e1c92()),_0x470281[_0x1721('0x24')][_0x1721('0xf')](_0x1721('0x4'))['to'](_0xd3502e,'isReady',_0xd3502e,_0x1721('0x4'),_0x4ea8ef,_0x1721('0x6'),(_0x44478a,_0x533454,_0x56d08a)=>_0x44478a&&_0x533454&&!_0x56d08a),_0x470281['on'](_0x1721('0x8'),()=>(_0x4ea8ef[_0x1721('0x14')][_0x1721('0x13')](_0x4d26e0)['saveRevision']({'name':_0x470281[_0x1721('0x23')]}),void _0x1de3a5())),_0x470281['on'](_0x1721('0xc'),()=>_0x8e1c92()),_0x470281['render'](),_0x8e1c92(),_0x3e1e2e;});}}
23
+ const _0x3dfb=['change:isOpen','focus','length','editing','isReadOnly','saveRevision','Open\x20revision\x20history','requires','submit','revisionHistory','revisionName','addMany','isReady','showRevisionViewerCallback','RevisionHistoryUI','buttonView','componentFactory','pluginName','plugins','execute','set','isEnabled','add','bind','get','children','view'];(function(_0x418ced,_0x3dfbac){const _0x1fb735=function(_0xcc4e8){while(--_0xcc4e8){_0x418ced['push'](_0x418ced['shift']());}};_0x1fb735(++_0x3dfbac);}(_0x3dfb,0x177));const _0x1fb7=function(_0x418ced,_0x3dfbac){_0x418ced=_0x418ced-0x0;let _0x1fb735=_0x3dfb[_0x418ced];return _0x1fb735;};import{Plugin as _0x1dd7b5}from'ckeditor5/src/core';import{ListView as _0x3c25e2,ListItemView as _0x4e0109,ButtonView as _0x439f8f,createDropdown as _0x31e68b}from'ckeditor5/src/ui';import _0x4cda33 from'../../revisiontracker';import _0x3ac657 from'./revisionhistorysaverevisionformview';import _0x10c55e from'../../../theme/icons/revision-history.svg';import{getTranslation as _0x3e0dfe}from'../../utils/common-translations';export default class y extends _0x1dd7b5{static get[_0x1fb7('0x14')](){return _0x1fb7('0x11');}static get[_0x1fb7('0xa')](){return[_0x4cda33];}['init'](){const _0x371f67=this['editor'],_0x16a6b8=_0x371f67[_0x1fb7('0x15')][_0x1fb7('0x0')]('RevisionTracker');_0x371f67['ui'][_0x1fb7('0x13')][_0x1fb7('0x19')](_0x1fb7('0xc'),_0x3f7235=>{const _0x3a8adb=_0x31e68b(_0x3f7235),_0x4fc400=_0x3a8adb['panelView'][_0x1fb7('0x1')],_0xbfeaea=new _0x3c25e2(_0x3f7235),_0x581441=new _0x4e0109(_0x3f7235),_0x2a86b2=new _0x439f8f(_0x3f7235),_0x29c200=new _0x4e0109(_0x3f7235),_0x5c43eb=new _0x439f8f(_0x3f7235),_0x3bdc61=new _0x3ac657(_0x3f7235);function _0x169b63(){_0x4fc400[_0x1fb7('0x5')]&&_0x4fc400['remove'](0x0),_0x4fc400['add'](_0xbfeaea);}function _0x346c19(){_0x3a8adb['isOpen']=!0x1,_0x371f67[_0x1fb7('0x6')][_0x1fb7('0x2')][_0x1fb7('0x4')]();}return _0x3a8adb[_0x1fb7('0x1a')](_0x1fb7('0x18'))['to'](_0x16a6b8,_0x1fb7('0xf'),_0x16a6b8,_0x1fb7('0x18'),_0x371f67,_0x1fb7('0x7'),(_0x5edc90,_0x523d94,_0x4c331b)=>_0x5edc90&&_0x523d94&&!_0x4c331b),_0x3a8adb[_0x1fb7('0x12')][_0x1fb7('0x17')]({'icon':_0x10c55e,'label':_0x3e0dfe(_0x3f7235,'Revision\x20history'),'tooltip':!0x0}),_0x2a86b2[_0x1fb7('0x17')]({'label':_0x3e0dfe(_0x3f7235,'Save\x20current\x20revision'),'withText':!0x0}),_0x2a86b2[_0x1fb7('0x1a')](_0x1fb7('0x18'))['to'](_0x16a6b8,'isReady',_0x16a6b8,_0x1fb7('0x18'),_0x371f67,_0x1fb7('0x7'),(_0xf4cbff,_0x4e713b,_0x20bf81)=>_0xf4cbff&&_0x4e713b&&!_0x20bf81),_0x2a86b2['on'](_0x1fb7('0x16'),()=>function(){_0x4fc400['length']&&_0x4fc400['remove'](0x0),(_0x3bdc61['reset'](),_0x4fc400['add'](_0x3bdc61),_0x3bdc61[_0x1fb7('0x4')]());}()),_0x5c43eb['set']({'label':_0x3e0dfe(_0x3f7235,_0x1fb7('0x9')),'withText':!0x0}),_0x5c43eb[_0x1fb7('0x1a')](_0x1fb7('0x18'))['to'](_0x16a6b8,'isReady',_0x371f67,_0x1fb7('0x7'),(_0x2870aa,_0x514f81)=>_0x2870aa&&!_0x514f81),_0x5c43eb['on'](_0x1fb7('0x16'),()=>{_0x371f67['config'][_0x1fb7('0x0')](_0x1fb7('0xc'))[_0x1fb7('0x10')](),_0x346c19();}),_0x581441[_0x1fb7('0x1')]['add'](_0x2a86b2),_0x29c200[_0x1fb7('0x1')][_0x1fb7('0x19')](_0x5c43eb),_0xbfeaea['items'][_0x1fb7('0xe')]([_0x581441,_0x29c200]),_0x3a8adb['on'](_0x1fb7('0x3'),()=>_0x169b63()),_0x3bdc61['saveButtonView'][_0x1fb7('0x1a')](_0x1fb7('0x18'))['to'](_0x16a6b8,_0x1fb7('0xf'),_0x16a6b8,_0x1fb7('0x18'),_0x371f67,_0x1fb7('0x7'),(_0x3e3d2f,_0x560779,_0x20643a)=>_0x3e3d2f&&_0x560779&&!_0x20643a),_0x3bdc61['on'](_0x1fb7('0xb'),()=>(_0x371f67[_0x1fb7('0x15')][_0x1fb7('0x0')](_0x4cda33)[_0x1fb7('0x8')]({'name':_0x3bdc61[_0x1fb7('0xd')]}),void _0x346c19())),_0x3bdc61['on']('cancel',()=>_0x169b63()),_0x3bdc61['render'](),_0x169b63(),_0x3a8adb;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a4e=['config','diff','isReady','compare','isVisible','_handleRevisionSetName','revisionHistory.viewerSidebarContainer','bind','plugins','render','getLaterVisibleRevision','editor','_handleRevisionSelected','availableRevisionActions','_handleEditorDataReady','pluginName','getRevision','length','compareAgainstSelected','name','_revisionViewer','revisionSelected','revisionHistory.revisionActions','listenTo','_handleDiffChange','timePeriodViews','action','defaultRevisionActions','assign','isEnabled','getRevisionsInDiff','getEarlierVisibleRevision','setName','revisionHistory','data','_sidebarView','appendChild','repository','destroy','locale','selectRevision','restoreRevisionCallback','restoreRevision','RevisionsSidebar','requires','_revisionsRepository','fieldView','highlightRevisions','_createRevisionActions','init','Compare\x20against\x20selected','ready','revisionSetName','add','select','element','get'];(function(_0x4a80d7,_0x1a4eee){const _0x255e84=function(_0x19bcbe){while(--_0x19bcbe){_0x4a80d7['push'](_0x4a80d7['shift']());}};_0x255e84(++_0x1a4eee);}(_0x1a4e,0x19d));const _0x255e=function(_0x4a80d7,_0x1a4eee){_0x4a80d7=_0x4a80d7-0x0;let _0x255e84=_0x1a4e[_0x4a80d7];return _0x255e84;};import{Plugin as _0x216dd4}from'ckeditor5/src/core';import _0x3a1c4e from'./revisionssidebarview';import _0x295f5e from'../../revisionviewer';export default class y extends _0x216dd4{static get[_0x255e('0x1')](){return _0x255e('0x1d');}static get[_0x255e('0x1e')](){return[_0x295f5e];}constructor(_0x396518){super(_0x396518),this[_0x255e('0x6')]=_0x396518[_0x255e('0x33')]['get'](_0x295f5e),this[_0x255e('0x1f')]=this[_0x255e('0x6')][_0x255e('0x17')],this['_sidebarView']=null;}[_0x255e('0x23')](){const _0x2b67b1=this[_0x255e('0x1f')]['_revisions'],_0x6a1558=this[_0x255e('0x22')](),_0x163ffa=this[_0x255e('0x36')][_0x255e('0x2b')][_0x255e('0x2a')](_0x255e('0x31'));this[_0x255e('0x15')]=new _0x3a1c4e(this[_0x255e('0x36')][_0x255e('0x19')],_0x2b67b1,_0x6a1558),this['_sidebarView']['on'](_0x255e('0x7'),this[_0x255e('0x37')][_0x255e('0x32')](this)),this[_0x255e('0x15')]['on'](_0x255e('0x26'),this[_0x255e('0x30')][_0x255e('0x32')](this)),this[_0x255e('0x15')]['bind'](_0x255e('0xf'))['to'](this[_0x255e('0x6')]),this[_0x255e('0x15')][_0x255e('0xb')]['on']('add',(_0x5c0ccd,_0x3cbb67)=>{_0x3cbb67['revisionViews']['on'](_0x255e('0x27'),(_0x59f81b,_0x4a9755)=>{_0x4a9755[_0x255e('0x32')](_0x255e('0xf'),_0x255e('0x2d'))['to'](this[_0x255e('0x6')]);});}),this[_0x255e('0x15')][_0x255e('0x34')](),this[_0x255e('0x9')](this[_0x255e('0x36')][_0x255e('0x14')],_0x255e('0x25'),this[_0x255e('0x0')][_0x255e('0x32')](this)),this[_0x255e('0x9')](this[_0x255e('0x6')],'change:diff',this[_0x255e('0xa')]['bind'](this)),_0x163ffa[_0x255e('0x16')](this[_0x255e('0x15')][_0x255e('0x29')]);}['destroy'](){this[_0x255e('0x15')]['element']['remove'](),this['_sidebarView'][_0x255e('0x18')]();}[_0x255e('0x0')](){const _0x50159c=this[_0x255e('0x1f')][_0x255e('0x2')](0x0);if(_0x50159c){const _0x5a6e2b=this['_revisionsRepository'][_0x255e('0x11')](_0x50159c['id']);this[_0x255e('0x6')]['compare'](_0x50159c,_0x5a6e2b);}}[_0x255e('0x37')](_0x3fca7a,_0x5394f1){const _0x5f0567=this[_0x255e('0x1f')][_0x255e('0x2')](_0x5394f1['id']),_0x54af5e=this[_0x255e('0x1f')][_0x255e('0x11')](_0x5f0567['id']);this[_0x255e('0x6')]['compare'](_0x5f0567,_0x54af5e);}[_0x255e('0x30')](_0x2f9047,_0x4d8db6){this[_0x255e('0x1f')]['getRevision'](_0x4d8db6['id'])[_0x255e('0x12')](_0x4d8db6[_0x255e('0x5')]);}[_0x255e('0xa')](_0x15b9f6,_0x6cbb1d,_0x2eb7a3){const _0x542a17=this[_0x255e('0x1f')][_0x255e('0x10')](_0x2eb7a3);_0x542a17[_0x255e('0x3')]>0x2?(this[_0x255e('0x15')][_0x255e('0x21')](_0x542a17),this[_0x255e('0x15')]['selectRevision'](null)):(this[_0x255e('0x15')][_0x255e('0x21')]([]),this[_0x255e('0x15')][_0x255e('0x1a')](_0x542a17[0x0]));}[_0x255e('0x22')](){const _0x2991db=this['editor'],_0xd75b1b=y[_0x255e('0x38')],_0x3655bc=_0x2991db['config']['get'](_0x255e('0x8'))||y[_0x255e('0xd')];if(_0x3655bc[_0x255e('0x3')])return _0x3655bc['map'](_0x393bbf=>{const _0xaf984a='string'==typeof _0x393bbf?Object[_0x255e('0xe')]({},_0xd75b1b[_0x393bbf]):_0x393bbf;return _0xaf984a[_0x255e('0xc')]=_0xaf984a[_0x255e('0xc')][_0x255e('0x32')](this,_0x2991db),_0xaf984a['isVisible']&&(_0xaf984a[_0x255e('0x2f')]=_0xaf984a['isVisible'][_0x255e('0x32')](this,_0x2991db)),_0xaf984a;});}}y[_0x255e('0x38')]={'compareAgainstSelected':{'name':_0x255e('0x24'),'action':({plugins:_0x49355c},_0x1c178b)=>{const _0x9418af=_0x49355c[_0x255e('0x2a')](_0x295f5e),_0x13a7e7=_0x9418af['repository'];let _0x289d61=_0x9418af['diff']['newRevisionId'],_0x1ed3af=_0x1c178b['id'];_0x13a7e7['getIndex'](_0x289d61)>_0x13a7e7['getIndex'](_0x1ed3af)&&([_0x289d61,_0x1ed3af]=[_0x1ed3af,_0x289d61]),_0x9418af[_0x255e('0x2e')](_0x289d61,_0x1ed3af);},'isVisible':({plugins:_0x4bba7c},_0x3f5dd3)=>{const _0x1648ca=_0x4bba7c['get'](_0x295f5e);return!(_0x1648ca[_0x255e('0x17')][_0x255e('0x10')](_0x1648ca[_0x255e('0x2c')])[_0x255e('0x3')]>0x2)&&!_0x3f5dd3['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x437a53,{id:_0x2427db})=>{_0x437a53[_0x255e('0x2b')]['get'](_0x255e('0x13'))[_0x255e('0x1b')](_0x2427db);},'isVisible':({plugins:_0x817a7f},_0x40cd99)=>!!_0x817a7f[_0x255e('0x2a')](_0x295f5e)[_0x255e('0x17')][_0x255e('0x35')](_0x40cd99['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x38a0dd},{id:_0x329d19,revisionNameView:_0x1e14df})=>{const _0x4e96d1=_0x38a0dd[_0x255e('0x2a')](_0x295f5e),_0x560e80=_0x4e96d1[_0x255e('0x17')][_0x255e('0x11')](_0x329d19);_0x4e96d1['compare'](_0x329d19,_0x560e80),_0x1e14df['focus'](),_0x1e14df[_0x255e('0x20')][_0x255e('0x28')]();}}},y[_0x255e('0xd')]=[_0x255e('0x4'),_0x255e('0x1c'),'nameRevision'];
23
+ const _0x10e0=['isSelected','requires','defaultRevisionActions','assign','Restore\x20this\x20revision','length','fieldView','revisionHistory.viewerSidebarContainer','_revisions','listenTo','getRevisionsInDiff','select','_handleEditorDataReady','getLaterVisibleRevision','isVisible','_revisionsRepository','getEarlierVisibleRevision','init','change:diff','availableRevisionActions','pluginName','ready','config','repository','selectRevision','data','isReady','action','get','bind','getIndex','Compare\x20against\x20selected','RevisionsSidebar','destroy','newRevisionId','_sidebarView','_revisionViewer','_handleDiffChange','highlightRevisions','element','getRevision','compareAgainstSelected','revisionHistory.revisionActions','isEnabled','_createRevisionActions','add','appendChild','plugins','diff','revisionViews','setName','focus','_handleRevisionSelected','editor','revisionSelected','_handleRevisionSetName','nameRevision','restoreRevision','compare','string','Name\x20this\x20revision'];(function(_0x4595fb,_0x10e006){const _0x1a28ea=function(_0x3e12d0){while(--_0x3e12d0){_0x4595fb['push'](_0x4595fb['shift']());}};_0x1a28ea(++_0x10e006);}(_0x10e0,0x188));const _0x1a28=function(_0x4595fb,_0x10e006){_0x4595fb=_0x4595fb-0x0;let _0x1a28ea=_0x10e0[_0x4595fb];return _0x1a28ea;};import{Plugin as _0x18efbd}from'ckeditor5/src/core';import _0x4a4854 from'./revisionssidebarview';import _0x383911 from'../../revisionviewer';export default class d extends _0x18efbd{static get[_0x1a28('0x37')](){return _0x1a28('0x6');}static get[_0x1a28('0x24')](){return[_0x383911];}constructor(_0x1f88c3){super(_0x1f88c3),this['_revisionViewer']=_0x1f88c3[_0x1a28('0x15')][_0x1a28('0x2')](_0x383911),this['_revisionsRepository']=this[_0x1a28('0xa')][_0x1a28('0x3a')],this[_0x1a28('0x9')]=null;}[_0x1a28('0x34')](){const _0x12a350=this[_0x1a28('0x32')][_0x1a28('0x2b')],_0xd429ba=this[_0x1a28('0x12')](),_0x53be47=this[_0x1a28('0x1b')][_0x1a28('0x39')][_0x1a28('0x2')](_0x1a28('0x2a'));this[_0x1a28('0x9')]=new _0x4a4854(this[_0x1a28('0x1b')]['locale'],_0x12a350,_0xd429ba),this[_0x1a28('0x9')]['on'](_0x1a28('0x1c'),this[_0x1a28('0x1a')][_0x1a28('0x3')](this)),this['_sidebarView']['on']('revisionSetName',this[_0x1a28('0x1d')][_0x1a28('0x3')](this)),this['_sidebarView']['bind'](_0x1a28('0x11'))['to'](this[_0x1a28('0xa')]),this['_sidebarView']['timePeriodViews']['on'](_0x1a28('0x13'),(_0x5f5459,_0x466816)=>{_0x466816[_0x1a28('0x17')]['on'](_0x1a28('0x13'),(_0x19826b,_0xc08584)=>{_0xc08584['bind'](_0x1a28('0x11'),_0x1a28('0x0'))['to'](this[_0x1a28('0xa')]);});}),this[_0x1a28('0x9')]['render'](),this[_0x1a28('0x2c')](this[_0x1a28('0x1b')][_0x1a28('0x3c')],_0x1a28('0x38'),this[_0x1a28('0x2f')]['bind'](this)),this[_0x1a28('0x2c')](this[_0x1a28('0xa')],_0x1a28('0x35'),this[_0x1a28('0xb')]['bind'](this)),_0x53be47[_0x1a28('0x14')](this[_0x1a28('0x9')][_0x1a28('0xd')]);}[_0x1a28('0x7')](){this[_0x1a28('0x9')]['element']['remove'](),this['_sidebarView']['destroy']();}[_0x1a28('0x2f')](){const _0x139e0c=this[_0x1a28('0x32')][_0x1a28('0xe')](0x0);if(_0x139e0c){const _0x4f85ee=this['_revisionsRepository'][_0x1a28('0x33')](_0x139e0c['id']);this[_0x1a28('0xa')]['compare'](_0x139e0c,_0x4f85ee);}}[_0x1a28('0x1a')](_0x10bc3c,_0x5a3983){const _0x42e9d1=this[_0x1a28('0x32')][_0x1a28('0xe')](_0x5a3983['id']),_0x4f4209=this[_0x1a28('0x32')][_0x1a28('0x33')](_0x42e9d1['id']);this[_0x1a28('0xa')][_0x1a28('0x20')](_0x42e9d1,_0x4f4209);}['_handleRevisionSetName'](_0x1bebcf,_0x45ffe0){this['_revisionsRepository'][_0x1a28('0xe')](_0x45ffe0['id'])[_0x1a28('0x18')](_0x45ffe0['name']);}[_0x1a28('0xb')](_0x3e72ff,_0x4f112b,_0x5f5952){const _0x2b05b5=this[_0x1a28('0x32')][_0x1a28('0x2d')](_0x5f5952);_0x2b05b5[_0x1a28('0x28')]>0x2?(this['_sidebarView'][_0x1a28('0xc')](_0x2b05b5),this[_0x1a28('0x9')][_0x1a28('0x3b')](null)):(this[_0x1a28('0x9')][_0x1a28('0xc')]([]),this[_0x1a28('0x9')][_0x1a28('0x3b')](_0x2b05b5[0x0]));}[_0x1a28('0x12')](){const _0x2f9975=this[_0x1a28('0x1b')],_0x1da507=d[_0x1a28('0x36')],_0x5708cb=_0x2f9975[_0x1a28('0x39')][_0x1a28('0x2')](_0x1a28('0x10'))||d[_0x1a28('0x25')];if(_0x5708cb[_0x1a28('0x28')])return _0x5708cb['map'](_0x243bf3=>{const _0xaf31b3=_0x1a28('0x21')==typeof _0x243bf3?Object[_0x1a28('0x26')]({},_0x1da507[_0x243bf3]):_0x243bf3;return _0xaf31b3[_0x1a28('0x1')]=_0xaf31b3[_0x1a28('0x1')][_0x1a28('0x3')](this,_0x2f9975),_0xaf31b3[_0x1a28('0x31')]&&(_0xaf31b3[_0x1a28('0x31')]=_0xaf31b3[_0x1a28('0x31')][_0x1a28('0x3')](this,_0x2f9975)),_0xaf31b3;});}}d[_0x1a28('0x36')]={'compareAgainstSelected':{'name':_0x1a28('0x5'),'action':({plugins:_0x1e55cc},_0xcd0e88)=>{const _0x1cdc7e=_0x1e55cc[_0x1a28('0x2')](_0x383911),_0x4b09be=_0x1cdc7e['repository'];let _0x11ad2f=_0x1cdc7e[_0x1a28('0x16')][_0x1a28('0x8')],_0x5db413=_0xcd0e88['id'];_0x4b09be[_0x1a28('0x4')](_0x11ad2f)>_0x4b09be['getIndex'](_0x5db413)&&([_0x11ad2f,_0x5db413]=[_0x5db413,_0x11ad2f]),_0x1cdc7e[_0x1a28('0x20')](_0x11ad2f,_0x5db413);},'isVisible':({plugins:_0x1b3aab},_0x14dcbf)=>{const _0x537cd3=_0x1b3aab[_0x1a28('0x2')](_0x383911);return!(_0x537cd3[_0x1a28('0x3a')][_0x1a28('0x2d')](_0x537cd3['diff'])['length']>0x2)&&!_0x14dcbf[_0x1a28('0x23')];}},'restoreRevision':{'name':_0x1a28('0x27'),'action':(_0x419e72,{id:_0x42d239})=>{_0x419e72[_0x1a28('0x39')][_0x1a28('0x2')]('revisionHistory')['restoreRevisionCallback'](_0x42d239);},'isVisible':({plugins:_0x2210ee},_0x48f847)=>!!_0x2210ee['get'](_0x383911)[_0x1a28('0x3a')][_0x1a28('0x30')](_0x48f847['id'])},'nameRevision':{'name':_0x1a28('0x22'),'action':({plugins:_0x3c6b69},{id:_0x1739ba,revisionNameView:_0x1ad86d})=>{const _0x5456a3=_0x3c6b69[_0x1a28('0x2')](_0x383911),_0x4a1410=_0x5456a3['repository'][_0x1a28('0x33')](_0x1739ba);_0x5456a3[_0x1a28('0x20')](_0x1739ba,_0x4a1410),_0x1ad86d[_0x1a28('0x19')](),_0x1ad86d[_0x1a28('0x29')][_0x1a28('0x2e')]();}}},d['defaultRevisionActions']=[_0x1a28('0xf'),_0x1a28('0x1f'),_0x1a28('0x1e')];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ceb=['ck-revision-history-sidebar__header','setTemplate','ck-reset_all','span'];(function(_0x2e23c9,_0x5cebad){const _0x3479da=function(_0x37c7e3){while(--_0x37c7e3){_0x2e23c9['push'](_0x2e23c9['shift']());}};_0x3479da(++_0x5cebad);}(_0x5ceb,0x125));const _0x3479=function(_0x2e23c9,_0x5cebad){_0x2e23c9=_0x2e23c9-0x0;let _0x3479da=_0x5ceb[_0x2e23c9];return _0x3479da;};import{View as _0x2ebbf5,IconView as _0x572a5a}from'ckeditor5/src/ui';import{getTranslation as _0x5b9cde}from'../../utils/common-translations';import _0x43eaee from'../../../theme/icons/revision-history.svg';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class cs extends _0x2ebbf5{constructor(_0x448765){super(_0x448765);const _0x3d8dab=new _0x572a5a(_0x448765);_0x3d8dab['content']=_0x43eaee,this[_0x3479('0x0')]({'tag':'div','attributes':{'class':['ck',_0x3479('0x1'),_0x3479('0x3')]},'children':[_0x3d8dab,{'tag':_0x3479('0x2'),'attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[_0x5b9cde(_0x448765,'Revision\x20history')]}]});}}
23
+ const _0x48eb=['ck-reset_all','ck-revision-history-sidebar__header__label','ck-revision-history-sidebar__header','span','setTemplate'];(function(_0x4ab5f8,_0x48eb0d){const _0x457aa6=function(_0x4b7dde){while(--_0x4b7dde){_0x4ab5f8['push'](_0x4ab5f8['shift']());}};_0x457aa6(++_0x48eb0d);}(_0x48eb,0x19e));const _0x457a=function(_0x4ab5f8,_0x48eb0d){_0x4ab5f8=_0x4ab5f8-0x0;let _0x457aa6=_0x48eb[_0x4ab5f8];return _0x457aa6;};import{View as _0x150e4f,IconView as _0x1c7a87}from'ckeditor5/src/ui';import{getTranslation as _0x21868d}from'../../utils/common-translations';import _0x530e5f from'../../../theme/icons/revision-history.svg';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class cs extends _0x150e4f{constructor(_0xb9c1d3){super(_0xb9c1d3);const _0x3253e7=new _0x1c7a87(_0xb9c1d3);_0x3253e7['content']=_0x530e5f,this[_0x457a('0x0')]({'tag':'div','attributes':{'class':['ck',_0x457a('0x1'),_0x457a('0x3')]},'children':[_0x3253e7,{'tag':_0x457a('0x4'),'attributes':{'class':['ck',_0x457a('0x2')]},'children':[_0x21868d(_0xb9c1d3,'Revision\x20history')]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d7c=['ck-revision-history-sidebar__time-period__revisions','ck-revision-history-sidebar__time-period__label','_revisionActions','addRevision','startDate','localizedPeriodName','add','revisionViews','delegate','div','createCollection','select','uiLanguage','span','locale','find','removeRevision','setName','ck-revision-history-sidebar__time-period'];(function(_0x210c4e,_0x5d7ca2){const _0x584fd9=function(_0x3a8c19){while(--_0x3a8c19){_0x210c4e['push'](_0x210c4e['shift']());}};_0x584fd9(++_0x5d7ca2);}(_0x5d7c,0xee));const _0x584f=function(_0x210c4e,_0x5d7ca2){_0x210c4e=_0x210c4e-0x0;let _0x584fd9=_0x5d7c[_0x210c4e];return _0x584fd9;};import{View as _0x53b567}from'ckeditor5/src/ui';import _0x19579e from'../revision/revisionview';import{getDateTimePeriodInfo as _0x15d5fb}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x53b567{constructor(_0x142c98,_0x1031db,_0x205b52){super(_0x142c98);const _0x49d37a=_0x15d5fb(_0x1031db,this['locale'][_0x584f('0x2')])[_0x584f('0xe')];this[_0x584f('0xd')]=_0x1031db,this[_0x584f('0xb')]=_0x205b52,this[_0x584f('0x10')]=this[_0x584f('0x0')](),this[_0x584f('0x10')][_0x584f('0x11')](_0x584f('0x1'))['to'](this),this[_0x584f('0x10')]['delegate'](_0x584f('0x7'))['to'](this),this['setTemplate']({'tag':_0x584f('0x12'),'attributes':{'class':['ck',_0x584f('0x8')]},'children':[{'tag':_0x584f('0x3'),'attributes':{'class':['ck',_0x584f('0xa')]},'children':[{'text':_0x49d37a}]},{'tag':_0x584f('0x12'),'attributes':{'class':['ck',_0x584f('0x9')]},'children':this[_0x584f('0x10')]}]});}[_0x584f('0xc')](_0x2a1f1c){const _0x43fea3=new _0x19579e(this[_0x584f('0x4')],_0x2a1f1c,this[_0x584f('0xb')]);this[_0x584f('0x10')][_0x584f('0xf')](_0x43fea3);}[_0x584f('0x6')](_0x24b8ed){const _0x324038=this[_0x584f('0x10')][_0x584f('0x5')](_0x152965=>_0x152965['id']===_0x24b8ed['id']);this[_0x584f('0x10')]['remove'](_0x324038);}}
23
+ const _0x2f11=['removeRevision','locale','_revisionActions','add','ck-revision-history-sidebar__time-period__label','ck-revision-history-sidebar__time-period__revisions','addRevision','remove','setTemplate','delegate','localizedPeriodName','select','revisionViews','createCollection','div','setName','ck-revision-history-sidebar__time-period','span','startDate'];(function(_0x3a3a95,_0x2f114a){const _0x5bdef8=function(_0x50e761){while(--_0x50e761){_0x3a3a95['push'](_0x3a3a95['shift']());}};_0x5bdef8(++_0x2f114a);}(_0x2f11,0x158));const _0x5bde=function(_0x3a3a95,_0x2f114a){_0x3a3a95=_0x3a3a95-0x0;let _0x5bdef8=_0x2f11[_0x3a3a95];return _0x5bdef8;};import{View as _0xb4b661}from'ckeditor5/src/ui';import _0x3f3b5d from'../revision/revisionview';import{getDateTimePeriodInfo as _0xf8838f}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0xb4b661{constructor(_0x3be035,_0x47940a,_0x51422c){super(_0x3be035);const _0x44db3d=_0xf8838f(_0x47940a,this['locale']['uiLanguage'])[_0x5bde('0x8')];this[_0x5bde('0x10')]=_0x47940a,this[_0x5bde('0x0')]=_0x51422c,this[_0x5bde('0xa')]=this[_0x5bde('0xb')](),this[_0x5bde('0xa')][_0x5bde('0x7')](_0x5bde('0x9'))['to'](this),this['revisionViews'][_0x5bde('0x7')](_0x5bde('0xd'))['to'](this),this[_0x5bde('0x6')]({'tag':'div','attributes':{'class':['ck',_0x5bde('0xe')]},'children':[{'tag':_0x5bde('0xf'),'attributes':{'class':['ck',_0x5bde('0x2')]},'children':[{'text':_0x44db3d}]},{'tag':_0x5bde('0xc'),'attributes':{'class':['ck',_0x5bde('0x3')]},'children':this['revisionViews']}]});}[_0x5bde('0x4')](_0x578468){const _0x5d3b50=new _0x3f3b5d(this[_0x5bde('0x12')],_0x578468,this[_0x5bde('0x0')]);this[_0x5bde('0xa')][_0x5bde('0x1')](_0x5d3b50);}[_0x5bde('0x11')](_0x127267){const _0x3be456=this[_0x5bde('0xa')]['find'](_0x30b29e=>_0x30b29e['id']===_0x127267['id']);this[_0x5bde('0xa')][_0x5bde('0x5')](_0x3be456);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1df7=['add','_addRevision','createdAt','revisionSelected','remove','timePeriodViews','delegate','highlightRevisions','_revisionActions','fire','locale','getTime','highlight','bindTemplate','unhighlight','setName','revisionViews','ck-rounded-corners','setTemplate','isEnabled','map','_getTimePeriodViewByStartDate','_revisions','ck-revision-history-sidebar__timeline','ck-disabled','ck-revision-history-sidebar','div','startDate','render','_removeRevision','addRevision','deselect','select','ck-reset'];(function(_0x545ef6,_0x1df736){const _0x196a25=function(_0x213d43){while(--_0x213d43){_0x545ef6['push'](_0x545ef6['shift']());}};_0x196a25(++_0x1df736);}(_0x1df7,0x1c6));const _0x196a=function(_0x545ef6,_0x1df736){_0x545ef6=_0x545ef6-0x0;let _0x196a25=_0x1df7[_0x545ef6];return _0x196a25;};import{View as _0x137a89}from'ckeditor5/src/ui';import _0xbae6d5 from'./revisionssidebartimeperiodview';import _0x5f08d4 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x37b505}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x137a89{constructor(_0x5386bc,_0x37d716,_0x4b0aa4){super(_0x5386bc);const _0x30da8e=this[_0x196a('0x1')];this[_0x196a('0x1b')]=this['createCollection'](),this['timePeriodViews'][_0x196a('0x1c')](_0x196a('0x14'))['to'](this),this[_0x196a('0x1b')][_0x196a('0x1c')](_0x196a('0x3'))['to'](this),this[_0x196a('0xa')]=_0x37d716,this[_0x196a('0x1e')]=_0x4b0aa4,this['on']('select',(_0x25ff14,_0x284f38)=>{this[_0x196a('0x1f')](_0x196a('0x19'),_0x284f38);}),this['on'](_0x196a('0x3'),(_0x4c1b04,_0x58e7b2)=>{this[_0x196a('0x1f')]('revisionSetName',_0x58e7b2);}),this['set'](_0x196a('0x7'),!0x1),this[_0x196a('0x6')]({'tag':_0x196a('0xe'),'attributes':{'class':['ck',_0x196a('0x15'),_0x196a('0x5'),_0x196a('0xd')]},'children':[new _0x5f08d4(_0x5386bc),{'tag':'div','attributes':{'class':['ck',_0x196a('0xb'),_0x30da8e['if'](_0x196a('0x7'),_0x196a('0xc'),_0x2952d7=>!_0x2952d7)]},'children':this[_0x196a('0x1b')]}]});}[_0x196a('0x10')](){super[_0x196a('0x10')]();for(const _0x2e8553 of this['_revisions'])this[_0x196a('0x17')](_0x2e8553);this[_0x196a('0xa')]['on'](_0x196a('0x16'),(_0x94417d,_0x1a2488)=>{this[_0x196a('0x17')](_0x1a2488);}),this[_0x196a('0xa')]['on'](_0x196a('0x1a'),(_0x5c36f1,_0x4e4ccd)=>{this[_0x196a('0x11')](_0x4e4ccd);});}get[_0x196a('0x4')](){return this[_0x196a('0x1b')][_0x196a('0x8')](_0x484c0c=>_0x484c0c[_0x196a('0x4')][_0x196a('0x8')](_0x2fad10=>_0x2fad10))['flat']();}['selectRevision'](_0x4be79c){for(const _0xa74e6c of this[_0x196a('0x4')])_0x4be79c&&_0x4be79c['id']===_0xa74e6c['id']?_0xa74e6c[_0x196a('0x14')]():_0xa74e6c[_0x196a('0x13')]();}[_0x196a('0x1d')](_0x1d9ccc){for(const _0x2513a1 of this[_0x196a('0x4')])_0x1d9ccc['some'](({id:_0x484d6d})=>_0x484d6d===_0x2513a1['id'])?_0x2513a1[_0x196a('0x0')]():_0x2513a1[_0x196a('0x2')]();}['_addRevision'](_0x1f65f2){const _0x77d266=_0x37b505(_0x1f65f2[_0x196a('0x18')])[_0x196a('0xf')];let _0x39e3d1=this[_0x196a('0x1b')]['get'](0x0);_0x39e3d1&&_0x39e3d1[_0x196a('0xf')][_0x196a('0x21')]()===_0x77d266['getTime']()||(_0x39e3d1=new _0xbae6d5(this[_0x196a('0x20')],_0x77d266,this[_0x196a('0x1e')]),this[_0x196a('0x1b')][_0x196a('0x16')](_0x39e3d1)),_0x39e3d1[_0x196a('0x12')](_0x1f65f2);}[_0x196a('0x11')](_0x164bf5){const _0x2288a2=_0x37b505(_0x164bf5[_0x196a('0x18')])[_0x196a('0xf')];this[_0x196a('0x9')](_0x2288a2)['removeRevision'](_0x164bf5);}[_0x196a('0x9')](_0x4f737b){return this[_0x196a('0x1b')]['find'](_0x46cc2c=>_0x46cc2c[_0x196a('0xf')][_0x196a('0x21')]()===_0x4f737b[_0x196a('0x21')]());}}
23
+ const _0x51db=['ck-reset','render','_revisionActions','timePeriodViews','addRevision','remove','add','createdAt','some','_getTimePeriodViewByStartDate','selectRevision','ck-disabled','select','createCollection','highlight','startDate','setTemplate','fire','flat','_revisions','get','map','delegate','revisionViews','highlightRevisions','find','getTime','deselect','ck-rounded-corners','_addRevision','setName','_removeRevision','div','unhighlight','isEnabled','bindTemplate','ck-revision-history-sidebar'];(function(_0x1240f1,_0x51db4c){const _0x3e1199=function(_0x3a059f){while(--_0x3a059f){_0x1240f1['push'](_0x1240f1['shift']());}};_0x3e1199(++_0x51db4c);}(_0x51db,0xb0));const _0x3e11=function(_0x1240f1,_0x51db4c){_0x1240f1=_0x1240f1-0x0;let _0x3e1199=_0x51db[_0x1240f1];return _0x3e1199;};import{View as _0x2108b0}from'ckeditor5/src/ui';import _0x70d4a5 from'./revisionssidebartimeperiodview';import _0x2b4969 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x1e693c}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x2108b0{constructor(_0x1de9f6,_0x3b3fa1,_0x5cb135){super(_0x1de9f6);const _0x22cd1f=this[_0x3e11('0x7')];this['timePeriodViews']=this[_0x3e11('0x16')](),this[_0x3e11('0xc')][_0x3e11('0x1f')](_0x3e11('0x15'))['to'](this),this['timePeriodViews'][_0x3e11('0x1f')](_0x3e11('0x2'))['to'](this),this[_0x3e11('0x1c')]=_0x3b3fa1,this['_revisionActions']=_0x5cb135,this['on'](_0x3e11('0x15'),(_0x187031,_0x5ed45d)=>{this[_0x3e11('0x1a')]('revisionSelected',_0x5ed45d);}),this['on'](_0x3e11('0x2'),(_0x2dd3bc,_0xc7f2ea)=>{this['fire']('revisionSetName',_0xc7f2ea);}),this['set'](_0x3e11('0x6'),!0x1),this[_0x3e11('0x19')]({'tag':_0x3e11('0x4'),'attributes':{'class':['ck',_0x3e11('0x9'),_0x3e11('0x0'),_0x3e11('0x8')]},'children':[new _0x2b4969(_0x1de9f6),{'tag':_0x3e11('0x4'),'attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x22cd1f['if'](_0x3e11('0x6'),_0x3e11('0x14'),_0x24a0e6=>!_0x24a0e6)]},'children':this['timePeriodViews']}]});}[_0x3e11('0xa')](){super[_0x3e11('0xa')]();for(const _0x57fce9 of this[_0x3e11('0x1c')])this['_addRevision'](_0x57fce9);this[_0x3e11('0x1c')]['on']('add',(_0x2539f2,_0xf3d6b9)=>{this[_0x3e11('0x1')](_0xf3d6b9);}),this[_0x3e11('0x1c')]['on'](_0x3e11('0xe'),(_0x1f3751,_0x5855a4)=>{this[_0x3e11('0x3')](_0x5855a4);});}get[_0x3e11('0x20')](){return this[_0x3e11('0xc')][_0x3e11('0x1e')](_0x627b3=>_0x627b3['revisionViews'][_0x3e11('0x1e')](_0x9c4069=>_0x9c4069))[_0x3e11('0x1b')]();}[_0x3e11('0x13')](_0x1e3af3){for(const _0x1fd9c6 of this[_0x3e11('0x20')])_0x1e3af3&&_0x1e3af3['id']===_0x1fd9c6['id']?_0x1fd9c6[_0x3e11('0x15')]():_0x1fd9c6[_0x3e11('0x24')]();}[_0x3e11('0x21')](_0xec385e){for(const _0x31d1db of this['revisionViews'])_0xec385e[_0x3e11('0x11')](({id:_0x16acb3})=>_0x16acb3===_0x31d1db['id'])?_0x31d1db[_0x3e11('0x17')]():_0x31d1db[_0x3e11('0x5')]();}[_0x3e11('0x1')](_0x32a08f){const _0x4ace12=_0x1e693c(_0x32a08f[_0x3e11('0x10')])[_0x3e11('0x18')];let _0x492824=this[_0x3e11('0xc')][_0x3e11('0x1d')](0x0);_0x492824&&_0x492824[_0x3e11('0x18')]['getTime']()===_0x4ace12[_0x3e11('0x23')]()||(_0x492824=new _0x70d4a5(this['locale'],_0x4ace12,this[_0x3e11('0xb')]),this[_0x3e11('0xc')][_0x3e11('0xf')](_0x492824)),_0x492824[_0x3e11('0xd')](_0x32a08f);}[_0x3e11('0x3')](_0x1400f9){const _0x559509=_0x1e693c(_0x1400f9[_0x3e11('0x10')])[_0x3e11('0x18')];this['_getTimePeriodViewByStartDate'](_0x559509)['removeRevision'](_0x1400f9);}[_0x3e11('0x12')](_0x30b1df){return this[_0x3e11('0xc')][_0x3e11('0x22')](_0x4b8a9b=>_0x4b8a9b['startDate'][_0x3e11('0x23')]()===_0x30b1df[_0x3e11('0x23')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e81=['toRelativeCalendar','minus','startOf','hasSame','day','toJSDate','month','fromJSDate','year','local','week','monthLong'];(function(_0x663356,_0x3e815d){const _0x1dc449=function(_0x4dba69){while(--_0x4dba69){_0x663356['push'](_0x663356['shift']());}};_0x1dc449(++_0x3e815d);}(_0x3e81,0x7e));const _0x1dc4=function(_0x663356,_0x3e815d){_0x663356=_0x663356-0x0;let _0x1dc449=_0x3e81[_0x663356];return _0x1dc449;};import{DateTime as _0x4e915a}from'luxon';export function getDateTimePeriodInfo(_0x37cb7d,_0x28b0ae){_0x37cb7d=_0x4e915a[_0x1dc4('0x1')](_0x37cb7d)['setLocale'](_0x28b0ae);const _0x86a493=_0x4e915a[_0x1dc4('0x3')](),_0x1b8d84=_0x86a493[_0x1dc4('0x7')]({'days':0x1})[_0x1dc4('0x8')](_0x1dc4('0xa'));let _0x3cc86d,_0x373ac0;return _0x37cb7d[_0x1dc4('0x9')](_0x86a493,_0x1dc4('0xa'))?(_0x3cc86d=_0x37cb7d[_0x1dc4('0x8')](_0x1dc4('0xa'))[_0x1dc4('0xb')](),_0x373ac0=_0x37cb7d[_0x1dc4('0x6')]()):_0x37cb7d[_0x1dc4('0x9')](_0x1b8d84,_0x1dc4('0xa'))?(_0x3cc86d=_0x1b8d84['toJSDate'](),_0x373ac0=_0x37cb7d[_0x1dc4('0x6')]()):_0x37cb7d[_0x1dc4('0x9')](_0x86a493,'week')?(_0x3cc86d=_0x37cb7d[_0x1dc4('0x8')](_0x1dc4('0x4'))['toJSDate'](),_0x373ac0=_0x37cb7d['weekdayLong']):_0x37cb7d['hasSame'](_0x86a493,'year')?(_0x3cc86d=_0x37cb7d[_0x1dc4('0x8')](_0x1dc4('0x0'))[_0x1dc4('0xb')](),_0x373ac0=_0x37cb7d[_0x1dc4('0x5')]):(_0x3cc86d=_0x37cb7d[_0x1dc4('0x8')]('year')[_0x1dc4('0xb')](),_0x373ac0=_0x37cb7d[_0x1dc4('0x2')]),{'startDate':_0x3cc86d,'localizedPeriodName':_0x373ac0};}
23
+ const _0x35f9=['hasSame','month','fromJSDate','year','toJSDate','setLocale','week','monthLong','minus','startOf','day','toRelativeCalendar'];(function(_0x26d02b,_0x35f9ee){const _0x4682bd=function(_0x108cef){while(--_0x108cef){_0x26d02b['push'](_0x26d02b['shift']());}};_0x4682bd(++_0x35f9ee);}(_0x35f9,0x107));const _0x4682=function(_0x26d02b,_0x35f9ee){_0x26d02b=_0x26d02b-0x0;let _0x4682bd=_0x35f9[_0x26d02b];return _0x4682bd;};import{DateTime as _0x568003}from'luxon';export function getDateTimePeriodInfo(_0x140e3e,_0x3b2c1e){_0x140e3e=_0x568003[_0x4682('0x3')](_0x140e3e)[_0x4682('0x6')](_0x3b2c1e);const _0x56ed67=_0x568003['local'](),_0x3fee43=_0x56ed67[_0x4682('0x9')]({'days':0x1})[_0x4682('0xa')](_0x4682('0xb'));let _0x3f6443,_0x345a3e;return _0x140e3e[_0x4682('0x1')](_0x56ed67,_0x4682('0xb'))?(_0x3f6443=_0x140e3e[_0x4682('0xa')](_0x4682('0xb'))[_0x4682('0x5')](),_0x345a3e=_0x140e3e[_0x4682('0x0')]()):_0x140e3e[_0x4682('0x1')](_0x3fee43,_0x4682('0xb'))?(_0x3f6443=_0x3fee43[_0x4682('0x5')](),_0x345a3e=_0x140e3e[_0x4682('0x0')]()):_0x140e3e['hasSame'](_0x56ed67,_0x4682('0x7'))?(_0x3f6443=_0x140e3e[_0x4682('0xa')](_0x4682('0x7'))[_0x4682('0x5')](),_0x345a3e=_0x140e3e['weekdayLong']):_0x140e3e['hasSame'](_0x56ed67,_0x4682('0x4'))?(_0x3f6443=_0x140e3e[_0x4682('0xa')](_0x4682('0x2'))['toJSDate'](),_0x345a3e=_0x140e3e[_0x4682('0x8')]):(_0x3f6443=_0x140e3e[_0x4682('0xa')](_0x4682('0x4'))[_0x4682('0x5')](),_0x345a3e=_0x140e3e['year']),{'startDate':_0x3f6443,'localizedPeriodName':_0x345a3e};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33cf=['set','setTemplate','Removed\x20by','type','div','ck-revision-change__label','element','isSuggestion','bindTemplate','Suggested\x20by','focus','span','author','ck-annotation','ck-revision-change','ck-revision-change__'];(function(_0x1fab74,_0x33cf6a){const _0x31ba5b=function(_0x5bdfcb){while(--_0x5bdfcb){_0x1fab74['push'](_0x1fab74['shift']());}};_0x31ba5b(++_0x33cf6a);}(_0x33cf,0xe9));const _0x31ba=function(_0x1fab74,_0x33cf6a){_0x1fab74=_0x1fab74-0x0;let _0x31ba5b=_0x33cf[_0x1fab74];return _0x31ba5b;};import{View as _0x4b92a8}from'ckeditor5/src/ui';import{getTranslation as _0x2b93ee}from'../../utils/common-translations';export default class X extends _0x4b92a8{constructor(_0x134734,_0x4f0906){super(_0x134734),this['_model']=_0x4f0906;const _0x236278=this[_0x31ba('0xf')],_0x53b6c7=_0x2b93ee(_0x134734,_0x4f0906['data'][_0x31ba('0xe')]?_0x31ba('0x0'):'add'==_0x4f0906['type']?'Added\x20by':_0x31ba('0x9'));this[_0x31ba('0x7')](_0x31ba('0xa'),_0x4f0906[_0x31ba('0xa')]),this[_0x31ba('0x8')]({'tag':_0x31ba('0xb'),'attributes':{'class':[_0x31ba('0x4'),_0x31ba('0x5'),_0x236278['to'](_0x31ba('0xa'),_0x566c80=>_0x31ba('0x6')+_0x566c80)],'tabindex':-0x1},'children':[{'tag':_0x31ba('0x2'),'children':[{'tag':'span','attributes':{'class':[_0x31ba('0xc')]},'children':[{'text':_0x53b6c7}]},{'text':'\x20'+_0x4f0906[_0x31ba('0x3')]['name']}]}]});}[_0x31ba('0x1')](){this[_0x31ba('0xd')][_0x31ba('0x1')]();}}
23
+ const _0x5b1b=['author','span','name','type','isSuggestion','data','Added\x20by','add','_model','div','setTemplate','focus','ck-revision-change','set'];(function(_0x414274,_0x5b1b2c){const _0x278c28=function(_0x57fcbf){while(--_0x57fcbf){_0x414274['push'](_0x414274['shift']());}};_0x278c28(++_0x5b1b2c);}(_0x5b1b,0x176));const _0x278c=function(_0x414274,_0x5b1b2c){_0x414274=_0x414274-0x0;let _0x278c28=_0x5b1b[_0x414274];return _0x278c28;};import{View as _0x5e8cbe}from'ckeditor5/src/ui';import{getTranslation as _0x3fabd2}from'../../utils/common-translations';export default class G extends _0x5e8cbe{constructor(_0x15f96d,_0x231a7d){super(_0x15f96d),this[_0x278c('0xc')]=_0x231a7d;const _0x2496fb=this['bindTemplate'],_0x508b19=_0x3fabd2(_0x15f96d,_0x231a7d[_0x278c('0x9')][_0x278c('0x8')]?'Suggested\x20by':_0x278c('0xb')==_0x231a7d['type']?_0x278c('0xa'):'Removed\x20by');this[_0x278c('0x3')](_0x278c('0x7'),_0x231a7d[_0x278c('0x7')]),this[_0x278c('0x0')]({'tag':_0x278c('0xd'),'attributes':{'class':['ck-annotation',_0x278c('0x2'),_0x2496fb['to']('type',_0x46e42b=>'ck-revision-change__'+_0x46e42b)],'tabindex':-0x1},'children':[{'tag':_0x278c('0x5'),'children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x508b19}]},{'text':'\x20'+_0x231a7d[_0x278c('0x4')][_0x278c('0x6')]}]}]});}['focus'](){this['element'][_0x278c('0x1')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47c0=['isReady','X_OF_Y_CHANGES','ck-revision-history-ui__changes-navigation__navigation','bindTemplate','bind','isBackwardNavigationEnabled','EDIT_X_OF_Y_REVISIONS','set','div','isForwardNavigationEnabled','ck-revision-history-ui__changes-navigation','_isStatusLabelVisible','currentChangeNumber','fire','isEnabled','Show\x20next\x20change','_statusText','numberOfChanges','Total','isNavigationMode','Show\x20previous\x20change','execute','No\x20changes'];(function(_0x2cbeb9,_0x47c0d6){const _0x1efbdf=function(_0x1e28b3){while(--_0x1e28b3){_0x2cbeb9['push'](_0x2cbeb9['shift']());}};_0x1efbdf(++_0x47c0d6);}(_0x47c0,0x120));const _0x1efb=function(_0x2cbeb9,_0x47c0d6){_0x2cbeb9=_0x2cbeb9-0x0;let _0x1efbdf=_0x47c0[_0x2cbeb9];return _0x1efbdf;};import{View as _0x2df33b,ButtonView as _0x34ca8e,ToolbarSeparatorView as _0x123144}from'ckeditor5/src/ui';import{getTranslation as _0x441726}from'../../utils/common-translations';import _0x39f40b from'../../../theme/icons/arrow-up.svg';import _0x17e674 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x2df33b{constructor(_0x43fa60){super(_0x43fa60);const _0x351083=this[_0x1efb('0xe')],_0x12d125=new _0x34ca8e(_0x43fa60),_0x15eaf8=new _0x34ca8e(_0x43fa60);this[_0x1efb('0x12')](_0x1efb('0x7'),!0x1),this['set'](_0x1efb('0xb'),!0x1),this['set'](_0x1efb('0x0'),0x0),this[_0x1efb('0x12')](_0x1efb('0x5'),0x0),this[_0x1efb('0x12')]('isForwardNavigationEnabled',!0x1),this[_0x1efb('0x12')](_0x1efb('0x10'),!0x1),this[_0x1efb('0xf')](_0x1efb('0x16'))['to'](this,'isReady',this,_0x1efb('0x5'),(_0x35ae69,_0x2d1176)=>_0x35ae69&&_0x2d1176>0x0),this[_0x1efb('0xf')](_0x1efb('0x4'))['to'](this,_0x1efb('0xb'),this,_0x1efb('0x0'),this,_0x1efb('0x5'),this,_0x1efb('0x7'),(_0x249986,_0x1824ad,_0x261f77,_0x5d36b0)=>{if(!_0x249986)return _0x441726(_0x43fa60,'Loading...');if(!_0x261f77)return _0x441726(_0x43fa60,_0x1efb('0xa'));const _0x521c3f=_0x441726(_0x43fa60,'NUMBER_OF_CHANGES',_0x261f77);return _0x5d36b0?_0x441726(_0x43fa60,_0x1efb('0xc'),[_0x1824ad+0x1,_0x261f77]):_0x521c3f;}),_0x12d125['set']({'label':_0x441726(_0x43fa60,_0x1efb('0x8')),'tooltip':!0x0,'icon':_0x39f40b}),_0x15eaf8[_0x1efb('0x12')]({'label':_0x441726(_0x43fa60,_0x1efb('0x3')),'tooltip':!0x0,'icon':_0x17e674}),_0x12d125[_0x1efb('0xf')](_0x1efb('0x2'))['to'](this,_0x1efb('0x10')),_0x15eaf8[_0x1efb('0xf')](_0x1efb('0x2'))['to'](this,_0x1efb('0x14')),_0x12d125['on'](_0x1efb('0x9'),()=>this[_0x1efb('0x1')](_0x1efb('0x9'),'backward')),_0x15eaf8['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':_0x1efb('0x13'),'attributes':{'class':['ck','ck-revision-history-ui',_0x1efb('0x15')]},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x351083['if'](_0x1efb('0x16'),'ck-hidden',_0x5060c9=>!_0x5060c9)]},'children':[{'text':_0x351083['to']('isNavigationMode',_0x32c961=>_0x32c961?_0x441726(_0x43fa60,_0x1efb('0x11'))+':\x20':_0x441726(_0x43fa60,_0x1efb('0x6'))+':\x20')}]},{'text':_0x351083['to'](_0x1efb('0x4'))}]},new _0x123144(),{'tag':_0x1efb('0x13'),'attributes':{'class':[_0x1efb('0xd')]},'children':[_0x12d125,_0x15eaf8]}]});}}
23
+ const _0xb1d0=['setTemplate','div','_statusText','ck-revision-history-ui__changes-navigation__navigation','ck-revision-history-ui__changes-navigation','backward','Show\x20previous\x20change','set','X_OF_Y_CHANGES','fire','execute','span','isNavigationMode','isForwardNavigationEnabled','isBackwardNavigationEnabled','_isStatusLabelVisible','ck-revision-history-ui','isEnabled','numberOfChanges','NUMBER_OF_CHANGES','bind','bindTemplate','isReady','currentChangeNumber','Loading...'];(function(_0x532003,_0xb1d09e){const _0x2792dc=function(_0xf2631a){while(--_0xf2631a){_0x532003['push'](_0x532003['shift']());}};_0x2792dc(++_0xb1d09e);}(_0xb1d0,0x1c1));const _0x2792=function(_0x532003,_0xb1d09e){_0x532003=_0x532003-0x0;let _0x2792dc=_0xb1d0[_0x532003];return _0x2792dc;};import{View as _0x154fa5,ButtonView as _0x16c042,ToolbarSeparatorView as _0x8c6862}from'ckeditor5/src/ui';import{getTranslation as _0x1f0691}from'../../utils/common-translations';import _0x1b8a11 from'../../../theme/icons/arrow-up.svg';import _0x33028f from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x154fa5{constructor(_0x23198d){super(_0x23198d);const _0x50b98d=this[_0x2792('0x16')],_0x23bf75=new _0x16c042(_0x23198d),_0x3d8a5f=new _0x16c042(_0x23198d);this['set']('isNavigationMode',!0x1),this['set'](_0x2792('0x17'),!0x1),this['set']('currentChangeNumber',0x0),this[_0x2792('0x8')](_0x2792('0x13'),0x0),this[_0x2792('0x8')](_0x2792('0xe'),!0x1),this[_0x2792('0x8')](_0x2792('0xf'),!0x1),this[_0x2792('0x15')](_0x2792('0x10'))['to'](this,_0x2792('0x17'),this,'numberOfChanges',(_0xe58574,_0x52bc0b)=>_0xe58574&&_0x52bc0b>0x0),this[_0x2792('0x15')](_0x2792('0x3'))['to'](this,'isReady',this,_0x2792('0x18'),this,'numberOfChanges',this,_0x2792('0xd'),(_0x4a8d64,_0x4dccc5,_0x18448f,_0x38b327)=>{if(!_0x4a8d64)return _0x1f0691(_0x23198d,_0x2792('0x0'));if(!_0x18448f)return _0x1f0691(_0x23198d,'No\x20changes');const _0x15d49d=_0x1f0691(_0x23198d,_0x2792('0x14'),_0x18448f);return _0x38b327?_0x1f0691(_0x23198d,_0x2792('0x9'),[_0x4dccc5+0x1,_0x18448f]):_0x15d49d;}),_0x23bf75[_0x2792('0x8')]({'label':_0x1f0691(_0x23198d,_0x2792('0x7')),'tooltip':!0x0,'icon':_0x1b8a11}),_0x3d8a5f[_0x2792('0x8')]({'label':_0x1f0691(_0x23198d,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0x33028f}),_0x23bf75['bind'](_0x2792('0x12'))['to'](this,_0x2792('0xf')),_0x3d8a5f[_0x2792('0x15')](_0x2792('0x12'))['to'](this,_0x2792('0xe')),_0x23bf75['on']('execute',()=>this[_0x2792('0xa')](_0x2792('0xb'),_0x2792('0x6'))),_0x3d8a5f['on'](_0x2792('0xb'),()=>this['fire'](_0x2792('0xb'),'forward')),this[_0x2792('0x1')]({'tag':_0x2792('0x2'),'attributes':{'class':['ck',_0x2792('0x11'),_0x2792('0x5')]},'children':[{'tag':_0x2792('0xc'),'attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x50b98d['if']('_isStatusLabelVisible','ck-hidden',_0x29f67f=>!_0x29f67f)]},'children':[{'text':_0x50b98d['to'](_0x2792('0xd'),_0x3861ad=>_0x3861ad?_0x1f0691(_0x23198d,'EDIT_X_OF_Y_REVISIONS')+':\x20':_0x1f0691(_0x23198d,'Total')+':\x20')}]},{'text':_0x50b98d['to']('_statusText')}]},new _0x8c6862(),{'tag':_0x2792('0x2'),'attributes':{'class':[_0x2792('0x4')]},'children':[_0x23bf75,_0x3d8a5f]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24fb=['pluginName','view','editor','show','roots','hide','removeClass','RevisionViewerLoadingOverlay','ck-editor__editable__loading-overlay','addClass','document','change','editing'];(function(_0x148908,_0x24fb9b){const _0x3cb78f=function(_0x286261){while(--_0x286261){_0x148908['push'](_0x148908['shift']());}};_0x3cb78f(++_0x24fb9b);}(_0x24fb,0xba));const _0x3cb7=function(_0x148908,_0x24fb9b){_0x148908=_0x148908-0x0;let _0x3cb78f=_0x24fb[_0x148908];return _0x3cb78f;};import{Plugin as _0x3bc774}from'ckeditor5/src/core';import'../../../theme/revisionviewerloadingoverlay.css';export default class oe extends _0x3bc774{static get[_0x3cb7('0x9')](){return _0x3cb7('0x3');}[_0x3cb7('0xc')](){const _0x16f96b=this['editor'][_0x3cb7('0x8')][_0x3cb7('0xa')];_0x16f96b[_0x3cb7('0x7')](_0x136213=>{for(const _0x3e3b9f of _0x16f96b[_0x3cb7('0x6')][_0x3cb7('0x0')])_0x136213[_0x3cb7('0x5')](_0x3cb7('0x4'),_0x3e3b9f);});}[_0x3cb7('0x1')](){const _0x42ab19=this[_0x3cb7('0xb')][_0x3cb7('0x8')][_0x3cb7('0xa')];_0x42ab19[_0x3cb7('0x7')](_0x22a9fc=>{for(const _0x4dba35 of _0x42ab19['document'][_0x3cb7('0x0')])_0x22a9fc[_0x3cb7('0x2')](_0x3cb7('0x4'),_0x4dba35);});}}
23
+ const _0x3aee=['show','pluginName','addClass','RevisionViewerLoadingOverlay','change','document','editor','hide','roots','editing','view'];(function(_0x4a23e7,_0x3aee5b){const _0x220af5=function(_0x3bdf2f){while(--_0x3bdf2f){_0x4a23e7['push'](_0x4a23e7['shift']());}};_0x220af5(++_0x3aee5b);}(_0x3aee,0x19b));const _0x220a=function(_0x4a23e7,_0x3aee5b){_0x4a23e7=_0x4a23e7-0x0;let _0x220af5=_0x3aee[_0x4a23e7];return _0x220af5;};import{Plugin as _0x57f7e0}from'ckeditor5/src/core';const ee='ck-editor__editable__loading-overlay';import'../../../theme/revisionviewerloadingoverlay.css';export default class oe extends _0x57f7e0{static get[_0x220a('0x8')](){return _0x220a('0xa');}[_0x220a('0x7')](){const _0x393a22=this[_0x220a('0x2')][_0x220a('0x5')][_0x220a('0x6')];_0x393a22[_0x220a('0x0')](_0xd28051=>{for(const _0x2db3c3 of _0x393a22[_0x220a('0x1')][_0x220a('0x4')])_0xd28051[_0x220a('0x9')](ee,_0x2db3c3);});}[_0x220a('0x3')](){const _0x46f8fc=this[_0x220a('0x2')][_0x220a('0x5')][_0x220a('0x6')];_0x46f8fc[_0x220a('0x0')](_0x54699e=>{for(const _0x19cbc9 of _0x46f8fc[_0x220a('0x1')][_0x220a('0x4')])_0x54699e['removeClass'](ee,_0x19cbc9);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3673=['plugins','showPreviousChange','isReady','componentFactory','isForwardNavigationEnabled','revisionHistory','isNavigationMode','add','changesNavigation','config','isBackwardNavigationEnabled','get','RevisionViewerUI','isEnabled','set','numberOfChanges','change:isReady','editor','hide','exitToEditing','Restore\x20this\x20revision','listenTo','commands','execute','forward','restoreRevision','closeRevisionViewerCallback','show','pluginName','bind','Back\x20to\x20editing'];(function(_0x2c7ae8,_0x367391){const _0x54bb72=function(_0xa57bd1){while(--_0xa57bd1){_0x2c7ae8['push'](_0x2c7ae8['shift']());}};_0x54bb72(++_0x367391);}(_0x3673,0x11f));const _0x54bb=function(_0x2c7ae8,_0x367391){_0x2c7ae8=_0x2c7ae8-0x0;let _0x54bb72=_0x3673[_0x2c7ae8];return _0x54bb72;};import{Plugin as _0x5b4ed3}from'ckeditor5/src/core';import{ButtonView as _0x17f636}from'ckeditor5/src/ui';import _0x525aac from'./changesnavigationview';import _0x54982a from'./../../revisionviewer';import _0x2393ca from'./revisionviewerloadingoverlay';import{getTranslation as _0x45d8d2}from'../../utils/common-translations';import _0x3418ff from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class m extends _0x5b4ed3{static get[_0x54bb('0x14')](){return _0x54bb('0x4');}static get['requires'](){return[_0x54982a,_0x2393ca];}['init'](){const _0x255bb0=this[_0x54bb('0x9')],_0x3024b4=_0x255bb0[_0x54bb('0x17')][_0x54bb('0x3')](_0x54982a),_0x228841=_0x255bb0[_0x54bb('0x17')][_0x54bb('0x3')](_0x2393ca);_0x255bb0['ui'][_0x54bb('0x1a')][_0x54bb('0x1e')](_0x54bb('0xb'),_0x4510d5=>{const _0x14922e=new _0x17f636(_0x4510d5);return _0x14922e[_0x54bb('0x6')]({'label':_0x45d8d2(_0x4510d5,_0x54bb('0x16')),'icon':_0x3418ff,'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this[_0x54bb('0xd')](_0x14922e,_0x54bb('0xf'),()=>{_0x255bb0[_0x54bb('0x1')][_0x54bb('0x3')](_0x54bb('0x1c'))[_0x54bb('0x12')]();}),_0x14922e;}),_0x255bb0['ui']['componentFactory'][_0x54bb('0x1e')](_0x54bb('0x11'),_0x40c858=>{const _0x15293c=new _0x17f636(_0x40c858);return _0x15293c[_0x54bb('0x6')]({'label':_0x45d8d2(_0x40c858,_0x54bb('0xc')),'withText':!0x0,'tooltip':!0x0}),_0x15293c['bind'](_0x54bb('0x5'))['to'](_0x255bb0[_0x54bb('0xe')][_0x54bb('0x3')](_0x54bb('0x11'))),this[_0x54bb('0xd')](_0x15293c,'execute',()=>_0x255bb0[_0x54bb('0xf')]('restoreRevision')),_0x15293c;}),_0x255bb0['ui'][_0x54bb('0x1a')][_0x54bb('0x1e')](_0x54bb('0x0'),_0x142129=>{const _0x48220c=new _0x525aac(_0x142129),_0x6a440=_0x255bb0[_0x54bb('0xe')][_0x54bb('0x3')](_0x54bb('0x18')),_0x36be3d=_0x255bb0[_0x54bb('0xe')]['get']('showNextChange');return _0x48220c[_0x54bb('0x15')](_0x54bb('0x2'))['to'](_0x6a440,_0x54bb('0x5')),_0x48220c[_0x54bb('0x15')](_0x54bb('0x1b'))['to'](_0x36be3d,_0x54bb('0x5')),_0x48220c['bind'](_0x54bb('0x19'),'currentChangeNumber',_0x54bb('0x7'),_0x54bb('0x1d'))['to'](_0x3024b4),this[_0x54bb('0xd')](_0x48220c,_0x54bb('0xf'),(_0xecf949,_0x51be44)=>{_0x255bb0['execute'](_0x54bb('0x10')===_0x51be44?'showNextChange':_0x54bb('0x18'));}),_0x48220c;}),_0x228841[_0x54bb('0x13')](),_0x3024b4['on'](_0x54bb('0x8'),(_0x5f36e3,_0xefa86c,_0x10e5e6)=>{_0x10e5e6?_0x228841[_0x54bb('0xa')]():_0x228841['show']();});}}
23
+ const _0x4750=['showNextChange','currentChangeNumber','isForwardNavigationEnabled','restoreRevision','RevisionViewerUI','requires','show','init','closeRevisionViewerCallback','numberOfChanges','bind','isEnabled','exitToEditing','get','isReady','execute','showPreviousChange','listenTo','set','revisionHistory','Restore\x20this\x20revision','commands','config','componentFactory','plugins','changesNavigation','hide','isBackwardNavigationEnabled','editor','add'];(function(_0x18105c,_0x47501a){const _0x11066d=function(_0x197f7d){while(--_0x197f7d){_0x18105c['push'](_0x18105c['shift']());}};_0x11066d(++_0x47501a);}(_0x4750,0xc9));const _0x1106=function(_0x18105c,_0x47501a){_0x18105c=_0x18105c-0x0;let _0x11066d=_0x4750[_0x18105c];return _0x11066d;};import{Plugin as _0xb54339}from'ckeditor5/src/core';import{ButtonView as _0x3457e5}from'ckeditor5/src/ui';import _0x2d6306 from'./changesnavigationview';import _0xf53b66 from'./../../revisionviewer';import _0x1ca3f5 from'./revisionviewerloadingoverlay';import{getTranslation as _0x20ed02}from'../../utils/common-translations';import _0x48cf9e from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0xb54339{static get['pluginName'](){return _0x1106('0xd');}static get[_0x1106('0xe')](){return[_0xf53b66,_0x1ca3f5];}[_0x1106('0x10')](){const _0x245e23=this[_0x1106('0x7')],_0x4df554=_0x245e23[_0x1106('0x3')][_0x1106('0x16')](_0xf53b66),_0x422ade=_0x245e23[_0x1106('0x3')][_0x1106('0x16')](_0x1ca3f5);_0x245e23['ui'][_0x1106('0x2')][_0x1106('0x8')](_0x1106('0x15'),_0x24feee=>{const _0x378df0=new _0x3457e5(_0x24feee);return _0x378df0[_0x1106('0x1b')]({'label':_0x20ed02(_0x24feee,'Back\x20to\x20editing'),'icon':_0x48cf9e,'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this[_0x1106('0x1a')](_0x378df0,'execute',()=>{_0x245e23[_0x1106('0x1')][_0x1106('0x16')](_0x1106('0x1c'))[_0x1106('0x11')]();}),_0x378df0;}),_0x245e23['ui'][_0x1106('0x2')][_0x1106('0x8')]('restoreRevision',_0x461259=>{const _0x5dc51a=new _0x3457e5(_0x461259);return _0x5dc51a[_0x1106('0x1b')]({'label':_0x20ed02(_0x461259,_0x1106('0x1d')),'withText':!0x0,'tooltip':!0x0}),_0x5dc51a[_0x1106('0x13')](_0x1106('0x14'))['to'](_0x245e23[_0x1106('0x0')][_0x1106('0x16')]('restoreRevision')),this['listenTo'](_0x5dc51a,'execute',()=>_0x245e23[_0x1106('0x18')](_0x1106('0xc'))),_0x5dc51a;}),_0x245e23['ui'][_0x1106('0x2')]['add'](_0x1106('0x4'),_0x7cb558=>{const _0x2d14e3=new _0x2d6306(_0x7cb558),_0x22a4f0=_0x245e23[_0x1106('0x0')][_0x1106('0x16')](_0x1106('0x19')),_0x5d3a19=_0x245e23['commands'][_0x1106('0x16')](_0x1106('0x9'));return _0x2d14e3['bind'](_0x1106('0x6'))['to'](_0x22a4f0,_0x1106('0x14')),_0x2d14e3[_0x1106('0x13')](_0x1106('0xb'))['to'](_0x5d3a19,_0x1106('0x14')),_0x2d14e3[_0x1106('0x13')](_0x1106('0x17'),_0x1106('0xa'),_0x1106('0x12'),'isNavigationMode')['to'](_0x4df554),this[_0x1106('0x1a')](_0x2d14e3,'execute',(_0x2729d5,_0x2ddb46)=>{_0x245e23['execute']('forward'===_0x2ddb46?_0x1106('0x9'):_0x1106('0x19'));}),_0x2d14e3;}),_0x422ade[_0x1106('0xf')](),_0x4df554['on']('change:isReady',(_0x24bbb6,_0x2e9fc7,_0x3bda1f)=>{_0x3bda1f?_0x422ade[_0x1106('0x5')]():_0x422ade[_0x1106('0xf')]();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x1d6491,_0x3cfb21,_0x3dba83){const t=_0x1d6491['t'];switch(_0x3cfb21){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'},_0x3dba83);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3dba83);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'});}}
23
+ export function getTranslation(_0x3400b2,_0x19a744,_0x9f382b){const t=_0x3400b2['t'];switch(_0x19a744){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'},_0x9f382b);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x9f382b);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'});}}