PageSourceSearch

https://www.robelighting.fr/_next/static/chunks/pages/user/registration/activation-676331eb0771a853.js

js robelighting.fr collected 2026-09-29 19:13:13 UTC 3,377 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5444],{53557:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/registration/activation",function(){return t(56490)}])},66683:function(e,n,t){"use strict";t.d(n,{Q:function(){return d},h:function(){return x}});var r=t(24246),i=t(87685),s=t(76387),l=t(27378),u=t(83941),c=t(9756),a=t(3755),o=t(67424);let d=(e,n)=>{let t=()=>{let{userLoginPage:t,accountUpdate:s}=(0,u.$Y)(),{push:a}=(0,i.Uv)(),[o,d]=(0,l.useState)(!1),{user:f}=(0,c.a)();return(0,l.useEffect)(()=>{void 0!==f&&((e?null===f:null!==f)?a(e?t:s):d(!0))},[s,t,a,f]),o?(0,r.jsx)(n,{}):(0,r.jsx)(x,{})};return t.Layout=a.ZP,t},x=()=>(0,r.jsx)(s.xu,{display:"flex",justifyContent:"center",my:"7rem",children:(0,r.jsx)(o.Z,{})})},56490:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return h}});var r=t(24246),i=t(18869),s=t(46737),l=t(76387),u=t(60639),c=t(66683),a=t(22052),o=t(38331),d=t(86677),x=t(27378),f=t(31153),m=t(83941),h=!0;n.default=(0,c.Q)(!1,()=>{let e=(0,i.lt)(),{stringify:n,general:t}=(0,m.$Y)(),{query:h,isReady:j,push:_,locale:v}=(0,d.useRouter)(),{link:k,as:p}=(0,i.Uv)(),{values:w,id:C,slug:R,type:E}=(0,i.bL)(),[b]=(0,i.h0)(),[g,y]=(0,x.useState)(null),[N,S]=(0,x.useState)(null),T=(0,s.M9)(h.confirmation);if((0,x.useEffect)(()=>{(N||j)&&(T?e.web.userConfirmation({confirmationId:T},(0,f.I)(null!=v?v:"en")).then(e=>{(null==e?void 0:e.ok)&&S("success")}).catch(e=>{if(e instanceof s.dM){if(e.detail===s.lj.UsedRequest){_(...k(b,{queries:{alreadyActivated:1}}));return}S(e.detail)}}):S("requestNotFound"))},[T,N,e.web,j,k,v,_,b]),!N||!j)return(0,r.jsx)(c.h,{});let q=()=>{let n=p({id:C,slug:R,type:E},{locale:v}),t=p(b);n&&t&&e.web.userConfirmationResend({locale:null!=v?v:"en",...h.confirmation&&{token:(0,s.M9)(h.confirmation)},activationPageUrl:n},(0,f.I)(null!=v?v:"en")).then(e=>{(null==e?void 0:e.ok)&&(y(null),_(t))}).catch(e=>{if(e instanceof s.rz)switch(e.detail){case s.S.InvalidToken:y("Invalid token");break;case s.S.TokenAlreadyUsed:y("Token already used");break;case s.S.UserAlreadyConfirmed:y("User already confirmed")}})};return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(l.W2,{flexDirection:"column",paddingTop:{_:"3rem",sm:"5rem"},paddingBottom:{_:"6rem",sm:"10rem"},children:(0,r.jsx)(l.xu,{width:"85rem",maxWidth:"100%",margin:"auto",textAlign:"center",children:"success"===N?(0,r.jsxs)(l.Kq,{direction:"column",gap:{_:"2rem",sm:"3rem"},wrapItems:!0,children:[(0,r.jsx)(o.Z,{children:(0,r.jsx)(i.CR,{value:w.header})}),(0,r.jsx)(u.O,{}),(0,r.jsx)(a.rR,{children:(0,r.jsx)(i.CR,{value:w.text})}),(0,r.jsx)(i._3,{content:b,inline:!0,children:(0,r.jsx)(l.zx,{children:(0,r.jsx)(i.CR,{value:w.button})})})]}):(0,r.jsxs)(l.Kq,{direction:"column",gap:{_:"2rem",sm:"3rem"},wrapItems:!0,children:[(0,r.jsx)(o.Z,{children:(0,r.jsx)(i.CR,{value:w.header2})}),(0,r.jsx)(u.MQ,{}),(0,r.jsx)(a.rR,{children:(0,r.jsx)(i.CR,{value:w.text2})}),N&&(0,r.jsx)(l.xu,{children:(0,r.jsx)(l.ZT,{children:"requestNotFound"===N?n(t.values.confirmLinkNotFound):N===s.lj.ExpiredRequest&&n(t.values.confirmLinkExpired)})}),!!g&&(0,r.jsx)(l.ZT,{children:g}),(0,r.jsx)(l.zx,{onClick:()=>q(),children:n(w.resendMailBtn)})]})})})})})},31153:function(e,n,t){"use strict";t.d(n,{I:function(){return r}});let r=e=>"en-SEA"===e?3e4:1e4}},function(e){e.O(0,[7182,9170,2888,9774,179],function(){return e(e.s=53557)}),_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.