PageSourceSearch

https://www.admin.academicjobs.com/static/js/872.1398cc23.chunk.js

js academicjobs.com collected 2026-09-24 21:50:11 UTC 5,456 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkacademicJobs=globalThis.webpackChunkacademicJobs||[]).push([[872],{3663(e,s,r){r.d(s,{A:()=>a});var t=r(5527),n=r(4414);const a=()=>{const e="https://www.academicjobs.com",s=[{url:`${e}/university-jobs`,icon:`${e}/dotted-arrow.svg`,navLink:"Job Search".toUpperCase(),forceClass:"",forceButtonClass:"pb-3 border-b hover:border-amber-500"},{url:`${e}/university-rankings`,icon:`${e}/icons/university-rankings-icon.svg`,navLink:"University Rankings".toUpperCase(),forceClass:"",forceButtonClass:"pb-3 border-b hover:border-amber-500"},{url:`${e}/rate-my-professor`,icon:`${e}/icons/rate-my-professor.svg`,navLink:"Rate My Professor".toUpperCase(),forceClass:"",forceButtonClass:"pb-3 border-b hover:border-amber-500"},{url:`${e}/recruitment`,icon:"",navLink:"Post a Job",forceButtonClass:"nav-mobile-btn btn btn-aj"}];return(0,n.jsx)("header",{className:"flex items-center justify-center w-full py-4",children:(0,n.jsxs)("nav",{className:"flex items-center justify-center gap-8",children:[(0,n.jsx)("div",{className:"flex flex-row items-center",children:(0,n.jsx)("a",{href:`${e}`,className:"mr-4",children:(0,n.jsx)("img",{src:`${e}/academic-jobs-logo.svg`,alt:"Academic Jobs Logo",width:270,height:60,style:{width:"270px",height:"60px"}})})}),s.map((e,s)=>(0,n.jsx)(i,{url:e.url,icon:e.icon,navLink:e.navLink,forceLinkClass:e.forceClass||"",forceButtonClass:e.forceButtonClass||"",onClick:()=>{}},s))]})})},i=e=>{let{url:s,icon:r,navLink:a,forceLinkClass:i,forceButtonClass:o,forceImageClass:l,onClick:c}=e;return(0,n.jsx)("a",{href:s,className:`flex flex-row items-center ${i}`,onClick:c,children:(0,n.jsxs)("div",{className:`flex flex-row items-center whitespace-nowrap text-gray-900 ${o}`,style:{gap:"8px"},children:[r&&""!==r&&(0,n.jsx)("span",{className:"text-amber-500",children:r.includes("rate-my-professor")?(0,n.jsx)(t.vUe,{className:"w-6 h-6 text-aj"}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{className:`text-amber-500 ${l}`,src:r,alt:a,width:22,height:22,style:{height:"22px"},onError:e=>{console.warn(`Failed to load icon: ${r} for navLink: ${a}`),e.target.style.display="none",e.target.nextSibling.style.display="inline"}}),(0,n.jsx)("span",{style:{display:"none",color:"red"},children:"[Icon Missing]"})]})}),(0,n.jsx)("span",{children:a})]})})}},872(e,s,r){r.r(s),r.d(s,{default:()=>l});var t=r(9950),n=r(2074),a=r(3663),i=r(3023),o=r(4414);const l=()=>{const[e,s]=(0,t.useState)(""),[r,l]=(0,t.useState)(""),[c,d]=(0,t.useState)(""),[m,{isLoading:u}]=(0,i.Lv)();return(0,o.jsxs)("div",{className:"flex flex-col min-h-screen",children:[(0,o.jsx)(a.A,{}),(0,o.jsx)("div",{className:"flex items-center justify-center flex-1 p-4 bg-gradient-to-br from-blue-50 via-indigo-50 to-purple-50",children:(0,o.jsx)("div",{className:"w-full max-w-md mx-auto",children:(0,o.jsxs)("div",{className:"p-8 bg-white shadow-2xl rounded-3xl",children:[(0,o.jsxs)("div",{className:"flex items-center mb-2 space-x-3",children:[(0,o.jsx)("div",{className:"flex items-center justify-center w-10 h-10 bg-gradient-to-r from-blue-600 to-indigo-600 rounded-xl",children:(0,o.jsx)("svg",{className:"w-6 h-6 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})})}),(0,o.jsx)("h1",{className:"text-2xl font-bold text-gray-900",children:"Reset Password"})]}),(0,o.jsx)("p",{className:"mb-6 text-gray-600",children:"Enter the email address linked to your account and we'll send you a link to reset your password."}),r&&(0,o.jsx)("div",{className:"p-4 mb-4 text-sm text-green-800 bg-green-100 border border-green-200 rounded-xl",children:r}),c&&(0,o.jsx)("div",{className:"p-4 mb-4 text-sm font-medium text-red-600 bg-red-50 border border-red-200 rounded-xl",children:c}),(0,o.jsxs)("form",{onSubmit:async s=>{s.preventDefault();try{await m(e).unwrap(),l("A password reset link has been sent to your email address."),d("")}catch(t){var r;d((null===t||void 0===t||null===(r=t.data)||void 0===r?void 0:r.message)||"There was an error sending the reset link. Please try again later."),l("")}},children:[(0,o.jsxs)("div",{className:"mb-6",children:[(0,o.jsxs)("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700",children:["Email Address",(0,o.jsx)("span",{className:"ml-0.5 text-red-600",children:"*"})]}),(0,o.jsx)("input",{type:"email",id:"email",placeholder:"[email protected]",className:"w-full mt-1 input input-md input-bordered focus:outline-none focus:border-orange-500",required:!0,value:e,onCh
1ange:e=>s(e.target.value)})]}),(0,o.jsx)("button",{type:"submit",disabled:u,className:"w-full bg-gradient-to-r from-blue-600 to-indigo-600 text-white font-semibold py-3 px-4 rounded-xl hover:from-blue-700 hover:to-indigo-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition-all transform hover:scale-[1.02] disabled:opacity-50 disabled:cursor-not-allowed",children:u?"Sending...":"Send Reset Link"})]}),(0,o.jsxs)("div",{className:"flex items-center justify-between mt-6 text-sm text-gray-600",children:[(0,o.jsx)(n.N_,{to:"/login",className:"text-blue-600 hover:underline",children:"Back to sign in"}),(0,o.jsxs)("p",{children:["No account?\xa0",(0,o.jsx)(n.N_,{to:"/aj-signup",className:"text-blue-600 hover:underline",children:"Sign up"})]})]})]})})})]})}}}]);

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.