@emailmaker/emailmaker 1.0.26 → 1.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +1 -1
  2. package/README_eng.md +1 -1
  3. package/asset-manifest.json +23 -23
  4. package/emailmaker-esm.js +1 -1
  5. package/emailmaker.d.ts +7 -2
  6. package/emailmaker.js +1 -1
  7. package/iframe/{iframe-eblock.268530fd38ba51365dd0.html → iframe-eblock.a6f6dc81e8b3641d6a36.html} +1 -1
  8. package/iframe/{iframe.268530fd38ba51365dd0.html → iframe.a6f6dc81e8b3641d6a36.html} +1 -1
  9. package/iframe/js/cssbeautify.js +1 -1
  10. package/iframe/sandbox-eblock.js +1 -1
  11. package/iframe/sandbox.js +1 -1
  12. package/package.json +1 -1
  13. package/plugin.html +6 -7
  14. package/plugin_blocks_test.html +139 -27
  15. package/plugin_default.html +1 -1
  16. package/plugin_s.html +1 -1
  17. package/static/css/698.9a48c3be.css +1 -0
  18. package/static/js/1399.e2af75e2.js +1 -0
  19. package/static/js/1792.216ac039.js +1 -0
  20. package/static/js/1795.b6d39a75.js +1 -0
  21. package/static/js/2256.b13b144a.js +1 -0
  22. package/static/js/5571.afd3acb0.js +1 -0
  23. package/static/js/698.ac4f2346.js +1 -0
  24. package/static/js/7471.e4dba4ab.js +1 -0
  25. package/static/js/9649.ff98467b.js +1 -0
  26. package/static/js/9907.c26468b0.js +1 -0
  27. package/static/js/{emailmaker_core.b76ffc94.js → emailmaker_core.1c0df7e8.js} +1 -1
  28. package/translations.pot +584 -552
  29. package/static/css/698.78cace37.css +0 -1
  30. package/static/js/1399.b243eb26.js +0 -1
  31. package/static/js/1792.4c8ace51.js +0 -1
  32. package/static/js/1795.83232f27.js +0 -1
  33. package/static/js/2256.2048d597.js +0 -1
  34. package/static/js/5571.b6eb73f3.js +0 -1
  35. package/static/js/698.9667395f.js +0 -1
  36. package/static/js/8905.20cd9eb8.js +0 -1
  37. package/static/js/9649.a0728edd.js +0 -1
  38. package/static/js/9907.761fcfa3.js +0 -1
@@ -1 +0,0 @@
1
- (globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[8905],{88647:(t,e,n)=>{"use strict";n.d(e,{h:()=>s});var i,a=n(92810);function d(){return d=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},d.apply(null,arguments)}function l({title:t,titleId:e,...n},l){return a.createElement("svg",d({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",ref:l,"aria-labelledby":e},n),t?a.createElement("title",{id:e},t):null,i||(i=a.createElement("path",{d:"M6.5 1.143H5.25A4.108 4.108 0 0 0 1.143 5.25V6.5c0 .078.064.143.142.143h1a.143.143 0 0 0 .143-.143V5.25A2.82 2.82 0 0 1 5.25 2.428H6.5a.143.143 0 0 0 .143-.143v-1a.143.143 0 0 0-.143-.142ZM14.857 6.5V5.25a4.108 4.108 0 0 0-4.107-4.107H9.5a.143.143 0 0 0-.143.142v1c0 .079.064.143.143.143h1.25A2.82 2.82 0 0 1 13.57 5.25V6.5c0 .078.065.143.143.143h1a.143.143 0 0 0 .143-.143ZM9.5 14.857h1.25a4.108 4.108 0 0 0 4.107-4.107V9.5a.143.143 0 0 0-.143-.143h-1a.143.143 0 0 0-.143.143v1.25a2.82 2.82 0 0 1-2.821 2.821H9.5a.143.143 0 0 0-.143.143v1c0 .079.064.143.143.143ZM1.143 9.5v1.25a4.108 4.108 0 0 0 4.107 4.107H6.5a.143.143 0 0 0 .143-.143v-1a.143.143 0 0 0-.143-.143H5.25a2.82 2.82 0 0 1-2.822-2.821V9.5a.143.143 0 0 0-.143-.143h-1a.143.143 0 0 0-.142.143Z",fill:"inherit"})))}const s=a.forwardRef(l);n.p},79154:(t,e,n)=>{"use strict";n.d(e,{h:()=>s});var i,a=n(92810);function d(){return d=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},d.apply(null,arguments)}function l({title:t,titleId:e,...n},l){return a.createElement("svg",d({fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14 14",ref:l,"aria-labelledby":e},n),t?a.createElement("title",{id:e},t):null,i||(i=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.39 3.12h7.383c.242 0 .438.195.438.437v3.719a.437.437 0 0 1-.438.437H9.547v3.227a.437.437 0 0 1-.438.437H1.727a.437.437 0 0 1-.438-.437V7.22c0-.241.196-.437.438-.437h3.226V3.557c0-.242.196-.438.438-.438Zm.493 7.327h2.734V7.713H5.883v2.734Zm3.664-3.664h2.734V4.05H9.547v2.734Z",fill:"inherit"})))}const s=a.forwardRef(l);n.p},28316:(t,e,n)=>{"use strict";n.d(e,{Kp:()=>i,Sb:()=>d,_1:()=>a});const i="SAVE",a="SHOW",d="NOTIFY"},82212:(t,e,n)=>{"use strict";n.d(e,{Y:()=>T});var i=n(92810),a=n(42108),d=n(23287),l=n(20648),s=n(94381),r=n(45934),o=n(2417),p=n.n(o),c=n(86286),m=n(85163),b=n(18398),_=n(71157),g=n(42068),h=n(93982),A=n(13522),E=n(70082);const O="locale",u="ant_locale",w="em_locale",x="em_ant_locale",I="em_mergeTags_locale",T=({children:t})=>{const[e,o]=(0,i.useState)((()=>(0,a.hU)())),[T,D]=(0,i.useState)(),[f,L]=(0,i.useState)(!0),N=(0,r.d4)(c.B),[S,v]=(0,s.HO)(),[y,C]=(0,s.Yj)(),P=(0,r.wA)(),M=(0,_.hN)(),R=N||(m.EW.isPlugin?void 0:"ru_RU");(0,i.useEffect)((()=>{try{let t=JSON.parse(localStorage.getItem(w));t||(t=JSON.parse(localStorage.getItem(O)),t&&(localStorage.removeItem(O),localStorage.setItem(w,JSON.stringify(t)))),o((0,a.hU)(t.data)),L(!1)}catch{L(!0)}try{let t=JSON.parse(localStorage.getItem(x));t||(t=JSON.parse(localStorage.getItem(u)),t&&(localStorage.removeItem(u),localStorage.setItem(x,JSON.stringify(t)))),D(t.data)}catch{}if(!m.EW.isPlugin)try{let t=JSON.parse(localStorage.getItem(I));P((0,b.Kj)(t.data))}catch{}}),[D,L,o,P]),(0,i.useEffect)((()=>{R&&n(17583)(`./${"uk"===R?"uk_UA":R}.js`).then((t=>{D(t.default),localStorage.setItem(x,JSON.stringify(t.default))}))}),[D,R]),(0,i.useEffect)((()=>{m.EW.isPlugin||R&&n(93718)(`./${"uk"===R?"uk_UA":R}.ts`).then((t=>{P((0,b.Kj)(t.default)),localStorage.setItem(I,JSON.stringify(t.default))}))}),[R,P]),(0,g.Z)((([t])=>{!t&&v.error&&M.fromError("GET_LOCALES_ERROR",void 0,v.error)}),[v.error,M]);const B=(0,h.ml)(A.A.READ_LOCALE),[U,k]=(0,i.useState)(!1);return(0,g.Z)((([t])=>{R!==t&&R&&B.fire(R).then((t=>{const e=t[0];if(e){var n;const t=null===(n=p()(e,{format:"jed",fuzzy:!0,domain:"default"}))||void 0===n?void 0:n.locale_data.default;o((0,a.hU)(t)),k(!0)}else v.isSuccess?y({id:R}):S(void 0)}))}),[R,B,v,o,k]),(0,i.useEffect)((()=>{if(v.isSuccess){const t=v.data;if(R){const e=t.filter((([t])=>t===R));if(!e.length)return void k(!0);try{const t=JSON.parse(localStorage.getItem(w));if(e.every((([e,n])=>t.id===e&&n<=t.time)))return void k(!0)}catch{}y({id:R})}}}),[R,v,y,M,k]),(0,g.Z)((([t])=>{!t&&C.isError&&M.fromError("GET_LOCALE_ERROR",void 0,C.isError)}),[C.isError,M]),(0,i.useEffect)((()=>{if(v.isSuccess&&C.isSuccess){var t;if(C.originalArgs.id!==R)return;const e=v.data.filter((([t])=>t===R)),n=C.data,i=null===(t=p()(n,{format:"jed",fuzzy:!0,domain:"default"}))||void 0===t?void 0:t.locale_data.default;try{localStorage.setItem(w,JSON.stringify({id:R,time:e[0][1],data:i}))}catch{}o((0,a.hU)(i)),k(!0)}}),[C,R,v,o,M,k]),(0,E.jsx)(d.CY,{i18n:e,children:(0,E.jsx)(l.Ay,{locale:T,children:!f||U?t:(0,E.jsx)(E.Fragment,{})})})}},17126:(t,e,n)=>{"use strict";n.d(e,{LG:()=>l,fh:()=>d,or:()=>a});var i=n(92810);const a=(0,i.createContext)({element:void 0}),d=(0,i.createContext)(void 0),l=()=>(0,i.useContext)(d)},95550:t=>{t.exports=({__:t})=>`<style em="styles">\n @media only screen and (max-device-width:660px),only screen and (max-width:660px) {\n .em-mob-width-100perc {\n width: 100%!important;\n max-width: 100%!important;\n }\n }\n</style>\n<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td style="padding: 10px 0;">\n <table cellpadding="0" cellspacing="0" border="0" width="200" class="em-mob-width-100perc">\n <tr>\n <td align="center" valign="middle" height="41" style="background-color: #1C52DC; border-radius: 5px; height: 41px;">\n <a href="" target="_blank" style="display: block; height: 41px; font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; color: #FFFFFF; font-size: 16px; line-height: 41px; text-decoration: none; white-space: nowrap;">\n ${t("Button")}\n </a>\n </td>\n </tr>\n </table>\n</td></tr></table>`},59817:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});const i=new Date,a=new Date(+i+432e6).toISOString(),d=-(new Date).getTimezoneOffset()/60,l=t=>`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td align="center"><img class="em-countdown" em-cd-settings="locale=${t.replace("_","-")}&bg=FFFFFF&tp=false&color1=000000&color2=959595&size1=72&size2=28&font1=roboto&font2=roboto&border=10&delimiter=:&spacing=10&time=${a}&timezone=${d}" src="${(t=>`https://cdt3.emcdn.ru/timer?locale=${t.replace("_","-")}&bg=FFFFFF&tp=false&color1=000000&color2=959595&size1=72&size2=28&font1=roboto&font2=roboto&border=10&delimiter=:&spacing=10&time=${a}&timezone=${d}`)(t)}" border="0" alt="" style="display: block;" /></td></tr></table>`},44789:t=>{t.exports='<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td height="0" style="padding: 20px 0 0; border-top: 1px solid #EEEEEE;">&nbsp;</td></tr></table>'},50483:t=>{t.exports=({__:t})=>`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td style="padding: 20px 0 10px;">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 24px; line-height: 32px; color: #333333;"><strong>${t("Header text")}</strong></div>\n</td></tr></table>`},74436:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});const i=`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td>\n <img src=${n.p+"static/media/empty-image.1827d656.png"} width="150" border="0" alt="" style="display: block; width: 100%; max-width: 150px;" />\n</td></tr></table>`},24358:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});const i=`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td>\n <img class="em-ai-img em-just-inserted" src="${n.p+"static/media/ai-image.7c42c2e1.png"}" width="150" border="0" alt="" style="display: block; width: 100%; max-width: 150px;" />\n</td></tr></table>`},35465:t=>{t.exports=({__:t})=>`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td style="padding-bottom: 10px;">\n <table cellpadding="0" cellspacing="0" border="0" width="100%">\n <tr>\n <td align="left" valign="top" width="10">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;">1.</div>\n </td>\n <td width="10">&nbsp;</td>\n <td align="left" valign="top">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;">${t("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.")}</div>\n </td>\n </tr>\n </table>\n</td></tr></table>`},71811:t=>{t.exports=({__:t})=>`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td style="padding-bottom: 10px;">\n <table cellpadding="0" cellspacing="0" border="0" width="100%">\n <tr>\n <td align="left" valign="top" width="10">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;">&bull;</div>\n </td>\n <td width="10">&nbsp;</td>\n <td align="left" valign="top">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;">${t("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.")}</div>\n </td>\n </tr>\n </table>\n</td></tr></table>`},16409:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});const i=`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td>\n <table border="0" cellspacing="0" cellpadding="0">\n <tr>${n(81154).A.map((t=>`\n <td width="40" align="center">\n <a href="" target="_blank"><img src="${t}" width="30" border="0" alt="" style="display: block;" /></a>\n </td>`)).join("")}\n </tr>\n </table>\n</td></tr></table>`},77098:t=>{t.exports='<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td height="20"></td></tr></table>'},48304:t=>{t.exports=({__:t})=>`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom">\n <tr>\n <td align="center" valign="top">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;">${t("Column")} 1</div>\n </td>\n <td align="center" valign="top">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;">${t("Column")} 2</div>\n </td>\n <td align="center" valign="top">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;">${t("Column")} 3</div>\n </td>\n </tr>\n</table>`},42797:t=>{t.exports=({__:t})=>`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td style="padding-bottom: 10px;">\n <div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5A5A5A;">${t("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.")}</div>\n</td></tr></table>`},79757:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});const i=`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td>\n <img class="em-video" src="${n.p+"static/media/video.854adea5.png"}" width="150" border="0" alt="" style="display: inline-block; width: 100%; max-width: 150px;" />\n</td></tr></table>`},35880:t=>{t.exports='<tr em="block" class="empty-structure">\n\t<td align="center">\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>\n\t\t<![endif]--\x3e\n\t\t<table align="center" cellpadding="0" cellspacing="0" border="0" width="100%" style="max-width: 660px;">\n\t\t\t<tr>\n\t\t\t\t<td align="center">\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30" ></td></tr></table>\n\t\t\t\t\t<table align="center" cellpadding="0" cellspacing="0" border="0" width="91%">\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</table>\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30" ></td></tr></table>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t</td></tr></table>\n\t\t<![endif]--\x3e\n\t</td>\n</tr>\n'},573:t=>{t.exports='<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n<html>\n<head>\n <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n <meta name="viewport" content="width=device-width, initial-scale=1">\n <title></title>\n <style type="text/css">\n html {\n -webkit-text-size-adjust: none;\n -ms-text-size-adjust: none;\n }\n </style>\n <style em="styles">\n@media only screen and (max-device-width:660px),only screen and (max-width:660px) {\n .em-narrow-table {\n width: 100%!important;\n max-width: 660px!important;\n min-width: 320px!important;\n }\n}\n</style>\n</head>\n<body style="margin: 0; padding: 0;">\n <span class="preheader" style="display: none !important; visibility: hidden; opacity: 0; color: #F8F8F8; height: 0; width: 0; font-size: 1px;">&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;\u200c&nbsp;</span>\n \x3c!--[if !mso]>\x3c!--\x3e\n <div style="font-size:0px;color:transparent;opacity:0;">\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800</div>\n \x3c!--<![endif]--\x3e\n <table cellpadding="0" cellspacing="0" border="0" width="100%" style="font-size: 1px; line-height: normal;">\n <tr em="group">\n <td align="center" bgcolor="#F8F8F8">\n \x3c!--[if (gte mso 9)|(IE)]>\n <table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>\n <![endif]--\x3e\n <table cellpadding="0" cellspacing="0" width="100%" border="0" style="max-width: 660px; min-width: 660px; width: 660px;" class="em-narrow-table"></table>\n \x3c!--[if (gte mso 9)|(IE)]>\n </td></tr></table>\n <![endif]--\x3e\n </td>\n </tr>\n </table>\n</body>\n</html>'},13522:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(93982);let a;var d;(d=a||(a={})).BEFORE_SAVE_EMAIL=(0,i.cZ)(),d.ON_SAVEBUTTON_CLICK_ID=(0,i.cZ)(),d.ON_NEXTBUTTON_CLICK_ID=(0,i.cZ)(),d.ON_PREVIOUSBUTTON_CLICK_ID=(0,i.cZ)(),d.ON_MODEL_CHANGE=(0,i.cZ)(),d.WILL_EMAIL_INIT_ID=(0,i.cZ)(),d.ON_EMAIL_INIT_ID=(0,i.cZ)(),d.ON_BLOCK_INIT_ID=(0,i.cZ)(),d.ON_CONTENT_CHANGED_ID=(0,i.cZ)(),d.ON_EMAIL_CHANGED_ID=(0,i.cZ)(),d.ON_BLOCK_CHANGED_ID=(0,i.cZ)(),d.ON_SEND_TESTEMAIL_ID=(0,i.cZ)(),d.ON_SEND_LIVEPREVIEW_ID=(0,i.cZ)(),d.ON_SHARE_ID=(0,i.cZ)(),d.ON_SHOW_PREVIEW_ID=(0,i.cZ)(),d.ON_EMAIL_CLONE_ID=(0,i.cZ)(),d.ON_SEND_EMAIL_MODAL_ID=(0,i.cZ)(),d.ON_NOTIFICATION=(0,i.cZ)(),d.READ_LOCALE=(0,i.cZ)()},85163:(t,e,n)=>{"use strict";n.d(e,{A9:()=>s,BD:()=>ot,Bv:()=>C,CJ:()=>c,EW:()=>l,F3:()=>h,F5:()=>a,G$:()=>z,IE:()=>Q,IJ:()=>_,JE:()=>Z,Jy:()=>U,KI:()=>tt,N7:()=>k,ND:()=>dt,QV:()=>pt,Qz:()=>X,Ru:()=>u,St:()=>F,T:()=>m,Tm:()=>Y,UW:()=>o,Ug:()=>rt,V0:()=>r,VG:()=>A,Vp:()=>at,Vv:()=>L,WU:()=>S,Y$:()=>J,YY:()=>st,aO:()=>W,bV:()=>x,e3:()=>mt,eA:()=>j,eG:()=>$,ff:()=>d,gY:()=>V,hc:()=>M,iU:()=>nt,iV:()=>G,iW:()=>v,jg:()=>ct,lx:()=>E,m3:()=>K,mX:()=>T,nA:()=>B,nd:()=>b,p5:()=>et,pe:()=>R,rW:()=>w,rY:()=>P,rb:()=>N,rl:()=>q,vd:()=>g,wF:()=>it,xz:()=>I,y2:()=>p,yI:()=>f,yo:()=>H,yy:()=>D,zh:()=>lt,zx:()=>y});var i=n(19378);const a="LOADING",d="ERROR",l={isPlugin:!1},s={em_token:"em_token",em_elements_view:"em_elements_view",em_new_block:"em_new_block",em_new_email:"em_new_email",em_id:"em_id",em_name:"em_name",em_email:"em_email",em_locale:"em_locale",em_carrotquest_hash:"em_carrotquest_hash",em_ducalis_hash:"em_ducalis_hash",em_email_subscription_consent:"em_email_subscription_consent",em_folder:"em_folder",promocode:"promocode"},r={em_color_scheme:"em_color_scheme",em_code_mode_pane_sizes:"em_code_mode_pane_sizes",em_preview_pane_sizes:"em_preview_pane_sizes",em_default_sizes:"em_default_sizes",em_pane_sizes:"em_pane_sizes",em_test_emails:"em_test_emails",em_menu_is_locked:"em_menu_is_locked",em_code_mode_settings:"em_code_mode_settings",em_folder_is_open:"em_folder_is_open"},o="deleted",p="all",c="not all",m="light",b="dark",_="system",g="(prefers-color-scheme: light)",h="(prefers-color-scheme: dark)",A="#1890ff",E={ADD_NEW_PROJECT_MODAL:"ADD_NEW_PROJECT_MODAL",EDIT_PROJECT_MODAL:"EDIT_PROJECT_MODAL",BLOCKS_MODAL:"BLOCKS_MODAL",EDIT_PROFILE_MODAL:"EDIT_PROFILE_MODAL",SEND_TEST_EMAIL:"SEND_TEST_EMAIL",ADD_NEW_EBLOCK_MODAL:"ADD_NEW_EBLOCK_MODAL",ADD_NEW_EMAIL_MODAL:"ADD_NEW_EMAIL_MODAL",SWITCH_TO_PLAN_MODAL:"SWITCH_TO_PLAN_MODAL",IMAGE_EDITOR_MODAL:"IMAGE_EDITOR_MODAL",ADD_NEW_FOLDER_MODAL:"ADD_NEW_FOLDER_MODAL",EDIT_FOLDER_NAME_MODAL:"EDIT_FOLDER_NAME_MODAL",UPLOAD_IMAGE_MODAL:"UPLOAD_IMAGE_MODAL",UPLOAD_BACKGROUND_MODAL:"UPLOAD_BACKGROUND_MODAL",UPLOAD_IMAGE_MODAL_AI:"UPLOAD_IMAGE_MODAL_AI",UPLOAD_BACKGROUND_MODAL_AI:"UPLOAD_BACKGROUND_MODAL_AI",UPLOAD_IMAGE_MODAL_STOCK:"UPLOAD_IMAGE_MODAL_STOCK",UPLOAD_BACKGROUND_MODAL_STOCK:"UPLOAD_BACKGROUND_MODAL_STOCK",UPLOAD_IMAGE_MODAL_GIF:"UPLOAD_IMAGE_MODAL_GIF",UPLOAD_BACKGROUND_MODAL_GIF:"UPLOAD_BACKGROUND_MODAL_GIF",UPLOAD_IMAGE_MODAL_EDIT:"UPLOAD_IMAGE_MODAL_EDIT",UPLOAD_BACKGROUND_MODAL_EDIT:"UPLOAD_BACKGROUND_MODAL_EDIT",UPLOAD_IMAGE_MODAL_UPLOAD:"UPLOAD_IMAGE_MODAL_UPLOAD",UPLOAD_BACKGROUND_MODAL_UPLOAD:"UPLOAD_BACKGROUND_MODAL_UPLOAD"};let O;!function(t){t[t.Amp=0]="Amp",t[t.HTML=1]="HTML",t[t.Everywhere=2]="Everywhere"}(O||(O={}));const u={MESSAGE:"message",UPDATE_PREVIEW:"update_preview",UPDATE_EDITOR:"update_editor",UPDATE_EDITOR_POSITION:"update_editor_position",UPDATE_SIDE_MENU_EDITOR:"update_side_menu_editor",SAVE_EMAIL:"saveEmail",SANDBOX_ELEMENT_SETTINGS_SET:"sandbox_element_settings_set",SANDBOX_EMAIL_SETTINGS_SET:"sandbox_email_settings_set",SANDBOX_BLOCK_SETTINGS_SET:"sandbox_block_settings_set",SANDBOX_ELEMENT_PARENT_GET:"sandbox_element_parent_get",SANDBOX_ELEMENT_PARENT_TABLE_GET:"sandbox_element_parent_table_get",SANDBOX_ELEMENT_PREV_GET:"sandbox_element_prev_get",SANDBOX_ELEMENT_NEXT_GET:"sandbox_element_next_get",SANDBOX_ELEMENT_REMOVE:"sandbox_element_remove",SANDBOX_ELEMENT_ACTIVE_RESET:"sandbox_element_active_reset",SANDBOX_ELEMENT_ACTIVE_SET:"sandbox_element_active_set",SANDBOX_ELEMENT_HOVER_SET:"sandbox_element_hover_set",SANDBOX_ELEMENT_IMG_LINK:"sandbox_element_img_link",SANDBOX_ELEMENT_TEXT:"sandbox_element_text",SANDBOX_EMAIL_CONTENT_GET:"sandbox_email_content_get",SANDBOX_SET_POSITION_TO_IMG:"sandbox_set_position_to_img",SANDBOX_SET_POSITION_TO_LINK:"sandbox_set_position_to_link",APPLICATION_FOCUS_IN_IFRAME:"application_focus_in_iframe",APPLICATION_EMAIL_SETTINGS_SET:"application_email_settings_set",APPLICATION_BLOCK_SETTINGS_SET:"application_block_settings_set",APPLICATION_ELEMENT_SETTINGS_SET:"application_element_settings_set",APPLICATION_ELEMENT_SETTINGS_CLOSE:"application_element_settings_close",APPLICATION_ACTION:"application_action",APPLICATION_EBLOCK_ADD:"application_eblock_add",APPLICATION_SCROLL_TO:"application_scroll-to",APPLICATION_SCROLL_BLOCK_SHOW:"application_scroll-block-show",APPLICATION_SCROLL_BLOCK_HIDE:"application_scroll-block-hide",APPLICATION_DISCUSS_SET_ID:"application_discuss_set_id",APPLICATION_DISCUSS_GET_COMMENT:"application_discuss_get_comment",APPLICATION_DISCUSS_NO_COMMENT:"application_discuss_no_comment",APPLICATION_DISCUSS_SAVE_TARGET:"application_discuss_save_target",APPLICATION_IFRAME_SET_HEIGHT:"application_iframe_set_height",APPLICATION_COMMON_STYLES_UPDATE:"application_commonStyles_update",APPLICATION_EMAIL_CONTENT_GET:"application_email_content_get",APPLICATION_OPEN_IMAGE_AI_POPUP:"application_open-image-ai-popup",APPLICATION_OPEN_IMAGE_UPLOAD_POPUP:"application_open-image-upload-popup",APPLICATION_OPEN_IMAGE_EDIT_POPUP:"application_open-image-edit-popup",APPLICATION_OPEN_IMAGE_GIF_POPUP:"application_open-image-gif-popup",APPLICATION_OPEN_IMAGE_STOCK_POPUP:"application_open-image-stock-popup",APPLICATION_CLOSE_IMAGE_EDIT_POPUP:"application_close-image-edit-popup",APPLICATION_SUBJECT_UPDATE:(0,i.Qm)("application_subject_update"),APPLICATION_PREHEADER_UPDATE:(0,i.Qm)("application_preheader_update"),APPLICATION_DOMPARSER_ERROR:(0,i.Qm)("application_domparser_error"),APPLICATION_UPDATE_ENTITY:(0,i.Qm)("application_update_entity"),APPLICATION_IFRAME_DRAG_EVENT:(0,i.Qm)("application_iframe_drag_event"),APPLICATION_HAS_AMP:(0,i.Qm)("application_has_amp"),SANDBOX_WINDOW_CHARACTERISTIC:"sandbox_window-characteristic",SANDBOX_IFRAME_SETSIZE:"sandbox_iframe-setsize",SANDBOX_BLOCK_INSERT:"sandbox_block-insert",SANDBOX_ATOM_INSERT:"sandbox_atom-insert",SANDBOX_DRAG_CANCEL:"sandbox_drag-cancel",UPDATE_EDITOR_POSITION_FROM_EDITOR:"update_position_from_editor",UPDATE_EDITOR_POSITION_FROM_IFRAME:"update_position_from_iframe",SANDBOX_CHANGE_PREVIEW:"sandbox_change_preview",APPLICATION_CHANGE_PREVIEW:"application_change_preview",SANDBOX_LOCK_EDIT:"sandbox_lock_edit",SANDBOX_FLOATBLOCK_ADD:"sandbox_floatBlock_add",SANDBOX_FLOATBLOCK_REMOVE:"sandbox_floatBlock_remove",EDITOR_CHANGE_FOCUS:"editor_change_focus",SANDBOX_RESIZED:"sandbox_resized",SANDBOX_LOCK_DISCUSS:"sandbox_lock_discuss",SANDBOX_DISCUSS_SET_TARGET:"sandbox_discuss_set_target",SANDBOX_DISCUSS_REMOVE_TARGET:"sandbox_discuss_remove_target",SANDBOX_DISCUSS_RESET:"sandbox_discuss_reset",SANDBOX_DISCUSS_GET_TARGET:"sandbox_discuss_get_target",SANDBOX_READY:(0,i.Qm)("SANDBOX_READY"),SANDBOX_FLOATBLOCK_WRAP:"sandbox_floatblock_wrap",SANDBOX_SUBJECT_UPDATE:(0,i.Qm)("sandbox_subject_update"),SANDBOX_PREHEADER_UPDATE:(0,i.Qm)("sandbox_preheader_update"),SANDBOX_DRAG_EVENT:(0,i.Qm)("sandbox_drag_event"),SANDBOX_ADD_MERGETAG:(0,i.Qm)("sandbox_add_mergetag"),SANDBOX_TRANSLATIONS:(0,i.Qm)("sandbox_send_translations"),SANDBOX_SET_THEME_VARIABLES:(0,i.Qm)("sandbox_send_theme_variables"),SANDBOX_SET_ENTITY:(0,i.Qm)("sandbox_set_entity"),SANDBOX_INIT_START:(0,i.Qm)("sandbox_init_start"),SANDBOX_INITED:(0,i.Qm)("sandbox_inited"),SANDBOX_UPDATE_ENTITY:(0,i.Qm)("sandbox_update_entity"),RELOAD:(0,i.Qm)("reload"),SANDBOX_IS_EMAIL_EMPTY:(0,i.Qm)("sandbox_is_email_empty")},w={language:"html",detectIndentation:!1,wordWrap:"on",wrappingIndent:"same",smoothScrolling:"on",automaticLayout:!0,tabSize:2,indentSize:2};let x;!function(t){t.IMG="img",t.TEXT="text",t.LINK="a",t.TABLE="table",t.VINDENT="vindent",t.TD="td",t.STRUCTURE="structure",t.GROUP="group",t.BUTTON="button",t.DIV="div",t.FLOAT_BLOCK="floatBlock",t.VAR="var",t.EMPTY_TABLE="emptyTable",t.EMPTY_TD="emptyTd",t.COUNTDOWN="countdown",t.VIDEO="video",t.COLUMN="column"}(x||(x={}));const I="Appearance",T="Structure",D="Settings",f="Properties",L="History",N="Disabled_tab",S="Edit selected element",v="UTM parameters",y="Edit",C="Build",P="Styles",M="Discuss",R="TEXT_AI",B="Blocks",U="Atoms",k="Optimise",G={top:{width:null,style:null,color:null},right:{width:null,style:null,color:null},bottom:{width:null,style:null,color:null},left:{width:null,style:null,color:null}},H="Owner",F="Administrator",K="User",z="The invitation has been sent",V="Assign the project owner",X="Change role to Administrator",W="Change role to User",j="Remove member",Z="Revoke the invite",Q="block",Y="email",J="cards",q="list",$="pending",tt="d41d8",et=1865,nt=127017,it={borderRadiusAll:"all",borderRadiusTopLeft:"topLeft",borderRadiusBottomLeft:"bottomLeft",borderRadiusTopRight:"topRight",borderRadiusBottomRight:"bottomRight"},at="desktop",dt="mobile",lt="emailtags",st="blocktags",rt="all_folders",ot={text:{fontFamily:["Safe Fonts","-apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif"],fontSize:16,fontSizeDim:"px",lineHeight:21,lineHeightDim:"px",color:"#5a5a5a",textAlign:"left",paddingBottom:10,paddingBottomDim:"px"},headings:{fontFamily:["Safe Fonts","-apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif"],fontSize:24,fontSizeDim:"px",lineHeight:32,lineHeightDim:"px",color:"#333333",textAlign:"left",paddingTop:20,paddingTopDim:"px",paddingBottom:10,paddingBottomDim:"px",letterSpacing:0,letterSpacingDim:"px",bold:!0,italic:!1},links:{color:"#1C52DC",underline:!0},buttons:{fontFamily:["Safe Fonts","-apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif"],fontSize:16,fontSizeDim:"px",letterSpacing:0,letterSpacingDim:"px",color:"#FFFFFF",bold:!1,italic:!1,backgroundColor:"#1C52DC",marginTop:10,marginTopDim:"px",marginBottom:10,marginBottomDim:"px",border:{all:null,top:null,right:null,bottom:null,left:null},borderRadius:{all:5,topLeft:null,topRight:null,bottomRight:null,bottomLeft:null},textAlign:"center",padding:{all:null,top:null,right:null,bottom:null,left:null}},block:{backgroundColor:""}},pt=t=>({REORDER_ATOM:t("Reorder element"),CLONE_ATOM:t("Clone element"),REMOVE_ATOM:t("Remove element"),EDIT_ATOM:t("Edit element"),CHANGE_IMAGE:t("Change image"),REORDER_BLOCK:t("Reorder block"),REORDER_BLOCK_UP:t("Move up"),REORDER_BLOCK_DOWN:t("Move down"),EDIT_BLOCK:t("Edit block"),CLONE_BLOCK:t("Clone block"),MERGE_BLOCK:t("Merge with the chosen block"),UNMERGE_BLOCK:t("Split blocks"),COPY_BLOCK_TO_CLIPBOARD:t("Copy block to clipboard"),PASTE_BLOCK_FROM_CLIPBOARD:t("Paste block from clipboard"),REMOVE_BLOCK:t("Remove block"),SAVE_TO_BLOCKS:t("Save to Blocks"),ADD_BLOCK:t("Add block"),ADD_EMPTY_BLOCK:t("Add an empty block"),ADD_SAVED_BLOCK:t("Add a saved block"),ADD_COMMON_BLOCK:t("Add a common block"),ADD_TEMPLATE_BLOCK:t("Add a template block"),ADD_SEARCH_BLOCK:t("Search a block"),REORDER_GROUP:t("Reorder group"),EDIT_GROUP:t("Edit group"),CLONE_GROUP:t("Clone group"),REMOVE_GROUP:t("Remove group"),ADD_GROUP:t("Add group"),LINK:t("link"),TABLE_COLUMN:t("cell"),TABLE:t("table"),FLOAT_BLOCK:t("column"),CONTAINER:t("container"),PICTURE:t("picture"),VERTICAL_INDENT:t("indent"),TEXT:t("text"),BUTTON:t("button"),VAR:t("variable"),STRUCTURE:t("block"),EMAIL:t("email"),GROUP:t("group"),TYPOGRAF:t("Typograf"),COUNTDOWN:t("countdown"),ELEMENT:t("element"),VIDEO:t("video"),ELEMENT_PATH_LINK:t("Link"),ELEMENT_PATH_BLOCK:t("Block"),ELEMENT_PATH_ATOM:t("Element"),ELEMENT_PATH_TD:t("Cell"),ELEMENT_PATH_TABLE:t("Table"),ELEMENT_PATH_FLOATBLOCK:t("Column"),ELEMENT_PATH_TEXT:t("Text"),ELEMENT_PATH_DIV:t("Container"),ELEMENT_PATH_GROUP:t("Group"),ELEMENT_PATH_EMAIL:t("Email"),ELEMENT_PATH_IMG:t("Picture"),ELEMENT_PATH_VINDENT:t("Indent"),ELEMENT_PATH_BUTTON:t("Button"),TINYMCE_CHANGECASE:t("Case Change"),TINYMCE_UPPERCASE:t("Uppercase"),TINYMCE_LOWERCASE:t("Lowercase"),PASTE_HERE:t("Drop here")}),ct={Applications:"Apps",Articles:"Article",Banners:"Banners",Buttons:"Buttons","Call to Action":"Call to Action",Contacts:"Contacts",Content:"Content","E-Commerce":"E-Commerce",Feature:"Features",Footer:"Footers",Header:"Headers",Lists:"Lists",Menu:"Menus",Other:"Others",Polls:"Polls",Promocodes:"Promocodes",Separators:"Separators"},mt={maker:"https://ai-mail.emcdn.ru",blocks:"https://ai-mail.useblocks.io"}},28073:(t,e,n)=>{"use strict";function i(t,e){return{[t]:{Filter:e("Filter"),filter:e("filter"),Resize:e("Resize"),resize:e("resize"),Crop:e("Crop"),Width:e("Width"),width:e("width"),Height:e("Height"),height:e("height"),"Background color":e("Background color"),Cancel:e("Cancel"),Create:e("Create"),Objects:e("Objects"),Quality:e("Quality"),Save:e("Save"),"Loading Canvas":e("Loading Canvas"),"Loading Image":e("Loading Image"),"Loading State":e("Loading State"),"Processing Image":e("Processing Image"),Close:e("Close"),Apply:e("Apply"),Font:e("Font"),Color:e("Color"),Background:e("Background"),Image:e("Image"),Opacity:e("Opacity"),Outline:e("Outline"),Shadow:e("Shadow"),Gradient:e("Gradient"),Texture:e("Texture"),"Replace Image":e("Replace Image"),"Outline Color":e("Outline Color"),"Shadow Color":e("Shadow Color"),"Font Size":e("Font Size"),Radius:e("Radius"),"Brush Color":e("Brush Color"),"Brush Type":e("Brush Type"),"Brush Size":e("Brush Size"),History:e("History"),"Maintain aspect ratio":e("Maintain aspect ratio"),"New Text":e("New Text"),Size:e("Size"),Draw:e("Draw"),Text:e("Text"),Stickers:e("Stickers"),Frame:e("Frame"),Shapes:e("Shapes"),Corners:e("Corners"),corners:e("corners"),Done:e("Done"),"Applied Filters":e("Applied Filters"),"Resized Image":e("Resized Image"),"Cropped Image":e("Cropped Image"),"Added Drawing":e("Added Drawing"),"Added Text":e("Added Text"),"Added Shape":e("Added Shape"),"Added Sticker":e("Added Sticker"),"Added Frame":e("Added Frame"),"Merged Objects":e("Merged Objects"),"Rounded Corner":e("Rounded Corner"),"Replaced Background Image":e("Replaced Background Image"),"Added Image":e("Added Image"),Initial:e("Initial"),"Loaded State":e("Loaded State"),"Changed Style":e("Changed Style"),"Deleted object":e("Deleted object"),Merge:e("Merge"),Emoticons:e("Emoticons"),Doodles:e("Doodles"),Landmarks:e("Landmarks"),Bubbles:e("Bubbles"),Transportation:e("Transportation"),Beach:e("Beach"),PencilBrush:e("PencilBrush"),SprayBrush:e("SprayBrush"),CircleBrush:e("CircleBrush"),DiamondBrush:e("DiamondBrush"),VLineBrush:e("VLineBrush"),HLineBrush:e("HLineBrush"),SquareBrush:e("SquareBrush"),Square:e("Square"),square:e("square")}}}n.d(e,{g:()=>i})},69029:t=>{t.exports='<style em="styles">\n @media only screen and (max-device-width:660px),only screen and (max-width:660px) {\n .em-mob-width-100perc {\n width: 100%!important;\n max-width: 100%!important;\n }\n\n .em-mob-wrap {\n display: block!important;\n }\n\n .em-mob-padding_right-20 {\n padding-right: 20px!important;\n }\n \n .em-mob-padding_left-20 {\n padding-left: 20px!important;\n }\n }\n</style>\n<tr em="block" class="em-structure">\n <td align="center" style="padding: 30px 40px;" class="em-mob-padding_left-20 em-mob-padding_right-20">\n <table border="0" cellspacing="0" cellpadding="0" class="em-mob-width-100perc">\n <tr>\n <td width="580" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n </tr>\n </table>\n </td>\n</tr>'},41579:t=>{t.exports='<style em="styles">\n @media only screen and (max-device-width:660px),only screen and (max-width:660px) {\n .em-mob-width-100perc {\n width: 100%!important;\n max-width: 100%!important;\n }\n\n .em-mob-wrap {\n display: block!important;\n }\n\n .em-mob-padding_right-20 {\n padding-right: 20px!important;\n }\n \n .em-mob-padding_left-20 {\n padding-left: 20px!important;\n }\n\n .em-mob-height-20px {\n height: 20px!important;\n }\n }\n</style>\n<tr em="block" class="em-structure">\n <td align="center" style="padding: 30px 40px;" class="em-mob-padding_left-20 em-mob-padding_right-20">\n <table border="0" cellspacing="0" cellpadding="0" class="em-mob-width-100perc">\n <tr>\n <td width="180" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n <td width="20" class="em-mob-wrap em-mob-height-20px"></td>\n <td width="380" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n </tr>\n </table>\n </td>\n</tr>'},8456:t=>{t.exports='<style em="styles">\n @media only screen and (max-device-width:660px),only screen and (max-width:660px) {\n .em-mob-width-100perc {\n width: 100%!important;\n max-width: 100%!important;\n }\n\n .em-mob-wrap {\n display: block!important;\n }\n\n .em-mob-padding_right-20 {\n padding-right: 20px!important;\n }\n \n .em-mob-padding_left-20 {\n padding-left: 20px!important;\n }\n\n .em-mob-height-20px {\n height: 20px!important;\n }\n }\n</style>\n<tr em="block" class="em-structure">\n <td align="center" style="padding: 30px 40px;" class="em-mob-padding_left-20 em-mob-padding_right-20">\n <table border="0" cellspacing="0" cellpadding="0" class="em-mob-width-100perc">\n <tr>\n <td width="280" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n <td width="20" class="em-mob-wrap em-mob-height-20px"></td>\n <td width="280" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n </tr>\n </table>\n </td>\n</tr>'},70869:t=>{t.exports='<style em="styles">\n @media only screen and (max-device-width:660px),only screen and (max-width:660px) {\n .em-mob-width-100perc {\n width: 100%!important;\n max-width: 100%!important;\n }\n\n .em-mob-wrap {\n display: block!important;\n }\n\n .em-mob-padding_right-20 {\n padding-right: 20px!important;\n }\n \n .em-mob-padding_left-20 {\n padding-left: 20px!important;\n }\n\n .em-mob-height-20px {\n height: 20px!important;\n }\n }\n</style>\n<tr em="block" class="em-structure">\n <td align="center" dir="rtl" style="padding: 30px 40px;" class="em-mob-padding_left-20 em-mob-padding_right-20">\n <table border="0" cellspacing="0" cellpadding="0" class="em-mob-width-100perc">\n <tr>\n <td width="180" dir="ltr" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n <td width="20" class="em-mob-wrap em-mob-height-20px"></td>\n <td width="380" dir="ltr" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n </tr>\n </table>\n </td>\n</tr>'},20931:t=>{t.exports='<style em="styles">\n @media only screen and (max-device-width:660px),only screen and (max-width:660px) {\n .em-mob-width-100perc {\n width: 100%!important;\n max-width: 100%!important;\n }\n\n .em-mob-wrap {\n display: block!important;\n }\n\n .em-mob-padding_right-20 {\n padding-right: 20px!important;\n }\n \n .em-mob-padding_left-20 {\n padding-left: 20px!important;\n }\n\n .em-mob-height-20px {\n height: 20px!important;\n }\n }\n</style>\n<tr em="block" class="em-structure">\n <td align="center" style="padding: 30px 40px;" class="em-mob-padding_left-20 em-mob-padding_right-20">\n <table border="0" cellspacing="0" cellpadding="0" class="em-mob-width-100perc">\n <tr>\n <td width="180" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n <td width="20" class="em-mob-wrap em-mob-height-20px"></td>\n <td width="180" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n <td width="20" class="em-mob-wrap em-mob-height-20px"></td>\n <td width="180" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n </tr>\n </table>\n </td>\n</tr>'},24186:t=>{t.exports='<style em="styles">\n @media only screen and (max-device-width:660px),only screen and (max-width:660px) {\n .em-mob-width-100perc {\n width: 100%!important;\n max-width: 100%!important;\n }\n\n .em-mob-wrap {\n display: block!important;\n }\n\n .em-mob-padding_right-20 {\n padding-right: 20px!important;\n }\n \n .em-mob-padding_left-20 {\n padding-left: 20px!important;\n }\n\n .em-mob-height-20px {\n height: 20px!important;\n }\n }\n</style>\n<tr em="block" class="em-structure">\n <td align="center" style="padding: 30px 40px;" class="em-mob-padding_left-20 em-mob-padding_right-20">\n <table border="0" cellspacing="0" cellpadding="0" class="em-mob-width-100perc">\n <tr>\n <td width="130" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n <td width="20" class="em-mob-wrap em-mob-height-20px"></td>\n <td width="130" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n <td width="20" class="em-mob-wrap em-mob-height-20px"></td>\n <td width="130" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n <td width="20" class="em-mob-wrap em-mob-height-20px"></td>\n <td width="130" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>\n </tr>\n </table>\n </td>\n</tr>'},68694:t=>{t.exports='\n<style>\n\t@media only screen and (max-device-width: 660px), only screen and (max-width: 660px) {\n\t\t.em-mob-width-100perc {\n\t\t\twidth: 100% !important;\n\t\t\tmax-width: 100% !important;\n\t\t}\n\n\t\t.em-mob-width-91perc {\n\t\t\twidth: 91% !important;\n\t\t\tmax-width: 91% !important;\n\t\t}\n\t}\n</style>\n<tr em="block" class="em-structure">\n\t<td align="center">\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>\n\t\t<![endif]--\x3e\n\t\t<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0" style="max-width: 660px;">\n\t\t\t<tr>\n\t\t\t\t<td align="center" valign="top">\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30"></td></tr></table>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t<table border="0" cellspacing="0" cellpadding="0">\n\t\t\t\t\t<tr><td width="660" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 100%; max-width: 660px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="602" border="0" cellspacing="0" cellpadding="0" style="width: 91%; max-width: 602px;" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t</td></tr>\n\t\t\t\t\t</table><![endif]--\x3e\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="10"></td></tr></table>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t</td></tr></table>\n\t\t<![endif]--\x3e\n\t</td>\n</tr>\n\n'},38610:t=>{t.exports='\n<style>\n\t@media only screen and (max-device-width: 660px), only screen and (max-width: 660px) {\n\t\t.em-mob-width-100perc {\n\t\t\twidth: 100% !important;\n\t\t\tmax-width: 100% !important;\n\t\t}\n\n\t\t.em-mob-width-91perc {\n\t\t\twidth: 91% !important;\n\t\t\tmax-width: 91% !important;\n\t\t}\n\t}\n</style>\n<tr em="block" class="em-structure">\n\t<td align="center">\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>\n\t\t<![endif]--\x3e\n\t\t<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0" style="max-width: 660px;">\n\t\t\t<tr>\n\t\t\t\t<td align="center" valign="top">\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30"></td></tr></table>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t<table border="0" cellspacing="0" cellpadding="0">\n\t\t\t\t\t<tr><td width="207" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 207px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="187" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]></td><td width="413" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 413px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="393" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t</td></tr>\n\t\t\t\t\t</table><![endif]--\x3e\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="10"></td></tr></table>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t</td></tr></table>\n\t\t<![endif]--\x3e\n\t</td>\n</tr>\n\n'},41705:t=>{t.exports='\n<style>\n\t@media only screen and (max-device-width: 660px), only screen and (max-width: 660px) {\n\t\t.em-mob-width-100perc {\n\t\t\twidth: 100% !important;\n\t\t\tmax-width: 100% !important;\n\t\t}\n\n\t\t.em-mob-width-91perc {\n\t\t\twidth: 91% !important;\n\t\t\tmax-width: 91% !important;\n\t\t}\n\t}\n</style>\n<tr em="block" class="em-structure">\n\t<td align="center">\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>\n\t\t<![endif]--\x3e\n\t\t<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0" style="max-width: 660px;">\n\t\t\t<tr>\n\t\t\t\t<td align="center" valign="top">\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30"></td></tr></table>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t<table border="0" cellspacing="0" cellpadding="0">\n\t\t\t\t\t<tr><td width="311" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 311px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="291" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]></td><td width="311" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 311px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="291" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t</td></tr>\n\t\t\t\t\t</table><![endif]--\x3e\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="10"></td></tr></table>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t</td></tr></table>\n\t\t<![endif]--\x3e\n\t</td>\n</tr>\n\n'},73248:t=>{t.exports='\n<style>\n\t@media only screen and (max-device-width: 660px), only screen and (max-width: 660px) {\n\t\t.em-mob-width-100perc {\n\t\t\twidth: 100% !important;\n\t\t\tmax-width: 100% !important;\n\t\t}\n\n\t\t.em-mob-width-91perc {\n\t\t\twidth: 91% !important;\n\t\t\tmax-width: 91% !important;\n\t\t}\n\t}\n</style>\n<tr em="block" class="em-structure">\n\t<td align="center">\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>\n\t\t<![endif]--\x3e\n\t\t<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0" style="max-width: 660px;">\n\t\t\t<tr>\n\t\t\t\t<td align="center" valign="top">\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30"></td></tr></table>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t<table border="0" cellspacing="0" cellpadding="0">\n\t\t\t\t\t<tr><td width="413" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 413px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="393" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]></td><td width="207" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 207px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="187" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t</td></tr>\n\t\t\t\t\t</table><![endif]--\x3e\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="10"></td></tr></table>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t</td></tr></table>\n\t\t<![endif]--\x3e\n\t</td>\n</tr>\n\n'},96588:t=>{t.exports='\n<style>\n\t@media only screen and (max-device-width: 660px), only screen and (max-width: 660px) {\n\t\t.em-mob-width-100perc {\n\t\t\twidth: 100% !important;\n\t\t\tmax-width: 100% !important;\n\t\t}\n\n\t\t.em-mob-width-91perc {\n\t\t\twidth: 91% !important;\n\t\t\tmax-width: 91% !important;\n\t\t}\n\t}\n</style>\n<tr em="block" class="em-structure">\n\t<td align="center">\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>\n\t\t<![endif]--\x3e\n\t\t<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0" style="max-width: 660px;">\n\t\t\t<tr>\n\t\t\t\t<td align="center" valign="top">\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30"></td></tr></table>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t<table border="0" cellspacing="0" cellpadding="0">\n\t\t\t\t\t<tr><td width="207" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 207px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="187" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]></td><td width="207" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 207px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="187" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]></td><td width="207" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 207px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="187" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t</td></tr>\n\t\t\t\t\t</table><![endif]--\x3e\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="10"></td></tr></table>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t</td></tr></table>\n\t\t<![endif]--\x3e\n\t</td>\n</tr>\n\n'},97433:t=>{t.exports='\n<style>\n\t@media only screen and (max-device-width: 660px), only screen and (max-width: 660px) {\n\t\t.em-mob-width-100perc {\n\t\t\twidth: 100% !important;\n\t\t\tmax-width: 100% !important;\n\t\t}\n\n\t\t.em-mob-width-91perc {\n\t\t\twidth: 91% !important;\n\t\t\tmax-width: 91% !important;\n\t\t}\n\t}\n</style>\n<tr em="block" class="em-structure">\n\t<td align="center">\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>\n\t\t<![endif]--\x3e\n\t\t<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0" style="max-width: 660px;">\n\t\t\t<tr>\n\t\t\t\t<td align="center" valign="top">\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="30"></td></tr></table>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t<table border="0" cellspacing="0" cellpadding="0">\n\t\t\t\t\t<tr><td width="310" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 310px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="290" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t\t<td width="20">&nbsp;</td>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]></td><td width="310" valign="top" align="center"><![endif]--\x3e\n\t\t\t\t\t<div style="display: inline-block; width: 310px; vertical-align: top;" class="em-mob-width-100perc">\n\t\t\t\t\t\t<table width="290" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t\t<td width="20">&nbsp;</td>\n\t\t\t\t\t\t\t\t<td align="left"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>\n\t\t\t\t\t</div>\n\t\t\t\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t\t\t\t</td></tr>\n\t\t\t\t\t</table><![endif]--\x3e\n\t\t\t\t\t<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="10"></td></tr></table>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t\x3c!--[if (gte mso 9)|(IE)]>\n\t\t</td></tr></table>\n\t\t<![endif]--\x3e\n\t</td>\n</tr>\n\n'},19378:(t,e,n)=>{"use strict";function i(t){return t}n.d(e,{Qm:()=>i,bg:()=>r});const a="INIT_MESSAGE";function d(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}class l{constructor(){this._children=[],this._isDisposed=!1}isDisposed(){return this._isDisposed}addDisposable(t){return this._children.push(t),t.hasOwnProperty("addDisposable")&&t.addDisposable({dispose:()=>{const e=this._children.indexOf(t);e>=0&&this._children.splice(e,1)}}),t}removeDisposable(t){const e=this._children.indexOf(t);e>=0&&this._children.splice(e,1)}dispose(){this._isDisposed=!0;for(const t of this._children)t.dispose()}}class s extends l{constructor(...t){super(...t),this._listeners=Object.create(null),this.addListenerAsync=(t,e,n=0,i)=>{const a=this._listeners[t]||(this._listeners[t]=[]);i&&"function"===typeof e&&(e=e.bind(i));const d=a.findIndex((([t,e])=>n<=e)),l=[e,n];return this.isDisposed()||a.splice(d>=0?d:a.length,0,l),{dispose(){const t=a.indexOf(l);t>=0&&a.splice(t,1)}}},this.fireAsync=(t,e)=>{if(!this.isDisposed()){const n=this._listeners[t]||(this._listeners[t]=[]);let i;for(let t=0;t<n.length;t++){let e=n[t][0],a=i;i=t=>e(t,a)}if(i)return i(e)}},this.addListener=(t,e,n=0)=>this.addListenerAsync(t,((t,n)=>{try{e(t)}catch(i){console.log(i)}return n&&n(t)}),n)}}class r extends l{constructor(t,e){super(),this._singleton=e,this._target=void 0,this._guid=d(),this._targetGuid="",this._emitter=this.addDisposable(new s),this._onReceiveMessage=t=>{const e=t.data;if(n=e,i=this._guid,n&&"object"===typeof n&&n.guid===i||this._singleton&&function(t,e){return t&&"object"===typeof t&&t.operationId===e}(e,a)){const n=this._emitter.fireAsync(e.operationId||"",void 0===e.operationId?t:e.data),i=e.result,a=e.error;i&&a&&Promise.resolve(n).then((t=>this._sendMessage(i,t)),(t=>this._sendMessage(a,t)))}var n,i},window.addEventListener("message",this._onReceiveMessage),this.addListener(a,(t=>{this._targetGuid!==t&&(this._targetGuid=t,this.send(a,this._guid))})),t&&this.setTarget(t)}setTarget(t){this._target!==t&&(this._target=t,this._targetGuid="",t&&t.postMessage({operationId:a,data:this._guid},"*"))}getTarget(){return this._target}get target(){return this._target}_sendMessage(t,e,n=!0){if(!n&&!this.isInited())return;const i=this.addDisposable(this.onInit(((n,a)=>{const d=t?{operationId:t,data:e}:e;n.postMessage({...d,guid:a},"*"),i.dispose()})))}send(t,e,n){return"string"===typeof t?this._sendMessage(t,e,n):this._sendMessage("",t,e)}sendAsync(t,e,n=!0){if(!n&&!this.isInited())return Promise.resolve();const i=d(),a=d();return new Promise(((n,d)=>{const s=this.addDisposable(new l);s.addDisposable(this.onInit(((l,r)=>{l.postMessage({operationId:t,data:e,guid:r,result:i,error:a},"*"),s.addDisposable(this._onMessage(i,(t=>{n(t),s.dispose()}))),s.addDisposable(this._onMessage(a,(t=>{d(t),s.dispose()})))})))}))}_onMessage(t,e,n=0){return this._emitter.addListener(t,e,n)}addListener(t,e,n){return e?this._onMessage(t,e,n):this._onMessage("",t)}addListenerAsyncPipe(t,e,n=0){return this._emitter.addListenerAsync(t,e,n)}addListenerAsync(t,e,n=0){return this._emitter.addListenerAsync(t,(async(t,n)=>{const i=await e(t);return n?n(t):i}),n)}isInited(){return!!this._targetGuid}get inited(){return!!this._targetGuid}onInit(t,e=!0,n=0){const i=this.addDisposable(new l);return this._targetGuid&&this._target?e&&Promise.resolve().then((()=>{this._targetGuid&&this._target?t(this._target,this._targetGuid):i.addDisposable(this.onInit(t,e,n))})):i.addDisposable(this._onMessage(a,(()=>{t(this._target,this._targetGuid)}),n)),i}dispose(){window.removeEventListener("message",this._onReceiveMessage),super.dispose()}}},93718:(t,e,n)=>{var i={"./en_US.ts":[90944,2466],"./ru_RU.ts":[3099,6859]};function a(t){if(!n.o(i,t))return Promise.resolve().then((()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=i[t],a=e[0];return n.e(e[1]).then((()=>n(a)))}a.keys=()=>Object.keys(i),a.id=93718,t.exports=a},42811:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAkCAYAAAB/up84AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABSBJREFUeNrsWjFv2zoQVoMW8BZ18xaN3qLRW9QtW9OtW92to98vaPoP3K1b1S1b3c2jvWlUNm3lw1s8Mpu3PAo4Iocr70jKlp0COuCQlpKPx/t43x1pv3h8fEwGeT5yNoTgeclLZvza6NgxXoNaGRktjE6MpjC2NVqh92bwt4HxBI1ro0s0dgN2tvD5a8a/9vkq0M+xYKdG81A7Gp6pyBjZddrnO6N36Hkbqyn8u4L3vYC0hjLHeAbPVhC4TwAK/ewNvLsEhyxgFXLK2l/D4tvnOVrUiPEh1k/JjvLYyWENdeTcKazBBr6AdY4AqBTmbkIzhO4gvMumYLxAYKzgPTvhBBajYNwCksHYhOyYiow1KONaKYlfO8bPEWyGEfi5Iu+Vjizg7EzB3xvwWTMxWkHG4mDnMF6BnSnYncLzHWGG4BqiwZkKQMC7I0cOVTCJhvRUKNgNCmCOxhNmrBEWzwGi0Y6rIihbsnOH/JgE2hshKrLZv4Px9yhj1twafRlid/UIGWvlFdlVLirIkIM12nETGLeO2tTPECBUZuT/a7JBMpSxUybYLjulUCN2iEpHQoyuGWZJUCa8R/VGSZvGB0iOdjAO9n8EtC2zUxICSIoW0ICTmA53DCDKQzWZg89XAXZ2B2iMavBnjDKpBX6B1tnAM5aqQgGhnU2D6GmHuqw7AkaOPmP/bsHpFC1kTLqVhglS6fFNgX1MCXUHO1zR1h5AFOoSc1jjmKx/An/1PoBQasBSoZZ3hpyaOrg0IW2sRkG8JsU8CaCaLckAhfi6AG0cmeuzkyMQMtL+SiySkY3oA/EgGeICK0UOZYQKVsQpDAjm2BpsaAGQLMKnMdok3yLtpKS70yT7OUBcm7UTHb5grk5y1Csrj40MqUbUpgW7NXo+RunckODkQvdXM37iwm7b1VA7lAaVB4jUUZOUIzNxfOougAwy3GUN0qWG2IJJ09V2NcvIFE8c54nQelEHFM6C6chUhI+WZjjffDQkrenPhqmlrAC9Naof/aLhXZeNNfMZOk+MtPOVRjNmTpfcCut0+biGZ3PBj1ywWTOfqV3v+yjLFuDPRs8Ddu05vLtmsuHQ0s73wehvR0t7aGkPevfCM5fcGr0MbOW9NSSFwF52cP5KcLIv+X4EUGbCemcOqpoz73/haE4CZNkRjAR20vwENXHRc2bWEMyQuUuGVe4hc6K6rBmg7pKN0XdGX7dts9E3Rr8afUATFl1PqgLAG6T3AoX1nSVtMP9l5r5FVyiu+D14/YssRHOheGVQYNMeinrhsMcV2WVPRR1rIRT4QmiA5r4G6oxp0y6ZzFh4LvhmB84MHz1xta9vWQMrcFR/3iF+7DmEu2YoyTshRbuMvGE9hnwGPQR1tdR04aCueKrqAIgiu/AqcCf1JXPhfuoYosGHn4Hgqa6AnCK4IfSkCa1eCJRxLGnn+mX0rfDOJok4AsQAUpwQlND2++HIgNiOVO1LVRIgtXDPs0bpunEU08vktHLMpoJS1/d9qEo6h6gAzq7RRaPV+QmBeICzUUh2fIHzk0s3HedXwkEy2ReQmjn4XDzDjqkN4D/J04/y/np5KbSrrtbwAyx+kTxdf9tfpvSZIW9O3FScHJAF8PEFc5F2lQzSi5wJheoG3U/t0xYOcgBAcOHuAkr7mY9ditoAiCz2q8uvEcD8gJpSDuGNl5hfnaTJ0/fpheMUr4CitHCO6fqdesj359xh1tWiqggfdUCmcz9ZivZ7+BnQM5P/BRgABx8sJWqTxoYAAAAASUVORK5CYII="},59142:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_01_blocks.5538cfdb.png"},50195:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_02_blocks.837fc2c9.png"},27544:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_03_blocks.126601f7.png"},59045:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_04_blocks.255c5c07.png"},97970:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_05_blocks.431b6844.png"},84093:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_01.33327158.png"},42854:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_02.d99d2aa6.png"},81871:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_03.5545ffad.png"},39024:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_04.398a4ca5.png"},35929:(t,e,n)=>{"use strict";t.exports=n.p+"static/media/sign_up_05.4c58df1b.png"}}]);
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[9649],{7760:(e,a,l)=>{l.d(a,{A9:()=>p,Ay:()=>w,DL:()=>b,Dz:()=>c,Fv:()=>v,JV:()=>k,Up:()=>y,b9:()=>M,eX:()=>m,gm:()=>B,iy:()=>S,nJ:()=>h,om:()=>u,qX:()=>T,rc:()=>g,vs:()=>r});var t=l(90536),i=l(31770),o=l(55701);const d=(0,i.ur)({invalidateBlockId:null,isCodeMode:!1,codeModeDirection:"right",editorThemeColor:"light",isSettingsDisabled:!1,settings:{width:""},elementSettings:{},searchFilters:{},block:{id:void 0,isNew:!1,subject:"",description:"",html:"",project:void 0,project_title:"",project_author:void 0,tags:[],type:"Other",title:null,isAmp:!1},monacoDidMount:!1}),n="blockSlice",s=(0,t.createSlice)({name:n,initialState:d,reducers:{switchCodeMode:e=>{e.isCodeMode=!e.isCodeMode},setEditorThemeColor:(e,a)=>{e.editorThemeColor=a.payload},setBlockSettings:(e,a)=>{Object.assign(e,{...e,settings:a.payload,isSettingsDisabled:!1})},setBlockSettingsDisable:(e,a)=>{e.isSettingsDisabled=a.payload},setElementSettings:(e,a)=>{e.elementSettings=a.payload},setSearchFilters:(e,a)=>{e.searchFilters=a.payload},setBlockHtml:(e,a)=>{e.block.html=a.payload},resetBlockSlice:()=>d,setBlockIsAmp:(e,a)=>{e.block.isAmp=a.payload}},extraReducers:e=>{e.addMatcher((e=>"blocksApi/queries/queryResultPatched"===e.type),((e,a)=>{var l,t;const i=a.payload.queryCacheKey.match(/\(([0-9]+)\)/),o=null===(l=a.payload)||void 0===l?void 0:l.patches[0];if(null!==o&&void 0!==o&&null!==(t=o.path)&&void 0!==t&&t[0]&&(e.block[null===o||void 0===o?void 0:o.path[0]]=o.value),null!==i&&void 0!==i&&i[1]&&(e.invalidateBlockId=i[1]),a.payload.queryCacheKey.startsWith("getBlock")){var d,n;const l=null===(d=a.payload)||void 0===d?void 0:d.patches[0];null!==l&&void 0!==l&&null!==(n=l.path)&&void 0!==n&&n[0]&&(e.block[null===l||void 0===l?void 0:l.path[0]]=l.value)}})),e.addMatcher((e=>"blocksApi/invalidateTags"===e.type),((e,a)=>{if(a.payload[0].id===+e.invalidateBlockId)return{...d,isCodeMode:null===e||void 0===e?void 0:e.isCodeMode,codeModeDirection:e.codeModeDirection}})),e.addMatcher(o.VM.endpoints.editBlock.matchFulfilled,((e,{payload:a})=>{e.invalidateBlockId=null,e.block={...e.block,...a,renderGuid:e.block.renderGuid}})),e.addMatcher(o.VM.endpoints.autoSaveBlock.matchFulfilled,((e,a)=>{var l,t;(null===e||void 0===e||null===(l=e.block.id)||void 0===l?void 0:l.toString())===(null===(t=a.payload.id)||void 0===t?void 0:t.toString())&&(e.block.html=a.payload.html)})),e.addMatcher(o.VM.endpoints.getBlock.matchFulfilled,((e,{payload:a})=>{e.block={...d.block,...a}}))}}),{switchCodeMode:r,setEditorThemeColor:m,setBlockSettings:c,setElementSettings:p,setBlockSettingsDisable:g,setSearchFilters:u,setBlockHtml:b,resetBlockSlice:h,setBlockIsAmp:E}=s.actions,v=e=>e[n].isCodeMode,y=e=>e[n].editorThemeColor,k=e=>e[n].settings,T=e=>e[n].elementSettings,S=e=>e[n].isSettingsDisabled,M=e=>e[n].searchFilters,B=e=>e[n].block,w=s},34524:(e,a,l)=>{l.d(a,{Ay:()=>k,D2:()=>u,FC:()=>c,LZ:()=>b,NK:()=>p,NP:()=>h,dV:()=>y,qM:()=>E,ux:()=>v,wK:()=>g});var t=l(90536),i=l(55701),o=l(49211),d=l(85163);const n=(0,l(31770).ur)({blocksTotal:null,blocksTotalPages:null,parentEmailBlocksTotal:null,parentEmailBlocksTotalPages:null,templateBlocks:[],templateBlocksTotal:null,templateBlocksTotalPages:null,elementsView:!d.EW.isPlugin&&o.A.get(d.A9.em_elements_view)||d.Y$,elementsList:[],customFolders:{},blocksTrashTotal:0,elementsTrashList:[]}),s="blocksPageSlice",r=(0,t.createSlice)({name:s,initialState:n,reducers:{resetPagesAndTotal:()=>n,resetElementsList:e=>{e.elementsList=[]},toggleElementsView:(e,a)=>{e.elementsView=a.payload},removeBlockFromList:(e,{payload:a})=>{var l;let t=e.customFolders;a.folder!==d.y2&&null!==(l=t[a.folder])&&void 0!==l&&l.list&&(t[a.folder]={...t[a.folder],list:t[a.folder].list.filter((e=>e.id!==a.emailId)),total:t[a.folder].total-1},e.customFolders=t)}},extraReducers:e=>{e.addMatcher(i.VM.endpoints.getBlocks.matchFulfilled,((e,{meta:a,payload:l})=>{var t,i,o,d,n,s,r,m;const c=null===(t=a.baseQueryMeta)||void 0===t?void 0:t.response.headers.get("X-WP-Total"),p="trash"===(null===(i=a.arg.originalArgs)||void 0===i?void 0:i.status),g=!(null===(o=a.arg.originalArgs)||void 0===o||null===(d=o.name)||void 0===d||!d.length),u=null===(n=a.arg.originalArgs)||void 0===n?void 0:n.page,b=(null===(s=a.arg.originalArgs)||void 0===s?void 0:s.folderTag)||(null===(r=a.arg.originalArgs)||void 0===r||null===(m=r.tags)||void 0===m?void 0:m[0]);p?(g||(e.blocksTrashTotal=c),e.elementsTrashList=l):b?e.customFolders={...e.customFolders,[b]:{list:l,page:u,total:c}}:(a.arg.originalArgs.tags||g||(e.blocksTotal=c),e.elementsList=l)})),e.addMatcher(i.VM.endpoints.getParentEmailBlocks.matchFulfilled,((e,{meta:a})=>{var l,t;const i=null===(l=a.baseQueryMeta)||void 0===l?void 0:l.response.headers.get("X-WP-Total"),o=null===(t=a.baseQueryMeta)||void 0===t?void 0:t.response.headers.get("X-WP-TotalPages");e.parentEmailBlocksTotal=i,e.parentEmailBlocksTotalPages=o})),e.addMatcher(i.VM.endpoints.getTemplateBlocks.matchFulfilled,((e,{meta:a,payload:l})=>{var t,i;const o=null===(t=a.baseQueryMeta)||void 0===t?void 0:t.response.headers.get("X-WP-Total"),d=null===(i=a.baseQueryMeta)||void 0===i?void 0:i.response.headers.get("X-WP-TotalPages");e.templateBlocks=l,e.templateBlocksTotal=o,e.templateBlocksTotalPages=d})),e.addMatcher(i.VM.endpoints.editBlock.matchFulfilled,((e,{payload:a})=>{e.elementsList.map((e=>{var l,t;return(null===(l=e.id)||void 0===l?void 0:l.toString())===(null===(t=a.id)||void 0===t?void 0:t.toString())?Object.assign(e,{lock:a.lock,title:a.title,blocktags:a.blocktags}):e}))}))}}),{resetPagesAndTotal:m,resetElementsList:c,toggleElementsView:p,removeBlockFromList:g}=r.actions,u=e=>e[s].blocksTotal,b=e=>e[s].templateBlocks,h=e=>e[s].customFolders,E=e=>e[s].elementsList,v=e=>e[s].elementsTrashList,y=e=>e[s].blocksTrashTotal,k=r},99751:(e,a,l)=>{l.d(a,{$:()=>i});const t={pro:{config:{mode:"pro",autosaveTimeout:1e4,theme:"",themes:{},mergeTags:void 0,styles:"",revisionService:!1,headerShow:!0,headerTitleVisible:!0,headerPreheaderVisible:!0,headerArrowBackVisible:!0,historyEnabled:!0,codeEnabled:!0,codeSideEnabled:!0,previewIconEnabled:!0,previewModeEnabled:!0,livePreviewEnabled:!0,sendTestEnabled:!0,sharePreviewEnabled:!0,webversionEnabled:!0,emailDropdownMenuEnabled:!0,emailDropdownMenuClone:!0,emailDropdownMenuImport:!0,emailDropdownMenuLock:!0,emailDropdownMenuRemove:!0,emailExportEnabled:!0,nextButtonEnabled:!1,nextButtonText:"",saveButtonEnabled:!0,saveButtonText:"",commandButtonsEnabled:!0,emailIdShow:!1,sidePanelFloating:!0,desktopMobileSwitchRule:!0,desktopMobileSwitchPanel:!1,onlyCodeModeInMobile:!1,pathEnabled:!0,copyPasteEnabled:!0,saveBlockEnabled:!0,editImageControlEnabled:!0,menuDirection:"right",defaultBuildPanel:"",commentsEnabled:!0,optimizeEnabled:!0,settingsEnabled:!0,UTMEnabled:!0,subjectEnabled:!0,preheaderEnabled:!0,descriptionEnabled:!0,tagsEnabled:!0,switchDesktopMobilePropsEnabled:!0,stepToOtherElementEnabled:!0,deleteButtonEnabled:!0,toggleSidePanel:!0,formFieldImageTitleEnabled:!0,formFieldBorderEnabled:!0,formFieldBorderRadiusEnabled:!0,formFieldBoxShadowEnabled:!0,formFieldVisibilityEnabled:!0,formFieldExportAsPictureEnabled:!0,emailPaneDesktopSize:0,formButtonFieldInsertImageEnabled:!0,formButtonFieldVerticalAlignEnabled:!0,formButtonFieldTextAlignEnabled:!0,formButtonFieldBackgroundImageEnabled:!0,formButtonFieldPaddingsEnabled:!0,formCellFieldVerticalAlignEnabled:!0,formCellFieldBackgroundImageEnabled:!0,formCellFieldPaddingsEnabled:!0,formLinkFieldInsertImageEnabled:!0,formTableFieldBackgroundImageEnabled:!0,formDivFieldBackgroundImageEnabled:!0,formEmailFieldBackgroundImageEnabled:!0,elementImageEnabled:!0,elementTextEnabled:!0,elementHeaderEnabled:!0,elementButtonEnabled:!0,elementListULEnabled:!0,elementListOLEnabled:!0,elementDividerEnabled:!0,elementSpacerEnabled:!0,elementSocialEnabled:!0,elementTableEnabled:!0,elementCountdownEnabled:!0,elementVideoEnabled:!0,elementAIimageEnabled:!0,elementAItextEnabled:!0,elementCarouselEnabled:!0,elementFormEnabled:!0,preventSendDataToEM:!1,imageInfoToolUrl:"",imageCenterStockEnabled:!0,imageCenterGifEnabled:!0,imageCenterEditorEnabled:!0,compressMaxSize:.7,compressMaxWidthOrHeight:2e3,ampExportEnabled:!0,formFieldAmpVisibilityEnabled:!0,testEmails:[]},project:void 0,page:{isNew:!0,type:"email",project:0,id:""}},editor:{config:{mode:"editor",autosaveTimeout:1e4,theme:"",themes:{},mergeTags:void 0,styles:"",headerShow:!0,headerTitleVisible:!0,headerPreheaderVisible:!0,headerArrowBackVisible:!0,historyEnabled:!0,codeEnabled:!0,codeSideEnabled:!0,previewIconEnabled:!0,previewModeEnabled:!0,livePreviewEnabled:!0,sendTestEnabled:!0,sharePreviewEnabled:!0,webversionEnabled:!0,emailDropdownMenuEnabled:!0,emailDropdownMenuClone:!0,emailDropdownMenuImport:!0,emailDropdownMenuLock:!0,emailDropdownMenuRemove:!0,emailExportEnabled:!0,nextButtonEnabled:!1,nextButtonText:"",saveButtonEnabled:!0,saveButtonText:"",commandButtonsEnabled:!0,emailIdShow:!1,sidePanelFloating:!0,desktopMobileSwitchRule:!0,desktopMobileSwitchPanel:!1,onlyCodeModeInMobile:!1,pathEnabled:!0,copyPasteEnabled:!0,saveBlockEnabled:!1,editImageControlEnabled:!0,menuDirection:"right",defaultBuildPanel:"",commentsEnabled:!0,optimizeEnabled:!0,settingsEnabled:!0,UTMEnabled:!0,subjectEnabled:!0,preheaderEnabled:!0,descriptionEnabled:!0,tagsEnabled:!0,switchDesktopMobilePropsEnabled:!0,stepToOtherElementEnabled:!0,deleteButtonEnabled:!0,toggleSidePanel:!0,formFieldImageTitleEnabled:!0,formFieldBorderEnabled:!1,formFieldBorderRadiusEnabled:!1,formFieldBoxShadowEnabled:!1,formFieldVisibilityEnabled:!1,formFieldExportAsPictureEnabled:!1,emailPaneDesktopSize:0,formButtonFieldInsertImageEnabled:!0,formButtonFieldVerticalAlignEnabled:!0,formButtonFieldTextAlignEnabled:!0,formButtonFieldBackgroundImageEnabled:!0,formButtonFieldPaddingsEnabled:!0,formCellFieldVerticalAlignEnabled:!0,formCellFieldBackgroundImageEnabled:!0,formCellFieldPaddingsEnabled:!1,formLinkFieldInsertImageEnabled:!0,formTableFieldBackgroundImageEnabled:!0,formDivFieldBackgroundImageEnabled:!0,formEmailFieldBackgroundImageEnabled:!0,elementImageEnabled:!0,elementTextEnabled:!0,elementHeaderEnabled:!0,elementButtonEnabled:!0,elementListULEnabled:!0,elementListOLEnabled:!0,elementDividerEnabled:!0,elementSpacerEnabled:!0,elementSocialEnabled:!0,elementTableEnabled:!0,elementCountdownEnabled:!0,elementVideoEnabled:!0,elementAIimageEnabled:!0,elementAItextEnabled:!0,elementCarouselEnabled:!0,elementFormEnabled:!0,preventSendDataToEM:!1,imageInfoToolUrl:"",imageCenterStockEnabled:!0,imageCenterGifEnabled:!0,imageCenterEditorEnabled:!0,compressMaxSize:.7,compressMaxWidthOrHeight:2e3,ampExportEnabled:!0,formFieldAmpVisibilityEnabled:!0,testEmails:[]},project:void 0,page:{isNew:!1,type:"email",project:0,id:""}},simple:{config:{mode:"simple",autosaveTimeout:1e4,theme:"",themes:{},mergeTags:void 0,styles:"",headerShow:!0,headerTitleVisible:!0,headerPreheaderVisible:!0,headerArrowBackVisible:!0,historyEnabled:!0,codeEnabled:!0,codeSideEnabled:!0,previewIconEnabled:!0,previewModeEnabled:!0,livePreviewEnabled:!0,sendTestEnabled:!0,sharePreviewEnabled:!0,emailDropdownMenuEnabled:!0,emailDropdownMenuClone:!0,emailDropdownMenuImport:!0,emailDropdownMenuLock:!0,emailDropdownMenuRemove:!0,emailExportEnabled:!0,nextButtonEnabled:!1,nextButtonText:"",saveButtonEnabled:!0,saveButtonText:"",commandButtonsEnabled:!0,emailIdShow:!1,sidePanelFloating:!0,desktopMobileSwitchRule:!0,desktopMobileSwitchPanel:!1,onlyCodeModeInMobile:!1,pathEnabled:!0,copyPasteEnabled:!0,saveBlockEnabled:!0,editImageControlEnabled:!0,menuDirection:"right",defaultBuildPanel:"",commentsEnabled:!0,optimizeEnabled:!0,settingsEnabled:!0,UTMEnabled:!1,subjectEnabled:!0,preheaderEnabled:!0,descriptionEnabled:!0,tagsEnabled:!0,switchDesktopMobilePropsEnabled:!0,stepToOtherElementEnabled:!0,deleteButtonEnabled:!0,toggleSidePanel:!0,formFieldImageTitleEnabled:!0,formFieldBorderEnabled:!1,formFieldBorderRadiusEnabled:!1,formFieldBoxShadowEnabled:!1,formFieldVisibilityEnabled:!1,formFieldExportAsPictureEnabled:!1,emailPaneDesktopSize:0,formButtonFieldInsertImageEnabled:!0,formButtonFieldVerticalAlignEnabled:!0,formButtonFieldTextAlignEnabled:!0,formButtonFieldBackgroundImageEnabled:!0,formButtonFieldPaddingsEnabled:!0,formCellFieldVerticalAlignEnabled:!0,formCellFieldBackgroundImageEnabled:!0,formCellFieldPaddingsEnabled:!0,formLinkFieldInsertImageEnabled:!0,formTableFieldBackgroundImageEnabled:!0,formDivFieldBackgroundImageEnabled:!0,formEmailFieldBackgroundImageEnabled:!0,elementImageEnabled:!0,elementTextEnabled:!0,elementHeaderEnabled:!0,elementButtonEnabled:!0,elementListULEnabled:!0,elementListOLEnabled:!0,elementDividerEnabled:!0,elementSpacerEnabled:!0,elementSocialEnabled:!0,elementTableEnabled:!0,elementCountdownEnabled:!1,elementVideoEnabled:!1,elementAIimageEnabled:!0,elementAItextEnabled:!1,elementCarouselEnabled:!1,elementFormEnabled:!1,preventSendDataToEM:!1,imageInfoToolUrl:"",imageCenterStockEnabled:!0,imageCenterGifEnabled:!0,imageCenterEditorEnabled:!0,compressMaxSize:.7,compressMaxWidthOrHeight:2e3,ampExportEnabled:!1,formFieldAmpVisibilityEnabled:!1,testEmails:[]},project:void 0,page:{isNew:!1,type:"email",project:0,id:""}}},i=e=>{const a=t[e];return a||t.editor}},53204:(e,a,l)=>{l.d(a,{Ay:()=>m,M:()=>r,YT:()=>s,rI:()=>n});var t=l(90536);const i=(0,l(31770).ur)({isCollapsed:!0,isMonacoFocusing:!1}),o="defaultModePanesSlice",d=(0,t.createSlice)({name:o,initialState:i,reducers:{setMonacoFocusing:(e,a)=>{e.isMonacoFocusing=a.payload},resetPanes:()=>i}}),{resetPanes:n,setMonacoFocusing:s}=d.actions,r=e=>e[o].isMonacoFocusing,m=d},65983:(e,a,l)=>{l.d(a,{A9:()=>c,AJ:()=>h,Ay:()=>_,Bj:()=>S,CT:()=>I,G_:()=>m,HO:()=>u,Hs:()=>P,M7:()=>p,Up:()=>w,VK:()=>v,VO:()=>T,VZ:()=>j,Wm:()=>k,eX:()=>r,iy:()=>C,no:()=>y,om:()=>g,pl:()=>b,ps:()=>M,qX:()=>f,rd:()=>A,ss:()=>E,uJ:()=>F,zn:()=>B});var t=l(90536),i=l(31770),o=l(17581);const d=(0,i.ur)({invalidateEmailId:null,editorThemeColor:"light",isSettingsDisabled:!1,settings:{backgroundColor:"",backgroundImage:[{type:"url",value:""}],backgroundPositionX:"",backgroundPositionY:"",backgroundRepeat:"",textStrong:!1,textItalic:!1,textUnderline:!1},elementSettings:{},searchFilters:{},emailCommonStyles:"",saveTime:null,mobileViewActive:{shutdown:!0,styles:!0},email:{id:void 0,is_inited:!1,isNew:!1,hasAmp:!1,subject:void 0,preheader:void 0,description:"",html:"",project:void 0,project_author:"",project_title:"",tags:[],utm_parameters:{utm_source:"",utm_medium:"",utm_campaign:"",utm_term:"",utm_content:""},parent_email:null,common_styles:"",title:null,emailtags:[],isAmp:!1},emailIsEdit:!1,isCodeMode:!1,codeModeDirection:void 0,emailViewType:void 0,changeKey:null,problemsList:[],activeProblemRange:null}),n="emailSlice",s=(0,t.createSlice)({name:n,initialState:d,reducers:{setEditorThemeColor:(e,a)=>{e.editorThemeColor=a.payload},setEmailFromHistory:(e,{payload:a})=>{const l=e.email,t=void 0===a.preheader,i=void 0===a.subject;e.email={...l,html:a.html,preheader:t?l.preheader:a.preheader,subject:i?l.subject:a.subject,common_styles:void 0===a.common_styles?l.common_styles:a.common_styles}},setEmailSettings:(e,{payload:a})=>{Object.assign(e,{...e,settings:{...a},isSettingsDisabled:!1})},setEmailSettingsDisable:(e,a)=>{e.isSettingsDisabled=a.payload},setElementSettings:(e,{payload:a})=>{e.elementSettings=a},setSearchFilters:(e,a)=>{e.searchFilters=a.payload},setEmailHTML:(e,a)=>{e.email.html=a.payload},setEmailSubject:(e,a)=>{e.email.title!==e.email.subject&&(e.email.subject||e.email.title)||(e.email.title=a.payload),e.email.subject=a.payload},setEmailPreheader:(e,a)=>{e.email.preheader=a.payload},resetEmailSlice:e=>d,setEmailTitle:(e,a)=>{e.email.title=a.payload},setIsInited:(e,a)=>{e.email.is_inited=a.payload},setEmailIsAmp:(e,a)=>{e.email.isAmp=a.payload},setProblemsList:(e,a)=>{e.problemsList=a.payload},setActiveProblemRange:(e,a)=>{e.activeProblemRange=a.payload}},extraReducers:e=>{e.addMatcher((e=>"emailsApi/queries/queryResultPatched"===e.type),((e,a)=>{var l,t;const i=a.payload.queryCacheKey.match(/\("([0-9]+)"\)/),o=null===(l=a.payload)||void 0===l?void 0:l.patches[0];null!==o&&void 0!==o&&null!==(t=o.path)&&void 0!==t&&t[0]&&(e.email[null===o||void 0===o?void 0:o.path[0]]=o.value),null!==i&&void 0!==i&&i[1]&&(e.invalidateEmailId=i[1]),e.emailIsEdit=!0})),e.addMatcher((e=>"emailsApi/invalidateTags"===e.type),((e,a)=>{if(a.payload[0].id===+e.invalidateEmailId)return d})),e.addMatcher(o.GY.endpoints.editEmail.matchFulfilled,((e,{payload:a})=>{e.invalidateEmailId=null,e.email={...e.email,...a,renderGuid:e.email.renderGuid}})),e.addMatcher(o.GY.endpoints.autoSaveEmail.matchFulfilled,((e,a)=>{var l,t;(null===(l=e.email.id)||void 0===l?void 0:l.toString())===(null===(t=a.payload.id)||void 0===t?void 0:t.toString())&&(e.email.html=a.payload.html)})),e.addMatcher(o.GY.endpoints.getEmail.matchFulfilled,((e,{payload:a})=>{var l,t;e.email={...d.email,...a,is_inited:a.is_inited||(a.id===(null===(l=e.email)||void 0===l?void 0:l.id)?null===(t=e.email)||void 0===t?void 0:t.is_inited:d.email.is_inited)},e.emailIsEdit=!1}))}}),{setEditorThemeColor:r,setEmailSettings:m,setElementSettings:c,setEmailSettingsDisable:p,setSearchFilters:g,setEmailSubject:u,setEmailPreheader:b,setEmailHTML:h,resetEmailSlice:E,setEmailTitle:v,setEmailFromHistory:y,setIsInited:k,setEmailIsAmp:T,setProblemsList:S,setActiveProblemRange:M}=s.actions,B=e=>e[n].invalidateEmailId,w=e=>e[n].editorThemeColor,F=e=>e[n].settings,f=e=>e[n].elementSettings,C=e=>e[n].isSettingsDisabled,I=e=>e[n].searchFilters,P=e=>e[n].email,A=e=>e[n].problemsList,j=e=>e[n].activeProblemRange,_=s},94925:(e,a,l)=>{l.d(a,{Ay:()=>y,FC:()=>p,MY:()=>u,NK:()=>c,NP:()=>v,X:()=>g,aO:()=>E,ff:()=>m,qM:()=>b,ux:()=>h});var t=l(90536),i=l(17581),o=l(49211),d=l(85163);const n=(0,l(31770).ur)({emailsTotal:0,elementsList:[],emailsTrashTotal:0,elementsTrashList:[],customFolders:{},elementsView:!d.EW.isPlugin&&o.A.get(d.A9.em_elements_view)||d.Y$}),s="emailsPageSlice",r=(0,t.createSlice)({name:s,initialState:n,reducers:{resetPagesAndTotal:()=>n,resetElementsList:e=>{e.elementsList=[]},toggleElementsView:(e,a)=>{e.elementsView=a.payload},removeEmailFromList:(e,{payload:a})=>{var l;let t=e.customFolders;a.folder!==d.y2&&null!==(l=t[a.folder])&&void 0!==l&&l.list&&(t[a.folder]={...t[a.folder],list:t[a.folder].list.filter((e=>e.id!==a.emailId)),total:t[a.folder].total-1},e.customFolders=t)}},extraReducers:e=>{e.addMatcher(i.GY.endpoints.getEmails.matchFulfilled,((e,{meta:a,payload:l})=>{var t,i,o,d,n,s,r,m;const c=+(null===(t=a.baseQueryMeta)||void 0===t?void 0:t.response.headers.get("X-WP-Total"))||0,p="trash"===(null===(i=a.arg.originalArgs)||void 0===i?void 0:i.status),g=!(null===(o=a.arg.originalArgs)||void 0===o||null===(d=o.name)||void 0===d||!d.length),u=null===(n=a.arg.originalArgs)||void 0===n?void 0:n.page,b=(null===(s=a.arg.originalArgs)||void 0===s?void 0:s.folderTag)||(null===(r=a.arg.originalArgs)||void 0===r||null===(m=r.tags)||void 0===m?void 0:m[0]);p?(g||(e.emailsTrashTotal=c),e.elementsTrashList=l):b?e.customFolders={...e.customFolders,[b]:{list:l,page:u,total:c}}:(a.arg.originalArgs.tags||g||(e.emailsTotal=c),e.elementsList=l)})),e.addMatcher(i.GY.endpoints.getTemplateEmails.matchFulfilled,((e,{meta:a,payload:l})=>{var t;const i=+(null===(t=a.baseQueryMeta)||void 0===t?void 0:t.response.headers.get("X-WP-Total"))||0;e.elementsList=l,e.emailsTotal=i})),e.addMatcher(i.GY.endpoints.editEmail.matchFulfilled,((e,{payload:a})=>{e.elementsList.map((e=>{var l,t;return(null===(l=e.id)||void 0===l?void 0:l.toString())===(null===(t=a.id)||void 0===t?void 0:t.toString())?Object.assign(e,{lock:a.lock,title:a.title,emailtags:a.emailtags}):e}))}))}}),{resetPagesAndTotal:m,toggleElementsView:c,resetElementsList:p,removeEmailFromList:g}=r.actions,u=e=>e[s].emailsTotal,b=e=>e[s].elementsList,h=e=>e[s].elementsTrashList,E=e=>e[s].emailsTrashTotal,v=e=>e[s].customFolders,y=r},77532:(e,a,l)=>{l.d(a,{Ac:()=>p,Ay:()=>g,BK:()=>m,e_:()=>r,js:()=>c,tm:()=>s});var t=l(90536),i=l(31770);const o="imageSlice",d=(0,i.ur)({currentImage:"",currentBackground:""}),n=(0,t.createSlice)({name:o,initialState:d,reducers:{setCurrentImage(e,a){e.currentImage=a.payload},setCurrentBackground(e,a){e.currentBackground=a.payload},clearCurrentImages(e,a){e.currentImage="",e.currentBackground=""}}}),{setCurrentImage:s,setCurrentBackground:r,clearCurrentImages:m}=n.actions,c=e=>e[o].currentImage,p=e=>e[o].currentBackground,g=n},87790:(e,a,l)=>{l.d(a,{AS:()=>g,Ay:()=>k,Bp:()=>c,Sl:()=>y,TB:()=>b,X8:()=>h,ah:()=>v,qT:()=>p});var t=l(90536),i=l(55701),o=l(84568),d=l(35880),n=l.n(d);const s=(0,l(31770).ur)({block:{isNew:!0,subject:"",description:"",html:'<table cellspacing="0" cellpadding="0" border="0" width="100%">'+n()+"</table>",project:void 0,project_title:"",tags:[],type:"Other",title:null},hasChanged:!1}),r="newBlockSlice",m=(0,t.createSlice)({name:r,initialState:s,reducers:{setNewBlockAll:(e,{payload:{subject:a="",description:l="",renderGuid:t,html:i='<table cellspacing="0" cellpadding="0" border="0" width="100%">'+n()+"</table>",tags:o=[],type:d="Other",title:s,isAmp:r=!1}})=>{e.hasChanged||(e.hasChanged=!0),e.block.title=s,e.block.subject=a,e.block.description=l,e.block.html=i,e.block.tags=o,e.block.type=d,e.block.renderGuid=t,e.block.isAmp=r},setNewBlockTitle:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.block.title=a.payload},setNewBlockDescription:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.block.description=a.payload},setNewBlockHtml:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.block.html=a.payload},setNewBlockTags:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.block.tags=a.payload},resetNewBlockSlice:e=>({...s,block:{...s.block,project:e.block.project,project_title:e.block.project_title}}),setBlockIsAmp:(e,a)=>{e.block.isAmp=a.payload}},extraReducers:e=>{e.addMatcher(o.Nq.endpoints.getProject.matchFulfilled,((e,a)=>{e.block.project=a.payload.id,e.block.project_title=a.payload.title})),e.addMatcher(i.VM.endpoints.getBlock.matchFulfilled,(e=>({...s,block:{...s.block,project:e.block.project,project_title:e.block.project_title}})))}}),{setNewBlockAll:c,setNewBlockTitle:p,setNewBlockDescription:g,setNewBlockHtml:u,setNewBlockTags:b,resetNewBlockSlice:h,setBlockIsAmp:E}=m.actions,v=e=>e[r].block,y=e=>e[r].hasChanged,k=m},8493:(e,a,l)=>{l.d(a,{$S:()=>_,Ay:()=>N,BQ:()=>h,Et:()=>I,K3:()=>B,MZ:()=>b,P3:()=>F,TC:()=>k,TU:()=>E,Uh:()=>P,YG:()=>j,Zs:()=>y,aY:()=>T,lg:()=>A,mk:()=>f,ol:()=>w,x3:()=>v,yY:()=>M,zH:()=>C});var t=l(90536),i=l(17581),o=l(84568),d=l(85163),n=l(573),s=l.n(n),r=l(31770),m=l(71210),c=l(32269);const p=(0,r.ur)({emailtags:[],email:{isNew:!0,is_inited:!1,subject:void 0,preheader:void 0,description:"",html:s(),project:void 0,project_title:"",tags:[],utm_parameters:{utm_source:"",utm_medium:"",utm_campaign:"",utm_term:"",utm_content:""},parent_email:null,common_styles:"{}",title:"",emailtags:[],isAmp:!1},hasChanged:!1}),g="newEmailSlice",u=(0,t.createSlice)({name:g,initialState:p,reducers:{setNewEmailAll:(e,{payload:{id:a,subject:l,description:t="",preheader:i,html:o=s(),utm_parameters:{utm_source:n="",utm_medium:r="",utm_campaign:m="",utm_term:p="",utm_content:g=""}={},common_styles:u={},emailtags:b=null,renderGuid:h,title:E,_embedded:v,isAmp:y=!1}})=>{var k;e.hasChanged||(e.hasChanged=!0),e.email.isAmp=y,e.email.title=E,e.emailtags=b,e.email.subject=l,e.email.description=t,e.email.common_styles=JSON.stringify(u),e.email.preheader=i,e.email.is_template=!1,e.email.html=o,e.email.tags=(null===(k=(0,c._q)({_embedded:v},d.zh))||void 0===k?void 0:k.map((e=>e.name)))||[],e.email.renderGuid=h,e.email.parent_email=a,e.email.utm_parameters={utm_source:n,utm_medium:r,utm_campaign:m,utm_term:p,utm_content:g},e.email.common_styles=JSON.stringify(d.BD)},setNewEmailTitle:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.title=a.payload},setNewEmailSubject:(e,a)=>{e.hasChanged||e.email.subject===a.payload||(e.hasChanged=!0),e.email.title!==e.email.subject&&(e.email.subject||e.email.title)||(e.email.title=a.payload),e.email.subject=a.payload},setNewEmailPreheader:(e,a)=>{e.hasChanged||e.email.preheader===a.payload||(e.hasChanged=!0),e.email.preheader=a.payload},setNewEmailDescription:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.description=a.payload},setNewEmailIsTemplate:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.is_template=a.payload},setNewEmailHtml:(e,a)=>{e.hasChanged||(e.hasChanged=!0),a.payload&&(e.email.html=a.payload)},setNewCommonStyles:(e,a)=>{e.hasChanged||(e.hasChanged=!0),a.payload&&(e.email.common_styles=a.payload)},setNewEmailTags:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.tags=a.payload},setNewEmailUtmSource:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.utm_parameters.utm_source=a.payload},setNewEmailUtmMedium:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.utm_parameters.utm_medium=a.payload},setNewEmailUtmCampaign:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.utm_parameters.utm_campaign=a.payload},setNewEmailUtmTerm:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.utm_parameters.utm_term=a.payload},setNewEmailUtmContent:(e,a)=>{e.hasChanged||(e.hasChanged=!0),e.email.utm_parameters.utm_content=a.payload},setNewIsInited:(e,a)=>{e.email.is_inited=a.payload},setNewEmailIsAmp:(e,a)=>{e.email.isAmp=a.payload},resetNewEmailSlice:e=>({...p,email:{...p.email,guid:(0,m.l)(),project:e.email.project,project_title:e.email.project_title}})},extraReducers:e=>{e.addMatcher(o.Nq.endpoints.getProject.matchFulfilled,((e,a)=>{e.email.project=a.payload.id,e.email.project_title=a.payload.title})),e.addMatcher(i.GY.endpoints.getEmail.matchFulfilled,(e=>({...p,email:{...p.email,project:e.email.project,project_title:e.email.project_title}})))}}),{setNewEmailAll:b,setNewEmailTitle:h,setNewEmailSubject:E,setNewEmailPreheader:v,setNewEmailDescription:y,setNewEmailIsTemplate:k,setNewEmailHtml:T,setNewCommonStyles:S,setNewEmailTags:M,setNewEmailUtmSource:B,setNewEmailUtmMedium:w,setNewEmailUtmCampaign:F,setNewEmailUtmContent:f,setNewEmailUtmTerm:C,resetNewEmailSlice:I,setNewIsInited:P,setNewEmailIsAmp:A}=u.actions,j=e=>e[g].email,_=e=>e[g].hasChanged,N=u},36404:(e,a,l)=>{l.d(a,{Ay:()=>c,od:()=>r,yN:()=>m});var t=l(90536),i=l(31770),o=l(84568);const d=(0,i.ur)({project:null}),n="projectSlice",s=(0,t.createSlice)({name:n,initialState:d,reducers:{setProject:(e,{payload:a})=>{e.project=a}},extraReducers:e=>{e.addMatcher(o.Nq.endpoints.getProject.matchFulfilled,((e,{payload:a})=>{e.project={...d.project,...a}})),e.addMatcher(o.Nq.endpoints.editProject.matchFulfilled,((e,{payload:a})=>{e.project={...d.project,...a}}))}}),{setProject:r}=s.actions,m=e=>e[n].project,c=s},64936:(e,a,l)=>{l.d(a,{Ay:()=>f,Cj:()=>k,Oo:()=>h,Os:()=>v,Wz:()=>E,YF:()=>b,cL:()=>T,gU:()=>F,o8:()=>B,qf:()=>u,sB:()=>y,sK:()=>S,uM:()=>w,vW:()=>M});var t=l(90536),i=l(31770),o=l(84568),d=l(93563),n=l(85163);const s=new URLSearchParams(window.location.search),r=s.get("tag"),m=s.get("folder"),c=(0,i.ur)({activeModal:"",secondModal:"",projectsTotal:"",projectsTotalPages:"",folders:[],activeTagId:r||null,activeFolderId:m||(r?null:n.y2),activeTab:null}),p="projectsPageSlice",g=(0,t.createSlice)({name:p,initialState:c,reducers:{openModal(e,a){e.activeModal=a.payload},setActiveTab(e,a){e.activeTab=a.payload},closeModal(e){e.activeModal=""},openSecondModal(e,a){e.secondModal=a.payload},closeSecondModal(e){e.secondModal=""},setFolders(e,{payload:a}){e.folders=a},setActiveTagId(e,{payload:a}){e.activeTagId=a}},extraReducers:e=>{e.addMatcher(o.Nq.endpoints.getProjects.matchFulfilled,((e,{meta:a})=>{var l,t;const i=null===(l=a.baseQueryMeta)||void 0===l?void 0:l.response.headers.get("X-WP-Total"),o=null===(t=a.baseQueryMeta)||void 0===t?void 0:t.response.headers.get("X-WP-TotalPages");e.projectsTotal=i,e.projectsTotalPages=o})),e.addMatcher(d.kE.endpoints.getFolders.matchFulfilled,((e,{payload:a})=>{e.folders=a}))}}),{openModal:u,setActiveTab:b,closeModal:h,openSecondModal:E,closeSecondModal:v,setFolders:y,setActiveTagId:k}=g.actions,T=e=>e[p].activeModal,S=e=>e[p].secondModal,M=e=>e[p].projectsTotal,B=e=>e[p].folders,w=e=>e[p].activeTagId,F=e=>e[p].activeTab,f=g},39738:(e,a,l)=>{l.d(a,{Ay:()=>g,RL:()=>p,p1:()=>c,qX:()=>r});var t=l(90536),i=l(17581),o=l(55701);const d=(0,l(31770).ur)({historyData:[],elementHistoryTotalPages:1}),n="revisionHistorySlice",s=(0,t.createSlice)({name:n,initialState:d,reducers:{resetElementHistorySlice:()=>({...d}),setElementHistory:(e,a)=>{0!==a.payload.length&&(e.historyData=a.payload)}},extraReducers:e=>{e.addMatcher(i.GY.endpoints.getEmailHistory.matchFulfilled,((e,{meta:a,payload:l})=>{var t;e.elementHistoryTotalPages=+(null===(t=a.baseQueryMeta)||void 0===t?void 0:t.response.headers.get("X-WP-TotalPages")),a.arg.originalArgs.page&&1!==a.arg.originalArgs.page||(e.historyData=l.data||[])})),e.addMatcher(o.VM.endpoints.getBlockHistory.matchFulfilled,((e,{meta:a,payload:l})=>{var t;e.elementHistoryTotalPages=+(null===(t=a.baseQueryMeta)||void 0===t?void 0:t.response.headers.get("X-WP-TotalPages")),l.args.page&&1!==l.args.page||(e.historyData=l.data||[])}))}}),{resetElementHistorySlice:r}=s.actions,{setElementHistory:m}=s.actions,c=e=>e[n].historyData,p=e=>e[n].elementHistoryTotalPages,g=s}}]);
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[9907],{79907:(e,o,i)=>{i.d(o,{A:()=>re});var t=i(92810),l=i(81662),d=i(95838),a=i(12280),r=i(66726),s=i(29234),n=i(2018),m=i(7744),b=i(71086),g=i(55039),u=i(43005),c=i(7228),h=i(9588),p=i(37517),x=i(73035),f=i(27071),v=i(9038),B=i(54316),A=i(4815),j=i(62767),S=i(11007),R=i(38883),P=i.n(R),_=i(45934),y=i(23287),w=i(47358),k=i(26238),N=i(21519),T=i(71495),E=i(49343),L=i(28381),I=i(68031),C=i(58341),F=i(24615),O=i(95955),V=i(35015),M=i(99983),D=i(18405),H=i(48513),W=i(40187),X=i(45509),z=i(34353),G=i(46929),Y=i(77416),U=i(13071),q=i(78541),J=i(62303),K=i(44997),Q=i(65655),Z=i(85163),$=i(45695),ee=i(56991),oe=(i(9589),i(70082));const{Option:ie}=l.A,te=(0,oe.jsxs)(l.A,{className:"select-after",getPopupContainer:e=>e.parentNode,children:[(0,oe.jsx)(ie,{value:"px",children:"px"}),(0,oe.jsx)(ie,{value:"%",children:"%"})]}),le={paddingTop:"top",paddingLeft:"left",paddingRight:"right",paddingBottom:"bottom",mobilePaddingTop:"top",mobilePaddingLeft:"left",mobilePaddingRight:"right",mobilePaddingBottom:"bottom"},de={mobileBorderRadiusAll:"all",mobileRadiusTopLeft:"topLeft",mobileRadiusBottomLeft:"bottomLeft",mobileRadiusTopRight:"topRight",mobileRadiusBottomRight:"bottomRight"},{useToken:ae}=d.A,re=({elementSettings:e})=>{var o;const{__:i}=(0,y.s9)(),d=(0,$.XW)(),[R]=a.A.useForm(),[ie,re]=(0,t.useState)({}),[se,ne]=(0,t.useState)({}),[me,be]=(0,t.useState)(!0),[ge,ue]=(0,t.useState)({}),[ce,he]=(0,t.useState)({}),[pe,xe]=(0,t.useState)(!0),fe=(0,_.d4)(w.Ct),ve=(0,_.d4)(w.CS),Be=(0,ee.rD)(),[Ae,je]=(0,t.useState)(""===(null===(o=e.backgroundImage)||void 0===o?void 0:o[0].value)),Se=(0,_.d4)(w.Fv),Re=(0,_.d4)(w.yy),Pe=Se&&"bottom"!==Re,{token:_e}=ae(),ye=(0,t.useRef)(null),we=(0,t.useRef)(null),[ke,Ne]=(0,t.useState)(!1),[Te,Ee]=(0,t.useState)(!1),[Le,Ie]=(0,t.useState)(!1),[Ce,Fe]=(0,t.useState)(!1),[Oe,Ve]=(0,t.useState)(!1),[Me,De]=(0,t.useState)(!1),[He,We]=(0,t.useState)(!1),[Xe,ze]=(0,t.useState)(!1),[Ge,Ye]=(0,t.useState)(!1),[Ue,qe]=(0,t.useState)(!1),[Je,Ke]=(0,t.useState)(!1),[Qe,Ze]=(0,t.useState)(!1),[$e,eo]=(0,t.useState)(!1),[oo,io]=(0,t.useState)(!1),[to,lo]=(0,t.useState)(""),[ao,ro]=(0,t.useState)("https://"),[so,no]=(0,t.useState)(),[mo,bo]=(0,t.useState)(!1),go=[{label:i("Not defined"),value:"none"},{label:i("Do not repeat background (no-repeat)"),value:"no-repeat"},{label:i("Repeat background (repeat)"),value:"repeat"},{label:i("Repeat background horizontally (repeat-x)"),value:"repeat-x"},{label:i("Repeat background vertically (repeat-y)"),value:"repeat-y"}];(0,t.useEffect)((()=>{if(e){var o,i,t,l,d,a,r,s,n,m,b,g,u,c,h,p,x,f,v,B,A,j,S,P,_,y,w,k,N,T,E,L,I,C,F,O,V,M,D,H,W,X,z,G,Y,U,q,J,K,Q,Z,$,ee,oe,ie,te,le,de,ae,se,me,ge,ce,pe,fe,ve,Be,Ae,Se,Re,Pe,_e,ye,we,ke,Te,Le,Ce,Oe,Me,He,Xe,Ge,Ue,Je,Qe,$e,oo,to,lo,ao,so,no,mo,bo,go,uo,co,ho,po,xo,fo,vo,Bo,Ao,jo,So,Ro,Po,_o;const yo=e.border||{},wo=e.boxShadow||{},ko=e.mobileBorder||{},No=e.mobileBoxShadow||{},To=e.mobileBorderRadius||{},Eo=e.mobilePadding||{},Lo=e.mobileBoxShadow||{},Io=e.mobileAlign||{},Co=e.mobileBackgroundImage||[];re(yo),ne(wo),ue(ko),he(No);const Fo=Object.keys(yo).find((e=>{var o,i,t;return(null===(o=yo[e])||void 0===o?void 0:o.width)||(null===(i=yo[e])||void 0===i?void 0:i.style)||(null===(t=yo[e])||void 0===t?void 0:t.color)})),Oo=Object.keys(ko).find((e=>{var o,i,t;return(null===(o=ko[e])||void 0===o?void 0:o.width)||(null===(i=ko[e])||void 0===i?void 0:i.style)||(null===(t=ko[e])||void 0===t?void 0:t.color)})),Vo=e=>e||(0===e?"0":""),Mo=e=>e&&"auto"!==e?e:0===e?"0":"";e.href&&("https://"===e.href.substring(0,8)||"http://"===e.href.substring(0,7)?ro("https://"):"mailto:"===e.href.substring(0,7)?ro("mailto:"):"tel:"===e.href.substring(0,4)?ro("tel:"):"sms:"===e.href.substring(0,4)?ro("sms:"):"ftp://"===e.href.substring(0,6)?ro("ftp://"):"skype:"===e.href.substring(0,6)?ro("skype:"):"viber:"===e.href.substring(0,6)?ro("viber:"):ro("")),R.setFieldsValue({...e,href:e.href?e.href:"https://",width:null===(o=e.width)||void 0===o?void 0:o.value,widthDim:null===(i=e.width)||void 0===i?void 0:i.dim,height:null===(t=e.height)||void 0===t?void 0:t.value,heightDim:null===(l=e.height)||void 0===l?void 0:l.dim,backgroundImage:null===(d=e.backgroundImage)||void 0===d?void 0:d[0].value,show:e.show?e.show:"all",borderPosition:Fo||"all",borderWidth:(null===(a=yo[Fo])||void 0===a?void 0:a.width)||"",borderColor:(null===(r=yo[Fo])||void 0===r?void 0:r.color)||"",borderStyle:(null===(s=yo[Fo])||void 0===s?void 0:s.style)||"",paddingTop:Vo(null===(n=e.padding)||void 0===n?void 0:n.all)||Vo(null===(m=e.padding)||void 0===m?void 0:m.top),paddingLeft:Vo(null===(b=e.padding)||void 0===b?void 0:b.all)||Vo(null===(g=e.padding)||void 0===g?void 0:g.left),paddingRight:Vo(null===(u=e.padding)||void 0===u?void 0:u.all)||Vo(null===(c=e.padding)||void 0===c?void 0:c.right),paddingBottom:Vo(null===(h=e.padding)||void 0===h?void 0:h.all)||Vo(null===(p=e.padding)||void 0===p?void 0:p.bottom),paddingLeftRight:Vo(null===(x=e.padding)||void 0===x?void 0:x.left)||Vo(null===(f=e.padding)||void 0===f?void 0:f.right),paddingTopBottom:Vo(null===(v=e.padding)||void 0===v?void 0:v.top)||Vo(null===(B=e.padding)||void 0===B?void 0:B.bottom),borderRadiusAll:Vo(null===(A=e.borderRadius)||void 0===A?void 0:A.all),borderRadiusTopLeft:Vo(null===(j=e.borderRadius)||void 0===j?void 0:j.topLeft),borderRadiusBottomLeft:Vo(null===(S=e.borderRadius)||void 0===S?void 0:S.bottomLeft),borderRadiusTopRight:Vo(null===(P=e.borderRadius)||void 0===P?void 0:P.topRight),borderRadiusBottomRight:Vo(null===(_=e.borderRadius)||void 0===_?void 0:_.bottomRight),boxShadowInset:Vo(null===(y=e.boxShadow)||void 0===y?void 0:y.inset)||!1,boxShadowHOffset:Vo(null===(w=e.boxShadow)||void 0===w?void 0:w.hOffset),boxShadowVOffset:Vo(null===(k=e.boxShadow)||void 0===k?void 0:k.vOffset),boxShadowBlurRadius:Vo(null===(N=e.boxShadow)||void 0===N?void 0:N.blurRadius),boxShadowSpreadRadius:Vo(null===(T=e.boxShadow)||void 0===T?void 0:T.spreadRadius),boxShadowColor:Vo(null===(E=e.boxShadow)||void 0===E?void 0:E.color),mobileWidth:Mo(null===(L=e.mobileWidth)||void 0===L?void 0:L.value),mobileWidthDim:null===(I=e.mobileWidth)||void 0===I?void 0:I.dim,mobileHeight:Mo(null===(C=e.mobileHeight)||void 0===C?void 0:C.value),mobileHeightDim:null===(F=e.mobileHeight)||void 0===F?void 0:F.dim,mobileBorderPosition:Oo||"all",mobileBorderWidth:null!==(null===(O=ko[Oo])||void 0===O?void 0:O.width)?null===(V=ko[Oo])||void 0===V?void 0:V.width:"",mobileBorderColor:(null===(M=ko[Oo])||void 0===M?void 0:M.color)||"",mobileBorderStyle:(null===(D=ko[Oo])||void 0===D?void 0:D.style)||"",mobileBorderRadiusAll:Vo(null===(H=e.mobileBorderRadius)||void 0===H?void 0:H.all),mobileRadiusTopLeft:Vo(null!==(null===(W=e.mobileBorderRadius)||void 0===W?void 0:W.topLeft)?null===(X=e.mobileBorderRadius)||void 0===X?void 0:X.topLeft:null===(z=e.mobileBorderRadius)||void 0===z?void 0:z.all),mobileRadiusBottomLeft:Vo(null!==(null===(G=e.mobileBorderRadius)||void 0===G?void 0:G.bottomLeft)?null===(Y=e.mobileBorderRadius)||void 0===Y?void 0:Y.bottomLeft:null===(U=e.mobileBorderRadius)||void 0===U?void 0:U.all),mobileRadiusTopRight:Vo(null!==(null===(q=e.mobileBorderRadius)||void 0===q?void 0:q.topRight)?null===(J=e.mobileBorderRadius)||void 0===J?void 0:J.topRight:null===(K=e.mobileBorderRadius)||void 0===K?void 0:K.all),mobileRadiusBottomRight:Vo(null!==(null===(Q=e.mobileBorderRadius)||void 0===Q?void 0:Q.bottomRight)?null===(Z=e.mobileBorderRadius)||void 0===Z?void 0:Z.bottomRight:null===($=e.mobileBorderRadius)||void 0===$?void 0:$.all),mobileBoxShadowInset:Vo(null===Lo||void 0===Lo?void 0:Lo.inset)||!1,mobileBoxShadowHOffset:Vo(null===Lo||void 0===Lo?void 0:Lo.hOffset),mobileBoxShadowVOffset:Vo(null===Lo||void 0===Lo?void 0:Lo.vOffset),mobileBoxShadowBlurRadius:Vo(null===Lo||void 0===Lo?void 0:Lo.blurRadius),mobileBoxShadowSpreadRadius:Vo(null===Lo||void 0===Lo?void 0:Lo.spreadRadius),mobileBoxShadowColor:Vo(null===Lo||void 0===Lo?void 0:Lo.color),mobileAlign:Vo(null===Io||void 0===Io?void 0:Io.value),mobileVerticalAlign:Vo(null===(ee=e.mobileVerticalAlign)||void 0===ee?void 0:ee.value),mobileBackgroundColor:Vo("none"!==(null===(oe=e.mobileBackgroundColor)||void 0===oe?void 0:oe.value)?null===(ie=e.mobileBackgroundColor)||void 0===ie?void 0:ie.value:""),mobileBackgroundImage:"none"!==(null===(te=Co[0])||void 0===te?void 0:te.value)?null===(le=Co[0])||void 0===le?void 0:le.value:"",mobileBackgroundPositionX:Vo(null===(de=e.mobileBackgroundPositionX)||void 0===de?void 0:de.value),mobileBackgroundPositionY:Vo(null===(ae=e.mobileBackgroundPositionY)||void 0===ae?void 0:ae.value),mobileBackgroundRepeat:null!==(se=e.mobileBackgroundRepeat)&&void 0!==se&&se.value?null===(me=e.mobileBackgroundRepeat)||void 0===me?void 0:me.value:"none",mobilePaddingTop:Vo(Eo.all)||Vo(Eo.top),mobilePaddingLeft:Vo(Eo.all)||Vo(Eo.left),mobilePaddingRight:Vo(Eo.all)||Vo(Eo.right),mobilePaddingBottom:Vo(Eo.all)||Vo(Eo.bottom),mobilePaddingTopBottom:Vo(Eo.top)||Vo(Eo.bottom),mobilePaddingLeftRight:Vo(Eo.left)||Vo(Eo.right),exportAsPicture:null===e||void 0===e?void 0:e.exportAsPicture,mobileFontSize:Vo(null===(ge=e.mobileFontSize)||void 0===ge?void 0:ge.value)}),!Vo(null===(ce=e.borderRadius)||void 0===ce?void 0:ce.all)&&(Vo(null===(pe=e.borderRadius)||void 0===pe?void 0:pe.topLeft)||Vo(null===(fe=e.borderRadius)||void 0===fe?void 0:fe.bottomLeft)||Vo(null===(ve=e.borderRadius)||void 0===ve?void 0:ve.topRight)||Vo(null===(Be=e.borderRadius)||void 0===Be?void 0:Be.bottomRight))?be(!1):be(!0),Vo(To.topLeft)||Vo(To.bottomLeft)||Vo(To.topRight)||Vo(To.bottomRight)?xe(!1):xe(!0),je(""===(null===(Ae=e.backgroundImage)||void 0===Ae?void 0:Ae[0].value)),Vo(null===(Se=e.padding)||void 0===Se?void 0:Se.all)||!(Vo(null===(Re=e.padding)||void 0===Re?void 0:Re.top)||Vo(null===(Pe=e.padding)||void 0===Pe?void 0:Pe.right)||Vo(null===(_e=e.padding)||void 0===_e?void 0:_e.bottom)||Vo(null===(ye=e.padding)||void 0===ye?void 0:ye.left))||(null===(we=e.padding)||void 0===we?void 0:we.top)===(null===(ke=e.padding)||void 0===ke?void 0:ke.bottom)&&(null===(Te=e.padding)||void 0===Te?void 0:Te.right)===(null===(Le=e.padding)||void 0===Le?void 0:Le.left)?Ne(!0):Ne(!1),Vo(Eo.all)||!(Vo(Eo.top)||Vo(Eo.right)||Vo(Eo.bottom)||Vo(Eo.left))||Eo.top===Eo.bottom&&Eo.right===Eo.left?Ee(!0):Ee(!1),Ie(!(null===(Ce=yo[Fo])||void 0===Ce||!Ce.width)),Fe(!(null===(Oe=ko[Oo])||void 0===Oe||!Oe.width)),Ve(!(null===(Me=e.borderRadius)||void 0===Me||!Me.all)||!(null===(He=e.borderRadius)||void 0===He||!He.topLeft)||!(null===(Xe=e.borderRadius)||void 0===Xe||!Xe.bottomLeft)||!(null===(Ge=e.borderRadius)||void 0===Ge||!Ge.topRight)||!(null===(Ue=e.borderRadius)||void 0===Ue||!Ue.bottomRight)),De(!(null===(Je=e.mobileBorderRadius)||void 0===Je||!Je.all)||!(null===(Qe=e.mobileBorderRadius)||void 0===Qe||!Qe.topLeft)||!(null===($e=e.mobileBorderRadius)||void 0===$e||!$e.bottomLeft)||!(null===(oo=e.mobileBorderRadius)||void 0===oo||!oo.topRight)||!(null===(to=e.mobileBorderRadius)||void 0===to||!to.bottomRight)),We(!!e.boxShadow),ze(!(null===(lo=e.mobileBoxShadow)||void 0===lo||!lo.blurRadius)||!(null===(ao=e.mobileBoxShadow)||void 0===ao||!ao.color)||!(null===(so=e.mobileBoxShadow)||void 0===so||!so.hOffset)||!(null===(no=e.mobileBoxShadow)||void 0===no||!no.inset)||!(null===(mo=e.mobileBoxShadow)||void 0===mo||!mo.spreadRadius)||!(null===(bo=e.mobileBoxShadow)||void 0===bo||!bo.vOffset)),Ye(!(null===(go=e.mobileWidth)||void 0===go||!go.value)||!(null===(uo=e.mobileHeight)||void 0===uo||!uo.value)),qe(!!e.backgroundColor||!(null===(co=e.backgroundImage)||void 0===co||!co[0].value)||!!e.backgroundPositionY||!!e.backgroundPositionX||"repeat"!==e.backgroundRepeat||!e.backgroundRepeat),Ke(!(null===(ho=e.mobileBackgroundColor)||void 0===ho||!ho.value)),Ze(!(null===(po=e.mobileFontSize)||void 0===po||!po.value)||!!e.showOnMobile),eo(!(null===(xo=e.padding)||void 0===xo||!xo.all)||!(null===(fo=e.padding)||void 0===fo||!fo.top)||!(null===(vo=e.padding)||void 0===vo||!vo.bottom)||!(null===(Bo=e.padding)||void 0===Bo||!Bo.left)||!(null===(Ao=e.padding)||void 0===Ao||!Ao.right)),io(!(null===(jo=e.mobilePadding)||void 0===jo||!jo.all)||!(null===(So=e.mobilePadding)||void 0===So||!So.top)||!(null===(Ro=e.mobilePadding)||void 0===Ro||!Ro.bottom)||!(null===(Po=e.mobilePadding)||void 0===Po||!Po.left)||!(null===(_o=e.mobilePadding)||void 0===_o||!_o.right))}}),[R,e,Pe]);const uo=(0,oe.jsx)(l.A,{style:{width:90,textAlign:"left"},value:ao,onChange:e=>{R.getFieldsValue(!0).href=e,ro(e)},getPopupContainer:e=>e.parentNode,options:[{value:"https://",label:i("Site")},{value:"mailto:",label:i("E-mail")},{value:"tel:",label:i("Phone")},{value:"sms:",label:i("SMS")},{value:"ftp://",label:i("File")},{value:"skype:",label:i("Skype")},{value:"viber:",label:i("Viber")},{value:"",label:i("Other")}]});return(0,t.useEffect)((()=>{var o;bo(!(null===(o=e.textReplacer)||void 0===o||!o.length))}),[e]),(0,oe.jsxs)(a.A,{form:R,layout:"vertical",name:"selected_button_form",initialValues:{backgroundColor:"",backgroundImage:"",backgroundPositionX:"",backgroundPositionY:"",backgroundRepeat:"",exportAsPicture:!1,width:"",height:"",widthDim:"",heightDim:"",align:"",valign:"",border:"",boxShadow:"",show:"all",borderPosition:"",borderColor:"",borderWidth:"",borderStyle:"",paddingTop:"",paddingLeft:"",paddingRight:"",paddingBottom:"",borderRadiusAll:"",RadiusTopLeft:"",RadiusBottomLeft:"",RadiusTopRight:"",RadiusBottomRight:"",mobileWidth:"",mobileWidthDim:"",mobileHeight:"",mobileHeightDim:"",mobileBorder:"",mobileBorderPosition:"",mobileBorderColor:"",mobileBorderWidth:"",mobileBorderStyle:"",mobileBoxShadow:"",mobileAlign:"",mobileVerticalAlign:"",mobileBackgroundColor:"",mobileBackgroundImage:"",mobilePaddingTop:"",mobilePaddingLeft:"",mobilePaddingRight:"",mobilePaddingBottom:"",borderRadiusTopLeft:"",borderRadiusBottomLeft:"",borderRadiusTopRight:"",borderRadiusBottomRight:"",href:"https://"},onValuesChange:o=>{const i=R.getFieldsValue(!0),t=Object.keys(o)[0];let l;switch(lo("%"===R.getFieldsValue(!0).widthDim?100:""),t){case"exportAsPicture":l={exportAsPicture:i.exportAsPicture};break;case"boxShadowInset":case"boxShadowHOffset":case"boxShadowVOffset":case"boxShadowBlurRadius":case"boxShadowSpreadRadius":case"boxShadowColor":l={boxShadow:{hOffset:i.boxShadowHOffset,vOffset:i.boxShadowVOffset,blurRadius:i.boxShadowBlurRadius,spreadRadius:i.boxShadowSpreadRadius,color:i.boxShadowColor,inset:i.boxShadowInset}};break;case"borderStyle":l={border:{[i.borderPosition]:{...ie[i.borderPosition],style:o[t]}}},"all"===i.borderPosition?re((e=>({...Z.iV,[i.borderPosition]:{...e[i.borderPosition],style:o[t]}}))):re((e=>({...e,[i.borderPosition]:{...e[i.borderPosition],style:o[t]}})));break;case"borderColor":l={border:{[i.borderPosition]:{...ie[i.borderPosition],color:o[t]}}},"all"===i.borderPosition?re((e=>({...Z.iV,[i.borderPosition]:{...e[i.borderPosition],color:o[t]}}))):re((e=>({...e,[i.borderPosition]:{...e[i.borderPosition],color:o[t]}})));break;case"borderWidth":l={border:{[i.borderPosition]:{...ie[i.borderPosition],width:o[t]}}},"all"===i.borderPosition?re((e=>({...Z.iV,[i.borderPosition]:{...e[i.borderPosition],width:o[t]}}))):re((e=>({...e,[i.borderPosition]:{...e[i.borderPosition],width:o[t]}})));break;case"borderPosition":R.setFieldsValue({borderWidth:ie[o[t]].width||"",borderColor:ie[o[t]].color||"",borderStyle:ie[o[t]].style||""});break;case"width":l={[t]:{value:o[t],dim:i.widthDim}};break;case"height":l={[t]:{value:o[t],dim:i.heightDim}};break;case"widthDim":l={width:{value:i.width,dim:o[t]}};break;case"heightDim":l={height:{value:i.height,dim:o[t]}};break;case"backgroundImage":je(""===o[t]),l={[t]:[{...e.backgroundImage[0],value:o[t]}]};break;case"paddingTop":case"paddingLeft":case"paddingRight":case"paddingBottom":l={padding:{[le[t]]:+o[t]}};break;case"paddingTopBottom":l={padding:{top:+o[t],bottom:+o[t]}},i.paddingTop=i.paddingBottom=+o[t];break;case"paddingLeftRight":l={padding:{left:+o[t],right:+o[t]}},i.paddingLeft=i.paddingRight=+o[t];break;case"borderRadiusAll":case"borderRadiusTopLeft":case"borderRadiusBottomLeft":case"borderRadiusTopRight":case"borderRadiusBottomRight":l={borderRadius:{[Z.wF[t]]:+o[t]}};break;case"mobileWidth":l={[t]:{classNamePrefix:"em-mob-width-",value:o[t],dim:i.mobileWidthDim}};break;case"mobileWidthDim":l={mobileWidth:{classNamePrefix:"em-mob-width-",value:i.mobileWidth,dim:o[t]}};break;case"mobileHeight":l={[t]:{classNamePrefix:"em-mob-height-",value:o[t],dim:i.mobileHeightDim},mobileLineHeight:{classNamePrefix:"em-mob-line_height-",value:o[t],dim:i.mobileHeightDim}};break;case"mobileHeightDim":l={mobileHeight:{classNamePrefix:"em-mob-height-",value:i.mobileHeight,dim:o[t]}};break;case"mobileBorderStyle":l={mobileBorder:{[i.mobileBorderPosition]:{...ge[i.mobileBorderPosition],style:o[t],classNamePrefix:"em-mob-border_"+i.mobileBorderPosition+"-"}}},"all"===i.mobileBorderPosition?ue((e=>({...Z.iV,[i.mobileBorderPosition]:{...e[i.mobileBorderPosition],style:o[t],classNamePrefix:"em-mob-border_"+i.mobileBorderPosition+"-"}}))):ue((e=>({...e,[i.mobileBorderPosition]:{...e[i.mobileBorderPosition],style:o[t],classNamePrefix:"em-mob-border_"+i.mobileBorderPosition+"-"}})));break;case"mobileBorderColor":l={mobileBorder:{[i.mobileBorderPosition]:{...ge[i.mobileBorderPosition],color:o[t],classNamePrefix:"em-mob-border_"+i.mobileBorderPosition+"-"}}},"all"===i.mobileBorderPosition?ue((e=>({...Z.iV,[i.mobileBorderPosition]:{...e[i.mobileBorderPosition],color:o[t],classNamePrefix:"em-mob-border_"+i.mobileBorderPosition+"-"}}))):ue((e=>({...e,[i.mobileBorderPosition]:{...e[i.mobileBorderPosition],color:o[t],classNamePrefix:"em-mob-border_"+i.mobileBorderPosition+"-"}})));break;case"mobileBorderWidth":l={mobileBorder:{[i.mobileBorderPosition]:{...ge[i.mobileBorderPosition],width:o[t],classNamePrefix:"em-mob-border_"+i.mobileBorderPosition+"-"}}},"all"===i.mobileBorderPosition?ue((e=>({...Z.iV,[i.mobileBorderPosition]:{...e[i.mobileBorderPosition],width:o[t],classNamePrefix:"em-mob-border_"+i.mobileBorderPosition+"-"}}))):ue((e=>({...e,[i.mobileBorderPosition]:{...e[i.mobileBorderPosition],width:o[t],classNamePrefix:"em-mob-border_"+i.mobileBorderPosition+"-"}})));break;case"mobileBorderPosition":R.setFieldsValue({mobileBorderWidth:ge[o[t]].width||"",mobileBorderColor:ge[o[t]].color||"",mobileBorderStyle:ge[o[t]].style||""});break;case"mobileBorderRadiusAll":case"mobileRadiusTopLeft":case"mobileRadiusBottomLeft":case"mobileRadiusTopRight":case"mobileRadiusBottomRight":l={mobileBorderRadius:{[de[t]]:o[t],classNamePrefix:"em-mob-border_radius_"+de[t]+"-"}};break;case"mobileBoxShadowInset":case"mobileBoxShadowHOffset":case"mobileBoxShadowVOffset":case"mobileBoxShadowBlurRadius":case"mobileBoxShadowSpreadRadius":case"mobileBoxShadowColor":l={mobileBoxShadow:{hOffset:i.mobileBoxShadowHOffset,vOffset:i.mobileBoxShadowVOffset,blurRadius:i.mobileBoxShadowBlurRadius,spreadRadius:i.mobileBoxShadowSpreadRadius,color:i.mobileBoxShadowColor,inset:i.mobileBoxShadowInset,classNamePrefix:"em-mob-box_shadow-"}};break;case"mobileAlign":l={[t]:{classNamePrefix:"em-mob-table_align-",value:o[t]}};break;case"mobileTextAlign":l={[t]:{classNamePrefix:"em-mob-text_align-",value:o[t]}};break;case"mobileVerticalAlign":l={[t]:{classNamePrefix:"em-mob-vertical_align-",value:o[t]}};break;case"mobileBackgroundColor":l={[t]:{classNamePrefix:"em-mob-background_color-",value:o[t]}};break;case"mobileBackgroundPositionX":l={[t]:{classNamePrefix:"em-mob-background_position_x-",value:o[t]}};break;case"mobileBackgroundPositionY":l={[t]:{classNamePrefix:"em-mob-background_position_x-",value:o[t]}};break;case"mobileBackgroundRepeat":l={[t]:{classNamePrefix:"em-mob-background_repeat-",value:o[t]}};break;case"mobilePaddingTop":case"mobilePaddingLeft":case"mobilePaddingRight":case"mobilePaddingBottom":l={mobilePadding:{all:null,top:""!==i.mobilePaddingTop?i.mobilePaddingTop:null,right:""!==i.mobilePaddingRight?i.mobilePaddingRight:null,bottom:""!==i.mobilePaddingBottom?i.mobilePaddingBottom:null,left:""!==i.mobilePaddingLeft?i.mobilePaddingLeft:null,classNamePrefix:"em-mob-padding_"}};break;case"mobilePaddingTopBottom":i.mobilePaddingTop=i.mobilePaddingBottom=o[t],l={mobilePadding:{all:null,top:""!==i.mobilePaddingTop?i.mobilePaddingTop:null,right:""!==i.mobilePaddingRight?i.mobilePaddingRight:null,bottom:""!==i.mobilePaddingBottom?i.mobilePaddingBottom:null,left:""!==i.mobilePaddingLeft?i.mobilePaddingLeft:null,classNamePrefix:"em-mob-padding_"}};break;case"mobilePaddingLeftRight":i.mobilePaddingLeft=i.mobilePaddingRight=o[t],l={mobilePadding:{all:null,top:""!==i.mobilePaddingTop?i.mobilePaddingTop:null,right:""!==i.mobilePaddingRight?i.mobilePaddingRight:null,bottom:""!==i.mobilePaddingBottom?i.mobilePaddingBottom:null,left:""!==i.mobilePaddingLeft?i.mobilePaddingLeft:null,classNamePrefix:"em-mob-padding_"}};break;case"mobileFontSize":l={[t]:{classNamePrefix:"em-mob-font_size-",value:o[t],dim:i.mobileFontSizeDim}};break;case"href":let d=o[t];"https://http"===d.substring(0,12)&&(d=d.substring(8,d.length),i.href=d),l={[t]:d},"https://"===o[t].substring(0,8)||"http://"===o[t].substring(0,7)?ro("https://"):"mailto:"===o[t].substring(0,7)?ro("mailto:"):"tel:"===o[t].substring(0,4)?ro("tel:"):"sms:"===o[t].substring(0,4)?ro("sms:"):"ftp://"===o[t].substring(0,6)?ro("ftp://"):"skype:"===o[t].substring(0,6)?ro("skype:"):"viber:"===o[t].substring(0,6)?ro("viber:"):ro("");break;default:l=o}"borderPosition"!==t&&d({operation:Z.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:e.type,settings:l})},autoComplete:"off",className:"element-controls",children:[!Pe&&(0,oe.jsx)(r.A,{title:i("To change the appearance of the element on the mobile device, edit the fields below. If the fields remain empty, the desktop styles will be applied to the mobile version."),placement:"bottom",children:(0,oe.jsx)(s.A,{className:"selected_form-mobile-props-title",message:i("Appearance on mobile devices"),type:"info"})}),Pe?(0,oe.jsx)(Y.A,{form:R,elementSettings:e,showAddParagraph:!1,isButton:!0}):(0,oe.jsx)(oe.Fragment,{children:fe===Z.ND&&ve.styles?(0,oe.jsx)("div",{id:"selected_element_form_mobile_props",className:"selected_form-mobile-props",children:(0,oe.jsxs)("div",{className:"selected_form-mobile-props-wrapper",children:[(0,oe.jsxs)(n.A,{gutter:20,style:{paddingBottom:4},children:[(0,oe.jsx)(m.A,{span:12,children:(0,oe.jsx)(H.A,{form:R,elementSettings:e,imgParent:!0})}),Be.formButtonFieldTextAlignEnabled&&(0,oe.jsx)(m.A,{span:12,style:{textAlign:"right"},children:(0,oe.jsx)(W.A,{form:R,name:"mobileTextAlign",elementSettings:e,imgParent:!0})})]}),!!e.showOnMobile&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(b.A,{className:"selected-td-form__divider",style:{marginBottom:24}}),(0,oe.jsx)(r.A,{trigger:["hover"],title:i("Hyperlink URL"),placement:"bottom",children:(0,oe.jsx)(a.A.Item,{name:"href",style:{marginBottom:_e.formItemMarginBottomMD+4},children:(0,oe.jsx)(g.A,{addonBefore:uo,placeholder:i("Hyperlink URL"),allowClear:!0,prefix:"https://"===ao&&(0,oe.jsx)(c.A,{})||"mailto:"===ao&&(0,oe.jsx)(h.A,{})||"tel:"===ao&&(0,oe.jsx)(p.A,{})||"sms:"===ao&&(0,oe.jsx)(x.A,{})||"ftp://"===ao&&(0,oe.jsx)(f.A,{})||"skype:"===ao&&(0,oe.jsx)(v.A,{})||(0,oe.jsx)(c.A,{})})})})]}),(0,oe.jsx)(b.A,{className:"selected-td-form__divider"}),(0,oe.jsxs)(n.A,{gutter:10,align:"middle",children:[(0,oe.jsx)(m.A,{span:20,children:(0,oe.jsx)("div",{className:"form-group-title",children:i("Text")})}),(0,oe.jsx)(m.A,{span:4,align:"right",children:(0,oe.jsx)(u.Ay,{className:"selected-td-form__button ghost-button",type:"text",onClick:()=>{const o=R.getFieldsValue(!0);setTimeout((()=>{Ze((e=>!e)),Qe&&(o.mobileFontSize="",d({operation:Z.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:e.type,settings:{mobileFontSize:{value:null,dim:"px",classNamePrefix:"em-mob-font_size-"}}}))}))},children:Qe?(0,oe.jsx)(A.A,{}):(0,oe.jsx)(B.A,{})})})]}),Qe&&(0,oe.jsxs)(oe.Fragment,{children:[!!e.showOnMobile&&(0,oe.jsx)(G.A,{form:R,elementSettings:e,setLinkProtocol:ro,showAddParagraph:!1,isButton:!0}),(0,oe.jsx)(n.A,{gutter:10,style:{marginBottom:4},children:(0,oe.jsx)(m.A,{span:12,children:(0,oe.jsx)(Q.A,{})})})]}),(0,oe.jsx)(b.A,{className:"selected-td-form__divider"}),Be.formButtonFieldPaddingsEnabled&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsxs)(n.A,{gutter:10,align:"middle",children:[(0,oe.jsx)(m.A,{span:20,children:(0,oe.jsx)("div",{className:"form-group-title",children:i("Padding")})}),(0,oe.jsx)(m.A,{span:4,align:"right",children:(0,oe.jsx)(u.Ay,{className:"selected-td-form__button ghost-button",type:"text",onClick:()=>{const o=R.getFieldsValue(!0);setTimeout((()=>{io((e=>!e)),oo&&(o.mobilePaddingLeftRight="",o.mobilePaddingLeft="",o.mobilePaddingRight="",o.mobilePaddingTopBottom="",o.mobilePaddingTop="",o.mobilePaddingBottom="",d({operation:Z.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:e.type,settings:{mobilePadding:{all:null,top:null,right:null,bottom:null,left:null,classNamePrefix:"em-mob-padding_"}}}))}))},children:oo?(0,oe.jsx)(A.A,{}):(0,oe.jsx)(B.A,{})})})]}),oo&&(0,oe.jsx)(n.A,{gutter:10,style:{paddingBottom:8},children:(0,oe.jsx)(oe.Fragment,{children:(0,oe.jsx)(z.A,{form:R,elementSettings:e,mobilePaddingsExt:Te,setMobilePaddingsExt:Ee})})}),(0,oe.jsx)(b.A,{className:"selected-td-form__divider"})]}),(0,oe.jsxs)(n.A,{gutter:10,align:"middle",children:[(0,oe.jsx)(m.A,{span:20,children:(0,oe.jsx)("div",{className:"form-group-title",children:i("Size")})}),(0,oe.jsx)(m.A,{span:4,align:"right",children:(0,oe.jsx)(u.Ay,{className:"selected-td-form__button ghost-button",type:"text",onClick:()=>{const o=R.getFieldsValue(!0);setTimeout((()=>{Ye((e=>!e)),Ge&&(o.mobileWidth="",o.mobileHeight="",d({operation:Z.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:e.type,settings:{mobileWidth:{value:null,dim:"px",classNamePrefix:"em-mob-width-"},mobileHeight:{value:null,dim:"px",classNamePrefix:"em-mob-height-"}}}))}))},children:Ge?(0,oe.jsx)(A.A,{}):(0,oe.jsx)(B.A,{})})})]}),Ge&&(0,oe.jsxs)(n.A,{gutter:10,style:{paddingBottom:8},children:[(0,oe.jsx)(m.A,{span:12,children:(0,oe.jsx)("div",{style:{marginBottom:2*_e.formItemMarginBottomXS},children:(0,oe.jsx)(r.A,{title:i("Width"),placement:"bottom",children:(0,oe.jsx)(F.A,{form:R,name:"mobileWidth",elementSettings:e})})})}),(0,oe.jsx)(m.A,{span:12,children:(0,oe.jsx)("div",{style:{marginBottom:2*_e.formItemMarginBottomXS},children:(0,oe.jsx)(r.A,{title:i("Height"),placement:"bottom",children:(0,oe.jsx)(O.A,{form:R,name:"mobileHeight",elementSettings:e})})})})]}),(0,oe.jsx)(b.A,{className:"selected-td-form__divider"}),(0,oe.jsxs)(n.A,{gutter:10,align:"middle",children:[(0,oe.jsx)(m.A,{span:20,children:(0,oe.jsx)("div",{className:"form-group-title",children:i("Background")})}),(0,oe.jsx)(m.A,{span:4,align:"right",children:(0,oe.jsx)(u.Ay,{className:"selected-td-form__button ghost-button",type:"text",onClick:()=>{const o=R.getFieldsValue(!0);setTimeout((()=>{Ke((e=>!e)),o.mobileBackgroundColor=Je?"":e.commonStyles.buttons.backgroundColor||"#1C52DC",d({operation:Z.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:e.type,settings:{mobileBackgroundColor:{classNamePrefix:"em-mob-background_color-",value:o.mobileBackgroundColor}}})}))},children:Je?(0,oe.jsx)(A.A,{}):(0,oe.jsx)(B.A,{})})})]}),Je&&(0,oe.jsx)(oe.Fragment,{children:(0,oe.jsx)("div",{style:{marginBottom:(Be.formButtonFieldBackgroundImageEnabled,_e.formItemMarginBottomMD+4)},children:(0,oe.jsx)(X.A,{form:R,elementSettings:e,label:i("Background color")})})}),Be.formFieldBorderEnabled&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(b.A,{className:"selected-td-form__divider"}),(0,oe.jsxs)(n.A,{gutter:10,align:"middle",children:[(0,oe.jsx)(m.A,{span:20,children:(0,oe.jsx)("div",{className:"form-group-title",children:i("Borders")})}),(0,oe.jsx)(m.A,{span:4,align:"right",children:(0,oe.jsx)(u.Ay,{className:"selected-td-form__button ghost-button",type:"text",onClick:()=>{const o=R.getFieldsValue(!0);setTimeout((()=>{Fe((e=>!e)),Ce&&(o.mobileBorderWidth=null,o.mobileBorderColor="",o.mobileBorderStyle=""),ue((e=>({...Z.iV,[o.mobileBorderPosition]:{...e[o.mobileBorderPosition],width:o.mobileBorderWidth,color:o.mobileBorderColor,style:o.mobileBorderStyle}}))),d({operation:Z.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:e.type,settings:{mobileBorder:{all:{color:o.mobileBorderColor,style:o.mobileBorderStyle,width:o.mobileBorderWidth,classNamePrefix:"em-mob-border_"+o.mobileBorderPosition+"-"}}}})}))},children:Ce?(0,oe.jsx)(A.A,{}):(0,oe.jsx)(B.A,{})})})]}),Ce&&(0,oe.jsx)("div",{style:{marginBottom:4},children:(0,oe.jsx)(V.A,{mobileBorders:ge})})]}),Be.formFieldBorderRadiusEnabled&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(b.A,{className:"selected-td-form__divider"}),(0,oe.jsxs)(n.A,{gutter:10,align:"middle",children:[(0,oe.jsx)(m.A,{span:20,children:(0,oe.jsx)("div",{className:"form-group-title",children:i("Border radius")})}),(0,oe.jsx)(m.A,{span:4,align:"right",children:(0,oe.jsx)(u.Ay,{className:"selected-td-form__button ghost-button",type:"text",onClick:()=>{const o=R.getFieldsValue(!0);setTimeout((()=>{De((e=>!e)),o.mobileBorderRadiusAll=Me?null:5,d({operation:Z.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:e.type,settings:{mobileBorderRadius:{all:o.mobileBorderRadiusAll,classNamePrefix:"em-mob-border_radius_all-"}}})}))},children:Me?(0,oe.jsx)(A.A,{}):(0,oe.jsx)(B.A,{})})})]}),Me&&(0,oe.jsx)("div",{style:{marginBottom:4},children:(0,oe.jsx)(M.A,{form:R,oneMobileBorderRadiusValue:pe,setOneMobileBorderRadiusValue:xe})})]}),Be.formFieldBoxShadowEnabled&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(b.A,{className:"selected-td-form__divider"}),(0,oe.jsxs)(n.A,{gutter:10,align:"middle",children:[(0,oe.jsx)(m.A,{span:20,children:(0,oe.jsx)("div",{className:"form-group-title",children:i("Box shadow")})}),(0,oe.jsx)(m.A,{span:4,align:"right",children:(0,oe.jsx)(u.Ay,{className:"selected-td-form__button ghost-button",type:"text",onClick:()=>{const o=R.getFieldsValue(!0);setTimeout((()=>{ze((e=>!e)),Xe?(o.mobileBoxShadowInset=!1,o.mobileBoxShadowHOffset=null,o.mobileBoxShadowVOffset=null,o.mobileBoxShadowBlurRadius=null,o.mobileBoxShadowSpreadRadius=null,o.mobileBoxShadowColor=""):(o.mobileBoxShadowInset=!1,o.mobileBoxShadowHOffset=5,o.mobileBoxShadowVOffset=5,o.mobileBoxShadowBlurRadius=10,o.mobileBoxShadowSpreadRadius=-5,o.mobileBoxShadowColor="#000000"),d({operation:Z.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:e.type,settings:{mobileBoxShadow:{blurRadius:o.mobileBoxShadowBlurRadius,color:o.mobileBoxShadowColor,hOffset:o.mobileBoxShadowHOffset,inset:o.mobileBoxShadowInset,spreadRadius:o.mobileBoxShadowSpreadRadius,vOffset:o.mobileBoxShadowVOffset,classNamePrefix:"em-mob-box_shadow-"}}})}))},children:Xe?(0,oe.jsx)(A.A,{}):(0,oe.jsx)(B.A,{})})})]}),Xe&&(0,oe.jsx)("div",{style:{marginBottom:4},children:(0,oe.jsx)(D.A,{mobileBoxShadow:ce,form:R,elementSettings:e})})]}),Be.formFieldAmpVisibilityEnabled&&e.ampShow&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(b.A,{className:"selected-td-form__divider"}),(0,oe.jsx)("div",{className:"form-group-title",children:i("AMP visibility")}),(0,oe.jsx)(n.A,{gutter:20,style:{marginBottom:4},children:(0,oe.jsx)(m.A,{span:12,children:(0,oe.jsx)(q.A,{})})})]}),Be.formFieldAmpVisibilityEnabled&&e.isAmp&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(b.A,{className:"selected-td-form__divider"}),(0,oe.jsx)("div",{className:"form-group-title",children:i("AMP visibility")}),(0,oe.jsx)(n.A,{gutter:20,style:{marginBottom:4},children:(0,oe.jsx)(m.A,{span:12,children:(0,oe.jsx)(q.A,{})})})]})]})}):(0,oe.jsxs)("div",{id:"selected_element_form_desktop_props",children:[(0,oe.jsx)(s.A,{className:"selected_form-desktop-props-title",message:i("Appearance on mobile devices"),type:"info"}),(0,oe.jsxs)("div",{className:"selected_form-props-wrapper",children:[(0,oe.jsxs)(n.A,{gutter:20,style:{paddingBottom:4},children:[(0,oe.jsx)(m.A,{span:12,children:(0,oe.jsx)(L.A,{form:R,elementSettings:e})}),Be.formButtonFieldTextAlignEnabled&&(0,oe.jsx)(m.A,{span:12,style:{textAlign:"right"},children:(0,oe.jsx)(I.A,{form:R,name:"textAlign",elementSettings:e})})]}),(0,oe.jsx)(b.A,{className:"selected-td-form__divider",style:{marginBottom:24}}),(0,oe.jsx)(r.A,{trigger:["hover"],title:i("Hyperlink URL"),placement:"bottom",children:(0,oe.jsx)(a.A.Item,{name:"href",style:{marginBottom:_e.formItemMarginBottomXS},children:(0,oe.jsx)(g.A,{addonBefore:uo,placeholder:i("Hyperlink URL"),allowClear:!0,onSelect:({target:e})=>e&&no(e),prefix:"https://"===ao&&(0,oe.jsx)(c.A,{})||"mailto:"===ao&&(0,oe.jsx)(h.A,{})||"tel:"===ao&&(0,oe.jsx)(p.A,{})||"sms:"===ao&&(0,oe.jsx)(x.A,{})||"ftp://"===ao&&(0,oe.jsx)(f.A,{})||"skype:"===ao&&(0,oe.jsx)(v.A,{})||(0,oe.jsx)(c.A,{})})})}),(0,oe.jsxs)(n.A,{gutter:10,children:[(0,oe.jsx)(m.A,{span:3,children:(0,oe.jsx)(r.A,{title:i("Text replacer"),placement:"bottom",getPopupContainer:e=>e.closest(".email-pane__collapse-wrapper"),children:(0,oe.jsx)(u.Ay,{className:P()("selected-td-form__button ant-form-item",{"selected-td-form__button--active":mo}),icon:(0,oe.jsx)(J.A,{icon:"Replacer",className:"selected-td-form__icon-radius"}),onClick:()=>{bo(!mo),mo?(R.setFieldValue("textReplacer",""),d({operation:Z.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:e.type,settings:{textReplacer:""}})):setTimeout((()=>ye.current.focus()))},ref:we})})}),(0,oe.jsx)(m.A,{span:21,children:mo&&(0,oe.jsx)(r.A,{trigger:["hover"],title:i("Text"),placement:"bottom",children:(0,oe.jsx)(a.A.Item,{name:"textReplacer",children:(0,oe.jsx)(g.A,{placeholder:i("The code that will replace this text"),allowClear:!0,prefix:(0,oe.jsx)("span",{className:"addon-text-content",children:"Text"}),onChange:e=>{""!==e.target.value&&we.current.classList.add("selected-td-form__button--active")},ref:ye})})})})]}),(0,oe.jsx)(b.A,{className:"selected-td-form__divider"}),Be.formButtonFieldPaddingsEnabled&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsxs)(n.A,{gutter:10,align:"middle",children:[(0,oe.jsx)(m.A,{span:20,children:(0,oe.jsx)("div",{className:"form-group-title",children:i("Padding")})}),(0,oe.jsx)(m.A,{span:4,align:"right",children:(0,oe.jsx)(u.Ay,{className:"selected-td-form__button ghost-button",type:"text",onClick:()=>{const o=R.getFieldsValue(!0);setTimeout((()=>{eo((e=>!e)),$e&&(o.paddingLeftRight="",o.paddingLeft="",o.paddingRight="",o.paddingTopBottom="",o.paddingTop="",o.paddingBottom="",d({operation:Z.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:e.type,settings:{padding:{all:0}}}))}))},children:$e?(0,oe.jsx)(A.A,{}):(0,oe.jsx)(B.A,{})})})]}),$e&&(0,oe.jsx)(n.A,{gutter:_e.marginSM,style:{marginBottom:4},children:(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsxs)(m.A,{span:10,style:{width:156,flex:"auto",maxWidth:"none"},children:[(0,oe.jsx)("div",{className:"padding-collapsed",style:{display:ke?"block":"none"},children:(0,oe.jsx)(r.A,{title:i("Horizontal padding"),placement:"bottom",children:(0,oe.jsx)(a.A.Item,{name:"paddingLeftRight",children:(0,oe.jsx)(K.A,{min:0,placeholder:i("Horizontal"),prefix:(0,oe.jsx)(J.A,{icon:"PaddingLeftRight"}),addonAfter:"px"})})})}),(0,oe.jsxs)("div",{className:"padding-extended",style:{display:ke?"none":"block"},children:[(0,oe.jsx)(r.A,{trigger:["hover"],title:i("Left padding"),placement:"bottom",children:(0,oe.jsx)(a.A.Item,{name:"paddingLeft",style:{marginBottom:_e.formItemMarginBottomXS},children:(0,oe.jsx)(K.A,{min:0,placeholder:i("Left"),prefix:(0,oe.jsx)(J.A,{icon:"PaddingLeft"}),addonAfter:"px"})})}),(0,oe.jsx)(r.A,{trigger:["hover"],title:i("Right padding"),placement:"bottom",children:(0,oe.jsx)(a.A.Item,{name:"paddingRight",children:(0,oe.jsx)(K.A,{min:0,placeholder:i("Right"),prefix:(0,oe.jsx)(J.A,{icon:"PaddingRight"}),addonAfter:"px"})})})]})]}),(0,oe.jsxs)(m.A,{span:10,style:{width:156,flex:"auto",maxWidth:"none"},children:[(0,oe.jsx)("div",{className:"padding-collapsed",style:{display:ke?"block":"none"},children:(0,oe.jsx)(r.A,{title:i("Vertical padding"),placement:"bottom",children:(0,oe.jsx)(a.A.Item,{name:"paddingTopBottom",children:(0,oe.jsx)(K.A,{min:0,placeholder:i("Vertical"),prefix:(0,oe.jsx)(J.A,{icon:"PaddingTopBottom"}),addonAfter:"px"})})})}),(0,oe.jsxs)("div",{className:"padding-extended",style:{display:ke?"none":"block"},children:[(0,oe.jsx)(r.A,{trigger:["hover"],title:i("Top padding"),placement:"bottom",children:(0,oe.jsx)(a.A.Item,{name:"paddingTop",style:{marginBottom:_e.formItemMarginBottomXS},children:(0,oe.jsx)(K.A,{min:0,placeholder:i("Top"),prefix:(0,oe.jsx)(J.A,{icon:"PaddingTop"}),addonAfter:"px"})})}),(0,oe.jsx)(r.A,{trigger:["hover"],title:i("Bottom padding"),placement:"bottom",children:(0,oe.jsx)(a.A.Item,{name:"paddingBottom",children:(0,oe.jsx)(K.A,{min:0,placeholder:i("Bottom"),prefix:(0,oe.jsx)(J.A,{icon:"PaddingBottom"}),addonAfter:"px"})})})]})]}),(0,oe.jsx)(m.A,{span:4,style:{width:45,flex:"auto",maxWidth:"none"},children:(0,oe.jsx)(r.A,{title:i("Individual padding"),placement:"bottom",children:(0,oe.jsx)(u.Ay,{className:P()("selected-td-form__button",{"selected-td-form__button--active":!ke}),onClick:()=>{Ne((e=>!e));const o=R.getFieldsValue(!0);ke||(o.paddingLeftRight=o.paddingLeft,o.paddingTopBottom=o.paddingTop,o.paddingRight=o.paddingLeft,o.paddingBottom=o.paddingTop,d({operation:Z.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:e.type,settings:{padding:{top:o.paddingTopBottom,bottom:o.paddingTopBottom,left:o.paddingLeftRight,right:o.paddingLeftRight}}}))},children:(0,oe.jsx)(J.A,{icon:"PaddingSwitcher"})})})})]})}),(0,oe.jsx)(b.A,{className:"selected-td-form__divider"})]}),(0,oe.jsx)("div",{className:"form-group-title",children:i("Size")}),(0,oe.jsxs)(n.A,{gutter:_e.marginSM,style:{marginBottom:4},children:[(0,oe.jsx)(m.A,{span:12,children:(0,oe.jsx)(r.A,{title:i("Width"),placement:"left",children:(0,oe.jsx)(a.A.Item,{name:"width",style:{marginBottom:_e.formItemMarginBottomXS},children:(0,oe.jsx)(K.A,{min:0,max:to,placeholder:i("Width"),prefix:(0,oe.jsx)(j.A,{}),addonAfter:(0,oe.jsx)(a.A.Item,{name:"widthDim",noStyle:!0,children:te})})})})}),(0,oe.jsx)(m.A,{span:12,children:(0,oe.jsx)(r.A,{title:i("Height"),placement:"left",children:(0,oe.jsx)(a.A.Item,{name:"height",children:(0,oe.jsx)(K.A,{min:0,placeholder:i("Height"),prefix:(0,oe.jsx)(S.A,{}),addonAfter:"px"})})})})]}),(0,oe.jsx)(b.A,{className:"selected-td-form__divider"}),(0,oe.jsx)("div",{style:{paddingTop:_e.formItemMarginBottomMD+4,paddingBottom:4},children:(0,oe.jsx)(G.A,{form:R,elementSettings:e,showAddParagraph:!1,isButton:!0,setLinkProtocol:ro,linkTarget:so})}),(0,oe.jsx)(b.A,{className:"selected-td-form__divider"}),(0,oe.jsxs)(n.A,{gutter:10,align:"middle",children:[(0,oe.jsx)(m.A,{span:20,children:(0,oe.jsx)("div",{className:"form-group-title",children:i("Background")})}),(0,oe.jsx)(m.A,{span:4,align:"right",children:(0,oe.jsx)(u.Ay,{className:"selected-td-form__button ghost-button",type:"text",onClick:()=>{const o=R.getFieldsValue(!0);setTimeout((()=>{qe((e=>!e)),Ue?(o.backgroundColor="",o.backgroundImage="",o.backgroundPositionX="",o.backgroundPositionY="",o.backgroundRepeat="none",je(!0)):o.backgroundColor="#E5E5E5",d({operation:Z.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:e.type,settings:{backgroundColor:o.backgroundColor,backgroundImage:[{type:"url",value:o.backgroundImage}],backgroundPositionX:o.backgroundPositionX,backgroundPositionY:o.backgroundPositionY,backgroundRepeat:o.backgroundRepeat}})}))},children:Ue?(0,oe.jsx)(A.A,{}):(0,oe.jsx)(B.A,{})})})]}),Ue&&(0,oe.jsxs)(n.A,{gutter:10,style:{marginBottom:Ae?14:0},children:[(0,oe.jsx)(m.A,{span:12,children:(0,oe.jsx)(r.A,{trigger:["hover"],title:i("Background color"),placement:"bottom",zIndex:1,getPopupContainer:e=>e.parentNode,children:(0,oe.jsx)(a.A.Item,{name:"backgroundColor",style:{marginBottom:Be.formButtonFieldBackgroundImageEnabled?_e.formItemMarginBottomXS:_e.formItemMarginBottomMD+4},children:(0,oe.jsx)(k.A,{placeholder:i("Background color"),usedColors:e.usedColors})})})}),Be.formButtonFieldBackgroundImageEnabled&&(0,oe.jsxs)(m.A,{span:Ae?12:24,children:[(0,oe.jsx)("div",{style:{paddingBottom:Ae?4:0},children:(0,oe.jsx)(E.A,{form:R,label:i("Background image"),name:"backgroundImage",tooltipTitle:i("Background image")})}),!Ae&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsxs)(n.A,{gutter:10,children:[(0,oe.jsx)(m.A,{span:12,children:(0,oe.jsx)(r.A,{trigger:["hover"],title:i("Horizontal position"),placement:"bottom",children:(0,oe.jsx)(a.A.Item,{name:"backgroundPositionX",style:{marginBottom:_e.formItemMarginBottomXS},children:(0,oe.jsx)(K.A,{placeholder:i("Horizontal position"),prefix:(0,oe.jsx)(J.A,{icon:"BgPositionHorizontal"})})})})}),(0,oe.jsx)(m.A,{span:12,children:(0,oe.jsx)(r.A,{trigger:["hover"],title:i("Vertical position"),placement:"bottom",children:(0,oe.jsx)(a.A.Item,{name:"backgroundPositionY",style:{marginBottom:_e.formItemMarginBottomXS},children:(0,oe.jsx)(K.A,{placeholder:i("Vertical position"),prefix:(0,oe.jsx)(J.A,{icon:"BgPositionVertical"})})})})})]}),(0,oe.jsx)(r.A,{trigger:["hover"],title:i("Background image repeat"),placement:"left",children:(0,oe.jsx)(a.A.Item,{name:"backgroundRepeat",style:{marginBottom:_e.formItemMarginBottomMD+4},children:(0,oe.jsx)(l.A,{placeholder:i("Please select"),options:go,getPopupContainer:e=>e.parentNode})})})]})]})]}),Be.formFieldBorderEnabled&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(b.A,{className:"selected-td-form__divider"}),(0,oe.jsxs)(n.A,{gutter:10,align:"middle",children:[(0,oe.jsx)(m.A,{span:20,children:(0,oe.jsx)("div",{className:"form-group-title",children:i("Borders")})}),(0,oe.jsx)(m.A,{span:4,align:"right",children:(0,oe.jsx)(u.Ay,{className:"selected-td-form__button ghost-button",type:"text",onClick:()=>{const o=R.getFieldsValue(!0);setTimeout((()=>{Ie((e=>!e)),Le&&(o.borderWidth=null,o.borderColor="",o.borderStyle=""),re((e=>({...Z.iV,[o.borderPosition]:{...e[o.borderPosition],width:o.borderWidth,color:o.borderColor,style:o.borderStyle}}))),d({operation:Z.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:e.type,settings:{border:{all:{color:o.borderColor,style:o.borderStyle,width:o.borderWidth}}}})}))},children:Le?(0,oe.jsx)(A.A,{}):(0,oe.jsx)(B.A,{})})})]}),Le&&(0,oe.jsx)("div",{style:{marginBottom:4},children:(0,oe.jsx)(N.A,{borders:ie})})]}),Be.formFieldBorderRadiusEnabled&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(b.A,{className:"selected-td-form__divider"}),(0,oe.jsxs)(n.A,{gutter:10,align:"middle",children:[(0,oe.jsx)(m.A,{span:20,children:(0,oe.jsx)("div",{className:"form-group-title",children:i("Border radius")})}),(0,oe.jsx)(m.A,{span:4,align:"right",children:(0,oe.jsx)(u.Ay,{className:"selected-td-form__button ghost-button",type:"text",onClick:()=>{const o=R.getFieldsValue(!0);setTimeout((()=>{Ve((e=>!e)),o.borderRadiusAll=Oe?0:5,d({operation:Z.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:e.type,settings:{borderRadius:{all:o.borderRadiusAll}}})}))},children:Oe?(0,oe.jsx)(A.A,{}):(0,oe.jsx)(B.A,{})})})]}),Oe&&(0,oe.jsx)("div",{style:{marginBottom:4},children:(0,oe.jsx)(T.A,{form:R,oneBorderRadiusValue:me,setOneBorderRadiusValue:be,elementSettings:e})})]}),Be.formFieldBoxShadowEnabled&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(b.A,{className:"selected-td-form__divider"}),(0,oe.jsxs)(n.A,{gutter:10,align:"middle",children:[(0,oe.jsx)(m.A,{span:20,children:(0,oe.jsx)("div",{className:"form-group-title",children:i("Box shadow")})}),(0,oe.jsx)(m.A,{span:4,align:"right",children:(0,oe.jsx)(u.Ay,{className:"selected-td-form__button ghost-button",type:"text",onClick:()=>{const o=R.getFieldsValue(!0);setTimeout((()=>{We((e=>!e)),He?(o.boxShadowInset=!1,o.boxShadowHOffset=0,o.boxShadowVOffset=0,o.boxShadowBlurRadius=0,o.boxShadowSpreadRadius=0,o.boxShadowColor=""):(o.boxShadowInset=!1,o.boxShadowHOffset=5,o.boxShadowVOffset=5,o.boxShadowBlurRadius=10,o.boxShadowSpreadRadius=-5,o.boxShadowColor="#000000"),d({operation:Z.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:e.type,settings:{boxShadow:{blurRadius:o.boxShadowBlurRadius,color:o.boxShadowColor,hOffset:o.boxShadowHOffset,inset:o.boxShadowInset,spreadRadius:o.boxShadowSpreadRadius,vOffset:o.boxShadowVOffset}}})}))},children:He?(0,oe.jsx)(A.A,{}):(0,oe.jsx)(B.A,{})})})]}),He&&(0,oe.jsx)("div",{style:{marginBottom:4},children:(0,oe.jsx)(C.A,{boxShadow:se})})]}),Be.formFieldVisibilityEnabled&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(b.A,{className:"selected-td-form__divider"}),(0,oe.jsx)("div",{className:"form-group-title",children:i("Display control")}),(0,oe.jsx)(n.A,{gutter:20,style:{marginBottom:4},children:(0,oe.jsx)(m.A,{span:12,children:(0,oe.jsx)(U.A,{elementSettings:e,form:R})})})]}),Be.formFieldAmpVisibilityEnabled&&e.ampShow&&(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)(b.A,{className:"selected-td-form__divider"}),(0,oe.jsx)("div",{className:"form-group-title",children:i("AMP visibility")}),(0,oe.jsx)(n.A,{gutter:20,style:{marginBottom:4},children:(0,oe.jsx)(m.A,{span:12,children:(0,oe.jsx)(q.A,{})})})]})]})]})})]})}}}]);