@ckeditor/ckeditor5-merge-fields
Version:
Merge fields feature for CKEditor 5.
23 lines • 3.23 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 _0x11ad(){const _0x49ff70=['get','commands','70ZUZeiG','breakBlock','wrapInAffixes','MergeFieldsEditing','120PjoMHy','insertImage','1953212fEPJqx','609688bPHoXF','35npVygv','execute','getMergeFieldHeight','editor','getMergeFieldWidth','2224899eUmpVD','409719WkeOla','351484Mccbls','4380402jrziYE','3756378AvdbPe','plugins','isEnabled','string','bind'];_0x11ad=function(){return _0x49ff70;};return _0x11ad();}const _0x120ccf=_0xa045;(function(_0x28f09e,_0x7b04e6){const _0x2b74ff=_0xa045,_0x26669c=_0x28f09e();while(!![]){try{const _0x31183a=parseInt(_0x2b74ff(0x10e))/0x1+parseInt(_0x2b74ff(0x11e))/0x2+parseInt(_0x2b74ff(0x110))/0x3+-parseInt(_0x2b74ff(0x11f))/0x4*(-parseInt(_0x2b74ff(0x120))/0x5)+-parseInt(_0x2b74ff(0x111))/0x6+parseInt(_0x2b74ff(0x10f))/0x7*(-parseInt(_0x2b74ff(0x11c))/0x8)+parseInt(_0x2b74ff(0x10d))/0x9*(-parseInt(_0x2b74ff(0x118))/0xa);if(_0x31183a===_0x7b04e6)break;else _0x26669c['push'](_0x26669c['shift']());}catch(_0x1fc353){_0x26669c['push'](_0x26669c['shift']());}}}(_0x11ad,0xc436d));import{Command as _0x571db7}from'ckeditor5/src/core.js';function _0xa045(_0x280921,_0x5102b7){const _0x11ad37=_0x11ad();return _0xa045=function(_0xa0456f,_0x16d64f){_0xa0456f=_0xa0456f-0x10a;let _0x25814d=_0x11ad37[_0xa0456f];return _0x25814d;},_0xa045(_0x280921,_0x5102b7);}export default class s extends _0x571db7{constructor(_0x52308e){const _0x30b1ff=_0xa045;super(_0x52308e),this[_0x30b1ff(0x115)](_0x30b1ff(0x113))['to'](this[_0x30b1ff(0x10b)][_0x30b1ff(0x117)][_0x30b1ff(0x116)](_0x30b1ff(0x11d)));}[_0x120ccf(0x121)](_0x277e0b,_0x3a0177){const _0x520dbf=_0x120ccf;if(!_0x277e0b||_0x520dbf(0x114)!=typeof _0x277e0b)return;const _0x38cbef=this[_0x520dbf(0x10b)][_0x520dbf(0x112)][_0x520dbf(0x116)](_0x520dbf(0x11b)),_0x4df825=_0x38cbef[_0x520dbf(0x10c)](_0x277e0b),_0x10521f=_0x38cbef[_0x520dbf(0x10a)](_0x277e0b);this[_0x520dbf(0x10b)][_0x520dbf(0x121)](_0x520dbf(0x11d),{'source':{'src':_0x38cbef[_0x520dbf(0x11a)](_0x277e0b),'width':_0x4df825,'height':_0x10521f},'breakBlock':_0x3a0177&&_0x3a0177[_0x520dbf(0x119)]});}}