"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),g=require("../../_util/classNames.js"),v=require("../../_util/props-util/index.js"),b=require("./interface.js"),N=t.defineComponent({compatConfig:{MODE:3},name:"MobilePopupInner",inheritAttrs:!1,props:b.mobileProps,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(s,{expose:l,slots:i}){const o=t.ref();return l({forceAlign:()=>{},getElement:()=>o.value}),()=>{const{zIndex:u,visible:a,prefixCls:n,mobile:{popupClassName:p,popupStyle:c,popupMotion:d={},popupRender:r}={}}=s,f={zIndex:u,...c};let e=v.flattenChildren(i.default?.());e.length>1&&(e=t.createVNode("div",{class:`${n}-content`},[e])),r&&(e=r(e));const m=g.default(n,p);return t.createVNode(t.Transition,{ref:o,...d},{default:()=>[a?t.createVNode("div",{class:m,style:f},[e]):null]})}}});exports.default=N;
