1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6814],{69742:(e,i,t)=>{"use strict";t.r(i),t.d(i,{__N_SSP:()=>y,default:()=>f});var a=t(37876),s=t(89099),l=t(14232),n=t(67959),r=t(36848),o=t(48230),_=t.n(o),u=t(76492),h=t(88966),d=t(69196);t(36915);var p=t(72587),x=t.n(p),b=t(29919),g=t(81706),c=t(84508);let m=[{value:"ALL",label:"All"},{value:"Gallery",label:"Gallery / Fair"},{value:"Online",label:"Online Release",attribute:"location"},{value:"AI",label:"AI",attribute:"category"},{value:"CONTEMPORARY",label:"Contemporary",attribute:"category"},{value:"ESTATE",label:"Estate",attribute:"category"}];function v({hits:e}){return e?.length?(0,a.jsx)("ul",{"aria-hidden":"true",style:{position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap",border:0},children:e.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)(_(),{href:e.customUrl||`/exhibition/${e.slug||e.id}`,tabIndex:-1,children:e.exhibitionTitle||e.artistFullName||e.slug})},e.objectID))}):null}var y=!0;function f({initialUpcoming:e=[],initialArchive:i=[]}){(0,s.useRouter)();let t=(0,l.useContext)(c.D),[o,_]=(0,l.useState)("ALL"),p="exhibitions-v5",[y,D]=(0,l.useState)(p),[A,j]=(0,l.useState)("Date"),[O,N]=(0,l.useState)(!1);Date.now();let w=t?.algoliaFilter?` AND (${t.algoliaFilter})`:"";(0,l.useEffect)(()=>{D(p)},[A]);let E=m.find(e=>e.value===o),S=`${"ALL"!==o&&"Gallery"!==o?`${E.attribute}:${o} AND status:"Archive" AND (statusDisplay:"Display on Exhibitions Directory" OR statusDisplay:"Display on All")`:'status:"Archive" AND (statusDisplay:"Display on Exhibitions Directory" OR statusDisplay:"Display on All")'}${w}`,C=`(status:"Upcoming" OR status:"Live") AND (statusDisplay:"Display on Exhibitions Directory" OR statusDisplay:"Display on All")${w}`;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:`${x().loading} ${!O?x().loading__loaded:""}`}),(0,a.jsx)(d.A,{url:"/exhibitions",pageTitle:"Exhibitions",mediaType:"image",imageUrl:"https://storage.googleapis.com/fellowship-2022/web-v3/artists/featured/fellowship-dailyexhibitionbanner-exhibitions-lowres.jpg",mediaHeight:"",mediaWidth:"",description:"Browse Fellowship's program of digital art exhibitions â solo shows and group presentations across generative, AI, and contemporary practices, online and in our galleries."}),(0,a.jsxs)("div",{className:x().main,children:[(0,a.jsx)(v,{hits:Array.from(new Map([...e,...i].map(e=>[e.objectID,e])).values())}),(0,a.jsx)(g.A,{title:"On View & Upcoming",medium:!0,topLevel:!0,margin:!0}),(0,a.jsxs)(n.G,{indexName:p,searchClient:h.nY,future:{preserveSharedStateOnUnmount:!0},children:[(0,a.jsx)(r.Z,{hitsPerPage:20,filters:C,tagFilters:["-staging","-private"]}),(0,a.jsx)(u.A,{keyline:!0})]}),(0,a.jsx)("div",{className:`${x().title}`,children:"Archive"}),(0,a.jsxs)(n.G,{indexName:p,searchClient:h.nY,future:{preserveSharedStateOnUnmount:!0},children:[t?.id!=="daily"&&(0,a.jsx)("div",{className:x().filters,children:(0,a.jsx)(b.A,{items:m,setCurrentOptionValue:_,currentOptionValue:o})}),(0,a.jsx)(r.Z,{hitsPerPage:30,filters:S,facetFilters:"Gallery"==o?"location:-Online":"",tagFilters:["-staging","-private"]}),(0,a.jsx)(u.A,{})]})]})]})}},72587:e=>{e.exports={"page-enter-active":"exhibitions_page-enter-active__GuQ2e","page-leave-active":"exhibitions_page-leave-active__eEMbe","page-enter":"exhibitions_page-enter__mm_Ch","page-leave-to":"exhibitions_page-leave-to__ofRhG","page-enter-to":"exhibitions_page-enter-to__PZoC_","page-leave":"exhibitions_page-leave__yxSlv","u-faded-text":"exhibitions_u-faded-text__jMi03","u-text-link":"exhibitions_u-text-link__9JBT_","u-list-reset":"exhibitions_u-list-reset__OcmNC","u-btn--reset":"exhibitions_u-btn--reset__iO_cr","u-spacing--large":"exhibitions_u-spacing--large__aCcIq",main:"exhibitions_main__JCyj0",mobileOnly:"exhibitions_mobileOnly__kDgWL",desktopOnly:"exhibitions_desktopOnly__r4SEO",loading:"exhibitions_loading__iJS_X",loading__loaded:"exhibitions_loading__loaded__V2bdz",title:"exhibitions_title__60PTP",title__keyline:"exhibitions_title__keyline__hh_I9",title__main:"exhibitions_title__main__MHbdM",filters:"exhibitions_filters__hVxDN"}},93920:(e,i,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/exhibitions",function(){return t(69742)}])}},e=>{e.O(0,[541,133,3442,1130,5028,7075,636,6593,8792],()=>e(e.s=93920)),_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.