import{r as s,j as o}from"./vendor-react-AXa6hZO5.js";import{d as e,m as r}from"./index-C_tZnXTW.js";import"./vendor-infra-CFC-WJ8N.js";import"./vendor-zod-CMvj0_Fd.js";import"./cec18ad9a-DiLjrOUd.js";import"./vendor-radix-glKlawmm.js";import"./vendor-intl-BdADXLLt.js";import"./vendor-zustand-CcZsBpBq.js";import"./vendor-icons-Dy3Nea9p.js";import"./vendor-lodash-BKAXkXVe.js";import"./vendor-motion-0BJMgYoH.js";import"./vendor-router-BSYVf8By.js";import"./vendor-query-D7SPXjZv.js";import"./vendor-growthbook-XJcBFzji.js";import"./cdd5b9598-juLasKsB.js";import"./c2591c98b-9UrrTnB9.js";import"./vendor-luxon-D0OkDiyb.js";import"./c51f8bc6d-BS9P5nN1.js";import"./tree-sitter-BFuuT2ac.js";const i=s.memo(({enabled:i,onDismiss:n})=>{const a=s.useRef(!1),{dismiss:d}=e(),t=s.useCallback(()=>{d("claude_code_install_nudge"),n()},[d,n]);return i?o.jsx(r,{trigger:"code_block",onDismiss:t,hasTrackedDisplayRef:a,fallback:null}):null});i.displayName="ClaudeCodeInstallChatBanner";const n=s.memo(({enabled:i,onDismiss:n})=>{const a=s.useRef(!1),{dismiss:d}=e(),t=s.useCallback(()=>{d("claude_code_install_nudge"),n()},[d,n]);return i?o.jsx(r,{trigger:"file_upload",onDismiss:t,hasTrackedDisplayRef:a,fallback:null}):null});n.displayName="ClaudeCodeFileUploadChatBanner";export{n as ClaudeCodeFileUploadChatBanner,i as ClaudeCodeInstallChatBanner};
