import{r as s,j as e}from"./vendor-react-AXa6hZO5.js";import{d as o,q as r}from"./index-D35RxkWr.js";import"./vendor-infra-DayZK7Ds.js";import"./vendor-zod-1gcJXWab.js";import"./c6eedc03a-C8LSdtro.js";import"./vendor-intl-BdADXLLt.js";import"./vendor-lodash-D-zrMTUO.js";import"./vendor-zustand-CcZsBpBq.js";import"./vendor-icons-DsiQAprm.js";import"./vendor-motion-DGh7M6mr.js";import"./vendor-radix-jAWPQP1f.js";import"./vendor-router-B4CxQ1po.js";import"./vendor-query-B8PP3rYl.js";import"./vendor-growthbook-XJcBFzji.js";import"./c365fd3fe-Dmpsm876.js";import"./c70a3d12b-BI7Bbafv.js";import"./vendor-luxon-Y8l99kBI.js";import"./tree-sitter-BFuuT2ac.js";const i=s.memo(({enabled:i,onDismiss:n})=>{const a=s.useRef(!1),{dismiss:d}=o(),t=s.useCallback(()=>{d("claude_code_install_nudge"),n()},[d,n]);return i?e.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}=o(),t=s.useCallback(()=>{d("claude_code_install_nudge"),n()},[d,n]);return i?e.jsx(r,{trigger:"file_upload",onDismiss:t,hasTrackedDisplayRef:a,fallback:null}):null});n.displayName="ClaudeCodeFileUploadChatBanner";export{n as ClaudeCodeFileUploadChatBanner,i as ClaudeCodeInstallChatBanner};
