"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("../utils/motionUtil.js");function o(s){const{prefixCls:t,visible:r,zIndex:l,mask:u,maskAnimation:i,maskTransitionName:a}=s;if(!u)return null;let n={};return(a||i)&&(n=m.getMotion({prefixCls:t,transitionName:a,animation:i})),e.createVNode(e.Transition,{appear:!0,...n},{default:()=>[e.withDirectives(e.createVNode("div",{style:{zIndex:l},class:`${t}-mask`},null),[[e.vShow,r]])]})}o.displayName="Mask";exports.default=o;
