import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{O as t,un as n,x as r,zt as i}from"./app-initial~avatarOverlayCompositionSurface~index-9fQ9wihu~index-BFCcxPM5~mapbox-gl-DVWlwqb~kppdhley-CabsBVhy.js";import{An as a,w as o}from"./app-initial~avatarOverlayCompositionSurface~artifact-tab-content.electron~notebook-preview-~ngwudnyz-D_QFwR2V.js";import{d as s,o as c}from"./app-initial~avatarOverlayCompositionSurface~artifact-tab-content.electron~notebook-preview-~dejrazf4-CyNQP50P.js";import{a as l,i as u}from"./app-initial~avatarOverlayCompositionSurface~artifact-tab-content.electron~notebook-preview-~l16cgjx9-XwSLyHyz.js";import{L as d,n as f,t as p,z as m}from"./app-initial~app-main~settings-command-menu-section-items~new-thread-panel-page~settings-pag~unq8yzli-pVHhhx3f.js";import{At as h,Mt as g,n as _,r as v}from"./app-initial~app-main~new-thread-panel-page~appgen-library-page~hotkey-window-thread-page~ho~jhj9i1pn-DYvgMXVG.js";import{c as y,l as b,s as x,u as S}from"./app-initial~app-main~onboarding-page~hotkey-window-new-thread-page~hotkey-window-home-page~~or65j7iw-9LoIzfHZ.js";import{n as C,t as w}from"./thread-scroll-layout-CWwL-MtR.js";import{n as T,r as E}from"./use-hotkey-window-detail-layout-BIfbOsY8.js";function D(){let e=(0,k.c)(7),n=t(m),r=O,i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={title:(0,A.jsx)(`span`,{className:`max-w-full truncate`,children:(0,A.jsx)(s,{id:`threadPage.newThread`,defaultMessage:`New chat`,description:`Header title for the home page`})}),mainWindowPath:`/`,canCollapseToHome:!1},e[0]=i):i=e[0],E(i);let a;e[1]===n?a=e[2]:(a=(0,A.jsx)(h,{children:(0,A.jsx)(p,{selectedProject:n,showWorkspaceDropdownInUtilityBar:!1,onLocalConversationCreated:r})}),e[1]=n,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)(b,{className:`h-12 w-12 text-token-foreground/20`})}),e[3]=o):o=e[3];let c;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(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)(s,{id:`home.hero.letsBuild`,defaultMessage:`Let’s build`,description:`Label above the workspace name on the electron home page`})}),(0,A.jsx)(x,{variant:`hero`})]})]})}),e[4]=c):c=e[4];let l;return e[5]===a?l=e[6]:(l=(0,A.jsx)(_,{className:`h-full [--padding-panel:calc(var(--padding-panel-base)/2)]`,children:(0,A.jsx)(w,{footer:a,children:c})}),e[5]=a,e[6]=l),l}function O(e){u.hotkeyWindowHotkeys?.open({path:a(e)})}var k,A;e((()=>{k=n(),r(),o(),c(),f(),g(),y(),S(),l(),d(),v(),C(),T(),A=i()}))();export{D as HotkeyWindowNewThreadPage};
//# sourceMappingURL=hotkey-window-new-thread-page-6AgePTK3.js.map