PageSourceSearch

https://domdhi.com/assets/logs-DGCHK-R_.js

js domdhi.com collected 2026-10-02 01:28:01 UTC 24,118 bytes, 2 lines download raw bytes

1import{B as e,H as t,I as n,W as r,i,w as a,z as o}from"./chunk-6CSD65Y2-D6zLy3dp.js";import{t as s}from"./jsx-runtime-BGLTrfZy.js";import{t as c}from"./button-DrB63Wrb.js";import{t as l}from"./route-error-oT57U1b3.js";import{n as u}from"./time-utils-DcRCMNV5.js";import"./calculators-aelNI-sd.js";var d=r(t(),1),f=s();function p(e){return[{label:`STATUS`,value:e.status,display:!0,liveStatus:!0},{label:`LAST_PUSH`,value:e.lastPush,display:!0,liveStatus:!1},{label:`COMMITS_TODAY`,value:String(e.commitsToday),display:!1,liveStatus:!1},{label:`ACTIVE_REPOS`,value:String(e.activeRepos),display:!1,liveStatus:!1},{label:`STREAK`,value:e.streak,display:!1,liveStatus:!1}]}function m({telemetry:e}){let t=p(e);return(0,f.jsx)(`div`,{className:`flex flex-wrap w-full`,style:{borderTop:`1px solid rgba(255,255,255,0.07)`,borderBottom:`1px solid rgba(255,255,255,0.07)`},children:t.map((e,n)=>(0,f.jsxs)(`div`,{className:`flex flex-col gap-[5px]`,style:{padding:`10px 16px`,borderRight:n===t.length-1?`none`:`1px solid rgba(255,255,255,0.07)`},children:[(0,f.jsx)(`span`,{className:`font-mono uppercase`,style:{fontSize:`9px`,letterSpacing:`0.14em`,color:`#52525b`},children:e.label}),(0,f.jsxs)(`span`,{className:e.display?`font-display font-semibold text-[#EDEDED]`:`font-mono text-[#EDEDED]`,style:{fontSize:e.display?`14px`:`13px`},children:[e.liveStatus&&(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(`span`,{className:`relative inline-flex mr-[7px] align-middle`,"aria-hidden":`true`,children:(0,f.jsx)(`span`,{className:`inline-flex w-[7px] h-[7px] rounded-full bg-emerald animate-pulse motion-reduce:animate-none`,style:{verticalAlign:`middle`}})})}),e.value]})]},e.label))})}var h=[{key:`all`,label:`ALL`,accent:`white`},{key:`writing`,label:`WRITING`,accent:`cyan`},{key:`ships`,label:`SHIPS`,accent:`emerald`},{key:`milestones`,label:`MILESTONES`,accent:`amber`}];function g({filter:e,onChange:t}){return(0,f.jsx)(`div`,{role:`group`,"aria-label":`Filter the stream`,style:{display:`flex`,flexWrap:`wrap`,gap:8},children:h.map(({key:n,label:r,accent:i})=>(0,f.jsx)(c,{variant:`chip`,accent:i,active:e===n,"aria-pressed":e===n,onClick:()=>t(n),type:`button`,children:r},n))})}function _(e,t){let n={today:[],week:[],earlier:[]},r=t.getTime(),i=t.toISOString().slice(0,10);for(let t of e){if(!t.date){n.earlier.push(t);continue}let e=new Date(t.date).getTime();Number.isNaN(e)?n.earlier.push(t):t.date.slice(0,10)===i?n.today.push(t):r-e<=6048e5&&r-e>=0?n.week.push(t):n.earlier.push(t)}return n}function v(e){let t=e.replace(`#`,``);if(t.length!==6)return`255, 255, 255`;let n=parseInt(t.slice(0,2),16),r=parseInt(t.slice(2,4),16),i=parseInt(t.slice(4,6),16);return Number.isNaN(n)||Number.isNaN(r)||Number.isNaN(i)?`255, 255, 255`:`${n}, ${r}, ${i}`}var y={finance:`text-emerald`,fitness:`text-rose`,freedom:`text-amber`,tech:`text-cyan`,media:`text-violet`,platform:`text-amethyst`},b={finance:`#00FF9F`,fitness:`#FF0055`,freedom:`#FFB000`,tech:`#00F0FF`,media:`#BF40FF`,platform:`#9D4EDD`};function x(e,t){return e===null&&t===null?`—`:`+${(e??0).toLocaleString()} / −${(t??0).toLocaleString()}`}function S(e){switch(e.kind){case`article`:return{tag:`WRITING`,title:e.title,sub:e.excerpt??``,foot:`${e.readMinutes} MIN READ`,chip:`ARTICLE`,variant:`default`};case`rollup`:{let t=e.count===1?``:`S`;return{tag:`SHIP`,title:e.latestMsg,sub:`${e.repo} — ${e.count} commit${t}`,foot:`${e.branch??`—`} · ${x(e.additions,e.deletions)}`,chip:`${e.count} COMMIT${t}`,variant:`rollup`}}case`build`:return{tag:`BUILD`,title:e.name,sub:e.description,foot:`${e.runCount.toLocaleString()} RUNS · LIVE`,chip:`CALCULATOR`,variant:`default`};case`milestone`:return{tag:`◆ MILESTONE`,title:e.statement,sub:e.metric,foot:e.date?u(e.date):``,chip:``,variant:`milestone`}}}function C({entry:e,isActive:t,onSelect:n}){let r=e.domain,i=b[r],a=y[r],{tag:o,title:s,sub:c,foot:l,chip:d,variant:p}=S(e),m=e.date!==null&&e.date!==void 0?u(e.date):``,h={width:9,height:9,flexShrink:0,marginTop:5,background:i,boxShadow:`0 0 10px ${i}`,outline:`3px solid #020202`,outlineOffset:-1},g={...h,borderRadius:0,transform:`rotate(45deg)`},_=p===`milestone`?g:{...h,borderRadius:`50%`},x=t?`rgba(${v(i)},0.07)`:void 0,C={display:`grid`,gridTemplateColumns:`28px 1fr auto`,gap:`13px`,alignItems:`start`,padding:`15px 12px 15px 0`,borderBottom:`1px solid rgba(255,255,255,0.05)`,borderLeft:t?`2px solid ${i}`:`2px solid transparent`,background:x,cursor:`pointer`,textAlign:`left`,width:`100%`,transition:`background 0.12s ease`},w=p===`milestone`?{borderTop:`1px solid rgba(${v(i)},0.4)`,paddingTop:20}:{},T=p===`rollup`?{fontSize:9,border:`1px solid rgba(${v(i)},0.4)`,padding:`2px 6px`,color:i,fontWeight:700,letterSpacing:`0.1em`}:{fontSize:9,border:`1px solid rgba(255,255,255,0.16)`,padding:`2px 6px`,color:`#71717A`,letterSpacing:`0.1em`};return(0,f.jsxs)(`button`,{type:`button`,onClick:n,"aria-expanded":t,"aria-controls":`stream-peek-panel`,style:{...C,...w},className:`hover:bg-white/[0.025] focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-amethyst`,children:[(0,f.jsx)(`span`,{style:_,"aria-hidden":`true`}),(0,f.jsxs)(`div`,{className:`flex flex-col gap-[4px] min-w-0`,children:[(0,f.jsxs)(`div`,{className:`flex items-center gap-[8px]`,children:[(0,f.jsx)(`span`,{className:`font-mono text-[9px] tracking-[0.18em] uppercase ${a}`,children:o}),(0,f.jsx)(`span`,{className:`font-mono text-[9px]`,suppressHydrationWarning:!0,style:{color:`#52525b`},children:m})]}),(0,f.jsx)(`div`,{className:`font-display font-semibold leading-[1.3] ${p===`milestone`?`${a} text-[17px]`:`text-[#EDEDED] text-[15.5px]`}`,children:s}),c!==``&&(0,f.jsx)(`div`,{className:`text-[11px] truncate ${p===`milestone`?`font-display font-bold text-[13px] text-[#9b9ba3]`:`font-mono text-[#9b9ba3]`}`,children:c}),(0,f.jsxs)(`div`,{className:`flex items-center gap-[10px] mt-[2px]`,children:[(0,f.jsx)(`span`,{className:`font-mono text-[10px]`,style:{color:`#52525b`},children:l}),d!==``&&(0,f.jsx)(`span`,{className:`font-mono`,style:T,children:d})]})]}),(0,f.jsx)(`span`,{className:`font-mono text-[12px] self-center`,style:{color:`#3f3f46`},"aria-hidden":`true`,children:`→`})]})}function w({label:e,count:t,children:n}){return t===0?null:(0,f.jsxs)(`section`,{"aria-label":e,children:[(0,f.jsxs)(`div`,{className:`flex items-center justify-between`,style:{padding:`10px 12px 10px 0`,borderBottom:`1px solid rgba(255,255,255,0.07)`},children:[(0,f.jsx)(`span`,{className:`font-mono text-[9px] tracking-[0.25em] text-zinc-500`,children:`// ${e}`}),(0,f.jsx)(`span`,{className:`font-mono text-[9px] tracking-[0.14em] text-zinc-600`,children:t})]}),(0,f.jsx)(`div`,{children:n})]})}function T({entries:e,nowISO:t,activeId:n,onSelect:r}){let{today:i,week:a,earlier:o}=_(e,t?new Date(t):new Date);return i.length+a.length+o.length===0?(0,f.jsx)(`div`,{style:{padding:`60px 0 40px`,textAlign:`center`,color:`#52525b`,fontSize:13,letterSpacing:`0.1em`,fontFamily:`var(--font-mono, ui-monospace, monospace)`},children:`// NOTHING IN THIS FILTER YET`}):(0,f.jsxs)(`div`,{children:[(0,f.jsx)(w,{label:`TODAY`,count:i.length,children:i.map(e=>(0,f.jsx)(C,{entry:e,isActive:e.id===n,onSelect:()=>r(e)}
1,e.id))}),(0,f.jsx)(w,{label:`THIS WEEK`,count:a.length,children:a.map(e=>(0,f.jsx)(C,{entry:e,isActive:e.id===n,onSelect:()=>r(e)},e.id))}),(0,f.jsx)(w,{label:`EARLIER`,count:o.length,children:o.map(e=>(0,f.jsx)(C,{entry:e,isActive:e.id===n,onSelect:()=>r(e)},e.id))})]})}var E={finance:`text-emerald`,fitness:`text-rose`,freedom:`text-amber`,tech:`text-cyan`,media:`text-violet`,platform:`text-amethyst`},D={finance:`hover:border-emerald`,fitness:`hover:border-rose`,freedom:`hover:border-amber`,tech:`hover:border-cyan`,media:`hover:border-violet`,platform:`hover:border-amethyst`},O={finance:`#00FF9F`,fitness:`#FF0055`,freedom:`#FFB000`,tech:`#00F0FF`,media:`#BF40FF`,platform:`#9D4EDD`},k={finance:`FINANCE`,fitness:`FITNESS`,freedom:`FREEDOM`,tech:`TECH`,media:`MEDIA`,platform:`PLATFORM`},A=`focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-amethyst`;function j({entry:e}){let{domain:t,slug:n,title:r,excerpt:a,readMinutes:o}=e,s=E[t],c=D[t],l=O[t],u=k[t],d=`/logs/${n}`;function p(){if(typeof navigator>`u`||!navigator.clipboard)return;let e=typeof window<`u`?`${window.location.origin}${d}`:d;navigator.clipboard.writeText(e).catch(()=>{})}return(0,f.jsxs)(`div`,{className:`flex flex-col gap-[18px]`,children:[(0,f.jsx)(`div`,{className:`font-mono ${s}`,style:{fontSize:`9px`,letterSpacing:`0.22em`},children:`FROM THE LOGS`}),(0,f.jsx)(`h3`,{className:`font-display font-semibold leading-tight text-[#EDEDED]`,style:{fontSize:`25px`},children:r}),a&&(0,f.jsx)(`p`,{className:`font-mono text-[#A1A1AA] leading-[1.6]`,style:{fontSize:`13px`},children:a}),(0,f.jsxs)(`div`,{className:`flex items-center gap-[10px]`,children:[(0,f.jsx)(`div`,{className:`shrink-0 grid place-items-center font-display font-semibold text-black`,style:{width:`30px`,height:`30px`,border:`1px solid ${O.platform}`,backgroundColor:`rgba(157, 78, 221, 0.18)`,fontSize:`13px`,color:O.platform},children:`D`}),(0,f.jsxs)(`div`,{className:`flex flex-col gap-[1px]`,children:[(0,f.jsx)(`span`,{className:`font-mono text-[#EDEDED]`,style:{fontSize:`11px`},children:`Dominic Baca`}),(0,f.jsxs)(`span`,{className:`font-mono text-[#A1A1AA]`,style:{fontSize:`10px`,letterSpacing:`0.1em`},children:[o,` MIN READ · `,u]})]})]}),(0,f.jsxs)(`div`,{className:`flex items-center gap-[10px] flex-wrap`,children:[(0,f.jsx)(i,{to:d,className:`font-mono font-bold uppercase text-black no-underline ${A}`,style:{fontSize:`11px`,letterSpacing:`0.14em`,padding:`11px 20px`,backgroundColor:`rgba(${v(l)}, 0.62)`,boxShadow:`4px 4px 0 ${l}`},children:`READ FULL →`}),(0,f.jsx)(`button`,{type:`button`,onClick:p,className:`font-mono text-[#A1A1AA] border border-white/15 ${c} transition-colors ${A}`,style:{fontSize:`11px`,letterSpacing:`0.14em`,padding:`10px 15px`},children:`COPY LINK`})]})]})}var M={finance:`text-emerald`,fitness:`text-rose`,freedom:`text-amber`,tech:`text-cyan`,media:`text-violet`,platform:`text-amethyst`},N={finance:`hover:border-emerald`,fitness:`hover:border-rose`,freedom:`hover:border-amber`,tech:`hover:border-cyan`,media:`hover:border-violet`,platform:`hover:border-amethyst`},P={finance:`#00FF9F`,fitness:`#FF0055`,freedom:`#FFB000`,tech:`#00F0FF`,media:`#BF40FF`,platform:`#9D4EDD`};function F(e,t){return e===null&&t===null?`—`:`${`+${(e??0).toLocaleString()}`} / ${`−${(t??0).toLocaleString()}`}`}function I(e){return e===null?`—`:`${e} files`}var L=`focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-amethyst`;function R({label:e,value:t,accentHex:n}){return(0,f.jsxs)(`div`,{style:{backgroundColor:`#020202`,padding:`13px 15px`},className:`flex flex-col gap-[5px]`,children:[(0,f.jsx)(`span`,{className:`font-mono uppercase`,style:{fontSize:`9px`,letterSpacing:`0.14em`,color:`#52525b`},children:e}),(0,f.jsx)(`span`,{className:`font-display font-semibold`,style:{fontSize:`15px`,color:n},children:t})]})}function z({entry:e}){let{domain:t,repo:n,repoUrl:r,isPrivate:i,commits:a,count:o,latestMsg:s,additions:c,deletions:l,files_changed:d,branch:p}=e,m=M[t],h=N[t],g=P[t];return(0,f.jsxs)(`div`,{className:`flex flex-col gap-[16px]`,children:[(0,f.jsxs)(`div`,{className:`font-mono ${m}`,style:{fontSize:`11px`,letterSpacing:`0.14em`},children:[`git: `,n]}),(0,f.jsxs)(`div`,{className:`font-mono text-[#A1A1AA]`,style:{fontSize:`11px`,letterSpacing:`0.1em`},children:[`↳ `,o,` COMMITS · LATEST SHOWN BELOW`]}),(0,f.jsx)(`h3`,{className:`font-display font-semibold leading-tight text-[#EDEDED]`,style:{fontSize:`21px`},children:s}),(0,f.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(2, 1fr)`,gap:`1px`,background:`rgba(255,255,255,0.07)`,border:`1px solid rgba(255,255,255,0.12)`},children:[(0,f.jsx)(R,{label:`COMMITS`,value:`${o} today`,accentHex:g}),(0,f.jsx)(R,{label:`BRANCH`,value:p??`—`,accentHex:g}),(0,f.jsx)(R,{label:`DIFF`,value:F(c,l),accentHex:g}),(0,f.jsx)(R,{label:`FILES`,value:I(d),accentHex:g})]}),(0,f.jsxs)(`div`,{className:`font-mono text-zinc-500`,style:{fontSize:`9px`,letterSpacing:`0.25em`},children:[`// COMMIT_STREAM ... `,o,` TOTAL`]}),(0,f.jsx)(`div`,{className:`flex flex-col`,children:a.map(e=>{let t=e.message.split(`
2`)[0]??e.message;return(0,f.jsxs)(`div`,{className:`grid items-start`,style:{gridTemplateColumns:`40px 1fr 7px`,gap:`0 11px`,padding:`9px 0`,borderBottom:`1px solid rgba(255,255,255,0.05)`,fontSize:`11px`,color:`#9b9ba3`},children:[(0,f.jsx)(`span`,{className:`font-mono leading-[1.4] pt-[1px]`,suppressHydrationWarning:!0,style:{color:`#52525b`,fontSize:`10px`},children:u(e.createdAt)}),(0,f.jsx)(`span`,{className:`font-mono leading-[1.4] break-words min-w-0`,children:t}),(0,f.jsx)(`span`,{className:`w-[7px] h-[7px] rounded-full shrink-0 mt-[3px]`,style:{backgroundColor:g,boxShadow:`0 0 5px ${g}`},"aria-hidden":`true`})]},e.hash)})}),i||!r?(0,f.jsxs)(`div`,{className:`flex items-center gap-[8px]`,children:[(0,f.jsx)(`span`,{className:`font-mono text-zinc-600 border border-zinc-700/60`,style:{fontSize:`11px`,letterSpacing:`0.14em`,padding:`10px 15px`},children:`[ PRIVATE REPO ]`}),(0,f.jsx)(`span`,{className:`font-mono text-zinc-600`,style:{fontSize:`9px`,letterSpacing:`0.18em`},children:`[ CLASSIFIED ]`})]}):(0,f.jsx)(`a`,{href:r,target:`_blank`,rel:`noreferrer`,className:`font-mono text-[#A1A1AA] border border-white/15 ${h}
2 transition-colors no-underline ${L}`,style:{fontSize:`11px`,letterSpacing:`0.14em`,padding:`10px 15px`,alignSelf:`flex-start`},children:`GITHUB →`})]})}var B={finance:`#00FF9F`,fitness:`#FF0055`,freedom:`#FFB000`,tech:`#00F0FF`,media:`#BF40FF`,platform:`#9D4EDD`},V={finance:`text-emerald`,fitness:`text-rose`,freedom:`text-amber`,tech:`text-cyan`,media:`text-violet`,platform:`text-amethyst`};function H({entry:e}){let t=e.hex||B[e.domain],n=V[e.domain]??`text-white`,r=typeof e.runCount==`number`&&!Number.isNaN(e.runCount)?e.runCount.toLocaleString():`0`,a=`<iframe src="https://domdhi.com${e.routePath}?embed=1" width="100%" height="600" frameborder="0"></iframe>`;function o(){typeof navigator<`u`&&navigator.clipboard&&navigator.clipboard.writeText(a).catch(()=>{})}return(0,f.jsxs)(`div`,{className:`flex flex-col gap-[20px]`,children:[(0,f.jsx)(`h3`,{className:`font-header font-semibold leading-tight`,style:{fontSize:`25px`,color:`#EDEDED`},children:e.name}),(0,f.jsx)(`p`,{className:`font-mono leading-[1.6]`,style:{fontSize:`13px`,color:`#A1A1AA`},children:e.description}),(0,f.jsxs)(`div`,{className:`grid`,style:{gridTemplateColumns:`repeat(2, 1fr)`,gap:`1px`,background:`rgba(255,255,255,0.07)`},children:[(0,f.jsxs)(`div`,{className:`flex flex-col gap-[6px]`,style:{background:`#020202`,padding:`14px 15px`},children:[(0,f.jsx)(`span`,{className:`font-mono tracking-[0.14em]`,style:{fontSize:`9px`,color:`#52525b`},children:`RUNS`}),(0,f.jsx)(`span`,{className:`font-header font-semibold ${n}`,style:{fontSize:`20px`},children:r})]}),(0,f.jsxs)(`div`,{className:`flex flex-col gap-[6px]`,style:{background:`#020202`,padding:`14px 15px`},children:[(0,f.jsx)(`span`,{className:`font-mono tracking-[0.14em]`,style:{fontSize:`9px`,color:`#52525b`},children:`STATUS`}),(0,f.jsx)(`span`,{className:`font-header font-semibold ${n}`,style:{fontSize:`20px`},children:`● LIVE`})]})]}),(0,f.jsxs)(`div`,{className:`flex items-center gap-[12px] flex-wrap`,children:[(0,f.jsx)(i,{to:e.routePath,className:`font-mono font-bold uppercase tracking-[0.14em] no-underline focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white`,style:{fontSize:`11px`,padding:`11px 20px`,background:`rgba(${v(t)}, 0.62)`,boxShadow:`4px 4px 0 ${t}`,color:`#000`},children:`RUN THE TOOL →`}),(0,f.jsxs)(`button`,{type:`button`,onClick:o,className:`font-mono uppercase tracking-[0.14em] transition-colors hover:text-white focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white`,style:{fontSize:`11px`,padding:`10px 15px`,color:`#A1A1AA`,border:`1px solid rgba(255,255,255,0.16)`,background:`transparent`,cursor:`pointer`},children:[`</>`,` EMBED`]})]})]})}var U={finance:`#00FF9F`,fitness:`#FF0055`,freedom:`#FFB000`,tech:`#00F0FF`,media:`#BF40FF`,platform:`#9D4EDD`},W={finance:`text-emerald`,fitness:`text-rose`,freedom:`text-amber`,tech:`text-cyan`,media:`text-violet`,platform:`text-amethyst`};function G({entry:e}){let t=e.accentColor&&e.accentColor.trim()!==``?e.accentColor:U[e.domain],n=W[e.domain]??`text-white`;return(0,f.jsxs)(`div`,{className:`flex flex-col gap-[20px]`,children:[(0,f.jsxs)(`div`,{className:`flex gap-[12px] items-start`,children:[(0,f.jsx)(`span`,{"aria-hidden":`true`,style:{fontSize:`18px`,display:`inline-block`,transform:`rotate(45deg)`,flexShrink:0,color:t,lineHeight:1,marginTop:`3px`},children:`◆`}),(0,f.jsx)(`h3`,{className:`font-header font-semibold leading-snug`,style:{fontSize:`23px`,color:`#EDEDED`},children:e.statement})]}),(0,f.jsxs)(`div`,{className:`flex flex-col items-center`,style:{padding:`22px`,textAlign:`center`,border:`1px solid rgba(255,255,255,0.12)`},children:[(0,f.jsx)(`span`,{className:`font-header font-bold`,style:{fontFamily:`Space Grotesk, sans-serif`,fontWeight:700,fontSize:`48px`,letterSpacing:`-0.02em`,lineHeight:1,color:t},children:e.metric||`—`}),(0,f.jsx)(`span`,{className:`font-mono block`,style:{fontSize:`9px`,letterSpacing:`0.2em`,color:`#71717A`,marginTop:`10px`},children:e.metricLabel||``})]}),(0,f.jsx)(`p`,{className:`font-header leading-[1.72]`,style:{fontSize:`14px`,color:`#c4c4c8`},children:e.context}),(0,f.jsxs)(`div`,{style:{padding:`16px 18px`,border:`1px solid rgba(255,255,255,0.12)`,borderLeftWidth:`2px`,borderLeftColor:t},children:[(0,f.jsx)(`span`,{className:`font-mono block ${n}`,style:{fontSize:`9px`,letterSpacing:`0.22em`},children:`// THE TAKE`}),(0,f.jsx)(`p`,{className:`font-header`,style:{fontFamily:`Space Grotesk, sans-serif`,fontSize:`15px`,lineHeight:1.5,color:`#EDEDED`,marginTop:`8px`},children:e.verdict})]})]})}var K={finance:`text-emerald`,fitness:`text-rose`,freedom:`text-amber`,tech:`text-cyan`,media:`text-violet`,platform:`text-amethyst`},q={finance:`border-l-emerald`,fitness:`border-l-rose`,freedom:`border-l-amber`,tech:`border-l-cyan`,media:`border-l-violet`,platform:`border-l-amethyst`},J={finance:`#00FF9F`,fitness:`#FF0055`,freedom:`#FFB000`,tech:`#00F0FF`,media:`#BF40FF`,platform:`#9D4EDD`},Y=`focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-amethyst`;function X(e){switch(e.kind){case`article`:return`WRITING · ARTICLE`;case`rollup`:return`SHIP · ${e.count} COMMITS`;case`build`:return`BUILD · CALCULATOR`;case`milestone`:return`MILESTONE`;default:return e}}function Z(e){return e.date===null?`—`:u(e.date)}function Q({entry:e}){switch(e.kind){case`article`:return(0,f.jsx)(j,{entry:e});case`rollup`:return(0,f.jsx)(z,{entry:e});case`build`:return(0,f.jsx)(H,{entry:e});case`milestone`:return(0,f.jsx)(G,{entry:e});default:return e}}function $({entry:e,onClose:t}){let n=(0,d.useRef)(null);if((0,d.useEffect)(()=>
2{if(e===null)return;n.current?.focus();function r(e){e.key===`Escape`&&(e.preventDefault(),t())}return document.addEventListener(`keydown`,r),()=>{document.removeEventListener(`keydown`,r)}},[e,t]),e===null)return null;let r=q[e.domain],i=K[e.domain],a=J[e.domain],o=X(e),s=Z(e),c=e.domain.toUpperCase();return(0,f.jsxs)(`div`,{id:`stream-peek-panel`,ref:n,tabIndex:-1,className:`border-l-2 ${r} overflow-auto motion-reduce:transition-none`,style:{position:`sticky`,top:`14px`,maxHeight:`calc(100vh - 28px)`,background:`rgba(2, 2, 2, 0.86)`,outline:`none`},children:[(0,f.jsxs)(`div`,{className:`flex items-center justify-between`,style:{padding:`13px 18px`,borderBottom:`1px solid rgba(255,255,255,0.07)`,position:`sticky`,top:0,background:`rgba(2, 2, 2, 0.94)`,zIndex:10},children:[(0,f.jsx)(`button`,{type:`button`,onClick:t,"aria-label":`Back to The Stream`,className:`font-mono transition-colors hover:text-amethyst ${Y}`,style:{fontSize:`9px`,letterSpacing:`0.22em`,color:`#71717A`,background:`transparent`,border:`none`,cursor:`pointer`,padding:0},children:`← // THE STREAM`}),(0,f.jsx)(`button`,{type:`button`,onClick:t,"aria-label":`Close`,className:`grid place-items-center font-mono text-zinc-400 hover:text-white transition-colors ${Y}`,style:{width:`24px`,height:`24px`,border:`1px solid rgba(255,255,255,0.16)`,background:`transparent`,cursor:`pointer`,fontSize:`16px`},children:`×`})]}),(0,f.jsxs)(`div`,{style:{padding:`22px 24px 30px`},children:[(0,f.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`11px`,marginBottom:`16px`},children:[(0,f.jsx)(`span`,{className:`font-mono ${i}`,style:{border:`1px solid ${a}59`,padding:`3px 9px`,fontSize:`9px`,letterSpacing:`0.16em`},children:o}),(0,f.jsxs)(`span`,{className:`font-mono`,suppressHydrationWarning:!0,style:{color:`#71717A`,fontSize:`9px`,letterSpacing:`0.22em`},children:[c,` · `,s]})]}),(0,f.jsx)(Q,{entry:e})]})]})}function ee(){return[{title:`The Stream — Live Build Log | Domdhi`},{name:`description`,content:`One feed, newest first. Writing, builds, milestones, and the raw commit log from Domdhi.OS. Not the highlight reel — the heartbeat.`},{property:`og:title`,content:`The Stream — Live Build Log | Domdhi`},{property:`og:description`,content:`Writing, builds & the occasional rabbit hole. One feed, newest first.`},{property:`og:type`,content:`website`},{name:`twitter:card`,content:`summary`}]}var te=o(function({loaderData:e}){let{entries:t,firehose:n,telemetry:r,nowISO:i,error:a}=e,[o,s]=(0,d.useState)(`all`),[c,l]=(0,d.useState)(null),u=(0,d.useMemo)(()=>{switch(o){case`writing`:return t.filter(e=>e.kind===`article`);case`milestones`:return t.filter(e=>e.kind===`milestone`);case`ships`:return n;default:return t}},[o,t,n]),p=e=>{s(e),l(null)},h=c!==null;return(0,f.jsxs)(`div`,{className:`max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-12 space-y-6`,children:[(0,f.jsxs)(`div`,{className:`border-b border-white/10 pb-6`,children:[(0,f.jsx)(`p`,{className:`text-[10px] font-mono text-gray-500 tracking-[0.25em] mb-3`,children:`// THE STREAM`}),(0,f.jsx)(`h1`,{className:`font-display font-bold text-4xl md:text-5xl tracking-tight text-white leading-[0.95]`,children:`The stream.`}),(0,f.jsx)(`p`,{className:`text-[11px] font-mono text-amethyst tracking-[0.24em] mt-3 mb-3`,children:`WRITING, BUILDS & THE OCCASIONAL RABBIT HOLE`}),(0,f.jsxs)(`p`,{className:`text-sm text-gray-400 max-w-[62ch] leading-relaxed`,children:[`One feed, newest first. Commits roll up per repo so the writing doesn't drown — hit `,(0,f.jsx)(`span`,{className:`text-emerald`,children:`SHIPS`}),` for the raw, un-collapsed log. Not the highlight reel. The heartbeat.`]})]}),(0,f.jsx)(m,{telemetry:r}),a&&(0,f.jsx)(`p`,{className:`font-mono text-[11px] text-zinc-600 tracking-[0.1em]`,children:`// WRITING FEED TEMPORARILY UNAVAILABLE`}),(0,f.jsx)(g,{filter:o,onChange:p}),(0,f.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:h?`minmax(0,1fr) 462px`:`1fr`,gap:h?`1px`:`0`,transition:`grid-template-columns 0.35s cubic-bezier(0.16,1,0.3,1)`},className:`motion-reduce:transition-none`,children:[(0,f.jsx)(`div`,{className:`min-w-0`,children:(0,f.jsx)(T,{entries:u,nowISO:i,activeId:c?.id??null,onSelect:l})}),h&&(0,f.jsx)($,{entry:c,onClose:()=>l(null)})]})]})}),ne=e(function(){let e=n(),t=`An unexpected error occurred`,r=``;return a(e)?(t=e.status===404?`Page not found`:`Something went wrong`,r=l(e)):e instanceof Error&&(t=`Error loading The Stream`,r=``),(0,f.jsxs)(`div`,{className:`bg-panel border-2 border-rose shadow-brutal-rose p-8 relative m-6`,children:[(0,f.jsx)(`div`,{className:`absolute -top-3 left-4 bg-rose text-black text-[10px] font-bold px-2 border-2 border-black`,children:`SYSTEM_ERROR`}),(0,f.jsx)(`h1`,{className:`font-mono font-bold text-2xl text-rose mb-2`,children:t}),r&&(0,f.jsx)(`p`,{className:`text-gray-400 text-sm`,children:r})]})});export{ne as ErrorBoundary,te as default,ee as meta};

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.