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