@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
23 lines • 4.98 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 _0x1794(){const _0x21dd45=['formatInline','registerAttributeLabel','CodeEditing','commandParams','TrackChangesEditing','superscript','slice','subscript','FORMAT_SUBSCRIPT','FORMAT_CODE','BoldEditing','FORMAT_UNDERLINE','type','FORMAT_ITALIC','UnderlineEditing','SubscriptEditing','ItalicEditing','plugins','6318684NsQOtE','FORMAT_STRIKETHROUGH','enableDefaultAttributesIntegration','strikethrough','registerDescriptionCallback','SuperscriptEditing','*Format:*\x20%0','159440GWjFfC','1830346RKsvwU','FORMAT_BOLD','commandName','code','descriptionFactory','has','45464eiMuys','afterInit','italic','*Remove\x20format:*\x20%0','bold','editor','registerInlineAttribute','357025tMrdFL','toLowerCase','212XDtYDH','forceValue','toUpperCase','format','underline','FORMAT_SUPERSCRIPT','FORMAT_','_registerLegacyDescription','6RANILG','1590568PJIoGJ','locale','get','StrikethroughEditing','2631TkzhuN'];_0x1794=function(){return _0x21dd45;};return _0x1794();}const _0x20ea49=_0x3801;(function(_0x144a19,_0x1ec4db){const _0x3e1f56=_0x3801,_0x5e101e=_0x144a19();while(!![]){try{const _0x4dba17=parseInt(_0x3e1f56(0xf0))/0x1+-parseInt(_0x3e1f56(0xf7))/0x2+-parseInt(_0x3e1f56(0x10d))/0x3*(parseInt(_0x3e1f56(0x100))/0x4)+-parseInt(_0x3e1f56(0xfe))/0x5*(parseInt(_0x3e1f56(0x108))/0x6)+-parseInt(_0x3e1f56(0xf1))/0x7+-parseInt(_0x3e1f56(0x109))/0x8+parseInt(_0x3e1f56(0xe9))/0x9;if(_0x4dba17===_0x1ec4db)break;else _0x5e101e['push'](_0x5e101e['shift']());}catch(_0x54a6c4){_0x5e101e['push'](_0x5e101e['shift']());}}}(_0x1794,0x3f9f7));function _0x3801(_0x481262,_0x4f5029){const _0x1794b6=_0x1794();return _0x3801=function(_0x380147,_0xd32e14){_0x380147=_0x380147-0xd9;let _0x4f7391=_0x1794b6[_0x380147];return _0x4f7391;},_0x3801(_0x481262,_0x4f5029);}import{Plugin as _0x3a42e8}from'ckeditor5/src/core.js';import{getTranslation as _0x5c1654}from'../utils/common-translations.js';const Zt=[_0x20ea49(0xe1),_0x20ea49(0xe7),_0x20ea49(0xe5),_0x20ea49(0xd9),_0x20ea49(0x10c),_0x20ea49(0xe6),_0x20ea49(0xee)];export default class F extends _0x3a42e8{[_0x20ea49(0xf8)](){const _0xbb7f4e=_0x20ea49,_0x5ac7fd=this[_0xbb7f4e(0xfc)],_0x464072=_0x5ac7fd[_0xbb7f4e(0xe8)][_0xbb7f4e(0x10b)](_0xbb7f4e(0xdb)),_0x17e3ce=_0x5ac7fd[_0xbb7f4e(0x10a)];for(const _0x2fb169 of Zt){if(!_0x5ac7fd[_0xbb7f4e(0xe8)][_0xbb7f4e(0xf6)](_0x2fb169))continue;const _0x2325c8=_0x2fb169[_0xbb7f4e(0xdd)](0x0,-0x7)[_0xbb7f4e(0xff)](),_0x3856cc=_0xbb7f4e(0x106)+_0x2325c8[_0xbb7f4e(0x102)]();_0x464072[_0xbb7f4e(0xeb)](_0x2325c8),_0x464072[_0xbb7f4e(0xfd)](_0x2325c8),_0x464072[_0xbb7f4e(0xf5)][_0xbb7f4e(0x10f)](_0x2325c8,_0x5c1654(_0x17e3ce,_0x3856cc));}this[_0xbb7f4e(0x107)]();}[_0x20ea49(0x107)](){const _0x4f8305=_0x20ea49,_0x51822f=this[_0x4f8305(0xfc)],_0x49de2e=_0x51822f[_0x4f8305(0x10a)],_0xad4842=_0x51822f[_0x4f8305(0xe8)][_0x4f8305(0x10b)](_0x4f8305(0xdb));function _0x121371(_0x3b086a,_0x445ad5){const _0x567f10=_0x4f8305;_0xad4842[_0x567f10(0xf5)][_0x567f10(0xed)](_0x1ff780=>{const _0x5a05ae=_0x567f10;if(_0x5a05ae(0x10e)!=_0x1ff780[_0x5a05ae(0xe3)])return;const {data:_0x3f1626}=_0x1ff780;return _0x3f1626&&_0x3f1626[_0x5a05ae(0xf3)]===_0x3b086a?_0x3f1626[_0x5a05ae(0xda)][0x0][_0x5a05ae(0x101)]?{'type':_0x5a05ae(0x103),'content':_0x5c1654(_0x49de2e,_0x5a05ae(0xef),_0x445ad5)}:{'type':_0x5a05ae(0x103),'content':_0x5c1654(_0x49de2e,_0x5a05ae(0xfa),_0x445ad5)}:void 0x0;});}_0x121371(_0x4f8305(0xfb),_0x5c1654(_0x49de2e,_0x4f8305(0xf2))),_0x121371(_0x4f8305(0xf9),_0x5c1654(_0x49de2e,_0x4f8305(0xe4))),_0x121371(_0x4f8305(0x104),_0x5c1654(_0x49de2e,_0x4f8305(0xe2))),_0x121371(_0x4f8305(0xf4),_0x5c1654(_0x49de2e,_0x4f8305(0xe0))),_0x121371(_0x4f8305(0xec),_0x5c1654(_0x49de2e,_0x4f8305(0xea))),_0x121371(_0x4f8305(0xde),_0x5c1654(_0x49de2e,_0x4f8305(0xdf))),_0x121371(_0x4f8305(0xdc),_0x5c1654(_0x49de2e,_0x4f8305(0x105)));}}