1import{q as m,s as c,G as u,o as d,b as l,k as E,r as f,j as t,i}from"./index-H-7Mdjgq.js";import{C as p}from"./index-DBKgDYDB.js";import{a as g,b as x}from"./notifications-DPyM_svh.js";import{u as C}from"./useMutation--MIpdzpW.js";import"./IconX-BeJ4A9dL.js";const h=()=>{const e=m();return C({mutationFn:({userId:s,token:r})=>c.confirmEmailAddress(s,r),onSuccess:()=>{e.invalidateQueries({queryKey:[u]})}})},A=()=>{const{token:e}=d(),{data:s,isFetched:r}=l(),n=E(),o=h(),a=()=>{s!=null&&s.id&&o.mutate({token:e,userId:s==null?void 0:s.id},{onSuccess:()=>{x(i._({id:"OtgNFx"})),n("/manage/events")},onError:()=>{g(i._({id:"3Z223G"}))}})};return f.useEffect(()=>a(),[r]),t.jsx(p,{style:{marginTop:"var(--hi-spacing-lg)"},children:t.jsx("p",{children:i._({id:"wnDgGj"})})})};export{A as default};
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.