PageSourceSearch

https://chrismacarifilms.com/_nuxt/BQoFA9LS.js

js chrismacarifilms.com collected 2026-10-06 13:13:39 UTC 12,978 bytes, 1 lines download raw bytes

vendor: 5,248 bytes, line 1
1import J from"./Cjhmziyd.js";import Q from"./43MhPlkg.js";import{j as W,r as Z,l as $,a as tt,d as v,f as m,o as _,e as w,n as L,b as et,q as X,V as Y,aK as it,h as N,T as C,aL as st}from"#entry";import ot from"./ixFWTuTj.js";import nt from"./tTgWynEK.js";import rt from"./rguC49Rx.js";import lt from"./956Vw6he.js";import{S as B}from"./UtbS8P_R.js";import{m as ht}from"./BdmSeYdY.js";import{l as at}from"./uCmhvQh3.js";import{m as ct}from"./B1QDJ5b3.js";import"./DkkuzaFX.js";import"./HeNhjMI6.js";import"./MOgB9R2V.js";import"./BUuZjhqo.js";import"./Chx3igEn.js";function U(g,t,e){return Math.max(g,Math.min(t,e))}class dt{advance(t){if(!this.isRunning)return;let e=!1;if(this.lerp)this.value=(i=this.value,s=this.to,o=60*this.lerp,l=t,(function(r,n,a){return(1-a)*r+a*n})(i,s,1-Math.exp(-o*l))),Math.round(this.value)===this.to&&(this.value=this.to,e=!0);else{this.currentTime+=t;const r=U(0,this.currentTime/this.duration,1);e=r>=1;const n=e?1:this.easing(r);this.value=this.from+(this.to-this.from)*n}var i,s,o,l;this.onUpdate?.(this.value,e),e&&this.stop()}stop(){this.isRunning=!1}fromTo(t,e,{lerp:i=.1,duration:s=1,easing:o=(n=>n),onStart:l,onUpdate:r}){this.from=this.value=t,this.to=e,this.lerp=i,this.duration=s,this.easing=o,this.currentTime=0,this.isRunning=!0,l?.(),this.onUpdate=r}}class pt{constructor({wrapper:t,content:e,autoResize:i=!0,debounce:s=250}={}){this.wrapper=t,this.content=e,i&&(this.debouncedResize=(function(o,l){let r;return function(){let n=arguments,a=this;clearTimeout(r),r=setTimeout((function(){o.apply(a,n)}),l)}})(this.resize,s),this.wrapper===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(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),window.removeEventListener("resize",this.debouncedResize,!1)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper===window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}}class q{constructor(){this.events={}}emit(t,...e){let i=this.events[t]||[];for(let s=0,o=i.length;s<o;s++)i[s](...e)}on(t,e){return this.events[t]?.push(e)||(this.events[t]=[e]),()=>{this.events[t]=this.events[t]?.filter((i=>e!==i))}}off(t,e){this.events[t]=this.events[t]?.filter((i=>e!==i))}destroy(){this.events={}}}const A=100/6;class ut{constructor(t,{wheelMultiplier:e=1,touchMultiplier:i=1}){this.element=t,this.wheelMultiplier=e,this.touchMultiplier=i,this.touchStart={x:null,y:null},this.emitter=new q,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,{passive:!1}),this.element.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.addEventListener("touchend",this.onTouchEnd,{passive:!1})}on(t,e){return this.emitter.on(t,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,{passive:!1}),this.element.removeEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.removeEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.removeEventListener("touchend",this.onTouchEnd,{passive:!1})}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})};onTouchMove=t=>{const{clientX:e,clientY:i}=t.targetTouches?t.targetTouches[0]:t,s=-(e-this.touchStart.x)*this.touchMultiplier,o=-(i-this.touchStart.y)*this.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})};onTouchEnd=t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})};onWheel=t=>{let{deltaX:e,deltaY:i,deltaMode:s}=t;e*=s===1?A:s===2?this.windowWidth:1,i*=s===1?A:s===2?this.windowHeight:1,e*=this.wheelMultiplier,i*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:i,event:t})};onWindowResize=()=>{this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight}}class mt{constructor({wrapper:t=window,content:e=document.documentElement,wheelEventsTarget:i=t,eventsTarget:s=i,smoothWheel:o=!0,syncTouch:l=!1,syncTouchLerp:r=.075,touchInertiaMultiplier:n=35,duration:a,easing:f=(d=>Math.min(1,1.001-Math.pow(2,-10*d))),lerp:h=!a&&.1,infinite:c=!1,orientation:T="vertical",gestureOrientation:I="vertical",touchMultiplier:H=1,wheelMultiplier:O=1,autoResize:D=!0,__experimental__naiveDimensions:j=!1}
1={}){this.__isSmooth=!1,this.__isScrolling=!1,this.__isStopped=!1,this.__isLocked=!1,this.onVirtualScroll=({deltaX:d,deltaY:S,event:p})=>{if(p.ctrlKey)return;const y=p.type.includes("touch"),V=p.type.includes("wheel");if(this.options.syncTouch&&y&&p.type==="touchstart"&&!this.isStopped&&!this.isLocked)return void this.reset();const F=d===0&&S===0,K=this.options.gestureOrientation==="vertical"&&S===0||this.options.gestureOrientation==="horizontal"&&d===0;if(F||K)return;let E=p.composedPath();if(E=E.slice(0,E.indexOf(this.rootElement)),E.find((u=>{var M,b,k,x,R;return((M=u.hasAttribute)===null||M===void 0?void 0:M.call(u,"data-lenis-prevent"))||y&&((b=u.hasAttribute)===null||b===void 0?void 0:b.call(u,"data-lenis-prevent-touch"))||V&&((k=u.hasAttribute)===null||k===void 0?void 0:k.call(u,"data-lenis-prevent-wheel"))||((x=u.classList)===null||x===void 0?void 0:x.contains("lenis"))&&!(!((R=u.classList)===null||R===void 0)&&R.contains("lenis-stopped"))})))return;if(this.isStopped||this.isLocked)return void p.preventDefault();if(this.isSmooth=this.options.syncTouch&&y||this.options.smoothWheel&&V,!this.isSmooth)return this.isScrolling=!1,void this.animate.stop();p.preventDefault();let z=S;this.options.gestureOrientation==="both"?z=Math.abs(S)>Math.abs(d)?S:d:this.options.gestureOrientation==="horizontal"&&(z=d);const G=y&&this.options.syncTouch,P=y&&p.type==="touchend"&&Math.abs(z)>5;P&&(z=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+z,Object.assign({programmatic:!1},G?{lerp:P?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))},this.onNativeScroll=()=>{if(!this.__preventNextScrollEvent&&!this.isScrolling){const d=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.direction=Math.sign(this.animatedScroll-d),this.emit()}},window.lenisVersion="1.0.42",t!==document.documentElement&&t!==document.body||(t=window),this.options={wrapper:t,content:e,wheelEventsTarget:i,eventsTarget:s,smoothWheel:o,syncTouch:l,syncTouchLerp:r,touchInertiaMultiplier:n,duration:a,easing:f,lerp:h,infinite:c,gestureOrientation:I,orientation:T,touchMultiplier:H,wheelMultiplier:O,autoResize:D,__experimental__naiveDimensions:j},this.animate=new dt,this.emitter=new q,this.dimensions=new pt({wrapper:t,content:e,autoResize:D}),this.toggleClassName("lenis",!0),this.velocity=0,this.isLocked=!1,this.isStopped=!1,this.isSmooth=l||o,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.virtualScroll=new ut(s,{touchMultiplier:H,wheelMultiplier:O}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.toggleClassName("lenis",!1),this.toggleClassName("lenis-smooth",!1),this.toggleClassName("lenis-scrolling",!1),this.toggleClassName("lenis-stopped",!1),this.toggleClassName("lenis-locked",!1)}on(t,e){return this.emitter.on(t,e)}off(t,e){return this.emitter.off(t,e)}setScroll(t){this.isHorizontal?this.rootElement.scrollLeft=t:this.rootElement.scrollTop=t}resize(){this.dimensions.resize()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,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){const e=t-(this.time||t);this.time=t,this.animate.advance(.001*e)}scrollTo(t,{offset:e=0,immediate:i=!1,lock:s=!1,duration:o=this.options.duration,easing:l=this.options.easing,lerp:r=!o&&this.options.lerp,onComplete:n,force:a=!1,programmatic:f=!0}={}){if(!this.isStopped&&!this.isLocked||a){if(["top","left","start"].includes(t))t=0;else if(["bottom","right","end"].includes(t))t=this.limit;else{let h;if(typeof t=="string"?h=document.querySelector(t):t?.nodeType&&(h=t),h){if(this.options.wrapper!==window){const T=this.options.wrapper.getBoundingClientRect();e-=this.isHorizontal?T.left:T.top}const c=h.getBoundingClientRect();t=(this.isHorizontal?c.left:c.top)+this.animatedScroll}}if(typeof t=="number"){if(t+=e,t=Math.round(t),this.options.infinite?f&&(this.targetScroll=this.animatedScroll=this.scroll):t=U(0,t,this.limit),i)return this.animatedScroll=this.targetScroll=t,this.setScroll(this.scroll),this.reset(),void(n==null||n(this));if(!f){if(t===this.targetScroll)return;this.targetScroll=t}this.animate.fromTo(this.animatedScroll,t,{duration:o,easing:l,lerp:r,onStart:()=>{s&&(this.isLocked=!0),this.isScrolling=!0},onUpdate:(h,c)=>{this.isScrolling=!0,this.velocity=h-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=h,this.setScroll(this.scroll),f&&(this.targetScroll=h),c||this.emit
1(),c&&(this.reset(),this.emit(),n?.(this),this.__preventNextScrollEvent=!0,requestAnimationFrame((()=>{delete this.__preventNextScrollEvent})))}})}}}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?(t=this.animatedScroll,e=this.limit,(t%e+e)%e):this.animatedScroll;var t,e}get progress(){return this.limit===0?1:this.scroll/this.limit}get isSmooth(){return this.__isSmooth}set isSmooth(t){this.__isSmooth!==t&&(this.__isSmooth=t,this.toggleClassName("lenis-smooth",t))}get isScrolling(){return this.__isScrolling}set isScrolling(t){this.__isScrolling!==t&&(this.__isScrolling=t,this.toggleClassName("lenis-scrolling",t))}get isStopped(){return this.__isStopped}set isStopped(t){this.__isStopped!==t&&(this.__isStopped=t,this.toggleClassName("lenis-stopped",t))}get isLocked(){return this.__isLocked}set isLocked(t){this.__isLocked!==t&&(this.__isLocked=t,this.toggleClassName("lenis-locked",t))}get className(){let t="lenis";return this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),this.isSmooth&&(t+=" lenis-smooth"),t}toggleClassName(t,e){this.rootElement.classList.toggle(t,e),this.emitter.emit("className change",this)}}const gt={key:0,class:"app"},Nt={__name:"default",setup(g){W.registerPlugin(B.ScrollTrigger);const t=Z(!1),e=()=>t.value=!0;return $(()=>{document.fonts&&document.fonts.ready?document.fonts.ready.finally(e):e();const i=new mt;window.lenis=i,i.on("scroll",s=>
1{B.ScrollTrigger.update(),window.webglPlanes&&window.webglPlanes.setScrollVelocity?.(s.velocity||0)}),W.ticker.add(s=>{i.raf(s*1e3),window.webglPlanes&&(window.webglPlanes.updateScroll(i.scroll||0),window.webglPlanes.render())}),W.ticker.lagSmoothing(0)}),(i,s)=>{const o=J,l=Q,r=it,n=ot,a=nt,f=st,h=rt,c=lt;return m(t)?(_(),tt("div",gt,[m(X).finished?v("",!0):(_(),w(o,{key:0})),m(Y).isDesktop?(_(),w(l,{key:1})):v("",!0),L(r),L(C,{name:"fade"},{default:N(()=>[m(X).finished?(_(),w(n,{key:0})):v("",!0)]),_:1}),L(C,{name:"fade"},{default:N(()=>[m(ct).open&&!m(Y).isDesktop?(_(),w(a,{key:0})):v("",!0)]),_:1}),et("main",null,[L(f,{transition:{name:"fade",mode:"out-in"}})]),L(C,{name:"fade"},{default:N(()=>[m(ht).open?(_(),w(h,{key:0})):v("",!0)]),_:1}),m(at).open?(_(),w(c,{key:2})):v("",!0)])):v("",!0)}}};export{Nt as default};

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.