module.exports=[15163,a=>{"use strict";var b=a.i(4805),c=a.i(82926);let d=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),e=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var f={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let g=(0,c.createContext)({}),h=(0,c.forwardRef)(({color:a,size:b,strokeWidth:e,absoluteStrokeWidth:h,className:i="",children:j,iconNode:k,...l},m)=>{let{size:n=24,strokeWidth:o=2,absoluteStrokeWidth:p=!1,color:q="currentColor",className:r=""}=(0,c.useContext)(g)??{},s=h??p?24*Number(e??o)/Number(b??n):e??o;return(0,c.createElement)("svg",{ref:m,...f,width:b??n??f.width,height:b??n??f.height,stroke:a??q,strokeWidth:s,className:d("lucide",r,i),...!j&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(l)&&{"aria-hidden":"true"},...l},[...k.map(([a,b])=>(0,c.createElement)(a,b)),...Array.isArray(j)?j:[j]])}),i=(a,b)=>{let f=(0,c.forwardRef)(({className:f,...g},i)=>(0,c.createElement)(h,{ref:i,iconNode:b,className:d(`lucide-${e(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,f),...g}));return f.displayName=e(a),f},j=i("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),k=i("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);a.s(["CollapsibleSection",0,function({title:a,defaultOpen:d=!1,children:e,headerRight:f,className:g="",persistKey:h}){let[i,l]=(0,c.useState)(()=>d);return(0,b.jsxs)("div",{className:`rounded-md border border-gray-200 ${g}`,children:[(0,b.jsxs)("button",{type:"button",onClick:()=>{l(a=>!a)},"aria-expanded":i,className:"flex w-full items-center justify-between gap-2 px-3 py-2 text-left text-sm font-medium text-gray-900 transition-colors hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-500",children:[(0,b.jsxs)("span",{className:"flex items-center gap-2",children:[(0,b.jsx)(i?j:k,{className:"h-4 w-4 text-gray-500","aria-hidden":!0}),(0,b.jsx)("span",{children:a})]}),f?(0,b.jsx)("span",{className:"ml-auto",children:f}):null]}),i?(0,b.jsx)("div",{className:"border-t border-gray-200 p-3",children:e}):null]})}],15163)}];

//# sourceMappingURL=apps_indusk-admin_src_components_ui_CollapsibleSection_tsx_0b-flwz._.js.map