useblocks 1.0.26 → 1.0.28

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 (36) hide show
  1. package/README.md +1 -1
  2. package/asset-manifest.json +21 -21
  3. package/iframe/{iframe-eblock.849f36309fcfd3c6b726.html → iframe-eblock.34a9404248018e7465b3.html} +1 -1
  4. package/iframe/{iframe.849f36309fcfd3c6b726.html → iframe.34a9404248018e7465b3.html} +1 -1
  5. package/iframe/js/cssbeautify.js +1 -1
  6. package/iframe/sandbox-eblock.js +1 -1
  7. package/iframe/sandbox.js +1 -1
  8. package/package.json +1 -1
  9. package/plugin.html +6 -7
  10. package/plugin_blocks_test.html +139 -27
  11. package/plugin_default.html +1 -1
  12. package/plugin_s.html +1 -1
  13. package/static/css/698.9a48c3be.css +1 -0
  14. package/static/js/1399.71fa61b5.js +1 -0
  15. package/static/js/1795.a33323f4.js +1 -0
  16. package/static/js/2256.89c1e152.js +1 -0
  17. package/static/js/5571.4464f3b4.js +1 -0
  18. package/static/js/698.6b8840b5.js +1 -0
  19. package/static/js/7400.beb54415.js +1 -0
  20. package/static/js/9420.28e956c3.js +1 -0
  21. package/static/js/9907.c26468b0.js +1 -0
  22. package/static/js/{useblocks_core.6fa55aa8.js → useblocks_core.bc0e4ded.js} +1 -1
  23. package/translations.pot +584 -552
  24. package/useblocks-esm.js +1 -1
  25. package/useblocks.d.ts +7 -2
  26. package/useblocks.js +1 -1
  27. package/iframe/429.js +0 -1
  28. package/static/css/698.78cace37.css +0 -1
  29. package/static/js/1399.7199f806.js +0 -1
  30. package/static/js/1795.0af49b47.js +0 -1
  31. package/static/js/2256.d9c4a829.js +0 -1
  32. package/static/js/5571.3d9d05bc.js +0 -1
  33. package/static/js/6138.4aa6ec53.js +0 -1
  34. package/static/js/698.bec2008c.js +0 -1
  35. package/static/js/9420.a4ace670.js +0 -1
  36. package/static/js/9907.761fcfa3.js +0 -1
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[9420],{7760:(e,a,l)=>{l.d(a,{A9:()=>g,Ay:()=>M,DL:()=>A,Dz:()=>c,Fv:()=>E,JV:()=>y,Up:()=>v,b9:()=>F,eX:()=>m,gm:()=>w,iy:()=>T,nJ:()=>b,om:()=>u,qX:()=>B,rc:()=>p,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:g,setBlockSettingsDisable:p,setSearchFilters:u,setBlockHtml:A,resetBlockSlice:b,setBlockIsAmp:h}=s.actions,E=e=>e[n].isCodeMode,v=e=>e[n].editorThemeColor,y=e=>e[n].settings,B=e=>e[n].elementSettings,T=e=>e[n].isSettingsDisabled,F=e=>e[n].searchFilters,w=e=>e[n].block,M=s},34524:(e,a,l)=>{l.d(a,{Ay:()=>y,D2:()=>u,FC:()=>c,LZ:()=>A,NK:()=>g,NP:()=>b,dV:()=>v,qM:()=>h,ux:()=>E,wK:()=>p});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"),g="trash"===(null===(i=a.arg.originalArgs)||void 0===i?void 0:i.status),p=!(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,A=(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]);g?(p||(e.blocksTrashTotal=c),e.elementsTrashList=l):A?e.customFolders={...e.customFolders,[A]:{list:l,page:u,total:c}}:(a.arg.originalArgs.tags||p||(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:g,removeBlockFromList:p}=r.actions,u=e=>e[s].blocksTotal,A=e=>e[s].templateBlocks,b=e=>e[s].customFolders,h=e=>e[s].elementsList,E=e=>e[s].elementsTrashList,v=e=>e[s].blocksTrashTotal,y=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:()=>b,Ay:()=>j,Bj:()=>T,CT:()=>I,G_:()=>m,HO:()=>u,Hs:()=>f,M7:()=>g,Up:()=>M,VK:()=>E,VO:()=>B,VZ:()=>D,Wm:()=>y,eX:()=>r,iy:()=>k,no:()=>v,om:()=>p,pl:()=>A,ps:()=>F,qX:()=>C,rd:()=>P,ss:()=>h,uJ:()=>S,zn:()=>w});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:g,setSearchFilters:p,setEmailSubject:u,setEmailPreheader:A,setEmailHTML:b,resetEmailSlice:h,setEmailTitle:E,setEmailFromHistory:v,setIsInited:y,setEmailIsAmp:B,setProblemsList:T,setActiveProblemRange:F}=s.actions,w=e=>e[n].invalidateEmailId,M=e=>e[n].editorThemeColor,S=e=>e[n].settings,C=e=>e[n].elementSettings,k=e=>e[n].isSettingsDisabled,I=e=>e[n].searchFilters,f=e=>e[n].email,P=e=>e[n].problemsList,D=e=>e[n].activeProblemRange,j=s},94925:(e,a,l)=>{l.d(a,{Ay:()=>v,FC:()=>g,MY:()=>u,NK:()=>c,NP:()=>E,X:()=>p,aO:()=>h,ff:()=>m,qM:()=>A,ux:()=>b});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,g="trash"===(null===(i=a.arg.originalArgs)||void 0===i?void 0:i.status),p=!(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,A=(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]);g?(p||(e.emailsTrashTotal=c),e.elementsTrashList=l):A?e.customFolders={...e.customFolders,[A]:{list:l,page:u,total:c}}:(a.arg.originalArgs.tags||p||(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:g,removeEmailFromList:p}=r.actions,u=e=>e[s].emailsTotal,A=e=>e[s].elementsList,b=e=>e[s].elementsTrashList,h=e=>e[s].emailsTrashTotal,E=e=>e[s].customFolders,v=r},77532:(e,a,l)=>{l.d(a,{Ac:()=>g,Ay:()=>p,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,g=e=>e[o].currentBackground,p=n},87790:(e,a,l)=>{l.d(a,{AS:()=>p,Ay:()=>y,Bp:()=>c,Sl:()=>v,TB:()=>A,X8:()=>b,ah:()=>E,qT:()=>g});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:g,setNewBlockDescription:p,setNewBlockHtml:u,setNewBlockTags:A,resetNewBlockSlice:b,setBlockIsAmp:h}=m.actions,E=e=>e[r].block,v=e=>e[r].hasChanged,y=m},8493:(e,a,l)=>{l.d(a,{$S:()=>j,Ay:()=>N,BQ:()=>b,Et:()=>I,K3:()=>w,MZ:()=>A,P3:()=>S,TC:()=>y,TU:()=>h,Uh:()=>f,YG:()=>D,Zs:()=>v,aY:()=>B,lg:()=>P,mk:()=>C,ol:()=>M,x3:()=>E,yY:()=>F,zH:()=>k});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 g=(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}),p="newEmailSlice",u=(0,t.createSlice)({name:p,initialState:g,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:g="",utm_content:p=""}={},common_styles:u={},emailtags:A=null,renderGuid:b,title:h,_embedded:E,isAmp:v=!1}})=>{var y;e.hasChanged||(e.hasChanged=!0),e.email.isAmp=v,e.email.title=h,e.emailtags=A,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===(y=(0,c._q)({_embedded:E},d.zh))||void 0===y?void 0:y.map((e=>e.name)))||[],e.email.renderGuid=b,e.email.parent_email=a,e.email.utm_parameters={utm_source:n,utm_medium:r,utm_campaign:m,utm_term:g,utm_content:p},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=>({...g,email:{...g.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=>({...g,email:{...g.email,project:e.email.project,project_title:e.email.project_title}})))}}),{setNewEmailAll:A,setNewEmailTitle:b,setNewEmailSubject:h,setNewEmailPreheader:E,setNewEmailDescription:v,setNewEmailIsTemplate:y,setNewEmailHtml:B,setNewCommonStyles:T,setNewEmailTags:F,setNewEmailUtmSource:w,setNewEmailUtmMedium:M,setNewEmailUtmCampaign:S,setNewEmailUtmContent:C,setNewEmailUtmTerm:k,resetNewEmailSlice:I,setNewIsInited:f,setNewEmailIsAmp:P}=u.actions,D=e=>e[p].email,j=e=>e[p].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:()=>C,Cj:()=>y,Oo:()=>b,Os:()=>E,Wz:()=>h,YF:()=>A,cL:()=>B,gU:()=>S,o8:()=>w,qf:()=>u,sB:()=>v,sK:()=>T,uM:()=>M,vW:()=>F});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}),g="projectsPageSlice",p=(0,t.createSlice)({name:g,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:A,closeModal:b,openSecondModal:h,closeSecondModal:E,setFolders:v,setActiveTagId:y}=p.actions,B=e=>e[g].activeModal,T=e=>e[g].secondModal,F=e=>e[g].projectsTotal,w=e=>e[g].folders,M=e=>e[g].activeTagId,S=e=>e[g].activeTab,C=p},39738:(e,a,l)=>{l.d(a,{Ay:()=>p,RL:()=>g,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,g=e=>e[n].elementHistoryTotalPages,p=s},15115:(e,a,l)=>{l.d(a,{A:()=>t});const t=["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAVnSURBVHgB3Zs9TCNHFMefNwalAMmRCwQUcRqULjZQ0HnpEgkJrgSapIEyRDTpwFWSAh1XQpPrKO8QNFexdBR8+EpozmmABskRLhI+7//fW6P1etce744/f5Lxrr1r5u/35s2bmeeYNAnTNBO3t7fm8/Pzt7FYLI3nNF5O4Djlvg6vF/BaAYdFHOcNwzgcGBjIW5ZVlCYQE41QZKlUWkHDszyVaFj4nPf9/f27R0dHBdGEFsGTk5O05JpEFxmEBS/IHR8fWxKRSIJbINQL3X8FwnclJKEET01Npe7v7/+W1gn18ravry8XxtW/kgaBVVceHx93cPi9tI/009PT3MjISPHq6upjIzcqC2ZASiaTf+KQLvy1tJ8EHnOjo6OJy8vLD6o3Kbm0E30PnKGl4+Bwhmj+SsXF6wp2+usBDlPS2RTQr6fria4puIvElikgvmTy+Xxg0mLUuvvh4eGddI9YkkKmdpBOpxNBFwQKnpiY2OzUPlsLprHxeHw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CcxBkyRSD8sQXpjyWgP8Z/xkXKVP4F5xRLZ3ymA7PO+Egv7sgZX7DXEowzvtL/5MoZY78AtCuuCNb0ZnDLmspWnZrPA/MCCH2vMFNj7YsV1Ak/LMhNfwrT543wwbJd3Hzwc6ET83EEbSqZxvxGZObiPVloODy1Bmo7B9v+8ih57LECUkxtpy2L6fpHW7jgBTDt5BRODLCpaBwLBWPFkuJZ7zcEU8qnjOhjEc55qQvCj+36l663nyZm5A9ms/P034mohwAAAABJRU5ErkJggg=="]},75855:(e,a,l)=>{e.exports=l.p+"static/media/frame_dark.318d7ed5.png"},55231:(e,a,l)=>{e.exports=l.p+"static/media/frame_light.22a9b4ec.png"},47018:(e,a,l)=>{e.exports=l.p+"static/media/frame_template_gallery.85693b39.png"}}]);
@@ -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,{})})})]})]})]})})]})}}}]);