UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

23 lines 3.89 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. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ function _0x5839(_0x3292ae,_0xb5d28b){const _0x274ae3=_0x274a();return _0x5839=function(_0x5839bd,_0x49f739){_0x5839bd=_0x5839bd-0x1b3;let _0x2f1fbf=_0x274ae3[_0x5839bd];return _0x2f1fbf;},_0x5839(_0x3292ae,_0xb5d28b);}const _0x1eac36=_0x5839;(function(_0x534026,_0x3490c7){const _0x3fbfee=_0x5839,_0x5e08c7=_0x534026();while(!![]){try{const _0x4481aa=parseInt(_0x3fbfee(0x1ce))/0x1+parseInt(_0x3fbfee(0x1b3))/0x2*(-parseInt(_0x3fbfee(0x1b6))/0x3)+-parseInt(_0x3fbfee(0x1cf))/0x4*(parseInt(_0x3fbfee(0x1c3))/0x5)+-parseInt(_0x3fbfee(0x1c9))/0x6+parseInt(_0x3fbfee(0x1c0))/0x7+-parseInt(_0x3fbfee(0x1b9))/0x8*(parseInt(_0x3fbfee(0x1c6))/0x9)+parseInt(_0x3fbfee(0x1d0))/0xa*(parseInt(_0x3fbfee(0x1bb))/0xb);if(_0x4481aa===_0x3490c7)break;else _0x5e08c7['push'](_0x5e08c7['shift']());}catch(_0x3608ae){_0x5e08c7['push'](_0x5e08c7['shift']());}}}(_0x274a,0xa8c15));function _0x274a(){const _0xbb3810=['addClass','showSuggestionHighlights','145680ZUbfqV','dataDowncast','plugins','12SPuONP','afterInit','div','6296SUNcgf','get','627tWzpDx','editor','conversion','createContainerElement','descriptionFactory','3376835twafGJ','has','createPositionAt','259415MtUjAz','elementToStructure','ck-horizontal-line','4743jAItBm','createEmptyElement','insert','5371554cfqWTT','locale','HorizontalLineEditing','TrackChangesEditing','for','604681tlrnLr','32JmoLSK','284310fDxtTf','ELEMENT_HORIZONTAL_LINE','enableCommand','high','horizontalLine','registerElementLabel'];_0x274a=function(){return _0xbb3810;};return _0x274a();}import{Plugin as _0x2d1a33}from'ckeditor5/src/core.js';import{getTranslation as _0x336e56}from'../utils/common-translations.js';export default class st extends _0x2d1a33{[_0x1eac36(0x1b7)](){const _0xbdb789=_0x1eac36,_0x489cc9=this[_0xbdb789(0x1bc)];if(!_0x489cc9[_0xbdb789(0x1b5)][_0xbdb789(0x1c1)](_0xbdb789(0x1cb)))return;_0x489cc9[_0xbdb789(0x1b5)][_0xbdb789(0x1ba)](_0xbdb789(0x1cc))[_0xbdb789(0x1d2)](_0xbdb789(0x1d4));const _0x183db7=_0x489cc9[_0xbdb789(0x1b5)][_0xbdb789(0x1ba)](_0xbdb789(0x1cc)),_0x1cd59c=_0x489cc9[_0xbdb789(0x1ca)];_0x183db7[_0xbdb789(0x1bf)][_0xbdb789(0x1d5)](_0xbdb789(0x1d4),_0x2d25bd=>_0x336e56(_0x1cd59c,_0xbdb789(0x1d1),_0x2d25bd)),_0x489cc9[_0xbdb789(0x1bd)][_0xbdb789(0x1cd)](_0xbdb789(0x1b4))[_0xbdb789(0x1c4)]({'model':_0xbdb789(0x1d4),'view':(_0xb152,{writer:_0x1dfcc6,options:_0x3f66ef})=>{const _0x55d652=_0xbdb789;if(!_0x3f66ef[_0x55d652(0x1d7)])return null;const _0x42ae76=_0x1dfcc6[_0x55d652(0x1be)](_0x55d652(0x1b8)),_0x3e2d69=_0x1dfcc6[_0x55d652(0x1c7)]('hr');return _0x1dfcc6[_0x55d652(0x1d6)](_0x55d652(0x1c5),_0x42ae76),_0x1dfcc6[_0x55d652(0x1c8)](_0x1dfcc6[_0x55d652(0x1c2)](_0x42ae76,0x0),_0x3e2d69),_0x42ae76;},'converterPriority':_0xbdb789(0x1d3)});}}