1import{t as l,j as e,C as o,a as d}from"./index-EmQfeNp_.js";import{A as m}from"./AdminShell-BMBxmNo1.js";import{T as n,a as c,b as a,c as t,d as x,e as s}from"./table-zC2BPdQH.js";import"./loader-circle-D6Twcsdi.js";import"./user-cog-CvgzIWML.js";import"./ticket-DEW4G0Hr.js";import"./tag-CXmMrnIi.js";import"./store-NxfgYDz7.js";import"./star-t3gGTr1h.js";import"./smartphone-DrwuGn9f.js";import"./mic-DCi3w-O2.js";import"./message-square-BgXh-0wD.js";import"./megaphone-XW9iyn8Y.js";import"./graduation-cap-DmVPveuz.js";import"./file-text-DLKHvBQV.js";import"./circle-check-big-BPEa30LT.js";import"./calendar-days-wwnlMan4.js";import"./building-2-B4xC6YrT.js";function R(){const i=l.newsletter.list.useQuery();return e.jsx(m,{title:"Newsletter Subscribers",children:e.jsx(o,{className:"border-border/70",children:e.jsxs(d,{className:"p-0 overflow-x-auto",children:[e.jsxs(n,{children:[e.jsx(c,{children:e.jsxs(a,{children:[e.jsx(t,{children:"Email"}),e.jsx(t,{children:"First name"}),e.jsx(t,{children:"Last name"}),e.jsx(t,{children:"Active"}),e.jsx(t,{children:"Subscribed"})]})}),e.jsx(x,{children:i.data?.map(r=>e.jsxs(a,{children:[e.jsx(s,{className:"font-medium",children:r.email}),e.jsx(s,{children:r.firstName??"â"}),e.jsx(s,{children:r.lastName??"â"}),e.jsx(s,{children:r.isActive?"Yes":"No"}),e.jsx(s,{className:"text-muted-foreground",children:new Date(r.createdAt).toLocaleString()})]},r.id))})]}),i.data?.length===0&&e.jsx("div",{className:"p-12 text-center text-muted-foreground",children:"No subscribers yet."})]})})})}export{R 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.