PageSourceSearch

https://joshlilleygallery.com/_nuxt/fa37f46.js

js joshlilleygallery.com collected 2026-10-02 10:25:47 UTC 7,089 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[29,2,4,13],{382:function(t,e,n){"use strict";n.r(e);var r=n(19),o={props:["options","ambidextrous"],data:function(){return{observer:null}},mounted:function(){var t=this,e=this.options||{};console.log("new observer"),this.observer=new IntersectionObserver((function(e){var n=Object(r.a)(e,1)[0];t.ambidextrous?n&&n.isIntersecting?t.$emit("entering"):n&&!n.isIntersecting&&t.$emit("leaving"):n&&n.isIntersecting&&t.$emit("intersect")}),e),this.observer.observe(this.$el)},beforeDestroy:function(){console.log("destroy observer"),this.observer.disconnect()}},l=n(2),component=Object(l.a)(o,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"observer"})}),[],!1,null,null,null);e.default=component.exports},386:function(t,e,n){"use strict";n.r(e);var r={props:["exhibition","splash","split"],components:{SanityImage:n(5).default},computed:{title:function(){return 1===this.exhibition.artists.length?this.exhibition.artists[0]:this.exhibition.title},subtitle:function(){return 1===this.exhibition.artists.length?this.exhibition.title:"Group Show"},image:function(){if(this.exhibition.images&&this.exhibition.images[0]||this.exhibition.images&&this.exhibition.images[1])return this.splash&&this.exhibition.images[0]?this.exhibition.images[0]:this.exhibition.images[1]?this.exhibition.images[1]:this.exhibition.images[0]?this.exhibition.images[0]:null},position:function(){return this.splash?this.exhibition.global.homepagePrimary?this.exhibition.global.homepagePrimary:50:this.exhibition.global.exhibitionPrimary?this.exhibition.global.exhibitionPrimary:50}},created:function(){}},o=n(2),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fullscreen-exhibition"},[n("div",{staticClass:"fullscreen-exhibition-image"},[t.image?n("SanityImage",{attrs:{image:t.image,alt:t.exhibition.title,white:!0,position:t.position,highQuality:!0}}):t._e()],1),t._v(" "),n("div",{staticClass:"fullscreen-text"},[t.title&&t.title.split(" ").length>2?n("h1",{directives:[{name:"balance",rawName:"v-balance"}]},[t._v(t._s(t.title))]):n("h1",[t._v(t._s(t.title))]),t._v(" "),t.subtitle&&"Group Show"!==t.subtitle?n("h2",[t._v(t._s(t.subtitle))]):t._e()])])}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{SanityImage:n(5).default})},402:function(t,e,n){"use strict";n.r(e);n(12),n(7),n(11),n(15),n(16);var r=n(4),o=n(25),l=n(51),h=n(386),c=n(382);function x(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function f(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?x(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):x(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var d={props:["exhibitions","splash"],components:{ExhibitionCurrent:h.default,Observer:c.default},mixins:[l.a],data:function(){return{currentExhibIndex:0}},computed:{textColourClass:function(){return"white"===this.exhibitions[this.currentExhibIndex].global.textHomepage?"text-white":"text-black"},textColour:function(){return this.$store.state.sanity.textColour}},methods:f(f({},Object(o.b)("sanity",["UPDATE_COLOUR","UPDATE_TEXTCOLOUR","UPDATE_SIDE"])),{},{entering:function(){"white"===this.exhibitions[this.currentExhibIndex].global.textHomepage&&"black"===this.textColour&&this.UPDATE_TEXTCOLOUR("white")},leaving:function(){"white"===this.exhibitions[this.currentExhibIndex].global.textHomepage&&"white"===this.textColour&&this.UPDATE_TEXTCOLOUR("black")},changeExhib:function(t,e){console.log("swapping!"),this.currentExhibIndex=e,this.UPDATE_TEXTCOLOUR(t.global.textHomepage)}}),mounted:function(){this.UPDATE_COLOUR(this.paletteVibrant(this.exhibitions[0].images[0])),this.UPDATE_TEXTCOLOUR(this.exhibitions[this.currentExhibIndex].global.textHomepage),console.log(this.exhibitions)}},m=n(2),component=Object(m.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"current-exhibitions-container",class:t.textColourClass},[t._l(t.exhibitions,(function(e,r){return n("ExhibitionCurrent",{directives:[{name:"show",rawName:"v-show",value:r===t.currentExhibIndex,expression:"index === currentExhibIndex"}
1],key:e._id,attrs:{exhibition:e,splash:t.splash,split:!!e.subtitle&&r}})})),t._v(" "),t._l(t.exhibitions,(function(e,r){return n("nuxt-link",{key:e.slug+"-link-"+r,staticClass:"fullscreen-swap",style:{width:1/t.exhibitions.length*100+"%",left:1/t.exhibitions.length*100*r+"%"},attrs:{to:"/exhibitions/"+e.slug},nativeOn:{click:function(n){return t.UPDATE_SIDE(e.subtitle?e.subtitle:"44-46 Riding House Street")},mouseenter:function(n){return t.changeExhib(e,r)}}},[t._v("\n    "+t._s(e.title)+"\n  ")])})),t._v(" "),t.exhibitions.length>1?n("div",{staticClass:"fullscreen-caption filters"},t._l(t.exhibitions,(function(e,r){return n("a",{staticClass:"underline-after",class:{"underline-active":t.currentExhibIndex===r},on:{click:function(e){t.currentExhibIndex=r}}},[t._v(t._s(r+1))])})),0):t._e(),t._v(" "),n("Observer",{attrs:{options:{rootMargin:"90%"},ambidextrous:!0},on:{entering:t.entering,leaving:t.leaving}})],2)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{ExhibitionCurrent:n(386).default,Observer:n(382).default})},419:function(t,e,n){"use strict";n.r(e);var r=n(3),o=(n(14),n(33),{head:function(){return{title:"Josh Lilley",meta:[{hid:"description",name:"description",content:"Josh Lilley is a commercial art gallery founded in 2009. Set within a bi-level former tailor’s storehouse, Josh Lilley now represents an international community of leading artists."}]}},asyncData:function(t){return Object(r.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((n=t.store).state.sanity.featuredExhibitions){e.next=4;break}return e.next=4,n.dispatch("sanity/FEATUREDEXHIBITIONS_CALL");case 4:case"end":return e.stop()}}),e)})))()},components:{ExhibitionsCurrent:n(402).default},computed:{featuredExhibitions:function(){return this.$store.state.sanity.featuredExhibitions},storiesActive:function(){return!(!this.$route.query.stories&&"index-stories"!==this.$route.name&&"index-stories-stories"!==this.$route.name)}},created:function(){console.log(this.featuredExhibitions)}}),l=n(2),component=Object(l.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"index-container"},[t.featuredExhibitions?n("ExhibitionsCurrent",{class:{"prevent-clicks":t.storiesActive},attrs:{exhibitions:t.featuredExhibitions,splash:!0}}):t._e()],1)}),[],!1,null,"dd1955ca",null);e.default=component.exports;installComponents(component,{ExhibitionsCurrent:n(402).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.