@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
23 lines • 3.54 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 _0x4a3e88=_0x173f;(function(_0x3458c3,_0x3a8b3b){const _0x476f04=_0x173f,_0x2906a3=_0x3458c3();while(!![]){try{const _0x10cd6e=parseInt(_0x476f04(0x1a5))/0x1+parseInt(_0x476f04(0x1a4))/0x2*(parseInt(_0x476f04(0x19f))/0x3)+parseInt(_0x476f04(0x19e))/0x4+parseInt(_0x476f04(0x196))/0x5+parseInt(_0x476f04(0x1a1))/0x6*(-parseInt(_0x476f04(0x199))/0x7)+-parseInt(_0x476f04(0x1a0))/0x8*(parseInt(_0x476f04(0x1aa))/0x9)+-parseInt(_0x476f04(0x1ab))/0xa;if(_0x10cd6e===_0x3a8b3b)break;else _0x2906a3['push'](_0x2906a3['shift']());}catch(_0x57fd6d){_0x2906a3['push'](_0x2906a3['shift']());}}}(_0x11e6,0x416ed));import{Command as _0x33bd1e}from'ckeditor5/src/core.js';function _0x173f(_0x591e83,_0x558147){const _0x11e627=_0x11e6();return _0x173f=function(_0x173fca,_0x4ae41a){_0x173fca=_0x173fca-0x196;let _0x4870a8=_0x11e627[_0x173fca];return _0x4870a8;},_0x173f(_0x591e83,_0x558147);}function _0x11e6(){const _0x3c58e3=['_enabledCommands','refresh','has','1442825EprlyW','commands','TrackChangesCommand','14JPcbeP','execute','value','clearForceDisabled','affectsData','1610680LpsJra','6aYDmaY','10016CzkXqK','784434XvwMxN','_enableCommands','_disableUnsupportedCommands','78886xBpFIg','70973YSGUJa','forceDisabled','_isEnabledBasedOnSelection','isEnabled','editor','2196JWKiVt','61150NdcnPv'];_0x11e6=function(){return _0x3c58e3;};return _0x11e6();}export default class B extends _0x33bd1e{[_0x4a3e88(0x1ac)];constructor(_0x2069ff,_0x5785d1){const _0x2ab2fd=_0x4a3e88;super(_0x2069ff),this[_0x2ab2fd(0x1ac)]=_0x5785d1,this[_0x2ab2fd(0x19b)]=!0x1,this[_0x2ab2fd(0x1ad)](),this[_0x2ab2fd(0x1a7)]=!0x1;}[_0x4a3e88(0x1ad)](){const _0x400abc=_0x4a3e88;this[_0x400abc(0x1a8)]=!0x0;}[_0x4a3e88(0x19a)](){const _0x135d80=_0x4a3e88;this[_0x135d80(0x19b)]=!this[_0x135d80(0x19b)],this[_0x135d80(0x19b)]?this[_0x135d80(0x1a3)]():this[_0x135d80(0x1a2)]();}[_0x4a3e88(0x1a3)](){const _0x3baabd=_0x4a3e88;for(const _0x31eee1 of this[_0x3baabd(0x1a9)][_0x3baabd(0x197)][_0x3baabd(0x197)]())_0x31eee1[_0x3baabd(0x19d)]&&!this[_0x3baabd(0x1ac)][_0x3baabd(0x1ae)](_0x31eee1)&&_0x31eee1[_0x3baabd(0x1a6)](_0x3baabd(0x198));}[_0x4a3e88(0x1a2)](){const _0x140d45=_0x4a3e88;for(const _0x49173d of this[_0x140d45(0x1a9)][_0x140d45(0x197)][_0x140d45(0x197)]())_0x49173d[_0x140d45(0x19d)]&&!this[_0x140d45(0x1ac)][_0x140d45(0x1ae)](_0x49173d)&&_0x49173d[_0x140d45(0x19c)](_0x140d45(0x198));}}