rk-designsystem 1.1.49 → 1.1.51

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,8 +1,8 @@
1
- import jt, { forwardRef as ue, useState as re, useEffect as ie, useMemo as ve, useCallback as oe, useRef as $e, createContext as Ut, useContext as Kt } from "react";
2
- import { Alert as Yt, Avatar as Jt, Badge as Zt, BadgePosition as Xt, Breadcrumbs as Qt, BreadcrumbsList as en, BreadcrumbsItem as tn, BreadcrumbsLink as nn, Button as Ue, Card as on, CardBlock as rn, Checkbox as sn, Fieldset as Dt, useCheckboxGroup as an, Chip as ln, Spinner as dn, Details as cn, Dialog as un, Divider as mn, Dropdown as gn, ErrorSummary as pn, FieldDescription as fn, FieldCounter as kn, Field as hn, Heading as bn, Input as vn, Label as yn, Link as Tn, List as xn, Pagination as Sn, usePagination as wn, Paragraph as Cn, Popover as jn, Radio as Dn, useRadioGroup as In, Search as An, SearchInput as Fn, SearchClear as Ln, SearchButton as _n, Select as Nn, Skeleton as En, SkipLink as Pn, EXPERIMENTAL_Suggestion as Bn, Switch as Mn, Table as Rn, Tabs as On, Tag as Hn, Textarea as Wn, Textfield as zn, ToggleGroup as Vn, Tooltip as Gn, ValidationMessage as qn } from "@digdir/designsystemet-react";
3
- import { startOfMonth as he, isValid as Ve, isSameMonth as ut, startOfWeek as It, format as xe, addDays as At, subMonths as $n, addMonths as Un, isSameDay as Kn, isToday as Yn, eachDayOfInterval as Jn } from "date-fns";
4
- import { ChevronLeftIcon as Zn, ChevronRightIcon as Xn, ChevronDownIcon as Qn, XMarkIcon as mt, MagnifyingGlassIcon as gt, MenuHamburgerIcon as eo, HeartIcon as to } from "@navikt/aksel-icons";
5
- var Ee = { exports: {} }, Se = {};
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";
5
+ var Be = { exports: {} }, Se = {};
6
6
  /**
7
7
  * @license React
8
8
  * react-jsx-runtime.production.js
@@ -12,27 +12,27 @@ var Ee = { exports: {} }, Se = {};
12
12
  * This source code is licensed under the MIT license found in the
13
13
  * LICENSE file in the root directory of this source tree.
14
14
  */
15
- var pt;
15
+ var ht;
16
16
  function no() {
17
- if (pt) return Se;
18
- pt = 1;
19
- var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
20
- function n(r, a, s) {
17
+ if (ht) return Se;
18
+ ht = 1;
19
+ var t = Symbol.for("react.transitional.element"), e = Symbol.for("react.fragment");
20
+ function n(s, i, a) {
21
21
  var o = null;
22
- if (s !== void 0 && (o = "" + s), a.key !== void 0 && (o = "" + a.key), "key" in a) {
23
- s = {};
24
- for (var d in a)
25
- d !== "key" && (s[d] = a[d]);
26
- } else s = a;
27
- return a = s.ref, {
28
- $$typeof: e,
29
- type: r,
22
+ if (a !== void 0 && (o = "" + a), i.key !== void 0 && (o = "" + i.key), "key" in i) {
23
+ a = {};
24
+ for (var d in i)
25
+ d !== "key" && (a[d] = i[d]);
26
+ } else a = i;
27
+ return i = a.ref, {
28
+ $$typeof: t,
29
+ type: s,
30
30
  key: o,
31
- ref: a !== void 0 ? a : null,
32
- props: s
31
+ ref: i !== void 0 ? i : null,
32
+ props: a
33
33
  };
34
34
  }
35
- return Se.Fragment = t, Se.jsx = n, Se.jsxs = n, Se;
35
+ return Se.Fragment = e, Se.jsx = n, Se.jsxs = n, Se;
36
36
  }
37
37
  var we = {};
38
38
  /**
@@ -44,26 +44,26 @@ var we = {};
44
44
  * This source code is licensed under the MIT license found in the
45
45
  * LICENSE file in the root directory of this source tree.
46
46
  */
47
- var ft;
47
+ var kt;
48
48
  function oo() {
49
- return ft || (ft = 1, process.env.NODE_ENV !== "production" && (function() {
50
- function e(c) {
49
+ return kt || (kt = 1, process.env.NODE_ENV !== "production" && (function() {
50
+ function t(c) {
51
51
  if (c == null) return null;
52
52
  if (typeof c == "function")
53
- return c.$$typeof === P ? null : c.displayName || c.name || null;
53
+ return c.$$typeof === N ? null : c.displayName || c.name || null;
54
54
  if (typeof c == "string") return c;
55
55
  switch (c) {
56
56
  case v:
57
57
  return "Fragment";
58
- case m:
58
+ case g:
59
59
  return "Profiler";
60
60
  case p:
61
61
  return "StrictMode";
62
- case A:
62
+ case _:
63
63
  return "Suspense";
64
- case w:
64
+ case j:
65
65
  return "SuspenseList";
66
- case O:
66
+ case $:
67
67
  return "Activity";
68
68
  }
69
69
  if (typeof c == "object")
@@ -72,96 +72,96 @@ function oo() {
72
72
  ), c.$$typeof) {
73
73
  case b:
74
74
  return "Portal";
75
- case L:
75
+ case F:
76
76
  return c.displayName || "Context";
77
- case T:
77
+ case x:
78
78
  return (c._context.displayName || "Context") + ".Consumer";
79
- case _:
80
- var I = c.render;
81
- return c = c.displayName, c || (c = I.displayName || I.name || "", c = c !== "" ? "ForwardRef(" + c + ")" : "ForwardRef"), c;
82
- case D:
83
- return I = c.displayName || null, I !== null ? I : e(c.type) || "Memo";
84
- case F:
85
- I = c._payload, c = c._init;
79
+ case B:
80
+ var A = c.render;
81
+ return c = c.displayName, c || (c = A.displayName || A.name || "", c = c !== "" ? "ForwardRef(" + c + ")" : "ForwardRef"), c;
82
+ case L:
83
+ return A = c.displayName || null, A !== null ? A : t(c.type) || "Memo";
84
+ case E:
85
+ A = c._payload, c = c._init;
86
86
  try {
87
- return e(c(I));
87
+ return t(c(A));
88
88
  } catch {
89
89
  }
90
90
  }
91
91
  return null;
92
92
  }
93
- function t(c) {
93
+ function e(c) {
94
94
  return "" + c;
95
95
  }
96
96
  function n(c) {
97
97
  try {
98
- t(c);
99
- var I = !1;
98
+ e(c);
99
+ var A = !1;
100
100
  } catch {
101
- I = !0;
101
+ A = !0;
102
102
  }
103
- if (I) {
104
- I = console;
105
- var S = I.error, N = typeof Symbol == "function" && Symbol.toStringTag && c[Symbol.toStringTag] || c.constructor.name || "Object";
106
- return S.call(
107
- I,
103
+ if (A) {
104
+ A = console;
105
+ var P = A.error, z = typeof Symbol == "function" && Symbol.toStringTag && c[Symbol.toStringTag] || c.constructor.name || "Object";
106
+ return P.call(
107
+ A,
108
108
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
109
- N
110
- ), t(c);
109
+ z
110
+ ), e(c);
111
111
  }
112
112
  }
113
- function r(c) {
113
+ function s(c) {
114
114
  if (c === v) return "<>";
115
- if (typeof c == "object" && c !== null && c.$$typeof === F)
115
+ if (typeof c == "object" && c !== null && c.$$typeof === E)
116
116
  return "<...>";
117
117
  try {
118
- var I = e(c);
119
- return I ? "<" + I + ">" : "<...>";
118
+ var A = t(c);
119
+ return A ? "<" + A + ">" : "<...>";
120
120
  } catch {
121
121
  return "<...>";
122
122
  }
123
123
  }
124
- function a() {
124
+ function i() {
125
125
  var c = H.A;
126
126
  return c === null ? null : c.getOwner();
127
127
  }
128
- function s() {
128
+ function a() {
129
129
  return Error("react-stack-top-frame");
130
130
  }
131
131
  function o(c) {
132
- if (B.call(c, "key")) {
133
- var I = Object.getOwnPropertyDescriptor(c, "key").get;
134
- if (I && I.isReactWarning) return !1;
132
+ if (M.call(c, "key")) {
133
+ var A = Object.getOwnPropertyDescriptor(c, "key").get;
134
+ if (A && A.isReactWarning) return !1;
135
135
  }
136
136
  return c.key !== void 0;
137
137
  }
138
- function d(c, I) {
139
- function S() {
140
- Q || (Q = !0, console.error(
138
+ function d(c, A) {
139
+ function P() {
140
+ K || (K = !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
- I
142
+ A
143
143
  ));
144
144
  }
145
- S.isReactWarning = !0, Object.defineProperty(c, "key", {
146
- get: S,
145
+ P.isReactWarning = !0, Object.defineProperty(c, "key", {
146
+ get: P,
147
147
  configurable: !0
148
148
  });
149
149
  }
150
150
  function l() {
151
- var c = e(this.type);
152
- return U[c] || (U[c] = !0, console.error(
151
+ var c = t(this.type);
152
+ return te[c] || (te[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, I, S, N, J, q) {
157
- var E = S.ref;
156
+ function u(c, A, P, z, S, I) {
157
+ var C = P.ref;
158
158
  return c = {
159
- $$typeof: k,
159
+ $$typeof: h,
160
160
  type: c,
161
- key: I,
162
- props: S,
163
- _owner: N
164
- }, (E !== void 0 ? E : null) !== null ? Object.defineProperty(c, "ref", {
161
+ key: A,
162
+ props: P,
163
+ _owner: z
164
+ }, (C !== void 0 ? C : null) !== null ? Object.defineProperty(c, "ref", {
165
165
  enumerable: !1,
166
166
  get: l
167
167
  }) : Object.defineProperty(c, "ref", { enumerable: !1, value: null }), c._store = {}, Object.defineProperty(c._store, "validated", {
@@ -178,180 +178,180 @@ function oo() {
178
178
  configurable: !1,
179
179
  enumerable: !1,
180
180
  writable: !0,
181
- value: J
181
+ value: S
182
182
  }), Object.defineProperty(c, "_debugTask", {
183
183
  configurable: !1,
184
184
  enumerable: !1,
185
185
  writable: !0,
186
- value: q
186
+ value: I
187
187
  }), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
188
188
  }
189
- function y(c, I, S, N, J, q) {
190
- var E = I.children;
191
- if (E !== void 0)
192
- if (N)
193
- if (M(E)) {
194
- for (N = 0; N < E.length; N++)
195
- f(E[N]);
196
- Object.freeze && Object.freeze(E);
189
+ function y(c, A, P, z, S, I) {
190
+ var C = A.children;
191
+ if (C !== void 0)
192
+ if (z)
193
+ if (R(C)) {
194
+ for (z = 0; z < C.length; z++)
195
+ f(C[z]);
196
+ Object.freeze && Object.freeze(C);
197
197
  } else
198
198
  console.error(
199
199
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
200
200
  );
201
- else f(E);
202
- if (B.call(I, "key")) {
203
- E = e(c);
204
- var W = Object.keys(I).filter(function(Z) {
205
- return Z !== "key";
201
+ else f(C);
202
+ if (M.call(A, "key")) {
203
+ C = t(c);
204
+ var W = Object.keys(A).filter(function(X) {
205
+ return X !== "key";
206
206
  });
207
- N = 0 < W.length ? "{key: someKey, " + W.join(": ..., ") + ": ...}" : "{key: someKey}", te[E + N] || (W = 0 < W.length ? "{" + W.join(": ..., ") + ": ...}" : "{}", console.error(
207
+ z = 0 < W.length ? "{key: someKey, " + W.join(": ..., ") + ": ...}" : "{key: someKey}", re[C + z] || (W = 0 < W.length ? "{" + W.join(": ..., ") + ": ...}" : "{}", console.error(
208
208
  `A props object containing a "key" prop is being spread into JSX:
209
209
  let props = %s;
210
210
  <%s {...props} />
211
211
  React keys must be passed directly to JSX without using spread:
212
212
  let props = %s;
213
213
  <%s key={someKey} {...props} />`,
214
- N,
215
- E,
214
+ z,
215
+ C,
216
216
  W,
217
- E
218
- ), te[E + N] = !0);
217
+ C
218
+ ), re[C + z] = !0);
219
219
  }
220
- if (E = null, S !== void 0 && (n(S), E = "" + S), o(I) && (n(I.key), E = "" + I.key), "key" in I) {
221
- S = {};
222
- for (var ee in I)
223
- ee !== "key" && (S[ee] = I[ee]);
224
- } else S = I;
225
- return E && d(
226
- S,
220
+ if (C = null, P !== void 0 && (n(P), C = "" + P), o(A) && (n(A.key), C = "" + A.key), "key" in A) {
221
+ P = {};
222
+ for (var J in A)
223
+ J !== "key" && (P[J] = A[J]);
224
+ } else P = A;
225
+ return C && d(
226
+ P,
227
227
  typeof c == "function" ? c.displayName || c.name || "Unknown" : c
228
228
  ), u(
229
229
  c,
230
- E,
230
+ C,
231
+ P,
232
+ i(),
231
233
  S,
232
- a(),
233
- J,
234
- q
234
+ I
235
235
  );
236
236
  }
237
237
  function f(c) {
238
- h(c) ? c._store && (c._store.validated = 1) : typeof c == "object" && c !== null && c.$$typeof === F && (c._payload.status === "fulfilled" ? h(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 === 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));
239
239
  }
240
- function h(c) {
241
- return typeof c == "object" && c !== null && c.$$typeof === k;
240
+ function k(c) {
241
+ return typeof c == "object" && c !== null && c.$$typeof === h;
242
242
  }
243
- var g = jt, k = 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"), L = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), A = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), D = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), P = Symbol.for("react.client.reference"), H = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, B = Object.prototype.hasOwnProperty, M = Array.isArray, j = console.createTask ? console.createTask : function() {
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() {
244
244
  return null;
245
245
  };
246
- g = {
246
+ m = {
247
247
  react_stack_bottom_frame: function(c) {
248
248
  return c();
249
249
  }
250
250
  };
251
- var Q, U = {}, K = g.react_stack_bottom_frame.bind(
252
- g,
253
- s
254
- )(), Y = j(r(s)), te = {};
255
- we.Fragment = v, we.jsx = function(c, I, S) {
256
- var N = 1e4 > H.recentlyCreatedOwnerStacks++;
251
+ var K, te = {}, Y = m.react_stack_bottom_frame.bind(
252
+ m,
253
+ a
254
+ )(), q = D(s(a)), re = {};
255
+ we.Fragment = v, we.jsx = function(c, A, P) {
256
+ var z = 1e4 > H.recentlyCreatedOwnerStacks++;
257
257
  return y(
258
258
  c,
259
- I,
260
- S,
259
+ A,
260
+ P,
261
261
  !1,
262
- N ? Error("react-stack-top-frame") : K,
263
- N ? j(r(c)) : Y
262
+ z ? Error("react-stack-top-frame") : Y,
263
+ z ? D(s(c)) : q
264
264
  );
265
- }, we.jsxs = function(c, I, S) {
266
- var N = 1e4 > H.recentlyCreatedOwnerStacks++;
265
+ }, we.jsxs = function(c, A, P) {
266
+ var z = 1e4 > H.recentlyCreatedOwnerStacks++;
267
267
  return y(
268
268
  c,
269
- I,
270
- S,
269
+ A,
270
+ P,
271
271
  !0,
272
- N ? Error("react-stack-top-frame") : K,
273
- N ? j(r(c)) : Y
272
+ z ? Error("react-stack-top-frame") : Y,
273
+ z ? D(s(c)) : q
274
274
  );
275
275
  };
276
276
  })()), we;
277
277
  }
278
- var kt;
278
+ var bt;
279
279
  function ro() {
280
- return kt || (kt = 1, process.env.NODE_ENV === "production" ? Ee.exports = no() : Ee.exports = oo()), Ee.exports;
280
+ return bt || (bt = 1, process.env.NODE_ENV === "production" ? Be.exports = no() : Be.exports = oo()), Be.exports;
281
281
  }
282
- var i = ro();
283
- const so = ue((e, t) => /* @__PURE__ */ i.jsx(Yt, { ref: t, ...e }));
282
+ var r = ro();
283
+ const so = ue((t, e) => /* @__PURE__ */ r.jsx(Jt, { ref: e, ...t }));
284
284
  so.displayName = "Alert";
285
- const Ft = ue((e, t) => /* @__PURE__ */ i.jsx(Jt, { ref: t, ...e }));
285
+ const Ft = ue((t, e) => /* @__PURE__ */ r.jsx(Zt, { ref: e, ...t }));
286
286
  Ft.displayName = "Avatar";
287
- const ao = ue((e, t) => /* @__PURE__ */ i.jsx(Zt, { ref: t, ...e }));
287
+ const ao = ue((t, e) => /* @__PURE__ */ r.jsx(Qt, { ref: e, ...t }));
288
288
  ao.displayName = "Badge";
289
- const ma = Xt, ga = Qt, pa = en, fa = tn, ka = nn, ye = Ue;
289
+ const ka = Xt, ba = en, va = tn, ya = nn, xa = on, ye = qe;
290
290
  ye.displayName = "Button";
291
- const io = on, ha = rn;
291
+ const io = rn, Ta = sn;
292
292
  io.displayName = "Card";
293
- const lo = sn, co = Dt, ba = an;
293
+ const lo = an, co = It, Sa = ln;
294
294
  lo.displayName = "Checkbox";
295
295
  co.displayName = "Fieldset";
296
- const va = ln;
297
- function Ge(e) {
298
- return (t = {}) => {
299
- const n = t.width ? String(t.width) : e.defaultWidth;
300
- return e.formats[n] || e.formats[e.defaultWidth];
296
+ const wa = dn;
297
+ function Ge(t) {
298
+ return (e = {}) => {
299
+ const n = e.width ? String(e.width) : t.defaultWidth;
300
+ return t.formats[n] || t.formats[t.defaultWidth];
301
301
  };
302
302
  }
303
- function Ce(e) {
304
- return (t, n) => {
305
- const r = n != null && n.context ? String(n.context) : "standalone";
306
- let a;
307
- if (r === "formatting" && e.formattingValues) {
308
- const o = e.defaultFormattingWidth || e.defaultWidth, d = n != null && n.width ? String(n.width) : o;
309
- a = e.formattingValues[d] || e.formattingValues[o];
303
+ function Ce(t) {
304
+ return (e, n) => {
305
+ const s = n != null && n.context ? String(n.context) : "standalone";
306
+ let i;
307
+ if (s === "formatting" && t.formattingValues) {
308
+ const o = t.defaultFormattingWidth || t.defaultWidth, d = n != null && n.width ? String(n.width) : o;
309
+ i = t.formattingValues[d] || t.formattingValues[o];
310
310
  } else {
311
- const o = e.defaultWidth, d = n != null && n.width ? String(n.width) : e.defaultWidth;
312
- a = e.values[d] || e.values[o];
311
+ const o = t.defaultWidth, d = n != null && n.width ? String(n.width) : t.defaultWidth;
312
+ i = t.values[d] || t.values[o];
313
313
  }
314
- const s = e.argumentCallback ? e.argumentCallback(t) : t;
315
- return a[s];
314
+ const a = t.argumentCallback ? t.argumentCallback(e) : e;
315
+ return i[a];
316
316
  };
317
317
  }
318
- function je(e) {
319
- return (t, n = {}) => {
320
- const r = n.width, a = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], s = t.match(a);
321
- if (!s)
318
+ function je(t) {
319
+ return (e, n = {}) => {
320
+ const s = n.width, i = s && t.matchPatterns[s] || t.matchPatterns[t.defaultMatchWidth], a = e.match(i);
321
+ if (!a)
322
322
  return null;
323
- const o = s[0], d = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(d) ? mo(d, (f) => f.test(o)) : (
323
+ const o = a[0], d = s && t.parsePatterns[s] || t.parsePatterns[t.defaultParseWidth], l = Array.isArray(d) ? go(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
  );
327
327
  let u;
328
- u = e.valueCallback ? e.valueCallback(l) : l, u = n.valueCallback ? (
328
+ u = t.valueCallback ? t.valueCallback(l) : l, u = n.valueCallback ? (
329
329
  // [TODO] -- I challenge you to fix the type
330
330
  n.valueCallback(u)
331
331
  ) : u;
332
- const y = t.slice(o.length);
332
+ const y = e.slice(o.length);
333
333
  return { value: u, rest: y };
334
334
  };
335
335
  }
336
- function uo(e, t) {
337
- for (const n in e)
338
- if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n]))
336
+ function uo(t, e) {
337
+ for (const n in t)
338
+ if (Object.prototype.hasOwnProperty.call(t, n) && e(t[n]))
339
339
  return n;
340
340
  }
341
- function mo(e, t) {
342
- for (let n = 0; n < e.length; n++)
343
- if (t(e[n]))
341
+ function go(t, e) {
342
+ for (let n = 0; n < t.length; n++)
343
+ if (e(t[n]))
344
344
  return n;
345
345
  }
346
- function go(e) {
347
- return (t, n = {}) => {
348
- const r = t.match(e.matchPattern);
349
- if (!r) return null;
350
- const a = r[0], s = t.match(e.parsePattern);
346
+ function mo(t) {
347
+ return (e, n = {}) => {
348
+ const s = e.match(t.matchPattern);
351
349
  if (!s) return null;
352
- let o = e.valueCallback ? e.valueCallback(s[0]) : s[0];
350
+ const i = s[0], a = e.match(t.parsePattern);
351
+ if (!a) return null;
352
+ let o = t.valueCallback ? t.valueCallback(a[0]) : a[0];
353
353
  o = n.valueCallback ? n.valueCallback(o) : o;
354
- const d = t.slice(a.length);
354
+ const d = e.slice(i.length);
355
355
  return { value: o, rest: d };
356
356
  };
357
357
  }
@@ -417,16 +417,16 @@ const po = {
417
417
  one: "nesten ett år",
418
418
  other: "nesten {{count}} år"
419
419
  }
420
- }, fo = (e, t, n) => {
421
- let r;
422
- const a = po[e];
423
- return typeof a == "string" ? r = a : t === 1 ? r = a.one : r = a.other.replace("{{count}}", String(t)), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "om " + r : r + " siden" : r;
424
- }, ko = {
420
+ }, fo = (t, e, n) => {
421
+ let s;
422
+ const i = po[t];
423
+ return typeof i == "string" ? s = i : e === 1 ? s = i.one : s = i.other.replace("{{count}}", String(e)), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "om " + s : s + " siden" : s;
424
+ }, ho = {
425
425
  full: "EEEE d. MMMM y",
426
426
  long: "d. MMMM y",
427
427
  medium: "d. MMM y",
428
428
  short: "dd.MM.y"
429
- }, ho = {
429
+ }, ko = {
430
430
  full: "'kl'. HH:mm:ss zzzz",
431
431
  long: "HH:mm:ss z",
432
432
  medium: "HH:mm:ss",
@@ -438,11 +438,11 @@ const po = {
438
438
  short: "{{date}} {{time}}"
439
439
  }, vo = {
440
440
  date: Ge({
441
- formats: ko,
441
+ formats: ho,
442
442
  defaultWidth: "full"
443
443
  }),
444
444
  time: Ge({
445
- formats: ho,
445
+ formats: ko,
446
446
  defaultWidth: "full"
447
447
  }),
448
448
  dateTime: Ge({
@@ -456,7 +456,7 @@ const po = {
456
456
  tomorrow: "'i morgen kl.' p",
457
457
  nextWeek: "EEEE 'kl.' p",
458
458
  other: "P"
459
- }, To = (e, t, n, r) => yo[e], xo = {
459
+ }, xo = (t, e, n, s) => yo[t], To = {
460
460
  narrow: ["f.Kr.", "e.Kr."],
461
461
  abbreviated: ["f.Kr.", "e.Kr."],
462
462
  wide: ["før Kristus", "etter Kristus"]
@@ -538,16 +538,16 @@ const po = {
538
538
  evening: "på kvelden",
539
539
  night: "på natten"
540
540
  }
541
- }, Do = (e, t) => Number(e) + ".", Io = {
541
+ }, Do = (t, e) => Number(t) + ".", Io = {
542
542
  ordinalNumber: Do,
543
543
  era: Ce({
544
- values: xo,
544
+ values: To,
545
545
  defaultWidth: "wide"
546
546
  }),
547
547
  quarter: Ce({
548
548
  values: So,
549
549
  defaultWidth: "wide",
550
- argumentCallback: (e) => e - 1
550
+ argumentCallback: (t) => t - 1
551
551
  }),
552
552
  month: Ce({
553
553
  values: wo,
@@ -561,23 +561,23 @@ const po = {
561
561
  values: jo,
562
562
  defaultWidth: "wide"
563
563
  })
564
- }, Ao = /^(\d+)\.?/i, Fo = /\d+/i, Lo = {
564
+ }, Lo = /^(\d+)\.?/i, Ao = /\d+/i, Fo = {
565
565
  narrow: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,
566
566
  abbreviated: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,
567
567
  wide: /^(før Kristus|før vår tid|etter Kristus|vår tid)/i
568
568
  }, _o = {
569
569
  any: [/^f/i, /^e/i]
570
- }, No = {
570
+ }, Eo = {
571
571
  narrow: /^[1234]/i,
572
572
  abbreviated: /^q[1234]/i,
573
573
  wide: /^[1234](\.)? kvartal/i
574
- }, Eo = {
574
+ }, Bo = {
575
575
  any: [/1/i, /2/i, /3/i, /4/i]
576
- }, Po = {
576
+ }, No = {
577
577
  narrow: /^[jfmasond]/i,
578
578
  abbreviated: /^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,
579
579
  wide: /^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i
580
- }, Bo = {
580
+ }, Po = {
581
581
  narrow: [
582
582
  /^j/i,
583
583
  /^f/i,
@@ -613,10 +613,10 @@ const po = {
613
613
  wide: /^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i
614
614
  }, Ro = {
615
615
  any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i]
616
- }, Oo = {
616
+ }, zo = {
617
617
  narrow: /^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,
618
618
  any: /^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i
619
- }, Ho = {
619
+ }, Oo = {
620
620
  any: {
621
621
  am: /^a(\.?\s?m\.?)?$/i,
622
622
  pm: /^p(\.?\s?m\.?)?$/i,
@@ -627,29 +627,29 @@ const po = {
627
627
  evening: /kveld/i,
628
628
  night: /natt/i
629
629
  }
630
- }, Wo = {
631
- ordinalNumber: go({
632
- matchPattern: Ao,
633
- parsePattern: Fo,
634
- valueCallback: (e) => parseInt(e, 10)
630
+ }, $o = {
631
+ ordinalNumber: mo({
632
+ matchPattern: Lo,
633
+ parsePattern: Ao,
634
+ valueCallback: (t) => parseInt(t, 10)
635
635
  }),
636
636
  era: je({
637
- matchPatterns: Lo,
637
+ matchPatterns: Fo,
638
638
  defaultMatchWidth: "wide",
639
639
  parsePatterns: _o,
640
640
  defaultParseWidth: "any"
641
641
  }),
642
642
  quarter: je({
643
- matchPatterns: No,
643
+ matchPatterns: Eo,
644
644
  defaultMatchWidth: "wide",
645
- parsePatterns: Eo,
645
+ parsePatterns: Bo,
646
646
  defaultParseWidth: "any",
647
- valueCallback: (e) => e + 1
647
+ valueCallback: (t) => t + 1
648
648
  }),
649
649
  month: je({
650
- matchPatterns: Po,
650
+ matchPatterns: No,
651
651
  defaultMatchWidth: "wide",
652
- parsePatterns: Bo,
652
+ parsePatterns: Po,
653
653
  defaultParseWidth: "any"
654
654
  }),
655
655
  day: je({
@@ -659,23 +659,23 @@ const po = {
659
659
  defaultParseWidth: "any"
660
660
  }),
661
661
  dayPeriod: je({
662
- matchPatterns: Oo,
662
+ matchPatterns: zo,
663
663
  defaultMatchWidth: "any",
664
- parsePatterns: Ho,
664
+ parsePatterns: Oo,
665
665
  defaultParseWidth: "any"
666
666
  })
667
667
  }, be = {
668
668
  code: "nb",
669
669
  formatDistance: fo,
670
670
  formatLong: vo,
671
- formatRelative: To,
671
+ formatRelative: xo,
672
672
  localize: Io,
673
- match: Wo,
673
+ match: $o,
674
674
  options: {
675
675
  weekStartsOn: 1,
676
676
  firstWeekContainsDate: 4
677
677
  }
678
- }, Lt = ({ title: e, ...t }) => /* @__PURE__ */ i.jsxs(
678
+ }, _t = ({ title: t, ...e }) => /* @__PURE__ */ r.jsxs(
679
679
  "svg",
680
680
  {
681
681
  xmlns: "http://www.w3.org/2000/svg",
@@ -683,12 +683,12 @@ const po = {
683
683
  height: "1em",
684
684
  viewBox: "0 0 28 28",
685
685
  fill: "none",
686
- "aria-hidden": e ? void 0 : !0,
686
+ "aria-hidden": t ? void 0 : !0,
687
687
  focusable: "false",
688
- ...t,
688
+ ...e,
689
689
  children: [
690
- e && /* @__PURE__ */ i.jsx("title", { children: e }),
691
- /* @__PURE__ */ i.jsx(
690
+ t && /* @__PURE__ */ r.jsx("title", { children: t }),
691
+ /* @__PURE__ */ r.jsx(
692
692
  "path",
693
693
  {
694
694
  fillRule: "evenodd",
@@ -700,8 +700,8 @@ const po = {
700
700
  ]
701
701
  }
702
702
  );
703
- Lt.displayName = "ChevronLeftIcon";
704
- const _t = ({ title: e, ...t }) => /* @__PURE__ */ i.jsxs(
703
+ _t.displayName = "ChevronLeftIcon";
704
+ const Et = ({ title: t, ...e }) => /* @__PURE__ */ r.jsxs(
705
705
  "svg",
706
706
  {
707
707
  xmlns: "http://www.w3.org/2000/svg",
@@ -709,12 +709,12 @@ const _t = ({ title: e, ...t }) => /* @__PURE__ */ i.jsxs(
709
709
  height: "1em",
710
710
  viewBox: "0 0 28 28",
711
711
  fill: "none",
712
- "aria-hidden": e ? void 0 : !0,
712
+ "aria-hidden": t ? void 0 : !0,
713
713
  focusable: "false",
714
- ...t,
714
+ ...e,
715
715
  children: [
716
- e && /* @__PURE__ */ i.jsx("title", { children: e }),
717
- /* @__PURE__ */ i.jsx(
716
+ t && /* @__PURE__ */ r.jsx("title", { children: t }),
717
+ /* @__PURE__ */ r.jsx(
718
718
  "path",
719
719
  {
720
720
  fillRule: "evenodd",
@@ -726,119 +726,119 @@ const _t = ({ title: e, ...t }) => /* @__PURE__ */ i.jsxs(
726
726
  ]
727
727
  }
728
728
  );
729
- _t.displayName = "ChevronRightIcon";
730
- const zo = "_calendarContainer_10l5p_1", Vo = "_calendarHeader_10l5p_14", Go = "_monthYear_10l5p_21", qo = "_navigationButtons_10l5p_32", $o = "_grid_10l5p_41", Uo = "_dayNameCell_10l5p_48", Ko = "_dateCell_10l5p_65", Yo = "_dateNumberContainer_10l5p_90", Jo = "_otherMonth_10l5p_103", Zo = "_selectedDate_10l5p_129", ne = {
731
- calendarContainer: zo,
732
- calendarHeader: Vo,
733
- monthYear: Go,
734
- navigationButtons: qo,
735
- grid: $o,
736
- dayNameCell: Uo,
737
- dateCell: Ko,
729
+ Et.displayName = "ChevronRightIcon";
730
+ const Ho = "_calendarContainer_10l5p_1", Wo = "_calendarHeader_10l5p_14", Vo = "_monthYear_10l5p_21", Go = "_navigationButtons_10l5p_32", Uo = "_grid_10l5p_41", Ko = "_dayNameCell_10l5p_48", qo = "_dateCell_10l5p_65", Yo = "_dateNumberContainer_10l5p_90", Jo = "_otherMonth_10l5p_103", Zo = "_selectedDate_10l5p_129", se = {
731
+ calendarContainer: Ho,
732
+ calendarHeader: Wo,
733
+ monthYear: Vo,
734
+ navigationButtons: Go,
735
+ grid: Uo,
736
+ dayNameCell: Ko,
737
+ dateCell: qo,
738
738
  dateNumberContainer: Yo,
739
739
  otherMonth: Jo,
740
740
  selectedDate: Zo
741
- }, Xo = (e) => {
742
- const t = he(e), n = It(t, { locale: be }), r = At(n, 41);
743
- return Jn({ start: n, end: r });
744
- }, ht = (e) => e && e.charAt(0).toUpperCase() + e.slice(1), Qo = ({
745
- initialDate: e = /* @__PURE__ */ new Date(),
746
- selectedDate: t = null,
741
+ }, Xo = (t) => {
742
+ const e = ke(t), n = Lt(e, { locale: be }), s = At(n, 41);
743
+ return Zn({ start: n, end: s });
744
+ }, vt = (t) => t && t.charAt(0).toUpperCase() + t.slice(1), Qo = ({
745
+ initialDate: t = /* @__PURE__ */ new Date(),
746
+ selectedDate: e = null,
747
747
  // Prop for valgt dato
748
748
  onDateSelect: n,
749
- "data-color": r,
749
+ "data-color": s,
750
750
  // <-- Destrukturert
751
- "data-size": a
751
+ "data-size": i
752
752
  // <-- Destrukturert
753
753
  }) => {
754
- const [s, o] = re(
755
- he(t && Ve(t) ? t : e)
754
+ const [a, o] = oe(
755
+ ke(e && Ve(e) ? e : t)
756
756
  );
757
- ie(() => {
758
- if (t && Ve(t)) {
759
- const m = he(t);
760
- ut(m, s) || o(m);
757
+ ne(() => {
758
+ if (e && Ve(e)) {
759
+ const g = ke(e);
760
+ gt(g, a) || o(g);
761
761
  }
762
- }, [t]);
763
- const d = ve(() => he(/* @__PURE__ */ new Date()), []), l = ve(() => !1, [s, d]), u = ve(
764
- () => Xo(s),
765
- [s]
762
+ }, [e]);
763
+ const d = ve(() => ke(/* @__PURE__ */ new Date()), []), l = ve(() => !1, [a, d]), u = ve(
764
+ () => Xo(a),
765
+ [a]
766
766
  ), y = ve(() => {
767
- const m = It(/* @__PURE__ */ new Date(), { locale: be });
768
- return Array.from({ length: 7 }).map((T, L) => {
769
- const _ = xe(At(m, L), "EEEEEE", { locale: be });
770
- return ht(_);
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);
771
771
  });
772
- }, []), f = oe(() => {
773
- l || o((m) => he($n(m, 1)));
774
- }, [l]), h = oe(() => {
775
- o((m) => he(Un(m, 1)));
776
- }, []), g = oe(
777
- (m) => {
778
- n && n(m);
772
+ }, []), f = ae(() => {
773
+ l || o((g) => ke(Kn(g, 1)));
774
+ }, [l]), k = ae(() => {
775
+ o((g) => ke(qn(g, 1)));
776
+ }, []), m = ae(
777
+ (g) => {
778
+ n && n(g);
779
779
  },
780
780
  [n]
781
- ), k = oe(
782
- (m, T) => {
783
- (m.key === "Enter" || m.key === " ") && (m.preventDefault(), g(T));
781
+ ), h = ae(
782
+ (g, x) => {
783
+ (g.key === "Enter" || g.key === " ") && (g.preventDefault(), m(x));
784
784
  },
785
- [g]
786
- ), b = xe(s, "MMMM", { locale: be }), v = xe(s, "yyyy", { locale: be }), p = `${ht(b)} ${v}`;
787
- return /* @__PURE__ */ i.jsxs(
785
+ [m]
786
+ ), b = Te(a, "MMMM", { locale: be }), v = Te(a, "yyyy", { locale: be }), p = `${vt(b)} ${v}`;
787
+ return /* @__PURE__ */ r.jsxs(
788
788
  "div",
789
789
  {
790
- className: ne.calendarContainer,
791
- "data-color": r,
792
- "data-size": a,
790
+ className: se.calendarContainer,
791
+ "data-color": s,
792
+ "data-size": i,
793
793
  children: [
794
- /* @__PURE__ */ i.jsxs("div", { className: ne.calendarHeader, children: [
795
- /* @__PURE__ */ i.jsx("span", { className: ne.monthYear, children: p }),
796
- /* @__PURE__ */ i.jsxs("div", { className: ne.navigationButtons, children: [
797
- /* @__PURE__ */ i.jsx(
798
- Ue,
794
+ /* @__PURE__ */ r.jsxs("div", { className: se.calendarHeader, children: [
795
+ /* @__PURE__ */ r.jsx("span", { className: se.monthYear, children: p }),
796
+ /* @__PURE__ */ r.jsxs("div", { className: se.navigationButtons, children: [
797
+ /* @__PURE__ */ r.jsx(
798
+ qe,
799
799
  {
800
800
  variant: "tertiary",
801
801
  icon: !0,
802
802
  onClick: f,
803
803
  "aria-label": "Forrige måned",
804
804
  disabled: l,
805
- children: /* @__PURE__ */ i.jsx(Lt, {})
805
+ children: /* @__PURE__ */ r.jsx(_t, {})
806
806
  }
807
807
  ),
808
- /* @__PURE__ */ i.jsx(
809
- Ue,
808
+ /* @__PURE__ */ r.jsx(
809
+ qe,
810
810
  {
811
811
  variant: "tertiary",
812
812
  icon: !0,
813
- onClick: h,
813
+ onClick: k,
814
814
  "aria-label": "Neste måned",
815
- children: /* @__PURE__ */ i.jsx(_t, {})
815
+ children: /* @__PURE__ */ r.jsx(Et, {})
816
816
  }
817
817
  )
818
818
  ] })
819
819
  ] }),
820
- /* @__PURE__ */ i.jsx("div", { className: ne.grid, children: y.map((m) => /* @__PURE__ */ i.jsx("div", { className: ne.dayNameCell, children: m }, m)) }),
821
- /* @__PURE__ */ i.jsx("div", { className: ne.grid, children: u.map((m) => {
822
- const T = ut(m, s), L = t && Ve(t) && Kn(m, t), _ = Yn(m), A = [
823
- ne.dateCell,
824
- T ? "" : ne.otherMonth,
825
- L ? ne.selectedDate : "",
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), _ = [
823
+ se.dateCell,
824
+ x ? "" : se.otherMonth,
825
+ F ? se.selectedDate : "",
826
826
  // Utheving basert på prop
827
- _ && !L ? ne.todayDate : ""
827
+ B && !F ? se.todayDate : ""
828
828
  ].filter(Boolean).join(" ");
829
- return /* @__PURE__ */ i.jsx(
829
+ return /* @__PURE__ */ r.jsx(
830
830
  "div",
831
831
  {
832
- className: A,
833
- onClick: () => g(m),
834
- onKeyDown: (w) => k(w, m),
832
+ className: _,
833
+ onClick: () => m(g),
834
+ onKeyDown: (j) => h(j, g),
835
835
  role: "button",
836
836
  tabIndex: 0,
837
- "aria-pressed": L ?? !1,
838
- "aria-label": xe(m, "PPP", { locale: be }),
839
- children: /* @__PURE__ */ i.jsx("span", { className: ne.dateNumberContainer, children: xe(m, "d") })
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") })
840
840
  },
841
- m.toISOString()
841
+ g.toISOString()
842
842
  );
843
843
  }) })
844
844
  ]
@@ -854,27 +854,27 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
854
854
  inputWrapperError: rr,
855
855
  suffixButton: sr,
856
856
  suffixButtonInteractive: ar
857
- }, bt = (e) => {
858
- const t = e.slice(0, 2), n = e.slice(2, 4), r = e.slice(4, 8);
859
- return e.length > 4 ? `${t}.${n}.${r}` : e.length > 2 ? `${t}.${n}` : e.length > 0 ? t : "";
860
- }, vt = (e) => (e || "").replace(/\D/g, ""), yt = (e) => {
861
- let t = e;
862
- if (t.length >= 2) {
863
- const n = parseInt(t.substring(0, 2), 10);
864
- !isNaN(n) && n > 31 && (t = "31" + t.substring(2));
865
- }
866
- if (t.length >= 4) {
867
- const n = parseInt(t.substring(2, 4), 10);
868
- !isNaN(n) && n > 12 && (t = t.substring(0, 2) + "12" + t.substring(4));
869
- }
870
- return t.slice(0, 8);
857
+ }, yt = (t) => {
858
+ const e = t.slice(0, 2), n = t.slice(2, 4), s = t.slice(4, 8);
859
+ return t.length > 4 ? `${e}.${n}.${s}` : t.length > 2 ? `${e}.${n}` : t.length > 0 ? e : "";
860
+ }, xt = (t) => (t || "").replace(/\D/g, ""), Tt = (t) => {
861
+ let e = t;
862
+ if (e.length >= 2) {
863
+ const n = parseInt(e.substring(0, 2), 10);
864
+ !isNaN(n) && n > 31 && (e = "31" + e.substring(2));
865
+ }
866
+ if (e.length >= 4) {
867
+ const n = parseInt(e.substring(2, 4), 10);
868
+ !isNaN(n) && n > 12 && (e = e.substring(0, 2) + "12" + e.substring(4));
869
+ }
870
+ return e.slice(0, 8);
871
871
  }, ir = ue(
872
- (e, t) => {
872
+ (t, e) => {
873
873
  const {
874
874
  label: n,
875
- suffixIcon: r,
876
- onSuffixClick: a,
877
- className: s,
875
+ suffixIcon: s,
876
+ onSuffixClick: i,
877
+ className: a,
878
878
  // For ytre fieldset
879
879
  inputWrapperClassName: o,
880
880
  // For input wrapper div
@@ -884,130 +884,130 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
884
884
  defaultValue: u,
885
885
  onChange: y,
886
886
  readOnly: f,
887
- placeholder: h = "dd.mm.åååå",
888
- id: g,
889
- name: k,
887
+ placeholder: k = "dd.mm.åååå",
888
+ id: m,
889
+ name: h,
890
890
  required: b,
891
891
  disabled: v,
892
892
  onClick: p,
893
- onFocus: m,
893
+ onFocus: g,
894
894
  // Send ekstern onFocus videre
895
- onBlur: T,
895
+ onBlur: x,
896
896
  // Send ekstern onBlur videre
897
- autoComplete: L = "off",
898
- "aria-label": _,
899
- "aria-labelledby": A,
900
- description: w,
901
- error: D,
897
+ autoComplete: F = "off",
898
+ "aria-label": B,
899
+ "aria-labelledby": _,
900
+ description: j,
901
+ error: L,
902
902
  // Bruk error-prop for styling
903
- "data-color": F,
903
+ "data-color": E,
904
904
  // <-- Destrukturering
905
- "data-size": O,
905
+ "data-size": $,
906
906
  // <-- Destrukturering
907
- ...P
908
- } = e, H = l !== void 0, B = $e(null);
909
- jt.useImperativeHandle(
910
- t,
911
- () => B.current
907
+ ...N
908
+ } = t, H = l !== void 0, M = Ke(null);
909
+ Dt.useImperativeHandle(
910
+ e,
911
+ () => M.current
912
912
  );
913
- const M = oe(
914
- (q) => {
915
- const E = vt(q), W = yt(E);
916
- return bt(W);
913
+ const R = ae(
914
+ (I) => {
915
+ const C = xt(I), W = Tt(C);
916
+ return yt(W);
917
917
  },
918
918
  []
919
- ), [j, Q] = re(
920
- () => M(l ?? u)
919
+ ), [D, K] = oe(
920
+ () => R(l ?? u)
921
921
  );
922
- ie(() => {
922
+ ne(() => {
923
923
  if (H) {
924
- const q = M(l);
925
- q !== j && (Q(q), B.current && B.current.value !== q && (B.current.value = q));
924
+ const I = R(l);
925
+ I !== D && (K(I), M.current && M.current.value !== I && (M.current.value = I));
926
926
  }
927
- }, [l, H, j, M]);
928
- const U = oe(
929
- (q) => {
930
- const E = q.target, W = E.value, ee = j, Z = vt(W).slice(0, 8), z = yt(Z), x = bt(z);
931
- let R = 0;
932
- const V = z.length;
933
- V <= 2 ? R = V : V <= 4 ? R = V + 1 : R = V + 2, R = Math.min(R, x.length), requestAnimationFrame(() => {
934
- if (B.current && (Q(x), B.current.value = x, B.current.setSelectionRange(R, R), (x !== ee || H) && y)) {
935
- const $ = {
936
- ...q,
937
- target: { ...E, value: x }
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);
931
+ let O = 0;
932
+ const G = V.length;
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)) {
935
+ const Z = {
936
+ ...I,
937
+ target: { ...C, value: w }
938
938
  };
939
- y($, x);
939
+ y(Z, w);
940
940
  }
941
941
  });
942
942
  },
943
- [j, H, y, M]
944
- ), K = [pe.fieldset, s].filter(Boolean).join(" "), Y = [
943
+ [D, H, y, R]
944
+ ), Y = [pe.fieldset, a].filter(Boolean).join(" "), q = [
945
945
  pe.inputWrapper,
946
946
  o,
947
- D ? pe.inputWrapperError : ""
948
- ].filter(Boolean).join(" "), te = [
947
+ L ? pe.inputWrapperError : ""
948
+ ].filter(Boolean).join(" "), re = [
949
949
  d
950
950
  ].filter(Boolean).join(" "), c = [
951
951
  pe.suffixButton,
952
- a ? pe.suffixButtonInteractive : ""
952
+ i ? pe.suffixButtonInteractive : ""
953
953
  ].filter(Boolean).join(" ");
954
- !n && !_ && !A && console.warn("Advarsel: DateInput-komponenten bør ha label, aria-label, eller aria-labelledby for tilgjengelighet.");
955
- const I = n && typeof n == "string" ? A || `${g}-label` : void 0, S = w ? `${g}-desc` : void 0, N = D ? `${g}-err` : void 0, J = [S, N].filter(Boolean).join(" ") || void 0;
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;
956
956
  return (
957
957
  // --- Bruk data-color og data-size på den ytre wrapperen ---
958
- /* @__PURE__ */ i.jsxs(
958
+ /* @__PURE__ */ r.jsxs(
959
959
  "div",
960
960
  {
961
- className: K,
962
- "data-color": F,
963
- "data-size": O,
961
+ className: Y,
962
+ "data-color": E,
963
+ "data-size": $,
964
964
  children: [
965
- n && typeof n == "string" ? /* @__PURE__ */ i.jsx("label", { id: I, htmlFor: g, children: n }) : n,
966
- w && /* @__PURE__ */ i.jsx("p", { id: S, className: pe.description, children: w }),
967
- /* @__PURE__ */ i.jsxs("div", { className: Y, children: [
968
- /* @__PURE__ */ i.jsx(
965
+ n && typeof n == "string" ? /* @__PURE__ */ r.jsx("label", { id: A, htmlFor: m, children: n }) : n,
966
+ j && /* @__PURE__ */ r.jsx("p", { id: P, className: pe.description, children: j }),
967
+ /* @__PURE__ */ r.jsxs("div", { className: q, children: [
968
+ /* @__PURE__ */ r.jsx(
969
969
  "input",
970
970
  {
971
- ref: B,
971
+ ref: M,
972
972
  type: "text",
973
973
  inputMode: "numeric",
974
974
  pattern: "\\d{2}\\.\\d{2}\\.\\d{4}",
975
975
  maxLength: 10,
976
- value: j,
976
+ value: D,
977
977
  readOnly: f,
978
- placeholder: h,
979
- id: g,
980
- name: k,
978
+ placeholder: k,
979
+ id: m,
980
+ name: h,
981
981
  required: b,
982
982
  disabled: v,
983
983
  onClick: p,
984
- onChange: U,
985
- onFocus: m,
986
- onBlur: T,
987
- autoComplete: L,
988
- "aria-label": _,
989
- "aria-labelledby": I,
990
- "aria-describedby": J,
991
- "aria-invalid": !!D,
992
- className: te,
993
- ...P
984
+ onChange: te,
985
+ onFocus: g,
986
+ onBlur: x,
987
+ autoComplete: F,
988
+ "aria-label": B,
989
+ "aria-labelledby": A,
990
+ "aria-describedby": S,
991
+ "aria-invalid": !!L,
992
+ className: re,
993
+ ...N
994
994
  }
995
995
  ),
996
- r && /* @__PURE__ */ i.jsx(
996
+ s && /* @__PURE__ */ r.jsx(
997
997
  "button",
998
998
  {
999
999
  type: "button",
1000
1000
  className: c,
1001
- onClick: v ? void 0 : a,
1002
- tabIndex: a && !v ? 0 : -1,
1003
- "aria-hidden": !a,
1001
+ onClick: v ? void 0 : i,
1002
+ tabIndex: i && !v ? 0 : -1,
1003
+ "aria-hidden": !i,
1004
1004
  disabled: v,
1005
- "aria-label": a ? "Åpne datovelger" : void 0,
1006
- children: r
1005
+ "aria-label": i ? "Åpne datovelger" : void 0,
1006
+ children: s
1007
1007
  }
1008
1008
  )
1009
1009
  ] }),
1010
- D && /* @__PURE__ */ i.jsx("p", { id: N, className: pe.error, role: "alert", children: D })
1010
+ L && /* @__PURE__ */ r.jsx("p", { id: z, className: pe.error, role: "alert", children: L })
1011
1011
  ]
1012
1012
  }
1013
1013
  )
@@ -1015,248 +1015,248 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
1015
1015
  }
1016
1016
  );
1017
1017
  ir.displayName = "DateInput";
1018
- function lr(e) {
1019
- return Object.prototype.toString.call(e) === "[object Object]";
1018
+ function lr(t) {
1019
+ return Object.prototype.toString.call(t) === "[object Object]";
1020
1020
  }
1021
- function Tt(e) {
1022
- return lr(e) || Array.isArray(e);
1021
+ function St(t) {
1022
+ return lr(t) || Array.isArray(t);
1023
1023
  }
1024
1024
  function dr() {
1025
1025
  return !!(typeof window < "u" && window.document && window.document.createElement);
1026
1026
  }
1027
- function Ze(e, t) {
1028
- const n = Object.keys(e), r = Object.keys(t);
1029
- if (n.length !== r.length) return !1;
1030
- const a = JSON.stringify(Object.keys(e.breakpoints || {})), s = JSON.stringify(Object.keys(t.breakpoints || {}));
1031
- return a !== s ? !1 : n.every((o) => {
1032
- const d = e[o], l = t[o];
1033
- return typeof d == "function" ? `${d}` == `${l}` : !Tt(d) || !Tt(l) ? d === l : Ze(d, l);
1027
+ function Xe(t, e) {
1028
+ const n = Object.keys(t), s = Object.keys(e);
1029
+ if (n.length !== s.length) return !1;
1030
+ const i = JSON.stringify(Object.keys(t.breakpoints || {})), a = JSON.stringify(Object.keys(e.breakpoints || {}));
1031
+ return i !== a ? !1 : n.every((o) => {
1032
+ const d = t[o], l = e[o];
1033
+ return typeof d == "function" ? `${d}` == `${l}` : !St(d) || !St(l) ? d === l : Xe(d, l);
1034
1034
  });
1035
1035
  }
1036
- function xt(e) {
1037
- return e.concat().sort((t, n) => t.name > n.name ? 1 : -1).map((t) => t.options);
1036
+ function wt(t) {
1037
+ return t.concat().sort((e, n) => e.name > n.name ? 1 : -1).map((e) => e.options);
1038
1038
  }
1039
- function cr(e, t) {
1040
- if (e.length !== t.length) return !1;
1041
- const n = xt(e), r = xt(t);
1042
- return n.every((a, s) => {
1043
- const o = r[s];
1044
- return Ze(a, o);
1039
+ function cr(t, e) {
1040
+ if (t.length !== e.length) return !1;
1041
+ const n = wt(t), s = wt(e);
1042
+ return n.every((i, a) => {
1043
+ const o = s[a];
1044
+ return Xe(i, o);
1045
1045
  });
1046
1046
  }
1047
- function Xe(e) {
1048
- return typeof e == "number";
1047
+ function Qe(t) {
1048
+ return typeof t == "number";
1049
1049
  }
1050
- function Ke(e) {
1051
- return typeof e == "string";
1050
+ function Ye(t) {
1051
+ return typeof t == "string";
1052
1052
  }
1053
- function Me(e) {
1054
- return typeof e == "boolean";
1053
+ function Re(t) {
1054
+ return typeof t == "boolean";
1055
1055
  }
1056
- function St(e) {
1057
- return Object.prototype.toString.call(e) === "[object Object]";
1056
+ function Ct(t) {
1057
+ return Object.prototype.toString.call(t) === "[object Object]";
1058
1058
  }
1059
- function G(e) {
1060
- return Math.abs(e);
1059
+ function U(t) {
1060
+ return Math.abs(t);
1061
1061
  }
1062
- function Qe(e) {
1063
- return Math.sign(e);
1062
+ function et(t) {
1063
+ return Math.sign(t);
1064
1064
  }
1065
- function Ie(e, t) {
1066
- return G(e - t);
1065
+ function Ie(t, e) {
1066
+ return U(t - e);
1067
1067
  }
1068
- function ur(e, t) {
1069
- if (e === 0 || t === 0 || G(e) <= G(t)) return 0;
1070
- const n = Ie(G(e), G(t));
1071
- return G(n / e);
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);
1072
1072
  }
1073
- function mr(e) {
1074
- return Math.round(e * 100) / 100;
1073
+ function gr(t) {
1074
+ return Math.round(t * 100) / 100;
1075
1075
  }
1076
- function Ae(e) {
1077
- return Fe(e).map(Number);
1076
+ function Le(t) {
1077
+ return Ae(t).map(Number);
1078
1078
  }
1079
- function se(e) {
1080
- return e[_e(e)];
1079
+ function ie(t) {
1080
+ return t[_e(t)];
1081
1081
  }
1082
- function _e(e) {
1083
- return Math.max(0, e.length - 1);
1082
+ function _e(t) {
1083
+ return Math.max(0, t.length - 1);
1084
1084
  }
1085
- function et(e, t) {
1086
- return t === _e(e);
1085
+ function tt(t, e) {
1086
+ return e === _e(t);
1087
1087
  }
1088
- function wt(e, t = 0) {
1089
- return Array.from(Array(e), (n, r) => t + r);
1088
+ function jt(t, e = 0) {
1089
+ return Array.from(Array(t), (n, s) => e + s);
1090
1090
  }
1091
- function Fe(e) {
1092
- return Object.keys(e);
1091
+ function Ae(t) {
1092
+ return Object.keys(t);
1093
1093
  }
1094
- function Nt(e, t) {
1095
- return [e, t].reduce((n, r) => (Fe(r).forEach((a) => {
1096
- const s = n[a], o = r[a], d = St(s) && St(o);
1097
- n[a] = d ? Nt(s, o) : o;
1094
+ function Bt(t, e) {
1095
+ return [t, e].reduce((n, s) => (Ae(s).forEach((i) => {
1096
+ const a = n[i], o = s[i], d = Ct(a) && Ct(o);
1097
+ n[i] = d ? Bt(a, o) : o;
1098
1098
  }), n), {});
1099
1099
  }
1100
- function Ye(e, t) {
1101
- return typeof t.MouseEvent < "u" && e instanceof t.MouseEvent;
1100
+ function Je(t, e) {
1101
+ return typeof e.MouseEvent < "u" && t instanceof e.MouseEvent;
1102
1102
  }
1103
- function gr(e, t) {
1103
+ function mr(t, e) {
1104
1104
  const n = {
1105
- start: r,
1106
- center: a,
1107
- end: s
1105
+ start: s,
1106
+ center: i,
1107
+ end: a
1108
1108
  };
1109
- function r() {
1109
+ function s() {
1110
1110
  return 0;
1111
1111
  }
1112
- function a(l) {
1113
- return s(l) / 2;
1112
+ function i(l) {
1113
+ return a(l) / 2;
1114
1114
  }
1115
- function s(l) {
1116
- return t - l;
1115
+ function a(l) {
1116
+ return e - l;
1117
1117
  }
1118
1118
  function o(l, u) {
1119
- return Ke(e) ? n[e](l) : e(t, l, u);
1119
+ return Ye(t) ? n[t](l) : t(e, l, u);
1120
1120
  }
1121
1121
  return {
1122
1122
  measure: o
1123
1123
  };
1124
1124
  }
1125
- function Le() {
1126
- let e = [];
1127
- function t(a, s, o, d = {
1125
+ function Fe() {
1126
+ let t = [];
1127
+ function e(i, a, o, d = {
1128
1128
  passive: !0
1129
1129
  }) {
1130
1130
  let l;
1131
- if ("addEventListener" in a)
1132
- a.addEventListener(s, o, d), l = () => a.removeEventListener(s, o, d);
1131
+ if ("addEventListener" in i)
1132
+ i.addEventListener(a, o, d), l = () => i.removeEventListener(a, o, d);
1133
1133
  else {
1134
- const u = a;
1134
+ const u = i;
1135
1135
  u.addListener(o), l = () => u.removeListener(o);
1136
1136
  }
1137
- return e.push(l), r;
1137
+ return t.push(l), s;
1138
1138
  }
1139
1139
  function n() {
1140
- e = e.filter((a) => a());
1140
+ t = t.filter((i) => i());
1141
1141
  }
1142
- const r = {
1143
- add: t,
1142
+ const s = {
1143
+ add: e,
1144
1144
  clear: n
1145
1145
  };
1146
- return r;
1146
+ return s;
1147
1147
  }
1148
- function pr(e, t, n, r) {
1149
- const a = Le(), s = 1e3 / 60;
1148
+ function pr(t, e, n, s) {
1149
+ const i = Fe(), a = 1e3 / 60;
1150
1150
  let o = null, d = 0, l = 0;
1151
1151
  function u() {
1152
- a.add(e, "visibilitychange", () => {
1153
- e.hidden && k();
1152
+ i.add(t, "visibilitychange", () => {
1153
+ t.hidden && h();
1154
1154
  });
1155
1155
  }
1156
1156
  function y() {
1157
- g(), a.clear();
1157
+ m(), i.clear();
1158
1158
  }
1159
1159
  function f(v) {
1160
1160
  if (!l) return;
1161
1161
  o || (o = v, n(), n());
1162
1162
  const p = v - o;
1163
- for (o = v, d += p; d >= s; )
1164
- n(), d -= s;
1165
- const m = d / s;
1166
- r(m), l && (l = t.requestAnimationFrame(f));
1163
+ for (o = v, d += p; d >= a; )
1164
+ n(), d -= a;
1165
+ const g = d / a;
1166
+ s(g), l && (l = e.requestAnimationFrame(f));
1167
1167
  }
1168
- function h() {
1169
- l || (l = t.requestAnimationFrame(f));
1168
+ function k() {
1169
+ l || (l = e.requestAnimationFrame(f));
1170
1170
  }
1171
- function g() {
1172
- t.cancelAnimationFrame(l), o = null, d = 0, l = 0;
1171
+ function m() {
1172
+ e.cancelAnimationFrame(l), o = null, d = 0, l = 0;
1173
1173
  }
1174
- function k() {
1174
+ function h() {
1175
1175
  o = null, d = 0;
1176
1176
  }
1177
1177
  return {
1178
1178
  init: u,
1179
1179
  destroy: y,
1180
- start: h,
1181
- stop: g,
1180
+ start: k,
1181
+ stop: m,
1182
1182
  update: n,
1183
- render: r
1183
+ render: s
1184
1184
  };
1185
1185
  }
1186
- function fr(e, t) {
1187
- const n = t === "rtl", r = e === "y", a = r ? "y" : "x", s = r ? "x" : "y", o = !r && n ? -1 : 1, d = y(), l = f();
1188
- function u(k) {
1186
+ function fr(t, e) {
1187
+ const n = e === "rtl", s = t === "y", i = s ? "y" : "x", a = s ? "x" : "y", o = !s && n ? -1 : 1, d = y(), l = f();
1188
+ function u(h) {
1189
1189
  const {
1190
1190
  height: b,
1191
1191
  width: v
1192
- } = k;
1193
- return r ? b : v;
1192
+ } = h;
1193
+ return s ? b : v;
1194
1194
  }
1195
1195
  function y() {
1196
- return r ? "top" : n ? "right" : "left";
1196
+ return s ? "top" : n ? "right" : "left";
1197
1197
  }
1198
1198
  function f() {
1199
- return r ? "bottom" : n ? "left" : "right";
1199
+ return s ? "bottom" : n ? "left" : "right";
1200
1200
  }
1201
- function h(k) {
1202
- return k * o;
1201
+ function k(h) {
1202
+ return h * o;
1203
1203
  }
1204
1204
  return {
1205
- scroll: a,
1206
- cross: s,
1205
+ scroll: i,
1206
+ cross: a,
1207
1207
  startEdge: d,
1208
1208
  endEdge: l,
1209
1209
  measureSize: u,
1210
- direction: h
1210
+ direction: k
1211
1211
  };
1212
1212
  }
1213
- function fe(e = 0, t = 0) {
1214
- const n = G(e - t);
1215
- function r(u) {
1216
- return u < e;
1213
+ function fe(t = 0, e = 0) {
1214
+ const n = U(t - e);
1215
+ function s(u) {
1216
+ return u < t;
1217
1217
  }
1218
- function a(u) {
1219
- return u > t;
1218
+ function i(u) {
1219
+ return u > e;
1220
1220
  }
1221
- function s(u) {
1222
- return r(u) || a(u);
1221
+ function a(u) {
1222
+ return s(u) || i(u);
1223
1223
  }
1224
1224
  function o(u) {
1225
- return s(u) ? r(u) ? e : t : u;
1225
+ return a(u) ? s(u) ? t : e : u;
1226
1226
  }
1227
1227
  function d(u) {
1228
- return n ? u - n * Math.ceil((u - t) / n) : u;
1228
+ return n ? u - n * Math.ceil((u - e) / n) : u;
1229
1229
  }
1230
1230
  return {
1231
1231
  length: n,
1232
- max: t,
1233
- min: e,
1232
+ max: e,
1233
+ min: t,
1234
1234
  constrain: o,
1235
- reachedAny: s,
1236
- reachedMax: a,
1237
- reachedMin: r,
1235
+ reachedAny: a,
1236
+ reachedMax: i,
1237
+ reachedMin: s,
1238
1238
  removeOffset: d
1239
1239
  };
1240
1240
  }
1241
- function Et(e, t, n) {
1241
+ function Nt(t, e, n) {
1242
1242
  const {
1243
- constrain: r
1244
- } = fe(0, e), a = e + 1;
1245
- let s = o(t);
1246
- function o(h) {
1247
- return n ? G((a + h) % a) : r(h);
1243
+ constrain: s
1244
+ } = fe(0, t), i = t + 1;
1245
+ let a = o(e);
1246
+ function o(k) {
1247
+ return n ? U((i + k) % i) : s(k);
1248
1248
  }
1249
1249
  function d() {
1250
- return s;
1250
+ return a;
1251
1251
  }
1252
- function l(h) {
1253
- return s = o(h), f;
1252
+ function l(k) {
1253
+ return a = o(k), f;
1254
1254
  }
1255
- function u(h) {
1256
- return y().set(d() + h);
1255
+ function u(k) {
1256
+ return y().set(d() + k);
1257
1257
  }
1258
1258
  function y() {
1259
- return Et(e, d(), n);
1259
+ return Nt(t, d(), n);
1260
1260
  }
1261
1261
  const f = {
1262
1262
  get: d,
@@ -1266,96 +1266,96 @@ function Et(e, t, n) {
1266
1266
  };
1267
1267
  return f;
1268
1268
  }
1269
- function kr(e, t, n, r, a, s, o, d, l, u, y, f, h, g, k, b, v, p, m) {
1269
+ function hr(t, e, n, s, i, a, o, d, l, u, y, f, k, m, h, b, v, p, g) {
1270
1270
  const {
1271
- cross: T,
1272
- direction: L
1273
- } = e, _ = ["INPUT", "SELECT", "TEXTAREA"], A = {
1271
+ cross: x,
1272
+ direction: F
1273
+ } = t, B = ["INPUT", "SELECT", "TEXTAREA"], _ = {
1274
1274
  passive: !1
1275
- }, w = Le(), D = Le(), F = fe(50, 225).constrain(g.measure(20)), O = {
1275
+ }, j = Fe(), L = Fe(), E = fe(50, 225).constrain(m.measure(20)), $ = {
1276
1276
  mouse: 300,
1277
1277
  touch: 400
1278
- }, P = {
1278
+ }, N = {
1279
1279
  mouse: 500,
1280
1280
  touch: 600
1281
- }, H = k ? 43 : 25;
1282
- let B = !1, M = 0, j = 0, Q = !1, U = !1, K = !1, Y = !1;
1283
- function te(x) {
1284
- if (!m) return;
1285
- function R($) {
1286
- (Me(m) || m(x, $)) && q($);
1281
+ }, H = h ? 43 : 25;
1282
+ let M = !1, R = 0, D = 0, K = !1, te = !1, Y = !1, q = !1;
1283
+ function re(w) {
1284
+ if (!g) return;
1285
+ function O(Z) {
1286
+ (Re(g) || g(w, Z)) && I(Z);
1287
1287
  }
1288
- const V = t;
1289
- w.add(V, "dragstart", ($) => $.preventDefault(), A).add(V, "touchmove", () => {
1290
- }, A).add(V, "touchend", () => {
1291
- }).add(V, "touchstart", R).add(V, "mousedown", R).add(V, "touchcancel", W).add(V, "contextmenu", W).add(V, "click", ee, !0);
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);
1292
1292
  }
1293
1293
  function c() {
1294
- w.clear(), D.clear();
1294
+ j.clear(), L.clear();
1295
1295
  }
1296
- function I() {
1297
- const x = Y ? n : t;
1298
- D.add(x, "touchmove", E, A).add(x, "touchend", W).add(x, "mousemove", E, A).add(x, "mouseup", W);
1296
+ function A() {
1297
+ const w = q ? n : e;
1298
+ L.add(w, "touchmove", C, _).add(w, "touchend", W).add(w, "mousemove", C, _).add(w, "mouseup", W);
1299
1299
  }
1300
- function S(x) {
1301
- const R = x.nodeName || "";
1302
- return _.includes(R);
1300
+ function P(w) {
1301
+ const O = w.nodeName || "";
1302
+ return B.includes(O);
1303
1303
  }
1304
- function N() {
1305
- return (k ? P : O)[Y ? "mouse" : "touch"];
1304
+ function z() {
1305
+ return (h ? N : $)[q ? "mouse" : "touch"];
1306
1306
  }
1307
- function J(x, R) {
1308
- const V = f.add(Qe(x) * -1), $ = y.byDistance(x, !k).distance;
1309
- return k || G(x) < F ? $ : v && R ? $ * 0.5 : y.byIndex(V.get(), 0).distance;
1307
+ function S(w, O) {
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;
1310
1310
  }
1311
- function q(x) {
1312
- const R = Ye(x, r);
1313
- Y = R, K = k && R && !x.buttons && B, B = Ie(a.get(), o.get()) >= 2, !(R && x.button !== 0) && (S(x.target) || (Q = !0, s.pointerDown(x), u.useFriction(0).useDuration(0), a.set(o), I(), M = s.readPoint(x), j = s.readPoint(x, T), h.emit("pointerDown")));
1311
+ function I(w) {
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")));
1314
1314
  }
1315
- function E(x) {
1316
- if (!Ye(x, r) && x.touches.length >= 2) return W(x);
1317
- const V = s.readPoint(x), $ = s.readPoint(x, T), ae = Ie(V, M), le = Ie($, j);
1318
- if (!U && !Y && (!x.cancelable || (U = ae > le, !U)))
1319
- return W(x);
1320
- const me = s.pointerMove(x);
1321
- ae > b && (K = !0), u.useFriction(0.3).useDuration(0.75), d.start(), a.add(L(me)), x.preventDefault();
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();
1322
1322
  }
1323
- function W(x) {
1324
- const V = y.byDistance(0, !1).index !== f.get(), $ = s.pointerUp(x) * N(), ae = J(L($), V), le = ur($, ae), me = H - 10 * le, de = p + le / 50;
1325
- U = !1, Q = !1, D.clear(), u.useDuration(me).useFriction(de), l.distance(ae, !k), Y = !1, h.emit("pointerUp");
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");
1326
1326
  }
1327
- function ee(x) {
1328
- K && (x.stopPropagation(), x.preventDefault(), K = !1);
1327
+ function J(w) {
1328
+ Y && (w.stopPropagation(), w.preventDefault(), Y = !1);
1329
1329
  }
1330
- function Z() {
1331
- return Q;
1330
+ function X() {
1331
+ return K;
1332
1332
  }
1333
1333
  return {
1334
- init: te,
1334
+ init: re,
1335
1335
  destroy: c,
1336
- pointerDown: Z
1336
+ pointerDown: X
1337
1337
  };
1338
1338
  }
1339
- function hr(e, t) {
1340
- let r, a;
1341
- function s(f) {
1339
+ function kr(t, e) {
1340
+ let s, i;
1341
+ function a(f) {
1342
1342
  return f.timeStamp;
1343
1343
  }
1344
- function o(f, h) {
1345
- const k = `client${(h || e.scroll) === "x" ? "X" : "Y"}`;
1346
- return (Ye(f, t) ? f : f.touches[0])[k];
1344
+ function o(f, k) {
1345
+ const h = `client${(k || t.scroll) === "x" ? "X" : "Y"}`;
1346
+ return (Je(f, e) ? f : f.touches[0])[h];
1347
1347
  }
1348
1348
  function d(f) {
1349
- return r = f, a = f, o(f);
1349
+ return s = f, i = f, o(f);
1350
1350
  }
1351
1351
  function l(f) {
1352
- const h = o(f) - o(a), g = s(f) - s(r) > 170;
1353
- return a = f, g && (r = f), h;
1352
+ const k = o(f) - o(i), m = a(f) - a(s) > 170;
1353
+ return i = f, m && (s = f), k;
1354
1354
  }
1355
1355
  function u(f) {
1356
- if (!r || !a) return 0;
1357
- const h = o(a) - o(r), g = s(f) - s(r), k = s(f) - s(a) > 170, b = h / g;
1358
- return g && !k && G(b) > 0.1 ? b : 0;
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;
1359
1359
  }
1360
1360
  return {
1361
1361
  pointerDown: d,
@@ -1365,79 +1365,79 @@ function hr(e, t) {
1365
1365
  };
1366
1366
  }
1367
1367
  function br() {
1368
- function e(n) {
1368
+ function t(n) {
1369
1369
  const {
1370
- offsetTop: r,
1371
- offsetLeft: a,
1372
- offsetWidth: s,
1370
+ offsetTop: s,
1371
+ offsetLeft: i,
1372
+ offsetWidth: a,
1373
1373
  offsetHeight: o
1374
1374
  } = n;
1375
1375
  return {
1376
- top: r,
1377
- right: a + s,
1378
- bottom: r + o,
1379
- left: a,
1380
- width: s,
1376
+ top: s,
1377
+ right: i + a,
1378
+ bottom: s + o,
1379
+ left: i,
1380
+ width: a,
1381
1381
  height: o
1382
1382
  };
1383
1383
  }
1384
1384
  return {
1385
- measure: e
1385
+ measure: t
1386
1386
  };
1387
1387
  }
1388
- function vr(e) {
1389
- function t(r) {
1390
- return e * (r / 100);
1388
+ function vr(t) {
1389
+ function e(s) {
1390
+ return t * (s / 100);
1391
1391
  }
1392
1392
  return {
1393
- measure: t
1393
+ measure: e
1394
1394
  };
1395
1395
  }
1396
- function yr(e, t, n, r, a, s, o) {
1397
- const d = [e].concat(r);
1396
+ function yr(t, e, n, s, i, a, o) {
1397
+ const d = [t].concat(s);
1398
1398
  let l, u, y = [], f = !1;
1399
- function h(v) {
1400
- return a.measureSize(o.measure(v));
1401
- }
1402
- function g(v) {
1403
- if (!s) return;
1404
- u = h(e), y = r.map(h);
1405
- function p(m) {
1406
- for (const T of m) {
1399
+ function k(v) {
1400
+ return i.measureSize(o.measure(v));
1401
+ }
1402
+ function m(v) {
1403
+ if (!a) return;
1404
+ u = k(t), y = s.map(k);
1405
+ function p(g) {
1406
+ for (const x of g) {
1407
1407
  if (f) return;
1408
- const L = T.target === e, _ = r.indexOf(T.target), A = L ? u : y[_], w = h(L ? e : r[_]);
1409
- if (G(w - A) >= 0.5) {
1410
- v.reInit(), t.emit("resize");
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) {
1410
+ v.reInit(), e.emit("resize");
1411
1411
  break;
1412
1412
  }
1413
1413
  }
1414
1414
  }
1415
- l = new ResizeObserver((m) => {
1416
- (Me(s) || s(v, m)) && p(m);
1415
+ l = new ResizeObserver((g) => {
1416
+ (Re(a) || a(v, g)) && p(g);
1417
1417
  }), n.requestAnimationFrame(() => {
1418
- d.forEach((m) => l.observe(m));
1418
+ d.forEach((g) => l.observe(g));
1419
1419
  });
1420
1420
  }
1421
- function k() {
1421
+ function h() {
1422
1422
  f = !0, l && l.disconnect();
1423
1423
  }
1424
1424
  return {
1425
- init: g,
1426
- destroy: k
1425
+ init: m,
1426
+ destroy: h
1427
1427
  };
1428
1428
  }
1429
- function Tr(e, t, n, r, a, s) {
1430
- let o = 0, d = 0, l = a, u = s, y = e.get(), f = 0;
1431
- function h() {
1432
- const A = r.get() - e.get(), w = !l;
1433
- let D = 0;
1434
- return w ? (o = 0, n.set(r), e.set(r), D = A) : (n.set(e), o += A / l, o *= u, y += o, e.add(o), D = y - f), d = Qe(D), f = y, _;
1429
+ function xr(t, e, n, s, i, a) {
1430
+ let o = 0, d = 0, l = i, u = a, y = t.get(), f = 0;
1431
+ function k() {
1432
+ const _ = s.get() - t.get(), j = !l;
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;
1435
1435
  }
1436
- function g() {
1437
- const A = r.get() - t.get();
1438
- return G(A) < 1e-3;
1436
+ function m() {
1437
+ const _ = s.get() - e.get();
1438
+ return U(_) < 1e-3;
1439
1439
  }
1440
- function k() {
1440
+ function h() {
1441
1441
  return l;
1442
1442
  }
1443
1443
  function b() {
@@ -1447,43 +1447,43 @@ function Tr(e, t, n, r, a, s) {
1447
1447
  return o;
1448
1448
  }
1449
1449
  function p() {
1450
- return T(a);
1450
+ return x(i);
1451
1451
  }
1452
- function m() {
1453
- return L(s);
1452
+ function g() {
1453
+ return F(a);
1454
1454
  }
1455
- function T(A) {
1456
- return l = A, _;
1455
+ function x(_) {
1456
+ return l = _, B;
1457
1457
  }
1458
- function L(A) {
1459
- return u = A, _;
1458
+ function F(_) {
1459
+ return u = _, B;
1460
1460
  }
1461
- const _ = {
1461
+ const B = {
1462
1462
  direction: b,
1463
- duration: k,
1463
+ duration: h,
1464
1464
  velocity: v,
1465
- seek: h,
1466
- settled: g,
1467
- useBaseFriction: m,
1465
+ seek: k,
1466
+ settled: m,
1467
+ useBaseFriction: g,
1468
1468
  useBaseDuration: p,
1469
- useFriction: L,
1470
- useDuration: T
1469
+ useFriction: F,
1470
+ useDuration: x
1471
1471
  };
1472
- return _;
1472
+ return B;
1473
1473
  }
1474
- function xr(e, t, n, r, a) {
1475
- const s = a.measure(10), o = a.measure(50), d = fe(0.1, 0.99);
1474
+ function Tr(t, e, n, s, i) {
1475
+ const a = i.measure(10), o = i.measure(50), d = fe(0.1, 0.99);
1476
1476
  let l = !1;
1477
1477
  function u() {
1478
- return !(l || !e.reachedAny(n.get()) || !e.reachedAny(t.get()));
1478
+ return !(l || !t.reachedAny(n.get()) || !t.reachedAny(e.get()));
1479
1479
  }
1480
- function y(g) {
1480
+ function y(m) {
1481
1481
  if (!u()) return;
1482
- const k = e.reachedMin(t.get()) ? "min" : "max", b = G(e[k] - t.get()), v = n.get() - t.get(), p = d.constrain(b / o);
1483
- n.subtract(v * p), !g && G(v) < s && (n.set(e.constrain(n.get())), r.useDuration(25).useBaseFriction());
1482
+ const h = t.reachedMin(e.get()) ? "min" : "max", b = U(t[h] - e.get()), v = n.get() - e.get(), p = d.constrain(b / o);
1483
+ n.subtract(v * p), !m && U(v) < a && (n.set(t.constrain(n.get())), s.useDuration(25).useBaseFriction());
1484
1484
  }
1485
- function f(g) {
1486
- l = !g;
1485
+ function f(m) {
1486
+ l = !m;
1487
1487
  }
1488
1488
  return {
1489
1489
  shouldConstrain: u,
@@ -1491,88 +1491,88 @@ function xr(e, t, n, r, a) {
1491
1491
  toggleActive: f
1492
1492
  };
1493
1493
  }
1494
- function Sr(e, t, n, r, a) {
1495
- const s = fe(-t + e, 0), o = f(), d = y(), l = h();
1496
- function u(k, b) {
1497
- return Ie(k, b) <= 1;
1494
+ function Sr(t, e, n, s, i) {
1495
+ const a = fe(-e + t, 0), o = f(), d = y(), l = k();
1496
+ function u(h, b) {
1497
+ return Ie(h, b) <= 1;
1498
1498
  }
1499
1499
  function y() {
1500
- const k = o[0], b = se(o), v = o.lastIndexOf(k), p = o.indexOf(b) + 1;
1500
+ const h = o[0], b = ie(o), v = o.lastIndexOf(h), p = o.indexOf(b) + 1;
1501
1501
  return fe(v, p);
1502
1502
  }
1503
1503
  function f() {
1504
- return n.map((k, b) => {
1504
+ return n.map((h, b) => {
1505
1505
  const {
1506
1506
  min: v,
1507
1507
  max: p
1508
- } = s, m = s.constrain(k), T = !b, L = et(n, b);
1509
- return T ? p : L || u(v, m) ? v : u(p, m) ? p : m;
1510
- }).map((k) => parseFloat(k.toFixed(3)));
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;
1510
+ }).map((h) => parseFloat(h.toFixed(3)));
1511
1511
  }
1512
- function h() {
1513
- if (t <= e + a) return [s.max];
1514
- if (r === "keepSnaps") return o;
1512
+ function k() {
1513
+ if (e <= t + i) return [a.max];
1514
+ if (s === "keepSnaps") return o;
1515
1515
  const {
1516
- min: k,
1516
+ min: h,
1517
1517
  max: b
1518
1518
  } = d;
1519
- return o.slice(k, b);
1519
+ return o.slice(h, b);
1520
1520
  }
1521
1521
  return {
1522
1522
  snapsContained: l,
1523
1523
  scrollContainLimit: d
1524
1524
  };
1525
1525
  }
1526
- function wr(e, t, n) {
1527
- const r = t[0], a = n ? r - e : se(t);
1526
+ function wr(t, e, n) {
1527
+ const s = e[0], i = n ? s - t : ie(e);
1528
1528
  return {
1529
- limit: fe(a, r)
1529
+ limit: fe(i, s)
1530
1530
  };
1531
1531
  }
1532
- function Cr(e, t, n, r) {
1533
- const s = t.min + 0.1, o = t.max + 0.1, {
1532
+ function Cr(t, e, n, s) {
1533
+ const a = e.min + 0.1, o = e.max + 0.1, {
1534
1534
  reachedMin: d,
1535
1535
  reachedMax: l
1536
- } = fe(s, o);
1537
- function u(h) {
1538
- return h === 1 ? l(n.get()) : h === -1 ? d(n.get()) : !1;
1536
+ } = fe(a, o);
1537
+ function u(k) {
1538
+ return k === 1 ? l(n.get()) : k === -1 ? d(n.get()) : !1;
1539
1539
  }
1540
- function y(h) {
1541
- if (!u(h)) return;
1542
- const g = e * (h * -1);
1543
- r.forEach((k) => k.add(g));
1540
+ function y(k) {
1541
+ if (!u(k)) return;
1542
+ const m = t * (k * -1);
1543
+ s.forEach((h) => h.add(m));
1544
1544
  }
1545
1545
  return {
1546
1546
  loop: y
1547
1547
  };
1548
1548
  }
1549
- function jr(e) {
1549
+ function jr(t) {
1550
1550
  const {
1551
- max: t,
1551
+ max: e,
1552
1552
  length: n
1553
- } = e;
1554
- function r(s) {
1555
- const o = s - t;
1553
+ } = t;
1554
+ function s(a) {
1555
+ const o = a - e;
1556
1556
  return n ? o / -n : 0;
1557
1557
  }
1558
1558
  return {
1559
- get: r
1559
+ get: s
1560
1560
  };
1561
1561
  }
1562
- function Dr(e, t, n, r, a) {
1562
+ function Dr(t, e, n, s, i) {
1563
1563
  const {
1564
- startEdge: s,
1564
+ startEdge: a,
1565
1565
  endEdge: o
1566
- } = e, {
1566
+ } = t, {
1567
1567
  groupSlides: d
1568
- } = a, l = f().map(t.measure), u = h(), y = g();
1568
+ } = i, l = f().map(e.measure), u = k(), y = m();
1569
1569
  function f() {
1570
- return d(r).map((b) => se(b)[o] - b[0][s]).map(G);
1570
+ return d(s).map((b) => ie(b)[o] - b[0][a]).map(U);
1571
1571
  }
1572
- function h() {
1573
- return r.map((b) => n[s] - b[s]).map((b) => -G(b));
1572
+ function k() {
1573
+ return s.map((b) => n[a] - b[a]).map((b) => -U(b));
1574
1574
  }
1575
- function g() {
1575
+ function m() {
1576
1576
  return d(u).map((b) => b[0]).map((b, v) => b + l[v]);
1577
1577
  }
1578
1578
  return {
@@ -1580,46 +1580,46 @@ function Dr(e, t, n, r, a) {
1580
1580
  snapsAligned: y
1581
1581
  };
1582
1582
  }
1583
- function Ir(e, t, n, r, a, s) {
1583
+ function Ir(t, e, n, s, i, a) {
1584
1584
  const {
1585
1585
  groupSlides: o
1586
- } = a, {
1586
+ } = i, {
1587
1587
  min: d,
1588
1588
  max: l
1589
- } = r, u = y();
1589
+ } = s, u = y();
1590
1590
  function y() {
1591
- const h = o(s), g = !e || t === "keepSnaps";
1592
- return n.length === 1 ? [s] : g ? h : h.slice(d, l).map((k, b, v) => {
1593
- const p = !b, m = et(v, b);
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);
1594
1594
  if (p) {
1595
- const T = se(v[0]) + 1;
1596
- return wt(T);
1595
+ const x = ie(v[0]) + 1;
1596
+ return jt(x);
1597
1597
  }
1598
- if (m) {
1599
- const T = _e(s) - se(v)[0] + 1;
1600
- return wt(T, se(v)[0]);
1598
+ if (g) {
1599
+ const x = _e(a) - ie(v)[0] + 1;
1600
+ return jt(x, ie(v)[0]);
1601
1601
  }
1602
- return k;
1602
+ return h;
1603
1603
  });
1604
1604
  }
1605
1605
  return {
1606
1606
  slideRegistry: u
1607
1607
  };
1608
1608
  }
1609
- function Ar(e, t, n, r, a) {
1609
+ function Lr(t, e, n, s, i) {
1610
1610
  const {
1611
- reachedAny: s,
1611
+ reachedAny: a,
1612
1612
  removeOffset: o,
1613
1613
  constrain: d
1614
- } = r;
1615
- function l(k) {
1616
- return k.concat().sort((b, v) => G(b) - G(v))[0];
1614
+ } = s;
1615
+ function l(h) {
1616
+ return h.concat().sort((b, v) => U(b) - U(v))[0];
1617
1617
  }
1618
- function u(k) {
1619
- const b = e ? o(k) : d(k), v = t.map((m, T) => ({
1620
- diff: y(m - b, 0),
1621
- index: T
1622
- })).sort((m, T) => G(m.diff) - G(T.diff)), {
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)), {
1623
1623
  index: p
1624
1624
  } = v[0];
1625
1625
  return {
@@ -1627,129 +1627,129 @@ function Ar(e, t, n, r, a) {
1627
1627
  distance: b
1628
1628
  };
1629
1629
  }
1630
- function y(k, b) {
1631
- const v = [k, k + n, k - n];
1632
- if (!e) return k;
1630
+ function y(h, b) {
1631
+ const v = [h, h + n, h - n];
1632
+ if (!t) return h;
1633
1633
  if (!b) return l(v);
1634
- const p = v.filter((m) => Qe(m) === b);
1635
- return p.length ? l(p) : se(v) - n;
1634
+ const p = v.filter((g) => et(g) === b);
1635
+ return p.length ? l(p) : ie(v) - n;
1636
1636
  }
1637
- function f(k, b) {
1638
- const v = t[k] - a.get(), p = y(v, b);
1637
+ function f(h, b) {
1638
+ const v = e[h] - i.get(), p = y(v, b);
1639
1639
  return {
1640
- index: k,
1640
+ index: h,
1641
1641
  distance: p
1642
1642
  };
1643
1643
  }
1644
- function h(k, b) {
1645
- const v = a.get() + k, {
1644
+ function k(h, b) {
1645
+ const v = i.get() + h, {
1646
1646
  index: p,
1647
- distance: m
1648
- } = u(v), T = !e && s(v);
1649
- if (!b || T) return {
1647
+ distance: g
1648
+ } = u(v), x = !t && a(v);
1649
+ if (!b || x) return {
1650
1650
  index: p,
1651
- distance: k
1651
+ distance: h
1652
1652
  };
1653
- const L = t[p] - m, _ = k + y(L, 0);
1653
+ const F = e[p] - g, B = h + y(F, 0);
1654
1654
  return {
1655
1655
  index: p,
1656
- distance: _
1656
+ distance: B
1657
1657
  };
1658
1658
  }
1659
1659
  return {
1660
- byDistance: h,
1660
+ byDistance: k,
1661
1661
  byIndex: f,
1662
1662
  shortcut: y
1663
1663
  };
1664
1664
  }
1665
- function Fr(e, t, n, r, a, s, o) {
1665
+ function Ar(t, e, n, s, i, a, o) {
1666
1666
  function d(f) {
1667
- const h = f.distance, g = f.index !== t.get();
1668
- s.add(h), h && (r.duration() ? e.start() : (e.update(), e.render(1), e.update())), g && (n.set(t.get()), t.set(f.index), o.emit("select"));
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"));
1669
1669
  }
1670
- function l(f, h) {
1671
- const g = a.byDistance(f, h);
1672
- d(g);
1670
+ function l(f, k) {
1671
+ const m = i.byDistance(f, k);
1672
+ d(m);
1673
1673
  }
1674
- function u(f, h) {
1675
- const g = t.clone().set(f), k = a.byIndex(g.get(), h);
1676
- d(k);
1674
+ function u(f, k) {
1675
+ const m = e.clone().set(f), h = i.byIndex(m.get(), k);
1676
+ d(h);
1677
1677
  }
1678
1678
  return {
1679
1679
  distance: l,
1680
1680
  index: u
1681
1681
  };
1682
1682
  }
1683
- function Lr(e, t, n, r, a, s, o, d) {
1683
+ function Fr(t, e, n, s, i, a, o, d) {
1684
1684
  const l = {
1685
1685
  passive: !0,
1686
1686
  capture: !0
1687
1687
  };
1688
1688
  let u = 0;
1689
- function y(g) {
1689
+ function y(m) {
1690
1690
  if (!d) return;
1691
- function k(b) {
1691
+ function h(b) {
1692
1692
  if ((/* @__PURE__ */ new Date()).getTime() - u > 10) return;
1693
- o.emit("slideFocusStart"), e.scrollLeft = 0;
1694
- const m = n.findIndex((T) => T.includes(b));
1695
- Xe(m) && (a.useDuration(0), r.index(m, 0), o.emit("slideFocus"));
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"));
1696
1696
  }
1697
- s.add(document, "keydown", f, !1), t.forEach((b, v) => {
1698
- s.add(b, "focus", (p) => {
1699
- (Me(d) || d(g, p)) && k(v);
1697
+ a.add(document, "keydown", f, !1), e.forEach((b, v) => {
1698
+ a.add(b, "focus", (p) => {
1699
+ (Re(d) || d(m, p)) && h(v);
1700
1700
  }, l);
1701
1701
  });
1702
1702
  }
1703
- function f(g) {
1704
- g.code === "Tab" && (u = (/* @__PURE__ */ new Date()).getTime());
1703
+ function f(m) {
1704
+ m.code === "Tab" && (u = (/* @__PURE__ */ new Date()).getTime());
1705
1705
  }
1706
1706
  return {
1707
1707
  init: y
1708
1708
  };
1709
1709
  }
1710
- function De(e) {
1711
- let t = e;
1710
+ function De(t) {
1711
+ let e = t;
1712
1712
  function n() {
1713
- return t;
1713
+ return e;
1714
1714
  }
1715
- function r(l) {
1716
- t = o(l);
1715
+ function s(l) {
1716
+ e = o(l);
1717
1717
  }
1718
- function a(l) {
1719
- t += o(l);
1718
+ function i(l) {
1719
+ e += o(l);
1720
1720
  }
1721
- function s(l) {
1722
- t -= o(l);
1721
+ function a(l) {
1722
+ e -= o(l);
1723
1723
  }
1724
1724
  function o(l) {
1725
- return Xe(l) ? l : l.get();
1725
+ return Qe(l) ? l : l.get();
1726
1726
  }
1727
1727
  return {
1728
1728
  get: n,
1729
- set: r,
1730
- add: a,
1731
- subtract: s
1729
+ set: s,
1730
+ add: i,
1731
+ subtract: a
1732
1732
  };
1733
1733
  }
1734
- function Pt(e, t) {
1735
- const n = e.scroll === "x" ? o : d, r = t.style;
1736
- let a = null, s = !1;
1737
- function o(h) {
1738
- return `translate3d(${h}px,0px,0px)`;
1734
+ function Pt(t, e) {
1735
+ const n = t.scroll === "x" ? o : d, s = e.style;
1736
+ let i = null, a = !1;
1737
+ function o(k) {
1738
+ return `translate3d(${k}px,0px,0px)`;
1739
1739
  }
1740
- function d(h) {
1741
- return `translate3d(0px,${h}px,0px)`;
1740
+ function d(k) {
1741
+ return `translate3d(0px,${k}px,0px)`;
1742
1742
  }
1743
- function l(h) {
1744
- if (s) return;
1745
- const g = mr(e.direction(h));
1746
- g !== a && (r.transform = n(g), a = g);
1743
+ function l(k) {
1744
+ if (a) return;
1745
+ const m = gr(t.direction(k));
1746
+ m !== i && (s.transform = n(m), i = m);
1747
1747
  }
1748
- function u(h) {
1749
- s = !h;
1748
+ function u(k) {
1749
+ a = !k;
1750
1750
  }
1751
1751
  function y() {
1752
- s || (r.transform = "", t.getAttribute("style") || t.removeAttribute("style"));
1752
+ a || (s.transform = "", e.getAttribute("style") || e.removeAttribute("style"));
1753
1753
  }
1754
1754
  return {
1755
1755
  clear: y,
@@ -1757,316 +1757,316 @@ function Pt(e, t) {
1757
1757
  toggleActive: u
1758
1758
  };
1759
1759
  }
1760
- function _r(e, t, n, r, a, s, o, d, l) {
1761
- const y = Ae(a), f = Ae(a).reverse(), h = p().concat(m());
1762
- function g(w, D) {
1763
- return w.reduce((F, O) => F - a[O], D);
1764
- }
1765
- function k(w, D) {
1766
- return w.reduce((F, O) => g(F, D) > 0 ? F.concat([O]) : F, []);
1767
- }
1768
- function b(w) {
1769
- return s.map((D, F) => ({
1770
- start: D - r[F] + 0.5 + w,
1771
- end: D + t - 0.5 + w
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);
1764
+ }
1765
+ function h(j, L) {
1766
+ return j.reduce((E, $) => m(E, L) > 0 ? E.concat([$]) : E, []);
1767
+ }
1768
+ function b(j) {
1769
+ return a.map((L, E) => ({
1770
+ start: L - s[E] + 0.5 + j,
1771
+ end: L + e - 0.5 + j
1772
1772
  }));
1773
1773
  }
1774
- function v(w, D, F) {
1775
- const O = b(D);
1776
- return w.map((P) => {
1777
- const H = F ? 0 : -n, B = F ? n : 0, M = F ? "end" : "start", j = O[P][M];
1774
+ function v(j, L, E) {
1775
+ const $ = b(L);
1776
+ return j.map((N) => {
1777
+ const H = E ? 0 : -n, M = E ? n : 0, R = E ? "end" : "start", D = $[N][R];
1778
1778
  return {
1779
- index: P,
1780
- loopPoint: j,
1779
+ index: N,
1780
+ loopPoint: D,
1781
1781
  slideLocation: De(-1),
1782
- translate: Pt(e, l[P]),
1783
- target: () => d.get() > j ? H : B
1782
+ translate: Pt(t, l[N]),
1783
+ target: () => d.get() > D ? H : M
1784
1784
  };
1785
1785
  });
1786
1786
  }
1787
1787
  function p() {
1788
- const w = o[0], D = k(f, w);
1789
- return v(D, n, !1);
1788
+ const j = o[0], L = h(f, j);
1789
+ return v(L, n, !1);
1790
1790
  }
1791
- function m() {
1792
- const w = t - o[0] - 1, D = k(y, w);
1793
- return v(D, -n, !0);
1791
+ function g() {
1792
+ const j = e - o[0] - 1, L = h(y, j);
1793
+ return v(L, -n, !0);
1794
1794
  }
1795
- function T() {
1796
- return h.every(({
1797
- index: w
1795
+ function x() {
1796
+ return k.every(({
1797
+ index: j
1798
1798
  }) => {
1799
- const D = y.filter((F) => F !== w);
1800
- return g(D, t) <= 0.1;
1799
+ const L = y.filter((E) => E !== j);
1800
+ return m(L, e) <= 0.1;
1801
1801
  });
1802
1802
  }
1803
- function L() {
1804
- h.forEach((w) => {
1803
+ function F() {
1804
+ k.forEach((j) => {
1805
1805
  const {
1806
- target: D,
1807
- translate: F,
1808
- slideLocation: O
1809
- } = w, P = D();
1810
- P !== O.get() && (F.to(P), O.set(P));
1806
+ target: L,
1807
+ translate: E,
1808
+ slideLocation: $
1809
+ } = j, N = L();
1810
+ N !== $.get() && (E.to(N), $.set(N));
1811
1811
  });
1812
1812
  }
1813
- function _() {
1814
- h.forEach((w) => w.translate.clear());
1813
+ function B() {
1814
+ k.forEach((j) => j.translate.clear());
1815
1815
  }
1816
1816
  return {
1817
- canLoop: T,
1818
- clear: _,
1819
- loop: L,
1820
- loopPoints: h
1817
+ canLoop: x,
1818
+ clear: B,
1819
+ loop: F,
1820
+ loopPoints: k
1821
1821
  };
1822
1822
  }
1823
- function Nr(e, t, n) {
1824
- let r, a = !1;
1825
- function s(l) {
1823
+ function Er(t, e, n) {
1824
+ let s, i = !1;
1825
+ function a(l) {
1826
1826
  if (!n) return;
1827
1827
  function u(y) {
1828
1828
  for (const f of y)
1829
1829
  if (f.type === "childList") {
1830
- l.reInit(), t.emit("slidesChanged");
1830
+ l.reInit(), e.emit("slidesChanged");
1831
1831
  break;
1832
1832
  }
1833
1833
  }
1834
- r = new MutationObserver((y) => {
1835
- a || (Me(n) || n(l, y)) && u(y);
1836
- }), r.observe(e, {
1834
+ s = new MutationObserver((y) => {
1835
+ i || (Re(n) || n(l, y)) && u(y);
1836
+ }), s.observe(t, {
1837
1837
  childList: !0
1838
1838
  });
1839
1839
  }
1840
1840
  function o() {
1841
- r && r.disconnect(), a = !0;
1841
+ s && s.disconnect(), i = !0;
1842
1842
  }
1843
1843
  return {
1844
- init: s,
1844
+ init: a,
1845
1845
  destroy: o
1846
1846
  };
1847
1847
  }
1848
- function Er(e, t, n, r) {
1849
- const a = {};
1850
- let s = null, o = null, d, l = !1;
1848
+ function Br(t, e, n, s) {
1849
+ const i = {};
1850
+ let a = null, o = null, d, l = !1;
1851
1851
  function u() {
1852
- d = new IntersectionObserver((k) => {
1853
- l || (k.forEach((b) => {
1854
- const v = t.indexOf(b.target);
1855
- a[v] = b;
1856
- }), s = null, o = null, n.emit("slidesInView"));
1852
+ d = new IntersectionObserver((h) => {
1853
+ l || (h.forEach((b) => {
1854
+ const v = e.indexOf(b.target);
1855
+ i[v] = b;
1856
+ }), a = null, o = null, n.emit("slidesInView"));
1857
1857
  }, {
1858
- root: e.parentElement,
1859
- threshold: r
1860
- }), t.forEach((k) => d.observe(k));
1858
+ root: t.parentElement,
1859
+ threshold: s
1860
+ }), e.forEach((h) => d.observe(h));
1861
1861
  }
1862
1862
  function y() {
1863
1863
  d && d.disconnect(), l = !0;
1864
1864
  }
1865
- function f(k) {
1866
- return Fe(a).reduce((b, v) => {
1865
+ function f(h) {
1866
+ return Ae(i).reduce((b, v) => {
1867
1867
  const p = parseInt(v), {
1868
- isIntersecting: m
1869
- } = a[p];
1870
- return (k && m || !k && !m) && b.push(p), b;
1868
+ isIntersecting: g
1869
+ } = i[p];
1870
+ return (h && g || !h && !g) && b.push(p), b;
1871
1871
  }, []);
1872
1872
  }
1873
- function h(k = !0) {
1874
- if (k && s) return s;
1875
- if (!k && o) return o;
1876
- const b = f(k);
1877
- return k && (s = b), k || (o = b), b;
1873
+ function k(h = !0) {
1874
+ if (h && a) return a;
1875
+ if (!h && o) return o;
1876
+ const b = f(h);
1877
+ return h && (a = b), h || (o = b), b;
1878
1878
  }
1879
1879
  return {
1880
1880
  init: u,
1881
1881
  destroy: y,
1882
- get: h
1882
+ get: k
1883
1883
  };
1884
1884
  }
1885
- function Pr(e, t, n, r, a, s) {
1885
+ function Nr(t, e, n, s, i, a) {
1886
1886
  const {
1887
1887
  measureSize: o,
1888
1888
  startEdge: d,
1889
1889
  endEdge: l
1890
- } = e, u = n[0] && a, y = k(), f = b(), h = n.map(o), g = v();
1891
- function k() {
1890
+ } = t, u = n[0] && i, y = h(), f = b(), k = n.map(o), m = v();
1891
+ function h() {
1892
1892
  if (!u) return 0;
1893
- const m = n[0];
1894
- return G(t[d] - m[d]);
1893
+ const g = n[0];
1894
+ return U(e[d] - g[d]);
1895
1895
  }
1896
1896
  function b() {
1897
1897
  if (!u) return 0;
1898
- const m = s.getComputedStyle(se(r));
1899
- return parseFloat(m.getPropertyValue(`margin-${l}`));
1898
+ const g = a.getComputedStyle(ie(s));
1899
+ return parseFloat(g.getPropertyValue(`margin-${l}`));
1900
1900
  }
1901
1901
  function v() {
1902
- return n.map((m, T, L) => {
1903
- const _ = !T, A = et(L, T);
1904
- return _ ? h[T] + y : A ? h[T] + f : L[T + 1][d] - m[d];
1905
- }).map(G);
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);
1906
1906
  }
1907
1907
  return {
1908
- slideSizes: h,
1909
- slideSizesWithGaps: g,
1908
+ slideSizes: k,
1909
+ slideSizesWithGaps: m,
1910
1910
  startGap: y,
1911
1911
  endGap: f
1912
1912
  };
1913
1913
  }
1914
- function Br(e, t, n, r, a, s, o, d, l) {
1914
+ function Pr(t, e, n, s, i, a, o, d, l) {
1915
1915
  const {
1916
1916
  startEdge: u,
1917
1917
  endEdge: y,
1918
1918
  direction: f
1919
- } = e, h = Xe(n);
1920
- function g(p, m) {
1921
- return Ae(p).filter((T) => T % m === 0).map((T) => p.slice(T, T + m));
1922
- }
1923
- function k(p) {
1924
- return p.length ? Ae(p).reduce((m, T, L) => {
1925
- const _ = se(m) || 0, A = _ === 0, w = T === _e(p), D = a[u] - s[_][u], F = a[u] - s[T][y], O = !r && A ? f(o) : 0, P = !r && w ? f(d) : 0, H = G(F - P - (D + O));
1926
- return L && H > t + l && m.push(T), w && m.push(p.length), m;
1927
- }, []).map((m, T, L) => {
1928
- const _ = Math.max(L[T - 1] || 0);
1929
- return p.slice(_, m);
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));
1922
+ }
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);
1930
1930
  }) : [];
1931
1931
  }
1932
1932
  function b(p) {
1933
- return h ? g(p, n) : k(p);
1933
+ return k ? m(p, n) : h(p);
1934
1934
  }
1935
1935
  return {
1936
1936
  groupSlides: b
1937
1937
  };
1938
1938
  }
1939
- function Mr(e, t, n, r, a, s, o) {
1939
+ function Mr(t, e, n, s, i, a, o) {
1940
1940
  const {
1941
1941
  align: d,
1942
1942
  axis: l,
1943
1943
  direction: u,
1944
1944
  startIndex: y,
1945
1945
  loop: f,
1946
- duration: h,
1947
- dragFree: g,
1948
- dragThreshold: k,
1946
+ duration: k,
1947
+ dragFree: m,
1948
+ dragThreshold: h,
1949
1949
  inViewThreshold: b,
1950
1950
  slidesToScroll: v,
1951
1951
  skipSnaps: p,
1952
- containScroll: m,
1953
- watchResize: T,
1954
- watchSlides: L,
1955
- watchDrag: _,
1956
- watchFocus: A
1957
- } = s, w = 2, D = br(), F = D.measure(t), O = n.map(D.measure), P = fr(l, u), H = P.measureSize(F), B = vr(H), M = gr(d, H), j = !f && !!m, Q = f || !!m, {
1958
- slideSizes: U,
1959
- slideSizesWithGaps: K,
1960
- startGap: Y,
1961
- endGap: te
1962
- } = Pr(P, F, O, n, Q, a), c = Br(P, H, v, f, F, O, Y, te, w), {
1963
- snaps: I,
1964
- snapsAligned: S
1965
- } = Dr(P, M, F, O, c), N = -se(I) + se(K), {
1966
- snapsContained: J,
1967
- scrollContainLimit: q
1968
- } = Sr(H, N, S, m, w), E = j ? J : S, {
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,
1959
+ slideSizesWithGaps: Y,
1960
+ startGap: q,
1961
+ endGap: re
1962
+ } = Nr(N, E, $, n, K, i), c = Pr(N, H, v, f, E, $, q, re, j), {
1963
+ snaps: A,
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
1969
  limit: W
1970
- } = wr(N, E, f), ee = Et(_e(E), y, f), Z = ee.clone(), z = Ae(n), x = ({
1971
- dragHandler: ke,
1972
- scrollBody: We,
1973
- scrollBounds: ze,
1970
+ } = wr(z, C, f), J = Nt(_e(C), y, f), X = J.clone(), V = Le(n), w = ({
1971
+ dragHandler: he,
1972
+ scrollBody: He,
1973
+ scrollBounds: We,
1974
1974
  options: {
1975
- loop: Ne
1975
+ loop: Ee
1976
1976
  }
1977
1977
  }) => {
1978
- Ne || ze.constrain(ke.pointerDown()), We.seek();
1979
- }, R = ({
1980
- scrollBody: ke,
1981
- translate: We,
1982
- location: ze,
1983
- offsetLocation: Ne,
1978
+ Ee || We.constrain(he.pointerDown()), He.seek();
1979
+ }, O = ({
1980
+ scrollBody: he,
1981
+ translate: He,
1982
+ location: We,
1983
+ offsetLocation: Ee,
1984
1984
  previousLocation: Ot,
1985
- scrollLooper: Ht,
1986
- slideLooper: Wt,
1987
- dragHandler: zt,
1985
+ scrollLooper: $t,
1986
+ slideLooper: Ht,
1987
+ dragHandler: Wt,
1988
1988
  animation: Vt,
1989
- eventHandler: st,
1989
+ eventHandler: at,
1990
1990
  scrollBounds: Gt,
1991
1991
  options: {
1992
- loop: at
1992
+ loop: it
1993
1993
  }
1994
- }, it) => {
1995
- const lt = ke.settled(), qt = !Gt.shouldConstrain(), dt = at ? lt : lt && qt, ct = dt && !zt.pointerDown();
1996
- ct && Vt.stop();
1997
- const $t = ze.get() * it + Ot.get() * (1 - it);
1998
- Ne.set($t), at && (Ht.loop(ke.direction()), Wt.loop()), We.to(Ne.get()), ct && st.emit("settle"), dt || st.emit("scroll");
1999
- }, V = pr(r, a, () => x(He), (ke) => R(He, ke)), $ = 0.68, ae = E[ee.get()], le = De(ae), me = De(ae), de = De(ae), ge = De(ae), Te = Tr(le, de, me, ge, h, $), Re = Ar(f, E, N, W, ge), Oe = Fr(V, ee, Z, Te, Re, ge, o), nt = jr(W), ot = Le(), Mt = Er(t, n, o, b), {
2000
- slideRegistry: rt
2001
- } = Ir(j, m, E, q, c, z), Rt = Lr(e, n, rt, Oe, Te, ot, o, A), He = {
2002
- ownerDocument: r,
2003
- ownerWindow: a,
1994
+ }, lt) => {
1995
+ const dt = he.settled(), Ut = !Gt.shouldConstrain(), ct = it ? dt : dt && Ut, ut = ct && !Wt.pointerDown();
1996
+ ut && Vt.stop();
1997
+ const Kt = We.get() * lt + Ot.get() * (1 - lt);
1998
+ Ee.set(Kt), it && ($t.loop(he.direction()), Ht.loop()), He.to(Ee.get()), ut && at.emit("settle"), ct || at.emit("scroll");
1999
+ }, G = pr(s, i, () => w($e), (he) => O($e, he)), Z = 0.68, le = C[J.get()], de = De(le), 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), {
2000
+ slideRegistry: st
2001
+ } = Ir(D, g, C, I, c, V), zt = Fr(t, n, st, Oe, xe, rt, o, _), $e = {
2002
+ ownerDocument: s,
2003
+ ownerWindow: i,
2004
2004
  eventHandler: o,
2005
- containerRect: F,
2006
- slideRects: O,
2007
- animation: V,
2008
- axis: P,
2009
- dragHandler: kr(P, e, r, a, ge, hr(P, a), le, V, Oe, Te, Re, ee, o, B, g, k, p, $, _),
2010
- eventStore: ot,
2011
- percentOfView: B,
2012
- index: ee,
2013
- indexPrevious: Z,
2005
+ containerRect: E,
2006
+ slideRects: $,
2007
+ animation: G,
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),
2010
+ eventStore: rt,
2011
+ percentOfView: M,
2012
+ index: J,
2013
+ indexPrevious: X,
2014
2014
  limit: W,
2015
- location: le,
2016
- offsetLocation: de,
2017
- previousLocation: me,
2018
- options: s,
2019
- resizeHandler: yr(t, o, a, n, P, T, D),
2020
- scrollBody: Te,
2021
- scrollBounds: xr(W, de, ge, Te, B),
2022
- scrollLooper: Cr(N, W, de, [le, de, me, ge]),
2023
- scrollProgress: nt,
2024
- scrollSnapList: E.map(nt.get),
2025
- scrollSnaps: E,
2026
- scrollTarget: Re,
2015
+ location: de,
2016
+ offsetLocation: ce,
2017
+ previousLocation: ge,
2018
+ options: a,
2019
+ resizeHandler: yr(e, o, i, n, N, x, L),
2020
+ scrollBody: xe,
2021
+ scrollBounds: Tr(W, ce, me, xe, M),
2022
+ scrollLooper: Cr(z, W, ce, [de, ce, ge, me]),
2023
+ scrollProgress: ot,
2024
+ scrollSnapList: C.map(ot.get),
2025
+ scrollSnaps: C,
2026
+ scrollTarget: ze,
2027
2027
  scrollTo: Oe,
2028
- slideLooper: _r(P, H, N, U, K, I, E, de, n),
2029
- slideFocus: Rt,
2030
- slidesHandler: Nr(t, o, L),
2031
- slidesInView: Mt,
2032
- slideIndexes: z,
2033
- slideRegistry: rt,
2028
+ slideLooper: _r(N, H, z, te, Y, A, C, ce, n),
2029
+ slideFocus: zt,
2030
+ slidesHandler: Er(e, o, F),
2031
+ slidesInView: Rt,
2032
+ slideIndexes: V,
2033
+ slideRegistry: st,
2034
2034
  slidesToScroll: c,
2035
- target: ge,
2036
- translate: Pt(P, t)
2035
+ target: me,
2036
+ translate: Pt(N, e)
2037
2037
  };
2038
- return He;
2038
+ return $e;
2039
2039
  }
2040
2040
  function Rr() {
2041
- let e = {}, t;
2041
+ let t = {}, e;
2042
2042
  function n(u) {
2043
- t = u;
2043
+ e = u;
2044
2044
  }
2045
- function r(u) {
2046
- return e[u] || [];
2045
+ function s(u) {
2046
+ return t[u] || [];
2047
2047
  }
2048
- function a(u) {
2049
- return r(u).forEach((y) => y(t, u)), l;
2048
+ function i(u) {
2049
+ return s(u).forEach((y) => y(e, u)), l;
2050
2050
  }
2051
- function s(u, y) {
2052
- return e[u] = r(u).concat([y]), l;
2051
+ function a(u, y) {
2052
+ return t[u] = s(u).concat([y]), l;
2053
2053
  }
2054
2054
  function o(u, y) {
2055
- return e[u] = r(u).filter((f) => f !== y), l;
2055
+ return t[u] = s(u).filter((f) => f !== y), l;
2056
2056
  }
2057
2057
  function d() {
2058
- e = {};
2058
+ t = {};
2059
2059
  }
2060
2060
  const l = {
2061
2061
  init: n,
2062
- emit: a,
2062
+ emit: i,
2063
2063
  off: o,
2064
- on: s,
2064
+ on: a,
2065
2065
  clear: d
2066
2066
  };
2067
2067
  return l;
2068
2068
  }
2069
- const Or = {
2069
+ const zr = {
2070
2070
  align: "center",
2071
2071
  axis: "x",
2072
2072
  container: null,
@@ -2088,189 +2088,189 @@ const Or = {
2088
2088
  watchSlides: !0,
2089
2089
  watchFocus: !0
2090
2090
  };
2091
- function Hr(e) {
2092
- function t(s, o) {
2093
- return Nt(s, o || {});
2091
+ function Or(t) {
2092
+ function e(a, o) {
2093
+ return Bt(a, o || {});
2094
2094
  }
2095
- function n(s) {
2096
- const o = s.breakpoints || {}, d = Fe(o).filter((l) => e.matchMedia(l).matches).map((l) => o[l]).reduce((l, u) => t(l, u), {});
2097
- return t(s, d);
2095
+ function n(a) {
2096
+ const o = a.breakpoints || {}, d = Ae(o).filter((l) => t.matchMedia(l).matches).map((l) => o[l]).reduce((l, u) => e(l, u), {});
2097
+ return e(a, d);
2098
2098
  }
2099
- function r(s) {
2100
- return s.map((o) => Fe(o.breakpoints || {})).reduce((o, d) => o.concat(d), []).map(e.matchMedia);
2099
+ function s(a) {
2100
+ return a.map((o) => Ae(o.breakpoints || {})).reduce((o, d) => o.concat(d), []).map(t.matchMedia);
2101
2101
  }
2102
2102
  return {
2103
- mergeOptions: t,
2103
+ mergeOptions: e,
2104
2104
  optionsAtMedia: n,
2105
- optionsMediaQueries: r
2105
+ optionsMediaQueries: s
2106
2106
  };
2107
2107
  }
2108
- function Wr(e) {
2109
- let t = [];
2110
- function n(s, o) {
2111
- return t = o.filter(({
2108
+ function $r(t) {
2109
+ let e = [];
2110
+ function n(a, o) {
2111
+ return e = o.filter(({
2112
2112
  options: d
2113
- }) => e.optionsAtMedia(d).active !== !1), t.forEach((d) => d.init(s, e)), o.reduce((d, l) => Object.assign(d, {
2113
+ }) => t.optionsAtMedia(d).active !== !1), e.forEach((d) => d.init(a, t)), o.reduce((d, l) => Object.assign(d, {
2114
2114
  [l.name]: l
2115
2115
  }), {});
2116
2116
  }
2117
- function r() {
2118
- t = t.filter((s) => s.destroy());
2117
+ function s() {
2118
+ e = e.filter((a) => a.destroy());
2119
2119
  }
2120
2120
  return {
2121
2121
  init: n,
2122
- destroy: r
2122
+ destroy: s
2123
2123
  };
2124
2124
  }
2125
- function Be(e, t, n) {
2126
- const r = e.ownerDocument, a = r.defaultView, s = Hr(a), o = Wr(s), d = Le(), l = Rr(), {
2125
+ function Me(t, e, n) {
2126
+ const s = t.ownerDocument, i = s.defaultView, a = Or(i), o = $r(a), d = Fe(), l = Rr(), {
2127
2127
  mergeOptions: u,
2128
2128
  optionsAtMedia: y,
2129
2129
  optionsMediaQueries: f
2130
- } = s, {
2131
- on: h,
2132
- off: g,
2133
- emit: k
2134
- } = l, b = P;
2135
- let v = !1, p, m = u(Or, Be.globalOptions), T = u(m), L = [], _, A, w;
2136
- function D() {
2130
+ } = a, {
2131
+ on: k,
2132
+ off: m,
2133
+ emit: h
2134
+ } = l, b = N;
2135
+ let v = !1, p, g = u(zr, Me.globalOptions), x = u(g), F = [], B, _, j;
2136
+ function L() {
2137
2137
  const {
2138
- container: z,
2139
- slides: x
2140
- } = T;
2141
- A = (Ke(z) ? e.querySelector(z) : z) || e.children[0];
2142
- const V = Ke(x) ? A.querySelectorAll(x) : x;
2143
- w = [].slice.call(V || A.children);
2144
- }
2145
- function F(z) {
2146
- const x = Mr(e, A, w, r, a, z, l);
2147
- if (z.loop && !x.slideLooper.canLoop()) {
2148
- const R = Object.assign({}, z, {
2138
+ container: V,
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);
2144
+ }
2145
+ function E(V) {
2146
+ const w = Mr(t, _, j, s, i, V, l);
2147
+ if (V.loop && !w.slideLooper.canLoop()) {
2148
+ const O = Object.assign({}, V, {
2149
2149
  loop: !1
2150
2150
  });
2151
- return F(R);
2151
+ return E(O);
2152
2152
  }
2153
- return x;
2153
+ return w;
2154
2154
  }
2155
- function O(z, x) {
2156
- v || (m = u(m, z), T = y(m), L = x || L, D(), p = F(T), f([m, ...L.map(({
2157
- options: R
2158
- }) => R)]).forEach((R) => d.add(R, "change", P)), T.active && (p.translate.to(p.location.get()), p.animation.init(), p.slidesInView.init(), p.slideFocus.init(Z), p.eventHandler.init(Z), p.resizeHandler.init(Z), p.slidesHandler.init(Z), p.options.loop && p.slideLooper.loop(), A.offsetParent && w.length && p.dragHandler.init(Z), _ = o.init(Z, L)));
2155
+ function $(V, w) {
2156
+ v || (g = u(g, V), x = y(g), F = w || F, L(), p = E(x), f([g, ...F.map(({
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)));
2159
2159
  }
2160
- function P(z, x) {
2161
- const R = c();
2162
- H(), O(u({
2163
- startIndex: R
2164
- }, z), x), l.emit("reInit");
2160
+ function N(V, w) {
2161
+ const O = c();
2162
+ H(), $(u({
2163
+ startIndex: O
2164
+ }, V), w), l.emit("reInit");
2165
2165
  }
2166
2166
  function H() {
2167
2167
  p.dragHandler.destroy(), p.eventStore.clear(), p.translate.clear(), p.slideLooper.clear(), p.resizeHandler.destroy(), p.slidesHandler.destroy(), p.slidesInView.destroy(), p.animation.destroy(), o.destroy(), d.clear();
2168
2168
  }
2169
- function B() {
2169
+ function M() {
2170
2170
  v || (v = !0, d.clear(), H(), l.emit("destroy"), l.clear());
2171
2171
  }
2172
- function M(z, x, R) {
2173
- !T.active || v || (p.scrollBody.useBaseFriction().useDuration(x === !0 ? 0 : T.duration), p.scrollTo.index(z, R || 0));
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));
2174
2174
  }
2175
- function j(z) {
2176
- const x = p.index.add(1).get();
2177
- M(x, z, -1);
2175
+ function D(V) {
2176
+ const w = p.index.add(1).get();
2177
+ R(w, V, -1);
2178
2178
  }
2179
- function Q(z) {
2180
- const x = p.index.add(-1).get();
2181
- M(x, z, 1);
2179
+ function K(V) {
2180
+ const w = p.index.add(-1).get();
2181
+ R(w, V, 1);
2182
2182
  }
2183
- function U() {
2183
+ function te() {
2184
2184
  return p.index.add(1).get() !== c();
2185
2185
  }
2186
- function K() {
2186
+ function Y() {
2187
2187
  return p.index.add(-1).get() !== c();
2188
2188
  }
2189
- function Y() {
2189
+ function q() {
2190
2190
  return p.scrollSnapList;
2191
2191
  }
2192
- function te() {
2192
+ function re() {
2193
2193
  return p.scrollProgress.get(p.offsetLocation.get());
2194
2194
  }
2195
2195
  function c() {
2196
2196
  return p.index.get();
2197
2197
  }
2198
- function I() {
2198
+ function A() {
2199
2199
  return p.indexPrevious.get();
2200
2200
  }
2201
- function S() {
2201
+ function P() {
2202
2202
  return p.slidesInView.get();
2203
2203
  }
2204
- function N() {
2204
+ function z() {
2205
2205
  return p.slidesInView.get(!1);
2206
2206
  }
2207
- function J() {
2208
- return _;
2207
+ function S() {
2208
+ return B;
2209
2209
  }
2210
- function q() {
2210
+ function I() {
2211
2211
  return p;
2212
2212
  }
2213
- function E() {
2214
- return e;
2213
+ function C() {
2214
+ return t;
2215
2215
  }
2216
2216
  function W() {
2217
- return A;
2217
+ return _;
2218
2218
  }
2219
- function ee() {
2220
- return w;
2219
+ function J() {
2220
+ return j;
2221
2221
  }
2222
- const Z = {
2223
- canScrollNext: U,
2224
- canScrollPrev: K,
2222
+ const X = {
2223
+ canScrollNext: te,
2224
+ canScrollPrev: Y,
2225
2225
  containerNode: W,
2226
- internalEngine: q,
2227
- destroy: B,
2228
- off: g,
2229
- on: h,
2230
- emit: k,
2231
- plugins: J,
2232
- previousScrollSnap: I,
2226
+ internalEngine: I,
2227
+ destroy: M,
2228
+ off: m,
2229
+ on: k,
2230
+ emit: h,
2231
+ plugins: S,
2232
+ previousScrollSnap: A,
2233
2233
  reInit: b,
2234
- rootNode: E,
2235
- scrollNext: j,
2236
- scrollPrev: Q,
2237
- scrollProgress: te,
2238
- scrollSnapList: Y,
2239
- scrollTo: M,
2234
+ rootNode: C,
2235
+ scrollNext: D,
2236
+ scrollPrev: K,
2237
+ scrollProgress: re,
2238
+ scrollSnapList: q,
2239
+ scrollTo: R,
2240
2240
  selectedScrollSnap: c,
2241
- slideNodes: ee,
2242
- slidesInView: S,
2243
- slidesNotInView: N
2241
+ slideNodes: J,
2242
+ slidesInView: P,
2243
+ slidesNotInView: z
2244
2244
  };
2245
- return O(t, n), setTimeout(() => l.emit("init"), 0), Z;
2245
+ return $(e, n), setTimeout(() => l.emit("init"), 0), X;
2246
2246
  }
2247
- Be.globalOptions = void 0;
2248
- function tt(e = {}, t = []) {
2249
- const n = $e(e), r = $e(t), [a, s] = re(), [o, d] = re(), l = oe(() => {
2250
- a && a.reInit(n.current, r.current);
2251
- }, [a]);
2252
- return ie(() => {
2253
- Ze(n.current, e) || (n.current = e, l());
2254
- }, [e, l]), ie(() => {
2255
- cr(r.current, t) || (r.current = t, l());
2256
- }, [t, l]), ie(() => {
2247
+ Me.globalOptions = void 0;
2248
+ function nt(t = {}, e = []) {
2249
+ const n = Ke(t), s = Ke(e), [i, a] = oe(), [o, d] = oe(), l = ae(() => {
2250
+ i && i.reInit(n.current, s.current);
2251
+ }, [i]);
2252
+ return ne(() => {
2253
+ Xe(n.current, t) || (n.current = t, l());
2254
+ }, [t, l]), ne(() => {
2255
+ cr(s.current, e) || (s.current = e, l());
2256
+ }, [e, l]), ne(() => {
2257
2257
  if (dr() && o) {
2258
- Be.globalOptions = tt.globalOptions;
2259
- const u = Be(o, n.current, r.current);
2260
- return s(u), () => u.destroy();
2258
+ Me.globalOptions = nt.globalOptions;
2259
+ const u = Me(o, n.current, s.current);
2260
+ return a(u), () => u.destroy();
2261
2261
  } else
2262
- s(void 0);
2263
- }, [o, s]), [d, a];
2262
+ a(void 0);
2263
+ }, [o, a]), [d, i];
2264
2264
  }
2265
- tt.globalOptions = void 0;
2266
- const zr = "_carouselContainer_1bu1s_1", Vr = "_viewport_1bu1s_11", Gr = "_slides_1bu1s_17", qr = "_slide_1bu1s_17", $r = "_slideInner_1bu1s_37", Ur = "_loaderOverlay_1bu1s_45", Kr = "_image_1bu1s_55", Yr = "_loaded_1bu1s_66", Jr = "_empty_1bu1s_78", Zr = "_controls_1bu1s_84", Xr = "_arrows_1bu1s_94", Qr = "_dots_1bu1s_104", es = "_dot_1bu1s_104", ts = "_dotActive_1bu1s_130", X = {
2267
- carouselContainer: zr,
2268
- viewport: Vr,
2269
- slides: Gr,
2270
- slide: qr,
2271
- slideInner: $r,
2272
- loaderOverlay: Ur,
2273
- image: Kr,
2265
+ nt.globalOptions = void 0;
2266
+ const Hr = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slides_1bu1s_17", Gr = "_slide_1bu1s_17", Ur = "_slideInner_1bu1s_37", Kr = "_loaderOverlay_1bu1s_45", qr = "_image_1bu1s_55", Yr = "_loaded_1bu1s_66", Jr = "_empty_1bu1s_78", Zr = "_controls_1bu1s_84", Xr = "_arrows_1bu1s_94", Qr = "_dots_1bu1s_104", es = "_dot_1bu1s_104", ts = "_dotActive_1bu1s_130", Q = {
2267
+ carouselContainer: Hr,
2268
+ viewport: Wr,
2269
+ slides: Vr,
2270
+ slide: Gr,
2271
+ slideInner: Ur,
2272
+ loaderOverlay: Kr,
2273
+ image: qr,
2274
2274
  loaded: Yr,
2275
2275
  empty: Jr,
2276
2276
  controls: Zr,
@@ -2278,13 +2278,13 @@ const zr = "_carouselContainer_1bu1s_1", Vr = "_viewport_1bu1s_11", Gr = "_slide
2278
2278
  dots: Qr,
2279
2279
  dot: es,
2280
2280
  dotActive: ts
2281
- }, ns = dn, os = ({
2282
- images: e,
2283
- autoPlay: t = !1,
2281
+ }, ns = cn, os = ({
2282
+ images: t,
2283
+ autoPlay: e = !1,
2284
2284
  autoDelay: n = 5,
2285
- showArrows: r = !0,
2286
- showDots: a = !0,
2287
- variant: s,
2285
+ showArrows: s = !0,
2286
+ showDots: i = !0,
2287
+ variant: a,
2288
2288
  slidesPerView: o = 1,
2289
2289
  slideSpacing: d = 16,
2290
2290
  cornerRadius: l = 0,
@@ -2296,123 +2296,123 @@ const zr = "_carouselContainer_1bu1s_1", Vr = "_viewport_1bu1s_11", Gr = "_slide
2296
2296
  align: "start",
2297
2297
  containScroll: "trimSnaps",
2298
2298
  slidesToScroll: 1
2299
- }, [h, g] = tt(f), [k, b] = re(0), [v, p] = re([]), [m, T] = re([]);
2300
- ie(() => {
2301
- T(new Array((e == null ? void 0 : e.length) || 0).fill(!1));
2302
- }, [e]);
2303
- const L = oe((B) => {
2304
- T((M) => {
2305
- const j = [...M];
2306
- return j[B] = !0, j;
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));
2302
+ }, [t]);
2303
+ const F = ae((M) => {
2304
+ x((R) => {
2305
+ const D = [...R];
2306
+ return D[M] = !0, D;
2307
2307
  });
2308
- }, []), _ = ve(() => n * 1e3, [n]), A = oe(() => {
2309
- g && b(g.selectedScrollSnap());
2310
- }, [g]), w = oe((B) => g && g.scrollTo(B), [g]), D = oe(() => g && g.scrollPrev(), [g]), F = oe(() => g && g.scrollNext(), [g]);
2311
- ie(() => {
2312
- if (g)
2313
- return g.on("select", A), g.on("reInit", A), p(g.scrollSnapList()), () => {
2314
- g.off("select", A), g.off("reInit", A);
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", _);
2315
2315
  };
2316
- }, [g, A]), ie(() => {
2317
- g && (g.reInit(), p(g.scrollSnapList()));
2318
- }, [g, e, o, d]), ie(() => {
2319
- if (!t || !g || !e || e.length <= 1) return;
2320
- const B = window.setInterval(() => {
2321
- g.canScrollNext() && g.scrollNext();
2322
- }, _);
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;
2320
+ const M = window.setInterval(() => {
2321
+ m.canScrollNext() && m.scrollNext();
2322
+ }, B);
2323
2323
  return () => {
2324
- window.clearInterval(B);
2324
+ window.clearInterval(M);
2325
2325
  };
2326
- }, [t, _, g, e]);
2327
- const O = Math.max(1, o), P = `${100 / O}%`, H = d / 2;
2328
- return /* @__PURE__ */ i.jsxs(
2326
+ }, [e, B, m, t]);
2327
+ const $ = Math.max(1, o), N = `${100 / $}%`, H = d / 2;
2328
+ return /* @__PURE__ */ r.jsxs(
2329
2329
  "div",
2330
2330
  {
2331
- className: X.carouselContainer,
2331
+ className: Q.carouselContainer,
2332
2332
  "data-color": u,
2333
2333
  "data-size": y,
2334
- "data-variant": s,
2334
+ "data-variant": a,
2335
2335
  children: [
2336
- /* @__PURE__ */ i.jsx("div", { className: X.viewport, ref: h, children: /* @__PURE__ */ i.jsx(
2336
+ /* @__PURE__ */ r.jsx("div", { className: Q.viewport, ref: k, children: /* @__PURE__ */ r.jsx(
2337
2337
  "div",
2338
2338
  {
2339
- className: X.slides,
2339
+ className: Q.slides,
2340
2340
  style: {
2341
2341
  marginLeft: `-${H}px`,
2342
2342
  marginRight: `-${H}px`
2343
2343
  },
2344
- children: e && e.length > 0 ? e.map((B, M) => /* @__PURE__ */ i.jsx(
2344
+ children: t && t.length > 0 ? t.map((M, R) => /* @__PURE__ */ r.jsx(
2345
2345
  "div",
2346
2346
  {
2347
- className: X.slide,
2347
+ className: Q.slide,
2348
2348
  style: {
2349
- flex: `0 0 ${P}`,
2349
+ flex: `0 0 ${N}`,
2350
2350
  paddingLeft: `${H}px`,
2351
2351
  paddingRight: `${H}px`,
2352
2352
  borderRadius: l > 0 ? `${l}px` : void 0,
2353
2353
  overflow: "hidden"
2354
2354
  // Ensure radius clips content
2355
2355
  },
2356
- children: /* @__PURE__ */ i.jsxs("div", { className: X.slideInner, style: { borderRadius: `${l}px`, overflow: "hidden", position: "relative", width: "100%", height: "100%" }, children: [
2357
- !m[M] && /* @__PURE__ */ i.jsx("div", { className: X.loaderOverlay, children: /* @__PURE__ */ i.jsx(ns, { "aria-label": "Laster bilde" }) }),
2358
- /* @__PURE__ */ i.jsx(
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" }) }),
2358
+ /* @__PURE__ */ r.jsx(
2359
2359
  "img",
2360
2360
  {
2361
- className: `${X.image} ${m[M] ? X.loaded : X.loadingImage}`,
2362
- src: B.src,
2363
- alt: B.alt,
2364
- loading: M < O ? "eager" : "lazy",
2361
+ className: `${Q.image} ${g[R] ? Q.loaded : Q.loadingImage}`,
2362
+ src: M.src,
2363
+ alt: M.alt,
2364
+ loading: R < $ ? "eager" : "lazy",
2365
2365
  crossOrigin: "anonymous",
2366
- onLoad: () => L(M),
2367
- onError: (j) => {
2368
- j.target.style.display = "none", L(M);
2366
+ onLoad: () => F(R),
2367
+ onError: (D) => {
2368
+ D.target.style.display = "none", F(R);
2369
2369
  }
2370
2370
  }
2371
2371
  )
2372
2372
  ] })
2373
2373
  },
2374
- `image-${M}-${B.src}`
2375
- )) : /* @__PURE__ */ i.jsx("div", { className: X.slide, style: { flex: "0 0 100%" }, children: /* @__PURE__ */ i.jsx("div", { className: X.empty, children: "Ingen bilder" }) })
2374
+ `image-${R}-${M.src}`
2375
+ )) : /* @__PURE__ */ r.jsx("div", { className: Q.slide, style: { flex: "0 0 100%" }, children: /* @__PURE__ */ r.jsx("div", { className: Q.empty, children: "Ingen bilder" }) })
2376
2376
  }
2377
2377
  ) }),
2378
- (r || a && e && e.length > 1) && /* @__PURE__ */ i.jsxs("div", { className: X.controls, "aria-hidden": "false", children: [
2379
- r && /* @__PURE__ */ i.jsxs("div", { className: X.arrows, children: [
2380
- /* @__PURE__ */ i.jsx(
2378
+ (s || i && t && t.length > 1) && /* @__PURE__ */ r.jsxs("div", { className: Q.controls, "aria-hidden": "false", children: [
2379
+ s && /* @__PURE__ */ r.jsxs("div", { className: Q.arrows, children: [
2380
+ /* @__PURE__ */ r.jsx(
2381
2381
  ye,
2382
2382
  {
2383
2383
  variant: "primary",
2384
2384
  icon: !0,
2385
2385
  "aria-label": "Forrige bilde",
2386
- onClick: D,
2387
- disabled: !e || e.length <= 1,
2388
- children: /* @__PURE__ */ i.jsx(Zn, { "aria-hidden": !0 })
2386
+ onClick: L,
2387
+ disabled: !t || t.length <= 1,
2388
+ children: /* @__PURE__ */ r.jsx(Xn, { "aria-hidden": !0 })
2389
2389
  }
2390
2390
  ),
2391
- /* @__PURE__ */ i.jsx(
2391
+ /* @__PURE__ */ r.jsx(
2392
2392
  ye,
2393
2393
  {
2394
2394
  variant: "primary",
2395
2395
  icon: !0,
2396
2396
  "aria-label": "Neste bilde",
2397
- onClick: F,
2398
- disabled: !e || e.length <= 1,
2399
- children: /* @__PURE__ */ i.jsx(Xn, { "aria-hidden": !0 })
2397
+ onClick: E,
2398
+ disabled: !t || t.length <= 1,
2399
+ children: /* @__PURE__ */ r.jsx(Qn, { "aria-hidden": !0 })
2400
2400
  }
2401
2401
  )
2402
2402
  ] }),
2403
- a && e && e.length > 1 && /* @__PURE__ */ i.jsx("div", { className: X.dots, role: "tablist", "aria-label": "Bildeposisjon", children: v.map((B, M) => {
2404
- const j = M === k;
2405
- return /* @__PURE__ */ i.jsx(
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;
2405
+ return /* @__PURE__ */ r.jsx(
2406
2406
  "button",
2407
2407
  {
2408
2408
  type: "button",
2409
- className: `${X.dot} ${j ? X.dotActive : ""}`,
2410
- onClick: () => w(M),
2411
- "aria-label": `Gå til bilde ${M + 1}`,
2412
- "aria-selected": j,
2409
+ className: `${Q.dot} ${D ? Q.dotActive : ""}`,
2410
+ onClick: () => j(R),
2411
+ "aria-label": `Gå til bilde ${R + 1}`,
2412
+ "aria-selected": D,
2413
2413
  role: "tab"
2414
2414
  },
2415
- `dot-${M}`
2415
+ `dot-${R}`
2416
2416
  );
2417
2417
  }) })
2418
2418
  ] })
@@ -2421,24 +2421,24 @@ const zr = "_carouselContainer_1bu1s_1", Vr = "_viewport_1bu1s_11", Gr = "_slide
2421
2421
  );
2422
2422
  };
2423
2423
  os.displayName = "Carousel";
2424
- const ya = cn, Ta = un, xa = mn, ce = gn, Sa = pn, wa = hn, rs = fn, ss = kn;
2424
+ const Ca = un, ja = gn, Da = mn, ee = pn, Ia = fn, La = hn, rs = kn, ss = bn;
2425
2425
  rs.displayName = "Field.Description";
2426
2426
  ss.displayName = "Field.Counter";
2427
- const Ca = Dt, as = ue((e, t) => /* @__PURE__ */ i.jsx(bn, { ref: t, ...e }));
2427
+ const Aa = It, as = ue((t, e) => /* @__PURE__ */ r.jsx(vn, { ref: e, ...t }));
2428
2428
  as.displayName = "Heading";
2429
- const ja = vn, is = ue((e, t) => /* @__PURE__ */ i.jsx(yn, { ref: t, ...e }));
2429
+ const Fa = yn, is = ue((t, e) => /* @__PURE__ */ r.jsx(xn, { ref: e, ...t }));
2430
2430
  is.displayName = "Label";
2431
- const qe = Tn, Da = xn, Ia = Sn, Aa = wn, Je = ue(
2432
- (e, t) => /* @__PURE__ */ i.jsx(Cn, { ref: t, ...e })
2431
+ const Ne = Tn, _a = Sn, Ea = wn, Ba = Cn, Ze = ue(
2432
+ (t, e) => /* @__PURE__ */ r.jsx(jn, { ref: e, ...t })
2433
2433
  );
2434
- Je.displayName = "Paragraph";
2435
- const Fa = jn, La = Dn, _a = In, Pe = Object.assign(An, {
2436
- Button: _n,
2437
- ClearButton: Ln,
2434
+ Ze.displayName = "Paragraph";
2435
+ const Na = Dn, Pa = In, Ma = Ln, Pe = Object.assign(An, {
2436
+ Button: En,
2437
+ ClearButton: _n,
2438
2438
  Input: Fn
2439
- }), Na = Nn, Ea = En, Pa = Pn, ls = Bn;
2439
+ }), Ra = Bn, za = Nn, Oa = Pn, ls = Mn;
2440
2440
  ls.displayName = "Suggestion";
2441
- const Ct = Mn, Ba = Rn, Ma = On, Ra = Hn, Oa = Wn, Ha = zn, Wa = Vn, za = Gn, ds = ue((e, t) => /* @__PURE__ */ i.jsx(qn, { ref: t, ...e }));
2441
+ const Ue = Rn, $a = zn, Ha = On, Wa = $n, Va = Hn, Ga = Wn, Ua = Vn, Ka = Gn, ds = ue((t, e) => /* @__PURE__ */ r.jsx(Un, { ref: e, ...t }));
2442
2442
  ds.displayName = "ValidationMessage";
2443
2443
  const cs = {
2444
2444
  NO: {
@@ -3968,74 +3968,78 @@ const cs = {
3968
3968
  // Footer
3969
3969
  footer: {}
3970
3970
  }
3971
- }, Bt = Ut(void 0), Va = ({ children: e }) => {
3972
- const [t, n] = re("NO"), r = (a) => {
3973
- const s = a.split(".");
3974
- let o = cs[t];
3975
- for (const d of s) {
3971
+ }, Mt = qt(void 0), qa = ({ children: t }) => {
3972
+ const [e, n] = oe("NO"), s = (i) => {
3973
+ const a = i.split(".");
3974
+ let o = cs[e];
3975
+ for (const d of a) {
3976
3976
  if (o[d] === void 0)
3977
- return console.warn(`Translation missing for key: ${a} in language: ${t}`), a;
3977
+ return console.warn(`Translation missing for key: ${i} in language: ${e}`), i;
3978
3978
  o = o[d];
3979
3979
  }
3980
3980
  return o;
3981
3981
  };
3982
- return /* @__PURE__ */ i.jsx(Bt.Provider, { value: { language: t, setLanguage: n, t: r }, children: e });
3982
+ return /* @__PURE__ */ r.jsx(Mt.Provider, { value: { language: e, setLanguage: n, t: s }, children: t });
3983
3983
  }, us = () => {
3984
- const e = Kt(Bt);
3985
- if (e === void 0)
3984
+ const t = Yt(Mt);
3985
+ if (t === void 0)
3986
3986
  throw new Error("useLanguage must be used within a LanguageProvider");
3987
- return e;
3988
- }, ms = "_header_7c61q_1", gs = "_headerExtension_7c61q_11", ps = "_extensionContentWrapper_7c61q_25", fs = "_extensionContent_7c61q_25", ks = "_extensionDivider_7c61q_48", hs = "_languageSwitch_7c61q_54", bs = "_languageLabel_7c61q_62", vs = "_languageLink_7c61q_68", ys = "_headerInner_7c61q_82", Ts = "_logoWrapper_7c61q_96", xs = "_logo_7c61q_96", Ss = "_secondaryLogoWrapper_7c61q_115", ws = "_slotComponent_7c61q_124", Cs = "_slotContainer_7c61q_134", js = "_slotText_7c61q_142", Ds = "_secondaryLogo_7c61q_115", Is = "_redCrossLogo_7c61q_169", As = "_navItems_7c61q_175", Fs = "_navLink_7c61q_184", Ls = "_actions_7c61q_197", _s = "_ctaButton_7c61q_205", Ns = "_themeToggle_7c61q_210", Es = "_userInfo_7c61q_215", Ps = "_userName_7c61q_221", Bs = "_loginLink_7c61q_228", Ms = "_loginText_7c61q_237", Rs = "_underline_7c61q_244", Os = "_searchButtonWrapper_7c61q_250", Hs = "_buttonText_7c61q_254", Ws = "_menuButton_7c61q_259", zs = "_menuOverlay_7c61q_264", Vs = "_searchOverlay_7c61q_276", Gs = "_searchContent_7c61q_294", qs = "_menuContent_7c61q_304", $s = "_menuLeftColumn_7c61q_313", Us = "_menuRightColumn_7c61q_318", Ks = "_slotContent_7c61q_332", Ys = "_suggestionsSection_7c61q_341", Js = "_suggestionsTitle_7c61q_347", Zs = "_searchResults_7c61q_356", Xs = "_resultList_7c61q_362", Qs = "_resultItem_7c61q_368", ea = "_resultLink_7c61q_376", ta = "_suggestionIcon_7c61q_390", na = "_suggestionText_7c61q_403", oa = "_highlightedText_7c61q_410", ra = "_remainingText_7c61q_415", sa = "_viewAllLink_7c61q_428", aa = "_noResults_7c61q_463", C = {
3989
- header: ms,
3990
- headerExtension: gs,
3991
- extensionContentWrapper: ps,
3992
- extensionContent: fs,
3993
- extensionDivider: ks,
3994
- languageSwitch: hs,
3995
- languageLabel: bs,
3996
- languageLink: vs,
3997
- headerInner: ys,
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,
3991
+ searchOverlay: ps,
3992
+ headerExtension: fs,
3993
+ extensionContentWrapper: hs,
3994
+ extensionContent: ks,
3995
+ extensionDivider: bs,
3996
+ languageLabel: vs,
3997
+ languageLink: ys,
3998
+ headerInner: xs,
3998
3999
  logoWrapper: Ts,
3999
- logo: xs,
4000
- secondaryLogoWrapper: Ss,
4001
- slotComponent: ws,
4002
- slotContainer: Cs,
4003
- slotText: js,
4004
- secondaryLogo: Ds,
4005
- redCrossLogo: Is,
4006
- navItems: As,
4007
- navLink: Fs,
4008
- actions: Ls,
4009
- ctaButton: _s,
4000
+ logo: Ss,
4001
+ secondaryLogoWrapper: ws,
4002
+ slotComponent: Cs,
4003
+ slotContainer: js,
4004
+ slotText: Ds,
4005
+ secondaryLogo: Is,
4006
+ redCrossLogo: Ls,
4007
+ primaryLogo: As,
4008
+ navItems: Fs,
4009
+ navLink: _s,
4010
+ actions: Es,
4011
+ ctaButton: Bs,
4010
4012
  themeToggle: Ns,
4011
- userInfo: Es,
4012
- userName: Ps,
4013
- loginLink: Bs,
4014
- loginText: Ms,
4015
- underline: Rs,
4016
- searchButtonWrapper: Os,
4013
+ userInfo: Ps,
4014
+ userName: Ms,
4015
+ loginLink: Rs,
4016
+ loginText: zs,
4017
+ underline: Os,
4018
+ searchButtonWrapper: $s,
4017
4019
  buttonText: Hs,
4018
4020
  menuButton: Ws,
4019
- menuOverlay: zs,
4020
- searchOverlay: Vs,
4021
+ menuOverlay: Vs,
4021
4022
  searchContent: Gs,
4022
- menuContent: qs,
4023
- menuLeftColumn: $s,
4024
- menuRightColumn: Us,
4025
- slotContent: Ks,
4026
- suggestionsSection: Ys,
4027
- suggestionsTitle: Js,
4028
- searchResults: Zs,
4029
- resultList: Xs,
4030
- resultItem: Qs,
4031
- resultLink: ea,
4032
- suggestionIcon: ta,
4033
- suggestionText: na,
4034
- highlightedText: oa,
4035
- remainingText: ra,
4036
- viewAllLink: sa,
4037
- noResults: aa
4038
- }, ia = [
4023
+ menuContent: Us,
4024
+ menuLeftColumn: Ks,
4025
+ menuRightColumn: qs,
4026
+ slotContent: Ys,
4027
+ navList: Js,
4028
+ menuUtilities: Zs,
4029
+ menuBrand: Xs,
4030
+ suggestionsSection: Qs,
4031
+ suggestionsTitle: ea,
4032
+ searchResults: ta,
4033
+ resultList: na,
4034
+ resultItem: oa,
4035
+ resultLink: ra,
4036
+ suggestionIcon: sa,
4037
+ suggestionText: aa,
4038
+ highlightedText: ia,
4039
+ remainingText: la,
4040
+ viewAllLink: da,
4041
+ noResults: ca
4042
+ }, ua = [
4039
4043
  // Pages
4040
4044
  { id: "home", title: "Hjem", category: "Page", path: "home", description: "Forsiden" },
4041
4045
  { id: "components", title: "Komponenter", category: "Page", path: "components", description: "Oversikt over alle komponenter" },
@@ -4098,30 +4102,37 @@ const cs = {
4098
4102
  { id: "komponent-kreasjon", title: "Komponent Kreasjon", category: "Code", path: "code/komponent-kreasjon", description: "Opprette nye komponenter" },
4099
4103
  { id: "progression", title: "Progresjon", category: "Code", path: "code/progression", description: "Fra design til ferdig komponent" },
4100
4104
  { id: "metadata-files", title: "Metadata filer", category: "Code", path: "code/metadata-files", description: "Struktur og bruk av metadata.json" }
4101
- ], Ga = ({
4102
- activePage: e,
4103
- setPage: t,
4105
+ ], Ya = ({
4106
+ activePage: t,
4107
+ setPage: e,
4104
4108
  children: n,
4105
- showUser: r = !0,
4106
- showSearch: a = !0,
4107
- showLogin: s = !0,
4109
+ showUser: s = !0,
4110
+ showSearch: i = !0,
4111
+ showLogin: a = !0,
4108
4112
  showCta: o = !1,
4109
4113
  ctaLabel: d,
4110
- ctaIcon: l = /* @__PURE__ */ i.jsx(to, { "aria-hidden": !0 }),
4114
+ ctaIcon: l = /* @__PURE__ */ r.jsx(to, { "aria-hidden": !0 }),
4111
4115
  onCtaClick: u,
4112
4116
  showThemeToggle: y = !1,
4113
4117
  secondaryLogo: f = !1,
4114
- secondaryLogoSrc: h,
4115
- secondaryLogoSrcDark: g,
4116
- secondaryLogoAlt: k = "Secondary Logo",
4118
+ secondaryLogoSrc: k,
4119
+ secondaryLogoSrcDark: m,
4120
+ secondaryLogoAlt: h = "Secondary Logo",
4117
4121
  navItems: b,
4118
4122
  showNavItems: v = !0,
4119
4123
  showMenuButton: p = !0,
4120
- showHeaderExtension: m = !1,
4121
- showModeToggle: T = !1,
4122
- showLanguageSwitch: L = !1
4124
+ showHeaderExtension: g = !1,
4125
+ showModeToggle: x = !1,
4126
+ showLanguageSwitch: F = !1
4123
4127
  }) => {
4124
- const [_, A] = re(!1), [w, D] = re(!1), [F, O] = re(""), [P, H] = re("light"), { language: B, setLanguage: M, t: j } = us(), Q = () => /* @__PURE__ */ i.jsxs(
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);
4134
+ }, []);
4135
+ const Y = () => /* @__PURE__ */ r.jsxs(
4125
4136
  "svg",
4126
4137
  {
4127
4138
  width: "170",
@@ -4131,294 +4142,530 @@ const cs = {
4131
4142
  xmlns: "http://www.w3.org/2000/svg",
4132
4143
  "aria-hidden": !0,
4133
4144
  focusable: "false",
4134
- className: C.redCrossLogo,
4145
+ className: T.redCrossLogo,
4135
4146
  children: [
4136
- /* @__PURE__ */ i.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" }),
4137
- /* @__PURE__ */ i.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" }),
4138
- /* @__PURE__ */ i.jsx("path", { d: "M119.76 46.9351V62.0537C119.76 63.5253 119.814 65.0829 119.868 65.9659H116.266L116.077 64.037H116.01C115.593 64.7375 114.998 65.3131 114.285 65.7041C113.573 66.095 112.769 66.287 111.958 66.2602C108.865 66.2602 106.384 63.6068 106.384 59.5317C106.384 55.1079 109.085 52.5632 112.237 52.5632C113.835 52.5632 115.087 53.1247 115.676 54.0393H115.726V46.9351H119.76ZM115.708 58.4088C115.708 58.1914 115.681 57.8971 115.658 57.6843C115.556 57.1295 115.266 56.6274 114.838 56.2627C114.41 55.8981 113.869 55.6933 113.308 55.683C111.467 55.683 110.508 57.3447 110.508 59.4094C110.508 61.6327 111.602 63.0318 113.281 63.0318C113.838 63.0337 114.378 62.8389 114.807 62.4814C115.235 62.1239 115.526 61.6264 115.627 61.0757C115.702 60.7676 115.737 60.451 115.73 60.1339L115.708 58.4088Z", fill: "#1E1E1E" }),
4139
- /* @__PURE__ */ i.jsx("path", { d: "M126.13 60.6869C126.265 62.3758 127.931 63.1772 129.808 63.1772C131.029 63.1934 132.245 63.013 133.41 62.6429L133.946 65.4049C132.438 65.9752 130.838 66.2562 129.227 66.2335C124.802 66.2335 122.272 63.6345 122.272 59.5322C122.272 56.2088 124.325 52.5366 128.854 52.5366C133.063 52.5366 134.666 55.8329 134.666 59.0794C134.666 59.6271 134.62 60.1738 134.531 60.714L126.13 60.6869ZM130.902 57.8977C130.902 56.9061 130.475 55.2443 128.611 55.2443C126.904 55.2443 126.211 56.8246 126.103 57.8977H130.902Z", fill: "#1E1E1E" }),
4140
- /* @__PURE__ */ i.jsx("path", { d: "M142.603 47.8994H146.623V55.8866H146.7C147.1 55.1893 147.501 54.5283 147.929 53.9034L151.981 47.8994H156.978L151.035 55.5969L157.297 65.9703H152.57L148.172 58.1687L146.623 60.0704V65.9567H142.598L142.603 47.8994Z", fill: "#1E1E1E" }),
4141
- /* @__PURE__ */ i.jsx("path", { d: "M164.294 66.2599C160.485 66.2599 157.541 63.7424 157.541 59.5043C157.541 55.2662 160.309 52.563 164.496 52.563C168.494 52.563 171.159 55.325 171.159 59.2643C171.159 64.0639 167.774 66.2599 164.307 66.2599H164.294ZM164.375 63.3394C165.946 63.3394 166.959 61.7592 166.959 59.4001C166.959 57.4395 166.216 55.4563 164.375 55.4563C162.43 55.4563 161.709 57.4667 161.709 59.4001C161.709 61.6641 162.641 63.3394 164.348 63.3394H164.375Z", fill: "#1E1E1E" }),
4142
- /* @__PURE__ */ i.jsx("path", { d: "M173.676 57.1727C173.676 55.2438 173.622 54.0031 173.568 52.8576H177.062L177.197 55.271H177.3C177.535 54.507 178 53.8353 178.63 53.3486C179.261 52.8619 180.026 52.5843 180.821 52.5542C181.105 52.5425 181.391 52.5607 181.672 52.6086V56.4392C181.303 56.3736 180.93 56.3387 180.555 56.335C179.06 56.335 178.048 57.1365 177.782 58.3997C177.726 58.6983 177.699 59.0015 177.701 59.3053V65.9659H173.649L173.676 57.1727Z", fill: "#1E1E1E" }),
4143
- /* @__PURE__ */ i.jsx("path", { d: "M183.752 62.4023C184.824 62.9936 186.018 63.3283 187.241 63.3803C188.47 63.3803 188.974 62.9275 188.974 62.28C188.974 61.6325 188.573 61.2613 187.056 60.7768C184.355 59.8712 183.351 58.3951 183.351 56.8375C183.351 54.3969 185.404 52.5496 188.654 52.5496C189.92 52.5283 191.175 52.7848 192.332 53.3012L191.612 56.1357C190.741 55.6712 189.775 55.4155 188.789 55.3886C187.803 55.3886 187.241 55.787 187.241 56.4571C187.241 57.1273 187.749 57.4216 189.348 57.9604C191.828 58.8162 192.868 60.0795 192.891 62.0084C192.891 64.4444 190.973 66.2691 187.241 66.2691C185.784 66.2951 184.341 65.974 183.031 65.3318L183.752 62.4023Z", fill: "#1E1E1E" }),
4144
- /* @__PURE__ */ i.jsx("path", { d: "M50.1985 39.8037H37.1426V79.1965H50.1985V39.8037Z", fill: "#D52B1E" }),
4145
- /* @__PURE__ */ i.jsx("path", { d: "M63.2545 52.9331H24.0869V66.0625H63.2545V52.9331Z", fill: "#D52B1E" })
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
+ /* @__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" }),
4149
+ /* @__PURE__ */ r.jsx("path", { d: "M119.76 46.9351V62.0537C119.76 63.5253 119.814 65.0829 119.868 65.9659H116.266L116.077 64.037H116.01C115.593 64.7375 114.998 65.3131 114.285 65.7041C113.573 66.095 112.769 66.287 111.958 66.2602C108.865 66.2602 106.384 63.6068 106.384 59.5317C106.384 55.1079 109.085 52.5632 112.237 52.5632C113.835 52.5632 115.087 53.1247 115.676 54.0393H115.726V46.9351H119.76ZM115.708 58.4088C115.708 58.1914 115.681 57.8971 115.658 57.6843C115.556 57.1295 115.266 56.6274 114.838 56.2627C114.41 55.8981 113.869 55.6933 113.308 55.683C111.467 55.683 110.508 57.3447 110.508 59.4094C110.508 61.6327 111.602 63.0318 113.281 63.0318C113.838 63.0337 114.378 62.8389 114.807 62.4814C115.235 62.1239 115.526 61.6264 115.627 61.0757C115.702 60.7676 115.737 60.451 115.73 60.1339L115.708 58.4088Z", fill: "#1E1E1E" }),
4150
+ /* @__PURE__ */ r.jsx("path", { d: "M126.13 60.6869C126.265 62.3758 127.931 63.1772 129.808 63.1772C131.029 63.1934 132.245 63.013 133.41 62.6429L133.946 65.4049C132.438 65.9752 130.838 66.2562 129.227 66.2335C124.802 66.2335 122.272 63.6345 122.272 59.5322C122.272 56.2088 124.325 52.5366 128.854 52.5366C133.063 52.5366 134.666 55.8329 134.666 59.0794C134.666 59.6271 134.62 60.1738 134.531 60.714L126.13 60.6869ZM130.902 57.8977C130.902 56.9061 130.475 55.2443 128.611 55.2443C126.904 55.2443 126.211 56.8246 126.103 57.8977H130.902Z", fill: "#1E1E1E" }),
4151
+ /* @__PURE__ */ r.jsx("path", { d: "M142.603 47.8994H146.623V55.8866H146.7C147.1 55.1893 147.501 54.5283 147.929 53.9034L151.981 47.8994H156.978L151.035 55.5969L157.297 65.9703H152.57L148.172 58.1687L146.623 60.0704V65.9567H142.598L142.603 47.8994Z", fill: "#1E1E1E" }),
4152
+ /* @__PURE__ */ r.jsx("path", { d: "M164.294 66.2599C160.485 66.2599 157.541 63.7424 157.541 59.5043C157.541 55.2662 160.309 52.563 164.496 52.563C168.494 52.563 171.159 55.325 171.159 59.2643C171.159 64.0639 167.774 66.2599 164.307 66.2599H164.294ZM164.375 63.3394C165.946 63.3394 166.959 61.7592 166.959 59.4001C166.959 57.4395 166.216 55.4563 164.375 55.4563C162.43 55.4563 161.709 57.4667 161.709 59.4001C161.709 61.6641 162.641 63.3394 164.348 63.3394H164.375Z", fill: "#1E1E1E" }),
4153
+ /* @__PURE__ */ r.jsx("path", { d: "M173.676 57.1727C173.676 55.2438 173.622 54.0031 173.568 52.8576H177.062L177.197 55.271H177.3C177.535 54.507 178 53.8353 178.63 53.3486C179.261 52.8619 180.026 52.5843 180.821 52.5542C181.105 52.5425 181.391 52.5607 181.672 52.6086V56.4392C181.303 56.3736 180.93 56.3387 180.555 56.335C179.06 56.335 178.048 57.1365 177.782 58.3997C177.726 58.6983 177.699 59.0015 177.701 59.3053V65.9659H173.649L173.676 57.1727Z", fill: "#1E1E1E" }),
4154
+ /* @__PURE__ */ r.jsx("path", { d: "M183.752 62.4023C184.824 62.9936 186.018 63.3283 187.241 63.3803C188.47 63.3803 188.974 62.9275 188.974 62.28C188.974 61.6325 188.573 61.2613 187.056 60.7768C184.355 59.8712 183.351 58.3951 183.351 56.8375C183.351 54.3969 185.404 52.5496 188.654 52.5496C189.92 52.5283 191.175 52.7848 192.332 53.3012L191.612 56.1357C190.741 55.6712 189.775 55.4155 188.789 55.3886C187.803 55.3886 187.241 55.787 187.241 56.4571C187.241 57.1273 187.749 57.4216 189.348 57.9604C191.828 58.8162 192.868 60.0795 192.891 62.0084C192.891 64.4444 190.973 66.2691 187.241 66.2691C185.784 66.2951 184.341 65.974 183.031 65.3318L183.752 62.4023Z", fill: "#1E1E1E" }),
4155
+ /* @__PURE__ */ r.jsx("path", { d: "M50.1985 39.8037H37.1426V79.1965H50.1985V39.8037Z", fill: "#D52B1E" }),
4156
+ /* @__PURE__ */ r.jsx("path", { d: "M63.2545 52.9331H24.0869V66.0625H63.2545V52.9331Z", fill: "#D52B1E" })
4146
4157
  ]
4147
4158
  }
4148
4159
  );
4149
- ie(() => {
4150
- A(!1), D(!1), O("");
4151
- }, [e]);
4152
- const U = () => {
4153
- const S = P === "light" ? "dark" : "light";
4160
+ ne(() => {
4161
+ _(!1), L(!1), $("");
4162
+ }, [t]), ne(() => {
4163
+ 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);
4167
+ };
4168
+ }, []), ne(() => {
4169
+ 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`);
4175
+ };
4176
+ return I(), window.addEventListener("resize", I), () => window.removeEventListener("resize", I);
4177
+ }, [K]), ne(() => {
4178
+ if (typeof document > "u") return;
4179
+ const S = document.querySelector(`.${T.logoWrapper}`);
4180
+ if (!S) return;
4181
+ const I = () => {
4182
+ const C = S.offsetWidth;
4183
+ document.documentElement.style.setProperty("--rk-logo-width", `${C}px`);
4184
+ };
4185
+ return I(), window.addEventListener("resize", I), () => window.removeEventListener("resize", I);
4186
+ }, [K]), ne(() => {
4187
+ if (typeof document > "u" || !j) {
4188
+ document.documentElement.style.setProperty("--rk-search-overlay-height", "0px");
4189
+ return;
4190
+ }
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`);
4196
+ };
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();
4201
+ };
4202
+ }, [j]);
4203
+ const q = () => {
4204
+ const S = N === "light" ? "dark" : "light";
4154
4205
  H(S), document.documentElement.setAttribute("data-color-scheme", S);
4155
- }, K = (S) => {
4156
- t && (S.preventDefault(), t("home")), A(!1), D(!1);
4157
- }, Y = () => {
4158
- A(!_), w && D(!1);
4159
- }, te = () => {
4160
- D(!w), _ && A(!1);
4161
- }, c = ve(() => {
4162
- if (!F.trim()) return [];
4163
- const S = F.toLowerCase();
4164
- return ia.filter(
4165
- (N) => N.title.toLowerCase().startsWith(S)
4206
+ }, re = (S) => {
4207
+ e && (S.preventDefault(), e("home")), _(!1), L(!1);
4208
+ }, c = () => {
4209
+ _(!B), j && L(!1);
4210
+ }, A = () => {
4211
+ L(!j), B && _(!1);
4212
+ }, P = ve(() => {
4213
+ if (!E.trim()) return [];
4214
+ const S = E.toLowerCase();
4215
+ return ua.filter(
4216
+ (I) => I.title.toLowerCase().startsWith(S)
4166
4217
  );
4167
- }, [F]), I = (S) => {
4168
- t && t(S), D(!1), O("");
4218
+ }, [E]), z = (S) => {
4219
+ e && e(S), L(!1), $("");
4169
4220
  };
4170
- return /* @__PURE__ */ i.jsxs("header", { className: C.header, children: [
4171
- m && /* @__PURE__ */ i.jsx("div", { className: C.headerExtension, "data-color-scheme": "light", children: /* @__PURE__ */ i.jsxs("div", { className: C.extensionContentWrapper, children: [
4172
- T && /* @__PURE__ */ i.jsx("div", { className: C.extensionContent, children: /* @__PURE__ */ i.jsx(
4173
- Ct,
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(
4224
+ Ue,
4174
4225
  {
4175
4226
  "data-size": "sm",
4176
- checked: P === "dark",
4177
- onChange: U,
4178
- label: j("header.darkMode"),
4227
+ checked: N === "dark",
4228
+ onChange: q,
4229
+ label: D("header.darkMode"),
4179
4230
  color: "neutral",
4180
4231
  "data-color-scheme": "light"
4181
4232
  }
4182
4233
  ) }),
4183
- T && L && /* @__PURE__ */ i.jsx("div", { className: C.extensionDivider }),
4184
- L && /* @__PURE__ */ i.jsxs("div", { className: C.languageSwitch, children: [
4185
- /* @__PURE__ */ i.jsx("span", { className: C.languageLabel, children: j("header.language") }),
4186
- /* @__PURE__ */ i.jsxs(ce.TriggerContext, { children: [
4187
- /* @__PURE__ */ i.jsxs(
4188
- ce.Trigger,
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") }),
4237
+ /* @__PURE__ */ r.jsxs(ee.TriggerContext, { children: [
4238
+ /* @__PURE__ */ r.jsxs(
4239
+ ee.Trigger,
4189
4240
  {
4190
- className: C.languageLink,
4191
- "aria-label": j("header.selectLanguage"),
4241
+ className: T.languageLink,
4242
+ "aria-label": D("header.selectLanguage"),
4192
4243
  style: { background: "transparent", border: "none", padding: 0, cursor: "pointer", font: "inherit" },
4193
4244
  children: [
4194
- B,
4245
+ M,
4195
4246
  " ",
4196
- /* @__PURE__ */ i.jsx(Qn, { "aria-hidden": !0 })
4247
+ /* @__PURE__ */ r.jsx(mt, { "aria-hidden": !0 })
4197
4248
  ]
4198
4249
  }
4199
4250
  ),
4200
- /* @__PURE__ */ i.jsx(
4201
- ce,
4251
+ /* @__PURE__ */ r.jsx(
4252
+ ee,
4202
4253
  {
4203
- "data-color-scheme": P,
4254
+ "data-color-scheme": N,
4204
4255
  placement: "bottom-end",
4205
- children: /* @__PURE__ */ i.jsxs(ce.List, { children: [
4206
- /* @__PURE__ */ i.jsx(ce.Item, { children: /* @__PURE__ */ i.jsx(ce.Button, { onClick: () => M("NO"), children: "Norsk (NO)" }) }),
4207
- /* @__PURE__ */ i.jsx(ce.Item, { children: /* @__PURE__ */ i.jsx(ce.Button, { onClick: () => M("EN"), children: "English (EN)" }) })
4256
+ children: /* @__PURE__ */ r.jsxs(ee.List, { children: [
4257
+ /* @__PURE__ */ r.jsx(ee.Item, { children: /* @__PURE__ */ r.jsx(ee.Button, { onClick: () => R("NO"), children: "Norsk (NO)" }) }),
4258
+ /* @__PURE__ */ r.jsx(ee.Item, { children: /* @__PURE__ */ r.jsx(ee.Button, { onClick: () => R("EN"), children: "English (EN)" }) })
4208
4259
  ] })
4209
4260
  }
4210
4261
  )
4211
4262
  ] })
4212
4263
  ] })
4213
4264
  ] }) }),
4214
- /* @__PURE__ */ i.jsxs("div", { className: C.headerInner, children: [
4215
- /* @__PURE__ */ i.jsxs("div", { className: C.logoWrapper, children: [
4216
- /* @__PURE__ */ i.jsx(qe, { href: "/", className: C.logo, "aria-label": j("header.homeAriaLabel"), onClick: K, children: /* @__PURE__ */ i.jsx(Q, {}) }),
4217
- /* @__PURE__ */ i.jsx("div", { className: C.secondaryLogoWrapper, children: f && h ? /* @__PURE__ */ i.jsx(
4265
+ /* @__PURE__ */ r.jsxs("div", { className: T.headerInner, children: [
4266
+ /* @__PURE__ */ r.jsxs("div", { className: T.logoWrapper, children: [
4267
+ /* @__PURE__ */ r.jsx(
4268
+ Ne,
4269
+ {
4270
+ href: "/",
4271
+ className: `${T.logo} ${T.primaryLogo}`,
4272
+ "aria-label": D("header.homeAriaLabel"),
4273
+ onClick: re,
4274
+ children: /* @__PURE__ */ r.jsx(Y, {})
4275
+ }
4276
+ ),
4277
+ /* @__PURE__ */ r.jsx("div", { className: T.secondaryLogoWrapper, children: f && k ? /* @__PURE__ */ r.jsx(
4218
4278
  "img",
4219
4279
  {
4220
- src: P === "dark" && g ? g : h,
4221
- alt: k,
4222
- className: C.secondaryLogo
4280
+ src: N === "dark" && m ? m : k,
4281
+ alt: h,
4282
+ className: T.secondaryLogo
4223
4283
  }
4224
- ) : f ? /* @__PURE__ */ i.jsx("div", { className: C.slotComponent, children: /* @__PURE__ */ i.jsx("div", { className: C.slotContainer, children: /* @__PURE__ */ i.jsx("p", { className: C.slotText, children: "SLOT" }) }) }) : null })
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 })
4225
4285
  ] }),
4226
- v && b && b.length > 0 && /* @__PURE__ */ i.jsx("nav", { className: C.navItems, children: b.map((S, N) => /* @__PURE__ */ i.jsx(
4227
- qe,
4286
+ v && b && b.length > 0 && !K && /* @__PURE__ */ r.jsx("nav", { className: T.navItems, children: b.map((S, I) => /* @__PURE__ */ r.jsx(
4287
+ Ne,
4228
4288
  {
4229
4289
  href: S.href,
4230
- className: C.navLink,
4231
- onClick: (J) => {
4232
- t && (J.preventDefault(), t(S.href));
4290
+ className: T.navLink,
4291
+ onClick: (C) => {
4292
+ e && (C.preventDefault(), e(S.href));
4233
4293
  },
4234
4294
  children: S.label
4235
4295
  },
4236
- N
4296
+ I
4237
4297
  )) }),
4238
- /* @__PURE__ */ i.jsxs("div", { className: C.actions, children: [
4239
- o && /* @__PURE__ */ i.jsxs(
4298
+ /* @__PURE__ */ r.jsxs("div", { className: T.actions, children: [
4299
+ o && /* @__PURE__ */ r.jsxs(
4240
4300
  ye,
4241
4301
  {
4242
4302
  variant: "primary",
4243
4303
  "data-color": "main",
4244
4304
  "data-size": "md",
4245
- className: C.ctaButton,
4305
+ className: T.ctaButton,
4246
4306
  onClick: u,
4247
4307
  children: [
4248
4308
  l,
4249
- /* @__PURE__ */ i.jsx("span", { className: C.buttonText, children: d || j("header.supportUs") })
4309
+ /* @__PURE__ */ r.jsx("span", { className: T.buttonText, children: d || D("header.supportUs") })
4250
4310
  ]
4251
4311
  }
4252
4312
  ),
4253
- !m && y && /* @__PURE__ */ i.jsx("div", { className: C.themeToggle, children: /* @__PURE__ */ i.jsx(
4254
- Ct,
4313
+ !g && y && /* @__PURE__ */ r.jsx("div", { className: T.themeToggle, children: /* @__PURE__ */ r.jsx(
4314
+ Ue,
4255
4315
  {
4256
- checked: P === "dark",
4257
- onChange: U,
4258
- "aria-label": j("header.toggleTheme")
4316
+ checked: N === "dark",
4317
+ onChange: q,
4318
+ "aria-label": D("header.toggleTheme")
4259
4319
  }
4260
4320
  ) }),
4261
- r && /* @__PURE__ */ i.jsxs("div", { className: C.userInfo, children: [
4262
- /* @__PURE__ */ i.jsx(Je, { "data-size": "md", className: C.userName, children: "Frodo Baggins" }),
4263
- /* @__PURE__ */ i.jsx(Ft, { "aria-label": "Frodo Baggins", "data-color": "main", variant: "circle", initials: "FB" })
4321
+ s && /* @__PURE__ */ r.jsxs("div", { className: T.userInfo, children: [
4322
+ /* @__PURE__ */ r.jsx(Ze, { "data-size": "md", className: T.userName, children: "Frodo Baggins" }),
4323
+ /* @__PURE__ */ r.jsx(Ft, { "aria-label": "Frodo Baggins", "data-color": "main", variant: "circle", initials: "FB" })
4264
4324
  ] }),
4265
- s && /* @__PURE__ */ i.jsxs("a", { href: "#", className: C.loginLink, children: [
4266
- /* @__PURE__ */ i.jsx("span", { className: C.loginText, children: j("header.login") }),
4267
- /* @__PURE__ */ i.jsx("div", { className: C.underline })
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 })
4268
4328
  ] }),
4269
- a && /* @__PURE__ */ i.jsx("div", { className: C.searchButtonWrapper, children: /* @__PURE__ */ i.jsxs(
4329
+ i && /* @__PURE__ */ r.jsx("div", { className: T.searchButtonWrapper, children: /* @__PURE__ */ r.jsxs(
4270
4330
  ye,
4271
4331
  {
4272
4332
  variant: "secondary",
4273
4333
  "data-color": "main",
4274
4334
  "data-size": "md",
4275
- onClick: te,
4276
- "aria-expanded": w,
4277
- "aria-label": j(w ? "header.closeSearch" : "header.openSearch"),
4335
+ onClick: A,
4336
+ "aria-expanded": j,
4337
+ "aria-label": D(j ? "header.closeSearch" : "header.openSearch"),
4278
4338
  children: [
4279
- w ? /* @__PURE__ */ i.jsx(mt, { "aria-hidden": !0 }) : /* @__PURE__ */ i.jsx(gt, { "aria-hidden": !0 }),
4280
- /* @__PURE__ */ i.jsx("span", { className: C.buttonText, children: j(w ? "header.close" : "header.search") })
4339
+ 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") })
4281
4341
  ]
4282
4342
  }
4283
4343
  ) }),
4284
- p && /* @__PURE__ */ i.jsxs(
4344
+ (p || K) && /* @__PURE__ */ r.jsxs(
4285
4345
  ye,
4286
4346
  {
4287
4347
  variant: "primary",
4288
4348
  "data-color": "main",
4289
4349
  "data-size": "md",
4290
- onClick: Y,
4291
- "aria-expanded": _,
4292
- "aria-label": j(_ ? "header.closeMenu" : "header.openMenu"),
4293
- className: C.menuButton,
4350
+ onClick: c,
4351
+ "aria-expanded": B,
4352
+ "aria-label": D(B ? "header.closeMenu" : "header.openMenu"),
4353
+ className: T.menuButton,
4294
4354
  children: [
4295
- _ ? /* @__PURE__ */ i.jsx(mt, { "aria-hidden": !0 }) : /* @__PURE__ */ i.jsx(eo, { "aria-hidden": !0 }),
4296
- /* @__PURE__ */ i.jsx("span", { className: C.buttonText, children: j(_ ? "header.close" : "header.menu") })
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") })
4297
4357
  ]
4298
4358
  }
4299
4359
  )
4300
4360
  ] })
4301
4361
  ] }),
4302
- _ && /* @__PURE__ */ i.jsx("div", { className: C.menuOverlay, children: /* @__PURE__ */ i.jsxs("div", { className: C.menuContent, children: [
4303
- /* @__PURE__ */ i.jsx("div", { className: C.menuLeftColumn, "aria-hidden": "true" }),
4304
- /* @__PURE__ */ i.jsx("div", { className: C.menuRightColumn, children: /* @__PURE__ */ i.jsx("div", { className: C.slotContent, children: n }) })
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") }),
4368
+ /* @__PURE__ */ r.jsxs(ee.TriggerContext, { children: [
4369
+ /* @__PURE__ */ r.jsxs(
4370
+ ee.Trigger,
4371
+ {
4372
+ className: T.languageLink,
4373
+ "aria-label": D("header.selectLanguage"),
4374
+ style: { background: "transparent", border: "none", padding: 0, cursor: "pointer", font: "inherit" },
4375
+ children: [
4376
+ M,
4377
+ " ",
4378
+ /* @__PURE__ */ r.jsx(mt, { "aria-hidden": !0 })
4379
+ ]
4380
+ }
4381
+ ),
4382
+ /* @__PURE__ */ r.jsx(
4383
+ ee,
4384
+ {
4385
+ "data-color-scheme": N,
4386
+ placement: "bottom-start",
4387
+ children: /* @__PURE__ */ r.jsxs(ee.List, { children: [
4388
+ /* @__PURE__ */ r.jsx(ee.Item, { children: /* @__PURE__ */ r.jsx(ee.Button, { onClick: () => R("NO"), children: "Norsk (NO)" }) }),
4389
+ /* @__PURE__ */ r.jsx(ee.Item, { children: /* @__PURE__ */ r.jsx(ee.Button, { onClick: () => R("EN"), children: "English (EN)" }) })
4390
+ ] })
4391
+ }
4392
+ )
4393
+ ] })
4394
+ ] }),
4395
+ x && /* @__PURE__ */ r.jsx("div", { className: T.extensionContent, children: /* @__PURE__ */ r.jsx(
4396
+ Ue,
4397
+ {
4398
+ "data-size": "sm",
4399
+ checked: N === "dark",
4400
+ onChange: q,
4401
+ label: D("header.darkMode"),
4402
+ color: "neutral",
4403
+ "data-color-scheme": "light"
4404
+ }
4405
+ ) })
4406
+ ] }),
4407
+ /* @__PURE__ */ r.jsxs("div", { className: T.slotContent, children: [
4408
+ n,
4409
+ K && v && b && b.length > 0 && /* @__PURE__ */ r.jsx("nav", { className: T.navList, children: b.map((S, I) => /* @__PURE__ */ r.jsx(
4410
+ Ne,
4411
+ {
4412
+ href: S.href,
4413
+ className: T.navLink,
4414
+ onClick: (C) => {
4415
+ e && (C.preventDefault(), e(S.href));
4416
+ },
4417
+ children: S.label
4418
+ },
4419
+ I
4420
+ )) })
4421
+ ] }),
4422
+ K && /* @__PURE__ */ r.jsx("div", { className: T.menuBrand, children: /* @__PURE__ */ r.jsx(Y, {}) })
4423
+ ] })
4305
4424
  ] }) }),
4306
- w && /* @__PURE__ */ i.jsx("div", { className: C.searchOverlay, children: /* @__PURE__ */ i.jsxs("div", { className: C.searchContent, children: [
4307
- /* @__PURE__ */ i.jsxs(Pe, { children: [
4308
- /* @__PURE__ */ i.jsx(
4425
+ j && /* @__PURE__ */ r.jsx("div", { className: T.searchOverlay, children: /* @__PURE__ */ r.jsxs("div", { className: T.searchContent, children: [
4426
+ /* @__PURE__ */ r.jsxs(Pe, { children: [
4427
+ /* @__PURE__ */ r.jsx(
4309
4428
  Pe.Input,
4310
4429
  {
4311
- "aria-label": j("header.search"),
4312
- placeholder: j("header.searchPlaceholder"),
4313
- value: F,
4314
- onChange: (S) => O(S.target.value)
4430
+ "aria-label": D("header.search"),
4431
+ placeholder: D("header.searchPlaceholder"),
4432
+ value: E,
4433
+ onChange: (S) => $(S.target.value)
4315
4434
  }
4316
4435
  ),
4317
- /* @__PURE__ */ i.jsx(Pe.Button, { "aria-label": j("header.search") }),
4318
- /* @__PURE__ */ i.jsx(Pe.ClearButton, { onClick: () => O(""), "aria-label": j("header.clearSearch") })
4436
+ /* @__PURE__ */ r.jsx(Pe.Button, { "aria-label": D("header.search") }),
4437
+ /* @__PURE__ */ r.jsx(Pe.ClearButton, { onClick: () => $(""), "aria-label": D("header.clearSearch") })
4319
4438
  ] }),
4320
- F && /* @__PURE__ */ i.jsx("div", { className: C.searchResults, children: c.length > 0 ? /* @__PURE__ */ i.jsxs("div", { className: C.suggestionsSection, children: [
4321
- /* @__PURE__ */ i.jsx("h3", { className: C.suggestionsTitle, children: j("header.suggestions") }),
4322
- /* @__PURE__ */ i.jsx("ul", { className: C.resultList, children: c.slice(0, 5).map((S) => /* @__PURE__ */ i.jsx("li", { className: C.resultItem, children: /* @__PURE__ */ i.jsxs(
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(
4323
4442
  "button",
4324
4443
  {
4325
- className: C.resultLink,
4326
- onClick: () => I(S.path),
4444
+ className: T.resultLink,
4445
+ onClick: () => z(S.path),
4327
4446
  children: [
4328
- /* @__PURE__ */ i.jsx("span", { className: C.suggestionIcon, children: /* @__PURE__ */ i.jsx(gt, { "aria-hidden": !0 }) }),
4329
- /* @__PURE__ */ i.jsx("span", { className: C.suggestionText, children: (() => {
4330
- const N = S.title.toLowerCase().indexOf(F.toLowerCase());
4331
- if (N === -1) return /* @__PURE__ */ i.jsx("span", { className: C.remainingText, children: S.title });
4332
- const J = S.title.slice(0, N), q = S.title.slice(N, N + F.length), E = S.title.slice(N + F.length);
4333
- return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
4334
- /* @__PURE__ */ i.jsx("span", { className: C.remainingText, children: J }),
4335
- /* @__PURE__ */ i.jsx("span", { className: C.highlightedText, children: q }),
4336
- /* @__PURE__ */ i.jsx("span", { className: C.remainingText, children: E })
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);
4452
+ 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 })
4337
4456
  ] });
4338
4457
  })() })
4339
4458
  ]
4340
4459
  }
4341
4460
  ) }, S.id)) }),
4342
- c.length > 5 && /* @__PURE__ */ i.jsxs(
4343
- qe,
4461
+ P.length > 5 && /* @__PURE__ */ r.jsxs(
4462
+ Ne,
4344
4463
  {
4345
4464
  href: "#",
4346
4465
  "data-color": "neutral",
4347
- className: C.viewAllLink,
4466
+ className: T.viewAllLink,
4348
4467
  onClick: (S) => {
4349
- S.preventDefault(), t && t(`search/${F}`), D(!1), O("");
4468
+ S.preventDefault(), e && e(`search/${E}`), L(!1), $("");
4350
4469
  },
4351
4470
  children: [
4352
- j("header.viewAll"),
4471
+ D("header.viewAll"),
4353
4472
  " (",
4354
- c.length,
4473
+ P.length,
4355
4474
  ")"
4356
4475
  ]
4357
4476
  }
4358
4477
  )
4359
- ] }) : /* @__PURE__ */ i.jsx("div", { className: C.noResults, children: /* @__PURE__ */ i.jsxs(Je, { children: [
4360
- j("header.noResults"),
4478
+ ] }) : /* @__PURE__ */ r.jsx("div", { className: T.noResults, children: /* @__PURE__ */ r.jsxs(Ze, { children: [
4479
+ D("header.noResults"),
4361
4480
  ' "',
4362
- F,
4481
+ E,
4363
4482
  '"'
4364
4483
  ] }) }) })
4365
4484
  ] }) })
4366
4485
  ] });
4367
4486
  };
4487
+ function ga(t) {
4488
+ const e = t;
4489
+ return `
4490
+ .${e.header} {
4491
+ width: 100%;
4492
+ background-color: var(--ds-color-neutral-background-default);
4493
+ border-bottom: 1px solid var(--ds-color-neutral-border-subtle);
4494
+ position: relative;
4495
+ z-index: 1000;
4496
+ display: flex;
4497
+ flex-direction: column;
4498
+ }
4499
+ .${e.headerExtension} {
4500
+ background-color: var(--ds-color-primary-color-red-base-default, #D52B1E);
4501
+ width: 100%;
4502
+ height: 44px;
4503
+ padding: 0 var(--ds-size-6);
4504
+ display: flex;
4505
+ justify-content: center;
4506
+ align-items: center;
4507
+ box-sizing: border-box;
4508
+ color: white;
4509
+ }
4510
+ .${e.extensionContentWrapper} {
4511
+ width: 100%;
4512
+ max-width: 1364px;
4513
+ display: flex;
4514
+ justify-content: flex-end;
4515
+ align-items: center;
4516
+ gap: var(--ds-size-4);
4517
+ }
4518
+ .${e.extensionDivider} { width: 1px; height: 18px; background-color: rgba(247,233,232,1); }
4519
+ .${e.languageSwitch} { display: flex; align-items: center; gap: var(--ds-size-2); }
4520
+ .${e.languageLabel} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: #ECECEC; }
4521
+ .${e.languageLink} { color: white; text-decoration: none; display: flex; align-items: center; gap: 4px; }
4522
+ .${e.languageSwitch} :global([popover]) { margin-top: 0 !important; background-color: var(--ds-color-neutral-background-default) !important; position: fixed !important; overflow: visible; z-index: 20000 !important; }
4523
+ .${e.headerInner} {
4524
+ display: flex; align-items: center; justify-content: space-between;
4525
+ min-height: 119px; width: 100%; max-width: 1364px;
4526
+ margin: 0 auto; padding: 0 var(--ds-size-6); box-sizing: border-box; gap: var(--ds-size-6);
4527
+ }
4528
+ .${e.logoWrapper} { display: flex; align-items: center; height: 119px; flex-shrink: 0; background-color: white; }
4529
+ .${e.logo} { display: flex; align-items: center; justify-content: center; width: 217px; height: 100%; text-decoration: none; color: inherit; flex-shrink: 0; }
4530
+ .${e.redCrossLogo} { width: 169px; height: auto; display: block; }
4531
+ .${e.secondaryLogoWrapper} { display: flex; align-items: center; justify-content: center; height: 100%; padding: 0 var(--ds-size-6); background: var(--ds-color-neutral-background-default); }
4532
+ .${e.secondaryLogo} { height: 24px; width: auto; display: block; }
4533
+ .${e.navItems} { display: flex; gap: 40px; align-items: center; margin-left: 24px; flex-grow: 1; justify-content: flex-end; }
4534
+ .${e.navLink} { color: var(--ds-color-primary-color-red-text-default); font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); text-decoration: none; font-weight: var(--ds-font-weight-regular); letter-spacing: 0.09px; }
4535
+ .${e.navLink}:hover { text-decoration: underline; }
4536
+ .${e.actions} { display: flex; align-items: center; gap: var(--ds-size-6); flex-shrink: 0; margin-left: auto; }
4537
+ .${e.ctaButton} { display: flex; align-items: center; }
4538
+ .${e.themeToggle} { display: flex; align-items: center; }
4539
+ .${e.userInfo} { display: flex; align-items: center; gap: var(--ds-size-3); }
4540
+ .${e.userName} { display: block; font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: var(--ds-color-neutral-text-default); }
4541
+ .${e.loginLink} { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ds-color-main-text-subtle); gap: 2px; }
4542
+ .${e.loginText} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); font-weight: var(--ds-font-weight-regular); line-height: 1.5; }
4543
+ .${e.underline} { width: 100%; height: 1px; background-color: var(--ds-color-main-border-strong); }
4544
+ .${e.searchButtonWrapper} { display: flex; }
4545
+ .${e.buttonText} { display: inline-block; margin-left: var(--ds-size-2); }
4546
+ .${e.menuButton} { display: flex; align-items: center; }
4547
+ .${e.menuOverlay}, .${e.searchOverlay} {
4548
+ position: absolute; top: 100%; left: 0; width: 100%;
4549
+ 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;
4552
+ }
4553
+ .${e.searchOverlay} { padding: var(--ds-size-10) 0; }
4554
+ .${e.searchOverlay}::before { display: none; }
4555
+ .${e.searchContent} {
4556
+ max-width: 1364px; margin: 0 auto;
4557
+ padding: var(--ds-size-6) var(--ds-size-6) var(--ds-size-6) calc(217px + var(--ds-size-6) + var(--ds-size-4));
4558
+ display: flex; flex-direction: column; align-items: stretch; box-sizing: border-box;
4559
+ }
4560
+ .${e.menuContent} { max-width: 1364px; margin: 0 auto; display: flex; flex-direction: row; align-items: stretch; box-sizing: border-box; }
4561
+ .${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
+ .${e.menuRightColumn} { flex: 1; display: flex; flex-direction: column; padding: 48px 24px 80px 24px; gap: 24px; }
4563
+ .${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; }
4564
+ .${e.menuBrand} { display: none; }
4565
+ .${e.menuUtilities} { display: flex; justify-content: space-between; align-items: center; width: 100%; }
4566
+ .${e.suggestionsSection} { display: flex; flex-direction: column; gap: var(--ds-size-4); }
4567
+ .${e.suggestionsTitle} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: var(--ds-color-neutral-text-subtle); font-weight: var(--ds-font-weight-regular); margin: 0; letter-spacing: 0.09px; }
4568
+ .${e.searchResults} { margin-top: var(--ds-size-4); max-height: 400px; overflow-y: auto; }
4569
+ .${e.resultList} { list-style: none; padding: 0; margin: 0; }
4570
+ .${e.resultItem} { border-bottom: none; }
4571
+ .${e.resultLink} {
4572
+ display: flex; flex-direction: row; align-items: center; width: 100%;
4573
+ padding: var(--ds-size-2) 0; background: none; border: none;
4574
+ text-align: left; cursor: pointer; gap: var(--ds-size-4); text-decoration: none;
4575
+ }
4576
+ .${e.suggestionIcon} { font-size: 20px; color: var(--ds-color-neutral-text-subtle); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
4577
+ .${e.suggestionText} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: var(--ds-color-neutral-text-default); line-height: 1.5; }
4578
+ .${e.highlightedText} { color: var(--ds-color-primary-color-red-text-default); font-weight: var(--ds-font-weight-medium); }
4579
+ .${e.remainingText} { color: var(--ds-color-neutral-border-subtle); }
4580
+ .${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
+ .${e.noResults} { padding: var(--ds-size-4); text-align: center; color: var(--ds-color-neutral-text-subtle); }
4582
+ @media (max-width: 850px) {
4583
+ .${e.header} { z-index: 10000; }
4584
+ .${e.headerExtension} { display: none; }
4585
+ .${e.headerInner} { padding: var(--ds-size-5) var(--ds-size-6); min-height: auto; }
4586
+ .${e.navItems} { display: none; }
4587
+ .${e.logoWrapper} { gap: var(--ds-size-2); }
4588
+ .${e.logo} { height: 40px; }
4589
+ /* Mobile: always hide primary logo in header */
4590
+ .${e.primaryLogo} { display: none; }
4591
+ .${e.secondaryLogo} { height: 28px; }
4592
+ .${e.secondaryLogoWrapper} { padding: 0; }
4593
+ .${e.actions} { gap: var(--ds-size-4); }
4594
+ .${e.userName} { display: none; }
4595
+ .${e.menuButton} .${e.buttonText} { display: none; }
4596
+ .${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); }
4599
+ .${e.searchContent} { padding: var(--ds-size-6); }
4600
+ .${e.menuContent} { flex-direction: column; padding: 0; min-height: 100%; }
4601
+ .${e.menuRightColumn} { padding: var(--ds-size-6); gap: var(--ds-size-4); flex: 1; display: flex; flex-direction: column; min-height: 0; }
4602
+ .${e.menuLeftColumn} { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: var(--ds-size-6); }
4603
+ .${e.menuBrand} { display: flex; justify-content: flex-start; margin-top: auto; padding: var(--ds-size-6); margin-left: calc(-1 * var(--ds-size-6)); margin-right: calc(-1 * var(--ds-size-6)); margin-bottom: calc(-1 * var(--ds-size-6)); background-color: white; }
4604
+ .${e.menuUtilities} .${e.languageSwitch} :global([popover]) { background-color: var(--ds-color-neutral-background-default) !important; margin-top: 0 !important; position: fixed !important; overflow: visible; z-index: 20000 !important; }
4605
+ @media (prefers-color-scheme: light) {
4606
+ .${e.menuUtilities} .${e.languageLabel} { color: var(--color-neutral-text-default, #2B2B2B); }
4607
+ .${e.menuUtilities} .${e.languageLink} { color: var(--color-neutral-text-default, #2B2B2B) !important; }
4608
+ }
4609
+ [data-color-scheme="light"] .${e.menuUtilities} .${e.languageLabel} { color: var(--color-neutral-text-default, #2B2B2B); }
4610
+ [data-color-scheme="light"] .${e.menuUtilities} .${e.languageLink} { color: var(--color-neutral-text-default, #2B2B2B) !important; }
4611
+ .${e.searchOverlay}::before { display: none; }
4612
+ }
4613
+ `;
4614
+ }
4368
4615
  export {
4369
4616
  so as Alert,
4370
4617
  Ft as Avatar,
4371
4618
  ao as Badge,
4372
- ma as BadgePosition,
4373
- ga as Breadcrumbs,
4374
- fa as BreadcrumbsItem,
4375
- ka as BreadcrumbsLink,
4376
- pa as BreadcrumbsList,
4619
+ ka as BadgePosition,
4620
+ ba as Breadcrumbs,
4621
+ ya as BreadcrumbsItem,
4622
+ xa as BreadcrumbsLink,
4623
+ va as BreadcrumbsList,
4377
4624
  ye as Button,
4378
4625
  io as Card,
4379
- ha as CardBlock,
4626
+ Ta as CardBlock,
4380
4627
  os as Carousel,
4381
4628
  lo as Checkbox,
4382
- va as Chip,
4629
+ wa as Chip,
4383
4630
  ir as DateInput,
4384
4631
  Qo as DatePicker,
4385
- ya as Details,
4386
- Ta as Dialog,
4387
- xa as Divider,
4388
- ce as Dropdown,
4389
- Sa as ErrorSummary,
4390
- wa as Field,
4632
+ Ca as Details,
4633
+ ja as Dialog,
4634
+ Da as Divider,
4635
+ ee as Dropdown,
4636
+ Ia as ErrorSummary,
4637
+ La as Field,
4391
4638
  ss as FieldCounter,
4392
4639
  rs as FieldDescription,
4393
- Ca as Fieldset,
4394
- Ga as Header,
4640
+ Aa as Fieldset,
4641
+ Ya as Header,
4395
4642
  as as Heading,
4396
- ja as Input,
4643
+ Fa as Input,
4397
4644
  is as Label,
4398
- Va as LanguageProvider,
4399
- qe as Link,
4400
- Da as List,
4401
- Ia as Pagination,
4402
- Je as Paragraph,
4403
- Fa as Popover,
4404
- La as Radio,
4645
+ qa as LanguageProvider,
4646
+ Ne as Link,
4647
+ _a as List,
4648
+ Ea as Pagination,
4649
+ Ze as Paragraph,
4650
+ Na as Popover,
4651
+ Pa as Radio,
4405
4652
  Pe as Search,
4406
- Na as Select,
4407
- Ea as SkeletonLoader,
4408
- Pa as SkipLink,
4653
+ Ra as Select,
4654
+ za as SkeletonLoader,
4655
+ Oa as SkipLink,
4409
4656
  ns as Spinner,
4410
4657
  ls as Suggestion,
4411
- Ct as Switch,
4412
- Ba as Table,
4413
- Ma as Tabs,
4414
- Ra as Tag,
4415
- Oa as Textarea,
4416
- Ha as Textfield,
4417
- Wa as ToggleGroup,
4418
- za as Tooltip,
4658
+ Ue as Switch,
4659
+ $a as Table,
4660
+ Ha as Tabs,
4661
+ Wa as Tag,
4662
+ Va as Textarea,
4663
+ Ga as Textfield,
4664
+ Ua as ToggleGroup,
4665
+ Ka as Tooltip,
4419
4666
  ds as ValidationMessage,
4420
- ba as useCheckboxGroup,
4667
+ Sa as useCheckboxGroup,
4421
4668
  us as useLanguage,
4422
- Aa as usePagination,
4423
- _a as useRadioGroup
4669
+ Ba as usePagination,
4670
+ Ma as useRadioGroup
4424
4671
  };