import"../../_util/cssinjs/StyleContext.mjs";import"vue";import"../../_util/cssinjs/transformers/legacyLogicalProperties.mjs";import{initSlideMotion as n}from"../../style/motion/slide.mjs";const s=t=>{const{componentCls:i,motionDurationSlow:o}=t;return[{[i]:{[`${i}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${o}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${o}`}}}}},[n(t,"slide-up"),n(t,"slide-down")]]};export{s as default};
