import{textEllipsis as e}from"../../style/index.mjs";var t=t=>{let{componentCls:n,stepsNavContentMaxWidth:r,stepsNavArrowColor:i,stepsNavActiveColor:a,motionDurationSlow:o}=t;return{[`&${n}-navigation`]:{paddingTop:t.paddingSM,[`&${n}-small`]:{[`${n}-item`]:{"&-container":{marginInlineStart:-t.marginSM}}},[`${n}-item`]:{overflow:`visible`,textAlign:`center`,"&-container":{display:`inline-block`,height:`100%`,marginInlineStart:-t.margin,paddingBottom:t.paddingSM,textAlign:`start`,transition:`opacity ${o}`,[`${n}-item-content`]:{maxWidth:r},[`${n}-item-title`]:{maxWidth:`100%`,paddingInlineEnd:0,...e,"&::after":{display:`none`}}},[`&:not(${n}-item-active)`]:{[`${n}-item-container[role='button']`]:{cursor:`pointer`,"&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:`none`}},"&::after":{position:`absolute`,top:`calc(50% - ${t.paddingSM/2}px)`,insetInlineStart:`100%`,display:`inline-block`,width:t.fontSizeIcon,height:t.fontSizeIcon,borderTop:`${t.lineWidth}px ${t.lineType} ${i}`,borderBottom:`none`,borderInlineStart:`none`,borderInlineEnd:`${t.lineWidth}px ${t.lineType} ${i}`,transform:`translateY(-50%) translateX(-50%) rotate(45deg)`,content:`""`},"&::before":{position:`absolute`,bottom:0,insetInlineStart:`50%`,display:`inline-block`,width:0,height:t.lineWidthBold,backgroundColor:a,transition:`width ${o}, inset-inline-start ${o}`,transitionTimingFunction:`ease-out`,content:`""`}},[`${n}-item${n}-item-active::before`]:{insetInlineStart:0,width:`100%`}},[`&${n}-navigation${n}-vertical`]:{[`> ${n}-item`]:{marginInlineEnd:0,"&::before":{display:`none`},[`&${n}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:`unset`,display:`block`,width:t.lineWidth*3,height:`calc(100% - ${t.marginLG}px)`},"&::after":{position:`relative`,insetInlineStart:`50%`,display:`block`,width:t.controlHeight*.25,height:t.controlHeight*.25,marginBottom:t.marginXS,textAlign:`center`,transform:`translateY(-50%) translateX(-50%) rotate(135deg)`},[`> ${n}-item-container > ${n}-item-tail`]:{visibility:`hidden`}}},[`&${n}-navigation${n}-horizontal`]:{[`> ${n}-item > ${n}-item-container > ${n}-item-tail`]:{visibility:`hidden`}}}};export{t as default};