{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/GFWhA4Ckw5G8Fb5dIhre/cgvHKvcgbW5PqYpQkhv5/GlowingButton_1.js"],
  "sourcesContent": ["// GlowingButton rebuilt from scratch with DM Sans font, editable text, link, round edges, FFB452 outline, transparent fill, white text, and strong outer glow on hover\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function GlowingButton(props){const{text,link,backgroundColor,textColor,font,borderRadius,padding,...rest}=props;const[isHovered,setIsHovered]=useState(false);const handleClick=()=>{if(typeof window!==\"undefined\"&&link){window.open(link,\"_blank\");}};const handleMouseEnter=()=>{startTransition(()=>setIsHovered(true));};const handleMouseLeave=()=>{startTransition(()=>setIsHovered(false));};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"link\",{href:\"https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap\",rel:\"stylesheet\"}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",alignItems:\"center\",width:\"100%\"},children:/*#__PURE__*/_jsxs(motion.button,{...rest,onClick:handleClick,onMouseEnter:handleMouseEnter,onMouseLeave:handleMouseLeave,style:{position:\"relative\",background:\"transparent\",color:textColor,border:`1px solid ${backgroundColor}`,borderRadius:borderRadius,padding:`${padding}px ${padding*1.5}px`,cursor:\"pointer\",outline:\"none\",overflow:\"visible\",minWidth:\"max-content\",willChange:\"transform, box-shadow, filter\",zIndex:2,boxShadow:isHovered?`0 0 12px 2px ${backgroundColor}, 0 0 24px 6px ${backgroundColor}AA, 0 0 48px 12px ${backgroundColor}55`:\"none\",filter:isHovered?`drop-shadow(0 0 12px ${backgroundColor}) drop-shadow(0 0 24px ${backgroundColor}AA)`:\"none\",transition:\"box-shadow 0.3s ease, filter 0.3s ease\",...font},animate:{scale:isHovered?1.05:1},transition:{scale:{duration:.2,ease:\"easeOut\"}},whileTap:{scale:.95},children:[/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",top:0,left:0,right:0,bottom:0,background:`linear-gradient(45deg, transparent, ${backgroundColor}30, transparent)`,opacity:0},animate:{opacity:isHovered?[0,.5,0]:0,x:isHovered?[\"-100%\",\"100%\"]:\"-100%\"},transition:{duration:1.5,repeat:isHovered?Infinity:0,ease:\"linear\"}}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"relative\",zIndex:1,fontFamily:\"DM Sans, sans-serif\"},children:text})]})})]});}addPropertyControls(GlowingButton,{text:{type:ControlType.String,title:\"Button Text\",defaultValue:\"Ethereal Button\"},link:{type:ControlType.Link,title:\"Link URL\"},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#69CAFF\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\"},font:{type:ControlType.Font,title:\"Font\",defaultValue:{fontSize:\"16px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"},controls:\"extended\",defaultFontType:\"sans-serif\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:25,min:0,max:50,unit:\"px\"},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:12,min:4,max:32,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GlowingButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GlowingButton_1.map"],
  "mappings": "oIAIkB,SAARA,EAA+BC,EAAM,CAAC,GAAK,CAAC,KAAAC,EAAK,KAAAC,EAAK,gBAAAC,EAAgB,UAAAC,EAAU,KAAAC,EAAK,aAAAC,EAAa,QAAAC,EAA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,QAAQ,CAAC,QAAQM,EAAU,CAAC,EAAE,GAAG,CAAC,EAAE,EAAE,EAAEA,EAAU,CAAC,QAAQ,MAAM,EAAE,OAAO,EAAE,WAAW,CAAC,SAAS,IAAI,OAAOA,EAAU,IAAS,EAAE,KAAK,QAAQ,CAAC,CAAC,EAAeU,EAAK,OAAO,CAAC,MAAM,CAAC,SAAS,WAAW,OAAO,EAAE,WAAW,qBAAqB,EAAE,SAASlB,CAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAACoB,EAAoBtB,EAAc,CAAC,KAAK,CAAC,KAAKuB,EAAY,OAAO,MAAM,cAAc,aAAa,iBAAiB,EAAE,KAAK,CAAC,KAAKA,EAAY,KAAK,MAAM,UAAU,EAAE,gBAAgB,CAAC,KAAKA,EAAY,MAAM,MAAM,mBAAmB,aAAa,SAAS,EAAE,UAAU,CAAC,KAAKA,EAAY,MAAM,MAAM,aAAa,aAAa,SAAS,EAAE,KAAK,CAAC,KAAKA,EAAY,KAAK,MAAM,OAAO,aAAa,CAAC,SAAS,OAAO,QAAQ,WAAW,cAAc,UAAU,WAAW,KAAK,EAAE,SAAS,WAAW,gBAAgB,YAAY,EAAE,aAAa,CAAC,KAAKA,EAAY,OAAO,MAAM,gBAAgB,aAAa,GAAG,IAAI,EAAE,IAAI,GAAG,KAAK,IAAI,EAAE,QAAQ,CAAC,KAAKA,EAAY,OAAO,MAAM,UAAU,aAAa,GAAG,IAAI,EAAE,IAAI,GAAG,KAAK,IAAI,CAAC,CAAC",
  "names": ["GlowingButton", "props", "text", "link", "backgroundColor", "textColor", "font", "borderRadius", "padding", "rest", "isHovered", "setIsHovered", "ye", "handleClick", "window", "handleMouseEnter", "Z", "handleMouseLeave", "u", "l", "p", "motion", "addPropertyControls", "ControlType"]
}
