@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
23 lines • 4.26 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. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
function _0x2ce8(_0x3cf3a2,_0x21bb51){const _0x48584c=_0x4858();return _0x2ce8=function(_0x2ce806,_0x38ad92){_0x2ce806=_0x2ce806-0xdd;let _0x5efed2=_0x48584c[_0x2ce806];return _0x5efed2;},_0x2ce8(_0x3cf3a2,_0x21bb51);}const _0x3567cc=_0x2ce8;(function(_0x40d904,_0xe4ca68){const _0x2783dd=_0x2ce8,_0x19cb3f=_0x40d904();while(!![]){try{const _0x3ecaba=-parseInt(_0x2783dd(0xef))/0x1*(-parseInt(_0x2783dd(0xe8))/0x2)+parseInt(_0x2783dd(0xe5))/0x3+parseInt(_0x2783dd(0xe3))/0x4+-parseInt(_0x2783dd(0xe2))/0x5*(parseInt(_0x2783dd(0xe9))/0x6)+-parseInt(_0x2783dd(0xf9))/0x7+-parseInt(_0x2783dd(0xf4))/0x8*(parseInt(_0x2783dd(0xe4))/0x9)+parseInt(_0x2783dd(0xee))/0xa;if(_0x3ecaba===_0xe4ca68)break;else _0x19cb3f['push'](_0x19cb3f['shift']());}catch(_0x3f2e4e){_0x19cb3f['push'](_0x19cb3f['shift']());}}}(_0x4858,0x4d90e));import{Plugin as _0x2edf84}from'ckeditor5/src/core.js';import{getTranslation as _0x11c9b4}from'../utils/common-translations.js';export default class V extends _0x2edf84{[_0x3567cc(0x104)](){const _0x881f06=_0x3567cc,_0x4147e0=this[_0x881f06(0xde)],_0x9f5590=_0x4147e0[_0x881f06(0xfd)];if(!_0x4147e0[_0x881f06(0xf5)][_0x881f06(0xe7)](_0x881f06(0xfc)))return;const _0x381470=_0x4147e0[_0x881f06(0xf5)][_0x881f06(0xf7)](_0x881f06(0x105));_0x381470[_0x881f06(0xff)](_0x881f06(0xfa)),_0x381470[_0x881f06(0xeb)](_0x881f06(0xfa)),_0x381470[_0x881f06(0xe6)][_0x881f06(0xdf)](_0x881f06(0xfa),_0x11c9b4(_0x9f5590,_0x881f06(0xf2))),this[_0x881f06(0xdd)]();}[_0x3567cc(0xdd)](){const _0x3c487b=_0x3567cc,_0x250892=this[_0x3c487b(0xde)],_0x1eb35d=_0x250892[_0x3c487b(0xfd)];_0x250892[_0x3c487b(0xf5)][_0x3c487b(0xf7)](_0x3c487b(0x105))[_0x3c487b(0xe6)][_0x3c487b(0xf1)](_0x5375ed=>{const _0x45c384=_0x3c487b;if(_0x45c384(0xe0)!=_0x5375ed[_0x45c384(0xf8)])return;const {data:_0x357cfe}=_0x5375ed;if(_0x357cfe&&_0x45c384(0xfa)==_0x357cfe[_0x45c384(0x100)]){const _0x1a3ad8=_0x357cfe[_0x45c384(0xf6)][0x0][_0x45c384(0xf3)];return{'type':_0x45c384(0xe1),'content':_0x11c9b4(_0x1eb35d,_0x45c384(0xea),function(_0x1c1d4e){const _0x1e85d3=_0x45c384;switch(_0x1c1d4e){case _0x1e85d3(0x103):return _0x11c9b4(_0x1eb35d,_0x1e85d3(0x101));case _0x1e85d3(0xfb):return _0x11c9b4(_0x1eb35d,_0x1e85d3(0xec));case _0x1e85d3(0x102):return _0x11c9b4(_0x1eb35d,_0x1e85d3(0xfe));case _0x1e85d3(0xf0):return _0x11c9b4(_0x1eb35d,_0x1e85d3(0xed));}}(_0x1a3ad8))};}});}}function _0x4858(){const _0x32bba5=['*Format:*\x20%0','registerBlockAttribute','FORMAT_ALIGN_TO_RIGHT','FORMAT_JUSTIFY_TEXT','5200030CxKAvu','213641kyrVSO','justify','registerDescriptionCallback','FORMAT_ALIGNMENT','value','8QuhiiN','plugins','commandParams','get','type','3865449nOOCBe','alignment','right','AlignmentEditing','locale','FORMAT_ALIGN_TO_CENTER','enableDefaultAttributesIntegration','commandName','FORMAT_ALIGN_TO_LEFT','center','left','afterInit','TrackChangesEditing','_registerLegacyDescription','editor','registerAttributeLabel','formatBlock','format','5cSLPyg','1187832hGUJmm','278523IkgKKl','655464zKDTmC','descriptionFactory','has','2hmowbp','2089356bXkPbb'];_0x4858=function(){return _0x32bba5;};return _0x4858();}