import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{Ah as t,Bh as n,Dvt as r,Gm as i,Jpt as a,Km as o,Mvt as s,O_t as c,P_t as l,QU as u,Rft as d,Rut as f,Vft as p,ZU as m,fh as h,kh as g,nT as _,npt as v,ph as y,tT as b,zh as x,zut as S}from"./app-initial-BHB6SClA.js";import{n as C,t as w}from"./thread-scroll-layout-BywaziyM.js";import{n as T,r as E}from"./use-hotkey-window-detail-layout-BFpX_mZR.js";function D(){let e=(0,k.c)(7),t=l(u),n=O,r;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r={title:(0,A.jsx)(`span`,{className:`max-w-full truncate`,children:(0,A.jsx)(p,{id:`threadPage.newThread`,defaultMessage:`New chat`,description:`Header title for the home page`})}),mainWindowPath:`/`,canCollapseToHome:!1},e[0]=r):r=e[0],E(r);let a;e[1]===t?a=e[2]:(a=(0,A.jsx)(b,{children:(0,A.jsx)(x,{selectedProject:t,showWorkspaceDropdownInUtilityBar:!1,onLocalConversationCreated:n})}),e[1]=t,e[2]=a);let o;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,A.jsx)(`div`,{"aria-hidden":`true`,children:(0,A.jsx)(g,{className:`h-12 w-12 text-token-foreground/20`})}),e[3]=o):o=e[3];let s;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,A.jsx)(`div`,{className:`flex h-full items-center justify-center px-panel`,children:(0,A.jsxs)(`div`,{className:`flex flex-col items-center gap-3 text-center`,children:[o,(0,A.jsxs)(`div`,{className:`flex flex-col items-center gap-1`,children:[(0,A.jsx)(`div`,{className:`heading-xl mt-2 font-normal text-token-foreground select-none`,children:(0,A.jsx)(p,{id:`home.hero.letsBuild`,defaultMessage:`Let’s build`,description:`Label above the workspace name on the electron home page`})}),(0,A.jsx)(i,{variant:`hero`})]})]})}),e[4]=s):s=e[4];let c;return e[5]===a?c=e[6]:(c=(0,A.jsx)(h,{className:`h-full [--padding-panel:calc(var(--padding-panel-base)/2)]`,children:(0,A.jsx)(w,{footer:a,children:s})}),e[5]=a,e[6]=c),c}function O(e){f.hotkeyWindowHotkeys?.open({path:a(e)})}var k,A;e((()=>{k=s(),c(),v(),d(),n(),_(),o(),t(),S(),m(),y(),C(),T(),A=r()}))();export{D as HotkeyWindowNewThreadPage};
//# sourceMappingURL=hotkey-window-new-thread-page-CeglX4iZ.js.map