1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8053],{3260:(e,r,n)=>{n.r(r),n.d(r,{SessionProvider:()=>E,signIn:()=>a,signOut:()=>o,useSession:()=>i});var t=n(16144);function i(){let{data:e,isPending:r,refetch:n}=(0,t.wV)();return{data:e,status:r?"loading":e?"authenticated":"unauthenticated",update:async()=>(await n(),e)}}async function a(e,r){return(0,t.Jv)(r?.callbackUrl)}async function o(e){return(0,t.CI)(e?.callbackUrl)}function E({children:e}){return e}},83998:(e,r,n)=>{n.r(r),n.d(r,{default:()=>N,errorLinkDataCy:()=>_,errorVisualDataCy:()=>u});var t,i=n(7515),a=n(19845),o=n(14368),E=n(53488),c=n(11837),s=n(36925),R=n(80531),l=n(96108),O=n(63152),T=((t={})[t.OK=200]="OK",t[t.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",t[t.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",t[t.BAD_REQUEST=400]="BAD_REQUEST",t[t.UNAUTHORIZED=401]="UNAUTHORIZED",t[t.FORBIDDEN=403]="FORBIDDEN",t[t.NOT_FOUND=404]="NOT_FOUND",t[t.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",t[t.CONFLICT=409]="CONFLICT",t[t.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",t[t.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",t);let u="error-visual",_="error-link",N=({errorType:e="generic",isClientSideException:r=!1,locale:n})=>{let{title:t,description:N,descriptionLink:D,errorTypeProp:p,showDescriptionLink:f,referenceWithOnClick:d}=(({errorType:e,isClientSideException:r=!1,locale:n})=>{let t=e===T.INTERNAL_SERVER_ERROR.toString(),i=e===T.NOT_FOUND.toString(),o=e===T.TOO_MANY_REQUESTS.toString(),E=(0,R.usePathname)(),{t:c}=(0,a.useTranslation)("cms",{keyPrefix:"errors"}),u=t?void 0:c(`pageError${e}Title`),_=t?void 0:c(`pageError${e}Description`),N=i?c("pageError404DescriptionLink"):void 0,D=(0,s.useRef)(E),{updateError:p}=(0,s.useContext)(O.I);(0,s.useEffect)(()=>{r&&E!==D.current&&p(!1)},[E,r,p]);let{getReferenceWithOnClick:f}=(0,l.useReferenceWithOnClick)(),d=f({reference:{href:`/${n}`,label:""},type:"link",eventPayload:{cms_component:"link",action:c("pageErrorGenericDescriptionLink")}});return{title:u,description:_,showDescriptionLink:!o,descriptionLink:N,referenceWithOnClick:{...d,onClick:()=>{d?.onClick(),window.location.href=d.href}},errorTypeProp:t?"404":e}})({errorType:e,isClientSideException:r,locale:n}),{t:k}=(0,a.useTranslation)("cms",{keyPrefix:"errors"});return(0,i.FD)(o.H,{title:t||k("pageErrorGenericTitle"),"data-cy":u,errorType:"500"===p?"generic":p,children:[(0,i.Y)(c.default,{component:"span",variant:"body1",dangerouslySetInnerHTML:{__html:N||k("pageErrorGenericDescription")}}),f&&(0,i.Y)(E.WebLink,{reference:d,prefetch:!1,"data-cy":_,variant:"body1",fontWeight:"700",children:D||k("pageErrorGenericDescriptionLink")})]})}}}]); 2//# sourceMappingURL=8053.62109db7a7eba8c4.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.