PageSourceSearch

https://www.ellisdon.com/_nuxt/C-ZbBRov.js

js ellisdon.com collected 2026-10-02 04:32:19 UTC 1,183 bytes, 1 lines download raw bytes

1import{a as i,u as s}from"./BWm2QbaW.js";import{l as n,d as o,o as c,D as l}from"#entry";const d={name:"AnimatedCopy",props:{data:{type:String,default:""},duration:{type:Number,default:1},scrollTriggerStart:{type:String,default:"top 50%"},delay:{type:String,default:"0"}},setup(){const{ensureGSAP:t}=s();return{ensureGSAP:t}},data(){return{scrollTriggerInstance:void 0}},async mounted(){await this.ensureGSAP(),this.$nextTick(this.animateText)},beforeUnmount(){this.killTrigger()},methods:{async animateText(){if(typeof window>"u")return;const t=this.$refs.copy;if(!t)return;const{gsap:e,ScrollTrigger:r}=await this.ensureGSAP();this.killTrigger(),e.set(t,{opacity:0,y:40}),this.scrollTriggerInstance=r.create({trigger:t,start:this.scrollTriggerStart,end:"bottom top",once:!0,scrub:!1,onEnter:a=>{a.direction===1&&e.to(t,{opacity:1,y:0,duration:this.duration,delay:parseFloat(this.delay),ease:i})}})},killTrigger(){this.scrollTriggerInstance&&(this.scrollTriggerInstance.kill(),this.scrollTriggerInstance=void 0)}}};function p(t,e,r,a,g,u){return c(),o("p",{ref:"copy",class:"animated-copy"},l(r.data),513)}const m=n(d,[["render",p],["__scopeId","data-v-44936afb"]]);export{m as A};

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.