import{o as s}from"./rolldown-runtime-iuO8RvI4.js";import{Mi as e,ki as a}from"./vendor-frame-CwiylG4Y.js";import{Qf as n,Vf as i}from"./shared-1-3-6x7RKF.js";import{nn as d,rn as l}from"./vendor-all-2-BJdkbLSj.js";import{A as o,j as r}from"./shared-18-C5QwAjwU.js";import{n as t}from"./cf7caa315-DYHWXRMd.js";var c=s(e()),m=a();function u({handleDismiss:s,handleAction:e}){const a=l();return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)("div",{className:"absolute inset-0 flex -z-10",children:[(0,m.jsx)("div",{className:"w-full md:w-1/2 bg-bg-000 rounded-2xl md:rounded-e-none md:rounded-s-2xl"}),(0,m.jsx)("div",{className:"hidden md:block w-1/2 bg-bg-300 rounded-e-2xl"})]}),(0,m.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2",children:[(0,m.jsxs)("div",{className:"flex flex-col gap-4 md:pe-6",children:[(0,m.jsx)(t,{variant:"NEW",className:"mb-4"}),(0,m.jsx)(r,{className:"font-title mb-2",children:(0,m.jsx)(d,{defaultMessage:"Code with Claude in<br></br>your IDE",id:"rD53CSi6zK",values:{br:()=>(0,m.jsx)("br",{})}})}),(0,m.jsx)(d,{defaultMessage:"Love using Claude for code? There\u2019s 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:"/R58tJKnLj"}),(0,m.jsxs)("div",{className:"mt-6 flex flex-col gap-2",children:[(0,m.jsx)(n,{variant:"primary",className:"font-base-bold w-full",onClick:async()=>{window.open("vscode:extension/anthropic.claude-code","_blank"),await e({actionName:"vscode"})},children:(0,m.jsx)(d,{defaultMessage:"Install in VS Code",id:"56+24OPBb0"})}),(0,m.jsx)(n,{variant:"secondary",className:"font-base-bold",onClick:async()=>{window.open("cursor:extension/anthropic.claude-code","_blank"),await e({actionName:"cursor"})},children:(0,m.jsx)(d,{defaultMessage:"Install in Cursor",id:"pjRkd7iMMX"})}),(0,m.jsx)(n,{variant:"secondary",className:"font-base-bold",onClick:async()=>{window.open("windsurf:extension/anthropic.claude-code","_blank"),await e({actionName:"windsurf"})},children:(0,m.jsx)(d,{defaultMessage:"Install in Windsurf",id:"O7cmC5YEab"})}),(0,m.jsx)(n,{variant:"secondary",className:"font-base-bold w-full",onClick:s,children:(0,m.jsx)(d,{defaultMessage:"Later",id:"uQDRsYlg+S"})})]})]}),(0,m.jsxs)("div",{className:"relative hidden md:flex items-center justify-center md:-me-6 md:-mt-6 md:-mb-6",children:[(0,m.jsx)("img",{loading:"lazy",src:"/images/spotlights/claude-code-ide-extension-spotlight.png",alt:a.formatMessage({defaultMessage:"Claude Code IDE extension spotlight",id:"cml5PTFQZv"}),width:749,height:517,className:"w-full h-full object-cover rounded-e-2xl"}),(0,m.jsx)("div",{className:"absolute top-4 right-4",children:(0,m.jsx)(i,{onClose:s})})]})]})]})}var x=(0,c.memo)(({onDismiss:s,onAction:e})=>(0,m.jsx)(o,{onDismiss:s,onAction:e,render:({handleDismiss:s,handleAction:e})=>(0,m.jsx)(u,{handleDismiss:s,handleAction:e})}));export{x as IdeExtensionSpotlight};