rk-designsystem 1.1.52 → 1.1.54

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,6 +1,6 @@
1
- import Dt, { forwardRef as ue, useState as oe, useEffect as te, useMemo as ve, useCallback as ae, useRef as Ke, createContext as qt, 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 qe, 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 Un } from "@digdir/designsystemet-react";
3
- import { startOfMonth as ke, isValid as Ve, isSameMonth as mt, startOfWeek as Lt, format as Te, addDays as At, subMonths as Kn, addMonths as qn, isSameDay as Yn, isToday as Jn, eachDayOfInterval as Zn } from "date-fns";
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";
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 = {};
6
6
  /**
@@ -74,7 +74,7 @@ function oo() {
74
74
  return "Portal";
75
75
  case _:
76
76
  return c.displayName || "Context";
77
- case x:
77
+ case T:
78
78
  return (c._context.displayName || "Context") + ".Consumer";
79
79
  case F:
80
80
  var A = c.render;
@@ -122,7 +122,7 @@ function oo() {
122
122
  }
123
123
  }
124
124
  function i() {
125
- var c = H.A;
125
+ var c = W.A;
126
126
  return c === null ? null : c.getOwner();
127
127
  }
128
128
  function a() {
@@ -137,7 +137,7 @@ function oo() {
137
137
  }
138
138
  function d(c, A) {
139
139
  function P() {
140
- U || (U = !0, console.error(
140
+ q || (q = !0, console.error(
141
141
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
142
142
  A
143
143
  ));
@@ -153,7 +153,7 @@ 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, S, I) {
156
+ function u(c, A, P, z, x, D) {
157
157
  var C = P.ref;
158
158
  return c = {
159
159
  $$typeof: h,
@@ -178,15 +178,15 @@ function oo() {
178
178
  configurable: !1,
179
179
  enumerable: !1,
180
180
  writable: !0,
181
- value: S
181
+ value: x
182
182
  }), Object.defineProperty(c, "_debugTask", {
183
183
  configurable: !1,
184
184
  enumerable: !1,
185
185
  writable: !0,
186
- value: I
186
+ value: D
187
187
  }), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
188
188
  }
189
- function y(c, A, P, z, S, I) {
189
+ function y(c, A, P, z, x, D) {
190
190
  var C = A.children;
191
191
  if (C !== void 0)
192
192
  if (z)
@@ -201,10 +201,10 @@ function oo() {
201
201
  else f(C);
202
202
  if (M.call(A, "key")) {
203
203
  C = t(c);
204
- var W = Object.keys(A).filter(function(X) {
204
+ var H = Object.keys(A).filter(function(X) {
205
205
  return X !== "key";
206
206
  });
207
- z = 0 < W.length ? "{key: someKey, " + W.join(": ..., ") + ": ...}" : "{key: someKey}", re[C + z] || (W = 0 < W.length ? "{" + W.join(": ..., ") + ": ...}" : "{}", console.error(
207
+ z = 0 < H.length ? "{key: someKey, " + H.join(": ..., ") + ": ...}" : "{key: someKey}", re[C + z] || (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} />
@@ -213,7 +213,7 @@ React keys must be passed directly to JSX without using spread:
213
213
  <%s key={someKey} {...props} />`,
214
214
  z,
215
215
  C,
216
- W,
216
+ H,
217
217
  C
218
218
  ), re[C + z] = !0);
219
219
  }
@@ -230,8 +230,8 @@ React keys must be passed directly to JSX without using spread:
230
230
  C,
231
231
  P,
232
232
  i(),
233
- S,
234
- I
233
+ x,
234
+ D
235
235
  );
236
236
  }
237
237
  function f(c) {
@@ -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"), x = 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"), H = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, R = Array.isArray, D = 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, M = Object.prototype.hasOwnProperty, R = Array.isArray, I = console.createTask ? console.createTask : function() {
244
244
  return null;
245
245
  };
246
246
  g = {
@@ -248,29 +248,29 @@ React keys must be passed directly to JSX without using spread:
248
248
  return c();
249
249
  }
250
250
  };
251
- var U, ne = {}, Y = g.react_stack_bottom_frame.bind(
251
+ var q, ne = {}, Y = g.react_stack_bottom_frame.bind(
252
252
  g,
253
253
  a
254
- )(), q = D(s(a)), re = {};
254
+ )(), K = I(s(a)), re = {};
255
255
  we.Fragment = v, we.jsx = function(c, A, P) {
256
- var z = 1e4 > H.recentlyCreatedOwnerStacks++;
256
+ var z = 1e4 > W.recentlyCreatedOwnerStacks++;
257
257
  return y(
258
258
  c,
259
259
  A,
260
260
  P,
261
261
  !1,
262
262
  z ? Error("react-stack-top-frame") : Y,
263
- z ? D(s(c)) : q
263
+ z ? I(s(c)) : K
264
264
  );
265
265
  }, we.jsxs = function(c, A, P) {
266
- var z = 1e4 > H.recentlyCreatedOwnerStacks++;
266
+ var z = 1e4 > W.recentlyCreatedOwnerStacks++;
267
267
  return y(
268
268
  c,
269
269
  A,
270
270
  P,
271
271
  !0,
272
272
  z ? Error("react-stack-top-frame") : Y,
273
- z ? D(s(c)) : q
273
+ z ? I(s(c)) : K
274
274
  );
275
275
  };
276
276
  })()), we;
@@ -286,7 +286,7 @@ const Ft = ue((t, e) => /* @__PURE__ */ r.jsx(Zt, { ref: e, ...t }));
286
286
  Ft.displayName = "Avatar";
287
287
  const ao = ue((t, e) => /* @__PURE__ */ r.jsx(Qt, { ref: e, ...t }));
288
288
  ao.displayName = "Badge";
289
- const ka = Xt, ba = en, va = tn, ya = nn, xa = on, ye = qe;
289
+ const ka = Xt, ba = en, va = tn, ya = nn, xa = on, ye = Ke;
290
290
  ye.displayName = "Button";
291
291
  const io = rn, Ta = sn;
292
292
  io.displayName = "Card";
@@ -727,14 +727,14 @@ const Et = ({ title: t, ...e }) => /* @__PURE__ */ r.jsxs(
727
727
  }
728
728
  );
729
729
  Et.displayName = "ChevronRightIcon";
730
- const Ho = "_calendarContainer_10l5p_1", Wo = "_calendarHeader_10l5p_14", Vo = "_monthYear_10l5p_21", Go = "_navigationButtons_10l5p_32", Uo = "_grid_10l5p_41", Ko = "_dayNameCell_10l5p_48", qo = "_dateCell_10l5p_65", Yo = "_dateNumberContainer_10l5p_90", Jo = "_otherMonth_10l5p_103", Zo = "_selectedDate_10l5p_129", se = {
730
+ const Ho = "_calendarContainer_10l5p_1", Wo = "_calendarHeader_10l5p_14", Vo = "_monthYear_10l5p_21", Go = "_navigationButtons_10l5p_32", qo = "_grid_10l5p_41", Uo = "_dayNameCell_10l5p_48", Ko = "_dateCell_10l5p_65", Yo = "_dateNumberContainer_10l5p_90", Jo = "_otherMonth_10l5p_103", Zo = "_selectedDate_10l5p_129", se = {
731
731
  calendarContainer: Ho,
732
732
  calendarHeader: Wo,
733
733
  monthYear: Vo,
734
734
  navigationButtons: Go,
735
- grid: Uo,
736
- dayNameCell: Ko,
737
- dateCell: qo,
735
+ grid: qo,
736
+ dayNameCell: Uo,
737
+ dateCell: Ko,
738
738
  dateNumberContainer: Yo,
739
739
  otherMonth: Jo,
740
740
  selectedDate: Zo
@@ -765,22 +765,22 @@ const Ho = "_calendarContainer_10l5p_1", Wo = "_calendarHeader_10l5p_14", Vo = "
765
765
  [a]
766
766
  ), y = ve(() => {
767
767
  const m = Lt(/* @__PURE__ */ new Date(), { locale: be });
768
- return Array.from({ length: 7 }).map((x, _) => {
768
+ return Array.from({ length: 7 }).map((T, _) => {
769
769
  const F = Te(At(m, _), "EEEEEE", { locale: be });
770
770
  return vt(F);
771
771
  });
772
772
  }, []), f = ae(() => {
773
- l || o((m) => ke(Kn(m, 1)));
773
+ l || o((m) => ke(Un(m, 1)));
774
774
  }, [l]), k = ae(() => {
775
- o((m) => ke(qn(m, 1)));
775
+ o((m) => ke(Kn(m, 1)));
776
776
  }, []), g = ae(
777
777
  (m) => {
778
778
  n && n(m);
779
779
  },
780
780
  [n]
781
781
  ), h = ae(
782
- (m, x) => {
783
- (m.key === "Enter" || m.key === " ") && (m.preventDefault(), g(x));
782
+ (m, T) => {
783
+ (m.key === "Enter" || m.key === " ") && (m.preventDefault(), g(T));
784
784
  },
785
785
  [g]
786
786
  ), b = Te(a, "MMMM", { locale: be }), v = Te(a, "yyyy", { locale: be }), p = `${vt(b)} ${v}`;
@@ -795,7 +795,7 @@ const Ho = "_calendarContainer_10l5p_1", Wo = "_calendarHeader_10l5p_14", Vo = "
795
795
  /* @__PURE__ */ r.jsx("span", { className: se.monthYear, children: p }),
796
796
  /* @__PURE__ */ r.jsxs("div", { className: se.navigationButtons, children: [
797
797
  /* @__PURE__ */ r.jsx(
798
- qe,
798
+ Ke,
799
799
  {
800
800
  variant: "tertiary",
801
801
  icon: !0,
@@ -806,7 +806,7 @@ const Ho = "_calendarContainer_10l5p_1", Wo = "_calendarHeader_10l5p_14", Vo = "
806
806
  }
807
807
  ),
808
808
  /* @__PURE__ */ r.jsx(
809
- qe,
809
+ Ke,
810
810
  {
811
811
  variant: "tertiary",
812
812
  icon: !0,
@@ -819,9 +819,9 @@ const Ho = "_calendarContainer_10l5p_1", Wo = "_calendarHeader_10l5p_14", Vo = "
819
819
  ] }),
820
820
  /* @__PURE__ */ r.jsx("div", { className: se.grid, children: y.map((m) => /* @__PURE__ */ r.jsx("div", { className: se.dayNameCell, children: m }, m)) }),
821
821
  /* @__PURE__ */ r.jsx("div", { className: se.grid, children: u.map((m) => {
822
- const x = mt(m, a), _ = e && Ve(e) && Yn(m, e), F = Jn(m), E = [
822
+ const T = mt(m, a), _ = e && Ve(e) && Yn(m, e), F = Jn(m), E = [
823
823
  se.dateCell,
824
- x ? "" : se.otherMonth,
824
+ T ? "" : se.otherMonth,
825
825
  _ ? se.selectedDate : "",
826
826
  // Utheving basert på prop
827
827
  F && !_ ? se.todayDate : ""
@@ -892,7 +892,7 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
892
892
  onClick: p,
893
893
  onFocus: m,
894
894
  // Send ekstern onFocus videre
895
- onBlur: x,
895
+ onBlur: T,
896
896
  // Send ekstern onBlur videre
897
897
  autoComplete: _ = "off",
898
898
  "aria-label": F,
@@ -905,43 +905,43 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
905
905
  "data-size": $,
906
906
  // <-- Destrukturering
907
907
  ...N
908
- } = t, H = l !== void 0, M = Ke(null);
908
+ } = t, W = l !== void 0, M = Ue(null);
909
909
  Dt.useImperativeHandle(
910
910
  e,
911
911
  () => M.current
912
912
  );
913
913
  const R = ae(
914
- (I) => {
915
- const C = xt(I), W = Tt(C);
916
- return yt(W);
914
+ (D) => {
915
+ const C = xt(D), H = Tt(C);
916
+ return yt(H);
917
917
  },
918
918
  []
919
- ), [D, U] = oe(
919
+ ), [I, q] = oe(
920
920
  () => R(l ?? u)
921
921
  );
922
922
  te(() => {
923
- if (H) {
924
- const I = R(l);
925
- I !== D && (U(I), M.current && M.current.value !== I && (M.current.value = I));
923
+ if (W) {
924
+ const D = R(l);
925
+ D !== I && (q(D), M.current && M.current.value !== D && (M.current.value = D));
926
926
  }
927
- }, [l, H, D, R]);
927
+ }, [l, W, I, R]);
928
928
  const ne = ae(
929
- (I) => {
930
- const C = I.target, W = C.value, J = D, X = xt(W).slice(0, 8), V = Tt(X), w = yt(V);
929
+ (D) => {
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 && (U(w), M.current.value = w, M.current.setSelectionRange(O, O), (w !== J || H) && y)) {
934
+ if (M.current && (q(w), M.current.value = w, M.current.setSelectionRange(O, O), (w !== J || W) && y)) {
935
935
  const Z = {
936
- ...I,
936
+ ...D,
937
937
  target: { ...C, value: w }
938
938
  };
939
939
  y(Z, w);
940
940
  }
941
941
  });
942
942
  },
943
- [D, H, y, R]
944
- ), Y = [pe.fieldset, a].filter(Boolean).join(" "), q = [
943
+ [I, W, y, R]
944
+ ), Y = [pe.fieldset, a].filter(Boolean).join(" "), K = [
945
945
  pe.inputWrapper,
946
946
  o,
947
947
  L ? pe.inputWrapperError : ""
@@ -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, S = [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, z = L ? `${g}-err` : void 0, x = [P, z].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(
@@ -964,7 +964,7 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
964
964
  children: [
965
965
  n && typeof n == "string" ? /* @__PURE__ */ r.jsx("label", { id: A, htmlFor: g, children: n }) : n,
966
966
  j && /* @__PURE__ */ r.jsx("p", { id: P, className: pe.description, children: j }),
967
- /* @__PURE__ */ r.jsxs("div", { className: q, children: [
967
+ /* @__PURE__ */ r.jsxs("div", { className: K, children: [
968
968
  /* @__PURE__ */ r.jsx(
969
969
  "input",
970
970
  {
@@ -973,7 +973,7 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
973
973
  inputMode: "numeric",
974
974
  pattern: "\\d{2}\\.\\d{2}\\.\\d{4}",
975
975
  maxLength: 10,
976
- value: D,
976
+ value: I,
977
977
  readOnly: f,
978
978
  placeholder: k,
979
979
  id: g,
@@ -983,11 +983,11 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
983
983
  onClick: p,
984
984
  onChange: ne,
985
985
  onFocus: m,
986
- onBlur: x,
986
+ onBlur: T,
987
987
  autoComplete: _,
988
988
  "aria-label": F,
989
989
  "aria-labelledby": A,
990
- "aria-describedby": S,
990
+ "aria-describedby": x,
991
991
  "aria-invalid": !!L,
992
992
  className: re,
993
993
  ...N
@@ -1056,19 +1056,19 @@ function Re(t) {
1056
1056
  function Ct(t) {
1057
1057
  return Object.prototype.toString.call(t) === "[object Object]";
1058
1058
  }
1059
- function K(t) {
1059
+ function U(t) {
1060
1060
  return Math.abs(t);
1061
1061
  }
1062
1062
  function et(t) {
1063
1063
  return Math.sign(t);
1064
1064
  }
1065
1065
  function Ie(t, e) {
1066
- return K(t - e);
1066
+ return U(t - e);
1067
1067
  }
1068
1068
  function ur(t, e) {
1069
- if (t === 0 || e === 0 || K(t) <= K(e)) return 0;
1070
- const n = Ie(K(t), K(e));
1071
- return K(n / t);
1069
+ if (t === 0 || e === 0 || U(t) <= U(e)) return 0;
1070
+ const n = Ie(U(t), U(e));
1071
+ return U(n / t);
1072
1072
  }
1073
1073
  function mr(t) {
1074
1074
  return Math.round(t * 100) / 100;
@@ -1211,7 +1211,7 @@ function fr(t, e) {
1211
1211
  };
1212
1212
  }
1213
1213
  function fe(t = 0, e = 0) {
1214
- const n = K(t - e);
1214
+ const n = U(t - e);
1215
1215
  function s(u) {
1216
1216
  return u < t;
1217
1217
  }
@@ -1244,7 +1244,7 @@ function Nt(t, e, n) {
1244
1244
  } = fe(0, t), i = t + 1;
1245
1245
  let a = o(e);
1246
1246
  function o(k) {
1247
- return n ? K((i + k) % i) : s(k);
1247
+ return n ? U((i + k) % i) : s(k);
1248
1248
  }
1249
1249
  function d() {
1250
1250
  return a;
@@ -1268,7 +1268,7 @@ function Nt(t, e, n) {
1268
1268
  }
1269
1269
  function hr(t, e, n, s, i, a, o, d, l, u, y, f, k, g, h, b, v, p, m) {
1270
1270
  const {
1271
- cross: x,
1271
+ cross: T,
1272
1272
  direction: _
1273
1273
  } = t, F = ["INPUT", "SELECT", "TEXTAREA"], E = {
1274
1274
  passive: !1
@@ -1278,57 +1278,57 @@ function hr(t, e, n, s, i, a, o, d, l, u, y, f, k, g, h, b, v, p, m) {
1278
1278
  }, N = {
1279
1279
  mouse: 500,
1280
1280
  touch: 600
1281
- }, H = h ? 43 : 25;
1282
- let M = !1, R = 0, D = 0, U = !1, ne = !1, Y = !1, q = !1;
1281
+ }, W = h ? 43 : 25;
1282
+ let M = !1, R = 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)) && I(Z);
1286
+ (Re(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", () => {
1290
1290
  }, E).add(G, "touchend", () => {
1291
- }).add(G, "touchstart", O).add(G, "mousedown", O).add(G, "touchcancel", W).add(G, "contextmenu", W).add(G, "click", J, !0);
1291
+ }).add(G, "touchstart", O).add(G, "mousedown", O).add(G, "touchcancel", H).add(G, "contextmenu", H).add(G, "click", J, !0);
1292
1292
  }
1293
1293
  function c() {
1294
1294
  j.clear(), L.clear();
1295
1295
  }
1296
1296
  function A() {
1297
- const w = q ? n : e;
1298
- L.add(w, "touchmove", C, E).add(w, "touchend", W).add(w, "mousemove", C, E).add(w, "mouseup", W);
1297
+ const w = K ? n : e;
1298
+ L.add(w, "touchmove", C, E).add(w, "touchend", H).add(w, "mousemove", C, E).add(w, "mouseup", H);
1299
1299
  }
1300
1300
  function P(w) {
1301
1301
  const O = w.nodeName || "";
1302
1302
  return F.includes(O);
1303
1303
  }
1304
1304
  function z() {
1305
- return (h ? N : $)[q ? "mouse" : "touch"];
1305
+ return (h ? N : $)[K ? "mouse" : "touch"];
1306
1306
  }
1307
- function S(w, O) {
1307
+ function x(w, O) {
1308
1308
  const G = f.add(et(w) * -1), Z = y.byDistance(w, !h).distance;
1309
- return h || K(w) < B ? Z : v && O ? Z * 0.5 : y.byIndex(G.get(), 0).distance;
1309
+ return h || U(w) < B ? Z : v && O ? Z * 0.5 : y.byIndex(G.get(), 0).distance;
1310
1310
  }
1311
- function I(w) {
1311
+ function D(w) {
1312
1312
  const O = Je(w, s);
1313
- q = O, Y = h && O && !w.buttons && M, M = Ie(i.get(), o.get()) >= 2, !(O && w.button !== 0) && (P(w.target) || (U = !0, a.pointerDown(w), u.useFriction(0).useDuration(0), i.set(o), A(), R = a.readPoint(w), D = a.readPoint(w, x), k.emit("pointerDown")));
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")));
1314
1314
  }
1315
1315
  function C(w) {
1316
- if (!Je(w, s) && w.touches.length >= 2) return W(w);
1317
- const G = a.readPoint(w), Z = a.readPoint(w, x), le = Ie(G, R), de = Ie(Z, D);
1318
- if (!ne && !q && (!w.cancelable || (ne = le > de, !ne)))
1319
- return W(w);
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);
1318
+ if (!ne && !K && (!w.cancelable || (ne = le > de, !ne)))
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
- function W(w) {
1324
- const G = y.byDistance(0, !1).index !== f.get(), Z = a.pointerUp(w) * z(), le = S(_(Z), G), de = ur(Z, le), me = H - 10 * de, ce = p + de / 50;
1325
- ne = !1, U = !1, L.clear(), u.useDuration(me).useFriction(ce), l.distance(le, !h), q = !1, k.emit("pointerUp");
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;
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) {
1328
1328
  Y && (w.stopPropagation(), w.preventDefault(), Y = !1);
1329
1329
  }
1330
1330
  function X() {
1331
- return U;
1331
+ return q;
1332
1332
  }
1333
1333
  return {
1334
1334
  init: re,
@@ -1355,7 +1355,7 @@ function kr(t, e) {
1355
1355
  function u(f) {
1356
1356
  if (!s || !i) return 0;
1357
1357
  const k = o(i) - o(s), g = a(f) - a(s), h = a(f) - a(i) > 170, b = k / g;
1358
- return g && !h && K(b) > 0.1 ? b : 0;
1358
+ return g && !h && U(b) > 0.1 ? b : 0;
1359
1359
  }
1360
1360
  return {
1361
1361
  pointerDown: d,
@@ -1403,10 +1403,10 @@ function yr(t, e, n, s, i, a, o) {
1403
1403
  if (!a) return;
1404
1404
  u = k(t), y = s.map(k);
1405
1405
  function p(m) {
1406
- for (const x of m) {
1406
+ for (const T of m) {
1407
1407
  if (f) return;
1408
- const _ = x.target === t, F = s.indexOf(x.target), E = _ ? u : y[F], j = k(_ ? t : s[F]);
1409
- if (K(j - E) >= 0.5) {
1408
+ const _ = T.target === t, F = s.indexOf(T.target), E = _ ? u : y[F], j = k(_ ? t : s[F]);
1409
+ if (U(j - E) >= 0.5) {
1410
1410
  v.reInit(), e.emit("resize");
1411
1411
  break;
1412
1412
  }
@@ -1435,7 +1435,7 @@ function xr(t, e, n, s, i, a) {
1435
1435
  }
1436
1436
  function g() {
1437
1437
  const E = s.get() - e.get();
1438
- return K(E) < 1e-3;
1438
+ return U(E) < 1e-3;
1439
1439
  }
1440
1440
  function h() {
1441
1441
  return l;
@@ -1447,12 +1447,12 @@ function xr(t, e, n, s, i, a) {
1447
1447
  return o;
1448
1448
  }
1449
1449
  function p() {
1450
- return x(i);
1450
+ return T(i);
1451
1451
  }
1452
1452
  function m() {
1453
1453
  return _(a);
1454
1454
  }
1455
- function x(E) {
1455
+ function T(E) {
1456
1456
  return l = E, F;
1457
1457
  }
1458
1458
  function _(E) {
@@ -1467,7 +1467,7 @@ function xr(t, e, n, s, i, a) {
1467
1467
  useBaseFriction: m,
1468
1468
  useBaseDuration: p,
1469
1469
  useFriction: _,
1470
- useDuration: x
1470
+ useDuration: T
1471
1471
  };
1472
1472
  return F;
1473
1473
  }
@@ -1479,8 +1479,8 @@ function Tr(t, e, n, s, i) {
1479
1479
  }
1480
1480
  function y(g) {
1481
1481
  if (!u()) return;
1482
- const h = t.reachedMin(e.get()) ? "min" : "max", b = K(t[h] - e.get()), v = n.get() - e.get(), p = d.constrain(b / o);
1483
- n.subtract(v * p), !g && K(v) < a && (n.set(t.constrain(n.get())), s.useDuration(25).useBaseFriction());
1482
+ const h = t.reachedMin(e.get()) ? "min" : "max", b = U(t[h] - e.get()), v = n.get() - e.get(), p = d.constrain(b / o);
1483
+ n.subtract(v * p), !g && U(v) < a && (n.set(t.constrain(n.get())), s.useDuration(25).useBaseFriction());
1484
1484
  }
1485
1485
  function f(g) {
1486
1486
  l = !g;
@@ -1505,8 +1505,8 @@ function Sr(t, e, n, s, i) {
1505
1505
  const {
1506
1506
  min: v,
1507
1507
  max: p
1508
- } = a, m = a.constrain(h), x = !b, _ = tt(n, b);
1509
- return x ? p : _ || u(v, m) ? v : u(p, m) ? p : m;
1508
+ } = a, m = a.constrain(h), T = !b, _ = tt(n, b);
1509
+ return T ? p : _ || u(v, m) ? v : u(p, m) ? p : m;
1510
1510
  }).map((h) => parseFloat(h.toFixed(3)));
1511
1511
  }
1512
1512
  function k() {
@@ -1567,10 +1567,10 @@ function Dr(t, e, n, s, i) {
1567
1567
  groupSlides: d
1568
1568
  } = i, l = f().map(e.measure), u = k(), y = g();
1569
1569
  function f() {
1570
- return d(s).map((b) => ie(b)[o] - b[0][a]).map(K);
1570
+ return d(s).map((b) => ie(b)[o] - b[0][a]).map(U);
1571
1571
  }
1572
1572
  function k() {
1573
- return s.map((b) => n[a] - b[a]).map((b) => -K(b));
1573
+ return s.map((b) => n[a] - b[a]).map((b) => -U(b));
1574
1574
  }
1575
1575
  function g() {
1576
1576
  return d(u).map((b) => b[0]).map((b, v) => b + l[v]);
@@ -1592,12 +1592,12 @@ function Ir(t, e, n, s, i, a) {
1592
1592
  return n.length === 1 ? [a] : g ? k : k.slice(d, l).map((h, b, v) => {
1593
1593
  const p = !b, m = tt(v, b);
1594
1594
  if (p) {
1595
- const x = ie(v[0]) + 1;
1596
- return jt(x);
1595
+ const T = ie(v[0]) + 1;
1596
+ return jt(T);
1597
1597
  }
1598
1598
  if (m) {
1599
- const x = _e(a) - ie(v)[0] + 1;
1600
- return jt(x, ie(v)[0]);
1599
+ const T = _e(a) - ie(v)[0] + 1;
1600
+ return jt(T, ie(v)[0]);
1601
1601
  }
1602
1602
  return h;
1603
1603
  });
@@ -1613,13 +1613,13 @@ function Lr(t, e, n, s, i) {
1613
1613
  constrain: d
1614
1614
  } = s;
1615
1615
  function l(h) {
1616
- return h.concat().sort((b, v) => K(b) - K(v))[0];
1616
+ return h.concat().sort((b, v) => U(b) - U(v))[0];
1617
1617
  }
1618
1618
  function u(h) {
1619
- const b = t ? o(h) : d(h), v = e.map((m, x) => ({
1619
+ const b = t ? o(h) : d(h), v = e.map((m, T) => ({
1620
1620
  diff: y(m - b, 0),
1621
- index: x
1622
- })).sort((m, x) => K(m.diff) - K(x.diff)), {
1621
+ index: T
1622
+ })).sort((m, T) => U(m.diff) - U(T.diff)), {
1623
1623
  index: p
1624
1624
  } = v[0];
1625
1625
  return {
@@ -1645,8 +1645,8 @@ function Lr(t, e, n, s, i) {
1645
1645
  const v = i.get() + h, {
1646
1646
  index: p,
1647
1647
  distance: m
1648
- } = u(v), x = !t && a(v);
1649
- if (!b || x) return {
1648
+ } = u(v), T = !t && a(v);
1649
+ if (!b || T) return {
1650
1650
  index: p,
1651
1651
  distance: h
1652
1652
  };
@@ -1691,7 +1691,7 @@ function Fr(t, e, n, s, i, a, o, d) {
1691
1691
  function h(b) {
1692
1692
  if ((/* @__PURE__ */ new Date()).getTime() - u > 10) return;
1693
1693
  o.emit("slideFocusStart"), t.scrollLeft = 0;
1694
- const m = n.findIndex((x) => x.includes(b));
1694
+ const m = n.findIndex((T) => T.includes(b));
1695
1695
  Qe(m) && (i.useDuration(0), s.index(m, 0), o.emit("slideFocus"));
1696
1696
  }
1697
1697
  a.add(document, "keydown", f, !1), e.forEach((b, v) => {
@@ -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 H = B ? 0 : -n, M = B ? n : 0, R = B ? "end" : "start", D = $[N][R];
1777
+ const W = B ? 0 : -n, M = B ? n : 0, R = B ? "end" : "start", I = $[N][R];
1778
1778
  return {
1779
1779
  index: N,
1780
- loopPoint: D,
1780
+ loopPoint: I,
1781
1781
  slideLocation: De(-1),
1782
1782
  translate: Pt(t, l[N]),
1783
- target: () => d.get() > D ? H : M
1783
+ target: () => d.get() > I ? W : M
1784
1784
  };
1785
1785
  });
1786
1786
  }
@@ -1792,7 +1792,7 @@ function _r(t, e, n, s, i, a, o, d, l) {
1792
1792
  const j = e - o[0] - 1, L = h(y, j);
1793
1793
  return v(L, -n, !0);
1794
1794
  }
1795
- function x() {
1795
+ function T() {
1796
1796
  return k.every(({
1797
1797
  index: j
1798
1798
  }) => {
@@ -1814,7 +1814,7 @@ function _r(t, e, n, s, i, a, o, d, l) {
1814
1814
  k.forEach((j) => j.translate.clear());
1815
1815
  }
1816
1816
  return {
1817
- canLoop: x,
1817
+ canLoop: T,
1818
1818
  clear: F,
1819
1819
  loop: _,
1820
1820
  loopPoints: k
@@ -1891,7 +1891,7 @@ function Nr(t, e, n, s, i, a) {
1891
1891
  function h() {
1892
1892
  if (!u) return 0;
1893
1893
  const m = n[0];
1894
- return K(e[d] - m[d]);
1894
+ return U(e[d] - m[d]);
1895
1895
  }
1896
1896
  function b() {
1897
1897
  if (!u) return 0;
@@ -1899,10 +1899,10 @@ function Nr(t, e, n, s, i, a) {
1899
1899
  return parseFloat(m.getPropertyValue(`margin-${l}`));
1900
1900
  }
1901
1901
  function v() {
1902
- return n.map((m, x, _) => {
1903
- const F = !x, E = tt(_, x);
1904
- return F ? k[x] + y : E ? k[x] + f : _[x + 1][d] - m[d];
1905
- }).map(K);
1902
+ return n.map((m, T, _) => {
1903
+ const F = !T, E = tt(_, T);
1904
+ return F ? k[T] + y : E ? k[T] + f : _[T + 1][d] - m[d];
1905
+ }).map(U);
1906
1906
  }
1907
1907
  return {
1908
1908
  slideSizes: k,
@@ -1918,14 +1918,14 @@ function Pr(t, e, n, s, i, a, o, d, l) {
1918
1918
  direction: f
1919
1919
  } = t, k = Qe(n);
1920
1920
  function g(p, m) {
1921
- return Le(p).filter((x) => x % m === 0).map((x) => p.slice(x, x + m));
1921
+ return Le(p).filter((T) => T % m === 0).map((T) => p.slice(T, T + m));
1922
1922
  }
1923
1923
  function h(p) {
1924
- return p.length ? Le(p).reduce((m, x, _) => {
1925
- const F = ie(m) || 0, E = F === 0, j = x === _e(p), L = i[u] - a[F][u], B = i[u] - a[x][y], $ = !s && E ? f(o) : 0, N = !s && j ? f(d) : 0, H = K(B - N - (L + $));
1926
- return _ && H > e + l && m.push(x), j && m.push(p.length), m;
1927
- }, []).map((m, x, _) => {
1928
- const F = Math.max(_[x - 1] || 0);
1924
+ return p.length ? Le(p).reduce((m, T, _) => {
1925
+ const F = ie(m) || 0, E = F === 0, j = T === _e(p), L = i[u] - a[F][u], B = i[u] - a[T][y], $ = !s && E ? f(o) : 0, N = !s && j ? f(d) : 0, W = U(B - N - (L + $));
1926
+ return _ && W > e + l && m.push(T), j && m.push(p.length), m;
1927
+ }, []).map((m, T, _) => {
1928
+ const F = Math.max(_[T - 1] || 0);
1929
1929
  return p.slice(F, m);
1930
1930
  }) : [];
1931
1931
  }
@@ -1950,23 +1950,23 @@ function Mr(t, e, n, s, i, a, o) {
1950
1950
  slidesToScroll: v,
1951
1951
  skipSnaps: p,
1952
1952
  containScroll: m,
1953
- watchResize: x,
1953
+ watchResize: T,
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), H = N.measureSize(B), M = vr(H), R = gr(d, H), D = !f && !!m, U = f || !!m, {
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, {
1958
1958
  slideSizes: ne,
1959
1959
  slideSizesWithGaps: Y,
1960
- startGap: q,
1960
+ startGap: K,
1961
1961
  endGap: re
1962
- } = Nr(N, B, $, n, U, i), c = Pr(N, H, v, f, B, $, q, re, j), {
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
1965
  } = Dr(N, R, B, $, c), z = -ie(A) + ie(Y), {
1966
- snapsContained: S,
1967
- scrollContainLimit: I
1968
- } = Sr(H, z, P, m, j), C = D ? S : P, {
1969
- limit: W
1966
+ snapsContained: x,
1967
+ scrollContainLimit: D
1968
+ } = Sr(W, z, P, m, j), C = I ? x : P, {
1969
+ limit: H
1970
1970
  } = wr(z, C, f), J = Nt(_e(C), y, f), X = J.clone(), V = Le(n), w = ({
1971
1971
  dragHandler: he,
1972
1972
  scrollBody: He,
@@ -1992,13 +1992,13 @@ function Mr(t, e, n, s, i, a, o) {
1992
1992
  loop: it
1993
1993
  }
1994
1994
  }, lt) => {
1995
- const dt = he.settled(), Ut = !Gt.shouldConstrain(), ct = it ? dt : dt && Ut, ut = ct && !Wt.pointerDown();
1995
+ const dt = he.settled(), qt = !Gt.shouldConstrain(), ct = it ? dt : dt && qt, ut = ct && !Wt.pointerDown();
1996
1996
  ut && Vt.stop();
1997
- const Kt = We.get() * lt + Ot.get() * (1 - lt);
1998
- Ee.set(Kt), 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, W, ge), Oe = Ar(G, J, X, xe, ze, ge, o), ot = jr(W), rt = Fe(), Rt = Br(e, n, o, b), {
1997
+ const Ut = We.get() * lt + Ot.get() * (1 - lt);
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), {
2000
2000
  slideRegistry: st
2001
- } = Ir(D, m, C, I, c, V), zt = Fr(t, n, st, Oe, xe, rt, o, E), $e = {
2001
+ } = Ir(I, m, C, D, c, V), zt = Fr(t, n, st, Oe, xe, rt, o, E), $e = {
2002
2002
  ownerDocument: s,
2003
2003
  ownerWindow: i,
2004
2004
  eventHandler: o,
@@ -2011,21 +2011,21 @@ function Mr(t, e, n, s, i, a, o) {
2011
2011
  percentOfView: M,
2012
2012
  index: J,
2013
2013
  indexPrevious: X,
2014
- limit: W,
2014
+ limit: H,
2015
2015
  location: de,
2016
2016
  offsetLocation: ce,
2017
2017
  previousLocation: me,
2018
2018
  options: a,
2019
- resizeHandler: yr(e, o, i, n, N, x, L),
2019
+ resizeHandler: yr(e, o, i, n, N, T, L),
2020
2020
  scrollBody: xe,
2021
- scrollBounds: Tr(W, ce, ge, xe, M),
2022
- scrollLooper: Cr(z, W, ce, [de, ce, me, ge]),
2021
+ scrollBounds: Tr(H, ce, ge, xe, M),
2022
+ scrollLooper: Cr(z, H, ce, [de, ce, me, ge]),
2023
2023
  scrollProgress: ot,
2024
2024
  scrollSnapList: C.map(ot.get),
2025
2025
  scrollSnaps: C,
2026
2026
  scrollTarget: ze,
2027
2027
  scrollTo: Oe,
2028
- slideLooper: _r(N, H, z, ne, Y, A, C, ce, n),
2028
+ slideLooper: _r(N, W, z, ne, Y, A, C, ce, n),
2029
2029
  slideFocus: zt,
2030
2030
  slidesHandler: Er(e, o, _),
2031
2031
  slidesInView: Rt,
@@ -2132,12 +2132,12 @@ 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), x = u(m), _ = [], F, E, j;
2135
+ let v = !1, p, m = u(zr, Me.globalOptions), T = u(m), _ = [], F, E, j;
2136
2136
  function L() {
2137
2137
  const {
2138
2138
  container: V,
2139
2139
  slides: w
2140
- } = x;
2140
+ } = T;
2141
2141
  E = (Ye(V) ? t.querySelector(V) : V) || t.children[0];
2142
2142
  const G = Ye(w) ? E.querySelectorAll(w) : w;
2143
2143
  j = [].slice.call(G || E.children);
@@ -2153,30 +2153,30 @@ function Me(t, e, n) {
2153
2153
  return w;
2154
2154
  }
2155
2155
  function $(V, w) {
2156
- v || (m = u(m, V), x = y(m), _ = w || _, L(), p = B(x), f([m, ..._.map(({
2156
+ v || (m = u(m, V), T = y(m), _ = w || _, L(), p = B(T), f([m, ..._.map(({
2157
2157
  options: O
2158
- }) => O)]).forEach((O) => d.add(O, "change", N)), x.active && (p.translate.to(p.location.get()), p.animation.init(), p.slidesInView.init(), p.slideFocus.init(X), p.eventHandler.init(X), p.resizeHandler.init(X), p.slidesHandler.init(X), p.options.loop && p.slideLooper.loop(), E.offsetParent && j.length && p.dragHandler.init(X), F = o.init(X, _)));
2158
+ }) => O)]).forEach((O) => d.add(O, "change", N)), T.active && (p.translate.to(p.location.get()), p.animation.init(), p.slidesInView.init(), p.slideFocus.init(X), p.eventHandler.init(X), p.resizeHandler.init(X), p.slidesHandler.init(X), p.options.loop && p.slideLooper.loop(), E.offsetParent && j.length && p.dragHandler.init(X), F = o.init(X, _)));
2159
2159
  }
2160
2160
  function N(V, w) {
2161
2161
  const O = c();
2162
- H(), $(u({
2162
+ W(), $(u({
2163
2163
  startIndex: O
2164
2164
  }, V), w), l.emit("reInit");
2165
2165
  }
2166
- function H() {
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
2169
  function M() {
2170
- v || (v = !0, d.clear(), H(), l.emit("destroy"), l.clear());
2170
+ v || (v = !0, d.clear(), W(), l.emit("destroy"), l.clear());
2171
2171
  }
2172
2172
  function R(V, w, O) {
2173
- !x.active || v || (p.scrollBody.useBaseFriction().useDuration(w === !0 ? 0 : x.duration), p.scrollTo.index(V, O || 0));
2173
+ !T.active || v || (p.scrollBody.useBaseFriction().useDuration(w === !0 ? 0 : T.duration), p.scrollTo.index(V, O || 0));
2174
2174
  }
2175
- function D(V) {
2175
+ function I(V) {
2176
2176
  const w = p.index.add(1).get();
2177
2177
  R(w, V, -1);
2178
2178
  }
2179
- function U(V) {
2179
+ function q(V) {
2180
2180
  const w = p.index.add(-1).get();
2181
2181
  R(w, V, 1);
2182
2182
  }
@@ -2186,7 +2186,7 @@ function Me(t, e, n) {
2186
2186
  function Y() {
2187
2187
  return p.index.add(-1).get() !== c();
2188
2188
  }
2189
- function q() {
2189
+ function K() {
2190
2190
  return p.scrollSnapList;
2191
2191
  }
2192
2192
  function re() {
@@ -2204,16 +2204,16 @@ function Me(t, e, n) {
2204
2204
  function z() {
2205
2205
  return p.slidesInView.get(!1);
2206
2206
  }
2207
- function S() {
2207
+ function x() {
2208
2208
  return F;
2209
2209
  }
2210
- function I() {
2210
+ function D() {
2211
2211
  return p;
2212
2212
  }
2213
2213
  function C() {
2214
2214
  return t;
2215
2215
  }
2216
- function W() {
2216
+ function H() {
2217
2217
  return E;
2218
2218
  }
2219
2219
  function J() {
@@ -2222,20 +2222,20 @@ function Me(t, e, n) {
2222
2222
  const X = {
2223
2223
  canScrollNext: ne,
2224
2224
  canScrollPrev: Y,
2225
- containerNode: W,
2226
- internalEngine: I,
2225
+ containerNode: H,
2226
+ internalEngine: D,
2227
2227
  destroy: M,
2228
2228
  off: g,
2229
2229
  on: k,
2230
2230
  emit: h,
2231
- plugins: S,
2231
+ plugins: x,
2232
2232
  previousScrollSnap: A,
2233
2233
  reInit: b,
2234
2234
  rootNode: C,
2235
- scrollNext: D,
2236
- scrollPrev: U,
2235
+ scrollNext: I,
2236
+ scrollPrev: q,
2237
2237
  scrollProgress: re,
2238
- scrollSnapList: q,
2238
+ scrollSnapList: K,
2239
2239
  scrollTo: R,
2240
2240
  selectedScrollSnap: c,
2241
2241
  slideNodes: J,
@@ -2246,7 +2246,7 @@ function Me(t, e, n) {
2246
2246
  }
2247
2247
  Me.globalOptions = void 0;
2248
2248
  function nt(t = {}, e = []) {
2249
- const n = Ke(t), s = Ke(e), [i, a] = oe(), [o, d] = oe(), l = ae(() => {
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);
2251
2251
  }, [i]);
2252
2252
  return te(() => {
@@ -2263,14 +2263,14 @@ function nt(t = {}, e = []) {
2263
2263
  }, [o, a]), [d, i];
2264
2264
  }
2265
2265
  nt.globalOptions = void 0;
2266
- const Hr = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slides_1bu1s_17", Gr = "_slide_1bu1s_17", Ur = "_slideInner_1bu1s_37", Kr = "_loaderOverlay_1bu1s_45", qr = "_image_1bu1s_55", Yr = "_loaded_1bu1s_66", Jr = "_empty_1bu1s_78", Zr = "_controls_1bu1s_84", Xr = "_arrows_1bu1s_94", Qr = "_dots_1bu1s_104", es = "_dot_1bu1s_104", ts = "_dotActive_1bu1s_130", Q = {
2266
+ const Hr = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slides_1bu1s_17", Gr = "_slide_1bu1s_17", qr = "_slideInner_1bu1s_37", Ur = "_loaderOverlay_1bu1s_45", Kr = "_image_1bu1s_55", Yr = "_loaded_1bu1s_66", Jr = "_empty_1bu1s_78", Zr = "_controls_1bu1s_84", Xr = "_arrows_1bu1s_94", Qr = "_dots_1bu1s_104", es = "_dot_1bu1s_104", ts = "_dotActive_1bu1s_130", Q = {
2267
2267
  carouselContainer: Hr,
2268
2268
  viewport: Wr,
2269
2269
  slides: Vr,
2270
2270
  slide: Gr,
2271
- slideInner: Ur,
2272
- loaderOverlay: Kr,
2273
- image: qr,
2271
+ slideInner: qr,
2272
+ loaderOverlay: Ur,
2273
+ image: Kr,
2274
2274
  loaded: Yr,
2275
2275
  empty: Jr,
2276
2276
  controls: Zr,
@@ -2296,14 +2296,14 @@ const Hr = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slide
2296
2296
  align: "start",
2297
2297
  containScroll: "trimSnaps",
2298
2298
  slidesToScroll: 1
2299
- }, [k, g] = nt(f), [h, b] = oe(0), [v, p] = oe([]), [m, x] = oe([]);
2299
+ }, [k, g] = nt(f), [h, b] = oe(0), [v, p] = oe([]), [m, T] = oe([]);
2300
2300
  te(() => {
2301
- x(new Array((t == null ? void 0 : t.length) || 0).fill(!1));
2301
+ T(new Array((t == null ? void 0 : t.length) || 0).fill(!1));
2302
2302
  }, [t]);
2303
2303
  const _ = ae((M) => {
2304
- x((R) => {
2305
- const D = [...R];
2306
- return D[M] = !0, D;
2304
+ T((R) => {
2305
+ const I = [...R];
2306
+ return I[M] = !0, I;
2307
2307
  });
2308
2308
  }, []), F = ve(() => n * 1e3, [n]), E = ae(() => {
2309
2309
  g && b(g.selectedScrollSnap());
@@ -2324,7 +2324,7 @@ const Hr = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slide
2324
2324
  window.clearInterval(M);
2325
2325
  };
2326
2326
  }, [e, F, g, t]);
2327
- const $ = Math.max(1, o), N = `${100 / $}%`, H = d / 2;
2327
+ const $ = Math.max(1, o), N = `${100 / $}%`, W = d / 2;
2328
2328
  return /* @__PURE__ */ r.jsxs(
2329
2329
  "div",
2330
2330
  {
@@ -2338,8 +2338,8 @@ const Hr = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slide
2338
2338
  {
2339
2339
  className: Q.slides,
2340
2340
  style: {
2341
- marginLeft: `-${H}px`,
2342
- marginRight: `-${H}px`
2341
+ marginLeft: `-${W}px`,
2342
+ marginRight: `-${W}px`
2343
2343
  },
2344
2344
  children: t && t.length > 0 ? t.map((M, R) => /* @__PURE__ */ r.jsx(
2345
2345
  "div",
@@ -2347,8 +2347,8 @@ const Hr = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slide
2347
2347
  className: Q.slide,
2348
2348
  style: {
2349
2349
  flex: `0 0 ${N}`,
2350
- paddingLeft: `${H}px`,
2351
- paddingRight: `${H}px`,
2350
+ paddingLeft: `${W}px`,
2351
+ paddingRight: `${W}px`,
2352
2352
  borderRadius: l > 0 ? `${l}px` : void 0,
2353
2353
  overflow: "hidden"
2354
2354
  // Ensure radius clips content
@@ -2364,8 +2364,8 @@ const Hr = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slide
2364
2364
  loading: R < $ ? "eager" : "lazy",
2365
2365
  crossOrigin: "anonymous",
2366
2366
  onLoad: () => _(R),
2367
- onError: (D) => {
2368
- D.target.style.display = "none", _(R);
2367
+ onError: (I) => {
2368
+ I.target.style.display = "none", _(R);
2369
2369
  }
2370
2370
  }
2371
2371
  )
@@ -2401,15 +2401,15 @@ const Hr = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slide
2401
2401
  )
2402
2402
  ] }),
2403
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 D = R === h;
2404
+ const I = R === h;
2405
2405
  return /* @__PURE__ */ r.jsx(
2406
2406
  "button",
2407
2407
  {
2408
2408
  type: "button",
2409
- className: `${Q.dot} ${D ? Q.dotActive : ""}`,
2409
+ className: `${Q.dot} ${I ? Q.dotActive : ""}`,
2410
2410
  onClick: () => j(R),
2411
2411
  "aria-label": `Gå til bilde ${R + 1}`,
2412
- "aria-selected": D,
2412
+ "aria-selected": I,
2413
2413
  role: "tab"
2414
2414
  },
2415
2415
  `dot-${R}`
@@ -2438,7 +2438,7 @@ const Na = Dn, Pa = In, Ma = Ln, Pe = Object.assign(An, {
2438
2438
  Input: Fn
2439
2439
  }), Ra = Bn, za = Nn, Oa = Pn, ls = Mn;
2440
2440
  ls.displayName = "Suggestion";
2441
- const Ue = Rn, $a = zn, Ha = On, Wa = $n, Va = Hn, Ga = Wn, Ua = Vn, Ka = Gn, ds = ue((t, e) => /* @__PURE__ */ r.jsx(Un, { ref: e, ...t }));
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 }));
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 = qt(void 0), qa = ({ children: t }) => {
3971
+ }, Mt = 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];
@@ -3985,7 +3985,7 @@ const cs = {
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_125p6_1", gs = "_languageSwitch_125p6_36", ps = "_searchOverlay_125p6_40", fs = "_headerExtension_125p6_45", hs = "_extensionContentWrapper_125p6_61", ks = "_extensionContent_125p6_61", bs = "_extensionDivider_125p6_84", vs = "_languageLabel_125p6_98", ys = "_languageLink_125p6_104", xs = "_headerInner_125p6_129", Ts = "_logoWrapper_125p6_146", Ss = "_logo_125p6_146", ws = "_secondaryLogoWrapper_125p6_169", Cs = "_slotComponent_125p6_178", js = "_slotContainer_125p6_188", Ds = "_slotText_125p6_196", Is = "_secondaryLogo_125p6_169", Ls = "_redCrossLogo_125p6_223", As = "_primaryLogo_125p6_229", Fs = "_navItems_125p6_233", _s = "_navLink_125p6_242", Es = "_actions_125p6_255", Bs = "_ctaButton_125p6_263", Ns = "_themeToggle_125p6_268", Ps = "_userInfo_125p6_273", Ms = "_userName_125p6_279", Rs = "_loginLink_125p6_286", zs = "_loginText_125p6_295", Os = "_underline_125p6_302", $s = "_searchButtonWrapper_125p6_308", Hs = "_buttonText_125p6_312", Ws = "_menuButton_125p6_317", Vs = "_menuOverlay_125p6_322", Gs = "_searchContent_125p6_356", Us = "_menuContent_125p6_366", Ks = "_menuLeftColumn_125p6_375", qs = "_menuRightColumn_125p6_381", Ys = "_slotContent_125p6_395", Js = "_navList_125p6_408", Zs = "_menuUtilities_125p6_415", Xs = "_menuBrand_125p6_422", Qs = "_suggestionsSection_125p6_426", ea = "_suggestionsTitle_125p6_432", ta = "_searchResults_125p6_441", na = "_resultList_125p6_447", oa = "_resultItem_125p6_453", ra = "_resultLink_125p6_461", sa = "_suggestionIcon_125p6_475", aa = "_suggestionText_125p6_488", ia = "_highlightedText_125p6_495", la = "_remainingText_125p6_500", da = "_viewAllLink_125p6_513", ca = "_noResults_125p6_548", 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 = {
3989
3989
  header: ms,
3990
3990
  languageSwitch: gs,
3991
3991
  searchOverlay: ps,
@@ -4020,9 +4020,9 @@ const cs = {
4020
4020
  menuButton: Ws,
4021
4021
  menuOverlay: Vs,
4022
4022
  searchContent: Gs,
4023
- menuContent: Us,
4024
- menuLeftColumn: Ks,
4025
- menuRightColumn: qs,
4023
+ menuContent: qs,
4024
+ menuLeftColumn: Us,
4025
+ menuRightColumn: Ks,
4026
4026
  slotContent: Ys,
4027
4027
  navList: Js,
4028
4028
  menuUtilities: Zs,
@@ -4122,15 +4122,15 @@ const cs = {
4122
4122
  showNavItems: v = !0,
4123
4123
  showMenuButton: p = !0,
4124
4124
  showHeaderExtension: m = !1,
4125
- showModeToggle: x = !1,
4125
+ showModeToggle: T = !1,
4126
4126
  showLanguageSwitch: _ = !1
4127
4127
  }) => {
4128
- const [F, E] = oe(!1), [j, L] = oe(!1), [B, $] = oe(""), [N, H] = oe("light"), { language: M, setLanguage: R, t: D } = us(), [U, ne] = oe(!1);
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);
4129
4129
  te(() => {
4130
- const S = "rk-header-inline-styles";
4131
- if (typeof document > "u" || document.getElementById(S)) return;
4132
- const I = ma(T), C = document.createElement("style");
4133
- C.id = S, C.textContent = I, document.head.appendChild(C);
4130
+ const x = "rk-header-inline-styles";
4131
+ if (typeof document > "u" || document.getElementById(x)) return;
4132
+ const D = ma(S), C = document.createElement("style");
4133
+ C.id = x, C.textContent = D, document.head.appendChild(C);
4134
4134
  }, []);
4135
4135
  const Y = () => /* @__PURE__ */ r.jsxs(
4136
4136
  "svg",
@@ -4142,7 +4142,7 @@ const cs = {
4142
4142
  xmlns: "http://www.w3.org/2000/svg",
4143
4143
  "aria-hidden": !0,
4144
4144
  focusable: "false",
4145
- className: T.redCrossLogo,
4145
+ className: S.redCrossLogo,
4146
4146
  children: [
4147
4147
  /* @__PURE__ */ r.jsx("path", { d: "M76.1036 48.1397C77.8925 47.8781 79.6984 47.7525 81.5061 47.7639C84.1713 47.7639 86.0396 48.1669 87.3182 49.1857C87.8735 49.639 88.3149 50.2176 88.6067 50.8744C88.8984 51.5312 89.0323 52.2479 88.9974 52.9665C88.9839 53.9451 88.6724 54.896 88.1049 55.691C87.5373 56.4861 86.7411 57.087 85.8235 57.4129V57.4944C87.0796 58.006 87.7684 59.2104 88.2231 60.8722C88.7813 62.9097 89.3441 65.2688 89.6907 65.9661H85.5309C85.2382 65.4544 84.7835 63.9829 84.2793 61.7597C83.7751 59.5365 83.0097 58.8527 81.344 58.8527H80.1284V65.9661H76.1036V48.1397ZM80.1284 55.9141H81.7312C83.7526 55.9141 84.9546 54.8954 84.9546 53.3151C84.9546 51.6534 83.8336 50.8202 81.9698 50.7931C81.3532 50.7814 80.7368 50.8268 80.1284 50.9289V55.9141Z", fill: "#1E1E1E" }),
4148
4148
  /* @__PURE__ */ r.jsx("path", { d: "M97.8528 52.5633C98.9439 52.5351 100.026 52.7744 101.004 53.2606L102.256 51.4087L103.669 52.4003L102.467 54.2115C103.188 54.8589 103.758 55.6585 104.137 56.5531C104.515 57.4478 104.692 58.4154 104.655 59.3869C104.655 64.0506 101.243 66.2738 97.8573 66.2738C96.7852 66.2984 95.7234 66.059 94.7644 65.5765L93.4543 67.4556L92.1037 66.387L93.2787 64.6438C91.8651 63.4892 91.0277 61.7233 91.0277 59.414C91.0277 55.2891 93.7965 52.5543 97.8213 52.5543L97.8528 52.5633ZM99.2934 55.9411C98.8798 55.6237 98.3731 55.4533 97.8528 55.4566C95.7458 55.4566 94.949 57.5757 94.949 59.4005C94.9265 60.126 95.0909 60.845 95.4262 61.4878L95.4802 61.515L99.2934 55.9411ZM96.4932 62.8552C96.8653 63.1843 97.3486 63.3576 97.8438 63.3397C99.6446 63.3397 100.748 61.7821 100.748 59.4774C100.76 58.7777 100.625 58.0833 100.351 57.4399L100.27 57.4127L96.4932 62.8552Z", fill: "#1E1E1E" }),
@@ -4160,93 +4160,105 @@ const cs = {
4160
4160
  te(() => {
4161
4161
  E(!1), L(!1), $("");
4162
4162
  }, [t]), te(() => {
4163
- if (!(typeof document > "u") && F && U) {
4164
- const S = document.body.style.overflow;
4163
+ if (!(typeof document > "u") && F && q) {
4164
+ const x = document.body.style.overflow;
4165
4165
  return document.body.style.overflow = "hidden", () => {
4166
- document.body.style.overflow = S;
4166
+ document.body.style.overflow = x;
4167
4167
  };
4168
4168
  }
4169
- }, [F, U]), te(() => {
4169
+ }, [F, q]), te(() => {
4170
4170
  if (typeof window > "u" || typeof window.matchMedia > "u") return;
4171
- const S = window.matchMedia("(max-width: 850px)"), I = (C) => ne("matches" in C ? C.matches : S.matches);
4172
- return I(S), S.addEventListener ? S.addEventListener("change", I) : S.addListener(I), () => {
4173
- S.removeEventListener ? S.removeEventListener("change", I) : S.removeListener(I);
4171
+ const x = window.matchMedia("(max-width: 850px)"), D = (C) => ne("matches" in C ? C.matches : x.matches);
4172
+ return D(x), x.addEventListener ? x.addEventListener("change", D) : x.addListener(D), () => {
4173
+ x.removeEventListener ? x.removeEventListener("change", D) : x.removeListener(D);
4174
4174
  };
4175
4175
  }, []), te(() => {
4176
4176
  if (typeof document > "u") return;
4177
- const S = document.querySelector(`.${T.header}`);
4178
- if (!S) return;
4179
- const I = () => {
4180
- const C = S.offsetHeight;
4181
- document.documentElement.style.setProperty("--header-height-mobile", `${C}px`);
4177
+ const x = document.querySelector(`.${S.header}`);
4178
+ if (!x) return;
4179
+ const D = () => {
4180
+ const H = x.offsetHeight;
4181
+ document.documentElement.style.setProperty("--header-height-mobile", `${H}px`);
4182
+ };
4183
+ D(), window.addEventListener("resize", D);
4184
+ const C = new ResizeObserver(() => {
4185
+ D();
4186
+ });
4187
+ return C.observe(x), () => {
4188
+ window.removeEventListener("resize", D), C.disconnect();
4182
4189
  };
4183
- return I(), window.addEventListener("resize", I), () => window.removeEventListener("resize", I);
4184
- }, [U]), te(() => {
4190
+ }, [q]), te(() => {
4185
4191
  if (typeof document > "u") return;
4186
- const S = document.querySelector(`.${T.logoWrapper}`);
4187
- if (!S) return;
4188
- const I = () => {
4189
- const C = S.offsetWidth;
4192
+ const x = document.querySelector(`.${S.logoWrapper}`);
4193
+ if (!x) return;
4194
+ const D = () => {
4195
+ const C = x.offsetWidth;
4190
4196
  document.documentElement.style.setProperty("--rk-logo-width", `${C}px`);
4191
4197
  };
4192
- return I(), window.addEventListener("resize", I), () => window.removeEventListener("resize", I);
4193
- }, [U]), te(() => {
4198
+ return D(), window.addEventListener("resize", D), () => window.removeEventListener("resize", D);
4199
+ }, [q]), te(() => {
4194
4200
  if (typeof document > "u" || !j) {
4195
4201
  document.documentElement.style.setProperty("--rk-search-overlay-height", "0px");
4196
4202
  return;
4197
4203
  }
4198
- const S = document.querySelector(`.${T.searchOverlay}`);
4199
- if (!S) return;
4200
- const I = () => {
4201
- const W = S.offsetHeight;
4202
- document.documentElement.style.setProperty("--rk-search-overlay-height", `${W}px`);
4204
+ const x = document.querySelector(`.${S.searchOverlay}`);
4205
+ if (!x) return;
4206
+ const D = () => {
4207
+ const H = x.offsetHeight;
4208
+ document.documentElement.style.setProperty("--rk-search-overlay-height", `${H}px`);
4203
4209
  };
4204
- requestAnimationFrame(I), window.addEventListener("resize", I);
4205
- const C = new ResizeObserver(I);
4206
- return C.observe(S), () => {
4207
- window.removeEventListener("resize", I), C.disconnect();
4210
+ requestAnimationFrame(D), window.addEventListener("resize", D);
4211
+ const C = new ResizeObserver(D);
4212
+ return C.observe(x), () => {
4213
+ window.removeEventListener("resize", D), C.disconnect();
4208
4214
  };
4209
4215
  }, [j]);
4210
- const q = () => {
4211
- const S = N === "light" ? "dark" : "light";
4212
- H(S), document.documentElement.setAttribute("data-color-scheme", S);
4213
- }, re = (S) => {
4214
- e && (S.preventDefault(), e("home")), E(!1), L(!1);
4216
+ const K = () => {
4217
+ const x = N === "light" ? "dark" : "light";
4218
+ W(x), document.documentElement.setAttribute("data-color-scheme", x);
4219
+ }, re = (x) => {
4220
+ e && (x.preventDefault(), e("home")), E(!1), L(!1);
4215
4221
  }, c = () => {
4216
- E(!F), j && L(!1);
4222
+ E(!F), j && L(!1), !F && typeof document < "u" && requestAnimationFrame(() => {
4223
+ const x = document.querySelector(`.${S.header}`);
4224
+ if (x) {
4225
+ const D = x.offsetHeight;
4226
+ document.documentElement.style.setProperty("--header-height-mobile", `${D}px`);
4227
+ }
4228
+ });
4217
4229
  }, A = () => {
4218
4230
  L(!j), F && E(!1);
4219
4231
  }, P = ve(() => {
4220
4232
  if (!B.trim()) return [];
4221
- const S = B.toLowerCase();
4233
+ const x = B.toLowerCase();
4222
4234
  return ua.filter(
4223
- (I) => I.title.toLowerCase().startsWith(S)
4235
+ (D) => D.title.toLowerCase().startsWith(x)
4224
4236
  );
4225
- }, [B]), z = (S) => {
4226
- e && e(S), L(!1), $("");
4237
+ }, [B]), z = (x) => {
4238
+ e && e(x), L(!1), $("");
4227
4239
  };
4228
- return /* @__PURE__ */ r.jsxs("header", { className: T.header, "data-open": F ? "true" : "false", children: [
4229
- m && /* @__PURE__ */ r.jsx("div", { className: T.headerExtension, "data-color-scheme": "light", children: /* @__PURE__ */ r.jsxs("div", { className: T.extensionContentWrapper, children: [
4230
- x && /* @__PURE__ */ r.jsx("div", { className: T.extensionContent, children: /* @__PURE__ */ r.jsx(
4231
- Ue,
4240
+ return /* @__PURE__ */ r.jsxs("header", { className: S.header, "data-open": F ? "true" : "false", children: [
4241
+ m && /* @__PURE__ */ r.jsx("div", { className: S.headerExtension, "data-color-scheme": "light", children: /* @__PURE__ */ r.jsxs("div", { className: S.extensionContentWrapper, children: [
4242
+ T && /* @__PURE__ */ r.jsx("div", { className: S.extensionContent, children: /* @__PURE__ */ r.jsx(
4243
+ qe,
4232
4244
  {
4233
4245
  "data-size": "sm",
4234
4246
  checked: N === "dark",
4235
- onChange: q,
4236
- label: D("header.darkMode"),
4247
+ onChange: K,
4248
+ label: I("header.darkMode"),
4237
4249
  color: "neutral",
4238
4250
  "data-color-scheme": "light"
4239
4251
  }
4240
4252
  ) }),
4241
- x && _ && /* @__PURE__ */ r.jsx("div", { className: T.extensionDivider }),
4242
- _ && /* @__PURE__ */ r.jsxs("div", { className: T.languageSwitch, children: [
4243
- /* @__PURE__ */ r.jsx("span", { className: T.languageLabel, children: D("header.language") }),
4253
+ T && _ && /* @__PURE__ */ r.jsx("div", { className: S.extensionDivider }),
4254
+ _ && /* @__PURE__ */ r.jsxs("div", { className: S.languageSwitch, children: [
4255
+ /* @__PURE__ */ r.jsx("span", { className: S.languageLabel, children: I("header.language") }),
4244
4256
  /* @__PURE__ */ r.jsxs(ee.TriggerContext, { children: [
4245
4257
  /* @__PURE__ */ r.jsxs(
4246
4258
  ee.Trigger,
4247
4259
  {
4248
- className: T.languageLink,
4249
- "aria-label": D("header.selectLanguage"),
4260
+ className: S.languageLink,
4261
+ "aria-label": I("header.selectLanguage"),
4250
4262
  style: { background: "transparent", border: "none", padding: 0, cursor: "pointer", font: "inherit" },
4251
4263
  children: [
4252
4264
  M,
@@ -4269,71 +4281,71 @@ const cs = {
4269
4281
  ] })
4270
4282
  ] })
4271
4283
  ] }) }),
4272
- /* @__PURE__ */ r.jsxs("div", { className: T.headerInner, children: [
4273
- /* @__PURE__ */ r.jsxs("div", { className: T.logoWrapper, children: [
4284
+ /* @__PURE__ */ r.jsxs("div", { className: S.headerInner, children: [
4285
+ /* @__PURE__ */ r.jsxs("div", { className: S.logoWrapper, children: [
4274
4286
  /* @__PURE__ */ r.jsx(
4275
4287
  Ne,
4276
4288
  {
4277
4289
  href: "/",
4278
- className: `${T.logo} ${T.primaryLogo}`,
4279
- "aria-label": D("header.homeAriaLabel"),
4290
+ className: `${S.logo} ${S.primaryLogo}`,
4291
+ "aria-label": I("header.homeAriaLabel"),
4280
4292
  onClick: re,
4281
4293
  children: /* @__PURE__ */ r.jsx(Y, {})
4282
4294
  }
4283
4295
  ),
4284
- /* @__PURE__ */ r.jsx("div", { className: T.secondaryLogoWrapper, children: f && k ? /* @__PURE__ */ r.jsx(
4296
+ /* @__PURE__ */ r.jsx("div", { className: S.secondaryLogoWrapper, children: f && k ? /* @__PURE__ */ r.jsx(
4285
4297
  "img",
4286
4298
  {
4287
4299
  src: N === "dark" && g ? g : k,
4288
4300
  alt: h,
4289
- className: T.secondaryLogo
4301
+ className: S.secondaryLogo
4290
4302
  }
4291
- ) : f ? /* @__PURE__ */ r.jsx("div", { className: T.slotComponent, children: /* @__PURE__ */ r.jsx("div", { className: T.slotContainer, children: /* @__PURE__ */ r.jsx("p", { className: T.slotText, children: "SLOT" }) }) }) : null })
4303
+ ) : f ? /* @__PURE__ */ r.jsx("div", { className: S.slotComponent, children: /* @__PURE__ */ r.jsx("div", { className: S.slotContainer, children: /* @__PURE__ */ r.jsx("p", { className: S.slotText, children: "SLOT" }) }) }) : null })
4292
4304
  ] }),
4293
- v && b && b.length > 0 && !U && /* @__PURE__ */ r.jsx("nav", { className: T.navItems, children: b.map((S, I) => /* @__PURE__ */ r.jsx(
4305
+ v && b && b.length > 0 && !q && /* @__PURE__ */ r.jsx("nav", { className: S.navItems, children: b.map((x, D) => /* @__PURE__ */ r.jsx(
4294
4306
  Ne,
4295
4307
  {
4296
- href: S.href,
4297
- className: T.navLink,
4308
+ href: x.href,
4309
+ className: S.navLink,
4298
4310
  onClick: (C) => {
4299
- e && (C.preventDefault(), e(S.href));
4311
+ e && (C.preventDefault(), e(x.href));
4300
4312
  },
4301
- children: S.label
4313
+ children: x.label
4302
4314
  },
4303
- I
4315
+ D
4304
4316
  )) }),
4305
- /* @__PURE__ */ r.jsxs("div", { className: T.actions, children: [
4317
+ /* @__PURE__ */ r.jsxs("div", { className: S.actions, children: [
4306
4318
  o && /* @__PURE__ */ r.jsxs(
4307
4319
  ye,
4308
4320
  {
4309
4321
  variant: "primary",
4310
4322
  "data-color": "main",
4311
4323
  "data-size": "md",
4312
- className: T.ctaButton,
4324
+ className: S.ctaButton,
4313
4325
  onClick: u,
4314
4326
  children: [
4315
4327
  l,
4316
- /* @__PURE__ */ r.jsx("span", { className: T.buttonText, children: d || D("header.supportUs") })
4328
+ /* @__PURE__ */ r.jsx("span", { className: S.buttonText, children: d || I("header.supportUs") })
4317
4329
  ]
4318
4330
  }
4319
4331
  ),
4320
- !m && y && /* @__PURE__ */ r.jsx("div", { className: T.themeToggle, children: /* @__PURE__ */ r.jsx(
4321
- Ue,
4332
+ !m && y && /* @__PURE__ */ r.jsx("div", { className: S.themeToggle, children: /* @__PURE__ */ r.jsx(
4333
+ qe,
4322
4334
  {
4323
4335
  checked: N === "dark",
4324
- onChange: q,
4325
- "aria-label": D("header.toggleTheme")
4336
+ onChange: K,
4337
+ "aria-label": I("header.toggleTheme")
4326
4338
  }
4327
4339
  ) }),
4328
- s && /* @__PURE__ */ r.jsxs("div", { className: T.userInfo, children: [
4329
- /* @__PURE__ */ r.jsx(Ze, { "data-size": "md", className: T.userName, children: "Frodo Baggins" }),
4340
+ s && /* @__PURE__ */ r.jsxs("div", { className: S.userInfo, children: [
4341
+ /* @__PURE__ */ r.jsx(Ze, { "data-size": "md", className: S.userName, children: "Frodo Baggins" }),
4330
4342
  /* @__PURE__ */ r.jsx(Ft, { "aria-label": "Frodo Baggins", "data-color": "main", variant: "circle", initials: "FB" })
4331
4343
  ] }),
4332
- a && /* @__PURE__ */ r.jsxs("a", { href: "#", className: T.loginLink, children: [
4333
- /* @__PURE__ */ r.jsx("span", { className: T.loginText, children: D("header.login") }),
4334
- /* @__PURE__ */ r.jsx("div", { className: T.underline })
4344
+ a && /* @__PURE__ */ r.jsxs("a", { href: "#", className: S.loginLink, children: [
4345
+ /* @__PURE__ */ r.jsx("span", { className: S.loginText, children: I("header.login") }),
4346
+ /* @__PURE__ */ r.jsx("div", { className: S.underline })
4335
4347
  ] }),
4336
- i && /* @__PURE__ */ r.jsx("div", { className: T.searchButtonWrapper, children: /* @__PURE__ */ r.jsxs(
4348
+ i && /* @__PURE__ */ r.jsx("div", { className: S.searchButtonWrapper, children: /* @__PURE__ */ r.jsxs(
4337
4349
  ye,
4338
4350
  {
4339
4351
  variant: "secondary",
@@ -4341,14 +4353,14 @@ const cs = {
4341
4353
  "data-size": "md",
4342
4354
  onClick: A,
4343
4355
  "aria-expanded": j,
4344
- "aria-label": D(j ? "header.closeSearch" : "header.openSearch"),
4356
+ "aria-label": I(j ? "header.closeSearch" : "header.openSearch"),
4345
4357
  children: [
4346
4358
  j ? /* @__PURE__ */ r.jsx(pt, { "aria-hidden": !0 }) : /* @__PURE__ */ r.jsx(ft, { "aria-hidden": !0 }),
4347
- /* @__PURE__ */ r.jsx("span", { className: T.buttonText, children: D(j ? "header.close" : "header.search") })
4359
+ /* @__PURE__ */ r.jsx("span", { className: S.buttonText, children: I(j ? "header.close" : "header.search") })
4348
4360
  ]
4349
4361
  }
4350
4362
  ) }),
4351
- (p || U) && /* @__PURE__ */ r.jsxs(
4363
+ (p || q) && /* @__PURE__ */ r.jsxs(
4352
4364
  ye,
4353
4365
  {
4354
4366
  variant: "primary",
@@ -4356,28 +4368,28 @@ const cs = {
4356
4368
  "data-size": "md",
4357
4369
  onClick: c,
4358
4370
  "aria-expanded": F,
4359
- "aria-label": D(F ? "header.closeMenu" : "header.openMenu"),
4360
- className: T.menuButton,
4371
+ "aria-label": I(F ? "header.closeMenu" : "header.openMenu"),
4372
+ className: S.menuButton,
4361
4373
  children: [
4362
4374
  F ? /* @__PURE__ */ r.jsx(pt, { "aria-hidden": !0 }) : /* @__PURE__ */ r.jsx(eo, { "aria-hidden": !0 }),
4363
- /* @__PURE__ */ r.jsx("span", { className: T.buttonText, children: D(F ? "header.close" : "header.menu") })
4375
+ /* @__PURE__ */ r.jsx("span", { className: S.buttonText, children: I(F ? "header.close" : "header.menu") })
4364
4376
  ]
4365
4377
  }
4366
4378
  )
4367
4379
  ] })
4368
4380
  ] }),
4369
- F && /* @__PURE__ */ r.jsx("div", { className: T.menuOverlay, children: /* @__PURE__ */ r.jsxs("div", { className: T.menuContent, children: [
4370
- /* @__PURE__ */ r.jsx("div", { className: T.menuLeftColumn }),
4371
- /* @__PURE__ */ r.jsxs("div", { className: T.menuRightColumn, children: [
4372
- U && (_ || x) && /* @__PURE__ */ r.jsxs("div", { className: T.menuUtilities, children: [
4373
- _ && /* @__PURE__ */ r.jsxs("div", { className: T.languageSwitch, children: [
4374
- /* @__PURE__ */ r.jsx("span", { className: T.languageLabel, children: D("header.language") }),
4381
+ F && /* @__PURE__ */ r.jsx("div", { className: S.menuOverlay, children: /* @__PURE__ */ r.jsxs("div", { className: S.menuContent, children: [
4382
+ /* @__PURE__ */ r.jsx("div", { className: S.menuLeftColumn }),
4383
+ /* @__PURE__ */ r.jsxs("div", { className: S.menuRightColumn, children: [
4384
+ q && (_ || T) && /* @__PURE__ */ r.jsxs("div", { className: S.menuUtilities, children: [
4385
+ _ && /* @__PURE__ */ r.jsxs("div", { className: S.languageSwitch, children: [
4386
+ /* @__PURE__ */ r.jsx("span", { className: S.languageLabel, children: I("header.language") }),
4375
4387
  /* @__PURE__ */ r.jsxs(ee.TriggerContext, { children: [
4376
4388
  /* @__PURE__ */ r.jsxs(
4377
4389
  ee.Trigger,
4378
4390
  {
4379
- className: T.languageLink,
4380
- "aria-label": D("header.selectLanguage"),
4391
+ className: S.languageLink,
4392
+ "aria-label": I("header.selectLanguage"),
4381
4393
  style: { background: "transparent", border: "none", padding: 0, cursor: "pointer", font: "inherit" },
4382
4394
  children: [
4383
4395
  M,
@@ -4399,91 +4411,91 @@ const cs = {
4399
4411
  )
4400
4412
  ] })
4401
4413
  ] }),
4402
- x && /* @__PURE__ */ r.jsx("div", { className: T.extensionContent, children: /* @__PURE__ */ r.jsx(
4403
- Ue,
4414
+ T && /* @__PURE__ */ r.jsx("div", { className: S.extensionContent, children: /* @__PURE__ */ r.jsx(
4415
+ qe,
4404
4416
  {
4405
4417
  "data-size": "sm",
4406
4418
  checked: N === "dark",
4407
- onChange: q,
4408
- label: D("header.darkMode"),
4419
+ onChange: K,
4420
+ label: I("header.darkMode"),
4409
4421
  color: "neutral",
4410
4422
  "data-color-scheme": "light"
4411
4423
  }
4412
4424
  ) })
4413
4425
  ] }),
4414
- /* @__PURE__ */ r.jsxs("div", { className: T.slotContent, children: [
4426
+ /* @__PURE__ */ r.jsxs("div", { className: S.slotContent, children: [
4415
4427
  n,
4416
- U && v && b && b.length > 0 && /* @__PURE__ */ r.jsx("nav", { className: T.navList, children: b.map((S, I) => /* @__PURE__ */ r.jsx(
4428
+ q && v && b && b.length > 0 && /* @__PURE__ */ r.jsx("nav", { className: S.navList, children: b.map((x, D) => /* @__PURE__ */ r.jsx(
4417
4429
  Ne,
4418
4430
  {
4419
- href: S.href,
4420
- className: T.navLink,
4431
+ href: x.href,
4432
+ className: S.navLink,
4421
4433
  onClick: (C) => {
4422
- e && (C.preventDefault(), e(S.href));
4434
+ e && (C.preventDefault(), e(x.href));
4423
4435
  },
4424
- children: S.label
4436
+ children: x.label
4425
4437
  },
4426
- I
4438
+ D
4427
4439
  )) })
4428
4440
  ] }),
4429
- U && /* @__PURE__ */ r.jsx("div", { className: T.menuBrand, children: /* @__PURE__ */ r.jsx(Y, {}) })
4441
+ q && /* @__PURE__ */ r.jsx("div", { className: S.menuBrand, children: /* @__PURE__ */ r.jsx(Y, {}) })
4430
4442
  ] })
4431
4443
  ] }) }),
4432
- j && /* @__PURE__ */ r.jsx("div", { className: T.searchOverlay, children: /* @__PURE__ */ r.jsxs("div", { className: T.searchContent, children: [
4444
+ j && /* @__PURE__ */ r.jsx("div", { className: S.searchOverlay, children: /* @__PURE__ */ r.jsxs("div", { className: S.searchContent, children: [
4433
4445
  /* @__PURE__ */ r.jsxs(Pe, { children: [
4434
4446
  /* @__PURE__ */ r.jsx(
4435
4447
  Pe.Input,
4436
4448
  {
4437
- "aria-label": D("header.search"),
4438
- placeholder: D("header.searchPlaceholder"),
4449
+ "aria-label": I("header.search"),
4450
+ placeholder: I("header.searchPlaceholder"),
4439
4451
  value: B,
4440
- onChange: (S) => $(S.target.value)
4452
+ onChange: (x) => $(x.target.value)
4441
4453
  }
4442
4454
  ),
4443
- /* @__PURE__ */ r.jsx(Pe.Button, { "aria-label": D("header.search") }),
4444
- /* @__PURE__ */ r.jsx(Pe.ClearButton, { onClick: () => $(""), "aria-label": D("header.clearSearch") })
4455
+ /* @__PURE__ */ r.jsx(Pe.Button, { "aria-label": I("header.search") }),
4456
+ /* @__PURE__ */ r.jsx(Pe.ClearButton, { onClick: () => $(""), "aria-label": I("header.clearSearch") })
4445
4457
  ] }),
4446
- B && /* @__PURE__ */ r.jsx("div", { className: T.searchResults, children: P.length > 0 ? /* @__PURE__ */ r.jsxs("div", { className: T.suggestionsSection, children: [
4447
- /* @__PURE__ */ r.jsx("h3", { className: T.suggestionsTitle, children: D("header.suggestions") }),
4448
- /* @__PURE__ */ r.jsx("ul", { className: T.resultList, children: P.slice(0, 5).map((S) => /* @__PURE__ */ r.jsx("li", { className: T.resultItem, children: /* @__PURE__ */ r.jsxs(
4458
+ B && /* @__PURE__ */ r.jsx("div", { className: S.searchResults, children: P.length > 0 ? /* @__PURE__ */ r.jsxs("div", { className: S.suggestionsSection, children: [
4459
+ /* @__PURE__ */ r.jsx("h3", { className: S.suggestionsTitle, children: I("header.suggestions") }),
4460
+ /* @__PURE__ */ r.jsx("ul", { className: S.resultList, children: P.slice(0, 5).map((x) => /* @__PURE__ */ r.jsx("li", { className: S.resultItem, children: /* @__PURE__ */ r.jsxs(
4449
4461
  "button",
4450
4462
  {
4451
- className: T.resultLink,
4452
- onClick: () => z(S.path),
4463
+ className: S.resultLink,
4464
+ onClick: () => z(x.path),
4453
4465
  children: [
4454
- /* @__PURE__ */ r.jsx("span", { className: T.suggestionIcon, children: /* @__PURE__ */ r.jsx(ft, { "aria-hidden": !0 }) }),
4455
- /* @__PURE__ */ r.jsx("span", { className: T.suggestionText, children: (() => {
4456
- const I = S.title.toLowerCase().indexOf(B.toLowerCase());
4457
- if (I === -1) return /* @__PURE__ */ r.jsx("span", { className: T.remainingText, children: S.title });
4458
- const C = S.title.slice(0, I), W = S.title.slice(I, I + B.length), J = S.title.slice(I + B.length);
4466
+ /* @__PURE__ */ r.jsx("span", { className: S.suggestionIcon, children: /* @__PURE__ */ r.jsx(ft, { "aria-hidden": !0 }) }),
4467
+ /* @__PURE__ */ r.jsx("span", { className: S.suggestionText, children: (() => {
4468
+ const D = x.title.toLowerCase().indexOf(B.toLowerCase());
4469
+ if (D === -1) return /* @__PURE__ */ r.jsx("span", { className: S.remainingText, children: x.title });
4470
+ const C = x.title.slice(0, D), H = x.title.slice(D, D + B.length), J = x.title.slice(D + B.length);
4459
4471
  return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
4460
- /* @__PURE__ */ r.jsx("span", { className: T.remainingText, children: C }),
4461
- /* @__PURE__ */ r.jsx("span", { className: T.highlightedText, children: W }),
4462
- /* @__PURE__ */ r.jsx("span", { className: T.remainingText, children: J })
4472
+ /* @__PURE__ */ r.jsx("span", { className: S.remainingText, children: C }),
4473
+ /* @__PURE__ */ r.jsx("span", { className: S.highlightedText, children: H }),
4474
+ /* @__PURE__ */ r.jsx("span", { className: S.remainingText, children: J })
4463
4475
  ] });
4464
4476
  })() })
4465
4477
  ]
4466
4478
  }
4467
- ) }, S.id)) }),
4479
+ ) }, x.id)) }),
4468
4480
  P.length > 5 && /* @__PURE__ */ r.jsxs(
4469
4481
  Ne,
4470
4482
  {
4471
4483
  href: "#",
4472
4484
  "data-color": "neutral",
4473
- className: T.viewAllLink,
4474
- onClick: (S) => {
4475
- S.preventDefault(), e && e(`search/${B}`), L(!1), $("");
4485
+ className: S.viewAllLink,
4486
+ onClick: (x) => {
4487
+ x.preventDefault(), e && e(`search/${B}`), L(!1), $("");
4476
4488
  },
4477
4489
  children: [
4478
- D("header.viewAll"),
4490
+ I("header.viewAll"),
4479
4491
  " (",
4480
4492
  P.length,
4481
4493
  ")"
4482
4494
  ]
4483
4495
  }
4484
4496
  )
4485
- ] }) : /* @__PURE__ */ r.jsx("div", { className: T.noResults, children: /* @__PURE__ */ r.jsxs(Ze, { children: [
4486
- D("header.noResults"),
4497
+ ] }) : /* @__PURE__ */ r.jsx("div", { className: S.noResults, children: /* @__PURE__ */ r.jsxs(Ze, { children: [
4498
+ I("header.noResults"),
4487
4499
  ' "',
4488
4500
  B,
4489
4501
  '"'
@@ -4602,11 +4614,12 @@ function ma(t) {
4602
4614
  .${e.userName} { display: none; }
4603
4615
  .${e.menuButton} .${e.buttonText} { display: none; }
4604
4616
  .${e.searchButtonWrapper} .${e.buttonText} { display: inline; }
4605
- .${e.menuOverlay} { position: fixed; top: 70px; left: 0; right: 0; bottom: 0; width: 100vw; height: calc(100vh - 70px); z-index: 9999; border-radius: 0; border: none; overflow-y: auto; }
4617
+ .${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; }
4606
4618
  .${e.searchOverlay} { width: 100%; right: 0; left: 0; border-radius: 0; border: none; }
4607
4619
  .${e.searchContent} { padding: var(--ds-size-6); }
4608
4620
  .${e.menuContent} { flex-direction: column; padding: 0; min-height: 100%; }
4609
4621
  .${e.menuRightColumn} { padding: var(--ds-size-6); gap: var(--ds-size-4); flex: 1; display: flex; flex-direction: column; min-height: 0; }
4622
+ .${e.slotContent} { padding: 0; }
4610
4623
  .${e.menuLeftColumn} { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: var(--ds-size-6); }
4611
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; }
4612
4625
  .${e.menuUtilities} .${e.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; }
@@ -4650,7 +4663,7 @@ export {
4650
4663
  as as Heading,
4651
4664
  Fa as Input,
4652
4665
  is as Label,
4653
- qa as LanguageProvider,
4666
+ Ka as LanguageProvider,
4654
4667
  Ne as Link,
4655
4668
  _a as List,
4656
4669
  Ea as Pagination,
@@ -4663,14 +4676,14 @@ export {
4663
4676
  Oa as SkipLink,
4664
4677
  ns as Spinner,
4665
4678
  ls as Suggestion,
4666
- Ue as Switch,
4679
+ qe as Switch,
4667
4680
  $a as Table,
4668
4681
  Ha as Tabs,
4669
4682
  Wa as Tag,
4670
4683
  Va as Textarea,
4671
4684
  Ga as Textfield,
4672
- Ua as ToggleGroup,
4673
- Ka as Tooltip,
4685
+ qa as ToggleGroup,
4686
+ Ua as Tooltip,
4674
4687
  ds as ValidationMessage,
4675
4688
  Sa as useCheckboxGroup,
4676
4689
  us as useLanguage,