import{j as e,r as s}from"./vendor-react-Dp9pL_Wn.js";import{ah as t,ai as o,g as n,gc as i}from"./c2ee0272b-DPDuX889.js";import{ae as a}from"./vendor-icons-DGChWNxR.js";import{c as r,T as l}from"./vendor-ant-cds-BLsR_p72.js";import{d as c,M as d}from"./vendor-intl-D2wGIp4M.js";import{aF as m,ud as g,cT as p}from"./index-XoaBlZfC.js";const u="curl -fsSL https://claude.ai/install.sh | bash",h="https://marketplace.visualstudio.com/items?itemName=anthropic.claude-code",x="https://plugins.jetbrains.com/plugin/27310-claude-code-beta-",E="https://slack.com/marketplace/A08SF47R6P4-claude",b="https://code.claude.com/docs/en/overview",k=c({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\u2019re needed, and review changes on the go.",id:"2cgv2OxXLv"},slack:{defaultMessage:"Turn a bug report into a pull request without leaving your team chat.",id:"Ksa5WnooAs"}});function f({iconSrc:s,iconSrcDark:t,iconNode:o,iconWidth:n=20,iconHeight:i=20,onClick:a,children:c,tooltip:d}){const m={width:n,height:i},g=e.jsxs("button",{type:"button",onClick:a,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:[s?e.jsxs(e.Fragment,{children:[e.jsx("img",{loading:"lazy",src:s,alt:"",width:n,height:i,style:m,className:r("object-contain",t&&"dark:hidden")}),t&&e.jsx("img",{loading:"lazy",src:t,alt:"",width:n,height:i,style:m,className:"hidden object-contain dark:block"})]}):e.jsx("span",{className:"flex items-center justify-center",style:m,children:o}),e.jsx("span",{className:"text-sm",children:c})]});return d?e.jsx(l,{multiline:!0,content:d,side:"bottom",className:"!max-w-[17rem] text-center",children:g}):g}function N({showTerminal:l=!0,showDesktop:c=!0,onPlatformClick:u,className:N}){const j=t(),A=o(),R=n(),v=j||A,[C,S]=s.useState(!1),w=s.useCallback((e,s)=>{u(e),window.open(s,"_blank","noopener,noreferrer")},[u]),T=s.useCallback(()=>{u("desktop"),window.location.assign(m(A?"win-x64":"mac"))},[u,A]),O=s.useCallback(()=>{u("mobile"),S(!0)},[u]);return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:r("-mb-2 -me-2 text-balance",N),children:[l&&e.jsx(f,{iconNode:e.jsx(i,{size:16}),onClick:()=>w("terminal",b),tooltip:e.jsx(d,{...k.terminal}),children:e.jsx(d,{defaultMessage:"Terminal",id:"GAHVEi8lHA"})}),e.jsx(f,{iconSrc:"/images/home-page-assets/vscode.svg",iconWidth:16,iconHeight:16,onClick:()=>w("vscode",h),tooltip:e.jsx(d,{...k.vscode}),children:e.jsx(d,{defaultMessage:"VS Code",id:"Ma0wJFlsrr"})}),e.jsx(f,{iconSrc:"/images/install-hub/jetbrains-icon.svg",iconWidth:16,iconHeight:16,onClick:()=>w("jetbrains",x),tooltip:e.jsx(d,{...k.jetbrains}),children:e.jsx(d,{defaultMessage:"JetBrains",id:"wDQllQfqj7"})}),c&&v&&!R&&e.jsx(f,{iconSrc:j?"/images/install-hub/apple-icon.svg":void 0,iconSrcDark:j?"/images/install-hub/apple-icon-white.svg":void 0,iconNode:j?void 0:e.jsx(a,{size:16,weight:"fill"}),iconWidth:j?14:16,iconHeight:j?17:16,onClick:T,tooltip:e.jsx(d,{...k.desktop}),children:e.jsx(d,{defaultMessage:"Desktop app",id:"SR19nKO/BD"})}),e.jsx(f,{iconNode:e.jsx(g,{}),onClick:O,tooltip:e.jsx(d,{...k.mobile}),children:e.jsx(d,{defaultMessage:"Mobile",id:"GWtmtuCmOx"})}),e.jsx(f,{iconSrc:"/images/install-hub/slack-icon.svg",iconWidth:18,iconHeight:18,onClick:()=>w("slack",E),tooltip:e.jsx(d,{...k.slack}),children:e.jsx(d,{defaultMessage:"Slack",id:"sjzDbuQbES"})})]}),e.jsx(p,{isOpen:C,onClose:()=>S(!1),onAppStoreClick:u})]})}
/*!-----------------------------------------------------------------------------
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
 * Released under the MIT license
 * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
 *-----------------------------------------------------------------------------*/const j=Object.freeze(Object.defineProperty({__proto__:null,conf:{comments:{blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"(*",close:"*)"},{open:"<*",close:"*>"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}]},language:{defaultToken:"",tokenPostfix:".m3",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["AND","ANY","ARRAY","AS","BEGIN","BITS","BRANDED","BY","CASE","CONST","DIV","DO","ELSE","ELSIF","END","EVAL","EXCEPT","EXCEPTION","EXIT","EXPORTS","FINALLY","FOR","FROM","GENERIC","IF","IMPORT","IN","INTERFACE","LOCK","LOOP","METHODS","MOD","MODULE","NOT","OBJECT","OF","OR","OVERRIDES","PROCEDURE","RAISE","RAISES","READONLY","RECORD","REF","REPEAT","RETURN","REVEAL","SET","THEN","TO","TRY","TYPE","TYPECASE","UNSAFE","UNTIL","UNTRACED","VALUE","VAR","WHILE","WITH"],reservedConstNames:["ABS","ADR","ADRSIZE","BITSIZE","BYTESIZE","CEILING","DEC","DISPOSE","FALSE","FIRST","FLOAT","FLOOR","INC","ISTYPE","LAST","LOOPHOLE","MAX","MIN","NARROW","NEW","NIL","NUMBER","ORD","ROUND","SUBARRAY","TRUE","TRUNC","TYPECODE","VAL"],reservedTypeNames:["ADDRESS","ANY","BOOLEAN","CARDINAL","CHAR","EXTENDED","INTEGER","LONGCARD","LONGINT","LONGREAL","MUTEX","NULL","REAL","REFANY","ROOT","TEXT"],operators:["+","-","*","/","&","^","."],relations:["=","#","<","<=",">",">=","<:",":"],delimiters:["|","..","=>",",",";",":="],symbols:/[>=<#.,:;+\-*/&^]+/,escapes:/\\(?:[\\fnrt"']|[0-7]{3})/,tokenizer:{root:[[/_\w*/,"invalid"],[/[a-zA-Z][a-zA-Z0-9_]*/,{cases:{"@keywords":{token:"keyword.$0"},"@reservedConstNames":{token:"constant.reserved.$0"},"@reservedTypeNames":{token:"type.reserved.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[0-9]+\.[0-9]+(?:[DdEeXx][\+\-]?[0-9]+)?/,"number.float"],[/[0-9]+(?:\_[0-9a-fA-F]+)?L?/,"number"],[/@symbols/,{cases:{"@operators":"operators","@relations":"operators","@delimiters":"delimiter","@default":"invalid"}}],[/'[^\\']'/,"string.char"],[/(')(@escapes)(')/,["string.char","string.escape","string.char"]],[/'/,"invalid"],[/"([^"\\]|\\.)*$/,"invalid"],[/"/,"string.text","@text"]],text:[[/[^\\"]+/,"string.text"],[/@escapes/,"string.escape"],[/\\./,"invalid"],[/"/,"string.text","@pop"]],comment:[[/\(\*/,"comment","@push"],[/\*\)/,"comment","@pop"],[/./,"comment"]],pragma:[[/<\*/,"keyword.pragma","@push"],[/\*>/,"keyword.pragma","@pop"],[/./,"keyword.pragma"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/<\*/,"keyword.pragma","@pragma"]]}}},Symbol.toStringTag,{value:"Module"}));
/*!-----------------------------------------------------------------------------
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
 * Released under the MIT license
 * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
 *-----------------------------------------------------------------------------*/var A={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}};const R=Object.freeze(Object.defineProperty({__proto__:null,conf:A,language:{defaultToken:"",ignoreCase:!1,tokenPostfix:".mips",regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:[".data",".text","syscall","trap","add","addu","addi","addiu","and","andi","div","divu","mult","multu","nor","or","ori","sll","slv","sra","srav","srl","srlv","sub","subu","xor","xori","lhi","lho","lhi","llo","slt","slti","sltu","sltiu","beq","bgtz","blez","bne","j","jal","jalr","jr","lb","lbu","lh","lhu","lw","li","la","sb","sh","sw","mfhi","mflo","mthi","mtlo","move"],symbols:/[\.,\:]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\$[a-zA-Z_]\w*/,"variable.predefined"],[/[.a-zA-Z_]\w*/,{cases:{this:"variable.predefined","@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/#.*$/,"comment"],["///",{token:"regexp",next:"@hereregexp"}],[/^(\s*)(@regEx)/,["","regexp"]],[/(\,)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\:)(\s*)(@regEx)/,["delimiter","","regexp"]],[/@symbols/,"delimiter"],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"],[/[,.]/,"delimiter"],[/"""/,"string",'@herestring."""'],[/'''/,"string","@herestring.'''"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\#\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\./,"string.escape.invalid"],[/#{/,{cases:{'$S2=="':{token:"string",next:"root.interpolatedstring"},"@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/#/,"string"]],herestring:[[/("""|''')/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/#{/,{token:"string.quote",next:"root.interpolatedstring"}],[/#/,"string"]],comment:[[/[^#]+/,"comment"],[/#/,"comment"]],hereregexp:[[/[^\\\/#]+/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*",{token:"regexp",next:"@pop"}],[/\//,"regexp"]]}}},Symbol.toStringTag,{value:"Module"}));export{b as C,f as I,x as J,E as S,h as V,k as a,u as b,N as c,R as d,j as m};
