"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react/jsx-runtime"),q=require("../../utils/cn/cn.cjs.js"),T=require("./Typography.service.cjs.js"),s=require("../../src/components/Typography/typography.module.css"),j=({defaultVariant:t,children:n,className:c="",weight:l,emphasis:o=!1,as:g="span",mobileVariant:r,color:h,gradient:a,id:u,align:i,strikethrough:p=!1})=>{const y=s[t]||"";let e=l;o&&!l&&(e="medium");const C=e?s[`weight${e.charAt(0).toUpperCase()}${e.slice(1)}`]:"",m=t.startsWith("label")&&o?s.labelEmphasis:"",b=r?s[`mobile__${r}`]:"",_=i?s[`${i}Align`]:"",$=p?s.strikethrough:"",d=a?s[`${a}-gradient`]:"";return f.jsx(g,{style:T.getMemoizedColorStyles(h),className:q.cn(y,C,m,b,_,$,c,d),id:u,children:n})};exports.Typography=j;
