import{_ as i}from"./tslib.es6-CxX45GIN-BGVaTf34.js";import{h as n}from"./index-DCi8lcS0.js";import{c as r}from"./clsx-eK3rPvPS-B-dksMZM.js";const t=1,k=6;function O(s){return s>=t&&s<=k}function b(s){return O(s)?`h${s}`:"strong"}const g=(s,e)=>{var{class:a,level:o=t}=s,c=i(s,["class","level"]);const l=b(o);return n(l,Object.assign({class:r("kol-headline",`kol-headline--${l}`,a)},c),e)},j=(s,e)=>{var{class:a}=s,o=i(s,["class"]);return n("p",Object.assign({class:r("kol-headline kol-headline--group kol-headline--secondary",a)},o),e)},v=(s,e)=>{var{secondaryHeadline:a,level:o=t,class:c,HeadingGroupProps:l={},SecondaryHeadlineProps:p={}}=s,h=i(s,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const d=Object.assign({level:o},h);if(!a)return n(g,Object.assign({class:r(c,"kol-headline--single")},d),e);const{class:u}=l,H=i(l,["class"]),m=Object.assign({class:r("kol-heading-group",u)},H);return n("hgroup",Object.assign({},m),n(g,Object.assign({class:r(c,"kol-headline--group","kol-headline--primary")},d),e),n(j,Object.assign({},p),a))};export{v as K};
//# sourceMappingURL=Heading-3zpCc-Ye-BV_8CJg5.js.map
