1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[810],{61026:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_apps/[hostname]/account/login/verify-email",function(){return i(57436)}])},92456:function(e,n,i){"use strict";i.d(n,{H:function(){return l}});var t=i(97458);function l(){return(0,t.jsx)("span",{className:"loader"})}i(2698)},57436:function(e,n,i){"use strict";i.r(n),i.d(n,{__N_SSP:function(){return w}});var t=i(97458),l=i(52983),o=i(46348),s=i(24782),r=i(13899),u=i(77057),c=i(41571),d=i(10613),a=i(97998),h=i(6142),v=i(79036),f=i.n(v),x=i(95440),j=i(47805),g=i(80870),_=i(84757),p=i(92456),w=!0;n.default=function(e){var n,i,v,w,m,b,E;let{appConfig:N,hostname:C}=e,k=(0,o.useRouter)(),y=null==k?void 0:null===(n=k.query)||void 0===n?void 0:n.verification_code,{mutate:M,error:P}=(0,j.useMutation)(async()=>{let e=await (0,s.signIn)("passwordless",{verificationCode:y,hostname:C,client:N.client,redirect:!1});if((null==e?void 0:e.status)!==200&&(null==e?void 0:e.status)!==201||e.error)throw Error("Your verification session is either invalid or has expired")},{onSuccess:()=>{var e;let n=null!==(e=N.identity.redirectOnLogin)&&void 0!==e?e:"/";k.push(n)}});if((0,l.useEffect)(()=>{y&&""!==y&&M()},[y]),P){let e=null==N?void 0:N.site,n=null==e?void 0:null===(i=e.settings)||void 0===i?void 0:i.theme,l=null!==(E=null==n?void 0:n.accentColor)&&void 0!==E?E:"#805AD5";return(0,t.jsxs)(g.WGA,{theme:null==e?void 0:null===(v=e.settings)||void 0===v?void 0:v.theme,children:[(0,t.jsx)(_._b,{preventCustomCode:!0,overrideTitle:"Login Error",page:null,site:null==N?void 0:N.site}),(0,t.jsxs)(r.M,{w:"full",h:"100vh",bgColor:{base:"white",xl:l},columns:{base:1,xl:3},children:[(0,t.jsx)(g.E$$,{showBack:!0,accentColor:l,siteName:null==e?void 0:e.siteName,logoUrl:null==e?void 0:null===(b=e.contents)||void 0===b?void 0:null===(m=b.header)||void 0===m?void 0:null===(w=m.data)||void 0===w?void 0:w.logoUrl}),(0,t.jsx)(u.P,{colSpan:{base:1,xl:2},bg:{xl:"white"},children:(0,t.jsx)(c.M,{h:"full",w:"full",children:(0,t.jsxs)(g.Zbd,{width:{base:"100%%",md:"480px"},shadow:"none",children:[(0,t.jsx)(g.aYP,{children:(0,t.jsxs)(d.K,{spacing:2,children:[(0,t.jsx)(g.X6q,{size:"lg",textAlign:"center",children:"We can't seem to authenticate you"}),(0,t.jsx)(a.x,{fontSize:"md",textAlign:"center",children:"Your verification session is either invalid or has expired."})]})}),(0,t.jsx)(g.eWM,{children:(0,t.jsx)(h.k,{justifyContent:"center",children:(0,t.jsx)(f(),{href:"/account/login",style:{textDecoration:"none"},children:(0,t.jsx)(g.gbl,{size:"md",leftIcon:(0,t.jsx)(x.sfB,{}),children:"Go back to log in"})})})})]})})})]})]})}return(0,t.jsx)(c.M,{h:"100vh",children:(0,t.jsx)(p.H,{})})}},2698:function(){}},function(e){e.O(0,[923,125,757,888,774,179],function(){return e(e.s=61026)}),_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.