const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/PiSessionRenderedView-BZrUpGKF.js","assets/rolldown-runtime-B1FJdls4.js","assets/index-Dzmo3iV3.js","assets/preload-helper-Bf_JiD2A.js","assets/axisEvents-Dhd0R1o7.js","assets/issueStore-B3ra7txM.js","assets/vendor-dnd-C1cICjTT.js","assets/vendor-zustand-XkaRs3NT.js","assets/browserWindowFocus-CmAEq05h.js","assets/sessionStore-DVOX7Q2x.js","assets/queryKeys-CqjQpLLd.js","assets/api-DwzfFfgX.js","assets/vendor-misc-D1uXP2P6.js","assets/vendor-markdown-Db1-9wH7.js","assets/serverStorage-7ZBX37kd.js","assets/posthog-B2WbfR0W.js","assets/projectPaths-CJsPUl9Q.js","assets/terminalPreloader-Cdc78bb2.js","assets/vendor-react-RfPYMgDE.js","assets/index-DH5fKre3.css","assets/renderedSessionAgents-CMu6-w-y.js","assets/RenderedMessageComponents-yQjrALOY.js","assets/ZoomablePane-Be18Awlh.js","assets/AppModalPortal-O-6bWtu3.js","assets/useTheme-BsxOnABi.js","assets/debugLog-Bpx6IrJw.js","assets/terminalPersistedTabs-DSLsAslX.js","assets/terminalPaneKinds-B6v9A_SZ.js","assets/vendor-xterm-BC7jA3xw.js","assets/vendor-xterm-CHOd7Rch.css","assets/ArtifactPane-5jDBFOWV.js","assets/RenderedTurnTranscript-pNU6vfTW.js","assets/model-options-U2TZQVoU.js","assets/useSessionMessages-CABX2U-R.js","assets/deriveSessionChrome-4J3GRvX8.js","assets/session-xKEw0yA7.js","assets/renderedTurnActivityStore-CUeA2DrO.js"])))=>i.map(i=>d[i]);
import{i as e}from"./rolldown-runtime-B1FJdls4.js";import{m as t}from"./vendor-dnd-C1cICjTT.js";import{s as n}from"./vendor-markdown-Db1-9wH7.js";import{t as r}from"./preload-helper-Bf_JiD2A.js";import{t as i}from"./deriveSessionChrome-4J3GRvX8.js";import{i as a,t as o}from"./model-options-U2TZQVoU.js";import"./session-xKEw0yA7.js";var s=e(t(),1),c=n();function l(){let e=i({isFreshLaunch:!0});return(0,c.jsxs)(`div`,{className:`relative flex h-full min-h-0 w-full flex-col overflow-hidden bg-terminal-bg text-terminal-text`,"data-testid":`pi-rendered-draft-shell`,children:[(0,c.jsx)(`div`,{className:`h-full w-full overflow-hidden px-4 pt-16 md:px-3 md:pt-3 xl:px-4 xl:pt-4`,"data-testid":`pi-rendered-chat-canvas`,children:(0,c.jsxs)(`div`,{className:`mx-auto flex min-h-full max-w-4xl flex-col items-center justify-center gap-2 px-6 pb-52 text-center font-mono text-xs text-terminal-muted`,children:[(0,c.jsx)(`span`,{className:`text-terminal-cyan`,children:e.headline}),(0,c.jsx)(`span`,{children:e.detail})]})}),(0,c.jsx)(`div`,{className:`pointer-events-none absolute inset-x-0 bottom-0 z-20 bg-gradient-to-t from-terminal-bg via-terminal-bg/95 to-transparent px-3 pb-3 pt-10 xl:px-4`,"data-testid":`pi-rendered-composer-overlay`,children:(0,c.jsxs)(`div`,{className:`mx-auto w-full max-w-4xl`,children:[(0,c.jsxs)(`div`,{className:`mx-auto hidden min-h-[112px] max-w-3xl flex-col overflow-hidden rounded-[28px] border border-terminal-border/70 bg-terminal-surface/35 shadow-xl shadow-black/20 xl:flex [@media(any-pointer:coarse)]:hidden`,"data-testid":`pi-rendered-draft-composer`,"aria-hidden":`true`,children:[(0,c.jsx)(`div`,{className:`min-h-[56px] flex-1 bg-terminal-surface px-4 pt-4`}),(0,c.jsxs)(`div`,{className:`flex shrink-0 items-center justify-between gap-3 bg-terminal-surface px-3 pb-3 pt-1`,children:[(0,c.jsx)(`div`,{className:`grid h-10 w-10 shrink-0 place-items-center rounded-full text-2xl font-light leading-none text-terminal-text`,children:`+`}),(0,c.jsxs)(`div`,{className:`flex min-w-0 items-center justify-end gap-1`,children:[(0,c.jsxs)(`div`,{className:`flex h-10 items-center gap-1.5 rounded-xl px-2.5 text-sm text-terminal-muted`,children:[(0,c.jsx)(`span`,{children:a(o.model)}),(0,c.jsx)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,c.jsx)(`polyline`,{points:`6 9 12 15 18 9`})})]}),(0,c.jsx)(`div`,{className:`grid h-10 w-10 shrink-0 place-items-center rounded-full text-terminal-text`,children:(0,c.jsxs)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,c.jsx)(`rect`,{x:`9`,y:`2`,width:`6`,height:`12`,rx:`3`}),(0,c.jsx)(`path`,{d:`M5 10v2a7 7 0 0 0 14 0v-2`}),(0,c.jsx)(`path`,{d:`M12 19v3`})]})}),(0,c.jsx)(`div`,{className:`grid h-11 w-11 shrink-0 place-items-center rounded-full bg-terminal-cyan text-black opacity-35 shadow-md shadow-terminal-cyan/20`,children:(0,c.jsxs)(`svg`,{width:`21`,height:`21`,viewBox:`0 0 24 24`,fill:`none`,stroke:`black`,strokeWidth:`2.5`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,c.jsx)(`line`,{x1:`12`,y1:`19`,x2:`12`,y2:`5`}),(0,c.jsx)(`polyline`,{points:`5 12 12 5 19 12`})]})})]})]})]}),(0,c.jsxs)(`div`,{className:`flex min-h-[104px] flex-col overflow-hidden rounded-t-2xl border-t border-terminal-border/50 bg-terminal-surface xl:hidden [@media(any-pointer:coarse)]:flex`,"data-testid":`pi-rendered-draft-mobile-composer`,"aria-hidden":`true`,children:[(0,c.jsx)(`div`,{className:`min-h-[58px] flex-1 px-4 pt-3`}),(0,c.jsxs)(`div`,{className:`flex items-center justify-between border-t border-terminal-border/50 px-3 py-2`,children:[(0,c.jsx)(`span`,{className:`text-xl font-light`,children:`+`}),(0,c.jsx)(`div`,{className:`h-10 w-10 rounded-full bg-terminal-cyan opacity-35`})]})]})]})})]})}var u=()=>r(()=>import(`./PiSessionRenderedView-BZrUpGKF.js`).then(e=>({default:e.PiSessionRenderedView})),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36])),d=null;function f(){d||=u()}var p=s.lazy(u);function m(){return(0,c.jsx)(l,{})}export{m as n,f as r,p as t};