PageSourceSearch

https://www.departementzorg.be/_nuxt/Dh-Vsq01.js

js departementzorg.be collected 2026-10-09 22:34:07 UTC 4,966 bytes, 1 lines download raw bytes

1import{$ as e,B as t,Qn as n,Rt as r,U as i,W as a,Z as o}from"./BiPooj0r.js";import{Ct as s,F as c,N as l,P as u,a as d,c as f,l as p,o as m,u as h}from"./DPj-OApn.js";import{t as g}from"./m7MoqzmT.js";import{r as _}from"./BVK8d5je.js";var v=e=>{let t=[{label:e.refNewsType?.__typename===`TermNewsType`&&e.refNewsType?.name||void 0},...e.refTheme?.map(e=>e.__typename===`TermTheme`?{label:e?.name}:void 0).filter(e=>e!==void 0)];return{title:e.title,description:e.description?.value,tags:t,date:Number(e.publicationDatetime?.time),image:e.image?.__typename===`MediaCloudinaryImage`?{name:e.image.name,alt:e.image.cloudinary?.alt??void 0,public_id:e.image.cloudinary?.public_id,mime:e.image.cloudinary?.mime??void 0}:void 0,slug:e.path}},y=e=>({title:e.title,description:e.description?.value,image:e.image?{name:e.image?.name,alt:e.image?.cloudinary?.alt??void 0,public_id:e.image?.cloudinary?.public_id,mime:e.image.cloudinary?.mime??void 0}:void 0,slug:e.path}),b=e=>{let t=(e,t)=>e.label?.localeCompare(t.label),n=async()=>{let n=e.ovoNumber;if(n){let e=await m(n);return[...p(e?.contacts).sort(t)??[],...h(e?.locations).sort(t)??[],...f(e?.buildings).sort(t)??[]]}return[...e.refContacts?u(e.refContacts):[],...e.postalAddress||e.visitorAddress?l(e.postalAddress,e.visitorAddress):[],{label:`building`,value:e.buildings,icon:`building`}].filter(e=>!!e.value)},r=[(e.refOrganisationType?.name&&{label:e.refOrganisationType?.name})??void 0,...e.refIndustry?.map(e=>e.__typename===`TermIndustry`&&e.name?{label:e.name}:void 0)??[]].filter(e=>e!==void 0);return{bundleId:d.ORGANISATION,...y(e),tags:r,getExtraInfo:n}},x=e=>{let t=()=>new Promise(t=>t(c(e)));return{bundleId:d.CONTACTPOINT,...y(e),getExtraInfo:t}},S=e=>{let t=e.refPublicationType?.__typename===`TermPublicationType`&&e.refPublicationType.name?{label:e.refPublicationType.name}:void 0,n=(e.refCategory??[]).map(e=>e.__typename===`TermTheme`&&e.name?{label:e.name}:void 0).filter(e=>e!==void 0),r=[t,...n].filter(e=>e!==void 0),i=e.publicationCta?.find(e=>e.__typename===`ParagraphCta`),a=i?.extLink?.url||i?.refContent?.path||void 0,o=i?.refDocument&&i?.refDocument.__typename===`MediaCloudinaryDocument`&&{publicId:i.refDocument.mediaCloudinaryRaw?.public_id,resourceType:i.refDocument.mediaCloudinaryRaw?.resource_type,size:i.refDocument.mediaCloudinaryRaw?.size,mime:i.refDocument.mediaCloudinaryRaw?.mime}||void 0,s=e.files?.filter(e=>e.__typename===`ParagraphFilesPerLanguage`).length||void 0;return{bundleId:d.PUBLICATION,...y(e),tags:r,type:t,themes:n,date:Number(e.publicationDate?.time),downloadCta:o,cta:a,amountOfLanguages:s}},C=e=>({bundleId:d.INFECTIOUS_DISEASE,...y(e),descriptionInTable:e.description?.value,tags:[{labelKey:e.mandatoryReport?`detail.customTags.mandatoryReport`:`detail.customTags.noMandatoryReport`,tagProps:{type:e.mandatoryReport?`error`:`color`}}]}),w=e=>{let t=()=>new Promise(t=>t(e.faqAnswer?.processed));return{bundleId:d.FAQ,...y(e),faqQuestion:e?.faqQuestion?.value,getExtraInfo:t}},T=e=>{let t=e?.refSurveyTags?.map(e=>e.__typename===`TermPopulationSurveyTag`&&e.name?{label:e.name}:void 0).filter(e=>e!==void 0),n=e.populationCta?.find(e=>e.__typename===`ParagraphCta`),r=n?.extLink?.url||n?.refContent?.path||void 0,i=n?.refDocument&&n?.refDocument.__typename===`MediaCloudinaryDocument`&&{publicId:n.refDocument.mediaCloudinaryRaw?.public_id,resourceType:n.refDocument.mediaCloudinaryRaw?.resource_type,size:n.refDocument.mediaCloudinaryRaw?.size,mime:n.refDocument.mediaCloudinaryRaw?.mime}||void 0;return{bundleId:d.POPULATION_SURVEY,...y(e),tags:t,date:Number(e.surveyDate?.time),downloadCta:i,cta:r}},E=e=>{let t={labelKey:`detail.customTags.${e.vipaProjectType}`},n=[t];return{bundleId:d.VIPA_PROJECT,...y({...e,image:e.refImages?.length?e.refImages[0]:void 0}),tags:n,type:t}},D=e=>{let t=e.refSubstanceGroup?.map(e=>e.__typename===`TermSubstanceGroup`&&{label:e.name});return{bundleId:d.ENDOCRINE_DISRUPTOR,...y(e),tags:t}},O=e=>{if(e)switch(e.__typename){case s.NEWS_DETAIL:return v(e);case s.ORGANISATION_DETAIL:return b(e);case s.CONTACTPOINT_DETAIL:return x(e);case s.PUBLICATION_DETAIL:return S(e);case s.INFECTIOUS_DISEASE_DETAIL:return C(e);case s.FAQ_DETAIL:return w(e);case s.CONTENT_PAGE:return y(e);case s.POPULATION_SURVEY_DETAIL:return T(e);case s.VIPA_PROJECT_DETAIL:return E(e);case s.ENDOCRINE_DISRUPTOR_DETAIL:return D(e);default:return{...y(e),descriptionInTable:e.description?.value}}},k={key:0,class:`zrg-collection-items`},A=Object.assign(e({__name:`zrg-collection-item-set-manual`,props:{data:{}},setup(e){let s=t(()=>e.data?.refContent.map(O).filter(e=>!!e?.title)),c=e.data.heading?.text??``,l=e.data.body?.processed??``;return(t,u)=>n(s)?.length?(r(),a(`div`,k,[o(g,{"block-title":n(c),"block-description":n(l)},null,8,[`block-title`,`block-description`]),o(_,{items:n(s),"view-mode":e.data?.viewM
1ode},null,8,[`items`,`view-mode`])])):i(``,!0)}}),{__name:`ZrgContentBlocksZrgCollectionItemSetManual`});export{A 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.