UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

23 lines 3.36 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 _0x115a(){const _0x5c8cc9=['editor','isOfficialPlugin','previewFinalContent','appendChild','3474984lSurdT','297664SNqnIL','isPremiumPlugin','define','commands','6qctnXE','10pmBhZc','add','7793335jPNYrz','TrackChangesPreview','3440708YSLUrC','20840121AtLUap','1689620AdUbYf','config','2230286pyfNaq','315FgIqoj','pluginName','trackChanges.preview.renderFunction','requires'];_0x115a=function(){return _0x5c8cc9;};return _0x115a();}const _0x21eb5b=_0x2363;function _0x2363(_0x14dadb,_0x449950){const _0x115ad6=_0x115a();return _0x2363=function(_0x23631a,_0x31c50b){_0x23631a=_0x23631a-0xc7;let _0x1f388e=_0x115ad6[_0x23631a];return _0x1f388e;},_0x2363(_0x14dadb,_0x449950);}(function(_0x12ceed,_0x49b47f){const _0x5e1dd1=_0x2363,_0x2c4099=_0x12ceed();while(!![]){try{const _0x2ac1d9=parseInt(_0x5e1dd1(0xc7))/0x1+parseInt(_0x5e1dd1(0xc9))/0x2+parseInt(_0x5e1dd1(0xd2))/0x3+-parseInt(_0x5e1dd1(0xdc))/0x4+-parseInt(_0x5e1dd1(0xda))/0x5*(parseInt(_0x5e1dd1(0xd7))/0x6)+parseInt(_0x5e1dd1(0xca))/0x7*(parseInt(_0x5e1dd1(0xd3))/0x8)+-parseInt(_0x5e1dd1(0xdd))/0x9*(parseInt(_0x5e1dd1(0xd8))/0xa);if(_0x2ac1d9===_0x49b47f)break;else _0x2c4099['push'](_0x2c4099['shift']());}catch(_0x1ee9ea){_0x2c4099['push'](_0x2c4099['shift']());}}}(_0x115a,0xdc77e));import{Plugin as _0x830a20}from'ckeditor5/src/core.js';import{Dialog as _0xfe7347}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x60c554}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x45cf4c}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x830a20{static get[_0x21eb5b(0xcd)](){return[_0x60c554,_0xfe7347];}static get[_0x21eb5b(0xcb)](){const _0x359d88=_0x21eb5b;return _0x359d88(0xdb);}static get[_0x21eb5b(0xcf)](){return!0x0;}static get[_0x21eb5b(0xd4)](){return!0x0;}constructor(_0x3e77b2){const _0x17dfa3=_0x21eb5b;super(_0x3e77b2),_0x3e77b2[_0x17dfa3(0xd6)][_0x17dfa3(0xd9)](_0x17dfa3(0xd0),new _0x45cf4c(this[_0x17dfa3(0xce)])),_0x3e77b2[_0x17dfa3(0xc8)][_0x17dfa3(0xd5)](_0x17dfa3(0xcc),(_0x1b85ed,_0x387189)=>{const _0x453553=_0x17dfa3;for(const _0x1bea7b of _0x387189)_0x1b85ed[_0x453553(0xd1)](_0x1bea7b);});}}