@ckeditor/ckeditor5-revision-history
Version:
Document revision history feature for CKEditor 5.
23 lines • 3.07 kB
JavaScript
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
*
*
*
*
* +---------------------------------------------------------------------------------+
* | |
* | Hello stranger! |
* | |
* | |
* | What you're currently looking at is the source code of a legally protected, |
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
* | are forbidden and will result in legal consequences. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
(function(_0x5c50d6,_0x3b6c33){const _0x4905c5=_0x4af3,_0x3734f1=_0x5c50d6();while(!![]){try{const _0x27dae6=parseInt(_0x4905c5(0xe6))/0x1*(-parseInt(_0x4905c5(0xe1))/0x2)+-parseInt(_0x4905c5(0xe2))/0x3*(-parseInt(_0x4905c5(0xdd))/0x4)+-parseInt(_0x4905c5(0xdf))/0x5+parseInt(_0x4905c5(0xd7))/0x6+-parseInt(_0x4905c5(0xe3))/0x7+parseInt(_0x4905c5(0xe4))/0x8+-parseInt(_0x4905c5(0xd9))/0x9*(-parseInt(_0x4905c5(0xd6))/0xa);if(_0x27dae6===_0x3b6c33)break;else _0x3734f1['push'](_0x3734f1['shift']());}catch(_0x4dc38a){_0x3734f1['push'](_0x3734f1['shift']());}}}(_0x38bb,0x78601));function _0x4af3(_0x390ba6,_0x1dbc68){const _0x38bb4c=_0x38bb();return _0x4af3=function(_0x4af316,_0x3c79ef){_0x4af316=_0x4af316-0xd5;let _0x383581=_0x38bb4c[_0x4af316];return _0x383581;},_0x4af3(_0x390ba6,_0x1dbc68);}function _0x38bb(){const _0x307357=['21ktCkcm','3897383TooHWk','2686752WAjnnx','span','75YwLEYA','setTemplate','180RPyTdu','4049874ZhfmHP','div','102276LnNiAA','ck-revision-history-sidebar__header','content','ck-reset_all','428488QqfzsQ','Revision\x20history','4422140wVbtup','ck-revision-history-sidebar__header__label','826kVcuLw'];_0x38bb=function(){return _0x307357;};return _0x38bb();}import{View as _0x1a9b58,IconView as _0x4de7f6}from'ckeditor5/src/ui.js';import{getTranslation as _0x279112}from'../../utils/common-translations.js';import{IconHistory as _0x17d064}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class as extends _0x1a9b58{constructor(_0x588926){const _0x15ab33=_0x4af3;super(_0x588926);const _0xb153d8=new _0x4de7f6();_0xb153d8[_0x15ab33(0xdb)]=_0x17d064,this[_0x15ab33(0xd5)]({'tag':_0x15ab33(0xd8),'attributes':{'class':['ck',_0x15ab33(0xdc),_0x15ab33(0xda)]},'children':[_0xb153d8,{'tag':_0x15ab33(0xe5),'attributes':{'class':['ck',_0x15ab33(0xe0)]},'children':[_0x279112(_0x588926,_0x15ab33(0xde))]}]});}}