PageSourceSearch

https://www.reddottours.com/build/assets/cursor-AbSUxP3_.js

js reddottours.com collected 2026-09-25 00:47:05 UTC 794 bytes, 1 lines download raw bytes

1import{g as n}from"./vendor-gsap-Bus_UFKE.js";function q(){let e=document.querySelector(".cursor"),u=e.querySelector("p"),x=document.querySelectorAll("[data-cursor]"),d=0,a=0,l=null,o="";n.set(e,{xPercent:d,yPercent:a});let y=n.quickTo(e,"x",{ease:"power3"}),m=n.quickTo(e,"y",{ease:"power3"});const i=()=>e.offsetWidth+16;window.addEventListener("mousemove",t=>{let r=window.innerWidth,p=window.innerHeight,s=window.scrollY,w=t.clientX,f=t.clientY+s,h=d,T=a,g=i();if(w>r-g&&(h=-100),f>s+p*.9&&(T=-120),l){let c=l.getAttribute("data-cursor");c!==o&&(u.innerHTML=c,o=c,g=i())}n.to(e,{xPercent:h,yPercent:T,duration:.9,ease:"power3"}),y(w),m(f-s)}),x.forEach(t=>{t.addEventListener("mouseenter",()=>{l=t;let r=t.getAttribute("data-cursor");r!==o&&(u.innerHTML=r,o=r,i())})})}export{q as Cursor};

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.