console.log("<=== Mega Animated Cursor Effects v1.1.0 ===>"),function e(){let t=JSON.parse(window.mpa_cursor_effects_script_data);if(0>=function e(t){try{let i=new Date(t),n=new Date;return 3-Math.floor((n-i)/864e5)}catch(o){return -1}}(t.tst)){console.log("<=== Mega Animated Cursor Effects : Trial has ended. Please upgrade . ===>");return}let i=t.cursor_type;var n,o=((n={}).bubbleCursor=function(e){let t,i,n,o=e&&e.element,s=o||document.body,r=window.innerWidth,l=window.innerHeight,h={x:r/2,y:r/2},c=[],a=[],d=window.matchMedia("(prefers-reduced-motion: reduce)");function u(){if(d.matches)return console.log("This browser has prefers reduced motion turned on, so the cursor did not init"),!1;i=(t=document.createElement("canvas")).getContext("2d"),t.style.top="0px",t.style.zIndex=9999999,t.style.left="0px",t.style.pointerEvents="none",o?(t.style.position="absolute",s.appendChild(t),t.width=s.clientWidth,t.height=s.clientHeight):(t.style.position="fixed",document.body.appendChild(t),t.width=r,t.height=l),s.addEventListener("mousemove",f),s.addEventListener("touchmove",g,{passive:!0}),s.addEventListener("touchstart",g,{passive:!0}),window.addEventListener("resize",A),function e(){(function(){if(0!=c.length){i.clearRect(0,0,r,l);for(let e=0;e=0;t--)c[t].lifeSpan<0&&c.splice(t,1);0==c.length&&i.clearRect(0,0,r,l)}})(),n=requestAnimationFrame(e)}()}function A(e){r=window.innerWidth,l=window.innerHeight,o?(t.width=s.clientWidth,t.height=s.clientHeight):(t.width=r,t.height=l)}function g(e){if(e.touches.length>0)for(let t=0;tMath.random()?-1:1)*(Math.random()/10),y:-1*Math.random()-.4},this.position={x:e,y:t},this.canv=i,this.baseDimension=4,this.update=function(e){this.position.x+=this.velocity.x,this.position.y+=this.velocity.y,this.velocity.x+=2*(.5>Math.random()?-1:1)/75,this.velocity.y-=Math.random()/600,this.lifeSpan--;let t=.2+(this.initialLifeSpan-this.lifeSpan)/this.initialLifeSpan;e.fillStyle="#e6f1f7",e.strokeStyle="#3a92c5",e.beginPath(),e.arc(this.position.x-this.baseDimension/2*t,this.position.y-this.baseDimension/2,this.baseDimension*t,0,2*Math.PI),e.stroke(),e.fill(),e.closePath()}}return d.onchange=()=>{d.matches?m():u()},u(),{destroy:m}},n.clockCursor=function(e){let t,i,n,o=e&&e.element,s=o||document.body,r=window.innerWidth,l=window.innerHeight,h={x:r/2,y:r/2},c=e&&e.dateColor||"blue",a=e&&e.faceColor||"black",d=e&&e.secondsColor||"red",u=e&&e.minutesColor||"black",A=e&&e.hoursColor||"black",g=new Date,f=g.getDate(),p=g.getYear()+1900,m=(" "+["SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY"][g.getDay()]+" "+f+" "+["JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER"][g.getMonth()]+" "+p).split(""),$=["3","4","5","6","7","8","9","10","11","12","1","2"],y=$.length,v=["•","•","•"],x=["•","•","•","•"],E=["•","•","•","•","•"],w=360/y,C=360/m.length,_=45/6.5,b=[],L=[],B=[],R=[],Y=[],F=[],S=[],D=[],W=[];var H=parseInt(m.length+y+v.length+x.length+E.length)+1;let I=window.matchMedia("(prefers-reduced-motion: reduce)");function X(){if(I.matches)return console.log("This browser has prefers reduced motion turned on, so the cursor did not init"),!1;i=(t=document.createElement("canvas")).getContext("2d"),t.style.top="0px",t.style.zIndex=9999999,t.style.left="0px",t.style.pointerEvents="none",o?(t.style.position="absolute",s.appendChild(t),t.width=s.clientWidth,t.height=s.clientHeight):(t.style.position="fixed",document.body.appendChild(t),t.width=r,t.height=l),i.font="10px sans-serif",i.textAlign="center",i.textBaseline="middle";for(let e=0;e=l-80&&(b[e-1]=l-80),L[e-1]>=r-80&&(L[e-1]=r-80)})(),function(){i.clearRect(0,0,r,l);let e=new Date,t=e.getSeconds(),n=Math.PI*(t-15)/30,o=e.getMinutes(),s=Math.PI*(o-15)/30,h=e.getHours(),c=Math.PI*(h-3)/6+Math.PI*parseInt(e.getMinutes())/360;for(let a=0;a0){if(o){let t=s.getBoundingClientRect();h.x=e.touches[0].clientX-t.left,h.y=e.touches[0].clientY-t.top}else h.x=e.touches[0].clientX,h.y=e.touches[0].clientY}}function z(e){if(o){let t=s.getBoundingClientRect();h.x=e.clientX-t.left,h.y=e.clientY-t.top}else h.x=e.clientX,h.y=e.clientY}function j(){t.remove(),cancelAnimationFrame(n),s.removeEventListener("mousemove",z),s.removeEventListener("touchmove",k),s.removeEventListener("touchstart",k),window.addEventListener("resize",T)}return I.onchange=()=>{I.matches?j():X()},X(),{destroy:j}},n.emojiCursor=function(e){let t=e&&e.emoji||["\uD83D\uDE00","\uD83D\uDE02","\uD83D\uDE06","\uD83D\uDE0A"],i=e&&e.element,n=i||document.body,o=window.innerWidth,s=window.innerHeight,r={x:o/2,y:o/2},l={x:o/2,y:o/2},h=0,c=[],a=[],d,u,A,g=window.matchMedia("(prefers-reduced-motion: reduce)");function f(){if(g.matches)return console.log("This browser has prefers reduced motion turned on, so the cursor did not init"),!1;u=(d=document.createElement("canvas")).getContext("2d"),d.style.top="0px",d.style.left="0px",d.style.pointerEvents="none",i?(d.style.position="absolute",n.appendChild(d),d.width=n.clientWidth,d.height=n.clientHeight):(d.style.position="fixed",document.body.appendChild(d),d.width=o,d.height=s),u.font="21px serif",u.textBaseline="middle",u.textAlign="center",t.forEach(e=>{let t=u.measureText(e),i=document.createElement("canvas"),n=i.getContext("2d");i.width=t.width,i.height=2*t.actualBoundingBoxAscent,n.textAlign="center",n.font="21px serif",n.textBaseline="middle",n.fillText(e,i.width/2,t.actualBoundingBoxAscent),a.push(i)}),n.addEventListener("mousemove",$,{passive:!0}),n.addEventListener("touchmove",m,{passive:!0}),n.addEventListener("touchstart",m,{passive:!0}),window.addEventListener("resize",p),function e(){(function(){if(0!=c.length){u.clearRect(0,0,o,s);for(let e=0;e=0;t--)c[t].lifeSpan<0&&c.splice(t,1);0==c.length&&u.clearRect(0,0,o,s)}})(),A=requestAnimationFrame(e)}()}function p(e){o=window.innerWidth,s=window.innerHeight,i?(d.width=n.clientWidth,d.height=n.clientHeight):(d.width=o,d.height=s)}function m(e){if(e.touches.length>0)for(let t=0;t{if(i){let o=n.getBoundingClientRect();r.x=e.clientX-o.left,r.y=e.clientY-o.top}else r.x=e.clientX,r.y=e.clientY;Math.hypot(r.x-l.x,r.y-l.y)>1&&(y(r.x,r.y,a[Math.floor(Math.random()*t.length)]),l.x=r.x,l.y=r.y,h=e.timeStamp)})}function y(e,t,i){c.push(new x(e,t,i))}function v(){d.remove(),cancelAnimationFrame(A),n.removeEventListener("mousemove",$),n.removeEventListener("touchmove",m),n.removeEventListener("touchstart",m),window.addEventListener("resize",p)}function x(e,t,i){let n=Math.floor(60*Math.random()+80);this.initialLifeSpan=n,this.lifeSpan=n,this.velocity={x:(.5>Math.random()?-1:1)*(Math.random()/2),y:.4*Math.random()+.8},this.position={x:e,y:t},this.canv=i,this.update=function(e){this.position.x+=this.velocity.x,this.position.y+=this.velocity.y,this.lifeSpan--,this.velocity.y+=.05;let t=Math.max(this.lifeSpan/this.initialLifeSpan,0);e.drawImage(this.canv,this.position.x-this.canv.width/2*t,this.position.y-this.canv.height/2,this.canv.width*t,this.canv.height*t)}}return g.onchange=()=>{g.matches?v():f()},f(),{destroy:v}},n.fairyDustCursor=function(e){let t=e&&e.colors||["#D61C59","#E7D84B","#1B8798"],i=e&&e.element,n=i||document.body,o=window.innerWidth,s=window.innerHeight,r={x:o/2,y:o/2},l={x:o/2,y:o/2},h=[],c=[],a,d,u,A=window.matchMedia("(prefers-reduced-motion: reduce)");function g(){if(A.matches)return console.log("This browser has prefers reduced motion turned on, so the cursor did not init"),!1;d=(a=document.createElement("canvas")).getContext("2d"),a.style.top="0px",a.style.left="0px",a.style.pointerEvents="none",i?(a.style.position="absolute",n.appendChild(a),a.width=n.clientWidth,a.height=n.clientHeight):(a.style.position="fixed",n.appendChild(a),a.width=o,a.height=s),d.font="21px serif",d.textBaseline="middle",d.textAlign="center",t.forEach(e=>{let t=d.measureText("*"),i=document.createElement("canvas"),n=i.getContext("2d");i.width=t.width,i.height=t.actualBoundingBoxAscent+t.actualBoundingBoxDescent,n.fillStyle=e,n.textAlign="center",n.font="21px serif",n.textBaseline="middle",n.fillText("*",i.width/2,t.actualBoundingBoxAscent),c.push(i)}),n.addEventListener("mousemove",m),n.addEventListener("touchmove",p,{passive:!0}),n.addEventListener("touchstart",p,{passive:!0}),window.addEventListener("resize",f),function e(){(function(){if(0!=h.length){d.clearRect(0,0,o,s);for(let e=0;e=0;t--)h[t].lifeSpan<0&&h.splice(t,1);0==h.length&&d.clearRect(0,0,o,s)}})(),u=requestAnimationFrame(e)}()}function f(e){o=window.innerWidth,s=window.innerHeight,i?(a.width=n.clientWidth,a.height=n.clientHeight):(a.width=o,a.height=s)}function p(e){if(e.touches.length>0)for(let t=0;t{if(i){let o=n.getBoundingClientRect();r.x=e.clientX-o.left,r.y=e.clientY-o.top}else r.x=e.clientX,r.y=e.clientY;Math.hypot(r.x-l.x,r.y-l.y)>1.5&&($(r.x,r.y,c[Math.floor(Math.random()*t.length)]),l.x=r.x,l.y=r.y)})}function $(e,t,i){h.push(new v(e,t,i))}function y(){a.remove(),cancelAnimationFrame(u),n.removeEventListener("mousemove",m),n.removeEventListener("touchmove",p),n.removeEventListener("touchstart",p),window.addEventListener("resize",f)}function v(e,t,i){let n=Math.floor(30*Math.random()+60);this.initialLifeSpan=n,this.lifeSpan=n,this.velocity={x:(.5>Math.random()?-1:1)*(Math.random()/2),y:.7*Math.random()+.9},this.position={x:e,y:t},this.canv=i,this.update=function(e){this.position.x+=this.velocity.x,this.position.y+=this.velocity.y,this.lifeSpan--,this.velocity.y+=.02;let t=Math.max(this.lifeSpan/this.initialLifeSpan,0);e.drawImage(this.canv,this.position.x-this.canv.width/2*t,this.position.y-this.canv.height/2,this.canv.width*t,this.canv.height*t)}}return A.onchange=()=>{A.matches?y():g()},g(),{destroy:y}},n.followingDotCursor=function(e){let t,i,n=e&&e.element,o=n||document.body,s=window.innerWidth,r=window.innerHeight,l={x:s/2,y:s/2},h=new function(e,t,i,n){this.position={x:e,y:t},this.width=i,this.lag=n,this.moveTowards=function(e,t,i){this.position.x+=(e-this.position.x)/this.lag,this.position.y+=(t-this.position.y)/this.lag,i.fillStyle=c,i.beginPath(),i.arc(this.position.x,this.position.y,this.width,0,2*Math.PI),i.fill(),i.closePath()}}(s/2,r/2,10,10),c=e?.color||"#323232a6",a=window.matchMedia("(prefers-reduced-motion: reduce)");function d(){if(a.matches)return console.log("This browser has prefers reduced motion turned on, so the cursor did not init"),!1;i=(t=document.createElement("canvas")).getContext("2d"),t.style.top="0px",t.style.zIndex=9999999,t.style.left="0px",t.style.pointerEvents="none",n?(t.style.position="absolute",o.appendChild(t),t.width=o.clientWidth,t.height=o.clientHeight):(t.style.position="fixed",document.body.appendChild(t),t.width=s,t.height=r),o.addEventListener("mousemove",A),window.addEventListener("resize",u),g()}function u(e){s=window.innerWidth,r=window.innerHeight,n?(t.width=o.clientWidth,t.height=o.clientHeight):(t.width=s,t.height=r)}function A(e){if(n){let t=o.getBoundingClientRect();l.x=e.clientX-t.left,l.y=e.clientY-t.top}else l.x=e.clientX,l.y=e.clientY}function g(){i.clearRect(0,0,s,r),h.moveTowards(l.x,l.y,i),requestAnimationFrame(g)}function f(){t.remove(),cancelAnimationFrame(g),o.removeEventListener("mousemove",A),window.addEventListener("resize",u)}return a.onchange=()=>{a.matches?f():d()},d(),{destroy:f}},n.ghostCursor=function(e){let t,i,n,o=e&&e.element,s=o||document.body,r=e&&e.randomDelay,l=e&&e.minDelay||5,h=e&&e.maxDelay||50,c=window.innerWidth,a=window.innerHeight,d={x:c/2,y:c/2},u=[],A=new Image;e&&e.image?A.src=e.image:A.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAATCAYAAACk9eypAAAAAXNSR0IArs4c6QAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAhGVYSWZNTQAqAAAACAAFARIAAwAAAAEAAQAAARoABQAAAAEAAABKARsABQAAAAEAAABSASgAAwAAAAEAAgAAh2kABAAAAAEAAABaAAAAAAAAAEgAAAABAAAASAAAAAEAA6ABAAMAAAABAAEAAKACAAQAAAABAAAADKADAAQAAAABAAAAEwAAAAAChpcNAAAACXBIWXMAAAsTAAALEwEAmpwYAAABWWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS40LjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyI+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgpMwidZAAABqElEQVQoFY3SPUvDQBgH8BREpRHExYiDgmLFl6WC+AYmWeyLg4i7buJX8DMpOujgyxGvUYeCgzhUQUSKKLUS0+ZyptXh8Z5Ti621ekPyJHl+uftfomhaf9Ei5JyxXKfynyEA6EYcLHpwyflT958GAQ7DTABNHd8EbtDbEH2BD5QEQmi2mM8P/Iq+A0SzszEg+3sPjDnDdVEtQKQbMUidHD3xVzf6A9UDEmEm+8h9KTqTVUjT+vB53aHrCbAPiceYq1dQI1Aqv4EhMll0jzv+Y0yiRgCnLRSYyDQHVoqUXe4uKL9l+L7GXC4vkMhE6eW/AOJs9k583ORDUyXMZ8F5SVHVVnllmPNKSFagAJ5DofaqGXw/gHBYg51dIldkmknY3tguv3jOtHR4+MqAzaraJXbEhqHhcQlwGSOi5pytVQHZLN5s0WNe8HPrLYlFsO20RPHkImxsbmHdLJFI76th7Z4SeuF53hTeFLvhRCJRCTKZKxgdnRDbW+iozFJbBMw14/ElwGYc0egMBMFzT21f5Rog33Z7dX02GBm7WV5ZfT5Nn5bE3zuCDe9UxdTpNvK+5AAAAABJRU5ErkJggg==";let g=window.matchMedia("(prefers-reduced-motion: reduce)");function f(){if(g.matches)return console.log("This browser has prefers reduced motion turned on, so the cursor did not init"),!1;i=(t=document.createElement("canvas")).getContext("2d"),t.style.top="0px",t.style.zIndex=9999999,t.style.left="0px",t.style.pointerEvents="none",o?(t.style.position="absolute",s.appendChild(t),t.width=s.clientWidth,t.height=s.clientHeight):(t.style.position="fixed",document.body.appendChild(t),t.width=c,t.height=a),s.addEventListener("mousemove",x),s.addEventListener("touchmove",m,{passive:!0}),s.addEventListener("touchstart",m,{passive:!0}),window.addEventListener("resize",p),function e(){(function(){if(0!=u.length){i.clearRect(0,0,c,a);for(let e=0;e=0;t--)u[t].lifeSpan<0&&u.splice(t,1);0==u.length&&i.clearRect(0,0,c,a)}})(),n=requestAnimationFrame(e)}()}function p(e){c=window.innerWidth,a=window.innerHeight,o?(t.width=s.clientWidth,t.height=s.clientHeight):(t.width=c,t.height=a)}function m(e){if(e.touches.length>0)for(let t=0;t{g.matches?w():f()};let $=()=>Math.floor(Math.random()*(h-l+1))+l,y=Date.now(),v=$();function x(e){if(r){if(y+v>Date.now())return;y=Date.now(),v=$()}if(o){let t=s.getBoundingClientRect();d.x=e.clientX-t.left,d.y=e.clientY-t.top}else d.x=e.clientX,d.y=e.clientY;E(d.x,d.y,A)}function E(e,t,i){u.push(new C(e,t,i))}function w(){t.remove(),cancelAnimationFrame(n),s.removeEventListener("mousemove",x),s.removeEventListener("touchmove",m),s.removeEventListener("touchstart",m),window.addEventListener("resize",p)}function C(e,t,i){this.initialLifeSpan=40,this.lifeSpan=40,this.position={x:e,y:t},this.image=i,this.update=function(e){this.lifeSpan--;let t=Math.max(this.lifeSpan/this.initialLifeSpan,0);e.globalAlpha=t,e.drawImage(this.image,this.position.x,this.position.y)}}return f(),{destroy:w}},n.rainbowCursor=function(e){let t,i,n,o=e&&e.element,s=o||document.body,r=window.innerWidth,l=window.innerHeight,h={x:r/2,y:r/2},c=[],a=e?.length||20,d=e?.colors||["#FE0000","#FD8C00","#FFE500","#119F0B","#0644B3","#C22EDC"],u=e?.size||3,A=!1,g=window.matchMedia("(prefers-reduced-motion: reduce)");function f(){if(g.matches)return console.log("This browser has prefers reduced motion turned on, so the cursor did not init"),!1;i=(t=document.createElement("canvas")).getContext("2d"),t.style.top="0px",t.style.zIndex=9999999,t.style.left="0px",t.style.pointerEvents="none",o?(t.style.position="absolute",s.appendChild(t),t.width=s.clientWidth,t.height=s.clientHeight):(t.style.position="fixed",document.body.appendChild(t),t.width=r,t.height=l),s.addEventListener("mousemove",m),window.addEventListener("resize",p),function e(){let t,o,s;i.clearRect(0,0,r,l),i.lineJoin="round",t=[],o=h.x,s=h.y,c.forEach(function(e,i,n){let r=n[i+1]||n[0];e.position.x=o,e.position.y=s,t.push({x:o,y:s}),o+=.4*(r.position.x-e.position.x),s+=.4*(r.position.y-e.position.y)}),d.forEach((e,n)=>{i.beginPath(),i.strokeStyle=e,t.length&&i.moveTo(t[0].x,t[0].y+n*(u-1)),t.forEach((e,t)=>{0!==t&&i.lineTo(e.x,e.y+n*u)}),i.lineWidth=u,i.lineCap="round",i.stroke()}),n=requestAnimationFrame(e)}()}function p(e){r=window.innerWidth,l=window.innerHeight,o?(t.width=s.clientWidth,t.height=s.clientHeight):(t.width=r,t.height=l)}function m(e){var t,i;if(o){let n=s.getBoundingClientRect();h.x=e.clientX-n.left,h.y=e.clientY-n.top}else h.x=e.clientX,h.y=e.clientY;if(!1===A){A=!0;for(let r=0;r{g.matches?$():f()},f(),{destroy:$}},n.snowflakeCursor=function(e){let t,i,n,o=e&&e.element,s=o||document.body,r=["❄️"],l=window.innerWidth,h=window.innerHeight,c={x:l/2,y:l/2},a=[],d=[],u=window.matchMedia("(prefers-reduced-motion: reduce)");function A(){if(u.matches)return console.log("This browser has prefers reduced motion turned on, so the cursor did not init"),!1;i=(t=document.createElement("canvas")).getContext("2d"),t.style.top="0px",t.style.zIndex=9999999,t.style.left="0px",t.style.pointerEvents="none",o?(t.style.position="absolute",s.appendChild(t),t.width=s.clientWidth,t.height=s.clientHeight):(t.style.position="fixed",document.body.appendChild(t),t.width=l,t.height=h),i.font="12px serif",i.textBaseline="middle",i.textAlign="center",r.forEach(e=>{let t=i.measureText(e),n=document.createElement("canvas"),o=n.getContext("2d");n.width=t.width,n.height=2*t.actualBoundingBoxAscent,o.textAlign="center",o.font="12px serif",o.textBaseline="middle",o.fillText(e,n.width/2,t.actualBoundingBoxAscent),d.push(n)}),s.addEventListener("mousemove",p),s.addEventListener("touchmove",f,{passive:!0}),s.addEventListener("touchstart",f,{passive:!0}),window.addEventListener("resize",g),function e(){(function(){if(0!=a.length){i.clearRect(0,0,l,h);for(let e=0;e=0;t--)a[t].lifeSpan<0&&a.splice(t,1);0==a.length&&i.clearRect(0,0,l,h)}})(),n=requestAnimationFrame(e)}()}function g(e){l=window.innerWidth,h=window.innerHeight,o?(t.width=s.clientWidth,t.height=s.clientHeight):(t.width=l,t.height=h)}function f(e){if(e.touches.length>0)for(let t=0;tMath.random()?-1:1)*(Math.random()/2),y:1+Math.random()},this.position={x:e,y:t},this.canv=i,this.update=function(e){this.position.x+=this.velocity.x,this.position.y+=this.velocity.y,this.lifeSpan--,this.velocity.x+=2*(.5>Math.random()?-1:1)/75,this.velocity.y-=Math.random()/300;let t=Math.max(this.lifeSpan/this.initialLifeSpan,0),i=.0174533*(2*this.lifeSpan);e.translate(this.position.x,this.position.y),e.rotate(i),e.drawImage(this.canv,-this.canv.width/2*t,-this.canv.height/2,this.canv.width*t,this.canv.height*t),e.rotate(-i),e.translate(-this.position.x,-this.position.y)}}return u.onchange=()=>{u.matches?$():A()},A(),{destroy:$}},n.springyEmojiCursor=function(e){let t,i,n,o,s=e&&e.emoji||"\uD83E\uDD2A",r=e&&e.element,l=r||document.body,h=window.innerWidth,c=window.innerHeight,a={x:h/2,y:h/2},d=[],u=window.matchMedia("(prefers-reduced-motion: reduce)");function A(){if(u.matches)return console.log("This browser has prefers reduced motion turned on, so the cursor did not init"),!1;i=(t=document.createElement("canvas")).getContext("2d"),t.style.top="0px",t.style.zIndex=9999999,t.style.left="0px",t.style.pointerEvents="none",r?(t.style.position="absolute",l.appendChild(t),t.width=l.clientWidth,t.height=l.clientHeight):(t.style.position="fixed",document.body.appendChild(t),t.width=h,t.height=c),i.font="16px serif",i.textBaseline="middle",i.textAlign="center";let e=i.measureText(s),A=document.createElement("canvas"),m=A.getContext("2d");A.width=e.width,A.height=2*e.actualBoundingBoxAscent,m.textAlign="center",m.font="16px serif",m.textBaseline="middle",m.fillText(s,A.width/2,e.actualBoundingBoxAscent),o=A;let x=0;for(x=0;x<7;x++)d[x]=new v(o);l.addEventListener("mousemove",p),l.addEventListener("touchmove",f,{passive:!0}),l.addEventListener("touchstart",f,{passive:!0}),window.addEventListener("resize",g),function e(){(function(){t.width=t.width,d[0].position.x=a.x,d[0].position.y=a.y;for(let e=1;e<7;e++){let n=new $(0,0);e>0&&y(e-1,e,n),e<6&&y(e+1,e,n);let o,s,r=new $(-(10*d[e].velocity.x),-(10*d[e].velocity.y)),l=new $((n.X+r.X)/1,(n.Y+r.Y)/1+50);d[e].velocity.x+=.01*l.X,d[e].velocity.y+=.01*l.Y,.1>Math.abs(d[e].velocity.x)&&.1>Math.abs(d[e].velocity.y)&&.1>Math.abs(l.X)&&.1>Math.abs(l.Y)&&(d[e].velocity.x=0,d[e].velocity.y=0),d[e].position.x+=d[e].velocity.x,d[e].position.y+=d[e].velocity.y,o=t.clientHeight,s=t.clientWidth,d[e].position.y>=o-11-1&&(d[e].velocity.y>0&&(d[e].velocity.y=-(.7*d[e].velocity.y)),d[e].position.y=o-11-1),d[e].position.x>=s-11&&(d[e].velocity.x>0&&(d[e].velocity.x=-(.7*d[e].velocity.x)),d[e].position.x=s-11-1),d[e].position.x<0&&(d[e].velocity.x<0&&(d[e].velocity.x=-(.7*d[e].velocity.x)),d[e].position.x=0),d[e].draw(i)}})(),n=requestAnimationFrame(e)}()}function g(e){h=window.innerWidth,c=window.innerHeight,r?(t.width=l.clientWidth,t.height=l.clientHeight):(t.width=h,t.height=c)}function f(e){if(e.touches.length>0){if(r){let t=l.getBoundingClientRect();a.x=e.touches[0].clientX-t.left,a.y=e.touches[0].clientY-t.top}else a.x=e.touches[0].clientX,a.y=e.touches[0].clientY}}function p(e){if(r){let t=l.getBoundingClientRect();a.x=e.clientX-t.left,a.y=e.clientY-t.top}else a.x=e.clientX,a.y=e.clientY}function m(){t.remove(),cancelAnimationFrame(n),l.removeEventListener("mousemove",p),l.removeEventListener("touchmove",f),l.removeEventListener("touchstart",f),window.addEventListener("resize",g)}function $(e,t){this.X=e,this.Y=t}function y(e,t,i){let n=d[e].position.x-d[t].position.x,o=d[e].position.y-d[t].position.y,s=Math.sqrt(n*n+o*o);if(s>10){let r=10*(s-10);i.X+=n/s*r,i.Y+=o/s*r}}function v(e){this.position={x:a.x,y:a.y},this.velocity={x:0,y:0},this.canv=e,this.draw=function(e){e.drawImage(this.canv,this.position.x-this.canv.width/2,this.position.y-this.canv.height/2,this.canv.width,this.canv.height)}}return u.onchange=()=>{u.matches?m():A()},A(),{destroy:m}},n.textFlag=function(e){let t,i,n,o=e||{},s=e&&e.element,r=s||document.body,l=o.text?" "+e.text:" Your Text Here",h=e?.color||"#000000",c=o.font||"monospace",a=o.textSize||12,d=a+"px "+c,u=o.gap||a+2,A=0,g=[],f=window.innerWidth,p=window.innerHeight,m={x:f/2,y:f/2};for(let $=0;$0;n--)g[n].x=g[n-1].x+u,g[n].y=g[n-1].y,i.fillStyle=h,i.font=d,i.fillText(g[n].letter,g[n].x,g[n].y);let o=g[0].x,s=g[0].y;o+=(m.x-o)/5+e+2,s+=(m.y-s)/5+t,g[0].x=o,g[0].y=s})(),n=requestAnimationFrame(e)}()}function x(e){f=window.innerWidth,p=window.innerHeight,s?(t.width=r.clientWidth,t.height=r.clientHeight):(t.width=f,t.height=p)}function E(e){if(s){let t=r.getBoundingClientRect();m.x=e.clientX-t.left,m.y=e.clientY-t.top}else m.x=e.clientX,m.y=e.clientY}function w(){t.remove(),cancelAnimationFrame(n),r.removeEventListener("mousemove",E),window.addEventListener("resize",x)}return y.onchange=()=>{y.matches?w():v()},v(),{destroy:w}},n.trailingCursor=function(e){let t,i,n,o=e&&e.element,s=o||document.body,r=window.innerWidth,l=window.innerHeight,h={x:r/2,y:r/2},c=[],a=e?.particles||15,d=e?.rate||.4,u=e?.baseImageSrc||"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAATCAYAAACk9eypAAAAAXNSR0IArs4c6QAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAhGVYSWZNTQAqAAAACAAFARIAAwAAAAEAAQAAARoABQAAAAEAAABKARsABQAAAAEAAABSASgAAwAAAAEAAgAAh2kABAAAAAEAAABaAAAAAAAAAEgAAAABAAAASAAAAAEAA6ABAAMAAAABAAEAAKACAAQAAAABAAAADKADAAQAAAABAAAAEwAAAAAChpcNAAAACXBIWXMAAAsTAAALEwEAmpwYAAABWWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS40LjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyI+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgpMwidZAAABqElEQVQoFY3SPUvDQBgH8BREpRHExYiDgmLFl6WC+AYmWeyLg4i7buJX8DMpOujgyxGvUYeCgzhUQUSKKLUS0+ZyptXh8Z5Ti621ekPyJHl+uftfomhaf9Ei5JyxXKfynyEA6EYcLHpwyflT958GAQ7DTABNHd8EbtDbEH2BD5QEQmi2mM8P/Iq+A0SzszEg+3sPjDnDdVEtQKQbMUidHD3xVzf6A9UDEmEm+8h9KTqTVUjT+vB53aHrCbAPiceYq1dQI1Aqv4EhMll0jzv+Y0yiRgCnLRSYyDQHVoqUXe4uKL9l+L7GXC4vkMhE6eW/AOJs9k583ORDUyXMZ8F5SVHVVnllmPNKSFagAJ5DofaqGXw/gHBYg51dIldkmknY3tguv3jOtHR4+MqAzaraJXbEhqHhcQlwGSOi5pytVQHZLN5s0WNe8HPrLYlFsO20RPHkImxsbmHdLJFI76th7Z4SeuF53hTeFLvhRCJRCTKZKxgdnRDbW+iozFJbBMw14/ElwGYc0egMBMFzT21f5Rog33Z7dX02GBm7WV5ZfT5Nn5bE3zuCDe9UxdTpNvK+5AAAAABJRU5ErkJggg==",A=!1,g=new Image;g.src=u;let f=window.matchMedia("(prefers-reduced-motion: reduce)");function p(){if(f.matches)return console.log("This browser has prefers reduced motion turned on, so the cursor did not init"),!1;i=(t=document.createElement("canvas")).getContext("2d"),t.style.top="0px",t.style.zIndex=9999999,t.style.left="0px",t.style.pointerEvents="none",o?(t.style.position="absolute",s.appendChild(t),t.width=s.clientWidth,t.height=s.clientHeight):(t.style.position="fixed",document.body.appendChild(t),t.width=r,t.height=l),s.addEventListener("mousemove",$),window.addEventListener("resize",m),function e(){let t,o;i.clearRect(0,0,r,l),t=h.x,o=h.y,c.forEach(function(e,n,s){let r=s[n+1]||s[0];e.position.x=t,e.position.y=o,e.move(i),t+=(r.position.x-e.position.x)*d,o+=(r.position.y-e.position.y)*d}),n=requestAnimationFrame(e)}()}function m(e){r=window.innerWidth,l=window.innerHeight,o?(t.width=s.clientWidth,t.height=s.clientHeight):(t.width=r,t.height=l)}function $(e){var t,i,n;if(o){let r=s.getBoundingClientRect();h.x=e.clientX-r.left,h.y=e.clientY-r.top}else h.x=e.clientX,h.y=e.clientY;if(!1===A){A=!0;for(let l=0;l{f.matches?y():p()},p(),{destroy:y}},Object.defineProperty(n,"__esModule",{value:!0}),n);switch(i){case"fairyDustCursor":new o.fairyDustCursor({colors:["#D61C59","#E7D84B","#1B8798"]});break;case"ghostCursor":new o.ghostCursor;break;case"emojiCursor_fun":new o.emojiCursor({emoji:["\uD83D\uDE00","\uD83D\uDE02","\uD83D\uDE06","\uD83D\uDE0A"]});break;case"emojiCursor_fruits":new o.emojiCursor({emoji:["\uD83C\uDF4E","\uD83C\uDF4C","\uD83C\uDF52","\uD83C\uDF4A","\uD83C\uDF53"]});break;case"emojiCursor_house_animals":new o.emojiCursor({emoji:["\uD83D\uDE3A","\uD83D\uDC36","\uD83D\uDC30","\uD83D\uDC2D"]});break;case"emojiCursor_wild_animals":new o.emojiCursor({emoji:["\uD83E\uDD8A","\uD83D\uDC3C","\uD83D\uDC35","\uD83D\uDC3B"]});break;case"emojiCursor_bats":new o.emojiCursor({emoji:["\uD83E\uDD87"]});break;case"emojiCursor_unicorn":new o.emojiCursor({emoji:["\uD83E\uDD84"]});break;case"emojiCursor_halloween":new o.emojiCursor({emoji:["\uD83C\uDF83","\uD83D\uDC7B","\uD83E\uDD87","\uD83D\uDC80"]});break;case"emojiCursor_christmas":new o.emojiCursor({emoji:["\uD83C\uDF84","❄️","⛄️","\uD83C\uDF85"]});break;case"emojiCursor_fish":new o.emojiCursor({emoji:["\uD83D\uDC1F","\uD83D\uDC20","\uD83D\uDC21"]});break;case"followingDotCursor_grey":new o.followingDotCursor({color:["#323232a6"]});break;case"followingDotCursor_red":new o.followingDotCursor({color:["#ff0000a6"]});break;case"followingDotCursor_green":new o.followingDotCursor({color:["#04ff00a6"]});break;case"followingDotCursor_blue":new o.followingDotCursor({color:["#0053ffa6"]});break;case"followingDotCursor_pink":new o.followingDotCursor({color:["#ff00a3a6"]});break;case"bubbleCursor":new o.bubbleCursor;break;case"springyEmojiCursor_star":new o.springyEmojiCursor({emoji:"⭐️"});break;case"springyEmojiCursor_heart":new o.springyEmojiCursor({emoji:"❤️"});break;case"snowflakeCursor":new o.snowflakeCursor;break;case"trailingCursor":new o.trailingCursor;break;case"rainbowCursor":new o.rainbowCursor;break;case"flagCursor_poland":new o.rainbowCursor({length:30,colors:["#EBEAEA","#FF0000"],size:4});break;case"flagCursor_ukraine":new o.rainbowCursor({length:30,colors:["#0000FF","#FFFF00"],size:4});break;case"flagCursor_germany":new o.rainbowCursor({length:30,colors:["#000000","#FF0000","#F9C804"],size:4});break;case"flagCursor_france":new o.rainbowCursor({length:30,colors:["#1C62D6","#F8F8F2","#FC0909"],size:4});break;case"flagCursor_spain":new o.rainbowCursor({length:30,colors:["#D0021B","#F5A623","#D0021B"],size:4});case"flagCursor_italy":new o.rainbowCursor({length:30,colors:["#2CD61C","#FFFFFF","#D0021B"],size:4});break;case"flagCursor_usa":new o.rainbowCursor({length:30,colors:["#D0021B","#FFFFFF","#D0021B","#FFFFFF","#D0021B","#FFFFFF","#D0021B","#FFFFFF","#D0021B","#FFFFFF","#D0021B","#FFFFFF","#D0021B"],size:2});break;case"textFlag":new o.textFlag({text:"Shop Now!"})}}();