UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

23 lines 4.56 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. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ const _0x2d96fb=_0x47fa;function _0x47fa(_0x45f3ea,_0x56e0e8){const _0xbfa7e7=_0xbfa7();return _0x47fa=function(_0x47fa3c,_0x45d51c){_0x47fa3c=_0x47fa3c-0x8c;let _0x2eb245=_0xbfa7e7[_0x47fa3c];return _0x2eb245;},_0x47fa(_0x45f3ea,_0x56e0e8);}(function(_0x3ef362,_0x1df054){const _0xc64af1=_0x47fa,_0x5a9fcf=_0x3ef362();while(!![]){try{const _0x12730d=-parseInt(_0xc64af1(0x99))/0x1*(-parseInt(_0xc64af1(0x8d))/0x2)+parseInt(_0xc64af1(0xb5))/0x3*(-parseInt(_0xc64af1(0x9f))/0x4)+-parseInt(_0xc64af1(0x91))/0x5*(-parseInt(_0xc64af1(0xac))/0x6)+-parseInt(_0xc64af1(0xa1))/0x7+parseInt(_0xc64af1(0xb4))/0x8*(-parseInt(_0xc64af1(0xa7))/0x9)+parseInt(_0xc64af1(0x8f))/0xa*(-parseInt(_0xc64af1(0xae))/0xb)+-parseInt(_0xc64af1(0xa8))/0xc*(-parseInt(_0xc64af1(0xa6))/0xd);if(_0x12730d===_0x1df054)break;else _0x5a9fcf['push'](_0x5a9fcf['shift']());}catch(_0x36b93c){_0x5a9fcf['push'](_0x5a9fcf['shift']());}}}(_0xbfa7,0xade62));import{Plugin as _0x52f242}from'ckeditor5/src/core.js';export default class Z extends _0x52f242{[_0x2d96fb(0xa4)](){const _0x11a032=_0x2d96fb;if(!this[_0x11a032(0x97)][_0x11a032(0x9a)][_0x11a032(0xb1)](_0x11a032(0xb6)))return;const _0x1e4df3=this[_0x11a032(0x97)][_0x11a032(0x9a)][_0x11a032(0x90)](_0x11a032(0xa2));_0x1e4df3[_0x11a032(0x9c)](_0x11a032(0x9e),this[_0x11a032(0xa0)][_0x11a032(0xb3)](this)),_0x1e4df3[_0x11a032(0x9c)](_0x11a032(0xad)),_0x1e4df3[_0x11a032(0x9c)](_0x11a032(0x9b)),_0x1e4df3[_0x11a032(0x9c)](_0x11a032(0xb7)),_0x1e4df3[_0x11a032(0x9c)](_0x11a032(0xab));}[_0x2d96fb(0xa0)](_0x40d341,_0x3c1bf4,_0x465bc4={}){const _0x53d55d=_0x2d96fb,_0x5add92=this[_0x53d55d(0x97)][_0x53d55d(0x9a)][_0x53d55d(0x90)](_0x53d55d(0x8e));return _0x40d341(_0x17d918=>{const _0x51e24a=_0x53d55d;let _0x34a5a6=(_0x51e24a(0xb8)==typeof _0x3c1bf4?_0x5add92[_0x51e24a(0x98)](_0x3c1bf4,_0x465bc4):_0x3c1bf4)(_0x17d918);Array[_0x51e24a(0x92)](_0x34a5a6)&&(_0x34a5a6={'results':_0x34a5a6,'searchText':_0x51e24a(0xb8)==typeof _0x3c1bf4?_0x3c1bf4:''});const _0x202652=_0x34a5a6[_0x51e24a(0xa3)][_0x51e24a(0xb0)](_0x55434a=>!0x1===this[_0x51e24a(0x95)](_0x55434a,_0x17d918[_0x51e24a(0x8c)]));return{..._0x34a5a6,'results':_0x202652};},_0x465bc4);}[_0x2d96fb(0x95)](_0x1f6ef3,_0x41740e){const _0x39ab43=_0x2d96fb,_0x282411=this[_0x39ab43(0x97)][_0x39ab43(0x9d)][_0x39ab43(0xaf)](this[_0x39ab43(0x97)][_0x39ab43(0x9d)][_0x39ab43(0xa5)](_0x41740e,_0x1f6ef3[_0x39ab43(0xb9)]),this[_0x39ab43(0x97)][_0x39ab43(0x9d)][_0x39ab43(0xa5)](_0x41740e,_0x1f6ef3[_0x39ab43(0x93)]));for(const _0x1e068e of this[_0x39ab43(0x97)][_0x39ab43(0x9d)][_0x39ab43(0xb2)][_0x39ab43(0xa9)](_0x39ab43(0x96)))if(null!==_0x282411[_0x39ab43(0xaa)](_0x1e068e[_0x39ab43(0x94)]()))return!0x0;return!0x1;}}function _0xbfa7(){const _0x46d47e=['markers','bind','8RRWMfm','261QfgfGV','FindAndReplaceEditing','replace','string','start','item','8302MogNjd','FindAndReplaceUtils','110LWqiiK','get','295LKnElL','isArray','end','getRange','_isInDeletionRange','suggestion:deletion','editor','findByTextCallback','75PXMzus','plugins','findPrevious','enableCommand','model','find','18748ronVUo','handleFindCommand','6747377HTigBp','TrackChangesEditing','results','afterInit','createPositionAt','559yHFXXg','7371162DdDUiB','730764PpUDTz','getMarkersGroup','getIntersection','replaceAll','128796wliaux','findNext','1293402NJWEPX','createRange','filter','has'];_0xbfa7=function(){return _0x46d47e;};return _0xbfa7();}