"use strict";let baseClipSelectors='[data-aos="clip-down"], [data-aos="clip-up"], [data-aos="clip-left"], [data-aos="clip-right"], [data-aos="display-in"], [data-aos="display-in-slide"], [data-aos="display-in-zoom"], [data-aos="custom"], [data-aos="slide-left"], [data-aos="slide-right"], [data-aos="slide-top"], [data-aos="slide-bottom"]';if("undefined"!=typeof clipClasses&&clipClasses.length>0){let t=clipClasses.map(t=>`.${t}`).join(", ");baseClipSelectors+=", "+t}const gspbaosElementsGSClip=document.querySelectorAll(baseClipSelectors);function isElementInViewportGSClip(t){let e=t.getBoundingClientRect(),l=window.innerHeight||document.documentElement.clientHeight;return e.top<=l&&e.bottom>=0}function throttleGSClip(t,e){let l;return function(){let a=arguments;l||(t.apply(this,a),l=!0,setTimeout(()=>l=!1,e))}}function handleScrollGSClip(){gspbaosElementsGSClip.forEach(t=>{let e=t.getAttribute("data-aos-once");isElementInViewportGSClip(t)?setTimeout(()=>{t.classList.add("aos-animate")},10):!e&&t.classList.contains("aos-animate")&&!t.classList.contains("aos-init")&&t.classList.remove("aos-animate")})}const throttledHandleScrollGSClip=throttleGSClip(handleScrollGSClip,100);handleScrollGSClip(),window.addEventListener("scroll",throttledHandleScrollGSClip),window.addEventListener("resize",throttledHandleScrollGSClip);