1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2130],{34533:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/file",function(){return t(78752)}])},66683:function(e,n,t){"use strict";t.d(n,{Q:function(){return f},h:function(){return x}});var r=t(24246),c=t(87685),s=t(76387),i=t(27378),l=t(83941),u=t(9756),o=t(3755),a=t(67424);let f=(e,n)=>{let t=()=>{let{userLoginPage:t,accountUpdate:s}=(0,l.$Y)(),{push:o}=(0,c.Uv)(),[a,f]=(0,i.useState)(!1),{user:m}=(0,u.a)();return(0,i.useEffect)(()=>{void 0!==m&&((e?null===m:null!==m)?o(e?t:s):f(!0))},[s,t,o,m]),a?(0,r.jsx)(n,{}):(0,r.jsx)(x,{})};return t.Layout=o.ZP,t},x=()=>(0,r.jsx)(s.xu,{display:"flex",justifyContent:"center",my:"7rem",children:(0,r.jsx)(a.Z,{})})},78752:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return _}});var r=t(24246),c=t(87685),s=t(76387),i=t(60639),l=t(3755),u=t(18295),o=t(66683),a=t(38331),f=t(86677),x=t(27378),m=t(83941),d=t(46737),j=t(22052),h=t(48875),y=t(70348);let C=()=>{let{isReady:e,query:n,push:t}=(0,f.useRouter)(),{config:{apiUrl:l},stringify:C}=(0,m.$Y)(),[_]=(0,s.dd)(u.V),{user:p}=(0,y.aF)(),{values:g}=(0,c.bL)(),[k,E]=(0,x.useState)(null);return((0,x.useEffect)(()=>{e&&n.path?(0,h.KS)(l)("".concat((0,d.M9)(n.path)),{method:"HEAD"},!1).then(e=>{e.ok&&window.open((0,d.M9)(n.path),"_self"),E(e.status)}).catch(e=>E(400)):E(null)},[l,n,e,k,p]),(0,x.useEffect)(()=>{p||401!==k||_()},[k,p]),k)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.Z,{my:"4rem",children:C(g.pageTitle)}),200===k?(0,r.jsxs)(s.kC,{my:"2rem",justifyContent:"center",alignItems:"center",flexDirection:"column",children:[(0,r.jsx)(i.O,{}),(0,r.jsx)(j.aC,{display:"flex",justifyContent:"center",m:"2rem 0 3rem 0",children:C(g.success)}),(0,r.jsx)(s.zx,{onClick:()=>t("/"),children:C(g.homepageBtn)})]}):p||401!==k?(0,r.jsxs)(s.kC,{my:"2rem",justifyContent:"center",alignItems:"center",flexDirection:"column",children:[(0,r.jsx)(i.MQ,{}),(0,r.jsx)(j.aC,{display:"flex",justifyContent:"center",m:"2rem 0 3rem 0",children:p&&401===k?"".concat(C(g.wrongRights)):404===k?"".concat(C(g.notExisting)):"".concat(C(g.unknownError))}),(0,r.jsx)(s.zx,{onClick:()=>t("/"),children:C(g.homepageBtn)})]}):(0,r.jsxs)(s.kC,{my:"2rem",justifyContent:"center",alignItems:"center",flexDirection:"column",children:[(0,r.jsx)(i.MQ,{}),(0,r.jsx)(j.aC,{display:"flex",justifyContent:"center",m:"2rem 0 3rem 0",children:C(g.notLoggedIn)}),(0,r.jsx)(s.kC,{my:"2rem",justifyContent:"center",children:(0,r.jsx)(s.rU,{justifyContent:"center",variant:"underline",onClick:_,children:(0,r.jsx)(s.zx,{children:C(g.loginBtn)})})})]})]}):(0,r.jsx)(o.h,{})};C.Layout=l.ZP;var _=!0;n.default=C}},function(e){e.O(0,[7182,9170,2888,9774,179],function(){return e(e.s=34533)}),_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.