UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

23 lines 3.32 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 _0x151cdb=_0x11cb;(function(_0x511825,_0x423bc8){const _0x47d68e=_0x11cb,_0x3282ab=_0x511825();while(!![]){try{const _0x24b9b1=parseInt(_0x47d68e(0x108))/0x1+parseInt(_0x47d68e(0x107))/0x2+parseInt(_0x47d68e(0x109))/0x3+-parseInt(_0x47d68e(0x118))/0x4+-parseInt(_0x47d68e(0x110))/0x5*(parseInt(_0x47d68e(0x116))/0x6)+parseInt(_0x47d68e(0x10a))/0x7*(parseInt(_0x47d68e(0x105))/0x8)+-parseInt(_0x47d68e(0x114))/0x9*(parseInt(_0x47d68e(0x10e))/0xa);if(_0x24b9b1===_0x423bc8)break;else _0x3282ab['push'](_0x3282ab['shift']());}catch(_0x351842){_0x3282ab['push'](_0x3282ab['shift']());}}}(_0x41c8,0xa9559));import{Plugin as _0x1c61f6}from'ckeditor5/src/core.js';import{Dialog as _0x44496d}from'ckeditor5/src/ui.js';import _0xff6ad2 from'./trackchangesdata.js';import _0x58ce08 from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';function _0x11cb(_0x4ee7fd,_0xe70dae){const _0x41c888=_0x41c8();return _0x11cb=function(_0x11cbde,_0x5ea63b){_0x11cbde=_0x11cbde-0x104;let _0x327c37=_0x41c888[_0x11cbde];return _0x327c37;},_0x11cb(_0x4ee7fd,_0xe70dae);}export default class te extends _0x1c61f6{static get[_0x151cdb(0x10b)](){return[_0xff6ad2,_0x44496d];}static get[_0x151cdb(0x117)](){const _0x194ab7=_0x151cdb;return _0x194ab7(0x113);}static get[_0x151cdb(0x104)](){return!0x0;}static get[_0x151cdb(0x10c)](){return!0x0;}constructor(_0x3deadf){const _0x1384b8=_0x151cdb;super(_0x3deadf),_0x3deadf[_0x1384b8(0x10f)][_0x1384b8(0x112)](_0x1384b8(0x10d),new _0x58ce08(this[_0x1384b8(0x115)])),_0x3deadf[_0x1384b8(0x11a)][_0x1384b8(0x106)](_0x1384b8(0x119),(_0x2c4ed6,_0x37ae2d)=>{const _0x3f68e5=_0x1384b8;for(const _0x1c459d of _0x37ae2d)_0x2c4ed6[_0x3f68e5(0x111)](_0x1c459d);});}}function _0x41c8(){const _0x2d566d=['322774kZFYfO','279735mEBikO','7xqPvbF','requires','isPremiumPlugin','previewFinalContent','21430XXMgSJ','commands','114490dejAoE','appendChild','add','TrackChangesPreview','6282AukYOo','editor','156Aotbss','pluginName','4420QauqWb','trackChanges.preview.renderFunction','config','isOfficialPlugin','10377392gIOcPB','define','2145334QwnibK'];_0x41c8=function(){return _0x2d566d;};return _0x41c8();}