1import{a as i,b as p}from"/build/_shared/chunk-RGV3XPLA.js";import{a as f}from"/build/_shared/chunk-NNFI3FYC.js";import{a as c}from"/build/_shared/chunk-PQC2MVIZ.js";import{a as w}from"/build/_shared/chunk-C6FBWXRW.js";import{i as u,o as l}from"/build/_shared/chunk-ASWCL2ES.js";import{b as m}from"/build/_shared/chunk-LMXH6R3J.js";import{c as d}from"/build/_shared/chunk-Q3IECNXJ.js";var y=d(w());var e=d(m());function N({user:t}){return(0,e.jsxs)("span",{className:"inline-flex flex-wrap",children:[t.certs.map(s=>(0,e.jsx)("span",{className:"mr-2 bg-yellow-100 text-sm px-2",children:s})),t.u1interested?(0,e.jsx)("span",{className:"mr-2 bg-yellow-100 text-sm px-2",children:"u1interested"}):null]})}function A(t){return new Date(t).toLocaleDateString()}function b({user:t}){return(0,e.jsxs)("div",{children:[t.name?(0,e.jsx)("b",{className:"mr-2",children:t.name}):null,(0,e.jsx)("span",{className:"text-gray-500 mr-2",children:t.email}),(0,e.jsx)(N,{user:t}),(0,e.jsx)("time",{dateTime:t.updatedAt,className:"text-gray-500 ml-2 text-xs",children:A(t.updatedAt)})]},t.id)}function v(t,s){let r={};for(let[a,o]of s){let[h,x]=f(t,o);r[a]=h,t=x}return r.others=t,r}function n({title:t,users:s}){let r=s.sort((a,o)=>Date.parse(o.updatedAt)-Date.parse(a.updatedAt));return(0,e.jsxs)("div",{children:[(0,e.jsx)("h2",{className:"mt-4",children:t}),r.map(a=>(0,e.jsx)(b,{user:a})),(0,e.jsx)("h4",{className:"text-sm mt-4",children:" Emails "}),(0,e.jsx)("textarea",{className:"w-full",rows:3,value:s.map(a=>a.email).join(", ")})]})}function g(){let{users:t}=l(),s=v(t,[["instructors",r=>i(r,"instructor")],["graduates",r=>i(r,"u1-graduated")],["accepted",r=>i(r,"u1-accepted")],["applied",r=>i(r,"u1-applied")],["interested",r=>p(r)]]);return(0,e.jsx)("div",{children:(0,e.jsxs)(c,{color:"gray",children:[(0,e.jsxs)("h1",{children:[(0,e.jsx)(u,{to:"/admin",children:"Admin"}),(0,e.jsx)(u,{className:"ml-4 text-gray-500 hover:text-gray-700 text-sm",to:"/admin/bless",children:"Bless"})]}),(0,e.jsx)(n,{title:"Instructors",users:s.instructors}),(0,e.jsx)(n,{title:"Graduates",users:s.graduates}),(0,e.jsx)(n,{title:"Accepted",users:s.accepted}),(0,e.jsx)(n,{title:"Applied",users:s.applied}),(0,e.jsx)(n,{title:"Interested",users:s.interested}),(0,e.jsx)(n,{title:"Others",users:s.others})]})})}export{g 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.