@ckeditor/ckeditor5-export-inline-styles 48.1.0-alpha.4 → 48.1.0-alpha.6

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x120168,Plugin as _0x3a8d14}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x55c1f5,createElement as _0x2fdd35,uid as _0x43cabd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{StylesMap as _0x2ba15b,addMarginStylesRules as _0x5e8d16,addPaddingStylesRules as _0x2d9a67}from'@ckeditor/ckeditor5-engine/dist/index.js';import{calculate as _0x241d97,compare as _0xcd2921}from'specificity';function f(_0x3d2d7e){const _0x3ac34f=[];let _0x6a963f='',_0x51200b=0x0;for(;_0x51200b<_0x3d2d7e['length'];){const _0x21ef40=_0x3d2d7e[_0x51200b];if('('===_0x21ef40){const _0x3e2772=y(_0x3d2d7e,_0x51200b+0x1);if(-0x1===_0x3e2772)return[];_0x6a963f+=_0x3d2d7e['slice'](_0x51200b,_0x3e2772+0x1),_0x51200b=_0x3e2772+0x1;}else','!==_0x21ef40||_0x6a963f['endsWith']('\x5c')?(_0x6a963f+=_0x21ef40,_0x51200b++):(_0x3ac34f['push'](_0x6a963f['trim']()),_0x6a963f='',_0x51200b++);}return _0x6a963f['trim']()&&_0x3ac34f['push'](_0x6a963f['trim']()),_0x3ac34f['filter'](Boolean);}function y(_0x105455,_0x4423f8){let _0x568eaa=0x1;for(let _0x2d45a8=_0x4423f8;_0x2d45a8<_0x105455['length'];_0x2d45a8++){const _0x32780a=_0x105455[_0x2d45a8];if('('===_0x32780a)_0x568eaa++;else{if(')'===_0x32780a&&(_0x568eaa--,0x0===_0x568eaa))return _0x2d45a8;}}return-0x1;}function w(_0x1b60d4){return _0x1b60d4['replace'](/!\s*important/i,'')['trim']();}function d(_0x12b9d1,_0x26425a){const _0x4a71c5=new Map(),_0x4e68b4=_0x3d9bb3=>_0x4a71c5['has'](_0x3d9bb3)?_0x4a71c5['get'](_0x3d9bb3):_0x12b9d1(_0x3d9bb3);for(const [_0x5a745e,_0x43a414]of _0x26425a['getStylesEntries']())if(_0x43a414&&_0x5a745e['startsWith']('--')){const _0x237922=p(_0x4e68b4,_0x43a414);_0x4a71c5['set'](_0x5a745e,_0x237922),_0x26425a['remove'](_0x5a745e);}for(const [_0x5f2db5,_0x429f7f]of _0x26425a['getStylesEntries']())if(_0x429f7f){const _0x1057f4=p(_0x4e68b4,_0x429f7f);_0x26425a['set'](_0x5f2db5,_0x1057f4);}return _0x4a71c5;}function p(_0x333be6,_0x4c3751){return function(_0x16fb06,_0x1620cd){let _0x544fb1='',_0x18e6d1=0x0;for(;_0x18e6d1<_0x16fb06['length'];){const _0x311629=_0x16fb06['indexOf']('var(',_0x18e6d1);if(-0x1===_0x311629){_0x544fb1+=_0x16fb06['slice'](_0x18e6d1);break;}_0x544fb1+=_0x16fb06['slice'](_0x18e6d1,_0x311629);const _0x532b45=_0x311629+0x4,_0x17d521=y(_0x16fb06,_0x532b45);_0x544fb1+=_0x1620cd(_0x16fb06['substring'](_0x532b45,_0x17d521)),_0x18e6d1=_0x17d521+0x1;}return _0x544fb1;}(_0x4c3751,_0x2e7793=>{const [_0x30657f,_0x4c8d36]=f(_0x2e7793),_0x25ca0f=_0x333be6(_0x30657f);return void 0x0!==_0x25ca0f?_0x25ca0f:_0x4c8d36?p(_0x333be6,_0x4c8d36):'var('+_0x30657f+')';});}async function m(_0x19c210){const _0x381954=[await _0x55c1f5(_0x19c210['stylesheets']),_0x19c210['inlineCss']]['filter'](_0x438aac=>_0x438aac&&_0x438aac['length'])['join']('\x0a'),_0x325d2b=await async function(_0x44ff1b,_0x48f93d){const _0x54633e=new CSSStyleSheet();return await _0x54633e['replace'](_0x48f93d),h(Array['from'](_0x54633e['cssRules'])['filter'](_0x30a19d=>_0x30a19d instanceof CSSStyleRule))['flatMap'](({selectorText:_0x115ba1,contentCssText:_0x3b6390})=>{const _0xfdfc7e=f(_0x115ba1),_0x4ee2ed=new _0x2ba15b(_0x44ff1b)['setTo'](_0x3b6390);return _0xfdfc7e['map'](_0x5c829a=>{const _0x1d00e3=function(_0x5d70df){const _0xefdaf4=':where(';let _0x4099f4=_0x5d70df,_0x22e693=0x0;for(let _0x4abdd8=0x0;_0x4abdd8<0x64;_0x4abdd8++){const _0x518cde=_0x4099f4['indexOf'](_0xefdaf4,_0x22e693);if(-0x1===_0x518cde)break;let _0x315c55=0x0;for(let _0x15aa57=0x0;_0x15aa57<_0x518cde;_0x15aa57++)'('===_0x4099f4[_0x15aa57]?_0x315c55++:')'===_0x4099f4[_0x15aa57]&&_0x315c55--;if(_0x315c55>0x0){_0x22e693=_0x518cde+_0xefdaf4['length'];continue;}let _0xfae273=-0x1;for(let _0x122299=_0x518cde+_0xefdaf4['length'],_0x5c3a93=0x1;_0x122299<_0x4099f4['length'];_0x122299++)if('('===_0x4099f4[_0x122299]?_0x5c3a93++:')'===_0x4099f4[_0x122299]&&_0x5c3a93--,!_0x5c3a93){_0xfae273=_0x122299;break;}-0x1!==_0xfae273?(_0x4099f4=_0x4099f4['slice'](0x0,_0x518cde)+_0x4099f4['slice'](_0xfae273+0x1),_0x22e693=_0x518cde):_0x22e693=_0x518cde+_0xefdaf4['length'];}return _0x4099f4['replace'](/\s+/g,'\x20')['trim']();}(_0x5c829a),_0x25e036=_0x1d00e3?_0x241d97(_0x1d00e3)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x4ee2ed,'flatSelector':_0x5c829a,'specificity':_0x25e036};});})['sort']((_0x1e2691,_0x47abf2)=>_0xcd2921(_0x1e2691['specificity'],_0x47abf2['specificity']));}(_0x19c210['stylesProcessor'],_0x381954);return{'parsedCssRules':_0x325d2b,'rootCssVariables':function(_0x42ba05){const _0x5164a2=new Map();for(const {stylesMap:_0x12b836,flatSelector:_0x1bdc6b}of _0x42ba05){if(':root'!==_0x1bdc6b)continue;const _0x1148f8=d(_0x5164a2['get']['bind'](_0x5164a2),_0x12b836);for(const [_0x5ee70b,_0x2b2091]of _0x1148f8)_0x5164a2['set'](_0x5ee70b,_0x2b2091);}return _0x5164a2;}(_0x325d2b)};}function h(_0x20172f,_0xd3b184=''){return _0x20172f['flatMap'](_0x52ce11=>{const {selectorText:_0x52d776,cssText:_0x116ce5,cssRules:_0x3fd0cb}=_0x52ce11;if(!_0x52d776)return[];const _0xb4fb4e=_0x52d776['replace'](/&/g,_0xd3b184);let _0x4a223e=_0x116ce5['replace'](_0x52d776,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x3fd0cb||!_0x3fd0cb['length'])return[{'selectorText':_0xb4fb4e,'contentCssText':_0x4a223e}];for(const _0x526588 of _0x3fd0cb)_0x4a223e=_0x4a223e['replace'](_0x526588['cssText'],'')['trim']();return[{'selectorText':_0xb4fb4e,'contentCssText':_0x4a223e},...h(Array['from'](_0x3fd0cb),_0xb4fb4e)];});}function S(_0x305194,_0x291461){const _0x3c2eef=new _0x2ba15b(_0x305194);for(const _0x2cf5ab of _0x291461){let _0x5c108c=null;if(_0x5c108c='string'==typeof _0x2cf5ab?new _0x2ba15b(_0x305194)['setTo'](_0x2cf5ab):_0x2cf5ab,_0x5c108c){for(const [_0x5804c5,_0x352df2]of _0x5c108c['getStylesEntries']())_0x3c2eef['set'](_0x5804c5,_0x352df2);}}return _0x3c2eef;}class x extends _0x120168{['_stylesProcessor'];constructor(_0x5ada47){super(_0x5ada47),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x5e8d16(this['_stylesProcessor']),_0x2d9a67(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x1bf667){const _0x4cd0ad=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x3a64ca}=this['editor']['locale'],{rootName:_0xc52ced='main',dataControllerDowncastOptions:_0x5f1e1f={},transformations:_0x56773d=_0x4cd0ad['transformations']||[]}=_0x1bf667||{};this['isBusy']=!0x0,this['refresh']();const _0x7fb445=this['_getRootDataHTMLFragment'](_0xc52ced,_0x5f1e1f),_0x3f542e=_0x2fdd35(_0x7fb445['ownerDocument'],'div',{'dir':_0x3a64ca,'class':'ck-content'},[_0x7fb445]);return this['_collectAndApplyStyles'](_0x56773d,_0x3f542e)['then'](()=>{const _0x33a8f4=function(_0x23f206){const _0x2b300c=_0x23f206['ownerDocument']['createDocumentFragment']();for(;_0x23f206['firstChild'];)_0x2b300c['appendChild'](_0x23f206['firstChild']);return _0x2b300c;}(_0x3f542e),_0x3378ce=_0x3f542e['getAttribute']('style');if(_0x3378ce)for(const _0x20f248 of _0x33a8f4['children']){const _0x189876=_0x20f248['getAttribute']('style'),_0x57371f=S(this['_stylesProcessor'],[_0x3378ce,_0x189876]);_0x20f248['setAttribute']('style',C(_0x57371f));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x33a8f4);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x497325,_0x59eb33){const {data:_0x1eec88,model:_0x43ce89}=this['editor'],_0x326cb7=_0x43ce89['document']['getRoot'](_0x497325),_0x12277a=_0x1eec88['toView'](_0x326cb7,_0x59eb33);return _0x1eec88['htmlProcessor']['domConverter']['viewToDom'](_0x12277a);}async['_collectAndApplyStyles'](_0x1e50dc,_0x60ed9d){const {stylesheets:_0x133a73,inlineCss:_0x164ffe,stripCssClasses:_0x4209bb}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x27ee72,rootCssVariables:_0x1d5bd6}=await m({'stylesheets':_0x133a73||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x164ffe}),_0x316fa9=[];this['_processElementTree']({'transformations':_0x1e50dc,'parsedCssRules':_0x27ee72,'element':_0x60ed9d,'stripCssClasses':_0x4209bb,'parentCSSVariablesLookup':_0x1d5bd6['get']['bind'](_0x1d5bd6),'runAfterDocumentTransformation':_0x519a78=>{_0x316fa9['unshift'](_0x519a78);}});for(const _0xc21607 of _0x316fa9)_0xc21607();}['_processElementTree']({element:_0x1f28e9,parsedCssRules:_0xd615e5,parentCSSVariablesLookup:_0x5ddc97,runAfterDocumentTransformation:_0x32940e,stripCssClasses:_0x13351a,transformations:_0x5b8b89}){const {stylesMap:_0x399092,localCSSVariables:_0x1e5415}=function(_0x118c52){const _0x589ffa=_0x118c52['element']['getAttribute']('style')||'',_0x1c1784=_0x118c52['parsedCssRules']['filter'](_0x2119ab=>_0x118c52['element']['matches'](_0x2119ab['flatSelector']))['map'](_0x540c44=>_0x540c44['stylesMap']),_0xf679c2=S(_0x118c52['stylesProcessor'],[..._0x1c1784,_0x589ffa]);return{'localCSSVariables':d(_0x118c52['fallbackCSSVariablesLookup'],_0xf679c2),'stylesMap':_0xf679c2};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x5ddc97,'parsedCssRules':_0xd615e5,'element':_0x1f28e9}),_0x27f89e=[];for(const _0x59df33 of _0x5b8b89){const _0x25b32b=_0x59df33(_0x1f28e9,_0x399092,{'runAfterDocumentTransformation':_0x32940e,'runAfterChildrenTransformation':_0x1751ae=>{_0x27f89e['unshift'](_0x1751ae);}});_0x25b32b&&_0x25b32b instanceof HTMLElement&&(_0x1f28e9=_0x25b32b);}_0x399092['size']?_0x1f28e9['setAttribute']('style',C(_0x399092)):_0x1f28e9['removeAttribute']('style');const _0x136f50=_0x3fbea7=>_0x1e5415['has'](_0x3fbea7)?_0x1e5415['get'](_0x3fbea7):_0x5ddc97(_0x3fbea7);for(const _0x2bbfb9 of _0x1f28e9['children'])_0x2bbfb9 instanceof HTMLElement&&this['_processElementTree']({'element':_0x2bbfb9,'parsedCssRules':_0xd615e5,'stripCssClasses':_0x13351a,'transformations':_0x5b8b89,'parentCSSVariablesLookup':_0x136f50,'runAfterDocumentTransformation':_0x32940e});_0x13351a&&_0x1f28e9['removeAttribute']('class');for(const _0x22b094 of _0x27f89e)_0x22b094();}}function C(_0x2b28fd){return _0x2b28fd['getStylesEntries']()['map'](_0x5bc2f3=>_0x5bc2f3['join'](':'))['join'](';')+';';}class L extends _0x3a8d14{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(_0x2c1551){const _0x987191=_0xa4f9b5([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]),_0x57ab62=0x6f40c3fb,_0x42d5c0=0x6f474a53^_0x57ab62,_0x578270=window[_0xa4f9b5([0x44,0x61,0x74,0x65])][_0xa4f9b5([0x6e,0x6f,0x77])](),_0x272288=_0x2c1551[_0xa4f9b5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x23b11d=new window[(_0xa4f9b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9ff97a=>{_0x272288[_0xa4f9b5([0x6f,0x6e,0x63,0x65])](_0xa4f9b5([0x72,0x65,0x61,0x64,0x79]),_0x9ff97a);}),_0x57d3d6={[_0xa4f9b5([0x6b,0x74,0x79])]:_0xa4f9b5([0x45,0x43]),[_0xa4f9b5([0x75,0x73,0x65])]:_0xa4f9b5([0x73,0x69,0x67]),[_0xa4f9b5([0x63,0x72,0x76])]:_0xa4f9b5([0x50,0x2d,0x32,0x35,0x36]),[_0xa4f9b5([0x78])]:_0xa4f9b5([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]),[_0xa4f9b5([0x79])]:_0xa4f9b5([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]),[_0xa4f9b5([0x61,0x6c,0x67])]:_0xa4f9b5([0x45,0x53,0x32,0x35,0x36])},_0x2634e5=_0x272288[_0xa4f9b5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa4f9b5([0x67,0x65,0x74])](_0xa4f9b5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x90f17(){let _0x371355,_0x48250d=null,_0x101675=null;try{if(_0x2634e5==_0xa4f9b5([0x47,0x50,0x4c]))return _0xa4f9b5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x371355=_0x365e5a(),!_0x371355)return _0xa4f9b5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x371355[_0xa4f9b5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x101675=_0x65ef96(_0x371355[_0xa4f9b5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x371355[_0xa4f9b5([0x6a,0x74,0x69])])),await _0x426c06()?_0x14c59e()?_0xc7acec()?_0xa4f9b5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x24a46c()?(_0x371355[_0xa4f9b5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa4f9b5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48250d=_0x106724(_0xa4f9b5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x403c1c()):_0xa4f9b5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa4f9b5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa4f9b5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa4f9b5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc7acec(){const _0x488343=[_0xa4f9b5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa4f9b5([0x74,0x72,0x69,0x61,0x6c])][_0xa4f9b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x371355[_0xa4f9b5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x578270/0x3e8:0xe10*_0x42d5c0;return _0x371355[_0xa4f9b5([0x65,0x78,0x70])]<_0x488343;}function _0x14c59e(){const _0x3a0173=_0x371355[_0xa4f9b5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a0173&&(!!_0x3a0173[_0xa4f9b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa4f9b5([0x2a]))||!!_0x3a0173[_0xa4f9b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa4f9b5([0x45,0x49,0x53])));}function _0x24a46c(){const _0x229448=_0x371355[_0xa4f9b5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x229448||0x0==_0x229448[_0xa4f9b5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4665a1}=new URL(window[_0xa4f9b5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x229448[_0xa4f9b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4665a1))return!0x0;const _0xf448f1=_0x4665a1[_0xa4f9b5([0x73,0x70,0x6c,0x69,0x74])](_0xa4f9b5([0x2e]));return _0x229448[_0xa4f9b5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18607a=>_0x18607a[_0xa4f9b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa4f9b5([0x2a])))[_0xa4f9b5([0x6d,0x61,0x70])](_0x2fa7df=>_0x2fa7df[_0xa4f9b5([0x73,0x70,0x6c,0x69,0x74])](_0xa4f9b5([0x2e])))[_0xa4f9b5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x200812=>_0x200812[_0xa4f9b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xf448f1[_0xa4f9b5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa4f9b5([0x6d,0x61,0x70])](_0x52dd05=>Array(_0xf448f1[_0xa4f9b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x52dd05[_0xa4f9b5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa4f9b5([0x66,0x69,0x6c,0x6c])](_0x52dd05[0x0]===_0xa4f9b5([0x2a])?_0xa4f9b5([0x2a]):'')[_0xa4f9b5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x52dd05))[_0xa4f9b5([0x73,0x6f,0x6d,0x65])](_0x1489aa=>_0xf448f1[_0xa4f9b5([0x65,0x76,0x65,0x72,0x79])]((_0x5959cc,_0xb896ec)=>_0x1489aa[_0xb896ec]===_0x5959cc||_0x1489aa[_0xb896ec]===_0xa4f9b5([0x2a])));}function _0x403c1c(){return _0x48250d&&_0x101675?new window[(_0xa4f9b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4318e0,_0x263cf7)=>{_0x48250d[_0xa4f9b5([0x74,0x68,0x65,0x6e])](_0x4318e0,_0x263cf7),_0x101675[_0xa4f9b5([0x74,0x68,0x65,0x6e])](_0x4f3176=>{_0x4f3176!=_0xa4f9b5([0x56,0x61,0x6c,0x69,0x64])&&_0x4318e0(_0x4f3176);},_0x263cf7);}):_0x48250d||_0x101675||_0xa4f9b5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x65ef96(_0x6504c7,_0x38b082){return new window[(_0xa4f9b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38bde1=>{if(_0x47b82e())return _0x38bde1(_0xa4f9b5([0x56,0x61,0x6c,0x69,0x64]));_0x41a37f(),_0x272288[_0xa4f9b5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa4f9b5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3cb998=!0x1;const _0x4c6363=_0x43cabd();function _0x3b9ec3(_0x33a766){return!!_0x33a766&&(typeof _0x33a766===_0xa4f9b5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x33a766===_0xa4f9b5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x33a766[_0xa4f9b5([0x74,0x68,0x65,0x6e])]===_0xa4f9b5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x33a766[_0xa4f9b5([0x63,0x61,0x74,0x63,0x68])]===_0xa4f9b5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x515cca(_0x32c33e){_0x5c1414(_0x32c33e)[_0xa4f9b5([0x74,0x68,0x65,0x6e])](_0x4c142a=>{if(!_0x4c142a||_0x4c142a[_0xa4f9b5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa4f9b5([0x6f,0x6b]))return _0xa4f9b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x39a375(_0x3e36d0(_0x4c6363+_0x38b082))!=_0x4c142a[_0xa4f9b5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa4f9b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa4f9b5([0x56,0x61,0x6c,0x69,0x64]);})[_0xa4f9b5([0x74,0x68,0x65,0x6e])](_0xdf3d9b=>(_0x4fcf80(),_0xdf3d9b),()=>{const _0x12e819=_0x51a1fe();return null==_0x12e819?(_0x4fcf80(),_0xa4f9b5([0x56,0x61,0x6c,0x69,0x64])):_0xa4f9b5(_0x578270-_0x12e819>(0x4b4c47fb^_0x57ab62)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa4f9b5([0x74,0x68,0x65,0x6e])](_0x38bde1)[_0xa4f9b5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38bde1(_0xa4f9b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x26fbec=0x6f762d7b^_0x57ab62;function _0x4fcf80(){const _0x1b6126=_0xa4f9b5([0x6c,0x6c,0x63,0x74,0x2d])+_0x39a375(_0x3e36d0(_0x6504c7)),_0x5b121b=_0xdb72c0(_0x39a375(window[_0xa4f9b5([0x4d,0x61,0x74,0x68])][_0xa4f9b5([0x63,0x65,0x69,0x6c])](_0x578270/_0x26fbec)));window[_0xa4f9b5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa4f9b5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b6126,_0x5b121b);}function _0x51a1fe(){const _0x562ca1=_0xa4f9b5([0x6c,0x6c,0x63,0x74,0x2d])+_0x39a375(_0x3e36d0(_0x6504c7)),_0x5b356e=window[_0xa4f9b5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa4f9b5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x562ca1);return _0x5b356e?window[_0xa4f9b5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdb72c0(_0x5b356e),0x10)*_0x26fbec:null;}function _0x5c1414(_0x1b3205){return new window[(_0xa4f9b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a2c2e,_0xa84cef)=>{_0x1b3205[_0xa4f9b5([0x74,0x68,0x65,0x6e])](_0x4a2c2e,_0xa84cef),window[_0xa4f9b5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa84cef,0x6f41173b^_0x57ab62);});}}_0x272288[_0xa4f9b5([0x6f,0x6e])](_0xa4f9b5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2a7a67,_0x2bcbf7)=>{if(_0x2bcbf7[0x0]!=_0x6504c7)return _0x38bde1(_0xa4f9b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2bcbf7[0x1]={..._0x2bcbf7[0x1],[_0xa4f9b5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4c6363};},{[_0xa4f9b5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa4f9b5([0x68,0x69,0x67,0x68])}),_0x272288[_0xa4f9b5([0x6f,0x6e])](_0xa4f9b5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3afb76=>{_0x3b9ec3(_0x3afb76[_0xa4f9b5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3cb998=!0x0,_0x515cca(_0x3afb76[_0xa4f9b5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa4f9b5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa4f9b5([0x6c,0x6f,0x77])}),_0x23b11d[_0xa4f9b5([0x74,0x68,0x65,0x6e])](()=>{_0x3cb998||_0x38bde1(_0xa4f9b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47b82e(){return _0x272288[_0xa4f9b5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa4f9b5([0x76,0x69,0x65,0x77])][_0xa4f9b5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa4f9b5([0x61,0x75,0x74,0x6f]);}function _0x41a37f(){_0x272288[_0xa4f9b5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa4f9b5([0x76,0x69,0x65,0x77])][_0xa4f9b5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa4f9b5([0x61,0x75,0x74,0x6f]);}}function _0x106724(_0x297ad7){const _0x56b465=[new window[(_0xa4f9b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x365820=>setTimeout(_0x365820,0x6f49fd37^_0x57ab62)),_0x23b11d[_0xa4f9b5([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa4f9b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5919fb=>{let _0x2e433a=0x0;_0x272288[_0xa4f9b5([0x6d,0x6f,0x64,0x65,0x6c])][_0xa4f9b5([0x6f,0x6e])](_0xa4f9b5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x59e19c,_0x12328c)=>{_0x12328c[0x0][_0xa4f9b5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2e433a++,_0x2e433a==(0x6f40c613^_0x57ab62)&&(_0x5919fb(),_0x59e19c[_0xa4f9b5([0x6f,0x66,0x66])]());});}))];return window[_0xa4f9b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa4f9b5([0x72,0x61,0x63,0x65])](_0x56b465)[_0xa4f9b5([0x74,0x68,0x65,0x6e])](()=>_0x297ad7);}async function _0x5659f1(){await _0x23b11d;const _0x1c3f50=_0x272288['commands'][_0xa4f9b5([0x67,0x65,0x74])](_0xa4f9b5([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x1c3f50&&_0x1c3f50[_0xa4f9b5([0x6f,0x6e])](_0xa4f9b5([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x4d860e=>{_0x4d860e['stop']();},{'priority':_0xa4f9b5([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x272288[_0xa4f9b5([0x6d,0x6f,0x64,0x65,0x6c])][_0xa4f9b5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x29bf56,_0x272288[_0xa4f9b5([0x6d,0x6f,0x64,0x65,0x6c])][_0xa4f9b5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x29bf56,_0x272288[_0xa4f9b5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa4f9b5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3da8e7(_0x32ba79){const _0x2c93e2=_0x44ae7d();_0x272288[_0x2c93e2]=_0xa4f9b5([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])+_0x32ba79,_0x32ba79!=_0xa4f9b5([0x56,0x61,0x6c,0x69,0x64])&&_0x5659f1();}function _0x44ae7d(){const _0x2bfdc3=window[_0xa4f9b5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa4f9b5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa4f9b5([0x6e,0x6f,0x77])]())[_0xa4f9b5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa4f9b5([0x2e]),'');let _0x1c9761=_0xa4f9b5([0x44]);for(let _0x3b5524=0x0;_0x3b5524<_0x2bfdc3[_0xa4f9b5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b5524+=0x2){let _0x43fe09=window[_0xa4f9b5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bfdc3[_0xa4f9b5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b5524,_0x3b5524+0x2));_0x43fe09>=_0x987191[_0xa4f9b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x43fe09-=_0x987191[_0xa4f9b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c9761+=_0x987191[_0x43fe09];}return _0x1c9761;}function _0x365e5a(){const _0xc30f58=_0x2634e5[_0xa4f9b5([0x73,0x70,0x6c,0x69,0x74])](_0xa4f9b5([0x2e]));if(0x3!=_0xc30f58[_0xa4f9b5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1c94e7(_0xc30f58[0x1]);function _0x1c94e7(_0x516341){const _0x402198=_0x417ce6(_0x516341);return _0x402198&&_0x23abc4()?_0x402198:null;function _0x23abc4(){const _0x4a5f36=_0x402198[_0xa4f9b5([0x6a,0x74,0x69])],_0x24cf47=window[_0xa4f9b5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a5f36[_0xa4f9b5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a5f36[_0xa4f9b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2c5771={..._0x402198,[_0xa4f9b5([0x6a,0x74,0x69])]:_0x4a5f36[_0xa4f9b5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4a5f36[_0xa4f9b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2c5771[_0xa4f9b5([0x76,0x63])],_0x3e36d0(_0x2c5771)==_0x24cf47;}}}async function _0x426c06(){let _0x1bdb53=!0x0;try{const _0x310bbf=_0x2634e5[_0xa4f9b5([0x73,0x70,0x6c,0x69,0x74])](_0xa4f9b5([0x2e])),[_0x848e5d,_0x497670,_0x186b31]=_0x310bbf;return _0x2ae6d3(_0x848e5d),await _0x425424(_0x848e5d,_0x497670,_0x186b31),_0x1bdb53;}catch{return!0x1;}function _0x2ae6d3(_0x502cc7){const _0x409b7f=_0x417ce6(_0x502cc7);_0x409b7f&&_0x409b7f[_0xa4f9b5([0x61,0x6c,0x67])]==_0xa4f9b5([0x45,0x53,0x32,0x35,0x36])||(_0x1bdb53=!0x1);}async function _0x425424(_0x178bc6,_0x12d454,_0x253ed8){const _0x437865=window[_0xa4f9b5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa4f9b5([0x66,0x72,0x6f,0x6d])](_0x3147b5(_0x253ed8),_0x2879bc=>_0x2879bc[_0xa4f9b5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39a9b6=new window[(_0xa4f9b5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa4f9b5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x178bc6+_0xa4f9b5([0x2e])+_0x12d454),_0x323f20=window[_0xa4f9b5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa4f9b5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x323f20)return;const _0x21dd90=await _0x323f20[_0xa4f9b5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa4f9b5([0x6a,0x77,0x6b]),_0x57d3d6,{[_0xa4f9b5([0x6e,0x61,0x6d,0x65])]:_0xa4f9b5([0x45,0x43,0x44,0x53,0x41]),[_0xa4f9b5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa4f9b5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa4f9b5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x323f20[_0xa4f9b5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa4f9b5([0x6e,0x61,0x6d,0x65])]:_0xa4f9b5([0x45,0x43,0x44,0x53,0x41]),[_0xa4f9b5([0x68,0x61,0x73,0x68])]:{[_0xa4f9b5([0x6e,0x61,0x6d,0x65])]:_0xa4f9b5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x21dd90,_0x437865,_0x39a9b6)||(_0x1bdb53=!0x1);}}function _0x417ce6(_0xf08631){return _0xf08631[_0xa4f9b5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa4f9b5([0x65,0x79]))?JSON[_0xa4f9b5([0x70,0x61,0x72,0x73,0x65])](_0x3147b5(_0xf08631)):null;}function _0x3147b5(_0x2502aa){return window[_0xa4f9b5([0x61,0x74,0x6f,0x62])](_0x2502aa[_0xa4f9b5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa4f9b5([0x2b]))[_0xa4f9b5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa4f9b5([0x2f])));}function _0x3e36d0(_0x4024ae){let _0x3b124f=0x1505;function _0x43c358(_0x1aa6ae){for(let _0xd9e9aa=0x0;_0xd9e9aa<_0x1aa6ae[_0xa4f9b5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd9e9aa++){const _0xd7adca=_0x1aa6ae[_0xa4f9b5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd9e9aa);_0x3b124f=(_0x3b124f<<0x5)+_0x3b124f+_0xd7adca,_0x3b124f&=_0x3b124f;}}function _0x5e4d5e(_0x495f2f){Array[_0xa4f9b5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x495f2f)?_0x495f2f[_0xa4f9b5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e4d5e):_0x495f2f&&typeof _0x495f2f==_0xa4f9b5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa4f9b5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x495f2f)[_0xa4f9b5([0x73,0x6f,0x72,0x74])]()[_0xa4f9b5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1f2827,_0x5f23c1])=>{_0x43c358(_0x1f2827),_0x5e4d5e(_0x5f23c1);}):_0x43c358(window[_0xa4f9b5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x495f2f));}return _0x5e4d5e(_0x4024ae),_0x3b124f>>>0x0;}function _0x39a375(_0xb4d668){return _0xb4d668[_0xa4f9b5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa4f9b5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa4f9b5([0x30]));}function _0xdb72c0(_0x173a86){return _0x173a86[_0xa4f9b5([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa4f9b5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa4f9b5([0x6a,0x6f,0x69,0x6e])]('');}function _0x29bf56(){}function _0xa4f9b5(_0x1630d0){return _0x1630d0['map'](_0x4de243=>String['fromCharCode'](_0x4de243))['join']('');}_0x3da8e7(await _0x90f17());}(this);}}class g extends _0x3a8d14{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[L];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x18feac=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x101ae3;for(const _0x317296 in _0x18feac){const _0x1f7866=_0x317296,_0x28c4b0=_0x18feac[_0x1f7866];if('exportInlineStylesLicenseKeyValid'==_0x28c4b0||'exportInlineStylesLicenseKeyInvalid'==_0x28c4b0||'exportInlineStylesLicenseKeyExpired'==_0x28c4b0||'exportInlineStylesLicenseKeyDomainLimit'==_0x28c4b0||'exportInlineStylesLicenseKeyNotAllowed'==_0x28c4b0||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x28c4b0||'exportInlineStylesLicenseKeyUsageLimit'==_0x28c4b0){delete _0x18feac[_0x1f7866],_0x101ae3=_0x28c4b0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x101ae3&&_0x18feac['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x101ae3&&_0x18feac['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x101ae3&&_0x18feac['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x101ae3&&_0x18feac['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x101ae3&&_0x18feac['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x101ae3&&_0x18feac['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{g as ExportInlineStyles,x as ExportInlineStylesCommand,L as ExportInlineStylesEditing,w as dropImportantStyleSuffix};
23
+ import{Command as _0x1b75be,Plugin as _0x18da6f}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x56544e,createElement as _0x43f344,uid as _0x5bc7f6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{StylesMap as _0x317729,addMarginStylesRules as _0x84c0a8,addPaddingStylesRules as _0x1bf901}from'@ckeditor/ckeditor5-engine/dist/index.js';import{calculate as _0x483a7a,compare as _0x41059b}from'specificity';function f(_0x2a405a){const _0x346ac5=[];let _0x18f8b7='',_0x3a36a2=0x0;for(;_0x3a36a2<_0x2a405a['length'];){const _0x28a43b=_0x2a405a[_0x3a36a2];if('('===_0x28a43b){const _0x1cee06=y(_0x2a405a,_0x3a36a2+0x1);if(-0x1===_0x1cee06)return[];_0x18f8b7+=_0x2a405a['slice'](_0x3a36a2,_0x1cee06+0x1),_0x3a36a2=_0x1cee06+0x1;}else','!==_0x28a43b||_0x18f8b7['endsWith']('\x5c')?(_0x18f8b7+=_0x28a43b,_0x3a36a2++):(_0x346ac5['push'](_0x18f8b7['trim']()),_0x18f8b7='',_0x3a36a2++);}return _0x18f8b7['trim']()&&_0x346ac5['push'](_0x18f8b7['trim']()),_0x346ac5['filter'](Boolean);}function y(_0x1d07e1,_0x2c55c1){let _0x179242=0x1;for(let _0x54999d=_0x2c55c1;_0x54999d<_0x1d07e1['length'];_0x54999d++){const _0xd79324=_0x1d07e1[_0x54999d];if('('===_0xd79324)_0x179242++;else{if(')'===_0xd79324&&(_0x179242--,0x0===_0x179242))return _0x54999d;}}return-0x1;}function w(_0x2cf67b){return _0x2cf67b['replace'](/!\s*important/i,'')['trim']();}function d(_0x2f112c,_0x4d5939){const _0x5ae103=new Map(),_0x2c7471=_0x205e36=>_0x5ae103['has'](_0x205e36)?_0x5ae103['get'](_0x205e36):_0x2f112c(_0x205e36);for(const [_0x4db7bc,_0x44ceb1]of _0x4d5939['getStylesEntries']())if(_0x44ceb1&&_0x4db7bc['startsWith']('--')){const _0x2c2fb2=p(_0x2c7471,_0x44ceb1);_0x5ae103['set'](_0x4db7bc,_0x2c2fb2),_0x4d5939['remove'](_0x4db7bc);}for(const [_0x3b0a85,_0x3bdc19]of _0x4d5939['getStylesEntries']())if(_0x3bdc19){const _0xe4413e=p(_0x2c7471,_0x3bdc19);_0x4d5939['set'](_0x3b0a85,_0xe4413e);}return _0x5ae103;}function p(_0x3744f8,_0x3c42bf){return function(_0x59b5d1,_0x51bb20){let _0x49eb00='',_0x4b526a=0x0;for(;_0x4b526a<_0x59b5d1['length'];){const _0x3afc15=_0x59b5d1['indexOf']('var(',_0x4b526a);if(-0x1===_0x3afc15){_0x49eb00+=_0x59b5d1['slice'](_0x4b526a);break;}_0x49eb00+=_0x59b5d1['slice'](_0x4b526a,_0x3afc15);const _0xdbac12=_0x3afc15+0x4,_0x4d36cf=y(_0x59b5d1,_0xdbac12);_0x49eb00+=_0x51bb20(_0x59b5d1['substring'](_0xdbac12,_0x4d36cf)),_0x4b526a=_0x4d36cf+0x1;}return _0x49eb00;}(_0x3c42bf,_0x1c4dfc=>{const [_0x1d64a8,_0x6dd255]=f(_0x1c4dfc),_0x5a5f5a=_0x3744f8(_0x1d64a8);return void 0x0!==_0x5a5f5a?_0x5a5f5a:_0x6dd255?p(_0x3744f8,_0x6dd255):'var('+_0x1d64a8+')';});}async function m(_0x337655){const _0x2e74dd=[await _0x56544e(_0x337655['stylesheets']),_0x337655['inlineCss']]['filter'](_0x16336a=>_0x16336a&&_0x16336a['length'])['join']('\x0a'),_0x4abfe3=await async function(_0x4694e6,_0x4ce921){const _0x2b7e13=new CSSStyleSheet();return await _0x2b7e13['replace'](_0x4ce921),h(Array['from'](_0x2b7e13['cssRules'])['filter'](_0x12d892=>_0x12d892 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x498b55,contentCssText:_0x2c05bd})=>{const _0x6c4f1f=f(_0x498b55),_0x4bced4=new _0x317729(_0x4694e6)['setTo'](_0x2c05bd);return _0x6c4f1f['map'](_0x134772=>{const _0x1e291b=function(_0x2a6494){const _0x464d35=':where(';let _0x493429=_0x2a6494,_0x340a4f=0x0;for(let _0x43ba52=0x0;_0x43ba52<0x64;_0x43ba52++){const _0x1d11dd=_0x493429['indexOf'](_0x464d35,_0x340a4f);if(-0x1===_0x1d11dd)break;let _0x48ffa9=0x0;for(let _0x7dadab=0x0;_0x7dadab<_0x1d11dd;_0x7dadab++)'('===_0x493429[_0x7dadab]?_0x48ffa9++:')'===_0x493429[_0x7dadab]&&_0x48ffa9--;if(_0x48ffa9>0x0){_0x340a4f=_0x1d11dd+_0x464d35['length'];continue;}let _0x3e8869=-0x1;for(let _0x43cd06=_0x1d11dd+_0x464d35['length'],_0x426fa3=0x1;_0x43cd06<_0x493429['length'];_0x43cd06++)if('('===_0x493429[_0x43cd06]?_0x426fa3++:')'===_0x493429[_0x43cd06]&&_0x426fa3--,!_0x426fa3){_0x3e8869=_0x43cd06;break;}-0x1!==_0x3e8869?(_0x493429=_0x493429['slice'](0x0,_0x1d11dd)+_0x493429['slice'](_0x3e8869+0x1),_0x340a4f=_0x1d11dd):_0x340a4f=_0x1d11dd+_0x464d35['length'];}return _0x493429['replace'](/\s+/g,'\x20')['trim']();}(_0x134772),_0x30d471=_0x1e291b?_0x483a7a(_0x1e291b)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x4bced4,'flatSelector':_0x134772,'specificity':_0x30d471};});})['sort']((_0x1a2dee,_0x4f494a)=>_0x41059b(_0x1a2dee['specificity'],_0x4f494a['specificity']));}(_0x337655['stylesProcessor'],_0x2e74dd);return{'parsedCssRules':_0x4abfe3,'rootCssVariables':function(_0x62ef2b){const _0x3a408a=new Map();for(const {stylesMap:_0x27ced2,flatSelector:_0x140743}of _0x62ef2b){if(':root'!==_0x140743)continue;const _0x3f997b=d(_0x3a408a['get']['bind'](_0x3a408a),_0x27ced2);for(const [_0x4d2239,_0x5c0bf7]of _0x3f997b)_0x3a408a['set'](_0x4d2239,_0x5c0bf7);}return _0x3a408a;}(_0x4abfe3)};}function h(_0x1a6a92,_0x30dce4=''){return _0x1a6a92['flatMap'](_0x5077f6=>{const {selectorText:_0x4fe626,cssText:_0x4f4d05,cssRules:_0x21698a}=_0x5077f6;if(!_0x4fe626)return[];const _0x3d13e0=_0x4fe626['replace'](/&/g,_0x30dce4);let _0x58c9b7=_0x4f4d05['replace'](_0x4fe626,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x21698a||!_0x21698a['length'])return[{'selectorText':_0x3d13e0,'contentCssText':_0x58c9b7}];for(const _0xf2f588 of _0x21698a)_0x58c9b7=_0x58c9b7['replace'](_0xf2f588['cssText'],'')['trim']();return[{'selectorText':_0x3d13e0,'contentCssText':_0x58c9b7},...h(Array['from'](_0x21698a),_0x3d13e0)];});}function S(_0x3b7e70,_0x101bb6){const _0x2afe13=new _0x317729(_0x3b7e70);for(const _0x7906d4 of _0x101bb6){let _0x4c39bf=null;if(_0x4c39bf='string'==typeof _0x7906d4?new _0x317729(_0x3b7e70)['setTo'](_0x7906d4):_0x7906d4,_0x4c39bf){for(const [_0x598cfb,_0x32a140]of _0x4c39bf['getStylesEntries']())_0x2afe13['set'](_0x598cfb,_0x32a140);}}return _0x2afe13;}class x extends _0x1b75be{['_stylesProcessor'];constructor(_0x4c3178){super(_0x4c3178),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x84c0a8(this['_stylesProcessor']),_0x1bf901(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x1bb77c){const _0x3c4c3d=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x7871a}=this['editor']['locale'],{rootName:_0xc231fa='main',dataControllerDowncastOptions:_0x4d41fa={},transformations:_0x2bc00d=_0x3c4c3d['transformations']||[]}=_0x1bb77c||{};this['isBusy']=!0x0,this['refresh']();const _0x4ce7db=this['_getRootDataHTMLFragment'](_0xc231fa,_0x4d41fa),_0x3a6ad0=_0x43f344(_0x4ce7db['ownerDocument'],'div',{'dir':_0x7871a,'class':'ck-content'},[_0x4ce7db]);return this['_collectAndApplyStyles'](_0x2bc00d,_0x3a6ad0)['then'](()=>{const _0x263aac=function(_0x30e6aa){const _0x61522e=_0x30e6aa['ownerDocument']['createDocumentFragment']();for(;_0x30e6aa['firstChild'];)_0x61522e['appendChild'](_0x30e6aa['firstChild']);return _0x61522e;}(_0x3a6ad0),_0x54e238=_0x3a6ad0['getAttribute']('style');if(_0x54e238)for(const _0x18f301 of _0x263aac['children']){const _0xe1ea66=_0x18f301['getAttribute']('style'),_0x535291=S(this['_stylesProcessor'],[_0x54e238,_0xe1ea66]);_0x18f301['setAttribute']('style',C(_0x535291));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x263aac);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0xc29fb7,_0x150df8){const {data:_0x16d09c,model:_0x13910a}=this['editor'],_0x10d458=_0x13910a['document']['getRoot'](_0xc29fb7),_0x7e7490=_0x16d09c['toView'](_0x10d458,_0x150df8);return _0x16d09c['htmlProcessor']['domConverter']['viewToDom'](_0x7e7490);}async['_collectAndApplyStyles'](_0x3c470e,_0x3cff8a){const {stylesheets:_0x2cf98c,inlineCss:_0x357c5d,stripCssClasses:_0x4aa765}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x5aa3c8,rootCssVariables:_0x3373ae}=await m({'stylesheets':_0x2cf98c||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x357c5d}),_0x3bfb0b=[];this['_processElementTree']({'transformations':_0x3c470e,'parsedCssRules':_0x5aa3c8,'element':_0x3cff8a,'stripCssClasses':_0x4aa765,'parentCSSVariablesLookup':_0x3373ae['get']['bind'](_0x3373ae),'runAfterDocumentTransformation':_0x2db00d=>{_0x3bfb0b['unshift'](_0x2db00d);}});for(const _0x4e0d28 of _0x3bfb0b)_0x4e0d28();}['_processElementTree']({element:_0x32fb38,parsedCssRules:_0x1b5386,parentCSSVariablesLookup:_0x5dd80f,runAfterDocumentTransformation:_0x3070bc,stripCssClasses:_0x8aad8f,transformations:_0x12f151}){const {stylesMap:_0x516641,localCSSVariables:_0x20a336}=function(_0x1d2203){const _0xf1e800=_0x1d2203['element']['getAttribute']('style')||'',_0x37c6b8=_0x1d2203['parsedCssRules']['filter'](_0x2d070a=>_0x1d2203['element']['matches'](_0x2d070a['flatSelector']))['map'](_0x129e8f=>_0x129e8f['stylesMap']),_0x251077=S(_0x1d2203['stylesProcessor'],[..._0x37c6b8,_0xf1e800]);return{'localCSSVariables':d(_0x1d2203['fallbackCSSVariablesLookup'],_0x251077),'stylesMap':_0x251077};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x5dd80f,'parsedCssRules':_0x1b5386,'element':_0x32fb38}),_0x286980=[];for(const _0x2056e2 of _0x12f151){const _0x3e4064=_0x2056e2(_0x32fb38,_0x516641,{'runAfterDocumentTransformation':_0x3070bc,'runAfterChildrenTransformation':_0x106567=>{_0x286980['unshift'](_0x106567);}});_0x3e4064&&_0x3e4064 instanceof HTMLElement&&(_0x32fb38=_0x3e4064);}_0x516641['size']?_0x32fb38['setAttribute']('style',C(_0x516641)):_0x32fb38['removeAttribute']('style');const _0x3334fd=_0xfe79a4=>_0x20a336['has'](_0xfe79a4)?_0x20a336['get'](_0xfe79a4):_0x5dd80f(_0xfe79a4);for(const _0x585b66 of _0x32fb38['children'])_0x585b66 instanceof HTMLElement&&this['_processElementTree']({'element':_0x585b66,'parsedCssRules':_0x1b5386,'stripCssClasses':_0x8aad8f,'transformations':_0x12f151,'parentCSSVariablesLookup':_0x3334fd,'runAfterDocumentTransformation':_0x3070bc});_0x8aad8f&&_0x32fb38['removeAttribute']('class');for(const _0x3ffba7 of _0x286980)_0x3ffba7();}}function C(_0x4c4e32){return _0x4c4e32['getStylesEntries']()['map'](_0x2d8a8a=>_0x2d8a8a['join'](':'))['join'](';')+';';}class L extends _0x18da6f{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(_0x3bef37){const _0x4e19ce=_0x57f567([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]),_0x58ff01=0x6f40c3fb,_0x414e49=0x6f474a23^_0x58ff01,_0x398aba=window[_0x57f567([0x44,0x61,0x74,0x65])][_0x57f567([0x6e,0x6f,0x77])](),_0x49b45c=_0x3bef37[_0x57f567([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3e507d=new window[(_0x57f567([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54a7f7=>{_0x49b45c[_0x57f567([0x6f,0x6e,0x63,0x65])](_0x57f567([0x72,0x65,0x61,0x64,0x79]),_0x54a7f7);}),_0xe47fce={[_0x57f567([0x6b,0x74,0x79])]:_0x57f567([0x45,0x43]),[_0x57f567([0x75,0x73,0x65])]:_0x57f567([0x73,0x69,0x67]),[_0x57f567([0x63,0x72,0x76])]:_0x57f567([0x50,0x2d,0x32,0x35,0x36]),[_0x57f567([0x78])]:_0x57f567([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]),[_0x57f567([0x79])]:_0x57f567([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]),[_0x57f567([0x61,0x6c,0x67])]:_0x57f567([0x45,0x53,0x32,0x35,0x36])},_0x4c0035=_0x49b45c[_0x57f567([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x57f567([0x67,0x65,0x74])](_0x57f567([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x39590d(){let _0x3c685d,_0x405e79=null,_0x41a792=null;try{if(_0x4c0035==_0x57f567([0x47,0x50,0x4c]))return _0x57f567([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3c685d=_0x262305(),!_0x3c685d)return _0x57f567([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3c685d[_0x57f567([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x41a792=_0x53ebde(_0x3c685d[_0x57f567([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3c685d[_0x57f567([0x6a,0x74,0x69])])),await _0x36f6f7()?_0x26bca0()?_0x235f42()?_0x57f567([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x27cce8()?(_0x3c685d[_0x57f567([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x57f567([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x405e79=_0x53b248(_0x57f567([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x478bbf()):_0x57f567([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x57f567([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x57f567([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x57f567([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x235f42(){const _0x4e046b=[_0x57f567([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x57f567([0x74,0x72,0x69,0x61,0x6c])][_0x57f567([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c685d[_0x57f567([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x398aba/0x3e8:0xe10*_0x414e49;return _0x3c685d[_0x57f567([0x65,0x78,0x70])]<_0x4e046b;}function _0x26bca0(){const _0x611593=_0x3c685d[_0x57f567([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x611593&&(!!_0x611593[_0x57f567([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57f567([0x2a]))||!!_0x611593[_0x57f567([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57f567([0x45,0x49,0x53])));}function _0x27cce8(){const _0x11b680=_0x3c685d[_0x57f567([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x11b680||0x0==_0x11b680[_0x57f567([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x439cbe}=new URL(window[_0x57f567([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x11b680[_0x57f567([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x439cbe))return!0x0;const _0x97f604=_0x439cbe[_0x57f567([0x73,0x70,0x6c,0x69,0x74])](_0x57f567([0x2e]));return _0x11b680[_0x57f567([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x577fc9=>_0x577fc9[_0x57f567([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57f567([0x2a])))[_0x57f567([0x6d,0x61,0x70])](_0x146f6b=>_0x146f6b[_0x57f567([0x73,0x70,0x6c,0x69,0x74])](_0x57f567([0x2e])))[_0x57f567([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1969f0=>_0x1969f0[_0x57f567([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x97f604[_0x57f567([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x57f567([0x6d,0x61,0x70])](_0x450a78=>Array(_0x97f604[_0x57f567([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x450a78[_0x57f567([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x57f567([0x66,0x69,0x6c,0x6c])](_0x450a78[0x0]===_0x57f567([0x2a])?_0x57f567([0x2a]):'')[_0x57f567([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x450a78))[_0x57f567([0x73,0x6f,0x6d,0x65])](_0x1056f0=>_0x97f604[_0x57f567([0x65,0x76,0x65,0x72,0x79])]((_0x58436e,_0x160b66)=>_0x1056f0[_0x160b66]===_0x58436e||_0x1056f0[_0x160b66]===_0x57f567([0x2a])));}function _0x478bbf(){return _0x405e79&&_0x41a792?new window[(_0x57f567([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x582220,_0x36fcb7)=>{_0x405e79[_0x57f567([0x74,0x68,0x65,0x6e])](_0x582220,_0x36fcb7),_0x41a792[_0x57f567([0x74,0x68,0x65,0x6e])](_0xc56693=>{_0xc56693!=_0x57f567([0x56,0x61,0x6c,0x69,0x64])&&_0x582220(_0xc56693);},_0x36fcb7);}):_0x405e79||_0x41a792||_0x57f567([0x56,0x61,0x6c,0x69,0x64]);}}function _0x53ebde(_0x5b2bce,_0x36667a){return new window[(_0x57f567([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36bf66=>{if(_0x5052f9())return _0x36bf66(_0x57f567([0x56,0x61,0x6c,0x69,0x64]));_0x3f9ceb(),_0x49b45c[_0x57f567([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x57f567([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x24d73b=!0x1;const _0x1e16f3=_0x5bc7f6();function _0x11efc5(_0x54c37f){return!!_0x54c37f&&(typeof _0x54c37f===_0x57f567([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x54c37f===_0x57f567([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x54c37f[_0x57f567([0x74,0x68,0x65,0x6e])]===_0x57f567([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x54c37f[_0x57f567([0x63,0x61,0x74,0x63,0x68])]===_0x57f567([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x41ffb6(_0x7bf88){_0x3721c9(_0x7bf88)[_0x57f567([0x74,0x68,0x65,0x6e])](_0x21afc8=>{if(!_0x21afc8||_0x21afc8[_0x57f567([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x57f567([0x6f,0x6b]))return _0x57f567([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x32ef00(_0x560125(_0x1e16f3+_0x36667a))!=_0x21afc8[_0x57f567([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x57f567([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x57f567([0x56,0x61,0x6c,0x69,0x64]);})[_0x57f567([0x74,0x68,0x65,0x6e])](_0x5a36c3=>(_0x5e98ee(),_0x5a36c3),()=>{const _0xa316da=_0x2be868();return null==_0xa316da?(_0x5e98ee(),_0x57f567([0x56,0x61,0x6c,0x69,0x64])):_0x57f567(_0x398aba-_0xa316da>(0x4b4c47fb^_0x58ff01)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x57f567([0x74,0x68,0x65,0x6e])](_0x36bf66)[_0x57f567([0x63,0x61,0x74,0x63,0x68])](()=>{_0x36bf66(_0x57f567([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x27af1d=0x6f762d7b^_0x58ff01;function _0x5e98ee(){const _0x5548c3=_0x57f567([0x6c,0x6c,0x63,0x74,0x2d])+_0x32ef00(_0x560125(_0x5b2bce)),_0x4e2f37=_0x4148fb(_0x32ef00(window[_0x57f567([0x4d,0x61,0x74,0x68])][_0x57f567([0x63,0x65,0x69,0x6c])](_0x398aba/_0x27af1d)));window[_0x57f567([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57f567([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5548c3,_0x4e2f37);}function _0x2be868(){const _0x21f74f=_0x57f567([0x6c,0x6c,0x63,0x74,0x2d])+_0x32ef00(_0x560125(_0x5b2bce)),_0x4e8a5c=window[_0x57f567([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57f567([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21f74f);return _0x4e8a5c?window[_0x57f567([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4148fb(_0x4e8a5c),0x10)*_0x27af1d:null;}function _0x3721c9(_0x3249fe){return new window[(_0x57f567([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc68979,_0x395579)=>{_0x3249fe[_0x57f567([0x74,0x68,0x65,0x6e])](_0xc68979,_0x395579),window[_0x57f567([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x395579,0x6f41173b^_0x58ff01);});}}_0x49b45c[_0x57f567([0x6f,0x6e])](_0x57f567([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4fa053,_0x13b546)=>{if(_0x13b546[0x0]!=_0x5b2bce)return _0x36bf66(_0x57f567([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x13b546[0x1]={..._0x13b546[0x1],[_0x57f567([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e16f3};},{[_0x57f567([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57f567([0x68,0x69,0x67,0x68])}),_0x49b45c[_0x57f567([0x6f,0x6e])](_0x57f567([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x45e58e=>{_0x11efc5(_0x45e58e[_0x57f567([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x24d73b=!0x0,_0x41ffb6(_0x45e58e[_0x57f567([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x57f567([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57f567([0x6c,0x6f,0x77])}),_0x3e507d[_0x57f567([0x74,0x68,0x65,0x6e])](()=>{_0x24d73b||_0x36bf66(_0x57f567([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5052f9(){return _0x49b45c[_0x57f567([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57f567([0x76,0x69,0x65,0x77])][_0x57f567([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x57f567([0x61,0x75,0x74,0x6f]);}function _0x3f9ceb(){_0x49b45c[_0x57f567([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57f567([0x76,0x69,0x65,0x77])][_0x57f567([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x57f567([0x61,0x75,0x74,0x6f]);}}function _0x53b248(_0x5e74ec){const _0xcc0289=[new window[(_0x57f567([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2315b4=>setTimeout(_0x2315b4,0x6f49fd37^_0x58ff01)),_0x3e507d[_0x57f567([0x74,0x68,0x65,0x6e])](()=>new window[(_0x57f567([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c4c20=>{let _0x300982=0x0;_0x49b45c[_0x57f567([0x6d,0x6f,0x64,0x65,0x6c])][_0x57f567([0x6f,0x6e])](_0x57f567([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x427f8f,_0x372dfe)=>{_0x372dfe[0x0][_0x57f567([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x300982++,_0x300982==(0x6f40c613^_0x58ff01)&&(_0x1c4c20(),_0x427f8f[_0x57f567([0x6f,0x66,0x66])]());});}))];return window[_0x57f567([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x57f567([0x72,0x61,0x63,0x65])](_0xcc0289)[_0x57f567([0x74,0x68,0x65,0x6e])](()=>_0x5e74ec);}async function _0x3d849c(){await _0x3e507d;const _0x371836=_0x49b45c['commands'][_0x57f567([0x67,0x65,0x74])](_0x57f567([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x371836&&_0x371836[_0x57f567([0x6f,0x6e])](_0x57f567([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x572ef7=>{_0x572ef7['stop']();},{'priority':_0x57f567([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x49b45c[_0x57f567([0x6d,0x6f,0x64,0x65,0x6c])][_0x57f567([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f0041,_0x49b45c[_0x57f567([0x6d,0x6f,0x64,0x65,0x6c])][_0x57f567([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f0041,_0x49b45c[_0x57f567([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x57f567([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1ae351(_0x54f170){const _0x180c65=_0x21f5c1();_0x49b45c[_0x180c65]=_0x57f567([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])+_0x54f170,_0x54f170!=_0x57f567([0x56,0x61,0x6c,0x69,0x64])&&_0x3d849c();}function _0x21f5c1(){const _0x827422=window[_0x57f567([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x57f567([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x57f567([0x6e,0x6f,0x77])]())[_0x57f567([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x57f567([0x2e]),'');let _0x3e5808=_0x57f567([0x44]);for(let _0x340476=0x0;_0x340476<_0x827422[_0x57f567([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x340476+=0x2){let _0x36d359=window[_0x57f567([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x827422[_0x57f567([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x340476,_0x340476+0x2));_0x36d359>=_0x4e19ce[_0x57f567([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36d359-=_0x4e19ce[_0x57f567([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e5808+=_0x4e19ce[_0x36d359];}return _0x3e5808;}function _0x262305(){const _0x33d20c=_0x4c0035[_0x57f567([0x73,0x70,0x6c,0x69,0x74])](_0x57f567([0x2e]));if(0x3!=_0x33d20c[_0x57f567([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x918058(_0x33d20c[0x1]);function _0x918058(_0x1f4437){const _0x504347=_0x308093(_0x1f4437);return _0x504347&&_0x227124()?_0x504347:null;function _0x227124(){const _0x4fa1f5=_0x504347[_0x57f567([0x6a,0x74,0x69])],_0x4c1521=window[_0x57f567([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fa1f5[_0x57f567([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4fa1f5[_0x57f567([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x386945={..._0x504347,[_0x57f567([0x6a,0x74,0x69])]:_0x4fa1f5[_0x57f567([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4fa1f5[_0x57f567([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x386945[_0x57f567([0x76,0x63])],_0x560125(_0x386945)==_0x4c1521;}}}async function _0x36f6f7(){let _0x1279f0=!0x0;try{const _0x6d49cd=_0x4c0035[_0x57f567([0x73,0x70,0x6c,0x69,0x74])](_0x57f567([0x2e])),[_0x34fbbc,_0x1b32f1,_0x1b8e0b]=_0x6d49cd;return _0x4b7e21(_0x34fbbc),await _0x5cd520(_0x34fbbc,_0x1b32f1,_0x1b8e0b),_0x1279f0;}catch{return!0x1;}function _0x4b7e21(_0x56d8e9){const _0x28a0ba=_0x308093(_0x56d8e9);_0x28a0ba&&_0x28a0ba[_0x57f567([0x61,0x6c,0x67])]==_0x57f567([0x45,0x53,0x32,0x35,0x36])||(_0x1279f0=!0x1);}async function _0x5cd520(_0x4f0ed1,_0x41f3d8,_0x55ada3){const _0xe75a6d=window[_0x57f567([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x57f567([0x66,0x72,0x6f,0x6d])](_0x3dae72(_0x55ada3),_0x1bd2e2=>_0x1bd2e2[_0x57f567([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35312f=new window[(_0x57f567([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x57f567([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f0ed1+_0x57f567([0x2e])+_0x41f3d8),_0x3963c5=window[_0x57f567([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x57f567([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3963c5)return;const _0x9409ab=await _0x3963c5[_0x57f567([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x57f567([0x6a,0x77,0x6b]),_0xe47fce,{[_0x57f567([0x6e,0x61,0x6d,0x65])]:_0x57f567([0x45,0x43,0x44,0x53,0x41]),[_0x57f567([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x57f567([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x57f567([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3963c5[_0x57f567([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x57f567([0x6e,0x61,0x6d,0x65])]:_0x57f567([0x45,0x43,0x44,0x53,0x41]),[_0x57f567([0x68,0x61,0x73,0x68])]:{[_0x57f567([0x6e,0x61,0x6d,0x65])]:_0x57f567([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x9409ab,_0xe75a6d,_0x35312f)||(_0x1279f0=!0x1);}}function _0x308093(_0x355081){return _0x355081[_0x57f567([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x57f567([0x65,0x79]))?JSON[_0x57f567([0x70,0x61,0x72,0x73,0x65])](_0x3dae72(_0x355081)):null;}function _0x3dae72(_0xe50c47){return window[_0x57f567([0x61,0x74,0x6f,0x62])](_0xe50c47[_0x57f567([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x57f567([0x2b]))[_0x57f567([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x57f567([0x2f])));}function _0x560125(_0x45e3bc){let _0x343eaf=0x1505;function _0x58d053(_0x5404b1){for(let _0x582409=0x0;_0x582409<_0x5404b1[_0x57f567([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x582409++){const _0x41aa6d=_0x5404b1[_0x57f567([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x582409);_0x343eaf=(_0x343eaf<<0x5)+_0x343eaf+_0x41aa6d,_0x343eaf&=_0x343eaf;}}function _0x443339(_0x21b0f4){Array[_0x57f567([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x21b0f4)?_0x21b0f4[_0x57f567([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x443339):_0x21b0f4&&typeof _0x21b0f4==_0x57f567([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x57f567([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x21b0f4)[_0x57f567([0x73,0x6f,0x72,0x74])]()[_0x57f567([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x59aa7c,_0x1b6a49])=>{_0x58d053(_0x59aa7c),_0x443339(_0x1b6a49);}):_0x58d053(window[_0x57f567([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x21b0f4));}return _0x443339(_0x45e3bc),_0x343eaf>>>0x0;}function _0x32ef00(_0x4d080f){return _0x4d080f[_0x57f567([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x57f567([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x57f567([0x30]));}function _0x4148fb(_0x5040b8){return _0x5040b8[_0x57f567([0x73,0x70,0x6c,0x69,0x74])]('')[_0x57f567([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x57f567([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f0041(){}function _0x57f567(_0x25bd76){return _0x25bd76['map'](_0x3e2803=>String['fromCharCode'](_0x3e2803))['join']('');}_0x1ae351(await _0x39590d());}(this);}}class g extends _0x18da6f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[L];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x28667c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4bd3b0;for(const _0x3e8f40 in _0x28667c){const _0x38f992=_0x3e8f40,_0x12a785=_0x28667c[_0x38f992];if('exportInlineStylesLicenseKeyValid'==_0x12a785||'exportInlineStylesLicenseKeyInvalid'==_0x12a785||'exportInlineStylesLicenseKeyExpired'==_0x12a785||'exportInlineStylesLicenseKeyDomainLimit'==_0x12a785||'exportInlineStylesLicenseKeyNotAllowed'==_0x12a785||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x12a785||'exportInlineStylesLicenseKeyUsageLimit'==_0x12a785){delete _0x28667c[_0x38f992],_0x4bd3b0=_0x12a785,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x4bd3b0&&_0x28667c['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x4bd3b0&&_0x28667c['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x4bd3b0&&_0x28667c['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x4bd3b0&&_0x28667c['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x4bd3b0&&_0x28667c['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x4bd3b0&&_0x28667c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{g as ExportInlineStyles,x as ExportInlineStylesCommand,L 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.1.0-alpha.4",
3
+ "version": "48.1.0-alpha.6",
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.1.0-alpha.4",
38
- "@ckeditor/ckeditor5-engine": "48.1.0-alpha.4",
39
- "@ckeditor/ckeditor5-utils": "48.1.0-alpha.4",
37
+ "@ckeditor/ckeditor5-core": "48.1.0-alpha.6",
38
+ "@ckeditor/ckeditor5-engine": "48.1.0-alpha.6",
39
+ "@ckeditor/ckeditor5-utils": "48.1.0-alpha.6",
40
40
  "specificity": "0.4.1"
41
41
  },
42
42
  "files": [