PageSourceSearch

https://erfgoeddelft.nl/assets/HeaderBlock-D2QG1gzK.js

js erfgoeddelft.nl collected 2026-10-09 05:06:40 UTC 5,052 bytes, 16 lines download raw bytes

1import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{L as x}from"./chunk-OIYGIGL5-BTtSLqd2.js";import{c,a as h}from"./utils-DByzxrth.js";import{N as p,L as u,B as f,H as g}from"./HtmlContent-8TsGtl5_.js";import{M as j,H as N,B as y}from"./mails-OLQQ0QzD.js";import{A as w}from"./archive-DG5_8jnw.js";import{B as v}from"./Breadcrumb-D65YBwlv.js";import{f as b}from"./functions-CL-z2Fjc.js";import{g as k,a as M}from"./image-lX9uzMvy.js";/**
2 * @license lucide-react v0.553.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const B=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]],H=c("calendar-days",B);/**
7 * @license lucide-react v0.553.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const L=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],_=c("folder",L);/**
12 * @license lucide-react v0.553.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */const z=[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]],T=c("pen-tool",z),I={archive:w,bookOpenText:y,bookText:f,calendarDays:H,folder:_,libraryBig:u,heartHandshake:N,mails:j,newspaper:p,penTool:T},i=({name:a,size:t=24,className:n})=>{const l=I[a];return l?e.jsx(l,{size:t,className:n}):(console.warn(`Icon "${a}" not found`),null)},$=({level:a,children:t,className:n=""})=>{const l=a;return e.jsx(l,{className:`heading-${a} ${n}`,children:t})};function s({className:a,...t}){return e.jsx("div",{className:h("animate-pulse rounded-md bg-primary/10",a),...t})}const o={story:{label:"Verhaal",icon:"bookText"},news:{label:"Nieuwsbericht",icon:"newspaper"}};function F({block:a,loading:t,breadcrumbs:n,variant:l="story"}){if(t)return e.jsxs("div",{className:"flex flex-col md:flex-row gap-6 bg-surface-light",children:[e.jsxs("div",{className:"flex-1 space-y-4 p-16",children:[e.jsx(s,{className:"h-12 w-3/4"}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsx(s,{className:"h-8 w-24 rounded-full"}),e.jsx(s,{className:"h-8 w-32 rounded-full"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(s,{className:"h-4 w-full"}),e.jsx(s,{className:"h-4 w-full"}),e.jsx(s,{className:"h-4 w-2/3"})]}),e.jsxs("div",{className:"flex gap-4",children:[e.jsx(s,{className:"h-4 w-20"}),e.jsx(s,{className:"h-4 w-24"}),e.jsx(s,{className:"h-4 w-28"})]})]}),e.jsx(s,{className:"md:w-1/2 min-h-[444px] rounded-bl-5xl"})]});if(!a)return null;const m=k(a.featured_image,{preset:"header"});return e.jsxs("div",{className:"flex flex-col md:flex-row gap-6 bg-surface-light",children:[e.jsxs("div",{className:"flex-1 space-y-4 p-16",children:[n&&e.jsx(v,{items:n}),e.jsx($,{level:"h1",className:"text-black",children:a.title}),a.subtitle&&e.jsx("p",{className:"text-xl text-black font-400",children:a.subtitle}),(a.bundles&&a.bundles.length>0||a.tags&&a.tags.length>0)&&e.jsxs("div",{className:"flex flex-wrap gap-2",children:[a.tags&&a.tags.map((r,d)=>e.jsx("span",{className:"px-3 py-1 bg-surface-normal text-black rounded-full text-buttontext font-medium",children:r},d)),a.bundles&&a.bundles.map(r=>e.jsxs(x,{to:`/verhalen/bundels/${r.slug}`,className:"px-3 py-1 bg-surface-normal text-black rounded-full text-buttontext font-medium justify-center flex items-center hover:bg-surface-secondary-hover transition-colors",children:[r.title,e.jsx(i,{name:"libraryBig",size:24,className:"inline ml-1"})]},r.id))]}),a.intro&&e.jsx(g,{html:a.intro,className:"text-lg text-black dark:text-white leading-relaxed"}),e.jsxs("p",{className:"text-sm text-black dark:text-white",children:[e.jsxs("span",{children:[e.jsx(i,{name:o[l].icon,size:16,className:"inline mr-1"}),o[l].label]}),e.jsxs("span",{children:[e.jsx(i,{name:"calendarDays",size:16,className:"inline mr-1 ml-4"}),b(a.published_date)]}),a.author&&e.jsxs("span",{children:[e.jsx(i,{name:"penTool",size:16,className:"inline mr-1 ml-4"}),a.author]})]})]}),m&&e.jsx("div",{className:"md:w-1/2  bg-white md:bg-surface-light ",children:e.jsx("img",{src:m,alt:M(a.featured_image,a.title),className:"w-full h-full object-cover max-h-[444px] rounded-bl-5xl"})})]})}export{H as C,F as H,i as I,T as P,I as i};

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.