import{u as s,j as e,T as a,M as d,r as i}from"./vendor--leCAzSo.js";import{B as n,I as l,M as o}from"./ca9c256b9-7brFE8T2.js";import{_ as t,S as c}from"./index-DZuQva-j.js";import"./c723dd3dd-58n3MxoB.js";import"./c57c2877c-dpgWZiV5.js";import"./cb5cdda9a-CSfiLIa6.js";import"./c51e217b4-KUwQQl_W.js";import"./tree-sitter-BFuuT2ac.js";const r=({handleDismiss:i,handleAction:c})=>{const r=s();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(t,{variant:"NEW",className:"mb-4"}),e.jsx(a,{asChild:!0,children:e.jsx("h1",{className:"font-title mb-2",children:e.jsx(d,{defaultMessage:"Code with Claude in<br></br>your IDE",id:"rD53CSi6zK",values:{br:()=>e.jsx("br",{})}})})}),e.jsx(d,{defaultMessage:"Love using Claude for code? There's an even better way. Claude Code lives right in your editor—VS Code, Cursor, or Windsurf—so you can chat and build in one place.",id:"7KZEyXiptB"}),e.jsxs("div",{className:"mt-6 flex flex-col gap-2",children:[e.jsx(n,{variant:"primary",className:"font-base-bold w-full",onClick:async()=>{window.open("vscode:extension/anthropic.claude-code","_blank"),await c({actionName:"vscode"})},children:e.jsx(d,{defaultMessage:"Install in VS Code",id:"56+24OPBb0"})}),e.jsx(n,{variant:"secondary",className:"font-base-bold",onClick:async()=>{window.open("cursor:extension/anthropic.claude-code","_blank"),await c({actionName:"cursor"})},children:e.jsx(d,{defaultMessage:"Install in Cursor",id:"pjRkd7iMMX"})}),e.jsx(n,{variant:"secondary",className:"font-base-bold",onClick:async()=>{window.open("windsurf:extension/anthropic.claude-code","_blank"),await c({actionName:"windsurf"})},children:e.jsx(d,{defaultMessage:"Install in Windsurf",id:"O7cmC5YEab"})}),e.jsx(n,{variant:"secondary",className:"font-base-bold w-full",onClick:i,children:e.jsx(d,{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(l,{src:"/images/spotlights/claude-code-ide-extension-spotlight.png",alt:r.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(o,{onClose:i})})]})]})]})},m=i.memo(({onDismiss:s,onAction:a})=>e.jsx(c,{onDismiss:s,onAction:a,render:({handleDismiss:s,handleAction:a})=>e.jsx(r,{handleDismiss:s,handleAction:a})}));m.displayName="IdeExtensionSpotlight";export{m as IdeExtensionSpotlight};
