{"version":3,"file":"aSbrJ295S.C2O2QaQn.mjs","names":["AtomsCTA","React.useContext","React.useMemo","React.Fragment","React.useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/N8iHvp7Gutb92mVCIPqh/Ykds7s8U50RGQ8kFWuEg/aSbrJ295S.js"],"sourcesContent":["// Generated by Framer (d31cd55)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import AtomsCTA from\"https://framerusercontent.com/modules/Abb0uJjxcyHYpmFMWNdM/B01qGHV3VUmviGd6Z5rO/o3ZqkYIe_.js\";const AtomsCTAFonts=getFonts(AtomsCTA);const cycleOrder=[\"BGGsiQ4NF\",\"hCltrp0q8\"];const serializationHash=\"framer-B3qNN\";const variantClassNames={BGGsiQ4NF:\"framer-v-bjzyxx\",hCltrp0q8:\"framer-v-qkzsdk\"};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(React.Fragment);const humanReadableVariantMap={Phone:\"hCltrp0q8\",Tablet:\"BGGsiQ4NF\"};const getProps=({click,height,id,width,...props})=>{return{...props,QOMhxg1ma:click??props.QOMhxg1ma,variant:humanReadableVariantMap[props.variant]??props.variant??\"BGGsiQ4NF\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,QOMhxg1ma,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"BGGsiQ4NF\",variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const N2_ubu5Rv133lq97=activeVariantCallback(async(...args)=>{if(QOMhxg1ma){const res=await QOMhxg1ma(...args);if(res===false)return false;}});const ref1=React.useRef(null);const defaultLayoutId=React.useId();const sharedStyleClassNames=[];const componentViewport=useComponentViewport();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(serializationHash,...sharedStyleClassNames,\"framer-bjzyxx\",className,classNames),\"data-framer-name\":\"Tablet\",layoutDependency:layoutDependency,layoutId:\"BGGsiQ4NF\",ref:ref??ref1,style:{backgroundColor:\"rgb(255, 255, 255)\",boxShadow:\"0px 2px 8px 0px rgba(0,0,0,0.25)\",...style},...addPropertyOverrides({hCltrp0q8:{\"data-framer-name\":\"Phone\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ComponentViewportProvider,{height:45,y:(componentViewport?.y||0)+(12+((componentViewport?.height||69)-24-45)/2),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1auwmap-container\",layoutDependency:layoutDependency,layoutId:\"VQTZHreRg-container\",children:/*#__PURE__*/_jsx(AtomsCTA,{bxKl7qEvQ:\"Preventivo Gratuito\",fJCz8Ca_I:\"\",height:\"100%\",id:\"VQTZHreRg\",layoutId:\"VQTZHreRg\",mnAmKPFv9:false,N2_ubu5Rv:N2_ubu5Rv133lq97,P5n0pEJ_6:false,variant:\"z01zWlTgD\",width:\"100%\"})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-B3qNN.framer-idvjz2, .framer-B3qNN .framer-idvjz2 { display: block; }\",\".framer-B3qNN.framer-bjzyxx { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; padding: 12px 0px 12px 0px; position: relative; width: 810px; }\",\".framer-B3qNN .framer-1auwmap-container { flex: none; height: auto; position: relative; width: auto; z-index: 10; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-B3qNN.framer-bjzyxx { gap: 0px; } .framer-B3qNN.framer-bjzyxx > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-B3qNN.framer-bjzyxx > :first-child { margin-left: 0px; } .framer-B3qNN.framer-bjzyxx > :last-child { margin-right: 0px; } }\",\".framer-B3qNN.framer-v-qkzsdk.framer-bjzyxx { width: 390px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 69\n * @framerIntrinsicWidth 810\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"hCltrp0q8\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"QOMhxg1ma\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FrameraSbrJ295S=withCSS(Component,css,\"framer-B3qNN\");export default FrameraSbrJ295S;FrameraSbrJ295S.displayName=\"Atoms/CTA-Preventivo\";FrameraSbrJ295S.defaultProps={height:69,width:810};addPropertyControls(FrameraSbrJ295S,{variant:{options:[\"BGGsiQ4NF\",\"hCltrp0q8\"],optionTitles:[\"Tablet\",\"Phone\"],title:\"Variant\",type:ControlType.Enum},QOMhxg1ma:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FrameraSbrJ295S,[{explicitInter:true,fonts:[]},...AtomsCTAFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FrameraSbrJ295S\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"hCltrp0q8\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"69\",\"framerIntrinsicWidth\":\"810\",\"framerComponentViewportWidth\":\"true\",\"framerVariables\":\"{\\\"QOMhxg1ma\\\":\\\"click\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"gqBAC8nB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,2CAA3vB,IAAuL,IAAkE,IAA4B,IAAmH,CAAM,EAAc,EAASA,EAAS,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,kBAAkB,CAA8L,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,EAAOC,EAAe,CAAO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