import{filterTruthy as e}from"../../../common/helpers.js";import{makeStyleResponsive as o,composeTypographyStyle as t,makeGlobalSize as s,getStyleBackgroundByDevice as m,makeStyle as p,getBorderStyle as l,getBorderRadiusStyle as r,getStyleShadow as c}from"@gem-sdk/core";import{overwriteDefaultRadius as a}from"../../../../image/common/helpers.js";let composeStyles=o=>e(o),composeContainerStyles=e=>composeStyles({...o("ta",e?.align)}),composeFormCheckboxStyles=(e,o,n)=>{let{typography:d,horizontalSpacing:y}=e??{},{wrapperBorder:S,borderRadius:i,shadow:h,globalSize:u}=o??{},b=t(e?.typo,d),g=s(u);return composeStyles({...g?.width?.["--w"]?g.width:{"--w":"100%"},...b,...m(e?.background),...p({cg:y}),...l(S),...r(i),...a(n?.builderData?.advanced?.rounded),...c({value:h,styleAppliedFor:"box-shadow",isEnableShadow:h?.type!=="none"}),...g.padding})},composeFormCheckboxInputStyles=()=>composeStyles({appearance:"auto"}),getComposedTextStyle=e=>{let{horizontalSpacing:t}=e??{};return composeStyles({...o("pl",t)})};export{composeContainerStyles,composeFormCheckboxInputStyles,composeFormCheckboxStyles,getComposedTextStyle};
