@ckeditor/ckeditor5-revision-history 44.1.0-alpha.0 → 44.1.0-alpha.1

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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x87bcd0=_0x2ee1;(function(_0x5b3507,_0x39a839){const _0x5c238d=_0x2ee1,_0x41e605=_0x5b3507();while(!![]){try{const _0x50239f=parseInt(_0x5c238d(0x108))/0x1*(parseInt(_0x5c238d(0x10e))/0x2)+-parseInt(_0x5c238d(0x101))/0x3*(parseInt(_0x5c238d(0x129))/0x4)+-parseInt(_0x5c238d(0x121))/0x5*(-parseInt(_0x5c238d(0x112))/0x6)+-parseInt(_0x5c238d(0xfa))/0x7*(parseInt(_0x5c238d(0x110))/0x8)+-parseInt(_0x5c238d(0xff))/0x9+-parseInt(_0x5c238d(0x109))/0xa+-parseInt(_0x5c238d(0x106))/0xb*(-parseInt(_0x5c238d(0x123))/0xc);if(_0x50239f===_0x39a839)break;else _0x41e605['push'](_0x41e605['shift']());}catch(_0x2a3563){_0x41e605['push'](_0x41e605['shift']());}}}(_0xc36e,0xb8cd8));import{icons as _0x248ab3,Plugin as _0x2a54f3}from'ckeditor5/src/core.js';function _0x2ee1(_0x59e1ba,_0x2274fd){const _0xc36ec0=_0xc36e();return _0x2ee1=function(_0x2ee1af,_0x1c843d){_0x2ee1af=_0x2ee1af-0xf8;let _0x3ac6c4=_0xc36ec0[_0x2ee1af];return _0x3ac6c4;},_0x2ee1(_0x59e1ba,_0x2274fd);}import{ButtonView as _0x144264}from'ckeditor5/src/ui.js';import _0x2fd6f3 from'./changesnavigationview.js';import _0x15c176 from'./../../revisionviewer.js';import _0x54ea3a from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x13022e}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0xc36e(){const _0x31d0c8=['pluginName','140RCRniq','change:isReady','Back\x20to\x20editing','Restore\x20this\x20revision','ck-revision-history-ui__back-to-editing','3955968RMDfFT','isBackwardNavigationEnabled','1707xYXauZ','isForwardNavigationEnabled','RevisionViewerUI','init','get','11LevPgH','commands','20WYgwTd','12240960zXpAIQ','closeRevisionViewerCallback','componentFactory','requires','isReady','105898bOYDgn','restoreRevision','515608htrDLK','add','441162EZCekX','hide','changesNavigation','isOfficialPlugin','forward','show','exitToEditing','numberOfChanges','isEnabled','set','editor','plugins','showNextChange','showPreviousChange','undo','40GXVzHe','revisionHistory','32130156KyDWpS','config','listenTo','isNavigationMode','currentChangeNumber','bind','4324NgCacK','isPremiumPlugin','execute'];_0xc36e=function(){return _0x31d0c8;};return _0xc36e();}export default class m extends _0x2a54f3{static get[_0x87bcd0(0xf9)](){const _0x2556ca=_0x87bcd0;return _0x2556ca(0x103);}static get[_0x87bcd0(0x115)](){return!0x0;}static get[_0x87bcd0(0x12a)](){return!0x0;}static get[_0x87bcd0(0x10c)](){return[_0x15c176,_0x54ea3a];}[_0x87bcd0(0x104)](){const _0x1e5941=_0x87bcd0,_0x5747fb=this[_0x1e5941(0x11c)],_0x2d87e6=_0x5747fb[_0x1e5941(0x11d)][_0x1e5941(0x105)](_0x15c176),_0x1e4ce1=_0x5747fb[_0x1e5941(0x11d)][_0x1e5941(0x105)](_0x54ea3a);_0x5747fb['ui'][_0x1e5941(0x10b)][_0x1e5941(0x111)](_0x1e5941(0x118),_0x4ffcba=>{const _0x337ae8=_0x1e5941,_0x41a5be=new _0x144264(_0x4ffcba);return _0x41a5be[_0x337ae8(0x11b)]({'label':_0x13022e(_0x4ffcba,_0x337ae8(0xfc)),'icon':_0x248ab3[_0x337ae8(0x120)],'withText':!0x0,'tooltip':!0x0,'class':_0x337ae8(0xfe)}),this[_0x337ae8(0x125)](_0x41a5be,_0x337ae8(0xf8),()=>{const _0x22fc37=_0x337ae8;_0x5747fb[_0x22fc37(0x124)][_0x22fc37(0x105)](_0x22fc37(0x122))[_0x22fc37(0x10a)]();}),_0x41a5be;}),_0x5747fb['ui'][_0x1e5941(0x10b)][_0x1e5941(0x111)](_0x1e5941(0x10f),_0x2b72e4=>{const _0x49a3cc=_0x1e5941,_0x2b9138=new _0x144264(_0x2b72e4);return _0x2b9138[_0x49a3cc(0x11b)]({'label':_0x13022e(_0x2b72e4,_0x49a3cc(0xfd)),'withText':!0x0,'tooltip':!0x0}),_0x2b9138[_0x49a3cc(0x128)](_0x49a3cc(0x11a))['to'](_0x5747fb[_0x49a3cc(0x107)][_0x49a3cc(0x105)](_0x49a3cc(0x10f))),this[_0x49a3cc(0x125)](_0x2b9138,_0x49a3cc(0xf8),()=>_0x5747fb[_0x49a3cc(0xf8)](_0x49a3cc(0x10f))),_0x2b9138;}),_0x5747fb['ui'][_0x1e5941(0x10b)][_0x1e5941(0x111)](_0x1e5941(0x114),_0x5ac0a8=>{const _0x419296=_0x1e5941,_0x590b76=new _0x2fd6f3(_0x5ac0a8),_0x4713f4=_0x5747fb[_0x419296(0x107)][_0x419296(0x105)](_0x419296(0x11f)),_0x17ff33=_0x5747fb[_0x419296(0x107)][_0x419296(0x105)](_0x419296(0x11e));return _0x590b76[_0x419296(0x128)](_0x419296(0x100))['to'](_0x4713f4,_0x419296(0x11a)),_0x590b76[_0x419296(0x128)](_0x419296(0x102))['to'](_0x17ff33,_0x419296(0x11a)),_0x590b76[_0x419296(0x128)](_0x419296(0x10d),_0x419296(0x127),_0x419296(0x119),_0x419296(0x126))['to'](_0x2d87e6),this[_0x419296(0x125)](_0x590b76,_0x419296(0xf8),(_0x1515fb,_0x212c3f)=>{const _0x1be158=_0x419296;_0x5747fb[_0x1be158(0xf8)](_0x1be158(0x116)===_0x212c3f?_0x1be158(0x11e):_0x1be158(0x11f));}),_0x590b76;}),_0x1e4ce1[_0x1e5941(0x117)](),_0x2d87e6['on'](_0x1e5941(0xfb),(_0x455a81,_0x27e334,_0x74ba06)=>{const _0x2b783f=_0x1e5941;_0x74ba06?_0x1e4ce1[_0x2b783f(0x113)]():_0x1e4ce1[_0x2b783f(0x117)]();});}}
23
+ const _0x57bd33=_0x4804;(function(_0x205cfc,_0x3f06c7){const _0x30015d=_0x4804,_0x5a38e4=_0x205cfc();while(!![]){try{const _0x55ea7e=parseInt(_0x30015d(0x16e))/0x1*(-parseInt(_0x30015d(0x174))/0x2)+parseInt(_0x30015d(0x17d))/0x3*(-parseInt(_0x30015d(0x16b))/0x4)+-parseInt(_0x30015d(0x181))/0x5+-parseInt(_0x30015d(0x17c))/0x6+-parseInt(_0x30015d(0x16a))/0x7+-parseInt(_0x30015d(0x177))/0x8*(-parseInt(_0x30015d(0x185))/0x9)+parseInt(_0x30015d(0x166))/0xa;if(_0x55ea7e===_0x3f06c7)break;else _0x5a38e4['push'](_0x5a38e4['shift']());}catch(_0x5157c3){_0x5a38e4['push'](_0x5a38e4['shift']());}}}(_0x4518,0x49b22));import{icons as _0x381cf9,Plugin as _0x536292}from'ckeditor5/src/core.js';import{ButtonView as _0x25f640}from'ckeditor5/src/ui.js';import _0x2d9d10 from'./changesnavigationview.js';function _0x4804(_0x6d0157,_0x4287ab){const _0x451845=_0x4518();return _0x4804=function(_0x480499,_0x3364d3){_0x480499=_0x480499-0x159;let _0x3eddaa=_0x451845[_0x480499];return _0x3eddaa;},_0x4804(_0x6d0157,_0x4287ab);}function _0x4518(){const _0x52f030=['closeRevisionViewerCallback','9pKYTXc','execute','add','get','numberOfChanges','RevisionViewerUI','exitToEditing','pluginName','forward','componentFactory','restoreRevision','isForwardNavigationEnabled','showNextChange','plugins','hide','ck-revision-history-ui__back-to-editing','currentChangeNumber','Restore\x20this\x20revision','10651490WspLzM','bind','isPremiumPlugin','isNavigationMode','3573766XRxNJp','366740gQNmzZ','showPreviousChange','undo','2dowuPq','requires','isReady','changesNavigation','revisionHistory','change:isReady','136076vwajHe','listenTo','init','3268976YRyTxH','show','Back\x20to\x20editing','isOfficialPlugin','editor','549666OSRccu','9hQpCIX','commands','config','isBackwardNavigationEnabled','793165DuEpWg','set','isEnabled'];_0x4518=function(){return _0x52f030;};return _0x4518();}import _0x185f2d from'./../../revisionviewer.js';import _0x5817bc from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x200e69}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class m extends _0x536292{static get[_0x57bd33(0x15b)](){const _0x17e01f=_0x57bd33;return _0x17e01f(0x159);}static get[_0x57bd33(0x17a)](){return!0x0;}static get[_0x57bd33(0x168)](){return!0x0;}static get[_0x57bd33(0x16f)](){return[_0x185f2d,_0x5817bc];}[_0x57bd33(0x176)](){const _0x17ec80=_0x57bd33,_0x584808=this[_0x17ec80(0x17b)],_0x44bc15=_0x584808[_0x17ec80(0x161)][_0x17ec80(0x188)](_0x185f2d),_0x5003a5=_0x584808[_0x17ec80(0x161)][_0x17ec80(0x188)](_0x5817bc);_0x584808['ui'][_0x17ec80(0x15d)][_0x17ec80(0x187)](_0x17ec80(0x15a),_0x3a60cc=>{const _0x520087=_0x17ec80,_0x489314=new _0x25f640(_0x3a60cc);return _0x489314[_0x520087(0x182)]({'label':_0x200e69(_0x3a60cc,_0x520087(0x179)),'icon':_0x381cf9[_0x520087(0x16d)],'withText':!0x0,'tooltip':!0x0,'class':_0x520087(0x163)}),this[_0x520087(0x175)](_0x489314,_0x520087(0x186),()=>{const _0x411954=_0x520087;_0x584808[_0x411954(0x17f)][_0x411954(0x188)](_0x411954(0x172))[_0x411954(0x184)]();}),_0x489314;}),_0x584808['ui'][_0x17ec80(0x15d)][_0x17ec80(0x187)](_0x17ec80(0x15e),_0x4a62d6=>{const _0x5395ee=_0x17ec80,_0x635ef=new _0x25f640(_0x4a62d6);return _0x635ef[_0x5395ee(0x182)]({'label':_0x200e69(_0x4a62d6,_0x5395ee(0x165)),'withText':!0x0,'tooltip':!0x0}),_0x635ef[_0x5395ee(0x167)](_0x5395ee(0x183))['to'](_0x584808[_0x5395ee(0x17e)][_0x5395ee(0x188)](_0x5395ee(0x15e))),this[_0x5395ee(0x175)](_0x635ef,_0x5395ee(0x186),()=>_0x584808[_0x5395ee(0x186)](_0x5395ee(0x15e))),_0x635ef;}),_0x584808['ui'][_0x17ec80(0x15d)][_0x17ec80(0x187)](_0x17ec80(0x171),_0x45d35d=>{const _0x31ca22=_0x17ec80,_0x50dbbd=new _0x2d9d10(_0x45d35d),_0x233b7c=_0x584808[_0x31ca22(0x17e)][_0x31ca22(0x188)](_0x31ca22(0x16c)),_0x3a8736=_0x584808[_0x31ca22(0x17e)][_0x31ca22(0x188)](_0x31ca22(0x160));return _0x50dbbd[_0x31ca22(0x167)](_0x31ca22(0x180))['to'](_0x233b7c,_0x31ca22(0x183)),_0x50dbbd[_0x31ca22(0x167)](_0x31ca22(0x15f))['to'](_0x3a8736,_0x31ca22(0x183)),_0x50dbbd[_0x31ca22(0x167)](_0x31ca22(0x170),_0x31ca22(0x164),_0x31ca22(0x189),_0x31ca22(0x169))['to'](_0x44bc15),this[_0x31ca22(0x175)](_0x50dbbd,_0x31ca22(0x186),(_0x4ec0e2,_0x146e3b)=>{const _0x562520=_0x31ca22;_0x584808[_0x562520(0x186)](_0x562520(0x15c)===_0x146e3b?_0x562520(0x160):_0x562520(0x16c));}),_0x50dbbd;}),_0x5003a5[_0x17ec80(0x178)](),_0x44bc15['on'](_0x17ec80(0x173),(_0x41edb3,_0x41d1b4,_0x5e1438)=>{const _0x2063bf=_0x17ec80;_0x5e1438?_0x5003a5[_0x2063bf(0x162)]():_0x5003a5[_0x2063bf(0x178)]();});}}