{"version":3,"file":"ZTnoO8DF2.z3-AO2fQ.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/p3mBLH4lMC3vS6E3sLlB/HeLFpLdYPtH9a1St13FG/ZTnoO8DF2.js"],"sourcesContent":["// Generated by Framer (99f3353)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={IcHLFun6F:{hover:true},MI2QLdONH:{hover:true}};const cycleOrder=[\"IcHLFun6F\",\"MI2QLdONH\"];const serializationHash=\"framer-Y8OLo\";const variantClassNames={IcHLFun6F:\"framer-v-1a55g6i\",MI2QLdONH:\"framer-v-x47nts\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={damping:60,delay:0,mass:1,stiffness:500,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 humanReadableVariantMap={\"Primary Button\":\"IcHLFun6F\",\"Secondary Button\":\"MI2QLdONH\"};const getProps=({buttonText,height,id,link,width,...props})=>{return{...props,eDE7FXaeB:link??props.eDE7FXaeB,variant:humanReadableVariantMap[props.variant]??props.variant??\"IcHLFun6F\",XYD8ic09O:buttonText??props.XYD8ic09O??\"This is 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,XYD8ic09O,eDE7FXaeB,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"IcHLFun6F\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);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:eDE7FXaeB,motionChild:true,nodeId:\"IcHLFun6F\",scopeId:\"ZTnoO8DF2\",children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-1a55g6i\",className,classNames)} framer-1jjfouf`,\"data-border\":true,\"data-framer-name\":\"Primary Button\",layoutDependency:layoutDependency,layoutId:\"IcHLFun6F\",ref:refBinding,style:{\"--border-bottom-width\":\"0px\",\"--border-color\":\"rgb(66, 66, 66)\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-style\":\"solid\",\"--border-top-width\":\"0px\",background:\"linear-gradient(180deg, rgb(3, 145, 22) 0%, rgb(3, 145, 22) 100%)\",backgroundColor:\"rgb(3, 145, 22)\",borderBottomLeftRadius:15,borderBottomRightRadius:15,borderTopLeftRadius:15,borderTopRightRadius:15,boxShadow:\"none\",...style},variants:{\"IcHLFun6F-hover\":{\"--border-color\":\"rgb(99, 99, 99)\",background:\"linear-gradient(180deg, rgb(43, 43, 43) 0%, rgb(43, 43, 43) 100%)\",backgroundColor:\"rgb(43, 43, 43)\",boxShadow:\"0px 2px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px 1px rgb(38, 38, 38)\"},\"MI2QLdONH-hover\":{background:\"linear-gradient(180deg, rgb(247, 247, 247) 0%, rgb(237, 237, 237) 114.15365884115907%)\"},MI2QLdONH:{\"--border-color\":\"rgb(227, 227, 227)\",background:\"linear-gradient(180deg, rgb(255, 255, 255) 0%, rgb(237, 237, 237) 100%)\",backgroundColor:\"rgba(0, 0, 0, 0)\",boxShadow:\"0px 2px 4px 1px rgba(0, 0, 0, 0.1), 0px 0px 0px 1px rgb(227, 227, 227)\"}},...addPropertyOverrides({\"IcHLFun6F-hover\":{\"data-framer-name\":undefined},\"MI2QLdONH-hover\":{\"data-framer-name\":undefined},MI2QLdONH:{\"data-framer-name\":\"Secondary Button\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItTWVkaXVt\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"24px\"},children:/*#__PURE__*/_jsx(motion.span,{\"data-text-fill\":\"true\",style:{backgroundImage:\"linear-gradient(0deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 360.087%)\"},children:\"Browse Template\"})})}),className:\"framer-1pmxjeq\",\"data-framer-name\":\"Browse Template\",fonts:[\"Inter-Medium\"],layoutDependency:layoutDependency,layoutId:\"atLxCGt50\",style:{\"--framer-paragraph-spacing\":\"0px\"},text:XYD8ic09O,verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({MI2QLdONH:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItTWVkaXVt\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"24px\"},children:/*#__PURE__*/_jsx(motion.span,{\"data-text-fill\":\"true\",style:{backgroundImage:\"linear-gradient(0deg, rgb(60, 61, 76) 0%, rgba(60, 61, 76, 0.3) 185%)\"},children:\"This is Button\"})})})}},baseVariant,gestureVariant)})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-Y8OLo.framer-1jjfouf, .framer-Y8OLo .framer-1jjfouf { display: block; }\",\".framer-Y8OLo.framer-1a55g6i { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; height: 40px; justify-content: center; overflow: hidden; padding: 10px 16px 10px 16px; position: relative; text-decoration: none; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-Y8OLo .framer-1pmxjeq { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-Y8OLo.framer-1a55g6i { gap: 0px; } .framer-Y8OLo.framer-1a55g6i > * { margin: 0px; margin-left: calc(8px / 2); margin-right: calc(8px / 2); } .framer-Y8OLo.framer-1a55g6i > :first-child { margin-left: 0px; } .framer-Y8OLo.framer-1a55g6i > :last-child { margin-right: 0px; } }\",'.framer-Y8OLo[data-border=\"true\"]::after, .framer-Y8OLo [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 122.5\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]},\"MI2QLdONH\":{\"layout\":[\"auto\",\"fixed\"]},\"Ma4QBzpk0\":{\"layout\":[\"auto\",\"fixed\"]},\"pSUN2HbYs\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerVariables {\"XYD8ic09O\":\"buttonText\",\"eDE7FXaeB\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerZTnoO8DF2=withCSS(Component,css,\"framer-Y8OLo\");export default FramerZTnoO8DF2;FramerZTnoO8DF2.displayName=\"Button Copy 9\";FramerZTnoO8DF2.defaultProps={height:40,width:122.5};addPropertyControls(FramerZTnoO8DF2,{variant:{options:[\"IcHLFun6F\",\"MI2QLdONH\"],optionTitles:[\"Primary Button\",\"Secondary Button\"],title:\"Variant\",type:ControlType.Enum},XYD8ic09O:{defaultValue:\"This is Button\",displayTextArea:false,title:\"Button Text\",type:ControlType.String},eDE7FXaeB:{title:\"Link\",type:ControlType.Link}});addFonts(FramerZTnoO8DF2,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5A3Ce6C9YYmCjpQx9M4inSaKU.woff2\",weight:\"500\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/Qx95Xyt0Ka3SGhinnbXIGpEIyP4.woff2\",weight:\"500\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/6mJuEAguuIuMog10gGvH5d3cl8.woff2\",weight:\"500\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/xYYWaj7wCU5zSQH0eXvSaS19wo.woff2\",weight:\"500\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/otTaNuNpVK4RbdlT7zDDdKvQBA.woff2\",weight:\"500\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/d3tHnaQIAeqiE5hGcRw4mmgWYU.woff2\",weight:\"500\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/DolVirEGb34pEXEp8t8FQBSK4.woff2\",weight:\"500\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerZTnoO8DF2\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"MI2QLdONH\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"Ma4QBzpk0\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"pSUN2HbYs\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]}}}\",\"framerVariables\":\"{\\\"XYD8ic09O\\\":\\\"buttonText\\\",\\\"eDE7FXaeB\\\":\\\"link\\\"}\",\"framerIntrinsicWidth\":\"122.5\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerI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