"use strict";const g=require("./provider-lNhTlIWj.cjs");require("./css-HnNQMUzV.cjs");const y=require("./types-D-yz1qsT.cjs"),n=[{weight:200,style:"light",value:"Inter 200, sans-serif"},{weight:300,value:"Inter Threee, sans-serif"},{weight:400,value:"Inter Four, sans-serif"},{weight:500,value:"Inter Five, sans-serif"},{weight:600,value:"Inter Six, sans-serif"},{weight:700,value:"Inter Seven, sans-serif"},{weight:800,value:"Inter Eight, sans-serif"},{weight:900,style:"bold",value:"Inter Nine, sans-serif"}],v=s=>n.find((t,e)=>e===n.length-1?!0:typeof s=="number"?s>=t.weight&&s<n[e+1].weight:t.style===s),I=(s,{level:t,weight:e,code:l})=>{const{typography:i,sizes:{base:f}}=s;let r=i.family;if(l)r=i.codeFamily;else if(e!=null){const u=v(e);u!=null?r=u.value:r="Inter Light, sans-serif"}const o=i[g.isSize(t)?y.COMPONENT_SIZE_LEVELS[t]:t].size,a=(f*o).toFixed(1),[h,c]=r.split(", ");return e!=null?` ${e} ${a}px ${h}, ${c}`:` ${a}px ${r}`};exports.fontString=I;
