{"version":3,"file":"IPadOSPointerEffect_Prod.DHHP4fLD.mjs","names":["useState","useRef","parentElement","_Fragment","useId"],"sources":["https:/framerusercontent.com/modules/3HKUZcIGK84HZuBMYIhI/aLB6hEej1MIBrdEdDp36/IPadOSPointerEffect_Prod.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useRef,useId,useState}from\"react\";import{createPortal}from\"react-dom\";import{useMotionValue,animate,motion}from\"framer-motion\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import MagneticHover from\"https://framerusercontent.com/modules/P3S2M04Yg53AO5F51mO2/pzJl44uxe09OYFf1Kkst/MagneticHover_Prod.js\";const ATTRIBUTE=\"data-frameruni-ipad-cursor\";const AREA_ATTRIBUTE=\"data-frameruni-ipad-cursor-area\";const RADIUS_ATTRIBUTE=\"data-frameruni-ipad-cursor-radius\";const MAGNETISM_ATTRIBUTE=\"data-frameruni-ipad-cursor-magnetism\";const COLOR_ATTRIBUTE=\"data-frameruni-ipad-cursor-color\";const HOVER_COLOR_ATTRIBUTE=\"data-frameruni-ipad-cursor-hover-color\";const PRESSED_COLOR_ATTRIBUTE=\"data-frameruni-ipad-cursor-pressed-color\";const useInstanceStore=createStore({instances:[]});/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n *\n * @framerDisableUnlink\n */export default function IPadOSCursor({color,hoverColor,pressedColor,size,magnetism,childrenMagnetism,radius,transition,hideCursor,style}){const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[isTouchDevice,setIsTouchDevice]=useState(false);const[instanceStore,setInstanceStore]=useInstanceStore();const id=useInstanceId();const containerRef=useRef(null);const[isInitialized,setIsInitialized]=useState(false);const isInitializedRef=useRef(false);const mousePositionRef=useRef(null);const scrollOffsetRef=useRef(null);const cursorRef=useRef(null);const instancesRef=useRef(instanceStore.instances);const hoveringElementRef=useRef(null);const[pressed,setPressed]=useState(false);const[hovering,setHovering]=useState(false);const[currentColor,setCurrentColor]=useState(color);const[currentHoverColor,setCurrentHoverColor]=useState(hoverColor);const[currentPressedColor,setCurrentPressedColor]=useState(pressedColor);const rectCenterXMotionValue=useMotionValue(Infinity);const rectCenterXAnimationRef=useRef(null);const rectCenterYMotionValue=useMotionValue(Infinity);const rectCenterYAnimationRef=useRef(null);const rectCenterXScrollOffset=useRef(0);const rectCenterYScrollOffset=useRef(0);const widthMotionValue=useMotionValue(size);const widthAnimationRef=useRef(null);const heightMotionValue=useMotionValue(size);const heightAnimationRef=useRef(null);const pullMotionValue=useMotionValue(0);const pullAnimationRef=useRef(null);const radiusMotionValue=useMotionValue(convertRadius(radius));const radiusAnimationRef=useRef(null);const magnetismValue=useRef(magnetism);// Add touch detection on mount\nuseEffect(()=>{const checkTouch=()=>{setIsTouchDevice(\"ontouchstart\"in window||navigator.maxTouchPoints>0);};checkTouch();window.addEventListener(\"touchstart\",checkTouch);return()=>window.removeEventListener(\"touchstart\",checkTouch);},[]);useEffect(()=>{let animationFrameId;const handleScroll=()=>{if(mousePositionRef.current&&scrollOffsetRef.current){const scrollDeltaX=window.scrollX-scrollOffsetRef.current.x;const scrollDeltaY=window.scrollY-scrollOffsetRef.current.y;rectCenterXScrollOffset.current-=scrollDeltaX;rectCenterYScrollOffset.current-=scrollDeltaY;scrollOffsetRef.current={x:window.scrollX,y:window.scrollY};}};const updateCursor=()=>{if(isCanvas)return;if(cursorRef.current){if(instancesRef.current[0]!==id){cursorRef.current.style.display=\"none\";}else if(mousePositionRef.current){let left=mousePositionRef.current.x;let top=mousePositionRef.current.y;let width=widthMotionValue.get();let height=heightMotionValue.get();const pull=pullMotionValue.get();if(pull>0){const centerX=rectCenterXMotionValue.get()+rectCenterXScrollOffset.current;const centerY=rectCenterYMotionValue.get()+rectCenterYScrollOffset.current;const displacementX=left-centerX;const displacementY=top-centerY;const normalizedX=displacementX/(width/2);const normalizedY=displacementY/(height/2);const offset=pull*magnetismValue.current;// Move cursor position towards the center based on normalized values\nleft=mapRange(pull,0,1,left,centerX+normalizedX*offset);top=mapRange(pull,0,1,top,centerY+normalizedY*offset);}cursorRef.current.style.display=\"block\";cursorRef.current.style.left=`${left}px`;cursorRef.current.style.top=`${top}px`;cursorRef.current.style.width=`${width}px`;cursorRef.current.style.height=`${height}px`;cursorRef.current.style.borderRadius=radiusMotionValue.get();}}animationFrameId=requestAnimationFrame(updateCursor);};const handleMouseDown=()=>{setPressed(true);};const handleMouseUp=()=>{setPressed(false);};const handleMouseMove=e=>{if(!isInitializedRef.current){mousePositionRef.current={x:e.clientX,y:e.clientY};scrollOffsetRef.current={x:window.scrollX,y:window.scrollY};setIsInitialized(true);isInitializedRef.current=true;// Start the animation loop only after first mouse move\nanimationFrameId=requestAnimationFrame(updateCursor);}mousePositionRef.current={x:e.clientX,y:e.clientY};// Add hover detection\nconst elementUnderCursor=document.elementFromPoint(e.clientX,e.clientY);const hoveringElement=elementUnderCursor?.closest(`[${ATTRIBUTE}]`);// Update hovering state based on whether we're over an element\nsetHovering(hoveringElement?true:false);let animateTo=null;let animatePullTo=null;let animateRadiusTo=null;let animateRectCenterTo=null;if(hoveringElement){const area=hoveringElement.querySelector(`[${AREA_ATTRIBUTE}]`);let rect=area?.getBoundingClientRect();if(!rect||rect.width===0&&rect.height===0){rect=hoveringElement.getBoundingClientRect();}if(hoveringElement!==hoveringElementRef.current){animateTo={x:rect.width,y:rect.height};animatePullTo=1;animateRadiusTo=hoveringElement.getAttribute(RADIUS_ATTRIBUTE)??radius;setCurrentColor(hoveringElement.getAttribute(COLOR_ATTRIBUTE)??color);setCurrentPressedColor(hoveringElement.getAttribute(PRESSED_COLOR_ATTRIBUTE)??pressedColor);setCurrentHoverColor(hoveringElement.getAttribute(HOVER_COLOR_ATTRIBUTE)??hoverColor);magnetismValue.current=hoveringElement.getAttribute(MAGNETISM_ATTRIBUTE)??magnetism;animateRectCenterTo={x:rect.left+rect.width/2,y:rect.top+rect.height/2};}scrollOffsetRef.current={x:window.scrollX,y:window.scrollY};}else{if(hoveringElementRef.current){animateTo={x:size,y:size};animatePullTo=0;animateRadiusTo=radius;setCurrentColor(color);setCurrentPressedColor(pressedColor);setCurrentHoverColor(hoverColor);}}if(animateTo){if(widthAnimationRef.current){widthAnimationRef.current.stop();}if(heightAnimationRef.current){heightAnimationRef.current.stop();}widthAnimationRef.current=animate(widthMotionValue,animateTo.x,transition);heightAnimationRef.current=animate(heightMotionValue,animateTo.y,transition);}if(animatePullTo!==null){if(pullAnimationRef.current){pullAnimationRef.current.stop();}pullAnimationRef.current=animate(pullMotionValue,animatePullTo,transition);if(animatePullTo===0){pullAnimationRef.current.then(()=>{if(!hoveringElementRef.current){rectCenterXMotionValue.set(Infinity);rectCenterYMotionValue.set(Infinity);rectCenterXScrollOffset.current=0;rectCenterYScrollOffset.current=0;}});}}if(animateRadiusTo!==null){if(radiusAnimationRef.current){radiusAnimationRef.current.stop();}radiusAnimationRef.current=animate(radiusMotionValue,convertRadius(animateRadiusTo),transition);}if(animateRectCenterTo!==null){if(rectCenterXAnimationRef.current){rectCenterXAnimationRef.current.stop();}if(rectCenterYAnimationRef.current){rectCenterYAnimationRef.current.stop();}if(rectCenterXMotionValue.get()===Infinity){rectCenterXMotionValue.set(animateRectCenterTo.x);}else{rectCenterXAnimationRef.current=animate(rectCenterXMotionValue,animateRectCenterTo.x,transition);}if(rectCenterYMotionValue.get()===Infinity){rectCenterYMotionValue.set(animateRectCenterTo.y);}else{rectCenterYAnimationRef.current=animate(rectCenterYMotionValue,animateRectCenterTo.y,transition);}rectCenterXScrollOffset.current=0;rectCenterYScrollOffset.current=0;}hoveringElementRef.current=hoveringElement;};window.addEventListener(\"mousedown\",handleMouseDown);window.addEventListener(\"mouseup\",handleMouseUp);window.addEventListener(\"mousemove\",handleMouseMove);window.addEventListener(\"scroll\",handleScroll);setInstanceStore(prev=>({...prev,instances:[...prev.instances,id]}));return()=>{window.removeEventListener(\"mousedown\",handleMouseDown);window.removeEventListener(\"mouseup\",handleMouseUp);window.removeEventListener(\"mousemove\",handleMouseMove);window.removeEventListener(\"scroll\",handleScroll);if(animationFrameId){cancelAnimationFrame(animationFrameId);}setInstanceStore(prev=>({...prev,instances:prev.instances.filter(instance=>instance!==id)}));};},[]);useEffect(()=>{const parentElement=containerRef.current?.parentElement?.parentElement;if(parentElement){parentElement.setAttribute(ATTRIBUTE,\"true\");parentElement.setAttribute(RADIUS_ATTRIBUTE,radius);parentElement.setAttribute(MAGNETISM_ATTRIBUTE,magnetism);parentElement.setAttribute(COLOR_ATTRIBUTE,color);if(pressedColor){parentElement.setAttribute(PRESSED_COLOR_ATTRIBUTE,pressedColor);}if(hoverColor){parentElement.setAttribute(HOVER_COLOR_ATTRIBUTE,hoverColor);}}return()=>{const parentElement=containerRef.current?.parentElement?.parentElement;if(parentElement){parentElement.removeAttribute(ATTRIBUTE);parentElement.removeAttribute(RADIUS_ATTRIBUTE);parentElement.removeAttribute(MAGNETISM_ATTRIBUTE);parentElement.removeAttribute(COLOR_ATTRIBUTE);parentElement.removeAttribute(PRESSED_COLOR_ATTRIBUTE);parentElement.removeAttribute(HOVER_COLOR_ATTRIBUTE);}};},[radius,magnetism]);useEffect(()=>{instancesRef.current=instanceStore.instances;},[instanceStore.instances]);const cursorElement=/*#__PURE__*/_jsx(motion.div,{ref:cursorRef,style:{position:\"absolute\",width:size,height:size,borderRadius:size/2,transform:\"translate(-50%, -50%)\"},animate:{backgroundColor:pressed?currentPressedColor||hovering&&currentHoverColor||currentColor:hovering&&currentHoverColor||currentColor},intiial:false,transition:transition});return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{ref:containerRef,id:id,\"data-frameruni-ipad-cursor-area\":true,style:{...style,pointerEvents:\"none\",display:isTouchDevice?\"none\":\"block\"},children:[!isCanvas&&isInitialized&&!isTouchDevice?/*#__PURE__*/createPortal(/*#__PURE__*/_jsx(\"div\",{style:{position:\"fixed\",top:0,left:0,width:\"100vw\",height:\"100vh\",pointerEvents:\"none\",zIndex:9999,userSelect:\"none\",overflow:\"hidden\"},children:cursorElement}),document.body):null,!isCanvas&&hideCursor&&!isTouchDevice&&/*#__PURE__*/_jsx(\"style\",{children:`* { cursor: none !important; }`})]}),!isCanvas&&!isTouchDevice&&magnetism>0&&childrenMagnetism>0&&/*#__PURE__*/_jsx(MagneticHover,{enabled:true,distance:0,children:{distance:magnetism*(childrenMagnetism/100),scale:1},hoverArea:0,smoothing:20,style:{}})]});}IPadOSCursor.displayName=\"iPadOS Cursor\";addPropertyControls(IPadOSCursor,{color:{type:ControlType.Color,defaultValue:\"rgba(153, 153, 153, 0.3)\"},hoverColor:{type:ControlType.Color,optional:true,title:\"Hover\"},pressedColor:{type:ControlType.Color,optional:true,title:\"Pressed\"},size:{type:ControlType.Number,defaultValue:19,min:1,step:1},magnetism:{type:ControlType.Number,defaultValue:4,min:0,max:100,step:1},childrenMagnetism:{title:\"Children\",type:ControlType.Number,defaultValue:50,min:0,max:200,step:1,unit:\"%\",hidden:props=>props.magnetism===0},radius:{type:ControlType.BorderRadius,defaultValue:\"12px\"},hideCursor:{type:ControlType.Boolean,defaultValue:true},transition:{type:ControlType.Transition,defaultValue:{type:\"spring\",time:.15,bounce:0}}});function mapRange(value,fromLow,fromHigh,toLow,toHigh){if(fromLow===fromHigh){return toLow;}const percentage=(value-fromLow)/(fromHigh-fromLow);return toLow+percentage*(toHigh-toLow);}const useInstanceId=()=>{const id=useId();const cleanId=id.replace(/:/g,\"\");const instanceId=`frameruni-${cleanId}`;return instanceId;};const convertRadius=radius=>{if(typeof radius===\"string\"){if(radius.includes(\" \")){return radius;}return`${radius} ${radius} ${radius} ${radius}`;}return`${radius}px ${radius}px ${radius}px ${radius}px`;};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"IPadOSCursor\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerDisable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