"use client";
import{e as i}from"./chunk-CLTGASR6.js";import{a as n,d as s,m as y}from"./chunk-3CHPBNY2.js";import V from"clsx";var b=n("EulTypography",["root","variantH1","variantH2","variantH3","variantH4","variantH5","variantH6","variantSubtitle2","variantSubtitle3","variantSubtitle1","variantBody1","variantBody2","colorButton","colorDisabled","colorPrimary","colorSecondary","colorInherit","colorSubText"]);function l(t){return i("EulTypography",{root:["root",t.color&&`color${s(t.color)}`,t.variant&&typeof t.variant=="string"&&`variant${s(t.variant)}`]})}var S=b;var a=(t,p,o)=>({...p.typography[t],fontWeight:o||p.typography[t].fontWeight,...t.includes("mono")&&{fontFeatureSettings:"'cv02' on",fontVariantNumeric:"lining-nums tabular-nums slashed-zero"}}),m=y("span")(({color:t="primary",fontWeight:p,theme:o,variant:r="body1"})=>({...typeof r=="string"&&a(r,o,p),...typeof r=="object"&&{[o.breakpoints.up("xs")]:r.xs&&a(r.xs,o,p),[o.breakpoints.up("sm")]:r.sm&&a(r.sm,o,p),[o.breakpoints.up("md")]:r.md&&a(r.md,o,p),[o.breakpoints.up("lg")]:r.lg&&a(r.lg,o,p),[o.breakpoints.up("xl")]:r.xl&&a(r.xl,o,p)},"a&":{textDecoration:"none"},color:o.palette.text[t]}));var c={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",input1:"span",subtitle1:"h6",subtitle2:"h6",subtitle3:"h6",body1:"p",body2:"p",mono1:"span",mono2:"span",mono3:"span"};import{jsx as E}from"react/jsx-runtime";function h(t){let{children:p,className:o,color:r,component:f,fontWeight:g,ref:u,variant:e="body1",...T}=t,d=f||typeof e=="string"&&c[e]||"span",x=l(t);return E(m,{...T,as:d,className:V(o,x.root),color:r,fontWeight:g,ref:u,variant:e,children:p})}h.displayName="Typography";var P=h;export{S as a,P as b};
