const e=require("../_util/classNames.js"),t=require("./commonProps.js");let n=require("vue");var r=(0,n.defineComponent)({compatConfig:{MODE:3},name:`PanelContent`,props:t.collapsePanelProps(),setup(t,{slots:r}){let i=(0,n.shallowRef)(!1);return(0,n.watchEffect)(()=>{(t.isActive||t.forceRender)&&(i.value=!0)}),()=>{if(!i.value)return null;let{prefixCls:a,isActive:o,role:s}=t;return(0,n.createVNode)(`div`,{class:e.default(`${a}-content`,{[`${a}-content-active`]:o,[`${a}-content-inactive`]:!o}),role:s},[(0,n.createVNode)(`div`,{class:`${a}-content-box`},[r.default?.()])])}}});exports.default=r;