(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{410:function(t,e,r){"use strict";e.a={watch:{"$fetchState.error":{handler(t){var{message:e,statusCode:r}=t;this.$nuxt.error({message:e,statusCode:r})}}}}},428:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var o=r(6);r(34);function n(t,e){return l.apply(this,arguments)}function l(){return(l=Object(o.a)((function*(t,e){var r;yield new Promise((o=>{r=t.$watch(e,(t=>{t&&o()}),{immediate:!0})})),r()}))).apply(this,arguments)}},429:function(t,e,r){"use strict";function o(html){var div=document.createElement("div");return div.innerHTML=html,div.textContent||div.innerText||""}r.d(e,"a",(function(){return o}))},442:function(t,e,r){var content=r(474);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(31).default)("142b250f",content,!0,{sourceMap:!1})},458:function(t,e,r){"use strict";var o=r(6),n=r(12),l=(r(34),r(16));function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}e.a={data:()=>({scrollY:void 0,fullyFetched:!1}),computed:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){Object(n.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},Object(l.e)({isEditing:"IS_EDITING"})),mounted(){window.addEventListener("scroll",this.onScroll)},beforeDestroy(){window.removeEventListener("scroll",this.onScroll)},methods:{onScroll(){var t=this;return Object(o.a)((function*(){if(t.scrollY=window.scrollY,!t.fullyFetched){var e=t.$el.scrollHeight,{innerHeight:r}=window;t.scrollY>e-2*r&&(yield t.fetchFinished(),t.$fetch())}}))()},fetchFinished(){var t=this;return Object(o.a)((function*(){var e,r;yield new Promise((e=>{var o;null!==(o=t.$fetchState)&&void 0!==o&&o.pending||e(),r=t.$watch("$fetchState.pending",(t=>!t&&e()))})),null===(e=r)||void 0===e||e()}))()}}}},473:function(t,e,r){"use strict";r(442)},474:function(t,e,r){var o=r(30)((function(i){return i[1]}));o.push([t.i,'.artist-hero{display:flex;flex-direction:column;min-height:calc(100svh - var(--header-height) - var(--font-size-xl) - var(--spacing-md)*2)}.artist-hero__name-container{font-size:var(--font-size-sm);gap:var(--spacing-sm) var(--spacing-xxs);letter-spacing:var(--letter-spacing-sm-caps,var(--letter-spacing-sm));line-height:var(--line-height-sm-caps,var(--line-height-sm));padding:var(--spacing-md)}.artist-hero__name,.artist-hero__name-container{font-family:var(--font-family-bold);text-transform:uppercase}.artist-hero__name{font-size:var(--font-size-xl);letter-spacing:var(--letter-spacing-xl-caps,var(--letter-spacing-xl));line-height:var(--line-height-xl-caps,var(--line-height-xl));margin-bottom:-.09em;margin-top:-.11em}.artist-hero__discipline{margin-bottom:-.17em;margin-top:-.19em}.artist-hero__discipline:nth-last-child(n+2):after{content:", "}.artist-hero__nav{font-family:var(--font-family-bold);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-sm-caps,var(--letter-spacing-sm));line-height:var(--line-height-sm-caps,var(--line-height-sm));padding:var(--spacing-md);text-transform:uppercase}.artist-hero__nav-title{margin-bottom:-.17em;margin-top:-.19em}.artist-hero__nav-list{align-items:flex-start;display:flex;flex-direction:column;font-family:var(--font-family-bold);font-size:var(--font-size-lg);gap:max(var(--spacing-xs),.375em);letter-spacing:var(--letter-spacing-lg-caps,var(--letter-spacing-lg));line-height:var(--line-height-lg-caps,var(--line-height-lg));margin-top:max(var(--spacing-xs),.5em);text-transform:uppercase}.artist-hero__nav-item{margin-bottom:-.19em;margin-top:-.21em;position:relative}.artist-hero__nav-item button{font-family:var(--font-family-bold);font-size:var(--font-size-lg);letter-spacing:var(--letter-spacing-lg-caps,var(--letter-spacing-lg));line-height:var(--line-height-lg-caps,var(--line-height-lg));text-transform:uppercase}.artist-hero__nav-item:before{background-color:transparent;bottom:0;content:"";height:max(1px,min(.05em,1.5px));left:0;position:absolute;transition:opacity .3s,background-color .3s;width:100%}.artist-hero__bio-wrapper{flex-grow:1;font-family:var(--font-family-regular);font-size:var(--font-size-md);height:100%;letter-spacing:var(--letter-spacing-md);line-height:var(--line-height-md);margin:0 var(--spacing-md) var(--spacing-md);max-width:var(--max-text-width);overflow:hidden;position:relative;text-transform:none}.artist-hero__bio-wrapper.open{min-height:var(--bio-height)}.artist-hero__bio-wrapper>*{left:0;position:absolute;top:0}.artist-hero__bio-wrapper p{margin-bottom:var(--spacing-sm)}.artist-hero__bio-links{align-items:flex-start;display:flex;flex-direction:column;font-family:var(--font-family-bold);font-size:var(--font-size-sm);gap:var(--spacing-xxxs);letter-spacing:var(--letter-spacing-sm-caps,var(--letter-spacing-sm));line-height:var(--line-height-sm-caps,var(--line-height-sm));text-transform:uppercase}.artist-hero__bio-links>*{position:relative}.artist-hero__bio-links>:before{background-color:var(--color-white);bottom:0;content:"";height:max(1px,min(.05em,1.5px));left:0;opacity:.7;position:absolute;transition:opacity .3s,background-color .3s;width:100%}@media screen and (min-width:1920px){.artist-hero__nav{font-size:var(--font-size-xs);letter-spacing:var(--letter-spacing-xs-caps,var(--letter-spacing-xs));line-height:var(--line-height-xs-caps,var(--line-height-xs))}.artist-hero__nav,.artist-hero__nav-list{font-family:var(--font-family-bold);text-transform:uppercase}.artist-hero__nav-list{font-size:var(--font-size-md);letter-spacing:var(--letter-spacing-md-caps,var(--letter-spacing-md));line-height:var(--line-height-md-caps,var(--line-height-md))}.artist-hero__nav-item{margin-bottom:-.14em;margin-top:-.16em}.artist-hero__nav-item button{font-family:var(--font-family-bold);font-size:var(--font-size-md);letter-spacing:var(--letter-spacing-md-caps,var(--letter-spacing-md));line-height:var(--line-height-md-caps,var(--line-height-md));text-transform:uppercase}.artist-hero__bio-wrapper{font-family:var(--font-family-regular);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-sm);line-height:var(--line-height-sm);max-width:960px;text-transform:none}}@media (hover:hover){.artist-hero__nav-item:hover{position:relative}.artist-hero__nav-item:hover:before{background-color:var(--color-white);bottom:0;content:"";height:max(1px,min(.05em,1.5px));left:0;opacity:.7;position:absolute;transition:opacity .3s,background-color .3s;width:100%}}',""]),o.locals={},t.exports=o},489:function(t,e,r){var content=r(527);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(31).default)("178b248e",content,!0,{sourceMap:!1})},498:function(t,e,r){"use strict";r.r(e);var o=r(6),n=(r(233),r(28),r(17),r(49),r(20),r(148),r(149),r(86),r(144));var l={props:{artist:{type:Object,default:()=>({})},hasProjects:{type:Boolean,default:!1}},data:()=>({animating:!1,bioWrapperHeight:0,bioHeight:0,bioOpen:!1,bioVisuallyHidden:!0,timeline:void 0,showBio:!1}),computed:{artistName(){return Object(n.a)(this.artist)},disciplines(){return null==(t=this.artist)||null===(e=t.tags)||void 0===e?void 0:e.disciplines.map((t=>t.title));var t,e},bio(){var t,e=null===(t=this.artist)||void 0===t||null===(t=t.attributes)||void 0===t?void 0:t.description;return e?this.$texturise.html(e):null},email(){var t;return null===(t=this.artist)||void 0===t||null===(t=t.attributes)||void 0===t?void 0:t.email_address},featuredNodes(){var t;return null===(t=this.artist)||void 0===t?void 0:t.view},instagram(){var t;return null===(t=this.artist)||void 0===t||null===(t=t.attributes)||void 0===t?void 0:t.instagram},instagramLink(){var t=this.instagram.includes("instagram.com")?this.instagram:"https://instagram.com/".concat(this.instagram);try{return new URL(t).href}catch(e){return new URL("https://".concat(t)).href}},website(){var t;return null===(t=this.artist)||void 0===t||null===(t=t.attributes)||void 0===t?void 0:t.website}},watch:{bioHeight(t){var e=this;return Object(o.a)((function*(){t>1&&(e.timeline||(e.timeline=e.createTimeline()),e.animating=!0,yield e.timeline.from(e.$refs.bioWrapper,{opacity:0}).to(e.$refs.bioWrapper,{height:Math.max(t,e.bioWrapperHeight)},"<"),e.bioOpen=!0,e.animating=!1)}))()},showBio(t){var e=this;return Object(o.a)((function*(){if(t){if(e.animating)return;e.bioVisuallyHidden=!1,e.$emit("setBioOpen",t)}else{if(e.animating)return;e.bioOpen=!1,e.$emit("setBioOpen",t),e.timeline||(e.timeline=e.createTimeline()),e.animating=!0,yield e.timeline.from(e.$refs.bioWrapper,{height:Math.max(t,e.bioWrapperHeight)}).to(e.$refs.bioWrapper,{opacity:0},"<"),e.bioVisuallyHidden=!0,e.animating=!1}}))()}},mounted(){this.$gsap.set(this.$refs.nav,{opacity:0}),this.$nuxt.$on("showHeroNav",(()=>{this.$gsap.to(this.$refs.nav,{opacity:1,duration:1})}));var t=this.$refs.bioWrapper,e=this.$refs.bio;this.$dimensions.observe(t),this.$dimensions.observe(e),t.addEventListener("Dimensions:Change",(t=>{var{detail:{height:e}}=t;this.bioWrapperHeight=e})),e.addEventListener("Dimensions:Change",(t=>{var{detail:{height:e}}=t;this.bioHeight=e}))},methods:{scrollToProjects(t){t.preventDefault(),this.$emit("scrollToProjects")},toggleBio(){this.showBio=!this.showBio},createTimeline(){return this.$gsap.timeline({defaults:{duration:.5,clearProps:"all"}})}}},c=(r(473),r(13)),component=Object(c.a)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"artist-hero"},[e("BaseArtistCredits",{staticClass:"artist-hero__name-container",scopedSlots:t._u([{key:"artist",fn:function(){return[e("h1",{staticClass:"artist-hero__name"},[t._v(t._s(t.artistName))])]},proxy:!0},{key:"disciplines",fn:function(){return t._l(t.disciplines,(function(r,o){return e("span",{key:o,staticClass:"artist-hero__discipline"},[t._v(t._s(r))])}))},proxy:!0}])}),t._v(" "),e("div",{ref:"nav",staticClass:"artist-hero__nav"},[e("h2",{staticClass:"artist-hero__nav-title"},[t._v("View")]),t._v(" "),e("ul",{staticClass:"artist-hero__nav-list"},[t.hasProjects?e("li",{staticClass:"artist-hero__nav-item"},[e("a",{attrs:{href:"#projects"},on:{click:t.scrollToProjects}},[t._v("Projects")])]):t._e(),t._v(" "),t._l(t.featuredNodes,(function(r){return e("li",{key:r.id,staticClass:"artist-hero__nav-item"},[e("NuxtLink",{attrs:{to:"/".concat(r.type,"s/").concat(r.slug)}},[t._v(t._s(r.attributes.display_title))])],1)})),t._v(" "),t.instagram?e("li",{staticClass:"artist-hero__nav-item"},[e("BaseLink",{attrs:{href:t.instagramLink},on:{click:t.toggleBio}},[t._v("Instagram")])],1):t._e(),t._v(" "),t.bio?e("li",{staticClass:"artist-hero__nav-item"},[e("button",{on:{click:t.toggleBio}},[t._v("Biography")])]):t._e()],2)]),t._v(" "),e("div",{ref:"bioWrapper",staticClass:"artist-hero__bio-wrapper",class:{open:t.bioOpen},style:{"--bio-height":"".concat(t.bioHeight,"px")}},[e("div",{ref:"bio",class:{"sr-only":t.bioVisuallyHidden}},[e("div",{domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),t.email||t.website?e("div",{staticClass:"artist-hero__bio-links"},[t.email?e("BaseLink",{attrs:{href:"mailto:".concat(t.email)}},[t._v("Email")]):t._e(),t._v(" "),t.website?e("BaseLink",{attrs:{href:t.website}},[t._v("Website")]):t._e()],1):t._e()])])],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{BaseArtistCredits:r(413).default,BaseLink:r(237).default})},526:function(t,e,r){"use strict";r(489)},527:function(t,e,r){var o=r(30)((function(i){return i[1]}));o.push([t.i,'.artist{color:var(--color-white);display:flex;flex-direction:column;padding:var(--header-height) 0 0}.artist__hero-asset{--width:calc(100% + 100px);height:100lvh;left:0;overflow:hidden;position:fixed;top:0;width:100%;z-index:-1}.artist__hero-asset:after{-webkit-backdrop-filter:blur(var(--blur));backdrop-filter:blur(var(--blur));background-color:rgba(0,0,0,.1);bottom:0;content:"";display:block;left:0;position:absolute;right:0;top:0;transform:translateZ(0)}.artist__projects{background-color:var(--color-off-white);color:var(--color-black)}.artist__projects-title{font-family:var(--font-family-bold);font-size:var(--font-size-xl);letter-spacing:var(--letter-spacing-xl-caps,var(--letter-spacing-xl));line-height:var(--line-height-xl-caps,var(--line-height-xl));padding:var(--spacing-md) var(--spacing-md) var(--spacing-lg);text-transform:uppercase}',""]),o.locals={},t.exports=o},545:function(t,e,r){"use strict";r.r(e);var o=r(12),n=r(6),l=(r(233),r(234),r(34),r(16)),c=r(84),h=r(458),d=r(146),v=r(131),m=r(144),f=r(429),_=r(428),y=r(410);function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?w(Object(r),!0).forEach((function(e){Object(o.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var j={mixins:[h.a,c.a,d.a,y.a],props:{nuxtChildKey:{type:String,required:!0}},data:()=>({timeline:void 0,headerHeight:0,blurAmount:40,heroAssetLoaded:!1,animationFinished:!1,metaDescription:void 0,heroAssetOpacity:1}),fetch(){var t=this;return Object(n.a)((function*(){var e,r,o;null!==(e=t.artist)&&void 0!==e&&e.fullyFetched||(yield t.fetchArtist({slug:t.slug}));var n=t.getPageToFetch();n&&(yield t.fetchArtistProjects({artistId:t.artist.id,artistSlug:t.slug,page:n})),(null===(r=t.work)||void 0===r||null===(r=r.meta)||void 0===r?void 0:r.current_page)===(null===(o=t.work)||void 0===o||null===(o=o.meta)||void 0===o?void 0:o.total_pages)&&(t.fullyFetched=!0)}))()},head(){return x({},this.$seo({title:Object(m.a)(this.artist),description:this.metaDescription}))},computed:x(x(x(x({},Object(l.c)("api",{getArtist:"GET_ARTIST",getArtistProjects:"GET_ARTIST_PROJECTS"})),Object(l.e)("route",{from:"FROM",to:"TO"})),Object(l.e)({windowSize:"WINDOW_SIZE"})),{},{artist(){return this.getArtist(this.slug)},bio(){var t;return null===(t=this.artist)||void 0===t||null===(t=t.attributes)||void 0===t?void 0:t.description},projects(){var t;return null===(t=this.getArtistProjects(this.slug))||void 0===t?void 0:t.projects},heroAsset(){var t,e,r;return null!==(t=null===(e=this.artist)||void 0===e||null===(e=e.assets)||void 0===e?void 0:e[1])&&void 0!==t?t:null===(r=this.artist)||void 0===r||null===(r=r.assets)||void 0===r?void 0:r[0]},slug(){return this.$route.params.artist},work(){return this.getArtistProjects(this.slug)},heroAssetLayout(){var t,e,r,o,n;if(!this.heroAsset)return null;var l=(null===(t=this.heroAsset)||void 0===t?void 0:t.height)/(null===(e=this.heroAsset)||void 0===e?void 0:e.width),c=this.windowSize.height/this.windowSize.width;return Math.abs(l-c)<.3?"".concat(null===(r=this.heroAsset)||void 0===r?void 0:r.type,"-single"):l<1&&this.windowSize.width>=992?"".concat(null===(o=this.heroAsset)||void 0===o?void 0:o.type,"-single"):"".concat(null===(n=this.heroAsset)||void 0===n?void 0:n.type,"-repeat")}}),watch:{"$route.query.bio":{handler(t){this.toggleBio(t)}},scrollY:{handler(){this.checkHeaderColor(),this.setHeroAssetOpacity()},immediate:!0}},beforeCreate(){this.$route.query.bio&&this.$router.push({query:{}})},mounted(){var t=this;return Object(n.a)((function*(){window.scrollTo(0,0),t.headerHeight=parseInt(Object(v.a)("--header-height")),t.checkHeaderColor(),t.setMetaDescription(),yield Object(_.a)(t,"heroAsset"),window.innerWidth>=576&&(!t.from.NAME||"artists"===t.from.NAME)?t.animate():(t.$nuxt.$emit("showHeroNav"),t.$nuxt.$emit("setShowRosterBackground",!1),t.animationFinished=!0)}))()},beforeDestroy(){var t;null===(t=this.timeline)||void 0===t||t.kill(),this.$refs.hero.$el.removeEventListener("Dimensions:Change",(t=>{var{height:e,width:r}=t;this.heroHeight=e})),this.$gsap.set(".roster-background",{top:0})},methods:x(x(x({},Object(l.b)("api",{fetchArtist:"FETCH_ARTIST",fetchArtistProjects:"FETCH_ARTIST_PROJECTS"})),Object(l.d)({setHeaderColor:"SET_HEADER_COLOR"})),{},{getPageToFetch(){var t,meta=null===(t=this.getArtistProjects(this.slug))||void 0===t?void 0:t.meta;if(null==meta||!meta.current_page)return 1;var{current_page:e,total_pages:r}=meta;return e<r?e+1:null},scrollToProjects(){this.$gsap.to(window,{scrollTo:{y:this.$refs.projects,offsetY:this.headerHeight},duration:1})},animate(){var t=this;return Object(n.a)((function*(){var e=parseInt(Object(v.a)("--header-height")),r=16*parseInt(Object(v.a)("--font-size-xl")),{innerHeight:o}=window;t.$gsap.set(t.$refs.hero.$el,{y:o/2-e-r}),t.$gsap.set([t.$refs.heroAsset,t.$refs.projects],{y:"100vh"}),t.$gsap.set(document.documentElement,{overflowY:"hidden"}),yield t.isHeroAssetLoaded(),t.timeline=t.$gsap.timeline({onInterrupt:()=>{t.$gsap.set(document.documentElement,{overflowY:"auto"}),t.$nuxt.$emit("setShowRosterBackground",!1)}}).to(t.$refs.hero.$el,{y:0,duration:1,delay:2}).to([t.$refs.heroAsset,t.$refs.projects],{y:0,duration:1},"<").to(".roster-background",{top:-o/2,duration:1,clearProps:!0},"<").call((()=>t.$nuxt.$emit("showHeroNav")),null,"<").set(document.documentElement,{overflowY:"auto"}).set(t.$refs.heroAsset,{overflow:"unset"}).call((()=>t.$nuxt.$emit("setShowRosterBackground",!1))).call((()=>t.animationFinished=!0))}))()},checkHeaderColor(){this.scrollY>this.headerHeight+this.height-30?this.setHeaderColor("black"):this.setHeaderColor("white")},toggleBio(t){this.$gsap.to(this.$refs.heroAsset,{"--blur":t?"".concat(this.blurAmount,"px"):"0px",duration:.5})},isHeroAssetLoaded(){var t=this;return Object(n.a)((function*(){var e;yield new Promise((r=>{e=t.$watch("heroAssetLoaded",(t=>{t&&r()}),{immediate:!0})})),e()}))()},onHeroAssetLoad(){this.heroAssetLoaded=!0},setMetaDescription(){var t=this;return Object(n.a)((function*(){yield Object(_.a)(t,"bio"),t.metaDescription=Object(f.a)(t.bio)}))()},setHeroAssetOpacity(){this.scrollY>this.windowSize.height?this.heroAssetOpacity=0:this.heroAssetOpacity=1}})},O=(r(526),r(13)),component=Object(O.a)(j,(function(){var t,e,r=this,o=r._self._c;return o("main",{staticClass:"artist"},[o("ArtistHero",{directives:[{name:"dimensions",rawName:"v-dimensions"}],ref:"hero",attrs:{artist:r.artist,"has-projects":!(null===(t=r.projects)||void 0===t||!t.length)},on:{scrollToProjects:r.scrollToProjects,setBioOpen:t=>r.toggleBio(t)}}),r._v(" "),o("div",{ref:"heroAsset",staticClass:"artist__hero-asset",style:{opacity:r.heroAssetOpacity}},["image-repeat"===r.heroAssetLayout||"vimeo-repeat"===r.heroAssetLayout?o("AssetRepeater",{attrs:{asset:r.heroAsset},on:{"canvas-loaded":r.onHeroAssetLoad}}):r.heroAsset?o("AssetController",{attrs:{asset:r.heroAsset,fit:"cover",autoplay:!0},on:{"asset-loaded":r.onHeroAssetLoad}}):r._e()],1),r._v(" "),o("div",{directives:[{name:"show",rawName:"v-show",value:null===(e=r.projects)||void 0===e?void 0:e.length,expression:"projects?.length"}],ref:"projects",staticClass:"artist__projects",attrs:{id:"projects"}},[o("button",{staticClass:"artist__projects-title",on:{click:r.scrollToProjects}},[o("h2",[r._v("Projects")])]),r._v(" "),o("WorkGrid",{attrs:{"page-ready":r.animationFinished,nodes:r.projects,"fully-fetched":r.fullyFetched,columns:{xxsmall:3,xsmall:5,small:7,medium:9,large:9,xlarge:9,xxlarge:11}}})],1)],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{ArtistHero:r(498).default,AssetRepeater:r(238).default,AssetController:r(145).default,WorkGrid:r(505).default})}}]);