import{getMotion as e}from"../utils/motionUtil.mjs";import{Transition as t,createVNode as n,vShow as r,withDirectives as i}from"vue";function a(a){let{prefixCls:o,visible:s,zIndex:c,mask:l,maskAnimation:u,maskTransitionName:d}=a;if(!l)return null;let f={};return(d||u)&&(f=e({prefixCls:o,transitionName:d,animation:u})),n(t,{appear:!0,...f},{default:()=>[i(n(`div`,{style:{zIndex:c},class:`${o}-mask`},null),[[r,s]])]})}a.displayName=`Mask`;export{a as default};