PageSourceSearch

https://museumarnhem.nl/assets/build/assets/exhibition-070rPzAf.js

js museumarnhem.nl collected 2026-10-02 09:56:10 UTC 3,867 bytes, 1 lines download raw bytes

1import{j as e,W as H,B as m,b as T,S as j,t as w,h as y,X as A,g as I,F as C,Y as R,T as b,i as B,L as F,Z as Y,_ as S,$ as z,a0 as L,a1 as G,a2 as W,f as D}from"./main-nLKeN2YQ.js";import{b as f,w as N,n as X}from"./vendor-DTIdGp56.js";import{p as E,B as $,P as K}from"./Blocks-CLpVQ-K5.js";import{R as O}from"./ReadMore-BHQkTqc1.js";import{A as U}from"./Artists-UrHIg2w9.js";import{u as V,R as Z}from"./ReadSpeaker-DbzHbopj.js";import"./schema-BYpcozFN.js";import"./analytics-BFmCatKk.js";import"./useToggle-BPv84DmS.js";const _=f.forwardRef(({points:s=[],...n},t)=>e.jsx(m,{ref:t,style:{clipPath:E(s)},...n}));_.displayName="Mask";const M=f.forwardRef(({points:s,...n},t)=>e.jsx(H,{ref:t,style:{clipPath:s.to((...r)=>E(r))},...n}));M.displayName="AnimatedMask";function q({image:s,t:n,...t}){const r=f.useRef(null),c=R(r),{points:a,angleY:l,projectPoint:i}=S({rect:c,angle:-w.perspective.angle}),o=Math.PI/-2+w.perspective.fovX/-2-l,g=L(a[1][0],0,a[1][2]),u=n.to(d=>a.map(p=>G(W(),p,g,o*-(d**1.5))).map(i));return e.jsx(m,{ref:r,overflow:"hidden",...t,children:e.jsx(M,{position:"absolute",inset:"0",points:u,children:e.jsx(D,{...s})})})}const P=f.forwardRef(({rect:s,t:n,title:t,subtitle:r,...c},a)=>{const{angleY:l,styles:i}=S({rect:s}),h=n.to(o=>`rotateY(${z(o,0,1,l,0)}rad)`);return e.jsx(m,{ref:a,style:i.container,...c,children:e.jsx(X.div,{style:{...i.content,width:"100%",transform:h},children:e.jsxs(j,{spacing:"2",px:w.pageMarginX,children:[e.jsx(b.Huge,{as:"h1",lineHeight:"1",unit:"vmin",scale:1.25,children:t}),e.jsx(b.Huge,{as:"h2",textTransform:"lowercase",maxWidth:"12em",style:{fontSize:"8vmin"},children:r})]})})})});P.displayName="ExhibitionTitle";function J({title:s,subtitle:n,image:t,dates:r,location:c,links:a}){const l=f.useRef(null),i=R(l),h=f.useRef(null),o=R(h),[{t:g},u]=N(()=>({t:0}));return f.useEffect(()=>{const d=()=>{if(i.height===0)return;const x=Math.min(window.pageYOffset/(i.height-o.height),1);u({t:x})};return window.addEventListener("scroll",d),()=>window.removeEventListener("scroll",d)},[u,i,o]),e.jsxs(j,{minHeight:`calc(100vh - ${w.headerHeight} - 1.2rem)`,ref:l,display:"flex",flexDirection:"column",paddingTop:"2",...Y(l),children:[e.jsxs(m,{flexGrow:"1",display:"flex",flexDirection:"column",children:[e.jsx(m,{position:"sticky",top:w.headerHeight,zIndex:"1",children:e.jsx(P,{ref:h,rect:o,t:g,title:s,subtitle:n})}),e.jsx(m,{flexGrow:"1",display:"flex",children:t&&e.jsx(q,{image:t,t:g,minHeight:t.ratio*100+"vw",flexGrow:"1"})})]}),e.jsx(y,{fontSize:1,justifyContent:"flex-start",children:e.jsxs(m,{display:"flex",flexWrap:"wrap",justifyContent:"space-between",alignItems:"baseline",fontWeight:"bold",children:[e.jsxs(b,{fontSize:"2",textTransform:"lowercase",children:[r,c&&" / "+c]}),e.jsx(B,{children:a.map(({label:d,url:x},p)=>e.jsx(F,{textDecoration:"underline",to:x,children:d},p))})]})})]})}function le(){const s=T("exhibition"),{title:n,subtitle:t,dates:r,location:c,links:a,mainImage:l,backgroundColor:i,introduction:h,body:o,readMore:g,readLess:u,artistsHeading:d,artists:x,carousel:p}=s,[v,k]=f.useState(!1);return V("onUIBeforePlay",()=>k(!0)),e.jsxs(e.Fragment,{children:[e.jsxs(j,{backgroundColor:i,paddingTop:w.headerHeight,paddingBottom:"10vw",spacing:"6",children:[e.jsx(J,{title:n,subtitle:t,image:l,dates:r,location:c,links:a}),e.jsxs(j,{spacing:"6",fontSize:"1",id:"readspeaker",children:[e.jsxs(j,{spacing:"2",children:[e.jsx(y,{justifyContent:"flex-start",...I(),children:e.jsxs(j,{spacing:"2",children:[e.jsx(Z,{}),e.jsx(A,{children:h})]})}),o&&o.length>0&&e.jsx(O,{readMore:g,readLess:u,justifyContent:"flex-start",show:v,toggle:()=>k(!v),children:e.jsx($,{blocks:o,justifyContent:"flex-start"})})]}),x&&x.length>0&&e.jsx(y,{justifyContent:"flex-start",children:e.jsx(U,{title:d,artists:x,backgroundColor:i})})]}),p&&p.length>0&&e.jsx(K,{images:p})]}),e.jsx(C,{})]})}export{le 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.