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