"use strict";(()=>{function $(S,t,i){return Math.max(S,Math.min(t,i))}var q=class{constructor(){this.isRunning=!1,this.value=0,this.from=0,this.to=0,this.currentTime=0}advance(t){var i;if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=t;let s=$(0,this.currentTime/this.duration,1);e=s>=1;let o=e?1:this.easing(s);this.value=this.from+(this.to-this.from)*o}else this.lerp?(this.value=function(o,n,h,l){return function(g,w,f){return(1-f)*g+f*w}(o,n,1-Math.exp(-h*l))}(this.value,this.to,60*this.lerp,t),Math.round(this.value)===this.to&&(this.value=this.to,e=!0)):(this.value=this.to,e=!0);e&&this.stop(),(i=this.onUpdate)===null||i===void 0||i.call(this,this.value,e)}stop(){this.isRunning=!1}fromTo(t,i,{lerp:e,duration:s,easing:o,onStart:n,onUpdate:h}){this.from=this.value=t,this.to=i,this.lerp=e,this.duration=s,this.easing=o,this.currentTime=0,this.isRunning=!0,n==null||n(),this.onUpdate=h}},V=class{constructor(t,i,{autoResize:e=!0,debounce:s=250}={}){this.wrapper=t,this.content=i,this.width=0,this.height=0,this.scrollHeight=0,this.scrollWidth=0,this.resize=()=>{this.onWrapperResize(),this.onContentResize()},this.onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)},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)},e&&(this.debouncedResize=function(n,h){let l;return function(...u){let g=this;clearTimeout(l),l=setTimeout(()=>{l=void 0,n.apply(g,u)},h)}}(this.resize,s),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize,!1):(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,i;(t=this.wrapperResizeObserver)===null||t===void 0||t.disconnect(),(i=this.contentResizeObserver)===null||i===void 0||i.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize,!1)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},x=class{constructor(){this.events={}}emit(t,...i){var e;let s=this.events[t]||[];for(let o=0,n=s.length;o{var s;this.events[t]=(s=this.events[t])===null||s===void 0?void 0:s.filter(o=>i!==o)}}off(t,i){var e;this.events[t]=(e=this.events[t])===null||e===void 0?void 0:e.filter(s=>i!==s)}destroy(){this.events={}}},U=100/6,y={passive:!1},X=class{constructor(t,i={wheelMultiplier:1,touchMultiplier:1}){this.element=t,this.options=i,this.touchStart={x:0,y:0},this.lastDelta={x:0,y:0},this.window={width:0,height:0},this.emitter=new x,this.onTouchStart=e=>{let{clientX:s,clientY:o}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=s,this.touchStart.y=o,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})},this.onTouchMove=e=>{let{clientX:s,clientY:o}=e.targetTouches?e.targetTouches[0]:e,n=-(s-this.touchStart.x)*this.options.touchMultiplier,h=-(o-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=s,this.touchStart.y=o,this.lastDelta={x:n,y:h},this.emitter.emit("scroll",{deltaX:n,deltaY:h,event:e})},this.onTouchEnd=e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})},this.onWheel=e=>{let{deltaX:s,deltaY:o,deltaMode:n}=e;s*=n===1?U:n===2?this.window.width:1,o*=n===1?U:n===2?this.window.height:1,s*=this.options.wheelMultiplier,o*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:s,deltaY:o,event:e})},this.onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}},window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,y),this.element.addEventListener("touchstart",this.onTouchStart,y),this.element.addEventListener("touchmove",this.onTouchMove,y),this.element.addEventListener("touchend",this.onTouchEnd,y)}on(t,i){return this.emitter.on(t,i)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,y),this.element.removeEventListener("touchstart",this.onTouchStart,y),this.element.removeEventListener("touchmove",this.onTouchMove,y),this.element.removeEventListener("touchend",this.onTouchEnd,y)}},N=class{constructor({wrapper:t=window,content:i=document.documentElement,eventsTarget:e=t,smoothWheel:s=!0,syncTouch:o=!1,syncTouchLerp:n=.075,touchInertiaMultiplier:h=35,duration:l,easing:u=p=>Math.min(1,1.001-Math.pow(2,-10*p)),lerp:g=.1,infinite:w=!1,orientation:f="vertical",gestureOrientation:d="vertical",touchMultiplier:a=1,wheelMultiplier:T=1,autoResize:z=!0,prevent:R,virtualScroll:Y,__experimental__naiveDimensions:I=!1}={}){this._isScrolling=!1,this._isStopped=!1,this._isLocked=!1,this._preventNextNativeScrollEvent=!1,this._resetVelocityTimeout=null,this.time=0,this.userData={},this.lastVelocity=0,this.velocity=0,this.direction=0,this.animate=new q,this.emitter=new x,this.onPointerDown=p=>{p.button===1&&this.reset()},this.onVirtualScroll=p=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(p)===!1)return;let{deltaX:E,deltaY:m,event:r}=p;if(this.emitter.emit("virtual-scroll",{deltaX:E,deltaY:m,event:r}),r.ctrlKey)return;let c=r.type.includes("touch"),M=r.type.includes("wheel");if(this.isTouching=r.type==="touchstart"||r.type==="touchmove",this.options.syncTouch&&c&&r.type==="touchstart"&&!this.isStopped&&!this.isLocked)return void this.reset();let W=E===0&&m===0,H=this.options.gestureOrientation==="vertical"&&m===0||this.options.gestureOrientation==="horizontal"&&E===0;if(W||H)return;let _=r.composedPath();_=_.slice(0,_.indexOf(this.rootElement));let b=this.options.prevent;if(_.find(v=>{var O,k,C,D,A;return v instanceof HTMLElement&&(typeof b=="function"&&(b==null?void 0:b(v))||((O=v.hasAttribute)===null||O===void 0?void 0:O.call(v,"data-lenis-prevent"))||c&&((k=v.hasAttribute)===null||k===void 0?void 0:k.call(v,"data-lenis-prevent-touch"))||M&&((C=v.hasAttribute)===null||C===void 0?void 0:C.call(v,"data-lenis-prevent-wheel"))||((D=v.classList)===null||D===void 0?void 0:D.contains("lenis"))&&!(!((A=v.classList)===null||A===void 0)&&A.contains("lenis-stopped")))}))return;if(this.isStopped||this.isLocked)return void r.preventDefault();if(!(this.options.syncTouch&&c||this.options.smoothWheel&&M))return this.isScrolling="native",void this.animate.stop();r.preventDefault();let L=m;this.options.gestureOrientation==="both"?L=Math.abs(m)>Math.abs(E)?m:E:this.options.gestureOrientation==="horizontal"&&(L=E);let j=c&&this.options.syncTouch,P=c&&r.type==="touchend"&&Math.abs(L)>5;P&&(L=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+L,Object.assign({programmatic:!1},j?{lerp:P?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))},this.onNativeScroll=()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent)this._preventNextNativeScrollEvent=!1;else if(this.isScrolling===!1||this.isScrolling==="native"){let p=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-p,this.direction=Math.sign(this.animatedScroll-p),this.isScrolling="native",this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}},window.lenisVersion="1.1.13",t&&t!==document.documentElement&&t!==document.body||(t=window),this.options={wrapper:t,content:i,eventsTarget:e,smoothWheel:s,syncTouch:o,syncTouchLerp:n,touchInertiaMultiplier:h,duration:l,easing:u,lerp:g,infinite:w,gestureOrientation:d,orientation:f,touchMultiplier:a,wheelMultiplier:T,autoResize:z,prevent:R,virtualScroll:Y,__experimental__naiveDimensions:I},this.dimensions=new V(t,i,{autoResize:z}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=new X(e,{touchMultiplier:a,wheelMultiplier:T}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName()}on(t,i){return this.emitter.on(t,i)}off(t,i){return this.emitter.off(t,i)}setScroll(t){this.isHorizontal?this.rootElement.scrollLeft=t:this.rootElement.scrollTop=t}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(){this.isStopped&&(this.isStopped=!1,this.reset())}stop(){this.isStopped||(this.isStopped=!0,this.animate.stop(),this.reset())}raf(t){let i=t-(this.time||t);this.time=t,this.animate.advance(.001*i)}scrollTo(t,{offset:i=0,immediate:e=!1,lock:s=!1,duration:o=this.options.duration,easing:n=this.options.easing,lerp:h=this.options.lerp,onStart:l,onComplete:u,force:g=!1,programmatic:w=!0,userData:f}={}){if(!this.isStopped&&!this.isLocked||g){if(typeof t=="string"&&["top","left","start"].includes(t))t=0;else if(typeof t=="string"&&["bottom","right","end"].includes(t))t=this.limit;else{let d;if(typeof t=="string"?d=document.querySelector(t):t instanceof HTMLElement&&(t!=null&&t.nodeType)&&(d=t),d){if(this.options.wrapper!==window){let T=this.rootElement.getBoundingClientRect();i-=this.isHorizontal?T.left:T.top}let a=d.getBoundingClientRect();t=(this.isHorizontal?a.left:a.top)+this.animatedScroll}}if(typeof t=="number"){if(t+=i,t=Math.round(t),this.options.infinite?w&&(this.targetScroll=this.animatedScroll=this.scroll):t=$(0,t,this.limit),t===this.targetScroll)return l==null||l(this),void(u==null||u(this));if(this.userData=f!=null?f:{},e)return this.animatedScroll=this.targetScroll=t,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),u==null||u(this),void(this.userData={});w||(this.targetScroll=t),this.animate.fromTo(this.animatedScroll,t,{duration:o,easing:n,lerp:h,onStart:()=>{s&&(this.isLocked=!0),this.isScrolling="smooth",l==null||l(this)},onUpdate:(d,a)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=d-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=d,this.setScroll(this.scroll),w&&(this.targetScroll=d),a||this.emit(),a&&(this.reset(),this.emit(),u==null||u(this),this.userData={},this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__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(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){return this.options.infinite?function(i,e){return(i%e+e)%e}(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.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.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}};function B(S,t){let i=new N({lerp:.1,wheelMultiplier:.8,gestureOrientation:"vertical"});return i.on("scroll",e=>{}),i.on("scroll",S.update),t.ticker.add(e=>{i.raf(e*1e3)}),t.ticker.lagSmoothing(),i}document.addEventListener("DOMContentLoaded",()=>{let S=B(ScrollTrigger,gsap);function t(){return window.innerWidth<=767}function i(){return window.innerWidth<=479}let e="back.out",s="elastic.out(1, 0.5)",o="power2.out",n=document.getElementById("client-testimonials"),h=n.querySelector("[img-slide]"),l=[...n.querySelectorAll("[slideup]")],g=document.querySelector("[scroll-section]").querySelector("[scroll-container]"),w=document.querySelector("[text-trigger]"),f=[...document.querySelectorAll("[scroll-card]")],d=document.querySelector("[pin-wrapper]"),a=document.querySelector("[bottom-img-sect]"),T=a.querySelector("[image-wrap]"),z=a.querySelector("[image-cov-height]"),R=a.querySelector("[image-cov-width]");if(gsap.timeline({scrollTrigger:{trigger:n,start:"top 70%"}}).from(l,{yPercent:100,autoAlpha:0,stagger:.1,ease:e,duration:1},.25),p("logo--section","logo-slide",{}),t())p("mobile-sect","mobile-slide",{});else{let m=function(){let{scrollWidth:c}=g;return-(c-window.innerWidth/1.5)};var E=m;document.fonts.ready.then(()=>{let c=SplitText.create("[scroll-split]",{type:"words",wordsClass:"scroll-text"});gsap.timeline({scrollTrigger:{trigger:w,start:"top 85%",toggleActions:"play none none reverse"}}).from(".scroll-text",{yPercent:100,opacity:0,stagger:.1,ease:e,duration:.7})});let r=gsap.fromTo(g,{x:()=>window.innerWidth/2},{x:m,ease:"none"});ScrollTrigger.create({trigger:d,start:"top 30%",end:()=>`+=${m()*-1}`,pin:!0,pinSpacing:!0,scrub:1,invalidateOnRefresh:!0,animation:r}),f.forEach(c=>{ScrollTrigger.create({trigger:c,start:"left center",containerAnimation:r,scrub:1,animation:gsap.to(c.querySelector("[scroll-el]"),{yPercent:9,ease:s})})})}gsap.timeline({scrollTrigger:{trigger:a,start:"top 95%",toggleActions:"play none none reverse"}}).to(z,{height:"0%",duration:1}).to(R,{width:"0%",duration:1},0).from(T,{scale:1.3,duration:1.5},.15);function p(m,r,c={}){let{start:M="top 70%",y:W=50,stagger:H=.15,autoAlpha:_=0,markers:b=!1}=c;gsap.timeline({scrollTrigger:{trigger:`[${m}]`,start:M,markers:b}}).from(`[${r}]`,{y:W,stagger:H,autoAlpha:_},0)}});})();