try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="f4db5849-2b2f-4189-9455-64f467129221",e._sentryDebugIdIdentifier="sentry-dbid-f4db5849-2b2f-4189-9455-64f467129221")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"9085f826cfdc1d75ddfbe898ad75a9c7a36a9da7"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[8399],{8399:(e,a,n)=>{n.r(a),n.d(a,{MagicLinkSent:()=>p,default:()=>m});var t=n(96540),i=n(33185),d=n(88934),l=n(63766),o=n(42660),s=n(64391),c=n(87875),r=n(3575),f=n(26363),u=n(10444),h=n(60908),g=n(94404),b=n(74848);const k=(0,i.default)(l.Text).attrs({role:"button"}).withConfig({displayName:"magicLinkSent__ButtonText",componentId:"sc-ua6kmo-0"})(["cursor:pointer;"]),y=(0,g.A)(k),p=()=>{const{searchParams:e}=new URL(window.location.href),a=e?.get("email"),{search:n,state:i={}}=(0,d.zy)(),{email:o}=i||{},g=a||o,k=window.location.hash,p=(0,f.Js)(),m=(0,u.J)(),w=(0,t.useCallback)((()=>{const e=encodeURIComponent((0,r.V)(`/sign-in${n}`,k)),a=encodeURIComponent((0,r.V)(`/sign-up/verify${n}`,k));p({email:g,redirectURI:e,registerURI:a,resend:!0})}),[g]);return(0,b.jsx)(h.Ay,{feature:"MagicLinkSent",email:g,children:(0,b.jsx)(s.A,{"data-testid":"magicLinkSent",isScreenSmall:m,children:(0,b.jsxs)(l.Flex,{column:!0,gap:4,children:[(0,b.jsx)(c.D7,{children:"Check your email!"}),(0,b.jsxs)(l.Flex,{column:!0,padding:[0,0,8,0],gap:8,justifyContent:"between",alignItems:"center",children:[(0,b.jsxs)(l.Flex,{column:!0,gap:1,alignItems:"center",children:[(0,b.jsxs)(c.D7,{children:["We have sent an email to ",(0,b.jsx)(c.D7,{children:!!g&&g}),"."]}),(0,b.jsx)(c.D7,{children:"Please find this email (check your spam folder too) and click the button there to continue."})]}),(0,b.jsxs)(l.Text,{color:"bright",children:["Didn't receive it?"," ",(0,b.jsx)(y,{onClick:w,color:"primary","data-ga":"magicLikSent::click-resent::check-email-view",children:"Click here to resend it."})]})]})]})})})},m=(0,o.g)(p,"dark")},80590:(e,a,n)=>{n.d(a,{A:()=>l});var t=n(96540),i=n(3319),d=n(74848);const l=e=>a=>{let{callback:n,feature:l,isStart:o,isSuccess:s,isFailure:c,eventReason:r,payload:f={},...u}=a;const{sendLog:h,isReady:g}=(0,i.A)(),b=(0,t.useCallback)((e=>{const a=u[n],t={feature:l,isStart:o,isSuccess:s,isFailure:c,eventReason:r,...f,...u["data-ga"]?{dataGa:u["data-ga"]}:{},...u.dataGa?{dataGa:u.dataGa}:{},...u["data-track"]?{dataTrack:u["data-track"]}:{},...u.label?{label:u.label}:{}};"function"===typeof a&&a(e),h(t,!0)}),[n,h,g,f,u]),k=(0,t.useMemo)((()=>({...u,[n]:b})),[u,n,b]);return(0,d.jsx)(e,{...k})}},94404:(e,a,n)=>{n.d(a,{A:()=>l});var t=n(80590),i=n(81691),d=n(74848);const l=e=>a=>{let{payload:n={},...l}=a;const o=(0,t.A)(e);return(0,d.jsx)(o,{...l,callback:"onClick",payload:{...n,action:i.o1.buttonClicked}})}}}]);