@ckeditor/ckeditor5-email 48.1.0-alpha.4 → 48.1.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +10 -10
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2ec075}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x460a30}from'@ckeditor/ckeditor5-utils/dist/index.js';import{dropImportantStyleSuffix as _0x28c886}from'@ckeditor/ckeditor5-export-inline-styles/dist/index.js';const r='https://ckeditor.com/docs/ckeditor5/latest';class s extends _0x2ec075{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x402bf4){super(_0x402bf4),_0x402bf4['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x1a16c3){const _0x396f97=_0x362b28([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]),_0x4fe82f=0x7780c648,_0x4f1825=0x77874fe0^_0x4fe82f,_0x3a8fad=window[_0x362b28([0x44,0x61,0x74,0x65])][_0x362b28([0x6e,0x6f,0x77])](),_0x2db96c=_0x1a16c3[_0x362b28([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4cb051=new window[(_0x362b28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f5ac0=>{_0x2db96c[_0x362b28([0x6f,0x6e,0x63,0x65])](_0x362b28([0x72,0x65,0x61,0x64,0x79]),_0x3f5ac0);}),_0x91ea31={[_0x362b28([0x6b,0x74,0x79])]:_0x362b28([0x45,0x43]),[_0x362b28([0x75,0x73,0x65])]:_0x362b28([0x73,0x69,0x67]),[_0x362b28([0x63,0x72,0x76])]:_0x362b28([0x50,0x2d,0x32,0x35,0x36]),[_0x362b28([0x78])]:_0x362b28([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]),[_0x362b28([0x79])]:_0x362b28([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]),[_0x362b28([0x61,0x6c,0x67])]:_0x362b28([0x45,0x53,0x32,0x35,0x36])},_0x5d25db=_0x2db96c[_0x362b28([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x362b28([0x67,0x65,0x74])](_0x362b28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x38fd4b(){let _0x2caf67,_0x42261a=null,_0x546864=null;try{if(_0x5d25db==_0x362b28([0x47,0x50,0x4c]))return _0x362b28([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2caf67=_0x1f3efb(),!_0x2caf67)return _0x362b28([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2caf67[_0x362b28([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x546864=_0x54d6ff(_0x2caf67[_0x362b28([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2caf67[_0x362b28([0x6a,0x74,0x69])])),await _0x1301e3()?_0x32753c()?_0x438b1c()?_0x362b28([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x100cc2()?(_0x2caf67[_0x362b28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x362b28([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x42261a=_0x9b0721(_0x362b28([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc5808d()):_0x362b28([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x362b28([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x362b28([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x362b28([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x438b1c(){const _0x21fd86=[_0x362b28([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x362b28([0x74,0x72,0x69,0x61,0x6c])][_0x362b28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2caf67[_0x362b28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a8fad/0x3e8:0xe10*_0x4f1825;return _0x2caf67[_0x362b28([0x65,0x78,0x70])]<_0x21fd86;}function _0x32753c(){const _0x2db372=_0x2caf67[_0x362b28([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2db372&&(!!_0x2db372[_0x362b28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x362b28([0x2a]))||!!_0x2db372[_0x362b28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x362b28([0x45,0x43,0x48])));}function _0x100cc2(){const _0x3e2b2d=_0x2caf67[_0x362b28([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e2b2d||0x0==_0x3e2b2d[_0x362b28([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x16c828}=new URL(window[_0x362b28([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3e2b2d[_0x362b28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16c828))return!0x0;const _0x304dbc=_0x16c828[_0x362b28([0x73,0x70,0x6c,0x69,0x74])](_0x362b28([0x2e]));return _0x3e2b2d[_0x362b28([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf7d2ea=>_0xf7d2ea[_0x362b28([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x362b28([0x2a])))[_0x362b28([0x6d,0x61,0x70])](_0x5873c9=>_0x5873c9[_0x362b28([0x73,0x70,0x6c,0x69,0x74])](_0x362b28([0x2e])))[_0x362b28([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa95bba=>_0xa95bba[_0x362b28([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x304dbc[_0x362b28([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x362b28([0x6d,0x61,0x70])](_0x1fbd7b=>Array(_0x304dbc[_0x362b28([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1fbd7b[_0x362b28([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x362b28([0x66,0x69,0x6c,0x6c])](_0x1fbd7b[0x0]===_0x362b28([0x2a])?_0x362b28([0x2a]):'')[_0x362b28([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1fbd7b))[_0x362b28([0x73,0x6f,0x6d,0x65])](_0x478284=>_0x304dbc[_0x362b28([0x65,0x76,0x65,0x72,0x79])]((_0x46478d,_0x3de199)=>_0x478284[_0x3de199]===_0x46478d||_0x478284[_0x3de199]===_0x362b28([0x2a])));}function _0xc5808d(){return _0x42261a&&_0x546864?new window[(_0x362b28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b15f3,_0x434663)=>{_0x42261a[_0x362b28([0x74,0x68,0x65,0x6e])](_0x5b15f3,_0x434663),_0x546864[_0x362b28([0x74,0x68,0x65,0x6e])](_0x24a150=>{_0x24a150!=_0x362b28([0x56,0x61,0x6c,0x69,0x64])&&_0x5b15f3(_0x24a150);},_0x434663);}):_0x42261a||_0x546864||_0x362b28([0x56,0x61,0x6c,0x69,0x64]);}}function _0x54d6ff(_0x3f8d51,_0x4cdfce){return new window[(_0x362b28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29320c=>{if(_0x45cbe9())return _0x29320c(_0x362b28([0x56,0x61,0x6c,0x69,0x64]));_0x95ae72(),_0x2db96c[_0x362b28([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x362b28([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x85bada=!0x1;const _0xcd32e7=_0x460a30();function _0x536e1a(_0x25cfbe){return!!_0x25cfbe&&(typeof _0x25cfbe===_0x362b28([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x25cfbe===_0x362b28([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x25cfbe[_0x362b28([0x74,0x68,0x65,0x6e])]===_0x362b28([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x25cfbe[_0x362b28([0x63,0x61,0x74,0x63,0x68])]===_0x362b28([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2c1e0a(_0x465e08){_0x5473e2(_0x465e08)[_0x362b28([0x74,0x68,0x65,0x6e])](_0xee5dae=>{if(!_0xee5dae||_0xee5dae[_0x362b28([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x362b28([0x6f,0x6b]))return _0x362b28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x940edf(_0x3b7d77(_0xcd32e7+_0x4cdfce))!=_0xee5dae[_0x362b28([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x362b28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x362b28([0x56,0x61,0x6c,0x69,0x64]);})[_0x362b28([0x74,0x68,0x65,0x6e])](_0x5ac796=>(_0x56df9a(),_0x5ac796),()=>{const _0x42da54=_0x4015d1();return null==_0x42da54?(_0x56df9a(),_0x362b28([0x56,0x61,0x6c,0x69,0x64])):_0x362b28(_0x3a8fad-_0x42da54>(0x538c4248^_0x4fe82f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x362b28([0x74,0x68,0x65,0x6e])](_0x29320c)[_0x362b28([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29320c(_0x362b28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4585ed=0x77b628c8^_0x4fe82f;function _0x56df9a(){const _0x38032d=_0x362b28([0x6c,0x6c,0x63,0x74,0x2d])+_0x940edf(_0x3b7d77(_0x3f8d51)),_0x55ceac=_0x583414(_0x940edf(window[_0x362b28([0x4d,0x61,0x74,0x68])][_0x362b28([0x63,0x65,0x69,0x6c])](_0x3a8fad/_0x4585ed)));window[_0x362b28([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x362b28([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38032d,_0x55ceac);}function _0x4015d1(){const _0x2f809c=_0x362b28([0x6c,0x6c,0x63,0x74,0x2d])+_0x940edf(_0x3b7d77(_0x3f8d51)),_0x236b74=window[_0x362b28([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x362b28([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f809c);return _0x236b74?window[_0x362b28([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x583414(_0x236b74),0x10)*_0x4585ed:null;}function _0x5473e2(_0x5cd2ef){return new window[(_0x362b28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x91f43d,_0x4b1f0c)=>{_0x5cd2ef[_0x362b28([0x74,0x68,0x65,0x6e])](_0x91f43d,_0x4b1f0c),window[_0x362b28([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4b1f0c,0x77811288^_0x4fe82f);});}}_0x2db96c[_0x362b28([0x6f,0x6e])](_0x362b28([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x57062e,_0x4fb610)=>{if(_0x4fb610[0x0]!=_0x3f8d51)return _0x29320c(_0x362b28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4fb610[0x1]={..._0x4fb610[0x1],[_0x362b28([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xcd32e7};},{[_0x362b28([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x362b28([0x68,0x69,0x67,0x68])}),_0x2db96c[_0x362b28([0x6f,0x6e])](_0x362b28([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3308c5=>{_0x536e1a(_0x3308c5[_0x362b28([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x85bada=!0x0,_0x2c1e0a(_0x3308c5[_0x362b28([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x362b28([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x362b28([0x6c,0x6f,0x77])}),_0x4cb051[_0x362b28([0x74,0x68,0x65,0x6e])](()=>{_0x85bada||_0x29320c(_0x362b28([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x45cbe9(){return _0x2db96c[_0x362b28([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x362b28([0x76,0x69,0x65,0x77])][_0x362b28([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x362b28([0x61,0x75,0x74,0x6f]);}function _0x95ae72(){_0x2db96c[_0x362b28([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x362b28([0x76,0x69,0x65,0x77])][_0x362b28([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x362b28([0x61,0x75,0x74,0x6f]);}}function _0x9b0721(_0x46cdf4){const _0x147ad0=[new window[(_0x362b28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x748884=>setTimeout(_0x748884,0x7789f884^_0x4fe82f)),_0x4cb051[_0x362b28([0x74,0x68,0x65,0x6e])](()=>new window[(_0x362b28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35b6f6=>{let _0x5cee39=0x0;_0x2db96c[_0x362b28([0x6d,0x6f,0x64,0x65,0x6c])][_0x362b28([0x6f,0x6e])](_0x362b28([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39856f,_0x1a7d2d)=>{_0x1a7d2d[0x0][_0x362b28([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5cee39++,_0x5cee39==(0x7780c3a0^_0x4fe82f)&&(_0x35b6f6(),_0x39856f[_0x362b28([0x6f,0x66,0x66])]());});}))];return window[_0x362b28([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x362b28([0x72,0x61,0x63,0x65])](_0x147ad0)[_0x362b28([0x74,0x68,0x65,0x6e])](()=>_0x46cdf4);}async function _0x5a854f(){await _0x4cb051,_0x2db96c[_0x362b28([0x6d,0x6f,0x64,0x65,0x6c])][_0x362b28([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d17a6,_0x2db96c[_0x362b28([0x6d,0x6f,0x64,0x65,0x6c])][_0x362b28([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d17a6,_0x2db96c[_0x362b28([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x362b28([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3e02fb(_0x5d964e){const _0x5e3174=_0x4b5832();_0x2db96c[_0x5e3174]=_0x362b28([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])+_0x5d964e,_0x5d964e!=_0x362b28([0x56,0x61,0x6c,0x69,0x64])&&_0x5a854f();}function _0x4b5832(){const _0x234de1=window[_0x362b28([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x362b28([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x362b28([0x6e,0x6f,0x77])]())[_0x362b28([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x362b28([0x2e]),'');let _0x8ab193=_0x362b28([0x75]);for(let _0x10d0c9=0x0;_0x10d0c9<_0x234de1[_0x362b28([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10d0c9+=0x2){let _0x3a7bf4=window[_0x362b28([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x234de1[_0x362b28([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10d0c9,_0x10d0c9+0x2));_0x3a7bf4>=_0x396f97[_0x362b28([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a7bf4-=_0x396f97[_0x362b28([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x8ab193+=_0x396f97[_0x3a7bf4];}return _0x8ab193;}function _0x1f3efb(){const _0x495b8d=_0x5d25db[_0x362b28([0x73,0x70,0x6c,0x69,0x74])](_0x362b28([0x2e]));if(0x3!=_0x495b8d[_0x362b28([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x316ffe(_0x495b8d[0x1]);function _0x316ffe(_0x2fdf47){const _0x51dda9=_0x1d5501(_0x2fdf47);return _0x51dda9&&_0x750fea()?_0x51dda9:null;function _0x750fea(){const _0x40dd32=_0x51dda9[_0x362b28([0x6a,0x74,0x69])],_0x2558e2=window[_0x362b28([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40dd32[_0x362b28([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40dd32[_0x362b28([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5a1f4a={..._0x51dda9,[_0x362b28([0x6a,0x74,0x69])]:_0x40dd32[_0x362b28([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40dd32[_0x362b28([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5a1f4a[_0x362b28([0x76,0x63])],_0x3b7d77(_0x5a1f4a)==_0x2558e2;}}}async function _0x1301e3(){let _0x9e87f0=!0x0;try{const _0x3be655=_0x5d25db[_0x362b28([0x73,0x70,0x6c,0x69,0x74])](_0x362b28([0x2e])),[_0x3a6858,_0x4c75a5,_0x1f92fb]=_0x3be655;return _0x440133(_0x3a6858),await _0x348bfb(_0x3a6858,_0x4c75a5,_0x1f92fb),_0x9e87f0;}catch{return!0x1;}function _0x440133(_0x35bbcc){const _0x4f65f2=_0x1d5501(_0x35bbcc);_0x4f65f2&&_0x4f65f2[_0x362b28([0x61,0x6c,0x67])]==_0x362b28([0x45,0x53,0x32,0x35,0x36])||(_0x9e87f0=!0x1);}async function _0x348bfb(_0x4d2d16,_0x3a8552,_0x47465e){const _0x3c3396=window[_0x362b28([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x362b28([0x66,0x72,0x6f,0x6d])](_0x15faa5(_0x47465e),_0x146730=>_0x146730[_0x362b28([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2edb34=new window[(_0x362b28([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x362b28([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4d2d16+_0x362b28([0x2e])+_0x3a8552),_0x3a06bd=window[_0x362b28([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x362b28([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3a06bd)return;const _0x3a1cc1=await _0x3a06bd[_0x362b28([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x362b28([0x6a,0x77,0x6b]),_0x91ea31,{[_0x362b28([0x6e,0x61,0x6d,0x65])]:_0x362b28([0x45,0x43,0x44,0x53,0x41]),[_0x362b28([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x362b28([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x362b28([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3a06bd[_0x362b28([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x362b28([0x6e,0x61,0x6d,0x65])]:_0x362b28([0x45,0x43,0x44,0x53,0x41]),[_0x362b28([0x68,0x61,0x73,0x68])]:{[_0x362b28([0x6e,0x61,0x6d,0x65])]:_0x362b28([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3a1cc1,_0x3c3396,_0x2edb34)||(_0x9e87f0=!0x1);}}function _0x1d5501(_0x212f14){return _0x212f14[_0x362b28([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x362b28([0x65,0x79]))?JSON[_0x362b28([0x70,0x61,0x72,0x73,0x65])](_0x15faa5(_0x212f14)):null;}function _0x15faa5(_0x25f33b){return window[_0x362b28([0x61,0x74,0x6f,0x62])](_0x25f33b[_0x362b28([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x362b28([0x2b]))[_0x362b28([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x362b28([0x2f])));}function _0x3b7d77(_0x5593c4){let _0x561725=0x1505;function _0x3e1026(_0x5a92d2){for(let _0x20a17d=0x0;_0x20a17d<_0x5a92d2[_0x362b28([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20a17d++){const _0x51f6f2=_0x5a92d2[_0x362b28([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x20a17d);_0x561725=(_0x561725<<0x5)+_0x561725+_0x51f6f2,_0x561725&=_0x561725;}}function _0x186076(_0x203138){Array[_0x362b28([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x203138)?_0x203138[_0x362b28([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x186076):_0x203138&&typeof _0x203138==_0x362b28([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x362b28([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x203138)[_0x362b28([0x73,0x6f,0x72,0x74])]()[_0x362b28([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27e353,_0x96e77e])=>{_0x3e1026(_0x27e353),_0x186076(_0x96e77e);}):_0x3e1026(window[_0x362b28([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x203138));}return _0x186076(_0x5593c4),_0x561725>>>0x0;}function _0x940edf(_0x49143c){return _0x49143c[_0x362b28([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x362b28([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x362b28([0x30]));}function _0x583414(_0x26ff0b){return _0x26ff0b[_0x362b28([0x73,0x70,0x6c,0x69,0x74])]('')[_0x362b28([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x362b28([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d17a6(){}function _0x362b28(_0x1afaec){return _0x1afaec['map'](_0x4fa623=>String['fromCharCode'](_0x4fa623))['join']('');}_0x3e02fb(await _0x38fd4b());}(this);}['_logSuppressibleWarning'](_0x57ee03,_0x4e51bf){if(this['_isSuppressedLog'](_0x57ee03,_0x4e51bf))return;const _0x1b3351=r+'/support/error-codes.html#error-'+_0x57ee03;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x57ee03,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x4e51bf?[_0x4e51bf]:[],'\x0aRead\x20more:\x20'+_0x1b3351);}['_logSuppressibleInfo'](_0xfb8cd1,_0x1a2235,_0x11930e){if(this['_isSuppressedLog'](_0xfb8cd1))return;let _0x29528f=_0x1a2235;_0x11930e&&(_0x29528f+='\x0aRead\x20more:\x20'+(r+'/'+_0x11930e)),console['info']('%cEmailConfigurationHelper%c\x20'+_0xfb8cd1,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x29528f);}['_checkUnsupportedPlugin'](_0x131708,_0x3b6d7e){this['editor']['plugins']['has'](_0x131708)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x131708,..._0x3b6d7e});}['_validateConfigColorValue'](_0x7b0851){const _0x3fce19=this['editor']['config']['get'](_0x7b0851);if(!_0x3fce19)return;const _0x44ee04=Array['isArray'](_0x3fce19),_0x5c433f=_0x44ee04?_0x3fce19:[_0x3fce19];for(const [_0xaf0052,_0x1fb873]of _0x5c433f['entries']()){const _0x39da47='string'==typeof _0x1fb873?_0x1fb873:_0x1fb873['color'];a(_0x39da47)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x44ee04?_0x7b0851+'['+_0xaf0052+']':_0x7b0851,'color':_0x39da47});}}['_validateConfigColorFormat'](_0x54940c){const _0xf3d941=this['editor']['config']['get'](_0x54940c);_0xf3d941&&l(_0xf3d941)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x54940c,'format':_0xf3d941});}['_isSuppressedLog'](_0x32299a,_0x3c202a){const _0x2b3d55=this['editor']['config']['get']('email.logs');return!!_0x2b3d55['suppressAll']||(!('function'!=typeof _0x2b3d55['suppress']||!_0x2b3d55['suppress'](_0x32299a,_0x3c202a))||!(!Array['isArray'](_0x2b3d55['suppress'])||!_0x2b3d55['suppress']['includes'](_0x32299a)));}}const o=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function a(_0x1f8ccf){return!!_0x1f8ccf&&o['some'](_0x1309ec=>_0x1f8ccf['includes'](_0x1309ec+'('));}function l(_0x4f2b5e){return!!_0x4f2b5e&&o['includes'](_0x4f2b5e);}class u extends _0x2ec075{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(_0x23657c,_0x11ceb5){const _0x53b8b9=_0x23657c['ownerDocument'],{table:_0x5755b9,cell:_0x2abd51}=g(_0x53b8b9,'100%');_0x11ceb5['align']&&_0x2abd51['setAttribute']('align',_0x28c886(_0x11ceb5['align']));let _0x2baf25=_0x2abd51;if(_0x11ceb5['width']){const {table:_0x156605,cell:_0x47d25e}=g(_0x53b8b9,_0x28c886(_0x11ceb5['width']));_0x2abd51['appendChild'](_0x156605),_0x2baf25=_0x47d25e;}return _0x23657c['replaceWith'](_0x5755b9),_0x23657c['removeAttribute']('align'),_0x23657c['removeAttribute']('width'),_0x2baf25['appendChild'](_0x23657c),_0x2baf25;}function g(_0x5a0fec,_0x41f936){const _0x1aafe7=_0x5a0fec['createElement']('table');_0x41f936&&(_0x1aafe7['style']['width']=_0x41f936,_0x1aafe7['setAttribute']('width',h(_0x41f936))),_0x1aafe7['setAttribute']('cellpadding','0'),_0x1aafe7['setAttribute']('cellspacing','0'),_0x1aafe7['setAttribute']('border','0'),_0x1aafe7['setAttribute']('role','presentation');const _0x196324=_0x5a0fec['createElement']('tbody'),_0x167732=_0x5a0fec['createElement']('tr'),_0x114ac3=_0x5a0fec['createElement']('td');return _0x1aafe7['appendChild'](_0x196324),_0x196324['appendChild'](_0x167732),_0x167732['appendChild'](_0x114ac3),{'table':_0x1aafe7,'cell':_0x114ac3};}function f(_0x271838){const _0x5613c5=_0x271838['getAsString']('margin-left'),_0x5c6a3a=_0x271838['getAsString']('margin-right'),_0x244f31=_0x5613c5&&_0x28c886(_0x5613c5),_0x1f88c9=_0x5c6a3a&&_0x28c886(_0x5c6a3a);return'auto'===_0x244f31&&'auto'===_0x1f88c9?'center':'auto'===_0x244f31?'right':'auto'===_0x1f88c9?'left':void 0x0;}function m(_0x2a26ea,_0x387563){const _0x3fe083=_0x2a26ea['ownerDocument']['createElement'](_0x387563);for(const _0x4b82a0 of Array['from'](_0x2a26ea['attributes']))_0x3fe083['setAttribute'](_0x4b82a0['name'],_0x4b82a0['value']);for(;_0x2a26ea['firstChild'];)_0x3fe083['appendChild'](_0x2a26ea['firstChild']);return _0x3fe083;}function d(_0x441270){if('TABLE'!==_0x441270['tagName'])return!0x1;if('presentation'!==_0x441270['getAttribute']('role'))return!0x1;const _0x2f5931=p(_0x441270);return null!==_0x2f5931&&_0x2f5931['hasAttribute']('align');}function p(_0x3e9d52){let _0x897d4b=_0x3e9d52;0x1===_0x3e9d52['children']['length']&&'TBODY'===_0x3e9d52['children'][0x0]['tagName']&&(_0x897d4b=_0x3e9d52['children'][0x0]);const _0x5499db=_0x897d4b['children'];if(0x1!==_0x5499db['length']||'TR'!==_0x5499db[0x0]['tagName'])return null;const _0x1989d6=_0x5499db[0x0]['children'];return 0x1!==_0x1989d6['length']||'TD'!==_0x1989d6[0x0]['tagName']?null:_0x1989d6[0x0];}function h(_0x3f99e1){return function(_0x5c7924){if(_0x5c7924['endsWith']('px'))return _0x5c7924['slice'](0x0,-0x2);return _0x5c7924;}(_0x28c886(_0x3f99e1));}const w=(_0x1c8369,_0xab9974,{runAfterDocumentTransformation:_0x289361,runAfterChildrenTransformation:_0x226716})=>{if('FIGURE'!==_0x1c8369['tagName'])return;const _0x2f377e=_0xab9974['getAsString']('float');if(_0x2f377e){if(y(_0x1c8369))_0x289361(()=>{const _0x51b4db=y(_0x1c8369);_0x51b4db&&P(_0x1c8369,_0x51b4db,{'align':_0x2f377e});});else{const {table:_0x55d062,cell:_0x4d1909}=g(_0x1c8369['ownerDocument']);_0x55d062['setAttribute']('align',_0x28c886(_0x2f377e)),_0x55d062['setAttribute']('style',function(_0x38ea6e){return _0x38ea6e['getStylesEntries']()['map'](_0x12d6b5=>_0x12d6b5['join'](':'))['join'](';')+';';}(_0xab9974)),_0x226716(()=>{for(const _0x9fb079 of Array['from'](_0x1c8369['childNodes']))_0x4d1909['appendChild'](_0x9fb079);}),_0x289361(()=>{_0x1c8369['replaceWith'](_0x55d062);});}}else{const _0x1f5019=f(_0xab9974),_0x178238=_0xab9974['getAsString']('width');if(!_0x1f5019&&!_0x178238)return;c(_0x1c8369,{'align':_0x1f5019,'width':_0x178238}),_0x178238&&_0xab9974['set']('width','100%'),_0xab9974['remove']('margin-left'),_0xab9974['remove']('margin-right'),_0xab9974['remove']('min-width'),_0xab9974['remove']('max-width'),_0x289361(()=>{const _0x27f940=y(_0x1c8369);if(_0x27f940)P(_0x1c8369,_0x27f940);else{const _0x5f7e26=m(_0x1c8369,'div');_0x1c8369['replaceWith'](_0x5f7e26);}});}};function P(_0x18283b,_0x120e57,_0x135929={}){for(const _0x47b2ad of['id','class']){const _0x2ad27b=_0x18283b['getAttribute'](_0x47b2ad);_0x2ad27b&&_0x120e57['setAttribute'](_0x47b2ad,_0x2ad27b);}for(const _0x31877d of['display','float','width','height'])_0x120e57['style']['removeProperty'](_0x31877d);const _0x9a92be=_0x18283b['getAttribute']('style');if(_0x9a92be){const _0x694b6d=_0x120e57['getAttribute']('style')||'';_0x120e57['setAttribute']('style',_0x9a92be+_0x694b6d);}_0x135929['align']&&_0x120e57['setAttribute']('align',_0x28c886(_0x135929['align'])),_0x18283b['replaceWith'](_0x120e57);}function y(_0x3a1dd9){const _0x4859fe=Array['from'](_0x3a1dd9['children']);return 0x1===_0x4859fe['length']&&'TABLE'===_0x4859fe[0x0]['tagName']?_0x4859fe[0x0]:null;}class b extends _0x2ec075{static get['requires'](){return[s];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x5abbe7,plugins:_0x23a35c}=this['editor'],_0x189a27=_0x5abbe7['get']('exportInlineStyles');if(_0x189a27?.['transformations']?.['includes'](w))return;_0x23a35c['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 _0x2ec075{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 _0x2ec075{static get['requires'](){return[s];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x2e75ce=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('ExportInlineStyles')||_0x2e75ce['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class k extends _0x2ec075{static get['requires'](){return[s];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5b1db5=this['editor']['plugins']['get'](s),_0x23180a=this['editor']['config']['get']('list');_0x23180a&&_0x23180a['properties']&&_0x23180a['properties']['reversed']&&_0x5b1db5['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x23180a&&_0x23180a['enableListItemMarkerFormatting']&&_0x5b1db5['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class x extends _0x2ec075{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:_0x4a38b}=this['editor'],_0x520675=_0x4a38b['get'](s);_0x4a38b['has']('Table')&&(_0x4a38b['has']('PlainTableOutput')||_0x520675['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x4a38b['has']('TableLayout')||_0x520675['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x2f51cc,plugins:_0x443b20}=this['editor'];_0x2f51cc['get']('table')&&_0x443b20['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0xcd7391){const _0x39c04d=this['editor']['plugins']['get'](s);_0x39c04d['_validateConfigColorValue']('table.'+_0xcd7391+'.borderColors'),_0x39c04d['_validateConfigColorValue']('table.'+_0xcd7391+'.backgroundColors'),_0x39c04d['_validateConfigColorValue']('table.'+_0xcd7391+'.defaultProperties.borderColor'),_0x39c04d['_validateConfigColorValue']('table.'+_0xcd7391+'.defaultProperties'),_0x39c04d['_validateConfigColorFormat']('table.'+_0xcd7391+'.colorPicker.format');}}class C extends _0x2ec075{static get['requires'](){return[s];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x44b9ee=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('EmptyBlock')||_0x44b9ee['_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 _0x2ec075{static get['requires'](){return[s];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x5058ff}=this['editor'];_0x5058ff['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x5058ff['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x2e9a45){const _0x59dc42=this['editor']['plugins']['get'](s);this['editor']['config']['get'](_0x2e9a45)&&(_0x59dc42['_validateConfigColorValue'](_0x2e9a45+'.colors'),_0x59dc42['_validateConfigColorValue'](_0x2e9a45+'.documentColors'),_0x59dc42['_validateConfigColorFormat'](_0x2e9a45+'.colorPicker.format'));}}class T extends _0x2ec075{static get['requires'](){return[s];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x1f49b2}=this['editor'],_0x17d57b=_0x1f49b2['get'](s);_0x1f49b2['has']('SourceEditing')||_0x1f49b2['has']('SourceEditingEnhanced')||_0x17d57b['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class N extends _0x2ec075{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 _0x2ec075{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:_0x40bd94}=this['editor'];if(!_0x40bd94['has']('DataFilter'))return;const _0x441b5d=_0x40bd94['get']('DataFilter'),_0x33fdd0=_0x40bd94['get'](s);for(const _0x235817 of v['UNSUPPORTED_ELEMENTS'])_0x441b5d['once']('register:'+_0x235817,(_0x2c381b,_0x17457f)=>{_0x33fdd0['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x17457f['view']});});}}class O extends _0x2ec075{static get['requires'](){return[s];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x1758dc=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('MergeFields')||_0x1758dc['_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 _0x2ec075{static get['requires'](){return[s];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x388d1c=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('Template')||_0x388d1c['_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 _0x2ec075{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 _0x2ec075{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 _0x2ec075{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 _0x2ec075{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 _0x2ec075{static get['requires'](){return[s];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x48bd1a,plugins:_0xfc52d7}=this['editor'],_0x20a096=_0xfc52d7['get'](s),_0x71394=_0x48bd1a['get']('exportInlineStyles');_0x71394?.['transformations']?.['includes'](w)||_0x20a096['_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 _0x2ec075{['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 _0x55ffd2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2366ca;for(const _0xb125aa in _0x55ffd2){const _0x1cedb7=_0xb125aa,_0x2e4555=_0x55ffd2[_0x1cedb7];if('emailConfigurationHelperLicenseKeyValid'==_0x2e4555||'emailConfigurationHelperLicenseKeyInvalid'==_0x2e4555||'emailConfigurationHelperLicenseKeyExpired'==_0x2e4555||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x2e4555||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x2e4555||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x2e4555||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x2e4555){delete _0x55ffd2[_0x1cedb7],_0x2366ca=_0x2e4555,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x2366ca&&_0x55ffd2['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x2366ca&&_0x55ffd2['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x2366ca&&_0x55ffd2['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x2366ca&&_0x55ffd2['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x2366ca&&_0x55ffd2['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x2366ca&&_0x55ffd2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}const M=(_0x48b1bb,_0x74a9ac)=>{if(!['TABLE','IMG']['includes'](_0x48b1bb['tagName']))return;const _0x485122=_0x74a9ac['getAsString']('float');if(_0x485122){const _0x2dc666=_0x28c886(_0x485122);'left'!==_0x2dc666&&'right'!==_0x2dc666||_0x48b1bb['setAttribute']('align',_0x2dc666);}},F=(_0x447e6f,_0x3f188a)=>{if('TABLE'!==_0x447e6f['tagName']||_0x3f188a['has']('float'))return;const _0xe17649=f(_0x3f188a),_0x149abb=_0x3f188a['getAsString']('width');_0xe17649&&(c(_0x447e6f,{'align':_0xe17649}),_0x149abb?_0x447e6f['setAttribute']('width',h(_0x149abb)):_0x3f188a['remove']('width'),_0x3f188a['remove']('margin-left'),_0x3f188a['remove']('margin-right'));},_=(_0x3ce680,_0x582cff)=>{if('IMG'!==_0x3ce680['tagName'])return;const _0x3cb553=_0x582cff['getAsString']('width');_0x3cb553&&(_0x3ce680['setAttribute']('width',h(_0x3cb553)),_0x3ce680['setAttribute']('height','auto'));},D=(_0x5de588,_0x3bb560,{runAfterDocumentTransformation:_0x14355e})=>{if('FIGCAPTION'!==_0x5de588['tagName'])return;const _0x30ae6f=_0x3bb560['getAsString']('display'),_0x1a46e7=_0x3bb560['getAsString']('caption-side');_0x3bb560['remove']('caption-side'),_0x30ae6f&&'table-caption'===_0x28c886(_0x30ae6f)&&_0x3bb560['remove']('display');const _0x2f6774=_0x1a46e7&&'top'===_0x28c886(_0x1a46e7);_0x14355e(()=>{const _0x48f4db=m(_0x5de588,'div'),_0x286b90=_0x5de588['previousElementSibling'];_0x2f6774&&_0x286b90&&'TABLE'===_0x286b90['tagName']?(_0x286b90['before'](_0x48f4db),_0x5de588['remove']()):_0x5de588['replaceWith'](_0x48f4db);});},U=(_0x213586,_0x1ec3a9,{runAfterChildrenTransformation:_0x1f1a1a})=>{'TD'===_0x213586['tagName']&&_0x1f1a1a(()=>{const _0x37a1b9=Array['from'](_0x213586['children']);if(0x0===_0x37a1b9['length'])return;const _0x2aa0ea=_0x37a1b9['map'](R),_0x5a6222=_0x2aa0ea[0x0];if(_0x5a6222&&_0x2aa0ea['every'](_0x1cfcf6=>_0x1cfcf6===_0x5a6222)){_0x213586['setAttribute']('align',_0x5a6222);for(const _0x17bcb8 of _0x37a1b9)if(d(_0x17bcb8)){const _0x512dd4=p(_0x17bcb8);_0x17bcb8['replaceWith'](...Array['from'](_0x512dd4['childNodes']));}else _0x17bcb8['style']['removeProperty']('text-align'),_0x17bcb8['style']['length']||_0x17bcb8['removeAttribute']('style');}});};function R(_0x24a527){if(d(_0x24a527))return p(_0x24a527)['getAttribute']('align');return _0x24a527['style']['textAlign']||void 0x0;}function j(_0x363132={}){const _0x25a2b9=[];return _0x363132['useFigureToTableFallback']&&_0x25a2b9['push'](w,D,U),_0x25a2b9['push'](M,F,_),_0x25a2b9;}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 _0x4ed07d}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x1b3f35}from'@ckeditor/ckeditor5-utils/dist/index.js';import{dropImportantStyleSuffix as _0x4ba6f2}from'@ckeditor/ckeditor5-export-inline-styles/dist/index.js';const r='https://ckeditor.com/docs/ckeditor5/latest';class s extends _0x4ed07d{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x13f471){super(_0x13f471),_0x13f471['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x2935ec){const _0x54e745=_0x3e8ca7([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]),_0x4ecb02=0x7780c648,_0x4f851=0x77874f90^_0x4ecb02,_0x1e1b20=window[_0x3e8ca7([0x44,0x61,0x74,0x65])][_0x3e8ca7([0x6e,0x6f,0x77])](),_0x29dd63=_0x2935ec[_0x3e8ca7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d3c36=new window[(_0x3e8ca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47f56c=>{_0x29dd63[_0x3e8ca7([0x6f,0x6e,0x63,0x65])](_0x3e8ca7([0x72,0x65,0x61,0x64,0x79]),_0x47f56c);}),_0x164bc7={[_0x3e8ca7([0x6b,0x74,0x79])]:_0x3e8ca7([0x45,0x43]),[_0x3e8ca7([0x75,0x73,0x65])]:_0x3e8ca7([0x73,0x69,0x67]),[_0x3e8ca7([0x63,0x72,0x76])]:_0x3e8ca7([0x50,0x2d,0x32,0x35,0x36]),[_0x3e8ca7([0x78])]:_0x3e8ca7([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]),[_0x3e8ca7([0x79])]:_0x3e8ca7([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]),[_0x3e8ca7([0x61,0x6c,0x67])]:_0x3e8ca7([0x45,0x53,0x32,0x35,0x36])},_0x5eb6ec=_0x29dd63[_0x3e8ca7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e8ca7([0x67,0x65,0x74])](_0x3e8ca7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x9a424(){let _0x8ea3f3,_0x4aaf4f=null,_0x2231a6=null;try{if(_0x5eb6ec==_0x3e8ca7([0x47,0x50,0x4c]))return _0x3e8ca7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8ea3f3=_0xbb154f(),!_0x8ea3f3)return _0x3e8ca7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8ea3f3[_0x3e8ca7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2231a6=_0x12247b(_0x8ea3f3[_0x3e8ca7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8ea3f3[_0x3e8ca7([0x6a,0x74,0x69])])),await _0x168b10()?_0x594c6f()?_0x3e195d()?_0x3e8ca7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5014b5()?(_0x8ea3f3[_0x3e8ca7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e8ca7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4aaf4f=_0x576914(_0x3e8ca7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x12b933()):_0x3e8ca7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e8ca7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e8ca7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e8ca7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3e195d(){const _0x15794c=[_0x3e8ca7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e8ca7([0x74,0x72,0x69,0x61,0x6c])][_0x3e8ca7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8ea3f3[_0x3e8ca7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e1b20/0x3e8:0xe10*_0x4f851;return _0x8ea3f3[_0x3e8ca7([0x65,0x78,0x70])]<_0x15794c;}function _0x594c6f(){const _0x34518e=_0x8ea3f3[_0x3e8ca7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x34518e&&(!!_0x34518e[_0x3e8ca7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e8ca7([0x2a]))||!!_0x34518e[_0x3e8ca7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e8ca7([0x45,0x43,0x48])));}function _0x5014b5(){const _0x17107a=_0x8ea3f3[_0x3e8ca7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x17107a||0x0==_0x17107a[_0x3e8ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2e3018}=new URL(window[_0x3e8ca7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x17107a[_0x3e8ca7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e3018))return!0x0;const _0x16d0ee=_0x2e3018[_0x3e8ca7([0x73,0x70,0x6c,0x69,0x74])](_0x3e8ca7([0x2e]));return _0x17107a[_0x3e8ca7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a32e4=>_0x1a32e4[_0x3e8ca7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e8ca7([0x2a])))[_0x3e8ca7([0x6d,0x61,0x70])](_0xc3c10=>_0xc3c10[_0x3e8ca7([0x73,0x70,0x6c,0x69,0x74])](_0x3e8ca7([0x2e])))[_0x3e8ca7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4570e2=>_0x4570e2[_0x3e8ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x16d0ee[_0x3e8ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e8ca7([0x6d,0x61,0x70])](_0x35e042=>Array(_0x16d0ee[_0x3e8ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x35e042[_0x3e8ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e8ca7([0x66,0x69,0x6c,0x6c])](_0x35e042[0x0]===_0x3e8ca7([0x2a])?_0x3e8ca7([0x2a]):'')[_0x3e8ca7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x35e042))[_0x3e8ca7([0x73,0x6f,0x6d,0x65])](_0x364f5b=>_0x16d0ee[_0x3e8ca7([0x65,0x76,0x65,0x72,0x79])]((_0x325fd4,_0x1d878e)=>_0x364f5b[_0x1d878e]===_0x325fd4||_0x364f5b[_0x1d878e]===_0x3e8ca7([0x2a])));}function _0x12b933(){return _0x4aaf4f&&_0x2231a6?new window[(_0x3e8ca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x406f42,_0x2a2082)=>{_0x4aaf4f[_0x3e8ca7([0x74,0x68,0x65,0x6e])](_0x406f42,_0x2a2082),_0x2231a6[_0x3e8ca7([0x74,0x68,0x65,0x6e])](_0x58ff91=>{_0x58ff91!=_0x3e8ca7([0x56,0x61,0x6c,0x69,0x64])&&_0x406f42(_0x58ff91);},_0x2a2082);}):_0x4aaf4f||_0x2231a6||_0x3e8ca7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x12247b(_0x70ca54,_0x314804){return new window[(_0x3e8ca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34c7a6=>{if(_0x4f9a68())return _0x34c7a6(_0x3e8ca7([0x56,0x61,0x6c,0x69,0x64]));_0x194f9a(),_0x29dd63[_0x3e8ca7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e8ca7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4a8f00=!0x1;const _0x4580a1=_0x1b3f35();function _0x2c74f9(_0x396cac){return!!_0x396cac&&(typeof _0x396cac===_0x3e8ca7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x396cac===_0x3e8ca7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x396cac[_0x3e8ca7([0x74,0x68,0x65,0x6e])]===_0x3e8ca7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x396cac[_0x3e8ca7([0x63,0x61,0x74,0x63,0x68])]===_0x3e8ca7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f334f(_0x1a12a1){_0x3388fe(_0x1a12a1)[_0x3e8ca7([0x74,0x68,0x65,0x6e])](_0x40f699=>{if(!_0x40f699||_0x40f699[_0x3e8ca7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e8ca7([0x6f,0x6b]))return _0x3e8ca7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x469d56(_0x900e91(_0x4580a1+_0x314804))!=_0x40f699[_0x3e8ca7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e8ca7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e8ca7([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e8ca7([0x74,0x68,0x65,0x6e])](_0x397845=>(_0x3ec781(),_0x397845),()=>{const _0xba773d=_0x1f86b3();return null==_0xba773d?(_0x3ec781(),_0x3e8ca7([0x56,0x61,0x6c,0x69,0x64])):_0x3e8ca7(_0x1e1b20-_0xba773d>(0x538c4248^_0x4ecb02)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e8ca7([0x74,0x68,0x65,0x6e])](_0x34c7a6)[_0x3e8ca7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x34c7a6(_0x3e8ca7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf7dfc5=0x77b628c8^_0x4ecb02;function _0x3ec781(){const _0x12fadd=_0x3e8ca7([0x6c,0x6c,0x63,0x74,0x2d])+_0x469d56(_0x900e91(_0x70ca54)),_0x5791bb=_0x5cb941(_0x469d56(window[_0x3e8ca7([0x4d,0x61,0x74,0x68])][_0x3e8ca7([0x63,0x65,0x69,0x6c])](_0x1e1b20/_0xf7dfc5)));window[_0x3e8ca7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e8ca7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12fadd,_0x5791bb);}function _0x1f86b3(){const _0x298274=_0x3e8ca7([0x6c,0x6c,0x63,0x74,0x2d])+_0x469d56(_0x900e91(_0x70ca54)),_0x56e3a7=window[_0x3e8ca7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e8ca7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x298274);return _0x56e3a7?window[_0x3e8ca7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cb941(_0x56e3a7),0x10)*_0xf7dfc5:null;}function _0x3388fe(_0x527108){return new window[(_0x3e8ca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x548696,_0xc30f06)=>{_0x527108[_0x3e8ca7([0x74,0x68,0x65,0x6e])](_0x548696,_0xc30f06),window[_0x3e8ca7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc30f06,0x77811288^_0x4ecb02);});}}_0x29dd63[_0x3e8ca7([0x6f,0x6e])](_0x3e8ca7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x19b778,_0x58680e)=>{if(_0x58680e[0x0]!=_0x70ca54)return _0x34c7a6(_0x3e8ca7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x58680e[0x1]={..._0x58680e[0x1],[_0x3e8ca7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4580a1};},{[_0x3e8ca7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e8ca7([0x68,0x69,0x67,0x68])}),_0x29dd63[_0x3e8ca7([0x6f,0x6e])](_0x3e8ca7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ab36d=>{_0x2c74f9(_0x1ab36d[_0x3e8ca7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4a8f00=!0x0,_0x4f334f(_0x1ab36d[_0x3e8ca7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e8ca7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e8ca7([0x6c,0x6f,0x77])}),_0x1d3c36[_0x3e8ca7([0x74,0x68,0x65,0x6e])](()=>{_0x4a8f00||_0x34c7a6(_0x3e8ca7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f9a68(){return _0x29dd63[_0x3e8ca7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e8ca7([0x76,0x69,0x65,0x77])][_0x3e8ca7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e8ca7([0x61,0x75,0x74,0x6f]);}function _0x194f9a(){_0x29dd63[_0x3e8ca7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e8ca7([0x76,0x69,0x65,0x77])][_0x3e8ca7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e8ca7([0x61,0x75,0x74,0x6f]);}}function _0x576914(_0x21cd71){const _0xbe6e8f=[new window[(_0x3e8ca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x99c190=>setTimeout(_0x99c190,0x7789f884^_0x4ecb02)),_0x1d3c36[_0x3e8ca7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e8ca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25ebe4=>{let _0x4dfb03=0x0;_0x29dd63[_0x3e8ca7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e8ca7([0x6f,0x6e])](_0x3e8ca7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x103872,_0x5a136b)=>{_0x5a136b[0x0][_0x3e8ca7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4dfb03++,_0x4dfb03==(0x7780c3a0^_0x4ecb02)&&(_0x25ebe4(),_0x103872[_0x3e8ca7([0x6f,0x66,0x66])]());});}))];return window[_0x3e8ca7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e8ca7([0x72,0x61,0x63,0x65])](_0xbe6e8f)[_0x3e8ca7([0x74,0x68,0x65,0x6e])](()=>_0x21cd71);}async function _0x520d2e(){await _0x1d3c36,_0x29dd63[_0x3e8ca7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e8ca7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25d401,_0x29dd63[_0x3e8ca7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e8ca7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25d401,_0x29dd63[_0x3e8ca7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e8ca7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x55af04(_0x4ce497){const _0x25c512=_0x3b991c();_0x29dd63[_0x25c512]=_0x3e8ca7([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])+_0x4ce497,_0x4ce497!=_0x3e8ca7([0x56,0x61,0x6c,0x69,0x64])&&_0x520d2e();}function _0x3b991c(){const _0x141b03=window[_0x3e8ca7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e8ca7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e8ca7([0x6e,0x6f,0x77])]())[_0x3e8ca7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e8ca7([0x2e]),'');let _0x3f4c0d=_0x3e8ca7([0x75]);for(let _0x5b729a=0x0;_0x5b729a<_0x141b03[_0x3e8ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b729a+=0x2){let _0x5c02ca=window[_0x3e8ca7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x141b03[_0x3e8ca7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b729a,_0x5b729a+0x2));_0x5c02ca>=_0x54e745[_0x3e8ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c02ca-=_0x54e745[_0x3e8ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f4c0d+=_0x54e745[_0x5c02ca];}return _0x3f4c0d;}function _0xbb154f(){const _0x10fa9e=_0x5eb6ec[_0x3e8ca7([0x73,0x70,0x6c,0x69,0x74])](_0x3e8ca7([0x2e]));if(0x3!=_0x10fa9e[_0x3e8ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x437fb7(_0x10fa9e[0x1]);function _0x437fb7(_0xaea036){const _0x224735=_0x401075(_0xaea036);return _0x224735&&_0x2f027e()?_0x224735:null;function _0x2f027e(){const _0x51960f=_0x224735[_0x3e8ca7([0x6a,0x74,0x69])],_0x279604=window[_0x3e8ca7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51960f[_0x3e8ca7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51960f[_0x3e8ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x16782d={..._0x224735,[_0x3e8ca7([0x6a,0x74,0x69])]:_0x51960f[_0x3e8ca7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x51960f[_0x3e8ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x16782d[_0x3e8ca7([0x76,0x63])],_0x900e91(_0x16782d)==_0x279604;}}}async function _0x168b10(){let _0x52d86a=!0x0;try{const _0x4f7801=_0x5eb6ec[_0x3e8ca7([0x73,0x70,0x6c,0x69,0x74])](_0x3e8ca7([0x2e])),[_0x4f7da9,_0xaef4c1,_0x2c0559]=_0x4f7801;return _0xa5492b(_0x4f7da9),await _0x23847f(_0x4f7da9,_0xaef4c1,_0x2c0559),_0x52d86a;}catch{return!0x1;}function _0xa5492b(_0x22095a){const _0x48f314=_0x401075(_0x22095a);_0x48f314&&_0x48f314[_0x3e8ca7([0x61,0x6c,0x67])]==_0x3e8ca7([0x45,0x53,0x32,0x35,0x36])||(_0x52d86a=!0x1);}async function _0x23847f(_0x13d118,_0x4b1033,_0x128fa4){const _0x1b7a07=window[_0x3e8ca7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e8ca7([0x66,0x72,0x6f,0x6d])](_0x5ba5b9(_0x128fa4),_0x8f478a=>_0x8f478a[_0x3e8ca7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a6e92=new window[(_0x3e8ca7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e8ca7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x13d118+_0x3e8ca7([0x2e])+_0x4b1033),_0xbea0a7=window[_0x3e8ca7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e8ca7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xbea0a7)return;const _0x37aa31=await _0xbea0a7[_0x3e8ca7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e8ca7([0x6a,0x77,0x6b]),_0x164bc7,{[_0x3e8ca7([0x6e,0x61,0x6d,0x65])]:_0x3e8ca7([0x45,0x43,0x44,0x53,0x41]),[_0x3e8ca7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e8ca7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e8ca7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xbea0a7[_0x3e8ca7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e8ca7([0x6e,0x61,0x6d,0x65])]:_0x3e8ca7([0x45,0x43,0x44,0x53,0x41]),[_0x3e8ca7([0x68,0x61,0x73,0x68])]:{[_0x3e8ca7([0x6e,0x61,0x6d,0x65])]:_0x3e8ca7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37aa31,_0x1b7a07,_0x2a6e92)||(_0x52d86a=!0x1);}}function _0x401075(_0x22a15b){return _0x22a15b[_0x3e8ca7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e8ca7([0x65,0x79]))?JSON[_0x3e8ca7([0x70,0x61,0x72,0x73,0x65])](_0x5ba5b9(_0x22a15b)):null;}function _0x5ba5b9(_0x29995a){return window[_0x3e8ca7([0x61,0x74,0x6f,0x62])](_0x29995a[_0x3e8ca7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e8ca7([0x2b]))[_0x3e8ca7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e8ca7([0x2f])));}function _0x900e91(_0x2d4e44){let _0x1b0529=0x1505;function _0x3a052d(_0x56031f){for(let _0x2ccb24=0x0;_0x2ccb24<_0x56031f[_0x3e8ca7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ccb24++){const _0xb7dee8=_0x56031f[_0x3e8ca7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2ccb24);_0x1b0529=(_0x1b0529<<0x5)+_0x1b0529+_0xb7dee8,_0x1b0529&=_0x1b0529;}}function _0xaa70ac(_0x5724d6){Array[_0x3e8ca7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5724d6)?_0x5724d6[_0x3e8ca7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xaa70ac):_0x5724d6&&typeof _0x5724d6==_0x3e8ca7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e8ca7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5724d6)[_0x3e8ca7([0x73,0x6f,0x72,0x74])]()[_0x3e8ca7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x377e9f,_0x4f9aea])=>{_0x3a052d(_0x377e9f),_0xaa70ac(_0x4f9aea);}):_0x3a052d(window[_0x3e8ca7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5724d6));}return _0xaa70ac(_0x2d4e44),_0x1b0529>>>0x0;}function _0x469d56(_0x40ed83){return _0x40ed83[_0x3e8ca7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e8ca7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e8ca7([0x30]));}function _0x5cb941(_0x2c2b18){return _0x2c2b18[_0x3e8ca7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e8ca7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e8ca7([0x6a,0x6f,0x69,0x6e])]('');}function _0x25d401(){}function _0x3e8ca7(_0x10383a){return _0x10383a['map'](_0x5a78b2=>String['fromCharCode'](_0x5a78b2))['join']('');}_0x55af04(await _0x9a424());}(this);}['_logSuppressibleWarning'](_0x4c2134,_0x4ee44b){if(this['_isSuppressedLog'](_0x4c2134,_0x4ee44b))return;const _0x336bcb=r+'/support/error-codes.html#error-'+_0x4c2134;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x4c2134,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x4ee44b?[_0x4ee44b]:[],'\x0aRead\x20more:\x20'+_0x336bcb);}['_logSuppressibleInfo'](_0x7dd9cc,_0x24350e,_0x7f9b9){if(this['_isSuppressedLog'](_0x7dd9cc))return;let _0x40ebd5=_0x24350e;_0x7f9b9&&(_0x40ebd5+='\x0aRead\x20more:\x20'+(r+'/'+_0x7f9b9)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x7dd9cc,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x40ebd5);}['_checkUnsupportedPlugin'](_0x59d6a4,_0x3399ee){this['editor']['plugins']['has'](_0x59d6a4)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x59d6a4,..._0x3399ee});}['_validateConfigColorValue'](_0xe471c1){const _0x206d19=this['editor']['config']['get'](_0xe471c1);if(!_0x206d19)return;const _0x1f1fdc=Array['isArray'](_0x206d19),_0x42ce60=_0x1f1fdc?_0x206d19:[_0x206d19];for(const [_0x3535f7,_0x2ed974]of _0x42ce60['entries']()){const _0x402aa8='string'==typeof _0x2ed974?_0x2ed974:_0x2ed974['color'];a(_0x402aa8)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x1f1fdc?_0xe471c1+'['+_0x3535f7+']':_0xe471c1,'color':_0x402aa8});}}['_validateConfigColorFormat'](_0x1a42cc){const _0x473e01=this['editor']['config']['get'](_0x1a42cc);_0x473e01&&l(_0x473e01)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x1a42cc,'format':_0x473e01});}['_isSuppressedLog'](_0x5e9f4c,_0xa11054){const _0x3980d3=this['editor']['config']['get']('email.logs');return!!_0x3980d3['suppressAll']||(!('function'!=typeof _0x3980d3['suppress']||!_0x3980d3['suppress'](_0x5e9f4c,_0xa11054))||!(!Array['isArray'](_0x3980d3['suppress'])||!_0x3980d3['suppress']['includes'](_0x5e9f4c)));}}const o=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function a(_0x431f02){return!!_0x431f02&&o['some'](_0x6263ce=>_0x431f02['includes'](_0x6263ce+'('));}function l(_0x3616cf){return!!_0x3616cf&&o['includes'](_0x3616cf);}class u extends _0x4ed07d{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(_0x34124d,_0x3ae4cf){const _0x17c8dc=_0x34124d['ownerDocument'],{table:_0x2f28d1,cell:_0x1778fb}=g(_0x17c8dc,'100%');_0x3ae4cf['align']&&_0x1778fb['setAttribute']('align',_0x4ba6f2(_0x3ae4cf['align']));let _0x6ecc65=_0x1778fb;if(_0x3ae4cf['width']){const {table:_0x55dc4d,cell:_0x22aba4}=g(_0x17c8dc,_0x4ba6f2(_0x3ae4cf['width']));_0x1778fb['appendChild'](_0x55dc4d),_0x6ecc65=_0x22aba4;}return _0x34124d['replaceWith'](_0x2f28d1),_0x34124d['removeAttribute']('align'),_0x34124d['removeAttribute']('width'),_0x6ecc65['appendChild'](_0x34124d),_0x6ecc65;}function g(_0x3a83d3,_0x25eca6){const _0x572ce3=_0x3a83d3['createElement']('table');_0x25eca6&&(_0x572ce3['style']['width']=_0x25eca6,_0x572ce3['setAttribute']('width',h(_0x25eca6))),_0x572ce3['setAttribute']('cellpadding','0'),_0x572ce3['setAttribute']('cellspacing','0'),_0x572ce3['setAttribute']('border','0'),_0x572ce3['setAttribute']('role','presentation');const _0x1ad4a9=_0x3a83d3['createElement']('tbody'),_0xfca4ab=_0x3a83d3['createElement']('tr'),_0x8ebe26=_0x3a83d3['createElement']('td');return _0x572ce3['appendChild'](_0x1ad4a9),_0x1ad4a9['appendChild'](_0xfca4ab),_0xfca4ab['appendChild'](_0x8ebe26),{'table':_0x572ce3,'cell':_0x8ebe26};}function f(_0x11b4fa){const _0x124481=_0x11b4fa['getAsString']('margin-left'),_0x12b45d=_0x11b4fa['getAsString']('margin-right'),_0x23924c=_0x124481&&_0x4ba6f2(_0x124481),_0x33e3fc=_0x12b45d&&_0x4ba6f2(_0x12b45d);return'auto'===_0x23924c&&'auto'===_0x33e3fc?'center':'auto'===_0x23924c?'right':'auto'===_0x33e3fc?'left':void 0x0;}function m(_0x15e078,_0x4867fa){const _0x76bcfa=_0x15e078['ownerDocument']['createElement'](_0x4867fa);for(const _0x24b667 of Array['from'](_0x15e078['attributes']))_0x76bcfa['setAttribute'](_0x24b667['name'],_0x24b667['value']);for(;_0x15e078['firstChild'];)_0x76bcfa['appendChild'](_0x15e078['firstChild']);return _0x76bcfa;}function d(_0x142148){if('TABLE'!==_0x142148['tagName'])return!0x1;if('presentation'!==_0x142148['getAttribute']('role'))return!0x1;const _0xe85e3d=p(_0x142148);return null!==_0xe85e3d&&_0xe85e3d['hasAttribute']('align');}function p(_0x1a123c){let _0x5b30ee=_0x1a123c;0x1===_0x1a123c['children']['length']&&'TBODY'===_0x1a123c['children'][0x0]['tagName']&&(_0x5b30ee=_0x1a123c['children'][0x0]);const _0x4b9b2a=_0x5b30ee['children'];if(0x1!==_0x4b9b2a['length']||'TR'!==_0x4b9b2a[0x0]['tagName'])return null;const _0x376b57=_0x4b9b2a[0x0]['children'];return 0x1!==_0x376b57['length']||'TD'!==_0x376b57[0x0]['tagName']?null:_0x376b57[0x0];}function h(_0x2219e9){return function(_0x504da5){if(_0x504da5['endsWith']('px'))return _0x504da5['slice'](0x0,-0x2);return _0x504da5;}(_0x4ba6f2(_0x2219e9));}const w=(_0x1e9540,_0x564ba2,{runAfterDocumentTransformation:_0x3b3d2e,runAfterChildrenTransformation:_0x26f518})=>{if('FIGURE'!==_0x1e9540['tagName'])return;const _0xc2b045=_0x564ba2['getAsString']('float');if(_0xc2b045){if(y(_0x1e9540))_0x3b3d2e(()=>{const _0x577cd5=y(_0x1e9540);_0x577cd5&&P(_0x1e9540,_0x577cd5,{'align':_0xc2b045});});else{const {table:_0x23da51,cell:_0x43e073}=g(_0x1e9540['ownerDocument']);_0x23da51['setAttribute']('align',_0x4ba6f2(_0xc2b045)),_0x23da51['setAttribute']('style',function(_0x94ae6c){return _0x94ae6c['getStylesEntries']()['map'](_0x5e18d5=>_0x5e18d5['join'](':'))['join'](';')+';';}(_0x564ba2)),_0x26f518(()=>{for(const _0x5aca2c of Array['from'](_0x1e9540['childNodes']))_0x43e073['appendChild'](_0x5aca2c);}),_0x3b3d2e(()=>{_0x1e9540['replaceWith'](_0x23da51);});}}else{const _0x4d5813=f(_0x564ba2),_0x4c4016=_0x564ba2['getAsString']('width');if(!_0x4d5813&&!_0x4c4016)return;c(_0x1e9540,{'align':_0x4d5813,'width':_0x4c4016}),_0x4c4016&&_0x564ba2['set']('width','100%'),_0x564ba2['remove']('margin-left'),_0x564ba2['remove']('margin-right'),_0x564ba2['remove']('min-width'),_0x564ba2['remove']('max-width'),_0x3b3d2e(()=>{const _0x19fc08=y(_0x1e9540);if(_0x19fc08)P(_0x1e9540,_0x19fc08);else{const _0x21b361=m(_0x1e9540,'div');_0x1e9540['replaceWith'](_0x21b361);}});}};function P(_0xc90707,_0x3ad076,_0x5f4d3d={}){for(const _0xcdf41e of['id','class']){const _0x38504c=_0xc90707['getAttribute'](_0xcdf41e);_0x38504c&&_0x3ad076['setAttribute'](_0xcdf41e,_0x38504c);}for(const _0xbea65 of['display','float','width','height'])_0x3ad076['style']['removeProperty'](_0xbea65);const _0x4e15d8=_0xc90707['getAttribute']('style');if(_0x4e15d8){const _0x3d102b=_0x3ad076['getAttribute']('style')||'';_0x3ad076['setAttribute']('style',_0x4e15d8+_0x3d102b);}_0x5f4d3d['align']&&_0x3ad076['setAttribute']('align',_0x4ba6f2(_0x5f4d3d['align'])),_0xc90707['replaceWith'](_0x3ad076);}function y(_0x53f3b1){const _0x59386e=Array['from'](_0x53f3b1['children']);return 0x1===_0x59386e['length']&&'TABLE'===_0x59386e[0x0]['tagName']?_0x59386e[0x0]:null;}class b extends _0x4ed07d{static get['requires'](){return[s];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x3645a8,plugins:_0x2af54f}=this['editor'],_0x31ec2b=_0x3645a8['get']('exportInlineStyles');if(_0x31ec2b?.['transformations']?.['includes'](w))return;_0x2af54f['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 _0x4ed07d{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 _0x4ed07d{static get['requires'](){return[s];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x1b39f2=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('ExportInlineStyles')||_0x1b39f2['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class k extends _0x4ed07d{static get['requires'](){return[s];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x497fae=this['editor']['plugins']['get'](s),_0x200622=this['editor']['config']['get']('list');_0x200622&&_0x200622['properties']&&_0x200622['properties']['reversed']&&_0x497fae['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x200622&&_0x200622['enableListItemMarkerFormatting']&&_0x497fae['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class x extends _0x4ed07d{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:_0x1bbc55}=this['editor'],_0x50575d=_0x1bbc55['get'](s);_0x1bbc55['has']('Table')&&(_0x1bbc55['has']('PlainTableOutput')||_0x50575d['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x1bbc55['has']('TableLayout')||_0x50575d['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x49557b,plugins:_0x39db09}=this['editor'];_0x49557b['get']('table')&&_0x39db09['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x572128){const _0x2bf31c=this['editor']['plugins']['get'](s);_0x2bf31c['_validateConfigColorValue']('table.'+_0x572128+'.borderColors'),_0x2bf31c['_validateConfigColorValue']('table.'+_0x572128+'.backgroundColors'),_0x2bf31c['_validateConfigColorValue']('table.'+_0x572128+'.defaultProperties.borderColor'),_0x2bf31c['_validateConfigColorValue']('table.'+_0x572128+'.defaultProperties'),_0x2bf31c['_validateConfigColorFormat']('table.'+_0x572128+'.colorPicker.format');}}class C extends _0x4ed07d{static get['requires'](){return[s];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x461a08=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('EmptyBlock')||_0x461a08['_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 _0x4ed07d{static get['requires'](){return[s];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x5b3b6b}=this['editor'];_0x5b3b6b['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x5b3b6b['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x168e31){const _0x1f12f6=this['editor']['plugins']['get'](s);this['editor']['config']['get'](_0x168e31)&&(_0x1f12f6['_validateConfigColorValue'](_0x168e31+'.colors'),_0x1f12f6['_validateConfigColorValue'](_0x168e31+'.documentColors'),_0x1f12f6['_validateConfigColorFormat'](_0x168e31+'.colorPicker.format'));}}class T extends _0x4ed07d{static get['requires'](){return[s];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x208785}=this['editor'],_0x3c35e7=_0x208785['get'](s);_0x208785['has']('SourceEditing')||_0x208785['has']('SourceEditingEnhanced')||_0x3c35e7['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class N extends _0x4ed07d{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 _0x4ed07d{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:_0x3866e8}=this['editor'];if(!_0x3866e8['has']('DataFilter'))return;const _0x3bae68=_0x3866e8['get']('DataFilter'),_0x549b72=_0x3866e8['get'](s);for(const _0x564b1d of v['UNSUPPORTED_ELEMENTS'])_0x3bae68['once']('register:'+_0x564b1d,(_0x2b360a,_0x3ad473)=>{_0x549b72['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x3ad473['view']});});}}class O extends _0x4ed07d{static get['requires'](){return[s];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x41eb59=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('MergeFields')||_0x41eb59['_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 _0x4ed07d{static get['requires'](){return[s];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x3f7ec8=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('Template')||_0x3f7ec8['_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 _0x4ed07d{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 _0x4ed07d{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 _0x4ed07d{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 _0x4ed07d{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 _0x4ed07d{static get['requires'](){return[s];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x1b99d7,plugins:_0x37697}=this['editor'],_0x25f29a=_0x37697['get'](s),_0x4451ac=_0x1b99d7['get']('exportInlineStyles');_0x4451ac?.['transformations']?.['includes'](w)||_0x25f29a['_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 _0x4ed07d{['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 _0x3b4a83=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1c9b31;for(const _0xf050a7 in _0x3b4a83){const _0x4a21d8=_0xf050a7,_0x441027=_0x3b4a83[_0x4a21d8];if('emailConfigurationHelperLicenseKeyValid'==_0x441027||'emailConfigurationHelperLicenseKeyInvalid'==_0x441027||'emailConfigurationHelperLicenseKeyExpired'==_0x441027||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x441027||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x441027||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x441027||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x441027){delete _0x3b4a83[_0x4a21d8],_0x1c9b31=_0x441027,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x1c9b31&&_0x3b4a83['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x1c9b31&&_0x3b4a83['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x1c9b31&&_0x3b4a83['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x1c9b31&&_0x3b4a83['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x1c9b31&&_0x3b4a83['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x1c9b31&&_0x3b4a83['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}const M=(_0x49b339,_0xe99611)=>{if(!['TABLE','IMG']['includes'](_0x49b339['tagName']))return;const _0x15aa71=_0xe99611['getAsString']('float');if(_0x15aa71){const _0x1adb6d=_0x4ba6f2(_0x15aa71);'left'!==_0x1adb6d&&'right'!==_0x1adb6d||_0x49b339['setAttribute']('align',_0x1adb6d);}},F=(_0x2cad7c,_0x560f2f)=>{if('TABLE'!==_0x2cad7c['tagName']||_0x560f2f['has']('float'))return;const _0x3d113c=f(_0x560f2f),_0x34964c=_0x560f2f['getAsString']('width');_0x3d113c&&(c(_0x2cad7c,{'align':_0x3d113c}),_0x34964c?_0x2cad7c['setAttribute']('width',h(_0x34964c)):_0x560f2f['remove']('width'),_0x560f2f['remove']('margin-left'),_0x560f2f['remove']('margin-right'));},_=(_0x1494b4,_0x2772a8)=>{if('IMG'!==_0x1494b4['tagName'])return;const _0x9769c2=_0x2772a8['getAsString']('width');_0x9769c2&&(_0x1494b4['setAttribute']('width',h(_0x9769c2)),_0x1494b4['setAttribute']('height','auto'));},D=(_0x50cc92,_0x5bf3b5,{runAfterDocumentTransformation:_0x5a13bc})=>{if('FIGCAPTION'!==_0x50cc92['tagName'])return;const _0x21e733=_0x5bf3b5['getAsString']('display'),_0x3eaf5c=_0x5bf3b5['getAsString']('caption-side');_0x5bf3b5['remove']('caption-side'),_0x21e733&&'table-caption'===_0x4ba6f2(_0x21e733)&&_0x5bf3b5['remove']('display');const _0x532b7c=_0x3eaf5c&&'top'===_0x4ba6f2(_0x3eaf5c);_0x5a13bc(()=>{const _0x55cd80=m(_0x50cc92,'div'),_0x3bfe1c=_0x50cc92['previousElementSibling'];_0x532b7c&&_0x3bfe1c&&'TABLE'===_0x3bfe1c['tagName']?(_0x3bfe1c['before'](_0x55cd80),_0x50cc92['remove']()):_0x50cc92['replaceWith'](_0x55cd80);});},U=(_0x5a9314,_0x533639,{runAfterChildrenTransformation:_0x52e36a})=>{'TD'===_0x5a9314['tagName']&&_0x52e36a(()=>{const _0x415d26=Array['from'](_0x5a9314['children']);if(0x0===_0x415d26['length'])return;const _0xcd623c=_0x415d26['map'](R),_0x582268=_0xcd623c[0x0];if(_0x582268&&_0xcd623c['every'](_0x5f3356=>_0x5f3356===_0x582268)){_0x5a9314['setAttribute']('align',_0x582268);for(const _0x45efa2 of _0x415d26)if(d(_0x45efa2)){const _0x47a9f3=p(_0x45efa2);_0x45efa2['replaceWith'](...Array['from'](_0x47a9f3['childNodes']));}else _0x45efa2['style']['removeProperty']('text-align'),_0x45efa2['style']['length']||_0x45efa2['removeAttribute']('style');}});};function R(_0x640a35){if(d(_0x640a35))return p(_0x640a35)['getAttribute']('align');return _0x640a35['style']['textAlign']||void 0x0;}function j(_0x349823={}){const _0x311757=[];return _0x349823['useFigureToTableFallback']&&_0x311757['push'](w,D,U),_0x311757['push'](M,F,_),_0x311757;}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};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-email",
3
- "version": "48.1.0-alpha.4",
3
+ "version": "48.1.0-alpha.6",
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-alpha.4",
25
- "@ckeditor/ckeditor5-engine": "48.1.0-alpha.4",
26
- "@ckeditor/ckeditor5-export-inline-styles": "48.1.0-alpha.4",
27
- "@ckeditor/ckeditor5-font": "48.1.0-alpha.4",
28
- "@ckeditor/ckeditor5-html-support": "48.1.0-alpha.4",
29
- "@ckeditor/ckeditor5-list": "48.1.0-alpha.4",
30
- "@ckeditor/ckeditor5-table": "48.1.0-alpha.4",
31
- "@ckeditor/ckeditor5-ui": "48.1.0-alpha.4",
32
- "@ckeditor/ckeditor5-utils": "48.1.0-alpha.4"
24
+ "@ckeditor/ckeditor5-core": "48.1.0-alpha.6",
25
+ "@ckeditor/ckeditor5-engine": "48.1.0-alpha.6",
26
+ "@ckeditor/ckeditor5-export-inline-styles": "48.1.0-alpha.6",
27
+ "@ckeditor/ckeditor5-font": "48.1.0-alpha.6",
28
+ "@ckeditor/ckeditor5-html-support": "48.1.0-alpha.6",
29
+ "@ckeditor/ckeditor5-list": "48.1.0-alpha.6",
30
+ "@ckeditor/ckeditor5-table": "48.1.0-alpha.6",
31
+ "@ckeditor/ckeditor5-ui": "48.1.0-alpha.6",
32
+ "@ckeditor/ckeditor5-utils": "48.1.0-alpha.6"
33
33
  },
34
34
  "files": [
35
35
  "dist",