PageSourceSearch

https://www.todoist.com/_astro/cta.astro_astro_type_script_index_0_lang.CvjfRp5H.js

js todoist.com collected 2026-10-01 06:55:53 UTC 1,722 bytes, 1 lines download raw bytes

1import{n as e,t}from"./user-context-store.DNuiPv7P.js";import{t as n}from"./effect.BHTRLJaV.js";import{n as r,r as i}from"./pricing-store.DVXdUI7X.js";import{n as a,r as o}from"./cta-urls.Bpo92lhe.js";function s(e,t){let n={textUpgradePro:e.dataset.textUpgradePro||``,textUpgradeTeam:e.dataset.textUpgradeTeam||``,textManageSubscription:e.dataset.textManageSubscription||``,textAddTeamFree:e.dataset.textAddTeamFree||``};e.href=t.href;let r=e.querySelector(`.button__text`);r?r.textContent=n[t.textKey]:e.textContent=n[t.textKey]}function c(e){if(e.businessWorkspaceAdmin||e.businessWorkspaceMember)return null;let t=e.isPro||e.isProLegacy;return(e.isFree||t)&&e.starterWorkspace?{href:o({workspaceId:e.starterWorkspace.id}),textKey:`textUpgradeTeam`}:e.isFree&&e.noWorkspace?{href:a(),textKey:`textUpgradePro`}:null}function l(e,t){e.querySelectorAll(`[data-show]`).forEach(e=>{let n=e.dataset.show?.split(` `)??[];e.style.display=n.includes(t)?``:`none`})}var u;function d(){u?.();let a=document.querySelector(`[data-prefooter-cta]`);if(!a)return;let o=a.querySelector(`[data-cta-button]`);if(!o)return;let d=e=>{let t=document.querySelector(`[data-target="main-footer"]`);if(!t)return;let n=e===`red`?`var(--composition-background-red)`:`var(--composition-background-neutral)`;t.style.backgroundColor=n;let r=t.querySelector(`[class*="bottomSection"]`);r&&(r.style.backgroundColor=n);let i=t.querySelector(`[class*="topSection"]`);i&&i.style.setProperty(`--hairline-color`,`var(--ui-border)`)};function f(){if(!e.get().user){l(a,`guest`),d(`red`);return}let n=c(t.get());if(!n){l(a,`minimal`),d(`neutral`);return}l(a,`authenticated`),s(o,n),d(`red`)}u=n([e,t,i,r],f)}d(),document.addEventListener(`astro:after-swap`,d);

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.