{"version":3,"file":"AmbMethodCard.1NGi2TOs.mjs","names":[],"sources":["https:/framerusercontent.com/modules/bZnRKUoeLLegs6qqhQMt/xlBO0u8PhsuTKTdUErCQ/AmbMethodCard.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function AmbMethodCard(props){const{number,title,duration,description,style:externalStyle}=props;// Derive the step badge from the title if it begins with \"N.\" or \"N ·\".\n// This is a workaround for Framer not letting us update the legacy\n// `number` prop on already-instantiated cards. Falls back to `number`.\nlet derivedBadge=number;let cleanTitle=title;const titleMatch=title.match(/^\\s*(\\d{1,2})\\s*[\\.·\\-—]\\s+(.*)$/);if(titleMatch){derivedBadge=titleMatch[1];cleanTitle=titleMatch[2];}return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:\"clamp(12px, 1.5vw, 16px)\",padding:\"clamp(20px, 2.8vw, 32px) clamp(20px, 2.5vw, 28px)\",backgroundColor:\"rgba(255,255,255,0.06)\",borderRadius:12,border:\"1px solid rgba(255,255,255,0.08)\",fontFamily:\"Inter, sans-serif\",width:\"100%\",boxSizing:\"border-box\",...externalStyle},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:\"clamp(10px, 1.3vw, 14px)\",flexWrap:\"wrap\"},children:[derivedBadge?/*#__PURE__*/_jsx(\"span\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"clamp(34px, 3.5vw, 40px)\",height:\"clamp(34px, 3.5vw, 40px)\",borderRadius:10,backgroundColor:\"#E67A30\",color:\"#FFFFFF\",fontSize:\"clamp(14px, 1.5vw, 16px)\",fontWeight:700,flexShrink:0},children:derivedBadge}):null,/*#__PURE__*/_jsx(\"h4\",{style:{margin:0,fontSize:\"clamp(17px, 1.8vw, 20px)\",fontWeight:600,lineHeight:\"1.3em\",color:\"#FFFFFF\",flex:\"1 1 auto\",minWidth:0},children:cleanTitle})]}),duration&&/*#__PURE__*/_jsx(\"span\",{style:{fontSize:\"clamp(12px, 1.15vw, 13px)\",fontWeight:600,letterSpacing:\"0.04em\",textTransform:\"uppercase\",color:\"#E67A30\"},children:duration}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontSize:\"clamp(14px, 1.45vw, 16px)\",fontWeight:400,lineHeight:\"1.6em\",color:\"rgba(255,255,255,0.65)\"},children:description})]});}AmbMethodCard.defaultProps={number:\"\",title:\"1. Diagnostico de movilidad\",duration:\"2 semanas\",description:\"Analisis de patrones de desplazamiento, turnos y residencia de la plantilla.\"};addPropertyControls(AmbMethodCard,{number:{type:ControlType.String,title:\"Step (optional)\",description:\"Optional. Leave empty and prefix title with 'N. ' — badge is auto-derived from the title.\",defaultValue:\"\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"1. Diagnostico de movilidad\",description:\"Tip: prefix with 'N. ' (e.g. '2. Encuesta') and the number will appear as an orange badge.\"},duration:{type:ControlType.String,title:\"Duration\",defaultValue:\"2 semanas\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"Analisis de patrones de desplazamiento, turnos y residencia de la plantilla.\",displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AmbMethodCard\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AmbMethodCard.map"],"mappings":"mKAGG,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,SAAO,QAAM,WAAS,cAAY,MAAM,GAAe,EAGzG,EAAa,EAAW,EAAW,EAAY,EAAW,EAAM,MAAM,mCAAmC,CAAqE,OAAjE,IAAY,EAAa,EAAW,GAAG,EAAW,EAAW,IAAwB,EAAM,MAAM,CAAC,M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