{"version":3,"file":"ButtonFlip.DsqreJsC.mjs","names":["React.forwardRef"],"sources":["https:/framerusercontent.com/modules/dKmLh6reKh2kxCqhH8OW/8l8OXj3FxXbvCXwywm8Q/ZajZqjjCF.js","https:/framerusercontent.com/modules/sfK7p847Grwzb5SaZqwc/VZ43WAmz4cxAuHotEpMx/ButtonFlip.js"],"sourcesContent":["// Generated by Framer (85eaff3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 16 0 L 5 11 L 0 6\" fill=\"transparent\" height=\"11px\" id=\"RhWX5SVPv\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(4 6)\" width=\"16px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,JEeZYcamG:width1??props.JEeZYcamG??2,P_DcoRcrY:color??props.P_DcoRcrY??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,P_DcoRcrY,JEeZYcamG,...restProps}=getProps(props);const href=useSVGTemplate(\"3338047389\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-FCBgc\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m973uw\":P_DcoRcrY,\"--js9iwy\":JEeZYcamG,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-FCBgc { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"P_DcoRcrY\":\"color\",\"JEeZYcamG\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Check\",\"color\":{\"type\":\"variable\",\"value\":\"1m973uw\"},\"set\":{\"localId\":\"vectorSet/ZsiCCGPvG\",\"id\":\"ZsiCCGPvG\",\"moduleId\":\"Y7SpbVH16cWqMhj75z1M\"}}\n */const Icon=withCSS(Component,css,\"framer-FCBgc\");Icon.displayName=\"Check\";export default Icon;addPropertyControls(Icon,{P_DcoRcrY:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},JEeZYcamG:{defaultValue:2,displayStepper:true,hidden:false,max:16,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"P_DcoRcrY\\\":\\\"color\\\",\\\"JEeZYcamG\\\":\\\"width1\\\"}\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"24\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerVector\":\"{\\\"name\\\":\\\"Check\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1m973uw\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/ZsiCCGPvG\\\",\\\"id\\\":\\\"ZsiCCGPvG\\\",\\\"moduleId\\\":\\\"Y7SpbVH16cWqMhj75z1M\\\"}}\",\"framerIntrinsicWidth\":\"24\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const CSS=`\n.cdbtn{-webkit-user-select:none;user-select:none;background-color:transparent;outline-style:none;padding:0;line-height:1;text-decoration:none;display:inline-grid;position:relative;-webkit-tap-highlight-color:transparent;transition:scale .15s var(--cdbtn-ease-click);cursor:pointer;}\n.cdbtn::after{content:'';display:block;position:absolute;inset:var(--cdbtn-focus-inset);border-radius:var(--cdbtn-radius);transition:box-shadow .3s var(--cdbtn-ease-focus);pointer-events:none;z-index:1;}\n.cdbtn:is(:focus-visible)::after{box-shadow:0 0 0 .125em var(--cdbtn-focus-color);}\n.cdbtn:active{scale:var(--cdbtn-click-scale);}\n.cdbtn__inner{grid-area:1/1;place-items:center;width:100%;height:100%;display:grid;}\n.cdbtn__default{width:100%;height:100%;color:var(--cdbtn-color);grid-area:1/1;display:grid;}\n.cdbtn__default-bg{background-color:var(--cdbtn-fill);border-radius:var(--cdbtn-radius);grid-area:1/1;width:100%;height:100%;}\n.cdbtn__default-inner,.cdbtn__hover-inner{gap:var(--cdbtn-gap);width:100%;height:100%;padding:var(--cdbtn-pad);grid-area:1/1;justify-content:center;align-items:center;display:flex;white-space:nowrap;}\n.cdbtn__hover{color:var(--cdbtn-hover-color);grid-area:1/1;width:calc(100% + 1px);height:calc(100% + 1px);display:grid;clip-path:var(--cdbtn-clip);transition:clip-path .5s var(--cdbtn-ease-hover);}\n.cdbtn__hover-bg{border-radius:var(--cdbtn-radius);background-color:var(--cdbtn-hover-fill);grid-area:1/1;width:100%;height:100%;}\n.cdbtn__ic{flex:none;display:flex;align-items:center;justify-content:center;}\n@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){\n.cdbtn:is(:hover,:focus-visible) .cdbtn__hover{clip-path:var(--cdbtn-clip-hover);transition:clip-path .55s .05s var(--cdbtn-ease-hover);}\n}\n`;function Chevron(){return /*#__PURE__*/_jsx(\"span\",{className:\"cdbtn__ic\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 4l4 4-4 4\",stroke:\"currentColor\",strokeWidth:\"1.75\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})});}/**\n * Button Sweep (Osmo Button 029 animation)\n *\n * @framerIntrinsicWidth 232\n * @framerIntrinsicHeight 40\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function ButtonFlip(props){const{text=\"Book My Growth Audit\",link,newTab=false,font,textColor=\"#030820\",fill=\"#EDCA64\",hoverColor=\"#FFFFFF\",hoverFill=\"#03082D\",focusColor=\"#FFFFFF\",radius=4,gap=8,padding=\"12px 16px 12px 24px\",showChevron=true}=props;const fontStyle={...font||{},fontFamily:font&&font.fontFamily||\"'PP Neue Montreal', sans-serif\"};const rootVars={\"--cdbtn-color\":textColor,\"--cdbtn-fill\":fill,\"--cdbtn-hover-color\":hoverColor,\"--cdbtn-hover-fill\":hoverFill,\"--cdbtn-focus-color\":focusColor,\"--cdbtn-radius\":`${radius}px`,\"--cdbtn-pad\":padding,\"--cdbtn-gap\":`${gap}px`,\"--cdbtn-focus-inset\":\"-0.125em\",\"--cdbtn-click-scale\":\"0.955 0.925\",\"--cdbtn-clip\":`inset(0 100% 0 0 round 0 ${radius}px ${radius}px 0)`,\"--cdbtn-clip-hover\":\"inset(0 0 0 0 round 0)\",\"--cdbtn-ease-click\":\"cubic-bezier(0.4, 0, 0.2, 1)\",\"--cdbtn-ease-hover\":\"cubic-bezier(0.32, 0.72, 0, 1)\",\"--cdbtn-ease-focus\":\"cubic-bezier(0.32, 0.72, 0, 1)\",...props.style};return /*#__PURE__*/_jsxs(\"a\",{className:\"cdbtn\",href:link||undefined,target:newTab?\"_blank\":undefined,rel:newTab?\"noreferrer\":undefined,style:rootVars,children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:CSS}}),/*#__PURE__*/_jsxs(\"span\",{className:\"cdbtn__inner\",children:[/*#__PURE__*/_jsxs(\"span\",{className:\"cdbtn__default\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"cdbtn__default-bg\"}),/*#__PURE__*/_jsxs(\"span\",{className:\"cdbtn__default-inner\",style:fontStyle,children:[/*#__PURE__*/_jsx(\"span\",{children:text}),showChevron&&/*#__PURE__*/_jsx(Chevron,{})]})]}),/*#__PURE__*/_jsxs(\"span\",{className:\"cdbtn__hover\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"cdbtn__hover-bg\"}),/*#__PURE__*/_jsxs(\"span\",{className:\"cdbtn__hover-inner\",style:fontStyle,children:[/*#__PURE__*/_jsx(\"span\",{children:text}),showChevron&&/*#__PURE__*/_jsx(Chevron,{})]})]})]})]});}addPropertyControls(ButtonFlip,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"Book My Growth Audit\"},link:{type:ControlType.Link,title:\"Link\"},newTab:{type:ControlType.Boolean,title:\"New Tab\",defaultValue:false},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#030820\"},fill:{type:ControlType.Color,title:\"Fill\",defaultValue:\"#EDCA64\"},hoverColor:{type:ControlType.Color,title:\"Hover Text\",defaultValue:\"#FFFFFF\"},hoverFill:{type:ControlType.Color,title:\"Hover Fill\",defaultValue:\"#03082D\"},focusColor:{type:ControlType.Color,title:\"Focus Ring\",defaultValue:\"#FFFFFF\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:4,min:0,max:40,unit:\"px\"},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:8,min:0,max:40,unit:\"px\"},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"12px 16px 12px 24px\"},showChevron:{type:ControlType.Boolean,title:\"Chevron\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ButtonFlip\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicWidth\":\"232\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"40\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ButtonFlip.map"],"mappings":"gRAC0C,IAAqF,IAA4B,EAAqC,EAAK,0BAAgC,EAAkB,EAAW,SAAS,EAAM,EAAI,CAAC,OAAoB,EAAK,MAAM,CAAC,GAAG,EAAU,MAAI,SAAS,EAAM,QAAQ,CAAC,CAAE,CAAC,EAAQ,EAAU,EAAO,OAAO,CAAI,EAAQ,EAAiB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAG,GAAM,EAAM,OAAO,EAAsB,EAAK,EAAU,CAAC,GAAG,EAAc,WAAa,MAAa,UAAQ,CAAC,EAAe,EAAK,MAAM,CAAC,GAAG,EAAS,MAAa,UAAQ,CAAC,CAAE,CAAC,EAAQ,EAAI,uWAA6W,GAAU,CAAC,QAAM,SAAO,KAAG,QAAM,SAAO,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAQ,EAAM,WAAW,EAAE,UAAU,GAAO,EAAM,WAAW,cAAc,GASnpC,EAAK,EAT+qCA,EAAiB,SAAS,EAAM,EAAI,CAAC,GAAK,CAAC,QAAM,YAAU,WAAS,UAAQ,YAAU,YAAU,GAAG,GAAW,EAAS,CAAK,EAAQ,EAAK,EAAe,aAAa,CAAG,EAAE,OAAoB,EAAK,EA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