/*!
 * KoliBri - The accessible HTML-Standard
 */
import{a as e}from"./tslib.es6-QNbPBOk5.js";import{h as s}from"./index-Brmny3Vg.js";import{c as l}from"./clsx-COFh-Vc8.js";const n=1;const o=6;function a(e){return e>=n&&e<=o}function r(e){return a(e)?`h${e}`:"strong"}const c=(o,a)=>{var{class:c,level:t=n}=o,i=e(o,["class","level"]);const d=r(t);return s(d,Object.assign({class:l("kol-headline",`kol-headline--${d}`,c)},i),a)};const t=(n,o)=>{var{class:a}=n,r=e(n,["class"]);return s("p",Object.assign({class:l("kol-headline kol-headline--group kol-headline--secondary",a)},r),o)};const i=(o,a)=>{var{secondaryHeadline:r,level:i=n,class:d,HeadingGroupProps:p={},SecondaryHeadlineProps:u={}}=o,h=e(o,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const j=Object.assign({level:i},h);if(!r){return s(c,Object.assign({class:l(d,"kol-headline--single")},j),a)}const{class:b}=p,g=e(p,["class"]);const k=Object.assign({class:l("kol-heading-group",b)},g);return s("hgroup",Object.assign({},k),s(c,Object.assign({class:l(d,"kol-headline--group","kol-headline--primary")},j),a),s(t,Object.assign({},u),r))};export{i as K};
//# sourceMappingURL=Heading-Hh3eykel.js.map