UNPKG

@ckeditor/ckeditor5-revision-history

Version:

Document revision history feature for CKEditor 5.

23 lines 3.46 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 _0x5c1f(){const _0x35eaec=['6270riSoLz','editor','866090uwqQpe','1743zxuFLG','isPremiumPlugin','document','isOfficialPlugin','roots','2235123iTlLIq','72nkRoBH','pluginName','180LmIibH','show','1433995uZizkb','view','RevisionViewerLoadingOverlay','removeClass','editing','59643ofHwFM','addClass','1936728rwPaHu','33112dYuAKc','change','4415LGklST','hide','ck-editor__editable__loading-overlay'];_0x5c1f=function(){return _0x35eaec;};return _0x5c1f();}const _0x61305e=_0xf650;(function(_0x375dfc,_0x3e61d7){const _0x5669bc=_0xf650,_0x4c1d6e=_0x375dfc();while(!![]){try{const _0x18cda8=parseInt(_0x5669bc(0x14b))/0x1+parseInt(_0x5669bc(0x140))/0x2+parseInt(_0x5669bc(0x150))/0x3*(parseInt(_0x5669bc(0x147))/0x4)+-parseInt(_0x5669bc(0x13b))/0x5*(-parseInt(_0x5669bc(0x13e))/0x6)+parseInt(_0x5669bc(0x141))/0x7*(parseInt(_0x5669bc(0x153))/0x8)+parseInt(_0x5669bc(0x152))/0x9+parseInt(_0x5669bc(0x149))/0xa*(-parseInt(_0x5669bc(0x146))/0xb);if(_0x18cda8===_0x3e61d7)break;else _0x4c1d6e['push'](_0x4c1d6e['shift']());}catch(_0x3964fc){_0x4c1d6e['push'](_0x4c1d6e['shift']());}}}(_0x5c1f,0xb3ada));import{Plugin as _0x40a065}from'ckeditor5/src/core.js';function _0xf650(_0x4200b4,_0x2d46b7){const _0x5c1f99=_0x5c1f();return _0xf650=function(_0xf650a3,_0x1b3dcb){_0xf650a3=_0xf650a3-0x13b;let _0x43ac49=_0x5c1f99[_0xf650a3];return _0x43ac49;},_0xf650(_0x4200b4,_0x2d46b7);}const ge=_0x61305e(0x13d);import'../../../theme/revisionviewerloadingoverlay.css';export class RevisionViewerLoadingOverlay extends _0x40a065{static get[_0x61305e(0x148)](){const _0xafdf62=_0x61305e;return _0xafdf62(0x14d);}static get[_0x61305e(0x144)](){return!0x0;}static get[_0x61305e(0x142)](){return!0x0;}[_0x61305e(0x14a)](){const _0x3a12c3=_0x61305e,_0x2335e4=this[_0x3a12c3(0x13f)][_0x3a12c3(0x14f)][_0x3a12c3(0x14c)];_0x2335e4[_0x3a12c3(0x154)](_0x296cbf=>{const _0x438692=_0x3a12c3;for(const _0x342bbd of _0x2335e4[_0x438692(0x143)][_0x438692(0x145)])_0x296cbf[_0x438692(0x151)](ge,_0x342bbd);});}[_0x61305e(0x13c)](){const _0x114937=_0x61305e,_0x300fc1=this[_0x114937(0x13f)][_0x114937(0x14f)][_0x114937(0x14c)];_0x300fc1[_0x114937(0x154)](_0x1fd20b=>{const _0x524e83=_0x114937;for(const _0x192109 of _0x300fc1[_0x524e83(0x143)][_0x524e83(0x145)])_0x1fd20b[_0x524e83(0x14e)](ge,_0x192109);});}}