1"use strict";(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[47],{7544:function(e,t,n){n.d(t,{$:function(){return l},$t:function(){return z},AH:function(){return A},AU:function(){return v},BC:function(){return P},CF:function(){return f},DK:function(){return I},Gq:function(){return b},HW:function(){return Z},Hs:function(){return j},I6:function(){return H},K$:function(){return d},K2:function(){return D},M8:function(){return W},Pe:function(){return M},Qq:function(){return L},R7:function(){return w},TF:function(){return R},WQ:function(){return V},XQ:function(){return E},YL:function(){return G},Y_:function(){return O},__:function(){return _},cY:function(){return N},eq:function(){return k},hZ:function(){return y},iQ:function(){return s},is:function(){return x},kY:function(){return g},kp:function(){return B},nB:function(){return c},on:function(){return p},p:function(){return h},p1:function(){return u},pb:function(){return C},pd:function(){return m},qy:function(){return S},vy:function(){return a},zy:function(){return T}});var r=n(8861);class i{constructor(e){const t=this;for(let n=0;n<e.length;n+=1)t[n]=e[n];return t.length=e.length,this}}function l(e,t){const n=[];let l=0;if(e&&!t&&e instanceof i)return e;if(e)if("string"==typeof e){let i,o;const s=e.trim();if(s.indexOf("<")>=0&&s.indexOf(">")>=0){let e="div";for(0===s.indexOf("<li")&&(e="ul"),0===s.indexOf("<tr")&&(e="tbody"),0!==s.indexOf("<td")&&0!==s.indexOf("<th")||(e="tr"),0===s.indexOf("<tbody")&&(e="table"),0===s.indexOf("<option")&&(e="select"),o=r.Al.createElement(e),o.innerHTML=s,l=0;l<o.childNodes.length;l+=1)n.push(o.childNodes[l])}else for(i=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||r.Al).querySelectorAll(e.trim()):[r.Al.getElementById(e.trim().split("#")[1])],l=0;l<i.length;l+=1)i[l]&&n.push(i[l])}else if(e.nodeType||e===r.x||e===r.Al)n.push(e);else if(e.length>0&&e[0].nodeType)for(l=0;l<e.length;l+=1)n.push(e[l]);return new i(n)}function o(e){const t=[];for(let n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function s(e){if(void 0===e)return this;const t=e.split(" ");for(let n=0;n<t.length;n+=1)for(let e=0;e<this.length;e+=1)void 0!==this[e]&&void 0!==this[e].classList&&this[e].classList.add(t[n]);return this}function a(e){const t=e.split(" ");for(let n=0;n<t.length;n+=1)for(let e=0;e<this.length;e+=1)void 0!==this[e]&&void 0!==this[e].classList&&this[e].classList.remove(t[n]);return this}function c(e){return!!this[0]&&this[0].classList.contains(e)}function u(e){const t=e.split(" ");for(let n=0;n<t.length;n+=1)for(let e=0;e<this.length;e+=1)void 0!==this[e]&&void 0!==this[e].classList&&this[e].classList.toggle(t[n]);return this}function f(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(const t in e)this[n][t]=e[t],this[n].setAttribute(t,e[t]);return this}function d(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function h(e,t){let n;if(void 0!==t){for(let r=0;r<this.length;r+=1)n=this[r],n.dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[e]=t;return this}if(n=this[0],n){if(n.dom7ElementDataStorage&&e in n.dom7ElementDataStorage)return n.dom7ElementDataStorage[e];const t=n.getAttribute(`data-${e}`);return t||void 0}}function m(e){for(let t=0;t<this.length;t+=1){const n=this[t].style;n.webkitTransform=e,n.transform=e}return this}function g(e){"string"!=typeof e&&(e=`${e}ms`);for(let t=0;t<this.length;t+=1){const n=this[t].style;n.webkitTransitionDuration=e,n.transitionDuration=e}return this}function p(...e){let[t,n,r,i]=e;function o(e){const t=e.target;if(!t)return;const i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),l(t).is(n))r.apply(t,i);else{const e=l(t).parents();for(let t=0;t<e.length;t+=1)l(e[t]).is(n)&&r.apply(e[t],i)}}function s(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof e[1]&&([t,r,i]=e,n=void 0),i||(i=!1);const a=t.split(" ");let c;for(let l=0;l<this.length;l+=1){const e=this[l];if(n)for(c=0;c<a.length;c+=1){const t=a[c];e.dom7LiveListeners||(e.dom7LiveListeners={}),e.dom7LiveListeners[t]||(e.dom7LiveListeners[t]=[]),e.dom7LiveListeners[t].push({listener:r,proxyListener:o}),e.addEventListener(t,o,i)}else for(c=0;c<a.length;c+=1){const t=a[c];e.dom7Listeners||(e.dom7Listeners={}),e.dom7Listeners[t]||(e.dom7Listeners[t]=[]),e.dom7Listeners[t].push({listener:r,proxyListener:s}),e.addEventListener(t,s,i)}}return this}function v(...e){let[t,n,r,i]=e;"function"==typeof e[1]&&([t,r,i]=e,n=void 0),i||(i=!1);const l=t.split(" ");for(let o=0;o<l.length;o+=1){const e=l[o];for(let t=0;t<this.length;t+=1){const l=this[t];let o;if(!n&&l.dom7Listeners?o=l.dom7Listeners[e]:n&&l.dom7LiveListeners&&(o=l.dom7LiveListeners[e]),o&&o.length)for(let t=o.length-1;t>=0;t-=1){const n=o[t];r&&n.listener===r||r&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===r?(l.removeEventListener(e,n.proxyListener,i),o.splice(t,1)
1):r||(l.removeEventListener(e,n.proxyListener,i),o.splice(t,1))}}}return this}function y(...e){const t=e[0].split(" "),n=e[1];for(let l=0;l<t.length;l+=1){const o=t[l];for(let t=0;t<this.length;t+=1){const l=this[t];let s;try{s=new r.x.CustomEvent(o,{detail:n,bubbles:!0,cancelable:!0})}catch(i){s=r.Al.createEvent("Event"),s.initEvent(o,!0,!0),s.detail=n}l.dom7EventData=e.filter(((e,t)=>t>0)),l.dispatchEvent(s),l.dom7EventData=[],delete l.dom7EventData}}return this}function E(e){const t=["webkitTransitionEnd","transitionend"],n=this;let r;function i(l){if(l.target===this)for(e.call(this,l),r=0;r<t.length;r+=1)n.off(t[r],i)}if(e)for(r=0;r<t.length;r+=1)n.on(t[r],i);return this}function b(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function I(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function N(){if(this.length>0){const e=this[0],t=e.getBoundingClientRect(),n=r.Al.body,i=e.clientTop||n.clientTop||0,l=e.clientLeft||n.clientLeft||0,o=e===r.x?r.x.scrollY:e.scrollTop,s=e===r.x?r.x.scrollX:e.scrollLeft;return{top:t.top+o-i,left:t.left+s-l}}return null}function w(){return this[0]?r.x.getComputedStyle(this[0],null):{}}function A(e,t){let n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n+=1)for(let t in e)this[n].style[t]=e[t];return this}if(this[0])return r.x.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this}function _(e){if(!e)return this;for(let t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this}function C(e){const t=[],n=this;for(let r=0;r<n.length;r+=1)e.call(n[r],r,n[r])&&t.push(n[r]);return new i(t)}function S(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function L(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this}function x(e){const t=this[0];let n,o;if(!t||void 0===e)return!1;if("string"==typeof e){if(t.matches)return t.matches(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);for(n=l(e),o=0;o<n.length;o+=1)if(n[o]===t)return!0;return!1}if(e===r.Al)return t===r.Al;if(e===r.x)return t===r.x;if(e.nodeType||e instanceof i){for(n=e.nodeType?[e]:e,o=0;o<n.length;o+=1)if(n[o]===t)return!0;return!1}return!1}function M(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}}function k(e){if(void 0===e)return this;const t=this.length;let n;return e>t-1?new i([]):e<0?(n=t+e,new i(n<0?[]:[this[n]])):new i([this[e]])}function P(...e){let t;for(let n=0;n<e.length;n+=1){t=e[n];for(let e=0;e<this.length;e+=1)if("string"==typeof t){const n=r.Al.createElement("div");for(n.innerHTML=t;n.firstChild;)this[e].appendChild(n.firstChild)}else if(t instanceof i)for(let n=0;n<t.length;n+=1)this[e].appendChild(t[n]);else this[e].appendChild(t)}return this}function j(e){let t,n;for(t=0;t<this.length;t+=1)if("string"==typeof e){const i=r.Al.createElement("div");for(i.innerHTML=e,n=i.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(i.childNodes[n],this[t].childNodes[0])}else if(e instanceof i)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function D(e){return this.length>0?e?this[0].nextElementSibling&&l(this[0].nextElementSibling).is(e)?new i([this[0].nextElementSibling]):new i([]):this[0].nextElementSibling?new i([this[0].nextElementSibling]):new i([]):new i([])}function Z(e){const t=[];let n=this[0];if(!n)return new i([]);for(;n.nextElementSibling;){const r=n.nextElementSibling;e?l(r).is(e)&&t.push(r):t.push(r),n=r}return new i(t)}function G(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&l(t.previousElementSibling).is(e)?new i([t.previousElementSibling]):new i([]):t.previousElementSibling?new i([t.previousElementSibling]):new i([])}return new i([])}function T(e){const t=[];let n=this[0];if(!n)return new i([]);for(;n.previousElementSibling;){const r=n.previousElementSibling;e?l(r).is(e)&&t.push(r):t.push(r),n=r}return new i(t)}function z(e){const t=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?l(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return l(o(t))}function W(e){const t=[];for(let n=0;n<this.length;n+=1){let r=this[n].parentNode;for(;r;)e?l(r).is(e)&&t.push(r):t.push(r),r=r.parentNode}return l(o(t))}function B(e){let t=this;return void 0===e?new i([]):(t.is(e)||(t=t.parents(e).eq(0)),t)}function H(e){const t=[];for(let n=0;n<this.length;n+=1){const r=this[n].querySelectorAll(e);for(let e=0;e<r.length;e+=1)t.push(r[e])}return new i(t)}function O(e){const t=[];for(let n=0;n<this.length;n+=1){const r=this[n].childNodes;for(let n=0;n<r.length;n+=1)e?1===r[n].nodeType&&l(r[n]).is(e)&&t.push(r[n]):1===r[n].nodeType&&t.push(r[n])}return new i(o(t))}function R(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function V(...e){const t=this;let n,r;for(n=0;n<e.length;n+=1){const i=l(e[n]);for(r=0;r<i.length;r+=1)t[t.length]=i[r],t.length+=1}return t}l.fn=i.prototype,l.Class=i,l.Dom7=i;"resize scroll".split(" ")},8078:function(e,t,n){var r=n(6540),i=n(1742);t.A=e=>{const{background:t,imgHref:n,title:l}=e,o={backgroundImage:"url("+t+")",backgroundSize:"cover"};let s={},a={};e.hasOwnProperty("containerStyle")&&(s=e.containerStyle),e.hasOwnProperty("imageStyle")&&(a=e.imageStyle);const[c,u]=(0,i.Wx)({triggerOnce:!0});return r.createElement("div",{className:"lazy-load",ref:c,style:s},r.createElement("div",{className:"lazy-load__overlay"+(u?" lazy-load__overlay--in-view":"")}),r.createElement("div",{className:"lazy-load__pattern",style:o}),r.createElement("img",{className:"lazy-load__image",src:n,alt:l,style:a}))}},9580:function(e,t,n){n.r(t),n.d(t,{default:function(){return m}});var r=n(6540),i=n(8485),l=n(4810),o=n(8078),s=n(7324),a=n(8865);var c=e=>{const{scrollItems:t,scrollCaption:n,nextPage:i}=e,{images:c,scrollerCopy:u}=t[0];console.log(c);const f=c.map(((e,t)=>r.createElement("div",{key:t,className:"scroller__item"},r.createElement(o.A,{background:a.A,imgHref:e.localFile.publicURL,title:n.title}))));return r.createElement("div",{className:"case-study"},r.createElement("div",{className:"scroller__title"},r.createElement("h2",{className:"portfolio-overview__title"},n.title),r.createElement("h3",{className:"portfolio-overview__location"},r.createElement("span",{className:"portfolio-overview__town"},n.town),r.createElement("span",{className:"portfolio-overview__country"},n.location))),r.createElement("div",{className:"scroller scroller--static"}
1,r.createElement("div",{className:"scroller__container"},f,r.createElement("div",{className:"scroller__item"},r.createElement(s.A,{copy:u,classList:"scroller__item-copy"}),"Mayfair"!==n.title&&r.createElement("div",{className:"scroller__item scroller__item--pagination"},r.createElement("div",null,r.createElement(l.N_,{to:i,className:"scroller__pagination",role:"button"},"Next Project"),r.createElement(l.N_,{to:i,className:"scroller__pagination-icon",role:"button"},"â")))))))},u=n(4506),f=n(5525),d=n.n(f);var h=e=>{const{scrollItems:t,scrollCaption:n,nextPage:i}=e,{images:s,ctaImage:c,ctaLink:f}=t[0],h=s||[],{0:m,1:g}=(0,r.useState)(null),p=(0,r.useRef)(null),v=(0,r.useRef)(null),{0:y,1:E}=(0,r.useState)(0);(0,r.useEffect)((()=>(E(window.innerWidth),window.addEventListener("resize",(()=>E(window.innerWidth))),()=>{window.removeEventListener("resize",(()=>E(window.innerWidth)))})),[]);const b={slidesPerView:"auto",spaceBetween:70,speed:1e3},I=e=>{var t;const n=null==e||null===(t=e.localFile)||void 0===t?void 0:t.publicURL;if(n)return n;const r=null==e?void 0:e.url;if(!r)return"";if(r.startsWith("http"))return r;const i="https://content.studio-vero.com";return i?`${i}${r}`:r},N=I(c),w=h.length+(N?1:0),A=()=>{null!==m&&(m.slideNext(),m.activeIndex===w-1&&(v.current.style.display="none",m.allowSlideNext=!1))},_=()=>{null!==m&&(m.slidePrev(),m.activeIndex!==w-1&&(v.current.style.display="block",m.allowSlideNext=!0))},C=h.map(((e,t)=>{const i=I(e);return r.createElement("div",{key:t,className:"scroller__item",style:{width:"auto"}},r.createElement(o.A,{background:a.A,imgHref:i,title:n.title,containerStyle:{width:"auto",height:"100%"},imageStyle:{width:"auto",height:"100%"}}))})),S=h.map(((e,t)=>{const i=I(e);return r.createElement("div",{key:t,className:"scroller__item"},r.createElement(o.A,{background:a.A,imgHref:i,title:n.title}))})),L=N?r.createElement("div",{className:"scroller__item",style:{width:"auto"}},f?r.createElement("a",{href:f,target:"_blank",rel:"noopener noreferrer",style:{width:"auto",height:"100%"}},r.createElement(o.A,{background:a.A,imgHref:N,title:n.title,containerStyle:{width:"auto",height:"100%"},imageStyle:{width:"auto",height:"100%"}})):r.createElement(o.A,{background:a.A,imgHref:N,title:n.title,containerStyle:{width:"auto",height:"100%"},imageStyle:{width:"auto",height:"100%"}})):null,x=N?r.createElement("div",{className:"scroller__item"},f?r.createElement("a",{href:f,target:"_blank",rel:"noopener noreferrer",style:{width:"auto",height:"100%"}},r.createElement(o.A,{background:a.A,imgHref:N,title:n.title})):r.createElement(o.A,{background:a.A,imgHref:N,title:n.title})):null;return y<=1060?r.createElement("div",{className:"case-study"},r.createElement("div",{className:"scroller__title"},r.createElement("h2",{className:"portfolio-overview__title"},n.title.replace("London ","")),r.createElement("h3",{className:"portfolio-overview__location"},r.createElement("span",{className:"portfolio-overview__town"},n.town),r.createElement("span",{className:"portfolio-overview__country"},n.location))),r.createElement("div",{className:"scroller scroller--scroll-enabled"},r.createElement("div",{className:"scroller__container"},S,x,r.createElement("div",{className:"scroller__item scroller__item--pagination"},r.createElement("div",null,r.createElement(l.N_,{to:i,className:"scroller__pagination",role:"button"},"Next Project"),r.createElement(l.N_,{to:i,className:"scroller__pagination-icon",role:"button"},"â")))))):y>1060?r.createElement("div",{className:"case-study",style:{overflow:"hidden"}},r.createElement("div",{className:"scroller__title"},r.createElement("h2",{className:"portfolio-overview__title"},n.title),r.createElement("h3",{className:"portfolio-overview__location"},r.createElement("span",{className:"portfolio-overview__town"},n.town),r.createElement("span",{className:"portfolio-overview__country"},n.location))),r.createElement("div",{style:{height:"90vh",marginBottom:"19px",position:"relative",marginLeft:100}}
1,r.createElement(d(),Object.assign({getSwiper:g},b,{style:{flexShrink:"unset"}}),[].concat((0,u.A)(C),(0,u.A)(L?[L]:[]),[r.createElement("div",{key:"pagination",style:{width:"1000px",display:"flex"}},r.createElement("div",{className:"scroller__item scroller__item--pagination",style:{width:"500px"}},r.createElement("div",{style:{width:"500px"}},r.createElement(l.N_,{to:i,className:"scroller__pagination",role:"button"},"Next Project"),r.createElement(l.N_,{to:i,className:"scroller__pagination-icon",role:"button"},r.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxOCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgOEgxN00xNyA4TDEwIDFNMTcgOEwxMCAxNSIgc3Ryb2tlPSIjMEE0MzVCIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K",alt:""})))))])),m&&r.createElement(r.Fragment,null,r.createElement("button",{style:{position:"absolute",top:"50%",transform:"translateY(-50%)",left:"0"},ref:p,onClick:_,"aria-label":"Previous images"},r.createElement("img",{src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIzNXB4IiB2aWV3Qm94PSIwIDAgMjAgMzUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDYzLjEgKDkyNDUyKSAtIGh0dHBzOi8vc2tldGNoLmNvbSAtLT4KICAgIDx0aXRsZT5QYXRoPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IkFycm93IiBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iPgogICAgICAgICAgICA8cG9seWdvbiBpZD0iUGF0aCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOS44NzI1MDAsIDE3LjYwNzUwMCkgcm90YXRlKDkwLjAwMDAwMCkgdHJhbnNsYXRlKC05Ljg3MjUwMCwgLTE3LjYwNzUwMCkgIiBwb2ludHM9IjkuNzY2IDI2Ljk4IC03LjAyMSA5Ljc2NyAtNS42NCA4LjM0NCA5Ljc2NiAyNC4wMjcgMjUuMjEyIDguMjM1IDI2Ljc2NiA5Ljc2NyI+PC9wb2x5Z29uPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+",alt:""})),r.createElement("button",{style:{position:"absolute",top:"50%",transform:"translateY(-50%)",right:"0"},ref:v,onClick:A,"aria-label":"Next images"},r.createElement("img",{src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIzNXB4IiB2aWV3Qm94PSIwIDAgMjAgMzUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDYzLjEgKDkyNDUyKSAtIGh0dHBzOi8vc2tldGNoLmNvbSAtLT4KICAgIDx0aXRsZT5QYXRoPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IkFycm93IiBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iPgogICAgICAgICAgICA8cG9seWdvbiBpZD0iUGF0aCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOS44NzI1MDAsIDE3LjYwNzUwMCkgc2NhbGUoLTEsIDEpIHJvdGF0ZSg5MC4wMDAwMDApIHRyYW5zbGF0ZSgtOS44NzI1MDAsIC0xNy42MDc1MDApICIgcG9pbnRzPSI5Ljc2NiAyNi45OCAtNy4wMjEgOS43NjcgLTUuNjQgOC4zNDQgOS43NjYgMjQuMDI3IDI1LjIxMiA4LjIzNSAyNi43NjYgOS43NjciPjwvcG9seWdvbj4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==",alt:""}))))):void 0};var m=e=>{const{data:t,pageContext:n}=e,l=t.allStrapiWork.edges.filter((e=>{var t;return null==e||null===(t=e.node)||void 0===t?void 0:t.slug})),o=l.findIndex((e=>e.node.id===n.id)),s=o>=0?l[(o+1)%l.length]:l[0],a=s?(u=s.node.slug)?u.startsWith("/")?u:`/${u}`:"/":"/";var u;const f=[{images:t.strapiWork.images||[],scrollerCopy:t.strapiWork.Description,multipleimagetemplate:t.strapiWork.multipleimagetemplate,ctaImage:t.strapiWork.CTA_Image,ctaLink:t.strapiWork.External_Link}],d={title:t.strapiWork.Title,town:t.strapiWork.Town,location:t.strapiWork.Country},m=()=>t.strapiWork.multipleimagetemplate?r.createElement(h,{scrollItems:f,scrollCaption:d,nextPage:a}):r.createElement(c,{scrollItems:f,scrollCaption:d,nextPage:a});return r.createElement(i.A,{modifier:"case-study",pageTitle:"Vero - "+t.strapiWork.Title},r.createElement(m,null))}},9667:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)}
1,i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(n(6540)),s=l(n(7452)),a=l(n(8828)),c=n(1552),u=function(e){var t=e.activeSlideKey,n=e.ContainerEl,i=e.children,l=e.containerClass,u=e.getSwiper,f=e.navigation,d=e.noSwiping,h=e.pagination,m=e.parallax,g=e.parallaxEl,p=e.WrapperEl,v=e.wrapperClass,y=e.rebuildOnUpdate,E=e.renderScrollbar,b=e.renderPagination,I=e.renderPrevButton,N=e.renderNextButton,w=e.renderParallax,A=e.rtl,_=e.scrollbar,C=e.shouldSwiperUpdate,S=e.slideClass,L=e.loop,x=o.useRef(null),M=o.useRef(null),k=function(){if(!t)return null;var e=0,n=L?1:0;return o.Children.forEach(i,(function(r){o.isValidElement(r)&&(r.key===t&&(e=n),n+=1)})),e},P=function(){null!==M.current&&(M.current.destroy(!0,!0),M.current=null)},j=function(){x.current&&null===M.current&&(M.current=new s.default(x.current,a.default({},e)))};return o.useEffect((function(){j();var e=k();return null!==M.current&&null!==e&&M.current.slideTo(e),function(){return P()}}),[]),o.useEffect((function(){if(null!==M.current){if(y)P(),j();else if(C){null!==M.current&&M.current.update();var e=M.current.slides.length;if(e<=M.current.activeIndex){var t=Math.max(e-1,0);M.current.slideTo(t)}}var n=k();null!==n&&M.current.slideTo(n)}})),o.useEffect((function(){var e;e=M.current,"function"==typeof u&&u(e)}),[M]),i&&n&&p?c.validateChildren(i)?o.default.createElement(n,{className:l,dir:A&&"rtl",ref:x},m&&g&&w&&w(e),o.default.createElement(p,{className:v},o.Children.map(i,(function(e){if(!c.isReactElement(e))return null;var t=[S,e.props.className];return d&&t.push("swiper-no-swiping"),o.cloneElement(e,r(r({},e.props),{className:t.join(" ").trim()}))}))),h&&h.el&&b&&b(e),_&&_.el&&E&&E(e),f&&f.nextEl&&N&&N(e),f&&f.prevEl&&I&&I(e)):(console.warn("Children should be react element or an array of react element!!"),null):null};u.defaultProps={containerClass:"swiper-container",wrapperClass:"swiper-wrapper",slideClass:"swiper-slide",ContainerEl:"div",WrapperEl:"div",renderScrollbar:function(e){var t=e.scrollbar;return t?o.default.createElement("div",{className:c.classNames(t.el)}):null},renderPagination:function(e){var t=e.pagination;return t?o.default.createElement("div",{className:c.classNames(t.el)}):null},renderPrevButton:function(e){var t=e.navigation;return t?o.default.createElement("div",{className:c.classNames(t.prevEl)}):null},renderNextButton:function(e){var t=e.navigation;return t?o.default.createElement("div",{className:c.classNames(t.nextEl)}):null},renderParallax:function(e){var t=e.parallaxEl;return t?o.default.createElement("div",{className:c.classNames(t.el),"data-swiper-parallax":t.value}):null}},u.displayName="ReactIdSwiper",t.default=u},5525:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(9667));t.default=i.default},1552:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(6540);t.classNames=function(e){return"string"==typeof e?e.split(".").join(" ").trim():e instanceof HTMLElement?e.className:""},t.validateChildren=function(e){var t=!0;return Array.isArray(e)?r.Children.forEach(e,(function(e){r.isValidElement(e)||(t=!1)})):t=r.isValidElement(e),t},t.isReactElement=function(e){return r.isValidElement(e)&&("string"==typeof e.type||"function"==typeof e.type||"object"==typeof e.type)},t.isModuleAvailable=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].name===t){n=!0;break}return n}},8861:function(e,t,n){function r(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(n){void 0===e[n]?e[n]=t[n]:r(t[n])&&r(e[n])&&Object.keys(t[n]).length>0&&i(e[n],t[n])}))}n.d(t,{Al:function(){return l},x:function(){return s}});var l="undefined"!=typeof document?document:{},o={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};i(l,o);var s="undefined"!=typeof window?window:{};i(s,{document:o,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}}})},8865:function(e,t,n){t.A=n.p+"static/pattern-2f1015ed7dec385b514ccc3c7c4a9365.svg"}}]); 2//# sourceMappingURL=component---src-templates-work-js-402c8b48860cbd6f2e74.js.map
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.