UNPKG

@ckeditor/ckeditor5-revision-history

Version:

Document revision history feature for CKEditor 5.

23 lines 3.15 kB
/* * 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 _0x152a(_0x12c99a,_0x5e80a6){const _0x7fd6ff=_0x7fd6();return _0x152a=function(_0x152a2b,_0x223c73){_0x152a2b=_0x152a2b-0x1a1;let _0x5ae54d=_0x7fd6ff[_0x152a2b];return _0x5ae54d;},_0x152a(_0x12c99a,_0x5e80a6);}(function(_0x5d03c4,_0xd22cb2){const _0x2823a4=_0x152a,_0x176c92=_0x5d03c4();while(!![]){try{const _0x2c5460=-parseInt(_0x2823a4(0x1a8))/0x1*(parseInt(_0x2823a4(0x1b0))/0x2)+-parseInt(_0x2823a4(0x1ad))/0x3*(parseInt(_0x2823a4(0x1b1))/0x4)+parseInt(_0x2823a4(0x1ab))/0x5+-parseInt(_0x2823a4(0x1a3))/0x6*(-parseInt(_0x2823a4(0x1ae))/0x7)+parseInt(_0x2823a4(0x1a6))/0x8+parseInt(_0x2823a4(0x1a7))/0x9+-parseInt(_0x2823a4(0x1a5))/0xa*(-parseInt(_0x2823a4(0x1a9))/0xb);if(_0x2c5460===_0xd22cb2)break;else _0x176c92['push'](_0x176c92['shift']());}catch(_0x2e1ad4){_0x176c92['push'](_0x176c92['shift']());}}}(_0x7fd6,0xbffdb));import{View as _0x357296,IconView as _0x29e7fe}from'ckeditor5/src/ui.js';import{getTranslation as _0x47877f}from'../../utils/common-translations.js';function _0x7fd6(){const _0x29af25=['986424klVoHe','10941057zbTPpM','6334FtcwhN','22sjaMVf','ck-reset_all','4079240wVpkYV','ck-revision-history-sidebar__header','18wrzbiw','7Nlecdt','ck-revision-history-sidebar__header__label','114xAjhcm','969076GBSGKE','div','span','content','Revision\x20history','2492862GTqTge','setTemplate','153730yiNHZg'];_0x7fd6=function(){return _0x29af25;};return _0x7fd6();}import{IconHistory as _0x44b764}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x357296{constructor(_0x3c1706){const _0x472c11=_0x152a;super(_0x3c1706);const _0x157c4a=new _0x29e7fe();_0x157c4a[_0x472c11(0x1a1)]=_0x44b764,this[_0x472c11(0x1a4)]({'tag':_0x472c11(0x1b2),'attributes':{'class':['ck',_0x472c11(0x1aa),_0x472c11(0x1ac)]},'children':[_0x157c4a,{'tag':_0x472c11(0x1b3),'attributes':{'class':['ck',_0x472c11(0x1af)]},'children':[_0x47877f(_0x3c1706,_0x472c11(0x1a2))]}]});}}