import{n as e}from"./rolldown-runtime-Czos8NxU.js";import{Bt as t,Tl as n,ir as r,vl as i}from"./app-initial~app-main~worktree-init-v2-page~appgen-settings-page~page~appgen-publication-ter~fzo5ij6p-BKVLyD1q.js";import{Sx as a,Xy as o,Yy as s,d as c,f as l,yx as u}from"./app-initial~app-main~new-thread-panel-page-BZHGOlMi.js";import{n as d,t as f}from"./app-initial~app-main~remote-conversation-page~new-thread-panel-page~appgen-library-page~hot~djo67r4n-DfdeaLvo.js";import{n as p,t as m}from"./app-initial~app-main~projects-index-page~hotkey-window-new-thread-page~hotkey-window-home-p~hswrsggc-CuonB0cN.js";import{a as h,i as g}from"./app-initial~app-main~remote-conversation-page~appgen-library-page~local-conversation-page-CfMUdpO1.js";import{n as _,r as v}from"./use-hotkey-window-detail-layout-DU_YwjmY.js";import{n as y,t as b}from"./thread-scroll-layout-BKJSuAGA.js";function x(){let e=(0,C.c)(4),t=S,n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={title:(0,w.jsx)(`span`,{className:`max-w-full truncate`,children:(0,w.jsx)(a,{id:`threadPage.newThread`,defaultMessage:`New chat`,description:`Header title for the home page`})}),mainWindowPath:`/`,canCollapseToHome:!1},e[0]=n):n=e[0],v(n);let r;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,w.jsx)(f,{showWorkspaceDropdownInFooter:!1,onLocalConversationCreated:t}),e[1]=r):r=e[1];let i;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`div`,{"aria-hidden":`true`,children:(0,w.jsx)(c,{className:`h-12 w-12 text-token-foreground/20`})}),e[2]=i):i=e[2];let o;return e[3]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,w.jsx)(g,{className:`h-full [--padding-panel:calc(var(--padding-panel-base)/2)]`,children:(0,w.jsx)(b,{footer:r,children:(0,w.jsx)(`div`,{className:`flex h-full items-center justify-center px-panel`,children:(0,w.jsxs)(`div`,{className:`flex flex-col items-center gap-3 text-center`,children:[i,(0,w.jsxs)(`div`,{className:`flex flex-col items-center gap-1`,children:[(0,w.jsx)(`div`,{className:`heading-xl mt-2 font-normal text-token-foreground select-none`,children:(0,w.jsx)(a,{id:`home.hero.letsBuild`,defaultMessage:`Let’s build`,description:`Label above the workspace name on the electron home page`})}),(0,w.jsx)(m,{variant:`hero`})]})]})})})}),e[3]=o):o=e[3],o}function S(e){s.hotkeyWindowHotkeys?.open({path:r(e)})}var C,w;e((()=>{C=n(),t(),u(),d(),p(),l(),o(),h(),y(),_(),w=i()}))();export{x as HotkeyWindowNewThreadPage};
//# sourceMappingURL=hotkey-window-new-thread-page-DD740iZ_.js.map