import{n as e}from"./rolldown-runtime-Czos8NxU.js";import{Bt as t,Tl as n,Xs as r,ir as i,lr as a,nc as o,ur as s,vl as c}from"./app-initial~app-main~worktree-init-v2-page~appgen-settings-page~page~appgen-publication-ter~fzo5ij6p-BKVLyD1q.js";import{Rs as l,Sx as u,Us as d,Xy as f,Yy as p,ec as m,yx as h}from"./app-initial~app-main~new-thread-panel-page-BZHGOlMi.js";import{c as g,l as _}from"./app-initial~app-main~automations-page-BcHjEK7e.js";import{n as v,r as y}from"./use-hotkey-window-detail-layout-DU_YwjmY.js";import{n as b,t as x}from"./worktree-init-v2-page-sNYzRRpX.js";function S(){let e=(0,w.c)(8),{pendingWorktreeId:t}=m(),{data:n}=o(g),r=n==null||n.configuredHotkey!=null,c;e[0]===r?c=e[1]:(c=s(r),e[0]=r,e[1]=c);let l=c,f;if(e[2]===t?f=e[3]:(f=t==null?null:{title:(0,T.jsx)(`span`,{className:`max-w-full truncate`,children:(0,T.jsx)(u,{id:`worktreeInitV2.title`,defaultMessage:`Creating worktree`,description:`Title for the worktree init v2 page`})}),mainWindowPath:a(t)},e[2]=t,e[3]=f),y(f),!t){let t;return e[4]===l?t=e[5]:(t=(0,T.jsx)(d,{to:l,replace:!0}),e[4]=l,e[5]=t),t}let p;return e[6]===l?p=e[7]:(p=(0,T.jsx)(x,{homePath:l,conversationPathBuilder:i,onConversationReady:C}),e[6]=l,e[7]=p),p}function C(e){p.hotkeyWindowHotkeys?.open({path:i(e)})}var w,T;e((()=>{w=n(),r(),t(),h(),l(),f(),b(),_(),v(),T=c()}))();export{S as HotkeyWindowWorktreeInitPage};
//# sourceMappingURL=hotkey-window-worktree-init-page-BM63NPCg.js.map