@ckeditor/ckeditor5-email 48.1.0-alpha.8 → 48.1.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.
- package/dist/index.js +1 -1
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x52ae9f}from'@ckeditor/ckeditor5-core/dist/index.js';import{uid as _0x3a30e2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{dropImportantStyleSuffix as _0x42d066}from'@ckeditor/ckeditor5-export-inline-styles/dist/index.js';const r='https://ckeditor.com/docs/ckeditor5/latest';class s extends _0x52ae9f{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x244ea9){super(_0x244ea9),_0x244ea9['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x438bf7){const _0x345ca0=_0x3af64c([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]),_0x4caac2=0x7780c648,_0x2e9977=0x77874fb8^_0x4caac2,_0x2869d9=window[_0x3af64c([0x44,0x61,0x74,0x65])][_0x3af64c([0x6e,0x6f,0x77])](),_0x427541=_0x438bf7[_0x3af64c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x590ab4=new window[(_0x3af64c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x105757=>{_0x427541[_0x3af64c([0x6f,0x6e,0x63,0x65])](_0x3af64c([0x72,0x65,0x61,0x64,0x79]),_0x105757);}),_0x5ef19b={[_0x3af64c([0x6b,0x74,0x79])]:_0x3af64c([0x45,0x43]),[_0x3af64c([0x75,0x73,0x65])]:_0x3af64c([0x73,0x69,0x67]),[_0x3af64c([0x63,0x72,0x76])]:_0x3af64c([0x50,0x2d,0x32,0x35,0x36]),[_0x3af64c([0x78])]:_0x3af64c([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]),[_0x3af64c([0x79])]:_0x3af64c([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]),[_0x3af64c([0x61,0x6c,0x67])]:_0x3af64c([0x45,0x53,0x32,0x35,0x36])},_0x1327a8=_0x427541[_0x3af64c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3af64c([0x67,0x65,0x74])](_0x3af64c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x14b7b9(){let _0x838539,_0x4237ae=null,_0x4b1553=null;try{if(_0x1327a8==_0x3af64c([0x47,0x50,0x4c]))return _0x3af64c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x838539=_0x141dc0(),!_0x838539)return _0x3af64c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x838539[_0x3af64c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4b1553=_0x1f3d5b(_0x838539[_0x3af64c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x838539[_0x3af64c([0x6a,0x74,0x69])])),await _0x25759a()?_0x258e23()?_0x55ce38()?_0x3af64c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b1b70()?(_0x838539[_0x3af64c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3af64c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4237ae=_0x2c78e4(_0x3af64c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x14ae00()):_0x3af64c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3af64c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3af64c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3af64c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55ce38(){const _0x227efa=[_0x3af64c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3af64c([0x74,0x72,0x69,0x61,0x6c])][_0x3af64c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x838539[_0x3af64c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2869d9/0x3e8:0xe10*_0x2e9977;return _0x838539[_0x3af64c([0x65,0x78,0x70])]<_0x227efa;}function _0x258e23(){const _0x4aa9d8=_0x838539[_0x3af64c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4aa9d8&&(!!_0x4aa9d8[_0x3af64c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3af64c([0x2a]))||!!_0x4aa9d8[_0x3af64c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3af64c([0x45,0x43,0x48])));}function _0x3b1b70(){const _0x510ea0=_0x838539[_0x3af64c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x510ea0||0x0==_0x510ea0[_0x3af64c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1facf5}=new URL(window[_0x3af64c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x510ea0[_0x3af64c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1facf5))return!0x0;const _0x56f424=_0x1facf5[_0x3af64c([0x73,0x70,0x6c,0x69,0x74])](_0x3af64c([0x2e]));return _0x510ea0[_0x3af64c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb2973b=>_0xb2973b[_0x3af64c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3af64c([0x2a])))[_0x3af64c([0x6d,0x61,0x70])](_0xac9dd3=>_0xac9dd3[_0x3af64c([0x73,0x70,0x6c,0x69,0x74])](_0x3af64c([0x2e])))[_0x3af64c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xce327d=>_0xce327d[_0x3af64c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x56f424[_0x3af64c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3af64c([0x6d,0x61,0x70])](_0x34a6a5=>Array(_0x56f424[_0x3af64c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34a6a5[_0x3af64c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3af64c([0x66,0x69,0x6c,0x6c])](_0x34a6a5[0x0]===_0x3af64c([0x2a])?_0x3af64c([0x2a]):'')[_0x3af64c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34a6a5))[_0x3af64c([0x73,0x6f,0x6d,0x65])](_0x572317=>_0x56f424[_0x3af64c([0x65,0x76,0x65,0x72,0x79])]((_0x78b7c6,_0x337e1d)=>_0x572317[_0x337e1d]===_0x78b7c6||_0x572317[_0x337e1d]===_0x3af64c([0x2a])));}function _0x14ae00(){return _0x4237ae&&_0x4b1553?new window[(_0x3af64c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b4fd2,_0xbe5b75)=>{_0x4237ae[_0x3af64c([0x74,0x68,0x65,0x6e])](_0x1b4fd2,_0xbe5b75),_0x4b1553[_0x3af64c([0x74,0x68,0x65,0x6e])](_0xcf655e=>{_0xcf655e!=_0x3af64c([0x56,0x61,0x6c,0x69,0x64])&&_0x1b4fd2(_0xcf655e);},_0xbe5b75);}):_0x4237ae||_0x4b1553||_0x3af64c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f3d5b(_0x32ec63,_0x59cb7d){return new window[(_0x3af64c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c47d5=>{if(_0xc0a6e7())return _0x1c47d5(_0x3af64c([0x56,0x61,0x6c,0x69,0x64]));_0x267297(),_0x427541[_0x3af64c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3af64c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x87100b=!0x1;const _0x22cf62=_0x3a30e2();function _0x947e6a(_0x4ae8f4){return!!_0x4ae8f4&&(typeof _0x4ae8f4===_0x3af64c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4ae8f4===_0x3af64c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4ae8f4[_0x3af64c([0x74,0x68,0x65,0x6e])]===_0x3af64c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4ae8f4[_0x3af64c([0x63,0x61,0x74,0x63,0x68])]===_0x3af64c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1bfcf1(_0x1d2923){_0x3bcf60(_0x1d2923)[_0x3af64c([0x74,0x68,0x65,0x6e])](_0x70e92=>{if(!_0x70e92||_0x70e92[_0x3af64c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3af64c([0x6f,0x6b]))return _0x3af64c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38e8e3(_0x304066(_0x22cf62+_0x59cb7d))!=_0x70e92[_0x3af64c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3af64c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3af64c([0x56,0x61,0x6c,0x69,0x64]);})[_0x3af64c([0x74,0x68,0x65,0x6e])](_0x56d48d=>(_0x2b1072(),_0x56d48d),()=>{const _0x522128=_0x19ab81();return null==_0x522128?(_0x2b1072(),_0x3af64c([0x56,0x61,0x6c,0x69,0x64])):_0x3af64c(_0x2869d9-_0x522128>(0x538c4248^_0x4caac2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3af64c([0x74,0x68,0x65,0x6e])](_0x1c47d5)[_0x3af64c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1c47d5(_0x3af64c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x15b658=0x77b628c8^_0x4caac2;function _0x2b1072(){const _0x3d3b5d=_0x3af64c([0x6c,0x6c,0x63,0x74,0x2d])+_0x38e8e3(_0x304066(_0x32ec63)),_0x2b8908=_0x58f45f(_0x38e8e3(window[_0x3af64c([0x4d,0x61,0x74,0x68])][_0x3af64c([0x63,0x65,0x69,0x6c])](_0x2869d9/_0x15b658)));window[_0x3af64c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3af64c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d3b5d,_0x2b8908);}function _0x19ab81(){const _0x500519=_0x3af64c([0x6c,0x6c,0x63,0x74,0x2d])+_0x38e8e3(_0x304066(_0x32ec63)),_0x4f33dd=window[_0x3af64c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3af64c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x500519);return _0x4f33dd?window[_0x3af64c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58f45f(_0x4f33dd),0x10)*_0x15b658:null;}function _0x3bcf60(_0x47fc14){return new window[(_0x3af64c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x369c44,_0x39a63b)=>{_0x47fc14[_0x3af64c([0x74,0x68,0x65,0x6e])](_0x369c44,_0x39a63b),window[_0x3af64c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x39a63b,0x77811288^_0x4caac2);});}}_0x427541[_0x3af64c([0x6f,0x6e])](_0x3af64c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x126418,_0x22b2b2)=>{if(_0x22b2b2[0x0]!=_0x32ec63)return _0x1c47d5(_0x3af64c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x22b2b2[0x1]={..._0x22b2b2[0x1],[_0x3af64c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x22cf62};},{[_0x3af64c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3af64c([0x68,0x69,0x67,0x68])}),_0x427541[_0x3af64c([0x6f,0x6e])](_0x3af64c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4a154f=>{_0x947e6a(_0x4a154f[_0x3af64c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x87100b=!0x0,_0x1bfcf1(_0x4a154f[_0x3af64c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3af64c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3af64c([0x6c,0x6f,0x77])}),_0x590ab4[_0x3af64c([0x74,0x68,0x65,0x6e])](()=>{_0x87100b||_0x1c47d5(_0x3af64c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc0a6e7(){return _0x427541[_0x3af64c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3af64c([0x76,0x69,0x65,0x77])][_0x3af64c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3af64c([0x61,0x75,0x74,0x6f]);}function _0x267297(){_0x427541[_0x3af64c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3af64c([0x76,0x69,0x65,0x77])][_0x3af64c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3af64c([0x61,0x75,0x74,0x6f]);}}function _0x2c78e4(_0x1f0eed){const _0x310742=[new window[(_0x3af64c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xec7a1a=>setTimeout(_0xec7a1a,0x7789f884^_0x4caac2)),_0x590ab4[_0x3af64c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3af64c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14c2e8=>{let _0x291e4c=0x0;_0x427541[_0x3af64c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3af64c([0x6f,0x6e])](_0x3af64c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3e7bbd,_0x34ab97)=>{_0x34ab97[0x0][_0x3af64c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x291e4c++,_0x291e4c==(0x7780c3a0^_0x4caac2)&&(_0x14c2e8(),_0x3e7bbd[_0x3af64c([0x6f,0x66,0x66])]());});}))];return window[_0x3af64c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3af64c([0x72,0x61,0x63,0x65])](_0x310742)[_0x3af64c([0x74,0x68,0x65,0x6e])](()=>_0x1f0eed);}async function _0x142e3e(){await _0x590ab4,_0x427541[_0x3af64c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3af64c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x525a97,_0x427541[_0x3af64c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3af64c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x525a97,_0x427541[_0x3af64c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3af64c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2bb4fd(_0x56cdc1){const _0x3f90fa=_0x49583f();_0x427541[_0x3f90fa]=_0x3af64c([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])+_0x56cdc1,_0x56cdc1!=_0x3af64c([0x56,0x61,0x6c,0x69,0x64])&&_0x142e3e();}function _0x49583f(){const _0x4b2b5c=window[_0x3af64c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3af64c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3af64c([0x6e,0x6f,0x77])]())[_0x3af64c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3af64c([0x2e]),'');let _0x331ba0=_0x3af64c([0x75]);for(let _0x160b30=0x0;_0x160b30<_0x4b2b5c[_0x3af64c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x160b30+=0x2){let _0x558134=window[_0x3af64c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b2b5c[_0x3af64c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x160b30,_0x160b30+0x2));_0x558134>=_0x345ca0[_0x3af64c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x558134-=_0x345ca0[_0x3af64c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x331ba0+=_0x345ca0[_0x558134];}return _0x331ba0;}function _0x141dc0(){const _0xf5c612=_0x1327a8[_0x3af64c([0x73,0x70,0x6c,0x69,0x74])](_0x3af64c([0x2e]));if(0x3!=_0xf5c612[_0x3af64c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e427a(_0xf5c612[0x1]);function _0x1e427a(_0x3f7dd4){const _0x52dd26=_0x4e6613(_0x3f7dd4);return _0x52dd26&&_0x112553()?_0x52dd26:null;function _0x112553(){const _0x1e0f5f=_0x52dd26[_0x3af64c([0x6a,0x74,0x69])],_0x346d3f=window[_0x3af64c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e0f5f[_0x3af64c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e0f5f[_0x3af64c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xdf1615={..._0x52dd26,[_0x3af64c([0x6a,0x74,0x69])]:_0x1e0f5f[_0x3af64c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1e0f5f[_0x3af64c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xdf1615[_0x3af64c([0x76,0x63])],_0x304066(_0xdf1615)==_0x346d3f;}}}async function _0x25759a(){let _0x4cb5fd=!0x0;try{const _0x11627a=_0x1327a8[_0x3af64c([0x73,0x70,0x6c,0x69,0x74])](_0x3af64c([0x2e])),[_0x5d1377,_0xcdbc59,_0x31fe9e]=_0x11627a;return _0x570822(_0x5d1377),await _0x1d4df9(_0x5d1377,_0xcdbc59,_0x31fe9e),_0x4cb5fd;}catch{return!0x1;}function _0x570822(_0x693f87){const _0x4e4cde=_0x4e6613(_0x693f87);_0x4e4cde&&_0x4e4cde[_0x3af64c([0x61,0x6c,0x67])]==_0x3af64c([0x45,0x53,0x32,0x35,0x36])||(_0x4cb5fd=!0x1);}async function _0x1d4df9(_0x543938,_0x436032,_0x3e2a21){const _0x1fb884=window[_0x3af64c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3af64c([0x66,0x72,0x6f,0x6d])](_0x37029b(_0x3e2a21),_0x1e4ebe=>_0x1e4ebe[_0x3af64c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x376326=new window[(_0x3af64c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3af64c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x543938+_0x3af64c([0x2e])+_0x436032),_0x557040=window[_0x3af64c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3af64c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x557040)return;const _0x540165=await _0x557040[_0x3af64c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3af64c([0x6a,0x77,0x6b]),_0x5ef19b,{[_0x3af64c([0x6e,0x61,0x6d,0x65])]:_0x3af64c([0x45,0x43,0x44,0x53,0x41]),[_0x3af64c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3af64c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3af64c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x557040[_0x3af64c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3af64c([0x6e,0x61,0x6d,0x65])]:_0x3af64c([0x45,0x43,0x44,0x53,0x41]),[_0x3af64c([0x68,0x61,0x73,0x68])]:{[_0x3af64c([0x6e,0x61,0x6d,0x65])]:_0x3af64c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x540165,_0x1fb884,_0x376326)||(_0x4cb5fd=!0x1);}}function _0x4e6613(_0x22cdbb){return _0x22cdbb[_0x3af64c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3af64c([0x65,0x79]))?JSON[_0x3af64c([0x70,0x61,0x72,0x73,0x65])](_0x37029b(_0x22cdbb)):null;}function _0x37029b(_0x28abf7){return window[_0x3af64c([0x61,0x74,0x6f,0x62])](_0x28abf7[_0x3af64c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3af64c([0x2b]))[_0x3af64c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3af64c([0x2f])));}function _0x304066(_0xd14b8c){let _0x52843f=0x1505;function _0x3c6a2f(_0x17cbc0){for(let _0x19d326=0x0;_0x19d326<_0x17cbc0[_0x3af64c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19d326++){const _0xa04fc7=_0x17cbc0[_0x3af64c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19d326);_0x52843f=(_0x52843f<<0x5)+_0x52843f+_0xa04fc7,_0x52843f&=_0x52843f;}}function _0x37aa88(_0x5aafa8){Array[_0x3af64c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5aafa8)?_0x5aafa8[_0x3af64c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37aa88):_0x5aafa8&&typeof _0x5aafa8==_0x3af64c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3af64c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5aafa8)[_0x3af64c([0x73,0x6f,0x72,0x74])]()[_0x3af64c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x197bd4,_0x2c5e47])=>{_0x3c6a2f(_0x197bd4),_0x37aa88(_0x2c5e47);}):_0x3c6a2f(window[_0x3af64c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5aafa8));}return _0x37aa88(_0xd14b8c),_0x52843f>>>0x0;}function _0x38e8e3(_0x2b2693){return _0x2b2693[_0x3af64c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3af64c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3af64c([0x30]));}function _0x58f45f(_0x50edea){return _0x50edea[_0x3af64c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3af64c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3af64c([0x6a,0x6f,0x69,0x6e])]('');}function _0x525a97(){}function _0x3af64c(_0x19d275){return _0x19d275['map'](_0x102dfa=>String['fromCharCode'](_0x102dfa))['join']('');}_0x2bb4fd(await _0x14b7b9());}(this);}['_logSuppressibleWarning'](_0x32e4d5,_0x817661){if(this['_isSuppressedLog'](_0x32e4d5,_0x817661))return;const _0x58b89a=r+'/support/error-codes.html#error-'+_0x32e4d5;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x32e4d5,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x817661?[_0x817661]:[],'\x0aRead\x20more:\x20'+_0x58b89a);}['_logSuppressibleInfo'](_0x179c52,_0x31aeb5,_0x40dc42){if(this['_isSuppressedLog'](_0x179c52))return;let _0x325bc1=_0x31aeb5;_0x40dc42&&(_0x325bc1+='\x0aRead\x20more:\x20'+(r+'/'+_0x40dc42)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x179c52,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x325bc1);}['_checkUnsupportedPlugin'](_0x11cdfd,_0x36baba){this['editor']['plugins']['has'](_0x11cdfd)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x11cdfd,..._0x36baba});}['_validateConfigColorValue'](_0x5d3d9d){const _0x41b3e1=this['editor']['config']['get'](_0x5d3d9d);if(!_0x41b3e1)return;const _0x5bed42=Array['isArray'](_0x41b3e1),_0x2bd73a=_0x5bed42?_0x41b3e1:[_0x41b3e1];for(const [_0x582949,_0x28e212]of _0x2bd73a['entries']()){const _0x4073f3='string'==typeof _0x28e212?_0x28e212:_0x28e212['color'];a(_0x4073f3)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x5bed42?_0x5d3d9d+'['+_0x582949+']':_0x5d3d9d,'color':_0x4073f3});}}['_validateConfigColorFormat'](_0x438021){const _0x261a0f=this['editor']['config']['get'](_0x438021);_0x261a0f&&l(_0x261a0f)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x438021,'format':_0x261a0f});}['_isSuppressedLog'](_0x22094a,_0x530b9e){const _0x449847=this['editor']['config']['get']('email.logs');return!!_0x449847['suppressAll']||(!('function'!=typeof _0x449847['suppress']||!_0x449847['suppress'](_0x22094a,_0x530b9e))||!(!Array['isArray'](_0x449847['suppress'])||!_0x449847['suppress']['includes'](_0x22094a)));}}const o=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function a(_0x41d79c){return!!_0x41d79c&&o['some'](_0x3f2a8d=>_0x41d79c['includes'](_0x3f2a8d+'('));}function l(_0x5ebcd6){return!!_0x5ebcd6&&o['includes'](_0x5ebcd6);}class u extends _0x52ae9f{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(_0x47fff7,_0xcdfd53){const _0x2fe19f=_0x47fff7['ownerDocument'],{table:_0x59fcda,cell:_0x455ce9}=g(_0x2fe19f,'100%');_0xcdfd53['align']&&_0x455ce9['setAttribute']('align',_0x42d066(_0xcdfd53['align']));let _0x54ffad=_0x455ce9;if(_0xcdfd53['width']){const {table:_0x5536dd,cell:_0x1d1bb6}=g(_0x2fe19f,_0x42d066(_0xcdfd53['width']));_0x455ce9['appendChild'](_0x5536dd),_0x54ffad=_0x1d1bb6;}return _0x47fff7['replaceWith'](_0x59fcda),_0x47fff7['removeAttribute']('align'),_0x47fff7['removeAttribute']('width'),_0x54ffad['appendChild'](_0x47fff7),_0x54ffad;}function g(_0x33c398,_0x5a89a5){const _0x27c075=_0x33c398['createElement']('table');_0x5a89a5&&(_0x27c075['style']['width']=_0x5a89a5,_0x27c075['setAttribute']('width',h(_0x5a89a5))),_0x27c075['setAttribute']('cellpadding','0'),_0x27c075['setAttribute']('cellspacing','0'),_0x27c075['setAttribute']('border','0'),_0x27c075['setAttribute']('role','presentation');const _0x2d1777=_0x33c398['createElement']('tbody'),_0x490fd7=_0x33c398['createElement']('tr'),_0x2c6151=_0x33c398['createElement']('td');return _0x27c075['appendChild'](_0x2d1777),_0x2d1777['appendChild'](_0x490fd7),_0x490fd7['appendChild'](_0x2c6151),{'table':_0x27c075,'cell':_0x2c6151};}function f(_0x201d2f){const _0x466d44=_0x201d2f['getAsString']('margin-left'),_0x3ceccc=_0x201d2f['getAsString']('margin-right'),_0x28e81f=_0x466d44&&_0x42d066(_0x466d44),_0xcbc118=_0x3ceccc&&_0x42d066(_0x3ceccc);return'auto'===_0x28e81f&&'auto'===_0xcbc118?'center':'auto'===_0x28e81f?'right':'auto'===_0xcbc118?'left':void 0x0;}function m(_0x114e10,_0xcc383f){const _0x2081ba=_0x114e10['ownerDocument']['createElement'](_0xcc383f);for(const _0x14a4b5 of Array['from'](_0x114e10['attributes']))_0x2081ba['setAttribute'](_0x14a4b5['name'],_0x14a4b5['value']);for(;_0x114e10['firstChild'];)_0x2081ba['appendChild'](_0x114e10['firstChild']);return _0x2081ba;}function d(_0x578268){if('TABLE'!==_0x578268['tagName'])return!0x1;if('presentation'!==_0x578268['getAttribute']('role'))return!0x1;const _0xe9ef6e=p(_0x578268);return null!==_0xe9ef6e&&_0xe9ef6e['hasAttribute']('align');}function p(_0x1d1270){let _0x1272a4=_0x1d1270;0x1===_0x1d1270['children']['length']&&'TBODY'===_0x1d1270['children'][0x0]['tagName']&&(_0x1272a4=_0x1d1270['children'][0x0]);const _0x2ecb16=_0x1272a4['children'];if(0x1!==_0x2ecb16['length']||'TR'!==_0x2ecb16[0x0]['tagName'])return null;const _0x39ccc8=_0x2ecb16[0x0]['children'];return 0x1!==_0x39ccc8['length']||'TD'!==_0x39ccc8[0x0]['tagName']?null:_0x39ccc8[0x0];}function h(_0x716b1b){return function(_0x2d8116){if(_0x2d8116['endsWith']('px'))return _0x2d8116['slice'](0x0,-0x2);return _0x2d8116;}(_0x42d066(_0x716b1b));}const w=(_0xa0a0f2,_0x12219f,{runAfterDocumentTransformation:_0x5a28cf,runAfterChildrenTransformation:_0x3ca66b})=>{if('FIGURE'!==_0xa0a0f2['tagName'])return;const _0x2bc432=_0x12219f['getAsString']('float');if(_0x2bc432){if(y(_0xa0a0f2))_0x5a28cf(()=>{const _0x4c35d6=y(_0xa0a0f2);_0x4c35d6&&P(_0xa0a0f2,_0x4c35d6,{'align':_0x2bc432});});else{const {table:_0xf2d2d3,cell:_0x3bf796}=g(_0xa0a0f2['ownerDocument']);_0xf2d2d3['setAttribute']('align',_0x42d066(_0x2bc432)),_0xf2d2d3['setAttribute']('style',function(_0x11aa75){return _0x11aa75['getStylesEntries']()['map'](_0x484edb=>_0x484edb['join'](':'))['join'](';')+';';}(_0x12219f)),_0x3ca66b(()=>{for(const _0x2fcefd of Array['from'](_0xa0a0f2['childNodes']))_0x3bf796['appendChild'](_0x2fcefd);}),_0x5a28cf(()=>{_0xa0a0f2['replaceWith'](_0xf2d2d3);});}}else{const _0x2a7124=f(_0x12219f),_0x163816=_0x12219f['getAsString']('width');if(!_0x2a7124&&!_0x163816)return;c(_0xa0a0f2,{'align':_0x2a7124,'width':_0x163816}),_0x163816&&_0x12219f['set']('width','100%'),_0x12219f['remove']('margin-left'),_0x12219f['remove']('margin-right'),_0x12219f['remove']('min-width'),_0x12219f['remove']('max-width'),_0x5a28cf(()=>{const _0x2505ee=y(_0xa0a0f2);if(_0x2505ee)P(_0xa0a0f2,_0x2505ee);else{const _0x392d7e=m(_0xa0a0f2,'div');_0xa0a0f2['replaceWith'](_0x392d7e);}});}};function P(_0x1e624b,_0x4bc7a4,_0x48bcfa={}){for(const _0x478c69 of['id','class']){const _0x525bdc=_0x1e624b['getAttribute'](_0x478c69);_0x525bdc&&_0x4bc7a4['setAttribute'](_0x478c69,_0x525bdc);}for(const _0x55b1f2 of['display','float','width','height'])_0x4bc7a4['style']['removeProperty'](_0x55b1f2);const _0x321288=_0x1e624b['getAttribute']('style');if(_0x321288){const _0xe0ae60=_0x4bc7a4['getAttribute']('style')||'';_0x4bc7a4['setAttribute']('style',_0x321288+_0xe0ae60);}_0x48bcfa['align']&&_0x4bc7a4['setAttribute']('align',_0x42d066(_0x48bcfa['align'])),_0x1e624b['replaceWith'](_0x4bc7a4);}function y(_0x2ae68c){const _0x694a1b=Array['from'](_0x2ae68c['children']);return 0x1===_0x694a1b['length']&&'TABLE'===_0x694a1b[0x0]['tagName']?_0x694a1b[0x0]:null;}class b extends _0x52ae9f{static get['requires'](){return[s];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x4971f3,plugins:_0x5b2bac}=this['editor'],_0x5d870f=_0x4971f3['get']('exportInlineStyles');if(_0x5d870f?.['transformations']?.['includes'](w))return;_0x5b2bac['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 _0x52ae9f{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 _0x52ae9f{static get['requires'](){return[s];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x1a14ca=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('ExportInlineStyles')||_0x1a14ca['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class k extends _0x52ae9f{static get['requires'](){return[s];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x123436=this['editor']['plugins']['get'](s),_0x2958f3=this['editor']['config']['get']('list');_0x2958f3&&_0x2958f3['properties']&&_0x2958f3['properties']['reversed']&&_0x123436['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x2958f3&&_0x2958f3['enableListItemMarkerFormatting']&&_0x123436['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class x extends _0x52ae9f{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:_0x8b7b7c}=this['editor'],_0x175844=_0x8b7b7c['get'](s);_0x8b7b7c['has']('Table')&&(_0x8b7b7c['has']('PlainTableOutput')||_0x175844['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x8b7b7c['has']('TableLayout')||_0x175844['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x16589b,plugins:_0x330161}=this['editor'];_0x16589b['get']('table')&&_0x330161['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x4c7407){const _0x51f526=this['editor']['plugins']['get'](s);_0x51f526['_validateConfigColorValue']('table.'+_0x4c7407+'.borderColors'),_0x51f526['_validateConfigColorValue']('table.'+_0x4c7407+'.backgroundColors'),_0x51f526['_validateConfigColorValue']('table.'+_0x4c7407+'.defaultProperties.borderColor'),_0x51f526['_validateConfigColorValue']('table.'+_0x4c7407+'.defaultProperties'),_0x51f526['_validateConfigColorFormat']('table.'+_0x4c7407+'.colorPicker.format');}}class C extends _0x52ae9f{static get['requires'](){return[s];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x224cf3=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('EmptyBlock')||_0x224cf3['_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 _0x52ae9f{static get['requires'](){return[s];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x41d761}=this['editor'];_0x41d761['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x41d761['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x130f80){const _0x187777=this['editor']['plugins']['get'](s);this['editor']['config']['get'](_0x130f80)&&(_0x187777['_validateConfigColorValue'](_0x130f80+'.colors'),_0x187777['_validateConfigColorValue'](_0x130f80+'.documentColors'),_0x187777['_validateConfigColorFormat'](_0x130f80+'.colorPicker.format'));}}class T extends _0x52ae9f{static get['requires'](){return[s];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x20b6b7}=this['editor'],_0x11a3e6=_0x20b6b7['get'](s);_0x20b6b7['has']('SourceEditing')||_0x20b6b7['has']('SourceEditingEnhanced')||_0x11a3e6['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class N extends _0x52ae9f{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 _0x52ae9f{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:_0x30dcd1}=this['editor'];if(!_0x30dcd1['has']('DataFilter'))return;const _0xa88cab=_0x30dcd1['get']('DataFilter'),_0x3e8882=_0x30dcd1['get'](s);for(const _0x4321fd of v['UNSUPPORTED_ELEMENTS'])_0xa88cab['once']('register:'+_0x4321fd,(_0x22271b,_0x167931)=>{_0x3e8882['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x167931['view']});});}}class O extends _0x52ae9f{static get['requires'](){return[s];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x2c8784=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('MergeFields')||_0x2c8784['_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 _0x52ae9f{static get['requires'](){return[s];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0xef75c4=this['editor']['plugins']['get'](s);this['editor']['plugins']['has']('Template')||_0xef75c4['_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 _0x52ae9f{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 _0x52ae9f{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 _0x52ae9f{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 _0x52ae9f{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 _0x52ae9f{static get['requires'](){return[s];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x21a3fd,plugins:_0x2b6ee9}=this['editor'],_0x4ad563=_0x2b6ee9['get'](s),_0x5e3084=_0x21a3fd['get']('exportInlineStyles');_0x5e3084?.['transformations']?.['includes'](w)||_0x4ad563['_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 _0x52ae9f{['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 _0x4a362d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x21e6a5;for(const _0x3b5e8e in _0x4a362d){const _0x3a1c0d=_0x3b5e8e,_0xb2dc33=_0x4a362d[_0x3a1c0d];if('emailConfigurationHelperLicenseKeyValid'==_0xb2dc33||'emailConfigurationHelperLicenseKeyInvalid'==_0xb2dc33||'emailConfigurationHelperLicenseKeyExpired'==_0xb2dc33||'emailConfigurationHelperLicenseKeyDomainLimit'==_0xb2dc33||'emailConfigurationHelperLicenseKeyNotAllowed'==_0xb2dc33||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0xb2dc33||'emailConfigurationHelperLicenseKeyUsageLimit'==_0xb2dc33){delete _0x4a362d[_0x3a1c0d],_0x21e6a5=_0xb2dc33,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x21e6a5&&_0x4a362d['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x21e6a5&&_0x4a362d['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x21e6a5&&_0x4a362d['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x21e6a5&&_0x4a362d['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x21e6a5&&_0x4a362d['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x21e6a5&&_0x4a362d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}const M=(_0x16f2fe,_0x232ee5)=>{if(!['TABLE','IMG']['includes'](_0x16f2fe['tagName']))return;const _0x34c612=_0x232ee5['getAsString']('float');if(_0x34c612){const _0x3690be=_0x42d066(_0x34c612);'left'!==_0x3690be&&'right'!==_0x3690be||_0x16f2fe['setAttribute']('align',_0x3690be);}},F=(_0x4a16f2,_0x33dc69)=>{if('TABLE'!==_0x4a16f2['tagName']||_0x33dc69['has']('float'))return;const _0x262e82=f(_0x33dc69),_0x552e89=_0x33dc69['getAsString']('width');_0x262e82&&(c(_0x4a16f2,{'align':_0x262e82}),_0x552e89?_0x4a16f2['setAttribute']('width',h(_0x552e89)):_0x33dc69['remove']('width'),_0x33dc69['remove']('margin-left'),_0x33dc69['remove']('margin-right'));},_=(_0x70fd46,_0x523a25)=>{if('IMG'!==_0x70fd46['tagName'])return;const _0x19884e=_0x523a25['getAsString']('width');_0x19884e&&(_0x70fd46['setAttribute']('width',h(_0x19884e)),_0x70fd46['setAttribute']('height','auto'));},D=(_0x1a3a8e,_0x2c6732,{runAfterDocumentTransformation:_0x3fa3d3})=>{if('FIGCAPTION'!==_0x1a3a8e['tagName'])return;const _0x121ab3=_0x2c6732['getAsString']('display'),_0x197754=_0x2c6732['getAsString']('caption-side');_0x2c6732['remove']('caption-side'),_0x121ab3&&'table-caption'===_0x42d066(_0x121ab3)&&_0x2c6732['remove']('display');const _0x36bec3=_0x197754&&'top'===_0x42d066(_0x197754);_0x3fa3d3(()=>{const _0x2d2b50=m(_0x1a3a8e,'div'),_0x187f52=_0x1a3a8e['previousElementSibling'];_0x36bec3&&_0x187f52&&'TABLE'===_0x187f52['tagName']?(_0x187f52['before'](_0x2d2b50),_0x1a3a8e['remove']()):_0x1a3a8e['replaceWith'](_0x2d2b50);});},U=(_0x2c7d68,_0x585590,{runAfterChildrenTransformation:_0x2fbfbe})=>{'TD'===_0x2c7d68['tagName']&&_0x2fbfbe(()=>{const _0x1e38ec=Array['from'](_0x2c7d68['children']);if(0x0===_0x1e38ec['length'])return;const _0x3815bd=_0x1e38ec['map'](R),_0xe6f703=_0x3815bd[0x0];if(_0xe6f703&&_0x3815bd['every'](_0x4c9c54=>_0x4c9c54===_0xe6f703)){_0x2c7d68['setAttribute']('align',_0xe6f703);for(const _0x5de475 of _0x1e38ec)if(d(_0x5de475)){const _0x5db3f1=p(_0x5de475);_0x5de475['replaceWith'](...Array['from'](_0x5db3f1['childNodes']));}else _0x5de475['style']['removeProperty']('text-align'),_0x5de475['style']['length']||_0x5de475['removeAttribute']('style');}});};function R(_0x5f0b5b){if(d(_0x5f0b5b))return p(_0x5f0b5b)['getAttribute']('align');return _0x5f0b5b['style']['textAlign']||void 0x0;}function j(_0xc7f03b={}){const _0x7de934=[];return _0xc7f03b['useFigureToTableFallback']&&_0x7de934['push'](w,D,U),_0x7de934['push'](M,F,_),_0x7de934;}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 _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};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-email",
|
|
3
|
-
"version": "48.1.0
|
|
3
|
+
"version": "48.1.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.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"
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"dist",
|