import{L as e,at as t,h as n}from"./vscode-api-DjORcpSo.js";import{t as r}from"./persisted-signal-CweW-bgN.js";import{d as i}from"./thread-context-inputs-C9hcxtXy.js";import{t as a}from"./persisted-atom-D9Fx3rWR.js";import{v as o}from"./app-shell-state-Dskh7Hih.js";var s=`last_completed_onboarding`,c=`electron:onboarding-projectless-completed`,l=`welcomeV2Onboarding`,u=a(`electron:onboarding-override`,`auto`),d=a(`electron:onboarding-welcome-pending`,!1),f=a(c,!1),p=r(c,!1),m=e(n,({get:e})=>{let t=e(p),n=e(i);return C({projectlessOnboardingCompleted:t,workspaceRootsCount:n.data?.roots.length??0,workspaceRootsIsLoading:n.data==null&&n.isLoading})}),h=a(`electron:onboarding-hide-first-new-thread-promos`,!1),g=a(`electron:onboarding-plugin-checklist-active`,!1),_=a(`electron:onboarding-force-home-tiles-visible`,!1),v=a(s,null),y=t(e=>e(v),(e,t,n)=>{n!=null&&o(),t(v,n)}),b=a(`electron:onboarding-primary-runtime-install-requested`,!1),x=a(`electron:onboarding-primary-runtime-install-ready`,!1);function S({hideFirstNewThreadOnboardingPromos:e,pathname:t}){return e&&t===`/`}function C({projectlessOnboardingCompleted:e,workspaceRootsCount:t,workspaceRootsIsLoading:n}){return e==null?null:e?!0:n?null:t>0}var w=new Date(2026,3,30).getTime();function T(e){return e==null||e*1e3<w}var E=a(`electron:onboarding-workspace-experiment-assignment`,null),D=a(`electron:onboarding-workspace-autolaunch-applied`,!1),O=a(`electron:onboarding-welcome-v2-role-state`,{roles:[],personalizedSuggestionsEnabled:!0,workMode:null});export{s as _,u as a,x as c,O as d,D as f,T as g,S as h,y as i,b as l,m,_ as n,g as o,E as p,h as r,d as s,l as t,f as u,c as v};
//# sourceMappingURL=onboarding-state-D2goG-J8.js.map