import{o as e}from"./rolldown-runtime-iuO8RvI4.js";import{M as o,el as i}from"./shared-0-C4kdVF7Y.js";import{Mi as s,ki as n}from"./vendor-frame-CwiylG4Y.js";import{nn as d}from"./vendor-all-2-BJdkbLSj.js";import{X as a}from"./index-C9LAU4f-.js";var c=e(s()),t=n(),l={shown:"claudeai.claude_code_nudge.shown",dismissed:"claudeai.claude_code_nudge.dismissed",clicked:"claudeai.claude_code_nudge.clicked",hovered:"claudeai.claude_code_nudge.hovered"};function r({onDismiss:e,onClick:s,onVisibilityChange:n}){const[c]=i("claude-code-view-timestamp",null),{data:r}=o();return c||"Engineering"===r?.work_function||"Software Engineer"===r?.work_function||r?.onboarding_topics?.includes("coding_development")?(0,t.jsx)(a,{actionHref:"https://www.claude.com/product/claude-code",openInNewTab:!0,imageUrl:"/images/spotlights/claude-code-nudge.svg",onDismiss:e,onClick:s,analyticsEvents:l,onVisibilityChange:n,title:(0,t.jsx)(d,{defaultMessage:"There\u2019s another way to code",id:"WgK1Nb/hAC"}),body:(0,t.jsx)(d,{defaultMessage:"Skip the copy-paste. Let Claude run code directly.",id:"wnU9Yp6LZ3"}),actionText:(0,t.jsx)(d,{defaultMessage:"Try now",id:"d8L6MQv7gO"})}):null}var u=(0,c.memo)(({onDismiss:e,onAction:o})=>(0,t.jsx)(r,{onDismiss:e,onClick:o}));export{u as ClaudeCodeNudge};