@obosbbl/grunnmuren-react 1.14.0-beta.0 → 1.14.0-beta.2

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,31 +1,31 @@
1
1
  'use client';
2
- import { jsx as o, jsxs as b, Fragment as Z } from "react/jsx-runtime";
3
- import pe, { createContext as w, useContext as A, useState as M, useCallback as E, useEffect as Ae, useId as ee, forwardRef as g, Children as W, isValidElement as te, cloneElement as K, useRef as R, useMemo as C, useReducer as ve } from "react";
4
- import { ChevronDown as re, Warning as ne, InfoCircle as ae, LoadingSpinner as xe, CheckCircle as Ne, MenuAlt as we, Close as ye, ChevronRight as Ie, ChevronLeft as Ee } from "@obosbbl/grunnmuren-icons";
5
- import { useCollapse as Ce } from "react-collapsed";
2
+ import { jsx as o, jsxs as f, Fragment as O } from "react/jsx-runtime";
3
+ import { createContext as N, useContext as A, useState as q, useCallback as I, useEffect as fe, useId as _, forwardRef as g, Children as Z, isValidElement as $, cloneElement as W, useRef as E, useMemo as C, useReducer as he } from "react";
4
+ import { ChevronDown as ee, Warning as te, InfoCircle as re, LoadingSpinner as ge, CheckCircle as pe, MenuAlt as Ae, Close as xe, ChevronRight as ve, ChevronLeft as Ne } from "@obosbbl/grunnmuren-icons";
5
+ import { useCollapse as we } from "react-collapsed";
6
6
  import l from "clsx";
7
- import { useUpdateEffect as Re } from "react-use";
8
- import X from "@react-hook/merged-ref";
9
- const I = () => {
10
- }, Se = 300, ke = "duration-300", Y = (e) => {
7
+ import { useMediaQuery as ne, useUpdateEffect as ye } from "@react-hookz/web";
8
+ import K from "@react-hook/merged-ref";
9
+ const y = () => {
10
+ }, Ie = 300, Ce = "duration-300", X = (e) => {
11
11
  const { className: r, ...t } = e;
12
12
  return /* @__PURE__ */ o("div", { className: l(r, "flex flex-col gap-2"), ...t });
13
- }, B = w({
13
+ }, Y = N({
14
14
  isExpanded: !1,
15
- setExpanded: I,
15
+ setExpanded: y,
16
16
  // @ts-expect-error noop
17
- getCollapseProps: I,
17
+ getCollapseProps: y,
18
18
  // @ts-expect-error noop
19
- getToggleProps: I,
20
- onChange: I
21
- }), qe = (e) => {
22
- const { className: r, defaultOpen: t, onChange: n = I, open: a, ...s } = e, i = Ce({
19
+ getToggleProps: y,
20
+ onChange: y
21
+ }), Ee = (e) => {
22
+ const { className: r, defaultOpen: t, onChange: n = y, open: a, ...s } = e, i = we({
23
23
  defaultExpanded: t,
24
24
  isExpanded: a,
25
- duration: Se,
25
+ duration: Ie,
26
26
  easing: "cubic-bezier(0.25, 0.1, 0.25, 1)"
27
27
  });
28
- return /* @__PURE__ */ o(B.Provider, { value: { onChange: n, ...i }, children: /* @__PURE__ */ o(
28
+ return /* @__PURE__ */ o(Y.Provider, { value: { onChange: n, ...i }, children: /* @__PURE__ */ o(
29
29
  "div",
30
30
  {
31
31
  className: l(
@@ -36,9 +36,9 @@ const I = () => {
36
36
  ...s
37
37
  }
38
38
  ) });
39
- }, Me = (e) => {
40
- const { children: r, className: t, as: n = "h3", ...a } = e, { getToggleProps: s, onChange: i, isExpanded: c } = A(B), u = s({ onClick: () => i(!c) });
41
- return /* @__PURE__ */ o(n, { children: /* @__PURE__ */ b(
39
+ }, Re = (e) => {
40
+ const { children: r, className: t, as: n = "h3", ...a } = e, { getToggleProps: s, onChange: i, isExpanded: c } = A(Y), m = s({ onClick: () => i(!c) });
41
+ return /* @__PURE__ */ o(n, { children: /* @__PURE__ */ f(
42
42
  "button",
43
43
  {
44
44
  className: l(
@@ -46,27 +46,27 @@ const I = () => {
46
46
  "focus-visible:outline-blue-dark aria-expanded:bg-green-dark group flex min-h-[4rem] w-full items-center justify-between px-5 py-4 text-left text-lg font-semibold focus:outline-none focus-visible:outline-4 focus-visible:outline-offset-0 aria-expanded:text-white"
47
47
  ),
48
48
  ...a,
49
- ...u,
50
- id: oe(u["aria-controls"]),
49
+ ...m,
50
+ id: ae(m["aria-controls"]),
51
51
  children: [
52
52
  r,
53
53
  /* @__PURE__ */ o(
54
- re,
54
+ ee,
55
55
  {
56
- className: `shrink-0 text-sm ${ke} group-aria-expanded:rotate-180`
56
+ className: `shrink-0 text-sm ${Ce} group-aria-expanded:rotate-180`
57
57
  }
58
58
  )
59
59
  ]
60
60
  }
61
61
  ) });
62
- }, Le = (e) => {
63
- const { getCollapseProps: r } = A(B), { className: t, ...n } = e, a = r();
64
- return /* @__PURE__ */ o("div", { ...a, "aria-labelledby": oe(a.id), children: /* @__PURE__ */ o("div", { className: l(t, "p-5 pb-10"), ...n }) });
65
- }, oe = (e) => e + "toggle";
66
- Y.Item = qe;
67
- Y.Header = Me;
68
- Y.Content = Le;
69
- const vt = (e) => {
62
+ }, ke = (e) => {
63
+ const { getCollapseProps: r } = A(Y), { className: t, ...n } = e, a = r();
64
+ return /* @__PURE__ */ o("div", { ...a, "aria-labelledby": ae(a.id), children: /* @__PURE__ */ o("div", { className: l(t, "p-5 pb-10"), ...n }) });
65
+ }, ae = (e) => e + "toggle";
66
+ X.Item = Ee;
67
+ X.Header = Re;
68
+ X.Content = ke;
69
+ const dt = (e) => {
70
70
  const { className: r, children: t, heading: n, severity: a = "alert", ...s } = e;
71
71
  return /* @__PURE__ */ o(
72
72
  "section",
@@ -77,58 +77,23 @@ const vt = (e) => {
77
77
  }),
78
78
  role: "alert",
79
79
  ...s,
80
- children: /* @__PURE__ */ b("div", { className: "flex justify-center", children: [
80
+ children: /* @__PURE__ */ f("div", { className: "flex justify-center", children: [
81
81
  /* @__PURE__ */ o(
82
- Pe,
82
+ Se,
83
83
  {
84
84
  className: "mr-4 flex-none md:mr-8 md:text-2xl",
85
85
  severity: a
86
86
  }
87
87
  ),
88
- /* @__PURE__ */ b("div", { className: "w-prose flex-initial", children: [
88
+ /* @__PURE__ */ f("div", { className: "w-prose flex-initial", children: [
89
89
  /* @__PURE__ */ o("h2", { className: "h4 mb-2", children: n }),
90
90
  t
91
91
  ] })
92
92
  ] })
93
93
  }
94
94
  );
95
- }, Pe = ({ severity: e, className: r }) => e === "alert" ? /* @__PURE__ */ o(ne, { className: l(r, "text-red") }) : /* @__PURE__ */ o(ae, { className: l(r, "text-orange") });
96
- var se = {}, N = {};
97
- Object.defineProperty(N, "__esModule", { value: !0 });
98
- N.isNavigator = N.isBrowser = N.off = N.on = N.noop = void 0;
99
- var ze = function() {
100
- };
101
- N.noop = ze;
102
- function Ve(e) {
103
- for (var r = [], t = 1; t < arguments.length; t++)
104
- r[t - 1] = arguments[t];
105
- e && e.addEventListener && e.addEventListener.apply(e, r);
106
- }
107
- N.on = Ve;
108
- function Te(e) {
109
- for (var r = [], t = 1; t < arguments.length; t++)
110
- r[t - 1] = arguments[t];
111
- e && e.removeEventListener && e.removeEventListener.apply(e, r);
112
- }
113
- N.off = Te;
114
- N.isBrowser = typeof window < "u";
115
- N.isNavigator = typeof navigator < "u";
116
- Object.defineProperty(se, "__esModule", { value: !0 });
117
- var G = pe, Fe = N, Je = function(e, r) {
118
- return r !== void 0 ? r : Fe.isBrowser ? window.matchMedia(e).matches : (process.env.NODE_ENV !== "production" && console.warn("`useMedia` When server side rendering, defaultState should be defined to prevent a hydration mismatches."), !1);
119
- }, Oe = function(e, r) {
120
- var t = G.useState(Je(e, r)), n = t[0], a = t[1];
121
- return G.useEffect(function() {
122
- var s = !0, i = window.matchMedia(e), c = function() {
123
- s && a(!!i.matches);
124
- };
125
- return i.addListener(c), a(i.matches), function() {
126
- s = !1, i.removeListener(c);
127
- };
128
- }, [e]), n;
129
- }, ie = se.default = Oe;
130
- const je = "(prefers-reduced-motion: reduce)", xt = (e = !1) => ie(je, e);
131
- function le(e) {
95
+ }, Se = ({ severity: e, className: r }) => e === "alert" ? /* @__PURE__ */ o(te, { className: l(r, "text-red") }) : /* @__PURE__ */ o(re, { className: l(r, "text-orange") }), qe = "(prefers-reduced-motion: reduce)", ct = (e = !1) => ne(qe, { initializeWithValue: e });
96
+ function oe(e) {
132
97
  switch (e) {
133
98
  case "gray":
134
99
  return "bg-gray-lightest";
@@ -142,34 +107,34 @@ function le(e) {
142
107
  return "bg-sky-light";
143
108
  }
144
109
  }
145
- const Ze = (e) => ie("(max-width: 767.9px)", e);
110
+ const Le = (e) => ne("(max-width: 767.9px)", { initializeWithValue: e });
146
111
  function L(e, r = !0) {
147
- const [t, n] = M("indeterminate"), [a, s] = M(), i = E((d) => {
112
+ const [t, n] = q("indeterminate"), [a, s] = q(), i = I((d) => {
148
113
  d.target.checkValidity() && (n("valid"), s(void 0));
149
- }, []), c = E(
114
+ }, []), c = I(
150
115
  (d) => {
151
116
  t !== "indeterminate" && d.target.checkValidity() && (n("valid"), s(void 0));
152
117
  },
153
118
  [t]
154
- ), u = E((d) => {
119
+ ), m = I((d) => {
155
120
  d.preventDefault();
156
- const m = d.target.validationMessage;
157
- s(m), n("invalid");
121
+ const u = d.target.validationMessage;
122
+ s(u), n("invalid");
158
123
  }, []);
159
- return Ae(() => {
160
- var m;
124
+ return fe(() => {
125
+ var u;
161
126
  const { current: d } = e;
162
127
  return r && // @ts-expect-error respect the <form noValidate> attribute if we are rendered inside a form
163
- ((m = d == null ? void 0 : d.form) == null ? void 0 : m.noValidate) !== !0 && (d == null || d.addEventListener("blur", i), d == null || d.addEventListener("input", c), d == null || d.addEventListener("invalid", u)), () => {
164
- d == null || d.removeEventListener("blur", i), d == null || d.removeEventListener("input", c), d == null || d.removeEventListener("invalid", u);
128
+ ((u = d == null ? void 0 : d.form) == null ? void 0 : u.noValidate) !== !0 && (d == null || d.addEventListener("blur", i), d == null || d.addEventListener("input", c), d == null || d.addEventListener("invalid", m)), () => {
129
+ d == null || d.removeEventListener("blur", i), d == null || d.removeEventListener("input", c), d == null || d.removeEventListener("invalid", m);
165
130
  };
166
131
  }, [r, c]), { validity: t, validationMessage: a };
167
132
  }
168
- function S(e) {
169
- const r = ee();
133
+ function R(e) {
134
+ const r = _();
170
135
  return e ?? r;
171
136
  }
172
- const Nt = (e) => {
137
+ const mt = (e) => {
173
138
  const {
174
139
  bgColor: r,
175
140
  className: t,
@@ -177,15 +142,15 @@ const Nt = (e) => {
177
142
  heading: a,
178
143
  image: s,
179
144
  ...i
180
- } = e, c = le(r);
181
- return /* @__PURE__ */ o("article", { className: l(t, c, "px-4 py-8 md:py-14"), ...i, children: /* @__PURE__ */ b("div", { className: "container flex flex-col justify-center gap-4 md:flex-row md:gap-12", children: [
145
+ } = e, c = oe(r);
146
+ return /* @__PURE__ */ o("article", { className: l(t, c, "px-4 py-8 md:py-14"), ...i, children: /* @__PURE__ */ f("div", { className: "container flex flex-col justify-center gap-4 md:flex-row md:gap-12", children: [
182
147
  s,
183
- /* @__PURE__ */ b("div", { className: "max-w-prose", children: [
148
+ /* @__PURE__ */ f("div", { className: "max-w-prose", children: [
184
149
  a && /* @__PURE__ */ o("h2", { className: "h3 mb-4", children: a }),
185
150
  n
186
151
  ] })
187
152
  ] }) });
188
- }, wt = (e) => /* @__PURE__ */ o(
153
+ }, ut = (e) => /* @__PURE__ */ o(
189
154
  "img",
190
155
  {
191
156
  loading: "lazy",
@@ -193,7 +158,7 @@ const Nt = (e) => {
193
158
  className: "w-20 flex-none self-center md:w-32 md:self-start",
194
159
  ...e
195
160
  }
196
- ), We = {
161
+ ), Me = {
197
162
  "standard-primary": "bg-green border-green text-white",
198
163
  "standard-secondary": "bg-white border-green text-black",
199
164
  "mint-primary": "bg-mint border-mint text-black",
@@ -202,7 +167,7 @@ const Nt = (e) => {
202
167
  "white-secondary": "bg-transparent border-white text-white",
203
168
  "light-green-primary": "bg-green-light border-green-light text-black",
204
169
  "light-green-secondary": "bg-transparent border-green-light text-green-light"
205
- }, yt = g((e, r) => {
170
+ }, bt = g((e, r) => {
206
171
  const {
207
172
  children: t,
208
173
  className: n,
@@ -210,10 +175,10 @@ const Nt = (e) => {
210
175
  href: s,
211
176
  loading: i,
212
177
  type: c = "button",
213
- variant: u = "primary",
178
+ variant: m = "primary",
214
179
  ...d
215
- } = e, m = A(P), f = We[`${a ?? m}-${u}`], p = l(n, f, "button"), x = i ? /* @__PURE__ */ o(Ke, { children: t }) : t;
216
- return /* @__PURE__ */ o(Z, { children: s ? /* @__PURE__ */ o(
180
+ } = e, u = A(M), b = Me[`${a ?? u}-${m}`], p = l(n, b, "button"), v = i ? /* @__PURE__ */ o(Pe, { children: t }) : t;
181
+ return /* @__PURE__ */ o(O, { children: s ? /* @__PURE__ */ o(
217
182
  "a",
218
183
  {
219
184
  "aria-busy": i ? !0 : void 0,
@@ -221,7 +186,7 @@ const Nt = (e) => {
221
186
  href: s,
222
187
  ref: r,
223
188
  className: p,
224
- children: x
189
+ children: v
225
190
  }
226
191
  ) : /* @__PURE__ */ o(
227
192
  "button",
@@ -231,34 +196,34 @@ const Nt = (e) => {
231
196
  type: c,
232
197
  ref: r,
233
198
  className: p,
234
- children: x
199
+ children: v
235
200
  }
236
201
  ) });
237
- }), Ke = (e) => /* @__PURE__ */ b(Z, { children: [
238
- de(e.children),
202
+ }), Pe = (e) => /* @__PURE__ */ f(O, { children: [
203
+ se(e.children),
239
204
  /* @__PURE__ */ o(
240
205
  "span",
241
206
  {
242
207
  className: "!visible absolute bottom-1 left-1 right-1 top-1 grid place-items-center overflow-hidden bg-inherit",
243
208
  "aria-hidden": !0,
244
- children: /* @__PURE__ */ o(xe, { className: "animate-spin" })
209
+ children: /* @__PURE__ */ o(ge, { className: "animate-spin" })
245
210
  }
246
211
  )
247
212
  ] });
248
- function de(e) {
249
- return W.map(e, (r) => {
250
- if (!te(r))
213
+ function se(e) {
214
+ return Z.map(e, (r) => {
215
+ if (!$(r))
251
216
  return typeof r == "string" ? /* @__PURE__ */ o("span", { children: r }) : r;
252
217
  if (r.props.children) {
253
218
  const t = {
254
- children: de(r.props.children)
219
+ children: se(r.props.children)
255
220
  };
256
- r = K(r, t);
221
+ r = W(r, t);
257
222
  }
258
223
  return r;
259
224
  });
260
225
  }
261
- const P = w("standard"), ce = w(!0), Xe = (e, r) => {
226
+ const M = N("standard"), ie = N(!0), ze = (e, r) => {
262
227
  const {
263
228
  as: t = "div",
264
229
  body: n,
@@ -267,7 +232,7 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
267
232
  rightAlignBody: i = !0,
268
233
  ...c
269
234
  } = e;
270
- return /* @__PURE__ */ b(
235
+ return /* @__PURE__ */ f(
271
236
  t,
272
237
  {
273
238
  className: l(
@@ -277,12 +242,12 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
277
242
  ...c,
278
243
  ref: r,
279
244
  children: [
280
- /* @__PURE__ */ o(ce.Provider, { value: i, children: s }),
245
+ /* @__PURE__ */ o(ie.Provider, { value: i, children: s }),
281
246
  n
282
247
  ]
283
248
  }
284
249
  );
285
- }, Ye = g(Xe), Be = g(
250
+ }, Ve = g(ze), Te = g(
286
251
  (e, r) => {
287
252
  const { className: t, ...n } = e;
288
253
  return /* @__PURE__ */ o(
@@ -294,16 +259,16 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
294
259
  }
295
260
  );
296
261
  }
297
- ), Ue = g(
262
+ ), Fe = g(
298
263
  (e, r) => {
299
- const { className: t, children: n, ...a } = e, s = A(ce), i = l(
264
+ const { className: t, children: n, ...a } = e, s = A(ie), i = l(
300
265
  t,
301
266
  "max-md:rounded-b-3xl w-full",
302
267
  s ? "md:rounded-r-3xl" : "md:rounded-l-3xl md:order-1"
303
268
  );
304
- if (te(n)) {
305
- const c = W.only(n);
306
- return K(c, {
269
+ if ($(n)) {
270
+ const c = Z.only(n);
271
+ return W(c, {
307
272
  // @ts-expect-error assume className prop is allowed
308
273
  className: i,
309
274
  ref: r,
@@ -312,10 +277,10 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
312
277
  }
313
278
  return /* @__PURE__ */ o("img", { className: i, ref: r, ...a });
314
279
  }
315
- ), It = Object.assign({}, Ye, {
316
- Body: Be,
317
- Image: Ue
318
- }), Qe = (e, r) => {
280
+ ), ft = Object.assign({}, Ve, {
281
+ Body: Te,
282
+ Image: Fe
283
+ }), Je = (e, r) => {
319
284
  const {
320
285
  as: t = "div",
321
286
  className: n,
@@ -333,7 +298,7 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
333
298
  ref: r
334
299
  }
335
300
  );
336
- }, Et = g(Qe), Ct = g(
301
+ }, ht = g(Je), gt = g(
337
302
  (e, r) => {
338
303
  const { className: t, ...n } = e;
339
304
  return /* @__PURE__ */ o(
@@ -346,9 +311,9 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
346
311
  }
347
312
  );
348
313
  }
349
- ), Rt = g(
314
+ ), pt = g(
350
315
  (e, r) => {
351
- const { bgColor: t, className: n, ...a } = e, s = le(t);
316
+ const { bgColor: t, className: n, ...a } = e, s = oe(t);
352
317
  return /* @__PURE__ */ o("div", { className: l(s, n), children: /* @__PURE__ */ o(
353
318
  "div",
354
319
  {
@@ -358,12 +323,12 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
358
323
  }
359
324
  ) });
360
325
  }
361
- ), St = g(
326
+ ), At = g(
362
327
  (e, r) => {
363
328
  const { className: t, ...n } = e;
364
329
  return /* @__PURE__ */ o("div", { className: l(t, "p-8 md:px-10"), ...n, ref: r });
365
330
  }
366
- ), kt = g((e, r) => {
331
+ ), xt = g((e, r) => {
367
332
  const { className: t, ...n } = e;
368
333
  return /* @__PURE__ */ o(
369
334
  "a",
@@ -376,7 +341,7 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
376
341
  ...n
377
342
  }
378
343
  );
379
- }), qt = g(
344
+ }), vt = g(
380
345
  (e, r) => {
381
346
  const {
382
347
  children: t,
@@ -385,12 +350,12 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
385
350
  id: s,
386
351
  disableValidation: i = !1,
387
352
  ...c
388
- } = e, u = R(null), { validity: d, validationMessage: m } = L(
389
- u,
353
+ } = e, m = E(null), { validity: d, validationMessage: u } = L(
354
+ m,
390
355
  !i
391
- ), h = S(s), f = h + "err", p = a || m;
392
- return /* @__PURE__ */ b("div", { className: "grid gap-2", children: [
393
- /* @__PURE__ */ b("label", { className: l(n, "flex cursor-pointer gap-2.5"), children: [
356
+ ), h = R(s), b = h + "err", p = a || u;
357
+ return /* @__PURE__ */ f("div", { className: "grid gap-2", children: [
358
+ /* @__PURE__ */ f("label", { className: l(n, "flex cursor-pointer gap-2.5"), children: [
394
359
  /* @__PURE__ */ o(
395
360
  "input",
396
361
  {
@@ -405,32 +370,32 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
405
370
  ref: r,
406
371
  type: "checkbox",
407
372
  ...c,
408
- "aria-describedby": p ? f : void 0,
373
+ "aria-describedby": p ? b : void 0,
409
374
  "aria-invalid": !!a || d === "invalid"
410
375
  }
411
376
  ),
412
377
  t
413
378
  ] }),
414
- p && /* @__PURE__ */ o(k, { id: f, children: p })
379
+ p && /* @__PURE__ */ o(k, { id: b, children: p })
415
380
  ] });
416
381
  }
417
- ), He = {
382
+ ), je = {
418
383
  sky: "bg-sky border-sky",
419
384
  "red-light": "bg-red-light border-red-light",
420
385
  mint: "bg-mint border-mint",
421
386
  "orange-light": "bg-orange-light border-orange-light",
422
387
  "green-light": "bg-green-light border-green-light",
423
388
  "blue-light": "bg-blue-light border-blue-light"
424
- }, De = {
389
+ }, Oe = {
425
390
  sky: "text-blue-dark",
426
391
  "red-light": "text-red",
427
392
  mint: "text-green",
428
393
  "orange-light": "text-black",
429
394
  "green-light": "text-green",
430
395
  "blue-light": "text-blue-dark"
431
- }, Mt = (e) => {
432
- const { className: r, color: t, icon: n, children: a, variant: s = "filled" } = e, i = t && He[t], c = t && De[t];
433
- return /* @__PURE__ */ b(
396
+ }, Nt = (e) => {
397
+ const { className: r, color: t, icon: n, children: a, variant: s = "filled" } = e, i = t && je[t], c = t && Oe[t];
398
+ return /* @__PURE__ */ f(
434
399
  "div",
435
400
  {
436
401
  className: l(
@@ -452,9 +417,9 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
452
417
  ]
453
418
  }
454
419
  );
455
- }, Lt = (e) => {
420
+ }, wt = (e) => {
456
421
  const { className: r, children: t, ...n } = e;
457
- return /* @__PURE__ */ o(P.Provider, { value: "white", children: /* @__PURE__ */ o(
422
+ return /* @__PURE__ */ o(M.Provider, { value: "white", children: /* @__PURE__ */ o(
458
423
  "footer",
459
424
  {
460
425
  className: l(
@@ -466,9 +431,9 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
466
431
  children: /* @__PURE__ */ o("div", { className: "container", children: t })
467
432
  }
468
433
  ) });
469
- }, Pt = (e) => {
434
+ }, yt = (e) => {
470
435
  const { heading: r, children: t, className: n, ...a } = e;
471
- return /* @__PURE__ */ b(
436
+ return /* @__PURE__ */ f(
472
437
  "form",
473
438
  {
474
439
  className: l(
@@ -477,12 +442,12 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
477
442
  ),
478
443
  ...a,
479
444
  children: [
480
- r && /* @__PURE__ */ o(Ge, { children: r }),
445
+ r && /* @__PURE__ */ o(Ze, { children: r }),
481
446
  /* @__PURE__ */ o("div", { className: "p-6 md:p-10", children: t })
482
447
  ]
483
448
  }
484
449
  );
485
- }, Ge = (e) => {
450
+ }, Ze = (e) => {
486
451
  const { className: r, ...t } = e;
487
452
  return /* @__PURE__ */ o(
488
453
  "h2",
@@ -494,7 +459,7 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
494
459
  ...t
495
460
  }
496
461
  );
497
- }, zt = (e) => {
462
+ }, It = (e) => {
498
463
  const { className: r, ...t } = e;
499
464
  return /* @__PURE__ */ o(
500
465
  "div",
@@ -510,7 +475,7 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
510
475
  );
511
476
  }, k = (e) => {
512
477
  const { children: r, className: t, ...n } = e;
513
- return /* @__PURE__ */ b(
478
+ return /* @__PURE__ */ f(
514
479
  "div",
515
480
  {
516
481
  className: l(
@@ -520,17 +485,17 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
520
485
  "aria-live": "polite",
521
486
  ...n,
522
487
  children: [
523
- /* @__PURE__ */ o(ne, { className: "text-red flex-shrink-0" }),
488
+ /* @__PURE__ */ o(te, { className: "text-red flex-shrink-0" }),
524
489
  r
525
490
  ]
526
491
  }
527
492
  );
528
- }, z = (e) => {
493
+ }, P = (e) => {
529
494
  const { className: r, children: t, ...n } = e;
530
495
  return /* @__PURE__ */ o("div", { className: l(r, "text-gray-dark text-sm"), ...n, children: t });
531
- }, V = (e) => {
496
+ }, z = (e) => {
532
497
  const { className: r, children: t, isRequired: n, isInvalid: a, ...s } = e;
533
- return /* @__PURE__ */ b(
498
+ return /* @__PURE__ */ f(
534
499
  "label",
535
500
  {
536
501
  className: l(r, "block cursor-pointer font-semibold"),
@@ -550,9 +515,9 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
550
515
  ]
551
516
  }
552
517
  );
553
- }, Vt = (e) => {
518
+ }, Ct = (e) => {
554
519
  const { className: r, heading: t, text: n, ...a } = e;
555
- return /* @__PURE__ */ b(
520
+ return /* @__PURE__ */ f(
556
521
  "div",
557
522
  {
558
523
  className: l(
@@ -576,7 +541,7 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
576
541
  ]
577
542
  }
578
543
  );
579
- }, _e = (e) => {
544
+ }, We = (e) => {
580
545
  const { className: r, collapsed: t, step: n, onClick: a, children: s, formStatus: i } = e;
581
546
  return /* @__PURE__ */ o(
582
547
  "button",
@@ -590,7 +555,7 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
590
555
  "border-green bg-green text-white": t && i === "completed"
591
556
  }),
592
557
  children: /* @__PURE__ */ o(
593
- $e,
558
+ Ke,
594
559
  {
595
560
  collapsed: t,
596
561
  step: n,
@@ -600,7 +565,7 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
600
565
  )
601
566
  }
602
567
  );
603
- }, $e = (e) => {
568
+ }, Ke = (e) => {
604
569
  const { collapsed: r, step: t, children: n, formStatus: a } = e, s = C(() => {
605
570
  switch (a) {
606
571
  case "blank":
@@ -615,10 +580,10 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
615
580
  case "blank":
616
581
  return /* @__PURE__ */ o("div", { children: t });
617
582
  case "completed":
618
- return /* @__PURE__ */ o(Ne, { className: "h-10 w-10 md:h-12 md:w-12" });
583
+ return /* @__PURE__ */ o(pe, { className: "h-10 w-10 md:h-12 md:w-12" });
619
584
  }
620
585
  }, [a, t, r]);
621
- return /* @__PURE__ */ b(
586
+ return /* @__PURE__ */ f(
622
587
  "h2",
623
588
  {
624
589
  className: l(
@@ -657,7 +622,7 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
657
622
  ]
658
623
  }
659
624
  );
660
- }, me = w([
625
+ }, le = N([
661
626
  {
662
627
  activeStep: 1,
663
628
  formData: {}
@@ -665,10 +630,10 @@ const P = w("standard"), ce = w(!0), Xe = (e, r) => {
665
630
  () => {
666
631
  }
667
632
  ]);
668
- function et(e) {
669
- const [r, t] = A(me), n = E(async () => {
633
+ function Xe(e) {
634
+ const [r, t] = A(le), n = I(async () => {
670
635
  t({ type: "PREV_STEP" });
671
- }, [t]), a = E(
636
+ }, [t]), a = I(
672
637
  (s) => {
673
638
  t({
674
639
  type: "SET_FORM_STEP_DATA",
@@ -687,7 +652,7 @@ function et(e) {
687
652
  formData: r.formData
688
653
  };
689
654
  }
690
- function tt(e, r) {
655
+ function Ye(e, r) {
691
656
  switch (r.type) {
692
657
  case "NEXT_STEP":
693
658
  return {
@@ -714,58 +679,62 @@ function tt(e, r) {
714
679
  };
715
680
  }
716
681
  }
717
- function Tt({ children: e }) {
718
- const [r, t] = ve(tt, {
682
+ function Et({ children: e }) {
683
+ const [r, t] = he(Ye, {
719
684
  activeStep: 1,
720
685
  formData: {}
721
686
  }), n = C(() => [r, t], [r, t]);
722
- return /* @__PURE__ */ o(me.Provider, { value: n, children: e });
687
+ return /* @__PURE__ */ o(le.Provider, { value: n, children: e });
723
688
  }
724
- const Ft = (e) => {
689
+ const Rt = (e) => {
725
690
  const {
726
691
  children: r,
727
692
  heading: t,
728
693
  step: n,
729
694
  formStatus: a = "blank",
730
695
  onSubmit: s,
731
- ...i
732
- } = e, { isActive: c, setActiveStep: u, activeStep: d } = et(n), m = R(null), h = E(() => {
733
- n < d && u(n);
734
- }, [d, n, u]);
735
- return Re(() => {
736
- var f;
737
- c && ((f = m.current) == null || f.scrollIntoView({ behavior: "smooth" }));
738
- }, [c]), /* @__PURE__ */ b(
696
+ className: i,
697
+ ...c
698
+ } = e, { isActive: m, setActiveStep: d, activeStep: u } = Xe(n), h = E(null), b = I(() => {
699
+ n < u && d(n);
700
+ }, [u, n, d]);
701
+ return ye(() => {
702
+ var p;
703
+ m && ((p = h.current) == null || p.scrollIntoView({ behavior: "smooth" }));
704
+ }, [m]), /* @__PURE__ */ f(
739
705
  "form",
740
706
  {
741
707
  className: l(
742
- "border-blue-dark block overflow-hidden rounded-lg border-2",
743
- { "rounded-t-2xl md:rounded-t-3xl": n === 1 },
744
- { "border-none": a === "completed" && !c }
708
+ "border-blue-dark relative block overflow-hidden rounded-lg border-2",
709
+ i,
710
+ {
711
+ "rounded-t-2xl md:rounded-t-3xl": n === 1,
712
+ "border-none": a === "completed" && !m
713
+ }
745
714
  ),
746
715
  onSubmit: s,
747
- ref: m,
748
- ...i,
716
+ ref: h,
717
+ ...c,
749
718
  children: [
750
719
  /* @__PURE__ */ o(
751
- _e,
720
+ We,
752
721
  {
753
722
  step: n,
754
723
  formStatus: a,
755
- collapsed: !c,
756
- onClick: h,
724
+ collapsed: !m,
725
+ onClick: b,
757
726
  children: t
758
727
  }
759
728
  ),
760
- c && /* @__PURE__ */ o("div", { className: "p-6 md:p-10", children: r })
729
+ m && /* @__PURE__ */ o("div", { className: "p-6 md:p-10", children: r })
761
730
  ]
762
731
  }
763
732
  );
764
733
  };
765
- function ue(e) {
734
+ function de(e) {
766
735
  return e !== "vertical-split" && e !== "below-center" && e !== "below-left";
767
736
  }
768
- const T = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 }), Jt = g((e, r) => {
737
+ const V = N({ bgColor: "white", contentPosition: "below-center", hasImage: !1 }), kt = g((e, r) => {
769
738
  const {
770
739
  bgColor: t = "white",
771
740
  children: n,
@@ -773,19 +742,19 @@ const T = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
773
742
  contentPosition: s = "below-center",
774
743
  image: i,
775
744
  ...c
776
- } = e, u = i != null, d = u ? s : "below-center", m = C(
745
+ } = e, m = i != null, d = m ? s : "below-center", u = C(
777
746
  () => ({
778
747
  bgColor: t,
779
748
  contentPosition: d,
780
- hasImage: u
749
+ hasImage: m
781
750
  }),
782
- [t, d, u]
751
+ [t, d, m]
783
752
  );
784
753
  return /* @__PURE__ */ o(
785
- P.Provider,
754
+ M.Provider,
786
755
  {
787
756
  value: t === "white" ? "standard" : "mint",
788
- children: /* @__PURE__ */ o(T.Provider, { value: m, children: /* @__PURE__ */ b(
757
+ children: /* @__PURE__ */ o(V.Provider, { value: u, children: /* @__PURE__ */ f(
789
758
  "div",
790
759
  {
791
760
  className: l(
@@ -796,7 +765,7 @@ const T = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
796
765
  "md:grid-cols-[50%,50%]": d === "vertical-split"
797
766
  }
798
767
  ),
799
- style: ue(d) ? { gridTemplateAreas: '"hero"' } : void 0,
768
+ style: de(d) ? { gridTemplateAreas: '"hero"' } : void 0,
800
769
  ...c,
801
770
  ref: r,
802
771
  children: [
@@ -807,10 +776,10 @@ const T = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
807
776
  ) })
808
777
  }
809
778
  );
810
- }), Ot = g(
779
+ }), St = g(
811
780
  (e, r) => {
812
- const { contentPosition: t } = A(T);
813
- return /* @__PURE__ */ b(
781
+ const { contentPosition: t } = A(V);
782
+ return /* @__PURE__ */ f(
814
783
  "picture",
815
784
  {
816
785
  className: l(e.className, "aspect-w-6 aspect-h-7 block", {
@@ -835,10 +804,10 @@ const T = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
835
804
  }
836
805
  );
837
806
  }
838
- ), jt = g(
807
+ ), qt = g(
839
808
  (e, r) => {
840
- const { bgColor: t, contentPosition: n, hasImage: a } = A(T), { children: s, className: i, heading: c, description: u, ...d } = e, m = ue(n);
841
- return /* @__PURE__ */ b(
809
+ const { bgColor: t, contentPosition: n, hasImage: a } = A(V), { children: s, className: i, heading: c, description: m, ...d } = e, u = de(n);
810
+ return /* @__PURE__ */ f(
842
811
  "div",
843
812
  {
844
813
  className: l(
@@ -860,7 +829,7 @@ const T = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
860
829
  // Below left style
861
830
  "md:-mt-32 md:ml-[8%] md:max-w-[58%] md:text-left": n === "below-left",
862
831
  // styles for when the contain is fully contained within the image
863
- "md:mx-32 md:my-9 md:w-2/5": m,
832
+ "md:mx-32 md:my-9 md:w-2/5": u,
864
833
  "self-end justify-self-start": n === "bottom-left",
865
834
  "self-start justify-self-start": n === "top-left",
866
835
  "self-start justify-self-end": n === "top-right",
@@ -869,19 +838,19 @@ const T = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
869
838
  }
870
839
  ),
871
840
  ...d,
872
- style: m ? { gridArea: "hero" } : void 0,
841
+ style: u ? { gridArea: "hero" } : void 0,
873
842
  ref: r,
874
843
  children: [
875
844
  /* @__PURE__ */ o("h1", { children: c }),
876
- u && /* @__PURE__ */ o("p", { className: "text-lg font-semibold md:text-xl", children: u }),
845
+ m && /* @__PURE__ */ o("p", { className: "text-lg font-semibold md:text-xl", children: m }),
877
846
  s
878
847
  ]
879
848
  }
880
849
  );
881
850
  }
882
- ), Zt = g(
851
+ ), Lt = g(
883
852
  (e, r) => {
884
- const { className: t, ...n } = e, { contentPosition: a } = A(T);
853
+ const { className: t, ...n } = e, { contentPosition: a } = A(V);
885
854
  return /* @__PURE__ */ o(
886
855
  "div",
887
856
  {
@@ -898,7 +867,7 @@ const T = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
898
867
  }
899
868
  );
900
869
  }
901
- ), fe = g((e, r) => {
870
+ ), ce = g((e, r) => {
902
871
  const {
903
872
  className: t,
904
873
  isInvalid: n,
@@ -906,10 +875,10 @@ const T = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
906
875
  as: s,
907
876
  type: i,
908
877
  rightAddon: c,
909
- leftAddon: u,
878
+ leftAddon: m,
910
879
  ...d
911
- } = e, m = s ?? "input", h = rt(m, i);
912
- return /* @__PURE__ */ b(
880
+ } = e, u = s ?? "input", h = Qe(u, i);
881
+ return /* @__PURE__ */ f(
913
882
  "div",
914
883
  {
915
884
  className: l(
@@ -920,14 +889,14 @@ const T = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
920
889
  "border-red focus-within:border-red": n,
921
890
  "w-fit": a != null,
922
891
  "w-full": a == null,
923
- "pl-4": u,
892
+ "pl-4": m,
924
893
  "pr-4": c
925
894
  }
926
895
  ),
927
896
  children: [
928
- u,
897
+ m,
929
898
  /* @__PURE__ */ o(
930
- m,
899
+ u,
931
900
  {
932
901
  "aria-invalid": n,
933
902
  ref: r,
@@ -942,28 +911,28 @@ const T = w({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
942
911
  }
943
912
  );
944
913
  });
945
- function rt(e, r) {
914
+ function Qe(e, r) {
946
915
  if (r != null)
947
916
  return r;
948
917
  if (e === "input")
949
918
  return "text";
950
919
  }
951
- const Wt = (e) => {
920
+ const Mt = (e) => {
952
921
  let r = "";
953
- return e.icon && (r = "inline-flex items-center gap-2"), /* @__PURE__ */ b("a", { className: r, href: e.href, children: [
922
+ return e.icon && (r = "inline-flex items-center gap-2"), /* @__PURE__ */ f("a", { className: r, href: e.href, children: [
954
923
  e.icon,
955
924
  e.children
956
925
  ] });
957
- }, q = w({
958
- setIsExpanded: I,
926
+ }, S = N({
927
+ setIsExpanded: y,
959
928
  isExpanded: !1,
960
929
  collapsibleId: ""
961
- }), Kt = (e) => {
962
- const { className: r, children: t, ...n } = e, a = ee(), [s, i] = M(!1), c = C(
930
+ }), Pt = (e) => {
931
+ const { className: r, children: t, ...n } = e, a = _(), [s, i] = q(!1), c = C(
963
932
  () => ({ isExpanded: s, setIsExpanded: i, collapsibleId: a }),
964
933
  [s, a]
965
934
  );
966
- return /* @__PURE__ */ o(P.Provider, { value: "white", children: /* @__PURE__ */ o(q.Provider, { value: c, children: /* @__PURE__ */ o(
935
+ return /* @__PURE__ */ o(M.Provider, { value: "white", children: /* @__PURE__ */ o(S.Provider, { value: c, children: /* @__PURE__ */ o(
967
936
  "div",
968
937
  {
969
938
  className: l(
@@ -974,8 +943,8 @@ const Wt = (e) => {
974
943
  children: /* @__PURE__ */ o("div", { className: "container", children: t })
975
944
  }
976
945
  ) }) });
977
- }, Xt = (e) => {
978
- const { className: r, children: t, ...n } = e, { isExpanded: a } = A(q);
946
+ }, zt = (e) => {
947
+ const { className: r, children: t, ...n } = e, { isExpanded: a } = A(S);
979
948
  return /* @__PURE__ */ o(
980
949
  "nav",
981
950
  {
@@ -990,7 +959,7 @@ const Wt = (e) => {
990
959
  children: t
991
960
  }
992
961
  );
993
- }, Yt = g(
962
+ }, Vt = g(
994
963
  (e, r) => {
995
964
  const { active: t, className: n, children: a, ...s } = e;
996
965
  return /* @__PURE__ */ o(
@@ -1010,10 +979,10 @@ const Wt = (e) => {
1010
979
  }
1011
980
  );
1012
981
  }
1013
- ), nt = () => {
1014
- const { isExpanded: e, setIsExpanded: r, collapsibleId: t } = A(q);
1015
- let n = we, a = "Meny";
1016
- return e && (n = ye, a = "Lukk"), /* @__PURE__ */ b(
982
+ ), Ue = () => {
983
+ const { isExpanded: e, setIsExpanded: r, collapsibleId: t } = A(S);
984
+ let n = Ae, a = "Meny";
985
+ return e && (n = xe, a = "Lukk"), /* @__PURE__ */ f(
1017
986
  "button",
1018
987
  {
1019
988
  "aria-controls": t,
@@ -1027,9 +996,9 @@ const Wt = (e) => {
1027
996
  ]
1028
997
  }
1029
998
  );
1030
- }, Bt = (e) => {
999
+ }, Tt = (e) => {
1031
1000
  const { className: r, children: t, logo: n, ...a } = e;
1032
- return /* @__PURE__ */ b(
1001
+ return /* @__PURE__ */ f(
1033
1002
  "div",
1034
1003
  {
1035
1004
  className: l(r, "flex items-center justify-between gap-8"),
@@ -1037,12 +1006,12 @@ const Wt = (e) => {
1037
1006
  children: [
1038
1007
  n,
1039
1008
  /* @__PURE__ */ o("div", { className: "hidden md:block", children: t }),
1040
- /* @__PURE__ */ o(nt, {})
1009
+ /* @__PURE__ */ o(Ue, {})
1041
1010
  ]
1042
1011
  }
1043
1012
  );
1044
- }, Ut = (e) => {
1045
- const { className: r, children: t, ...n } = e, { collapsibleId: a, isExpanded: s } = A(q);
1013
+ }, Ft = (e) => {
1014
+ const { className: r, children: t, ...n } = e, { collapsibleId: a, isExpanded: s } = A(S);
1046
1015
  return /* @__PURE__ */ o(
1047
1016
  "div",
1048
1017
  {
@@ -1055,10 +1024,10 @@ const Wt = (e) => {
1055
1024
  children: t
1056
1025
  }
1057
1026
  );
1058
- }, Qt = (e) => {
1059
- const { isExpanded: r } = A(q), t = Ze(!1);
1060
- return !r || !t ? null : /* @__PURE__ */ o(Z, { children: e.children });
1061
- }, y = 2, F = w({ currentPage: 0, pageCount: 0 }), Ht = (e) => {
1027
+ }, Jt = (e) => {
1028
+ const { isExpanded: r } = A(S), t = Le(!1);
1029
+ return !r || !t ? null : /* @__PURE__ */ o(O, { children: e.children });
1030
+ }, w = 2, T = N({ currentPage: 0, pageCount: 0 }), jt = (e) => {
1062
1031
  const {
1063
1032
  className: r,
1064
1033
  page: t,
@@ -1067,33 +1036,33 @@ const Wt = (e) => {
1067
1036
  getItemHref: s,
1068
1037
  getItemAriaLabel: i,
1069
1038
  nextPageAriaLabel: c,
1070
- prevPageAriaLabel: u,
1039
+ prevPageAriaLabel: m,
1071
1040
  ...d
1072
- } = e, m = C(
1041
+ } = e, u = C(
1073
1042
  () => ({
1074
1043
  currentPage: Math.max(1, Math.min(t, n)),
1075
1044
  pageCount: Math.max(1, n)
1076
1045
  }),
1077
1046
  [t, n]
1078
- ), h = (f) => (p) => {
1079
- a && (p.preventDefault(), a(f));
1047
+ ), h = (b) => (p) => {
1048
+ a && (p.preventDefault(), a(b));
1080
1049
  };
1081
- return /* @__PURE__ */ o(F.Provider, { value: m, children: /* @__PURE__ */ b(
1050
+ return /* @__PURE__ */ o(T.Provider, { value: u, children: /* @__PURE__ */ f(
1082
1051
  "nav",
1083
1052
  {
1084
1053
  className: l("flex justify-center gap-2 sm:gap-4", r),
1085
1054
  ...d,
1086
1055
  children: [
1087
1056
  /* @__PURE__ */ o(
1088
- ot,
1057
+ He,
1089
1058
  {
1090
- "aria-label": u,
1059
+ "aria-label": m,
1091
1060
  href: s(t - 1),
1092
1061
  onClick: h(t - 1)
1093
1062
  }
1094
1063
  ),
1095
1064
  /* @__PURE__ */ o(
1096
- _,
1065
+ G,
1097
1066
  {
1098
1067
  page: 1,
1099
1068
  href: s(1),
@@ -1102,20 +1071,20 @@ const Wt = (e) => {
1102
1071
  selected: t === 1
1103
1072
  }
1104
1073
  ),
1105
- n > 2 + y * 2 && t > y + 2 && /* @__PURE__ */ o(st, {}),
1106
- /* @__PURE__ */ o(it, { children: (f) => /* @__PURE__ */ o(
1107
- _,
1074
+ n > 2 + w * 2 && t > w + 2 && /* @__PURE__ */ o(Ge, {}),
1075
+ /* @__PURE__ */ o(De, { children: (b) => /* @__PURE__ */ o(
1076
+ G,
1108
1077
  {
1109
- href: s(f),
1110
- onClick: h(f),
1111
- "aria-label": i(f),
1112
- page: f,
1113
- selected: f === t
1078
+ href: s(b),
1079
+ onClick: h(b),
1080
+ "aria-label": i(b),
1081
+ page: b,
1082
+ selected: b === t
1114
1083
  },
1115
- f
1084
+ b
1116
1085
  ) }),
1117
1086
  /* @__PURE__ */ o(
1118
- at,
1087
+ Be,
1119
1088
  {
1120
1089
  "aria-label": c,
1121
1090
  href: s(t + 1),
@@ -1125,33 +1094,33 @@ const Wt = (e) => {
1125
1094
  ]
1126
1095
  }
1127
1096
  ) });
1128
- }, at = g((e, r) => {
1129
- const { currentPage: t, pageCount: n } = A(F), a = t >= n;
1097
+ }, Be = g((e, r) => {
1098
+ const { currentPage: t, pageCount: n } = A(T), a = t >= n;
1130
1099
  return /* @__PURE__ */ o(
1131
- U,
1100
+ Q,
1132
1101
  {
1133
1102
  "aria-hidden": a,
1134
1103
  className: a ? "invisible" : void 0,
1135
1104
  ref: r,
1136
1105
  rel: "next",
1137
1106
  ...e,
1138
- children: /* @__PURE__ */ o(Ie, {})
1107
+ children: /* @__PURE__ */ o(ve, {})
1139
1108
  }
1140
1109
  );
1141
- }), ot = g((e, r) => {
1142
- const { currentPage: t } = A(F), n = t <= 1;
1110
+ }), He = g((e, r) => {
1111
+ const { currentPage: t } = A(T), n = t <= 1;
1143
1112
  return /* @__PURE__ */ o(
1144
- U,
1113
+ Q,
1145
1114
  {
1146
1115
  "aria-hidden": n,
1147
1116
  className: n ? "invisible" : void 0,
1148
1117
  ref: r,
1149
1118
  rel: "prev",
1150
1119
  ...e,
1151
- children: /* @__PURE__ */ o(Ee, {})
1120
+ children: /* @__PURE__ */ o(Ne, {})
1152
1121
  }
1153
1122
  );
1154
- }), U = g((e, r) => {
1123
+ }), Q = g((e, r) => {
1155
1124
  const { className: t, ...n } = e;
1156
1125
  return /* @__PURE__ */ o(
1157
1126
  "a",
@@ -1164,38 +1133,38 @@ const Wt = (e) => {
1164
1133
  ...n
1165
1134
  }
1166
1135
  );
1167
- }), st = () => /* @__PURE__ */ o("span", { className: "flex h-9 w-9 cursor-default items-center justify-center border-2 border-transparent sm:h-10 sm:w-10", children: "..." }), it = ({ children: e }) => {
1168
- const { currentPage: r, pageCount: t } = A(F), n = Math.min(
1169
- Math.max(2 + y * 2, r + y),
1136
+ }), Ge = () => /* @__PURE__ */ o("span", { className: "flex h-9 w-9 cursor-default items-center justify-center border-2 border-transparent sm:h-10 sm:w-10", children: "..." }), De = ({ children: e }) => {
1137
+ const { currentPage: r, pageCount: t } = A(T), n = Math.min(
1138
+ Math.max(2 + w * 2, r + w),
1170
1139
  t
1171
1140
  );
1172
1141
  let a = Math.max(
1173
- Math.min(r - y, n - y * 2),
1142
+ Math.min(r - w, n - w * 2),
1174
1143
  1
1175
1144
  );
1176
- return a - y === 0 && (a = a - 1), Array.from({ length: n - a }, (i, c) => a + c + 1).map((i) => e(i));
1177
- }, _ = g((e, r) => {
1145
+ return a - w === 0 && (a = a - 1), Array.from({ length: n - a }, (i, c) => a + c + 1).map((i) => e(i));
1146
+ }, G = g((e, r) => {
1178
1147
  const { page: t, selected: n, ...a } = e;
1179
- return /* @__PURE__ */ o(U, { "aria-current": n ? "page" : void 0, ref: r, ...a, children: t });
1180
- }), be = w({
1148
+ return /* @__PURE__ */ o(Q, { "aria-current": n ? "page" : void 0, ref: r, ...a, children: t });
1149
+ }), me = N({
1181
1150
  defaultValue: void 0,
1182
1151
  isControlled: !1,
1183
1152
  name: void 0,
1184
- onChange: I,
1153
+ onChange: y,
1185
1154
  required: !1,
1186
1155
  value: void 0,
1187
1156
  error: !1
1188
- }), Dt = g((e, r) => {
1189
- const { children: t, className: n, ...a } = e, { defaultValue: s, isControlled: i, name: c, onChange: u, required: d, value: m, error: h } = A(be);
1190
- return /* @__PURE__ */ b("label", { className: l(n, "flex cursor-pointer gap-2.5"), children: [
1157
+ }), Ot = g((e, r) => {
1158
+ const { children: t, className: n, ...a } = e, { defaultValue: s, isControlled: i, name: c, onChange: m, required: d, value: u, error: h } = A(me);
1159
+ return /* @__PURE__ */ f("label", { className: l(n, "flex cursor-pointer gap-2.5"), children: [
1191
1160
  /* @__PURE__ */ o(
1192
1161
  "input",
1193
1162
  {
1194
1163
  className: l("radio", h && "border-red"),
1195
1164
  defaultChecked: i ? void 0 : a.value === s,
1196
- checked: i ? a.value === m : void 0,
1165
+ checked: i ? a.value === u : void 0,
1197
1166
  name: c,
1198
- onChange: i ? u : void 0,
1167
+ onChange: i ? m : void 0,
1199
1168
  required: d,
1200
1169
  type: "radio",
1201
1170
  ref: r,
@@ -1204,7 +1173,7 @@ const Wt = (e) => {
1204
1173
  ),
1205
1174
  t
1206
1175
  ] });
1207
- }), Gt = g(
1176
+ }), Zt = g(
1208
1177
  (e, r) => {
1209
1178
  const t = "value" in e, {
1210
1179
  className: n,
@@ -1212,57 +1181,57 @@ const Wt = (e) => {
1212
1181
  description: s,
1213
1182
  error: i,
1214
1183
  id: c,
1215
- children: u,
1184
+ children: m,
1216
1185
  label: d,
1217
- name: m,
1186
+ name: u,
1218
1187
  onChange: h,
1219
- required: f,
1188
+ required: b,
1220
1189
  value: p,
1221
- ...x
1222
- } = e, v = E(
1223
- (ge) => {
1224
- const he = ge.target.value;
1225
- h == null || h(he);
1190
+ ...v
1191
+ } = e, x = I(
1192
+ (ue) => {
1193
+ const be = ue.target.value;
1194
+ h == null || h(be);
1226
1195
  },
1227
1196
  [h]
1228
- ), J = C(
1197
+ ), F = C(
1229
1198
  () => ({
1230
1199
  defaultValue: a,
1231
1200
  isControlled: t,
1232
- name: m,
1233
- onChange: v,
1234
- required: f,
1201
+ name: u,
1202
+ onChange: x,
1203
+ required: b,
1235
1204
  value: p,
1236
1205
  error: !!i
1237
1206
  }),
1238
- [a, t, m, v, f, p, i]
1239
- ), O = S(c), Q = `${O}:label`, H = `${O}:help`, D = O + "err", j = i;
1240
- return /* @__PURE__ */ o(be.Provider, { value: J, children: /* @__PURE__ */ b(
1207
+ [a, t, u, x, b, p, i]
1208
+ ), J = R(c), U = `${J}:label`, B = `${J}:help`, H = J + "err", j = i;
1209
+ return /* @__PURE__ */ o(me.Provider, { value: F, children: /* @__PURE__ */ f(
1241
1210
  "div",
1242
1211
  {
1243
1212
  "aria-describedby": l({
1244
- [D]: j,
1245
- [H]: s
1213
+ [H]: j,
1214
+ [B]: s
1246
1215
  }) || void 0,
1247
1216
  "aria-invalid": !!i,
1248
- "aria-labelledby": d ? Q : void 0,
1217
+ "aria-labelledby": d ? U : void 0,
1249
1218
  className: l(n, "flex flex-col gap-4"),
1250
1219
  role: "radiogroup",
1251
1220
  ref: r,
1252
- ...x,
1221
+ ...v,
1253
1222
  children: [
1254
- d && /* @__PURE__ */ o(V, { id: Q, isRequired: f, isInvalid: !!i, children: d }),
1255
- s && /* @__PURE__ */ o(z, { id: H, children: s }),
1256
- u,
1257
- j && /* @__PURE__ */ o(k, { id: D, children: j })
1223
+ d && /* @__PURE__ */ o(z, { id: U, isRequired: b, isInvalid: !!i, children: d }),
1224
+ s && /* @__PURE__ */ o(P, { id: B, children: s }),
1225
+ m,
1226
+ j && /* @__PURE__ */ o(k, { id: H, children: j })
1258
1227
  ]
1259
1228
  }
1260
1229
  ) });
1261
1230
  }
1262
- ), lt = g(
1231
+ ), _e = g(
1263
1232
  (e, r) => {
1264
1233
  const { children: t, className: n, isInvalid: a, size: s, ...i } = e, c = s === "small";
1265
- return /* @__PURE__ */ b("div", { className: l(n, "relative", c && "text-sm"), children: [
1234
+ return /* @__PURE__ */ f("div", { className: l(n, "relative", c && "text-sm"), children: [
1266
1235
  /* @__PURE__ */ o(
1267
1236
  "select",
1268
1237
  {
@@ -1278,7 +1247,7 @@ const Wt = (e) => {
1278
1247
  }
1279
1248
  ),
1280
1249
  /* @__PURE__ */ o(
1281
- re,
1250
+ ee,
1282
1251
  {
1283
1252
  className: l(
1284
1253
  "pointer-events-none absolute bottom-0 top-0 my-auto",
@@ -1288,7 +1257,7 @@ const Wt = (e) => {
1288
1257
  )
1289
1258
  ] });
1290
1259
  }
1291
- ), _t = g(
1260
+ ), Wt = g(
1292
1261
  (e, r) => {
1293
1262
  const {
1294
1263
  description: t,
@@ -1297,41 +1266,41 @@ const Wt = (e) => {
1297
1266
  label: s,
1298
1267
  disableValidation: i = !1,
1299
1268
  ...c
1300
- } = e, u = R(null), d = X(u, r), { validity: m, validationMessage: h } = L(
1301
- u,
1269
+ } = e, m = E(null), d = K(m, r), { validity: u, validationMessage: h } = L(
1270
+ m,
1302
1271
  !i
1303
- ), f = S(a), p = f + "help", x = f + "err", v = n || h;
1304
- return /* @__PURE__ */ b("div", { className: "grid gap-2", children: [
1272
+ ), b = R(a), p = b + "help", v = b + "err", x = n || h;
1273
+ return /* @__PURE__ */ f("div", { className: "grid gap-2", children: [
1305
1274
  /* @__PURE__ */ o(
1306
- V,
1275
+ z,
1307
1276
  {
1308
- htmlFor: f,
1277
+ htmlFor: b,
1309
1278
  isRequired: e.required,
1310
- isInvalid: !!n || m === "invalid",
1279
+ isInvalid: !!n || u === "invalid",
1311
1280
  children: s
1312
1281
  }
1313
1282
  ),
1314
- t && /* @__PURE__ */ o(z, { id: p, children: t }),
1283
+ t && /* @__PURE__ */ o(P, { id: p, children: t }),
1315
1284
  /* @__PURE__ */ o(
1316
- lt,
1285
+ _e,
1317
1286
  {
1318
- id: f,
1287
+ id: b,
1319
1288
  ref: d,
1320
1289
  ...c,
1321
- isInvalid: !!n || m === "invalid",
1290
+ isInvalid: !!n || u === "invalid",
1322
1291
  "aria-describedby": l({
1323
- [x]: v,
1292
+ [v]: x,
1324
1293
  [p]: t
1325
1294
  }) || void 0
1326
1295
  }
1327
1296
  ),
1328
- v && /* @__PURE__ */ o(k, { id: x, children: v })
1297
+ x && /* @__PURE__ */ o(k, { id: v, children: x })
1329
1298
  ] });
1330
1299
  }
1331
- ), $t = (e) => {
1332
- const { heading: r, children: t, closeSnackbar: n } = e, [a, s] = M(!1);
1333
- return /* @__PURE__ */ o("div", { className: "container max-w-[59rem]", children: /* @__PURE__ */ o("div", { className: "bg-orange-light px-8 py-4 max-md:p-4", children: /* @__PURE__ */ b("div", { className: "snackbar grid items-center", children: [
1334
- /* @__PURE__ */ o(ae, { className: "text-orange snackbar-icon mr-4 self-start md:mr-8 md:text-2xl" }),
1300
+ ), Kt = (e) => {
1301
+ const { heading: r, children: t, closeSnackbar: n } = e, [a, s] = q(!1);
1302
+ return /* @__PURE__ */ o("div", { className: "container max-w-[59rem]", children: /* @__PURE__ */ o("div", { className: "bg-orange-light px-8 py-4 max-md:p-4", children: /* @__PURE__ */ f("div", { className: "snackbar grid items-center", children: [
1303
+ /* @__PURE__ */ o(re, { className: "text-orange snackbar-icon mr-4 self-start md:mr-8 md:text-2xl" }),
1335
1304
  /* @__PURE__ */ o(
1336
1305
  "h3",
1337
1306
  {
@@ -1344,20 +1313,20 @@ const Wt = (e) => {
1344
1313
  children: r
1345
1314
  }
1346
1315
  ),
1347
- /* @__PURE__ */ b("div", { className: "snackbar-actions flex justify-end gap-4 max-md:mt-3 md:ml-4", children: [
1316
+ /* @__PURE__ */ f("div", { className: "snackbar-actions flex justify-end gap-4 max-md:mt-3 md:ml-4", children: [
1348
1317
  /* @__PURE__ */ o(
1349
- $,
1318
+ D,
1350
1319
  {
1351
1320
  "aria-expanded": a,
1352
1321
  onClick: () => s(!a),
1353
1322
  children: a ? "Les mindre" : "Les mer"
1354
1323
  }
1355
1324
  ),
1356
- /* @__PURE__ */ o($, { onClick: n, children: "Ok" })
1325
+ /* @__PURE__ */ o(D, { onClick: n, children: "Ok" })
1357
1326
  ] }),
1358
1327
  a && t
1359
1328
  ] }) }) });
1360
- }, $ = (e) => /* @__PURE__ */ o(
1329
+ }, D = (e) => /* @__PURE__ */ o(
1361
1330
  "button",
1362
1331
  {
1363
1332
  className: l(
@@ -1367,21 +1336,21 @@ const Wt = (e) => {
1367
1336
  ...e,
1368
1337
  children: e.children
1369
1338
  }
1370
- ), er = (e) => /* @__PURE__ */ o(
1339
+ ), Xt = (e) => /* @__PURE__ */ o(
1371
1340
  "div",
1372
1341
  {
1373
1342
  className: "snackbar-content my-4 max-h-[50vh] max-w-prose overflow-y-auto",
1374
1343
  ...e,
1375
1344
  children: e.children
1376
1345
  }
1377
- ), dt = (e) => {
1346
+ ), $e = (e) => {
1378
1347
  const { align: r = "center", children: t, className: n, ...a } = e;
1379
- return /* @__PURE__ */ o("ol", { className: l(n, "flex flex-col gap-8 md:gap-12"), ...a, children: W.map(t, (s) => K(s, {
1348
+ return /* @__PURE__ */ o("ol", { className: l(n, "flex flex-col gap-8 md:gap-12"), ...a, children: Z.map(t, (s) => W(s, {
1380
1349
  align: r
1381
1350
  })) });
1382
- }, ct = (e) => {
1351
+ }, et = (e) => {
1383
1352
  const { className: r, children: t, bullet: n, align: a = "center", ...s } = e;
1384
- return /* @__PURE__ */ b(
1353
+ return /* @__PURE__ */ f(
1385
1354
  "li",
1386
1355
  {
1387
1356
  className: l(
@@ -1391,12 +1360,12 @@ const Wt = (e) => {
1391
1360
  ),
1392
1361
  ...s,
1393
1362
  children: [
1394
- /* @__PURE__ */ o(mt, { align: a, children: n }),
1363
+ /* @__PURE__ */ o(tt, { align: a, children: n }),
1395
1364
  t
1396
1365
  ]
1397
1366
  }
1398
1367
  );
1399
- }, mt = ({ align: e, ...r }) => /* @__PURE__ */ o(
1368
+ }, tt = ({ align: e, ...r }) => /* @__PURE__ */ o(
1400
1369
  "span",
1401
1370
  {
1402
1371
  "aria-hidden": !0,
@@ -1410,8 +1379,8 @@ const Wt = (e) => {
1410
1379
  ...r
1411
1380
  }
1412
1381
  );
1413
- dt.Item = ct;
1414
- const tr = g(
1382
+ $e.Item = et;
1383
+ const Yt = g(
1415
1384
  (e, r) => {
1416
1385
  const {
1417
1386
  description: t,
@@ -1420,39 +1389,39 @@ const tr = g(
1420
1389
  label: s,
1421
1390
  disableValidation: i = !1,
1422
1391
  ...c
1423
- } = e, u = R(null), d = X(u, r), { validity: m, validationMessage: h } = L(
1424
- u,
1392
+ } = e, m = E(null), d = K(m, r), { validity: u, validationMessage: h } = L(
1393
+ m,
1425
1394
  !i
1426
- ), f = S(a), p = f + "help", x = f + "err", v = n || h;
1427
- return /* @__PURE__ */ b("div", { className: "grid gap-2", children: [
1395
+ ), b = R(a), p = b + "help", v = b + "err", x = n || h;
1396
+ return /* @__PURE__ */ f("div", { className: "grid gap-2", children: [
1428
1397
  /* @__PURE__ */ o(
1429
- V,
1398
+ z,
1430
1399
  {
1431
- htmlFor: f,
1400
+ htmlFor: b,
1432
1401
  isRequired: e.required,
1433
- isInvalid: !!n || m === "invalid",
1402
+ isInvalid: !!n || u === "invalid",
1434
1403
  children: s
1435
1404
  }
1436
1405
  ),
1437
- t && /* @__PURE__ */ o(z, { id: p, children: t }),
1406
+ t && /* @__PURE__ */ o(P, { id: p, children: t }),
1438
1407
  /* @__PURE__ */ o(
1439
- fe,
1408
+ ce,
1440
1409
  {
1441
1410
  as: "textarea",
1442
1411
  ref: d,
1443
- id: f,
1412
+ id: b,
1444
1413
  ...c,
1445
- isInvalid: !!n || m === "invalid",
1414
+ isInvalid: !!n || u === "invalid",
1446
1415
  "aria-describedby": l({
1447
- [x]: v,
1416
+ [v]: x,
1448
1417
  [p]: t
1449
1418
  }) || void 0
1450
1419
  }
1451
1420
  ),
1452
- v && /* @__PURE__ */ o(k, { id: x, children: v })
1421
+ x && /* @__PURE__ */ o(k, { id: v, children: x })
1453
1422
  ] });
1454
1423
  }
1455
- ), rr = g(
1424
+ ), Qt = g(
1456
1425
  (e, r) => {
1457
1426
  const {
1458
1427
  description: t,
@@ -1461,99 +1430,98 @@ const tr = g(
1461
1430
  label: s,
1462
1431
  type: i = "text",
1463
1432
  disableValidation: c = !1,
1464
- ...u
1465
- } = e, d = R(null), { validity: m, validationMessage: h } = L(
1433
+ ...m
1434
+ } = e, d = E(null), { validity: u, validationMessage: h } = L(
1466
1435
  d,
1467
1436
  !c
1468
- ), f = S(a), p = f + "help", x = f + "err", v = n || h, J = X(d, r);
1469
- return /* @__PURE__ */ b("div", { className: "grid gap-2", children: [
1437
+ ), b = R(a), p = b + "help", v = b + "err", x = n || h, F = K(d, r);
1438
+ return /* @__PURE__ */ f("div", { className: "grid gap-2", children: [
1470
1439
  /* @__PURE__ */ o(
1471
- V,
1440
+ z,
1472
1441
  {
1473
- htmlFor: f,
1442
+ htmlFor: b,
1474
1443
  isRequired: e.required,
1475
- isInvalid: !!n || m === "invalid",
1444
+ isInvalid: !!n || u === "invalid",
1476
1445
  children: s
1477
1446
  }
1478
1447
  ),
1479
- t && /* @__PURE__ */ o(z, { id: p, children: t }),
1448
+ t && /* @__PURE__ */ o(P, { id: p, children: t }),
1480
1449
  /* @__PURE__ */ o(
1481
- fe,
1450
+ ce,
1482
1451
  {
1483
- id: f,
1484
- ref: J,
1452
+ id: b,
1453
+ ref: F,
1485
1454
  type: i,
1486
- ...u,
1487
- isInvalid: !!n || m === "invalid",
1455
+ ...m,
1456
+ isInvalid: !!n || u === "invalid",
1488
1457
  "aria-describedby": l({
1489
- [x]: v,
1458
+ [v]: x,
1490
1459
  [p]: t
1491
1460
  }) || void 0
1492
1461
  }
1493
1462
  ),
1494
- v && /* @__PURE__ */ o(k, { id: x, children: v })
1463
+ x && /* @__PURE__ */ o(k, { id: v, children: x })
1495
1464
  ] });
1496
1465
  }
1497
1466
  );
1498
1467
  export {
1499
- Y as Accordion,
1500
- Le as AccordionContent,
1501
- Me as AccordionHeader,
1502
- qe as AccordionItem,
1503
- vt as Alert,
1504
- Nt as Banner,
1505
- wt as BannerImage,
1506
- yt as Button,
1507
- P as ButtonColorContext,
1508
- It as Campaign,
1509
- Et as Card,
1510
- St as CardContent,
1511
- Ct as CardImage,
1512
- kt as CardLinkOverlay,
1513
- Rt as CardList,
1514
- qt as Checkbox,
1515
- Mt as Chip,
1516
- Lt as Footer,
1517
- Pt as Form,
1518
- zt as FormError,
1468
+ X as Accordion,
1469
+ ke as AccordionContent,
1470
+ Re as AccordionHeader,
1471
+ Ee as AccordionItem,
1472
+ dt as Alert,
1473
+ mt as Banner,
1474
+ ut as BannerImage,
1475
+ bt as Button,
1476
+ M as ButtonColorContext,
1477
+ ft as Campaign,
1478
+ ht as Card,
1479
+ At as CardContent,
1480
+ gt as CardImage,
1481
+ xt as CardLinkOverlay,
1482
+ pt as CardList,
1483
+ vt as Checkbox,
1484
+ Nt as Chip,
1485
+ wt as Footer,
1486
+ yt as Form,
1487
+ It as FormError,
1519
1488
  k as FormErrorMessage,
1520
- Ge as FormHeading,
1521
- z as FormHelperText,
1522
- V as FormLabel,
1523
- Ft as FormStep,
1524
- _e as FormStepHeader,
1525
- $e as FormStepHeaderContent,
1526
- Tt as FormStepProvider,
1527
- Vt as FormSuccess,
1528
- Jt as Hero,
1529
- Zt as HeroActions,
1530
- jt as HeroContent,
1531
- T as HeroContext,
1532
- Ot as HeroImage,
1533
- fe as Input,
1534
- Wt as Link,
1535
- Kt as Navbar,
1536
- Ut as NavbarCollapsible,
1537
- Bt as NavbarContent,
1538
- Qt as NavbarExpandedMobileContent,
1539
- Yt as NavbarItem,
1540
- Xt as NavbarItems,
1541
- Ht as Pagination,
1542
- Dt as Radio,
1543
- Gt as RadioGroup,
1544
- _t as Select,
1545
- $t as Snackbar,
1546
- $ as SnackbarButton,
1547
- er as SnackbarContent,
1548
- dt as StepList,
1549
- ct as StepListItem,
1550
- tr as TextArea,
1551
- rr as TextField,
1552
- le as useBlockBackgroundColor,
1553
- S as useFallbackId,
1489
+ Ze as FormHeading,
1490
+ P as FormHelperText,
1491
+ z as FormLabel,
1492
+ Rt as FormStep,
1493
+ We as FormStepHeader,
1494
+ Ke as FormStepHeaderContent,
1495
+ Et as FormStepProvider,
1496
+ Ct as FormSuccess,
1497
+ kt as Hero,
1498
+ Lt as HeroActions,
1499
+ qt as HeroContent,
1500
+ V as HeroContext,
1501
+ St as HeroImage,
1502
+ ce as Input,
1503
+ Mt as Link,
1504
+ Pt as Navbar,
1505
+ Ft as NavbarCollapsible,
1506
+ Tt as NavbarContent,
1507
+ Jt as NavbarExpandedMobileContent,
1508
+ Vt as NavbarItem,
1509
+ zt as NavbarItems,
1510
+ jt as Pagination,
1511
+ Ot as Radio,
1512
+ Zt as RadioGroup,
1513
+ Wt as Select,
1514
+ Kt as Snackbar,
1515
+ D as SnackbarButton,
1516
+ Xt as SnackbarContent,
1517
+ $e as StepList,
1518
+ et as StepListItem,
1519
+ Yt as TextArea,
1520
+ Qt as TextField,
1521
+ oe as useBlockBackgroundColor,
1522
+ R as useFallbackId,
1554
1523
  L as useFormControlValidity,
1555
- et as useFormStepContext,
1556
- ie as useMedia,
1557
- xt as usePrefersReducedMotion,
1558
- Ze as useScreenMaxWidthMd
1524
+ Xe as useFormStepContext,
1525
+ ct as usePrefersReducedMotion,
1526
+ Le as useScreenMaxWidthMd
1559
1527
  };