import{makeStyle as e,makeStyleResponsive as t,getGlobalColorStateStyle as o,getStyleShadow as i,getSingleColorVariable as n,getStyleShadowState as a,handleConvertBorderColor as r,handleConvertBorderStyle as l,handleConvertBorderWidth as c,composeRadius as s,makeStyleState as d,composeTypographyStyle as h,makeGlobalSize as p}from"@gem-sdk/core";let S=e=>p(e?.size),g=e=>p(e?.paddingSize),x=e=>h(e?.typo),y=(o,i)=>({...e({jc:o?.arrangeContent}),...t("w",o?.contentWidth),...g(o).padding,...S(o).height,...d("bg",i?.backgroundColor),...s(i?.roundedBtn),...c(i?.borderBtn),...l(i?.borderBtn),...r(i?.borderBtn),...a(i?.boxShadowBtn,"box-shadow",i?.hasBoxShadowBtn)}),z=(i,n)=>({...o("c",n?.textColor),...t("gg",n?.spacing),...i?.fileUploadLayout==="horizontal"?{...e({ai:i?.positionHorizontal})}:{}}),b=t=>({...t?.fileUploadLayout==="vertical"?{...e({w:"100%",jc:t?.positionVertical,o:t?.iconAlignVertical!=="above"?"1":"unset"})}:{...e({o:t?.iconAlignHorizontal!=="left"?"1":"unset"})}}),C=(e,i)=>({...t("w",e?.iconSize,"px"),...t("h",e?.iconSize,"px"),...o("c",i?.textColor),"--height-desktop":`${e?.iconSize?.desktop}`,"--height-tablet":`${e?.iconSize?.tablet??e?.iconSize?.desktop}`,"--height-mobile":`${e?.iconSize?.mobile??e?.iconSize?.tablet??e?.iconSize?.desktop}`}),m=e=>({...x(e),...t("ta",e?.textAlign),"--hvr-c":e?.textColor?.hover??e?.textColor?.normal??"",...i({value:e?.typo?.custom?.textShadow,styleAppliedFor:"text-shadow",isEnableShadow:e?.typo?.custom?.hasShadowText})}),w=()=>({...e({c:"#DB3D31",size:"12px"})}),u=t=>({...e({jc:t?.arrangeContent}),...S(t).width}),B=(e,o)=>({...t("jc",e),"--text-hover-color":n(o?.hover??o?.normal)});export{S as composeGlobalSize,g as composePaddingSize,B as createContainerStyles,y as createContentWithStyles,b as createIconContainerStyles,C as createIconContentStyles,z as createLayoutStyles,w as createMessageStyles,m as createTypoStyles,u as createWrapContentWidthStyles};
