UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

23 lines 3.17 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 _0x30acd1=_0x1efd;(function(_0x57d40b,_0x57afbe){const _0x469a97=_0x1efd,_0x1afd3b=_0x57d40b();while(!![]){try{const _0x1c0def=parseInt(_0x469a97(0x1ac))/0x1+parseInt(_0x469a97(0x1a9))/0x2*(-parseInt(_0x469a97(0x1a7))/0x3)+-parseInt(_0x469a97(0x1b7))/0x4*(parseInt(_0x469a97(0x1b6))/0x5)+-parseInt(_0x469a97(0x1b5))/0x6*(-parseInt(_0x469a97(0x1a8))/0x7)+-parseInt(_0x469a97(0x1b0))/0x8+parseInt(_0x469a97(0x1bb))/0x9*(parseInt(_0x469a97(0x1b8))/0xa)+-parseInt(_0x469a97(0x1a6))/0xb;if(_0x1c0def===_0x57afbe)break;else _0x1afd3b['push'](_0x1afd3b['shift']());}catch(_0x3d8d07){_0x1afd3b['push'](_0x1afd3b['shift']());}}}(_0x27b6,0xabd30));function _0x1efd(_0x4ffb36,_0x17146d){const _0x27b6d7=_0x27b6();return _0x1efd=function(_0x1efd21,_0x96b0d9){_0x1efd21=_0x1efd21-0x1a6;let _0x35230f=_0x27b6d7[_0x1efd21];return _0x35230f;},_0x1efd(_0x4ffb36,_0x17146d);}import{Plugin as _0x1f4f41}from'ckeditor5/src/core.js';import{getTranslation as _0x574d26}from'../utils/common-translations.js';function _0x27b6(){const _0x222a7a=['91215LNqFdS','editor','commands','14433474AelyuZ','3sMpSTP','501739JUHVxQ','405834daQLEz','insertTableOfContents','afterInit','1207475fzNKHA','TrackChangesEditing','get','descriptionFactory','5028264oAWabv','ELEMENT_TABLE_OF_CONTENTS','registerElementLabel','plugins','locale','114Yyyyoy','5tBbgul','468908qCXVWr','390XSjHJd','tableOfContents','enableCommand'];_0x27b6=function(){return _0x222a7a;};return _0x27b6();}export class TrackChangesTableOfContents extends _0x1f4f41{[_0x30acd1(0x1ab)](){const _0x4a1fdf=_0x30acd1,_0xbef11=this[_0x4a1fdf(0x1bc)];if(!_0xbef11[_0x4a1fdf(0x1bd)][_0x4a1fdf(0x1ae)](_0x4a1fdf(0x1aa)))return;_0xbef11[_0x4a1fdf(0x1b3)][_0x4a1fdf(0x1ae)](_0x4a1fdf(0x1ad))[_0x4a1fdf(0x1ba)](_0x4a1fdf(0x1aa));const _0x169ba1=_0xbef11[_0x4a1fdf(0x1b3)][_0x4a1fdf(0x1ae)](_0x4a1fdf(0x1ad)),_0x231506=_0xbef11[_0x4a1fdf(0x1b4)];_0x169ba1[_0x4a1fdf(0x1af)][_0x4a1fdf(0x1b2)](_0x4a1fdf(0x1b9),_0x11cadf=>_0x574d26(_0x231506,_0x4a1fdf(0x1b1),_0x11cadf));}}