1import{d as h,o as s,e as a,f as t,t as i,n as c,F as _,i as k,g as p,v as u,s as v,_ as g,aE as y,C as b,h as j,H as d,x as w,b as B,K as C}from"./BQayTzHY.js";import{u as A}from"./CfL6U3WJ.js";const L={class:"w-full inline-flex flex-col justify-start items-start gap-10"},E={class:"self-stretch flex flex-col md:flex-row justify-start items-stretch min-h-[400px]"},I={class:"w-full md:flex-1 p-8 bg-white rounded-xl md:rounded-tl-xl md:rounded-bl-xl md:rounded-tr-none md:rounded-br-none rounded-t-none flex flex-col justify-start items-start order-2 md:order-1"},N=["onClick"],T={class:"inline-flex justify-start items-center gap-2.5 w-full"},V={class:"flex justify-start items-center gap-2.5"},H={class:"justify-start text-xl font-semibold text-slate-900"},M={class:"ml-auto"},F={key:0,class:"accordion-content self-stretch flex flex-col justify-start items-start gap-4"},O={class:"self-stretch justify-start text-base font-normal leading-7 text-slate-700 text-preserve-linebreaks"},$={key:0,class:"sr-only"},z=["innerHTML"],D=h({inheritAttrs:!1,__name:"AccordionBlock",props:{block:{}},setup(o){const r=B([]),m=f=>{const n=r.value.indexOf(f);n>-1?r.value.splice(n,1):r.value.push(f)},{getExternalLinkAttributes:x}=A();return(f,n)=>(s(),a("div",L,[t("h2",{class:c(["self-stretch text-left md:text-center justify-start font-semibold leading-8 md:leading-10 my-0",o.block.data.variant==="dark"?"text-white":"text-slate-900"])},i(o.block.data.title),3),t("div",E,[t("div",I,[(s(!0),a(_,null,k(o.block.data.items,(e,l)=>(s(),a("div",{key:l,class:c(["self-stretch flex flex-col justify-start items-start",l!==o.block.data.items.length-1?"border-b border-gray-200":""])},[t("div",{class:c(["self-stretch py-7 flex flex-col justify-start items-start gap-5 cursor-pointer",l===0?"pt-3":""]),onClick:K=>m(l)},[t("div",T,[t("div",V,[t("div",H,i(e.title),1)]),t("div",M,[(s(),a("svg",{class:c(["w-4 h-4 transition-transform duration-200 text-slate-900",r.value.includes(l)?"rotate-180":""]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[...n[0]||(n[0]=[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2))])]),p(w,{name:"accordion",mode:"out-in"},{default:u(()=>[r.value.includes(l)?(s(),a("div",F,[t("div",O,i(e.description),1),e.url?(s(),v(g,y({key:0,to:e.url,variant:"secondary-light"},{ref_for:!0},e.type==="external"?b(x)(e):{}),{text:u(()=>[j(i(e.link_title||"Read more")+" ",1),e.link_description?(s(),a("span",$,i(e.link_description),1)):d("",!0)]),_:2},1040,["to"])):d("",!0)])):d("",!0)]),_:2},1024)],10,N)],2))),128))]),o.block.data.image?(s(),a("div",{key:0,class:"accordion-image-wrapper w-full md:flex-1 h-[300px] md:h-auto mt-4 md:mt-0 order-1 md:order-2",innerHTML:o.block.data.image},null,8,z)):d("",!0)])]))}}),S=Object.assign(C(D,[["__scopeId","data-v-f0bab2ea"]]),{__name:"BlocksAccordionBlock"});export{S as default}; 2//# sourceMappingURL=D8-UwAb7.js.map
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.