PageSourceSearch

https://kuber.ru/_next/static/chunks/pages/sso/movercont/start-b7083a263b9076df.js

js kuber.ru collected 2026-10-07 18:20:02 UTC 2,937 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3243],{81108:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/sso/movercont/start",function(){return t(93466)}])},93466:function(e,r,t){"use strict";t.r(r);var n=t(82670),i=t(85893),s=t(74446),c=t(84749),o=t(41060),a=t(58486),l=t(9669),u=t.n(l),d=t(9008),f=t.n(d),x=t(11163),h=t(67294);function _(e){var r;return Array.isArray(e)?null!==(r=e[0])&&void 0!==r?r:null:null!==e&&void 0!==e?e:null}function v(e){return"/auth/login?redirect=".concat(encodeURIComponent(e))}r.default=function(){var e=(0,x.useRouter)(),r=(0,h.useState)("loading"),t=r[0],l=r[1],d=(0,h.useState)("\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c Movercont"),p=d[0],m=d[1],y=(0,h.useMemo)((function(){return e.isReady?{clientId:_(e.query.client_id),redirectUri:_(e.query.redirect_uri),state:_(e.query.state)}:null}),[e.isReady,e.query.client_id,e.query.redirect_uri,e.query.state]);return(0,h.useEffect)((function(){if(e.isReady&&y){if(!y.clientId||!y.redirectUri||!y.state)return l("error"),void m("\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 Movercont");if(o.hP()||o.YV()){var r=!1;return a.nN.post("v1.0/sso/movercont/start",{client_id:y.clientId,redirect_uri:y.redirectUri,state:y.state}).then((function(e){r||(window.location.href=e.data.redirect_url)})).catch((function(t){r||(!function(e){var r;return u().isAxiosError(e)?401===(null===(r=e.response)||void 0===r?void 0:r.status):(0,n.Z)(e,Error)&&"Refresh token is empty"===e.message}(t)?(l("error"),m("\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c Movercont \u0447\u0435\u0440\u0435\u0437 KUBER")):e.replace(v(e.asPath)))})),function(){r=!0}}e.replace(v(e.asPath))}}),[e,e.isReady,y]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f(),{children:(0,i.jsxs)("title",{children:["\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f Movercont | ",c.yf]})}),(0,i.jsx)("main",{className:"flex min-h-screen items-center justify-center bg-[#F7F9FC] px-4",children:(0,i.jsxs)("section",{className:"flex w-full max-w-[420px] flex-col gap-5 rounded-xl bg-white p-6 shadow-[0_12px_32px_8px_rgba(208,214,224,0.28)]",children:[(0,i.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,i.jsx)("h1",{className:"text-smallTitle",children:"\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f Movercont"}),(0,i.jsx)("p",{className:"text-textBody text-secondaryText",children:p})]}),"error"===t&&(0,i.jsx)(s.Z,{fullWidth:!0,size:"large",onClick:function(){return e.reload()},children:"\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c"})]})})]})}},9008:function(e,r,t){e.exports=t(5443)}},function(e){e.O(0,[9774,2888,179],(function(){return r=81108,e(e.s=r);var r}));var r=e.O();_N_E=r}]);

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.