@cobaltcore-dev/aurora 0.8.1 → 0.9.0

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.
Files changed (62) hide show
  1. package/README.md +47 -13
  2. package/dist/client/AuroraApp.d.ts +14 -0
  3. package/dist/client/ContentHeader-D4jlOG-9.mjs +96 -0
  4. package/dist/client/ContentHeader-D4jlOG-9.mjs.map +1 -0
  5. package/dist/client/Slot-CWb612-_.mjs +28 -0
  6. package/dist/client/Slot-CWb612-_.mjs.map +1 -0
  7. package/dist/client/{_flavorId-iZE2j210.mjs → _flavorId-DsD2VTKA.mjs} +3 -3
  8. package/dist/client/{_flavorId-iZE2j210.mjs.map → _flavorId-DsD2VTKA.mjs.map} +1 -1
  9. package/dist/client/{_flavorId-DU4gcFna.mjs → _flavorId-Dy7EYQum.mjs} +2 -2
  10. package/dist/client/{_flavorId-DU4gcFna.mjs.map → _flavorId-Dy7EYQum.mjs.map} +1 -1
  11. package/dist/client/{_floatingIpId-B5GMSLeQ.mjs → _floatingIpId-BjVbeNw_.mjs} +2 -2
  12. package/dist/client/{_floatingIpId-B5GMSLeQ.mjs.map → _floatingIpId-BjVbeNw_.mjs.map} +1 -1
  13. package/dist/client/{_floatingIpId-C2-BeRmF.mjs → _floatingIpId-j17rCQqG2.mjs} +2 -2
  14. package/dist/client/_floatingIpId-j17rCQqG2.mjs.map +1 -0
  15. package/dist/client/{_imageId-zmaSymWe.mjs → _imageId-BjfhqAje.mjs} +2 -2
  16. package/dist/client/{_imageId-zmaSymWe.mjs.map → _imageId-BjfhqAje.mjs.map} +1 -1
  17. package/dist/client/_projectId-B_2sZKk-.mjs.map +1 -1
  18. package/dist/client/{_projectId-C8BaEHUj.mjs → _projectId-BaqZ4W50.mjs} +146 -123
  19. package/dist/client/_projectId-BaqZ4W50.mjs.map +1 -0
  20. package/dist/client/_projectId-CARHuZTU.mjs +106 -0
  21. package/dist/client/_projectId-CARHuZTU.mjs.map +1 -0
  22. package/dist/client/_projectId-DR_2U10f.mjs +27 -0
  23. package/dist/client/_projectId-DR_2U10f.mjs.map +1 -0
  24. package/dist/client/{_storageType-B-qGcGUQ.mjs → _storageType-B0eJODiQ.mjs} +3 -3
  25. package/dist/client/{_storageType-B-qGcGUQ.mjs.map → _storageType-B0eJODiQ.mjs.map} +1 -1
  26. package/dist/client/{_storageType-CepuevDG.mjs → _storageType-D7-_Xwwl.mjs} +2 -2
  27. package/dist/client/{_storageType-CepuevDG.mjs.map → _storageType-D7-_Xwwl.mjs.map} +1 -1
  28. package/dist/client/{flavors-BfsEBUE-.mjs → flavors-C-gY4XeQ.mjs} +3 -3
  29. package/dist/client/{flavors-BfsEBUE-.mjs.map → flavors-C-gY4XeQ.mjs.map} +1 -1
  30. package/dist/client/{flavors-8bZVlzzb.mjs → flavors-Dwy1ID_f.mjs} +2 -2
  31. package/dist/client/{flavors-8bZVlzzb.mjs.map → flavors-Dwy1ID_f.mjs.map} +1 -1
  32. package/dist/client/{images-BPnTuKFO2.mjs → images-HG7TneK0.mjs} +3 -3
  33. package/dist/client/images-HG7TneK0.mjs.map +1 -0
  34. package/dist/client/{images-8FOgju2f.mjs → images-bG-MZZ7V.mjs} +2 -2
  35. package/dist/client/{images-8FOgju2f.mjs.map → images-bG-MZZ7V.mjs.map} +1 -1
  36. package/dist/client/index.js +181 -171
  37. package/dist/client/index.js.map +1 -1
  38. package/dist/client/{pca-5wOBf_KI.mjs → pca-BBxPCAH0.mjs} +3 -3
  39. package/dist/client/{pca-5wOBf_KI.mjs.map → pca-BBxPCAH0.mjs.map} +1 -1
  40. package/dist/client/{pca-dhrOFfrE.mjs → pca-D7DF_BZZ.mjs} +2 -2
  41. package/dist/client/{pca-dhrOFfrE.mjs.map → pca-D7DF_BZZ.mjs.map} +1 -1
  42. package/dist/client/{projects-B_PPyZD1.mjs → projects-B5topuei.mjs} +2 -2
  43. package/dist/client/projects-B5topuei.mjs.map +1 -0
  44. package/dist/client/projects-CHYn7L5e.mjs.map +1 -1
  45. package/dist/client/projects-DNd3UTas.mjs +110 -0
  46. package/dist/client/projects-DNd3UTas.mjs.map +1 -0
  47. package/dist/client/projects-yiK0HGSA.mjs.map +1 -1
  48. package/dist/client/routeInfo-Dy9l-wFB.mjs +31 -0
  49. package/dist/client/routeInfo-Dy9l-wFB.mjs.map +1 -0
  50. package/package.json +3 -3
  51. package/dist/client/ContentHeader-C51H95X8.mjs +0 -85
  52. package/dist/client/ContentHeader-C51H95X8.mjs.map +0 -1
  53. package/dist/client/_floatingIpId-C2-BeRmF.mjs.map +0 -1
  54. package/dist/client/_projectId-C8BaEHUj.mjs.map +0 -1
  55. package/dist/client/_projectId-COt93OEF.mjs +0 -84
  56. package/dist/client/_projectId-COt93OEF.mjs.map +0 -1
  57. package/dist/client/images-BPnTuKFO2.mjs.map +0 -1
  58. package/dist/client/projects-B_PPyZD1.mjs.map +0 -1
  59. package/dist/client/projects-Dmewygrp.mjs +0 -105
  60. package/dist/client/projects-Dmewygrp.mjs.map +0 -1
  61. package/dist/client/routeInfo-CHiJfum5.mjs +0 -73
  62. package/dist/client/routeInfo-CHiJfum5.mjs.map +0 -1
@@ -1,31 +1,33 @@
1
- import { D as e, F as t, H as n, I as r, J as i, K as a, P as o, Q as s, R as c, Y as l, _ as u, at as d, b as f, ct as p, i as m, j as h, k as g, ot as _, s as v, tt as ee } from "./build-BdRRmNf5.mjs";
1
+ import { D as e, F as t, H as n, I as r, J as i, K as a, P as o, Q as s, R as c, Y as l, _ as u, at as d, b as f, ct as p, i as m, j as ee, k as h, ot as g, s as _, tt as v } from "./build-BdRRmNf5.mjs";
2
2
  import { n as y, t as b } from "./AuthProvider-Co4d0WzB.mjs";
3
- import { i as x, n as S, r as C, t as te } from "./trpcClient-BzPUgiM2.mjs";
3
+ import { i as te, n as x, r as S, t as C } from "./trpcClient-BzPUgiM2.mjs";
4
4
  import { t as w } from "./cn-DM4Cy3jv.mjs";
5
- import { n as ne, r as T, t as re } from "./routeInfo-CHiJfum5.mjs";
6
- import { t as ie } from "./RouteError-DVAiT0mT.mjs";
7
- import { n as ae, t as oe } from "./_flavorId-DU4gcFna.mjs";
8
- import { t as se } from "./useErrorTranslation-Dc0eE8Zt.mjs";
9
- import { t as ce } from "./projects-B_PPyZD1.mjs";
5
+ import { t as T } from "./Slot-CWb612-_.mjs";
6
+ import { t as ne } from "./RouteError-DVAiT0mT.mjs";
7
+ import { n as re, t as ie } from "./_flavorId-Dy7EYQum.mjs";
8
+ import { t as ae } from "./useErrorTranslation-Dc0eE8Zt.mjs";
9
+ import { t as oe } from "./projects-B5topuei.mjs";
10
+ import { t as se } from "./_projectId-DR_2U10f.mjs";
10
11
  import { t as E } from "./helpers-1PpYf-fC.mjs";
11
- import { t as le } from "./pca-dhrOFfrE.mjs";
12
- import { t as ue } from "./images-8FOgju2f.mjs";
13
- import { t as de } from "./flavors-8bZVlzzb.mjs";
14
- import { t as fe } from "./_storageType-CepuevDG.mjs";
15
- import { t as pe } from "./_pcaId-DUHQd0rB.mjs";
16
- import { t as me } from "./_securityGroupId-fhK1CuZh.mjs";
17
- import { t as he } from "./_floatingIpId-B5GMSLeQ.mjs";
18
- import { t as ge } from "./objects-DKWp9RtR.mjs";
12
+ import { t as ce } from "./pca-D7DF_BZZ.mjs";
13
+ import { t as le } from "./images-bG-MZZ7V.mjs";
14
+ import { t as ue } from "./flavors-Dwy1ID_f.mjs";
15
+ import { t as de } from "./_storageType-D7-_Xwwl.mjs";
16
+ import { t as fe } from "./_pcaId-DUHQd0rB.mjs";
17
+ import { t as pe } from "./_securityGroupId-fhK1CuZh.mjs";
18
+ import { t as me } from "./_floatingIpId-BjVbeNw_.mjs";
19
+ import { t as he } from "./objects-DKWp9RtR.mjs";
20
+ import { t as ge } from "./routeInfo-Dy9l-wFB.mjs";
19
21
  import { Fragment as _e, jsx as D, jsxs as O } from "react/jsx-runtime";
20
22
  import { Fragment as ve, useCallback as ye, useEffect as k, useRef as be, useState as A } from "react";
21
- import { HeadContent as xe, Link as j, Outlet as Se, RouterProvider as Ce, createFileRoute as M, createRootRouteWithContext as we, createRouter as Te, lazyRouteComponent as N, redirect as P, useNavigate as F, useRouter as Ee, useRouterState as De } from "@tanstack/react-router";
22
- import { QueryClient as Oe, QueryClientProvider as ke, hashKey as Ae } from "@tanstack/react-query";
23
- import { I18nProvider as je, Trans as I, useLingui as L } from "@lingui/react";
24
- import { z as R } from "zod";
25
- import { i18n as z } from "@lingui/core";
26
- import { ErrorBoundary as Me } from "react-error-boundary";
23
+ import { HeadContent as xe, Link as Se, Outlet as Ce, RouterProvider as we, createFileRoute as j, createRootRouteWithContext as Te, createRouter as Ee, lazyRouteComponent as M, redirect as N, useNavigate as P, useRouter as De, useRouterState as Oe } from "@tanstack/react-router";
24
+ import { QueryClient as ke, QueryClientProvider as Ae, hashKey as je } from "@tanstack/react-query";
25
+ import { I18nProvider as Me, Trans as F, useLingui as I } from "@lingui/react";
26
+ import { z as L } from "zod";
27
+ import { i18n as R } from "@lingui/core";
28
+ import { ErrorBoundary as Ne } from "react-error-boundary";
27
29
  //#region src/client/assets/logo.svg?react
28
- var Ne = (e) => /* @__PURE__ */ O("svg", {
30
+ var Pe = (e) => /* @__PURE__ */ O("svg", {
29
31
  viewBox: "0 0 500 500",
30
32
  xmlns: "http://www.w3.org/2000/svg",
31
33
  desc: "Created with imagetracer.js version 1.2.6",
@@ -89,8 +91,8 @@ var Ne = (e) => /* @__PURE__ */ O("svg", {
89
91
  });
90
92
  //#endregion
91
93
  //#region src/client/components/Auth/SessionExpirationTimer.tsx
92
- function Pe(e) {
93
- let [t, n] = A(""), r = F(), i = De({ select: (e) => e.location.pathname });
94
+ function Fe(e) {
95
+ let [t, n] = A(""), r = P(), i = Oe({ select: (e) => e.location.pathname });
94
96
  return k(() => {
95
97
  let t = () => {
96
98
  let t = /* @__PURE__ */ new Date(), r = e.sessionExpired.getTime() - t.getTime();
@@ -129,7 +131,7 @@ function Pe(e) {
129
131
  ]), /*#__PURE__*/ O("div", {
130
132
  className: w("text-theme-light pt-2 pb-2 text-xs", e.className),
131
133
  children: [
132
- /*#__PURE__*/ D(I, { id: "1pGUZa" }),
134
+ /*#__PURE__*/ D(F, { id: "1pGUZa" }),
133
135
  " ",
134
136
  t
135
137
  ]
@@ -137,11 +139,11 @@ function Pe(e) {
137
139
  }
138
140
  //#endregion
139
141
  //#region src/client/components/navigation/UserMenu.tsx
140
- function Fe() {
141
- let [t, n] = A(!1), { isAuthenticated: r, user: i, logout: a, expiresAt: o } = y(), s = F();
142
+ function Ie() {
143
+ let [t, n] = A(!1), { isAuthenticated: r, user: i, logout: a, expiresAt: o } = y(), s = P();
142
144
  return /*#__PURE__*/ D(e, {
143
145
  icon: "accountCircle",
144
- children: /*#__PURE__*/ D(_, { children: r ? /*#__PURE__*/ O(_e, { children: [
146
+ children: /*#__PURE__*/ D(g, { children: r ? /*#__PURE__*/ O(_e, { children: [
145
147
  /*#__PURE__*/ D(d, { children: /*#__PURE__*/ O(f, { children: [/*#__PURE__*/ D("div", {
146
148
  className: "font-semibold",
147
149
  children: i?.name
@@ -150,14 +152,14 @@ function Fe() {
150
152
  children: i.domain.name
151
153
  })] }) }),
152
154
  /*#__PURE__*/ D(m, {}),
153
- /*#__PURE__*/ O(d, { children: [/*#__PURE__*/ D(g, {
155
+ /*#__PURE__*/ O(d, { children: [/*#__PURE__*/ D(h, {
154
156
  icon: "exitToApp",
155
157
  label: t ? "Signing out…" : "Log Out",
156
158
  disabled: t,
157
159
  onClick: async () => {
158
160
  n(!0);
159
161
  try {
160
- await S.auth.terminateUserSession.mutate();
162
+ await x.auth.terminateUserSession.mutate();
161
163
  } catch (e) {
162
164
  console.error("Error logging out: ", e);
163
165
  } finally {
@@ -169,11 +171,11 @@ function Fe() {
169
171
  n(!1), await s({ to: "/" });
170
172
  }
171
173
  }
172
- }), o && /*#__PURE__*/ D(f, { children: /*#__PURE__*/ D(Pe, {
174
+ }), o && /*#__PURE__*/ D(f, { children: /*#__PURE__*/ D(Fe, {
173
175
  sessionExpired: o,
174
176
  logout: () => a("expired")
175
177
  }) })] })
176
- ] }) : /*#__PURE__*/ D(d, { children: /*#__PURE__*/ D(g, {
178
+ ] }) : /*#__PURE__*/ D(d, { children: /*#__PURE__*/ D(h, {
177
179
  icon: "manageAccounts",
178
180
  label: "Sign In",
179
181
  onClick: () => {
@@ -184,30 +186,30 @@ function Fe() {
184
186
  }
185
187
  //#endregion
186
188
  //#region src/client/components/navigation/MainNavigation.tsx
187
- var B = "text-theme-pageheader-appname-default", Ie = "hover:text-theme-pageheader-appname-hover";
189
+ var z = "text-theme-pageheader-appname-default", B = "hover:text-theme-pageheader-appname-hover";
188
190
  function Le({ items: e, handleThemeToggle: t, appName: n, slots: i }) {
189
191
  let a = n ?? "Aurora";
190
192
  return /*#__PURE__*/ O(c, {
191
193
  logo: i?.logo ? /*#__PURE__*/ D(T, {
192
194
  component: i.logo,
193
195
  useShadowDOM: !1
194
- }) : /*#__PURE__*/ D(Ne, {
195
- className: w("h-6 w-6 shrink-0 fill-current", B),
196
+ }) : /*#__PURE__*/ D(Pe, {
197
+ className: w("h-6 w-6 shrink-0 fill-current", z),
196
198
  title: a
197
199
  }),
198
- applicationName: /*#__PURE__*/ D(j, {
200
+ applicationName: /*#__PURE__*/ D(Se, {
199
201
  to: "/projects",
200
- className: w("shrink-0", B, Ie),
202
+ className: w("shrink-0", z, B),
201
203
  children: a
202
204
  }),
203
205
  children: [
204
- e.map(({ route: e, label: t }, n) => /*#__PURE__*/ D(j, {
205
- className: w("shrink-0", B, Ie),
206
+ e.map(({ route: e, label: t }, n) => /*#__PURE__*/ D(Se, {
207
+ className: w("shrink-0", z, B),
206
208
  to: e,
207
209
  children: t
208
210
  }, n)),
209
211
  /*#__PURE__*/ D(r, { onToggleTheme: (e) => t?.(e) }),
210
- /*#__PURE__*/ D(Fe, {})
212
+ /*#__PURE__*/ D(Ie, {})
211
213
  ]
212
214
  });
213
215
  }
@@ -217,7 +219,7 @@ var Re = "/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n@la
217
219
  //#endregion
218
220
  //#region src/client/components/Auth/InactivityModal.tsx
219
221
  function ze() {
220
- let { i18n: e, _: t } = L(), { showInactivityModal: n, closeInactivityModal: r, logoutReason: i } = y();
222
+ let { i18n: e, _: t } = I(), { showInactivityModal: n, closeInactivityModal: r, logoutReason: i } = y();
221
223
  if (!n) return null;
222
224
  let a = i === "expired" ? e._({ id: "M5rEN5" }) : e._({ id: "U6L+P/" }), o = i === "expired" ? e._({ id: "DDRhQm" }) : e._({ id: "lw1412" });
223
225
  return /*#__PURE__*/ O(p, {
@@ -227,12 +229,12 @@ function ze() {
227
229
  confirmButtonLabel: e._({ id: "zga9sT" }),
228
230
  disableCancelButton: !0,
229
231
  size: "small",
230
- children: [/*#__PURE__*/ D("p", { children: o }), /*#__PURE__*/ D("p", { children: /*#__PURE__*/ D(I, { id: "PZnUbs" }) })]
232
+ children: [/*#__PURE__*/ D("p", { children: o }), /*#__PURE__*/ D("p", { children: /*#__PURE__*/ D(F, { id: "PZnUbs" }) })]
231
233
  });
232
234
  }
233
235
  //#endregion
234
236
  //#region src/client/routes/__root.tsx
235
- var V = we()({
237
+ var V = Te()({
236
238
  component: Be,
237
239
  notFoundComponent: He,
238
240
  errorComponent: Ve,
@@ -260,14 +262,14 @@ function H({ children: e }) {
260
262
  ] });
261
263
  }
262
264
  function Be() {
263
- return /*#__PURE__*/ D(H, { children: /*#__PURE__*/ D(Se, {}) });
265
+ return /*#__PURE__*/ D(H, { children: /*#__PURE__*/ D(Ce, {}) });
264
266
  }
265
267
  function Ve({ error: e }) {
266
- return /*#__PURE__*/ D(H, { children: /*#__PURE__*/ D(ie, { error: e }) });
268
+ return /*#__PURE__*/ D(H, { children: /*#__PURE__*/ D(ne, { error: e }) });
267
269
  }
268
270
  function He() {
269
- let { i18n: e, _: t } = L(), n = V.useNavigate(), r = Ee();
270
- return /*#__PURE__*/ D(ae, {
271
+ let { i18n: e, _: t } = I(), n = V.useNavigate(), r = De();
272
+ return /*#__PURE__*/ D(re, {
271
273
  message: e._({ id: "0P2gFy" }),
272
274
  title: e._({ id: "boJlGf" }),
273
275
  onHomeClick: () => n({ to: "/" }),
@@ -286,8 +288,8 @@ function Ue() {
286
288
  })]
287
289
  }) });
288
290
  }
289
- var We = M("/about")({ component: N(() => import("./about-Nsxkyh9U.mjs"), "component") }), Ge = M("/_auth")({
290
- component: N(() => import("./_auth-DXJkv9QO.mjs"), "component"),
291
+ var We = j("/about")({ component: M(() => import("./about-Nsxkyh9U.mjs"), "component") }), Ge = j("/_auth")({
292
+ component: M(() => import("./_auth-DXJkv9QO.mjs"), "component"),
291
293
  beforeLoad: async ({ context: e, location: t }) => {
292
294
  if (!e.auth?.isAuthenticated) {
293
295
  let t = await e.trpcClient?.auth.getCurrentUserSession.query();
@@ -296,7 +298,7 @@ var We = M("/about")({ component: N(() => import("./about-Nsxkyh9U.mjs"), "compo
296
298
  return;
297
299
  }
298
300
  }
299
- if (!e.auth?.isAuthenticated) throw P({
301
+ if (!e.auth?.isAuthenticated) throw N({
300
302
  to: "/",
301
303
  search: { redirect: t.pathname ? t.pathname : "" }
302
304
  });
@@ -307,8 +309,8 @@ var We = M("/about")({ component: N(() => import("./about-Nsxkyh9U.mjs"), "compo
307
309
  function U(e) {
308
310
  return typeof e == "string" && e.startsWith("/") && !e.startsWith("//");
309
311
  }
310
- var W = M("/")({
311
- validateSearch: R.object({ redirect: R.string().optional().catch("") }),
312
+ var W = j("/")({
313
+ validateSearch: L.object({ redirect: L.string().optional().catch("") }),
312
314
  beforeLoad: async ({ context: e, search: t }) => {
313
315
  let n = e.auth?.isAuthenticated;
314
316
  if (!n && e.trpcClient) try {
@@ -317,20 +319,20 @@ var W = M("/")({
317
319
  } catch {}
318
320
  if (n) {
319
321
  let e = sessionStorage.getItem("redirect_after_login"), n = "/projects";
320
- throw U(e) ? n = e : U(t.redirect) && (n = t.redirect), sessionStorage.removeItem("redirect_after_login"), P({ to: n });
322
+ throw U(e) ? n = e : U(t.redirect) && (n = t.redirect), sessionStorage.removeItem("redirect_after_login"), N({ to: n });
321
323
  }
322
324
  },
323
325
  component: Ke
324
326
  }), G = "\n jn-bg-theme-textinput\n jn-text-theme-textinput\n jn-text-base\n jn-leading-4\n jn-px-4\n jn-h-textinput\n jn-rounded-3px\n focus:jn-outline-none\n focus:jn-ring-2\n focus:jn-ring-theme-focus\n disabled:jn-opacity-50\n autofill:jn-bg-theme-textinput-autofill\n autofill:jn-text-theme-textinput-autofill\n peer\n";
325
327
  function Ke() {
326
- let { isAuthenticated: e, login: t, logoutReason: n } = y(), r = De({ select: (e) => e.isLoading }), a = W.useNavigate(), o = W.useSearch(), { i18n: c, _: l } = L(), { translateError: d } = se(), [f, p] = A({
328
+ let { isAuthenticated: e, login: t, logoutReason: n } = y(), r = Oe({ select: (e) => e.isLoading }), a = W.useNavigate(), o = W.useSearch(), { i18n: c, _: l } = I(), { translateError: d } = ae(), { slots: f } = W.useRouteContext(), [p, m] = A({
327
329
  domainName: "",
328
330
  user: "",
329
331
  password: ""
330
- }), [m, h] = A(!1), [g, _] = A(null), v = be(!1), ee = ye(async () => {
332
+ }), [ee, h] = A(!1), [g, _] = A(null), v = be(!1), b = ye(async () => {
331
333
  h(!0), _(null);
332
334
  try {
333
- let e = await S.auth.createUserSession.mutate(f);
335
+ let e = await x.auth.createUserSession.mutate(p);
334
336
  await t(e.user, e.expires_at);
335
337
  let n = sessionStorage.getItem("redirect_after_login"), r = o.redirect, i = "/projects";
336
338
  U(n) ? i = n : U(r) && (i = r), sessionStorage.removeItem("redirect_after_login"), v.current = !0, await a({
@@ -343,13 +345,13 @@ function Ke() {
343
345
  h(!1);
344
346
  }
345
347
  }, [
346
- f,
348
+ p,
347
349
  t,
348
350
  a,
349
351
  o.redirect,
350
352
  l,
351
353
  d
352
- ]), b = () => {
354
+ ]), te = () => {
353
355
  _(null);
354
356
  };
355
357
  k(() => {
@@ -369,34 +371,40 @@ function Ke() {
369
371
  o.redirect,
370
372
  a
371
373
  ]);
372
- let x = r || m, C = n === "inactive" || n === "expired";
373
- return /*#__PURE__*/ D("div", {
374
+ let S = r || ee, C = n === "inactive" || n === "expired";
375
+ return f?.login && !e && !r ? /*#__PURE__*/ D("div", {
376
+ className: "mt-8 flex justify-center",
377
+ children: /*#__PURE__*/ D(T, {
378
+ component: f.login,
379
+ useShadowDOM: !1
380
+ })
381
+ }) : /*#__PURE__*/ D("div", {
374
382
  className: "mt-8 flex justify-center",
375
383
  children: /*#__PURE__*/ O("div", {
376
384
  className: "border-theme-light relative w-full max-w-md rounded-lg border p-6 shadow-lg",
377
385
  children: [
378
386
  g && /*#__PURE__*/ D(i, {
379
- onDismiss: b,
387
+ onDismiss: te,
380
388
  text: g,
381
389
  variant: "error",
382
390
  className: "absolute -top-14 right-0 left-0 z-50"
383
391
  }),
384
392
  /*#__PURE__*/ D(s, {
385
393
  className: "text-center",
386
- children: /*#__PURE__*/ D(I, { id: "dPj4yB" })
394
+ children: /*#__PURE__*/ D(F, { id: "dPj4yB" })
387
395
  }),
388
396
  /*#__PURE__*/ D("p", {
389
397
  className: "mb-6 text-center",
390
- children: /*#__PURE__*/ D(I, { id: "N5vGcw" })
398
+ children: /*#__PURE__*/ D(F, { id: "N5vGcw" })
391
399
  }),
392
400
  (o.redirect || C) && /*#__PURE__*/ D("p", {
393
401
  className: "mb-4 text-center text-sm text-red-500",
394
- children: C ? /*#__PURE__*/ D(I, { id: "RByeNR" }) : /*#__PURE__*/ D(I, { id: "20E+79" })
402
+ children: C ? /*#__PURE__*/ D(F, { id: "RByeNR" }) : /*#__PURE__*/ D(F, { id: "20E+79" })
395
403
  }),
396
404
  /*#__PURE__*/ O("form", {
397
405
  className: "space-y-4",
398
406
  onSubmit: (e) => {
399
- e.preventDefault(), ee();
407
+ e.preventDefault(), b();
400
408
  },
401
409
  children: [
402
410
  /*#__PURE__*/ O("div", {
@@ -404,15 +412,15 @@ function Ke() {
404
412
  children: [/*#__PURE__*/ D("label", {
405
413
  htmlFor: "domain",
406
414
  className: "font-medium text-gray-300",
407
- children: /*#__PURE__*/ D(I, { id: "EoKe5U" })
415
+ children: /*#__PURE__*/ D(F, { id: "EoKe5U" })
408
416
  }), /*#__PURE__*/ D("input", {
409
417
  id: "domain",
410
418
  type: "text",
411
419
  placeholder: c._({ id: "IZ6Mh2" }),
412
420
  className: G,
413
421
  onChange: (e) => {
414
- p({
415
- ...f,
422
+ m({
423
+ ...p,
416
424
  domainName: e.target.value
417
425
  }), g && _(null);
418
426
  },
@@ -424,15 +432,15 @@ function Ke() {
424
432
  children: [/*#__PURE__*/ D("label", {
425
433
  htmlFor: "user",
426
434
  className: "font-medium text-gray-300",
427
- children: /*#__PURE__*/ D(I, { id: "iqUvrS" })
435
+ children: /*#__PURE__*/ D(F, { id: "iqUvrS" })
428
436
  }), /*#__PURE__*/ D("input", {
429
437
  id: "user",
430
438
  type: "text",
431
439
  placeholder: c._({ id: "2d/OiW" }),
432
440
  className: G,
433
441
  onChange: (e) => {
434
- p({
435
- ...f,
442
+ m({
443
+ ...p,
436
444
  user: e.target.value
437
445
  }), g && _(null);
438
446
  },
@@ -444,15 +452,15 @@ function Ke() {
444
452
  children: [/*#__PURE__*/ D("label", {
445
453
  htmlFor: "password",
446
454
  className: "font-medium text-gray-300",
447
- children: /*#__PURE__*/ D(I, { id: "8ZsakT" })
455
+ children: /*#__PURE__*/ D(F, { id: "8ZsakT" })
448
456
  }), /*#__PURE__*/ D("input", {
449
457
  id: "password",
450
458
  type: "password",
451
459
  required: !0,
452
460
  className: G,
453
461
  onChange: (e) => {
454
- p({
455
- ...f,
462
+ m({
463
+ ...p,
456
464
  password: e.target.value
457
465
  }), g && _(null);
458
466
  }
@@ -461,8 +469,8 @@ function Ke() {
461
469
  /*#__PURE__*/ D(u, {
462
470
  type: "submit",
463
471
  className: "w-full",
464
- disabled: x,
465
- children: x ? /*#__PURE__*/ D(I, { id: "Z3FXyt" }) : /*#__PURE__*/ D(I, { id: "n1ekoW" })
472
+ disabled: S,
473
+ children: S ? /*#__PURE__*/ D(F, { id: "Z3FXyt" }) : /*#__PURE__*/ D(F, { id: "n1ekoW" })
466
474
  })
467
475
  ]
468
476
  })
@@ -470,42 +478,42 @@ function Ke() {
470
478
  })
471
479
  });
472
480
  }
473
- var qe = M("/_auth/aurora")({ component: N(() => import("./aurora-DDzsst74.mjs"), "component") }), Je = M("/_auth/accounts/")({ beforeLoad: ({ context: e }) => {
474
- throw e.auth?.isAuthenticated && e.auth.user?.domain?.id ? P({ to: "/projects" }) : P({ to: "/" });
475
- } }), Ye = M("/_auth/projects/$projectId/")({ component: N(() => import("./_projectId-COt93OEF.mjs"), "component") }), Xe = M("/_auth/projects/$projectId/network")({
481
+ var qe = j("/_auth/aurora")({ component: M(() => import("./aurora-DDzsst74.mjs"), "component") }), Je = j("/_auth/accounts/")({ beforeLoad: ({ context: e }) => {
482
+ throw e.auth?.isAuthenticated && e.auth.user?.domain?.id ? N({ to: "/projects" }) : N({ to: "/" });
483
+ } }), Ye = j("/_auth/projects/$projectId/")({ component: M(() => import("./_projectId-CARHuZTU.mjs"), "component") }), Xe = j("/_auth/projects/$projectId/network")({
476
484
  loader: async ({ context: e }) => {
477
485
  let { trpcClient: t } = e;
478
486
  return { availableServices: await t?.auth.getAvailableServices.query() };
479
487
  },
480
488
  beforeLoad: async ({ context: e, params: t }) => {
481
489
  let { trpcClient: n } = e, { projectId: r } = t;
482
- if (!E(await n?.auth.getAvailableServices.query()).network) throw P({
490
+ if (!E(await n?.auth.getAvailableServices.query()).network) throw N({
483
491
  to: "/projects/$projectId",
484
492
  params: { projectId: r }
485
493
  });
486
494
  },
487
- component: N(() => import("./network-DuZm76BZ.mjs"), "component")
488
- }), Ze = M("/_auth/projects/$projectId/storage/")({ beforeLoad: ({ params: e }) => {
489
- throw P({
495
+ component: M(() => import("./network-DuZm76BZ.mjs"), "component")
496
+ }), Ze = j("/_auth/projects/$projectId/storage/")({ beforeLoad: ({ params: e }) => {
497
+ throw N({
490
498
  to: "/projects/$projectId",
491
499
  params: e
492
500
  });
493
- } }), Qe = M("/_auth/projects/$projectId/services/")({ beforeLoad: ({ params: e }) => {
494
- throw P({
501
+ } }), Qe = j("/_auth/projects/$projectId/services/")({ beforeLoad: ({ params: e }) => {
502
+ throw N({
495
503
  to: "/projects/$projectId",
496
504
  params: e
497
505
  });
498
- } }), $e = M("/_auth/projects/$projectId/network/")({ beforeLoad: ({ params: e }) => {
499
- throw P({
506
+ } }), $e = j("/_auth/projects/$projectId/network/")({ beforeLoad: ({ params: e }) => {
507
+ throw N({
500
508
  to: "/projects/$projectId",
501
509
  params: e
502
510
  });
503
- } }), et = M("/_auth/projects/$projectId/compute/")({ beforeLoad: ({ params: e }) => {
504
- throw P({
511
+ } }), et = j("/_auth/projects/$projectId/compute/")({ beforeLoad: ({ params: e }) => {
512
+ throw N({
505
513
  to: "/projects/$projectId",
506
514
  params: e
507
515
  });
508
- } }), tt = () => import("./images-NBf2bV43.mjs"), nt = () => import("./images-Dbjo4yKn.mjs"), K = (e) => R.string().refine((t) => (t.startsWith("in:") ? t.replace("in:", "").split(",") : [t]).every((t) => e.includes(t))), q = {
516
+ } }), tt = () => import("./images-NBf2bV43.mjs"), nt = () => import("./images-Dbjo4yKn.mjs"), K = (e) => L.string().refine((t) => (t.startsWith("in:") ? t.replace("in:", "").split(",") : [t]).every((t) => e.includes(t))), q = {
509
517
  status: K([
510
518
  "queued",
511
519
  "saving",
@@ -515,7 +523,7 @@ var qe = M("/_auth/aurora")({ component: N(() => import("./aurora-DDzsst74.mjs")
515
523
  "deleted",
516
524
  "pending_delete"
517
525
  ]).optional(),
518
- visibility: R.enum([
526
+ visibility: L.enum([
519
527
  "public",
520
528
  "private",
521
529
  "shared",
@@ -544,30 +552,30 @@ var qe = M("/_auth/aurora")({ component: N(() => import("./aurora-DDzsst74.mjs")
544
552
  "ova",
545
553
  "docker"
546
554
  ]).optional(),
547
- protected: R.enum(["true", "false"]).optional(),
548
- search: R.string().optional(),
549
- sortBy: R.enum([
555
+ protected: L.enum(["true", "false"]).optional(),
556
+ search: L.string().optional(),
557
+ sortBy: L.enum([
550
558
  "created_at",
551
559
  "updated_at",
552
560
  "name",
553
561
  "size",
554
562
  "status"
555
563
  ]).optional(),
556
- sortDirection: R.enum(["asc", "desc"]).optional(),
557
- memberStatus: R.enum([
564
+ sortDirection: L.enum(["asc", "desc"]).optional(),
565
+ memberStatus: L.enum([
558
566
  "all",
559
567
  "accepted",
560
568
  "pending"
561
569
  ]).optional(),
562
- page: R.number().int().positive().optional()
563
- }, rt = R.object(q).passthrough(), it = M("/_auth/projects/$projectId/compute/images")({
570
+ page: L.number().int().positive().optional()
571
+ }, rt = L.object(q).passthrough(), it = j("/_auth/projects/$projectId/compute/images")({
564
572
  staticData: {
565
573
  section: "compute",
566
574
  service: "images",
567
575
  sectionCrumb: { labelKey: "Compute" },
568
576
  crumb: { labelKey: "Images" }
569
577
  },
570
- errorComponent: N(nt, "errorComponent"),
578
+ errorComponent: M(nt, "errorComponent"),
571
579
  validateSearch: (e) => {
572
580
  let t = rt.safeParse(e);
573
581
  return t.success ? t.data : {
@@ -587,24 +595,24 @@ var qe = M("/_auth/aurora")({ component: N(() => import("./aurora-DDzsst74.mjs")
587
595
  beforeLoad: async ({ context: e, params: t }) => {
588
596
  let { trpcClient: n } = e, { projectId: r } = t;
589
597
  if (!n) throw Error("trpcClient is not available in route context");
590
- if (!E(await n.auth.getAvailableServices.query()).image?.glance) throw P({
598
+ if (!E(await n.auth.getAvailableServices.query()).image?.glance) throw N({
591
599
  to: "/projects/$projectId",
592
600
  params: { projectId: r }
593
601
  });
594
602
  },
595
- component: N(tt, "component")
603
+ component: M(tt, "component")
596
604
  }), at = () => import("./flavors-DWMZ6TuJ.mjs"), J = {
597
- search: R.string().optional(),
598
- sortBy: R.enum([
605
+ search: L.string().optional(),
606
+ sortBy: L.enum([
599
607
  "name",
600
608
  "vcpus",
601
609
  "ram",
602
610
  "disk",
603
611
  "swap"
604
612
  ]).optional(),
605
- sortDirection: R.enum(["asc", "desc"]).optional(),
606
- page: R.number().int().positive().optional()
607
- }, ot = R.object(J).passthrough(), st = M("/_auth/projects/$projectId/compute/flavors")({
613
+ sortDirection: L.enum(["asc", "desc"]).optional(),
614
+ page: L.number().int().positive().optional()
615
+ }, ot = L.object(J).passthrough(), st = j("/_auth/projects/$projectId/compute/flavors")({
608
616
  staticData: {
609
617
  section: "compute",
610
618
  service: "flavors",
@@ -623,31 +631,31 @@ var qe = M("/_auth/aurora")({ component: N(() => import("./aurora-DDzsst74.mjs")
623
631
  },
624
632
  beforeLoad: async ({ context: e, params: t }) => {
625
633
  let { trpcClient: n } = e, { projectId: r } = t;
626
- if (!E(await n?.auth.getAvailableServices.query()).compute?.nova) throw P({
634
+ if (!E(await n?.auth.getAvailableServices.query()).compute?.nova) throw N({
627
635
  to: "/projects/$projectId",
628
636
  params: { projectId: r }
629
637
  });
630
638
  },
631
- component: N(at, "component")
632
- }), ct = M("/_auth/projects/$projectId/network/securitygroups/")({
639
+ component: M(at, "component")
640
+ }), ct = j("/_auth/projects/$projectId/network/securitygroups/")({
633
641
  staticData: {
634
642
  section: "network",
635
643
  service: "securitygroups",
636
644
  sectionCrumb: { labelKey: "Network" },
637
645
  crumb: { labelKey: "Security Groups" }
638
646
  },
639
- head: () => ({ meta: [{ title: z._({ id: "4opp4r" }) }] }),
640
- component: N(() => import("./securitygroups-CNFLu9zS.mjs"), "component")
641
- }), lt = M("/_auth/projects/$projectId/network/floatingips/")({
647
+ head: () => ({ meta: [{ title: R._({ id: "4opp4r" }) }] }),
648
+ component: M(() => import("./securitygroups-CNFLu9zS.mjs"), "component")
649
+ }), lt = j("/_auth/projects/$projectId/network/floatingips/")({
642
650
  staticData: {
643
651
  section: "network",
644
652
  service: "floatingips",
645
653
  sectionCrumb: { labelKey: "Network" },
646
654
  crumb: { labelKey: "Floating IPs" }
647
655
  },
648
- head: () => ({ meta: [{ title: z._({ id: "u77/s4" }) }] }),
649
- component: N(() => import("./floatingips-Dq4DXQYb.mjs"), "component")
650
- }), ut = M("/_auth/projects/$projectId/compute/images/$imageId")({
656
+ head: () => ({ meta: [{ title: R._({ id: "u77/s4" }) }] }),
657
+ component: M(() => import("./floatingips-Dq4DXQYb.mjs"), "component")
658
+ }), ut = j("/_auth/projects/$projectId/compute/images/$imageId")({
651
659
  staticData: {
652
660
  section: "compute",
653
661
  service: "images",
@@ -658,7 +666,7 @@ var qe = M("/_auth/aurora")({ component: N(() => import("./aurora-DDzsst74.mjs")
658
666
  to: "/projects/$projectId/compute/images"
659
667
  }
660
668
  },
661
- validateSearch: R.object({ tab: R.enum(["details", "sharing"]).optional() }),
669
+ validateSearch: L.object({ tab: L.enum(["details", "sharing"]).optional() }),
662
670
  loader: async ({ context: e, params: t }) => {
663
671
  try {
664
672
  let n = await e.trpcClient?.compute.getImageById.query({
@@ -671,19 +679,19 @@ var qe = M("/_auth/aurora")({ component: N(() => import("./aurora-DDzsst74.mjs")
671
679
  }
672
680
  },
673
681
  head: ({ loaderData: e }) => ({ meta: [{ title: e?.imageTitle ?? "Image Details" }] }),
674
- component: N(() => import("./_imageId-zmaSymWe.mjs"), "component"),
682
+ component: M(() => import("./_imageId-BjfhqAje.mjs"), "component"),
675
683
  beforeLoad: async ({ context: e, params: t }) => {
676
684
  let { trpcClient: n } = e, { projectId: r } = t, i = E(await n?.auth.getAvailableServices.query() || []);
677
- if (!i.image && !i.compute) throw P({
685
+ if (!i.image && !i.compute) throw N({
678
686
  to: "/projects/$projectId",
679
687
  params: { projectId: r }
680
688
  });
681
- if (!i.image.glance) throw P({
689
+ if (!i.image.glance) throw N({
682
690
  to: "/projects/$projectId",
683
691
  params: { projectId: t.projectId }
684
692
  });
685
693
  }
686
- }), dt = M("/_auth/projects/$projectId/services/pca/$pcaId/$certificateId")({
694
+ }), dt = j("/_auth/projects/$projectId/services/pca/$pcaId/$certificateId")({
687
695
  staticData: {
688
696
  section: "services",
689
697
  service: "pca",
@@ -711,7 +719,7 @@ var qe = M("/_auth/aurora")({ component: N(() => import("./aurora-DDzsst74.mjs")
711
719
  component: ft
712
720
  });
713
721
  function ft() {
714
- let { i18n: e, _: r } = L(), i = F(), { projectId: o, pcaId: s, certificateId: c } = dt.useParams(), { isLoading: d, isError: f, error: p, data: m } = C.services.pca.getByIdCertificate.useQuery({
722
+ let { i18n: e, _: r } = I(), i = P(), { projectId: o, pcaId: s, certificateId: c } = dt.useParams(), { isLoading: d, isError: f, error: p, data: m } = S.services.pca.getByIdCertificate.useQuery({
715
723
  project_id: o,
716
724
  certificate_authority_id: s,
717
725
  certificate_id: c
@@ -725,9 +733,9 @@ function ft() {
725
733
  variant: "primary",
726
734
  size: "large",
727
735
  className: "mb-2"
728
- }), /*#__PURE__*/ D(I, { id: "UB+Q8v" })]
736
+ }), /*#__PURE__*/ D(F, { id: "UB+Q8v" })]
729
737
  });
730
- let g = () => i({
738
+ let h = () => i({
731
739
  to: "/projects/$projectId/services/pca/$pcaId",
732
740
  params: {
733
741
  projectId: o,
@@ -745,16 +753,16 @@ function ft() {
745
753
  children: [
746
754
  /*#__PURE__*/ D("p", {
747
755
  className: "text-theme-error font-semibold",
748
- children: /*#__PURE__*/ D(I, { id: "LI70tz" })
756
+ children: /*#__PURE__*/ D(F, { id: "LI70tz" })
749
757
  }),
750
758
  /*#__PURE__*/ D("p", {
751
759
  className: "text-theme-highest",
752
760
  children: e
753
761
  }),
754
762
  /*#__PURE__*/ D(u, {
755
- onClick: g,
763
+ onClick: h,
756
764
  variant: "primary",
757
- children: /*#__PURE__*/ D(I, { id: "4+2wZO" })
765
+ children: /*#__PURE__*/ D(F, { id: "4+2wZO" })
758
766
  })
759
767
  ]
760
768
  });
@@ -767,19 +775,19 @@ function ft() {
767
775
  gap: "5",
768
776
  children: [/*#__PURE__*/ D("p", {
769
777
  className: "text-theme-secondary",
770
- children: /*#__PURE__*/ D(I, { id: "+Nhol2" })
778
+ children: /*#__PURE__*/ D(F, { id: "+Nhol2" })
771
779
  }), /*#__PURE__*/ D(u, {
772
- onClick: g,
780
+ onClick: h,
773
781
  variant: "primary",
774
- children: /*#__PURE__*/ D(I, { id: "4+2wZO" })
782
+ children: /*#__PURE__*/ D(F, { id: "4+2wZO" })
775
783
  })]
776
784
  });
777
- let _ = m.id, v = e._({
785
+ let g = m.id, _ = e._({
778
786
  id: "b78j86",
779
- values: { certificateIdValue: _ }
787
+ values: { certificateIdValue: g }
780
788
  }), y = e._({
781
789
  id: "PDXQxz",
782
- values: { certificateIdValue: _ }
790
+ values: { certificateIdValue: g }
783
791
  }), b = [
784
792
  {
785
793
  label: e._({ id: "c1OE1x" }),
@@ -787,7 +795,7 @@ function ft() {
787
795
  },
788
796
  {
789
797
  label: e._({ id: "S0kLOH" }),
790
- value: _
798
+ value: g
791
799
  },
792
800
  {
793
801
  label: e._({ id: "UbWeJA" }),
@@ -804,17 +812,17 @@ function ft() {
804
812
  }),
805
813
  /*#__PURE__*/ D("p", {
806
814
  className: "text-theme-highest text-sm",
807
- children: /*#__PURE__*/ D(I, { id: "GDx4dP" })
815
+ children: /*#__PURE__*/ D(F, { id: "GDx4dP" })
808
816
  }),
809
817
  /*#__PURE__*/ O(l, {
810
818
  gap: "4",
811
819
  className: "grid grid-cols-2 items-start",
812
- children: [/*#__PURE__*/ D(ee, {
820
+ children: [/*#__PURE__*/ D(v, {
813
821
  alignTerms: "right",
814
822
  className: "w-full",
815
823
  children: b.map(({ label: e, value: n }) => /*#__PURE__*/ O(ve, { children: [/*#__PURE__*/ D(a, { children: e }), /*#__PURE__*/ D(t, { children: n || "—" })] }, e))
816
- }), /*#__PURE__*/ D(h, {
817
- heading: v,
824
+ }), /*#__PURE__*/ D(ee, {
825
+ heading: _,
818
826
  content: m?.csr ?? "",
819
827
  className: "w-full [&_pre_code]:block [&_pre_code]:w-full",
820
828
  wrap: !0
@@ -840,7 +848,7 @@ var pt = We.update({
840
848
  id: "/aurora",
841
849
  path: "/aurora",
842
850
  getParentRoute: () => Y
843
- }), gt = ce.update({
851
+ }), gt = oe.update({
844
852
  id: "/projects/",
845
853
  path: "/projects/",
846
854
  getParentRoute: () => Y
@@ -848,7 +856,7 @@ var pt = We.update({
848
856
  id: "/accounts/",
849
857
  path: "/accounts/",
850
858
  getParentRoute: () => Y
851
- }), X = ne.update({
859
+ }), X = se.update({
852
860
  id: "/projects/$projectId",
853
861
  path: "/projects/$projectId",
854
862
  getParentRoute: () => Y
@@ -884,7 +892,7 @@ var pt = We.update({
884
892
  id: "/compute/flavors",
885
893
  path: "/compute/flavors",
886
894
  getParentRoute: () => X
887
- }), Ct = le.update({
895
+ }), Ct = ce.update({
888
896
  id: "/services/pca/",
889
897
  path: "/services/pca/",
890
898
  getParentRoute: () => X
@@ -896,11 +904,11 @@ var pt = We.update({
896
904
  id: "/floatingips/",
897
905
  path: "/floatingips/",
898
906
  getParentRoute: () => Z
899
- }), Et = ue.update({
907
+ }), Et = le.update({
900
908
  id: "/",
901
909
  path: "/",
902
910
  getParentRoute: () => Q
903
- }), Dt = de.update({
911
+ }), Dt = ue.update({
904
912
  id: "/",
905
913
  path: "/",
906
914
  getParentRoute: () => $
@@ -908,23 +916,23 @@ var pt = We.update({
908
916
  id: "/$imageId",
909
917
  path: "/$imageId",
910
918
  getParentRoute: () => Q
911
- }), kt = oe.update({
919
+ }), kt = ie.update({
912
920
  id: "/$flavorId",
913
921
  path: "/$flavorId",
914
922
  getParentRoute: () => $
915
- }), At = fe.update({
923
+ }), At = de.update({
916
924
  id: "/storage/$provider/$storageType/",
917
925
  path: "/storage/$provider/$storageType/",
918
926
  getParentRoute: () => X
919
- }), jt = pe.update({
927
+ }), jt = fe.update({
920
928
  id: "/services/pca/$pcaId/",
921
929
  path: "/services/pca/$pcaId/",
922
930
  getParentRoute: () => X
923
- }), Mt = me.update({
931
+ }), Mt = pe.update({
924
932
  id: "/securitygroups/$securityGroupId/",
925
933
  path: "/securitygroups/$securityGroupId/",
926
934
  getParentRoute: () => Z
927
- }), Nt = he.update({
935
+ }), Nt = me.update({
928
936
  id: "/floatingips/$floatingIpId/",
929
937
  path: "/floatingips/$floatingIpId/",
930
938
  getParentRoute: () => Z
@@ -932,7 +940,7 @@ var pt = We.update({
932
940
  id: "/services/pca/$pcaId/$certificateId",
933
941
  path: "/services/pca/$pcaId/$certificateId",
934
942
  getParentRoute: () => X
935
- }), Ft = ge.update({
943
+ }), Ft = he.update({
936
944
  id: "/storage/$provider/$storageType/$containerName/objects/",
937
945
  path: "/storage/$provider/$storageType/$containerName/objects/",
938
946
  getParentRoute: () => X
@@ -974,7 +982,7 @@ var pt = We.update({
974
982
  //#endregion
975
983
  //#region src/client/router.ts
976
984
  function Gt(e, t) {
977
- return Te({
985
+ return Ee({
978
986
  routeTree: Wt,
979
987
  context: {
980
988
  trpcReact: e,
@@ -999,7 +1007,7 @@ function qt(e) {
999
1007
  let n = e.state.matches[e.state.matches.length - 1];
1000
1008
  if (!n) return;
1001
1009
  let r = e.state.location.searchStr, i = { pathname: e.state.location.pathname };
1002
- if (r && (i.search = r), re(n.staticData)) {
1010
+ if (r && (i.search = r), ge(n.staticData)) {
1003
1011
  let { section: e, service: t } = n.staticData;
1004
1012
  e && (i.section = e), t && (i.service = t);
1005
1013
  }
@@ -1015,44 +1023,44 @@ function qt(e) {
1015
1023
  }
1016
1024
  });
1017
1025
  }
1018
- z.load({ en: Kt }), z.activate("en");
1026
+ R.load({ en: Kt }), R.activate("en");
1019
1027
  var Jt = [], Yt = (e) => {
1020
1028
  k(() => {
1021
- te(e.bffEndpoint ?? "/polaris-bff");
1029
+ C(e.bffEndpoint ?? "/polaris-bff");
1022
1030
  }, [e.bffEndpoint]);
1023
- let [t] = A(() => Gt(C, S)), [n, r] = A(e.theme ?? "theme-light"), [i] = A(() => new Oe({ defaultOptions: { queries: {
1031
+ let [t] = A(() => Gt(S, x)), [n, r] = A(e.theme ?? "theme-light"), [i] = A(() => new ke({ defaultOptions: { queries: {
1024
1032
  staleTime: 60 * 1e3,
1025
1033
  refetchOnWindowFocus: !1,
1026
- queryKeyHashFn: (e) => Ae([t.state.matches.findLast((e) => "projectId" in (e.params ?? {}))?.params?.projectId ?? "", ...e])
1027
- } } })), [a] = A(() => x);
1028
- return /*#__PURE__*/ D(Me, {
1034
+ queryKeyHashFn: (e) => je([t.state.matches.findLast((e) => "projectId" in (e.params ?? {}))?.params?.projectId ?? "", ...e])
1035
+ } } })), [a] = A(() => te);
1036
+ return /*#__PURE__*/ D(Ne, {
1029
1037
  fallbackRender: ({ error: e, resetErrorBoundary: t }) => {
1030
1038
  let { message: n } = e;
1031
1039
  return /*#__PURE__*/ O("div", {
1032
1040
  role: "alert",
1033
1041
  style: { padding: 24 },
1034
1042
  children: [
1035
- /*#__PURE__*/ D("p", { children: /*#__PURE__*/ D(I, { id: "lBVhQs" }) }),
1043
+ /*#__PURE__*/ D("p", { children: /*#__PURE__*/ D(F, { id: "lBVhQs" }) }),
1036
1044
  n && /*#__PURE__*/ D("pre", {
1037
1045
  style: { color: "red" },
1038
1046
  children: n
1039
1047
  }),
1040
1048
  /*#__PURE__*/ D("button", {
1041
1049
  onClick: t,
1042
- children: /*#__PURE__*/ D(I, { id: "KDw4GX" })
1050
+ children: /*#__PURE__*/ D(F, { id: "KDw4GX" })
1043
1051
  })
1044
1052
  ]
1045
1053
  });
1046
1054
  },
1047
- children: /*#__PURE__*/ D(je, {
1048
- i18n: z,
1049
- children: /*#__PURE__*/ D(v, {
1055
+ children: /*#__PURE__*/ D(Me, {
1056
+ i18n: R,
1057
+ children: /*#__PURE__*/ D(_, {
1050
1058
  shadowRoot: !1,
1051
1059
  theme: n,
1052
- children: /*#__PURE__*/ D(C.Provider, {
1060
+ children: /*#__PURE__*/ D(S.Provider, {
1053
1061
  client: a,
1054
1062
  queryClient: i,
1055
- children: /*#__PURE__*/ D(ke, {
1063
+ children: /*#__PURE__*/ D(Ae, {
1056
1064
  client: i,
1057
1065
  children: /*#__PURE__*/ D(b, { children: /*#__PURE__*/ D(Xt, {
1058
1066
  router: t,
@@ -1063,7 +1071,8 @@ var Jt = [], Yt = (e) => {
1063
1071
  },
1064
1072
  slots: e.slots,
1065
1073
  appName: e.appName,
1066
- onTrackEvent: e.onTrackEvent
1074
+ onTrackEvent: e.onTrackEvent,
1075
+ enabledServices: e.enabledServices
1067
1076
  }) })
1068
1077
  })
1069
1078
  })
@@ -1071,22 +1080,23 @@ var Jt = [], Yt = (e) => {
1071
1080
  })
1072
1081
  });
1073
1082
  };
1074
- function Xt({ router: e, navItems: t, handleThemeToggle: n, slots: r, appName: i, onTrackEvent: a }) {
1075
- let o = {
1076
- trpcReact: C,
1077
- trpcClient: S,
1083
+ function Xt({ router: e, navItems: t, handleThemeToggle: n, slots: r, appName: i, onTrackEvent: a, enabledServices: o }) {
1084
+ let s = {
1085
+ trpcReact: S,
1086
+ trpcClient: x,
1078
1087
  auth: y(),
1079
1088
  navItems: t,
1080
1089
  handleThemeToggle: n,
1081
1090
  slots: r,
1082
1091
  appName: i,
1083
- onTrackEvent: a
1092
+ onTrackEvent: a,
1093
+ enabledServices: o
1084
1094
  };
1085
1095
  return k(() => {
1086
1096
  if (a) return qt(e);
1087
- }, [e, a]), /*#__PURE__*/ D(Ce, {
1097
+ }, [e, a]), /*#__PURE__*/ D(we, {
1088
1098
  router: e,
1089
- context: o
1099
+ context: s
1090
1100
  });
1091
1101
  }
1092
1102
  //#endregion