rk-designsystem 1.3.4 → 1.4.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.
@@ -1,54 +1,55 @@
1
1
  "use client";
2
- import { jsxs as n, jsx as t, Fragment as ne } from "react/jsx-runtime";
3
- import X from "react";
2
+ import { jsxs as n, jsx as t, Fragment as ie } from "react/jsx-runtime";
3
+ import F from "react";
4
4
  import e from "./styles.module.css.js";
5
5
  import { Link as c } from "../Link/index.js";
6
- import { Button as ie } from "../Button/index.js";
7
- import { Input as se } from "../Input/index.js";
6
+ import { Button as se } from "../Button/index.js";
7
+ import { Input as le } from "../Input/index.js";
8
8
  import { GraphicElement as u } from "../GraphicElement/index.js";
9
- import { RedCrossLogo as L } from "../../assets/logos/RedCrossLogo.js";
10
- import { useLanguageOptional as le } from "../../context/LanguageContext.js";
11
- const ue = ({
9
+ import { RedCrossLogo as P } from "../../assets/logos/RedCrossLogo.js";
10
+ import { useLanguageOptional as oe } from "../../context/LanguageContext.js";
11
+ const ve = ({
12
12
  "data-color": p = "neutral",
13
13
  variant: a = "default",
14
- colorScheme: F,
15
- columns: v,
14
+ colorScheme: v,
15
+ columns: w,
16
16
  showGraphicElements: m = !1,
17
17
  newsletterDescription: K = "Tekst om rødekors som kan være rundt 2 linjebrudd i lengde.",
18
18
  newsletterPlaceholder: O = "Input tekst",
19
- newsletterButtonText: P = "Meld deg på",
20
- newsletterConsentText: V,
21
- onNewsletterSubmit: w,
22
- hideNewsletter: G = !1,
23
- shortcutsLinks: W,
24
- linksLinks: Y,
25
- shortcutsTitle: T,
26
- linksTitle: R,
27
- visitingAddress: N = ["Hausmannsgate 7 (Korsegården)", "0186 Oslo"],
28
- organizationNumber: b = "XXX XXX XXX",
29
- email: k = "post@redcross.no",
30
- showPrimaryLogo: z = !0,
19
+ newsletterInputLabel: V,
20
+ newsletterButtonText: T = "Meld deg på",
21
+ newsletterConsentText: G,
22
+ onNewsletterSubmit: N,
23
+ hideNewsletter: W = !1,
24
+ shortcutsLinks: Y,
25
+ linksLinks: A,
26
+ shortcutsTitle: R,
27
+ linksTitle: S,
28
+ visitingAddress: b = ["Hausmannsgate 7 (Korsegården)", "0186 Oslo"],
29
+ organizationNumber: k = "XXX XXX XXX",
30
+ email: z = "post@redcross.no",
31
+ showPrimaryLogo: $ = !0,
31
32
  primaryLogoSrc: d,
32
- primaryLogoAlt: $ = "Røde Kors Logo",
33
+ primaryLogoAlt: C = "Røde Kors Logo",
33
34
  whiteSectionSlot: f,
34
- socialLinks: S = [],
35
+ socialLinks: E = [],
35
36
  contactPersons: j = [],
36
37
  legalLinks: g = [],
37
- socialLinksTitle: E,
38
- contactPersonsTitle: M
38
+ socialLinksTitle: M,
39
+ contactPersonsTitle: I
39
40
  } = {}) => {
40
- const C = (/* @__PURE__ */ new Date()).getFullYear(), { t: A } = le(), y = p === "primary" ? "primary-color-red" : p === "additional" ? "additional-color-ocean" : p, [I, H] = X.useState(""), s = (i, l) => {
41
- const o = A(i);
41
+ const y = (/* @__PURE__ */ new Date()).getFullYear(), { t: H } = oe(), L = p === "primary" ? "primary-color-red" : p === "additional" ? "additional-color-ocean" : p, [B, q] = F.useState(""), s = (i, l) => {
42
+ const o = H(i);
42
43
  return o === i ? l : o;
43
44
  };
44
- X.useEffect(() => {
45
+ F.useEffect(() => {
45
46
  const i = "rk-footer-inline-styles";
46
47
  if (typeof document > "u" || document.getElementById(i)) return;
47
- const l = oe(e), o = document.createElement("style");
48
+ const l = re(e), o = document.createElement("style");
48
49
  o.id = i, o.textContent = l, document.head.prepend(o);
49
50
  }, []);
50
- const q = (i) => {
51
- i.preventDefault(), w == null || w(I);
51
+ const J = (i) => {
52
+ i.preventDefault(), N == null || N(B);
52
53
  }, x = [
53
54
  { label: s("footer.shortcutsLinks.services", "Tilbudene"), href: "#" },
54
55
  { label: s("footer.shortcutsLinks.volunteer", "Bli frivillig"), href: "#" },
@@ -56,26 +57,26 @@ const ue = ({
56
57
  { label: s("footer.shortcutsLinks.about", "Om Røde Kors"), href: "#" },
57
58
  { label: s("footer.shortcutsLinks.support", "Støtt arbeidet"), href: "#" },
58
59
  { label: s("footer.shortcutsLinks.contact", "Kontakt oss"), href: "#" }
59
- ], B = [
60
+ ], D = [
60
61
  { label: s("footer.legal.privacy", "Personvern"), href: "#" },
61
62
  { label: s("footer.legal.press", "For presse"), href: "#" },
62
63
  { label: s("footer.legal.procurement", "Regler for innkjøp"), href: "#" },
63
64
  { label: s("footer.legal.whistleblowing", "Varsling/Misconduct"), href: "#" }
64
- ], J = /* @__PURE__ */ n(ne, { children: [
65
+ ], Q = /* @__PURE__ */ n(ie, { children: [
65
66
  'Ved å trykke "',
66
- P,
67
+ T,
67
68
  '" samtykker du til å motta nyhetsbrev.',
68
69
  /* @__PURE__ */ t("br", {}),
69
70
  "Du kan når som helst ",
70
71
  /* @__PURE__ */ t(c, { href: "#", children: "melde deg av" }),
71
72
  " nyhetsbrevet uten kostnad."
72
- ] }), Q = W || x, U = Y || B, Z = () => /* @__PURE__ */ n("div", { className: e.socialLinksSection, children: [
73
- E && /* @__PURE__ */ t("h3", { className: e.socialLinksTitle, children: E }),
74
- /* @__PURE__ */ t("ul", { className: e.socialLinksList, children: S.map((i, l) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ n(c, { href: i.href, className: e.socialLink, children: [
73
+ ] }), U = Y || x, Z = A || D, _ = () => /* @__PURE__ */ n("div", { className: e.socialLinksSection, children: [
74
+ M && /* @__PURE__ */ t("h3", { className: e.socialLinksTitle, children: M }),
75
+ /* @__PURE__ */ t("ul", { className: e.socialLinksList, children: E.map((i, l) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ n(c, { href: i.href, className: e.socialLink, children: [
75
76
  /* @__PURE__ */ t("span", { className: e.socialLinkIcon, children: i.icon }),
76
77
  i.label
77
78
  ] }) }, l)) })
78
- ] }), _ = ({ person: i }) => /* @__PURE__ */ n("div", { className: e.contactPersonCard, children: [
79
+ ] }), ee = ({ person: i }) => /* @__PURE__ */ n("div", { className: e.contactPersonCard, children: [
79
80
  /* @__PURE__ */ t("p", { className: e.contactPersonName, children: i.name }),
80
81
  /* @__PURE__ */ t("p", { className: e.contactPersonRole, children: i.role }),
81
82
  /* @__PURE__ */ n("div", { className: e.contactPersonDetails, children: [
@@ -97,10 +98,10 @@ const ue = ({
97
98
  ] }),
98
99
  i.address && /* @__PURE__ */ t("p", { className: e.contactPersonAddress, children: i.address })
99
100
  ] })
100
- ] }), ee = () => /* @__PURE__ */ n("div", { className: e.contactPersonsSection, children: [
101
- M && /* @__PURE__ */ t("h3", { className: e.contactPersonsTitle, children: M }),
102
- /* @__PURE__ */ t("div", { className: e.contactPersonsGrid, children: j.map((i, l) => /* @__PURE__ */ t(_, { person: i }, l)) })
103
- ] }), te = () => /* @__PURE__ */ t("ul", { className: e.legalLinksRow, children: g.map((i, l) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(c, { href: i.href, className: e.legalLink, children: i.label }) }, l)) });
101
+ ] }), te = () => /* @__PURE__ */ n("div", { className: e.contactPersonsSection, children: [
102
+ I && /* @__PURE__ */ t("h3", { className: e.contactPersonsTitle, children: I }),
103
+ /* @__PURE__ */ t("div", { className: e.contactPersonsGrid, children: j.map((i, l) => /* @__PURE__ */ t(ee, { person: i }, l)) })
104
+ ] }), ae = () => /* @__PURE__ */ t("ul", { className: e.legalLinksRow, children: g.map((i, l) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(c, { href: i.href, className: e.legalLink, children: i.label }) }, l)) });
104
105
  if (a === "columns") {
105
106
  const i = [
106
107
  {
@@ -115,26 +116,26 @@ const ue = ({
115
116
  title: s("footer.shortcuts", "Snarveier"),
116
117
  links: x
117
118
  }
118
- ], l = v && v.length > 0 ? v : i, o = g.length > 0 ? g : B;
119
- return /* @__PURE__ */ n("footer", { className: e.footer, "data-color": y, "data-color-scheme": F, children: [
119
+ ], l = w && w.length > 0 ? w : i, o = g.length > 0 ? g : D;
120
+ return /* @__PURE__ */ n("footer", { className: e.footer, "data-color": L, "data-color-scheme": v, children: [
120
121
  /* @__PURE__ */ t("div", { className: e.dpMain, children: /* @__PURE__ */ n("div", { className: e.dpContainer, children: [
121
122
  /* @__PURE__ */ t("div", { className: e.dpColumns, children: l.map((r, h) => /* @__PURE__ */ n("nav", { className: e.dpColumn, "aria-label": r.title, children: [
122
123
  /* @__PURE__ */ t("h3", { className: e.dpColTitle, children: r.title }),
123
- /* @__PURE__ */ t("ul", { className: e.dpList, children: r.links.map((D, ae) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(c, { href: D.href, className: e.dpLink, children: D.label }) }, ae)) })
124
+ /* @__PURE__ */ t("ul", { className: e.dpList, children: r.links.map((X, ne) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(c, { href: X.href, className: e.dpLink, children: X.label }) }, ne)) })
124
125
  ] }, h)) }),
125
126
  /* @__PURE__ */ t("hr", { className: e.dpDivider }),
126
127
  /* @__PURE__ */ n("div", { className: e.dpMeta, children: [
127
128
  /* @__PURE__ */ n("div", { className: e.dpMetaCol, children: [
128
129
  /* @__PURE__ */ t("h4", { className: e.dpMetaTitle, children: s("footer.contact.visitingAddress", "Besøksadresse") }),
129
- N.map((r, h) => /* @__PURE__ */ t("p", { className: e.dpMetaText, children: r }, h))
130
+ b.map((r, h) => /* @__PURE__ */ t("p", { className: e.dpMetaText, children: r }, h))
130
131
  ] }),
131
132
  /* @__PURE__ */ n("div", { className: e.dpMetaCol, children: [
132
133
  /* @__PURE__ */ t("h4", { className: e.dpMetaTitle, children: s("footer.contact.organizationNumber", "Organisasjonsnummer") }),
133
- /* @__PURE__ */ t("p", { className: e.dpMetaText, children: b })
134
+ /* @__PURE__ */ t("p", { className: e.dpMetaText, children: k })
134
135
  ] }),
135
136
  /* @__PURE__ */ n("div", { className: e.dpMetaCol, children: [
136
137
  /* @__PURE__ */ t("h4", { className: e.dpMetaTitle, children: s("footer.contact.email", "E-post") }),
137
- /* @__PURE__ */ t("p", { className: e.dpMetaText, children: k })
138
+ /* @__PURE__ */ t("p", { className: e.dpMetaText, children: z })
138
139
  ] })
139
140
  ] }),
140
141
  /* @__PURE__ */ t("hr", { className: e.dpDivider }),
@@ -142,51 +143,51 @@ const ue = ({
142
143
  /* @__PURE__ */ t("ul", { className: e.dpLegal, children: o.map((r, h) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(c, { href: r.href, className: e.dpLegalLink, children: r.label }) }, h)) }),
143
144
  /* @__PURE__ */ n("p", { className: e.dpCopyright, children: [
144
145
  "© ",
145
- C,
146
+ y,
146
147
  " ",
147
148
  s("footer.copyright", "Røde Kors")
148
149
  ] })
149
150
  ] })
150
151
  ] }) }),
151
- z && /* @__PURE__ */ t("div", { className: e.whiteSection, "data-color-scheme": "light", children: /* @__PURE__ */ t("div", { className: e.whiteContainer, children: /* @__PURE__ */ t("div", { className: e.whiteContent, children: d ? /* @__PURE__ */ t(
152
+ $ && /* @__PURE__ */ t("div", { className: e.whiteSection, "data-color-scheme": "light", children: /* @__PURE__ */ t("div", { className: e.whiteContainer, children: /* @__PURE__ */ t("div", { className: e.whiteContent, children: d ? /* @__PURE__ */ t(
152
153
  "img",
153
154
  {
154
155
  src: d,
155
- alt: $,
156
+ alt: C,
156
157
  className: e.logo,
157
158
  loading: "lazy"
158
159
  }
159
- ) : /* @__PURE__ */ t("div", { className: e.logo, children: /* @__PURE__ */ t(L, { className: e.redCrossLogo }) }) }) }) })
160
+ ) : /* @__PURE__ */ t("div", { className: e.logo, children: /* @__PURE__ */ t(P, { className: e.redCrossLogo }) }) }) }) })
160
161
  ] });
161
162
  }
162
- return a === "contact" ? /* @__PURE__ */ n("footer", { className: e.footer, "data-color": y, children: [
163
+ return a === "contact" ? /* @__PURE__ */ n("footer", { className: e.footer, "data-color": L, "data-color-scheme": v, children: [
163
164
  /* @__PURE__ */ t("div", { className: e.mainSection, children: /* @__PURE__ */ n("div", { className: e.mainContainer, children: [
164
165
  m && /* @__PURE__ */ t("div", { className: e.graphicElementTopRight, children: /* @__PURE__ */ t(u, { shape: "angle", position: "top-right", size: "md", "aria-hidden": !0 }) }),
165
166
  /* @__PURE__ */ n("div", { className: e.contentRowContact, children: [
166
- S.length > 0 && /* @__PURE__ */ t(Z, {}),
167
- j.length > 0 && /* @__PURE__ */ t(ee, {})
167
+ E.length > 0 && /* @__PURE__ */ t(_, {}),
168
+ j.length > 0 && /* @__PURE__ */ t(te, {})
168
169
  ] }),
169
170
  /* @__PURE__ */ t("div", { className: e.divider }),
170
171
  /* @__PURE__ */ n("div", { className: e.contactSection, children: [
171
172
  /* @__PURE__ */ n("div", { className: e.contactColumn, children: [
172
173
  /* @__PURE__ */ t("h4", { className: e.contactTitle, children: s("footer.contact.visitingAddress", "Besøks adresse") }),
173
- /* @__PURE__ */ t("div", { className: e.contactContent, children: N.map((i, l) => /* @__PURE__ */ t("p", { children: i }, l)) })
174
+ /* @__PURE__ */ t("div", { className: e.contactContent, children: b.map((i, l) => /* @__PURE__ */ t("p", { children: i }, l)) })
174
175
  ] }),
175
176
  /* @__PURE__ */ n("div", { className: e.contactColumn, children: [
176
177
  /* @__PURE__ */ t("h4", { className: e.contactTitle, children: s("footer.contact.organizationNumber", "Organisasjonsnummer") }),
177
- /* @__PURE__ */ t("p", { className: e.contactContent, children: b })
178
+ /* @__PURE__ */ t("p", { className: e.contactContent, children: k })
178
179
  ] }),
179
180
  /* @__PURE__ */ n("div", { className: e.contactColumn, children: [
180
181
  /* @__PURE__ */ t("h4", { className: e.contactTitle, children: s("footer.contact.email", "E-post") }),
181
- /* @__PURE__ */ t("p", { className: e.contactContent, children: k })
182
+ /* @__PURE__ */ t("p", { className: e.contactContent, children: z })
182
183
  ] })
183
184
  ] }),
184
185
  /* @__PURE__ */ t("div", { className: e.divider }),
185
186
  /* @__PURE__ */ n("div", { className: e.bottomRowContact, children: [
186
- g.length > 0 && /* @__PURE__ */ t(te, {}),
187
+ g.length > 0 && /* @__PURE__ */ t(ae, {}),
187
188
  /* @__PURE__ */ n("p", { className: e.copyrightText, children: [
188
189
  "© ",
189
- C,
190
+ y,
190
191
  " ",
191
192
  s("footer.copyright", "Rødekors")
192
193
  ] })
@@ -194,46 +195,47 @@ const ue = ({
194
195
  m && /* @__PURE__ */ t("div", { className: e.graphicElementBottomLeft, children: /* @__PURE__ */ t(u, { shape: "angle", position: "bottom-left", size: "md", "aria-hidden": !0 }) })
195
196
  ] }) }),
196
197
  /* @__PURE__ */ t("div", { className: e.whiteSection, children: /* @__PURE__ */ t("div", { className: e.whiteContainer, children: /* @__PURE__ */ n("div", { className: e.whiteContent, children: [
197
- z && (d ? /* @__PURE__ */ t(
198
+ $ && (d ? /* @__PURE__ */ t(
198
199
  "img",
199
200
  {
200
201
  src: d,
201
- alt: $,
202
+ alt: C,
202
203
  className: e.logo,
203
204
  loading: "lazy"
204
205
  }
205
- ) : /* @__PURE__ */ t("div", { className: e.logo, children: /* @__PURE__ */ t(L, { className: e.redCrossLogo }) })),
206
+ ) : /* @__PURE__ */ t("div", { className: e.logo, children: /* @__PURE__ */ t(P, { className: e.redCrossLogo }) })),
206
207
  f && /* @__PURE__ */ t("div", { className: e.slotLarge, children: f })
207
208
  ] }) }) })
208
- ] }) : /* @__PURE__ */ n("footer", { className: e.footer, "data-color": y, children: [
209
+ ] }) : /* @__PURE__ */ n("footer", { className: e.footer, "data-color": L, "data-color-scheme": v, children: [
209
210
  /* @__PURE__ */ t("div", { className: e.mainSection, children: /* @__PURE__ */ n("div", { className: e.mainContainer, children: [
210
211
  m && /* @__PURE__ */ t("div", { className: e.graphicElementTopRight, children: /* @__PURE__ */ t(u, { shape: "angle", position: "top-right", size: "md", "aria-hidden": !0 }) }),
211
212
  /* @__PURE__ */ n("div", { className: e.contentRow, children: [
212
- !G && /* @__PURE__ */ n("div", { className: e.newsletterSection, children: [
213
+ !W && /* @__PURE__ */ n("div", { className: e.newsletterSection, children: [
213
214
  /* @__PURE__ */ t("p", { className: e.newsletterDescription, children: K }),
214
- /* @__PURE__ */ t("form", { className: e.newsletterForm, onSubmit: q, children: /* @__PURE__ */ n("div", { className: e.newsletterInputGroup, children: [
215
+ /* @__PURE__ */ t("form", { className: e.newsletterForm, onSubmit: J, children: /* @__PURE__ */ n("div", { className: e.newsletterInputGroup, children: [
215
216
  /* @__PURE__ */ t(
216
- se,
217
+ le,
217
218
  {
218
219
  type: "email",
220
+ "aria-label": V ?? s("footer.newsletterEmailLabel", "E-postadresse"),
219
221
  placeholder: O,
220
- value: I,
221
- onChange: (i) => H(i.target.value),
222
+ value: B,
223
+ onChange: (i) => q(i.target.value),
222
224
  className: e.newsletterInput
223
225
  }
224
226
  ),
225
- /* @__PURE__ */ t(ie, { type: "submit", variant: "primary", "data-color": "neutral", children: P })
227
+ /* @__PURE__ */ t(se, { type: "submit", variant: "primary", "data-color": "neutral", children: T })
226
228
  ] }) }),
227
- /* @__PURE__ */ t("p", { className: e.consentText, children: V || J })
229
+ /* @__PURE__ */ t("p", { className: e.consentText, children: G || Q })
228
230
  ] }),
229
231
  /* @__PURE__ */ n("div", { className: e.linksSection, children: [
230
- /* @__PURE__ */ n("nav", { className: e.linksColumn, "aria-label": T || s("footer.shortcuts", "Snarveier"), children: [
231
- /* @__PURE__ */ t("h3", { className: e.linksTitle, children: T || s("footer.shortcuts", "Snarveier") }),
232
- /* @__PURE__ */ t("ul", { className: e.linksList, children: Q.map((i, l) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(c, { href: i.href, className: e.footerLink, children: i.label }) }, l)) })
233
- ] }),
234
- /* @__PURE__ */ n("nav", { className: e.linksColumn, "aria-label": R || s("footer.links", "Lenker"), children: [
235
- /* @__PURE__ */ t("h3", { className: e.linksTitle, children: R || s("footer.links", "Lenker") }),
232
+ /* @__PURE__ */ n("nav", { className: e.linksColumn, "aria-label": R || s("footer.shortcuts", "Snarveier"), children: [
233
+ /* @__PURE__ */ t("h3", { className: e.linksTitle, children: R || s("footer.shortcuts", "Snarveier") }),
236
234
  /* @__PURE__ */ t("ul", { className: e.linksList, children: U.map((i, l) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(c, { href: i.href, className: e.footerLink, children: i.label }) }, l)) })
235
+ ] }),
236
+ /* @__PURE__ */ n("nav", { className: e.linksColumn, "aria-label": S || s("footer.links", "Lenker"), children: [
237
+ /* @__PURE__ */ t("h3", { className: e.linksTitle, children: S || s("footer.links", "Lenker") }),
238
+ /* @__PURE__ */ t("ul", { className: e.linksList, children: Z.map((i, l) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(c, { href: i.href, className: e.footerLink, children: i.label }) }, l)) })
237
239
  ] })
238
240
  ] })
239
241
  ] }),
@@ -241,41 +243,41 @@ const ue = ({
241
243
  /* @__PURE__ */ n("div", { className: e.contactSection, children: [
242
244
  /* @__PURE__ */ n("div", { className: e.contactColumn, children: [
243
245
  /* @__PURE__ */ t("h4", { className: e.contactTitle, children: s("footer.contact.visitingAddress", "Besøks adresse") }),
244
- /* @__PURE__ */ t("div", { className: e.contactContent, children: N.map((i, l) => /* @__PURE__ */ t("p", { children: i }, l)) })
246
+ /* @__PURE__ */ t("div", { className: e.contactContent, children: b.map((i, l) => /* @__PURE__ */ t("p", { children: i }, l)) })
245
247
  ] }),
246
248
  /* @__PURE__ */ n("div", { className: e.contactColumn, children: [
247
249
  /* @__PURE__ */ t("h4", { className: e.contactTitle, children: s("footer.contact.organizationNumber", "Organisasjonsnummer") }),
248
- /* @__PURE__ */ t("p", { className: e.contactContent, children: b })
250
+ /* @__PURE__ */ t("p", { className: e.contactContent, children: k })
249
251
  ] }),
250
252
  /* @__PURE__ */ n("div", { className: e.contactColumn, children: [
251
253
  /* @__PURE__ */ t("h4", { className: e.contactTitle, children: s("footer.contact.email", "E-post") }),
252
- /* @__PURE__ */ t("p", { className: e.contactContent, children: k })
254
+ /* @__PURE__ */ t("p", { className: e.contactContent, children: z })
253
255
  ] })
254
256
  ] }),
255
257
  /* @__PURE__ */ t("div", { className: e.divider }),
256
258
  /* @__PURE__ */ t("div", { className: e.copyrightSection, children: /* @__PURE__ */ n("p", { className: e.copyrightText, children: [
257
259
  "© ",
258
- C,
260
+ y,
259
261
  " ",
260
262
  s("footer.copyright", "Rødekors")
261
263
  ] }) }),
262
264
  m && /* @__PURE__ */ t("div", { className: e.graphicElementBottomLeft, children: /* @__PURE__ */ t(u, { shape: "angle", position: "bottom-left", size: "md", "aria-hidden": !0 }) })
263
265
  ] }) }),
264
266
  /* @__PURE__ */ t("div", { className: e.whiteSection, children: /* @__PURE__ */ t("div", { className: e.whiteContainer, children: /* @__PURE__ */ n("div", { className: e.whiteContent, children: [
265
- z && (d ? /* @__PURE__ */ t(
267
+ $ && (d ? /* @__PURE__ */ t(
266
268
  "img",
267
269
  {
268
270
  src: d,
269
- alt: $,
271
+ alt: C,
270
272
  className: e.logo,
271
273
  loading: "lazy"
272
274
  }
273
- ) : /* @__PURE__ */ t("div", { className: e.logo, children: /* @__PURE__ */ t(L, { className: e.redCrossLogo }) })),
275
+ ) : /* @__PURE__ */ t("div", { className: e.logo, children: /* @__PURE__ */ t(P, { className: e.redCrossLogo }) })),
274
276
  f && /* @__PURE__ */ t("div", { className: e.slotLarge, children: f })
275
277
  ] }) }) })
276
278
  ] });
277
279
  };
278
- function oe(p) {
280
+ function re(p) {
279
281
  const a = p;
280
282
  return `
281
283
  .${a.footer} {
@@ -713,5 +715,5 @@ function oe(p) {
713
715
  `;
714
716
  }
715
717
  export {
716
- ue as Footer
718
+ ve as Footer
717
719
  };
@@ -253,9 +253,9 @@ const N = {
253
253
  "bottom-right": e.barVertical
254
254
  }
255
255
  }, v = 34, z = {
256
- front: a.faceFront,
257
- top: a.faceTop,
258
- right: a.faceRight
256
+ front: a.faceFront ?? "",
257
+ top: a.faceTop ?? "",
258
+ right: a.faceRight ?? ""
259
259
  };
260
260
  function P(t) {
261
261
  return t in H;