1import{A as o,m as e,L as t}from"./preload-helper-DHgwUQx0.js";import{u as a}from"./useQuery-qaImpGPx.js";import{a as l}from"./main-RZuSI3U0.js";import{S as c}from"./Spinner-x-tzqMC7.js";function u(){const{token:r}=o(),{isLoading:i,isSuccess:n,isError:s}=a({queryKey:["newsletter-unsubscribe",r],queryFn:()=>l.unsubscribeNewsletter(r),retry:!1,staleTime:1/0});return e.jsx("div",{style:{minHeight:"60vh",display:"flex",alignItems:"center",justifyContent:"center",padding:"60px 24px"},children:e.jsxs("div",{style:{maxWidth:480,width:"100%",textAlign:"center"},children:[i&&e.jsxs(e.Fragment,{children:[e.jsx(c,{}),e.jsx("p",{style:{color:"var(--clr-muted)",marginTop:16,fontSize:"0.95rem"},children:"Processing your requestâ¦"})]}),n&&e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{width:64,height:64,borderRadius:"50%",background:"rgba(255,255,255,0.05)",border:"2px solid rgba(255,255,255,0.15)",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 24px"},children:e.jsxs("svg",{width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:"rgba(255,255,255,0.6)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}),e.jsx("polyline",{points:"22,6 12,13 2,6"}),e.jsx("line",{x1:"4",y1:"20",x2:"4",y2:"14"}),e.jsx("line",{x1:"1",y1:"17",x2:"7",y2:"17"})]})}),e.jsx("h1",{style:{fontFamily:"var(--ff-head)",fontWeight:900,fontSize:"1.75rem",color:"#fff",marginBottom:12},children:"Unsubscribed"}),e.jsx("p",{style:{color:"var(--clr-muted)",lineHeight:1.7,marginBottom:32},children:"You've been removed from the Suriname Major League newsletter. You won't receive any further emails from us. If this was a mistake, you can re-subscribe at any time."}),e.jsxs("div",{style:{display:"flex",gap:12,justifyContent:"center",flexWrap:"wrap"},children:[e.jsx(t,{to:"/",className:"btn btn-outline",children:"Back to Homepage"}),e.jsx(t,{to:"/contact",className:"btn btn-outline",style:{borderColor:"rgba(255,255,255,0.15)",color:"var(--clr-muted)"},children:"Contact Us"})]})]}),s&&e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{width:64,height:64,borderRadius:"50%",background:"rgba(231,76,60,0.1)",border:"2px solid rgba(231,76,60,0.3)",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 24px"},children:e.jsxs("svg",{width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:"#e74c3c",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}),e.jsx("h1",{style:{fontFamily:"var(--ff-head)",fontWeight:900,fontSize:"1.75rem",color:"#fff",marginBottom:12}
1,children:"Link invalid or expired"}),e.jsx("p",{style:{color:"var(--clr-muted)",lineHeight:1.7,marginBottom:32},children:"This unsubscribe link is no longer valid. You may have already unsubscribed, or the link has expired. If you're still receiving emails, please contact us."}),e.jsxs("div",{style:{display:"flex",gap:12,justifyContent:"center",flexWrap:"wrap"},children:[e.jsx(t,{to:"/",className:"btn btn-outline",children:"Back to Homepage"}),e.jsx(t,{to:"/contact",className:"btn btn-primary",children:"Contact Us"})]})]})]})})}export{u as NewsletterUnsubscribePage};
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.