PageSourceSearch

https://meetborderless.com/build/assets/show-BQfhkXAq.js

js meetborderless.com collected 2026-10-09 22:41:41 UTC 3,811 bytes, 1 lines download raw bytes

1import{j as e}from"./app-C1iegf7Q.js";import{H as x,L as o}from"./inertia-BpyZy4w-.js";import{a as c}from"./admin-layout-BhXWbUlP.js";import{a as r}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";const p={growth:"Growth",cases:"Cases",comms:"Comms",supply:"Specialist Supply"},h={high:"bg-red",medium:"bg-amber",low:"bg-ink-3"},g={high:"bg-red/10 text-red",medium:"bg-amber/12 text-amber-ink",low:"bg-bg-2 text-ink-3"};function H({briefing:t}){const m=t.signals.reduce((i,a)=>(i[a.category]||(i[a.category]=[]),i[a.category].push(a),i),{}),n=t.signals.filter(i=>i.severity==="high").length;return e.jsxs(c,{children:[e.jsx(x,{title:`Admin · Briefing — ${t.week_of_label}`}),e.jsxs("div",{className:"px-6 py-7 max-w-3xl",children:[e.jsxs("div",{className:"mb-6",children:[e.jsx(o,{href:"/admin/briefings",className:"mb-3 inline-flex items-center gap-1.5 text-xs text-ink-3 hover:text-ink",children:"← All briefings"}),e.jsxs("div",{className:"flex items-baseline gap-3 mt-1",children:[e.jsxs("h1",{className:"text-lg font-semibold text-ink",children:["Week of ",t.week_of_label]}),n>0&&e.jsxs("span",{className:"rounded-tag bg-red/10 px-2 py-0.5 text-2xs font-bold text-red",children:[n," high priority"]}),t.emailed_at&&e.jsx("span",{className:"rounded-tag bg-green/10 px-2 py-0.5 text-2xs font-bold text-green-ink",children:"Emailed"}),e.jsxs("span",{className:"text-2xs text-ink-3 ml-auto",children:[t.signals.length," signals"]})]}),e.jsxs("p",{className:"mt-1 text-xs text-ink-3",children:["Generated ",new Date(t.created_at).toLocaleString(),t.model_used&&` · ${t.model_used}`,t.tokens_used&&` · ${t.tokens_used.toLocaleString()} tokens`]})]}),t.synthesis&&e.jsxs("div",{className:"mb-6 rounded-card border border-line bg-white p-5",children:[e.jsx("p",{className:"mb-3 text-2xs font-bold uppercase tracking-eyebrow text-ink-3",children:"Focus this week"}),e.jsx("div",{className:"text-sm leading-relaxed text-ink whitespace-pre-line",children:t.synthesis})]}),e.jsx("div",{className:"flex flex-col gap-4",children:Object.entries(p).map(([i,a])=>{const l=m[i];return l?.length?e.jsxs("div",{className:"overflow-hidden rounded-card border border-line bg-white",children:[e.jsx("div",{className:"border-b border-line-2 px-4 py-3",children:e.jsx("h2",{className:"text-2xs font-bold uppercase tracking-eyebrow text-ink-3",children:a})}),l.map((s,d)=>e.jsx("div",{className:r("px-4 py-4",d<l.length-1&&"border-b border-line-2"),children:e.jsxs("div",{className:"flex items-start gap-2.5 mb-2",children:[e.jsx("span",{className:r("mt-1.5 h-2 w-2 shrink-0 rounded-full",h[s.severity])}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-baseline gap-2",children:[e.jsx("span",{className:"text-sm font-semibold text-ink",children:s.title}),e.jsx("span",{className:r("rounded-tag px-1.5 py-0.5 text-2xs font-bold",g[s.severity]),children:s.severity}),s.metric!==null&&e.jsxs("span",{className:"text-2xs font-bold text-ink-3",children:["× ",s.metric]})]}),e.jsx("p",{className:"mt-1 text-xs text-ink-2 leading-relaxed",children:s.body}),e.jsx("p",{className:"mt-2 text-xs font-medium text-teal",children:s.action}),s.href&&e.jsx(o,{href:s.href,className:"mt-1 inline-block text-2xs text-ink-3 hover:text-ink",children:"Open in admin →"})]})]})},d))]},i):null})})]})]})}export{H 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.