import{makeStyleResponsiveWidth as e}from"@gem-sdk/core";import{postPurchaseTextColor as t}from"../../common/helper.js";let getValue=e=>{if(!e)return"";let t=["0px","0%","1px"];return t.includes(e)?"100%":e},getStyle=t=>{let r=Object.entries(t??{}).reduce((e,[t,r])=>(e[t]=getValue(r),e),{});return{...e(r)}},getTextStyle=({typo:e,textAlign:t})=>{let r={};return e&&(r.typo=e),t&&(r.textAlign=t),r},getComponentStyles=()=>({color:t.defaultLink});export{getComponentStyles,getStyle,getTextStyle};
