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