PageSourceSearch

https://static-assets.monzo.com/monzo-com/e2dd208e37221e4c19d9aaeb…/pages/unsubscribe-3745b6ede9406c61.js

js monzo.com collected 2026-09-24 08:31:47 UTC 17,854 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5785],{82127:function(n,t,e){"use strict";e.r(t),e.d(t,{Breadcrumbs:function(){return r.Oo},BrowserClient:function(){return r.RE},BrowserProfilingIntegration:function(){return r._p},BrowserTracing:function(){return r.gE},Dedupe:function(){return r.Iq},ErrorBoundary:function(){return r.SV},Feedback:function(){return r.x2},FunctionToString:function(){return r.cq},GlobalHandlers:function(){return r.dJ},HttpContext:function(){return r.qT},Hub:function(){return r.Xb},InboundFilters:function(){return r.QD},Integrations:function(){return r.jK},LinkedErrors:function(){return r.iP},ModuleMetadata:function(){return r._e},Profiler:function(){return r.Q1},Replay:function(){return r.UH},ReplayCanvas:function(){return r.$r},SDK_VERSION:function(){return r.Jn},SEMANTIC_ATTRIBUTE_SENTRY_OP:function(){return r.$J},SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:function(){return r.S3},SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:function(){return r.TE},SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:function(){return r.Zj},Scope:function(){return r.sX},TryCatch:function(){return r.pT},WINDOW:function(){return r.m9},addBreadcrumb:function(){return r.n_},addEventProcessor:function(){return r.Qy},addGlobalEventProcessor:function(){return r.cc},addIntegration:function(){return r.M5},addTracingExtensions:function(){return r.Ts},breadcrumbsIntegration:function(){return r.fQ},browserApiErrorsIntegration:function(){return r.tP},browserProfilingIntegration:function(){return r.xF},browserTracingIntegration:function(){return r.E8},captureConsoleIntegration:function(){return r.Xs},captureEvent:function(){return r.eN},captureException:function(){return r.Tb},captureMessage:function(){return r.uT},captureSession:function(){return r.cg},captureUnderscoreErrorException:function(){return r.ud},captureUserFeedback:function(){return r.Jd},chromeStackLineParser:function(){return r.$3},close:function(){return r.xv},configureScope:function(){return r.e},contextLinesIntegration:function(){return r.SZ},continueTrace:function(){return r.yn},createReduxEnhancer:function(){return r.wS},createTransport:function(){return r.qv},createUserFeedbackEnvelope:function(){return r.rQ},debugIntegration:function(){return r.sC},dedupeIntegration:function(){return r.RH},defaultIntegrations:function(){return r.SS},defaultRequestInstrumentationOptions:function(){return r.k3},defaultStackLineParsers:function(){return r.d8},defaultStackParser:function(){return r.Dt},endSession:function(){return r.TM},eventFromException:function(){return r.dr},eventFromMessage:function(){return r.aB},exceptionFromError:function(){return r.GJ},extraErrorDataIntegration:function(){return r.EY},extractTraceparentData:function(){return r.qG},feedbackIntegration:function(){return r.Xc},flush:function(){return r.yl},forceLoad:function(){return r.Eg},functionToStringIntegration:function(){return r.CP},geckoStackLineParser:function(){return r.$Q},getActiveSpan:function(){return r.HN},getActiveTransaction:function(){return r.x1},getClient:function(){return r.s3},getCurrentHub:function(){return r.Gd},getCurrentScope:function(){return r.nZ},getDefaultIntegrations:function(){return r.nV},getHubFromCarrier:function(){return r.vi},getReplay:function(){return r.TF},getSpanStatusFromHttpCode:function(){return r.ix},globalHandlersIntegration:function(){return r.ks},httpClientIntegration:function(){return r.lQ},httpContextIntegration:function(){return r.sA},inboundFiltersIntegration:function(){return r.SG},init:function(){return r.S1},instrumentOutgoingRequests:function(){return r.L7},isInitialized:function(){return r.dk},lastEventId:function(){return r.eW},linkedErrorsIntegration:function(){return r.OB},makeBrowserOfflineTransport:function(){return r.O1},makeFetchTransport:function(){return r.fD},makeMain:function(){return r.pj},makeMultiplexedTransport:function(){return r.Wq},makeXHRTransport:function(){return r.KC},metrics:function(){return r.qI},moduleMetadataIntegration:function(){return r.wo},nextRouterInstrumentation:function(){return r.q$},onLoad:function(){return r.lA},onProfilingStartRouteTransaction:function(){return r.Uv}
1,opera10StackLineParser:function(){return r.NP},opera11StackLineParser:function(){return r.HH},parameterize:function(){return r.XB},reactRouterV3BrowserTracingIntegration:function(){return r.h1},reactRouterV3Instrumentation:function(){return r.XQ},reactRouterV4BrowserTracingIntegration:function(){return r.qi},reactRouterV4Instrumentation:function(){return r.qr},reactRouterV5BrowserTracingIntegration:function(){return r.zL},reactRouterV5Instrumentation:function(){return r.qp},reactRouterV6BrowserTracingIntegration:function(){return r.g3},reactRouterV6Instrumentation:function(){return r.KO},replayCanvasIntegration:function(){return r.mz},replayIntegration:function(){return r.Gs},reportingObserverIntegration:function(){return r.yt},rewriteFramesIntegration:function(){return r.vU},sendFeedback:function(){return r.fA},sessionTimingIntegration:function(){return r.rE},setContext:function(){return r.v},setCurrentClient:function(){return r.KW},setExtra:function(){return r.sU},setExtras:function(){return r.rJ},setHttpStatus:function(){return r.Q0},setMeasurement:function(){return r.oi},setTag:function(){return r.YA},setTags:function(){return r.mG},setUser:function(){return r.av},showReportDialog:function(){return r.jp},spanStatusfromHttpCode:function(){return r.Zd},startBrowserTracingNavigationSpan:function(){return r.og},startBrowserTracingPageLoadSpan:function(){return r.Wo},startInactiveSpan:function(){return r.Qb},startSession:function(){return r.yj},startSpan:function(){return r.GK},startSpanManual:function(){return r.V0},startTransaction:function(){return r.Yr},trace:function(){return r.g4},useProfiler:function(){return r.ED},winjsStackLineParser:function(){return r.R2},withActiveSpan:function(){return r._d},withErrorBoundary:function(){return r.Pf},withIsolationScope:function(){return r.wi},withProfiler:function(){return r.zH},withScope:function(){return r.$e},withSentryConfig:function(){return r.wO},withSentryGetServerSideProps:function(){return r.sT},withSentryGetStaticProps:function(){return r.SF},withSentryReactRouterV6Routing:function(){return r.H0},withSentryRouting:function(){return r.gy},withSentryServerSideAppGetInitialProps:function(){return r.Im},withSentryServerSideDocumentGetInitialProps:function(){return r.W9},withSentryServerSideErrorGetInitialProps:function(){return r.vw},withSentryServerSideGetInitialProps:function(){return r.EC},withServerActionInstrumentation:function(){return r.NF},wrap:function(){return r.re},wrapApiHandlerWithSentryVercelCrons:function(){return r.LH},wrapAppGetInitialPropsWithSentry:function(){return r.$l},wrapCreateBrowserRouter:function(){return r.vG},wrapDocumentGetInitialPropsWithSentry:function(){return r.B4},wrapErrorGetInitialPropsWithSentry:function(){return r.rO},wrapGenerationFunctionWithSentry:function(){return r.J$},wrapGetInitialPropsWithSentry:function(){return r.O5},wrapGetServerSidePropsWithSentry:function(){return r.rC},wrapGetStaticPropsWithSentry:function(){return r.ug},wrapMiddlewareWithSentry:function(){return r.l7},wrapPageComponentWithSentry:function(){return r.ri},wrapRouteHandlerWithSentry:function(){return r.zv},wrapServerComponentWithSentry:function(){return r.D_},wrapUseRoutes:function(){return r.M1}});var r=e(88098)},19079:function(n,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/unsubscribe",function(){return e(72942)}])},59726:function(n,t,e){"use strict";e.d(t,{Z:function(){return r.x8Z}});var r=e(65481)},73738:function(n,t,e){"use strict";e.d(t,{Z:function(){return f}});var r=e(52322),i=e(97729),o=e.n(i),u=e(5632),c=e(18691),a=e(11388),s=e(41856),A={src:"https://static-assets.monzo.com/monzo-com/e2dd208e37221e4c19d9aaebc6e3d3d6000de24d/_next/static/media/og-image.c9474a76.jpg",height:1260,width:2400,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCAAEAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAL/xAAUAQEAAAAAAAAAAAAAAAAAAAAE/9oADAMBAAIQAxAAAAGwd3//xAAVEAEBAAAAAAAAAAAAAAAAAAARAP/aAAgBAQABBQJb/8QAFxEAAwEAAAAAAAAAAAAAAAAAAAEDIv/aAAgBAwEBPwG62f/EABcRAAMBAAAAAAAAAAAAAAAAAAABAiH/2gAIAQIBAT8Bl4f/xAAWEAADAAAAAAAAAAAAAAAAAAAAAXH/2gAIAQEABj8CcP/EABgQAAIDAAAAAAAAAAAAAAAAAAABESFh/9oACAEBAAE/IVM26P/aAAwDAQACAAMAAAAQA//EABgRAQADAQAAAAAAAAAAAAAAAAEAEVGx/9oACAEDAQE/EAXZnCf/xAAWEQEBAQAAAAAAAAAAAAAAAAABACH/2gAIAQIBAT8QYw3/xAAYEAEAAwEAAAAAAAAAAAAAAAABACExEf/aAAgBAQABPxBFQKOKHNn/2Q==",blurWidth:8,blurHeight:4},l=e(50810);function f(n){let{description:t,ogDescription:e,ogTitle:i,pageTitle:A,ogimage:l,noindex:f,watermark:d,twitter:m,next:h,previous:x,pathnameOverride:_}=n,S=(0,u.useRouter)(),w=c.i.all.getLocaleOrDefaultByI18nName(S.locale),y=w.language.i18nName,E="https://monzo.com",b=c.i.isDefaultI18nName(y)?"":"/".concat(y),I=p(E,_||"".concat(b).concat(S.asPath)).toString().replace(new RegExp("/".concat(y,"/").concat(y,"(/|$)")),"/".concat(y,"$1")).replace(/\/$/,""),T=w.language.localeCode.replace("-","_"),v=g(E,l),j=a.Z.src,k=s.Z.src,B=g(E,l);return(0,r.jsxs)(o(),{children:[(0,r.jsx)("title",{children:A}
1,"title"),(0,r.jsx)("link",{rel:"icon",href:j,sizes:"any"},"favicon-png"),(0,r.jsx)("link",{rel:"icon",href:k,type:"image/svg+xml"},"favicon-svg"),(0,r.jsx)("meta",{name:"theme-color",content:"#112231"}),(0,r.jsx)("meta",{property:"og:site_name",content:"Monzo"},"site-name"),(0,r.jsx)("meta",{property:"og:type",content:"website"},"og-type"),(0,r.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:"IE=edge"}),(0,r.jsx)("meta",{name:"format-detection",content:"telephone=no"}),(0,r.jsx)("meta",{property:"og:title",content:i||A},"og-title"),(0,r.jsx)("meta",{property:"og:description",content:e},"og-description"),(0,r.jsx)("meta",{property:"og:locale",content:T},"og-locale"),(0,r.jsx)("meta",{property:"og:url",content:I},"og-url"),(0,r.jsx)("meta",{property:"og:image",content:v},"og-image"),(0,r.jsx)("meta",{property:"twitter:url",content:I}),(0,r.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{property:"twitter:site",content:m||"@monzo"}),(0,r.jsx)("meta",{property:"twitter:description",content:t}),(0,r.jsx)("meta",{property:"twitter:site_name",content:"Monzo"}),(0,r.jsx)("meta",{property:"twitter:image",content:B}),(0,r.jsx)("meta",{name:"robots",content:f?"noindex":"follow,index"}),(0,r.jsx)("link",{rel:"manifest",href:"/manifest.json"},"manifest"),h&&(0,r.jsx)("link",{rel:"next",href:p(E,h).pathname},"next"),x&&(0,r.jsx)("link",{rel:"prev",href:p(E,x).pathname},"previous"),(0,r.jsx)("link",{rel:"canonical",href:I,"data-testid":"canonical"},"canonical"),(0,r.jsx)("meta",{name:"description",content:t},"description"),d&&(0,r.jsx)("meta",{property:"monzo:watermark",content:d},"watermark")]})}function g(n,t){let e=(0,l.c)(A);return null==t?e:t.startsWith("https://")?t:t.startsWith("//")?"https:".concat(t):t.startsWith("/")?p(n,t).toString():e}function p(n,t){let e=new URL(t,n);return e.pathname=e.pathname.replace(/%.+/g,""),e.hash="",e.search="",e}},19344:function(n,t,e){"use strict";e.d(t,{W:function(){return r.Qfu},Z:function(){return r.rB1}});var r=e(65481)},75194:function(n,t,e){"use strict";e.d(t,{Gt:function(){return g},OX:function(){return f}});var r=e(52322),i=e(79130),o=e.n(i),u=e(2784),c=e(7922),a=e(65481),s=e(16079),A=e.n(s);let l=o().bind(A());function f(n){return(0,r.jsx)(p,{is:"th",...n})}function g(n){return(0,r.jsx)(p,{is:"td",...n})}function p(n){let{children:t,isOnFill:e,color:r,lead:i,legalText:o,forceDarkMode:s,forceLightMode:A,marginBottom:f=!0,semiBold:g,is:p,analyticsTracking:d=!0,className:m}=n,h=l({text:!0,onFill:null!=e&&e,[r||"primary"]:null!=r,lead:i,semiBold:g,forceDarkMode:s,forceLightMode:A,marginBottom:f,legalText:o,[m||""]:m}),x="p"===p,{buildLinkAction:_}=(0,c.RS)(),S=function n(t,e,r){return u.Children.map(t,t=>{if(!u.isValidElement(t))return t;let i={};if("a"===t.type){if(e){let n={link_type:c.Un.Inline,link_location:"Text inline",link_text:(0,a.Mky)(t.props.children)};i={...r({href:t.props.href,analytics:n})}}else i={"data-monzoanalytics-no-tracking":!0}}return t.props.children&&(i={...i,children:n(t.props.children,e,r)}),u.cloneElement(t,i)})}(t,d,_),w=u.createElement(x?"div":p,{className:h},x?u.createElement(p,{},S):S);return u.cloneElement(w)}t.ZP=function(n){return(0,r.jsx)(p,{is:"p",...n})}},59445:function(n,t,e){"use strict";e.d(t,{Z:function(){return r.eIc}});var r=e(65481)},50810:function(n,t,e){"use strict";e.d(t,{c:function(){return r}});let r=n=>n.src},72942:function(n,t,e){"use strict";e.r(t),e.d(t,{__N_SSP:function(){return S}});var r=e(52322),i=e(5632),o=e(2784),u=e(54773),c=e(65362),a=e(59726),s=e(73738),A=e(19344),l=e(75194),f=e(65826),g=e(59445),p=e(85749),d=e(58402);let m=n=>"object"==typeof n&&null!=n&&"email"in n&&"string"==typeof n.email,h=n=>"object"==typeof n&&null!=n&&"user_id"in n&&"code"in n&&"subscription"in n&&"string"==typeof n.user_id&&"string"==typeof n.code&&"string"==typeof n.subscription,x=async n=>{let{user_id:t,code:e,subscription:r,withProdData:i,localeCode:o}=n,u=await fetch((i?"https://api.monzo.com":"https://api.s101.nonprod-ffs.io")+"/mailing-list/unsubscribe",{method:"POST",headers:{"Content-Type":"application/json",[c.AQ]:o},body:JSON.stringify({user_id:t,code:e,subscription:r})}),a=u.ok;return{data:await u.json(),ok:a}},_=n=>{var t,e;let{locale:c}=n,{isReady:_,query:S}=(0,i.useRouter)(),[w]=(0,o.useContext)(f.N),y=(0,u.FU)(),E=null!==(e=null==c?void 0:null===(t=c.language)||void 0===t?void 0:t.localeCode)&&void 0!==e?e:"en-GB",[b,I]=o.use
1State(!0),[T,v]=o.useState(!1),[j,k]=o.useState(!1),[B,P]=o.useState(null),[C,R]=o.useState(!1);(0,o.useEffect)(()=>{if(!_)return;let n=(0,p.Ph)(S.email),t={email:n,user_id:(0,p.Ph)(S.user_id),code:(0,p.Ph)(S.code),subscription:(0,p.Ph)(S.subscription)};if(h(t)){let n="true"===(0,p.Ph)(S.uselivedata)||window.location.href.indexOf("https://monzo.com")>=0;(async()=>{let e=await x({...t,withProdData:n,localeCode:E});e.ok?R(!0):P({title:e.data.title,description:e.data.description}),I(!1)})();return}if(m(t)){k(!0),I(!1);return}v(!0),I(!1)},[S,_,E]);let z=y.string({key:"unsubscribe.page.title",message:"Unsubscribe"}),O=y({key:"unsubscribe.error.support-message",message:"Please get in touch with support and we'll help you out. You can reach us at <email_link>[email protected]</email_link>.",components:{email_link:n=>{let{children:t}=n;return(0,r.jsx)("a",{href:"mailto:[email protected]",children:t})}}});return(0,r.jsxs)(d.Z,{children:[(0,r.jsx)(s.Z,{description:"",ogDescription:"",ogTitle:z,pageTitle:z,ogimage:"/images/og-image.jpg"}),(0,r.jsxs)(A.Z,{layout:"stack",children:[(0,r.jsxs)(a.Z,{horizontalAlign:"center",textAlign:"center",verticalAlign:"middle",children:[" ",(0,r.jsx)("img",{src:"/images/brand/monzo-logo-on-".concat(w.darkMode?"dark":"light",".svg"),alt:"",width:150})]}),(0,r.jsxs)(a.Z,{horizontalAlign:"center",textAlign:"center",verticalAlign:"middle",children:[(0,r.jsx)(g.Z,{semanticHeading:"h1",textAlign:"center",size:"xxlarge",children:z}),b&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g.Z,{semanticHeading:"h2",textAlign:"center",children:y.string({key:"unsubscribe.loading.title",message:"Unsubscribing"})}),(0,r.jsx)(l.ZP,{children:y.string({key:"unsubscribe.loading.description",message:"We're unsubscribing you right now..."})})]}),!b&&T&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g.Z,{semanticHeading:"h2",textAlign:"center",children:y.string({key:"unsubscribe.error.invalid-params.title",message:"It didn't work!"})}),(0,r.jsx)(l.ZP,{children:y.string({key:"unsubscribe.error.invalid-params.description",message:"We're very sorry, but something went wrong and we weren't able to unsubscribe you from our emails."})}),(0,r.jsx)(l.ZP,{children:O})]}),!b&&j&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g.Z,{semanticHeading:"h2",textAlign:"center",children:y.string({key:"unsubscribe.legacy-link.title",message:"This link's no longer active"})}),(0,r.jsx)(l.ZP,{children:y.string({key:"unsubscribe.legacy-link.description",message:"To update your email preferences, open the Monzo app and go to your settings, or select 'unsubscribe' on a more recent email from us."})})]}),!b&&null!=B&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g.Z,{semanticHeading:"h2",textAlign:"center",children:B.title}),(0,r.jsx)(l.ZP,{children:B.description}),(0,r.jsx)(l.ZP,{children:O})]}),!b&&C&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g.Z,{semanticHeading:"h2",textAlign:"center",children:y.string({key:"unsubscribe.success.title",message:"You're unsubscribed!"})}),(0,r.jsx)(l.ZP,{children:y.string({key:"unsubscribe.success.description",message:"We've unsubscribed you. We'll stop sending you emails, except for specific service messages related to your account."})})]})]})]})]})};_.analytics={name:"unsubscribe"};var S=!0;t.default=_},16079:function(n){n.exports={text:"Text_text__CSJ_O",marginBottom:"Text_marginBottom___UK4L",lead:"Text_lead___fdMb",semiBold:"Text_semiBold__vEerQ",small:"Text_small__p81DG",legalText:"Text_legalText__DQPp3",forceLightMode:"Text_forceLightMode__pb_mm",forceDarkMode:"Text_forceDarkMode__G2s7d",primary:"Text_primary__wpdHN",secondary:"Text_secondary__G08_8",disabled:"Text_disabled__zBdvC",hotCoral:"Text_hotCoral__nti8V",action:"Text_action__BNxGu",destructive:"Text_destructive__nWu3_",warning:"Text_warning__r4dO7",positive:"Text_positive__2FxCL",onFill:"Text_onFill__tngGr"}},28248:function(n,t,e){"use strict";e.d(t,{Z:function(){return i}});var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,i=function(n){return"string"==typeof n&&r.test(n)}}},function(n){n.O(0,[8402,2888,9774,179],function(){return n(n.s=19079)}),_N_E=n.O()}]);

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.