1import{c,r as a,j as e,L as o,H as d}from"./edge-BOITG1XR.js";import{P as m}from"./mod-JliFV516.js";import"./mod-C1R88L9B.js";function g(){const[t]=c(),r=t.get("order"),n=t.get("service"),[s,l]=a.useState(null);return a.useEffect(()=>{r&&fetch(`/api/checkout/orders/${encodeURIComponent(r)}`).then(i=>i.ok?i.json():null).then(i=>i?.order&&l(i.order)).catch(()=>{})},[r]),!r&&!n?e.jsxs(h,{children:[e.jsx("h2",{style:{fontSize:18,fontWeight:800,marginBottom:6},children:"Missing reference"}),e.jsx("p",{style:{color:"var(--sue-text-muted)"},children:"This tracker needs an order link or service ID."}),e.jsx(o,{to:"/dashboard",className:"sue-btn sue-btn-primary sue-btn-sm",style:{marginTop:14},children:"Go to dashboard"})]}):e.jsxs(e.Fragment,{children:[e.jsxs(d,{children:[e.jsx("title",{children:"Tracking your payment | SendUnlimitedEmail"}),e.jsx("meta",{name:"robots",content:"noindex"})]}),e.jsx("section",{style:{padding:"32px 0 16px",background:"linear-gradient(180deg, #F8FAFC 0%, white 100%)",borderBottom:"1px solid var(--sue-border)"},children:e.jsxs("div",{className:"sue-container",style:{maxWidth:880},children:[e.jsx(o,{to:"/dashboard",style:{fontSize:13,color:"var(--sue-blue-600)",textDecoration:"none",fontWeight:600},children:"â Back to dashboard"}),e.jsx("h1",{style:{fontSize:"clamp(22px, 3vw, 30px)",fontWeight:800,marginTop:12,letterSpacing:"-0.02em"},children:"Tracking your payment"}),e.jsx("p",{style:{color:"var(--sue-text-muted)",margin:"6px 0 0",fontSize:14},children:"This page updates itself â bookmark it, close the tab, or come back later. We'll email you the moment status changes."}),s&&e.jsxs("div",{style:{marginTop:14,fontSize:12.5,color:"var(--sue-text-subtle)"},children:["Order ",e.jsxs("strong",{style:{fontFamily:"monospace",color:"var(--sue-text)"},children:["SUE-",String(s.id).padStart(6,"0")]})," · ",e.jsxs("strong",{style:{color:"var(--sue-text)"},children:["$",parseFloat(s.total||0).toFixed(2)]})," · ",(s.payment_method||"crypto").replace(/[-_]/g," ")]})]})}),e.jsx("section",{style:{padding:"28px 0 64px"},children:e.jsxs("div",{className:"sue-container",style:{maxWidth:880},children:[e.jsx(m,{accessToken:r||void 0,serviceId:n?parseInt(n):void 0,txHash:t.get("tx")||void 0}),e.jsxs("div",{style:{marginTop:22,padding:"18px 22px",background:"white",border:"1px solid var(--sue-border)",borderRadius:12},children:[e.jsx("h3",{style:{fontSize:13,fontWeight:800,color:"var(--sue-text)",textTransform:"uppercase",letterSpacing:"0.06em",marginBottom:10},children:"What happens next"}),e.jsxs("ol",{style:{margin:0,paddingLeft:20,color:"var(--sue-text-muted)",fontSize:14,lineHeight:1.75},children:[e.jsx("li",{children:"The blockchain (or our team) confirms your payment."}),e.jsx("li",{children:"You receive a confirmation email â your order is marked Paid."}),e.jsx("li",{children:"We provision a dedicated server with pre-warmed IPs (1â4 hours)."}),e.jsx("li",{children:"You receive SMTP credentials by email + on your dashboard."}),e.jsx("li",{children:"Compliance (SPF/DKIM/DMARC/MTA-STS) is auto-set up â start sending."})]})]}),e.jsxs("div",{style:{marginTop:18,textAlign:"center",fontSize:12.5,color:"var(--sue-text-subtle)"},children:["Need help? ",e.jsx(o,{to:"/tickets/new",style:{color:"var(--sue-blue-600)",textDecoration:"none",fontWeight:600},children:"Open a ticket"})," or email ",e.jsx("a",{href:"mailto:[email protected]",style:{color:"var(--sue-blue-600)",textDecoration:"none",fontWeight:600},children:"[email protected]"})]})]})})]})}function h({children:t}){return e.jsx("section",{style:{minHeight:"60vh",display:"grid",placeItems:"center",padding:48},children:e.jsx("div",{style:{maxWidth:480,textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",gap:8},children:t})})}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.