1import{$ as a,a3 as o,r as n,j as e,L as m}from"./index-Cw_vWzcG.js";import{L as l}from"./loader-circle-CFReBPM-.js";import{C as c}from"./circle-x-Bo2iUavI.js";import{C as u}from"./circle-check-B60zK6nN.js";function p(){const[,i]=a("/show-email-unsubscribe/:token"),t=i?.token??"",s=o(),r=n.useRef(!1);return n.useEffect(()=>{r.current||!t||(r.current=!0,s.mutate({token:t}))},[t,s]),e.jsx("div",{className:"mx-auto flex min-h-[60vh] max-w-xl flex-col items-center justify-center px-4 py-16 text-center",children:s.isPending||s.isIdle?e.jsxs(e.Fragment,{children:[e.jsx(l,{className:"h-10 w-10 animate-spin text-primary"}),e.jsx("p",{className:"mt-4 text-muted-foreground font-medium",children:"Unsubscribing from show alertsâ¦"})]}):s.isError?e.jsxs(e.Fragment,{children:[e.jsx(c,{className:"h-12 w-12 text-destructive"}),e.jsx("h1",{className:"mt-4 font-display text-2xl font-black uppercase tracking-tight",children:"Link not valid"}),e.jsx("p",{className:"mt-2 text-muted-foreground font-medium",children:"This unsubscribe link is invalid. If you keep getting emails you don't want, reply to one of them and we'll take care of it."})]}):e.jsxs(e.Fragment,{children:[e.jsx(u,{className:"h-12 w-12 text-emerald-600"}),e.jsx("h1",{className:"mt-4 font-display text-2xl font-black uppercase tracking-tight",children:"Show alerts disabled"}),e.jsxs("p",{className:"mt-2 text-muted-foreground font-medium",children:["You won't get any more emails about new shows in your area. Your membership itself is unchanged â everything is still waiting for you on the"," ",e.jsx(m,{href:"/members",className:"font-semibold text-foreground underline underline-offset-2 hover:text-primary transition-colors",children:"members page"}),"."]})]})})}export{p 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.