import{j as e}from"./vendor-react-AXa6hZO5.js";import{a as t,e as o,v as a,B as s}from"./cec18ad9a-DiLjrOUd.js";import{T as i}from"./vendor-icons-Dy3Nea9p.js";import{M as n}from"./vendor-intl-BdADXLLt.js";import{Iw as r}from"./index-C_tZnXTW.js";import{a as l}from"./c32c0d97f-Ckznicg6.js";import{d,P as c,am as u,C as m,an as p,T as f}from"./vendor-radix-glKlawmm.js";const x=[{key:"cowork",href:"https://claude.com/product/cowork",title:e.jsx(n,{defaultMessage:"Cowork",id:"xi2NxiZh10"}),subtitle:e.jsx(n,{defaultMessage:"Hand off tasks to Claude so you can focus on other work.",id:"BamLJxwxTM"})},{key:"claude_code",href:"https://claude.com/product/claude-code",title:e.jsx(n,{defaultMessage:"Claude Code",id:"vKMj39KhGw"}),subtitle:e.jsx(n,{defaultMessage:"Build, debug, and ship by describing what you need.",id:"mUV32KPrRR"})},{key:"office",href:"https://claude.com/claude-in-excel",title:e.jsx(n,{defaultMessage:"Microsoft Office",id:"lnSx2ahO9a"}),subtitle:e.jsx(n,{defaultMessage:"Analyze data and build slides with Claude alongside you.",id:"7NDZA/bFon"})},{key:"chrome",href:"https://claude.com/chrome",title:e.jsx(n,{defaultMessage:"Chrome",id:"sS42/B0p76"}),subtitle:e.jsx(n,{defaultMessage:"Claude navigates, clicks buttons, and fills forms in your browser.",id:"imJkk+xTs0"})}];const b=Object.freeze(Object.defineProperty({__proto__:null,ProjectLimitUpsellModal:function({onClose:b}){const g=t(),h=o(),{resolvedMode:y}=a(),k="dark"===y?"dark":"light",v=r()||1,j=()=>{h.track({event_key:"apps.project_limit_modal_dismissed",variant:"visual"}),b()};return e.jsx(d,{open:!0,onOpenChange:j,children:e.jsx(c,{children:e.jsx(u,{className:"draggable-none fixed inset-0 bg-always-black/50 backdrop-blur-[2px] z-modal flex items-center justify-center p-4 data-[state=open]:animate-[fade_250ms_ease-in_forwards] data-[state=closed]:animate-[fade_125ms_ease-out_reverse_forwards]",children:e.jsxs(m,{"aria-describedby":void 0,className:"relative z-modal w-full max-w-[460px] md:max-w-4xl bg-bg-000 rounded-2xl shadow-xl overflow-hidden\n                       focus:outline-none\n                       data-[state=open]:animate-[zoom_250ms_ease-in_forwards]\n                       data-[state=closed]:animate-[zoom_125ms_ease-out_reverse_forwards]",children:[e.jsx("div",{className:"absolute top-4 right-4",children:e.jsx(p,{asChild:!0,children:e.jsx(s,{variant:"ghost",size:"icon_sm",className:"text-text-400 hover:text-text-200","aria-label":"Close",children:e.jsx(i,{size:20,weight:"regular"})})})}),e.jsxs("div",{className:"p-6 flex flex-col gap-6",children:[e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx(f,{asChild:!0,className:"font-title",children:e.jsx("h1",{children:e.jsx(n,{defaultMessage:"Upgrade for unlimited projects",id:"YU19nSq9tC"})})}),e.jsx("p",{className:"text-text-300 font-base",children:e.jsx(n,{defaultMessage:"Free plans are limited to {count, plural, one {one project} other {# projects}}. Upgrade to create as many as you need.",id:"2fisBu66YH",values:{count:v}})}),e.jsx("p",{className:"text-text-300 font-base",children:e.jsx(n,{defaultMessage:"Plus, get more ways to use Claude:",id:"VfAnd0eFYk"})})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"flex flex-col md:grid md:grid-cols-4 gap-4 px-2 -mx-2 max-h-[40vh] md:max-h-none overflow-y-auto md:overflow-visible",children:x.map(t=>e.jsx(l,{title:t.title,subtitle:t.subtitle,href:t.href,illustrationSrc:`/images/feature-preview/message-limit/${t.key}_${k}.svg`,onClick:()=>(e=>{h.track({event_key:"apps.project_limit_tile_clicked",tile:e})})(t.key)},t.key))}),e.jsx("div",{className:"md:hidden pointer-events-none absolute -inset-x-2 bottom-0 h-10 bg-gradient-to-t from-bg-000 to-transparent"})]}),e.jsxs("div",{className:"flex flex-col-reverse md:flex-row md:justify-end gap-2",children:[e.jsx(s,{variant:"secondary",onClick:j,className:"max-md:border-0 max-md:bg-transparent max-md:shadow-none",children:e.jsx(n,{defaultMessage:"Not now",id:"dUCA4Khx0S"})}),e.jsx(s,{variant:"primary",onClick:()=>{h.track({event_key:"apps.project_limit_modal_upgrade_clicked",variant:"visual"}),b(),g.push("/upgrade?from=project_limit")},children:e.jsx(n,{defaultMessage:"Explore plans",id:"BB6lTqQOLY"})})]})]})]})})})})}},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
 *-----------------------------------------------------------------------------*/
/*!---------------------------------------------------------------------------------------------
 *  Copyright (C) David Owens II, owensd.io. All rights reserved.
 *--------------------------------------------------------------------------------------------*/
const g=Object.freeze(Object.defineProperty({__proto__:null,conf:{comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},language:{defaultToken:"",tokenPostfix:".swift",identifier:/[a-zA-Z_][\w$]*/,attributes:["@GKInspectable","@IBAction","@IBDesignable","@IBInspectable","@IBOutlet","@IBSegueAction","@NSApplicationMain","@NSCopying","@NSManaged","@Sendable","@UIApplicationMain","@autoclosure","@actorIndependent","@asyncHandler","@available","@convention","@derivative","@differentiable","@discardableResult","@dynamicCallable","@dynamicMemberLookup","@escaping","@frozen","@globalActor","@inlinable","@inline","@main","@noDerivative","@nonobjc","@noreturn","@objc","@objcMembers","@preconcurrency","@propertyWrapper","@requires_stored_property_inits","@resultBuilder","@testable","@unchecked","@unknown","@usableFromInline","@warn_unqualified_access"],accessmodifiers:["open","public","internal","fileprivate","private"],keywords:["#available","#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning","Any","Protocol","Self","Type","actor","as","assignment","associatedtype","associativity","async","await","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","dynamicType","else","enum","extension","fallthrough","false","fileprivate","final","for","func","get","guard","higherThan","if","import","in","indirect","infix","init","inout","internal","is","isolated","lazy","left","let","lowerThan","mutating","nil","none","nonisolated","nonmutating","open","operator","optional","override","postfix","precedence","precedencegroup","prefix","private","protocol","public","repeat","required","rethrows","return","right","safe","self","set","some","static","struct","subscript","super","switch","throw","throws","true","try","typealias","unowned","unsafe","var","weak","where","while","willSet","__consuming","__owned"],symbols:/[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,operatorstart:/[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,operatorend:/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},{include:"@attribute"},{include:"@literal"},{include:"@keyword"},{include:"@invokedmethod"},{include:"@symbol"}],whitespace:[[/\s+/,"white"],[/"""/,"string.quote","@endDblDocString"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string.quote","@popall"],[/"/,"string"]],symbol:[[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/[.]/,"delimiter"],[/@operators/,"operator"],[/@symbols/,"operator"]],comment:[[/\/\/\/.*$/,"comment.doc"],[/\/\*\*/,"comment.doc","@commentdocbody"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@commentbody"]],commentdocbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment.doc","@pop"],[/\:[a-zA-Z]+\:/,"comment.doc.param"],[/./,"comment.doc"]],commentbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment","@pop"],[/./,"comment"]],attribute:[[/@@@identifier/,{cases:{"@attributes":"keyword.control","@default":""}}]],literal:[[/"/,{token:"string.quote",next:"@stringlit"}],[/0[b]([01]_?)+/,"number.binary"],[/0[o]([0-7]_?)+/,"number.octal"],[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/,"number.hex"],[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/,"number.float"],[/(\d_?)+/,"number"]],stringlit:[[/\\\(/,{token:"operator",next:"@interpolatedexpression"}],[/@escapes/,"string"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}],[/./,"string"]],interpolatedexpression:[[/\(/,{token:"operator",next:"@interpolatedexpression"}],[/\)/,{token:"operator",next:"@pop"}],{include:"@literal"},{include:"@keyword"},{include:"@symbol"}],keyword:[[/`/,{token:"operator",next:"@escapedkeyword"}],[/@identifier/,{cases:{"@keywords":"keyword","[A-Z][a-zA-Z0-9$]*":"type.identifier","@default":"identifier"}}]],escapedkeyword:[[/`/,{token:"operator",next:"@pop"}],[/./,"identifier"]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:["delimeter","type.identifier"],"@default":""}}]]}}},Symbol.toStringTag,{value:"Module"}));export{b as P,g as s};
