{"version":3,"file":"shared-lib.2PCQdwlp.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText"],"sources":["https:/framerusercontent.com/modules/BXbx0smg8Fk5fefIgFMN/EdgdzOUPr7c3VN2CyOG7/IGLwMWkWU.js"],"sourcesContent":["// Generated by Framer (0ea0c8c)\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={jSvPTAdSw:{hover:true},T6fRlYiz6:{hover:true}};const cycleOrder=[\"X_ouPR4RX\",\"jSvPTAdSw\",\"T6fRlYiz6\"];const serializationHash=\"framer-bP0nq\";const variantClassNames={jSvPTAdSw:\"framer-v-130v3aa\",T6fRlYiz6:\"framer-v-1lny782\",X_ouPR4RX:\"framer-v-akyosb\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const jXO4RMbMA=undefined;const drxRfGdgR=undefined;const Gm0SzM1Lr=undefined;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 humanReadableVariantMap={\"Secondary Light\":\"T6fRlYiz6\",Primary:\"X_ouPR4RX\"};const Variants=motion.create(React.Fragment);const getProps=({backgroundColor,buttonText,height,id,link,width,...props})=>{return{...props,drxRfGdgR:link??props.drxRfGdgR,Gm0SzM1Lr:buttonText??props.Gm0SzM1Lr??\"Button\",jXO4RMbMA:backgroundColor??props.jXO4RMbMA??\"var(--token-b4f2e63f-daef-4821-8e60-f6d79c2b83a4, rgb(141, 173, 190))\",variant:humanReadableVariantMap[props.variant]??props.variant??\"X_ouPR4RX\"};};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,Gm0SzM1Lr,jXO4RMbMA,drxRfGdgR,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"X_ouPR4RX\",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:drxRfGdgR,motionChild:true,nodeId:\"X_ouPR4RX\",openInNewTab:true,scopeId:\"IGLwMWkWU\",...addPropertyOverrides({jSvPTAdSw:{openInNewTab:false,smoothScroll:true},T6fRlYiz6:{openInNewTab:false,smoothScroll:true}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-akyosb\",className,classNames)} framer-1vz08c7`,\"data-framer-name\":\"Primary\",layoutDependency:layoutDependency,layoutId:\"X_ouPR4RX\",ref:refBinding,style:{backgroundColor:jXO4RMbMA,borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10,boxShadow:\"0px 1px 2px 0px rgba(16, 24, 40, 0.05), inset 0px -2px 0px 0px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.13)\",...style},variants:{\"jSvPTAdSw-hover\":{backgroundColor:\"rgb(255, 90, 90)\"},\"T6fRlYiz6-hover\":{backgroundColor:\"rgb(255, 84, 90)\"},jSvPTAdSw:{backgroundColor:\"rgb(139, 17, 22)\",boxShadow:\"0px 1px 2px 0px rgba(16, 24, 40, 0.05)\"},T6fRlYiz6:{backgroundColor:\"rgb(139, 17, 22)\",boxShadow:\"0px 1px 2px 0px rgba(16, 24, 40, 0.05)\"}},...addPropertyOverrides({\"jSvPTAdSw-hover\":{\"data-framer-name\":undefined},\"T6fRlYiz6-hover\":{\"data-framer-name\":undefined},jSvPTAdSw:{\"data-framer-name\":\"Secondary Light\"},T6fRlYiz6:{\"data-framer-name\":\"Secondary Light\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1tk1lmc\",\"data-framer-name\":\"Text padding\",layoutDependency:layoutDependency,layoutId:\"B_u0jZ8nG\",children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"SGVsdmV0aWNhTmV1ZS1NZWRpdW0=\",\"--framer-font-family\":'\"HelveticaNeue-Medium\", \"Helvetica Neue\", sans-serif',\"--framer-letter-spacing\":\"-0.01em\",\"--framer-line-height\":\"140%\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-c0deaf3a-1d87-41f8-bff6-c104dc30a7f8, rgb(255, 255, 255)))\"},children:\"Button\"})}),className:\"framer-17jofp3\",\"data-framer-name\":\"Text\",fonts:[\"HelveticaNeue-Medium\"],layoutDependency:layoutDependency,layoutId:\"Xw9kZDvuZ\",style:{\"--extracted-r6o4lv\":\"var(--token-c0deaf3a-1d87-41f8-bff6-c104dc30a7f8, rgb(255, 255, 255))\",\"--framer-paragraph-spacing\":\"18px\"},text:Gm0SzM1Lr,variants:{jSvPTAdSw:{\"--extracted-r6o4lv\":\"var(--token-ddabe0d3-9b80-4d8d-98c7-af7cb81c665f, rgb(255, 255, 255))\"},T6fRlYiz6:{\"--extracted-r6o4lv\":\"var(--token-ddabe0d3-9b80-4d8d-98c7-af7cb81c665f, rgb(255, 255, 255))\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({jSvPTAdSw:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"SGVsdmV0aWNhTmV1ZS1NZWRpdW0=\",\"--framer-font-family\":'\"HelveticaNeue-Medium\", \"Helvetica Neue\", sans-serif',\"--framer-font-size\":\"22px\",\"--framer-letter-spacing\":\"-0.01em\",\"--framer-line-height\":\"140%\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-ddabe0d3-9b80-4d8d-98c7-af7cb81c665f, rgb(255, 255, 255)))\",\"--framer-text-transform\":\"uppercase\"},children:\"Button\"})})},T6fRlYiz6:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"SGVsdmV0aWNhTmV1ZS1NZWRpdW0=\",\"--framer-font-family\":'\"HelveticaNeue-Medium\", \"Helvetica Neue\", sans-serif',\"--framer-letter-spacing\":\"-0.01em\",\"--framer-line-height\":\"140%\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-ddabe0d3-9b80-4d8d-98c7-af7cb81c665f, rgb(255, 255, 255)))\",\"--framer-text-transform\":\"uppercase\"},children:\"Button\"})})}},baseVariant,gestureVariant)})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-bP0nq.framer-1vz08c7, .framer-bP0nq .framer-1vz08c7 { display: block; }\",\".framer-bP0nq.framer-akyosb { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 6px; height: min-content; justify-content: center; overflow: hidden; padding: 12px 16px 12px 18px; position: relative; text-decoration: none; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-bP0nq .framer-1tk1lmc { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: visible; padding: 0px 2px 0px 2px; position: relative; width: min-content; }\",\".framer-bP0nq .framer-17jofp3 { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-bP0nq.framer-v-130v3aa.framer-akyosb { cursor: pointer; gap: 10px; padding: 12px 20px 12px 20px; width: 133px; }\",\".framer-bP0nq.framer-v-1lny782.framer-akyosb { cursor: pointer; gap: 10px; padding: 12px 20px 12px 20px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 46.5\n * @framerIntrinsicWidth 87\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"jSvPTAdSw\":{\"layout\":[\"fixed\",\"auto\"]},\"T6fRlYiz6\":{\"layout\":[\"auto\",\"auto\"]},\"Ow5XYCR3v\":{\"layout\":[\"fixed\",\"auto\"]},\"HTpHDsJ_u\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"Gm0SzM1Lr\":\"buttonText\",\"jXO4RMbMA\":\"backgroundColor\",\"drxRfGdgR\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerIGLwMWkWU=withCSS(Component,css,\"framer-bP0nq\");export default FramerIGLwMWkWU;FramerIGLwMWkWU.displayName=\"Bouton OLR\";FramerIGLwMWkWU.defaultProps={height:46.5,width:87};addPropertyControls(FramerIGLwMWkWU,{variant:{options:[\"X_ouPR4RX\",\"jSvPTAdSw\",\"T6fRlYiz6\"],optionTitles:[\"Primary\",\"Secondary Light\",\"Secondary Light\"],title:\"Variant\",type:ControlType.Enum},Gm0SzM1Lr:{defaultValue:\"Button\",displayTextArea:false,placeholder:\"Insert text\",title:\"Button Text\",type:ControlType.String},onGm0SzM1LrChange:{changes:\"Gm0SzM1Lr\",type:ControlType.ChangeHandler},jXO4RMbMA:{defaultValue:'var(--token-b4f2e63f-daef-4821-8e60-f6d79c2b83a4, rgb(141, 173, 190)) /* {\"name\":\"bleu\"} */',title:\"Background Color\",type:ControlType.Color},drxRfGdgR:{title:\"Link\",type:ControlType.Link}});addFonts(FramerIGLwMWkWU,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerIGLwMWkWU\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"jSvPTAdSw\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"T6fRlYiz6\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"Ow5XYCR3v\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"HTpHDsJ_u\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerVariables\":\"{\\\"Gm0SzM1Lr\\\":\\\"buttonText\\\",\\\"jXO4RMbMA\\\":\\\"backgroundColor\\\",\\\"drxRfGdgR\\\":\\\"link\\\"}\",\"framerColorSyntax\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicWidth\":\"87\",\"framerIntrinsicHeight\":\"46.5\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./IGLwMWkWU.map"],"mappings":"sUACgkB,SAAS,EAAq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