1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2921,6501],{902:(l,e,t)=>{t.d(e,{A:()=>u});var a=t(4930);t(8026);var n=t(9320),i=t.n(n);let r=l=>{var e,t,n,r,s,u,d,o,c,x,h,m;let{attachment:p}=l;return(0,a.jsx)(a.Fragment,{children:(null==p?void 0:p.url)||(null==(n=p.reference)||null==(t=n.data)||null==(e=t.attributes)?void 0:e.url)?(0,a.jsxs)(i(),{href:"".concat((null==p||null==(u=p.reference)||null==(s=u.data)||null==(r=s.attributes)?void 0:r.url)?null==p||null==(c=p.reference)||null==(o=c.data)||null==(d=o.attributes)?void 0:d.url:null==p?void 0:p.url),target:"tab"===p.target?"_blank":"_self",rel:"tab"===p.target?"noopener noreferrer":void 0,className:"group relative -mt-px flex border-collapse cursor-pointer items-center border border-gray-light p-5 font-light first-of-type:-mt-0 hover:z-10 hover:border-blue-900 hover:text-blue-900",scroll:!1,children:[(0,a.jsxs)("svg",{className:"h-6 w-6 shrink-0 text-gray opacity-70 group-hover:hidden",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}),(0,a.jsx)("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"})]}),(0,a.jsxs)("svg",{className:"hidden h-6 w-6 shrink-0 group-hover:block",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,a.jsx)("polyline",{points:"12 5 19 12 12 19"})]}),(0,a.jsx)("p",{className:"ml-5",children:null==p?void 0:p.label})]}
1):(0,a.jsxs)(i(),{href:"".concat(null==p||null==(m=p.file)||null==(h=m.data)||null==(x=h.attributes)?void 0:x.url),scroll:!1,download:!0,className:"group relative -mt-px flex border-collapse cursor-pointer items-center border border-gray-light p-5 font-light first-of-type:-mt-0 hover:z-10 hover:border-blue-900 hover:text-blue-900",children:[(0,a.jsxs)("svg",{className:"h-6 w-6 shrink-0 text-gray opacity-70 group-hover:hidden",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("path",{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"}),(0,a.jsx)("polyline",{points:"13 2 13 9 20 9"})]}),(0,a.jsxs)("svg",{className:"hidden h-6 w-6 shrink-0 group-hover:block",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),(0,a.jsx)("polyline",{points:"7 10 12 15 17 10"}),(0,a.jsx)("line",{x1:"12",y1:"15",x2:"12",y2:"3"})]}),(0,a.jsx)("p",{className:"ml-5",children:null==p?void 0:p.title})]})})};var s=t(7774);let u=l=>{var e,t,n;let{attachments:i,itemType:u}=l,{t:d}=(0,s.A)("common");return(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"prose mb-4 w-full",children:(0,a.jsx)("h2",{children:d("artist"===u?"immerse":"more")})}),(null==i||null==(e=i.documents)?void 0:e.length)>0&&i.documents.map(l=>(0,a.jsx)(r,{attachment:l},l.id)),(null==i||null==(t=i.links)?void 0:t.length)>0&&(null==(n=i.links)?void 0:n.map(l=>(0,a.jsx)(r,{attachment:l},l.id)))]})}},1141:(l,e,t)=>{t.d(e,{G:()=>n});var a=t(7498);function n(l){var e;return(null==l||null==(e=l.url)?void 0:e.startsWith("/"))?(0,a.Fx)(l.url):null==l?void 0:l.url}},1789:(l,e,t)=>{t.d(e,{A:()=>s});var a=t(4930);t(8026);var n=t(9320),i=t.n(n),r=t(7774);let s=l=>{let{items:e,itemType:t}=l,{t:n}=(0,r.A)("common");return(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"w-full prose mb-3",children:(0,a.jsx)("h2",{children:"exhibition"===t?n("participating"):n("related")})}),(0,a.jsx)("ul",{className:"flex flex-col space-y-4",children:null==e?void 0:e.map((l,e)=>(0,a.jsx)("li",{children:"exhibition"===t||"artist"===t?(0,a.jsxs)(i(),{className:"font-light group flex w-full cursor-pointer items-center justify-between",scroll:!1,href:"exhibition"===t?"/".concat(n("collection-link"),"/").concat(n("artists"),"/").concat(l.attributes.slug):"/".concat(n("exhibitions"),"/").concat(l.attributes.slug),children:[(0,a.jsx)("span",{className:"text-xl font-light group-hover:underline",children:l.attributes.title}),(0,a.jsxs)("svg",{"aria-hidden":"true",className:"text-gray opacity-60",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,a.jsx)("polyline",{points:"12 5 19 12 12 19"})]})]},l.id):(0,a.jsx)("span",{className:"font-light flex w-full items-center justify-between",children:(0,a.jsx)("span",{className:"text-xl font-light",children:l.attributes.title})})},e))})]})}},2821:(l,e,t)=>{function a(l){var e;return(null==l||null==(e=l.seo)?void 0:e.description)||(null==l?void 0:l.ingress)||void 0}function n(l,e,t,a,n){var i,r,s;if(null==l||null==(s=l.seo)||null==(r=s.ogImage)||null==(i=r.data)?void 0:i.attributes){let e=l.seo.ogImage.data.attributes;return{url:n(e,"url"),alt:e.alternativeText||t}}return e?{url:n(e,"url"),alt:e.alternativeText||t}:{url:"".concat(a,"/images/default-og.jpg"),alt:t}}t.d(e,{U:()=>n,s:()=>a})},2921:(l,e,t)=>{t.r(e),t.d(e,{default:()=>g});var a=t(4930),n=t(9789),i=t.n(n);let r=i()(()=>Promise.all([t.e(6661),t.e(2641)]).then(t.bind(t,2641)),{loadableGenerated:{webpack:()=>[2641]}}),s=i()(()=>Promise.all([t.e(4547),t.e(9313),t.e(5671)]).then(t.bind(t,5671)),{loadableGenerated:{webpack:()=>[5671]}}),u=i()(()=>Promise.all([t.e(6661),t.e(4535)]).then(t.bind(t,4535)),{loadableGenerated:{webpack:()=>[4535]}}),d=i()(()=>Promise.all([t.e(6661),t.e(4551)]).then(t.bind(t,4551)),{loadableGenerated:{webpack:()=>[4551]}}),o=i()(()=>t.e(9191).then(t.bind(t,9191)),{loadableGenerated:{webpack:()=>[9191]}}),c=i()(()=>Promise.all([t.e(6661),t.e(9991),t.e(3735)]).then(t.bind(t,3735)),{loadableGenerated:{webpack:()=>[3735]}}),x=i()(()=>t.e(1139).then(t.bind(t,3520)),{loadableGenerated:{webpack:()=>[3520]}}),h=i()(()=>Promise.all([t.e(4547),t.e(1575)]).then(t.bind(t,1575)),{loadableGenerated:{webpack:()=>[1575]}}),m=i()(()=>Promise.all([t.e(6661),t.e(3103)]).then(t.bind(t,3103)),{loadableGenerated:{webpack:()=>[3103]}}),p=i()(()=>t.e(3223).then(t.bind(t,3223)),{loadableGenerated:{webpack:()=>[3223]}}),v=(l,e)=>{let t,{__component:n,...i}=l;switch(n){case"components.hero":t=r;break;case"components.media-with-text":t=u;break;case"components.media":t=d;break;case"components.text-with-applied-style":t=o;break;
1case"components.content-references":t=c;break;case"components.infobar":t=x;break;case"components.text":t=h;break;case"components.image-collection":t=m;break;case"components.divider":t=p;break;case"components.faq-section":t=s;break;case"components.content-block-reference":{var g,b,j,f;let l=null!=(f=null==(b=i.block)||null==(g=b.data)?void 0:g.attributes)?f:i.block,t=null==l||null==(j=l.content)?void 0:j[0];if(!t)return null;let{__component:a,...n}=t;return v({__component:a,...n},e)}default:return null}return t?(0,a.jsx)(t,{headingLevel:0===e?"h1":"h2",priority:0===e,...i},"index-".concat(e)):null},g=l=>{let{content:e=[]}=l;return(0,a.jsx)("div",{children:e.map(v)})}},5685:(l,e,t)=>{t.d(e,{A:()=>j});var a=t(4930),n=t(4547),i=t(1141),r=t(6661),s=t.n(r),u=t(7774),d=t(1789),o=t(902),c=t(8026),x=t(2544),h=t(4735),m=t(4140),p=t(3139);let v=l=>{var e,t,n,i,r,s,d,o,c,v,g,b,j,f,w,y,k,N,D,M,C,T,A,L,F,E,G,B,W,P,H,_,z,I,V,R,Z,O,S,U,$,q,J,K,Q,X,Y,ll,le,lt,la,ln,li,lr,ls,lu,ld,lo,lc,lx,lh,lm,lp,lv,lg,lb,lj,lf,lw,ly,lk,lN,lD,lM,lC,lT,lA,lL,lF,lE,lG,lB,lW,lP,lH,l_,lz,lI,lV,lR,lZ,lO,lS,lU;let{itemType:l$,item:lq,locale:lJ}=l,{t:lK}=(0,u.A)("common"),lQ="sv"===lJ?m.sv:p.b,lX=(l,e)=>(0,x.GP)(new Date(l),e,{locale:lQ}).replace(/([a-zA-ZåäöÃ
ÃÃ])\./,"$1"),lY=(l,e)=>(0,x.GP)(new Date(l),e,{locale:lQ}),l0=new Date>new Date(null==lq||null==(n=lq.data)||null==(t=n[0])||null==(e=t.attributes)?void 0:e.endDate),l1=(null==lq||null==(d=lq.data)||null==(s=d[0])||null==(r=s.attributes)||null==(i=r.programType)?void 0:i.data)||null,l2=(null==lq||null==(g=lq.data)||null==(v=g[0])||null==(c=v.attributes)||null==(o=c.programTypes)?void 0:o.data)||[],l4=[];return(l1||l2)&&(l4=[...l1?[l1]:[],...l2]),(0,a.jsxs)("div",{className:"my-12 flex flex-col lg:my-24 lg:flex-row lg:items-end lg:justify-between lg:gap-12",children:[(0,a.jsxs)("div",{children:[l0&&"exhibition"===l$&&(0,a.jsxs)("div",{className:"ml-px mb-2 flex -translate-x-4 transform items-center text-red-900",children:[(0,a.jsx)("div",{className:"bg-red-200 flex h-12 w-12 items-center justify-center rounded-full",children:(0,a.jsxs)("svg",{className:"h-8 w-8",fill:"none",viewBox:"0 0 24 24",children:[(0,a.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12 13V15"}),(0,a.jsx)("circle",{cx:"12",cy:"9",r:"1",fill:"currentColor"}),(0,a.jsx)("circle",{cx:"12",cy:"12",r:"7.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.25"})]})}),(0,a.jsx)("p",{className:"text-lg font-light text-red-900",children:lK("passed-exhibition")})]}),(0,a.jsxs)("p",{className:"mb-4 text-lg font-light uppercase tracking-wider lg:mb-6 lg:text-xl xl:text-2xl",children:["article"===l$&&lK("latest"),"artist"===l$&&lK("artist"),"exhibition"===l$&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("time",{className:"uppercase",dateTime:null==lq||null==(f=lq.data)||null==(j=f[0])||null==(b=j.attributes)?void 0:b.startDate,children:lX(null==lq||null==(k=lq.data)||null==(y=k[0])||null==(w=y.attributes)?void 0:w.startDate,"d MMM yyyy")}),"â",(0,a.jsx)("time",{className:"uppercase",dateTime:null==lq||null==(M=lq.data)||null==(D=M[0])||null==(N=D.attributes)?void 0:N.endDate,children:lX(null==lq||null==(A=lq.data)||null==(T=A[0])||null==(C=T.attributes)?void 0:C.endDate,"d MMM yyyy")})]}),"program"===l$&&l4&&l4.map(l=>{var e;return null==l||null==(e=l.attributes)?void 0:e.title}).filter(Boolean).join(", ")]}),(0,a.jsxs)("h1",{className:"mb-4 inline-flex flex-col text-5xl font-light lg:mb-0 lg:text-7xl 2xl:text-8xl",children:[(0,a.jsx)("span",{children:null==lq||null==(E=lq.data)||null==(F=E[0])||null==(L=F.attributes)?void 0:L.title}),"exhibition"===l$&&(0,a.jsx)("span",{children:null==lq||null==(W=lq.data)||null==(B=W[0])||null==(G=B.attributes)?void 0:G.subTitle})]})]}),(0,a.jsxs)("ul",{className:"flex flex-shrink-0 flex-col space-y-2 text-lg font-light lg:space-y-6 lg:text-right lg:text-xl",children:["article"===l$&&(0,a.jsxs)("li",{children:[(0,a.jsx)("span",{className:"mr-1",children:lK("updated")}),(0,a.jsx)("time",{className:"shrink-0",dateTime:null==lq||null==(_=lq.data)||null==(H=_[0])||null==(P=H.attributes)?void 0:P.updatedAt,children:lX(null==lq||null==(V=lq.data)||null==(I=V[0])||null==(z=I.attributes)?void 0:z.updatedAt,"d MMM yyyy")})]}),"artist"===l$&&(0,a.jsx)("li",{children:(0,a.jsx)("span",{children:[null==lq||null==(O=lq.data)||null==(Z=O[0])||null==(R=Z.attributes)?void 0:R.nationality,null==lq||null==($=lq.data)||null==(U=$[0])||null==(S=U.attributes)?void 0:S.yearOfBirth].filter(
1Boolean).join(", ")})}),"program"===l$&&(0,a.jsx)(a.Fragment,{children:l0?(0,a.jsxs)("div",{className:"flex items-center text-red-900",children:[(0,a.jsx)("div",{className:"bg-red-200 flex h-12 w-12 items-center justify-center rounded-full",children:(0,a.jsxs)("svg",{className:"h-8 w-8",fill:"none",viewBox:"0 0 24 24",children:[(0,a.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12 13V15"}),(0,a.jsx)("circle",{cx:"12",cy:"9",r:"1",fill:"currentColor"}),(0,a.jsx)("circle",{cx:"12",cy:"12",r:"7.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.25"})]})}),(0,a.jsx)("h2",{className:"text-lg font-light text-red-900",children:lK("passed-event")})]}):(0,a.jsxs)(a.Fragment,{children:[(null==lq||null==(K=lq.data)||null==(J=K[0])||null==(q=J.attributes)?void 0:q.customDate)?(0,a.jsx)("li",{className:"font-light uppercase",children:null==lq||null==(X=lq.data)||null==(Q=X[0].attributes)?void 0:Q.customDate}):(0,a.jsx)("li",{children:(0,h.r)(new Date(null==lq||null==(le=lq.data)||null==(ll=le[0])||null==(Y=ll.attributes)?void 0:Y.startDate),new Date(null==lq||null==(ln=lq.data)||null==(la=ln[0])||null==(lt=la.attributes)?void 0:lt.endDate))?(0,a.jsx)("div",{className:"font-light uppercase",children:(0,a.jsx)("time",{dateTime:null==lq||null==(ls=lq.data)||null==(lr=ls[0])||null==(li=lr.attributes)?void 0:li.startDate,children:lX(null==lq||null==(lo=lq.data)||null==(ld=lo[0])||null==(lu=ld.attributes)?void 0:lu.startDate,"EEEE d MMMM")})}):(0,a.jsxs)("div",{className:"font-light uppercase",children:[(0,a.jsx)("time",{dateTime:null==lq||null==(lh=lq.data)||null==(lx=lh[0])||null==(lc=lx.attributes)?void 0:lc.startDate,children:lX(null==lq||null==(lv=lq.data)||null==(lp=lv[0])||null==(lm=lp.attributes)?void 0:lm.startDate,"d MMM")}),"â",(0,a.jsx)("time",{dateTime:null==lq||null==(lj=lq.data)||null==(lb=lj[0])||null==(lg=lb.attributes)?void 0:lg.endDate,children:lX(null==lq||null==(ly=lq.data)||null==(lw=ly[0])||null==(lf=lw.attributes)?void 0:lf.endDate,"d MMM")})]})}),(0,h.r)(new Date(null==lq||null==(lD=lq.data)||null==(lN=lD[0])||null==(lk=lN.attributes)?void 0:lk.startDate),new Date(null==lq||null==(lT=lq.data)||null==(lC=lT[0])||null==(lM=lC.attributes)?void 0:lM.endDate))&&!(null==lq||null==(lF=lq.data)||null==(lL=lF[0])||null==(lA=lL.attributes)?void 0:lA.customDate)&&(0,a.jsxs)("li",{className:"font-light uppercase",children:[(0,a.jsx)("time",{dateTime:null==lq||null==(lB=lq.data)||null==(lG=lB[0])||null==(lE=lG.attributes)?void 0:lE.startDate,children:lY(null==lq||null==(lH=lq.data)||null==(lP=lH[0])||null==(lW=lP.attributes)?void 0:lW.startDate,"en"===lJ?"h.mm a":"HH.mm")}),"â",(0,a.jsx)("time",{dateTime:null==lq||null==(lI=lq.data)||null==(lz=lI[0])||null==(l_=lz.attributes)?void 0:l_.endDate,children:lY(null==lq||null==(lZ=lq.data)||null==(lR=lZ[0])||null==(lV=lR.attributes)?void 0:lV.endDate,"en"===lJ?"h.mm a":"HH.mm")})]}),(0,a.jsx)("li",{className:"font-light uppercase",children:(0,a.jsx)("span",{children:null==lq||null==(lU=lq.data)||null==(lS=lU[0])||null==(lO=lS.attributes)?void 0:lO.location})})]})})]})]})};var g=t(9789);let b=t.n(g)()(()=>t.e(9322).then(t.bind(t,9322)),{loadableGenerated:{webpack:()=>[9322]},ssr:!1}),j=l=>{var e,t,r,x,h,m,p,g,j,f,w,y,k,N,D,M,C,T,A;let{itemType:L,item:F,mediaFile:E,locale:G,mediaType:B="image"}=l,{t:W}=(0,u.A)("common"),P=(0,c.useRef)(null),H=(0,c.useCallback)(l=>{P.current=l,l&&(l.muted=!0)},[]),_=(0,c.useCallback)(()=>{P.current&&P.current.play().catch(()=>{})},[]);return(0,a.jsx)(a.Fragment,{children:F&&(0,a.jsxs)("div",{className:"clearfix relative mx-auto my-12 block max-w-screen-3xl lg:mb-32",children:[(0,a.jsx)("div",{className:"mx-auto my-12 max-w-screen-xl px-6 lg:my-24 lg:px-12 ",children:(0,a.jsx)(v,{itemType:L,item:F,locale:G})}),(()=>{var l,e,t,n,r,u;if(E&&"videoEmbed"===B||E&&"video"===B){if("videoEmbed"===B)return(0,a.jsx)("div",{className:"w-full overflow-hidden",children:(0,a.jsx)("div",{className:"w-full pl-6 lg:pl-12 2xl:pl-24 3xl:pl-0",children:(0,a.jsxs)("figure",{children:[(0,a.jsx)("div",{className:"react-player aspect-video w-full",children:(0,a.jsx)(b,{ref:H,url:E.videoSource,controls:!1,playsInl
1ine:!0,playing:!0,muted:!0,width:"100%",height:"100%",loop:!0,onPause:_})}),E.videoCaption&&(0,a.jsx)("div",{className:"mx-auto w-full max-w-screen-xl xl:px-6 2xl:px-12",children:(0,a.jsx)("figcaption",{className:"container mx-auto mt-4 text-sm italic text-gray",children:E.videoCaption})})]})})});else if("video"===B){let n=null!=(t=null==(e=E.videoFile)||null==(l=e.data)?void 0:l.attributes)?t:E.videoFile;return(0,a.jsx)("div",{className:"w-full overflow-hidden",children:(0,a.jsx)("div",{className:"w-full pl-6 lg:pl-12 2xl:pl-24 3xl:pl-0",children:(0,a.jsxs)("figure",{children:[(0,a.jsx)("div",{className:"react-player aspect-video w-full",children:(0,a.jsx)(b,{ref:H,src:"".concat((0,i.G)(n||"","url")),controls:!1,width:"100%",height:"100%",playsInline:!0,playing:!0,muted:!0,loop:!0,onPause:_})}),E.videoCaption&&(0,a.jsx)("div",{className:"mx-auto w-full max-w-screen-xl xl:px-6 2xl:px-12",children:(0,a.jsx)("figcaption",{className:"container mx-auto mt-4 text-sm italic text-gray",children:E.videoCaption})})]})})})}}else{if(!E)return null;let l=null!=(u=null==E||null==(r=E.imageFile)||null==(n=r.data)?void 0:n.attributes)?u:null==E?void 0:E.imageFile,e=(0,i.G)(l);return e?(0,a.jsx)("div",{className:"w-full overflow-hidden",children:(0,a.jsx)("div",{className:"w-full pl-6 lg:pl-12 2xl:pl-24 3xl:pl-0",children:(0,a.jsxs)("figure",{children:[(0,a.jsx)(s(),{src:e,alt:(null==E?void 0:E.imageAltText)?E.imageAltText:null==l?void 0:l.alternativeText,priority:!0,height:null==l?void 0:l.height,width:null==l?void 0:l.width,sizes:"100vw",style:{width:"100%",height:"auto"}}),E.imageCaption&&(0,a.jsx)("div",{className:"mx-auto w-full max-w-screen-xl xl:px-6 2xl:px-12",children:(0,a.jsx)("figcaption",{className:"container mx-auto mt-4 text-sm italic text-gray",children:E.imageCaption})})]})})}):null}})(),(0,a.jsx)("div",{className:"mx-auto my-12 max-w-screen-xl px-6 lg:my-24 lg:px-12",children:(0,a.jsxs)("div",{className:"flex w-full flex-col gap-12 lg:flex-row lg:gap-24",children:[(0,a.jsxs)("div",{className:"w-full lg:w-2/3 ",children:["artist"===L||"program"===L&&(0,a.jsx)("div",{className:"prose lg:prose-lg mb-4 lg:mb-8",children:(0,a.jsxs)("h2",{children:["artist"===L&&W("aboutartist"),"program"===L&&W("info")]})}),(0,a.jsx)("div",{className:"prose lg:prose-lg w-full",children:(0,n.Ay)((null==F||null==(r=F.data)||null==(t=r[0])||null==(e=t.attributes)?void 0:e.body)||"")})]}),(0,a.jsxs)("div",{className:"flex w-full flex-col space-y-8 lg:w-1/3",children:["artist"===L&&(null==F||null==(p=F.data)||null==(m=p[0])||null==(h=m.attributes)||null==(x=h.relatedExhibitions)?void 0:x.data.length)>0&&(0,a.jsx)(d.A,{itemType:L,items:null==F||null==(g=F.data)?void 0:g[0].attributes.relatedExhibitions.data}),"exhibition"===L&&(null==F||null==(y=F.data)||null==(w=y[0])||null==(f=w.attributes)||null==(j=f.relatedArtists)?void 0:j.data.length)>0&&(0,a.jsx)(d.A,{itemType:L,items:null==F||null==(D=F.data)||null==(N=D[0])||null==(k=N.attributes)?void 0:k.relatedArtists.data}),(null==F||null==(T=F.data)||null==(C=T[0])||null==(M=C.attributes)?void 0:M.attachments)&&(0,a.jsx)(o.A,{attachments:null==F||null==(A=F.data)?void 0:A[0].attributes.attachments,itemType:L})]})]})})]})})}},7446:(l,e,t)=>{t.d(e,{A:()=>v});var a=t(4930);t(8026);var n=t(4547),i=t(1141),r=t(6661),s=t.n(r),u=t(7774),d=t(1789),o=t(902),c=t(2544),x=t(4735),h=t(4140),m=t(3139);let p=l=>{var e,t,n,i,r,s,d,o,p,v,g,b,j,f,w,y,k,N,D,M,C,T,A,L,F,E,G,B,W,P,H,_,z,I,V,R,Z,O,S,U,$,q,J,K,Q,X,Y,ll,le,lt,la,ln,li,lr,ls,lu,ld,lo,lc,lx,lh,lm,lp,lv,lg,lb,lj,lf,lw,ly,lk,lN,lD,lM,lC,lT,lA,lL,lF,lE,lG,lB,lW,lP,lH,l_,lz,lI,lV,lR,lZ,lO,lS,lU,l$;let{item:lq,itemType:lJ,locale:lK}=l,{t:lQ}=(0,u.A)("common"),lX="sv"===lK?h.sv:m.b,lY=(l,e)=>(0,c.GP)(new Date(l),e,{locale:lX}).replace(/([a-zA-ZåäöÃ
ÃÃ])\./,"$1"),l0=(l,e)=>(0,c.GP)(new Date(l),e,{locale:lX}),l1=new Date>new Date(null==lq||null==(n=lq.data)||null==(t=n[0])||null==(e=t.attributes)?void 0:e.endDate),l2=(null==lq||null==(d=lq.data)||null==(s=d[0])||null==(r=s.attributes)||null==(i=r.programType)?void 0:i.data)||null,l4=(null==lq||null==(g=lq.data)||null==(v=g[0])||null==(p=v.attributes)||null==(o=p.programTypes)?void 0:o.data)||[],l3=[];return(l2||l4)&&(l3=[...l2?[l2]:[],...l4]),(0,a.jsxs)("div",{className:"px-6 lg:float-left lg:mt-24 lg:w-1/2 lg:px-12",children:[l1&&"exhibition"===lJ&&(0,a.jsxs)("div",{className:"ml-px mb-2 flex -translate-x-4 transform items-center text-red-900",children:[(0,a.jsx)("div",{className:"bg-red-200 flex h-12 w-12 items-center justify-center rounded-full",children:(0,a.jsxs)("svg",{className:"h-8 w-8",fill:"none",viewBox:"0 0 24 24",children:[(0,a.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12 13V15"}),(0,a.jsx)("circle",{cx:"12",cy:"9",r:"1",fill:"currentColor"}),(0,a.jsx)("circle",{cx:"12",cy:"12",r:"7.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.25"})]})}),(0,a.jsx)("p",{className:"text-lg font-light text-red-900",children:lQ("passed-exhibition")})]}),(0,a.jsxs)("p",{className:"mb-4 text-lg font-light uppercase tracking-wider lg:mb-6 lg:text-xl xl:text-2xl",children:["article"===lJ&&lQ("latest"),"artist"===lJ&&lQ("artist"),"exhibition"===lJ&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("time",{className:"uppercase",dateTime:null==lq||null==(f=lq.data)||null==(j=f[0])||null==(b=j.attributes)?void 0:b.startDate,children:lY(null==lq||null==(k=lq.data)||null==(y=k[0])||null==(w=y.attributes)?void 0:w.startDate,"d MMM yyyy")}),"â",(0,a.jsx)("time",{className:"uppercase",dateTime:null==lq||null==(M=lq.data)||null==(D=M[0])||null==(N=D.attributes)?void 0:N.endDate,children:lY(null==lq||null==(A=lq.data)||null==(T=A[0])||null==(C=T.attributes)?void 0:C.endDate,"d MMM yyyy")})]}),"program"===lJ&&l3&&l3.map(l=>{var e;return null==l||null==(e=l.attributes)?void 0:e.title}
1).filter(Boolean).join(", ")]}),(0,a.jsxs)("h1",{className:"mb-2 inline-flex flex-col text-4xl font-light lg:mb-0 lg:text-6xl 2xl:text-8xl",children:[(0,a.jsx)("span",{children:null==lq||null==(E=lq.data)||null==(F=E[0])||null==(L=F.attributes)?void 0:L.title}),"exhibition"===lJ&&(0,a.jsx)("span",{children:null==lq||null==(W=lq.data)||null==(B=W[0])||null==(G=B.attributes)?void 0:G.subTitle})]}),(0,a.jsx)("div",{className:"mt-6",children:(0,a.jsxs)("ul",{className:"flex flex-shrink-0 flex-col space-y-2 text-lg font-light lg:space-y-6 lg:text-xl",children:["article"===lJ&&(0,a.jsxs)("li",{children:[(0,a.jsx)("span",{className:"mr-1",children:lQ("updated")}),(0,a.jsx)("time",{className:"shrink-0",dateTime:null==lq||null==(_=lq.data)||null==(H=_[0])||null==(P=H.attributes)?void 0:P.updatedAt,children:lY(null==lq||null==(V=lq.data)||null==(I=V[0])||null==(z=I.attributes)?void 0:z.updatedAt,"d MMM yyyy")})]}),"artist"===lJ&&(0,a.jsx)("li",{children:(0,a.jsx)("span",{children:[null==lq||null==(O=lq.data)||null==(Z=O[0])||null==(R=Z.attributes)?void 0:R.nationality,null==lq||null==($=lq.data)||null==(U=$[0])||null==(S=U.attributes)?void 0:S.yearOfBirth].filter(Boolean).join(", ")})}),"program"===lJ&&(0,a.jsx)(a.Fragment,{children:l1?(0,a.jsxs)("div",{className:"flex items-center text-red-900",children:[(0,a.jsx)("div",{className:"bg-red-200 flex h-12 w-12 items-center justify-center rounded-full",children:(0,a.jsxs)("svg",{className:"h-8 w-8",fill:"none",viewBox:"0 0 24 24",children:[(0,a.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12 13V15"}),(0,a.jsx)("circle",{cx:"12",cy:"9",r:"1",fill:"currentColor"}),(0,a.jsx)("circle",{cx:"12",cy:"12",r:"7.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.25"})]})}),(0,a.jsx)("h2",{className:"text-lg font-light text-red-900",children:lQ("passed-event")})]}):(0,a.jsxs)(a.Fragment,{children:[(null==lq||null==(K=lq.data)||null==(J=K[0])||null==(q=J.attributes)?void 0:q.customDate)?(0,a.jsx)("li",{className:"-6 font-light uppercase",children:null==lq||null==(Y=lq.data)||null==(X=Y[0])||null==(Q=X.attributes)?void 0:Q.customDate}):(0,a.jsx)("li",{children:(0,x.r)(new Date(null==lq||null==(lt=lq.data)||null==(le=lt[0])||null==(ll=le.attributes)?void 0:ll.startDate),new Date(null==lq||null==(li=lq.data)||null==(ln=li[0])||null==(la=ln.attributes)?void 0:la.endDate))?(0,a.jsx)("div",{className:"font-light uppercase",children:(0,a.jsx)("time",{dateTime:null==lq||null==(lu=lq.data)||null==(ls=lu[0])||null==(lr=ls.attributes)?void 0:lr.startDate,children:lY(null==lq||null==(lc=lq.data)||null==(lo=lc[0])||null==(ld=lo.attributes)?void 0:ld.startDate,"EEEE d MMMM")})}):(0,a.jsxs)("div",{className:"font-light uppercase",children:[(0,a.jsx)("time",{dateTime:null==lq||null==(lm=lq.data)||null==(lh=lm[0])||null==(lx=lh.attributes)?void 0:lx.startDate,children:lY(null==lq||null==(lg=lq.data)||null==(lv=lg[0])||null==(lp=lv.attributes)?void 0:lp.startDate,"d MMM")}),"â",(0,a.jsx)("time",{dateTime:null==lq||null==(lf=lq.data)||null==(lj=lf[0])||null==(lb=lj.attributes)?void 0:lb.endDate,children:lY(null==lq||null==(lk=lq.data)||null==(ly=lk[0])||null==(lw=ly.attributes)?void 0:lw.endDate,"d MMM")})]})}),(0,x.r)(new Date(null==lq||null==(lM=lq.data)||null==(lD=lM[0])||null==(lN=lD.attributes)?void 0:lN.startDate),new Date(null==lq||null==(lA=lq.data)||null==(lT=lA[0])||null==(lC=lT.attributes)?void 0:lC.endDate))&&!(null==lq||null==(lE=lq.data)||null==(lF=lE[
10])||null==(lL=lF.attributes)?void 0:lL.customDate)&&(0,a.jsxs)("li",{className:"font-light uppercase",children:[(0,a.jsx)("time",{dateTime:null==lq||null==(lW=lq.data)||null==(lB=lW[0])||null==(lG=lB.attributes)?void 0:lG.startDate,children:l0(null==lq||null==(l_=lq.data)||null==(lH=l_[0])||null==(lP=lH.attributes)?void 0:lP.startDate,"en"===lK?"h.mm a":"HH.mm")}),"â",(0,a.jsx)("time",{dateTime:null==lq||null==(lV=lq.data)||null==(lI=lV[0])||null==(lz=lI.attributes)?void 0:lz.endDate,children:l0(null==lq||null==(lO=lq.data)||null==(lZ=lO[0])||null==(lR=lZ.attributes)?void 0:lR.endDate,"en"===lK?"h.mm a":"HH.mm")})]}),(0,a.jsx)("li",{className:"font-light uppercase",children:(0,a.jsx)("span",{children:null==lq||null==(l$=lq.data)||null==(lU=l$[0])||null==(lS=lU.attributes)?void 0:lS.location})})]})})]})})]})},v=l=>{var e,t,r,c,x,h,m,v,g,b,j,f,w,y,k,N,D,M,C,T,A,L,F,E,G;let{itemType:B,item:W,mediaFile:P,locale:H}=l,{t:_}=(0,u.A)("common"),z=(0,i.G)(null==P||null==(t=P.imageFile)||null==(e=t.data)?void 0:e.attributes);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"clearfix relative my-12 mx-auto block max-w-screen-3xl lg:mb-32",children:[(0,a.jsx)(p,{item:W,itemType:B,locale:H}),P&&z&&(0,a.jsx)("div",{className:"mt-6 pl-6 lg:float-right lg:mt-0 lg:w-1/2 lg:pl-0 3xl:pr-12",children:(0,a.jsxs)("figure",{children:[(0,a.jsx)(s(),{src:z,alt:(null==P?void 0:P.imageAltText)?P.imageAltText:null==P||null==(c=P.imageFile)||null==(r=c.data)?void 0:r.attributes.alternativeText,priority:!0,height:null==P||null==(h=P.imageFile)||null==(x=h.data)?void 0:x.attributes.height,width:null==P||null==(v=P.imageFile)||null==(m=v.data)?void 0:m.attributes.width,sizes:"(max-width: 1024px) 100vw, 50vw",style:{width:"100%",height:"auto"}}),P.imageCaption&&(0,a.jsx)("figcaption",{className:"container mx-auto mt-4 text-sm italic text-gray",children:P.imageCaption})]})}),(0,a.jsxs)("div",{className:"mt-12 px-6 lg:float-left lg:w-1/2 lg:px-12",children:["artist"===B||"program"===B&&(0,a.jsx)("div",{className:"prose xl:prose-lg mb-4 lg:mb-8",children:(0,a.jsxs)("h2",{children:["artist"===B&&_("aboutartist"),"program"===B&&_("info")]})}),(0,a.jsx)("div",{className:"prose lg:prose-lg w-full",children:(0,n.Ay)((null==W||null==(j=W.data)||null==(b=j[0])||null==(g=b.attributes)?void 0:g.body)||"")}),(0,a.jsxs)("div",{className:"mt-12 flex w-full flex-col space-y-8",children:["artist"===B&&(null==W||null==(k=W.data)||null==(y=k[0])||null==(w=y.attributes)||null==(f=w.relatedExhibitions)?void 0:f.data.length)>0&&(0,a.jsx)(d.A,{itemType:B,items:null==W||null==(N=W.data)?void 0:N[0].attributes.relatedExhibitions.data}),"exhibition"===B&&(null==W||null==(T=W.data)||null==(C=T[0])||null==(M=C.attributes)||null==(D=M.relatedArtists)?void 0:D.data.length)>0&&(0,a.jsx)(d.A,{itemType:B,items:null==W||null==(A=W.data)?void 0:A[0].attributes.relatedArtists.data}),(null==W||null==(E=W.data)||null==(F=E[0])||null==(L=F.attributes)?void 0:L.attachments)&&(0,a.jsx)(o.A,{attachments:null==W||null==(G=W.data)?void 0:G[0].attributes.attachments,itemType:B})]})]})]})})}},7466:(l,e,t)=>{t.d(e,{A:()=>r});var a=t(4930),n=t(9320),i=t.n(n);function r(l){let{title:e}=l;return(0,a.jsx)("div",{className:"relative bg-red-100",children:(0,a.jsxs)("div",{className:"mx-auto flex max-w-7xl flex-col items-center justify-center py-3 px-3 sm:px-8 lg:py-6",children:[(0,a.jsxs)("div",{className:"text-yellow-900 flex items-center justify-center px-12",children:[(0,a.jsxs)("svg",{"aria-hidden":"true",className:"h-8 w-8 stroke-current",fill:"none",viewBox:"0 0 24 24",children:[(0,a.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M19.25 12C19.25 13 17.5 18.25 12 18.25C6.5 18.25 4.75 13 4.75 12C4.75 11 6.5 5.75 12 5.75C17.5 5.75 19.25 11 19.25 12Z"}),(0,a.jsx)("circle",{cx:"12",cy:"12",r:"2.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})]}),(0,a.jsx)("p",{className:"ml-1 font-bold text-current",children:"F\xf6rhandsgranskning av ".concat(e)})]}),(0,a.jsx)(i(),{className:"ml-4 underline",href:"/api/exit-preview",children:"Avsluta"})]})})}},8065:(l,e,t)=>{t.d(e,{A:()=>n});var a=t(4930);function n(l){let{children:e}=l;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("main",{className:"flex w-full h-full relative flex-1",i
1d:"main-content",children:(0,a.jsx)("div",{className:"w-full",children:e})}),(0,a.jsx)("div",{className:"site-overlay hidden bg-gray-dark bg-opacity-50 transition ease-in-out duration-200 absolute w-full h-full inset-0 pointer-events-none opacity-0 z-20 xl:flex"})]})}},9343:(l,e,t)=>{t.d(e,{A:()=>d});var a=t(4930),n=t(9320),i=t.n(n),r=t(1841),s=t(8026);let u=[{from:"utstallningar",to:"utst\xe4llningar"},{from:"konstnarer",to:"konstn\xe4rer"},{from:"besok",to:"bes\xf6k"},{from:"vanliga-fragor",to:"vanliga fr\xe5gor"}],d=l=>{let{customTitle:e}=l,t=(0,r.useRouter)(),n=()=>{let l=t.asPath.split("?")[0].split("/").filter(Boolean),e="/aktuellt/sida/[page]"===t.pathname||"/latest/page/[page]"===t.pathname?[1]:"/samlingen/konstnarer/sida/[page]"===t.pathname||"/the-collection/artists/page/[page]"===t.pathname?[2]:[];return[{href:"/",label:"start",index:-1},...l.map((e,t)=>({href:"/"+l.slice(0,t+1).join("/"),label:(l=>{let e=l;return u.forEach(l=>{let{from:t,to:a}=l;e=e.replace(RegExp(t,"g"),a)}),e})(decodeURIComponent(e).replace(/-/g," ")),index:t})).filter((l,t)=>!e.includes(t))]},[d,o]=(0,s.useState)([]);return((0,s.useEffect)(()=>{o(n());let l=()=>o(n());return t.events.on("routeChangeComplete",l),()=>t.events.off("routeChangeComplete",l)},[]),d.length<=1)?null:(0,a.jsxs)("div",{className:"item-center flex px-6 py-2 lg:px-12",children:[(0,a.jsx)("ol",{className:"flex space-x-2 overflow-x-auto font-light",children:d.map((l,e)=>e===d.length-1?(0,a.jsx)("li",{className:"hidden truncate whitespace-nowrap hover:underline",children:l.label},l.href):(0,a.jsx)("li",{className:"whitespace-nowrap text-gray transition after:ml-2 after:content-['/'] hover:text-opacity-60",children:(0,a.jsx)(i(),{href:l.href,children:l.label})},l.href))}),e&&(0,a.jsx)("div",{className:"ml-2 truncate whitespace-nowrap font-light lowercase text-gray-dark",children:e})]})}}}]);
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.