UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

23 lines 2.72 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 _0x3f2ce2=_0x1360;(function(_0x57a5f8,_0x5edd73){const _0x5c9cd6=_0x1360,_0x4f74a2=_0x57a5f8();while(!![]){try{const _0x41a9ad=parseInt(_0x5c9cd6(0x11f))/0x1+-parseInt(_0x5c9cd6(0x12d))/0x2+-parseInt(_0x5c9cd6(0x126))/0x3+parseInt(_0x5c9cd6(0x123))/0x4*(-parseInt(_0x5c9cd6(0x124))/0x5)+-parseInt(_0x5c9cd6(0x127))/0x6+parseInt(_0x5c9cd6(0x120))/0x7*(-parseInt(_0x5c9cd6(0x122))/0x8)+parseInt(_0x5c9cd6(0x12c))/0x9;if(_0x41a9ad===_0x5edd73)break;else _0x4f74a2['push'](_0x4f74a2['shift']());}catch(_0xbc0f89){_0x4f74a2['push'](_0x4f74a2['shift']());}}}(_0x5fdb,0xa9d58));import{Plugin as _0x496152}from'ckeditor5/src/core.js';function _0x5fdb(){const _0x19cd50=['428771uwZCQR','get','40veANrF','260JeUeXj','745IqVOrB','editor','2296950cKoRbX','5619276PaFFGq','enableCommand','UndoEditing','plugins','afterInit','16698897KJdape','785950CcowtR','has','TrackChangesEditing','redo','undo','1251328REdRLo'];_0x5fdb=function(){return _0x19cd50;};return _0x5fdb();}function _0x1360(_0x58e0ee,_0x567040){const _0x5fdb97=_0x5fdb();return _0x1360=function(_0x1360fe,_0x31eb48){_0x1360fe=_0x1360fe-0x11b;let _0x443403=_0x5fdb97[_0x1360fe];return _0x443403;},_0x1360(_0x58e0ee,_0x567040);}export class TrackChangesUndo extends _0x496152{[_0x3f2ce2(0x12b)](){const _0x4c47da=_0x3f2ce2,_0x3f8ed0=this[_0x4c47da(0x125)],_0x347246=_0x3f8ed0[_0x4c47da(0x12a)][_0x4c47da(0x121)](_0x4c47da(0x11c));_0x3f8ed0[_0x4c47da(0x12a)][_0x4c47da(0x11b)](_0x4c47da(0x129))&&(_0x347246[_0x4c47da(0x128)](_0x4c47da(0x11e)),_0x347246[_0x4c47da(0x128)](_0x4c47da(0x11d)));}}