1import{i as e}from"./chunk-6CSD65Y2-D6zLy3dp.js";import{t}from"./jsx-runtime-BGLTrfZy.js";var n=t(),r={emerald:`text-emerald border-[rgba(0,255,159,0.4)]`,amber:`text-amber border-[rgba(255,176,0,0.4)]`,cyan:`text-cyan border-[rgba(0,240,255,0.4)]`,violet:`text-violet border-[rgba(191,64,255,0.4)]`,rose:`text-rose border-[rgba(255,0,85,0.4)]`,amethyst:`text-amethyst border-[rgba(157,78,221,0.4)]`,white:`text-white border-white/40`};function i({accent:e,children:t}){return(0,n.jsx)(`span`,{className:`font-mono text-[9px] tracking-[0.14em] px-[7px] py-[3px] border whitespace-nowrap inline-block ${r[e]}`,children:t})}function a(e){switch(e){case`finance`:return`emerald`;case`freedom`:return`amber`;case`tech`:return`cyan`;case`media`:return`violet`;case`fitness`:return`rose`;case`platform`:return`amethyst`;default:return`white`}}function o(e){if(!e)return``;let t=e.slice(0,10);return t.length<10?``:t.replace(/-/g,`.`)}var s={finance:`group-hover:text-emerald group-hover:[text-shadow:0_0_12px_rgba(0,255,159,0.4)]`,freedom:`group-hover:text-amber group-hover:[text-shadow:0_0_12px_rgba(255,176,0,0.4)]`,tech:`group-hover:text-cyan group-hover:[text-shadow:0_0_12px_rgba(0,240,255,0.4)]`,media:`group-hover:text-violet group-hover:[text-shadow:0_0_12px_rgba(191,64,255,0.4)]`,fitness:`group-hover:text-rose group-hover:[text-shadow:0_0_12px_rgba(255,0,85,0.4)]`,platform:`group-hover:text-amethyst group-hover:[text-shadow:0_0_12px_rgba(157,78,221,0.4)]`};function c({slug:t,title:r,pillar:c,published_at:l,readMinutes:u}){let d=a(c),f=c?s[c]??``:``,p=c?c.toUpperCase():`LOG`;return(0,n.jsxs)(e,{to:`/logs/${t}`,className:`group grid grid-cols-[1fr_auto] gap-y-1 items-baseline gap-x-5 py-[18px] border-b border-white/[0.07] no-underline text-white transition-[padding-left] duration-[250ms] [transition-timing-function:cubic-bezier(0.16,1,0.3,1)] hover:pl-2 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-amethyst min-[641px]:grid-cols-[104px_1fr_auto] min-[641px]:gap-y-0`,children:[(0,n.jsx)(`span`,{className:`font-mono text-[11px] text-zinc-500 order-2 min-[641px]:order-1`,children:o(l)}),(0,n.jsx)(`span`,{className:`font-header font-semibold text-[16px] text-white leading-[1.3] transition-colors duration-[250ms] [transition-timing-function:cubic-bezier(0.16,1,0.3,1)] col-span-2 order-1 min-[641px]:col-span-1 min-[641px]:order-2 ${f}`,children:r}),(0,n.jsxs)(`span`,{className:`flex items-center gap-[6px] justify-self-end order-3 min-[641px]:justify-self-auto flex-wrap`,children:[(0,n.jsx)(i,{accent:d,children:p}),(0,n.jsxs)(`span`,{className:`font-mono text-[10px] text-zinc-500 whitespace-nowrap`,children:[`· `,u,` MIN`]})]})]})}export{a as i,o as n,i as r,c as t};
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.