/*!
 * KoliBri - The accessible HTML-Standard
 */
import{_ as e}from"./tslib.es6-2e5096f8.js";import{h as s}from"./index-a0b4dca2.js";import{c}from"./clsx-09a06a12.js";const n=1,a=6;function l(s){return s>=n&&s<=6}function r(s){return l(s)?`h${s}`:"strong"}function t(s){return 1===s?"span":r(s)}const o=(a,l)=>{var{class:t,level:o=n,variant:i}=a,d=e(a,["class","level","variant"]);const u=r(o),g=i||u;return s(u,Object.assign({class:c("headline",`headline-${g}`,t)},d),l)},i=(a,r)=>{var{class:l,level:o=n}=a,i=e(a,["class","level"]);const d=t(o+1);return s(d,Object.assign({class:c("secondary-headline",l)},i),r)},d=(a,r)=>{var{secondaryHeadline:l,level:t=n,class:d,HeadingGroupProps:u={},SecondaryHeadlineProps:g={}}=a,v=e(a,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const p="kol-heading-wc",j=Object.assign({level:t},v);if(!l)return s(o,Object.assign({class:c(p,d)},j),r);const{class:b}=u,f=e(u,["class"]),O=Object.assign({class:c(p,b)},f);return s("hgroup",Object.assign({},O),s(o,Object.assign({class:d},j),r),s(i,Object.assign({level:t},g),l))},u=d;export{u as K};