@obosbbl/grunnmuren-react 1.12.3 → 1.13.0
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.
- package/dist/Button/Button.d.ts +2 -2
- package/dist/Chip/Chip.d.ts +1 -1
- package/dist/grunnmuren.mjs +479 -471
- package/dist/hooks/useBlockBackgroundColor.d.ts +1 -1
- package/package.json +21 -21
package/dist/grunnmuren.mjs
CHANGED
|
@@ -1,89 +1,91 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as a, jsxs as g, Fragment as Z } from "react/jsx-runtime";
|
|
3
|
-
import he, { useState as
|
|
4
|
-
import { ChevronDown as
|
|
3
|
+
import he, { useState as k, useCallback as q, useEffect as pe, useId as ee, createContext as I, useContext as A, forwardRef as b, Children as W, isValidElement as te, cloneElement as K, useRef as L, useMemo as M } from "react";
|
|
4
|
+
import { ChevronDown as re, Warning as ne, InfoCircle as ae, LoadingSpinner as Ae, MenuAlt as xe, Close as ve, ChevronRight as Ne, ChevronLeft as we } from "@obosbbl/grunnmuren-icons";
|
|
5
5
|
import ye from "react-collapsed";
|
|
6
6
|
import l from "clsx";
|
|
7
7
|
import Y from "@react-hook/merged-ref";
|
|
8
8
|
const y = () => {
|
|
9
9
|
};
|
|
10
|
-
var
|
|
10
|
+
var se = {}, N = {};
|
|
11
11
|
Object.defineProperty(N, "__esModule", { value: !0 });
|
|
12
12
|
N.isNavigator = N.isBrowser = N.off = N.on = N.noop = void 0;
|
|
13
13
|
var Ie = function() {
|
|
14
14
|
};
|
|
15
15
|
N.noop = Ie;
|
|
16
16
|
function Ce(e) {
|
|
17
|
-
for (var
|
|
18
|
-
t
|
|
19
|
-
e && e.addEventListener && e.addEventListener.apply(e,
|
|
17
|
+
for (var r = [], t = 1; t < arguments.length; t++)
|
|
18
|
+
r[t - 1] = arguments[t];
|
|
19
|
+
e && e.addEventListener && e.addEventListener.apply(e, r);
|
|
20
20
|
}
|
|
21
21
|
N.on = Ce;
|
|
22
22
|
function Ee(e) {
|
|
23
|
-
for (var
|
|
24
|
-
t
|
|
25
|
-
e && e.removeEventListener && e.removeEventListener.apply(e,
|
|
23
|
+
for (var r = [], t = 1; t < arguments.length; t++)
|
|
24
|
+
r[t - 1] = arguments[t];
|
|
25
|
+
e && e.removeEventListener && e.removeEventListener.apply(e, r);
|
|
26
26
|
}
|
|
27
27
|
N.off = Ee;
|
|
28
28
|
N.isBrowser = typeof window < "u";
|
|
29
29
|
N.isNavigator = typeof navigator < "u";
|
|
30
|
-
Object.defineProperty(
|
|
31
|
-
var D = he, Re = N, qe = function(e,
|
|
32
|
-
return
|
|
33
|
-
},
|
|
34
|
-
var
|
|
30
|
+
Object.defineProperty(se, "__esModule", { value: !0 });
|
|
31
|
+
var D = he, Re = N, qe = function(e, r) {
|
|
32
|
+
return r !== void 0 ? r : Re.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);
|
|
33
|
+
}, ke = function(e, r) {
|
|
34
|
+
var t = D.useState(qe(e, r)), n = t[0], s = t[1];
|
|
35
35
|
return D.useEffect(function() {
|
|
36
|
-
var
|
|
37
|
-
|
|
36
|
+
var o = !0, i = window.matchMedia(e), c = function() {
|
|
37
|
+
o && s(!!i.matches);
|
|
38
38
|
};
|
|
39
|
-
return i.addListener(c),
|
|
40
|
-
|
|
39
|
+
return i.addListener(c), s(i.matches), function() {
|
|
40
|
+
o = !1, i.removeListener(c);
|
|
41
41
|
};
|
|
42
42
|
}, [e]), n;
|
|
43
|
-
},
|
|
44
|
-
const
|
|
43
|
+
}, oe = se.default = ke;
|
|
44
|
+
const Le = "(prefers-reduced-motion: reduce)", Me = (e = !1) => oe(Le, e);
|
|
45
45
|
function ie(e) {
|
|
46
46
|
switch (e) {
|
|
47
47
|
case "gray":
|
|
48
|
-
return "bg-gray-
|
|
48
|
+
return "bg-gray-lightest";
|
|
49
49
|
case "green":
|
|
50
|
-
|
|
50
|
+
case "mint":
|
|
51
|
+
return "bg-mint-light";
|
|
51
52
|
case "yellow":
|
|
52
53
|
return "bg-yellow";
|
|
53
54
|
case "blue":
|
|
54
|
-
|
|
55
|
+
case "sky":
|
|
56
|
+
return "bg-sky-light";
|
|
55
57
|
}
|
|
56
58
|
}
|
|
57
|
-
const ze = (e) =>
|
|
58
|
-
function z(e,
|
|
59
|
-
const [
|
|
60
|
-
d.target.checkValidity() && (n("valid"),
|
|
59
|
+
const ze = (e) => oe("(max-width: 767.9px)", e);
|
|
60
|
+
function z(e, r = !0) {
|
|
61
|
+
const [t, n] = k("indeterminate"), [s, o] = k(), i = q((d) => {
|
|
62
|
+
d.target.checkValidity() && (n("valid"), o(void 0));
|
|
61
63
|
}, []), c = q(
|
|
62
64
|
(d) => {
|
|
63
|
-
|
|
65
|
+
t !== "indeterminate" && d.target.checkValidity() && (n("valid"), o(void 0));
|
|
64
66
|
},
|
|
65
|
-
[
|
|
67
|
+
[t]
|
|
66
68
|
), u = q((d) => {
|
|
67
69
|
d.preventDefault();
|
|
68
70
|
const m = d.target.validationMessage;
|
|
69
|
-
|
|
71
|
+
o(m), n("invalid");
|
|
70
72
|
}, []);
|
|
71
73
|
return pe(() => {
|
|
72
74
|
var m;
|
|
73
75
|
const { current: d } = e;
|
|
74
|
-
return
|
|
76
|
+
return r && // @ts-expect-error respect the <form noValidate> attribute if we are rendered inside a form
|
|
75
77
|
((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)), () => {
|
|
76
78
|
d == null || d.removeEventListener("blur", i), d == null || d.removeEventListener("input", c), d == null || d.removeEventListener("invalid", u);
|
|
77
79
|
};
|
|
78
|
-
}, [
|
|
80
|
+
}, [r, c]), { validity: t, validationMessage: s };
|
|
79
81
|
}
|
|
80
82
|
function C(e) {
|
|
81
|
-
const
|
|
82
|
-
return e ??
|
|
83
|
+
const r = ee();
|
|
84
|
+
return e ?? r;
|
|
83
85
|
}
|
|
84
86
|
const Pe = 300, Se = "duration-300", X = (e) => {
|
|
85
|
-
const { className:
|
|
86
|
-
return /* @__PURE__ */ a("div", { className: l(
|
|
87
|
+
const { className: r, ...t } = e;
|
|
88
|
+
return /* @__PURE__ */ a("div", { className: l(r, "flex flex-col gap-2"), ...t });
|
|
87
89
|
}, B = I({
|
|
88
90
|
isExpanded: !1,
|
|
89
91
|
setExpanded: y,
|
|
@@ -93,18 +95,18 @@ const Pe = 300, Se = "duration-300", X = (e) => {
|
|
|
93
95
|
getToggleProps: y,
|
|
94
96
|
onChange: y
|
|
95
97
|
}), Ve = (e) => {
|
|
96
|
-
const
|
|
98
|
+
const r = Me(), { className: t, defaultOpen: n, onChange: s = y, open: o, ...i } = e, c = ye({
|
|
97
99
|
defaultExpanded: n,
|
|
98
|
-
isExpanded:
|
|
100
|
+
isExpanded: o,
|
|
99
101
|
duration: Pe,
|
|
100
|
-
hasDisabledAnimation:
|
|
102
|
+
hasDisabledAnimation: r,
|
|
101
103
|
easing: "cubic-bezier(0.25, 0.1, 0.25, 1)"
|
|
102
104
|
});
|
|
103
|
-
return /* @__PURE__ */ a(B.Provider, { value: { onChange:
|
|
105
|
+
return /* @__PURE__ */ a(B.Provider, { value: { onChange: s, ...c }, children: /* @__PURE__ */ a(
|
|
104
106
|
"div",
|
|
105
107
|
{
|
|
106
108
|
className: l(
|
|
107
|
-
|
|
109
|
+
t,
|
|
108
110
|
"rounded-sm border-b-2 border-l-4 border-solid",
|
|
109
111
|
c.isExpanded ? "border-l-green-dark" : "border-l-green"
|
|
110
112
|
),
|
|
@@ -112,21 +114,21 @@ const Pe = 300, Se = "duration-300", X = (e) => {
|
|
|
112
114
|
}
|
|
113
115
|
) });
|
|
114
116
|
}, Je = (e) => {
|
|
115
|
-
const { children:
|
|
117
|
+
const { children: r, className: t, as: n = "h3", ...s } = e, { getToggleProps: o, onChange: i, isExpanded: c } = A(B), u = o({ onClick: () => i(!c) });
|
|
116
118
|
return /* @__PURE__ */ a(n, { children: /* @__PURE__ */ g(
|
|
117
119
|
"button",
|
|
118
120
|
{
|
|
119
121
|
className: l(
|
|
120
|
-
|
|
122
|
+
t,
|
|
121
123
|
"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"
|
|
122
124
|
),
|
|
123
|
-
...
|
|
125
|
+
...s,
|
|
124
126
|
...u,
|
|
125
127
|
id: le(u["aria-controls"]),
|
|
126
128
|
children: [
|
|
127
|
-
|
|
129
|
+
r,
|
|
128
130
|
/* @__PURE__ */ a(
|
|
129
|
-
|
|
131
|
+
re,
|
|
130
132
|
{
|
|
131
133
|
className: `shrink-0 text-sm ${Se} group-aria-expanded:rotate-180`
|
|
132
134
|
}
|
|
@@ -135,63 +137,63 @@ const Pe = 300, Se = "duration-300", X = (e) => {
|
|
|
135
137
|
}
|
|
136
138
|
) });
|
|
137
139
|
}, Oe = (e) => {
|
|
138
|
-
const { getCollapseProps:
|
|
140
|
+
const { getCollapseProps: r } = A(B), { className: t, ...n } = e, s = r();
|
|
139
141
|
return /* @__PURE__ */ a(
|
|
140
142
|
"div",
|
|
141
143
|
{
|
|
142
|
-
...
|
|
144
|
+
...s,
|
|
143
145
|
role: "region",
|
|
144
|
-
"aria-labelledby": le(
|
|
145
|
-
children: /* @__PURE__ */ a("div", { className: l(
|
|
146
|
+
"aria-labelledby": le(s.id),
|
|
147
|
+
children: /* @__PURE__ */ a("div", { className: l(t, "p-5 pb-10"), ...n })
|
|
146
148
|
}
|
|
147
149
|
);
|
|
148
150
|
}, le = (e) => e + "toggle";
|
|
149
151
|
X.Item = Ve;
|
|
150
152
|
X.Header = Je;
|
|
151
153
|
X.Content = Oe;
|
|
152
|
-
const
|
|
153
|
-
const { className:
|
|
154
|
+
const mt = (e) => {
|
|
155
|
+
const { className: r, children: t, heading: n, severity: s = "alert", ...o } = e;
|
|
154
156
|
return /* @__PURE__ */ a(
|
|
155
157
|
"section",
|
|
156
158
|
{
|
|
157
|
-
className: l(
|
|
158
|
-
"bg-orange-light":
|
|
159
|
-
"bg-red-light":
|
|
159
|
+
className: l(r, "p-4 md:py-8", {
|
|
160
|
+
"bg-orange-light": s === "info",
|
|
161
|
+
"bg-red-light": s === "alert"
|
|
160
162
|
}),
|
|
161
163
|
role: "alert",
|
|
162
|
-
...
|
|
164
|
+
...o,
|
|
163
165
|
children: /* @__PURE__ */ g("div", { className: "flex justify-center", children: [
|
|
164
166
|
/* @__PURE__ */ a(
|
|
165
167
|
Te,
|
|
166
168
|
{
|
|
167
169
|
className: "mr-4 flex-none md:mr-8 md:text-2xl",
|
|
168
|
-
severity:
|
|
170
|
+
severity: s
|
|
169
171
|
}
|
|
170
172
|
),
|
|
171
173
|
/* @__PURE__ */ g("div", { className: "w-prose flex-initial", children: [
|
|
172
174
|
/* @__PURE__ */ a("h2", { className: "h4 mb-2", children: n }),
|
|
173
|
-
|
|
175
|
+
t
|
|
174
176
|
] })
|
|
175
177
|
] })
|
|
176
178
|
}
|
|
177
179
|
);
|
|
178
|
-
}, Te = ({ severity: e, className:
|
|
180
|
+
}, Te = ({ severity: e, className: r }) => e === "alert" ? /* @__PURE__ */ a(ne, { className: l(r, "text-red") }) : /* @__PURE__ */ a(ae, { className: l(r, "text-orange") }), ut = (e) => {
|
|
179
181
|
const {
|
|
180
|
-
bgColor:
|
|
181
|
-
className:
|
|
182
|
+
bgColor: r,
|
|
183
|
+
className: t,
|
|
182
184
|
children: n,
|
|
183
|
-
heading:
|
|
184
|
-
image:
|
|
185
|
+
heading: s,
|
|
186
|
+
image: o,
|
|
185
187
|
...i
|
|
186
|
-
} = e, c = ie(
|
|
187
|
-
return /* @__PURE__ */ a("article", { className: l(
|
|
188
|
-
|
|
189
|
-
/* @__PURE__ */ g("div", { className: "w-prose", children: [
|
|
190
|
-
|
|
188
|
+
} = e, c = ie(r);
|
|
189
|
+
return /* @__PURE__ */ a("article", { className: l(t, c, "px-4 py-8 md:py-14"), ...i, children: /* @__PURE__ */ g("div", { className: "container flex flex-col justify-center gap-4 md:flex-row md:gap-12", children: [
|
|
190
|
+
o,
|
|
191
|
+
/* @__PURE__ */ g("div", { className: "max-w-prose", children: [
|
|
192
|
+
s && /* @__PURE__ */ a("h2", { className: "h3 mb-4", children: s }),
|
|
191
193
|
n
|
|
192
194
|
] })
|
|
193
195
|
] }) });
|
|
194
|
-
},
|
|
196
|
+
}, ft = (e) => /* @__PURE__ */ a(
|
|
195
197
|
"img",
|
|
196
198
|
{
|
|
197
199
|
loading: "lazy",
|
|
@@ -202,30 +204,32 @@ const mr = (e) => {
|
|
|
202
204
|
), je = {
|
|
203
205
|
"standard-primary": "bg-green border-green text-white",
|
|
204
206
|
"standard-secondary": "bg-white border-green text-black",
|
|
205
|
-
"
|
|
206
|
-
"
|
|
207
|
+
"mint-primary": "bg-mint border-mint text-black",
|
|
208
|
+
"mint-secondary": "bg-transparent border-mint text-mint",
|
|
207
209
|
"white-primary": "bg-white border-white text-black",
|
|
208
|
-
"white-secondary": "bg-transparent border-white text-white"
|
|
209
|
-
|
|
210
|
+
"white-secondary": "bg-transparent border-white text-white",
|
|
211
|
+
"light-green-primary": "bg-green-light border-green-light text-black",
|
|
212
|
+
"light-green-secondary": "bg-transparent border-green-light text-green-light"
|
|
213
|
+
}, gt = b((e, r) => {
|
|
210
214
|
const {
|
|
211
|
-
children:
|
|
215
|
+
children: t,
|
|
212
216
|
className: n,
|
|
213
|
-
color:
|
|
214
|
-
href:
|
|
217
|
+
color: s,
|
|
218
|
+
href: o,
|
|
215
219
|
loading: i,
|
|
216
220
|
type: c = "button",
|
|
217
221
|
variant: u = "primary",
|
|
218
222
|
...d
|
|
219
|
-
} = e, m = A(P), f = je[`${
|
|
220
|
-
return /* @__PURE__ */ a(Z, { children:
|
|
223
|
+
} = e, m = A(P), f = je[`${s ?? m}-${u}`], p = l(n, f, "button"), v = i ? /* @__PURE__ */ a(Fe, { children: t }) : t;
|
|
224
|
+
return /* @__PURE__ */ a(Z, { children: o ? /* @__PURE__ */ a(
|
|
221
225
|
"a",
|
|
222
226
|
{
|
|
223
227
|
"aria-busy": i ? !0 : void 0,
|
|
224
228
|
...d,
|
|
225
|
-
href:
|
|
226
|
-
ref:
|
|
229
|
+
href: o,
|
|
230
|
+
ref: r,
|
|
227
231
|
className: p,
|
|
228
|
-
children:
|
|
232
|
+
children: v
|
|
229
233
|
}
|
|
230
234
|
) : /* @__PURE__ */ a(
|
|
231
235
|
"button",
|
|
@@ -233,9 +237,9 @@ const mr = (e) => {
|
|
|
233
237
|
"aria-busy": i ? !0 : void 0,
|
|
234
238
|
...d,
|
|
235
239
|
type: c,
|
|
236
|
-
ref:
|
|
240
|
+
ref: r,
|
|
237
241
|
className: p,
|
|
238
|
-
children:
|
|
242
|
+
children: v
|
|
239
243
|
}
|
|
240
244
|
) });
|
|
241
245
|
}), Fe = (e) => /* @__PURE__ */ g(Z, { children: [
|
|
@@ -243,156 +247,156 @@ const mr = (e) => {
|
|
|
243
247
|
/* @__PURE__ */ a(
|
|
244
248
|
"span",
|
|
245
249
|
{
|
|
246
|
-
className: "!visible absolute
|
|
250
|
+
className: "!visible absolute bottom-1 left-1 right-1 top-1 grid place-items-center overflow-hidden bg-inherit",
|
|
247
251
|
"aria-hidden": !0,
|
|
248
252
|
children: /* @__PURE__ */ a(Ae, { className: "animate-spin" })
|
|
249
253
|
}
|
|
250
254
|
)
|
|
251
255
|
] });
|
|
252
256
|
function de(e) {
|
|
253
|
-
return W.map(e, (
|
|
254
|
-
if (!
|
|
255
|
-
return typeof
|
|
256
|
-
if (
|
|
257
|
-
const
|
|
258
|
-
children: de(
|
|
257
|
+
return W.map(e, (r) => {
|
|
258
|
+
if (!te(r))
|
|
259
|
+
return typeof r == "string" ? /* @__PURE__ */ a("span", { children: r }) : r;
|
|
260
|
+
if (r.props.children) {
|
|
261
|
+
const t = {
|
|
262
|
+
children: de(r.props.children)
|
|
259
263
|
};
|
|
260
|
-
|
|
264
|
+
r = K(r, t);
|
|
261
265
|
}
|
|
262
|
-
return
|
|
266
|
+
return r;
|
|
263
267
|
});
|
|
264
268
|
}
|
|
265
|
-
const P = I("standard"), ce = I(!0), Ze = (e,
|
|
269
|
+
const P = I("standard"), ce = I(!0), Ze = (e, r) => {
|
|
266
270
|
const {
|
|
267
|
-
as:
|
|
271
|
+
as: t = "div",
|
|
268
272
|
body: n,
|
|
269
|
-
className:
|
|
270
|
-
image:
|
|
273
|
+
className: s,
|
|
274
|
+
image: o,
|
|
271
275
|
rightAlignBody: i = !0,
|
|
272
276
|
...c
|
|
273
277
|
} = e;
|
|
274
278
|
return /* @__PURE__ */ g(
|
|
275
|
-
|
|
279
|
+
t,
|
|
276
280
|
{
|
|
277
281
|
className: l(
|
|
278
|
-
|
|
282
|
+
s,
|
|
279
283
|
"grid gap-8 md:grid-flow-col md:grid-cols-[50%,50%] md:gap-0"
|
|
280
284
|
),
|
|
281
285
|
...c,
|
|
282
|
-
ref:
|
|
286
|
+
ref: r,
|
|
283
287
|
children: [
|
|
284
|
-
/* @__PURE__ */ a(ce.Provider, { value: i, children:
|
|
288
|
+
/* @__PURE__ */ a(ce.Provider, { value: i, children: o }),
|
|
285
289
|
n
|
|
286
290
|
]
|
|
287
291
|
}
|
|
288
292
|
);
|
|
289
293
|
}, We = b(Ze), Ke = b(
|
|
290
|
-
(e,
|
|
291
|
-
const { className:
|
|
294
|
+
(e, r) => {
|
|
295
|
+
const { className: t, ...n } = e;
|
|
292
296
|
return /* @__PURE__ */ a(
|
|
293
297
|
"div",
|
|
294
298
|
{
|
|
295
|
-
className: l(
|
|
296
|
-
ref:
|
|
299
|
+
className: l(t, "md:mx-18 self-center"),
|
|
300
|
+
ref: r,
|
|
297
301
|
...n
|
|
298
302
|
}
|
|
299
303
|
);
|
|
300
304
|
}
|
|
301
305
|
), Ye = b(
|
|
302
|
-
(e,
|
|
303
|
-
const { className:
|
|
304
|
-
|
|
306
|
+
(e, r) => {
|
|
307
|
+
const { className: t, children: n, ...s } = e, o = A(ce), i = l(
|
|
308
|
+
t,
|
|
305
309
|
"max-md:rounded-b-3xl w-full",
|
|
306
|
-
|
|
310
|
+
o ? "md:rounded-r-3xl" : "md:rounded-l-3xl md:order-1"
|
|
307
311
|
);
|
|
308
|
-
if (
|
|
312
|
+
if (te(n)) {
|
|
309
313
|
const c = W.only(n);
|
|
310
314
|
return K(c, {
|
|
311
315
|
// @ts-expect-error assume className prop is allowed
|
|
312
316
|
className: i,
|
|
313
|
-
ref:
|
|
314
|
-
...
|
|
317
|
+
ref: r,
|
|
318
|
+
...s
|
|
315
319
|
});
|
|
316
320
|
}
|
|
317
|
-
return /* @__PURE__ */ a("img", { className: i, ref:
|
|
321
|
+
return /* @__PURE__ */ a("img", { className: i, ref: r, ...s });
|
|
318
322
|
}
|
|
319
|
-
),
|
|
323
|
+
), bt = Object.assign({}, We, {
|
|
320
324
|
Body: Ke,
|
|
321
325
|
Image: Ye
|
|
322
|
-
}), Xe = (e,
|
|
326
|
+
}), Xe = (e, r) => {
|
|
323
327
|
const {
|
|
324
|
-
as:
|
|
328
|
+
as: t = "div",
|
|
325
329
|
className: n,
|
|
326
|
-
bgColor:
|
|
327
|
-
...
|
|
330
|
+
bgColor: s = "white",
|
|
331
|
+
...o
|
|
328
332
|
} = e;
|
|
329
333
|
return /* @__PURE__ */ a(
|
|
330
|
-
|
|
334
|
+
t,
|
|
331
335
|
{
|
|
332
336
|
className: l(n, "relative overflow-hidden rounded-3xl", {
|
|
333
|
-
"border-2 border-solid bg-white":
|
|
334
|
-
"bg-gray-light":
|
|
337
|
+
"border-2 border-solid bg-white": s === "white",
|
|
338
|
+
"bg-gray-light": s === "gray"
|
|
335
339
|
}),
|
|
336
|
-
...
|
|
337
|
-
ref:
|
|
340
|
+
...o,
|
|
341
|
+
ref: r
|
|
338
342
|
}
|
|
339
343
|
);
|
|
340
|
-
},
|
|
341
|
-
(e,
|
|
342
|
-
const { className:
|
|
344
|
+
}, ht = b(Xe), pt = b(
|
|
345
|
+
(e, r) => {
|
|
346
|
+
const { className: t, ...n } = e;
|
|
343
347
|
return /* @__PURE__ */ a(
|
|
344
348
|
"img",
|
|
345
349
|
{
|
|
346
|
-
className: l(
|
|
350
|
+
className: l(t, "w-full object-cover"),
|
|
347
351
|
loading: "lazy",
|
|
348
352
|
...n,
|
|
349
|
-
ref:
|
|
353
|
+
ref: r
|
|
350
354
|
}
|
|
351
355
|
);
|
|
352
356
|
}
|
|
353
|
-
),
|
|
354
|
-
(e,
|
|
355
|
-
const { bgColor:
|
|
356
|
-
return /* @__PURE__ */ a("div", { className: l(
|
|
357
|
+
), At = b(
|
|
358
|
+
(e, r) => {
|
|
359
|
+
const { bgColor: t, className: n, ...s } = e, o = ie(t);
|
|
360
|
+
return /* @__PURE__ */ a("div", { className: l(o, n), children: /* @__PURE__ */ a(
|
|
357
361
|
"div",
|
|
358
362
|
{
|
|
359
363
|
className: "container grid grid-cols-1 gap-12 py-16 md:grid-cols-2 md:py-20 lg:py-24",
|
|
360
|
-
...
|
|
361
|
-
ref:
|
|
364
|
+
...s,
|
|
365
|
+
ref: r
|
|
362
366
|
}
|
|
363
367
|
) });
|
|
364
368
|
}
|
|
365
|
-
),
|
|
366
|
-
(e,
|
|
367
|
-
const { className:
|
|
368
|
-
return /* @__PURE__ */ a("div", { className: l(
|
|
369
|
+
), xt = b(
|
|
370
|
+
(e, r) => {
|
|
371
|
+
const { className: t, ...n } = e;
|
|
372
|
+
return /* @__PURE__ */ a("div", { className: l(t, "p-8 md:px-10"), ...n, ref: r });
|
|
369
373
|
}
|
|
370
|
-
),
|
|
371
|
-
const { className:
|
|
374
|
+
), vt = b((e, r) => {
|
|
375
|
+
const { className: t, ...n } = e;
|
|
372
376
|
return /* @__PURE__ */ a(
|
|
373
377
|
"a",
|
|
374
378
|
{
|
|
375
379
|
className: l(
|
|
376
|
-
|
|
377
|
-
"no-underline before:absolute before:
|
|
380
|
+
t,
|
|
381
|
+
"no-underline before:absolute before:left-0 before:top-0 before:block before:h-full before:w-full hover:underline"
|
|
378
382
|
),
|
|
379
|
-
ref:
|
|
383
|
+
ref: r,
|
|
380
384
|
...n
|
|
381
385
|
}
|
|
382
386
|
);
|
|
383
|
-
}),
|
|
384
|
-
(e,
|
|
387
|
+
}), Nt = b(
|
|
388
|
+
(e, r) => {
|
|
385
389
|
const {
|
|
386
|
-
children:
|
|
390
|
+
children: t,
|
|
387
391
|
className: n,
|
|
388
|
-
error:
|
|
389
|
-
id:
|
|
392
|
+
error: s,
|
|
393
|
+
id: o,
|
|
390
394
|
disableValidation: i = !1,
|
|
391
395
|
...c
|
|
392
|
-
} = e, u =
|
|
396
|
+
} = e, u = L(null), { validity: d, validationMessage: m } = z(
|
|
393
397
|
u,
|
|
394
398
|
!i
|
|
395
|
-
), h = C(
|
|
399
|
+
), h = C(o), f = h + "err", p = s || m;
|
|
396
400
|
return /* @__PURE__ */ g("div", { className: "grid gap-2", children: [
|
|
397
401
|
/* @__PURE__ */ g("label", { className: l(n, "flex cursor-pointer gap-2.5"), children: [
|
|
398
402
|
/* @__PURE__ */ a(
|
|
@@ -402,139 +406,143 @@ const P = I("standard"), ce = I(!0), Ze = (e, t) => {
|
|
|
402
406
|
className: l(
|
|
403
407
|
"checkbox checked:bg-green checked:border-green grid h-[1.25em] w-[1.25em] flex-none translate-y-[0.1em] cursor-pointer appearance-none place-content-center rounded border-2 border-solid bg-white text-white focus:outline-none focus:ring-2",
|
|
404
408
|
{
|
|
405
|
-
"border-gray-dark focus:ring-black": !
|
|
406
|
-
"border-red focus:ring-red": !!
|
|
409
|
+
"border-gray-dark focus:ring-black": !s,
|
|
410
|
+
"border-red focus:ring-red": !!s
|
|
407
411
|
}
|
|
408
412
|
),
|
|
409
|
-
ref:
|
|
413
|
+
ref: r,
|
|
410
414
|
type: "checkbox",
|
|
411
415
|
...c,
|
|
412
416
|
"aria-describedby": p ? f : void 0,
|
|
413
|
-
"aria-invalid": !!
|
|
417
|
+
"aria-invalid": !!s || d === "invalid"
|
|
414
418
|
}
|
|
415
419
|
),
|
|
416
|
-
|
|
420
|
+
t
|
|
417
421
|
] }),
|
|
418
422
|
p && /* @__PURE__ */ a(E, { id: f, children: p })
|
|
419
423
|
] });
|
|
420
424
|
}
|
|
421
425
|
), Be = {
|
|
422
|
-
|
|
426
|
+
sky: "bg-sky border-sky",
|
|
423
427
|
"red-light": "bg-red-light border-red-light",
|
|
428
|
+
mint: "bg-mint border-mint",
|
|
429
|
+
"orange-light": "bg-orange-light border-orange-light",
|
|
424
430
|
"green-light": "bg-green-light border-green-light",
|
|
425
|
-
"
|
|
431
|
+
"blue-light": "bg-blue-light border-blue-light"
|
|
426
432
|
}, Qe = {
|
|
427
|
-
|
|
433
|
+
sky: "text-blue-dark",
|
|
428
434
|
"red-light": "text-red",
|
|
435
|
+
mint: "text-green",
|
|
436
|
+
"orange-light": "text-black",
|
|
429
437
|
"green-light": "text-green",
|
|
430
|
-
"
|
|
431
|
-
},
|
|
432
|
-
const { className:
|
|
438
|
+
"blue-light": "text-blue-dark"
|
|
439
|
+
}, wt = (e) => {
|
|
440
|
+
const { className: r, color: t, icon: n, children: s, variant: o = "filled" } = e, i = t && Be[t], c = t && Qe[t];
|
|
433
441
|
return /* @__PURE__ */ g(
|
|
434
442
|
"div",
|
|
435
443
|
{
|
|
436
444
|
className: l(
|
|
437
445
|
"inline-flex items-center gap-0.5 overflow-hidden rounded-lg border-2 text-sm font-semibold",
|
|
438
446
|
i,
|
|
439
|
-
|
|
447
|
+
r
|
|
440
448
|
),
|
|
441
449
|
children: [
|
|
442
450
|
n && /* @__PURE__ */ a("div", { className: l("px-3 py-2", c), children: n }),
|
|
443
451
|
/* @__PURE__ */ a(
|
|
444
452
|
"div",
|
|
445
453
|
{
|
|
446
|
-
className: l("flex-1 py-2
|
|
447
|
-
"bg-white":
|
|
454
|
+
className: l("flex-1 px-4 py-2", {
|
|
455
|
+
"bg-white": o === "outline"
|
|
448
456
|
}),
|
|
449
|
-
children:
|
|
457
|
+
children: s
|
|
450
458
|
}
|
|
451
459
|
)
|
|
452
460
|
]
|
|
453
461
|
}
|
|
454
462
|
);
|
|
455
|
-
},
|
|
456
|
-
const { className:
|
|
463
|
+
}, yt = (e) => {
|
|
464
|
+
const { className: r, children: t, ...n } = e;
|
|
457
465
|
return /* @__PURE__ */ a(P.Provider, { value: "white", children: /* @__PURE__ */ a(
|
|
458
466
|
"footer",
|
|
459
467
|
{
|
|
460
468
|
className: l(
|
|
461
|
-
|
|
469
|
+
r,
|
|
462
470
|
// calculated height for psuedo element fixes rendering artifict that sometimes occurs on specific screen sizes and zoom levels
|
|
463
471
|
"bg-blue pt-18 relative pb-12 text-white before:absolute before:-top-px before:left-0 before:right-0 before:h-[calc(1.5rem_+_1px)] before:rounded-b-3xl before:bg-white "
|
|
464
472
|
),
|
|
465
473
|
...n,
|
|
466
|
-
children: /* @__PURE__ */ a("div", { className: "container", children:
|
|
474
|
+
children: /* @__PURE__ */ a("div", { className: "container", children: t })
|
|
467
475
|
}
|
|
468
476
|
) });
|
|
469
|
-
},
|
|
470
|
-
const { heading:
|
|
477
|
+
}, It = (e) => {
|
|
478
|
+
const { heading: r, children: t, className: n, ...s } = e;
|
|
471
479
|
return /* @__PURE__ */ g(
|
|
472
480
|
"form",
|
|
473
481
|
{
|
|
474
482
|
className: l(
|
|
475
483
|
n,
|
|
476
|
-
"border-blue-dark block overflow-hidden rounded-
|
|
484
|
+
"border-blue-dark block overflow-hidden rounded-b-lg rounded-t-3xl border-2"
|
|
477
485
|
),
|
|
478
|
-
...
|
|
486
|
+
...s,
|
|
479
487
|
children: [
|
|
480
|
-
|
|
481
|
-
/* @__PURE__ */ a("div", { className: "p-6 md:p-10", children:
|
|
488
|
+
r && /* @__PURE__ */ a(Ue, { children: r }),
|
|
489
|
+
/* @__PURE__ */ a("div", { className: "p-6 md:p-10", children: t })
|
|
482
490
|
]
|
|
483
491
|
}
|
|
484
492
|
);
|
|
485
493
|
}, Ue = (e) => {
|
|
486
|
-
const { className:
|
|
494
|
+
const { className: r, ...t } = e;
|
|
487
495
|
return /* @__PURE__ */ a(
|
|
488
496
|
"h2",
|
|
489
497
|
{
|
|
490
498
|
className: l(
|
|
491
|
-
|
|
499
|
+
r,
|
|
492
500
|
"bg-blue-dark p-6 text-xl font-bold text-white md:px-10 md:py-8 md:text-2xl"
|
|
493
501
|
),
|
|
494
|
-
...
|
|
502
|
+
...t
|
|
495
503
|
}
|
|
496
504
|
);
|
|
497
|
-
},
|
|
498
|
-
const { className:
|
|
505
|
+
}, Ct = (e) => {
|
|
506
|
+
const { className: r, ...t } = e;
|
|
499
507
|
return /* @__PURE__ */ a(
|
|
500
508
|
"div",
|
|
501
509
|
{
|
|
502
510
|
"aria-live": "polite",
|
|
503
511
|
className: l(
|
|
504
|
-
|
|
512
|
+
r,
|
|
505
513
|
"border-red bg-red-light rounded-lg border-2 p-6 text-sm"
|
|
506
514
|
),
|
|
507
|
-
...
|
|
515
|
+
...t,
|
|
508
516
|
children: "Beklager! Noe gikk dessverre galt under innesendingen av skjemaet. Prøv gjerne igjen om en stund."
|
|
509
517
|
}
|
|
510
518
|
);
|
|
511
519
|
}, E = (e) => {
|
|
512
|
-
const { children:
|
|
520
|
+
const { children: r, className: t, ...n } = e;
|
|
513
521
|
return /* @__PURE__ */ g(
|
|
514
522
|
"div",
|
|
515
523
|
{
|
|
516
524
|
className: l(
|
|
517
|
-
|
|
518
|
-
"bg-red-light text-red flex items-center gap-2 rounded py-1
|
|
525
|
+
t,
|
|
526
|
+
"bg-red-light text-red flex items-center gap-2 rounded px-2 py-1 text-sm"
|
|
519
527
|
),
|
|
520
528
|
"aria-live": "polite",
|
|
521
529
|
...n,
|
|
522
530
|
children: [
|
|
523
531
|
/* @__PURE__ */ a(ne, { className: "text-red flex-shrink-0" }),
|
|
524
|
-
|
|
532
|
+
r
|
|
525
533
|
]
|
|
526
534
|
}
|
|
527
535
|
);
|
|
528
536
|
}, S = (e) => {
|
|
529
|
-
const { className:
|
|
530
|
-
return /* @__PURE__ */ a("div", { className: l(
|
|
537
|
+
const { className: r, children: t, ...n } = e;
|
|
538
|
+
return /* @__PURE__ */ a("div", { className: l(r, "text-gray-dark text-sm"), ...n, children: t });
|
|
531
539
|
}, V = (e) => {
|
|
532
|
-
const { className:
|
|
540
|
+
const { className: r, children: t, isRequired: n, isInvalid: s, ...o } = e;
|
|
533
541
|
return /* @__PURE__ */ g(
|
|
534
542
|
"label",
|
|
535
543
|
{
|
|
536
|
-
className: l(
|
|
537
|
-
...
|
|
544
|
+
className: l(r, "block cursor-pointer font-semibold"),
|
|
545
|
+
...o,
|
|
538
546
|
children: [
|
|
539
547
|
n && /* @__PURE__ */ a(
|
|
540
548
|
"span",
|
|
@@ -542,25 +550,25 @@ const P = I("standard"), ce = I(!0), Ze = (e, t) => {
|
|
|
542
550
|
"aria-hidden": !0,
|
|
543
551
|
className: l(
|
|
544
552
|
"mr-1 select-none",
|
|
545
|
-
|
|
553
|
+
s ? "text-red" : "text-blue"
|
|
546
554
|
),
|
|
547
555
|
children: "*"
|
|
548
556
|
}
|
|
549
557
|
),
|
|
550
|
-
|
|
558
|
+
t
|
|
551
559
|
]
|
|
552
560
|
}
|
|
553
561
|
);
|
|
554
|
-
},
|
|
555
|
-
const { className:
|
|
562
|
+
}, Et = (e) => {
|
|
563
|
+
const { className: r, heading: t, text: n, ...s } = e;
|
|
556
564
|
return /* @__PURE__ */ g(
|
|
557
565
|
"div",
|
|
558
566
|
{
|
|
559
567
|
className: l(
|
|
560
|
-
|
|
561
|
-
"bg-gray-
|
|
568
|
+
r,
|
|
569
|
+
"bg-gray-lightest flex flex-col gap-8 p-8 text-center"
|
|
562
570
|
),
|
|
563
|
-
...
|
|
571
|
+
...s,
|
|
564
572
|
children: [
|
|
565
573
|
/* @__PURE__ */ a(
|
|
566
574
|
"img",
|
|
@@ -572,7 +580,7 @@ const P = I("standard"), ce = I(!0), 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uD5YIjcCxY8eOnXmjW4nOvo5BQiPg5+afJU24LI4lNAJP/D4zE/MJjSAuDlv+OO2zw5fQCBQ3mi7tJaER2OFrQiPg32h+TmgE3L1/nLg4uDvxMpU/3F2vJzQC7n4gNAJBajQJjcCejeZbxMXB3dkyNZrExWEfr75LaATcXStDo0loBJ7hNUIj4O9HQiNQ8Y0mcXFwbzQJjcCBfHCa0Ai4u1Nyo0loBA7sM0Ij4O9L4uLg32iep/KHf6P5EaERqMBGk9AIuDeahEagBLeIi4O/c8TFwd8nhEbAv9H8lNAIuHv7gI0moRE4ghu3CY1AZTSaxMXBvdEkNAJH9Q2hEfBvNE8SGgF3p04TGgF3l+uIi4O7u1T+8PcKoRF4YY0moRFwbzQJjUB5G82PiYuDuzfriIuDu+8IjYC/9wiNgL8LhEbA3TtXCI3A82w0iYuDe6NJaAT8vF5PaATc3SM0Av4uERoBd2e+JS4O/o3mJSp/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQzf4fvVAR8mmt7fEAAAAASUVORK5CYII="
|
|
573
581
|
}
|
|
574
582
|
),
|
|
575
|
-
|
|
583
|
+
t && /* @__PURE__ */ a("h2", { className: "text-blue text-2xl", children: t }),
|
|
576
584
|
n && /* @__PURE__ */ a("p", { className: "text-lg", children: n })
|
|
577
585
|
]
|
|
578
586
|
}
|
|
@@ -581,31 +589,31 @@ const P = I("standard"), ce = I(!0), Ze = (e, t) => {
|
|
|
581
589
|
function me(e) {
|
|
582
590
|
return e !== "vertical-split" && e !== "below-center" && e !== "below-left";
|
|
583
591
|
}
|
|
584
|
-
const J = I({ bgColor: "white", contentPosition: "below-center", hasImage: !1 }),
|
|
592
|
+
const J = I({ bgColor: "white", contentPosition: "below-center", hasImage: !1 }), Rt = b((e, r) => {
|
|
585
593
|
const {
|
|
586
|
-
bgColor:
|
|
594
|
+
bgColor: t = "white",
|
|
587
595
|
children: n,
|
|
588
|
-
className:
|
|
589
|
-
contentPosition:
|
|
596
|
+
className: s,
|
|
597
|
+
contentPosition: o = "below-center",
|
|
590
598
|
image: i,
|
|
591
599
|
...c
|
|
592
|
-
} = e, u = i != null, d = u ?
|
|
600
|
+
} = e, u = i != null, d = u ? o : "below-center", m = M(
|
|
593
601
|
() => ({
|
|
594
|
-
bgColor:
|
|
602
|
+
bgColor: t,
|
|
595
603
|
contentPosition: d,
|
|
596
604
|
hasImage: u
|
|
597
605
|
}),
|
|
598
|
-
[
|
|
606
|
+
[t, d, u]
|
|
599
607
|
);
|
|
600
608
|
return /* @__PURE__ */ a(
|
|
601
609
|
P.Provider,
|
|
602
610
|
{
|
|
603
|
-
value:
|
|
611
|
+
value: t === "white" ? "standard" : "mint",
|
|
604
612
|
children: /* @__PURE__ */ a(J.Provider, { value: m, children: /* @__PURE__ */ g(
|
|
605
613
|
"div",
|
|
606
614
|
{
|
|
607
615
|
className: l(
|
|
608
|
-
|
|
616
|
+
s,
|
|
609
617
|
// disable padding on small screens so the hero image is flush with the screen edges
|
|
610
618
|
"container px-0 md:grid lg:px-4",
|
|
611
619
|
{
|
|
@@ -614,7 +622,7 @@ const J = I({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
|
|
|
614
622
|
),
|
|
615
623
|
style: me(d) ? { gridTemplateAreas: '"hero"' } : void 0,
|
|
616
624
|
...c,
|
|
617
|
-
ref:
|
|
625
|
+
ref: r,
|
|
618
626
|
children: [
|
|
619
627
|
i,
|
|
620
628
|
n
|
|
@@ -623,19 +631,19 @@ const J = I({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
|
|
|
623
631
|
) })
|
|
624
632
|
}
|
|
625
633
|
);
|
|
626
|
-
}),
|
|
627
|
-
(e,
|
|
628
|
-
const { contentPosition:
|
|
634
|
+
}), qt = b(
|
|
635
|
+
(e, r) => {
|
|
636
|
+
const { contentPosition: t } = A(J);
|
|
629
637
|
return /* @__PURE__ */ g(
|
|
630
638
|
"picture",
|
|
631
639
|
{
|
|
632
640
|
className: l(e.className, "aspect-w-6 aspect-h-7 block", {
|
|
633
|
-
"sm:aspect-w-8 sm:aspect-h-4":
|
|
641
|
+
"sm:aspect-w-8 sm:aspect-h-4": t !== "vertical-split",
|
|
634
642
|
// calculate a square aspect ratio
|
|
635
|
-
"sm:aspect-w-8 sm:aspect-h-8":
|
|
643
|
+
"sm:aspect-w-8 sm:aspect-h-8": t === "vertical-split"
|
|
636
644
|
}),
|
|
637
|
-
style:
|
|
638
|
-
ref:
|
|
645
|
+
style: t !== "vertical-split" && t !== "below-center" && t !== "below-left" ? { gridArea: "hero" } : void 0,
|
|
646
|
+
ref: r,
|
|
639
647
|
children: [
|
|
640
648
|
/* @__PURE__ */ a("source", { media: "(min-width: 768px)", srcSet: e.mdSrc }),
|
|
641
649
|
/* @__PURE__ */ a(
|
|
@@ -651,32 +659,32 @@ const J = I({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
|
|
|
651
659
|
}
|
|
652
660
|
);
|
|
653
661
|
}
|
|
654
|
-
),
|
|
655
|
-
(e,
|
|
656
|
-
const { bgColor:
|
|
662
|
+
), kt = b(
|
|
663
|
+
(e, r) => {
|
|
664
|
+
const { bgColor: t, contentPosition: n, hasImage: s } = A(J), { children: o, className: i, heading: c, description: u, ...d } = e, m = me(n);
|
|
657
665
|
return /* @__PURE__ */ g(
|
|
658
666
|
"div",
|
|
659
667
|
{
|
|
660
668
|
className: l(
|
|
661
669
|
i,
|
|
662
|
-
"relative grid grid-flow-row grid-cols-[minmax(auto,_37rem)] content-center gap-6 rounded-3xl py-10
|
|
670
|
+
"relative grid grid-flow-row grid-cols-[minmax(auto,_37rem)] content-center gap-6 rounded-3xl px-6 py-10 text-center max-md:mx-4 md:p-12",
|
|
663
671
|
{
|
|
664
672
|
// On mobile we use negative margin on the content to pull the content up into the image
|
|
665
|
-
"max-md:-mt-18":
|
|
666
|
-
"text-white":
|
|
667
|
-
"bg-green-dark":
|
|
668
|
-
"bg-blue-dark":
|
|
669
|
-
"bg-white":
|
|
673
|
+
"max-md:-mt-18": s,
|
|
674
|
+
"text-white": t !== "white",
|
|
675
|
+
"bg-green-dark": t === "green",
|
|
676
|
+
"bg-blue-dark": t === "blue",
|
|
677
|
+
"bg-white": t === "white",
|
|
670
678
|
// vertical split
|
|
671
679
|
// vertically center the content, remove the border radius on the edge, add some negative margin to pull the image beneath the hero content, left align the content
|
|
672
|
-
"md:z-10 md:-order-1 md
|
|
680
|
+
"md:z-10 md:-order-1 md:-mr-5 md:mt-0 md:justify-center md:rounded-l-none md:text-left": n === "vertical-split",
|
|
673
681
|
// below center/content header
|
|
674
682
|
"justify-center md:mx-auto md:w-4/5": n === "below-center",
|
|
675
|
-
"md:-mt-18":
|
|
683
|
+
"md:-mt-18": s && n === "below-center",
|
|
676
684
|
// Below left style
|
|
677
|
-
"md:ml-[8%] md
|
|
685
|
+
"md:-mt-32 md:ml-[8%] md:max-w-[58%] md:text-left": n === "below-left",
|
|
678
686
|
// styles for when the contain is fully contained within the image
|
|
679
|
-
"md:
|
|
687
|
+
"md:mx-32 md:my-9 md:w-2/5": m,
|
|
680
688
|
"self-end justify-self-start": n === "bottom-left",
|
|
681
689
|
"self-start justify-self-start": n === "top-left",
|
|
682
690
|
"self-start justify-self-end": n === "top-right",
|
|
@@ -686,56 +694,56 @@ const J = I({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
|
|
|
686
694
|
),
|
|
687
695
|
...d,
|
|
688
696
|
style: m ? { gridArea: "hero" } : void 0,
|
|
689
|
-
ref:
|
|
697
|
+
ref: r,
|
|
690
698
|
children: [
|
|
691
699
|
/* @__PURE__ */ a("h1", { children: c }),
|
|
692
700
|
u && /* @__PURE__ */ a("p", { className: "text-lg font-semibold md:text-xl", children: u }),
|
|
693
|
-
|
|
701
|
+
o
|
|
694
702
|
]
|
|
695
703
|
}
|
|
696
704
|
);
|
|
697
705
|
}
|
|
698
|
-
),
|
|
699
|
-
(e,
|
|
700
|
-
const { className:
|
|
706
|
+
), Lt = b(
|
|
707
|
+
(e, r) => {
|
|
708
|
+
const { className: t, ...n } = e, { contentPosition: s } = A(J);
|
|
701
709
|
return /* @__PURE__ */ a(
|
|
702
710
|
"div",
|
|
703
711
|
{
|
|
704
712
|
className: l(
|
|
705
|
-
|
|
713
|
+
t,
|
|
706
714
|
"grid items-center justify-center justify-items-center gap-4 md:grid-flow-col",
|
|
707
715
|
// Left align actions/buttons
|
|
708
716
|
{
|
|
709
|
-
"md:justify-start":
|
|
717
|
+
"md:justify-start": s === "vertical-split" || s === "below-left"
|
|
710
718
|
}
|
|
711
719
|
),
|
|
712
720
|
...n,
|
|
713
|
-
ref:
|
|
721
|
+
ref: r
|
|
714
722
|
}
|
|
715
723
|
);
|
|
716
724
|
}
|
|
717
|
-
), ue = b((e,
|
|
725
|
+
), ue = b((e, r) => {
|
|
718
726
|
const {
|
|
719
|
-
className:
|
|
727
|
+
className: t,
|
|
720
728
|
isInvalid: n,
|
|
721
|
-
size:
|
|
722
|
-
as:
|
|
729
|
+
size: s,
|
|
730
|
+
as: o,
|
|
723
731
|
type: i,
|
|
724
732
|
rightAddon: c,
|
|
725
733
|
leftAddon: u,
|
|
726
734
|
...d
|
|
727
|
-
} = e, m =
|
|
735
|
+
} = e, m = o ?? "input", h = Ge(m, i);
|
|
728
736
|
return /* @__PURE__ */ g(
|
|
729
737
|
"div",
|
|
730
738
|
{
|
|
731
739
|
className: l(
|
|
732
|
-
|
|
740
|
+
t,
|
|
733
741
|
"relative flex items-center rounded-lg border border-b-[3px] focus-within:-ml-[2px] focus-within:-mt-[2px] focus-within:border-[3px] focus-within:shadow",
|
|
734
742
|
{
|
|
735
743
|
"focus-within:border-blue-dark border-black": !n,
|
|
736
744
|
"border-red focus-within:border-red": n,
|
|
737
|
-
"w-fit":
|
|
738
|
-
"w-full":
|
|
745
|
+
"w-fit": s != null,
|
|
746
|
+
"w-full": s == null,
|
|
739
747
|
"pl-4": u,
|
|
740
748
|
"pr-4": c
|
|
741
749
|
}
|
|
@@ -746,9 +754,9 @@ const J = I({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
|
|
|
746
754
|
m,
|
|
747
755
|
{
|
|
748
756
|
"aria-invalid": n,
|
|
749
|
-
ref:
|
|
757
|
+
ref: r,
|
|
750
758
|
className: "focus:none placeholder-gray w-full rounded-lg border-none px-4 py-3.5 focus:outline-none",
|
|
751
|
-
size:
|
|
759
|
+
size: s,
|
|
752
760
|
type: h,
|
|
753
761
|
...d
|
|
754
762
|
}
|
|
@@ -758,15 +766,15 @@ const J = I({ bgColor: "white", contentPosition: "below-center", hasImage: !1 })
|
|
|
758
766
|
}
|
|
759
767
|
);
|
|
760
768
|
});
|
|
761
|
-
function Ge(e,
|
|
762
|
-
if (
|
|
763
|
-
return
|
|
769
|
+
function Ge(e, r) {
|
|
770
|
+
if (r != null)
|
|
771
|
+
return r;
|
|
764
772
|
if (e === "input")
|
|
765
773
|
return "text";
|
|
766
774
|
}
|
|
767
|
-
const
|
|
768
|
-
let
|
|
769
|
-
return e.icon && (
|
|
775
|
+
const Mt = (e) => {
|
|
776
|
+
let r = "";
|
|
777
|
+
return e.icon && (r = "inline-flex items-center gap-2"), /* @__PURE__ */ g("a", { className: r, href: e.href, children: [
|
|
770
778
|
e.icon,
|
|
771
779
|
e.children
|
|
772
780
|
] });
|
|
@@ -774,159 +782,159 @@ const kr = (e) => {
|
|
|
774
782
|
setIsExpanded: y,
|
|
775
783
|
isExpanded: !1,
|
|
776
784
|
collapsibleId: ""
|
|
777
|
-
}),
|
|
778
|
-
const { className:
|
|
779
|
-
() => ({ isExpanded:
|
|
780
|
-
[
|
|
785
|
+
}), zt = (e) => {
|
|
786
|
+
const { className: r, children: t, ...n } = e, s = ee(), [o, i] = k(!1), c = M(
|
|
787
|
+
() => ({ isExpanded: o, setIsExpanded: i, collapsibleId: s }),
|
|
788
|
+
[o, s]
|
|
781
789
|
);
|
|
782
790
|
return /* @__PURE__ */ a(P.Provider, { value: "white", children: /* @__PURE__ */ a(R.Provider, { value: c, children: /* @__PURE__ */ a(
|
|
783
791
|
"div",
|
|
784
792
|
{
|
|
785
793
|
className: l(
|
|
786
|
-
|
|
787
|
-
"bg-blue relative pt-6
|
|
794
|
+
r,
|
|
795
|
+
"bg-blue relative pb-12 pt-6 text-white before:absolute before:bottom-0 before:left-0 before:right-0 before:h-6 before:rounded-t-3xl before:bg-white md:pb-14 md:pt-8"
|
|
788
796
|
),
|
|
789
797
|
...n,
|
|
790
|
-
children: /* @__PURE__ */ a("div", { className: "container", children:
|
|
798
|
+
children: /* @__PURE__ */ a("div", { className: "container", children: t })
|
|
791
799
|
}
|
|
792
800
|
) }) });
|
|
793
|
-
},
|
|
794
|
-
const { className:
|
|
801
|
+
}, Pt = (e) => {
|
|
802
|
+
const { className: r, children: t, ...n } = e, { isExpanded: s } = A(R);
|
|
795
803
|
return /* @__PURE__ */ a(
|
|
796
804
|
"nav",
|
|
797
805
|
{
|
|
798
806
|
className: l(
|
|
799
|
-
|
|
807
|
+
r,
|
|
800
808
|
"my-8 flex flex-col md:mb-0 md:flex md:flex-row md:flex-wrap md:gap-x-8",
|
|
801
809
|
{
|
|
802
|
-
hidden: !
|
|
810
|
+
hidden: !s
|
|
803
811
|
}
|
|
804
812
|
),
|
|
805
813
|
...n,
|
|
806
|
-
children:
|
|
814
|
+
children: t
|
|
807
815
|
}
|
|
808
816
|
);
|
|
809
|
-
},
|
|
810
|
-
(e,
|
|
811
|
-
const { active:
|
|
817
|
+
}, St = b(
|
|
818
|
+
(e, r) => {
|
|
819
|
+
const { active: t, className: n, children: s, ...o } = e;
|
|
812
820
|
return /* @__PURE__ */ a(
|
|
813
821
|
"a",
|
|
814
822
|
{
|
|
815
|
-
"aria-current":
|
|
823
|
+
"aria-current": t ? "page" : void 0,
|
|
816
824
|
className: l(
|
|
817
825
|
n,
|
|
818
826
|
"border-b border-[#0156E0] py-3 no-underline md:border-b-2 md:border-transparent md:py-2 md:hover:border-white",
|
|
819
827
|
{
|
|
820
|
-
"md:bg-blue-dark font-bold md:-mx-3 md:rounded-t-lg md:px-3":
|
|
828
|
+
"md:bg-blue-dark font-bold md:-mx-3 md:rounded-t-lg md:px-3": t
|
|
821
829
|
}
|
|
822
830
|
),
|
|
823
|
-
ref:
|
|
824
|
-
...
|
|
825
|
-
children:
|
|
831
|
+
ref: r,
|
|
832
|
+
...o,
|
|
833
|
+
children: s
|
|
826
834
|
}
|
|
827
835
|
);
|
|
828
836
|
}
|
|
829
837
|
), He = () => {
|
|
830
|
-
const { isExpanded: e, setIsExpanded:
|
|
831
|
-
let n =
|
|
832
|
-
return e && (n =
|
|
838
|
+
const { isExpanded: e, setIsExpanded: r, collapsibleId: t } = A(R);
|
|
839
|
+
let n = xe, s = "Meny";
|
|
840
|
+
return e && (n = ve, s = "Lukk"), /* @__PURE__ */ g(
|
|
833
841
|
"button",
|
|
834
842
|
{
|
|
835
|
-
"aria-controls":
|
|
843
|
+
"aria-controls": t,
|
|
836
844
|
"aria-expanded": e,
|
|
837
845
|
className: "inline-flex items-center gap-2 md:hidden",
|
|
838
|
-
onClick: () =>
|
|
846
|
+
onClick: () => r((o) => !o),
|
|
839
847
|
children: [
|
|
840
|
-
|
|
848
|
+
s,
|
|
841
849
|
" ",
|
|
842
850
|
/* @__PURE__ */ a(n, {})
|
|
843
851
|
]
|
|
844
852
|
}
|
|
845
853
|
);
|
|
846
|
-
},
|
|
847
|
-
const { className:
|
|
854
|
+
}, Vt = (e) => {
|
|
855
|
+
const { className: r, children: t, logo: n, ...s } = e;
|
|
848
856
|
return /* @__PURE__ */ g(
|
|
849
857
|
"div",
|
|
850
858
|
{
|
|
851
|
-
className: l(
|
|
852
|
-
...
|
|
859
|
+
className: l(r, "flex items-center justify-between gap-8"),
|
|
860
|
+
...s,
|
|
853
861
|
children: [
|
|
854
862
|
n,
|
|
855
|
-
/* @__PURE__ */ a("div", { className: "hidden md:block", children:
|
|
863
|
+
/* @__PURE__ */ a("div", { className: "hidden md:block", children: t }),
|
|
856
864
|
/* @__PURE__ */ a(He, {})
|
|
857
865
|
]
|
|
858
866
|
}
|
|
859
867
|
);
|
|
860
|
-
},
|
|
861
|
-
const { className:
|
|
868
|
+
}, Jt = (e) => {
|
|
869
|
+
const { className: r, children: t, ...n } = e, { collapsibleId: s, isExpanded: o } = A(R);
|
|
862
870
|
return /* @__PURE__ */ a(
|
|
863
871
|
"div",
|
|
864
872
|
{
|
|
865
873
|
...n,
|
|
866
|
-
"aria-hidden": !
|
|
867
|
-
className: l(
|
|
868
|
-
hidden: !
|
|
874
|
+
"aria-hidden": !o,
|
|
875
|
+
className: l(r, "md:-mb-8 md:block", {
|
|
876
|
+
hidden: !o
|
|
869
877
|
}),
|
|
870
|
-
id:
|
|
871
|
-
children:
|
|
878
|
+
id: s,
|
|
879
|
+
children: t
|
|
872
880
|
}
|
|
873
881
|
);
|
|
874
|
-
},
|
|
875
|
-
const { isExpanded:
|
|
876
|
-
return !
|
|
877
|
-
}, w = 2, O = I({ currentPage: 0, pageCount: 0 }),
|
|
882
|
+
}, Ot = (e) => {
|
|
883
|
+
const { isExpanded: r } = A(R), t = ze(!1);
|
|
884
|
+
return !r || !t ? null : /* @__PURE__ */ a(Z, { children: e.children });
|
|
885
|
+
}, w = 2, O = I({ currentPage: 0, pageCount: 0 }), Tt = (e) => {
|
|
878
886
|
const {
|
|
879
|
-
className:
|
|
880
|
-
page:
|
|
887
|
+
className: r,
|
|
888
|
+
page: t,
|
|
881
889
|
count: n,
|
|
882
|
-
onChange:
|
|
883
|
-
getItemHref:
|
|
890
|
+
onChange: s,
|
|
891
|
+
getItemHref: o,
|
|
884
892
|
getItemAriaLabel: i,
|
|
885
893
|
nextPageAriaLabel: c,
|
|
886
894
|
prevPageAriaLabel: u,
|
|
887
895
|
...d
|
|
888
|
-
} = e, m =
|
|
896
|
+
} = e, m = M(
|
|
889
897
|
() => ({
|
|
890
|
-
currentPage: Math.max(1, Math.min(
|
|
898
|
+
currentPage: Math.max(1, Math.min(t, n)),
|
|
891
899
|
pageCount: Math.max(1, n)
|
|
892
900
|
}),
|
|
893
|
-
[
|
|
901
|
+
[t, n]
|
|
894
902
|
), h = (f) => (p) => {
|
|
895
|
-
|
|
903
|
+
s && (p.preventDefault(), s(f));
|
|
896
904
|
};
|
|
897
905
|
return /* @__PURE__ */ a(O.Provider, { value: m, children: /* @__PURE__ */ g(
|
|
898
906
|
"nav",
|
|
899
907
|
{
|
|
900
|
-
className: l("flex justify-center gap-2 sm:gap-4",
|
|
908
|
+
className: l("flex justify-center gap-2 sm:gap-4", r),
|
|
901
909
|
...d,
|
|
902
910
|
children: [
|
|
903
911
|
/* @__PURE__ */ a(
|
|
904
912
|
_e,
|
|
905
913
|
{
|
|
906
914
|
"aria-label": u,
|
|
907
|
-
href:
|
|
908
|
-
onClick: h(
|
|
915
|
+
href: o(t - 1),
|
|
916
|
+
onClick: h(t - 1)
|
|
909
917
|
}
|
|
910
918
|
),
|
|
911
919
|
/* @__PURE__ */ a(
|
|
912
920
|
_,
|
|
913
921
|
{
|
|
914
922
|
page: 1,
|
|
915
|
-
href:
|
|
923
|
+
href: o(1),
|
|
916
924
|
onClick: h(1),
|
|
917
925
|
"aria-label": i(1),
|
|
918
|
-
selected:
|
|
926
|
+
selected: t === 1
|
|
919
927
|
}
|
|
920
928
|
),
|
|
921
|
-
n > 2 + w * 2 &&
|
|
922
|
-
/* @__PURE__ */ a(
|
|
929
|
+
n > 2 + w * 2 && t > w + 2 && /* @__PURE__ */ a($e, {}),
|
|
930
|
+
/* @__PURE__ */ a(et, { children: (f) => /* @__PURE__ */ a(
|
|
923
931
|
_,
|
|
924
932
|
{
|
|
925
|
-
href:
|
|
933
|
+
href: o(f),
|
|
926
934
|
onClick: h(f),
|
|
927
935
|
"aria-label": i(f),
|
|
928
936
|
page: f,
|
|
929
|
-
selected: f ===
|
|
937
|
+
selected: f === t
|
|
930
938
|
},
|
|
931
939
|
f
|
|
932
940
|
) }),
|
|
@@ -934,65 +942,65 @@ const kr = (e) => {
|
|
|
934
942
|
De,
|
|
935
943
|
{
|
|
936
944
|
"aria-label": c,
|
|
937
|
-
href:
|
|
938
|
-
onClick: h(
|
|
945
|
+
href: o(t + 1),
|
|
946
|
+
onClick: h(t + 1)
|
|
939
947
|
}
|
|
940
948
|
)
|
|
941
949
|
]
|
|
942
950
|
}
|
|
943
951
|
) });
|
|
944
|
-
}, De = b((e,
|
|
945
|
-
const { currentPage:
|
|
952
|
+
}, De = b((e, r) => {
|
|
953
|
+
const { currentPage: t, pageCount: n } = A(O), s = t >= n;
|
|
946
954
|
return /* @__PURE__ */ a(
|
|
947
955
|
Q,
|
|
948
956
|
{
|
|
949
|
-
"aria-hidden":
|
|
950
|
-
className:
|
|
951
|
-
ref:
|
|
957
|
+
"aria-hidden": s,
|
|
958
|
+
className: s ? "invisible" : void 0,
|
|
959
|
+
ref: r,
|
|
952
960
|
rel: "next",
|
|
953
961
|
...e,
|
|
954
962
|
children: /* @__PURE__ */ a(Ne, {})
|
|
955
963
|
}
|
|
956
964
|
);
|
|
957
|
-
}), _e = b((e,
|
|
958
|
-
const { currentPage:
|
|
965
|
+
}), _e = b((e, r) => {
|
|
966
|
+
const { currentPage: t } = A(O), n = t <= 1;
|
|
959
967
|
return /* @__PURE__ */ a(
|
|
960
968
|
Q,
|
|
961
969
|
{
|
|
962
970
|
"aria-hidden": n,
|
|
963
971
|
className: n ? "invisible" : void 0,
|
|
964
|
-
ref:
|
|
972
|
+
ref: r,
|
|
965
973
|
rel: "prev",
|
|
966
974
|
...e,
|
|
967
975
|
children: /* @__PURE__ */ a(we, {})
|
|
968
976
|
}
|
|
969
977
|
);
|
|
970
|
-
}), Q = b((e,
|
|
971
|
-
const { className:
|
|
978
|
+
}), Q = b((e, r) => {
|
|
979
|
+
const { className: t, ...n } = e;
|
|
972
980
|
return /* @__PURE__ */ a(
|
|
973
981
|
"a",
|
|
974
982
|
{
|
|
975
983
|
className: l(
|
|
976
|
-
|
|
977
|
-
"aria-[current]:border-green hover:bg-gray-
|
|
984
|
+
t,
|
|
985
|
+
"aria-[current]:border-green hover:bg-gray-lightest flex h-9 w-9 items-center justify-center rounded-lg border-2 border-transparent no-underline sm:h-10 sm:w-10"
|
|
978
986
|
),
|
|
979
|
-
ref:
|
|
987
|
+
ref: r,
|
|
980
988
|
...n
|
|
981
989
|
}
|
|
982
990
|
);
|
|
983
|
-
}), $e = () => /* @__PURE__ */ a("span", { className: "flex h-9 w-9 cursor-default items-center justify-center border-2 border-transparent sm:h-10 sm:w-10", children: "..." }),
|
|
984
|
-
const { currentPage:
|
|
985
|
-
Math.max(2 + w * 2,
|
|
986
|
-
|
|
991
|
+
}), $e = () => /* @__PURE__ */ a("span", { className: "flex h-9 w-9 cursor-default items-center justify-center border-2 border-transparent sm:h-10 sm:w-10", children: "..." }), et = ({ children: e }) => {
|
|
992
|
+
const { currentPage: r, pageCount: t } = A(O), n = Math.min(
|
|
993
|
+
Math.max(2 + w * 2, r + w),
|
|
994
|
+
t
|
|
987
995
|
);
|
|
988
|
-
let
|
|
989
|
-
Math.min(
|
|
996
|
+
let s = Math.max(
|
|
997
|
+
Math.min(r - w, n - w * 2),
|
|
990
998
|
1
|
|
991
999
|
);
|
|
992
|
-
return
|
|
993
|
-
}, _ = b((e,
|
|
994
|
-
const { page:
|
|
995
|
-
return /* @__PURE__ */ a(Q, { "aria-current": n ? "page" : void 0, ref:
|
|
1000
|
+
return s - w === 0 && (s = s - 1), Array.from({ length: n - s }, (i, c) => s + c + 1).map((i) => e(i));
|
|
1001
|
+
}, _ = b((e, r) => {
|
|
1002
|
+
const { page: t, selected: n, ...s } = e;
|
|
1003
|
+
return /* @__PURE__ */ a(Q, { "aria-current": n ? "page" : void 0, ref: r, ...s, children: t });
|
|
996
1004
|
}), fe = I({
|
|
997
1005
|
defaultValue: void 0,
|
|
998
1006
|
isControlled: !1,
|
|
@@ -1001,31 +1009,31 @@ const kr = (e) => {
|
|
|
1001
1009
|
required: !1,
|
|
1002
1010
|
value: void 0,
|
|
1003
1011
|
error: !1
|
|
1004
|
-
}),
|
|
1005
|
-
const { children:
|
|
1012
|
+
}), jt = b((e, r) => {
|
|
1013
|
+
const { children: t, className: n, ...s } = e, { defaultValue: o, isControlled: i, name: c, onChange: u, required: d, value: m, error: h } = A(fe);
|
|
1006
1014
|
return /* @__PURE__ */ g("label", { className: l(n, "flex cursor-pointer gap-2.5"), children: [
|
|
1007
1015
|
/* @__PURE__ */ a(
|
|
1008
1016
|
"input",
|
|
1009
1017
|
{
|
|
1010
1018
|
className: l("radio", h && "border-red"),
|
|
1011
|
-
defaultChecked: i ? void 0 :
|
|
1012
|
-
checked: i ?
|
|
1019
|
+
defaultChecked: i ? void 0 : s.value === o,
|
|
1020
|
+
checked: i ? s.value === m : void 0,
|
|
1013
1021
|
name: c,
|
|
1014
1022
|
onChange: i ? u : void 0,
|
|
1015
1023
|
required: d,
|
|
1016
1024
|
type: "radio",
|
|
1017
|
-
ref:
|
|
1018
|
-
...
|
|
1025
|
+
ref: r,
|
|
1026
|
+
...s
|
|
1019
1027
|
}
|
|
1020
1028
|
),
|
|
1021
|
-
|
|
1029
|
+
t
|
|
1022
1030
|
] });
|
|
1023
|
-
}),
|
|
1024
|
-
(e,
|
|
1025
|
-
const
|
|
1031
|
+
}), Ft = b(
|
|
1032
|
+
(e, r) => {
|
|
1033
|
+
const t = "value" in e, {
|
|
1026
1034
|
className: n,
|
|
1027
|
-
defaultValue:
|
|
1028
|
-
description:
|
|
1035
|
+
defaultValue: s,
|
|
1036
|
+
description: o,
|
|
1029
1037
|
error: i,
|
|
1030
1038
|
id: c,
|
|
1031
1039
|
children: u,
|
|
@@ -1034,89 +1042,89 @@ const kr = (e) => {
|
|
|
1034
1042
|
onChange: h,
|
|
1035
1043
|
required: f,
|
|
1036
1044
|
value: p,
|
|
1037
|
-
...
|
|
1038
|
-
} = e,
|
|
1045
|
+
...v
|
|
1046
|
+
} = e, x = q(
|
|
1039
1047
|
(ge) => {
|
|
1040
1048
|
const be = ge.target.value;
|
|
1041
1049
|
h == null || h(be);
|
|
1042
1050
|
},
|
|
1043
1051
|
[h]
|
|
1044
|
-
), T =
|
|
1052
|
+
), T = M(
|
|
1045
1053
|
() => ({
|
|
1046
|
-
defaultValue:
|
|
1047
|
-
isControlled:
|
|
1054
|
+
defaultValue: s,
|
|
1055
|
+
isControlled: t,
|
|
1048
1056
|
name: m,
|
|
1049
|
-
onChange:
|
|
1057
|
+
onChange: x,
|
|
1050
1058
|
required: f,
|
|
1051
1059
|
value: p,
|
|
1052
|
-
error:
|
|
1060
|
+
error: !!i
|
|
1053
1061
|
}),
|
|
1054
|
-
[
|
|
1062
|
+
[s, t, m, x, f, p, i]
|
|
1055
1063
|
), j = C(c), U = `${j}:label`, G = `${j}:help`, H = j + "err", F = i;
|
|
1056
1064
|
return /* @__PURE__ */ a(fe.Provider, { value: T, children: /* @__PURE__ */ g(
|
|
1057
1065
|
"div",
|
|
1058
1066
|
{
|
|
1059
1067
|
"aria-describedby": l({
|
|
1060
1068
|
[H]: F,
|
|
1061
|
-
[G]:
|
|
1069
|
+
[G]: o
|
|
1062
1070
|
}) || void 0,
|
|
1063
1071
|
"aria-invalid": !!i,
|
|
1064
1072
|
"aria-labelledby": d ? U : void 0,
|
|
1065
1073
|
className: l(n, "flex flex-col gap-4"),
|
|
1066
1074
|
role: "radiogroup",
|
|
1067
|
-
ref:
|
|
1068
|
-
...
|
|
1075
|
+
ref: r,
|
|
1076
|
+
...v,
|
|
1069
1077
|
children: [
|
|
1070
1078
|
d && /* @__PURE__ */ a(V, { id: U, isRequired: f, isInvalid: !!i, children: d }),
|
|
1071
|
-
|
|
1079
|
+
o && /* @__PURE__ */ a(S, { id: G, children: o }),
|
|
1072
1080
|
u,
|
|
1073
1081
|
F && /* @__PURE__ */ a(E, { id: H, children: F })
|
|
1074
1082
|
]
|
|
1075
1083
|
}
|
|
1076
1084
|
) });
|
|
1077
1085
|
}
|
|
1078
|
-
),
|
|
1079
|
-
(e,
|
|
1080
|
-
const { children:
|
|
1086
|
+
), tt = b(
|
|
1087
|
+
(e, r) => {
|
|
1088
|
+
const { children: t, className: n, isInvalid: s, size: o, ...i } = e, c = o === "small";
|
|
1081
1089
|
return /* @__PURE__ */ g("div", { className: l(n, "relative", c && "text-sm"), children: [
|
|
1082
1090
|
/* @__PURE__ */ a(
|
|
1083
1091
|
"select",
|
|
1084
1092
|
{
|
|
1085
|
-
"aria-invalid":
|
|
1093
|
+
"aria-invalid": s,
|
|
1086
1094
|
...i,
|
|
1087
1095
|
className: l(
|
|
1088
|
-
"w-full cursor-pointer appearance-none border border-b-[3px] bg-white focus:-
|
|
1096
|
+
"w-full cursor-pointer appearance-none border border-b-[3px] bg-white focus:-ml-0.5 focus:-mt-0.5 focus:border-[3px] focus:shadow focus:outline-none",
|
|
1089
1097
|
c ? "rounded px-3.5 py-2" : "rounded-lg px-4 py-3.5",
|
|
1090
|
-
|
|
1098
|
+
s ? "border-red focus:border-red" : "focus:border-blue-dark border-black"
|
|
1091
1099
|
),
|
|
1092
|
-
ref:
|
|
1093
|
-
children:
|
|
1100
|
+
ref: r,
|
|
1101
|
+
children: t
|
|
1094
1102
|
}
|
|
1095
1103
|
),
|
|
1096
1104
|
/* @__PURE__ */ a(
|
|
1097
|
-
|
|
1105
|
+
re,
|
|
1098
1106
|
{
|
|
1099
1107
|
className: l(
|
|
1100
|
-
"pointer-events-none absolute
|
|
1108
|
+
"pointer-events-none absolute bottom-0 top-0 my-auto",
|
|
1101
1109
|
c ? "right-3.5" : "right-4"
|
|
1102
1110
|
)
|
|
1103
1111
|
}
|
|
1104
1112
|
)
|
|
1105
1113
|
] });
|
|
1106
1114
|
}
|
|
1107
|
-
),
|
|
1108
|
-
(e,
|
|
1115
|
+
), Zt = b(
|
|
1116
|
+
(e, r) => {
|
|
1109
1117
|
const {
|
|
1110
|
-
description:
|
|
1118
|
+
description: t,
|
|
1111
1119
|
error: n,
|
|
1112
|
-
id:
|
|
1113
|
-
label:
|
|
1120
|
+
id: s,
|
|
1121
|
+
label: o,
|
|
1114
1122
|
disableValidation: i = !1,
|
|
1115
1123
|
...c
|
|
1116
|
-
} = e, u =
|
|
1124
|
+
} = e, u = L(null), d = Y(u, r), { validity: m, validationMessage: h } = z(
|
|
1117
1125
|
u,
|
|
1118
1126
|
!i
|
|
1119
|
-
), f = C(
|
|
1127
|
+
), f = C(s), p = f + "help", v = f + "err", x = n || h;
|
|
1120
1128
|
return /* @__PURE__ */ g("div", { className: "grid gap-2", children: [
|
|
1121
1129
|
/* @__PURE__ */ a(
|
|
1122
1130
|
V,
|
|
@@ -1124,28 +1132,28 @@ const kr = (e) => {
|
|
|
1124
1132
|
htmlFor: f,
|
|
1125
1133
|
isRequired: e.required,
|
|
1126
1134
|
isInvalid: !!n || m === "invalid",
|
|
1127
|
-
children:
|
|
1135
|
+
children: o
|
|
1128
1136
|
}
|
|
1129
1137
|
),
|
|
1130
|
-
|
|
1138
|
+
t && /* @__PURE__ */ a(S, { id: p, children: t }),
|
|
1131
1139
|
/* @__PURE__ */ a(
|
|
1132
|
-
|
|
1140
|
+
tt,
|
|
1133
1141
|
{
|
|
1134
1142
|
id: f,
|
|
1135
1143
|
ref: d,
|
|
1136
1144
|
...c,
|
|
1137
1145
|
isInvalid: !!n || m === "invalid",
|
|
1138
1146
|
"aria-describedby": l({
|
|
1139
|
-
[
|
|
1140
|
-
[p]:
|
|
1147
|
+
[v]: x,
|
|
1148
|
+
[p]: t
|
|
1141
1149
|
}) || void 0
|
|
1142
1150
|
}
|
|
1143
1151
|
),
|
|
1144
|
-
|
|
1152
|
+
x && /* @__PURE__ */ a(E, { id: v, children: x })
|
|
1145
1153
|
] });
|
|
1146
1154
|
}
|
|
1147
|
-
),
|
|
1148
|
-
const { heading:
|
|
1155
|
+
), Wt = (e) => {
|
|
1156
|
+
const { heading: r, children: t, closeSnackbar: n } = e, [s, o] = k(!1);
|
|
1149
1157
|
return /* @__PURE__ */ a("div", { className: "container max-w-[59rem]", children: /* @__PURE__ */ a("div", { className: "bg-orange-light px-8 py-4 max-md:p-4", children: /* @__PURE__ */ g("div", { className: "snackbar grid items-center", children: [
|
|
1150
1158
|
/* @__PURE__ */ a(ae, { className: "text-orange snackbar-icon mr-4 self-start md:mr-8 md:text-2xl" }),
|
|
1151
1159
|
/* @__PURE__ */ a(
|
|
@@ -1154,24 +1162,24 @@ const kr = (e) => {
|
|
|
1154
1162
|
className: l(
|
|
1155
1163
|
"snackbar-header min-w-0 max-w-prose text-base font-medium",
|
|
1156
1164
|
{
|
|
1157
|
-
"overflow-hidden overflow-ellipsis whitespace-nowrap": !
|
|
1165
|
+
"overflow-hidden overflow-ellipsis whitespace-nowrap": !s
|
|
1158
1166
|
}
|
|
1159
1167
|
),
|
|
1160
|
-
children:
|
|
1168
|
+
children: r
|
|
1161
1169
|
}
|
|
1162
1170
|
),
|
|
1163
1171
|
/* @__PURE__ */ g("div", { className: "snackbar-actions flex justify-end gap-4 max-md:mt-3 md:ml-4", children: [
|
|
1164
1172
|
/* @__PURE__ */ a(
|
|
1165
1173
|
$,
|
|
1166
1174
|
{
|
|
1167
|
-
"aria-expanded":
|
|
1168
|
-
onClick: () =>
|
|
1169
|
-
children:
|
|
1175
|
+
"aria-expanded": s,
|
|
1176
|
+
onClick: () => o(!s),
|
|
1177
|
+
children: s ? "Les mindre" : "Les mer"
|
|
1170
1178
|
}
|
|
1171
1179
|
),
|
|
1172
1180
|
/* @__PURE__ */ a($, { onClick: n, children: "Ok" })
|
|
1173
1181
|
] }),
|
|
1174
|
-
|
|
1182
|
+
s && t
|
|
1175
1183
|
] }) }) });
|
|
1176
1184
|
}, $ = (e) => /* @__PURE__ */ a(
|
|
1177
1185
|
"button",
|
|
@@ -1183,63 +1191,63 @@ const kr = (e) => {
|
|
|
1183
1191
|
...e,
|
|
1184
1192
|
children: e.children
|
|
1185
1193
|
}
|
|
1186
|
-
),
|
|
1194
|
+
), Kt = (e) => /* @__PURE__ */ a(
|
|
1187
1195
|
"div",
|
|
1188
1196
|
{
|
|
1189
1197
|
className: "snackbar-content my-4 max-h-[50vh] max-w-prose overflow-y-auto",
|
|
1190
1198
|
...e,
|
|
1191
1199
|
children: e.children
|
|
1192
1200
|
}
|
|
1193
|
-
),
|
|
1194
|
-
const { align:
|
|
1195
|
-
return /* @__PURE__ */ a("ol", { className: l(n, "flex flex-col gap-8 md:gap-12"), ...
|
|
1196
|
-
align:
|
|
1201
|
+
), rt = (e) => {
|
|
1202
|
+
const { align: r = "center", children: t, className: n, ...s } = e;
|
|
1203
|
+
return /* @__PURE__ */ a("ol", { className: l(n, "flex flex-col gap-8 md:gap-12"), ...s, children: W.map(t, (o) => K(o, {
|
|
1204
|
+
align: r
|
|
1197
1205
|
})) });
|
|
1198
|
-
},
|
|
1199
|
-
const { className:
|
|
1206
|
+
}, nt = (e) => {
|
|
1207
|
+
const { className: r, children: t, bullet: n, align: s = "center", ...o } = e;
|
|
1200
1208
|
return /* @__PURE__ */ g(
|
|
1201
1209
|
"li",
|
|
1202
1210
|
{
|
|
1203
1211
|
className: l(
|
|
1204
|
-
|
|
1212
|
+
r,
|
|
1205
1213
|
"group relative flex gap-4 text-sm md:gap-8 md:text-base",
|
|
1206
|
-
{ "items-center":
|
|
1214
|
+
{ "items-center": s === "center" }
|
|
1207
1215
|
),
|
|
1208
|
-
...
|
|
1216
|
+
...o,
|
|
1209
1217
|
children: [
|
|
1210
|
-
/* @__PURE__ */ a(
|
|
1211
|
-
|
|
1218
|
+
/* @__PURE__ */ a(at, { align: s, children: n }),
|
|
1219
|
+
t
|
|
1212
1220
|
]
|
|
1213
1221
|
}
|
|
1214
1222
|
);
|
|
1215
|
-
},
|
|
1223
|
+
}, at = ({ align: e, ...r }) => /* @__PURE__ */ a(
|
|
1216
1224
|
"span",
|
|
1217
1225
|
{
|
|
1218
1226
|
"aria-hidden": !0,
|
|
1219
1227
|
className: l(
|
|
1220
1228
|
"text-green after:bg-gray-light before:bg-gray-light grid h-10 w-10 flex-none place-content-center justify-items-center rounded-full border-2 text-sm font-bold after:absolute after:bottom-0 after:w-0.5 after:translate-x-1/2 group-last:after:hidden md:h-20 md:w-20 md:text-xl",
|
|
1221
1229
|
{
|
|
1222
|
-
"before:absolute before:
|
|
1223
|
-
"after
|
|
1230
|
+
"before:absolute before:bottom-1/2 before:top-0 before:w-0.5 before:-translate-y-5 before:translate-x-1/2 after:top-1/2 after:translate-y-5 group-first:before:hidden before:md:-translate-y-10 after:md:translate-y-10": e === "center",
|
|
1231
|
+
"after:-bottom-8 after:top-10 after:md:-bottom-12 after:md:top-20": e === "top"
|
|
1224
1232
|
}
|
|
1225
1233
|
),
|
|
1226
|
-
...
|
|
1234
|
+
...r
|
|
1227
1235
|
}
|
|
1228
1236
|
);
|
|
1229
|
-
|
|
1230
|
-
const
|
|
1231
|
-
(e,
|
|
1237
|
+
rt.Item = nt;
|
|
1238
|
+
const Yt = b(
|
|
1239
|
+
(e, r) => {
|
|
1232
1240
|
const {
|
|
1233
|
-
description:
|
|
1241
|
+
description: t,
|
|
1234
1242
|
error: n,
|
|
1235
|
-
id:
|
|
1236
|
-
label:
|
|
1243
|
+
id: s,
|
|
1244
|
+
label: o,
|
|
1237
1245
|
disableValidation: i = !1,
|
|
1238
1246
|
...c
|
|
1239
|
-
} = e, u =
|
|
1247
|
+
} = e, u = L(null), d = Y(u, r), { validity: m, validationMessage: h } = z(
|
|
1240
1248
|
u,
|
|
1241
1249
|
!i
|
|
1242
|
-
), f = C(
|
|
1250
|
+
), f = C(s), p = f + "help", v = f + "err", x = n || h;
|
|
1243
1251
|
return /* @__PURE__ */ g("div", { className: "grid gap-2", children: [
|
|
1244
1252
|
/* @__PURE__ */ a(
|
|
1245
1253
|
V,
|
|
@@ -1247,10 +1255,10 @@ const Yr = b(
|
|
|
1247
1255
|
htmlFor: f,
|
|
1248
1256
|
isRequired: e.required,
|
|
1249
1257
|
isInvalid: !!n || m === "invalid",
|
|
1250
|
-
children:
|
|
1258
|
+
children: o
|
|
1251
1259
|
}
|
|
1252
1260
|
),
|
|
1253
|
-
|
|
1261
|
+
t && /* @__PURE__ */ a(S, { id: p, children: t }),
|
|
1254
1262
|
/* @__PURE__ */ a(
|
|
1255
1263
|
ue,
|
|
1256
1264
|
{
|
|
@@ -1260,28 +1268,28 @@ const Yr = b(
|
|
|
1260
1268
|
...c,
|
|
1261
1269
|
isInvalid: !!n || m === "invalid",
|
|
1262
1270
|
"aria-describedby": l({
|
|
1263
|
-
[
|
|
1264
|
-
[p]:
|
|
1271
|
+
[v]: x,
|
|
1272
|
+
[p]: t
|
|
1265
1273
|
}) || void 0
|
|
1266
1274
|
}
|
|
1267
1275
|
),
|
|
1268
|
-
|
|
1276
|
+
x && /* @__PURE__ */ a(E, { id: v, children: x })
|
|
1269
1277
|
] });
|
|
1270
1278
|
}
|
|
1271
|
-
),
|
|
1272
|
-
(e,
|
|
1279
|
+
), Xt = b(
|
|
1280
|
+
(e, r) => {
|
|
1273
1281
|
const {
|
|
1274
|
-
description:
|
|
1282
|
+
description: t,
|
|
1275
1283
|
error: n,
|
|
1276
|
-
id:
|
|
1277
|
-
label:
|
|
1284
|
+
id: s,
|
|
1285
|
+
label: o,
|
|
1278
1286
|
type: i = "text",
|
|
1279
1287
|
disableValidation: c = !1,
|
|
1280
1288
|
...u
|
|
1281
|
-
} = e, d =
|
|
1289
|
+
} = e, d = L(null), { validity: m, validationMessage: h } = z(
|
|
1282
1290
|
d,
|
|
1283
1291
|
!c
|
|
1284
|
-
), f = C(
|
|
1292
|
+
), f = C(s), p = f + "help", v = f + "err", x = n || h, T = Y(d, r);
|
|
1285
1293
|
return /* @__PURE__ */ g("div", { className: "grid gap-2", children: [
|
|
1286
1294
|
/* @__PURE__ */ a(
|
|
1287
1295
|
V,
|
|
@@ -1289,10 +1297,10 @@ const Yr = b(
|
|
|
1289
1297
|
htmlFor: f,
|
|
1290
1298
|
isRequired: e.required,
|
|
1291
1299
|
isInvalid: !!n || m === "invalid",
|
|
1292
|
-
children:
|
|
1300
|
+
children: o
|
|
1293
1301
|
}
|
|
1294
1302
|
),
|
|
1295
|
-
|
|
1303
|
+
t && /* @__PURE__ */ a(S, { id: p, children: t }),
|
|
1296
1304
|
/* @__PURE__ */ a(
|
|
1297
1305
|
ue,
|
|
1298
1306
|
{
|
|
@@ -1302,12 +1310,12 @@ const Yr = b(
|
|
|
1302
1310
|
...u,
|
|
1303
1311
|
isInvalid: !!n || m === "invalid",
|
|
1304
1312
|
"aria-describedby": l({
|
|
1305
|
-
[
|
|
1306
|
-
[p]:
|
|
1313
|
+
[v]: x,
|
|
1314
|
+
[p]: t
|
|
1307
1315
|
}) || void 0
|
|
1308
1316
|
}
|
|
1309
1317
|
),
|
|
1310
|
-
|
|
1318
|
+
x && /* @__PURE__ */ a(E, { id: v, children: x })
|
|
1311
1319
|
] });
|
|
1312
1320
|
}
|
|
1313
1321
|
);
|
|
@@ -1316,55 +1324,55 @@ export {
|
|
|
1316
1324
|
Oe as AccordionContent,
|
|
1317
1325
|
Je as AccordionHeader,
|
|
1318
1326
|
Ve as AccordionItem,
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1327
|
+
mt as Alert,
|
|
1328
|
+
ut as Banner,
|
|
1329
|
+
ft as BannerImage,
|
|
1330
|
+
gt as Button,
|
|
1323
1331
|
P as ButtonColorContext,
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1332
|
+
bt as Campaign,
|
|
1333
|
+
ht as Card,
|
|
1334
|
+
xt as CardContent,
|
|
1335
|
+
pt as CardImage,
|
|
1336
|
+
vt as CardLinkOverlay,
|
|
1337
|
+
At as CardList,
|
|
1338
|
+
Nt as Checkbox,
|
|
1339
|
+
wt as Chip,
|
|
1340
|
+
yt as Footer,
|
|
1341
|
+
It as Form,
|
|
1342
|
+
Ct as FormError,
|
|
1335
1343
|
E as FormErrorMessage,
|
|
1336
1344
|
Ue as FormHeading,
|
|
1337
1345
|
S as FormHelperText,
|
|
1338
1346
|
V as FormLabel,
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1347
|
+
Et as FormSuccess,
|
|
1348
|
+
Rt as Hero,
|
|
1349
|
+
Lt as HeroActions,
|
|
1350
|
+
kt as HeroContent,
|
|
1343
1351
|
J as HeroContext,
|
|
1344
|
-
|
|
1352
|
+
qt as HeroImage,
|
|
1345
1353
|
ue as Input,
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1354
|
+
Mt as Link,
|
|
1355
|
+
zt as Navbar,
|
|
1356
|
+
Jt as NavbarCollapsible,
|
|
1357
|
+
Vt as NavbarContent,
|
|
1358
|
+
Ot as NavbarExpandedMobileContent,
|
|
1359
|
+
St as NavbarItem,
|
|
1360
|
+
Pt as NavbarItems,
|
|
1361
|
+
Tt as Pagination,
|
|
1362
|
+
jt as Radio,
|
|
1363
|
+
Ft as RadioGroup,
|
|
1364
|
+
Zt as Select,
|
|
1365
|
+
Wt as Snackbar,
|
|
1358
1366
|
$ as SnackbarButton,
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1367
|
+
Kt as SnackbarContent,
|
|
1368
|
+
rt as StepList,
|
|
1369
|
+
nt as StepListItem,
|
|
1370
|
+
Yt as TextArea,
|
|
1371
|
+
Xt as TextField,
|
|
1364
1372
|
ie as useBlockBackgroundColor,
|
|
1365
1373
|
C as useFallbackId,
|
|
1366
1374
|
z as useFormControlValidity,
|
|
1367
|
-
|
|
1368
|
-
|
|
1375
|
+
oe as useMedia,
|
|
1376
|
+
Me as usePrefersReducedMotion,
|
|
1369
1377
|
ze as useScreenMaxWidthMd
|
|
1370
1378
|
};
|