{"version":3,"file":"ProcessSection.CUme8plh.mjs","names":["useState","_jsx","_jsxs","__esmMin","init_npm_react_18_3_1","_e","p","c","init_jsx_runtime","addPropertyControls","init_framer_ChujFWHC","ControlType","motion","init_framer_motion_1EwlFBEG","ProcessSection","props","title","titleFont","titleColor","phases","phaseFont","phaseTextColor","dotColor","dotActiveColor","backgroundColor","padding","titleGap","layout","hoveredPhase","setHoveredPhase","phase","index","isTablet","isMobile","phasePadding","dotGap","dotMargin","dotSize","dotIndex","isActive","delay","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,SAAwBc,EAAeC,EAAM,CAAC,GAAK,CAACC,QAAMC,YAAUC,aAAWC,SAAOC,YAAUC,iBAAeC,WAASC,iB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