@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
23 lines • 3.9 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. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
const _0xdd98f7=_0x4ac4;(function(_0x26e2c7,_0x226df2){const _0x1eda67=_0x4ac4,_0x23da4c=_0x26e2c7();while(!![]){try{const _0x254a61=parseInt(_0x1eda67(0x87))/0x1+parseInt(_0x1eda67(0x8d))/0x2+-parseInt(_0x1eda67(0x82))/0x3+-parseInt(_0x1eda67(0x8b))/0x4+-parseInt(_0x1eda67(0x73))/0x5*(-parseInt(_0x1eda67(0x86))/0x6)+-parseInt(_0x1eda67(0x7b))/0x7+parseInt(_0x1eda67(0x7f))/0x8*(parseInt(_0x1eda67(0x84))/0x9);if(_0x254a61===_0x226df2)break;else _0x23da4c['push'](_0x23da4c['shift']());}catch(_0x5329f8){_0x23da4c['push'](_0x23da4c['shift']());}}}(_0x4670,0xcea25));import{Plugin as _0x1f846f}from'ckeditor5/src/core.js';function _0x4670(){const _0x569f6a=['enableCommand','enableDefaultAttributesIntegration','content','32MIQAGY','newValue','*Set\x20table\x20type:*\x20%0','4580799OzOIzp','tableType','1815426JModMw','element','306594KIsKOq','1579461uUCONh','plugins','TableLayout','has','3132876Hqebrp','locale','746242ocerYS','afterInit','get','registerElementLabel','editor','ELEMENT_LAYOUT_TABLE','table','getAttribute','ELEMENT_CONTENT_TABLE','insertTableLayout','130DLHEPQ','key','format','registerDescriptionCallback','TrackChangesEditing','descriptionFactory','layout','registerBlockAttribute','6520409Tdgkaq'];_0x4670=function(){return _0x569f6a;};return _0x4670();}function _0x4ac4(_0x26a833,_0x4affaa){const _0x4670df=_0x4670();return _0x4ac4=function(_0x4ac4cf,_0x15b39f){_0x4ac4cf=_0x4ac4cf-0x6a;let _0x5686b8=_0x4670df[_0x4ac4cf];return _0x5686b8;},_0x4ac4(_0x26a833,_0x4affaa);}import{getTranslation as _0x482dbb}from'../utils/common-translations.js';export default class Ye extends _0x1f846f{[_0xdd98f7(0x6a)](){const _0x57a63d=_0xdd98f7,_0x558998=this[_0x57a63d(0x6d)],_0x4da6ca=_0x558998[_0x57a63d(0x8c)],_0x175527=_0x558998[_0x57a63d(0x88)][_0x57a63d(0x6b)](_0x57a63d(0x77));function _0x54c6a8(_0x1d2ea){const _0x1f441f=_0x57a63d;return{'type':_0x1f441f(0x75),'content':''+_0x482dbb(_0x4da6ca,_0x1f441f(0x81),_0x1d2ea)};}_0x558998[_0x57a63d(0x88)][_0x57a63d(0x8a)](_0x57a63d(0x89))&&(_0x175527[_0x57a63d(0x7c)](_0x57a63d(0x72)),_0x175527[_0x57a63d(0x7d)](_0x57a63d(0x83)),_0x175527[_0x57a63d(0x7a)](_0x57a63d(0x83)),_0x175527[_0x57a63d(0x78)][_0x57a63d(0x6c)](_0x3446ec=>_0x3446ec['is'](_0x57a63d(0x85),_0x57a63d(0x6f))&&_0x57a63d(0x79)===_0x3446ec[_0x57a63d(0x70)](_0x57a63d(0x83)),_0x11f0e9=>_0x482dbb(_0x4da6ca,_0x57a63d(0x6e),_0x11f0e9)),_0x175527[_0x57a63d(0x78)][_0x57a63d(0x76)](_0x1ab220=>{const _0x1e7eb0=_0x57a63d,{data:_0x49bba0}=_0x1ab220;if(_0x49bba0&&_0x1e7eb0(0x83)==_0x49bba0[_0x1e7eb0(0x74)])switch(_0x49bba0[_0x1e7eb0(0x80)]){case _0x1e7eb0(0x79):return _0x54c6a8(_0x482dbb(_0x4da6ca,_0x1e7eb0(0x6e)));case _0x1e7eb0(0x7e):return _0x54c6a8(_0x482dbb(_0x4da6ca,_0x1e7eb0(0x71)));}}));}}