rk-designsystem 1.1.51 → 1.1.53

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,7 +1,7 @@
1
- import Dt, { forwardRef as ue, useState as oe, useEffect as ne, 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 gn, Divider as mn, 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 gt, 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";
4
- import { ChevronLeftIcon as Xn, ChevronRightIcon as Qn, ChevronDownIcon as mt, XMarkIcon as pt, MagnifyingGlassIcon as ft, MenuHamburgerIcon as eo, HeartIcon as to } from "@navikt/aksel-icons";
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";
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
  /**
7
7
  * @license React
@@ -55,11 +55,11 @@ function oo() {
55
55
  switch (c) {
56
56
  case v:
57
57
  return "Fragment";
58
- case g:
58
+ case m:
59
59
  return "Profiler";
60
60
  case p:
61
61
  return "StrictMode";
62
- case _:
62
+ case E:
63
63
  return "Suspense";
64
64
  case j:
65
65
  return "SuspenseList";
@@ -72,16 +72,16 @@ function oo() {
72
72
  ), c.$$typeof) {
73
73
  case b:
74
74
  return "Portal";
75
- case F:
75
+ case _:
76
76
  return c.displayName || "Context";
77
- case x:
77
+ case T:
78
78
  return (c._context.displayName || "Context") + ".Consumer";
79
- case B:
79
+ case F:
80
80
  var A = c.render;
81
81
  return c = c.displayName, c || (c = A.displayName || A.name || "", c = c !== "" ? "ForwardRef(" + c + ")" : "ForwardRef"), c;
82
82
  case L:
83
83
  return A = c.displayName || null, A !== null ? A : t(c.type) || "Memo";
84
- case E:
84
+ case B:
85
85
  A = c._payload, c = c._init;
86
86
  try {
87
87
  return t(c(A));
@@ -112,7 +112,7 @@ function oo() {
112
112
  }
113
113
  function s(c) {
114
114
  if (c === v) return "<>";
115
- if (typeof c == "object" && c !== null && c.$$typeof === E)
115
+ if (typeof c == "object" && c !== null && c.$$typeof === B)
116
116
  return "<...>";
117
117
  try {
118
118
  var A = t(c);
@@ -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
- K || (K = !0, console.error(
140
+ U || (U = !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
  ));
@@ -149,11 +149,11 @@ function oo() {
149
149
  }
150
150
  function l() {
151
151
  var c = t(this.type);
152
- return te[c] || (te[c] = !0, console.error(
152
+ return ne[c] || (ne[c] = !0, console.error(
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,47 +230,47 @@ 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) {
238
- k(c) ? c._store && (c._store.validated = 1) : typeof c == "object" && c !== null && c.$$typeof === E && (c._payload.status === "fulfilled" ? k(c._payload.value) && c._payload.value._store && (c._payload.value._store.validated = 1) : c._store && (c._store.validated = 1));
238
+ k(c) ? c._store && (c._store.validated = 1) : typeof c == "object" && c !== null && c.$$typeof === B && (c._payload.status === "fulfilled" ? k(c._payload.value) && c._payload.value._store && (c._payload.value._store.validated = 1) : c._store && (c._store.validated = 1));
239
239
  }
240
240
  function k(c) {
241
241
  return typeof c == "object" && c !== null && c.$$typeof === h;
242
242
  }
243
- var m = Dt, h = Symbol.for("react.transitional.element"), b = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), F = Symbol.for("react.context"), B = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), $ = Symbol.for("react.activity"), N = Symbol.for("react.client.reference"), H = m.__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
- m = {
246
+ g = {
247
247
  react_stack_bottom_frame: function(c) {
248
248
  return c();
249
249
  }
250
250
  };
251
- var K, te = {}, Y = m.react_stack_bottom_frame.bind(
252
- m,
251
+ var U, ne = {}, Y = g.react_stack_bottom_frame.bind(
252
+ g,
253
253
  a
254
- )(), q = D(s(a)), re = {};
254
+ )(), q = 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)) : q
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)) : q
274
274
  );
275
275
  };
276
276
  })()), we;
@@ -320,7 +320,7 @@ function je(t) {
320
320
  const s = n.width, i = s && t.matchPatterns[s] || t.matchPatterns[t.defaultMatchWidth], a = e.match(i);
321
321
  if (!a)
322
322
  return null;
323
- const o = a[0], d = s && t.parsePatterns[s] || t.parsePatterns[t.defaultParseWidth], l = Array.isArray(d) ? go(d, (f) => f.test(o)) : (
323
+ const o = a[0], d = s && t.parsePatterns[s] || t.parsePatterns[t.defaultParseWidth], l = Array.isArray(d) ? mo(d, (f) => f.test(o)) : (
324
324
  // [TODO] -- I challenge you to fix the type
325
325
  uo(d, (f) => f.test(o))
326
326
  );
@@ -338,12 +338,12 @@ function uo(t, e) {
338
338
  if (Object.prototype.hasOwnProperty.call(t, n) && e(t[n]))
339
339
  return n;
340
340
  }
341
- function go(t, e) {
341
+ function mo(t, e) {
342
342
  for (let n = 0; n < t.length; n++)
343
343
  if (e(t[n]))
344
344
  return n;
345
345
  }
346
- function mo(t) {
346
+ function go(t) {
347
347
  return (e, n = {}) => {
348
348
  const s = e.match(t.matchPattern);
349
349
  if (!s) return null;
@@ -628,7 +628,7 @@ const po = {
628
628
  night: /natt/i
629
629
  }
630
630
  }, $o = {
631
- ordinalNumber: mo({
631
+ ordinalNumber: go({
632
632
  matchPattern: Lo,
633
633
  parsePattern: Ao,
634
634
  valueCallback: (t) => parseInt(t, 10)
@@ -754,35 +754,35 @@ const Ho = "_calendarContainer_10l5p_1", Wo = "_calendarHeader_10l5p_14", Vo = "
754
754
  const [a, o] = oe(
755
755
  ke(e && Ve(e) ? e : t)
756
756
  );
757
- ne(() => {
757
+ te(() => {
758
758
  if (e && Ve(e)) {
759
- const g = ke(e);
760
- gt(g, a) || o(g);
759
+ const m = ke(e);
760
+ mt(m, a) || o(m);
761
761
  }
762
762
  }, [e]);
763
763
  const d = ve(() => ke(/* @__PURE__ */ new Date()), []), l = ve(() => !1, [a, d]), u = ve(
764
764
  () => Xo(a),
765
765
  [a]
766
766
  ), y = ve(() => {
767
- const g = Lt(/* @__PURE__ */ new Date(), { locale: be });
768
- return Array.from({ length: 7 }).map((x, F) => {
769
- const B = Te(At(g, F), "EEEEEE", { locale: be });
770
- return vt(B);
767
+ const m = Lt(/* @__PURE__ */ new Date(), { locale: be });
768
+ return Array.from({ length: 7 }).map((T, _) => {
769
+ const F = Te(At(m, _), "EEEEEE", { locale: be });
770
+ return vt(F);
771
771
  });
772
772
  }, []), f = ae(() => {
773
- l || o((g) => ke(Kn(g, 1)));
773
+ l || o((m) => ke(Kn(m, 1)));
774
774
  }, [l]), k = ae(() => {
775
- o((g) => ke(qn(g, 1)));
776
- }, []), m = ae(
777
- (g) => {
778
- n && n(g);
775
+ o((m) => ke(qn(m, 1)));
776
+ }, []), g = ae(
777
+ (m) => {
778
+ n && n(m);
779
779
  },
780
780
  [n]
781
781
  ), h = ae(
782
- (g, x) => {
783
- (g.key === "Enter" || g.key === " ") && (g.preventDefault(), m(x));
782
+ (m, T) => {
783
+ (m.key === "Enter" || m.key === " ") && (m.preventDefault(), g(T));
784
784
  },
785
- [m]
785
+ [g]
786
786
  ), b = Te(a, "MMMM", { locale: be }), v = Te(a, "yyyy", { locale: be }), p = `${vt(b)} ${v}`;
787
787
  return /* @__PURE__ */ r.jsxs(
788
788
  "div",
@@ -817,28 +817,28 @@ const Ho = "_calendarContainer_10l5p_1", Wo = "_calendarHeader_10l5p_14", Vo = "
817
817
  )
818
818
  ] })
819
819
  ] }),
820
- /* @__PURE__ */ r.jsx("div", { className: se.grid, children: y.map((g) => /* @__PURE__ */ r.jsx("div", { className: se.dayNameCell, children: g }, g)) }),
821
- /* @__PURE__ */ r.jsx("div", { className: se.grid, children: u.map((g) => {
822
- const x = gt(g, a), F = e && Ve(e) && Yn(g, e), B = Jn(g), _ = [
820
+ /* @__PURE__ */ r.jsx("div", { className: se.grid, children: y.map((m) => /* @__PURE__ */ r.jsx("div", { className: se.dayNameCell, children: m }, m)) }),
821
+ /* @__PURE__ */ r.jsx("div", { className: se.grid, children: u.map((m) => {
822
+ const T = mt(m, a), _ = e && Ve(e) && Yn(m, e), F = Jn(m), E = [
823
823
  se.dateCell,
824
- x ? "" : se.otherMonth,
825
- F ? se.selectedDate : "",
824
+ T ? "" : se.otherMonth,
825
+ _ ? se.selectedDate : "",
826
826
  // Utheving basert på prop
827
- B && !F ? se.todayDate : ""
827
+ F && !_ ? se.todayDate : ""
828
828
  ].filter(Boolean).join(" ");
829
829
  return /* @__PURE__ */ r.jsx(
830
830
  "div",
831
831
  {
832
- className: _,
833
- onClick: () => m(g),
834
- onKeyDown: (j) => h(j, g),
832
+ className: E,
833
+ onClick: () => g(m),
834
+ onKeyDown: (j) => h(j, m),
835
835
  role: "button",
836
836
  tabIndex: 0,
837
- "aria-pressed": F ?? !1,
838
- "aria-label": Te(g, "PPP", { locale: be }),
839
- children: /* @__PURE__ */ r.jsx("span", { className: se.dateNumberContainer, children: Te(g, "d") })
837
+ "aria-pressed": _ ?? !1,
838
+ "aria-label": Te(m, "PPP", { locale: be }),
839
+ children: /* @__PURE__ */ r.jsx("span", { className: se.dateNumberContainer, children: Te(m, "d") })
840
840
  },
841
- g.toISOString()
841
+ m.toISOString()
842
842
  );
843
843
  }) })
844
844
  ]
@@ -885,62 +885,62 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
885
885
  onChange: y,
886
886
  readOnly: f,
887
887
  placeholder: k = "dd.mm.åååå",
888
- id: m,
888
+ id: g,
889
889
  name: h,
890
890
  required: b,
891
891
  disabled: v,
892
892
  onClick: p,
893
- onFocus: g,
893
+ onFocus: m,
894
894
  // Send ekstern onFocus videre
895
- onBlur: x,
895
+ onBlur: T,
896
896
  // Send ekstern onBlur videre
897
- autoComplete: F = "off",
898
- "aria-label": B,
899
- "aria-labelledby": _,
897
+ autoComplete: _ = "off",
898
+ "aria-label": F,
899
+ "aria-labelledby": E,
900
900
  description: j,
901
901
  error: L,
902
902
  // Bruk error-prop for styling
903
- "data-color": E,
903
+ "data-color": B,
904
904
  // <-- Destrukturering
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 = Ke(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, K] = oe(
919
+ ), [I, U] = oe(
920
920
  () => R(l ?? u)
921
921
  );
922
- ne(() => {
923
- if (H) {
924
- const I = R(l);
925
- I !== D && (K(I), M.current && M.current.value !== I && (M.current.value = I));
922
+ te(() => {
923
+ if (W) {
924
+ const D = R(l);
925
+ D !== I && (U(D), M.current && M.current.value !== D && (M.current.value = D));
926
926
  }
927
- }, [l, H, D, R]);
928
- const te = 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);
927
+ }, [l, W, I, R]);
928
+ const ne = ae(
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 && (K(w), M.current.value = w, M.current.setSelectionRange(O, O), (w !== J || H) && y)) {
934
+ if (M.current && (U(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]
943
+ [I, W, y, R]
944
944
  ), Y = [pe.fieldset, a].filter(Boolean).join(" "), q = [
945
945
  pe.inputWrapper,
946
946
  o,
@@ -951,18 +951,18 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
951
951
  pe.suffixButton,
952
952
  i ? pe.suffixButtonInteractive : ""
953
953
  ].filter(Boolean).join(" ");
954
- !n && !B && !_ && console.warn("Advarsel: DateInput-komponenten bør ha label, aria-label, eller aria-labelledby for tilgjengelighet.");
955
- const A = n && typeof n == "string" ? _ || `${m}-label` : void 0, P = j ? `${m}-desc` : void 0, z = L ? `${m}-err` : void 0, S = [P, z].filter(Boolean).join(" ") || void 0;
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;
956
956
  return (
957
957
  // --- Bruk data-color og data-size på den ytre wrapperen ---
958
958
  /* @__PURE__ */ r.jsxs(
959
959
  "div",
960
960
  {
961
961
  className: Y,
962
- "data-color": E,
962
+ "data-color": B,
963
963
  "data-size": $,
964
964
  children: [
965
- n && typeof n == "string" ? /* @__PURE__ */ r.jsx("label", { id: A, htmlFor: m, children: n }) : n,
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
967
  /* @__PURE__ */ r.jsxs("div", { className: q, children: [
968
968
  /* @__PURE__ */ r.jsx(
@@ -973,21 +973,21 @@ 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
- id: m,
979
+ id: g,
980
980
  name: h,
981
981
  required: b,
982
982
  disabled: v,
983
983
  onClick: p,
984
- onChange: te,
985
- onFocus: g,
986
- onBlur: x,
987
- autoComplete: F,
988
- "aria-label": B,
984
+ onChange: ne,
985
+ onFocus: m,
986
+ onBlur: T,
987
+ autoComplete: _,
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,21 +1056,21 @@ function Re(t) {
1056
1056
  function Ct(t) {
1057
1057
  return Object.prototype.toString.call(t) === "[object Object]";
1058
1058
  }
1059
- function U(t) {
1059
+ function K(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 U(t - e);
1066
+ return K(t - e);
1067
1067
  }
1068
1068
  function ur(t, e) {
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);
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);
1072
1072
  }
1073
- function gr(t) {
1073
+ function mr(t) {
1074
1074
  return Math.round(t * 100) / 100;
1075
1075
  }
1076
1076
  function Le(t) {
@@ -1100,7 +1100,7 @@ function Bt(t, e) {
1100
1100
  function Je(t, e) {
1101
1101
  return typeof e.MouseEvent < "u" && t instanceof e.MouseEvent;
1102
1102
  }
1103
- function mr(t, e) {
1103
+ function gr(t, e) {
1104
1104
  const n = {
1105
1105
  start: s,
1106
1106
  center: i,
@@ -1154,7 +1154,7 @@ function pr(t, e, n, s) {
1154
1154
  });
1155
1155
  }
1156
1156
  function y() {
1157
- m(), i.clear();
1157
+ g(), i.clear();
1158
1158
  }
1159
1159
  function f(v) {
1160
1160
  if (!l) return;
@@ -1162,13 +1162,13 @@ function pr(t, e, n, s) {
1162
1162
  const p = v - o;
1163
1163
  for (o = v, d += p; d >= a; )
1164
1164
  n(), d -= a;
1165
- const g = d / a;
1166
- s(g), l && (l = e.requestAnimationFrame(f));
1165
+ const m = d / a;
1166
+ s(m), l && (l = e.requestAnimationFrame(f));
1167
1167
  }
1168
1168
  function k() {
1169
1169
  l || (l = e.requestAnimationFrame(f));
1170
1170
  }
1171
- function m() {
1171
+ function g() {
1172
1172
  e.cancelAnimationFrame(l), o = null, d = 0, l = 0;
1173
1173
  }
1174
1174
  function h() {
@@ -1178,7 +1178,7 @@ function pr(t, e, n, s) {
1178
1178
  init: u,
1179
1179
  destroy: y,
1180
1180
  start: k,
1181
- stop: m,
1181
+ stop: g,
1182
1182
  update: n,
1183
1183
  render: s
1184
1184
  };
@@ -1211,7 +1211,7 @@ function fr(t, e) {
1211
1211
  };
1212
1212
  }
1213
1213
  function fe(t = 0, e = 0) {
1214
- const n = U(t - e);
1214
+ const n = K(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 ? U((i + k) % i) : s(k);
1247
+ return n ? K((i + k) % i) : s(k);
1248
1248
  }
1249
1249
  function d() {
1250
1250
  return a;
@@ -1266,69 +1266,69 @@ function Nt(t, e, n) {
1266
1266
  };
1267
1267
  return f;
1268
1268
  }
1269
- function hr(t, e, n, s, i, a, o, d, l, u, y, f, k, m, h, b, v, p, g) {
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,
1272
- direction: F
1273
- } = t, B = ["INPUT", "SELECT", "TEXTAREA"], _ = {
1271
+ cross: T,
1272
+ direction: _
1273
+ } = t, F = ["INPUT", "SELECT", "TEXTAREA"], E = {
1274
1274
  passive: !1
1275
- }, j = Fe(), L = Fe(), E = fe(50, 225).constrain(m.measure(20)), $ = {
1275
+ }, j = Fe(), L = Fe(), B = fe(50, 225).constrain(g.measure(20)), $ = {
1276
1276
  mouse: 300,
1277
1277
  touch: 400
1278
1278
  }, N = {
1279
1279
  mouse: 500,
1280
1280
  touch: 600
1281
- }, H = h ? 43 : 25;
1282
- let M = !1, R = 0, D = 0, K = !1, te = !1, Y = !1, q = !1;
1281
+ }, W = h ? 43 : 25;
1282
+ let M = !1, R = 0, I = 0, U = !1, ne = !1, Y = !1, q = !1;
1283
1283
  function re(w) {
1284
- if (!g) return;
1284
+ if (!m) return;
1285
1285
  function O(Z) {
1286
- (Re(g) || g(w, Z)) && I(Z);
1286
+ (Re(m) || m(w, Z)) && D(Z);
1287
1287
  }
1288
1288
  const G = e;
1289
- j.add(G, "dragstart", (Z) => Z.preventDefault(), _).add(G, "touchmove", () => {
1290
- }, _).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);
1289
+ j.add(G, "dragstart", (Z) => Z.preventDefault(), E).add(G, "touchmove", () => {
1290
+ }, E).add(G, "touchend", () => {
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
1297
  const w = q ? n : e;
1298
- L.add(w, "touchmove", C, _).add(w, "touchend", W).add(w, "mousemove", C, _).add(w, "mouseup", W);
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
- return B.includes(O);
1302
+ return F.includes(O);
1303
1303
  }
1304
1304
  function z() {
1305
1305
  return (h ? N : $)[q ? "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 || U(w) < E ? Z : v && O ? Z * 0.5 : y.byIndex(G.get(), 0).distance;
1309
+ return h || K(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) || (K = !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
+ 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), 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 (!te && !q && (!w.cancelable || (te = le > de, !te)))
1319
- return W(w);
1320
- const ge = a.pointerMove(w);
1321
- le > b && (Y = !0), u.useFriction(0.3).useDuration(0.75), d.start(), i.add(F(ge)), w.preventDefault();
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 && !q && (!w.cancelable || (ne = le > de, !ne)))
1319
+ return H(w);
1320
+ const me = a.pointerMove(w);
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(F(Z), G), de = ur(Z, le), ge = H - 10 * de, ce = p + de / 50;
1325
- te = !1, K = !1, L.clear(), u.useDuration(ge).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, U = !1, L.clear(), u.useDuration(me).useFriction(ce), l.distance(le, !h), q = !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 K;
1331
+ return U;
1332
1332
  }
1333
1333
  return {
1334
1334
  init: re,
@@ -1349,13 +1349,13 @@ function kr(t, e) {
1349
1349
  return s = f, i = f, o(f);
1350
1350
  }
1351
1351
  function l(f) {
1352
- const k = o(f) - o(i), m = a(f) - a(s) > 170;
1353
- return i = f, m && (s = f), k;
1352
+ const k = o(f) - o(i), g = a(f) - a(s) > 170;
1353
+ return i = f, g && (s = f), k;
1354
1354
  }
1355
1355
  function u(f) {
1356
1356
  if (!s || !i) return 0;
1357
- const k = o(i) - o(s), m = a(f) - a(s), h = a(f) - a(i) > 170, b = k / m;
1358
- return m && !h && U(b) > 0.1 ? b : 0;
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;
1359
1359
  }
1360
1360
  return {
1361
1361
  pointerDown: d,
@@ -1399,43 +1399,43 @@ function yr(t, e, n, s, i, a, o) {
1399
1399
  function k(v) {
1400
1400
  return i.measureSize(o.measure(v));
1401
1401
  }
1402
- function m(v) {
1402
+ function g(v) {
1403
1403
  if (!a) return;
1404
1404
  u = k(t), y = s.map(k);
1405
- function p(g) {
1406
- for (const x of g) {
1405
+ function p(m) {
1406
+ for (const T of m) {
1407
1407
  if (f) return;
1408
- const F = x.target === t, B = s.indexOf(x.target), _ = F ? u : y[B], j = k(F ? t : s[B]);
1409
- if (U(j - _) >= 0.5) {
1408
+ const _ = T.target === t, F = s.indexOf(T.target), E = _ ? u : y[F], j = k(_ ? t : s[F]);
1409
+ if (K(j - E) >= 0.5) {
1410
1410
  v.reInit(), e.emit("resize");
1411
1411
  break;
1412
1412
  }
1413
1413
  }
1414
1414
  }
1415
- l = new ResizeObserver((g) => {
1416
- (Re(a) || a(v, g)) && p(g);
1415
+ l = new ResizeObserver((m) => {
1416
+ (Re(a) || a(v, m)) && p(m);
1417
1417
  }), n.requestAnimationFrame(() => {
1418
- d.forEach((g) => l.observe(g));
1418
+ d.forEach((m) => l.observe(m));
1419
1419
  });
1420
1420
  }
1421
1421
  function h() {
1422
1422
  f = !0, l && l.disconnect();
1423
1423
  }
1424
1424
  return {
1425
- init: m,
1425
+ init: g,
1426
1426
  destroy: h
1427
1427
  };
1428
1428
  }
1429
1429
  function xr(t, e, n, s, i, a) {
1430
1430
  let o = 0, d = 0, l = i, u = a, y = t.get(), f = 0;
1431
1431
  function k() {
1432
- const _ = s.get() - t.get(), j = !l;
1432
+ const E = s.get() - t.get(), j = !l;
1433
1433
  let L = 0;
1434
- return j ? (o = 0, n.set(s), t.set(s), L = _) : (n.set(t), o += _ / l, o *= u, y += o, t.add(o), L = y - f), d = et(L), f = y, B;
1434
+ return j ? (o = 0, n.set(s), t.set(s), L = E) : (n.set(t), o += E / l, o *= u, y += o, t.add(o), L = y - f), d = et(L), f = y, F;
1435
1435
  }
1436
- function m() {
1437
- const _ = s.get() - e.get();
1438
- return U(_) < 1e-3;
1436
+ function g() {
1437
+ const E = s.get() - e.get();
1438
+ return K(E) < 1e-3;
1439
1439
  }
1440
1440
  function h() {
1441
1441
  return l;
@@ -1447,29 +1447,29 @@ 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
- function g() {
1453
- return F(a);
1452
+ function m() {
1453
+ return _(a);
1454
1454
  }
1455
- function x(_) {
1456
- return l = _, B;
1455
+ function T(E) {
1456
+ return l = E, F;
1457
1457
  }
1458
- function F(_) {
1459
- return u = _, B;
1458
+ function _(E) {
1459
+ return u = E, F;
1460
1460
  }
1461
- const B = {
1461
+ const F = {
1462
1462
  direction: b,
1463
1463
  duration: h,
1464
1464
  velocity: v,
1465
1465
  seek: k,
1466
- settled: m,
1467
- useBaseFriction: g,
1466
+ settled: g,
1467
+ useBaseFriction: m,
1468
1468
  useBaseDuration: p,
1469
- useFriction: F,
1470
- useDuration: x
1469
+ useFriction: _,
1470
+ useDuration: T
1471
1471
  };
1472
- return B;
1472
+ return F;
1473
1473
  }
1474
1474
  function Tr(t, e, n, s, i) {
1475
1475
  const a = i.measure(10), o = i.measure(50), d = fe(0.1, 0.99);
@@ -1477,13 +1477,13 @@ function Tr(t, e, n, s, i) {
1477
1477
  function u() {
1478
1478
  return !(l || !t.reachedAny(n.get()) || !t.reachedAny(e.get()));
1479
1479
  }
1480
- function y(m) {
1480
+ function y(g) {
1481
1481
  if (!u()) return;
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), !m && U(v) < a && (n.set(t.constrain(n.get())), s.useDuration(25).useBaseFriction());
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());
1484
1484
  }
1485
- function f(m) {
1486
- l = !m;
1485
+ function f(g) {
1486
+ l = !g;
1487
1487
  }
1488
1488
  return {
1489
1489
  shouldConstrain: u,
@@ -1505,8 +1505,8 @@ function Sr(t, e, n, s, i) {
1505
1505
  const {
1506
1506
  min: v,
1507
1507
  max: p
1508
- } = a, g = a.constrain(h), x = !b, F = tt(n, b);
1509
- return x ? p : F || u(v, g) ? v : u(p, g) ? p : g;
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() {
@@ -1539,8 +1539,8 @@ function Cr(t, e, n, s) {
1539
1539
  }
1540
1540
  function y(k) {
1541
1541
  if (!u(k)) return;
1542
- const m = t * (k * -1);
1543
- s.forEach((h) => h.add(m));
1542
+ const g = t * (k * -1);
1543
+ s.forEach((h) => h.add(g));
1544
1544
  }
1545
1545
  return {
1546
1546
  loop: y
@@ -1565,14 +1565,14 @@ function Dr(t, e, n, s, i) {
1565
1565
  endEdge: o
1566
1566
  } = t, {
1567
1567
  groupSlides: d
1568
- } = i, l = f().map(e.measure), u = k(), y = m();
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(U);
1570
+ return d(s).map((b) => ie(b)[o] - b[0][a]).map(K);
1571
1571
  }
1572
1572
  function k() {
1573
- return s.map((b) => n[a] - b[a]).map((b) => -U(b));
1573
+ return s.map((b) => n[a] - b[a]).map((b) => -K(b));
1574
1574
  }
1575
- function m() {
1575
+ function g() {
1576
1576
  return d(u).map((b) => b[0]).map((b, v) => b + l[v]);
1577
1577
  }
1578
1578
  return {
@@ -1588,16 +1588,16 @@ function Ir(t, e, n, s, i, a) {
1588
1588
  max: l
1589
1589
  } = s, u = y();
1590
1590
  function y() {
1591
- const k = o(a), m = !t || e === "keepSnaps";
1592
- return n.length === 1 ? [a] : m ? k : k.slice(d, l).map((h, b, v) => {
1593
- const p = !b, g = tt(v, b);
1591
+ const k = o(a), g = !t || e === "keepSnaps";
1592
+ return n.length === 1 ? [a] : g ? k : k.slice(d, l).map((h, b, v) => {
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
- if (g) {
1599
- const x = _e(a) - ie(v)[0] + 1;
1600
- return jt(x, ie(v)[0]);
1598
+ if (m) {
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) => U(b) - U(v))[0];
1616
+ return h.concat().sort((b, v) => K(b) - K(v))[0];
1617
1617
  }
1618
1618
  function u(h) {
1619
- const b = t ? o(h) : d(h), v = e.map((g, x) => ({
1620
- diff: y(g - b, 0),
1621
- index: x
1622
- })).sort((g, x) => U(g.diff) - U(x.diff)), {
1619
+ const b = t ? o(h) : d(h), v = e.map((m, T) => ({
1620
+ diff: y(m - b, 0),
1621
+ index: T
1622
+ })).sort((m, T) => K(m.diff) - K(T.diff)), {
1623
1623
  index: p
1624
1624
  } = v[0];
1625
1625
  return {
@@ -1631,7 +1631,7 @@ function Lr(t, e, n, s, i) {
1631
1631
  const v = [h, h + n, h - n];
1632
1632
  if (!t) return h;
1633
1633
  if (!b) return l(v);
1634
- const p = v.filter((g) => et(g) === b);
1634
+ const p = v.filter((m) => et(m) === b);
1635
1635
  return p.length ? l(p) : ie(v) - n;
1636
1636
  }
1637
1637
  function f(h, b) {
@@ -1644,16 +1644,16 @@ function Lr(t, e, n, s, i) {
1644
1644
  function k(h, b) {
1645
1645
  const v = i.get() + h, {
1646
1646
  index: p,
1647
- distance: g
1648
- } = u(v), x = !t && a(v);
1649
- if (!b || x) return {
1647
+ distance: m
1648
+ } = u(v), T = !t && a(v);
1649
+ if (!b || T) return {
1650
1650
  index: p,
1651
1651
  distance: h
1652
1652
  };
1653
- const F = e[p] - g, B = h + y(F, 0);
1653
+ const _ = e[p] - m, F = h + y(_, 0);
1654
1654
  return {
1655
1655
  index: p,
1656
- distance: B
1656
+ distance: F
1657
1657
  };
1658
1658
  }
1659
1659
  return {
@@ -1664,15 +1664,15 @@ function Lr(t, e, n, s, i) {
1664
1664
  }
1665
1665
  function Ar(t, e, n, s, i, a, o) {
1666
1666
  function d(f) {
1667
- const k = f.distance, m = f.index !== e.get();
1668
- a.add(k), k && (s.duration() ? t.start() : (t.update(), t.render(1), t.update())), m && (n.set(e.get()), e.set(f.index), o.emit("select"));
1667
+ const k = f.distance, g = f.index !== e.get();
1668
+ a.add(k), k && (s.duration() ? t.start() : (t.update(), t.render(1), t.update())), g && (n.set(e.get()), e.set(f.index), o.emit("select"));
1669
1669
  }
1670
1670
  function l(f, k) {
1671
- const m = i.byDistance(f, k);
1672
- d(m);
1671
+ const g = i.byDistance(f, k);
1672
+ d(g);
1673
1673
  }
1674
1674
  function u(f, k) {
1675
- const m = e.clone().set(f), h = i.byIndex(m.get(), k);
1675
+ const g = e.clone().set(f), h = i.byIndex(g.get(), k);
1676
1676
  d(h);
1677
1677
  }
1678
1678
  return {
@@ -1686,22 +1686,22 @@ function Fr(t, e, n, s, i, a, o, d) {
1686
1686
  capture: !0
1687
1687
  };
1688
1688
  let u = 0;
1689
- function y(m) {
1689
+ function y(g) {
1690
1690
  if (!d) return;
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 g = n.findIndex((x) => x.includes(b));
1695
- Qe(g) && (i.useDuration(0), s.index(g, 0), o.emit("slideFocus"));
1694
+ const m = n.findIndex((T) => T.includes(b));
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) => {
1698
1698
  a.add(b, "focus", (p) => {
1699
- (Re(d) || d(m, p)) && h(v);
1699
+ (Re(d) || d(g, p)) && h(v);
1700
1700
  }, l);
1701
1701
  });
1702
1702
  }
1703
- function f(m) {
1704
- m.code === "Tab" && (u = (/* @__PURE__ */ new Date()).getTime());
1703
+ function f(g) {
1704
+ g.code === "Tab" && (u = (/* @__PURE__ */ new Date()).getTime());
1705
1705
  }
1706
1706
  return {
1707
1707
  init: y
@@ -1742,8 +1742,8 @@ function Pt(t, e) {
1742
1742
  }
1743
1743
  function l(k) {
1744
1744
  if (a) return;
1745
- const m = gr(t.direction(k));
1746
- m !== i && (s.transform = n(m), i = m);
1745
+ const g = mr(t.direction(k));
1746
+ g !== i && (s.transform = n(g), i = g);
1747
1747
  }
1748
1748
  function u(k) {
1749
1749
  a = !k;
@@ -1758,29 +1758,29 @@ function Pt(t, e) {
1758
1758
  };
1759
1759
  }
1760
1760
  function _r(t, e, n, s, i, a, o, d, l) {
1761
- const y = Le(i), f = Le(i).reverse(), k = p().concat(g());
1762
- function m(j, L) {
1763
- return j.reduce((E, $) => E - i[$], L);
1761
+ const y = Le(i), f = Le(i).reverse(), k = p().concat(m());
1762
+ function g(j, L) {
1763
+ return j.reduce((B, $) => B - i[$], L);
1764
1764
  }
1765
1765
  function h(j, L) {
1766
- return j.reduce((E, $) => m(E, L) > 0 ? E.concat([$]) : E, []);
1766
+ return j.reduce((B, $) => g(B, L) > 0 ? B.concat([$]) : B, []);
1767
1767
  }
1768
1768
  function b(j) {
1769
- return a.map((L, E) => ({
1770
- start: L - s[E] + 0.5 + j,
1769
+ return a.map((L, B) => ({
1770
+ start: L - s[B] + 0.5 + j,
1771
1771
  end: L + e - 0.5 + j
1772
1772
  }));
1773
1773
  }
1774
- function v(j, L, E) {
1774
+ function v(j, L, B) {
1775
1775
  const $ = b(L);
1776
1776
  return j.map((N) => {
1777
- const H = E ? 0 : -n, M = E ? n : 0, R = E ? "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
  }
@@ -1788,35 +1788,35 @@ function _r(t, e, n, s, i, a, o, d, l) {
1788
1788
  const j = o[0], L = h(f, j);
1789
1789
  return v(L, n, !1);
1790
1790
  }
1791
- function g() {
1791
+ function m() {
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
  }) => {
1799
- const L = y.filter((E) => E !== j);
1800
- return m(L, e) <= 0.1;
1799
+ const L = y.filter((B) => B !== j);
1800
+ return g(L, e) <= 0.1;
1801
1801
  });
1802
1802
  }
1803
- function F() {
1803
+ function _() {
1804
1804
  k.forEach((j) => {
1805
1805
  const {
1806
1806
  target: L,
1807
- translate: E,
1807
+ translate: B,
1808
1808
  slideLocation: $
1809
1809
  } = j, N = L();
1810
- N !== $.get() && (E.to(N), $.set(N));
1810
+ N !== $.get() && (B.to(N), $.set(N));
1811
1811
  });
1812
1812
  }
1813
- function B() {
1813
+ function F() {
1814
1814
  k.forEach((j) => j.translate.clear());
1815
1815
  }
1816
1816
  return {
1817
- canLoop: x,
1818
- clear: B,
1819
- loop: F,
1817
+ canLoop: T,
1818
+ clear: F,
1819
+ loop: _,
1820
1820
  loopPoints: k
1821
1821
  };
1822
1822
  }
@@ -1865,9 +1865,9 @@ function Br(t, e, n, s) {
1865
1865
  function f(h) {
1866
1866
  return Ae(i).reduce((b, v) => {
1867
1867
  const p = parseInt(v), {
1868
- isIntersecting: g
1868
+ isIntersecting: m
1869
1869
  } = i[p];
1870
- return (h && g || !h && !g) && b.push(p), b;
1870
+ return (h && m || !h && !m) && b.push(p), b;
1871
1871
  }, []);
1872
1872
  }
1873
1873
  function k(h = !0) {
@@ -1887,26 +1887,26 @@ function Nr(t, e, n, s, i, a) {
1887
1887
  measureSize: o,
1888
1888
  startEdge: d,
1889
1889
  endEdge: l
1890
- } = t, u = n[0] && i, y = h(), f = b(), k = n.map(o), m = v();
1890
+ } = t, u = n[0] && i, y = h(), f = b(), k = n.map(o), g = v();
1891
1891
  function h() {
1892
1892
  if (!u) return 0;
1893
- const g = n[0];
1894
- return U(e[d] - g[d]);
1893
+ const m = n[0];
1894
+ return K(e[d] - m[d]);
1895
1895
  }
1896
1896
  function b() {
1897
1897
  if (!u) return 0;
1898
- const g = a.getComputedStyle(ie(s));
1899
- return parseFloat(g.getPropertyValue(`margin-${l}`));
1898
+ const m = a.getComputedStyle(ie(s));
1899
+ return parseFloat(m.getPropertyValue(`margin-${l}`));
1900
1900
  }
1901
1901
  function v() {
1902
- return n.map((g, x, F) => {
1903
- const B = !x, _ = tt(F, x);
1904
- return B ? k[x] + y : _ ? k[x] + f : F[x + 1][d] - g[d];
1905
- }).map(U);
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(K);
1906
1906
  }
1907
1907
  return {
1908
1908
  slideSizes: k,
1909
- slideSizesWithGaps: m,
1909
+ slideSizesWithGaps: g,
1910
1910
  startGap: y,
1911
1911
  endGap: f
1912
1912
  };
@@ -1917,20 +1917,20 @@ function Pr(t, e, n, s, i, a, o, d, l) {
1917
1917
  endEdge: y,
1918
1918
  direction: f
1919
1919
  } = t, k = Qe(n);
1920
- function m(p, g) {
1921
- return Le(p).filter((x) => x % g === 0).map((x) => p.slice(x, x + g));
1920
+ function g(p, 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((g, x, F) => {
1925
- const B = ie(g) || 0, _ = B === 0, j = x === _e(p), L = i[u] - a[B][u], E = i[u] - a[x][y], $ = !s && _ ? f(o) : 0, N = !s && j ? f(d) : 0, H = U(E - N - (L + $));
1926
- return F && H > e + l && g.push(x), j && g.push(p.length), g;
1927
- }, []).map((g, x, F) => {
1928
- const B = Math.max(F[x - 1] || 0);
1929
- return p.slice(B, g);
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 = K(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
+ return p.slice(F, m);
1930
1930
  }) : [];
1931
1931
  }
1932
1932
  function b(p) {
1933
- return k ? m(p, n) : h(p);
1933
+ return k ? g(p, n) : h(p);
1934
1934
  }
1935
1935
  return {
1936
1936
  groupSlides: b
@@ -1944,29 +1944,29 @@ function Mr(t, e, n, s, i, a, o) {
1944
1944
  startIndex: y,
1945
1945
  loop: f,
1946
1946
  duration: k,
1947
- dragFree: m,
1947
+ dragFree: g,
1948
1948
  dragThreshold: h,
1949
1949
  inViewThreshold: b,
1950
1950
  slidesToScroll: v,
1951
1951
  skipSnaps: p,
1952
- containScroll: g,
1953
- watchResize: x,
1954
- watchSlides: F,
1955
- watchDrag: B,
1956
- watchFocus: _
1957
- } = a, j = 2, L = br(), E = L.measure(e), $ = n.map(L.measure), N = fr(l, u), H = N.measureSize(E), M = vr(H), R = mr(d, H), D = !f && !!g, K = f || !!g, {
1958
- slideSizes: te,
1952
+ containScroll: m,
1953
+ watchResize: T,
1954
+ watchSlides: _,
1955
+ watchDrag: F,
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, U = f || !!m, {
1958
+ slideSizes: ne,
1959
1959
  slideSizesWithGaps: Y,
1960
1960
  startGap: q,
1961
1961
  endGap: re
1962
- } = Nr(N, E, $, n, K, i), c = Pr(N, H, v, f, E, $, q, re, j), {
1962
+ } = Nr(N, B, $, n, U, i), c = Pr(N, W, v, f, B, $, q, re, j), {
1963
1963
  snaps: A,
1964
1964
  snapsAligned: P
1965
- } = Dr(N, R, E, $, c), z = -ie(A) + ie(Y), {
1966
- snapsContained: S,
1967
- scrollContainLimit: I
1968
- } = Sr(H, z, P, g, j), C = D ? S : P, {
1969
- limit: W
1965
+ } = Dr(N, R, B, $, c), z = -ie(A) + ie(Y), {
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,
@@ -1996,43 +1996,43 @@ function Mr(t, e, n, s, i, a, o) {
1996
1996
  ut && Vt.stop();
1997
1997
  const Kt = We.get() * lt + Ot.get() * (1 - lt);
1998
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), ge = De(le), ce = De(le), me = De(le), xe = xr(de, ce, ge, me, k, Z), ze = Lr(f, C, z, W, me), Oe = Ar(G, J, X, xe, ze, me, o), ot = jr(W), 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), 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, g, C, I, c, V), zt = Fr(t, n, st, Oe, xe, rt, o, _), $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,
2005
- containerRect: E,
2005
+ containerRect: B,
2006
2006
  slideRects: $,
2007
2007
  animation: G,
2008
2008
  axis: N,
2009
- dragHandler: hr(N, t, s, i, me, kr(N, i), de, G, Oe, xe, ze, J, o, M, m, h, p, Z, B),
2009
+ dragHandler: hr(N, t, s, i, ge, kr(N, i), de, G, Oe, xe, ze, J, o, M, g, h, p, Z, F),
2010
2010
  eventStore: rt,
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
- previousLocation: ge,
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, me, xe, M),
2022
- scrollLooper: Cr(z, W, ce, [de, ce, ge, me]),
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, te, Y, A, C, ce, n),
2028
+ slideLooper: _r(N, W, z, ne, Y, A, C, ce, n),
2029
2029
  slideFocus: zt,
2030
- slidesHandler: Er(e, o, F),
2030
+ slidesHandler: Er(e, o, _),
2031
2031
  slidesInView: Rt,
2032
2032
  slideIndexes: V,
2033
2033
  slideRegistry: st,
2034
2034
  slidesToScroll: c,
2035
- target: me,
2035
+ target: ge,
2036
2036
  translate: Pt(N, e)
2037
2037
  };
2038
2038
  return $e;
@@ -2129,58 +2129,58 @@ function Me(t, e, n) {
2129
2129
  optionsMediaQueries: f
2130
2130
  } = a, {
2131
2131
  on: k,
2132
- off: m,
2132
+ off: g,
2133
2133
  emit: h
2134
2134
  } = l, b = N;
2135
- let v = !1, p, g = u(zr, Me.globalOptions), x = u(g), F = [], B, _, 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;
2141
- _ = (Ye(V) ? t.querySelector(V) : V) || t.children[0];
2142
- const G = Ye(w) ? _.querySelectorAll(w) : w;
2143
- j = [].slice.call(G || _.children);
2140
+ } = T;
2141
+ E = (Ye(V) ? t.querySelector(V) : V) || t.children[0];
2142
+ const G = Ye(w) ? E.querySelectorAll(w) : w;
2143
+ j = [].slice.call(G || E.children);
2144
2144
  }
2145
- function E(V) {
2146
- const w = Mr(t, _, j, s, i, V, l);
2145
+ function B(V) {
2146
+ const w = Mr(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
2150
2150
  });
2151
- return E(O);
2151
+ return B(O);
2152
2152
  }
2153
2153
  return w;
2154
2154
  }
2155
2155
  function $(V, w) {
2156
- v || (g = u(g, V), x = y(g), F = w || F, L(), p = E(x), f([g, ...F.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(), _.offsetParent && j.length && p.dragHandler.init(X), B = o.init(X, F)));
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 K(V) {
2179
+ function U(V) {
2180
2180
  const w = p.index.add(-1).get();
2181
2181
  R(w, V, 1);
2182
2182
  }
2183
- function te() {
2183
+ function ne() {
2184
2184
  return p.index.add(1).get() !== c();
2185
2185
  }
2186
2186
  function Y() {
@@ -2204,36 +2204,36 @@ function Me(t, e, n) {
2204
2204
  function z() {
2205
2205
  return p.slidesInView.get(!1);
2206
2206
  }
2207
- function S() {
2208
- return B;
2207
+ function x() {
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() {
2217
- return _;
2216
+ function H() {
2217
+ return E;
2218
2218
  }
2219
2219
  function J() {
2220
2220
  return j;
2221
2221
  }
2222
2222
  const X = {
2223
- canScrollNext: te,
2223
+ canScrollNext: ne,
2224
2224
  canScrollPrev: Y,
2225
- containerNode: W,
2226
- internalEngine: I,
2225
+ containerNode: H,
2226
+ internalEngine: D,
2227
2227
  destroy: M,
2228
- off: m,
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: K,
2235
+ scrollNext: I,
2236
+ scrollPrev: U,
2237
2237
  scrollProgress: re,
2238
2238
  scrollSnapList: q,
2239
2239
  scrollTo: R,
@@ -2249,11 +2249,11 @@ function nt(t = {}, e = []) {
2249
2249
  const n = Ke(t), s = Ke(e), [i, a] = oe(), [o, d] = oe(), l = ae(() => {
2250
2250
  i && i.reInit(n.current, s.current);
2251
2251
  }, [i]);
2252
- return ne(() => {
2252
+ return te(() => {
2253
2253
  Xe(n.current, t) || (n.current = t, l());
2254
- }, [t, l]), ne(() => {
2254
+ }, [t, l]), te(() => {
2255
2255
  cr(s.current, e) || (s.current = e, l());
2256
- }, [e, l]), ne(() => {
2256
+ }, [e, l]), te(() => {
2257
2257
  if (dr() && o) {
2258
2258
  Me.globalOptions = nt.globalOptions;
2259
2259
  const u = Me(o, n.current, s.current);
@@ -2296,35 +2296,35 @@ 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, m] = nt(f), [h, b] = oe(0), [v, p] = oe([]), [g, x] = oe([]);
2300
- ne(() => {
2301
- x(new Array((t == null ? void 0 : t.length) || 0).fill(!1));
2299
+ }, [k, g] = nt(f), [h, b] = oe(0), [v, p] = oe([]), [m, T] = oe([]);
2300
+ te(() => {
2301
+ T(new Array((t == null ? void 0 : t.length) || 0).fill(!1));
2302
2302
  }, [t]);
2303
- const F = ae((M) => {
2304
- x((R) => {
2305
- const D = [...R];
2306
- return D[M] = !0, D;
2303
+ const _ = ae((M) => {
2304
+ T((R) => {
2305
+ const I = [...R];
2306
+ return I[M] = !0, I;
2307
2307
  });
2308
- }, []), B = ve(() => n * 1e3, [n]), _ = ae(() => {
2309
- m && b(m.selectedScrollSnap());
2310
- }, [m]), j = ae((M) => m && m.scrollTo(M), [m]), L = ae(() => m && m.scrollPrev(), [m]), E = ae(() => m && m.scrollNext(), [m]);
2311
- ne(() => {
2312
- if (m)
2313
- return m.on("select", _), m.on("reInit", _), p(m.scrollSnapList()), () => {
2314
- m.off("select", _), m.off("reInit", _);
2308
+ }, []), F = ve(() => n * 1e3, [n]), E = ae(() => {
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]);
2311
+ te(() => {
2312
+ if (g)
2313
+ return g.on("select", E), g.on("reInit", E), p(g.scrollSnapList()), () => {
2314
+ g.off("select", E), g.off("reInit", E);
2315
2315
  };
2316
- }, [m, _]), ne(() => {
2317
- m && (m.reInit(), p(m.scrollSnapList()));
2318
- }, [m, t, o, d]), ne(() => {
2319
- if (!e || !m || !t || t.length <= 1) return;
2316
+ }, [g, E]), te(() => {
2317
+ g && (g.reInit(), p(g.scrollSnapList()));
2318
+ }, [g, t, o, d]), te(() => {
2319
+ if (!e || !g || !t || t.length <= 1) return;
2320
2320
  const M = window.setInterval(() => {
2321
- m.canScrollNext() && m.scrollNext();
2322
- }, B);
2321
+ g.canScrollNext() && g.scrollNext();
2322
+ }, F);
2323
2323
  return () => {
2324
2324
  window.clearInterval(M);
2325
2325
  };
2326
- }, [e, B, m, t]);
2327
- const $ = Math.max(1, o), N = `${100 / $}%`, H = d / 2;
2326
+ }, [e, F, g, t]);
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,25 +2347,25 @@ 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
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
- !g[R] && /* @__PURE__ */ r.jsx("div", { className: Q.loaderOverlay, children: /* @__PURE__ */ r.jsx(ns, { "aria-label": "Laster bilde" }) }),
2357
+ !m[R] && /* @__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} ${g[R] ? Q.loaded : Q.loadingImage}`,
2361
+ className: `${Q.image} ${m[R] ? Q.loaded : Q.loadingImage}`,
2362
2362
  src: M.src,
2363
2363
  alt: M.alt,
2364
2364
  loading: R < $ ? "eager" : "lazy",
2365
2365
  crossOrigin: "anonymous",
2366
- onLoad: () => F(R),
2367
- onError: (D) => {
2368
- D.target.style.display = "none", F(R);
2366
+ onLoad: () => _(R),
2367
+ onError: (I) => {
2368
+ I.target.style.display = "none", _(R);
2369
2369
  }
2370
2370
  }
2371
2371
  )
@@ -2394,22 +2394,22 @@ const Hr = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slide
2394
2394
  variant: "primary",
2395
2395
  icon: !0,
2396
2396
  "aria-label": "Neste bilde",
2397
- onClick: E,
2397
+ onClick: B,
2398
2398
  disabled: !t || t.length <= 1,
2399
2399
  children: /* @__PURE__ */ r.jsx(Qn, { "aria-hidden": !0 })
2400
2400
  }
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}`
@@ -2421,7 +2421,7 @@ const Hr = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slide
2421
2421
  );
2422
2422
  };
2423
2423
  os.displayName = "Carousel";
2424
- const Ca = un, ja = gn, Da = mn, ee = pn, Ia = fn, La = hn, rs = kn, ss = bn;
2424
+ const Ca = un, ja = mn, Da = gn, ee = pn, Ia = fn, La = hn, rs = kn, ss = bn;
2425
2425
  rs.displayName = "Field.Description";
2426
2426
  ss.displayName = "Field.Counter";
2427
2427
  const Aa = It, as = ue((t, e) => /* @__PURE__ */ r.jsx(vn, { ref: e, ...t }));
@@ -3985,9 +3985,9 @@ 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
- }, gs = "_header_12kgi_1", ms = "_languageSwitch_12kgi_36", ps = "_searchOverlay_12kgi_40", fs = "_headerExtension_12kgi_45", hs = "_extensionContentWrapper_12kgi_61", ks = "_extensionContent_12kgi_61", bs = "_extensionDivider_12kgi_84", vs = "_languageLabel_12kgi_98", ys = "_languageLink_12kgi_104", xs = "_headerInner_12kgi_129", Ts = "_logoWrapper_12kgi_146", Ss = "_logo_12kgi_146", ws = "_secondaryLogoWrapper_12kgi_169", Cs = "_slotComponent_12kgi_178", js = "_slotContainer_12kgi_188", Ds = "_slotText_12kgi_196", Is = "_secondaryLogo_12kgi_169", Ls = "_redCrossLogo_12kgi_223", As = "_primaryLogo_12kgi_229", Fs = "_navItems_12kgi_233", _s = "_navLink_12kgi_242", Es = "_actions_12kgi_255", Bs = "_ctaButton_12kgi_263", Ns = "_themeToggle_12kgi_268", Ps = "_userInfo_12kgi_273", Ms = "_userName_12kgi_279", Rs = "_loginLink_12kgi_286", zs = "_loginText_12kgi_295", Os = "_underline_12kgi_302", $s = "_searchButtonWrapper_12kgi_308", Hs = "_buttonText_12kgi_312", Ws = "_menuButton_12kgi_317", Vs = "_menuOverlay_12kgi_322", Gs = "_searchContent_12kgi_356", Us = "_menuContent_12kgi_366", Ks = "_menuLeftColumn_12kgi_375", qs = "_menuRightColumn_12kgi_381", Ys = "_slotContent_12kgi_395", Js = "_navList_12kgi_408", Zs = "_menuUtilities_12kgi_415", Xs = "_menuBrand_12kgi_422", Qs = "_suggestionsSection_12kgi_426", ea = "_suggestionsTitle_12kgi_432", ta = "_searchResults_12kgi_441", na = "_resultList_12kgi_447", oa = "_resultItem_12kgi_453", ra = "_resultLink_12kgi_461", sa = "_suggestionIcon_12kgi_475", aa = "_suggestionText_12kgi_488", ia = "_highlightedText_12kgi_495", la = "_remainingText_12kgi_500", da = "_viewAllLink_12kgi_513", ca = "_noResults_12kgi_548", T = {
3989
- header: gs,
3990
- languageSwitch: ms,
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", S = {
3989
+ header: ms,
3990
+ languageSwitch: gs,
3991
3991
  searchOverlay: ps,
3992
3992
  headerExtension: fs,
3993
3993
  extensionContentWrapper: hs,
@@ -4116,21 +4116,21 @@ const cs = {
4116
4116
  showThemeToggle: y = !1,
4117
4117
  secondaryLogo: f = !1,
4118
4118
  secondaryLogoSrc: k,
4119
- secondaryLogoSrcDark: m,
4119
+ secondaryLogoSrcDark: g,
4120
4120
  secondaryLogoAlt: h = "Secondary Logo",
4121
4121
  navItems: b,
4122
4122
  showNavItems: v = !0,
4123
4123
  showMenuButton: p = !0,
4124
- showHeaderExtension: g = !1,
4125
- showModeToggle: x = !1,
4126
- showLanguageSwitch: F = !1
4124
+ showHeaderExtension: m = !1,
4125
+ showModeToggle: T = !1,
4126
+ showLanguageSwitch: _ = !1
4127
4127
  }) => {
4128
- const [B, _] = oe(!1), [j, L] = oe(!1), [E, $] = oe(""), [N, H] = oe("light"), { language: M, setLanguage: R, t: D } = us(), [K, te] = oe(!1);
4129
- ne(() => {
4130
- const S = "rk-header-inline-styles";
4131
- if (typeof document > "u" || document.getElementById(S)) return;
4132
- const I = ga(T), C = document.createElement("style");
4133
- C.id = S, C.textContent = I, document.head.appendChild(C);
4128
+ const [F, E] = oe(!1), [j, L] = oe(!1), [B, $] = oe(""), [N, W] = oe("light"), { language: M, setLanguage: R, t: I } = us(), [U, ne] = oe(!1);
4129
+ te(() => {
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" }),
@@ -4157,94 +4157,113 @@ const cs = {
4157
4157
  ]
4158
4158
  }
4159
4159
  );
4160
- ne(() => {
4161
- _(!1), L(!1), $("");
4162
- }, [t]), ne(() => {
4160
+ te(() => {
4161
+ E(!1), L(!1), $("");
4162
+ }, [t]), te(() => {
4163
+ if (!(typeof document > "u") && F && U) {
4164
+ const x = document.body.style.overflow;
4165
+ return document.body.style.overflow = "hidden", () => {
4166
+ document.body.style.overflow = x;
4167
+ };
4168
+ }
4169
+ }, [F, U]), te(() => {
4163
4170
  if (typeof window > "u" || typeof window.matchMedia > "u") return;
4164
- const S = window.matchMedia("(max-width: 850px)"), I = (C) => te("matches" in C ? C.matches : S.matches);
4165
- return I(S), S.addEventListener ? S.addEventListener("change", I) : S.addListener(I), () => {
4166
- 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);
4167
4174
  };
4168
- }, []), ne(() => {
4175
+ }, []), te(() => {
4169
4176
  if (typeof document > "u") return;
4170
- const S = document.querySelector(`.${T.header}`);
4171
- if (!S) return;
4172
- const I = () => {
4173
- const C = S.offsetHeight;
4174
- 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`);
4175
4182
  };
4176
- return I(), window.addEventListener("resize", I), () => window.removeEventListener("resize", I);
4177
- }, [K]), ne(() => {
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();
4189
+ };
4190
+ }, [U]), te(() => {
4178
4191
  if (typeof document > "u") return;
4179
- const S = document.querySelector(`.${T.logoWrapper}`);
4180
- if (!S) return;
4181
- const I = () => {
4182
- const C = S.offsetWidth;
4192
+ const x = document.querySelector(`.${S.logoWrapper}`);
4193
+ if (!x) return;
4194
+ const D = () => {
4195
+ const C = x.offsetWidth;
4183
4196
  document.documentElement.style.setProperty("--rk-logo-width", `${C}px`);
4184
4197
  };
4185
- return I(), window.addEventListener("resize", I), () => window.removeEventListener("resize", I);
4186
- }, [K]), ne(() => {
4198
+ return D(), window.addEventListener("resize", D), () => window.removeEventListener("resize", D);
4199
+ }, [U]), te(() => {
4187
4200
  if (typeof document > "u" || !j) {
4188
4201
  document.documentElement.style.setProperty("--rk-search-overlay-height", "0px");
4189
4202
  return;
4190
4203
  }
4191
- const S = document.querySelector(`.${T.searchOverlay}`);
4192
- if (!S) return;
4193
- const I = () => {
4194
- const W = S.offsetHeight;
4195
- 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`);
4196
4209
  };
4197
- requestAnimationFrame(I), window.addEventListener("resize", I);
4198
- const C = new ResizeObserver(I);
4199
- return C.observe(S), () => {
4200
- 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();
4201
4214
  };
4202
4215
  }, [j]);
4203
4216
  const q = () => {
4204
- const S = N === "light" ? "dark" : "light";
4205
- H(S), document.documentElement.setAttribute("data-color-scheme", S);
4206
- }, re = (S) => {
4207
- e && (S.preventDefault(), e("home")), _(!1), L(!1);
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);
4208
4221
  }, c = () => {
4209
- _(!B), 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
+ });
4210
4229
  }, A = () => {
4211
- L(!j), B && _(!1);
4230
+ L(!j), F && E(!1);
4212
4231
  }, P = ve(() => {
4213
- if (!E.trim()) return [];
4214
- const S = E.toLowerCase();
4232
+ if (!B.trim()) return [];
4233
+ const x = B.toLowerCase();
4215
4234
  return ua.filter(
4216
- (I) => I.title.toLowerCase().startsWith(S)
4235
+ (D) => D.title.toLowerCase().startsWith(x)
4217
4236
  );
4218
- }, [E]), z = (S) => {
4219
- e && e(S), L(!1), $("");
4237
+ }, [B]), z = (x) => {
4238
+ e && e(x), L(!1), $("");
4220
4239
  };
4221
- return /* @__PURE__ */ r.jsxs("header", { className: T.header, "data-open": B ? "true" : "false", children: [
4222
- g && /* @__PURE__ */ r.jsx("div", { className: T.headerExtension, "data-color-scheme": "light", children: /* @__PURE__ */ r.jsxs("div", { className: T.extensionContentWrapper, children: [
4223
- x && /* @__PURE__ */ r.jsx("div", { className: T.extensionContent, children: /* @__PURE__ */ r.jsx(
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(
4224
4243
  Ue,
4225
4244
  {
4226
4245
  "data-size": "sm",
4227
4246
  checked: N === "dark",
4228
4247
  onChange: q,
4229
- label: D("header.darkMode"),
4248
+ label: I("header.darkMode"),
4230
4249
  color: "neutral",
4231
4250
  "data-color-scheme": "light"
4232
4251
  }
4233
4252
  ) }),
4234
- x && F && /* @__PURE__ */ r.jsx("div", { className: T.extensionDivider }),
4235
- F && /* @__PURE__ */ r.jsxs("div", { className: T.languageSwitch, children: [
4236
- /* @__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") }),
4237
4256
  /* @__PURE__ */ r.jsxs(ee.TriggerContext, { children: [
4238
4257
  /* @__PURE__ */ r.jsxs(
4239
4258
  ee.Trigger,
4240
4259
  {
4241
- className: T.languageLink,
4242
- "aria-label": D("header.selectLanguage"),
4260
+ className: S.languageLink,
4261
+ "aria-label": I("header.selectLanguage"),
4243
4262
  style: { background: "transparent", border: "none", padding: 0, cursor: "pointer", font: "inherit" },
4244
4263
  children: [
4245
4264
  M,
4246
4265
  " ",
4247
- /* @__PURE__ */ r.jsx(mt, { "aria-hidden": !0 })
4266
+ /* @__PURE__ */ r.jsx(gt, { "aria-hidden": !0 })
4248
4267
  ]
4249
4268
  }
4250
4269
  ),
@@ -4262,71 +4281,71 @@ const cs = {
4262
4281
  ] })
4263
4282
  ] })
4264
4283
  ] }) }),
4265
- /* @__PURE__ */ r.jsxs("div", { className: T.headerInner, children: [
4266
- /* @__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: [
4267
4286
  /* @__PURE__ */ r.jsx(
4268
4287
  Ne,
4269
4288
  {
4270
4289
  href: "/",
4271
- className: `${T.logo} ${T.primaryLogo}`,
4272
- "aria-label": D("header.homeAriaLabel"),
4290
+ className: `${S.logo} ${S.primaryLogo}`,
4291
+ "aria-label": I("header.homeAriaLabel"),
4273
4292
  onClick: re,
4274
4293
  children: /* @__PURE__ */ r.jsx(Y, {})
4275
4294
  }
4276
4295
  ),
4277
- /* @__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(
4278
4297
  "img",
4279
4298
  {
4280
- src: N === "dark" && m ? m : k,
4299
+ src: N === "dark" && g ? g : k,
4281
4300
  alt: h,
4282
- className: T.secondaryLogo
4301
+ className: S.secondaryLogo
4283
4302
  }
4284
- ) : 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 })
4285
4304
  ] }),
4286
- v && b && b.length > 0 && !K && /* @__PURE__ */ r.jsx("nav", { className: T.navItems, children: b.map((S, I) => /* @__PURE__ */ r.jsx(
4305
+ v && b && b.length > 0 && !U && /* @__PURE__ */ r.jsx("nav", { className: S.navItems, children: b.map((x, D) => /* @__PURE__ */ r.jsx(
4287
4306
  Ne,
4288
4307
  {
4289
- href: S.href,
4290
- className: T.navLink,
4308
+ href: x.href,
4309
+ className: S.navLink,
4291
4310
  onClick: (C) => {
4292
- e && (C.preventDefault(), e(S.href));
4311
+ e && (C.preventDefault(), e(x.href));
4293
4312
  },
4294
- children: S.label
4313
+ children: x.label
4295
4314
  },
4296
- I
4315
+ D
4297
4316
  )) }),
4298
- /* @__PURE__ */ r.jsxs("div", { className: T.actions, children: [
4317
+ /* @__PURE__ */ r.jsxs("div", { className: S.actions, children: [
4299
4318
  o && /* @__PURE__ */ r.jsxs(
4300
4319
  ye,
4301
4320
  {
4302
4321
  variant: "primary",
4303
4322
  "data-color": "main",
4304
4323
  "data-size": "md",
4305
- className: T.ctaButton,
4324
+ className: S.ctaButton,
4306
4325
  onClick: u,
4307
4326
  children: [
4308
4327
  l,
4309
- /* @__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") })
4310
4329
  ]
4311
4330
  }
4312
4331
  ),
4313
- !g && y && /* @__PURE__ */ r.jsx("div", { className: T.themeToggle, children: /* @__PURE__ */ r.jsx(
4332
+ !m && y && /* @__PURE__ */ r.jsx("div", { className: S.themeToggle, children: /* @__PURE__ */ r.jsx(
4314
4333
  Ue,
4315
4334
  {
4316
4335
  checked: N === "dark",
4317
4336
  onChange: q,
4318
- "aria-label": D("header.toggleTheme")
4337
+ "aria-label": I("header.toggleTheme")
4319
4338
  }
4320
4339
  ) }),
4321
- s && /* @__PURE__ */ r.jsxs("div", { className: T.userInfo, children: [
4322
- /* @__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" }),
4323
4342
  /* @__PURE__ */ r.jsx(Ft, { "aria-label": "Frodo Baggins", "data-color": "main", variant: "circle", initials: "FB" })
4324
4343
  ] }),
4325
- a && /* @__PURE__ */ r.jsxs("a", { href: "#", className: T.loginLink, children: [
4326
- /* @__PURE__ */ r.jsx("span", { className: T.loginText, children: D("header.login") }),
4327
- /* @__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 })
4328
4347
  ] }),
4329
- 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(
4330
4349
  ye,
4331
4350
  {
4332
4351
  variant: "secondary",
@@ -4334,48 +4353,48 @@ const cs = {
4334
4353
  "data-size": "md",
4335
4354
  onClick: A,
4336
4355
  "aria-expanded": j,
4337
- "aria-label": D(j ? "header.closeSearch" : "header.openSearch"),
4356
+ "aria-label": I(j ? "header.closeSearch" : "header.openSearch"),
4338
4357
  children: [
4339
4358
  j ? /* @__PURE__ */ r.jsx(pt, { "aria-hidden": !0 }) : /* @__PURE__ */ r.jsx(ft, { "aria-hidden": !0 }),
4340
- /* @__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") })
4341
4360
  ]
4342
4361
  }
4343
4362
  ) }),
4344
- (p || K) && /* @__PURE__ */ r.jsxs(
4363
+ (p || U) && /* @__PURE__ */ r.jsxs(
4345
4364
  ye,
4346
4365
  {
4347
4366
  variant: "primary",
4348
4367
  "data-color": "main",
4349
4368
  "data-size": "md",
4350
4369
  onClick: c,
4351
- "aria-expanded": B,
4352
- "aria-label": D(B ? "header.closeMenu" : "header.openMenu"),
4353
- className: T.menuButton,
4370
+ "aria-expanded": F,
4371
+ "aria-label": I(F ? "header.closeMenu" : "header.openMenu"),
4372
+ className: S.menuButton,
4354
4373
  children: [
4355
- B ? /* @__PURE__ */ r.jsx(pt, { "aria-hidden": !0 }) : /* @__PURE__ */ r.jsx(eo, { "aria-hidden": !0 }),
4356
- /* @__PURE__ */ r.jsx("span", { className: T.buttonText, children: D(B ? "header.close" : "header.menu") })
4374
+ F ? /* @__PURE__ */ r.jsx(pt, { "aria-hidden": !0 }) : /* @__PURE__ */ r.jsx(eo, { "aria-hidden": !0 }),
4375
+ /* @__PURE__ */ r.jsx("span", { className: S.buttonText, children: I(F ? "header.close" : "header.menu") })
4357
4376
  ]
4358
4377
  }
4359
4378
  )
4360
4379
  ] })
4361
4380
  ] }),
4362
- B && /* @__PURE__ */ r.jsx("div", { className: T.menuOverlay, children: /* @__PURE__ */ r.jsxs("div", { className: T.menuContent, children: [
4363
- /* @__PURE__ */ r.jsx("div", { className: T.menuLeftColumn }),
4364
- /* @__PURE__ */ r.jsxs("div", { className: T.menuRightColumn, children: [
4365
- K && (F || x) && /* @__PURE__ */ r.jsxs("div", { className: T.menuUtilities, children: [
4366
- F && /* @__PURE__ */ r.jsxs("div", { className: T.languageSwitch, children: [
4367
- /* @__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
+ U && (_ || 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") }),
4368
4387
  /* @__PURE__ */ r.jsxs(ee.TriggerContext, { children: [
4369
4388
  /* @__PURE__ */ r.jsxs(
4370
4389
  ee.Trigger,
4371
4390
  {
4372
- className: T.languageLink,
4373
- "aria-label": D("header.selectLanguage"),
4391
+ className: S.languageLink,
4392
+ "aria-label": I("header.selectLanguage"),
4374
4393
  style: { background: "transparent", border: "none", padding: 0, cursor: "pointer", font: "inherit" },
4375
4394
  children: [
4376
4395
  M,
4377
4396
  " ",
4378
- /* @__PURE__ */ r.jsx(mt, { "aria-hidden": !0 })
4397
+ /* @__PURE__ */ r.jsx(gt, { "aria-hidden": !0 })
4379
4398
  ]
4380
4399
  }
4381
4400
  ),
@@ -4392,105 +4411,105 @@ const cs = {
4392
4411
  )
4393
4412
  ] })
4394
4413
  ] }),
4395
- x && /* @__PURE__ */ r.jsx("div", { className: T.extensionContent, children: /* @__PURE__ */ r.jsx(
4414
+ T && /* @__PURE__ */ r.jsx("div", { className: S.extensionContent, children: /* @__PURE__ */ r.jsx(
4396
4415
  Ue,
4397
4416
  {
4398
4417
  "data-size": "sm",
4399
4418
  checked: N === "dark",
4400
4419
  onChange: q,
4401
- label: D("header.darkMode"),
4420
+ label: I("header.darkMode"),
4402
4421
  color: "neutral",
4403
4422
  "data-color-scheme": "light"
4404
4423
  }
4405
4424
  ) })
4406
4425
  ] }),
4407
- /* @__PURE__ */ r.jsxs("div", { className: T.slotContent, children: [
4426
+ /* @__PURE__ */ r.jsxs("div", { className: S.slotContent, children: [
4408
4427
  n,
4409
- K && v && b && b.length > 0 && /* @__PURE__ */ r.jsx("nav", { className: T.navList, children: b.map((S, I) => /* @__PURE__ */ r.jsx(
4428
+ U && v && b && b.length > 0 && /* @__PURE__ */ r.jsx("nav", { className: S.navList, children: b.map((x, D) => /* @__PURE__ */ r.jsx(
4410
4429
  Ne,
4411
4430
  {
4412
- href: S.href,
4413
- className: T.navLink,
4431
+ href: x.href,
4432
+ className: S.navLink,
4414
4433
  onClick: (C) => {
4415
- e && (C.preventDefault(), e(S.href));
4434
+ e && (C.preventDefault(), e(x.href));
4416
4435
  },
4417
- children: S.label
4436
+ children: x.label
4418
4437
  },
4419
- I
4438
+ D
4420
4439
  )) })
4421
4440
  ] }),
4422
- K && /* @__PURE__ */ r.jsx("div", { className: T.menuBrand, children: /* @__PURE__ */ r.jsx(Y, {}) })
4441
+ U && /* @__PURE__ */ r.jsx("div", { className: S.menuBrand, children: /* @__PURE__ */ r.jsx(Y, {}) })
4423
4442
  ] })
4424
4443
  ] }) }),
4425
- 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: [
4426
4445
  /* @__PURE__ */ r.jsxs(Pe, { children: [
4427
4446
  /* @__PURE__ */ r.jsx(
4428
4447
  Pe.Input,
4429
4448
  {
4430
- "aria-label": D("header.search"),
4431
- placeholder: D("header.searchPlaceholder"),
4432
- value: E,
4433
- onChange: (S) => $(S.target.value)
4449
+ "aria-label": I("header.search"),
4450
+ placeholder: I("header.searchPlaceholder"),
4451
+ value: B,
4452
+ onChange: (x) => $(x.target.value)
4434
4453
  }
4435
4454
  ),
4436
- /* @__PURE__ */ r.jsx(Pe.Button, { "aria-label": D("header.search") }),
4437
- /* @__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") })
4438
4457
  ] }),
4439
- E && /* @__PURE__ */ r.jsx("div", { className: T.searchResults, children: P.length > 0 ? /* @__PURE__ */ r.jsxs("div", { className: T.suggestionsSection, children: [
4440
- /* @__PURE__ */ r.jsx("h3", { className: T.suggestionsTitle, children: D("header.suggestions") }),
4441
- /* @__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(
4442
4461
  "button",
4443
4462
  {
4444
- className: T.resultLink,
4445
- onClick: () => z(S.path),
4463
+ className: S.resultLink,
4464
+ onClick: () => z(x.path),
4446
4465
  children: [
4447
- /* @__PURE__ */ r.jsx("span", { className: T.suggestionIcon, children: /* @__PURE__ */ r.jsx(ft, { "aria-hidden": !0 }) }),
4448
- /* @__PURE__ */ r.jsx("span", { className: T.suggestionText, children: (() => {
4449
- const I = S.title.toLowerCase().indexOf(E.toLowerCase());
4450
- if (I === -1) return /* @__PURE__ */ r.jsx("span", { className: T.remainingText, children: S.title });
4451
- const C = S.title.slice(0, I), W = S.title.slice(I, I + E.length), J = S.title.slice(I + E.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);
4452
4471
  return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
4453
- /* @__PURE__ */ r.jsx("span", { className: T.remainingText, children: C }),
4454
- /* @__PURE__ */ r.jsx("span", { className: T.highlightedText, children: W }),
4455
- /* @__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 })
4456
4475
  ] });
4457
4476
  })() })
4458
4477
  ]
4459
4478
  }
4460
- ) }, S.id)) }),
4479
+ ) }, x.id)) }),
4461
4480
  P.length > 5 && /* @__PURE__ */ r.jsxs(
4462
4481
  Ne,
4463
4482
  {
4464
4483
  href: "#",
4465
4484
  "data-color": "neutral",
4466
- className: T.viewAllLink,
4467
- onClick: (S) => {
4468
- S.preventDefault(), e && e(`search/${E}`), L(!1), $("");
4485
+ className: S.viewAllLink,
4486
+ onClick: (x) => {
4487
+ x.preventDefault(), e && e(`search/${B}`), L(!1), $("");
4469
4488
  },
4470
4489
  children: [
4471
- D("header.viewAll"),
4490
+ I("header.viewAll"),
4472
4491
  " (",
4473
4492
  P.length,
4474
4493
  ")"
4475
4494
  ]
4476
4495
  }
4477
4496
  )
4478
- ] }) : /* @__PURE__ */ r.jsx("div", { className: T.noResults, children: /* @__PURE__ */ r.jsxs(Ze, { children: [
4479
- D("header.noResults"),
4497
+ ] }) : /* @__PURE__ */ r.jsx("div", { className: S.noResults, children: /* @__PURE__ */ r.jsxs(Ze, { children: [
4498
+ I("header.noResults"),
4480
4499
  ' "',
4481
- E,
4500
+ B,
4482
4501
  '"'
4483
4502
  ] }) }) })
4484
4503
  ] }) })
4485
4504
  ] });
4486
4505
  };
4487
- function ga(t) {
4506
+ function ma(t) {
4488
4507
  const e = t;
4489
4508
  return `
4490
4509
  .${e.header} {
4491
4510
  width: 100%;
4492
4511
  background-color: var(--ds-color-neutral-background-default);
4493
- border-bottom: 1px solid var(--ds-color-neutral-border-subtle);
4512
+ border-bottom: none;
4494
4513
  position: relative;
4495
4514
  z-index: 1000;
4496
4515
  display: flex;
@@ -4547,8 +4566,8 @@ function ga(t) {
4547
4566
  .${e.menuOverlay}, .${e.searchOverlay} {
4548
4567
  position: absolute; top: 100%; left: 0; width: 100%;
4549
4568
  background-color: var(--ds-color-neutral-background-default);
4550
- border-bottom: 1px solid var(--ds-color-neutral-border-subtle);
4551
- box-shadow: var(--ds-shadow-lg); z-index: 999;
4569
+ border-bottom: none;
4570
+ box-shadow: none; z-index: 999;
4552
4571
  }
4553
4572
  .${e.searchOverlay} { padding: var(--ds-size-10) 0; }
4554
4573
  .${e.searchOverlay}::before { display: none; }
@@ -4561,6 +4580,7 @@ function ga(t) {
4561
4580
  .${e.menuLeftColumn} { width: calc(217px + var(--ds-size-6)); flex-shrink: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: var(--ds-size-6); }
4562
4581
  .${e.menuRightColumn} { flex: 1; display: flex; flex-direction: column; padding: 48px 24px 80px 24px; gap: 24px; }
4563
4582
  .${e.slotContent} { width: 100%; padding: var(--ds-size-10) 0; text-align: left; color: var(--ds-color-neutral-text-subtle); font-size: var(--ds-font-size-md); border-radius: var(--ds-border-radius-md); display: flex; flex-direction: column; gap: var(--ds-size-4); align-items: flex-start; }
4583
+ .${e.navList} { display: flex; flex-direction: column; gap: var(--ds-size-3); align-items: flex-start; }
4564
4584
  .${e.menuBrand} { display: none; }
4565
4585
  .${e.menuUtilities} { display: flex; justify-content: space-between; align-items: center; width: 100%; }
4566
4586
  .${e.suggestionsSection} { display: flex; flex-direction: column; gap: var(--ds-size-4); }
@@ -4580,7 +4600,7 @@ function ga(t) {
4580
4600
  .${e.viewAllLink} { display: block; padding: var(--ds-size-3); text-align: left; font-size: var(--ds-font-size-sm); font-weight: var(--ds-font-weight-medium); color: var(--ds-color-neutral-text-default); text-decoration: none; }
4581
4601
  .${e.noResults} { padding: var(--ds-size-4); text-align: center; color: var(--ds-color-neutral-text-subtle); }
4582
4602
  @media (max-width: 850px) {
4583
- .${e.header} { z-index: 10000; }
4603
+ .${e.header} { z-index: 10000; position: relative; }
4584
4604
  .${e.headerExtension} { display: none; }
4585
4605
  .${e.headerInner} { padding: var(--ds-size-5) var(--ds-size-6); min-height: auto; }
4586
4606
  .${e.navItems} { display: none; }
@@ -4594,8 +4614,8 @@ function ga(t) {
4594
4614
  .${e.userName} { display: none; }
4595
4615
  .${e.menuButton} .${e.buttonText} { display: none; }
4596
4616
  .${e.searchButtonWrapper} .${e.buttonText} { display: inline; }
4597
- .${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; }
4598
- .${e.searchOverlay} { width: 100%; right: 0; left: 0; border-radius: 0; border: none; border-bottom: 1px solid var(--ds-color-neutral-border-subtle); }
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; }
4618
+ .${e.searchOverlay} { width: 100%; right: 0; left: 0; border-radius: 0; border: none; }
4599
4619
  .${e.searchContent} { padding: var(--ds-size-6); }
4600
4620
  .${e.menuContent} { flex-direction: column; padding: 0; min-height: 100%; }
4601
4621
  .${e.menuRightColumn} { padding: var(--ds-size-6); gap: var(--ds-size-4); flex: 1; display: flex; flex-direction: column; min-height: 0; }