@burdenoff/microfe-workspaces 2026.1123.3 → 2026.1129.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,140 +2,143 @@ import { tWithFallback as e } from "../utils/i18n.js";
2
2
  import { useInvitation as t } from "../hooks/useWorkspaceMembers.js";
3
3
  import { useAcceptInvitation as n, useRejectInvitation as r } from "../hooks/useMemberMutations.js";
4
4
  import { useWorkspacesPageView as i } from "../hooks/useWorkspacesPageView.js";
5
- import { useWorkspacesContext as a } from "../providers/WorkspacesProvider.js";
6
- import { useNavigationV2 as o } from "../hooks/useNavigationV2.js";
7
- import { getProjectDisplayNames as ee, getRoleDisplayNames as s, getWorkspaceDisplayName as te } from "../utils/invitationDisplay.js";
8
- import { AlertTriangle as c, Ban as l, CheckCircle as u, Clock as d, Home as f, Mail as p, RefreshCw as m, XCircle as h } from "lucide-react";
9
- import { Badge as g, Button as _, CardContent as v, CardDescription as y, CardHeader as b, CardTitle as x, GlassCard as S, PagePurpose as C, ShowTechnicalDetails as w, Skeleton as T } from "@burdenoff/fe-libs/ui";
10
- import { Fragment as E, jsx as D, jsxs as O } from "react/jsx-runtime";
11
- import { useI18n as k } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
12
- import { useLocation as ne, useNavigate as A, useParams as j } from "react-router";
5
+ import { useWorkspacesContext as ee } from "../providers/WorkspacesProvider.js";
6
+ import { useNavigationV2 as a } from "../hooks/useNavigationV2.js";
7
+ import { getProjectDisplayNames as o, getRoleDisplayNames as te, getWorkspaceDisplayName as s } from "../utils/invitationDisplay.js";
8
+ import { CompactMarkOr as c } from "../components/loadingSystem.js";
9
+ import { AlertTriangle as l, Ban as u, CheckCircle as d, Clock as f, Home as p, Mail as m, RefreshCw as h, XCircle as g } from "lucide-react";
10
+ import { Badge as _, Button as v, CardContent as y, CardDescription as b, CardHeader as x, CardTitle as S, GlassCard as C, PagePurpose as w, ShowTechnicalDetails as T, Skeleton as E } from "@burdenoff/fe-libs/ui";
11
+ import { Fragment as D, jsx as O, jsxs as k } from "react/jsx-runtime";
12
+ import { useI18n as A } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
13
+ import { useLocation as j, useNavigate as M, useParams as N } from "react-router";
14
+ import { useLoadingSystem as P } from "@burdenoff/fe-libs/ui/loading/LoadingSystemProvider";
13
15
  // src/pages/InviteAcceptancePage.tsx
14
- function M() {
16
+ function F() {
17
+ let l = P();
15
18
  i("workspaces.invite");
16
- let { t: c } = k(), { invitationId: l } = j(), x = ne(), T = A(), { authToken: M } = a(), B = o(), V = l || x.pathname.split("/").filter(Boolean).at(-1) || "", H = !!M, U = V ? `/auth/login?returnTo=${encodeURIComponent(`/workspaces/invite/${V}`)}` : "/auth/login?returnTo=%2Fworkspaces%2Flist", { data: W, isLoading: G, error: K, refetch: q } = t(V || "", H), { mutate: J, isPending: Y } = n(), { mutate: ie, isPending: X } = r(), Z = W ? te(W) : null, ae = W && Z !== W.workspaceId ? Z : null, oe = B ? W ? ae ?? e(c, "inviteAcceptance.v2.unnamedWorkspace", "A workspace") : null : Z, Q = W ? s(W) : [], $ = W ? ee(W) : [], se = () => {
17
- V && J(V, {
19
+ let { t: u } = A(), { invitationId: S } = N(), E = j(), F = M(), { authToken: V } = ee(), H = a(), U = S || E.pathname.split("/").filter(Boolean).at(-1) || "", W = !!V, G = U ? `/auth/login?returnTo=${encodeURIComponent(`/workspaces/invite/${U}`)}` : "/auth/login?returnTo=%2Fworkspaces%2Flist", { data: K, isLoading: q, error: J, refetch: ae } = t(U || "", W), { mutate: oe, isPending: Y } = n(), { mutate: se, isPending: X } = r(), Z = K ? s(K) : null, ce = K && Z !== K.workspaceId ? Z : null, le = H ? K ? ce ?? e(u, "inviteAcceptance.v2.unnamedWorkspace", "A workspace") : null : Z, Q = K ? te(K) : [], $ = K ? o(K) : [], ue = () => {
20
+ U && oe(U, {
18
21
  onSuccess: (e) => {
19
- let t = e.workspaceId || W?.workspaceId;
20
- T(t ? `/workspaces/${t}/members` : "/workspaces/list");
22
+ let t = e.workspaceId || K?.workspaceId;
23
+ F(t ? `/workspaces/${t}/members` : "/workspaces/list");
21
24
  },
22
25
  onError: (e) => {
23
26
  console.error("Failed to accept invitation:", e);
24
27
  }
25
28
  });
26
29
  };
27
- if (!H) return /* @__PURE__ */ D("div", {
30
+ if (!W) return /* @__PURE__ */ O("div", {
28
31
  className: "min-h-screen flex items-center justify-center bg-bg-sunken/30 p-4",
29
- children: /* @__PURE__ */ O(S, {
32
+ children: /* @__PURE__ */ k(C, {
30
33
  treatment: "glass",
31
34
  className: "max-w-xl w-full",
32
- children: [/* @__PURE__ */ D(b, { children: /* @__PURE__ */ O("div", {
35
+ children: [/* @__PURE__ */ O(x, { children: /* @__PURE__ */ k("div", {
33
36
  className: "flex items-center gap-3",
34
- children: [/* @__PURE__ */ D("div", {
37
+ children: [/* @__PURE__ */ O("div", {
35
38
  className: "rounded-lg bg-action-primary-bg/10 p-3",
36
- children: /* @__PURE__ */ D(p, {
39
+ children: /* @__PURE__ */ O(m, {
37
40
  className: "text-primary",
38
41
  size: 24
39
42
  })
40
- }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D(N, { children: e(c, "inviteAcceptance.signInRequired", "Sign in to view your invitation") }), /* @__PURE__ */ D(y, { children: e(c, "inviteAcceptance.signInDescription", "Workspace invitations require an authenticated Burdenoff account before you can review or accept them.") })] })]
41
- }) }), /* @__PURE__ */ O(v, {
43
+ }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O(I, { children: e(u, "inviteAcceptance.signInRequired", "Sign in to view your invitation") }), /* @__PURE__ */ O(b, { children: e(u, "inviteAcceptance.signInDescription", "Workspace invitations require an authenticated Burdenoff account before you can review or accept them.") })] })]
44
+ }) }), /* @__PURE__ */ k(y, {
42
45
  className: "space-y-4",
43
- children: [/* @__PURE__ */ D("p", {
46
+ children: [/* @__PURE__ */ O("p", {
44
47
  className: "text-sm text-text-secondary",
45
- children: e(c, "inviteAcceptance.signInHint", "Use the same email address that received the invitation, then come back here to accept or reject it.")
46
- }), /* @__PURE__ */ O("div", {
48
+ children: e(u, "inviteAcceptance.signInHint", "Use the same email address that received the invitation, then come back here to accept or reject it.")
49
+ }), /* @__PURE__ */ k("div", {
47
50
  className: "flex flex-col gap-3 sm:flex-row",
48
- children: [/* @__PURE__ */ D(_, {
51
+ children: [/* @__PURE__ */ O(v, {
49
52
  asChild: !0,
50
- children: /* @__PURE__ */ D("a", {
51
- href: U,
52
- children: e(c, "inviteAcceptance.signInButton", "Sign In")
53
+ children: /* @__PURE__ */ O("a", {
54
+ href: G,
55
+ children: e(u, "inviteAcceptance.signInButton", "Sign In")
53
56
  })
54
- }), /* @__PURE__ */ O(_, {
57
+ }), /* @__PURE__ */ k(v, {
55
58
  variant: "outline",
56
- onClick: () => T("/workspaces/list"),
57
- children: [/* @__PURE__ */ D(f, { className: "mr-2 size-4" }), e(c, "inviteAcceptance.backToWorkspaces", "Back to Workspaces")]
59
+ onClick: () => F("/workspaces/list"),
60
+ children: [/* @__PURE__ */ O(p, { className: "mr-2 size-4" }), e(u, "inviteAcceptance.backToWorkspaces", "Back to Workspaces")]
58
61
  })]
59
62
  })]
60
63
  })]
61
64
  })
62
65
  });
63
- let ce = () => {
64
- V && ie(V, {
66
+ let de = () => {
67
+ U && se(U, {
65
68
  onSuccess: () => {
66
- T("/workspaces/list");
69
+ F("/workspaces/list");
67
70
  },
68
71
  onError: (e) => {
69
72
  console.error("Failed to reject invitation:", e);
70
73
  }
71
74
  });
72
75
  };
73
- if (G) return /* @__PURE__ */ D(P, {});
74
- if (K) return /* @__PURE__ */ D(F, {
75
- error: K,
76
- onRetry: () => q()
76
+ if (q) return /* @__PURE__ */ O(ne, {});
77
+ if (J) return /* @__PURE__ */ O(re, {
78
+ error: J,
79
+ onRetry: () => ae()
77
80
  });
78
- if (!W) return /* @__PURE__ */ D(I, {});
79
- switch (W.status) {
80
- case "ACCEPTED": return /* @__PURE__ */ D(L, { invitation: W });
81
- case "REJECTED": return /* @__PURE__ */ D(re, { invitation: W });
82
- case "EXPIRED": return /* @__PURE__ */ D(R, { invitation: W });
83
- case "CANCELLED": return /* @__PURE__ */ D(z, { invitation: W });
84
- case "PENDING": return W.expiresAt && new Date(W.expiresAt) < /* @__PURE__ */ new Date() ? /* @__PURE__ */ D(R, { invitation: W }) : /* @__PURE__ */ D("div", {
81
+ if (!K) return /* @__PURE__ */ O(L, {});
82
+ switch (K.status) {
83
+ case "ACCEPTED": return /* @__PURE__ */ O(ie, { invitation: K });
84
+ case "REJECTED": return /* @__PURE__ */ O(R, { invitation: K });
85
+ case "EXPIRED": return /* @__PURE__ */ O(z, { invitation: K });
86
+ case "CANCELLED": return /* @__PURE__ */ O(B, { invitation: K });
87
+ case "PENDING": return K.expiresAt && new Date(K.expiresAt) < /* @__PURE__ */ new Date() ? /* @__PURE__ */ O(z, { invitation: K }) : /* @__PURE__ */ O("div", {
85
88
  className: "min-h-screen flex items-center justify-center p-4 bg-bg-sunken/30",
86
- children: /* @__PURE__ */ O(S, {
89
+ children: /* @__PURE__ */ k(C, {
87
90
  treatment: "glass",
88
91
  glow: !0,
89
92
  className: "max-w-2xl w-full",
90
- children: [/* @__PURE__ */ D(b, { children: /* @__PURE__ */ O("div", {
93
+ children: [/* @__PURE__ */ O(x, { children: /* @__PURE__ */ k("div", {
91
94
  className: "flex items-center gap-3",
92
- children: [/* @__PURE__ */ D("div", {
95
+ children: [/* @__PURE__ */ O("div", {
93
96
  className: "p-3 rounded-lg bg-action-primary-bg/10",
94
- children: /* @__PURE__ */ D(p, {
97
+ children: /* @__PURE__ */ O(m, {
95
98
  className: "text-primary",
96
99
  size: 24
97
100
  })
98
- }), /* @__PURE__ */ O("div", {
101
+ }), /* @__PURE__ */ k("div", {
99
102
  className: "flex-1",
100
- children: [/* @__PURE__ */ D(N, { children: e(c, "inviteAcceptance.pageTitle", "Workspace Invitation") }), /* @__PURE__ */ D(y, { children: e(c, "inviteAcceptance.pageSubtitle", "You've been invited to join a workspace") })]
103
+ children: [/* @__PURE__ */ O(I, { children: e(u, "inviteAcceptance.pageTitle", "Workspace Invitation") }), /* @__PURE__ */ O(b, { children: e(u, "inviteAcceptance.pageSubtitle", "You've been invited to join a workspace") })]
101
104
  })]
102
- }) }), /* @__PURE__ */ O(v, {
105
+ }) }), /* @__PURE__ */ k(y, {
103
106
  className: "space-y-6",
104
107
  children: [
105
- /* @__PURE__ */ D(C, { children: e(c, "inviteAcceptance.purpose", "Someone has invited you to join their workspace. Review the details below — which workspace it is, the roles and projects you would receive, and when the invite expires — then accept to become a member or reject to decline.") }),
106
- /* @__PURE__ */ O("div", {
108
+ /* @__PURE__ */ O(w, { children: e(u, "inviteAcceptance.purpose", "Someone has invited you to join their workspace. Review the details below — which workspace it is, the roles and projects you would receive, and when the invite expires — then accept to become a member or reject to decline.") }),
109
+ /* @__PURE__ */ k("div", {
107
110
  className: "space-y-4 p-4 rounded-lg bg-bg-sunken/50",
108
111
  children: [
109
- /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
112
+ /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
110
113
  className: "text-sm font-medium text-text-secondary",
111
- children: e(c, "inviteAcceptance.emailAddressLabel", "Email Address")
112
- }), /* @__PURE__ */ D("p", {
114
+ children: e(u, "inviteAcceptance.emailAddressLabel", "Email Address")
115
+ }), /* @__PURE__ */ O("p", {
113
116
  className: "text-lg font-medium mt-1",
114
- children: W.email
117
+ children: K.email
115
118
  })] }),
116
- /* @__PURE__ */ O("div", { children: [
117
- /* @__PURE__ */ D("p", {
119
+ /* @__PURE__ */ k("div", { children: [
120
+ /* @__PURE__ */ O("p", {
118
121
  className: "text-sm font-medium text-text-secondary",
119
- children: e(c, "inviteAcceptance.workspaceLabel", "Workspace")
122
+ children: e(u, "inviteAcceptance.workspaceLabel", "Workspace")
120
123
  }),
121
- /* @__PURE__ */ D("p", {
124
+ /* @__PURE__ */ O("p", {
122
125
  className: "text-lg font-medium mt-1 break-words",
123
- children: oe
126
+ children: le
124
127
  }),
125
- W.workspaceId && !B ? /* @__PURE__ */ D("p", {
128
+ K.workspaceId && !H ? /* @__PURE__ */ O("p", {
126
129
  className: "mt-1 font-mono text-xs text-text-secondary break-all",
127
- children: W.workspaceId
130
+ children: K.workspaceId
128
131
  }) : null
129
132
  ] }),
130
- W.expiresAt && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
133
+ K.expiresAt && /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
131
134
  className: "text-sm font-medium text-text-secondary",
132
- children: e(c, "inviteAcceptance.expiresLabel", "Expires")
133
- }), /* @__PURE__ */ O("p", {
135
+ children: e(u, "inviteAcceptance.expiresLabel", "Expires")
136
+ }), /* @__PURE__ */ k("p", {
134
137
  className: "text-lg font-medium mt-1 flex items-center gap-2",
135
- children: [/* @__PURE__ */ D(d, {
138
+ children: [/* @__PURE__ */ O(f, {
136
139
  size: 16,
137
140
  className: "text-text-secondary"
138
- }), new Date(W.expiresAt).toLocaleDateString("en-US", {
141
+ }), new Date(K.expiresAt).toLocaleDateString("en-US", {
139
142
  year: "numeric",
140
143
  month: "long",
141
144
  day: "numeric",
@@ -143,226 +146,236 @@ function M() {
143
146
  minute: "2-digit"
144
147
  })]
145
148
  })] }),
146
- Q.length > 0 && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
149
+ Q.length > 0 && /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
147
150
  className: "text-sm font-medium text-text-secondary mb-2",
148
- children: e(c, "inviteAcceptance.rolesLabel", "Roles")
149
- }), /* @__PURE__ */ D("div", {
151
+ children: e(u, "inviteAcceptance.rolesLabel", "Roles")
152
+ }), /* @__PURE__ */ O("div", {
150
153
  className: "flex flex-wrap gap-2",
151
- children: Q.map((e, t) => /* @__PURE__ */ D(g, {
154
+ children: Q.map((e, t) => /* @__PURE__ */ O(_, {
152
155
  variant: "secondary",
153
156
  children: e
154
- }, `${W.id}-${W.roleIds[t] ?? e}`))
157
+ }, `${K.id}-${K.roleIds[t] ?? e}`))
155
158
  })] }),
156
- /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
159
+ /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
157
160
  className: "text-sm font-medium text-text-secondary mb-2",
158
- children: e(c, "inviteAcceptance.projectsLabel", "Projects")
159
- }), /* @__PURE__ */ D("div", {
161
+ children: e(u, "inviteAcceptance.projectsLabel", "Projects")
162
+ }), /* @__PURE__ */ O("div", {
160
163
  className: "flex flex-wrap gap-2",
161
- children: $.length > 0 ? $.map((e, t) => /* @__PURE__ */ D(g, {
164
+ children: $.length > 0 ? $.map((e, t) => /* @__PURE__ */ O(_, {
162
165
  variant: "outline",
163
166
  children: e
164
- }, `${W.id}-project-${e}-${t}`)) : /* @__PURE__ */ D("p", {
167
+ }, `${K.id}-project-${e}-${t}`)) : /* @__PURE__ */ O("p", {
165
168
  className: "text-sm text-text-secondary",
166
- children: e(c, "inviteAcceptance.noProjects", "No project memberships will be granted automatically with this invitation.")
169
+ children: e(u, "inviteAcceptance.noProjects", "No project memberships will be granted automatically with this invitation.")
167
170
  })
168
171
  })] }),
169
- B ? /* @__PURE__ */ D(w, {
172
+ H ? /* @__PURE__ */ O(T, {
170
173
  copyable: !0,
171
- children: [`${e(c, "inviteAcceptance.invitationIdLabel", "Invitation ID")}: ${W.id}`, ...W.workspaceId ? [`${e(c, "inviteAcceptance.v2.workspaceIdLabel", "Workspace ID")}: ${W.workspaceId}`] : []].join("\n")
172
- }) : /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
174
+ children: [`${e(u, "inviteAcceptance.invitationIdLabel", "Invitation ID")}: ${K.id}`, ...K.workspaceId ? [`${e(u, "inviteAcceptance.v2.workspaceIdLabel", "Workspace ID")}: ${K.workspaceId}`] : []].join("\n")
175
+ }) : /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
173
176
  className: "text-sm font-medium text-text-secondary",
174
- children: e(c, "inviteAcceptance.invitationIdLabel", "Invitation ID")
175
- }), /* @__PURE__ */ D("p", {
177
+ children: e(u, "inviteAcceptance.invitationIdLabel", "Invitation ID")
178
+ }), /* @__PURE__ */ O("p", {
176
179
  className: "text-sm font-mono mt-1 text-text-secondary",
177
- children: W.id
180
+ children: K.id
178
181
  })] })
179
182
  ]
180
183
  }),
181
- /* @__PURE__ */ O("div", {
184
+ /* @__PURE__ */ k("div", {
182
185
  className: "flex flex-col sm:flex-row gap-3 pt-4 border-t",
183
- children: [/* @__PURE__ */ D(_, {
184
- onClick: se,
185
- disabled: Y || X,
186
+ children: [/* @__PURE__ */ O(v, {
187
+ busy: l && Y,
188
+ busyLabel: l ? e(u, "inviteAcceptance.accepting", "Accepting...") : void 0,
189
+ onClick: ue,
190
+ disabled: !l && Y || X,
186
191
  className: "flex-1",
187
192
  size: "lg",
188
- children: Y ? /* @__PURE__ */ O(E, { children: [/* @__PURE__ */ D(m, { className: "mr-2 size-4 animate-spin" }), e(c, "inviteAcceptance.accepting", "Accepting...")] }) : /* @__PURE__ */ O(E, { children: [/* @__PURE__ */ D(u, { className: "mr-2 size-4" }), e(c, "inviteAcceptance.acceptButton", "Accept Invitation")] })
189
- }), /* @__PURE__ */ D(_, {
193
+ children: !l && Y ? /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O(c, {
194
+ className: "mr-2 size-4",
195
+ today: /* @__PURE__ */ O(h, { className: "mr-2 size-4 animate-spin" })
196
+ }), e(u, "inviteAcceptance.accepting", "Accepting...")] }) : /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O(d, { className: "mr-2 size-4" }), e(u, "inviteAcceptance.acceptButton", "Accept Invitation")] })
197
+ }), /* @__PURE__ */ O(v, {
198
+ busy: l && X,
199
+ busyLabel: l ? e(u, "inviteAcceptance.rejecting", "Rejecting...") : void 0,
190
200
  variant: "outline",
191
- onClick: ce,
192
- disabled: Y || X,
201
+ onClick: de,
202
+ disabled: Y || !l && X,
193
203
  className: "flex-1",
194
204
  size: "lg",
195
- children: X ? /* @__PURE__ */ O(E, { children: [/* @__PURE__ */ D(m, { className: "mr-2 size-4 animate-spin" }), e(c, "inviteAcceptance.rejecting", "Rejecting...")] }) : /* @__PURE__ */ O(E, { children: [/* @__PURE__ */ D(h, { className: "mr-2 size-4" }), e(c, "inviteAcceptance.rejectButton", "Reject")] })
205
+ children: !l && X ? /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O(c, {
206
+ className: "mr-2 size-4",
207
+ today: /* @__PURE__ */ O(h, { className: "mr-2 size-4 animate-spin" })
208
+ }), e(u, "inviteAcceptance.rejecting", "Rejecting...")] }) : /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O(g, { className: "mr-2 size-4" }), e(u, "inviteAcceptance.rejectButton", "Reject")] })
196
209
  })]
197
210
  })
198
211
  ]
199
212
  })]
200
213
  })
201
214
  });
202
- default: return /* @__PURE__ */ D(I, {});
215
+ default: return /* @__PURE__ */ O(L, {});
203
216
  }
204
217
  }
205
- function N({ children: e }) {
206
- return o() ? /* @__PURE__ */ D("h1", {
218
+ function I({ children: e }) {
219
+ return a() ? /* @__PURE__ */ O("h1", {
207
220
  className: "text-lg font-semibold leading-tight tracking-tight text-text-primary",
208
221
  children: e
209
- }) : /* @__PURE__ */ D(x, { children: e });
222
+ }) : /* @__PURE__ */ O(S, { children: e });
210
223
  }
211
- function P() {
212
- return /* @__PURE__ */ D("div", {
224
+ function ne() {
225
+ return /* @__PURE__ */ O("div", {
213
226
  className: "min-h-screen flex items-center justify-center p-4 bg-bg-sunken/30",
214
- children: /* @__PURE__ */ O(S, {
227
+ children: /* @__PURE__ */ k(C, {
215
228
  treatment: "glass",
216
229
  className: "max-w-2xl w-full",
217
- children: [/* @__PURE__ */ D(b, { children: /* @__PURE__ */ O("div", {
230
+ children: [/* @__PURE__ */ O(x, { children: /* @__PURE__ */ k("div", {
218
231
  className: "flex items-center gap-3",
219
- children: [/* @__PURE__ */ D(T, { className: "size-12 rounded-lg" }), /* @__PURE__ */ O("div", {
232
+ children: [/* @__PURE__ */ O(E, { className: "size-12 rounded-lg" }), /* @__PURE__ */ k("div", {
220
233
  className: "flex-1 space-y-2",
221
- children: [/* @__PURE__ */ D(T, { className: "h-6 w-48" }), /* @__PURE__ */ D(T, { className: "h-4 w-64" })]
234
+ children: [/* @__PURE__ */ O(E, { className: "h-6 w-48" }), /* @__PURE__ */ O(E, { className: "h-4 w-64" })]
222
235
  })]
223
- }) }), /* @__PURE__ */ O(v, {
236
+ }) }), /* @__PURE__ */ k(y, {
224
237
  className: "space-y-6",
225
- children: [/* @__PURE__ */ O("div", {
238
+ children: [/* @__PURE__ */ k("div", {
226
239
  className: "space-y-4 p-4 rounded-lg bg-bg-sunken/50",
227
- children: [/* @__PURE__ */ O("div", {
240
+ children: [/* @__PURE__ */ k("div", {
228
241
  className: "space-y-2",
229
- children: [/* @__PURE__ */ D(T, { className: "h-4 w-24" }), /* @__PURE__ */ D(T, { className: "h-6 w-48" })]
230
- }), /* @__PURE__ */ O("div", {
242
+ children: [/* @__PURE__ */ O(E, { className: "h-4 w-24" }), /* @__PURE__ */ O(E, { className: "h-6 w-48" })]
243
+ }), /* @__PURE__ */ k("div", {
231
244
  className: "space-y-2",
232
- children: [/* @__PURE__ */ D(T, { className: "h-4 w-24" }), /* @__PURE__ */ D(T, { className: "h-6 w-64" })]
245
+ children: [/* @__PURE__ */ O(E, { className: "h-4 w-24" }), /* @__PURE__ */ O(E, { className: "h-6 w-64" })]
233
246
  })]
234
- }), /* @__PURE__ */ O("div", {
247
+ }), /* @__PURE__ */ k("div", {
235
248
  className: "flex gap-3 pt-4",
236
- children: [/* @__PURE__ */ D(T, { className: "h-12 flex-1" }), /* @__PURE__ */ D(T, { className: "h-12 flex-1" })]
249
+ children: [/* @__PURE__ */ O(E, { className: "h-12 flex-1" }), /* @__PURE__ */ O(E, { className: "h-12 flex-1" })]
237
250
  })]
238
251
  })]
239
252
  })
240
253
  });
241
254
  }
242
- function F({ error: t, onRetry: n }) {
243
- let { t: r } = k(), i = A();
244
- return /* @__PURE__ */ D("div", {
255
+ function re({ error: t, onRetry: n }) {
256
+ let { t: r } = A(), i = M();
257
+ return /* @__PURE__ */ O("div", {
245
258
  className: "min-h-screen flex items-center justify-center p-4 bg-bg-sunken/30",
246
- children: /* @__PURE__ */ O(S, {
259
+ children: /* @__PURE__ */ k(C, {
247
260
  treatment: "glass",
248
261
  className: "max-w-2xl w-full",
249
- children: [/* @__PURE__ */ D(b, { children: /* @__PURE__ */ O("div", {
262
+ children: [/* @__PURE__ */ O(x, { children: /* @__PURE__ */ k("div", {
250
263
  className: "flex items-center gap-3",
251
- children: [/* @__PURE__ */ D("div", {
264
+ children: [/* @__PURE__ */ O("div", {
252
265
  className: "p-3 rounded-lg bg-status-error-bg/10",
253
- children: /* @__PURE__ */ D(c, {
266
+ children: /* @__PURE__ */ O(l, {
254
267
  className: "text-status-error-text",
255
268
  size: 24
256
269
  })
257
- }), /* @__PURE__ */ O("div", {
270
+ }), /* @__PURE__ */ k("div", {
258
271
  className: "flex-1",
259
- children: [/* @__PURE__ */ D(N, { children: e(r, "inviteAcceptance.errorTitle", "Error Loading Invitation") }), /* @__PURE__ */ D(y, { children: e(r, "inviteAcceptance.errorDescription", "We couldn't load this invitation. Please try again.") })]
272
+ children: [/* @__PURE__ */ O(I, { children: e(r, "inviteAcceptance.errorTitle", "Error Loading Invitation") }), /* @__PURE__ */ O(b, { children: e(r, "inviteAcceptance.errorDescription", "We couldn't load this invitation. Please try again.") })]
260
273
  })]
261
- }) }), /* @__PURE__ */ O(v, {
274
+ }) }), /* @__PURE__ */ k(y, {
262
275
  className: "space-y-4",
263
- children: [/* @__PURE__ */ O("div", {
276
+ children: [/* @__PURE__ */ k("div", {
264
277
  className: "flex gap-3 p-4 rounded-lg border border-status-error-border/50 bg-status-error-bg/10",
265
- children: [/* @__PURE__ */ D(c, { className: "size-5 text-status-error-text flex-shrink-0 mt-0.5" }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
278
+ children: [/* @__PURE__ */ O(l, { className: "size-5 text-status-error-text flex-shrink-0 mt-0.5" }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
266
279
  className: "font-medium text-status-error-text",
267
280
  children: e(r, "inviteAcceptance.errorDetailsLabel", "Error Details")
268
- }), /* @__PURE__ */ D("p", {
281
+ }), /* @__PURE__ */ O("p", {
269
282
  className: "text-sm mt-1 text-status-error-text/90",
270
283
  children: t.message
271
284
  })] })]
272
- }), /* @__PURE__ */ O("div", {
285
+ }), /* @__PURE__ */ k("div", {
273
286
  className: "flex gap-3",
274
- children: [/* @__PURE__ */ O(_, {
287
+ children: [/* @__PURE__ */ k(v, {
275
288
  onClick: n,
276
289
  className: "flex-1",
277
- children: [/* @__PURE__ */ D(m, { className: "mr-2 size-4" }), e(r, "inviteAcceptance.tryAgain", "Try Again")]
278
- }), /* @__PURE__ */ O(_, {
290
+ children: [/* @__PURE__ */ O(h, { className: "mr-2 size-4" }), e(r, "inviteAcceptance.tryAgain", "Try Again")]
291
+ }), /* @__PURE__ */ k(v, {
279
292
  variant: "outline",
280
293
  onClick: () => i("/workspaces/list"),
281
294
  className: "flex-1",
282
- children: [/* @__PURE__ */ D(f, { className: "mr-2 size-4" }), e(r, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
295
+ children: [/* @__PURE__ */ O(p, { className: "mr-2 size-4" }), e(r, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
283
296
  })]
284
297
  })]
285
298
  })]
286
299
  })
287
300
  });
288
301
  }
289
- function I() {
290
- let { t } = k(), n = A();
291
- return /* @__PURE__ */ D("div", {
302
+ function L() {
303
+ let { t } = A(), n = M();
304
+ return /* @__PURE__ */ O("div", {
292
305
  className: "min-h-screen flex items-center justify-center p-4 bg-bg-sunken/30",
293
- children: /* @__PURE__ */ O(S, {
306
+ children: /* @__PURE__ */ k(C, {
294
307
  treatment: "glass",
295
308
  className: "max-w-2xl w-full",
296
- children: [/* @__PURE__ */ D(b, { children: /* @__PURE__ */ O("div", {
309
+ children: [/* @__PURE__ */ O(x, { children: /* @__PURE__ */ k("div", {
297
310
  className: "flex items-center gap-3",
298
- children: [/* @__PURE__ */ D("div", {
311
+ children: [/* @__PURE__ */ O("div", {
299
312
  className: "p-3 rounded-lg bg-bg-sunken",
300
- children: /* @__PURE__ */ D(c, {
313
+ children: /* @__PURE__ */ O(l, {
301
314
  className: "text-text-secondary",
302
315
  size: 24
303
316
  })
304
- }), /* @__PURE__ */ O("div", {
317
+ }), /* @__PURE__ */ k("div", {
305
318
  className: "flex-1",
306
- children: [/* @__PURE__ */ D(N, { children: e(t, "inviteAcceptance.notFoundTitle", "Invitation Not Found") }), /* @__PURE__ */ D(y, { children: e(t, "inviteAcceptance.notFoundDescription", "This invitation link is invalid or has been removed") })]
319
+ children: [/* @__PURE__ */ O(I, { children: e(t, "inviteAcceptance.notFoundTitle", "Invitation Not Found") }), /* @__PURE__ */ O(b, { children: e(t, "inviteAcceptance.notFoundDescription", "This invitation link is invalid or has been removed") })]
307
320
  })]
308
- }) }), /* @__PURE__ */ O(v, {
321
+ }) }), /* @__PURE__ */ k(y, {
309
322
  className: "space-y-4",
310
- children: [/* @__PURE__ */ O("div", {
323
+ children: [/* @__PURE__ */ k("div", {
311
324
  className: "flex gap-3 p-4 rounded-lg border border-border-subtle bg-bg-sunken/50",
312
- children: [/* @__PURE__ */ D(c, { className: "size-5 text-text-secondary flex-shrink-0 mt-0.5" }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
325
+ children: [/* @__PURE__ */ O(l, { className: "size-5 text-text-secondary flex-shrink-0 mt-0.5" }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
313
326
  className: "font-medium",
314
327
  children: e(t, "inviteAcceptance.invalidLinkHeading", "Invalid Invitation Link")
315
- }), /* @__PURE__ */ D("p", {
328
+ }), /* @__PURE__ */ O("p", {
316
329
  className: "text-sm mt-1 text-text-secondary",
317
330
  children: e(t, "inviteAcceptance.invalidLinkBody", "The invitation you're trying to access doesn't exist. It may have been deleted or the link is incorrect.")
318
331
  })] })]
319
- }), /* @__PURE__ */ O(_, {
332
+ }), /* @__PURE__ */ k(v, {
320
333
  onClick: () => n("/workspaces/list"),
321
334
  className: "w-full",
322
- children: [/* @__PURE__ */ D(f, { className: "mr-2 size-4" }), e(t, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
335
+ children: [/* @__PURE__ */ O(p, { className: "mr-2 size-4" }), e(t, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
323
336
  })]
324
337
  })]
325
338
  })
326
339
  });
327
340
  }
328
- function L({ invitation: t }) {
329
- let { t: n } = k(), r = A();
330
- return /* @__PURE__ */ D("div", {
341
+ function ie({ invitation: t }) {
342
+ let { t: n } = A(), r = M();
343
+ return /* @__PURE__ */ O("div", {
331
344
  className: "min-h-screen flex items-center justify-center p-4 bg-bg-sunken/30",
332
- children: /* @__PURE__ */ O(S, {
345
+ children: /* @__PURE__ */ k(C, {
333
346
  treatment: "glass",
334
347
  className: "max-w-2xl w-full",
335
- children: [/* @__PURE__ */ D(b, { children: /* @__PURE__ */ O("div", {
348
+ children: [/* @__PURE__ */ O(x, { children: /* @__PURE__ */ k("div", {
336
349
  className: "flex items-center gap-3",
337
- children: [/* @__PURE__ */ D("div", {
350
+ children: [/* @__PURE__ */ O("div", {
338
351
  className: "p-3 rounded-lg bg-status-success/10 transition-colors",
339
- children: /* @__PURE__ */ D(u, {
352
+ children: /* @__PURE__ */ O(d, {
340
353
  className: "text-status-success",
341
354
  size: 24
342
355
  })
343
- }), /* @__PURE__ */ O("div", {
356
+ }), /* @__PURE__ */ k("div", {
344
357
  className: "flex-1",
345
- children: [/* @__PURE__ */ D(N, { children: e(n, "inviteAcceptance.alreadyAcceptedTitle", "Invitation Already Accepted") }), /* @__PURE__ */ D(y, { children: e(n, "inviteAcceptance.alreadyAcceptedDescription", "This invitation has already been accepted") })]
358
+ children: [/* @__PURE__ */ O(I, { children: e(n, "inviteAcceptance.alreadyAcceptedTitle", "Invitation Already Accepted") }), /* @__PURE__ */ O(b, { children: e(n, "inviteAcceptance.alreadyAcceptedDescription", "This invitation has already been accepted") })]
346
359
  })]
347
- }) }), /* @__PURE__ */ O(v, {
360
+ }) }), /* @__PURE__ */ k(y, {
348
361
  className: "space-y-4",
349
- children: [/* @__PURE__ */ O("div", {
362
+ children: [/* @__PURE__ */ k("div", {
350
363
  className: "flex gap-3 p-4 rounded-lg border border-status-success/30 bg-status-success/10 transition-colors",
351
- children: [/* @__PURE__ */ D(u, { className: "size-5 text-status-success flex-shrink-0 mt-0.5" }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
364
+ children: [/* @__PURE__ */ O(d, { className: "size-5 text-status-success flex-shrink-0 mt-0.5" }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
352
365
  className: "font-medium text-status-success",
353
366
  children: e(n, "inviteAcceptance.alreadyMember", "You're already a member")
354
- }), /* @__PURE__ */ O("p", {
367
+ }), /* @__PURE__ */ k("p", {
355
368
  className: "text-sm mt-1 text-status-success/80",
356
369
  children: [
357
370
  e(n, "inviteAcceptance.alreadyAcceptedPrefix", "This invitation to "),
358
- /* @__PURE__ */ D("span", {
371
+ /* @__PURE__ */ O("span", {
359
372
  className: "font-medium",
360
373
  children: t.email
361
374
  }),
362
375
  e(n, "inviteAcceptance.alreadyAcceptedSuffix", " has already been accepted.")
363
376
  ]
364
377
  })] })]
365
- }), /* @__PURE__ */ D(_, {
378
+ }), /* @__PURE__ */ O(v, {
366
379
  onClick: () => r(`/workspaces/${t.workspaceId}/members`),
367
380
  className: "w-full",
368
381
  children: e(n, "inviteAcceptance.goToWorkspace", "Go to Workspace")
@@ -371,85 +384,85 @@ function L({ invitation: t }) {
371
384
  })
372
385
  });
373
386
  }
374
- function re({ invitation: t }) {
375
- let { t: n } = k(), r = A();
376
- return /* @__PURE__ */ D("div", {
387
+ function R({ invitation: t }) {
388
+ let { t: n } = A(), r = M();
389
+ return /* @__PURE__ */ O("div", {
377
390
  className: "min-h-screen flex items-center justify-center p-4 bg-bg-sunken/30",
378
- children: /* @__PURE__ */ O(S, {
391
+ children: /* @__PURE__ */ k(C, {
379
392
  treatment: "glass",
380
393
  className: "max-w-2xl w-full",
381
- children: [/* @__PURE__ */ D(b, { children: /* @__PURE__ */ O("div", {
394
+ children: [/* @__PURE__ */ O(x, { children: /* @__PURE__ */ k("div", {
382
395
  className: "flex items-center gap-3",
383
- children: [/* @__PURE__ */ D("div", {
396
+ children: [/* @__PURE__ */ O("div", {
384
397
  className: "p-3 rounded-lg bg-bg-sunken",
385
- children: /* @__PURE__ */ D(h, {
398
+ children: /* @__PURE__ */ O(g, {
386
399
  className: "text-text-secondary",
387
400
  size: 24
388
401
  })
389
- }), /* @__PURE__ */ O("div", {
402
+ }), /* @__PURE__ */ k("div", {
390
403
  className: "flex-1",
391
- children: [/* @__PURE__ */ D(N, { children: e(n, "inviteAcceptance.rejectedTitle", "Invitation Rejected") }), /* @__PURE__ */ D(y, { children: e(n, "inviteAcceptance.rejectedDescription", "You've already declined this invitation") })]
404
+ children: [/* @__PURE__ */ O(I, { children: e(n, "inviteAcceptance.rejectedTitle", "Invitation Rejected") }), /* @__PURE__ */ O(b, { children: e(n, "inviteAcceptance.rejectedDescription", "You've already declined this invitation") })]
392
405
  })]
393
- }) }), /* @__PURE__ */ O(v, {
406
+ }) }), /* @__PURE__ */ k(y, {
394
407
  className: "space-y-4",
395
- children: [/* @__PURE__ */ O("div", {
408
+ children: [/* @__PURE__ */ k("div", {
396
409
  className: "flex gap-3 p-4 rounded-lg border border-border-subtle bg-bg-sunken/50",
397
- children: [/* @__PURE__ */ D(h, { className: "size-5 text-text-secondary flex-shrink-0 mt-0.5" }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
410
+ children: [/* @__PURE__ */ O(g, { className: "size-5 text-text-secondary flex-shrink-0 mt-0.5" }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
398
411
  className: "font-medium",
399
412
  children: e(n, "inviteAcceptance.invitationDeclined", "Invitation Declined")
400
- }), /* @__PURE__ */ O("p", {
413
+ }), /* @__PURE__ */ k("p", {
401
414
  className: "text-sm mt-1 text-text-secondary",
402
415
  children: [
403
416
  e(n, "inviteAcceptance.rejectedPrefix", "This invitation to "),
404
- /* @__PURE__ */ D("span", {
417
+ /* @__PURE__ */ O("span", {
405
418
  className: "font-medium",
406
419
  children: t.email
407
420
  }),
408
421
  e(n, "inviteAcceptance.rejectedSuffix", " was previously rejected.")
409
422
  ]
410
423
  })] })]
411
- }), /* @__PURE__ */ O(_, {
424
+ }), /* @__PURE__ */ k(v, {
412
425
  onClick: () => r("/workspaces/list"),
413
426
  className: "w-full",
414
- children: [/* @__PURE__ */ D(f, { className: "mr-2 size-4" }), e(n, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
427
+ children: [/* @__PURE__ */ O(p, { className: "mr-2 size-4" }), e(n, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
415
428
  })]
416
429
  })]
417
430
  })
418
431
  });
419
432
  }
420
- function R({ invitation: t }) {
421
- let { t: n } = k(), r = A();
422
- return /* @__PURE__ */ D("div", {
433
+ function z({ invitation: t }) {
434
+ let { t: n } = A(), r = M();
435
+ return /* @__PURE__ */ O("div", {
423
436
  className: "min-h-screen flex items-center justify-center p-4 bg-bg-sunken/30",
424
- children: /* @__PURE__ */ O(S, {
437
+ children: /* @__PURE__ */ k(C, {
425
438
  treatment: "glass",
426
439
  className: "max-w-2xl w-full",
427
- children: [/* @__PURE__ */ D(b, { children: /* @__PURE__ */ O("div", {
440
+ children: [/* @__PURE__ */ O(x, { children: /* @__PURE__ */ k("div", {
428
441
  className: "flex items-center gap-3",
429
- children: [/* @__PURE__ */ D("div", {
442
+ children: [/* @__PURE__ */ O("div", {
430
443
  className: "p-3 rounded-lg bg-status-warning/10 transition-colors",
431
- children: /* @__PURE__ */ D(d, {
444
+ children: /* @__PURE__ */ O(f, {
432
445
  className: "text-status-warning",
433
446
  size: 24
434
447
  })
435
- }), /* @__PURE__ */ O("div", {
448
+ }), /* @__PURE__ */ k("div", {
436
449
  className: "flex-1",
437
- children: [/* @__PURE__ */ D(N, { children: e(n, "inviteAcceptance.expiredTitle", "Invitation Expired") }), /* @__PURE__ */ D(y, { children: e(n, "inviteAcceptance.expiredDescription", "This invitation has expired") })]
450
+ children: [/* @__PURE__ */ O(I, { children: e(n, "inviteAcceptance.expiredTitle", "Invitation Expired") }), /* @__PURE__ */ O(b, { children: e(n, "inviteAcceptance.expiredDescription", "This invitation has expired") })]
438
451
  })]
439
- }) }), /* @__PURE__ */ O(v, {
452
+ }) }), /* @__PURE__ */ k(y, {
440
453
  className: "space-y-4",
441
- children: [/* @__PURE__ */ O("div", {
454
+ children: [/* @__PURE__ */ k("div", {
442
455
  className: "flex gap-3 p-4 rounded-lg border border-status-warning/30 bg-status-warning/10 transition-colors",
443
- children: [/* @__PURE__ */ D(d, { className: "size-5 text-status-warning flex-shrink-0 mt-0.5" }), /* @__PURE__ */ O("div", { children: [
444
- /* @__PURE__ */ D("p", {
456
+ children: [/* @__PURE__ */ O(f, { className: "size-5 text-status-warning flex-shrink-0 mt-0.5" }), /* @__PURE__ */ k("div", { children: [
457
+ /* @__PURE__ */ O("p", {
445
458
  className: "font-medium text-status-warning",
446
459
  children: e(n, "inviteAcceptance.expiredHeading", "Invitation No Longer Valid")
447
460
  }),
448
- /* @__PURE__ */ O("p", {
461
+ /* @__PURE__ */ k("p", {
449
462
  className: "text-sm mt-1 text-status-warning/80",
450
463
  children: [
451
464
  e(n, "inviteAcceptance.expiredPrefix", "This invitation to "),
452
- /* @__PURE__ */ D("span", {
465
+ /* @__PURE__ */ O("span", {
453
466
  className: "font-medium",
454
467
  children: t.email
455
468
  }),
@@ -462,64 +475,64 @@ function R({ invitation: t }) {
462
475
  "."
463
476
  ]
464
477
  }),
465
- /* @__PURE__ */ D("p", {
478
+ /* @__PURE__ */ O("p", {
466
479
  className: "text-sm mt-2 text-status-warning/80",
467
480
  children: e(n, "inviteAcceptance.expiredContactAdmin", "Please contact the workspace admin to request a new invitation.")
468
481
  })
469
482
  ] })]
470
- }), /* @__PURE__ */ O(_, {
483
+ }), /* @__PURE__ */ k(v, {
471
484
  onClick: () => r("/workspaces/list"),
472
485
  className: "w-full",
473
- children: [/* @__PURE__ */ D(f, { className: "mr-2 size-4" }), e(n, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
486
+ children: [/* @__PURE__ */ O(p, { className: "mr-2 size-4" }), e(n, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
474
487
  })]
475
488
  })]
476
489
  })
477
490
  });
478
491
  }
479
- function z({ invitation: t }) {
480
- let { t: n } = k(), r = A();
481
- return /* @__PURE__ */ D("div", {
492
+ function B({ invitation: t }) {
493
+ let { t: n } = A(), r = M();
494
+ return /* @__PURE__ */ O("div", {
482
495
  className: "min-h-screen flex items-center justify-center p-4 bg-bg-sunken/30",
483
- children: /* @__PURE__ */ O(S, {
496
+ children: /* @__PURE__ */ k(C, {
484
497
  treatment: "glass",
485
498
  className: "max-w-2xl w-full",
486
- children: [/* @__PURE__ */ D(b, { children: /* @__PURE__ */ O("div", {
499
+ children: [/* @__PURE__ */ O(x, { children: /* @__PURE__ */ k("div", {
487
500
  className: "flex items-center gap-3",
488
- children: [/* @__PURE__ */ D("div", {
501
+ children: [/* @__PURE__ */ O("div", {
489
502
  className: "p-3 rounded-lg bg-status-error-bg/10",
490
- children: /* @__PURE__ */ D(l, {
503
+ children: /* @__PURE__ */ O(u, {
491
504
  className: "text-status-error-text",
492
505
  size: 24
493
506
  })
494
- }), /* @__PURE__ */ O("div", {
507
+ }), /* @__PURE__ */ k("div", {
495
508
  className: "flex-1",
496
- children: [/* @__PURE__ */ D(N, { children: e(n, "inviteAcceptance.cancelledTitle", "Invitation Cancelled") }), /* @__PURE__ */ D(y, { children: e(n, "inviteAcceptance.cancelledDescription", "This invitation has been cancelled by the sender") })]
509
+ children: [/* @__PURE__ */ O(I, { children: e(n, "inviteAcceptance.cancelledTitle", "Invitation Cancelled") }), /* @__PURE__ */ O(b, { children: e(n, "inviteAcceptance.cancelledDescription", "This invitation has been cancelled by the sender") })]
497
510
  })]
498
- }) }), /* @__PURE__ */ O(v, {
511
+ }) }), /* @__PURE__ */ k(y, {
499
512
  className: "space-y-4",
500
- children: [/* @__PURE__ */ O("div", {
513
+ children: [/* @__PURE__ */ k("div", {
501
514
  className: "flex gap-3 p-4 rounded-lg border border-status-error-border/50 bg-status-error-bg/10",
502
- children: [/* @__PURE__ */ D(l, { className: "size-5 text-status-error-text flex-shrink-0 mt-0.5" }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
515
+ children: [/* @__PURE__ */ O(u, { className: "size-5 text-status-error-text flex-shrink-0 mt-0.5" }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
503
516
  className: "font-medium text-status-error-text",
504
517
  children: e(n, "inviteAcceptance.cancelledHeading", "Invitation No Longer Available")
505
- }), /* @__PURE__ */ O("p", {
518
+ }), /* @__PURE__ */ k("p", {
506
519
  className: "text-sm mt-1 text-status-error-text/90",
507
520
  children: [
508
521
  e(n, "inviteAcceptance.cancelledPrefix", "This invitation to "),
509
- /* @__PURE__ */ D("span", {
522
+ /* @__PURE__ */ O("span", {
510
523
  className: "font-medium",
511
524
  children: t.email
512
525
  }),
513
526
  e(n, "inviteAcceptance.cancelledSuffix", " was cancelled by the workspace admin and is no longer valid.")
514
527
  ]
515
528
  })] })]
516
- }), /* @__PURE__ */ O(_, {
529
+ }), /* @__PURE__ */ k(v, {
517
530
  onClick: () => r("/workspaces/list"),
518
531
  className: "w-full",
519
- children: [/* @__PURE__ */ D(f, { className: "mr-2 size-4" }), e(n, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
532
+ children: [/* @__PURE__ */ O(p, { className: "mr-2 size-4" }), e(n, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
520
533
  })]
521
534
  })]
522
535
  })
523
536
  });
524
537
  }
525
- export { M as InviteAcceptancePage };
538
+ export { F as InviteAcceptancePage };