PageSourceSearch

https://sso.chargepoint.com/static/js/475.20a38420.chunk.js

js chargepoint.com collected 2026-09-24 08:45:58 UTC 7,094 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksso_frontend=self.webpackChunksso_frontend||[]).push([[475],{5439:(e,n,t)=>{e.exports=t.p+"static/media/web-signup-header-min.8001360ce61c4d608b09.png"},9475:(e,n,t)=>{t.r(n),t.d(n,{default:()=>w});var o=t(5043),r=t(5957),a=t(4574),i=t(6118),c=t(1688),s=t(9905),l=t(8937),d=t(5439),m=t(579);const g=a.Ay.img.withConfig({displayName:"MFACodeScan__BannerImg",componentId:"sc-1vv2gzq-0"})(["max-width:100%;margin-bottom:","rem;"],i.PO.spacing.l),p=a.Ay.img.withConfig({displayName:"MFACodeScan__QRCodeImg",componentId:"sc-1vv2gzq-1"})(["max-width:200px;"]),h=a.Ay.div.withConfig({displayName:"MFACodeScan__ErrorDiv",componentId:"sc-1vv2gzq-2"})(["color:",";"],i.Qs.red_50),f=a.Ay.h1.withConfig({displayName:"MFACodeScan__Title",componentId:"sc-1vv2gzq-3"})(["text-align:center;font-weight:normal;margin-bottom:","rem;"],i.PO.spacing.m),x=a.Ay.div.withConfig({displayName:"MFACodeScan__Wrapper",componentId:"sc-1vv2gzq-4"})(["max-width:600px;@media all and (max-width:","px){max-width:300px;}& > div:first-child{margin-left:17px;}"],i.PO.breakpoints.md),u=(0,a.Ay)(i.qt).withConfig({displayName:"MFACodeScan__QRCodeHolder",componentId:"sc-1vv2gzq-5"})(["flex-wrap:nowrap;@media all and (max-width:","px){flex-wrap:wrap;}& > div:last-child{margin-top:17px;}"],i.PO.breakpoints.md),_=(0,a.Ay)(i.kB).withConfig({displayName:"MFACodeScan__ButtonFlexRowCentered",componentId:"sc-1vv2gzq-6"})(["margin-top:","rem;margin-bottom:","rem;"],i.PO.spacing.xl,i.PO.spacing.xl);const w=function(){const{t:e,i18n:n}=(0,r.B)(),t=(0,c.W6)(),[a,w]=(0,o.useState)(null),[y,j]=(0,o.useState)("");(0,o.useEffect)((()=>{(async()=>{try{const e=l.A.getCommonRequestHeaders(n),t=l.A.makeSsoApiUrl("/v1/user/mfa/configure"),o=await fetch(t,{method:"GET",credentials:"include",headers:e}),r=await o.json(),{hasOwnProperty:a}=Object.prototype;if(200===o.status)j(r.qr_code);else a.call(r,"error_message")?w(`Error: [${o.status}] ${r.error_message}`):a.call(r,"error")?w(`Error: [${o.status}] ${r.error}`):w(`Error: [${o.status}] ${o.statusText}`)}catch(t){const n=e("error_ids.unknown");w(e("error_with_message",{message:n})),console.error(`Unknown Error: ${t}`)}})()}),[]);let C=(0,m.jsx)(i.KC,{size:"s",t:e});return a?C=(0,m.jsx)(h,{children:a}):y&&""!==y&&(C=(0,m.jsxs)(x,{children:[(0,m.jsx)("div",{children:e("mfa.two_step_verify")}),(0,m.jsxs)(u,{children:[(0,m.jsx)("div",{children:(0,m.jsx)(p,{src:y,alt:e("mfa.qr_code")})}),(0,m.jsxs)("div",{children:[(0,m.jsx)("p",{children:e("mfa.scan_qr_code")}),(0,m.jsx)("p",{children:e("mfa.scanned_qa_code")})]})]}),(0,m.jsx)(_,{children:(0,m.jsx)(i.R$,{"data-qa-id":"qr_code_next",onClick:()=>{t.push("/enter-code")},variant:"primary",children:e("next")},"qr_code_next")})]})),(0,m.jsx)(s.A,{title:e("login_title"),children:(0,m.jsxs)(i.yj,{children:[(0,m.jsx)(i.kB,{children:(0,m.jsx)(g,{src:d,alt:"ChargePoint"})}),(0,m.jsx)(f,{children:e("login_title")}),(0,m.jsx)(i.kB,{children:C})]})})}},9905:(e,n,t)=>{t.d(n,{A:()=>v});var o=t(5043),r=t(5957),a=t(6118),i=t(1688),c=t(4574),s=t(3406),l=t(8937),d=t(579);const{breakpoints:m,fontSize:g,spacing:p}=a.PO,h=c.Ay.div.withConfig({displayName:"Footer__Container",componentId:"sc-136rfnl-0"})(["display:flex;flex-direction:row;justify-content:space-between;@media all and (max-width:","px){flex-direction:column;justify-content:center;}align-items:center;background-color:",";padding:","rem;& *{font-size:","rem;}"],m.md,a.Qs.gray_10,p.m,g.text_14),f=c.Ay.div.withConfig({displayName:"Footer__Copyright",componentId:"sc-136rfnl-1"})(["order:0;@media all and (max-width:","px){order:1;}"],m.md),x=(0,c.Ay)(a.i2).withConfig({displayName:"Footer__Links",componentId:"sc-136rfnl-2"})(["flex-wrap:wrap;justify-content:center;align-items:center;order:1;@media all and (max-width:","px){order:0;}& > *{margin-left:","rem;}& > *:first-child{margin-left:0;}"],m.md,p.m),u=(0,c.Ay)(a.i2).withConfig({displayName:"Footer__LocalePickerContainer",componentId:"sc-136rfnl-3"})(["align-items:center;"]),_=(0,c.Ay)(a.ow).withConfig({displayName:"Footer__LanguageIcon",componentId:"sc-136rfnl-4"})(["margin-right:","rem;"],p.xs);const w=function(){const e=(0,i.W6)(),{t:n,i18n:t}=(0,r.B)(),[c,m]=(0,o.useState)(!1),[g,p]=(0,o.useState)(null),[w,y]=(0,o.useState)(void 0);(0,o.useEffect)((()=>{const e=l.A.getSubdomain(),t=a.xK.getRegionCodeForSSOSubdomain(n,e),o=a.xK.getDefaultLocaleCodeForRegionCode(n,t),r=s.A.getLocaleCode(o);p(a.FR.getKitLocalePickerResult(n,t,r))}),[n,p]);const j=n("footer_copyright",{year:(new Date).getFullYear(),company_name:window.cp_constants.STRING_COMPANY_NAME});let C,v,A,b;if(g&&(C=`https://${g.corporateUrl}/about`,v=`https://${g.corporateUrl}/support`,A=l.A.makePrivacyPolicyUrl(g)),g&&g.displayCaliforniaPrivacy){const e=l.A.makeCaliforniaPrivacyUrl(g);b=(0,d.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",children:n("california_privacy_notice")})}const k=(null===g||void 0===g?void 0:g.localizedLanguageName)||"English",S=n("footer_language_picker_link_aria_label",{language:k});return(0,d.jsxs)(h,{children:[(0,d.jsx)(f,{children:j}),(0,d.jsxs)(x,{children:[(0,d.jsx)(a.Pe,{onClick:async()=>{try{y(await fetch(`https://account.${window.cp_constants.ENV_DOMAIN}/account/v1/metadata/languages`,{method:"GET"}).then((e=>e.json())).then((e=>e.filter((e=>""!==e.locale)).map((e=>e.locale))))),m(!0)}catch(e){console.error(e)}},"aria-label":S,children:(0,d.jsxs)(u,{children:[(0,d.jsx)(_,{icon:"web",size:`${a.PO.iconSize.m}rem`,fill:a.Qs.blue_55}),k]})}),(0,d.jsx)("a",{href:C,target:"_blank",rel:"noopener noreferrer",children:n("about_us")}
1),(0,d.jsx)("a",{href:v,target:"_blank",rel:"noopener noreferrer",children:n("contact_us")}),(0,d.jsx)("a",{href:A,target:"_blank",rel:"noopener noreferrer",children:n("privacy_policy")}),b]}),(0,d.jsx)(a.FR,{selectedLocale:"en-US",show:c,onHide:()=>m(!1),onSelect:n=>{m(!1),s.A.setLocaleCode(n.localeCode);const o=a.xK.getSupportedLocale(n.nosCookieLocale);t.changeLanguage(o);if(l.A.getSubdomain()!==n.ssoSubdomain){const e=a.qb.getQueryObject(window.location.search);e.locale=n.localeCode,delete e.username;const t=`${window.location.protocol}//${n.ssoSubdomain}.${l.A.getDomain()}/${a.qb.getQueryString(e)}`;window.location=t}else{let n=window.location.pathname;const t=a.qb.getQueryParam(window.location.search,"redirect");t&&(n+=a.qb.getQueryString({redirect:t})),e.push(n)}},t:n,supportedLocales:w})]})},y=(0,c.Ay)(a.i2).withConfig({displayName:"Header__Container",componentId:"sc-ij5yi8-0"})(["justify-content:flex-start;align-items:center;background-color:",";height:64px;padding-left:","rem;padding-right:","rem;"],a.Qs.gray_10,a.PO.spacing.m,a.PO.spacing.m);const j=function(){const{t:e}=(0,r.B)();return(0,d.jsx)(y,{children:(0,d.jsx)(a.XN,{width:176,t:e})})};function C(e){let{title:n,children:t}=e;const{i18n:o}=(0,r.B)();return(0,d.jsxs)(a.CC,{title:n,locale:o.language,children:[(0,d.jsx)(a.gf.Header,{children:(0,d.jsx)(j,{})}),(0,d.jsx)(a.gf.Body,{children:t}),(0,d.jsx)(a.gf.Footer,{children:(0,d.jsx)(w,{})})]})}C.defaultProps={children:void 0};const v=C}}]);
2//# sourceMappingURL=475.20a38420.chunk.js.map

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.