wcz-layout 9.7.0 → 10.1.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 (93) hide show
  1. package/dist/AggregatedCell-C7nAQyMO.mjs +510 -0
  2. package/dist/AggregatedCell-C7nAQyMO.mjs.map +1 -0
  3. package/dist/Approval-C-hF4jbT.mjs.map +1 -1
  4. package/dist/DialogsContext-DLqA8RJ_.mjs.map +1 -1
  5. package/dist/Email-BzQQkbe9.mjs.map +1 -1
  6. package/dist/FileMeta-DDqUju1Y.mjs.map +1 -1
  7. package/dist/LayoutTable-BkrjgpW_.d.mts +758 -0
  8. package/dist/{QueryClientParam-Cbb0MIKg.d.mts → QueryClientParam-JcH0mJWl.d.mts} +2 -2
  9. package/dist/RouterListItemButton-ULMlaQh6.mjs.map +1 -1
  10. package/dist/{User-1gKoYJvW.d.mts → User-D4__w1I1.d.mts} +4 -2
  11. package/dist/approval-BYryxFOW.mjs +84 -0
  12. package/dist/approval-BYryxFOW.mjs.map +1 -0
  13. package/dist/auth.d.mts +21 -11
  14. package/dist/auth.mjs +43 -26
  15. package/dist/auth.mjs.map +1 -1
  16. package/dist/components.d.mts +22 -30
  17. package/dist/components.mjs +813 -140
  18. package/dist/components.mjs.map +1 -1
  19. package/dist/createApi-DGJJ4I_R.mjs +27 -0
  20. package/dist/createApi-DGJJ4I_R.mjs.map +1 -0
  21. package/dist/data/client.d.mts +690 -1176
  22. package/dist/data/client.mjs +4 -3
  23. package/dist/data/client.mjs.map +1 -1
  24. package/dist/data/server.d.mts +3 -3
  25. package/dist/data/server.mjs +4 -2
  26. package/dist/data/server.mjs.map +1 -1
  27. package/dist/{file-DimNsRly.mjs → file-C14fhUeg.mjs} +6 -7
  28. package/dist/file-C14fhUeg.mjs.map +1 -0
  29. package/dist/{file-BWcNzq55.mjs → file-C5BOj1q8.mjs} +5 -24
  30. package/dist/file-C5BOj1q8.mjs.map +1 -0
  31. package/dist/hooks.d.mts +7 -46
  32. package/dist/hooks.mjs +2587 -239
  33. package/dist/hooks.mjs.map +1 -1
  34. package/dist/index.d.mts +28 -9
  35. package/dist/index.mjs +1248 -500
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/middleware.d.mts +20 -19
  38. package/dist/middleware.mjs +47 -2
  39. package/dist/middleware.mjs.map +1 -1
  40. package/dist/models.d.mts +17 -10
  41. package/dist/models.mjs.map +1 -1
  42. package/dist/{peoplesoft-CskGsqd6.d.mts → peoplesoft-BY_75WTS.d.mts} +2 -2
  43. package/dist/{peoplesoft-DTPGpN2h.mjs → peoplesoft-BkJMCcHb.mjs} +24 -81
  44. package/dist/peoplesoft-BkJMCcHb.mjs.map +1 -0
  45. package/dist/providers-DrairEO2.mjs +74 -0
  46. package/dist/providers-DrairEO2.mjs.map +1 -0
  47. package/dist/tokens-BLRreL1j.mjs +143 -0
  48. package/dist/tokens-BLRreL1j.mjs.map +1 -0
  49. package/dist/{utils-DjdexspV.mjs → utils-BUpDoqme.mjs} +73 -51
  50. package/dist/utils-BUpDoqme.mjs.map +1 -0
  51. package/dist/{utils-5x4uNxsX.d.mts → utils-Bhi0KiBx.d.mts} +18 -6
  52. package/dist/utils.d.mts +2 -2
  53. package/dist/utils.mjs +2 -2
  54. package/dist/vite.d.mts +1 -2
  55. package/dist/vite.mjs +3 -3
  56. package/dist/vite.mjs.map +1 -1
  57. package/package.json +130 -128
  58. package/skills/client-db/SKILL.md +104 -96
  59. package/skills/db-schema/SKILL.md +46 -33
  60. package/skills/dialogs/SKILL.md +21 -27
  61. package/skills/forms/SKILL.md +60 -39
  62. package/skills/general/SKILL.md +122 -94
  63. package/skills/general/references/exports.md +106 -0
  64. package/skills/migrations/SKILL.md +53 -2
  65. package/skills/migrations/versions/migrate-v9-to-v10.md +582 -0
  66. package/skills/routing/SKILL.md +50 -60
  67. package/skills/server-functions/SKILL.md +36 -56
  68. package/skills/services/SKILL.md +7 -4
  69. package/skills/services/docs/approval.md +2 -2
  70. package/skills/services/docs/peoplesoft.md +114 -110
  71. package/skills/start/SKILL.md +9 -5
  72. package/skills/start/steps/05-database-setup.md +52 -52
  73. package/skills/start/steps/06-entra-setup.md +1 -1
  74. package/skills/start/steps/07-vault-setup.md +5 -12
  75. package/skills/table/SKILL.md +263 -0
  76. package/skills/unslop/SKILL.md +80 -0
  77. package/dist/NotificationContext-CgwUOeW0.mjs +0 -7
  78. package/dist/NotificationContext-CgwUOeW0.mjs.map +0 -1
  79. package/dist/authMiddleware-DPly0b_T.mjs +0 -48
  80. package/dist/authMiddleware-DPly0b_T.mjs.map +0 -1
  81. package/dist/entra-CJSyeQsx.mjs +0 -109
  82. package/dist/entra-CJSyeQsx.mjs.map +0 -1
  83. package/dist/file-BWcNzq55.mjs.map +0 -1
  84. package/dist/file-DimNsRly.mjs.map +0 -1
  85. package/dist/msalServer-DLwA7_ta.mjs +0 -30
  86. package/dist/msalServer-DLwA7_ta.mjs.map +0 -1
  87. package/dist/peoplesoft-DTPGpN2h.mjs.map +0 -1
  88. package/dist/useDialogs-BUzVrTSP.mjs +0 -248
  89. package/dist/useDialogs-BUzVrTSP.mjs.map +0 -1
  90. package/dist/user-Dzv0N9fj.d.mts +0 -16
  91. package/dist/utils-DjdexspV.mjs.map +0 -1
  92. package/skills/data-grid/SKILL.md +0 -142
  93. package/skills/migrations/versions/migrate-v9-to-v10.tsx +0 -9
package/dist/index.mjs CHANGED
@@ -1,19 +1,19 @@
1
- import { _ as withOfflineFallback, c as rootRouteHead, d as getUser, f as userQueryOptions, g as clearSessionSnapshot, h as OFFLINE_PHOTO_KEY, l as getAccessToken, n as WISTRON_PRIMARY_COLOR, r as WISTRON_SECONDARY_COLOR, t as Platform } from "./utils-DjdexspV.mjs";
1
+ import { b as withOfflineFallback, c as isTestEnv, h as userQueryOptions, m as loginProvidersQueryOptions, n as WISTRON_PRIMARY_COLOR, p as getUser, r as WISTRON_SECONDARY_COLOR, t as Platform, u as rootRouteHead, v as OFFLINE_PHOTO_KEY, y as clearSessionSnapshot } from "./utils-BUpDoqme.mjs";
2
+ import { t as getAccessToken } from "./tokens-BLRreL1j.mjs";
2
3
  import { n as RouterIconButton, t as RouterListItemButton } from "./RouterListItemButton-ULMlaQh6.mjs";
3
4
  import { t as DialogsContext } from "./DialogsContext-DLqA8RJ_.mjs";
4
- import { t as NotificationContext } from "./NotificationContext-CgwUOeW0.mjs";
5
5
  import { c } from "react/compiler-runtime";
6
6
  import createCache from "@emotion/cache";
7
7
  import { CacheProvider } from "@emotion/react";
8
- import { AppBar, Avatar, Box, Chip, Collapse, CssBaseline, Grow, IconButton, InitColorSchemeScript, List, ListItem, ListItemButton, ListItemIcon, ListItemText, ListSubheader, Menu, Stack, ThemeProvider, Toolbar, Typography, useColorScheme } from "@mui/material";
8
+ import { AppBar, Avatar, Box, Collapse, CssBaseline, Grow, IconButton, InitColorSchemeScript, List, ListItem, ListItemButton, ListItemIcon, ListItemText, ListSubheader, Menu, Stack, ThemeProvider, Toolbar, Typography, useColorScheme } from "@mui/material";
9
9
  import { useQuery } from "@tanstack/react-query";
10
- import { LocalizationProvider } from "@mui/x-date-pickers-pro";
11
- import { AdapterDayjs } from "@mui/x-date-pickers-pro/AdapterDayjs";
10
+ import { LocalizationProvider } from "@mui/x-date-pickers";
11
+ import { AdapterDayjs } from "@mui/x-date-pickers/AdapterDayjs";
12
12
  import dayjs from "dayjs";
13
13
  import i18n from "i18next";
14
14
  import LanguageDetector from "i18next-browser-languagedetector";
15
15
  import { Fragment, useEffect, useId, useRef, useState } from "react";
16
- import { I18nextProvider, initReactI18next, useTranslation } from "react-i18next";
16
+ import { I18nextProvider, Trans, initReactI18next, useTranslation } from "react-i18next";
17
17
  import { manifest, resources } from "virtual:wcz-layout";
18
18
  import z from "zod";
19
19
  import Menu$1 from "@mui/icons-material/Menu";
@@ -45,11 +45,10 @@ import ListItem$1 from "@mui/material/ListItem";
45
45
  import ListItemButton$1 from "@mui/material/ListItemButton";
46
46
  import ListItemIcon$1 from "@mui/material/ListItemIcon";
47
47
  import ListItemText$1 from "@mui/material/ListItemText";
48
- import Paper from "@mui/material/Paper";
48
+ import Paper$1 from "@mui/material/Paper";
49
49
  import Typography$1 from "@mui/material/Typography";
50
+ import Close from "@mui/icons-material/Close";
50
51
  import useEventCallback$1 from "@mui/utils/useEventCallback";
51
- import Alert from "@mui/material/Alert";
52
- import Snackbar from "@mui/material/Snackbar";
53
52
  //#region src/components/core/account/UserAvatar.tsx
54
53
  const getProfilePhoto = createServerFn({ method: "GET" }).handler(async () => {
55
54
  const accessToken = await getAccessToken("graph");
@@ -64,32 +63,47 @@ const getProfilePhoto = createServerFn({ method: "GET" }).handler(async () => {
64
63
  throw new Error("Failed to fetch profile photo");
65
64
  }
66
65
  });
67
- const UserAvatar = () => {
68
- const $ = c(5);
69
- if ($[0] !== "5ab13f9d8bbeea5a8918df69bff48198a92433991d68b5b3de8d600df652076c") {
70
- for (let $i = 0; $i < 5; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
71
- $[0] = "5ab13f9d8bbeea5a8918df69bff48198a92433991d68b5b3de8d600df652076c";
66
+ const initials = (name) => {
67
+ const words = name.trim().split(/\s+/).filter(Boolean);
68
+ const last = words.length > 1 ? words.at(-1) ?? "" : "";
69
+ return `${words[0]?.[0] ?? ""}${last[0] ?? ""}`.toUpperCase();
70
+ };
71
+ const UserAvatar = (t0) => {
72
+ const $ = c(11);
73
+ if ($[0] !== "a3c35311052264d80f09c9f7325c63fdc7f22b064802a470759fdbf3b24f1f87") {
74
+ for (let $i = 0; $i < 11; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
75
+ $[0] = "a3c35311052264d80f09c9f7325c63fdc7f22b064802a470759fdbf3b24f1f87";
72
76
  }
73
- let t0;
77
+ const { user } = t0;
78
+ let t1;
74
79
  if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
75
- t0 = {
76
- queryKey: [
77
- "graph",
78
- "me",
79
- "photo"
80
- ],
81
- queryFn: _temp2$3,
80
+ t1 = [
81
+ "graph",
82
+ "me",
83
+ "photo"
84
+ ];
85
+ $[1] = t1;
86
+ } else t1 = $[1];
87
+ const t2 = user.provider === "entra";
88
+ let t3;
89
+ if ($[2] !== t2) {
90
+ t3 = {
91
+ queryKey: t1,
92
+ queryFn: _temp2$4,
93
+ enabled: t2,
82
94
  staleTime: Infinity,
83
95
  gcTime: Infinity,
84
96
  networkMode: "offlineFirst"
85
97
  };
86
- $[1] = t0;
87
- } else t0 = $[1];
88
- const { data: photoUrl } = useQuery(t0);
89
- const t1 = photoUrl || void 0;
90
- let t2;
91
- if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
92
- t2 = {
98
+ $[2] = t2;
99
+ $[3] = t3;
100
+ } else t3 = $[3];
101
+ const { data: photoUrl } = useQuery(t3);
102
+ const t4 = user.name;
103
+ const t5 = photoUrl || void 0;
104
+ let t6;
105
+ if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
106
+ t6 = {
93
107
  width: {
94
108
  xs: 32,
95
109
  sm: 40
@@ -97,36 +111,52 @@ const UserAvatar = () => {
97
111
  height: {
98
112
  xs: 32,
99
113
  sm: 40
100
- }
114
+ },
115
+ fontSize: 16,
116
+ fontWeight: 500,
117
+ letterSpacing: "0.06em",
118
+ pt: "2px",
119
+ pl: "0.06em",
120
+ backgroundColor: "primary.main",
121
+ color: "primary.contrastText"
101
122
  };
102
- $[2] = t2;
103
- } else t2 = $[2];
104
- let t3;
105
- if ($[3] !== t1) {
106
- t3 = /* @__PURE__ */ jsx(Avatar, {
107
- alt: "User profile photo",
108
- src: t1,
109
- sx: t2
123
+ $[4] = t6;
124
+ } else t6 = $[4];
125
+ let t7;
126
+ if ($[5] !== user.name) {
127
+ t7 = initials(user.name);
128
+ $[5] = user.name;
129
+ $[6] = t7;
130
+ } else t7 = $[6];
131
+ let t8;
132
+ if ($[7] !== t5 || $[8] !== t7 || $[9] !== user.name) {
133
+ t8 = /* @__PURE__ */ jsx(Avatar, {
134
+ alt: t4,
135
+ src: t5,
136
+ sx: t6,
137
+ children: t7
110
138
  });
111
- $[3] = t1;
112
- $[4] = t3;
113
- } else t3 = $[4];
114
- return t3;
139
+ $[7] = t5;
140
+ $[8] = t7;
141
+ $[9] = user.name;
142
+ $[10] = t8;
143
+ } else t8 = $[10];
144
+ return t8;
115
145
  };
116
- function _temp$4() {
146
+ function _temp$6() {
117
147
  return getProfilePhoto();
118
148
  }
119
- function _temp2$3() {
120
- return withOfflineFallback(OFFLINE_PHOTO_KEY, _temp$4);
149
+ function _temp2$4() {
150
+ return withOfflineFallback(OFFLINE_PHOTO_KEY, _temp$6);
121
151
  }
122
152
  //#endregion
123
153
  //#region src/components/core/account/UserMenu.tsx
124
154
  const capitalize = (value) => value && value.charAt(0).toUpperCase() + value.slice(1);
125
155
  const ToolbarAccount = () => {
126
156
  const $ = c(111);
127
- if ($[0] !== "56cac9d363f731082ed60f76a37bca4603d2919dc458faf63dff1285f26e3398") {
157
+ if ($[0] !== "c2fc10f7eb55ea1e949412963e4aa468a33dc2d92f50c30d2db0533746bd634d") {
128
158
  for (let $i = 0; $i < 111; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
129
- $[0] = "56cac9d363f731082ed60f76a37bca4603d2919dc458faf63dff1285f26e3398";
159
+ $[0] = "c2fc10f7eb55ea1e949412963e4aa468a33dc2d92f50c30d2db0533746bd634d";
130
160
  }
131
161
  const [anchorElement, setAnchorElement] = useState();
132
162
  const [tab, setTab] = useState("settings");
@@ -147,7 +177,7 @@ const ToolbarAccount = () => {
147
177
  let t2;
148
178
  let theme;
149
179
  if ($[2] !== i18n || $[3] !== mode || $[4] !== setMode || $[5] !== t) {
150
- const supportedLanguages = (Array.isArray(i18n.options.supportedLngs) ? i18n.options.supportedLngs : []).filter(_temp$3);
180
+ const supportedLanguages = (Array.isArray(i18n.options.supportedLngs) ? i18n.options.supportedLngs : []).filter(_temp$5);
151
181
  const languageDisplayNames = new Intl.DisplayNames([i18n.language], { type: "language" });
152
182
  let t3;
153
183
  if ($[13] !== t) {
@@ -534,7 +564,7 @@ const ToolbarAccount = () => {
534
564
  const language = t3;
535
565
  let t4;
536
566
  if ($[89] !== user) {
537
- t4 = user ? /* @__PURE__ */ jsx(UserAvatar, {}) : /* @__PURE__ */ jsx(AccountCircle, { sx: {
567
+ t4 = user ? /* @__PURE__ */ jsx(UserAvatar, { user }) : /* @__PURE__ */ jsx(AccountCircle, { sx: {
538
568
  width: {
539
569
  xs: 32,
540
570
  sm: 40
@@ -577,10 +607,10 @@ const ToolbarAccount = () => {
577
607
  user.department && /* @__PURE__ */ jsx("span", { children: user.department })
578
608
  ] })
579
609
  }) }), /* @__PURE__ */ jsxs(ListItemButton, {
580
- onClick: _temp2$2,
610
+ onClick: _temp2$3,
581
611
  children: [/* @__PURE__ */ jsx(ListItemIcon, { children: /* @__PURE__ */ jsx(Logout, { color: "error" }) }), /* @__PURE__ */ jsx(ListItemText, { primary: t("Layout.Logout") })]
582
612
  })] }) : /* @__PURE__ */ jsxs(ListItemButton, {
583
- onClick: _temp3,
613
+ onClick: _temp3$2,
584
614
  children: [/* @__PURE__ */ jsx(ListItemIcon, { children: /* @__PURE__ */ jsx(Login, { color: "success" }) }), /* @__PURE__ */ jsx(ListItemText, { primary: t("Layout.LogIn") })]
585
615
  })
586
616
  });
@@ -631,47 +661,36 @@ const ToolbarAccount = () => {
631
661
  } else t13 = $[110];
632
662
  return t13;
633
663
  };
634
- function _temp$3(lng) {
664
+ function _temp$5(lng) {
635
665
  return lng !== "cimode";
636
666
  }
637
- function _temp2$2() {
667
+ function _temp2$3() {
638
668
  clearSessionSnapshot();
639
669
  location.href = "/auth/logout";
640
670
  }
641
- function _temp3() {
671
+ function _temp3$2() {
642
672
  const returnTo = location.pathname + location.search;
643
673
  location.href = `/auth/login?returnTo=${encodeURIComponent(returnTo)}`;
644
674
  }
645
675
  //#endregion
646
676
  //#region src/components/core/AppTitle.tsx
647
- const PRODUCTION_ENV = "PRD";
648
- const getEnv = (url) => z.string().refine((u) => u.split("-").length > 2).transform((u) => u.split("-")[2].toUpperCase()).catch("LOCALHOST").parse(url);
649
677
  const AppTitle = () => {
650
- const $ = c(13);
651
- if ($[0] !== "8e7891487af76938c6ce605f2584d62174e31434ffdbb466cc994617d718eadf") {
652
- for (let $i = 0; $i < 13; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
653
- $[0] = "8e7891487af76938c6ce605f2584d62174e31434ffdbb466cc994617d718eadf";
678
+ const $ = c(6);
679
+ if ($[0] !== "ab03af767dd9ff816bebffe4e97b58599e51414413ee378222712a7efe3c5b86") {
680
+ for (let $i = 0; $i < 6; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
681
+ $[0] = "ab03af767dd9ff816bebffe4e97b58599e51414413ee378222712a7efe3c5b86";
654
682
  }
655
- const router = useRouter();
656
683
  let t0;
657
- if ($[1] !== router.origin) {
658
- t0 = getEnv(router.origin);
659
- $[1] = router.origin;
660
- $[2] = t0;
661
- } else t0 = $[2];
662
- const env = t0;
663
- const isProduction = env === PRODUCTION_ENV;
664
- let t1;
665
- if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
666
- t1 = {
684
+ if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
685
+ t0 = {
667
686
  alignItems: "center",
668
687
  flexGrow: 1
669
688
  };
670
- $[3] = t1;
671
- } else t1 = $[3];
672
- let t2;
673
- if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
674
- t2 = /* @__PURE__ */ jsx(RouterIconButton, {
689
+ $[1] = t0;
690
+ } else t0 = $[1];
691
+ let t1;
692
+ if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
693
+ t1 = /* @__PURE__ */ jsx(RouterIconButton, {
675
694
  to: "/",
676
695
  size: "small",
677
696
  children: /* @__PURE__ */ jsx("img", {
@@ -680,67 +699,46 @@ const AppTitle = () => {
680
699
  loading: "lazy"
681
700
  })
682
701
  });
683
- $[4] = t2;
684
- } else t2 = $[4];
685
- let t3;
686
- if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
687
- t3 = { display: {
702
+ $[2] = t1;
703
+ } else t1 = $[2];
704
+ let t2;
705
+ if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
706
+ t2 = { display: {
688
707
  xs: "inline",
689
708
  sm: "none"
690
709
  } };
691
- $[5] = t3;
692
- } else t3 = $[5];
693
- let t4;
694
- if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
695
- t4 = /* @__PURE__ */ jsx(Box, {
710
+ $[3] = t2;
711
+ } else t2 = $[3];
712
+ let t3;
713
+ if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
714
+ t3 = /* @__PURE__ */ jsx(Box, {
696
715
  component: "span",
697
- sx: t3,
716
+ sx: t2,
698
717
  children: manifest.short_name ?? manifest.name
699
718
  });
700
- $[6] = t4;
701
- } else t4 = $[6];
702
- let t5;
703
- if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
704
- t5 = /* @__PURE__ */ jsxs(Typography, {
705
- variant: "h6",
706
- children: [t4, /* @__PURE__ */ jsx(Box, {
707
- component: "span",
708
- sx: { display: {
709
- xs: "none",
710
- sm: "inline"
711
- } },
712
- children: manifest.name
713
- })]
714
- });
715
- $[7] = t5;
716
- } else t5 = $[7];
717
- let t6;
718
- if ($[8] !== env || $[9] !== isProduction) {
719
- t6 = !isProduction && /* @__PURE__ */ jsx(Chip, {
720
- size: "small",
721
- label: env,
722
- color: "primary"
723
- });
724
- $[8] = env;
725
- $[9] = isProduction;
726
- $[10] = t6;
727
- } else t6 = $[10];
728
- let t7;
729
- if ($[11] !== t6) {
730
- t7 = /* @__PURE__ */ jsxs(Stack, {
719
+ $[4] = t3;
720
+ } else t3 = $[4];
721
+ let t4;
722
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
723
+ t4 = /* @__PURE__ */ jsxs(Stack, {
731
724
  direction: "row",
732
725
  spacing: 1,
733
- sx: t1,
734
- children: [
735
- t2,
736
- t5,
737
- t6
738
- ]
726
+ sx: t0,
727
+ children: [t1, /* @__PURE__ */ jsxs(Typography, {
728
+ variant: "h6",
729
+ children: [t3, /* @__PURE__ */ jsx(Box, {
730
+ component: "span",
731
+ sx: { display: {
732
+ xs: "none",
733
+ sm: "inline"
734
+ } },
735
+ children: manifest.name
736
+ })]
737
+ })]
739
738
  });
740
- $[11] = t6;
741
- $[12] = t7;
742
- } else t7 = $[12];
743
- return t7;
739
+ $[5] = t4;
740
+ } else t4 = $[5];
741
+ return t4;
744
742
  };
745
743
  //#endregion
746
744
  //#region src/models/Navigation.ts
@@ -811,7 +809,7 @@ const IconOrAvatar = (t0) => {
811
809
  height: 27,
812
810
  fontSize: 12
813
811
  },
814
- children: item.title.split(" ").slice(0, 2).map(_temp$2).join("")
812
+ children: item.title.split(" ").slice(0, 2).map(_temp$4).join("")
815
813
  }) : null;
816
814
  $[4] = collapsed;
817
815
  $[5] = item.icon;
@@ -899,7 +897,7 @@ const MiniPopover = (t0) => {
899
897
  if ($[3] !== children) {
900
898
  t3 = /* @__PURE__ */ jsx(Box$1, {
901
899
  sx: t1,
902
- children: /* @__PURE__ */ jsx(Paper, {
900
+ children: /* @__PURE__ */ jsx(Paper$1, {
903
901
  sx: t2,
904
902
  children
905
903
  })
@@ -919,43 +917,88 @@ const MiniPopover = (t0) => {
919
917
  } else t4 = $[7];
920
918
  return t4;
921
919
  };
922
- const NavigationListItem = ({ item, isOpen, selected, disabled, collapsed, isSidebarFullyExpanded = true, isSidebarFullyCollapsed, onClick, renderNested, onClose }) => {
920
+ const NavigationListItem = (t0) => {
921
+ const $ = c(62);
922
+ if ($[0] !== "a5a2437d20ca7e62fe542d3943ca8a6b2a0b22122396667ddebffe138510b1d9") {
923
+ for (let $i = 0; $i < 62; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
924
+ $[0] = "a5a2437d20ca7e62fe542d3943ca8a6b2a0b22122396667ddebffe138510b1d9";
925
+ }
926
+ const { item, isOpen, selected, disabled, collapsed, isSidebarFullyExpanded: t1, isSidebarFullyCollapsed, onClick, renderNested, onClose } = t0;
927
+ const isSidebarFullyExpanded = t1 === void 0 ? true : t1;
923
928
  const [hoveredMiniItemId, setHoveredMiniItemId] = useState(null);
924
- const groupItem = isPageGroup(item);
929
+ let t2;
930
+ if ($[1] !== item) {
931
+ t2 = isPageGroup(item);
932
+ $[1] = item;
933
+ $[2] = t2;
934
+ } else t2 = $[2];
935
+ const groupItem = t2;
925
936
  const itemId = groupItem ? `group-${item.title}` : `item-${item.to ?? item.href ?? item.title}`;
926
- const chevronSx = (theme) => {
927
- if (collapsed && isSidebarFullyCollapsed && groupItem) return {
928
- fontSize: 18,
929
- position: "absolute",
930
- top: "41.5%",
931
- right: "2px",
932
- transform: "translateY(-50%) rotate(-90deg)"
933
- };
934
- if (!collapsed && isSidebarFullyExpanded && groupItem) return {
935
- ml: .5,
936
- transform: `rotate(${isOpen ? 0 : -90}deg)`,
937
- transition: theme.transitions.create("transform", {
938
- easing: theme.transitions.easing.sharp,
939
- duration: 100
940
- })
937
+ let t3;
938
+ if ($[3] !== collapsed || $[4] !== groupItem || $[5] !== isOpen || $[6] !== isSidebarFullyCollapsed || $[7] !== isSidebarFullyExpanded) {
939
+ t3 = (theme) => {
940
+ if (collapsed && isSidebarFullyCollapsed && groupItem) return {
941
+ fontSize: 18,
942
+ position: "absolute",
943
+ top: "41.5%",
944
+ right: "2px",
945
+ transform: "translateY(-50%) rotate(-90deg)"
946
+ };
947
+ if (!collapsed && isSidebarFullyExpanded && groupItem) return {
948
+ ml: .5,
949
+ transform: `rotate(${isOpen ? 0 : -90}deg)`,
950
+ transition: theme.transitions.create("transform", {
951
+ easing: theme.transitions.easing.sharp,
952
+ duration: 100
953
+ })
954
+ };
955
+ return { display: "none" };
941
956
  };
942
- return { display: "none" };
943
- };
957
+ $[3] = collapsed;
958
+ $[4] = groupItem;
959
+ $[5] = isOpen;
960
+ $[6] = isSidebarFullyCollapsed;
961
+ $[7] = isSidebarFullyExpanded;
962
+ $[8] = t3;
963
+ } else t3 = $[8];
964
+ const chevronSx = t3;
944
965
  const shouldJustExpand = groupItem && !collapsed;
945
- const buttonProps = {
946
- selected,
947
- disabled,
948
- sx: {
966
+ const t4 = collapsed ? 60 : 48;
967
+ let t5;
968
+ if ($[9] !== t4) {
969
+ t5 = {
949
970
  px: 1.4,
950
- height: collapsed ? 60 : 48
951
- }
952
- };
953
- const buttonContent = /* @__PURE__ */ jsxs(Fragment$1, { children: [
954
- /* @__PURE__ */ jsx(IconOrAvatar, {
971
+ height: t4
972
+ };
973
+ $[9] = t4;
974
+ $[10] = t5;
975
+ } else t5 = $[10];
976
+ let t6;
977
+ if ($[11] !== disabled || $[12] !== selected || $[13] !== t5) {
978
+ t6 = {
979
+ selected,
980
+ disabled,
981
+ sx: t5
982
+ };
983
+ $[11] = disabled;
984
+ $[12] = selected;
985
+ $[13] = t5;
986
+ $[14] = t6;
987
+ } else t6 = $[14];
988
+ const buttonProps = t6;
989
+ let t7;
990
+ if ($[15] !== collapsed || $[16] !== item) {
991
+ t7 = /* @__PURE__ */ jsx(IconOrAvatar, {
955
992
  item,
956
993
  collapsed
957
- }),
958
- !collapsed && /* @__PURE__ */ jsx(ListItemText$1, {
994
+ });
995
+ $[15] = collapsed;
996
+ $[16] = item;
997
+ $[17] = t7;
998
+ } else t7 = $[17];
999
+ let t8;
1000
+ if ($[18] !== collapsed || $[19] !== item.title) {
1001
+ t8 = !collapsed && /* @__PURE__ */ jsx(ListItemText$1, {
959
1002
  primary: item.title,
960
1003
  slotProps: { primary: {
961
1004
  noWrap: true,
@@ -971,24 +1014,58 @@ const NavigationListItem = ({ item, isOpen, selected, disabled, collapsed, isSid
971
1014
  textOverflow: "ellipsis"
972
1015
  }
973
1016
  }
974
- }),
975
- groupItem ? /* @__PURE__ */ jsx(ExpandMoreIcon, { sx: chevronSx }) : null
976
- ] });
977
- const listItem = /* @__PURE__ */ jsxs(ListItem$1, {
978
- ...groupItem && collapsed ? {
1017
+ });
1018
+ $[18] = collapsed;
1019
+ $[19] = item.title;
1020
+ $[20] = t8;
1021
+ } else t8 = $[20];
1022
+ let t9;
1023
+ if ($[21] !== chevronSx || $[22] !== groupItem) {
1024
+ t9 = groupItem ? /* @__PURE__ */ jsx(ExpandMoreIcon, { sx: chevronSx }) : null;
1025
+ $[21] = chevronSx;
1026
+ $[22] = groupItem;
1027
+ $[23] = t9;
1028
+ } else t9 = $[23];
1029
+ let t10;
1030
+ if ($[24] !== t7 || $[25] !== t8 || $[26] !== t9) {
1031
+ t10 = /* @__PURE__ */ jsxs(Fragment$1, { children: [
1032
+ t7,
1033
+ t8,
1034
+ t9
1035
+ ] });
1036
+ $[24] = t7;
1037
+ $[25] = t8;
1038
+ $[26] = t9;
1039
+ $[27] = t10;
1040
+ } else t10 = $[27];
1041
+ const buttonContent = t10;
1042
+ let t11;
1043
+ if ($[28] !== collapsed || $[29] !== groupItem || $[30] !== itemId) {
1044
+ t11 = groupItem && collapsed ? {
979
1045
  onMouseEnter: () => {
980
1046
  setHoveredMiniItemId(itemId);
981
1047
  },
982
1048
  onMouseLeave: () => {
983
1049
  setHoveredMiniItemId(null);
984
1050
  }
985
- } : {},
986
- sx: {
1051
+ } : {};
1052
+ $[28] = collapsed;
1053
+ $[29] = groupItem;
1054
+ $[30] = itemId;
1055
+ $[31] = t11;
1056
+ } else t11 = $[31];
1057
+ let t12;
1058
+ if ($[32] === Symbol.for("react.memo_cache_sentinel")) {
1059
+ t12 = {
987
1060
  py: 0,
988
1061
  px: 1,
989
1062
  overflowX: "hidden"
990
- },
991
- children: [groupItem ? /* @__PURE__ */ jsx(StyledNavButton, {
1063
+ };
1064
+ $[32] = t12;
1065
+ } else t12 = $[32];
1066
+ let t13;
1067
+ if ($[33] !== buttonContent || $[34] !== buttonProps || $[35] !== groupItem || $[36] !== item || $[37] !== onClick || $[38] !== onClose || $[39] !== shouldJustExpand) {
1068
+ t13 = groupItem ? /* @__PURE__ */ jsx(StyledNavButton, {
992
1069
  ...buttonProps,
993
1070
  onClick: shouldJustExpand ? () => onClick?.(item) : void 0,
994
1071
  children: buttonContent
@@ -1001,89 +1078,212 @@ const NavigationListItem = ({ item, isOpen, selected, disabled, collapsed, isSid
1001
1078
  onClick: onClose,
1002
1079
  sx: [buttonProps.sx, routerButtonSx],
1003
1080
  children: buttonContent
1004
- }), groupItem && collapsed ? /* @__PURE__ */ jsx(MiniPopover, {
1081
+ });
1082
+ $[33] = buttonContent;
1083
+ $[34] = buttonProps;
1084
+ $[35] = groupItem;
1085
+ $[36] = item;
1086
+ $[37] = onClick;
1087
+ $[38] = onClose;
1088
+ $[39] = shouldJustExpand;
1089
+ $[40] = t13;
1090
+ } else t13 = $[40];
1091
+ let t14;
1092
+ if ($[41] !== collapsed || $[42] !== groupItem || $[43] !== hoveredMiniItemId || $[44] !== item.children || $[45] !== itemId || $[46] !== renderNested) {
1093
+ t14 = groupItem && collapsed ? /* @__PURE__ */ jsx(MiniPopover, {
1005
1094
  open: itemId === hoveredMiniItemId,
1006
1095
  children: renderNested?.(item.children)
1007
- }) : null]
1008
- });
1009
- return /* @__PURE__ */ jsxs(Fragment, { children: [listItem, groupItem && !collapsed ? /* @__PURE__ */ jsx(Collapse, {
1010
- in: isOpen,
1011
- timeout: "auto",
1012
- unmountOnExit: true,
1013
- children: renderNested?.(item.children)
1014
- }) : null] }, itemId);
1096
+ }) : null;
1097
+ $[41] = collapsed;
1098
+ $[42] = groupItem;
1099
+ $[43] = hoveredMiniItemId;
1100
+ $[44] = item.children;
1101
+ $[45] = itemId;
1102
+ $[46] = renderNested;
1103
+ $[47] = t14;
1104
+ } else t14 = $[47];
1105
+ let t15;
1106
+ if ($[48] !== t11 || $[49] !== t13 || $[50] !== t14) {
1107
+ t15 = /* @__PURE__ */ jsxs(ListItem$1, {
1108
+ ...t11,
1109
+ sx: t12,
1110
+ children: [t13, t14]
1111
+ });
1112
+ $[48] = t11;
1113
+ $[49] = t13;
1114
+ $[50] = t14;
1115
+ $[51] = t15;
1116
+ } else t15 = $[51];
1117
+ const listItem = t15;
1118
+ let t16;
1119
+ if ($[52] !== collapsed || $[53] !== groupItem || $[54] !== isOpen || $[55] !== item.children || $[56] !== renderNested) {
1120
+ t16 = groupItem && !collapsed ? /* @__PURE__ */ jsx(Collapse, {
1121
+ in: isOpen,
1122
+ timeout: "auto",
1123
+ unmountOnExit: true,
1124
+ children: renderNested?.(item.children)
1125
+ }) : null;
1126
+ $[52] = collapsed;
1127
+ $[53] = groupItem;
1128
+ $[54] = isOpen;
1129
+ $[55] = item.children;
1130
+ $[56] = renderNested;
1131
+ $[57] = t16;
1132
+ } else t16 = $[57];
1133
+ let t17;
1134
+ if ($[58] !== itemId || $[59] !== listItem || $[60] !== t16) {
1135
+ t17 = /* @__PURE__ */ jsxs(Fragment, { children: [listItem, t16] }, itemId);
1136
+ $[58] = itemId;
1137
+ $[59] = listItem;
1138
+ $[60] = t16;
1139
+ $[61] = t17;
1140
+ } else t17 = $[61];
1141
+ return t17;
1015
1142
  };
1016
- function _temp$2(word) {
1143
+ function _temp$4(word) {
1017
1144
  return word.charAt(0).toUpperCase();
1018
1145
  }
1019
1146
  //#endregion
1020
1147
  //#region src/components/core/navigation/NavigationList.tsx
1021
- const NavigationList = ({ subNavigation, depth = 0, collapsed, isPopover, isSidebarFullyExpanded = true, isSidebarFullyCollapsed, renderItem, activePath, onClose }) => {
1022
- const [openKeys, setOpenKeys] = useState([]);
1023
- useEffect(() => {
1024
- if (collapsed) setOpenKeys([]);
1025
- }, [collapsed]);
1026
- const toggleKey = (key) => setOpenKeys((previous) => previous.includes(key) ? previous.filter((k) => k !== key) : [...previous, key]);
1027
- const renderNested = (children) => /* @__PURE__ */ jsx(NavigationList, {
1028
- subNavigation: children,
1029
- depth: depth + 1,
1030
- isPopover: collapsed,
1031
- activePath,
1032
- onClose
1033
- });
1034
- const filteredNavigation = subNavigation.filter((nav) => !nav.hidden);
1035
- return /* @__PURE__ */ jsx(List$1, {
1036
- sx: {
1037
- padding: 0,
1038
- mt: isPopover && depth === 1 ? .5 : 0,
1039
- mb: depth === 0 && !isPopover ? 4 : .5,
1040
- pl: (isPopover ? 1 : 2) * (isPopover ? depth - 1 : depth),
1041
- minWidth: isPopover && depth === 1 ? 240 : "auto",
1042
- width: collapsed ? 84 : "auto"
1043
- },
1044
- children: filteredNavigation.map((navItem, index) => {
1045
- if (isHeader(navItem)) return /* @__PURE__ */ jsx(ListSubheader$1, {
1046
- sx: {
1047
- fontSize: 12,
1048
- fontWeight: "700",
1049
- height: collapsed ? 0 : 40,
1050
- px: 2,
1051
- overflow: "hidden",
1052
- textOverflow: "ellipsis",
1053
- whiteSpace: "nowrap",
1054
- zIndex: 2,
1055
- bgcolor: "transparent",
1056
- position: "static"
1057
- },
1058
- children: navItem.title
1059
- }, `subheader-${depth}-${index}`);
1060
- if (isDivider(navItem)) {
1061
- const nextItem = filteredNavigation[index + 1];
1062
- return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Divider$1, { sx: {
1063
- mx: 1,
1064
- mt: 1,
1065
- mb: nextItem && isHeader(nextItem) && !collapsed ? 0 : 1
1066
- } }) }, `divider-${depth}-${index}`);
1067
- }
1068
- if (!isPageItem(navItem) && !isPageGroup(navItem)) return null;
1069
- const key_0 = `item-${depth}-${index}`;
1070
- const uniqueItemKey = `${depth}-${index}-${navItem.title}`;
1071
- const selected = isPageItem(navItem) && navItem.to === activePath;
1072
- if (renderItem) return /* @__PURE__ */ jsx(Fragment, { children: renderItem(navItem, { collapsed: !!collapsed }) }, key_0);
1073
- return /* @__PURE__ */ jsx(NavigationListItem, {
1074
- item: navItem,
1075
- isOpen: openKeys.includes(uniqueItemKey),
1076
- selected,
1077
- collapsed,
1078
- isSidebarFullyExpanded,
1079
- isSidebarFullyCollapsed,
1080
- onClick: isPageGroup(navItem) && !collapsed ? () => toggleKey(uniqueItemKey) : void 0,
1081
- renderNested,
1082
- onClose
1083
- }, key_0);
1084
- })
1085
- });
1148
+ const NavigationList = (t0) => {
1149
+ const $ = c(29);
1150
+ if ($[0] !== "4dbd114545118530db002b7c781f97683277f7b721a30074e8778a8e4ea56119") {
1151
+ for (let $i = 0; $i < 29; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
1152
+ $[0] = "4dbd114545118530db002b7c781f97683277f7b721a30074e8778a8e4ea56119";
1153
+ }
1154
+ const { subNavigation, depth: t1, collapsed, isPopover, isSidebarFullyExpanded: t2, isSidebarFullyCollapsed, renderItem, activePath, onClose } = t0;
1155
+ const depth = t1 === void 0 ? 0 : t1;
1156
+ const isSidebarFullyExpanded = t2 === void 0 ? true : t2;
1157
+ let t3;
1158
+ if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
1159
+ t3 = [];
1160
+ $[1] = t3;
1161
+ } else t3 = $[1];
1162
+ const [openKeys, setOpenKeys] = useState(t3);
1163
+ let t4;
1164
+ let t5;
1165
+ if ($[2] !== collapsed) {
1166
+ t4 = () => {
1167
+ if (collapsed) setOpenKeys([]);
1168
+ };
1169
+ t5 = [collapsed];
1170
+ $[2] = collapsed;
1171
+ $[3] = t4;
1172
+ $[4] = t5;
1173
+ } else {
1174
+ t4 = $[3];
1175
+ t5 = $[4];
1176
+ }
1177
+ useEffect(t4, t5);
1178
+ let t6;
1179
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
1180
+ t6 = (key) => setOpenKeys((previous) => previous.includes(key) ? previous.filter((k) => k !== key) : [...previous, key]);
1181
+ $[5] = t6;
1182
+ } else t6 = $[5];
1183
+ const toggleKey = t6;
1184
+ let t7;
1185
+ if ($[6] !== activePath || $[7] !== collapsed || $[8] !== depth || $[9] !== onClose) {
1186
+ t7 = (children) => /* @__PURE__ */ jsx(NavigationList, {
1187
+ subNavigation: children,
1188
+ depth: depth + 1,
1189
+ isPopover: collapsed,
1190
+ activePath,
1191
+ onClose
1192
+ });
1193
+ $[6] = activePath;
1194
+ $[7] = collapsed;
1195
+ $[8] = depth;
1196
+ $[9] = onClose;
1197
+ $[10] = t7;
1198
+ } else t7 = $[10];
1199
+ const renderNested = t7;
1200
+ let t8;
1201
+ if ($[11] !== activePath || $[12] !== collapsed || $[13] !== depth || $[14] !== isPopover || $[15] !== isSidebarFullyCollapsed || $[16] !== isSidebarFullyExpanded || $[17] !== onClose || $[18] !== openKeys || $[19] !== renderItem || $[20] !== renderNested || $[21] !== subNavigation) {
1202
+ const filteredNavigation = subNavigation.filter(_temp$3);
1203
+ const t9 = isPopover && depth === 1 ? .5 : 0;
1204
+ const t10 = depth === 0 && !isPopover ? 4 : .5;
1205
+ const t11 = (isPopover ? 1 : 2) * (isPopover ? depth - 1 : depth);
1206
+ const t12 = isPopover && depth === 1 ? 240 : "auto";
1207
+ const t13 = collapsed ? 84 : "auto";
1208
+ let t14;
1209
+ if ($[23] !== t10 || $[24] !== t11 || $[25] !== t12 || $[26] !== t13 || $[27] !== t9) {
1210
+ t14 = {
1211
+ padding: 0,
1212
+ mt: t9,
1213
+ mb: t10,
1214
+ pl: t11,
1215
+ minWidth: t12,
1216
+ width: t13
1217
+ };
1218
+ $[23] = t10;
1219
+ $[24] = t11;
1220
+ $[25] = t12;
1221
+ $[26] = t13;
1222
+ $[27] = t9;
1223
+ $[28] = t14;
1224
+ } else t14 = $[28];
1225
+ t8 = /* @__PURE__ */ jsx(List$1, {
1226
+ sx: t14,
1227
+ children: filteredNavigation.map((navItem, index) => {
1228
+ if (isHeader(navItem)) return /* @__PURE__ */ jsx(ListSubheader$1, {
1229
+ sx: {
1230
+ fontSize: 12,
1231
+ fontWeight: "700",
1232
+ height: collapsed ? 0 : 40,
1233
+ px: 2,
1234
+ overflow: "hidden",
1235
+ textOverflow: "ellipsis",
1236
+ whiteSpace: "nowrap",
1237
+ zIndex: 2,
1238
+ bgcolor: "transparent",
1239
+ position: "static"
1240
+ },
1241
+ children: navItem.title
1242
+ }, `subheader-${depth}-${index}`);
1243
+ if (isDivider(navItem)) {
1244
+ const nextItem = filteredNavigation[index + 1];
1245
+ return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Divider$1, { sx: {
1246
+ mx: 1,
1247
+ mt: 1,
1248
+ mb: nextItem && isHeader(nextItem) && !collapsed ? 0 : 1
1249
+ } }) }, `divider-${depth}-${index}`);
1250
+ }
1251
+ if (!isPageItem(navItem) && !isPageGroup(navItem)) return null;
1252
+ const key_0 = `item-${depth}-${index}`;
1253
+ const uniqueItemKey = `${depth}-${index}-${navItem.title}`;
1254
+ const selected = isPageItem(navItem) && navItem.to === activePath;
1255
+ if (renderItem) return /* @__PURE__ */ jsx(Fragment, { children: renderItem(navItem, { collapsed: !!collapsed }) }, key_0);
1256
+ return /* @__PURE__ */ jsx(NavigationListItem, {
1257
+ item: navItem,
1258
+ isOpen: openKeys.includes(uniqueItemKey),
1259
+ selected,
1260
+ collapsed,
1261
+ isSidebarFullyExpanded,
1262
+ isSidebarFullyCollapsed,
1263
+ onClick: isPageGroup(navItem) && !collapsed ? () => toggleKey(uniqueItemKey) : void 0,
1264
+ renderNested,
1265
+ onClose
1266
+ }, key_0);
1267
+ })
1268
+ });
1269
+ $[11] = activePath;
1270
+ $[12] = collapsed;
1271
+ $[13] = depth;
1272
+ $[14] = isPopover;
1273
+ $[15] = isSidebarFullyCollapsed;
1274
+ $[16] = isSidebarFullyExpanded;
1275
+ $[17] = onClose;
1276
+ $[18] = openKeys;
1277
+ $[19] = renderItem;
1278
+ $[20] = renderNested;
1279
+ $[21] = subNavigation;
1280
+ $[22] = t8;
1281
+ } else t8 = $[22];
1282
+ return t8;
1086
1283
  };
1284
+ function _temp$3(nav) {
1285
+ return !nav.hidden;
1286
+ }
1087
1287
  //#endregion
1088
1288
  //#region src/components/core/navigation/NavigationContent.tsx
1089
1289
  const NavigationContent = (t0) => {
@@ -1274,6 +1474,675 @@ const NavigationRail = (t0) => {
1274
1474
  return t12;
1275
1475
  };
1276
1476
  //#endregion
1477
+ //#region src/components/core/TestMascot.tsx
1478
+ const TEAL = "#1ec8d3";
1479
+ const SKIN = "#fbe3d1";
1480
+ const INK = "#17171a";
1481
+ const EDGE = "#d3dde2";
1482
+ /**
1483
+ * Wisby, drawn inline rather than loaded from `public/`: this package ships as
1484
+ * `dist` only, so a file asset would have to be copied into every consuming
1485
+ * app. Approximated from the brand artwork — swap the whole <svg> when we have
1486
+ * the official file, nothing outside this component reads its internals.
1487
+ *
1488
+ * White parts carry an explicit stroke: the AppBar is transparent over paper,
1489
+ * so an unstroked white suit disappears in light mode.
1490
+ */
1491
+ const Wisby = () => {
1492
+ const $ = c(24);
1493
+ if ($[0] !== "e5213aae92cf50ec48e63642048f00953109cbb2097e6b3e7ca6b310b4453c41") {
1494
+ for (let $i = 0; $i < 24; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
1495
+ $[0] = "e5213aae92cf50ec48e63642048f00953109cbb2097e6b3e7ca6b310b4453c41";
1496
+ }
1497
+ let t0;
1498
+ if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
1499
+ t0 = {
1500
+ xs: 96,
1501
+ sm: 140
1502
+ };
1503
+ $[1] = t0;
1504
+ } else t0 = $[1];
1505
+ let t1;
1506
+ let t2;
1507
+ let t3;
1508
+ let t4;
1509
+ let t5;
1510
+ if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
1511
+ t1 = {
1512
+ "0%, 100%": { transform: "translateY(0)" },
1513
+ "50%": { transform: "translateY(-2.5px)" }
1514
+ };
1515
+ t2 = {
1516
+ "0%, 100%": { transform: "rotate(0deg)" },
1517
+ "50%": { transform: "rotate(-12deg)" }
1518
+ };
1519
+ t3 = {
1520
+ "0%, 92%, 100%": { transform: "scaleY(1)" },
1521
+ "95%": { transform: "scaleY(.1)" }
1522
+ };
1523
+ t4 = {
1524
+ transformBox: "view-box",
1525
+ transformOrigin: "42.5px 78px",
1526
+ animation: "wisbyWave 1.3s ease-in-out infinite"
1527
+ };
1528
+ t5 = {
1529
+ transformBox: "fill-box",
1530
+ transformOrigin: "50% 50%",
1531
+ animation: "wisbyBlink 5.5s ease-in-out infinite"
1532
+ };
1533
+ $[2] = t1;
1534
+ $[3] = t2;
1535
+ $[4] = t3;
1536
+ $[5] = t4;
1537
+ $[6] = t5;
1538
+ } else {
1539
+ t1 = $[2];
1540
+ t2 = $[3];
1541
+ t3 = $[4];
1542
+ t4 = $[5];
1543
+ t5 = $[6];
1544
+ }
1545
+ let t10;
1546
+ let t11;
1547
+ let t12;
1548
+ let t13;
1549
+ let t14;
1550
+ let t15;
1551
+ let t16;
1552
+ let t17;
1553
+ let t18;
1554
+ let t19;
1555
+ let t6;
1556
+ let t7;
1557
+ let t8;
1558
+ let t9;
1559
+ if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
1560
+ t6 = {
1561
+ height: t0,
1562
+ width: "auto",
1563
+ flexShrink: 0,
1564
+ display: "block",
1565
+ filter: "drop-shadow(0 4px 10px rgba(0,0,0,.22))",
1566
+ animation: "wisbyBob 3.2s ease-in-out infinite",
1567
+ "@keyframes wisbyBob": t1,
1568
+ "@keyframes wisbyWave": t2,
1569
+ "@keyframes wisbyBlink": t3,
1570
+ "& .wisby-wave-arm": t4,
1571
+ "& .wisby-eye": t5,
1572
+ "@media (prefers-reduced-motion: reduce)": {
1573
+ animation: "none",
1574
+ "& .wisby-wave-arm, & .wisby-eye": { animation: "none" }
1575
+ }
1576
+ };
1577
+ t7 = /* @__PURE__ */ jsx("ellipse", {
1578
+ cx: "50",
1579
+ cy: "109.6",
1580
+ rx: "15.5",
1581
+ ry: "2.4",
1582
+ fill: "#000",
1583
+ opacity: ".07"
1584
+ });
1585
+ t8 = /* @__PURE__ */ jsx("path", {
1586
+ d: "M62.5 16.6q6-11.8 16.8-9.6Q80.4 18.4 62.5 16.6z",
1587
+ fill: "#56a832"
1588
+ });
1589
+ t9 = /* @__PURE__ */ jsx("path", {
1590
+ d: "M64.8 15.4q6.8-3.4 12-6.8",
1591
+ stroke: "#3d7c22",
1592
+ strokeWidth: "1.1",
1593
+ strokeLinecap: "round",
1594
+ fill: "none"
1595
+ });
1596
+ t10 = /* @__PURE__ */ jsx("path", {
1597
+ d: "M37 108.6c0-9.8 12.4-9.8 12.4 0v.6a1.4 1.4 0 0 1-1.4 1.4H38.4a1.4 1.4 0 0 1-1.4-1.4z",
1598
+ fill: "#fff",
1599
+ stroke: EDGE,
1600
+ strokeWidth: ".8"
1601
+ });
1602
+ t11 = /* @__PURE__ */ jsx("path", {
1603
+ d: "M50.6 108.6c0-9.8 12.4-9.8 12.4 0v.6a1.4 1.4 0 0 1-1.4 1.4H52a1.4 1.4 0 0 1-1.4-1.4z",
1604
+ fill: "#fff",
1605
+ stroke: EDGE,
1606
+ strokeWidth: ".8"
1607
+ });
1608
+ t12 = /* @__PURE__ */ jsx("rect", {
1609
+ x: "37",
1610
+ y: "107.2",
1611
+ width: "12.4",
1612
+ height: "3.4",
1613
+ rx: "1.5",
1614
+ fill: TEAL
1615
+ });
1616
+ t13 = /* @__PURE__ */ jsx("rect", {
1617
+ x: "50.6",
1618
+ y: "107.2",
1619
+ width: "12.4",
1620
+ height: "3.4",
1621
+ rx: "1.5",
1622
+ fill: TEAL
1623
+ });
1624
+ t14 = /* @__PURE__ */ jsx("rect", {
1625
+ x: "40.4",
1626
+ y: "102.4",
1627
+ width: "5.4",
1628
+ height: "1.3",
1629
+ rx: ".65",
1630
+ fill: TEAL
1631
+ });
1632
+ t15 = /* @__PURE__ */ jsx("rect", {
1633
+ x: "40.4",
1634
+ y: "104.8",
1635
+ width: "5.4",
1636
+ height: "1.3",
1637
+ rx: ".65",
1638
+ fill: TEAL
1639
+ });
1640
+ t16 = /* @__PURE__ */ jsx("rect", {
1641
+ x: "54",
1642
+ y: "102.4",
1643
+ width: "5.4",
1644
+ height: "1.3",
1645
+ rx: ".65",
1646
+ fill: TEAL
1647
+ });
1648
+ t17 = /* @__PURE__ */ jsx("rect", {
1649
+ x: "54",
1650
+ y: "104.8",
1651
+ width: "5.4",
1652
+ height: "1.3",
1653
+ rx: ".65",
1654
+ fill: TEAL
1655
+ });
1656
+ t18 = /* @__PURE__ */ jsx("rect", {
1657
+ x: "43.4",
1658
+ y: "86",
1659
+ width: "3.8",
1660
+ height: "17",
1661
+ rx: "1.9",
1662
+ fill: TEAL
1663
+ });
1664
+ t19 = /* @__PURE__ */ jsx("rect", {
1665
+ x: "52.8",
1666
+ y: "86",
1667
+ width: "3.8",
1668
+ height: "17",
1669
+ rx: "1.9",
1670
+ fill: TEAL
1671
+ });
1672
+ $[7] = t10;
1673
+ $[8] = t11;
1674
+ $[9] = t12;
1675
+ $[10] = t13;
1676
+ $[11] = t14;
1677
+ $[12] = t15;
1678
+ $[13] = t16;
1679
+ $[14] = t17;
1680
+ $[15] = t18;
1681
+ $[16] = t19;
1682
+ $[17] = t6;
1683
+ $[18] = t7;
1684
+ $[19] = t8;
1685
+ $[20] = t9;
1686
+ } else {
1687
+ t10 = $[7];
1688
+ t11 = $[8];
1689
+ t12 = $[9];
1690
+ t13 = $[10];
1691
+ t14 = $[11];
1692
+ t15 = $[12];
1693
+ t16 = $[13];
1694
+ t17 = $[14];
1695
+ t18 = $[15];
1696
+ t19 = $[16];
1697
+ t6 = $[17];
1698
+ t7 = $[18];
1699
+ t8 = $[19];
1700
+ t9 = $[20];
1701
+ }
1702
+ let t20;
1703
+ let t21;
1704
+ if ($[21] === Symbol.for("react.memo_cache_sentinel")) {
1705
+ t20 = /* @__PURE__ */ jsx("path", {
1706
+ d: "M42.5 78c-5 1-10-1-17-5",
1707
+ stroke: EDGE,
1708
+ strokeWidth: "7",
1709
+ strokeLinecap: "round",
1710
+ fill: "none"
1711
+ });
1712
+ t21 = /* @__PURE__ */ jsx("path", {
1713
+ d: "M42.5 78c-5 1-10-1-17-5",
1714
+ stroke: "#fff",
1715
+ strokeWidth: "5.4",
1716
+ strokeLinecap: "round",
1717
+ fill: "none"
1718
+ });
1719
+ $[21] = t20;
1720
+ $[22] = t21;
1721
+ } else {
1722
+ t20 = $[21];
1723
+ t21 = $[22];
1724
+ }
1725
+ let t22;
1726
+ if ($[23] === Symbol.for("react.memo_cache_sentinel")) {
1727
+ t22 = /* @__PURE__ */ jsxs(Box, {
1728
+ component: "svg",
1729
+ viewBox: "0 0 100 116",
1730
+ "aria-hidden": true,
1731
+ sx: t6,
1732
+ children: [
1733
+ t7,
1734
+ t8,
1735
+ t9,
1736
+ t10,
1737
+ t11,
1738
+ t12,
1739
+ t13,
1740
+ t14,
1741
+ t15,
1742
+ t16,
1743
+ t17,
1744
+ t18,
1745
+ t19,
1746
+ /* @__PURE__ */ jsxs("g", {
1747
+ className: "wisby-wave-arm",
1748
+ children: [
1749
+ t20,
1750
+ t21,
1751
+ /* @__PURE__ */ jsxs("g", {
1752
+ transform: "translate(24.5 72) rotate(-20) scale(1.2)",
1753
+ children: [
1754
+ /* @__PURE__ */ jsx("rect", {
1755
+ x: "-4.05",
1756
+ y: "-8.6",
1757
+ width: "1.9",
1758
+ height: "6.2",
1759
+ rx: ".95",
1760
+ fill: TEAL
1761
+ }),
1762
+ /* @__PURE__ */ jsx("rect", {
1763
+ x: "-2",
1764
+ y: "-9.6",
1765
+ width: "1.9",
1766
+ height: "7.2",
1767
+ rx: ".95",
1768
+ fill: TEAL
1769
+ }),
1770
+ /* @__PURE__ */ jsx("rect", {
1771
+ x: ".05",
1772
+ y: "-9.2",
1773
+ width: "1.9",
1774
+ height: "6.8",
1775
+ rx: ".95",
1776
+ fill: TEAL
1777
+ }),
1778
+ /* @__PURE__ */ jsx("rect", {
1779
+ x: "2.1",
1780
+ y: "-8",
1781
+ width: "1.9",
1782
+ height: "5.6",
1783
+ rx: ".95",
1784
+ fill: TEAL
1785
+ }),
1786
+ /* @__PURE__ */ jsx("rect", {
1787
+ x: "-6.4",
1788
+ y: "-4.6",
1789
+ width: "1.9",
1790
+ height: "5.4",
1791
+ rx: ".95",
1792
+ fill: TEAL,
1793
+ transform: "rotate(-32 -5.45 -1.9)"
1794
+ }),
1795
+ /* @__PURE__ */ jsx("rect", {
1796
+ x: "-4.6",
1797
+ y: "-3.4",
1798
+ width: "9.2",
1799
+ height: "7.6",
1800
+ rx: "3.2",
1801
+ fill: TEAL
1802
+ }),
1803
+ /* @__PURE__ */ jsx("path", {
1804
+ d: "M0 2.5c-2.7-1.9-3.4-3.1-2.7-4.1a1.65 1.65 0 0 1 2.7.2 1.65 1.65 0 0 1 2.7-.2c.7 1 0 2.2-2.7 4.1z",
1805
+ fill: "#fff"
1806
+ })
1807
+ ]
1808
+ })
1809
+ ]
1810
+ }),
1811
+ /* @__PURE__ */ jsxs("g", { children: [
1812
+ /* @__PURE__ */ jsx("path", {
1813
+ d: "M57.5 78c4.5 2 8 5 10.5 12",
1814
+ stroke: EDGE,
1815
+ strokeWidth: "7",
1816
+ strokeLinecap: "round",
1817
+ fill: "none"
1818
+ }),
1819
+ /* @__PURE__ */ jsx("path", {
1820
+ d: "M57.5 78c4.5 2 8 5 10.5 12",
1821
+ stroke: "#fff",
1822
+ strokeWidth: "5.4",
1823
+ strokeLinecap: "round",
1824
+ fill: "none"
1825
+ }),
1826
+ /* @__PURE__ */ jsx("circle", {
1827
+ cx: "64.3",
1828
+ cy: "88",
1829
+ r: "1.9",
1830
+ fill: TEAL
1831
+ }),
1832
+ /* @__PURE__ */ jsx("rect", {
1833
+ x: "63.6",
1834
+ y: "84.7",
1835
+ width: "8.8",
1836
+ height: "11.6",
1837
+ rx: "4.4",
1838
+ fill: TEAL
1839
+ })
1840
+ ] }),
1841
+ /* @__PURE__ */ jsx("rect", {
1842
+ x: "40.6",
1843
+ y: "72",
1844
+ width: "18.8",
1845
+ height: "20",
1846
+ rx: "7",
1847
+ fill: "#fff",
1848
+ stroke: EDGE,
1849
+ strokeWidth: ".9"
1850
+ }),
1851
+ /* @__PURE__ */ jsx("rect", {
1852
+ x: "46.4",
1853
+ y: "70",
1854
+ width: "7.2",
1855
+ height: "3",
1856
+ rx: "1.2",
1857
+ fill: "#7ea4ac"
1858
+ }),
1859
+ /* @__PURE__ */ jsx("circle", {
1860
+ cx: "50",
1861
+ cy: "79.6",
1862
+ r: "5",
1863
+ fill: "#eaf7fa"
1864
+ }),
1865
+ /* @__PURE__ */ jsx("circle", {
1866
+ cx: "50",
1867
+ cy: "79.6",
1868
+ r: "3.6",
1869
+ fill: "#7fdfe8"
1870
+ }),
1871
+ /* @__PURE__ */ jsx("circle", {
1872
+ cx: "50",
1873
+ cy: "79.6",
1874
+ r: "2.4",
1875
+ fill: "#0ec6d4"
1876
+ }),
1877
+ /* @__PURE__ */ jsx("circle", {
1878
+ cx: "50",
1879
+ cy: "42.4",
1880
+ r: "29.4",
1881
+ fill: "#e9f6fa",
1882
+ opacity: ".6"
1883
+ }),
1884
+ /* @__PURE__ */ jsx("circle", {
1885
+ cx: "50",
1886
+ cy: "42.4",
1887
+ r: "27.6",
1888
+ fill: "#f8fcfd",
1889
+ stroke: "#e0eff4",
1890
+ strokeWidth: "1.4"
1891
+ }),
1892
+ /* @__PURE__ */ jsx("circle", {
1893
+ cx: "50",
1894
+ cy: "46",
1895
+ r: "24",
1896
+ fill: SKIN
1897
+ }),
1898
+ /* @__PURE__ */ jsx("path", {
1899
+ d: "M27 39a24 24 0 0 1 46 0L68.4 33.5 63.8 39 59.2 33.5 54.6 39 50 33.5 45.4 39 40.8 33.5 36.2 39 31.6 33.5z",
1900
+ fill: TEAL
1901
+ }),
1902
+ /* @__PURE__ */ jsx("path", {
1903
+ d: "M36.4 41.6q3.6-3 7.6-.6",
1904
+ stroke: INK,
1905
+ strokeWidth: "2.6",
1906
+ strokeLinecap: "round",
1907
+ fill: "none"
1908
+ }),
1909
+ /* @__PURE__ */ jsx("path", {
1910
+ d: "M56 41q4-2.4 7.6.6",
1911
+ stroke: INK,
1912
+ strokeWidth: "2.6",
1913
+ strokeLinecap: "round",
1914
+ fill: "none"
1915
+ }),
1916
+ /* @__PURE__ */ jsx("ellipse", {
1917
+ className: "wisby-eye",
1918
+ cx: "40.4",
1919
+ cy: "48.4",
1920
+ rx: "3.8",
1921
+ ry: "4.7",
1922
+ fill: INK
1923
+ }),
1924
+ /* @__PURE__ */ jsx("ellipse", {
1925
+ className: "wisby-eye",
1926
+ cx: "59.6",
1927
+ cy: "48.4",
1928
+ rx: "3.8",
1929
+ ry: "4.7",
1930
+ fill: INK
1931
+ }),
1932
+ /* @__PURE__ */ jsx("circle", {
1933
+ cx: "41.6",
1934
+ cy: "46.6",
1935
+ r: "1.3",
1936
+ fill: "#fff"
1937
+ }),
1938
+ /* @__PURE__ */ jsx("circle", {
1939
+ cx: "60.8",
1940
+ cy: "46.6",
1941
+ r: "1.3",
1942
+ fill: "#fff"
1943
+ }),
1944
+ /* @__PURE__ */ jsx("ellipse", {
1945
+ cx: "32.6",
1946
+ cy: "53",
1947
+ rx: "4.2",
1948
+ ry: "2.8",
1949
+ fill: "#f6b3a8",
1950
+ opacity: ".9"
1951
+ }),
1952
+ /* @__PURE__ */ jsx("ellipse", {
1953
+ cx: "67.4",
1954
+ cy: "53",
1955
+ rx: "4.2",
1956
+ ry: "2.8",
1957
+ fill: "#f6b3a8",
1958
+ opacity: ".9"
1959
+ }),
1960
+ /* @__PURE__ */ jsx("path", {
1961
+ d: "M44.8 57.4c3.4-1.6 7-1.6 10.4 0 0 4.8-2.4 6.6-5.2 6.6s-5.2-1.8-5.2-6.6z",
1962
+ fill: "#e0604c"
1963
+ }),
1964
+ /* @__PURE__ */ jsx("path", {
1965
+ d: "M26.4 36q5-16.4 18.4-21.4-11.4 8.2-14.6 22.6z",
1966
+ fill: "#fff",
1967
+ opacity: ".7"
1968
+ }),
1969
+ /* @__PURE__ */ jsx("path", {
1970
+ d: "M36.6 22.3 40.8 20M63.4 22.3 59.2 20",
1971
+ stroke: "#ffb020",
1972
+ strokeWidth: "2.6",
1973
+ strokeLinecap: "round"
1974
+ }),
1975
+ /* @__PURE__ */ jsx("circle", {
1976
+ cx: "72",
1977
+ cy: "56",
1978
+ r: "1.2",
1979
+ fill: "#e53935"
1980
+ }),
1981
+ /* @__PURE__ */ jsx("circle", {
1982
+ cx: "70.2",
1983
+ cy: "59.4",
1984
+ r: "1.2",
1985
+ fill: "#29b6d6"
1986
+ })
1987
+ ]
1988
+ });
1989
+ $[23] = t22;
1990
+ } else t22 = $[23];
1991
+ return t22;
1992
+ };
1993
+ /**
1994
+ * Replaces the old TEST chip. Dismissal is component state on purpose: it lasts
1995
+ * the session but a reload brings him back, so nobody permanently hides the
1996
+ * fact that they are not on production.
1997
+ */
1998
+ const TestMascot = () => {
1999
+ const $ = c(11);
2000
+ if ($[0] !== "e5213aae92cf50ec48e63642048f00953109cbb2097e6b3e7ca6b310b4453c41") {
2001
+ for (let $i = 0; $i < 11; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
2002
+ $[0] = "e5213aae92cf50ec48e63642048f00953109cbb2097e6b3e7ca6b310b4453c41";
2003
+ }
2004
+ const router = useRouter();
2005
+ const { t } = useTranslation();
2006
+ const [dismissed, setDismissed] = useState(false);
2007
+ if (dismissed || !isTestEnv(router.origin)) return null;
2008
+ let t0;
2009
+ if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
2010
+ t0 = { env: /* @__PURE__ */ jsx(Box, {
2011
+ component: "span",
2012
+ sx: {
2013
+ color: "warning.main",
2014
+ fontWeight: 700
2015
+ }
2016
+ }) };
2017
+ $[1] = t0;
2018
+ } else t0 = $[1];
2019
+ let t1;
2020
+ if ($[2] !== t) {
2021
+ t1 = /* @__PURE__ */ jsx(Trans, {
2022
+ t,
2023
+ i18nKey: "Layout.TestEnvironment",
2024
+ components: t0
2025
+ });
2026
+ $[2] = t;
2027
+ $[3] = t1;
2028
+ } else t1 = $[3];
2029
+ let t2;
2030
+ if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
2031
+ t2 = () => setDismissed(true);
2032
+ $[4] = t2;
2033
+ } else t2 = $[4];
2034
+ let t3;
2035
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
2036
+ t3 = /* @__PURE__ */ jsx(IconButton, {
2037
+ size: "small",
2038
+ onClick: t2,
2039
+ sx: _temp3$1,
2040
+ children: /* @__PURE__ */ jsx(Close, { sx: { fontSize: 14 } })
2041
+ });
2042
+ $[5] = t3;
2043
+ } else t3 = $[5];
2044
+ let t4;
2045
+ if ($[6] !== t1) {
2046
+ t4 = /* @__PURE__ */ jsxs(Box, {
2047
+ sx: _temp2$2,
2048
+ children: [t1, t3]
2049
+ });
2050
+ $[6] = t1;
2051
+ $[7] = t4;
2052
+ } else t4 = $[7];
2053
+ let t5;
2054
+ if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
2055
+ t5 = /* @__PURE__ */ jsx(Wisby, {});
2056
+ $[8] = t5;
2057
+ } else t5 = $[8];
2058
+ let t6;
2059
+ if ($[9] !== t4) {
2060
+ t6 = /* @__PURE__ */ jsxs(Box, {
2061
+ sx: _temp$2,
2062
+ children: [t4, t5]
2063
+ });
2064
+ $[9] = t4;
2065
+ $[10] = t6;
2066
+ } else t6 = $[10];
2067
+ return t6;
2068
+ };
2069
+ function _temp$2(theme) {
2070
+ return {
2071
+ position: "fixed",
2072
+ right: {
2073
+ xs: 4,
2074
+ sm: 16
2075
+ },
2076
+ bottom: 0,
2077
+ display: "flex",
2078
+ alignItems: "flex-end",
2079
+ pointerEvents: "none",
2080
+ zIndex: theme.zIndex.tooltip
2081
+ };
2082
+ }
2083
+ function _temp2$2(theme_0) {
2084
+ return {
2085
+ position: "relative",
2086
+ mb: {
2087
+ xs: 5,
2088
+ sm: 8
2089
+ },
2090
+ mr: -1,
2091
+ px: 1.5,
2092
+ py: 1,
2093
+ maxWidth: 190,
2094
+ borderRadius: 2,
2095
+ border: "1px solid",
2096
+ borderColor: "divider",
2097
+ color: "text.primary",
2098
+ backgroundColor: theme_0.palette.common.white,
2099
+ fontSize: 13,
2100
+ fontWeight: 500,
2101
+ lineHeight: 1.35,
2102
+ boxShadow: theme_0.shadows[6],
2103
+ transformOrigin: "100% 50%",
2104
+ animation: "wisbyTalk 5s ease-in-out infinite",
2105
+ ...theme_0.applyStyles("dark", { backgroundColor: theme_0.palette.grey[800] }),
2106
+ "@keyframes wisbyTalk": {
2107
+ "0%, 86%, 100%": { transform: "scale(1)" },
2108
+ "91%": { transform: "scale(1.05)" },
2109
+ "95%": { transform: "scale(.985)" }
2110
+ },
2111
+ "@media (prefers-reduced-motion: reduce)": { animation: "none" },
2112
+ "&::after": {
2113
+ content: "\"\"",
2114
+ position: "absolute",
2115
+ right: -5,
2116
+ bottom: 14,
2117
+ width: 9,
2118
+ height: 9,
2119
+ transform: "rotate(45deg)",
2120
+ borderRight: "1px solid",
2121
+ borderTop: "1px solid",
2122
+ borderColor: "inherit",
2123
+ backgroundColor: "inherit"
2124
+ }
2125
+ };
2126
+ }
2127
+ function _temp3$1(theme_1) {
2128
+ return {
2129
+ pointerEvents: "auto",
2130
+ position: "absolute",
2131
+ top: -12,
2132
+ right: -12,
2133
+ padding: .25,
2134
+ border: "1px solid",
2135
+ borderColor: "divider",
2136
+ color: "text.primary",
2137
+ backgroundColor: theme_1.palette.common.white,
2138
+ "&:hover": { backgroundColor: theme_1.palette.grey[100] },
2139
+ ...theme_1.applyStyles("dark", {
2140
+ backgroundColor: theme_1.palette.grey[800],
2141
+ "&:hover": { backgroundColor: theme_1.palette.grey[700] }
2142
+ })
2143
+ };
2144
+ }
2145
+ //#endregion
1277
2146
  //#region src/components/core/Layout.tsx
1278
2147
  const NAVIGATION_STORAGE_KEY = "navigation-open";
1279
2148
  const getInitialNavigationOpen = () => {
@@ -1291,10 +2160,10 @@ const DrawerHeader = styled("div")(({ theme }) => ({
1291
2160
  ...theme.mixins.toolbar
1292
2161
  }));
1293
2162
  const Layout = (t0) => {
1294
- const $ = c(31);
1295
- if ($[0] !== "b36cabb1060ff4c42291ad31e690223473280a68de8857970aced83944087416") {
1296
- for (let $i = 0; $i < 31; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
1297
- $[0] = "b36cabb1060ff4c42291ad31e690223473280a68de8857970aced83944087416";
2163
+ const $ = c(33);
2164
+ if ($[0] !== "6efe35980a23b2f2e5f80ee032c72f4ccc19b5fb1be382d06a0535a50acfed85") {
2165
+ for (let $i = 0; $i < 33; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
2166
+ $[0] = "6efe35980a23b2f2e5f80ee032c72f4ccc19b5fb1be382d06a0535a50acfed85";
1298
2167
  }
1299
2168
  const { navigation, options, children } = t0;
1300
2169
  const [navigationOpen, setNavigationOpen] = useState(false);
@@ -1305,46 +2174,56 @@ const Layout = (t0) => {
1305
2174
  $[2] = t1;
1306
2175
  } else t1 = $[2];
1307
2176
  const showNavigation = t1;
1308
- const showShell = options?.showShell ?? true;
1309
2177
  let t2;
1310
- let t3;
1311
2178
  if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
1312
- t2 = () => {
2179
+ t2 = { select: _temp2$1 };
2180
+ $[3] = t2;
2181
+ } else t2 = $[3];
2182
+ const pathname = useLocation(t2);
2183
+ const showShell = options?.showShell ?? pathname !== "/login";
2184
+ let t3;
2185
+ let t4;
2186
+ if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
2187
+ t3 = () => {
1313
2188
  if (getInitialNavigationOpen()) setNavigationOpen(true);
1314
2189
  };
1315
- t3 = [];
1316
- $[3] = t2;
2190
+ t4 = [];
1317
2191
  $[4] = t3;
2192
+ $[5] = t4;
1318
2193
  } else {
1319
- t2 = $[3];
1320
2194
  t3 = $[4];
2195
+ t4 = $[5];
1321
2196
  }
1322
- useEffect(t2, t3);
1323
- let t4;
2197
+ useEffect(t3, t4);
1324
2198
  let t5;
1325
- if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
1326
- t4 = /* @__PURE__ */ jsx(InitColorSchemeScript, {});
1327
- t5 = /* @__PURE__ */ jsx(CssBaseline, {});
1328
- $[5] = t4;
2199
+ let t6;
2200
+ let t7;
2201
+ if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
2202
+ t5 = /* @__PURE__ */ jsx(InitColorSchemeScript, {});
2203
+ t6 = /* @__PURE__ */ jsx(CssBaseline, {});
2204
+ t7 = /* @__PURE__ */ jsx(TestMascot, {});
1329
2205
  $[6] = t5;
2206
+ $[7] = t6;
2207
+ $[8] = t7;
1330
2208
  } else {
1331
- t4 = $[5];
1332
2209
  t5 = $[6];
2210
+ t6 = $[7];
2211
+ t7 = $[8];
1333
2212
  }
1334
- let t6;
1335
- if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
1336
- t6 = {
2213
+ let t8;
2214
+ if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
2215
+ t8 = {
1337
2216
  display: "flex",
1338
2217
  height: "100dvh",
1339
2218
  maxHeight: "100dvh",
1340
2219
  overflow: "hidden",
1341
2220
  width: "100%"
1342
2221
  };
1343
- $[7] = t6;
1344
- } else t6 = $[7];
1345
- let t7;
1346
- if ($[8] !== navigationOpen || $[9] !== options || $[10] !== showNavigation || $[11] !== showShell) {
1347
- t7 = showShell && /* @__PURE__ */ jsx(AppBar, {
2222
+ $[9] = t8;
2223
+ } else t8 = $[9];
2224
+ let t9;
2225
+ if ($[10] !== navigationOpen || $[11] !== options || $[12] !== showNavigation || $[13] !== showShell) {
2226
+ t9 = showShell && /* @__PURE__ */ jsx(AppBar, {
1348
2227
  color: "transparent",
1349
2228
  position: "fixed",
1350
2229
  sx: {
@@ -1356,7 +2235,7 @@ const Layout = (t0) => {
1356
2235
  showNavigation && /* @__PURE__ */ jsx(IconButton, {
1357
2236
  "aria-label": "Toggle navigation",
1358
2237
  onClick: () => {
1359
- setNavigationOpen(_temp2$1);
2238
+ setNavigationOpen(_temp3);
1360
2239
  },
1361
2240
  sx: { marginRight: 2 },
1362
2241
  children: navigationOpen ? /* @__PURE__ */ jsx(MenuOpen, {}) : /* @__PURE__ */ jsx(Menu$1, {})
@@ -1374,15 +2253,15 @@ const Layout = (t0) => {
1374
2253
  /* @__PURE__ */ jsx(ToolbarAccount, {})
1375
2254
  ] })
1376
2255
  });
1377
- $[8] = navigationOpen;
1378
- $[9] = options;
1379
- $[10] = showNavigation;
1380
- $[11] = showShell;
1381
- $[12] = t7;
1382
- } else t7 = $[12];
1383
- let t8;
1384
- if ($[13] !== navigation || $[14] !== navigationOpen || $[15] !== showNavigation || $[16] !== showShell) {
1385
- t8 = showNavigation && showShell && /* @__PURE__ */ jsx(NavigationRail, {
2256
+ $[10] = navigationOpen;
2257
+ $[11] = options;
2258
+ $[12] = showNavigation;
2259
+ $[13] = showShell;
2260
+ $[14] = t9;
2261
+ } else t9 = $[14];
2262
+ let t10;
2263
+ if ($[15] !== navigation || $[16] !== navigationOpen || $[17] !== showNavigation || $[18] !== showShell) {
2264
+ t10 = showNavigation && showShell && /* @__PURE__ */ jsx(NavigationRail, {
1386
2265
  navigation,
1387
2266
  expanded: navigationOpen,
1388
2267
  setExpanded: (newValue_0) => {
@@ -1390,15 +2269,15 @@ const Layout = (t0) => {
1390
2269
  saveNavigationState(newValue_0);
1391
2270
  }
1392
2271
  });
1393
- $[13] = navigation;
1394
- $[14] = navigationOpen;
1395
- $[15] = showNavigation;
1396
- $[16] = showShell;
1397
- $[17] = t8;
1398
- } else t8 = $[17];
1399
- let t9;
1400
- if ($[18] === Symbol.for("react.memo_cache_sentinel")) {
1401
- t9 = {
2272
+ $[15] = navigation;
2273
+ $[16] = navigationOpen;
2274
+ $[17] = showNavigation;
2275
+ $[18] = showShell;
2276
+ $[19] = t10;
2277
+ } else t10 = $[19];
2278
+ let t11;
2279
+ if ($[20] === Symbol.for("react.memo_cache_sentinel")) {
2280
+ t11 = {
1402
2281
  flexGrow: 1,
1403
2282
  display: "flex",
1404
2283
  flexDirection: "column",
@@ -1406,68 +2285,72 @@ const Layout = (t0) => {
1406
2285
  height: "100%",
1407
2286
  overflow: "hidden"
1408
2287
  };
1409
- $[18] = t9;
1410
- } else t9 = $[18];
1411
- let t10;
1412
- if ($[19] !== showShell) {
1413
- t10 = showShell && /* @__PURE__ */ jsx(DrawerHeader, {});
1414
- $[19] = showShell;
1415
- $[20] = t10;
1416
- } else t10 = $[20];
1417
- let t11;
1418
- if ($[21] === Symbol.for("react.memo_cache_sentinel")) {
1419
- t11 = {
2288
+ $[20] = t11;
2289
+ } else t11 = $[20];
2290
+ let t12;
2291
+ if ($[21] !== showShell) {
2292
+ t12 = showShell && /* @__PURE__ */ jsx(DrawerHeader, {});
2293
+ $[21] = showShell;
2294
+ $[22] = t12;
2295
+ } else t12 = $[22];
2296
+ let t13;
2297
+ if ($[23] === Symbol.for("react.memo_cache_sentinel")) {
2298
+ t13 = {
1420
2299
  flex: 1,
1421
2300
  overflow: "auto",
1422
2301
  position: "relative"
1423
2302
  };
1424
- $[21] = t11;
1425
- } else t11 = $[21];
1426
- let t12;
1427
- if ($[22] !== children) {
1428
- t12 = /* @__PURE__ */ jsx(Box, {
1429
- sx: t11,
2303
+ $[23] = t13;
2304
+ } else t13 = $[23];
2305
+ let t14;
2306
+ if ($[24] !== children) {
2307
+ t14 = /* @__PURE__ */ jsx(Box, {
2308
+ sx: t13,
1430
2309
  children
1431
2310
  });
1432
- $[22] = children;
1433
- $[23] = t12;
1434
- } else t12 = $[23];
1435
- let t13;
1436
- if ($[24] !== t10 || $[25] !== t12) {
1437
- t13 = /* @__PURE__ */ jsxs(Box, {
2311
+ $[24] = children;
2312
+ $[25] = t14;
2313
+ } else t14 = $[25];
2314
+ let t15;
2315
+ if ($[26] !== t12 || $[27] !== t14) {
2316
+ t15 = /* @__PURE__ */ jsxs(Box, {
1438
2317
  component: "main",
1439
- sx: t9,
1440
- children: [t10, t12]
2318
+ sx: t11,
2319
+ children: [t12, t14]
1441
2320
  });
1442
- $[24] = t10;
1443
- $[25] = t12;
1444
- $[26] = t13;
1445
- } else t13 = $[26];
1446
- let t14;
1447
- if ($[27] !== t13 || $[28] !== t7 || $[29] !== t8) {
1448
- t14 = /* @__PURE__ */ jsxs(Fragment, { children: [
1449
- t4,
2321
+ $[26] = t12;
2322
+ $[27] = t14;
2323
+ $[28] = t15;
2324
+ } else t15 = $[28];
2325
+ let t16;
2326
+ if ($[29] !== t10 || $[30] !== t15 || $[31] !== t9) {
2327
+ t16 = /* @__PURE__ */ jsxs(Fragment, { children: [
1450
2328
  t5,
2329
+ t6,
2330
+ t7,
1451
2331
  /* @__PURE__ */ jsxs(Box, {
1452
- sx: t6,
2332
+ sx: t8,
1453
2333
  children: [
1454
- t7,
1455
- t8,
1456
- t13
2334
+ t9,
2335
+ t10,
2336
+ t15
1457
2337
  ]
1458
2338
  })
1459
2339
  ] });
1460
- $[27] = t13;
1461
- $[28] = t7;
1462
- $[29] = t8;
1463
- $[30] = t14;
1464
- } else t14 = $[30];
1465
- return t14;
2340
+ $[29] = t10;
2341
+ $[30] = t15;
2342
+ $[31] = t9;
2343
+ $[32] = t16;
2344
+ } else t16 = $[32];
2345
+ return t16;
1466
2346
  };
1467
2347
  function _temp$1(item) {
1468
2348
  return item.hidden !== true;
1469
2349
  }
1470
- function _temp2$1(previous) {
2350
+ function _temp2$1(location) {
2351
+ return location.pathname;
2352
+ }
2353
+ function _temp3(previous) {
1471
2354
  const newValue = !previous;
1472
2355
  saveNavigationState(newValue);
1473
2356
  return newValue;
@@ -1537,130 +2420,6 @@ function DialogsProvider({ children }) {
1537
2420
  });
1538
2421
  }
1539
2422
  //#endregion
1540
- //#region src/providers/NotificationProvider.tsx
1541
- const STACK_INTERVAL = 1e3;
1542
- const NotificationProvider = (t0) => {
1543
- const $ = c(22);
1544
- if ($[0] !== "aeeb800673c818aa8dd113658f5d8c31d4fe124c64515dc70b2cce8523de5a50") {
1545
- for (let $i = 0; $i < 22; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
1546
- $[0] = "aeeb800673c818aa8dd113658f5d8c31d4fe124c64515dc70b2cce8523de5a50";
1547
- }
1548
- const { children, snackbarOrigin } = t0;
1549
- let t1;
1550
- if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
1551
- t1 = [];
1552
- $[1] = t1;
1553
- } else t1 = $[1];
1554
- const [queue, setQueue] = useState(t1);
1555
- const [current, setCurrent] = useState(null);
1556
- const open = Boolean(current);
1557
- const processingTimeout = useRef(null);
1558
- let t2;
1559
- if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
1560
- t2 = () => {
1561
- setQueue((prevQueue) => {
1562
- if (prevQueue.length === 0) return prevQueue;
1563
- const [next, ...rest] = prevQueue;
1564
- setCurrent(next);
1565
- return rest;
1566
- });
1567
- };
1568
- $[2] = t2;
1569
- } else t2 = $[2];
1570
- const processQueue = t2;
1571
- let t3;
1572
- let t4;
1573
- if ($[3] !== current || $[4] !== open || $[5] !== queue.length) {
1574
- t3 = () => {
1575
- if (!open && queue.length > 0) processingTimeout.current = setTimeout(processQueue, current ? STACK_INTERVAL : 0);
1576
- return () => {
1577
- if (processingTimeout.current) clearTimeout(processingTimeout.current);
1578
- };
1579
- };
1580
- t4 = [
1581
- open,
1582
- queue.length,
1583
- current
1584
- ];
1585
- $[3] = current;
1586
- $[4] = open;
1587
- $[5] = queue.length;
1588
- $[6] = t3;
1589
- $[7] = t4;
1590
- } else {
1591
- t3 = $[6];
1592
- t4 = $[7];
1593
- }
1594
- useEffect(t3, t4);
1595
- let t5;
1596
- if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
1597
- t5 = (message, options) => {
1598
- const notification = {
1599
- message,
1600
- severity: options?.severity,
1601
- autoHideDuration: options?.autoHideDuration ?? 5e3
1602
- };
1603
- setQueue((prev) => [...prev, notification]);
1604
- };
1605
- $[8] = t5;
1606
- } else t5 = $[8];
1607
- const notify = t5;
1608
- let t6;
1609
- if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
1610
- t6 = { notify };
1611
- $[9] = t6;
1612
- } else t6 = $[9];
1613
- const t7 = current?.autoHideDuration;
1614
- let t8;
1615
- if ($[10] === Symbol.for("react.memo_cache_sentinel")) {
1616
- t8 = (_event, reason) => {
1617
- if (reason === "clickaway") return;
1618
- setCurrent(null);
1619
- };
1620
- $[10] = t8;
1621
- } else t8 = $[10];
1622
- const t9 = current?.message;
1623
- let t10;
1624
- if ($[11] !== current) {
1625
- t10 = current?.severity ? /* @__PURE__ */ jsx(Alert, {
1626
- onClose: () => setCurrent(null),
1627
- severity: current.severity,
1628
- variant: "filled",
1629
- children: current.message
1630
- }) : void 0;
1631
- $[11] = current;
1632
- $[12] = t10;
1633
- } else t10 = $[12];
1634
- let t11;
1635
- if ($[13] !== open || $[14] !== snackbarOrigin || $[15] !== t10 || $[16] !== t7 || $[17] !== t9) {
1636
- t11 = /* @__PURE__ */ jsx(Snackbar, {
1637
- open,
1638
- autoHideDuration: t7,
1639
- onClose: t8,
1640
- anchorOrigin: snackbarOrigin,
1641
- message: t9,
1642
- children: t10
1643
- });
1644
- $[13] = open;
1645
- $[14] = snackbarOrigin;
1646
- $[15] = t10;
1647
- $[16] = t7;
1648
- $[17] = t9;
1649
- $[18] = t11;
1650
- } else t11 = $[18];
1651
- let t12;
1652
- if ($[19] !== children || $[20] !== t11) {
1653
- t12 = /* @__PURE__ */ jsxs(NotificationContext, {
1654
- value: t6,
1655
- children: [children, t11]
1656
- });
1657
- $[19] = children;
1658
- $[20] = t11;
1659
- $[21] = t12;
1660
- } else t12 = $[21];
1661
- return t12;
1662
- };
1663
- //#endregion
1664
2423
  //#region src/providers/LayoutProvider.tsx
1665
2424
  const YEAR_IN_SECONDS = 31536e3;
1666
2425
  const LANGUAGE_COOKIE = "i18next";
@@ -1686,10 +2445,10 @@ i18n.on("languageChanged", (language) => {
1686
2445
  if (typeof document !== "undefined") document.cookie = `${LANGUAGE_COOKIE}=${language};path=/;max-age=${YEAR_IN_SECONDS};SameSite=Lax`;
1687
2446
  });
1688
2447
  const LayoutProvider = (t0) => {
1689
- const $ = c(20);
1690
- if ($[0] !== "c28bfc7f6e02b7ee577be54fe9226663afccbab462c3b89a12e8ef15767981dd") {
1691
- for (let $i = 0; $i < 20; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
1692
- $[0] = "c28bfc7f6e02b7ee577be54fe9226663afccbab462c3b89a12e8ef15767981dd";
2448
+ const $ = c(17);
2449
+ if ($[0] !== "33252bda848063e03443e7fcfe6569c13fbfb8e1f5ff8ec8b0be39481aa3cb8d") {
2450
+ for (let $i = 0; $i < 17; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
2451
+ $[0] = "33252bda848063e03443e7fcfe6569c13fbfb8e1f5ff8ec8b0be39481aa3cb8d";
1693
2452
  }
1694
2453
  const { options, navigation, theme, children } = t0;
1695
2454
  let t1;
@@ -1712,64 +2471,53 @@ const LayoutProvider = (t0) => {
1712
2471
  $[3] = t3;
1713
2472
  } else t3 = $[3];
1714
2473
  useEffect(_temp2, t3);
1715
- const t4 = options?.snackbarOrigin;
1716
- let t5;
2474
+ let t4;
1717
2475
  if ($[4] !== activeI18n.language || $[5] !== children) {
1718
- t5 = /* @__PURE__ */ jsx(Fragment, { children }, activeI18n.language);
2476
+ t4 = /* @__PURE__ */ jsx(Fragment, { children }, activeI18n.language);
1719
2477
  $[4] = activeI18n.language;
1720
2478
  $[5] = children;
1721
- $[6] = t5;
1722
- } else t5 = $[6];
1723
- let t6;
1724
- if ($[7] !== navigation || $[8] !== options || $[9] !== t5) {
1725
- t6 = /* @__PURE__ */ jsx(DialogsProvider, { children: /* @__PURE__ */ jsx(Layout, {
2479
+ $[6] = t4;
2480
+ } else t4 = $[6];
2481
+ let t5;
2482
+ if ($[7] !== navigation || $[8] !== options || $[9] !== t4) {
2483
+ t5 = /* @__PURE__ */ jsx(DialogsProvider, { children: /* @__PURE__ */ jsx(Layout, {
1726
2484
  navigation,
1727
2485
  options,
1728
- children: t5
2486
+ children: t4
1729
2487
  }) });
1730
2488
  $[7] = navigation;
1731
2489
  $[8] = options;
1732
- $[9] = t5;
1733
- $[10] = t6;
1734
- } else t6 = $[10];
1735
- let t7;
1736
- if ($[11] !== t4 || $[12] !== t6) {
1737
- t7 = /* @__PURE__ */ jsx(NotificationProvider, {
1738
- snackbarOrigin: t4,
1739
- children: t6
1740
- });
1741
- $[11] = t4;
1742
- $[12] = t6;
1743
- $[13] = t7;
1744
- } else t7 = $[13];
1745
- let t8;
1746
- if ($[14] !== activeI18n.language || $[15] !== t7) {
1747
- t8 = /* @__PURE__ */ jsx(LocalizationProvider, {
2490
+ $[9] = t4;
2491
+ $[10] = t5;
2492
+ } else t5 = $[10];
2493
+ let t6;
2494
+ if ($[11] !== activeI18n.language || $[12] !== t5) {
2495
+ t6 = /* @__PURE__ */ jsx(LocalizationProvider, {
1748
2496
  dateAdapter: AdapterDayjs,
1749
2497
  adapterLocale: activeI18n.language,
1750
- children: t7
2498
+ children: t5
1751
2499
  });
1752
- $[14] = activeI18n.language;
1753
- $[15] = t7;
1754
- $[16] = t8;
1755
- } else t8 = $[16];
1756
- let t9;
1757
- if ($[17] !== t8 || $[18] !== theme) {
1758
- t9 = /* @__PURE__ */ jsx(CacheProvider, {
2500
+ $[11] = activeI18n.language;
2501
+ $[12] = t5;
2502
+ $[13] = t6;
2503
+ } else t6 = $[13];
2504
+ let t7;
2505
+ if ($[14] !== t6 || $[15] !== theme) {
2506
+ t7 = /* @__PURE__ */ jsx(CacheProvider, {
1759
2507
  value: emotionCache,
1760
2508
  children: /* @__PURE__ */ jsx(I18nextProvider, {
1761
2509
  i18n,
1762
2510
  children: /* @__PURE__ */ jsx(ThemeProvider, {
1763
2511
  theme,
1764
- children: t8
2512
+ children: t6
1765
2513
  })
1766
2514
  })
1767
2515
  });
1768
- $[17] = t8;
1769
- $[18] = theme;
1770
- $[19] = t9;
1771
- } else t9 = $[19];
1772
- return t9;
2516
+ $[14] = t6;
2517
+ $[15] = theme;
2518
+ $[16] = t7;
2519
+ } else t7 = $[16];
2520
+ return t7;
1773
2521
  };
1774
2522
  function _temp() {
1775
2523
  i18n.changeLanguage();
@@ -1778,6 +2526,6 @@ function _temp2() {
1778
2526
  if ("serviceWorker" in navigator) navigator.serviceWorker.register("/sw.js");
1779
2527
  }
1780
2528
  //#endregion
1781
- export { LayoutProvider, WISTRON_PRIMARY_COLOR, WISTRON_SECONDARY_COLOR, getUser, rootRouteHead };
2529
+ export { LayoutProvider, WISTRON_PRIMARY_COLOR, WISTRON_SECONDARY_COLOR, getUser, loginProvidersQueryOptions, rootRouteHead };
1782
2530
 
1783
2531
  //# sourceMappingURL=index.mjs.map