1(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){var a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function(t,e){if(t){if("string"==typeof t)return n(t,e);var a={}.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){a&&(t=a);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){a=a.call(t)},n:function(){var t=a.next();return s=t.done,t},e:function(t){l=!0,o=t},f:function(){try{s||null==a.return||a.return()}finally{if(l)throw o}}}}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=Array(e);n<e;n++)a[n]=t[n];return a}function a(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,i(a.key),a)}}function i(e){var n=function(e,n){if("object"!=t(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var i=a.call(e,n||"default");if("object"!=t(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==t(n)?n:n+""}new(function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.animatedElements=document.querySelectorAll("[data-animation-name]"),this.maybeAnimateOnce(),this.maybeAnimateOnHover(),this.maybeAnimateInView(),CSS.supports("animation-timeline: view()")||(this.onScroll=this.onScroll.bind(this),window.addEventListener("scroll",this.onScroll,{passive:!0}),this.onScroll())},(n=[{key:"maybeAnimateOnHover",value:function(){this.animatedElements.forEach((function(t){if("on-hover"===t.getAttribute("data-animation-trigger")&&"animate__"!==t.getAttribute("data-animation-name")&&!t.parentElement.classList.contains("js-animation")){var e=document.createElement("div");e.className="js-animation",t.classList.contains("alignfull")?e.classList.add("alignfull"):t.classList.contains("alignwide")&&e.classList.add("alignwide"),t.parentNode.insertBefore(e,t),e.appendChild(t)}})),this.bindHoverAnimations()}},{key:"maybeAnimateInView",value:function(){var t=document.querySelectorAll("[data-animation-trigger=in-view]");if(t.length)if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)t.forEach((function(t){t.style.opacity="",t.removeAttribute("data-animation-trigger")}));else{var e=new IntersectionObserver((function(t){t.forEach((function(t){if(t.isIntersecting){var n=t.target;n.classList.add("animate__animated",n.getAttribute("data-animation-name")),e.unobserve(n)}}))}),{threshold:0,rootMargin:"0px 0px -1px 0px"});t.forEach((function(t){return e.observe(t)}))}}},{key:"bindHoverAnimations",value:function(){document.querySelectorAll(".js-animation").forEach((function(t){var e=t.querySelector('[data-animation-trigger="on-hover"]');if(e){var n=e.getAttribute("data-animation-name");if(n){var a="".concat(n);e.addEventListener("animationend",(function(){e.classList.remove("animate__animated",a)}),{passive:!0}),t.addEventListener("mouseenter",(function(){e.classList.remove("animate__animated",a),e.offsetWidth,e.classList.add("animate__animated",a)}),{passive:!0})}}}))}},{key:"maybeAnimateOnce",value:function(){var t=window.scrollY,n=new IntersectionObserver((function(a){var i=window.scrollY>=t;t=window.scrollY,requestAnimationFrame((function(){var t,r=e(a);try{for(r.s();!(t=r.n()).done;){var o=t.value,s=o.target;o.isIntersecting?s.__hasEntered=!0:s.__hasEntered&&i&&s.getBoundingClientRect().bottom<=0&&(console.log("does this work?"),s.classList.add("qala-animation-played"),n.unobserve(s))}}catch(t){r.e(t)}finally{r.f()}}))}),{threshold:0});
1this.animatedElements.forEach((function(t){t.classList.contains("animate__on-scroll-once")&&n.observe(t)}))}},{key:"onScroll",value:function(){this.animatedElements.forEach((function(t){if("in-view"!==t.getAttribute("data-animation-trigger")){if("on-scroll"===t.getAttribute("data-animation-trigger")){var e=t.getAttribute("data-animation-duration");e&&t.style.setProperty("--animate-duration","".concat(Number(e),"s"));var n=t.getAttribute("data-animation-delay");n&&(t.style.animationDelay="".concat(Number(n),"s"));var a=t.getAttribute("data-animation-ease");a&&(t.style.animationTimingFunction=a);var i=t.getAttribute("data-animation-repeat");i&&t.style.setProperty("--animate-repeat",String(parseInt(i,10)))}if(function(t){var e=t.getBoundingClientRect(),n=Math.max(document.documentElement.clientHeight,window.innerHeight),a=e.height||t.offsetHeight;return(Math.min(e.bottom,n)-Math.max(e.top,0))/a>=.2}(t)){if(console.log("isInViewport",t),t.classList.contains("animate__animated"))return;"false"===t.getAttribute("data-animation-complete")&&t.classList.add("animate__animated",t.getAttribute("data-animation-name"))}else t.classList.contains("animate__infinite")&&t.classList.remove("animate__animated",t.getAttribute("data-animation-name"))}}))}}])&&a(t.prototype,n),i&&a(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,i}())})();
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.