rk-designsystem 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,81 +1,84 @@
1
- import { jsx as n, jsxs as r, Fragment as Ce } from "react/jsx-runtime";
2
- import Ne, { forwardRef as ae, useState as Y, useContext as He, createContext as Xe, useEffect as z, useMemo as ue, useCallback as re, useRef as Je } from "react";
3
- import { Alert as Qe, Avatar as et, BadgePosition as tt, Badge as nt, Breadcrumbs as ot, BreadcrumbsItem as rt, BreadcrumbsLink as st, BreadcrumbsList as at, Button as Me, Card as it, CardBlock as lt, Checkbox as dt, useCheckboxGroup as ct, Fieldset as Ue, Chip as pt, Spinner as mt, Details as gt, Dialog as ut, Divider as ht, Dropdown as ft, DropdownButton as kt, DropdownHeading as vt, DropdownItem as bt, DropdownList as yt, DropdownTrigger as xt, DropdownTriggerContext as Tt, ErrorSummary as Ct, Field as wt, FieldCounter as St, FieldDescription as It, Heading as _t, Input as Dt, Label as At, Link as Lt, List as Nt, Pagination as Mt, PaginationButton as jt, PaginationItem as Ft, PaginationList as Bt, usePagination as Et, Paragraph as zt, Popover as $t, Radio as Pt, useRadioGroup as Rt, Search as Gt, SearchInput as Wt, SearchClear as Ht, SearchButton as Ut, Select as Vt, Skeleton as Ot, SkipLink as Kt, EXPERIMENTAL_Suggestion as qt, Switch as Yt, Table as Zt, Tabs as Xt, Tag as Jt, Textarea as Qt, Textfield as en, ToggleGroup as tn, Tooltip as nn, ValidationMessage as on } from "@digdir/designsystemet-react";
4
- import { startOfMonth as me, isValid as Ie, isSameMonth as Fe, startOfWeek as Ve, format as he, addDays as Oe, subMonths as rn, addMonths as sn, isSameDay as an, isToday as ln, eachDayOfInterval as dn } from "date-fns";
1
+ import { jsx as n, jsxs as a, Fragment as Ce } from "react/jsx-runtime";
2
+ import Ne, { forwardRef as ae, useState as Y, useContext as He, createContext as Xe, useEffect as $, useMemo as ue, useCallback as re, useRef as Je } from "react";
3
+ import { Alert as Qe, Avatar as et, BadgePosition as tt, Badge as nt, Breadcrumbs as ot, BreadcrumbsItem as rt, BreadcrumbsLink as at, BreadcrumbsList as st, Button as Me, Card as it, CardBlock as lt, Checkbox as dt, useCheckboxGroup as ct, Fieldset as Ue, Chip as pt, Spinner as mt, Details as gt, Dialog as ut, Divider as ht, Dropdown as ft, DropdownButton as kt, DropdownHeading as vt, DropdownItem as bt, DropdownList as yt, DropdownTrigger as xt, DropdownTriggerContext as Tt, ErrorSummary as Ct, Field as wt, FieldCounter as St, FieldDescription as It, Heading as _t, Input as Dt, Label as At, Link as Lt, List as Nt, Pagination as Mt, PaginationButton as jt, PaginationItem as Ft, PaginationList as Bt, usePagination as Et, Paragraph as $t, Popover as Pt, Radio as zt, useRadioGroup as Rt, Search as Gt, SearchInput as Wt, SearchClear as Ht, SearchButton as Ut, Select as Vt, Skeleton as Ot, SkipLink as Kt, EXPERIMENTAL_Suggestion as qt, Switch as Yt, Table as Zt, Tabs as Xt, Tag as Jt, Textarea as Qt, Textfield as en, ToggleGroup as tn, Tooltip as nn, ValidationMessage as on } from "@digdir/designsystemet-react";
4
+ import { startOfMonth as me, isValid as Ie, isSameMonth as Fe, startOfWeek as Ve, format as he, addDays as Oe, subMonths as rn, addMonths as an, isSameDay as sn, isToday as ln, eachDayOfInterval as dn } from "date-fns";
5
5
  import cn from "embla-carousel-react";
6
- import { ChevronLeftIcon as pn, ChevronRightIcon as mn, ChevronDownIcon as Be, XMarkIcon as _e, MagnifyingGlassIcon as Ee, MenuHamburgerIcon as ze, HeartIcon as gn } from "@navikt/aksel-icons";
6
+ import { ChevronLeftIcon as pn, ChevronRightIcon as mn, ChevronDownIcon as Be, XMarkIcon as _e, MagnifyingGlassIcon as Ee, MenuHamburgerIcon as $e, HeartIcon as gn } from "@navikt/aksel-icons";
7
7
  const un = ae((t, e) => /* @__PURE__ */ n(Qe, { ref: e, ...t }));
8
8
  un.displayName = "Alert";
9
9
  const Ke = ae((t, e) => /* @__PURE__ */ n(et, { ref: e, ...t }));
10
10
  Ke.displayName = "Avatar";
11
11
  const hn = ae((t, e) => /* @__PURE__ */ n(nt, { ref: e, ...t }));
12
12
  hn.displayName = "Badge";
13
- const Sa = tt, Ia = ot, _a = at, Da = rt, Aa = st, de = Me;
13
+ const Is = tt, _s = ot, Ds = st, As = rt, Ls = at, de = ae(function({ variant: e, shape: r, ...d }, h) {
14
+ const k = {};
15
+ return e !== void 0 && (k.variant = e), r === "pill" && (k["data-shape"] = "pill"), /* @__PURE__ */ n(Me, { ref: h, ...d, ...k });
16
+ });
14
17
  de.displayName = "Button";
15
- const fn = it, La = lt;
18
+ const fn = it, Ns = lt;
16
19
  fn.displayName = "Card";
17
- const kn = dt, vn = Ue, Na = ct;
20
+ const kn = dt, vn = Ue, Ms = ct;
18
21
  kn.displayName = "Checkbox";
19
22
  vn.displayName = "Fieldset";
20
- const Ma = pt;
23
+ const js = pt;
21
24
  function De(t) {
22
25
  return (e = {}) => {
23
- const s = e.width ? String(e.width) : t.defaultWidth;
24
- return t.formats[s] || t.formats[t.defaultWidth];
26
+ const r = e.width ? String(e.width) : t.defaultWidth;
27
+ return t.formats[r] || t.formats[t.defaultWidth];
25
28
  };
26
29
  }
27
30
  function fe(t) {
28
- return (e, s) => {
29
- const c = s != null && s.context ? String(s.context) : "standalone";
30
- let f;
31
- if (c === "formatting" && t.formattingValues) {
32
- const u = t.defaultFormattingWidth || t.defaultWidth, x = s != null && s.width ? String(s.width) : u;
33
- f = t.formattingValues[x] || t.formattingValues[u];
31
+ return (e, r) => {
32
+ const d = r != null && r.context ? String(r.context) : "standalone";
33
+ let h;
34
+ if (d === "formatting" && t.formattingValues) {
35
+ const u = t.defaultFormattingWidth || t.defaultWidth, x = r != null && r.width ? String(r.width) : u;
36
+ h = t.formattingValues[x] || t.formattingValues[u];
34
37
  } else {
35
- const u = t.defaultWidth, x = s != null && s.width ? String(s.width) : t.defaultWidth;
36
- f = t.values[x] || t.values[u];
38
+ const u = t.defaultWidth, x = r != null && r.width ? String(r.width) : t.defaultWidth;
39
+ h = t.values[x] || t.values[u];
37
40
  }
38
- const y = t.argumentCallback ? t.argumentCallback(e) : e;
39
- return f[y];
41
+ const k = t.argumentCallback ? t.argumentCallback(e) : e;
42
+ return h[k];
40
43
  };
41
44
  }
42
45
  function ke(t) {
43
- return (e, s = {}) => {
44
- const c = s.width, f = c && t.matchPatterns[c] || t.matchPatterns[t.defaultMatchWidth], y = e.match(f);
45
- if (!y)
46
+ return (e, r = {}) => {
47
+ const d = r.width, h = d && t.matchPatterns[d] || t.matchPatterns[t.defaultMatchWidth], k = e.match(h);
48
+ if (!k)
46
49
  return null;
47
- const u = y[0], x = c && t.parsePatterns[c] || t.parsePatterns[t.defaultParseWidth], F = Array.isArray(x) ? yn(x, (w) => w.test(u)) : (
50
+ const u = k[0], x = d && t.parsePatterns[d] || t.parsePatterns[t.defaultParseWidth], F = Array.isArray(x) ? yn(x, (w) => w.test(u)) : (
48
51
  // [TODO] -- I challenge you to fix the type
49
52
  bn(x, (w) => w.test(u))
50
53
  );
51
54
  let C;
52
- C = t.valueCallback ? t.valueCallback(F) : F, C = s.valueCallback ? (
55
+ C = t.valueCallback ? t.valueCallback(F) : F, C = r.valueCallback ? (
53
56
  // [TODO] -- I challenge you to fix the type
54
- s.valueCallback(C)
57
+ r.valueCallback(C)
55
58
  ) : C;
56
59
  const U = e.slice(u.length);
57
60
  return { value: C, rest: U };
58
61
  };
59
62
  }
60
63
  function bn(t, e) {
61
- for (const s in t)
62
- if (Object.prototype.hasOwnProperty.call(t, s) && e(t[s]))
63
- return s;
64
+ for (const r in t)
65
+ if (Object.prototype.hasOwnProperty.call(t, r) && e(t[r]))
66
+ return r;
64
67
  }
65
68
  function yn(t, e) {
66
- for (let s = 0; s < t.length; s++)
67
- if (e(t[s]))
68
- return s;
69
+ for (let r = 0; r < t.length; r++)
70
+ if (e(t[r]))
71
+ return r;
69
72
  }
70
73
  function xn(t) {
71
- return (e, s = {}) => {
72
- const c = e.match(t.matchPattern);
73
- if (!c) return null;
74
- const f = c[0], y = e.match(t.parsePattern);
75
- if (!y) return null;
76
- let u = t.valueCallback ? t.valueCallback(y[0]) : y[0];
77
- u = s.valueCallback ? s.valueCallback(u) : u;
78
- const x = e.slice(f.length);
74
+ return (e, r = {}) => {
75
+ const d = e.match(t.matchPattern);
76
+ if (!d) return null;
77
+ const h = d[0], k = e.match(t.parsePattern);
78
+ if (!k) return null;
79
+ let u = t.valueCallback ? t.valueCallback(k[0]) : k[0];
80
+ u = r.valueCallback ? r.valueCallback(u) : u;
81
+ const x = e.slice(h.length);
79
82
  return { value: u, rest: x };
80
83
  };
81
84
  }
@@ -141,10 +144,10 @@ const Tn = {
141
144
  one: "nesten ett år",
142
145
  other: "nesten {{count}} år"
143
146
  }
144
- }, Cn = (t, e, s) => {
145
- let c;
146
- const f = Tn[t];
147
- return typeof f == "string" ? c = f : e === 1 ? c = f.one : c = f.other.replace("{{count}}", String(e)), s != null && s.addSuffix ? s.comparison && s.comparison > 0 ? "om " + c : c + " siden" : c;
147
+ }, Cn = (t, e, r) => {
148
+ let d;
149
+ const h = Tn[t];
150
+ return typeof h == "string" ? d = h : e === 1 ? d = h.one : d = h.other.replace("{{count}}", String(e)), r != null && r.addSuffix ? r.comparison && r.comparison > 0 ? "om " + d : d + " siden" : d;
148
151
  }, wn = {
149
152
  full: "EEEE d. MMMM y",
150
153
  long: "d. MMMM y",
@@ -180,7 +183,7 @@ const Tn = {
180
183
  tomorrow: "'i morgen kl.' p",
181
184
  nextWeek: "EEEE 'kl.' p",
182
185
  other: "P"
183
- }, An = (t, e, s, c) => Dn[t], Ln = {
186
+ }, An = (t, e, r, d) => Dn[t], Ln = {
184
187
  narrow: ["f.Kr.", "e.Kr."],
185
188
  abbreviated: ["f.Kr.", "e.Kr."],
186
189
  wide: ["før Kristus", "etter Kristus"]
@@ -285,7 +288,7 @@ const Tn = {
285
288
  values: Fn,
286
289
  defaultWidth: "wide"
287
290
  })
288
- }, zn = /^(\d+)\.?/i, $n = /\d+/i, Pn = {
291
+ }, $n = /^(\d+)\.?/i, Pn = /\d+/i, zn = {
289
292
  narrow: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,
290
293
  abbreviated: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,
291
294
  wide: /^(før Kristus|før vår tid|etter Kristus|vår tid)/i
@@ -353,12 +356,12 @@ const Tn = {
353
356
  }
354
357
  }, Yn = {
355
358
  ordinalNumber: xn({
356
- matchPattern: zn,
357
- parsePattern: $n,
359
+ matchPattern: $n,
360
+ parsePattern: Pn,
358
361
  valueCallback: (t) => parseInt(t, 10)
359
362
  }),
360
363
  era: ke({
361
- matchPatterns: Pn,
364
+ matchPatterns: zn,
362
365
  defaultMatchWidth: "wide",
363
366
  parsePatterns: Rn,
364
367
  defaultParseWidth: "any"
@@ -399,7 +402,7 @@ const Tn = {
399
402
  weekStartsOn: 1,
400
403
  firstWeekContainsDate: 4
401
404
  }
402
- }, qe = ({ title: t, ...e }) => /* @__PURE__ */ r(
405
+ }, qe = ({ title: t, ...e }) => /* @__PURE__ */ a(
403
406
  "svg",
404
407
  {
405
408
  xmlns: "http://www.w3.org/2000/svg",
@@ -425,7 +428,7 @@ const Tn = {
425
428
  }
426
429
  );
427
430
  qe.displayName = "ChevronLeftIcon";
428
- const Ye = ({ title: t, ...e }) => /* @__PURE__ */ r(
431
+ const Ye = ({ title: t, ...e }) => /* @__PURE__ */ a(
429
432
  "svg",
430
433
  {
431
434
  xmlns: "http://www.w3.org/2000/svg",
@@ -451,7 +454,7 @@ const Ye = ({ title: t, ...e }) => /* @__PURE__ */ r(
451
454
  }
452
455
  );
453
456
  Ye.displayName = "ChevronRightIcon";
454
- const Zn = "_calendarContainer_htlea_1", Xn = "_calendarHeader_htlea_16", Jn = "_monthYear_htlea_23", Qn = "_navigationButtons_htlea_34", eo = "_grid_htlea_43", to = "_dayNameCell_htlea_51", no = "_dateCell_htlea_69", oo = "_dateNumberContainer_htlea_95", ro = "_otherMonth_htlea_108", so = "_disabled_htlea_108", ao = "_selectedDate_htlea_134", ee = {
457
+ const Zn = "_calendarContainer_htlea_1", Xn = "_calendarHeader_htlea_16", Jn = "_monthYear_htlea_23", Qn = "_navigationButtons_htlea_34", eo = "_grid_htlea_43", to = "_dayNameCell_htlea_51", no = "_dateCell_htlea_69", oo = "_dateNumberContainer_htlea_95", ro = "_otherMonth_htlea_108", ao = "_disabled_htlea_108", so = "_selectedDate_htlea_134", ee = {
455
458
  calendarContainer: Zn,
456
459
  calendarHeader: Xn,
457
460
  monthYear: Jn,
@@ -461,8 +464,8 @@ const Zn = "_calendarContainer_htlea_1", Xn = "_calendarHeader_htlea_16", Jn = "
461
464
  dateCell: no,
462
465
  dateNumberContainer: oo,
463
466
  otherMonth: ro,
464
- disabled: so,
465
- selectedDate: ao
467
+ disabled: ao,
468
+ selectedDate: so
466
469
  }, io = {
467
470
  NO: {
468
471
  // Header
@@ -2548,19 +2551,19 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
2548
2551
  openDatePicker: "Open date picker"
2549
2552
  }
2550
2553
  }
2551
- }, je = Xe(void 0), ja = ({ children: t }) => {
2552
- const [e, s] = Y("NO"), c = (f) => {
2553
- const y = f.split(".");
2554
+ }, je = Xe(void 0), Fs = ({ children: t }) => {
2555
+ const [e, r] = Y("NO"), d = (h) => {
2556
+ const k = h.split(".");
2554
2557
  let u = io[e];
2555
- for (const x of y) {
2558
+ for (const x of k) {
2556
2559
  if (u[x] === void 0)
2557
- return console.warn(`Translation missing for key: ${f} in language: ${e}`), f;
2560
+ return console.warn(`Translation missing for key: ${h} in language: ${e}`), h;
2558
2561
  u = u[x];
2559
2562
  }
2560
2563
  return u;
2561
2564
  };
2562
- return /* @__PURE__ */ n(je.Provider, { value: { language: e, setLanguage: s, t: c }, children: t });
2563
- }, Fa = () => {
2565
+ return /* @__PURE__ */ n(je.Provider, { value: { language: e, setLanguage: r, t: d }, children: t });
2566
+ }, Bs = () => {
2564
2567
  const t = He(je);
2565
2568
  if (t === void 0)
2566
2569
  throw new Error("useLanguage must be used within a LanguageProvider");
@@ -2627,75 +2630,75 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
2627
2630
  })[e] || e
2628
2631
  } : t;
2629
2632
  }, lo = (t) => {
2630
- const e = me(t), s = Ve(e, { locale: ge }), c = Oe(s, 41);
2631
- return dn({ start: s, end: c });
2632
- }, $e = (t) => t && t.charAt(0).toUpperCase() + t.slice(1), co = ({
2633
+ const e = me(t), r = Ve(e, { locale: ge }), d = Oe(r, 41);
2634
+ return dn({ start: r, end: d });
2635
+ }, Pe = (t) => t && t.charAt(0).toUpperCase() + t.slice(1), co = ({
2633
2636
  initialDate: t = /* @__PURE__ */ new Date(),
2634
2637
  selectedDate: e = null,
2635
2638
  // Prop for valgt dato
2636
- onDateSelect: s,
2637
- "data-color": c,
2639
+ onDateSelect: r,
2640
+ "data-color": d,
2638
2641
  // <-- Destrukturert
2639
- "data-size": f
2642
+ "data-size": h
2640
2643
  // <-- Destrukturert
2641
2644
  }) => {
2642
- const { t: y } = ye();
2643
- z(() => {
2644
- const d = "rk-datepicker-inline-styles";
2645
- if (typeof document > "u" || document.getElementById(d)) return;
2646
- const D = po(ee), S = document.createElement("style");
2647
- S.id = d, S.textContent = D, document.head.appendChild(S);
2645
+ const { t: k } = ye();
2646
+ $(() => {
2647
+ const c = "rk-datepicker-inline-styles";
2648
+ if (typeof document > "u" || document.getElementById(c)) return;
2649
+ const A = po(ee), S = document.createElement("style");
2650
+ S.id = c, S.textContent = A, document.head.appendChild(S);
2648
2651
  }, []);
2649
2652
  const [u, x] = Y(
2650
2653
  me(e && Ie(e) ? e : t)
2651
2654
  );
2652
- z(() => {
2655
+ $(() => {
2653
2656
  if (e && Ie(e)) {
2654
- const d = me(e);
2655
- Fe(d, u) || x(d);
2657
+ const c = me(e);
2658
+ Fe(c, u) || x(c);
2656
2659
  }
2657
2660
  }, [e]);
2658
2661
  const F = ue(() => me(/* @__PURE__ */ new Date()), []), C = ue(() => !1, [u, F]), U = ue(
2659
2662
  () => lo(u),
2660
2663
  [u]
2661
2664
  ), w = ue(() => {
2662
- const d = Ve(/* @__PURE__ */ new Date(), { locale: ge });
2663
- return Array.from({ length: 7 }).map((D, S) => {
2664
- const R = he(Oe(d, S), "EEEEEE", { locale: ge });
2665
- return $e(R);
2665
+ const c = Ve(/* @__PURE__ */ new Date(), { locale: ge });
2666
+ return Array.from({ length: 7 }).map((A, S) => {
2667
+ const R = he(Oe(c, S), "EEEEEE", { locale: ge });
2668
+ return Pe(R);
2666
2669
  });
2667
- }, []), $ = re(() => {
2668
- C || x((d) => me(rn(d, 1)));
2670
+ }, []), P = re(() => {
2671
+ C || x((c) => me(rn(c, 1)));
2669
2672
  }, [C]), M = re(() => {
2670
- x((d) => me(sn(d, 1)));
2673
+ x((c) => me(an(c, 1)));
2671
2674
  }, []), l = re(
2672
- (d) => {
2673
- s && s(d);
2675
+ (c) => {
2676
+ r && r(c);
2674
2677
  },
2675
- [s]
2678
+ [r]
2676
2679
  ), te = re(
2677
- (d, D) => {
2678
- (d.key === "Enter" || d.key === " ") && (d.preventDefault(), l(D));
2680
+ (c, A) => {
2681
+ (c.key === "Enter" || c.key === " ") && (c.preventDefault(), l(A));
2679
2682
  },
2680
2683
  [l]
2681
- ), P = he(u, "MMMM", { locale: ge }), B = he(u, "yyyy", { locale: ge }), X = `${$e(P)} ${B}`;
2682
- return /* @__PURE__ */ r(
2684
+ ), z = he(u, "MMMM", { locale: ge }), B = he(u, "yyyy", { locale: ge }), X = `${Pe(z)} ${B}`;
2685
+ return /* @__PURE__ */ a(
2683
2686
  "div",
2684
2687
  {
2685
2688
  className: ee.calendarContainer,
2686
- "data-color": c,
2687
- "data-size": f,
2689
+ "data-color": d,
2690
+ "data-size": h,
2688
2691
  children: [
2689
- /* @__PURE__ */ r("div", { className: ee.calendarHeader, children: [
2692
+ /* @__PURE__ */ a("div", { className: ee.calendarHeader, children: [
2690
2693
  /* @__PURE__ */ n("span", { className: ee.monthYear, children: X }),
2691
- /* @__PURE__ */ r("div", { className: ee.navigationButtons, children: [
2694
+ /* @__PURE__ */ a("div", { className: ee.navigationButtons, children: [
2692
2695
  /* @__PURE__ */ n(
2693
2696
  Me,
2694
2697
  {
2695
2698
  variant: "tertiary",
2696
2699
  icon: !0,
2697
- onClick: $,
2698
- "aria-label": y("datePicker.previousMonth"),
2700
+ onClick: P,
2701
+ "aria-label": k("datePicker.previousMonth"),
2699
2702
  disabled: C,
2700
2703
  children: /* @__PURE__ */ n(qe, {})
2701
2704
  }
@@ -2706,17 +2709,17 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
2706
2709
  variant: "tertiary",
2707
2710
  icon: !0,
2708
2711
  onClick: M,
2709
- "aria-label": y("datePicker.nextMonth"),
2712
+ "aria-label": k("datePicker.nextMonth"),
2710
2713
  children: /* @__PURE__ */ n(Ye, {})
2711
2714
  }
2712
2715
  )
2713
2716
  ] })
2714
2717
  ] }),
2715
- /* @__PURE__ */ n("div", { className: ee.grid, children: w.map((d) => /* @__PURE__ */ n("div", { className: ee.dayNameCell, children: d }, d)) }),
2716
- /* @__PURE__ */ n("div", { className: ee.grid, children: U.map((d) => {
2717
- const D = Fe(d, u), S = e && Ie(e) && an(d, e), R = ln(d), A = [
2718
+ /* @__PURE__ */ n("div", { className: ee.grid, children: w.map((c) => /* @__PURE__ */ n("div", { className: ee.dayNameCell, children: c }, c)) }),
2719
+ /* @__PURE__ */ n("div", { className: ee.grid, children: U.map((c) => {
2720
+ const A = Fe(c, u), S = e && Ie(e) && sn(c, e), R = ln(c), I = [
2718
2721
  ee.dateCell,
2719
- D ? "" : ee.otherMonth,
2722
+ A ? "" : ee.otherMonth,
2720
2723
  S ? ee.selectedDate : "",
2721
2724
  // Utheving basert på prop
2722
2725
  R && !S ? ee.todayDate : ""
@@ -2724,16 +2727,16 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
2724
2727
  return /* @__PURE__ */ n(
2725
2728
  "div",
2726
2729
  {
2727
- className: A,
2728
- onClick: () => l(d),
2729
- onKeyDown: (G) => te(G, d),
2730
+ className: I,
2731
+ onClick: () => l(c),
2732
+ onKeyDown: (G) => te(G, c),
2730
2733
  role: "button",
2731
2734
  tabIndex: 0,
2732
2735
  "aria-pressed": S ?? !1,
2733
- "aria-label": he(d, "PPP", { locale: ge }),
2734
- children: /* @__PURE__ */ n("span", { className: ee.dateNumberContainer, children: he(d, "d") })
2736
+ "aria-label": he(c, "PPP", { locale: ge }),
2737
+ children: /* @__PURE__ */ n("span", { className: ee.dateNumberContainer, children: he(c, "d") })
2735
2738
  },
2736
- d.toISOString()
2739
+ c.toISOString()
2737
2740
  );
2738
2741
  }) })
2739
2742
  ]
@@ -2909,33 +2912,33 @@ const mo = "_fieldset_16fx7_2", go = "_description_16fx7_14", uo = "_error_16fx7
2909
2912
  inputWrapperError: fo,
2910
2913
  suffixButton: ko,
2911
2914
  suffixButtonInteractive: vo
2912
- }, Pe = (t) => {
2913
- const e = t.slice(0, 2), s = t.slice(2, 4), c = t.slice(4, 8);
2914
- return t.length > 4 ? `${e}.${s}.${c}` : t.length > 2 ? `${e}.${s}` : t.length > 0 ? e : "";
2915
+ }, ze = (t) => {
2916
+ const e = t.slice(0, 2), r = t.slice(2, 4), d = t.slice(4, 8);
2917
+ return t.length > 4 ? `${e}.${r}.${d}` : t.length > 2 ? `${e}.${r}` : t.length > 0 ? e : "";
2915
2918
  }, Re = (t) => (t || "").replace(/\D/g, ""), Ge = (t) => {
2916
2919
  let e = t;
2917
2920
  if (e.length >= 2) {
2918
- const s = parseInt(e.substring(0, 2), 10);
2919
- !isNaN(s) && s > 31 && (e = "31" + e.substring(2));
2921
+ const r = parseInt(e.substring(0, 2), 10);
2922
+ !isNaN(r) && r > 31 && (e = "31" + e.substring(2));
2920
2923
  }
2921
2924
  if (e.length >= 4) {
2922
- const s = parseInt(e.substring(2, 4), 10);
2923
- !isNaN(s) && s > 12 && (e = e.substring(0, 2) + "12" + e.substring(4));
2925
+ const r = parseInt(e.substring(2, 4), 10);
2926
+ !isNaN(r) && r > 12 && (e = e.substring(0, 2) + "12" + e.substring(4));
2924
2927
  }
2925
2928
  return e.slice(0, 8);
2926
2929
  }, bo = ae(
2927
2930
  (t, e) => {
2928
- const { t: s } = ye();
2929
- z(() => {
2931
+ const { t: r } = ye();
2932
+ $(() => {
2930
2933
  const N = "rk-dateinput-inline-styles";
2931
2934
  if (typeof document > "u" || document.getElementById(N)) return;
2932
2935
  const ie = yo(le), se = document.createElement("style");
2933
2936
  se.id = N, se.textContent = ie, document.head.appendChild(se);
2934
2937
  }, []);
2935
2938
  const {
2936
- label: c,
2937
- suffixIcon: f,
2938
- onSuffixClick: y,
2939
+ label: d,
2940
+ suffixIcon: h,
2941
+ onSuffixClick: k,
2939
2942
  className: u,
2940
2943
  // For ytre fieldset
2941
2944
  inputWrapperClassName: x,
@@ -2945,20 +2948,20 @@ const mo = "_fieldset_16fx7_2", go = "_description_16fx7_14", uo = "_error_16fx7
2945
2948
  value: C,
2946
2949
  defaultValue: U,
2947
2950
  onChange: w,
2948
- readOnly: $,
2951
+ readOnly: P,
2949
2952
  placeholder: M = "dd.mm.åååå",
2950
2953
  id: l,
2951
2954
  name: te,
2952
- required: P,
2955
+ required: z,
2953
2956
  disabled: B,
2954
2957
  onClick: X,
2955
- onFocus: d,
2958
+ onFocus: c,
2956
2959
  // Send ekstern onFocus videre
2957
- onBlur: D,
2960
+ onBlur: A,
2958
2961
  // Send ekstern onBlur videre
2959
2962
  autoComplete: S = "off",
2960
2963
  "aria-label": R,
2961
- "aria-labelledby": A,
2964
+ "aria-labelledby": I,
2962
2965
  description: G,
2963
2966
  error: O,
2964
2967
  // Bruk error-prop for styling
@@ -2967,33 +2970,33 @@ const mo = "_fieldset_16fx7_2", go = "_description_16fx7_14", uo = "_error_16fx7
2967
2970
  "data-size": W,
2968
2971
  // <-- Destrukturering
2969
2972
  ...L
2970
- } = t, g = C !== void 0, h = Je(null);
2973
+ } = t, g = C !== void 0, f = Je(null);
2971
2974
  Ne.useImperativeHandle(
2972
2975
  e,
2973
- () => h.current
2976
+ () => f.current
2974
2977
  );
2975
- const v = re(
2978
+ const b = re(
2976
2979
  (N) => {
2977
2980
  const ie = Re(N), se = Ge(ie);
2978
- return Pe(se);
2981
+ return ze(se);
2979
2982
  },
2980
2983
  []
2981
- ), [b, ne] = Y(
2982
- () => v(C ?? U)
2984
+ ), [y, ne] = Y(
2985
+ () => b(C ?? U)
2983
2986
  );
2984
- z(() => {
2987
+ $(() => {
2985
2988
  if (g) {
2986
- const N = v(C);
2987
- N !== b && (ne(N), h.current && h.current.value !== N && (h.current.value = N));
2989
+ const N = b(C);
2990
+ N !== y && (ne(N), f.current && f.current.value !== N && (f.current.value = N));
2988
2991
  }
2989
- }, [C, g, b, v]);
2992
+ }, [C, g, y, b]);
2990
2993
  const Q = re(
2991
2994
  (N) => {
2992
- const ie = N.target, se = ie.value, pe = b, we = Re(se).slice(0, 8), i = Ge(we), p = Pe(i);
2993
- let k = 0;
2995
+ const ie = N.target, se = ie.value, pe = y, we = Re(se).slice(0, 8), i = Ge(we), p = ze(i);
2996
+ let v = 0;
2994
2997
  const q = i.length;
2995
- q <= 2 ? k = q : q <= 4 ? k = q + 1 : k = q + 2, k = Math.min(k, p.length), requestAnimationFrame(() => {
2996
- if (h.current && (ne(p), h.current.value = p, h.current.setSelectionRange(k, k), (p !== pe || g) && w)) {
2998
+ q <= 2 ? v = q : q <= 4 ? v = q + 1 : v = q + 2, v = Math.min(v, p.length), requestAnimationFrame(() => {
2999
+ if (f.current && (ne(p), f.current.value = p, f.current.setSelectionRange(v, v), (p !== pe || g) && w)) {
2997
3000
  const Se = {
2998
3001
  ...N,
2999
3002
  target: { ...ie, value: p }
@@ -3002,8 +3005,8 @@ const mo = "_fieldset_16fx7_2", go = "_description_16fx7_14", uo = "_error_16fx7
3002
3005
  }
3003
3006
  });
3004
3007
  },
3005
- [b, g, w, v]
3006
- ), I = [le.fieldset, u].filter(Boolean).join(" "), j = [
3008
+ [y, g, w, b]
3009
+ ), _ = [le.fieldset, u].filter(Boolean).join(" "), j = [
3007
3010
  le.inputWrapper,
3008
3011
  x,
3009
3012
  O ? le.inputWrapperError : ""
@@ -3011,61 +3014,61 @@ const mo = "_fieldset_16fx7_2", go = "_description_16fx7_14", uo = "_error_16fx7
3011
3014
  F
3012
3015
  ].filter(Boolean).join(" "), T = [
3013
3016
  le.suffixButton,
3014
- y ? le.suffixButtonInteractive : ""
3017
+ k ? le.suffixButtonInteractive : ""
3015
3018
  ].filter(Boolean).join(" ");
3016
- !c && !R && !A && console.warn("Advarsel: DateInput-komponenten bør ha label, aria-label, eller aria-labelledby for tilgjengelighet.");
3017
- const Z = c && typeof c == "string" ? A || `${l}-label` : void 0, ce = G ? `${l}-desc` : void 0, m = O ? `${l}-err` : void 0, _ = [ce, m].filter(Boolean).join(" ") || void 0;
3019
+ !d && !R && !I && console.warn("Advarsel: DateInput-komponenten bør ha label, aria-label, eller aria-labelledby for tilgjengelighet.");
3020
+ const Z = d && typeof d == "string" ? I || `${l}-label` : void 0, ce = G ? `${l}-desc` : void 0, m = O ? `${l}-err` : void 0, D = [ce, m].filter(Boolean).join(" ") || void 0;
3018
3021
  return (
3019
3022
  // --- Bruk data-color og data-size på den ytre wrapperen ---
3020
- /* @__PURE__ */ r(
3023
+ /* @__PURE__ */ a(
3021
3024
  "div",
3022
3025
  {
3023
- className: I,
3026
+ className: _,
3024
3027
  "data-color": J,
3025
3028
  "data-size": W,
3026
3029
  children: [
3027
- c && typeof c == "string" ? /* @__PURE__ */ n("label", { id: Z, htmlFor: l, children: c }) : c,
3030
+ d && typeof d == "string" ? /* @__PURE__ */ n("label", { id: Z, htmlFor: l, children: d }) : d,
3028
3031
  G && /* @__PURE__ */ n("p", { id: ce, className: le.description, children: G }),
3029
- /* @__PURE__ */ r("div", { className: j, children: [
3032
+ /* @__PURE__ */ a("div", { className: j, children: [
3030
3033
  /* @__PURE__ */ n(
3031
3034
  "input",
3032
3035
  {
3033
- ref: h,
3036
+ ref: f,
3034
3037
  type: "text",
3035
3038
  inputMode: "numeric",
3036
3039
  pattern: "\\d{2}\\.\\d{2}\\.\\d{4}",
3037
3040
  maxLength: 10,
3038
- value: b,
3039
- readOnly: $,
3041
+ value: y,
3042
+ readOnly: P,
3040
3043
  placeholder: M,
3041
3044
  id: l,
3042
3045
  name: te,
3043
- required: P,
3046
+ required: z,
3044
3047
  disabled: B,
3045
3048
  onClick: X,
3046
3049
  onChange: Q,
3047
- onFocus: d,
3048
- onBlur: D,
3050
+ onFocus: c,
3051
+ onBlur: A,
3049
3052
  autoComplete: S,
3050
3053
  "aria-label": R,
3051
3054
  "aria-labelledby": Z,
3052
- "aria-describedby": _,
3055
+ "aria-describedby": D,
3053
3056
  "aria-invalid": !!O,
3054
3057
  className: K,
3055
3058
  ...L
3056
3059
  }
3057
3060
  ),
3058
- f && /* @__PURE__ */ n(
3061
+ h && /* @__PURE__ */ n(
3059
3062
  "button",
3060
3063
  {
3061
3064
  type: "button",
3062
3065
  className: T,
3063
- onClick: B ? void 0 : y,
3064
- tabIndex: y && !B ? 0 : -1,
3065
- "aria-hidden": !y,
3066
+ onClick: B ? void 0 : k,
3067
+ tabIndex: k && !B ? 0 : -1,
3068
+ "aria-hidden": !k,
3066
3069
  disabled: B,
3067
- "aria-label": y ? s("dateInput.openDatePicker") : void 0,
3068
- children: f
3070
+ "aria-label": k ? r("dateInput.openDatePicker") : void 0,
3071
+ children: h
3069
3072
  }
3070
3073
  )
3071
3074
  ] }),
@@ -3186,13 +3189,13 @@ const xo = "_carouselContainer_eo3g5_1", To = "_viewport_eo3g5_14", Co = "_slide
3186
3189
  dots: jo,
3187
3190
  dot: Fo,
3188
3191
  dotActive: Bo
3189
- }, Eo = mt, zo = ({
3192
+ }, Eo = mt, $o = ({
3190
3193
  images: t,
3191
3194
  autoPlay: e = !1,
3192
- autoDelay: s = 5,
3193
- showArrows: c = !0,
3194
- showDots: f = !0,
3195
- variant: y,
3195
+ autoDelay: r = 5,
3196
+ showArrows: d = !0,
3197
+ showDots: h = !0,
3198
+ variant: k,
3196
3199
  slidesPerView: u = 1,
3197
3200
  slideSpacing: x = 16,
3198
3201
  cornerRadius: F = 0,
@@ -3200,53 +3203,53 @@ const xo = "_carouselContainer_eo3g5_1", To = "_viewport_eo3g5_14", Co = "_slide
3200
3203
  "data-size": U
3201
3204
  }) => {
3202
3205
  const { t: w } = ye();
3203
- z(() => {
3204
- const h = "rk-carousel-inline-styles";
3205
- if (typeof document > "u" || document.getElementById(h)) return;
3206
- const v = $o(H), b = document.createElement("style");
3207
- b.id = h, b.textContent = v, document.head.appendChild(b);
3206
+ $(() => {
3207
+ const f = "rk-carousel-inline-styles";
3208
+ if (typeof document > "u" || document.getElementById(f)) return;
3209
+ const b = Po(H), y = document.createElement("style");
3210
+ y.id = f, y.textContent = b, document.head.appendChild(y);
3208
3211
  }, []);
3209
- const $ = {
3212
+ const P = {
3210
3213
  loop: !0,
3211
3214
  align: "start",
3212
3215
  containScroll: "trimSnaps",
3213
3216
  slidesToScroll: 1
3214
- }, [M, l] = cn($), [te, P] = Y(0), [B, X] = Y([]), [d, D] = Y([]);
3215
- z(() => {
3216
- D(new Array((t == null ? void 0 : t.length) || 0).fill(!1));
3217
+ }, [M, l] = cn(P), [te, z] = Y(0), [B, X] = Y([]), [c, A] = Y([]);
3218
+ $(() => {
3219
+ A(new Array((t == null ? void 0 : t.length) || 0).fill(!1));
3217
3220
  }, [t]);
3218
- const S = re((h) => {
3219
- D((v) => {
3220
- const b = [...v];
3221
- return b[h] = !0, b;
3221
+ const S = re((f) => {
3222
+ A((b) => {
3223
+ const y = [...b];
3224
+ return y[f] = !0, y;
3222
3225
  });
3223
- }, []), R = ue(() => s * 1e3, [s]), A = re(() => {
3224
- l && P(l.selectedScrollSnap());
3225
- }, [l]), G = re((h) => l && l.scrollTo(h), [l]), O = re(() => l && l.scrollPrev(), [l]), J = re(() => l && l.scrollNext(), [l]);
3226
- z(() => {
3226
+ }, []), R = ue(() => r * 1e3, [r]), I = re(() => {
3227
+ l && z(l.selectedScrollSnap());
3228
+ }, [l]), G = re((f) => l && l.scrollTo(f), [l]), O = re(() => l && l.scrollPrev(), [l]), J = re(() => l && l.scrollNext(), [l]);
3229
+ $(() => {
3227
3230
  if (l)
3228
- return l.on("select", A), l.on("reInit", A), X(l.scrollSnapList()), () => {
3229
- l.off("select", A), l.off("reInit", A);
3231
+ return l.on("select", I), l.on("reInit", I), X(l.scrollSnapList()), () => {
3232
+ l.off("select", I), l.off("reInit", I);
3230
3233
  };
3231
- }, [l, A]), z(() => {
3234
+ }, [l, I]), $(() => {
3232
3235
  l && (l.reInit(), X(l.scrollSnapList()));
3233
- }, [l, t, u, x]), z(() => {
3236
+ }, [l, t, u, x]), $(() => {
3234
3237
  if (!e || !l || !t || t.length <= 1) return;
3235
- const h = window.setInterval(() => {
3238
+ const f = window.setInterval(() => {
3236
3239
  l.canScrollNext() && l.scrollNext();
3237
3240
  }, R);
3238
3241
  return () => {
3239
- window.clearInterval(h);
3242
+ window.clearInterval(f);
3240
3243
  };
3241
3244
  }, [e, R, l, t]);
3242
3245
  const W = Math.max(1, u), L = `${100 / W}%`, g = x / 2;
3243
- return /* @__PURE__ */ r(
3246
+ return /* @__PURE__ */ a(
3244
3247
  "div",
3245
3248
  {
3246
3249
  className: H.carouselContainer,
3247
3250
  "data-color": C,
3248
3251
  "data-size": U,
3249
- "data-variant": y,
3252
+ "data-variant": k,
3250
3253
  children: [
3251
3254
  /* @__PURE__ */ n("div", { className: H.viewport, ref: M, children: /* @__PURE__ */ n(
3252
3255
  "div",
@@ -3256,7 +3259,7 @@ const xo = "_carouselContainer_eo3g5_1", To = "_viewport_eo3g5_14", Co = "_slide
3256
3259
  marginLeft: `-${g}px`,
3257
3260
  marginRight: `-${g}px`
3258
3261
  },
3259
- children: t && t.length > 0 ? t.map((h, v) => /* @__PURE__ */ n(
3262
+ children: t && t.length > 0 ? t.map((f, b) => /* @__PURE__ */ n(
3260
3263
  "div",
3261
3264
  {
3262
3265
  className: H.slide,
@@ -3268,30 +3271,30 @@ const xo = "_carouselContainer_eo3g5_1", To = "_viewport_eo3g5_14", Co = "_slide
3268
3271
  overflow: "hidden"
3269
3272
  // Ensure radius clips content
3270
3273
  },
3271
- children: /* @__PURE__ */ r("div", { className: H.slideInner, style: { borderRadius: `${F}px`, overflow: "hidden", position: "relative", width: "100%", height: "100%" }, children: [
3272
- !d[v] && /* @__PURE__ */ n("div", { className: H.loaderOverlay, children: /* @__PURE__ */ n(Eo, { "aria-label": w("carousel.loading") }) }),
3274
+ children: /* @__PURE__ */ a("div", { className: H.slideInner, style: { borderRadius: `${F}px`, overflow: "hidden", position: "relative", width: "100%", height: "100%" }, children: [
3275
+ !c[b] && /* @__PURE__ */ n("div", { className: H.loaderOverlay, children: /* @__PURE__ */ n(Eo, { "aria-label": w("carousel.loading") }) }),
3273
3276
  /* @__PURE__ */ n(
3274
3277
  "img",
3275
3278
  {
3276
- className: `${H.image} ${d[v] ? H.loaded : H.loadingImage}`,
3277
- src: h.src,
3278
- alt: h.alt,
3279
- loading: v < W ? "eager" : "lazy",
3279
+ className: `${H.image} ${c[b] ? H.loaded : H.loadingImage}`,
3280
+ src: f.src,
3281
+ alt: f.alt,
3282
+ loading: b < W ? "eager" : "lazy",
3280
3283
  crossOrigin: "anonymous",
3281
- onLoad: () => S(v),
3282
- onError: (b) => {
3283
- b.target.style.display = "none", S(v);
3284
+ onLoad: () => S(b),
3285
+ onError: (y) => {
3286
+ y.target.style.display = "none", S(b);
3284
3287
  }
3285
3288
  }
3286
3289
  )
3287
3290
  ] })
3288
3291
  },
3289
- `image-${v}-${h.src}`
3292
+ `image-${b}-${f.src}`
3290
3293
  )) : /* @__PURE__ */ n("div", { className: H.slide, style: { flex: "0 0 100%" }, children: /* @__PURE__ */ n("div", { className: H.empty, children: "Ingen bilder" }) })
3291
3294
  }
3292
3295
  ) }),
3293
- (c || f && t && t.length > 1) && /* @__PURE__ */ r("div", { className: H.controls, "aria-hidden": "false", children: [
3294
- c && /* @__PURE__ */ r("div", { className: H.arrows, children: [
3296
+ (d || h && t && t.length > 1) && /* @__PURE__ */ a("div", { className: H.controls, "aria-hidden": "false", children: [
3297
+ d && /* @__PURE__ */ a("div", { className: H.arrows, children: [
3295
3298
  /* @__PURE__ */ n(
3296
3299
  de,
3297
3300
  {
@@ -3315,19 +3318,19 @@ const xo = "_carouselContainer_eo3g5_1", To = "_viewport_eo3g5_14", Co = "_slide
3315
3318
  }
3316
3319
  )
3317
3320
  ] }),
3318
- f && t && t.length > 1 && /* @__PURE__ */ n("div", { className: H.dots, role: "tablist", "aria-label": w("carousel.imagePosition"), children: B.map((h, v) => {
3319
- const b = v === te;
3321
+ h && t && t.length > 1 && /* @__PURE__ */ n("div", { className: H.dots, role: "tablist", "aria-label": w("carousel.imagePosition"), children: B.map((f, b) => {
3322
+ const y = b === te;
3320
3323
  return /* @__PURE__ */ n(
3321
3324
  "button",
3322
3325
  {
3323
3326
  type: "button",
3324
- className: `${H.dot} ${b ? H.dotActive : ""}`,
3325
- onClick: () => G(v),
3326
- "aria-label": `${w("carousel.goToImage")} ${v + 1}`,
3327
- "aria-selected": b,
3327
+ className: `${H.dot} ${y ? H.dotActive : ""}`,
3328
+ onClick: () => G(b),
3329
+ "aria-label": `${w("carousel.goToImage")} ${b + 1}`,
3330
+ "aria-selected": y,
3328
3331
  role: "tab"
3329
3332
  },
3330
- `dot-${v}`
3333
+ `dot-${b}`
3331
3334
  );
3332
3335
  }) })
3333
3336
  ] })
@@ -3335,8 +3338,8 @@ const xo = "_carouselContainer_eo3g5_1", To = "_viewport_eo3g5_14", Co = "_slide
3335
3338
  }
3336
3339
  );
3337
3340
  };
3338
- zo.displayName = "Carousel";
3339
- function $o(t) {
3341
+ $o.displayName = "Carousel";
3342
+ function Po(t) {
3340
3343
  return `
3341
3344
  .${t.carouselContainer} {
3342
3345
  position: relative;
@@ -3508,8 +3511,8 @@ function $o(t) {
3508
3511
  }
3509
3512
  `;
3510
3513
  }
3511
- const Po = "_crossCorner_1caiu_1", Ro = "_shape_1caiu_6", Ae = {
3512
- crossCorner: Po,
3514
+ const zo = "_crossCorner_1caiu_1", Ro = "_shape_1caiu_6", Ae = {
3515
+ crossCorner: zo,
3513
3516
  shape: Ro
3514
3517
  };
3515
3518
  function Go(t) {
@@ -3552,34 +3555,34 @@ const Wo = {
3552
3555
  ({
3553
3556
  position: t = "top-left",
3554
3557
  size: e = "md",
3555
- className: s,
3556
- "aria-label": c,
3557
- "aria-hidden": f = !0,
3558
- "data-color": y,
3558
+ className: r,
3559
+ "aria-label": d,
3560
+ "aria-hidden": h = !0,
3561
+ "data-color": k,
3559
3562
  "data-size": u,
3560
3563
  ...x
3561
3564
  }, F) => {
3562
- z(() => {
3565
+ $(() => {
3563
3566
  const w = "rk-crosscorner-inline-styles";
3564
3567
  if (typeof document > "u" || document.getElementById(w)) return;
3565
- const $ = Go(Ae), M = document.createElement("style");
3566
- M.id = w, M.textContent = $, document.head.appendChild(M);
3568
+ const P = Go(Ae), M = document.createElement("style");
3569
+ M.id = w, M.textContent = P, document.head.appendChild(M);
3567
3570
  }, []);
3568
3571
  const C = Wo[e], U = Ho[t];
3569
3572
  return /* @__PURE__ */ n(
3570
3573
  "svg",
3571
3574
  {
3572
3575
  ref: F,
3573
- className: `${Ae.crossCorner} ${s || ""}`,
3576
+ className: `${Ae.crossCorner} ${r || ""}`,
3574
3577
  width: C,
3575
3578
  height: C,
3576
3579
  viewBox: "0 0 68 68",
3577
3580
  fill: "none",
3578
3581
  xmlns: "http://www.w3.org/2000/svg",
3579
- "aria-label": c,
3580
- "aria-hidden": f,
3581
- role: f ? void 0 : "img",
3582
- "data-color": y,
3582
+ "aria-label": d,
3583
+ "aria-hidden": h,
3584
+ role: h ? void 0 : "img",
3585
+ "data-color": k,
3583
3586
  "data-size": u,
3584
3587
  style: {
3585
3588
  transform: U ? `rotate(${U}deg)` : void 0
@@ -3597,85 +3600,90 @@ const Wo = {
3597
3600
  }
3598
3601
  );
3599
3602
  ve.displayName = "CrossCorner";
3600
- const Ba = gt, Ea = ut, za = ht, V = ft, $a = xt, Pa = Tt, Ra = vt, Ga = yt, Wa = bt, Ha = kt, Ua = Ct, Va = wt, Uo = It, Vo = St;
3603
+ const Es = gt, $s = ut, Ps = ht, V = ft, zs = xt, Rs = Tt, Gs = vt, Ws = yt, Hs = bt, Us = kt, Vs = Ct, Os = wt, Uo = It, Vo = St;
3601
3604
  Uo.displayName = "Field.Description";
3602
3605
  Vo.displayName = "Field.Counter";
3603
- const Oa = Ue, Oo = ae((t, e) => /* @__PURE__ */ n(_t, { ref: e, ...t }));
3606
+ const Ks = Ue, Oo = ae((t, e) => /* @__PURE__ */ n(_t, { ref: e, ...t }));
3604
3607
  Oo.displayName = "Heading";
3605
3608
  const Ze = Dt;
3606
3609
  Ze.displayName = "Input";
3607
3610
  const Ko = ae((t, e) => /* @__PURE__ */ n(At, { ref: e, ...t }));
3608
3611
  Ko.displayName = "Label";
3609
- const oe = Lt, Ka = Nt, qo = Mt, qa = Bt, Ya = Ft, Za = jt, Xa = Et;
3612
+ const oe = Lt, qs = Nt, qo = Mt, Ys = Bt, Zs = Ft, Xs = jt, Js = Et;
3610
3613
  qo.displayName = "Pagination";
3611
3614
  const be = ae(
3612
- (t, e) => /* @__PURE__ */ n(zt, { ref: e, ...t })
3615
+ (t, e) => /* @__PURE__ */ n($t, { ref: e, ...t })
3613
3616
  );
3614
3617
  be.displayName = "Paragraph";
3615
- const Ja = $t, Qa = Pt, ei = Rt, xe = Object.assign(Gt, {
3618
+ const Qs = Pt, ei = zt, ti = Rt, xe = Object.assign(Gt, {
3616
3619
  Button: Ut,
3617
3620
  ClearButton: Ht,
3618
3621
  Input: Wt
3619
- }), ti = Vt, ni = Ot, oi = Kt, Yo = qt;
3622
+ }), ni = Vt, oi = Ot, ri = Kt, Yo = qt;
3620
3623
  Yo.displayName = "Suggestion";
3621
- const Le = Yt, ri = Zt, Te = Xt, si = Jt, ai = Qt, Zo = en, ii = tn, li = nn, Xo = ae((t, e) => /* @__PURE__ */ n(on, { ref: e, ...t }));
3622
- Xo.displayName = "ValidationMessage";
3623
- const Jo = "_header_pzuss_1", Qo = "_languageSwitch_pzuss_37", er = "_searchOverlay_pzuss_41", tr = "_headerExtension_pzuss_46", nr = "_headerExtensionTinted_pzuss_75", or = "_languageLabel_pzuss_83", rr = "_languageLink_pzuss_88", sr = "_extensionContent_pzuss_93", ar = "_extensionDivider_pzuss_98", ir = "_extensionContentWrapper_pzuss_103", lr = "_headerInner_pzuss_199", dr = "_logoWrapper_pzuss_216", cr = "_logo_pzuss_216", pr = "_secondaryLogoWrapper_pzuss_239", mr = "_slotComponent_pzuss_248", gr = "_slotContainer_pzuss_258", ur = "_slotText_pzuss_266", hr = "_secondaryLogo_pzuss_239", fr = "_redCrossLogo_pzuss_293", kr = "_primaryLogo_pzuss_299", vr = "_navItems_pzuss_303", br = "_navLink_pzuss_312", yr = "_actions_pzuss_325", xr = "_ctaButton_pzuss_333", Tr = "_themeToggle_pzuss_338", Cr = "_userInfo_pzuss_343", wr = "_userName_pzuss_349", Sr = "_loginLink_pzuss_356", Ir = "_loginText_pzuss_365", _r = "_underline_pzuss_372", Dr = "_searchButtonWrapper_pzuss_378", Ar = "_buttonText_pzuss_382", Lr = "_menuButton_pzuss_387", Nr = "_menuOverlay_pzuss_426", Mr = "_searchContent_pzuss_460", jr = "_menuContent_pzuss_470", Fr = "_menuLeftColumn_pzuss_479", Br = "_menuRightColumn_pzuss_485", Er = "_slotContent_pzuss_499", zr = "_navList_pzuss_512", $r = "_menuUtilities_pzuss_519", Pr = "_menuBrand_pzuss_526", Rr = "_suggestionsSection_pzuss_530", Gr = "_suggestionsTitle_pzuss_536", Wr = "_searchResults_pzuss_545", Hr = "_resultList_pzuss_551", Ur = "_resultItem_pzuss_557", Vr = "_resultLink_pzuss_565", Or = "_suggestionIcon_pzuss_579", Kr = "_suggestionText_pzuss_592", qr = "_highlightedText_pzuss_599", Yr = "_remainingText_pzuss_604", Zr = "_viewAllLink_pzuss_617", Xr = "_noResults_pzuss_652", a = {
3624
- header: Jo,
3625
- languageSwitch: Qo,
3626
- searchOverlay: er,
3627
- headerExtension: tr,
3628
- headerExtensionTinted: nr,
3629
- languageLabel: or,
3630
- languageLink: rr,
3624
+ const Le = Yt, ai = Zt, Te = Xt, Zo = ae(function({ shape: e, ...r }, d) {
3625
+ const h = {};
3626
+ return e === "rounded" && (h["data-shape"] = "rounded"), /* @__PURE__ */ n(Jt, { ref: d, ...r, ...h });
3627
+ });
3628
+ Zo.displayName = "Tag";
3629
+ const si = Qt, Xo = en, ii = tn, li = nn, Jo = ae((t, e) => /* @__PURE__ */ n(on, { ref: e, ...t }));
3630
+ Jo.displayName = "ValidationMessage";
3631
+ const Qo = "_header_p2hri_1", er = "_languageSwitch_p2hri_37", tr = "_searchOverlay_p2hri_41", nr = "_headerExtension_p2hri_46", or = "_headerExtensionTinted_p2hri_75", rr = "_languageLabel_p2hri_83", ar = "_languageLink_p2hri_88", sr = "_extensionContent_p2hri_93", ir = "_extensionDivider_p2hri_98", lr = "_extensionContentWrapper_p2hri_103", dr = "_headerInner_p2hri_199", cr = "_logoWrapper_p2hri_216", pr = "_logo_p2hri_216", mr = "_secondaryLogoWrapper_p2hri_239", gr = "_slotComponent_p2hri_248", ur = "_slotContainer_p2hri_258", hr = "_slotText_p2hri_266", fr = "_secondaryLogo_p2hri_239", kr = "_redCrossLogo_p2hri_293", vr = "_primaryLogo_p2hri_299", br = "_navItems_p2hri_303", yr = "_navLink_p2hri_312", xr = "_actions_p2hri_325", Tr = "_ctaButton_p2hri_333", Cr = "_themeToggle_p2hri_338", wr = "_userInfo_p2hri_343", Sr = "_userName_p2hri_349", Ir = "_loginLink_p2hri_356", _r = "_loginText_p2hri_365", Dr = "_underline_p2hri_372", Ar = "_searchButtonWrapper_p2hri_378", Lr = "_buttonText_p2hri_382", Nr = "_menuButton_p2hri_387", Mr = "_menuOverlay_p2hri_410", jr = "_searchContent_p2hri_444", Fr = "_menuContent_p2hri_454", Br = "_menuLeftColumn_p2hri_463", Er = "_menuRightColumn_p2hri_469", $r = "_slotContent_p2hri_483", Pr = "_navList_p2hri_496", zr = "_menuUtilities_p2hri_503", Rr = "_menuBrand_p2hri_510", Gr = "_suggestionsSection_p2hri_514", Wr = "_suggestionsTitle_p2hri_520", Hr = "_searchResults_p2hri_529", Ur = "_resultList_p2hri_535", Vr = "_resultItem_p2hri_541", Or = "_resultLink_p2hri_549", Kr = "_suggestionIcon_p2hri_563", qr = "_suggestionText_p2hri_576", Yr = "_highlightedText_p2hri_583", Zr = "_remainingText_p2hri_588", Xr = "_viewAllLink_p2hri_601", Jr = "_noResults_p2hri_636", s = {
3632
+ header: Qo,
3633
+ languageSwitch: er,
3634
+ searchOverlay: tr,
3635
+ headerExtension: nr,
3636
+ headerExtensionTinted: or,
3637
+ languageLabel: rr,
3638
+ languageLink: ar,
3631
3639
  extensionContent: sr,
3632
- extensionDivider: ar,
3633
- extensionContentWrapper: ir,
3634
- headerInner: lr,
3635
- logoWrapper: dr,
3636
- logo: cr,
3637
- secondaryLogoWrapper: pr,
3638
- slotComponent: mr,
3639
- slotContainer: gr,
3640
- slotText: ur,
3641
- secondaryLogo: hr,
3642
- redCrossLogo: fr,
3643
- primaryLogo: kr,
3644
- navItems: vr,
3645
- navLink: br,
3646
- actions: yr,
3647
- ctaButton: xr,
3648
- themeToggle: Tr,
3649
- userInfo: Cr,
3650
- userName: wr,
3651
- loginLink: Sr,
3652
- loginText: Ir,
3653
- underline: _r,
3654
- searchButtonWrapper: Dr,
3655
- buttonText: Ar,
3656
- menuButton: Lr,
3657
- menuOverlay: Nr,
3658
- searchContent: Mr,
3659
- menuContent: jr,
3660
- menuLeftColumn: Fr,
3661
- menuRightColumn: Br,
3662
- slotContent: Er,
3663
- navList: zr,
3664
- menuUtilities: $r,
3665
- menuBrand: Pr,
3666
- suggestionsSection: Rr,
3667
- suggestionsTitle: Gr,
3668
- searchResults: Wr,
3669
- resultList: Hr,
3670
- resultItem: Ur,
3671
- resultLink: Vr,
3672
- suggestionIcon: Or,
3673
- suggestionText: Kr,
3674
- highlightedText: qr,
3675
- remainingText: Yr,
3676
- viewAllLink: Zr,
3677
- noResults: Xr
3678
- }, Jr = [
3640
+ extensionDivider: ir,
3641
+ extensionContentWrapper: lr,
3642
+ headerInner: dr,
3643
+ logoWrapper: cr,
3644
+ logo: pr,
3645
+ secondaryLogoWrapper: mr,
3646
+ slotComponent: gr,
3647
+ slotContainer: ur,
3648
+ slotText: hr,
3649
+ secondaryLogo: fr,
3650
+ redCrossLogo: kr,
3651
+ primaryLogo: vr,
3652
+ navItems: br,
3653
+ navLink: yr,
3654
+ actions: xr,
3655
+ ctaButton: Tr,
3656
+ themeToggle: Cr,
3657
+ userInfo: wr,
3658
+ userName: Sr,
3659
+ loginLink: Ir,
3660
+ loginText: _r,
3661
+ underline: Dr,
3662
+ searchButtonWrapper: Ar,
3663
+ buttonText: Lr,
3664
+ menuButton: Nr,
3665
+ menuOverlay: Mr,
3666
+ searchContent: jr,
3667
+ menuContent: Fr,
3668
+ menuLeftColumn: Br,
3669
+ menuRightColumn: Er,
3670
+ slotContent: $r,
3671
+ navList: Pr,
3672
+ menuUtilities: zr,
3673
+ menuBrand: Rr,
3674
+ suggestionsSection: Gr,
3675
+ suggestionsTitle: Wr,
3676
+ searchResults: Hr,
3677
+ resultList: Ur,
3678
+ resultItem: Vr,
3679
+ resultLink: Or,
3680
+ suggestionIcon: Kr,
3681
+ suggestionText: qr,
3682
+ highlightedText: Yr,
3683
+ remainingText: Zr,
3684
+ viewAllLink: Xr,
3685
+ noResults: Jr
3686
+ }, Qr = [
3679
3687
  // Pages
3680
3688
  { id: "home", title: "Hjem", category: "Page", path: "home", description: "Forsiden" },
3681
3689
  { id: "components", title: "Komponenter", category: "Page", path: "components", description: "Oversikt over alle komponenter" },
@@ -3739,47 +3747,47 @@ const Jo = "_header_pzuss_1", Qo = "_languageSwitch_pzuss_37", er = "_searchOver
3739
3747
  { id: "progression", title: "Progresjon", category: "Code", path: "code/progression", description: "Fra design til ferdig komponent" },
3740
3748
  { id: "metadata-files", title: "Metadata filer", category: "Code", path: "code/metadata-files", description: "Struktur og bruk av metadata.json" }
3741
3749
  ];
3742
- function Qr(t) {
3750
+ function ea(t) {
3743
3751
  return t.split(/\s+/).map((e) => e[0] ?? "").join("").slice(0, 2).toUpperCase();
3744
3752
  }
3745
3753
  const di = ({
3746
3754
  "data-color": t = "primary",
3747
3755
  activePage: e,
3748
- setPage: s,
3749
- children: c,
3750
- showUser: f = !0,
3751
- showSearch: y = !0,
3756
+ setPage: r,
3757
+ children: d,
3758
+ showUser: h = !0,
3759
+ showSearch: k = !0,
3752
3760
  showLogin: u = !0,
3753
3761
  showCta: x = !1,
3754
3762
  ctaLabel: F,
3755
3763
  ctaIcon: C = /* @__PURE__ */ n(gn, { "aria-hidden": !0 }),
3756
3764
  onCtaClick: U,
3757
3765
  showThemeToggle: w = !1,
3758
- secondaryLogo: $ = !1,
3766
+ secondaryLogo: P = !1,
3759
3767
  secondaryLogoSrc: M,
3760
3768
  secondaryLogoSrcDark: l,
3761
3769
  secondaryLogoAlt: te = "Secondary Logo",
3762
- navItems: P,
3770
+ navItems: z,
3763
3771
  showNavItems: B = !0,
3764
3772
  showMenuButton: X = !0,
3765
- showHeaderExtension: d = !1,
3766
- showModeToggle: D = !1,
3773
+ showHeaderExtension: c = !1,
3774
+ showModeToggle: A = !1,
3767
3775
  showLanguageSwitch: S = !1,
3768
3776
  extensionColor: R,
3769
- buttonStyle: A = "default",
3777
+ buttonStyle: I = "default",
3770
3778
  userName: G,
3771
3779
  userInitials: O,
3772
3780
  userAvatarSrc: J,
3773
3781
  onUserClick: W
3774
3782
  }) => {
3775
- const [L, g] = Y(!1), [h, v] = Y(!1), [b, ne] = Y(""), [Q, I] = Y("light"), { language: j, setLanguage: K, t: T } = ye(), [Z, ce] = Y(!1);
3776
- z(() => {
3783
+ const [L, g] = Y(!1), [f, b] = Y(!1), [y, ne] = Y(""), [Q, _] = Y("light"), { language: j, setLanguage: K, t: T } = ye(), [Z, ce] = Y(!1);
3784
+ $(() => {
3777
3785
  const i = "rk-header-inline-styles";
3778
3786
  if (typeof document > "u" || document.getElementById(i)) return;
3779
- const p = es(a), k = document.createElement("style");
3780
- k.id = i, k.textContent = p, document.head.appendChild(k);
3787
+ const p = ta(s), v = document.createElement("style");
3788
+ v.id = i, v.textContent = p, document.head.appendChild(v);
3781
3789
  }, []);
3782
- const m = () => /* @__PURE__ */ r(
3790
+ const m = () => /* @__PURE__ */ a(
3783
3791
  "svg",
3784
3792
  {
3785
3793
  width: "170",
@@ -3789,7 +3797,7 @@ const di = ({
3789
3797
  xmlns: "http://www.w3.org/2000/svg",
3790
3798
  "aria-hidden": !0,
3791
3799
  focusable: "false",
3792
- className: a.redCrossLogo,
3800
+ className: s.redCrossLogo,
3793
3801
  children: [
3794
3802
  /* @__PURE__ */ n("path", { d: "M76.1036 48.1397C77.8925 47.8781 79.6984 47.7525 81.5061 47.7639C84.1713 47.7639 86.0396 48.1669 87.3182 49.1857C87.8735 49.639 88.3149 50.2176 88.6067 50.8744C88.8984 51.5312 89.0323 52.2479 88.9974 52.9665C88.9839 53.9451 88.6724 54.896 88.1049 55.691C87.5373 56.4861 86.7411 57.087 85.8235 57.4129V57.4944C87.0796 58.006 87.7684 59.2104 88.2231 60.8722C88.7813 62.9097 89.3441 65.2688 89.6907 65.9661H85.5309C85.2382 65.4544 84.7835 63.9829 84.2793 61.7597C83.7751 59.5365 83.0097 58.8527 81.344 58.8527H80.1284V65.9661H76.1036V48.1397ZM80.1284 55.9141H81.7312C83.7526 55.9141 84.9546 54.8954 84.9546 53.3151C84.9546 51.6534 83.8336 50.8202 81.9698 50.7931C81.3532 50.7814 80.7368 50.8268 80.1284 50.9289V55.9141Z", fill: "#1E1E1E" }),
3795
3803
  /* @__PURE__ */ n("path", { d: "M97.8528 52.5633C98.9439 52.5351 100.026 52.7744 101.004 53.2606L102.256 51.4087L103.669 52.4003L102.467 54.2115C103.188 54.8589 103.758 55.6585 104.137 56.5531C104.515 57.4478 104.692 58.4154 104.655 59.3869C104.655 64.0506 101.243 66.2738 97.8573 66.2738C96.7852 66.2984 95.7234 66.059 94.7644 65.5765L93.4543 67.4556L92.1037 66.387L93.2787 64.6438C91.8651 63.4892 91.0277 61.7233 91.0277 59.414C91.0277 55.2891 93.7965 52.5543 97.8213 52.5543L97.8528 52.5633ZM99.2934 55.9411C98.8798 55.6237 98.3731 55.4533 97.8528 55.4566C95.7458 55.4566 94.949 57.5757 94.949 59.4005C94.9265 60.126 95.0909 60.845 95.4262 61.4878L95.4802 61.515L99.2934 55.9411ZM96.4932 62.8552C96.8653 63.1843 97.3486 63.3576 97.8438 63.3397C99.6446 63.3397 100.748 61.7821 100.748 59.4774C100.76 58.7777 100.625 58.0833 100.351 57.4399L100.27 57.4127L96.4932 62.8552Z", fill: "#1E1E1E" }),
@@ -3804,107 +3812,107 @@ const di = ({
3804
3812
  ]
3805
3813
  }
3806
3814
  );
3807
- z(() => {
3808
- g(!1), v(!1), ne("");
3809
- }, [e]), z(() => {
3815
+ $(() => {
3816
+ g(!1), b(!1), ne("");
3817
+ }, [e]), $(() => {
3810
3818
  if (!(typeof document > "u") && L && Z) {
3811
3819
  const i = document.body.style.overflow;
3812
3820
  return document.body.style.overflow = "hidden", () => {
3813
3821
  document.body.style.overflow = i;
3814
3822
  };
3815
3823
  }
3816
- }, [L, Z]), z(() => {
3824
+ }, [L, Z]), $(() => {
3817
3825
  if (typeof window > "u" || typeof window.matchMedia > "u") return;
3818
- const i = window.matchMedia("(max-width: 850px)"), p = (k) => ce("matches" in k ? k.matches : i.matches);
3826
+ const i = window.matchMedia("(max-width: 850px)"), p = (v) => ce("matches" in v ? v.matches : i.matches);
3819
3827
  return p(i), i.addEventListener ? i.addEventListener("change", p) : i.addListener(p), () => {
3820
3828
  i.removeEventListener ? i.removeEventListener("change", p) : i.removeListener(p);
3821
3829
  };
3822
- }, []), z(() => {
3830
+ }, []), $(() => {
3823
3831
  if (typeof document > "u") return;
3824
- const i = document.querySelector(`.${a.header}`);
3832
+ const i = document.querySelector(`.${s.header}`);
3825
3833
  if (!i) return;
3826
3834
  const p = () => {
3827
3835
  const q = i.offsetHeight;
3828
3836
  document.documentElement.style.setProperty("--header-height-mobile", `${q}px`);
3829
3837
  };
3830
3838
  p(), window.addEventListener("resize", p);
3831
- const k = new ResizeObserver(() => {
3839
+ const v = new ResizeObserver(() => {
3832
3840
  p();
3833
3841
  });
3834
- return k.observe(i), () => {
3835
- window.removeEventListener("resize", p), k.disconnect();
3842
+ return v.observe(i), () => {
3843
+ window.removeEventListener("resize", p), v.disconnect();
3836
3844
  };
3837
- }, [Z]), z(() => {
3845
+ }, [Z]), $(() => {
3838
3846
  if (typeof document > "u") return;
3839
- const i = document.querySelector(`.${a.logoWrapper}`);
3847
+ const i = document.querySelector(`.${s.logoWrapper}`);
3840
3848
  if (!i) return;
3841
3849
  const p = () => {
3842
- const k = i.offsetWidth;
3843
- document.documentElement.style.setProperty("--rk-logo-width", `${k}px`);
3850
+ const v = i.offsetWidth;
3851
+ document.documentElement.style.setProperty("--rk-logo-width", `${v}px`);
3844
3852
  };
3845
3853
  return p(), window.addEventListener("resize", p), () => window.removeEventListener("resize", p);
3846
- }, [Z]), z(() => {
3847
- if (typeof document > "u" || !h) {
3854
+ }, [Z]), $(() => {
3855
+ if (typeof document > "u" || !f) {
3848
3856
  document.documentElement.style.setProperty("--rk-search-overlay-height", "0px");
3849
3857
  return;
3850
3858
  }
3851
- const i = document.querySelector(`.${a.searchOverlay}`);
3859
+ const i = document.querySelector(`.${s.searchOverlay}`);
3852
3860
  if (!i) return;
3853
3861
  const p = () => {
3854
3862
  const q = i.offsetHeight;
3855
3863
  document.documentElement.style.setProperty("--rk-search-overlay-height", `${q}px`);
3856
3864
  };
3857
3865
  requestAnimationFrame(p), window.addEventListener("resize", p);
3858
- const k = new ResizeObserver(p);
3859
- return k.observe(i), () => {
3860
- window.removeEventListener("resize", p), k.disconnect();
3866
+ const v = new ResizeObserver(p);
3867
+ return v.observe(i), () => {
3868
+ window.removeEventListener("resize", p), v.disconnect();
3861
3869
  };
3862
- }, [h]);
3863
- const _ = () => {
3870
+ }, [f]);
3871
+ const D = () => {
3864
3872
  const i = Q === "light" ? "dark" : "light";
3865
- I(i), document.documentElement.setAttribute("data-color-scheme", i);
3873
+ _(i), document.documentElement.setAttribute("data-color-scheme", i);
3866
3874
  }, N = (i) => {
3867
- s && (i.preventDefault(), s("home")), g(!1), v(!1);
3875
+ r && (i.preventDefault(), r("home")), g(!1), b(!1);
3868
3876
  }, ie = () => {
3869
- g(!L), h && v(!1), !L && typeof document < "u" && requestAnimationFrame(() => {
3870
- const i = document.querySelector(`.${a.header}`);
3877
+ g(!L), f && b(!1), !L && typeof document < "u" && requestAnimationFrame(() => {
3878
+ const i = document.querySelector(`.${s.header}`);
3871
3879
  if (i) {
3872
3880
  const p = i.offsetHeight;
3873
3881
  document.documentElement.style.setProperty("--header-height-mobile", `${p}px`);
3874
3882
  }
3875
3883
  });
3876
3884
  }, se = () => {
3877
- v(!h), L && g(!1);
3885
+ b(!f), L && g(!1);
3878
3886
  }, pe = ue(() => {
3879
- if (!b.trim()) return [];
3880
- const i = b.toLowerCase();
3881
- return Jr.filter(
3887
+ if (!y.trim()) return [];
3888
+ const i = y.toLowerCase();
3889
+ return Qr.filter(
3882
3890
  (p) => p.title.toLowerCase().startsWith(i)
3883
3891
  );
3884
- }, [b]), we = (i) => {
3885
- s && s(i), v(!1), ne("");
3892
+ }, [y]), we = (i) => {
3893
+ r && r(i), b(!1), ne("");
3886
3894
  };
3887
- return /* @__PURE__ */ r("header", { className: a.header, "data-open": L ? "true" : "false", "data-color": t, "data-button-style": A, children: [
3888
- d && /* @__PURE__ */ n("div", { className: `${a.headerExtension}${R === "tinted" ? ` ${a.headerExtensionTinted}` : ""}`, "data-color-scheme": "light", "data-extension-color": R, children: /* @__PURE__ */ r("div", { className: a.extensionContentWrapper, children: [
3889
- D && /* @__PURE__ */ n("div", { className: a.extensionContent, children: /* @__PURE__ */ n(
3895
+ return /* @__PURE__ */ a("header", { className: s.header, "data-open": L ? "true" : "false", "data-color": t, "data-button-style": I, children: [
3896
+ c && /* @__PURE__ */ n("div", { className: `${s.headerExtension}${R === "tinted" ? ` ${s.headerExtensionTinted}` : ""}`, "data-color-scheme": "light", "data-extension-color": R, children: /* @__PURE__ */ a("div", { className: s.extensionContentWrapper, children: [
3897
+ A && /* @__PURE__ */ n("div", { className: s.extensionContent, children: /* @__PURE__ */ n(
3890
3898
  Le,
3891
3899
  {
3892
3900
  "data-size": "sm",
3893
3901
  checked: Q === "dark",
3894
- onChange: _,
3902
+ onChange: D,
3895
3903
  label: T("header.darkMode"),
3896
3904
  color: "neutral",
3897
3905
  "data-color-scheme": "light"
3898
3906
  }
3899
3907
  ) }),
3900
- D && S && /* @__PURE__ */ n("div", { className: a.extensionDivider }),
3901
- S && /* @__PURE__ */ r("div", { className: a.languageSwitch, children: [
3902
- /* @__PURE__ */ n("span", { className: a.languageLabel, children: T("header.language") }),
3903
- /* @__PURE__ */ r(V.TriggerContext, { children: [
3904
- /* @__PURE__ */ r(
3908
+ A && S && /* @__PURE__ */ n("div", { className: s.extensionDivider }),
3909
+ S && /* @__PURE__ */ a("div", { className: s.languageSwitch, children: [
3910
+ /* @__PURE__ */ n("span", { className: s.languageLabel, children: T("header.language") }),
3911
+ /* @__PURE__ */ a(V.TriggerContext, { children: [
3912
+ /* @__PURE__ */ a(
3905
3913
  V.Trigger,
3906
3914
  {
3907
- className: a.languageLink,
3915
+ className: s.languageLink,
3908
3916
  "aria-label": T("header.selectLanguage"),
3909
3917
  style: { background: "transparent", border: "none", padding: 0, cursor: "pointer", font: "inherit" },
3910
3918
  children: [
@@ -3919,7 +3927,7 @@ const di = ({
3919
3927
  {
3920
3928
  "data-color-scheme": Q,
3921
3929
  placement: "bottom-end",
3922
- children: /* @__PURE__ */ r(V.List, { children: [
3930
+ children: /* @__PURE__ */ a(V.List, { children: [
3923
3931
  /* @__PURE__ */ n(V.Item, { children: /* @__PURE__ */ n(V.Button, { onClick: () => K("NO"), children: "Norsk (NO)" }) }),
3924
3932
  /* @__PURE__ */ n(V.Item, { children: /* @__PURE__ */ n(V.Button, { onClick: () => K("EN"), children: "English (EN)" }) })
3925
3933
  ] })
@@ -3928,77 +3936,77 @@ const di = ({
3928
3936
  ] })
3929
3937
  ] })
3930
3938
  ] }) }),
3931
- /* @__PURE__ */ r("div", { className: a.headerInner, children: [
3932
- /* @__PURE__ */ r("div", { className: a.logoWrapper, children: [
3939
+ /* @__PURE__ */ a("div", { className: s.headerInner, children: [
3940
+ /* @__PURE__ */ a("div", { className: s.logoWrapper, children: [
3933
3941
  /* @__PURE__ */ n(
3934
3942
  oe,
3935
3943
  {
3936
3944
  href: "/",
3937
- className: `${a.logo} ${a.primaryLogo}`,
3945
+ className: `${s.logo} ${s.primaryLogo}`,
3938
3946
  "aria-label": T("header.homeAriaLabel"),
3939
3947
  onClick: N,
3940
3948
  children: /* @__PURE__ */ n(m, {})
3941
3949
  }
3942
3950
  ),
3943
- /* @__PURE__ */ n("div", { className: a.secondaryLogoWrapper, children: $ && M ? /* @__PURE__ */ n(
3951
+ /* @__PURE__ */ n("div", { className: s.secondaryLogoWrapper, children: P && M ? /* @__PURE__ */ n(
3944
3952
  "img",
3945
3953
  {
3946
3954
  src: Q === "dark" && l ? l : M,
3947
3955
  alt: te,
3948
- className: a.secondaryLogo
3956
+ className: s.secondaryLogo
3949
3957
  }
3950
- ) : $ ? /* @__PURE__ */ n("div", { className: a.slotComponent, children: /* @__PURE__ */ n("div", { className: a.slotContainer, children: /* @__PURE__ */ n("p", { className: a.slotText, children: "SLOT" }) }) }) : null })
3958
+ ) : P ? /* @__PURE__ */ n("div", { className: s.slotComponent, children: /* @__PURE__ */ n("div", { className: s.slotContainer, children: /* @__PURE__ */ n("p", { className: s.slotText, children: "SLOT" }) }) }) : null })
3951
3959
  ] }),
3952
- B && P && P.length > 0 && !Z && /* @__PURE__ */ n("nav", { className: a.navItems, children: P.map((i, p) => /* @__PURE__ */ n(
3960
+ B && z && z.length > 0 && !Z && /* @__PURE__ */ n("nav", { className: s.navItems, children: z.map((i, p) => /* @__PURE__ */ n(
3953
3961
  oe,
3954
3962
  {
3955
3963
  href: i.href,
3956
- className: a.navLink,
3957
- onClick: (k) => {
3958
- s && (k.preventDefault(), s(i.href));
3964
+ className: s.navLink,
3965
+ onClick: (v) => {
3966
+ r && (v.preventDefault(), r(i.href));
3959
3967
  },
3960
3968
  children: i.label
3961
3969
  },
3962
3970
  p
3963
3971
  )) }),
3964
- /* @__PURE__ */ r("div", { className: a.actions, children: [
3965
- x && /* @__PURE__ */ r(
3972
+ /* @__PURE__ */ a("div", { className: s.actions, children: [
3973
+ x && /* @__PURE__ */ a(
3966
3974
  de,
3967
3975
  {
3968
3976
  variant: "primary",
3969
3977
  "data-color": "main",
3970
3978
  "data-size": "md",
3971
- className: a.ctaButton,
3979
+ className: s.ctaButton,
3972
3980
  onClick: U,
3973
3981
  children: [
3974
3982
  C,
3975
- /* @__PURE__ */ n("span", { className: C ? a.buttonText : void 0, children: F || T("header.supportUs") })
3983
+ /* @__PURE__ */ n("span", { className: C ? s.buttonText : void 0, children: F || T("header.supportUs") })
3976
3984
  ]
3977
3985
  }
3978
3986
  ),
3979
- !d && w && /* @__PURE__ */ n("div", { className: a.themeToggle, children: /* @__PURE__ */ n(
3987
+ !c && w && /* @__PURE__ */ n("div", { className: s.themeToggle, children: /* @__PURE__ */ n(
3980
3988
  Le,
3981
3989
  {
3982
3990
  checked: Q === "dark",
3983
- onChange: _,
3991
+ onChange: D,
3984
3992
  "aria-label": T("header.toggleTheme")
3985
3993
  }
3986
3994
  ) }),
3987
- f && (() => {
3988
- const i = G ?? "Frodo Baggins", p = O ?? (G ? Qr(G) : "FB"), k = !!W;
3989
- return /* @__PURE__ */ r(
3995
+ h && (() => {
3996
+ const i = G ?? "Frodo Baggins", p = O ?? (G ? ea(G) : "FB"), v = !!W;
3997
+ return /* @__PURE__ */ a(
3990
3998
  "div",
3991
3999
  {
3992
- className: a.userInfo,
4000
+ className: s.userInfo,
3993
4001
  onClick: W,
3994
- role: k ? "button" : void 0,
3995
- tabIndex: k ? 0 : void 0,
3996
- onKeyDown: k ? (q) => {
4002
+ role: v ? "button" : void 0,
4003
+ tabIndex: v ? 0 : void 0,
4004
+ onKeyDown: v ? (q) => {
3997
4005
  (q.key === "Enter" || q.key === " ") && (q.preventDefault(), W == null || W());
3998
4006
  } : void 0,
3999
- style: k ? { cursor: "pointer" } : void 0,
4007
+ style: v ? { cursor: "pointer" } : void 0,
4000
4008
  children: [
4001
- /* @__PURE__ */ n(be, { "data-size": "md", className: a.userName, children: i }),
4009
+ /* @__PURE__ */ n(be, { "data-size": "md", className: s.userName, children: i }),
4002
4010
  /* @__PURE__ */ n(
4003
4011
  Ke,
4004
4012
  {
@@ -4020,57 +4028,59 @@ const di = ({
4020
4028
  }
4021
4029
  );
4022
4030
  })(),
4023
- u && /* @__PURE__ */ r("a", { href: "#", className: a.loginLink, children: [
4024
- /* @__PURE__ */ n(be, { "data-size": "md", className: a.loginText, children: T("header.login") }),
4025
- /* @__PURE__ */ n("div", { className: a.underline })
4031
+ u && /* @__PURE__ */ a("a", { href: "#", className: s.loginLink, children: [
4032
+ /* @__PURE__ */ n(be, { "data-size": "md", className: s.loginText, children: T("header.login") }),
4033
+ /* @__PURE__ */ n("div", { className: s.underline })
4026
4034
  ] }),
4027
- y && /* @__PURE__ */ n("div", { className: a.searchButtonWrapper, children: /* @__PURE__ */ r(
4035
+ k && /* @__PURE__ */ n("div", { className: s.searchButtonWrapper, children: /* @__PURE__ */ a(
4028
4036
  de,
4029
4037
  {
4030
4038
  variant: "secondary",
4031
- "data-color": A === "soft" ? "neutral" : "main",
4039
+ shape: I === "soft" ? "pill" : void 0,
4040
+ "data-color": I === "soft" ? "neutral" : "main",
4032
4041
  "data-size": "md",
4033
4042
  onClick: se,
4034
- "aria-expanded": h,
4035
- "aria-label": T(h ? "header.closeSearch" : "header.openSearch"),
4043
+ "aria-expanded": f,
4044
+ "aria-label": T(f ? "header.closeSearch" : "header.openSearch"),
4036
4045
  children: [
4037
- h ? /* @__PURE__ */ n(_e, { "aria-hidden": !0 }) : /* @__PURE__ */ n(Ee, { "aria-hidden": !0 }),
4038
- /* @__PURE__ */ n("span", { className: a.buttonText, children: T(h ? "header.close" : "header.search") })
4046
+ f ? /* @__PURE__ */ n(_e, { "aria-hidden": !0 }) : /* @__PURE__ */ n(Ee, { "aria-hidden": !0 }),
4047
+ /* @__PURE__ */ n("span", { className: s.buttonText, children: T(f ? "header.close" : "header.search") })
4039
4048
  ]
4040
4049
  }
4041
4050
  ) }),
4042
4051
  (X || Z) && /* @__PURE__ */ n(
4043
4052
  de,
4044
4053
  {
4045
- variant: "primary",
4054
+ variant: I === "soft" ? "soft" : "primary",
4055
+ shape: I === "soft" ? "pill" : void 0,
4046
4056
  "data-color": "main",
4047
4057
  "data-size": "md",
4048
4058
  onClick: ie,
4049
4059
  "aria-expanded": L,
4050
4060
  "aria-label": T(L ? "header.closeMenu" : "header.openMenu"),
4051
- className: a.menuButton,
4052
- children: A === "soft" ? /* @__PURE__ */ r(Ce, { children: [
4053
- /* @__PURE__ */ n("span", { className: a.buttonText, children: T(L ? "header.close" : "header.menu") }),
4054
- L ? /* @__PURE__ */ n(_e, { "aria-hidden": !0 }) : /* @__PURE__ */ n(ze, { "aria-hidden": !0 })
4055
- ] }) : /* @__PURE__ */ r(Ce, { children: [
4056
- L ? /* @__PURE__ */ n(_e, { "aria-hidden": !0 }) : /* @__PURE__ */ n(ze, { "aria-hidden": !0 }),
4057
- /* @__PURE__ */ n("span", { className: a.buttonText, children: T(L ? "header.close" : "header.menu") })
4061
+ className: s.menuButton,
4062
+ children: I === "soft" ? /* @__PURE__ */ a(Ce, { children: [
4063
+ /* @__PURE__ */ n("span", { className: s.buttonText, children: T(L ? "header.close" : "header.menu") }),
4064
+ L ? /* @__PURE__ */ n(_e, { "aria-hidden": !0 }) : /* @__PURE__ */ n($e, { "aria-hidden": !0 })
4065
+ ] }) : /* @__PURE__ */ a(Ce, { children: [
4066
+ L ? /* @__PURE__ */ n(_e, { "aria-hidden": !0 }) : /* @__PURE__ */ n($e, { "aria-hidden": !0 }),
4067
+ /* @__PURE__ */ n("span", { className: s.buttonText, children: T(L ? "header.close" : "header.menu") })
4058
4068
  ] })
4059
4069
  }
4060
4070
  )
4061
4071
  ] })
4062
4072
  ] }),
4063
- L && /* @__PURE__ */ n("div", { className: a.menuOverlay, children: /* @__PURE__ */ r("div", { className: a.menuContent, children: [
4064
- /* @__PURE__ */ n("div", { className: a.menuLeftColumn }),
4065
- /* @__PURE__ */ r("div", { className: a.menuRightColumn, children: [
4066
- Z && (S || D) && /* @__PURE__ */ r("div", { className: a.menuUtilities, children: [
4067
- S && /* @__PURE__ */ r("div", { className: a.languageSwitch, children: [
4068
- /* @__PURE__ */ n("span", { className: a.languageLabel, children: T("header.language") }),
4069
- /* @__PURE__ */ r(V.TriggerContext, { children: [
4070
- /* @__PURE__ */ r(
4073
+ L && /* @__PURE__ */ n("div", { className: s.menuOverlay, children: /* @__PURE__ */ a("div", { className: s.menuContent, children: [
4074
+ /* @__PURE__ */ n("div", { className: s.menuLeftColumn }),
4075
+ /* @__PURE__ */ a("div", { className: s.menuRightColumn, children: [
4076
+ Z && (S || A) && /* @__PURE__ */ a("div", { className: s.menuUtilities, children: [
4077
+ S && /* @__PURE__ */ a("div", { className: s.languageSwitch, children: [
4078
+ /* @__PURE__ */ n("span", { className: s.languageLabel, children: T("header.language") }),
4079
+ /* @__PURE__ */ a(V.TriggerContext, { children: [
4080
+ /* @__PURE__ */ a(
4071
4081
  V.Trigger,
4072
4082
  {
4073
- className: a.languageLink,
4083
+ className: s.languageLink,
4074
4084
  "aria-label": T("header.selectLanguage"),
4075
4085
  style: { background: "transparent", border: "none", padding: 0, cursor: "pointer", font: "inherit" },
4076
4086
  children: [
@@ -4085,7 +4095,7 @@ const di = ({
4085
4095
  {
4086
4096
  "data-color-scheme": Q,
4087
4097
  placement: "bottom-start",
4088
- children: /* @__PURE__ */ r(V.List, { children: [
4098
+ children: /* @__PURE__ */ a(V.List, { children: [
4089
4099
  /* @__PURE__ */ n(V.Item, { children: /* @__PURE__ */ n(V.Button, { onClick: () => K("NO"), children: "Norsk (NO)" }) }),
4090
4100
  /* @__PURE__ */ n(V.Item, { children: /* @__PURE__ */ n(V.Button, { onClick: () => K("EN"), children: "English (EN)" }) })
4091
4101
  ] })
@@ -4093,80 +4103,80 @@ const di = ({
4093
4103
  )
4094
4104
  ] })
4095
4105
  ] }),
4096
- D && /* @__PURE__ */ n("div", { className: a.extensionContent, children: /* @__PURE__ */ n(
4106
+ A && /* @__PURE__ */ n("div", { className: s.extensionContent, children: /* @__PURE__ */ n(
4097
4107
  Le,
4098
4108
  {
4099
4109
  "data-size": "sm",
4100
4110
  checked: Q === "dark",
4101
- onChange: _,
4111
+ onChange: D,
4102
4112
  label: T("header.darkMode"),
4103
4113
  color: "neutral",
4104
4114
  "data-color-scheme": "light"
4105
4115
  }
4106
4116
  ) })
4107
4117
  ] }),
4108
- /* @__PURE__ */ r("div", { className: a.slotContent, children: [
4109
- c,
4110
- Z && B && P && P.length > 0 && /* @__PURE__ */ n("nav", { className: a.navList, children: P.map((i, p) => /* @__PURE__ */ n(
4118
+ /* @__PURE__ */ a("div", { className: s.slotContent, children: [
4119
+ d,
4120
+ Z && B && z && z.length > 0 && /* @__PURE__ */ n("nav", { className: s.navList, children: z.map((i, p) => /* @__PURE__ */ n(
4111
4121
  oe,
4112
4122
  {
4113
4123
  href: i.href,
4114
- className: a.navLink,
4115
- onClick: (k) => {
4116
- s && (k.preventDefault(), s(i.href));
4124
+ className: s.navLink,
4125
+ onClick: (v) => {
4126
+ r && (v.preventDefault(), r(i.href));
4117
4127
  },
4118
4128
  children: i.label
4119
4129
  },
4120
4130
  p
4121
4131
  )) })
4122
4132
  ] }),
4123
- Z && /* @__PURE__ */ n("div", { className: a.menuBrand, children: /* @__PURE__ */ n(m, {}) })
4133
+ Z && /* @__PURE__ */ n("div", { className: s.menuBrand, children: /* @__PURE__ */ n(m, {}) })
4124
4134
  ] })
4125
4135
  ] }) }),
4126
- h && /* @__PURE__ */ n("div", { className: a.searchOverlay, children: /* @__PURE__ */ r("div", { className: a.searchContent, children: [
4127
- /* @__PURE__ */ r(xe, { children: [
4136
+ f && /* @__PURE__ */ n("div", { className: s.searchOverlay, children: /* @__PURE__ */ a("div", { className: s.searchContent, children: [
4137
+ /* @__PURE__ */ a(xe, { children: [
4128
4138
  /* @__PURE__ */ n(
4129
4139
  xe.Input,
4130
4140
  {
4131
4141
  "aria-label": T("header.search"),
4132
4142
  placeholder: T("header.searchPlaceholder"),
4133
- value: b,
4143
+ value: y,
4134
4144
  onChange: (i) => ne(i.target.value)
4135
4145
  }
4136
4146
  ),
4137
4147
  /* @__PURE__ */ n(xe.Button, { "aria-label": T("header.search") }),
4138
4148
  /* @__PURE__ */ n(xe.ClearButton, { onClick: () => ne(""), "aria-label": T("header.clearSearch") })
4139
4149
  ] }),
4140
- b && /* @__PURE__ */ n("div", { className: a.searchResults, children: pe.length > 0 ? /* @__PURE__ */ r("div", { className: a.suggestionsSection, children: [
4141
- /* @__PURE__ */ n("h3", { className: a.suggestionsTitle, children: T("header.suggestions") }),
4142
- /* @__PURE__ */ n("ul", { className: a.resultList, children: pe.slice(0, 5).map((i) => /* @__PURE__ */ n("li", { className: a.resultItem, children: /* @__PURE__ */ r(
4150
+ y && /* @__PURE__ */ n("div", { className: s.searchResults, children: pe.length > 0 ? /* @__PURE__ */ a("div", { className: s.suggestionsSection, children: [
4151
+ /* @__PURE__ */ n("h3", { className: s.suggestionsTitle, children: T("header.suggestions") }),
4152
+ /* @__PURE__ */ n("ul", { className: s.resultList, children: pe.slice(0, 5).map((i) => /* @__PURE__ */ n("li", { className: s.resultItem, children: /* @__PURE__ */ a(
4143
4153
  "button",
4144
4154
  {
4145
- className: a.resultLink,
4155
+ className: s.resultLink,
4146
4156
  onClick: () => we(i.path),
4147
4157
  children: [
4148
- /* @__PURE__ */ n("span", { className: a.suggestionIcon, children: /* @__PURE__ */ n(Ee, { "aria-hidden": !0 }) }),
4149
- /* @__PURE__ */ n("span", { className: a.suggestionText, children: (() => {
4150
- const p = i.title.toLowerCase().indexOf(b.toLowerCase());
4151
- if (p === -1) return /* @__PURE__ */ n("span", { className: a.remainingText, children: i.title });
4152
- const k = i.title.slice(0, p), q = i.title.slice(p, p + b.length), Se = i.title.slice(p + b.length);
4153
- return /* @__PURE__ */ r(Ce, { children: [
4154
- /* @__PURE__ */ n("span", { className: a.remainingText, children: k }),
4155
- /* @__PURE__ */ n("span", { className: a.highlightedText, children: q }),
4156
- /* @__PURE__ */ n("span", { className: a.remainingText, children: Se })
4158
+ /* @__PURE__ */ n("span", { className: s.suggestionIcon, children: /* @__PURE__ */ n(Ee, { "aria-hidden": !0 }) }),
4159
+ /* @__PURE__ */ n("span", { className: s.suggestionText, children: (() => {
4160
+ const p = i.title.toLowerCase().indexOf(y.toLowerCase());
4161
+ if (p === -1) return /* @__PURE__ */ n("span", { className: s.remainingText, children: i.title });
4162
+ const v = i.title.slice(0, p), q = i.title.slice(p, p + y.length), Se = i.title.slice(p + y.length);
4163
+ return /* @__PURE__ */ a(Ce, { children: [
4164
+ /* @__PURE__ */ n("span", { className: s.remainingText, children: v }),
4165
+ /* @__PURE__ */ n("span", { className: s.highlightedText, children: q }),
4166
+ /* @__PURE__ */ n("span", { className: s.remainingText, children: Se })
4157
4167
  ] });
4158
4168
  })() })
4159
4169
  ]
4160
4170
  }
4161
4171
  ) }, i.id)) }),
4162
- pe.length > 5 && /* @__PURE__ */ r(
4172
+ pe.length > 5 && /* @__PURE__ */ a(
4163
4173
  oe,
4164
4174
  {
4165
4175
  href: "#",
4166
4176
  "data-color": "neutral",
4167
- className: a.viewAllLink,
4177
+ className: s.viewAllLink,
4168
4178
  onClick: (i) => {
4169
- i.preventDefault(), s && s(`search/${b}`), v(!1), ne("");
4179
+ i.preventDefault(), r && r(`search/${y}`), b(!1), ne("");
4170
4180
  },
4171
4181
  children: [
4172
4182
  T("header.viewAll"),
@@ -4176,16 +4186,16 @@ const di = ({
4176
4186
  ]
4177
4187
  }
4178
4188
  )
4179
- ] }) : /* @__PURE__ */ n("div", { className: a.noResults, children: /* @__PURE__ */ r(be, { children: [
4189
+ ] }) : /* @__PURE__ */ n("div", { className: s.noResults, children: /* @__PURE__ */ a(be, { children: [
4180
4190
  T("header.noResults"),
4181
4191
  ' "',
4182
- b,
4192
+ y,
4183
4193
  '"'
4184
4194
  ] }) }) })
4185
4195
  ] }) })
4186
4196
  ] });
4187
4197
  };
4188
- function es(t) {
4198
+ function ta(t) {
4189
4199
  const e = t;
4190
4200
  return `
4191
4201
  .${e.header} {
@@ -4283,26 +4293,11 @@ function es(t) {
4283
4293
  .${e.header}[data-button-style="soft"] .${e.actions} { gap: var(--ds-size-2); }
4284
4294
  .${e.header}[data-button-style="soft"] .${e.searchButtonWrapper} .ds-button,
4285
4295
  .${e.header}[data-button-style="soft"] .${e.menuButton} {
4286
- height: var(--ds-size-12, 48px);
4287
- padding: 0 var(--ds-size-4, 16px);
4288
- gap: var(--ds-size-2, 8px);
4289
- border-radius: 9999px;
4296
+ --dsc-button-padding: 0 var(--ds-size-4);
4297
+ height: var(--ds-size-12);
4290
4298
  }
4291
4299
  .${e.header}[data-button-style="soft"] .${e.searchButtonWrapper} .${e.buttonText},
4292
4300
  .${e.header}[data-button-style="soft"] .${e.menuButton} .${e.buttonText} { margin-left: 0; }
4293
- .${e.header}[data-button-style="soft"] .${e.menuButton} {
4294
- background-color: var(--ds-color-primary-color-red-surface-tinted, #FAE4E2);
4295
- color: var(--ds-color-primary-color-red-text-default);
4296
- border-color: transparent;
4297
- }
4298
- .${e.header}[data-button-style="soft"] .${e.menuButton}:hover {
4299
- background-color: var(--ds-color-primary-color-red-surface-hover, #F6D2CF);
4300
- border-color: transparent;
4301
- }
4302
- .${e.header}[data-button-style="soft"] .${e.menuButton}:active {
4303
- background-color: var(--ds-color-primary-color-red-surface-active, #F2BDB9);
4304
- border-color: transparent;
4305
- }
4306
4301
  .${e.menuOverlay}, .${e.searchOverlay} {
4307
4302
  position: absolute; top: 100%; left: 0; width: 100%;
4308
4303
  background-color: var(--ds-color-neutral-background-default);
@@ -4373,97 +4368,97 @@ function es(t) {
4373
4368
  }
4374
4369
  `;
4375
4370
  }
4376
- const ts = "_footer_1l5de_1", ns = "_mainSection_1l5de_7", os = "_mainContainer_1l5de_25", rs = "_crossCornerTopRight_1l5de_35", ss = "_crossCornerBottomLeft_1l5de_42", as = "_contentRow_1l5de_50", is = "_newsletterSection_1l5de_60", ls = "_newsletterDescription_1l5de_67", ds = "_newsletterForm_1l5de_76", cs = "_newsletterInputGroup_1l5de_82", ps = "_newsletterInput_1l5de_82", ms = "_consentText_1l5de_93", gs = "_linksSection_1l5de_103", us = "_linksColumn_1l5de_109", hs = "_linksTitle_1l5de_116", fs = "_linksList_1l5de_127", ks = "_footerLink_1l5de_136", vs = "_divider_1l5de_158", bs = "_contactSection_1l5de_166", ys = "_contactColumn_1l5de_173", xs = "_contactTitle_1l5de_181", Ts = "_contactContent_1l5de_190", Cs = "_copyrightSection_1l5de_204", ws = "_copyrightText_1l5de_209", Ss = "_whiteSection_1l5de_219", Is = "_whiteContainer_1l5de_224", _s = "_whiteContent_1l5de_232", Ds = "_logo_1l5de_240", As = "_redCrossLogo_1l5de_254", Ls = "_slotLarge_1l5de_260", Ns = "_contentRowContact_1l5de_315", Ms = "_socialLinksSection_1l5de_325", js = "_socialLinksTitle_1l5de_332", Fs = "_socialLinksList_1l5de_343", Bs = "_socialLink_1l5de_325", Es = "_socialLinkIcon_1l5de_376", zs = "_contactPersonsSection_1l5de_391", $s = "_contactPersonsTitle_1l5de_398", Ps = "_contactPersonsGrid_1l5de_409", Rs = "_contactPersonCard_1l5de_415", Gs = "_contactPersonName_1l5de_422", Ws = "_contactPersonRole_1l5de_431", Hs = "_contactPersonDetails_1l5de_440", Us = "_contactPersonLabel_1l5de_447", Vs = "_contactPersonEmail_1l5de_451", Os = "_contactPersonPhone_1l5de_452", Ks = "_contactPersonAddress_1l5de_453", qs = "_bottomRowContact_1l5de_474", Ys = "_legalLinksRow_1l5de_483", Zs = "_legalLink_1l5de_483", o = {
4377
- footer: ts,
4378
- mainSection: ns,
4379
- mainContainer: os,
4380
- crossCornerTopRight: rs,
4381
- crossCornerBottomLeft: ss,
4382
- contentRow: as,
4383
- newsletterSection: is,
4384
- newsletterDescription: ls,
4385
- newsletterForm: ds,
4386
- newsletterInputGroup: cs,
4387
- newsletterInput: ps,
4388
- consentText: ms,
4389
- linksSection: gs,
4390
- linksColumn: us,
4391
- linksTitle: hs,
4392
- linksList: fs,
4393
- footerLink: ks,
4394
- divider: vs,
4395
- contactSection: bs,
4396
- contactColumn: ys,
4397
- contactTitle: xs,
4398
- contactContent: Ts,
4399
- copyrightSection: Cs,
4400
- copyrightText: ws,
4401
- whiteSection: Ss,
4402
- whiteContainer: Is,
4403
- whiteContent: _s,
4404
- logo: Ds,
4405
- redCrossLogo: As,
4406
- slotLarge: Ls,
4407
- contentRowContact: Ns,
4408
- socialLinksSection: Ms,
4409
- socialLinksTitle: js,
4410
- socialLinksList: Fs,
4411
- socialLink: Bs,
4412
- socialLinkIcon: Es,
4413
- contactPersonsSection: zs,
4414
- contactPersonsTitle: $s,
4415
- contactPersonsGrid: Ps,
4416
- contactPersonCard: Rs,
4417
- contactPersonName: Gs,
4418
- contactPersonRole: Ws,
4419
- contactPersonDetails: Hs,
4420
- contactPersonLabel: Us,
4421
- contactPersonEmail: Vs,
4422
- contactPersonPhone: Os,
4423
- contactPersonAddress: Ks,
4424
- bottomRowContact: qs,
4425
- legalLinksRow: Ys,
4426
- legalLink: Zs
4371
+ const na = "_footer_1l5de_1", oa = "_mainSection_1l5de_7", ra = "_mainContainer_1l5de_25", aa = "_crossCornerTopRight_1l5de_35", sa = "_crossCornerBottomLeft_1l5de_42", ia = "_contentRow_1l5de_50", la = "_newsletterSection_1l5de_60", da = "_newsletterDescription_1l5de_67", ca = "_newsletterForm_1l5de_76", pa = "_newsletterInputGroup_1l5de_82", ma = "_newsletterInput_1l5de_82", ga = "_consentText_1l5de_93", ua = "_linksSection_1l5de_103", ha = "_linksColumn_1l5de_109", fa = "_linksTitle_1l5de_116", ka = "_linksList_1l5de_127", va = "_footerLink_1l5de_136", ba = "_divider_1l5de_158", ya = "_contactSection_1l5de_166", xa = "_contactColumn_1l5de_173", Ta = "_contactTitle_1l5de_181", Ca = "_contactContent_1l5de_190", wa = "_copyrightSection_1l5de_204", Sa = "_copyrightText_1l5de_209", Ia = "_whiteSection_1l5de_219", _a = "_whiteContainer_1l5de_224", Da = "_whiteContent_1l5de_232", Aa = "_logo_1l5de_240", La = "_redCrossLogo_1l5de_254", Na = "_slotLarge_1l5de_260", Ma = "_contentRowContact_1l5de_315", ja = "_socialLinksSection_1l5de_325", Fa = "_socialLinksTitle_1l5de_332", Ba = "_socialLinksList_1l5de_343", Ea = "_socialLink_1l5de_325", $a = "_socialLinkIcon_1l5de_376", Pa = "_contactPersonsSection_1l5de_391", za = "_contactPersonsTitle_1l5de_398", Ra = "_contactPersonsGrid_1l5de_409", Ga = "_contactPersonCard_1l5de_415", Wa = "_contactPersonName_1l5de_422", Ha = "_contactPersonRole_1l5de_431", Ua = "_contactPersonDetails_1l5de_440", Va = "_contactPersonLabel_1l5de_447", Oa = "_contactPersonEmail_1l5de_451", Ka = "_contactPersonPhone_1l5de_452", qa = "_contactPersonAddress_1l5de_453", Ya = "_bottomRowContact_1l5de_474", Za = "_legalLinksRow_1l5de_483", Xa = "_legalLink_1l5de_483", o = {
4372
+ footer: na,
4373
+ mainSection: oa,
4374
+ mainContainer: ra,
4375
+ crossCornerTopRight: aa,
4376
+ crossCornerBottomLeft: sa,
4377
+ contentRow: ia,
4378
+ newsletterSection: la,
4379
+ newsletterDescription: da,
4380
+ newsletterForm: ca,
4381
+ newsletterInputGroup: pa,
4382
+ newsletterInput: ma,
4383
+ consentText: ga,
4384
+ linksSection: ua,
4385
+ linksColumn: ha,
4386
+ linksTitle: fa,
4387
+ linksList: ka,
4388
+ footerLink: va,
4389
+ divider: ba,
4390
+ contactSection: ya,
4391
+ contactColumn: xa,
4392
+ contactTitle: Ta,
4393
+ contactContent: Ca,
4394
+ copyrightSection: wa,
4395
+ copyrightText: Sa,
4396
+ whiteSection: Ia,
4397
+ whiteContainer: _a,
4398
+ whiteContent: Da,
4399
+ logo: Aa,
4400
+ redCrossLogo: La,
4401
+ slotLarge: Na,
4402
+ contentRowContact: Ma,
4403
+ socialLinksSection: ja,
4404
+ socialLinksTitle: Fa,
4405
+ socialLinksList: Ba,
4406
+ socialLink: Ea,
4407
+ socialLinkIcon: $a,
4408
+ contactPersonsSection: Pa,
4409
+ contactPersonsTitle: za,
4410
+ contactPersonsGrid: Ra,
4411
+ contactPersonCard: Ga,
4412
+ contactPersonName: Wa,
4413
+ contactPersonRole: Ha,
4414
+ contactPersonDetails: Ua,
4415
+ contactPersonLabel: Va,
4416
+ contactPersonEmail: Oa,
4417
+ contactPersonPhone: Ka,
4418
+ contactPersonAddress: qa,
4419
+ bottomRowContact: Ya,
4420
+ legalLinksRow: Za,
4421
+ legalLink: Xa
4427
4422
  }, ci = ({
4428
4423
  "data-color": t = "neutral",
4429
4424
  variant: e = "default",
4430
- showCrossCorners: s = !1,
4431
- newsletterDescription: c = "Tekst om rødekors som kan være rundt 2 linjebrudd i lengde.",
4432
- newsletterPlaceholder: f = "Input tekst",
4433
- newsletterButtonText: y = "Meld deg på",
4425
+ showCrossCorners: r = !1,
4426
+ newsletterDescription: d = "Tekst om rødekors som kan være rundt 2 linjebrudd i lengde.",
4427
+ newsletterPlaceholder: h = "Input tekst",
4428
+ newsletterButtonText: k = "Meld deg på",
4434
4429
  newsletterConsentText: u,
4435
4430
  onNewsletterSubmit: x,
4436
4431
  hideNewsletter: F = !1,
4437
4432
  shortcutsLinks: C,
4438
4433
  linksLinks: U,
4439
4434
  shortcutsTitle: w,
4440
- linksTitle: $,
4435
+ linksTitle: P,
4441
4436
  visitingAddress: M = ["Hausmannsgate 7 (Korsegården)", "0186 Oslo"],
4442
4437
  organizationNumber: l = "XXX XXX XXX",
4443
4438
  email: te = "post@redcross.no",
4444
- showPrimaryLogo: P = !0,
4439
+ showPrimaryLogo: z = !0,
4445
4440
  primaryLogoSrc: B,
4446
4441
  primaryLogoAlt: X = "Røde Kors Logo",
4447
- whiteSectionSlot: d,
4448
- socialLinks: D = [],
4442
+ whiteSectionSlot: c,
4443
+ socialLinks: A = [],
4449
4444
  contactPersons: S = [],
4450
4445
  legalLinks: R = [],
4451
- socialLinksTitle: A,
4446
+ socialLinksTitle: I,
4452
4447
  contactPersonsTitle: G
4453
4448
  } = {}) => {
4454
- const O = (/* @__PURE__ */ new Date()).getFullYear(), { t: J } = ye(), [W, L] = Ne.useState(""), g = (m, _) => {
4449
+ const O = (/* @__PURE__ */ new Date()).getFullYear(), { t: J } = ye(), [W, L] = Ne.useState(""), g = (m, D) => {
4455
4450
  const N = J(m);
4456
- return N === m ? _ : N;
4451
+ return N === m ? D : N;
4457
4452
  };
4458
4453
  Ne.useEffect(() => {
4459
4454
  const m = "rk-footer-inline-styles";
4460
4455
  if (typeof document > "u" || document.getElementById(m)) return;
4461
- const _ = Xs(o), N = document.createElement("style");
4462
- N.id = m, N.textContent = _, document.head.appendChild(N);
4456
+ const D = Ja(o), N = document.createElement("style");
4457
+ N.id = m, N.textContent = D, document.head.appendChild(N);
4463
4458
  }, []);
4464
- const h = (m) => {
4459
+ const f = (m) => {
4465
4460
  m.preventDefault(), x == null || x(W);
4466
- }, v = () => /* @__PURE__ */ r(
4461
+ }, b = () => /* @__PURE__ */ a(
4467
4462
  "svg",
4468
4463
  {
4469
4464
  width: "170",
@@ -4487,7 +4482,7 @@ const ts = "_footer_1l5de_1", ns = "_mainSection_1l5de_7", os = "_mainContainer_
4487
4482
  /* @__PURE__ */ n("path", { d: "M63.2545 52.9331H24.0869V66.0625H63.2545V52.9331Z", fill: "#D52B1E" })
4488
4483
  ]
4489
4484
  }
4490
- ), b = [
4485
+ ), y = [
4491
4486
  { label: g("footer.shortcutsLinks.services", "Tilbudene"), href: "#" },
4492
4487
  { label: g("footer.shortcutsLinks.volunteer", "Bli frivillig"), href: "#" },
4493
4488
  { label: g("footer.shortcutsLinks.ourWork", "Vårt arbeid"), href: "#" },
@@ -4499,34 +4494,34 @@ const ts = "_footer_1l5de_1", ns = "_mainSection_1l5de_7", os = "_mainContainer_
4499
4494
  { label: g("footer.legal.press", "For presse"), href: "#" },
4500
4495
  { label: g("footer.legal.procurement", "Regler for innkjøp"), href: "#" },
4501
4496
  { label: g("footer.legal.whistleblowing", "Varsling/Misconduct"), href: "#" }
4502
- ], Q = /* @__PURE__ */ r(Ce, { children: [
4497
+ ], Q = /* @__PURE__ */ a(Ce, { children: [
4503
4498
  'Ved å trykke "',
4504
- y,
4499
+ k,
4505
4500
  '" samtykker du til å motta nyhetsbrev.',
4506
4501
  /* @__PURE__ */ n("br", {}),
4507
4502
  "Du kan når som helst ",
4508
4503
  /* @__PURE__ */ n(oe, { href: "#", children: "melde deg av" }),
4509
4504
  " nyhetsbrevet uten kostnad."
4510
- ] }), I = C || b, j = U || ne, K = () => /* @__PURE__ */ r("div", { className: o.socialLinksSection, children: [
4511
- A && /* @__PURE__ */ n("h3", { className: o.socialLinksTitle, children: A }),
4512
- /* @__PURE__ */ n("ul", { className: o.socialLinksList, children: D.map((m, _) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ r(oe, { href: m.href, className: o.socialLink, children: [
4505
+ ] }), _ = C || y, j = U || ne, K = () => /* @__PURE__ */ a("div", { className: o.socialLinksSection, children: [
4506
+ I && /* @__PURE__ */ n("h3", { className: o.socialLinksTitle, children: I }),
4507
+ /* @__PURE__ */ n("ul", { className: o.socialLinksList, children: A.map((m, D) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ a(oe, { href: m.href, className: o.socialLink, children: [
4513
4508
  /* @__PURE__ */ n("span", { className: o.socialLinkIcon, children: m.icon }),
4514
4509
  m.label
4515
- ] }) }, _)) })
4516
- ] }), T = ({ person: m }) => /* @__PURE__ */ r("div", { className: o.contactPersonCard, children: [
4510
+ ] }) }, D)) })
4511
+ ] }), T = ({ person: m }) => /* @__PURE__ */ a("div", { className: o.contactPersonCard, children: [
4517
4512
  /* @__PURE__ */ n("p", { className: o.contactPersonName, children: m.name }),
4518
4513
  /* @__PURE__ */ n("p", { className: o.contactPersonRole, children: m.role }),
4519
- /* @__PURE__ */ r("div", { className: o.contactPersonDetails, children: [
4520
- /* @__PURE__ */ r("p", { className: o.contactPersonEmail, children: [
4521
- /* @__PURE__ */ r("span", { className: o.contactPersonLabel, children: [
4514
+ /* @__PURE__ */ a("div", { className: o.contactPersonDetails, children: [
4515
+ /* @__PURE__ */ a("p", { className: o.contactPersonEmail, children: [
4516
+ /* @__PURE__ */ a("span", { className: o.contactPersonLabel, children: [
4522
4517
  g("footer.contact.email", "E-post"),
4523
4518
  ":"
4524
4519
  ] }),
4525
4520
  " ",
4526
4521
  /* @__PURE__ */ n(oe, { href: `mailto:${m.email}`, children: m.email })
4527
4522
  ] }),
4528
- m.phone && /* @__PURE__ */ r("p", { className: o.contactPersonPhone, children: [
4529
- /* @__PURE__ */ r("span", { className: o.contactPersonLabel, children: [
4523
+ m.phone && /* @__PURE__ */ a("p", { className: o.contactPersonPhone, children: [
4524
+ /* @__PURE__ */ a("span", { className: o.contactPersonLabel, children: [
4530
4525
  g("footer.contact.phone", "Telefon"),
4531
4526
  ":"
4532
4527
  ] }),
@@ -4535,46 +4530,46 @@ const ts = "_footer_1l5de_1", ns = "_mainSection_1l5de_7", os = "_mainContainer_
4535
4530
  ] }),
4536
4531
  m.address && /* @__PURE__ */ n("p", { className: o.contactPersonAddress, children: m.address })
4537
4532
  ] })
4538
- ] }), Z = () => /* @__PURE__ */ r("div", { className: o.contactPersonsSection, children: [
4533
+ ] }), Z = () => /* @__PURE__ */ a("div", { className: o.contactPersonsSection, children: [
4539
4534
  G && /* @__PURE__ */ n("h3", { className: o.contactPersonsTitle, children: G }),
4540
- /* @__PURE__ */ n("div", { className: o.contactPersonsGrid, children: S.map((m, _) => /* @__PURE__ */ n(T, { person: m }, _)) })
4541
- ] }), ce = () => /* @__PURE__ */ n("ul", { className: o.legalLinksRow, children: R.map((m, _) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(oe, { href: m.href, className: o.legalLink, children: m.label }) }, _)) });
4542
- return e === "contact" ? /* @__PURE__ */ r("footer", { className: o.footer, "data-color": t, children: [
4543
- /* @__PURE__ */ n("div", { className: o.mainSection, children: /* @__PURE__ */ r("div", { className: o.mainContainer, children: [
4544
- s && /* @__PURE__ */ n("div", { className: o.crossCornerTopRight, children: /* @__PURE__ */ n(ve, { position: "top-right", size: "md", "aria-hidden": !0 }) }),
4545
- /* @__PURE__ */ r("div", { className: o.contentRowContact, children: [
4546
- D.length > 0 && /* @__PURE__ */ n(K, {}),
4535
+ /* @__PURE__ */ n("div", { className: o.contactPersonsGrid, children: S.map((m, D) => /* @__PURE__ */ n(T, { person: m }, D)) })
4536
+ ] }), ce = () => /* @__PURE__ */ n("ul", { className: o.legalLinksRow, children: R.map((m, D) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(oe, { href: m.href, className: o.legalLink, children: m.label }) }, D)) });
4537
+ return e === "contact" ? /* @__PURE__ */ a("footer", { className: o.footer, "data-color": t, children: [
4538
+ /* @__PURE__ */ n("div", { className: o.mainSection, children: /* @__PURE__ */ a("div", { className: o.mainContainer, children: [
4539
+ r && /* @__PURE__ */ n("div", { className: o.crossCornerTopRight, children: /* @__PURE__ */ n(ve, { position: "top-right", size: "md", "aria-hidden": !0 }) }),
4540
+ /* @__PURE__ */ a("div", { className: o.contentRowContact, children: [
4541
+ A.length > 0 && /* @__PURE__ */ n(K, {}),
4547
4542
  S.length > 0 && /* @__PURE__ */ n(Z, {})
4548
4543
  ] }),
4549
4544
  /* @__PURE__ */ n("div", { className: o.divider }),
4550
- /* @__PURE__ */ r("div", { className: o.contactSection, children: [
4551
- /* @__PURE__ */ r("div", { className: o.contactColumn, children: [
4545
+ /* @__PURE__ */ a("div", { className: o.contactSection, children: [
4546
+ /* @__PURE__ */ a("div", { className: o.contactColumn, children: [
4552
4547
  /* @__PURE__ */ n("h4", { className: o.contactTitle, children: g("footer.contact.visitingAddress", "Besøks adresse") }),
4553
- /* @__PURE__ */ n("div", { className: o.contactContent, children: M.map((m, _) => /* @__PURE__ */ n("p", { children: m }, _)) })
4548
+ /* @__PURE__ */ n("div", { className: o.contactContent, children: M.map((m, D) => /* @__PURE__ */ n("p", { children: m }, D)) })
4554
4549
  ] }),
4555
- /* @__PURE__ */ r("div", { className: o.contactColumn, children: [
4550
+ /* @__PURE__ */ a("div", { className: o.contactColumn, children: [
4556
4551
  /* @__PURE__ */ n("h4", { className: o.contactTitle, children: g("footer.contact.organizationNumber", "Organisasjonsnummer") }),
4557
4552
  /* @__PURE__ */ n("p", { className: o.contactContent, children: l })
4558
4553
  ] }),
4559
- /* @__PURE__ */ r("div", { className: o.contactColumn, children: [
4554
+ /* @__PURE__ */ a("div", { className: o.contactColumn, children: [
4560
4555
  /* @__PURE__ */ n("h4", { className: o.contactTitle, children: g("footer.contact.email", "E-post") }),
4561
4556
  /* @__PURE__ */ n("p", { className: o.contactContent, children: te })
4562
4557
  ] })
4563
4558
  ] }),
4564
4559
  /* @__PURE__ */ n("div", { className: o.divider }),
4565
- /* @__PURE__ */ r("div", { className: o.bottomRowContact, children: [
4560
+ /* @__PURE__ */ a("div", { className: o.bottomRowContact, children: [
4566
4561
  R.length > 0 && /* @__PURE__ */ n(ce, {}),
4567
- /* @__PURE__ */ r("p", { className: o.copyrightText, children: [
4562
+ /* @__PURE__ */ a("p", { className: o.copyrightText, children: [
4568
4563
  "© ",
4569
4564
  O,
4570
4565
  " ",
4571
4566
  g("footer.copyright", "Rødekors")
4572
4567
  ] })
4573
4568
  ] }),
4574
- s && /* @__PURE__ */ n("div", { className: o.crossCornerBottomLeft, children: /* @__PURE__ */ n(ve, { position: "bottom-left", size: "md", "aria-hidden": !0 }) })
4569
+ r && /* @__PURE__ */ n("div", { className: o.crossCornerBottomLeft, children: /* @__PURE__ */ n(ve, { position: "bottom-left", size: "md", "aria-hidden": !0 }) })
4575
4570
  ] }) }),
4576
- /* @__PURE__ */ n("div", { className: o.whiteSection, children: /* @__PURE__ */ n("div", { className: o.whiteContainer, children: /* @__PURE__ */ r("div", { className: o.whiteContent, children: [
4577
- P && (B ? /* @__PURE__ */ n(
4571
+ /* @__PURE__ */ n("div", { className: o.whiteSection, children: /* @__PURE__ */ n("div", { className: o.whiteContainer, children: /* @__PURE__ */ a("div", { className: o.whiteContent, children: [
4572
+ z && (B ? /* @__PURE__ */ n(
4578
4573
  "img",
4579
4574
  {
4580
4575
  src: B,
@@ -4582,67 +4577,67 @@ const ts = "_footer_1l5de_1", ns = "_mainSection_1l5de_7", os = "_mainContainer_
4582
4577
  className: o.logo,
4583
4578
  loading: "lazy"
4584
4579
  }
4585
- ) : /* @__PURE__ */ n("div", { className: o.logo, children: /* @__PURE__ */ n(v, {}) })),
4586
- d && /* @__PURE__ */ n("div", { className: o.slotLarge, children: d })
4580
+ ) : /* @__PURE__ */ n("div", { className: o.logo, children: /* @__PURE__ */ n(b, {}) })),
4581
+ c && /* @__PURE__ */ n("div", { className: o.slotLarge, children: c })
4587
4582
  ] }) }) })
4588
- ] }) : /* @__PURE__ */ r("footer", { className: o.footer, "data-color": t, children: [
4589
- /* @__PURE__ */ n("div", { className: o.mainSection, children: /* @__PURE__ */ r("div", { className: o.mainContainer, children: [
4590
- s && /* @__PURE__ */ n("div", { className: o.crossCornerTopRight, children: /* @__PURE__ */ n(ve, { position: "top-right", size: "md", "aria-hidden": !0 }) }),
4591
- /* @__PURE__ */ r("div", { className: o.contentRow, children: [
4592
- !F && /* @__PURE__ */ r("div", { className: o.newsletterSection, children: [
4593
- /* @__PURE__ */ n("p", { className: o.newsletterDescription, children: c }),
4594
- /* @__PURE__ */ n("form", { className: o.newsletterForm, onSubmit: h, children: /* @__PURE__ */ r("div", { className: o.newsletterInputGroup, children: [
4583
+ ] }) : /* @__PURE__ */ a("footer", { className: o.footer, "data-color": t, children: [
4584
+ /* @__PURE__ */ n("div", { className: o.mainSection, children: /* @__PURE__ */ a("div", { className: o.mainContainer, children: [
4585
+ r && /* @__PURE__ */ n("div", { className: o.crossCornerTopRight, children: /* @__PURE__ */ n(ve, { position: "top-right", size: "md", "aria-hidden": !0 }) }),
4586
+ /* @__PURE__ */ a("div", { className: o.contentRow, children: [
4587
+ !F && /* @__PURE__ */ a("div", { className: o.newsletterSection, children: [
4588
+ /* @__PURE__ */ n("p", { className: o.newsletterDescription, children: d }),
4589
+ /* @__PURE__ */ n("form", { className: o.newsletterForm, onSubmit: f, children: /* @__PURE__ */ a("div", { className: o.newsletterInputGroup, children: [
4595
4590
  /* @__PURE__ */ n(
4596
4591
  Ze,
4597
4592
  {
4598
4593
  type: "email",
4599
- placeholder: f,
4594
+ placeholder: h,
4600
4595
  value: W,
4601
4596
  onChange: (m) => L(m.target.value),
4602
4597
  className: o.newsletterInput
4603
4598
  }
4604
4599
  ),
4605
- /* @__PURE__ */ n(de, { type: "submit", variant: "primary", "data-color": "neutral", children: y })
4600
+ /* @__PURE__ */ n(de, { type: "submit", variant: "primary", "data-color": "neutral", children: k })
4606
4601
  ] }) }),
4607
4602
  /* @__PURE__ */ n("p", { className: o.consentText, children: u || Q })
4608
4603
  ] }),
4609
- /* @__PURE__ */ r("div", { className: o.linksSection, children: [
4610
- /* @__PURE__ */ r("nav", { className: o.linksColumn, "aria-label": w || g("footer.shortcuts", "Snarveier"), children: [
4604
+ /* @__PURE__ */ a("div", { className: o.linksSection, children: [
4605
+ /* @__PURE__ */ a("nav", { className: o.linksColumn, "aria-label": w || g("footer.shortcuts", "Snarveier"), children: [
4611
4606
  /* @__PURE__ */ n("h3", { className: o.linksTitle, children: w || g("footer.shortcuts", "Snarveier") }),
4612
- /* @__PURE__ */ n("ul", { className: o.linksList, children: I.map((m, _) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(oe, { href: m.href, className: o.footerLink, children: m.label }) }, _)) })
4607
+ /* @__PURE__ */ n("ul", { className: o.linksList, children: _.map((m, D) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(oe, { href: m.href, className: o.footerLink, children: m.label }) }, D)) })
4613
4608
  ] }),
4614
- /* @__PURE__ */ r("nav", { className: o.linksColumn, "aria-label": $ || g("footer.links", "Lenker"), children: [
4615
- /* @__PURE__ */ n("h3", { className: o.linksTitle, children: $ || g("footer.links", "Lenker") }),
4616
- /* @__PURE__ */ n("ul", { className: o.linksList, children: j.map((m, _) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(oe, { href: m.href, className: o.footerLink, children: m.label }) }, _)) })
4609
+ /* @__PURE__ */ a("nav", { className: o.linksColumn, "aria-label": P || g("footer.links", "Lenker"), children: [
4610
+ /* @__PURE__ */ n("h3", { className: o.linksTitle, children: P || g("footer.links", "Lenker") }),
4611
+ /* @__PURE__ */ n("ul", { className: o.linksList, children: j.map((m, D) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(oe, { href: m.href, className: o.footerLink, children: m.label }) }, D)) })
4617
4612
  ] })
4618
4613
  ] })
4619
4614
  ] }),
4620
4615
  /* @__PURE__ */ n("div", { className: o.divider }),
4621
- /* @__PURE__ */ r("div", { className: o.contactSection, children: [
4622
- /* @__PURE__ */ r("div", { className: o.contactColumn, children: [
4616
+ /* @__PURE__ */ a("div", { className: o.contactSection, children: [
4617
+ /* @__PURE__ */ a("div", { className: o.contactColumn, children: [
4623
4618
  /* @__PURE__ */ n("h4", { className: o.contactTitle, children: g("footer.contact.visitingAddress", "Besøks adresse") }),
4624
- /* @__PURE__ */ n("div", { className: o.contactContent, children: M.map((m, _) => /* @__PURE__ */ n("p", { children: m }, _)) })
4619
+ /* @__PURE__ */ n("div", { className: o.contactContent, children: M.map((m, D) => /* @__PURE__ */ n("p", { children: m }, D)) })
4625
4620
  ] }),
4626
- /* @__PURE__ */ r("div", { className: o.contactColumn, children: [
4621
+ /* @__PURE__ */ a("div", { className: o.contactColumn, children: [
4627
4622
  /* @__PURE__ */ n("h4", { className: o.contactTitle, children: g("footer.contact.organizationNumber", "Organisasjonsnummer") }),
4628
4623
  /* @__PURE__ */ n("p", { className: o.contactContent, children: l })
4629
4624
  ] }),
4630
- /* @__PURE__ */ r("div", { className: o.contactColumn, children: [
4625
+ /* @__PURE__ */ a("div", { className: o.contactColumn, children: [
4631
4626
  /* @__PURE__ */ n("h4", { className: o.contactTitle, children: g("footer.contact.email", "E-post") }),
4632
4627
  /* @__PURE__ */ n("p", { className: o.contactContent, children: te })
4633
4628
  ] })
4634
4629
  ] }),
4635
4630
  /* @__PURE__ */ n("div", { className: o.divider }),
4636
- /* @__PURE__ */ n("div", { className: o.copyrightSection, children: /* @__PURE__ */ r("p", { className: o.copyrightText, children: [
4631
+ /* @__PURE__ */ n("div", { className: o.copyrightSection, children: /* @__PURE__ */ a("p", { className: o.copyrightText, children: [
4637
4632
  "© ",
4638
4633
  O,
4639
4634
  " ",
4640
4635
  g("footer.copyright", "Rødekors")
4641
4636
  ] }) }),
4642
- s && /* @__PURE__ */ n("div", { className: o.crossCornerBottomLeft, children: /* @__PURE__ */ n(ve, { position: "bottom-left", size: "md", "aria-hidden": !0 }) })
4637
+ r && /* @__PURE__ */ n("div", { className: o.crossCornerBottomLeft, children: /* @__PURE__ */ n(ve, { position: "bottom-left", size: "md", "aria-hidden": !0 }) })
4643
4638
  ] }) }),
4644
- /* @__PURE__ */ n("div", { className: o.whiteSection, children: /* @__PURE__ */ n("div", { className: o.whiteContainer, children: /* @__PURE__ */ r("div", { className: o.whiteContent, children: [
4645
- P && (B ? /* @__PURE__ */ n(
4639
+ /* @__PURE__ */ n("div", { className: o.whiteSection, children: /* @__PURE__ */ n("div", { className: o.whiteContainer, children: /* @__PURE__ */ a("div", { className: o.whiteContent, children: [
4640
+ z && (B ? /* @__PURE__ */ n(
4646
4641
  "img",
4647
4642
  {
4648
4643
  src: B,
@@ -4650,12 +4645,12 @@ const ts = "_footer_1l5de_1", ns = "_mainSection_1l5de_7", os = "_mainContainer_
4650
4645
  className: o.logo,
4651
4646
  loading: "lazy"
4652
4647
  }
4653
- ) : /* @__PURE__ */ n("div", { className: o.logo, children: /* @__PURE__ */ n(v, {}) })),
4654
- d && /* @__PURE__ */ n("div", { className: o.slotLarge, children: d })
4648
+ ) : /* @__PURE__ */ n("div", { className: o.logo, children: /* @__PURE__ */ n(b, {}) })),
4649
+ c && /* @__PURE__ */ n("div", { className: o.slotLarge, children: c })
4655
4650
  ] }) }) })
4656
4651
  ] });
4657
4652
  };
4658
- function Xs(t) {
4653
+ function Ja(t) {
4659
4654
  const e = t;
4660
4655
  return `
4661
4656
  .${e.footer} {
@@ -5080,24 +5075,24 @@ function Xs(t) {
5080
5075
  }
5081
5076
  `;
5082
5077
  }
5083
- const Js = "_donor_1hxqz_1", Qs = "_tabsWrapper_1hxqz_14", ea = "_content_1hxqz_35", ta = "_amountSection_1hxqz_47", na = "_amountLabel_1hxqz_55", oa = "_amountButtons_1hxqz_64", ra = "_customAmountField_1hxqz_75", sa = "_impactRow_1hxqz_80", aa = "_heartIcon_1hxqz_88", ia = "_impactText_1hxqz_102", la = "_impactAmount_1hxqz_112", da = "_actionsSection_1hxqz_117", ca = "_vippsButton_1hxqz_127", pa = "_vippsButtonLabel_1hxqz_157", ma = "_vippsLogo_1hxqz_166", ga = "_avtalegiroLink_1hxqz_179", ua = "_tabHeartIcon_1hxqz_184", E = {
5084
- donor: Js,
5085
- tabsWrapper: Qs,
5086
- content: ea,
5087
- amountSection: ta,
5088
- amountLabel: na,
5089
- amountButtons: oa,
5090
- customAmountField: ra,
5091
- impactRow: sa,
5092
- heartIcon: aa,
5093
- impactText: ia,
5094
- impactAmount: la,
5095
- actionsSection: da,
5096
- vippsButton: ca,
5097
- vippsButtonLabel: pa,
5098
- vippsLogo: ma,
5099
- avtalegiroLink: ga,
5100
- tabHeartIcon: ua
5078
+ const Qa = "_donor_1hxqz_1", es = "_tabsWrapper_1hxqz_14", ts = "_content_1hxqz_35", ns = "_amountSection_1hxqz_47", os = "_amountLabel_1hxqz_55", rs = "_amountButtons_1hxqz_64", as = "_customAmountField_1hxqz_75", ss = "_impactRow_1hxqz_80", is = "_heartIcon_1hxqz_88", ls = "_impactText_1hxqz_102", ds = "_impactAmount_1hxqz_112", cs = "_actionsSection_1hxqz_117", ps = "_vippsButton_1hxqz_127", ms = "_vippsButtonLabel_1hxqz_157", gs = "_vippsLogo_1hxqz_166", us = "_avtalegiroLink_1hxqz_179", hs = "_tabHeartIcon_1hxqz_184", E = {
5079
+ donor: Qa,
5080
+ tabsWrapper: es,
5081
+ content: ts,
5082
+ amountSection: ns,
5083
+ amountLabel: os,
5084
+ amountButtons: rs,
5085
+ customAmountField: as,
5086
+ impactRow: ss,
5087
+ heartIcon: is,
5088
+ impactText: ls,
5089
+ impactAmount: ds,
5090
+ actionsSection: cs,
5091
+ vippsButton: ps,
5092
+ vippsButtonLabel: ms,
5093
+ vippsLogo: gs,
5094
+ avtalegiroLink: us,
5095
+ tabHeartIcon: hs
5101
5096
  }, We = () => /* @__PURE__ */ n(
5102
5097
  "svg",
5103
5098
  {
@@ -5116,7 +5111,7 @@ const Js = "_donor_1hxqz_1", Qs = "_tabsWrapper_1hxqz_14", ea = "_content_1hxqz_
5116
5111
  }
5117
5112
  )
5118
5113
  }
5119
- ), ha = () => /* @__PURE__ */ n(
5114
+ ), fs = () => /* @__PURE__ */ n(
5120
5115
  "svg",
5121
5116
  {
5122
5117
  width: "16",
@@ -5134,7 +5129,7 @@ const Js = "_donor_1hxqz_1", Qs = "_tabsWrapper_1hxqz_14", ea = "_content_1hxqz_
5134
5129
  }
5135
5130
  )
5136
5131
  }
5137
- ), fa = () => /* @__PURE__ */ n(
5132
+ ), ks = () => /* @__PURE__ */ n(
5138
5133
  "svg",
5139
5134
  {
5140
5135
  width: "64",
@@ -5152,125 +5147,125 @@ const Js = "_donor_1hxqz_1", Qs = "_tabsWrapper_1hxqz_14", ea = "_content_1hxqz_
5152
5147
  }
5153
5148
  )
5154
5149
  }
5155
- ), ka = [
5150
+ ), vs = [
5156
5151
  { value: 220, label: "220 kr" },
5157
5152
  { value: 345, label: "345 kr" },
5158
5153
  { value: 660, label: "660 kr" }
5159
5154
  ], pi = ({
5160
5155
  "data-color": t = "primary",
5161
- amounts: e = ka,
5162
- defaultAmount: s = 345,
5163
- oneTimeLabel: c = "En gang",
5164
- monthlyLabel: f = "Hver måned",
5165
- customAmountPlaceholder: y = "Valgfritt beløp",
5156
+ amounts: e = vs,
5157
+ defaultAmount: r = 345,
5158
+ oneTimeLabel: d = "En gang",
5159
+ monthlyLabel: h = "Hver måned",
5160
+ customAmountPlaceholder: k = "Valgfritt beløp",
5166
5161
  amountLabel: u = "Velg ønsket beløp:",
5167
5162
  impactMessage: x = "En gave på {amount} bidrar til ...",
5168
5163
  vippsButtonLabel: F = "Gi med",
5169
5164
  avtalegiroLabel: C = "Gi med avtalegiro",
5170
5165
  avtalegiroHref: U = "#",
5171
5166
  currencySuffix: w = "kr",
5172
- onVippsClick: $,
5167
+ onVippsClick: P,
5173
5168
  onAvtalegiroClick: M,
5174
5169
  onAmountChange: l,
5175
5170
  showVippsButton: te = !0,
5176
- showAvtalegiroLink: P = !0,
5171
+ showAvtalegiroLink: z = !0,
5177
5172
  showImpactMessage: B = !0,
5178
5173
  heartVariant: X = "outlined"
5179
5174
  }) => {
5180
- const [d, D] = Y("monthly"), [S, R] = Y(s), [A, G] = Y(""), [O, J] = Y(!1);
5181
- z(() => {
5182
- const I = "rk-donor-inline-styles";
5183
- if (typeof document > "u" || document.getElementById(I)) return;
5184
- const j = va(E), K = document.createElement("style");
5185
- K.id = I, K.textContent = j, document.head.appendChild(K);
5175
+ const [c, A] = Y("monthly"), [S, R] = Y(r), [I, G] = Y(""), [O, J] = Y(!1);
5176
+ $(() => {
5177
+ const _ = "rk-donor-inline-styles";
5178
+ if (typeof document > "u" || document.getElementById(_)) return;
5179
+ const j = bs(E), K = document.createElement("style");
5180
+ K.id = _, K.textContent = j, document.head.appendChild(K);
5186
5181
  }, []);
5187
- const W = O && A ? parseInt(A, 10) || 0 : S, L = (I) => {
5188
- R(I), J(!1), G(""), l == null || l(I, d);
5189
- }, g = (I) => {
5190
- const j = I.target.value;
5182
+ const W = O && I ? parseInt(I, 10) || 0 : S, L = (_) => {
5183
+ R(_), J(!1), G(""), l == null || l(_, c);
5184
+ }, g = (_) => {
5185
+ const j = _.target.value;
5191
5186
  G(j), J(!0);
5192
5187
  const K = parseInt(j, 10);
5193
- K > 0 && (l == null || l(K, d));
5194
- }, h = () => {
5188
+ K > 0 && (l == null || l(K, c));
5189
+ }, f = () => {
5195
5190
  J(!0);
5196
- }, v = (I) => {
5197
- const j = I;
5198
- D(j), l == null || l(W, j);
5199
- }, b = () => {
5200
- $ == null || $(W, d);
5191
+ }, b = (_) => {
5192
+ const j = _;
5193
+ A(j), l == null || l(W, j);
5194
+ }, y = () => {
5195
+ P == null || P(W, c);
5201
5196
  }, ne = () => {
5202
5197
  M == null || M();
5203
5198
  }, Q = () => {
5204
- const I = `${W} ${w}`, j = x.split("{amount}");
5205
- return /* @__PURE__ */ r("span", { children: [
5199
+ const _ = `${W} ${w}`, j = x.split("{amount}");
5200
+ return /* @__PURE__ */ a("span", { children: [
5206
5201
  j[0],
5207
- /* @__PURE__ */ n("span", { className: E.impactAmount, children: I }),
5202
+ /* @__PURE__ */ n("span", { className: E.impactAmount, children: _ }),
5208
5203
  j[1] || ""
5209
5204
  ] });
5210
5205
  };
5211
- return /* @__PURE__ */ r("div", { className: E.donor, "data-color": t, children: [
5212
- /* @__PURE__ */ n("div", { className: E.tabsWrapper, children: /* @__PURE__ */ n(Te, { defaultValue: "monthly", onChange: v, "data-size": "md", children: /* @__PURE__ */ r(Te.List, { children: [
5213
- /* @__PURE__ */ n(Te.Tab, { value: "one-time", children: c }),
5214
- /* @__PURE__ */ r(Te.Tab, { value: "monthly", children: [
5206
+ return /* @__PURE__ */ a("div", { className: E.donor, "data-color": t, children: [
5207
+ /* @__PURE__ */ n("div", { className: E.tabsWrapper, children: /* @__PURE__ */ n(Te, { defaultValue: "monthly", onChange: b, "data-size": "md", children: /* @__PURE__ */ a(Te.List, { children: [
5208
+ /* @__PURE__ */ n(Te.Tab, { value: "one-time", children: d }),
5209
+ /* @__PURE__ */ a(Te.Tab, { value: "monthly", children: [
5215
5210
  /* @__PURE__ */ n("span", { className: E.tabHeartIcon, children: /* @__PURE__ */ n(We, {}) }),
5216
- f
5211
+ h
5217
5212
  ] })
5218
5213
  ] }) }) }),
5219
- /* @__PURE__ */ r("div", { className: E.content, children: [
5220
- /* @__PURE__ */ r("div", { className: E.amountSection, children: [
5214
+ /* @__PURE__ */ a("div", { className: E.content, children: [
5215
+ /* @__PURE__ */ a("div", { className: E.amountSection, children: [
5221
5216
  /* @__PURE__ */ n(be, { className: E.amountLabel, "data-size": "sm", children: u }),
5222
- /* @__PURE__ */ n("div", { className: E.amountButtons, children: e.map((I) => {
5223
- const j = !O && S === I.value;
5217
+ /* @__PURE__ */ n("div", { className: E.amountButtons, children: e.map((_) => {
5218
+ const j = !O && S === _.value;
5224
5219
  return /* @__PURE__ */ n(
5225
5220
  de,
5226
5221
  {
5227
5222
  variant: j ? "primary" : "secondary",
5228
5223
  "data-color": j ? "accent" : "neutral",
5229
- onClick: () => L(I.value),
5230
- children: I.label
5224
+ onClick: () => L(_.value),
5225
+ children: _.label
5231
5226
  },
5232
- I.value
5227
+ _.value
5233
5228
  );
5234
5229
  }) }),
5235
5230
  /* @__PURE__ */ n("div", { className: E.customAmountField, children: /* @__PURE__ */ n(
5236
- Zo,
5231
+ Xo,
5237
5232
  {
5238
- "aria-label": y,
5239
- placeholder: y,
5240
- value: A,
5233
+ "aria-label": k,
5234
+ placeholder: k,
5235
+ value: I,
5241
5236
  onChange: g,
5242
- onFocus: h,
5237
+ onFocus: f,
5243
5238
  type: "number",
5244
5239
  min: 1
5245
5240
  }
5246
5241
  ) })
5247
5242
  ] }),
5248
- B && /* @__PURE__ */ r("div", { className: E.impactRow, children: [
5249
- /* @__PURE__ */ n("div", { className: E.heartIcon, children: X === "filled" ? /* @__PURE__ */ n(We, {}) : /* @__PURE__ */ n(ha, {}) }),
5243
+ B && /* @__PURE__ */ a("div", { className: E.impactRow, children: [
5244
+ /* @__PURE__ */ n("div", { className: E.heartIcon, children: X === "filled" ? /* @__PURE__ */ n(We, {}) : /* @__PURE__ */ n(fs, {}) }),
5250
5245
  /* @__PURE__ */ n("p", { className: E.impactText, children: Q() })
5251
5246
  ] }),
5252
- /* @__PURE__ */ r("div", { className: E.actionsSection, children: [
5253
- te && /* @__PURE__ */ r(
5247
+ /* @__PURE__ */ a("div", { className: E.actionsSection, children: [
5248
+ te && /* @__PURE__ */ a(
5254
5249
  "button",
5255
5250
  {
5256
5251
  className: E.vippsButton,
5257
- onClick: b,
5252
+ onClick: y,
5258
5253
  type: "button",
5259
5254
  "aria-label": `${F} Vipps`,
5260
5255
  children: [
5261
5256
  /* @__PURE__ */ n("span", { className: E.vippsButtonLabel, children: F }),
5262
- /* @__PURE__ */ n("span", { className: E.vippsLogo, children: /* @__PURE__ */ n(fa, {}) })
5257
+ /* @__PURE__ */ n("span", { className: E.vippsLogo, children: /* @__PURE__ */ n(ks, {}) })
5263
5258
  ]
5264
5259
  }
5265
5260
  ),
5266
- P && /* @__PURE__ */ n(
5261
+ z && /* @__PURE__ */ n(
5267
5262
  oe,
5268
5263
  {
5269
5264
  href: U,
5270
5265
  "data-color": "neutral",
5271
5266
  className: E.avtalegiroLink,
5272
- onClick: (I) => {
5273
- M && (I.preventDefault(), ne());
5267
+ onClick: (_) => {
5268
+ M && (_.preventDefault(), ne());
5274
5269
  },
5275
5270
  children: C
5276
5271
  }
@@ -5279,7 +5274,7 @@ const Js = "_donor_1hxqz_1", Qs = "_tabsWrapper_1hxqz_14", ea = "_content_1hxqz_
5279
5274
  ] })
5280
5275
  ] });
5281
5276
  };
5282
- function va(t) {
5277
+ function bs(t) {
5283
5278
  return `
5284
5279
  .${t.donor} {
5285
5280
  border-radius: 16px;
@@ -5448,69 +5443,69 @@ export {
5448
5443
  un as Alert,
5449
5444
  Ke as Avatar,
5450
5445
  hn as Badge,
5451
- Sa as BadgePosition,
5452
- Ia as Breadcrumbs,
5453
- Da as BreadcrumbsItem,
5454
- Aa as BreadcrumbsLink,
5455
- _a as BreadcrumbsList,
5446
+ Is as BadgePosition,
5447
+ _s as Breadcrumbs,
5448
+ As as BreadcrumbsItem,
5449
+ Ls as BreadcrumbsLink,
5450
+ Ds as BreadcrumbsList,
5456
5451
  de as Button,
5457
5452
  fn as Card,
5458
- La as CardBlock,
5459
- zo as Carousel,
5453
+ Ns as CardBlock,
5454
+ $o as Carousel,
5460
5455
  kn as Checkbox,
5461
- Ma as Chip,
5456
+ js as Chip,
5462
5457
  ve as CrossCorner,
5463
5458
  bo as DateInput,
5464
5459
  co as DatePicker,
5465
- Ba as Details,
5466
- Ea as Dialog,
5467
- za as Divider,
5460
+ Es as Details,
5461
+ $s as Dialog,
5462
+ Ps as Divider,
5468
5463
  pi as Donor,
5469
5464
  V as Dropdown,
5470
- Ha as DropdownButton,
5471
- Ra as DropdownHeading,
5472
- Wa as DropdownItem,
5473
- Ga as DropdownList,
5474
- $a as DropdownTrigger,
5475
- Pa as DropdownTriggerContext,
5476
- Ua as ErrorSummary,
5477
- Va as Field,
5465
+ Us as DropdownButton,
5466
+ Gs as DropdownHeading,
5467
+ Hs as DropdownItem,
5468
+ Ws as DropdownList,
5469
+ zs as DropdownTrigger,
5470
+ Rs as DropdownTriggerContext,
5471
+ Vs as ErrorSummary,
5472
+ Os as Field,
5478
5473
  Vo as FieldCounter,
5479
5474
  Uo as FieldDescription,
5480
- Oa as Fieldset,
5475
+ Ks as Fieldset,
5481
5476
  ci as Footer,
5482
5477
  di as Header,
5483
5478
  Oo as Heading,
5484
5479
  Ze as Input,
5485
5480
  Ko as Label,
5486
- ja as LanguageProvider,
5481
+ Fs as LanguageProvider,
5487
5482
  oe as Link,
5488
- Ka as List,
5483
+ qs as List,
5489
5484
  qo as Pagination,
5490
- Za as PaginationButton,
5491
- Ya as PaginationItem,
5492
- qa as PaginationList,
5485
+ Xs as PaginationButton,
5486
+ Zs as PaginationItem,
5487
+ Ys as PaginationList,
5493
5488
  be as Paragraph,
5494
- Ja as Popover,
5495
- Qa as Radio,
5489
+ Qs as Popover,
5490
+ ei as Radio,
5496
5491
  xe as Search,
5497
- ti as Select,
5498
- ni as SkeletonLoader,
5499
- oi as SkipLink,
5492
+ ni as Select,
5493
+ oi as SkeletonLoader,
5494
+ ri as SkipLink,
5500
5495
  Eo as Spinner,
5501
5496
  Yo as Suggestion,
5502
5497
  Le as Switch,
5503
- ri as Table,
5498
+ ai as Table,
5504
5499
  Te as Tabs,
5505
- si as Tag,
5506
- ai as Textarea,
5507
- Zo as Textfield,
5500
+ Zo as Tag,
5501
+ si as Textarea,
5502
+ Xo as Textfield,
5508
5503
  ii as ToggleGroup,
5509
5504
  li as Tooltip,
5510
- Xo as ValidationMessage,
5511
- Na as useCheckboxGroup,
5512
- Fa as useLanguage,
5505
+ Jo as ValidationMessage,
5506
+ Ms as useCheckboxGroup,
5507
+ Bs as useLanguage,
5513
5508
  ye as useLanguageOptional,
5514
- Xa as usePagination,
5515
- ei as useRadioGroup
5509
+ Js as usePagination,
5510
+ ti as useRadioGroup
5516
5511
  };