1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6211],{16211:(e,s,r)=>{r.r(s),r.d(s,{GithubActivity:()=>m});var t=r(95155),a=r(34395),n=r(26218),l=r(67233),c=r(79771),i=r(9339);let d=(0,i.createServerReference)("0001217660ee87f6ac0b10c52e37027d9746d0f358",i.callServer,void 0,i.findSourceMapURL,"getGithubActivity"),o=["bg-surface","bg-accent-blue/20","bg-accent-blue/40","bg-accent-blue/60","bg-accent-blue/90"];function m(){let{data:e,isLoading:s}=(0,a.G)({key:["public","github"],action:()=>d()}),r=e?.grid||[],i=e?.stats||{weeks:52,contributions:0},m=e?.repos||[];return(0,t.jsxs)(n.w,{id:"github",className:"border-t border-border bg-surface/30",children:[(0,t.jsx)(n.e,{index:"07",label:"GitHub signal"}),(0,t.jsxs)("div",{className:"mt-8 flex flex-col gap-4 lg:flex-row lg:items-end lg:justify-between",children:[(0,t.jsx)("h2",{className:"max-w-2xl text-[var(--step-2)] font-semibold leading-tight tracking-tight text-foreground",children:"Commit cadence over the past year."}),(0,t.jsxs)("a",{href:c.I5,target:"_blank",rel:"noreferrer",className:"pressable inline-flex min-h-12 items-center gap-2 self-start rounded-xl border border-border bg-background px-4 py-2 text-sm text-foreground hover:border-accent-blue/40",children:[(0,t.jsx)(l.A,{className:"size-4"})," View profile"]})]}),(0,t.jsxs)("div",{className:"native-scroll mt-10 overflow-x-auto rounded-xl border border-border bg-background p-4 sm:p-6",children:[(0,t.jsx)("div",{className:"flex min-w-max gap-1",children:r.map((e,s)=>(0,t.jsx)("div",{className:"flex flex-col gap-1",children:e.map((e,r)=>(0,t.jsx)("div",{className:`size-[10px] rounded-sm ${o[e]}`,title:`Week ${s+1}, Day ${r+1}: ${e} commits`},r))},s))}),(0,t.jsxs)("div",{className:"mt-4 flex min-w-max items-center justify-between gap-6 font-mono text-[10px] uppercase tracking-[0.14em] text-muted-foreground",children:[(0,t.jsx)("span",{children:s?"Loading...":`${i.weeks} weeks \xb7 ${i.contributions.toLocaleString()} contributions`}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{children:"less"}),o.map((e,s)=>(0,t.jsx)("span",{className:`size-[10px] rounded-sm ${e}`},s)),(0,t.jsx)("span",{children:"more"})]})]})]}),(0,t.jsx)("div",{className:"mt-6 grid gap-3 md:grid-cols-3",children:s?Array.from({length:3}).map((e,s)=>(0,t.jsx)("div",{className:"h-32 animate-pulse rounded-xl border border-border bg-surface"},s)):m.map(e=>(0,t.jsxs)("a",{href:e.url,target:"_blank",rel:"noreferrer",className:"hover-lift mobile-card bg-background p-5",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("span",{className:"font-mono text-sm font-medium text-foreground",children:e.name}),(0,t.jsxs)("span",{className:"font-mono text-xs text-muted-foreground",children:["â
",e.stars]})]}),(0,t.jsx)("p",{className:"mt-2 text-xs text-muted-foreground",children:e.desc}),(0,t.jsxs)("div",{className:"mt-4 flex items-center gap-2 font-mono text-[10px] uppercase tracking-widest text-muted-foreground",children:[(0,t.jsx)("span",{className:"size-2 rounded-full bg-accent-blue"}),e.lang]})]},e.name))})]})}}}]);
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.