PageSourceSearch

https://ucheba.ru/_next/static/chunks/pages/events/ege-start/registration-1c9abaf5cebb0eea.js

js ucheba.ru collected 2026-09-24 18:58:21 UTC 2,642 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3dccb635-a50d-4541-bd96-a1c89993817e",e._sentryDebugIdIdentifier="sentry-dbid-3dccb635-a50d-4541-bd96-a1c89993817e")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[68300],{98480:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events/ege-start/registration",function(){return r(66734)}])},50924:function(e,t,r){"use strict";r.d(t,{x:function(){return p}});var s=r(5632),n=r(43672),u=r(34240),a=r(88969),i=r(43574),l=r(2784),o=r(62169),f=r(91283),d=r(83061),c=r(36958),g=r(54148),y=r(93755),v=r(46219),h=r(60686);let p=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],p=(0,s.useRouter)(),b=(0,n.I0)(),_=(0,n.v9)(u.um.isAuth),E=(0,n.v9)(a.Qt.loading),w=(0,n.v9)(i.LD.loading),m=(0,n.v9)(i.LD.redirectUrl),[k,N]=(0,l.useState)(""),[I,P]=(0,l.useState)(!1),S=(0,l.useRef)(!1),T=(0,l.useCallback)(()=>{S.current||(2186===e&&(0,g.K)({targets:[y.v7.ym,y.v7.ur],eventName:y.Eg.profMarathonRegistered,section:y.BX.registrationButtonProfMarathon}),S.current=!0)},[e]);(0,l.useEffect)(()=>{if(!_){let e=r?{}:{short:"true"};N((0,d.Nv)("/auth",{set:{...p.query,...e,scenario:t,[c.X.redirect]:(0,d.en)(p.asPath).url}})),P(!0)}},[_,p.asPath,p.query,t,r]),(0,l.useEffect)(()=>{_&&E===o.s.idle&&null!==e&&b(a.fn.register({data:{id:e,visit:(0,v.sk)(h.W9)}}))},[b,e,_,E]);let D=(0,l.useMemo)(()=>E===o.s.fulfilled||E===o.s.rejected,[E]);(0,l.useEffect)(()=>{if(!D&&null!==e)return;T();let r={...JSON.parse(localStorage.getItem("userTags")||"{}")};m?N(m):b(i.O$.start({data:{scenario:t,messengerType:f.o.vk,userTags:{...r},payload:{}}}))},[e,m,b,D,t,T]);let X=(0,l.useMemo)(()=>w===o.s.fulfilled||w===o.s.rejected,[w]);(0,l.useEffect)(()=>{X&&m&&(r?N(m):N((0,d.Nv)("/my/profile/setup",{set:{...p.query,[c.X.redirect]:m,scenario:t}})),P(!0))},[X,r,p.query,t,m]),(0,l.useEffect)(()=>{I&&(window.location.href=k)},[k,I])}},66734:function(e,t,r){"use strict";r.r(t);var s=r(42301),n=r(84396),u=r(50924),a=r(54148),i=r(93755),l=r(2784),o=r(49797);let f=()=>((0,l.useEffect)(()=>{(0,a.K)({targets:[i.v7.ym,i.v7.ur],eventName:i.Eg.egeStartRegistrationClick,section:i.BX.egeStart})},[]),(0,u.x)(1940,s.mz.egeStart),null);f.getInitialProps=o.Y.getInitialPageProps(e=>async()=>{e.dispatch(n.ky.toggleLayout(!1))}),t.default=f}},function(e){e.O(0,[92888,49774,40179],function(){return e(e.s=98480)}),_N_E=e.O()}]);
2//# sourceMappingURL=registration-1c9abaf5cebb0eea.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.