import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{Rc as t,il as n,ll as r,tl as i,w as a}from"./app-initial~avatarOverlayCompositionSurface~artifact-tab-content.electron~notebook-preview-~ngwudnyz-D_QFwR2V.js";import{l as o}from"./app-initial~artifact-tab-content.electron~notebook-preview-panel~app-main~settings-command-~ktg7n5fh-BOWIP6mG.js";import{m as s}from"./app-initial~app-main~business-checkout-switch-workspace-dialog~settings-page~login-route~co~0rxi42yi-DbNHXhqQ.js";function c(e){return e.stage===`beta`?e.name!==`memories`&&e.name!==`multi_agent`&&e.name!==`plugins`&&e.name!==`plugin`&&e.name!==`remote_control`&&!e.name.startsWith(`realtime_`)&&e.name!==`chronicle`&&e.name!==`workspace_dependencies`:!1}var l=e((()=>{a(),o(),s()}));function u(e){let t=f.safeParse(e);return t.success&&t.data.returnToPreviousHistoryEntry===!0}function d(e){let t=f.safeParse(e);return!t.success||!Object.hasOwn(t.data,`workspaceRoot`)?{hasValue:!1,workspaceRoot:null}:{hasValue:!0,workspaceRoot:t.data.workspaceRoot??null}}var f,p=e((()=>{t(),f=n({returnToPreviousHistoryEntry:i(!0).optional(),workspaceRoot:r().min(1).nullable().optional()}).passthrough()}));export{c as a,l as i,d as n,p as r,u as t};
//# sourceMappingURL=settings-route-state-BtPsWPDu.js.map