1import{_ as R}from"./CBUmujFK.js";import{_ as S,a as V}from"./DxuXhNvm.js";import{g as W,_ as F}from"./D-aulzR_.js";import{_ as G}from"./CLaQlHee.js";import{_ as I}from"./BY69H7sM.js";import{_ as O}from"./WMdY98MC.js";import{B as u,C as v,f as E,h as K,a5 as U,g as X,Q as J,D as Y,G as Z,H as ee,X as te,m as n,o,w as d,a,b as c,l as e,s as ae,c as p,F as C,r as T,y as L}from"./BuQnNKLK.js";import{k as se}from"./CdSTrTH5.js";import"./BnymjRWb.js";import"./D5VjfvBY.js";import"./DW78k8Aa.js";import"./CLqcdQD7.js";import"./CMgovPxf.js";import"./VWuaVIkF.js";function oe(_){return{query:`page("${_}")`,select:{...v,header:se,layouts:"page.layout.toResolvedLayouts",latestPublications:{query:'page("publicaties").getChildrenItems.sortBy("date", "desc").limit(4)',select:u},researchProjectPage:{query:'site.index.filterBy("intendedTemplate", "overview-onderzoek").first',select:{...v,currentTitle:"page.currentTitle.value",completedTitle:"page.completedTitle.value"}},currentProjects:{query:"site.getCurrentResearchProjects",select:u},completedProjects:{query:"site.getCompletedResearchProjects",select:u},readMoreText:"page.readMoreText"}}}const re={class:"grid lg:grid-cols-2 gap-4 mt-4"},le=["innerHTML"],ne={class:"max-w-md"},ce=["innerHTML"],ie={class:"mt-8"},ue={class:"flex flex-col gap-12"},de={class:"mt-8"},pe={class:"mt-8"},_e={class:"flex flex-col"},me={key:0,class:"py-12"},Me=E({__name:"onderzoek",async setup(_){let r,m;const{locale:h,localeCodes:j,t:l}=K(),i=U(),A=X(),w=J(A.params.slug,j.value),{data:B}=([r,m]=Y(()=>Z(oe(w),{language:h.value})),r=await r,m(),r),t=B.value.result;ee(t);const{colorTheme:M}=te(t.colorTheme),$=W("project");return(he,ge)=>{const H=R,g=S,q=F,z=G,D=I,Q=V,N=O;return o(),n(N,null,{header:d(()=>[a("div",re,[a("h2",{innerHTML:e(t).header.title||e(t).headline||e(t).title},null,8,le),a("div",ne,[a("h6",{class:"h6 font-semibold body-text",innerHTML:e(t).header.text},null,8,ce),a("div",ie,[c(H,{"color-theme":e(M),links:e(t).header.links,"is-header":!0},null,8,["color-theme","links"])])])])]),related:d(()=>[e(t).latestPublications.length?(o(),p("section",me,[c(Q,{"card-data":e(t).latestPublications.slice(0,4),text:e(t).readMoreText||e(l)("seeAll"),button:{id:"latest-publications",text:e(l)("seeAll"),link:e(i)("/publicaties"),type:"tertiary",icon:"page"}},null,8,["card-data","text","button"])])):L("",!0)]),default:d(()=>{var y,f,P,x,b,k;return[a("div",ue,[a("section",null,[c(g,{text:((y=e(t).researchProjectPage)==null?void 0:y.currentTitle)||"",button:{id:"current-projects",text:e(l)("seeAll"),link:e(i)({path:(f=e(t).researchProjectPage)==null?void 0:f.uri}),type:"tertiary",icon:"page"}},null,8,["text","button"]),a("section",de,[a("div",{class:ae(["grid gap-4",e($)])},[(o(!0),p(C,null,T(e(t).currentProjects,s=>(o(),n(q,{key:s.id,data:s},null,8,["data"]))),128))],2)])]),a("section",null,[(x=(P=e(t))==null?void 0:P.layouts)!=null&&x.length?(o(),n(z,{key:0,layouts:e(t).layouts,"background-class":"bg-theme-page-bg"},null,8,["layouts"])):L("",!0)]),a("section",null,[a("div",null,[c(g,{text:((b=e(t).researchProjectPage)==null?void 0:b.completedTitle)||"",button:{id:"current-projects",text:e(l)("seeAll"),link:e(i)({path:(k=e(t).researchProjectPage)==null?void 0:k.uri}),type:"tertiary",icon:"page"}},null,8,["text","button"])]),a("section",pe,[a("div",_e,[(o(!0),p(C,null,T(e(t).completedProjects,s=>(o(),n(D,{id:s.id,key:s.id,uri:s.uri,"start-date":s.startDate||s.date,"end-date":s.endDate,title:s.title,category:s.cardMeta.category,themes:s.themes,locale:e(h)},null,8,["id","uri","start-date","end-date","title","category","themes","locale"]))),128))])])])])]}),_:1})}}});
1export{Me 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.