@ckeditor/ckeditor5-export-inline-styles 48.8.1-alpha.1 → 48.8.1-alpha.2

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 _0x1020f8,Plugin as _0x476287}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x3289b1,createElement as _0x3f9e81,uid as _0x1454e2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{StylesMap as _0x5eaf5a,addMarginStylesRules as _0x56f1db,addPaddingStylesRules as _0x26c582}from'@ckeditor/ckeditor5-engine/dist/index.js';import{calculate as _0x215f8b,compare as _0x13be48}from'specificity';function f(_0x450d2e){const _0x28365d=[];let _0x2504e8='',_0x5902b0=0x0;for(;_0x5902b0<_0x450d2e['length'];){const _0x5bf754=_0x450d2e[_0x5902b0];if('('===_0x5bf754){const _0x16a91b=y(_0x450d2e,_0x5902b0+0x1);if(-0x1===_0x16a91b)return[];_0x2504e8+=_0x450d2e['slice'](_0x5902b0,_0x16a91b+0x1),_0x5902b0=_0x16a91b+0x1;}else','!==_0x5bf754||_0x2504e8['endsWith']('\x5c')?(_0x2504e8+=_0x5bf754,_0x5902b0++):(_0x28365d['push'](_0x2504e8['trim']()),_0x2504e8='',_0x5902b0++);}return _0x2504e8['trim']()&&_0x28365d['push'](_0x2504e8['trim']()),_0x28365d['filter'](Boolean);}function y(_0x1466d2,_0xb8b262){let _0x7e6508=0x1;for(let _0x382d29=_0xb8b262;_0x382d29<_0x1466d2['length'];_0x382d29++){const _0x4c3ef7=_0x1466d2[_0x382d29];if('('===_0x4c3ef7)_0x7e6508++;else{if(')'===_0x4c3ef7&&(_0x7e6508--,0x0===_0x7e6508))return _0x382d29;}}return-0x1;}function p(_0x247b39){return _0x247b39['replace'](/!\s*important/i,'')['trim']();}function w(_0x52f4ae,_0xe31b20){const _0x272627=new Map(),_0x434705=_0x2ec575=>_0x272627['has'](_0x2ec575)?_0x272627['get'](_0x2ec575):_0x52f4ae(_0x2ec575);for(const [_0x4fdbea,_0x552d89]of _0xe31b20['getStylesEntries']())if(_0x552d89&&_0x4fdbea['startsWith']('--')){const _0x2108ab=d(_0x434705,_0x552d89);_0x272627['set'](_0x4fdbea,_0x2108ab),_0xe31b20['remove'](_0x4fdbea);}for(const [_0xf3aae2,_0x77d8db]of _0xe31b20['getStylesEntries']())if(_0x77d8db){const _0x48aef5=d(_0x434705,_0x77d8db);_0xe31b20['set'](_0xf3aae2,_0x48aef5);}return _0x272627;}function d(_0x4b7a2c,_0x4c31ac){return function(_0x1fbed1,_0x293b21){let _0x1c107f='',_0x4151ec=0x0;for(;_0x4151ec<_0x1fbed1['length'];){const _0x367786=_0x1fbed1['indexOf']('var(',_0x4151ec);if(-0x1===_0x367786){_0x1c107f+=_0x1fbed1['slice'](_0x4151ec);break;}_0x1c107f+=_0x1fbed1['slice'](_0x4151ec,_0x367786);const _0x4aa104=_0x367786+0x4,_0x294958=y(_0x1fbed1,_0x4aa104);_0x1c107f+=_0x293b21(_0x1fbed1['substring'](_0x4aa104,_0x294958)),_0x4151ec=_0x294958+0x1;}return _0x1c107f;}(_0x4c31ac,_0x13d1ea=>{const [_0x2cc75d,_0x428652]=f(_0x13d1ea),_0x5b4e71=_0x4b7a2c(_0x2cc75d);return void 0x0!==_0x5b4e71?_0x5b4e71:_0x428652?d(_0x4b7a2c,_0x428652):'var('+_0x2cc75d+')';});}async function m(_0x188486){const _0x1f6910=[await _0x3289b1(_0x188486['stylesheets']),_0x188486['inlineCss']]['filter'](_0x43eb70=>_0x43eb70&&_0x43eb70['length'])['join']('\x0a'),_0x646a3=await async function(_0x2b3da6,_0x53f642){const _0x243c69=new CSSStyleSheet();return await _0x243c69['replace'](_0x53f642),S(Array['from'](_0x243c69['cssRules'])['filter'](_0x386cd5=>_0x386cd5 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x5eba2a,contentCssText:_0x1aaf90})=>{const _0x49f690=f(_0x5eba2a),_0x52a7db=new _0x5eaf5a(_0x2b3da6)['setTo'](_0x1aaf90);return _0x49f690['map'](_0xc354d7=>{const _0x363d68=function(_0x4eabd3){const _0x45f046=':where(';let _0x1144bc=_0x4eabd3,_0x256a76=0x0;for(let _0x3d6baf=0x0;_0x3d6baf<0x64;_0x3d6baf++){const _0x30c1c5=_0x1144bc['indexOf'](_0x45f046,_0x256a76);if(-0x1===_0x30c1c5)break;let _0x3417aa=0x0;for(let _0x5a936b=0x0;_0x5a936b<_0x30c1c5;_0x5a936b++)'('===_0x1144bc[_0x5a936b]?_0x3417aa++:')'===_0x1144bc[_0x5a936b]&&_0x3417aa--;if(_0x3417aa>0x0){_0x256a76=_0x30c1c5+_0x45f046['length'];continue;}let _0x4215e3=-0x1;for(let _0x5dbaaa=_0x30c1c5+_0x45f046['length'],_0x3b77aa=0x1;_0x5dbaaa<_0x1144bc['length'];_0x5dbaaa++)if('('===_0x1144bc[_0x5dbaaa]?_0x3b77aa++:')'===_0x1144bc[_0x5dbaaa]&&_0x3b77aa--,!_0x3b77aa){_0x4215e3=_0x5dbaaa;break;}-0x1!==_0x4215e3?(_0x1144bc=_0x1144bc['slice'](0x0,_0x30c1c5)+_0x1144bc['slice'](_0x4215e3+0x1),_0x256a76=_0x30c1c5):_0x256a76=_0x30c1c5+_0x45f046['length'];}return _0x1144bc['replace'](/\s+/g,'\x20')['trim']();}(_0xc354d7),_0x40980e=_0x363d68?_0x215f8b(_0x363d68)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x52a7db,'flatSelector':_0xc354d7,'specificity':_0x40980e};});})['sort']((_0x25852f,_0x484867)=>_0x13be48(_0x25852f['specificity'],_0x484867['specificity']));}(_0x188486['stylesProcessor'],_0x1f6910);return{'parsedCssRules':_0x646a3,'rootCssVariables':function(_0xd3df34){const _0x5edbe7=new Map();for(const {stylesMap:_0x91de8,flatSelector:_0x197461}of _0xd3df34){if(':root'!==_0x197461)continue;const _0x51984e=w(_0x5edbe7['get']['bind'](_0x5edbe7),_0x91de8);for(const [_0x3803e6,_0x2cf030]of _0x51984e)_0x5edbe7['set'](_0x3803e6,_0x2cf030);}return _0x5edbe7;}(_0x646a3)};}function S(_0x9a3548,_0x1d70bb=''){return _0x9a3548['flatMap'](_0x337187=>{const {selectorText:_0x5cf32f,cssText:_0x588c10,cssRules:_0x139420}=_0x337187;if(!_0x5cf32f)return[];const _0x14c91c=_0x5cf32f['replace'](/&/g,_0x1d70bb);let _0x49d37e=_0x588c10['replace'](_0x5cf32f,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x139420||!_0x139420['length'])return[{'selectorText':_0x14c91c,'contentCssText':_0x49d37e}];for(const _0x53adac of _0x139420)_0x49d37e=_0x49d37e['replace'](_0x53adac['cssText'],'')['trim']();return[{'selectorText':_0x14c91c,'contentCssText':_0x49d37e},...S(Array['from'](_0x139420),_0x14c91c)];});}function h(_0x5e3bce,_0x2222d8){const _0x208fde=new _0x5eaf5a(_0x5e3bce);for(const _0x1edcac of _0x2222d8){let _0x3dd85d=null;if(_0x3dd85d='string'==typeof _0x1edcac?new _0x5eaf5a(_0x5e3bce)['setTo'](_0x1edcac):_0x1edcac,_0x3dd85d){for(const [_0x18af23,_0x3da84e]of _0x3dd85d['getStylesEntries']())_0x208fde['set'](_0x18af23,_0x3da84e);}}return _0x208fde;}class ExportInlineStylesCommand extends _0x1020f8{['_stylesProcessor'];constructor(_0x1ec1f1){super(_0x1ec1f1),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x56f1db(this['_stylesProcessor']),_0x26c582(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x22e37c){const _0x2fb67c=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x32124f}=this['editor']['locale'],{rootName:_0x23d085='main',dataControllerDowncastOptions:_0x138ead={},transformations:_0x4a4cb8=_0x2fb67c['transformations']||[]}=_0x22e37c||{};this['isBusy']=!0x0,this['refresh']();const _0x49c3a9=this['_getRootDataHTMLFragment'](_0x23d085,_0x138ead),_0x104d13=_0x3f9e81(_0x49c3a9['ownerDocument'],'div',{'dir':_0x32124f,'class':'ck-content'},[_0x49c3a9]);return this['_collectAndApplyStyles'](_0x4a4cb8,_0x104d13)['then'](()=>{const _0x4a0c2a=function(_0x54479e){const _0x493ed2=_0x54479e['ownerDocument']['createDocumentFragment']();for(;_0x54479e['firstChild'];)_0x493ed2['appendChild'](_0x54479e['firstChild']);return _0x493ed2;}(_0x104d13),_0xf5a69e=_0x104d13['getAttribute']('style');if(_0xf5a69e)for(const _0x243d98 of _0x4a0c2a['children']){const _0x5a12e1=_0x243d98['getAttribute']('style'),_0x5c0695=h(this['_stylesProcessor'],[_0xf5a69e,_0x5a12e1]);_0x243d98['setAttribute']('style',x(_0x5c0695));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x4a0c2a);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x26d949,_0x126e7d){const {data:_0x548c8e,model:_0x3b3afb}=this['editor'],_0xb409b1=_0x3b3afb['document']['getRoot'](_0x26d949),_0x2d8c29=_0x548c8e['toView'](_0xb409b1,_0x126e7d);return _0x548c8e['htmlProcessor']['domConverter']['viewToDom'](_0x2d8c29);}async['_collectAndApplyStyles'](_0x4629f5,_0x45789b){const {stylesheets:_0x15e21,inlineCss:_0x597fa0,stripCssClasses:_0x53eae2}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x4a086c,rootCssVariables:_0x3b01c1}=await m({'stylesheets':_0x15e21||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x597fa0}),_0x533638=[];this['_processElementTree']({'transformations':_0x4629f5,'parsedCssRules':_0x4a086c,'element':_0x45789b,'stripCssClasses':_0x53eae2,'parentCSSVariablesLookup':_0x3b01c1['get']['bind'](_0x3b01c1),'runAfterDocumentTransformation':_0x47a094=>{_0x533638['unshift'](_0x47a094);}});for(const _0x14423a of _0x533638)_0x14423a();}['_processElementTree']({element:_0x3eaaef,parsedCssRules:_0x170400,parentCSSVariablesLookup:_0x4b8803,runAfterDocumentTransformation:_0x33cfcb,stripCssClasses:_0x3a120a,transformations:_0x34ac2e}){const {stylesMap:_0xe9db12,localCSSVariables:_0x1f243f}=function(_0x47221c){const _0x3ddf8b=_0x47221c['element']['getAttribute']('style')||'',_0x3e85b0=_0x47221c['parsedCssRules']['filter'](_0x158e39=>_0x47221c['element']['matches'](_0x158e39['flatSelector']))['map'](_0x1228ec=>_0x1228ec['stylesMap']),_0x448cee=h(_0x47221c['stylesProcessor'],[..._0x3e85b0,_0x3ddf8b]);return{'localCSSVariables':w(_0x47221c['fallbackCSSVariablesLookup'],_0x448cee),'stylesMap':_0x448cee};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x4b8803,'parsedCssRules':_0x170400,'element':_0x3eaaef}),_0x71ceb2=[];for(const _0x33cedc of _0x34ac2e){const _0x40958f=_0x33cedc(_0x3eaaef,_0xe9db12,{'runAfterDocumentTransformation':_0x33cfcb,'runAfterChildrenTransformation':_0x62b9ae=>{_0x71ceb2['unshift'](_0x62b9ae);}});_0x40958f&&_0x40958f instanceof HTMLElement&&(_0x3eaaef=_0x40958f);}_0xe9db12['size']?_0x3eaaef['setAttribute']('style',x(_0xe9db12)):_0x3eaaef['removeAttribute']('style');const _0x18d82f=_0x1e8c7b=>_0x1f243f['has'](_0x1e8c7b)?_0x1f243f['get'](_0x1e8c7b):_0x4b8803(_0x1e8c7b);for(const _0x1c538e of _0x3eaaef['children'])_0x1c538e instanceof HTMLElement&&this['_processElementTree']({'element':_0x1c538e,'parsedCssRules':_0x170400,'stripCssClasses':_0x3a120a,'transformations':_0x34ac2e,'parentCSSVariablesLookup':_0x18d82f,'runAfterDocumentTransformation':_0x33cfcb});_0x3a120a&&_0x3eaaef['removeAttribute']('class');for(const _0x409b8a of _0x71ceb2)_0x409b8a();}}function x(_0x482fb4){return _0x482fb4['getStylesEntries']()['map'](_0x5430e4=>_0x5430e4['join'](':'))['join'](';')+';';}class ExportInlineStylesEditing extends _0x476287{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 ExportInlineStylesCommand(this['editor']));}['afterInit'](){!async function(_0x1460cc){const _0x3414d9=_0x3b444b([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]),_0x4903d0=0x6f40c3fb,_0x1b7605=0x6f4749c3^_0x4903d0,_0x2023bb=window[_0x3b444b([0x44,0x61,0x74,0x65])][_0x3b444b([0x6e,0x6f,0x77])](),_0x59c34c=_0x1460cc[_0x3b444b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4df3d1=new window[(_0x3b444b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f52c8=>{_0x59c34c[_0x3b444b([0x6f,0x6e,0x63,0x65])](_0x3b444b([0x72,0x65,0x61,0x64,0x79]),_0x4f52c8);}),_0x117d6c={[_0x3b444b([0x6b,0x74,0x79])]:_0x3b444b([0x45,0x43]),[_0x3b444b([0x75,0x73,0x65])]:_0x3b444b([0x73,0x69,0x67]),[_0x3b444b([0x63,0x72,0x76])]:_0x3b444b([0x50,0x2d,0x32,0x35,0x36]),[_0x3b444b([0x78])]:_0x3b444b([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]),[_0x3b444b([0x79])]:_0x3b444b([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]),[_0x3b444b([0x61,0x6c,0x67])]:_0x3b444b([0x45,0x53,0x32,0x35,0x36])},_0x39bf1e=_0x59c34c[_0x3b444b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b444b([0x67,0x65,0x74])](_0x3b444b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21b181(){let _0x390832,_0x5695ed=null,_0x5789a8=null;try{if(_0x39bf1e==_0x3b444b([0x47,0x50,0x4c]))return _0x3b444b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x390832=_0x18b276(),!_0x390832)return _0x3b444b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x390832[_0x3b444b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5789a8=_0x4a011a(_0x390832[_0x3b444b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x390832[_0x3b444b([0x6a,0x74,0x69])])),await _0x1b5112()?_0x14e169()?_0x49a695()?_0x3b444b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2542df()?(_0x390832[_0x3b444b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b444b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5695ed=_0x316dc5(_0x3b444b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e6287()):_0x3b444b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b444b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b444b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b444b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x49a695(){const _0x22a75c=[_0x3b444b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b444b([0x74,0x72,0x69,0x61,0x6c])][_0x3b444b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x390832[_0x3b444b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2023bb/0x3e8:0xe10*_0x1b7605;return _0x390832[_0x3b444b([0x65,0x78,0x70])]<_0x22a75c;}function _0x14e169(){const _0x2efa16=_0x390832[_0x3b444b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2efa16&&(!!_0x2efa16[_0x3b444b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b444b([0x2a]))||!!_0x2efa16[_0x3b444b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b444b([0x45,0x49,0x53])));}function _0x2542df(){const _0x2b708d=_0x390832[_0x3b444b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b708d||0x0==_0x2b708d[_0x3b444b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c7fcc}=new URL(window[_0x3b444b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2b708d[_0x3b444b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c7fcc))return!0x0;const _0x522f08=_0x1c7fcc[_0x3b444b([0x73,0x70,0x6c,0x69,0x74])](_0x3b444b([0x2e]));return _0x2b708d[_0x3b444b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11f2ac=>_0x11f2ac[_0x3b444b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b444b([0x2a])))[_0x3b444b([0x6d,0x61,0x70])](_0x20130c=>_0x20130c[_0x3b444b([0x73,0x70,0x6c,0x69,0x74])](_0x3b444b([0x2e])))[_0x3b444b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11a865=>_0x11a865[_0x3b444b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x522f08[_0x3b444b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b444b([0x6d,0x61,0x70])](_0x4812c1=>Array(_0x522f08[_0x3b444b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4812c1[_0x3b444b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b444b([0x66,0x69,0x6c,0x6c])](_0x4812c1[0x0]===_0x3b444b([0x2a])?_0x3b444b([0x2a]):'')[_0x3b444b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4812c1))[_0x3b444b([0x73,0x6f,0x6d,0x65])](_0x25c8b9=>_0x522f08[_0x3b444b([0x65,0x76,0x65,0x72,0x79])]((_0x474d64,_0x5de74c)=>_0x25c8b9[_0x5de74c]===_0x474d64||_0x25c8b9[_0x5de74c]===_0x3b444b([0x2a])));}function _0x5e6287(){return _0x5695ed&&_0x5789a8?new window[(_0x3b444b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44d49d,_0x43bafa)=>{_0x5695ed[_0x3b444b([0x74,0x68,0x65,0x6e])](_0x44d49d,_0x43bafa),_0x5789a8[_0x3b444b([0x74,0x68,0x65,0x6e])](_0x72d73c=>{_0x72d73c!=_0x3b444b([0x56,0x61,0x6c,0x69,0x64])&&_0x44d49d(_0x72d73c);},_0x43bafa);}):_0x5695ed||_0x5789a8||_0x3b444b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a011a(_0x23ddf9,_0x4b0e23){return new window[(_0x3b444b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a8bcc=>{if(_0x11f1c4())return _0x5a8bcc(_0x3b444b([0x56,0x61,0x6c,0x69,0x64]));_0x3e6b09(),_0x59c34c[_0x3b444b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b444b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4bca47=!0x1;const _0x5d9d98=_0x1454e2();function _0x3ec0f0(_0x335dbd){return!!_0x335dbd&&(typeof _0x335dbd===_0x3b444b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x335dbd===_0x3b444b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x335dbd[_0x3b444b([0x74,0x68,0x65,0x6e])]===_0x3b444b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x335dbd[_0x3b444b([0x63,0x61,0x74,0x63,0x68])]===_0x3b444b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x43b9cc(_0x366ce9){_0x4b27b5(_0x366ce9)[_0x3b444b([0x74,0x68,0x65,0x6e])](_0x1a0e01=>{if(!_0x1a0e01||_0x1a0e01[_0x3b444b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b444b([0x6f,0x6b]))return _0x3b444b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2bf866(_0x5b3152(_0x5d9d98+_0x4b0e23))!=_0x1a0e01[_0x3b444b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b444b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b444b([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b444b([0x74,0x68,0x65,0x6e])](_0x1c2ffe=>(_0x5b19ef(),_0x1c2ffe),()=>{const _0xca2b0c=_0x5ab7a0();return null==_0xca2b0c?(_0x5b19ef(),_0x3b444b([0x56,0x61,0x6c,0x69,0x64])):_0x3b444b(_0x2023bb-_0xca2b0c>(0x4b4c47fb^_0x4903d0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b444b([0x74,0x68,0x65,0x6e])](_0x5a8bcc)[_0x3b444b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a8bcc(_0x3b444b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x544159=0x6f762d7b^_0x4903d0;function _0x5b19ef(){const _0x616c6e=_0x3b444b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2bf866(_0x5b3152(_0x23ddf9)),_0x4e473e=_0x5061c(_0x2bf866(window[_0x3b444b([0x4d,0x61,0x74,0x68])][_0x3b444b([0x63,0x65,0x69,0x6c])](_0x2023bb/_0x544159)));window[_0x3b444b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b444b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x616c6e,_0x4e473e);}function _0x5ab7a0(){const _0x800908=_0x3b444b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2bf866(_0x5b3152(_0x23ddf9)),_0x58d902=window[_0x3b444b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b444b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x800908);return _0x58d902?window[_0x3b444b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5061c(_0x58d902),0x10)*_0x544159:null;}function _0x4b27b5(_0x277362){return new window[(_0x3b444b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xab3ff9,_0x2c3a47)=>{_0x277362[_0x3b444b([0x74,0x68,0x65,0x6e])](_0xab3ff9,_0x2c3a47),window[_0x3b444b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2c3a47,0x6f41173b^_0x4903d0);});}}_0x59c34c[_0x3b444b([0x6f,0x6e])](_0x3b444b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x130801,_0xa07499)=>{if(_0xa07499[0x0]!=_0x23ddf9)return _0x5a8bcc(_0x3b444b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa07499[0x1]={..._0xa07499[0x1],[_0x3b444b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d9d98};},{[_0x3b444b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b444b([0x68,0x69,0x67,0x68])}),_0x59c34c[_0x3b444b([0x6f,0x6e])](_0x3b444b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ac1ca=>{_0x3ec0f0(_0x4ac1ca[_0x3b444b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4bca47=!0x0,_0x43b9cc(_0x4ac1ca[_0x3b444b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b444b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b444b([0x6c,0x6f,0x77])}),_0x4df3d1[_0x3b444b([0x74,0x68,0x65,0x6e])](()=>{_0x4bca47||_0x5a8bcc(_0x3b444b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x11f1c4(){return _0x59c34c[_0x3b444b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b444b([0x76,0x69,0x65,0x77])][_0x3b444b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b444b([0x61,0x75,0x74,0x6f]);}function _0x3e6b09(){_0x59c34c[_0x3b444b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b444b([0x76,0x69,0x65,0x77])][_0x3b444b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b444b([0x61,0x75,0x74,0x6f]);}}function _0x316dc5(_0x349298){const _0x542ff9=[new window[(_0x3b444b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4720c7=>setTimeout(_0x4720c7,0x6f49fd37^_0x4903d0)),_0x4df3d1[_0x3b444b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b444b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x263e03=>{let _0x3f4dcd=0x0;_0x59c34c[_0x3b444b([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b444b([0x6f,0x6e])](_0x3b444b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x30a4ca,_0x3eeae2)=>{_0x3eeae2[0x0][_0x3b444b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3f4dcd++,_0x3f4dcd==(0x6f40c613^_0x4903d0)&&(_0x263e03(),_0x30a4ca[_0x3b444b([0x6f,0x66,0x66])]());});}))];return window[_0x3b444b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b444b([0x72,0x61,0x63,0x65])](_0x542ff9)[_0x3b444b([0x74,0x68,0x65,0x6e])](()=>_0x349298);}async function _0x34c167(){await _0x4df3d1;const _0x131988=_0x59c34c['commands'][_0x3b444b([0x67,0x65,0x74])](_0x3b444b([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x131988&&_0x131988[_0x3b444b([0x6f,0x6e])](_0x3b444b([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x47eca9=>{_0x47eca9['stop']();},{'priority':_0x3b444b([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x59c34c[_0x3b444b([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b444b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20c4bd,_0x59c34c[_0x3b444b([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b444b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20c4bd,_0x59c34c[_0x3b444b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b444b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x38d45b(_0x4095a5){const _0x11c83e=_0x1bc43f();_0x59c34c[_0x11c83e]=_0x3b444b([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])+_0x4095a5,_0x4095a5!=_0x3b444b([0x56,0x61,0x6c,0x69,0x64])&&_0x34c167();}function _0x1bc43f(){const _0x1bf2cb=window[_0x3b444b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b444b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b444b([0x6e,0x6f,0x77])]())[_0x3b444b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b444b([0x2e]),'');let _0x3a0b6f=_0x3b444b([0x44]);for(let _0x559fff=0x0;_0x559fff<_0x1bf2cb[_0x3b444b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x559fff+=0x2){let _0x1dda87=window[_0x3b444b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bf2cb[_0x3b444b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x559fff,_0x559fff+0x2));_0x1dda87>=_0x3414d9[_0x3b444b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1dda87-=_0x3414d9[_0x3b444b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a0b6f+=_0x3414d9[_0x1dda87];}return _0x3a0b6f;}function _0x18b276(){const _0x3c8148=_0x39bf1e[_0x3b444b([0x73,0x70,0x6c,0x69,0x74])](_0x3b444b([0x2e]));if(0x3!=_0x3c8148[_0x3b444b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x244646(_0x3c8148[0x1]);function _0x244646(_0x42b675){const _0x114c0b=_0x397125(_0x42b675);return _0x114c0b&&_0x3c3aee()?_0x114c0b:null;function _0x3c3aee(){const _0x7ece8=_0x114c0b[_0x3b444b([0x6a,0x74,0x69])],_0x2f5b3e=window[_0x3b444b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7ece8[_0x3b444b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7ece8[_0x3b444b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd24c87={..._0x114c0b,[_0x3b444b([0x6a,0x74,0x69])]:_0x7ece8[_0x3b444b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x7ece8[_0x3b444b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd24c87[_0x3b444b([0x76,0x63])],_0x5b3152(_0xd24c87)==_0x2f5b3e;}}}async function _0x1b5112(){let _0x241d6a=!0x0;try{const _0x2338b4=_0x39bf1e[_0x3b444b([0x73,0x70,0x6c,0x69,0x74])](_0x3b444b([0x2e])),[_0x59d4e9,_0x4e7b9c,_0x4f16fe]=_0x2338b4;return _0x227d9c(_0x59d4e9),await _0x1924bd(_0x59d4e9,_0x4e7b9c,_0x4f16fe),_0x241d6a;}catch{return!0x1;}function _0x227d9c(_0x1d9caa){const _0x4b3960=_0x397125(_0x1d9caa);_0x4b3960&&_0x4b3960[_0x3b444b([0x61,0x6c,0x67])]==_0x3b444b([0x45,0x53,0x32,0x35,0x36])||(_0x241d6a=!0x1);}async function _0x1924bd(_0x582b30,_0x1eccaf,_0x4a857f){const _0x5bb1c0=window[_0x3b444b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b444b([0x66,0x72,0x6f,0x6d])](_0x598f00(_0x4a857f),_0x6ee1d0=>_0x6ee1d0[_0x3b444b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f6740=new window[(_0x3b444b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b444b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x582b30+_0x3b444b([0x2e])+_0x1eccaf),_0x26ca18=window[_0x3b444b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b444b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x26ca18)return;const _0x4bb5e9=await _0x26ca18[_0x3b444b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b444b([0x6a,0x77,0x6b]),_0x117d6c,{[_0x3b444b([0x6e,0x61,0x6d,0x65])]:_0x3b444b([0x45,0x43,0x44,0x53,0x41]),[_0x3b444b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b444b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b444b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x26ca18[_0x3b444b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b444b([0x6e,0x61,0x6d,0x65])]:_0x3b444b([0x45,0x43,0x44,0x53,0x41]),[_0x3b444b([0x68,0x61,0x73,0x68])]:{[_0x3b444b([0x6e,0x61,0x6d,0x65])]:_0x3b444b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4bb5e9,_0x5bb1c0,_0x4f6740)||(_0x241d6a=!0x1);}}function _0x397125(_0x48b42a){return _0x48b42a[_0x3b444b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b444b([0x65,0x79]))?JSON[_0x3b444b([0x70,0x61,0x72,0x73,0x65])](_0x598f00(_0x48b42a)):null;}function _0x598f00(_0x2a5e0f){return window[_0x3b444b([0x61,0x74,0x6f,0x62])](_0x2a5e0f[_0x3b444b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b444b([0x2b]))[_0x3b444b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b444b([0x2f])));}function _0x5b3152(_0x3c944e){let _0x55013d=0x1505;function _0x5a6e0f(_0xb397dd){for(let _0x1b6446=0x0;_0x1b6446<_0xb397dd[_0x3b444b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b6446++){const _0x31754c=_0xb397dd[_0x3b444b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b6446);_0x55013d=(_0x55013d<<0x5)+_0x55013d+_0x31754c,_0x55013d&=_0x55013d;}}function _0x5e5148(_0x392ebe){Array[_0x3b444b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x392ebe)?_0x392ebe[_0x3b444b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e5148):_0x392ebe&&typeof _0x392ebe==_0x3b444b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b444b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x392ebe)[_0x3b444b([0x73,0x6f,0x72,0x74])]()[_0x3b444b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x53e97d,_0x1e9133])=>{_0x5a6e0f(_0x53e97d),_0x5e5148(_0x1e9133);}):_0x5a6e0f(window[_0x3b444b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x392ebe));}return _0x5e5148(_0x3c944e),_0x55013d>>>0x0;}function _0x2bf866(_0x47e25a){return _0x47e25a[_0x3b444b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b444b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b444b([0x30]));}function _0x5061c(_0x3e37e1){return _0x3e37e1[_0x3b444b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b444b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b444b([0x6a,0x6f,0x69,0x6e])]('');}function _0x20c4bd(){}function _0x3b444b(_0x53cde5){return _0x53cde5['map'](_0x26d598=>String['fromCharCode'](_0x26d598))['join']('');}_0x38d45b(await _0x21b181());}(this);}}class ExportInlineStyles extends _0x476287{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ExportInlineStylesEditing];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x285a19=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x31921c;for(const _0x44190d in _0x285a19){const _0x4a727f=_0x44190d,_0x2b2e47=_0x285a19[_0x4a727f];if('exportInlineStylesLicenseKeyValid'==_0x2b2e47||'exportInlineStylesLicenseKeyInvalid'==_0x2b2e47||'exportInlineStylesLicenseKeyExpired'==_0x2b2e47||'exportInlineStylesLicenseKeyDomainLimit'==_0x2b2e47||'exportInlineStylesLicenseKeyNotAllowed'==_0x2b2e47||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x2b2e47||'exportInlineStylesLicenseKeyUsageLimit'==_0x2b2e47){delete _0x285a19[_0x4a727f],_0x31921c=_0x2b2e47,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x31921c&&_0x285a19['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x31921c&&_0x285a19['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x31921c&&_0x285a19['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x31921c&&_0x285a19['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x31921c&&_0x285a19['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x31921c&&_0x285a19['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{ExportInlineStyles,ExportInlineStylesCommand,ExportInlineStylesEditing,p as dropImportantStyleSuffix};
23
+ import{Command as _0x485597,Plugin as _0x5daec8}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0xaed7d9,createElement as _0x11e7a3,uid as _0xdf077b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{StylesMap as _0x3ab24f,addMarginStylesRules as _0x4150f1,addPaddingStylesRules as _0x3976ea}from'@ckeditor/ckeditor5-engine/dist/index.js';import{calculate as _0x10b572,compare as _0x540336}from'specificity';function f(_0x2ccab3){const _0x585238=[];let _0x281af='',_0x4e3ad8=0x0;for(;_0x4e3ad8<_0x2ccab3['length'];){const _0x114012=_0x2ccab3[_0x4e3ad8];if('('===_0x114012){const _0x596253=y(_0x2ccab3,_0x4e3ad8+0x1);if(-0x1===_0x596253)return[];_0x281af+=_0x2ccab3['slice'](_0x4e3ad8,_0x596253+0x1),_0x4e3ad8=_0x596253+0x1;}else','!==_0x114012||_0x281af['endsWith']('\x5c')?(_0x281af+=_0x114012,_0x4e3ad8++):(_0x585238['push'](_0x281af['trim']()),_0x281af='',_0x4e3ad8++);}return _0x281af['trim']()&&_0x585238['push'](_0x281af['trim']()),_0x585238['filter'](Boolean);}function y(_0x50f9f5,_0x29d309){let _0x55f014=0x1;for(let _0x90fa97=_0x29d309;_0x90fa97<_0x50f9f5['length'];_0x90fa97++){const _0x1af161=_0x50f9f5[_0x90fa97];if('('===_0x1af161)_0x55f014++;else{if(')'===_0x1af161&&(_0x55f014--,0x0===_0x55f014))return _0x90fa97;}}return-0x1;}function p(_0x59069c){return _0x59069c['replace'](/!\s*important/i,'')['trim']();}function w(_0x28338c,_0x3ba52b){const _0x4343a8=new Map(),_0x335c96=_0xbe1cb=>_0x4343a8['has'](_0xbe1cb)?_0x4343a8['get'](_0xbe1cb):_0x28338c(_0xbe1cb);for(const [_0x5de9c5,_0x4a0591]of _0x3ba52b['getStylesEntries']())if(_0x4a0591&&_0x5de9c5['startsWith']('--')){const _0x5ddfaa=d(_0x335c96,_0x4a0591);_0x4343a8['set'](_0x5de9c5,_0x5ddfaa),_0x3ba52b['remove'](_0x5de9c5);}for(const [_0x3a723e,_0x24e03b]of _0x3ba52b['getStylesEntries']())if(_0x24e03b){const _0x4820c9=d(_0x335c96,_0x24e03b);_0x3ba52b['set'](_0x3a723e,_0x4820c9);}return _0x4343a8;}function d(_0x544d9d,_0x1e84c0){return function(_0x12cfac,_0x5aadbf){let _0x2b038e='',_0x4453e7=0x0;for(;_0x4453e7<_0x12cfac['length'];){const _0x5c7f3c=_0x12cfac['indexOf']('var(',_0x4453e7);if(-0x1===_0x5c7f3c){_0x2b038e+=_0x12cfac['slice'](_0x4453e7);break;}_0x2b038e+=_0x12cfac['slice'](_0x4453e7,_0x5c7f3c);const _0x10f480=_0x5c7f3c+0x4,_0x174f31=y(_0x12cfac,_0x10f480);_0x2b038e+=_0x5aadbf(_0x12cfac['substring'](_0x10f480,_0x174f31)),_0x4453e7=_0x174f31+0x1;}return _0x2b038e;}(_0x1e84c0,_0x137d3a=>{const [_0x2737ee,_0x49b88b]=f(_0x137d3a),_0x36840a=_0x544d9d(_0x2737ee);return void 0x0!==_0x36840a?_0x36840a:_0x49b88b?d(_0x544d9d,_0x49b88b):'var('+_0x2737ee+')';});}async function m(_0x5cfcd3){const _0x4f3d0e=[await _0xaed7d9(_0x5cfcd3['stylesheets']),_0x5cfcd3['inlineCss']]['filter'](_0x5bcb08=>_0x5bcb08&&_0x5bcb08['length'])['join']('\x0a'),_0x403c47=await async function(_0x3db7d4,_0x59e98d){const _0x53da16=new CSSStyleSheet();return await _0x53da16['replace'](_0x59e98d),S(Array['from'](_0x53da16['cssRules'])['filter'](_0x9f9f3a=>_0x9f9f3a instanceof CSSStyleRule))['flatMap'](({selectorText:_0x14fdb0,contentCssText:_0x1bc625})=>{const _0x5f3d22=f(_0x14fdb0),_0x2e4269=new _0x3ab24f(_0x3db7d4)['setTo'](_0x1bc625);return _0x5f3d22['map'](_0x1c72e9=>{const _0x204e33=function(_0x4ae937){const _0x321bad=':where(';let _0x42c6e4=_0x4ae937,_0x531a4c=0x0;for(let _0x2af135=0x0;_0x2af135<0x64;_0x2af135++){const _0x706c2e=_0x42c6e4['indexOf'](_0x321bad,_0x531a4c);if(-0x1===_0x706c2e)break;let _0x43bc94=0x0;for(let _0x532434=0x0;_0x532434<_0x706c2e;_0x532434++)'('===_0x42c6e4[_0x532434]?_0x43bc94++:')'===_0x42c6e4[_0x532434]&&_0x43bc94--;if(_0x43bc94>0x0){_0x531a4c=_0x706c2e+_0x321bad['length'];continue;}let _0x2d2683=-0x1;for(let _0x22e174=_0x706c2e+_0x321bad['length'],_0x559ee1=0x1;_0x22e174<_0x42c6e4['length'];_0x22e174++)if('('===_0x42c6e4[_0x22e174]?_0x559ee1++:')'===_0x42c6e4[_0x22e174]&&_0x559ee1--,!_0x559ee1){_0x2d2683=_0x22e174;break;}-0x1!==_0x2d2683?(_0x42c6e4=_0x42c6e4['slice'](0x0,_0x706c2e)+_0x42c6e4['slice'](_0x2d2683+0x1),_0x531a4c=_0x706c2e):_0x531a4c=_0x706c2e+_0x321bad['length'];}return _0x42c6e4['replace'](/\s+/g,'\x20')['trim']();}(_0x1c72e9),_0x31cdd9=_0x204e33?_0x10b572(_0x204e33)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x2e4269,'flatSelector':_0x1c72e9,'specificity':_0x31cdd9};});})['sort']((_0x15ae56,_0x35571d)=>_0x540336(_0x15ae56['specificity'],_0x35571d['specificity']));}(_0x5cfcd3['stylesProcessor'],_0x4f3d0e);return{'parsedCssRules':_0x403c47,'rootCssVariables':function(_0x25acee){const _0x2be097=new Map();for(const {stylesMap:_0x3d2683,flatSelector:_0x11a35f}of _0x25acee){if(':root'!==_0x11a35f)continue;const _0x3bee65=w(_0x2be097['get']['bind'](_0x2be097),_0x3d2683);for(const [_0x25c9b9,_0x18739b]of _0x3bee65)_0x2be097['set'](_0x25c9b9,_0x18739b);}return _0x2be097;}(_0x403c47)};}function S(_0x23972f,_0x1557ed=''){return _0x23972f['flatMap'](_0xede4c8=>{const {selectorText:_0x589dba,cssText:_0x5a1237,cssRules:_0x50717e}=_0xede4c8;if(!_0x589dba)return[];const _0x549c58=_0x589dba['replace'](/&/g,_0x1557ed);let _0x4ccf26=_0x5a1237['replace'](_0x589dba,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x50717e||!_0x50717e['length'])return[{'selectorText':_0x549c58,'contentCssText':_0x4ccf26}];for(const _0x3b13f1 of _0x50717e)_0x4ccf26=_0x4ccf26['replace'](_0x3b13f1['cssText'],'')['trim']();return[{'selectorText':_0x549c58,'contentCssText':_0x4ccf26},...S(Array['from'](_0x50717e),_0x549c58)];});}function h(_0x5463de,_0x67a1b6){const _0x136bc2=new _0x3ab24f(_0x5463de);for(const _0x20432e of _0x67a1b6){let _0x4ec4bc=null;if(_0x4ec4bc='string'==typeof _0x20432e?new _0x3ab24f(_0x5463de)['setTo'](_0x20432e):_0x20432e,_0x4ec4bc){for(const [_0x3cb02e,_0x3d6244]of _0x4ec4bc['getStylesEntries']())_0x136bc2['set'](_0x3cb02e,_0x3d6244);}}return _0x136bc2;}class ExportInlineStylesCommand extends _0x485597{['_stylesProcessor'];constructor(_0x52f259){super(_0x52f259),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x4150f1(this['_stylesProcessor']),_0x3976ea(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x5439d3){const _0x34a8d2=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x1a3dfe}=this['editor']['locale'],{rootName:_0x5c7dc7='main',dataControllerDowncastOptions:_0x516ec4={},transformations:_0x3d1c05=_0x34a8d2['transformations']||[]}=_0x5439d3||{};this['isBusy']=!0x0,this['refresh']();const _0x38b676=this['_getRootDataHTMLFragment'](_0x5c7dc7,_0x516ec4),_0x19af5e=_0x11e7a3(_0x38b676['ownerDocument'],'div',{'dir':_0x1a3dfe,'class':'ck-content'},[_0x38b676]);return this['_collectAndApplyStyles'](_0x3d1c05,_0x19af5e)['then'](()=>{const _0x5e5b7c=function(_0x790050){const _0x24e1b6=_0x790050['ownerDocument']['createDocumentFragment']();for(;_0x790050['firstChild'];)_0x24e1b6['appendChild'](_0x790050['firstChild']);return _0x24e1b6;}(_0x19af5e),_0x3c0947=_0x19af5e['getAttribute']('style');if(_0x3c0947)for(const _0x3103ab of _0x5e5b7c['children']){const _0x13cc9e=_0x3103ab['getAttribute']('style'),_0x42eca0=h(this['_stylesProcessor'],[_0x3c0947,_0x13cc9e]);_0x3103ab['setAttribute']('style',x(_0x42eca0));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x5e5b7c);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x560fea,_0x125f53){const {data:_0xef8514,model:_0x433046}=this['editor'],_0x145bd1=_0x433046['document']['getRoot'](_0x560fea),_0x117b08=_0xef8514['toView'](_0x145bd1,_0x125f53);return _0xef8514['htmlProcessor']['domConverter']['viewToDom'](_0x117b08);}async['_collectAndApplyStyles'](_0x145486,_0x49af00){const {stylesheets:_0x53a350,inlineCss:_0x2c9e95,stripCssClasses:_0x480e2b}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x3c8e8f,rootCssVariables:_0x2d8226}=await m({'stylesheets':_0x53a350||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x2c9e95}),_0x41631c=[];this['_processElementTree']({'transformations':_0x145486,'parsedCssRules':_0x3c8e8f,'element':_0x49af00,'stripCssClasses':_0x480e2b,'parentCSSVariablesLookup':_0x2d8226['get']['bind'](_0x2d8226),'runAfterDocumentTransformation':_0x3754f9=>{_0x41631c['unshift'](_0x3754f9);}});for(const _0x76fd86 of _0x41631c)_0x76fd86();}['_processElementTree']({element:_0x2f1044,parsedCssRules:_0x56311c,parentCSSVariablesLookup:_0x479063,runAfterDocumentTransformation:_0xe1d53b,stripCssClasses:_0x33f85e,transformations:_0x3f64e5}){const {stylesMap:_0x47d5fc,localCSSVariables:_0x1caaa8}=function(_0x229fe8){const _0x2c03a1=_0x229fe8['element']['getAttribute']('style')||'',_0x3cbad2=_0x229fe8['parsedCssRules']['filter'](_0x3f4514=>_0x229fe8['element']['matches'](_0x3f4514['flatSelector']))['map'](_0x1284b6=>_0x1284b6['stylesMap']),_0x5a8e3c=h(_0x229fe8['stylesProcessor'],[..._0x3cbad2,_0x2c03a1]);return{'localCSSVariables':w(_0x229fe8['fallbackCSSVariablesLookup'],_0x5a8e3c),'stylesMap':_0x5a8e3c};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x479063,'parsedCssRules':_0x56311c,'element':_0x2f1044}),_0x9d94da=[];for(const _0x3ff747 of _0x3f64e5){const _0x287298=_0x3ff747(_0x2f1044,_0x47d5fc,{'runAfterDocumentTransformation':_0xe1d53b,'runAfterChildrenTransformation':_0x35959c=>{_0x9d94da['unshift'](_0x35959c);}});_0x287298&&_0x287298 instanceof HTMLElement&&(_0x2f1044=_0x287298);}_0x47d5fc['size']?_0x2f1044['setAttribute']('style',x(_0x47d5fc)):_0x2f1044['removeAttribute']('style');const _0x432d98=_0x1c8ee1=>_0x1caaa8['has'](_0x1c8ee1)?_0x1caaa8['get'](_0x1c8ee1):_0x479063(_0x1c8ee1);for(const _0x21a5eb of _0x2f1044['children'])_0x21a5eb instanceof HTMLElement&&this['_processElementTree']({'element':_0x21a5eb,'parsedCssRules':_0x56311c,'stripCssClasses':_0x33f85e,'transformations':_0x3f64e5,'parentCSSVariablesLookup':_0x432d98,'runAfterDocumentTransformation':_0xe1d53b});_0x33f85e&&_0x2f1044['removeAttribute']('class');for(const _0x2c3cfa of _0x9d94da)_0x2c3cfa();}}function x(_0x216937){return _0x216937['getStylesEntries']()['map'](_0x4db44e=>_0x4db44e['join'](':'))['join'](';')+';';}class ExportInlineStylesEditing extends _0x5daec8{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 ExportInlineStylesCommand(this['editor']));}['afterInit'](){!async function(_0x4b4099){const _0x1d7269=_0xc6d620([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]),_0x49e5eb=0x6f40c3fb,_0x508ea9=0x6f4749ab^_0x49e5eb,_0x288c73=window[_0xc6d620([0x44,0x61,0x74,0x65])][_0xc6d620([0x6e,0x6f,0x77])](),_0x42380b=_0x4b4099[_0xc6d620([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ea5c2=new window[(_0xc6d620([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37a630=>{_0x42380b[_0xc6d620([0x6f,0x6e,0x63,0x65])](_0xc6d620([0x72,0x65,0x61,0x64,0x79]),_0x37a630);}),_0x564968={[_0xc6d620([0x6b,0x74,0x79])]:_0xc6d620([0x45,0x43]),[_0xc6d620([0x75,0x73,0x65])]:_0xc6d620([0x73,0x69,0x67]),[_0xc6d620([0x63,0x72,0x76])]:_0xc6d620([0x50,0x2d,0x32,0x35,0x36]),[_0xc6d620([0x78])]:_0xc6d620([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]),[_0xc6d620([0x79])]:_0xc6d620([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]),[_0xc6d620([0x61,0x6c,0x67])]:_0xc6d620([0x45,0x53,0x32,0x35,0x36])},_0x87afb2=_0x42380b[_0xc6d620([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xc6d620([0x67,0x65,0x74])](_0xc6d620([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5bd67e(){let _0x106dd8,_0x23cd94=null,_0x309f22=null;try{if(_0x87afb2==_0xc6d620([0x47,0x50,0x4c]))return _0xc6d620([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x106dd8=_0x4c33ce(),!_0x106dd8)return _0xc6d620([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x106dd8[_0xc6d620([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x309f22=_0x27e628(_0x106dd8[_0xc6d620([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x106dd8[_0xc6d620([0x6a,0x74,0x69])])),await _0x320bf2()?_0x272624()?_0x500b13()?_0xc6d620([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5aafb5()?(_0x106dd8[_0xc6d620([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc6d620([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x23cd94=_0x16931f(_0xc6d620([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xfaee1f()):_0xc6d620([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xc6d620([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xc6d620([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xc6d620([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x500b13(){const _0x336b31=[_0xc6d620([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xc6d620([0x74,0x72,0x69,0x61,0x6c])][_0xc6d620([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x106dd8[_0xc6d620([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x288c73/0x3e8:0xe10*_0x508ea9;return _0x106dd8[_0xc6d620([0x65,0x78,0x70])]<_0x336b31;}function _0x272624(){const _0x1d4e48=_0x106dd8[_0xc6d620([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1d4e48&&(!!_0x1d4e48[_0xc6d620([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc6d620([0x2a]))||!!_0x1d4e48[_0xc6d620([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc6d620([0x45,0x49,0x53])));}function _0x5aafb5(){const _0x20c0ca=_0x106dd8[_0xc6d620([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x20c0ca||0x0==_0x20c0ca[_0xc6d620([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x33e2fb}=new URL(window[_0xc6d620([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x20c0ca[_0xc6d620([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33e2fb))return!0x0;const _0xb0c2ba=_0x33e2fb[_0xc6d620([0x73,0x70,0x6c,0x69,0x74])](_0xc6d620([0x2e]));return _0x20c0ca[_0xc6d620([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1fd78a=>_0x1fd78a[_0xc6d620([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc6d620([0x2a])))[_0xc6d620([0x6d,0x61,0x70])](_0x33789f=>_0x33789f[_0xc6d620([0x73,0x70,0x6c,0x69,0x74])](_0xc6d620([0x2e])))[_0xc6d620([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x246579=>_0x246579[_0xc6d620([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xb0c2ba[_0xc6d620([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc6d620([0x6d,0x61,0x70])](_0x44c424=>Array(_0xb0c2ba[_0xc6d620([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x44c424[_0xc6d620([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc6d620([0x66,0x69,0x6c,0x6c])](_0x44c424[0x0]===_0xc6d620([0x2a])?_0xc6d620([0x2a]):'')[_0xc6d620([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x44c424))[_0xc6d620([0x73,0x6f,0x6d,0x65])](_0x1f2908=>_0xb0c2ba[_0xc6d620([0x65,0x76,0x65,0x72,0x79])]((_0x156014,_0x39d5f7)=>_0x1f2908[_0x39d5f7]===_0x156014||_0x1f2908[_0x39d5f7]===_0xc6d620([0x2a])));}function _0xfaee1f(){return _0x23cd94&&_0x309f22?new window[(_0xc6d620([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54b401,_0x560287)=>{_0x23cd94[_0xc6d620([0x74,0x68,0x65,0x6e])](_0x54b401,_0x560287),_0x309f22[_0xc6d620([0x74,0x68,0x65,0x6e])](_0x831ed9=>{_0x831ed9!=_0xc6d620([0x56,0x61,0x6c,0x69,0x64])&&_0x54b401(_0x831ed9);},_0x560287);}):_0x23cd94||_0x309f22||_0xc6d620([0x56,0x61,0x6c,0x69,0x64]);}}function _0x27e628(_0x437a6e,_0xc7df50){return new window[(_0xc6d620([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d8830=>{if(_0x2d0da8())return _0x1d8830(_0xc6d620([0x56,0x61,0x6c,0x69,0x64]));_0x48fd86(),_0x42380b[_0xc6d620([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xc6d620([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x211ce1=!0x1;const _0x4743ac=_0xdf077b();function _0x57b2b5(_0x1857e2){return!!_0x1857e2&&(typeof _0x1857e2===_0xc6d620([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1857e2===_0xc6d620([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1857e2[_0xc6d620([0x74,0x68,0x65,0x6e])]===_0xc6d620([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1857e2[_0xc6d620([0x63,0x61,0x74,0x63,0x68])]===_0xc6d620([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24f6d6(_0x1e0e86){_0x21a982(_0x1e0e86)[_0xc6d620([0x74,0x68,0x65,0x6e])](_0x1af443=>{if(!_0x1af443||_0x1af443[_0xc6d620([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xc6d620([0x6f,0x6b]))return _0xc6d620([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5f1da6(_0x2f5af5(_0x4743ac+_0xc7df50))!=_0x1af443[_0xc6d620([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xc6d620([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xc6d620([0x56,0x61,0x6c,0x69,0x64]);})[_0xc6d620([0x74,0x68,0x65,0x6e])](_0x5d5903=>(_0x4fc33f(),_0x5d5903),()=>{const _0x5219bb=_0x421a8d();return null==_0x5219bb?(_0x4fc33f(),_0xc6d620([0x56,0x61,0x6c,0x69,0x64])):_0xc6d620(_0x288c73-_0x5219bb>(0x4b4c47fb^_0x49e5eb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xc6d620([0x74,0x68,0x65,0x6e])](_0x1d8830)[_0xc6d620([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d8830(_0xc6d620([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x408cc5=0x6f762d7b^_0x49e5eb;function _0x4fc33f(){const _0x27ef7e=_0xc6d620([0x6c,0x6c,0x63,0x74,0x2d])+_0x5f1da6(_0x2f5af5(_0x437a6e)),_0x56cf11=_0x58e0c7(_0x5f1da6(window[_0xc6d620([0x4d,0x61,0x74,0x68])][_0xc6d620([0x63,0x65,0x69,0x6c])](_0x288c73/_0x408cc5)));window[_0xc6d620([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc6d620([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27ef7e,_0x56cf11);}function _0x421a8d(){const _0x59cc56=_0xc6d620([0x6c,0x6c,0x63,0x74,0x2d])+_0x5f1da6(_0x2f5af5(_0x437a6e)),_0x198089=window[_0xc6d620([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc6d620([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59cc56);return _0x198089?window[_0xc6d620([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58e0c7(_0x198089),0x10)*_0x408cc5:null;}function _0x21a982(_0x22c1fb){return new window[(_0xc6d620([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e1d4d,_0x55ca42)=>{_0x22c1fb[_0xc6d620([0x74,0x68,0x65,0x6e])](_0x3e1d4d,_0x55ca42),window[_0xc6d620([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55ca42,0x6f41173b^_0x49e5eb);});}}_0x42380b[_0xc6d620([0x6f,0x6e])](_0xc6d620([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b2e1a,_0x1975d1)=>{if(_0x1975d1[0x0]!=_0x437a6e)return _0x1d8830(_0xc6d620([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1975d1[0x1]={..._0x1975d1[0x1],[_0xc6d620([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4743ac};},{[_0xc6d620([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc6d620([0x68,0x69,0x67,0x68])}),_0x42380b[_0xc6d620([0x6f,0x6e])](_0xc6d620([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5bee9b=>{_0x57b2b5(_0x5bee9b[_0xc6d620([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x211ce1=!0x0,_0x24f6d6(_0x5bee9b[_0xc6d620([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xc6d620([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc6d620([0x6c,0x6f,0x77])}),_0x2ea5c2[_0xc6d620([0x74,0x68,0x65,0x6e])](()=>{_0x211ce1||_0x1d8830(_0xc6d620([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d0da8(){return _0x42380b[_0xc6d620([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc6d620([0x76,0x69,0x65,0x77])][_0xc6d620([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xc6d620([0x61,0x75,0x74,0x6f]);}function _0x48fd86(){_0x42380b[_0xc6d620([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc6d620([0x76,0x69,0x65,0x77])][_0xc6d620([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xc6d620([0x61,0x75,0x74,0x6f]);}}function _0x16931f(_0x272e42){const _0x19573f=[new window[(_0xc6d620([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a6035=>setTimeout(_0x4a6035,0x6f49fd37^_0x49e5eb)),_0x2ea5c2[_0xc6d620([0x74,0x68,0x65,0x6e])](()=>new window[(_0xc6d620([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48e1bb=>{let _0x5237e1=0x0;_0x42380b[_0xc6d620([0x6d,0x6f,0x64,0x65,0x6c])][_0xc6d620([0x6f,0x6e])](_0xc6d620([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa23317,_0x1a0320)=>{_0x1a0320[0x0][_0xc6d620([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5237e1++,_0x5237e1==(0x6f40c613^_0x49e5eb)&&(_0x48e1bb(),_0xa23317[_0xc6d620([0x6f,0x66,0x66])]());});}))];return window[_0xc6d620([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xc6d620([0x72,0x61,0x63,0x65])](_0x19573f)[_0xc6d620([0x74,0x68,0x65,0x6e])](()=>_0x272e42);}async function _0x20d9aa(){await _0x2ea5c2;const _0x470dac=_0x42380b['commands'][_0xc6d620([0x67,0x65,0x74])](_0xc6d620([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x470dac&&_0x470dac[_0xc6d620([0x6f,0x6e])](_0xc6d620([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x149eef=>{_0x149eef['stop']();},{'priority':_0xc6d620([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x42380b[_0xc6d620([0x6d,0x6f,0x64,0x65,0x6c])][_0xc6d620([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57d7a6,_0x42380b[_0xc6d620([0x6d,0x6f,0x64,0x65,0x6c])][_0xc6d620([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57d7a6,_0x42380b[_0xc6d620([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xc6d620([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b0d17(_0x1dd202){const _0x1dd2ef=_0x62cfa8();_0x42380b[_0x1dd2ef]=_0xc6d620([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])+_0x1dd202,_0x1dd202!=_0xc6d620([0x56,0x61,0x6c,0x69,0x64])&&_0x20d9aa();}function _0x62cfa8(){const _0x3f1114=window[_0xc6d620([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xc6d620([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xc6d620([0x6e,0x6f,0x77])]())[_0xc6d620([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xc6d620([0x2e]),'');let _0x320141=_0xc6d620([0x44]);for(let _0x523dd0=0x0;_0x523dd0<_0x3f1114[_0xc6d620([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x523dd0+=0x2){let _0x2e99f4=window[_0xc6d620([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f1114[_0xc6d620([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x523dd0,_0x523dd0+0x2));_0x2e99f4>=_0x1d7269[_0xc6d620([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2e99f4-=_0x1d7269[_0xc6d620([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x320141+=_0x1d7269[_0x2e99f4];}return _0x320141;}function _0x4c33ce(){const _0x4d37f9=_0x87afb2[_0xc6d620([0x73,0x70,0x6c,0x69,0x74])](_0xc6d620([0x2e]));if(0x3!=_0x4d37f9[_0xc6d620([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e1d4b(_0x4d37f9[0x1]);function _0x5e1d4b(_0x36e633){const _0x1f01ed=_0x3e2dc3(_0x36e633);return _0x1f01ed&&_0x336b7b()?_0x1f01ed:null;function _0x336b7b(){const _0x560bd4=_0x1f01ed[_0xc6d620([0x6a,0x74,0x69])],_0x264adc=window[_0xc6d620([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x560bd4[_0xc6d620([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x560bd4[_0xc6d620([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x51119b={..._0x1f01ed,[_0xc6d620([0x6a,0x74,0x69])]:_0x560bd4[_0xc6d620([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x560bd4[_0xc6d620([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x51119b[_0xc6d620([0x76,0x63])],_0x2f5af5(_0x51119b)==_0x264adc;}}}async function _0x320bf2(){let _0x1e94e9=!0x0;try{const _0x529477=_0x87afb2[_0xc6d620([0x73,0x70,0x6c,0x69,0x74])](_0xc6d620([0x2e])),[_0x436ee2,_0x42e612,_0x43a6de]=_0x529477;return _0x15a53b(_0x436ee2),await _0xfe909c(_0x436ee2,_0x42e612,_0x43a6de),_0x1e94e9;}catch{return!0x1;}function _0x15a53b(_0x2e803e){const _0x3d97e2=_0x3e2dc3(_0x2e803e);_0x3d97e2&&_0x3d97e2[_0xc6d620([0x61,0x6c,0x67])]==_0xc6d620([0x45,0x53,0x32,0x35,0x36])||(_0x1e94e9=!0x1);}async function _0xfe909c(_0x524d7e,_0x48d2de,_0x1dfb1f){const _0x46140b=window[_0xc6d620([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xc6d620([0x66,0x72,0x6f,0x6d])](_0x22c399(_0x1dfb1f),_0x1f1216=>_0x1f1216[_0xc6d620([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x48fb71=new window[(_0xc6d620([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xc6d620([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x524d7e+_0xc6d620([0x2e])+_0x48d2de),_0x392019=window[_0xc6d620([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xc6d620([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x392019)return;const _0x53b5b4=await _0x392019[_0xc6d620([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xc6d620([0x6a,0x77,0x6b]),_0x564968,{[_0xc6d620([0x6e,0x61,0x6d,0x65])]:_0xc6d620([0x45,0x43,0x44,0x53,0x41]),[_0xc6d620([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xc6d620([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xc6d620([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x392019[_0xc6d620([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xc6d620([0x6e,0x61,0x6d,0x65])]:_0xc6d620([0x45,0x43,0x44,0x53,0x41]),[_0xc6d620([0x68,0x61,0x73,0x68])]:{[_0xc6d620([0x6e,0x61,0x6d,0x65])]:_0xc6d620([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x53b5b4,_0x46140b,_0x48fb71)||(_0x1e94e9=!0x1);}}function _0x3e2dc3(_0x200296){return _0x200296[_0xc6d620([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xc6d620([0x65,0x79]))?JSON[_0xc6d620([0x70,0x61,0x72,0x73,0x65])](_0x22c399(_0x200296)):null;}function _0x22c399(_0x40db21){return window[_0xc6d620([0x61,0x74,0x6f,0x62])](_0x40db21[_0xc6d620([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xc6d620([0x2b]))[_0xc6d620([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xc6d620([0x2f])));}function _0x2f5af5(_0x2c06ac){let _0x198f8d=0x1505;function _0x4877f4(_0x4c8baa){for(let _0x1ea6df=0x0;_0x1ea6df<_0x4c8baa[_0xc6d620([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ea6df++){const _0x4507b3=_0x4c8baa[_0xc6d620([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ea6df);_0x198f8d=(_0x198f8d<<0x5)+_0x198f8d+_0x4507b3,_0x198f8d&=_0x198f8d;}}function _0x40d78d(_0x4ea338){Array[_0xc6d620([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ea338)?_0x4ea338[_0xc6d620([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x40d78d):_0x4ea338&&typeof _0x4ea338==_0xc6d620([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xc6d620([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ea338)[_0xc6d620([0x73,0x6f,0x72,0x74])]()[_0xc6d620([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x52c3bf,_0x1e749e])=>{_0x4877f4(_0x52c3bf),_0x40d78d(_0x1e749e);}):_0x4877f4(window[_0xc6d620([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ea338));}return _0x40d78d(_0x2c06ac),_0x198f8d>>>0x0;}function _0x5f1da6(_0x47b942){return _0x47b942[_0xc6d620([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xc6d620([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xc6d620([0x30]));}function _0x58e0c7(_0x1bc9e1){return _0x1bc9e1[_0xc6d620([0x73,0x70,0x6c,0x69,0x74])]('')[_0xc6d620([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xc6d620([0x6a,0x6f,0x69,0x6e])]('');}function _0x57d7a6(){}function _0xc6d620(_0x5e3250){return _0x5e3250['map'](_0x39c61f=>String['fromCharCode'](_0x39c61f))['join']('');}_0x5b0d17(await _0x5bd67e());}(this);}}class ExportInlineStyles extends _0x5daec8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ExportInlineStylesEditing];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x585a93=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4b6106;for(const _0x2848a0 in _0x585a93){const _0x2d8e76=_0x2848a0,_0x118348=_0x585a93[_0x2d8e76];if('exportInlineStylesLicenseKeyValid'==_0x118348||'exportInlineStylesLicenseKeyInvalid'==_0x118348||'exportInlineStylesLicenseKeyExpired'==_0x118348||'exportInlineStylesLicenseKeyDomainLimit'==_0x118348||'exportInlineStylesLicenseKeyNotAllowed'==_0x118348||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x118348||'exportInlineStylesLicenseKeyUsageLimit'==_0x118348){delete _0x585a93[_0x2d8e76],_0x4b6106=_0x118348,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x4b6106&&_0x585a93['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x4b6106&&_0x585a93['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x4b6106&&_0x585a93['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x4b6106&&_0x585a93['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x4b6106&&_0x585a93['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x4b6106&&_0x585a93['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{ExportInlineStyles,ExportInlineStylesCommand,ExportInlineStylesEditing,p as dropImportantStyleSuffix};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-export-inline-styles",
3
- "version": "48.8.1-alpha.1",
3
+ "version": "48.8.1-alpha.2",
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.8.1-alpha.1",
38
- "@ckeditor/ckeditor5-engine": "48.8.1-alpha.1",
39
- "@ckeditor/ckeditor5-utils": "48.8.1-alpha.1",
37
+ "@ckeditor/ckeditor5-core": "48.8.1-alpha.2",
38
+ "@ckeditor/ckeditor5-engine": "48.8.1-alpha.2",
39
+ "@ckeditor/ckeditor5-utils": "48.8.1-alpha.2",
40
40
  "specificity": "0.4.1"
41
41
  },
42
42
  "files": [