import{j as o,r as e}from"./vendor-react-Dp9pL_Wn.js";import{m as i}from"./c2ee0272b-DPDuX889.js";import{M as s}from"./vendor-intl-D2wGIp4M.js";import{y as n,H as d}from"./index-XoaBlZfC.js";import"./vendor-ant-cds-BLsR_p72.js";import"./vendor-base-ui-N1VQ4ctE.js";import"./vendor-radix-Dv3qPI0v.js";import"./vendor-base-5_f7mmWg.js";import"./vendor-virtual-DRz8lJfQ.js";import"./vendor-zod-B8MhECV7.js";import"./vendor-zustand-BeF8W8xk.js";import"./vendor-icons-DGChWNxR.js";import"./vendor-lodash-BvMLws5K.js";import"./vendor-router-qG5OCEmI.js";import"./vendor-query-CRl6sF7K.js";import"./vendor-zod-v3-CZy0YPWu.js";import"./vendor-motion-EDlUw66k.js";import"./vendor-luxon-CZxT8ieM.js";import"./vendor-infra-DayZK7Ds.js";import"./vendor-growthbook-HDTqppl-.js";import"./c9a5287df-D_Z7ffFR.js";import"./c51e217b4-CQax1dv1.js";import"./c627fcdb6-1_bsVTpt.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"};function t({onDismiss:e,onClick:t,onVisibilityChange:a}){const[c]=i("claude-code-view-timestamp",null),{data:m}=n();return!c&&"Engineering"!==m?.work_function&&"Software Engineer"!==m?.work_function&&!m?.onboarding_topics?.includes("coding_development")?null:o.jsx(d,{actionHref:"https://www.claude.com/product/claude-code",openInNewTab:!0,imageUrl:"/images/spotlights/claude-code-nudge.svg",onDismiss:e,onClick:t,analyticsEvents:r,onVisibilityChange:a,title:o.jsx(s,{defaultMessage:"There\u2019s another way to code",id:"WgK1Nb/hAC"}),body:o.jsx(s,{defaultMessage:"Skip the copy-paste. Let Claude run code directly.",id:"wnU9Yp6LZ3"}),actionText:o.jsx(s,{defaultMessage:"Try now",id:"d8L6MQv7gO"})})}const a=e.memo(({onDismiss:e,onAction:i})=>o.jsx(t,{onDismiss:e,onClick:i}));export{a as ClaudeCodeNudge};
