@social-mail/social-mail-client 1.2.768 → 1.2.770

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 (33) hide show
  1. package/dist/site-editor/blocks/ColumnBox.d.ts.map +1 -1
  2. package/dist/site-editor/blocks/ColumnBox.js +1 -0
  3. package/dist/site-editor/blocks/ColumnBox.js.map +1 -1
  4. package/dist/site-editor/blocks/Columns2.js +1 -1
  5. package/dist/site-editor/blocks/Columns3.js +1 -1
  6. package/dist/site-editor/properties/groups/TextPropertyEditor.d.ts.map +1 -1
  7. package/dist/site-editor/properties/groups/TextPropertyEditor.js +3 -0
  8. package/dist/site-editor/properties/groups/TextPropertyEditor.js.map +1 -1
  9. package/dist/site-editor/styler/Styler.d.ts +1 -1
  10. package/dist/site-editor/styler/Styler.d.ts.map +1 -1
  11. package/dist/site-editor/styler/Styler.js +4 -1
  12. package/dist/site-editor/styler/Styler.js.map +1 -1
  13. package/dist/site-editor/styler/StylerSet.d.ts +1 -0
  14. package/dist/site-editor/styler/StylerSet.d.ts.map +1 -1
  15. package/dist/site-editor/styler/properties/child-size/stylerChildSize.js +3 -3
  16. package/dist/site-editor/styler/properties/child-size/stylerChildSize.js.map +1 -1
  17. package/dist/site-editor/styler/properties/text/stylerText.d.ts +1 -0
  18. package/dist/site-editor/styler/properties/text/stylerText.d.ts.map +1 -1
  19. package/dist/site-editor/styler/properties/text/stylerText.js +6 -0
  20. package/dist/site-editor/styler/properties/text/stylerText.js.map +1 -1
  21. package/dist/site-editor-app/SiteEditorApp.pack.js +19 -6
  22. package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
  23. package/dist/site-editor-app/SiteEditorApp.pack.min.js +6 -5
  24. package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
  25. package/dist/tsconfig.tsbuildinfo +1 -1
  26. package/package.json +1 -1
  27. package/src/site-editor/blocks/ColumnBox.tsx +1 -0
  28. package/src/site-editor/blocks/Columns2.tsx +1 -1
  29. package/src/site-editor/blocks/Columns3.tsx +1 -1
  30. package/src/site-editor/properties/groups/TextPropertyEditor.tsx +4 -0
  31. package/src/site-editor/styler/Styler.ts +5 -3
  32. package/src/site-editor/styler/properties/child-size/stylerChildSize.ts +3 -3
  33. package/src/site-editor/styler/properties/text/stylerText.ts +7 -0
@@ -3157,7 +3157,7 @@ html, body {
3157
3157
  margin-left: 20px;
3158
3158
  }
3159
3159
 
3160
- `.installGlobal("[data-html-editor-element=toolbar]")}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/toolbars/EditorToolbar");System.register(["@web-atoms/core/dist/core/Bind","@web-atoms/core/dist/core/XNode","./EditorToolbar"],(function(_export,_context){"use strict";var Bind,XNode,EditorToolbar;function UndoRedoToolbar(){return XNode.create(EditorToolbar,{"data-element":"undo"},XNode.create("i",{"data-click-event":"undo",title:"Undo","data-disabled":Bind.oneWay((editor=>!editor.undoRedo.canUndo)),class:"fas fa-undo"}),XNode.create("i",{"data-click-event":"redo",title:"Redo","data-disabled":Bind.oneWay((editor=>!editor.undoRedo.canRedo)),class:"fas fa-redo"}))}_export("default",UndoRedoToolbar);return{setters:[function(_webAtomsCoreDistCoreBind){Bind=_webAtomsCoreDistCoreBind.default},function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_EditorToolbar){EditorToolbar=_EditorToolbar.default}],execute:function(){}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/toolbars/UndoRedoToolbar");System.register([],(function(_export,_context){"use strict";var StylerSets;return{setters:[],execute:function(){_export("StylerSets",StylerSets={low:[],high:[],register(where,selector,element){const target=this[where];if(element){target.push(element.expand(selector));return}target.push(selector)}})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/StylerSets");System.register(["@web-atoms/core/dist/style/styled","@web-atoms/core/dist/core/AtomBinder"],(function(_export,_context){"use strict";var styled,AtomBinder,StylerVariable,StylerPropertyOption,StylerProperty,camelToSnakeCase,prepareVariables,stylerVars,sizeVarList,colorVarList,pair,createSet,createVarSet,createVarSetWith;_export({StylerVariable:void 0,StylerPropertyOption:void 0,StylerProperty:void 0});return{setters:[function(_webAtomsCoreDistStyleStyled){styled=_webAtomsCoreDistStyleStyled.default},function(_webAtomsCoreDistCoreAtomBinder){AtomBinder=_webAtomsCoreDistCoreAtomBinder.AtomBinder}],execute:function(){camelToSnakeCase=str=>str.replace(/[A-Z]/g,(letter=>`-${letter.toLowerCase()}`));prepareVariables=a=>{const r={};for(const key in a){if(Object.prototype.hasOwnProperty.call(a,key)){const value=a[key];const name=camelToSnakeCase(key);r[key]={name,value,toString(){return`var(--${name}, ${value})`}}}}return r};_export("stylerVars",stylerVars=prepareVariables({sizeZero:"0",sizeThin:"1px",sizeTiny:"2px",sizeSmall:"5px",sizeSmaller:"7px",sizeDefault:"10px",sizeLarger:"15px",sizeLarge:"20px",sizeVeryLarge:"40px",sizeAuto:"auto",sizeMobileWidth:"350px",sizeTabletWidth:"1024px",size10Pc:"10%",size20Pc:"20%",size25Pc:"25%",size30Pc:"30%",size33Pc:"33.3%",size40Pc:"40%",size50Pc:"50%",size60Pc:"60%",size66Pc:"66.6%",size70Pc:"70%",size75Pc:"75%",size80Pc:"80%",size90Pc:"90%",size100Pc:"100%",size10vw:"10vw",size20vw:"20vw",size25vw:"25vw",size30vw:"30vw",size33vw:"33.3vw",size40vw:"40vw",size50vw:"50vw",size60vw:"60vw",size66vw:"66.6vw",size70vw:"70vw",size75vw:"75vw",size80vw:"80vw",size90vw:"90vw",size100vw:"100vw",size10vh:"10vh",size20vh:"20vh",size25vh:"25vh",size30vh:"30vh",size33vh:"33.3vh",size40vh:"40vh",size50vh:"50vh",size60vh:"60vh",size66vh:"66.6vh",size70vh:"70vh",size75vh:"75vh",size80vh:"80vh",size90vh:"90vh",size100vh:"100vh",rem0_5:"0.5rem",rem1:"1rem",rem1_5:"1.5rem",rem2:"2rem",rem2_5:"2.5rem",rem3:"3rem",rem4:"4rem",rem5:"5rem",rem7_5:"7.5rem",rem10:"10rem",rem12_5:"12.5rem",rem15:"15rem",relSizeXS:"20rem",relSizeSmall:"24rem",relSizeMedium:"28rem",relSizeLarge:"32rem",relSizeXL:"36rem",relSize2XL:"42rem",relSize3XL:"48rem",relSize4XL:"56rem",relSize5XL:"64rem",relSize6XL:"72rem",relSize7XL:"80rem",relSizeFull:"100%",relSizeProse:"65ch",transparent:"transparent",bodyColor:"#dddddd50",defaultColor:"canvas",defaultTextColor:"canvastext",borderColor:"#aaaaaa70",headerColor:"#0571ff30",headerTextColor:"",accentColor:"blue",accentTextColor:"white",surfaceColor:"canvas",surfaceTextColor:"canvastext",noteColor:"#ffffe0",noteTextColor:"",warningColor:"#FFC107",warningTextColor:"darkgray",selectionColor:"highlight",selectionTextColor:"highlightText",hoverColor:"#A0A0A010",hoverTextColor:"CanvasText",stopColor:"red",stopTextColor:"white",goColor:"green",goTextColor:"white",acceptColor:"blue",acceptTextColor:"white",rejectColor:"red",rejectTextColor:"white",fontSizeSmall:"0.8125em",commandBgColor:"#F0F0F0",menuBgColor:"#808080",menuColor:"#F0F0F0",linkColor:"blue",buttonBackground:"lightgreen",buttonText:"gray",primaryBackground:"white",primaryColor:"gray",primaryBorderColor:"#aaaaaa70",primaryAccent:"#6145a9c9",primaryAccentText:"white",primarySurface:"#FFFFFFA0",primarySurfaceText:"gray",primaryButtonBackground:"lightblue",primaryButtonText:"gray",secondaryBackground:"#00808050",secondaryBorderColor:"#aaaaaa70",secondaryColor:"gray",secondaryAccent:"#318984a8",secondaryAccentText:"white",secondarySurface:"#FFFFFFA0",secondarySurfaceText:"gray",secondaryButtonBackground:"lightgreen",secondaryButtonText:"gray",tertiaryBackground:"#cfa55c87",tertiaryBorderColor:"#aaaaaa70",tertiaryColor:"gray",tertiaryAccent:"#e17b42cf",tertiaryAccentText:"white",tertiarySurface:"#FFFFFFA0",tertiarySurfaceText:"gray",tertiaryButtonBackground:"lightgreen",tertiaryButtonText:"gray",navBarBackground:"rgb(255 255 255 / 51%)",navBarBackDropFilter:"blur(14px) saturate(180%)"}));_export("sizeVarList",sizeVarList=[stylerVars.sizeZero,stylerVars.sizeAuto,stylerVars.sizeThin,stylerVars.sizeTiny,stylerVars.sizeSmall,stylerVars.sizeSmaller,stylerVars.sizeDefault,stylerVars.sizeLarger,stylerVars.sizeLarge,stylerVars.sizeMobileWidth,stylerVars.sizeTabletWidth,stylerVars.size10Pc,stylerVars.size20Pc,stylerVars.size25Pc,stylerVars.size30Pc,stylerVars.size33Pc,stylerVars.size40Pc,stylerVars.size50Pc,stylerVars.size60Pc,stylerVars.size66Pc,stylerVars.size70Pc,stylerVars.size75Pc,stylerVars.size80Pc,stylerVars.size90Pc,stylerVars.size100Pc,stylerVars.size10vw,stylerVars.size20vw,stylerVars.size25vw,stylerVars.size30vw,stylerVars.size33vw,stylerVars.size40vw,stylerVars.size50vw,stylerVars.size60vw,stylerVars.size66vw,stylerVars.size70vw,stylerVars.size75vw,stylerVars.size80vw,stylerVars.size90vw,stylerVars.size100vw,stylerVars.size10vh,stylerVars.size20vh,stylerVars.size25vh,stylerVars.size30vh,stylerVars.size33vh,stylerVars.size40vh,stylerVars.size50vh,stylerVars.size60vh,stylerVars.size66vh,stylerVars.size70vh,stylerVars.size75vh,stylerVars.size80vh,stylerVars.size90vh,stylerVars.size100vh,stylerVars.rem1,stylerVars.rem2,stylerVars.rem3,stylerVars.rem4,stylerVars.rem5,stylerVars.rem7_5,stylerVars.rem10,stylerVars.rem12_5,stylerVars.rem15,stylerVars.relSizeXS,stylerVars.relSizeSmall,stylerVars.relSizeMedium,stylerVars.relSizeLarge,stylerVars.relSizeXL,stylerVars.relSize2XL,stylerVars.relSize3XL,stylerVars.relSize4XL,stylerVars.relSize5XL,stylerVars.relSize6XL,stylerVars.relSize7XL,stylerVars.relSizeFull,stylerVars.relSizeProse]);_export("colorVarList",colorVarList=[stylerVars.transparent,stylerVars.defaultColor,stylerVars.defaultTextColor,stylerVars.surfaceColor,stylerVars.surfaceTextColor,stylerVars.accentColor,stylerVars.accentTextColor,stylerVars.acceptColor,stylerVars.accentTextColor,stylerVars.borderColor,stylerVars.goColor,stylerVars.goTextColor,stylerVars.headerColor,stylerVars.headerTextColor,stylerVars.hoverColor,stylerVars.hoverTextColor,stylerVars.linkColor,stylerVars.noteColor,stylerVars.noteTextColor,stylerVars.rejectColor,stylerVars.rejectTextColor,stylerVars.selectionColor,stylerVars.selectionTextColor,stylerVars.stopColor,stylerVars.stopTextColor,stylerVars.warningColor,stylerVars.warningTextColor]);_export("StylerVariable",StylerVariable=class StylerVariable{get currentValue(){if(this._currentValue){return this._currentValue}const{document}=this;if(document){return document.defaultView.getComputedStyle(document.body).getPropertyValue(this.propertyName)}return""}set currentValue(v){const{onChange}=this;this._currentValue=v;onChange===null||onChange===void 0?void 0:onChange(this.propertyName,v);AtomBinder.refreshValue(this,"currentValue")}constructor(name,value,document,onChange,propertyName=`--${name}`){this.name=name;this.value=value;this.document=document;this.onChange=onChange;this.propertyName=propertyName}toString(){return`--${this.name}: ${this.value};`}});_export("StylerPropertyOption",StylerPropertyOption=class StylerPropertyOption{constructor(name,value,description){this.name=name;this.description=description;this.value=value.toString()}toString(){return this.value.split("\n").join("\n\t")}toPair(){const description=this.description;const label=description?`${this.name} (${description})`:this.name;const value=this.name;return{label,value}}});_export("StylerProperty",StylerProperty=class StylerProperty{static create(key,styles){return new StylerProperty(key,styles)}constructor(key,values,prefix="",suffix="",media=""){this.key=key;this.prefix=prefix;this.suffix=suffix;this.media=media;this.values=[];const wrapInMedia=media?s=>`${media} {\n ${s} \n}`:s=>s;for(const k in values){if(Object.prototype.hasOwnProperty.call(values,k)){const element=values[k];this.values.push(new StylerPropertyOption(k,wrapInMedia(element.expand(`${prefix}[${this.key}=${k}]${suffix}`)),element.description))}}}toString(){return this.values.join("\n")}});_export("pair",pair=(name,value)=>(!value?(value=name,name=name.replace(" ","-")):name,{name,value}));_export("createSet",createSet=(name,values,appendGlobals=false,addCustom=false)=>{const r={};if(addCustom){r.custom=styled.css`${name}: var(--styler-${name});`}if(appendGlobals){values.push(...["inherit","initial","revert","revert-layer","unset"])}for(const iterator of values){if(typeof iterator==="string"){r[iterator]=styled.css`\t${name}: ${iterator};`;continue}r[iterator.name]=styled.css`\t${name}: ${iterator.value};`}return r});_export("createVarSet",createVarSet=(name,values,addCustom=true,addDefaults=false)=>{const r={};if(addCustom){r.custom=styled.css`${name}: var(--styler-${name});`}for(const iterator of values){r[iterator.name]=styled.css`\t${name}: var(--${iterator.name});`.withDescription(iterator.value)}if(addDefaults){for(const item of["inherit","initial","revert","revert-layer","unset"]){r[item]=styled.css`${name}: ${item}`}}return r});_export("createVarSetWith",createVarSetWith=(name,prefix,values,addCustom=true)=>{const r={};if(addCustom){r.custom=styled.css`${name}: var(--styler-${name});`}for(const iterator of values){r[iterator.name]=styled.css`\t${name}: var(--${iterator.name});`.withDescription(iterator.value)}return r})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/Styler");System.register(["@web-atoms/core/dist/style/styled","../styler/StylerSets","../styler/Styler"],(function(_export,_context){"use strict";var styled,StylerSets,stylerVars,svg,svgCross;return{setters:[function(_webAtomsCoreDistStyleStyled){styled=_webAtomsCoreDistStyleStyled.default},function(_stylerStylerSets){StylerSets=_stylerStylerSets.StylerSets},function(_stylerStyler){stylerVars=_stylerStyler.stylerVars}],execute:function(){StylerSets.register("low",styled.css`
3160
+ `.installGlobal("[data-html-editor-element=toolbar]")}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/toolbars/EditorToolbar");System.register(["@web-atoms/core/dist/core/Bind","@web-atoms/core/dist/core/XNode","./EditorToolbar"],(function(_export,_context){"use strict";var Bind,XNode,EditorToolbar;function UndoRedoToolbar(){return XNode.create(EditorToolbar,{"data-element":"undo"},XNode.create("i",{"data-click-event":"undo",title:"Undo","data-disabled":Bind.oneWay((editor=>!editor.undoRedo.canUndo)),class:"fas fa-undo"}),XNode.create("i",{"data-click-event":"redo",title:"Redo","data-disabled":Bind.oneWay((editor=>!editor.undoRedo.canRedo)),class:"fas fa-redo"}))}_export("default",UndoRedoToolbar);return{setters:[function(_webAtomsCoreDistCoreBind){Bind=_webAtomsCoreDistCoreBind.default},function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_EditorToolbar){EditorToolbar=_EditorToolbar.default}],execute:function(){}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/toolbars/UndoRedoToolbar");System.register([],(function(_export,_context){"use strict";var StylerSets;return{setters:[],execute:function(){_export("StylerSets",StylerSets={low:[],high:[],register(where,selector,element){const target=this[where];if(element){target.push(element.expand(selector));return}target.push(selector)}})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/StylerSets");System.register(["@web-atoms/core/dist/style/styled","@web-atoms/core/dist/core/AtomBinder"],(function(_export,_context){"use strict";var styled,AtomBinder,StylerVariable,StylerPropertyOption,StylerProperty,camelToSnakeCase,prepareVariables,stylerVars,sizeVarList,colorVarList,pair,createSet,createVarSet,createVarSetWith;_export({StylerVariable:void 0,StylerPropertyOption:void 0,StylerProperty:void 0});return{setters:[function(_webAtomsCoreDistStyleStyled){styled=_webAtomsCoreDistStyleStyled.default},function(_webAtomsCoreDistCoreAtomBinder){AtomBinder=_webAtomsCoreDistCoreAtomBinder.AtomBinder}],execute:function(){camelToSnakeCase=str=>str.replace(/[A-Z]/g,(letter=>`-${letter.toLowerCase()}`));prepareVariables=a=>{const r={};for(const key in a){if(Object.prototype.hasOwnProperty.call(a,key)){const value=a[key];const name=camelToSnakeCase(key);r[key]={name,value,toString(){return`var(--${name}, ${value})`}}}}return r};_export("stylerVars",stylerVars=prepareVariables({sizeZero:"0",sizeThin:"1px",sizeTiny:"2px",sizeSmall:"5px",sizeSmaller:"7px",sizeDefault:"10px",sizeLarger:"15px",sizeLarge:"20px",sizeVeryLarge:"40px",sizeAuto:"auto",sizeMobileWidth:"350px",sizeTabletWidth:"1024px",size10Pc:"10%",size20Pc:"20%",size25Pc:"25%",size30Pc:"30%",size33Pc:"33.3%",size40Pc:"40%",size50Pc:"50%",size60Pc:"60%",size66Pc:"66.6%",size70Pc:"70%",size75Pc:"75%",size80Pc:"80%",size90Pc:"90%",size100Pc:"100%",size10vw:"10vw",size20vw:"20vw",size25vw:"25vw",size30vw:"30vw",size33vw:"33.3vw",size40vw:"40vw",size50vw:"50vw",size60vw:"60vw",size66vw:"66.6vw",size70vw:"70vw",size75vw:"75vw",size80vw:"80vw",size90vw:"90vw",size100vw:"100vw",size10vh:"10vh",size20vh:"20vh",size25vh:"25vh",size30vh:"30vh",size33vh:"33.3vh",size40vh:"40vh",size50vh:"50vh",size60vh:"60vh",size66vh:"66.6vh",size70vh:"70vh",size75vh:"75vh",size80vh:"80vh",size90vh:"90vh",size100vh:"100vh",rem0_5:"0.5rem",rem1:"1rem",rem1_5:"1.5rem",rem2:"2rem",rem2_5:"2.5rem",rem3:"3rem",rem4:"4rem",rem5:"5rem",rem7_5:"7.5rem",rem10:"10rem",rem12_5:"12.5rem",rem15:"15rem",relSizeXS:"20rem",relSizeSmall:"24rem",relSizeMedium:"28rem",relSizeLarge:"32rem",relSizeXL:"36rem",relSize2XL:"42rem",relSize3XL:"48rem",relSize4XL:"56rem",relSize5XL:"64rem",relSize6XL:"72rem",relSize7XL:"80rem",relSizeFull:"100%",relSizeProse:"65ch",transparent:"transparent",bodyColor:"#dddddd50",defaultColor:"canvas",defaultTextColor:"canvastext",borderColor:"#aaaaaa70",headerColor:"#0571ff30",headerTextColor:"",accentColor:"blue",accentTextColor:"white",surfaceColor:"canvas",surfaceTextColor:"canvastext",noteColor:"#ffffe0",noteTextColor:"",warningColor:"#FFC107",warningTextColor:"darkgray",selectionColor:"highlight",selectionTextColor:"highlightText",hoverColor:"#A0A0A010",hoverTextColor:"CanvasText",stopColor:"red",stopTextColor:"white",goColor:"green",goTextColor:"white",acceptColor:"blue",acceptTextColor:"white",rejectColor:"red",rejectTextColor:"white",fontSizeSmall:"0.8125em",commandBgColor:"#F0F0F0",menuBgColor:"#808080",menuColor:"#F0F0F0",linkColor:"blue",buttonBackground:"lightgreen",buttonText:"gray",primaryBackground:"white",primaryColor:"gray",primaryBorderColor:"#aaaaaa70",primaryAccent:"#6145a9c9",primaryAccentText:"white",primarySurface:"#FFFFFFA0",primarySurfaceText:"gray",primaryButtonBackground:"lightblue",primaryButtonText:"gray",secondaryBackground:"#00808050",secondaryBorderColor:"#aaaaaa70",secondaryColor:"gray",secondaryAccent:"#318984a8",secondaryAccentText:"white",secondarySurface:"#FFFFFFA0",secondarySurfaceText:"gray",secondaryButtonBackground:"lightgreen",secondaryButtonText:"gray",tertiaryBackground:"#cfa55c87",tertiaryBorderColor:"#aaaaaa70",tertiaryColor:"gray",tertiaryAccent:"#e17b42cf",tertiaryAccentText:"white",tertiarySurface:"#FFFFFFA0",tertiarySurfaceText:"gray",tertiaryButtonBackground:"lightgreen",tertiaryButtonText:"gray",navBarBackground:"rgb(255 255 255 / 51%)",navBarBackDropFilter:"blur(14px) saturate(180%)"}));_export("sizeVarList",sizeVarList=[stylerVars.sizeZero,stylerVars.sizeAuto,stylerVars.sizeThin,stylerVars.sizeTiny,stylerVars.sizeSmall,stylerVars.sizeSmaller,stylerVars.sizeDefault,stylerVars.sizeLarger,stylerVars.sizeLarge,stylerVars.sizeMobileWidth,stylerVars.sizeTabletWidth,stylerVars.size10Pc,stylerVars.size20Pc,stylerVars.size25Pc,stylerVars.size30Pc,stylerVars.size33Pc,stylerVars.size40Pc,stylerVars.size50Pc,stylerVars.size60Pc,stylerVars.size66Pc,stylerVars.size70Pc,stylerVars.size75Pc,stylerVars.size80Pc,stylerVars.size90Pc,stylerVars.size100Pc,stylerVars.size10vw,stylerVars.size20vw,stylerVars.size25vw,stylerVars.size30vw,stylerVars.size33vw,stylerVars.size40vw,stylerVars.size50vw,stylerVars.size60vw,stylerVars.size66vw,stylerVars.size70vw,stylerVars.size75vw,stylerVars.size80vw,stylerVars.size90vw,stylerVars.size100vw,stylerVars.size10vh,stylerVars.size20vh,stylerVars.size25vh,stylerVars.size30vh,stylerVars.size33vh,stylerVars.size40vh,stylerVars.size50vh,stylerVars.size60vh,stylerVars.size66vh,stylerVars.size70vh,stylerVars.size75vh,stylerVars.size80vh,stylerVars.size90vh,stylerVars.size100vh,stylerVars.rem1,stylerVars.rem2,stylerVars.rem3,stylerVars.rem4,stylerVars.rem5,stylerVars.rem7_5,stylerVars.rem10,stylerVars.rem12_5,stylerVars.rem15,stylerVars.relSizeXS,stylerVars.relSizeSmall,stylerVars.relSizeMedium,stylerVars.relSizeLarge,stylerVars.relSizeXL,stylerVars.relSize2XL,stylerVars.relSize3XL,stylerVars.relSize4XL,stylerVars.relSize5XL,stylerVars.relSize6XL,stylerVars.relSize7XL,stylerVars.relSizeFull,stylerVars.relSizeProse]);_export("colorVarList",colorVarList=[stylerVars.transparent,stylerVars.defaultColor,stylerVars.defaultTextColor,stylerVars.surfaceColor,stylerVars.surfaceTextColor,stylerVars.accentColor,stylerVars.accentTextColor,stylerVars.acceptColor,stylerVars.accentTextColor,stylerVars.borderColor,stylerVars.goColor,stylerVars.goTextColor,stylerVars.headerColor,stylerVars.headerTextColor,stylerVars.hoverColor,stylerVars.hoverTextColor,stylerVars.linkColor,stylerVars.noteColor,stylerVars.noteTextColor,stylerVars.rejectColor,stylerVars.rejectTextColor,stylerVars.selectionColor,stylerVars.selectionTextColor,stylerVars.stopColor,stylerVars.stopTextColor,stylerVars.warningColor,stylerVars.warningTextColor]);_export("StylerVariable",StylerVariable=class StylerVariable{get currentValue(){if(this._currentValue){return this._currentValue}const{document}=this;if(document){return document.defaultView.getComputedStyle(document.body).getPropertyValue(this.propertyName)}return""}set currentValue(v){const{onChange}=this;this._currentValue=v;onChange===null||onChange===void 0?void 0:onChange(this.propertyName,v);AtomBinder.refreshValue(this,"currentValue")}constructor(name,value,document,onChange,propertyName=`--${name}`){this.name=name;this.value=value;this.document=document;this.onChange=onChange;this.propertyName=propertyName}toString(){return`--${this.name}: ${this.value};`}});_export("StylerPropertyOption",StylerPropertyOption=class StylerPropertyOption{constructor(name,value,description){this.name=name;this.description=description;this.value=value.toString()}toString(){return this.value.split("\n").join("\n\t")}toPair(){const description=this.description;const label=description?`${this.name} (${description})`:this.name;const value=this.name;return{label,value}}});_export("StylerProperty",StylerProperty=class StylerProperty{static create(key,styles){return new StylerProperty(key,styles)}constructor(key,values,prefix="",suffix="",media=""){this.key=key;this.prefix=prefix;this.suffix=suffix;this.media=media;this.values=[];const wrapInMedia=media?s=>`${media} {\n ${s} \n}`:s=>s;for(const k in values){if(Object.prototype.hasOwnProperty.call(values,k)){const element=values[k];this.values.push(new StylerPropertyOption(k,wrapInMedia(element.expand(`${prefix}[${this.key}=${k}]${suffix}`)),element.description))}}}toString(){return this.values.join("\n")}});_export("pair",pair=(name,value)=>(!value?(value=name,name=name.replace(" ","-")):name,{name,value}));_export("createSet",createSet=(name,values,appendGlobals=false,addCustom=false)=>{const r={};if(addCustom){r.custom=styled.css`${name}: var(--styler-${name});`}if(appendGlobals){values.push(...["inherit","initial","revert","revert-layer","unset"])}for(const iterator of values){if(typeof iterator==="string"){r[iterator]=styled.css`\t${name}: ${iterator};`;continue}r[iterator.name]=styled.css`\t${name}: ${iterator.value};`}return r});_export("createVarSet",createVarSet=(name,values,addCustom=true,addDefaults=false)=>{const r={};if(addCustom){if(typeof addCustom!=="string"){addCustom=`--styler-${name}`}r.custom=styled.css`${name}: var(${addCustom});`}for(const iterator of values){r[iterator.name]=styled.css`\t${name}: var(--${iterator.name});`.withDescription(iterator.value)}if(addDefaults){for(const item of["inherit","initial","revert","revert-layer","unset"]){r[item]=styled.css`${name}: ${item}`}}return r});_export("createVarSetWith",createVarSetWith=(name,prefix,values,addCustom=true)=>{const r={};if(addCustom){r.custom=styled.css`${name}: var(--styler-${name});`}for(const iterator of values){r[iterator.name]=styled.css`\t${name}: var(--${iterator.name});`.withDescription(iterator.value)}return r})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/Styler");System.register(["@web-atoms/core/dist/style/styled","../styler/StylerSets","../styler/Styler"],(function(_export,_context){"use strict";var styled,StylerSets,stylerVars,svg,svgCross;return{setters:[function(_webAtomsCoreDistStyleStyled){styled=_webAtomsCoreDistStyleStyled.default},function(_stylerStylerSets){StylerSets=_stylerStylerSets.StylerSets},function(_stylerStyler){stylerVars=_stylerStyler.stylerVars}],execute:function(){StylerSets.register("low",styled.css`
3161
3161
  display: flex;
3162
3162
  flex-direction: column;
3163
3163
  align-items: stretch;
@@ -3574,7 +3574,7 @@ html, body {
3574
3574
  border: solid 1px lightgray;
3575
3575
  `}),stylerBorderRadius:new StylerProperty("styler-border-radius",createVarSet("border-radius",sizeVarList)),stylerBorderWidth:new StylerProperty("styler-border-width",createVarSet("border-width",sizeVarList)),stylerBorderColor:new StylerProperty("styler-border-color",createVarSet("border-color",colorVarList))})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/stylerBorder");System.register(["../../Styler"],(function(_export,_context){"use strict";var StylerProperty,createSet,stylerDisplay;return{setters:[function(_Styler){StylerProperty=_Styler.StylerProperty;createSet=_Styler.createSet}],execute:function(){_export("stylerDisplay",stylerDisplay=StylerProperty.create("styler-display",createSet("display",["block","flex","grid","inline-block","inline-flex","inline-grid","none"])))}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/layouts/display");System.register(["../../../Styler"],(function(_export,_context){"use strict";var StylerProperty,createSet,stylerFlexDirection;return{setters:[function(_Styler){StylerProperty=_Styler.StylerProperty;createSet=_Styler.createSet}],execute:function(){_export("stylerFlexDirection",stylerFlexDirection=new StylerProperty("styler-flex-direction",createSet("flex-direction",["row","column","row-reverse","column-reverse"])))}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/layouts/flex/flex");System.register(["../../../Styler"],(function(_export,_context){"use strict";var StylerProperty,createSet,createVarSet,pair,sizeVarList,itemPositions;return{setters:[function(_Styler){StylerProperty=_Styler.StylerProperty;createSet=_Styler.createSet;createVarSet=_Styler.createVarSet;pair=_Styler.pair;sizeVarList=_Styler.sizeVarList}],execute:function(){_export("itemPositions",itemPositions={stylerAlignContent:new StylerProperty("styler-align-content",createSet("align-content",["center","start","end","flex-start","flex-end","normal","baseline","space-between","space-around","space-evenly","stretch",pair("safe-center","safe center"),pair("unsafe-center","unsafe center"),pair("first-baseline","first baseline"),pair("last-baseline","last baseline")])),stylerAlignItems:new StylerProperty("styler-align-items",createSet("align-items",["normal","stretch","center","start","end","flex-start","flex-end","self-start","self-end","baseline",pair("first baseline"),pair("last baseline"),pair("safe center"),pair("unsafe center")])),stylerAlignSelf:new StylerProperty("styler-align-self",createSet("align-self",["normal","auto","center","start","end","self-start","self-end","flex-start","flex-end","baseline",pair("first baseline"),pair("last baseline"),"stretch",pair("safe center"),pair("unsafe center")])),stylerJustifyItems:new StylerProperty("styler-justify-items",createSet("justify-items",["normal","stretch","center","start","end","flex-start","flex-end","self-start","self-end","left","right","baseline",pair("first baseline"),pair("last baseline"),pair("safe center"),pair("unsafe center"),pair("legacy right"),pair("legacy left"),pair("legacy center")])),stylerJustifyContent:new StylerProperty("styler-justify-content",createSet("justify-content",["center","start","end","flex-start","flex-end","left","right","normal","space-between","space-around","space-evenly","stretch",pair("safe center"),pair("unsafe center")])),stylerJustifySelf:new StylerProperty("styler-justify-self",createSet("justify-self",["auto","normal","stretch","center","start","end","flex-start","flex-end","self-start","self-end","left","right","baseline",pair("first baseline"),pair("last baseline"),pair("safe center"),pair("unsafe center")])),stylerGap:new StylerProperty("styler-gap",createVarSet("gap",sizeVarList)),stylerRowGap:new StylerProperty("styler-row-gap",createVarSet("row-gap",sizeVarList)),stylerColumnGap:new StylerProperty("styler-column-gap",createVarSet("column-gap",sizeVarList)),stylerFlexWrap:new StylerProperty("styler-flex-wrap",createSet("flex-wrap",["none","wrap"]))})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/layouts/items-position/itemsPosition");System.register(["../../Styler"],(function(_export,_context){"use strict";var StylerProperty,stylerLayout;return{setters:[function(_Styler){StylerProperty=_Styler.StylerProperty}],execute:function(){_export("stylerLayout",stylerLayout=StylerProperty.create("styler-layout",{}))}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/layouts/layout");System.register(["@web-atoms/core/dist/style/styled","../Styler","../StylerSets"],(function(_export,_context){"use strict";var styled,StylerProperty,createSet,createVarSet,sizeVarList,StylerSets,stylerPosition;return{setters:[function(_webAtomsCoreDistStyleStyled){styled=_webAtomsCoreDistStyleStyled.default},function(_Styler){StylerProperty=_Styler.StylerProperty;createSet=_Styler.createSet;createVarSet=_Styler.createVarSet;sizeVarList=_Styler.sizeVarList},function(_StylerSets){StylerSets=_StylerSets.StylerSets}],execute:function(){_export("stylerPosition",stylerPosition={stylerPosition:new StylerProperty("styler-position",createSet("position",["absolute","relative","static","sticky","fixed"])),stylerLeft:new StylerProperty("styler-left",createVarSet("left",sizeVarList)),stylerTop:new StylerProperty("styler-top",createVarSet("top",sizeVarList)),stylerRight:new StylerProperty("styler-right",createVarSet("right",sizeVarList)),stylerBottom:new StylerProperty("styler-bottom",createVarSet("bottom",sizeVarList)),stylerZIndex:new StylerProperty("styler-z-index",createSet("z-index",[{name:"none",value:"unset"},{name:"last",value:"-100000"},{name:"back",value:"-100"},{name:"front",value:"100"},{name:"first",value:"100000"}],true,true))});StylerSets.register("high",styled.css`
3576
3576
  z-index: 100;
3577
- `.expand("[styler-position=sticky][styler-position=sticky][styler-position=sticky]"))}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/stylerPosition");System.register(["../Styler"],(function(_export,_context){"use strict";var StylerProperty,createVarSet,sizeVarList,stylerSizes;return{setters:[function(_Styler){StylerProperty=_Styler.StylerProperty;createVarSet=_Styler.createVarSet;sizeVarList=_Styler.sizeVarList}],execute:function(){_export("stylerSizes",stylerSizes={stylerWidth:new StylerProperty("styler-width",createVarSet("width",sizeVarList)),stylerMinWidth:new StylerProperty("styler-min-width",createVarSet("min-width",sizeVarList)),stylerMaxWidth:new StylerProperty("styler-max-width",createVarSet("max-width",sizeVarList)),stylerHeight:new StylerProperty("styler-height",createVarSet("height",sizeVarList)),stylerMinHeight:new StylerProperty("styler-min-height",createVarSet("min-height",sizeVarList)),stylerMaxHeight:new StylerProperty("styler-max-height",createVarSet("max-height",sizeVarList))})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/stylerSizes");System.register(["../Styler"],(function(_export,_context){"use strict";var StylerProperty,createVarSet,sizeVarList,stylerSpace;return{setters:[function(_Styler){StylerProperty=_Styler.StylerProperty;createVarSet=_Styler.createVarSet;sizeVarList=_Styler.sizeVarList}],execute:function(){_export("stylerSpace",stylerSpace={stylerPadding:new StylerProperty("styler-padding",createVarSet("padding",sizeVarList)),stylerPaddingLeft:new StylerProperty("styler-padding-left",createVarSet("padding-left",sizeVarList)),stylerPaddingTop:new StylerProperty("styler-padding-top",createVarSet("padding-top",sizeVarList)),stylerPaddingRight:new StylerProperty("styler-padding-right",createVarSet("padding-right",sizeVarList)),stylerPaddingBottom:new StylerProperty("styler-padding-bottom",createVarSet("padding-bottom",sizeVarList)),stylerMargin:new StylerProperty("styler-margin",createVarSet("margin",sizeVarList)),stylerMarginLeft:new StylerProperty("styler-margin-left",createVarSet("margin-left",sizeVarList)),stylerMarginTop:new StylerProperty("styler-margin-top",createVarSet("margin-top",sizeVarList)),stylerMarginRight:new StylerProperty("styler-margin-right",createVarSet("margin-right",sizeVarList)),stylerMarginBottom:new StylerProperty("styler-margin-bottom",createVarSet("margin-bottom",sizeVarList))})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/stylerSpace");System.register(["@web-atoms/core/dist/style/styled","../../Styler"],(function(_export,_context){"use strict";var styled,StylerProperty,colorVarList,createSet,createVarSet,sizeVarList,stylerText;return{setters:[function(_webAtomsCoreDistStyleStyled){styled=_webAtomsCoreDistStyleStyled.default},function(_Styler){StylerProperty=_Styler.StylerProperty;colorVarList=_Styler.colorVarList;createSet=_Styler.createSet;createVarSet=_Styler.createVarSet;sizeVarList=_Styler.sizeVarList}],execute:function(){_export("stylerText",stylerText={stylerColor:new StylerProperty("styler-color",createVarSet("color",colorVarList,true,true)),stylerHoverColor:new StylerProperty("styler-hover-color",createVarSet("color",colorVarList,true,true),"",":hover"),stylerFontFamily:new StylerProperty("styler-font-family",createSet("font-family",[],false,true)),stylerFontSize:new StylerProperty("styler-font-size",createSet("font-size",["xx-small","x-small","small","smaller","medium","large","larger","x-large","xx-large",...sizeVarList],false,true)),stylerFontWeight:new StylerProperty("styler-font-weight",createSet("font-weight",["normal","bold","bolder","lighter"],false,true)),stylerFontStyle:new StylerProperty("styler-font-style",createSet("font-style",["normal","italic","oblique"],false,true)),stylerTextAlign:new StylerProperty("styler-text-align",createSet("text-align",["left","right","center","justify"])),stylerLineHeight:new StylerProperty("styler-line-height",createSet("line-height",["normal",...sizeVarList])),stylerLetterSpacing:new StylerProperty("styler-letter-spacing",createVarSet("letter-spacing",sizeVarList)),stylerTextDecoration:new StylerProperty("styler-text-decoration",createSet("text-decoration",["none","underline","overline","line-through"])),stylerTextTransform:new StylerProperty("styler-text-transform",createSet("text-transform",["none","capitalize","uppercase","lowercase"])),stylerDirection:new StylerProperty("styler-direction",createSet("direction",["ltr","rtl"])),stylerWhiteSpace:new StylerProperty("styler-white-space",createSet("white-space",["normal","break-spaces","nowrap","pre","pre-line","pre-wrap"])),stylerTextOutline:new StylerProperty("styler-text-outline",{thin:styled.css`
3577
+ `.expand("[styler-position=sticky][styler-position=sticky][styler-position=sticky]"))}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/stylerPosition");System.register(["../Styler"],(function(_export,_context){"use strict";var StylerProperty,createVarSet,sizeVarList,stylerSizes;return{setters:[function(_Styler){StylerProperty=_Styler.StylerProperty;createVarSet=_Styler.createVarSet;sizeVarList=_Styler.sizeVarList}],execute:function(){_export("stylerSizes",stylerSizes={stylerWidth:new StylerProperty("styler-width",createVarSet("width",sizeVarList)),stylerMinWidth:new StylerProperty("styler-min-width",createVarSet("min-width",sizeVarList)),stylerMaxWidth:new StylerProperty("styler-max-width",createVarSet("max-width",sizeVarList)),stylerHeight:new StylerProperty("styler-height",createVarSet("height",sizeVarList)),stylerMinHeight:new StylerProperty("styler-min-height",createVarSet("min-height",sizeVarList)),stylerMaxHeight:new StylerProperty("styler-max-height",createVarSet("max-height",sizeVarList))})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/stylerSizes");System.register(["../Styler"],(function(_export,_context){"use strict";var StylerProperty,createVarSet,sizeVarList,stylerSpace;return{setters:[function(_Styler){StylerProperty=_Styler.StylerProperty;createVarSet=_Styler.createVarSet;sizeVarList=_Styler.sizeVarList}],execute:function(){_export("stylerSpace",stylerSpace={stylerPadding:new StylerProperty("styler-padding",createVarSet("padding",sizeVarList)),stylerPaddingLeft:new StylerProperty("styler-padding-left",createVarSet("padding-left",sizeVarList)),stylerPaddingTop:new StylerProperty("styler-padding-top",createVarSet("padding-top",sizeVarList)),stylerPaddingRight:new StylerProperty("styler-padding-right",createVarSet("padding-right",sizeVarList)),stylerPaddingBottom:new StylerProperty("styler-padding-bottom",createVarSet("padding-bottom",sizeVarList)),stylerMargin:new StylerProperty("styler-margin",createVarSet("margin",sizeVarList)),stylerMarginLeft:new StylerProperty("styler-margin-left",createVarSet("margin-left",sizeVarList)),stylerMarginTop:new StylerProperty("styler-margin-top",createVarSet("margin-top",sizeVarList)),stylerMarginRight:new StylerProperty("styler-margin-right",createVarSet("margin-right",sizeVarList)),stylerMarginBottom:new StylerProperty("styler-margin-bottom",createVarSet("margin-bottom",sizeVarList))})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/stylerSpace");System.register(["@web-atoms/core/dist/style/styled","../../Styler"],(function(_export,_context){"use strict";var styled,StylerProperty,colorVarList,createSet,createVarSet,sizeVarList,stylerText;return{setters:[function(_webAtomsCoreDistStyleStyled){styled=_webAtomsCoreDistStyleStyled.default},function(_Styler){StylerProperty=_Styler.StylerProperty;colorVarList=_Styler.colorVarList;createSet=_Styler.createSet;createVarSet=_Styler.createVarSet;sizeVarList=_Styler.sizeVarList}],execute:function(){_export("stylerText",stylerText={stylerColor:new StylerProperty("styler-color",createVarSet("color",colorVarList,true,true)),stylerHoverColor:new StylerProperty("styler-hover-color",createVarSet("color",colorVarList,true,true),"",":hover"),stylerFontFamily:new StylerProperty("styler-font-family",createSet("font-family",[],false,true)),stylerFontSize:new StylerProperty("styler-font-size",createSet("font-size",["xx-small","x-small","small","smaller","medium","large","larger","x-large","xx-large",...sizeVarList],false,true)),stylerFontWeight:new StylerProperty("styler-font-weight",createSet("font-weight",["normal","bold","bolder","lighter"],false,true)),stylerFontStyle:new StylerProperty("styler-font-style",createSet("font-style",["normal","italic","oblique"],false,true)),stylerTextAlign:new StylerProperty("styler-text-align",createSet("text-align",["left","right","center","justify"])),stylerLineHeight:new StylerProperty("styler-line-height",createSet("line-height",["normal",...sizeVarList])),stylerLetterSpacing:new StylerProperty("styler-letter-spacing",createVarSet("letter-spacing",sizeVarList)),stylerTextDecoration:new StylerProperty("styler-text-decoration",createSet("text-decoration",["none","underline","overline","line-through"])),stylerTextTransform:new StylerProperty("styler-text-transform",createSet("text-transform",["none","capitalize","uppercase","lowercase"])),stylerDirection:new StylerProperty("styler-direction",createSet("direction",["ltr","rtl"])),stylerWhiteSpace:new StylerProperty("styler-white-space",createSet("white-space",["normal","break-spaces","nowrap","pre","pre-line","pre-wrap"])),stylerTextShadow:new StylerProperty("styler-text-shadow",{custom:styled.css`text-shadow: var(--styler-text-shadow);`,thin:styled.css`text-shadow: 0 0 1px var(--text-border-color, darkgray);`,medium:styled.css`text-shadow: 0 0 2px var(--text-border-color, darkgray);`,thick:styled.css`text-shadow: 0 0 4px var(--text-border-color, darkgray);`}),stylerTextOutline:new StylerProperty("styler-text-outline",{thin:styled.css`
3578
3578
  -webkit-text-fill-color: transparent;
3579
3579
  -webkit-text-stroke-color: currentColor;
3580
3580
  -webkit-text-stroke-width: thin;
@@ -3716,7 +3716,7 @@ html, body {
3716
3716
  background: ${stylerVars.tertiaryButtonBackground};
3717
3717
  color: ${stylerVars.tertiaryButtonText};
3718
3718
  }
3719
- `}))}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/color-sets/stylerColorSets");System.register(["../../Styler"],(function(_export,_context){"use strict";var StylerProperty,createSet,stylerImage;return{setters:[function(_Styler){StylerProperty=_Styler.StylerProperty;createSet=_Styler.createSet}],execute:function(){_export("stylerImage",stylerImage={stylerObjectFit:new StylerProperty("styler-object-fit",createSet("object-fit",["contain","cover","fill","none","scale-down"])),stylerImageOrientation:new StylerProperty("styler-image-orientation",createSet("image-orientation",["none","from-image"])),stylerImageRendering:new StylerProperty("styler-image-rendering",createSet("image-rendering",["auto","smooth","high-quality","crisp-edges","pixelated"])),stylerImageResolution:new StylerProperty("styler-image-resolution",createSet("image-resolution",["from-image","snap"]))})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/img/stylerImage");System.register(["../../Styler"],(function(_export,_context){"use strict";var StylerProperty,createSet,stylerOverflow;return{setters:[function(_Styler){StylerProperty=_Styler.StylerProperty;createSet=_Styler.createSet}],execute:function(){_export("stylerOverflow",stylerOverflow={stylerOverflow:new StylerProperty("styler-overflow",createSet("overflow",["hidden","auto","scroll"])),stylerOverflowX:new StylerProperty("styler-overflow-x",createSet("overflow",["hidden","auto","scroll"])),stylerOverflowY:new StylerProperty("styler-overflow-y",createSet("overflow",["hidden","auto","scroll"]))})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/scroll/stylerOverflow");System.register(["@web-atoms/core/dist/style/styled","../Styler"],(function(_export,_context){"use strict";var styled,StylerProperty,stylerEffects;return{setters:[function(_webAtomsCoreDistStyleStyled){styled=_webAtomsCoreDistStyleStyled.default},function(_Styler){StylerProperty=_Styler.StylerProperty}],execute:function(){_export("stylerEffects",stylerEffects={stylerBackdropFilter:new StylerProperty("styler-backdrop-filter",{none:styled.css`backdrop-filter: none;`,grayscale:styled.css`backdrop-filter: grayscale(1);`,blur:styled.css`backdrop-filter: blur(15px) saturate(180%);`}),stylerBackfaceVisibility:new StylerProperty("styler-backdrop-visibility",{none:styled.css`backface-visibility: none;`,visible:styled.css`backface-visibility: visible;`,hidden:styled.css`backface-visibility: hidden;`}),stylerBoxShadow:new StylerProperty("styler-box-shadow",{none:styled.css`box-shadow: none;`,default:styled.css`box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, 0.14);`,thin:styled.css`box-shadow: 0px 3px 5px 3px rgba(0, 0, 0, .51);`,"thin-all":styled.css`box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, .51);`,thick:styled.css`box-shadow: 0px 6px 9px 6px rgba(0, 0, 0, .51);`,"thick-all":styled.css`box-shadow: 0px 0px 9px 6px rgba(0, 0, 0, .51);`})})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/effects");System.register(["@web-atoms/core/dist/style/styled","../../Styler"],(function(_export,_context){"use strict";var styled,StylerProperty,createSet,stylerTransform;return{setters:[function(_webAtomsCoreDistStyleStyled){styled=_webAtomsCoreDistStyleStyled.default},function(_Styler){StylerProperty=_Styler.StylerProperty;createSet=_Styler.createSet}],execute:function(){_export("stylerTransform",stylerTransform={stylerDesktopTransform:new StylerProperty("styler-desktop-transform",{custom:styled.css`transform: var(--styler-desktop-transform);`},"","","@media (min-width:900px)"),stylerDesktopTransformOrigin:new StylerProperty("styler-desktop-origin",createSet("transform-origin",["custom","left","right","center","top","bottom","top left","bottom left","top right","bottom right"]),"","","@media (min-width:700px)"),stylerTabletTransform:new StylerProperty("styler-tablet-transform",{custom:styled.css`transform: var(--styler-tablet-transform);`},"","","@media (min-width:700px)"),stylerTabletTransformOrigin:new StylerProperty("styler-tablet-origin",createSet("transform-origin",["custom","left","right","center","top","bottom","top left","bottom left","top right","bottom right"]),"","","@media (min-width:700px)")})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/transform/stylerTransform");System.register(["../../Styler"],(function(_export,_context){"use strict";var createVarSet,sizeVarList,StylerProperty,createDesktopSize,createTabletSize,createChildSize,stylerChildSize;return{setters:[function(_Styler){createVarSet=_Styler.createVarSet;sizeVarList=_Styler.sizeVarList;StylerProperty=_Styler.StylerProperty}],execute:function(){createDesktopSize=name=>new StylerProperty("styler-desktop-child-"+name,createVarSet(name,sizeVarList),""," > *","@media (min-width: 900px)");createTabletSize=name=>new StylerProperty("styler-tablet-child-"+name,createVarSet(name,sizeVarList),""," > *","@media (min-width: 700px)");createChildSize=name=>new StylerProperty("styler-all-child-"+name,createVarSet(name,sizeVarList),""," > *");_export("stylerChildSize",stylerChildSize={stylerDesktopChildWidth:createDesktopSize("width"),stylerDesktopChildHeight:createDesktopSize("height"),stylerTabletChildWidth:createTabletSize("width"),stylerTabletChildHeight:createTabletSize("height"),stylerChildWidth:createChildSize("width"),stylerChildHeight:createChildSize("height"),stylerDesktopChildMinWidth:createDesktopSize("min-width"),stylerDesktopChildMinHeight:createDesktopSize("min-height"),stylerTabletChildMinWidth:createTabletSize("min-width"),stylerTabletChildMinHeight:createTabletSize("min-height"),stylerChildMinWidth:createChildSize("min-width"),stylerChildMinHeight:createChildSize("min-height"),stylerDesktopChildMaxWidth:createDesktopSize("max-width"),stylerDesktopChildMaxHeight:createDesktopSize("max-height"),stylerTabletChildMaxWidth:createTabletSize("max-width"),stylerTabletChildMaxHeight:createTabletSize("max-height"),stylerChildMaxWidth:createChildSize("max-width"),stylerChildMaxHeight:createChildSize("max-height")})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/child-size/stylerChildSize");System.register(["./Styler","./properties/stylerBorder","./properties/layouts/display","./properties/layouts/flex/flex","./properties/layouts/items-position/itemsPosition","./properties/layouts/layout","./properties/stylerPosition","./properties/stylerSizes","./properties/stylerSpace","./properties/text/stylerText","./properties/stylerBackground","./properties/color-sets/stylerColorSets","./StylerSets","./properties/img/stylerImage","./properties/scroll/stylerOverflow","./properties/effects","./properties/transform/stylerTransform","./properties/child-size/stylerChildSize"],(function(_export,_context){"use strict";var StylerVariable,stylerVars,stylerBorder,stylerDisplay,stylerFlexDirection,itemPositions,stylerLayout,stylerPosition,stylerSizes,stylerSpace,stylerText,stylerBackground,stylerColorSets,StylerSets,stylerImage,stylerOverflow,stylerEffects,stylerTransform,stylerChildSize,StylerSet,vars;_export("StylerSet",void 0);return{setters:[function(_Styler){StylerVariable=_Styler.StylerVariable;stylerVars=_Styler.stylerVars},function(_propertiesStylerBorder){stylerBorder=_propertiesStylerBorder.stylerBorder},function(_propertiesLayoutsDisplay){stylerDisplay=_propertiesLayoutsDisplay.stylerDisplay},function(_propertiesLayoutsFlexFlex){stylerFlexDirection=_propertiesLayoutsFlexFlex.stylerFlexDirection},function(_propertiesLayoutsItemsPositionItemsPosition){itemPositions=_propertiesLayoutsItemsPositionItemsPosition.itemPositions},function(_propertiesLayoutsLayout){stylerLayout=_propertiesLayoutsLayout.stylerLayout},function(_propertiesStylerPosition){stylerPosition=_propertiesStylerPosition.stylerPosition},function(_propertiesStylerSizes){stylerSizes=_propertiesStylerSizes.stylerSizes},function(_propertiesStylerSpace){stylerSpace=_propertiesStylerSpace.stylerSpace},function(_propertiesTextStylerText){stylerText=_propertiesTextStylerText.stylerText},function(_propertiesStylerBackground){stylerBackground=_propertiesStylerBackground.stylerBackground},function(_propertiesColorSetsStylerColorSets){stylerColorSets=_propertiesColorSetsStylerColorSets.stylerColorSets},function(_StylerSets){StylerSets=_StylerSets.StylerSets},function(_propertiesImgStylerImage){stylerImage=_propertiesImgStylerImage.stylerImage},function(_propertiesScrollStylerOverflow){stylerOverflow=_propertiesScrollStylerOverflow.stylerOverflow},function(_propertiesEffects){stylerEffects=_propertiesEffects.stylerEffects},function(_propertiesTransformStylerTransform){stylerTransform=_propertiesTransformStylerTransform.stylerTransform},function(_propertiesChildSizeStylerChildSize){stylerChildSize=_propertiesChildSizeStylerChildSize.stylerChildSize}],execute:function(){vars=[];for(const key in stylerVars){if(Object.prototype.hasOwnProperty.call(stylerVars,key)){const element=stylerVars[key];vars.push(new StylerVariable(element.name,element.value))}}_export("StylerSet",StylerSet=class StylerSet{constructor(){this.vars=vars;this.varsCss=this.vars.join("\n\t\t\t");this.properties=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({stylerLayout,stylerColorSets,stylerDisplay,stylerFlexDirection},stylerBorder),itemPositions),stylerText),stylerSizes),stylerSpace),stylerPosition),stylerBackground),stylerEffects),stylerImage),stylerOverflow),stylerTransform),stylerChildSize)}toString(){const properties=[];for(const key in this.properties){if(Object.prototype.hasOwnProperty.call(this.properties,key)){const element=this.properties[key];properties.push(element)}}return`\n\n html, body {\n margin: 0;\n padding: 0;\n scrollbar-width: thin;\n }\n\n * {\n box-sizing: border-box;\n }\n\n :root {\n ${this.vars.join("\n")}\n }\n\n a {\n text-decoration: none;\n }\n\n a:hover {\n color: var(--accent-color);\n }\n\n body {\n background-color: var(--body-color);\n color: var(--default-text-color);\n overflow-x: hidden;\n }\n\n body[editing=true] {\n margin: 20px;\n }\n\n ${StylerSets.low.join("\n")}\n\n ${properties.join("\n")}\n\n ${StylerSets.high.join("\n")}\n\n \n `}});StylerSet.instance=new StylerSet}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/StylerSet");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","../../styler/StylerSet"],(function(_export,_context){"use strict";var XNode,BindEditor,DropDownProperty,ExpanderPropertyEditor,StylerSet,properties;function LayoutEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Layout"},XNode.create(DropDownProperty,{property:properties.stylerLayout}),XNode.create(DropDownProperty,{label:"Display",property:properties.stylerDisplay}),XNode.create(DropDownProperty,{label:"Color Set",property:properties.stylerColorSets}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>e.selection.currentStyle.display==="flex")),label:"Direction",property:properties.stylerFlexDirection}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.currentStyle.display))),label:"Justify Content",property:properties.stylerJustifyContent}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.currentStyle.display))),label:"Justify Children",property:properties.stylerJustifyItems}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.currentStyle.display))),label:"Align Children",property:properties.stylerAlignItems}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.currentStyle.display))),label:"Gap",property:properties.stylerGap}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.currentStyle.display))),label:"Row Gap",property:properties.stylerRowGap}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.currentStyle.display))),label:"Column Gap",property:properties.stylerColumnGap}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex/i.test(e.selection.currentStyle.display))),label:"Wrap",property:properties.stylerFlexWrap}),XNode.create("hr",null),XNode.create("label",{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.parentStyle.display))),text:BindEditor.oneWay((e=>/flex/i.test(e.selection.parentStyle.display)))?"Flex Child":"Grid Child"}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.parentStyle.display))),label:"Align",property:properties.stylerAlignSelf}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.parentStyle.display))),label:"Justify",property:properties.stylerJustifySelf}))}_export("default",LayoutEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){BindEditor=_controlsPropertyEditor.BindEditor;DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet}],execute:function(){properties=StylerSet.instance.properties}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/LayoutEditor");System.register(["./PropertyEditor"],(function(_export,_context){"use strict";var DropDownProperty,SizeEditorControl;return{setters:[function(_PropertyEditor){DropDownProperty=_PropertyEditor.DropDownProperty}],execute:function(){SizeEditorControl=DropDownProperty;_export("default",SizeEditorControl)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/controls/SizeEditorControl");System.register(["@web-atoms/core/dist/core/XNode","../../styler/StylerSet","../controls/PropertyEditor","../controls/SizeEditorControl"],(function(_export,_context){"use strict";var XNode,StylerSet,DropDownProperty,ExpanderPropertyEditor,SizeEditorControl,properties;function TextPropertyEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Text"},XNode.create(DropDownProperty,{label:"Font",property:properties.stylerFontFamily}),XNode.create(DropDownProperty,{label:"Color",property:properties.stylerColor}),XNode.create(DropDownProperty,{label:"Hover Color",property:properties.stylerHoverColor}),XNode.create(SizeEditorControl,{label:"Size",property:properties.stylerFontSize}),XNode.create(DropDownProperty,{label:"Weight",property:properties.stylerFontWeight}),XNode.create(DropDownProperty,{label:"Style",property:properties.stylerFontStyle}),XNode.create(DropDownProperty,{label:"Align",property:properties.stylerTextAlign}),XNode.create(DropDownProperty,{label:"Line Height",property:properties.stylerLineHeight}),XNode.create(DropDownProperty,{label:"Spacing",property:properties.stylerLetterSpacing}),XNode.create(DropDownProperty,{label:"Decoration",property:properties.stylerTextDecoration}),XNode.create(DropDownProperty,{label:"Transform",property:properties.stylerTextTransform}),XNode.create(DropDownProperty,{label:"Direction",property:properties.stylerDirection}),XNode.create(DropDownProperty,{label:"Break",property:properties.stylerWhiteSpace}),XNode.create(DropDownProperty,{label:"Outline",property:properties.stylerTextOutline}))}_export("default",TextPropertyEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet},function(_controlsPropertyEditor){DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_controlsSizeEditorControl){SizeEditorControl=_controlsSizeEditorControl.default}],execute:function(){properties=StylerSet.instance.properties}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/TextPropertyEditor");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","../../styler/StylerSet","../controls/SizeEditorControl"],(function(_export,_context){"use strict";var XNode,DropDownProperty,ExpanderPropertyEditor,StylerSet,SizeEditorControl,properties;function BorderGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Border"},XNode.create(DropDownProperty,{label:"Style",property:properties.stylerBorder}),XNode.create(SizeEditorControl,{label:"Radius",property:properties.stylerBorderRadius}),XNode.create(DropDownProperty,{label:"Color",property:properties.stylerBorderColor}),XNode.create(SizeEditorControl,{label:"Width",property:properties.stylerBorderWidth}))}_export("default",BorderGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet},function(_controlsSizeEditorControl){SizeEditorControl=_controlsSizeEditorControl.default}],execute:function(){({properties}=StylerSet.instance)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/BorderGroupEditor");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","../../styler/StylerSet"],(function(_export,_context){"use strict";var XNode,DropDownProperty,ExpanderPropertyEditor,StylerSet,properties;function SizeGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Size"},XNode.create(DropDownProperty,{label:"Width",property:properties.stylerWidth}),XNode.create(DropDownProperty,{label:"Height",property:properties.stylerHeight}),XNode.create(DropDownProperty,{label:"Min Width",property:properties.stylerMinWidth}),XNode.create(DropDownProperty,{label:"Min Height",property:properties.stylerMinHeight}),XNode.create(DropDownProperty,{label:"Max Width",property:properties.stylerMaxWidth}),XNode.create(DropDownProperty,{label:"Max Height",property:properties.stylerMaxHeight}))}_export("default",SizeGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet}],execute:function(){({properties}=StylerSet.instance)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/SizeGroupEditor");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","../../styler/StylerSet","../controls/SizeEditorControl"],(function(_export,_context){"use strict";var XNode,ExpanderPropertyEditor,StylerSet,SizeEditorControl,properties;function SpaceGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Space"},XNode.create(SizeEditorControl,{label:"Padding",property:properties.stylerPadding}),XNode.create(SizeEditorControl,{label:"Padding Left",property:properties.stylerPaddingLeft}),XNode.create(SizeEditorControl,{label:"Padding Top",property:properties.stylerPaddingTop}),XNode.create(SizeEditorControl,{label:"Padding Right",property:properties.stylerPaddingRight}),XNode.create(SizeEditorControl,{label:"Padding Bottom",property:properties.stylerPaddingBottom}),XNode.create(SizeEditorControl,{label:"Margin",property:properties.stylerMargin}),XNode.create(SizeEditorControl,{label:"Margin Left",property:properties.stylerMarginLeft}),XNode.create(SizeEditorControl,{label:"Margin Top",property:properties.stylerMarginTop}),XNode.create(SizeEditorControl,{label:"Margin Right",property:properties.stylerMarginRight}),XNode.create(SizeEditorControl,{label:"Margin Bottom",property:properties.stylerMarginBottom}))}_export("default",SpaceGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet},function(_controlsSizeEditorControl){SizeEditorControl=_controlsSizeEditorControl.default}],execute:function(){({properties}=StylerSet.instance)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/SpaceGroupEditor");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","../../styler/StylerSet","../controls/SizeEditorControl"],(function(_export,_context){"use strict";var XNode,BindEditor,DropDownProperty,ExpanderPropertyEditor,StylerSet,SizeEditorControl,properties;function PositionGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Position"},XNode.create(DropDownProperty,{label:"Position",property:properties.stylerPosition}),XNode.create("section",null,XNode.create("section",{"style-display":BindEditor.oneWay((e=>/relative|fixed|absolute|sticky/i.test(e.selection.currentStyle.position)))},XNode.create(SizeEditorControl,{label:"Left",property:properties.stylerLeft}),XNode.create(SizeEditorControl,{label:"Top",property:properties.stylerTop}),XNode.create(SizeEditorControl,{label:"Right",property:properties.stylerRight}),XNode.create(SizeEditorControl,{label:"Bottom",property:properties.stylerBottom})),XNode.create(DropDownProperty,{label:"Z-Index",property:properties.stylerZIndex})))}_export("default",PositionGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){BindEditor=_controlsPropertyEditor.BindEditor;DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet},function(_controlsSizeEditorControl){SizeEditorControl=_controlsSizeEditorControl.default}],execute:function(){({properties}=StylerSet.instance)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/PositionGroupEditor");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","../../styler/StylerSet","../controls/SizeEditorControl"],(function(_export,_context){"use strict";var XNode,ButtonProperty,DropDownProperty,ExpanderPropertyEditor,StylerSet,SizeEditorControl,properties;function BackgroundGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Background"},XNode.create(DropDownProperty,{label:"Type",property:properties.stylerBackground}),XNode.create(DropDownProperty,{label:"Color",property:properties.stylerBackgroundColor}),XNode.create(DropDownProperty,{label:"Hover Color",property:properties.stylerHoverBackgroundColor}),XNode.create(ButtonProperty,{label:"Image",eventClick:"change-background-image",icon:"fas fa-folder",property:properties.stylerBackgroundImage}),XNode.create(DropDownProperty,{label:"Clip",property:properties.stylerBackgroundClip}),XNode.create(DropDownProperty,{label:"Position",property:properties.stylerBackgroundPosition}),XNode.create(SizeEditorControl,{label:"Position-X",property:properties.stylerBackgroundPositionX}),XNode.create(SizeEditorControl,{label:"Position-Y",property:properties.stylerBackgroundPositionY}),XNode.create(DropDownProperty,{label:"Size",property:properties.stylerBackgroundSize}),XNode.create(DropDownProperty,{label:"Repeat",property:properties.stylerBackgroundRepeat}),XNode.create(DropDownProperty,{label:"Attachment",property:properties.stylerBackgroundAttachment}),XNode.create(DropDownProperty,{label:"Mode",property:properties.stylerBackgroundMode}))}_export("default",BackgroundGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){ButtonProperty=_controlsPropertyEditor.ButtonProperty;DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet},function(_controlsSizeEditorControl){SizeEditorControl=_controlsSizeEditorControl.default}],execute:function(){properties=StylerSet.instance.properties}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/BackgroundGroupEditor");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","@web-atoms/core/dist/web/controls/AtomControl"],(function(_export,_context){"use strict";var XNode,BindEditor,CheckBoxProperty,ExpanderPropertyEditor,TextProperty,AtomControl,da;function AttributeEditor(){return XNode.create(ExpanderPropertyEditor,{isExpanded:true,label:"Attributes"},XNode.create("div",Object.assign({},da(BindEditor.oneWay((x=>x.selection.element))))))}_export("default",AttributeEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){BindEditor=_controlsPropertyEditor.BindEditor;CheckBoxProperty=_controlsPropertyEditor.CheckBoxProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor;TextProperty=_controlsPropertyEditor.TextProperty},function(_webAtomsCoreDistWebControlsAtomControl){AtomControl=_webAtomsCoreDistWebControlsAtomControl.AtomControl}],execute:function(){da=AtomControl.registerProperty("data-attributes","values",((c,e,v)=>{var _a,_b;e.innerHTML="";if(!v){return}const attributes=v.editableAttributes;if(!attributes){return}const ctrl=c;for(const a of attributes){switch(a.type){case"boolean":ctrl.render(XNode.create("div",null,XNode.create(CheckBoxProperty,{label:(_a=a.display)!==null&&_a!==void 0?_a:a.name,attributeName:a.name})),e,c);break;case"enum":case"image":case"lang":case"number":case"time":case"video":case"string":ctrl.render(XNode.create("div",null,XNode.create(TextProperty,{label:(_b=a.display)!==null&&_b!==void 0?_b:a.name,attributeName:a.name})),e,c);break}}}))}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/AttributeEditor");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","../../styler/StylerSet"],(function(_export,_context){"use strict";var XNode,BindEditor,DropDownProperty,ExpanderPropertyEditor,StylerSet,properties;function ImageEditor(){return XNode.create(ExpanderPropertyEditor,{"style-display":BindEditor.oneWay((x=>/^(img$|video)/i.test(x.selection.name))),label:"Image"},XNode.create(DropDownProperty,{label:"Object Fit",property:properties.stylerObjectFit}),XNode.create(DropDownProperty,{label:"Orientation",property:properties.stylerImageOrientation}),XNode.create(DropDownProperty,{label:"Rendering",property:properties.stylerImageRendering}),XNode.create(DropDownProperty,{label:"Resolution",property:properties.stylerImageResolution}))}_export("default",ImageEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){BindEditor=_controlsPropertyEditor.BindEditor;DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet}],execute:function(){({properties}=StylerSet.instance)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/ImageEditor");System.register(["@web-atoms/core/dist/core/XNode","../../styler/StylerSet","../controls/PropertyEditor"],(function(_export,_context){"use strict";var XNode,StylerSet,DropDownProperty,ExpanderPropertyEditor,properties;function ScrollGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Scroll"},XNode.create(DropDownProperty,{label:"Overflow",property:properties.stylerOverflow}),XNode.create(DropDownProperty,{label:"Overflow X",property:properties.stylerOverflowX}),XNode.create(DropDownProperty,{label:"Overflow Y",property:properties.stylerOverflowY}))}_export("default",ScrollGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet},function(_controlsPropertyEditor){DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor}],execute:function(){properties=StylerSet.instance.properties}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/ScrollGroupEditor");System.register(["@web-atoms/core/dist/core/XNode","../../styler/StylerSet","../controls/PropertyEditor"],(function(_export,_context){"use strict";var XNode,StylerSet,ExpanderPropertyEditor,DropDownProperty,properties;function EffectGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Effects"},XNode.create(DropDownProperty,{label:"Backdrop Filter",property:properties.stylerBackdropFilter}),XNode.create(DropDownProperty,{label:"Backface Visibility",property:properties.stylerBackfaceVisibility}),XNode.create(DropDownProperty,{label:"Shadow",property:properties.stylerBoxShadow}))}_export("default",EffectGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet},function(_controlsPropertyEditor){ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor;DropDownProperty=_controlsPropertyEditor.DropDownProperty}],execute:function(){properties=StylerSet.instance.properties}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/EffectGroup");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","../../styler/StylerSet"],(function(_export,_context){"use strict";var XNode,DropDownProperty,ExpanderPropertyEditor,StylerSet,properties;function TransformGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Transform"},XNode.create(DropDownProperty,{label:"Transform",property:properties.stylerDesktopTransform}),XNode.create(DropDownProperty,{label:"Transform",property:properties.stylerTabletTransform}),XNode.create(DropDownProperty,{label:"Origin",property:properties.stylerDesktopTransformOrigin}),XNode.create(DropDownProperty,{label:"Origin",property:properties.stylerTabletTransformOrigin}))}_export("default",TransformGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet}],execute:function(){({properties}=StylerSet.instance)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/TransformGroupEditor");System.register(["@web-atoms/core/dist/core/XNode","../../styler/StylerSet","../controls/PropertyEditor"],(function(_export,_context){"use strict";var XNode,StylerSet,DropDownProperty,ExpanderPropertyEditor,properties;function ChildSizeGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Child Size"},XNode.create(DropDownProperty,{label:"Width",property:properties.stylerDesktopChildWidth}),XNode.create(DropDownProperty,{label:"Width",property:properties.stylerTabletChildWidth}),XNode.create(DropDownProperty,{label:"Width",property:properties.stylerChildWidth}),XNode.create(DropDownProperty,{label:"Height",property:properties.stylerDesktopChildHeight}),XNode.create(DropDownProperty,{label:"Height",property:properties.stylerTabletChildHeight}),XNode.create(DropDownProperty,{label:"Height",property:properties.stylerChildHeight}),XNode.create(DropDownProperty,{label:"Min Width",property:properties.stylerDesktopChildMinWidth}),XNode.create(DropDownProperty,{label:"Min Width",property:properties.stylerTabletChildMinWidth}),XNode.create(DropDownProperty,{label:"Min Width",property:properties.stylerChildMinWidth}),XNode.create(DropDownProperty,{label:"Min Height",property:properties.stylerDesktopChildMinHeight}),XNode.create(DropDownProperty,{label:"Min Height",property:properties.stylerTabletChildMinHeight}),XNode.create(DropDownProperty,{label:"Min Height",property:properties.stylerChildMinHeight}),XNode.create(DropDownProperty,{label:"Max Width",property:properties.stylerDesktopChildMaxWidth}),XNode.create(DropDownProperty,{label:"Max Width",property:properties.stylerTabletChildMaxWidth}),XNode.create(DropDownProperty,{label:"Max Width",property:properties.stylerChildMaxWidth}),XNode.create(DropDownProperty,{label:"Max Height",property:properties.stylerDesktopChildMaxHeight}),XNode.create(DropDownProperty,{label:"Max Height",property:properties.stylerTabletChildMaxHeight}),XNode.create(DropDownProperty,{label:"Max Height",property:properties.stylerChildMaxHeight}))}_export("default",ChildSizeGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet},function(_controlsPropertyEditor){DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor}],execute:function(){({properties}=StylerSet.instance)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/ChildSizeGroupEditor");System.register(["@web-atoms/core/dist/core/XNode","./groups/LayoutEditor","./groups/TextPropertyEditor","./groups/BorderGroupEditor","./groups/SizeGroupEditor","./groups/SpaceGroupEditor","./groups/PositionGroupEditor","./groups/BackgroundGroupEditor","./groups/AttributeEditor","./groups/ImageEditor","./groups/ScrollGroupEditor","./groups/EffectGroup","./groups/TransformGroupEditor","./groups/ChildSizeGroupEditor","@web-atoms/core/dist/core/Bind","@web-atoms/web-controls/dist/basic/ToggleButtonBar"],(function(_export,_context){"use strict";var XNode,LayoutEditor,TextPropertyEditor,BorderGroupEditor,SizeGroupEditor,SpaceGroupEditor,PositionGroupEditor,BackgroundGroupEditor,AttributeEditor,ImageEditor,ScrollGroupEditor,EffectGroupEditor,TransformGroupEditor,ChildSizeGroupEditor,Bind,ToggleButtonBar;function Properties(){const updateSelector=type=>{document.body.setAttribute("show-only",type)};const modes=[{label:"All",value:"all"},{label:"Desktop",value:"desktop"},{label:"Tablet",value:"tablet"}];const mode={value:"all"};document.body.setAttribute("show-only",mode.value);return XNode.create("div",{"data-layout":"vertical-flex-stretch-items"},XNode.create(AttributeEditor,null),XNode.create(ToggleButtonBar,{items:modes,labelPath:x=>x.label,valuePath:x=>x.value,value:Bind.sourceTwoWays(mode,(x=>x.source.value)),"event-click":()=>setTimeout((()=>updateSelector(mode.value)))}),XNode.create(LayoutEditor,null),XNode.create(ImageEditor,null),XNode.create(SizeGroupEditor,null),XNode.create(ChildSizeGroupEditor,null),XNode.create(BorderGroupEditor,null),XNode.create(SpaceGroupEditor,null),XNode.create(PositionGroupEditor,null),XNode.create(BackgroundGroupEditor,null),XNode.create(EffectGroupEditor,null),XNode.create(TextPropertyEditor,null),XNode.create(ScrollGroupEditor,null),XNode.create(TransformGroupEditor,null))}_export("default",Properties);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_groupsLayoutEditor){LayoutEditor=_groupsLayoutEditor.default},function(_groupsTextPropertyEditor){TextPropertyEditor=_groupsTextPropertyEditor.default},function(_groupsBorderGroupEditor){BorderGroupEditor=_groupsBorderGroupEditor.default},function(_groupsSizeGroupEditor){SizeGroupEditor=_groupsSizeGroupEditor.default},function(_groupsSpaceGroupEditor){SpaceGroupEditor=_groupsSpaceGroupEditor.default},function(_groupsPositionGroupEditor){PositionGroupEditor=_groupsPositionGroupEditor.default},function(_groupsBackgroundGroupEditor){BackgroundGroupEditor=_groupsBackgroundGroupEditor.default},function(_groupsAttributeEditor){AttributeEditor=_groupsAttributeEditor.default},function(_groupsImageEditor){ImageEditor=_groupsImageEditor.default},function(_groupsScrollGroupEditor){ScrollGroupEditor=_groupsScrollGroupEditor.default},function(_groupsEffectGroup){EffectGroupEditor=_groupsEffectGroup.default},function(_groupsTransformGroupEditor){TransformGroupEditor=_groupsTransformGroupEditor.default},function(_groupsChildSizeGroupEditor){ChildSizeGroupEditor=_groupsChildSizeGroupEditor.default},function(_webAtomsCoreDistCoreBind){Bind=_webAtomsCoreDistCoreBind.default},function(_webAtomsWebControlsDistBasicToggleButtonBar){ToggleButtonBar=_webAtomsWebControlsDistBasicToggleButtonBar.default}],execute:function(){}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/Properties");System.register(["@web-atoms/core/dist/core/AtomBinder"],(function(_export,_context){"use strict";var AtomBinder,SelectedElement;_export("SelectedElement",void 0);return{setters:[function(_webAtomsCoreDistCoreAtomBinder){AtomBinder=_webAtomsCoreDistCoreAtomBinder.AtomBinder}],execute:function(){_export("SelectedElement",SelectedElement=class SelectedElement{get element(){return this.e}get parentStyle(){var _a,_b,_c,_d;const pe=(_a=this.e)===null||_a===void 0?void 0:_a.parentElement;return(_b=this.cachedParentStyle)!==null&&_b!==void 0?_b:this.cachedParentStyle=pe&&this.editor.htmlDocument?(_d=(_c=this.editor.htmlDocument)===null||_c===void 0?void 0:_c.defaultView)===null||_d===void 0?void 0:_d.getComputedStyle(pe):{}}get currentStyle(){var _a,_b,_c;return(_a=this.cachedStyle)!==null&&_a!==void 0?_a:this.cachedStyle=this.e&&this.editor.htmlDocument?(_c=(_b=this.editor.htmlDocument)===null||_b===void 0?void 0:_b.defaultView)===null||_c===void 0?void 0:_c.getComputedStyle(this.e):{}}constructor(editor){this.editor=editor;this.styleProperty=new Proxy(this,{get:(target,p,receiver)=>{var _a,_b,_c;if(typeof p==="string"){p="--"+p.replace("_","--")}return(_c=(_b=(_a=this.e)===null||_a===void 0?void 0:_a.style)===null||_b===void 0?void 0:_b.getPropertyValue(p))!==null&&_c!==void 0?_c:void 0}});this.styles=new Map;this.isEditing=false;this.empty={setAttribute(n,v){this[n]=v},getAttribute(n){return this[n]}};this.name="";this.parentName="";this.isImage=false;this.mo=new MutationObserver((changes=>{if(this.isEditing){return}AtomBinder.refreshValue(this,"element");this.cachedStyle=null;this.cachedParentStyle=null;AtomBinder.refreshValue(this,"currentStyle");AtomBinder.refreshValue(this,"parentStyle");AtomBinder.refreshValue(this,"attributes");AtomBinder.refreshValue(this,"styleProperty");for(const iterator of this.styles.values()){AtomBinder.refreshValue(iterator,"value");AtomBinder.refreshValue(iterator,"custom")}}))}setDraggable(){const element=this.e;element.draggable=true;this.dragTimeout=setTimeout((()=>{if(element.draggable){element.removeAttribute("draggable")}}),5e3)}getDropTarget(dragged,target){const isDropTarget=/^(main|section|carousel\-slider)$/i;if(isDropTarget.test(dragged===null||dragged===void 0?void 0:dragged.tagName)){let start=target;while(!isDropTarget.test(start.tagName)){start=start.parentElement}if(isDropTarget.test(start===null||start===void 0?void 0:start.tagName)){target=start}}return target}style(name){let parent;let attributeName=name;if(/^parent\-/.test(name)){parent=true;attributeName=attributeName.substring(7)}let mapper=this.styles.get(name);if(!mapper){const owner=this;const customName="--"+attributeName;mapper={name,get value(){var _a,_b;const e=parent?(_a=owner.e)===null||_a===void 0?void 0:_a.parentElement:owner.e;return(_b=e===null||e===void 0?void 0:e.getAttribute(attributeName))!==null&&_b!==void 0?_b:""},set value(v){var _a;const e=parent?(_a=owner.e)===null||_a===void 0?void 0:_a.parentElement:owner.e;if(!e){return}owner.isEditing=true;if(!v){e.removeAttribute(attributeName)}else{e.setAttribute(attributeName,v)}owner.editor.commit();AtomBinder.refreshValue(this,"value");setTimeout((()=>{AtomBinder.refreshValue(this,"custom");AtomBinder.refreshValue(owner,"currentStyle");AtomBinder.refreshValue(owner,"parentStyle");AtomBinder.refreshValue(this,"styleProperty");owner.isEditing=false}),1)},get custom(){var _a,_b,_c;return(_c=(_b=(_a=owner.e)===null||_a===void 0?void 0:_a.style)===null||_b===void 0?void 0:_b.getPropertyValue(customName))!==null&&_c!==void 0?_c:""},set custom(v){const e=owner===null||owner===void 0?void 0:owner.e;if(!e){return}if(!v){e.style.removeProperty(customName)}else{e.style.setProperty(customName,v)}}};this.styles.set(name,mapper)}return mapper}clear(){this.e=null;AtomBinder.refreshValue(this,"element")}update(e){var _a;const oe=this.e;if(e){if(e===this.e){return}if(this.e){this.mo.disconnect();if(oe.draggable){oe.removeAttribute("draggable")}if(this.dragTimeout){clearTimeout(this.dragTimeout);this.dragTimeout=0}}this.e=e;AtomBinder.refreshValue(this,"element");this.cachedStyle=null;this.cachedParentStyle=null;AtomBinder.refreshValue(this,"currentStyle");AtomBinder.refreshValue(this,"parentStyle");AtomBinder.refreshValue(this,"attributes");AtomBinder.refreshValue(this,"styleProperty");this.mo.observe(e,{attributes:true})}e=this.e;if(!e){return}this.name=e.tagName.toLowerCase();this.parentName=(_a=e.parentElement)===null||_a===void 0?void 0:_a.tagName.toLowerCase();const r=e.getBoundingClientRect();this.isImage=/^(img|video|pdf)/i.test(this.name);const minusWidth=Math.min(0,r.left);this.top=`${r.top+10}px`;this.left=`${Math.max(0,r.left)+10}px`;this.width=`${r.width+minusWidth}px`;this.height=`${r.height}px`;switch(this.dropAnchor){case"top":this.height="2px";break;case"left":this.width="2px";break;case"bottom":this.top=`${r.top+r.height+4}px`;this.height="2px";break;case"right":this.top=`${r.left+r.width+4}px`;this.width="2px";break}for(const iterator of this.styles.values()){AtomBinder.refreshValue(iterator,"value");AtomBinder.refreshValue(iterator,"custom")}}})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/editor/SelectedElement");System.register([],(function(_export,_context){"use strict";var defaultImageSrc;return{setters:[],execute:function(){_export("defaultImageSrc",defaultImageSrc=`data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3R5bGU9ImZpbGw6IHJnYmEoMCwwLDAsMC4xNSk7IHRyYW5zZm9ybTogc2NhbGUoMC43NSkiPgogICAgICAgIDxwYXRoIGQ9Ik04LjUgMTMuNWwyLjUgMyAzLjUtNC41IDQuNSA2SDVtMTYgMVY1YTIgMiAwIDAgMC0yLTJINWMtMS4xIDAtMiAuOS0yIDJ2MTRjMCAxLjEuOSAyIDIgMmgxNGMxLjEgMCAyLS45IDItMnoiPjwvcGF0aD4KICAgICAgPC9zdmc+`)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/blocks/defaultImage");System.register(["@web-atoms/core/dist/core/XNode","./Block","./defaultImage","../styler/StylerSets","@web-atoms/core/dist/style/styled","../styler/Styler"],(function(_export,_context){"use strict";var XNode,Block,defaultImageSrc,StylerSets,styled,stylerVars,ImageBox;return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_Block){Block=_Block.Block},function(_defaultImage){defaultImageSrc=_defaultImage.defaultImageSrc},function(_stylerStylerSets){StylerSets=_stylerStylerSets.StylerSets},function(_webAtomsCoreDistStyleStyled){styled=_webAtomsCoreDistStyleStyled.default},function(_stylerStyler){stylerVars=_stylerStyler.stylerVars}],execute:function(){StylerSets.register("low",styled.css`
3719
+ `}))}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/color-sets/stylerColorSets");System.register(["../../Styler"],(function(_export,_context){"use strict";var StylerProperty,createSet,stylerImage;return{setters:[function(_Styler){StylerProperty=_Styler.StylerProperty;createSet=_Styler.createSet}],execute:function(){_export("stylerImage",stylerImage={stylerObjectFit:new StylerProperty("styler-object-fit",createSet("object-fit",["contain","cover","fill","none","scale-down"])),stylerImageOrientation:new StylerProperty("styler-image-orientation",createSet("image-orientation",["none","from-image"])),stylerImageRendering:new StylerProperty("styler-image-rendering",createSet("image-rendering",["auto","smooth","high-quality","crisp-edges","pixelated"])),stylerImageResolution:new StylerProperty("styler-image-resolution",createSet("image-resolution",["from-image","snap"]))})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/img/stylerImage");System.register(["../../Styler"],(function(_export,_context){"use strict";var StylerProperty,createSet,stylerOverflow;return{setters:[function(_Styler){StylerProperty=_Styler.StylerProperty;createSet=_Styler.createSet}],execute:function(){_export("stylerOverflow",stylerOverflow={stylerOverflow:new StylerProperty("styler-overflow",createSet("overflow",["hidden","auto","scroll"])),stylerOverflowX:new StylerProperty("styler-overflow-x",createSet("overflow",["hidden","auto","scroll"])),stylerOverflowY:new StylerProperty("styler-overflow-y",createSet("overflow",["hidden","auto","scroll"]))})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/scroll/stylerOverflow");System.register(["@web-atoms/core/dist/style/styled","../Styler"],(function(_export,_context){"use strict";var styled,StylerProperty,stylerEffects;return{setters:[function(_webAtomsCoreDistStyleStyled){styled=_webAtomsCoreDistStyleStyled.default},function(_Styler){StylerProperty=_Styler.StylerProperty}],execute:function(){_export("stylerEffects",stylerEffects={stylerBackdropFilter:new StylerProperty("styler-backdrop-filter",{none:styled.css`backdrop-filter: none;`,grayscale:styled.css`backdrop-filter: grayscale(1);`,blur:styled.css`backdrop-filter: blur(15px) saturate(180%);`}),stylerBackfaceVisibility:new StylerProperty("styler-backdrop-visibility",{none:styled.css`backface-visibility: none;`,visible:styled.css`backface-visibility: visible;`,hidden:styled.css`backface-visibility: hidden;`}),stylerBoxShadow:new StylerProperty("styler-box-shadow",{none:styled.css`box-shadow: none;`,default:styled.css`box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, 0.14);`,thin:styled.css`box-shadow: 0px 3px 5px 3px rgba(0, 0, 0, .51);`,"thin-all":styled.css`box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, .51);`,thick:styled.css`box-shadow: 0px 6px 9px 6px rgba(0, 0, 0, .51);`,"thick-all":styled.css`box-shadow: 0px 0px 9px 6px rgba(0, 0, 0, .51);`})})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/effects");System.register(["@web-atoms/core/dist/style/styled","../../Styler"],(function(_export,_context){"use strict";var styled,StylerProperty,createSet,stylerTransform;return{setters:[function(_webAtomsCoreDistStyleStyled){styled=_webAtomsCoreDistStyleStyled.default},function(_Styler){StylerProperty=_Styler.StylerProperty;createSet=_Styler.createSet}],execute:function(){_export("stylerTransform",stylerTransform={stylerDesktopTransform:new StylerProperty("styler-desktop-transform",{custom:styled.css`transform: var(--styler-desktop-transform);`},"","","@media (min-width:900px)"),stylerDesktopTransformOrigin:new StylerProperty("styler-desktop-origin",createSet("transform-origin",["custom","left","right","center","top","bottom","top left","bottom left","top right","bottom right"]),"","","@media (min-width:700px)"),stylerTabletTransform:new StylerProperty("styler-tablet-transform",{custom:styled.css`transform: var(--styler-tablet-transform);`},"","","@media (min-width:700px)"),stylerTabletTransformOrigin:new StylerProperty("styler-tablet-origin",createSet("transform-origin",["custom","left","right","center","top","bottom","top left","bottom left","top right","bottom right"]),"","","@media (min-width:700px)")})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/transform/stylerTransform");System.register(["../../Styler"],(function(_export,_context){"use strict";var createVarSet,sizeVarList,StylerProperty,createDesktopSize,createTabletSize,createChildSize,stylerChildSize;return{setters:[function(_Styler){createVarSet=_Styler.createVarSet;sizeVarList=_Styler.sizeVarList;StylerProperty=_Styler.StylerProperty}],execute:function(){createDesktopSize=name=>new StylerProperty("styler-desktop-child-"+name,createVarSet(name,sizeVarList,"--styler-desktop-child-"+name),""," > *","@media (min-width: 900px)");createTabletSize=name=>new StylerProperty("styler-tablet-child-"+name,createVarSet(name,sizeVarList,"--styler-tablet-child-"+name),""," > *","@media (min-width: 700px)");createChildSize=name=>new StylerProperty("styler-all-child-"+name,createVarSet(name,sizeVarList,"--styler-all-child-"+name),""," > *");_export("stylerChildSize",stylerChildSize={stylerDesktopChildWidth:createDesktopSize("width"),stylerDesktopChildHeight:createDesktopSize("height"),stylerTabletChildWidth:createTabletSize("width"),stylerTabletChildHeight:createTabletSize("height"),stylerChildWidth:createChildSize("width"),stylerChildHeight:createChildSize("height"),stylerDesktopChildMinWidth:createDesktopSize("min-width"),stylerDesktopChildMinHeight:createDesktopSize("min-height"),stylerTabletChildMinWidth:createTabletSize("min-width"),stylerTabletChildMinHeight:createTabletSize("min-height"),stylerChildMinWidth:createChildSize("min-width"),stylerChildMinHeight:createChildSize("min-height"),stylerDesktopChildMaxWidth:createDesktopSize("max-width"),stylerDesktopChildMaxHeight:createDesktopSize("max-height"),stylerTabletChildMaxWidth:createTabletSize("max-width"),stylerTabletChildMaxHeight:createTabletSize("max-height"),stylerChildMaxWidth:createChildSize("max-width"),stylerChildMaxHeight:createChildSize("max-height")})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/properties/child-size/stylerChildSize");System.register(["./Styler","./properties/stylerBorder","./properties/layouts/display","./properties/layouts/flex/flex","./properties/layouts/items-position/itemsPosition","./properties/layouts/layout","./properties/stylerPosition","./properties/stylerSizes","./properties/stylerSpace","./properties/text/stylerText","./properties/stylerBackground","./properties/color-sets/stylerColorSets","./StylerSets","./properties/img/stylerImage","./properties/scroll/stylerOverflow","./properties/effects","./properties/transform/stylerTransform","./properties/child-size/stylerChildSize"],(function(_export,_context){"use strict";var StylerVariable,stylerVars,stylerBorder,stylerDisplay,stylerFlexDirection,itemPositions,stylerLayout,stylerPosition,stylerSizes,stylerSpace,stylerText,stylerBackground,stylerColorSets,StylerSets,stylerImage,stylerOverflow,stylerEffects,stylerTransform,stylerChildSize,StylerSet,vars;_export("StylerSet",void 0);return{setters:[function(_Styler){StylerVariable=_Styler.StylerVariable;stylerVars=_Styler.stylerVars},function(_propertiesStylerBorder){stylerBorder=_propertiesStylerBorder.stylerBorder},function(_propertiesLayoutsDisplay){stylerDisplay=_propertiesLayoutsDisplay.stylerDisplay},function(_propertiesLayoutsFlexFlex){stylerFlexDirection=_propertiesLayoutsFlexFlex.stylerFlexDirection},function(_propertiesLayoutsItemsPositionItemsPosition){itemPositions=_propertiesLayoutsItemsPositionItemsPosition.itemPositions},function(_propertiesLayoutsLayout){stylerLayout=_propertiesLayoutsLayout.stylerLayout},function(_propertiesStylerPosition){stylerPosition=_propertiesStylerPosition.stylerPosition},function(_propertiesStylerSizes){stylerSizes=_propertiesStylerSizes.stylerSizes},function(_propertiesStylerSpace){stylerSpace=_propertiesStylerSpace.stylerSpace},function(_propertiesTextStylerText){stylerText=_propertiesTextStylerText.stylerText},function(_propertiesStylerBackground){stylerBackground=_propertiesStylerBackground.stylerBackground},function(_propertiesColorSetsStylerColorSets){stylerColorSets=_propertiesColorSetsStylerColorSets.stylerColorSets},function(_StylerSets){StylerSets=_StylerSets.StylerSets},function(_propertiesImgStylerImage){stylerImage=_propertiesImgStylerImage.stylerImage},function(_propertiesScrollStylerOverflow){stylerOverflow=_propertiesScrollStylerOverflow.stylerOverflow},function(_propertiesEffects){stylerEffects=_propertiesEffects.stylerEffects},function(_propertiesTransformStylerTransform){stylerTransform=_propertiesTransformStylerTransform.stylerTransform},function(_propertiesChildSizeStylerChildSize){stylerChildSize=_propertiesChildSizeStylerChildSize.stylerChildSize}],execute:function(){vars=[];for(const key in stylerVars){if(Object.prototype.hasOwnProperty.call(stylerVars,key)){const element=stylerVars[key];vars.push(new StylerVariable(element.name,element.value))}}_export("StylerSet",StylerSet=class StylerSet{constructor(){this.vars=vars;this.varsCss=this.vars.join("\n\t\t\t");this.properties=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({stylerLayout,stylerColorSets,stylerDisplay,stylerFlexDirection},stylerBorder),itemPositions),stylerText),stylerSizes),stylerSpace),stylerPosition),stylerBackground),stylerEffects),stylerImage),stylerOverflow),stylerTransform),stylerChildSize)}toString(){const properties=[];for(const key in this.properties){if(Object.prototype.hasOwnProperty.call(this.properties,key)){const element=this.properties[key];properties.push(element)}}return`\n\n html, body {\n margin: 0;\n padding: 0;\n scrollbar-width: thin;\n }\n\n * {\n box-sizing: border-box;\n }\n\n :root {\n ${this.vars.join("\n")}\n }\n\n a {\n text-decoration: none;\n }\n\n a:hover {\n color: var(--accent-color);\n }\n\n body {\n background-color: var(--body-color);\n color: var(--default-text-color);\n overflow-x: hidden;\n }\n\n body[editing=true] {\n margin: 20px;\n }\n\n ${StylerSets.low.join("\n")}\n\n ${properties.join("\n")}\n\n ${StylerSets.high.join("\n")}\n\n \n `}});StylerSet.instance=new StylerSet}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/styler/StylerSet");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","../../styler/StylerSet"],(function(_export,_context){"use strict";var XNode,BindEditor,DropDownProperty,ExpanderPropertyEditor,StylerSet,properties;function LayoutEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Layout"},XNode.create(DropDownProperty,{property:properties.stylerLayout}),XNode.create(DropDownProperty,{label:"Display",property:properties.stylerDisplay}),XNode.create(DropDownProperty,{label:"Color Set",property:properties.stylerColorSets}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>e.selection.currentStyle.display==="flex")),label:"Direction",property:properties.stylerFlexDirection}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.currentStyle.display))),label:"Justify Content",property:properties.stylerJustifyContent}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.currentStyle.display))),label:"Justify Children",property:properties.stylerJustifyItems}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.currentStyle.display))),label:"Align Children",property:properties.stylerAlignItems}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.currentStyle.display))),label:"Gap",property:properties.stylerGap}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.currentStyle.display))),label:"Row Gap",property:properties.stylerRowGap}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.currentStyle.display))),label:"Column Gap",property:properties.stylerColumnGap}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex/i.test(e.selection.currentStyle.display))),label:"Wrap",property:properties.stylerFlexWrap}),XNode.create("hr",null),XNode.create("label",{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.parentStyle.display))),text:BindEditor.oneWay((e=>/flex/i.test(e.selection.parentStyle.display)))?"Flex Child":"Grid Child"}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.parentStyle.display))),label:"Align",property:properties.stylerAlignSelf}),XNode.create(DropDownProperty,{"style-display":BindEditor.oneWay((e=>/flex|grid/i.test(e.selection.parentStyle.display))),label:"Justify",property:properties.stylerJustifySelf}))}_export("default",LayoutEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){BindEditor=_controlsPropertyEditor.BindEditor;DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet}],execute:function(){properties=StylerSet.instance.properties}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/LayoutEditor");System.register(["./PropertyEditor"],(function(_export,_context){"use strict";var DropDownProperty,SizeEditorControl;return{setters:[function(_PropertyEditor){DropDownProperty=_PropertyEditor.DropDownProperty}],execute:function(){SizeEditorControl=DropDownProperty;_export("default",SizeEditorControl)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/controls/SizeEditorControl");System.register(["@web-atoms/core/dist/core/XNode","../../styler/StylerSet","../controls/PropertyEditor","../controls/SizeEditorControl"],(function(_export,_context){"use strict";var XNode,StylerSet,DropDownProperty,ExpanderPropertyEditor,SizeEditorControl,properties;function TextPropertyEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Text"},XNode.create(DropDownProperty,{label:"Font",property:properties.stylerFontFamily}),XNode.create(DropDownProperty,{label:"Color",property:properties.stylerColor}),XNode.create(DropDownProperty,{label:"Hover Color",property:properties.stylerHoverColor}),XNode.create(SizeEditorControl,{label:"Size",property:properties.stylerFontSize}),XNode.create(DropDownProperty,{label:"Weight",property:properties.stylerFontWeight}),XNode.create(DropDownProperty,{label:"Style",property:properties.stylerFontStyle}),XNode.create(DropDownProperty,{label:"Align",property:properties.stylerTextAlign}),XNode.create(DropDownProperty,{label:"Line Height",property:properties.stylerLineHeight}),XNode.create(DropDownProperty,{label:"Spacing",property:properties.stylerLetterSpacing}),XNode.create(DropDownProperty,{label:"Decoration",property:properties.stylerTextDecoration}),XNode.create(DropDownProperty,{label:"Transform",property:properties.stylerTextTransform}),XNode.create(DropDownProperty,{label:"Direction",property:properties.stylerDirection}),XNode.create(DropDownProperty,{label:"Break",property:properties.stylerWhiteSpace}),XNode.create(DropDownProperty,{label:"Outline",property:properties.stylerTextOutline}),XNode.create(DropDownProperty,{label:"Shadow",property:properties.stylerTextShadow}))}_export("default",TextPropertyEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet},function(_controlsPropertyEditor){DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_controlsSizeEditorControl){SizeEditorControl=_controlsSizeEditorControl.default}],execute:function(){properties=StylerSet.instance.properties}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/TextPropertyEditor");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","../../styler/StylerSet","../controls/SizeEditorControl"],(function(_export,_context){"use strict";var XNode,DropDownProperty,ExpanderPropertyEditor,StylerSet,SizeEditorControl,properties;function BorderGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Border"},XNode.create(DropDownProperty,{label:"Style",property:properties.stylerBorder}),XNode.create(SizeEditorControl,{label:"Radius",property:properties.stylerBorderRadius}),XNode.create(DropDownProperty,{label:"Color",property:properties.stylerBorderColor}),XNode.create(SizeEditorControl,{label:"Width",property:properties.stylerBorderWidth}))}_export("default",BorderGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet},function(_controlsSizeEditorControl){SizeEditorControl=_controlsSizeEditorControl.default}],execute:function(){({properties}=StylerSet.instance)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/BorderGroupEditor");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","../../styler/StylerSet"],(function(_export,_context){"use strict";var XNode,DropDownProperty,ExpanderPropertyEditor,StylerSet,properties;function SizeGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Size"},XNode.create(DropDownProperty,{label:"Width",property:properties.stylerWidth}),XNode.create(DropDownProperty,{label:"Height",property:properties.stylerHeight}),XNode.create(DropDownProperty,{label:"Min Width",property:properties.stylerMinWidth}),XNode.create(DropDownProperty,{label:"Min Height",property:properties.stylerMinHeight}),XNode.create(DropDownProperty,{label:"Max Width",property:properties.stylerMaxWidth}),XNode.create(DropDownProperty,{label:"Max Height",property:properties.stylerMaxHeight}))}_export("default",SizeGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet}],execute:function(){({properties}=StylerSet.instance)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/SizeGroupEditor");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","../../styler/StylerSet","../controls/SizeEditorControl"],(function(_export,_context){"use strict";var XNode,ExpanderPropertyEditor,StylerSet,SizeEditorControl,properties;function SpaceGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Space"},XNode.create(SizeEditorControl,{label:"Padding",property:properties.stylerPadding}),XNode.create(SizeEditorControl,{label:"Padding Left",property:properties.stylerPaddingLeft}),XNode.create(SizeEditorControl,{label:"Padding Top",property:properties.stylerPaddingTop}),XNode.create(SizeEditorControl,{label:"Padding Right",property:properties.stylerPaddingRight}),XNode.create(SizeEditorControl,{label:"Padding Bottom",property:properties.stylerPaddingBottom}),XNode.create(SizeEditorControl,{label:"Margin",property:properties.stylerMargin}),XNode.create(SizeEditorControl,{label:"Margin Left",property:properties.stylerMarginLeft}),XNode.create(SizeEditorControl,{label:"Margin Top",property:properties.stylerMarginTop}),XNode.create(SizeEditorControl,{label:"Margin Right",property:properties.stylerMarginRight}),XNode.create(SizeEditorControl,{label:"Margin Bottom",property:properties.stylerMarginBottom}))}_export("default",SpaceGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet},function(_controlsSizeEditorControl){SizeEditorControl=_controlsSizeEditorControl.default}],execute:function(){({properties}=StylerSet.instance)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/SpaceGroupEditor");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","../../styler/StylerSet","../controls/SizeEditorControl"],(function(_export,_context){"use strict";var XNode,BindEditor,DropDownProperty,ExpanderPropertyEditor,StylerSet,SizeEditorControl,properties;function PositionGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Position"},XNode.create(DropDownProperty,{label:"Position",property:properties.stylerPosition}),XNode.create("section",null,XNode.create("section",{"style-display":BindEditor.oneWay((e=>/relative|fixed|absolute|sticky/i.test(e.selection.currentStyle.position)))},XNode.create(SizeEditorControl,{label:"Left",property:properties.stylerLeft}),XNode.create(SizeEditorControl,{label:"Top",property:properties.stylerTop}),XNode.create(SizeEditorControl,{label:"Right",property:properties.stylerRight}),XNode.create(SizeEditorControl,{label:"Bottom",property:properties.stylerBottom})),XNode.create(DropDownProperty,{label:"Z-Index",property:properties.stylerZIndex})))}_export("default",PositionGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){BindEditor=_controlsPropertyEditor.BindEditor;DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet},function(_controlsSizeEditorControl){SizeEditorControl=_controlsSizeEditorControl.default}],execute:function(){({properties}=StylerSet.instance)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/PositionGroupEditor");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","../../styler/StylerSet","../controls/SizeEditorControl"],(function(_export,_context){"use strict";var XNode,ButtonProperty,DropDownProperty,ExpanderPropertyEditor,StylerSet,SizeEditorControl,properties;function BackgroundGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Background"},XNode.create(DropDownProperty,{label:"Type",property:properties.stylerBackground}),XNode.create(DropDownProperty,{label:"Color",property:properties.stylerBackgroundColor}),XNode.create(DropDownProperty,{label:"Hover Color",property:properties.stylerHoverBackgroundColor}),XNode.create(ButtonProperty,{label:"Image",eventClick:"change-background-image",icon:"fas fa-folder",property:properties.stylerBackgroundImage}),XNode.create(DropDownProperty,{label:"Clip",property:properties.stylerBackgroundClip}),XNode.create(DropDownProperty,{label:"Position",property:properties.stylerBackgroundPosition}),XNode.create(SizeEditorControl,{label:"Position-X",property:properties.stylerBackgroundPositionX}),XNode.create(SizeEditorControl,{label:"Position-Y",property:properties.stylerBackgroundPositionY}),XNode.create(DropDownProperty,{label:"Size",property:properties.stylerBackgroundSize}),XNode.create(DropDownProperty,{label:"Repeat",property:properties.stylerBackgroundRepeat}),XNode.create(DropDownProperty,{label:"Attachment",property:properties.stylerBackgroundAttachment}),XNode.create(DropDownProperty,{label:"Mode",property:properties.stylerBackgroundMode}))}_export("default",BackgroundGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){ButtonProperty=_controlsPropertyEditor.ButtonProperty;DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet},function(_controlsSizeEditorControl){SizeEditorControl=_controlsSizeEditorControl.default}],execute:function(){properties=StylerSet.instance.properties}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/BackgroundGroupEditor");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","@web-atoms/core/dist/web/controls/AtomControl"],(function(_export,_context){"use strict";var XNode,BindEditor,CheckBoxProperty,ExpanderPropertyEditor,TextProperty,AtomControl,da;function AttributeEditor(){return XNode.create(ExpanderPropertyEditor,{isExpanded:true,label:"Attributes"},XNode.create("div",Object.assign({},da(BindEditor.oneWay((x=>x.selection.element))))))}_export("default",AttributeEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){BindEditor=_controlsPropertyEditor.BindEditor;CheckBoxProperty=_controlsPropertyEditor.CheckBoxProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor;TextProperty=_controlsPropertyEditor.TextProperty},function(_webAtomsCoreDistWebControlsAtomControl){AtomControl=_webAtomsCoreDistWebControlsAtomControl.AtomControl}],execute:function(){da=AtomControl.registerProperty("data-attributes","values",((c,e,v)=>{var _a,_b;e.innerHTML="";if(!v){return}const attributes=v.editableAttributes;if(!attributes){return}const ctrl=c;for(const a of attributes){switch(a.type){case"boolean":ctrl.render(XNode.create("div",null,XNode.create(CheckBoxProperty,{label:(_a=a.display)!==null&&_a!==void 0?_a:a.name,attributeName:a.name})),e,c);break;case"enum":case"image":case"lang":case"number":case"time":case"video":case"string":ctrl.render(XNode.create("div",null,XNode.create(TextProperty,{label:(_b=a.display)!==null&&_b!==void 0?_b:a.name,attributeName:a.name})),e,c);break}}}))}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/AttributeEditor");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","../../styler/StylerSet"],(function(_export,_context){"use strict";var XNode,BindEditor,DropDownProperty,ExpanderPropertyEditor,StylerSet,properties;function ImageEditor(){return XNode.create(ExpanderPropertyEditor,{"style-display":BindEditor.oneWay((x=>/^(img$|video)/i.test(x.selection.name))),label:"Image"},XNode.create(DropDownProperty,{label:"Object Fit",property:properties.stylerObjectFit}),XNode.create(DropDownProperty,{label:"Orientation",property:properties.stylerImageOrientation}),XNode.create(DropDownProperty,{label:"Rendering",property:properties.stylerImageRendering}),XNode.create(DropDownProperty,{label:"Resolution",property:properties.stylerImageResolution}))}_export("default",ImageEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){BindEditor=_controlsPropertyEditor.BindEditor;DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet}],execute:function(){({properties}=StylerSet.instance)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/ImageEditor");System.register(["@web-atoms/core/dist/core/XNode","../../styler/StylerSet","../controls/PropertyEditor"],(function(_export,_context){"use strict";var XNode,StylerSet,DropDownProperty,ExpanderPropertyEditor,properties;function ScrollGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Scroll"},XNode.create(DropDownProperty,{label:"Overflow",property:properties.stylerOverflow}),XNode.create(DropDownProperty,{label:"Overflow X",property:properties.stylerOverflowX}),XNode.create(DropDownProperty,{label:"Overflow Y",property:properties.stylerOverflowY}))}_export("default",ScrollGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet},function(_controlsPropertyEditor){DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor}],execute:function(){properties=StylerSet.instance.properties}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/ScrollGroupEditor");System.register(["@web-atoms/core/dist/core/XNode","../../styler/StylerSet","../controls/PropertyEditor"],(function(_export,_context){"use strict";var XNode,StylerSet,ExpanderPropertyEditor,DropDownProperty,properties;function EffectGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Effects"},XNode.create(DropDownProperty,{label:"Backdrop Filter",property:properties.stylerBackdropFilter}),XNode.create(DropDownProperty,{label:"Backface Visibility",property:properties.stylerBackfaceVisibility}),XNode.create(DropDownProperty,{label:"Shadow",property:properties.stylerBoxShadow}))}_export("default",EffectGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet},function(_controlsPropertyEditor){ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor;DropDownProperty=_controlsPropertyEditor.DropDownProperty}],execute:function(){properties=StylerSet.instance.properties}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/EffectGroup");System.register(["@web-atoms/core/dist/core/XNode","../controls/PropertyEditor","../../styler/StylerSet"],(function(_export,_context){"use strict";var XNode,DropDownProperty,ExpanderPropertyEditor,StylerSet,properties;function TransformGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Transform"},XNode.create(DropDownProperty,{label:"Transform",property:properties.stylerDesktopTransform}),XNode.create(DropDownProperty,{label:"Transform",property:properties.stylerTabletTransform}),XNode.create(DropDownProperty,{label:"Origin",property:properties.stylerDesktopTransformOrigin}),XNode.create(DropDownProperty,{label:"Origin",property:properties.stylerTabletTransformOrigin}))}_export("default",TransformGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_controlsPropertyEditor){DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet}],execute:function(){({properties}=StylerSet.instance)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/TransformGroupEditor");System.register(["@web-atoms/core/dist/core/XNode","../../styler/StylerSet","../controls/PropertyEditor"],(function(_export,_context){"use strict";var XNode,StylerSet,DropDownProperty,ExpanderPropertyEditor,properties;function ChildSizeGroupEditor(){return XNode.create(ExpanderPropertyEditor,{label:"Child Size"},XNode.create(DropDownProperty,{label:"Width",property:properties.stylerDesktopChildWidth}),XNode.create(DropDownProperty,{label:"Width",property:properties.stylerTabletChildWidth}),XNode.create(DropDownProperty,{label:"Width",property:properties.stylerChildWidth}),XNode.create(DropDownProperty,{label:"Height",property:properties.stylerDesktopChildHeight}),XNode.create(DropDownProperty,{label:"Height",property:properties.stylerTabletChildHeight}),XNode.create(DropDownProperty,{label:"Height",property:properties.stylerChildHeight}),XNode.create(DropDownProperty,{label:"Min Width",property:properties.stylerDesktopChildMinWidth}),XNode.create(DropDownProperty,{label:"Min Width",property:properties.stylerTabletChildMinWidth}),XNode.create(DropDownProperty,{label:"Min Width",property:properties.stylerChildMinWidth}),XNode.create(DropDownProperty,{label:"Min Height",property:properties.stylerDesktopChildMinHeight}),XNode.create(DropDownProperty,{label:"Min Height",property:properties.stylerTabletChildMinHeight}),XNode.create(DropDownProperty,{label:"Min Height",property:properties.stylerChildMinHeight}),XNode.create(DropDownProperty,{label:"Max Width",property:properties.stylerDesktopChildMaxWidth}),XNode.create(DropDownProperty,{label:"Max Width",property:properties.stylerTabletChildMaxWidth}),XNode.create(DropDownProperty,{label:"Max Width",property:properties.stylerChildMaxWidth}),XNode.create(DropDownProperty,{label:"Max Height",property:properties.stylerDesktopChildMaxHeight}),XNode.create(DropDownProperty,{label:"Max Height",property:properties.stylerTabletChildMaxHeight}),XNode.create(DropDownProperty,{label:"Max Height",property:properties.stylerChildMaxHeight}))}_export("default",ChildSizeGroupEditor);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_stylerStylerSet){StylerSet=_stylerStylerSet.StylerSet},function(_controlsPropertyEditor){DropDownProperty=_controlsPropertyEditor.DropDownProperty;ExpanderPropertyEditor=_controlsPropertyEditor.ExpanderPropertyEditor}],execute:function(){({properties}=StylerSet.instance)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/groups/ChildSizeGroupEditor");System.register(["@web-atoms/core/dist/core/XNode","./groups/LayoutEditor","./groups/TextPropertyEditor","./groups/BorderGroupEditor","./groups/SizeGroupEditor","./groups/SpaceGroupEditor","./groups/PositionGroupEditor","./groups/BackgroundGroupEditor","./groups/AttributeEditor","./groups/ImageEditor","./groups/ScrollGroupEditor","./groups/EffectGroup","./groups/TransformGroupEditor","./groups/ChildSizeGroupEditor","@web-atoms/core/dist/core/Bind","@web-atoms/web-controls/dist/basic/ToggleButtonBar"],(function(_export,_context){"use strict";var XNode,LayoutEditor,TextPropertyEditor,BorderGroupEditor,SizeGroupEditor,SpaceGroupEditor,PositionGroupEditor,BackgroundGroupEditor,AttributeEditor,ImageEditor,ScrollGroupEditor,EffectGroupEditor,TransformGroupEditor,ChildSizeGroupEditor,Bind,ToggleButtonBar;function Properties(){const updateSelector=type=>{document.body.setAttribute("show-only",type)};const modes=[{label:"All",value:"all"},{label:"Desktop",value:"desktop"},{label:"Tablet",value:"tablet"}];const mode={value:"all"};document.body.setAttribute("show-only",mode.value);return XNode.create("div",{"data-layout":"vertical-flex-stretch-items"},XNode.create(AttributeEditor,null),XNode.create(ToggleButtonBar,{items:modes,labelPath:x=>x.label,valuePath:x=>x.value,value:Bind.sourceTwoWays(mode,(x=>x.source.value)),"event-click":()=>setTimeout((()=>updateSelector(mode.value)))}),XNode.create(LayoutEditor,null),XNode.create(ImageEditor,null),XNode.create(SizeGroupEditor,null),XNode.create(ChildSizeGroupEditor,null),XNode.create(BorderGroupEditor,null),XNode.create(SpaceGroupEditor,null),XNode.create(PositionGroupEditor,null),XNode.create(BackgroundGroupEditor,null),XNode.create(EffectGroupEditor,null),XNode.create(TextPropertyEditor,null),XNode.create(ScrollGroupEditor,null),XNode.create(TransformGroupEditor,null))}_export("default",Properties);return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_groupsLayoutEditor){LayoutEditor=_groupsLayoutEditor.default},function(_groupsTextPropertyEditor){TextPropertyEditor=_groupsTextPropertyEditor.default},function(_groupsBorderGroupEditor){BorderGroupEditor=_groupsBorderGroupEditor.default},function(_groupsSizeGroupEditor){SizeGroupEditor=_groupsSizeGroupEditor.default},function(_groupsSpaceGroupEditor){SpaceGroupEditor=_groupsSpaceGroupEditor.default},function(_groupsPositionGroupEditor){PositionGroupEditor=_groupsPositionGroupEditor.default},function(_groupsBackgroundGroupEditor){BackgroundGroupEditor=_groupsBackgroundGroupEditor.default},function(_groupsAttributeEditor){AttributeEditor=_groupsAttributeEditor.default},function(_groupsImageEditor){ImageEditor=_groupsImageEditor.default},function(_groupsScrollGroupEditor){ScrollGroupEditor=_groupsScrollGroupEditor.default},function(_groupsEffectGroup){EffectGroupEditor=_groupsEffectGroup.default},function(_groupsTransformGroupEditor){TransformGroupEditor=_groupsTransformGroupEditor.default},function(_groupsChildSizeGroupEditor){ChildSizeGroupEditor=_groupsChildSizeGroupEditor.default},function(_webAtomsCoreDistCoreBind){Bind=_webAtomsCoreDistCoreBind.default},function(_webAtomsWebControlsDistBasicToggleButtonBar){ToggleButtonBar=_webAtomsWebControlsDistBasicToggleButtonBar.default}],execute:function(){}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/properties/Properties");System.register(["@web-atoms/core/dist/core/AtomBinder"],(function(_export,_context){"use strict";var AtomBinder,SelectedElement;_export("SelectedElement",void 0);return{setters:[function(_webAtomsCoreDistCoreAtomBinder){AtomBinder=_webAtomsCoreDistCoreAtomBinder.AtomBinder}],execute:function(){_export("SelectedElement",SelectedElement=class SelectedElement{get element(){return this.e}get parentStyle(){var _a,_b,_c,_d;const pe=(_a=this.e)===null||_a===void 0?void 0:_a.parentElement;return(_b=this.cachedParentStyle)!==null&&_b!==void 0?_b:this.cachedParentStyle=pe&&this.editor.htmlDocument?(_d=(_c=this.editor.htmlDocument)===null||_c===void 0?void 0:_c.defaultView)===null||_d===void 0?void 0:_d.getComputedStyle(pe):{}}get currentStyle(){var _a,_b,_c;return(_a=this.cachedStyle)!==null&&_a!==void 0?_a:this.cachedStyle=this.e&&this.editor.htmlDocument?(_c=(_b=this.editor.htmlDocument)===null||_b===void 0?void 0:_b.defaultView)===null||_c===void 0?void 0:_c.getComputedStyle(this.e):{}}constructor(editor){this.editor=editor;this.styleProperty=new Proxy(this,{get:(target,p,receiver)=>{var _a,_b,_c;if(typeof p==="string"){p="--"+p.replace("_","--")}return(_c=(_b=(_a=this.e)===null||_a===void 0?void 0:_a.style)===null||_b===void 0?void 0:_b.getPropertyValue(p))!==null&&_c!==void 0?_c:void 0}});this.styles=new Map;this.isEditing=false;this.empty={setAttribute(n,v){this[n]=v},getAttribute(n){return this[n]}};this.name="";this.parentName="";this.isImage=false;this.mo=new MutationObserver((changes=>{if(this.isEditing){return}AtomBinder.refreshValue(this,"element");this.cachedStyle=null;this.cachedParentStyle=null;AtomBinder.refreshValue(this,"currentStyle");AtomBinder.refreshValue(this,"parentStyle");AtomBinder.refreshValue(this,"attributes");AtomBinder.refreshValue(this,"styleProperty");for(const iterator of this.styles.values()){AtomBinder.refreshValue(iterator,"value");AtomBinder.refreshValue(iterator,"custom")}}))}setDraggable(){const element=this.e;element.draggable=true;this.dragTimeout=setTimeout((()=>{if(element.draggable){element.removeAttribute("draggable")}}),5e3)}getDropTarget(dragged,target){const isDropTarget=/^(main|section|carousel\-slider)$/i;if(isDropTarget.test(dragged===null||dragged===void 0?void 0:dragged.tagName)){let start=target;while(!isDropTarget.test(start.tagName)){start=start.parentElement}if(isDropTarget.test(start===null||start===void 0?void 0:start.tagName)){target=start}}return target}style(name){let parent;let attributeName=name;if(/^parent\-/.test(name)){parent=true;attributeName=attributeName.substring(7)}let mapper=this.styles.get(name);if(!mapper){const owner=this;const customName="--"+attributeName;mapper={name,get value(){var _a,_b;const e=parent?(_a=owner.e)===null||_a===void 0?void 0:_a.parentElement:owner.e;return(_b=e===null||e===void 0?void 0:e.getAttribute(attributeName))!==null&&_b!==void 0?_b:""},set value(v){var _a;const e=parent?(_a=owner.e)===null||_a===void 0?void 0:_a.parentElement:owner.e;if(!e){return}owner.isEditing=true;if(!v){e.removeAttribute(attributeName)}else{e.setAttribute(attributeName,v)}owner.editor.commit();AtomBinder.refreshValue(this,"value");setTimeout((()=>{AtomBinder.refreshValue(this,"custom");AtomBinder.refreshValue(owner,"currentStyle");AtomBinder.refreshValue(owner,"parentStyle");AtomBinder.refreshValue(this,"styleProperty");owner.isEditing=false}),1)},get custom(){var _a,_b,_c;return(_c=(_b=(_a=owner.e)===null||_a===void 0?void 0:_a.style)===null||_b===void 0?void 0:_b.getPropertyValue(customName))!==null&&_c!==void 0?_c:""},set custom(v){const e=owner===null||owner===void 0?void 0:owner.e;if(!e){return}if(!v){e.style.removeProperty(customName)}else{e.style.setProperty(customName,v)}}};this.styles.set(name,mapper)}return mapper}clear(){this.e=null;AtomBinder.refreshValue(this,"element")}update(e){var _a;const oe=this.e;if(e){if(e===this.e){return}if(this.e){this.mo.disconnect();if(oe.draggable){oe.removeAttribute("draggable")}if(this.dragTimeout){clearTimeout(this.dragTimeout);this.dragTimeout=0}}this.e=e;AtomBinder.refreshValue(this,"element");this.cachedStyle=null;this.cachedParentStyle=null;AtomBinder.refreshValue(this,"currentStyle");AtomBinder.refreshValue(this,"parentStyle");AtomBinder.refreshValue(this,"attributes");AtomBinder.refreshValue(this,"styleProperty");this.mo.observe(e,{attributes:true})}e=this.e;if(!e){return}this.name=e.tagName.toLowerCase();this.parentName=(_a=e.parentElement)===null||_a===void 0?void 0:_a.tagName.toLowerCase();const r=e.getBoundingClientRect();this.isImage=/^(img|video|pdf)/i.test(this.name);const minusWidth=Math.min(0,r.left);this.top=`${r.top+10}px`;this.left=`${Math.max(0,r.left)+10}px`;this.width=`${r.width+minusWidth}px`;this.height=`${r.height}px`;switch(this.dropAnchor){case"top":this.height="2px";break;case"left":this.width="2px";break;case"bottom":this.top=`${r.top+r.height+4}px`;this.height="2px";break;case"right":this.top=`${r.left+r.width+4}px`;this.width="2px";break}for(const iterator of this.styles.values()){AtomBinder.refreshValue(iterator,"value");AtomBinder.refreshValue(iterator,"custom")}}})}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/editor/SelectedElement");System.register([],(function(_export,_context){"use strict";var defaultImageSrc;return{setters:[],execute:function(){_export("defaultImageSrc",defaultImageSrc=`data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3R5bGU9ImZpbGw6IHJnYmEoMCwwLDAsMC4xNSk7IHRyYW5zZm9ybTogc2NhbGUoMC43NSkiPgogICAgICAgIDxwYXRoIGQ9Ik04LjUgMTMuNWwyLjUgMyAzLjUtNC41IDQuNSA2SDVtMTYgMVY1YTIgMiAwIDAgMC0yLTJINWMtMS4xIDAtMiAuOS0yIDJ2MTRjMCAxLjEuOSAyIDIgMmgxNGMxLjEgMCAyLS45IDItMnoiPjwvcGF0aD4KICAgICAgPC9zdmc+`)}}}));AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/blocks/defaultImage");System.register(["@web-atoms/core/dist/core/XNode","./Block","./defaultImage","../styler/StylerSets","@web-atoms/core/dist/style/styled","../styler/Styler"],(function(_export,_context){"use strict";var XNode,Block,defaultImageSrc,StylerSets,styled,stylerVars,ImageBox;return{setters:[function(_webAtomsCoreDistCoreXNode){XNode=_webAtomsCoreDistCoreXNode.default},function(_Block){Block=_Block.Block},function(_defaultImage){defaultImageSrc=_defaultImage.defaultImageSrc},function(_stylerStylerSets){StylerSets=_stylerStylerSets.StylerSets},function(_webAtomsCoreDistStyleStyled){styled=_webAtomsCoreDistStyleStyled.default},function(_stylerStyler){stylerVars=_stylerStyler.stylerVars}],execute:function(){StylerSets.register("low",styled.css`
3720
3720
  display: flex;
3721
3721
  flex-direction: row;
3722
3722
  gap: ${stylerVars.sizeDefault};
@@ -3790,6 +3790,7 @@ html, body {
3790
3790
  border-radius: ${stylerVars.sizeDefault};
3791
3791
  justify-items: center;
3792
3792
  align-items: stretch;
3793
+ overflow: hidden;
3793
3794
 
3794
3795
  & > :not([styler-padding]) {
3795
3796
  padding: ${stylerVars.sizeDefault};
@@ -4003,7 +4004,7 @@ display: grid;
4003
4004
  flex-direction: row;
4004
4005
  align-items: center;
4005
4006
  justify-content: space-around;
4006
- contain: content;
4007
+ overflow: hidden;
4007
4008
 
4008
4009
  @media (max-width: 700px) {
4009
4010
  & {
@@ -4027,7 +4028,7 @@ display: grid;
4027
4028
  justify-content: space-evenly;
4028
4029
  justify-items: center;
4029
4030
  align-items: stretch;
4030
- contain: content;
4031
+ overflow: hidden;
4031
4032
 
4032
4033
  @media (max-width: 700px) {
4033
4034
  & {