1import{j as e}from"./app-C1iegf7Q.js";import{H as r,L as i}from"./inertia-BpyZy4w-.js";import{a as n}from"./admin-layout-BhXWbUlP.js";import{a}from"./utils-BiuKVCuu.js";/* empty css */import"./app-logo-Dz0wogSq.js";import"./logo-light-DU4bWymm.js";import"./flash-toast-C6O0iVL1.js";import"./createLucideIcon-wqc1LSWg.js";import"./info-D2ZN_yLm.js";import"./triangle-alert-C7AVwNi-.js";import"./circle-x-Bp6Mbpgt.js";import"./circle-check-BMWvzPMx.js";import"./x-DQSeRCcH.js";import"./arrow-left-DCX0fhKH.js";import"./menu-BR3Nc3Gr.js";import"./users-BCcupCXV.js";import"./folder-open-I72SPUVk.js";import"./pound-sterling-D16GLaAZ.js";import"./book-open-DVFlG_9t.js";function B({briefings:s}){return e.jsxs(n,{children:[e.jsx(r,{title:"Admin · Briefings"}),e.jsxs("div",{className:"px-6 py-7 max-w-3xl",children:[e.jsxs("div",{className:"mb-6 flex items-baseline gap-4",children:[e.jsx("h1",{className:"text-lg font-semibold text-ink",children:"Ops Briefings"}),e.jsxs("span",{className:"text-xs text-ink-3",children:[s.length," total"]}),e.jsx(i,{href:"/admin/briefings/generate",method:"post",as:"button",className:"ml-auto rounded-md bg-ink px-3 py-1.5 text-xs font-semibold text-white hover:bg-ink/80",children:"Generate this week"})]}),s.length===0?e.jsx("div",{className:"rounded-card border border-line bg-white px-6 py-12 text-center",children:e.jsx("p",{className:"text-sm text-ink-3",children:"No briefings yet. Generate the first one above."})}):e.jsx("div",{className:"flex flex-col gap-3",children:s.map(t=>e.jsxs(i,{href:`/admin/briefings/${t.id}`,className:"block rounded-card border border-line bg-white p-4 hover:border-line-strong hover:shadow-sm transition-all",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[e.jsxs("span",{className:"text-sm font-semibold text-ink",children:["Week of ",t.week_of_label]}),t.high_count>0&&e.jsxs("span",{className:"rounded-tag bg-red/10 px-2 py-0.5 text-2xs font-bold text-red",children:[t.high_count," high priority"]}),e.jsxs("span",{className:"ml-auto text-2xs text-ink-3",children:[t.signal_count," signals"]}),t.emailed_at&&e.jsx("span",{className:a("rounded-tag px-2 py-0.5 text-2xs font-bold","bg-green/10 text-green-ink"),children:"Emailed"})]}),t.synthesis_preview?e.jsx("p",{className:"text-xs text-ink-2 line-clamp-2",children:t.synthesis_preview}):e.jsx("p",{className:"text-xs text-ink-3",children:"No AI synthesis."})]},t.id))})]})]})}export{B as default};
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.