PageSourceSearch

https://uefa.tv/code/js/chunks/oidc-auth-route.2de9323337b7cf537483.js

js uefa.tv collected 2026-09-24 09:22:47 UTC 37,820 bytes, 13 lines download raw bytes

1(()=>{(function(){try{var x=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},h=new x.Error().stack;h&&(x._sentryDebugIds=x._sentryDebugIds||{},x._sentryDebugIds[h]="e7bc759e-b4f9-4151-a857-7f75b862cbc5",x._sentryDebugIdIdentifier="sentry-dbid-e7bc759e-b4f9-4151-a857-7f75b862cbc5")}catch(t){}})();(self.webpackChunkdice_web=self.webpackChunkdice_web||[]).push([[21051,58146,69279],{976:((x,h,t)=>{t.d(h,{A:()=>D});var e=t(57320),u=t(38367),g=t(72150);const f={CODE_CHALLENGE_REQUIRED:"codeChallengeRequired",GENERATED_AUTH_CODE_ALREADY_PRESENT:"generatedAuthCodeAlreadyPresent",REDIRECT_URI_NOT_ALLOWED:"redirectUriNotAllowed",RELYING_PARTY_NOT_ENABLED:"relyingPartyNotEnabled",RELYING_PARTY_NOT_FOUND:"relyingPartyNotFound"};var m=Object.defineProperty,I=Object.defineProperties,O=Object.getOwnPropertyDescriptors,P=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,i=(n,l,c)=>l in n?m(n,l,{enumerable:!0,configurable:!0,writable:!0,value:c}):n[l]=c,s=(n,l)=>{for(var c in l||(l={}))p.call(l,c)&&i(n,c,l[c]);if(P)for(var c of P(l))d.call(l,c)&&i(n,c,l[c]);return n},F=(n,l)=>I(n,O(l));const D=async(n,l,c,v,E)=>{var L,y,M,Q,J,te,S;const{clientId:R,redirectUri:_,state:H,scope:Z,prompt:V,nonce:G}=n,j=s(F(s({responseType:"code",clientId:R,redirectUrl:_},H?{state:H}:{}),{refreshToken:(L=localStorage.getItem(e.US))!=null?L:void 0,scopes:Z}),G?{nonce:G}:{});try{const U=await(0,u._)(j);window.location.href=U.redirectUrl}catch(U){if(!["create","login","none"].includes(V))E(!1),c.replace(g.S3,(y=v==null?void 0:v.state)!=null?y:{});
1else if(((M=U.messages)==null?void 0:M[0])===f.REDIRECT_URI_NOT_ALLOWED||((Q=U.messages)==null?void 0:Q[0])===f.RELYING_PARTY_NOT_FOUND)l({error:(J=U.messages)==null?void 0:J[0],description:"an error occured"});else{const ne=H?`&state=${H}`:"",ge=(te=U.messages)!=null&&te[0]?`&error=${(S=U.messages)==null?void 0:S[0]}`:"";window.location.href=`${_}?${ge}${ne}`}}}}),2398:((x,h,t)=>{t.d(h,{f:()=>g});var e=t(96540),u=t(15149);const g=()=>(0,e.useContext)(u.u)}),4699:((x,h,t)=>{t.r(h),t.d(h,{default:()=>wt});var e=t(96540),u=t(56347),g=t(58562),f=t(90953),m=t(64759),I=t(18573),O=t(91645),P=t(59530),p=t(2398),d=t(16505),i=t(38367),s=t(21975),F=t(97963),D=t(98004),n=t(2275),l=t(31065),c=t(84454),v=t(97274);const E=r=>e.createElement("div",{className:"login-page"},e.createElement(c.A,null,e.createElement("div",{className:"login-page__wrapper"},e.createElement(v.Y,{title:r.title}),e.createElement("div",{className:"login-page__form"},r.children))));var L=t(99477);const y=({errorMessage:r,title:o})=>e.createElement(E,{title:o},e.createElement("p",{className:"error"},"Error Code: ",r.error),e.createElement("p",{className:"error-description"},r.description));var M=t(49688),Q=t(85537),J=t(57320);const te=async r=>{const o=typeof r=="string"?parseInt(r,10):r,a=await d.LV.storageProvider.get(J.h0);if(!await d.LV.storageProvider.get(J.US)||!a||o===0||Number.isNaN(o))return!1;const T=(0,Q.s)(a);if(o){const W=Date.now()/1e3-T.iat;return o>W}else return!0},S=async()=>{const r=await d.Bv.get(J.h0);return r?(0,Q.s)(r).gue:!1};var R=t(21904),_=t(96763);const H=async({guestsAllowed:r,fullGuestAccess:o})=>{if(r&&o===R.h6.ALLOWED)try{await(0,F.U9)()}catch(a){_.warn("Failed to generate new guest session",a)}},Z=r=>{const o=a=>r.get(a);return{clientId:o("client_id"),responseType:o("response_type"),redirectUri:o("redirect_uri"),state:o("state"),codeChallenge:o("code_challenge"),codeChallengeMethod:o("code_challenge_method"),scope:o("scope"),nonce:o("nonce"),prompt:o("prompt"),loginHint:o("login_hint"),maxAge:o("max_age"),postLogoutRedirectUri:o("post_logout_redirect_uri")}},V=(r,o)=>{if(!o)return!1;let a;try{a=new URL(o)}catch(A){return!1}return r.some(A=>{let T;try{T=new URL(A)}catch(N){return!1}if(a.origin!==T.origin)return!1;const w=T.pathname,W=a.pathname,B=w.endsWith("/")?w:`${w}/`;return W===w||W.startsWith(B)})},G=[s.xW.OIDC_LOGIN,s.xW.OIDC_SIGNUP],j=(r,o)=>{const a=r!=null?r:[];return G.map(T=>a[T]).includes(o)},U=r=>new RegExp("^https?:\\/\\/((?:localhost)|(?:\\d{1,3}(?:\\.\\d{1,3}){3})|(?:\\[[0-9a-fA-F:]+\\])|(?:(?:[a-z\\d](?:[a-z\\d-]*[a-z\\d])*\\.)+[a-z]{2,}))(?::\\d+)?(?:\\/[\\w\\-.~%!$&'()*+,;=:@]*)*(?:\\?[\\w\\-.~%!$&'()*+,;=:@/?]*)?(?:\\#[\\w\\-.~%!$&'()*+,;=:@/?]*)?$","i").test(r),X="error=unsupported_response_type",ne="error=invalid_scope",ge="error=invalid_request",Ee=({responseType:r,scope:o,prompt:a})=>{if(!r||r!=="code")return X;if(!o||!o.includes("openid"))return ne;if(a&&a.includes("none")&&a!=="none")return ge},Oe="Failed to fetch client configuration",ye="invalid_client",be="Client ID is missing in the params provided",He="Client ID does not match existing providers",Ve="invalid_redirect_uri",je="The redirect URI provided in the params is malformed or does not exist",$e="redirect_uri_mismatch",Ye="The redirect URI provided does not match existing redirect URIs";var ze=t(1346),ve=t(35667),De=t(13516),Pe=t(92675),pe=t(79040),Qe=t(59192),Le=t(11456),Xe=t(87585),Je=t(17096),Se=t(46981),Ze=t(12747),Ie=t(22520),Ce=t(21064);const Te=()=>{var r;const[o,a]=e.useState(null),[A,T]=e.useState(!1),[w,W]=e.useState(!1),B=(0,Ce.I)(),{enterEmailBelow:N,forgotPasswordWebTitle:$}=(0,Ie.s)(["enterEmailBelow","forgotPasswordWebTitle"],void 0,B),k=(0,u.W6)(),Y=(0,u.zy)(),ee=(r=new URLSearchParams(Y.search).get("token"))!=null?r:"",{routes:ie}=e.useContext(P.P),de=e.useMemo(()=>{const C=new URLSearchParams(Y.search);C.delete("token");const b=C.toString();return b?`?${b}`:""},[Y.search]),re=(0,Se.R)({provider:"ID",http:d.LV,setError:a,onSuccess:()=>{T(!0)},setIsLoading:W,additionalParameters:de}),le=(0,Se.e)({token:ee,http:d.LV,setError:a,onSuccess:()=>{T(!0)},oidc:!0}),ae=()=>{(0,n.mH)(`${ie[s.xW.OIDC_LOGIN]}${de}`,k,null,Y.state,!0)},se=()=>a(null),oe=C=>{(0,Xe.u4)(ze.bE.PASSWORD_RESET_FIELD_FOCUS,{fieldName:C})};return e.createElement(E,{title:$.value},e.createElement(pe.Hv,{style:{display:"inline-flex"}},({isActive:C})=>e.createElement(Pe.K0,{smallMode:!0,onClick:ae,className:(0,De.AH)(Pe.k9.PRIMARY,"login-page__back")},e.createElement(Qe.Q,{name:ve.Fc.ARROW_LEFT,state:C?ve.nJ.HOVER:ve.nJ.NORMAL,className:"icon-arrow-left btn-icon__icon","data-testid":"back-arrow",fallbackIcon:()=>e.createElement(Le.A,{className:"icon-arrow-left btn-icon__icon","data-testid":"back-arrow"})}))),ee?e.createElement(Ze.E,{onSubmit:le,errorMessage:o,isLoading:w,successMessage:A&&"passwordSuccessfullyReset",onFocus:oe}):e.createElement(e.Fragment,null,e.createElement("p",{className:"login-page__instructions"},N.value),e.createElement(Je.v,{onSubmit:re,isLoading:w,errorMessage:o,successMessage:A&&"resetPasswordEmailSent",onChange:se})))};var ue=t(72150);const ke={create:"signup",login:"login"},_e=async({openIdProviderState:r,handleOidcValidateAndRedirect:o,history:a,location:A,setComponentLoader:T,clearAccountCheck:w,isLoadingMissingDetails:W,wasAccountRecentlyChecked:B,hasOutstandingDetails:N,routes:$,guestsAllowed:k,fullGuestAccess:Y})=>{const{prompt:q,redirectUri:ee,state:ie,maxAge:de}=r,re=await S(),le=!await te(de),ae=re||le,se=A.pathname.includes(ke[q]),oe=async()=>{(0,F.q7)(null,null,!0),w(),await H({guestsAllowed:k,fullGuestAccess:Y}),T(!1)};le&&!re&&await oe();const C=async K=>{if((0,l.YW)($[s.xW.OIDC_SIGNUP],A.pathname)){!le&&!re&&await oe();const z=ie?`&state=${ie}`:"";window.location.href=`${ee}?${ue._o}${z}`}else if(K){const z=ie?`&state=${ie}`:"";window.location.href=`${ee}?${ue.DK}${z}`}else o()},b=async()=>{(0,l.YW)($[s.xW.OIDC_SIGNUP],A.pathname)?(await oe(),T(!1)):o()};switch(q){case ue.x3:C(ae);break;case ue.S3:if(re||await oe(),se)T(!1);else{const K=$[s.xW.OIDC_LOGIN],z=A.search?A.search:"";(0,n.mH)(K+z,a,null,A.state,!0)}break;case ue.lY:if(re||await oe(),se)T(!1);else{const K=$[s.xW.OIDC_SIGNUP],z=A.search?A.search:"";(0,n.mH)(K+z,a,null,A.state,!0)}break;default:{const K=!!(0,l.YW)($[s.xW.OIDC_SIGNUP],A.pathname);if(!re&&!K&&(W||!B||N))return;ae?T(!1):await b();break}}};var Re=t(976),qe=t(63967),et=t(66720),tt=Object.defineProperty,nt=Object.defineProperties,ot=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,Me=(r,o,a)=>o in r?tt(r,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[o]=a,st=(r,o)=>{for(var a in o||(o={}))rt.call(o,a)&&Me(r,a,o[a]);if(Ne)for(var a of Ne(o))at.call(o,a)&&Me(r,a,o[a]);return r},lt=(r,o)=>nt(r,ot(o));const it=()=>{const{routes:r}=e.useContext(P.P),{canSignUp:o,openIdProviderState:a,setOpenIdProviderState:A,setOidcAuthError:T,setIsOidcLoading:w}=(0,O.A)(),W=(0,Ce.I)(),B=(0,Ie.s)(["signIn","signInHeader"],void 0,W),N=(0,u.zy)(),$=(0,u.W6)(),k=B.signInHeader.hasTranslation?B.signInHeader.value:B.signIn.value,{allowSelfregistration:Y}=window.APP_CONF,{isLoadingMissingDetails:q,wasAccountRecentlyChecked:ee}=(0,p.f)(),[ie,de]=e.useState(!1),re=e.useCallback(async C=>{var b,K,z,me;if((0,F.ih)(C,!0),(a==null?void 0:a.prompt)!==ue.x3){if(q||!ee){A(ce=>lt(st({},ce),{prompt:void 0})),de(!0);return}(K=(b=N.state)==null?void 0:b.from)!=null&&K.pathname?$.replace(`${N.state.from.pathname}${(z=N==null?void 0:N.search)!=null?z:""}`,(me=N==null?void 0:N.state)!=null?me:{}):await(0,Re.A)(a,T,$,N,w)}},[q,ee,a]),{providers:le}=(0,et.$)(re),ae=Y&&o,se=!!(0,l.YW)(r[s.xW.OIDC_LOGIN],N.pathname),oe=()=>{const C=N.search?N.search:"";(0,n.mH)(`${r[s.xW.OIDC_LOGIN]}${C}`,$)};return le.length===0?e.createElement(e.Fragment,null,"Login no providers"):ie?e.createElement("div",{"data-testid":"loader"},e.createElement(m.A,{fixed:!0,useRealmColor:!0})):e.createElement(E,{title:k},se?null:e.createElement(pe.Hv,{style:{display:"inline-flex"}},({isActive:C})=>e.createElement(Pe.K0,{smallMode:!0,onClick:oe,className:(0,De.AH)(Pe.k9.PRIMARY,"login-page__back")},e.createElement(pe.Q6,{name:ve.Fc.ARROW_LEFT,state:C?ve.nJ.HOVER:ve.nJ.NORMAL,className:"icon-arrow-left btn-icon__icon","data-testid":"back-arrow",fallbackIcon:()=>e.createElement(Le.A,{className:"icon-arrow-left btn-icon__icon","data-testid":"back-arrow"})}))),e.createElement(u.qh,{exact:!0,path:[r[s.xW.OIDC_LOGIN]]},e.createElement(qe.X,{providers:le,hasSignup:ae})),le.map(C=>{var b,K;return e.createElement(u.qh,{path:[`${r[s.xW.OIDC_LOGIN]}${C.authProviderRoute}`],key:C.name+((b=C.authProvider)==null?void 0:b.clientId)+((K=C.authProvider)==null?void 0:K.openIdClientName),render:()=>e.createElement(e.Fragment,null,C.getPage())})}))};var fe=(r=>(r.Loading="loading",r.Missing="missing",r.None="none",r))(fe||{}),ct=Object.defineProperty,dt=Object.defineProperties,ut=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,We=(r,o,a)=>o in r?ct(r,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[o]=a,vt=(r,o)=>{for(var a in o||(o={}))mt.call(o,a)&&We(r,a,o[a]);if(Ue)for(var a of Ue(o))gt.call(o,a)&&We(r,a,o[a]);return r},Et=(r,o)=>dt(r,ut(o));
1const ft=()=>{const{openIdProviderState:r,setOidcAuthError:o,isOidcLoading:a,setIsOidcLoading:A}=(0,O.A)(),T=(0,M.u)(),w=(0,u.W6)(),W=(0,u.zy)(),{clearAccountCheck:B,wasAccountRecentlyChecked:N,hasMissingDetails:$,hasOutstandingConsents:k,isLoadingMissingDetails:Y}=(0,p.f)(),{prompt:q,state:ee,redirectUri:ie}=r,{guestsAllowed:de,fullGuestAccess:re}=(0,f.U)(),{routes:le}=e.useContext(P.P),ae=$||k,se=Y!==!1?fe.Loading:ae?fe.Missing:fe.None,oe=e.useCallback(async()=>{var b,K;if((K=(b=W.state)==null?void 0:b.from)!=null&&K.pathname){w.replace(Et(vt({},W),{pathname:W.state.from.pathname}));return}else await(0,Re.A)(r,o,w,W,A)},[r]),C=e.useCallback(async()=>{await _e({openIdProviderState:r,handleOidcValidateAndRedirect:oe,history:w,location:W,setComponentLoader:A,clearAccountCheck:B,isLoadingMissingDetails:Y,wasAccountRecentlyChecked:N,hasOutstandingDetails:ae,routes:le,guestsAllowed:de,fullGuestAccess:re})},[r,A,oe,Y,N,ae]);return e.useEffect(()=>{if(!T)return;if(q===ue.x3&&ae){const z=ee?`&state=${ee}`:"";window.location.href=`${ie}?${ue._o}${z}`;return}(q===ue.x3||!a)&&se!==fe.None||C()},[r,ae,se,a]),a?e.createElement("div",{"data-testid":"loader"},e.createElement(m.A,{fixed:!0,useRealmColor:!0})):e.createElement(it,null)};var ht=t(10940),Ot=t(96763);const Pt=(r,o)=>{if(!U(r)){Ot.warn(`Invalid redirect URL: "${r}"`);return}const a=r.includes("?"),A=Object.entries(o!=null?o:{}).filter(([W,B])=>B!=null&&B!=="").map(([W,B])=>`${encodeURIComponent(W)}=${encodeURIComponent(B)}`).join("&"),w=A?r+(a?"&":"?")+A:r;window.location.href=w},pt=()=>{const{openIdProviderState:r}=(0,O.A)(),{clearAccountCheck:o}=(0,p.f)(),{isGuest:a}=(0,ht.A)(),[A,T]=e.useState(!1),{guestsAllowed:w,fullGuestAccess:W}=(0,f.U)(),B=(0,Ce.I)(),{oidcServerLogoutPageTitle:N,oidcServerLogoutPageDescription:$}=(0,Ie.s)(["oidcServerLogoutPageTitle","oidcServerLogoutPageDescription"],void 0,B),{postLogoutRedirectUri:k,state:Y}=r!=null?r:{},q=async()=>{a||((0,F.q7)(null,null,!0),o(),await H({guestsAllowed:w,fullGuestAccess:W})),k?Pt(k,{state:Y}):T(!0)};return e.useEffect(()=>{q()},[]),A?e.createElement(E,{title:N.value},e.createElement("p",null,$.value)):e.createElement(m.A,{useRealmColor:!0})};var It=t(58146),Ct=Object.defineProperty,Rt=Object.defineProperties,At=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable,Be=(r,o,a)=>o in r?Ct(r,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[o]=a,Lt=(r,o)=>{for(var a in o||(o={}))yt.call(o,a)&&Be(r,a,o[a]);if(we)for(var a of we(o))Dt.call(o,a)&&Be(r,a,o[a]);return r},St=(r,o)=>Rt(r,At(o));const Tt=()=>{const{setOpenIdProviderState:r,openIdProviderState:o,setOidcAuthError:a,isOidcLoading:A,setIsOidcLoading:T}=(0,O.A)(),w=(0,M.u)(),W=(0,u.W6)(),B=(0,u.zy)(),{clearAccountCheck:N}=(0,p.f)(),{routes:$}=e.useContext(P.P),{guestsAllowed:k,fullGuestAccess:Y}=(0,f.U)(),q=e.useCallback(async()=>{await(0,Re.A)(o,a,W,B,T)},[o]),ee=e.useCallback(async()=>{await _e({openIdProviderState:o,handleOidcValidateAndRedirect:q,history:W,location:B,setComponentLoader:T,clearAccountCheck:N,routes:$,guestsAllowed:k,fullGuestAccess:Y}),r(St(Lt({},o),{prompt:void 0}))},[o,T,q]);return e.useEffect(()=>{w&&ee()},[]),A?e.createElement("div",{"data-testid":"loader"},e.createElement(m.A,{fixed:!0,useRealmColor:!0})):e.createElement(It.SignupWrapper,null)};var xe=t(96763),_t=Object.defineProperty,Nt=Object.defineProperties,Mt=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,Ut=Object.prototype.hasOwnProperty,Wt=Object.prototype.propertyIsEnumerable,Ge=(r,o,a)=>o in r?_t(r,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[o]=a,Ae=(r,o)=>{for(var a in o||(o={}))Ut.call(o,a)&&Ge(r,a,o[a]);if(Fe)for(var a of Fe(o))Wt.call(o,a)&&Ge(r,a,o[a]);return r},Ke=(r,o)=>Nt(r,Mt(o));const wt=()=>{const{routes:r}=(0,e.useContext)(P.P),[o,a]=(0,e.useState)(!0),{showToast:A}=(0,D.Y)(),{search:T,pathname:w}=(0,u.zy)(),{clearAccountCheck:W}=(0,p.f)(),B=(0,u.W6)(),[N,$]=(0,e.useState)(null),{setOpenIdProviderState:k,setOidcAuthError:Y,oidcAuthError:q,setIsOidcLoading:ee}=(0,O.A)(),ie=(0,M.u)(),{guestsAllowed:de,fullGuestAccess:re}=(0,f.U)(),{oidcServerErrorTitle:le}=(0,g.b0)(["oidcServerErrorTitle"]);(0,e.useEffect)(()=>()=>{k(null)},[k]),(0,e.useEffect)(()=>{N===!1&&!o&&ee(!1)},[N,o,ee]);const ae=async C=>{try{const b=await S(),K=!await te(C);K&&((0,F.q7)(null,null,!0),W(),await H({guestsAllowed:de,fullGuestAccess:re})),$(b||K)}catch(b){xe.warn("Failed to process user validation status",b),$(!0)}},se=(0,e.useMemo)(()=>{const C=new URLSearchParams(T||"");return Z(C)},[T]),oe=(0,e.useCallback)(async(C,b)=>{const{clientId:K,redirectUri:z,state:me}=C;try{const ce=await(0,i.F)(K);if(b){if(!V(ce.redirectUris,z))return Y({error:$e,description:Ye});const he=Ee(C);if(he){const Bt=me?`&state=${me}`:"";(0,n.mH)(`${z}?${he}${Bt}`,B,null,void 0,!0,!0)}}ce.apiKey&&d.Bv.setApiKeyOverride(ce.apiKey),k(he=>Ke(Ae({},he!=null?he:{}),{clientConfiguration:ce}))}catch(ce){ce.status===404&&Y({error:ye,description:He}),A({message:Oe,type:I.lm.ERROR}),xe.warn(Oe,ce)}finally{a(!1)}},[]);return(0,e.useEffect)(()=>{const{clientId:C,redirectUri:b,prompt:K,maxAge:z}=se;if(B.location.pathname===r[s.xW.OIDC_ACCOUNT]?ae(z):$(!1),ie)return a(!1);const me=j(r,w);if(me)if(U(b!=null?b:"")){if(!C)return Y({error:ye,description:be})}else return Y({error:Ve,description:je});k(ce=>Ke(Ae(Ae({},ce!=null?ce:{}),se),{prompt:K,maxAge:z?Number(z):void 0})),C?oe(se,me):a(!1)},[se,w,oe]),q?e.createElement(y,{title:le.value,errorMessage:q}):o||N===null?e.createElement("div",{"data-testid":"loader"},e.createElement(m.A,{fixed:!0,useRealmColor:!0})):e.createElement(u.dO,null,e.createElement(u.qh,{path:r[s.xW.OIDC_LOGIN],component:ft}),e.createElement(u.qh,{exact:!0,path:r[s.xW.OIDC_SIGNUP],component:Tt}),e.createElement(u.qh,{exact:!0,path:r[s.xW.OIDC_ACCOUNT],render:C=>N?e.createElement(u.rd,{to:{pathname:r[s.xW.OIDC_LOGIN],state:{from:C.location},search:C.location.search}}):e.createElement(l.jQ,null)}),e.createElement(u.qh,{exact:!0,path:r[s.xW.OIDC_FORGOT_PASSWORD],component:Te}),e.createElement(u.qh,{exact:!0,path:r[s.xW.OIDC_RESET_PASSWORD],component:Te}),e.createElement(u.qh,{exact:!0,path:r[s.xW.OIDC_LOGOUT],component:pt}),e.createElement(u.qh,{path:"*",render:C=>e.createElement(u.rd,{to:{pathname:r[s.xW.OIDC_LOGIN],search:C.location.search}})}))}}),10940:((x,h,t)=>{t.d(h,{A:()=>u});var e=t(86364);const u=()=>(0,e.d4)(g=>g.services.session.user)}),11456:((x,h,t)=>{t.d(h,{A:()=>p});var e=t(96540),u=t(85092),g=Object.defineProperty,f=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,O=(d,i,s)=>i in d?g(d,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):d[i]=s,P=(d,i)=>{for(var s in i||(i={}))m.call(i,s)&&O(d,s,i[s]);if(f)for(var s of f(i))I.call(i,s)&&O(d,s,i[s]);return d};const p=(d=>e.createElement(u.A,P({},d),e.createElement("path",{d:"M25.875 3.75l-3.75-3.75-16 16 16 16 3.75-3.813-12.188-12.188z",fill:d.fill})))}),18573:((x,h,t)=>{t.d(h,{aZ:()=>u,c9:()=>f,lm:()=>g});var e=t(35667);const u={success:e.Fc.CHECK_CIRCLE,error:e.Fc.ERROR,info:e.Fc.INFO};var g=(m=>(m.SUCCESS="success",m.ERROR="error",m.INFO="info",m))(g||{}),f=(m=>(m.SHORT="SHORT",m.LONG="LONG",m.EXTENDED="EXTENDED",m))(f||{})}),20450:((x,h,t)=>{t.d(h,{A:()=>te});var e=t(96540),u=t(35667),g=t(58562),f=t(79040),m=t(52068),I=t(89064),O=t(53640),P=t(18573),p=t(97615);const d=300,i={[P.c9.SHORT]:1500,[P.c9.LONG]:3e3,[P.c9.EXTENDED]:3e4},s={success:e.createElement(m.A,{fill:"green",width:15,height:15}),error:e.createElement(I.A,{fill:"red",width:15,height:15}),info:e.createElement(O.A,{fill:"white",width:15,height:15})},F=e.memo(({message:S,duration:R=P.c9.SHORT,onDismiss:_,dismissable:H=!0,type:Z})=>{const[V,G]=(0,e.useState)(!0),j=(0,g.b0)(["toastClose"]),U=(0,e.useCallback)(()=>{G(!1),_==null||_()},[]);(0,e.useEffect)(()=>{const ne=setTimeout(U,i[R]+d);return()=>clearTimeout(ne)},[R]);const X=(0,e.useCallback)(()=>s[Z],[Z]);return V?e.createElement("div",{className:"toast-item"},Z?e.createElement("span",{className:"toast-item__icon","aria-hidden":!0},e.createElement(f.Hv,null,({isActive:ne})=>e.createElement(f.Q6,{name:P.aZ[Z],state:ne?u.nJ.HOVER:u.nJ.NORMAL,height:15,width:15,fallbackIcon:X}))):null,S,H?e.createElement(p.QM,{className:"toast-item__close",onClick:U,ariaLabel:j.toastClose.value},e.createElement(I.A,{fill:"white",width:10,height:10})):null):null}),D=null;var n=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,y=(S,R,_)=>R in S?n(S,R,{enumerable:!0,configurable:!0,writable:!0,value:_}):S[R]=_,M=(S,R)=>{for(var _ in R||(R={}))E.call(R,_)&&y(S,_,R[_]);if(v)for(var _ of v(R))L.call(R,_)&&y(S,_,R[_]);return S},Q=(S,R)=>l(S,c(R));const J=()=>{const[S,R]=(0,e.useState)([]),_=(0,e.useCallback)(V=>{const G=Date.now().toString();R(j=>[...j,M({id:G},V)])},[]),H=(0,e.useCallback)(V=>()=>{R(G=>G.filter(j=>j.id!==V))},[]),Z=(0,e.useMemo)(()=>{const V=G=>G.map(j=>e.createElement(F,Q(M({}
1,j),{key:j.id,onDismiss:H(j.id)})));return e.createElement("div",{className:"toast__container",key:"toast-container"},e.createElement("div",{className:"toast__region",role:"status"},V(S.filter(({type:G})=>G!==P.lm.ERROR))),e.createElement("div",{className:"toast__region",role:"alert"},V(S.filter(({type:G})=>G===P.lm.ERROR))))},[S,H]);return{showToast:_,ToastContainer:Z}},te=t.j==33524?J:null}),29423:((x,h,t)=>{t.r(h),t.d(h,{GoogleAuthenticationProvider:()=>n});var e=t(96540),u=t(1346),g=t(35667),f=t(58562),m=t(79040),I=t(58582),O=t(88075),P=t(87585),p=t(2275),d=t(87783),i=t(59245),s=t(94043),F=t(75369);const D=23;class n extends d.s{constructor(){super(...arguments),this.pageTitle="googleLoginPage",this.largeButtonLabelKey="googleLoginButtonKey",this.authProviderRoute="/google",this.smallIcon=e.createElement(m.Hv,null,({isActive:E})=>e.createElement(m.Q6,{name:g.Fc.GOOGLE,isAriaHidden:!0,state:E?g.nJ.HOVER:g.nJ.NORMAL,height:D,width:D,className:"btn__icon",fallbackIcon:()=>e.createElement(I.A,{className:"btn__icon",width:D,height:D})})),this.canSignUp=!0,this.hasAccountSecurityPage=!1,this.hasPasswordResetPage=!1,this.getForm=()=>e.createElement(l,{http:this.http,setTokens:E=>this.setTokens(E),clientId:this.authProvider.clientId}),this.getPage=()=>e.createElement("div",null,this.getForm()),this.getPasswordResetPage=()=>e.createElement("p",null,"Not supported")}}const l=v=>{const{signInContinue:E,sorrySomethingWentWrong:L}=(0,f.b0)(["signInContinue","sorrySomethingWentWrong"]),y=e.useRef(null),M=window,{hasConflict:Q,isSignup:J,setAccountConflict:te,setToken:S,token:R,error:_,setError:H}=(0,i.T)(),Z=(0,O.m)(),V="https://accounts.google.com/gsi/client";e.useEffect(()=>(G(),()=>{document.querySelector(`.lazy-script[src="${V}"]`).remove()}),[]),e.useEffect(()=>{R&&!J&&U()},[R]);const G=()=>{M.onSuccess=j,(0,p.jc)(V)},j=async X=>{S(X==null?void 0:X.credential)},U=async X=>{try{H(!1);const ne=(0,F.v)(X,Z),{authorisationToken:ge,missingInformationStatus:Ee,refreshToken:Oe}=await v.http.post("/login/social/google",{idToken:R},{useAuth:!1,headers:ne});v.setTokens({authorisationToken:ge,missingInformationStatus:Ee,refreshToken:Oe})}catch(ne){(0,P.u4)(u.bE.ERROR,{error:ne,errorType:(0,s.eg)(ne)}),H(!0),ne.status===409&&te(!0)}};return R&&J?e.createElement(i.E,{next:U,hasConflict:Q,continueLabel:E.value}):e.createElement(e.Fragment,null,e.createElement(c,null),e.createElement("div",{id:"g_id_onload","data-client_id":v.clientId,"data-callback":"onSuccess"}),e.createElement("div",{className:"g_id_signin","data-width":400,"data-type":"standard",ref:y}),_&&e.createElement("p",{className:"input--error"},L.value))},c=()=>{const{googleSignInHeader:v,googleSignInText:E}=(0,f.b0)(["googleSignInHeader","googleSignInText"]);return e.createElement("div",{className:"social-login"},e.createElement("h2",null,v.value),e.createElement("p",null,E.value))}}),38367:((x,h,t)=>{t.d(h,{F:()=>F,_:()=>D});var e=t(16505),u=Object.defineProperty,g=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,I=(n,l,c)=>l in n?u(n,l,{enumerable:!0,configurable:!0,writable:!0,value:c}):n[l]=c,O=(n,l)=>{for(var c in l||(l={}))f.call(l,c)&&I(n,c,l[c]);if(g)for(var c of g(l))m.call(l,c)&&I(n,c,l[c]);return n},P=(n,l)=>{var c={};for(var v in n)f.call(n,v)&&l.indexOf(v)<0&&(c[v]=n[v]);if(n!=null&&g)for(var v of g(n))l.indexOf(v)<0&&m.call(n,v)&&(c[v]=n[v]);return c};const p=n=>({signIn:n.signInButton,signInButton:n.signInButton,signUp:n.signUpButton,signupWith:n.signUpHeader,orSignUpWith:n.signUpWithPrompt,signInHeader:n.signInHeader,forgotPasswordWeb:n.forgotPasswordLink,orCreateAccount:n.noAccountPrompt,forgotPasswordWebTitle:n.forgotPasswordHeader,oidcServerLogoutPageTitle:n.oidcServerLogoutPageTitle,oidcServerLogoutPageDescription:n.oidcServerLogoutPageDescription}),d=n=>{const l={LOGO:n.loginLogo,LOGO_WEB:n.headerLogo,LOGIN_BACKGROUND_WEB_MOBILE:n.loginBackgroundImageMobile,LOGIN_BACKGROUND_WEB_RTL:n.loginBackgroundImageRtl,LOGIN_BACKGROUND_WEB:n.loginBackgroundImageWeb};return Object.keys(l).reduce((c,v)=>{const E=l[v];return E!=null&&(c[v]=E),c},{})},i=n=>{const l={PRIMARY_COLOR:n.primaryColour,SECONDARY_COLOR:n.secondaryColour,TERTIARY_COLOR:n.tertiaryColour,BG_COLOR:n.backgroundColour,ACCOUNT_PAGE_BACKGROUND_COLOUR:n.accountPageBackgroun
1dColour};return Object.keys(l).reduce((c,v)=>{const E=l[v];return E!=null&&(c[v]=E),c},{})},s=n=>{const l=n,{additionalConfig:c,imageUris:v}=l,E=P(l,["additionalConfig","imageUris"]),L=c!=null?c:{},{labels:y,colors:M}=L,Q=P(L,["labels","colors"]);return O(O(O({},E),c&&{additionalConfig:O(O(O({},Q),y&&{labels:p(y)}),M&&{colors:i(M)})}),v&&{imageUris:d(v)})},F=async n=>{if(!n)throw new Error("Invalid client ID");const l=`${e.LV.baseUrl.replace("/v2","/v1")}/openid-provider/client/${n}`,{parsedData:c}=await e.LV.get(l);return s(c)},D=async n=>{const l=`${e.LV.baseUrl.replace("/v2","/v1")}/openid-provider/code`,{parsedData:c}=await e.LV.post(l,n);return c}}),39980:((x,h,t)=>{t.r(h),t.d(h,{FacebookAuthenticationProvider:()=>n});var e=t(96540),u=t(1346),g=t(35667),f=t(58562),m=t(79040),I=t(56611),O=t(88075),P=t(87585),p=t(2275),d=t(87783),i=t(59245),s=t(94043),F=t(75369);const D=23;class n extends d.s{constructor(){super(...arguments),this.pageTitle="facebookLoginPage",this.largeButtonLabelKey="facebookLoginButtonKey",this.authProviderRoute="/facebook",this.smallIcon=e.createElement(m.Hv,null,({isActive:E})=>e.createElement(m.Q6,{name:g.Fc.FACEBOOK,isAriaHidden:!0,state:E?g.nJ.HOVER:g.nJ.NORMAL,height:D,width:D,className:"btn__icon",fallbackIcon:()=>e.createElement(I.A,{className:"btn__icon",width:D,height:D})})),this.canSignUp=!0,this.hasAccountSecurityPage=!1,this.hasPasswordResetPage=!1,this.getForm=()=>e.createElement(l,{http:this.http,setTokens:E=>this.setTokens(E),appId:this.authProvider.appId}),this.getPage=()=>e.createElement("div",null,this.getForm()),this.getPasswordResetPage=()=>e.createElement("p",null,"Not supported")}}const l=v=>{const{signInContinue:E,sorrySomethingWentWrong:L}=(0,f.b0)(["signInContinue","sorrySomethingWentWrong"]),y=window,{token:M,setToken:Q,hasConflict:J,setAccountConflict:te,isSignup:S,error:R,setError:_}=(0,i.T)(),H=(0,O.m)();e.useEffect(()=>{Z()},[]),e.useEffect(()=>{M&&!S&&V()},[M]);const Z=async()=>{await(0,p.jc)("https://connect.facebook.net/en_US/sdk.js"),y.FB.init({appId:v.appId,version:"v10.0"})},V=async U=>{try{_(!1);const X=(0,F.v)(U,H),{authorisationToken:ne,refreshToken:ge,missingInformationStatus:Ee}=await v.http.post("/login/social/facebook",{code:M},{useAuth:!1,headers:X});v.setTokens({authorisationToken:ne,refreshToken:ge,missingInformationStatus:Ee})}catch(X){(0,P.u4)(u.bE.ERROR,{error:X,errorType:(0,s.eg)(X)}),_(!0),X.status===409&&te(!0)}},G=U=>{var X;(X=U==null?void 0:U.authResponse)!=null&&X.accessToken&&Q(U.authResponse.accessToken)},j=()=>y.FB.login(G,{scope:"public_profile,email"});return M&&S?e.createElement(i.E,{next:V,hasConflict:J,continueLabel:E.value}):e.createElement(e.Fragment,null,e.createElement(c,null),e.createElement(m.Hv,null,({isActive:U})=>e.createElement("div",{className:"facebook-auth__button btn",onClick:j},e.createElement(m.Q6,{name:g.Fc.FACEBOOK,state:U?g.nJ.HOVER:g.nJ.NORMAL,height:D,className:"facebook-auth__icon",fallbackIcon:()=>e.createElement(I.A,{className:"facebook-auth__icon",width:D,height:D})}),e.createElement("span",null,E.value))),R&&e.createElement("p",{className:"input--error"},L.value))},c=()=>{const{facebookSignInHeader:v,facebookSignInText:E}=(0,f.b0)(["facebookSignInHeader","facebookSignInText"]);return e.createElement("div",{className:"social-login"},e.createElement("h2",null,v.value),e.createElement("p",null,E.value))}}),56611:((x,h,t)=>{t.d(h,{A:()=>p});var e=t(96540),u=t(85092),g=Object.defineProperty,f=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,O=(d,i,s)=>i in d?g(d,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):d[i]=s,P=(d,i)=>{for(var s in i||(i={}))m.call(i,s)&&O(d,s,i[s]);if(f)for(var s of f(i))I.call(i,s)&&O(d,s,i[s]);return d};const p=(d=>e.createElement(u.A,P({viewBox:"0 0 155.139 155.139"},d),e.createElement("g",null,e.createElement("path",{id:"f_1_",d:`M89.584,155.139V84.378h23.742l3.562-27.585H89.584V39.184
2					c0-7.984,2.208-13.425,13.67-13.425l14.595-0.006V1.08C115.325,0.752,106.661,0,96.577,0C75.52,0,61.104,12.853,61.104,36.452
3					v20.341H37.29v27.585h23.814v70.761H89.584z`}))))}),58146:((x,h,t)=>{t.r(h),t.d(h,{SignupWrapper:()=>v});var e=t(96540),u=t(86364),g=t(56347),f=t(82511),m=t(58562),I=t(70077),O=t(59530),P=t(97963),p=t(85401),d=Object.defineProperty,i=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable,D=(E,L,y)=>L in E?d(E,L,{enumerable:!0,configurable:!0,writable:!0,value:y}):E[L]=y,n=(E,L)=>{for(var y in L||(L={}))s.call(L,y)&&D(E,y,L[y]);if(i)for(var y of i(L))F.call(L,y)&&D(E,y,L[y]);return E};const l=e.lazy(()=>Promise.all([t.e(27846),t.e(52118),t.e(85128),t.e(47056),t.e(48467),t.e(96746),t.e(43913),t.e(31865),t.e(90137),t.e(19267),t.e(99414),t.e(11543),t.e(93262),t.e(5029),t.e(39088),t.e(92516),t.e(59906),t.e(40967)]).then(t.bind(t,9087))),c=E=>{const{outsideAllowedTerritories:L}=window.APP_CONF,{isChild:y}=E,M=y?"kidPurchasePermissionDenied":L?"signupGeoRestriction":"vpnErrorMessage",Q=(0,m.b0)([M]),J=(0,u.d4)(H=>H.services.app.isRtL),{routes:te,defaultMenuParams:S}=e.useContext(O.P),R=(0,g.W6)(),_=()=>(0,p.OS)(S,te,R);return e.createElement(I.Modal,{isRtL:J,handleClose:_},e.createElement(e.Fragment,null,Q[M].value))},v=E=>{const{outsideAllowedTerritories:L,usingVpnOnDisallowingRealm:y}=window.APP_CONF,{type:M}=(0,P.sh)()||{},Q=M===f.XE.CHILD;return L||y||Q?e.createElement(c,{isChild:Q}):e.createElement(l,n({},E))}}),58582:((x,h,t)=>{t.d(h,{A:()=>p});var e=t(96540),u=t(85092),g=Object.defineProperty,f=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,O=(d,i,s)=>i in d?g(d,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):d[i]=s,P=(d,i)=>{for(var s in i||(i={}))m.call(i,s)&&O(d,s,i[s]);if(f)for(var s of f(i))I.call(i,s)&&O(d,s,i[s]);return d};const p=(d=>e.createElement(u.A,P({viewBox:"0 0 512 512"},d),e.createElement(e.Fragment,null,e.createElement("path",{style:{fill:"#FBBB00"},d:`M113.47,309.408L95.648,375.94l-65.139,1.378C11.042,341.211,0,299.9,0,256
4				c0-42.451,10.324-82.483,28.624-117.732h0.014l57.992,10.632l25.404,57.644c-5.317,15.501-8.215,32.141-8.215,49.456
5				C103.821,274.792,107.225,292.797,113.47,309.408z`}),e.createElement("path",{style:{fill:"#518EF8"},d:`M507.527,208.176C510.467,223.662,512,239.655,512,256c0,18.328-1.927,36.206-5.598,53.451
6				c-12.462,58.683-45.025,109.925-90.134,146.187l-0.014-0.014l-73.044-3.727l-10.338-64.535
7				c29.932-17.554,53.324-45.025,65.646-77.911h-136.89V208.176h138.887L507.527,208.176L507.527,208.176z`}),e.createElement("path",{style:{fill:"#28B446"},d:`M416.253,455.624l0.014,0.014C372.396,490.901,316.666,512,256,512
8				c-97.491,0-182.252-54.491-225.491-134.681l82.961-67.91c21.619,57.698,77.278,98.771,142.53,98.771
9				c28.047,0,54.323-7.582,76.87-20.818L416.253,455.624z`}),e.createElement("path",{style:{fill:"#F14336"},d:`M419.404,58.936l-82.933,67.896c-23.335-14.586-50.919-23.012-80.471-23.012
10				c-66.729,0-123.429,42.957-143.965,102.724l-83.397-68.276h-0.014C71.23,56.123,157.06,0,256,0
11				C318.115,0,375.068,22.126,419.404,58.936z`}))))}),66720:((x,h,t)=>{t.d(h,{$:()=>P});var e=t(56710),u=t(16505),g=t(93262),f=t(39980),m=t(29423),I=t(12728);const O={ID:I.IDAuthenticationProvider,APPLE_ID:g.AppleAuthenticationProvider,GOOGLE:m.GoogleAuthenticationProvider,FACEBOOK:f.FacebookAuthenticationProvider};function P(p){const{authenticationProviders:d}=(0,e.Z)();return{providers:(d||window.APP_CONF.authenticationProviders).map(F=>{const D=O[F.name];return D?new D(F,{http:u.LV,updateTokens:p}):null}
11).filter(Boolean)}}}),69279:((x,h,t)=>{t.d(h,{A:()=>p});var e=t(96540),u=t(85092),g=Object.defineProperty,f=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,O=(d,i,s)=>i in d?g(d,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):d[i]=s,P=(d,i)=>{for(var s in i||(i={}))m.call(i,s)&&O(d,s,i[s]);if(f)for(var s of f(i))I.call(i,s)&&O(d,s,i[s]);return d};const p=(d=>e.createElement(u.A,P({viewBox:"0 0 39 39"},d),e.createElement("g",{id:"Left-White-Logo-Large",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},e.createElement("path",{d:"M19.8196726,13.1384615 C20.902953,13.1384615 22.2608678,12.406103 23.0695137,11.4296249 C23.8018722,10.5446917 24.3358837,9.30883662 24.3358837,8.07298156 C24.3358837,7.9051494 24.3206262,7.73731723 24.2901113,7.6 C23.0847711,7.64577241 21.6353115,8.4086459 20.7656357,9.43089638 C20.0790496,10.2090273 19.4534933,11.4296249 19.4534933,12.6807374 C19.4534933,12.8638271 19.4840083,13.0469167 19.4992657,13.1079466 C19.5755531,13.1232041 19.6976128,13.1384615 19.8196726,13.1384615 Z M16.0053051,31.6 C17.4852797,31.6 18.1413509,30.6082645 19.9875048,30.6082645 C21.8641736,30.6082645 22.2761252,31.5694851 23.923932,31.5694851 C25.5412238,31.5694851 26.6245041,30.074253 27.6467546,28.6095359 C28.7910648,26.9312142 29.2640464,25.2834075 29.2945613,25.2071202 C29.1877591,25.1766052 26.0904927,23.9102352 26.0904927,20.3552448 C26.0904927,17.2732359 28.5316879,15.8848061 28.6690051,15.7780038 C27.0517133,13.4588684 24.5952606,13.3978385 23.923932,13.3978385 C22.1082931,13.3978385 20.6283185,14.4963764 19.6976128,14.4963764 C18.6906198,14.4963764 17.36322,13.4588684 15.7917006,13.4588684 C12.8012365,13.4588684 9.765,15.9305785 9.765,20.5993643 C9.765,23.4982835 10.8940528,26.565035 12.2824825,28.548506 C13.4725652,30.2268277 14.5100731,31.6 16.0053051,31.6 Z",id:"\uF8FF",fill:"#FFFFFF",fillRule:"nonzero"}))))}),84454:((x,h,t)=>{t.d(h,{A:()=>c,y:()=>n});var e=t(96540),u=t(86364),g=t(56347),f=t(90953),m=t(13516),I=t(6223),O=t(41078),P=t(98284),p=t(2275),d=t(79383),i=t(21865);const s=1024,F=820,D=1080,n=({isRtL:v,children:E})=>{const[L,y]=e.useState(!1),{imageType:M}=e.useContext(m.xK),Q=(0,d.d)(),{appSettings:{WEB:J},realmFullName:te}=(0,f.U)(),{logoSrc:S,loginBackgroundWeb:R,loginBackgroundWebRtl:_,loginBackgroundWebMobile:H}=(0,P.b)({imageUris:Q}),Z=(0,O.l)(),V=L?"loaded":void 0,G=(U,X)=>(0,m.vy)(U,"AUTO",X,M),j=()=>y(!0);return e.createElement(e.Fragment,null,e.createElement(I.s,{transitionEnterTimeout:200,transitionLeaveTimeout:200,transitionName:"background-image-transition",component:"div",className:"login-page__background"},Z<=s&&e.createElement("img",{className:`img_mobile ${V}`,src:G(H,F),onLoad:j,alt:""}),Z>s&&v&&e.createElement("img",{className:V,src:G(_,D),alt:"",onLoad:j}),Z>s&&!v&&e.createElement("img",{className:V,src:G(R,D),alt:"",onLoad:j})),e.createElement("div",{className:(0,p.AH)("login-page__logo",(J==null?void 0:J.languageBadgeStyle)&&"login-page__logo--with-language-toggle")},e.createElement("img",{alt:te,src:(0,m.vy)(S,"AUTO",110)})),E)},l=({services:{app:{isRtL:v}}})=>({isRtL:v}),c=(0,g.y)((0,u.Ng)(l)(n))}),97274:((x,h,t)=>{t.d(h,{Y:()=>I});var e=t(96540),u=t(90953),g=t(13516),f=t(98284),m=t(79383);const I=({title:O})=>{const{realmFullName:P}=(0,u.U)(),{imageType:p}=e.useContext(g.xK),d=(0,m.d)(),{logoSrc:i}=(0,f.b)({imageUris:d});return e.createElement("div",{className:"login-page__header"},e.createElement("h1",{"aria-level":2},O),e.createElement("div",{className:"login-page__header__logo"},e.createElement("img",{src:(0,g.vy)(i,"AUTO",110,p),alt:P})))}}),97615:((x,h,t)=>{t.d(h,{Eu:()=>i,JX:()=>F,QM:()=>s,Xi:()=>D});var e=t(96540),u=Object.defineProperty,g=Object.defineProperties,f=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,P=(n,l,c)=>l in n?u(n,l,{enumerable:!0,configurable:!0,writable:!0,value:c}):n[l]=c,p=(n,l)=>{for(var c in l||(l={}))I.call(l,c)&&P(n,c,l[c]);if(m)for(var c of m(l))O.call(l,c)&&P(n,c,l[c]);return n},d=(n,l)=>g(n,f(l));const i=(n,l)=>{n.key==="Enter"&&l(n)},s=e.memo(n=>{var l,c;return e.createElement("div",d(p(p(p({id:n.id,className:n.className,onClick:n.onClick,onMouseDown:n.onMouseDown,onKeyDown:v=>i(v,n.onClick),title:n.title,"aria-label":n.ariaLabel,role:(l=n.role)!=null?l:"button"},n.isExpanded!==void 0&&{"aria-expanded":n.isExpanded}
11),n.ariaControls&&{"aria-controls":n.ariaControls}),n.ariaPressed!==void 0&&{"aria-pressed":n.ariaPressed}),{tabIndex:(c=n.tabIndex)!=null?c:0}),n.children)}),F=e.memo(n=>{var l;return e.createElement("a",d(p(p({id:n.id,className:n.className,key:n.keyString,onClick:n.onClick,onMouseDown:n.onMouseDown,onKeyDown:c=>i(c,n.onClick),title:n.title,"aria-label":n.ariaLabel},n.isExpanded!==void 0&&{"aria-expanded":n.isExpanded}),n.ariaControls&&{"aria-controls":n.ariaControls}),{role:(l=n.role)!=null?l:"button",tabIndex:0}),n.children)}),D=e.memo(n=>{var l;return e.createElement("span",d(p(p({id:n.id,className:n.className,onClick:n.onClick,onMouseDown:n.onMouseDown,onKeyDown:c=>i(c,n.onClick),title:n.title,"aria-label":n.ariaLabel,role:(l=n.role)!=null?l:"button"},n.isExpanded!==void 0&&{"aria-expanded":n.isExpanded}),n.ariaControls&&{"aria-controls":n.ariaControls}),{tabIndex:0}),n.children)})}),98004:((x,h,t)=>{t.d(h,{Y:()=>m,t:()=>f});var e=t(96540),u=t(20450);const g=(0,e.createContext)(null),f=({children:I})=>{const{showToast:O,ToastContainer:P}=(0,u.A)();return e.createElement(g.Provider,{value:{showToast:O}},I,P)},m=()=>{const I=(0,e.useContext)(g);if(!I)throw new Error("useToastContext must be used within ToastProvider");return I}})}]);})();
12
13//# sourceMappingURL=oidc-auth-route.2de9323337b7cf537483.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.