@ckeditor/ckeditor5-export-inline-styles 48.0.0-alpha.0 → 48.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x556e71,Plugin as _0x28da61}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x499427,createElement as _0x2db2a3,uid as _0x2bdccb}from'@ckeditor/ckeditor5-utils/dist/index.js';import{calculate as _0x1aaed8,compare as _0x3c651e}from'specificity';import{StylesMap as _0x1f1c87,addMarginStylesRules as _0x1534c5,addPaddingStylesRules as _0x174c97}from'@ckeditor/ckeditor5-engine/dist/index.js';function f(_0x148dc7){const _0x5cd624=[];let _0x39abb7='',_0x250d6e=0x0;for(;_0x250d6e<_0x148dc7['length'];){const _0x971cd9=_0x148dc7[_0x250d6e];if('('===_0x971cd9){const _0x525c29=y(_0x148dc7,_0x250d6e+0x1);if(-0x1===_0x525c29)return[];_0x39abb7+=_0x148dc7['slice'](_0x250d6e,_0x525c29+0x1),_0x250d6e=_0x525c29+0x1;}else','!==_0x971cd9||_0x39abb7['endsWith']('\x5c')?(_0x39abb7+=_0x971cd9,_0x250d6e++):(_0x5cd624['push'](_0x39abb7['trim']()),_0x39abb7='',_0x250d6e++);}return _0x39abb7['trim']()&&_0x5cd624['push'](_0x39abb7['trim']()),_0x5cd624['filter'](Boolean);}function y(_0x22586a,_0x2ccf73){let _0x4b4e37=0x1;for(let _0x54f8cf=_0x2ccf73;_0x54f8cf<_0x22586a['length'];_0x54f8cf++){const _0x94a108=_0x22586a[_0x54f8cf];if('('===_0x94a108)_0x4b4e37++;else{if(')'===_0x94a108&&(_0x4b4e37--,0x0===_0x4b4e37))return _0x54f8cf;}}return-0x1;}function w(_0x26f7db){return _0x26f7db['replace'](/!\s*important/i,'')['trim']();}function p(_0x3a7150,_0x30fbfc){const _0x18e6b0=new Map(),_0x1067b5=_0x1ce30e=>_0x18e6b0['has'](_0x1ce30e)?_0x18e6b0['get'](_0x1ce30e):_0x3a7150(_0x1ce30e);for(const [_0x4630d3,_0x1c463f]of _0x30fbfc['getStylesEntries']())if(_0x1c463f&&_0x4630d3['startsWith']('--')){const _0x1c94ef=d(_0x1067b5,_0x1c463f);_0x18e6b0['set'](_0x4630d3,_0x1c94ef),_0x30fbfc['remove'](_0x4630d3);}for(const [_0x379a8e,_0x145055]of _0x30fbfc['getStylesEntries']())if(_0x145055){const _0x43ae34=d(_0x1067b5,_0x145055);_0x30fbfc['set'](_0x379a8e,_0x43ae34);}return _0x18e6b0;}function d(_0x2247dc,_0x25ba1c){return function(_0x5c91a4,_0x1e8e12){let _0xdc1776='',_0x370f6e=0x0;for(;_0x370f6e<_0x5c91a4['length'];){const _0x4e6e2c=_0x5c91a4['indexOf']('var(',_0x370f6e);if(-0x1===_0x4e6e2c){_0xdc1776+=_0x5c91a4['slice'](_0x370f6e);break;}_0xdc1776+=_0x5c91a4['slice'](_0x370f6e,_0x4e6e2c);const _0x5871e9=_0x4e6e2c+0x4,_0x373156=y(_0x5c91a4,_0x5871e9);_0xdc1776+=_0x1e8e12(_0x5c91a4['substring'](_0x5871e9,_0x373156)),_0x370f6e=_0x373156+0x1;}return _0xdc1776;}(_0x25ba1c,_0x59a384=>{const [_0x414144,_0x3c3ad6]=f(_0x59a384),_0x432a66=_0x2247dc(_0x414144);return void 0x0!==_0x432a66?_0x432a66:_0x3c3ad6?d(_0x2247dc,_0x3c3ad6):'var('+_0x414144+')';});}async function h(_0x1c13f5){const _0x288880=[await _0x499427(_0x1c13f5['stylesheets']),_0x1c13f5['inlineCss']]['filter'](_0x309087=>_0x309087&&_0x309087['length'])['join']('\x0a'),_0x199b02=await async function(_0x2dfe3e,_0x36607e){const _0x37773c=new CSSStyleSheet();return await _0x37773c['replace'](_0x36607e),S(Array['from'](_0x37773c['cssRules'])['filter'](_0x43e6aa=>_0x43e6aa instanceof CSSStyleRule))['flatMap'](({selectorText:_0x10fe48,contentCssText:_0x252dd0})=>{const _0x5d86b7=f(_0x10fe48),_0x5502db=new _0x1f1c87(_0x2dfe3e)['setTo'](_0x252dd0);return _0x5d86b7['map'](_0x46cfde=>{const _0x1ef025=function(_0x32754b){const _0x185698=':where(';let _0x9e55a=_0x32754b,_0x42df81=0x0;for(let _0x19a769=0x0;_0x19a769<0x64;_0x19a769++){const _0x4d2bfe=_0x9e55a['indexOf'](_0x185698,_0x42df81);if(-0x1===_0x4d2bfe)break;let _0x116ac4=0x0;for(let _0x1133d0=0x0;_0x1133d0<_0x4d2bfe;_0x1133d0++)'('===_0x9e55a[_0x1133d0]?_0x116ac4++:')'===_0x9e55a[_0x1133d0]&&_0x116ac4--;if(_0x116ac4>0x0){_0x42df81=_0x4d2bfe+_0x185698['length'];continue;}let _0x1ee638=-0x1;for(let _0xd9b8f=_0x4d2bfe+_0x185698['length'],_0x423f86=0x1;_0xd9b8f<_0x9e55a['length'];_0xd9b8f++)if('('===_0x9e55a[_0xd9b8f]?_0x423f86++:')'===_0x9e55a[_0xd9b8f]&&_0x423f86--,!_0x423f86){_0x1ee638=_0xd9b8f;break;}-0x1!==_0x1ee638?(_0x9e55a=_0x9e55a['slice'](0x0,_0x4d2bfe)+_0x9e55a['slice'](_0x1ee638+0x1),_0x42df81=_0x4d2bfe):_0x42df81=_0x4d2bfe+_0x185698['length'];}return _0x9e55a['replace'](/\s+/g,'\x20')['trim']();}(_0x46cfde),_0x514a52=_0x1ef025?_0x1aaed8(_0x1ef025)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x5502db,'flatSelector':_0x46cfde,'specificity':_0x514a52};});})['sort']((_0x581295,_0x2cbaf8)=>_0x3c651e(_0x581295['specificity'],_0x2cbaf8['specificity']));}(_0x1c13f5['stylesProcessor'],_0x288880);return{'parsedCssRules':_0x199b02,'rootCssVariables':function(_0x3d7416){const _0x15aec2=new Map();for(const {stylesMap:_0x58c90d,flatSelector:_0x49b7d4}of _0x3d7416){if(':root'!==_0x49b7d4)continue;const _0x4f3602=p(_0x15aec2['get']['bind'](_0x15aec2),_0x58c90d);for(const [_0x3720a8,_0x31584c]of _0x4f3602)_0x15aec2['set'](_0x3720a8,_0x31584c);}return _0x15aec2;}(_0x199b02)};}function S(_0x353927,_0xa511f4=''){return _0x353927['flatMap'](_0x3f29b4=>{const {selectorText:_0x358416,cssText:_0x3ba4c4,cssRules:_0x27fa66}=_0x3f29b4;if(!_0x358416)return[];const _0x4feea9=_0x358416['replace'](/&/g,_0xa511f4);let _0x566ec0=_0x3ba4c4['replace'](_0x358416,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x27fa66||!_0x27fa66['length'])return[{'selectorText':_0x4feea9,'contentCssText':_0x566ec0}];for(const _0x2d609f of _0x27fa66)_0x566ec0=_0x566ec0['replace'](_0x2d609f['cssText'],'')['trim']();return[{'selectorText':_0x4feea9,'contentCssText':_0x566ec0},...S(Array['from'](_0x27fa66),_0x4feea9)];});}function m(_0x248ac3,_0x4ebbef){const _0x370ed2=new _0x1f1c87(_0x248ac3);for(const _0x2e70ea of _0x4ebbef){let _0x172263=null;if(_0x172263='string'==typeof _0x2e70ea?new _0x1f1c87(_0x248ac3)['setTo'](_0x2e70ea):_0x2e70ea,_0x172263){for(const [_0x4531e6,_0x1e69e7]of _0x172263['getStylesEntries']())_0x370ed2['set'](_0x4531e6,_0x1e69e7);}}return _0x370ed2;}class x extends _0x556e71{['_stylesProcessor'];constructor(_0x1ec3ca){super(_0x1ec3ca),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x1534c5(this['_stylesProcessor']),_0x174c97(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x4dc7c3){const _0x32e18c=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x4c0fa2}=this['editor']['locale'],{rootName:_0x2f5ef0='main',dataControllerDowncastOptions:_0xbc5c9b={},transformations:_0x169d6e=_0x32e18c['transformations']||[]}=_0x4dc7c3||{};this['isBusy']=!0x0,this['refresh']();const _0xa59aeb=this['_getRootDataHTMLFragment'](_0x2f5ef0,_0xbc5c9b),_0x3d40f3=_0x2db2a3(_0xa59aeb['ownerDocument'],'div',{'dir':_0x4c0fa2,'class':'ck-content'},[_0xa59aeb]);return this['_collectAndApplyStyles'](_0x169d6e,_0x3d40f3)['then'](()=>{const _0x136901=function(_0x34d159){const _0x13085f=_0x34d159['ownerDocument']['createDocumentFragment']();for(;_0x34d159['firstChild'];)_0x13085f['appendChild'](_0x34d159['firstChild']);return _0x13085f;}(_0x3d40f3),_0x828577=_0x3d40f3['getAttribute']('style');if(_0x828577)for(const _0x30d859 of _0x136901['children']){const _0x1aa0dd=_0x30d859['getAttribute']('style'),_0x263ce6=m(this['_stylesProcessor'],[_0x828577,_0x1aa0dd]);_0x30d859['setAttribute']('style',L(_0x263ce6));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x136901);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x3ccf05,_0x54c500){const {data:_0xfc8635,model:_0x309895}=this['editor'],_0x3bda4f=_0x309895['document']['getRoot'](_0x3ccf05),_0x54b001=_0xfc8635['toView'](_0x3bda4f,_0x54c500);return _0xfc8635['htmlProcessor']['domConverter']['viewToDom'](_0x54b001);}async['_collectAndApplyStyles'](_0x490003,_0x4c1f21){const {stylesheets:_0xbcabc9,inlineCss:_0x425d21,stripCssClasses:_0x26c239}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x4264e1,rootCssVariables:_0x4b6736}=await h({'stylesheets':_0xbcabc9||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x425d21});this['_processElementTree']({'transformations':_0x490003,'parsedCssRules':_0x4264e1,'element':_0x4c1f21,'stripCssClasses':_0x26c239,'parentCSSVariablesLookup':_0x4b6736['get']['bind'](_0x4b6736)});}['_processElementTree']({element:_0x56aa9d,parsedCssRules:_0xd184eb,parentCSSVariablesLookup:_0x3aa6bb,stripCssClasses:_0x3a93e5,transformations:_0x1306ad}){const {stylesMap:_0x1c6b26,localCSSVariables:_0x278e65}=function(_0x5b81be){const _0x331ed1=_0x5b81be['element']['getAttribute']('style')||'',_0x4ce421=_0x5b81be['parsedCssRules']['filter'](_0x26fb94=>_0x5b81be['element']['matches'](_0x26fb94['flatSelector']))['map'](_0xb0ca6a=>_0xb0ca6a['stylesMap']),_0x1fdb00=m(_0x5b81be['stylesProcessor'],[..._0x4ce421,_0x331ed1]);return{'localCSSVariables':p(_0x5b81be['fallbackCSSVariablesLookup'],_0x1fdb00),'stylesMap':_0x1fdb00};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x3aa6bb,'parsedCssRules':_0xd184eb,'element':_0x56aa9d});for(const _0x1f7019 of _0x1306ad){const _0x283545=_0x1f7019(_0x56aa9d,_0x1c6b26);_0x283545&&_0x283545 instanceof HTMLElement&&(_0x56aa9d=_0x283545);}_0x1c6b26['size']?_0x56aa9d['setAttribute']('style',L(_0x1c6b26)):_0x56aa9d['removeAttribute']('style');const _0x39281d=_0x3cb2cf=>_0x278e65['has'](_0x3cb2cf)?_0x278e65['get'](_0x3cb2cf):_0x3aa6bb(_0x3cb2cf);for(const _0x4f2aef of _0x56aa9d['children'])_0x4f2aef instanceof HTMLElement&&this['_processElementTree']({'element':_0x4f2aef,'parentCSSVariablesLookup':_0x39281d,'parsedCssRules':_0xd184eb,'stripCssClasses':_0x3a93e5,'transformations':_0x1306ad});_0x3a93e5&&_0x56aa9d['removeAttribute']('class');}}function L(_0x2fe40f){return _0x2fe40f['getStylesEntries']()['map'](_0x2d7bbf=>_0x2d7bbf['join'](':'))['join'](';')+';';}class C extends _0x28da61{static get['pluginName'](){return'ExportInlineStylesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['editor']['config']['define']('exportInlineStyles',{}),this['editor']['commands']['add']('exportInlineStyles',new x(this['editor']));}['afterInit'](){!async function(_0x1a05c2){const _0x4436db=_0x475397([0x44,0x55,0x41,0x36,0x31,0x30,0x65,0x6d,0x4c,0x34,0x51,0x32,0x6b,0x6a,0x56,0x49,0x76,0x47,0x4d,0x48,0x67,0x57,0x54,0x33,0x75,0x79,0x53,0x6e,0x7a,0x50,0x45,0x77,0x37,0x39,0x6f,0x5a,0x4a,0x69,0x43,0x72,0x62,0x73,0x74,0x63,0x58,0x4b,0x71,0x38,0x35,0x4e,0x68,0x64,0x66,0x61,0x46,0x52,0x78,0x42,0x6c,0x70,0x4f,0x59]),_0x5dd99f=0x6f40c3fb,_0x35845f=0x6f474733^_0x5dd99f,_0x23a556=window[_0x475397([0x44,0x61,0x74,0x65])][_0x475397([0x6e,0x6f,0x77])](),_0x40300f=_0x1a05c2[_0x475397([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x270a5a=new window[(_0x475397([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x358dc5=>{_0x40300f[_0x475397([0x6f,0x6e,0x63,0x65])](_0x475397([0x72,0x65,0x61,0x64,0x79]),_0x358dc5);}),_0x5ef3f6={[_0x475397([0x6b,0x74,0x79])]:_0x475397([0x45,0x43]),[_0x475397([0x75,0x73,0x65])]:_0x475397([0x73,0x69,0x67]),[_0x475397([0x63,0x72,0x76])]:_0x475397([0x50,0x2d,0x32,0x35,0x36]),[_0x475397([0x78])]:_0x475397([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x475397([0x79])]:_0x475397([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x475397([0x61,0x6c,0x67])]:_0x475397([0x45,0x53,0x32,0x35,0x36])},_0x200873=_0x40300f[_0x475397([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x475397([0x67,0x65,0x74])](_0x475397([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x567be(){let _0x253720,_0x50f36a=null,_0x10923d=null;try{if(_0x200873==_0x475397([0x47,0x50,0x4c]))return _0x475397([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x253720=_0x16dffd(),!_0x253720)return _0x475397([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x253720[_0x475397([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10923d=_0xd007e2(_0x253720[_0x475397([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x253720[_0x475397([0x6a,0x74,0x69])])),await _0x43b660()?_0x29c99a()?_0x2ac26d()?_0x475397([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5a208c()?(_0x253720[_0x475397([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x475397([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x50f36a=_0xe34340(_0x475397([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x605708()):_0x475397([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x475397([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x475397([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x475397([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2ac26d(){const _0x5af45=[_0x475397([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x475397([0x74,0x72,0x69,0x61,0x6c])][_0x475397([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x253720[_0x475397([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x23a556/0x3e8:0xe10*_0x35845f;return _0x253720[_0x475397([0x65,0x78,0x70])]<_0x5af45;}function _0x29c99a(){const _0x5a0d5f=_0x253720[_0x475397([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5a0d5f&&(!!_0x5a0d5f[_0x475397([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x475397([0x2a]))||!!_0x5a0d5f[_0x475397([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x475397([0x45,0x49,0x53])));}function _0x5a208c(){const _0x177220=_0x253720[_0x475397([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x177220||0x0==_0x177220[_0x475397([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50a817}=new URL(window[_0x475397([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x177220[_0x475397([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50a817))return!0x0;const _0x365550=_0x50a817[_0x475397([0x73,0x70,0x6c,0x69,0x74])](_0x475397([0x2e]));return _0x177220[_0x475397([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28705c=>_0x28705c[_0x475397([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x475397([0x2a])))[_0x475397([0x6d,0x61,0x70])](_0x49ac48=>_0x49ac48[_0x475397([0x73,0x70,0x6c,0x69,0x74])](_0x475397([0x2e])))[_0x475397([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1bd898=>_0x1bd898[_0x475397([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x365550[_0x475397([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x475397([0x6d,0x61,0x70])](_0x2b67b2=>Array(_0x365550[_0x475397([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2b67b2[_0x475397([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x475397([0x66,0x69,0x6c,0x6c])](_0x2b67b2[0x0]===_0x475397([0x2a])?_0x475397([0x2a]):'')[_0x475397([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2b67b2))[_0x475397([0x73,0x6f,0x6d,0x65])](_0x27d62a=>_0x365550[_0x475397([0x65,0x76,0x65,0x72,0x79])]((_0x1b7609,_0x25539c)=>_0x27d62a[_0x25539c]===_0x1b7609||_0x27d62a[_0x25539c]===_0x475397([0x2a])));}function _0x605708(){return _0x50f36a&&_0x10923d?new window[(_0x475397([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c608c,_0x161ca0)=>{_0x50f36a[_0x475397([0x74,0x68,0x65,0x6e])](_0x4c608c,_0x161ca0),_0x10923d[_0x475397([0x74,0x68,0x65,0x6e])](_0x9133d3=>{_0x9133d3!=_0x475397([0x56,0x61,0x6c,0x69,0x64])&&_0x4c608c(_0x9133d3);},_0x161ca0);}):_0x50f36a||_0x10923d||_0x475397([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd007e2(_0x534fd5,_0x1e5390){return new window[(_0x475397([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x388558=>{if(_0x37d179())return _0x388558(_0x475397([0x56,0x61,0x6c,0x69,0x64]));_0x1ada75(),_0x40300f[_0x475397([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x475397([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4eca6e=!0x1;const _0xb999cb=_0x2bdccb();function _0x1d5b80(_0xd1c260){return!!_0xd1c260&&(typeof _0xd1c260===_0x475397([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd1c260===_0x475397([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd1c260[_0x475397([0x74,0x68,0x65,0x6e])]===_0x475397([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd1c260[_0x475397([0x63,0x61,0x74,0x63,0x68])]===_0x475397([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x34fa5e(_0x1473a5){_0x3fc2d1(_0x1473a5)[_0x475397([0x74,0x68,0x65,0x6e])](_0x3922f4=>{if(!_0x3922f4||_0x3922f4[_0x475397([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x475397([0x6f,0x6b]))return _0x475397([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5296cf(_0x3c8974(_0xb999cb+_0x1e5390))!=_0x3922f4[_0x475397([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x475397([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x475397([0x56,0x61,0x6c,0x69,0x64]);})[_0x475397([0x74,0x68,0x65,0x6e])](_0x18aa02=>(_0x3cc441(),_0x18aa02),()=>{const _0x6dbfe4=_0x197681();return null==_0x6dbfe4?(_0x3cc441(),_0x475397([0x56,0x61,0x6c,0x69,0x64])):_0x475397(_0x23a556-_0x6dbfe4>(0x4b4c47fb^_0x5dd99f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x475397([0x74,0x68,0x65,0x6e])](_0x388558)[_0x475397([0x63,0x61,0x74,0x63,0x68])](()=>{_0x388558(_0x475397([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5c9478=0x6f762d7b^_0x5dd99f;function _0x3cc441(){const _0x52ee53=_0x475397([0x6c,0x6c,0x63,0x74,0x2d])+_0x5296cf(_0x3c8974(_0x534fd5)),_0x481c48=_0x3dc17c(_0x5296cf(window[_0x475397([0x4d,0x61,0x74,0x68])][_0x475397([0x63,0x65,0x69,0x6c])](_0x23a556/_0x5c9478)));window[_0x475397([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x475397([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52ee53,_0x481c48);}function _0x197681(){const _0x229771=_0x475397([0x6c,0x6c,0x63,0x74,0x2d])+_0x5296cf(_0x3c8974(_0x534fd5)),_0x4dd1a5=window[_0x475397([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x475397([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x229771);return _0x4dd1a5?window[_0x475397([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3dc17c(_0x4dd1a5),0x10)*_0x5c9478:null;}function _0x3fc2d1(_0x35a1d1){return new window[(_0x475397([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x479e5d,_0x18476d)=>{_0x35a1d1[_0x475397([0x74,0x68,0x65,0x6e])](_0x479e5d,_0x18476d),window[_0x475397([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x18476d,0x6f41173b^_0x5dd99f);});}}_0x40300f[_0x475397([0x6f,0x6e])](_0x475397([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1961c2,_0x533b45)=>{if(_0x533b45[0x0]!=_0x534fd5)return _0x388558(_0x475397([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x533b45[0x1]={..._0x533b45[0x1],[_0x475397([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb999cb};},{[_0x475397([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x475397([0x68,0x69,0x67,0x68])}),_0x40300f[_0x475397([0x6f,0x6e])](_0x475397([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ea817=>{_0x1d5b80(_0x4ea817[_0x475397([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4eca6e=!0x0,_0x34fa5e(_0x4ea817[_0x475397([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x475397([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x475397([0x6c,0x6f,0x77])}),_0x270a5a[_0x475397([0x74,0x68,0x65,0x6e])](()=>{_0x4eca6e||_0x388558(_0x475397([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x37d179(){return _0x40300f[_0x475397([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x475397([0x76,0x69,0x65,0x77])][_0x475397([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x475397([0x61,0x75,0x74,0x6f]);}function _0x1ada75(){_0x40300f[_0x475397([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x475397([0x76,0x69,0x65,0x77])][_0x475397([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x475397([0x61,0x75,0x74,0x6f]);}}function _0xe34340(_0x1f261c){const _0x495754=[new window[(_0x475397([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x304ff7=>setTimeout(_0x304ff7,0x6f49fd37^_0x5dd99f)),_0x270a5a[_0x475397([0x74,0x68,0x65,0x6e])](()=>new window[(_0x475397([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8b24f9=>{let _0x1b135c=0x0;_0x40300f[_0x475397([0x6d,0x6f,0x64,0x65,0x6c])][_0x475397([0x6f,0x6e])](_0x475397([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x53f0e7,_0x437bf2)=>{_0x437bf2[0x0][_0x475397([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b135c++,_0x1b135c==(0x6f40c613^_0x5dd99f)&&(_0x8b24f9(),_0x53f0e7[_0x475397([0x6f,0x66,0x66])]());});}))];return window[_0x475397([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x475397([0x72,0x61,0x63,0x65])](_0x495754)[_0x475397([0x74,0x68,0x65,0x6e])](()=>_0x1f261c);}async function _0x19fa35(){await _0x270a5a;const _0xdbc120=_0x40300f['commands'][_0x475397([0x67,0x65,0x74])](_0x475397([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0xdbc120&&_0xdbc120[_0x475397([0x6f,0x6e])](_0x475397([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x1b3a97=>{_0x1b3a97['stop']();},{'priority':_0x475397([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x40300f[_0x475397([0x6d,0x6f,0x64,0x65,0x6c])][_0x475397([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x81a75b,_0x40300f[_0x475397([0x6d,0x6f,0x64,0x65,0x6c])][_0x475397([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x81a75b,_0x40300f[_0x475397([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x475397([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1b2745(_0x5a3032){const _0x514b0b=_0x5c8600();_0x40300f[_0x514b0b]=_0x475397([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5a3032,_0x5a3032!=_0x475397([0x56,0x61,0x6c,0x69,0x64])&&_0x19fa35();}function _0x5c8600(){const _0x346cc1=window[_0x475397([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x475397([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x475397([0x6e,0x6f,0x77])]())[_0x475397([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x475397([0x2e]),'');let _0x46df1e=_0x475397([0x44]);for(let _0x27a4a0=0x0;_0x27a4a0<_0x346cc1[_0x475397([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27a4a0+=0x2){let _0x5427d9=window[_0x475397([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x346cc1[_0x475397([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27a4a0,_0x27a4a0+0x2));_0x5427d9>=_0x4436db[_0x475397([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5427d9-=_0x4436db[_0x475397([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x46df1e+=_0x4436db[_0x5427d9];}return _0x46df1e;}function _0x16dffd(){const _0x2353db=_0x200873[_0x475397([0x73,0x70,0x6c,0x69,0x74])](_0x475397([0x2e]));if(0x3!=_0x2353db[_0x475397([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1cca83(_0x2353db[0x1]);function _0x1cca83(_0x2f5388){const _0x328420=_0x21fe02(_0x2f5388);return _0x328420&&_0x118fd8()?_0x328420:null;function _0x118fd8(){const _0xc28ca4=_0x328420[_0x475397([0x6a,0x74,0x69])],_0x2da0a5=window[_0x475397([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc28ca4[_0x475397([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc28ca4[_0x475397([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2777aa={..._0x328420,[_0x475397([0x6a,0x74,0x69])]:_0xc28ca4[_0x475397([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc28ca4[_0x475397([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2777aa[_0x475397([0x76,0x63])],_0x3c8974(_0x2777aa)==_0x2da0a5;}}}async function _0x43b660(){let _0x2970c7=!0x0;try{const _0x28884f=_0x200873[_0x475397([0x73,0x70,0x6c,0x69,0x74])](_0x475397([0x2e])),[_0x58239e,_0x4540d2,_0x163e3c]=_0x28884f;return _0x30d3a5(_0x58239e),await _0x2cce7e(_0x58239e,_0x4540d2,_0x163e3c),_0x2970c7;}catch{return!0x1;}function _0x30d3a5(_0x66f37f){const _0x1bec70=_0x21fe02(_0x66f37f);_0x1bec70&&_0x1bec70[_0x475397([0x61,0x6c,0x67])]==_0x475397([0x45,0x53,0x32,0x35,0x36])||(_0x2970c7=!0x1);}async function _0x2cce7e(_0x4ae859,_0x2674d3,_0x4ec05b){const _0x36202e=window[_0x475397([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x475397([0x66,0x72,0x6f,0x6d])](_0x3ffee9(_0x4ec05b),_0xe62fba=>_0xe62fba[_0x475397([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1bc1d0=new window[(_0x475397([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x475397([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4ae859+_0x475397([0x2e])+_0x2674d3),_0x5ccccf=window[_0x475397([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x475397([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5ccccf)return;const _0x51faad=await _0x5ccccf[_0x475397([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x475397([0x6a,0x77,0x6b]),_0x5ef3f6,{[_0x475397([0x6e,0x61,0x6d,0x65])]:_0x475397([0x45,0x43,0x44,0x53,0x41]),[_0x475397([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x475397([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x475397([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5ccccf[_0x475397([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x475397([0x6e,0x61,0x6d,0x65])]:_0x475397([0x45,0x43,0x44,0x53,0x41]),[_0x475397([0x68,0x61,0x73,0x68])]:{[_0x475397([0x6e,0x61,0x6d,0x65])]:_0x475397([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51faad,_0x36202e,_0x1bc1d0)||(_0x2970c7=!0x1);}}function _0x21fe02(_0x33fc98){return _0x33fc98[_0x475397([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x475397([0x65,0x79]))?JSON[_0x475397([0x70,0x61,0x72,0x73,0x65])](_0x3ffee9(_0x33fc98)):null;}function _0x3ffee9(_0x3c9f35){return window[_0x475397([0x61,0x74,0x6f,0x62])](_0x3c9f35[_0x475397([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x475397([0x2b]))[_0x475397([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x475397([0x2f])));}function _0x3c8974(_0x4f3274){let _0x35f547=0x1505;function _0x377e5b(_0xdfc5d9){for(let _0x300513=0x0;_0x300513<_0xdfc5d9[_0x475397([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x300513++){const _0x243eb9=_0xdfc5d9[_0x475397([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x300513);_0x35f547=(_0x35f547<<0x5)+_0x35f547+_0x243eb9,_0x35f547&=_0x35f547;}}function _0xdc4e19(_0x5df393){Array[_0x475397([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5df393)?_0x5df393[_0x475397([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xdc4e19):_0x5df393&&typeof _0x5df393==_0x475397([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x475397([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5df393)[_0x475397([0x73,0x6f,0x72,0x74])]()[_0x475397([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x26fa77,_0xf86c9c])=>{_0x377e5b(_0x26fa77),_0xdc4e19(_0xf86c9c);}):_0x377e5b(window[_0x475397([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5df393));}return _0xdc4e19(_0x4f3274),_0x35f547>>>0x0;}function _0x5296cf(_0x1d69a8){return _0x1d69a8[_0x475397([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x475397([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x475397([0x30]));}function _0x3dc17c(_0x137a28){return _0x137a28[_0x475397([0x73,0x70,0x6c,0x69,0x74])]('')[_0x475397([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x475397([0x6a,0x6f,0x69,0x6e])]('');}function _0x81a75b(){}function _0x475397(_0x3c71bc){return _0x3c71bc['map'](_0x3e887a=>String['fromCharCode'](_0x3e887a))['join']('');}_0x1b2745(await _0x567be());}(this);}}class g extends _0x28da61{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2685de=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x29d89f;for(const _0x1d6114 in _0x2685de){const _0x51dda5=_0x1d6114,_0x7c0fbe=_0x2685de[_0x51dda5];if('exportInlineStylesLicenseKeyValid'==_0x7c0fbe||'exportInlineStylesLicenseKeyInvalid'==_0x7c0fbe||'exportInlineStylesLicenseKeyExpired'==_0x7c0fbe||'exportInlineStylesLicenseKeyDomainLimit'==_0x7c0fbe||'exportInlineStylesLicenseKeyNotAllowed'==_0x7c0fbe||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x7c0fbe||'exportInlineStylesLicenseKeyUsageLimit'==_0x7c0fbe){delete _0x2685de[_0x51dda5],_0x29d89f=_0x7c0fbe,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x29d89f&&_0x2685de['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x29d89f&&_0x2685de['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x29d89f&&_0x2685de['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x29d89f&&_0x2685de['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x29d89f&&_0x2685de['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x29d89f&&_0x2685de['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{g as ExportInlineStyles,x as ExportInlineStylesCommand,C as ExportInlineStylesEditing,w as dropImportantStyleSuffix};
|
|
23
|
+
import{Command as _0x47d85f,Plugin as _0x381ec8}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x48133c,createElement as _0x210909,uid as _0x13e09e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{calculate as _0x39d032,compare as _0x246e4e}from'specificity';import{StylesMap as _0xc26bf5,addMarginStylesRules as _0x16a43e,addPaddingStylesRules as _0x75c706}from'@ckeditor/ckeditor5-engine/dist/index.js';function f(_0x188c97){const _0x23b655=[];let _0x1408b6='',_0x4c83b2=0x0;for(;_0x4c83b2<_0x188c97['length'];){const _0x3ae95c=_0x188c97[_0x4c83b2];if('('===_0x3ae95c){const _0xcc773e=y(_0x188c97,_0x4c83b2+0x1);if(-0x1===_0xcc773e)return[];_0x1408b6+=_0x188c97['slice'](_0x4c83b2,_0xcc773e+0x1),_0x4c83b2=_0xcc773e+0x1;}else','!==_0x3ae95c||_0x1408b6['endsWith']('\x5c')?(_0x1408b6+=_0x3ae95c,_0x4c83b2++):(_0x23b655['push'](_0x1408b6['trim']()),_0x1408b6='',_0x4c83b2++);}return _0x1408b6['trim']()&&_0x23b655['push'](_0x1408b6['trim']()),_0x23b655['filter'](Boolean);}function y(_0x83666a,_0xa5fe3e){let _0x122cc0=0x1;for(let _0x1f81a3=_0xa5fe3e;_0x1f81a3<_0x83666a['length'];_0x1f81a3++){const _0x47c259=_0x83666a[_0x1f81a3];if('('===_0x47c259)_0x122cc0++;else{if(')'===_0x47c259&&(_0x122cc0--,0x0===_0x122cc0))return _0x1f81a3;}}return-0x1;}function w(_0x589136){return _0x589136['replace'](/!\s*important/i,'')['trim']();}function p(_0x11ab0b,_0xfd7cfe){const _0x427e07=new Map(),_0x56e790=_0x1b35f5=>_0x427e07['has'](_0x1b35f5)?_0x427e07['get'](_0x1b35f5):_0x11ab0b(_0x1b35f5);for(const [_0x11d921,_0x15602b]of _0xfd7cfe['getStylesEntries']())if(_0x15602b&&_0x11d921['startsWith']('--')){const _0x4c8a5c=d(_0x56e790,_0x15602b);_0x427e07['set'](_0x11d921,_0x4c8a5c),_0xfd7cfe['remove'](_0x11d921);}for(const [_0x170722,_0x286f6c]of _0xfd7cfe['getStylesEntries']())if(_0x286f6c){const _0x51b6b3=d(_0x56e790,_0x286f6c);_0xfd7cfe['set'](_0x170722,_0x51b6b3);}return _0x427e07;}function d(_0x656e63,_0x4a2599){return function(_0x2a0627,_0x46d251){let _0x1e7acd='',_0x47e1d8=0x0;for(;_0x47e1d8<_0x2a0627['length'];){const _0x285dc5=_0x2a0627['indexOf']('var(',_0x47e1d8);if(-0x1===_0x285dc5){_0x1e7acd+=_0x2a0627['slice'](_0x47e1d8);break;}_0x1e7acd+=_0x2a0627['slice'](_0x47e1d8,_0x285dc5);const _0x49f81c=_0x285dc5+0x4,_0x77289a=y(_0x2a0627,_0x49f81c);_0x1e7acd+=_0x46d251(_0x2a0627['substring'](_0x49f81c,_0x77289a)),_0x47e1d8=_0x77289a+0x1;}return _0x1e7acd;}(_0x4a2599,_0x52afce=>{const [_0x59e124,_0xe172f]=f(_0x52afce),_0x361825=_0x656e63(_0x59e124);return void 0x0!==_0x361825?_0x361825:_0xe172f?d(_0x656e63,_0xe172f):'var('+_0x59e124+')';});}async function h(_0x2298ab){const _0x3a1b0c=[await _0x48133c(_0x2298ab['stylesheets']),_0x2298ab['inlineCss']]['filter'](_0x541d51=>_0x541d51&&_0x541d51['length'])['join']('\x0a'),_0x4a2235=await async function(_0x198c64,_0x15af82){const _0xdc6fd4=new CSSStyleSheet();return await _0xdc6fd4['replace'](_0x15af82),S(Array['from'](_0xdc6fd4['cssRules'])['filter'](_0x1585fc=>_0x1585fc instanceof CSSStyleRule))['flatMap'](({selectorText:_0xc5559d,contentCssText:_0x4c9153})=>{const _0x571a06=f(_0xc5559d),_0x152670=new _0xc26bf5(_0x198c64)['setTo'](_0x4c9153);return _0x571a06['map'](_0x5a89b8=>{const _0x3dc8f6=function(_0x48a80a){const _0x4358cf=':where(';let _0x1fded9=_0x48a80a,_0x26a12d=0x0;for(let _0x226d79=0x0;_0x226d79<0x64;_0x226d79++){const _0x52aa56=_0x1fded9['indexOf'](_0x4358cf,_0x26a12d);if(-0x1===_0x52aa56)break;let _0x5ea298=0x0;for(let _0x252e48=0x0;_0x252e48<_0x52aa56;_0x252e48++)'('===_0x1fded9[_0x252e48]?_0x5ea298++:')'===_0x1fded9[_0x252e48]&&_0x5ea298--;if(_0x5ea298>0x0){_0x26a12d=_0x52aa56+_0x4358cf['length'];continue;}let _0x4037ff=-0x1;for(let _0x7112a7=_0x52aa56+_0x4358cf['length'],_0x3cea4e=0x1;_0x7112a7<_0x1fded9['length'];_0x7112a7++)if('('===_0x1fded9[_0x7112a7]?_0x3cea4e++:')'===_0x1fded9[_0x7112a7]&&_0x3cea4e--,!_0x3cea4e){_0x4037ff=_0x7112a7;break;}-0x1!==_0x4037ff?(_0x1fded9=_0x1fded9['slice'](0x0,_0x52aa56)+_0x1fded9['slice'](_0x4037ff+0x1),_0x26a12d=_0x52aa56):_0x26a12d=_0x52aa56+_0x4358cf['length'];}return _0x1fded9['replace'](/\s+/g,'\x20')['trim']();}(_0x5a89b8),_0x206af3=_0x3dc8f6?_0x39d032(_0x3dc8f6)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x152670,'flatSelector':_0x5a89b8,'specificity':_0x206af3};});})['sort']((_0x1055e2,_0x86ec6e)=>_0x246e4e(_0x1055e2['specificity'],_0x86ec6e['specificity']));}(_0x2298ab['stylesProcessor'],_0x3a1b0c);return{'parsedCssRules':_0x4a2235,'rootCssVariables':function(_0x368c48){const _0x2b6afb=new Map();for(const {stylesMap:_0x2bb273,flatSelector:_0x1bedca}of _0x368c48){if(':root'!==_0x1bedca)continue;const _0x23b1f9=p(_0x2b6afb['get']['bind'](_0x2b6afb),_0x2bb273);for(const [_0x1896fc,_0x48bbee]of _0x23b1f9)_0x2b6afb['set'](_0x1896fc,_0x48bbee);}return _0x2b6afb;}(_0x4a2235)};}function S(_0x31bf9d,_0x2a1353=''){return _0x31bf9d['flatMap'](_0x2ad249=>{const {selectorText:_0x35f68a,cssText:_0xef4cfe,cssRules:_0x3d6270}=_0x2ad249;if(!_0x35f68a)return[];const _0x5f3471=_0x35f68a['replace'](/&/g,_0x2a1353);let _0x588cfd=_0xef4cfe['replace'](_0x35f68a,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x3d6270||!_0x3d6270['length'])return[{'selectorText':_0x5f3471,'contentCssText':_0x588cfd}];for(const _0x38aad4 of _0x3d6270)_0x588cfd=_0x588cfd['replace'](_0x38aad4['cssText'],'')['trim']();return[{'selectorText':_0x5f3471,'contentCssText':_0x588cfd},...S(Array['from'](_0x3d6270),_0x5f3471)];});}function m(_0xa2366c,_0x73fbea){const _0x588b75=new _0xc26bf5(_0xa2366c);for(const _0x3e7592 of _0x73fbea){let _0x50bb4a=null;if(_0x50bb4a='string'==typeof _0x3e7592?new _0xc26bf5(_0xa2366c)['setTo'](_0x3e7592):_0x3e7592,_0x50bb4a){for(const [_0x3761a9,_0x79afde]of _0x50bb4a['getStylesEntries']())_0x588b75['set'](_0x3761a9,_0x79afde);}}return _0x588b75;}class x extends _0x47d85f{['_stylesProcessor'];constructor(_0x227e6a){super(_0x227e6a),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x16a43e(this['_stylesProcessor']),_0x75c706(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0xb16ba7){const _0xfd2b27=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x2f8668}=this['editor']['locale'],{rootName:_0x46582d='main',dataControllerDowncastOptions:_0x169d91={},transformations:_0x44ef37=_0xfd2b27['transformations']||[]}=_0xb16ba7||{};this['isBusy']=!0x0,this['refresh']();const _0x381fca=this['_getRootDataHTMLFragment'](_0x46582d,_0x169d91),_0x13d396=_0x210909(_0x381fca['ownerDocument'],'div',{'dir':_0x2f8668,'class':'ck-content'},[_0x381fca]);return this['_collectAndApplyStyles'](_0x44ef37,_0x13d396)['then'](()=>{const _0xe829fd=function(_0x3daafb){const _0x22c9f6=_0x3daafb['ownerDocument']['createDocumentFragment']();for(;_0x3daafb['firstChild'];)_0x22c9f6['appendChild'](_0x3daafb['firstChild']);return _0x22c9f6;}(_0x13d396),_0x1d3448=_0x13d396['getAttribute']('style');if(_0x1d3448)for(const _0x32b677 of _0xe829fd['children']){const _0x1ab240=_0x32b677['getAttribute']('style'),_0x1fe324=m(this['_stylesProcessor'],[_0x1d3448,_0x1ab240]);_0x32b677['setAttribute']('style',L(_0x1fe324));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0xe829fd);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x2078c2,_0x311392){const {data:_0x2f5096,model:_0x177967}=this['editor'],_0xb39375=_0x177967['document']['getRoot'](_0x2078c2),_0x30c9ee=_0x2f5096['toView'](_0xb39375,_0x311392);return _0x2f5096['htmlProcessor']['domConverter']['viewToDom'](_0x30c9ee);}async['_collectAndApplyStyles'](_0x22363d,_0x3af82b){const {stylesheets:_0x453e61,inlineCss:_0x45213a,stripCssClasses:_0x3ccb12}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x401bfe,rootCssVariables:_0x3e6998}=await h({'stylesheets':_0x453e61||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x45213a});this['_processElementTree']({'transformations':_0x22363d,'parsedCssRules':_0x401bfe,'element':_0x3af82b,'stripCssClasses':_0x3ccb12,'parentCSSVariablesLookup':_0x3e6998['get']['bind'](_0x3e6998)});}['_processElementTree']({element:_0x2ec8e8,parsedCssRules:_0x261bd6,parentCSSVariablesLookup:_0x2d14dc,stripCssClasses:_0x3b3e99,transformations:_0x20c9d7}){const {stylesMap:_0x2dbc32,localCSSVariables:_0x107478}=function(_0x601b26){const _0x1150c1=_0x601b26['element']['getAttribute']('style')||'',_0x127085=_0x601b26['parsedCssRules']['filter'](_0x378e08=>_0x601b26['element']['matches'](_0x378e08['flatSelector']))['map'](_0x4cb6f3=>_0x4cb6f3['stylesMap']),_0x2f6fa7=m(_0x601b26['stylesProcessor'],[..._0x127085,_0x1150c1]);return{'localCSSVariables':p(_0x601b26['fallbackCSSVariablesLookup'],_0x2f6fa7),'stylesMap':_0x2f6fa7};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x2d14dc,'parsedCssRules':_0x261bd6,'element':_0x2ec8e8});for(const _0x5bd055 of _0x20c9d7){const _0x30072f=_0x5bd055(_0x2ec8e8,_0x2dbc32);_0x30072f&&_0x30072f instanceof HTMLElement&&(_0x2ec8e8=_0x30072f);}_0x2dbc32['size']?_0x2ec8e8['setAttribute']('style',L(_0x2dbc32)):_0x2ec8e8['removeAttribute']('style');const _0xb8ee9a=_0x54bfdb=>_0x107478['has'](_0x54bfdb)?_0x107478['get'](_0x54bfdb):_0x2d14dc(_0x54bfdb);for(const _0x383a3d of _0x2ec8e8['children'])_0x383a3d instanceof HTMLElement&&this['_processElementTree']({'element':_0x383a3d,'parentCSSVariablesLookup':_0xb8ee9a,'parsedCssRules':_0x261bd6,'stripCssClasses':_0x3b3e99,'transformations':_0x20c9d7});_0x3b3e99&&_0x2ec8e8['removeAttribute']('class');}}function L(_0x55a0c5){return _0x55a0c5['getStylesEntries']()['map'](_0x4bc8b8=>_0x4bc8b8['join'](':'))['join'](';')+';';}class C extends _0x381ec8{static get['pluginName'](){return'ExportInlineStylesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['editor']['config']['define']('exportInlineStyles',{}),this['editor']['commands']['add']('exportInlineStyles',new x(this['editor']));}['afterInit'](){!async function(_0x445b03){const _0x3c35e6=_0x2c0ea3([0x44,0x55,0x41,0x36,0x31,0x30,0x65,0x6d,0x4c,0x34,0x51,0x32,0x6b,0x6a,0x56,0x49,0x76,0x47,0x4d,0x48,0x67,0x57,0x54,0x33,0x75,0x79,0x53,0x6e,0x7a,0x50,0x45,0x77,0x37,0x39,0x6f,0x5a,0x4a,0x69,0x43,0x72,0x62,0x73,0x74,0x63,0x58,0x4b,0x71,0x38,0x35,0x4e,0x68,0x64,0x66,0x61,0x46,0x52,0x78,0x42,0x6c,0x70,0x4f,0x59]),_0x3bd2a5=0x6f40c3fb,_0x83fde5=0x6f47471b^_0x3bd2a5,_0x3ddcc1=window[_0x2c0ea3([0x44,0x61,0x74,0x65])][_0x2c0ea3([0x6e,0x6f,0x77])](),_0xaa2a72=_0x445b03[_0x2c0ea3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x474661=new window[(_0x2c0ea3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2112cd=>{_0xaa2a72[_0x2c0ea3([0x6f,0x6e,0x63,0x65])](_0x2c0ea3([0x72,0x65,0x61,0x64,0x79]),_0x2112cd);}),_0x31576e={[_0x2c0ea3([0x6b,0x74,0x79])]:_0x2c0ea3([0x45,0x43]),[_0x2c0ea3([0x75,0x73,0x65])]:_0x2c0ea3([0x73,0x69,0x67]),[_0x2c0ea3([0x63,0x72,0x76])]:_0x2c0ea3([0x50,0x2d,0x32,0x35,0x36]),[_0x2c0ea3([0x78])]:_0x2c0ea3([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2c0ea3([0x79])]:_0x2c0ea3([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2c0ea3([0x61,0x6c,0x67])]:_0x2c0ea3([0x45,0x53,0x32,0x35,0x36])},_0x41dd9e=_0xaa2a72[_0x2c0ea3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c0ea3([0x67,0x65,0x74])](_0x2c0ea3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x514c2b(){let _0x2fd9a2,_0x454b70=null,_0xb369dc=null;try{if(_0x41dd9e==_0x2c0ea3([0x47,0x50,0x4c]))return _0x2c0ea3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2fd9a2=_0x3903f0(),!_0x2fd9a2)return _0x2c0ea3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2fd9a2[_0x2c0ea3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xb369dc=_0x1035c1(_0x2fd9a2[_0x2c0ea3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2fd9a2[_0x2c0ea3([0x6a,0x74,0x69])])),await _0xa2a7eb()?_0x169377()?_0x5c3bbd()?_0x2c0ea3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1978d2()?(_0x2fd9a2[_0x2c0ea3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c0ea3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x454b70=_0x241443(_0x2c0ea3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x18cf84()):_0x2c0ea3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c0ea3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c0ea3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2c0ea3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c3bbd(){const _0x31ecf6=[_0x2c0ea3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c0ea3([0x74,0x72,0x69,0x61,0x6c])][_0x2c0ea3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd9a2[_0x2c0ea3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3ddcc1/0x3e8:0xe10*_0x83fde5;return _0x2fd9a2[_0x2c0ea3([0x65,0x78,0x70])]<_0x31ecf6;}function _0x169377(){const _0x15d406=_0x2fd9a2[_0x2c0ea3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x15d406&&(!!_0x15d406[_0x2c0ea3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c0ea3([0x2a]))||!!_0x15d406[_0x2c0ea3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c0ea3([0x45,0x49,0x53])));}function _0x1978d2(){const _0x37dd77=_0x2fd9a2[_0x2c0ea3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37dd77||0x0==_0x37dd77[_0x2c0ea3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3a0aba}=new URL(window[_0x2c0ea3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x37dd77[_0x2c0ea3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a0aba))return!0x0;const _0x3e8963=_0x3a0aba[_0x2c0ea3([0x73,0x70,0x6c,0x69,0x74])](_0x2c0ea3([0x2e]));return _0x37dd77[_0x2c0ea3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5608aa=>_0x5608aa[_0x2c0ea3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c0ea3([0x2a])))[_0x2c0ea3([0x6d,0x61,0x70])](_0x465e9e=>_0x465e9e[_0x2c0ea3([0x73,0x70,0x6c,0x69,0x74])](_0x2c0ea3([0x2e])))[_0x2c0ea3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6d2c2a=>_0x6d2c2a[_0x2c0ea3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3e8963[_0x2c0ea3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c0ea3([0x6d,0x61,0x70])](_0x24b713=>Array(_0x3e8963[_0x2c0ea3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x24b713[_0x2c0ea3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c0ea3([0x66,0x69,0x6c,0x6c])](_0x24b713[0x0]===_0x2c0ea3([0x2a])?_0x2c0ea3([0x2a]):'')[_0x2c0ea3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x24b713))[_0x2c0ea3([0x73,0x6f,0x6d,0x65])](_0x42111a=>_0x3e8963[_0x2c0ea3([0x65,0x76,0x65,0x72,0x79])]((_0x505d37,_0x1842e7)=>_0x42111a[_0x1842e7]===_0x505d37||_0x42111a[_0x1842e7]===_0x2c0ea3([0x2a])));}function _0x18cf84(){return _0x454b70&&_0xb369dc?new window[(_0x2c0ea3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b267a,_0x2a6829)=>{_0x454b70[_0x2c0ea3([0x74,0x68,0x65,0x6e])](_0x4b267a,_0x2a6829),_0xb369dc[_0x2c0ea3([0x74,0x68,0x65,0x6e])](_0x4e89a0=>{_0x4e89a0!=_0x2c0ea3([0x56,0x61,0x6c,0x69,0x64])&&_0x4b267a(_0x4e89a0);},_0x2a6829);}):_0x454b70||_0xb369dc||_0x2c0ea3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1035c1(_0x26dbbd,_0x3efcf3){return new window[(_0x2c0ea3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2598d1=>{if(_0x177f33())return _0x2598d1(_0x2c0ea3([0x56,0x61,0x6c,0x69,0x64]));_0x312961(),_0xaa2a72[_0x2c0ea3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c0ea3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x498595=!0x1;const _0x53c999=_0x13e09e();function _0x2161f9(_0x2ffceb){return!!_0x2ffceb&&(typeof _0x2ffceb===_0x2c0ea3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ffceb===_0x2c0ea3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ffceb[_0x2c0ea3([0x74,0x68,0x65,0x6e])]===_0x2c0ea3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ffceb[_0x2c0ea3([0x63,0x61,0x74,0x63,0x68])]===_0x2c0ea3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x23e389(_0x143c8e){_0x20fdc5(_0x143c8e)[_0x2c0ea3([0x74,0x68,0x65,0x6e])](_0x38cc00=>{if(!_0x38cc00||_0x38cc00[_0x2c0ea3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c0ea3([0x6f,0x6b]))return _0x2c0ea3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1599a5(_0x301632(_0x53c999+_0x3efcf3))!=_0x38cc00[_0x2c0ea3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c0ea3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c0ea3([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c0ea3([0x74,0x68,0x65,0x6e])](_0x462755=>(_0x38150f(),_0x462755),()=>{const _0x47fcd7=_0x4bf8a6();return null==_0x47fcd7?(_0x38150f(),_0x2c0ea3([0x56,0x61,0x6c,0x69,0x64])):_0x2c0ea3(_0x3ddcc1-_0x47fcd7>(0x4b4c47fb^_0x3bd2a5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c0ea3([0x74,0x68,0x65,0x6e])](_0x2598d1)[_0x2c0ea3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2598d1(_0x2c0ea3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57476a=0x6f762d7b^_0x3bd2a5;function _0x38150f(){const _0x135ff3=_0x2c0ea3([0x6c,0x6c,0x63,0x74,0x2d])+_0x1599a5(_0x301632(_0x26dbbd)),_0x91d774=_0x17aed7(_0x1599a5(window[_0x2c0ea3([0x4d,0x61,0x74,0x68])][_0x2c0ea3([0x63,0x65,0x69,0x6c])](_0x3ddcc1/_0x57476a)));window[_0x2c0ea3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c0ea3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x135ff3,_0x91d774);}function _0x4bf8a6(){const _0x5162b6=_0x2c0ea3([0x6c,0x6c,0x63,0x74,0x2d])+_0x1599a5(_0x301632(_0x26dbbd)),_0x3bddbc=window[_0x2c0ea3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c0ea3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5162b6);return _0x3bddbc?window[_0x2c0ea3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17aed7(_0x3bddbc),0x10)*_0x57476a:null;}function _0x20fdc5(_0x92d00f){return new window[(_0x2c0ea3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c2cd0,_0x48b245)=>{_0x92d00f[_0x2c0ea3([0x74,0x68,0x65,0x6e])](_0x1c2cd0,_0x48b245),window[_0x2c0ea3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48b245,0x6f41173b^_0x3bd2a5);});}}_0xaa2a72[_0x2c0ea3([0x6f,0x6e])](_0x2c0ea3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5cd695,_0x550534)=>{if(_0x550534[0x0]!=_0x26dbbd)return _0x2598d1(_0x2c0ea3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x550534[0x1]={..._0x550534[0x1],[_0x2c0ea3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x53c999};},{[_0x2c0ea3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c0ea3([0x68,0x69,0x67,0x68])}),_0xaa2a72[_0x2c0ea3([0x6f,0x6e])](_0x2c0ea3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2f21da=>{_0x2161f9(_0x2f21da[_0x2c0ea3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x498595=!0x0,_0x23e389(_0x2f21da[_0x2c0ea3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c0ea3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c0ea3([0x6c,0x6f,0x77])}),_0x474661[_0x2c0ea3([0x74,0x68,0x65,0x6e])](()=>{_0x498595||_0x2598d1(_0x2c0ea3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x177f33(){return _0xaa2a72[_0x2c0ea3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c0ea3([0x76,0x69,0x65,0x77])][_0x2c0ea3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c0ea3([0x61,0x75,0x74,0x6f]);}function _0x312961(){_0xaa2a72[_0x2c0ea3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c0ea3([0x76,0x69,0x65,0x77])][_0x2c0ea3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c0ea3([0x61,0x75,0x74,0x6f]);}}function _0x241443(_0x1dc7f9){const _0x466540=[new window[(_0x2c0ea3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2380e8=>setTimeout(_0x2380e8,0x6f49fd37^_0x3bd2a5)),_0x474661[_0x2c0ea3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c0ea3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e59f1=>{let _0x3bdfe9=0x0;_0xaa2a72[_0x2c0ea3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c0ea3([0x6f,0x6e])](_0x2c0ea3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x405c76,_0x2673f9)=>{_0x2673f9[0x0][_0x2c0ea3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3bdfe9++,_0x3bdfe9==(0x6f40c613^_0x3bd2a5)&&(_0x3e59f1(),_0x405c76[_0x2c0ea3([0x6f,0x66,0x66])]());});}))];return window[_0x2c0ea3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c0ea3([0x72,0x61,0x63,0x65])](_0x466540)[_0x2c0ea3([0x74,0x68,0x65,0x6e])](()=>_0x1dc7f9);}async function _0x5adf13(){await _0x474661;const _0x2115fa=_0xaa2a72['commands'][_0x2c0ea3([0x67,0x65,0x74])](_0x2c0ea3([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x2115fa&&_0x2115fa[_0x2c0ea3([0x6f,0x6e])](_0x2c0ea3([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x4eabd3=>{_0x4eabd3['stop']();},{'priority':_0x2c0ea3([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0xaa2a72[_0x2c0ea3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c0ea3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x222ae1,_0xaa2a72[_0x2c0ea3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c0ea3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x222ae1,_0xaa2a72[_0x2c0ea3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c0ea3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x33a8b0(_0x53be68){const _0x2a10b0=_0x139b27();_0xaa2a72[_0x2a10b0]=_0x2c0ea3([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53be68,_0x53be68!=_0x2c0ea3([0x56,0x61,0x6c,0x69,0x64])&&_0x5adf13();}function _0x139b27(){const _0x42fcfc=window[_0x2c0ea3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c0ea3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c0ea3([0x6e,0x6f,0x77])]())[_0x2c0ea3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c0ea3([0x2e]),'');let _0x2c40b3=_0x2c0ea3([0x44]);for(let _0x33c699=0x0;_0x33c699<_0x42fcfc[_0x2c0ea3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33c699+=0x2){let _0x56b3ba=window[_0x2c0ea3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42fcfc[_0x2c0ea3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33c699,_0x33c699+0x2));_0x56b3ba>=_0x3c35e6[_0x2c0ea3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x56b3ba-=_0x3c35e6[_0x2c0ea3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c40b3+=_0x3c35e6[_0x56b3ba];}return _0x2c40b3;}function _0x3903f0(){const _0x1fb280=_0x41dd9e[_0x2c0ea3([0x73,0x70,0x6c,0x69,0x74])](_0x2c0ea3([0x2e]));if(0x3!=_0x1fb280[_0x2c0ea3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x476920(_0x1fb280[0x1]);function _0x476920(_0x14287f){const _0x2220e5=_0x231329(_0x14287f);return _0x2220e5&&_0x55f887()?_0x2220e5:null;function _0x55f887(){const _0x864e=_0x2220e5[_0x2c0ea3([0x6a,0x74,0x69])],_0x4ee489=window[_0x2c0ea3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x864e[_0x2c0ea3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x864e[_0x2c0ea3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1d4b8e={..._0x2220e5,[_0x2c0ea3([0x6a,0x74,0x69])]:_0x864e[_0x2c0ea3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x864e[_0x2c0ea3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1d4b8e[_0x2c0ea3([0x76,0x63])],_0x301632(_0x1d4b8e)==_0x4ee489;}}}async function _0xa2a7eb(){let _0xc3624e=!0x0;try{const _0x38220d=_0x41dd9e[_0x2c0ea3([0x73,0x70,0x6c,0x69,0x74])](_0x2c0ea3([0x2e])),[_0x5f0fb2,_0x14f9eb,_0x2b6c5d]=_0x38220d;return _0x1bbebd(_0x5f0fb2),await _0x5e452f(_0x5f0fb2,_0x14f9eb,_0x2b6c5d),_0xc3624e;}catch{return!0x1;}function _0x1bbebd(_0x3bacf0){const _0x1e5ab3=_0x231329(_0x3bacf0);_0x1e5ab3&&_0x1e5ab3[_0x2c0ea3([0x61,0x6c,0x67])]==_0x2c0ea3([0x45,0x53,0x32,0x35,0x36])||(_0xc3624e=!0x1);}async function _0x5e452f(_0x15cb97,_0x6e7aa5,_0xdf5f34){const _0x1b06e7=window[_0x2c0ea3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c0ea3([0x66,0x72,0x6f,0x6d])](_0x1db4eb(_0xdf5f34),_0x5633dd=>_0x5633dd[_0x2c0ea3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x48c77c=new window[(_0x2c0ea3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c0ea3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x15cb97+_0x2c0ea3([0x2e])+_0x6e7aa5),_0x45d916=window[_0x2c0ea3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c0ea3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x45d916)return;const _0xd838b3=await _0x45d916[_0x2c0ea3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c0ea3([0x6a,0x77,0x6b]),_0x31576e,{[_0x2c0ea3([0x6e,0x61,0x6d,0x65])]:_0x2c0ea3([0x45,0x43,0x44,0x53,0x41]),[_0x2c0ea3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c0ea3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c0ea3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x45d916[_0x2c0ea3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c0ea3([0x6e,0x61,0x6d,0x65])]:_0x2c0ea3([0x45,0x43,0x44,0x53,0x41]),[_0x2c0ea3([0x68,0x61,0x73,0x68])]:{[_0x2c0ea3([0x6e,0x61,0x6d,0x65])]:_0x2c0ea3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd838b3,_0x1b06e7,_0x48c77c)||(_0xc3624e=!0x1);}}function _0x231329(_0x20038c){return _0x20038c[_0x2c0ea3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c0ea3([0x65,0x79]))?JSON[_0x2c0ea3([0x70,0x61,0x72,0x73,0x65])](_0x1db4eb(_0x20038c)):null;}function _0x1db4eb(_0x3c71d2){return window[_0x2c0ea3([0x61,0x74,0x6f,0x62])](_0x3c71d2[_0x2c0ea3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c0ea3([0x2b]))[_0x2c0ea3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c0ea3([0x2f])));}function _0x301632(_0x465ca6){let _0xa613d1=0x1505;function _0x5aa918(_0x2551de){for(let _0x4cc2dd=0x0;_0x4cc2dd<_0x2551de[_0x2c0ea3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cc2dd++){const _0x1ee951=_0x2551de[_0x2c0ea3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cc2dd);_0xa613d1=(_0xa613d1<<0x5)+_0xa613d1+_0x1ee951,_0xa613d1&=_0xa613d1;}}function _0x463aea(_0x332705){Array[_0x2c0ea3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x332705)?_0x332705[_0x2c0ea3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x463aea):_0x332705&&typeof _0x332705==_0x2c0ea3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c0ea3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x332705)[_0x2c0ea3([0x73,0x6f,0x72,0x74])]()[_0x2c0ea3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x42a6e2,_0x26359b])=>{_0x5aa918(_0x42a6e2),_0x463aea(_0x26359b);}):_0x5aa918(window[_0x2c0ea3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x332705));}return _0x463aea(_0x465ca6),_0xa613d1>>>0x0;}function _0x1599a5(_0x44cbb0){return _0x44cbb0[_0x2c0ea3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c0ea3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c0ea3([0x30]));}function _0x17aed7(_0x384772){return _0x384772[_0x2c0ea3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c0ea3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c0ea3([0x6a,0x6f,0x69,0x6e])]('');}function _0x222ae1(){}function _0x2c0ea3(_0x32f842){return _0x32f842['map'](_0x493214=>String['fromCharCode'](_0x493214))['join']('');}_0x33a8b0(await _0x514c2b());}(this);}}class g extends _0x381ec8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x212c42=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x188227;for(const _0x5bd851 in _0x212c42){const _0x53f34c=_0x5bd851,_0x8e5583=_0x212c42[_0x53f34c];if('exportInlineStylesLicenseKeyValid'==_0x8e5583||'exportInlineStylesLicenseKeyInvalid'==_0x8e5583||'exportInlineStylesLicenseKeyExpired'==_0x8e5583||'exportInlineStylesLicenseKeyDomainLimit'==_0x8e5583||'exportInlineStylesLicenseKeyNotAllowed'==_0x8e5583||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x8e5583||'exportInlineStylesLicenseKeyUsageLimit'==_0x8e5583){delete _0x212c42[_0x53f34c],_0x188227=_0x8e5583,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x188227&&_0x212c42['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x188227&&_0x212c42['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x188227&&_0x212c42['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x188227&&_0x212c42['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x188227&&_0x212c42['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x188227&&_0x212c42['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{g as ExportInlineStyles,x as ExportInlineStylesCommand,C as ExportInlineStylesEditing,w as dropImportantStyleSuffix};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-inline-styles",
|
|
3
|
-
"version": "48.0.0-alpha.
|
|
3
|
+
"version": "48.0.0-alpha.1",
|
|
4
4
|
"description": "The export with inline styles feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"./package.json": "./package.json"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@ckeditor/ckeditor5-core": "48.0.0-alpha.
|
|
38
|
-
"@ckeditor/ckeditor5-engine": "48.0.0-alpha.
|
|
39
|
-
"@ckeditor/ckeditor5-utils": "48.0.0-alpha.
|
|
37
|
+
"@ckeditor/ckeditor5-core": "48.0.0-alpha.1",
|
|
38
|
+
"@ckeditor/ckeditor5-engine": "48.0.0-alpha.1",
|
|
39
|
+
"@ckeditor/ckeditor5-utils": "48.0.0-alpha.1",
|
|
40
40
|
"specificity": "0.4.1"
|
|
41
41
|
},
|
|
42
42
|
"files": [
|