@ckeditor/ckeditor5-email 48.1.0 → 48.8.1-alpha.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 +10 -10
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4e776d}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x1f3d56}from'@ckeditor/ckeditor5-utils/dist/index.js';import{dropImportantStyleSuffix as _0x518424}from'@ckeditor/ckeditor5-export-inline-styles/dist/index.js';const r='https://ckeditor.com/docs/ckeditor5/latest';class s extends _0x4e776d{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x461e78){super(_0x461e78),_0x461e78['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x32e1f0){const _0x245ea7=_0x45dc36([0x75,0x69,0x7a,0x54,0x64,0x76,0x79,0x42,0x49,0x61,0x34,0x52,0x4b,0x73,0x6e,0x4f,0x59,0x6d,0x45,0x58,0x47,0x4d,0x66,0x6a,0x65,0x68,0x77,0x4a,0x51,0x71,0x62,0x50,0x53,0x43,0x6b,0x37,0x44,0x74,0x5a,0x67,0x46,0x35,0x38,0x4c,0x78,0x6c,0x32,0x39,0x48,0x6f,0x36,0x63,0x41,0x55,0x57,0x31,0x70,0x56,0x33,0x4e,0x72,0x30]),_0x2dd731=0x7780c648,_0x2f21ad=0x77874fb8^_0x2dd731,_0x188c2f=window[_0x45dc36([0x44,0x61,0x74,0x65])][_0x45dc36([0x6e,0x6f,0x77])](),_0xb074e8=_0x32e1f0[_0x45dc36([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x13ad6b=new window[(_0x45dc36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f82e5=>{_0xb074e8[_0x45dc36([0x6f,0x6e,0x63,0x65])](_0x45dc36([0x72,0x65,0x61,0x64,0x79]),_0x3f82e5);}),_0x1f5753={[_0x45dc36([0x6b,0x74,0x79])]:_0x45dc36([0x45,0x43]),[_0x45dc36([0x75,0x73,0x65])]:_0x45dc36([0x73,0x69,0x67]),[_0x45dc36([0x63,0x72,0x76])]:_0x45dc36([0x50,0x2d,0x32,0x35,0x36]),[_0x45dc36([0x78])]:_0x45dc36([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]),[_0x45dc36([0x79])]:_0x45dc36([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]),[_0x45dc36([0x61,0x6c,0x67])]:_0x45dc36([0x45,0x53,0x32,0x35,0x36])},_0x59ce73=_0xb074e8[_0x45dc36([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x45dc36([0x67,0x65,0x74])](_0x45dc36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x42ed86(){let _0x219f70,_0x33d540=null,_0x8d933b=null;try{if(_0x59ce73==_0x45dc36([0x47,0x50,0x4c]))return _0x45dc36([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x219f70=_0x48aeff(),!_0x219f70)return _0x45dc36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x219f70[_0x45dc36([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x8d933b=_0x1835d0(_0x219f70[_0x45dc36([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x219f70[_0x45dc36([0x6a,0x74,0x69])])),await _0x646833()?_0x2c1535()?_0x4a335()?_0x45dc36([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d4f7a()?(_0x219f70[_0x45dc36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45dc36([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x33d540=_0x50d8a1(_0x45dc36([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d2a90()):_0x45dc36([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x45dc36([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x45dc36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x45dc36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a335(){const _0x4e773b=[_0x45dc36([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x45dc36([0x74,0x72,0x69,0x61,0x6c])][_0x45dc36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x219f70[_0x45dc36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x188c2f/0x3e8:0xe10*_0x2f21ad;return _0x219f70[_0x45dc36([0x65,0x78,0x70])]<_0x4e773b;}function _0x2c1535(){const _0x1d720a=_0x219f70[_0x45dc36([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1d720a&&(!!_0x1d720a[_0x45dc36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45dc36([0x2a]))||!!_0x1d720a[_0x45dc36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45dc36([0x45,0x43,0x48])));}function _0x3d4f7a(){const _0x6ab8ab=_0x219f70[_0x45dc36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6ab8ab||0x0==_0x6ab8ab[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4b21ed}=new URL(window[_0x45dc36([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x6ab8ab[_0x45dc36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b21ed))return!0x0;const _0x135209=_0x4b21ed[_0x45dc36([0x73,0x70,0x6c,0x69,0x74])](_0x45dc36([0x2e]));return _0x6ab8ab[_0x45dc36([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f619c=>_0x1f619c[_0x45dc36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45dc36([0x2a])))[_0x45dc36([0x6d,0x61,0x70])](_0x2619e4=>_0x2619e4[_0x45dc36([0x73,0x70,0x6c,0x69,0x74])](_0x45dc36([0x2e])))[_0x45dc36([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ac4b5=>_0x3ac4b5[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x135209[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45dc36([0x6d,0x61,0x70])](_0xb1fbfb=>Array(_0x135209[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xb1fbfb[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45dc36([0x66,0x69,0x6c,0x6c])](_0xb1fbfb[0x0]===_0x45dc36([0x2a])?_0x45dc36([0x2a]):'')[_0x45dc36([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xb1fbfb))[_0x45dc36([0x73,0x6f,0x6d,0x65])](_0x3f0e72=>_0x135209[_0x45dc36([0x65,0x76,0x65,0x72,0x79])]((_0x5972de,_0x531de3)=>_0x3f0e72[_0x531de3]===_0x5972de||_0x3f0e72[_0x531de3]===_0x45dc36([0x2a])));}function _0x4d2a90(){return _0x33d540&&_0x8d933b?new window[(_0x45dc36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c9a54,_0x551a3b)=>{_0x33d540[_0x45dc36([0x74,0x68,0x65,0x6e])](_0x4c9a54,_0x551a3b),_0x8d933b[_0x45dc36([0x74,0x68,0x65,0x6e])](_0x5cc31d=>{_0x5cc31d!=_0x45dc36([0x56,0x61,0x6c,0x69,0x64])&&_0x4c9a54(_0x5cc31d);},_0x551a3b);}):_0x33d540||_0x8d933b||_0x45dc36([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1835d0(_0x5c1c60,_0x867d6c){return new window[(_0x45dc36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a0eaf=>{if(_0x2497fd())return _0x1a0eaf(_0x45dc36([0x56,0x61,0x6c,0x69,0x64]));_0xd908d0(),_0xb074e8[_0x45dc36([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x45dc36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x591ce0=!0x1;const _0x48bb7a=_0x1f3d56();function _0x356e61(_0x2ca518){return!!_0x2ca518&&(typeof _0x2ca518===_0x45dc36([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ca518===_0x45dc36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ca518[_0x45dc36([0x74,0x68,0x65,0x6e])]===_0x45dc36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ca518[_0x45dc36([0x63,0x61,0x74,0x63,0x68])]===_0x45dc36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x45f7bd(_0x268cab){_0x21c3dd(_0x268cab)[_0x45dc36([0x74,0x68,0x65,0x6e])](_0x2e5558=>{if(!_0x2e5558||_0x2e5558[_0x45dc36([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x45dc36([0x6f,0x6b]))return _0x45dc36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x34c3c4(_0x52fd0a(_0x48bb7a+_0x867d6c))!=_0x2e5558[_0x45dc36([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x45dc36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x45dc36([0x56,0x61,0x6c,0x69,0x64]);})[_0x45dc36([0x74,0x68,0x65,0x6e])](_0x40880b=>(_0x108e6b(),_0x40880b),()=>{const _0x36fe46=_0x349671();return null==_0x36fe46?(_0x108e6b(),_0x45dc36([0x56,0x61,0x6c,0x69,0x64])):_0x45dc36(_0x188c2f-_0x36fe46>(0x538c4248^_0x2dd731)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x45dc36([0x74,0x68,0x65,0x6e])](_0x1a0eaf)[_0x45dc36([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1a0eaf(_0x45dc36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x514562=0x77b628c8^_0x2dd731;function _0x108e6b(){const _0x4ffb0a=_0x45dc36([0x6c,0x6c,0x63,0x74,0x2d])+_0x34c3c4(_0x52fd0a(_0x5c1c60)),_0x395550=_0x4188f8(_0x34c3c4(window[_0x45dc36([0x4d,0x61,0x74,0x68])][_0x45dc36([0x63,0x65,0x69,0x6c])](_0x188c2f/_0x514562)));window[_0x45dc36([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45dc36([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ffb0a,_0x395550);}function _0x349671(){const _0x43e1f1=_0x45dc36([0x6c,0x6c,0x63,0x74,0x2d])+_0x34c3c4(_0x52fd0a(_0x5c1c60)),_0x143bd6=window[_0x45dc36([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45dc36([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43e1f1);return _0x143bd6?window[_0x45dc36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4188f8(_0x143bd6),0x10)*_0x514562:null;}function _0x21c3dd(_0x4d6e8f){return new window[(_0x45dc36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30bc27,_0x4757cc)=>{_0x4d6e8f[_0x45dc36([0x74,0x68,0x65,0x6e])](_0x30bc27,_0x4757cc),window[_0x45dc36([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4757cc,0x77811288^_0x2dd731);});}}_0xb074e8[_0x45dc36([0x6f,0x6e])](_0x45dc36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x520da4,_0x5a627c)=>{if(_0x5a627c[0x0]!=_0x5c1c60)return _0x1a0eaf(_0x45dc36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a627c[0x1]={..._0x5a627c[0x1],[_0x45dc36([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x48bb7a};},{[_0x45dc36([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45dc36([0x68,0x69,0x67,0x68])}),_0xb074e8[_0x45dc36([0x6f,0x6e])](_0x45dc36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3163b7=>{_0x356e61(_0x3163b7[_0x45dc36([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x591ce0=!0x0,_0x45f7bd(_0x3163b7[_0x45dc36([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x45dc36([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45dc36([0x6c,0x6f,0x77])}),_0x13ad6b[_0x45dc36([0x74,0x68,0x65,0x6e])](()=>{_0x591ce0||_0x1a0eaf(_0x45dc36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2497fd(){return _0xb074e8[_0x45dc36([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45dc36([0x76,0x69,0x65,0x77])][_0x45dc36([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x45dc36([0x61,0x75,0x74,0x6f]);}function _0xd908d0(){_0xb074e8[_0x45dc36([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45dc36([0x76,0x69,0x65,0x77])][_0x45dc36([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x45dc36([0x61,0x75,0x74,0x6f]);}}function _0x50d8a1(_0x342c2c){const _0x77cef2=[new window[(_0x45dc36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d8a49=>setTimeout(_0x4d8a49,0x7789f884^_0x2dd731)),_0x13ad6b[_0x45dc36([0x74,0x68,0x65,0x6e])](()=>new window[(_0x45dc36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32d205=>{let _0x55899d=0x0;_0xb074e8[_0x45dc36([0x6d,0x6f,0x64,0x65,0x6c])][_0x45dc36([0x6f,0x6e])](_0x45dc36([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x346802,_0x1c0eea)=>{_0x1c0eea[0x0][_0x45dc36([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x55899d++,_0x55899d==(0x7780c3a0^_0x2dd731)&&(_0x32d205(),_0x346802[_0x45dc36([0x6f,0x66,0x66])]());});}))];return window[_0x45dc36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x45dc36([0x72,0x61,0x63,0x65])](_0x77cef2)[_0x45dc36([0x74,0x68,0x65,0x6e])](()=>_0x342c2c);}async function _0x17a90f(){await _0x13ad6b,_0xb074e8[_0x45dc36([0x6d,0x6f,0x64,0x65,0x6c])][_0x45dc36([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x365e8e,_0xb074e8[_0x45dc36([0x6d,0x6f,0x64,0x65,0x6c])][_0x45dc36([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x365e8e,_0xb074e8[_0x45dc36([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x45dc36([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x555f7d(_0x238e92){const _0x2ea708=_0x2ae2cf();_0xb074e8[_0x2ea708]=_0x45dc36([0x65,0x6d,0x61,0x69,0x6c,0x43,0x6f,0x6e,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x48,0x65,0x6c,0x70,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x238e92,_0x238e92!=_0x45dc36([0x56,0x61,0x6c,0x69,0x64])&&_0x17a90f();}function _0x2ae2cf(){const _0x28b5b5=window[_0x45dc36([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x45dc36([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x45dc36([0x6e,0x6f,0x77])]())[_0x45dc36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x45dc36([0x2e]),'');let _0x3932b8=_0x45dc36([0x75]);for(let _0xdbafc0=0x0;_0xdbafc0<_0x28b5b5[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdbafc0+=0x2){let _0x3e1d17=window[_0x45dc36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28b5b5[_0x45dc36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xdbafc0,_0xdbafc0+0x2));_0x3e1d17>=_0x245ea7[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3e1d17-=_0x245ea7[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3932b8+=_0x245ea7[_0x3e1d17];}return _0x3932b8;}function _0x48aeff(){const _0x34afff=_0x59ce73[_0x45dc36([0x73,0x70,0x6c,0x69,0x74])](_0x45dc36([0x2e]));if(0x3!=_0x34afff[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33b8bb(_0x34afff[0x1]);function _0x33b8bb(_0x5b1dbc){const _0x2d03bb=_0x3635c3(_0x5b1dbc);return _0x2d03bb&&_0xda3355()?_0x2d03bb:null;function _0xda3355(){const _0x3c61ca=_0x2d03bb[_0x45dc36([0x6a,0x74,0x69])],_0x27d8e2=window[_0x45dc36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c61ca[_0x45dc36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c61ca[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1da00c={..._0x2d03bb,[_0x45dc36([0x6a,0x74,0x69])]:_0x3c61ca[_0x45dc36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3c61ca[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1da00c[_0x45dc36([0x76,0x63])],_0x52fd0a(_0x1da00c)==_0x27d8e2;}}}async function _0x646833(){let _0x5581b4=!0x0;try{const _0x21826c=_0x59ce73[_0x45dc36([0x73,0x70,0x6c,0x69,0x74])](_0x45dc36([0x2e])),[_0x34ce81,_0x47abd2,_0x149729]=_0x21826c;return _0x165326(_0x34ce81),await _0x12dbe8(_0x34ce81,_0x47abd2,_0x149729),_0x5581b4;}catch{return!0x1;}function _0x165326(_0x2cc565){const _0x231b51=_0x3635c3(_0x2cc565);_0x231b51&&_0x231b51[_0x45dc36([0x61,0x6c,0x67])]==_0x45dc36([0x45,0x53,0x32,0x35,0x36])||(_0x5581b4=!0x1);}async function _0x12dbe8(_0x1c4318,_0x4052e8,_0x5c2fa0){const _0x48905a=window[_0x45dc36([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x45dc36([0x66,0x72,0x6f,0x6d])](_0x4119bf(_0x5c2fa0),_0x422ada=>_0x422ada[_0x45dc36([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xfded3f=new window[(_0x45dc36([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x45dc36([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1c4318+_0x45dc36([0x2e])+_0x4052e8),_0x3cc436=window[_0x45dc36([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x45dc36([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3cc436)return;const _0x43e9b7=await _0x3cc436[_0x45dc36([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x45dc36([0x6a,0x77,0x6b]),_0x1f5753,{[_0x45dc36([0x6e,0x61,0x6d,0x65])]:_0x45dc36([0x45,0x43,0x44,0x53,0x41]),[_0x45dc36([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x45dc36([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x45dc36([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3cc436[_0x45dc36([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x45dc36([0x6e,0x61,0x6d,0x65])]:_0x45dc36([0x45,0x43,0x44,0x53,0x41]),[_0x45dc36([0x68,0x61,0x73,0x68])]:{[_0x45dc36([0x6e,0x61,0x6d,0x65])]:_0x45dc36([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x43e9b7,_0x48905a,_0xfded3f)||(_0x5581b4=!0x1);}}function _0x3635c3(_0x2fd94d){return _0x2fd94d[_0x45dc36([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x45dc36([0x65,0x79]))?JSON[_0x45dc36([0x70,0x61,0x72,0x73,0x65])](_0x4119bf(_0x2fd94d)):null;}function _0x4119bf(_0x44bb27){return window[_0x45dc36([0x61,0x74,0x6f,0x62])](_0x44bb27[_0x45dc36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x45dc36([0x2b]))[_0x45dc36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x45dc36([0x2f])));}function _0x52fd0a(_0x22e699){let _0x2bdf7f=0x1505;function _0x9fca61(_0x4b5d84){for(let _0x43f1a4=0x0;_0x43f1a4<_0x4b5d84[_0x45dc36([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43f1a4++){const _0x1cfd6e=_0x4b5d84[_0x45dc36([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x43f1a4);_0x2bdf7f=(_0x2bdf7f<<0x5)+_0x2bdf7f+_0x1cfd6e,_0x2bdf7f&=_0x2bdf7f;}}function _0xa44e75(_0x18f219){Array[_0x45dc36([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x18f219)?_0x18f219[_0x45dc36([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa44e75):_0x18f219&&typeof _0x18f219==_0x45dc36([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x45dc36([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x18f219)[_0x45dc36([0x73,0x6f,0x72,0x74])]()[_0x45dc36([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1914f8,_0x5df720])=>{_0x9fca61(_0x1914f8),_0xa44e75(_0x5df720);}):_0x9fca61(window[_0x45dc36([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x18f219));}return _0xa44e75(_0x22e699),_0x2bdf7f>>>0x0;}function _0x34c3c4(_0x165945){return _0x165945[_0x45dc36([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x45dc36([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x45dc36([0x30]));}function _0x4188f8(_0x54ea27){return _0x54ea27[_0x45dc36([0x73,0x70,0x6c,0x69,0x74])]('')[_0x45dc36([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x45dc36([0x6a,0x6f,0x69,0x6e])]('');}function _0x365e8e(){}function _0x45dc36(_0x5ae60d){return _0x5ae60d['map'](_0x46a8c1=>String['fromCharCode'](_0x46a8c1))['join']('');}_0x555f7d(await _0x42ed86());}(this);}['_logSuppressibleWarning'](_0x3793bd,_0x2097a7){if(this['_isSuppressedLog'](_0x3793bd,_0x2097a7))return;const _0x4cc924=r+'/support/error-codes.html#error-'+_0x3793bd;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x3793bd,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x2097a7?[_0x2097a7]:[],'\x0aRead\x20more:\x20'+_0x4cc924);}['_logSuppressibleInfo'](_0x571148,_0x328dfc,_0xde19ad){if(this['_isSuppressedLog'](_0x571148))return;let _0x5ab373=_0x328dfc;_0xde19ad&&(_0x5ab373+='\x0aRead\x20more:\x20'+(r+'/'+_0xde19ad)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x571148,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x5ab373);}['_checkUnsupportedPlugin'](_0x4ffe74,_0x186fd4){this['editor']['plugins']['has'](_0x4ffe74)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x4ffe74,..._0x186fd4});}['_validateConfigColorValue'](_0x10ad5e){const _0x135f55=this['editor']['config']['get'](_0x10ad5e);if(!_0x135f55)return;const _0x4e861e=Array['isArray'](_0x135f55),_0x5e75b4=_0x4e861e?_0x135f55:[_0x135f55];for(const [_0x29770a,_0x4a1e0b]of _0x5e75b4['entries']()){const _0x2b651a='string'==typeof _0x4a1e0b?_0x4a1e0b:_0x4a1e0b['color'];a(_0x2b651a)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x4e861e?_0x10ad5e+'['+_0x29770a+']':_0x10ad5e,'color':_0x2b651a});}}['_validateConfigColorFormat'](_0x2ae80a){const _0xf45782=this['editor']['config']['get'](_0x2ae80a);_0xf45782&&l(_0xf45782)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x2ae80a,'format':_0xf45782});}['_isSuppressedLog'](_0x72f5ea,_0x507e37){const _0x4094be=this['editor']['config']['get']('email.logs');return!!_0x4094be['suppressAll']||(!('function'!=typeof _0x4094be['suppress']||!_0x4094be['suppress'](_0x72f5ea,_0x507e37))||!(!Array['isArray'](_0x4094be['suppress'])||!_0x4094be['suppress']['includes'](_0x72f5ea)));}}const o=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function a(_0x44dfbd){return!!_0x44dfbd&&o['some'](_0x23dee9=>_0x44dfbd['includes'](_0x23dee9+'('));}function l(_0x230dcf){return!!_0x230dcf&&o['includes'](_0x230dcf);}class u extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'HighlightEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('Highlight');}}function c(_0x593d36,_0x4f66ff){const _0x543bd3=_0x593d36['ownerDocument'],{table:_0x25f239,cell:_0x38717b}=g(_0x543bd3,'100%');_0x4f66ff['align']&&_0x38717b['setAttribute']('align',_0x518424(_0x4f66ff['align']));let _0xfedc5f=_0x38717b;if(_0x4f66ff['width']){const {table:_0x1b79c2,cell:_0x48915a}=g(_0x543bd3,_0x518424(_0x4f66ff['width']));_0x38717b['appendChild'](_0x1b79c2),_0xfedc5f=_0x48915a;}return _0x593d36['replaceWith'](_0x25f239),_0x593d36['removeAttribute']('align'),_0x593d36['removeAttribute']('width'),_0xfedc5f['appendChild'](_0x593d36),_0xfedc5f;}function g(_0x4cd768,_0x508c5a){const _0x2dc171=_0x4cd768['createElement']('table');_0x508c5a&&(_0x2dc171['style']['width']=_0x508c5a,_0x2dc171['setAttribute']('width',h(_0x508c5a))),_0x2dc171['setAttribute']('cellpadding','0'),_0x2dc171['setAttribute']('cellspacing','0'),_0x2dc171['setAttribute']('border','0'),_0x2dc171['setAttribute']('role','presentation');const _0x4040d4=_0x4cd768['createElement']('tbody'),_0xf7f9d2=_0x4cd768['createElement']('tr'),_0x5e5bec=_0x4cd768['createElement']('td');return _0x2dc171['appendChild'](_0x4040d4),_0x4040d4['appendChild'](_0xf7f9d2),_0xf7f9d2['appendChild'](_0x5e5bec),{'table':_0x2dc171,'cell':_0x5e5bec};}function f(_0x202369){const _0x28e984=_0x202369['getAsString']('margin-left'),_0x4d9579=_0x202369['getAsString']('margin-right'),_0x577f51=_0x28e984&&_0x518424(_0x28e984),_0x50b952=_0x4d9579&&_0x518424(_0x4d9579);return'auto'===_0x577f51&&'auto'===_0x50b952?'center':'auto'===_0x577f51?'right':'auto'===_0x50b952?'left':void 0x0;}function m(_0x21f7fe,_0x2d2efc){const _0x1a2f1b=_0x21f7fe['ownerDocument']['createElement'](_0x2d2efc);for(const _0x25d184 of Array['from'](_0x21f7fe['attributes']))_0x1a2f1b['setAttribute'](_0x25d184['name'],_0x25d184['value']);for(;_0x21f7fe['firstChild'];)_0x1a2f1b['appendChild'](_0x21f7fe['firstChild']);return _0x1a2f1b;}function d(_0x8da7d){if('TABLE'!==_0x8da7d['tagName'])return!0x1;if('presentation'!==_0x8da7d['getAttribute']('role'))return!0x1;const _0x40c116=p(_0x8da7d);return null!==_0x40c116&&_0x40c116['hasAttribute']('align');}function p(_0x3b5c64){let _0x5b5882=_0x3b5c64;0x1===_0x3b5c64['children']['length']&&'TBODY'===_0x3b5c64['children'][0x0]['tagName']&&(_0x5b5882=_0x3b5c64['children'][0x0]);const _0x329859=_0x5b5882['children'];if(0x1!==_0x329859['length']||'TR'!==_0x329859[0x0]['tagName'])return null;const _0x31f973=_0x329859[0x0]['children'];return 0x1!==_0x31f973['length']||'TD'!==_0x31f973[0x0]['tagName']?null:_0x31f973[0x0];}function h(_0x52fa82){return function(_0xef681e){if(_0xef681e['endsWith']('px'))return _0xef681e['slice'](0x0,-0x2);return _0xef681e;}(_0x518424(_0x52fa82));}const w=(_0x3a8930,_0x44a980,{runAfterDocumentTransformation:_0x2c24f1,runAfterChildrenTransformation:_0x1d540e})=>{if('FIGURE'!==_0x3a8930['tagName'])return;const _0x19d2e8=_0x44a980['getAsString']('float');if(_0x19d2e8){if(y(_0x3a8930))_0x2c24f1(()=>{const _0x365067=y(_0x3a8930);_0x365067&&P(_0x3a8930,_0x365067,{'align':_0x19d2e8});});else{const {table:_0x2fd99e,cell:_0xc124a}=g(_0x3a8930['ownerDocument']);_0x2fd99e['setAttribute']('align',_0x518424(_0x19d2e8)),_0x2fd99e['setAttribute']('style',function(_0x52fbb9){return _0x52fbb9['getStylesEntries']()['map'](_0x5078a4=>_0x5078a4['join'](':'))['join'](';')+';';}(_0x44a980)),_0x1d540e(()=>{for(const _0x8901ef of Array['from'](_0x3a8930['childNodes']))_0xc124a['appendChild'](_0x8901ef);}),_0x2c24f1(()=>{_0x3a8930['replaceWith'](_0x2fd99e);});}}else{const _0x96a9da=f(_0x44a980),_0x5bf47f=_0x44a980['getAsString']('width');if(!_0x96a9da&&!_0x5bf47f)return;c(_0x3a8930,{'align':_0x96a9da,'width':_0x5bf47f}),_0x5bf47f&&_0x44a980['set']('width','100%'),_0x44a980['remove']('margin-left'),_0x44a980['remove']('margin-right'),_0x44a980['remove']('min-width'),_0x44a980['remove']('max-width'),_0x2c24f1(()=>{const _0x5514c4=y(_0x3a8930);if(_0x5514c4)P(_0x3a8930,_0x5514c4);else{const _0x5561c9=m(_0x3a8930,'div');_0x3a8930['replaceWith'](_0x5561c9);}});}};function P(_0x339e2b,_0x271e68,_0x4e632e={}){for(const _0x4e557a of['id','class']){const _0xd52022=_0x339e2b['getAttribute'](_0x4e557a);_0xd52022&&_0x271e68['setAttribute'](_0x4e557a,_0xd52022);}for(const _0x5530b6 of['display','float','width','height'])_0x271e68['style']['removeProperty'](_0x5530b6);const _0x59ac5a=_0x339e2b['getAttribute']('style');if(_0x59ac5a){const _0xf47e58=_0x271e68['getAttribute']('style')||'';_0x271e68['setAttribute']('style',_0x59ac5a+_0xf47e58);}_0x4e632e['align']&&_0x271e68['setAttribute']('align',_0x518424(_0x4e632e['align'])),_0x339e2b['replaceWith'](_0x271e68);}function y(_0x3e6009){const _0x229822=Array['from'](_0x3e6009['children']);return 0x1===_0x229822['length']&&'TABLE'===_0x229822[0x0]['tagName']?_0x229822[0x0]:null;}class b extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x4f6bfd,plugins:_0x4619ba}=this['editor'],_0x13e715=_0x4f6bfd['get']('exportInlineStyles');if(_0x13e715?.['transformations']?.['includes'](w))return;_0x4619ba['get'](s)['_checkUnsupportedPlugin']('ImageBlock',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}}class I extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'MathTypeEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('MathType');}}class E extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5be9bd=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('ExportInlineStyles')||_0x5be9bd['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class k extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x389931=this['editor']['plugins']['get'](s),_0x14d08e=this['editor']['config']['get']('list');_0x14d08e&&_0x14d08e['properties']&&_0x14d08e['properties']['reversed']&&_0x389931['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x14d08e&&_0x14d08e['enableListItemMarkerFormatting']&&_0x389931['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class x extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'TableEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['_checkRequiredTablePlugins'](),this['_checkTableConfig']();}['_checkRequiredTablePlugins'](){const {plugins:_0x2aa3bf}=this['editor'],_0x31c6b9=_0x2aa3bf['get'](s);_0x2aa3bf['has']('Table')&&(_0x2aa3bf['has']('PlainTableOutput')||_0x31c6b9['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x2aa3bf['has']('TableLayout')||_0x31c6b9['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x4972e2,plugins:_0x420720}=this['editor'];_0x4972e2['get']('table')&&_0x420720['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x476266){const _0xeb05bb=this['editor']['plugins']['get'](s);_0xeb05bb['_validateConfigColorValue']('table.'+_0x476266+'.borderColors'),_0xeb05bb['_validateConfigColorValue']('table.'+_0x476266+'.backgroundColors'),_0xeb05bb['_validateConfigColorValue']('table.'+_0x476266+'.defaultProperties.borderColor'),_0xeb05bb['_validateConfigColorValue']('table.'+_0x476266+'.defaultProperties'),_0xeb05bb['_validateConfigColorFormat']('table.'+_0x476266+'.colorPicker.format');}}class C extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x34bce8=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('EmptyBlock')||_0x34bce8['_logSuppressibleInfo']('email-configuration-missing-empty-block-plugin','Consider\x20enabling\x20the\x20EmptyBlock\x20plugin\x20to\x20ensure\x20that\x20exported\x20content\x20has\x20empty\x20blocks.','features/email-editing/email.html#empty-block-plugin');}}class L extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x31bb2b}=this['editor'];_0x31bb2b['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x31bb2b['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x3095be){const _0x22f0eb=this['editor']['plugins']['get'](s);this['editor']['config']['get'](_0x3095be)&&(_0x22f0eb['_validateConfigColorValue'](_0x3095be+'.colors'),_0x22f0eb['_validateConfigColorValue'](_0x3095be+'.documentColors'),_0x22f0eb['_validateConfigColorFormat'](_0x3095be+'.colorPicker.format'));}}class T extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x5398c3}=this['editor'],_0x41ba5d=_0x5398c3['get'](s);_0x5398c3['has']('SourceEditing')||_0x5398c3['has']('SourceEditingEnhanced')||_0x41ba5d['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class N extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'MarkdownEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('Markdown');}}class v extends _0x4e776d{static ['UNSUPPORTED_ELEMENTS']=new Set(['object','article','details','main','nav','summary','abbr','acronym','bdi','output','hgroup','form','input','button','audio','canvas','meter','progress','iframe']);static get['requires'](){return[s];}static get['pluginName'](){return'GeneralHtmlIntegrationSupport';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x5cb7f1}=this['editor'];if(!_0x5cb7f1['has']('DataFilter'))return;const _0x3bd612=_0x5cb7f1['get']('DataFilter'),_0x4f0965=_0x5cb7f1['get'](s);for(const _0x1433da of v['UNSUPPORTED_ELEMENTS'])_0x3bd612['once']('register:'+_0x1433da,(_0x1ac6e2,_0x34181e)=>{_0x4f0965['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x34181e['view']});});}}class O extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x2de03e=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('MergeFields')||_0x2de03e['_logSuppressibleInfo']('email-configuration-missing-merge-fields-plugin','Consider\x20enabling\x20the\x20MergeFields\x20plugin\x20which\x20allows\x20inserting\x20dynamic\x20data\x20placeholders\x20into\x20content.','features/email-editing/email.html#merge-fields-plugin');}}class A extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x10ed98=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('Template')||_0x10ed98['_logSuppressibleInfo']('email-configuration-missing-template-plugin','Consider\x20enabling\x20the\x20Template\x20plugin\x20which\x20allows\x20inserting\x20predefined\x20e-mail\x20templates\x20into\x20the\x20editor.','features/email-editing/email.html#template-plugin');}}class q extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'UploadEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('Base64UploadAdapter');}}class H extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'MediaEmbedEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('MediaEmbed');}}class $ extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'TodoListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('TodoList');}}class S extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'MultiLevelListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](s)['_checkUnsupportedPlugin']('MultiLevelList',{'description':'The\x20multi-level\x20lists\x20are\x20rendered\x20incorrectly\x20in\x20Outlook\x202021.'});}}class K extends _0x4e776d{static get['requires'](){return[s];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x3bc3e1,plugins:_0x2d3f00}=this['editor'],_0x9ef627=_0x2d3f00['get'](s),_0x364bd1=_0x3bc3e1['get']('exportInlineStyles');_0x364bd1?.['transformations']?.['includes'](w)||_0x9ef627['_checkUnsupportedPlugin']('LinkImage',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20The\x20LinkImage\x20plugin\x20is\x20designed\x20to\x20work\x20exclusively\x20with\x20block\x20images,\x20which\x20makes\x20it\x20not\x20applicable\x20for\x20email\x20integration.\x20Inline\x20images\x20are\x20still\x20supported\x20and\x20function\x20correctly\x20with\x20the\x20standard\x20Link\x20feature.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}}class B extends _0x4e776d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'EmailConfigurationHelper';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[u,b,I,E,k,x,C,L,T,N,v,O,A,q,H,$,S,K];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1f9c15=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x45ea0d;for(const _0x4752e8 in _0x1f9c15){const _0x180817=_0x4752e8,_0x213644=_0x1f9c15[_0x180817];if('emailConfigurationHelperLicenseKeyValid'==_0x213644||'emailConfigurationHelperLicenseKeyInvalid'==_0x213644||'emailConfigurationHelperLicenseKeyExpired'==_0x213644||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x213644||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x213644||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x213644||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x213644){delete _0x1f9c15[_0x180817],_0x45ea0d=_0x213644,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x45ea0d&&_0x1f9c15['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x45ea0d&&_0x1f9c15['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x45ea0d&&_0x1f9c15['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x45ea0d&&_0x1f9c15['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x45ea0d&&_0x1f9c15['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x45ea0d&&_0x1f9c15['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}const M=(_0x889772,_0x46ab1f)=>{if(!['TABLE','IMG']['includes'](_0x889772['tagName']))return;const _0x58512a=_0x46ab1f['getAsString']('float');if(_0x58512a){const _0x486152=_0x518424(_0x58512a);'left'!==_0x486152&&'right'!==_0x486152||_0x889772['setAttribute']('align',_0x486152);}},F=(_0x2e9420,_0x5465d7)=>{if('TABLE'!==_0x2e9420['tagName']||_0x5465d7['has']('float'))return;const _0x55e77b=f(_0x5465d7),_0x51efc1=_0x5465d7['getAsString']('width');_0x55e77b&&(c(_0x2e9420,{'align':_0x55e77b}),_0x51efc1?_0x2e9420['setAttribute']('width',h(_0x51efc1)):_0x5465d7['remove']('width'),_0x5465d7['remove']('margin-left'),_0x5465d7['remove']('margin-right'));},_=(_0x5653ec,_0x5ea4f7)=>{if('IMG'!==_0x5653ec['tagName'])return;const _0x4c44b8=_0x5ea4f7['getAsString']('width');_0x4c44b8&&(_0x5653ec['setAttribute']('width',h(_0x4c44b8)),_0x5653ec['setAttribute']('height','auto'));},D=(_0x51ae4a,_0x2e7c1a,{runAfterDocumentTransformation:_0x8c7731})=>{if('FIGCAPTION'!==_0x51ae4a['tagName'])return;const _0x377a22=_0x2e7c1a['getAsString']('display'),_0x1a554e=_0x2e7c1a['getAsString']('caption-side');_0x2e7c1a['remove']('caption-side'),_0x377a22&&'table-caption'===_0x518424(_0x377a22)&&_0x2e7c1a['remove']('display');const _0x3bb002=_0x1a554e&&'top'===_0x518424(_0x1a554e);_0x8c7731(()=>{const _0x459225=m(_0x51ae4a,'div'),_0x4ab5e1=_0x51ae4a['previousElementSibling'];_0x3bb002&&_0x4ab5e1&&'TABLE'===_0x4ab5e1['tagName']?(_0x4ab5e1['before'](_0x459225),_0x51ae4a['remove']()):_0x51ae4a['replaceWith'](_0x459225);});},U=(_0x399c0f,_0x1416dd,{runAfterChildrenTransformation:_0x4b3a6d})=>{'TD'===_0x399c0f['tagName']&&_0x4b3a6d(()=>{const _0x4dc497=Array['from'](_0x399c0f['children']);if(0x0===_0x4dc497['length'])return;const _0x50911d=_0x4dc497['map'](R),_0x45efeb=_0x50911d[0x0];if(_0x45efeb&&_0x50911d['every'](_0x39ada0=>_0x39ada0===_0x45efeb)){_0x399c0f['setAttribute']('align',_0x45efeb);for(const _0x3c57aa of _0x4dc497)if(d(_0x3c57aa)){const _0x479c02=p(_0x3c57aa);_0x3c57aa['replaceWith'](...Array['from'](_0x479c02['childNodes']));}else _0x3c57aa['style']['removeProperty']('text-align'),_0x3c57aa['style']['length']||_0x3c57aa['removeAttribute']('style');}});};function R(_0x44bbf6){if(d(_0x44bbf6))return p(_0x44bbf6)['getAttribute']('align');return _0x44bbf6['style']['textAlign']||void 0x0;}function j(_0x3916d8={}){const _0x494021=[];return _0x3916d8['useFigureToTableFallback']&&_0x494021['push'](w,D,U),_0x494021['push'](M,F,_),_0x494021;}export{B as EmailConfigurationHelper,s as EmailConfigurationLogger,C as EmptyBlockEmailIntegration,E as ExportInlineStylesEmailIntegration,L as FontEmailIntegration,v as GeneralHtmlIntegrationSupport,u as HighlightEmailIntegration,b as ImageEmailIntegration,K as LinkEmailIntegration,k as ListEmailIntegration,N as MarkdownEmailIntegration,I as MathTypeEmailIntegration,H as MediaEmbedEmailIntegration,O as MergeFieldsEmailIntegration,S as MultiLevelListEmailIntegration,T as SourceEditingEmailIntegration,x as TableEmailIntegration,A as TemplateEmailIntegration,$ as TodoListEmailIntegration,q as UploadEmailIntegration,j as getEmailInlineStylesTransformations,l as isUnsupportedEmailColorFormat,a as isUnsupportedEmailColorValue,U as transformEmailAlignToAttribute,D as transformEmailFigcaptionToDiv,w as transformEmailFigureToTable,M as transformEmailFloatToAlign,_ as transformEmailImageWidthAttributes,F as transformEmailMarginToAlign};
23
+ import{Plugin as _0x468420}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x5e8c58}from'@ckeditor/ckeditor5-utils/dist/index.js';import{dropImportantStyleSuffix as _0x1975a7}from'@ckeditor/ckeditor5-export-inline-styles/dist/index.js';const r='https://ckeditor.com/docs/ckeditor5/latest';class EmailConfigurationLogger extends _0x468420{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x34e051){super(_0x34e051),_0x34e051['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x466f97){const _0x4d99d5=_0x209912([0x75,0x69,0x7a,0x54,0x64,0x76,0x79,0x42,0x49,0x61,0x34,0x52,0x4b,0x73,0x6e,0x4f,0x59,0x6d,0x45,0x58,0x47,0x4d,0x66,0x6a,0x65,0x68,0x77,0x4a,0x51,0x71,0x62,0x50,0x53,0x43,0x6b,0x37,0x44,0x74,0x5a,0x67,0x46,0x35,0x38,0x4c,0x78,0x6c,0x32,0x39,0x48,0x6f,0x36,0x63,0x41,0x55,0x57,0x31,0x70,0x56,0x33,0x4e,0x72,0x30]),_0xe973bf=0x7780c648,_0x51f4c8=0x77874c68^_0xe973bf,_0x4851fc=window[_0x209912([0x44,0x61,0x74,0x65])][_0x209912([0x6e,0x6f,0x77])](),_0x42ec6=_0x466f97[_0x209912([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x38e057=new window[(_0x209912([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6af68=>{_0x42ec6[_0x209912([0x6f,0x6e,0x63,0x65])](_0x209912([0x72,0x65,0x61,0x64,0x79]),_0x6af68);}),_0x524e9e={[_0x209912([0x6b,0x74,0x79])]:_0x209912([0x45,0x43]),[_0x209912([0x75,0x73,0x65])]:_0x209912([0x73,0x69,0x67]),[_0x209912([0x63,0x72,0x76])]:_0x209912([0x50,0x2d,0x32,0x35,0x36]),[_0x209912([0x78])]:_0x209912([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]),[_0x209912([0x79])]:_0x209912([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]),[_0x209912([0x61,0x6c,0x67])]:_0x209912([0x45,0x53,0x32,0x35,0x36])},_0x4d7308=_0x42ec6[_0x209912([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x209912([0x67,0x65,0x74])](_0x209912([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21baff(){let _0x25c2ba,_0xb55578=null,_0x5c5d8c=null;try{if(_0x4d7308==_0x209912([0x47,0x50,0x4c]))return _0x209912([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x25c2ba=_0x4b7cb6(),!_0x25c2ba)return _0x209912([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x25c2ba[_0x209912([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5c5d8c=_0x487513(_0x25c2ba[_0x209912([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x25c2ba[_0x209912([0x6a,0x74,0x69])])),await _0x53889d()?_0x2fdcc8()?_0x4a9af3()?_0x209912([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4f1647()?(_0x25c2ba[_0x209912([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x209912([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb55578=_0x227f19(_0x209912([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d8a06()):_0x209912([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x209912([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x209912([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x209912([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a9af3(){const _0x211a85=[_0x209912([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x209912([0x74,0x72,0x69,0x61,0x6c])][_0x209912([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25c2ba[_0x209912([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4851fc/0x3e8:0xe10*_0x51f4c8;return _0x25c2ba[_0x209912([0x65,0x78,0x70])]<_0x211a85;}function _0x2fdcc8(){const _0x177c3e=_0x25c2ba[_0x209912([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x177c3e&&(!!_0x177c3e[_0x209912([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x209912([0x2a]))||!!_0x177c3e[_0x209912([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x209912([0x45,0x43,0x48])));}function _0x4f1647(){const _0x3e0d9a=_0x25c2ba[_0x209912([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e0d9a||0x0==_0x3e0d9a[_0x209912([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xda2937}=new URL(window[_0x209912([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3e0d9a[_0x209912([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xda2937))return!0x0;const _0x531ffb=_0xda2937[_0x209912([0x73,0x70,0x6c,0x69,0x74])](_0x209912([0x2e]));return _0x3e0d9a[_0x209912([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21e61d=>_0x21e61d[_0x209912([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x209912([0x2a])))[_0x209912([0x6d,0x61,0x70])](_0x287093=>_0x287093[_0x209912([0x73,0x70,0x6c,0x69,0x74])](_0x209912([0x2e])))[_0x209912([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f5fcb=>_0x4f5fcb[_0x209912([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x531ffb[_0x209912([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x209912([0x6d,0x61,0x70])](_0x49835a=>Array(_0x531ffb[_0x209912([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x49835a[_0x209912([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x209912([0x66,0x69,0x6c,0x6c])](_0x49835a[0x0]===_0x209912([0x2a])?_0x209912([0x2a]):'')[_0x209912([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x49835a))[_0x209912([0x73,0x6f,0x6d,0x65])](_0x3b30f8=>_0x531ffb[_0x209912([0x65,0x76,0x65,0x72,0x79])]((_0x5ab41f,_0x28a296)=>_0x3b30f8[_0x28a296]===_0x5ab41f||_0x3b30f8[_0x28a296]===_0x209912([0x2a])));}function _0x2d8a06(){return _0xb55578&&_0x5c5d8c?new window[(_0x209912([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe90e50,_0x44c394)=>{_0xb55578[_0x209912([0x74,0x68,0x65,0x6e])](_0xe90e50,_0x44c394),_0x5c5d8c[_0x209912([0x74,0x68,0x65,0x6e])](_0x45e30a=>{_0x45e30a!=_0x209912([0x56,0x61,0x6c,0x69,0x64])&&_0xe90e50(_0x45e30a);},_0x44c394);}):_0xb55578||_0x5c5d8c||_0x209912([0x56,0x61,0x6c,0x69,0x64]);}}function _0x487513(_0x485f53,_0x47be8d){return new window[(_0x209912([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x467687=>{if(_0x292f24())return _0x467687(_0x209912([0x56,0x61,0x6c,0x69,0x64]));_0x216580(),_0x42ec6[_0x209912([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x209912([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x27d385=!0x1;const _0x51cf5f=_0x5e8c58();function _0x4d6d6b(_0x351123){return!!_0x351123&&(typeof _0x351123===_0x209912([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x351123===_0x209912([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x351123[_0x209912([0x74,0x68,0x65,0x6e])]===_0x209912([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x351123[_0x209912([0x63,0x61,0x74,0x63,0x68])]===_0x209912([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2f3091(_0x4b6bbd){_0xeb07bc(_0x4b6bbd)[_0x209912([0x74,0x68,0x65,0x6e])](_0xe71f3c=>{if(!_0xe71f3c||_0xe71f3c[_0x209912([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x209912([0x6f,0x6b]))return _0x209912([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4f8c84(_0x238c10(_0x51cf5f+_0x47be8d))!=_0xe71f3c[_0x209912([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x209912([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x209912([0x56,0x61,0x6c,0x69,0x64]);})[_0x209912([0x74,0x68,0x65,0x6e])](_0x31d654=>(_0x259c9e(),_0x31d654),()=>{const _0x5a35f1=_0x1823ed();return null==_0x5a35f1?(_0x259c9e(),_0x209912([0x56,0x61,0x6c,0x69,0x64])):_0x209912(_0x4851fc-_0x5a35f1>(0x538c4248^_0xe973bf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x209912([0x74,0x68,0x65,0x6e])](_0x467687)[_0x209912([0x63,0x61,0x74,0x63,0x68])](()=>{_0x467687(_0x209912([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c434c=0x77b628c8^_0xe973bf;function _0x259c9e(){const _0x2c61ec=_0x209912([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f8c84(_0x238c10(_0x485f53)),_0x221c78=_0x391dd3(_0x4f8c84(window[_0x209912([0x4d,0x61,0x74,0x68])][_0x209912([0x63,0x65,0x69,0x6c])](_0x4851fc/_0x1c434c)));window[_0x209912([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x209912([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c61ec,_0x221c78);}function _0x1823ed(){const _0x3388be=_0x209912([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f8c84(_0x238c10(_0x485f53)),_0x299f06=window[_0x209912([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x209912([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3388be);return _0x299f06?window[_0x209912([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x391dd3(_0x299f06),0x10)*_0x1c434c:null;}function _0xeb07bc(_0x35a327){return new window[(_0x209912([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4fb801,_0x17d0a4)=>{_0x35a327[_0x209912([0x74,0x68,0x65,0x6e])](_0x4fb801,_0x17d0a4),window[_0x209912([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x17d0a4,0x77811288^_0xe973bf);});}}_0x42ec6[_0x209912([0x6f,0x6e])](_0x209912([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49cd3c,_0x16ffb3)=>{if(_0x16ffb3[0x0]!=_0x485f53)return _0x467687(_0x209912([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x16ffb3[0x1]={..._0x16ffb3[0x1],[_0x209912([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x51cf5f};},{[_0x209912([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x209912([0x68,0x69,0x67,0x68])}),_0x42ec6[_0x209912([0x6f,0x6e])](_0x209912([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x28701e=>{_0x4d6d6b(_0x28701e[_0x209912([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x27d385=!0x0,_0x2f3091(_0x28701e[_0x209912([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x209912([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x209912([0x6c,0x6f,0x77])}),_0x38e057[_0x209912([0x74,0x68,0x65,0x6e])](()=>{_0x27d385||_0x467687(_0x209912([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x292f24(){return _0x42ec6[_0x209912([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x209912([0x76,0x69,0x65,0x77])][_0x209912([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x209912([0x61,0x75,0x74,0x6f]);}function _0x216580(){_0x42ec6[_0x209912([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x209912([0x76,0x69,0x65,0x77])][_0x209912([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x209912([0x61,0x75,0x74,0x6f]);}}function _0x227f19(_0x16919){const _0x57b78c=[new window[(_0x209912([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a6e78=>setTimeout(_0x2a6e78,0x7789f884^_0xe973bf)),_0x38e057[_0x209912([0x74,0x68,0x65,0x6e])](()=>new window[(_0x209912([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c2c11=>{let _0x4d6308=0x0;_0x42ec6[_0x209912([0x6d,0x6f,0x64,0x65,0x6c])][_0x209912([0x6f,0x6e])](_0x209912([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1504fd,_0x341b27)=>{_0x341b27[0x0][_0x209912([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d6308++,_0x4d6308==(0x7780c3a0^_0xe973bf)&&(_0x3c2c11(),_0x1504fd[_0x209912([0x6f,0x66,0x66])]());});}))];return window[_0x209912([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x209912([0x72,0x61,0x63,0x65])](_0x57b78c)[_0x209912([0x74,0x68,0x65,0x6e])](()=>_0x16919);}async function _0x54a331(){await _0x38e057,_0x42ec6[_0x209912([0x6d,0x6f,0x64,0x65,0x6c])][_0x209912([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x27e06d,_0x42ec6[_0x209912([0x6d,0x6f,0x64,0x65,0x6c])][_0x209912([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x27e06d,_0x42ec6[_0x209912([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x209912([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x16fc8e(_0xcab6fa){const _0x520c46=_0x36890();_0x42ec6[_0x520c46]=_0x209912([0x65,0x6d,0x61,0x69,0x6c,0x43,0x6f,0x6e,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x48,0x65,0x6c,0x70,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xcab6fa,_0xcab6fa!=_0x209912([0x56,0x61,0x6c,0x69,0x64])&&_0x54a331();}function _0x36890(){const _0x1afc60=window[_0x209912([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x209912([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x209912([0x6e,0x6f,0x77])]())[_0x209912([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x209912([0x2e]),'');let _0x115294=_0x209912([0x75]);for(let _0xf9c65b=0x0;_0xf9c65b<_0x1afc60[_0x209912([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf9c65b+=0x2){let _0x4a088d=window[_0x209912([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1afc60[_0x209912([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf9c65b,_0xf9c65b+0x2));_0x4a088d>=_0x4d99d5[_0x209912([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4a088d-=_0x4d99d5[_0x209912([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x115294+=_0x4d99d5[_0x4a088d];}return _0x115294;}function _0x4b7cb6(){const _0x464940=_0x4d7308[_0x209912([0x73,0x70,0x6c,0x69,0x74])](_0x209912([0x2e]));if(0x3!=_0x464940[_0x209912([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x100129(_0x464940[0x1]);function _0x100129(_0xc7cdc7){const _0x314ab1=_0xcb1ea3(_0xc7cdc7);return _0x314ab1&&_0x206a00()?_0x314ab1:null;function _0x206a00(){const _0x2e71db=_0x314ab1[_0x209912([0x6a,0x74,0x69])],_0x4d4920=window[_0x209912([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e71db[_0x209912([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e71db[_0x209912([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x23f562={..._0x314ab1,[_0x209912([0x6a,0x74,0x69])]:_0x2e71db[_0x209912([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e71db[_0x209912([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x23f562[_0x209912([0x76,0x63])],_0x238c10(_0x23f562)==_0x4d4920;}}}async function _0x53889d(){let _0x2e56c0=!0x0;try{const _0x221337=_0x4d7308[_0x209912([0x73,0x70,0x6c,0x69,0x74])](_0x209912([0x2e])),[_0x5e9f97,_0x298090,_0x7f386b]=_0x221337;return _0x36520c(_0x5e9f97),await _0x5209eb(_0x5e9f97,_0x298090,_0x7f386b),_0x2e56c0;}catch{return!0x1;}function _0x36520c(_0x91f726){const _0x1c54ad=_0xcb1ea3(_0x91f726);_0x1c54ad&&_0x1c54ad[_0x209912([0x61,0x6c,0x67])]==_0x209912([0x45,0x53,0x32,0x35,0x36])||(_0x2e56c0=!0x1);}async function _0x5209eb(_0x413d55,_0x559706,_0x5483f8){const _0xbca9be=window[_0x209912([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x209912([0x66,0x72,0x6f,0x6d])](_0x2fe5cd(_0x5483f8),_0x2e29d0=>_0x2e29d0[_0x209912([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x779221=new window[(_0x209912([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x209912([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x413d55+_0x209912([0x2e])+_0x559706),_0x5a7c57=window[_0x209912([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x209912([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a7c57)return;const _0x2c93ad=await _0x5a7c57[_0x209912([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x209912([0x6a,0x77,0x6b]),_0x524e9e,{[_0x209912([0x6e,0x61,0x6d,0x65])]:_0x209912([0x45,0x43,0x44,0x53,0x41]),[_0x209912([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x209912([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x209912([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a7c57[_0x209912([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x209912([0x6e,0x61,0x6d,0x65])]:_0x209912([0x45,0x43,0x44,0x53,0x41]),[_0x209912([0x68,0x61,0x73,0x68])]:{[_0x209912([0x6e,0x61,0x6d,0x65])]:_0x209912([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2c93ad,_0xbca9be,_0x779221)||(_0x2e56c0=!0x1);}}function _0xcb1ea3(_0x13bcba){return _0x13bcba[_0x209912([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x209912([0x65,0x79]))?JSON[_0x209912([0x70,0x61,0x72,0x73,0x65])](_0x2fe5cd(_0x13bcba)):null;}function _0x2fe5cd(_0xc6f17){return window[_0x209912([0x61,0x74,0x6f,0x62])](_0xc6f17[_0x209912([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x209912([0x2b]))[_0x209912([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x209912([0x2f])));}function _0x238c10(_0x305a17){let _0x4ab5d7=0x1505;function _0x53a710(_0x1d1a12){for(let _0x5c9ddd=0x0;_0x5c9ddd<_0x1d1a12[_0x209912([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c9ddd++){const _0x300447=_0x1d1a12[_0x209912([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c9ddd);_0x4ab5d7=(_0x4ab5d7<<0x5)+_0x4ab5d7+_0x300447,_0x4ab5d7&=_0x4ab5d7;}}function _0x316802(_0x4a9043){Array[_0x209912([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a9043)?_0x4a9043[_0x209912([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x316802):_0x4a9043&&typeof _0x4a9043==_0x209912([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x209912([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a9043)[_0x209912([0x73,0x6f,0x72,0x74])]()[_0x209912([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e7b90,_0x46dc17])=>{_0x53a710(_0x4e7b90),_0x316802(_0x46dc17);}):_0x53a710(window[_0x209912([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a9043));}return _0x316802(_0x305a17),_0x4ab5d7>>>0x0;}function _0x4f8c84(_0x1cc81b){return _0x1cc81b[_0x209912([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x209912([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x209912([0x30]));}function _0x391dd3(_0x518cb8){return _0x518cb8[_0x209912([0x73,0x70,0x6c,0x69,0x74])]('')[_0x209912([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x209912([0x6a,0x6f,0x69,0x6e])]('');}function _0x27e06d(){}function _0x209912(_0xbb59d4){return _0xbb59d4['map'](_0x523257=>String['fromCharCode'](_0x523257))['join']('');}_0x16fc8e(await _0x21baff());}(this);}['_logSuppressibleWarning'](_0x1bc91d,_0x5f0893){if(this['_isSuppressedLog'](_0x1bc91d,_0x5f0893))return;const _0x5ae3b8=r+'/support/error-codes.html#error-'+_0x1bc91d;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x1bc91d,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x5f0893?[_0x5f0893]:[],'\x0aRead\x20more:\x20'+_0x5ae3b8);}['_logSuppressibleInfo'](_0x2479a0,_0x347101,_0xcc0243){if(this['_isSuppressedLog'](_0x2479a0))return;let _0x313d24=_0x347101;_0xcc0243&&(_0x313d24+='\x0aRead\x20more:\x20'+(r+'/'+_0xcc0243)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x2479a0,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x313d24);}['_checkUnsupportedPlugin'](_0x4fb7da,_0x727875){this['editor']['plugins']['has'](_0x4fb7da)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x4fb7da,..._0x727875});}['_validateConfigColorValue'](_0x2b12cc){const _0x4f0bc3=this['editor']['config']['get'](_0x2b12cc);if(!_0x4f0bc3)return;const _0x4165e3=Array['isArray'](_0x4f0bc3),_0x5697a8=_0x4165e3?_0x4f0bc3:[_0x4f0bc3];for(const [_0x30c1db,_0x384bdb]of _0x5697a8['entries']()){const _0x25f7b6='string'==typeof _0x384bdb?_0x384bdb:_0x384bdb['color'];o(_0x25f7b6)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x4165e3?_0x2b12cc+'['+_0x30c1db+']':_0x2b12cc,'color':_0x25f7b6});}}['_validateConfigColorFormat'](_0x5aa0b1){const _0x53c09f=this['editor']['config']['get'](_0x5aa0b1);_0x53c09f&&l(_0x53c09f)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x5aa0b1,'format':_0x53c09f});}['_isSuppressedLog'](_0x480b3b,_0x3970e6){const _0x25d706=this['editor']['config']['get']('email.logs');return!!_0x25d706['suppressAll']||(!('function'!=typeof _0x25d706['suppress']||!_0x25d706['suppress'](_0x480b3b,_0x3970e6))||!(!Array['isArray'](_0x25d706['suppress'])||!_0x25d706['suppress']['includes'](_0x480b3b)));}}const a=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function o(_0x1a62c2){return!!_0x1a62c2&&a['some'](_0x466e64=>_0x1a62c2['includes'](_0x466e64+'('));}function l(_0x5b61ef){return!!_0x5b61ef&&a['includes'](_0x5b61ef);}class HighlightEmailIntegration extends _0x468420{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'HighlightEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Highlight');}}function s(_0x251baa,_0x1a063d){const _0x30ae10=_0x251baa['ownerDocument'],{table:_0x10bf08,cell:_0x7b2015}=g(_0x30ae10,'100%');_0x1a063d['align']&&_0x7b2015['setAttribute']('align',_0x1975a7(_0x1a063d['align']));let _0x2cc300=_0x7b2015;if(_0x1a063d['width']){const {table:_0x263b4f,cell:_0x58ebb1}=g(_0x30ae10,_0x1975a7(_0x1a063d['width']));_0x7b2015['appendChild'](_0x263b4f),_0x2cc300=_0x58ebb1;}return _0x251baa['replaceWith'](_0x10bf08),_0x251baa['removeAttribute']('align'),_0x251baa['removeAttribute']('width'),_0x2cc300['appendChild'](_0x251baa),_0x2cc300;}function g(_0x50684a,_0x2fa12e){const _0x270b5e=_0x50684a['createElement']('table');_0x2fa12e&&(_0x270b5e['style']['width']=_0x2fa12e,_0x270b5e['setAttribute']('width',d(_0x2fa12e))),_0x270b5e['setAttribute']('cellpadding','0'),_0x270b5e['setAttribute']('cellspacing','0'),_0x270b5e['setAttribute']('border','0'),_0x270b5e['setAttribute']('role','presentation');const _0x4c3b23=_0x50684a['createElement']('tbody'),_0x2425dd=_0x50684a['createElement']('tr'),_0x4cbfe8=_0x50684a['createElement']('td');return _0x270b5e['appendChild'](_0x4c3b23),_0x4c3b23['appendChild'](_0x2425dd),_0x2425dd['appendChild'](_0x4cbfe8),{'table':_0x270b5e,'cell':_0x4cbfe8};}function u(_0x199c64){const _0x4da971=_0x199c64['getAsString']('margin-left'),_0x4f3411=_0x199c64['getAsString']('margin-right'),_0x1b299e=_0x4da971&&_0x1975a7(_0x4da971),_0x8161c1=_0x4f3411&&_0x1975a7(_0x4f3411);return'auto'===_0x1b299e&&'auto'===_0x8161c1?'center':'auto'===_0x1b299e?'right':'auto'===_0x8161c1?'left':void 0x0;}function c(_0x3da519,_0x24ab04){const _0x5a2c08=_0x3da519['ownerDocument']['createElement'](_0x24ab04);for(const _0x9d2377 of Array['from'](_0x3da519['attributes']))_0x5a2c08['setAttribute'](_0x9d2377['name'],_0x9d2377['value']);for(;_0x3da519['firstChild'];)_0x5a2c08['appendChild'](_0x3da519['firstChild']);return _0x5a2c08;}function m(_0x509061){if('TABLE'!==_0x509061['tagName'])return!0x1;if('presentation'!==_0x509061['getAttribute']('role'))return!0x1;const _0x5c04fe=f(_0x509061);return null!==_0x5c04fe&&_0x5c04fe['hasAttribute']('align');}function f(_0x1876e4){let _0x138443=_0x1876e4;0x1===_0x1876e4['children']['length']&&'TBODY'===_0x1876e4['children'][0x0]['tagName']&&(_0x138443=_0x1876e4['children'][0x0]);const _0x5184f1=_0x138443['children'];if(0x1!==_0x5184f1['length']||'TR'!==_0x5184f1[0x0]['tagName'])return null;const _0x2b3925=_0x5184f1[0x0]['children'];return 0x1!==_0x2b3925['length']||'TD'!==_0x2b3925[0x0]['tagName']?null:_0x2b3925[0x0];}function d(_0x15cec4){return function(_0x5c080f){if(_0x5c080f['endsWith']('px'))return _0x5c080f['slice'](0x0,-0x2);return _0x5c080f;}(_0x1975a7(_0x15cec4));}const p=(_0x5541ea,_0x54d070,{runAfterDocumentTransformation:_0x3f3a39,runAfterChildrenTransformation:_0x1c514a})=>{if('FIGURE'!==_0x5541ea['tagName'])return;const _0x1d342b=_0x54d070['getAsString']('float');if(_0x1d342b){if(h(_0x5541ea))_0x3f3a39(()=>{const _0x37cdd9=h(_0x5541ea);_0x37cdd9&&E(_0x5541ea,_0x37cdd9,{'align':_0x1d342b});});else{const {table:_0xa77fa3,cell:_0x497995}=g(_0x5541ea['ownerDocument']);_0xa77fa3['setAttribute']('align',_0x1975a7(_0x1d342b)),_0xa77fa3['setAttribute']('style',function(_0x331182){return _0x331182['getStylesEntries']()['map'](_0x653a26=>_0x653a26['join'](':'))['join'](';')+';';}(_0x54d070)),_0x1c514a(()=>{for(const _0x27e73e of Array['from'](_0x5541ea['childNodes']))_0x497995['appendChild'](_0x27e73e);}),_0x3f3a39(()=>{_0x5541ea['replaceWith'](_0xa77fa3);});}}else{const _0x527b6f=u(_0x54d070),_0x4dd453=_0x54d070['getAsString']('width');if(!_0x527b6f&&!_0x4dd453)return;s(_0x5541ea,{'align':_0x527b6f,'width':_0x4dd453}),_0x4dd453&&_0x54d070['set']('width','100%'),_0x54d070['remove']('margin-left'),_0x54d070['remove']('margin-right'),_0x54d070['remove']('min-width'),_0x54d070['remove']('max-width'),_0x3f3a39(()=>{const _0x5950a2=h(_0x5541ea);if(_0x5950a2)E(_0x5541ea,_0x5950a2);else{const _0x208daf=c(_0x5541ea,'div');_0x5541ea['replaceWith'](_0x208daf);}});}};function E(_0x3af366,_0x5565d4,_0x21c937={}){for(const _0x142be7 of['id','class']){const _0x31765f=_0x3af366['getAttribute'](_0x142be7);_0x31765f&&_0x5565d4['setAttribute'](_0x142be7,_0x31765f);}for(const _0x1d3f43 of['display','float','width','height'])_0x5565d4['style']['removeProperty'](_0x1d3f43);const _0x43932b=_0x3af366['getAttribute']('style');if(_0x43932b){const _0x29834d=_0x5565d4['getAttribute']('style')||'';_0x5565d4['setAttribute']('style',_0x43932b+_0x29834d);}_0x21c937['align']&&_0x5565d4['setAttribute']('align',_0x1975a7(_0x21c937['align'])),_0x3af366['replaceWith'](_0x5565d4);}function h(_0x3715ec){const _0x245cab=Array['from'](_0x3715ec['children']);return 0x1===_0x245cab['length']&&'TABLE'===_0x245cab[0x0]['tagName']?_0x245cab[0x0]:null;}class ImageEmailIntegration extends _0x468420{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x12c0df,plugins:_0x5f4477}=this['editor'],_0x4fcffd=_0x12c0df['get']('exportInlineStyles');if(_0x4fcffd?.['transformations']?.['includes'](p))return;_0x5f4477['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('ImageBlock',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}}class MathTypeEmailIntegration extends _0x468420{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MathTypeEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MathType');}}class ExportInlineStylesEmailIntegration extends _0x468420{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x4efc6f=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('ExportInlineStyles')||_0x4efc6f['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class ListEmailIntegration extends _0x468420{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x1bd564=this['editor']['plugins']['get'](EmailConfigurationLogger),_0x3d9d45=this['editor']['config']['get']('list');_0x3d9d45&&_0x3d9d45['properties']&&_0x3d9d45['properties']['reversed']&&_0x1bd564['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x3d9d45&&_0x3d9d45['enableListItemMarkerFormatting']&&_0x1bd564['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class TableEmailIntegration extends _0x468420{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TableEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['_checkRequiredTablePlugins'](),this['_checkTableConfig']();}['_checkRequiredTablePlugins'](){const {plugins:_0x4c7078}=this['editor'],_0x47ed59=_0x4c7078['get'](EmailConfigurationLogger);_0x4c7078['has']('Table')&&(_0x4c7078['has']('PlainTableOutput')||_0x47ed59['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x4c7078['has']('TableLayout')||_0x47ed59['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x2714cf,plugins:_0x48b900}=this['editor'];_0x2714cf['get']('table')&&_0x48b900['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x484973){const _0x56c368=this['editor']['plugins']['get'](EmailConfigurationLogger);_0x56c368['_validateConfigColorValue']('table.'+_0x484973+'.borderColors'),_0x56c368['_validateConfigColorValue']('table.'+_0x484973+'.backgroundColors'),_0x56c368['_validateConfigColorValue']('table.'+_0x484973+'.defaultProperties.borderColor'),_0x56c368['_validateConfigColorValue']('table.'+_0x484973+'.defaultProperties'),_0x56c368['_validateConfigColorFormat']('table.'+_0x484973+'.colorPicker.format');}}class EmptyBlockEmailIntegration extends _0x468420{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x471d57=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('EmptyBlock')||_0x471d57['_logSuppressibleInfo']('email-configuration-missing-empty-block-plugin','Consider\x20enabling\x20the\x20EmptyBlock\x20plugin\x20to\x20ensure\x20that\x20exported\x20content\x20has\x20empty\x20blocks.','features/email-editing/email.html#empty-block-plugin');}}class FontEmailIntegration extends _0x468420{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x3b61a6}=this['editor'];_0x3b61a6['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x3b61a6['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x522b21){const _0x48022c=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['config']['get'](_0x522b21)&&(_0x48022c['_validateConfigColorValue'](_0x522b21+'.colors'),_0x48022c['_validateConfigColorValue'](_0x522b21+'.documentColors'),_0x48022c['_validateConfigColorFormat'](_0x522b21+'.colorPicker.format'));}}class SourceEditingEmailIntegration extends _0x468420{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x44e53e}=this['editor'],_0x29d7fc=_0x44e53e['get'](EmailConfigurationLogger);_0x44e53e['has']('SourceEditing')||_0x44e53e['has']('SourceEditingEnhanced')||_0x29d7fc['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class MarkdownEmailIntegration extends _0x468420{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MarkdownEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Markdown');}}class GeneralHtmlIntegrationSupport extends _0x468420{static ['UNSUPPORTED_ELEMENTS']=new Set(['object','article','details','main','nav','summary','abbr','acronym','bdi','output','hgroup','form','input','button','audio','canvas','meter','progress','iframe']);static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'GeneralHtmlIntegrationSupport';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x5986e2}=this['editor'];if(!_0x5986e2['has']('DataFilter'))return;const _0x2f41e2=_0x5986e2['get']('DataFilter'),_0x32d653=_0x5986e2['get'](EmailConfigurationLogger);for(const _0x1b56ae of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x2f41e2['once']('register:'+_0x1b56ae,(_0x26c646,_0x81efc3)=>{_0x32d653['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x81efc3['view']});});}}class MergeFieldsEmailIntegration extends _0x468420{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x22e2a5=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('MergeFields')||_0x22e2a5['_logSuppressibleInfo']('email-configuration-missing-merge-fields-plugin','Consider\x20enabling\x20the\x20MergeFields\x20plugin\x20which\x20allows\x20inserting\x20dynamic\x20data\x20placeholders\x20into\x20content.','features/email-editing/email.html#merge-fields-plugin');}}class TemplateEmailIntegration extends _0x468420{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x34ca3a=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('Template')||_0x34ca3a['_logSuppressibleInfo']('email-configuration-missing-template-plugin','Consider\x20enabling\x20the\x20Template\x20plugin\x20which\x20allows\x20inserting\x20predefined\x20e-mail\x20templates\x20into\x20the\x20editor.','features/email-editing/email.html#template-plugin');}}class UploadEmailIntegration extends _0x468420{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'UploadEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Base64UploadAdapter');}}class MediaEmbedEmailIntegration extends _0x468420{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MediaEmbedEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MediaEmbed');}}class TodoListEmailIntegration extends _0x468420{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TodoListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('TodoList');}}class MultiLevelListEmailIntegration extends _0x468420{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MultiLevelListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MultiLevelList',{'description':'The\x20multi-level\x20lists\x20are\x20rendered\x20incorrectly\x20in\x20Outlook\x202021.'});}}class LinkEmailIntegration extends _0x468420{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x3e0095,plugins:_0x1bd180}=this['editor'],_0x4fc021=_0x1bd180['get'](EmailConfigurationLogger),_0x32e1a=_0x3e0095['get']('exportInlineStyles');_0x32e1a?.['transformations']?.['includes'](p)||_0x4fc021['_checkUnsupportedPlugin']('LinkImage',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20The\x20LinkImage\x20plugin\x20is\x20designed\x20to\x20work\x20exclusively\x20with\x20block\x20images,\x20which\x20makes\x20it\x20not\x20applicable\x20for\x20email\x20integration.\x20Inline\x20images\x20are\x20still\x20supported\x20and\x20function\x20correctly\x20with\x20the\x20standard\x20Link\x20feature.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}}class EmailConfigurationHelper extends _0x468420{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'EmailConfigurationHelper';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[HighlightEmailIntegration,ImageEmailIntegration,MathTypeEmailIntegration,ExportInlineStylesEmailIntegration,ListEmailIntegration,TableEmailIntegration,EmptyBlockEmailIntegration,FontEmailIntegration,SourceEditingEmailIntegration,MarkdownEmailIntegration,GeneralHtmlIntegrationSupport,MergeFieldsEmailIntegration,TemplateEmailIntegration,UploadEmailIntegration,MediaEmbedEmailIntegration,TodoListEmailIntegration,MultiLevelListEmailIntegration,LinkEmailIntegration];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2aecf2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb43dda;for(const _0x5924cc in _0x2aecf2){const _0x56ec83=_0x5924cc,_0x459a4f=_0x2aecf2[_0x56ec83];if('emailConfigurationHelperLicenseKeyValid'==_0x459a4f||'emailConfigurationHelperLicenseKeyInvalid'==_0x459a4f||'emailConfigurationHelperLicenseKeyExpired'==_0x459a4f||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x459a4f||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x459a4f||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x459a4f||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x459a4f){delete _0x2aecf2[_0x56ec83],_0xb43dda=_0x459a4f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0xb43dda&&_0x2aecf2['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0xb43dda&&_0x2aecf2['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0xb43dda&&_0x2aecf2['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0xb43dda&&_0x2aecf2['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0xb43dda&&_0x2aecf2['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0xb43dda&&_0x2aecf2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}const I=(_0x3c813c,_0x116136)=>{if(!['TABLE','IMG']['includes'](_0x3c813c['tagName']))return;const _0x246087=_0x116136['getAsString']('float');if(_0x246087){const _0x2d5ab3=_0x1975a7(_0x246087);'left'!==_0x2d5ab3&&'right'!==_0x2d5ab3||_0x3c813c['setAttribute']('align',_0x2d5ab3);}},L=(_0x556538,_0x445d78)=>{if('TABLE'!==_0x556538['tagName']||_0x445d78['has']('float'))return;const _0x5d6a63=u(_0x445d78),_0x292935=_0x445d78['getAsString']('width');_0x5d6a63&&(s(_0x556538,{'align':_0x5d6a63}),_0x292935?_0x556538['setAttribute']('width',d(_0x292935)):_0x445d78['remove']('width'),_0x445d78['remove']('margin-left'),_0x445d78['remove']('margin-right'));},w=(_0x19b573,_0x4adf56)=>{if('IMG'!==_0x19b573['tagName'])return;const _0x4e59b9=_0x4adf56['getAsString']('width');_0x4e59b9&&(_0x19b573['setAttribute']('width',d(_0x4e59b9)),_0x19b573['setAttribute']('height','auto'));},C=(_0x540ca8,_0x2ab48f,{runAfterDocumentTransformation:_0x2dcad2})=>{if('FIGCAPTION'!==_0x540ca8['tagName'])return;const _0x5d0c53=_0x2ab48f['getAsString']('display'),_0x4a747f=_0x2ab48f['getAsString']('caption-side');_0x2ab48f['remove']('caption-side'),_0x5d0c53&&'table-caption'===_0x1975a7(_0x5d0c53)&&_0x2ab48f['remove']('display');const _0xb14921=_0x4a747f&&'top'===_0x1975a7(_0x4a747f);_0x2dcad2(()=>{const _0x2449b9=c(_0x540ca8,'div'),_0x444018=_0x540ca8['previousElementSibling'];_0xb14921&&_0x444018&&'TABLE'===_0x444018['tagName']?(_0x444018['before'](_0x2449b9),_0x540ca8['remove']()):_0x540ca8['replaceWith'](_0x2449b9);});},y=(_0x2f713a,_0x1df389,{runAfterChildrenTransformation:_0x566376})=>{'TD'===_0x2f713a['tagName']&&_0x566376(()=>{const _0x39693f=Array['from'](_0x2f713a['children']);if(0x0===_0x39693f['length'])return;const _0x3f1ef9=_0x39693f['map'](P),_0x28a7e1=_0x3f1ef9[0x0];if(_0x28a7e1&&_0x3f1ef9['every'](_0x128e34=>_0x128e34===_0x28a7e1)){_0x2f713a['setAttribute']('align',_0x28a7e1);for(const _0x3aa460 of _0x39693f)if(m(_0x3aa460)){const _0x942c8=f(_0x3aa460);_0x3aa460['replaceWith'](...Array['from'](_0x942c8['childNodes']));}else _0x3aa460['style']['removeProperty']('text-align'),_0x3aa460['style']['length']||_0x3aa460['removeAttribute']('style');}});};function P(_0x17e8dc){if(m(_0x17e8dc))return f(_0x17e8dc)['getAttribute']('align');return _0x17e8dc['style']['textAlign']||void 0x0;}function b(_0x3e035b={}){const _0x5a6c6e=[];return _0x3e035b['useFigureToTableFallback']&&_0x5a6c6e['push'](p,C,y),_0x5a6c6e['push'](I,L,w),_0x5a6c6e;}export{EmailConfigurationHelper,EmailConfigurationLogger,EmptyBlockEmailIntegration,ExportInlineStylesEmailIntegration,FontEmailIntegration,GeneralHtmlIntegrationSupport,HighlightEmailIntegration,ImageEmailIntegration,LinkEmailIntegration,ListEmailIntegration,MarkdownEmailIntegration,MathTypeEmailIntegration,MediaEmbedEmailIntegration,MergeFieldsEmailIntegration,MultiLevelListEmailIntegration,SourceEditingEmailIntegration,TableEmailIntegration,TemplateEmailIntegration,TodoListEmailIntegration,UploadEmailIntegration,b as getEmailInlineStylesTransformations,l as isUnsupportedEmailColorFormat,o as isUnsupportedEmailColorValue,y as transformEmailAlignToAttribute,C as transformEmailFigcaptionToDiv,p as transformEmailFigureToTable,I as transformEmailFloatToAlign,w as transformEmailImageWidthAttributes,L as transformEmailMarginToAlign};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-email",
3
- "version": "48.1.0",
3
+ "version": "48.8.1-alpha.0",
4
4
  "description": "Email integration feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -21,15 +21,15 @@
21
21
  "./package.json": "./package.json"
22
22
  },
23
23
  "dependencies": {
24
- "@ckeditor/ckeditor5-core": "48.1.0",
25
- "@ckeditor/ckeditor5-engine": "48.1.0",
26
- "@ckeditor/ckeditor5-export-inline-styles": "48.1.0",
27
- "@ckeditor/ckeditor5-font": "48.1.0",
28
- "@ckeditor/ckeditor5-html-support": "48.1.0",
29
- "@ckeditor/ckeditor5-list": "48.1.0",
30
- "@ckeditor/ckeditor5-table": "48.1.0",
31
- "@ckeditor/ckeditor5-ui": "48.1.0",
32
- "@ckeditor/ckeditor5-utils": "48.1.0"
24
+ "@ckeditor/ckeditor5-core": "48.8.1-alpha.0",
25
+ "@ckeditor/ckeditor5-engine": "48.8.1-alpha.0",
26
+ "@ckeditor/ckeditor5-export-inline-styles": "48.8.1-alpha.0",
27
+ "@ckeditor/ckeditor5-font": "48.8.1-alpha.0",
28
+ "@ckeditor/ckeditor5-html-support": "48.8.1-alpha.0",
29
+ "@ckeditor/ckeditor5-list": "48.8.1-alpha.0",
30
+ "@ckeditor/ckeditor5-table": "48.8.1-alpha.0",
31
+ "@ckeditor/ckeditor5-ui": "48.8.1-alpha.0",
32
+ "@ckeditor/ckeditor5-utils": "48.8.1-alpha.0"
33
33
  },
34
34
  "files": [
35
35
  "dist",