PageSourceSearch

https://tickertape.football/assets/firstMinuteOnboarding-DzPAx8f8.js

js tickertape.football collected 2026-10-02 01:54:18 UTC 2,329 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`39a90ee50529071c06a2b35e448ee7a4d9a7e3d8`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`5c065ae8-b14e-4ec0-94b3-34700f338c9d`,e._sentryDebugIdIdentifier=`sentry-dbid-5c065ae8-b14e-4ec0-94b3-34700f338c9d`)}catch{}})();import{n as e}from"./client-XACwRCO8.js";import{a as t}from"./observability-Yx9OKGG8.js";import{o as n}from"./useAuth-CCAJDx4e.js";import{t as r}from"./safeRedirectPath-P8glsjMR.js";var i=`/demo/auction?view=board&onboarding=first-minute`,a=`/demo/snake?onboarding=first-minute`,o=`/welcome`;function s(e){return e===`snake`?a:i}var c=new Set([`/draft`,`/draft/mobile-companion`,`/coach`,`/billing/success`,`/billing/cancel`,n]);function l(e){return e?.first_minute_onboarding_pending===!0&&typeof e.onboarding_completed_at!=`string`&&e.onboarding_skipped!==!0}function u(e,t){if(!l(e))return!1;if(t===null)return!0;let n=r(t,`/home`).split(/[?#]/,1)[0];return!c.has(n)}function d(e){if(e!==null)return{postFirstMinuteRedirect:r(e,`/home`)}}function f(e){if(!e||typeof e!=`object`)return null;let t=e.postFirstMinuteRedirect;return typeof t==`string`?r(t,`/home`):null}function p(e){return l(e)&&e?.first_minute_explainer_seen!==!0}function m(e){return l(e)&&e?.first_minute_explainer_seen===!0}async function h(n,r){try{let{error:i}=await e.auth.updateUser({data:n});i&&t(i,{op:r})}catch(e){t(e,{op:`${r}.catch`})}}async function g(e){await h({first_minute_explainer_seen:!0,onboarding_platform:e.platform,onboarding_format:e.format},`FirstMinuteOnboarding.preferences`)}async function _({userId:n,skipped:r,preferences:i,now:a=()=>new Date}){let o=a().toISOString();await Promise.all([h({first_minute_onboarding_pending:!1,onboarding_completed_at:o,onboarding_skipped:r,...i?{onboarding_platform:i.platform,onboarding_format:i.format}:{}},`FirstMinuteOnboarding.complete`),(async()=>{try{let{error:r}=await e.from(`profiles`).update({setup_completed_at:o}).eq(`id`,n).is(`setup_completed_at`,null);r&&t(r,{op:`FirstMinuteOnboarding.profileComplete`,userId:n})}catch(e){t(e,{op:`FirstMinuteOnboarding.profileComplete.catch`,userId:n})}})()])}export{f as a,m as c,d as i,p as l,_ as n,g as o,s as r,u as s,o as t};

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.