UNPKG

@ckeditor/ckeditor5-revision-history

Version:

Document revision history feature for CKEditor 5.

23 lines 3.35 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 _0x5245(){const _0x1f15b1=['isOfficialPlugin','70580JYlKEV','editor','roots','editing','7255035IbcpyV','isPremiumPlugin','view','510263oOblFD','document','pluginName','1392slmqhK','addClass','2255495lqwRzn','RevisionViewerLoadingOverlay','362705SYmdns','removeClass','806vOVnrn','ck-editor__editable__loading-overlay','6NACGDu','show','change','1562920lXzcNz','hide'];_0x5245=function(){return _0x1f15b1;};return _0x5245();}function _0x2185(_0x877b62,_0x249284){const _0x52453f=_0x5245();return _0x2185=function(_0x21850d,_0x4c4fc0){_0x21850d=_0x21850d-0x1e9;let _0x5d58a1=_0x52453f[_0x21850d];return _0x5d58a1;},_0x2185(_0x877b62,_0x249284);}const _0x20cc40=_0x2185;(function(_0x1b743c,_0x460d79){const _0x53e41b=_0x2185,_0x495123=_0x1b743c();while(!![]){try{const _0x430114=-parseInt(_0x53e41b(0x1fd))/0x1+parseInt(_0x53e41b(0x1ee))/0x2*(parseInt(_0x53e41b(0x200))/0x3)+-parseInt(_0x53e41b(0x1f6))/0x4+-parseInt(_0x53e41b(0x1ea))/0x5+parseInt(_0x53e41b(0x1f0))/0x6*(parseInt(_0x53e41b(0x1ec))/0x7)+parseInt(_0x53e41b(0x1f3))/0x8+parseInt(_0x53e41b(0x1fa))/0x9;if(_0x430114===_0x460d79)break;else _0x495123['push'](_0x495123['shift']());}catch(_0x10fa27){_0x495123['push'](_0x495123['shift']());}}}(_0x5245,0x3fca0));import{Plugin as _0x363ad1}from'ckeditor5/src/core.js';const ce=_0x20cc40(0x1ef);import'../../../theme/revisionviewerloadingoverlay.css';export default class le extends _0x363ad1{static get[_0x20cc40(0x1ff)](){const _0x5a8b97=_0x20cc40;return _0x5a8b97(0x1eb);}static get[_0x20cc40(0x1f5)](){return!0x0;}static get[_0x20cc40(0x1fb)](){return!0x0;}[_0x20cc40(0x1f1)](){const _0x1e293f=_0x20cc40,_0x3113ac=this[_0x1e293f(0x1f7)][_0x1e293f(0x1f9)][_0x1e293f(0x1fc)];_0x3113ac[_0x1e293f(0x1f2)](_0x4c949f=>{const _0x4e617f=_0x1e293f;for(const _0x1c6587 of _0x3113ac[_0x4e617f(0x1fe)][_0x4e617f(0x1f8)])_0x4c949f[_0x4e617f(0x1e9)](ce,_0x1c6587);});}[_0x20cc40(0x1f4)](){const _0xa20519=_0x20cc40,_0x2fc9d7=this[_0xa20519(0x1f7)][_0xa20519(0x1f9)][_0xa20519(0x1fc)];_0x2fc9d7[_0xa20519(0x1f2)](_0x1070d6=>{const _0x961b3e=_0xa20519;for(const _0x305d0b of _0x2fc9d7[_0x961b3e(0x1fe)][_0x961b3e(0x1f8)])_0x1070d6[_0x961b3e(0x1ed)](ce,_0x305d0b);});}}