{"version":3,"file":"Cycle.CDjUPU05.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/RzWra4Id5zHRApEoui8D/oNd1Z6MIzMXA6EMQfMhT/Cycle.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{motion}from\"framer-motion\";export default function MLCycleVisualization(){const[activeStep,setRotation]=useState(0);useEffect(()=>{const interval=setInterval(()=>{setRotation(prev=>prev===3?0:prev+1);},2e3);return()=>clearInterval(interval);},[]);const steps=[\"TRAIN\",\"TEST\",\"DEPLOY\",\"ANALYZE\"];return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:300,height:300},children:[/*#__PURE__*/_jsxs(motion.svg,{width:\"300\",height:\"300\",viewBox:\"0 0 300 300\",style:{position:\"absolute\",top:0,left:0,zIndex:1},animate:{rotate:360},transition:{duration:8,ease:\"linear\",repeat:Infinity},children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"150\",cy:\"150\",r:\"147\",fill:\"none\",stroke:\"#444\",strokeWidth:\"1\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"150\",cy:\"4\",r:\"4\",fill:\"#FF5600\"})]}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",width:300,height:300,zIndex:10},children:steps.map((step,index)=>{const angle=(index*90-90)*(Math.PI/180);const x=150+145*Math.cos(angle);const y=150+145*Math.sin(angle);const isActive=index===activeStep;return /*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",left:x,top:y,transform:\"translate(-50%, -50%)\"},animate:{background:isActive?\"#FF5600\":\"#161616\",color:isActive?\"#000\":\"#fff\",borderRadius:\"1.4em\",border:isActive?\"1px solid #ff5600\":\"1px solid rgba(148, 148, 148, 0.3)\"},transition:{duration:.3},children:/*#__PURE__*/_jsx(\"div\",{style:{whiteSpace:\"nowrap\",padding:\"0.7em 1em\"},children:step})},index);})})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\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