import{h as t}from"./p-083180bf.js";import{c as s}from"./p-cef45012.js";function o(o,e){const{type:n,fontSize:r,textColor:a}=o,i=s({p:{"font-size":r?`${r}px`:"var(--sl-font-size-small)","font-weight":"400",color:a||"var(--sqm-text)",margin:"0"},subtext:{"font-size":r?`${r}px`:"var(--sl-font-size-x-small)","font-weight":"400",color:a||"var(--sqm-text-subdued)",margin:"0"},h1:{"font-size":r?`${r}px`:"var(--sl-font-size-xx-large)","font-weight":"600",color:a||"var(--sqm-text)",margin:"0"},h2:{"font-size":r?`${r}px`:"var(--sl-font-size-x-large)","font-weight":"600",color:a||"var(--sqm-text)",margin:"0"},h3:{"font-size":r?`${r}px`:"var(--sl-font-size-large)","font-weight":"600",color:a||"var(--sqm-text)",margin:"0"},h4:{"font-size":r?`${r}px`:"13px","font-weight":"600",color:a||"var(--sqm-text)",margin:"0"}}),f=i.toString();return t("span",{class:i.classes[n],part:"sqm-text-span"},t("style",{type:"text/css"},"\n    :host {\n      word-wrap: break-word;\n    }\n    sqm-text-span {\n      display: inline;\n    }\n  ",f),e)}export{o as T}