1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4076],{49021:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/forgot-password",function(){return s(4993)}])},5668:function(e,t,s){"use strict";var l=s(85893),a=s(25675),n=s.n(a);s(67294),t.Z=()=>(0,l.jsx)("div",{className:"w-full h-full bg-center bg-cover flex justify-center items-center",style:{backgroundImage:"url('/images/auth_banner.svg"},children:(0,l.jsxs)("div",{className:"flex flex-col w-full gap-5 sm:gap-20 sm:justify-between h-full ",children:[(0,l.jsxs)("div",{className:"w-[80%] mx-auto flex flex-col gap-5 mt-4",children:[(0,l.jsx)("h2",{className:'text-[#FAFBFD] font-["Outfit"] text-[2.2rem] font-[700] leading-[2.5rem]',children:"Create agents that help people connect with your community."}),(0,l.jsx)("h6",{className:'text-[1rem] font-["lexend"] text-[#FAFBFD] leading-[1.25rem] font-[400]',children:"With Ecclesia, you can build AI agents trained on the information you trust to provide answers they need."})]}),(0,l.jsx)("div",{className:"w-full flex justify-end",children:(0,l.jsx)(n(),{src:"/images/auth_banner2.svg",width:100,height:100,alt:"side_banner_pic",className:"w-[90%] h-auto"})})]})})},4993:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return forgot_password}});var l=s(85893),a=s(67294),n=s(41664),r=s.n(n),i=s(91444),c=s(36316),o=s(9206),x=s(70231),d=s(47582),m=s(89583),auth_ForgetPasswordForm=()=>{let[e,t]=(0,a.useState)(""),[s,n]=(0,a.useState)(!1),[f,u]=(0,a.useState)(!1),handleSubmit=async t=>{if(t.preventDefault(),u(!0),!e){u(!1),i.Am.error("Email is required");return}try{let t=await (0,d.o9)({email:e});u(!1),i.Am.success(t),n(!0);return}catch(t){let{errorMessage:e}=t;e?i.Am.error(e):i.Am.error("Something went wrong! Please try again"),u(!1)}};return(0,l.jsxs)(o.Z,{children:[!s&&(0,l.jsxs)("form",{onSubmit:handleSubmit,className:"flex flex-col gap-8",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,l.jsxs)(r(),{href:"./login",className:"flex items-center gap-2",children:[(0,l.jsx)(x.P3v,{className:"text-[#2B65DE] text-[1.75rem]"}),(0,l.jsx)("span",{className:"text-[#424B62] text-[1rem]",children:"Back"})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,l.jsx)("h2",{className:'text-[#2B3244] text-[2.25rem] leading-normal font-[700] font-["Outfit"]',children:"Forgot Password"}),(0,l.jsx)("h5",{className:'text-[#424B62] font-["lexend"] text-[1.125rem] leading-[1.625rem] font-normal',children:"Enter the email you used to create your account so we can send you instructions on how to reset your password."})]})]}),(0,l.jsx)("div",{className:"flex flex-col gap-6",children:(0,l.jsxs)("div",{className:'text-[1rem] font-["lexend"] flex flex-col items-start gap-1 w-full relative',children:[(0,l.jsxs)("label",{className:"text-[#2B3244] flex items-start gap-0.5",htmlFor:"email",children:["Email",(0,l.jsx)(m.QJe,{size:6,className:"mt-1",color:"red"})]}),(0,l.jsx)("input",{className:"text-[#2B3244] placeholder:text-[#B3BDD6] border-[1px] border-solid border-[#D5DDF3] outline-none focus:outline-none rounded-[0.625rem] w-full py-3",placeholder:"Enter Email",type:"email",name:"email",id:"email",value:e,onChange:e=>{t(e.target.value)}})]})}),(0,l.jsxs)("div",{className:"flex flex-col w-full items-center gap-1",children:[(0,l.jsxs)("button",{disabled:f,type:"submit",className:'bg-[#2B65DE] rounded-[0.75rem] text-white font-[500] text-[1rem] py-3 px-1 font-["lexend"] w-full flex justify-center items-center gap-2',children:[(0,l.jsx)(c.Z,{size:20,className:"".concat(f?"animate-spin flex":"hidden")}),(0,l.jsx)("span",{children:"Send"})]}),(0,l.jsx)("button",{className:'bg-[#fff] rounded-[0.75rem] text-black font-[500] text-[1rem] mt-4 py-3 px-1 border-[1px] border-gray-200 border-solid font-["lexend"] w-full flex justify-center items-center gap-2',children:(0,l.jsx)(r(),{href:"/auth/login",children:"Back to Login"})})]})]}),s&&(0,l.jsxs)("div",{className:"flex flex-col items-start justify-center min-h-[80vh] gap-8",children:[(0,l.jsx)("div",{className:"w-full flex flex-col items-start",children:(0,l.jsxs)(r
1(),{href:"./login",className:"flex items-center gap-2",children:[(0,l.jsx)(x.P3v,{className:"text-[#2B65DE] text-[1.75rem]"}),(0,l.jsx)("span",{className:"text-[#424B62] text-[1rem]",children:"Back"})]})}),(0,l.jsxs)("div",{className:"flex flex-col gap-1 items-start",children:[(0,l.jsx)("h2",{className:'text-[#2B3244] text-[2.25rem] leading-normal font-[700] font-["Outfit"]',children:"Check your Email"}),(0,l.jsxs)("h5",{className:'text-[#424B62] font-["lexend"] text-[1.125rem] leading-[1.625rem] font-normal',children:["We have sent an email with password reset information to ",(0,l.jsx)("span",{className:"text-[#2B65DE] font-[500]",children:e})]})]}),(0,l.jsxs)("div",{className:"flex flex-col w-full items-center gap-1",children:[(0,l.jsxs)("button",{onClick:handleSubmit,disabled:!0===f,className:'bg-[#2B65DE] rounded-[0.75rem] text-white font-[500] text-[1rem] py-3 px-1 font-["lexend"] w-full flex justify-center items-center gap-2',children:[(0,l.jsx)(c.Z,{size:20,className:"".concat(f?"animate-spin flex":"hidden")}),(0,l.jsx)("span",{children:"Resend email"})]}),(0,l.jsx)("button",{type:"submit",className:'bg-[#fff] rounded-[0.75rem] text-black font-[500] text-[1rem] mt-4 py-3 px-1 border-[1px] border-gray-200 border-solid font-["lexend"] w-full flex justify-center items-center gap-2',children:(0,l.jsx)(r(),{href:"/auth/login",children:"Back to Login"})})]}),(0,l.jsxs)("h6",{className:'text-[#2B3244] font-["lexend"] font-[400]',children:["Didn't receive email? ",(0,l.jsx)("span",{className:"font-[600]",children:"Check spam or promotion folder"})," "]})]})]})},f=s(5668),forgot_password=()=>(0,l.jsxs)("div",{className:"w-full flex sm:flex-row flex-col h-screen sm:overflow-hidden",children:[(0,l.jsx)("div",{className:"sm:w-1/2",children:(0,l.jsx)(auth_ForgetPasswordForm,{})}),(0,l.jsx)("div",{className:"sm:w-1/2",children:(0,l.jsx)(f.Z,{})})]})}},function(e){e.O(0,[5445,1778,9774,2888,179],function(){return e(e.s=49021)}),_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.