1import{s as k,a as x,b as S,c as _}from"./B4XdvcbH.js";import{i as w,j as T,o as s,d as a,e as u,t as g,p as l,m as f,E as d,F as H,s as C,c as L,l as i,f as B,bj as M,am as v}from"./BFQmxuEP.js";import"./BuDI8HmE.js";import"./B9NHNlO8.js";import"./DZ73jOuC.js";const N={key:0,class:"py-16"},V={class:"container"},$={key:0,class:"text-heading-2 text-primary-800 font-medium mb-4"},j=["innerHTML"],R={class:"py-10"},q=["innerHTML"],U={__name:"SectionsSectionAccordion",props:{section:Object},setup(n){const y=n,m=v(null),r=v("0");function p(t){return String(t||"").toLowerCase().replace(/&/g,"and").replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}w(()=>{const t=decodeURIComponent(window.location.hash.replace(/^#/,""));if(!t)return;const o=(y.section?.items||[]).findIndex(e=>p(e.title)===t);o<0||(r.value=String(o),h(String(o)))});function h(t){t!=null&&T(()=>{setTimeout(()=>{const e=m.value?.querySelectorAll(".p-accordionheader")?.[Number(t)];if(e){const c=document.querySelector("header")?.offsetHeight||0,b=e.getBoundingClientRect().top+window.scrollY-c-16;window.scrollTo({top:b,behavior:"smooth"})}},300)})}return(t,o)=>n.section?(s(),a("section",N,[u("div",V,[n.section?.title?(s(),a("h2",$,g(n.section.title),1)):l("",!0),n.section?.description?(s(),a("div",{key:1,innerHTML:n.section.description,class:"text-base text-black leading-[1.5] mb-8"},null,8,j)):l("",!0),u("div",{ref_key:"accordionWrapper",ref:m},[f(i(_),{value:i(r),"onUpdate:value":[o[0]||(o[0]=e=>M(r)?r.value=e:null),h]},{default:d(()=>[(s(!0),a(H,null,C(n.section?.items,(e,c)=>(s(),L(i(k),{key:c,value:String(c)},{default:d(()=>[f(i(x),{as:"h3",role:"button",id:p(e.title)},{default:d(()=>[B(g(e.title),1)]),_:2},1032,["id"]),f(i(S),null,{default:d(()=>[u("div",R,[e?.content?(s(),a("div",{key:0,innerHTML:e.content,class:"text-base text-black leading-[1.5]"},null,8,q)):l("",!0)])]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])],512)])])):l("",!0)}};export{U 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.