@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
23 lines • 3.28 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 _0x22e7fd=_0x36b1;(function(_0x3c19b4,_0x11efb6){const _0x4bd220=_0x36b1,_0x4f5421=_0x3c19b4();while(!![]){try{const _0xd2e2a3=parseInt(_0x4bd220(0x1f9))/0x1+-parseInt(_0x4bd220(0x201))/0x2+-parseInt(_0x4bd220(0x1ec))/0x3*(-parseInt(_0x4bd220(0x1fa))/0x4)+parseInt(_0x4bd220(0x1ef))/0x5*(-parseInt(_0x4bd220(0x1f1))/0x6)+-parseInt(_0x4bd220(0x1f3))/0x7*(-parseInt(_0x4bd220(0x1fe))/0x8)+parseInt(_0x4bd220(0x1ea))/0x9+-parseInt(_0x4bd220(0x1ed))/0xa;if(_0xd2e2a3===_0x11efb6)break;else _0x4f5421['push'](_0x4f5421['shift']());}catch(_0x52d906){_0x4f5421['push'](_0x4f5421['shift']());}}}(_0x1a23,0xed40d));function _0x36b1(_0x47b25d,_0x241273){const _0x1a237a=_0x1a23();return _0x36b1=function(_0x36b1af,_0xcf16a9){_0x36b1af=_0x36b1af-0x1ea;let _0x3e140a=_0x1a237a[_0x36b1af];return _0x3e140a;},_0x36b1(_0x47b25d,_0x241273);}import{Command as _0x2a8952}from'ckeditor5/src/core.js';function _0x1a23(){const _0x5b279f=['execute','canEditAt','194438dXtZEc','3174453FcEJrK','get','3eWFlfc','20087180ajICNr','track-changes-discard-suggestion-not-found','55nFvCIy','editor','1013766MttDbS','model','518644rGswWx','TrackChangesEditing','plugins','_suggestions','refresh','isEnabled','1698479ELjedW','4723940gPGoIu','getRanges','_isEnabledBasedOnSelection','discardSuggestion','184eBRESB'];_0x1a23=function(){return _0x5b279f;};return _0x1a23();}import{CKEditorError as _0x2e2540}from'ckeditor5/src/utils.js';export default class O extends _0x2a8952{[_0x22e7fd(0x1f6)];constructor(_0x58bb31,_0x73960e){const _0x2f2956=_0x22e7fd;super(_0x58bb31),this[_0x2f2956(0x1f6)]=_0x73960e,this[_0x2f2956(0x1f7)](),this[_0x2f2956(0x1fc)]=!0x1;}[_0x22e7fd(0x1f7)](){const _0x423fad=_0x22e7fd;this[_0x423fad(0x1f8)]=!0x0;}[_0x22e7fd(0x1ff)](_0x449567){const _0x57649a=_0x22e7fd,_0x171c53=this[_0x57649a(0x1f6)][_0x57649a(0x1eb)](_0x449567);if(!_0x171c53)throw new _0x2e2540(_0x57649a(0x1ee),this);const _0x4720aa=_0x171c53[_0x57649a(0x1fb)]();this[_0x57649a(0x1f0)][_0x57649a(0x1f2)][_0x57649a(0x200)](_0x4720aa)&&this[_0x57649a(0x1f0)][_0x57649a(0x1f5)][_0x57649a(0x1eb)](_0x57649a(0x1f4))[_0x57649a(0x1fd)](_0x171c53);}}