1import{f,r,X as _,c as m,a as t,Z as d,v as g,h as i,W as p,o as v,N as h}from"./Cg3HSUfV.js";const b=["aria-expanded"],k=["aria-hidden"],x=f({__name:"accordion-item",setup(I){const n=r(!1),o=r(null),s=r(null),c=()=>{if(!s.value)return;const e=s.value.getElementsByTagName("a"),a=n.value?0:-1;for(let l=0;l<e.length;l++)e[l].tabIndex=a},u=e=>{n.value=!n.value,h(()=>{c()}),e&&e.screenX===0&&o.value&&o.value.blur()};return _(()=>{c()}),(e,a)=>(v(),m("li",{class:p(["accordion-item",{showing:i(n)}])},[t("button",{ref_key:"buttonRef",ref:o,"aria-expanded":i(n).toString(),onClick:g(u,["prevent"])},[t("div",null,[d(e.$slots,"header"),a[0]||(a[0]=t("i",{class:"fa fa-angle-right"},null,-1))])],8,b),t("div",{class:"content","aria-hidden":!i(n)},[t("div",{ref_key:"contentInnerRef",ref:s,class:"content-inner"},[d(e.$slots,"content")],512)],8,k)],2))}}),R=Object.assign(x,{__name:"AccordionItem"});export{R 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.