{"version":3,"file":"Code_A.BOc1GSfI.mjs","names":["React.useRef"],"sources":["https:/framerusercontent.com/modules/O4FbepwAFJRAyDY5t1iZ/Q5hoerhWYI3X8WDxj9uV/Code_A.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";export default function Cursor3DLogo(){const wrapRef=React.useRef(null);const tiltRef=React.useRef(null);const floatRef=React.useRef(null);const target=React.useRef({rx:0,ry:0,tz:0});const current=React.useRef({rx:0,ry:0,tz:0});const rafRef=React.useRef(null);React.useEffect(()=>{const wrap=wrapRef.current;const tilt=tiltRef.current;if(!wrap||!tilt)return;const maxTilt=26;const maxPop=60;const ease=.12;const edgeBoost=1.08;const onMove=e=>{const vw=window.innerWidth;const vh=window.innerHeight;const nx=(e.clientX/vw-.5)*2;const ny=(e.clientY/vh-.5)*2;const bx=Math.max(-1,Math.min(1,nx*edgeBoost));const by=Math.max(-1,Math.min(1,ny*edgeBoost));const ry=-bx*maxTilt;const rx=by*maxTilt;const dist=1-Math.min(1,Math.hypot(nx,ny));const tz=dist*maxPop;target.current={rx,ry,tz};};const onLeave=()=>target.current={rx:0,ry:0,tz:0};const loop=()=>{current.current.rx+=(target.current.rx-current.current.rx)*ease;current.current.ry+=(target.current.ry-current.current.ry)*ease;current.current.tz+=(target.current.tz-current.current.tz)*ease;tilt.style.transform=`translateZ(${current.current.tz.toFixed(2)}px) `+`rotateX(${current.current.rx.toFixed(2)}deg) `+`rotateY(${current.current.ry.toFixed(2)}deg)`;rafRef.current=requestAnimationFrame(loop);};window.addEventListener(\"pointermove\",onMove,{passive:true});window.addEventListener(\"mouseout\",onLeave);rafRef.current=requestAnimationFrame(loop);return()=>{window.removeEventListener(\"pointermove\",onMove);window.removeEventListener(\"mouseout\",onLeave);if(rafRef.current)cancelAnimationFrame(rafRef.current);};},[]);return /*#__PURE__*/_jsxs(\"div\",{ref:wrapRef,style:{width:\"100%\",height:\"100%\",background:\"transparent\",position:\"relative\",overflow:\"visible\",perspective:\"900px\",perspectiveOrigin:\"50% 50%\",cursor:\"default\",userSelect:\"none\"},children:[/*#__PURE__*/_jsx(\"div\",{ref:floatRef,style:{width:\"100%\",height:\"100%\",display:\"grid\",placeItems:\"center\",animation:\"levitate 4.8s ease-in-out infinite\"},children:/*#__PURE__*/_jsx(\"div\",{ref:tiltRef,style:{width:\"100%\",height:\"100%\",transformStyle:\"preserve-3d\",willChange:\"transform\",display:\"grid\",placeItems:\"center\"},children:/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 704 617\",xmlns:\"http://www.w3.org/2000/svg\",style:{width:\"min(90%, 880px)\",height:\"auto\",overflow:\"visible\",filter:\"drop-shadow(0 0 6px #84FF00) drop-shadow(0 0 14px rgba(132,255,0,0.7)) drop-shadow(0 0 22px rgba(132,255,0,0.35))\",animation:\"pulseGlowSoft 3.6s ease-in-out infinite\"},children:/*#__PURE__*/_jsx(\"path\",{fillRule:\"evenodd\",clipRule:\"evenodd\",d:\"M406.899 0C415.44 2.66034e-05 423.332 4.55564 427.601 11.9521L700.798 485.243C705.067 492.639 705.067 501.75 700.797 509.146C696.527 516.54 688.636 521.096 680.097 521.096H611.568L645.834 580.609C650.092 588.006 650.084 597.112 645.812 604.501C641.541 611.889 633.654 616.44 625.119 616.44H80.1229C71.5883 616.44 63.7014 611.889 59.4295 604.501C55.1578 597.112 55.1495 588.006 59.4081 580.609L93.6737 521.096H23.9032C15.3633 521.096 7.47183 516.539 3.202 509.144C-1.06781 501.748 -1.06718 492.635 3.20298 485.239L276.473 11.9502C280.743 4.55505 288.634 0.000308659 297.174 0C305.713 1.47276e-06 313.605 4.55497 317.875 11.9502L352.041 71.124L386.197 11.9521C390.467 4.55558 398.359 0.000121818 406.899 0ZM148.837 521.096L121.467 568.634H583.774L556.404 521.096H148.837ZM65.3055 473.289H119.9L324.443 118.934L297.176 71.707L65.3055 473.289ZM379.833 118.607L512.434 348.917L584.246 473.289H638.7L406.9 71.7168L379.833 118.607ZM176.362 473.289H528.879L470.876 372.547L352.454 167.445L176.362 473.289Z\",fill:\"#84FF00\"})})})}),/*#__PURE__*/_jsx(\"style\",{children:`\n        @keyframes pulseGlowSoft {\n          0% { filter: drop-shadow(0 0 6px #84FF00) drop-shadow(0 0 14px rgba(132,255,0,0.7)) drop-shadow(0 0 22px rgba(132,255,0,0.35)); }\n          50% { filter: drop-shadow(0 0 7px #84FF00) drop-shadow(0 0 16px rgba(132,255,0,0.8)) drop-shadow(0 0 26px rgba(132,255,0,0.45)); }\n          100% { filter: drop-shadow(0 0 6px #84FF00) drop-shadow(0 0 14px rgba(132,255,0,0.7)) drop-shadow(0 0 22px rgba(132,255,0,0.35)); }\n        }\n\n        @keyframes levitate {\n          0%   { transform: translateY(0px); }\n          50%  { transform: translateY(-14px); } \n          100% { transform: translateY(0px); }\n        }\n      `})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Cursor3DLogo\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Code_A.map"],"mappings":"kNAAqF,SAAwB,GAAc,CAAC,IAAM,EAAQA,EAAa,KAAK,CAAO,EAAQA,EAAa,KAAK,CAAO,EAASA,EAAa,KAAK,CAAO,EAAOA,EAAa,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAO,EAAQA,EAAa,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAO,EAAOA,EAAa,KAAK,CAAgyC,OAA/xC,MAAoB,CAAC,IAAM,EAAK,EAAQ,QAAc,EAAK,EAAQ,QAAQ,GAAG,CAAC,GAAM,CAAC,EAAK,OAAO,IAAuC,EAAK,IAAU,EAAU,KAAW,EAAO,GAAG,CAAC,IAAM,EAAG,EAAO,WAAiB,EAAG,EAAO,YAAkB,GAAI,EAAE,QAAQ,EAAG,IAAI,EAAQ,GAAI,EAAE,QAAQ,EAA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