import{d,a7 as c,E as p,o as s,e as n,b as f,p as t}from"./BvNnk7SS.js";const h=["id"],u=["href"],k=d({__name:"ProseH3",props:{id:{}},setup(a){const r=a,{headings:o}=c().public.mdc,i=p(()=>r.id&&(typeof o?.anchorLinks=="boolean"&&o?.anchorLinks===!0||typeof o?.anchorLinks=="object"&&o?.anchorLinks?.h3));return(e,l)=>(s(),n("h3",{id:e.id},[e.id&&f(i)?(s(),n("a",{key:0,href:`#${e.id}`},[t(e.$slots,"default")],8,u)):t(e.$slots,"default",{key:1})],8,h))}});export{k as default};
