import{j as e,r as s}from"./vendor-react-Dp9pL_Wn.js";import{X as o,Y as a}from"./c6eedc03a-CsEFTfjy.js";import{u as i,M as n}from"./vendor-intl-D2wGIp4M.js";import{au as d,ab as r,S as l}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";function t({handleDismiss:s,handleAction:l}){const t=i();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(d,{variant:"NEW",className:"mb-4"}),e.jsx(r,{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\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"}),e.jsxs("div",{className:"mt-6 flex flex-col gap-2",children:[e.jsx(o,{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(o,{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(o,{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(o,{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("img",{loading:"lazy",src:"/images/spotlights/claude-code-ide-extension-spotlight.png",alt:t.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(a,{onClose:s})})]})]})]})}const c=s.memo(({onDismiss:s,onAction:o})=>e.jsx(l,{onDismiss:s,onAction:o,render:({handleDismiss:s,handleAction:o})=>e.jsx(t,{handleDismiss:s,handleAction:o})}));c.displayName="IdeExtensionSpotlight";export{c as IdeExtensionSpotlight};
