sass-cms-template-common 0.0.4 → 0.0.5

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.
package/dist/index.js CHANGED
@@ -1,70 +1,70 @@
1
- import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "./services-DlTJ4HIV.js";
2
- import { ThemeProvider as u, alpha as d, createTheme as f } from "@mui/material/styles";
3
- import { createContext as p, forwardRef as m, useContext as h, useMemo as g, useState as _ } from "react";
4
- import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
5
- import x from "@mui/material/Box";
6
- import S from "@mui/icons-material/ChevronRight";
7
- import ee from "@mui/icons-material/ExpandMore";
8
- import te from "@mui/material/Collapse";
1
+ import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./services-CK6pkce_.js";
2
+ import { ThemeProvider as d, alpha as f, createTheme as p } from "@mui/material/styles";
3
+ import { createContext as m, forwardRef as h, useContext as g, useMemo as _, useState as v } from "react";
4
+ import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
5
+ import S from "@mui/material/Box";
6
+ import ee from "@mui/icons-material/ChevronRight";
7
+ import te from "@mui/icons-material/ExpandMore";
8
+ import ne from "@mui/material/Collapse";
9
9
  import C from "@mui/material/IconButton";
10
- import w from "@mui/material/ListItemIcon";
11
- import T from "@mui/material/ListItemText";
12
- import E from "@mui/material/Menu";
13
- import D from "@mui/material/MenuItem";
14
- import O from "@mui/material/Tooltip";
15
- import k from "@mui/material/Typography";
16
- import ne from "@mui/icons-material/BarChartOutlined";
10
+ import re from "@mui/material/ListItemIcon";
11
+ import w from "@mui/material/ListItemText";
12
+ import T from "@mui/material/Menu";
13
+ import E from "@mui/material/MenuItem";
14
+ import D from "@mui/material/Tooltip";
15
+ import O from "@mui/material/Typography";
16
+ import k from "@mui/icons-material/BarChartOutlined";
17
17
  import A from "@mui/icons-material/BookmarkBorderOutlined";
18
18
  import j from "@mui/icons-material/ChatBubbleOutlineOutlined";
19
19
  import M from "@mui/icons-material/CreateOutlined";
20
20
  import N from "@mui/icons-material/EventOutlined";
21
- import P from "@mui/icons-material/ExploreOutlined";
22
- import re from "@mui/icons-material/ImageOutlined";
23
- import ie from "@mui/icons-material/ImportExportOutlined";
24
- import ae from "@mui/icons-material/LabelOutlined";
25
- import oe from "@mui/icons-material/MailOutlineOutlined";
26
- import se from "@mui/icons-material/MoreHorizOutlined";
27
- import ce from "@mui/icons-material/NotificationsNoneOutlined";
28
- import le from "@mui/icons-material/PeopleOutlineOutlined";
29
- import ue from "@mui/icons-material/PeopleOutlined";
30
- import de from "@mui/icons-material/PermMediaOutlined";
31
- import fe from "@mui/icons-material/PlayCircleOutlineOutlined";
32
- import pe from "@mui/icons-material/RestaurantOutlined";
33
- import me from "@mui/icons-material/SearchOutlined";
34
- import he from "@mui/icons-material/ShoppingCartOutlined";
35
- import ge from "@mui/icons-material/ViewListOutlined";
36
- import _e from "@mui/icons-material/FormatAlignCenter";
37
- import ve from "@mui/icons-material/TimelineOutlined";
38
- import ye from "@mui/icons-material/MessageOutlined";
39
- import be from "@mui/icons-material/MicNoneOutlined";
40
- import xe from "@mui/icons-material/PlaylistPlayOutlined";
41
- import Se from "@mui/icons-material/PendingActionsOutlined";
42
- import Ce from "@mui/icons-material/ForumOutlined";
43
- import we from "@mui/icons-material/UsbOutlined";
44
- import Te from "@mui/icons-material/FormatListBulletedOutlined";
45
- import Ee from "@mui/icons-material/VerticalSplitOutlined";
46
- import De from "@mui/icons-material/ViewQuiltOutlined";
47
- import Oe from "@mui/icons-material/SubscriptionsOutlined";
48
- import ke from "@mui/icons-material/AddOutlined";
49
- import Ae from "@mui/icons-material/DevicesOtherOutlined";
50
- import je from "@mui/icons-material/HelpOutlineOutlined";
51
- import Me from "@mui/icons-material/Menu";
52
- import Ne from "@mui/material/AppBar";
53
- import Pe from "@mui/material/Toolbar";
54
- import Fe from "@mui/icons-material/KeyboardArrowDown";
55
- import Ie from "@mui/material/Button";
56
- import Le from "@mui/material/Badge";
57
- import Re from "@mui/material/List";
58
- import ze from "@mui/material/ListItemButton";
59
- import Be from "@mui/icons-material/EditOutlined";
60
- import Ve from "@mui/icons-material/LogoutOutlined";
61
- import He from "@mui/icons-material/PersonOutlined";
62
- import Ue from "@mui/material/Avatar";
63
- import We from "@mui/material/Divider";
64
- import F from "@mui/material/CssBaseline";
65
- import { AppRouterCacheProvider as Ge } from "@mui/material-nextjs/v16-appRouter";
21
+ import ie from "@mui/icons-material/ExploreOutlined";
22
+ import ae from "@mui/icons-material/ImageOutlined";
23
+ import oe from "@mui/icons-material/ImportExportOutlined";
24
+ import se from "@mui/icons-material/LabelOutlined";
25
+ import ce from "@mui/icons-material/MailOutlineOutlined";
26
+ import le from "@mui/icons-material/MoreHorizOutlined";
27
+ import ue from "@mui/icons-material/NotificationsNoneOutlined";
28
+ import de from "@mui/icons-material/PeopleOutlineOutlined";
29
+ import fe from "@mui/icons-material/PeopleOutlined";
30
+ import pe from "@mui/icons-material/PermMediaOutlined";
31
+ import me from "@mui/icons-material/PlayCircleOutlineOutlined";
32
+ import he from "@mui/icons-material/RestaurantOutlined";
33
+ import ge from "@mui/icons-material/SearchOutlined";
34
+ import _e from "@mui/icons-material/ShoppingCartOutlined";
35
+ import ve from "@mui/icons-material/ViewListOutlined";
36
+ import ye from "@mui/icons-material/FormatAlignCenter";
37
+ import be from "@mui/icons-material/TimelineOutlined";
38
+ import xe from "@mui/icons-material/MessageOutlined";
39
+ import Se from "@mui/icons-material/MicNoneOutlined";
40
+ import Ce from "@mui/icons-material/PlaylistPlayOutlined";
41
+ import we from "@mui/icons-material/PendingActionsOutlined";
42
+ import Te from "@mui/icons-material/ForumOutlined";
43
+ import Ee from "@mui/icons-material/UsbOutlined";
44
+ import De from "@mui/icons-material/FormatListBulletedOutlined";
45
+ import Oe from "@mui/icons-material/VerticalSplitOutlined";
46
+ import ke from "@mui/icons-material/ViewQuiltOutlined";
47
+ import Ae from "@mui/icons-material/SubscriptionsOutlined";
48
+ import je from "@mui/icons-material/AddOutlined";
49
+ import Me from "@mui/icons-material/DevicesOtherOutlined";
50
+ import Ne from "@mui/icons-material/HelpOutlineOutlined";
51
+ import Pe from "@mui/icons-material/Menu";
52
+ import Fe from "@mui/material/AppBar";
53
+ import Ie from "@mui/material/Toolbar";
54
+ import Le from "@mui/icons-material/KeyboardArrowDown";
55
+ import Re from "@mui/material/Button";
56
+ import ze from "@mui/material/Badge";
57
+ import Be from "@mui/material/List";
58
+ import Ve from "@mui/material/ListItemButton";
59
+ import He from "@mui/icons-material/EditOutlined";
60
+ import Ue from "@mui/icons-material/LogoutOutlined";
61
+ import We from "@mui/icons-material/PersonOutlined";
62
+ import Ge from "@mui/material/Avatar";
63
+ import Ke from "@mui/material/Divider";
64
+ import P from "@mui/material/CssBaseline";
65
+ import { AppRouterCacheProvider as qe } from "@mui/material-nextjs/v16-appRouter";
66
66
  //#region src/lib/version.ts
67
- var Ke = "0.0.0", I = {
67
+ var Je = "0.0.0", F = {
68
68
  description: "TYPE: CUSTOM\nMaterial Theme Builder export 2026-05-08 02:18:51",
69
69
  seed: "#0067C4",
70
70
  coreColors: {
@@ -529,10 +529,10 @@ var Ke = "0.0.0", I = {
529
529
  };
530
530
  //#endregion
531
531
  //#region src/lib/theme/createAppTheme.ts
532
- function L(e) {
533
- return I.extendedColors.find((t) => t.name === e)?.color;
532
+ function I(e) {
533
+ return F.extendedColors.find((t) => t.name === e)?.color;
534
534
  }
535
- function qe(e) {
535
+ function Ye(e) {
536
536
  return {
537
537
  50: e[98],
538
538
  100: e[95],
@@ -550,7 +550,7 @@ function qe(e) {
550
550
  A700: e[40]
551
551
  };
552
552
  }
553
- function Je(e, t) {
553
+ function Xe(e, t) {
554
554
  let n = t.onSurface;
555
555
  return {
556
556
  mode: e,
@@ -579,28 +579,28 @@ function Je(e, t) {
579
579
  contrastText: t.onError
580
580
  },
581
581
  warning: {
582
- main: L("Estado Programado") ?? "#FF6D00",
582
+ main: I("Estado Programado") ?? "#FF6D00",
583
583
  light: "#FF9E40",
584
584
  dark: "#C25400",
585
585
  contrastText: "#FFFFFF"
586
586
  },
587
587
  info: {
588
- main: L("Estado Redaccion") ?? "#0091EA",
588
+ main: I("Estado Redaccion") ?? "#0091EA",
589
589
  light: "#64B5F6",
590
590
  dark: "#0064B7",
591
591
  contrastText: "#FFFFFF"
592
592
  },
593
593
  success: {
594
- main: L("Estado publicada") ?? "#00C853",
594
+ main: I("Estado publicada") ?? "#00C853",
595
595
  light: "#69F0AE",
596
596
  dark: "#009624",
597
597
  contrastText: "#FFFFFF"
598
598
  },
599
- brand: { main: L("Bluestack color") ?? "#2962FF" },
599
+ brand: { main: I("Bluestack color") ?? "#2962FF" },
600
600
  text: {
601
601
  primary: t.onSurface,
602
602
  secondary: t.onSurfaceVariant,
603
- disabled: d(t.onSurface, .38)
603
+ disabled: f(t.onSurface, .38)
604
604
  },
605
605
  divider: t.outlineVariant,
606
606
  background: {
@@ -608,18 +608,18 @@ function Je(e, t) {
608
608
  paper: t.surfaceContainerLowest
609
609
  },
610
610
  action: {
611
- active: d(n, .56),
612
- hover: d(n, e === "light" ? .04 : .08),
613
- selected: d(t.primary, .12),
614
- focus: d(t.primary, .12),
615
- disabled: d(n, .26),
616
- disabledBackground: d(n, .12)
611
+ active: f(n, .56),
612
+ hover: f(n, e === "light" ? .04 : .08),
613
+ selected: f(t.primary, .12),
614
+ focus: f(t.primary, .12),
615
+ disabled: f(n, .26),
616
+ disabledBackground: f(n, .12)
617
617
  },
618
618
  common: {
619
619
  black: t.shadow,
620
620
  white: "#FFFFFF"
621
621
  },
622
- grey: qe(I.palettes.neutral),
622
+ grey: Ye(F.palettes.neutral),
623
623
  m3: {
624
624
  surfaceTint: t.surfaceTint,
625
625
  surfaceDim: t.surfaceDim,
@@ -641,9 +641,9 @@ function Je(e, t) {
641
641
  }
642
642
  };
643
643
  }
644
- function R() {
645
- let e = Je("light", I.schemes.light), t = Je("dark", I.schemes.dark);
646
- return f({
644
+ function L() {
645
+ let e = Xe("light", F.schemes.light), t = Xe("dark", F.schemes.dark);
646
+ return p({
647
647
  cssVariables: { colorSchemeSelector: "data" },
648
648
  defaultColorScheme: "light",
649
649
  colorSchemes: {
@@ -660,13 +660,13 @@ function R() {
660
660
  }
661
661
  //#endregion
662
662
  //#region src/lib/i18n/createTranslator.ts
663
- function Ye(e, t) {
663
+ function Ze(e, t) {
664
664
  return t ? e.replace(/\{(\w+)\}/g, (e, n) => {
665
665
  let r = t[n];
666
666
  return r === void 0 ? `{${n}}` : String(r);
667
667
  }) : e;
668
668
  }
669
- function z(e) {
669
+ function R(e) {
670
670
  let t = e.navigation;
671
671
  return {
672
672
  messages: e,
@@ -674,12 +674,12 @@ function z(e) {
674
674
  sidebar: (t) => e.sidebar[t],
675
675
  topBar: (t) => e.topBar[t],
676
676
  profileMenu: (t) => e.profileMenu[t],
677
- notificationsMenu: (t, n) => Ye(e.notificationsMenu[t], n)
677
+ notificationsMenu: (t, n) => Ze(e.notificationsMenu[t], n)
678
678
  };
679
679
  }
680
680
  //#endregion
681
681
  //#region src/lib/i18n/messages/en.ts
682
- var Xe = {
682
+ var Qe = {
683
683
  navigation: {
684
684
  COMMENTS: "Comments",
685
685
  POLLS: "Polls",
@@ -745,7 +745,7 @@ var Xe = {
745
745
  empty: "No notifications",
746
746
  ariaLabel: "Notifications"
747
747
  }
748
- }, Ze = {
748
+ }, $e = {
749
749
  navigation: {
750
750
  COMMENTS: "Comentarios",
751
751
  POLLS: "Encuestas",
@@ -811,7 +811,7 @@ var Xe = {
811
811
  empty: "No hay notificaciones",
812
812
  ariaLabel: "Notificaciones"
813
813
  }
814
- }, Qe = {
814
+ }, et = {
815
815
  navigation: {
816
816
  COMMENTS: "Comentários",
817
817
  POLLS: "Enquetes",
@@ -877,37 +877,37 @@ var Xe = {
877
877
  empty: "Nenhuma notificação",
878
878
  ariaLabel: "Notificações"
879
879
  }
880
- }, B = {
881
- en: Xe,
882
- es: Ze,
883
- pt: Qe
880
+ }, z = {
881
+ en: Qe,
882
+ es: $e,
883
+ pt: et
884
884
  };
885
- function V(e, t) {
885
+ function B(e, t) {
886
886
  return t ? {
887
887
  ...e,
888
888
  ...t
889
889
  } : e;
890
890
  }
891
- function H(e, t, n) {
891
+ function V(e, t, n) {
892
892
  let r = t[e], i = t.en;
893
893
  return {
894
- navigation: V({
894
+ navigation: B({
895
895
  ...i.navigation,
896
896
  ...r.navigation
897
897
  }, n?.navigation),
898
- sidebar: V({
898
+ sidebar: B({
899
899
  ...i.sidebar,
900
900
  ...r.sidebar
901
901
  }, n?.sidebar),
902
- topBar: V({
902
+ topBar: B({
903
903
  ...i.topBar,
904
904
  ...r.topBar
905
905
  }, n?.topBar),
906
- profileMenu: V({
906
+ profileMenu: B({
907
907
  ...i.profileMenu,
908
908
  ...r.profileMenu
909
909
  }, n?.profileMenu),
910
- notificationsMenu: V({
910
+ notificationsMenu: B({
911
911
  ...i.notificationsMenu,
912
912
  ...r.notificationsMenu
913
913
  }, n?.notificationsMenu)
@@ -915,42 +915,42 @@ function H(e, t, n) {
915
915
  }
916
916
  //#endregion
917
917
  //#region src/lib/i18n/types.ts
918
- var U = [
918
+ var H = [
919
919
  "es",
920
920
  "en",
921
921
  "pt"
922
- ], $e = "en";
922
+ ], tt = "en";
923
923
  //#endregion
924
924
  //#region src/lib/i18n/normalizeLocale.ts
925
- function et(e) {
925
+ function nt(e) {
926
926
  if (!e) return "en";
927
927
  let t = e.trim().toLowerCase().replace("_", "-"), n = t.split("-")[0];
928
- return U.includes(t) ? t : U.includes(n) ? n : "en";
928
+ return H.includes(t) ? t : H.includes(n) ? n : "en";
929
929
  }
930
930
  //#endregion
931
931
  //#region src/lib/i18n/CmsI18nProvider.tsx
932
- var tt = p(null);
933
- function nt({ locale: e, language: t, messages: n, catalog: r = B, children: i }) {
934
- let a = et(e ?? t), o = g(() => ({
932
+ var rt = m(null);
933
+ function it({ locale: e, language: t, messages: n, catalog: r = z, children: i }) {
934
+ let a = nt(e ?? t), o = _(() => ({
935
935
  locale: a,
936
- t: z(H(a, r, n))
936
+ t: R(V(a, r, n))
937
937
  }), [
938
938
  r,
939
939
  n,
940
940
  a
941
941
  ]);
942
- return /* @__PURE__ */ y(tt.Provider, {
942
+ return /* @__PURE__ */ b(rt.Provider, {
943
943
  value: o,
944
944
  children: i
945
945
  });
946
946
  }
947
947
  //#endregion
948
948
  //#region src/lib/i18n/useCmsTranslation.ts
949
- function W(e) {
950
- let t = h(tt), n = e?.locale ?? t?.locale ?? "en", r = e?.catalog ?? B, i = e?.messages;
949
+ function U(e) {
950
+ let t = g(rt), n = e?.locale ?? t?.locale ?? "en", r = e?.catalog ?? z, i = e?.messages;
951
951
  return {
952
952
  locale: n,
953
- t: g(() => !i && t && t.locale === n ? t.t : z(H(n, r, i)), [
953
+ t: _(() => !i && t && t.locale === n ? t.t : R(V(n, r, i)), [
954
954
  r,
955
955
  t,
956
956
  n,
@@ -958,7 +958,7 @@ function W(e) {
958
958
  ])
959
959
  };
960
960
  }
961
- function rt(e) {
961
+ function at(e) {
962
962
  switch (e) {
963
963
  case "pt": return "pt-BR";
964
964
  case "en": return "en-US";
@@ -967,14 +967,14 @@ function rt(e) {
967
967
  }
968
968
  //#endregion
969
969
  //#region src/lib/components/link.tsx
970
- var G = m(function({ href: e, children: t, ...n }, r) {
971
- return /* @__PURE__ */ y("a", {
970
+ var W = h(function({ href: e, children: t, ...n }, r) {
971
+ return /* @__PURE__ */ b("a", {
972
972
  href: e,
973
973
  ref: r,
974
974
  ...n,
975
975
  children: t
976
976
  });
977
- }), K = "#D8E2FF", it = "#E3E2E6", q = "#414752", at = 24, ot = 24, J = {
977
+ }), G = "#D8E2FF", ot = "#E3E2E6", K = "#414752", st = 24, ct = 24, q = {
978
978
  sxRoot: (e) => {
979
979
  let t = e ? 195 : 96;
980
980
  return {
@@ -1048,10 +1048,10 @@ var G = m(function({ href: e, children: t, ...n }, r) {
1048
1048
  px: 0,
1049
1049
  py: 0,
1050
1050
  borderRadius: "100px",
1051
- color: q,
1051
+ color: K,
1052
1052
  textDecoration: "none",
1053
- bgcolor: e ? K : "transparent",
1054
- "&:hover": { bgcolor: e ? K : "action.hover" }
1053
+ bgcolor: e ? G : "transparent",
1054
+ "&:hover": { bgcolor: e ? G : "action.hover" }
1055
1055
  } : {
1056
1056
  position: "relative",
1057
1057
  display: "flex",
@@ -1069,13 +1069,13 @@ var G = m(function({ href: e, children: t, ...n }, r) {
1069
1069
  ml: "-1rem",
1070
1070
  mr: 0,
1071
1071
  borderRadius: t ? "100px" : "0 100px 100px 0",
1072
- color: q,
1072
+ color: K,
1073
1073
  textDecoration: "none",
1074
- bgcolor: e ? K : "transparent",
1075
- "&:hover": { bgcolor: e ? K : it }
1074
+ bgcolor: e ? G : "transparent",
1075
+ "&:hover": { bgcolor: e ? G : ot }
1076
1076
  },
1077
1077
  sxItemIcon: (e, t = !1) => ({
1078
- fontSize: t ? ot : at,
1078
+ fontSize: t ? ct : st,
1079
1079
  color: e ? "secondary.dark" : "m3.onSurfaceVariant",
1080
1080
  width: t ? 48 : "auto",
1081
1081
  flexShrink: 0
@@ -1086,7 +1086,7 @@ var G = m(function({ href: e, children: t, ...n }, r) {
1086
1086
  fontSize: 14,
1087
1087
  fontWeight: e ? 600 : 400,
1088
1088
  lineHeight: 1.43,
1089
- color: q,
1089
+ color: K,
1090
1090
  overflow: "hidden",
1091
1091
  textOverflow: "ellipsis",
1092
1092
  whiteSpace: "nowrap"
@@ -1114,12 +1114,12 @@ var G = m(function({ href: e, children: t, ...n }, r) {
1114
1114
  px: 2,
1115
1115
  py: 1,
1116
1116
  gap: 1.25,
1117
- color: q,
1118
- bgcolor: e ? K : "transparent",
1119
- "&:hover": { bgcolor: e ? K : it },
1117
+ color: K,
1118
+ bgcolor: e ? G : "transparent",
1119
+ "&:hover": { bgcolor: e ? G : ot },
1120
1120
  "&.Mui-selected": {
1121
- bgcolor: K,
1122
- "&:hover": { bgcolor: K }
1121
+ bgcolor: G,
1122
+ "&:hover": { bgcolor: G }
1123
1123
  }
1124
1124
  }),
1125
1125
  sxChildrenMenuListItemIcon: {
@@ -1143,77 +1143,77 @@ var G = m(function({ href: e, children: t, ...n }, r) {
1143
1143
  alignItems: "center",
1144
1144
  justifyContent: "center"
1145
1145
  })
1146
- }, st = [
1146
+ }, lt = [
1147
1147
  {
1148
1148
  href: "/admin/comments/",
1149
- icon: ye,
1149
+ icon: xe,
1150
1150
  module: "COMMENTS"
1151
1151
  },
1152
1152
  {
1153
1153
  href: "/system/modules/com.tfsla.diario.admin/templates/poll.jsp",
1154
- icon: ne,
1154
+ icon: k,
1155
1155
  module: "POLLS"
1156
1156
  },
1157
1157
  {
1158
1158
  href: "/media",
1159
- icon: de,
1159
+ icon: pe,
1160
1160
  module: "MEDIA",
1161
1161
  children: [
1162
1162
  {
1163
1163
  href: "/system/modules/com.tfsla.diario.admin/templates/audios.jsp",
1164
- icon: be,
1164
+ icon: Se,
1165
1165
  module: "AUDIOS"
1166
1166
  },
1167
1167
  {
1168
1168
  href: "/system/modules/com.tfsla.diario.admin/templates/playlist.jsp",
1169
- icon: re,
1169
+ icon: ae,
1170
1170
  module: "IMAGES"
1171
1171
  },
1172
1172
  {
1173
1173
  href: "/media/playlist",
1174
- icon: xe,
1174
+ icon: Ce,
1175
1175
  module: "PLAYLISTS"
1176
1176
  },
1177
1177
  {
1178
1178
  href: "/admin/videos/",
1179
- icon: fe,
1179
+ icon: me,
1180
1180
  module: "VIDEOS"
1181
1181
  }
1182
1182
  ]
1183
1183
  },
1184
1184
  {
1185
1185
  href: "/admin/posts/",
1186
- icon: _e,
1186
+ icon: ye,
1187
1187
  module: "POSTS"
1188
1188
  },
1189
1189
  {
1190
1190
  href: "/admin/reports/",
1191
- icon: ve,
1191
+ icon: be,
1192
1192
  module: "PRODUCTION"
1193
1193
  },
1194
1194
  {
1195
1195
  href: "/planificacion",
1196
- icon: Se,
1196
+ icon: we,
1197
1197
  module: "PLANNING"
1198
1198
  },
1199
1199
  {
1200
1200
  href: "/tags",
1201
- icon: ae,
1201
+ icon: se,
1202
1202
  module: "TAGS"
1203
1203
  },
1204
1204
  {
1205
1205
  href: "/system/modules/com.tfsla.diario.admin/templates/trivias.jsp",
1206
- icon: Ce,
1206
+ icon: Te,
1207
1207
  module: "TRIVIAS"
1208
1208
  },
1209
1209
  {
1210
1210
  href: "/otros",
1211
- icon: se,
1211
+ icon: le,
1212
1212
  module: "OTHERS",
1213
1213
  children: [
1214
1214
  {
1215
1215
  href: "/system/modules/com.tfsla.diario.admin/templates/newswires.jsp",
1216
- icon: we,
1216
+ icon: Ee,
1217
1217
  module: "NEWSWIRES"
1218
1218
  },
1219
1219
  {
@@ -1223,17 +1223,17 @@ var G = m(function({ href: e, children: t, ...n }, r) {
1223
1223
  },
1224
1224
  {
1225
1225
  href: "/system/modules/com.tfsla.diario.admin/templates/adminPages.jsp",
1226
- icon: P,
1226
+ icon: ie,
1227
1227
  module: "PAGES"
1228
1228
  },
1229
1229
  {
1230
1230
  href: "/system/modules/com.tfsla.diario.admin/templates/dashboard.jsp",
1231
- icon: Te,
1231
+ icon: De,
1232
1232
  module: "FEEDS"
1233
1233
  },
1234
1234
  {
1235
1235
  href: "/system/modules/com.tfsla.diario.admin/templates/adminPages.jsp",
1236
- icon: ue,
1236
+ icon: fe,
1237
1237
  module: "PERSONS"
1238
1238
  },
1239
1239
  {
@@ -1243,24 +1243,24 @@ var G = m(function({ href: e, children: t, ...n }, r) {
1243
1243
  },
1244
1244
  {
1245
1245
  href: "/system/modules/com.tfsla.diario.admin/templates/recipe.jsp",
1246
- icon: pe,
1246
+ icon: he,
1247
1247
  module: "RECIPES"
1248
1248
  }
1249
1249
  ]
1250
1250
  },
1251
1251
  {
1252
1252
  href: "/system/modules/com.tfsla.diario.admin/templates/banners.jsp",
1253
- icon: Ee,
1253
+ icon: Oe,
1254
1254
  module: "BANNERS"
1255
1255
  },
1256
1256
  {
1257
1257
  href: "/system/modules/com.tfsla.diario.admin/templates/dynamicContent.jsp",
1258
- icon: De,
1258
+ icon: ke,
1259
1259
  module: "BLOCKS"
1260
1260
  },
1261
1261
  {
1262
1262
  href: "/system/modules/com.tfsla.diario.admin/templates/menuSite.jsp",
1263
- icon: ge,
1263
+ icon: ve,
1264
1264
  module: "MENUS"
1265
1265
  },
1266
1266
  {
@@ -1270,32 +1270,32 @@ var G = m(function({ href: e, children: t, ...n }, r) {
1270
1270
  },
1271
1271
  {
1272
1272
  href: "/system/modules/com.tfsla.diario.admin/templates/filterQueryList.jsp",
1273
- icon: me,
1273
+ icon: ge,
1274
1274
  module: "ADVANCEDQUERYS"
1275
1275
  },
1276
1276
  {
1277
1277
  href: "/system/modules/com.tfsla.diario.admin/templates/adminImports.jsp",
1278
- icon: ie,
1278
+ icon: oe,
1279
1279
  module: "IMPORTS"
1280
1280
  },
1281
1281
  {
1282
1282
  href: "/system/modules/com.tfsla.diario.admin/templates/newsletter.jsp",
1283
- icon: oe,
1283
+ icon: ce,
1284
1284
  module: "NEWSLETTERS"
1285
1285
  },
1286
1286
  {
1287
1287
  href: "/system/modules/com.tfsla.diario.admin/templates/adminQueues.jsp",
1288
- icon: ce,
1288
+ icon: ue,
1289
1289
  module: "NOTIFICATIONS"
1290
1290
  },
1291
1291
  {
1292
1292
  href: "/system/modules/com.tfsla.diario.admin/templates/payments.jsp",
1293
- icon: he,
1293
+ icon: _e,
1294
1294
  module: "PAYMENTS"
1295
1295
  },
1296
1296
  {
1297
1297
  href: "/system/modules/com.tfsla.diario.admin/templates/subscriptions.jsp",
1298
- icon: Oe,
1298
+ icon: Ae,
1299
1299
  module: "PAYMENTS"
1300
1300
  },
1301
1301
  {
@@ -1305,79 +1305,79 @@ var G = m(function({ href: e, children: t, ...n }, r) {
1305
1305
  },
1306
1306
  {
1307
1307
  href: "/usuarios",
1308
- icon: le,
1308
+ icon: de,
1309
1309
  module: "USERS"
1310
1310
  }
1311
1311
  ];
1312
1312
  //#endregion
1313
1313
  //#region src/lib/components/sidebar/Sidebar.tsx
1314
- function ct(e, t) {
1314
+ function ut(e, t) {
1315
1315
  return e.label ?? t.navigation(e.module);
1316
1316
  }
1317
- function Y(e, t) {
1317
+ function J(e, t) {
1318
1318
  return !!(e === t || t !== "/" && e.startsWith(`${t}/`));
1319
1319
  }
1320
- function lt(e, t) {
1321
- return Y(e, t.href) ? !0 : t.children?.some((t) => Y(e, t.href)) ?? !1;
1320
+ function dt(e, t) {
1321
+ return J(e, t.href) ? !0 : t.children?.some((t) => J(e, t.href)) ?? !1;
1322
1322
  }
1323
- function ut(e, t) {
1323
+ function ft(e, t) {
1324
1324
  return e.find((e) => e.module === t);
1325
1325
  }
1326
- function dt(e, t) {
1327
- return e.children?.filter((e) => ut(t, e.module)) ?? [];
1326
+ function pt(e, t) {
1327
+ return e.children?.filter((e) => ft(t, e.module)) ?? [];
1328
1328
  }
1329
- function ft(e, t, n) {
1330
- return e ? n : /* @__PURE__ */ y(O, {
1329
+ function mt(e, t, n) {
1330
+ return e ? n : /* @__PURE__ */ b(D, {
1331
1331
  title: t,
1332
1332
  placement: "right",
1333
1333
  arrow: !0,
1334
- children: /* @__PURE__ */ y(x, {
1334
+ children: /* @__PURE__ */ b(S, {
1335
1335
  component: "span",
1336
- sx: J.sxTooltipWrap(e),
1336
+ sx: q.sxTooltipWrap(e),
1337
1337
  children: n
1338
1338
  })
1339
1339
  });
1340
1340
  }
1341
- function pt({ item: e, nested: t = !1, open: n = !0, expanded: r, onToggleExpand: i, LinkComponent: a, pathname: o, permissions: s, t: c, baseUrl: l, selectedPublicationId: u }) {
1342
- let d = ct(e, c), f = ut(s, e.module), p = dt(e, s), m = !n, h = Y(o, e.href), g = lt(o, e), O = p.length > 0, ne = e.icon, A = t ? h : h || g, [j, M] = _(null), N = !!j;
1343
- if (!f && !O) return null;
1344
- let P = /* @__PURE__ */ b(v, { children: [
1345
- O && !m ? /* @__PURE__ */ y(C, {
1341
+ function ht({ item: e, nested: t = !1, open: n = !0, expanded: r, onToggleExpand: i, LinkComponent: a, pathname: o, permissions: s, t: c, baseUrl: l, selectedPublicationId: u }) {
1342
+ let d = ut(e, c), f = ft(s, e.module), p = pt(e, s), m = !n, h = J(o, e.href), g = dt(o, e), _ = p.length > 0, D = e.icon, k = t ? h : h || g, [A, j] = v(null), M = !!A;
1343
+ if (!f && !_) return null;
1344
+ let N = /* @__PURE__ */ x(y, { children: [
1345
+ _ && !m ? /* @__PURE__ */ b(C, {
1346
1346
  size: "small",
1347
1347
  "aria-label": r ? c.sidebar("collapse") : c.sidebar("expand"),
1348
1348
  onClick: (e) => {
1349
1349
  e.preventDefault(), e.stopPropagation(), i?.();
1350
1350
  },
1351
- sx: J.sxExpandButton,
1352
- children: y(r ? ee : S, { sx: { fontSize: 20 } })
1351
+ sx: q.sxExpandButton,
1352
+ children: b(r ? te : ee, { sx: { fontSize: 20 } })
1353
1353
  }) : null,
1354
- /* @__PURE__ */ y(ne, { sx: J.sxItemIcon(A, m) }),
1355
- m ? null : /* @__PURE__ */ y(k, {
1354
+ /* @__PURE__ */ b(D, { sx: q.sxItemIcon(k, m) }),
1355
+ m ? null : /* @__PURE__ */ b(O, {
1356
1356
  component: "span",
1357
- sx: J.sxItemLabel(h),
1357
+ sx: q.sxItemLabel(h),
1358
1358
  children: d
1359
1359
  }),
1360
- f?.isnew && /* @__PURE__ */ y(x, {
1360
+ f?.isnew && /* @__PURE__ */ b(S, {
1361
1361
  component: "span",
1362
- sx: J.sxBetaChip(n),
1362
+ sx: q.sxBetaChip(n),
1363
1363
  children: c.sidebar("newBadge")
1364
1364
  })
1365
1365
  ] });
1366
- return O && !m ? /* @__PURE__ */ b(x, {
1367
- sx: J.sxNavGroup(n),
1368
- children: [/* @__PURE__ */ y(x, {
1366
+ return _ && !m ? /* @__PURE__ */ x(S, {
1367
+ sx: q.sxNavGroup(n),
1368
+ children: [/* @__PURE__ */ b(S, {
1369
1369
  component: "div",
1370
1370
  onClick: i,
1371
1371
  sx: {
1372
- ...J.sxItem(g, t, !0, !1),
1372
+ ...q.sxItem(g, t, !0, !1),
1373
1373
  cursor: "pointer"
1374
1374
  },
1375
- children: P
1376
- }), /* @__PURE__ */ y(te, {
1375
+ children: N
1376
+ }), /* @__PURE__ */ b(ne, {
1377
1377
  in: r,
1378
1378
  timeout: "auto",
1379
1379
  unmountOnExit: !0,
1380
- children: /* @__PURE__ */ y(x, {
1380
+ children: /* @__PURE__ */ b(S, {
1381
1381
  sx: {
1382
1382
  display: "flex",
1383
1383
  flexDirection: "column",
@@ -1387,7 +1387,7 @@ function pt({ item: e, nested: t = !1, open: n = !0, expanded: r, onToggleExpand
1387
1387
  maxWidth: "100%",
1388
1388
  overflow: "hidden"
1389
1389
  },
1390
- children: p.map((e) => /* @__PURE__ */ y(pt, {
1390
+ children: p.map((e) => /* @__PURE__ */ b(ht, {
1391
1391
  item: e,
1392
1392
  nested: !0,
1393
1393
  open: n,
@@ -1400,27 +1400,27 @@ function pt({ item: e, nested: t = !1, open: n = !0, expanded: r, onToggleExpand
1400
1400
  }, e.href))
1401
1401
  })
1402
1402
  })]
1403
- }) : O && m ? /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y(x, {
1403
+ }) : _ && m ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(S, {
1404
1404
  component: "button",
1405
1405
  type: "button",
1406
1406
  "aria-label": d,
1407
- "aria-controls": N ? `sidebar-children-${e.href}` : void 0,
1407
+ "aria-controls": M ? `sidebar-children-${e.href}` : void 0,
1408
1408
  "aria-haspopup": "true",
1409
- "aria-expanded": N ? "true" : void 0,
1410
- onClick: (e) => M(e.currentTarget),
1411
- onMouseEnter: (e) => M(e.currentTarget),
1409
+ "aria-expanded": M ? "true" : void 0,
1410
+ onClick: (e) => j(e.currentTarget),
1411
+ onMouseEnter: (e) => j(e.currentTarget),
1412
1412
  sx: {
1413
- ...J.sxItem(g, t, O, !0),
1413
+ ...q.sxItem(g, t, _, !0),
1414
1414
  border: 0,
1415
1415
  background: "transparent",
1416
1416
  cursor: "pointer"
1417
1417
  },
1418
- children: P
1419
- }), /* @__PURE__ */ y(E, {
1418
+ children: N
1419
+ }), /* @__PURE__ */ b(T, {
1420
1420
  id: `sidebar-children-${e.href}`,
1421
- anchorEl: j,
1422
- open: N,
1423
- onClose: () => M(null),
1421
+ anchorEl: A,
1422
+ open: M,
1423
+ onClose: () => j(null),
1424
1424
  anchorOrigin: {
1425
1425
  vertical: "center",
1426
1426
  horizontal: "right"
@@ -1430,24 +1430,24 @@ function pt({ item: e, nested: t = !1, open: n = !0, expanded: r, onToggleExpand
1430
1430
  horizontal: "left"
1431
1431
  },
1432
1432
  slotProps: {
1433
- paper: { sx: J.sxChildrenMenuPaper },
1433
+ paper: { sx: q.sxChildrenMenuPaper },
1434
1434
  list: {
1435
- onMouseLeave: () => M(null),
1435
+ onMouseLeave: () => j(null),
1436
1436
  sx: { py: 1 }
1437
1437
  }
1438
1438
  },
1439
1439
  children: p.map((e) => {
1440
1440
  let t = e.icon;
1441
- return /* @__PURE__ */ b(D, {
1441
+ return /* @__PURE__ */ x(E, {
1442
1442
  component: a,
1443
1443
  href: `${l}${e.href}`,
1444
- onClick: () => M(null),
1445
- sx: J.sxChildrenMenuItem(Y(o, e.href)),
1446
- children: [/* @__PURE__ */ y(w, {
1447
- sx: J.sxChildrenMenuListItemIcon,
1448
- children: /* @__PURE__ */ y(t, {})
1449
- }), /* @__PURE__ */ y(T, {
1450
- primary: ct(e, c),
1444
+ onClick: () => j(null),
1445
+ sx: q.sxChildrenMenuItem(J(o, e.href)),
1446
+ children: [/* @__PURE__ */ b(re, {
1447
+ sx: q.sxChildrenMenuListItemIcon,
1448
+ children: /* @__PURE__ */ b(t, {})
1449
+ }), /* @__PURE__ */ b(w, {
1450
+ primary: ut(e, c),
1451
1451
  slotProps: { primary: { sx: {
1452
1452
  fontSize: 14,
1453
1453
  fontWeight: 400,
@@ -1456,17 +1456,17 @@ function pt({ item: e, nested: t = !1, open: n = !0, expanded: r, onToggleExpand
1456
1456
  })]
1457
1457
  }, e.href);
1458
1458
  })
1459
- })] }) : ft(n, d, /* @__PURE__ */ y(x, {
1459
+ })] }) : mt(n, d, /* @__PURE__ */ b(S, {
1460
1460
  component: a,
1461
1461
  href: e.href,
1462
- sx: J.sxItem(m ? g : h, t, O, m),
1463
- children: P
1462
+ sx: q.sxItem(m ? g : h, t, _, m),
1463
+ children: N
1464
1464
  }));
1465
1465
  }
1466
- function mt({ items: e, open: t = !0, LinkComponent: n, pathname: r, permissions: i, t: a, baseUrl: o, selectedPublicationId: s }) {
1467
- let [c, l] = _(g(() => {
1466
+ function gt({ items: e, open: t = !0, LinkComponent: n, pathname: r, permissions: i, t: a, baseUrl: o, selectedPublicationId: s }) {
1467
+ let [c, l] = v(_(() => {
1468
1468
  let t = {};
1469
- for (let n of e) n.children && (t[n.href] = n.defaultOpen ?? n.children.some((e) => Y(r, e.href)));
1469
+ for (let n of e) n.children && (t[n.href] = n.defaultOpen ?? n.children.some((e) => J(r, e.href)));
1470
1470
  return t;
1471
1471
  }, [e, r])), u = (e) => {
1472
1472
  l((t) => ({
@@ -1474,12 +1474,12 @@ function mt({ items: e, open: t = !0, LinkComponent: n, pathname: r, permissions
1474
1474
  [e]: !t[e]
1475
1475
  }));
1476
1476
  };
1477
- return /* @__PURE__ */ y(v, { children: e.map((e) => /* @__PURE__ */ y(pt, {
1477
+ return /* @__PURE__ */ b(y, { children: e.map((e) => /* @__PURE__ */ b(ht, {
1478
1478
  item: e,
1479
1479
  open: t,
1480
1480
  permissions: i,
1481
1481
  expanded: c[e.href],
1482
- onToggleExpand: dt(e, i).length > 0 ? () => u(e.href) : void 0,
1482
+ onToggleExpand: pt(e, i).length > 0 ? () => u(e.href) : void 0,
1483
1483
  LinkComponent: n,
1484
1484
  pathname: r,
1485
1485
  t: a,
@@ -1487,20 +1487,20 @@ function mt({ items: e, open: t = !0, LinkComponent: n, pathname: r, permissions
1487
1487
  selectedPublicationId: s
1488
1488
  }, e.href)) });
1489
1489
  }
1490
- function ht({ open: e = !0, pathname: t, permissions: n, LinkComponent: r = G, baseUrl: i, selectedPublicationId: a }) {
1491
- let { t: o } = W();
1492
- return /* @__PURE__ */ y(x, {
1490
+ function _t({ open: e = !0, pathname: t, permissions: n, LinkComponent: r = W, baseUrl: i, selectedPublicationId: a }) {
1491
+ let { t: o } = U();
1492
+ return /* @__PURE__ */ b(S, {
1493
1493
  component: "aside",
1494
- sx: J.sxRoot(e),
1495
- children: /* @__PURE__ */ y(x, {
1496
- sx: J.sxNavScroll,
1497
- children: /* @__PURE__ */ y(x, {
1494
+ sx: q.sxRoot(e),
1495
+ children: /* @__PURE__ */ b(S, {
1496
+ sx: q.sxNavScroll,
1497
+ children: /* @__PURE__ */ b(S, {
1498
1498
  component: "nav",
1499
1499
  "aria-label": o.sidebar("navAriaLabel"),
1500
- sx: J.sxNav(e),
1501
- children: /* @__PURE__ */ y(mt, {
1500
+ sx: q.sxNav(e),
1501
+ children: /* @__PURE__ */ b(gt, {
1502
1502
  permissions: n,
1503
- items: st,
1503
+ items: lt,
1504
1504
  open: e,
1505
1505
  LinkComponent: r,
1506
1506
  pathname: t,
@@ -1514,13 +1514,13 @@ function ht({ open: e = !0, pathname: t, permissions: n, LinkComponent: r = G, b
1514
1514
  }
1515
1515
  //#endregion
1516
1516
  //#region src/lib/components/site-selector-menu/SiteSelectorMenu.styles.ts
1517
- var X = {
1518
- sxTriggerButton: (e) => ({
1517
+ var Y = {
1518
+ sxTriggerButton: (t) => ({
1519
1519
  height: 34,
1520
1520
  borderRadius: "8px",
1521
- borderColor: e ? "transparent" : "m3.outline",
1521
+ borderColor: t ? "transparent" : "m3.outline",
1522
1522
  color: "black",
1523
- bgcolor: e ? n : "transparent",
1523
+ bgcolor: t ? e : "transparent",
1524
1524
  textTransform: "none",
1525
1525
  fontSize: "12px",
1526
1526
  fontWeight: 500,
@@ -1531,13 +1531,13 @@ var X = {
1531
1531
  flexShrink: 0,
1532
1532
  "&:hover": {
1533
1533
  borderColor: "m3.outline",
1534
- bgcolor: e ? n : "action.hover"
1534
+ bgcolor: t ? e : "action.hover"
1535
1535
  }
1536
1536
  }),
1537
1537
  sxTriggerIcon: { fontSize: 20 },
1538
1538
  sxMenuPaper: {
1539
1539
  mt: 1,
1540
- bgcolor: e,
1540
+ bgcolor: o,
1541
1541
  borderRadius: 2,
1542
1542
  marginTop: 0,
1543
1543
  boxShadow: "0px 1px 3px 0px rgba(0, 0, 0, 0.30), 0px 4px 8px 3px rgba(0, 0, 0, 0.15)",
@@ -1563,7 +1563,7 @@ var X = {
1563
1563
  gridTemplateColumns: e ? "1fr" : "1fr 1fr",
1564
1564
  gap: 1
1565
1565
  }),
1566
- sxMenuItem: (e) => ({
1566
+ sxMenuItem: (t) => ({
1567
1567
  width: "16.4rem",
1568
1568
  maxWidth: "100%",
1569
1569
  minHeight: 40,
@@ -1573,17 +1573,17 @@ var X = {
1573
1573
  padding: "1rem",
1574
1574
  margin: ".65rem",
1575
1575
  borderRadius: "28px",
1576
- bgcolor: e ? n : o,
1576
+ bgcolor: t ? e : r,
1577
1577
  color: "m3.onSurfaceVariant",
1578
1578
  display: "flex",
1579
1579
  alignItems: "center",
1580
1580
  justifyContent: "space-between",
1581
1581
  gap: 1.5,
1582
1582
  whiteSpace: "nowrap",
1583
- "&:hover": { bgcolor: n },
1583
+ "&:hover": { bgcolor: e },
1584
1584
  "&.Mui-selected": {
1585
- bgcolor: n,
1586
- "&:hover": { bgcolor: n }
1585
+ bgcolor: e,
1586
+ "&:hover": { bgcolor: e }
1587
1587
  }
1588
1588
  }),
1589
1589
  sxMenuItemLabel: (e) => ({
@@ -1610,22 +1610,22 @@ var X = {
1610
1610
  };
1611
1611
  //#endregion
1612
1612
  //#region src/lib/components/site-selector-menu/SiteSelectorMenu.tsx
1613
- function gt({ publication: e, selected: t, href: n, imageUrl: r }) {
1614
- return /* @__PURE__ */ y("a", {
1613
+ function vt({ publication: e, selected: t, href: n, imageUrl: r }) {
1614
+ return /* @__PURE__ */ b("a", {
1615
1615
  href: n,
1616
1616
  style: {
1617
1617
  textDecoration: "none",
1618
1618
  color: "inherit"
1619
1619
  },
1620
- children: /* @__PURE__ */ b(D, {
1620
+ children: /* @__PURE__ */ x(E, {
1621
1621
  selected: t,
1622
- sx: X.sxMenuItem(t),
1623
- children: [/* @__PURE__ */ y(k, {
1624
- sx: X.sxMenuItemLabel(t),
1622
+ sx: Y.sxMenuItem(t),
1623
+ children: [/* @__PURE__ */ b(O, {
1624
+ sx: Y.sxMenuItemLabel(t),
1625
1625
  children: e.description
1626
- }), r ? /* @__PURE__ */ y(x, {
1627
- sx: X.sxMenuItemLogoWrap,
1628
- children: /* @__PURE__ */ y("img", {
1626
+ }), r ? /* @__PURE__ */ b(S, {
1627
+ sx: Y.sxMenuItemLogoWrap,
1628
+ children: /* @__PURE__ */ b("img", {
1629
1629
  src: r,
1630
1630
  alt: e.description,
1631
1631
  width: 90,
@@ -1635,26 +1635,26 @@ function gt({ publication: e, selected: t, href: n, imageUrl: r }) {
1635
1635
  })
1636
1636
  });
1637
1637
  }
1638
- function _t({ sites: e, selectedPublicationId: t, getPublicationHref: n, resolvePublicationImageUrl: r }) {
1639
- let [i, a] = _(null), o = !!i, c = (e) => {
1640
- a(e.currentTarget);
1638
+ function yt({ sites: e, selectedPublicationId: n, getPublicationHref: r, resolvePublicationImageUrl: i }) {
1639
+ let [a, o] = v(null), s = !!a, c = (e) => {
1640
+ o(e.currentTarget);
1641
1641
  }, l = () => {
1642
- a(null);
1643
- }, u = t ?? "";
1644
- return /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y(Ie, {
1642
+ o(null);
1643
+ }, u = n ?? "";
1644
+ return /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(Re, {
1645
1645
  id: "site-selector-button",
1646
- "aria-controls": o ? "site-selector-menu" : void 0,
1646
+ "aria-controls": s ? "site-selector-menu" : void 0,
1647
1647
  "aria-haspopup": "true",
1648
- "aria-expanded": o ? "true" : void 0,
1648
+ "aria-expanded": s ? "true" : void 0,
1649
1649
  variant: "outlined",
1650
1650
  onClick: c,
1651
- endIcon: /* @__PURE__ */ y(Fe, { sx: X.sxTriggerIcon }),
1652
- sx: X.sxTriggerButton(o),
1653
- children: s(e, u)
1654
- }), /* @__PURE__ */ y(E, {
1651
+ endIcon: /* @__PURE__ */ b(Le, { sx: Y.sxTriggerIcon }),
1652
+ sx: Y.sxTriggerButton(s),
1653
+ children: t(e, u)
1654
+ }), /* @__PURE__ */ b(T, {
1655
1655
  id: "site-selector-menu",
1656
- anchorEl: i,
1657
- open: o,
1656
+ anchorEl: a,
1657
+ open: s,
1658
1658
  onClose: l,
1659
1659
  anchorOrigin: {
1660
1660
  vertical: "bottom",
@@ -1665,31 +1665,31 @@ function _t({ sites: e, selectedPublicationId: t, getPublicationHref: n, resolve
1665
1665
  horizontal: "right"
1666
1666
  },
1667
1667
  slotProps: {
1668
- paper: { sx: X.sxMenuPaper },
1668
+ paper: { sx: Y.sxMenuPaper },
1669
1669
  list: {
1670
1670
  "aria-labelledby": "site-selector-button",
1671
1671
  disablePadding: !0,
1672
- sx: X.sxMenuList
1672
+ sx: Y.sxMenuList
1673
1673
  }
1674
1674
  },
1675
- children: e.map((i, a) => /* @__PURE__ */ b(x, {
1676
- sx: X.sxSection(a === e.length - 1),
1677
- children: [/* @__PURE__ */ y(k, {
1678
- sx: X.sxSectionTitle,
1679
- children: i.title
1680
- }), /* @__PURE__ */ y(x, {
1681
- sx: X.sxSectionGrid(i.fullWidth),
1682
- children: i.publications.map((e) => /* @__PURE__ */ y(gt, {
1675
+ children: e.map((t, a) => /* @__PURE__ */ x(S, {
1676
+ sx: Y.sxSection(a === e.length - 1),
1677
+ children: [/* @__PURE__ */ b(O, {
1678
+ sx: Y.sxSectionTitle,
1679
+ children: t.title
1680
+ }), /* @__PURE__ */ b(S, {
1681
+ sx: Y.sxSectionGrid(t.fullWidth),
1682
+ children: t.publications.map((e) => /* @__PURE__ */ b(vt, {
1683
1683
  publication: e,
1684
- selected: Number(t) === e.id,
1685
- href: n(e),
1686
- imageUrl: e.imagePath && r ? r(e.imagePath) : void 0
1684
+ selected: Number(n) === e.id,
1685
+ href: r(e),
1686
+ imageUrl: e.imagePath && i ? i(e.imagePath) : void 0
1687
1687
  }, e.id))
1688
1688
  })]
1689
- }, i.title))
1689
+ }, t.title))
1690
1690
  })] });
1691
1691
  }
1692
- var Z = {
1692
+ var X = {
1693
1693
  sxAppBar: {
1694
1694
  bgcolor: "m3.surfaceContainer",
1695
1695
  color: "m3.onSurfaceVariant",
@@ -1794,7 +1794,7 @@ var Z = {
1794
1794
  };
1795
1795
  //#endregion
1796
1796
  //#region src/lib/components/top-bar/NotificationsMenu.tsx
1797
- function vt(e, t) {
1797
+ function bt(e, t) {
1798
1798
  let n = new Date(e);
1799
1799
  return Number.isNaN(n.getTime()) ? "" : n.toLocaleString(t, {
1800
1800
  day: "2-digit",
@@ -1803,24 +1803,24 @@ function vt(e, t) {
1803
1803
  minute: "2-digit"
1804
1804
  });
1805
1805
  }
1806
- function yt({ unreadCount: e, notifications: t }) {
1807
- let { locale: n, t: r } = W(), [i, a] = _(null), o = !!i, s = rt(n), c = g(() => e > 0 ? e : void 0, [e]);
1808
- return /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y(O, {
1806
+ function Z({ unreadCount: e, notifications: t }) {
1807
+ let { locale: n, t: r } = U(), [i, a] = v(null), o = !!i, s = at(n), c = _(() => e > 0 ? e : void 0, [e]);
1808
+ return /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(D, {
1809
1809
  title: r.notificationsMenu("title"),
1810
- children: /* @__PURE__ */ y(C, {
1810
+ children: /* @__PURE__ */ b(C, {
1811
1811
  "aria-label": r.notificationsMenu("ariaLabel"),
1812
1812
  "aria-haspopup": "true",
1813
1813
  "aria-expanded": o,
1814
1814
  onClick: (e) => a(e.currentTarget),
1815
- sx: Z.sxActionIcon,
1816
- children: /* @__PURE__ */ y(Le, {
1815
+ sx: X.sxActionIcon,
1816
+ children: /* @__PURE__ */ b(ze, {
1817
1817
  badgeContent: c,
1818
1818
  color: "error",
1819
- sx: Z.sxBadge,
1820
- children: /* @__PURE__ */ y(ce, { sx: Z.sxActionIconGlyph })
1819
+ sx: X.sxBadge,
1820
+ children: /* @__PURE__ */ b(ue, { sx: X.sxActionIconGlyph })
1821
1821
  })
1822
1822
  })
1823
- }), /* @__PURE__ */ b(E, {
1823
+ }), /* @__PURE__ */ x(T, {
1824
1824
  anchorEl: i,
1825
1825
  open: o,
1826
1826
  onClose: () => a(null),
@@ -1839,38 +1839,38 @@ function yt({ unreadCount: e, notifications: t }) {
1839
1839
  borderRadius: 2,
1840
1840
  bgcolor: "m3.surfaceContainerHigh"
1841
1841
  } } },
1842
- children: [/* @__PURE__ */ b(x, {
1842
+ children: [/* @__PURE__ */ x(S, {
1843
1843
  sx: {
1844
1844
  px: 2,
1845
1845
  py: 1.5,
1846
1846
  borderBottom: 1,
1847
1847
  borderColor: "m3.outlineVariant"
1848
1848
  },
1849
- children: [/* @__PURE__ */ y(k, {
1849
+ children: [/* @__PURE__ */ b(O, {
1850
1850
  variant: "subtitle2",
1851
1851
  color: "m3.onSurface",
1852
1852
  children: r.notificationsMenu("title")
1853
- }), e > 0 ? /* @__PURE__ */ y(k, {
1853
+ }), e > 0 ? /* @__PURE__ */ b(O, {
1854
1854
  variant: "caption",
1855
1855
  color: "m3.onSurfaceVariant",
1856
1856
  children: r.notificationsMenu("unreadCount", { count: e })
1857
1857
  }) : null]
1858
- }), t && t?.length === 0 ? /* @__PURE__ */ y(x, {
1858
+ }), t && t?.length === 0 ? /* @__PURE__ */ b(S, {
1859
1859
  sx: {
1860
1860
  px: 2,
1861
1861
  py: 3
1862
1862
  },
1863
- children: /* @__PURE__ */ y(k, {
1863
+ children: /* @__PURE__ */ b(O, {
1864
1864
  variant: "body2",
1865
1865
  color: "m3.onSurfaceVariant",
1866
1866
  sx: { textAlign: "center" },
1867
1867
  children: r.notificationsMenu("empty")
1868
1868
  })
1869
- }) : /* @__PURE__ */ y(Re, {
1869
+ }) : /* @__PURE__ */ b(Be, {
1870
1870
  dense: !0,
1871
1871
  disablePadding: !0,
1872
1872
  sx: { py: .5 },
1873
- children: t && t.map((e) => /* @__PURE__ */ y(ze, {
1873
+ children: t && t.map((e) => /* @__PURE__ */ b(Ve, {
1874
1874
  component: e.href ? "a" : "div",
1875
1875
  href: e.href,
1876
1876
  onClick: () => a(null),
@@ -1880,9 +1880,9 @@ function yt({ unreadCount: e, notifications: t }) {
1880
1880
  bgcolor: e.read ? "transparent" : "secondary.light",
1881
1881
  "&:hover": { bgcolor: e.read ? "action.hover" : "secondary.light" }
1882
1882
  },
1883
- children: /* @__PURE__ */ y(T, {
1883
+ children: /* @__PURE__ */ b(w, {
1884
1884
  primary: e.title,
1885
- secondary: /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y(k, {
1885
+ secondary: /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(O, {
1886
1886
  component: "span",
1887
1887
  variant: "body2",
1888
1888
  color: "m3.onSurfaceVariant",
@@ -1891,7 +1891,7 @@ function yt({ unreadCount: e, notifications: t }) {
1891
1891
  mt: .25
1892
1892
  },
1893
1893
  children: e.message
1894
- }), /* @__PURE__ */ y(k, {
1894
+ }), /* @__PURE__ */ b(O, {
1895
1895
  component: "span",
1896
1896
  variant: "caption",
1897
1897
  color: "m3.onSurfaceVariant",
@@ -1899,7 +1899,7 @@ function yt({ unreadCount: e, notifications: t }) {
1899
1899
  display: "block",
1900
1900
  mt: .5
1901
1901
  },
1902
- children: vt(e.createdAt, s)
1902
+ children: bt(e.createdAt, s)
1903
1903
  })] }),
1904
1904
  slotProps: { primary: {
1905
1905
  variant: "subtitle2",
@@ -1913,39 +1913,39 @@ function yt({ unreadCount: e, notifications: t }) {
1913
1913
  }
1914
1914
  //#endregion
1915
1915
  //#region src/lib/utils/cms-asset.ts
1916
- var bt = "https://dev.cms-medios.com";
1917
- function xt(e) {
1916
+ var xt = "https://dev.cms-medios.com";
1917
+ function St(e) {
1918
1918
  let t = e?.trim();
1919
- return t ? t.replace(/\/$/, "") : bt;
1919
+ return t ? t.replace(/\/$/, "") : xt;
1920
1920
  }
1921
- function St(e, t) {
1921
+ function Ct(e, t) {
1922
1922
  if (!e) return "";
1923
1923
  if (e.startsWith("http://") || e.startsWith("https://")) return e;
1924
1924
  let n = e.startsWith("/") ? e : `/${e}`;
1925
- return `${xt(t)}${n}`;
1925
+ return `${St(t)}${n}`;
1926
1926
  }
1927
1927
  //#endregion
1928
1928
  //#region src/lib/utils/profile-avatar.ts
1929
- var Ct = "noPicture", wt = "/topbar_profile.png";
1930
- function Tt(e, t) {
1931
- let { image: n } = e, r = t?.fallbackAvatar ?? wt;
1932
- return !n || n === Ct ? r : St(n, t?.cmsOrigin);
1929
+ var wt = "noPicture", Tt = "/topbar_profile.png";
1930
+ function Et(e, t) {
1931
+ let { image: n } = e, r = t?.fallbackAvatar ?? Tt;
1932
+ return !n || n === wt ? r : Ct(n, t?.cmsOrigin);
1933
1933
  }
1934
- function Et(e) {
1934
+ function Dt(e) {
1935
1935
  if (e.fullName?.trim()) return e.fullName.trim();
1936
1936
  let t = [e.firstName, e.lastName].filter(Boolean);
1937
1937
  return t.length > 0 ? t.join(" ") : e.userName;
1938
1938
  }
1939
1939
  //#endregion
1940
1940
  //#region src/lib/components/top-bar/ProfileMenu.tsx
1941
- function Dt({ label: e, icon: t, onSelect: n }) {
1942
- return /* @__PURE__ */ b(D, {
1941
+ function Ot({ label: e, icon: t, onSelect: n }) {
1942
+ return /* @__PURE__ */ x(E, {
1943
1943
  onClick: n,
1944
- sx: Z.sxProfileMenuItem,
1945
- children: [/* @__PURE__ */ y(w, {
1946
- sx: Z.sxProfileMenuListItemIcon,
1947
- children: /* @__PURE__ */ y(t, {})
1948
- }), /* @__PURE__ */ y(T, {
1944
+ sx: X.sxProfileMenuItem,
1945
+ children: [/* @__PURE__ */ b(re, {
1946
+ sx: X.sxProfileMenuListItemIcon,
1947
+ children: /* @__PURE__ */ b(t, {})
1948
+ }), /* @__PURE__ */ b(w, {
1949
1949
  primary: e,
1950
1950
  slotProps: { primary: { sx: {
1951
1951
  fontSize: 14,
@@ -1955,33 +1955,33 @@ function Dt({ label: e, icon: t, onSelect: n }) {
1955
1955
  })]
1956
1956
  });
1957
1957
  }
1958
- function Ot({ profile: e, avatarOptions: t }) {
1959
- let { t: n } = W(), [r, i] = _(null), a = !!r, o = Et(e), s = Tt(e, t), c = s.startsWith("/"), l = g(() => [{
1958
+ function kt({ profile: e, avatarOptions: t }) {
1959
+ let { t: n } = U(), [r, i] = v(null), a = !!r, o = Dt(e), s = Et(e, t), c = s.startsWith("/"), l = _(() => [{
1960
1960
  id: "profile",
1961
1961
  labelKey: "myProfile",
1962
- icon: He
1962
+ icon: We
1963
1963
  }, {
1964
1964
  id: "webmaster",
1965
1965
  labelKey: "webmasterView",
1966
- icon: Be
1967
- }], []), u = g(() => ({
1966
+ icon: He
1967
+ }], []), u = _(() => ({
1968
1968
  id: "sign-off",
1969
1969
  labelKey: "signOff",
1970
- icon: Ve
1970
+ icon: Ue
1971
1971
  }), []), d = () => i(null), f = (e) => {
1972
1972
  d();
1973
1973
  };
1974
- return /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y(C, {
1974
+ return /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(C, {
1975
1975
  id: "profile-menu-button",
1976
1976
  "aria-label": n.profileMenu("ariaLabel"),
1977
1977
  "aria-controls": a ? "profile-menu" : void 0,
1978
1978
  "aria-haspopup": "true",
1979
1979
  "aria-expanded": a ? "true" : void 0,
1980
1980
  onClick: (e) => i(e.currentTarget),
1981
- sx: Z.sxProfileButton,
1982
- children: /* @__PURE__ */ y(Ue, {
1983
- sx: Z.sxProfileAvatar,
1984
- children: /* @__PURE__ */ y(x, {
1981
+ sx: X.sxProfileButton,
1982
+ children: /* @__PURE__ */ b(Ge, {
1983
+ sx: X.sxProfileAvatar,
1984
+ children: /* @__PURE__ */ b(S, {
1985
1985
  component: "img",
1986
1986
  src: s,
1987
1987
  alt: "",
@@ -1993,7 +1993,7 @@ function Ot({ profile: e, avatarOptions: t }) {
1993
1993
  ...c ? {} : { crossOrigin: "anonymous" }
1994
1994
  })
1995
1995
  })
1996
- }), /* @__PURE__ */ b(E, {
1996
+ }), /* @__PURE__ */ x(T, {
1997
1997
  id: "profile-menu",
1998
1998
  anchorEl: r,
1999
1999
  open: a,
@@ -2007,37 +2007,37 @@ function Ot({ profile: e, avatarOptions: t }) {
2007
2007
  horizontal: "right"
2008
2008
  },
2009
2009
  slotProps: {
2010
- paper: { sx: Z.sxProfileMenuPaper },
2010
+ paper: { sx: X.sxProfileMenuPaper },
2011
2011
  list: { disablePadding: !0 }
2012
2012
  },
2013
2013
  children: [
2014
- /* @__PURE__ */ b(x, {
2014
+ /* @__PURE__ */ x(S, {
2015
2015
  sx: {
2016
2016
  px: 2,
2017
2017
  py: 1.5,
2018
2018
  borderBottom: 1,
2019
2019
  borderColor: "divider"
2020
2020
  },
2021
- children: [/* @__PURE__ */ y(k, {
2021
+ children: [/* @__PURE__ */ b(O, {
2022
2022
  variant: "subtitle2",
2023
2023
  sx: {
2024
2024
  fontWeight: 600,
2025
2025
  color: "#191C22"
2026
2026
  },
2027
2027
  children: o
2028
- }), /* @__PURE__ */ y(k, {
2028
+ }), /* @__PURE__ */ b(O, {
2029
2029
  variant: "caption",
2030
2030
  sx: { color: "#414752" },
2031
2031
  children: e.email
2032
2032
  })]
2033
2033
  }),
2034
- l.map((e) => /* @__PURE__ */ y(Dt, {
2034
+ l.map((e) => /* @__PURE__ */ b(Ot, {
2035
2035
  label: n.profileMenu(e.labelKey),
2036
2036
  icon: e.icon,
2037
2037
  onSelect: () => f(e.id)
2038
2038
  }, e.id)),
2039
- /* @__PURE__ */ y(We, { sx: Z.sxProfileMenuDivider }),
2040
- /* @__PURE__ */ y(Dt, {
2039
+ /* @__PURE__ */ b(Ke, { sx: X.sxProfileMenuDivider }),
2040
+ /* @__PURE__ */ b(Ot, {
2041
2041
  label: n.profileMenu(u.labelKey),
2042
2042
  icon: u.icon,
2043
2043
  onSelect: () => f(u.id)
@@ -2047,83 +2047,83 @@ function Ot({ profile: e, avatarOptions: t }) {
2047
2047
  }
2048
2048
  //#endregion
2049
2049
  //#region src/lib/components/top-bar/TopBar.tsx
2050
- function kt() {
2051
- return /* @__PURE__ */ y(x, {
2050
+ function At() {
2051
+ return /* @__PURE__ */ b(S, {
2052
2052
  component: "span",
2053
2053
  role: "separator",
2054
2054
  "aria-orientation": "vertical",
2055
- sx: Z.sxDivider
2055
+ sx: X.sxDivider
2056
2056
  });
2057
2057
  }
2058
- function At({ title: e, icon: t }) {
2059
- return /* @__PURE__ */ y(O, {
2058
+ function jt({ title: e, icon: t }) {
2059
+ return /* @__PURE__ */ b(D, {
2060
2060
  title: e,
2061
- children: /* @__PURE__ */ y(C, {
2061
+ children: /* @__PURE__ */ b(C, {
2062
2062
  "aria-label": e,
2063
- sx: Z.sxActionIcon,
2064
- children: /* @__PURE__ */ y(t, { sx: Z.sxActionIconGlyph })
2063
+ sx: X.sxActionIcon,
2064
+ children: /* @__PURE__ */ b(t, { sx: X.sxActionIconGlyph })
2065
2065
  })
2066
2066
  });
2067
2067
  }
2068
2068
  function Q({ sites: e, sidebarOpen: t, onToggleSidebar: n, notificationUnreadCount: r, notifications: i, profile: a, primaryLogo: o, brandLogo: s, selectedPublicationId: c, getPublicationHref: l, resolvePublicationImageUrl: u, profileAvatarOptions: d }) {
2069
- let { t: f } = W(), p = [{
2069
+ let { t: f } = U(), p = [{
2070
2070
  title: f.topBar("analytics"),
2071
- icon: Ae
2071
+ icon: Me
2072
2072
  }, {
2073
2073
  title: f.topBar("help"),
2074
- icon: je
2074
+ icon: Ne
2075
2075
  }];
2076
- return /* @__PURE__ */ y(Ne, {
2076
+ return /* @__PURE__ */ b(Fe, {
2077
2077
  position: "static",
2078
2078
  elevation: 0,
2079
- sx: Z.sxAppBar,
2080
- children: /* @__PURE__ */ b(Pe, {
2079
+ sx: X.sxAppBar,
2080
+ children: /* @__PURE__ */ x(Ie, {
2081
2081
  disableGutters: !0,
2082
2082
  variant: "dense",
2083
- sx: Z.sxToolbar,
2083
+ sx: X.sxToolbar,
2084
2084
  children: [
2085
- /* @__PURE__ */ y(C, {
2085
+ /* @__PURE__ */ b(C, {
2086
2086
  "aria-label": t ? f.topBar("closeSidebar") : f.topBar("openSidebar"),
2087
2087
  "aria-expanded": t,
2088
2088
  onClick: n,
2089
- sx: Z.sxMenuButton,
2090
- children: /* @__PURE__ */ y(Me, { sx: Z.sxMenuButtonIcon })
2089
+ sx: X.sxMenuButton,
2090
+ children: /* @__PURE__ */ b(Pe, { sx: X.sxMenuButtonIcon })
2091
2091
  }),
2092
- /* @__PURE__ */ y(x, {
2093
- sx: Z.sxLogoBox,
2092
+ /* @__PURE__ */ b(S, {
2093
+ sx: X.sxLogoBox,
2094
2094
  children: o
2095
2095
  }),
2096
- /* @__PURE__ */ y(x, { sx: { flex: 1 } }),
2097
- /* @__PURE__ */ b(x, {
2098
- sx: Z.sxActionsFrame,
2096
+ /* @__PURE__ */ b(S, { sx: { flex: 1 } }),
2097
+ /* @__PURE__ */ x(S, {
2098
+ sx: X.sxActionsFrame,
2099
2099
  children: [
2100
- /* @__PURE__ */ b(x, {
2101
- sx: Z.sxIconActionsRow,
2100
+ /* @__PURE__ */ x(S, {
2101
+ sx: X.sxIconActionsRow,
2102
2102
  children: [
2103
- /* @__PURE__ */ y(At, {
2103
+ /* @__PURE__ */ b(jt, {
2104
2104
  title: f.topBar("new"),
2105
- icon: ke
2105
+ icon: je
2106
2106
  }),
2107
- /* @__PURE__ */ y(yt, {
2107
+ /* @__PURE__ */ b(Z, {
2108
2108
  unreadCount: r,
2109
2109
  notifications: i
2110
2110
  }),
2111
- p.map(({ title: e, icon: t }) => /* @__PURE__ */ y(At, {
2111
+ p.map(({ title: e, icon: t }) => /* @__PURE__ */ b(jt, {
2112
2112
  title: e,
2113
2113
  icon: t
2114
2114
  }, e))
2115
2115
  ]
2116
2116
  }),
2117
- /* @__PURE__ */ y(kt, {}),
2117
+ /* @__PURE__ */ b(At, {}),
2118
2118
  s,
2119
- /* @__PURE__ */ y(_t, {
2119
+ /* @__PURE__ */ b(yt, {
2120
2120
  sites: e,
2121
2121
  selectedPublicationId: c,
2122
2122
  getPublicationHref: l,
2123
2123
  resolvePublicationImageUrl: u
2124
2124
  }),
2125
- /* @__PURE__ */ y(kt, {}),
2126
- /* @__PURE__ */ y(Ot, {
2125
+ /* @__PURE__ */ b(At, {}),
2126
+ /* @__PURE__ */ b(kt, {
2127
2127
  profile: a,
2128
2128
  avatarOptions: d
2129
2129
  })
@@ -2168,20 +2168,20 @@ var $ = {
2168
2168
  };
2169
2169
  //#endregion
2170
2170
  //#region src/lib/components/shell/AppShell.tsx
2171
- function jt({ pathname: e, sites: t, children: n, notificationUnreadCount: r, notifications: i, profile: a, primaryLogo: o, brandLogo: s, selectedPublicationId: c, getPublicationHref: l, resolvePublicationImageUrl: u, profileAvatarOptions: d, LinkComponent: f = G, permissions: p, locale: m, language: h, messages: g, baseUrl: v }) {
2172
- let [S, ee] = _(!0);
2173
- return /* @__PURE__ */ y(nt, {
2171
+ function Mt({ pathname: e, sites: t, children: n, notificationUnreadCount: r, notifications: i, profile: a, primaryLogo: o, brandLogo: s, selectedPublicationId: c, getPublicationHref: l, resolvePublicationImageUrl: u, profileAvatarOptions: d, LinkComponent: f = W, permissions: p, locale: m, language: h, messages: g, baseUrl: _ }) {
2172
+ let [y, ee] = v(!0);
2173
+ return /* @__PURE__ */ b(it, {
2174
2174
  locale: m,
2175
2175
  language: h,
2176
2176
  messages: g,
2177
- children: /* @__PURE__ */ b(x, {
2177
+ children: /* @__PURE__ */ x(S, {
2178
2178
  sx: $.sxRoot,
2179
- children: [/* @__PURE__ */ y(x, {
2179
+ children: [/* @__PURE__ */ b(S, {
2180
2180
  component: "header",
2181
2181
  sx: $.sxHeader,
2182
- children: /* @__PURE__ */ y(Q, {
2182
+ children: /* @__PURE__ */ b(Q, {
2183
2183
  sites: t,
2184
- sidebarOpen: S,
2184
+ sidebarOpen: y,
2185
2185
  onToggleSidebar: () => ee((e) => !e),
2186
2186
  notificationUnreadCount: r,
2187
2187
  notifications: i,
@@ -2193,16 +2193,16 @@ function jt({ pathname: e, sites: t, children: n, notificationUnreadCount: r, no
2193
2193
  resolvePublicationImageUrl: u,
2194
2194
  profileAvatarOptions: d
2195
2195
  })
2196
- }), /* @__PURE__ */ b(x, {
2196
+ }), /* @__PURE__ */ x(S, {
2197
2197
  sx: $.sxBody,
2198
- children: [/* @__PURE__ */ y(ht, {
2199
- open: S,
2198
+ children: [/* @__PURE__ */ b(_t, {
2199
+ open: y,
2200
2200
  pathname: e,
2201
2201
  LinkComponent: f,
2202
2202
  permissions: p,
2203
- baseUrl: v,
2203
+ baseUrl: _,
2204
2204
  selectedPublicationId: c
2205
- }), /* @__PURE__ */ y(x, {
2205
+ }), /* @__PURE__ */ b(S, {
2206
2206
  component: "main",
2207
2207
  sx: $.sxMain,
2208
2208
  children: n
@@ -2213,26 +2213,26 @@ function jt({ pathname: e, sites: t, children: n, notificationUnreadCount: r, no
2213
2213
  }
2214
2214
  //#endregion
2215
2215
  //#region src/lib/components/mui-provider/CmsMuiProvider.tsx
2216
- var Mt = R();
2217
- function Nt({ children: e }) {
2218
- return /* @__PURE__ */ b(u, {
2219
- theme: Mt,
2216
+ var Nt = L();
2217
+ function Pt({ children: e }) {
2218
+ return /* @__PURE__ */ x(d, {
2219
+ theme: Nt,
2220
2220
  defaultMode: "light",
2221
2221
  storageManager: null,
2222
- children: [/* @__PURE__ */ y(F, { enableColorScheme: !0 }), e]
2222
+ children: [/* @__PURE__ */ b(P, { enableColorScheme: !0 }), e]
2223
2223
  });
2224
2224
  }
2225
2225
  //#endregion
2226
2226
  //#region src/lib/components/mui-provider/NextCmsMuiProvider.tsx
2227
- var Pt = R();
2228
- function Ft({ children: e }) {
2229
- return /* @__PURE__ */ y(Ge, {
2227
+ var Ft = L();
2228
+ function It({ children: e }) {
2229
+ return /* @__PURE__ */ b(qe, {
2230
2230
  options: { enableCssLayer: !0 },
2231
- children: /* @__PURE__ */ b(u, {
2232
- theme: Pt,
2231
+ children: /* @__PURE__ */ x(d, {
2232
+ theme: Ft,
2233
2233
  defaultMode: "light",
2234
2234
  storageManager: null,
2235
- children: [/* @__PURE__ */ y(F, { enableColorScheme: !0 }), /* @__PURE__ */ y(x, {
2235
+ children: [/* @__PURE__ */ b(P, { enableColorScheme: !0 }), /* @__PURE__ */ b(S, {
2236
2236
  sx: {
2237
2237
  display: "flex",
2238
2238
  flexDirection: "column",
@@ -2245,6 +2245,6 @@ function Ft({ children: e }) {
2245
2245
  });
2246
2246
  }
2247
2247
  //#endregion
2248
- export { st as ACCOUNT_NAV_BLOCKS, jt as AppShell, c as CmsCommonServices, nt as CmsI18nProvider, Nt as CmsMuiProvider, $e as DEFAULT_LOCALE, i as DEFAULT_SITE_ID, G as DefaultCmsLink, o as ITEM_DEFAULT_BG, n as ITEM_HOVER_BG, Ke as LIB_VERSION, e as MENU_BG, Ft as NextCmsMuiProvider, yt as NotificationsMenu, Ot as ProfileMenu, U as SUPPORTED_LOCALES, ht as Sidebar, _t as SiteSelectorMenu, Q as TopBar, R as createAppTheme, z as createTranslator, B as defaultLocaleCatalog, Xe as enMessages, Ze as esMessages, a as findPublicationBySlug, s as findPublicationLabel, t as getAllPublications, r as getDefaultPublicationSlug, rt as getIntlLocaleTag, Tt as getProfileAvatarSrc, Et as getProfileDisplayName, H as mergeMessages, et as normalizeLocale, l as parsePublicationSlug, Qe as ptMessages, St as resolveCmsAssetUrl, xt as resolveCmsOrigin, W as useCmsTranslation };
2248
+ export { lt as ACCOUNT_NAV_BLOCKS, Mt as AppShell, l as CmsCommonServices, it as CmsI18nProvider, Pt as CmsMuiProvider, a as CmsUsersServices, tt as DEFAULT_LOCALE, s as DEFAULT_SITE_ID, W as DefaultCmsLink, r as ITEM_DEFAULT_BG, e as ITEM_HOVER_BG, Je as LIB_VERSION, o as MENU_BG, It as NextCmsMuiProvider, Z as NotificationsMenu, kt as ProfileMenu, H as SUPPORTED_LOCALES, _t as Sidebar, yt as SiteSelectorMenu, Q as TopBar, L as createAppTheme, R as createTranslator, z as defaultLocaleCatalog, Qe as enMessages, $e as esMessages, c as findPublicationBySlug, t as findPublicationLabel, i as getAllPublications, u as getDefaultPublicationSlug, at as getIntlLocaleTag, Et as getProfileAvatarSrc, Dt as getProfileDisplayName, V as mergeMessages, nt as normalizeLocale, n as parsePublicationSlug, et as ptMessages, Ct as resolveCmsAssetUrl, St as resolveCmsOrigin, U as useCmsTranslation };
2249
2249
 
2250
2250
  //# sourceMappingURL=index.js.map