import a from"../../_util/cssinjs/Keyframes.mjs";import"../../_util/cssinjs/StyleContext.mjs";import"vue";import"../../_util/cssinjs/transformers/legacyLogicalProperties.mjs";import{initMotion as r}from"./motion.mjs";const m=new a("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),c=new a("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),l=(n,o=!1)=>{const{antCls:e}=n,t=`${e}-fade`,i=o?"&":"";return[r(t,m,c,n.motionDurationMid,o),{[`
        ${i}${t}-enter,
        ${i}${t}-appear
      `]:{opacity:0,animationTimingFunction:"linear"},[`${i}${t}-leave`]:{animationTimingFunction:"linear"}}]};export{m as fadeIn,c as fadeOut,l as initFadeMotion};
