function GSparallaxinitBG(t,e=!1,a=""){var r;let l=(r=t,window.innerHeight/(window.innerHeight+r.offsetHeight)),g=t.getAttribute("data-first")||null;t.getAttribute("data-ratio")&&(l=t.getAttribute("data-ratio"));let o={trigger:t,start:()=>g?"top top":"clamp(top bottom)",end:"bottom top",scrub:!0,invalidateOnRefresh:!0};if(e&&(o.scroller=".interface-interface-skeleton__content"),a&&(o.id="gsparallaxbg"+a),gsap.fromTo(t,{backgroundPosition:()=>g?"50% 0px":`50% ${-window.innerHeight*l}px`},{backgroundPosition:()=>`50% ${window.innerHeight*(1-l)}px`,ease:"none",scrollTrigger:o}),"yes"==t.getAttribute("data-fade")){let n=t.querySelector(".gs_parallax_overlay");gsap.to(n,{ease:"none",autoAlpha:1,scrollTrigger:{trigger:t,start:"top center",end:"bottom top",id:a?"gsparallaxoverlay"+a:null,scrub:!0}})}}let gs_parallaxbg_wrapper=document.getElementsByClassName("gs-gsap-parallaxbg");if(gs_parallaxbg_wrapper.length>0)for(let i=0;i<gs_parallaxbg_wrapper.length;i++)GSparallaxinitBG(gs_parallaxbg_wrapper[i]);