1import{r as s,j as t}from"./chunk-4WY6JWTD-DoFnijRJ.js";import{c as x,T as r}from"./Typography-CTmNgK65.js";import{B as p}from"./Button-YErYcH1Q.js";const j=({isOpen:o=!1,setIsOpen:i,heading:a,body:n,className:c,btnClassName:l})=>{const[d,e]=s.useState(2);return s.useEffect(()=>{if(!o){const u=setTimeout(()=>{e(16)},0),m=setTimeout(()=>{e(20)},250);return()=>{clearTimeout(u),clearTimeout(m)}}},[o]),t.jsxs("div",{className:x("bg-gray-500 rounded-2xl p-5 flex flex-col transition-all duration-100 cursor-pointer",c),style:{paddingBottom:`${d}px`},onClick:()=>i(!o),children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx(r,{variant:"subheading",children:a}),t.jsx(p,{variant:"secondary",prefixIcon:t.jsxs("svg",{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",className:"lucide lucide-plus-icon lucide-plus",children:[t.jsx("path",{d:"M5 12h14"}),t.jsx("path",{d:"M12 5v14",className:`transition-all duration-300 ease-in-out ${o?"opacity-0":"opacity-100"}`})]}),iconOnly:!0,className:l})]}),t.jsx(r,{className:`text-gray-300 grid overflow-hidden transition-all ease-in-out 2 ${o?"pt-2 grid-rows-[1fr] opacity-100 duration-300":"pt-0 grid-rows-[0fr] opacity-0 duration-200"}`,children:t.jsx("div",{className:"overflow-hidden",children:n})})]})};export{j as A};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.