import{j as e,M as d,r as s}from"./vendor--leCAzSo.js";import{d as i}from"./ca9c256b9-7brFE8T2.js";import{v as o,H as a}from"./index-DZuQva-j.js";import"./c723dd3dd-58n3MxoB.js";import"./c57c2877c-dpgWZiV5.js";import"./cb5cdda9a-CSfiLIa6.js";import"./c51e217b4-KUwQQl_W.js";import"./tree-sitter-BFuuT2ac.js";const c={shown:"claudeai.claude_code_nudge.shown",dismissed:"claudeai.claude_code_nudge.dismissed",clicked:"claudeai.claude_code_nudge.clicked",hovered:"claudeai.claude_code_nudge.hovered"},n=({onDismiss:s,onClick:n,onVisibilityChange:t})=>{const[l]=i("claude-code-view-timestamp",null),{data:r}=o();return!l&&"Engineering"!==r?.work_function&&!r?.onboarding_topics?.includes("coding_development")?null:e.jsx(a,{actionHref:"https://www.claude.com/product/claude-code",openInNewTab:!0,imageUrl:"/images/spotlights/claude-code-nudge.svg",onDismiss:s,onClick:n,analyticsEvents:c,onVisibilityChange:t,title:e.jsx(d,{defaultMessage:"There’s another way to code",id:"WgK1Nb/hAC"}),body:e.jsx(d,{defaultMessage:"Skip the copy-paste. Let Claude run code directly.",id:"wnU9Yp6LZ3"}),actionText:e.jsx(d,{defaultMessage:"Try now",id:"d8L6MQv7gO"})})},t=s.memo(({onDismiss:d,onAction:s})=>e.jsx(n,{onDismiss:d,onClick:s}));t.displayName="ClaudeCodeNudge";export{t as ClaudeCodeNudge};
