1import{a}from"./CuZXGVHz.js";import{u as e}from"./MMhsz35w.js";import{r as t,A as s,D as o,d as r,o as l,p as n,af as u,q as i}from"./LgIudODY.js";const c={__name:"BaseFXRevealFromBottom",props:{delay:{type:Number,default:0}},setup(c){const p=c,y=t(null);return s(async()=>{if(!y.value)return;const{gsap:a,ScrollTrigger:t}=await o();t&&a&&t.create({trigger:y.value,start:"top bottom",end:"bottom bottom",onEnter:()=>{(async a=>{if(!y.value)return;const t=await e(),{gsap:s,Power2:r}=await o();s&&r&&t&&(s.set(y.value,{y:50,x:0,opacity:0}),t(y.value,()=>{const e=s.to(y.value,{ease:r.easeInOut,duration:1.2,delay:p.delay,opacity:1,y:0,x:0,overwrite:!0,paused:!0});1===a.progress?e.progress():e.play()}))})(self)},onLeaveBack:()=>{y.value&&a.set(y.value,{y:50,x:0,opacity:0})}})}),(e,t)=>{const s=a;return l(),r("div",{class:i(["w-full block opacity-0"]),ref_key:"revealRef",ref:y},[n(s,{onVisible:t[0]||(t[0]=a=>(async()=>{const{ScrollTrigger:a}=await o();a&&a.refresh()})())}),u(e.$slots,"default")],512)}}};export{c as _};
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.