import{j as e}from"./vendor-react-AXa6hZO5.js";import{hc as s,ha as t,o as E}from"./index-C_tZnXTW.js";import{bg as n,aC as i,bh as a}from"./vendor-icons-Dy3Nea9p.js";import{M as T}from"./vendor-intl-BdADXLLt.js";import{cq as N}from"./cdd5b9598-juLasKsB.js";import{a8 as A,a9 as l,bi as r}from"./cec18ad9a-DiLjrOUd.js";function o(){return e.jsx(T,{id:"0MRQfTjMgD",defaultMessage:"Thanks for trying the Pro plan"})}function d(){return e.jsxs("div",{className:"rounded-2xl border border-border-300 p-5",children:[e.jsx("p",{className:"text-text-200 mb-4",children:e.jsx(T,{id:"8/s2zJhdMh",defaultMessage:"Without Pro, you’ll lose access to these advanced features:"})}),e.jsxs("div",{className:"flex flex-col items-start gap-2 self-stretch",children:[e.jsxs("div",{className:"flex items-center gap-2 self-stretch",children:[e.jsx("div",{className:"w-5 h-5 flex-shrink-0 text-text-300",children:e.jsx(s,{})}),e.jsx("span",{className:"text-text-200",children:e.jsx(T,{id:"TCanJ5xXAc",defaultMessage:"Research in real-time"})})]}),e.jsxs("div",{className:"flex items-center gap-2 self-stretch",children:[e.jsx("div",{className:"w-5 h-5 flex-shrink-0 text-text-300",children:e.jsx(t,{})}),e.jsx("span",{className:"text-text-200",children:e.jsx(T,{id:"gcQUk+viso",defaultMessage:"Unlimited Projects"})})]}),e.jsxs("div",{className:"flex items-center gap-2 self-stretch",children:[e.jsx("div",{className:"w-5 h-5 flex-shrink-0 text-text-300",children:e.jsx(n,{size:20})}),e.jsx("span",{className:"text-text-200",children:e.jsx(T,{id:"at6vFGB7KL",defaultMessage:"Google and MCP integrations"})})]}),e.jsxs("div",{className:"flex items-center gap-2 self-stretch",children:[e.jsx("div",{className:"w-5 h-5 flex-shrink-0 text-text-300",children:e.jsx(i,{size:20})}),e.jsx("span",{className:"text-text-200",children:e.jsx(T,{id:"Gohvo7uUA4",defaultMessage:"Code in the terminal with Claude Code"})})]}),e.jsxs("div",{className:"flex items-center gap-2 self-stretch",children:[e.jsx("div",{className:"w-5 h-5 flex-shrink-0 text-text-300",children:e.jsx(E,{})}),e.jsx("span",{className:"text-text-200",children:e.jsx(T,{id:"/7yQeRw73i",defaultMessage:"More messages than Free"})})]}),e.jsxs("div",{className:"flex items-center gap-2 self-stretch",children:[e.jsx("div",{className:"w-5 h-5 flex-shrink-0 text-text-300",children:e.jsx(a,{size:20})}),e.jsx("span",{className:"text-text-200",children:e.jsx(T,{id:"PmfH1Lq1JZ",defaultMessage:"All Claude Models"})})]})]})]})}function c(){return e.jsxs("div",{className:"mb-4 mt-4 ml-4 mr-4",children:[e.jsx("p",{className:"text-text-100 mb-2",children:e.jsx(T,{id:"jr/8PlsiEP",defaultMessage:"What happens next:"})}),e.jsxs("div",{className:"space-y-2 ml-3",children:[e.jsxs("div",{className:"flex items-start space-x-2",children:[e.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-text-100 mt-2.5 flex-shrink-0"}),e.jsx("span",{className:"font-medium text-text-100",children:e.jsx(T,{id:"niC6Ubv3eQ",defaultMessage:"Choose a plan"})}),e.jsx("span",{className:"text-text-100 ml-1",children:e.jsx(T,{id:"okJJ6Q7c7E",defaultMessage:"to keep the features you have"})})]}),e.jsxs("div",{className:"flex items-start space-x-2",children:[e.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-text-100 mt-2.5 flex-shrink-0"}),e.jsx("span",{className:"font-medium text-text-100",children:e.jsx(T,{id:"smbQvpBzeR",defaultMessage:"Revert to Free"})}),e.jsx("span",{className:"text-text-100 ml-1",children:e.jsx(T,{id:"6QUeO2c2wV",defaultMessage:"where some features will be unavailable"})})]})]})]})}function R(){const{mutate:s,isPending:t}=N();return e.jsxs(l,{children:[e.jsx(r,{variant:"primary",onClick:()=>{s(void 0),window.location.href="/upgrade"},size:"lg",children:e.jsx(T,{id:"niC6Ubv3eQ",defaultMessage:"Choose a plan"})}),e.jsx(r,{variant:"secondary",size:"lg",onClick:()=>s(void 0),loading:t,children:e.jsx(T,{id:"smbQvpBzeR",defaultMessage:"Revert to Free"})})]})}const I=Object.freeze(Object.defineProperty({__proto__:null,TrialEndedModal:function({isOpen:s}){return e.jsx(A,{isOpen:s,onClose:()=>{},modalSize:"2lg",hasCloseButton:!1,title:e.jsx("span",{className:"text-2xl font-medium",children:e.jsx(o,{})}),className:"md:!p-8",children:e.jsxs("div",{className:"flex w-full flex-col mt-6",children:[e.jsx(d,{}),e.jsx(c,{}),e.jsx(R,{})]})})}},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 x=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 T,x as m};
