@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
23 lines • 3.43 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 _0x5b47(){const _0x3893b0=['isOfficialPlugin','4284qhsNJH','isPremiumPlugin','requires','175855XCIHcY','502YjNvhq','config','8625287YEDbIy','7jLlAUP','pluginName','1030PPTFWV','1647MJNqRu','commands','add','appendChild','52nuPmDb','trackChanges.preview.renderFunction','TrackChangesPreview','define','previewFinalContent','2898384WMQwLA','900246ioNytD','32640qYsKCX','editor'];_0x5b47=function(){return _0x3893b0;};return _0x5b47();}const _0x4abc12=_0x22cf;(function(_0x356b7e,_0x255064){const _0x5a6e5e=_0x22cf,_0x34b412=_0x356b7e();while(!![]){try{const _0x286ce9=-parseInt(_0x5a6e5e(0x1dc))/0x1*(-parseInt(_0x5a6e5e(0x1d6))/0x2)+-parseInt(_0x5a6e5e(0x1e7))/0x3+-parseInt(_0x5a6e5e(0x1e0))/0x4*(-parseInt(_0x5a6e5e(0x1d5))/0x5)+parseInt(_0x5a6e5e(0x1e6))/0x6*(-parseInt(_0x5a6e5e(0x1d9))/0x7)+parseInt(_0x5a6e5e(0x1e5))/0x8+parseInt(_0x5a6e5e(0x1ea))/0x9*(-parseInt(_0x5a6e5e(0x1db))/0xa)+-parseInt(_0x5a6e5e(0x1d8))/0xb;if(_0x286ce9===_0x255064)break;else _0x34b412['push'](_0x34b412['shift']());}catch(_0x4a0cdd){_0x34b412['push'](_0x34b412['shift']());}}}(_0x5b47,0x3a504));function _0x22cf(_0x346c98,_0x4e6489){const _0x5b4770=_0x5b47();return _0x22cf=function(_0x22cf10,_0x23d669){_0x22cf10=_0x22cf10-0x1d4;let _0x1f4530=_0x5b4770[_0x22cf10];return _0x1f4530;},_0x22cf(_0x346c98,_0x4e6489);}import{Plugin as _0x28ac38}from'ckeditor5/src/core.js';import{Dialog as _0x4f7133}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x332fd3}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x59961a}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x28ac38{static get[_0x4abc12(0x1d4)](){return[_0x332fd3,_0x4f7133];}static get[_0x4abc12(0x1da)](){const _0x41c10d=_0x4abc12;return _0x41c10d(0x1e2);}static get[_0x4abc12(0x1e9)](){return!0x0;}static get[_0x4abc12(0x1eb)](){return!0x0;}constructor(_0x48c731){const _0x6a3b2e=_0x4abc12;super(_0x48c731),_0x48c731[_0x6a3b2e(0x1dd)][_0x6a3b2e(0x1de)](_0x6a3b2e(0x1e4),new _0x59961a(this[_0x6a3b2e(0x1e8)])),_0x48c731[_0x6a3b2e(0x1d7)][_0x6a3b2e(0x1e3)](_0x6a3b2e(0x1e1),(_0x23ee02,_0x46bc5e)=>{const _0x33302c=_0x6a3b2e;for(const _0x84bbf9 of _0x46bc5e)_0x23ee02[_0x33302c(0x1df)](_0x84bbf9);});}}