1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5890],{4673:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m});var s=r(52200),a=r(80388);let n=a.forwardRef(function(e,t){let{title:r,titleId:s,...n}=e;return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":s},n),r?a.createElement("title",{id:s},r):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"}))});var o=r(77160),i=r(8603),l=r(84391),c=r(13409),d=r(82497),u=r.n(d);function m(){let{showToast:e}=(0,o.d)(),[t,r]=(0,a.useState)(""),[d,m]=(0,a.useState)(!1),[x,p]=(0,a.useState)(!1),g=async r=>{r.preventDefault(),m(!0);try{await i.Z.forgotPassword({email:t}),p(!0),e("Password reset email sent. Please check your inbox.","success")}catch(t){p(!0),e("Password reset email sent. Please check your inbox.","success")}finally{m(!1)}};return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"text-center mb-8",children:[(0,s.jsx)("h2",{className:"mt-2 text-3xl font-display font-bold text-black",children:"Reset your password"}),(0,s.jsx)("p",{className:"mt-2 text-sm text-light",children:"Enter your email address and we'll send you a link to reset your password"})]}),x?(0,s.jsxs)("div",{className:"text-center space-y-4",children:[(0,s.jsx)("div",{className:"bg-success-50 p-4 rounded-lg",children:(0,s.jsx)("p",{className:"text-success-700",children:"If your email exists in our system, you will receive a password reset link shortly."})}),(0,s.jsx)("p",{className:"text-sm text-light",children:"Please check your email inbox and follow the instructions."})]}):(0,s.jsxs)("form",{className:"space-y-6",onSubmit:g,children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:"email",className:"block text-sm font-medium text-light",children:"Email address"}),(0,s.jsxs)("div",{className:"mt-1 relative",children:[(0,s.jsx)("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,s.jsx)(n,{className:"h-5 w-5 text-gray-400"})}),(0,s.jsx)(c.p,{id:"email",name:"email",type:"email",autoComplete:"email",required:!0,className:"pl-10",placeholder:"[email protected]",value:t,onChange:e=>r(e.target.value)})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(l.$,{type:"submit",variant:"primary",fullWidth:!0,isLoading:d,disabled:d,children:"Send reset link"}),(0,s.jsx)("p",{className:"text-xs text-center text-gray-500 mt-3",children:"If you originally signed up with Google, this will allow you to set up a password"})]})]}),(0,s.jsx)("div",{className:"mt-6 text-center",children:(0,s.jsxs)("p",{className:"text-sm text-gray-600",children:["Remember your password?"," ",(0,s.jsx)(u(),{href:"/login",className:"text-primary-600 hover:text-primary-500 font-medium",children:"Sign in"})]})})]})}},13409:(e,t,r)=>{"use strict";r.d(t,{p:()=>a});var s=r(52200);function a(e){let{className:t="",value:r,onChange:a,isMultiline:n=!1,...o}=e,i=!n&&"number"===o.type,l="\n w-full px-3 py-2\n border border-gray-300\n rounded-lg\n bg-white\n text-black\n focus:outline-none focus:ring-2 focus:ring-primary-500\n ".concat(o.disabled?"bg-surface-100 cursor-not-allowed opacity-75":"","\n ").concat(i?"appearance-none [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none":"","\n ");return n?(0,s.jsx)("textarea",{value:r,onChange:a,className:"".concat(l," resize-none ").concat(t),rows:3,...o}):(0,s.jsx)("input",{type:"text",value:r,onChange:a,className:"".concat(l," ").concat(t),...o})}},36792:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r(80388);let a=s.forwardRef(function(e,t){let{title:r,titleId:a,...n}=e;return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":a},n),r?s.createElement("title",{id:a},r):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18
118 6M6 6l12 12"}))})},70074:(e,t,r)=>{"use strict";r.d(t,{$:()=>i,t:()=>l});var s=r(52200),a=r(80388),n=r(36792);let o=()=>{let{toasts:e,removeToast:t}=(0,a.useContext)(i);return(0,s.jsx)("div",{className:"fixed top-4 left-1/2 -translate-x-1/2 z-50 flex flex-col gap-2 items-center pointer-events-none",children:e.map(e=>(0,s.jsxs)("div",{className:"\n flex items-center justify-between min-w-[300px] max-w-md py-3 px-4 rounded-lg shadow-lg\n animate-slideUp pointer-events-auto cursor-pointer\n ".concat("success"===e.type?"bg-gradient-to-r from-green-400 to-green-600 text-white backdrop-filter backdrop-blur-sm bg-opacity-90 border border-green-200/30 shadow-lg":"error"===e.type?"bg-gradient-to-r from-red-400 to-red-600 text-white backdrop-filter backdrop-blur-sm bg-opacity-90 border border-red-200/30 shadow-lg":"bg-gradient-to-r from-blue-400 to-blue-600 text-white backdrop-filter backdrop-blur-sm bg-opacity-90 border border-blue-200/30 shadow-lg","\n "),onClick:()=>t(e.id),children:[(0,s.jsx)("div",{className:"toast-message font-medium",children:e.message}),(0,s.jsx)(n.A,{className:"w-4 h-4 ml-2 flex-shrink-0"})]},e.id))})},i=(0,a.createContext)({toasts:[],showToast:()=>{},removeToast:()=>{}}),l=e=>{let{children:t}=e,[r,n]=(0,a.useState)([]),[l,c]=(0,a.useState)(!1),d=(0,a.useRef)(0);(0,a.useEffect)(()=>{c(!0)},[]);let u=(0,a.useCallback)(e=>{n(t=>t.filter(t=>t.id!==e))},[]),m=(0,a.useCallback)((e,t)=>{let r="string"==typeof e?{message:e,type:t||"success",duration:4e3}:e,s=r.id||"toast-".concat(d.current++);n(e=>[...e,{...r,id:s}]),setTimeout(()=>{u(s)},r.duration)},[u]);return(0,s.jsxs)(i.Provider,{value:{toasts:r,showToast:m,removeToast:u},children:[t,l&&(0,s.jsx)(o,{})]})}},77160:(e,t,r)=>{"use strict";r.d(t,{d:()=>n});var s=r(80388),a=r(70074);let n=()=>{let{showToast:e}=(0,s.useContext)(a.$);return{showToast:e}}},84391:(e,t,r)=>{"use strict";r.d(t,{$:()=>a});var s=r(52200);function a(e){let{variant:t="primary",size:r="md",fullWidth:a=!1,isLoading:n=!1,children:o,className:i="",...l}=e;return(0,s.jsxs)("button",{className:"\n ".concat("inline-flex items-center justify-center font-medium rounded-lg transition-colors duration-200","\n ").concat({primary:"bg-primary-600 text-white hover:bg-primary-700 focus:ring-2 focus:ring-primary-500 focus:ring-offset-2",secondary:"bg-secondary-600 text-white hover:bg-secondary-700 focus:ring-2 focus:ring-secondary-500 focus:ring-offset-2",outline:"border-2 border-primary-600 text-primary-600 hover:bg-primary-50 dark:hover:bg-primary-900/30 focus:ring-2 focus:ring-primary-500 focus:ring-offset-2",ghost:"text-primary-600 ",danger:"bg-red-600 text-white hover:bg-red-700 focus:ring-2 focus:ring-red-500 focus:ring-offset-2",success:"bg-green-600 text-white hover:bg-green-700 focus:ring-2 focus:ring-green-500 focus:ring-offset-2",warning:"bg-yellow-600 text-white hover:bg-yellow-700 focus:ring-2 focus:ring-yellow-500 focus:ring-offset-2"}[t],"\n ").concat({sm:"px-3 py-1.5 text-sm",md:"px-4 py-2 text-base",lg:"px-6 py-3 text-lg"}[r],"\n ").concat(a?"w-full":"","\n ").concat(n?"opacity-70 cursor-not-allowed":"","\n ").concat(i,"\n "),disabled:n,...l,children:[n&&(0,s.jsxs)("svg",{className:"animate-spin -ml-1 mr-2 h-4 w-4",fill:"none",viewBox:"0 0 24 24",children:[(0,s.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,s.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),o]})}},98275:(e,t,r)=>{Promise.resolve().then(r.bind(r,4673))}},e=>{e.O(0,[1257,2497,6919,891,4126,7358],()=>e(e.s=98275)),_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.