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]="b6f76980-22fa-434d-a17e-3008aedeef92",e._sentryDebugIdIdentifier="sentry-dbid-b6f76980-22fa-434d-a17e-3008aedeef92")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[18920],{6474:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events/prof-marathon/registration",function(){return n(75220)}])},50924:function(e,t,n){"use strict";n.d(t,{x:function(){return _}});var r=n(5632),s=n(43672),u=n(34240),a=n(88969),i=n(43574),o=n(2784),f=n(62169),l=n(91283),d=n(83061),c=n(36958),g=n(54148),y=n(93755),h=n(46219),p=n(60686);let _=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],_=(0,r.useRouter)(),v=(0,s.I0)(),b=(0,s.v9)(u.um.isAuth),w=(0,s.v9)(a.Qt.loading),E=(0,s.v9)(i.LD.loading),m=(0,s.v9)(i.LD.redirectUrl),[k,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(!b){let e=n?{}:{short:"true"};I((0,d.Nv)("/auth",{set:{..._.query,...e,scenario:t,[c.X.redirect]:(0,d.en)(_.asPath).url}})),P(!0)}},[b,_.asPath,_.query,t,n]),(0,o.useEffect)(()=>{b&&w===f.s.idle&&null!==e&&v(a.fn.register({data:{id:e,visit:(0,h.sk)(p.W9)}}))},[v,e,b,w]);let M=(0,o.useMemo)(()=>w===f.s.fulfilled||w===f.s.rejected,[w]);(0,o.useEffect)(()=>{if(!M&&null!==e)return;D();let n={...JSON.parse(localStorage.getItem("userTags")||"{}")};m?I(m):v(i.O$.start({data:{scenario:t,messengerType:l.o.vk,userTags:{...n},payload:{}}}))},[e,m,v,M,t,D]);let X=(0,o.useMemo)(()=>E===f.s.fulfilled||E===f.s.rejected,[E]);(0,o.useEffect)(()=>{X&&m&&(n?I(m):I((0,d.Nv)("/my/profile/setup",{set:{..._.query,[c.X.redirect]:m,scenario:t}})),P(!0))},[X,n,_.query,t,m]),(0,o.useEffect)(()=>{N&&(window.location.href=k)},[k,N])}},50305:function(e,t,n){"use strict";n.d(t,{x:function(){return s},z:function(){return r}});let r=13506,s="/"},75220:function(e,t,n){"use strict";n.r(t);var r=n(42301),s=n(50924),u=n(84396),a=n(49797),i=n(50305);let o=()=>((0,s.x)(i.z,r.mz.proforientationMarathon),null);o.getInitialProps=a.Y.getInitialPageProps(e=>async()=>{e.dispatch(u.ky.toggleLayout(!1))}),t.default=o}},function(e){e.O(0,[92888,49774,40179],function(){return e(e.s=6474)}),_N_E=e.O()}]); 2//# sourceMappingURL=registration-be95bdac3800cd0d.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.