PageSourceSearch

https://www.diffchecker.com/_next/static/chunks/pages/sso-success-01391de968698f99.js

js diffchecker.com collected 2026-09-24 15:21:04 UTC 2,892 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ce581944-5c78-4b48-908a-121cfaa48cb2",e._sentryDebugIdIdentifier="sentry-dbid-ce581944-5c78-4b48-908a-121cfaa48cb2")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2503],{10416:(e,t,r)=>{"use strict";function n(e){return Array.isArray(e)?e[0]:e}r.d(t,{A:()=>n})},53149:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/sso-success",function(){return r(68027)}])},68027:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var n=r(55729),i=r(81278),s=r(78045),u=r(10416),a=r(96849),o=r(77548),l=r(13706),c=r(1675),f=r(73876),g=r(90570);let d=()=>{let e=(0,i.useRouter)(),t=(0,g.jL)();return(0,n.useEffect)(()=>{(async()=>{(e=>{let t=(0,u.A)(e.id);if(!t)return;let r=(0,u.A)(e.signup);if(!r||"true"!==r&&"false"!==r)return;let n=(0,u.A)(e.flow);if(!n||"login"!==n&&"signup"!==n)return;let i=(0,u.A)(e.kind);if(!i||"apple"!==i&&"google"!==i)return;let s=(0,u.A)(e.chartMogulUUID);l.A.setUserId(Number(t)),s&&l.A.setUserProperties({ChartMogulProfile:`https://app.chartmogul.com/#/customers/${s}`}),l.A.trackEvent("true"===r?"Signed up":"Logged in",{kind:i,sso:!0,id:t,flow:n})})(e.query),await t((0,f.uT)());let r=(0,o.A)((0,u.A)(e.query.next)),{onboarding:n}=await t((0,c.me)()).unwrap(),i="true"===e.query.signup,g=(0,u.A)(e.query.locale),d=a.dI.includes(g)?g:"en";if(i&&n){let e=(0,s.uE)(r,d);if(e){window.location.href=e;return}}let p=r||"/",h=(0,a.qG)(p,d),y=h;i&&n&&"/"===p&&(y=`${h}?signup=true`),window.location.href=y})()},[e,t]),null}},77548:(e,t,r)=>{"use strict";function n(e){if(!e?.startsWith("/")||e.startsWith("//")||e.startsWith("/\\"))return;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<=31||127===r)return}let t=e.split(/[?#]/,1)[0];if(!/%2f|%5c/i.test(t))return e}r.d(t,{A:()=>n})},78045:(e,t,r)=>{"use strict";r.d(t,{Hk:()=>a,c6:()=>u,ho:()=>l,uE:()=>o});var n=r(81278),i=r(96849),s=r(90570);let u=(e,t)=>{let r=new URLSearchParams,n=t.query.fingerprint,i=t.query.machineName;"string"==typeof n&&r.set("fingerprint",n),"string"==typeof i&&r.set("machineName",i);let s=r.toString();return`${e}${s?`?${s}`:""}`},a=e=>"string"==typeof e.query.fingerprint,o=(e,t="en")=>{if(!e?.includes("/desktop-browser-login/"))return null;try{let r=new URL(e,window.location.origin),n=r.searchParams.get("fingerprint"),s=r.searchParams.get("machineName");if(!n)return null;let u=new URLSearchParams;return u.set("fingerprint",n),s&&u.set("machineName",s),`${(0,i.qG)("/onboarding/1",t)}?${u.toString()}`}catch{return null}},l=()=>{let e=(0,n.useRouter)(),t=(0,s.GV)(e=>e.user.user);return e.isReady?"string"==typeof e.query.fingerprint&&t?"authorized":"not-found":"loading"}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=53149)),_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.