1import{n as e}from"./hePW80VL.js";import{D as t,On as n,Qn as r,Yt as i,_ as a,b as o,ct as s,mt as c,nr as l,qt as u,v as d,vn as f,xt as p}from"./Ib1jYPSS.js";import{S as m,t as h}from"./BUba7gzX.js";import{n as g}from"./CkMz2SGH2.js";import{t as _}from"./BDNMzG2s.js";var v=e({default:()=>T}),y=[`aria-expanded`],b={key:0,class:`heading-5`},x={key:1,class:`heading-3`},S={class:`icon-container`},C={class:`accordion-content-inner-outer`},w={class:`accordion-content-inner`},T=_({__name:`VMAccordionItem`,props:{name:{type:String,default:``},smallType:{type:Boolean,default:!1},firstActive:{type:String,default:``},selectedAccordionTab:{type:String,default:``}},emits:[`accordionClick`],setup(e,{emit:_}){let v=e,T=_,E=f(!1),D=f(null);s(()=>{v.firstActive?.length&&v.firstActive===v.name&&(E.value=!0)});function O(){let e=D.value?.parentElement?.children;if(e&&e.length)for(let t=0;t<e.length;t++){let n=e[t]===D.value;e[t].classList.contains(`accordion-active`)&&!n&&e[t].querySelector(`button`).click(),n&&(E.value=!E.value)}}function k(e){let{width:t}=getComputedStyle(e);e.style.width=t,e.style.position=`absolute`,e.style.visibility=`hidden`,e.style.height=`auto`;let{height:n}=getComputedStyle(e);e.style.width=null,e.style.position=null,e.style.visibility=null,e.style.height=0,getComputedStyle(e).height,requestAnimationFrame(()=>{e.style.height=n}),v.selectedAccordionTab&&T(`accordionClick`,v.selectedAccordionTab)}function A(e){e.style.height=`auto`}function j(e){let{height:t}=getComputedStyle(e);e.style.height=t,getComputedStyle(e).height,requestAnimationFrame(()=>{e.style.height=0})}return(s,f)=>(c(),o(`dd`,{ref_key:`container`,ref:D,class:r([`accordion-item`,{"accordion-active":n(E),small:e.smallType}])},[a(`button`,{class:`accordion-title`,"aria-expanded":n(E),onClick:f[0]||=t=>O(e.name)},[e.smallType?(c(),o(`h5`,b,l(e.name),1)):(c(),o(`h3`,x,l(e.name),1)),a(`div`,S,[e.smallType?(c(),d(n(g),{key:0,code:`chevron`,size:`l`,class:r({"flip-y":n(E)})},null,8,[`class`])):n(E)?(c(),d(n(g),{key:1,code:`remove`,size:`l`,class:`arrow`})):(c(),d(n(g),{key:2,code:`cross`,size:`l`,class:`arrow`}))])],8,y),t(h,{name:`accordion-content`,onEnter:k,onAfterEnter:A,onLeave:j},{default:u(()=>[i(a(`div`,C,[a(`div`,w,[p(s.$slots,`default`,{},void 0,!0)])],512),[[m,n(E)]])]),_:3})],2))}},[[`__scopeId`,`data-v-cd69cde6`]]);export{v as n,T as t};
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.