import{r as e,j as s}from"./vendor-react-Dp9pL_Wn.js";import{a8 as a,a9 as i,b as t,ap as o,jP as n,tL as l,tM as r,qB as c,bb as d,m5 as h,hA as m,hB as u,H as g,k as p}from"./c4b350ac1-KLFM4jkb.js";import{ae as j}from"./vendor-icons-BBStP_8q.js";import{c as b,T as x}from"./vendor-ant-cds-DvTmcYA1.js";import{M as f,d as k}from"./vendor-intl-BDR1NhN_.js";import{C8 as v,bY as w}from"./index-CSvjYuL_.js";const C="curl -fsSL https://claude.ai/install.sh | bash",S="https://marketplace.visualstudio.com/items?itemName=anthropic.claude-code",M="https://plugins.jetbrains.com/plugin/27310-claude-code-beta-",y="https://slack.com/marketplace/A08SF47R6P4-claude",N="https://code.claude.com/docs/en/overview",D=k({vscode:{defaultMessage:"See every change before it lands. Accept, tweak, or redirect Claude without leaving your editor.",id:"u4GrqXcR2/"},jetbrains:{defaultMessage:"Claude Code works inside the IDE you already know. No workflow changes needed.",id:"DC5XFpX01K"},desktop:{defaultMessage:"Get the full Claude Code experience in a native window. No terminal required.",id:"3bs/L1f60D"},terminal:{defaultMessage:"Run Claude Code directly from the command line. Works in any shell.",id:"PRZrOGhThN"},mobile:{defaultMessage:"Monitor progress, get notified when you're needed, and review changes on the go.",id:"p9soKJ+jhS"},slack:{defaultMessage:"Turn a bug report into a pull request without leaving your team chat.",id:"Ksa5WnooAs"}});function A({iconSrc:e,iconSrcDark:a,iconNode:i,iconWidth:t=20,iconHeight:o=20,onClick:n,children:l,tooltip:r}){const c={width:t,height:o},d=s.jsxs("button",{type:"button",onClick:n,className:"border-0.5 mb-2 me-2 inline-flex items-center gap-2 rounded-xl border-border-200 bg-transparent p-2 align-top text-text-100 transition-colors hover:border-transparent hover:bg-bg-400",children:[e?s.jsxs(s.Fragment,{children:[s.jsx("img",{loading:"lazy",src:e,alt:"",width:t,height:o,style:c,className:b("object-contain",a&&"dark:hidden")}),a&&s.jsx("img",{loading:"lazy",src:a,alt:"",width:t,height:o,style:c,className:"hidden object-contain dark:block"})]}):s.jsx("span",{className:"flex items-center justify-center",style:c,children:i}),s.jsx("span",{className:"text-sm",children:l})]});return r?s.jsx(x,{multiline:!0,content:r,side:"bottom",className:"!max-w-[17rem] text-center",children:d}):d}function H({showTerminal:c=!0,showDesktop:d=!0,onPlatformClick:h,className:m}){const u=a(),g=i(),p=t(),x=u||g,[k,v]=e.useState(!1),w=e.useCallback((e,s)=>{h(e),window.open(s,"_blank","noopener,noreferrer")},[h]),C=e.useCallback(()=>{h("desktop"),window.location.assign(o(g?"win-x64":"mac"))},[h,g]),H=e.useCallback(()=>{h("mobile"),v(!0)},[h]);return s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:b("-mb-2 -me-2 text-balance",m),children:[c&&s.jsx(A,{iconNode:s.jsx(n,{size:16}),onClick:()=>w("terminal",N),tooltip:s.jsx(f,{...D.terminal}),children:s.jsx(f,{defaultMessage:"Terminal",id:"GAHVEi8lHA"})}),s.jsx(A,{iconSrc:"/images/home-page-assets/vscode.svg",iconWidth:16,iconHeight:16,onClick:()=>w("vscode",S),tooltip:s.jsx(f,{...D.vscode}),children:s.jsx(f,{defaultMessage:"VS Code",id:"Ma0wJFlsrr"})}),s.jsx(A,{iconSrc:"/images/install-hub/jetbrains-icon.svg",iconWidth:16,iconHeight:16,onClick:()=>w("jetbrains",M),tooltip:s.jsx(f,{...D.jetbrains}),children:s.jsx(f,{defaultMessage:"JetBrains",id:"wDQllQfqj7"})}),d&&x&&!p&&s.jsx(A,{iconSrc:u?"/images/install-hub/apple-icon.svg":void 0,iconSrcDark:u?"/images/install-hub/apple-icon-white.svg":void 0,iconNode:u?void 0:s.jsx(j,{size:16,weight:"fill"}),iconWidth:u?14:16,iconHeight:u?17:16,onClick:C,tooltip:s.jsx(f,{...D.desktop}),children:s.jsx(f,{defaultMessage:"Desktop app",id:"SR19nKO/BD"})}),s.jsx(A,{iconNode:s.jsx(l,{}),onClick:H,tooltip:s.jsx(f,{...D.mobile}),children:s.jsx(f,{defaultMessage:"Mobile",id:"GWtmtuCmOx"})}),s.jsx(A,{iconSrc:"/images/install-hub/slack-icon.svg",iconWidth:18,iconHeight:18,onClick:()=>w("slack",y),tooltip:s.jsx(f,{...D.slack}),children:s.jsx(f,{defaultMessage:"Slack",id:"sjzDbuQbES"})})]}),s.jsx(r,{isOpen:k,onClose:()=>v(!1),onAppStoreClick:h})]})}function W(){return c(),d(),h(),m(u.OrganizationManage),v(),g(),p("conversation_export"),p("bridge_trusted_devices"),s.jsx(w,{to:"/settings/general"})}const _=Object.freeze(Object.defineProperty({__proto__:null,default:W},Symbol.toStringTag,{value:"Module"}));export{W as A,N as C,A as I,M as J,y as S,S as V,C as a,H as b,D as c,_ as p};
