import{j as e,r as o}from"./vendor-react-Dp9pL_Wn.js";import{i}from"./c6eedc03a-CsEFTfjy.js";import{M as s}from"./vendor-intl-D2wGIp4M.js";import{w as d,H as n}from"./index-CBEPphRm.js";import"./vendor-ant-cds-bBedrtIN.js";import"./vendor-base-ui-DNypCIlh.js";import"./vendor-radix-Ch96tRrt.js";import"./vendor-base-5_f7mmWg.js";import"./vendor-virtual-DRz8lJfQ.js";import"./vendor-zod-0xcuG3aM.js";import"./vendor-zustand-BeF8W8xk.js";import"./vendor-icons-CokWnmlw.js";import"./vendor-lodash-BvMLws5K.js";import"./vendor-router-qG5OCEmI.js";import"./vendor-query-BwvgHhJ1.js";import"./vendor-zod-v3-CZy0YPWu.js";import"./vendor-motion-EDlUw66k.js";import"./vendor-luxon-CZxT8ieM.js";import"./vendor-growthbook-C66YtMMX.js";import"./vendor-infra-DayZK7Ds.js";import"./caf7c7e06-DJYXCm3T.js";import"./c5669b8e4-DFSq88jr.js";import"./c5f4e1303-CiyIFgnl.js";import"./cbaad2c48-DaP34LG2.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:o,onClick:t,onVisibilityChange:a}){const[c]=i("claude-code-view-timestamp",null),{data:m}=d();return!c&&"Engineering"!==m?.work_function&&"Software Engineer"!==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(s,{defaultMessage:"There\u2019s another way to code",id:"WgK1Nb/hAC"}),body:e.jsx(s,{defaultMessage:"Skip the copy-paste. Let Claude run code directly.",id:"wnU9Yp6LZ3"}),actionText:e.jsx(s,{defaultMessage:"Try now",id:"d8L6MQv7gO"})})}const a=o.memo(({onDismiss:o,onAction:i})=>e.jsx(t,{onDismiss:o,onClick:i}));a.displayName="ClaudeCodeNudge";export{a as ClaudeCodeNudge};
