{"version":3,"file":"GridBackground.BX331kpU.mjs","names":[],"sources":["https:/framerusercontent.com/modules/sJxVGNRpg322M8ggyxt3/vodNWjjFUZNE1EoFt5EY/GridBackground.js"],"sourcesContent":["// Grid background component with customizable grid size, color, and line width\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function GridBackground(props){const{gridSize=40,lineWidth=1,lineColor=\"#CCCCCC\",backgroundColor=\"#FFFFFF\",noiseOpacity=.05,noiseScale=1,style}=props;const gridPattern=`\n        linear-gradient(to right, ${lineColor} ${lineWidth}px, transparent ${lineWidth}px),\n        linear-gradient(to bottom, ${lineColor} ${lineWidth}px, transparent ${lineWidth}px)\n    `;return /*#__PURE__*/_jsx(\"div\",{style:{...style,width:\"100%\",height:\"100%\",position:\"relative\",backgroundColor:backgroundColor,backgroundImage:gridPattern,backgroundSize:`${gridSize}px ${gridSize}px`,backgroundPosition:\"0 0\"},children:/*#__PURE__*/_jsxs(\"svg\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",pointerEvents:\"none\"},children:[/*#__PURE__*/_jsxs(\"filter\",{id:\"noiseFilter\",children:[/*#__PURE__*/_jsx(\"feTurbulence\",{type:\"fractalNoise\",baseFrequency:.65*noiseScale,numOctaves:4,stitchTiles:\"stitch\"}),/*#__PURE__*/_jsx(\"feColorMatrix\",{type:\"saturate\",values:\"0\"})]}),/*#__PURE__*/_jsx(\"rect\",{width:\"100%\",height:\"100%\",filter:\"url(#noiseFilter)\",opacity:noiseOpacity})]})});}addPropertyControls(GridBackground,{gridSize:{type:ControlType.Number,title:\"Grid Size\",defaultValue:40,min:10,max:200,step:5,unit:\"px\"},lineWidth:{type:ControlType.Number,title:\"Line Width\",defaultValue:1,min:1,max:5,step:.5,unit:\"px\"},lineColor:{type:ControlType.Color,title:\"Line Color\",defaultValue:\"#CCCCCC\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},noiseOpacity:{type:ControlType.Number,title:\"Noise Opacity\",defaultValue:.05,min:0,max:1,step:.01},noiseScale:{type:ControlType.Number,title:\"Noise Scale\",defaultValue:1,min:.1,max:3,step:.1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GridBackground\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GridBackground.map"],"mappings":"8JAIG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,WAAS,GAAG,YAAU,EAAE,YAAU,UAAU,kBAAgB,UAAU,eAAa,IAAI,aAAW,EAAE,SAAO,EAAY,EAAY;oCACtJ,EAAU,GAAG,EAAU,kBAAkB,EAAU;qCAClD,EAAU,GAAG,EAAU,kBAAkB,EAAU;MAClF,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,OAAO,OAAO,SAAS,WAA2B,kBAAgB,gBAAgB,EAAY,eAAe,GAAG,EAAS,KAAK,EAAS,IAAI,mBAAmB,MAAM,CAAC,SAAsB,EAAM,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,IAAI,EAAE,KAAK,EAAE,MAAM,OAAO,OAAO,OAAO,cAAc,OAAO,CAAC,SAAS,CAAc,EAAM,SAAS,CAAC,GAAG,cAAc,SAAS,CAAc,EAAK,eAAe,CAAC,KAAK,eAAe,cAAc,IAAI,EAAW,WAAW,EAAE,YAAY,SAAS,CAAC,CAAc,EAAK,gBAAgB,CAAC,KAAK,WAAW,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAc,EAAK,OAAO,CAAC,MAAM,OAAO,OAAO,OAAO,OAAO,oBAAoB,QAAQ,EAAa,CAAC,CAAC,CAAC,CAAC,CAA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