{"version":3,"file":"c2GsQL1VR.BScJGIue.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText"],"sources":["https:/framerusercontent.com/modules/uMt6za1d9zngxiNq1vek/1p3Hm4JirP4nwSFpR0ry/c2GsQL1VR.js"],"sourcesContent":["// Generated by Framer (612a550)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={dBJk8tzLG:{hover:true}};const serializationHash=\"framer-VJSJo\";const variantClassNames={dBJk8tzLG:\"framer-v-bljzwr\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({click,height,id,link,name1,newTab,smoothScroll,width,...props})=>{return{...props,aFyT8DAuI:smoothScroll??props.aFyT8DAuI,C5E2vw1WX:newTab??props.C5E2vw1WX,FjwQf49j8:link??props.FjwQf49j8,gsMvGWBuY:click??props.gsMvGWBuY,LDmhkOC5c:name1??props.LDmhkOC5c??\"Button\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,LDmhkOC5c,gsMvGWBuY,FjwQf49j8,C5E2vw1WX,aFyT8DAuI,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"dBJk8tzLG\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap1ma24rr=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(gsMvGWBuY){const res=await gsMvGWBuY(...args);if(res===false)return false;}});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{href:FjwQf49j8,motionChild:true,nodeId:\"dBJk8tzLG\",openInNewTab:C5E2vw1WX,scopeId:\"c2GsQL1VR\",smoothScroll:aFyT8DAuI,children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-bljzwr\",className,classNames)} framer-8vk5o9`,\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"dBJk8tzLG\",onTap:onTap1ma24rr,ref:refBinding,style:{backgroundColor:\"var(--token-50935b0e-4836-447e-a6db-5ec926c305c2, rgb(30, 21, 108))\",borderBottomLeftRadius:50,borderBottomRightRadius:50,borderTopLeftRadius:50,borderTopRightRadius:50,boxShadow:\"none\",...style},variants:{\"dBJk8tzLG-hover\":{backgroundColor:\"var(--token-5827365d-5454-403d-823b-5d77ae9e57af, rgb(252, 163, 17))\",boxShadow:\"0px 4px 8px -2px rgba(29, 20, 107, 0.24)\"}},...addPropertyOverrides({\"dBJk8tzLG-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"RlM7TWFucm9wZS1ib2xk\",\"--framer-font-family\":'\"Manrope\", \"Manrope Placeholder\", sans-serif',\"--framer-font-weight\":\"700\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-5d75d51e-2da0-4f0a-b041-3046154a6aa6, rgb(255, 255, 255)))\"},children:\"View Projects\"})}),className:\"framer-1gd2zvz\",\"data-framer-name\":\"View Projects\",fonts:[\"FS;Manrope-bold\"],layoutDependency:layoutDependency,layoutId:\"MgchfRLKI\",style:{\"--extracted-r6o4lv\":\"var(--token-5d75d51e-2da0-4f0a-b041-3046154a6aa6, rgb(255, 255, 255))\",\"--framer-paragraph-spacing\":\"0px\"},text:LDmhkOC5c,verticalAlignment:\"bottom\",withExternalLayout:true,...addPropertyOverrides({\"dBJk8tzLG-hover\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"RlM7TWFucm9wZS1ib2xk\",\"--framer-font-family\":'\"Manrope\", \"Manrope Placeholder\", sans-serif',\"--framer-font-weight\":\"700\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-5d75d51e-2da0-4f0a-b041-3046154a6aa6, rgb(255, 255, 255)))\"},children:\"Button\"})})}},baseVariant,gestureVariant)})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-VJSJo.framer-8vk5o9, .framer-VJSJo .framer-8vk5o9 { display: block; }\",\".framer-VJSJo.framer-bljzwr { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: visible; padding: 14px 28px 14px 28px; position: relative; text-decoration: none; width: min-content; }\",\".framer-VJSJo .framer-1gd2zvz { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 47\n * @framerIntrinsicWidth 109\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"pqoCdr2ip\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"LDmhkOC5c\":\"name1\",\"gsMvGWBuY\":\"click\",\"FjwQf49j8\":\"link\",\"C5E2vw1WX\":\"newTab\",\"aFyT8DAuI\":\"smoothScroll\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framerc2GsQL1VR=withCSS(Component,css,\"framer-VJSJo\");export default Framerc2GsQL1VR;Framerc2GsQL1VR.displayName=\"Button\";Framerc2GsQL1VR.defaultProps={height:47,width:109};addPropertyControls(Framerc2GsQL1VR,{LDmhkOC5c:{defaultValue:\"Button\",displayTextArea:false,title:\"Name\",type:ControlType.String},gsMvGWBuY:{title:\"Click\",type:ControlType.EventHandler},FjwQf49j8:{title:\"Link\",type:ControlType.Link},C5E2vw1WX:{defaultValue:false,title:\"New Tab\",type:ControlType.Boolean},aFyT8DAuI:{defaultValue:false,title:\"Smooth Scroll\",type:ControlType.Boolean}});addFonts(Framerc2GsQL1VR,[{explicitInter:true,fonts:[{family:\"Manrope\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/NGBUP45ES3F7RD5XGKPEDJ6QEPO4TMOK/EXDVWJ2EDDVVV65UENMX33EDDYBX6OF7/6P4FPMFQH7CCC7RZ4UU4NKSGJ2RLF7V5.woff2\",weight:\"700\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerc2GsQL1VR\",\"slots\":[],\"annotations\":{\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"pqoCdr2ip\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerVariables\":\"{\\\"LDmhkOC5c\\\":\\\"name1\\\",\\\"gsMvGWBuY\\\":\\\"click\\\",\\\"FjwQf49j8\\\":\\\"link\\\",\\\"C5E2vw1WX\\\":\\\"newTab\\\",\\\"aFyT8DAuI\\\":\\\"smoothScroll\\\"}\",\"framerIntrinsicHeight\":\"47\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"109\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./c2GsQL1VR.map"],"mappings":"yUACid,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,uCAA9kB,IAAkK,IAAkE,IAA4B,CAAgC,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,CAA8L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAS,EAAO,OAAOC,EAAe,CAAO,GAAU,CAAC,QAAM,SAAO,KAAG,OAAK,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