{"version":3,"file":"ProcessSection.BFDt55jh.mjs","names":["useState","__esmMin","init_npm_react_18_3_1","_e","p","c","init_jsx_runtime","motion","init_framer_motion_DhsWWWsN","addPropertyControls","init_framer_D6uXRwWs","ControlType","ProcessSection","props","hoveredPhase","setHoveredPhase","layout","titleGap","titleColor","titleFont","title","phases","isTablet","isMobile","phasePadding","dotGap","dotMargin","dotSize","phase","index","phaseTextColor","phaseFont","isActive","delay","dotIndex","dotColor","dotActiveColor","init_ProcessSection"],"sources":["https:/framerusercontent.com/modules/StdoqyQlOw9Tez1Gipgh/SbQil2a1uLBda4WjxtEK/ProcessSection.js"],"sourcesContent":["// Interactive process section with animated dots between phases\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";/**\n * Interactive Process Section\n *\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 400\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function ProcessSection(props){const{title,titleFont,titleColor,phases,phaseFont,phaseTextColor,dotColor,dotActiveColor,backgroundColor,padding,titleGap,layout}=props;const[hoveredPhase,setHoveredPhase]=useState(null);return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundColor,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",padding,position:\"relative\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:layout===\"mobile\"?\"center\":\"flex-start\"},children:[/*#__PURE__*/_jsx(\"p\",{style:{margin:0,marginBottom:titleGap,color:titleColor,textAlign:layout===\"mobile\"?\"center\":\"left\",...titleFont},children:title}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:layout===\"mobile\"?\"column\":\"row\",alignItems:\"center\",gap:0},children:phases.map((phase,index)=>{const isTablet=layout===\"tablet\";const isMobile=layout===\"mobile\";const phasePadding=isMobile?\"16px 28px\":isTablet?\"20px 32px\":\"32px 48px\";const dotGap=isMobile?6:isTablet?6:8;const dotMargin=isMobile?\"12px 0\":isTablet?\"0 12px\":\"0 20px\";const dotSize=isMobile?4:isTablet?4:6;return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:layout===\"mobile\"?\"column\":\"row\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(motion.div,{style:{backgroundColor:phase.color,borderRadius:100,padding:phasePadding,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\",position:\"relative\"},onHoverStart:()=>setHoveredPhase(index),onHoverEnd:()=>setHoveredPhase(null),whileHover:{scale:1.05},transition:{duration:.3},children:/*#__PURE__*/_jsx(\"span\",{style:{color:phaseTextColor,...phaseFont},children:phase.label})}),index<phases.length-1&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:layout===\"mobile\"?\"column\":\"row\",alignItems:\"center\",gap:dotGap,margin:dotMargin},children:[0,1,2].map(dotIndex=>{const isActive=hoveredPhase===index||hoveredPhase===index+1;const delay=dotIndex*.1;return /*#__PURE__*/_jsx(motion.div,{style:{width:dotSize,height:dotSize,borderRadius:\"50%\",backgroundColor:dotColor},animate:{backgroundColor:isActive?dotActiveColor:dotColor,scale:isActive?[1,1.5,1]:1},transition:{duration:.6,delay:isActive?delay:0,repeat:isActive?Number.POSITIVE_INFINITY:0,repeatDelay:.3}},dotIndex);})})]},index);})})]})});}addPropertyControls(ProcessSection,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"From 6 Weeks\"},titleFont:{type:ControlType.Font,title:\"Title Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"48px\",variant:\"Regular\",letterSpacing:\"-0.02em\",lineHeight:\"1.2em\"}},titleColor:{type:ControlType.Color,title:\"Title Color\",defaultValue:\"#000000\"},phases:{type:ControlType.Array,title:\"Phases\",control:{type:ControlType.Object,controls:{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Phase\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#E0E7FF\"}}},defaultValue:[{label:\"Discovery\",color:\"#D4E0F7\"},{label:\"Architecture\",color:\"#F7D4E0\"},{label:\"Design\",color:\"#F7EDD4\"},{label:\"Validation\",color:\"#D4F7E0\"}]},phaseFont:{type:ControlType.Font,title:\"Phase Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"24px\",variant:\"Regular\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}},phaseTextColor:{type:ControlType.Color,title:\"Phase Text Color\",defaultValue:\"#000000\"},dotColor:{type:ControlType.Color,title:\"Dot Color\",defaultValue:\"#CCCCCC\"},dotActiveColor:{type:ControlType.Color,title:\"Dot Active Color\",defaultValue:\"#000000\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"60px 80px\"},titleGap:{type:ControlType.Number,title:\"Title Gap\",defaultValue:80,min:0,max:200,step:4,unit:\"px\"},layout:{type:ControlType.Enum,title:\"Layout\",options:[\"desktop\",\"tablet\",\"mobile\"],optionTitles:[\"Desktop\",\"Tablet\",\"Mobile\"],defaultValue:\"desktop\",displaySegmentedControl:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProcessSection\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"1200\",\"framerIntrinsicHeight\":\"400\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProcessSection.map"],"mappings":"A,kOASG,SAAwBY,EAAe,EAAM,CAAC,GAAK,CAAC,QAAM,YAAU,aAAW,SAAO,YAAU,iBAAe,WAAS,iBAAe,kBAAgB,UAAQ,WAAS,UAAQ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