1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e62ef9ba-c385-4bc7-91ee-cc6868bdad50",e._sentryDebugIdIdentifier="sentry-dbid-e62ef9ba-c385-4bc7-91ee-cc6868bdad50")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2247],{4675:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/learn-and-explore",function(){return r(6983)}])},1972:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(4817),s=r(1248),l=r(8366),o=r(2883),a=r(5117),i=r(578),c=r(476),p=r(823),d=r(5923);let x=(0,l.ZP)(e=>(0,n.jsx)(p.Z,{sx:{p:0},expandIcon:(0,n.jsx)(o.Z,{sx:{pr:1,m:0,mt:2,transform:"rotate(45deg)"},children:(0,n.jsx)(d.bM,{stroke:"black"})}),...e}))(()=>({flexDirection:"row","& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(45deg)"}}));var u=({title:e,titleSmall:t,index:r,expanded:l,children:o})=>{let p;let[d,u]=s.useState(!!l&&`panel${r}`);return(0,n.jsxs)(a.Z,{expanded:d===`panel${r}`,onChange:(p=`panel${r}`,(e,t)=>{u(!!t&&p)}),disableGutters:!0,elevation:0,square:!0,sx:{borderTop:d?"1px solid black":"0.75px dashed black",height:"fit-content",width:"100%","&::before":{opacity:0}
1},children:[(0,n.jsx)(x,{"aria-controls":`panel${r}-content`,id:`panel${r}-header`,sx:{minHeight:0,".MuiAccordionSummary-content":{m:0,p:0,mt:2,mb:"10px"},"& svg":{width:t?"16px":"18px",height:t?"16px":"18px"}},children:e&&(0,n.jsx)(i.Z,{component:"h4",sx:{color:"common.black",typography:{xs:t?"Title16":"Title28",lg:"Title38"},fontSize:{xl:"1.979vw",xxl:"1.484vw"}},className:"accordion-title",children:e})}),o&&(0,n.jsx)(c.Z,{sx:{p:0,m:0},children:o})]})}},189:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(4817),s=r(1248),l=r(2883),o=r(8366),a=r(6306),i=r(1943),c=r(4948),p=r(8226),d=r(1506),x=r(9644),u=({label:e,selected:t,setSelected:r,dropLabels:o,getSelectionByIndex:a})=>{let i=(0,x.Z)(),c=(0,s.useRef)(null),[p,d]=(0,s.useState)(null);return(0,s.useEffect)(()=>{let e=getComputedStyle(c?.current);d(e?.width)},[c.current,i]),(0,n.jsxs)(l.Z,{sx:{height:"100%","& ul":{width:p}},children:[(0,n.jsx)(l.Z,{component:"label",htmlFor:e,sx:{typography:"Text12",mb:1,display:"flex",cursor:"pointer",width:"fit-content",height:"fit-content"},children:e}),(0,n.jsx)(b,{id:e,value:t,renderValue:()=>t?.name||t,onChange:e=>r(a?o?.indexOf(e):e),ref:c,children:o?.map((e,t)=>n.jsx(g,{value:e,children:e?.name||e},t))})]})};let h=(0,o.ZP)("button")(({theme:e})=>` 2 font-size: ${e.typography.Text16.fontSize}; 3 font-family: ${e.typography.Text16.fontFamily}; 4 font-weight: ${e.typography.Text16.fontWeight}; 5 line-height: ${e.typography.Text16.lineHeight}; 6 background: ${e.palette.common.black10}; 7 border: none; 8 border-radius: 3px; 9 color: ${e.palette.common.black}; 10 cursor: pointer; 11 margin: 0; 12 padding: 5px 20px 7px 10px; 13 height: calc(100% - 21px); 14 width: 100%; 15 text-align: left; 16 text-transform: capitalize; 17 position: relative; 18 19 &:hover { 20 background: ${e.palette.common.black20Solid}; 21 } 22 23 &.Mui-expanded { 24 border-radius: 3px 3px 0px 0px; 25 } 26 27 &.${a.Z.focusVisible} { 28 outline: 1px solid black; 29 } 30 31 &.${a.Z.expanded} { 32 &::after { 33 content: ""; 34 background-image: url("/_next/static/media/icon-arrow-up.a6e7c919.svg"); 35 } 36 } 37 38 &::after { 39 content: ""; 40 position: absolute; 41 top: 0; 42 right: 0; 43 margin-right: 10px; 44 width: 100%; 45 height: 100%; 46 background-position: right; 47 background-image: url("/_next/static/media/icon-arrow-down.c136ab57.svg"); 48 background-repeat: no-repeat; 49 } 50 `),m=(0,o.ZP)("ul")(({theme:e})=>` 51 font-size: ${e.typography.Text16.fontSize}; 52 font-family: ${e.typography.Text16.fontFamily}; 53 font-weight: ${e.typography.Text16.fontWeight}; 54 line-height: ${e.typography.Text16.lineHeight}; 55 padding: 0; 56 margin: 0; 57 background-color: ${e.palette.common.black10Solid}; 58 border: none; 59 border-radius: 0px 0px 3px 3px; 60 color: ${e.palette.common.black}; 61 overflow: auto; 62 outline: 0px; 63 text-transform: capitalize; 64 max-height: 290px; 65 `),g=(0,o.ZP)(c.Z)(({theme:e})=>` 66 list-style: none; 67 padding: 5px 10px 7px 10px; 68 border-top: 0.75px dashed black; 69 cursor: pointer; 70 71 &.${p.Z.selected} { 72 background-color: ${e.palette.common.black20Solid}; 73 color: ${e.palette.common.black}; 74 } 75 76 &.${p.Z.highlighted} { 77 background-color: ${e.palette.common.black20Solid}; 78 color: ${e.palette.common.black}; 79 } 80 81 &.${p.Z.highlighted}.${p.Z.selected} { 82 background-color: ${e.palette.common.black20Solid}; 83 color: ${e.palette.common.black}; 84 } 85 86 &.${p.Z.disabled} { 87 color: ${e.palette.common.black20Solid}; 88 } 89 90 &:hover:not(.${p.Z.disabled}) { 91 background-color: ${e.palette.common.black20Solid}; 92 color: ${e.palette.common.black}; 93 } 94 `),f=(0,o.ZP)(d.Z)` 95 z-index: 1; 96`,b=s.forwardRef(function(e,t){let r={Root:h,Listbox:m,Popper:f,...e.components};return(0,n.jsx)(i.Z,{...e,ref:t,components:r})})},2542:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(4817),s=r(1248),l=r(9249),o=r(2883),a=r(311),i=r(8366),c=r(3595),p=r(821),d=r(2733),x=r(5923),u=s.forwardRef(function(e,t){let r;let{id:s,name:l,label:i,placeholder:x,value:u,onChange:f,onChangeClear:b,isSmall:y}=e;return(0,n.jsxs)(o.Z,{sx:{position:"relative",m:0,".MuiInput-input":{height:y?"32.95px":"fit-content",m:0,typography:y?"Text16":{xs:"Title22",sm:"Title45",lg:"Title52"},padding:y?"5px 45px 7px 10px":{xs:"11px 55px 13px 12px",sm:"6px 70px 12px 12px",lg:"11px 80px 17px 16px"},"&:focus":{outline:"none",boxShadow:`0 0 0 1px ${d.R?.common?.black}`},"&::placeholder":{typography:y?"Text16":{xs:"Title22",sm:"Title45",lg:"Title52"},color:"common.black20",overflow:"visible"}},".MuiInput-multiline":{display:"flex"}},children:[y?(0,n.jsx)(a.Z,{htmlFor:s,sx:{color:"common.black",mb:"6px",typography:"Text12"},children:i}):(0,n.jsx)(a.Z,{htmlFor:s,sx:c.Z,children:i}),(0,n.jsxs)(o.Z,{sx:{position:"relative"},children:[(0,n.jsx)(p.Z,{id:s,type:"text",name:l,value:u,onChange:e=>f(e?.target?.value),"aria-describedby":s,placeholder:x,components:{Input:g},ref:t}),"close"==(r=u&&u?.length>
960?"close":"search")?(0,n.jsx)(h,{handleClick:b,isSmall:y}):"search"===r?(0,n.jsx)(m,{isSmall:y}):void 0]})]})});let h=({handleClick:e,isSmall:t})=>{let{t:r}=(0,l.Z)("visually-hidden");return(0,n.jsxs)(o.Z,{component:"button",onClick:()=>e(""),sx:{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"unset",border:"none",cursor:"pointer",p:0,m:0,position:"absolute",top:"50%",right:t?10:{xs:12,sm:18,lg:22},transform:"translateY(-50%)","& > svg":{width:t?"14px":{xs:"31px",sm:"41px",lg:"51px"},height:t?"14px":{xs:"31px",sm:"41px",lg:"51px"}},"&:hover":{"& > svg":{stroke:"rgba(0,0,0,0.55)"}}},children:[(0,n.jsx)(x.Yv,{}),(0,n.jsx)(o.Z,{sx:c.Z,children:r("clear_input")})]})},m=({isSmall:e})=>{let{t}=(0,l.Z)("visually-hidden");return(0,n.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"unset",border:"none",p:0,m:0,position:"absolute",top:"50%",right:e?10:{xs:12,sm:18,lg:22},transform:"translateY(-50%)","& > svg":{width:e?"16px":{xs:"31px",sm:"41px",lg:"51px"},height:e?"16px":{xs:"31px",sm:"41px",lg:"51px"}}},children:[(0,n.jsx)(x.nC,{}),(0,n.jsx)(o.Z,{sx:c.Z,children:t("search_input")})]})},g=(0,i.ZP)("input")(({theme:e})=>` 97 width: 100%; 98 color: ${e.palette.common.black}; 99 background: ${e.palette.common.black10}; 100 border: none; 101 border-radius: 3px; 102`)},8358:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(4817);r(1248);var s=r(2883),l=r(9680),o=r(9842),a=r(2063),i=r(2733),c=({href:e,text:t,target:r,download:c,hasDashedLines:p,height:d,handleClick:x,color:u})=>{let h;let m=Object.values(i.R?.color),g=Object.values(i.R?.darkColor);return g.map(e=>{m.push(e)}),h=u?u.startsWith("#")||u.startsWith("rgb")?u:`color.${u}`:m[Math.floor(Math.random()*m?.length)],(0,n.jsxs)(s.Z,{sx:{width:"100%",height:d?"100%":"fit-content"},children:[p&&(0,n.jsx)(o.Z,{sx:{mb:{xs:3,lg:4}}}),(0,n.jsx)(a.Z,{condition:e,wrapper:t=>(0,n.jsx)(l.Z,{href:e,passHref:!0,children:t}),children:(0,n.jsx)(s.Z,{target:r||"_self",component:e?"a":"button",onClick:x,download:c,rel:"noopener noreferrer",sx:{display:"flex",alignItems:"center",justifyContent:"center",border:"none",borderRadius:"1000px",backgroundColor:h,color:g.includes(h)?"common.white":"common.black",cursor:"pointer",textAlign:"center",textTransform:"uppercase",textDecoration:"none",width:"100%",p:{xs:"0 20px",sm:"0 20px",lg:"0 40px"},height:d||{xs:"146px",sm:"226px",lg:"231px"},transition:"background-color 200ms ease-out, color 200ms ease-out",typography:{xs:"Centra28Black",lg:"Centra38Black"},fontSize:{xl:"1.979vw",xxl:"1.484vw"},"&:hover":{filter:"invert(1)"}},children:(0,n.jsx)(s.Z,{component:"h4",sx:{typography:{xs:"Centra28Black",lg:"Centra38Black"}},children:t})})})]})}},456:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(4817);r(1248);var s=r(578),l=r(2063),o=r(685),a=({message:e,sx:t,markdown:r})=>(0,n.jsx)(l.Z,{condition:r,wrapper:e=>(0,n.jsx)(o.Z,{paragraphSx:{mt:5,typography:"Title52",mb:0,...t},children:e}),secondWrapper:e=>(0,n.jsx)(s.Z,{sx:{mt:5,typography:"Title52",...t},children:e}),children:e})},1241:function(e,t,r){"use strict";r.d(t,{OI:function(){return n},cg:function(){return l},tu:function(){return a},vV:function(){return o},xG:function(){return s}});let n=["latest first","oldest first","alphabetical (A-Z)","alphabetical (Z-A)"],s=["all","years","artists","works"],l=["everything","exhibitions","events","programs"],o=["all","article","audio","film","ressource"],a=["newest first","oldest first"]},9644:function(e,t,r){"use strict";var n=r(1248);t.Z=function(){let[e,t]=(0,n.useState)({width:void 0,height:void 0}),r=null;return(0,n.useEffect)(()=>{function e(){clearTimeout(r),r=setTimeout(()=>t({width:window.innerWidth,height:window.innerHeight}),300)}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),e}},6983:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return k},default:function(){return v}});var n=r(4817),s=r(1248),l=r(9249),o=r(6497),a=r(2883),i=r(1768),c=r(2808),p=r(1128),d=r(1241),x=r(9025),u=r(1135),h=r(120),m=r(1919),g=r(1972),f=r(2542),b=r(189),y=r(9100),Z=r(8358),j=r(456),w=({generalSettings:e,page:t,totalAudiences:r,totalThemes:w,localizations:_})=>{let{t:k}=(0,l.Z)("pages"),v=(0,o.useRouter)(),S=(0,c.Z)(),$=(0,p.Z)(S.breakpoints.up("sm")),T=t?.attributes?.seo,C=k("learn_explore_title"),A=parseInt(v.query?.page)||1,P=v.query?.audience||"all",E=v.query?.theme||"all",I=v.query?.media||"all",R=v.query?.sort||"newest first",z=v.query?.query||"",[L,M]=(0,s.use
102State)(z),[q,N]=(0,s.useState)(R),[F,O]=(0,s.useState)(P),[D,H]=(0,s.useState)(E),[W,G]=(0,s.useState)(I),[V,B]=(0,s.useState)([]),[Y,U]=(0,s.useState)(!1),[X,J]=(0,s.useState)(0),[K,Q]=(0,s.useState)(A),ee=12*(K-1),et=async(e,t,r,n,s,l,o)=>{U(!0);let a={q:e,filter:(()=>{let e=[],t=[],r=[];return"all"!==n&&e.push(`audience = '${n}'`),"all"!==s&&t.push(`theme = '${s}'`),"all"!==l&&r.push(`media_type = '${l}'`),[["content_type = article","content_type = theme"],e,t,r]})(),sort:"newest first"===o?["sort_date:desc"]:"oldest first"===o?["sort_date:asc"]:void 0,limit:r,offset:t};if(a){let e=await fetch("/api/search",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(e?.status===200){let t=await e?.json(),r=t?.estimatedTotalHits?t?.estimatedTotalHits:0;B(t?.hits),J(Math.ceil(r/12)),U(!1),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},300)}else e.status>=400&&U(!0)}},er=e=>{N(e)},en=e=>{M(e)},es=e=>{O(e)},el=e=>{H(e)},eo=e=>{G(e)};return(0,s.useEffect)(()=>{let e=setTimeout(()=>{if(et(L,ee,12,F,D,W,q),"URLSearchParams"in window){let e=new URLSearchParams(window.location.search);L&&e.set("query",Array.isArray(L)?L[0]:L),F&&(Array.isArray(F)?(e.delete("audience"),F.forEach(t=>{e.append("audience",t)})):e.set("audience",F)),D&&(Array.isArray(D)?(e.delete("theme"),D.forEach(t=>{e.append("theme",t)})):e.set("theme",D)),W&&(Array.isArray(W)?(e.delete("media"),W.forEach(t=>{e.append("media",t)})):e.set("media",W)),q&&(Array.isArray(q)?(e.delete("sort"),q.forEach(t=>{e.append("sort",t)})):e.set("sort",q)),K&&(e.delete("page"),e.append("page",K.toString())),window.history.replaceState({pushToRouter:!0},"",`${v.asPath.split("#")[0].split("?")[0]}?${e.toString()}`)}},300);return()=>clearTimeout(e)},[L,F,D,W,q,K]),(0,n.jsx)(u.Z,{generalSettings:e,title:C,seo:T,localizations:_,children:(0,n.jsx)(x.Z,{children:(0,n.jsxs)(h.Z,{disablePadding:!0,sx:{"& > *":{gridColumn:{xs:"1 / span 6",sm:"1 / span 12"}},rowGap:{xs:8,sm:11,lg:12,xl:"140px"}},children:[C&&(0,n.jsx)(m.Z,{colNum:1,title:C}),(0,n.jsxs)(h.Z,{disablePadding:!0,sx:{rowGap:{xs:3,sm:"30px",lg:4}},children:[$?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.Z,{sx:{gridColumn:{sm:"1 / span 3",lg:"1 / span 2"}},children:(0,n.jsx)(b.Z,{label:k("learn_explore_filter_sort"),dropLabels:d.tu,selected:q,setSelected:er})}),(0,n.jsx)(a.Z,{sx:{gridColumn:{sm:"4 / span 3",lg:"3 / span 2"}},children:(0,n.jsx)(b.Z,{label:k("learn_explore_filter_audience"),dropLabels:r,selected:F,setSelected:es})}),(0,n.jsx)(a.Z,{sx:{gridColumn:{sm:"7 / span 3",lg:"5 / span 2"}},children:(0,n.jsx)(b.Z,{label:k("learn_explore_filter_theme"),dropLabels:w,selected:D,setSelected:el})}),(0,n.jsx)(a.Z,{sx:{gridColumn:{sm:"10 / span 3",lg:"7 / span 2"}},children:(0,n.jsx)(b.Z,{label:k("learn_explore_filter_media"),dropLabels:d.vV,selected:W,setSelected:eo})})]}):(0,n.jsx)(a.Z,{sx:{gridColumn:"1 / span 6",mb:-3},children:(0,n.jsxs)(g.Z,{title:k("learn_explore_filters_accordion_title"),index:0,titleSmall:!0,children:[(0,n.jsx)(a.Z,{sx:{mt:3},children:(0,n.jsx)(b.Z,{label:k("learn_explore_filter_sort"),dropLabels:d.tu,selected:q,setSelected:er})}),(0,n.jsx)(a.Z,{sx:{mt:3},children:(0,n.jsx)(b.Z,{label:k("learn_explore_filter_audience"),dropLabels:r,selected:F,setSelected:es})}),(0,n.jsx)(a.Z,{sx:{mt:3},children:(0,n.jsx)(b.Z,{label:k("learn_explore_filter_theme"),dropLabels:w,selected:D,setSelected:el})}),(0,n.jsx)(a.Z,{sx:{my:3},children:(0,n.jsx)(b.Z,{label:k("learn_explore_filter_media"),dropLabels:d.vV,selected:W,setSelected:eo})})]})}),(0,n.jsx)(a.Z,{sx:{mb:{sm:0},gridRow:{xs:1,lg:"auto"},gridColumn:{xs:"1 / span 6",sm:"1 / span 6",lg:"9 / span 4"}},children:(0,n.jsx)(f.Z,{id:"search",name:"search",label:k("learn_explore_search_label"),placeholder:k("learn_explore_search_placeholder"),value:L,onChange:en,onChangeClear:en,isSmall:!0})}),(0,n.jsx)(a.Z,{sx:{gridColumn:{xs:"1 / span 6",sm:"1 / span 12"},mt:{sm:3,lg:4}},children:Y?(0,n.jsx)(j.Z,{message:k("pages:search_message_loading"),sx:{pt:{xs:3,sm:0},m:0}}):V?.length>0?(0,n.jsx)(h.Z,{disablePadding:!0,sx:{rowGap:{xs:"30px",sm:"40px",lg:"50px"},"& > *":{gridColumn:{xs:"span 6",sm:"span 4"}}},children:V?.map(e=>e?.content_type==="article"?n.jsx(y.Z,{title:e?.sort_title,type:"Feature",slug:`/learn-and-explore/features/${e?.slug}`,dateStart:e?.sort_date,image:e?.thumbnail_image,smallCard:!!e?.thumbnail_image,sizes:"(min-width: 1440px) calc(33.333vw - 32px), (min-width: 768px) calc(33.333vw - 24px), calc(100vw - 24px)"},e?.id):n.jsx(Z.Z,{text:e?.sort_title,href:`/learn-and-explore/${e?.slug}`,color:e?.color,hasDashedLines:!0},e?.id))}):(0,n.jsx)(j.Z,{message:k("pages:search_message_no_results"),sx:{pt:{xs:3,sm:0},m:0}})}),X>1&&(0,n.jsx)(a.Z,{sx:{gridColumn:{xs:"1 / span 6",sm:"1 / span 12"},justifySelf:"center",mt:{xs:"30px",sm:"40px",lg:"50px"}},children:(0,n.jsx)(i.Z,{count:X,page:K,onChange:(e,t)=>
102{Q(t)}})})]})]})})})},_=r(7394),k=!0,v=({statusCode:e,generalSettings:t,page:r,totalAudiences:s,totalThemes:l,totalMedia:a,localizations:i})=>{if(e>=400)return(0,n.jsx)(_.Z,{generalSettings:t,statusCode:e});let c=(0,o.useRouter)();return(0,n.jsx)(n.Fragment,{children:c.isReady&&(0,n.jsx)(w,{generalSettings:t,page:r,totalAudiences:s,totalThemes:l,totalMedia:a,localizations:i})})}}},function(e){e.O(0,[6076,5443,3841,6499,1768,3958,7394,6478,2888,9774,179],function(){return e(e.s=4675)}),_N_E=e.O()}]);
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.