UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

23 lines 3.27 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 _0x4b27fd=_0xd1f0;function _0x5436(){const _0x3ad760=['2436791VRKwMj','isEnabled','_suggestions','47580sPUrzi','24ukifem','143589xHyADi','canEditAt','_isEnabledBasedOnSelection','8tsIhMO','1503100sHlPMq','track-changes-accept-suggestion-not-found','acceptSuggestion','editor','1143JkUxTh','model','75907NTcxPy','get','18760690yAZQIy','getRanges','25464ARlnLq','refresh','plugins','TrackChangesEditing','execute'];_0x5436=function(){return _0x3ad760;};return _0x5436();}(function(_0x40d472,_0x1d58f6){const _0x47e92d=_0xd1f0,_0x5ae302=_0x40d472();while(!![]){try{const _0x495b34=-parseInt(_0x47e92d(0x15d))/0x1*(parseInt(_0x47e92d(0x156))/0x2)+-parseInt(_0x47e92d(0x153))/0x3*(parseInt(_0x47e92d(0x152))/0x4)+-parseInt(_0x47e92d(0x157))/0x5+-parseInt(_0x47e92d(0x151))/0x6+-parseInt(_0x47e92d(0x14e))/0x7+-parseInt(_0x47e92d(0x161))/0x8*(parseInt(_0x47e92d(0x15b))/0x9)+parseInt(_0x47e92d(0x15f))/0xa;if(_0x495b34===_0x1d58f6)break;else _0x5ae302['push'](_0x5ae302['shift']());}catch(_0x51e2a5){_0x5ae302['push'](_0x5ae302['shift']());}}}(_0x5436,0x36c67));import{Command as _0x2a0500}from'ckeditor5/src/core.js';function _0xd1f0(_0x49ebda,_0x4aabdf){const _0x543668=_0x5436();return _0xd1f0=function(_0xd1f0fa,_0x4a4cdc){_0xd1f0fa=_0xd1f0fa-0x14c;let _0x5f10bf=_0x543668[_0xd1f0fa];return _0x5f10bf;},_0xd1f0(_0x49ebda,_0x4aabdf);}import{CKEditorError as _0x179ea8}from'ckeditor5/src/utils.js';export default class x extends _0x2a0500{[_0x4b27fd(0x150)];constructor(_0x1b3fdc,_0x1e2bc6){const _0x235626=_0x4b27fd;super(_0x1b3fdc),this[_0x235626(0x150)]=_0x1e2bc6,this[_0x235626(0x162)](),this[_0x235626(0x155)]=!0x1;}[_0x4b27fd(0x162)](){const _0x1e89ef=_0x4b27fd;this[_0x1e89ef(0x14f)]=!0x0;}[_0x4b27fd(0x14d)](_0x5f52c5){const _0x15fe8b=_0x4b27fd,_0x41e6fb=this[_0x15fe8b(0x150)][_0x15fe8b(0x15e)](_0x5f52c5);if(!_0x41e6fb)throw new _0x179ea8(_0x15fe8b(0x158),this);const _0x21d423=_0x41e6fb[_0x15fe8b(0x160)]();this[_0x15fe8b(0x15a)][_0x15fe8b(0x15c)][_0x15fe8b(0x154)](_0x21d423)&&this[_0x15fe8b(0x15a)][_0x15fe8b(0x163)][_0x15fe8b(0x15e)](_0x15fe8b(0x14c))[_0x15fe8b(0x159)](_0x41e6fb);}}