{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/jUW3u4U35umU7TCjmzPu/UlZZf8nQKa1D6tBMMtgm/BackgroundGrid.js"],
  "sourcesContent": ["// Grid component with scalable grid pattern, customizable color and stroke weight, with vertical/horizontal cutting options\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useMemo}from\"react\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function BackgroundGrid(props){const{gridSize=50,strokeColor=\"#E0E0E0\",strokeWeight=1,cutVertical=false,cutHorizontal=false,style}=props;const svgPattern=useMemo(()=>{return /*#__PURE__*/_jsxs(\"svg\",{width:\"100%\",height:\"100%\",style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",pointerEvents:\"none\"},children:[/*#__PURE__*/_jsx(\"defs\",{children:/*#__PURE__*/_jsx(\"pattern\",{id:\"grid\",width:gridSize,height:gridSize,patternUnits:\"userSpaceOnUse\",children:/*#__PURE__*/_jsx(\"path\",{d:`M ${gridSize} 0 L 0 0 0 ${gridSize}`,fill:\"none\",stroke:strokeColor,strokeWidth:strokeWeight})})}),/*#__PURE__*/_jsx(\"rect\",{width:\"100%\",height:\"100%\",fill:\"url(#grid)\"}),cutVertical&&/*#__PURE__*/_jsx(\"line\",{x1:\"50%\",y1:\"0\",x2:\"50%\",y2:\"100%\",stroke:strokeColor,strokeWidth:strokeWeight*2}),cutHorizontal&&/*#__PURE__*/_jsx(\"line\",{x1:\"0\",y1:\"50%\",x2:\"100%\",y2:\"50%\",stroke:strokeColor,strokeWidth:strokeWeight*2})]});},[gridSize,strokeColor,strokeWeight,cutVertical,cutHorizontal]);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",...style},children:svgPattern});}addPropertyControls(BackgroundGrid,{gridSize:{type:ControlType.Number,title:\"Grid Size\",defaultValue:50,min:10,max:200,step:5,unit:\"px\"},strokeColor:{type:ControlType.Color,title:\"Stroke Color\",defaultValue:\"#E0E0E0\"},strokeWeight:{type:ControlType.Number,title:\"Stroke Weight\",defaultValue:1,min:.5,max:10,step:.5,unit:\"px\"},cutVertical:{type:ControlType.Boolean,title:\"Cut Vertical\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},cutHorizontal:{type:ControlType.Boolean,title:\"Cut Horizontal\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BackgroundGrid\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BackgroundGrid.map"],
  "mappings": "kEAIkB,SAARA,EAAgCC,EAAM,CAAC,GAAK,CAAC,SAAAC,EAAS,GAAG,YAAAC,EAAY,UAAU,aAAAC,EAAa,EAAE,YAAAC,EAAY,GAAM,cAAAC,EAAc,GAAM,MAAAC,CAAK,EAAEN,EAAYO,EAAWC,EAAQ,IAAyBC,EAAM,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,MAAM,CAAC,SAAS,WAAW,IAAI,EAAE,KAAK,EAAE,MAAM,OAAO,OAAO,OAAO,cAAc,MAAM,EAAE,SAAS,CAAcC,EAAK,OAAO,CAAC,SAAsBA,EAAK,UAAU,CAAC,GAAG,OAAO,MAAMT,EAAS,OAAOA,EAAS,aAAa,iBAAiB,SAAsBS,EAAK,OAAO,CAAC,EAAE,KAAKT,CAAQ,cAAcA,CAAQ,GAAG,KAAK,OAAO,OAAOC,EAAY,YAAYC,CAAY,CAAC,CAAC,CAAC,CAAC,CAAC,EAAeO,EAAK,OAAO,CAAC,MAAM,OAAO,OAAO,OAAO,KAAK,YAAY,CAAC,EAAEN,GAA0BM,EAAK,OAAO,CAAC,GAAG,MA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