{"version":3,"file":"CursorTrailClickFix_1.FVBzSCS6.mjs","names":["useState","useRef","useCallback"],"sources":["https:/framerusercontent.com/modules/JvNuPdNjC1wYKkKpLv88/5V4UGmxGGCjVWLrSRa7n/AnimalTrail.js","https:/framerusercontent.com/modules/bXZiEEU34daWl2rPOSYC/BjScs65YtsVx3FUruYJy/CursorTrailClickFix_1.js"],"sourcesContent":["// Animal Footprint Trail — interactive cursor trail of animal footprints.\n// Built-in prints: Cat, Dog, Horse, Bird (choose from a dropdown), plus an optional\n// \"upload your own SVG\" control that overrides the preset. Single color for all via\n// CSS mask. Marketplace-ready: touch support, randomness, requestAnimationFrame\n// throttling, prefers-reduced-motion support, rotate-to-direction.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useRef,useCallback,useEffect,startTransition}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";// Built-in animal prints. Single solid shapes — color comes from the prop via CSS mask.\nconst SHAPES={cat:`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 629 557\" fill=\"currentColor\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M131.252,463.385c0.252-21.206,7.515-39.439,21.941-54.782 c11.697-12.442,23.035-25.18,31.364-40.22c7.471-13.491,14.521-27.217,22.064-40.667c8.151-14.534,18.189-27.643,29.975-39.515 c19.936-20.08,43.892-32.008,71.667-36.434c14.857-2.367,29.114,1.081,43.052,5.697c17.394,5.759,32.846,15.113,46.096,27.698 c19.354,18.38,34.547,39.781,45.159,64.392c5.657,13.119,11.513,26.23,20.629,37.409c6.795,8.328,14.354,16.03,21.171,24.341 c12.778,15.577,19.259,33.599,19.196,53.757c-0.115,37.892-28.785,73.438-65.682,81.893c-19.501,4.469-37.818,2.093-54.986-8.569 c-14.488-8.996-30.047-15.383-46.976-18.185c-19.702-3.263-38.781-0.508-57.196,6.581c-8.592,3.308-17.104,7.234-24.924,12.062 c-32.584,20.113-77.113,8.19-100.365-18.405C139.105,504.04,131.593,485.042,131.252,463.385z\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M296.964,138.179c-0.193,19.479-6.273,43.921-22.084,65.353 c-7.167,9.714-15.681,17.958-27.078,22.547c-17.115,6.893-33.131,4.18-48.096-6.135c-17.751-12.236-29.354-29.224-37.352-48.885 c-8.79-21.609-11.129-44.131-9.222-67.254c1.68-20.367,6.337-39.875,16.082-57.969c4.754-8.828,10.757-16.756,18.298-23.394 c20.227-17.804,43.909-18.025,64.611-0.789c14.062,11.708,23.364,26.767,30.639,43.257 C292.024,85.905,296.955,109.137,296.964,138.179z\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M340.249,134.566c0.861-38.983,10.5-72.064,33.478-100.542 c7.05-8.735,15.505-15.859,25.858-20.48c18.545-8.28,36.471-5.155,51.196,8.932c12.757,12.203,20.13,27.541,25.415,44.056 c6.311,19.726,8.458,40.025,7.397,60.602c-1.186,22.996-6.273,45.027-18.793,64.766c-9.791,15.436-22.463,27.804-39.86,34.299 c-18.674,6.972-35.683,3.727-50.672-9.615c-18.34-16.321-28.075-37.178-31.93-61.003 C341.064,147.709,340.738,139.684,340.249,134.566z\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M131.491,370.018c-27.228-0.367-46.907-8.55-64.813-21.438 c-20.566-14.802-35.443-34.268-45.251-57.51c-7.722-18.298-11.854-37.413-10.941-57.411c0.532-11.652,2.707-22.896,8.578-33.18 c7.351-12.875,18.669-19.815,33.134-21.623c21.265-2.656,40.432,4.138,58.552,14.244c36.313,20.253,58.447,51.428,68.279,91.415 c3.823,15.552,4.609,31.394-0.254,47.1C171.325,355.673,150.497,370.645,131.491,370.018z\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M454.45,306.638c0.324-25.218,8.7-47.754,22.799-68.266 c17.556-25.543,40.267-44.793,69.781-55.28c11.855-4.212,24.07-6.543,36.706-4.734c20.197,2.891,32.306,15.225,38.786,33.859 c4.456,12.809,4.838,26.048,3.245,39.316c-3.162,26.292-12.417,50.235-28.912,71.108c-17.346,21.953-38.698,38.111-66.448,44.613 c-14.948,3.503-29.832,3.665-43.852-3.348c-18.047-9.027-27.447-24.544-30.914-43.959 C454.861,315.579,454.828,311.077,454.45,306.638z\"/></svg>`,dog:`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 629 800\" fill=\"currentColor\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M460.54,799.126c-13.798-3.287-27.725-6.112-41.361-9.963 c-23.332-6.589-46.334-14.379-69.749-20.642c-30.218-8.083-60.326-3.474-89.893,3.928c-19.074,4.773-37.68,11.453-56.425,17.499 c-18.449,5.947-37.033,9.343-56.51,5.9c-39.127-6.915-64.322-39.445-61.983-79.216c2.188-37.213,20.948-65.125,47.909-88.692 c6.661-5.824,13.623-11.46,21.068-16.207c41.915-26.73,78.189-59.322,107.62-99.652c6.215-8.515,15.148-15.845,24.288-21.263 c19.553-11.591,39.703-10.544,57.662,3.727c9.535,7.575,18.366,16.513,25.816,26.147c21.937,28.378,48.212,51.864,77.458,72.301 c21.802,15.238,44.49,29.613,61.097,50.886c19.667,25.19,32.565,52.77,28.554,86.23C530.908,773.352,504.525,797.354,460.54,799.126 z\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M485.714,321.933c-0.573,16.633-3.916,47.832-17.378,76.995 c-17.228,37.315-51.644,55.81-89.086,48.091c-16.498-3.398-28.129-13.376-36.402-27.641c-11.04-19.032-14.929-40.146-16.589-61.596 c-4.308-55.692,4.176-110.066,18.867-163.582c2.769-10.087,7.183-19.974,12.328-29.112c15.655-27.794,40.898-33.155,67.337-15.057 c17.598,12.047,28.717,29.25,37.865,47.918C477.024,227.265,486.981,274.131,485.714,321.933z\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M307.105,345.953c-2.304,12.475-4.938,34.399-10.636,55.494 c-5.824,21.551-18.508,39.02-41.721,45.052c-30.63,7.957-63.29-4.667-81.646-30.659c-13.181-18.665-19.487-39.942-23.398-62.053 c-9.107-51.467-3.529-101.418,16.525-149.642c7.414-17.831,17.293-34.248,31.963-47.202c4.469-3.949,9.376-7.616,14.603-10.447 c24.086-13.052,45.2-7.515,59.746,15.708c12.837,20.495,18.231,43.661,22.685,67.006 C301.98,264.634,306.743,300.305,307.105,345.953z\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M159.951,515.667c-1.808,9.33-3.788,28.204-9.24,46.01 c-14.726,48.098-79.487,58.869-111.745,20.808c-16.402-19.354-24.759-42.06-29.904-66.415 c-10.274-48.628-0.41-93.648,24.769-135.618c5.187-8.644,12.37-16.586,20.1-23.114c21.317-18.003,45.831-15.792,64.682,4.826 c14.855,16.25,22.851,36.061,28.881,56.77C155.781,447.397,158.358,476.685,159.951,515.667z\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M469.99,510.571c2.044-44.229,5.629-83.503,22.979-119.857 c4.979-10.431,11.543-20.516,19.163-29.195c17.916-20.409,43.181-21.693,64.088-4.23c20.322,16.971,30.891,39.968,38.838,64.421 c16.807,51.73,12.516,101.687-15.261,148.528c-18.67,31.484-49.621,42.287-82.454,30.991c-27.021-9.295-38.373-31.054-43.381-56.993 C471.54,531.673,470.914,518.764,469.99,510.571z\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M375.433,6.758c37.178,16.44,53.213,64.321,51.233,111.087 c-34.533-8.179-34.533-8.179-53.974-1.322C383.373,80.295,383.77,44.172,375.433,6.758z\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M254.296,7.743c-1.292,17.792-3.977,35.916-3.536,53.963 c0.442,18.081,4.002,36.085,6.28,54.823c-16.821-10.775-34.275-6.593-51.501,2.144C201.71,73.806,219.313,21.965,254.296,7.743z\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M103.761,327.762c-19.222-9.971-36.419-7.659-53.264,0.994 c-7.863-41.832,18.35-100.012,50.327-111.711C92.668,253.708,90.325,290.031,103.761,327.762z\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M525.812,327.935c13.869-38.163,11.145-74.305,3.271-110.746 c31.559,10.873,57.746,68.856,50.286,111.658C562.503,319.996,545.289,317.847,525.812,327.935z\"/></svg>`,horse:`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 629 645\" fill=\"currentColor\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4.935,350.5C6.627,226.776,53.029,132.097,147.507,63.673 c123.125-89.17,293.179-66.808,394.581,49.328c57.439,65.789,84.654,142.98,85.671,229.58 c1.272,108.369-31.685,204.667-104.104,286.394c-12.562,14.174-16.24,14.701-32.569,6.089c-15.374-8.107-31.044-15.77-45.834-24.849 c-21.328-13.095-23.641-25.169-8.885-45.279c23.351-31.818,43.739-65.167,55.078-103.271c18.76-63.038,23.394-126.513-0.803-189.012 c-25.375-65.548-70.909-110.406-141.438-124.923c-77.52-15.957-153.757,21.4-190.899,92.434 c-45.476,86.975-43.2,174.45-0.334,261.437c10.581,21.47,24.243,41.418,36.461,62.081c2.722,4.604,5.92,9.046,7.87,13.968 c5.354,13.523,2.4,23.312-9.969,30.944c-15.87,9.796-32.043,19.135-48.388,28.118c-11.479,6.312-21.996,4.233-31.488-6.579 c-10.005-11.399-19.478-23.324-28.476-35.538C42.524,538.312,19.269,474.771,10.17,405.856C7.441,385.19,6.211,364.326,4.935,350.5z M57.395,302.749c0,2.215-0.609,4.658,0.124,6.597c1.661,4.397,3.247,11.367,6.204,12.137c4.542,1.182,10.755-1.03,15.215-3.606 c3.104-1.792,5.508-6.371,6.384-10.133c2.069-8.885,3.989-18.025,4.004-27.066c0.007-3.837-4.193-9.72-7.781-10.983 c-4.048-1.425-10.996-0.299-14.159,2.532C58.585,280.114,57.142,291.375,57.395,302.749z M107.829,175.805 c0.059,10.528,12.226,18.089,19.643,11.994c9.918-8.154,18.859-17.673,27.243-27.444c4.339-5.054,2.675-11.263-2.223-16.186 c-4.974-4.996-11.052-6.399-16.08-1.747c-9.445,8.736-18.035,18.411-26.741,27.917C108.33,171.805,108.26,174.436,107.829,175.805z M522.84,176.74c-1.776-4.775-2.203-8.215-4.058-10.493c-6.154-7.566-12.447-15.098-19.427-21.885 c-4.508-4.385-10.338-8.063-16.854-2.946c-5.783,4.539-7.485,13.985-2.717,20.502c5.93,8.109,12.406,16.046,19.858,22.699 c2.953,2.634,9.732,3.235,13.729,1.818C517.307,185.04,519.923,179.924,522.84,176.74z M544.037,286.218 c1.903,8.682,3.005,18.634,6.575,27.603c1.475,3.707,8.064,6.727,12.681,7.324c2.75,0.356,7.673-3.985,9.045-7.284 c4.784-11.512,4.539-23.548-0.106-35.149c-2.69-6.718-6.881-12.568-15.433-11.371C549.932,268.302,543.9,277.224,544.037,286.218z M573.916,430.879c1.039-11.477-2.854-16.604-10.063-18.46c-7.589-1.952-13.22,2.293-15.771,8.92 c-3.272,8.51-5.54,17.466-7.562,26.382c-1.772,7.814,1.434,13.74,9.12,16.53c7.7,2.796,14.34-0.113,17.365-8.612 C570.272,446.467,572.293,436.85,573.916,430.879z M59.878,430.367c1.79,7.922,3.479,17.912,6.406,27.526 c2.302,7.564,8.1,11.137,16.308,8.926c7.734-2.086,10.921-7.651,9.487-15.098c-1.903-9.887-4.233-19.758-7.35-29.32 c-1.961-6.017-6.707-10.408-13.816-8.793C63.422,415.307,60.316,420.942,59.878,430.367z\"/></svg>`,bird:`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 556.578 645\" fill=\"currentColor\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M545.324,225.93c4.56,9.848,4.04,18.868,2.343,27.964 c-3.239,17.382-10.641,32.806-21.771,46.516c-1.289,1.587-2.716,3.694-2.741,5.577c-0.207,15.251-6.829,27.913-17.04,38.274 c-19.755,20.044-40.53,39.077-60.453,58.961c-16.728,16.696-32.617,34.23-49.335,50.938c-7.009,7.006-15.062,13.003-22.877,19.158 c-10.846,8.539-22.373,16.263-32.787,25.282c-19.352,16.767-25.731,38.142-20.086,63.093c3.374,14.911,5.284,29.812,0.697,44.863 c-6.124,20.098-20.762,29.884-41.058,27.3c-17.784-2.266-31.115-17.628-32.104-36.657c-0.565-10.878,1.958-21.11,5.518-31.229 c3.781-10.74,6.601-21.672,5.136-33.225c-1.503-11.857-6.57-22.262-15.38-30.06c-10.809-9.566-22.672-17.93-33.854-27.089 c-10.01-8.2-20.236-16.243-29.453-25.287c-21.985-21.571-43.322-43.801-65.133-65.551c-13.092-13.055-26.766-25.524-39.835-38.602 c-10.044-10.051-17.599-21.616-19.103-36.338c-0.176-1.709-1.816-3.464-3.152-4.831c-14.247-14.578-25.829-30.941-32.905-50.15 c-2.102-5.709-3.021-11.87-4.241-17.873c-0.252-1.241,0.564-2.7,0.889-4.058c1.287,0.498,2.875,0.672,3.813,1.544 c13.919,12.91,27.759,25.908,41.604,38.899c1.944,1.822,3.922,3.625,5.708,5.595c4.638,5.118,9.384,9.051,17.104,9.62 c7.787,0.574,14.104,5.83,19.466,11.406c11.292,11.74,22.202,23.851,33.496,35.587c3.441,3.576,7.417,6.741,11.519,9.553 c17.982,12.334,35.934,24.724,54.227,36.584c11.771,7.629,24.614,13.2,38.384,16.356c7.911,1.814,9.734,0.34,10.113-7.928 c0.684-14.965,1.066-29.957,2.22-44.887c0.998-12.928,2.889-25.786,4.388-38.674c0.115-0.992,0.307-1.979,0.359-2.974 c1.277-24.262,3.234-48.513,3.564-72.788c0.225-16.597-2.193-33.211-2.741-49.84c-0.47-14.262-0.339-28.571,0.255-42.829 c0.365-8.731,4.86-16.032,10.408-22.767c1.826-2.218,3.21-5.646,3.118-8.465c-0.956-29.181,2.825-57.776,9.88-86.015 c0.524-2.095,0.83-4.291,1.691-6.24c0.662-1.502,2.037-2.69,3.094-4.019c1.344,1.245,3.442,2.257,3.912,3.773 c2.853,9.201,5.746,18.424,7.859,27.813c4.847,21.533,6.857,43.361,5.827,65.461c-0.102,2.21,0.795,5.109,2.296,6.647 c8.913,9.137,13.034,20.343,12.786,32.638c-0.383,18.949-2.422,37.863-2.871,56.812c-0.422,17.774,0.088,35.583,0.613,53.362 c0.344,11.631,1.305,23.252,2.246,34.855c1.399,17.237,3.183,34.443,4.505,51.684c0.879,11.442,1.201,22.926,1.851,34.386 c0.291,5.148,0.48,10.33,1.256,15.415c0.764,5.023,2.887,6.265,7.698,5.104c13.004-3.137,25.585-7.421,36.802-14.917 c20.341-13.595,41.265-26.446,60.633-41.315c11.445-8.787,20.27-20.954,30.479-31.4c6.265-6.41,12.797-12.575,19.466-18.564 c2.038-1.83,4.806-3.439,7.453-3.884c7.405-1.247,11.992-6.136,16.114-11.566c11.766-15.493,23.34-31.133,34.984-46.717 C543.029,229.077,543.861,227.924,545.324,225.93z\"/></svg>`};function toDataUri(svg){return\"data:image/svg+xml;utf8,\"+encodeURIComponent(svg);}/**\n * Animal Footprint Trail\n *\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 400\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function AnimalTrail(props){const{preset=\"cat\",customSvg,color=\"#221E1A\",size=64,stride=55,spread=22,maxPrints=6,rotateToDirection=true,randomness=.2,fade=true,fadeDuration=1.4,style}=props;// Custom upload overrides the preset when provided\nconst src=customSvg||toDataUri(SHAPES[preset]||SHAPES.cat);const[prints,setPrints]=useState([]);const lastPos=useRef(null);const idRef=useRef(0);const sideRef=useRef(1);const rafRef=useRef(null);const pendingRef=useRef(null);const reducedMotionRef=useRef(false);const isStatic=useIsStaticRenderer();useEffect(()=>{if(typeof window===\"undefined\"||!window.matchMedia)return;const mq=window.matchMedia(\"(prefers-reduced-motion: reduce)\");reducedMotionRef.current=mq.matches;const handler=e=>{reducedMotionRef.current=e.matches;};mq.addEventListener?.(\"change\",handler);return()=>mq.removeEventListener?.(\"change\",handler);},[]);useEffect(()=>{return()=>{if(rafRef.current!=null&&typeof window!==\"undefined\"){window.cancelAnimationFrame(rafRef.current);}};},[]);const drop=useCallback((x,y)=>{if(!lastPos.current){lastPos.current={x,y};return;}const dx=x-lastPos.current.x;const dy=y-lastPos.current.y;const dist=Math.sqrt(dx*dx+dy*dy);if(dist<stride)return;const baseAngle=rotateToDirection?Math.atan2(dy,dx)*180/Math.PI:0;const nx=-dy/dist;const ny=dx/dist;const side=sideRef.current;sideRef.current=side===1?-1:1;const r=randomness;const jitterSpread=spread*(1+(Math.random()-.5)*r);const jitterAngle=baseAngle+(Math.random()-.5)*30*r;const jitterScale=1+(Math.random()-.5)*.25*r;const px=x+nx*jitterSpread*side;const py=y+ny*jitterSpread*side;lastPos.current={x,y};const print={id:idRef.current++,x:px,y:py,angle:jitterAngle,scale:jitterScale};startTransition(()=>setPrints(prev=>[...prev.slice(-(maxPrints-1)),print]));},[stride,spread,maxPrints,rotateToDirection,randomness]);const schedule=useCallback(()=>{if(rafRef.current!=null)return;rafRef.current=window.requestAnimationFrame(()=>{rafRef.current=null;const p=pendingRef.current;if(p)drop(p.x,p.y);});},[drop]);const handlePointer=useCallback((clientX,clientY,rect)=>{pendingRef.current={x:clientX-rect.left,y:clientY-rect.top};schedule();},[schedule]);const onMouseMove=useCallback(e=>{handlePointer(e.clientX,e.clientY,e.currentTarget.getBoundingClientRect());},[handlePointer]);const onTouchMove=useCallback(e=>{const t=e.touches[0];if(!t)return;handlePointer(t.clientX,t.clientY,e.currentTarget.getBoundingClientRect());},[handlePointer]);const handleEnd=useCallback(()=>{lastPos.current=null;},[]);const rendered=isStatic&&prints.length===0?Array.from({length:Math.min(maxPrints,6)},(_,i)=>{const side=i%2===0?1:-1;const t=i/Math.max(Math.min(maxPrints,6)-1,1);return{id:i,x:180+t*240+side*-14,y:300-t*200+side*14,angle:rotateToDirection?-40:0,scale:1};}):prints;return /*#__PURE__*/_jsx(\"div\",{onMouseMove:isStatic?undefined:onMouseMove,onMouseLeave:isStatic?undefined:handleEnd,onTouchMove:isStatic?undefined:onTouchMove,onTouchEnd:isStatic?undefined:handleEnd,style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",cursor:\"crosshair\",touchAction:\"none\",...style},children:rendered.map((print,i)=>{const total=rendered.length;const age=total-1-i;const opacity=fade&&total>1?Math.max(.12,1-age*(1/maxPrints)):1;const useFade=fade&&!reducedMotionRef.current;return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",left:print.x,top:print.y,width:size,height:size,color,opacity,transform:`translate(-50%, -50%) rotate(${print.angle+90}deg) scale(${print.scale})`,transformOrigin:\"center\",WebkitMaskImage:`url(\"${src}\")`,maskImage:`url(\"${src}\")`,WebkitMaskRepeat:\"no-repeat\",maskRepeat:\"no-repeat\",WebkitMaskSize:\"contain\",maskSize:\"contain\",WebkitMaskPosition:\"center\",maskPosition:\"center\",backgroundColor:\"currentColor\",pointerEvents:\"none\",transition:useFade?`opacity ${fadeDuration}s ease-out`:\"none\"}},print.id);})});}addPropertyControls(AnimalTrail,{preset:{type:ControlType.Enum,title:\"Animal\",options:[\"cat\",\"dog\",\"horse\",\"bird\"],optionTitles:[\"Cat\",\"Dog\",\"Horse\",\"Bird\"],defaultValue:\"cat\",displaySegmentedControl:false},customSvg:{type:ControlType.File,title:\"Custom SVG\",allowedFileTypes:[\"svg\"],description:\"Optional. Upload your own single-color SVG shape to override the animal above.\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#221E1A\"},size:{type:ControlType.Number,title:\"Size\",defaultValue:64,min:16,max:240,unit:\"px\"},stride:{type:ControlType.Number,title:\"Stride\",defaultValue:55,min:15,max:200,unit:\"px\"},spread:{type:ControlType.Number,title:\"Spread (L/R)\",defaultValue:22,min:0,max:100,unit:\"px\"},maxPrints:{type:ControlType.Number,title:\"Prints\",defaultValue:6,min:2,max:20,step:1},rotateToDirection:{type:ControlType.Boolean,title:\"Rotate to path\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},randomness:{type:ControlType.Number,title:\"Randomness\",defaultValue:.2,min:0,max:1,step:.05},fade:{type:ControlType.Boolean,title:\"Fade\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},fadeDuration:{type:ControlType.Number,title:\"Fade time\",defaultValue:1.4,min:.2,max:6,step:.1,unit:\"s\",hidden:({fade})=>!fade}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AnimalTrail\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"400\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"600\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AnimalTrail.map","// Fixes the AnimalTrail cursor-trail component blocking clicks on content\n// underneath it. AnimalTrail is stretched across the full page height so\n// its paw-print trail follows the cursor everywhere, but its internal\n// drawing layer sets cursor: crosshair and touch-action: none, which also\n// makes it swallow clicks/taps on anything underneath it (like the hero\n// download buttons and the mobile nav hamburger). Framer also renders every\n// breakpoint copy of AnimalTrail in the DOM at once, so this has to walk\n// ALL of them, not just the visible one. This invisible utility component\n// finds those layers at runtime (both on mount and whenever the DOM\n// changes or their inline style changes) and disables pointer events on\n// them AND their immediate wrapper (the actual element that was\n// intercepting clicks), so the trail stays purely visual and never blocks\n// clicks on the content below.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function CursorTrailClickFix(props){useEffect(()=>{if(typeof document===\"undefined\")return;const apply=()=>{document.querySelectorAll(\"div\").forEach(el=>{const cs=window.getComputedStyle(el);if(cs.cursor===\"crosshair\"&&cs.touchAction===\"none\"){const target=el;if(target.style.pointerEvents!==\"none\"){target.style.pointerEvents=\"none\";}const parent=target.parentElement;if(parent&&parent.style.pointerEvents!==\"none\"){parent.style.pointerEvents=\"none\";}}});};apply();const observer=new MutationObserver(apply);observer.observe(document.body,{childList:true,subtree:true,attributes:true,attributeFilter:[\"style\"]});return()=>observer.disconnect();},[]);return /*#__PURE__*/_jsx(\"div\",{style:{...props.style,width:\"100%\",height:\"100%\"}});}addPropertyControls(CursorTrailClickFix,{});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CursorTrailClickFix\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CursorTrailClickFix_1.map"],"mappings":"uNAMqzW,SAAS,EAAU,EAAI,CAAC,MAAM,2BAA2B,mBAAmB,CAAG,CAAE,CAQn4W,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,SAAO,MAAM,YAAU,QAAM,UAAU,OAAK,GAAG,SAAO,GAAG,SAAO,GAAG,YAAU,EAAE,oBAAkB,GAAK,aAAW,GAAG,OAAK,GAAK,eAAa,IAAI,SAAO,EACpM,EAAI,GAAW,EAAU,EAAO,IAAS,EAAO,GAAG,EAAO,CAAC,EAAO,GAAWA,EAAS,CAAC,CAAC,EAAQ,EAAQC,EAAO,IAAI,EAAQ,EAAMA,EAAO,CAAC,EAAQ,EAAQA,EAAO,CAAC,EAAQ,EAAOA,EAAO,IAAI,EAAQ,EAAWA,EAAO,IAAI,EAAQ,EAAiBA,EAAO,EAAK,EAAQ,EAAS,EAAoB,EAAE,MAAc,CAAC,GAAU,IAAS,QAAa,CAAC,EAAO,WAAW,OAAO,IAAM,EAAG,EAAO,WAAW,kCAAkC,EAAE,EAAiB,QAAQ,EAAG,QAAQ,IAAM,EAAQ,GAAG,CAAC,EAAiB,QAAQ,EAAE,OAAQ,EAA0C,OAAxC,EAAG,mBAAmB,SAAS,CAAO,MAAY,EAAG,sBAAs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