{"version":3,"file":"AngledButton_Dark.BkYiLUly.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/EfhzL16QhOIIIbEsNNZo/wVqHoScd10g7igIQThDK/AngledButton_Dark.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";import{useState}from\"react\";function AngledButton({text,link}){const[isHovered,setIsHovered]=useState(false);return /*#__PURE__*/_jsx(\"a\",{href:link,style:{textDecoration:\"none\"},children:/*#__PURE__*/_jsxs(motion.div,{onHoverStart:()=>setIsHovered(true),onHoverEnd:()=>setIsHovered(false),style:{display:\"inline-flex\",alignItems:\"center\",gap:\"8px\",height:\"50px\",background:isHovered?\"#000000\":\"#121202\",color:\"#FFF\",fontFamily:\"Strawford, sans-serif\",fontSize:16,fontWeight:500,padding:\"20px 20px\",clipPath:\"polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%)\",transition:\"background 0.2s ease\",whiteSpace:\"nowrap\",width:\"fit-content\",cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(motion.span,{animate:{x:isHovered?-4:0},transition:{type:\"tween\",duration:.2},children:text}),/*#__PURE__*/_jsx(motion.div,{animate:{x:isHovered?0:8,opacity:isHovered?1:0},transition:{type:\"tween\",duration:.3},style:{display:\"flex\",alignItems:\"center\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"10\",height:\"10\",viewBox:\"0 0 12 12\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M1.52246 0.859375H10.9319M10.9319 0.859375V10.2815M10.9319 0.859375L0.650391 11.1409\",stroke:\"white\",strokeWidth:\"1.5\"})})})]})});}// Expose only text and link\naddPropertyControls(AngledButton,{text:{type:ControlType.String,title:\"Button Text\",defaultValue:\"Speak to an expert\"},link:{type:ControlType.Link,title:\"Button Link\",defaultValue:\"\"}});export default AngledButton;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AngledButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AngledButton_Dark.map"],"mappings":"kOAA2K,SAAS,EAAa,CAAC,OAAK,QAAM,CAAC,GAAK,CAAC,EAAU,GAAcA,EAAS,GAAM,CAAC,OAAoB,EAAK,IAAI,CAAC,KAAK,EAAK,MAAM,CAAC,eAAe,OAAO,CAAC,SAAsB,EAAM,EAAO,IAAI,CAAC,iBAAiB,EAAa,GAAK,CAAC,eAAe,EAAa,GAAM,CAAC,MAAM,CAAC,QAAQ,cAAc,WAAW,SAAS,IAAI,MAAM,OAAO,OAAO,WAAW,EAAU,UAAU,UAAU,MAAM,OAAO,WAAW,wBAAwB,SAAS,GAAG,WAAW,IAAI,QAAQ,YAAY,SAAS,+EAA+E,WAAW,uBAAuB,WAAW,SAAS,MAAM,cAAc,OAAO,UAAU,CAAC,SAAS,CAAc,EAAK,EAAO,KAAK,CAAC,QAAQ,CAAC,EAAE,EAAU,GAAG,EAAE,CAAC,WAAW,CAAC,KAAK,QAAQ,SAAS,GAAG,CAAC,SAAS,EAAK,CAAC,CAAc,EAAK,EAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAU,EAAE,EAAE,QAAQ,EAAU,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,QAAQ,SAAS,GAAG,CAAC,MAAM,CAAC,QAAQ,OAAO,WAAW,SAAS,CAAC,SAAsB,EAAK,MAAM,CAAC,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAA6B,SAAsB,EAAK,OAAO,CAAC,EAAE,uFAAuF,OAAO,QAAQ,YAAY,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,oBAAzzC,IAAoD,IAAkC,IAA4B,CAC3K,EAAoB,EAAa,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,cAAc,aAAa,qBAAqB,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,cAAc,aAAa,GAAG,CAAC,CAAC,GAAgB"}