PageSourceSearch

https://180ed.com/assets/Unsubscribe-9OqHKAo4.js

js 180ed.com collected 2026-10-08 08:25:48 UTC 1,011 bytes, 1 lines download raw bytes

1import{u,s as m,j as a}from"./index-BOL8O2AA.js";import{b,r}from"./vendor-react-BrpnTgIw.js";import"./vendor-supabase-DkS1Rjbo.js";function x(){const{brand:i}=u(),n=b(),[e,t]=r.useState("working");r.useEffect(()=>{const o=new URLSearchParams(n.search).get("t")||"";if(!/^[0-9a-f-]{36}$/i.test(o)){t("bad");return}m.rpc("unsubscribe_with_token",{p_token:o}).then(({data:l,error:d})=>t(!d&&l===!0?"done":"bad"),()=>t("bad"))},[n.search]);const c=e==="done"?"You’re unsubscribed":e==="bad"?"That link didn’t work":"One moment…",s=e==="done"?`You won’t get any more marketing emails from ${i.name}.`:e==="bad"?"Please reply to the email and we will take you off the list.":"";return a.jsxs("div",{style:{maxWidth:520,margin:"12vh auto",padding:"0 24px",textAlign:"center",fontFamily:"Arial, Helvetica, sans-serif"},children:[a.jsx("h1",{style:{fontSize:24,color:"#14233a",margin:"0 0 12px"},children:c}),s&&a.jsx("p",{style:{fontSize:17,lineHeight:1.6,color:"#3a4550"},children:s})]})}export{x 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.