1import{H as M}from"./XzcKr1g2.js";import{_ as N}from"./8Gk3_3kR.js";import{a as z,r as l,e as _,aj as A,j as i,h as c,q as r,f as t,m as s,M as m,v as d,K as F,L as H,t as x,G as f,x as L,T,_ as q}from"./JTGkqvXa.js";import{_ as G}from"./CJvdX2hC.js";import{l as S,f as D,s as E}from"./DjJddxek.js";import"./Q27x1Ny1.js";const K={class:"u-box xs:p-12 p-8"},O={class:"u-subtitle text-secondary mb-8"},$={class:"flex flex-col gap-8"},I={key:0,class:"flex justify-center mt-28"},X={__name:"index",props:{slice:{type:Object,required:!0,default:()=>({})}},setup(o){const y=o,{t:g}=z(),n=l(!0),h=l(30),v=l(null),b=l(null),k=e=>e&&e.data&&Array.isArray(e.data.features)&&e.data.features.length>0?e.data.features.map(a=>a.feature).filter(a=>a.data):[];_(()=>({"max-h-[108.3rem]":n.value}));const w=_(()=>y.slice.items.map(e=>e.category).filter(e=>e.data));return(e,a)=>{const C=M,j=A("masonry-wall"),B=N,V=q;return i(),c("section",{class:f(["container",t(E)])},[r(C,{title:o.slice.primary.title,description:o.slice.primary.description,"sub-title":o.slice.primary.name,"has-entry-animation":"",centered:"","container-classes":{"mx-auto lg:px-12 mb-20":!0,...t(S)}},null,8,["title","description","sub-title","container-classes"]),s("div",{class:f(["mt-20 relative sm:w-5/6 mx-auto",{"max-h-[50rem] overflow-hidden":t(n),...t(D)}]),ref_key:"grid",ref:v},[r(B,null,{default:m(()=>[r(j,{items:t(w),"column-width":300,gap:t(h),class:"-mx-16 px-20 flex justify-center pb-8"},{default:m(({item:u})=>[s("div",K,[s("div",O,d(u.data.name),1),s("ul",$,[(i(!0),c(F,null,H(k(u),p=>(i(),c("li",{key:p.id,class:"flex u-text-regular-2"},[a[1]||(a[1]=s("img",{src:G,width:"20",class:"mr-3",alt:""},null,-1)),x(" "+d(p.data.name),1)]))),128))])])]),_:1},8,["items","gap"])]),_:1}),s("div",{ref_key:"mask",ref:b,class:f([{"opacity-0":!t(n)},"h-[41rem] bg-gradient-to-t from-white w-full absolute left-0 bottom-0 z-10 duration-300 ease-in-out transition-opacity"])},null,2)],2),r(T,{name:"fade"},{default:m(()=>[t(n)?(i(),c("div",I,[r(V,{secondary:"",outline:"",onClick:a[0]||(a[0]=u=>n.value=!1)},{default:m(()=>[x(d(t(g)("showAllFeatures")),1)]),_:1})])):L("",!0)]),_:1})],2)}}};export{X 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.