import{j as e}from"./query-PJ0ZdjbV.js";import{a2 as x,z as c,ap as i}from"./index-BSPIaiZU.js";import{L as r}from"./vendor-CWhr2lg4.js";/**
 * @license lucide-react v0.469.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const m=x("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);function o({items:a,className:t}){return a.length===0?null:e.jsxs("nav",{"aria-label":"Breadcrumb",className:i("flex items-center gap-1",t),children:[e.jsx(r,{to:"/",className:"flex items-center text-slate-400 transition-colors duration-150 hover:text-slate-600",children:e.jsx(m,{className:"h-3.5 w-3.5"})}),a.map((s,l)=>{const n=l===a.length-1;return e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(c,{className:"h-3 w-3 text-slate-200"}),n||!s.href?e.jsx("span",{className:"text-[12px] font-medium text-slate-700",children:s.label}):e.jsx(r,{to:s.href,className:"text-[12px] text-slate-400 transition-colors duration-150 hover:text-slate-600",children:s.label})]},s.label)})]})}function j({title:a,description:t,breadcrumbs:s,actions:l}){return e.jsxs("div",{className:"mb-6",children:[s&&s.length>0&&e.jsx(o,{items:s,className:"mb-2"}),e.jsxs("div",{className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("h1",{className:"text-[20px] font-semibold tracking-tight text-slate-900",children:a}),t&&e.jsx("p",{className:"mt-1.5 text-[13px] text-slate-500 leading-relaxed",children:t})]}),l&&e.jsx("div",{className:"flex shrink-0 items-center gap-2",children:l})]})]})}export{j as P};
