UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

23 lines 3.5 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 _0x2cb2(){const _0x388d63=['133134pihLJz','7tXIqus','TrackChangesCommand','affectsData','15lMpMpb','55719NYScQH','1303134RTyxfi','has','value','110EEwUtf','clearForceDisabled','execute','1637395fdAcbU','401256aiXBvy','_isEnabledBasedOnSelection','_enabledCommands','refresh','isEnabled','4179880ZbNnFf','_enableCommands','commands','_disableUnsupportedCommands','editor','45364KqUIMJ','forceDisabled'];_0x2cb2=function(){return _0x388d63;};return _0x2cb2();}function _0x4452(_0x5e2471,_0x2aa6d0){const _0x2cb26a=_0x2cb2();return _0x4452=function(_0x4452b5,_0xd7be94){_0x4452b5=_0x4452b5-0x74;let _0x4557b9=_0x2cb26a[_0x4452b5];return _0x4557b9;},_0x4452(_0x5e2471,_0x2aa6d0);}const _0x6d4d1d=_0x4452;(function(_0x552f0f,_0x1eaaaa){const _0xcd91b7=_0x4452,_0x5faa4c=_0x552f0f();while(!![]){try{const _0x504173=-parseInt(_0xcd91b7(0x7c))/0x1+parseInt(_0xcd91b7(0x88))/0x2+-parseInt(_0xcd91b7(0x8c))/0x3*(parseInt(_0xcd91b7(0x86))/0x4)+parseInt(_0xcd91b7(0x7b))/0x5+-parseInt(_0xcd91b7(0x75))/0x6*(parseInt(_0xcd91b7(0x89))/0x7)+parseInt(_0xcd91b7(0x81))/0x8+parseInt(_0xcd91b7(0x74))/0x9*(parseInt(_0xcd91b7(0x78))/0xa);if(_0x504173===_0x1eaaaa)break;else _0x5faa4c['push'](_0x5faa4c['shift']());}catch(_0x1763b7){_0x5faa4c['push'](_0x5faa4c['shift']());}}}(_0x2cb2,0x4b8ea));import{Command as _0x361609}from'ckeditor5/src/core.js';export default class B extends _0x361609{[_0x6d4d1d(0x7e)];constructor(_0x288c2a,_0x414cad){const _0x107868=_0x6d4d1d;super(_0x288c2a),this[_0x107868(0x7e)]=_0x414cad,this[_0x107868(0x77)]=!0x1,this[_0x107868(0x7f)](),this[_0x107868(0x7d)]=!0x1;}[_0x6d4d1d(0x7f)](){const _0x44df82=_0x6d4d1d;this[_0x44df82(0x80)]=!0x0;}[_0x6d4d1d(0x7a)](){const _0x312ca6=_0x6d4d1d;this[_0x312ca6(0x77)]=!this[_0x312ca6(0x77)],this[_0x312ca6(0x77)]?this[_0x312ca6(0x84)]():this[_0x312ca6(0x82)]();}[_0x6d4d1d(0x84)](){const _0x41ddd4=_0x6d4d1d;for(const _0x315113 of this[_0x41ddd4(0x85)][_0x41ddd4(0x83)][_0x41ddd4(0x83)]())_0x315113[_0x41ddd4(0x8b)]&&!this[_0x41ddd4(0x7e)][_0x41ddd4(0x76)](_0x315113)&&_0x315113[_0x41ddd4(0x87)](_0x41ddd4(0x8a));}[_0x6d4d1d(0x82)](){const _0x366275=_0x6d4d1d;for(const _0x443a6b of this[_0x366275(0x85)][_0x366275(0x83)][_0x366275(0x83)]())_0x443a6b[_0x366275(0x8b)]&&!this[_0x366275(0x7e)][_0x366275(0x76)](_0x443a6b)&&_0x443a6b[_0x366275(0x79)](_0x366275(0x8a));}}