import{aW as f,c as i,s as r,e as s,i as c,f as p}from"./DGA3dmy8.js";const u=["id"],l=["href"],m={__name:"ProseH1",props:{id:{type:String,required:!1}},setup(n){const t=n,{headings:e}=f().public.mdc,a=i(()=>{var o;return t.id&&(typeof(e==null?void 0:e.anchorLinks)=="boolean"&&(e==null?void 0:e.anchorLinks)===!0||typeof(e==null?void 0:e.anchorLinks)=="object"&&((o=e==null?void 0:e.anchorLinks)==null?void 0:o.h1))});return(o,d)=>(s(),r("h1",{id:t.id},[p(a)?(s(),r("a",{key:0,href:`#${t.id}`},[c(o.$slots,"default")],8,l)):c(o.$slots,"default",{key:1})],8,u))}};export{m as default};
//# sourceMappingURL=CaoMLf9-.js.map
