{
  "version": 3,
  "sources": ["ssg:https://framer.com/m/framer/store.js@^1.0.0", "ssg:https://framerusercontent.com/modules/P3S2M04Yg53AO5F51mO2/pzJl44uxe09OYFf1Kkst/MagneticHover_Prod.js", "ssg:https://framerusercontent.com/modules/3HKUZcIGK84HZuBMYIhI/aLB6hEej1MIBrdEdDp36/IPadOSPointerEffect_Prod.js"],
  "sourcesContent": ["import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map", "import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useRef,useMemo}from\"react\";import{useMotionValue,useSpring,motion}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n *\n * @framerDisableUnlink\n */export default function MagneticHover(props){const{distance,smoothing,hoverArea,enabled}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const id=generateInstanceId();const transition={damping:100,stiffness:mapRange(smoothing,0,100,2e3,50)};const mouseX=useMotionValue(0);const mouseY=useMotionValue(0);const x=useMotionValue(0);const y=useMotionValue(0);const springX=useSpring(x,transition);const springY=useSpring(y,transition);const scale=useMotionValue(1);const springScale=useSpring(scale,transition);const ref=useRef(null);const containerRef=useRef(null);const parentRef=useRef(null);const isHoveringRef=useRef(false);const transformRef=useRef(null);const motionTransformRef=useRef(null);const styleRef=useRef(null);const hasSpringRef=useRef(smoothing!==0);const previousXRef=useRef(null);const previousYRef=useRef(null);const previousChildrenXRef=useRef(null);const previousChildrenYRef=useRef(null);const previousChildrenScaleRef=useRef(null);const previousStyleTransformRef=useRef(null);const previousChildrenStyleTransformsRef=useRef({});useEffect(()=>{const unsubscribeX=mouseX.onChange(v=>x.set(enabled?v:0));const unsubscribeY=mouseY.onChange(v=>y.set(enabled?v:0));return()=>{unsubscribeX();unsubscribeY();};},[enabled,mouseX,mouseY,x,y]);useEffect(()=>{x.set(enabled?mouseX.get():0);y.set(enabled?mouseY.get():0);if(!enabled){scale.set(1);}else if(isHoveringRef.current&&props.children){scale.set(props.children.scale);}},[enabled]);useEffect(()=>{hasSpringRef.current=smoothing!==0;},[smoothing]);useEffect(()=>{let animationFrameId;const updateTransform=()=>{if(isCanvas){return;}animationFrameId=requestAnimationFrame(updateTransform);if(!parentRef.current||!styleRef.current){return;}const xValue=hasSpringRef.current?springX.get():x.get();const yValue=hasSpringRef.current?springY.get():y.get();const computedStyle=window.getComputedStyle(parentRef.current);const parentTransform=calculateTransform(parentRef.current,computedStyle,xValue*distance,yValue*distance,1,previousXRef.current*distance,previousYRef.current*distance,1,previousStyleTransformRef.current);// Store parent's style transform\npreviousStyleTransformRef.current=parentRef.current.style.transform;// Handle children transforms\nlet childrenStyles=\"\";if(props.children){const children=parentRef.current.children;const scaleValue=hasSpringRef.current?springScale.get():scale.get();const childrenXValue=xValue*props.children.distance;const childrenYValue=yValue*props.children.distance;for(let i=0;i<children.length;i++){const child=children[i];if(child===containerRef.current){continue;}const childComputedStyle=window.getComputedStyle(child);const childTransform=calculateTransform(child,childComputedStyle,childrenXValue,childrenYValue,scaleValue,previousChildrenXRef.current,previousChildrenYRef.current,previousChildrenScaleRef.current,previousChildrenStyleTransformsRef.current[i]);// Store child's style transform\npreviousChildrenStyleTransformsRef.current[i]=child.style.transform;childrenStyles+=`\n\t\t\t\t\t\t[data-magnetichover=\"${id}\"] > :nth-child(${i+1}) { \n\t\t\t\t\t\t\ttransform: ${childTransform} !important \n\t\t\t\t\t\t}\n\t\t\t\t\t`;}previousChildrenXRef.current=childrenXValue;previousChildrenYRef.current=childrenYValue;previousChildrenScaleRef.current=scaleValue;}transformRef.current=parentTransform;styleRef.current.textContent=`\n\t\t\t\t[data-magnetichover=\"${id}\"] { transform: ${parentTransform} !important }\n\t\t\t\t${childrenStyles}\n\t\t\t`;previousXRef.current=xValue;previousYRef.current=yValue;};if(ref.current){const container=ref.current.parentElement;if(container){containerRef.current=container;const parent=container.parentElement;if(parent){parentRef.current=parent;parent.setAttribute(\"data-magnetichover\",id);motionTransformRef.current=motion(parent,\"transform\");}}}// Start the animation loop\nupdateTransform();// Cleanup function\nreturn()=>{if(animationFrameId){cancelAnimationFrame(animationFrameId);}};},[props.children]);useEffect(()=>{const handleMouseMove=event=>{if(!parentRef.current){return;}const element=parentRef.current;const rect=element.getBoundingClientRect();const mouseXPos=event.clientX;const mouseYPos=event.clientY;const isHovering=mouseXPos>=rect.left-hoverArea&&mouseXPos<=rect.right+hoverArea&&mouseYPos>=rect.top-hoverArea&&mouseYPos<=rect.bottom+hoverArea;isHoveringRef.current=isHovering;if(isHovering){const displacementX=mouseXPos-(rect.left+rect.width/2);const displacementY=mouseYPos-(rect.top+rect.height/2);const normalizedX=displacementX/(rect.width/2);const normalizedY=displacementY/(rect.height/2);mouseX.set(normalizedX);mouseY.set(normalizedY);scale.set(enabled&&props.children?props.children.scale:1);}else{mouseX.set(0);mouseY.set(0);scale.set(1);}};window.addEventListener(\"mousemove\",handleMouseMove);return()=>window.removeEventListener(\"mousemove\",handleMouseMove);},[distance,x,y,transition,enabled,props.children]);return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{...props.style},children:/*#__PURE__*/_jsx(\"style\",{ref:styleRef})});}MagneticHover.displayName=\"Magnetic Hover\";addPropertyControls(MagneticHover,{enabled:{type:ControlType.Boolean,defaultValue:true},distance:{type:ControlType.Number,defaultValue:10,min:0,step:1,hidden:props=>!props.enabled},hoverArea:{type:ControlType.Number,defaultValue:10,min:0,step:1,hidden:props=>!props.enabled},children:{type:ControlType.Object,optional:true,controls:{distance:{type:ControlType.Number,defaultValue:10,min:0,step:1},scale:{type:ControlType.Number,defaultValue:1,min:0,step:.01}},hidden:props=>!props.enabled},smoothing:{type:ControlType.Number,defaultValue:50,min:0,max:100,step:1,description:\"More components at [Framer University](https://frameruni.link/cc).\"}});const CHARACTERS=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\";function generateInstanceId(){const id=useMemo(()=>{let result=\"\";for(let i=0;i<13;i++){result+=CHARACTERS.charAt(Math.floor(Math.random()*CHARACTERS.length));}return result;},[]);return id;}function mapRange(value,fromLow,fromHigh,toLow,toHigh){if(fromLow===fromHigh){return toLow;}const percentage=(value-fromLow)/(fromHigh-fromLow);return toLow+percentage*(toHigh-toLow);}function calculateTransform(element,computedStyle,xValue,yValue,scale=1,previousX,previousY,previousScale,previousStyleTransform){xValue=xValue||0;yValue=yValue||0;previousX=previousX||0;previousY=previousY||0;scale=scale||1;previousScale=previousScale||1;// Get transform\nconst computedTransform=computedStyle.transform;const styleTransform=element.style.transform;// Subtract previous values from current values for a single transform\nconst finalX=xValue-previousX;const finalY=yValue-previousY;const finalScale=scale/(previousScale||1)// Prevent division by zero\n;const translateTransform=`translate(${finalX.toFixed(3)}px, ${finalY.toFixed(3)}px)`;const transformWithScale=scale!==1?`${translateTransform} scale(${finalScale})`:translateTransform;let transform=transformWithScale;if(styleTransform&&styleTransform!==\"none\"){if(previousStyleTransform&&previousStyleTransform!==\"none\"){transform=`${transformWithScale} ${invertTransform(previousStyleTransform)} ${styleTransform}`;}else{transform=`${transformWithScale} ${styleTransform}`;}}return computedTransform&&computedTransform!==\"none\"?`${transform} ${computedTransform}`:transform;}function invertTransform(transformString){const transforms=transformString.match(/\\w+\\([^)]+\\)/g)||[];const invertedTransforms=transforms.reverse().map(transform=>{const[func,valuesString]=transform.match(/(\\w+)\\(([^)]+)\\)/).slice(1);const values=valuesString.split(\",\").map(v=>v.trim());const invertNumber=v=>{const[_,sign,num,unit]=v.match(/^(-?)(\\d*\\.?\\d+)(\\D*)$/);return`${sign?\"\":\"-\"}${num}${unit}`;};switch(func.toLowerCase()){case\"translate\":case\"translate3d\":case\"translatex\":case\"translatey\":case\"translatez\":return`${func}(${values.map(invertNumber).join(\", \")})`;case\"scale\":case\"scale3d\":return`${func}(${values.map(v=>1/parseFloat(v)).join(\", \")})`;case\"scalex\":case\"scaley\":case\"scalez\":return`${func}(${1/parseFloat(values[0])})`;case\"rotate\":case\"rotatex\":case\"rotatey\":case\"rotatez\":return`${func}(${invertNumber(values[0])})`;case\"rotate3d\":const rotateValues=values.map(parseFloat);return`${func}(${rotateValues[0]}, ${rotateValues[1]}, ${rotateValues[2]}, ${invertNumber(values[3])})`;case\"skew\":case\"skewx\":case\"skewy\":return`${func}(${values.map(invertNumber).join(\", \")})`;case\"matrix\":case\"matrix3d\":console.warn(`Inverting ${func} is not supported. Returning original.`);return transform;default:console.warn(`Unknown transform function: ${func}. Returning original.`);return transform;}});return invertedTransforms.join(\" \");}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MagneticHover\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MagneticHover_Prod.map", "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\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./IPadOSPointerEffect_Prod.map"],
  "mappings": "6NAAqF,SAASA,GAAYC,EAAO,CACjH,IAAMC,EAAUC,GAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAGF,CAAM,CAAC,CAAC,CAAC,EACjDG,EAAaC,GAAU,CAC1B,OAAOA,GAAW,aAAYA,EAASA,EAASH,EAAU,KAAK,GAAGA,EAAU,MAAM,OAAO,OAAO,CAAC,GAAGA,EAAU,MAAM,GAAGG,CAAQ,CAAC,CAAE,EACjIC,EAAW,OAAOL,GAAS,SAAS,OAAO,OAAO,CAAC,GAAGA,CAAM,CAAC,EAAEA,EAC7DM,EAAa,IAAI,IACjBC,EAAcH,GAAU,CAC3B,OAAOA,GAAW,aAAYA,EAASA,EAASC,CAAU,GAAGA,EAAW,OAAOD,GAAW,SAAS,OAAO,OAAO,CAAC,GAAGC,EAAW,GAAGD,CAAQ,CAAC,EAAEA,EACjJE,EAAa,QAAQE,GAAQA,EAAOH,CAAU,CAAC,CAAE,EACjD,SAASI,GAAU,CACnB,GAAK,CAACC,EAAMC,CAAQ,EAAEC,EAASP,CAAU,EAIzC,OAFAQ,EAAU,KACVP,EAAa,IAAIK,CAAQ,EAAQ,IAAIL,EAAa,OAAOK,CAAQ,GAAI,CAAC,CAAC,EACpEG,GAAe,IAAI,IAAMA,GAAe,EAAQ,CAACb,EAAU,MAAME,CAAY,GAC1E,CAACO,EAAMH,CAAa,CAAG,CAAC,OAAOE,CAAS,CCV5B,SAARM,GAA+BC,EAAM,CAAC,GAAK,CAAC,SAAAC,EAAS,UAAAC,EAAU,UAAAC,EAAU,QAAAC,CAAO,EAAEJ,EAAYK,EAASC,GAAa,QAAQ,IAAIA,GAAa,OAAaC,EAAGC,GAAmB,EAAQC,EAAW,C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AQC,EAASC,EAAMC,EAAO,CAAC,GAAGH,IAAUC,EAAU,OAAOC,EAAO,IAAME,GAAYL,EAAMC,IAAUC,EAASD,GAAS,OAAOE,EAAME,GAAYD,EAAOD,EAAO,CAAC,IAAMvF,GAAc,IAAyE,aAA3D0F,GAAM,EAAmB,QAAQ,KAAK,EAAE,CAAuC,GAA6BvD,GAAc/C,GAAY,OAAOA,GAAS,SAAaA,EAAO,SAAS,GAAG,EAAUA,EAAc,GAAGA,CAAM,IAAIA,CAAM,IAAIA,CAAM,IAAIA,CAAM,GAAU,GAAGA,CAAM,MAAMA,CAAM,MAAMA,CAAM,MAAMA,CAAM",
  "names": ["createStore", "state1", "dataStore", "Data", "setDataStore", "newState", "storeState", "storeSetters", "setStoreState", "setter", "useStore", "state", "setState", "ye", "ue", "useObserveData", "MagneticHover", "props", "distance", "smoothing", "hoverArea", "enabled", "isCanvas", "RenderTarget", "id", "generateInstanceId", "transition", "mapRange", "mouseX", "useMotionValue", "mouseY", "x", "springX", "useSpring", "springY", "scale", "springScale", "ref", "pe", "containerRef", "parentRef", "isHoveringRef", "transformRef", "motionTransformRef", "styleRef", "hasSpringRef", "previousXRef", "previousYRef", "previousChildrenXRef", "previousChildrenYRef", "previousChildrenScaleRef", "previousStyleTransformRef", "previousChildrenStyleTransformsRef", "ue", "unsubscribeX", "unsubscribeY", "animationFrameId", "updateTransform", "xValue", "yValue", "computedStyle", "window", "parentTransform", "calculateTransform", "childrenStyles", "children", "scaleValue", "childrenXValue", "childrenYValue", "i", "child", "childComputedStyle", "childTransform", "container", "parent", "motion", "handleMouseMove", "event", "rect", "mouseXPos", "mouseYPos", "isHovering", "displacementX", "displacementY", "normalizedX", "normalizedY", "p", "addPropertyControls", "ControlType", "CHARACTERS", "se", "result", "value", "fromLow", "fromHigh", "toLow", "toHigh", "percentage", "element", "previousX", "previousY", "previousScale", "previousStyleTransform", "computedTransform", "styleTransform", "finalX", "finalY", "finalScale", "translateTransform", "transformWithScale", "transform", "invertTransform", "transformString", "func", "valuesString", "values", "v", "invertNumber", "_", "sign", "num", "unit", "rotateValues", "ATTRIBUTE", "AREA_ATTRIBUTE", "RADIUS_ATTRIBUTE", "MAGNETISM_ATTRIBUTE", "COLOR_ATTRIBUTE", "HOVER_COLOR_ATTRIBUTE", "PRESSED_COLOR_ATTRIBUTE", "useInstanceStore", "createStore", "IPadOSCursor", "color", "hoverColor", "pressedColor", "size", "magnetism", "childrenMagnetism", "radius", "transition", "hideCursor", "style", "isCanvas", "RenderTarget", "isTouchDevice", "setIsTouchDevice", "ye", "instanceStore", "setInstanceStore", "id", "useInstanceId", "containerRef", "pe", "isInitialized", "setIsInitialized", "isInitializedRef", "mousePositionRef", "scrollOffsetRef", "cursorRef", "instancesRef", "hoveringElementRef", "pressed", "setPressed", "hovering", "setHovering", "currentColor", "setCurrentColor", "currentHoverColor", "setCurrentHoverColor", "currentPressedColor", "setCurrentPressedColor", "rectCenterXMotionValue", "useMotionValue", "rectCenterXAnimationRef", "rectCenterYMotionValue", "rectCenterYAnimationRef", "rectCenterXScrollOffset", "rectCenterYScrollOffset", "widthMotionValue", "widthAnimationRef", "heightMotionValue", "heightAnimationRef", "pullMotionValue", "pullAnimationRef", "radiusMotionValue", "convertRadius", "radiusAnimationRef", "magnetismValue", "ue", "checkTouch", "window", "navigator", "animationFrameId", "handleScroll", "scrollDeltaX", "scrollDeltaY", "updateCursor", "left", "top", "width", "height", "pull", "centerX", "centerY", "displacementX", "displacementY", "normalizedX", "normalizedY", "offset", "mapRange", "handleMouseDown", "handleMouseUp", "handleMouseMove", "e", "hoveringElement", "animateTo", "animatePullTo", "animateRadiusTo", "animateRectCenterTo", "rect", "animate", "prev", "instance", "parentElement", "cursorElement", "p", "motion", "u", "l", "Ga", "MagneticHover", "addPropertyControls", "ControlType", "props", "value", "fromLow", "fromHigh", "toLow", "toHigh", "percentage", "ae"]
}
