1(self.webpackChunksantorini_gatsby=self.webpackChunksantorini_gatsby||[]).push([[9396],{6970:function(e,t,n){"use strict";var a=n(7294),r=n(8032);t.Z=e=>{let{image:t,alt:n,className:o,objectFit:l,noLazy:i}=e;return t?a.createElement(r.G,{image:t,alt:n,className:o,objectFit:l,loading:i?"eager":"lazy"}):null}},2487:function(e,t,n){"use strict";var a=n(7294);const r=e=>{let{text:t,className:n}=e;return a.createElement("div",{className:`label ${n}`},t)};t.Z=(0,a.memo)(r)},4403:function(e,t,n){"use strict";var a=n(7294),r=n(6970),o=n(2172);t.Z=e=>{let{quote:t,authorAvatar:n,authorName:l,authorPosition:i,buttonText:c,buttonLink:s,buttonTheme:u,backgroundImage:d}=e;return a.createElement("div",{className:"quote-background-container"},a.createElement("q",{className:"q"},t),a.createElement("div",{className:"details-box"},a.createElement("div",{className:"author-box"},a.createElement(r.Z,{image:null==n?void 0:n.gatsbyImageData,alt:null==n?void 0:n.alt,className:"author-image"}),a.createElement("div",null,a.createElement("p",{className:"author-name"},l),a.createElement("p",{className:"p p-14"},i))),c?a.createElement(o.Z,{text:c,link:s,theme:u}):null),d?a.createElement(r.Z,{image:d.gatsbyImageData,alt:d.alt,className:"background-image"}):null)}},7479:function(e,t,n){"use strict";n.d(t,{a:function(){return r}});var a=n(7294);const r=(e,t)=>{const{0:n,1:r}=(0,a.useState)(t),{0:o,1:l}=(0,a.useState)(!1);return(0,a.useEffect)((()=>{const t=window.matchMedia(e);r(t.matches),l(!0);const n=e=>{r(e.matches)};return t.addEventListener?t.addEventListener("change",n):t.addListener(n),()=>t.removeEventListener?t.removeEventListener("change",n):t.removeListener(n)}),[e]),{isMatching:n,calculated:o}}},4664:function(e,t,n){"use strict";n.r(t),n.d(t,{Head:function(){return T},default:function(){return C}});var a=n(7294),r=n(9656),o=n(8439),l=n(1808),i=n(2236),c=n(6102),s=n(7479),u=n(6970),d=n(2487);const m=e=>{let{data:t,logo:n,description:r,resultsLabel:o,results:l,mobileFilters:i}=e;const{isMatching:c,calculated:m}=(0,s.a)("(max-width:610px)",!0);return a.createElement("aside",{className:"story-aside"},c&&m&&a.createElement("div",null,a.createElement(u.Z,{image:n.gatsbyImageData,alt:n.alt,className:"logo"}),i.map((e=>a.createElement(v,{key:e},a.createElement(p,{data:e})))),a.createElement(v,null,a.createElement(a.Fragment,null,a.createElement("div",{className:"mobile-filters-label"},null==o?void 0:o.text),a.createElement("div",{className:"mobile-filters-content"},a.createElement(f,{data:l}))))),!c&&m&&a.createElement(a.Fragment,null,a.createElement("div",{className:"story-block"},a.createElement(u.Z,{image:n.gatsbyImageData,alt:n.alt,className:"logo"}),a.createElement("p",{className:"p-16 p"},r)),null==t?void 0:t.map((e=>a.createElement("div",{key:e,className:"story-block"},a.createElement(d.Z,{className:"story-label",text:e.filters_label.text}),a.createElement("p",{className:"p p-16"},e.filters_description.text)))),a.createElement("div",{className:"story-block"},a.createElement(d.Z,{className:"story-label",text:o.text}),a.createElement(f,{data:l}))))},f=e=>{let{data:t}=e;return null==t?void 0:t.map((e=>{var t,n;return a.createElement("div",{className:"results-item",key:e},a.createElement("p",{className:"results-item-title fw-700"},null==e||null===(t=e.big_label)||void 0===t?void 0:t.text),a.createElement("p",{className:"p-16 p"},null==e||null===(n=e.text)||void 0===n?void 0:n.text))}))},p=e=>{var t,n;let{data:r}=e;return a.createElement(a.Fragment,null,a.createElement("div",{className:"mobile-filters-label"},null==r||null===(t=r.filters_label)||void 0===t?void 0:t.text),a.createElement("div",{className:"mobile-filters-content"},null==r||null===(n=r.filters_description)||void 0===n?void 0:n.text))},v=e=>{let{children:t}=e;const{0:n,1:r}=(0,a.useState)(!1);return a.createElement("div",{onClick:()=>r(!n),className:"mobile-filters "+(n?"active":"")},t)};var b=(0,a.memo)(m);const h=a.lazy((()=>n.e(3966).then(n.bind(n,3966)))),y=e=>{let{videoPreview:t,video:n,title:r,label:o,brand:l}=e;return a.createElement("section",{className:"head"},a.createElement("div",{className:"container"},a.createElement("div",{className:"head-info"},a.createElement(d.Z,{text:o}),a.createElement(u.Z,{image:l.gatsbyImageData,alt:l.alt,className:"brand-icon",objectFit:"contain"}),a.createElement("h3",null,r)),a.createElement(a.Suspense,{fallback:null},a.createElement(h,{videoUrl:n,poster:t,isFluid:!1,height:420}))))};var g=(0,a.memo)(y);const E=e=>{let{data:t}=e;const{isMatching:n,calculated:r}=(0,s.a)("(max-width:610px)",!0);return!n&&r?a.createElement("section",{className:"filters-section"},a.createElement("div",{className:"container"},a.createElement("div",{className:"filters-container"},t.map((e=>{return t=e.filters_label.text,n=e.filters_description.text,a.createElement("div",{className:"flters-item"},a.createElement(d.Z,{text:t}),a.createElement("p",{className:"p p-16"},n));var t,n}))))):null};var w=(0,a.memo)(E),x=n(4403),N=n(8437),k=n(7552),_=n(623),S=n(104),O=n(4468);const T=e=>{let{data:t}=e;const{page:n,pageContent:r}=(0,_.c)(t,"prismicStoryPage");return a.createElement(O.H,{meta:{title:null==n?void 0:n.meta_title,de
1scription:null==n?void 0:n.meta_description,image:null==n?void 0:n.meta_image,type:null==n?void 0:n.type,pageContent:r}})};var C=(0,r.O)((e=>{var t,n,r,u,d,m,f;let{data:p}=e;if(!p)return null;const v=p.headerArticles.nodes,h=p.prismicContactForm,{isMatching:y,calculated:E}=(0,s.a)("(max-width:992px)",!0),O=(0,S.mz)(),{topLine:T,footer:C,header:P,page:F,activeDoc:L,topMenu:j}=(0,_.c)(p,"prismicStoryPage"),M=F.filters.filter(((e,t)=>t<2)),D=F.filters.filter(((e,t)=>t>2)),Z=(0,k.gW)(F.body1,N.SLICES.storyContactFormSection),H=(0,k.Fr)(F.body1,N.SLICES.storyContactFormSection),q=null==F||null===(t=F.brand)||void 0===t||null===(n=t.document)||void 0===n||null===(r=n.data)||void 0===r?void 0:r.image,A=null==F||null===(u=F.person)||void 0===u||null===(d=u.document)||void 0===d?void 0:d.data,B=()=>{var e;return a.createElement(b,{data:D,logo:null==F?void 0:F.brand,description:null==F||null===(e=F.description)||void 0===e?void 0:e.text,resultsLabel:null==F?void 0:F.label1,results:null==F?void 0:F.results,mobileFilters:null==F?void 0:F.filters})};return a.createElement(l.A,{topMenu:j.data,footer:C.data,topLine:T.data,header:{nav:P.data.nav,articles:P.data.articles},activeDocMeta:L,className:"story-page",headerArticlesData:v},a.createElement(g,{videoPreview:F.video_preview.url,video:null===(m=F.video_link)||void 0===m?void 0:m.url,title:F.title.text,label:F.label.text,brand:q}),a.createElement(w,{data:M}),a.createElement("div",{className:"container"},a.createElement("section",{className:"section"},a.createElement("div",null,a.createElement(x.Z,{quote:null==A||null===(f=A.quote)||void 0===f?void 0:f.text,authorAvatar:null==A?void 0:A.photo,authorName:null==A?void 0:A.name,authorPosition:null==A?void 0:A.position,backgroundImage:null==F?void 0:F.section_image}),a.createElement(c.Z,{slices:H,components:i.w}))),!y&&E?a.createElement(o.L9,{className:"aside-wrapper"},a.createElement(o.Le,{disableCompensation:!0,topOffset:null!=O&&O.visibleTopLine?-150:-110,bottomOffset:180},(e=>{let{style:t,isSticky:n}=e;return a.createElement("div",{style:t,className:n?"sticky":""},B())}))):B()),a.createElement(c.Z,{slices:[Z],components:i.w,context:{contactFormData:h}}))}))},75:function(e){(function(){var t,n,a,r,o,l;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-o)/1e6},n=process.hrtime,r=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})(),l=1e9*process.uptime(),o=r-l):Date.now?(e.exports=function(){return Date.now()-a},a=Date.now()):(e.exports=function(){return(new Date).getTime()-a},a=(new Date).getTime())}).call(this)},4087:function(e,t,n){for(var a=n(75),r="undefined"==typeof window?n.g:window,o=["moz","webkit"],l="AnimationFrame",i=r["request"+l],c=r["cancel"+l]||r["cancelRequest"+l],s=0;!i&&s<o.length;s++)i=r[o[s]+"Request"+l],c=r[o[s]+"Cancel"+l]||r[o[s]+"CancelRequest"+l];if(!i||!c){var u=0,d=0,m=[];i=function(e){if(0===m.length){var t=a(),n=Math.max(0,16.666666666666668-(t-u));u=n+t,setTimeout((function(){var e=m.slice(0);m.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(n))}return m.push({handle:++d,callback:e,cancelled:!1}),d},c=function(e){for(var t=0;t<m.length;t++)m[t].handle===e&&(m[t].cancelled=!0)}}e.exports=function(e){return i.call(r,e)},e.exports.cancel=function(){c.apply(r,arguments)},e.exports.polyfill=function(e){e||(e=r),e.requestAnimationFrame=i,e.cancelAnimationFrame=c}},8474:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=n(7294),l=s(o),i=s(n(5697)),c=s(n(4087));
1function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),l=0;l<r;l++)o[l]=arguments[l];return n=a=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),a.events=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],a.subscribers=[],a.rafHandle=null,a.subscribe=function(e){a.subscribers=a.subscribers.concat(e)},a.unsubscribe=function(e){a.subscribers=a.subscribers.filter((function(t){return t!==e}))},a.notifySubscribers=function(e){if(!a.framePending){var t=e.currentTarget;a.rafHandle=(0,c.default)((function(){a.framePending=!1;var e=a.node.getBoundingClientRect(),n=e.top,r=e.bottom;a.subscribers.forEach((function(e){return e({distanceFromTop:n,distanceFromBottom:r,eventSource:t===window?document.body:a.node})}))})),a.framePending=!0}},a.getParent=function(){return a.node},u(a,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"getChildContext",value:function(){return{subscribe:this.subscribe,unsubscribe:this.unsubscribe,getParent:this.getParent}}},{key:"componentDidMount",value:function(){var e=this;this.events.forEach((function(t){return window.addEventListener(t,e.notifySubscribers)}))}},{key:"componentWillUnmount",value:function(){var e=this;this.rafHandle&&(c.default.cancel(this.rafHandle),this.rafHandle=null),this.events.forEach((function(t){return window.removeEventListener(t,e.notifySubscribers)}))}},{key:"render",value:function(){var e=this;return l.default.createElement("div",a({},this.props,{ref:function(t){return e.node=t},onScroll:this.notifySubscribers,onTouchStart:this.notifySubscribers,onTouchMove:this.notifySubscribers,onTouchEnd:this.notifySubscribers}))}}]),t}(o.PureComponent);d.childContextTypes={subscribe:i.default.func,unsubscribe:i.default.func,getParent:i.default.func},t.default=d},8579:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=n(7294),o=c(r),l=c(n(3935)),i=c(n(5697));function c(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),l=0;l<r;l++)o[l]=arguments[l];return n=a=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),a.state={isSticky:!1,wasSticky:!1,style:{}},a.handleContainerEvent=function(e){var t=e.distanceFromTop,n=e.distanceFromBottom,r=e.eventSource,o=a.context.getParent(),l=!1;a.props.relative&&(l=r!==o,t=-(r.scrollTop+r.offsetTop)+a.placeholder.offsetTop);var i=a.placeholder.getBoundingClientRect(),c=a.content.getBoundingClientRect().height,s=n-a.props.bottomOffset-c,u=!!a.state.isSticky,d=l?u:t<=-a.props.topOffset&&n>-a.props.bottomOffset;n=(a.props.relative?o.scrollHeight-o.scrollTop:n)-c;var m=d?{position:"fixed",top:s>0?a.props.relative?o.offsetTop-o.offsetParent.scrollTop:0:s,left:i.left,width:i.width}:{};a.props.disableHardwareAcceleration||(m.transform="translateZ(0)"),a.setState({isSticky:d,wasSticky:u,distanceFromTop:t,distanceFromBottom:n,calculatedHeight:c,style:m})},s(a,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
1(t,e),a(t,[{key:"componentWillMount",value:function(){if(!this.context.subscribe)throw new TypeError("Expected Sticky to be mounted within StickyContainer");this.context.subscribe(this.handleContainerEvent)}},{key:"componentWillUnmount",value:function(){this.context.unsubscribe(this.handleContainerEvent)}},{key:"componentDidUpdate",value:function(){this.placeholder.style.paddingBottom=this.props.disableCompensation?0:(this.state.isSticky?this.state.calculatedHeight:0)+"px"}},{key:"render",value:function(){var e=this,t=o.default.cloneElement(this.props.children({isSticky:this.state.isSticky,wasSticky:this.state.wasSticky,distanceFromTop:this.state.distanceFromTop,distanceFromBottom:this.state.distanceFromBottom,calculatedHeight:this.state.calculatedHeight,style:this.state.style}),{ref:function(t){e.content=l.default.findDOMNode(t)}});return o.default.createElement("div",null,o.default.createElement("div",{ref:function(t){return e.placeholder=t}}),t)}}]),t}(r.Component);u.propTypes={topOffset:i.default.number,bottomOffset:i.default.number,relative:i.default.bool,children:i.default.func.isRequired},u.defaultProps={relative:!1,topOffset:0,bottomOffset:0,disableCompensation:!1,disableHardwareAcceleration:!1},u.contextTypes={subscribe:i.default.func,unsubscribe:i.default.func,getParent:i.default.func},t.default=u},8439:function(e,t,n){"use strict";t.L9=t.Le=void 0;var a=o(n(8579)),r=o(n(8474));function o(e){return e&&e.__esModule?e:{default:e}}t.Le=a.default,t.L9=r.default,a.default}}]); 2//# sourceMappingURL=component---src-templates-story-page-js-e8f9a29e2a7d181fa642.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.