{"version":3,"file":"DiagonalLinePatternOverlay.CG6CK9IZ.mjs","names":["_jsx","__esmMin","init_jsx_runtime","c","addPropertyControls","ControlType","init_framer_ChujFWHC","DiagonalLinePatternOverlay","lineColor","lineWidth","lineSpacing","lineOpacity","angleDeg","svgStr","encoded","init_DiagonalLinePatternOverlay"],"sources":["https:/framerusercontent.com/modules/yFAj4VFBXeiqoNRyG8YR/aVvOAGi1KfFE3LC0pbNT/DiagonalLinePatternOverlay.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function DiagonalLinePatternOverlay({lineColor=\"rgb(250, 249, 246)\",lineWidth=3,lineSpacing=16,lineOpacity=1,angleDeg=45}){const svgStr=`<svg xmlns='http://www.w3.org/2000/svg' width='${lineSpacing}' height='${lineSpacing}'><line x1='0' y1='0' x2='0' y2='${lineSpacing}' stroke='${lineColor}' stroke-width='${lineWidth}'/></svg>`;const encoded=encodeURIComponent(svgStr);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"-5000px\",left:\"-5000px\",right:\"-5000px\",bottom:\"-5000px\",width:\"auto\",height:\"auto\",pointerEvents:\"none\",zIndex:0,opacity:lineOpacity,backgroundImage:`url(\"data:image/svg+xml,${encoded}\")`,backgroundRepeat:\"repeat\",backgroundSize:`${lineSpacing}px ${lineSpacing}px`,transform:`rotate(${angleDeg}deg)`,transformOrigin:\"center center\"}});}addPropertyControls(DiagonalLinePatternOverlay,{lineColor:{type:ControlType.Color,title:\"Line Color\",defaultValue:\"rgb(250, 249, 246)\"},lineWidth:{type:ControlType.Number,title:\"Line Width\",defaultValue:3,min:.5,max:12,step:.5},lineSpacing:{type:ControlType.Number,title:\"Line Spacing\",defaultValue:16,min:4,max:80,step:1},lineOpacity:{type:ControlType.Number,title:\"Opacity\",defaultValue:1,min:0,max:1,step:.05},angleDeg:{type:ControlType.Number,title:\"Angle (deg)\",defaultValue:45,min:-90,max:90,step:5}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DiagonalLinePatternOverlay\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DiagonalLinePatternOverlay.map"],"mappings":"A,6JAA+F,SAAwBO,EAA2B,CAACC,YAAU,qBAAqBC,YAAU,EAAEC,cAAY,GAAGC,cAAY,EAAEC,WAAS,IAAI,CAAC,IAAMC,EAAO,kDAAkDH,EAAY,YAAYA,EAAY,mCAAmCA,EAAY,YAAYF,EAAU,kBAAkBC,EAAU,WAAiBK,EAAQ,mBAAmBD,CAAM,EAAE,MAAoBb,gBAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,IAAI,UAAU,KAAK,UAAU,MAAM,UAAU,OAAO,UAAU,MAAM,OAAO,OAAO,OAAO,cAAc,OAAO,OAAO,EAAE,QAAQW,EAAY,gBAAgB,2BAA2BG,EAAQ,IAAI,iBAAiB,SAAS,eAAe,GAAGJ,EAAY,KAAKA,EAAY,IAAI,UAAU,UAAUE,EAAS,MAAM,gBAAgB,eAAe,CAAC,CAAC,CAAE,C,sCAACR,EAAoBG,EAA2B,CAAC,UAAU,CAAC,KAAKF,EAAY,MAAM,MAAM,aAAa,aAAa,oBAAoB,EAAE,UAAU,CAAC,KAAKA,EAAY,OAAO,MAAM,aAAa,aAAa,EAAE,IAAI,GAAG,IAAI,GAAG,KAAK,EAAE,EAAE,YAAY,CAAC,KAAKA,EAAY,OAAO,MAAM,eAAe,aAAa,GAAG,IAAI,EAAE,IAAI,GAAG,KAAK,CAAC,EAAE,YAAY,CAAC,KAAKA,EAAY,OAAO,MAAM,UAAU,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,GAAG,EAAE,SAAS,CAAC,KAAKA,EAAY,OAAO,MAAM,cAAc,aAAa,GAAG,IAAI,IAAI,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,C"}