1import{j as e}from"./jsx-runtime-C-_spy54.js";import{X as f}from"./XIcon-BdvqIvXY.js";import{c as h}from"./clsx-B-dksMZM.js";import{c as w}from"./utils-DpYJdC9z.js";import{S as j,a as g,b as p,c as v,d as N,e as b}from"./sheet-B4xzXjD_.js";function L({title:a,description:r,open:m,children:t,onClose:x,className:n,buttons:o,withTitle:d=!0,withClose:c=!0,overflowYScroll:i,position:s=5,size:l="2xl"}){return e.jsx(j,{open:m,onOpenChange:u=>{u||x()},children:e.jsx(g,{className:w(n,l==="sm"&&"max-w-sm sm:max-w-sm",l==="md"&&"max-w-md sm:max-w-md",l==="lg"&&"max-w-lg sm:max-w-lg",l==="xl"&&"max-w-xl sm:max-w-xl",l==="2xl"&&"max-w-2xl sm:max-w-2xl",l==="3xl"&&"max-w-3xl sm:max-w-3xl",l==="4xl"&&"max-w-4xl sm:max-w-4xl",l==="5xl"&&"max-w-5xl sm:max-w-5xl",l==="6xl"&&"max-w-6xl sm:max-w-6xl",l==="7xl"&&"max-w-7xl sm:max-w-7xl",l==="full"&&"max-w-full sm:max-w-full",s===0&&"z-0",s===1&&"z-10",s===2&&"z-20",s===3&&"z-30",s===4&&"z-40",s===5&&"z-50"),children:e.jsxs("div",{className:"bg-background flex h-full flex-col overflow-y-auto pt-6 shadow-xl",children:[e.jsx("div",{className:"px-4 sm:px-6",children:e.jsxs("div",{className:"flex items-start justify-between",children:[d?e.jsxs(p,{className:"flex flex-col",children:[e.jsx(v,{children:a}),r&&e.jsx(N,{children:r})]}):e.jsx("div",{children:e.jsxs("button",{type:"button",className:"text-muted-foreground hover:text-foreground focus:ring-ring rounded-md outline-hidden focus:ring-2 focus:ring-offset-2 focus:outline-hidden",onClick:x,children:[e.jsx("span",{className:"sr-only",children:"Close panel"}),e.jsx("svg",{className:"h-6 w-6","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.25 4.5l7.5 7.5-7.5 7.5m-6-15l7.5 7.5-7.5 7.5"})})]})}),e.jsxs("div",{className:"ml-3 flex h-7 items-center space-x-4",children:[o,c&&e.jsx(b,{asChild:!0,children:e.jsxs("button",{type:"button",className:"text-muted-foreground hover:text-foreground focus:ring-ring rounded-md focus:ring-2 focus:ring-offset-2 focus:outline-hidden",onClick:x,children:[e.jsx("span",{className:"sr-only",children:"Close panel"}),e.jsx(f,{className:"size-4","aria-hidden":"true"})]})})]})]})}),e.jsx("div",{className:h("relative mt-6 flex-1 border-t px-4 pt-5 pb-6 sm:px-6",i&&"overflow-y-scroll"),children:t})]})})})}export{L as S};
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.