import{j as e}from"./vendor-react-AXa6hZO5.js";import{b as t,e as s,w as o,B as a}from"./c6eedc03a-C8LSdtro.js";import{R as E}from"./vendor-icons-DsiQAprm.js";import{M as i}from"./vendor-intl-BdADXLLt.js";import{IA as n}from"./index-D35RxkWr.js";import{M as r}from"./c606eaf84-D3GqXef8.js";import{ai as T,aj as A,ak as d,al as l,am as N,T as R}from"./vendor-radix-jAWPQP1f.js";const c=[{key:"cowork",href:"https://claude.com/product/cowork",title:e.jsx(i,{defaultMessage:"Cowork",id:"xi2NxiZh10"}),subtitle:e.jsx(i,{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(i,{defaultMessage:"Claude Code",id:"vKMj39KhGw"}),subtitle:e.jsx(i,{defaultMessage:"Build, debug, and ship by describing what you need.",id:"mUV32KPrRR"})},{key:"office",href:"https://claude.com/claude-in-excel",title:e.jsx(i,{defaultMessage:"Microsoft Office",id:"lnSx2ahO9a"}),subtitle:e.jsx(i,{defaultMessage:"Analyze data and build slides with Claude alongside you.",id:"7NDZA/bFon"})},{key:"chrome",href:"https://claude.com/chrome",title:e.jsx(i,{defaultMessage:"Chrome",id:"sS42/B0p76"}),subtitle:e.jsx(i,{defaultMessage:"Claude navigates, clicks buttons, and fills forms in your browser.",id:"imJkk+xTs0"})}];const I=Object.freeze(Object.defineProperty({__proto__:null,ProjectLimitUpsellModal:function({onClose:I}){const O=t(),m=s(),{resolvedMode:S}=o(),C="dark"===S?"dark":"light",L=n()||1,u=()=>{m.track({event_key:"apps.project_limit_modal_dismissed",variant:"visual"}),I()};return e.jsx(T,{open:!0,onOpenChange:u,children:e.jsx(A,{children:e.jsx(d,{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(l,{"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(N,{asChild:!0,children:e.jsx(a,{variant:"ghost",size:"icon_sm",className:"text-text-400 hover:text-text-200","aria-label":"Close",children:e.jsx(E,{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(R,{asChild:!0,className:"font-title",children:e.jsx("h1",{children:e.jsx(i,{defaultMessage:"Upgrade for unlimited projects",id:"YU19nSq9tC"})})}),e.jsx("p",{className:"text-text-300 font-base",children:e.jsx(i,{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:L}})}),e.jsx("p",{className:"text-text-300 font-base",children:e.jsx(i,{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:c.map(t=>e.jsx(r,{title:t.title,subtitle:t.subtitle,href:t.href,illustrationSrc:`/images/feature-preview/message-limit/${t.key}_${C}.svg`,onClick:()=>(e=>{m.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(a,{variant:"secondary",onClick:u,className:"max-md:border-0 max-md:bg-transparent max-md:shadow-none",children:e.jsx(i,{defaultMessage:"Not now",id:"dUCA4Khx0S"})}),e.jsx(a,{variant:"primary",onClick:()=>{m.track({event_key:"apps.project_limit_modal_upgrade_clicked",variant:"visual"}),I(),O.push("/upgrade?from=project_limit")},children:e.jsx(i,{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
 *-----------------------------------------------------------------------------*/const O=Object.freeze(Object.defineProperty({__proto__:null,conf:{comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]}]},language:{defaultToken:"",tokenPostfix:".msdax",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["VAR","RETURN","NOT","EVALUATE","DATATABLE","ORDER","BY","START","AT","DEFINE","MEASURE","ASC","DESC","IN","BOOLEAN","DOUBLE","INTEGER","DATETIME","CURRENCY","STRING"],functions:["CLOSINGBALANCEMONTH","CLOSINGBALANCEQUARTER","CLOSINGBALANCEYEAR","DATEADD","DATESBETWEEN","DATESINPERIOD","DATESMTD","DATESQTD","DATESYTD","ENDOFMONTH","ENDOFQUARTER","ENDOFYEAR","FIRSTDATE","FIRSTNONBLANK","LASTDATE","LASTNONBLANK","NEXTDAY","NEXTMONTH","NEXTQUARTER","NEXTYEAR","OPENINGBALANCEMONTH","OPENINGBALANCEQUARTER","OPENINGBALANCEYEAR","PARALLELPERIOD","PREVIOUSDAY","PREVIOUSMONTH","PREVIOUSQUARTER","PREVIOUSYEAR","SAMEPERIODLASTYEAR","STARTOFMONTH","STARTOFQUARTER","STARTOFYEAR","TOTALMTD","TOTALQTD","TOTALYTD","ADDCOLUMNS","ADDMISSINGITEMS","ALL","ALLEXCEPT","ALLNOBLANKROW","ALLSELECTED","CALCULATE","CALCULATETABLE","CALENDAR","CALENDARAUTO","CROSSFILTER","CROSSJOIN","CURRENTGROUP","DATATABLE","DETAILROWS","DISTINCT","EARLIER","EARLIEST","EXCEPT","FILTER","FILTERS","GENERATE","GENERATEALL","GROUPBY","IGNORE","INTERSECT","ISONORAFTER","KEEPFILTERS","LOOKUPVALUE","NATURALINNERJOIN","NATURALLEFTOUTERJOIN","RELATED","RELATEDTABLE","ROLLUP","ROLLUPADDISSUBTOTAL","ROLLUPGROUP","ROLLUPISSUBTOTAL","ROW","SAMPLE","SELECTCOLUMNS","SUBSTITUTEWITHINDEX","SUMMARIZE","SUMMARIZECOLUMNS","TOPN","TREATAS","UNION","USERELATIONSHIP","VALUES","SUM","SUMX","PATH","PATHCONTAINS","PATHITEM","PATHITEMREVERSE","PATHLENGTH","AVERAGE","AVERAGEA","AVERAGEX","COUNT","COUNTA","COUNTAX","COUNTBLANK","COUNTROWS","COUNTX","DISTINCTCOUNT","DIVIDE","GEOMEAN","GEOMEANX","MAX","MAXA","MAXX","MEDIAN","MEDIANX","MIN","MINA","MINX","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILEX.EXC","PERCENTILEX.INC","PRODUCT","PRODUCTX","RANK.EQ","RANKX","STDEV.P","STDEV.S","STDEVX.P","STDEVX.S","VAR.P","VAR.S","VARX.P","VARX.S","XIRR","XNPV","DATE","DATEDIFF","DATEVALUE","DAY","EDATE","EOMONTH","HOUR","MINUTE","MONTH","NOW","SECOND","TIME","TIMEVALUE","TODAY","WEEKDAY","WEEKNUM","YEAR","YEARFRAC","CONTAINS","CONTAINSROW","CUSTOMDATA","ERROR","HASONEFILTER","HASONEVALUE","ISBLANK","ISCROSSFILTERED","ISEMPTY","ISERROR","ISEVEN","ISFILTERED","ISLOGICAL","ISNONTEXT","ISNUMBER","ISODD","ISSUBTOTAL","ISTEXT","USERNAME","USERPRINCIPALNAME","AND","FALSE","IF","IFERROR","NOT","OR","SWITCH","TRUE","ABS","ACOS","ACOSH","ACOT","ACOTH","ASIN","ASINH","ATAN","ATANH","BETA.DIST","BETA.INV","CEILING","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","COMBIN","COMBINA","CONFIDENCE.NORM","CONFIDENCE.T","COS","COSH","COT","COTH","CURRENCY","DEGREES","EVEN","EXP","EXPON.DIST","FACT","FLOOR","GCD","INT","ISO.CEILING","LCM","LN","LOG","LOG10","MOD","MROUND","ODD","PERMUT","PI","POISSON.DIST","POWER","QUOTIENT","RADIANS","RAND","RANDBETWEEN","ROUND","ROUNDDOWN","ROUNDUP","SIGN","SIN","SINH","SQRT","SQRTPI","TAN","TANH","TRUNC","BLANK","CONCATENATE","CONCATENATEX","EXACT","FIND","FIXED","FORMAT","LEFT","LEN","LOWER","MID","REPLACE","REPT","RIGHT","SEARCH","SUBSTITUTE","TRIM","UNICHAR","UNICODE","UPPER","VALUE"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},[/[;,.]/,"delimiter"],[/[({})]/,"@brackets"],[/[a-z_][a-zA-Z0-9_]*/,{cases:{"@keywords":"keyword","@functions":"keyword","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/\/\/+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N"/,{token:"string",next:"@string"}],[/"/,{token:"string",next:"@string"}]],string:[[/[^"]+/,"string"],[/""/,"string"],[/"/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/'/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^']+/,"identifier"],[/''/,"identifier"],[/'/,{token:"identifier.quote",next:"@pop"}]]}}},Symbol.toStringTag,{value:"Module"}));export{I as P,O as m};
