import{j as e,r as s}from"./vendor-react-AXa6hZO5.js";import{B as a,I as o,M as i}from"./c6eedc03a-C8LSdtro.js";import{u as d,M as n}from"./vendor-intl-BdADXLLt.js";import{al as r,S as l}from"./index-D35RxkWr.js";import{T as t}from"./vendor-radix-jAWPQP1f.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-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 c=({handleDismiss:s,handleAction:l})=>{const c=d();return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"absolute inset-0 flex -z-10",children:[e.jsx("div",{className:"w-full md:w-1/2 bg-bg-000 rounded-2xl md:rounded-e-none md:rounded-s-2xl"}),e.jsx("div",{className:"hidden md:block w-1/2 bg-bg-300 rounded-e-2xl"})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2",children:[e.jsxs("div",{className:"flex flex-col gap-4 md:pe-6",children:[e.jsx(r,{variant:"NEW",className:"mb-4"}),e.jsx(t,{asChild:!0,children:e.jsx("h1",{className:"font-title mb-2",children:e.jsx(n,{defaultMessage:"Code with Claude in<br></br>your IDE",id:"rD53CSi6zK",values:{br:()=>e.jsx("br",{})}})})}),e.jsx(n,{defaultMessage:"Love using Claude for code? There's an even better way. Claude Code lives right in your editor\u2014VS Code, Cursor, or Windsurf\u2014so you can chat and build in one place.",id:"7KZEyXiptB"}),e.jsxs("div",{className:"mt-6 flex flex-col gap-2",children:[e.jsx(a,{variant:"primary",className:"font-base-bold w-full",onClick:async()=>{window.open("vscode:extension/anthropic.claude-code","_blank"),await l({actionName:"vscode"})},children:e.jsx(n,{defaultMessage:"Install in VS Code",id:"56+24OPBb0"})}),e.jsx(a,{variant:"secondary",className:"font-base-bold",onClick:async()=>{window.open("cursor:extension/anthropic.claude-code","_blank"),await l({actionName:"cursor"})},children:e.jsx(n,{defaultMessage:"Install in Cursor",id:"pjRkd7iMMX"})}),e.jsx(a,{variant:"secondary",className:"font-base-bold",onClick:async()=>{window.open("windsurf:extension/anthropic.claude-code","_blank"),await l({actionName:"windsurf"})},children:e.jsx(n,{defaultMessage:"Install in Windsurf",id:"O7cmC5YEab"})}),e.jsx(a,{variant:"secondary",className:"font-base-bold w-full",onClick:s,children:e.jsx(n,{defaultMessage:"Later",id:"uQDRsYlg+S"})})]})]}),e.jsxs("div",{className:"relative hidden md:flex items-center justify-center md:-me-6 md:-mt-6 md:-mb-6",children:[e.jsx(o,{src:"/images/spotlights/claude-code-ide-extension-spotlight.png",alt:c.formatMessage({defaultMessage:"Claude Code IDE extension spotlight",id:"cml5PTFQZv"}),width:749,height:517,className:"w-full h-full object-cover rounded-e-2xl"}),e.jsx("div",{className:"absolute top-4 right-4",children:e.jsx(i,{onClose:s})})]})]})]})},m=s.memo(({onDismiss:s,onAction:a})=>e.jsx(l,{onDismiss:s,onAction:a,render:({handleDismiss:s,handleAction:a})=>e.jsx(c,{handleDismiss:s,handleAction:a})}));m.displayName="IdeExtensionSpotlight";export{m as IdeExtensionSpotlight};
