PageSourceSearch

https://cdn.archidekt.com/_next/static/chunks/pages/unsubscribe/[unsubscribeId]-ec8b76cfa271f11e.js

js archidekt.com collected 2026-09-25 18:53:22 UTC 1,832 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1056],{1133:(s,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>_});var n=i(75038),t=i(76430),u=i(15918),c=i(98381),r=i(34719),l=i(3957),d=i(68835),o=i(92910),a=i(69133),b=i(61974),h=i.n(b);let _=()=>{let[s,e]=(0,t.useState)(!1),[i,b]=(0,t.useState)(!1),[_,f]=(0,t.useState)(!1),j=(0,c.useRouter)(),[{tbId:x}]=(0,u.A)(["tbId"]);return(0,t.useEffect)(()=>{let s=`${j.query.unsubscribeId}`;e(!0),l.A.unsubscribeFromNewsletter(s).then(()=>b(!0)).catch(()=>f(!0)).finally(()=>e(!1))},[]),(0,n.jsx)(r.A,{children:(0,n.jsxs)("div",{className:h().card,children:[s&&(0,n.jsxs)("div",{className:h().loading,children:[(0,n.jsx)("h2",{children:"Unsubscribing"}),(0,n.jsx)(a.A,{size:"tiny"})]}),i&&(0,n.jsxs)("div",{children:[(0,n.jsx)("h2",{children:"Unsubscribed successfully"}),(0,n.jsx)("p",{children:"If you wish to resubscribe or edit other Archidekt notification settings, you can do so using your Account Settings."})]}),_&&(0,n.jsxs)("div",{children:[(0,n.jsx)("h2",{children:"Failed to unsubscribe"}),(0,n.jsx)("p",{children:"Unfortunately, we were unable to unsubscribe you from our newsletter. You can manually unsubscribe by adjusting your notification settings in your Account Settings."})]}),(0,n.jsx)("div",{className:h().fullWidth,children:(0,n.jsx)(o.A,{href:x?"/accountSettings/notification-settings":"/login",children:(0,n.jsx)(d.A,{color:"blue",children:"Edit notification settings"})})})]})})}},61974:s=>{s.exports={card:"unsubscribe_card__kjW_d",loading:"unsubscribe_loading__Ms5Fb",fullWidth:"unsubscribe_fullWidth__wFAWU"}},86938:(s,e,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/unsubscribe/[unsubscribeId]",function(){return i(1133)}])}},s=>{s.O(0,[636,6593,8792],()=>s(s.s=86938)),_N_E=s.O()}]);
2//# sourceMappingURL=[unsubscribeId]-ec8b76cfa271f11e.js.map

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.