'use client';
import{jsx as t}from"react/jsx-runtime";import{isEmptyChildren as r}from"@gem-sdk/core";import e from"../../../grid/components/ChildrenDroppable.js";import{createStyle as o,createAttr as m,createClass as s}from"@gem-sdk/system";import{composeContainerStyles as i}from"../contact/common/styles.js";import{composeContainerAttrs as c}from"./common/attrs.js";import{composeContainerClasses as a}from"../contact/common/classes.js";let getAttr=({uid:t})=>({"data-id":t}),Newsletter=({children:l,setting:d,styles:n,style:p,builderAttrs:f,builderProps:g})=>{let j=o(i(d,n,p)),u=m({...c({uid:g?.uid||""},d)}),y=s(a());return t("div",{className:y,...u,...f,style:j,children:r(l)?t(e,{}):l})};export{Newsletter as default,getAttr};
