@ckeditor/ckeditor5-email 0.0.1 → 45.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/LICENSE.md +6 -6
- package/README.md +47 -3
- package/build/email.js +4 -0
- package/ckeditor5-metadata.json +13 -0
- package/dist/index-content.css +4 -0
- package/dist/index-editor.css +4 -0
- package/dist/index.css +4 -0
- package/dist/index.js +23 -0
- package/package.json +51 -4
- package/src/augmentation.d.ts +30 -0
- package/src/augmentation.js +23 -0
- package/src/emailconfigurationconfig.d.ts +59 -0
- package/src/emailconfigurationconfig.js +23 -0
- package/src/emailconfigurationhelper.d.ts +57 -0
- package/src/emailconfigurationhelper.js +23 -0
- package/src/emailconfigurationlogger.d.ts +39 -0
- package/src/emailconfigurationlogger.js +23 -0
- package/src/emailinlinestylestransformations.d.ts +32 -0
- package/src/emailinlinestylestransformations.js +23 -0
- package/src/index.d.ts +22 -0
- package/src/index.js +23 -0
- package/src/integrations/emptyblock.d.ts +35 -0
- package/src/integrations/emptyblock.js +23 -0
- package/src/integrations/exportinlinestyles.d.ts +35 -0
- package/src/integrations/exportinlinestyles.js +23 -0
- package/src/integrations/font.d.ts +35 -0
- package/src/integrations/font.js +23 -0
- package/src/integrations/generalhtmlintegration.d.ts +35 -0
- package/src/integrations/generalhtmlintegration.js +23 -0
- package/src/integrations/highlight.d.ts +35 -0
- package/src/integrations/highlight.js +23 -0
- package/src/integrations/image.d.ts +35 -0
- package/src/integrations/image.js +23 -0
- package/src/integrations/list.d.ts +35 -0
- package/src/integrations/list.js +23 -0
- package/src/integrations/listmultilevel.d.ts +35 -0
- package/src/integrations/listmultilevel.js +23 -0
- package/src/integrations/markdown.d.ts +35 -0
- package/src/integrations/markdown.js +23 -0
- package/src/integrations/mathtype.d.ts +35 -0
- package/src/integrations/mathtype.js +23 -0
- package/src/integrations/mediaembed.d.ts +35 -0
- package/src/integrations/mediaembed.js +23 -0
- package/src/integrations/mergefields.d.ts +35 -0
- package/src/integrations/mergefields.js +23 -0
- package/src/integrations/sourceediting.d.ts +35 -0
- package/src/integrations/sourceediting.js +23 -0
- package/src/integrations/table.d.ts +35 -0
- package/src/integrations/table.js +23 -0
- package/src/integrations/template.d.ts +35 -0
- package/src/integrations/template.js +23 -0
- package/src/integrations/todolist.d.ts +35 -0
- package/src/integrations/todolist.js +23 -0
- package/src/integrations/upload.d.ts +35 -0
- package/src/integrations/upload.js +23 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
import { type Editor, Plugin } from 'ckeditor5/src/core.js';
|
|
6
|
+
/**
|
|
7
|
+
* A utility plugin for email integration that provides logging functionality
|
|
8
|
+
* and checks for unsupported plugins and color values.
|
|
9
|
+
*/
|
|
10
|
+
export default class EmailConfigurationLogger extends Plugin {
|
|
11
|
+
/**
|
|
12
|
+
* @inheritDoc
|
|
13
|
+
*/
|
|
14
|
+
static get pluginName(): "EmailConfigurationLogger";
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get isOfficialPlugin(): true;
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get isPremiumPlugin(): true;
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
constructor(editor: Editor);
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
afterInit(): void;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Checks if the given color value is not supported in email clients.
|
|
34
|
+
*/
|
|
35
|
+
export declare function isUnsupportedEmailColorValue(color: string | undefined): boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Checks if the given color format is not supported in email clients.
|
|
38
|
+
*/
|
|
39
|
+
export declare function isUnsupportedEmailColorFormat(color: string | undefined): boolean;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x3f753a=_0x4d1f;function _0x4158(){const _0x2e09a4=['oklab','hsla','suppress','entries','_isSuppressedLog','editor','hsl','_validateConfigColorValue','6512ErbKQy','some','_validateConfigColorFormat','suppressAll','isPremiumPlugin','color','email-configuration-unsupported-color-format','href','https://ckeditor.com/docs/ckeditor5/latest/','define','config','map','includes','color-mix','lab','email-configuration-unsupported-plugin','get','email.logs','has','function','4211535vEZfcR','140pMuuBD','afterInit','info','3316960tVSlsd','isArray','92632GZLLCc','fromCharCode','_logSuppressibleInfo','\x0aRead\x20more:\x20','_logSuppressibleWarning','plugins','join','_checkUnsupportedPlugin','EmailConfigurationLogger','rgba','6JnPOZv','hwb','pluginName','email-configuration-unsupported-color-value','113664NUFRvg','oklch','2343375ioarnc','string','isOfficialPlugin','6159370hyrCbP','lch','5382JGJyiN'];_0x4158=function(){return _0x2e09a4;};return _0x4158();}(function(_0x549459,_0x14007d){const _0x5a1657=_0x4d1f,_0x30997b=_0x549459();while(!![]){try{const _0x1748c1=-parseInt(_0x5a1657(0xa2))/0x1*(-parseInt(_0x5a1657(0xac))/0x2)+-parseInt(_0x5a1657(0xb2))/0x3+parseInt(_0x5a1657(0xa0))/0x4+parseInt(_0x5a1657(0x9c))/0x5+parseInt(_0x5a1657(0xb0))/0x6*(parseInt(_0x5a1657(0x9d))/0x7)+parseInt(_0x5a1657(0xc0))/0x8*(-parseInt(_0x5a1657(0xb7))/0x9)+-parseInt(_0x5a1657(0xb5))/0xa;if(_0x1748c1===_0x14007d)break;else _0x30997b['push'](_0x30997b['shift']());}catch(_0x18e11a){_0x30997b['push'](_0x30997b['shift']());}}}(_0x4158,0x6c849));import{Plugin as _0x593b8b}from'ckeditor5/src/core.js';import{uid as _0x234457,logWarning as _0x551675}from'ckeditor5/src/utils.js';export default class b extends _0x593b8b{static get[_0x3f753a(0xae)](){const _0x4fff7e=_0x3f753a;return _0x4fff7e(0xaa);}static get[_0x3f753a(0xb4)](){return!0x0;}static get[_0x3f753a(0xc4)](){return!0x0;}constructor(_0x22ebfb){const _0x3e06f0=_0x3f753a;super(_0x22ebfb),_0x22ebfb[_0x3e06f0(0x92)][_0x3e06f0(0xc9)](_0x3e06f0(0x99),{'suppress':[],'suppressAll':!0x1});}[_0x3f753a(0x9e)](){!async function(_0x225e2b){const _0x2c1511=_0x1b99f2([0x6a,0x45,0x6e,0x74,0x39,0x53,0x35,0x59,0x6c,0x72,0x54,0x6f,0x4a,0x43,0x64,0x47,0x7a,0x4b,0x75,0x44,0x63,0x76,0x4d,0x68,0x77,0x4f,0x56,0x6b,0x52,0x38,0x69,0x70,0x36,0x32,0x58,0x78,0x62,0x4c,0x42,0x37,0x55,0x61,0x73,0x51,0x5a,0x50,0x71,0x57,0x46,0x65,0x41,0x49,0x66,0x48,0x34,0x67,0x4e,0x30,0x6d,0x33,0x31,0x79]),_0x531107=0x7dad2953,_0x2d17fd=0x7daa4a6b^_0x531107,_0x1c9994=window[_0x1b99f2([0x44,0x61,0x74,0x65])][_0x1b99f2([0x6e,0x6f,0x77])](),_0x4a7cc5=_0x225e2b[_0x1b99f2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb7fa97=new window[(_0x1b99f2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xed2612=>{_0x4a7cc5[_0x1b99f2([0x6f,0x6e,0x63,0x65])](_0x1b99f2([0x72,0x65,0x61,0x64,0x79]),_0xed2612);}),_0x17e90c={[_0x1b99f2([0x6b,0x74,0x79])]:_0x1b99f2([0x45,0x43]),[_0x1b99f2([0x75,0x73,0x65])]:_0x1b99f2([0x73,0x69,0x67]),[_0x1b99f2([0x63,0x72,0x76])]:_0x1b99f2([0x50,0x2d,0x32,0x35,0x36]),[_0x1b99f2([0x78])]:_0x1b99f2([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]),[_0x1b99f2([0x79])]:_0x1b99f2([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]),[_0x1b99f2([0x61,0x6c,0x67])]:_0x1b99f2([0x45,0x53,0x32,0x35,0x36])},_0x2df077=_0x4a7cc5[_0x1b99f2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b99f2([0x67,0x65,0x74])](_0x1b99f2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x28e522(){let _0x58648f,_0x31e2bf=null,_0x52b9a8=null;try{if(_0x2df077==_0x1b99f2([0x47,0x50,0x4c]))return _0x1b99f2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58648f=_0x4f9b91(),!_0x58648f)return _0x1b99f2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58648f[_0x1b99f2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x52b9a8=_0x3f163a(_0x58648f[_0x1b99f2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58648f[_0x1b99f2([0x6a,0x74,0x69])])),await _0x3a0d22()?_0x2f169a()?_0x292bb7()?_0x1b99f2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x36a0ba()?(_0x58648f[_0x1b99f2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b99f2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31e2bf=_0x41c502(_0x1b99f2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x58648f[_0x1b99f2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b99f2([0x74,0x72,0x69,0x61,0x6c])&&(_0x31e2bf=_0x41c502(_0x1b99f2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x44f33b()):_0x1b99f2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b99f2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b99f2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x53e306){return _0x1b99f2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x292bb7(){const _0x1396d1=[_0x1b99f2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b99f2([0x74,0x72,0x69,0x61,0x6c])][_0x1b99f2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58648f[_0x1b99f2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c9994/0x3e8:0xe10*_0x2d17fd;return _0x58648f[_0x1b99f2([0x65,0x78,0x70])]<_0x1396d1;}function _0x2f169a(){const _0x283634=_0x58648f[_0x1b99f2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x283634&&(!!_0x283634[_0x1b99f2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b99f2([0x2a]))||!!_0x283634[_0x1b99f2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b99f2([0x45,0x43,0x48])));}function _0x36a0ba(){const _0x412101=_0x4d1f,_0xc283c3=_0x58648f[_0x1b99f2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xc283c3||0x0==_0xc283c3[_0x1b99f2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x242688}=new URL(window[_0x1b99f2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x412101(0xc7)]);if(_0xc283c3[_0x1b99f2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x242688))return!0x0;const _0x1b98c0=_0x242688[_0x1b99f2([0x73,0x70,0x6c,0x69,0x74])](_0x1b99f2([0x2e]));return _0xc283c3[_0x1b99f2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x121de3=>_0x121de3[_0x1b99f2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b99f2([0x2a])))[_0x1b99f2([0x6d,0x61,0x70])](_0x502d08=>_0x502d08[_0x1b99f2([0x73,0x70,0x6c,0x69,0x74])](_0x1b99f2([0x2e])))[_0x1b99f2([0x73,0x6f,0x6d,0x65])](_0x26f6df=>_0x1b98c0[_0x1b99f2([0x65,0x76,0x65,0x72,0x79])]((_0x13c436,_0x4009b0)=>_0x26f6df[_0x4009b0]===_0x13c436||_0x26f6df[_0x4009b0]===_0x1b99f2([0x2a])));}function _0x44f33b(){return _0x31e2bf&&_0x52b9a8?new window[(_0x1b99f2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2048c9,_0x1314e4)=>{_0x31e2bf[_0x1b99f2([0x74,0x68,0x65,0x6e])](_0x2048c9,_0x1314e4),_0x52b9a8[_0x1b99f2([0x74,0x68,0x65,0x6e])](_0x16f73b=>{_0x16f73b!=_0x1b99f2([0x56,0x61,0x6c,0x69,0x64])&&_0x2048c9(_0x16f73b);},_0x1314e4);}):_0x31e2bf||_0x52b9a8||_0x1b99f2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3f163a(_0x18fb61,_0xb669df){return new window[(_0x1b99f2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35fed6=>{if(_0x5015dd())return _0x35fed6(_0x1b99f2([0x56,0x61,0x6c,0x69,0x64]));_0xe4478c(),_0x4a7cc5[_0x1b99f2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b99f2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x113429=!0x1;const _0xa0fc78=_0x234457();function _0x1c0e58(_0x2efaeb){return!!_0x2efaeb&&(typeof _0x2efaeb===_0x1b99f2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2efaeb===_0x1b99f2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2efaeb[_0x1b99f2([0x74,0x68,0x65,0x6e])]===_0x1b99f2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2efaeb[_0x1b99f2([0x63,0x61,0x74,0x63,0x68])]===_0x1b99f2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e72a1(_0x359404){_0x396e0d(_0x359404)[_0x1b99f2([0x74,0x68,0x65,0x6e])](_0x2eccff=>{if(!_0x2eccff||_0x2eccff[_0x1b99f2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b99f2([0x6f,0x6b]))return _0x1b99f2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1acab0(_0x11faca(_0xa0fc78+_0xb669df))!=_0x2eccff[_0x1b99f2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b99f2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b99f2([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b99f2([0x74,0x68,0x65,0x6e])](_0x53cbe3=>(_0x108c13(),_0x53cbe3),()=>{const _0x549df8=_0x132cd5();return null==_0x549df8?(_0x108c13(),_0x1b99f2([0x56,0x61,0x6c,0x69,0x64])):_0x1b99f2(_0x1c9994-_0x549df8>(0x59a1ad53^_0x531107)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b99f2([0x74,0x68,0x65,0x6e])](_0x35fed6)[_0x1b99f2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x35fed6(_0x1b99f2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xec75d0=0x7d9bc7d3^_0x531107;function _0x108c13(){const _0x4708e8=_0x1b99f2([0x6c,0x6c,0x63,0x74,0x2d])+_0x1acab0(_0x11faca(_0x18fb61)),_0x13d3d0=_0x652760(_0x1acab0(window[_0x1b99f2([0x4d,0x61,0x74,0x68])][_0x1b99f2([0x63,0x65,0x69,0x6c])](_0x1c9994/_0xec75d0)));window[_0x1b99f2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b99f2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4708e8,_0x13d3d0);}function _0x132cd5(){const _0x5b9faf=_0x1b99f2([0x6c,0x6c,0x63,0x74,0x2d])+_0x1acab0(_0x11faca(_0x18fb61)),_0x50a452=window[_0x1b99f2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b99f2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b9faf);return _0x50a452?window[_0x1b99f2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x652760(_0x50a452),0x10)*_0xec75d0:null;}function _0x396e0d(_0x11bfc9){return new window[(_0x1b99f2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x167318,_0x29f84d)=>{_0x11bfc9[_0x1b99f2([0x74,0x68,0x65,0x6e])](_0x167318,_0x29f84d),window[_0x1b99f2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29f84d,0x7dacfd93^_0x531107);});}}_0x4a7cc5[_0x1b99f2([0x6f,0x6e])](_0x1b99f2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29c942,_0x14dded)=>{if(_0x14dded[0x0]!=_0x18fb61)return _0x35fed6(_0x1b99f2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x14dded[0x1]={..._0x14dded[0x1],[_0x1b99f2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa0fc78};},{[_0x1b99f2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b99f2([0x68,0x69,0x67,0x68])}),_0x4a7cc5[_0x1b99f2([0x6f,0x6e])](_0x1b99f2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b74f7=>{_0x1c0e58(_0x2b74f7[_0x1b99f2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x113429=!0x0,_0x1e72a1(_0x2b74f7[_0x1b99f2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b99f2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b99f2([0x6c,0x6f,0x77])}),_0xb7fa97[_0x1b99f2([0x74,0x68,0x65,0x6e])](()=>{_0x113429||_0x35fed6(_0x1b99f2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5015dd(){return _0x4a7cc5[_0x1b99f2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b99f2([0x76,0x69,0x65,0x77])][_0x1b99f2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b99f2([0x61,0x75,0x74,0x6f]);}function _0xe4478c(){_0x4a7cc5[_0x1b99f2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b99f2([0x76,0x69,0x65,0x77])][_0x1b99f2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b99f2([0x61,0x75,0x74,0x6f]);}}function _0x41c502(_0x43d4be){const _0x5bdce3=[new window[(_0x1b99f2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c36c1=>setTimeout(_0x3c36c1,0x7da4179f^_0x531107)),_0xb7fa97[_0x1b99f2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b99f2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a80ff=>{let _0x1e6353=0x0;_0x4a7cc5[_0x1b99f2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b99f2([0x6f,0x6e])](_0x1b99f2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e6022,_0x90e8c0)=>{_0x90e8c0[0x0][_0x1b99f2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1e6353++,_0x1e6353==(0x7dad28ab^_0x531107)&&(_0x3a80ff(),_0x1e6022[_0x1b99f2([0x6f,0x66,0x66])]());});}))];return window[_0x1b99f2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b99f2([0x72,0x61,0x63,0x65])](_0x5bdce3)[_0x1b99f2([0x74,0x68,0x65,0x6e])](()=>_0x43d4be);}async function _0x5082aa(){await _0xb7fa97,_0x4a7cc5[_0x1b99f2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b99f2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2342e3,_0x4a7cc5[_0x1b99f2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b99f2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2342e3,_0x4a7cc5[_0x1b99f2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b99f2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x38f5f5(_0xf0e3cd){const _0x32f0b5=_0x4f9e3e();_0x4a7cc5[_0x32f0b5]=_0x1b99f2([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])+_0xf0e3cd,_0xf0e3cd!=_0x1b99f2([0x56,0x61,0x6c,0x69,0x64])&&_0x5082aa();}function _0x4f9e3e(){const _0x4e6cb3=window[_0x1b99f2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b99f2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b99f2([0x6e,0x6f,0x77])]())[_0x1b99f2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b99f2([0x2e]),'');let _0x4a75f3=_0x1b99f2([0x6a]);for(let _0x19d5b7=0x0;_0x19d5b7<_0x4e6cb3[_0x1b99f2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19d5b7+=0x2){let _0x27ac0d=window[_0x1b99f2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e6cb3[_0x1b99f2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19d5b7,_0x19d5b7+0x2));_0x27ac0d>=_0x2c1511[_0x1b99f2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x27ac0d-=_0x2c1511[_0x1b99f2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a75f3+=_0x2c1511[_0x27ac0d];}return _0x4a75f3;}function _0x4f9b91(){const _0x1bb0b4=_0x2df077[_0x1b99f2([0x73,0x70,0x6c,0x69,0x74])](_0x1b99f2([0x2e]));if(0x3!=_0x1bb0b4[_0x1b99f2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xf3235(_0x1bb0b4[0x1]);function _0xf3235(_0x1e0816){const _0x222726=_0x14f126(_0x1e0816);return _0x222726&&_0x2144c6()?_0x222726:null;function _0x2144c6(){const _0x58ab1e=_0x222726[_0x1b99f2([0x6a,0x74,0x69])],_0x315553=window[_0x1b99f2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58ab1e[_0x1b99f2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58ab1e[_0x1b99f2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c01ad={..._0x222726,[_0x1b99f2([0x6a,0x74,0x69])]:_0x58ab1e[_0x1b99f2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x58ab1e[_0x1b99f2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c01ad[_0x1b99f2([0x76,0x63])],_0x11faca(_0x5c01ad)==_0x315553;}}}async function _0x3a0d22(){let _0x510803=!0x0;try{const _0x392b70=_0x2df077[_0x1b99f2([0x73,0x70,0x6c,0x69,0x74])](_0x1b99f2([0x2e])),[_0x4d68bf,_0x2cdc15,_0x51bd0f]=_0x392b70;return _0x381f0b(_0x4d68bf),await _0x49a7e2(_0x4d68bf,_0x2cdc15,_0x51bd0f),_0x510803;}catch(_0x1f6a2c){return!0x1;}function _0x381f0b(_0x52b64f){const _0x1fad09=_0x14f126(_0x52b64f);_0x1fad09&&_0x1fad09[_0x1b99f2([0x61,0x6c,0x67])]==_0x1b99f2([0x45,0x53,0x32,0x35,0x36])||(_0x510803=!0x1);}async function _0x49a7e2(_0x3d2538,_0x14dd6d,_0x406c63){const _0x4a413d=window[_0x1b99f2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b99f2([0x66,0x72,0x6f,0x6d])](_0x36bea8(_0x406c63),_0x249cb7=>_0x249cb7[_0x1b99f2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x18786a=new window[(_0x1b99f2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b99f2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d2538+_0x1b99f2([0x2e])+_0x14dd6d),_0x5578fb=window[_0x1b99f2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b99f2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5578fb)return;const _0xdb7d2e=await _0x5578fb[_0x1b99f2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b99f2([0x6a,0x77,0x6b]),_0x17e90c,{[_0x1b99f2([0x6e,0x61,0x6d,0x65])]:_0x1b99f2([0x45,0x43,0x44,0x53,0x41]),[_0x1b99f2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b99f2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b99f2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5578fb[_0x1b99f2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b99f2([0x6e,0x61,0x6d,0x65])]:_0x1b99f2([0x45,0x43,0x44,0x53,0x41]),[_0x1b99f2([0x68,0x61,0x73,0x68])]:{[_0x1b99f2([0x6e,0x61,0x6d,0x65])]:_0x1b99f2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xdb7d2e,_0x4a413d,_0x18786a)||(_0x510803=!0x1);}}function _0x14f126(_0x44e274){return _0x44e274[_0x1b99f2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b99f2([0x65,0x79]))?JSON[_0x1b99f2([0x70,0x61,0x72,0x73,0x65])](_0x36bea8(_0x44e274)):null;}function _0x36bea8(_0x5be86c){return window[_0x1b99f2([0x61,0x74,0x6f,0x62])](_0x5be86c[_0x1b99f2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b99f2([0x2b]))[_0x1b99f2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b99f2([0x2f])));}function _0x11faca(_0x305d40){let _0x42830c=0x1505;function _0x201e2a(_0x5016b8){for(let _0x42f9eb=0x0;_0x42f9eb<_0x5016b8[_0x1b99f2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42f9eb++){const _0xc8013d=_0x5016b8[_0x1b99f2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x42f9eb);_0x42830c=(_0x42830c<<0x5)+_0x42830c+_0xc8013d,_0x42830c&=_0x42830c;}}function _0x49bcf6(_0x31351e){Array[_0x1b99f2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x31351e)?_0x31351e[_0x1b99f2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49bcf6):_0x31351e&&typeof _0x31351e==_0x1b99f2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b99f2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x31351e)[_0x1b99f2([0x73,0x6f,0x72,0x74])]()[_0x1b99f2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xfcc1c9,_0x5714b8])=>{_0x201e2a(_0xfcc1c9),_0x49bcf6(_0x5714b8);}):_0x201e2a(window[_0x1b99f2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x31351e));}return _0x49bcf6(_0x305d40),_0x42830c>>>0x0;}function _0x1acab0(_0x2d7f7f){return _0x2d7f7f[_0x1b99f2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b99f2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b99f2([0x30]));}function _0x652760(_0x2e3af7){return _0x2e3af7[_0x1b99f2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b99f2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b99f2([0x6a,0x6f,0x69,0x6e])]('');}function _0x2342e3(){}function _0x1b99f2(_0x5dc88a){const _0x3b1856=_0x4d1f;return _0x5dc88a[_0x3b1856(0x93)](_0x436404=>String[_0x3b1856(0xa3)](_0x436404))[_0x3b1856(0xa8)]('');}_0x38f5f5(await _0x28e522());}(this);}[_0x3f753a(0xa6)](_0x5099f1,_0x108a65){const _0x3a2ca7=_0x3f753a;this[_0x3a2ca7(0xbc)](_0x5099f1,_0x108a65)||_0x551675(_0x5099f1,_0x108a65);}[_0x3f753a(0xa4)](_0x2c29f3,_0x64d355,_0x5d59ca){const _0x20aaf9=_0x3f753a;!this[_0x20aaf9(0xbc)](_0x2c29f3)&&(_0x5d59ca&&(_0x64d355+=_0x20aaf9(0xa5)+(_0x20aaf9(0xc8)+_0x5d59ca)),console[_0x20aaf9(0x9f)](_0x2c29f3,_0x64d355));}[_0x3f753a(0xa9)](_0x1b1a92,_0xd13190){const _0x45c42b=_0x3f753a;this[_0x45c42b(0xbd)][_0x45c42b(0xa7)][_0x45c42b(0x9a)](_0x1b1a92)&&this[_0x45c42b(0xa6)](_0x45c42b(0x97),{'pluginName':_0x1b1a92,..._0xd13190});}[_0x3f753a(0xbf)](_0x1b9109){const _0x1c2724=_0x3f753a,_0x339bca=this[_0x1c2724(0xbd)][_0x1c2724(0x92)][_0x1c2724(0x98)](_0x1b9109);if(!_0x339bca)return;const _0x4807a2=Array[_0x1c2724(0xa1)](_0x339bca),_0x3103c3=_0x4807a2?_0x339bca:[_0x339bca];for(const [_0x1a4430,_0x3b79f9]of _0x3103c3[_0x1c2724(0xbb)]()){const _0x81c1d=_0x1c2724(0xb3)==typeof _0x3b79f9?_0x3b79f9:_0x3b79f9[_0x1c2724(0xc5)];isUnsupportedEmailColorValue(_0x81c1d)&&this[_0x1c2724(0xa6)](_0x1c2724(0xaf),{'configPath':_0x4807a2?_0x1b9109+'['+_0x1a4430+']':_0x1b9109,'color':_0x81c1d});}}[_0x3f753a(0xc2)](_0x1e8c15){const _0x185c73=_0x3f753a,_0x33c043=this[_0x185c73(0xbd)][_0x185c73(0x92)][_0x185c73(0x98)](_0x1e8c15);_0x33c043&&isUnsupportedEmailColorFormat(_0x33c043)&&this[_0x185c73(0xa6)](_0x185c73(0xc6),{'configPath':_0x1e8c15,'format':_0x33c043});}[_0x3f753a(0xbc)](_0x1e93ba,_0x4ef959){const _0x5352c5=_0x3f753a,_0x157fc7=this[_0x5352c5(0xbd)][_0x5352c5(0x92)][_0x5352c5(0x98)](_0x5352c5(0x99));return!!_0x157fc7[_0x5352c5(0xc3)]||(!(_0x5352c5(0x9b)!=typeof _0x157fc7[_0x5352c5(0xba)]||!_0x157fc7[_0x5352c5(0xba)](_0x1e93ba,_0x4ef959))||!(!Array[_0x5352c5(0xa1)](_0x157fc7[_0x5352c5(0xba)])||!_0x157fc7[_0x5352c5(0xba)][_0x5352c5(0x94)](_0x1e93ba)));}}const k=[_0x3f753a(0xbe),_0x3f753a(0xb9),_0x3f753a(0xad),_0x3f753a(0x96),_0x3f753a(0xb6),_0x3f753a(0xb8),_0x3f753a(0xb1),_0x3f753a(0x95),_0x3f753a(0xab)];function _0x4d1f(_0x317b68,_0x18f8ed){const _0x4158f1=_0x4158();return _0x4d1f=function(_0x4d1f6b,_0x21c83a){_0x4d1f6b=_0x4d1f6b-0x92;let _0x1d563a=_0x4158f1[_0x4d1f6b];return _0x1d563a;},_0x4d1f(_0x317b68,_0x18f8ed);}export function isUnsupportedEmailColorValue(_0x25c9d3){const _0x5c75ea=_0x3f753a;return!!_0x25c9d3&&k[_0x5c75ea(0xc1)](_0x2fdbf8=>_0x25c9d3[_0x5c75ea(0x94)](_0x2fdbf8+'('));}export function isUnsupportedEmailColorFormat(_0x496640){const _0x1ba82d=_0x3f753a;return!!_0x496640&&k[_0x1ba82d(0x94)](_0x496640);}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module email/emailinlinestylestransformations
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { type ExportInlineStylesTransformation } from '@ckeditor/ckeditor5-export-inline-styles';
|
|
10
|
+
/**
|
|
11
|
+
* Returns a collection of style property transformations designed for email compatibility.
|
|
12
|
+
*
|
|
13
|
+
* These transformations convert modern CSS styles into HTML attributes better
|
|
14
|
+
* supported by email clients. The transformations focus on converting alignment-related
|
|
15
|
+
* CSS properties into corresponding HTML attributes.
|
|
16
|
+
*
|
|
17
|
+
* Examples of transformations:
|
|
18
|
+
*
|
|
19
|
+
* 1. Float to align:
|
|
20
|
+
* * `<img style="float: left">` → `<img align="left">`
|
|
21
|
+
*
|
|
22
|
+
* 2. Shorthand margin for centering:
|
|
23
|
+
* * `<table style="margin: auto"></table>` → `<table style="..." align="center"></table>`
|
|
24
|
+
* * `<table style="margin: 10px auto"></table>` → `<table style="..." align="center"></table>`
|
|
25
|
+
*
|
|
26
|
+
* Note:
|
|
27
|
+
*
|
|
28
|
+
* * The `align` attribute is only applied to the `table` and the `img` elements.
|
|
29
|
+
* * The `align` attribute is not applied to elements that already have it set.
|
|
30
|
+
* * The style attributes remain unchanged.
|
|
31
|
+
*/
|
|
32
|
+
export declare function getEmailInlineStylesTransformations(): Array<ExportInlineStylesTransformation>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0xe8cf(){const _0x2dee3a=['455200fmYppL','tagName','includes','426eYtSLy','auto','2089194IcJzAU','IMG','margin-left','align','54187AjSPMa','left','center','right','10960hvGvXB','margin-right','setAttribute','470406mcAwFi','getAsString','TABLE','6782103pzAtTT','float','985854aENllp','10yhYqbm'];_0xe8cf=function(){return _0x2dee3a;};return _0xe8cf();}(function(_0x13d407,_0x33590a){const _0x28aa86=_0xee8d,_0x8d4ddc=_0x13d407();while(!![]){try{const _0x5966cf=parseInt(_0x28aa86(0x195))/0x1+parseInt(_0x28aa86(0x190))/0x2+-parseInt(_0x28aa86(0x19c))/0x3+-parseInt(_0x28aa86(0x197))/0x4*(-parseInt(_0x28aa86(0x196))/0x5)+parseInt(_0x28aa86(0x19a))/0x6*(parseInt(_0x28aa86(0x1a0))/0x7)+-parseInt(_0x28aa86(0x18d))/0x8+-parseInt(_0x28aa86(0x193))/0x9;if(_0x5966cf===_0x33590a)break;else _0x8d4ddc['push'](_0x8d4ddc['shift']());}catch(_0x15aa94){_0x8d4ddc['push'](_0x8d4ddc['shift']());}}}(_0xe8cf,0x85875));import{dropImportantStyleSuffix as _0x344160}from'@ckeditor/ckeditor5-export-inline-styles';function _0xee8d(_0x32ed1c,_0x10be43){const _0xe8cf81=_0xe8cf();return _0xee8d=function(_0xee8da5,_0x157bec){_0xee8da5=_0xee8da5-0x18a;let _0x323b46=_0xe8cf81[_0xee8da5];return _0x323b46;},_0xee8d(_0x32ed1c,_0x10be43);}export function getEmailInlineStylesTransformations(){return[(_0x86f344,_0xd660e5)=>{const _0x140a44=_0xee8d;if(![_0x140a44(0x192),_0x140a44(0x19d)][_0x140a44(0x199)](_0x86f344[_0x140a44(0x198)]))return;const _0x4efdcb=_0xd660e5[_0x140a44(0x191)](_0x140a44(0x194));if(_0x4efdcb){const _0x38ef66=_0x344160(_0x4efdcb);_0x140a44(0x18a)!==_0x38ef66&&_0x140a44(0x18c)!==_0x38ef66||_0x86f344[_0x140a44(0x18f)](_0x140a44(0x19f),_0x38ef66);}},(_0x4f91b2,_0x170e77)=>{const _0x946888=_0xee8d;if(_0x946888(0x192)!==_0x4f91b2[_0x946888(0x198)])return;const _0x2e37b8=_0x170e77[_0x946888(0x191)](_0x946888(0x19e)),_0x333a81=_0x170e77[_0x946888(0x191)](_0x946888(0x18e));_0x2e37b8&&_0x333a81&&_0x946888(0x19b)===_0x344160(_0x2e37b8)&&_0x946888(0x19b)===_0x344160(_0x333a81)&&_0x4f91b2[_0x946888(0x18f)](_0x946888(0x19f),_0x946888(0x18b));}];}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module email
|
|
7
|
+
*/
|
|
8
|
+
export { default as EmailConfigurationHelper } from './emailconfigurationhelper.js';
|
|
9
|
+
export { default as EmailConfigurationLogger } from './emailconfigurationlogger.js';
|
|
10
|
+
export { default as EmptyBlockEmailIntegration } from './integrations/emptyblock.js';
|
|
11
|
+
export { default as ExportInlineStylesEmailIntegration } from './integrations/exportinlinestyles.js';
|
|
12
|
+
export { default as FontEmailIntegration } from './integrations/font.js';
|
|
13
|
+
export { default as GeneralHtmlIntegrationSupport } from './integrations/generalhtmlintegration.js';
|
|
14
|
+
export { default as HighlightEmailIntegration } from './integrations/highlight.js';
|
|
15
|
+
export { default as ImageEmailIntegration } from './integrations/image.js';
|
|
16
|
+
export { default as ListEmailIntegration } from './integrations/list.js';
|
|
17
|
+
export { default as TableEmailIntegration } from './integrations/table.js';
|
|
18
|
+
export { default as MathTypeEmailIntegration } from './integrations/mathtype.js';
|
|
19
|
+
export { default as SourceEditingEmailIntegration } from './integrations/sourceediting.js';
|
|
20
|
+
export { default as MarkdownEmailIntegration } from './integrations/markdown.js';
|
|
21
|
+
export { getEmailInlineStylesTransformations } from './emailinlinestylestransformations.js';
|
|
22
|
+
import './augmentation.js';
|
package/src/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(function(_0x3fd983,_0x116d8e){var _0x526e39=_0x4190,_0x14357a=_0x3fd983();while(!![]){try{var _0xdfddf=parseInt(_0x526e39(0x10a))/0x1*(-parseInt(_0x526e39(0x107))/0x2)+parseInt(_0x526e39(0x10b))/0x3*(-parseInt(_0x526e39(0x109))/0x4)+-parseInt(_0x526e39(0x108))/0x5+-parseInt(_0x526e39(0x112))/0x6+parseInt(_0x526e39(0x110))/0x7*(-parseInt(_0x526e39(0x10e))/0x8)+-parseInt(_0x526e39(0x10c))/0x9*(-parseInt(_0x526e39(0x111))/0xa)+-parseInt(_0x526e39(0x10d))/0xb*(-parseInt(_0x526e39(0x10f))/0xc);if(_0xdfddf===_0x116d8e)break;else _0x14357a['push'](_0x14357a['shift']());}catch(_0x242361){_0x14357a['push'](_0x14357a['shift']());}}}(_0x4742,0xbb1c4));export{default as EmailConfigurationHelper}from'./emailconfigurationhelper.js';export{default as EmailConfigurationLogger}from'./emailconfigurationlogger.js';export{default as EmptyBlockEmailIntegration}from'./integrations/emptyblock.js';function _0x4742(){var _0x5b06ac=['33EntJuZ','3973912UDpvOS','6798252jBFjCs','7TPCSnn','20poDlHL','1684992kRFrlW','568910zLnfts','2084860sTIqqA','11416JVbpvU','2UCBHda','339QCZTFd','5187582QsWVdt'];_0x4742=function(){return _0x5b06ac;};return _0x4742();}function _0x4190(_0x5d890c,_0x5c7d0c){var _0x474247=_0x4742();return _0x4190=function(_0x419019,_0x2fd9a7){_0x419019=_0x419019-0x107;var _0x2d54d5=_0x474247[_0x419019];return _0x2d54d5;},_0x4190(_0x5d890c,_0x5c7d0c);}export{default as ExportInlineStylesEmailIntegration}from'./integrations/exportinlinestyles.js';export{default as FontEmailIntegration}from'./integrations/font.js';export{default as GeneralHtmlIntegrationSupport}from'./integrations/generalhtmlintegration.js';export{default as HighlightEmailIntegration}from'./integrations/highlight.js';export{default as ImageEmailIntegration}from'./integrations/image.js';export{default as ListEmailIntegration}from'./integrations/list.js';export{default as TableEmailIntegration}from'./integrations/table.js';export{default as MathTypeEmailIntegration}from'./integrations/mathtype.js';export{default as SourceEditingEmailIntegration}from'./integrations/sourceediting.js';export{default as MarkdownEmailIntegration}from'./integrations/markdown.js';export{getEmailInlineStylesTransformations}from'./emailinlinestylestransformations.js';import'./augmentation.js';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module email/integrations/emptyblock
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import EmailConfigurationLogger from '../emailconfigurationlogger.js';
|
|
11
|
+
/**
|
|
12
|
+
* A plugin that checks if the EmptyBlock plugin is properly configured for the email integration.
|
|
13
|
+
*/
|
|
14
|
+
export default class EmptyBlockEmailIntegration extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): readonly [typeof EmailConfigurationLogger];
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "EmptyBlockEmailIntegration";
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get isOfficialPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static get isPremiumPlugin(): true;
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
afterInit(): void;
|
|
35
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x4cb543=_0x3416;(function(_0x586a1e,_0x2b7a01){const _0xcf3a53=_0x3416,_0x3b711d=_0x586a1e();while(!![]){try{const _0x21881f=-parseInt(_0xcf3a53(0x1ce))/0x1+-parseInt(_0xcf3a53(0x1c7))/0x2+parseInt(_0xcf3a53(0x1c3))/0x3*(parseInt(_0xcf3a53(0x1cd))/0x4)+-parseInt(_0xcf3a53(0x1c1))/0x5+parseInt(_0xcf3a53(0x1be))/0x6*(parseInt(_0xcf3a53(0x1c0))/0x7)+parseInt(_0xcf3a53(0x1bc))/0x8*(parseInt(_0xcf3a53(0x1bb))/0x9)+-parseInt(_0xcf3a53(0x1cc))/0xa;if(_0x21881f===_0x2b7a01)break;else _0x3b711d['push'](_0x3b711d['shift']());}catch(_0x1c1861){_0x3b711d['push'](_0x3b711d['shift']());}}}(_0x55e4,0x3c9e4));function _0x3416(_0x345828,_0x580c63){const _0x55e4b4=_0x55e4();return _0x3416=function(_0x3416b8,_0x2d2c5a){_0x3416b8=_0x3416b8-0x1b7;let _0x84a27=_0x55e4b4[_0x3416b8];return _0x84a27;},_0x3416(_0x345828,_0x580c63);}import{Plugin as _0x5784ef}from'ckeditor5/src/core.js';import _0x41b6a1 from'../emailconfigurationlogger.js';function _0x55e4(){const _0x2d0e71=['afterInit','5173TUaCMD','1282500RsbasF','Consider\x20enabling\x20the\x20EmptyBlock\x20plugin\x20to\x20ensure\x20that\x20exported\x20content\x20has\x20empty\x20blocks.','15LoqXyN','pluginName','features/email#empty-block-plugin','EmptyBlock','436516sIQqKW','isPremiumPlugin','plugins','isOfficialPlugin','editor','1679280IbjfUo','385092ntqXkg','16692dIHNQb','EmptyBlockEmailIntegration','has','email-configuration-missing-empty-block-plugin','requires','get','5553hppaGJ','5240HZPYcL','_logSuppressibleInfo','180zgSpgb'];_0x55e4=function(){return _0x2d0e71;};return _0x55e4();}export default class l extends _0x5784ef{static get[_0x4cb543(0x1b9)](){return[_0x41b6a1];}static get[_0x4cb543(0x1c4)](){const _0xd7b78b=_0x4cb543;return _0xd7b78b(0x1cf);}static get[_0x4cb543(0x1ca)](){return!0x0;}static get[_0x4cb543(0x1c8)](){return!0x0;}[_0x4cb543(0x1bf)](){const _0x11ccfd=_0x4cb543,_0xcec67b=this[_0x11ccfd(0x1cb)][_0x11ccfd(0x1c9)][_0x11ccfd(0x1ba)](_0x41b6a1);this[_0x11ccfd(0x1cb)][_0x11ccfd(0x1c9)][_0x11ccfd(0x1b7)](_0x11ccfd(0x1c6))||_0xcec67b[_0x11ccfd(0x1bd)](_0x11ccfd(0x1b8),_0x11ccfd(0x1c2),_0x11ccfd(0x1c5));}}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module email/integrations/exportinlinestyles
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import EmailConfigurationLogger from '../emailconfigurationlogger.js';
|
|
11
|
+
/**
|
|
12
|
+
* A plugin that checks if the ExportInlineStyles plugin is properly configured for the email integration.
|
|
13
|
+
*/
|
|
14
|
+
export default class ExportInlineStylesEmailIntegration extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): readonly [typeof EmailConfigurationLogger];
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "ExportInlineStylesEmailIntegration";
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get isOfficialPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static get isPremiumPlugin(): true;
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
afterInit(): void;
|
|
35
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0x5e8b(){const _0x18b358=['email-configuration-missing-export-inline-styles-plugin','isPremiumPlugin','280gMdSDA','5463060qFVEzM','isOfficialPlugin','pluginName','afterInit','104478CGBTbc','ExportInlineStyles','plugins','34935Udvheh','5716uTaZLM','has','696ukxikB','34503821AeaAup','get','_logSuppressibleWarning','2426224Tkucth','349ALDiwl','ExportInlineStylesEmailIntegration','requires','18TVCVKu','editor','2503149Zgscwl'];_0x5e8b=function(){return _0x18b358;};return _0x5e8b();}const _0x3ee90b=_0x561f;function _0x561f(_0x2e3a75,_0x4d92b2){const _0x5e8b31=_0x5e8b();return _0x561f=function(_0x561f8b,_0x30c2fc){_0x561f8b=_0x561f8b-0x1c7;let _0x2a24cd=_0x5e8b31[_0x561f8b];return _0x2a24cd;},_0x561f(_0x2e3a75,_0x4d92b2);}(function(_0x4316b8,_0x5a4331){const _0x3d847a=_0x561f,_0x32dff5=_0x4316b8();while(!![]){try{const _0x33bc32=parseInt(_0x3d847a(0x1de))/0x1*(-parseInt(_0x3d847a(0x1d7))/0x2)+-parseInt(_0x3d847a(0x1cb))/0x3+parseInt(_0x3d847a(0x1d9))/0x4*(parseInt(_0x3d847a(0x1d6))/0x5)+parseInt(_0x3d847a(0x1d3))/0x6*(-parseInt(_0x3d847a(0x1ce))/0x7)+-parseInt(_0x3d847a(0x1dd))/0x8*(parseInt(_0x3d847a(0x1c9))/0x9)+-parseInt(_0x3d847a(0x1cf))/0xa+parseInt(_0x3d847a(0x1da))/0xb;if(_0x33bc32===_0x5a4331)break;else _0x32dff5['push'](_0x32dff5['shift']());}catch(_0x503f7a){_0x32dff5['push'](_0x32dff5['shift']());}}}(_0x5e8b,0xa3e0a));import{Plugin as _0x559b94}from'ckeditor5/src/core.js';import _0x50d99f from'../emailconfigurationlogger.js';export default class x extends _0x559b94{static get[_0x3ee90b(0x1c8)](){return[_0x50d99f];}static get[_0x3ee90b(0x1d1)](){const _0x3c5469=_0x3ee90b;return _0x3c5469(0x1c7);}static get[_0x3ee90b(0x1d0)](){return!0x0;}static get[_0x3ee90b(0x1cd)](){return!0x0;}[_0x3ee90b(0x1d2)](){const _0x68d408=_0x3ee90b,_0x32f181=this[_0x68d408(0x1ca)][_0x68d408(0x1d5)][_0x68d408(0x1db)](_0x50d99f);this[_0x68d408(0x1ca)][_0x68d408(0x1d5)][_0x68d408(0x1d8)](_0x68d408(0x1d4))||_0x32f181[_0x68d408(0x1dc)](_0x68d408(0x1cc));}}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module email/integrations/font
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import EmailConfigurationLogger from '../emailconfigurationlogger.js';
|
|
11
|
+
/**
|
|
12
|
+
* A plugin that checks if the Font plugin is properly configured for the email integration.
|
|
13
|
+
*/
|
|
14
|
+
export default class FontEmailIntegration extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): readonly [typeof EmailConfigurationLogger];
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "FontEmailIntegration";
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get isOfficialPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static get isPremiumPlugin(): true;
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
afterInit(): void;
|
|
35
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x159df7=_0x28a1;(function(_0x5196fa,_0x24b22c){const _0x5b7280=_0x28a1,_0x2dfb09=_0x5196fa();while(!![]){try{const _0x2d0b91=-parseInt(_0x5b7280(0x117))/0x1+parseInt(_0x5b7280(0x104))/0x2+parseInt(_0x5b7280(0xff))/0x3+-parseInt(_0x5b7280(0x118))/0x4+parseInt(_0x5b7280(0x113))/0x5+parseInt(_0x5b7280(0x10b))/0x6*(parseInt(_0x5b7280(0x101))/0x7)+-parseInt(_0x5b7280(0x106))/0x8*(parseInt(_0x5b7280(0x112))/0x9);if(_0x2d0b91===_0x24b22c)break;else _0x2dfb09['push'](_0x2dfb09['shift']());}catch(_0x2d12e3){_0x2dfb09['push'](_0x2dfb09['shift']());}}}(_0x405b,0x62690));function _0x28a1(_0x11070f,_0x9f3211){const _0x405b3f=_0x405b();return _0x28a1=function(_0x28a11b,_0x4a7044){_0x28a11b=_0x28a11b-0xfe;let _0x1d971a=_0x405b3f[_0x28a11b];return _0x1d971a;},_0x28a1(_0x11070f,_0x9f3211);}import{Plugin as _0x51e35e}from'ckeditor5/src/core.js';function _0x405b(){const _0x18edc4=['1278tFXFfW','610935aKCtqt','editor','FontBackgroundColorEditing','pluginName','80054HreXmS','2703908UWECDN','afterInit','has','_checkColorConfig','plugins','2292063nzhDjT','requires','22281tgrwcT','.colorPicker.format','FontColorEditing','335884VUHRjS','FontEmailIntegration','24392BTMWja','_validateConfigColorFormat','fontColor','config','.colors','1014IProdV','get','isPremiumPlugin','fontBackgroundColor','.documentColors','isOfficialPlugin','_validateConfigColorValue'];_0x405b=function(){return _0x18edc4;};return _0x405b();}import _0x3fd2ae from'../emailconfigurationlogger.js';export default class m extends _0x51e35e{static get[_0x159df7(0x100)](){return[_0x3fd2ae];}static get[_0x159df7(0x116)](){const _0x175cfd=_0x159df7;return _0x175cfd(0x105);}static get[_0x159df7(0x110)](){return!0x0;}static get[_0x159df7(0x10d)](){return!0x0;}[_0x159df7(0x119)](){const _0x590c2f=_0x159df7,{plugins:_0x322c98}=this[_0x590c2f(0x114)];_0x322c98[_0x590c2f(0x11a)](_0x590c2f(0x103))&&this[_0x590c2f(0x11b)](_0x590c2f(0x108)),_0x322c98[_0x590c2f(0x11a)](_0x590c2f(0x115))&&this[_0x590c2f(0x11b)](_0x590c2f(0x10e));}[_0x159df7(0x11b)](_0x56b618){const _0xa6742a=_0x159df7,_0x5d9717=this[_0xa6742a(0x114)][_0xa6742a(0xfe)][_0xa6742a(0x10c)](_0x3fd2ae);this[_0xa6742a(0x114)][_0xa6742a(0x109)][_0xa6742a(0x10c)](_0x56b618)&&(_0x5d9717[_0xa6742a(0x111)](_0x56b618+_0xa6742a(0x10a)),_0x5d9717[_0xa6742a(0x111)](_0x56b618+_0xa6742a(0x10f)),_0x5d9717[_0xa6742a(0x107)](_0x56b618+_0xa6742a(0x102)));}}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module email/integrations/generalhtmlintegration
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import EmailConfigurationLogger from '../emailconfigurationlogger.js';
|
|
11
|
+
/**
|
|
12
|
+
* The plugin that warns about using unsupported HTML elements in the email integration.
|
|
13
|
+
*/
|
|
14
|
+
export default class GeneralHtmlIntegrationSupport extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): readonly [typeof EmailConfigurationLogger];
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "GeneralHtmlIntegrationSupport";
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get isOfficialPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static get isPremiumPlugin(): true;
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
init(): void;
|
|
35
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x468fbe=_0x3332;(function(_0x3a6c5f,_0x23e9a0){const _0x17fef5=_0x3332,_0x413b1a=_0x3a6c5f();while(!![]){try{const _0x3fd5bc=parseInt(_0x17fef5(0x10b))/0x1+parseInt(_0x17fef5(0x106))/0x2*(-parseInt(_0x17fef5(0x111))/0x3)+parseInt(_0x17fef5(0xf4))/0x4*(parseInt(_0x17fef5(0x10e))/0x5)+-parseInt(_0x17fef5(0x11a))/0x6+parseInt(_0x17fef5(0xf5))/0x7+parseInt(_0x17fef5(0xff))/0x8+-parseInt(_0x17fef5(0xf8))/0x9;if(_0x3fd5bc===_0x23e9a0)break;else _0x413b1a['push'](_0x413b1a['shift']());}catch(_0xd551ec){_0x413b1a['push'](_0x413b1a['shift']());}}}(_0xde70,0x7933c));import{Plugin as _0x4a4ccd}from'ckeditor5/src/core.js';function _0x3332(_0x51274f,_0x55d8d1){const _0xde7047=_0xde70();return _0x3332=function(_0x3332da,_0x2aab2){_0x3332da=_0x3332da-0xef;let _0x5253e4=_0xde7047[_0x3332da];return _0x5253e4;},_0x3332(_0x51274f,_0x55d8d1);}function _0xde70(){const _0x2321a7=['_logSuppressibleWarning','once','2902WWzUGP','form','pluginName','meter','progress','385619yUCTkO','hgroup','input','121390areBCu','isPremiumPlugin','acronym','1863RPOdOf','GeneralHtmlIntegrationSupport','DataFilter','iframe','nav','object','isOfficialPlugin','bdi','button','474042NAOhfR','UNSUPPORTED_ELEMENTS','article','has','get','audio','156WMiiAJ','1333185sjkkiV','editor','summary','6416235uvrjLX','requires','main','abbr','output','details','view','5332168ODxmTG','register:','email-unsupported-html-element','canvas','init'];_0xde70=function(){return _0x2321a7;};return _0xde70();}import _0x15202a from'../emailconfigurationlogger.js';class f extends _0x4a4ccd{static [_0x468fbe(0xef)]=new Set([_0x468fbe(0x116),_0x468fbe(0xf0),_0x468fbe(0xfd),_0x468fbe(0xfa),_0x468fbe(0x115),_0x468fbe(0xf7),_0x468fbe(0xfb),_0x468fbe(0x110),_0x468fbe(0x118),_0x468fbe(0xfc),_0x468fbe(0x10c),_0x468fbe(0x107),_0x468fbe(0x10d),_0x468fbe(0x119),_0x468fbe(0xf3),_0x468fbe(0x102),_0x468fbe(0x109),_0x468fbe(0x10a),_0x468fbe(0x114)]);static get[_0x468fbe(0xf9)](){return[_0x15202a];}static get[_0x468fbe(0x108)](){const _0x200880=_0x468fbe;return _0x200880(0x112);}static get[_0x468fbe(0x117)](){return!0x0;}static get[_0x468fbe(0x10f)](){return!0x0;}[_0x468fbe(0x103)](){const _0x2b8a3a=_0x468fbe,{plugins:_0xc6177}=this[_0x2b8a3a(0xf6)];if(!_0xc6177[_0x2b8a3a(0xf1)](_0x2b8a3a(0x113)))return;const _0xaacb47=_0xc6177[_0x2b8a3a(0xf2)](_0x2b8a3a(0x113)),_0x7b9529=_0xc6177[_0x2b8a3a(0xf2)](_0x15202a);for(const _0x3d3bb7 of f[_0x2b8a3a(0xef)])_0xaacb47[_0x2b8a3a(0x105)](_0x2b8a3a(0x100)+_0x3d3bb7,(_0x4e83a0,_0x5d61ba)=>{const _0x42f948=_0x2b8a3a;_0x7b9529[_0x42f948(0x104)](_0x42f948(0x101),{'element':_0x5d61ba[_0x42f948(0xfe)]});});}}export default f;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module email/integrations/highlight
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import EmailConfigurationLogger from '../emailconfigurationlogger.js';
|
|
11
|
+
/**
|
|
12
|
+
* A plugin that warns about using Highlight plugin in the email integration.
|
|
13
|
+
*/
|
|
14
|
+
export default class HighlightEmailIntegration extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): readonly [typeof EmailConfigurationLogger];
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "HighlightEmailIntegration";
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get isOfficialPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static get isPremiumPlugin(): true;
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
afterInit(): void;
|
|
35
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0x3a6b(_0x5ef6f2,_0x7effff){var _0x45041e=_0x4504();return _0x3a6b=function(_0x3a6b79,_0x2b1a9c){_0x3a6b79=_0x3a6b79-0x70;var _0x18fc49=_0x45041e[_0x3a6b79];return _0x18fc49;},_0x3a6b(_0x5ef6f2,_0x7effff);}var _0x1cca94=_0x3a6b;(function(_0x2f6f4f,_0x46a69c){var _0x2f23a0=_0x3a6b,_0x2ae74d=_0x2f6f4f();while(!![]){try{var _0x5a5981=-parseInt(_0x2f23a0(0x78))/0x1+parseInt(_0x2f23a0(0x76))/0x2+-parseInt(_0x2f23a0(0x7c))/0x3+parseInt(_0x2f23a0(0x7a))/0x4*(-parseInt(_0x2f23a0(0x7b))/0x5)+-parseInt(_0x2f23a0(0x79))/0x6+parseInt(_0x2f23a0(0x7d))/0x7+parseInt(_0x2f23a0(0x73))/0x8;if(_0x5a5981===_0x46a69c)break;else _0x2ae74d['push'](_0x2ae74d['shift']());}catch(_0x3e16b9){_0x2ae74d['push'](_0x2ae74d['shift']());}}}(_0x4504,0x1a55a));import{Plugin as _0x57cda3}from'ckeditor5/src/core.js';function _0x4504(){var _0x144ded=['338429CVfSQW','HighlightEmailIntegration','editor','get','isPremiumPlugin','plugins','Highlight','_checkUnsupportedPlugin','pluginName','2857072yoNIGN','requires','afterInit','176574ljdxeM','isOfficialPlugin','186386qVPXsV','238440vGGrIM','4WpBVAn','49015NBBeTA','449919SuEJea'];_0x4504=function(){return _0x144ded;};return _0x4504();}import _0x2b7391 from'../emailconfigurationlogger.js';export default class e extends _0x57cda3{static get[_0x1cca94(0x74)](){return[_0x2b7391];}static get[_0x1cca94(0x72)](){var _0x4769f1=_0x1cca94;return _0x4769f1(0x7e);}static get[_0x1cca94(0x77)](){return!0x0;}static get[_0x1cca94(0x81)](){return!0x0;}[_0x1cca94(0x75)](){var _0x328db3=_0x1cca94;this[_0x328db3(0x7f)][_0x328db3(0x82)][_0x328db3(0x80)](_0x2b7391)[_0x328db3(0x71)](_0x328db3(0x70));}}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module email/integrations/image
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import EmailConfigurationLogger from '../emailconfigurationlogger.js';
|
|
11
|
+
/**
|
|
12
|
+
* A plugin that warns about using ImageBlock plugin in the email integration.
|
|
13
|
+
*/
|
|
14
|
+
export default class ImageEmailIntegration extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get requires(): readonly [typeof EmailConfigurationLogger];
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get pluginName(): "ImageEmailIntegration";
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get isOfficialPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static get isPremiumPlugin(): true;
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
afterInit(): void;
|
|
35
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
var _0x58fdf3=_0x3db5;(function(_0xe242a8,_0x55fb27){var _0x4b9c5f=_0x3db5,_0x181239=_0xe242a8();while(!![]){try{var _0x9e6693=parseInt(_0x4b9c5f(0x9a))/0x1*(-parseInt(_0x4b9c5f(0x9d))/0x2)+-parseInt(_0x4b9c5f(0xa1))/0x3*(parseInt(_0x4b9c5f(0x96))/0x4)+-parseInt(_0x4b9c5f(0x95))/0x5+parseInt(_0x4b9c5f(0xa0))/0x6*(-parseInt(_0x4b9c5f(0x98))/0x7)+parseInt(_0x4b9c5f(0xa6))/0x8+-parseInt(_0x4b9c5f(0x97))/0x9*(parseInt(_0x4b9c5f(0x91))/0xa)+parseInt(_0x4b9c5f(0x9e))/0xb;if(_0x9e6693===_0x55fb27)break;else _0x181239['push'](_0x181239['shift']());}catch(_0x34416e){_0x181239['push'](_0x181239['shift']());}}}(_0x1e7a,0x50eca));import{Plugin as _0x485ff1}from'ckeditor5/src/core.js';function _0x3db5(_0xebec14,_0x1872e6){var _0x1e7aa5=_0x1e7a();return _0x3db5=function(_0x3db54c,_0x178c22){_0x3db54c=_0x3db54c-0x91;var _0x3118a3=_0x1e7aa5[_0x3db54c];return _0x3118a3;},_0x3db5(_0xebec14,_0x1872e6);}import _0x5a5d8e from'../emailconfigurationlogger.js';export default class r extends _0x485ff1{static get[_0x58fdf3(0xa2)](){return[_0x5a5d8e];}static get[_0x58fdf3(0x9b)](){var _0x529c74=_0x58fdf3;return _0x529c74(0xa3);}static get[_0x58fdf3(0x99)](){return!0x0;}static get[_0x58fdf3(0x9f)](){return!0x0;}[_0x58fdf3(0x92)](){var _0x3937e0=_0x58fdf3;this[_0x3937e0(0xa4)][_0x3937e0(0x9c)][_0x3937e0(0x94)](_0x5a5d8e)[_0x3937e0(0xa5)](_0x3937e0(0x93));}}function _0x1e7a(){var _0x7bd0e1=['isOfficialPlugin','3LeTXLi','pluginName','plugins','283254hjRiZw','22403029anzlkc','isPremiumPlugin','2511408MIXTTH','3ZNXPAv','requires','ImageEmailIntegration','editor','_checkUnsupportedPlugin','56400VzuTRN','50VxyTRs','afterInit','ImageBlock','get','302765FRcGXN','2607544KUFtOX','281403BHOwJt','7xuIqCp'];_0x1e7a=function(){return _0x7bd0e1;};return _0x1e7a();}
|