1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4933],{3406:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/error",function(){return n(65754)}])},65754:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return P},default:function(){return N}});var i=n(85893),o=n(67294),a=n(29323),r=n(80623),c=n(4413),d=n(5233),s=n(33299),l=n(11163),h=n(54335),p=n(87683),u=n(35117);let f=h.ZP.div.withConfig({componentId:"sc-e5776dcf-0"})([" display:flex;flex-direction:column;gap:.75em;"]),m=h.ZP.div.withConfig({componentId:"sc-e5776dcf-1"})([" display:flex;flex-direction:column;align-items:center;gap:2em;border-radius:5px;background-color:",";F;height:auto;min-height:10rem;max-width:1200px;width:50%;position:relative;margin:4rem auto;padding:7rem;box-sizing:border-box;box-shadow:0 4px 12px 0 rgb(180 180 180 / 50%);white-space:pre-line;@media ","{box-shadow:none;max-width:unset;padding:.5rem;width:100%;box-sizing:border-box;h1{max-width:100%;}margin:4rem auto 1rem;}"],p.qX.white(),(0,u.a)("tablet")),x=h.ZP.h4.withConfig({componentId:"sc-e5776dcf-2"})(["font-size:25.6px;font-weight:900;line-height:30.05px;text-align:center;text-underline-position:from-font;text-decoration-skip-ink:none;color:",";"],p.qX.Tangaroa()),g=h.ZP.span.withConfig({componentId:"sc-e5776dcf-3"})(["font-size:13px;font-weight:400;line-height:17.7px;text-align:center;text-underline-position:from-font;text-decoration-skip-ink:none;color:#000;"]),w=h.ZP.div.withConfig({componentId:"sc-e5776dcf-4"})(["max-width:1366px;margin:auto;padding-top:6.4rem;"]);var _=n(55459),k=n(33952),b=n(73649),C=n(76489),j=n(25701);let y="keycloak",I=()=>{let{t:e}=(0,d.$G)("common"),{query:t,push:n}=(0,l.useRouter)(),{data:a}=(0,s.useSession)(),{callbackUrl:r,redirectUri:c,target:h,error_type:p,error:u}=t,I="keycloak_ko"===p||"OAuthSignin"===u,v="".concat("https://espace.altaprofits.com/"),P=async(e,t)=>{await (0,b.Npi)(e,t);let n=/^https?:\/\//i.test(t)?t:"".concat("https://app.altaprofits.com/").concat(t);await (0,s.signIn)(y,{callbackUrl:(0,b.efG)(n)})},N=o.useCallback(async()=>{let e=(0,C.Q)(document.cookie)["post-login-redirect"],t=async e=>{let t=(0,b.efG)(e);await (0,s.signIn)(y,{callbackUrl:t})};if(c&&(null==a?void 0:a.idToken)){await P(a.idToken,c);return}if(r){let e=decodeURIComponent(r);await t(e);return}if(e){await t(e);return}if(c){let e=h?{pathname:c}:c;await n(e)}},[r,c,h,a]),S=o.useCallback(async()=>{await n(v)},[v]);return(0,i.jsx)(w,{children:(0,i.jsxs)(m,{children:[(0,i.jsx)(x,{children:e("auth_validation_error_title")}),(0,i.jsx)(_.r,{width:64,height:65,alt:"Send_mail",src:k.Z}),(0,i.jsx)(g,{dangerouslySetInnerHTML:{__html:e(I?"keycloak_ko":"auth_error_description")}}),(0,i.jsx)(f,{children:(0,i.jsx)(j.m7,{label:e(I?"go home":"auth_error_btn"),skin:"bt-1",markup:"input",onClick:I?S:N})})]})})},v=(0,a.Pi)(()=>(0,i.jsx)(c.LWI,{children:(0,i.jsx)(r.d,{children:(0,i.jsx)(I,{})})}));var P=!0,N=v}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=3406)}),_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.