import{r as e}from"./rolldown-runtime-DIIn1E2Q.js";import"./vendor-primevue-DGevbYGF.js";import"./vendor-firebase-yTFzdAQf.js";import{F as t,I as n,O as r,R as i,Rt as a,Ut as o,_t as s,et as c,j as l}from"./vendor-vue-core-BdhYaYlO.js";import"./vendor-other-D9HJWI2D.js";import"./useFeatureFlags-DLStzqlx.js";import"./api-C1WIrB4Z.js";import"./vendor-markdown-th9BvURy.js";import"./colorUtil-DJbZtU1U.js";import"./i18n-DKtnmyh4.js";import"./vendor-reka-ui-CSo89nDv.js";import{t as u}from"./Button-DHxPjNdi.js";import{Yr as d,wi as f}from"./dialogService-CwVeD8j9.js";import"./extensionStore-By6c6sCD.js";import"./userStore-ChcnLOkA.js";import"./useErrorHandling-CWU_3R6Y.js";import"./useExternalLink-DZBh_BZs.js";import"./vendor-tiptap-BZHcjrm1.js";import"./markdownRendererUtil-J4WlXR5e.js";import"./Popover-_oREh-V5.js";var p={class:`flex w-full max-w-[512px] flex-col rounded-2xl border border-border-default bg-base-background`},m={class:`flex h-12 items-center justify-between border-b border-border-default px-4`},h={class:`m-0 text-sm font-normal text-base-foreground`},g=[`aria-label`],_={class:`flex flex-col gap-4 px-4 py-4`},v={class:`m-0 text-sm text-muted-foreground`},y={class:`flex items-center justify-end gap-4 px-4 py-4`},b=i({__name:`InviteMemberUpsellDialogContent`,setup(e){let i=f(),{isActiveSubscription:b,showSubscriptionDialog:x}=d();function onDismiss(){i.closeDialog({key:`invite-member-upsell`})}function onUpgrade(){i.closeDialog({key:`invite-member-upsell`}),x()}return(e,i)=>(c(),l(`div`,p,[r(`div`,m,[r(`h2`,h,o(a(b)?e.$t(`workspacePanel.inviteUpsellDialog.titleSingleSeat`):e.$t(`workspacePanel.inviteUpsellDialog.titleNotSubscribed`)),1),r(`button`,{class:`cursor-pointer rounded border-none bg-transparent p-0 text-muted-foreground transition-colors hover:text-base-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-secondary-foreground`,"aria-label":e.$t(`g.close`),onClick:onDismiss},i[0]||=[r(`i`,{class:`pi pi-times size-4`},null,-1)],8,g)]),r(`div`,_,[r(`p`,v,o(a(b)?e.$t(`workspacePanel.inviteUpsellDialog.messageSingleSeat`):e.$t(`workspacePanel.inviteUpsellDialog.messageNotSubscribed`)),1)]),r(`div`,y,[n(u,{variant:`muted-textonly`,onClick:onDismiss},{default:s(()=>[t(o(e.$t(`g.cancel`)),1)]),_:1}),n(u,{variant:`primary`,size:`lg`,onClick:onUpgrade},{default:s(()=>[t(o(a(b)?e.$t(`workspacePanel.inviteUpsellDialog.upgradeToCreator`):e.$t(`workspacePanel.inviteUpsellDialog.viewPlans`)),1)]),_:1})])]))}});export{b as default};
//# sourceMappingURL=InviteMemberUpsellDialogContent-CdZf7HNY.js.map