{"version":3,"file":"Wt4XK6WYf.C7-RhpDB.mjs","names":["ButtonShiftingComponent","React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/8AjL6eusAPHZAMnoWOFo/VT5Jy5LLb6kfblW8u6iN/Wt4XK6WYf.js"],"sourcesContent":["// Generated by Framer (cbc36cd)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import ButtonShiftingComponent from\"https://framerusercontent.com/modules/o8Yam8EypW8DgSvhafB4/XdMafRxhFIPNBiiGMk1O/iOe3EjMg9.js\";const ButtonShiftingComponentFonts=getFonts(ButtonShiftingComponent);const enabledGestures={iJrMk7HF5:{hover:true}};const cycleOrder=[\"iJrMk7HF5\",\"TM6f2ytrb\"];const serializationHash=\"framer-PCXnz\";const variantClassNames={iJrMk7HF5:\"framer-v-1irdo7w\",TM6f2ytrb:\"framer-v-8j0kce\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const JQPbxOZrF=undefined;const Gh9QOfeLM=undefined;const CSyo3aTPk=undefined;const vZZm_o9LA=undefined;const transition1={damping:40,delay:0,mass:1,stiffness:350,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:\"iJrMk7HF5\",Secondary:\"TM6f2ytrb\"};const getProps=({height,id,link,newTab,smoothScroll,title,width,...props})=>{return{...props,CSyo3aTPk:newTab??props.CSyo3aTPk,Gh9QOfeLM:title??props.Gh9QOfeLM??\"SEE WORKS\",JQPbxOZrF:link??props.JQPbxOZrF,variant:humanReadableVariantMap[props.variant]??props.variant??\"iJrMk7HF5\",vZZm_o9LA:smoothScroll??props.vZZm_o9LA};};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,Gh9QOfeLM,JQPbxOZrF,vZZm_o9LA,CSyo3aTPk,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"iJrMk7HF5\",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(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1irdo7w\",className,classNames),\"data-framer-name\":\"Primary\",layoutDependency:layoutDependency,layoutId:\"iJrMk7HF5\",ref:refBinding,style:{...style},...addPropertyOverrides({\"iJrMk7HF5-hover\":{\"data-framer-name\":undefined},TM6f2ytrb:{\"data-framer-name\":\"Secondary\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ComponentViewportProvider,{height:59,y:(componentViewport?.y||0)+(0+((componentViewport?.height||59)-0-59)/2),children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-2786bk-container\",layoutDependency:layoutDependency,layoutId:\"dMGf_gxB3-container\",nodeId:\"dMGf_gxB3\",rendersWithMotion:true,scopeId:\"Wt4XK6WYf\",children:/*#__PURE__*/_jsx(ButtonShiftingComponent,{agj6V7xLp:Gh9QOfeLM,AVYECzqXT:{delay:0,duration:.65,ease:[0,-.12,0,.98],type:\"tween\"},b8GqL2nCK:CSyo3aTPk,Beq2DmjqT:JQPbxOZrF,gbJgcbPXU:\"rgb(0, 0, 0)\",height:\"100%\",id:\"dMGf_gxB3\",jky64j8Vn:vZZm_o9LA,layoutId:\"dMGf_gxB3\",MTfthlWU8:\"rgb(255, 255, 255)\",nmp419DCF:\"0px\",Q9g9wF8v_:\"0px\",width:\"100%\",xAIIjqtSK:16,yfWpyEO_p:\"rgb(255, 255, 255)\"})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-PCXnz.framer-dyycq1, .framer-PCXnz .framer-dyycq1 { display: block; }\",\".framer-PCXnz.framer-1irdo7w { 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: hidden; padding: 0px; position: relative; width: min-content; }\",\".framer-PCXnz .framer-2786bk-container { flex: none; height: auto; position: relative; width: auto; }\",\".framer-PCXnz.framer-v-8j0kce.framer-1irdo7w { cursor: unset; }\",\".framer-PCXnz.framer-v-1irdo7w.hover .framer-2786bk-container { order: 0; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 59\n * @framerIntrinsicWidth 153\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"TM6f2ytrb\":{\"layout\":[\"auto\",\"auto\"]},\"RI9kxiEAX\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"Gh9QOfeLM\":\"title\",\"JQPbxOZrF\":\"link\",\"vZZm_o9LA\":\"smoothScroll\",\"CSyo3aTPk\":\"newTab\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerWt4XK6WYf=withCSS(Component,css,\"framer-PCXnz\");export default FramerWt4XK6WYf;FramerWt4XK6WYf.displayName=\"Primary Button\";FramerWt4XK6WYf.defaultProps={height:59,width:153};addPropertyControls(FramerWt4XK6WYf,{variant:{options:[\"iJrMk7HF5\",\"TM6f2ytrb\"],optionTitles:[\"Primary\",\"Secondary\"],title:\"Variant\",type:ControlType.Enum},Gh9QOfeLM:{defaultValue:\"SEE WORKS\",displayTextArea:false,title:\"Title\",type:ControlType.String},JQPbxOZrF:{title:\"Link\",type:ControlType.Link},vZZm_o9LA:{defaultValue:false,title:\"Smooth Scroll\",type:ControlType.Boolean},CSyo3aTPk:{defaultValue:false,title:\"New Tab\",type:ControlType.Boolean}});addFonts(FramerWt4XK6WYf,[{explicitInter:true,fonts:[]},...ButtonShiftingComponentFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerWt4XK6WYf\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"TM6f2ytrb\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"RI9kxiEAX\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicHeight\":\"59\",\"framerIntrinsicWidth\":\"153\",\"framerVariables\":\"{\\\"Gh9QOfeLM\\\":\\\"title\\\",\\\"JQPbxOZrF\\\":\\\"link\\\",\\\"vZZm_o9LA\\\":\\\"smoothScroll\\\",\\\"CSyo3aTPk\\\":\\\"newTab\\\"}\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Wt4XK6WYf.map"],"mappings":"mYAC0vB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,6CAAv3B,IAA4L,IAAkE,IAA4B,IAA4J,CAAM,EAA6B,EAASA,EAAwB,CAAO,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,kBAAkB,CAAsS,EAAY,CAAC,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,UAAU,IAAI,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOC,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,EAAwB,CAAC,QAAQ,YAAY,UAAU,YAAY,CAAO,GAAU,CAAC,SAAO,KAAG,OAAK,SAAO,eAAa,QAAM,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAQ,EAAM,UAAU,UAAU,GAAO,EAAM,WAAW,YAAY,UAAU,GAAM,EAAM,UAAU,QAAQ,EAAwB,EAAM,UAAU,EAAM,SAAS,YAAY,UAAU,GAAc,EAAM,UAAU,EAAS,GAAwB,EAAM,IAAe,EAAM,iBAAwB,EAAS,KAAK,IAAI,CAAC,EAAM,iBAAwB,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