import{r as s,j as e}from"./vendor--leCAzSo.js";import{d as a,o as l}from"./index-DZuQva-j.js";import"./c723dd3dd-58n3MxoB.js";import"./ca9c256b9-7brFE8T2.js";import"./c57c2877c-dpgWZiV5.js";import"./cb5cdda9a-CSfiLIa6.js";import"./c51e217b4-KUwQQl_W.js";import"./tree-sitter-BFuuT2ac.js";const i=s.memo(({enabled:i,onDismiss:d})=>{const o=s.useRef(!1),{dismiss:n}=a(),r=s.useCallback(()=>{n("claude_code_install_nudge"),d()},[n,d]);return i?e.jsx(l,{trigger:"code_block",onDismiss:r,hasTrackedDisplayRef:o,fallback:null}):null});i.displayName="ClaudeCodeInstallChatBanner";const d=s.memo(({enabled:i,onDismiss:d})=>{const o=s.useRef(!1),{dismiss:n}=a(),r=s.useCallback(()=>{n("claude_code_install_nudge"),d()},[n,d]);return i?e.jsx(l,{trigger:"file_upload",onDismiss:r,hasTrackedDisplayRef:o,fallback:null}):null});d.displayName="ClaudeCodeFileUploadChatBanner";export{d as ClaudeCodeFileUploadChatBanner,i as ClaudeCodeInstallChatBanner};
