{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/grAh7lcSy6iPwadDDaXH/8jzBo3lZHmwM5ondS7s3/Cursormask.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useRef}from\"react\";import{motion,useMotionValue,useMotionTemplate,animate}from\"framer-motion\";export function withSoftMask(Component){return props=>{const maskX=useMotionValue(0);const maskY=useMotionValue(0);const maskSize=useMotionValue(0);const maskImage=useMotionTemplate`radial-gradient(circle ${maskSize}px at ${maskX}px ${maskY}px, black, black 50%, transparent 80%)`;const ref=useRef(null);return /*#__PURE__*/_jsx(motion.div,{ref:ref,onHoverStart:()=>{animate(maskSize,300,{duration:.3,ease:\"easeOut\"});},onHoverEnd:()=>{animate(maskSize,0,{duration:.3,ease:\"easeIn\"});},onPointerMove:e=>{const{top,left}=ref.current.getBoundingClientRect();maskX.set(e.clientX-left);maskY.set(e.clientY-top);},style:{WebkitMaskImage:maskImage,maskImage,WebkitMaskSize:\"100%\",maskSize:\"100%\",WebkitMaskComposite:\"destination-out\",maskComposite:\"destination-out\"},...props,children:/*#__PURE__*/_jsx(Component,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withSoftMask\":{\"type\":\"reactHoc\",\"name\":\"withSoftMask\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Cursormask.map"],
  "mappings": "4EAAuJ,SAASA,EAAaC,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMC,EAAMC,EAAe,CAAC,EAAQC,EAAMD,EAAe,CAAC,EAAQE,EAASF,EAAe,CAAC,EAAQG,EAAUC,2BAA2CF,CAAQ,SAASH,CAAK,MAAME,CAAK,yCAA+CI,EAAIC,EAAO,IAAI,EAAE,OAAoBC,EAAKC,EAAO,IAAI,CAAC,IAAIH,EAAI,aAAa,IAAI,CAACI,EAAQP,EAAS,IAAI,CAAC,SAAS,GAAG,KAAK,SAAS,CAAC,CAAE,EAAE,WAAW,IAAI,CAACO,EAAQP,EAAS,EAAE,CAAC,SAAS,GAAG,KAAK,QAAQ,CAAC,CAAE,EAAE,cAAcQ,GAAG,CAAC,GAAK,CAAC,IAAAC,EAAI,KAAAC,CAAI,EAAEP,EAAI,QAAQ,sBAAsB,EAAEN,EAAM,IAAIW,EAAE,QAAQE,CAAI,EAAEX,EAAM,IAAIS,EAAE,QAAQC,CAAG,CAAE,EAAE,MAAM,CAAC,gBAAgBR,EAAU,UAAAA,EAAU,eAAe,OAAO,SAAS,OAAO,oBAAoB,kBAAkB,cAAc,iBAAiB,EAAE,GAAGL,EAAM,SAAsBS,EAAKV,EAAU,CAAC,GAAGC,CAAK,CAAC,CAAC,CAAC,CAAE,CAAE",
  "names": ["withSoftMask", "Component", "props", "maskX", "useMotionValue", "maskY", "maskSize", "maskImage", "useMotionTemplate", "ref", "pe", "p", "motion", "animate", "e", "top", "left"]
}
