1import{s as e}from"./DI3nPAyJ.js";import{On as t,Zn as n,b as r,g as i,mt as a,xt as o}from"./C6gxYrJ7.js";import{t as s}from"./CODa7-RC.js";import{i as c,t as l}from"./BU6Xwxwu.js";var u={slots:{base:`text-lg text-highlighted font-bold mt-6 mb-2 scroll-mt-[calc(24px+45px+var(--ui-header-height))] lg:scroll-mt-[calc(24px+var(--ui-header-height))] [&>a]:rounded-sm [&>a]:outline-primary/25 [&>a]:focus-visible:outline-3`,link:``}},d=[`id`],f=[`href`],p={__name:`ProseH4`,props:{id:{type:String,required:!1},anchor:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(p){let m=c(`prose.h4`,p),h=s(),{headings:g}=e().public?.mdc||{},_=i(()=>l({extend:u,...h.ui?.prose?.h4||{}})()),v=i(()=>m.id&&(m.anchor??(typeof g?.anchorLinks==`boolean`?g.anchorLinks:g?.anchorLinks?.h4)??!1));return(e,i)=>(a(),r(`h4`,{id:t(m).id,class:n(_.value.base({class:[t(m).ui?.base,t(m).class]}))},[t(m).id&&v.value?(a(),r(`a`,{key:0,href:`#${t(m).id}`,class:n(_.value.link({class:t(m).ui?.link}))},[o(e.$slots,`default`)],10,f)):o(e.$slots,`default`,{key:1})],10,d))}};export{p as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.