1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6115],{4804:(t,e,n)=>{n.r(e),n.d(e,{default:()=>r});n(2081),n(2077),n(911),n(3938),n(6252),n(5901),n(2189),n(5374),n(3238),n(5849),n(9785);function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}const r=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$el=e,this.slideTrack=this.$el.querySelector("#slide-track"),this.slideItems=this.$el.querySelectorAll(".slide"),this.nextBtn=this.$el.querySelector("#next-btn"),this.prevBtn=this.$el.querySelector("#prev-btn"),this.contentWrapper=this.$el.querySelector("#content-wrapper"),this.textContainer=this.$el.querySelector("#text-content-container"),this.dots=this.$el.querySelectorAll(".dot"),this.circleMotif=this.$el.querySelector(".circle-motif-container"),this.animations="true"===this.$el.dataset.animations,this.slides=JSON.parse(this.$el.querySelector(".slides-data").textContent),this.autoplay=parseInt(this.$el.dataset.autoplay)||6e3,this.current=0,this.interval=null,this.motifRotations=[15030,15570,15750],this.init()}var e,n,r;return e=t,(n=[{key:"init",value:function(){console.log("HS"),this.circleMotif&&(this.circleMotif.style.transform="translateY(-50%) rotate(15570deg)"),this.bindEvents(),this.updateSlider(),this.animations&&this.startAutoplay(),this.bindDrag()}},{key:"hexToRgb",value:function(t){t=t.replace("#","");var e=parseInt(t,16);return{r:e>>16&255,g:e>>8&255,b:255&e}}},{key:"updateScrim",value:function(t){var e=this.slideItems[t];if(e){var n=e.dataset.scrim;if(n&&this.currentScrim!==n){this.currentScrim=n;var i=this.hexToRgb(n);this.$el.style.setProperty("--scrim-color",n),this.$el.style.setProperty("--scrim-rgb","".concat(i.r,", ").concat(i.g,", ").concat(i.b))}}}},{key:"updateMotif",value:function(t){if(this.circleMotif&&this.animations){var e=15030+90*t;this.circleMotif.style.transform="translateY(-50%) rotate(".concat(e,"deg)")}}},{key:"updateContent",value:function(t){var e=this,n=this.slides[t];n&&(this.contentWrapper.classList.remove("active-content"),setTimeout((function(){e.textContainer.innerHTML="\n\n".concat(n.subheader?'<span class="subheader"\n style="\n color:'.concat(n.subheaderColor,";\n font-weight:").concat(n.subheaderWeight||600,';\n ">\n ').concat(n.subheader,"\n </span>"):"","\n\n").concat(n.description?'<h2 class="description"\n style="\n color:'.concat(n.descriptionColor,";\n font-weight:").concat(n.descriptionWeight||700,";\n text-shadow:0 4px 20px ").concat(n.dropShadowColor,';\n ">\n ').concat(n.description,"\n </h2>"):"","\n\n ").concat(n.ctaUrl?'<div class="cta-group">\n\n <a href="'.concat(n.ctaUrl,'"\n class="cta-link ').concat(n.ctaClass,'"\n aria-label="Learn more">\n\n <svg viewBox="0 0 24 24" fill="none">\n <path d="M5 12h14M12 5l7 7-7 7"\n stroke="currentColor"\n stroke-width="2.5"\n stroke-linecap="round"\n stroke-linejoin="round"/>\n </svg>\n\n </a>\n\n <a href="').concat(n.ctaUrl,'"\n class="cta-text ').concat(n.ctaClass,'">\n ').concat(n.ctaText,"\n </a>\n\n </div>"):"","\n\n "),e.contentWrapper.classList.add("active-content")}),150),this.dots.forEach((function(e,n){e.classList.toggle("active",n===t),e.setAttribute("aria-selected",n===t)})))}},{key:"updateSlider",value:function(){var t=this;this.updateScrim(this.current),this.prevTranslate=-this.current*window.innerWidth,this.slideTrack.style.transform="translateX(".concat(this.prevTranslate,"px)"),this.updateContent(this.current),this.updateMotif(this.current),this.slideItems.forEach((function(e,n){e.classList.toggle("active",n===t.current)}))}},{key:"nextSlide",value:function(){this.current++,this.current>=this.slides.length&&(this.current=0),this.updateSlider()}},{key:"prevSlide",value:function(){this.current--,this.current<0&&(this.current=this.slides.length-1),this.updateSlider()}},{key:"startAutoplay",value:function(){var t=this;clearInterval(this.interval),this.interval=setInterval((function(){return t.nextSlide()}),this.autoplay)}},{key:"stopAutoplay",value:function(){clearInterval(this.interval)}},{key:"bindEvents",value:function(){var t,e,n=this;null===(t=this.nextBtn)||void 0===t||t.addEventListener("click",(function(){n.nextSlide(),n.animations&&n.startAutoplay()})),null===(e=this.prevBtn)||void 0===e||e.addEventListener("click",(function(){n.prevSlide(),n.animations&&n.startAutoplay()}
1)),this.dots.forEach((function(t){t.addEventListener("click",(function(){n.current=parseInt(t.dataset.index),n.updateSlider(),n.animations&&n.startAutoplay()}))})),this.slideTrack.addEventListener("mouseenter",(function(){return n.stopAutoplay()})),this.slideTrack.addEventListener("mouseleave",(function(){n.animations&&n.startAutoplay()}))}},{key:"bindDrag",value:function(){var t=this,e=this.slideTrack,n=function(n){t.isDragging=!0,t.startX=n,e.style.transition="none",t.stopAutoplay()},i=function(n){if(t.isDragging){var i=n-t.startX;t.currentTranslate=t.prevTranslate+i,e.style.transform="translateX(".concat(t.currentTranslate,"px)")}},r=function(n){if(t.isDragging){t.isDragging=!1;var i=n-t.startX;e.style.transition="",Math.abs(i)>50?i<0?t.nextSlide():t.prevSlide():t.updateSlider(),t.prevTranslate=-t.current*window.innerWidth,t.animations&&t.startAutoplay()}};e.addEventListener("touchstart",(function(t){return n(t.touches[0].clientX)})),e.addEventListener("touchmove",(function(t){return i(t.touches[0].clientX)})),e.addEventListener("touchend",(function(t){return r(t.changedTouches[0].clientX)})),e.addEventListener("mousedown",(function(t){return n(t.clientX)})),window.addEventListener("mousemove",(function(t){return i(t.clientX)})),window.addEventListener("mouseup",(function(t){return r(t.clientX)}))}}])&&i(e.prototype,n),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}()}}]);
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.