import{j as e,r as o}from"./vendor-react-AXa6hZO5.js";import{c as i}from"./c6eedc03a-C8LSdtro.js";import{M as d}from"./vendor-intl-BdADXLLt.js";import{z as s,H as n}from"./index-D35RxkWr.js";import"./vendor-lodash-D-zrMTUO.js";import"./vendor-zod-1gcJXWab.js";import"./vendor-zustand-CcZsBpBq.js";import"./vendor-icons-DsiQAprm.js";import"./vendor-motion-DGh7M6mr.js";import"./vendor-radix-jAWPQP1f.js";import"./vendor-infra-DayZK7Ds.js";import"./vendor-router-B4CxQ1po.js";import"./vendor-query-B8PP3rYl.js";import"./vendor-growthbook-XJcBFzji.js";import"./c365fd3fe-Dmpsm876.js";import"./c70a3d12b-BI7Bbafv.js";import"./vendor-luxon-Y8l99kBI.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:l}=s();return!c&&"Engineering"!==l?.work_function&&!l?.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\u2019s 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};
