import{splitStyle as t,makeStyleResponsive as e,makeStyle as o}from"@gem-sdk/core";let l=(t,o)=>({...t,...e("ta",o?.align)}),r=()=>({size:{desktop:"1em",tablet:"1em",mobile:"1em"}}),a=t=>({...t,...r(),enableTextStyle:!0}),n=t=>{let{isCustomOutOfStock:e,oosBorder:o,oosShadow:l,oosRounded:a,oosBorderV2:n,oosShadowV2:m,oosTextColor:p,oosRoundedV2:s,oosBackground:S,oosTextColorV2:g,oosBackgroundV2:y,oosEnableShadow:d,...i}=t??{},B=JSON.parse(JSON.stringify(i));return Object.assign(B,{textColor:{normal:g},hasBoxShadowBtn:{normal:d},boxShadowBtn:{normal:l},roundedBtnV2:s,borderBtnV2:n,backgroundColorV2:y}),g?.normal&&(B.typo={...B.typo,attrs:{...B.typo?.attrs,color:g.normal}}),{...r(),...B}},m=e=>{let[o,l]=t(["pos","top","left","bottom","right","z"],e);return{wrapStyle:o,restStyle:l}},p=()=>({...o({mr:"8px",ml:"8px"})}),s=()=>({"--mr":"2px","--ml":"2px",display:"block !important"});export{a as getAddToCartButtonStyles,s as getBlankSpaceStyle,r as getButtonBaseStyles,l as getButtonStyle,p as getSeparatorStyle,n as getSoldOutButtonStyles,m as getSplitStyle};
