PageSourceSearch

https://static.betterhelp.com/_next/static/chunks/pages/eap-admin-login-9a19819201595e3f.js

js betterhelp.com collected 2026-09-27 21:13:51 UTC 5,646 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7932],{13573:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>g,default:()=>_});var n=a(33164),s=a(44896),i=a(19814),r=a(12960),l=a(45049),o=a(89860),d=a(57516),c=a(17283),m=a(18516),u=a.n(m);function p(){let[e,t]=(0,s.useState)(""),[a,m]=(0,s.useState)(!1),p=(0,s.useMemo)(()=>new r.A,[]),{register:g,handleSubmit:_}=(0,i.mN)({mode:"onBlur",reValidateMode:"onChange",defaultValues:{email:"",password:""}}),f=async e=>{m(!0),t("");try{let t=await p.post("/api/login-user/eap_admin/",{email:e.email,password:e.password});"success"===t.status&&t.redirect_url&&(window.location.href=t.redirect_url)}catch(e){var a,n;t((null==e||null==(a=e.cause)?void 0:a.message)?null==e||null==(n=e.cause)?void 0:n.message:"Could not log in. Check your email and password.")}finally{m(!1)}};return(0,n.jsxs)("div",{className:"".concat(u().wrapper," bh-row w-full items-stretch"),children:[(0,n.jsx)("div",{className:"".concat(u().bg_image," flex-auto w-2/4 hidden lg:block")}),(0,n.jsx)("div",{className:"flex-auto w-2/4",children:(0,n.jsx)("div",{className:"".concat(u().right_column," flex justify-center items-center"),children:(0,n.jsxs)("div",{className:"flex flex-col justify-center flex-auto",children:[(0,n.jsx)(l.default,{show:a}),(0,n.jsx)("h2",{"data-testid":(0,c.A)("eap-admin-login-header"),className:"mb-2 !font-[700] txt-page-subtitle ".concat(u().match_old_theme_font),children:"EAP Admin Login"}),e.length>0&&(0,n.jsx)("div",{children:(0,n.jsx)(o.A,{type:"error",messages:[e]})}),(0,n.jsxs)("form",{onSubmit:_(f),className:"flex flex-col mt-5",children:[(0,n.jsx)("input",{"data-testid":(0,c.A)("eap-admin-email-input"),...g("email",{required:"Please enter a valid email address"}),type:"email",placeholder:"Email",className:"block mb-5 form-input"}),(0,n.jsx)("input",{"data-testid":(0,c.A)("eap-admin-password-input"),...g("password",{required:"Please enter a password"}),type:"password",placeholder:"Password",className:"block mb-2 form-input"}),(0,n.jsx)(d.A,{"data-testid":(0,c.A)("eap-admin-forgot-password"),href:"/user-forgot-password/eap_admin/",children:"Forgot Password?"}),(0,n.jsx)("button",{"data-testid":(0,c.A)("eap-admin-login-submit"),className:"mt-5 btn btn-primary",type:"submit",children:"Log in"})]})]})})})]})}p.pageTitle="EAP Admin Login | BetterHelp";var g=!0;let _=p},18516:e=>{e.exports={wrapper:"partner-login_wrapper__MIZAL",bg_image:"partner-login_bg_image__Fny_l",page_title:"partner-login_page_title__UB34D",right_column:"partner-login_right_column__kXkAe",match_old_theme_font:"partner-login_match_old_theme_font__zZW0Y"}},41996:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});let n=JSON.parse('{"contentIsLoading":"Inhalt wird geladen"}');var s=a.t(n,2);let i=JSON.parse('{"contentIsLoading":"Content is loading"}');var r=a.t(i,2);let l=JSON.parse('{"contentIsLoading":"El contenido se est\xe1 cargando"}');var o=a.t(l,2);let d=JSON.parse('{"contentIsLoading":"Le contenu est en cours de t\xe9l\xe9chargement"}');var c=a.t(d,2);let m=JSON.parse('{"contentIsLoading":"De inhoud wordt geladen"}'),u={de:s,en:r,es:o,fr:c,nl:a.t(m,2)}},45049:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>m});var n=a(33164);a(44896);var s=a(97393),i=a(33132),r=a(17283),l=a(37643),o=a(41996),d=a(83832),c=a.n(d);let m=e=>{let{show:t,hasBackdrop:a=!0,position:d="fixed",rootClassName:m="",circleClassName:u=""}=e,p=(0,i.B)(o.A);return t?(0,n.jsx)("div",{className:(0,s.A)(a&&c().backdrop,d,m),children:(0,n.jsx)("svg",{className:(0,s.A)(c().loading_animation,a&&c().center),viewBox:"0 0 42 42",role:"alert","aria-live":"assertive","aria-label":(0,l.t)(p.contentIsLoading),"data-testid":(0,r.A)("loading-animation"),children:(0,n.jsx)("circle",{className:(0,s.A)("stroke-site-brandPrimary regain:stroke-site-primaryBgButton teencounseling:stroke-site-primaryBgButton",u),cx:"21",cy:"21",r:"18.5"})})}):null}},55758:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/eap-admin-login",function(){return a(13573)}])},83832:e=>{e.exports={backdrop:"LoadingAnimation_backdrop__FAw9r",loading_animation:"LoadingAnimation_loading_animation__AFK_O",center:"LoadingAnimation_center__jomW0",spinner:"LoadingAnimation_spinner__2J30y"}},89860:(e,t,a)=>{"use strict";a.d(t,{A:()=>
1o,_:()=>l});var n=a(33164);a(44896);var s=a(97393),i=a(17283);function r(e){let{dismiss:t}=e;return(0,n.jsx)("span",{className:"content-center justify-self-end",children:(0,n.jsx)("button",{"aria-label":"close",type:"button",onClick:t,children:(0,n.jsx)("i",{className:"far fa-xmark-large"})})})}function l(e){let t=Object.keys(e).map(t=>"string"==typeof e[t].message?e[t].message:JSON.stringify(e[t].message));return t.filter((e,a)=>t.indexOf(e)===a)}let o=function(e){let{messages:t,showAllMessages:a=!1,multipleMessage:l="Please complete all missing fields.",type:o="error",isDismissable:d=!1,dismiss:c=()=>{},overrideStyles:m="",alwaysHasBottomMargin:u=!1,listType:p="list-none",testId:g=""}=e,_=t.filter(e=>"string"!=typeof e||""!==e.trim()),f="notification !px-5 grid grid-flow-col auto-cols-auto justify-between items-center ".concat(o);return 0===_.length?null:(0,n.jsxs)("ul",{className:(0,s.A)(p,{"mb-5":u}),children:[_.length>1&&!a&&(0,n.jsxs)("li",{className:m||f,"data-testid":(0,i.A)("".concat(g,"-").concat(o,"-notification")),children:[(0,n.jsx)("span",{children:l}),d&&(0,n.jsx)(r,{dismiss:c})]}),(1===_.length||a)&&_.map((e,t)=>(0,n.jsxs)("li",{className:(0,s.A)(m||"".concat(f," ").concat(t+1!==_.length?"mb-5":"")),"data-testid":(0,i.A)("".concat(g,"-").concat(o,"-notification")),children:[e,d&&(0,n.jsx)(r,{dismiss:c})]},t))]})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=55758)),_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.