const e=require("../../_util/cssinjs/Keyframes.js"),t=require("./motion.js");var n=new e.default(`antSlideUpIn`,{"0%":{transform:`scaleY(0.8)`,transformOrigin:`0% 0%`,opacity:0},"100%":{transform:`scaleY(1)`,transformOrigin:`0% 0%`,opacity:1}}),r=new e.default(`antSlideUpOut`,{"0%":{transform:`scaleY(1)`,transformOrigin:`0% 0%`,opacity:1},"100%":{transform:`scaleY(0.8)`,transformOrigin:`0% 0%`,opacity:0}}),i=new e.default(`antSlideDownIn`,{"0%":{transform:`scaleY(0.8)`,transformOrigin:`100% 100%`,opacity:0},"100%":{transform:`scaleY(1)`,transformOrigin:`100% 100%`,opacity:1}}),a=new e.default(`antSlideDownOut`,{"0%":{transform:`scaleY(1)`,transformOrigin:`100% 100%`,opacity:1},"100%":{transform:`scaleY(0.8)`,transformOrigin:`100% 100%`,opacity:0}}),o=new e.default(`antSlideLeftIn`,{"0%":{transform:`scaleX(0.8)`,transformOrigin:`0% 0%`,opacity:0},"100%":{transform:`scaleX(1)`,transformOrigin:`0% 0%`,opacity:1}}),s=new e.default(`antSlideLeftOut`,{"0%":{transform:`scaleX(1)`,transformOrigin:`0% 0%`,opacity:1},"100%":{transform:`scaleX(0.8)`,transformOrigin:`0% 0%`,opacity:0}}),c=new e.default(`antSlideRightIn`,{"0%":{transform:`scaleX(0.8)`,transformOrigin:`100% 0%`,opacity:0},"100%":{transform:`scaleX(1)`,transformOrigin:`100% 0%`,opacity:1}}),l=new e.default(`antSlideRightOut`,{"0%":{transform:`scaleX(1)`,transformOrigin:`100% 0%`,opacity:1},"100%":{transform:`scaleX(0.8)`,transformOrigin:`100% 0%`,opacity:0}}),u={"slide-up":{inKeyframes:n,outKeyframes:r},"slide-down":{inKeyframes:i,outKeyframes:a},"slide-left":{inKeyframes:o,outKeyframes:s},"slide-right":{inKeyframes:c,outKeyframes:l}},d=(e,n)=>{let{antCls:r}=e,i=`${r}-${n}`,{inKeyframes:a,outKeyframes:o}=u[n];return[t.initMotion(i,a,o,e.motionDurationMid),{[`
      ${i}-enter,
      ${i}-appear
    `]:{transform:`scale(0)`,transformOrigin:`0% 0%`,opacity:0,animationTimingFunction:e.motionEaseOutQuint},[`${i}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]};exports.initSlideMotion=d,exports.slideDownIn=i,exports.slideDownOut=a,exports.slideLeftIn=o,exports.slideLeftOut=s,exports.slideRightIn=c,exports.slideRightOut=l,exports.slideUpIn=n,exports.slideUpOut=r;