1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:cards-app":!0});var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="014fc644-d2d9-43ff-a8b8-20318e516006",e._sentryDebugIdIdentifier="sentry-dbid-014fc644-d2d9-43ff-a8b8-20318e516006")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8295],{1308:(e,n,r)=>{"use strict";r.r(n),r.d(n,{__N_SSP:()=>C,default:()=>L});var t=r(6029),a=r(5700),s=r(1909);let i=({form:e,name:n,onSubmit:r,onInvalid:a,onBlur:i,onChange:o,className:l,children:c})=>(0,t.jsx)(s.Op,{...e,children:(0,t.jsx)("form",{name:n,className:l,onBlur:i,onChange:o,onSubmit:n=>{n.stopPropagation(),e.clearErrors(),e.handleSubmit(r,a)(n)},children:c})});var o=r(13750),l=r(88583),c=r(15349),d=r(94018),u=r(37474),m=r(64166),_=r(30266),p=r(80631),h=r(32988),y=r.n(h),g=r(72402),b=r.n(g);let f=({resend:e,communicationType:n,mobileCentered:r=!1})=>{let s=(0,a.c)();return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("p",{className:y()([b().linkContainer,r&&b().mobileCentered]),children:[s.rich("cards.resend.failedToReceive",{...u.D,communicationType:s(`cards.resend.${n}`)}),(0,t.jsx)(p.U,{className:b().textButton,type:"button",onClick:()=>e(),children:s("cards.resend.retry")})]})})};var x=r(23404),j=r(30130),k=r.n(j);let w=({})=>{let e=(0,a.c)("common"),n=(0,s.mN)(),{requestMagicLink:r,error:h}=(0,x.Y)(),{getValues:y,formState:{isValid:g,isSubmitting:b,isSubmitSuccessful:j,errors:w},setError:v,reset:N}=n,C=async({email:e})=>{await r(e),h&&v("email",{message:h})},L=async e=>await r(e);return(0,t.jsx)(_.Z,{className:k().wrapper,children:j?(0,t.jsxs)(_.Z.Body,{children:[(0,t.jsx)("h1",{children:e("weveSentLoginLink")}),(0,t.jsx)("p",{children:e.rich("weHaveSentALoginEmailTo",{...u.D,email:y("email"),emailAddress:e=>(0,t.jsx)("strong",{children:e})})}),(0,t.jsxs)("small",{className:k().small,children:[(0,t.jsx)(d.I,{className:k().smallIcon,type:"info"}),e("checkSpamFolder"),(0,t.jsx)("br",{}),(0,t.jsx)(p.U,{className:k().resetButton,onClick:()=>N(),children:e("loginWithDifferentAddress")})]}),(0,t.jsx)(f,{communicationType:"email",resend:()=>L(y("email"))})]}):(0,t.jsxs)(_.Z.Body,{children:[(0,t.jsx)("h1",{children:e("login")}),(0,t.jsx)("p",{children:e("pleaseLoginToContinue")}),(0,t.jsxs)(i,{className:k().form,form:n,name:e("login"),onSubmit:C,children:[(0,t.jsx)(o.D0,{name:"email",label:e("emailAddress"),required:!0,requiredLabel:e("required"),displayInlineError:!1,children:(0,t.jsx)(l.j,{validationMessage:{required:e("validation.yourEmailAddressIsRequired"),invalid:e("validation.emailNotValid")}})}),(0,t.jsxs)(m.$,{type:"submit",color:"cta",pending:b,disabled:!g,children:[(0,t.jsx)(d.I,{type:"tick"})," ",e("login")]})]}),Object.keys(w).map(e=>(0,t.jsx)(c.b,{errors:w,name:e},e))]})})};var v=r(17197),N=r(73194),C=!0;let L=(0,N.V)(()=>{let e=(0,a.c)("common");return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v.e,{titleParts:[e("login")]}),(0,t.jsx)(w,{})]})})},4140:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},23404:(e,n,r)=>{"use strict";r.d(n,{Y:()=>l});var t=r(5700),a=r(55729),s=r(83867),i=r(59496),o=r(57487);let l=()=>{let e=(0,t.c)("common"),[n,r]=(0,a.useState)(!1),[l,c]=(0,a.useState)();return{requestMagicLink:async n=>{try{await new s.jI({baseURL:i.DG}).magicLinks.requestV1MagicLink({email:n,magic_link_uri:i.B6}),r(!0)}catch(n){r(!1),(0,o.F2)(n)?c(n?.response?.data?.message||""):c(e("errorSendingLoginEmail"))}},isSucess:n,error:l}}},30130:e=>{e.exports={wrapper:"LoginCard_wrapper__qSWb2",form:"LoginCard_form__b_HNq",small:"LoginCard_small__H9s2a","small-icon":"LoginCard_small-icon__prLzS",smallIcon:"LoginCard_small-icon__prLzS","reset-button":"LoginCard_reset-button__4N20h",resetButton:"LoginCard_reset-button__4N20h"}},35800:(e,n,r)=>{"use strict";r.d(n,{A:()=>s});var t=r(6029),a=r(84833);r(58046);let s=({type:e,className:n,style:r,children:s,ariaHidden:i=!0,...o})=>(0,t.jsx)("span",{"aria-hidden":i,className:(0,a.c)("_icon_1j6dh_1",`icons-${e}`,n),style:r,...o,children:s})},56121:(e,n,r)=>{e.exports=r(61847)()},58046:()=>{},61847:(e,n,r)=>{"use strict";var t=r(4140);function a(){}function s(){}s.resetWarningCache=a,e.exports=function(){function e(e,n,r,a,s,i){if(i!==t){var o=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function n(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
1:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:s,resetWarningCache:a};return r.PropTypes=r,r}},72402:e=>{e.exports={"text-button":"ResendButton_text-button__mupIw",textButton:"ResendButton_text-button__mupIw","link-container":"ResendButton_link-container__MGaJ2",linkContainer:"ResendButton_link-container__MGaJ2","mobile-centered":"ResendButton_mobile-centered__u2IJA",mobileCentered:"ResendButton_mobile-centered__u2IJA"}},82805:(e,n,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/login",function(){return r(1308)}])}},e=>{e.O(0,[3166,4818,5336,7140,7761,5819,8796,636,6593,8792],()=>e(e.s=82805)),_N_E=e.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.