@ckeditor/ckeditor5-revision-history
Version:
Document revision history feature for CKEditor 5.
23 lines • 2.69 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. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
const _0x35b53f=_0x3fe0;(function(_0x574cb3,_0x5c2ed6){const _0x56312f=_0x3fe0,_0x31faa9=_0x574cb3();while(!![]){try{const _0x89c292=-parseInt(_0x56312f(0x83))/0x1*(-parseInt(_0x56312f(0x81))/0x2)+parseInt(_0x56312f(0x88))/0x3+-parseInt(_0x56312f(0x84))/0x4+-parseInt(_0x56312f(0x87))/0x5+-parseInt(_0x56312f(0x8a))/0x6+parseInt(_0x56312f(0x7f))/0x7+-parseInt(_0x56312f(0x82))/0x8*(-parseInt(_0x56312f(0x85))/0x9);if(_0x89c292===_0x5c2ed6)break;else _0x31faa9['push'](_0x31faa9['shift']());}catch(_0x22aece){_0x31faa9['push'](_0x31faa9['shift']());}}}(_0x5b5c,0xddbb5));function _0x5b5c(){const _0x4f8923=['_setChanges','2551145BoBlJL','2994144gdIwUt','newRevisionId','5593314DDCcDt','add','changes','2281321vzlsKt','oldRevisionId','12YeSqNL','200AYBvjr','288329tEcfvO','6984956nRojeQ','375471PlPYqH'];_0x5b5c=function(){return _0x4f8923;};return _0x5b5c();}function _0x3fe0(_0x570bea,_0x51ec59){const _0x5b5c53=_0x5b5c();return _0x3fe0=function(_0x3fe03b,_0x3f774b){_0x3fe03b=_0x3fe03b-0x7d;let _0x417a68=_0x5b5c53[_0x3fe03b];return _0x417a68;},_0x3fe0(_0x570bea,_0x51ec59);}import{Collection as _0x29d8d0}from'ckeditor5/src/utils.js';export class RevisionDiff{[_0x35b53f(0x89)];[_0x35b53f(0x80)];[_0x35b53f(0x7e)];constructor(_0x2a9d8e,_0x3243f5){const _0x43e4ea=_0x35b53f;this[_0x43e4ea(0x89)]=_0x2a9d8e,this[_0x43e4ea(0x80)]=_0x3243f5,this[_0x43e4ea(0x7e)]=new _0x29d8d0();}[_0x35b53f(0x86)](_0x3b0c1b){const _0x2566b1=_0x35b53f;for(const _0x5be92d of _0x3b0c1b)this[_0x2566b1(0x7e)][_0x2566b1(0x7d)](_0x5be92d);}}