import{j as e,r as o}from"./vendor-react-AXa6hZO5.js";import{c as i}from"./cec18ad9a-DiLjrOUd.js";import{M as d}from"./vendor-intl-BdADXLLt.js";import{w as s,H as n}from"./index-C_tZnXTW.js";import"./vendor-radix-glKlawmm.js";import"./vendor-zod-CMvj0_Fd.js";import"./vendor-zustand-CcZsBpBq.js";import"./vendor-icons-Dy3Nea9p.js";import"./vendor-lodash-BKAXkXVe.js";import"./vendor-motion-0BJMgYoH.js";import"./vendor-infra-CFC-WJ8N.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 r={shown:"claudeai.claude_code_nudge.shown",dismissed:"claudeai.claude_code_nudge.dismissed",clicked:"claudeai.claude_code_nudge.clicked",hovered:"claudeai.claude_code_nudge.hovered"},t=({onDismiss:o,onClick:t,onVisibilityChange:a})=>{const[c]=i("claude-code-view-timestamp",null),{data:m}=s();return!c&&"Engineering"!==m?.work_function&&!m?.onboarding_topics?.includes("coding_development")?null:e.jsx(n,{actionHref:"https://www.claude.com/product/claude-code",openInNewTab:!0,imageUrl:"/images/spotlights/claude-code-nudge.svg",onDismiss:o,onClick:t,analyticsEvents:r,onVisibilityChange:a,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"})})},a=o.memo(({onDismiss:o,onAction:i})=>e.jsx(t,{onDismiss:o,onClick:i}));a.displayName="ClaudeCodeNudge";export{a as ClaudeCodeNudge};
