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