1"use strict";(self.webpackChunklegacy=self.webpackChunklegacy||[]).push([[804],{8298:function(e,t,n){var a=n(5671),o=n(3144),i=(n(4916),n(7601),n(1539),n(4747),n(8674),n(1874),n(9653),n(7042),n(2732)),r=n.n(i),l=n(2442),c=n.n(l),s=n(5440),u=n.n(s),d=n(6358),v=n(9092),f=n(1248),h=n.n(f);d.ZP.registerPlugin(v.Z);var y=document.querySelector("html");/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&y.classList.add("is-safari");var m=function(){function e(){(0,a.Z)(this,e),this.lazyload=new(r())({unobserve_entered:!0,elements_selector:".js-lazy",threshold:.8*window.innerHeight,callback_enter:function(e){if(e.classList.contains("js-lazy-error-placeholder"))e.lazyLoadPlaceholder=e.src;else if(null==e.dataset.src){var t=e.closest("figure");t&&t.classList.add("img-is-loaded")}},callback_loaded:function(e){var t=e.closest("figure");t&&t.classList.add("img-is-loaded")},callback_error:function(e){e.lazyLoadPlaceholder&&(e.src=e.lazyLoadPlaceholder)}});var t=document.querySelectorAll(".toggle-menu");t&&t.length>0&&t.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),y.classList.toggle("open-menu")}))})),this.bodymovin(),this.marquee(),this.cardScroll(),this.carouselInfinite(),this.parallax(),this.sliderTickets(),this.tabs(),this.accordion(),this.inViewport()}return(0,o.Z)(e,[{key:"bodymovin",value:function(){var e=document.querySelectorAll("[data-bodymovin]");e&&e.forEach((function(e){e.addEventListener("inview",(function(){if(e.classList.contains("loaded"))e.lottie&&e.lottie.play();else{var t=e.dataset.bodymovin;fetch(t).then((function(n){if(200==n.status){var a=h().loadAnimation({container:e,renderer:"svg",loop:!0,autoplay:!(e.dataset.bodymovinAutoplay&&"0"!=e.dataset.bodymovinAutoplay),path:t});a.addEventListener("DOMLoaded",(function(){e.classList.add("loaded")})),e.lottie=a,e.dataset.bodymovinAutoplay&&""!=e.dataset.bodymovinAutoplay&&setTimeout((function(){a.play(),e.classList.add("loaded")}),1e3*Number.parseFloat(e.dataset.bodymovinAutoplay))}}))}})),e.addEventListener("outview",(function(){e.lottie}))}))}},{key:"tabs",value:function(){var e=document.querySelectorAll(".tabs");e&&e.length>0&&e.forEach((function(e){var t=e.querySelector(".tabs-content"),n=e.querySelectorAll(".tabs-item"),a=e.querySelectorAll(".tabs-header a"),o=-1;function i(e){var i=0,r=n[e];o>=0&&(i=.2,d.ZP.set(t,{height:n[o].scrollHeight}),d.ZP.to(n[o],{position:"absolute",autoAlpha:0,y:"-1rem",duration:.3,ease:"circ.inOut",onComplete:function(){window.dispatchEvent(new Event("resize"))}}),a&&a[o]&&a[o].classList.remove("active")),d.ZP.fromTo(r,{y:"1rem",autoAlpha:0},{autoAlpha:1,y:"0",delay:i,duration:.3,ease:"circ.inOut",onComplete:function(){d.ZP.set(r,{position:"relative"})}}),o=e,a&&a[e]&&a[e].classList.add("active")}if(a){a.forEach((function(t,n){t.addEventListener("click",(function(a){a.preventDefault(),e.querySelector(t.getAttribute("href"))&&!t.classList.contains("active")&&(i(n),setTimeout((function(){}),100))}))})),window.addEventListener("resize",(function(){d.ZP.to(t,{duration:.3,ease:"circ.inOut",height:n[o].scrollHeight,onComplete:function(){d.ZP.set(t,{height:"auto"})}})}));var r=e.querySelector(".tabs-header select");r&&r.addEventListener("change",(function(){var t=e.querySelector('.tabs-header a[href*="'.concat(r.value,'"]'));t&&t.dispatchEvent(new Event("click"))})),e.classList.contains("js-reveal")?e.addEventListener("inview",(function(){i(0)})):i(0)}}))}},{key:"accordion",value:function(){var e=document.querySelectorAll(".accordion");e&&e.length>0&&e.forEach((function(e){var t=e.querySelectorAll(".accordion-header"),n=e.querySelectorAll(".accordion-item"),a=e.querySelectorAll(".accordion-content");t&&a&&n&&t.forEach((function(e,t){e.addEventListener("click",(function(e){e.preventDefault(),n[t].classList.toggle("open");var o=n[t].classList.contains("open"),i=a[t].children[0].offsetHeight;d.ZP.to(a[t],{autoAlpha:o?1:0,height:o?i:0,duration:.3,ease:"power4.inOut",onComplete:function(){n[t].classList.contains("open")&&d.ZP.set(a[t],{height:"auto"})},onUpdate:function(){}})}))}))}))}},{key:"cardScroll",value:function(){var e=document.querySelectorAll(".cards-scroll");e.length&&e.forEach((function(e){var t=e.querySelector(".pin"),n=d.ZP.utils.toArray(e.querySelectorAll(".card"));
1n.forEach((function(e,t){d.ZP.set(e,{y:0===t?"0%":"-".concat(10*t,"%"),scale:0===t?1:1-.12*t,zIndex:n.length-t})}));var a=d.ZP.timeline({scrollTrigger:{trigger:e,start:"top top",end:"+=100%",scrub:!0,pin:t,snap:n.length>1&&1/(n.length-1)}});n.forEach((function(e,t){if(0!==t){var o=n[t-1],i="step-".concat(t);a.addLabel(i),a.to(o,{scale:1.15,y:"+=100vh",duration:.4,ease:"linear.none"},i),a.to(n.slice(t),{y:"+=".concat(10,"%"),scale:"+=".concat(.12),duration:.4,ease:"linear.none"},i)}}))}))}},{key:"marquee",value:function(){var e=document.querySelectorAll(".marquee .line");e&&e.forEach((function(e){e.innerHTML+=e.innerHTML;var t,n=1,a=0,o=window.scrollY;function i(){t=e.scrollWidth/2}window.addEventListener("load",i),window.addEventListener("resize",i),window.addEventListener("scroll",(function(){var e=window.scrollY;e>o?n=1:e<o&&(n=-1),o=e}),{passive:!0});var r=performance.now();d.ZP.ticker.add((function(){var o=performance.now(),i=(o-r)/1e3;r=o,t&&((a+=40*n*i)<=-t?a+=t:a>=0&&(a-=t),d.ZP.set(e,{x:a}))}))}))}},{key:"sliderTickets",value:function(){var e=document.querySelectorAll(".slider-tickets");e&&e.forEach((function(e){var t=new(c())(e,{cellAlign:"left",prevNextButtons:!1,pageDots:e.querySelectorAll(".item").length>1,wrapAround:!0,cellSelector:".item"}),n=e.querySelectorAll(".slider-nav a");n&&n.forEach((function(e){e.addEventListener("click",(function(n){n.preventDefault(),e.classList.contains("next")?t.next():t.previous()}))}))}))}},{key:"carouselInfinite",value:function(){var e=document.querySelectorAll(".carousel-infinite");if(e){var t=function(e){var t=e.deltaY/6<1?1:e.deltaY/6;a=(o&&e.deltaY<0?-1*t:t)*r,clearTimeout(i),n()},n=function(){i=setTimeout((function(){a=(a>0?1:-1)*r}),200)},a=.4,o=!0,i=0,r=.4;window.addEventListener("wheel",t),window.addEventListener("unmount",(function(){window.removeEventListener("wheel",t)})),e.forEach((function(e){var t=new(c())(e,{cellAlign:"left",freeScroll:!0,prevNextButtons:!1,pageDots:!1,wrapAround:!0,draggable:!1});function n(){e.removeEventListener("inview",n),i()}function i(){t.x-=Number.parseFloat(e.dataset.dir)*a,t.settle(t.x),t.request=window.requestAnimationFrame(i)}t.request=0,e.dataset.marqueeNochange&&(o=!1),e.addEventListener("inview",n),e.addEventListener("outview",(function(a){window.cancelAnimationFrame(t.request),e.addEventListener("inview",n)}
1)),window.addEventListener("unmount",(function(){t.destroy(),window.cancelAnimationFrame(t.request),e.removeEventListener("inview",n)})),e.dataset.hoverPause&&(e.addEventListener("mouseenter",(function(){window.cancelAnimationFrame(t.request)})),e.addEventListener("mouseleave",n))}))}}},{key:"parallax",value:function(){var e=document.querySelectorAll(".parallax-container");e&&e.forEach((function(e){var t=e.querySelectorAll("[data-parallax]");e.addEventListener("mousemove",(function(n){var a=e.getBoundingClientRect(),o=(n.clientX-a.left)/a.width,i=(n.clientY-a.top)/a.height,r=o-.5,l=i-.5;t.forEach((function(e){var t=Number.parseFloat(e.dataset.parallax)||20;d.ZP.to(e,{x:r*t,y:l*t,duration:.5,ease:"power3.out"})}))})),e.addEventListener("mouseleave",(function(){d.ZP.to(t,{x:0,y:0,duration:.7,ease:"power3.out"})}))}))}},{key:"inViewport",value:function(){u().offset({bottom:.1*window.innerHeight}),u()(".js-reveal:not(.is-visible)").on("enter",(function(e){e.dispatchEvent(new Event("inview")),e.classList.add("is-visible"),e.classList.remove("not-visible");var t=e.querySelector("video");if("VIDEO"==e.tagName&&"true"==e.dataset.autoplay||t&&"true"==t.dataset.autoplay){var n=t||e,a=n.play();null!==a&&a.catch((function(){n.play()}))}})).on("exit",(function(e){var t=e.querySelector("video");("VIDEO"==e.tagName&&""!=e.dataset.autoplay||t&&""!=t.dataset.autoplay)&&(t||e).pause();e.dispatchEvent(new Event("outview")),e.classList.add("not-visible")}))}}]),e}();window.addEventListener("DOMContentLoaded",(function(){new m}))}},function(e){e.O(0,[216],(function(){return t=8298,e(e.s=t);var t}));e.O()}]); 2//# sourceMappingURL=app.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.