import{h as a}from"./index-DscFWUNz.js";import{c as t}from"./clsx-eK3rPvPS-BT_IL7Fz.js";/*!
 * KoliBri - The accessible HTML-Standard
 */function c(e,o){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&o.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)o.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}const i=1,y=6;function b(e){return e>=i&&e<=y}function H(e){return b(e)?`h${e}`:"strong"}const d=(e,o)=>{var{class:n,level:r=i}=e,s=c(e,["class","level"]);const l=H(r);return a(l,Object.assign({class:t("kol-headline",`kol-headline--${l}`,n)},s),o)},m=(e,o)=>{var{class:n}=e,r=c(e,["class"]);return a("p",Object.assign({class:t("kol-headline kol-headline--group kol-headline--secondary",n)},r),o)},v=(e,o)=>{var{secondaryHeadline:n,level:r=i,class:s,HeadingGroupProps:l={},SecondaryHeadlineProps:u={}}=e,g=c(e,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const p=Object.assign({level:r},g);if(!n)return a(d,Object.assign({class:t(s,"kol-headline--single")},p),o);const{class:h}=l,f=c(l,["class"]),O=Object.assign({class:t("kol-heading-group",h)},f);return a("hgroup",Object.assign({},O),a(d,Object.assign({class:t(s,"kol-headline--group","kol-headline--primary")},p),o),a(m,Object.assign({},u),n))};export{v as K,c as _};
//# sourceMappingURL=Heading-DT8fK42U-BBz359Il.js.map
