PageSourceSearch

https://nucsports.com/assets/CollegeViewsFeed-BxUmKwSy.js

js nucsports.com collected 2026-10-09 17:19:03 UTC 1,910 bytes, 1 lines download raw bytes

1import{j as e,ax as m,L as g}from"./index-BnlaQecQ.js";function x(o){const r=Date.now()-new Date(o).getTime(),s=Math.floor(r/6e4);if(s<1)return"just now";if(s<60)return`${s}m ago`;const a=Math.floor(s/60);if(a<24)return`${a}h ago`;const t=Math.floor(a/24);return t<7?`${t}d ago`:new Date(o).toLocaleDateString()}function f({views:o,limit:r,emptyMessage:s="No coach views yet. Share your profile to get on their radar."}){const a=(o??[]).filter(t=>!!t.viewer_college_id&&!!t.college?.name).slice(0,r??20);return a.length===0?e.jsxs("div",{className:"border-2 border-ink bg-bone p-6 text-center text-sm text-ink/60",children:[e.jsx(m,{className:"mx-auto mb-2 h-5 w-5 text-ink/40"}),s]}):e.jsx("ul",{className:"grid gap-3",children:a.map((t,i)=>{const n=t.college?.name??"A college",l=t.college?.slug,c=t.college?.logo_url,d=e.jsxs("div",{className:"flex items-center gap-3 border-2 border-ink bg-bone p-3 shadow-[3px_3px_0_0_rgba(0,0,0,0.9)] opacity-0 animate-fade-in",style:{animationDelay:`${i*90}ms`,animationFillMode:"forwards"},children:[e.jsx("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center overflow-hidden border border-ink/15 bg-white",children:c?e.jsx("img",{src:c,alt:`${n} logo`,className:"h-10 w-10 object-contain",loading:"lazy"}):e.jsx("span",{className:"font-display text-base text-ink/40",children:n.charAt(0)})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsxs("div",{className:"truncate text-sm text-ink",children:["A coach from ",e.jsx("span",{className:"font-semibold",children:n})," viewed your profile."]}),e.jsx("div",{className:"font-display text-[10px] uppercase tracking-widest text-ink/50",children:x(t.viewed_at)})]})]});return e.jsx("li",{children:l?e.jsx(g,{to:"/recruiting/colleges/$slug",params:{slug:l},className:"block hover:-translate-y-0.5 transition-transform",children:d}):d},`${t.viewer_college_id}-${t.viewed_at}-${i}`)})})}export{f as C};

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.