rk-designsystem 1.1.113 → 1.1.115

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,80 +1,80 @@
1
- import { jsx as n, jsxs as v, Fragment as jt } from "react/jsx-runtime";
2
- import Je, { forwardRef as ge, useState as oe, createContext as Qt, useContext as Mt, useEffect as Q, useMemo as Ce, useCallback as ce, useRef as Qe } from "react";
3
- import { Alert as en, Avatar as tn, BadgePosition as nn, Badge as on, Breadcrumbs as rn, BreadcrumbsList as sn, BreadcrumbsItem as an, BreadcrumbsLink as ln, Button as et, Card as dn, CardBlock as cn, Checkbox as un, useCheckboxGroup as pn, Fieldset as Nt, Chip as mn, Spinner as gn, Details as fn, Dialog as hn, Divider as kn, Dropdown as vn, DropdownTrigger as bn, DropdownTriggerContext as yn, DropdownHeading as xn, DropdownList as Tn, DropdownItem as Sn, DropdownButton as Cn, ErrorSummary as wn, Field as In, FieldDescription as _n, FieldCounter as Dn, Heading as Ln, Input as An, Label as jn, Link as Mn, List as Nn, Pagination as En, PaginationList as Fn, PaginationItem as Bn, PaginationButton as Pn, usePagination as $n, Paragraph as zn, Popover as Rn, Radio as Gn, useRadioGroup as Hn, Search as Wn, SearchInput as Un, SearchClear as On, SearchButton as Vn, Select as Kn, Skeleton as Yn, SkipLink as qn, EXPERIMENTAL_Suggestion as Zn, Switch as Xn, Table as Jn, Tabs as Qn, Tag as eo, Textarea as to, Textfield as no, ToggleGroup as oo, Tooltip as ro, ValidationMessage as so } from "@digdir/designsystemet-react";
4
- import { startOfMonth as Te, isValid as Ye, isSameMonth as vt, startOfWeek as Et, format as Ie, addDays as Ft, subMonths as io, addMonths as ao, isSameDay as lo, isToday as co, eachDayOfInterval as uo } from "date-fns";
1
+ import { jsx as n, jsxs as v, Fragment as Mt } from "react/jsx-runtime";
2
+ import Je, { forwardRef as ge, useState as oe, createContext as Qt, useContext as Nt, useEffect as Q, useMemo as Ce, useCallback as ce, useRef as Qe } from "react";
3
+ import { Alert as en, Avatar as tn, BadgePosition as nn, Badge as on, Breadcrumbs as rn, BreadcrumbsList as sn, BreadcrumbsItem as an, BreadcrumbsLink as ln, Button as et, Card as dn, CardBlock as cn, Checkbox as un, useCheckboxGroup as pn, Fieldset as Et, Chip as mn, Spinner as gn, Details as fn, Dialog as hn, Divider as kn, Dropdown as vn, DropdownTrigger as bn, DropdownTriggerContext as yn, DropdownHeading as xn, DropdownList as Tn, DropdownItem as Sn, DropdownButton as Cn, ErrorSummary as wn, Field as In, FieldDescription as _n, FieldCounter as Dn, Heading as Ln, Input as An, Label as Mn, Link as Nn, List as En, Pagination as jn, PaginationList as Fn, PaginationItem as Bn, PaginationButton as Pn, usePagination as $n, Paragraph as zn, Popover as Rn, Radio as Gn, useRadioGroup as Hn, Search as Wn, SearchInput as Un, SearchClear as On, SearchButton as Vn, Select as Kn, Skeleton as qn, SkipLink as Yn, EXPERIMENTAL_Suggestion as Zn, Switch as Xn, Table as Jn, Tabs as Qn, Tag as eo, Textarea as to, Textfield as no, ToggleGroup as oo, Tooltip as ro, ValidationMessage as so } from "@digdir/designsystemet-react";
4
+ import { startOfMonth as Te, isValid as qe, isSameMonth as vt, startOfWeek as jt, format as Ie, addDays as Ft, subMonths as io, addMonths as ao, isSameDay as lo, isToday as co, eachDayOfInterval as uo } from "date-fns";
5
5
  import { ChevronLeftIcon as po, ChevronRightIcon as mo, ChevronDownIcon as bt, XMarkIcon as yt, MagnifyingGlassIcon as xt, MenuHamburgerIcon as go, HeartIcon as fo } from "@navikt/aksel-icons";
6
- const ho = ge((e, t) => /* @__PURE__ */ n(en, { ref: t, ...e }));
6
+ const ho = ge((t, e) => /* @__PURE__ */ n(en, { ref: e, ...t }));
7
7
  ho.displayName = "Alert";
8
- const Bt = ge((e, t) => /* @__PURE__ */ n(tn, { ref: t, ...e }));
8
+ const Bt = ge((t, e) => /* @__PURE__ */ n(tn, { ref: e, ...t }));
9
9
  Bt.displayName = "Avatar";
10
- const ko = ge((e, t) => /* @__PURE__ */ n(on, { ref: t, ...e }));
10
+ const ko = ge((t, e) => /* @__PURE__ */ n(on, { ref: e, ...t }));
11
11
  ko.displayName = "Badge";
12
12
  const rl = nn, sl = rn, il = sn, al = an, ll = ln, ke = et;
13
13
  ke.displayName = "Button";
14
14
  const vo = dn, dl = cn;
15
15
  vo.displayName = "Card";
16
- const bo = un, yo = Nt, cl = pn;
16
+ const bo = un, yo = Et, cl = pn;
17
17
  bo.displayName = "Checkbox";
18
18
  yo.displayName = "Fieldset";
19
19
  const ul = mn;
20
- function qe(e) {
21
- return (t = {}) => {
22
- const o = t.width ? String(t.width) : e.defaultWidth;
23
- return e.formats[o] || e.formats[e.defaultWidth];
20
+ function Ye(t) {
21
+ return (e = {}) => {
22
+ const o = e.width ? String(e.width) : t.defaultWidth;
23
+ return t.formats[o] || t.formats[t.defaultWidth];
24
24
  };
25
25
  }
26
- function _e(e) {
27
- return (t, o) => {
26
+ function _e(t) {
27
+ return (e, o) => {
28
28
  const s = o != null && o.context ? String(o.context) : "standalone";
29
29
  let a;
30
- if (s === "formatting" && e.formattingValues) {
31
- const r = e.defaultFormattingWidth || e.defaultWidth, c = o != null && o.width ? String(o.width) : r;
32
- a = e.formattingValues[c] || e.formattingValues[r];
30
+ if (s === "formatting" && t.formattingValues) {
31
+ const r = t.defaultFormattingWidth || t.defaultWidth, c = o != null && o.width ? String(o.width) : r;
32
+ a = t.formattingValues[c] || t.formattingValues[r];
33
33
  } else {
34
- const r = e.defaultWidth, c = o != null && o.width ? String(o.width) : e.defaultWidth;
35
- a = e.values[c] || e.values[r];
34
+ const r = t.defaultWidth, c = o != null && o.width ? String(o.width) : t.defaultWidth;
35
+ a = t.values[c] || t.values[r];
36
36
  }
37
- const i = e.argumentCallback ? e.argumentCallback(t) : t;
37
+ const i = t.argumentCallback ? t.argumentCallback(e) : e;
38
38
  return a[i];
39
39
  };
40
40
  }
41
- function De(e) {
42
- return (t, o = {}) => {
43
- const s = o.width, a = s && e.matchPatterns[s] || e.matchPatterns[e.defaultMatchWidth], i = t.match(a);
41
+ function De(t) {
42
+ return (e, o = {}) => {
43
+ const s = o.width, a = s && t.matchPatterns[s] || t.matchPatterns[t.defaultMatchWidth], i = e.match(a);
44
44
  if (!i)
45
45
  return null;
46
- const r = i[0], c = s && e.parsePatterns[s] || e.parsePatterns[e.defaultParseWidth], d = Array.isArray(c) ? To(c, (m) => m.test(r)) : (
46
+ const r = i[0], c = s && t.parsePatterns[s] || t.parsePatterns[t.defaultParseWidth], d = Array.isArray(c) ? To(c, (m) => m.test(r)) : (
47
47
  // [TODO] -- I challenge you to fix the type
48
48
  xo(c, (m) => m.test(r))
49
49
  );
50
50
  let u;
51
- u = e.valueCallback ? e.valueCallback(d) : d, u = o.valueCallback ? (
51
+ u = t.valueCallback ? t.valueCallback(d) : d, u = o.valueCallback ? (
52
52
  // [TODO] -- I challenge you to fix the type
53
53
  o.valueCallback(u)
54
54
  ) : u;
55
- const x = t.slice(r.length);
55
+ const x = e.slice(r.length);
56
56
  return { value: u, rest: x };
57
57
  };
58
58
  }
59
- function xo(e, t) {
60
- for (const o in e)
61
- if (Object.prototype.hasOwnProperty.call(e, o) && t(e[o]))
59
+ function xo(t, e) {
60
+ for (const o in t)
61
+ if (Object.prototype.hasOwnProperty.call(t, o) && e(t[o]))
62
62
  return o;
63
63
  }
64
- function To(e, t) {
65
- for (let o = 0; o < e.length; o++)
66
- if (t(e[o]))
64
+ function To(t, e) {
65
+ for (let o = 0; o < t.length; o++)
66
+ if (e(t[o]))
67
67
  return o;
68
68
  }
69
- function So(e) {
70
- return (t, o = {}) => {
71
- const s = t.match(e.matchPattern);
69
+ function So(t) {
70
+ return (e, o = {}) => {
71
+ const s = e.match(t.matchPattern);
72
72
  if (!s) return null;
73
- const a = s[0], i = t.match(e.parsePattern);
73
+ const a = s[0], i = e.match(t.parsePattern);
74
74
  if (!i) return null;
75
- let r = e.valueCallback ? e.valueCallback(i[0]) : i[0];
75
+ let r = t.valueCallback ? t.valueCallback(i[0]) : i[0];
76
76
  r = o.valueCallback ? o.valueCallback(r) : r;
77
- const c = t.slice(a.length);
77
+ const c = e.slice(a.length);
78
78
  return { value: r, rest: c };
79
79
  };
80
80
  }
@@ -140,10 +140,10 @@ const Co = {
140
140
  one: "nesten ett år",
141
141
  other: "nesten {{count}} år"
142
142
  }
143
- }, wo = (e, t, o) => {
143
+ }, wo = (t, e, o) => {
144
144
  let s;
145
- const a = Co[e];
146
- return typeof a == "string" ? s = a : t === 1 ? s = a.one : s = a.other.replace("{{count}}", String(t)), o != null && o.addSuffix ? o.comparison && o.comparison > 0 ? "om " + s : s + " siden" : s;
145
+ const a = Co[t];
146
+ return typeof a == "string" ? s = a : e === 1 ? s = a.one : s = a.other.replace("{{count}}", String(e)), o != null && o.addSuffix ? o.comparison && o.comparison > 0 ? "om " + s : s + " siden" : s;
147
147
  }, Io = {
148
148
  full: "EEEE d. MMMM y",
149
149
  long: "d. MMMM y",
@@ -160,15 +160,15 @@ const Co = {
160
160
  medium: "{{date}} {{time}}",
161
161
  short: "{{date}} {{time}}"
162
162
  }, Lo = {
163
- date: qe({
163
+ date: Ye({
164
164
  formats: Io,
165
165
  defaultWidth: "full"
166
166
  }),
167
- time: qe({
167
+ time: Ye({
168
168
  formats: _o,
169
169
  defaultWidth: "full"
170
170
  }),
171
- dateTime: qe({
171
+ dateTime: Ye({
172
172
  formats: Do,
173
173
  defaultWidth: "full"
174
174
  })
@@ -179,15 +179,15 @@ const Co = {
179
179
  tomorrow: "'i morgen kl.' p",
180
180
  nextWeek: "EEEE 'kl.' p",
181
181
  other: "P"
182
- }, jo = (e, t, o, s) => Ao[e], Mo = {
182
+ }, Mo = (t, e, o, s) => Ao[t], No = {
183
183
  narrow: ["f.Kr.", "e.Kr."],
184
184
  abbreviated: ["f.Kr.", "e.Kr."],
185
185
  wide: ["før Kristus", "etter Kristus"]
186
- }, No = {
186
+ }, Eo = {
187
187
  narrow: ["1", "2", "3", "4"],
188
188
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
189
189
  wide: ["1. kvartal", "2. kvartal", "3. kvartal", "4. kvartal"]
190
- }, Eo = {
190
+ }, jo = {
191
191
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
192
192
  abbreviated: [
193
193
  "jan.",
@@ -261,19 +261,19 @@ const Co = {
261
261
  evening: "på kvelden",
262
262
  night: "på natten"
263
263
  }
264
- }, Po = (e, t) => Number(e) + ".", $o = {
264
+ }, Po = (t, e) => Number(t) + ".", $o = {
265
265
  ordinalNumber: Po,
266
266
  era: _e({
267
- values: Mo,
267
+ values: No,
268
268
  defaultWidth: "wide"
269
269
  }),
270
270
  quarter: _e({
271
- values: No,
271
+ values: Eo,
272
272
  defaultWidth: "wide",
273
- argumentCallback: (e) => e - 1
273
+ argumentCallback: (t) => t - 1
274
274
  }),
275
275
  month: _e({
276
- values: Eo,
276
+ values: jo,
277
277
  defaultWidth: "wide"
278
278
  }),
279
279
  day: _e({
@@ -334,9 +334,9 @@ const Co = {
334
334
  short: /^(sø|ma|ti|on|to|fr|lø)/i,
335
335
  abbreviated: /^(søn|man|tir|ons|tor|fre|lør)/i,
336
336
  wide: /^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i
337
- }, Yo = {
338
- any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i]
339
337
  }, qo = {
338
+ any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i]
339
+ }, Yo = {
340
340
  narrow: /^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,
341
341
  any: /^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i
342
342
  }, Zo = {
@@ -354,7 +354,7 @@ const Co = {
354
354
  ordinalNumber: So({
355
355
  matchPattern: zo,
356
356
  parsePattern: Ro,
357
- valueCallback: (e) => parseInt(e, 10)
357
+ valueCallback: (t) => parseInt(t, 10)
358
358
  }),
359
359
  era: De({
360
360
  matchPatterns: Go,
@@ -367,7 +367,7 @@ const Co = {
367
367
  defaultMatchWidth: "wide",
368
368
  parsePatterns: Uo,
369
369
  defaultParseWidth: "any",
370
- valueCallback: (e) => e + 1
370
+ valueCallback: (t) => t + 1
371
371
  }),
372
372
  month: De({
373
373
  matchPatterns: Oo,
@@ -378,11 +378,11 @@ const Co = {
378
378
  day: De({
379
379
  matchPatterns: Ko,
380
380
  defaultMatchWidth: "wide",
381
- parsePatterns: Yo,
381
+ parsePatterns: qo,
382
382
  defaultParseWidth: "any"
383
383
  }),
384
384
  dayPeriod: De({
385
- matchPatterns: qo,
385
+ matchPatterns: Yo,
386
386
  defaultMatchWidth: "any",
387
387
  parsePatterns: Zo,
388
388
  defaultParseWidth: "any"
@@ -391,14 +391,14 @@ const Co = {
391
391
  code: "nb",
392
392
  formatDistance: wo,
393
393
  formatLong: Lo,
394
- formatRelative: jo,
394
+ formatRelative: Mo,
395
395
  localize: $o,
396
396
  match: Xo,
397
397
  options: {
398
398
  weekStartsOn: 1,
399
399
  firstWeekContainsDate: 4
400
400
  }
401
- }, Pt = ({ title: e, ...t }) => /* @__PURE__ */ v(
401
+ }, Pt = ({ title: t, ...e }) => /* @__PURE__ */ v(
402
402
  "svg",
403
403
  {
404
404
  xmlns: "http://www.w3.org/2000/svg",
@@ -406,11 +406,11 @@ const Co = {
406
406
  height: "1em",
407
407
  viewBox: "0 0 28 28",
408
408
  fill: "none",
409
- "aria-hidden": e ? void 0 : !0,
409
+ "aria-hidden": t ? void 0 : !0,
410
410
  focusable: "false",
411
- ...t,
411
+ ...e,
412
412
  children: [
413
- e && /* @__PURE__ */ n("title", { children: e }),
413
+ t && /* @__PURE__ */ n("title", { children: t }),
414
414
  /* @__PURE__ */ n(
415
415
  "path",
416
416
  {
@@ -424,7 +424,7 @@ const Co = {
424
424
  }
425
425
  );
426
426
  Pt.displayName = "ChevronLeftIcon";
427
- const $t = ({ title: e, ...t }) => /* @__PURE__ */ v(
427
+ const $t = ({ title: t, ...e }) => /* @__PURE__ */ v(
428
428
  "svg",
429
429
  {
430
430
  xmlns: "http://www.w3.org/2000/svg",
@@ -432,11 +432,11 @@ const $t = ({ title: e, ...t }) => /* @__PURE__ */ v(
432
432
  height: "1em",
433
433
  viewBox: "0 0 28 28",
434
434
  fill: "none",
435
- "aria-hidden": e ? void 0 : !0,
435
+ "aria-hidden": t ? void 0 : !0,
436
436
  focusable: "false",
437
- ...t,
437
+ ...e,
438
438
  children: [
439
- e && /* @__PURE__ */ n("title", { children: e }),
439
+ t && /* @__PURE__ */ n("title", { children: t }),
440
440
  /* @__PURE__ */ n(
441
441
  "path",
442
442
  {
@@ -2457,33 +2457,33 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
2457
2457
  openDatePicker: "Open date picker"
2458
2458
  }
2459
2459
  }
2460
- }, ot = Qt(void 0), pl = ({ children: e }) => {
2461
- const [t, o] = oe("NO"), s = (a) => {
2460
+ }, ot = Qt(void 0), pl = ({ children: t }) => {
2461
+ const [e, o] = oe("NO"), s = (a) => {
2462
2462
  const i = a.split(".");
2463
- let r = dr[t];
2463
+ let r = dr[e];
2464
2464
  for (const c of i) {
2465
2465
  if (r[c] === void 0)
2466
- return console.warn(`Translation missing for key: ${a} in language: ${t}`), a;
2466
+ return console.warn(`Translation missing for key: ${a} in language: ${e}`), a;
2467
2467
  r = r[c];
2468
2468
  }
2469
2469
  return r;
2470
2470
  };
2471
- return /* @__PURE__ */ n(ot.Provider, { value: { language: t, setLanguage: o, t: s }, children: e });
2471
+ return /* @__PURE__ */ n(ot.Provider, { value: { language: e, setLanguage: o, t: s }, children: t });
2472
2472
  }, ml = () => {
2473
- const e = Mt(ot);
2474
- if (e === void 0)
2473
+ const t = Nt(ot);
2474
+ if (t === void 0)
2475
2475
  throw new Error("useLanguage must be used within a LanguageProvider");
2476
- return e;
2476
+ return t;
2477
2477
  }, Fe = () => {
2478
- const e = Mt(ot);
2479
- return e === void 0 ? {
2478
+ const t = Nt(ot);
2479
+ return t === void 0 ? {
2480
2480
  language: "NO",
2481
2481
  setLanguage: () => {
2482
2482
  console.warn("LanguageProvider is not available. Language changes will not work.");
2483
2483
  },
2484
- t: (t) => ({
2484
+ t: (e) => ({
2485
2485
  // Header translations
2486
- "header.darkMode": "Mørk modus",
2486
+ "header.darkMode": "Nattmodus",
2487
2487
  "header.language": "Språk",
2488
2488
  "header.selectLanguage": "Velg språk",
2489
2489
  "header.homeAriaLabel": "Norges Røde Kors Hjem",
@@ -2533,14 +2533,14 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
2533
2533
  "datePicker.nextMonth": "Neste måned",
2534
2534
  // DateInput translations
2535
2535
  "dateInput.openDatePicker": "Åpne datovelger"
2536
- })[t] || t
2537
- } : e;
2538
- }, cr = (e) => {
2539
- const t = Te(e), o = Et(t, { locale: Se }), s = Ft(o, 41);
2536
+ })[e] || e
2537
+ } : t;
2538
+ }, cr = (t) => {
2539
+ const e = Te(t), o = jt(e, { locale: Se }), s = Ft(o, 41);
2540
2540
  return uo({ start: o, end: s });
2541
- }, Tt = (e) => e && e.charAt(0).toUpperCase() + e.slice(1), ur = ({
2542
- initialDate: e = /* @__PURE__ */ new Date(),
2543
- selectedDate: t = null,
2541
+ }, Tt = (t) => t && t.charAt(0).toUpperCase() + t.slice(1), ur = ({
2542
+ initialDate: t = /* @__PURE__ */ new Date(),
2543
+ selectedDate: e = null,
2544
2544
  // Prop for valgt dato
2545
2545
  onDateSelect: o,
2546
2546
  "data-color": s,
@@ -2552,25 +2552,25 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
2552
2552
  Q(() => {
2553
2553
  const g = "rk-datepicker-inline-styles";
2554
2554
  if (typeof document > "u" || document.getElementById(g)) return;
2555
- const j = pr(ae), M = document.createElement("style");
2556
- M.id = g, M.textContent = j, document.head.appendChild(M);
2555
+ const M = pr(ae), N = document.createElement("style");
2556
+ N.id = g, N.textContent = M, document.head.appendChild(N);
2557
2557
  }, []);
2558
2558
  const [r, c] = oe(
2559
- Te(t && Ye(t) ? t : e)
2559
+ Te(e && qe(e) ? e : t)
2560
2560
  );
2561
2561
  Q(() => {
2562
- if (t && Ye(t)) {
2563
- const g = Te(t);
2562
+ if (e && qe(e)) {
2563
+ const g = Te(e);
2564
2564
  vt(g, r) || c(g);
2565
2565
  }
2566
- }, [t]);
2566
+ }, [e]);
2567
2567
  const d = Ce(() => Te(/* @__PURE__ */ new Date()), []), u = Ce(() => !1, [r, d]), x = Ce(
2568
2568
  () => cr(r),
2569
2569
  [r]
2570
2570
  ), m = Ce(() => {
2571
- const g = Et(/* @__PURE__ */ new Date(), { locale: Se });
2572
- return Array.from({ length: 7 }).map((j, M) => {
2573
- const F = Ie(Ft(g, M), "EEEEEE", { locale: Se });
2571
+ const g = jt(/* @__PURE__ */ new Date(), { locale: Se });
2572
+ return Array.from({ length: 7 }).map((M, N) => {
2573
+ const F = Ie(Ft(g, N), "EEEEEE", { locale: Se });
2574
2574
  return Tt(F);
2575
2575
  });
2576
2576
  }, []), f = ce(() => {
@@ -2583,8 +2583,8 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
2583
2583
  },
2584
2584
  [o]
2585
2585
  ), b = ce(
2586
- (g, j) => {
2587
- (g.key === "Enter" || g.key === " ") && (g.preventDefault(), l(j));
2586
+ (g, M) => {
2587
+ (g.key === "Enter" || g.key === " ") && (g.preventDefault(), l(M));
2588
2588
  },
2589
2589
  [l]
2590
2590
  ), y = Ie(r, "MMMM", { locale: Se }), p = Ie(r, "yyyy", { locale: Se }), T = `${Tt(y)} ${p}`;
@@ -2623,12 +2623,12 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
2623
2623
  ] }),
2624
2624
  /* @__PURE__ */ n("div", { className: ae.grid, children: m.map((g) => /* @__PURE__ */ n("div", { className: ae.dayNameCell, children: g }, g)) }),
2625
2625
  /* @__PURE__ */ n("div", { className: ae.grid, children: x.map((g) => {
2626
- const j = vt(g, r), M = t && Ye(t) && lo(g, t), F = co(g), w = [
2626
+ const M = vt(g, r), N = e && qe(e) && lo(g, e), F = co(g), w = [
2627
2627
  ae.dateCell,
2628
- j ? "" : ae.otherMonth,
2629
- M ? ae.selectedDate : "",
2628
+ M ? "" : ae.otherMonth,
2629
+ N ? ae.selectedDate : "",
2630
2630
  // Utheving basert på prop
2631
- F && !M ? ae.todayDate : ""
2631
+ F && !N ? ae.todayDate : ""
2632
2632
  ].filter(Boolean).join(" ");
2633
2633
  return /* @__PURE__ */ n(
2634
2634
  "div",
@@ -2638,7 +2638,7 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
2638
2638
  onKeyDown: (L) => b(L, g),
2639
2639
  role: "button",
2640
2640
  tabIndex: 0,
2641
- "aria-pressed": M ?? !1,
2641
+ "aria-pressed": N ?? !1,
2642
2642
  "aria-label": Ie(g, "PPP", { locale: Se }),
2643
2643
  children: /* @__PURE__ */ n("span", { className: ae.dateNumberContainer, children: Ie(g, "d") })
2644
2644
  },
@@ -2650,9 +2650,9 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
2650
2650
  );
2651
2651
  };
2652
2652
  ur.displayName = "DatePicker";
2653
- function pr(e) {
2653
+ function pr(t) {
2654
2654
  return `
2655
- .${e.calendarContainer} {
2655
+ .${t.calendarContainer} {
2656
2656
  display: inline-flex;
2657
2657
  padding: var(--ds-size-8, 32px);
2658
2658
  flex-direction: column;
@@ -2666,13 +2666,13 @@ function pr(e) {
2666
2666
  max-width: 100%;
2667
2667
  box-sizing: border-box;
2668
2668
  }
2669
- .${e.calendarHeader} {
2669
+ .${t.calendarHeader} {
2670
2670
  display: flex;
2671
2671
  justify-content: space-between;
2672
2672
  align-items: center;
2673
2673
  align-self: stretch;
2674
2674
  }
2675
- .${e.monthYear} {
2675
+ .${t.monthYear} {
2676
2676
  color: var(--ds-color-text-default, #2b2b2b);
2677
2677
  font-family: var(--ds-font-family, sans-serif);
2678
2678
  font-size: var(--ds-heading-sm-font-size, 1.5rem);
@@ -2680,21 +2680,21 @@ function pr(e) {
2680
2680
  line-height: var(--ds-heading-sm-line-height, 1.3);
2681
2681
  margin: 0;
2682
2682
  }
2683
- .${e.navigationButtons} {
2683
+ .${t.navigationButtons} {
2684
2684
  display: flex;
2685
2685
  gap: var(--ds-size-1, 4px);
2686
2686
  }
2687
- .${e.navigationButtons} > button:disabled svg {
2687
+ .${t.navigationButtons} > button:disabled svg {
2688
2688
  opacity: var(--ds-opacity-disabled, 0.3);
2689
2689
  }
2690
- .${e.grid} {
2690
+ .${t.grid} {
2691
2691
  display: grid;
2692
2692
  grid-template-columns: repeat(7, 1fr);
2693
2693
  width: 100%;
2694
2694
  text-align: center;
2695
2695
  overflow: hidden;
2696
2696
  }
2697
- .${e.dayNameCell} {
2697
+ .${t.dayNameCell} {
2698
2698
  display: flex;
2699
2699
  padding: var(--ds-size-2, 8px);
2700
2700
  flex-direction: column;
@@ -2709,7 +2709,7 @@ function pr(e) {
2709
2709
  box-sizing: border-box;
2710
2710
  min-width: 0;
2711
2711
  }
2712
- .${e.dateCell} {
2712
+ .${t.dateCell} {
2713
2713
  display: flex;
2714
2714
  padding: var(--ds-size-5, 22px);
2715
2715
  flex-direction: column;
@@ -2729,7 +2729,7 @@ function pr(e) {
2729
2729
  user-select: none;
2730
2730
  min-width: 0;
2731
2731
  }
2732
- .${e.dateNumberContainer} {
2732
+ .${t.dateNumberContainer} {
2733
2733
  display: flex;
2734
2734
  justify-content: center;
2735
2735
  align-items: center;
@@ -2741,12 +2741,12 @@ function pr(e) {
2741
2741
  box-sizing: border-box;
2742
2742
  background-color: transparent;
2743
2743
  }
2744
- .${e.dateCell}:hover:not(.${e.otherMonth}):not(.${e.disabled}) {
2744
+ .${t.dateCell}:hover:not(.${t.otherMonth}):not(.${t.disabled}) {
2745
2745
  background-color: var(--ds-color-surface-hover, #eee);
2746
2746
  position: relative;
2747
2747
  z-index: 1;
2748
2748
  }
2749
- .${e.otherMonth} {
2749
+ .${t.otherMonth} {
2750
2750
  color: var(--ds-color-text-subtle, #aaa);
2751
2751
  cursor: default;
2752
2752
  pointer-events: none;
@@ -2754,56 +2754,56 @@ function pr(e) {
2754
2754
  border: var(--ds-border-width-default, 1px) solid var(--ds-color-border-subtle, #bcbcbc);
2755
2755
  margin: -0.5px;
2756
2756
  }
2757
- .${e.selectedDate} {
2757
+ .${t.selectedDate} {
2758
2758
  background-color: var(--ds-color-base-default, #C30000);
2759
2759
  border-color: var(--ds-color-base-default, #C30000);
2760
2760
  color: var(--ds-color-base-contrast-default, #fff);
2761
2761
  position: relative;
2762
2762
  z-index: 1;
2763
2763
  }
2764
- .${e.selectedDate} .${e.dateNumberContainer} {
2764
+ .${t.selectedDate} .${t.dateNumberContainer} {
2765
2765
  color: var(--ds-color-base-contrast-default, #fff);
2766
2766
  font-weight: var(--ds-font-weight-semibold, 600);
2767
2767
  background-color: transparent;
2768
2768
  }
2769
- .${e.todayDate} .${e.dateNumberContainer} {
2769
+ .${t.todayDate} .${t.dateNumberContainer} {
2770
2770
  font-weight: var(--ds-font-weight-semibold, 600);
2771
2771
  }
2772
2772
  @media (max-width: 480px) {
2773
- .${e.calendarContainer} {
2773
+ .${t.calendarContainer} {
2774
2774
  padding: var(--ds-size-4, 16px);
2775
2775
  gap: var(--ds-size-2, 8px);
2776
2776
  width: 100%;
2777
2777
  }
2778
- .${e.monthYear} {
2778
+ .${t.monthYear} {
2779
2779
  font-size: var(--ds-heading-xs-font-size, 1.125rem);
2780
2780
  }
2781
- .${e.dayNameCell} {
2781
+ .${t.dayNameCell} {
2782
2782
  padding: var(--ds-size-1, 4px);
2783
2783
  font-size: var(--ds-body-2xs-font-size, 12px);
2784
2784
  }
2785
- .${e.dateCell} {
2785
+ .${t.dateCell} {
2786
2786
  padding: var(--ds-size-2, 8px);
2787
2787
  font-size: var(--ds-body-2xs-font-size, 12px);
2788
2788
  }
2789
- .${e.dateNumberContainer} {
2789
+ .${t.dateNumberContainer} {
2790
2790
  width: 20px;
2791
2791
  height: 20px;
2792
2792
  }
2793
2793
  }
2794
2794
  @media (max-width: 360px) {
2795
- .${e.calendarContainer} {
2795
+ .${t.calendarContainer} {
2796
2796
  padding: var(--ds-size-2, 8px);
2797
2797
  }
2798
- .${e.dayNameCell} {
2798
+ .${t.dayNameCell} {
2799
2799
  padding: 2px;
2800
2800
  font-size: 10px;
2801
2801
  }
2802
- .${e.dateCell} {
2802
+ .${t.dateCell} {
2803
2803
  padding: var(--ds-size-1, 4px);
2804
2804
  font-size: 11px;
2805
2805
  }
2806
- .${e.dateNumberContainer} {
2806
+ .${t.dateNumberContainer} {
2807
2807
  width: 16px;
2808
2808
  height: 16px;
2809
2809
  }
@@ -2818,22 +2818,22 @@ const mr = "_fieldset_16fx7_2", gr = "_description_16fx7_14", fr = "_error_16fx7
2818
2818
  inputWrapperError: kr,
2819
2819
  suffixButton: vr,
2820
2820
  suffixButtonInteractive: br
2821
- }, St = (e) => {
2822
- const t = e.slice(0, 2), o = e.slice(2, 4), s = e.slice(4, 8);
2823
- return e.length > 4 ? `${t}.${o}.${s}` : e.length > 2 ? `${t}.${o}` : e.length > 0 ? t : "";
2824
- }, Ct = (e) => (e || "").replace(/\D/g, ""), wt = (e) => {
2825
- let t = e;
2826
- if (t.length >= 2) {
2827
- const o = parseInt(t.substring(0, 2), 10);
2828
- !isNaN(o) && o > 31 && (t = "31" + t.substring(2));
2829
- }
2830
- if (t.length >= 4) {
2831
- const o = parseInt(t.substring(2, 4), 10);
2832
- !isNaN(o) && o > 12 && (t = t.substring(0, 2) + "12" + t.substring(4));
2833
- }
2834
- return t.slice(0, 8);
2821
+ }, St = (t) => {
2822
+ const e = t.slice(0, 2), o = t.slice(2, 4), s = t.slice(4, 8);
2823
+ return t.length > 4 ? `${e}.${o}.${s}` : t.length > 2 ? `${e}.${o}` : t.length > 0 ? e : "";
2824
+ }, Ct = (t) => (t || "").replace(/\D/g, ""), wt = (t) => {
2825
+ let e = t;
2826
+ if (e.length >= 2) {
2827
+ const o = parseInt(e.substring(0, 2), 10);
2828
+ !isNaN(o) && o > 31 && (e = "31" + e.substring(2));
2829
+ }
2830
+ if (e.length >= 4) {
2831
+ const o = parseInt(e.substring(2, 4), 10);
2832
+ !isNaN(o) && o > 12 && (e = e.substring(0, 2) + "12" + e.substring(4));
2833
+ }
2834
+ return e.slice(0, 8);
2835
2835
  }, yr = ge(
2836
- (e, t) => {
2836
+ (t, e) => {
2837
2837
  const { t: o } = Fe();
2838
2838
  Q(() => {
2839
2839
  const h = "rk-dateinput-inline-styles";
@@ -2863,9 +2863,9 @@ const mr = "_fieldset_16fx7_2", gr = "_description_16fx7_14", fr = "_error_16fx7
2863
2863
  onClick: T,
2864
2864
  onFocus: g,
2865
2865
  // Send ekstern onFocus videre
2866
- onBlur: j,
2866
+ onBlur: M,
2867
2867
  // Send ekstern onBlur videre
2868
- autoComplete: M = "off",
2868
+ autoComplete: N = "off",
2869
2869
  "aria-label": F,
2870
2870
  "aria-labelledby": w,
2871
2871
  description: L,
@@ -2873,12 +2873,12 @@ const mr = "_fieldset_16fx7_2", gr = "_description_16fx7_14", fr = "_error_16fx7
2873
2873
  // Bruk error-prop for styling
2874
2874
  "data-color": R,
2875
2875
  // <-- Destrukturering
2876
- "data-size": E,
2876
+ "data-size": j,
2877
2877
  // <-- Destrukturering
2878
2878
  ...U
2879
- } = e, D = u !== void 0, P = Qe(null);
2879
+ } = t, D = u !== void 0, P = Qe(null);
2880
2880
  Je.useImperativeHandle(
2881
- t,
2881
+ e,
2882
2882
  () => P.current
2883
2883
  );
2884
2884
  const $ = ce(
@@ -2896,7 +2896,7 @@ const mr = "_fieldset_16fx7_2", gr = "_description_16fx7_14", fr = "_error_16fx7
2896
2896
  h !== G && (B(h), P.current && P.current.value !== h && (P.current.value = h));
2897
2897
  }
2898
2898
  }, [u, D, G, $]);
2899
- const q = ce(
2899
+ const Y = ce(
2900
2900
  (h) => {
2901
2901
  const _ = h.target, z = _.value, ee = G, K = Ct(z).slice(0, 8), I = wt(K), W = St(I);
2902
2902
  let O = 0;
@@ -2912,7 +2912,7 @@ const mr = "_fieldset_16fx7_2", gr = "_description_16fx7_14", fr = "_error_16fx7
2912
2912
  });
2913
2913
  },
2914
2914
  [G, D, m, $]
2915
- ), H = [he.fieldset, r].filter(Boolean).join(" "), Y = [
2915
+ ), H = [he.fieldset, r].filter(Boolean).join(" "), q = [
2916
2916
  he.inputWrapper,
2917
2917
  c,
2918
2918
  A ? he.inputWrapperError : ""
@@ -2923,7 +2923,7 @@ const mr = "_fieldset_16fx7_2", gr = "_description_16fx7_14", fr = "_error_16fx7
2923
2923
  i ? he.suffixButtonInteractive : ""
2924
2924
  ].filter(Boolean).join(" ");
2925
2925
  !s && !F && !w && console.warn("Advarsel: DateInput-komponenten bør ha label, aria-label, eller aria-labelledby for tilgjengelighet.");
2926
- const ie = s && typeof s == "string" ? w || `${l}-label` : void 0, re = L ? `${l}-desc` : void 0, N = A ? `${l}-err` : void 0, V = [re, N].filter(Boolean).join(" ") || void 0;
2926
+ const ie = s && typeof s == "string" ? w || `${l}-label` : void 0, re = L ? `${l}-desc` : void 0, E = A ? `${l}-err` : void 0, V = [re, E].filter(Boolean).join(" ") || void 0;
2927
2927
  return (
2928
2928
  // --- Bruk data-color og data-size på den ytre wrapperen ---
2929
2929
  /* @__PURE__ */ v(
@@ -2931,11 +2931,11 @@ const mr = "_fieldset_16fx7_2", gr = "_description_16fx7_14", fr = "_error_16fx7
2931
2931
  {
2932
2932
  className: H,
2933
2933
  "data-color": R,
2934
- "data-size": E,
2934
+ "data-size": j,
2935
2935
  children: [
2936
2936
  s && typeof s == "string" ? /* @__PURE__ */ n("label", { id: ie, htmlFor: l, children: s }) : s,
2937
2937
  L && /* @__PURE__ */ n("p", { id: re, className: he.description, children: L }),
2938
- /* @__PURE__ */ v("div", { className: Y, children: [
2938
+ /* @__PURE__ */ v("div", { className: q, children: [
2939
2939
  /* @__PURE__ */ n(
2940
2940
  "input",
2941
2941
  {
@@ -2952,10 +2952,10 @@ const mr = "_fieldset_16fx7_2", gr = "_description_16fx7_14", fr = "_error_16fx7
2952
2952
  required: y,
2953
2953
  disabled: p,
2954
2954
  onClick: T,
2955
- onChange: q,
2955
+ onChange: Y,
2956
2956
  onFocus: g,
2957
- onBlur: j,
2958
- autoComplete: M,
2957
+ onBlur: M,
2958
+ autoComplete: N,
2959
2959
  "aria-label": F,
2960
2960
  "aria-labelledby": ie,
2961
2961
  "aria-describedby": V,
@@ -2978,7 +2978,7 @@ const mr = "_fieldset_16fx7_2", gr = "_description_16fx7_14", fr = "_error_16fx7
2978
2978
  }
2979
2979
  )
2980
2980
  ] }),
2981
- A && /* @__PURE__ */ n("p", { id: N, className: he.error, role: "alert", children: A })
2981
+ A && /* @__PURE__ */ n("p", { id: E, className: he.error, role: "alert", children: A })
2982
2982
  ]
2983
2983
  }
2984
2984
  )
@@ -2986,29 +2986,29 @@ const mr = "_fieldset_16fx7_2", gr = "_description_16fx7_14", fr = "_error_16fx7
2986
2986
  }
2987
2987
  );
2988
2988
  yr.displayName = "DateInput";
2989
- function xr(e) {
2989
+ function xr(t) {
2990
2990
  return `
2991
- .${e.fieldset} {
2991
+ .${t.fieldset} {
2992
2992
  margin-bottom: var(--ds-spacing-4, 16px);
2993
2993
  }
2994
- .${e.fieldset} label {
2994
+ .${t.fieldset} label {
2995
2995
  display: block;
2996
2996
  margin-bottom: var(--ds-spacing-1, 4px);
2997
2997
  font-weight: var(--ds-font-weight-medium, 500);
2998
2998
  color: var(--ds-color-text-default, #2b2b2b);
2999
2999
  }
3000
- .${e.description} {
3000
+ .${t.description} {
3001
3001
  font-size: var(--ds-font-size-sm, 14px);
3002
3002
  color: var(--ds-color-text-subtle, #5d5d5d);
3003
3003
  margin-top: var(--ds-spacing-1, 4px);
3004
3004
  margin-bottom: var(--ds-spacing-2, 8px);
3005
3005
  }
3006
- .${e.error} {
3006
+ .${t.error} {
3007
3007
  font-size: var(--ds-font-size-sm, 14px);
3008
3008
  color: var(--ds-color-danger-text-default, #c30000);
3009
3009
  margin-top: var(--ds-spacing-1, 4px);
3010
3010
  }
3011
- .${e.inputWrapper} {
3011
+ .${t.inputWrapper} {
3012
3012
  display: flex;
3013
3013
  align-items: stretch;
3014
3014
  width: 100%;
@@ -3018,14 +3018,14 @@ function xr(e) {
3018
3018
  overflow: hidden;
3019
3019
  transition: border-color 0.1s ease-out, outline 0.1s ease-out;
3020
3020
  }
3021
- .${e.inputWrapperError} {
3021
+ .${t.inputWrapperError} {
3022
3022
  border-color: var(--ds-color-danger-border-default, #c30000);
3023
3023
  }
3024
- .${e.inputWrapper}:focus-within {
3024
+ .${t.inputWrapper}:focus-within {
3025
3025
  outline: var(--ds-border-width-focus, 3px) solid var(--ds-color-focus-outer, #2B2B2B);
3026
3026
  outline-offset: var(--ds-focus-outline-offset, 2px);
3027
3027
  }
3028
- .${e.inputWrapper} input {
3028
+ .${t.inputWrapper} input {
3029
3029
  box-sizing: border-box;
3030
3030
  flex-grow: 1;
3031
3031
  width: auto;
@@ -3041,13 +3041,13 @@ function xr(e) {
3041
3041
  appearance: none;
3042
3042
  -webkit-appearance: none;
3043
3043
  }
3044
- .${e.inputWrapper} input:disabled {
3044
+ .${t.inputWrapper} input:disabled {
3045
3045
  opacity: var(--ds-opacity-disabled, 0.5);
3046
3046
  cursor: not-allowed;
3047
3047
  background-color: var(--ds-color-neutral-surface-subtle, #f0f0f0);
3048
3048
  color: var(--ds-color-neutral-text-subtle, #5d5d5d);
3049
3049
  }
3050
- .${e.suffixButton} {
3050
+ .${t.suffixButton} {
3051
3051
  display: inline-flex;
3052
3052
  align-items: center;
3053
3053
  justify-content: center;
@@ -3064,14 +3064,14 @@ function xr(e) {
3064
3064
  cursor: default;
3065
3065
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
3066
3066
  }
3067
- .${e.suffixButtonInteractive} {
3067
+ .${t.suffixButtonInteractive} {
3068
3068
  cursor: pointer;
3069
3069
  }
3070
- .${e.suffixButtonInteractive}:hover:not(:disabled) {
3070
+ .${t.suffixButtonInteractive}:hover:not(:disabled) {
3071
3071
  color: var(--ds-color-text-default, #2b2b2b);
3072
3072
  background-color: var(--ds-color-surface-hover, #dadada);
3073
3073
  }
3074
- .${e.suffixButton}:disabled {
3074
+ .${t.suffixButton}:disabled {
3075
3075
  opacity: var(--ds-opacity-disabled, 0.3);
3076
3076
  cursor: not-allowed;
3077
3077
  background-color: var(--ds-color-neutral-surface-tinted, #e8e8e8);
@@ -3079,92 +3079,92 @@ function xr(e) {
3079
3079
  }
3080
3080
  `;
3081
3081
  }
3082
- function Tr(e) {
3083
- return Object.prototype.toString.call(e) === "[object Object]";
3082
+ function Tr(t) {
3083
+ return Object.prototype.toString.call(t) === "[object Object]";
3084
3084
  }
3085
- function It(e) {
3086
- return Tr(e) || Array.isArray(e);
3085
+ function It(t) {
3086
+ return Tr(t) || Array.isArray(t);
3087
3087
  }
3088
3088
  function Sr() {
3089
3089
  return !!(typeof window < "u" && window.document && window.document.createElement);
3090
3090
  }
3091
- function rt(e, t) {
3092
- const o = Object.keys(e), s = Object.keys(t);
3091
+ function rt(t, e) {
3092
+ const o = Object.keys(t), s = Object.keys(e);
3093
3093
  if (o.length !== s.length) return !1;
3094
- const a = JSON.stringify(Object.keys(e.breakpoints || {})), i = JSON.stringify(Object.keys(t.breakpoints || {}));
3094
+ const a = JSON.stringify(Object.keys(t.breakpoints || {})), i = JSON.stringify(Object.keys(e.breakpoints || {}));
3095
3095
  return a !== i ? !1 : o.every((r) => {
3096
- const c = e[r], d = t[r];
3096
+ const c = t[r], d = e[r];
3097
3097
  return typeof c == "function" ? `${c}` == `${d}` : !It(c) || !It(d) ? c === d : rt(c, d);
3098
3098
  });
3099
3099
  }
3100
- function _t(e) {
3101
- return e.concat().sort((t, o) => t.name > o.name ? 1 : -1).map((t) => t.options);
3100
+ function _t(t) {
3101
+ return t.concat().sort((e, o) => e.name > o.name ? 1 : -1).map((e) => e.options);
3102
3102
  }
3103
- function Cr(e, t) {
3104
- if (e.length !== t.length) return !1;
3105
- const o = _t(e), s = _t(t);
3103
+ function Cr(t, e) {
3104
+ if (t.length !== e.length) return !1;
3105
+ const o = _t(t), s = _t(e);
3106
3106
  return o.every((a, i) => {
3107
3107
  const r = s[i];
3108
3108
  return rt(a, r);
3109
3109
  });
3110
3110
  }
3111
- function st(e) {
3112
- return typeof e == "number";
3111
+ function st(t) {
3112
+ return typeof t == "number";
3113
3113
  }
3114
- function tt(e) {
3115
- return typeof e == "string";
3114
+ function tt(t) {
3115
+ return typeof t == "string";
3116
3116
  }
3117
- function He(e) {
3118
- return typeof e == "boolean";
3117
+ function He(t) {
3118
+ return typeof t == "boolean";
3119
3119
  }
3120
- function Dt(e) {
3121
- return Object.prototype.toString.call(e) === "[object Object]";
3120
+ function Dt(t) {
3121
+ return Object.prototype.toString.call(t) === "[object Object]";
3122
3122
  }
3123
- function X(e) {
3124
- return Math.abs(e);
3123
+ function X(t) {
3124
+ return Math.abs(t);
3125
3125
  }
3126
- function it(e) {
3127
- return Math.sign(e);
3126
+ function it(t) {
3127
+ return Math.sign(t);
3128
3128
  }
3129
- function je(e, t) {
3130
- return X(e - t);
3129
+ function Me(t, e) {
3130
+ return X(t - e);
3131
3131
  }
3132
- function wr(e, t) {
3133
- if (e === 0 || t === 0 || X(e) <= X(t)) return 0;
3134
- const o = je(X(e), X(t));
3135
- return X(o / e);
3132
+ function wr(t, e) {
3133
+ if (t === 0 || e === 0 || X(t) <= X(e)) return 0;
3134
+ const o = Me(X(t), X(e));
3135
+ return X(o / t);
3136
3136
  }
3137
- function Ir(e) {
3138
- return Math.round(e * 100) / 100;
3137
+ function Ir(t) {
3138
+ return Math.round(t * 100) / 100;
3139
3139
  }
3140
- function Me(e) {
3141
- return Ne(e).map(Number);
3140
+ function Ne(t) {
3141
+ return Ee(t).map(Number);
3142
3142
  }
3143
- function pe(e) {
3144
- return e[Be(e)];
3143
+ function pe(t) {
3144
+ return t[Be(t)];
3145
3145
  }
3146
- function Be(e) {
3147
- return Math.max(0, e.length - 1);
3146
+ function Be(t) {
3147
+ return Math.max(0, t.length - 1);
3148
3148
  }
3149
- function at(e, t) {
3150
- return t === Be(e);
3149
+ function at(t, e) {
3150
+ return e === Be(t);
3151
3151
  }
3152
- function Lt(e, t = 0) {
3153
- return Array.from(Array(e), (o, s) => t + s);
3152
+ function Lt(t, e = 0) {
3153
+ return Array.from(Array(t), (o, s) => e + s);
3154
3154
  }
3155
- function Ne(e) {
3156
- return Object.keys(e);
3155
+ function Ee(t) {
3156
+ return Object.keys(t);
3157
3157
  }
3158
- function zt(e, t) {
3159
- return [e, t].reduce((o, s) => (Ne(s).forEach((a) => {
3158
+ function zt(t, e) {
3159
+ return [t, e].reduce((o, s) => (Ee(s).forEach((a) => {
3160
3160
  const i = o[a], r = s[a], c = Dt(i) && Dt(r);
3161
3161
  o[a] = c ? zt(i, r) : r;
3162
3162
  }), o), {});
3163
3163
  }
3164
- function nt(e, t) {
3165
- return typeof t.MouseEvent < "u" && e instanceof t.MouseEvent;
3164
+ function nt(t, e) {
3165
+ return typeof e.MouseEvent < "u" && t instanceof e.MouseEvent;
3166
3166
  }
3167
- function _r(e, t) {
3167
+ function _r(t, e) {
3168
3168
  const o = {
3169
3169
  start: s,
3170
3170
  center: a,
@@ -3177,18 +3177,18 @@ function _r(e, t) {
3177
3177
  return i(d) / 2;
3178
3178
  }
3179
3179
  function i(d) {
3180
- return t - d;
3180
+ return e - d;
3181
3181
  }
3182
3182
  function r(d, u) {
3183
- return tt(e) ? o[e](d) : e(t, d, u);
3183
+ return tt(t) ? o[t](d) : t(e, d, u);
3184
3184
  }
3185
3185
  return {
3186
3186
  measure: r
3187
3187
  };
3188
3188
  }
3189
- function Ee() {
3190
- let e = [];
3191
- function t(a, i, r, c = {
3189
+ function je() {
3190
+ let t = [];
3191
+ function e(a, i, r, c = {
3192
3192
  passive: !0
3193
3193
  }) {
3194
3194
  let d;
@@ -3198,23 +3198,23 @@ function Ee() {
3198
3198
  const u = a;
3199
3199
  u.addListener(r), d = () => u.removeListener(r);
3200
3200
  }
3201
- return e.push(d), s;
3201
+ return t.push(d), s;
3202
3202
  }
3203
3203
  function o() {
3204
- e = e.filter((a) => a());
3204
+ t = t.filter((a) => a());
3205
3205
  }
3206
3206
  const s = {
3207
- add: t,
3207
+ add: e,
3208
3208
  clear: o
3209
3209
  };
3210
3210
  return s;
3211
3211
  }
3212
- function Dr(e, t, o, s) {
3213
- const a = Ee(), i = 1e3 / 60;
3212
+ function Dr(t, e, o, s) {
3213
+ const a = je(), i = 1e3 / 60;
3214
3214
  let r = null, c = 0, d = 0;
3215
3215
  function u() {
3216
- a.add(e, "visibilitychange", () => {
3217
- e.hidden && l();
3216
+ a.add(t, "visibilitychange", () => {
3217
+ t.hidden && l();
3218
3218
  });
3219
3219
  }
3220
3220
  function x() {
@@ -3227,13 +3227,13 @@ function Dr(e, t, o, s) {
3227
3227
  for (r = y, c += p; c >= i; )
3228
3228
  o(), c -= i;
3229
3229
  const T = c / i;
3230
- s(T), d && (d = t.requestAnimationFrame(m));
3230
+ s(T), d && (d = e.requestAnimationFrame(m));
3231
3231
  }
3232
3232
  function f() {
3233
- d || (d = t.requestAnimationFrame(m));
3233
+ d || (d = e.requestAnimationFrame(m));
3234
3234
  }
3235
3235
  function S() {
3236
- t.cancelAnimationFrame(d), r = null, c = 0, d = 0;
3236
+ e.cancelAnimationFrame(d), r = null, c = 0, d = 0;
3237
3237
  }
3238
3238
  function l() {
3239
3239
  r = null, c = 0;
@@ -3247,8 +3247,8 @@ function Dr(e, t, o, s) {
3247
3247
  render: s
3248
3248
  };
3249
3249
  }
3250
- function Lr(e, t) {
3251
- const o = t === "rtl", s = e === "y", a = s ? "y" : "x", i = s ? "x" : "y", r = !s && o ? -1 : 1, c = x(), d = m();
3250
+ function Lr(t, e) {
3251
+ const o = e === "rtl", s = t === "y", a = s ? "y" : "x", i = s ? "x" : "y", r = !s && o ? -1 : 1, c = x(), d = m();
3252
3252
  function u(l) {
3253
3253
  const {
3254
3254
  height: b,
@@ -3274,27 +3274,27 @@ function Lr(e, t) {
3274
3274
  direction: f
3275
3275
  };
3276
3276
  }
3277
- function ye(e = 0, t = 0) {
3278
- const o = X(e - t);
3277
+ function ye(t = 0, e = 0) {
3278
+ const o = X(t - e);
3279
3279
  function s(u) {
3280
- return u < e;
3280
+ return u < t;
3281
3281
  }
3282
3282
  function a(u) {
3283
- return u > t;
3283
+ return u > e;
3284
3284
  }
3285
3285
  function i(u) {
3286
3286
  return s(u) || a(u);
3287
3287
  }
3288
3288
  function r(u) {
3289
- return i(u) ? s(u) ? e : t : u;
3289
+ return i(u) ? s(u) ? t : e : u;
3290
3290
  }
3291
3291
  function c(u) {
3292
- return o ? u - o * Math.ceil((u - t) / o) : u;
3292
+ return o ? u - o * Math.ceil((u - e) / o) : u;
3293
3293
  }
3294
3294
  return {
3295
3295
  length: o,
3296
- max: t,
3297
- min: e,
3296
+ max: e,
3297
+ min: t,
3298
3298
  constrain: r,
3299
3299
  reachedAny: i,
3300
3300
  reachedMax: a,
@@ -3302,11 +3302,11 @@ function ye(e = 0, t = 0) {
3302
3302
  removeOffset: c
3303
3303
  };
3304
3304
  }
3305
- function Rt(e, t, o) {
3305
+ function Rt(t, e, o) {
3306
3306
  const {
3307
3307
  constrain: s
3308
- } = ye(0, e), a = e + 1;
3309
- let i = r(t);
3308
+ } = ye(0, t), a = t + 1;
3309
+ let i = r(e);
3310
3310
  function r(f) {
3311
3311
  return o ? X((a + f) % a) : s(f);
3312
3312
  }
@@ -3320,7 +3320,7 @@ function Rt(e, t, o) {
3320
3320
  return x().set(c() + f);
3321
3321
  }
3322
3322
  function x() {
3323
- return Rt(e, c(), o);
3323
+ return Rt(t, c(), o);
3324
3324
  }
3325
3325
  const m = {
3326
3326
  get: c,
@@ -3330,26 +3330,26 @@ function Rt(e, t, o) {
3330
3330
  };
3331
3331
  return m;
3332
3332
  }
3333
- function Ar(e, t, o, s, a, i, r, c, d, u, x, m, f, S, l, b, y, p, T) {
3333
+ function Ar(t, e, o, s, a, i, r, c, d, u, x, m, f, S, l, b, y, p, T) {
3334
3334
  const {
3335
3335
  cross: g,
3336
- direction: j
3337
- } = e, M = ["INPUT", "SELECT", "TEXTAREA"], F = {
3336
+ direction: M
3337
+ } = t, N = ["INPUT", "SELECT", "TEXTAREA"], F = {
3338
3338
  passive: !1
3339
- }, w = Ee(), L = Ee(), A = ye(50, 225).constrain(S.measure(20)), R = {
3339
+ }, w = je(), L = je(), A = ye(50, 225).constrain(S.measure(20)), R = {
3340
3340
  mouse: 300,
3341
3341
  touch: 400
3342
- }, E = {
3342
+ }, j = {
3343
3343
  mouse: 500,
3344
3344
  touch: 600
3345
3345
  }, U = l ? 43 : 25;
3346
- let D = !1, P = 0, $ = 0, G = !1, B = !1, q = !1, H = !1;
3347
- function Y(I) {
3346
+ let D = !1, P = 0, $ = 0, G = !1, B = !1, Y = !1, H = !1;
3347
+ function q(I) {
3348
3348
  if (!T) return;
3349
3349
  function W(J) {
3350
3350
  (He(T) || T(I, J)) && V(J);
3351
3351
  }
3352
- const O = t;
3352
+ const O = e;
3353
3353
  w.add(O, "dragstart", (J) => J.preventDefault(), F).add(O, "touchmove", () => {
3354
3354
  }, F).add(O, "touchend", () => {
3355
3355
  }).add(O, "touchstart", W).add(O, "mousedown", W).add(O, "touchcancel", _).add(O, "contextmenu", _).add(O, "click", z, !0);
@@ -3358,56 +3358,56 @@ function Ar(e, t, o, s, a, i, r, c, d, u, x, m, f, S, l, b, y, p, T) {
3358
3358
  w.clear(), L.clear();
3359
3359
  }
3360
3360
  function le() {
3361
- const I = H ? o : t;
3361
+ const I = H ? o : e;
3362
3362
  L.add(I, "touchmove", h, F).add(I, "touchend", _).add(I, "mousemove", h, F).add(I, "mouseup", _);
3363
3363
  }
3364
3364
  function ie(I) {
3365
3365
  const W = I.nodeName || "";
3366
- return M.includes(W);
3366
+ return N.includes(W);
3367
3367
  }
3368
3368
  function re() {
3369
- return (l ? E : R)[H ? "mouse" : "touch"];
3369
+ return (l ? j : R)[H ? "mouse" : "touch"];
3370
3370
  }
3371
- function N(I, W) {
3371
+ function E(I, W) {
3372
3372
  const O = m.add(it(I) * -1), J = x.byDistance(I, !l).distance;
3373
3373
  return l || X(I) < A ? J : y && W ? J * 0.5 : x.byIndex(O.get(), 0).distance;
3374
3374
  }
3375
3375
  function V(I) {
3376
3376
  const W = nt(I, s);
3377
- H = W, q = l && W && !I.buttons && D, D = je(a.get(), r.get()) >= 2, !(W && I.button !== 0) && (ie(I.target) || (G = !0, i.pointerDown(I), u.useFriction(0).useDuration(0), a.set(r), le(), P = i.readPoint(I), $ = i.readPoint(I, g), f.emit("pointerDown")));
3377
+ H = W, Y = l && W && !I.buttons && D, D = Me(a.get(), r.get()) >= 2, !(W && I.button !== 0) && (ie(I.target) || (G = !0, i.pointerDown(I), u.useFriction(0).useDuration(0), a.set(r), le(), P = i.readPoint(I), $ = i.readPoint(I, g), f.emit("pointerDown")));
3378
3378
  }
3379
3379
  function h(I) {
3380
3380
  if (!nt(I, s) && I.touches.length >= 2) return _(I);
3381
- const O = i.readPoint(I), J = i.readPoint(I, g), de = je(O, P), me = je(J, $);
3381
+ const O = i.readPoint(I), J = i.readPoint(I, g), de = Me(O, P), me = Me(J, $);
3382
3382
  if (!B && !H && (!I.cancelable || (B = de > me, !B)))
3383
3383
  return _(I);
3384
3384
  const ve = i.pointerMove(I);
3385
- de > b && (q = !0), u.useFriction(0.3).useDuration(0.75), c.start(), a.add(j(ve)), I.preventDefault();
3385
+ de > b && (Y = !0), u.useFriction(0.3).useDuration(0.75), c.start(), a.add(M(ve)), I.preventDefault();
3386
3386
  }
3387
3387
  function _(I) {
3388
- const O = x.byDistance(0, !1).index !== m.get(), J = i.pointerUp(I) * re(), de = N(j(J), O), me = wr(J, de), ve = U - 10 * me, fe = p + me / 50;
3388
+ const O = x.byDistance(0, !1).index !== m.get(), J = i.pointerUp(I) * re(), de = E(M(J), O), me = wr(J, de), ve = U - 10 * me, fe = p + me / 50;
3389
3389
  B = !1, G = !1, L.clear(), u.useDuration(ve).useFriction(fe), d.distance(de, !l), H = !1, f.emit("pointerUp");
3390
3390
  }
3391
3391
  function z(I) {
3392
- q && (I.stopPropagation(), I.preventDefault(), q = !1);
3392
+ Y && (I.stopPropagation(), I.preventDefault(), Y = !1);
3393
3393
  }
3394
3394
  function ee() {
3395
3395
  return G;
3396
3396
  }
3397
3397
  return {
3398
- init: Y,
3398
+ init: q,
3399
3399
  destroy: Z,
3400
3400
  pointerDown: ee
3401
3401
  };
3402
3402
  }
3403
- function jr(e, t) {
3403
+ function Mr(t, e) {
3404
3404
  let s, a;
3405
3405
  function i(m) {
3406
3406
  return m.timeStamp;
3407
3407
  }
3408
3408
  function r(m, f) {
3409
- const l = `client${(f || e.scroll) === "x" ? "X" : "Y"}`;
3410
- return (nt(m, t) ? m : m.touches[0])[l];
3409
+ const l = `client${(f || t.scroll) === "x" ? "X" : "Y"}`;
3410
+ return (nt(m, e) ? m : m.touches[0])[l];
3411
3411
  }
3412
3412
  function c(m) {
3413
3413
  return s = m, a = m, r(m);
@@ -3428,8 +3428,8 @@ function jr(e, t) {
3428
3428
  readPoint: r
3429
3429
  };
3430
3430
  }
3431
- function Mr() {
3432
- function e(o) {
3431
+ function Nr() {
3432
+ function t(o) {
3433
3433
  const {
3434
3434
  offsetTop: s,
3435
3435
  offsetLeft: a,
@@ -3446,32 +3446,32 @@ function Mr() {
3446
3446
  };
3447
3447
  }
3448
3448
  return {
3449
- measure: e
3449
+ measure: t
3450
3450
  };
3451
3451
  }
3452
- function Nr(e) {
3453
- function t(s) {
3454
- return e * (s / 100);
3452
+ function Er(t) {
3453
+ function e(s) {
3454
+ return t * (s / 100);
3455
3455
  }
3456
3456
  return {
3457
- measure: t
3457
+ measure: e
3458
3458
  };
3459
3459
  }
3460
- function Er(e, t, o, s, a, i, r) {
3461
- const c = [e].concat(s);
3460
+ function jr(t, e, o, s, a, i, r) {
3461
+ const c = [t].concat(s);
3462
3462
  let d, u, x = [], m = !1;
3463
3463
  function f(y) {
3464
3464
  return a.measureSize(r.measure(y));
3465
3465
  }
3466
3466
  function S(y) {
3467
3467
  if (!i) return;
3468
- u = f(e), x = s.map(f);
3468
+ u = f(t), x = s.map(f);
3469
3469
  function p(T) {
3470
3470
  for (const g of T) {
3471
3471
  if (m) return;
3472
- const j = g.target === e, M = s.indexOf(g.target), F = j ? u : x[M], w = f(j ? e : s[M]);
3472
+ const M = g.target === t, N = s.indexOf(g.target), F = M ? u : x[N], w = f(M ? t : s[N]);
3473
3473
  if (X(w - F) >= 0.5) {
3474
- y.reInit(), t.emit("resize");
3474
+ y.reInit(), e.emit("resize");
3475
3475
  break;
3476
3476
  }
3477
3477
  }
@@ -3490,15 +3490,15 @@ function Er(e, t, o, s, a, i, r) {
3490
3490
  destroy: l
3491
3491
  };
3492
3492
  }
3493
- function Fr(e, t, o, s, a, i) {
3494
- let r = 0, c = 0, d = a, u = i, x = e.get(), m = 0;
3493
+ function Fr(t, e, o, s, a, i) {
3494
+ let r = 0, c = 0, d = a, u = i, x = t.get(), m = 0;
3495
3495
  function f() {
3496
- const F = s.get() - e.get(), w = !d;
3496
+ const F = s.get() - t.get(), w = !d;
3497
3497
  let L = 0;
3498
- return w ? (r = 0, o.set(s), e.set(s), L = F) : (o.set(e), r += F / d, r *= u, x += r, e.add(r), L = x - m), c = it(L), m = x, M;
3498
+ return w ? (r = 0, o.set(s), t.set(s), L = F) : (o.set(t), r += F / d, r *= u, x += r, t.add(r), L = x - m), c = it(L), m = x, N;
3499
3499
  }
3500
3500
  function S() {
3501
- const F = s.get() - t.get();
3501
+ const F = s.get() - e.get();
3502
3502
  return X(F) < 1e-3;
3503
3503
  }
3504
3504
  function l() {
@@ -3514,15 +3514,15 @@ function Fr(e, t, o, s, a, i) {
3514
3514
  return g(a);
3515
3515
  }
3516
3516
  function T() {
3517
- return j(i);
3517
+ return M(i);
3518
3518
  }
3519
3519
  function g(F) {
3520
- return d = F, M;
3520
+ return d = F, N;
3521
3521
  }
3522
- function j(F) {
3523
- return u = F, M;
3522
+ function M(F) {
3523
+ return u = F, N;
3524
3524
  }
3525
- const M = {
3525
+ const N = {
3526
3526
  direction: b,
3527
3527
  duration: l,
3528
3528
  velocity: y,
@@ -3530,21 +3530,21 @@ function Fr(e, t, o, s, a, i) {
3530
3530
  settled: S,
3531
3531
  useBaseFriction: T,
3532
3532
  useBaseDuration: p,
3533
- useFriction: j,
3533
+ useFriction: M,
3534
3534
  useDuration: g
3535
3535
  };
3536
- return M;
3536
+ return N;
3537
3537
  }
3538
- function Br(e, t, o, s, a) {
3538
+ function Br(t, e, o, s, a) {
3539
3539
  const i = a.measure(10), r = a.measure(50), c = ye(0.1, 0.99);
3540
3540
  let d = !1;
3541
3541
  function u() {
3542
- return !(d || !e.reachedAny(o.get()) || !e.reachedAny(t.get()));
3542
+ return !(d || !t.reachedAny(o.get()) || !t.reachedAny(e.get()));
3543
3543
  }
3544
3544
  function x(S) {
3545
3545
  if (!u()) return;
3546
- const l = e.reachedMin(t.get()) ? "min" : "max", b = X(e[l] - t.get()), y = o.get() - t.get(), p = c.constrain(b / r);
3547
- o.subtract(y * p), !S && X(y) < i && (o.set(e.constrain(o.get())), s.useDuration(25).useBaseFriction());
3546
+ const l = t.reachedMin(e.get()) ? "min" : "max", b = X(t[l] - e.get()), y = o.get() - e.get(), p = c.constrain(b / r);
3547
+ o.subtract(y * p), !S && X(y) < i && (o.set(t.constrain(o.get())), s.useDuration(25).useBaseFriction());
3548
3548
  }
3549
3549
  function m(S) {
3550
3550
  d = !S;
@@ -3555,10 +3555,10 @@ function Br(e, t, o, s, a) {
3555
3555
  toggleActive: m
3556
3556
  };
3557
3557
  }
3558
- function Pr(e, t, o, s, a) {
3559
- const i = ye(-t + e, 0), r = m(), c = x(), d = f();
3558
+ function Pr(t, e, o, s, a) {
3559
+ const i = ye(-e + t, 0), r = m(), c = x(), d = f();
3560
3560
  function u(l, b) {
3561
- return je(l, b) <= 1;
3561
+ return Me(l, b) <= 1;
3562
3562
  }
3563
3563
  function x() {
3564
3564
  const l = r[0], b = pe(r), y = r.lastIndexOf(l), p = r.indexOf(b) + 1;
@@ -3569,12 +3569,12 @@ function Pr(e, t, o, s, a) {
3569
3569
  const {
3570
3570
  min: y,
3571
3571
  max: p
3572
- } = i, T = i.constrain(l), g = !b, j = at(o, b);
3573
- return g ? p : j || u(y, T) ? y : u(p, T) ? p : T;
3572
+ } = i, T = i.constrain(l), g = !b, M = at(o, b);
3573
+ return g ? p : M || u(y, T) ? y : u(p, T) ? p : T;
3574
3574
  }).map((l) => parseFloat(l.toFixed(3)));
3575
3575
  }
3576
3576
  function f() {
3577
- if (t <= e + a) return [i.max];
3577
+ if (e <= t + a) return [i.max];
3578
3578
  if (s === "keepSnaps") return r;
3579
3579
  const {
3580
3580
  min: l,
@@ -3587,14 +3587,14 @@ function Pr(e, t, o, s, a) {
3587
3587
  scrollContainLimit: c
3588
3588
  };
3589
3589
  }
3590
- function $r(e, t, o) {
3591
- const s = t[0], a = o ? s - e : pe(t);
3590
+ function $r(t, e, o) {
3591
+ const s = e[0], a = o ? s - t : pe(e);
3592
3592
  return {
3593
3593
  limit: ye(a, s)
3594
3594
  };
3595
3595
  }
3596
- function zr(e, t, o, s) {
3597
- const i = t.min + 0.1, r = t.max + 0.1, {
3596
+ function zr(t, e, o, s) {
3597
+ const i = e.min + 0.1, r = e.max + 0.1, {
3598
3598
  reachedMin: c,
3599
3599
  reachedMax: d
3600
3600
  } = ye(i, r);
@@ -3603,33 +3603,33 @@ function zr(e, t, o, s) {
3603
3603
  }
3604
3604
  function x(f) {
3605
3605
  if (!u(f)) return;
3606
- const S = e * (f * -1);
3606
+ const S = t * (f * -1);
3607
3607
  s.forEach((l) => l.add(S));
3608
3608
  }
3609
3609
  return {
3610
3610
  loop: x
3611
3611
  };
3612
3612
  }
3613
- function Rr(e) {
3613
+ function Rr(t) {
3614
3614
  const {
3615
- max: t,
3615
+ max: e,
3616
3616
  length: o
3617
- } = e;
3617
+ } = t;
3618
3618
  function s(i) {
3619
- const r = i - t;
3619
+ const r = i - e;
3620
3620
  return o ? r / -o : 0;
3621
3621
  }
3622
3622
  return {
3623
3623
  get: s
3624
3624
  };
3625
3625
  }
3626
- function Gr(e, t, o, s, a) {
3626
+ function Gr(t, e, o, s, a) {
3627
3627
  const {
3628
3628
  startEdge: i,
3629
3629
  endEdge: r
3630
- } = e, {
3630
+ } = t, {
3631
3631
  groupSlides: c
3632
- } = a, d = m().map(t.measure), u = f(), x = S();
3632
+ } = a, d = m().map(e.measure), u = f(), x = S();
3633
3633
  function m() {
3634
3634
  return c(s).map((b) => pe(b)[r] - b[0][i]).map(X);
3635
3635
  }
@@ -3644,7 +3644,7 @@ function Gr(e, t, o, s, a) {
3644
3644
  snapsAligned: x
3645
3645
  };
3646
3646
  }
3647
- function Hr(e, t, o, s, a, i) {
3647
+ function Hr(t, e, o, s, a, i) {
3648
3648
  const {
3649
3649
  groupSlides: r
3650
3650
  } = a, {
@@ -3652,7 +3652,7 @@ function Hr(e, t, o, s, a, i) {
3652
3652
  max: d
3653
3653
  } = s, u = x();
3654
3654
  function x() {
3655
- const f = r(i), S = !e || t === "keepSnaps";
3655
+ const f = r(i), S = !t || e === "keepSnaps";
3656
3656
  return o.length === 1 ? [i] : S ? f : f.slice(c, d).map((l, b, y) => {
3657
3657
  const p = !b, T = at(y, b);
3658
3658
  if (p) {
@@ -3670,7 +3670,7 @@ function Hr(e, t, o, s, a, i) {
3670
3670
  slideRegistry: u
3671
3671
  };
3672
3672
  }
3673
- function Wr(e, t, o, s, a) {
3673
+ function Wr(t, e, o, s, a) {
3674
3674
  const {
3675
3675
  reachedAny: i,
3676
3676
  removeOffset: r,
@@ -3680,7 +3680,7 @@ function Wr(e, t, o, s, a) {
3680
3680
  return l.concat().sort((b, y) => X(b) - X(y))[0];
3681
3681
  }
3682
3682
  function u(l) {
3683
- const b = e ? r(l) : c(l), y = t.map((T, g) => ({
3683
+ const b = t ? r(l) : c(l), y = e.map((T, g) => ({
3684
3684
  diff: x(T - b, 0),
3685
3685
  index: g
3686
3686
  })).sort((T, g) => X(T.diff) - X(g.diff)), {
@@ -3693,13 +3693,13 @@ function Wr(e, t, o, s, a) {
3693
3693
  }
3694
3694
  function x(l, b) {
3695
3695
  const y = [l, l + o, l - o];
3696
- if (!e) return l;
3696
+ if (!t) return l;
3697
3697
  if (!b) return d(y);
3698
3698
  const p = y.filter((T) => it(T) === b);
3699
3699
  return p.length ? d(p) : pe(y) - o;
3700
3700
  }
3701
3701
  function m(l, b) {
3702
- const y = t[l] - a.get(), p = x(y, b);
3702
+ const y = e[l] - a.get(), p = x(y, b);
3703
3703
  return {
3704
3704
  index: l,
3705
3705
  distance: p
@@ -3709,15 +3709,15 @@ function Wr(e, t, o, s, a) {
3709
3709
  const y = a.get() + l, {
3710
3710
  index: p,
3711
3711
  distance: T
3712
- } = u(y), g = !e && i(y);
3712
+ } = u(y), g = !t && i(y);
3713
3713
  if (!b || g) return {
3714
3714
  index: p,
3715
3715
  distance: l
3716
3716
  };
3717
- const j = t[p] - T, M = l + x(j, 0);
3717
+ const M = e[p] - T, N = l + x(M, 0);
3718
3718
  return {
3719
3719
  index: p,
3720
- distance: M
3720
+ distance: N
3721
3721
  };
3722
3722
  }
3723
3723
  return {
@@ -3726,17 +3726,17 @@ function Wr(e, t, o, s, a) {
3726
3726
  shortcut: x
3727
3727
  };
3728
3728
  }
3729
- function Ur(e, t, o, s, a, i, r) {
3729
+ function Ur(t, e, o, s, a, i, r) {
3730
3730
  function c(m) {
3731
- const f = m.distance, S = m.index !== t.get();
3732
- i.add(f), f && (s.duration() ? e.start() : (e.update(), e.render(1), e.update())), S && (o.set(t.get()), t.set(m.index), r.emit("select"));
3731
+ const f = m.distance, S = m.index !== e.get();
3732
+ i.add(f), f && (s.duration() ? t.start() : (t.update(), t.render(1), t.update())), S && (o.set(e.get()), e.set(m.index), r.emit("select"));
3733
3733
  }
3734
3734
  function d(m, f) {
3735
3735
  const S = a.byDistance(m, f);
3736
3736
  c(S);
3737
3737
  }
3738
3738
  function u(m, f) {
3739
- const S = t.clone().set(m), l = a.byIndex(S.get(), f);
3739
+ const S = e.clone().set(m), l = a.byIndex(S.get(), f);
3740
3740
  c(l);
3741
3741
  }
3742
3742
  return {
@@ -3744,7 +3744,7 @@ function Ur(e, t, o, s, a, i, r) {
3744
3744
  index: u
3745
3745
  };
3746
3746
  }
3747
- function Or(e, t, o, s, a, i, r, c) {
3747
+ function Or(t, e, o, s, a, i, r, c) {
3748
3748
  const d = {
3749
3749
  passive: !0,
3750
3750
  capture: !0
@@ -3754,11 +3754,11 @@ function Or(e, t, o, s, a, i, r, c) {
3754
3754
  if (!c) return;
3755
3755
  function l(b) {
3756
3756
  if ((/* @__PURE__ */ new Date()).getTime() - u > 10) return;
3757
- r.emit("slideFocusStart"), e.scrollLeft = 0;
3757
+ r.emit("slideFocusStart"), t.scrollLeft = 0;
3758
3758
  const T = o.findIndex((g) => g.includes(b));
3759
3759
  st(T) && (a.useDuration(0), s.index(T, 0), r.emit("slideFocus"));
3760
3760
  }
3761
- i.add(document, "keydown", m, !1), t.forEach((b, y) => {
3761
+ i.add(document, "keydown", m, !1), e.forEach((b, y) => {
3762
3762
  i.add(b, "focus", (p) => {
3763
3763
  (He(c) || c(S, p)) && l(y);
3764
3764
  }, d);
@@ -3771,19 +3771,19 @@ function Or(e, t, o, s, a, i, r, c) {
3771
3771
  init: x
3772
3772
  };
3773
3773
  }
3774
- function Le(e) {
3775
- let t = e;
3774
+ function Le(t) {
3775
+ let e = t;
3776
3776
  function o() {
3777
- return t;
3777
+ return e;
3778
3778
  }
3779
3779
  function s(d) {
3780
- t = r(d);
3780
+ e = r(d);
3781
3781
  }
3782
3782
  function a(d) {
3783
- t += r(d);
3783
+ e += r(d);
3784
3784
  }
3785
3785
  function i(d) {
3786
- t -= r(d);
3786
+ e -= r(d);
3787
3787
  }
3788
3788
  function r(d) {
3789
3789
  return st(d) ? d : d.get();
@@ -3795,8 +3795,8 @@ function Le(e) {
3795
3795
  subtract: i
3796
3796
  };
3797
3797
  }
3798
- function Gt(e, t) {
3799
- const o = e.scroll === "x" ? r : c, s = t.style;
3798
+ function Gt(t, e) {
3799
+ const o = t.scroll === "x" ? r : c, s = e.style;
3800
3800
  let a = null, i = !1;
3801
3801
  function r(f) {
3802
3802
  return `translate3d(${f}px,0px,0px)`;
@@ -3806,14 +3806,14 @@ function Gt(e, t) {
3806
3806
  }
3807
3807
  function d(f) {
3808
3808
  if (i) return;
3809
- const S = Ir(e.direction(f));
3809
+ const S = Ir(t.direction(f));
3810
3810
  S !== a && (s.transform = o(S), a = S);
3811
3811
  }
3812
3812
  function u(f) {
3813
3813
  i = !f;
3814
3814
  }
3815
3815
  function x() {
3816
- i || (s.transform = "", t.getAttribute("style") || t.removeAttribute("style"));
3816
+ i || (s.transform = "", e.getAttribute("style") || e.removeAttribute("style"));
3817
3817
  }
3818
3818
  return {
3819
3819
  clear: x,
@@ -3821,8 +3821,8 @@ function Gt(e, t) {
3821
3821
  toggleActive: u
3822
3822
  };
3823
3823
  }
3824
- function Vr(e, t, o, s, a, i, r, c, d) {
3825
- const x = Me(a), m = Me(a).reverse(), f = p().concat(T());
3824
+ function Vr(t, e, o, s, a, i, r, c, d) {
3825
+ const x = Ne(a), m = Ne(a).reverse(), f = p().concat(T());
3826
3826
  function S(w, L) {
3827
3827
  return w.reduce((A, R) => A - a[R], L);
3828
3828
  }
@@ -3832,18 +3832,18 @@ function Vr(e, t, o, s, a, i, r, c, d) {
3832
3832
  function b(w) {
3833
3833
  return i.map((L, A) => ({
3834
3834
  start: L - s[A] + 0.5 + w,
3835
- end: L + t - 0.5 + w
3835
+ end: L + e - 0.5 + w
3836
3836
  }));
3837
3837
  }
3838
3838
  function y(w, L, A) {
3839
3839
  const R = b(L);
3840
- return w.map((E) => {
3841
- const U = A ? 0 : -o, D = A ? o : 0, P = A ? "end" : "start", $ = R[E][P];
3840
+ return w.map((j) => {
3841
+ const U = A ? 0 : -o, D = A ? o : 0, P = A ? "end" : "start", $ = R[j][P];
3842
3842
  return {
3843
- index: E,
3843
+ index: j,
3844
3844
  loopPoint: $,
3845
3845
  slideLocation: Le(-1),
3846
- translate: Gt(e, d[E]),
3846
+ translate: Gt(t, d[j]),
3847
3847
  target: () => c.get() > $ ? U : D
3848
3848
  };
3849
3849
  });
@@ -3853,7 +3853,7 @@ function Vr(e, t, o, s, a, i, r, c, d) {
3853
3853
  return y(L, o, !1);
3854
3854
  }
3855
3855
  function T() {
3856
- const w = t - r[0] - 1, L = l(x, w);
3856
+ const w = e - r[0] - 1, L = l(x, w);
3857
3857
  return y(L, -o, !0);
3858
3858
  }
3859
3859
  function g() {
@@ -3861,43 +3861,43 @@ function Vr(e, t, o, s, a, i, r, c, d) {
3861
3861
  index: w
3862
3862
  }) => {
3863
3863
  const L = x.filter((A) => A !== w);
3864
- return S(L, t) <= 0.1;
3864
+ return S(L, e) <= 0.1;
3865
3865
  });
3866
3866
  }
3867
- function j() {
3867
+ function M() {
3868
3868
  f.forEach((w) => {
3869
3869
  const {
3870
3870
  target: L,
3871
3871
  translate: A,
3872
3872
  slideLocation: R
3873
- } = w, E = L();
3874
- E !== R.get() && (A.to(E), R.set(E));
3873
+ } = w, j = L();
3874
+ j !== R.get() && (A.to(j), R.set(j));
3875
3875
  });
3876
3876
  }
3877
- function M() {
3877
+ function N() {
3878
3878
  f.forEach((w) => w.translate.clear());
3879
3879
  }
3880
3880
  return {
3881
3881
  canLoop: g,
3882
- clear: M,
3883
- loop: j,
3882
+ clear: N,
3883
+ loop: M,
3884
3884
  loopPoints: f
3885
3885
  };
3886
3886
  }
3887
- function Kr(e, t, o) {
3887
+ function Kr(t, e, o) {
3888
3888
  let s, a = !1;
3889
3889
  function i(d) {
3890
3890
  if (!o) return;
3891
3891
  function u(x) {
3892
3892
  for (const m of x)
3893
3893
  if (m.type === "childList") {
3894
- d.reInit(), t.emit("slidesChanged");
3894
+ d.reInit(), e.emit("slidesChanged");
3895
3895
  break;
3896
3896
  }
3897
3897
  }
3898
3898
  s = new MutationObserver((x) => {
3899
3899
  a || (He(o) || o(d, x)) && u(x);
3900
- }), s.observe(e, {
3900
+ }), s.observe(t, {
3901
3901
  childList: !0
3902
3902
  });
3903
3903
  }
@@ -3909,25 +3909,25 @@ function Kr(e, t, o) {
3909
3909
  destroy: r
3910
3910
  };
3911
3911
  }
3912
- function Yr(e, t, o, s) {
3912
+ function qr(t, e, o, s) {
3913
3913
  const a = {};
3914
3914
  let i = null, r = null, c, d = !1;
3915
3915
  function u() {
3916
3916
  c = new IntersectionObserver((l) => {
3917
3917
  d || (l.forEach((b) => {
3918
- const y = t.indexOf(b.target);
3918
+ const y = e.indexOf(b.target);
3919
3919
  a[y] = b;
3920
3920
  }), i = null, r = null, o.emit("slidesInView"));
3921
3921
  }, {
3922
- root: e.parentElement,
3922
+ root: t.parentElement,
3923
3923
  threshold: s
3924
- }), t.forEach((l) => c.observe(l));
3924
+ }), e.forEach((l) => c.observe(l));
3925
3925
  }
3926
3926
  function x() {
3927
3927
  c && c.disconnect(), d = !0;
3928
3928
  }
3929
3929
  function m(l) {
3930
- return Ne(a).reduce((b, y) => {
3930
+ return Ee(a).reduce((b, y) => {
3931
3931
  const p = parseInt(y), {
3932
3932
  isIntersecting: T
3933
3933
  } = a[p];
@@ -3946,16 +3946,16 @@ function Yr(e, t, o, s) {
3946
3946
  get: f
3947
3947
  };
3948
3948
  }
3949
- function qr(e, t, o, s, a, i) {
3949
+ function Yr(t, e, o, s, a, i) {
3950
3950
  const {
3951
3951
  measureSize: r,
3952
3952
  startEdge: c,
3953
3953
  endEdge: d
3954
- } = e, u = o[0] && a, x = l(), m = b(), f = o.map(r), S = y();
3954
+ } = t, u = o[0] && a, x = l(), m = b(), f = o.map(r), S = y();
3955
3955
  function l() {
3956
3956
  if (!u) return 0;
3957
3957
  const T = o[0];
3958
- return X(t[c] - T[c]);
3958
+ return X(e[c] - T[c]);
3959
3959
  }
3960
3960
  function b() {
3961
3961
  if (!u) return 0;
@@ -3963,9 +3963,9 @@ function qr(e, t, o, s, a, i) {
3963
3963
  return parseFloat(T.getPropertyValue(`margin-${d}`));
3964
3964
  }
3965
3965
  function y() {
3966
- return o.map((T, g, j) => {
3967
- const M = !g, F = at(j, g);
3968
- return M ? f[g] + x : F ? f[g] + m : j[g + 1][c] - T[c];
3966
+ return o.map((T, g, M) => {
3967
+ const N = !g, F = at(M, g);
3968
+ return N ? f[g] + x : F ? f[g] + m : M[g + 1][c] - T[c];
3969
3969
  }).map(X);
3970
3970
  }
3971
3971
  return {
@@ -3975,22 +3975,22 @@ function qr(e, t, o, s, a, i) {
3975
3975
  endGap: m
3976
3976
  };
3977
3977
  }
3978
- function Zr(e, t, o, s, a, i, r, c, d) {
3978
+ function Zr(t, e, o, s, a, i, r, c, d) {
3979
3979
  const {
3980
3980
  startEdge: u,
3981
3981
  endEdge: x,
3982
3982
  direction: m
3983
- } = e, f = st(o);
3983
+ } = t, f = st(o);
3984
3984
  function S(p, T) {
3985
- return Me(p).filter((g) => g % T === 0).map((g) => p.slice(g, g + T));
3985
+ return Ne(p).filter((g) => g % T === 0).map((g) => p.slice(g, g + T));
3986
3986
  }
3987
3987
  function l(p) {
3988
- return p.length ? Me(p).reduce((T, g, j) => {
3989
- const M = pe(T) || 0, F = M === 0, w = g === Be(p), L = a[u] - i[M][u], A = a[u] - i[g][x], R = !s && F ? m(r) : 0, E = !s && w ? m(c) : 0, U = X(A - E - (L + R));
3990
- return j && U > t + d && T.push(g), w && T.push(p.length), T;
3991
- }, []).map((T, g, j) => {
3992
- const M = Math.max(j[g - 1] || 0);
3993
- return p.slice(M, T);
3988
+ return p.length ? Ne(p).reduce((T, g, M) => {
3989
+ const N = pe(T) || 0, F = N === 0, w = g === Be(p), L = a[u] - i[N][u], A = a[u] - i[g][x], R = !s && F ? m(r) : 0, j = !s && w ? m(c) : 0, U = X(A - j - (L + R));
3990
+ return M && U > e + d && T.push(g), w && T.push(p.length), T;
3991
+ }, []).map((T, g, M) => {
3992
+ const N = Math.max(M[g - 1] || 0);
3993
+ return p.slice(N, T);
3994
3994
  }) : [];
3995
3995
  }
3996
3996
  function b(p) {
@@ -4000,7 +4000,7 @@ function Zr(e, t, o, s, a, i, r, c, d) {
4000
4000
  groupSlides: b
4001
4001
  };
4002
4002
  }
4003
- function Xr(e, t, o, s, a, i, r) {
4003
+ function Xr(t, e, o, s, a, i, r) {
4004
4004
  const {
4005
4005
  align: c,
4006
4006
  axis: d,
@@ -4015,23 +4015,23 @@ function Xr(e, t, o, s, a, i, r) {
4015
4015
  skipSnaps: p,
4016
4016
  containScroll: T,
4017
4017
  watchResize: g,
4018
- watchSlides: j,
4019
- watchDrag: M,
4018
+ watchSlides: M,
4019
+ watchDrag: N,
4020
4020
  watchFocus: F
4021
- } = i, w = 2, L = Mr(), A = L.measure(t), R = o.map(L.measure), E = Lr(d, u), U = E.measureSize(A), D = Nr(U), P = _r(c, U), $ = !m && !!T, G = m || !!T, {
4021
+ } = i, w = 2, L = Nr(), A = L.measure(e), R = o.map(L.measure), j = Lr(d, u), U = j.measureSize(A), D = Er(U), P = _r(c, U), $ = !m && !!T, G = m || !!T, {
4022
4022
  slideSizes: B,
4023
- slideSizesWithGaps: q,
4023
+ slideSizesWithGaps: Y,
4024
4024
  startGap: H,
4025
- endGap: Y
4026
- } = qr(E, A, R, o, G, a), Z = Zr(E, U, y, m, A, R, H, Y, w), {
4025
+ endGap: q
4026
+ } = Yr(j, A, R, o, G, a), Z = Zr(j, U, y, m, A, R, H, q, w), {
4027
4027
  snaps: le,
4028
4028
  snapsAligned: ie
4029
- } = Gr(E, P, A, R, Z), re = -pe(le) + pe(q), {
4030
- snapsContained: N,
4029
+ } = Gr(j, P, A, R, Z), re = -pe(le) + pe(Y), {
4030
+ snapsContained: E,
4031
4031
  scrollContainLimit: V
4032
- } = Pr(U, re, ie, T, w), h = $ ? N : ie, {
4032
+ } = Pr(U, re, ie, T, w), h = $ ? E : ie, {
4033
4033
  limit: _
4034
- } = $r(re, h, m), z = Rt(Be(h), x, m), ee = z.clone(), K = Me(o), I = ({
4034
+ } = $r(re, h, m), z = Rt(Be(h), x, m), ee = z.clone(), K = Ne(o), I = ({
4035
4035
  dragHandler: xe,
4036
4036
  scrollBody: Ve,
4037
4037
  scrollBounds: Ke,
@@ -4048,29 +4048,29 @@ function Xr(e, t, o, s, a, i, r) {
4048
4048
  previousLocation: Ot,
4049
4049
  scrollLooper: Vt,
4050
4050
  slideLooper: Kt,
4051
- dragHandler: Yt,
4052
- animation: qt,
4051
+ dragHandler: qt,
4052
+ animation: Yt,
4053
4053
  eventHandler: pt,
4054
4054
  scrollBounds: Zt,
4055
4055
  options: {
4056
4056
  loop: mt
4057
4057
  }
4058
4058
  }, gt) => {
4059
- const ft = xe.settled(), Xt = !Zt.shouldConstrain(), ht = mt ? ft : ft && Xt, kt = ht && !Yt.pointerDown();
4060
- kt && qt.stop();
4059
+ const ft = xe.settled(), Xt = !Zt.shouldConstrain(), ht = mt ? ft : ft && Xt, kt = ht && !qt.pointerDown();
4060
+ kt && Yt.stop();
4061
4061
  const Jt = Ke.get() * gt + Ot.get() * (1 - gt);
4062
4062
  Pe.set(Jt), mt && (Vt.loop(xe.direction()), Kt.loop()), Ve.to(Pe.get()), kt && pt.emit("settle"), ht || pt.emit("scroll");
4063
- }, O = Dr(s, a, () => I(Oe), (xe) => W(Oe, xe)), J = 0.68, de = h[z.get()], me = Le(de), ve = Le(de), fe = Le(de), be = Le(de), we = Fr(me, fe, ve, be, f, J), We = Wr(m, h, re, _, be), Ue = Ur(O, z, ee, we, We, be, r), dt = Rr(_), ct = Ee(), Wt = Yr(t, o, r, b), {
4063
+ }, O = Dr(s, a, () => I(Oe), (xe) => W(Oe, xe)), J = 0.68, de = h[z.get()], me = Le(de), ve = Le(de), fe = Le(de), be = Le(de), we = Fr(me, fe, ve, be, f, J), We = Wr(m, h, re, _, be), Ue = Ur(O, z, ee, we, We, be, r), dt = Rr(_), ct = je(), Wt = qr(e, o, r, b), {
4064
4064
  slideRegistry: ut
4065
- } = Hr($, T, h, V, Z, K), Ut = Or(e, o, ut, Ue, we, ct, r, F), Oe = {
4065
+ } = Hr($, T, h, V, Z, K), Ut = Or(t, o, ut, Ue, we, ct, r, F), Oe = {
4066
4066
  ownerDocument: s,
4067
4067
  ownerWindow: a,
4068
4068
  eventHandler: r,
4069
4069
  containerRect: A,
4070
4070
  slideRects: R,
4071
4071
  animation: O,
4072
- axis: E,
4073
- dragHandler: Ar(E, e, s, a, be, jr(E, a), me, O, Ue, we, We, z, r, D, S, l, p, J, M),
4072
+ axis: j,
4073
+ dragHandler: Ar(j, t, s, a, be, Mr(j, a), me, O, Ue, we, We, z, r, D, S, l, p, J, N),
4074
4074
  eventStore: ct,
4075
4075
  percentOfView: D,
4076
4076
  index: z,
@@ -4080,7 +4080,7 @@ function Xr(e, t, o, s, a, i, r) {
4080
4080
  offsetLocation: fe,
4081
4081
  previousLocation: ve,
4082
4082
  options: i,
4083
- resizeHandler: Er(t, r, a, o, E, g, L),
4083
+ resizeHandler: jr(e, r, a, o, j, g, L),
4084
4084
  scrollBody: we,
4085
4085
  scrollBounds: Br(_, fe, be, we, D),
4086
4086
  scrollLooper: zr(re, _, fe, [me, fe, ve, be]),
@@ -4089,37 +4089,37 @@ function Xr(e, t, o, s, a, i, r) {
4089
4089
  scrollSnaps: h,
4090
4090
  scrollTarget: We,
4091
4091
  scrollTo: Ue,
4092
- slideLooper: Vr(E, U, re, B, q, le, h, fe, o),
4092
+ slideLooper: Vr(j, U, re, B, Y, le, h, fe, o),
4093
4093
  slideFocus: Ut,
4094
- slidesHandler: Kr(t, r, j),
4094
+ slidesHandler: Kr(e, r, M),
4095
4095
  slidesInView: Wt,
4096
4096
  slideIndexes: K,
4097
4097
  slideRegistry: ut,
4098
4098
  slidesToScroll: Z,
4099
4099
  target: be,
4100
- translate: Gt(E, t)
4100
+ translate: Gt(j, e)
4101
4101
  };
4102
4102
  return Oe;
4103
4103
  }
4104
4104
  function Jr() {
4105
- let e = {}, t;
4105
+ let t = {}, e;
4106
4106
  function o(u) {
4107
- t = u;
4107
+ e = u;
4108
4108
  }
4109
4109
  function s(u) {
4110
- return e[u] || [];
4110
+ return t[u] || [];
4111
4111
  }
4112
4112
  function a(u) {
4113
- return s(u).forEach((x) => x(t, u)), d;
4113
+ return s(u).forEach((x) => x(e, u)), d;
4114
4114
  }
4115
4115
  function i(u, x) {
4116
- return e[u] = s(u).concat([x]), d;
4116
+ return t[u] = s(u).concat([x]), d;
4117
4117
  }
4118
4118
  function r(u, x) {
4119
- return e[u] = s(u).filter((m) => m !== x), d;
4119
+ return t[u] = s(u).filter((m) => m !== x), d;
4120
4120
  }
4121
4121
  function c() {
4122
- e = {};
4122
+ t = {};
4123
4123
  }
4124
4124
  const d = {
4125
4125
  init: o,
@@ -4152,42 +4152,42 @@ const Qr = {
4152
4152
  watchSlides: !0,
4153
4153
  watchFocus: !0
4154
4154
  };
4155
- function es(e) {
4156
- function t(i, r) {
4155
+ function es(t) {
4156
+ function e(i, r) {
4157
4157
  return zt(i, r || {});
4158
4158
  }
4159
4159
  function o(i) {
4160
- const r = i.breakpoints || {}, c = Ne(r).filter((d) => e.matchMedia(d).matches).map((d) => r[d]).reduce((d, u) => t(d, u), {});
4161
- return t(i, c);
4160
+ const r = i.breakpoints || {}, c = Ee(r).filter((d) => t.matchMedia(d).matches).map((d) => r[d]).reduce((d, u) => e(d, u), {});
4161
+ return e(i, c);
4162
4162
  }
4163
4163
  function s(i) {
4164
- return i.map((r) => Ne(r.breakpoints || {})).reduce((r, c) => r.concat(c), []).map(e.matchMedia);
4164
+ return i.map((r) => Ee(r.breakpoints || {})).reduce((r, c) => r.concat(c), []).map(t.matchMedia);
4165
4165
  }
4166
4166
  return {
4167
- mergeOptions: t,
4167
+ mergeOptions: e,
4168
4168
  optionsAtMedia: o,
4169
4169
  optionsMediaQueries: s
4170
4170
  };
4171
4171
  }
4172
- function ts(e) {
4173
- let t = [];
4172
+ function ts(t) {
4173
+ let e = [];
4174
4174
  function o(i, r) {
4175
- return t = r.filter(({
4175
+ return e = r.filter(({
4176
4176
  options: c
4177
- }) => e.optionsAtMedia(c).active !== !1), t.forEach((c) => c.init(i, e)), r.reduce((c, d) => Object.assign(c, {
4177
+ }) => t.optionsAtMedia(c).active !== !1), e.forEach((c) => c.init(i, t)), r.reduce((c, d) => Object.assign(c, {
4178
4178
  [d.name]: d
4179
4179
  }), {});
4180
4180
  }
4181
4181
  function s() {
4182
- t = t.filter((i) => i.destroy());
4182
+ e = e.filter((i) => i.destroy());
4183
4183
  }
4184
4184
  return {
4185
4185
  init: o,
4186
4186
  destroy: s
4187
4187
  };
4188
4188
  }
4189
- function Re(e, t, o) {
4190
- const s = e.ownerDocument, a = s.defaultView, i = es(a), r = ts(i), c = Ee(), d = Jr(), {
4189
+ function Re(t, e, o) {
4190
+ const s = t.ownerDocument, a = s.defaultView, i = es(a), r = ts(i), c = je(), d = Jr(), {
4191
4191
  mergeOptions: u,
4192
4192
  optionsAtMedia: x,
4193
4193
  optionsMediaQueries: m
@@ -4195,19 +4195,19 @@ function Re(e, t, o) {
4195
4195
  on: f,
4196
4196
  off: S,
4197
4197
  emit: l
4198
- } = d, b = E;
4199
- let y = !1, p, T = u(Qr, Re.globalOptions), g = u(T), j = [], M, F, w;
4198
+ } = d, b = j;
4199
+ let y = !1, p, T = u(Qr, Re.globalOptions), g = u(T), M = [], N, F, w;
4200
4200
  function L() {
4201
4201
  const {
4202
4202
  container: K,
4203
4203
  slides: I
4204
4204
  } = g;
4205
- F = (tt(K) ? e.querySelector(K) : K) || e.children[0];
4205
+ F = (tt(K) ? t.querySelector(K) : K) || t.children[0];
4206
4206
  const O = tt(I) ? F.querySelectorAll(I) : I;
4207
4207
  w = [].slice.call(O || F.children);
4208
4208
  }
4209
4209
  function A(K) {
4210
- const I = Xr(e, F, w, s, a, K, d);
4210
+ const I = Xr(t, F, w, s, a, K, d);
4211
4211
  if (K.loop && !I.slideLooper.canLoop()) {
4212
4212
  const W = Object.assign({}, K, {
4213
4213
  loop: !1
@@ -4217,11 +4217,11 @@ function Re(e, t, o) {
4217
4217
  return I;
4218
4218
  }
4219
4219
  function R(K, I) {
4220
- y || (T = u(T, K), g = x(T), j = I || j, L(), p = A(g), m([T, ...j.map(({
4220
+ y || (T = u(T, K), g = x(T), M = I || M, L(), p = A(g), m([T, ...M.map(({
4221
4221
  options: W
4222
- }) => W)]).forEach((W) => c.add(W, "change", E)), g.active && (p.translate.to(p.location.get()), p.animation.init(), p.slidesInView.init(), p.slideFocus.init(ee), p.eventHandler.init(ee), p.resizeHandler.init(ee), p.slidesHandler.init(ee), p.options.loop && p.slideLooper.loop(), F.offsetParent && w.length && p.dragHandler.init(ee), M = r.init(ee, j)));
4222
+ }) => W)]).forEach((W) => c.add(W, "change", j)), g.active && (p.translate.to(p.location.get()), p.animation.init(), p.slidesInView.init(), p.slideFocus.init(ee), p.eventHandler.init(ee), p.resizeHandler.init(ee), p.slidesHandler.init(ee), p.options.loop && p.slideLooper.loop(), F.offsetParent && w.length && p.dragHandler.init(ee), N = r.init(ee, M)));
4223
4223
  }
4224
- function E(K, I) {
4224
+ function j(K, I) {
4225
4225
  const W = Z();
4226
4226
  U(), R(u({
4227
4227
  startIndex: W
@@ -4247,13 +4247,13 @@ function Re(e, t, o) {
4247
4247
  function B() {
4248
4248
  return p.index.add(1).get() !== Z();
4249
4249
  }
4250
- function q() {
4250
+ function Y() {
4251
4251
  return p.index.add(-1).get() !== Z();
4252
4252
  }
4253
4253
  function H() {
4254
4254
  return p.scrollSnapList;
4255
4255
  }
4256
- function Y() {
4256
+ function q() {
4257
4257
  return p.scrollProgress.get(p.offsetLocation.get());
4258
4258
  }
4259
4259
  function Z() {
@@ -4268,14 +4268,14 @@ function Re(e, t, o) {
4268
4268
  function re() {
4269
4269
  return p.slidesInView.get(!1);
4270
4270
  }
4271
- function N() {
4272
- return M;
4271
+ function E() {
4272
+ return N;
4273
4273
  }
4274
4274
  function V() {
4275
4275
  return p;
4276
4276
  }
4277
4277
  function h() {
4278
- return e;
4278
+ return t;
4279
4279
  }
4280
4280
  function _() {
4281
4281
  return F;
@@ -4285,20 +4285,20 @@ function Re(e, t, o) {
4285
4285
  }
4286
4286
  const ee = {
4287
4287
  canScrollNext: B,
4288
- canScrollPrev: q,
4288
+ canScrollPrev: Y,
4289
4289
  containerNode: _,
4290
4290
  internalEngine: V,
4291
4291
  destroy: D,
4292
4292
  off: S,
4293
4293
  on: f,
4294
4294
  emit: l,
4295
- plugins: N,
4295
+ plugins: E,
4296
4296
  previousScrollSnap: le,
4297
4297
  reInit: b,
4298
4298
  rootNode: h,
4299
4299
  scrollNext: $,
4300
4300
  scrollPrev: G,
4301
- scrollProgress: Y,
4301
+ scrollProgress: q,
4302
4302
  scrollSnapList: H,
4303
4303
  scrollTo: P,
4304
4304
  selectedScrollSnap: Z,
@@ -4306,18 +4306,18 @@ function Re(e, t, o) {
4306
4306
  slidesInView: ie,
4307
4307
  slidesNotInView: re
4308
4308
  };
4309
- return R(t, o), setTimeout(() => d.emit("init"), 0), ee;
4309
+ return R(e, o), setTimeout(() => d.emit("init"), 0), ee;
4310
4310
  }
4311
4311
  Re.globalOptions = void 0;
4312
- function lt(e = {}, t = []) {
4313
- const o = Qe(e), s = Qe(t), [a, i] = oe(), [r, c] = oe(), d = ce(() => {
4312
+ function lt(t = {}, e = []) {
4313
+ const o = Qe(t), s = Qe(e), [a, i] = oe(), [r, c] = oe(), d = ce(() => {
4314
4314
  a && a.reInit(o.current, s.current);
4315
4315
  }, [a]);
4316
4316
  return Q(() => {
4317
- rt(o.current, e) || (o.current = e, d());
4318
- }, [e, d]), Q(() => {
4319
- Cr(s.current, t) || (s.current = t, d());
4317
+ rt(o.current, t) || (o.current = t, d());
4320
4318
  }, [t, d]), Q(() => {
4319
+ Cr(s.current, e) || (s.current = e, d());
4320
+ }, [e, d]), Q(() => {
4321
4321
  if (Sr() && r) {
4322
4322
  Re.globalOptions = lt.globalOptions;
4323
4323
  const u = Re(r, o.current, s.current);
@@ -4344,8 +4344,8 @@ const ns = "_carouselContainer_gu7c2_1", os = "_viewport_gu7c2_14", rs = "_slide
4344
4344
  dot: fs,
4345
4345
  dotActive: hs
4346
4346
  }, ks = gn, vs = ({
4347
- images: e,
4348
- autoPlay: t = !1,
4347
+ images: t,
4348
+ autoPlay: e = !1,
4349
4349
  autoDelay: o = 5,
4350
4350
  showArrows: s = !0,
4351
4351
  showDots: a = !0,
@@ -4368,12 +4368,12 @@ const ns = "_carouselContainer_gu7c2_1", os = "_viewport_gu7c2_14", rs = "_slide
4368
4368
  align: "start",
4369
4369
  containScroll: "trimSnaps",
4370
4370
  slidesToScroll: 1
4371
- }, [S, l] = lt(f), [b, y] = oe(0), [p, T] = oe([]), [g, j] = oe([]);
4371
+ }, [S, l] = lt(f), [b, y] = oe(0), [p, T] = oe([]), [g, M] = oe([]);
4372
4372
  Q(() => {
4373
- j(new Array((e == null ? void 0 : e.length) || 0).fill(!1));
4374
- }, [e]);
4375
- const M = ce((P) => {
4376
- j(($) => {
4373
+ M(new Array((t == null ? void 0 : t.length) || 0).fill(!1));
4374
+ }, [t]);
4375
+ const N = ce((P) => {
4376
+ M(($) => {
4377
4377
  const G = [...$];
4378
4378
  return G[P] = !0, G;
4379
4379
  });
@@ -4387,16 +4387,16 @@ const ns = "_carouselContainer_gu7c2_1", os = "_viewport_gu7c2_14", rs = "_slide
4387
4387
  };
4388
4388
  }, [l, w]), Q(() => {
4389
4389
  l && (l.reInit(), T(l.scrollSnapList()));
4390
- }, [l, e, r, c]), Q(() => {
4391
- if (!t || !l || !e || e.length <= 1) return;
4390
+ }, [l, t, r, c]), Q(() => {
4391
+ if (!e || !l || !t || t.length <= 1) return;
4392
4392
  const P = window.setInterval(() => {
4393
4393
  l.canScrollNext() && l.scrollNext();
4394
4394
  }, F);
4395
4395
  return () => {
4396
4396
  window.clearInterval(P);
4397
4397
  };
4398
- }, [t, F, l, e]);
4399
- const E = Math.max(1, r), U = `${100 / E}%`, D = c / 2;
4398
+ }, [e, F, l, t]);
4399
+ const j = Math.max(1, r), U = `${100 / j}%`, D = c / 2;
4400
4400
  return /* @__PURE__ */ v(
4401
4401
  "div",
4402
4402
  {
@@ -4413,7 +4413,7 @@ const ns = "_carouselContainer_gu7c2_1", os = "_viewport_gu7c2_14", rs = "_slide
4413
4413
  marginLeft: `-${D}px`,
4414
4414
  marginRight: `-${D}px`
4415
4415
  },
4416
- children: e && e.length > 0 ? e.map((P, $) => /* @__PURE__ */ n(
4416
+ children: t && t.length > 0 ? t.map((P, $) => /* @__PURE__ */ n(
4417
4417
  "div",
4418
4418
  {
4419
4419
  className: ne.slide,
@@ -4433,11 +4433,11 @@ const ns = "_carouselContainer_gu7c2_1", os = "_viewport_gu7c2_14", rs = "_slide
4433
4433
  className: `${ne.image} ${g[$] ? ne.loaded : ne.loadingImage}`,
4434
4434
  src: P.src,
4435
4435
  alt: P.alt,
4436
- loading: $ < E ? "eager" : "lazy",
4436
+ loading: $ < j ? "eager" : "lazy",
4437
4437
  crossOrigin: "anonymous",
4438
- onLoad: () => M($),
4438
+ onLoad: () => N($),
4439
4439
  onError: (G) => {
4440
- G.target.style.display = "none", M($);
4440
+ G.target.style.display = "none", N($);
4441
4441
  }
4442
4442
  }
4443
4443
  )
@@ -4447,7 +4447,7 @@ const ns = "_carouselContainer_gu7c2_1", os = "_viewport_gu7c2_14", rs = "_slide
4447
4447
  )) : /* @__PURE__ */ n("div", { className: ne.slide, style: { flex: "0 0 100%" }, children: /* @__PURE__ */ n("div", { className: ne.empty, children: "Ingen bilder" }) })
4448
4448
  }
4449
4449
  ) }),
4450
- (s || a && e && e.length > 1) && /* @__PURE__ */ v("div", { className: ne.controls, "aria-hidden": "false", children: [
4450
+ (s || a && t && t.length > 1) && /* @__PURE__ */ v("div", { className: ne.controls, "aria-hidden": "false", children: [
4451
4451
  s && /* @__PURE__ */ v("div", { className: ne.arrows, children: [
4452
4452
  /* @__PURE__ */ n(
4453
4453
  ke,
@@ -4456,7 +4456,7 @@ const ns = "_carouselContainer_gu7c2_1", os = "_viewport_gu7c2_14", rs = "_slide
4456
4456
  icon: !0,
4457
4457
  "aria-label": m("carousel.previousImage"),
4458
4458
  onClick: A,
4459
- disabled: !e || e.length <= 1,
4459
+ disabled: !t || t.length <= 1,
4460
4460
  children: /* @__PURE__ */ n(po, { "aria-hidden": !0 })
4461
4461
  }
4462
4462
  ),
@@ -4467,12 +4467,12 @@ const ns = "_carouselContainer_gu7c2_1", os = "_viewport_gu7c2_14", rs = "_slide
4467
4467
  icon: !0,
4468
4468
  "aria-label": m("carousel.nextImage"),
4469
4469
  onClick: R,
4470
- disabled: !e || e.length <= 1,
4470
+ disabled: !t || t.length <= 1,
4471
4471
  children: /* @__PURE__ */ n(mo, { "aria-hidden": !0 })
4472
4472
  }
4473
4473
  )
4474
4474
  ] }),
4475
- a && e && e.length > 1 && /* @__PURE__ */ n("div", { className: ne.dots, role: "tablist", "aria-label": m("carousel.imagePosition"), children: p.map((P, $) => {
4475
+ a && t && t.length > 1 && /* @__PURE__ */ n("div", { className: ne.dots, role: "tablist", "aria-label": m("carousel.imagePosition"), children: p.map((P, $) => {
4476
4476
  const G = $ === b;
4477
4477
  return /* @__PURE__ */ n(
4478
4478
  "button",
@@ -4493,9 +4493,9 @@ const ns = "_carouselContainer_gu7c2_1", os = "_viewport_gu7c2_14", rs = "_slide
4493
4493
  );
4494
4494
  };
4495
4495
  vs.displayName = "Carousel";
4496
- function bs(e) {
4496
+ function bs(t) {
4497
4497
  return `
4498
- .${e.carouselContainer} {
4498
+ .${t.carouselContainer} {
4499
4499
  position: relative;
4500
4500
  display: block;
4501
4501
  width: 100%;
@@ -4507,12 +4507,12 @@ function bs(e) {
4507
4507
  box-sizing: border-box;
4508
4508
  max-width: 100%;
4509
4509
  }
4510
- .${e.viewport} {
4510
+ .${t.viewport} {
4511
4511
  overflow: hidden;
4512
4512
  width: 100%;
4513
4513
  height: 100%;
4514
4514
  }
4515
- .${e.slides} {
4515
+ .${t.slides} {
4516
4516
  display: flex;
4517
4517
  height: 100%;
4518
4518
  user-select: none;
@@ -4521,7 +4521,7 @@ function bs(e) {
4521
4521
  -moz-user-select: none;
4522
4522
  -ms-user-select: none;
4523
4523
  }
4524
- .${e.slide} {
4524
+ .${t.slide} {
4525
4525
  position: relative;
4526
4526
  min-width: 0;
4527
4527
  height: 100%;
@@ -4530,14 +4530,14 @@ function bs(e) {
4530
4530
  justify-content: center;
4531
4531
  box-sizing: border-box;
4532
4532
  }
4533
- .${e.slideInner} {
4533
+ .${t.slideInner} {
4534
4534
  position: relative;
4535
4535
  width: 100%;
4536
4536
  height: 100%;
4537
4537
  background-color: var(--ds-color-neutral-surface-subtle, #f5f5f5);
4538
4538
  overflow: hidden;
4539
4539
  }
4540
- .${e.loaderOverlay} {
4540
+ .${t.loaderOverlay} {
4541
4541
  position: absolute;
4542
4542
  inset: 0;
4543
4543
  display: flex;
@@ -4546,7 +4546,7 @@ function bs(e) {
4546
4546
  background-color: rgba(0, 0, 0, 0.05);
4547
4547
  z-index: 2;
4548
4548
  }
4549
- .${e.image} {
4549
+ .${t.image} {
4550
4550
  position: absolute;
4551
4551
  inset: 0;
4552
4552
  width: 100%;
@@ -4556,22 +4556,22 @@ function bs(e) {
4556
4556
  transition: opacity 0.3s ease-in-out;
4557
4557
  z-index: 1;
4558
4558
  }
4559
- .${e.image}.${e.loaded} {
4559
+ .${t.image}.${t.loaded} {
4560
4560
  opacity: 1;
4561
4561
  }
4562
- .${e.loading} {
4562
+ .${t.loading} {
4563
4563
  display: inline-flex;
4564
4564
  align-items: center;
4565
4565
  gap: var(--ds-size-2, 8px);
4566
4566
  color: var(--ds-color-text-subtle, #5d5d5d);
4567
4567
  font-size: var(--ds-font-size-sm, 14px);
4568
4568
  }
4569
- .${e.empty} {
4569
+ .${t.empty} {
4570
4570
  color: var(--ds-color-text-subtle, #5d5d5d);
4571
4571
  font-size: var(--ds-font-size-sm, 14px);
4572
4572
  text-align: center;
4573
4573
  }
4574
- .${e.controls} {
4574
+ .${t.controls} {
4575
4575
  position: absolute;
4576
4576
  inset: 0;
4577
4577
  display: flex;
@@ -4580,7 +4580,7 @@ function bs(e) {
4580
4580
  pointer-events: none;
4581
4581
  z-index: 10;
4582
4582
  }
4583
- .${e.arrows} {
4583
+ .${t.arrows} {
4584
4584
  display: flex;
4585
4585
  align-items: center;
4586
4586
  justify-content: space-between;
@@ -4589,7 +4589,7 @@ function bs(e) {
4589
4589
  box-sizing: border-box;
4590
4590
  pointer-events: auto;
4591
4591
  }
4592
- .${e.dots} {
4592
+ .${t.dots} {
4593
4593
  position: absolute;
4594
4594
  left: 50%;
4595
4595
  transform: translateX(-50%);
@@ -4602,7 +4602,7 @@ function bs(e) {
4602
4602
  padding: var(--ds-size-1, 4px) var(--ds-size-2, 8px);
4603
4603
  border-radius: 999px;
4604
4604
  }
4605
- .${e.dot} {
4605
+ .${t.dot} {
4606
4606
  width: 12px;
4607
4607
  height: 12px;
4608
4608
  border-radius: 999px;
@@ -4613,53 +4613,53 @@ function bs(e) {
4613
4613
  cursor: pointer;
4614
4614
  transition: all 0.2s ease;
4615
4615
  }
4616
- .${e.dotActive} {
4616
+ .${t.dotActive} {
4617
4617
  background-color: var(--primary-color-red-10);
4618
4618
  border-color: var(--primary-color-red-10);
4619
4619
  transform: scale(1.1);
4620
4620
  }
4621
4621
  @media (max-width: 640px) {
4622
- .${e.carouselContainer} {
4622
+ .${t.carouselContainer} {
4623
4623
  height: auto;
4624
4624
  min-height: 150px;
4625
4625
  aspect-ratio: 16 / 9;
4626
4626
  }
4627
- .${e.viewport} {
4627
+ .${t.viewport} {
4628
4628
  aspect-ratio: 16 / 9;
4629
4629
  height: auto;
4630
4630
  }
4631
- .${e.slides} {
4631
+ .${t.slides} {
4632
4632
  height: auto;
4633
4633
  min-height: 150px;
4634
4634
  }
4635
- .${e.slide} {
4635
+ .${t.slide} {
4636
4636
  height: auto;
4637
4637
  min-height: 150px;
4638
4638
  }
4639
- .${e.slideInner} {
4639
+ .${t.slideInner} {
4640
4640
  aspect-ratio: 16 / 9;
4641
4641
  height: auto;
4642
4642
  }
4643
- .${e.arrows} {
4643
+ .${t.arrows} {
4644
4644
  padding: 0 var(--ds-size-2, 8px);
4645
4645
  }
4646
- .${e.dots} {
4646
+ .${t.dots} {
4647
4647
  bottom: var(--ds-size-2, 8px);
4648
4648
  gap: var(--ds-size-1, 4px);
4649
4649
  }
4650
- .${e.dot} {
4650
+ .${t.dot} {
4651
4651
  width: 10px;
4652
4652
  height: 10px;
4653
4653
  }
4654
4654
  }
4655
4655
  @media (max-width: 400px) {
4656
- .${e.carouselContainer} {
4656
+ .${t.carouselContainer} {
4657
4657
  min-height: 120px;
4658
4658
  }
4659
- .${e.arrows} {
4659
+ .${t.arrows} {
4660
4660
  padding: 0 var(--ds-size-1, 4px);
4661
4661
  }
4662
- .${e.arrows} button {
4662
+ .${t.arrows} button {
4663
4663
  transform: scale(0.85);
4664
4664
  }
4665
4665
  }
@@ -4669,29 +4669,29 @@ const ys = "_crossCorner_1caiu_1", xs = "_shape_1caiu_6", Ze = {
4669
4669
  crossCorner: ys,
4670
4670
  shape: xs
4671
4671
  };
4672
- function Ts(e) {
4672
+ function Ts(t) {
4673
4673
  return `
4674
- .${e.crossCorner} {
4674
+ .${t.crossCorner} {
4675
4675
  display: inline-block;
4676
4676
  flex-shrink: 0;
4677
4677
  }
4678
- .${e.shape} {
4678
+ .${t.shape} {
4679
4679
  fill: var(--ds-color-base-default, #DA4236);
4680
4680
  }
4681
4681
  /* Color variants via data-color attribute */
4682
- .${e.crossCorner}[data-color="accent"] .${e.shape} {
4682
+ .${t.crossCorner}[data-color="accent"] .${t.shape} {
4683
4683
  fill: var(--ds-color-accent-base-default, #DA4236);
4684
4684
  }
4685
- .${e.crossCorner}[data-color="brand1"] .${e.shape} {
4685
+ .${t.crossCorner}[data-color="brand1"] .${t.shape} {
4686
4686
  fill: var(--ds-color-brand1-base-default, #DA4236);
4687
4687
  }
4688
- .${e.crossCorner}[data-color="brand2"] .${e.shape} {
4688
+ .${t.crossCorner}[data-color="brand2"] .${t.shape} {
4689
4689
  fill: var(--ds-color-brand2-base-default, #1E2B3C);
4690
4690
  }
4691
- .${e.crossCorner}[data-color="brand3"] .${e.shape} {
4691
+ .${t.crossCorner}[data-color="brand3"] .${t.shape} {
4692
4692
  fill: var(--ds-color-brand3-base-default, #F5F5F5);
4693
4693
  }
4694
- .${e.crossCorner}[data-color="neutral"] .${e.shape} {
4694
+ .${t.crossCorner}[data-color="neutral"] .${t.shape} {
4695
4695
  fill: var(--ds-color-neutral-base-default, #5D5D5D);
4696
4696
  }
4697
4697
  `;
@@ -4707,8 +4707,8 @@ const Ss = {
4707
4707
  "bottom-left": 180
4708
4708
  }, Ae = ge(
4709
4709
  ({
4710
- position: e = "top-left",
4711
- size: t = "md",
4710
+ position: t = "top-left",
4711
+ size: e = "md",
4712
4712
  className: o,
4713
4713
  "aria-label": s,
4714
4714
  "aria-hidden": a = !0,
@@ -4722,7 +4722,7 @@ const Ss = {
4722
4722
  const f = Ts(Ze), S = document.createElement("style");
4723
4723
  S.id = m, S.textContent = f, document.head.appendChild(S);
4724
4724
  }, []);
4725
- const u = Ss[t], x = Cs[e];
4725
+ const u = Ss[e], x = Cs[t];
4726
4726
  return /* @__PURE__ */ n(
4727
4727
  "svg",
4728
4728
  {
@@ -4757,44 +4757,44 @@ Ae.displayName = "CrossCorner";
4757
4757
  const gl = fn, fl = hn, hl = kn, se = vn, kl = bn, vl = yn, bl = xn, yl = Tn, xl = Sn, Tl = Cn, Sl = wn, Cl = In, ws = _n, Is = Dn;
4758
4758
  ws.displayName = "Field.Description";
4759
4759
  Is.displayName = "Field.Counter";
4760
- const wl = Nt, _s = ge((e, t) => /* @__PURE__ */ n(Ln, { ref: t, ...e }));
4760
+ const wl = Et, _s = ge((t, e) => /* @__PURE__ */ n(Ln, { ref: e, ...t }));
4761
4761
  _s.displayName = "Heading";
4762
4762
  const Ht = An;
4763
4763
  Ht.displayName = "Input";
4764
- const Ds = ge((e, t) => /* @__PURE__ */ n(jn, { ref: t, ...e }));
4764
+ const Ds = ge((t, e) => /* @__PURE__ */ n(Mn, { ref: e, ...t }));
4765
4765
  Ds.displayName = "Label";
4766
- const ue = Mn, Il = Nn, Ls = En, _l = Fn, Dl = Bn, Ll = Pn, Al = $n;
4766
+ const ue = Nn, Il = En, Ls = jn, _l = Fn, Dl = Bn, Ll = Pn, Al = $n;
4767
4767
  Ls.displayName = "Pagination";
4768
4768
  const Ge = ge(
4769
- (e, t) => /* @__PURE__ */ n(zn, { ref: t, ...e })
4769
+ (t, e) => /* @__PURE__ */ n(zn, { ref: e, ...t })
4770
4770
  );
4771
4771
  Ge.displayName = "Paragraph";
4772
- const jl = Rn, Ml = Gn, Nl = Hn, $e = Object.assign(Wn, {
4772
+ const Ml = Rn, Nl = Gn, El = Hn, $e = Object.assign(Wn, {
4773
4773
  Button: Vn,
4774
4774
  ClearButton: On,
4775
4775
  Input: Un
4776
- }), El = Kn, Fl = Yn, Bl = qn, As = Zn;
4776
+ }), jl = Kn, Fl = qn, Bl = Yn, As = Zn;
4777
4777
  As.displayName = "Suggestion";
4778
- const Xe = Xn, Pl = Jn, ze = Qn, $l = eo, zl = to, js = no, Rl = oo, Gl = ro, Ms = ge((e, t) => /* @__PURE__ */ n(so, { ref: t, ...e }));
4779
- Ms.displayName = "ValidationMessage";
4780
- const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOverlay_o5jrg_40", Bs = "_headerExtension_o5jrg_45", Ps = "_headerExtensionTinted_o5jrg_74", $s = "_extensionContentWrapper_o5jrg_80", zs = "_extensionContent_o5jrg_80", Rs = "_extensionDivider_o5jrg_107", Gs = "_languageLabel_o5jrg_131", Hs = "_languageLink_o5jrg_146", Ws = "_headerInner_o5jrg_181", Us = "_logoWrapper_o5jrg_198", Os = "_logo_o5jrg_198", Vs = "_secondaryLogoWrapper_o5jrg_221", Ks = "_slotComponent_o5jrg_230", Ys = "_slotContainer_o5jrg_240", qs = "_slotText_o5jrg_248", Zs = "_secondaryLogo_o5jrg_221", Xs = "_redCrossLogo_o5jrg_275", Js = "_primaryLogo_o5jrg_281", Qs = "_navItems_o5jrg_285", ei = "_navLink_o5jrg_294", ti = "_actions_o5jrg_307", ni = "_ctaButton_o5jrg_315", oi = "_themeToggle_o5jrg_320", ri = "_userInfo_o5jrg_325", si = "_userName_o5jrg_331", ii = "_loginLink_o5jrg_338", ai = "_loginText_o5jrg_347", li = "_underline_o5jrg_354", di = "_searchButtonWrapper_o5jrg_360", ci = "_buttonText_o5jrg_364", ui = "_menuButton_o5jrg_369", pi = "_menuOverlay_o5jrg_374", mi = "_searchContent_o5jrg_408", gi = "_menuContent_o5jrg_418", fi = "_menuLeftColumn_o5jrg_427", hi = "_menuRightColumn_o5jrg_433", ki = "_slotContent_o5jrg_447", vi = "_navList_o5jrg_460", bi = "_menuUtilities_o5jrg_467", yi = "_menuBrand_o5jrg_474", xi = "_suggestionsSection_o5jrg_478", Ti = "_suggestionsTitle_o5jrg_484", Si = "_searchResults_o5jrg_493", Ci = "_resultList_o5jrg_499", wi = "_resultItem_o5jrg_505", Ii = "_resultLink_o5jrg_513", _i = "_suggestionIcon_o5jrg_527", Di = "_suggestionText_o5jrg_540", Li = "_highlightedText_o5jrg_547", Ai = "_remainingText_o5jrg_552", ji = "_viewAllLink_o5jrg_565", Mi = "_noResults_o5jrg_600", C = {
4781
- header: Ns,
4782
- languageSwitch: Es,
4778
+ const Xe = Xn, Pl = Jn, ze = Qn, $l = eo, zl = to, Ms = no, Rl = oo, Gl = ro, Ns = ge((t, e) => /* @__PURE__ */ n(so, { ref: e, ...t }));
4779
+ Ns.displayName = "ValidationMessage";
4780
+ const Es = "_header_7qsou_1", js = "_languageSwitch_7qsou_36", Fs = "_searchOverlay_7qsou_40", Bs = "_headerExtension_7qsou_45", Ps = "_headerExtensionTinted_7qsou_74", $s = "_languageLabel_7qsou_81", zs = "_languageLink_7qsou_86", Rs = "_extensionContent_7qsou_91", Gs = "_extensionDivider_7qsou_96", Hs = "_extensionContentWrapper_7qsou_101", Ws = "_headerInner_7qsou_202", Us = "_logoWrapper_7qsou_219", Os = "_logo_7qsou_219", Vs = "_secondaryLogoWrapper_7qsou_242", Ks = "_slotComponent_7qsou_251", qs = "_slotContainer_7qsou_261", Ys = "_slotText_7qsou_269", Zs = "_secondaryLogo_7qsou_242", Xs = "_redCrossLogo_7qsou_296", Js = "_primaryLogo_7qsou_302", Qs = "_navItems_7qsou_306", ei = "_navLink_7qsou_315", ti = "_actions_7qsou_328", ni = "_ctaButton_7qsou_336", oi = "_themeToggle_7qsou_341", ri = "_userInfo_7qsou_346", si = "_userName_7qsou_352", ii = "_loginLink_7qsou_359", ai = "_loginText_7qsou_368", li = "_underline_7qsou_375", di = "_searchButtonWrapper_7qsou_381", ci = "_buttonText_7qsou_385", ui = "_menuButton_7qsou_390", pi = "_menuOverlay_7qsou_395", mi = "_searchContent_7qsou_429", gi = "_menuContent_7qsou_439", fi = "_menuLeftColumn_7qsou_448", hi = "_menuRightColumn_7qsou_454", ki = "_slotContent_7qsou_468", vi = "_navList_7qsou_481", bi = "_menuUtilities_7qsou_488", yi = "_menuBrand_7qsou_495", xi = "_suggestionsSection_7qsou_499", Ti = "_suggestionsTitle_7qsou_505", Si = "_searchResults_7qsou_514", Ci = "_resultList_7qsou_520", wi = "_resultItem_7qsou_526", Ii = "_resultLink_7qsou_534", _i = "_suggestionIcon_7qsou_548", Di = "_suggestionText_7qsou_561", Li = "_highlightedText_7qsou_568", Ai = "_remainingText_7qsou_573", Mi = "_viewAllLink_7qsou_586", Ni = "_noResults_7qsou_621", C = {
4781
+ header: Es,
4782
+ languageSwitch: js,
4783
4783
  searchOverlay: Fs,
4784
4784
  headerExtension: Bs,
4785
4785
  headerExtensionTinted: Ps,
4786
- extensionContentWrapper: $s,
4787
- extensionContent: zs,
4788
- extensionDivider: Rs,
4789
- languageLabel: Gs,
4790
- languageLink: Hs,
4786
+ languageLabel: $s,
4787
+ languageLink: zs,
4788
+ extensionContent: Rs,
4789
+ extensionDivider: Gs,
4790
+ extensionContentWrapper: Hs,
4791
4791
  headerInner: Ws,
4792
4792
  logoWrapper: Us,
4793
4793
  logo: Os,
4794
4794
  secondaryLogoWrapper: Vs,
4795
4795
  slotComponent: Ks,
4796
- slotContainer: Ys,
4797
- slotText: qs,
4796
+ slotContainer: qs,
4797
+ slotText: Ys,
4798
4798
  secondaryLogo: Zs,
4799
4799
  redCrossLogo: Xs,
4800
4800
  primaryLogo: Js,
@@ -4830,9 +4830,9 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
4830
4830
  suggestionText: Di,
4831
4831
  highlightedText: Li,
4832
4832
  remainingText: Ai,
4833
- viewAllLink: ji,
4834
- noResults: Mi
4835
- }, Ni = [
4833
+ viewAllLink: Mi,
4834
+ noResults: Ni
4835
+ }, Ei = [
4836
4836
  // Pages
4837
4837
  { id: "home", title: "Hjem", category: "Page", path: "home", description: "Forsiden" },
4838
4838
  { id: "components", title: "Komponenter", category: "Page", path: "components", description: "Oversikt over alle komponenter" },
@@ -4896,8 +4896,8 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
4896
4896
  { id: "progression", title: "Progresjon", category: "Code", path: "code/progression", description: "Fra design til ferdig komponent" },
4897
4897
  { id: "metadata-files", title: "Metadata filer", category: "Code", path: "code/metadata-files", description: "Struktur og bruk av metadata.json" }
4898
4898
  ], Hl = ({
4899
- "data-color": e = "primary",
4900
- activePage: t,
4899
+ "data-color": t = "primary",
4900
+ activePage: e,
4901
4901
  setPage: o,
4902
4902
  children: s,
4903
4903
  showUser: a = !0,
@@ -4916,18 +4916,18 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
4916
4916
  showNavItems: p = !0,
4917
4917
  showMenuButton: T = !0,
4918
4918
  showHeaderExtension: g = !1,
4919
- showModeToggle: j = !1,
4920
- showLanguageSwitch: M = !1,
4919
+ showModeToggle: M = !1,
4920
+ showLanguageSwitch: N = !1,
4921
4921
  extensionColor: F
4922
4922
  }) => {
4923
- const [w, L] = oe(!1), [A, R] = oe(!1), [E, U] = oe(""), [D, P] = oe("light"), { language: $, setLanguage: G, t: B } = Fe(), [q, H] = oe(!1);
4923
+ const [w, L] = oe(!1), [A, R] = oe(!1), [j, U] = oe(""), [D, P] = oe("light"), { language: $, setLanguage: G, t: B } = Fe(), [Y, H] = oe(!1);
4924
4924
  Q(() => {
4925
4925
  const h = "rk-header-inline-styles";
4926
4926
  if (typeof document > "u" || document.getElementById(h)) return;
4927
- const _ = Ei(C), z = document.createElement("style");
4927
+ const _ = ji(C), z = document.createElement("style");
4928
4928
  z.id = h, z.textContent = _, document.head.appendChild(z);
4929
4929
  }, []);
4930
- const Y = () => /* @__PURE__ */ v(
4930
+ const q = () => /* @__PURE__ */ v(
4931
4931
  "svg",
4932
4932
  {
4933
4933
  width: "170",
@@ -4954,14 +4954,14 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
4954
4954
  );
4955
4955
  Q(() => {
4956
4956
  L(!1), R(!1), U("");
4957
- }, [t]), Q(() => {
4958
- if (!(typeof document > "u") && w && q) {
4957
+ }, [e]), Q(() => {
4958
+ if (!(typeof document > "u") && w && Y) {
4959
4959
  const h = document.body.style.overflow;
4960
4960
  return document.body.style.overflow = "hidden", () => {
4961
4961
  document.body.style.overflow = h;
4962
4962
  };
4963
4963
  }
4964
- }, [w, q]), Q(() => {
4964
+ }, [w, Y]), Q(() => {
4965
4965
  if (typeof window > "u" || typeof window.matchMedia > "u") return;
4966
4966
  const h = window.matchMedia("(max-width: 850px)"), _ = (z) => H("matches" in z ? z.matches : h.matches);
4967
4967
  return _(h), h.addEventListener ? h.addEventListener("change", _) : h.addListener(_), () => {
@@ -4982,7 +4982,7 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
4982
4982
  return z.observe(h), () => {
4983
4983
  window.removeEventListener("resize", _), z.disconnect();
4984
4984
  };
4985
- }, [q]), Q(() => {
4985
+ }, [Y]), Q(() => {
4986
4986
  if (typeof document > "u") return;
4987
4987
  const h = document.querySelector(`.${C.logoWrapper}`);
4988
4988
  if (!h) return;
@@ -4991,7 +4991,7 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
4991
4991
  document.documentElement.style.setProperty("--rk-logo-width", `${z}px`);
4992
4992
  };
4993
4993
  return _(), window.addEventListener("resize", _), () => window.removeEventListener("resize", _);
4994
- }, [q]), Q(() => {
4994
+ }, [Y]), Q(() => {
4995
4995
  if (typeof document > "u" || !A) {
4996
4996
  document.documentElement.style.setProperty("--rk-search-overlay-height", "0px");
4997
4997
  return;
@@ -5023,18 +5023,18 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
5023
5023
  });
5024
5024
  }, re = () => {
5025
5025
  R(!A), w && L(!1);
5026
- }, N = Ce(() => {
5027
- if (!E.trim()) return [];
5028
- const h = E.toLowerCase();
5029
- return Ni.filter(
5026
+ }, E = Ce(() => {
5027
+ if (!j.trim()) return [];
5028
+ const h = j.toLowerCase();
5029
+ return Ei.filter(
5030
5030
  (_) => _.title.toLowerCase().startsWith(h)
5031
5031
  );
5032
- }, [E]), V = (h) => {
5032
+ }, [j]), V = (h) => {
5033
5033
  o && o(h), R(!1), U("");
5034
5034
  };
5035
- return /* @__PURE__ */ v("header", { className: C.header, "data-open": w ? "true" : "false", "data-color": e, children: [
5035
+ return /* @__PURE__ */ v("header", { className: C.header, "data-open": w ? "true" : "false", "data-color": t, children: [
5036
5036
  g && /* @__PURE__ */ n("div", { className: `${C.headerExtension}${F === "tinted" ? ` ${C.headerExtensionTinted}` : ""}`, "data-color-scheme": "light", "data-extension-color": F, children: /* @__PURE__ */ v("div", { className: C.extensionContentWrapper, children: [
5037
- j && /* @__PURE__ */ n("div", { className: C.extensionContent, children: /* @__PURE__ */ n(
5037
+ M && /* @__PURE__ */ n("div", { className: C.extensionContent, children: /* @__PURE__ */ n(
5038
5038
  Xe,
5039
5039
  {
5040
5040
  "data-size": "sm",
@@ -5045,8 +5045,8 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
5045
5045
  "data-color-scheme": "light"
5046
5046
  }
5047
5047
  ) }),
5048
- j && M && /* @__PURE__ */ n("div", { className: C.extensionDivider }),
5049
- M && /* @__PURE__ */ v("div", { className: C.languageSwitch, children: [
5048
+ M && N && /* @__PURE__ */ n("div", { className: C.extensionDivider }),
5049
+ N && /* @__PURE__ */ v("div", { className: C.languageSwitch, children: [
5050
5050
  /* @__PURE__ */ n("span", { className: C.languageLabel, children: B("header.language") }),
5051
5051
  /* @__PURE__ */ v(se.TriggerContext, { children: [
5052
5052
  /* @__PURE__ */ v(
@@ -5085,7 +5085,7 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
5085
5085
  className: `${C.logo} ${C.primaryLogo}`,
5086
5086
  "aria-label": B("header.homeAriaLabel"),
5087
5087
  onClick: le,
5088
- children: /* @__PURE__ */ n(Y, {})
5088
+ children: /* @__PURE__ */ n(q, {})
5089
5089
  }
5090
5090
  ),
5091
5091
  /* @__PURE__ */ n("div", { className: C.secondaryLogoWrapper, children: f && S ? /* @__PURE__ */ n(
@@ -5097,7 +5097,7 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
5097
5097
  }
5098
5098
  ) : f ? /* @__PURE__ */ n("div", { className: C.slotComponent, children: /* @__PURE__ */ n("div", { className: C.slotContainer, children: /* @__PURE__ */ n("p", { className: C.slotText, children: "SLOT" }) }) }) : null })
5099
5099
  ] }),
5100
- p && y && y.length > 0 && !q && /* @__PURE__ */ n("nav", { className: C.navItems, children: y.map((h, _) => /* @__PURE__ */ n(
5100
+ p && y && y.length > 0 && !Y && /* @__PURE__ */ n("nav", { className: C.navItems, children: y.map((h, _) => /* @__PURE__ */ n(
5101
5101
  ue,
5102
5102
  {
5103
5103
  href: h.href,
@@ -5155,7 +5155,7 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
5155
5155
  ]
5156
5156
  }
5157
5157
  ) }),
5158
- (T || q) && /* @__PURE__ */ v(
5158
+ (T || Y) && /* @__PURE__ */ v(
5159
5159
  ke,
5160
5160
  {
5161
5161
  variant: "primary",
@@ -5176,8 +5176,8 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
5176
5176
  w && /* @__PURE__ */ n("div", { className: C.menuOverlay, children: /* @__PURE__ */ v("div", { className: C.menuContent, children: [
5177
5177
  /* @__PURE__ */ n("div", { className: C.menuLeftColumn }),
5178
5178
  /* @__PURE__ */ v("div", { className: C.menuRightColumn, children: [
5179
- q && (M || j) && /* @__PURE__ */ v("div", { className: C.menuUtilities, children: [
5180
- M && /* @__PURE__ */ v("div", { className: C.languageSwitch, children: [
5179
+ Y && (N || M) && /* @__PURE__ */ v("div", { className: C.menuUtilities, children: [
5180
+ N && /* @__PURE__ */ v("div", { className: C.languageSwitch, children: [
5181
5181
  /* @__PURE__ */ n("span", { className: C.languageLabel, children: B("header.language") }),
5182
5182
  /* @__PURE__ */ v(se.TriggerContext, { children: [
5183
5183
  /* @__PURE__ */ v(
@@ -5206,7 +5206,7 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
5206
5206
  )
5207
5207
  ] })
5208
5208
  ] }),
5209
- j && /* @__PURE__ */ n("div", { className: C.extensionContent, children: /* @__PURE__ */ n(
5209
+ M && /* @__PURE__ */ n("div", { className: C.extensionContent, children: /* @__PURE__ */ n(
5210
5210
  Xe,
5211
5211
  {
5212
5212
  "data-size": "sm",
@@ -5220,7 +5220,7 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
5220
5220
  ] }),
5221
5221
  /* @__PURE__ */ v("div", { className: C.slotContent, children: [
5222
5222
  s,
5223
- q && p && y && y.length > 0 && /* @__PURE__ */ n("nav", { className: C.navList, children: y.map((h, _) => /* @__PURE__ */ n(
5223
+ Y && p && y && y.length > 0 && /* @__PURE__ */ n("nav", { className: C.navList, children: y.map((h, _) => /* @__PURE__ */ n(
5224
5224
  ue,
5225
5225
  {
5226
5226
  href: h.href,
@@ -5233,7 +5233,7 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
5233
5233
  _
5234
5234
  )) })
5235
5235
  ] }),
5236
- q && /* @__PURE__ */ n("div", { className: C.menuBrand, children: /* @__PURE__ */ n(Y, {}) })
5236
+ Y && /* @__PURE__ */ n("div", { className: C.menuBrand, children: /* @__PURE__ */ n(q, {}) })
5237
5237
  ] })
5238
5238
  ] }) }),
5239
5239
  A && /* @__PURE__ */ n("div", { className: C.searchOverlay, children: /* @__PURE__ */ v("div", { className: C.searchContent, children: [
@@ -5243,16 +5243,16 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
5243
5243
  {
5244
5244
  "aria-label": B("header.search"),
5245
5245
  placeholder: B("header.searchPlaceholder"),
5246
- value: E,
5246
+ value: j,
5247
5247
  onChange: (h) => U(h.target.value)
5248
5248
  }
5249
5249
  ),
5250
5250
  /* @__PURE__ */ n($e.Button, { "aria-label": B("header.search") }),
5251
5251
  /* @__PURE__ */ n($e.ClearButton, { onClick: () => U(""), "aria-label": B("header.clearSearch") })
5252
5252
  ] }),
5253
- E && /* @__PURE__ */ n("div", { className: C.searchResults, children: N.length > 0 ? /* @__PURE__ */ v("div", { className: C.suggestionsSection, children: [
5253
+ j && /* @__PURE__ */ n("div", { className: C.searchResults, children: E.length > 0 ? /* @__PURE__ */ v("div", { className: C.suggestionsSection, children: [
5254
5254
  /* @__PURE__ */ n("h3", { className: C.suggestionsTitle, children: B("header.suggestions") }),
5255
- /* @__PURE__ */ n("ul", { className: C.resultList, children: N.slice(0, 5).map((h) => /* @__PURE__ */ n("li", { className: C.resultItem, children: /* @__PURE__ */ v(
5255
+ /* @__PURE__ */ n("ul", { className: C.resultList, children: E.slice(0, 5).map((h) => /* @__PURE__ */ n("li", { className: C.resultItem, children: /* @__PURE__ */ v(
5256
5256
  "button",
5257
5257
  {
5258
5258
  className: C.resultLink,
@@ -5260,10 +5260,10 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
5260
5260
  children: [
5261
5261
  /* @__PURE__ */ n("span", { className: C.suggestionIcon, children: /* @__PURE__ */ n(xt, { "aria-hidden": !0 }) }),
5262
5262
  /* @__PURE__ */ n("span", { className: C.suggestionText, children: (() => {
5263
- const _ = h.title.toLowerCase().indexOf(E.toLowerCase());
5263
+ const _ = h.title.toLowerCase().indexOf(j.toLowerCase());
5264
5264
  if (_ === -1) return /* @__PURE__ */ n("span", { className: C.remainingText, children: h.title });
5265
- const z = h.title.slice(0, _), ee = h.title.slice(_, _ + E.length), K = h.title.slice(_ + E.length);
5266
- return /* @__PURE__ */ v(jt, { children: [
5265
+ const z = h.title.slice(0, _), ee = h.title.slice(_, _ + j.length), K = h.title.slice(_ + j.length);
5266
+ return /* @__PURE__ */ v(Mt, { children: [
5267
5267
  /* @__PURE__ */ n("span", { className: C.remainingText, children: z }),
5268
5268
  /* @__PURE__ */ n("span", { className: C.highlightedText, children: ee }),
5269
5269
  /* @__PURE__ */ n("span", { className: C.remainingText, children: K })
@@ -5272,19 +5272,19 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
5272
5272
  ]
5273
5273
  }
5274
5274
  ) }, h.id)) }),
5275
- N.length > 5 && /* @__PURE__ */ v(
5275
+ E.length > 5 && /* @__PURE__ */ v(
5276
5276
  ue,
5277
5277
  {
5278
5278
  href: "#",
5279
5279
  "data-color": "neutral",
5280
5280
  className: C.viewAllLink,
5281
5281
  onClick: (h) => {
5282
- h.preventDefault(), o && o(`search/${E}`), R(!1), U("");
5282
+ h.preventDefault(), o && o(`search/${j}`), R(!1), U("");
5283
5283
  },
5284
5284
  children: [
5285
5285
  B("header.viewAll"),
5286
5286
  " (",
5287
- N.length,
5287
+ E.length,
5288
5288
  ")"
5289
5289
  ]
5290
5290
  }
@@ -5292,16 +5292,16 @@ const Ns = "_header_o5jrg_1", Es = "_languageSwitch_o5jrg_36", Fs = "_searchOver
5292
5292
  ] }) : /* @__PURE__ */ n("div", { className: C.noResults, children: /* @__PURE__ */ v(Ge, { children: [
5293
5293
  B("header.noResults"),
5294
5294
  ' "',
5295
- E,
5295
+ j,
5296
5296
  '"'
5297
5297
  ] }) }) })
5298
5298
  ] }) })
5299
5299
  ] });
5300
5300
  };
5301
- function Ei(e) {
5302
- const t = e;
5301
+ function ji(t) {
5302
+ const e = t;
5303
5303
  return `
5304
- .${t.header} {
5304
+ .${e.header} {
5305
5305
  width: 100%;
5306
5306
  background-color: var(--ds-color-neutral-background-default);
5307
5307
  border-bottom: none;
@@ -5310,7 +5310,7 @@ function Ei(e) {
5310
5310
  display: flex;
5311
5311
  flex-direction: column;
5312
5312
  }
5313
- .${t.headerExtension} {
5313
+ .${e.headerExtension} {
5314
5314
  background-color: var(--ds-color-primary-color-red-base-default, #D52B1E);
5315
5315
  width: 100%;
5316
5316
  height: 44px;
@@ -5321,20 +5321,36 @@ function Ei(e) {
5321
5321
  box-sizing: border-box;
5322
5322
  color: white;
5323
5323
  }
5324
- .${t.header}[data-color="primary"] .${t.headerExtension} {
5324
+ .${e.header}[data-color="primary"] .${e.headerExtension} {
5325
5325
  background-color: var(--ds-color-primary-color-red-base-default);
5326
5326
  color: white;
5327
5327
  }
5328
- .${t.header}[data-color="neutral"] .${t.headerExtension} {
5328
+ .${e.header}[data-color="neutral"] .${e.headerExtension} {
5329
5329
  background-color: var(--ds-color-neutral-base-default);
5330
5330
  color: var(--ds-color-neutral-text-default);
5331
5331
  }
5332
- .${t.headerExtensionTinted},
5333
- .${t.headerExtension}[data-extension-color="tinted"] {
5332
+ .${e.headerExtensionTinted},
5333
+ .${e.headerExtension}[data-extension-color="tinted"] {
5334
5334
  background: var(--color-primary-color-red-surface-tinted, #FAE4E2) !important;
5335
5335
  color: var(--ds-color-neutral-text-default, #2b2b2b);
5336
5336
  }
5337
- .${t.extensionContentWrapper} {
5337
+ .${e.headerExtensionTinted} .${e.languageLabel},
5338
+ .${e.headerExtension}[data-extension-color="tinted"] .${e.languageLabel} {
5339
+ color: var(--color-neutral-text-default, #2B2B2B) !important;
5340
+ }
5341
+ .${e.headerExtensionTinted} .${e.languageLink},
5342
+ .${e.headerExtension}[data-extension-color="tinted"] .${e.languageLink} {
5343
+ color: var(--color-neutral-text-default, #2B2B2B) !important;
5344
+ }
5345
+ .${e.headerExtensionTinted} .${e.extensionContent} .fds-switch__label,
5346
+ .${e.headerExtension}[data-extension-color="tinted"] .${e.extensionContent} .fds-switch__label {
5347
+ color: var(--color-neutral-text-default, #2B2B2B) !important;
5348
+ }
5349
+ .${e.headerExtensionTinted} .${e.extensionDivider},
5350
+ .${e.headerExtension}[data-extension-color="tinted"] .${e.extensionDivider} {
5351
+ background-color: var(--ds-color-neutral-border-subtle, #bcbcbc);
5352
+ }
5353
+ .${e.extensionContentWrapper} {
5338
5354
  width: 100%;
5339
5355
  max-width: 1364px;
5340
5356
  display: flex;
@@ -5342,110 +5358,110 @@ function Ei(e) {
5342
5358
  align-items: center;
5343
5359
  gap: var(--ds-size-4);
5344
5360
  }
5345
- .${t.extensionDivider} { width: 1px; height: 18px; background-color: rgba(247,233,232,1); }
5346
- .${t.languageSwitch} { display: flex; align-items: center; gap: var(--ds-size-2); }
5347
- .${t.languageLabel} { font-size: var(--ds-font-size-md); color: #ECECEC; }
5348
- .${t.languageLink} { color: white; text-decoration: none; display: flex; align-items: center; gap: 4px; }
5349
- .${t.header}[data-color="primary"] .${t.languageLabel} { color: #ECECEC; }
5350
- .${t.header}[data-color="neutral"] .${t.languageLabel} { color: var(--ds-color-neutral-text-default); }
5351
- .${t.header}[data-color="primary"] .${t.languageLink} { color: white !important; }
5352
- .${t.header}[data-color="neutral"] .${t.languageLink} { color: var(--ds-color-neutral-text-default) !important; }
5353
- .${t.languageSwitch} :global([popover]) { margin-top: 0 !important; background-color: var(--ds-color-neutral-background-default) !important; position: fixed !important; overflow: visible; z-index: 20000 !important; }
5354
- .${t.headerInner} {
5361
+ .${e.extensionDivider} { width: 1px; height: 18px; background-color: rgba(247,233,232,1); }
5362
+ .${e.languageSwitch} { display: flex; align-items: center; gap: var(--ds-size-2); }
5363
+ .${e.languageLabel} { font-size: var(--ds-font-size-md); color: #ECECEC; }
5364
+ .${e.languageLink} { color: white; text-decoration: none; display: flex; align-items: center; gap: 4px; }
5365
+ .${e.header}[data-color="primary"] .${e.languageLabel} { color: #ECECEC; }
5366
+ .${e.header}[data-color="neutral"] .${e.languageLabel} { color: var(--ds-color-neutral-text-default); }
5367
+ .${e.header}[data-color="primary"] .${e.languageLink} { color: white !important; }
5368
+ .${e.header}[data-color="neutral"] .${e.languageLink} { color: var(--ds-color-neutral-text-default) !important; }
5369
+ .${e.languageSwitch} [popover] { margin-top: 0 !important; background-color: var(--ds-color-neutral-background-default) !important; position: fixed !important; overflow: visible; z-index: 20000 !important; }
5370
+ .${e.headerInner} {
5355
5371
  display: flex; align-items: center; justify-content: space-between;
5356
5372
  min-height: 119px; width: 100%; max-width: 1364px;
5357
5373
  margin: 0 auto; padding: 0 var(--ds-size-6); box-sizing: border-box; gap: var(--ds-size-6);
5358
5374
  }
5359
- .${t.logoWrapper} { display: flex; align-items: center; height: 119px; flex-shrink: 0; background-color: white; }
5360
- .${t.logo} { display: flex; align-items: center; justify-content: center; width: 217px; height: 100%; text-decoration: none; color: inherit; flex-shrink: 0; }
5361
- .${t.redCrossLogo} { width: 169px; height: auto; display: block; }
5362
- .${t.secondaryLogoWrapper} { display: flex; align-items: center; justify-content: center; height: 100%; padding: 0 var(--ds-size-6); background: var(--ds-color-neutral-background-default); }
5363
- .${t.secondaryLogo} { height: 24px; width: auto; display: block; }
5364
- .${t.navItems} { display: flex; gap: 40px; align-items: center; margin-left: 24px; flex-grow: 1; justify-content: flex-end; }
5365
- .${t.navLink} { color: var(--ds-color-primary-color-red-text-default); font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); text-decoration: none; font-weight: var(--ds-font-weight-regular); letter-spacing: 0.09px; }
5366
- .${t.navLink}:hover { text-decoration: underline; }
5367
- .${t.actions} { display: flex; align-items: center; gap: var(--ds-size-6); flex-shrink: 0; margin-left: auto; }
5368
- .${t.ctaButton} { display: flex; align-items: center; }
5369
- .${t.themeToggle} { display: flex; align-items: center; }
5370
- .${t.userInfo} { display: flex; align-items: center; gap: var(--ds-size-3); }
5371
- .${t.userName} { display: block; font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: var(--ds-color-neutral-text-default); }
5372
- .${t.loginLink} { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ds-color-main-text-subtle); gap: 2px; }
5373
- .${t.loginText} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); font-weight: var(--ds-font-weight-regular); line-height: 1.5; }
5374
- .${t.underline} { width: 100%; height: 1px; background-color: var(--ds-color-main-border-strong); }
5375
- .${t.searchButtonWrapper} { display: flex; }
5376
- .${t.buttonText} { display: inline-block; margin-left: var(--ds-size-2); }
5377
- .${t.menuButton} { display: flex; align-items: center; }
5378
- .${t.menuOverlay}, .${t.searchOverlay} {
5375
+ .${e.logoWrapper} { display: flex; align-items: center; height: 119px; flex-shrink: 0; background-color: white; }
5376
+ .${e.logo} { display: flex; align-items: center; justify-content: center; width: 217px; height: 100%; text-decoration: none; color: inherit; flex-shrink: 0; }
5377
+ .${e.redCrossLogo} { width: 169px; height: auto; display: block; }
5378
+ .${e.secondaryLogoWrapper} { display: flex; align-items: center; justify-content: center; height: 100%; padding: 0 var(--ds-size-6); background: var(--ds-color-neutral-background-default); }
5379
+ .${e.secondaryLogo} { height: 24px; width: auto; display: block; }
5380
+ .${e.navItems} { display: flex; gap: 40px; align-items: center; margin-left: 24px; flex-grow: 1; justify-content: flex-end; }
5381
+ .${e.navLink} { color: var(--ds-color-primary-color-red-text-default); font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); text-decoration: none; font-weight: var(--ds-font-weight-regular); letter-spacing: 0.09px; }
5382
+ .${e.navLink}:hover { text-decoration: underline; }
5383
+ .${e.actions} { display: flex; align-items: center; gap: var(--ds-size-6); flex-shrink: 0; margin-left: auto; }
5384
+ .${e.ctaButton} { display: flex; align-items: center; }
5385
+ .${e.themeToggle} { display: flex; align-items: center; }
5386
+ .${e.userInfo} { display: flex; align-items: center; gap: var(--ds-size-3); }
5387
+ .${e.userName} { display: block; font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: var(--ds-color-neutral-text-default); }
5388
+ .${e.loginLink} { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ds-color-main-text-subtle); gap: 2px; }
5389
+ .${e.loginText} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); font-weight: var(--ds-font-weight-regular); line-height: 1.5; }
5390
+ .${e.underline} { width: 100%; height: 1px; background-color: var(--ds-color-main-border-strong); }
5391
+ .${e.searchButtonWrapper} { display: flex; }
5392
+ .${e.buttonText} { display: inline-block; margin-left: var(--ds-size-2); }
5393
+ .${e.menuButton} { display: flex; align-items: center; }
5394
+ .${e.menuOverlay}, .${e.searchOverlay} {
5379
5395
  position: absolute; top: 100%; left: 0; width: 100%;
5380
5396
  background-color: var(--ds-color-neutral-background-default);
5381
5397
  border-bottom: none;
5382
5398
  box-shadow: none; z-index: 999;
5383
5399
  }
5384
- .${t.searchOverlay} { padding: var(--ds-size-10) 0; }
5385
- .${t.searchOverlay}::before { display: none; }
5386
- .${t.searchContent} {
5400
+ .${e.searchOverlay} { padding: var(--ds-size-10) 0; }
5401
+ .${e.searchOverlay}::before { display: none; }
5402
+ .${e.searchContent} {
5387
5403
  max-width: 1364px; margin: 0 auto;
5388
5404
  padding: var(--ds-size-6) var(--ds-size-6) var(--ds-size-6) calc(217px + var(--ds-size-6) + var(--ds-size-4));
5389
5405
  display: flex; flex-direction: column; align-items: stretch; box-sizing: border-box;
5390
5406
  }
5391
- .${t.menuContent} { max-width: 1364px; margin: 0 auto; display: flex; flex-direction: row; align-items: stretch; box-sizing: border-box; }
5392
- .${t.menuLeftColumn} { width: calc(217px + var(--ds-size-6)); flex-shrink: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: var(--ds-size-6); }
5393
- .${t.menuRightColumn} { flex: 1; display: flex; flex-direction: column; padding: 48px 24px 80px 24px; gap: 24px; }
5394
- .${t.slotContent} { width: 100%; padding: var(--ds-size-10) 0; text-align: left; color: var(--ds-color-neutral-text-subtle); font-size: var(--ds-font-size-md); border-radius: var(--ds-border-radius-md); display: flex; flex-direction: column; gap: var(--ds-size-4); align-items: flex-start; }
5395
- .${t.navList} { display: flex; flex-direction: column; gap: var(--ds-size-3); align-items: flex-start; }
5396
- .${t.menuBrand} { display: none; }
5397
- .${t.menuUtilities} { display: flex; justify-content: space-between; align-items: center; width: 100%; }
5398
- .${t.suggestionsSection} { display: flex; flex-direction: column; gap: var(--ds-size-4); }
5399
- .${t.suggestionsTitle} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: var(--ds-color-neutral-text-subtle); font-weight: var(--ds-font-weight-regular); margin: 0; letter-spacing: 0.09px; }
5400
- .${t.searchResults} { margin-top: var(--ds-size-4); max-height: 400px; overflow-y: auto; }
5401
- .${t.resultList} { list-style: none; padding: 0; margin: 0; }
5402
- .${t.resultItem} { border-bottom: none; }
5403
- .${t.resultLink} {
5407
+ .${e.menuContent} { max-width: 1364px; margin: 0 auto; display: flex; flex-direction: row; align-items: stretch; box-sizing: border-box; }
5408
+ .${e.menuLeftColumn} { width: calc(217px + var(--ds-size-6)); flex-shrink: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: var(--ds-size-6); }
5409
+ .${e.menuRightColumn} { flex: 1; display: flex; flex-direction: column; padding: 48px 24px 80px 24px; gap: 24px; }
5410
+ .${e.slotContent} { width: 100%; padding: var(--ds-size-10) 0; text-align: left; color: var(--ds-color-neutral-text-subtle); font-size: var(--ds-font-size-md); border-radius: var(--ds-border-radius-md); display: flex; flex-direction: column; gap: var(--ds-size-4); align-items: flex-start; }
5411
+ .${e.navList} { display: flex; flex-direction: column; gap: var(--ds-size-3); align-items: flex-start; }
5412
+ .${e.menuBrand} { display: none; }
5413
+ .${e.menuUtilities} { display: flex; justify-content: space-between; align-items: center; width: 100%; }
5414
+ .${e.suggestionsSection} { display: flex; flex-direction: column; gap: var(--ds-size-4); }
5415
+ .${e.suggestionsTitle} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: var(--ds-color-neutral-text-subtle); font-weight: var(--ds-font-weight-regular); margin: 0; letter-spacing: 0.09px; }
5416
+ .${e.searchResults} { margin-top: var(--ds-size-4); max-height: 400px; overflow-y: auto; }
5417
+ .${e.resultList} { list-style: none; padding: 0; margin: 0; }
5418
+ .${e.resultItem} { border-bottom: none; }
5419
+ .${e.resultLink} {
5404
5420
  display: flex; flex-direction: row; align-items: center; width: 100%;
5405
5421
  padding: var(--ds-size-2) 0; background: none; border: none;
5406
5422
  text-align: left; cursor: pointer; gap: var(--ds-size-4); text-decoration: none;
5407
5423
  }
5408
- .${t.suggestionIcon} { font-size: 20px; color: var(--ds-color-neutral-text-subtle); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
5409
- .${t.suggestionText} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: var(--ds-color-neutral-text-default); line-height: 1.5; }
5410
- .${t.highlightedText} { color: var(--ds-color-primary-color-red-text-default); font-weight: var(--ds-font-weight-medium); }
5411
- .${t.remainingText} { color: var(--ds-color-neutral-border-subtle); }
5412
- .${t.viewAllLink} { display: block; padding: var(--ds-size-3); text-align: left; font-size: var(--ds-font-size-sm); font-weight: var(--ds-font-weight-medium); color: var(--ds-color-neutral-text-default); text-decoration: none; }
5413
- .${t.noResults} { padding: var(--ds-size-4); text-align: center; color: var(--ds-color-neutral-text-subtle); }
5424
+ .${e.suggestionIcon} { font-size: 20px; color: var(--ds-color-neutral-text-subtle); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
5425
+ .${e.suggestionText} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: var(--ds-color-neutral-text-default); line-height: 1.5; }
5426
+ .${e.highlightedText} { color: var(--ds-color-primary-color-red-text-default); font-weight: var(--ds-font-weight-medium); }
5427
+ .${e.remainingText} { color: var(--ds-color-neutral-border-subtle); }
5428
+ .${e.viewAllLink} { display: block; padding: var(--ds-size-3); text-align: left; font-size: var(--ds-font-size-sm); font-weight: var(--ds-font-weight-medium); color: var(--ds-color-neutral-text-default); text-decoration: none; }
5429
+ .${e.noResults} { padding: var(--ds-size-4); text-align: center; color: var(--ds-color-neutral-text-subtle); }
5414
5430
  @media (max-width: 850px) {
5415
- .${t.header} { z-index: 10000; position: relative; }
5416
- .${t.headerExtension} { display: none; }
5417
- .${t.headerInner} { padding: var(--ds-size-5) var(--ds-size-6); min-height: auto; }
5418
- .${t.navItems} { display: none; }
5419
- .${t.logoWrapper} { gap: var(--ds-size-2); }
5420
- .${t.logo} { height: 40px; }
5431
+ .${e.header} { z-index: 10000; position: relative; }
5432
+ .${e.headerExtension} { display: none; }
5433
+ .${e.headerInner} { padding: var(--ds-size-5) var(--ds-size-6); min-height: auto; }
5434
+ .${e.navItems} { display: none; }
5435
+ .${e.logoWrapper} { gap: var(--ds-size-2); }
5436
+ .${e.logo} { height: 40px; }
5421
5437
  /* Mobile: always hide primary logo in header */
5422
- .${t.primaryLogo} { display: none; }
5423
- .${t.secondaryLogo} { height: 28px; }
5424
- .${t.secondaryLogoWrapper} { padding: 0; }
5425
- .${t.actions} { gap: var(--ds-size-4); }
5426
- .${t.userName} { display: none; }
5427
- .${t.menuButton} .${t.buttonText} { display: none; }
5428
- .${t.searchButtonWrapper} .${t.buttonText} { display: inline; }
5429
- .${t.menuOverlay} { position: fixed; top: var(--header-height-mobile, 70px); left: 0; right: 0; bottom: 0; width: 100vw; height: calc(100vh - var(--header-height-mobile, 70px)); z-index: 9999; border-radius: 0; border: none; overflow-y: auto; }
5430
- .${t.searchOverlay} { width: 100%; right: 0; left: 0; border-radius: 0; border: none; }
5431
- .${t.searchContent} { padding: var(--ds-size-6); }
5432
- .${t.menuContent} { flex-direction: column; padding: 0; min-height: 100%; }
5433
- .${t.menuRightColumn} { padding: var(--ds-size-4) var(--ds-size-6) var(--ds-size-6) var(--ds-size-6); gap: var(--ds-size-4); flex: 1; display: flex; flex-direction: column; min-height: 0; }
5434
- .${t.slotContent} { padding: 0; }
5435
- .${t.menuLeftColumn} { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: var(--ds-size-6); }
5436
- .${t.menuBrand} { display: flex; justify-content: flex-start; margin-top: auto; padding: var(--ds-size-6); margin-left: calc(-1 * var(--ds-size-6)); margin-right: calc(-1 * var(--ds-size-6)); margin-bottom: calc(-1 * var(--ds-size-6)); background-color: white; }
5437
- .${t.menuUtilities} .${t.languageSwitch} :global([popover]) { background-color: var(--ds-color-neutral-background-default) !important; margin-top: 0 !important; position: fixed !important; overflow: visible; z-index: 20000 !important; }
5438
+ .${e.primaryLogo} { display: none; }
5439
+ .${e.secondaryLogo} { height: 28px; }
5440
+ .${e.secondaryLogoWrapper} { padding: 0; }
5441
+ .${e.actions} { gap: var(--ds-size-4); }
5442
+ .${e.userName} { display: none; }
5443
+ .${e.menuButton} .${e.buttonText} { display: none; }
5444
+ .${e.searchButtonWrapper} .${e.buttonText} { display: inline; }
5445
+ .${e.menuOverlay} { position: fixed; top: var(--header-height-mobile, 70px); left: 0; right: 0; bottom: 0; width: 100vw; height: calc(100vh - var(--header-height-mobile, 70px)); z-index: 9999; border-radius: 0; border: none; overflow-y: auto; }
5446
+ .${e.searchOverlay} { width: 100%; right: 0; left: 0; border-radius: 0; border: none; }
5447
+ .${e.searchContent} { padding: var(--ds-size-6); }
5448
+ .${e.menuContent} { flex-direction: column; padding: 0; min-height: 100%; }
5449
+ .${e.menuRightColumn} { padding: var(--ds-size-4) var(--ds-size-6) var(--ds-size-6) var(--ds-size-6); gap: var(--ds-size-4); flex: 1; display: flex; flex-direction: column; min-height: 0; }
5450
+ .${e.slotContent} { padding: 0; }
5451
+ .${e.menuLeftColumn} { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: var(--ds-size-6); }
5452
+ .${e.menuBrand} { display: flex; justify-content: flex-start; margin-top: auto; padding: var(--ds-size-6); margin-left: calc(-1 * var(--ds-size-6)); margin-right: calc(-1 * var(--ds-size-6)); margin-bottom: calc(-1 * var(--ds-size-6)); background-color: white; }
5453
+ .${e.menuUtilities} .${e.languageSwitch} [popover] { background-color: var(--ds-color-neutral-background-default) !important; margin-top: 0 !important; position: fixed !important; overflow: visible; z-index: 20000 !important; }
5438
5454
  @media (prefers-color-scheme: light) {
5439
- .${t.menuUtilities} .${t.languageLabel} { color: var(--color-neutral-text-default, #2B2B2B); }
5440
- .${t.menuUtilities} .${t.languageLink} { color: var(--color-neutral-text-default, #2B2B2B) !important; }
5455
+ .${e.menuUtilities} .${e.languageLabel} { color: var(--color-neutral-text-default, #2B2B2B); }
5456
+ .${e.menuUtilities} .${e.languageLink} { color: var(--color-neutral-text-default, #2B2B2B) !important; }
5441
5457
  }
5442
- [data-color-scheme="light"] .${t.menuUtilities} .${t.languageLabel} { color: var(--color-neutral-text-default, #2B2B2B); }
5443
- [data-color-scheme="light"] .${t.menuUtilities} .${t.languageLink} { color: var(--color-neutral-text-default, #2B2B2B) !important; }
5444
- .${t.searchOverlay}::before { display: none; }
5458
+ [data-color-scheme="light"] .${e.menuUtilities} .${e.languageLabel} { color: var(--color-neutral-text-default, #2B2B2B); }
5459
+ [data-color-scheme="light"] .${e.menuUtilities} .${e.languageLink} { color: var(--color-neutral-text-default, #2B2B2B) !important; }
5460
+ .${e.searchOverlay}::before { display: none; }
5445
5461
  }
5446
5462
  `;
5447
5463
  }
5448
- const Fi = "_footer_1p1mk_1", Bi = "_mainSection_1p1mk_7", Pi = "_mainContainer_1p1mk_25", $i = "_crossCornerTopRight_1p1mk_35", zi = "_crossCornerBottomLeft_1p1mk_42", Ri = "_contentRow_1p1mk_50", Gi = "_newsletterSection_1p1mk_60", Hi = "_newsletterDescription_1p1mk_67", Wi = "_newsletterForm_1p1mk_76", Ui = "_newsletterInputGroup_1p1mk_82", Oi = "_newsletterInput_1p1mk_82", Vi = "_consentText_1p1mk_93", Ki = "_linksSection_1p1mk_103", Yi = "_linksColumn_1p1mk_109", qi = "_linksTitle_1p1mk_116", Zi = "_linksList_1p1mk_127", Xi = "_footerLink_1p1mk_136", Ji = "_divider_1p1mk_158", Qi = "_contactSection_1p1mk_166", ea = "_contactColumn_1p1mk_173", ta = "_contactTitle_1p1mk_181", na = "_contactContent_1p1mk_190", oa = "_copyrightSection_1p1mk_204", ra = "_copyrightText_1p1mk_209", sa = "_whiteSection_1p1mk_219", ia = "_whiteContainer_1p1mk_224", aa = "_whiteContent_1p1mk_232", la = "_logo_1p1mk_240", da = "_redCrossLogo_1p1mk_254", ca = "_slotLarge_1p1mk_260", ua = "_contentRowContact_1p1mk_315", pa = "_socialLinksSection_1p1mk_325", ma = "_socialLinksTitle_1p1mk_332", ga = "_socialLinksList_1p1mk_343", fa = "_socialLink_1p1mk_325", ha = "_socialLinkIcon_1p1mk_376", ka = "_contactPersonsSection_1p1mk_391", va = "_contactPersonsTitle_1p1mk_398", ba = "_contactPersonsGrid_1p1mk_409", ya = "_contactPersonCard_1p1mk_415", xa = "_contactPersonName_1p1mk_422", Ta = "_contactPersonRole_1p1mk_431", Sa = "_contactPersonDetails_1p1mk_440", Ca = "_contactPersonLabel_1p1mk_447", wa = "_contactPersonEmail_1p1mk_451", Ia = "_contactPersonPhone_1p1mk_452", _a = "_contactPersonAddress_1p1mk_453", Da = "_bottomRowContact_1p1mk_474", La = "_legalLinksRow_1p1mk_483", Aa = "_legalLink_1p1mk_483", k = {
5464
+ const Fi = "_footer_1p1mk_1", Bi = "_mainSection_1p1mk_7", Pi = "_mainContainer_1p1mk_25", $i = "_crossCornerTopRight_1p1mk_35", zi = "_crossCornerBottomLeft_1p1mk_42", Ri = "_contentRow_1p1mk_50", Gi = "_newsletterSection_1p1mk_60", Hi = "_newsletterDescription_1p1mk_67", Wi = "_newsletterForm_1p1mk_76", Ui = "_newsletterInputGroup_1p1mk_82", Oi = "_newsletterInput_1p1mk_82", Vi = "_consentText_1p1mk_93", Ki = "_linksSection_1p1mk_103", qi = "_linksColumn_1p1mk_109", Yi = "_linksTitle_1p1mk_116", Zi = "_linksList_1p1mk_127", Xi = "_footerLink_1p1mk_136", Ji = "_divider_1p1mk_158", Qi = "_contactSection_1p1mk_166", ea = "_contactColumn_1p1mk_173", ta = "_contactTitle_1p1mk_181", na = "_contactContent_1p1mk_190", oa = "_copyrightSection_1p1mk_204", ra = "_copyrightText_1p1mk_209", sa = "_whiteSection_1p1mk_219", ia = "_whiteContainer_1p1mk_224", aa = "_whiteContent_1p1mk_232", la = "_logo_1p1mk_240", da = "_redCrossLogo_1p1mk_254", ca = "_slotLarge_1p1mk_260", ua = "_contentRowContact_1p1mk_315", pa = "_socialLinksSection_1p1mk_325", ma = "_socialLinksTitle_1p1mk_332", ga = "_socialLinksList_1p1mk_343", fa = "_socialLink_1p1mk_325", ha = "_socialLinkIcon_1p1mk_376", ka = "_contactPersonsSection_1p1mk_391", va = "_contactPersonsTitle_1p1mk_398", ba = "_contactPersonsGrid_1p1mk_409", ya = "_contactPersonCard_1p1mk_415", xa = "_contactPersonName_1p1mk_422", Ta = "_contactPersonRole_1p1mk_431", Sa = "_contactPersonDetails_1p1mk_440", Ca = "_contactPersonLabel_1p1mk_447", wa = "_contactPersonEmail_1p1mk_451", Ia = "_contactPersonPhone_1p1mk_452", _a = "_contactPersonAddress_1p1mk_453", Da = "_bottomRowContact_1p1mk_474", La = "_legalLinksRow_1p1mk_483", Aa = "_legalLink_1p1mk_483", k = {
5449
5465
  footer: Fi,
5450
5466
  mainSection: Bi,
5451
5467
  mainContainer: Pi,
@@ -5459,8 +5475,8 @@ const Fi = "_footer_1p1mk_1", Bi = "_mainSection_1p1mk_7", Pi = "_mainContainer_
5459
5475
  newsletterInput: Oi,
5460
5476
  consentText: Vi,
5461
5477
  linksSection: Ki,
5462
- linksColumn: Yi,
5463
- linksTitle: qi,
5478
+ linksColumn: qi,
5479
+ linksTitle: Yi,
5464
5480
  linksList: Zi,
5465
5481
  footerLink: Xi,
5466
5482
  divider: Ji,
@@ -5497,8 +5513,8 @@ const Fi = "_footer_1p1mk_1", Bi = "_mainSection_1p1mk_7", Pi = "_mainContainer_
5497
5513
  legalLinksRow: La,
5498
5514
  legalLink: Aa
5499
5515
  }, Wl = ({
5500
- "data-color": e = "neutral",
5501
- variant: t = "default",
5516
+ "data-color": t = "neutral",
5517
+ variant: e = "default",
5502
5518
  showCrossCorners: o = !1,
5503
5519
  newsletterDescription: s = "Tekst om rødekors som kan være rundt 2 linjebrudd i lengde.",
5504
5520
  newsletterPlaceholder: a = "Input tekst",
@@ -5517,24 +5533,24 @@ const Fi = "_footer_1p1mk_1", Bi = "_mainSection_1p1mk_7", Pi = "_mainContainer_
5517
5533
  primaryLogoSrc: p,
5518
5534
  primaryLogoAlt: T = "Røde Kors Logo",
5519
5535
  whiteSectionSlot: g,
5520
- socialLinks: j = [],
5521
- contactPersons: M = [],
5536
+ socialLinks: M = [],
5537
+ contactPersons: N = [],
5522
5538
  legalLinks: F = [],
5523
5539
  socialLinksTitle: w,
5524
5540
  contactPersonsTitle: L
5525
5541
  } = {}) => {
5526
- const A = (/* @__PURE__ */ new Date()).getFullYear(), { t: R } = Fe(), [E, U] = Je.useState(""), D = (N, V) => {
5527
- const h = R(N);
5528
- return h === N ? V : h;
5542
+ const A = (/* @__PURE__ */ new Date()).getFullYear(), { t: R } = Fe(), [j, U] = Je.useState(""), D = (E, V) => {
5543
+ const h = R(E);
5544
+ return h === E ? V : h;
5529
5545
  };
5530
5546
  Je.useEffect(() => {
5531
- const N = "rk-footer-inline-styles";
5532
- if (typeof document > "u" || document.getElementById(N)) return;
5533
- const V = ja(k), h = document.createElement("style");
5534
- h.id = N, h.textContent = V, document.head.appendChild(h);
5547
+ const E = "rk-footer-inline-styles";
5548
+ if (typeof document > "u" || document.getElementById(E)) return;
5549
+ const V = Ma(k), h = document.createElement("style");
5550
+ h.id = E, h.textContent = V, document.head.appendChild(h);
5535
5551
  }, []);
5536
- const P = (N) => {
5537
- N.preventDefault(), c == null || c(E);
5552
+ const P = (E) => {
5553
+ E.preventDefault(), c == null || c(j);
5538
5554
  }, $ = () => /* @__PURE__ */ v(
5539
5555
  "svg",
5540
5556
  {
@@ -5571,7 +5587,7 @@ const Fi = "_footer_1p1mk_1", Bi = "_mainSection_1p1mk_7", Pi = "_mainContainer_
5571
5587
  { label: D("footer.legal.press", "For presse"), href: "#" },
5572
5588
  { label: D("footer.legal.procurement", "Regler for innkjøp"), href: "#" },
5573
5589
  { label: D("footer.legal.whistleblowing", "Varsling/Misconduct"), href: "#" }
5574
- ], q = /* @__PURE__ */ v(jt, { children: [
5590
+ ], Y = /* @__PURE__ */ v(Mt, { children: [
5575
5591
  'Ved å trykke "',
5576
5592
  i,
5577
5593
  '" samtykker du til å motta nyhetsbrev.',
@@ -5579,15 +5595,15 @@ const Fi = "_footer_1p1mk_1", Bi = "_mainSection_1p1mk_7", Pi = "_mainContainer_
5579
5595
  "Du kan når som helst ",
5580
5596
  /* @__PURE__ */ n(ue, { href: "#", children: "melde deg av" }),
5581
5597
  " nyhetsbrevet uten kostnad."
5582
- ] }), H = u || G, Y = x || B, Z = () => /* @__PURE__ */ v("div", { className: k.socialLinksSection, children: [
5598
+ ] }), H = u || G, q = x || B, Z = () => /* @__PURE__ */ v("div", { className: k.socialLinksSection, children: [
5583
5599
  w && /* @__PURE__ */ n("h3", { className: k.socialLinksTitle, children: w }),
5584
- /* @__PURE__ */ n("ul", { className: k.socialLinksList, children: j.map((N, V) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ v(ue, { href: N.href, className: k.socialLink, children: [
5585
- /* @__PURE__ */ n("span", { className: k.socialLinkIcon, children: N.icon }),
5586
- N.label
5600
+ /* @__PURE__ */ n("ul", { className: k.socialLinksList, children: M.map((E, V) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ v(ue, { href: E.href, className: k.socialLink, children: [
5601
+ /* @__PURE__ */ n("span", { className: k.socialLinkIcon, children: E.icon }),
5602
+ E.label
5587
5603
  ] }) }, V)) })
5588
- ] }), le = ({ person: N }) => /* @__PURE__ */ v("div", { className: k.contactPersonCard, children: [
5589
- /* @__PURE__ */ n("p", { className: k.contactPersonName, children: N.name }),
5590
- /* @__PURE__ */ n("p", { className: k.contactPersonRole, children: N.role }),
5604
+ ] }), le = ({ person: E }) => /* @__PURE__ */ v("div", { className: k.contactPersonCard, children: [
5605
+ /* @__PURE__ */ n("p", { className: k.contactPersonName, children: E.name }),
5606
+ /* @__PURE__ */ n("p", { className: k.contactPersonRole, children: E.role }),
5591
5607
  /* @__PURE__ */ v("div", { className: k.contactPersonDetails, children: [
5592
5608
  /* @__PURE__ */ v("p", { className: k.contactPersonEmail, children: [
5593
5609
  /* @__PURE__ */ v("span", { className: k.contactPersonLabel, children: [
@@ -5595,34 +5611,34 @@ const Fi = "_footer_1p1mk_1", Bi = "_mainSection_1p1mk_7", Pi = "_mainContainer_
5595
5611
  ":"
5596
5612
  ] }),
5597
5613
  " ",
5598
- /* @__PURE__ */ n(ue, { href: `mailto:${N.email}`, children: N.email })
5614
+ /* @__PURE__ */ n(ue, { href: `mailto:${E.email}`, children: E.email })
5599
5615
  ] }),
5600
- N.phone && /* @__PURE__ */ v("p", { className: k.contactPersonPhone, children: [
5616
+ E.phone && /* @__PURE__ */ v("p", { className: k.contactPersonPhone, children: [
5601
5617
  /* @__PURE__ */ v("span", { className: k.contactPersonLabel, children: [
5602
5618
  D("footer.contact.phone", "Telefon"),
5603
5619
  ":"
5604
5620
  ] }),
5605
5621
  " ",
5606
- N.phone
5622
+ E.phone
5607
5623
  ] }),
5608
- N.address && /* @__PURE__ */ n("p", { className: k.contactPersonAddress, children: N.address })
5624
+ E.address && /* @__PURE__ */ n("p", { className: k.contactPersonAddress, children: E.address })
5609
5625
  ] })
5610
5626
  ] }), ie = () => /* @__PURE__ */ v("div", { className: k.contactPersonsSection, children: [
5611
5627
  L && /* @__PURE__ */ n("h3", { className: k.contactPersonsTitle, children: L }),
5612
- /* @__PURE__ */ n("div", { className: k.contactPersonsGrid, children: M.map((N, V) => /* @__PURE__ */ n(le, { person: N }, V)) })
5613
- ] }), re = () => /* @__PURE__ */ n("ul", { className: k.legalLinksRow, children: F.map((N, V) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(ue, { href: N.href, className: k.legalLink, children: N.label }) }, V)) });
5614
- return t === "contact" ? /* @__PURE__ */ v("footer", { className: k.footer, "data-color": e, children: [
5628
+ /* @__PURE__ */ n("div", { className: k.contactPersonsGrid, children: N.map((E, V) => /* @__PURE__ */ n(le, { person: E }, V)) })
5629
+ ] }), re = () => /* @__PURE__ */ n("ul", { className: k.legalLinksRow, children: F.map((E, V) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(ue, { href: E.href, className: k.legalLink, children: E.label }) }, V)) });
5630
+ return e === "contact" ? /* @__PURE__ */ v("footer", { className: k.footer, "data-color": t, children: [
5615
5631
  /* @__PURE__ */ n("div", { className: k.mainSection, children: /* @__PURE__ */ v("div", { className: k.mainContainer, children: [
5616
5632
  o && /* @__PURE__ */ n("div", { className: k.crossCornerTopRight, children: /* @__PURE__ */ n(Ae, { position: "top-right", size: "md", "aria-hidden": !0 }) }),
5617
5633
  /* @__PURE__ */ v("div", { className: k.contentRowContact, children: [
5618
- j.length > 0 && /* @__PURE__ */ n(Z, {}),
5619
- M.length > 0 && /* @__PURE__ */ n(ie, {})
5634
+ M.length > 0 && /* @__PURE__ */ n(Z, {}),
5635
+ N.length > 0 && /* @__PURE__ */ n(ie, {})
5620
5636
  ] }),
5621
5637
  /* @__PURE__ */ n("div", { className: k.divider }),
5622
5638
  /* @__PURE__ */ v("div", { className: k.contactSection, children: [
5623
5639
  /* @__PURE__ */ v("div", { className: k.contactColumn, children: [
5624
5640
  /* @__PURE__ */ n("h4", { className: k.contactTitle, children: D("footer.contact.visitingAddress", "Besøks adresse") }),
5625
- /* @__PURE__ */ n("div", { className: k.contactContent, children: S.map((N, V) => /* @__PURE__ */ n("p", { children: N }, V)) })
5641
+ /* @__PURE__ */ n("div", { className: k.contactContent, children: S.map((E, V) => /* @__PURE__ */ n("p", { children: E }, V)) })
5626
5642
  ] }),
5627
5643
  /* @__PURE__ */ v("div", { className: k.contactColumn, children: [
5628
5644
  /* @__PURE__ */ n("h4", { className: k.contactTitle, children: D("footer.contact.organizationNumber", "Organisasjonsnummer") }),
@@ -5657,7 +5673,7 @@ const Fi = "_footer_1p1mk_1", Bi = "_mainSection_1p1mk_7", Pi = "_mainContainer_
5657
5673
  ) : /* @__PURE__ */ n("div", { className: k.logo, children: /* @__PURE__ */ n($, {}) })),
5658
5674
  g && /* @__PURE__ */ n("div", { className: k.slotLarge, children: g })
5659
5675
  ] }) }) })
5660
- ] }) : /* @__PURE__ */ v("footer", { className: k.footer, "data-color": e, children: [
5676
+ ] }) : /* @__PURE__ */ v("footer", { className: k.footer, "data-color": t, children: [
5661
5677
  /* @__PURE__ */ n("div", { className: k.mainSection, children: /* @__PURE__ */ v("div", { className: k.mainContainer, children: [
5662
5678
  o && /* @__PURE__ */ n("div", { className: k.crossCornerTopRight, children: /* @__PURE__ */ n(Ae, { position: "top-right", size: "md", "aria-hidden": !0 }) }),
5663
5679
  /* @__PURE__ */ v("div", { className: k.contentRow, children: [
@@ -5669,23 +5685,23 @@ const Fi = "_footer_1p1mk_1", Bi = "_mainSection_1p1mk_7", Pi = "_mainContainer_
5669
5685
  {
5670
5686
  type: "email",
5671
5687
  placeholder: a,
5672
- value: E,
5673
- onChange: (N) => U(N.target.value),
5688
+ value: j,
5689
+ onChange: (E) => U(E.target.value),
5674
5690
  className: k.newsletterInput
5675
5691
  }
5676
5692
  ),
5677
5693
  /* @__PURE__ */ n(ke, { type: "submit", variant: "primary", "data-color": "neutral", children: i })
5678
5694
  ] }) }),
5679
- /* @__PURE__ */ n("p", { className: k.consentText, children: r || q })
5695
+ /* @__PURE__ */ n("p", { className: k.consentText, children: r || Y })
5680
5696
  ] }),
5681
5697
  /* @__PURE__ */ v("div", { className: k.linksSection, children: [
5682
5698
  /* @__PURE__ */ v("nav", { className: k.linksColumn, "aria-label": m || D("footer.shortcuts", "Snarveier"), children: [
5683
5699
  /* @__PURE__ */ n("h3", { className: k.linksTitle, children: m || D("footer.shortcuts", "Snarveier") }),
5684
- /* @__PURE__ */ n("ul", { className: k.linksList, children: H.map((N, V) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(ue, { href: N.href, className: k.footerLink, children: N.label }) }, V)) })
5700
+ /* @__PURE__ */ n("ul", { className: k.linksList, children: H.map((E, V) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(ue, { href: E.href, className: k.footerLink, children: E.label }) }, V)) })
5685
5701
  ] }),
5686
5702
  /* @__PURE__ */ v("nav", { className: k.linksColumn, "aria-label": f || D("footer.links", "Lenker"), children: [
5687
5703
  /* @__PURE__ */ n("h3", { className: k.linksTitle, children: f || D("footer.links", "Lenker") }),
5688
- /* @__PURE__ */ n("ul", { className: k.linksList, children: Y.map((N, V) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(ue, { href: N.href, className: k.footerLink, children: N.label }) }, V)) })
5704
+ /* @__PURE__ */ n("ul", { className: k.linksList, children: q.map((E, V) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(ue, { href: E.href, className: k.footerLink, children: E.label }) }, V)) })
5689
5705
  ] })
5690
5706
  ] })
5691
5707
  ] }),
@@ -5693,7 +5709,7 @@ const Fi = "_footer_1p1mk_1", Bi = "_mainSection_1p1mk_7", Pi = "_mainContainer_
5693
5709
  /* @__PURE__ */ v("div", { className: k.contactSection, children: [
5694
5710
  /* @__PURE__ */ v("div", { className: k.contactColumn, children: [
5695
5711
  /* @__PURE__ */ n("h4", { className: k.contactTitle, children: D("footer.contact.visitingAddress", "Besøks adresse") }),
5696
- /* @__PURE__ */ n("div", { className: k.contactContent, children: S.map((N, V) => /* @__PURE__ */ n("p", { children: N }, V)) })
5712
+ /* @__PURE__ */ n("div", { className: k.contactContent, children: S.map((E, V) => /* @__PURE__ */ n("p", { children: E }, V)) })
5697
5713
  ] }),
5698
5714
  /* @__PURE__ */ v("div", { className: k.contactColumn, children: [
5699
5715
  /* @__PURE__ */ n("h4", { className: k.contactTitle, children: D("footer.contact.organizationNumber", "Organisasjonsnummer") }),
@@ -5727,27 +5743,27 @@ const Fi = "_footer_1p1mk_1", Bi = "_mainSection_1p1mk_7", Pi = "_mainContainer_
5727
5743
  ] }) }) })
5728
5744
  ] });
5729
5745
  };
5730
- function ja(e) {
5731
- const t = e;
5746
+ function Ma(t) {
5747
+ const e = t;
5732
5748
  return `
5733
- .${t.footer} {
5749
+ .${e.footer} {
5734
5750
  margin-top: auto;
5735
5751
  width: 100%;
5736
5752
  }
5737
- .${t.mainSection} {
5753
+ .${e.mainSection} {
5738
5754
  background-color: var(--ds-color-neutral-background-default, #ffffff);
5739
5755
  width: 100%;
5740
5756
  }
5741
- .${t.footer}[data-color="primary"] .${t.mainSection} {
5757
+ .${e.footer}[data-color="primary"] .${e.mainSection} {
5742
5758
  background-color: var(--ds-color-primary-color-red-background-tinted);
5743
5759
  }
5744
- .${t.footer}[data-color="additional"] .${t.mainSection} {
5760
+ .${e.footer}[data-color="additional"] .${e.mainSection} {
5745
5761
  background-color: var(--ds-color-additional-color-ocean-background-tinted);
5746
5762
  }
5747
- .${t.footer}[data-color="neutral"] .${t.mainSection} {
5763
+ .${e.footer}[data-color="neutral"] .${e.mainSection} {
5748
5764
  background-color: var(--ds-color-neutral-background-subtle, #f5f5f5);
5749
5765
  }
5750
- .${t.mainContainer} {
5766
+ .${e.mainContainer} {
5751
5767
  position: relative;
5752
5768
  width: 100%;
5753
5769
  max-width: 1440px;
@@ -5755,19 +5771,19 @@ function ja(e) {
5755
5771
  padding: var(--ds-size-30, 120px) var(--ds-size-44, 175px);
5756
5772
  box-sizing: border-box;
5757
5773
  }
5758
- .${t.crossCornerTopRight} {
5774
+ .${e.crossCornerTopRight} {
5759
5775
  display: flex;
5760
5776
  justify-content: flex-end;
5761
5777
  width: 100%;
5762
5778
  margin-bottom: var(--ds-size-6, 24px);
5763
5779
  }
5764
- .${t.crossCornerBottomLeft} {
5780
+ .${e.crossCornerBottomLeft} {
5765
5781
  display: flex;
5766
5782
  justify-content: flex-start;
5767
5783
  width: 100%;
5768
5784
  margin-top: var(--ds-size-6, 24px);
5769
5785
  }
5770
- .${t.contentRow} {
5786
+ .${e.contentRow} {
5771
5787
  display: flex;
5772
5788
  justify-content: space-between;
5773
5789
  align-items: flex-start;
@@ -5775,13 +5791,13 @@ function ja(e) {
5775
5791
  padding: var(--ds-size-8, 32px) 0;
5776
5792
  flex-wrap: wrap;
5777
5793
  }
5778
- .${t.newsletterSection} {
5794
+ .${e.newsletterSection} {
5779
5795
  display: flex;
5780
5796
  flex-direction: column;
5781
5797
  gap: var(--ds-size-6, 24px);
5782
5798
  max-width: 440px;
5783
5799
  }
5784
- .${t.newsletterDescription} {
5800
+ .${e.newsletterDescription} {
5785
5801
  font-size: var(--ds-font-size-5, 21px);
5786
5802
  font-weight: var(--ds-font-weight-regular);
5787
5803
  line-height: 1.5;
@@ -5789,21 +5805,21 @@ function ja(e) {
5789
5805
  color: var(--ds-color-neutral-text-default, #2b2b2b);
5790
5806
  margin: 0;
5791
5807
  }
5792
- .${t.newsletterForm} {
5808
+ .${e.newsletterForm} {
5793
5809
  display: flex;
5794
5810
  flex-direction: column;
5795
5811
  gap: var(--ds-size-6, 24px);
5796
5812
  }
5797
- .${t.newsletterInputGroup} {
5813
+ .${e.newsletterInputGroup} {
5798
5814
  display: flex;
5799
5815
  gap: var(--ds-size-2, 8px);
5800
5816
  align-items: flex-end;
5801
5817
  }
5802
- .${t.newsletterInput} {
5818
+ .${e.newsletterInput} {
5803
5819
  flex: 1;
5804
5820
  min-width: 200px;
5805
5821
  }
5806
- .${t.consentText} {
5822
+ .${e.consentText} {
5807
5823
  font-size: var(--ds-font-size-3, 16px);
5808
5824
  font-weight: var(--ds-font-weight-regular);
5809
5825
  line-height: 1.3;
@@ -5811,18 +5827,18 @@ function ja(e) {
5811
5827
  color: var(--ds-color-neutral-text-default, #2b2b2b);
5812
5828
  margin: 0;
5813
5829
  }
5814
- .${t.linksSection} {
5830
+ .${e.linksSection} {
5815
5831
  display: flex;
5816
5832
  gap: var(--ds-size-12, 48px);
5817
5833
  flex-wrap: wrap;
5818
5834
  }
5819
- .${t.linksColumn} {
5835
+ .${e.linksColumn} {
5820
5836
  display: flex;
5821
5837
  flex-direction: column;
5822
5838
  gap: var(--ds-size-2, 8px);
5823
5839
  min-width: 150px;
5824
5840
  }
5825
- .${t.linksTitle} {
5841
+ .${e.linksTitle} {
5826
5842
  font-size: var(--ds-font-size-7, 30px);
5827
5843
  font-weight: var(--ds-font-weight-regular);
5828
5844
  line-height: 1.3;
@@ -5832,7 +5848,7 @@ function ja(e) {
5832
5848
  text-decoration: underline;
5833
5849
  text-underline-offset: 4px;
5834
5850
  }
5835
- .${t.linksList} {
5851
+ .${e.linksList} {
5836
5852
  list-style: none;
5837
5853
  padding: 0;
5838
5854
  margin: 0;
@@ -5840,7 +5856,7 @@ function ja(e) {
5840
5856
  flex-direction: column;
5841
5857
  gap: var(--ds-size-2, 8px);
5842
5858
  }
5843
- .${t.footerLink} {
5859
+ .${e.footerLink} {
5844
5860
  font-size: var(--ds-font-size-4, 18px);
5845
5861
  font-weight: var(--ds-font-weight-regular);
5846
5862
  line-height: 1.5;
@@ -5849,26 +5865,26 @@ function ja(e) {
5849
5865
  text-decoration: underline;
5850
5866
  text-underline-offset: 2px;
5851
5867
  }
5852
- .${t.divider} {
5868
+ .${e.divider} {
5853
5869
  width: 100%;
5854
5870
  height: 1px;
5855
5871
  background-color: var(--ds-color-neutral-border-subtle, #bcbcbc);
5856
5872
  margin: var(--ds-size-6, 24px) 0;
5857
5873
  }
5858
- .${t.contactSection} {
5874
+ .${e.contactSection} {
5859
5875
  display: flex;
5860
5876
  gap: var(--ds-size-6, 24px);
5861
5877
  align-items: flex-start;
5862
5878
  flex-wrap: wrap;
5863
5879
  }
5864
- .${t.contactColumn} {
5880
+ .${e.contactColumn} {
5865
5881
  display: flex;
5866
5882
  flex-direction: column;
5867
5883
  gap: var(--ds-size-1, 4px);
5868
5884
  flex: 1;
5869
5885
  min-width: 200px;
5870
5886
  }
5871
- .${t.contactTitle} {
5887
+ .${e.contactTitle} {
5872
5888
  font-size: var(--ds-font-size-3, 16px);
5873
5889
  font-weight: var(--ds-font-weight-bold);
5874
5890
  line-height: 1.5;
@@ -5876,7 +5892,7 @@ function ja(e) {
5876
5892
  color: var(--ds-color-neutral-text-default, #2b2b2b);
5877
5893
  margin: 0;
5878
5894
  }
5879
- .${t.contactContent} {
5895
+ .${e.contactContent} {
5880
5896
  font-size: var(--ds-font-size-3, 16px);
5881
5897
  font-weight: var(--ds-font-weight-regular);
5882
5898
  line-height: 1.5;
@@ -5884,14 +5900,14 @@ function ja(e) {
5884
5900
  color: var(--ds-color-neutral-text-default, #2b2b2b);
5885
5901
  margin: 0;
5886
5902
  }
5887
- .${t.contactContent} p {
5903
+ .${e.contactContent} p {
5888
5904
  margin: 0;
5889
5905
  }
5890
- .${t.copyrightSection} {
5906
+ .${e.copyrightSection} {
5891
5907
  display: flex;
5892
5908
  align-items: center;
5893
5909
  }
5894
- .${t.copyrightText} {
5910
+ .${e.copyrightText} {
5895
5911
  font-size: var(--ds-font-size-2, 14px);
5896
5912
  font-weight: var(--ds-font-weight-regular);
5897
5913
  line-height: 1.3;
@@ -5899,37 +5915,37 @@ function ja(e) {
5899
5915
  color: var(--ds-color-neutral-text-subtle, #5d5d5d);
5900
5916
  margin: 0;
5901
5917
  }
5902
- .${t.whiteSection} {
5918
+ .${e.whiteSection} {
5903
5919
  background-color: white;
5904
5920
  width: 100%;
5905
5921
  }
5906
- .${t.whiteContainer} {
5922
+ .${e.whiteContainer} {
5907
5923
  width: 100%;
5908
5924
  max-width: 1440px;
5909
5925
  margin: 0 auto;
5910
5926
  padding: var(--ds-size-6, 24px) var(--ds-size-44, 175px);
5911
5927
  box-sizing: border-box;
5912
5928
  }
5913
- .${t.whiteContent} {
5929
+ .${e.whiteContent} {
5914
5930
  display: flex;
5915
5931
  justify-content: space-between;
5916
5932
  align-items: center;
5917
5933
  gap: var(--ds-size-10, 40px);
5918
5934
  flex-wrap: wrap;
5919
5935
  }
5920
- .${t.logo} {
5936
+ .${e.logo} {
5921
5937
  display: flex;
5922
5938
  align-items: center;
5923
5939
  justify-content: center;
5924
5940
  height: 43px;
5925
5941
  flex-shrink: 0;
5926
5942
  }
5927
- .${t.redCrossLogo} {
5943
+ .${e.redCrossLogo} {
5928
5944
  width: 169px;
5929
5945
  height: auto;
5930
5946
  display: block;
5931
5947
  }
5932
- .${t.slotLarge} {
5948
+ .${e.slotLarge} {
5933
5949
  background-color: var(--ds-color-neutral-surface-default, #ffffff);
5934
5950
  border: 2px dashed var(--ds-color-neutral-border-default, #797979);
5935
5951
  border-radius: var(--ds-border-radius-lg, 8px);
@@ -5942,37 +5958,37 @@ function ja(e) {
5942
5958
  min-width: 200px;
5943
5959
  }
5944
5960
  @media (max-width: 1024px) {
5945
- .${t.mainContainer} {
5961
+ .${e.mainContainer} {
5946
5962
  padding: var(--ds-size-16, 64px) var(--ds-size-8, 32px);
5947
5963
  }
5948
- .${t.whiteContainer} {
5964
+ .${e.whiteContainer} {
5949
5965
  padding: var(--ds-size-6, 24px) var(--ds-size-8, 32px);
5950
5966
  }
5951
5967
  }
5952
5968
  @media (max-width: 768px) {
5953
- .${t.contentRow} {
5969
+ .${e.contentRow} {
5954
5970
  flex-direction: column;
5955
5971
  }
5956
- .${t.newsletterSection} {
5972
+ .${e.newsletterSection} {
5957
5973
  max-width: 100%;
5958
5974
  }
5959
- .${t.linksSection} {
5975
+ .${e.linksSection} {
5960
5976
  width: 100%;
5961
5977
  }
5962
- .${t.contactSection} {
5978
+ .${e.contactSection} {
5963
5979
  flex-direction: column;
5964
5980
  }
5965
- .${t.whiteContent} {
5981
+ .${e.whiteContent} {
5966
5982
  flex-direction: column;
5967
5983
  align-items: flex-start;
5968
5984
  }
5969
- .${t.slotLarge} {
5985
+ .${e.slotLarge} {
5970
5986
  width: 100%;
5971
5987
  max-width: none;
5972
5988
  }
5973
5989
  }
5974
5990
  /* Contact Variant Styles */
5975
- .${t.contentRowContact} {
5991
+ .${e.contentRowContact} {
5976
5992
  display: flex;
5977
5993
  justify-content: space-between;
5978
5994
  align-items: flex-start;
@@ -5980,13 +5996,13 @@ function ja(e) {
5980
5996
  padding: var(--ds-size-8, 32px) 0;
5981
5997
  flex-wrap: wrap;
5982
5998
  }
5983
- .${t.socialLinksSection} {
5999
+ .${e.socialLinksSection} {
5984
6000
  display: flex;
5985
6001
  flex-direction: column;
5986
6002
  gap: var(--ds-size-4, 16px);
5987
6003
  min-width: 200px;
5988
6004
  }
5989
- .${t.socialLinksTitle} {
6005
+ .${e.socialLinksTitle} {
5990
6006
  font-size: var(--ds-font-size-7, 30px);
5991
6007
  font-weight: var(--ds-font-weight-regular);
5992
6008
  line-height: 1.3;
@@ -5996,7 +6012,7 @@ function ja(e) {
5996
6012
  text-decoration: underline;
5997
6013
  text-underline-offset: 4px;
5998
6014
  }
5999
- .${t.socialLinksList} {
6015
+ .${e.socialLinksList} {
6000
6016
  list-style: none;
6001
6017
  padding: 0;
6002
6018
  margin: 0;
@@ -6004,7 +6020,7 @@ function ja(e) {
6004
6020
  flex-direction: column;
6005
6021
  gap: var(--ds-size-2, 8px);
6006
6022
  }
6007
- .${t.socialLink} {
6023
+ .${e.socialLink} {
6008
6024
  display: flex;
6009
6025
  align-items: center;
6010
6026
  gap: var(--ds-size-2, 8px);
@@ -6016,7 +6032,7 @@ function ja(e) {
6016
6032
  text-decoration: underline;
6017
6033
  text-underline-offset: 2px;
6018
6034
  }
6019
- .${t.socialLinkIcon} {
6035
+ .${e.socialLinkIcon} {
6020
6036
  display: flex;
6021
6037
  align-items: center;
6022
6038
  justify-content: center;
@@ -6024,13 +6040,13 @@ function ja(e) {
6024
6040
  height: 24px;
6025
6041
  flex-shrink: 0;
6026
6042
  }
6027
- .${t.contactPersonsSection} {
6043
+ .${e.contactPersonsSection} {
6028
6044
  display: flex;
6029
6045
  flex-direction: column;
6030
6046
  gap: var(--ds-size-4, 16px);
6031
6047
  flex: 1;
6032
6048
  }
6033
- .${t.contactPersonsTitle} {
6049
+ .${e.contactPersonsTitle} {
6034
6050
  font-size: var(--ds-font-size-7, 30px);
6035
6051
  font-weight: var(--ds-font-weight-regular);
6036
6052
  line-height: 1.3;
@@ -6040,18 +6056,18 @@ function ja(e) {
6040
6056
  text-decoration: underline;
6041
6057
  text-underline-offset: 4px;
6042
6058
  }
6043
- .${t.contactPersonsGrid} {
6059
+ .${e.contactPersonsGrid} {
6044
6060
  display: grid;
6045
6061
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
6046
6062
  gap: var(--ds-size-12, 48px);
6047
6063
  }
6048
- .${t.contactPersonCard} {
6064
+ .${e.contactPersonCard} {
6049
6065
  display: flex;
6050
6066
  flex-direction: column;
6051
6067
  gap: var(--ds-size-1, 4px);
6052
6068
  min-width: 0;
6053
6069
  }
6054
- .${t.contactPersonName} {
6070
+ .${e.contactPersonName} {
6055
6071
  font-size: var(--ds-font-size-4, 18px);
6056
6072
  font-weight: var(--ds-font-weight-bold);
6057
6073
  line-height: 1.5;
@@ -6059,7 +6075,7 @@ function ja(e) {
6059
6075
  color: var(--ds-color-neutral-text-default, #2b2b2b);
6060
6076
  margin: 0;
6061
6077
  }
6062
- .${t.contactPersonRole} {
6078
+ .${e.contactPersonRole} {
6063
6079
  font-size: var(--ds-font-size-3, 16px);
6064
6080
  font-weight: var(--ds-font-weight-regular);
6065
6081
  line-height: 1.5;
@@ -6067,18 +6083,18 @@ function ja(e) {
6067
6083
  color: var(--ds-color-neutral-text-subtle, #5d5d5d);
6068
6084
  margin: 0;
6069
6085
  }
6070
- .${t.contactPersonDetails} {
6086
+ .${e.contactPersonDetails} {
6071
6087
  display: flex;
6072
6088
  flex-direction: column;
6073
6089
  gap: var(--ds-size-1, 4px);
6074
6090
  margin-top: var(--ds-size-2, 8px);
6075
6091
  }
6076
- .${t.contactPersonLabel} {
6092
+ .${e.contactPersonLabel} {
6077
6093
  font-weight: var(--ds-font-weight-regular);
6078
6094
  }
6079
- .${t.contactPersonEmail},
6080
- .${t.contactPersonPhone},
6081
- .${t.contactPersonAddress} {
6095
+ .${e.contactPersonEmail},
6096
+ .${e.contactPersonPhone},
6097
+ .${e.contactPersonAddress} {
6082
6098
  font-size: var(--ds-font-size-3, 16px);
6083
6099
  font-weight: var(--ds-font-weight-regular);
6084
6100
  line-height: 1.5;
@@ -6087,19 +6103,19 @@ function ja(e) {
6087
6103
  margin: 0;
6088
6104
  word-break: break-word;
6089
6105
  }
6090
- .${t.contactPersonEmail} a {
6106
+ .${e.contactPersonEmail} a {
6091
6107
  color: var(--ds-color-neutral-text-default, #2b2b2b);
6092
6108
  text-decoration: underline;
6093
6109
  text-underline-offset: 2px;
6094
6110
  }
6095
- .${t.bottomRowContact} {
6111
+ .${e.bottomRowContact} {
6096
6112
  display: flex;
6097
6113
  justify-content: space-between;
6098
6114
  align-items: center;
6099
6115
  flex-wrap: wrap;
6100
6116
  gap: var(--ds-size-4, 16px);
6101
6117
  }
6102
- .${t.legalLinksRow} {
6118
+ .${e.legalLinksRow} {
6103
6119
  display: flex;
6104
6120
  gap: var(--ds-size-6, 24px);
6105
6121
  flex-wrap: wrap;
@@ -6107,7 +6123,7 @@ function ja(e) {
6107
6123
  padding: 0;
6108
6124
  margin: 0;
6109
6125
  }
6110
- .${t.legalLink} {
6126
+ .${e.legalLink} {
6111
6127
  font-size: var(--ds-font-size-3, 16px);
6112
6128
  font-weight: var(--ds-font-weight-regular);
6113
6129
  line-height: 1.5;
@@ -6117,45 +6133,45 @@ function ja(e) {
6117
6133
  text-underline-offset: 2px;
6118
6134
  }
6119
6135
  @media (max-width: 1024px) {
6120
- .${t.contentRowContact} {
6136
+ .${e.contentRowContact} {
6121
6137
  gap: var(--ds-size-8, 32px);
6122
6138
  }
6123
- .${t.contactPersonsGrid} {
6139
+ .${e.contactPersonsGrid} {
6124
6140
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
6125
6141
  gap: var(--ds-size-6, 24px);
6126
6142
  }
6127
6143
  }
6128
6144
  @media (max-width: 768px) {
6129
- .${t.contentRowContact} {
6145
+ .${e.contentRowContact} {
6130
6146
  flex-direction: column;
6131
6147
  }
6132
- .${t.socialLinksSection} {
6148
+ .${e.socialLinksSection} {
6133
6149
  width: 100%;
6134
6150
  }
6135
- .${t.contactPersonsSection} {
6151
+ .${e.contactPersonsSection} {
6136
6152
  width: 100%;
6137
6153
  }
6138
- .${t.contactPersonsGrid} {
6154
+ .${e.contactPersonsGrid} {
6139
6155
  grid-template-columns: 1fr;
6140
6156
  }
6141
- .${t.contactPersonCard} {
6157
+ .${e.contactPersonCard} {
6142
6158
  max-width: none;
6143
6159
  }
6144
- .${t.bottomRowContact} {
6160
+ .${e.bottomRowContact} {
6145
6161
  flex-direction: column;
6146
6162
  align-items: flex-start;
6147
6163
  }
6148
- .${t.legalLinksRow} {
6164
+ .${e.legalLinksRow} {
6149
6165
  flex-direction: column;
6150
6166
  gap: var(--ds-size-2, 8px);
6151
6167
  }
6152
6168
  }
6153
6169
  `;
6154
6170
  }
6155
- const Ma = "_donor_cysk4_1", Na = "_tabsWrapper_cysk4_14", Ea = "_content_cysk4_35", Fa = "_amountSection_cysk4_47", Ba = "_amountLabel_cysk4_55", Pa = "_amountButtons_cysk4_64", $a = "_customAmountField_cysk4_75", za = "_impactRow_cysk4_80", Ra = "_heartIcon_cysk4_88", Ga = "_impactText_cysk4_102", Ha = "_impactAmount_cysk4_112", Wa = "_actionsSection_cysk4_117", Ua = "_vippsButton_cysk4_127", Oa = "_vippsButtonLabel_cysk4_157", Va = "_vippsLogo_cysk4_166", Ka = "_avtalegiroLink_cysk4_179", Ya = "_tabHeartIcon_cysk4_184", te = {
6156
- donor: Ma,
6157
- tabsWrapper: Na,
6158
- content: Ea,
6171
+ const Na = "_donor_cysk4_1", Ea = "_tabsWrapper_cysk4_14", ja = "_content_cysk4_35", Fa = "_amountSection_cysk4_47", Ba = "_amountLabel_cysk4_55", Pa = "_amountButtons_cysk4_64", $a = "_customAmountField_cysk4_75", za = "_impactRow_cysk4_80", Ra = "_heartIcon_cysk4_88", Ga = "_impactText_cysk4_102", Ha = "_impactAmount_cysk4_112", Wa = "_actionsSection_cysk4_117", Ua = "_vippsButton_cysk4_127", Oa = "_vippsButtonLabel_cysk4_157", Va = "_vippsLogo_cysk4_166", Ka = "_avtalegiroLink_cysk4_179", qa = "_tabHeartIcon_cysk4_184", te = {
6172
+ donor: Na,
6173
+ tabsWrapper: Ea,
6174
+ content: ja,
6159
6175
  amountSection: Fa,
6160
6176
  amountLabel: Ba,
6161
6177
  amountButtons: Pa,
@@ -6169,7 +6185,7 @@ const Ma = "_donor_cysk4_1", Na = "_tabsWrapper_cysk4_14", Ea = "_content_cysk4_
6169
6185
  vippsButtonLabel: Oa,
6170
6186
  vippsLogo: Va,
6171
6187
  avtalegiroLink: Ka,
6172
- tabHeartIcon: Ya
6188
+ tabHeartIcon: qa
6173
6189
  }, At = () => /* @__PURE__ */ n(
6174
6190
  "svg",
6175
6191
  {
@@ -6188,7 +6204,7 @@ const Ma = "_donor_cysk4_1", Na = "_tabsWrapper_cysk4_14", Ea = "_content_cysk4_
6188
6204
  }
6189
6205
  )
6190
6206
  }
6191
- ), qa = () => /* @__PURE__ */ n(
6207
+ ), Ya = () => /* @__PURE__ */ n(
6192
6208
  "svg",
6193
6209
  {
6194
6210
  width: "16",
@@ -6229,8 +6245,8 @@ const Ma = "_donor_cysk4_1", Na = "_tabsWrapper_cysk4_14", Ea = "_content_cysk4_
6229
6245
  { value: 345, label: "345 kr" },
6230
6246
  { value: 660, label: "660 kr" }
6231
6247
  ], Ul = ({
6232
- "data-color": e = "primary",
6233
- amounts: t = Xa,
6248
+ "data-color": t = "primary",
6249
+ amounts: e = Xa,
6234
6250
  defaultAmount: o = 345,
6235
6251
  oneTimeLabel: s = "En gang",
6236
6252
  monthlyLabel: a = "Hver måned",
@@ -6249,38 +6265,38 @@ const Ma = "_donor_cysk4_1", Na = "_tabsWrapper_cysk4_14", Ea = "_content_cysk4_
6249
6265
  showImpactMessage: p = !0,
6250
6266
  heartVariant: T = "outlined"
6251
6267
  }) => {
6252
- const [g, j] = oe("monthly"), [M, F] = oe(o), [w, L] = oe(""), [A, R] = oe(!1);
6268
+ const [g, M] = oe("monthly"), [N, F] = oe(o), [w, L] = oe(""), [A, R] = oe(!1);
6253
6269
  Q(() => {
6254
6270
  const H = "rk-donor-inline-styles";
6255
6271
  if (typeof document > "u" || document.getElementById(H)) return;
6256
- const Y = Ja(te), Z = document.createElement("style");
6257
- Z.id = H, Z.textContent = Y, document.head.appendChild(Z);
6272
+ const q = Ja(te), Z = document.createElement("style");
6273
+ Z.id = H, Z.textContent = q, document.head.appendChild(Z);
6258
6274
  }, []);
6259
- const E = A && w ? parseInt(w, 10) || 0 : M, U = (H) => {
6275
+ const j = A && w ? parseInt(w, 10) || 0 : N, U = (H) => {
6260
6276
  F(H), R(!1), L(""), l == null || l(H, g);
6261
6277
  }, D = (H) => {
6262
- const Y = H.target.value;
6263
- L(Y), R(!0);
6264
- const Z = parseInt(Y, 10);
6278
+ const q = H.target.value;
6279
+ L(q), R(!0);
6280
+ const Z = parseInt(q, 10);
6265
6281
  Z > 0 && (l == null || l(Z, g));
6266
6282
  }, P = () => {
6267
6283
  R(!0);
6268
6284
  }, $ = (H) => {
6269
- const Y = H;
6270
- j(Y), l == null || l(E, Y);
6285
+ const q = H;
6286
+ M(q), l == null || l(j, q);
6271
6287
  }, G = () => {
6272
- f == null || f(E, g);
6288
+ f == null || f(j, g);
6273
6289
  }, B = () => {
6274
6290
  S == null || S();
6275
- }, q = () => {
6276
- const H = `${E} ${m}`, Y = c.split("{amount}");
6291
+ }, Y = () => {
6292
+ const H = `${j} ${m}`, q = c.split("{amount}");
6277
6293
  return /* @__PURE__ */ v("span", { children: [
6278
- Y[0],
6294
+ q[0],
6279
6295
  /* @__PURE__ */ n("span", { className: te.impactAmount, children: H }),
6280
- Y[1] || ""
6296
+ q[1] || ""
6281
6297
  ] });
6282
6298
  };
6283
- return /* @__PURE__ */ v("div", { className: te.donor, "data-color": e, children: [
6299
+ return /* @__PURE__ */ v("div", { className: te.donor, "data-color": t, children: [
6284
6300
  /* @__PURE__ */ n("div", { className: te.tabsWrapper, children: /* @__PURE__ */ n(ze, { defaultValue: "monthly", onChange: $, "data-size": "md", children: /* @__PURE__ */ v(ze.List, { children: [
6285
6301
  /* @__PURE__ */ n(ze.Tab, { value: "one-time", children: s }),
6286
6302
  /* @__PURE__ */ v(ze.Tab, { value: "monthly", children: [
@@ -6291,13 +6307,13 @@ const Ma = "_donor_cysk4_1", Na = "_tabsWrapper_cysk4_14", Ea = "_content_cysk4_
6291
6307
  /* @__PURE__ */ v("div", { className: te.content, children: [
6292
6308
  /* @__PURE__ */ v("div", { className: te.amountSection, children: [
6293
6309
  /* @__PURE__ */ n(Ge, { className: te.amountLabel, "data-size": "sm", children: r }),
6294
- /* @__PURE__ */ n("div", { className: te.amountButtons, children: t.map((H) => {
6295
- const Y = !A && M === H.value;
6310
+ /* @__PURE__ */ n("div", { className: te.amountButtons, children: e.map((H) => {
6311
+ const q = !A && N === H.value;
6296
6312
  return /* @__PURE__ */ n(
6297
6313
  ke,
6298
6314
  {
6299
- variant: Y ? "primary" : "secondary",
6300
- "data-color": Y ? "accent" : "neutral",
6315
+ variant: q ? "primary" : "secondary",
6316
+ "data-color": q ? "accent" : "neutral",
6301
6317
  onClick: () => U(H.value),
6302
6318
  children: H.label
6303
6319
  },
@@ -6305,7 +6321,7 @@ const Ma = "_donor_cysk4_1", Na = "_tabsWrapper_cysk4_14", Ea = "_content_cysk4_
6305
6321
  );
6306
6322
  }) }),
6307
6323
  /* @__PURE__ */ n("div", { className: te.customAmountField, children: /* @__PURE__ */ n(
6308
- js,
6324
+ Ms,
6309
6325
  {
6310
6326
  placeholder: i,
6311
6327
  value: w,
@@ -6317,8 +6333,8 @@ const Ma = "_donor_cysk4_1", Na = "_tabsWrapper_cysk4_14", Ea = "_content_cysk4_
6317
6333
  ) })
6318
6334
  ] }),
6319
6335
  p && /* @__PURE__ */ v("div", { className: te.impactRow, children: [
6320
- /* @__PURE__ */ n("div", { className: te.heartIcon, children: T === "filled" ? /* @__PURE__ */ n(At, {}) : /* @__PURE__ */ n(qa, {}) }),
6321
- /* @__PURE__ */ n("p", { className: te.impactText, children: q() })
6336
+ /* @__PURE__ */ n("div", { className: te.heartIcon, children: T === "filled" ? /* @__PURE__ */ n(At, {}) : /* @__PURE__ */ n(Ya, {}) }),
6337
+ /* @__PURE__ */ n("p", { className: te.impactText, children: Y() })
6322
6338
  ] }),
6323
6339
  /* @__PURE__ */ v("div", { className: te.actionsSection, children: [
6324
6340
  b && /* @__PURE__ */ v(
@@ -6350,9 +6366,9 @@ const Ma = "_donor_cysk4_1", Na = "_tabsWrapper_cysk4_14", Ea = "_content_cysk4_
6350
6366
  ] })
6351
6367
  ] });
6352
6368
  };
6353
- function Ja(e) {
6369
+ function Ja(t) {
6354
6370
  return `
6355
- .${e.donor} {
6371
+ .${t.donor} {
6356
6372
  border-radius: 16px;
6357
6373
  overflow: hidden;
6358
6374
  background-color: var(--ds-color-primary-color-red-surface-default, #ffffff);
@@ -6363,16 +6379,16 @@ function Ja(e) {
6363
6379
  max-width: 344px;
6364
6380
  padding-top: var(--ds-size-2, 8px);
6365
6381
  }
6366
- .${e.tabsWrapper} {
6382
+ .${t.tabsWrapper} {
6367
6383
  width: 100%;
6368
6384
  overflow: hidden;
6369
6385
  border-radius: 4px;
6370
6386
  }
6371
- .${e.tabsWrapper} [role="tablist"] {
6387
+ .${t.tabsWrapper} [role="tablist"] {
6372
6388
  display: flex !important;
6373
6389
  width: 100% !important;
6374
6390
  }
6375
- .${e.tabsWrapper} [role="tab"] {
6391
+ .${t.tabsWrapper} [role="tab"] {
6376
6392
  flex: 1 1 50% !important;
6377
6393
  display: inline-flex !important;
6378
6394
  align-items: center !important;
@@ -6380,7 +6396,7 @@ function Ja(e) {
6380
6396
  text-align: center;
6381
6397
  white-space: nowrap;
6382
6398
  }
6383
- .${e.content} {
6399
+ .${t.content} {
6384
6400
  display: flex;
6385
6401
  flex-direction: column;
6386
6402
  gap: var(--ds-size-6, 24px);
@@ -6390,14 +6406,14 @@ function Ja(e) {
6390
6406
  width: 100%;
6391
6407
  box-sizing: border-box;
6392
6408
  }
6393
- .${e.amountSection} {
6409
+ .${t.amountSection} {
6394
6410
  display: flex;
6395
6411
  flex-direction: column;
6396
6412
  gap: var(--ds-size-2, 8px);
6397
6413
  align-items: flex-start;
6398
6414
  width: 296px;
6399
6415
  }
6400
- .${e.amountLabel} {
6416
+ .${t.amountLabel} {
6401
6417
  font-weight: var(--ds-font-weight-regular, 400);
6402
6418
  font-size: var(--ds-font-size-3, 16px);
6403
6419
  line-height: 1.5;
@@ -6405,26 +6421,26 @@ function Ja(e) {
6405
6421
  color: var(--ds-color-neutral-text-default, #333333);
6406
6422
  margin: 0;
6407
6423
  }
6408
- .${e.amountButtons} {
6424
+ .${t.amountButtons} {
6409
6425
  display: flex;
6410
6426
  gap: var(--ds-size-2, 8px);
6411
6427
  align-items: flex-start;
6412
6428
  width: 100%;
6413
6429
  }
6414
- .${e.amountButtons} > button {
6430
+ .${t.amountButtons} > button {
6415
6431
  flex: 1;
6416
6432
  }
6417
- .${e.customAmountField} {
6433
+ .${t.customAmountField} {
6418
6434
  width: 100%;
6419
6435
  }
6420
- .${e.impactRow} {
6436
+ .${t.impactRow} {
6421
6437
  display: flex;
6422
6438
  gap: var(--ds-size-3, 12px);
6423
6439
  align-items: center;
6424
6440
  width: 296px;
6425
6441
  min-height: 48px;
6426
6442
  }
6427
- .${e.heartIcon} {
6443
+ .${t.heartIcon} {
6428
6444
  width: 32px;
6429
6445
  height: 32px;
6430
6446
  flex-shrink: 0;
@@ -6432,11 +6448,11 @@ function Ja(e) {
6432
6448
  align-items: center;
6433
6449
  justify-content: center;
6434
6450
  }
6435
- .${e.heartIcon} svg {
6451
+ .${t.heartIcon} svg {
6436
6452
  width: 19px;
6437
6453
  height: 18px;
6438
6454
  }
6439
- .${e.impactText} {
6455
+ .${t.impactText} {
6440
6456
  flex: 1;
6441
6457
  font-weight: var(--ds-font-weight-regular, 400);
6442
6458
  font-size: var(--ds-font-size-3, 16px);
@@ -6445,10 +6461,10 @@ function Ja(e) {
6445
6461
  color: var(--ds-color-neutral-text-default, #333333);
6446
6462
  margin: 0;
6447
6463
  }
6448
- .${e.impactAmount} {
6464
+ .${t.impactAmount} {
6449
6465
  font-weight: var(--ds-font-weight-semibold, 600);
6450
6466
  }
6451
- .${e.actionsSection} {
6467
+ .${t.actionsSection} {
6452
6468
  display: flex;
6453
6469
  flex-direction: column;
6454
6470
  gap: var(--ds-size-2, 8px);
@@ -6456,7 +6472,7 @@ function Ja(e) {
6456
6472
  justify-content: center;
6457
6473
  width: 296px;
6458
6474
  }
6459
- .${e.vippsButton} {
6475
+ .${t.vippsButton} {
6460
6476
  display: flex;
6461
6477
  gap: 6px;
6462
6478
  align-items: center;
@@ -6472,17 +6488,17 @@ function Ja(e) {
6472
6488
  transition: opacity 0.15s ease;
6473
6489
  font-family: inherit;
6474
6490
  }
6475
- .${e.vippsButton}:hover {
6491
+ .${t.vippsButton}:hover {
6476
6492
  opacity: 0.9;
6477
6493
  }
6478
- .${e.vippsButton}:active {
6494
+ .${t.vippsButton}:active {
6479
6495
  opacity: 0.8;
6480
6496
  }
6481
- .${e.vippsButton}:focus-visible {
6497
+ .${t.vippsButton}:focus-visible {
6482
6498
  outline: 2px solid var(--ds-color-neutral-border-default, #797979);
6483
6499
  outline-offset: 2px;
6484
6500
  }
6485
- .${e.vippsButtonLabel} {
6501
+ .${t.vippsButtonLabel} {
6486
6502
  font-family: inherit;
6487
6503
  font-weight: 700;
6488
6504
  font-size: 18.5px;
@@ -6490,26 +6506,26 @@ function Ja(e) {
6490
6506
  color: #ffffff;
6491
6507
  white-space: nowrap;
6492
6508
  }
6493
- .${e.vippsLogo} {
6509
+ .${t.vippsLogo} {
6494
6510
  display: flex;
6495
6511
  flex-direction: column;
6496
6512
  align-items: flex-start;
6497
6513
  flex-shrink: 0;
6498
6514
  }
6499
- .${e.vippsLogo} svg {
6515
+ .${t.vippsLogo} svg {
6500
6516
  width: 64px;
6501
6517
  height: 16px;
6502
6518
  }
6503
- .${e.avtalegiroLink} {
6519
+ .${t.avtalegiroLink} {
6504
6520
  text-align: center;
6505
6521
  }
6506
- .${e.tabHeartIcon} {
6522
+ .${t.tabHeartIcon} {
6507
6523
  display: inline-flex;
6508
6524
  align-items: center;
6509
6525
  margin-right: 4px;
6510
6526
  vertical-align: middle;
6511
6527
  }
6512
- .${e.tabHeartIcon} svg {
6528
+ .${t.tabHeartIcon} svg {
6513
6529
  width: 16px;
6514
6530
  height: 15px;
6515
6531
  }
@@ -6562,10 +6578,10 @@ export {
6562
6578
  Dl as PaginationItem,
6563
6579
  _l as PaginationList,
6564
6580
  Ge as Paragraph,
6565
- jl as Popover,
6566
- Ml as Radio,
6581
+ Ml as Popover,
6582
+ Nl as Radio,
6567
6583
  $e as Search,
6568
- El as Select,
6584
+ jl as Select,
6569
6585
  Fl as SkeletonLoader,
6570
6586
  Bl as SkipLink,
6571
6587
  ks as Spinner,
@@ -6575,13 +6591,13 @@ export {
6575
6591
  ze as Tabs,
6576
6592
  $l as Tag,
6577
6593
  zl as Textarea,
6578
- js as Textfield,
6594
+ Ms as Textfield,
6579
6595
  Rl as ToggleGroup,
6580
6596
  Gl as Tooltip,
6581
- Ms as ValidationMessage,
6597
+ Ns as ValidationMessage,
6582
6598
  cl as useCheckboxGroup,
6583
6599
  ml as useLanguage,
6584
6600
  Fe as useLanguageOptional,
6585
6601
  Al as usePagination,
6586
- Nl as useRadioGroup
6602
+ El as useRadioGroup
6587
6603
  };