!function(){"use strict";const e=document.getElementsByClassName("accordion-header");function t(e,t){e.classList.add("is-active"),t.style.maxHeight=t.scrollHeight+"px"}function n(e,t){e.classList.remove("is-active"),t.style.maxHeight=null}if(e.length>0)for(let i=0;i=e.touchStartX&&(n=e.touchEndX-e.touchStartX,t="right"),n>e.minSwipePixels&&"undefined"!==t&&e.swipe(t,n)},swipe:function(t,n){let i={};i.direction=t,i.movedPixels=n,e.swipeCallback(i)}};const t=document.getElementsByClassName("carousel-items");function n(e,t){void 0===t&&(t="next");let n=e.getElementsByClassName("carousel-item is-active")[0],i="next"===t?n.nextElementSibling:n.previousElementSibling,s=n.getAttribute("data-carousel"),a=e.parentNode.getElementsByClassName("carousel-bullet")[s],l="next"===t?a.nextElementSibling:a.previousElementSibling;n.classList.remove("is-active"),a.classList.remove("is-active"),i?(i.classList.add("is-active"),l.classList.add("is-active")):"next"===t?(e.firstElementChild.classList.add("is-active"),e.parentNode.getElementsByClassName("carousel-bullets")[0].firstElementChild.classList.add("is-active")):(e.lastElementChild.classList.add("is-active"),e.parentNode.getElementsByClassName("carousel-bullets")[0].lastElementChild.classList.add("is-active"))}function i(e,t){let n,i=0;for(let e=0;ei&&(i=n);t[0].parentNode.style.minHeight=i+"px"}function s(e){e&&clearInterval(e)}if(t.length>0)for(let a=0;a0&&t.length>0)for(let e=0;edocument.querySelectorAll("[class*=reveal-].is-revealed").length)return;window.removeEventListener("load",i),window.removeEventListener("scroll",s),window.removeEventListener("resize",a)}()}function s(){n(30,i())}function a(){t=window.innerHeight,n(30,i())}e.length>0&&document.body.classList.contains("has-animations")&&(window.addEventListener("load",i),window.addEventListener("scroll",s),window.addEventListener("resize",a))}(),function(){"use strict";const e=document.getElementsByClassName("smooth-scroll"),t=(e,n,i,s,a)=>{const l=n-e;let c=l/i;const o=function(e){return e<.5?2*e*e:(4-2*e)*e-1}(c=Math.min(c,1));window.scroll(0,a+s*o),l{const l=n||(new Date).getTime();t(e,l,i,s,a)})};if(e.length>0)for(let n=0;n{const n=e||(new Date).getTime(),i=n,l=window.pageYOffset,c=s.getBoundingClientRect().top;t(i,n,a,c,l)})})}}();