1var W=Object.defineProperty;var k=(t,e,i)=>e in t?W(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var r=(t,e,i)=>k(t,typeof e!="symbol"?e+"":e,i);var z="1.3.23";function R(t,e,i){return Math.max(t,Math.min(e,i))}function A(t,e,i){return(1-i)*t+i*e}function D(t,e,i,s){return A(t,e,1-Math.exp(-i*s))}function P(t,e){return(t%e+e)%e}var I=class{constructor(){r(this,"isRunning",!1);r(this,"value",0);r(this,"from",0);r(this,"to",0);r(this,"currentTime",0);r(this,"lerp");r(this,"duration");r(this,"easing");r(this,"onUpdate")}advance(t){var i;if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=t;const s=R(0,this.currentTime/this.duration,1);e=s>=1;const o=e?1:this.easing(s);this.value=this.from+(this.to-this.from)*o}else this.lerp?(this.value=D(this.value,this.to,this.lerp*60,t),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,e=!0)):(this.value=this.to,e=!0);e&&this.stop(),(i=this.onUpdate)==null||i.call(this,this.value,e)}stop(){this.isRunning=!1}fromTo(t,e,{lerp:i,duration:s,easing:o,onStart:u,onUpdate:m}){this.from=this.value=t,this.to=e,this.lerp=i,this.duration=s,this.easing=o,this.currentTime=0,this.isRunning=!0,u==null||u(),this.onUpdate=m}};function X(t,e){let i;return function(...s){clearTimeout(i),i=setTimeout(()=>{i=void 0,t.apply(this,s)},e)}}var Y=class{constructor(t,e,{autoResize:i=!0,debounce:s=250}={}){r(this,"width",0);r(this,"height",0);r(this,"scrollHeight",0);r(this,"scrollWidth",0);r(this,"debouncedResize");r(this,"wrapperResizeObserver");r(this,"contentResizeObserver");r(this,"resize",()=>{this.onWrapperResize(),this.onContentResize()});r(this,"onWrapperResize",()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)});r(this,"onContentResize",()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)});this.wrapper=t,this.content=e,i&&(this.debouncedResize=X(this.resize,s),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){var t,e;(t=this.wrapperResizeObserver)==null||t.disconnect(),(e=this.contentResizeObserver)==null||e.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},M=class{constructor(){r(this,"events",{})}emit(t,...e){var s;const i=this.events[t]||[];for(let o=0,u=i.length;o<u;o++)(s=i[o])==null||s.call(i,...e)}on(t,e){return this.events[t]?this.events[t].push(e):this.events[t]=[e],()=>{var i;this.events[t]=(i=this.events[t])==null?void 0:i.filter(s=>e!==s)}}off(t,e){var i;this.events[t]=(i=this.events[t])==null?void 0:i.filter(s=>e!==s)}destroy(){this.events={}}};const F=100/6,b={passive:!1};function N(t,e){return t===1?F:t===2?e:1}var V=class{constructor(t,e={wheelMultiplier:1,touchMultiplier:1}){r(this,"touchStart",{x:0,y:0});r(this,"lastDelta",{x:0,y:0});r(this,"window",{width:0,height:0});r(this,"emitter",new M);r(this,"onTouchStart",t=>{const{clientX:e,clientY:i}=t.targetTouches?t.targetTouches[0]:t;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:t})});r(this,"onTouchMove",t=>{const{clientX:e,clientY:i}=t.targetTouches?t.targetTouches[0]:t,s=-(e-this.touchStart.x)*this.options.touchMultiplier,o=-(i-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:s,y:o},this.emitter.emit("scroll",{deltaX:s,deltaY:o,event:t})});r(this,"onTouchEnd",t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})});r(this,"onWheel",t=>{let{deltaX:e,deltaY:i,deltaMode:s}=t;const o=N(s,this.window.width),u=N(s,this.window.height);e*=o,i*=u,e*=this.options.wheelMultiplier,i*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:i,event:t})});r(this,"onWindowResize",()=>{this.window={width:window.innerWidth,height:window.innerHeight}});this.element=t,this.options=e,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,b),this.element.addEventListener("touchstart",this.onTouchStart,b),this.element.addEventListener("touchmove",this.onTouchMove,b),this.element.addEventListener("touchend",this.onTouchEnd,b)}on(t,e){return this.emitter.on(t,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,b),this.element.removeEventListener("touchstart",this.onTouchStart,b),this.element.removeEventListener("touchmove",this.onTouchMove,b),this.element.removeEventListener("touchend",this.onTouchEnd,b)}};const O=t=>Math.min(1,1.001-2**(-10*t));var C=class{constructor({wrapper:t=window,content:e=document.documentElement,eventsTarget:i=t,smoothWheel:s=!0,syncTouch:o=!1,syncTouchLerp:u=.075,touchInertiaExponent:m=1.7,duration:v,easing:p,lerp:d=.1,infinite:E=!1,orientation:w="vertical",gestureOrientation:l=w==="horizontal"?"both":"vertical",touchMultiplier:S=1,wheelMultiplier:n=1,autoResize:a=!0,prevent:h,virtualScroll:c,overscroll:f=!0,autoRaf:g=!1,anchors:y=!1,autoToggle:T=!1,allowNestedScroll:L=!1,__experimental__naiveDimensions:H=!1,naiveDimensions:_=H,stopInertiaOnNavigate:x=!1}={}){r(this,"_isScrolling",!1);r(this,"_isStopped",!1);r(this,"_isLocked",!1);r(this,"_preventNextNativeScrollEvent",!1);r(this,"_resetVelocityTimeout",null);r(this,"_rafId",null);r(this,"isTouching");r(this,"time",0);r(this,"userData",{});r(this,"lastVelocity",0);r(this,"velocity",0);r(this,"direction",0);r(this,"options");r(this,"targetScroll");r(this,"animatedScroll");r(this,"animate",new I);r(this,"emitter",new M);r(this,"dimensions");r(this,"virtualScroll");r(this,"onScrollEnd",t=>{t instanceof CustomEvent||(this.isScrolling==="smooth"||this.isScrolling===!1)&&t.stopPropagation()});r(this,"dispatchScrollendEvent",()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))});r(this,"onTransitionEnd",t=>{var e;(e=t.propertyName)!=null&&e.includes("overflow")&&t.target===this.rootElement&&this.checkOverflow()});r(this,"onClick",t=>{const e=t.composedPath().filter(s=>s instanceof HTMLAnchorElement&&s.href).map(s=>
1new URL(s.href)),i=new URL(window.location.href);if(this.options.anchors){const s=e.find(o=>i.host===o.host&&i.pathname===o.pathname&&o.hash);if(s){const o=typeof this.options.anchors=="object"&&this.options.anchors?this.options.anchors:void 0,u=`#${s.hash.split("#")[1]}`;this.scrollTo(u,o);return}}if(this.options.stopInertiaOnNavigate&&e.some(s=>i.host===s.host&&i.pathname!==s.pathname)){this.reset();return}});r(this,"onPointerDown",t=>{t.button===1&&this.reset()});r(this,"onVirtualScroll",t=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(t)===!1)return;const{deltaX:e,deltaY:i,event:s}=t;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:i,event:s}),s.ctrlKey||s.lenisStopPropagation)return;const o=s.type.includes("touch"),u=s.type.includes("wheel");this.isTouching=s.type==="touchstart"||s.type==="touchmove";const m=e===0&&i===0;if(this.options.syncTouch&&o&&s.type==="touchstart"&&m&&!this.isStopped&&!this.isLocked){this.reset();return}const v=this.options.gestureOrientation==="vertical"&&i===0||this.options.gestureOrientation==="horizontal"&&e===0;if(m||v)return;let p=s.composedPath();p=p.slice(0,p.indexOf(this.rootElement));const d=this.options.prevent,E=Math.abs(e)>=Math.abs(i)?"horizontal":"vertical";if(p.find(n=>{var a,h,c,f,g;return n instanceof HTMLElement&&(typeof d=="function"&&(d==null?void 0:d(n))||((a=n.hasAttribute)==null?void 0:a.call(n,"data-lenis-prevent"))||E==="vertical"&&((h=n.hasAttribute)==null?void 0:h.call(n,"data-lenis-prevent-vertical"))||E==="horizontal"&&((c=n.hasAttribute)==null?void 0:c.call(n,"data-lenis-prevent-horizontal"))||o&&((f=n.hasAttribute)==null?void 0:f.call(n,"data-lenis-prevent-touch"))||u&&((g=n.hasAttribute)==null?void 0:g.call(n,"data-lenis-prevent-wheel"))||this.options.allowNestedScroll&&this.hasNestedScroll(n,{deltaX:e,deltaY:i}))}))return;if(this.isStopped||this.isLocked){s.cancelable&&s.preventDefault();return}if(!(this.options.syncTouch&&o||this.options.smoothWheel&&u)){this.isScrolling="native",this.animate.stop(),s.lenisStopPropagation=!0;return}let w=i;this.options.gestureOrientation==="both"?w=Math.abs(i)>Math.abs(e)?i:e:this.options.gestureOrientation==="horizontal"&&(w=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||this.animatedScroll===0&&i>0||this.animatedScroll===this.limit&&i<0))&&(s.lenisStopPropagation=!0),s.cancelable&&s.preventDefault();const l=o&&this.options.syncTouch,S=o&&s.type==="touchend";S&&(w=Math.sign(w)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+w,{programmatic:!1,...l?{lerp:S?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})});r(this,"onNativeScroll",()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling==="native"){const t=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-t,this.direction=Math.sign(this.animatedScroll-t),this.isStopped||(this.isScrolling="native"),this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}});r(this,"raf",t=>{const e=t-(this.time||t);this.time=t,this.animate.advance(e*.001),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))});window.lenisVersion=z,window.lenis||(window.lenis={}),window.lenis.version=z,w==="horizontal"&&(window.lenis.horizontal=!0),o===!0&&(window.lenis.touch=!0),(!t||t===document.documentElement)&&(t=window),typeof v=="number"&&typeof p!="function"?p=O:typeof p=="function"&&typeof v!="number"&&(v=1),this.options={wrapper:t,content:e,eventsTarget:i,smoothWheel:s,syncTouch:o,syncTouchLerp:u,touchInertiaExponent:m,duration:v,easing:p,lerp:d,infinite:E,gestureOrientation:l,orientation:w,touchMultiplier:S,wheelMultiplier:n,autoResize:a,prevent:h,virtualScroll:c,overscroll:f,autoRaf:g,anchors:y,autoToggle:T,allowNestedScroll:L,naiveDimensions:_,stopInertiaOnNavigate:x},this.dimensions=new Y(t,e,{autoResize:a}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=ne
1w V(i,{touchMultiplier:S,wheelMultiplier:n}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(t,e){return this.emitter.on(t,e)}off(t,e){return this.emitter.off(t,e)}get overflow(){const t=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[t]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}setScroll(t){this.isHorizontal?this.options.wrapper.scrollTo({left:t,behavior:"instant"}):this.options.wrapper.scrollTo({top:t,behavior:"instant"})}resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle){this.rootElement.style.removeProperty("overflow");return}this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle){this.rootElement.style.setProperty("overflow","clip");return}this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}scrollTo(t,{offset:e=0,immediate:i=!1,lock:s=!1,programmatic:o=!0,lerp:u=o?this.options.lerp:void 0,duration:m=o?this.options.duration:void 0,easing:v=o?this.options.easing:void 0,onStart:p,onComplete:d,force:E=!1,userData:w}={}){if((this.isStopped||this.isLocked)&&!E)return;let l=t,S=e;if(typeof l=="string"&&["top","left","start","#"].includes(l))l=0;else if(typeof l=="string"&&["bottom","right","end"].includes(l))l=this.limit;else{let n=null;if(typeof l=="string"?(n=document.querySelector(l),n||(l==="#top"?l=0:console.warn("Lenis: Target not found",l))):l instanceof HTMLElement&&(l!=null&&l.nodeType)&&(n=l),n){if(this.options.wrapper!==window){const y=this.rootElement.getBoundingClientRect();S-=this.isHorizontal?y.left:y.top}const a=n.getBoundingClientRect(),h=getComputedStyle(n),c=this.isHorizontal?Number.parseFloat(h.scrollMarginLeft):Number.parseFloat(h.scrollMarginTop),f=getComputedStyle(this.rootElement),g=this.isHorizontal?Number.parseFloat(f.scrollPaddingLeft):Number.parseFloat(f.scrollPaddingTop);l=(this.isHorizontal?a.left:a.top)+this.animatedScroll-(Number.isNaN(c)?0:c)-(Number.isNaN(g)?0:g)}}if(typeof l=="number"){if(l+=S,this.options.infinite){if(o){this.targetScroll=this.animatedScroll=this.scroll;const n=l-this.animatedScroll;n>this.limit/2?l-=this.limit:n<-this.limit/2&&(l+=this.limit)}}else l=R(0,l,this.limit);if(l===this.targetScroll){p==null||p(this),d==null||d(this);return}if(this.userData=w??{},i){this.animatedScroll=this.targetScroll=l,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),d==null||d(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}o||(this.targetScroll=l),typeof m=="number"&&typeof v!="function"?v=O:typeof v=="function"&&typeof m!="number"&&(m=1),this.animate.fromTo(this.animatedScroll,l,{duration:m,easing:v,lerp:u,onStart:()=>{s&&(this.isLocked=!0),this.isScrolling="smooth",p==null||p(this)},onUpdate:(n,a)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=n-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=n,this.setScroll(this.scroll),o&&(this.targetScroll=n),a||this.emit
1(),a&&(this.reset(),this.emit(),d==null||d(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(t,{deltaX:e,deltaY:i}){const s=Date.now();t._lenis||(t._lenis={});const o=t._lenis;let u,m,v,p,d,E,w,l,S,n;if(s-(o.time??0)>2e3){o.time=Date.now();const L=window.getComputedStyle(t);if(o.computedStyle=L,u=["auto","overlay","scroll"].includes(L.overflowX),m=["auto","overlay","scroll"].includes(L.overflowY),d=["auto"].includes(L.overscrollBehaviorX),E=["auto"].includes(L.overscrollBehaviorY),o.hasOverflowX=u,o.hasOverflowY=m,!(u||m))return!1;w=t.scrollWidth,l=t.scrollHeight,S=t.clientWidth,n=t.clientHeight,v=w>S,p=l>n,o.isScrollableX=v,o.isScrollableY=p,o.scrollWidth=w,o.scrollHeight=l,o.clientWidth=S,o.clientHeight=n,o.hasOverscrollBehaviorX=d,o.hasOverscrollBehaviorY=E}else v=o.isScrollableX,p=o.isScrollableY,u=o.hasOverflowX,m=o.hasOverflowY,w=o.scrollWidth,l=o.scrollHeight,S=o.clientWidth,n=o.clientHeight,d=o.hasOverscrollBehaviorX,E=o.hasOverscrollBehaviorY;if(!(u&&v||m&&p))return!1;const a=Math.abs(e)>=Math.abs(i)?"horizontal":"vertical";let h,c,f,g,y,T;if(a==="horizontal")h=Math.round(t.scrollLeft),c=w-S,f=e,g=u,y=v,T=d;else if(a==="vertical")h=Math.round(t.scrollTop),c=l-n,f=i,g=m,y=p,T=E;else return!1;return!T&&(h>=c||h<=0)?!0:(f>0?h<c:h>0)&&g&&y}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){const t=this.options.wrapper;return this.isHorizontal?t.scrollX??t.scrollLeft:t.scrollY??t.scrollTop}get scroll(){return this.options.infinite?P(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(t){this._isScrolling!==t&&(this._isScrolling=t,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(t){this._isStopped!==t&&(this._isStopped=t,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(t){this._isLocked!==t&&(this._isLocked=t,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let t="lenis";return this.options.autoToggle&&(t+=" lenis-autoToggle"),this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),this.isScrolling==="smooth"&&(t+=" lenis-smooth"),t}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach(t=>{this.rootElement.classList.add(t)})}cleanUpClassName(){for(const t of Array.from(this.rootElement.classList))(t==="lenis"||t.startsWith("lenis-"))&&this.rootElement.classList.remove(t)}};((t,e)=>{const i="[data-st-home-scroll]",s="[data-st-reveal]",o="[data-st-reveal-stagger]",u=["[data-st-reveal-child]",".carousel-item",".highlights-section__item",".st-home-news-grid > *",".st-home-publications-grid > *",".st-home-quicklinks-wrap li"].join(", ");function m(n,a,h){return Math.min(Math.max(n,a),h)}function v(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}function p(){return window.matchMedia("(pointer: coarse)").matches}function d(n){n.querySelectorAll(o).forEach(a=>{a.querySelectorAll(u).forEach((h,c)=>{h.classList.add("st-home-reveal-child"),h.style.setProperty("--st-reveal-delay",`${Math.min(c,6)*55}ms`)})})}function E(n){const a=n.querySelectorAll(s);if(!a.length)return null;d(n);const h=f=>{f.classList.add("is-visible")};if(!("IntersectionObserver"in window))return a.forEach(h),null;const c=new IntersectionObserver((f,g)=>{f.forEach(y=>{y.isIntersecting&&(h(y.target),g.unobserve(y.target))})},{rootMargin:"0px 0px -12% 0px",threshold:.16});return a.forEach(f=>c.observe(f)),document.documentElement.classList.add("st-home-scroll-ready"),c}function w(){return new C({anchors:{duration:1},duration:1.05,easing:n=>Math.min(1,1.001-2**(-10*n)),lerp:.1,smoothWheel:!0,syncTouch:!0,syncTouchLerp:.075,touchInertiaExponent:1.35,touchMultiplier:1,wheelMultiplier:.9})}function l(n){const a=n.querySelector("[data-st-hero-parallax]");return a?()=>{const h=a.getBoundingClientRect();if(h.bottom<0||h.top>window.innerHeight)return;const c=m(Math.abs(h.top)/Math.max(h.height,1),0,1),f=p()?18:36;a.style.setProperty("--st-hero-parallax-y",`${(c*f).toFixed(2)}px`)}:()=>{}}function S(n,a){let h=null;const c=f=>{n.raf(f),a(),h=requestAnimationFrame(c)};return h=requestAnimationFrame(c),()=>{h&&cancelAnimationFrame(h)}}t.behaviors.stHomeScroll={attach(n){e("st-home-scroll",i,n).forEac
1h(a=>{if(v()){a.querySelectorAll(s).forEach(T=>T.classList.add("is-visible"));return}const h=E(a),c=w(),f=l(a),g=S(c,f),y=()=>{g(),h==null||h.disconnect(),c.destroy()};window.stHomeScroll={destroy:y,lenis:c},window.addEventListener("pagehide",y,{once:!0})})}}})(Drupal,once);
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.