UNPKG

@ckeditor/ckeditor5-export-inline-styles

Version:

The export with inline styles feature for CKEditor 5.

23 lines 4.68 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 _0x3eee(){const _0x11923e=['203051jbVnIV','usageLimit','exportInlineStylesLicenseKeyInvalid','_showLicenseError','domainLimit','exportInlineStylesLicenseKeyDomainLimit','7tgIEms','editor','exportInlineStylesLicenseKeyEvaluationLimit','featureNotAllowed','54sTWTbh','get','2228192dBKkdK','licenseKey','requires','exportInlineStylesLicenseKeyUsageLimit','_licenseKeyCheckInterval','6993720zogOGv','ExportInlineStyles','pluginName','28eJKWZj','evaluationLimit','init','exportInlineStylesLicenseKeyTrialLimit','trialLimit','invalid','isPremiumPlugin','571420kAsnmE','isOfficialPlugin','expired','exportInlineStylesLicenseKeyValid','1709856cagQgq','config','exportInlineStylesLicenseKeyExpired','89769ehicUX','exportInlineStylesLicenseKeyNotAllowed','210715UfjUHJ','destroy'];_0x3eee=function(){return _0x11923e;};return _0x3eee();}const _0x1652e2=_0x1cd4;(function(_0x33ce9f,_0x410a6a){const _0x9f2f6=_0x1cd4,_0x3caf5a=_0x33ce9f();while(!![]){try{const _0x1d705d=-parseInt(_0x9f2f6(0x180))/0x1+-parseInt(_0x9f2f6(0x175))/0x2+-parseInt(_0x9f2f6(0x17c))/0x3*(parseInt(_0x9f2f6(0x16e))/0x4)+parseInt(_0x9f2f6(0x17e))/0x5*(parseInt(_0x9f2f6(0x164))/0x6)+parseInt(_0x9f2f6(0x186))/0x7*(-parseInt(_0x9f2f6(0x166))/0x8)+parseInt(_0x9f2f6(0x179))/0x9+parseInt(_0x9f2f6(0x16b))/0xa;if(_0x1d705d===_0x410a6a)break;else _0x3caf5a['push'](_0x3caf5a['shift']());}catch(_0xfb1e8e){_0x3caf5a['push'](_0x3caf5a['shift']());}}}(_0x3eee,0x47439));import{Plugin as _0x3b5218}from'ckeditor5/src/core.js';function _0x1cd4(_0x15989a,_0x456631){const _0x3eee69=_0x3eee();return _0x1cd4=function(_0x1cd47c,_0x4d893d){_0x1cd47c=_0x1cd47c-0x164;let _0x288324=_0x3eee69[_0x1cd47c];return _0x288324;},_0x1cd4(_0x15989a,_0x456631);}import{ExportInlineStylesEditing as _0x58a529}from'./exportinlinestylesediting.js';export class ExportInlineStyles extends _0x3b5218{[_0x1652e2(0x167)];[_0x1652e2(0x16a)];static get[_0x1652e2(0x16d)](){const _0x3c57dc=_0x1652e2;return _0x3c57dc(0x16c);}static get[_0x1652e2(0x176)](){return!0x0;}static get[_0x1652e2(0x174)](){return!0x0;}static get[_0x1652e2(0x168)](){return[_0x58a529];}[_0x1652e2(0x170)](){const _0x3f7d70=_0x1652e2;this[_0x3f7d70(0x167)]=this[_0x3f7d70(0x187)][_0x3f7d70(0x17a)][_0x3f7d70(0x165)](_0x3f7d70(0x167));const _0x55f7dd=this[_0x3f7d70(0x187)];this[_0x3f7d70(0x16a)]=setInterval(()=>{const _0x109f31=_0x3f7d70;let _0x5537c9;for(const _0x180bb2 in _0x55f7dd){const _0x289719=_0x180bb2,_0x957f1a=_0x55f7dd[_0x289719];if(_0x109f31(0x178)==_0x957f1a||_0x109f31(0x182)==_0x957f1a||_0x109f31(0x17b)==_0x957f1a||_0x109f31(0x185)==_0x957f1a||_0x109f31(0x17d)==_0x957f1a||_0x109f31(0x188)==_0x957f1a||_0x109f31(0x171)==_0x957f1a||_0x109f31(0x169)==_0x957f1a){delete _0x55f7dd[_0x289719],_0x5537c9=_0x957f1a,clearInterval(this[_0x109f31(0x16a)]),this[_0x109f31(0x16a)]=void 0x0;break;}}_0x109f31(0x182)==_0x5537c9&&_0x55f7dd[_0x109f31(0x183)](_0x109f31(0x173)),_0x109f31(0x17b)==_0x5537c9&&_0x55f7dd[_0x109f31(0x183)](_0x109f31(0x177)),_0x109f31(0x185)==_0x5537c9&&_0x55f7dd[_0x109f31(0x183)](_0x109f31(0x184)),_0x109f31(0x17d)==_0x5537c9&&_0x55f7dd[_0x109f31(0x183)](_0x109f31(0x189),_0x109f31(0x16c)),_0x109f31(0x188)==_0x5537c9&&_0x55f7dd[_0x109f31(0x183)](_0x109f31(0x16f)),_0x109f31(0x171)==_0x5537c9&&_0x55f7dd[_0x109f31(0x183)](_0x109f31(0x172)),_0x109f31(0x169)==_0x5537c9&&_0x55f7dd[_0x109f31(0x183)](_0x109f31(0x181));},0x3e8);}[_0x1652e2(0x17f)](){const _0xb730eb=_0x1652e2;super[_0xb730eb(0x17f)](),this[_0xb730eb(0x16a)]&&clearInterval(this[_0xb730eb(0x16a)]);}}