!function(){"use strict";const e=window.wpte=window.wpte||{};var r;e.animationSelector='[class*="wpte-animation"]',e._observed=new WeakSet,e.scrollTrigger=function(r,t={}){const o=document.querySelectorAll(r);o.length&&(e._observer||(e._observer=new IntersectionObserver(r=>{r.forEach(r=>{r.isIntersecting&&(r.target.classList.add("animate-visible"),e._observer.unobserve(r.target))})},{rootMargin:"0px 0px -10% 0px",threshold:0,...t})),o.forEach(r=>{e._observed.has(r)||(e._observed.add(r),e._observer.observe(r))}))},r=()=>{requestAnimationFrame(()=>{e.scrollTrigger(e.animationSelector)}),new MutationObserver(()=>{e.scrollTrigger(e.animationSelector)}).observe(document.body,{childList:!0,subtree:!0})},"loading"!==document.readyState?r():document.addEventListener("DOMContentLoaded",r,{once:!0})}();