{"version":3,"file":"Grid_Background_Card.C4ePYmPV.mjs","names":[],"sources":["https:/framerusercontent.com/modules/12uE0K4LRrIJNJL61ewy/533doJTdScqUkGhVtHw7/Grid_Background_Card.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";export default function PatternGrid(props){const{gridColor,bgColor,horizontalSpacing,verticalSpacing,animate,animationSpeed}=props;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",backgroundColor:bgColor},children:/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",inset:0,zIndex:0,backgroundImage:`linear-gradient(to right, ${gridColor} 1px, transparent 1px),\n                        linear-gradient(to bottom, ${gridColor} 1px, transparent 1px)`,backgroundSize:`${horizontalSpacing}px ${verticalSpacing}px`,WebkitMaskImage:\"radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%)\",maskImage:\"radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%)\",WebkitMaskRepeat:\"no-repeat\",maskRepeat:\"no-repeat\",WebkitMaskSize:\"cover\",maskSize:\"cover\"},animate:animate?{backgroundPosition:[\"0px 0px\",`${horizontalSpacing}px ${verticalSpacing}px`]}:{},transition:animate?{duration:animationSpeed,repeat:Infinity,ease:\"linear\"}:{}})});}addPropertyControls(PatternGrid,{gridColor:{type:ControlType.Color,title:\"Grid Color\",defaultValue:\"#e2e8f0\"},bgColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#f8fafc\"},horizontalSpacing:{type:ControlType.Number,title:\"X Spacing\",defaultValue:20,min:5,max:100,unit:\"px\"},verticalSpacing:{type:ControlType.Number,title:\"Y Spacing\",defaultValue:30,min:5,max:100,unit:\"px\"},animate:{type:ControlType.Boolean,title:\"Animate\",defaultValue:true},animationSpeed:{type:ControlType.Number,title:\"Speed (s)\",defaultValue:8,min:1,max:30,step:.5}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PatternGrid\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Grid_Background_Card.map"],"mappings":"8MAAiI,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,YAAU,UAAQ,oBAAkB,kBAAgB,UAAQ,kBAAgB,EAAM,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,SAAS,SAAS,gBAAgB,EAAQ,CAAC,SAAsB,EAAK,EAAO,IAAI,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,OAAO,EAAE,gBAAgB,6BAA6B,EAAU;qDAC1d,EAAU,wBAAwB,eAAe,GAAG,EAAkB,KAAK,EAAgB,IAAI,gBAAgB,yEAAyE,UAAU,yEAAyE,iBAAiB,YAAY,WAAW,YAAY,eAAe,QAAQ,SAAS,QAAQ,CAAC,QAAQ,EAAQ,CAAC,mBAAmB,CAAC,UAAU,GAAG,EAAkB,KAAK,EAAgB,IAAI,CAAC,CAAC,EAAE,CAAC,WAAW,EAAQ,CAAC,SAAS,EAAe,OAAO,IAAS,KAAK,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,kBADriB,IAAkC,IAAoD,CACid,EAAoB,EAAY,CAAC,UAAU,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,UAAU,CAAC,QAAQ,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,UAAU,CAAC,kBAAkB,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,GAAG,IAAI,EAAE,IAAI,IAAI,KAAK,KAAK,CAAC,gBAAgB,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,GAAG,IAAI,EAAE,IAAI,IAAI,KAAK,KAAK,CAAC,QAAQ,CAAC,KAAK,EAAY,QAAQ,MAAM,UAAU,aAAa,GAAK,CAAC,eAAe,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,GAAG,CAAC,CAAC"}