const l=t=>{const{componentCls:i,descriptionWidth:r,lineHeight:o,stepsCurrentDotSize:e,stepsDotSize:n,motionDurationSlow:a}=t;return{[`&${i}-dot, &${i}-dot${i}-small`]:{[`${i}-item`]:{"&-title":{lineHeight:o},"&-tail":{top:Math.floor((t.stepsDotSize-t.lineWidth*3)/2),width:"100%",marginTop:0,marginBottom:0,marginInline:`${r/2}px 0`,padding:0,"&::after":{width:`calc(100% - ${t.marginSM*2}px)`,height:t.lineWidth*3,marginInlineStart:t.marginSM}},"&-icon":{width:n,height:n,marginInlineStart:(t.descriptionWidth-n)/2,paddingInlineEnd:0,lineHeight:`${n}px`,background:"transparent",border:0,[`${i}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${a}`,"&::after":{position:"absolute",top:-t.marginSM,insetInlineStart:(n-t.controlHeightLG*1.5)/2,width:t.controlHeightLG*1.5,height:t.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:r},[`&-process ${i}-item-icon`]:{position:"relative",top:(n-e)/2,width:e,height:e,lineHeight:`${e}px`,background:"none",marginInlineStart:(t.descriptionWidth-e)/2},[`&-process ${i}-icon`]:{[`&:first-child ${i}-icon-dot`]:{insetInlineStart:0}}}},[`&${i}-vertical${i}-dot`]:{[`${i}-item-icon`]:{marginTop:(t.controlHeight-n)/2,marginInlineStart:0,background:"none"},[`${i}-item-process ${i}-item-icon`]:{marginTop:(t.controlHeight-e)/2,top:0,insetInlineStart:(n-e)/2,marginInlineStart:0},[`${i}-item > ${i}-item-container > ${i}-item-tail`]:{top:(t.controlHeight-n)/2,insetInlineStart:0,margin:0,padding:`${n+t.paddingXS}px 0 ${t.paddingXS}px`,"&::after":{marginInlineStart:(n-t.lineWidth)/2}},[`&${i}-small`]:{[`${i}-item-icon`]:{marginTop:(t.controlHeightSM-n)/2},[`${i}-item-process ${i}-item-icon`]:{marginTop:(t.controlHeightSM-e)/2},[`${i}-item > ${i}-item-container > ${i}-item-tail`]:{top:(t.controlHeightSM-n)/2}},[`${i}-item:first-child ${i}-icon-dot`]:{insetInlineStart:0},[`${i}-item-content`]:{width:"inherit"}}}};export{l as default};
