1import{j as e}from"./vendor-three-BGGFfWe7.js";import{C as x,L as d}from"./index-zO3nSPIa.js";function f({title:a,action:s,children:t}){return e.jsxs("div",{className:"mt-6",children:[e.jsxs("div",{className:"flex items-center justify-between px-4",children:[e.jsx("p",{className:"text-[11px] font-semibold uppercase tracking-wide text-govbr-on-surface/45",children:a}),s&&e.jsx("button",{className:"text-[11px] font-semibold text-govbr-primary",children:s})]}),e.jsx("div",{className:"mt-2",children:t})]})}function g({kicker:a,title:s,description:t,cta:r,cover:i,logoUrl:l}){return e.jsxs("div",{className:"relative mx-4 mt-3 overflow-hidden rounded-2xl bg-govbr-primary",children:[i&&e.jsx("img",{src:i,alt:"",className:"absolute inset-0 h-full w-full object-cover"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-govbr-primary/95 via-govbr-primary/80 to-govbr-primary/40"}),e.jsxs("div",{className:"relative z-10 p-5",children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2",children:[l?e.jsx("img",{src:l,alt:"Logo",className:"h-7 w-7 rounded-lg object-contain"}):e.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-lg bg-card/20",children:e.jsx("span",{className:"text-[10px] font-bold text-white",children:"HM"})}),e.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-wider text-white/80",children:a})]}),e.jsx("p",{className:"text-xl font-extrabold leading-tight text-white",children:s}),t&&e.jsx("p",{className:"mt-1.5 text-xs leading-relaxed text-white/75",children:t}),r&&e.jsxs("button",{className:"mt-3 inline-flex items-center gap-1.5 rounded-full bg-card px-4 py-2 text-xs font-bold text-govbr-primary",children:[r," ",e.jsx(x,{className:"h-3.5 w-3.5"})]})]})]})}function m({icon:a,label:s,title:t,count:r,accent:i,to:l,onClick:n}){const c=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:`flex h-12 w-12 shrink-0 items-center justify-center rounded-xl ${i||"bg-govbr-primary-container text-govbr-primary"}`,children:e.jsx(a,{className:"h-6 w-6"})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-[9px] font-semibold uppercase tracking-wider text-govbr-on-surface/45",children:s}),e.jsx("p",{className:"text-sm font-bold text-govbr-on-surface",children:t}),r!==void 0&&e.jsx("p",{className:"text-2xl font-extrabold text-govbr-on-surface",children:r})]}),e.jsx(x,{className:"h-5 w-5 shrink-0 text-govbr-primary"})]}),o="flex w-full items-center gap-3 rounded-2xl border border-govbr-outline/20 bg-govbr-surface p-4 text-left transition-all hover:shadow-md active:scale-[0.99]";return l?e.jsx(d,{to:l,className:o,children:c}):e.jsx("button",{onClick:n,className:o,children:c})}function p({title:a,subtitle:s,cards:t}){return e.jsxs("div",{className:"mt-6 px-4",children:[e.jsx("p",{className:"text-sm font-bold text-govbr-on-surface",children:a}),s&&e.jsx("p",{className:"mt-0.5 text-xs text-govbr-on-surface/50",children:s}),e.jsx("div",{className:"mt-3 space-y-2.5",children:t.map((r,i)=>e.jsx(m,{...r},i))})]})}function j({title:a,subtitle:s,cover:t,count:r,to:i}){const l=e.jsxs(e.Fragment,{children:[t&&e.jsx("img",{src:t,alt:"",className:"absolute inset-0 h-full w-full object-cover"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-govbr-primary/90 via-govbr-primary/30 to-transparent"}),e.jsxs("div",{className:"relative z-10 p-3",children:[e.jsx("p",{className:"text-xs font-bold leading-tight text-white",children:a}),s&&e.jsx("p",{className:"mt-0.5 text-[9px] leading-snug text-white/75",children:s}),r!==void 0&&e.jsx("p",{className:"mt-1 text-lg font-extrabold text-white",children:r})]})]}),n="relative flex h-36 w-40 shrink-0 flex-col justify-end overflow-hidden rounded-2xl bg-govbr-primary transition-transform active:scale-[0.97]";return i?e.jsx(d,{to:i,className:n,children:l}):e.jsx("div",{className:n,children:l})}export{g as M,p as a,f as b,j as c};
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.