{"version":3,"file":"Grain.CLLbcVoj.mjs","names":["__esmMin","init_jsx_runtime","c","init_framer_DxfB3JJo","addPropertyControls","ControlType","Grain","style","NOISE","size","init_Grain"],"sources":["https:/framerusercontent.com/modules/23qw4tYUK2upDRNIKLiQ/zz0zXsy5IodPOgldVP4N/Grain.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const NOISE=size=>`url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='${size}' height='${size}'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>\")`;/**\n * Very light static film grain over the page. Grey noise in overlay blend, so it adds texture without tinting colours.\n * Place it as a fixed, full-size layer above the content; it never receives pointer events.\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function Grain({opacity=.07,size=180,style}){return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{width:\"100%\",height:\"100%\",...style,pointerEvents:\"none\",backgroundImage:NOISE(size),backgroundRepeat:\"repeat\",backgroundSize:`${size}px ${size}px`,mixBlendMode:\"overlay\",opacity}});}addPropertyControls(Grain,{opacity:{type:ControlType.Number,title:\"Opacity\",defaultValue:.07,min:0,max:.3,step:.01},size:{type:ControlType.Number,title:\"Tile\",defaultValue:180,min:60,max:400,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Grain\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Grain.map"],"mappings":"A,4JAKG,SAAwBM,EAAM,CAAC,UAAQ,IAAI,OAAK,IAAI,SAAO,CAAC,MAAoB,gBAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,GAAGC,EAAM,cAAc,OAAO,gBAAgBC,EAAMC,CAAI,EAAE,iBAAiB,SAAS,eAAe,GAAGA,EAAK,KAAKA,EAAK,IAAI,aAAa,UAAU,SAAO,CAAC,CAAC,CAAE,C,4CAL5M,EAAM,GAAM,+EAA+EA,EAAK,YAAYA,EAAK,+NAK4FL,EAAoBE,EAAM,CAAC,QAAQ,CAAC,KAAKD,EAAY,OAAO,MAAM,UAAU,aAAa,IAAI,IAAI,EAAE,IAAI,GAAG,KAAK,GAAG,EAAE,KAAK,CAAC,KAAKA,EAAY,OAAO,MAAM,OAAO,aAAa,IAAI,IAAI,GAAG,IAAI,IAAI,KAAK,IAAI,CAAC,CAAC,C"}