PageSourceSearch

https://static.betterhelp.com/_next/static/chunks/3179.b66811449d41fa7a.js

js betterhelp.com collected 2026-09-27 21:07:39 UTC 16,163 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3179],{29779:(t,e,l)=>{l.d(e,{Gu:()=>n,cU:()=>o,m0:()=>a});let n=(t,e)=>{let l=t=>t.length>1?t.replace(/\/$/,""):t;return l(t)===l(e)},a=(t,e)=>o(n(t,e)),o=t=>t?"page":void 0},52609:(t,e,l)=>{l.d(e,{A:()=>b});var n=l(33164),a=l(44896),o=l(97393),i=l(2273),s=l(98202),c=l(17283),r=l(3936),d=l.n(r);function b(t){let{showMenu:e,toggleMobileMenu:l}=t,r=(0,s.A)(),b=(0,i.A)(),u=(0,a.useMemo)(()=>"theme-betterhelp"===b||"theme-betterhelporg",[b]),[g,p]=(0,a.useMemo)(()=>{let t="fas fa-xmark text-xl",e="fas fa-bars text-xl";return u?[(0,o.A)(t,"group-hover:text-[var(--legacyLink)]"),(0,o.A)(e,"group-hover:text-[var(--legacyLink)]")]:[(0,o.A)(t,"group-hover:text-site-link"),(0,o.A)(e,"group-hover:text-site-link")]},[u]);return(0,n.jsxs)("button",{type:"button","aria-expanded":e,"aria-controls":"mobile-nav-menu","data-testid":(0,c.A)("mobile-menu-button"),className:(0,o.A)(d().icon_wrapper,"flex items-center md:hidden counselor:max-lg:block counselor:max-lg:-order-1 counselor:mr-3 group !w-auto pr-4 !h-[62px] pl-4 ml-4",e?"counselor:bg-site-gray-light":""),onClick:t=>{l(t,e)},children:[e&&(r&&!u?(0,n.jsx)("span",{"aria-hidden":"true",children:(0,n.jsx)("svg",{width:"18",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"transition duration-75 group-hover:text-site-green-400",children:(0,n.jsx)("path",{d:"M22.6668 1.33337L1.3335 22.6667M1.3335 1.33337L22.6668 22.6667",stroke:"currentColor",strokeWidth:"3"})})}):(0,n.jsx)("i",{className:g,"aria-hidden":"true"})),!e&&(r&&!u?(0,n.jsx)("span",{"aria-hidden":"true",children:(0,n.jsx)("svg",{width:"18",height:"12",viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"transition duration-75 group-hover:text-site-green-400",children:(0,n.jsx)("path",{d:"M0 16H24V13.3333H0V16ZM0 9.33333H24V6.66667H0V9.33333ZM0 0V2.66667H24V0H0Z",fill:"currentColor"})})}):(0,n.jsx)("i",{className:p,"aria-hidden":"true"})),(0,n.jsxs)("span",{className:"sr-only",children:[e?"Close":"Open"," navigation menu"]})]})}},83179:(t,e,l)=>{l.r(e),l.d(e,{default:()=>J});var n=l(33164),a=l(44896),o=l(59668),i=l(97393),s=l(17767),c=l(59956),r=l(10668),d=l(60078),b=l(88621),u=l(29779),g=l(57516),p=l(26473),k=l(41995),h=l(33132),m=l(37643),S=l(30156);let f=function(t,e,l){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(!t)return[];if(!e.features.show_business_link||e.localizejs_language===S.Uv.es)return t;null===n&&(n=+("Home"===t[0].label));let a=(t=>{let e=t.sites_fqdn.find(t=>t.includes("betterhelporg.com"));return e?"https://".concat(e.replace(/https?:\/\//g,"")):"https://www.betterhelporg.com/"})(e);return[...t.slice(0,n),{label:(0,m.t)(l.business),link:"en"===e.localizejs_language.substring(0,2)?a:"https://betterhelpbusiness.com/".concat(e.localizejs_language.substring(0,2),"/lets-talk"),oldSite:!0},...t.slice(n)]};var v=l(38328),w=l(17283);let _=JSON.parse('{"business":"F\xfcr Unternehmen","about":"\xdcber","advice":"Artikel","faq":"FAQ","reviews":"Bewertungen","therapistJobs":"Berater:innenjobs","contact":"Kontakt","login":"Anmelden","getStarted":"Jetzt starten"}');var y=l.t(_,2);let A=JSON.parse('{"business":"Business","about":"About","advice":"Advice","faq":"FAQ","reviews":"Reviews","therapistJobs":"Therapist jobs","contact":"Contact","login":"Log in","getStarted":"Get started"}');var x=l.t(A,2);let j=JSON.parse('{"business":"Empresas","about":"Sobre nosotros","advice":"Blog","faq":"Preguntas frecuentes","reviews":"Rese\xf1as","therapistJobs":"Trabaja como psic\xf3logo","contact":"Contacto","login":"Iniciar sesi\xf3n","getStarted":"Empieza"}');var C=l.t(j,2);let q=JSON.parse('{"business":"Entreprise","about":"\xc0 propos","advice":"Conseils","faq":"FAQ","reviews":"Commentaires","therapistJobs":"Emplois de th\xe9rapeute","contact":"Contact","login":"Se connecter","getStarted":"Commencez"}');var I=l.t(q,2);let N=JSON.parse('{"business":"Bedrijf","about":"Over","advice":"Artikelen","faq":"Veelgestelde vragen","reviews":"Beoordelingen","therapistJobs":"Banen voor therapeuten","contact":"Contact","login":"Inloggen","getStarted":"Start hier"}'),B={de:y,en:x,es:C,fr:I,nl:l.t(N,2)};var F=l(52609),L=l(3936),P=l.n(L);let E=(t,e)=>{let l={};
1return e.forEach(e=>{t[e]&&(l[e]=t[e])}),Object.keys(l).length?"?".concat(new URLSearchParams(l).toString()):""};function Q(t,e,l,n){let a="".concat(l).concat(t).includes(e.link)||e.sublinks&&e.sublinks.some(e=>t.startsWith("/".concat(e,"/")));if(e.link.startsWith("/faq/")){let l=e.link.includes("parent=1"),a="1"===n.parent;return t.startsWith("/faq")&&l===a}return a}function J(t){var e,l,S,_,y,A;let{activeLink:x,hideNav:j,toggleMobileMenu:C,showMenu:q,isTransparentBackground:I,shouldShowGoDisplay:N=!1}=t,L=(0,p.A)(),{conf:J,theme:M,template:O,session:z}=(0,b.SF)(),{user:T}=z,{pathname:U,query:H,route:R,locale:V}=(0,o.useRouter)(),G=(0,k.U)(),W="theme-betterhelp_two"===M,Z={type:"text",css:"font-bold"},K={type:"text",css:"".concat(P().get_started," font-bold")},D="QUIZ_ABANDONMENT_MITIGATION_IN_GO_PAGE",{experiments:$,assignExperiment:X}=(0,r.dJ)(),[Y,tt]=(0,a.useState)($[D]),{shouldUseFunnelBackButton:te}=(0,d.A)(),tl="BHBusinessStart"===O,tn=(0,h.B)(B),ta=T.show_new_get_started_copy&&!tl?"Start assessment":(0,m.t)(tn.getStarted);(0,a.useEffect)(()=>{N&&!Y&&X(D).then(t=>tt(t))},[X,N,Y]);let to=N&&"TEST"===Y||"/get-started"===R?" !hidden":"",ti={link:"/get-started/?skip_redirect_question=1&".concat((t=>{let e=new URLSearchParams;return Object.entries(t).forEach(t=>{let[l,n]=t;n&&e.append(l,String(n))}),e.toString()})(H)),label:ta,type:"button",testId:"get-started",css:"btn-primary ".concat(I?"on-dark":""," mr-4"),oldSite:!0,alwaysShow:N};W&&(Z.type="button",Z.css="".concat(P().cta_button," btn btn-secondary"),K.type="button",K.css="".concat(P().cta_button," btn btn-primary"));let ts=()=>{new s.A("bhb_demo_btn","clicked").send()},tc=(null==(e=J.features)?void 0:e.reviews_page)&&z.country.canAccessReviewsPage?[{link:"/reviews/",label:(0,m.t)(tn.reviews),oldSite:!0,testId:(0,w.A)("reviews-nav")}]:[],tr=(null==(l=J.features)?void 0:l.advice)?[{link:U.startsWith("/advice")?c.k.landing[V]:c.k.landing[J.localizejs_language.substring(0,2)],label:(0,m.t)(tn.advice)}]:[],td={betterhelp:{main:tl?[ti]:[{link:"".concat(G,"/about/"),label:(0,m.t)(tn.about),sublinks:["press","careers","social-impact"]},...tr,{link:"".concat(G,"/faq/"),label:(0,m.t)(tn.faq)},...tc,{link:"".concat(G,"/counselor_application/"),label:(0,m.t)(tn.therapistJobs),oldSite:!0},{link:"".concat(G,"/contact/"),label:(0,m.t)(tn.contact)},{link:"".concat(G,"/login/"),testId:"login-nav",label:(0,m.t)(tn.login),type:"button",css:"btn-info ".concat(I?"on-dark":""," !h-auto"),oldSite:!0,alwaysShow:!0},...["CounselorApplicationPage","CounselorCompleteSignup"].includes(O)?[]:[{link:"".concat(G,"/get-started/").concat(E(H,["landing_page"])),label:ta,type:"button",css:"btn-primary ".concat(I?"on-dark":""," !h-auto ").concat(W?"":"!text-white"),oldSite:!0,alwaysShow:N}]],mobile:tl?[ti]:[{link:"".concat(G,"/about/"),label:(0,m.t)(tn.about),sublinks:["press","careers","social-impact"]},...tr,{link:"".concat(G,"/faq/"),label:(0,m.t)(tn.faq)},...tc,{link:"".concat(G,"/counselor_application/"),label:(0,m.t)(tn.therapistJobs),oldSite:!0},{link:"".concat(G,"/contact/"),label:(0,m.t)(tn.contact)},{link:"".concat(G,"/login/"),testId:"login-nav",label:(0,m.t)(tn.login),...Z,oldSite:!0,alwaysShow:N},...["CounselorApplicationPage","CounselorCompleteSignup"].includes(O)?[]:[{link:"".concat(G,"/get-started/").concat(E(H,["landing_page"])),label:ta,...K,oldSite:!0,alwaysShow:N}]]},betterhelp_il:{main:[{link:"".concat(G,"/faq/"),label:"FAQ",oldSite:!0},{link:"".concat(G,"/counselor_application/"),label:"Therapist jobs",oldSite:!0},{link:"".concat(G,"/contact/"),label:"Contact",oldSite:!0},{link:"".concat(G,"/login/"),label:"Log in",type:"button",css:"btn-info",oldSite:!0,alwaysShow:!0},{link:"".concat(G,"/get-started/"),label:(0,m.t)(tn.getStarted),type:"button",css:"btn-primary",oldSite:!0}],mobile:[{link:"".concat(G,"/faq/"),label:"FAQ",oldSite:!0},{link:"".concat(G,"/counselor_application/"),label:"Therapist jobs",oldSite:!0},{link:"".concat(G,"/contact/"),label:"Contact",oldSite:!0},{link:"".concat(G,"/login/"),label:"Log in",css:"font-bold",oldSite:!0},{link:"".concat(G,"/get-started/"),label:(0,m.t)(tn.getStarted),css:"".concat(P().get_started," !text-white font-bold"),oldSite:!0}]},betterhelporg:{main:[{link:"/eap-offerings",label:"EAP",testId:"eap"},{link:"/employers",label:"Employers",testId:"employers"},{link:"/brokers",label:"Brokers",testId:"brokers"},{link:"/everyone",label:"Other organizations",testId:"other-organizations"},{link:"/partner-login/",label:"Partner login",testId:"partner-login-button"},{link:"https://betterhelpbusiness.com/demo",label:"Request a demo",type:"button",css:"btn-primary ".concat(W?"":" !h-auto !text-white"),testId:"request-a-demo",onclick:ts}],mobile:[{link:"/eap-offerings",label:"EAP",testId:"eap"},{link:"/employers",label:"Employers",testId:"employers"},{link:"/brokers",label:"Brokers",testId:"brokers"},{link:"/everyone",label:"Other organizations",testId:"other-organizations"},{link:"/partner-login/",label:"Partner login",testId:"partner-login-button"},{link:"https://betterhelpbusiness.com/demo",label:"Request a demo",testId:"request-a-demo",onclick:ts}]},mytherapist:{main:[{link:"/advice/",label:"Advice"},{link:"".concat(G,"/contact/"),label:"Contact"},{link:"/prematch/",label:(0,m.t)(tn.getStarted),type:"button",css:"btn-primary"}],mobile:[{link:"/advice/",label:"Advice"},{link:"".concat(G,"/contact/"),label:"Contact"},{link:"/prematch/",label:(0,m.t)(tn.getStarted),type:"button",css:"btn-primary"}]},pridecounseling:{main:[{link:"".concat(G,"/faq/"),label:"FAQ",oldSite:!0},{link:"".concat(G,"/contact/"),label:"Contact",oldSite:!0},{link:"".concat(G,"/login/"),label:"Log in",type:"button",css:"btn-info !text-white",oldSite:!0,alwaysShow:!0}
1,{link:"".concat(G,"/get-started/"),label:(0,m.t)(tn.getStarted),type:"button",css:"btn-primary",oldSite:!0}],mobile:[{link:"".concat(G,"/faq/"),label:"FAQ",oldSite:!0},{link:"".concat(G,"/contact/"),label:"Contact",oldSite:!0},{link:"".concat(G,"/login/"),label:"Log in",type:"button",css:"font-bold",oldSite:!0},{link:"".concat(G,"/get-started/"),label:(0,m.t)(tn.getStarted),type:"button",css:"".concat(P().get_started," !text-white font-bold"),oldSite:!0}]},faithfulcounseling:{main:[{link:"".concat(G,"/faq/?id=383"),label:"Pricing",oldSite:!0},{link:"".concat(G,"/about/"),label:"About",oldSite:!0},{link:"".concat(G,"/faq/"),label:"FAQ",oldSite:!0},...tc,{link:"".concat(G,"/contact/"),label:"Contact",oldSite:!0},{link:"/statement-of-faith/",label:"Statement of Faith",oldSite:!0},{link:"".concat(G,"/login/"),label:"Log in",type:"button",css:"btn-info",oldSite:!0,alwaysShow:!0},{link:"".concat(G,"/get-started/"),label:(0,m.t)(tn.getStarted),type:"button",css:"btn-primary",oldSite:!0}],mobile:[{link:"".concat(G,"/faq/?id=383"),label:"Pricing",oldSite:!0},{link:"".concat(G,"/about/"),label:"About",oldSite:!0},{link:"".concat(G,"/faq/"),label:"FAQ",oldSite:!0},...tc,{link:"".concat(G,"/contact/"),label:"Contact",oldSite:!0},{link:"/statement-of-faith/",label:"Statement of Faith",oldSite:!0},{link:"".concat(G,"/login/"),label:"Log in",css:"font-bold",oldSite:!0},{link:"".concat(G,"/get-started/"),label:(0,m.t)(tn.getStarted),css:"".concat(P().get_started," !text-white font-bold"),oldSite:!0}]},regain:{main:[{link:"/advice/",label:"Advice",oldSite:!1},{link:"".concat(G,"/faq/"),label:"FAQ",oldSite:!0},...tc,{link:"".concat(G,"/contact/"),label:"Contact",oldSite:!0},{link:"".concat(G,"/login/"),testId:"login-nav",label:"Log in",css:"ml-2",oldSite:!0,alwaysShow:!0},{link:"".concat(G,"/get-started/"),label:(0,m.t)(tn.getStarted),css:"!text-site-regain-brand-primary font-bold ml-2",oldSite:!0}],mobile:[{link:"/advice/",label:"Advice",oldSite:!1},{link:"".concat(G,"/faq/"),label:"FAQ",oldSite:!0},...tc,{link:"".concat(G,"/contact/"),label:"Contact",oldSite:!0},{link:"".concat(G,"/login/"),label:"Log in",oldSite:!0,alwaysShow:!0},{link:"".concat(G,"/get-started/"),label:(0,m.t)(tn.getStarted),css:"font-bold",oldSite:!0}]},teencounseling:{main:[{link:"".concat(G,"/faq/?parent=1"),label:"Parent FAQ",oldSite:!0},{link:"".concat(G,"/faq/"),label:"Teen FAQ",oldSite:!0},...tc,{link:"".concat(G,"/contact/"),label:"Contact",oldSite:!0},{link:"".concat(G,"/login/"),testId:"login-nav",label:"Log in",type:"button",css:"!text-white btn-info !h-auto",oldSite:!0,alwaysShow:!0},{link:"".concat(G,"/get-started/"),label:(0,m.t)(tn.getStarted),type:"button",css:"btn-primary !h-auto",oldSite:!0}],mobile:[{link:"".concat(G,"/faq/?parent=1"),label:"Parent FAQ",oldSite:!0},{link:"".concat(G,"/faq/"),label:"Teen FAQ",oldSite:!0},...tc,{link:"".concat(G,"/contact/"),label:"Contact",oldSite:!0},{link:"".concat(G,"/login/"),testId:"login-nav",label:"Log in",css:"font-bold",oldSite:!0},{link:"".concat(G,"/get-started/"),label:(0,m.t)(tn.getStarted),css:"".concat(P().get_started," !text-white font-bold"),oldSite:!0}]}};return L?(0,n.jsxs)(n.Fragment,{children:[((null==(_=td[J.product_code_name])?void 0:_.mobile.find(t=>{let{alwaysShow:e}=t;return!j||e}))||x.includes("/pin_code/"))&&(tl?f(null==(y=td[J.product_code_name])?void 0:y.main,J,tn).map(t=>"Business"===t.label?null:(0,n.jsx)("li",{className:(0,i.A)(P().button,"list-none",P().navigation_link),children:(0,n.jsx)(g.A,{href:t.link,oldSite:t.oldSite,"aria-label":t.label,onClick:t.onclick,children:(0,n.jsx)("button",{type:"button","data-testid":(0,w.A)(t.testId),className:(0,i.A)("btn",t.css,"!mr-0"),tabIndex:-1,children:t.label})})},"main_".concat(t.label))):(0,n.jsx)(F.A,{showMenu:q,toggleMobileMenu:C})),(0,n.jsxs)("ul",{id:"mobile-nav-menu",className:(0,i.A)(P().mobile_menu,P().no_border,q?"flex":"hidden","sticky","z-[60]","select-none"),children:[f(null==(A=td[J.product_code_name])?void 0:A.mobile,J,tn).map((t,e)=>{let l=t.css||"",a=Q(x,t,G,H);return tl&&"Business"===t.label||j&&!t.alwaysShow||x.includes("/pin_code/")&&"Log in"===t.label?null:(0,n.jsx)("li",{"data-testid":(0,w.A)(t.testId),className:(0,i.A)(P().navigation_link,a&&P().active,P().has_button,["betterhelporg","faithfulcounseling","teencounseling","pridecounseling"].includes(J.product_code_name)&&to&&"last:bg-site-primaryBgButton last:hover:!bg-site-primaryBgButtonHover last:active:!bg-site-primaryBgButtonDarkenTen","Request a demo"===t.label?"last:rounded-3xl":""),children:(0,n.jsx)(g.A,{href:t.link,className:(0,i.A)("w-full",l),oldSite:t.oldSite,onClick:t.onclick,"aria-current":(0,u.cU)(a),children:t.label})},"mobile_".concat(e))}),x.includes("/pin_code/")&&(0,n.jsx)("li",{role:"menuitem",className:(0,i.A)(P().navigation_link,P().logout_pin_code),onClick:t=>{(0,v.ri)(t,!0)},onKeyPress:t=>{(0,v.ri)(t,!0)},children:"Logout"})]})]}):(0,n.jsxs)("ul",{className:(0,i.A)(P().navigation_bar,te?"flex-none basis-48":"flex-auto","justify-end flex pr-4"),"aria-label":"Main Menu",children:[f(null==(S=td[J.product_code_name])?void 0:S.main,J,tn).map((t,e)=>{let l=t.css||"";if(tl&&"Business"===t.label||j&&!t.alwaysShow||x.includes("/pin_code/")&&"Log in"===t.label)return null;let a=Q(x,t,G,H);return"button"!==t.type?(0,n.jsx)("li",{className:(0,i.A)(a&&P().active,P().navigation_link,l),"data-testid":(0,w.A)(t.testId),children:(0,n.jsx)(g.A,{href:t.link,oldSite:t.oldSite,className:(0,i.A)(t.css&&"!text-inherit"),onClick:t.onclick,"aria-current":(0,u.cU)(a),children:t.label})},"main_".concat(e)):(0,n.jsx)("li",{className:(0,i.A)(P().button,P().navigation_link),children:(0,n.jsx)(g.A,{href:t.link,oldSite:t.oldSite,"aria-label":t.label,onClick:t.onclick,"data-testid":(0,w.A)(t.testId),className:(0,i.A)("btn",t.css),"aria-current":(0,u.cU)(a),children:t.label})},"main_".concat(e))}),x.includes("/pin_code/")&&(0,n.jsx)("li",{role:"menuitem",className:(0,i.A)(P().navigation_link,P().logout_pin_code),onClick:t=>{(0,v.ri)(t,!0)},onKeyPress:t=>{(0,v.ri)(t,!0)},children:"Logout"})]})}},98202:(t,e,l)=>{l.d(e,{A:()=>a});var n=l(88621);function a(){let{theme:t}=(0,n.SF)();return"theme-betterhelp_two"===t}}}]);

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.