import{initSlideMotion as e}from"../../style/motion/slide.mjs";var t=t=>{let{componentCls:n,motionDurationSlow:r}=t;return[{[n]:{[`${n}-switch`]:{"&-appear, &-enter":{transition:`none`,"&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${r}`}},"&-leave":{position:`absolute`,transition:`none`,inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${r}`}}}}},[e(t,`slide-up`),e(t,`slide-down`)]]};export{t as default};