@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
24 lines • 5.55 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 _0x5e8c(){const _0x3e3efa=['14660oRTqEH','get','plugins','add','_discardCommand','84Tvcwmr','listenTo','_acceptCommand','_editor','bind','133958SgDXPO','getRanges','commands','canEditAt','6nxNcMd','execute','view','model','130uHTYwQ','2578704iKwUlK','commentThreadController','remove','PENDING_ACTION_SUGGESTION','canAccept','18310xkqZgZ','603AepXOD','554712pLhlMW','isEnabled','destroy','isDirty','65953ddyRue','_setPendingAction','PendingActions','acceptSuggestion','discardSuggestion','change:isDirty','unbind','_pendingAction','canDiscard','3081449teqNLm','stopListening','2odCEpY','locale','_removePendingAction'];_0x5e8c=function(){return _0x3e3efa;};return _0x5e8c();}const _0x412ce5=_0x5bca;(function(_0x509017,_0x58d414){const _0x1f55e8=_0x5bca,_0x31295a=_0x509017();while(!![]){try{const _0x652b3b=-parseInt(_0x1f55e8(0x13a))/0x1*(-parseInt(_0x1f55e8(0x119))/0x2)+parseInt(_0x1f55e8(0x136))/0x3+-parseInt(_0x1f55e8(0x11c))/0x4*(-parseInt(_0x1f55e8(0x12e))/0x5)+-parseInt(_0x1f55e8(0x12a))/0x6*(-parseInt(_0x1f55e8(0x117))/0x7)+-parseInt(_0x1f55e8(0x12f))/0x8+parseInt(_0x1f55e8(0x135))/0x9*(-parseInt(_0x1f55e8(0x134))/0xa)+-parseInt(_0x1f55e8(0x126))/0xb*(parseInt(_0x1f55e8(0x121))/0xc);if(_0x652b3b===_0x58d414)break;else _0x31295a['push'](_0x31295a['shift']());}catch(_0x36d391){_0x31295a['push'](_0x31295a['shift']());}}}(_0x5e8c,0x3e85d));import{ObservableMixin as _0x1ff4b1}from'ckeditor5/src/utils.js';function _0x5bca(_0xfd59a1,_0x1731db){const _0x5e8cdf=_0x5e8c();return _0x5bca=function(_0x5bcad8,_0x50177f){_0x5bcad8=_0x5bcad8-0x117;let _0x2fe74b=_0x5e8cdf[_0x5bcad8];return _0x2fe74b;},_0x5bca(_0xfd59a1,_0x1731db);}import{getTranslation as _0x246a34}from'../utils/common-translations.js';export default class pe extends/* #__PURE__ -- */
_0x1ff4b1(){[_0x412ce5(0x12d)];[_0x412ce5(0x12c)];[_0x412ce5(0x130)];[_0x412ce5(0x124)];[_0x412ce5(0x123)];[_0x412ce5(0x120)];[_0x412ce5(0x141)];constructor(_0x106bb6,_0x44079b,_0x52569e,_0x41a9cb){const _0x2abe27=_0x412ce5;super(),this[_0x2abe27(0x12d)]=_0x44079b,this[_0x2abe27(0x12c)]=_0x52569e,this[_0x2abe27(0x130)]=_0x41a9cb,this[_0x2abe27(0x124)]=_0x106bb6,this[_0x2abe27(0x123)]=_0x106bb6[_0x2abe27(0x128)][_0x2abe27(0x11d)](_0x2abe27(0x13d)),this[_0x2abe27(0x120)]=_0x106bb6[_0x2abe27(0x128)][_0x2abe27(0x11d)](_0x2abe27(0x13e)),this[_0x2abe27(0x12c)][_0x2abe27(0x125)](_0x2abe27(0x137))['to'](this[_0x2abe27(0x123)],this[_0x2abe27(0x120)],(_0x119751,_0x12b1d9)=>_0x119751||_0x12b1d9),this[_0x2abe27(0x12c)][_0x2abe27(0x125)](_0x2abe27(0x133))['to'](this[_0x2abe27(0x123)],_0x2abe27(0x137),_0x4d25d1=>_0x4d25d1&&this[_0x2abe27(0x124)][_0x2abe27(0x12d)][_0x2abe27(0x129)](_0x44079b[_0x2abe27(0x127)]())),this[_0x2abe27(0x12c)][_0x2abe27(0x125)](_0x2abe27(0x142))['to'](this[_0x2abe27(0x120)],_0x2abe27(0x137),_0x48f264=>_0x48f264&&this[_0x2abe27(0x124)][_0x2abe27(0x12d)][_0x2abe27(0x129)](_0x44079b[_0x2abe27(0x127)]())),this[_0x2abe27(0x141)]=null,_0x52569e[_0x2abe27(0x139)]&&this[_0x2abe27(0x13b)](),this[_0x2abe27(0x122)](_0x52569e,_0x2abe27(0x13d),()=>this[_0x2abe27(0x13d)]()),this[_0x2abe27(0x122)](_0x52569e,_0x2abe27(0x13e),()=>this[_0x2abe27(0x13e)]()),this[_0x2abe27(0x122)](_0x52569e,_0x2abe27(0x13f),()=>{const _0xcc248f=_0x2abe27;_0x52569e[_0xcc248f(0x139)]?this[_0xcc248f(0x13b)]():this[_0xcc248f(0x11b)]();});}[_0x412ce5(0x13d)](){const _0x419f9a=_0x412ce5;this[_0x419f9a(0x123)][_0x419f9a(0x12b)](this[_0x419f9a(0x12d)]['id']);}[_0x412ce5(0x13e)](){const _0x311363=_0x412ce5;this[_0x311363(0x120)][_0x311363(0x12b)](this[_0x311363(0x12d)]['id']);}[_0x412ce5(0x138)](){const _0x318ca5=_0x412ce5;this[_0x318ca5(0x12c)][_0x318ca5(0x140)](_0x318ca5(0x137)),this[_0x318ca5(0x12c)][_0x318ca5(0x140)](_0x318ca5(0x133)),this[_0x318ca5(0x12c)][_0x318ca5(0x140)](_0x318ca5(0x142)),this[_0x318ca5(0x118)](),this[_0x318ca5(0x130)][_0x318ca5(0x138)](),this[_0x318ca5(0x141)]&&this[_0x318ca5(0x11b)]();}[_0x412ce5(0x13b)](){const _0x327a18=_0x412ce5,_0x203db2=_0x246a34(this[_0x327a18(0x124)][_0x327a18(0x11a)],_0x327a18(0x132));this[_0x327a18(0x141)]=this[_0x327a18(0x124)][_0x327a18(0x11e)][_0x327a18(0x11d)](_0x327a18(0x13c))[_0x327a18(0x11f)](_0x203db2);}[_0x412ce5(0x11b)](){const _0x2be3d8=_0x412ce5;null!==this[_0x2be3d8(0x141)]&&this[_0x2be3d8(0x124)][_0x2be3d8(0x11e)][_0x2be3d8(0x11d)](_0x2be3d8(0x13c))[_0x2be3d8(0x131)](this[_0x2be3d8(0x141)]),this[_0x2be3d8(0x141)]=null;}}