{"version":3,"file":"DiagonalLinePatternOverlay.xUtv2XfG.mjs","names":[],"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":"6JAA+F,SAAwB,EAA2B,CAAC,YAAU,qBAAqB,YAAU,EAAE,cAAY,GAAG,cAAY,EAAE,WAAS,IAAI,CAAC,IAAM,EAAO,kDAAkD,EAAY,YAAY,EAAY,mCAAmC,EAAY,YAAY,EAAU,kBAAkB,EAAU,WAAoD,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,IAAI,UAAU,KAAK,UAAU,MAAM,UAAU,OAAO,UAAU,MAAM,OAAO,OAAO,OAAO,cAAc,OAAO,OAAO,EAAE,QAAQ,EAAY,gBAAgB,2BAAjP,mBAAmB,CAA+P,EAAE,IAAI,iBAAiB,SAAS,eAAe,GAAG,EAAY,KAAK,EAAY,IAAI,UAAU,UAAU,EAAS,MAAM,gBAAgB,eAAe,CAAC,CAAC,CAAE,iBAAv0B,IAAoD,EAAoxB,EAAoB,EAA2B,CAAC,UAAU,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,oBAAoB,EAAE,UAAU,CAAC,KAAK,EAAY,OAAO,MAAM,aAAa,aAAa,EAAE,IAAI,GAAG,IAAI,GAAG,KAAK,EAAE,EAAE,YAAY,CAAC,KAAK,EAAY,OAAO,MAAM,eAAe,aAAa,GAAG,IAAI,EAAE,IAAI,GAAG,KAAK,CAAC,EAAE,YAAY,CAAC,KAAK,EAAY,OAAO,MAAM,UAAU,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,GAAG,EAAE,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,cAAc,aAAa,GAAG,IAAI,IAAI,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC"}