rk-designsystem 1.1.54 → 1.1.56

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,5 +1,5 @@
1
1
  import Dt, { forwardRef as ue, useState as oe, useEffect as te, useMemo as ve, useCallback as ae, useRef as Ue, createContext as Kt, useContext as Yt } from "react";
2
- import { Alert as Jt, Avatar as Zt, BadgePosition as Xt, Badge as Qt, Breadcrumbs as en, BreadcrumbsList as tn, BreadcrumbsItem as nn, BreadcrumbsLink as on, Button as Ke, Card as rn, CardBlock as sn, Checkbox as an, useCheckboxGroup as ln, Fieldset as It, Chip as dn, Spinner as cn, Details as un, Dialog as mn, Divider as gn, Dropdown as pn, ErrorSummary as fn, Field as hn, FieldDescription as kn, FieldCounter as bn, Heading as vn, Input as yn, Label as xn, Link as Tn, List as Sn, Pagination as wn, usePagination as Cn, Paragraph as jn, Popover as Dn, Radio as In, useRadioGroup as Ln, Search as An, SearchInput as Fn, SearchClear as _n, SearchButton as En, Select as Bn, Skeleton as Nn, SkipLink as Pn, EXPERIMENTAL_Suggestion as Mn, Switch as Rn, Table as zn, Tabs as On, Tag as $n, Textarea as Hn, Textfield as Wn, ToggleGroup as Vn, Tooltip as Gn, ValidationMessage as qn } from "@digdir/designsystemet-react";
2
+ import { Alert as Jt, Avatar as Zt, BadgePosition as Xt, Badge as Qt, Breadcrumbs as en, BreadcrumbsList as tn, BreadcrumbsItem as nn, BreadcrumbsLink as on, Button as Ke, Card as rn, CardBlock as sn, Checkbox as an, useCheckboxGroup as ln, Fieldset as It, Chip as dn, Spinner as cn, Details as un, Dialog as mn, Divider as gn, Dropdown as pn, ErrorSummary as fn, Field as hn, FieldDescription as kn, FieldCounter as bn, Heading as vn, Input as yn, Label as xn, Link as Tn, List as Sn, Pagination as wn, usePagination as Cn, Paragraph as jn, Popover as Dn, Radio as In, useRadioGroup as Ln, Search as An, SearchInput as Fn, SearchClear as _n, SearchButton as En, Select as Bn, Skeleton as Nn, SkipLink as Pn, EXPERIMENTAL_Suggestion as zn, Switch as Mn, Table as Rn, Tabs as On, Tag as $n, Textarea as Hn, Textfield as Wn, ToggleGroup as Vn, Tooltip as Gn, ValidationMessage as qn } from "@digdir/designsystemet-react";
3
3
  import { startOfMonth as ke, isValid as Ve, isSameMonth as mt, startOfWeek as Lt, format as Te, addDays as At, subMonths as Un, addMonths as Kn, isSameDay as Yn, isToday as Jn, eachDayOfInterval as Zn } from "date-fns";
4
4
  import { ChevronLeftIcon as Xn, ChevronRightIcon as Qn, ChevronDownIcon as gt, XMarkIcon as pt, MagnifyingGlassIcon as ft, MenuHamburgerIcon as eo, HeartIcon as to } from "@navikt/aksel-icons";
5
5
  var Be = { exports: {} }, Se = {};
@@ -102,11 +102,11 @@ function oo() {
102
102
  }
103
103
  if (A) {
104
104
  A = console;
105
- var P = A.error, z = typeof Symbol == "function" && Symbol.toStringTag && c[Symbol.toStringTag] || c.constructor.name || "Object";
105
+ var P = A.error, R = typeof Symbol == "function" && Symbol.toStringTag && c[Symbol.toStringTag] || c.constructor.name || "Object";
106
106
  return P.call(
107
107
  A,
108
108
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
109
- z
109
+ R
110
110
  ), e(c);
111
111
  }
112
112
  }
@@ -129,7 +129,7 @@ function oo() {
129
129
  return Error("react-stack-top-frame");
130
130
  }
131
131
  function o(c) {
132
- if (M.call(c, "key")) {
132
+ if (z.call(c, "key")) {
133
133
  var A = Object.getOwnPropertyDescriptor(c, "key").get;
134
134
  if (A && A.isReactWarning) return !1;
135
135
  }
@@ -153,14 +153,14 @@ function oo() {
153
153
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
154
154
  )), c = this.props.ref, c !== void 0 ? c : null;
155
155
  }
156
- function u(c, A, P, z, x, D) {
156
+ function u(c, A, P, R, x, D) {
157
157
  var C = P.ref;
158
158
  return c = {
159
159
  $$typeof: h,
160
160
  type: c,
161
161
  key: A,
162
162
  props: P,
163
- _owner: z
163
+ _owner: R
164
164
  }, (C !== void 0 ? C : null) !== null ? Object.defineProperty(c, "ref", {
165
165
  enumerable: !1,
166
166
  get: l
@@ -186,36 +186,36 @@ function oo() {
186
186
  value: D
187
187
  }), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
188
188
  }
189
- function y(c, A, P, z, x, D) {
189
+ function y(c, A, P, R, x, D) {
190
190
  var C = A.children;
191
191
  if (C !== void 0)
192
- if (z)
193
- if (R(C)) {
194
- for (z = 0; z < C.length; z++)
195
- f(C[z]);
192
+ if (R)
193
+ if (M(C)) {
194
+ for (R = 0; R < C.length; R++)
195
+ f(C[R]);
196
196
  Object.freeze && Object.freeze(C);
197
197
  } else
198
198
  console.error(
199
199
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
200
200
  );
201
201
  else f(C);
202
- if (M.call(A, "key")) {
202
+ if (z.call(A, "key")) {
203
203
  C = t(c);
204
204
  var H = Object.keys(A).filter(function(X) {
205
205
  return X !== "key";
206
206
  });
207
- z = 0 < H.length ? "{key: someKey, " + H.join(": ..., ") + ": ...}" : "{key: someKey}", re[C + z] || (H = 0 < H.length ? "{" + H.join(": ..., ") + ": ...}" : "{}", console.error(
207
+ R = 0 < H.length ? "{key: someKey, " + H.join(": ..., ") + ": ...}" : "{key: someKey}", re[C + R] || (H = 0 < H.length ? "{" + H.join(": ..., ") + ": ...}" : "{}", console.error(
208
208
  `A props object containing a "key" prop is being spread into JSX:
209
209
  let props = %s;
210
210
  <%s {...props} />
211
211
  React keys must be passed directly to JSX without using spread:
212
212
  let props = %s;
213
213
  <%s key={someKey} {...props} />`,
214
- z,
214
+ R,
215
215
  C,
216
216
  H,
217
217
  C
218
- ), re[C + z] = !0);
218
+ ), re[C + R] = !0);
219
219
  }
220
220
  if (C = null, P !== void 0 && (n(P), C = "" + P), o(A) && (n(A.key), C = "" + A.key), "key" in A) {
221
221
  P = {};
@@ -240,7 +240,7 @@ React keys must be passed directly to JSX without using spread:
240
240
  function k(c) {
241
241
  return typeof c == "object" && c !== null && c.$$typeof === h;
242
242
  }
243
- var g = Dt, h = Symbol.for("react.transitional.element"), b = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), T = Symbol.for("react.consumer"), _ = Symbol.for("react.context"), F = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), B = Symbol.for("react.lazy"), $ = Symbol.for("react.activity"), N = Symbol.for("react.client.reference"), W = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, R = Array.isArray, I = console.createTask ? console.createTask : function() {
243
+ var g = Dt, h = Symbol.for("react.transitional.element"), b = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), T = Symbol.for("react.consumer"), _ = Symbol.for("react.context"), F = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), B = Symbol.for("react.lazy"), $ = Symbol.for("react.activity"), N = Symbol.for("react.client.reference"), W = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, z = Object.prototype.hasOwnProperty, M = Array.isArray, I = console.createTask ? console.createTask : function() {
244
244
  return null;
245
245
  };
246
246
  g = {
@@ -253,24 +253,24 @@ React keys must be passed directly to JSX without using spread:
253
253
  a
254
254
  )(), K = I(s(a)), re = {};
255
255
  we.Fragment = v, we.jsx = function(c, A, P) {
256
- var z = 1e4 > W.recentlyCreatedOwnerStacks++;
256
+ var R = 1e4 > W.recentlyCreatedOwnerStacks++;
257
257
  return y(
258
258
  c,
259
259
  A,
260
260
  P,
261
261
  !1,
262
- z ? Error("react-stack-top-frame") : Y,
263
- z ? I(s(c)) : K
262
+ R ? Error("react-stack-top-frame") : Y,
263
+ R ? I(s(c)) : K
264
264
  );
265
265
  }, we.jsxs = function(c, A, P) {
266
- var z = 1e4 > W.recentlyCreatedOwnerStacks++;
266
+ var R = 1e4 > W.recentlyCreatedOwnerStacks++;
267
267
  return y(
268
268
  c,
269
269
  A,
270
270
  P,
271
271
  !0,
272
- z ? Error("react-stack-top-frame") : Y,
273
- z ? I(s(c)) : K
272
+ R ? Error("react-stack-top-frame") : Y,
273
+ R ? I(s(c)) : K
274
274
  );
275
275
  };
276
276
  })()), we;
@@ -606,14 +606,14 @@ const po = {
606
606
  /^n/i,
607
607
  /^d/i
608
608
  ]
609
- }, Mo = {
609
+ }, zo = {
610
610
  narrow: /^[smtofl]/i,
611
611
  short: /^(sø|ma|ti|on|to|fr|lø)/i,
612
612
  abbreviated: /^(søn|man|tir|ons|tor|fre|lør)/i,
613
613
  wide: /^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i
614
- }, Ro = {
614
+ }, Mo = {
615
615
  any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i]
616
- }, zo = {
616
+ }, Ro = {
617
617
  narrow: /^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,
618
618
  any: /^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i
619
619
  }, Oo = {
@@ -653,13 +653,13 @@ const po = {
653
653
  defaultParseWidth: "any"
654
654
  }),
655
655
  day: je({
656
- matchPatterns: Mo,
656
+ matchPatterns: zo,
657
657
  defaultMatchWidth: "wide",
658
- parsePatterns: Ro,
658
+ parsePatterns: Mo,
659
659
  defaultParseWidth: "any"
660
660
  }),
661
661
  dayPeriod: je({
662
- matchPatterns: zo,
662
+ matchPatterns: Ro,
663
663
  defaultMatchWidth: "any",
664
664
  parsePatterns: Oo,
665
665
  defaultParseWidth: "any"
@@ -905,33 +905,33 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
905
905
  "data-size": $,
906
906
  // <-- Destrukturering
907
907
  ...N
908
- } = t, W = l !== void 0, M = Ue(null);
908
+ } = t, W = l !== void 0, z = Ue(null);
909
909
  Dt.useImperativeHandle(
910
910
  e,
911
- () => M.current
911
+ () => z.current
912
912
  );
913
- const R = ae(
913
+ const M = ae(
914
914
  (D) => {
915
915
  const C = xt(D), H = Tt(C);
916
916
  return yt(H);
917
917
  },
918
918
  []
919
919
  ), [I, q] = oe(
920
- () => R(l ?? u)
920
+ () => M(l ?? u)
921
921
  );
922
922
  te(() => {
923
923
  if (W) {
924
- const D = R(l);
925
- D !== I && (q(D), M.current && M.current.value !== D && (M.current.value = D));
924
+ const D = M(l);
925
+ D !== I && (q(D), z.current && z.current.value !== D && (z.current.value = D));
926
926
  }
927
- }, [l, W, I, R]);
927
+ }, [l, W, I, M]);
928
928
  const ne = ae(
929
929
  (D) => {
930
930
  const C = D.target, H = C.value, J = I, X = xt(H).slice(0, 8), V = Tt(X), w = yt(V);
931
931
  let O = 0;
932
932
  const G = V.length;
933
933
  G <= 2 ? O = G : G <= 4 ? O = G + 1 : O = G + 2, O = Math.min(O, w.length), requestAnimationFrame(() => {
934
- if (M.current && (q(w), M.current.value = w, M.current.setSelectionRange(O, O), (w !== J || W) && y)) {
934
+ if (z.current && (q(w), z.current.value = w, z.current.setSelectionRange(O, O), (w !== J || W) && y)) {
935
935
  const Z = {
936
936
  ...D,
937
937
  target: { ...C, value: w }
@@ -940,7 +940,7 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
940
940
  }
941
941
  });
942
942
  },
943
- [I, W, y, R]
943
+ [I, W, y, M]
944
944
  ), Y = [pe.fieldset, a].filter(Boolean).join(" "), K = [
945
945
  pe.inputWrapper,
946
946
  o,
@@ -952,7 +952,7 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
952
952
  i ? pe.suffixButtonInteractive : ""
953
953
  ].filter(Boolean).join(" ");
954
954
  !n && !F && !E && console.warn("Advarsel: DateInput-komponenten bør ha label, aria-label, eller aria-labelledby for tilgjengelighet.");
955
- const A = n && typeof n == "string" ? E || `${g}-label` : void 0, P = j ? `${g}-desc` : void 0, z = L ? `${g}-err` : void 0, x = [P, z].filter(Boolean).join(" ") || void 0;
955
+ const A = n && typeof n == "string" ? E || `${g}-label` : void 0, P = j ? `${g}-desc` : void 0, R = L ? `${g}-err` : void 0, x = [P, R].filter(Boolean).join(" ") || void 0;
956
956
  return (
957
957
  // --- Bruk data-color og data-size på den ytre wrapperen ---
958
958
  /* @__PURE__ */ r.jsxs(
@@ -968,7 +968,7 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
968
968
  /* @__PURE__ */ r.jsx(
969
969
  "input",
970
970
  {
971
- ref: M,
971
+ ref: z,
972
972
  type: "text",
973
973
  inputMode: "numeric",
974
974
  pattern: "\\d{2}\\.\\d{2}\\.\\d{4}",
@@ -1007,7 +1007,7 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
1007
1007
  }
1008
1008
  )
1009
1009
  ] }),
1010
- L && /* @__PURE__ */ r.jsx("p", { id: z, className: pe.error, role: "alert", children: L })
1010
+ L && /* @__PURE__ */ r.jsx("p", { id: R, className: pe.error, role: "alert", children: L })
1011
1011
  ]
1012
1012
  }
1013
1013
  )
@@ -1050,7 +1050,7 @@ function Qe(t) {
1050
1050
  function Ye(t) {
1051
1051
  return typeof t == "string";
1052
1052
  }
1053
- function Re(t) {
1053
+ function Me(t) {
1054
1054
  return typeof t == "boolean";
1055
1055
  }
1056
1056
  function Ct(t) {
@@ -1279,11 +1279,11 @@ function hr(t, e, n, s, i, a, o, d, l, u, y, f, k, g, h, b, v, p, m) {
1279
1279
  mouse: 500,
1280
1280
  touch: 600
1281
1281
  }, W = h ? 43 : 25;
1282
- let M = !1, R = 0, I = 0, q = !1, ne = !1, Y = !1, K = !1;
1282
+ let z = !1, M = 0, I = 0, q = !1, ne = !1, Y = !1, K = !1;
1283
1283
  function re(w) {
1284
1284
  if (!m) return;
1285
1285
  function O(Z) {
1286
- (Re(m) || m(w, Z)) && D(Z);
1286
+ (Me(m) || m(w, Z)) && D(Z);
1287
1287
  }
1288
1288
  const G = e;
1289
1289
  j.add(G, "dragstart", (Z) => Z.preventDefault(), E).add(G, "touchmove", () => {
@@ -1301,7 +1301,7 @@ function hr(t, e, n, s, i, a, o, d, l, u, y, f, k, g, h, b, v, p, m) {
1301
1301
  const O = w.nodeName || "";
1302
1302
  return F.includes(O);
1303
1303
  }
1304
- function z() {
1304
+ function R() {
1305
1305
  return (h ? N : $)[K ? "mouse" : "touch"];
1306
1306
  }
1307
1307
  function x(w, O) {
@@ -1310,18 +1310,18 @@ function hr(t, e, n, s, i, a, o, d, l, u, y, f, k, g, h, b, v, p, m) {
1310
1310
  }
1311
1311
  function D(w) {
1312
1312
  const O = Je(w, s);
1313
- K = O, Y = h && O && !w.buttons && M, M = Ie(i.get(), o.get()) >= 2, !(O && w.button !== 0) && (P(w.target) || (q = !0, a.pointerDown(w), u.useFriction(0).useDuration(0), i.set(o), A(), R = a.readPoint(w), I = a.readPoint(w, T), k.emit("pointerDown")));
1313
+ K = O, Y = h && O && !w.buttons && z, z = Ie(i.get(), o.get()) >= 2, !(O && w.button !== 0) && (P(w.target) || (q = !0, a.pointerDown(w), u.useFriction(0).useDuration(0), i.set(o), A(), M = a.readPoint(w), I = a.readPoint(w, T), k.emit("pointerDown")));
1314
1314
  }
1315
1315
  function C(w) {
1316
1316
  if (!Je(w, s) && w.touches.length >= 2) return H(w);
1317
- const G = a.readPoint(w), Z = a.readPoint(w, T), le = Ie(G, R), de = Ie(Z, I);
1317
+ const G = a.readPoint(w), Z = a.readPoint(w, T), le = Ie(G, M), de = Ie(Z, I);
1318
1318
  if (!ne && !K && (!w.cancelable || (ne = le > de, !ne)))
1319
1319
  return H(w);
1320
1320
  const me = a.pointerMove(w);
1321
1321
  le > b && (Y = !0), u.useFriction(0.3).useDuration(0.75), d.start(), i.add(_(me)), w.preventDefault();
1322
1322
  }
1323
1323
  function H(w) {
1324
- const G = y.byDistance(0, !1).index !== f.get(), Z = a.pointerUp(w) * z(), le = x(_(Z), G), de = ur(Z, le), me = W - 10 * de, ce = p + de / 50;
1324
+ const G = y.byDistance(0, !1).index !== f.get(), Z = a.pointerUp(w) * R(), le = x(_(Z), G), de = ur(Z, le), me = W - 10 * de, ce = p + de / 50;
1325
1325
  ne = !1, q = !1, L.clear(), u.useDuration(me).useFriction(ce), l.distance(le, !h), K = !1, k.emit("pointerUp");
1326
1326
  }
1327
1327
  function J(w) {
@@ -1413,7 +1413,7 @@ function yr(t, e, n, s, i, a, o) {
1413
1413
  }
1414
1414
  }
1415
1415
  l = new ResizeObserver((m) => {
1416
- (Re(a) || a(v, m)) && p(m);
1416
+ (Me(a) || a(v, m)) && p(m);
1417
1417
  }), n.requestAnimationFrame(() => {
1418
1418
  d.forEach((m) => l.observe(m));
1419
1419
  });
@@ -1696,7 +1696,7 @@ function Fr(t, e, n, s, i, a, o, d) {
1696
1696
  }
1697
1697
  a.add(document, "keydown", f, !1), e.forEach((b, v) => {
1698
1698
  a.add(b, "focus", (p) => {
1699
- (Re(d) || d(g, p)) && h(v);
1699
+ (Me(d) || d(g, p)) && h(v);
1700
1700
  }, l);
1701
1701
  });
1702
1702
  }
@@ -1774,13 +1774,13 @@ function _r(t, e, n, s, i, a, o, d, l) {
1774
1774
  function v(j, L, B) {
1775
1775
  const $ = b(L);
1776
1776
  return j.map((N) => {
1777
- const W = B ? 0 : -n, M = B ? n : 0, R = B ? "end" : "start", I = $[N][R];
1777
+ const W = B ? 0 : -n, z = B ? n : 0, M = B ? "end" : "start", I = $[N][M];
1778
1778
  return {
1779
1779
  index: N,
1780
1780
  loopPoint: I,
1781
1781
  slideLocation: De(-1),
1782
1782
  translate: Pt(t, l[N]),
1783
- target: () => d.get() > I ? W : M
1783
+ target: () => d.get() > I ? W : z
1784
1784
  };
1785
1785
  });
1786
1786
  }
@@ -1832,7 +1832,7 @@ function Er(t, e, n) {
1832
1832
  }
1833
1833
  }
1834
1834
  s = new MutationObserver((y) => {
1835
- i || (Re(n) || n(l, y)) && u(y);
1835
+ i || (Me(n) || n(l, y)) && u(y);
1836
1836
  }), s.observe(t, {
1837
1837
  childList: !0
1838
1838
  });
@@ -1936,7 +1936,7 @@ function Pr(t, e, n, s, i, a, o, d, l) {
1936
1936
  groupSlides: b
1937
1937
  };
1938
1938
  }
1939
- function Mr(t, e, n, s, i, a, o) {
1939
+ function zr(t, e, n, s, i, a, o) {
1940
1940
  const {
1941
1941
  align: d,
1942
1942
  axis: l,
@@ -1954,7 +1954,7 @@ function Mr(t, e, n, s, i, a, o) {
1954
1954
  watchSlides: _,
1955
1955
  watchDrag: F,
1956
1956
  watchFocus: E
1957
- } = a, j = 2, L = br(), B = L.measure(e), $ = n.map(L.measure), N = fr(l, u), W = N.measureSize(B), M = vr(W), R = gr(d, W), I = !f && !!m, q = f || !!m, {
1957
+ } = a, j = 2, L = br(), B = L.measure(e), $ = n.map(L.measure), N = fr(l, u), W = N.measureSize(B), z = vr(W), M = gr(d, W), I = !f && !!m, q = f || !!m, {
1958
1958
  slideSizes: ne,
1959
1959
  slideSizesWithGaps: Y,
1960
1960
  startGap: K,
@@ -1962,12 +1962,12 @@ function Mr(t, e, n, s, i, a, o) {
1962
1962
  } = Nr(N, B, $, n, q, i), c = Pr(N, W, v, f, B, $, K, re, j), {
1963
1963
  snaps: A,
1964
1964
  snapsAligned: P
1965
- } = Dr(N, R, B, $, c), z = -ie(A) + ie(Y), {
1965
+ } = Dr(N, M, B, $, c), R = -ie(A) + ie(Y), {
1966
1966
  snapsContained: x,
1967
1967
  scrollContainLimit: D
1968
- } = Sr(W, z, P, m, j), C = I ? x : P, {
1968
+ } = Sr(W, R, P, m, j), C = I ? x : P, {
1969
1969
  limit: H
1970
- } = wr(z, C, f), J = Nt(_e(C), y, f), X = J.clone(), V = Le(n), w = ({
1970
+ } = wr(R, C, f), J = Nt(_e(C), y, f), X = J.clone(), V = Le(n), w = ({
1971
1971
  dragHandler: he,
1972
1972
  scrollBody: He,
1973
1973
  scrollBounds: We,
@@ -1996,9 +1996,9 @@ function Mr(t, e, n, s, i, a, o) {
1996
1996
  ut && Vt.stop();
1997
1997
  const Ut = We.get() * lt + Ot.get() * (1 - lt);
1998
1998
  Ee.set(Ut), it && ($t.loop(he.direction()), Ht.loop()), He.to(Ee.get()), ut && at.emit("settle"), ct || at.emit("scroll");
1999
- }, G = pr(s, i, () => w($e), (he) => O($e, he)), Z = 0.68, le = C[J.get()], de = De(le), me = De(le), ce = De(le), ge = De(le), xe = xr(de, ce, me, ge, k, Z), ze = Lr(f, C, z, H, ge), Oe = Ar(G, J, X, xe, ze, ge, o), ot = jr(H), rt = Fe(), Rt = Br(e, n, o, b), {
1999
+ }, G = pr(s, i, () => w($e), (he) => O($e, he)), Z = 0.68, le = C[J.get()], de = De(le), me = De(le), ce = De(le), ge = De(le), xe = xr(de, ce, me, ge, k, Z), Re = Lr(f, C, R, H, ge), Oe = Ar(G, J, X, xe, Re, ge, o), ot = jr(H), rt = Fe(), Mt = Br(e, n, o, b), {
2000
2000
  slideRegistry: st
2001
- } = Ir(I, m, C, D, c, V), zt = Fr(t, n, st, Oe, xe, rt, o, E), $e = {
2001
+ } = Ir(I, m, C, D, c, V), Rt = Fr(t, n, st, Oe, xe, rt, o, E), $e = {
2002
2002
  ownerDocument: s,
2003
2003
  ownerWindow: i,
2004
2004
  eventHandler: o,
@@ -2006,9 +2006,9 @@ function Mr(t, e, n, s, i, a, o) {
2006
2006
  slideRects: $,
2007
2007
  animation: G,
2008
2008
  axis: N,
2009
- dragHandler: hr(N, t, s, i, ge, kr(N, i), de, G, Oe, xe, ze, J, o, M, g, h, p, Z, F),
2009
+ dragHandler: hr(N, t, s, i, ge, kr(N, i), de, G, Oe, xe, Re, J, o, z, g, h, p, Z, F),
2010
2010
  eventStore: rt,
2011
- percentOfView: M,
2011
+ percentOfView: z,
2012
2012
  index: J,
2013
2013
  indexPrevious: X,
2014
2014
  limit: H,
@@ -2018,17 +2018,17 @@ function Mr(t, e, n, s, i, a, o) {
2018
2018
  options: a,
2019
2019
  resizeHandler: yr(e, o, i, n, N, T, L),
2020
2020
  scrollBody: xe,
2021
- scrollBounds: Tr(H, ce, ge, xe, M),
2022
- scrollLooper: Cr(z, H, ce, [de, ce, me, ge]),
2021
+ scrollBounds: Tr(H, ce, ge, xe, z),
2022
+ scrollLooper: Cr(R, H, ce, [de, ce, me, ge]),
2023
2023
  scrollProgress: ot,
2024
2024
  scrollSnapList: C.map(ot.get),
2025
2025
  scrollSnaps: C,
2026
- scrollTarget: ze,
2026
+ scrollTarget: Re,
2027
2027
  scrollTo: Oe,
2028
- slideLooper: _r(N, W, z, ne, Y, A, C, ce, n),
2029
- slideFocus: zt,
2028
+ slideLooper: _r(N, W, R, ne, Y, A, C, ce, n),
2029
+ slideFocus: Rt,
2030
2030
  slidesHandler: Er(e, o, _),
2031
- slidesInView: Rt,
2031
+ slidesInView: Mt,
2032
2032
  slideIndexes: V,
2033
2033
  slideRegistry: st,
2034
2034
  slidesToScroll: c,
@@ -2037,7 +2037,7 @@ function Mr(t, e, n, s, i, a, o) {
2037
2037
  };
2038
2038
  return $e;
2039
2039
  }
2040
- function Rr() {
2040
+ function Mr() {
2041
2041
  let t = {}, e;
2042
2042
  function n(u) {
2043
2043
  e = u;
@@ -2066,7 +2066,7 @@ function Rr() {
2066
2066
  };
2067
2067
  return l;
2068
2068
  }
2069
- const zr = {
2069
+ const Rr = {
2070
2070
  align: "center",
2071
2071
  axis: "x",
2072
2072
  container: null,
@@ -2122,8 +2122,8 @@ function $r(t) {
2122
2122
  destroy: s
2123
2123
  };
2124
2124
  }
2125
- function Me(t, e, n) {
2126
- const s = t.ownerDocument, i = s.defaultView, a = Or(i), o = $r(a), d = Fe(), l = Rr(), {
2125
+ function ze(t, e, n) {
2126
+ const s = t.ownerDocument, i = s.defaultView, a = Or(i), o = $r(a), d = Fe(), l = Mr(), {
2127
2127
  mergeOptions: u,
2128
2128
  optionsAtMedia: y,
2129
2129
  optionsMediaQueries: f
@@ -2132,7 +2132,7 @@ function Me(t, e, n) {
2132
2132
  off: g,
2133
2133
  emit: h
2134
2134
  } = l, b = N;
2135
- let v = !1, p, m = u(zr, Me.globalOptions), T = u(m), _ = [], F, E, j;
2135
+ let v = !1, p, m = u(Rr, ze.globalOptions), T = u(m), _ = [], F, E, j;
2136
2136
  function L() {
2137
2137
  const {
2138
2138
  container: V,
@@ -2143,7 +2143,7 @@ function Me(t, e, n) {
2143
2143
  j = [].slice.call(G || E.children);
2144
2144
  }
2145
2145
  function B(V) {
2146
- const w = Mr(t, E, j, s, i, V, l);
2146
+ const w = zr(t, E, j, s, i, V, l);
2147
2147
  if (V.loop && !w.slideLooper.canLoop()) {
2148
2148
  const O = Object.assign({}, V, {
2149
2149
  loop: !1
@@ -2166,19 +2166,19 @@ function Me(t, e, n) {
2166
2166
  function W() {
2167
2167
  p.dragHandler.destroy(), p.eventStore.clear(), p.translate.clear(), p.slideLooper.clear(), p.resizeHandler.destroy(), p.slidesHandler.destroy(), p.slidesInView.destroy(), p.animation.destroy(), o.destroy(), d.clear();
2168
2168
  }
2169
- function M() {
2169
+ function z() {
2170
2170
  v || (v = !0, d.clear(), W(), l.emit("destroy"), l.clear());
2171
2171
  }
2172
- function R(V, w, O) {
2172
+ function M(V, w, O) {
2173
2173
  !T.active || v || (p.scrollBody.useBaseFriction().useDuration(w === !0 ? 0 : T.duration), p.scrollTo.index(V, O || 0));
2174
2174
  }
2175
2175
  function I(V) {
2176
2176
  const w = p.index.add(1).get();
2177
- R(w, V, -1);
2177
+ M(w, V, -1);
2178
2178
  }
2179
2179
  function q(V) {
2180
2180
  const w = p.index.add(-1).get();
2181
- R(w, V, 1);
2181
+ M(w, V, 1);
2182
2182
  }
2183
2183
  function ne() {
2184
2184
  return p.index.add(1).get() !== c();
@@ -2201,7 +2201,7 @@ function Me(t, e, n) {
2201
2201
  function P() {
2202
2202
  return p.slidesInView.get();
2203
2203
  }
2204
- function z() {
2204
+ function R() {
2205
2205
  return p.slidesInView.get(!1);
2206
2206
  }
2207
2207
  function x() {
@@ -2224,7 +2224,7 @@ function Me(t, e, n) {
2224
2224
  canScrollPrev: Y,
2225
2225
  containerNode: H,
2226
2226
  internalEngine: D,
2227
- destroy: M,
2227
+ destroy: z,
2228
2228
  off: g,
2229
2229
  on: k,
2230
2230
  emit: h,
@@ -2236,15 +2236,15 @@ function Me(t, e, n) {
2236
2236
  scrollPrev: q,
2237
2237
  scrollProgress: re,
2238
2238
  scrollSnapList: K,
2239
- scrollTo: R,
2239
+ scrollTo: M,
2240
2240
  selectedScrollSnap: c,
2241
2241
  slideNodes: J,
2242
2242
  slidesInView: P,
2243
- slidesNotInView: z
2243
+ slidesNotInView: R
2244
2244
  };
2245
2245
  return $(e, n), setTimeout(() => l.emit("init"), 0), X;
2246
2246
  }
2247
- Me.globalOptions = void 0;
2247
+ ze.globalOptions = void 0;
2248
2248
  function nt(t = {}, e = []) {
2249
2249
  const n = Ue(t), s = Ue(e), [i, a] = oe(), [o, d] = oe(), l = ae(() => {
2250
2250
  i && i.reInit(n.current, s.current);
@@ -2255,8 +2255,8 @@ function nt(t = {}, e = []) {
2255
2255
  cr(s.current, e) || (s.current = e, l());
2256
2256
  }, [e, l]), te(() => {
2257
2257
  if (dr() && o) {
2258
- Me.globalOptions = nt.globalOptions;
2259
- const u = Me(o, n.current, s.current);
2258
+ ze.globalOptions = nt.globalOptions;
2259
+ const u = ze(o, n.current, s.current);
2260
2260
  return a(u), () => u.destroy();
2261
2261
  } else
2262
2262
  a(void 0);
@@ -2300,14 +2300,14 @@ const Hr = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slide
2300
2300
  te(() => {
2301
2301
  T(new Array((t == null ? void 0 : t.length) || 0).fill(!1));
2302
2302
  }, [t]);
2303
- const _ = ae((M) => {
2304
- T((R) => {
2305
- const I = [...R];
2306
- return I[M] = !0, I;
2303
+ const _ = ae((z) => {
2304
+ T((M) => {
2305
+ const I = [...M];
2306
+ return I[z] = !0, I;
2307
2307
  });
2308
2308
  }, []), F = ve(() => n * 1e3, [n]), E = ae(() => {
2309
2309
  g && b(g.selectedScrollSnap());
2310
- }, [g]), j = ae((M) => g && g.scrollTo(M), [g]), L = ae(() => g && g.scrollPrev(), [g]), B = ae(() => g && g.scrollNext(), [g]);
2310
+ }, [g]), j = ae((z) => g && g.scrollTo(z), [g]), L = ae(() => g && g.scrollPrev(), [g]), B = ae(() => g && g.scrollNext(), [g]);
2311
2311
  te(() => {
2312
2312
  if (g)
2313
2313
  return g.on("select", E), g.on("reInit", E), p(g.scrollSnapList()), () => {
@@ -2317,11 +2317,11 @@ const Hr = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slide
2317
2317
  g && (g.reInit(), p(g.scrollSnapList()));
2318
2318
  }, [g, t, o, d]), te(() => {
2319
2319
  if (!e || !g || !t || t.length <= 1) return;
2320
- const M = window.setInterval(() => {
2320
+ const z = window.setInterval(() => {
2321
2321
  g.canScrollNext() && g.scrollNext();
2322
2322
  }, F);
2323
2323
  return () => {
2324
- window.clearInterval(M);
2324
+ window.clearInterval(z);
2325
2325
  };
2326
2326
  }, [e, F, g, t]);
2327
2327
  const $ = Math.max(1, o), N = `${100 / $}%`, W = d / 2;
@@ -2341,7 +2341,7 @@ const Hr = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slide
2341
2341
  marginLeft: `-${W}px`,
2342
2342
  marginRight: `-${W}px`
2343
2343
  },
2344
- children: t && t.length > 0 ? t.map((M, R) => /* @__PURE__ */ r.jsx(
2344
+ children: t && t.length > 0 ? t.map((z, M) => /* @__PURE__ */ r.jsx(
2345
2345
  "div",
2346
2346
  {
2347
2347
  className: Q.slide,
@@ -2354,24 +2354,24 @@ const Hr = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slide
2354
2354
  // Ensure radius clips content
2355
2355
  },
2356
2356
  children: /* @__PURE__ */ r.jsxs("div", { className: Q.slideInner, style: { borderRadius: `${l}px`, overflow: "hidden", position: "relative", width: "100%", height: "100%" }, children: [
2357
- !m[R] && /* @__PURE__ */ r.jsx("div", { className: Q.loaderOverlay, children: /* @__PURE__ */ r.jsx(ns, { "aria-label": "Laster bilde" }) }),
2357
+ !m[M] && /* @__PURE__ */ r.jsx("div", { className: Q.loaderOverlay, children: /* @__PURE__ */ r.jsx(ns, { "aria-label": "Laster bilde" }) }),
2358
2358
  /* @__PURE__ */ r.jsx(
2359
2359
  "img",
2360
2360
  {
2361
- className: `${Q.image} ${m[R] ? Q.loaded : Q.loadingImage}`,
2362
- src: M.src,
2363
- alt: M.alt,
2364
- loading: R < $ ? "eager" : "lazy",
2361
+ className: `${Q.image} ${m[M] ? Q.loaded : Q.loadingImage}`,
2362
+ src: z.src,
2363
+ alt: z.alt,
2364
+ loading: M < $ ? "eager" : "lazy",
2365
2365
  crossOrigin: "anonymous",
2366
- onLoad: () => _(R),
2366
+ onLoad: () => _(M),
2367
2367
  onError: (I) => {
2368
- I.target.style.display = "none", _(R);
2368
+ I.target.style.display = "none", _(M);
2369
2369
  }
2370
2370
  }
2371
2371
  )
2372
2372
  ] })
2373
2373
  },
2374
- `image-${R}-${M.src}`
2374
+ `image-${M}-${z.src}`
2375
2375
  )) : /* @__PURE__ */ r.jsx("div", { className: Q.slide, style: { flex: "0 0 100%" }, children: /* @__PURE__ */ r.jsx("div", { className: Q.empty, children: "Ingen bilder" }) })
2376
2376
  }
2377
2377
  ) }),
@@ -2400,19 +2400,19 @@ const Hr = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slide
2400
2400
  }
2401
2401
  )
2402
2402
  ] }),
2403
- i && t && t.length > 1 && /* @__PURE__ */ r.jsx("div", { className: Q.dots, role: "tablist", "aria-label": "Bildeposisjon", children: v.map((M, R) => {
2404
- const I = R === h;
2403
+ i && t && t.length > 1 && /* @__PURE__ */ r.jsx("div", { className: Q.dots, role: "tablist", "aria-label": "Bildeposisjon", children: v.map((z, M) => {
2404
+ const I = M === h;
2405
2405
  return /* @__PURE__ */ r.jsx(
2406
2406
  "button",
2407
2407
  {
2408
2408
  type: "button",
2409
2409
  className: `${Q.dot} ${I ? Q.dotActive : ""}`,
2410
- onClick: () => j(R),
2411
- "aria-label": `Gå til bilde ${R + 1}`,
2410
+ onClick: () => j(M),
2411
+ "aria-label": `Gå til bilde ${M + 1}`,
2412
2412
  "aria-selected": I,
2413
2413
  role: "tab"
2414
2414
  },
2415
- `dot-${R}`
2415
+ `dot-${M}`
2416
2416
  );
2417
2417
  }) })
2418
2418
  ] })
@@ -2432,13 +2432,13 @@ const Ne = Tn, _a = Sn, Ea = wn, Ba = Cn, Ze = ue(
2432
2432
  (t, e) => /* @__PURE__ */ r.jsx(jn, { ref: e, ...t })
2433
2433
  );
2434
2434
  Ze.displayName = "Paragraph";
2435
- const Na = Dn, Pa = In, Ma = Ln, Pe = Object.assign(An, {
2435
+ const Na = Dn, Pa = In, za = Ln, Pe = Object.assign(An, {
2436
2436
  Button: En,
2437
2437
  ClearButton: _n,
2438
2438
  Input: Fn
2439
- }), Ra = Bn, za = Nn, Oa = Pn, ls = Mn;
2439
+ }), Ma = Bn, Ra = Nn, Oa = Pn, ls = zn;
2440
2440
  ls.displayName = "Suggestion";
2441
- const qe = Rn, $a = zn, Ha = On, Wa = $n, Va = Hn, Ga = Wn, qa = Vn, Ua = Gn, ds = ue((t, e) => /* @__PURE__ */ r.jsx(qn, { ref: e, ...t }));
2441
+ const qe = Mn, $a = Rn, Ha = On, Wa = $n, Va = Hn, Ga = Wn, qa = Vn, Ua = Gn, ds = ue((t, e) => /* @__PURE__ */ r.jsx(qn, { ref: e, ...t }));
2442
2442
  ds.displayName = "ValidationMessage";
2443
2443
  const cs = {
2444
2444
  NO: {
@@ -3968,7 +3968,7 @@ const cs = {
3968
3968
  // Footer
3969
3969
  footer: {}
3970
3970
  }
3971
- }, Mt = Kt(void 0), Ka = ({ children: t }) => {
3971
+ }, zt = Kt(void 0), Ka = ({ children: t }) => {
3972
3972
  const [e, n] = oe("NO"), s = (i) => {
3973
3973
  const a = i.split(".");
3974
3974
  let o = cs[e];
@@ -3979,13 +3979,13 @@ const cs = {
3979
3979
  }
3980
3980
  return o;
3981
3981
  };
3982
- return /* @__PURE__ */ r.jsx(Mt.Provider, { value: { language: e, setLanguage: n, t: s }, children: t });
3982
+ return /* @__PURE__ */ r.jsx(zt.Provider, { value: { language: e, setLanguage: n, t: s }, children: t });
3983
3983
  }, us = () => {
3984
- const t = Yt(Mt);
3984
+ const t = Yt(zt);
3985
3985
  if (t === void 0)
3986
3986
  throw new Error("useLanguage must be used within a LanguageProvider");
3987
3987
  return t;
3988
- }, ms = "_header_q5a4u_1", gs = "_languageSwitch_q5a4u_36", ps = "_searchOverlay_q5a4u_40", fs = "_headerExtension_q5a4u_45", hs = "_extensionContentWrapper_q5a4u_61", ks = "_extensionContent_q5a4u_61", bs = "_extensionDivider_q5a4u_84", vs = "_languageLabel_q5a4u_98", ys = "_languageLink_q5a4u_104", xs = "_headerInner_q5a4u_129", Ts = "_logoWrapper_q5a4u_146", Ss = "_logo_q5a4u_146", ws = "_secondaryLogoWrapper_q5a4u_169", Cs = "_slotComponent_q5a4u_178", js = "_slotContainer_q5a4u_188", Ds = "_slotText_q5a4u_196", Is = "_secondaryLogo_q5a4u_169", Ls = "_redCrossLogo_q5a4u_223", As = "_primaryLogo_q5a4u_229", Fs = "_navItems_q5a4u_233", _s = "_navLink_q5a4u_242", Es = "_actions_q5a4u_255", Bs = "_ctaButton_q5a4u_263", Ns = "_themeToggle_q5a4u_268", Ps = "_userInfo_q5a4u_273", Ms = "_userName_q5a4u_279", Rs = "_loginLink_q5a4u_286", zs = "_loginText_q5a4u_295", Os = "_underline_q5a4u_302", $s = "_searchButtonWrapper_q5a4u_308", Hs = "_buttonText_q5a4u_312", Ws = "_menuButton_q5a4u_317", Vs = "_menuOverlay_q5a4u_322", Gs = "_searchContent_q5a4u_356", qs = "_menuContent_q5a4u_366", Us = "_menuLeftColumn_q5a4u_375", Ks = "_menuRightColumn_q5a4u_381", Ys = "_slotContent_q5a4u_395", Js = "_navList_q5a4u_408", Zs = "_menuUtilities_q5a4u_415", Xs = "_menuBrand_q5a4u_422", Qs = "_suggestionsSection_q5a4u_426", ea = "_suggestionsTitle_q5a4u_432", ta = "_searchResults_q5a4u_441", na = "_resultList_q5a4u_447", oa = "_resultItem_q5a4u_453", ra = "_resultLink_q5a4u_461", sa = "_suggestionIcon_q5a4u_475", aa = "_suggestionText_q5a4u_488", ia = "_highlightedText_q5a4u_495", la = "_remainingText_q5a4u_500", da = "_viewAllLink_q5a4u_513", ca = "_noResults_q5a4u_548", S = {
3988
+ }, ms = "_header_3zql2_1", gs = "_languageSwitch_3zql2_36", ps = "_searchOverlay_3zql2_40", fs = "_headerExtension_3zql2_45", hs = "_extensionContentWrapper_3zql2_61", ks = "_extensionContent_3zql2_61", bs = "_extensionDivider_3zql2_84", vs = "_languageLabel_3zql2_98", ys = "_languageLink_3zql2_104", xs = "_headerInner_3zql2_129", Ts = "_logoWrapper_3zql2_146", Ss = "_logo_3zql2_146", ws = "_secondaryLogoWrapper_3zql2_169", Cs = "_slotComponent_3zql2_178", js = "_slotContainer_3zql2_188", Ds = "_slotText_3zql2_196", Is = "_secondaryLogo_3zql2_169", Ls = "_redCrossLogo_3zql2_223", As = "_primaryLogo_3zql2_229", Fs = "_navItems_3zql2_233", _s = "_navLink_3zql2_242", Es = "_actions_3zql2_255", Bs = "_ctaButton_3zql2_263", Ns = "_themeToggle_3zql2_268", Ps = "_userInfo_3zql2_273", zs = "_userName_3zql2_279", Ms = "_loginLink_3zql2_286", Rs = "_loginText_3zql2_295", Os = "_underline_3zql2_302", $s = "_searchButtonWrapper_3zql2_308", Hs = "_buttonText_3zql2_312", Ws = "_menuButton_3zql2_317", Vs = "_menuOverlay_3zql2_322", Gs = "_searchContent_3zql2_356", qs = "_menuContent_3zql2_366", Us = "_menuLeftColumn_3zql2_375", Ks = "_menuRightColumn_3zql2_381", Ys = "_slotContent_3zql2_395", Js = "_navList_3zql2_408", Zs = "_menuUtilities_3zql2_415", Xs = "_menuBrand_3zql2_422", Qs = "_suggestionsSection_3zql2_426", ea = "_suggestionsTitle_3zql2_432", ta = "_searchResults_3zql2_441", na = "_resultList_3zql2_447", oa = "_resultItem_3zql2_453", ra = "_resultLink_3zql2_461", sa = "_suggestionIcon_3zql2_475", aa = "_suggestionText_3zql2_488", ia = "_highlightedText_3zql2_495", la = "_remainingText_3zql2_500", da = "_viewAllLink_3zql2_513", ca = "_noResults_3zql2_548", S = {
3989
3989
  header: ms,
3990
3990
  languageSwitch: gs,
3991
3991
  searchOverlay: ps,
@@ -4011,9 +4011,9 @@ const cs = {
4011
4011
  ctaButton: Bs,
4012
4012
  themeToggle: Ns,
4013
4013
  userInfo: Ps,
4014
- userName: Ms,
4015
- loginLink: Rs,
4016
- loginText: zs,
4014
+ userName: zs,
4015
+ loginLink: Ms,
4016
+ loginText: Rs,
4017
4017
  underline: Os,
4018
4018
  searchButtonWrapper: $s,
4019
4019
  buttonText: Hs,
@@ -4125,7 +4125,7 @@ const cs = {
4125
4125
  showModeToggle: T = !1,
4126
4126
  showLanguageSwitch: _ = !1
4127
4127
  }) => {
4128
- const [F, E] = oe(!1), [j, L] = oe(!1), [B, $] = oe(""), [N, W] = oe("light"), { language: M, setLanguage: R, t: I } = us(), [q, ne] = oe(!1);
4128
+ const [F, E] = oe(!1), [j, L] = oe(!1), [B, $] = oe(""), [N, W] = oe("light"), { language: z, setLanguage: M, t: I } = us(), [q, ne] = oe(!1);
4129
4129
  te(() => {
4130
4130
  const x = "rk-header-inline-styles";
4131
4131
  if (typeof document > "u" || document.getElementById(x)) return;
@@ -4234,7 +4234,7 @@ const cs = {
4234
4234
  return ua.filter(
4235
4235
  (D) => D.title.toLowerCase().startsWith(x)
4236
4236
  );
4237
- }, [B]), z = (x) => {
4237
+ }, [B]), R = (x) => {
4238
4238
  e && e(x), L(!1), $("");
4239
4239
  };
4240
4240
  return /* @__PURE__ */ r.jsxs("header", { className: S.header, "data-open": F ? "true" : "false", children: [
@@ -4261,7 +4261,7 @@ const cs = {
4261
4261
  "aria-label": I("header.selectLanguage"),
4262
4262
  style: { background: "transparent", border: "none", padding: 0, cursor: "pointer", font: "inherit" },
4263
4263
  children: [
4264
- M,
4264
+ z,
4265
4265
  " ",
4266
4266
  /* @__PURE__ */ r.jsx(gt, { "aria-hidden": !0 })
4267
4267
  ]
@@ -4273,8 +4273,8 @@ const cs = {
4273
4273
  "data-color-scheme": N,
4274
4274
  placement: "bottom-end",
4275
4275
  children: /* @__PURE__ */ r.jsxs(ee.List, { children: [
4276
- /* @__PURE__ */ r.jsx(ee.Item, { children: /* @__PURE__ */ r.jsx(ee.Button, { onClick: () => R("NO"), children: "Norsk (NO)" }) }),
4277
- /* @__PURE__ */ r.jsx(ee.Item, { children: /* @__PURE__ */ r.jsx(ee.Button, { onClick: () => R("EN"), children: "English (EN)" }) })
4276
+ /* @__PURE__ */ r.jsx(ee.Item, { children: /* @__PURE__ */ r.jsx(ee.Button, { onClick: () => M("NO"), children: "Norsk (NO)" }) }),
4277
+ /* @__PURE__ */ r.jsx(ee.Item, { children: /* @__PURE__ */ r.jsx(ee.Button, { onClick: () => M("EN"), children: "English (EN)" }) })
4278
4278
  ] })
4279
4279
  }
4280
4280
  )
@@ -4392,7 +4392,7 @@ const cs = {
4392
4392
  "aria-label": I("header.selectLanguage"),
4393
4393
  style: { background: "transparent", border: "none", padding: 0, cursor: "pointer", font: "inherit" },
4394
4394
  children: [
4395
- M,
4395
+ z,
4396
4396
  " ",
4397
4397
  /* @__PURE__ */ r.jsx(gt, { "aria-hidden": !0 })
4398
4398
  ]
@@ -4404,8 +4404,8 @@ const cs = {
4404
4404
  "data-color-scheme": N,
4405
4405
  placement: "bottom-start",
4406
4406
  children: /* @__PURE__ */ r.jsxs(ee.List, { children: [
4407
- /* @__PURE__ */ r.jsx(ee.Item, { children: /* @__PURE__ */ r.jsx(ee.Button, { onClick: () => R("NO"), children: "Norsk (NO)" }) }),
4408
- /* @__PURE__ */ r.jsx(ee.Item, { children: /* @__PURE__ */ r.jsx(ee.Button, { onClick: () => R("EN"), children: "English (EN)" }) })
4407
+ /* @__PURE__ */ r.jsx(ee.Item, { children: /* @__PURE__ */ r.jsx(ee.Button, { onClick: () => M("NO"), children: "Norsk (NO)" }) }),
4408
+ /* @__PURE__ */ r.jsx(ee.Item, { children: /* @__PURE__ */ r.jsx(ee.Button, { onClick: () => M("EN"), children: "English (EN)" }) })
4409
4409
  ] })
4410
4410
  }
4411
4411
  )
@@ -4461,7 +4461,7 @@ const cs = {
4461
4461
  "button",
4462
4462
  {
4463
4463
  className: S.resultLink,
4464
- onClick: () => z(x.path),
4464
+ onClick: () => R(x.path),
4465
4465
  children: [
4466
4466
  /* @__PURE__ */ r.jsx("span", { className: S.suggestionIcon, children: /* @__PURE__ */ r.jsx(ft, { "aria-hidden": !0 }) }),
4467
4467
  /* @__PURE__ */ r.jsx("span", { className: S.suggestionText, children: (() => {
@@ -4618,7 +4618,7 @@ function ma(t) {
4618
4618
  .${e.searchOverlay} { width: 100%; right: 0; left: 0; border-radius: 0; border: none; }
4619
4619
  .${e.searchContent} { padding: var(--ds-size-6); }
4620
4620
  .${e.menuContent} { flex-direction: column; padding: 0; min-height: 100%; }
4621
- .${e.menuRightColumn} { padding: var(--ds-size-6); gap: var(--ds-size-4); flex: 1; display: flex; flex-direction: column; min-height: 0; }
4621
+ .${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; }
4622
4622
  .${e.slotContent} { padding: 0; }
4623
4623
  .${e.menuLeftColumn} { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: var(--ds-size-6); }
4624
4624
  .${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; }
@@ -4671,8 +4671,8 @@ export {
4671
4671
  Na as Popover,
4672
4672
  Pa as Radio,
4673
4673
  Pe as Search,
4674
- Ra as Select,
4675
- za as SkeletonLoader,
4674
+ Ma as Select,
4675
+ Ra as SkeletonLoader,
4676
4676
  Oa as SkipLink,
4677
4677
  ns as Spinner,
4678
4678
  ls as Suggestion,
@@ -4688,5 +4688,5 @@ export {
4688
4688
  Sa as useCheckboxGroup,
4689
4689
  us as useLanguage,
4690
4690
  Ba as usePagination,
4691
- Ma as useRadioGroup
4691
+ za as useRadioGroup
4692
4692
  };