{"version":3,"file":"GlowLine.BVBcpEgi.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Z0psVDKOpaK7HgGHtuuz/49HeBs13bzOfoDjev33s/GlowLine.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicHeight 80\n */export default function GlowLine({color=\"rgb(215, 59, 85)\",lineWeight=1,glowIntensity=1,glowSpread=40,fadeEdges=true}){const fadeMask=fadeEdges?\"linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%)\":\"none\";return /*#__PURE__*/_jsxs(\"div\",{\"aria-hidden\":\"true\",role:\"separator\",style:{position:\"relative\",width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",overflow:\"visible\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",width:\"100%\",height:glowSpread*2,background:`radial-gradient(ellipse at center, ${color} 0%, transparent 70%)`,opacity:.3*glowIntensity,maskImage:fadeMask,WebkitMaskImage:fadeMask}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",width:\"100%\",height:glowSpread,background:`radial-gradient(ellipse at center, ${color} 0%, transparent 60%)`,opacity:.5*glowIntensity,maskImage:fadeMask,WebkitMaskImage:fadeMask}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",width:\"100%\",height:glowSpread*.5,background:`radial-gradient(ellipse at center, ${color} 0%, transparent 50%)`,opacity:.7*glowIntensity,maskImage:fadeMask,WebkitMaskImage:fadeMask}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",width:\"100%\",height:lineWeight,background:`linear-gradient(to right, transparent, ${color}, transparent)`,opacity:glowIntensity}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",width:\"100%\",height:Math.max(1,lineWeight*.5),background:\"linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent)\",opacity:.5*glowIntensity}})]});}addPropertyControls(GlowLine,{color:{type:ControlType.Color,title:\"Color\",defaultValue:\"rgb(215, 59, 85)\"},lineWeight:{type:ControlType.Number,title:\"Line Weight\",defaultValue:1,min:1,max:6,step:.5,unit:\"px\"},glowIntensity:{type:ControlType.Number,title:\"Intensity\",defaultValue:1,min:0,max:2,step:.1},glowSpread:{type:ControlType.Number,title:\"Spread\",defaultValue:40,min:10,max:100,step:5,unit:\"px\"},fadeEdges:{type:ControlType.Boolean,title:\"Fade Edges\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GlowLine\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"80\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GlowLine.map"],"mappings":"8JAIG,SAAwB,EAAS,CAAC,QAAM,mBAAmB,aAAW,EAAE,gBAAc,EAAE,aAAW,GAAG,YAAU,IAAM,CAAC,IAAM,EAAS,EAAU,oFAAoF,OAAO,OAAoB,EAAM,MAAM,CAAC,cAAc,OAAO,KAAK,YAAY,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,SAAS,SAAS,EAAE,SAAS,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,EAAW,EAAE,WAAW,sCAAsC,EAAM,uBAAuB,QAAQ,GAAG,EAAc,UAAU,EAAS,gBAAgB,CAAQ,CAAC,CAAC,EAAe,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,EAAW,WAAW,sCAAsC,EAAM,uBAAuB,QAAQ,GAAG,EAAc,UAAU,EAAS,gBAAgB,CAAQ,CAAC,CAAC,EAAe,EAAK,M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