@ckeditor/ckeditor5-export-inline-styles 48.2.0-alpha.7 → 48.2.0

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 _0x1f5e5e,Plugin as _0x255cc7}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x2094c2,createElement as _0x2c0f69,uid as _0xa5383f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{StylesMap as _0x54ead5,addMarginStylesRules as _0x25096d,addPaddingStylesRules as _0x5cf17c}from'@ckeditor/ckeditor5-engine/dist/index.js';import{calculate as _0x4bc693,compare as _0x456356}from'specificity';function f(_0x5955c1){const _0x5e46c7=[];let _0x41cda1='',_0x1b9044=0x0;for(;_0x1b9044<_0x5955c1['length'];){const _0x22fa0a=_0x5955c1[_0x1b9044];if('('===_0x22fa0a){const _0xa5d57f=y(_0x5955c1,_0x1b9044+0x1);if(-0x1===_0xa5d57f)return[];_0x41cda1+=_0x5955c1['slice'](_0x1b9044,_0xa5d57f+0x1),_0x1b9044=_0xa5d57f+0x1;}else','!==_0x22fa0a||_0x41cda1['endsWith']('\x5c')?(_0x41cda1+=_0x22fa0a,_0x1b9044++):(_0x5e46c7['push'](_0x41cda1['trim']()),_0x41cda1='',_0x1b9044++);}return _0x41cda1['trim']()&&_0x5e46c7['push'](_0x41cda1['trim']()),_0x5e46c7['filter'](Boolean);}function y(_0xa7f206,_0x6544c7){let _0x392628=0x1;for(let _0x4aa7fb=_0x6544c7;_0x4aa7fb<_0xa7f206['length'];_0x4aa7fb++){const _0x3f22dd=_0xa7f206[_0x4aa7fb];if('('===_0x3f22dd)_0x392628++;else{if(')'===_0x3f22dd&&(_0x392628--,0x0===_0x392628))return _0x4aa7fb;}}return-0x1;}function p(_0x391b06){return _0x391b06['replace'](/!\s*important/i,'')['trim']();}function w(_0x35d8c4,_0x113841){const _0x4f579e=new Map(),_0xfc043d=_0x5bd92d=>_0x4f579e['has'](_0x5bd92d)?_0x4f579e['get'](_0x5bd92d):_0x35d8c4(_0x5bd92d);for(const [_0x5d41ed,_0x61da64]of _0x113841['getStylesEntries']())if(_0x61da64&&_0x5d41ed['startsWith']('--')){const _0x32763b=d(_0xfc043d,_0x61da64);_0x4f579e['set'](_0x5d41ed,_0x32763b),_0x113841['remove'](_0x5d41ed);}for(const [_0x4b3fe0,_0x1a1e84]of _0x113841['getStylesEntries']())if(_0x1a1e84){const _0x117e98=d(_0xfc043d,_0x1a1e84);_0x113841['set'](_0x4b3fe0,_0x117e98);}return _0x4f579e;}function d(_0x128178,_0x164695){return function(_0x3da7ad,_0x10bf4f){let _0x3c7081='',_0xa3b95=0x0;for(;_0xa3b95<_0x3da7ad['length'];){const _0x5e51b0=_0x3da7ad['indexOf']('var(',_0xa3b95);if(-0x1===_0x5e51b0){_0x3c7081+=_0x3da7ad['slice'](_0xa3b95);break;}_0x3c7081+=_0x3da7ad['slice'](_0xa3b95,_0x5e51b0);const _0xc9532e=_0x5e51b0+0x4,_0x21a477=y(_0x3da7ad,_0xc9532e);_0x3c7081+=_0x10bf4f(_0x3da7ad['substring'](_0xc9532e,_0x21a477)),_0xa3b95=_0x21a477+0x1;}return _0x3c7081;}(_0x164695,_0x137c20=>{const [_0x303ccc,_0x3e7840]=f(_0x137c20),_0x21d13a=_0x128178(_0x303ccc);return void 0x0!==_0x21d13a?_0x21d13a:_0x3e7840?d(_0x128178,_0x3e7840):'var('+_0x303ccc+')';});}async function m(_0x3fa77b){const _0x6131e2=[await _0x2094c2(_0x3fa77b['stylesheets']),_0x3fa77b['inlineCss']]['filter'](_0x5b1ef7=>_0x5b1ef7&&_0x5b1ef7['length'])['join']('\x0a'),_0x3b3720=await async function(_0x1a7089,_0x3e0dac){const _0x20bfc4=new CSSStyleSheet();return await _0x20bfc4['replace'](_0x3e0dac),S(Array['from'](_0x20bfc4['cssRules'])['filter'](_0x4d2dac=>_0x4d2dac instanceof CSSStyleRule))['flatMap'](({selectorText:_0x515e26,contentCssText:_0x3bf136})=>{const _0x4c9d2f=f(_0x515e26),_0xdf8fd3=new _0x54ead5(_0x1a7089)['setTo'](_0x3bf136);return _0x4c9d2f['map'](_0x3fe526=>{const _0x2b1a8f=function(_0x283126){const _0x1a5f84=':where(';let _0x25254c=_0x283126,_0x63c1ff=0x0;for(let _0x31827c=0x0;_0x31827c<0x64;_0x31827c++){const _0x20b6e4=_0x25254c['indexOf'](_0x1a5f84,_0x63c1ff);if(-0x1===_0x20b6e4)break;let _0x5586db=0x0;for(let _0x2a3c71=0x0;_0x2a3c71<_0x20b6e4;_0x2a3c71++)'('===_0x25254c[_0x2a3c71]?_0x5586db++:')'===_0x25254c[_0x2a3c71]&&_0x5586db--;if(_0x5586db>0x0){_0x63c1ff=_0x20b6e4+_0x1a5f84['length'];continue;}let _0x3453bd=-0x1;for(let _0x386bb6=_0x20b6e4+_0x1a5f84['length'],_0x378cb2=0x1;_0x386bb6<_0x25254c['length'];_0x386bb6++)if('('===_0x25254c[_0x386bb6]?_0x378cb2++:')'===_0x25254c[_0x386bb6]&&_0x378cb2--,!_0x378cb2){_0x3453bd=_0x386bb6;break;}-0x1!==_0x3453bd?(_0x25254c=_0x25254c['slice'](0x0,_0x20b6e4)+_0x25254c['slice'](_0x3453bd+0x1),_0x63c1ff=_0x20b6e4):_0x63c1ff=_0x20b6e4+_0x1a5f84['length'];}return _0x25254c['replace'](/\s+/g,'\x20')['trim']();}(_0x3fe526),_0x2485ee=_0x2b1a8f?_0x4bc693(_0x2b1a8f)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0xdf8fd3,'flatSelector':_0x3fe526,'specificity':_0x2485ee};});})['sort']((_0x5d6a21,_0x1c9dde)=>_0x456356(_0x5d6a21['specificity'],_0x1c9dde['specificity']));}(_0x3fa77b['stylesProcessor'],_0x6131e2);return{'parsedCssRules':_0x3b3720,'rootCssVariables':function(_0x518bb4){const _0x17f569=new Map();for(const {stylesMap:_0x2ebf24,flatSelector:_0xcd426b}of _0x518bb4){if(':root'!==_0xcd426b)continue;const _0x497aa2=w(_0x17f569['get']['bind'](_0x17f569),_0x2ebf24);for(const [_0x74e351,_0x3c7f76]of _0x497aa2)_0x17f569['set'](_0x74e351,_0x3c7f76);}return _0x17f569;}(_0x3b3720)};}function S(_0x3107a1,_0xb08350=''){return _0x3107a1['flatMap'](_0x36ec05=>{const {selectorText:_0x1e13fd,cssText:_0x4ca9df,cssRules:_0x10abe5}=_0x36ec05;if(!_0x1e13fd)return[];const _0x150e1d=_0x1e13fd['replace'](/&/g,_0xb08350);let _0x18b239=_0x4ca9df['replace'](_0x1e13fd,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x10abe5||!_0x10abe5['length'])return[{'selectorText':_0x150e1d,'contentCssText':_0x18b239}];for(const _0x41a1b6 of _0x10abe5)_0x18b239=_0x18b239['replace'](_0x41a1b6['cssText'],'')['trim']();return[{'selectorText':_0x150e1d,'contentCssText':_0x18b239},...S(Array['from'](_0x10abe5),_0x150e1d)];});}function h(_0x269f55,_0x29f971){const _0x4a8d10=new _0x54ead5(_0x269f55);for(const _0x397e67 of _0x29f971){let _0x6f08eb=null;if(_0x6f08eb='string'==typeof _0x397e67?new _0x54ead5(_0x269f55)['setTo'](_0x397e67):_0x397e67,_0x6f08eb){for(const [_0x2163ba,_0x25ab0c]of _0x6f08eb['getStylesEntries']())_0x4a8d10['set'](_0x2163ba,_0x25ab0c);}}return _0x4a8d10;}class ExportInlineStylesCommand extends _0x1f5e5e{['_stylesProcessor'];constructor(_0x22a96d){super(_0x22a96d),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x25096d(this['_stylesProcessor']),_0x5cf17c(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x12360e){const _0x43af4b=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x496942}=this['editor']['locale'],{rootName:_0x2ce695='main',dataControllerDowncastOptions:_0xf3da60={},transformations:_0x50a26e=_0x43af4b['transformations']||[]}=_0x12360e||{};this['isBusy']=!0x0,this['refresh']();const _0x2336a5=this['_getRootDataHTMLFragment'](_0x2ce695,_0xf3da60),_0x31b8d8=_0x2c0f69(_0x2336a5['ownerDocument'],'div',{'dir':_0x496942,'class':'ck-content'},[_0x2336a5]);return this['_collectAndApplyStyles'](_0x50a26e,_0x31b8d8)['then'](()=>{const _0x5eaf25=function(_0x20006f){const _0x2e946c=_0x20006f['ownerDocument']['createDocumentFragment']();for(;_0x20006f['firstChild'];)_0x2e946c['appendChild'](_0x20006f['firstChild']);return _0x2e946c;}(_0x31b8d8),_0x4051e8=_0x31b8d8['getAttribute']('style');if(_0x4051e8)for(const _0x507e93 of _0x5eaf25['children']){const _0x13d9a5=_0x507e93['getAttribute']('style'),_0x346eb1=h(this['_stylesProcessor'],[_0x4051e8,_0x13d9a5]);_0x507e93['setAttribute']('style',x(_0x346eb1));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x5eaf25);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x546b66,_0x8af719){const {data:_0x13932b,model:_0xfb725b}=this['editor'],_0x2cdebb=_0xfb725b['document']['getRoot'](_0x546b66),_0x362ac4=_0x13932b['toView'](_0x2cdebb,_0x8af719);return _0x13932b['htmlProcessor']['domConverter']['viewToDom'](_0x362ac4);}async['_collectAndApplyStyles'](_0x528dd9,_0x3c524b){const {stylesheets:_0x3a81a5,inlineCss:_0x3b21d4,stripCssClasses:_0x40d2bc}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x5dac33,rootCssVariables:_0x43a8eb}=await m({'stylesheets':_0x3a81a5||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x3b21d4}),_0xa5b3e1=[];this['_processElementTree']({'transformations':_0x528dd9,'parsedCssRules':_0x5dac33,'element':_0x3c524b,'stripCssClasses':_0x40d2bc,'parentCSSVariablesLookup':_0x43a8eb['get']['bind'](_0x43a8eb),'runAfterDocumentTransformation':_0x2e8a1b=>{_0xa5b3e1['unshift'](_0x2e8a1b);}});for(const _0x54f3e3 of _0xa5b3e1)_0x54f3e3();}['_processElementTree']({element:_0xc87ff,parsedCssRules:_0xaf7800,parentCSSVariablesLookup:_0x10e989,runAfterDocumentTransformation:_0x25f986,stripCssClasses:_0x30b84f,transformations:_0x123d6b}){const {stylesMap:_0x518a10,localCSSVariables:_0x5d02b8}=function(_0x252d2d){const _0x597b61=_0x252d2d['element']['getAttribute']('style')||'',_0x2c3d43=_0x252d2d['parsedCssRules']['filter'](_0xa60f77=>_0x252d2d['element']['matches'](_0xa60f77['flatSelector']))['map'](_0x257aef=>_0x257aef['stylesMap']),_0x661b62=h(_0x252d2d['stylesProcessor'],[..._0x2c3d43,_0x597b61]);return{'localCSSVariables':w(_0x252d2d['fallbackCSSVariablesLookup'],_0x661b62),'stylesMap':_0x661b62};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x10e989,'parsedCssRules':_0xaf7800,'element':_0xc87ff}),_0x27eeee=[];for(const _0x2d805a of _0x123d6b){const _0x477cb8=_0x2d805a(_0xc87ff,_0x518a10,{'runAfterDocumentTransformation':_0x25f986,'runAfterChildrenTransformation':_0x1af100=>{_0x27eeee['unshift'](_0x1af100);}});_0x477cb8&&_0x477cb8 instanceof HTMLElement&&(_0xc87ff=_0x477cb8);}_0x518a10['size']?_0xc87ff['setAttribute']('style',x(_0x518a10)):_0xc87ff['removeAttribute']('style');const _0x352efb=_0x314cc7=>_0x5d02b8['has'](_0x314cc7)?_0x5d02b8['get'](_0x314cc7):_0x10e989(_0x314cc7);for(const _0x5ece76 of _0xc87ff['children'])_0x5ece76 instanceof HTMLElement&&this['_processElementTree']({'element':_0x5ece76,'parsedCssRules':_0xaf7800,'stripCssClasses':_0x30b84f,'transformations':_0x123d6b,'parentCSSVariablesLookup':_0x352efb,'runAfterDocumentTransformation':_0x25f986});_0x30b84f&&_0xc87ff['removeAttribute']('class');for(const _0x1aac1c of _0x27eeee)_0x1aac1c();}}function x(_0x53e769){return _0x53e769['getStylesEntries']()['map'](_0x150647=>_0x150647['join'](':'))['join'](';')+';';}class ExportInlineStylesEditing extends _0x255cc7{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(_0x3495c8){const _0x51c454=_0x19ad79([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]),_0x5c26f0=0x6f40c3fb,_0x1194c8=0x6f47482b^_0x5c26f0,_0x47a9fe=window[_0x19ad79([0x44,0x61,0x74,0x65])][_0x19ad79([0x6e,0x6f,0x77])](),_0x1a129c=_0x3495c8[_0x19ad79([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x112791=new window[(_0x19ad79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f19bd=>{_0x1a129c[_0x19ad79([0x6f,0x6e,0x63,0x65])](_0x19ad79([0x72,0x65,0x61,0x64,0x79]),_0x2f19bd);}),_0x41e938={[_0x19ad79([0x6b,0x74,0x79])]:_0x19ad79([0x45,0x43]),[_0x19ad79([0x75,0x73,0x65])]:_0x19ad79([0x73,0x69,0x67]),[_0x19ad79([0x63,0x72,0x76])]:_0x19ad79([0x50,0x2d,0x32,0x35,0x36]),[_0x19ad79([0x78])]:_0x19ad79([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]),[_0x19ad79([0x79])]:_0x19ad79([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]),[_0x19ad79([0x61,0x6c,0x67])]:_0x19ad79([0x45,0x53,0x32,0x35,0x36])},_0x169f7e=_0x1a129c[_0x19ad79([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x19ad79([0x67,0x65,0x74])](_0x19ad79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4df6b5(){let _0x47d22d,_0x13b985=null,_0x416c0a=null;try{if(_0x169f7e==_0x19ad79([0x47,0x50,0x4c]))return _0x19ad79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x47d22d=_0x55139f(),!_0x47d22d)return _0x19ad79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x47d22d[_0x19ad79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x416c0a=_0x4e401e(_0x47d22d[_0x19ad79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x47d22d[_0x19ad79([0x6a,0x74,0x69])])),await _0xca5a5e()?_0x2b0be0()?_0x12a452()?_0x19ad79([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1ba9ed()?(_0x47d22d[_0x19ad79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x19ad79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x13b985=_0x14541c(_0x19ad79([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x584bef()):_0x19ad79([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x19ad79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x19ad79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x19ad79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12a452(){const _0x113960=[_0x19ad79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x19ad79([0x74,0x72,0x69,0x61,0x6c])][_0x19ad79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47d22d[_0x19ad79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x47a9fe/0x3e8:0xe10*_0x1194c8;return _0x47d22d[_0x19ad79([0x65,0x78,0x70])]<_0x113960;}function _0x2b0be0(){const _0x42c1c9=_0x47d22d[_0x19ad79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42c1c9&&(!!_0x42c1c9[_0x19ad79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19ad79([0x2a]))||!!_0x42c1c9[_0x19ad79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19ad79([0x45,0x49,0x53])));}function _0x1ba9ed(){const _0x268bac=_0x47d22d[_0x19ad79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x268bac||0x0==_0x268bac[_0x19ad79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x439fbe}=new URL(window[_0x19ad79([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x268bac[_0x19ad79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x439fbe))return!0x0;const _0x245e82=_0x439fbe[_0x19ad79([0x73,0x70,0x6c,0x69,0x74])](_0x19ad79([0x2e]));return _0x268bac[_0x19ad79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x497c0f=>_0x497c0f[_0x19ad79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19ad79([0x2a])))[_0x19ad79([0x6d,0x61,0x70])](_0x457459=>_0x457459[_0x19ad79([0x73,0x70,0x6c,0x69,0x74])](_0x19ad79([0x2e])))[_0x19ad79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3abf45=>_0x3abf45[_0x19ad79([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x245e82[_0x19ad79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x19ad79([0x6d,0x61,0x70])](_0x5bc720=>Array(_0x245e82[_0x19ad79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5bc720[_0x19ad79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x19ad79([0x66,0x69,0x6c,0x6c])](_0x5bc720[0x0]===_0x19ad79([0x2a])?_0x19ad79([0x2a]):'')[_0x19ad79([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5bc720))[_0x19ad79([0x73,0x6f,0x6d,0x65])](_0x997bd=>_0x245e82[_0x19ad79([0x65,0x76,0x65,0x72,0x79])]((_0x199d3b,_0xee621e)=>_0x997bd[_0xee621e]===_0x199d3b||_0x997bd[_0xee621e]===_0x19ad79([0x2a])));}function _0x584bef(){return _0x13b985&&_0x416c0a?new window[(_0x19ad79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x452db2,_0xc13b71)=>{_0x13b985[_0x19ad79([0x74,0x68,0x65,0x6e])](_0x452db2,_0xc13b71),_0x416c0a[_0x19ad79([0x74,0x68,0x65,0x6e])](_0x1db3cc=>{_0x1db3cc!=_0x19ad79([0x56,0x61,0x6c,0x69,0x64])&&_0x452db2(_0x1db3cc);},_0xc13b71);}):_0x13b985||_0x416c0a||_0x19ad79([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4e401e(_0x33c64b,_0x4120dd){return new window[(_0x19ad79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cf99e=>{if(_0x16f801())return _0x5cf99e(_0x19ad79([0x56,0x61,0x6c,0x69,0x64]));_0x1a3efc(),_0x1a129c[_0x19ad79([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x19ad79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x9b4148=!0x1;const _0x2aff0b=_0xa5383f();function _0xc9e46(_0x16ca70){return!!_0x16ca70&&(typeof _0x16ca70===_0x19ad79([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16ca70===_0x19ad79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16ca70[_0x19ad79([0x74,0x68,0x65,0x6e])]===_0x19ad79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16ca70[_0x19ad79([0x63,0x61,0x74,0x63,0x68])]===_0x19ad79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c0598(_0x407ce8){_0x1c9a5b(_0x407ce8)[_0x19ad79([0x74,0x68,0x65,0x6e])](_0x4f9b31=>{if(!_0x4f9b31||_0x4f9b31[_0x19ad79([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x19ad79([0x6f,0x6b]))return _0x19ad79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5a9109(_0x4f9158(_0x2aff0b+_0x4120dd))!=_0x4f9b31[_0x19ad79([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x19ad79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x19ad79([0x56,0x61,0x6c,0x69,0x64]);})[_0x19ad79([0x74,0x68,0x65,0x6e])](_0x6fcda6=>(_0x5dc4d9(),_0x6fcda6),()=>{const _0x433e2c=_0x4c0a66();return null==_0x433e2c?(_0x5dc4d9(),_0x19ad79([0x56,0x61,0x6c,0x69,0x64])):_0x19ad79(_0x47a9fe-_0x433e2c>(0x4b4c47fb^_0x5c26f0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x19ad79([0x74,0x68,0x65,0x6e])](_0x5cf99e)[_0x19ad79([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5cf99e(_0x19ad79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf3f35e=0x6f762d7b^_0x5c26f0;function _0x5dc4d9(){const _0x251ec3=_0x19ad79([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a9109(_0x4f9158(_0x33c64b)),_0x587488=_0x13be7d(_0x5a9109(window[_0x19ad79([0x4d,0x61,0x74,0x68])][_0x19ad79([0x63,0x65,0x69,0x6c])](_0x47a9fe/_0xf3f35e)));window[_0x19ad79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x19ad79([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x251ec3,_0x587488);}function _0x4c0a66(){const _0x232074=_0x19ad79([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a9109(_0x4f9158(_0x33c64b)),_0x1c347d=window[_0x19ad79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x19ad79([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x232074);return _0x1c347d?window[_0x19ad79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13be7d(_0x1c347d),0x10)*_0xf3f35e:null;}function _0x1c9a5b(_0x3589df){return new window[(_0x19ad79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x176888,_0x432f24)=>{_0x3589df[_0x19ad79([0x74,0x68,0x65,0x6e])](_0x176888,_0x432f24),window[_0x19ad79([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x432f24,0x6f41173b^_0x5c26f0);});}}_0x1a129c[_0x19ad79([0x6f,0x6e])](_0x19ad79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2257a2,_0x8b0806)=>{if(_0x8b0806[0x0]!=_0x33c64b)return _0x5cf99e(_0x19ad79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x8b0806[0x1]={..._0x8b0806[0x1],[_0x19ad79([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2aff0b};},{[_0x19ad79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x19ad79([0x68,0x69,0x67,0x68])}),_0x1a129c[_0x19ad79([0x6f,0x6e])](_0x19ad79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1876fb=>{_0xc9e46(_0x1876fb[_0x19ad79([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x9b4148=!0x0,_0x5c0598(_0x1876fb[_0x19ad79([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x19ad79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x19ad79([0x6c,0x6f,0x77])}),_0x112791[_0x19ad79([0x74,0x68,0x65,0x6e])](()=>{_0x9b4148||_0x5cf99e(_0x19ad79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x16f801(){return _0x1a129c[_0x19ad79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x19ad79([0x76,0x69,0x65,0x77])][_0x19ad79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x19ad79([0x61,0x75,0x74,0x6f]);}function _0x1a3efc(){_0x1a129c[_0x19ad79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x19ad79([0x76,0x69,0x65,0x77])][_0x19ad79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x19ad79([0x61,0x75,0x74,0x6f]);}}function _0x14541c(_0x4b4ae3){const _0x34c3c2=[new window[(_0x19ad79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c58c4=>setTimeout(_0x5c58c4,0x6f49fd37^_0x5c26f0)),_0x112791[_0x19ad79([0x74,0x68,0x65,0x6e])](()=>new window[(_0x19ad79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c28dd=>{let _0x5acd5a=0x0;_0x1a129c[_0x19ad79([0x6d,0x6f,0x64,0x65,0x6c])][_0x19ad79([0x6f,0x6e])](_0x19ad79([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x423073,_0x2a8b0e)=>{_0x2a8b0e[0x0][_0x19ad79([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5acd5a++,_0x5acd5a==(0x6f40c613^_0x5c26f0)&&(_0x4c28dd(),_0x423073[_0x19ad79([0x6f,0x66,0x66])]());});}))];return window[_0x19ad79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x19ad79([0x72,0x61,0x63,0x65])](_0x34c3c2)[_0x19ad79([0x74,0x68,0x65,0x6e])](()=>_0x4b4ae3);}async function _0x45fb4c(){await _0x112791;const _0x1a9979=_0x1a129c['commands'][_0x19ad79([0x67,0x65,0x74])](_0x19ad79([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x1a9979&&_0x1a9979[_0x19ad79([0x6f,0x6e])](_0x19ad79([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x5c74bb=>{_0x5c74bb['stop']();},{'priority':_0x19ad79([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x1a129c[_0x19ad79([0x6d,0x6f,0x64,0x65,0x6c])][_0x19ad79([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1977ee,_0x1a129c[_0x19ad79([0x6d,0x6f,0x64,0x65,0x6c])][_0x19ad79([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1977ee,_0x1a129c[_0x19ad79([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x19ad79([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b566c(_0x383aef){const _0x1e66fe=_0x3f1f9e();_0x1a129c[_0x1e66fe]=_0x19ad79([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])+_0x383aef,_0x383aef!=_0x19ad79([0x56,0x61,0x6c,0x69,0x64])&&_0x45fb4c();}function _0x3f1f9e(){const _0x41d97d=window[_0x19ad79([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x19ad79([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x19ad79([0x6e,0x6f,0x77])]())[_0x19ad79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x19ad79([0x2e]),'');let _0x4621c7=_0x19ad79([0x44]);for(let _0x8a813f=0x0;_0x8a813f<_0x41d97d[_0x19ad79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8a813f+=0x2){let _0x19d129=window[_0x19ad79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41d97d[_0x19ad79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8a813f,_0x8a813f+0x2));_0x19d129>=_0x51c454[_0x19ad79([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19d129-=_0x51c454[_0x19ad79([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4621c7+=_0x51c454[_0x19d129];}return _0x4621c7;}function _0x55139f(){const _0x367f02=_0x169f7e[_0x19ad79([0x73,0x70,0x6c,0x69,0x74])](_0x19ad79([0x2e]));if(0x3!=_0x367f02[_0x19ad79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x413813(_0x367f02[0x1]);function _0x413813(_0x49fd70){const _0x5bcffe=_0x503d66(_0x49fd70);return _0x5bcffe&&_0x44885f()?_0x5bcffe:null;function _0x44885f(){const _0x271b16=_0x5bcffe[_0x19ad79([0x6a,0x74,0x69])],_0xd36020=window[_0x19ad79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x271b16[_0x19ad79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x271b16[_0x19ad79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1428ba={..._0x5bcffe,[_0x19ad79([0x6a,0x74,0x69])]:_0x271b16[_0x19ad79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x271b16[_0x19ad79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1428ba[_0x19ad79([0x76,0x63])],_0x4f9158(_0x1428ba)==_0xd36020;}}}async function _0xca5a5e(){let _0x17a69b=!0x0;try{const _0x2d4372=_0x169f7e[_0x19ad79([0x73,0x70,0x6c,0x69,0x74])](_0x19ad79([0x2e])),[_0x1c1c3f,_0x4c4026,_0x356f02]=_0x2d4372;return _0x186fcd(_0x1c1c3f),await _0x3a6042(_0x1c1c3f,_0x4c4026,_0x356f02),_0x17a69b;}catch{return!0x1;}function _0x186fcd(_0x320e4a){const _0x4555ba=_0x503d66(_0x320e4a);_0x4555ba&&_0x4555ba[_0x19ad79([0x61,0x6c,0x67])]==_0x19ad79([0x45,0x53,0x32,0x35,0x36])||(_0x17a69b=!0x1);}async function _0x3a6042(_0x1ba9d2,_0xb5bb25,_0x44b770){const _0x5e4a42=window[_0x19ad79([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x19ad79([0x66,0x72,0x6f,0x6d])](_0x4a9a9f(_0x44b770),_0x2396ff=>_0x2396ff[_0x19ad79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c2c29=new window[(_0x19ad79([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x19ad79([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ba9d2+_0x19ad79([0x2e])+_0xb5bb25),_0x537a5c=window[_0x19ad79([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x19ad79([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x537a5c)return;const _0x27cdaa=await _0x537a5c[_0x19ad79([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x19ad79([0x6a,0x77,0x6b]),_0x41e938,{[_0x19ad79([0x6e,0x61,0x6d,0x65])]:_0x19ad79([0x45,0x43,0x44,0x53,0x41]),[_0x19ad79([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x19ad79([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x19ad79([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x537a5c[_0x19ad79([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x19ad79([0x6e,0x61,0x6d,0x65])]:_0x19ad79([0x45,0x43,0x44,0x53,0x41]),[_0x19ad79([0x68,0x61,0x73,0x68])]:{[_0x19ad79([0x6e,0x61,0x6d,0x65])]:_0x19ad79([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x27cdaa,_0x5e4a42,_0x1c2c29)||(_0x17a69b=!0x1);}}function _0x503d66(_0x304a23){return _0x304a23[_0x19ad79([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x19ad79([0x65,0x79]))?JSON[_0x19ad79([0x70,0x61,0x72,0x73,0x65])](_0x4a9a9f(_0x304a23)):null;}function _0x4a9a9f(_0x452be4){return window[_0x19ad79([0x61,0x74,0x6f,0x62])](_0x452be4[_0x19ad79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x19ad79([0x2b]))[_0x19ad79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x19ad79([0x2f])));}function _0x4f9158(_0x1204b1){let _0x26f219=0x1505;function _0x4d8a29(_0x1a838f){for(let _0x297959=0x0;_0x297959<_0x1a838f[_0x19ad79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x297959++){const _0x28f13d=_0x1a838f[_0x19ad79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x297959);_0x26f219=(_0x26f219<<0x5)+_0x26f219+_0x28f13d,_0x26f219&=_0x26f219;}}function _0x3c6fe0(_0x11d3a4){Array[_0x19ad79([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x11d3a4)?_0x11d3a4[_0x19ad79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c6fe0):_0x11d3a4&&typeof _0x11d3a4==_0x19ad79([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x19ad79([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x11d3a4)[_0x19ad79([0x73,0x6f,0x72,0x74])]()[_0x19ad79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1d4102,_0x568f4f])=>{_0x4d8a29(_0x1d4102),_0x3c6fe0(_0x568f4f);}):_0x4d8a29(window[_0x19ad79([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x11d3a4));}return _0x3c6fe0(_0x1204b1),_0x26f219>>>0x0;}function _0x5a9109(_0x4a867a){return _0x4a867a[_0x19ad79([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x19ad79([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x19ad79([0x30]));}function _0x13be7d(_0x388248){return _0x388248[_0x19ad79([0x73,0x70,0x6c,0x69,0x74])]('')[_0x19ad79([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x19ad79([0x6a,0x6f,0x69,0x6e])]('');}function _0x1977ee(){}function _0x19ad79(_0x5c51c5){return _0x5c51c5['map'](_0x17b387=>String['fromCharCode'](_0x17b387))['join']('');}_0x4b566c(await _0x4df6b5());}(this);}}class ExportInlineStyles extends _0x255cc7{['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 _0x24e867=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4522bb;for(const _0x5a61ea in _0x24e867){const _0x48670a=_0x5a61ea,_0x4f69a2=_0x24e867[_0x48670a];if('exportInlineStylesLicenseKeyValid'==_0x4f69a2||'exportInlineStylesLicenseKeyInvalid'==_0x4f69a2||'exportInlineStylesLicenseKeyExpired'==_0x4f69a2||'exportInlineStylesLicenseKeyDomainLimit'==_0x4f69a2||'exportInlineStylesLicenseKeyNotAllowed'==_0x4f69a2||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x4f69a2||'exportInlineStylesLicenseKeyUsageLimit'==_0x4f69a2){delete _0x24e867[_0x48670a],_0x4522bb=_0x4f69a2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x4522bb&&_0x24e867['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x4522bb&&_0x24e867['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x4522bb&&_0x24e867['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x4522bb&&_0x24e867['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x4522bb&&_0x24e867['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x4522bb&&_0x24e867['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{ExportInlineStyles,ExportInlineStylesCommand,ExportInlineStylesEditing,p as dropImportantStyleSuffix};
23
+ import{Command as _0x5218b9,Plugin as _0x2b374b}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x5a6b60,createElement as _0x4cc145,uid as _0x5e375a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{StylesMap as _0x1b86e3,addMarginStylesRules as _0x2eae0f,addPaddingStylesRules as _0x24d275}from'@ckeditor/ckeditor5-engine/dist/index.js';import{calculate as _0x14ed59,compare as _0x25d5b4}from'specificity';function f(_0x2aa434){const _0x77c0d9=[];let _0x1d9b17='',_0x514620=0x0;for(;_0x514620<_0x2aa434['length'];){const _0x4f62df=_0x2aa434[_0x514620];if('('===_0x4f62df){const _0x2140dc=y(_0x2aa434,_0x514620+0x1);if(-0x1===_0x2140dc)return[];_0x1d9b17+=_0x2aa434['slice'](_0x514620,_0x2140dc+0x1),_0x514620=_0x2140dc+0x1;}else','!==_0x4f62df||_0x1d9b17['endsWith']('\x5c')?(_0x1d9b17+=_0x4f62df,_0x514620++):(_0x77c0d9['push'](_0x1d9b17['trim']()),_0x1d9b17='',_0x514620++);}return _0x1d9b17['trim']()&&_0x77c0d9['push'](_0x1d9b17['trim']()),_0x77c0d9['filter'](Boolean);}function y(_0x48d60a,_0x341dbd){let _0x573f94=0x1;for(let _0x512580=_0x341dbd;_0x512580<_0x48d60a['length'];_0x512580++){const _0x58d4d3=_0x48d60a[_0x512580];if('('===_0x58d4d3)_0x573f94++;else{if(')'===_0x58d4d3&&(_0x573f94--,0x0===_0x573f94))return _0x512580;}}return-0x1;}function p(_0x456640){return _0x456640['replace'](/!\s*important/i,'')['trim']();}function w(_0xddf55f,_0x15105f){const _0x48cff0=new Map(),_0x5f2f8c=_0x280bcd=>_0x48cff0['has'](_0x280bcd)?_0x48cff0['get'](_0x280bcd):_0xddf55f(_0x280bcd);for(const [_0x1f62d7,_0x742998]of _0x15105f['getStylesEntries']())if(_0x742998&&_0x1f62d7['startsWith']('--')){const _0x419fbc=d(_0x5f2f8c,_0x742998);_0x48cff0['set'](_0x1f62d7,_0x419fbc),_0x15105f['remove'](_0x1f62d7);}for(const [_0x3b6b03,_0x3cf594]of _0x15105f['getStylesEntries']())if(_0x3cf594){const _0x2c75ef=d(_0x5f2f8c,_0x3cf594);_0x15105f['set'](_0x3b6b03,_0x2c75ef);}return _0x48cff0;}function d(_0x29b08a,_0x2e6bbe){return function(_0xcd026e,_0x2cfacf){let _0x12da9a='',_0x65913a=0x0;for(;_0x65913a<_0xcd026e['length'];){const _0x4d86f3=_0xcd026e['indexOf']('var(',_0x65913a);if(-0x1===_0x4d86f3){_0x12da9a+=_0xcd026e['slice'](_0x65913a);break;}_0x12da9a+=_0xcd026e['slice'](_0x65913a,_0x4d86f3);const _0x45d7e0=_0x4d86f3+0x4,_0x3cc795=y(_0xcd026e,_0x45d7e0);_0x12da9a+=_0x2cfacf(_0xcd026e['substring'](_0x45d7e0,_0x3cc795)),_0x65913a=_0x3cc795+0x1;}return _0x12da9a;}(_0x2e6bbe,_0x5d7261=>{const [_0x2cb8d5,_0x267e30]=f(_0x5d7261),_0xe0f853=_0x29b08a(_0x2cb8d5);return void 0x0!==_0xe0f853?_0xe0f853:_0x267e30?d(_0x29b08a,_0x267e30):'var('+_0x2cb8d5+')';});}async function m(_0x2b25fc){const _0x200dda=[await _0x5a6b60(_0x2b25fc['stylesheets']),_0x2b25fc['inlineCss']]['filter'](_0x2123d0=>_0x2123d0&&_0x2123d0['length'])['join']('\x0a'),_0x1af495=await async function(_0x19f4e0,_0x72ae88){const _0x456bfc=new CSSStyleSheet();return await _0x456bfc['replace'](_0x72ae88),S(Array['from'](_0x456bfc['cssRules'])['filter'](_0x31f901=>_0x31f901 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x553aa9,contentCssText:_0x503d6c})=>{const _0x21963c=f(_0x553aa9),_0x30292e=new _0x1b86e3(_0x19f4e0)['setTo'](_0x503d6c);return _0x21963c['map'](_0x455b21=>{const _0x1253e1=function(_0xede9a9){const _0x2d1037=':where(';let _0x58b950=_0xede9a9,_0x59a717=0x0;for(let _0xe31c1e=0x0;_0xe31c1e<0x64;_0xe31c1e++){const _0x26830a=_0x58b950['indexOf'](_0x2d1037,_0x59a717);if(-0x1===_0x26830a)break;let _0x26316e=0x0;for(let _0x2f48f0=0x0;_0x2f48f0<_0x26830a;_0x2f48f0++)'('===_0x58b950[_0x2f48f0]?_0x26316e++:')'===_0x58b950[_0x2f48f0]&&_0x26316e--;if(_0x26316e>0x0){_0x59a717=_0x26830a+_0x2d1037['length'];continue;}let _0x27c1bd=-0x1;for(let _0x38071d=_0x26830a+_0x2d1037['length'],_0x40410f=0x1;_0x38071d<_0x58b950['length'];_0x38071d++)if('('===_0x58b950[_0x38071d]?_0x40410f++:')'===_0x58b950[_0x38071d]&&_0x40410f--,!_0x40410f){_0x27c1bd=_0x38071d;break;}-0x1!==_0x27c1bd?(_0x58b950=_0x58b950['slice'](0x0,_0x26830a)+_0x58b950['slice'](_0x27c1bd+0x1),_0x59a717=_0x26830a):_0x59a717=_0x26830a+_0x2d1037['length'];}return _0x58b950['replace'](/\s+/g,'\x20')['trim']();}(_0x455b21),_0x3eef7d=_0x1253e1?_0x14ed59(_0x1253e1)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x30292e,'flatSelector':_0x455b21,'specificity':_0x3eef7d};});})['sort']((_0x1efd74,_0xa97993)=>_0x25d5b4(_0x1efd74['specificity'],_0xa97993['specificity']));}(_0x2b25fc['stylesProcessor'],_0x200dda);return{'parsedCssRules':_0x1af495,'rootCssVariables':function(_0x154176){const _0x5596f2=new Map();for(const {stylesMap:_0x6da649,flatSelector:_0x433072}of _0x154176){if(':root'!==_0x433072)continue;const _0x430881=w(_0x5596f2['get']['bind'](_0x5596f2),_0x6da649);for(const [_0x56fe00,_0x266293]of _0x430881)_0x5596f2['set'](_0x56fe00,_0x266293);}return _0x5596f2;}(_0x1af495)};}function S(_0x5398fe,_0x32a577=''){return _0x5398fe['flatMap'](_0x5bfad3=>{const {selectorText:_0x54ff8f,cssText:_0x3d4849,cssRules:_0x593648}=_0x5bfad3;if(!_0x54ff8f)return[];const _0x2ba7de=_0x54ff8f['replace'](/&/g,_0x32a577);let _0xff4d5e=_0x3d4849['replace'](_0x54ff8f,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x593648||!_0x593648['length'])return[{'selectorText':_0x2ba7de,'contentCssText':_0xff4d5e}];for(const _0x36c2bc of _0x593648)_0xff4d5e=_0xff4d5e['replace'](_0x36c2bc['cssText'],'')['trim']();return[{'selectorText':_0x2ba7de,'contentCssText':_0xff4d5e},...S(Array['from'](_0x593648),_0x2ba7de)];});}function h(_0x1d98ae,_0x1f941b){const _0x416072=new _0x1b86e3(_0x1d98ae);for(const _0x1bf5bf of _0x1f941b){let _0x5756b4=null;if(_0x5756b4='string'==typeof _0x1bf5bf?new _0x1b86e3(_0x1d98ae)['setTo'](_0x1bf5bf):_0x1bf5bf,_0x5756b4){for(const [_0x503c8b,_0x221f07]of _0x5756b4['getStylesEntries']())_0x416072['set'](_0x503c8b,_0x221f07);}}return _0x416072;}class ExportInlineStylesCommand extends _0x5218b9{['_stylesProcessor'];constructor(_0x1e80ae){super(_0x1e80ae),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x2eae0f(this['_stylesProcessor']),_0x24d275(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x223586){const _0x3d6528=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x169fc5}=this['editor']['locale'],{rootName:_0x372133='main',dataControllerDowncastOptions:_0x10d9da={},transformations:_0x1ad213=_0x3d6528['transformations']||[]}=_0x223586||{};this['isBusy']=!0x0,this['refresh']();const _0x280d0a=this['_getRootDataHTMLFragment'](_0x372133,_0x10d9da),_0x567a97=_0x4cc145(_0x280d0a['ownerDocument'],'div',{'dir':_0x169fc5,'class':'ck-content'},[_0x280d0a]);return this['_collectAndApplyStyles'](_0x1ad213,_0x567a97)['then'](()=>{const _0x3fff5c=function(_0x48ecbf){const _0x10ee8d=_0x48ecbf['ownerDocument']['createDocumentFragment']();for(;_0x48ecbf['firstChild'];)_0x10ee8d['appendChild'](_0x48ecbf['firstChild']);return _0x10ee8d;}(_0x567a97),_0x4bc2ac=_0x567a97['getAttribute']('style');if(_0x4bc2ac)for(const _0x2b12d2 of _0x3fff5c['children']){const _0x305cca=_0x2b12d2['getAttribute']('style'),_0x561304=h(this['_stylesProcessor'],[_0x4bc2ac,_0x305cca]);_0x2b12d2['setAttribute']('style',x(_0x561304));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x3fff5c);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x34117b,_0x4ea518){const {data:_0x24ef61,model:_0x4870e2}=this['editor'],_0x50edcd=_0x4870e2['document']['getRoot'](_0x34117b),_0x1fccfb=_0x24ef61['toView'](_0x50edcd,_0x4ea518);return _0x24ef61['htmlProcessor']['domConverter']['viewToDom'](_0x1fccfb);}async['_collectAndApplyStyles'](_0x10e2e8,_0x36dd1e){const {stylesheets:_0x2c8209,inlineCss:_0x1012ba,stripCssClasses:_0x9aa39b}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x3b26db,rootCssVariables:_0x27904d}=await m({'stylesheets':_0x2c8209||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x1012ba}),_0x350002=[];this['_processElementTree']({'transformations':_0x10e2e8,'parsedCssRules':_0x3b26db,'element':_0x36dd1e,'stripCssClasses':_0x9aa39b,'parentCSSVariablesLookup':_0x27904d['get']['bind'](_0x27904d),'runAfterDocumentTransformation':_0x5eabad=>{_0x350002['unshift'](_0x5eabad);}});for(const _0x431218 of _0x350002)_0x431218();}['_processElementTree']({element:_0x3aaf88,parsedCssRules:_0x15ed78,parentCSSVariablesLookup:_0x12d56a,runAfterDocumentTransformation:_0x304cea,stripCssClasses:_0x124243,transformations:_0x3fa9cd}){const {stylesMap:_0x40d154,localCSSVariables:_0xd2f338}=function(_0x2af81e){const _0x2e0db6=_0x2af81e['element']['getAttribute']('style')||'',_0x1efb79=_0x2af81e['parsedCssRules']['filter'](_0x205e57=>_0x2af81e['element']['matches'](_0x205e57['flatSelector']))['map'](_0xf3742b=>_0xf3742b['stylesMap']),_0x4ff80b=h(_0x2af81e['stylesProcessor'],[..._0x1efb79,_0x2e0db6]);return{'localCSSVariables':w(_0x2af81e['fallbackCSSVariablesLookup'],_0x4ff80b),'stylesMap':_0x4ff80b};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x12d56a,'parsedCssRules':_0x15ed78,'element':_0x3aaf88}),_0x3cc717=[];for(const _0x41694c of _0x3fa9cd){const _0x3edf1c=_0x41694c(_0x3aaf88,_0x40d154,{'runAfterDocumentTransformation':_0x304cea,'runAfterChildrenTransformation':_0x55e58f=>{_0x3cc717['unshift'](_0x55e58f);}});_0x3edf1c&&_0x3edf1c instanceof HTMLElement&&(_0x3aaf88=_0x3edf1c);}_0x40d154['size']?_0x3aaf88['setAttribute']('style',x(_0x40d154)):_0x3aaf88['removeAttribute']('style');const _0x2b5f4a=_0x456f22=>_0xd2f338['has'](_0x456f22)?_0xd2f338['get'](_0x456f22):_0x12d56a(_0x456f22);for(const _0x3ff388 of _0x3aaf88['children'])_0x3ff388 instanceof HTMLElement&&this['_processElementTree']({'element':_0x3ff388,'parsedCssRules':_0x15ed78,'stripCssClasses':_0x124243,'transformations':_0x3fa9cd,'parentCSSVariablesLookup':_0x2b5f4a,'runAfterDocumentTransformation':_0x304cea});_0x124243&&_0x3aaf88['removeAttribute']('class');for(const _0x1449d4 of _0x3cc717)_0x1449d4();}}function x(_0x3e39bb){return _0x3e39bb['getStylesEntries']()['map'](_0x2a2533=>_0x2a2533['join'](':'))['join'](';')+';';}class ExportInlineStylesEditing extends _0x2b374b{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(_0x1d7b33){const _0x5681ac=_0x897def([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]),_0x2dc859=0x6f40c3fb,_0x180913=0x6f47482b^_0x2dc859,_0x114bd5=window[_0x897def([0x44,0x61,0x74,0x65])][_0x897def([0x6e,0x6f,0x77])](),_0x47750a=_0x1d7b33[_0x897def([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ecb05=new window[(_0x897def([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d4925=>{_0x47750a[_0x897def([0x6f,0x6e,0x63,0x65])](_0x897def([0x72,0x65,0x61,0x64,0x79]),_0x4d4925);}),_0x31e971={[_0x897def([0x6b,0x74,0x79])]:_0x897def([0x45,0x43]),[_0x897def([0x75,0x73,0x65])]:_0x897def([0x73,0x69,0x67]),[_0x897def([0x63,0x72,0x76])]:_0x897def([0x50,0x2d,0x32,0x35,0x36]),[_0x897def([0x78])]:_0x897def([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]),[_0x897def([0x79])]:_0x897def([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]),[_0x897def([0x61,0x6c,0x67])]:_0x897def([0x45,0x53,0x32,0x35,0x36])},_0x16faa=_0x47750a[_0x897def([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x897def([0x67,0x65,0x74])](_0x897def([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x322776(){let _0xe75a73,_0x236d31=null,_0x306a0b=null;try{if(_0x16faa==_0x897def([0x47,0x50,0x4c]))return _0x897def([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe75a73=_0x471ba6(),!_0xe75a73)return _0x897def([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xe75a73[_0x897def([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x306a0b=_0x314e5a(_0xe75a73[_0x897def([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe75a73[_0x897def([0x6a,0x74,0x69])])),await _0x3b3519()?_0x443477()?_0x2b8403()?_0x897def([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x43e782()?(_0xe75a73[_0x897def([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x897def([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x236d31=_0x4e6981(_0x897def([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x39a303()):_0x897def([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x897def([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x897def([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x897def([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2b8403(){const _0x1f13bf=[_0x897def([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x897def([0x74,0x72,0x69,0x61,0x6c])][_0x897def([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe75a73[_0x897def([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x114bd5/0x3e8:0xe10*_0x180913;return _0xe75a73[_0x897def([0x65,0x78,0x70])]<_0x1f13bf;}function _0x443477(){const _0x20c774=_0xe75a73[_0x897def([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x20c774&&(!!_0x20c774[_0x897def([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x897def([0x2a]))||!!_0x20c774[_0x897def([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x897def([0x45,0x49,0x53])));}function _0x43e782(){const _0x16e640=_0xe75a73[_0x897def([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x16e640||0x0==_0x16e640[_0x897def([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3585f5}=new URL(window[_0x897def([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x16e640[_0x897def([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3585f5))return!0x0;const _0x1a8d2b=_0x3585f5[_0x897def([0x73,0x70,0x6c,0x69,0x74])](_0x897def([0x2e]));return _0x16e640[_0x897def([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d801f=>_0x2d801f[_0x897def([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x897def([0x2a])))[_0x897def([0x6d,0x61,0x70])](_0x2cede6=>_0x2cede6[_0x897def([0x73,0x70,0x6c,0x69,0x74])](_0x897def([0x2e])))[_0x897def([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1483c6=>_0x1483c6[_0x897def([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1a8d2b[_0x897def([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x897def([0x6d,0x61,0x70])](_0x5d73f3=>Array(_0x1a8d2b[_0x897def([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d73f3[_0x897def([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x897def([0x66,0x69,0x6c,0x6c])](_0x5d73f3[0x0]===_0x897def([0x2a])?_0x897def([0x2a]):'')[_0x897def([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d73f3))[_0x897def([0x73,0x6f,0x6d,0x65])](_0x49c172=>_0x1a8d2b[_0x897def([0x65,0x76,0x65,0x72,0x79])]((_0xd9d9cb,_0x4a9bcc)=>_0x49c172[_0x4a9bcc]===_0xd9d9cb||_0x49c172[_0x4a9bcc]===_0x897def([0x2a])));}function _0x39a303(){return _0x236d31&&_0x306a0b?new window[(_0x897def([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9b799c,_0x3f5418)=>{_0x236d31[_0x897def([0x74,0x68,0x65,0x6e])](_0x9b799c,_0x3f5418),_0x306a0b[_0x897def([0x74,0x68,0x65,0x6e])](_0x3c4f96=>{_0x3c4f96!=_0x897def([0x56,0x61,0x6c,0x69,0x64])&&_0x9b799c(_0x3c4f96);},_0x3f5418);}):_0x236d31||_0x306a0b||_0x897def([0x56,0x61,0x6c,0x69,0x64]);}}function _0x314e5a(_0x6d376e,_0x3e4998){return new window[(_0x897def([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59dd2a=>{if(_0x14a9c7())return _0x59dd2a(_0x897def([0x56,0x61,0x6c,0x69,0x64]));_0x4f5f85(),_0x47750a[_0x897def([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x897def([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2fee6c=!0x1;const _0x62a296=_0x5e375a();function _0x5b7c92(_0x5d0589){return!!_0x5d0589&&(typeof _0x5d0589===_0x897def([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d0589===_0x897def([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d0589[_0x897def([0x74,0x68,0x65,0x6e])]===_0x897def([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d0589[_0x897def([0x63,0x61,0x74,0x63,0x68])]===_0x897def([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x45d2e2(_0x1b31b7){_0x558da8(_0x1b31b7)[_0x897def([0x74,0x68,0x65,0x6e])](_0x6c7530=>{if(!_0x6c7530||_0x6c7530[_0x897def([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x897def([0x6f,0x6b]))return _0x897def([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4580bd(_0x3c5d55(_0x62a296+_0x3e4998))!=_0x6c7530[_0x897def([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x897def([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x897def([0x56,0x61,0x6c,0x69,0x64]);})[_0x897def([0x74,0x68,0x65,0x6e])](_0x4c9fb8=>(_0x24686b(),_0x4c9fb8),()=>{const _0x361aa8=_0x2dc112();return null==_0x361aa8?(_0x24686b(),_0x897def([0x56,0x61,0x6c,0x69,0x64])):_0x897def(_0x114bd5-_0x361aa8>(0x4b4c47fb^_0x2dc859)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x897def([0x74,0x68,0x65,0x6e])](_0x59dd2a)[_0x897def([0x63,0x61,0x74,0x63,0x68])](()=>{_0x59dd2a(_0x897def([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1bce04=0x6f762d7b^_0x2dc859;function _0x24686b(){const _0xefbfa=_0x897def([0x6c,0x6c,0x63,0x74,0x2d])+_0x4580bd(_0x3c5d55(_0x6d376e)),_0x4c0699=_0x579752(_0x4580bd(window[_0x897def([0x4d,0x61,0x74,0x68])][_0x897def([0x63,0x65,0x69,0x6c])](_0x114bd5/_0x1bce04)));window[_0x897def([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x897def([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xefbfa,_0x4c0699);}function _0x2dc112(){const _0x169aea=_0x897def([0x6c,0x6c,0x63,0x74,0x2d])+_0x4580bd(_0x3c5d55(_0x6d376e)),_0x3d59fa=window[_0x897def([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x897def([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x169aea);return _0x3d59fa?window[_0x897def([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x579752(_0x3d59fa),0x10)*_0x1bce04:null;}function _0x558da8(_0x47d71e){return new window[(_0x897def([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22ba98,_0x40f391)=>{_0x47d71e[_0x897def([0x74,0x68,0x65,0x6e])](_0x22ba98,_0x40f391),window[_0x897def([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40f391,0x6f41173b^_0x2dc859);});}}_0x47750a[_0x897def([0x6f,0x6e])](_0x897def([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6fac76,_0x43506f)=>{if(_0x43506f[0x0]!=_0x6d376e)return _0x59dd2a(_0x897def([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x43506f[0x1]={..._0x43506f[0x1],[_0x897def([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x62a296};},{[_0x897def([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x897def([0x68,0x69,0x67,0x68])}),_0x47750a[_0x897def([0x6f,0x6e])](_0x897def([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x315a75=>{_0x5b7c92(_0x315a75[_0x897def([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2fee6c=!0x0,_0x45d2e2(_0x315a75[_0x897def([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x897def([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x897def([0x6c,0x6f,0x77])}),_0x2ecb05[_0x897def([0x74,0x68,0x65,0x6e])](()=>{_0x2fee6c||_0x59dd2a(_0x897def([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x14a9c7(){return _0x47750a[_0x897def([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x897def([0x76,0x69,0x65,0x77])][_0x897def([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x897def([0x61,0x75,0x74,0x6f]);}function _0x4f5f85(){_0x47750a[_0x897def([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x897def([0x76,0x69,0x65,0x77])][_0x897def([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x897def([0x61,0x75,0x74,0x6f]);}}function _0x4e6981(_0xf7c191){const _0x36e1f9=[new window[(_0x897def([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e768a=>setTimeout(_0x2e768a,0x6f49fd37^_0x2dc859)),_0x2ecb05[_0x897def([0x74,0x68,0x65,0x6e])](()=>new window[(_0x897def([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4063e3=>{let _0x21e190=0x0;_0x47750a[_0x897def([0x6d,0x6f,0x64,0x65,0x6c])][_0x897def([0x6f,0x6e])](_0x897def([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x44c56f,_0xbfe024)=>{_0xbfe024[0x0][_0x897def([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x21e190++,_0x21e190==(0x6f40c613^_0x2dc859)&&(_0x4063e3(),_0x44c56f[_0x897def([0x6f,0x66,0x66])]());});}))];return window[_0x897def([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x897def([0x72,0x61,0x63,0x65])](_0x36e1f9)[_0x897def([0x74,0x68,0x65,0x6e])](()=>_0xf7c191);}async function _0xf061fa(){await _0x2ecb05;const _0x47b157=_0x47750a['commands'][_0x897def([0x67,0x65,0x74])](_0x897def([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x47b157&&_0x47b157[_0x897def([0x6f,0x6e])](_0x897def([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x19d84b=>{_0x19d84b['stop']();},{'priority':_0x897def([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x47750a[_0x897def([0x6d,0x6f,0x64,0x65,0x6c])][_0x897def([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f6344,_0x47750a[_0x897def([0x6d,0x6f,0x64,0x65,0x6c])][_0x897def([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f6344,_0x47750a[_0x897def([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x897def([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x510e0c(_0x2e425a){const _0x429157=_0x1d336d();_0x47750a[_0x429157]=_0x897def([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])+_0x2e425a,_0x2e425a!=_0x897def([0x56,0x61,0x6c,0x69,0x64])&&_0xf061fa();}function _0x1d336d(){const _0x8b87d3=window[_0x897def([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x897def([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x897def([0x6e,0x6f,0x77])]())[_0x897def([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x897def([0x2e]),'');let _0x449da7=_0x897def([0x44]);for(let _0x1ea12e=0x0;_0x1ea12e<_0x8b87d3[_0x897def([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ea12e+=0x2){let _0x556785=window[_0x897def([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8b87d3[_0x897def([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ea12e,_0x1ea12e+0x2));_0x556785>=_0x5681ac[_0x897def([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x556785-=_0x5681ac[_0x897def([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x449da7+=_0x5681ac[_0x556785];}return _0x449da7;}function _0x471ba6(){const _0x542575=_0x16faa[_0x897def([0x73,0x70,0x6c,0x69,0x74])](_0x897def([0x2e]));if(0x3!=_0x542575[_0x897def([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x39df99(_0x542575[0x1]);function _0x39df99(_0x29550a){const _0x43321f=_0xb34376(_0x29550a);return _0x43321f&&_0x213e9()?_0x43321f:null;function _0x213e9(){const _0x3b1c73=_0x43321f[_0x897def([0x6a,0x74,0x69])],_0xa8158e=window[_0x897def([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b1c73[_0x897def([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b1c73[_0x897def([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4d8514={..._0x43321f,[_0x897def([0x6a,0x74,0x69])]:_0x3b1c73[_0x897def([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3b1c73[_0x897def([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4d8514[_0x897def([0x76,0x63])],_0x3c5d55(_0x4d8514)==_0xa8158e;}}}async function _0x3b3519(){let _0x58ef23=!0x0;try{const _0xf24538=_0x16faa[_0x897def([0x73,0x70,0x6c,0x69,0x74])](_0x897def([0x2e])),[_0xd8e83a,_0x57c5d1,_0x434d9c]=_0xf24538;return _0x58c080(_0xd8e83a),await _0x520207(_0xd8e83a,_0x57c5d1,_0x434d9c),_0x58ef23;}catch{return!0x1;}function _0x58c080(_0x57e090){const _0x407815=_0xb34376(_0x57e090);_0x407815&&_0x407815[_0x897def([0x61,0x6c,0x67])]==_0x897def([0x45,0x53,0x32,0x35,0x36])||(_0x58ef23=!0x1);}async function _0x520207(_0xeecd6,_0x15b104,_0x1d3c44){const _0x4a936f=window[_0x897def([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x897def([0x66,0x72,0x6f,0x6d])](_0xdb83f3(_0x1d3c44),_0x42dee7=>_0x42dee7[_0x897def([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x49caf5=new window[(_0x897def([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x897def([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xeecd6+_0x897def([0x2e])+_0x15b104),_0x4d2b8b=window[_0x897def([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x897def([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d2b8b)return;const _0x500456=await _0x4d2b8b[_0x897def([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x897def([0x6a,0x77,0x6b]),_0x31e971,{[_0x897def([0x6e,0x61,0x6d,0x65])]:_0x897def([0x45,0x43,0x44,0x53,0x41]),[_0x897def([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x897def([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x897def([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d2b8b[_0x897def([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x897def([0x6e,0x61,0x6d,0x65])]:_0x897def([0x45,0x43,0x44,0x53,0x41]),[_0x897def([0x68,0x61,0x73,0x68])]:{[_0x897def([0x6e,0x61,0x6d,0x65])]:_0x897def([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x500456,_0x4a936f,_0x49caf5)||(_0x58ef23=!0x1);}}function _0xb34376(_0xa03f00){return _0xa03f00[_0x897def([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x897def([0x65,0x79]))?JSON[_0x897def([0x70,0x61,0x72,0x73,0x65])](_0xdb83f3(_0xa03f00)):null;}function _0xdb83f3(_0x5424c1){return window[_0x897def([0x61,0x74,0x6f,0x62])](_0x5424c1[_0x897def([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x897def([0x2b]))[_0x897def([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x897def([0x2f])));}function _0x3c5d55(_0x3947ff){let _0x4023ec=0x1505;function _0x3e46ef(_0x3e7813){for(let _0x982fe6=0x0;_0x982fe6<_0x3e7813[_0x897def([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x982fe6++){const _0x2ba2de=_0x3e7813[_0x897def([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x982fe6);_0x4023ec=(_0x4023ec<<0x5)+_0x4023ec+_0x2ba2de,_0x4023ec&=_0x4023ec;}}function _0x39bbfd(_0x536d8d){Array[_0x897def([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x536d8d)?_0x536d8d[_0x897def([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39bbfd):_0x536d8d&&typeof _0x536d8d==_0x897def([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x897def([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x536d8d)[_0x897def([0x73,0x6f,0x72,0x74])]()[_0x897def([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x348d64,_0x3dadff])=>{_0x3e46ef(_0x348d64),_0x39bbfd(_0x3dadff);}):_0x3e46ef(window[_0x897def([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x536d8d));}return _0x39bbfd(_0x3947ff),_0x4023ec>>>0x0;}function _0x4580bd(_0x1d1b7b){return _0x1d1b7b[_0x897def([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x897def([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x897def([0x30]));}function _0x579752(_0x4a9482){return _0x4a9482[_0x897def([0x73,0x70,0x6c,0x69,0x74])]('')[_0x897def([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x897def([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f6344(){}function _0x897def(_0x5ef50a){return _0x5ef50a['map'](_0x2c27fc=>String['fromCharCode'](_0x2c27fc))['join']('');}_0x510e0c(await _0x322776());}(this);}}class ExportInlineStyles extends _0x2b374b{['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 _0x3b0366=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x17ec7d;for(const _0x57f048 in _0x3b0366){const _0x7898e5=_0x57f048,_0x492895=_0x3b0366[_0x7898e5];if('exportInlineStylesLicenseKeyValid'==_0x492895||'exportInlineStylesLicenseKeyInvalid'==_0x492895||'exportInlineStylesLicenseKeyExpired'==_0x492895||'exportInlineStylesLicenseKeyDomainLimit'==_0x492895||'exportInlineStylesLicenseKeyNotAllowed'==_0x492895||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x492895||'exportInlineStylesLicenseKeyUsageLimit'==_0x492895){delete _0x3b0366[_0x7898e5],_0x17ec7d=_0x492895,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x17ec7d&&_0x3b0366['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x17ec7d&&_0x3b0366['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x17ec7d&&_0x3b0366['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x17ec7d&&_0x3b0366['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x17ec7d&&_0x3b0366['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x17ec7d&&_0x3b0366['_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.2.0-alpha.7",
3
+ "version": "48.2.0",
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.2.0-alpha.7",
38
- "@ckeditor/ckeditor5-engine": "48.2.0-alpha.7",
39
- "@ckeditor/ckeditor5-utils": "48.2.0-alpha.7",
37
+ "@ckeditor/ckeditor5-core": "48.2.0",
38
+ "@ckeditor/ckeditor5-engine": "48.2.0",
39
+ "@ckeditor/ckeditor5-utils": "48.2.0",
40
40
  "specificity": "0.4.1"
41
41
  },
42
42
  "files": [