@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250208.0 → 0.0.0-nightly-20250209.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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28d026=_0x5a96;(function(_0x1232c9,_0x4e0be3){const _0x5c67bb=_0x5a96,_0xee5319=_0x1232c9();while(!![]){try{const _0x2fcf36=-parseInt(_0x5c67bb(0x199))/0x1*(-parseInt(_0x5c67bb(0x189))/0x2)+parseInt(_0x5c67bb(0x18b))/0x3+-parseInt(_0x5c67bb(0x188))/0x4+parseInt(_0x5c67bb(0x1a9))/0x5*(-parseInt(_0x5c67bb(0x19f))/0x6)+parseInt(_0x5c67bb(0x185))/0x7+parseInt(_0x5c67bb(0x18e))/0x8*(parseInt(_0x5c67bb(0x18d))/0x9)+-parseInt(_0x5c67bb(0x183))/0xa;if(_0x2fcf36===_0x4e0be3)break;else _0xee5319['push'](_0xee5319['shift']());}catch(_0x59f681){_0xee5319['push'](_0xee5319['shift']());}}}(_0x416a,0x1b3ab));import{icons as _0x537015,Plugin as _0x14bf90}from'ckeditor5/src/core.js';import{ButtonView as _0x557f1b}from'ckeditor5/src/ui.js';import _0x44456e from'./changesnavigationview.js';import _0x5703f3 from'./../../revisionviewer.js';import _0x5b0fe5 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x1fb877}from'../../utils/common-translations.js';function _0x416a(){const _0x45ad78=['currentChangeNumber','set','config','add','showNextChange','Restore\x20this\x20revision','7081heUTph','get','Back\x20to\x20editing','closeRevisionViewerCallback','execute','exitToEditing','45198dVpPLd','isPremiumPlugin','plugins','RevisionViewerUI','isEnabled','init','ck-revision-history-ui__back-to-editing','show','commands','undo','95wTkQfC','isNavigationMode','hide','isBackwardNavigationEnabled','showPreviousChange','isReady','bind','listenTo','requires','numberOfChanges','change:isReady','776600HUUgTA','componentFactory','294700MkRjXB','editor','changesNavigation','828528picdKF','48FeNSyQ','restoreRevision','600597HeGdJJ','isOfficialPlugin','1144863izRXDO','8CJNXlf','pluginName','revisionHistory','forward','isForwardNavigationEnabled'];_0x416a=function(){return _0x45ad78;};return _0x416a();}function _0x5a96(_0x15fcfd,_0x1eb1ae){const _0x416a89=_0x416a();return _0x5a96=function(_0x5a96c2,_0x456d3e){_0x5a96c2=_0x5a96c2-0x180;let _0x1c8e02=_0x416a89[_0x5a96c2];return _0x1c8e02;},_0x5a96(_0x15fcfd,_0x1eb1ae);}import'../../../theme/revisionviewer.css';export default class g extends _0x14bf90{static get[_0x28d026(0x18f)](){const _0x233888=_0x28d026;return _0x233888(0x1a2);}static get[_0x28d026(0x18c)](){return!0x0;}static get[_0x28d026(0x1a0)](){return!0x0;}static get[_0x28d026(0x180)](){return[_0x5703f3,_0x5b0fe5];}[_0x28d026(0x1a4)](){const _0x524abe=_0x28d026,_0x25c854=this[_0x524abe(0x186)],_0x5b29e8=_0x25c854[_0x524abe(0x1a1)][_0x524abe(0x19a)](_0x5703f3),_0x17eab0=_0x25c854[_0x524abe(0x1a1)][_0x524abe(0x19a)](_0x5b0fe5);_0x25c854['ui'][_0x524abe(0x184)][_0x524abe(0x196)](_0x524abe(0x19e),_0x642f6d=>{const _0x36bd84=_0x524abe,_0xbb4df3=new _0x557f1b(_0x642f6d);return _0xbb4df3[_0x36bd84(0x194)]({'label':_0x1fb877(_0x642f6d,_0x36bd84(0x19b)),'icon':_0x537015[_0x36bd84(0x1a8)],'withText':!0x0,'tooltip':!0x0,'class':_0x36bd84(0x1a5)}),this[_0x36bd84(0x1b0)](_0xbb4df3,_0x36bd84(0x19d),()=>{const _0x2d2a92=_0x36bd84;_0x25c854[_0x2d2a92(0x195)][_0x2d2a92(0x19a)](_0x2d2a92(0x190))[_0x2d2a92(0x19c)]();}),_0xbb4df3;}),_0x25c854['ui'][_0x524abe(0x184)][_0x524abe(0x196)](_0x524abe(0x18a),_0x1ac994=>{const _0x5567a7=_0x524abe,_0x28b85a=new _0x557f1b(_0x1ac994);return _0x28b85a[_0x5567a7(0x194)]({'label':_0x1fb877(_0x1ac994,_0x5567a7(0x198)),'withText':!0x0,'tooltip':!0x0}),_0x28b85a[_0x5567a7(0x1af)](_0x5567a7(0x1a3))['to'](_0x25c854[_0x5567a7(0x1a7)][_0x5567a7(0x19a)](_0x5567a7(0x18a))),this[_0x5567a7(0x1b0)](_0x28b85a,_0x5567a7(0x19d),()=>_0x25c854[_0x5567a7(0x19d)](_0x5567a7(0x18a))),_0x28b85a;}),_0x25c854['ui'][_0x524abe(0x184)][_0x524abe(0x196)](_0x524abe(0x187),_0x461052=>{const _0x5a270d=_0x524abe,_0x55199f=new _0x44456e(_0x461052),_0x1d9b52=_0x25c854[_0x5a270d(0x1a7)][_0x5a270d(0x19a)](_0x5a270d(0x1ad)),_0x434727=_0x25c854[_0x5a270d(0x1a7)][_0x5a270d(0x19a)](_0x5a270d(0x197));return _0x55199f[_0x5a270d(0x1af)](_0x5a270d(0x1ac))['to'](_0x1d9b52,_0x5a270d(0x1a3)),_0x55199f[_0x5a270d(0x1af)](_0x5a270d(0x192))['to'](_0x434727,_0x5a270d(0x1a3)),_0x55199f[_0x5a270d(0x1af)](_0x5a270d(0x1ae),_0x5a270d(0x193),_0x5a270d(0x181),_0x5a270d(0x1aa))['to'](_0x5b29e8),this[_0x5a270d(0x1b0)](_0x55199f,_0x5a270d(0x19d),(_0x481afc,_0x4b690b)=>{const _0x487c52=_0x5a270d;_0x25c854[_0x487c52(0x19d)](_0x487c52(0x191)===_0x4b690b?_0x487c52(0x197):_0x487c52(0x1ad));}),_0x55199f;}),_0x17eab0[_0x524abe(0x1a6)](),_0x5b29e8['on'](_0x524abe(0x182),(_0x28755e,_0x3df574,_0xc4094a)=>{const _0x38d098=_0x524abe;_0xc4094a?_0x17eab0[_0x38d098(0x1ab)]():_0x17eab0[_0x38d098(0x1a6)]();});}}
23
+ function _0x1eed(){const _0x39348c=['hide','Restore\x20this\x20revision','bind','forward','execute','set','96253cwWDhY','6GsYnWm','add','plugins','show','numberOfChanges','showNextChange','closeRevisionViewerCallback','18546mgWtBk','currentChangeNumber','change:isReady','ck-revision-history-ui__back-to-editing','editor','1474UvFwYu','isForwardNavigationEnabled','54wDwGpF','isNavigationMode','get','isReady','restoreRevision','undo','1222200dzFOUP','revisionHistory','componentFactory','16810mHhomi','13819524pIPWdA','commands','pluginName','init','exitToEditing','isBackwardNavigationEnabled','RevisionViewerUI','Back\x20to\x20editing','1771196ikIiPu','changesNavigation','3NhpkjN','isEnabled','listenTo','isOfficialPlugin','requires','isPremiumPlugin','558968xVayzZ','showPreviousChange','655YlECwp','config'];_0x1eed=function(){return _0x39348c;};return _0x1eed();}const _0x48eebf=_0x2ab6;function _0x2ab6(_0x3460ed,_0x57aa63){const _0x1eed32=_0x1eed();return _0x2ab6=function(_0x2ab628,_0x24cf5d){_0x2ab628=_0x2ab628-0x138;let _0x501563=_0x1eed32[_0x2ab628];return _0x501563;},_0x2ab6(_0x3460ed,_0x57aa63);}(function(_0x136d58,_0xf704fb){const _0x38deb8=_0x2ab6,_0x231cba=_0x136d58();while(!![]){try{const _0x343c0a=-parseInt(_0x38deb8(0x15a))/0x1*(parseInt(_0x38deb8(0x15b))/0x2)+parseInt(_0x38deb8(0x14a))/0x3*(parseInt(_0x38deb8(0x148))/0x4)+-parseInt(_0x38deb8(0x152))/0x5*(-parseInt(_0x38deb8(0x162))/0x6)+parseInt(_0x38deb8(0x13c))/0x7+-parseInt(_0x38deb8(0x150))/0x8*(-parseInt(_0x38deb8(0x169))/0x9)+-parseInt(_0x38deb8(0x13f))/0xa*(-parseInt(_0x38deb8(0x167))/0xb)+-parseInt(_0x38deb8(0x140))/0xc;if(_0x343c0a===_0xf704fb)break;else _0x231cba['push'](_0x231cba['shift']());}catch(_0x363538){_0x231cba['push'](_0x231cba['shift']());}}}(_0x1eed,0x3746e));import{icons as _0x1cc127,Plugin as _0x5e0bc0}from'ckeditor5/src/core.js';import{ButtonView as _0x2b237f}from'ckeditor5/src/ui.js';import _0x3bb4a3 from'./changesnavigationview.js';import _0xd513a2 from'./../../revisionviewer.js';import _0x4373ce from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x524e91}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class g extends _0x5e0bc0{static get[_0x48eebf(0x142)](){const _0xcb51a4=_0x48eebf;return _0xcb51a4(0x146);}static get[_0x48eebf(0x14d)](){return!0x0;}static get[_0x48eebf(0x14f)](){return!0x0;}static get[_0x48eebf(0x14e)](){return[_0xd513a2,_0x4373ce];}[_0x48eebf(0x143)](){const _0x3f3780=_0x48eebf,_0x2ae3c4=this[_0x3f3780(0x166)],_0x3fa9d1=_0x2ae3c4[_0x3f3780(0x15d)][_0x3f3780(0x138)](_0xd513a2),_0x17ae04=_0x2ae3c4[_0x3f3780(0x15d)][_0x3f3780(0x138)](_0x4373ce);_0x2ae3c4['ui'][_0x3f3780(0x13e)][_0x3f3780(0x15c)](_0x3f3780(0x144),_0xac4791=>{const _0x12d3ff=_0x3f3780,_0x3301ee=new _0x2b237f(_0xac4791);return _0x3301ee[_0x12d3ff(0x159)]({'label':_0x524e91(_0xac4791,_0x12d3ff(0x147)),'icon':_0x1cc127[_0x12d3ff(0x13b)],'withText':!0x0,'tooltip':!0x0,'class':_0x12d3ff(0x165)}),this[_0x12d3ff(0x14c)](_0x3301ee,_0x12d3ff(0x158),()=>{const _0x20736b=_0x12d3ff;_0x2ae3c4[_0x20736b(0x153)][_0x20736b(0x138)](_0x20736b(0x13d))[_0x20736b(0x161)]();}),_0x3301ee;}),_0x2ae3c4['ui'][_0x3f3780(0x13e)][_0x3f3780(0x15c)](_0x3f3780(0x13a),_0x40a3a6=>{const _0x1b0cfa=_0x3f3780,_0x25c2e4=new _0x2b237f(_0x40a3a6);return _0x25c2e4[_0x1b0cfa(0x159)]({'label':_0x524e91(_0x40a3a6,_0x1b0cfa(0x155)),'withText':!0x0,'tooltip':!0x0}),_0x25c2e4[_0x1b0cfa(0x156)](_0x1b0cfa(0x14b))['to'](_0x2ae3c4[_0x1b0cfa(0x141)][_0x1b0cfa(0x138)](_0x1b0cfa(0x13a))),this[_0x1b0cfa(0x14c)](_0x25c2e4,_0x1b0cfa(0x158),()=>_0x2ae3c4[_0x1b0cfa(0x158)](_0x1b0cfa(0x13a))),_0x25c2e4;}),_0x2ae3c4['ui'][_0x3f3780(0x13e)][_0x3f3780(0x15c)](_0x3f3780(0x149),_0x112841=>{const _0x5d93b2=_0x3f3780,_0x512a75=new _0x3bb4a3(_0x112841),_0x3690cf=_0x2ae3c4[_0x5d93b2(0x141)][_0x5d93b2(0x138)](_0x5d93b2(0x151)),_0x53452f=_0x2ae3c4[_0x5d93b2(0x141)][_0x5d93b2(0x138)](_0x5d93b2(0x160));return _0x512a75[_0x5d93b2(0x156)](_0x5d93b2(0x145))['to'](_0x3690cf,_0x5d93b2(0x14b)),_0x512a75[_0x5d93b2(0x156)](_0x5d93b2(0x168))['to'](_0x53452f,_0x5d93b2(0x14b)),_0x512a75[_0x5d93b2(0x156)](_0x5d93b2(0x139),_0x5d93b2(0x163),_0x5d93b2(0x15f),_0x5d93b2(0x16a))['to'](_0x3fa9d1),this[_0x5d93b2(0x14c)](_0x512a75,_0x5d93b2(0x158),(_0x58d3ed,_0x5aacf6)=>{const _0x48f755=_0x5d93b2;_0x2ae3c4[_0x48f755(0x158)](_0x48f755(0x157)===_0x5aacf6?_0x48f755(0x160):_0x48f755(0x151));}),_0x512a75;}),_0x17ae04[_0x3f3780(0x15e)](),_0x3fa9d1['on'](_0x3f3780(0x164),(_0x4a7461,_0x18da9a,_0x3df439)=>{const _0x41e77e=_0x3f3780;_0x3df439?_0x17ae04[_0x41e77e(0x154)]():_0x17ae04[_0x41e77e(0x15e)]();});}}