PageSourceSearch

https://avua.com/assets/EmployerVerifyEmail-BIDBa9sY.js

js avua.com collected 2026-09-24 12:53:59 UTC 1,172 bytes, 2 lines download raw bytes

1import{u as v,a2 as g,c as m,t as h,j as n,c4 as y,N as E}from"./index-B9q78oLf.js";import{c as k}from"./employerDashboard-D_amyCIH.js";import"./index-Cq9UrQZH.js";import"./___vite-browser-external_commonjs-proxy-CeLqxiRG.js";const N=()=>{const t=v(),d=g(),c=new URLSearchParams(d.search),s=c.get("token"),l=c.get("change_email"),[f,a]=m.useState(null),u=h();return m.useEffect(()=>{console.log("token:",s),console.log("change-email******:",l),(async()=>{if(!s){a("Invalid or missing token");return}try{const o=await y(s,l);console.log("RESONSE",o.data);const i=o.data,e=i[0].jwt_token,p=i[0].type;if(console.log("TOKEN*******:",e),i&&e){const r=await k(e);r?.msg==="success"&&(r?.data?.is_reviewed===!0?(u(E({token:e,isAuthenticated:!0,userType:p})),t("/employer/dashboard"),t("")):t("/up-for-review",{state:{is_reviewed:r?.data?.is_reviewed,token:e}}))}else a("No tokens received in the response")}catch(o){console.error("Email verification error:",o),a("Error verifying email")}})()},[s,u,t]),n.jsxs("div",{children:[n.jsx("h1",{children:"Verification Status"}),n.jsx("p",{children:f})]})};export{N as default};
2//# sourceMappingURL=EmployerVerifyEmail-BIDBa9sY.js.map

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.