@leabankab/component-library 8.8.0 → 8.9.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/CHANGELOG.md +21 -0
- package/dist/component-library.es.js +881 -857
- package/dist/component-library.es.js.map +1 -1
- package/dist/component-library.umd.js +2 -2
- package/dist/component-library.umd.js.map +1 -1
- package/dist/components/form/select-field.d.ts +20 -1
- package/dist/components/form/select.d.ts +13 -3
- package/dist/index.css +1 -1
- package/dist/website/alert-banner.d.ts +48 -0
- package/dist/website/arrow-reveal-link.d.ts +22 -0
- package/dist/website/flags.d.ts +7 -0
- package/dist/website/index.d.ts +4 -0
- package/dist/website/side-nav.d.ts +57 -0
- package/dist/website/site-footer.d.ts +122 -0
- package/dist/website/site-header-link.d.ts +16 -0
- package/dist/website/site-header-menu.d.ts +21 -0
- package/dist/website/site-header.d.ts +141 -0
- package/dist/website/use-side-nav-labels.d.ts +5 -0
- package/dist/website/use-site-footer-labels.d.ts +7 -0
- package/dist/website/use-site-header-labels.d.ts +7 -0
- package/dist/website.cjs +1 -1
- package/dist/website.cjs.map +1 -1
- package/dist/website.css +1 -1
- package/dist/website.mjs +1101 -394
- package/dist/website.mjs.map +1 -1
- package/package.json +1 -1
package/dist/website.mjs
CHANGED
|
@@ -1,16 +1,68 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useRender as e } from "@base-ui/react/use-render";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
|
|
3
|
+
import { ArrowRight as t, ArrowUpRight as n, ChevronDown as r, ChevronLeft as i, ChevronRight as a, CircleUserRound as o, Menu as s, Pause as c, Play as l, TriangleAlert as u, X as d } from "lucide-react";
|
|
4
|
+
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
5
|
+
import { Children as h, Fragment as g, cloneElement as _, createContext as v, isValidElement as y, useCallback as b, useContext as x, useEffect as S, useId as C, useMemo as ee, useRef as w, useState as T, useSyncExternalStore as te } from "react";
|
|
6
|
+
import { ActionButton as ne, BrandDivider as re, Dialog as E, FeaturedImage as ie, IconButton as D, PaginationDots as ae, Panel as oe, PartnerRow as se, Select as ce, StarRating as le, createTranslation as O } from "./component-library.es.js";
|
|
7
|
+
import { NavigationMenu as k } from "@base-ui/react/navigation-menu";
|
|
8
|
+
import { Collapsible as ue } from "@base-ui/react/collapsible";
|
|
9
|
+
import { Drawer as A } from "@base-ui/react/drawer";
|
|
10
|
+
import './website.css';//#region src/website/paragraphs.tsx
|
|
11
|
+
function j({ className: e, id: t, children: n }) {
|
|
12
|
+
return p(typeof n == "string" || typeof n == "number" ? "p" : "div", {
|
|
13
|
+
className: e,
|
|
14
|
+
id: t,
|
|
15
|
+
children: n
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
var M = {
|
|
19
|
+
AlertBanner: "_AlertBanner_vmi8l_6",
|
|
20
|
+
Icon: "_Icon_vmi8l_18",
|
|
21
|
+
Content: "_Content_vmi8l_31",
|
|
22
|
+
Title: "_Title_vmi8l_40",
|
|
23
|
+
Text: "_Text_vmi8l_47"
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/website/alert-banner.tsx
|
|
27
|
+
function de({ render: t, children: n }) {
|
|
28
|
+
return e({
|
|
29
|
+
render: t,
|
|
30
|
+
defaultTagName: "h2",
|
|
31
|
+
props: {
|
|
32
|
+
className: M.Title,
|
|
33
|
+
children: n
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
function fe({ title: e, text: t, titleRender: n, icon: r, className: i, ...a }) {
|
|
38
|
+
let o = r === void 0 ? /* @__PURE__ */ p(u, {}) : r;
|
|
39
|
+
return /* @__PURE__ */ m("div", {
|
|
40
|
+
...a,
|
|
41
|
+
className: [M.AlertBanner, i].filter(Boolean).join(" "),
|
|
42
|
+
children: [o != null && o !== !1 && /* @__PURE__ */ p("span", {
|
|
43
|
+
"aria-hidden": !0,
|
|
44
|
+
className: M.Icon,
|
|
45
|
+
children: o
|
|
46
|
+
}), /* @__PURE__ */ m("div", {
|
|
47
|
+
className: M.Content,
|
|
48
|
+
children: [e != null && /* @__PURE__ */ p(de, {
|
|
49
|
+
render: n,
|
|
50
|
+
children: e
|
|
51
|
+
}), t != null && /* @__PURE__ */ p(j, {
|
|
52
|
+
className: M.Text,
|
|
53
|
+
children: t
|
|
54
|
+
})]
|
|
55
|
+
})]
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region src/utils/merge-class-name.ts
|
|
60
|
+
var N = (e, t) => (n) => [e, typeof t == "function" ? t(n) : t].filter(Boolean).join(" "), P = {
|
|
9
61
|
BrandLetters: "_BrandLetters_1ygg1_9",
|
|
10
62
|
Letters: "_Letters_1ygg1_17",
|
|
11
63
|
Letter: "_Letter_1ygg1_17",
|
|
12
64
|
Video: "_Video_1ygg1_48"
|
|
13
|
-
},
|
|
65
|
+
}, pe = O({
|
|
14
66
|
play: {
|
|
15
67
|
no: "Spill av videoene",
|
|
16
68
|
se: "Spela upp videorna",
|
|
@@ -23,66 +75,66 @@ var A = (e, t) => (n) => [e, typeof t == "function" ? t(n) : t].filter(Boolean).
|
|
|
23
75
|
fi: "Keskeytä videot",
|
|
24
76
|
es: "Pausar los vídeos"
|
|
25
77
|
}
|
|
26
|
-
}),
|
|
78
|
+
}), me = "(prefers-reduced-motion: reduce)", he = [
|
|
27
79
|
"L",
|
|
28
80
|
"E",
|
|
29
81
|
"A"
|
|
30
82
|
];
|
|
31
|
-
function
|
|
32
|
-
let
|
|
33
|
-
for (let t of
|
|
34
|
-
},
|
|
83
|
+
function ge({ videos: t, render: n, ref: r, className: i, ...a }) {
|
|
84
|
+
let o = pe(), s = w([]), [u, d] = T(!1), h = (e) => {
|
|
85
|
+
for (let t of s.current) t && e(t);
|
|
86
|
+
}, g = (e) => {
|
|
35
87
|
e.muted = !0, e.play().catch(() => {});
|
|
36
88
|
};
|
|
37
|
-
|
|
38
|
-
let e = window.matchMedia(
|
|
39
|
-
e.matches ||
|
|
89
|
+
S(() => {
|
|
90
|
+
let e = window.matchMedia(me);
|
|
91
|
+
e.matches || h(g);
|
|
40
92
|
let t = (e) => {
|
|
41
|
-
e.matches &&
|
|
93
|
+
e.matches && h((e) => e.pause());
|
|
42
94
|
};
|
|
43
95
|
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
|
|
44
96
|
}, []);
|
|
45
|
-
let
|
|
46
|
-
|
|
97
|
+
let _ = () => d(s.current.some((e) => e != null && !e.paused)), v = () => {
|
|
98
|
+
h(u ? (e) => e.pause() : g);
|
|
47
99
|
};
|
|
48
100
|
return e({
|
|
49
101
|
render: n,
|
|
50
|
-
ref:
|
|
102
|
+
ref: r,
|
|
51
103
|
defaultTagName: "div",
|
|
52
104
|
props: {
|
|
53
|
-
...
|
|
54
|
-
className:
|
|
55
|
-
children: /* @__PURE__ */
|
|
56
|
-
className:
|
|
57
|
-
children:
|
|
58
|
-
className:
|
|
105
|
+
...a,
|
|
106
|
+
className: N(P.BrandLetters, i)({}),
|
|
107
|
+
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
|
|
108
|
+
className: P.Letters,
|
|
109
|
+
children: he.map((e, n) => /* @__PURE__ */ p("div", {
|
|
110
|
+
className: P.Letter,
|
|
59
111
|
"data-letter": e,
|
|
60
|
-
children: /* @__PURE__ */
|
|
112
|
+
children: /* @__PURE__ */ p("video", {
|
|
61
113
|
ref: (e) => {
|
|
62
|
-
|
|
114
|
+
s.current[n] = e;
|
|
63
115
|
},
|
|
64
|
-
className:
|
|
116
|
+
className: P.Video,
|
|
65
117
|
src: t[n].src,
|
|
66
118
|
poster: t[n].poster,
|
|
67
119
|
muted: !0,
|
|
68
120
|
loop: !0,
|
|
69
121
|
playsInline: !0,
|
|
70
122
|
"aria-hidden": !0,
|
|
71
|
-
onPlay:
|
|
72
|
-
onPause:
|
|
123
|
+
onPlay: _,
|
|
124
|
+
onPause: _
|
|
73
125
|
})
|
|
74
126
|
}, e))
|
|
75
|
-
}), /* @__PURE__ */
|
|
127
|
+
}), /* @__PURE__ */ p(D, {
|
|
76
128
|
variant: "elevated",
|
|
77
129
|
color: "secondary",
|
|
78
|
-
"aria-label": u ?
|
|
130
|
+
"aria-label": u ? o.pause : o.play,
|
|
79
131
|
onClick: v,
|
|
80
|
-
children:
|
|
132
|
+
children: p(u ? c : l, { "aria-hidden": !0 })
|
|
81
133
|
})] })
|
|
82
134
|
}
|
|
83
135
|
});
|
|
84
136
|
}
|
|
85
|
-
var
|
|
137
|
+
var F = {
|
|
86
138
|
Calculator: "_Calculator_1mamd_12",
|
|
87
139
|
Body: "_Body_1mamd_26",
|
|
88
140
|
Panel: "_Panel_1mamd_41",
|
|
@@ -96,38 +148,38 @@ var M = {
|
|
|
96
148
|
};
|
|
97
149
|
//#endregion
|
|
98
150
|
//#region src/website/calculator.tsx
|
|
99
|
-
function
|
|
151
|
+
function _e({ header: t, results: n, action: r, priceExample: i, render: a, ref: o, className: s, children: c, ...l }) {
|
|
100
152
|
return e({
|
|
101
153
|
render: a,
|
|
102
154
|
ref: o,
|
|
103
155
|
defaultTagName: "div",
|
|
104
156
|
props: {
|
|
105
157
|
...l,
|
|
106
|
-
className:
|
|
107
|
-
children: /* @__PURE__ */
|
|
108
|
-
className:
|
|
109
|
-
children: [/* @__PURE__ */
|
|
110
|
-
className:
|
|
158
|
+
className: N(F.Calculator, s)({}),
|
|
159
|
+
children: /* @__PURE__ */ m(f, { children: [t, /* @__PURE__ */ m("div", {
|
|
160
|
+
className: F.Body,
|
|
161
|
+
children: [/* @__PURE__ */ p("div", {
|
|
162
|
+
className: F.Panel,
|
|
111
163
|
children: c
|
|
112
|
-
}), /* @__PURE__ */
|
|
113
|
-
className:
|
|
114
|
-
children: [n.length > 0 && /* @__PURE__ */
|
|
115
|
-
className:
|
|
164
|
+
}), /* @__PURE__ */ m("div", {
|
|
165
|
+
className: F.Summary,
|
|
166
|
+
children: [n.length > 0 && /* @__PURE__ */ p("dl", {
|
|
167
|
+
className: F.Results,
|
|
116
168
|
"aria-live": "polite",
|
|
117
|
-
children: n.map((e, t) => /* @__PURE__ */
|
|
118
|
-
className:
|
|
119
|
-
children: [/* @__PURE__ */
|
|
120
|
-
className:
|
|
169
|
+
children: n.map((e, t) => /* @__PURE__ */ m("div", {
|
|
170
|
+
className: F.Result,
|
|
171
|
+
children: [/* @__PURE__ */ p("dt", {
|
|
172
|
+
className: F.Label,
|
|
121
173
|
children: e.label
|
|
122
|
-
}), /* @__PURE__ */
|
|
123
|
-
className:
|
|
174
|
+
}), /* @__PURE__ */ p("dd", {
|
|
175
|
+
className: F.Value,
|
|
124
176
|
children: e.value
|
|
125
177
|
})]
|
|
126
178
|
}, t))
|
|
127
|
-
}), (r != null || i != null) && /* @__PURE__ */
|
|
128
|
-
className:
|
|
129
|
-
children: [r, i != null && /* @__PURE__ */
|
|
130
|
-
className:
|
|
179
|
+
}), (r != null || i != null) && /* @__PURE__ */ m("div", {
|
|
180
|
+
className: F.Actions,
|
|
181
|
+
children: [r, i != null && /* @__PURE__ */ p("p", {
|
|
182
|
+
className: F.Price,
|
|
131
183
|
children: i
|
|
132
184
|
})]
|
|
133
185
|
})]
|
|
@@ -136,16 +188,16 @@ function ae({ header: t, results: n, action: r, priceExample: i, render: a, ref:
|
|
|
136
188
|
}
|
|
137
189
|
});
|
|
138
190
|
}
|
|
139
|
-
var
|
|
191
|
+
var I = {
|
|
140
192
|
Carousel: "_Carousel_17a24_14",
|
|
141
193
|
Viewport: "_Viewport_17a24_31",
|
|
142
194
|
Track: "_Track_17a24_66",
|
|
143
195
|
Slide: "_Slide_17a24_94",
|
|
144
196
|
Controls: "_Controls_17a24_100",
|
|
145
197
|
VisuallyHidden: "_VisuallyHidden_17a24_109"
|
|
146
|
-
},
|
|
147
|
-
function
|
|
148
|
-
let n =
|
|
198
|
+
}, ve = "(prefers-reduced-motion: reduce)", ye = 150;
|
|
199
|
+
function be(e, t) {
|
|
200
|
+
let n = w([0]), r = w(void 0), [i, a] = T(() => ({
|
|
149
201
|
pageCount: Math.max(1, t - 1),
|
|
150
202
|
page: 0,
|
|
151
203
|
settledPage: 0,
|
|
@@ -153,7 +205,7 @@ function ce(e, t) {
|
|
|
153
205
|
atEnd: t <= 2,
|
|
154
206
|
overflowing: t > 2,
|
|
155
207
|
moved: !1
|
|
156
|
-
})), o =
|
|
208
|
+
})), o = b((t, r = !1) => {
|
|
157
209
|
let i = e.current;
|
|
158
210
|
if (!i) return;
|
|
159
211
|
let o = i.scrollLeft, s = Math.max(0, i.scrollWidth - i.clientWidth), c = n.current, l = 0;
|
|
@@ -170,7 +222,7 @@ function ce(e, t) {
|
|
|
170
222
|
};
|
|
171
223
|
return Object.keys(n).every((t) => n[t] === e[t]) ? e : n;
|
|
172
224
|
});
|
|
173
|
-
}, [e]), s =
|
|
225
|
+
}, [e]), s = b(() => {
|
|
174
226
|
let t = e.current;
|
|
175
227
|
if (!t) return;
|
|
176
228
|
let r = Math.max(0, t.scrollWidth - t.clientWidth), i = Array.from(t.children), a = i[0]?.offsetLeft ?? 0, s = [];
|
|
@@ -180,12 +232,12 @@ function ce(e, t) {
|
|
|
180
232
|
}
|
|
181
233
|
n.current = s.length > 0 ? s : [0], o(!0);
|
|
182
234
|
}, [o, e]);
|
|
183
|
-
|
|
235
|
+
S(() => {
|
|
184
236
|
let t = e.current;
|
|
185
237
|
if (!t) return;
|
|
186
238
|
s();
|
|
187
239
|
let n = () => {
|
|
188
|
-
o(!1, !0), clearTimeout(r.current), r.current = setTimeout(() => o(!0),
|
|
240
|
+
o(!1, !0), clearTimeout(r.current), r.current = setTimeout(() => o(!0), ye);
|
|
189
241
|
}, i = new ResizeObserver(s);
|
|
190
242
|
return t.addEventListener("scroll", n, { passive: !0 }), i.observe(t), () => {
|
|
191
243
|
t.removeEventListener("scroll", n), i.disconnect(), clearTimeout(r.current);
|
|
@@ -196,10 +248,10 @@ function ce(e, t) {
|
|
|
196
248
|
t,
|
|
197
249
|
e
|
|
198
250
|
]);
|
|
199
|
-
let c =
|
|
251
|
+
let c = b((t) => {
|
|
200
252
|
let r = e.current;
|
|
201
253
|
if (!r) return;
|
|
202
|
-
let i = n.current, a = Math.min(i.length - 1, Math.max(0, t)), o = !window.matchMedia(
|
|
254
|
+
let i = n.current, a = Math.min(i.length - 1, Math.max(0, t)), o = !window.matchMedia(ve).matches;
|
|
203
255
|
r.scrollTo({
|
|
204
256
|
left: i[a],
|
|
205
257
|
behavior: o ? "smooth" : "auto"
|
|
@@ -212,7 +264,7 @@ function ce(e, t) {
|
|
|
212
264
|
}
|
|
213
265
|
//#endregion
|
|
214
266
|
//#region src/website/use-carousel-labels.ts
|
|
215
|
-
var
|
|
267
|
+
var xe = O({
|
|
216
268
|
carousel: {
|
|
217
269
|
no: "karusell",
|
|
218
270
|
se: "karusell",
|
|
@@ -240,68 +292,68 @@ var le = E({
|
|
|
240
292
|
});
|
|
241
293
|
//#endregion
|
|
242
294
|
//#region src/website/carousel.tsx
|
|
243
|
-
function
|
|
244
|
-
let
|
|
295
|
+
function Se({ getItemLabel: t, render: n, ref: r, className: o, children: s, ...c }) {
|
|
296
|
+
let l = xe(), u = w(null), d = h.toArray(s), { pageCount: g, page: _, settledPage: v, atStart: y, atEnd: b, overflowing: x, moved: S, goTo: C } = be(u, d.length);
|
|
245
297
|
return e({
|
|
246
|
-
render:
|
|
247
|
-
ref:
|
|
298
|
+
render: n,
|
|
299
|
+
ref: r,
|
|
248
300
|
defaultTagName: "div",
|
|
249
301
|
props: {
|
|
250
302
|
role: "region",
|
|
251
|
-
"aria-roledescription":
|
|
252
|
-
...
|
|
253
|
-
className:
|
|
254
|
-
children: /* @__PURE__ */
|
|
255
|
-
className:
|
|
256
|
-
"data-at-start":
|
|
257
|
-
"data-at-end":
|
|
258
|
-
children: /* @__PURE__ */
|
|
259
|
-
ref:
|
|
260
|
-
className:
|
|
261
|
-
tabIndex:
|
|
262
|
-
children:
|
|
263
|
-
className:
|
|
303
|
+
"aria-roledescription": l.carousel,
|
|
304
|
+
...c,
|
|
305
|
+
className: N(I.Carousel, o)({}),
|
|
306
|
+
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
|
|
307
|
+
className: I.Viewport,
|
|
308
|
+
"data-at-start": y || void 0,
|
|
309
|
+
"data-at-end": b || void 0,
|
|
310
|
+
children: /* @__PURE__ */ p("ul", {
|
|
311
|
+
ref: u,
|
|
312
|
+
className: I.Track,
|
|
313
|
+
tabIndex: x ? 0 : void 0,
|
|
314
|
+
children: d.map((e, t) => /* @__PURE__ */ p("li", {
|
|
315
|
+
className: I.Slide,
|
|
264
316
|
children: e
|
|
265
317
|
}, t))
|
|
266
318
|
})
|
|
267
|
-
}),
|
|
268
|
-
className:
|
|
319
|
+
}), g > 1 && /* @__PURE__ */ m("div", {
|
|
320
|
+
className: I.Controls,
|
|
269
321
|
children: [
|
|
270
|
-
/* @__PURE__ */
|
|
322
|
+
/* @__PURE__ */ p(D, {
|
|
271
323
|
variant: "elevated",
|
|
272
324
|
color: "secondary",
|
|
273
|
-
"aria-label":
|
|
274
|
-
disabled:
|
|
325
|
+
"aria-label": l.previous,
|
|
326
|
+
disabled: _ === 0,
|
|
275
327
|
focusableWhenDisabled: !0,
|
|
276
|
-
onClick: () =>
|
|
277
|
-
children: /* @__PURE__ */
|
|
328
|
+
onClick: () => C(_ - 1),
|
|
329
|
+
children: /* @__PURE__ */ p(i, { "aria-hidden": !0 })
|
|
278
330
|
}),
|
|
279
|
-
/* @__PURE__ */
|
|
280
|
-
count:
|
|
281
|
-
value:
|
|
282
|
-
onValueChange: (e) =>
|
|
283
|
-
getItemLabel:
|
|
331
|
+
/* @__PURE__ */ p(ae, {
|
|
332
|
+
count: g,
|
|
333
|
+
value: _ + 1,
|
|
334
|
+
onValueChange: (e) => C(e - 1),
|
|
335
|
+
getItemLabel: t
|
|
284
336
|
}),
|
|
285
|
-
/* @__PURE__ */
|
|
337
|
+
/* @__PURE__ */ p(D, {
|
|
286
338
|
variant: "elevated",
|
|
287
339
|
color: "secondary",
|
|
288
|
-
"aria-label":
|
|
289
|
-
disabled:
|
|
340
|
+
"aria-label": l.next,
|
|
341
|
+
disabled: _ === g - 1,
|
|
290
342
|
focusableWhenDisabled: !0,
|
|
291
|
-
onClick: () =>
|
|
292
|
-
children: /* @__PURE__ */
|
|
343
|
+
onClick: () => C(_ + 1),
|
|
344
|
+
children: /* @__PURE__ */ p(a, { "aria-hidden": !0 })
|
|
293
345
|
}),
|
|
294
|
-
/* @__PURE__ */
|
|
346
|
+
/* @__PURE__ */ p("span", {
|
|
295
347
|
role: "status",
|
|
296
|
-
className:
|
|
297
|
-
children:
|
|
348
|
+
className: I.VisuallyHidden,
|
|
349
|
+
children: S && l.status.replace("{page}", String(v + 1)).replace("{count}", String(g))
|
|
298
350
|
})
|
|
299
351
|
]
|
|
300
352
|
})] })
|
|
301
353
|
}
|
|
302
354
|
});
|
|
303
355
|
}
|
|
304
|
-
var
|
|
356
|
+
var L = {
|
|
305
357
|
CtaBanner: "_CtaBanner_vkp5c_7",
|
|
306
358
|
Title: "_Title_vkp5c_15",
|
|
307
359
|
Content: "_Content_vkp5c_24",
|
|
@@ -310,22 +362,13 @@ var F = {
|
|
|
310
362
|
Price: "_Price_vkp5c_53"
|
|
311
363
|
};
|
|
312
364
|
//#endregion
|
|
313
|
-
//#region src/website/paragraphs.tsx
|
|
314
|
-
function I({ className: e, id: t, children: n }) {
|
|
315
|
-
return O(typeof n == "string" || typeof n == "number" ? "p" : "div", {
|
|
316
|
-
className: e,
|
|
317
|
-
id: t,
|
|
318
|
-
children: n
|
|
319
|
-
});
|
|
320
|
-
}
|
|
321
|
-
//#endregion
|
|
322
365
|
//#region src/website/cta-banner.tsx
|
|
323
|
-
function
|
|
366
|
+
function Ce({ title: t, titleRender: n, text: r, action: i, priceExample: a, render: o, ref: s, className: c, ...l }) {
|
|
324
367
|
let u = e({
|
|
325
368
|
render: n,
|
|
326
369
|
defaultTagName: "h2",
|
|
327
370
|
props: {
|
|
328
|
-
className:
|
|
371
|
+
className: L.Title,
|
|
329
372
|
children: t
|
|
330
373
|
}
|
|
331
374
|
}), d = r != null || i != null || a != null;
|
|
@@ -336,20 +379,20 @@ function ue({ title: t, titleRender: n, text: r, action: i, priceExample: a, ren
|
|
|
336
379
|
props: {
|
|
337
380
|
...l,
|
|
338
381
|
"data-has-content": d || void 0,
|
|
339
|
-
className:
|
|
340
|
-
children: /* @__PURE__ */
|
|
341
|
-
className:
|
|
382
|
+
className: N(L.CtaBanner, c)({}),
|
|
383
|
+
children: /* @__PURE__ */ m(f, { children: [u, d && /* @__PURE__ */ m("div", {
|
|
384
|
+
className: L.Content,
|
|
342
385
|
children: [
|
|
343
|
-
r != null && /* @__PURE__ */
|
|
344
|
-
className:
|
|
386
|
+
r != null && /* @__PURE__ */ p(j, {
|
|
387
|
+
className: L.Text,
|
|
345
388
|
children: r
|
|
346
389
|
}),
|
|
347
|
-
i != null && /* @__PURE__ */
|
|
348
|
-
className:
|
|
390
|
+
i != null && /* @__PURE__ */ p("div", {
|
|
391
|
+
className: L.Action,
|
|
349
392
|
children: i
|
|
350
393
|
}),
|
|
351
|
-
a != null && /* @__PURE__ */
|
|
352
|
-
className:
|
|
394
|
+
a != null && /* @__PURE__ */ p("p", {
|
|
395
|
+
className: L.Price,
|
|
353
396
|
children: a
|
|
354
397
|
})
|
|
355
398
|
]
|
|
@@ -359,33 +402,33 @@ function ue({ title: t, titleRender: n, text: r, action: i, priceExample: a, ren
|
|
|
359
402
|
}
|
|
360
403
|
//#endregion
|
|
361
404
|
//#region src/website/expanding-cards-context.ts
|
|
362
|
-
var
|
|
405
|
+
var we = v({ open: !0 }), Te = {
|
|
363
406
|
ExpandingCards: "_ExpandingCards_14pq8_19",
|
|
364
407
|
List: "_List_14pq8_23",
|
|
365
408
|
Item: "_Item_14pq8_32"
|
|
366
|
-
},
|
|
367
|
-
let t = window.matchMedia(
|
|
409
|
+
}, Ee = "(min-width: 1312px)", De = { open: !0 }, Oe = { open: !1 }, ke = (e) => {
|
|
410
|
+
let t = window.matchMedia(Ee);
|
|
368
411
|
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
|
|
369
|
-
},
|
|
370
|
-
function
|
|
371
|
-
let
|
|
412
|
+
}, Ae = () => te(ke, () => window.matchMedia(Ee).matches, () => !0);
|
|
413
|
+
function je({ defaultOpen: t = "first", render: n, ref: r, className: i, children: a, ...o }) {
|
|
414
|
+
let s = h.toArray(a), c = Ae(), [l, u] = T(() => t === "last" ? Math.max(0, s.length - 1) : 0);
|
|
372
415
|
return e({
|
|
373
416
|
render: n,
|
|
374
417
|
ref: r,
|
|
375
418
|
defaultTagName: "div",
|
|
376
419
|
props: {
|
|
377
|
-
...
|
|
378
|
-
className:
|
|
379
|
-
children: /* @__PURE__ */
|
|
380
|
-
className:
|
|
381
|
-
style: { "--expanding-cards-count":
|
|
382
|
-
children:
|
|
383
|
-
className:
|
|
384
|
-
"data-open": t ===
|
|
385
|
-
onPointerEnter: () =>
|
|
386
|
-
onFocus: () =>
|
|
387
|
-
children: /* @__PURE__ */
|
|
388
|
-
value: !
|
|
420
|
+
...o,
|
|
421
|
+
className: N(Te.ExpandingCards, i)({}),
|
|
422
|
+
children: /* @__PURE__ */ p("ul", {
|
|
423
|
+
className: Te.List,
|
|
424
|
+
style: { "--expanding-cards-count": s.length },
|
|
425
|
+
children: s.map((e, t) => /* @__PURE__ */ p("li", {
|
|
426
|
+
className: Te.Item,
|
|
427
|
+
"data-open": t === l || void 0,
|
|
428
|
+
onPointerEnter: () => u(t),
|
|
429
|
+
onFocus: () => u(t),
|
|
430
|
+
children: /* @__PURE__ */ p(we.Provider, {
|
|
431
|
+
value: !c || t === l ? De : Oe,
|
|
389
432
|
children: e
|
|
390
433
|
})
|
|
391
434
|
}, t))
|
|
@@ -393,7 +436,7 @@ function he({ defaultOpen: t = "first", render: n, ref: r, className: i, childre
|
|
|
393
436
|
}
|
|
394
437
|
});
|
|
395
438
|
}
|
|
396
|
-
var
|
|
439
|
+
var R = {
|
|
397
440
|
ExpandingCardsItem: "_ExpandingCardsItem_1v7ai_17",
|
|
398
441
|
Content: "_Content_1v7ai_53",
|
|
399
442
|
Title: "_Title_1v7ai_70",
|
|
@@ -404,55 +447,55 @@ var B = {
|
|
|
404
447
|
};
|
|
405
448
|
//#endregion
|
|
406
449
|
//#region src/website/expanding-cards-item.tsx
|
|
407
|
-
function
|
|
408
|
-
let { open: g } =
|
|
450
|
+
function Me({ title: t, titleRender: n, text: r, action: i, src: a, alt: o, imageRender: s, surface: c = "base", render: l, ref: u, className: d, ...h }) {
|
|
451
|
+
let { open: g } = x(we), v = e({
|
|
409
452
|
render: n,
|
|
410
453
|
defaultTagName: "h2",
|
|
411
454
|
props: {
|
|
412
|
-
className:
|
|
455
|
+
className: R.Title,
|
|
413
456
|
children: t
|
|
414
457
|
}
|
|
415
|
-
}),
|
|
458
|
+
}), b = e({
|
|
416
459
|
enabled: a != null,
|
|
417
460
|
render: s,
|
|
418
461
|
defaultTagName: "img",
|
|
419
462
|
props: {
|
|
420
463
|
src: a,
|
|
421
464
|
alt: o,
|
|
422
|
-
className:
|
|
465
|
+
className: R.Image
|
|
423
466
|
}
|
|
424
|
-
}),
|
|
467
|
+
}), S = y(i) && i.type === ne ? _(i, { iconOnly: !g }) : i;
|
|
425
468
|
return e({
|
|
426
|
-
render:
|
|
427
|
-
ref:
|
|
469
|
+
render: l,
|
|
470
|
+
ref: u,
|
|
428
471
|
defaultTagName: "div",
|
|
429
472
|
props: {
|
|
430
473
|
...h,
|
|
431
|
-
"data-surface":
|
|
474
|
+
"data-surface": c,
|
|
432
475
|
"data-open": g || void 0,
|
|
433
476
|
"data-image": a != null || void 0,
|
|
434
|
-
className:
|
|
435
|
-
children: /* @__PURE__ */
|
|
436
|
-
className:
|
|
477
|
+
className: N(R.ExpandingCardsItem, d)({}),
|
|
478
|
+
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
|
|
479
|
+
className: R.Content,
|
|
437
480
|
children: [
|
|
438
|
-
|
|
439
|
-
r != null && /* @__PURE__ */
|
|
440
|
-
className:
|
|
481
|
+
v,
|
|
482
|
+
r != null && /* @__PURE__ */ p(j, {
|
|
483
|
+
className: R.Text,
|
|
441
484
|
children: r
|
|
442
485
|
}),
|
|
443
|
-
i != null && /* @__PURE__ */
|
|
444
|
-
className:
|
|
445
|
-
children:
|
|
486
|
+
i != null && /* @__PURE__ */ p("div", {
|
|
487
|
+
className: R.Action,
|
|
488
|
+
children: S
|
|
446
489
|
})
|
|
447
490
|
]
|
|
448
|
-
}),
|
|
449
|
-
className:
|
|
450
|
-
children:
|
|
491
|
+
}), b != null && /* @__PURE__ */ p("div", {
|
|
492
|
+
className: R.Photo,
|
|
493
|
+
children: b
|
|
451
494
|
})] })
|
|
452
495
|
}
|
|
453
496
|
});
|
|
454
497
|
}
|
|
455
|
-
var
|
|
498
|
+
var z = {
|
|
456
499
|
Hero: "_Hero_1ik22_8",
|
|
457
500
|
Background: "_Background_1ik22_24",
|
|
458
501
|
Image: "_Image_1ik22_30",
|
|
@@ -465,21 +508,21 @@ var V = {
|
|
|
465
508
|
};
|
|
466
509
|
//#endregion
|
|
467
510
|
//#region src/website/hero.tsx
|
|
468
|
-
function
|
|
469
|
-
let
|
|
511
|
+
function Ne({ src: t, alt: n, imageRender: r, title: i, titleRender: a, text: o, action: s, priceExample: c, render: l, ref: u, className: d, ...h }) {
|
|
512
|
+
let g = e({
|
|
470
513
|
render: a,
|
|
471
514
|
defaultTagName: "h1",
|
|
472
515
|
props: {
|
|
473
|
-
className:
|
|
516
|
+
className: z.Title,
|
|
474
517
|
children: i
|
|
475
518
|
}
|
|
476
|
-
}),
|
|
519
|
+
}), _ = e({
|
|
477
520
|
render: r,
|
|
478
521
|
defaultTagName: "img",
|
|
479
522
|
props: {
|
|
480
523
|
src: t,
|
|
481
524
|
alt: n,
|
|
482
|
-
className:
|
|
525
|
+
className: z.Image
|
|
483
526
|
}
|
|
484
527
|
});
|
|
485
528
|
return e({
|
|
@@ -487,36 +530,36 @@ function _e({ src: t, alt: n, imageRender: r, title: i, titleRender: a, text: o,
|
|
|
487
530
|
ref: u,
|
|
488
531
|
defaultTagName: "section",
|
|
489
532
|
props: {
|
|
490
|
-
...
|
|
491
|
-
className:
|
|
492
|
-
children: /* @__PURE__ */
|
|
493
|
-
className:
|
|
494
|
-
children: /* @__PURE__ */
|
|
495
|
-
className:
|
|
533
|
+
...h,
|
|
534
|
+
className: N(z.Hero, d)({}),
|
|
535
|
+
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
|
|
536
|
+
className: z.Container,
|
|
537
|
+
children: /* @__PURE__ */ m(oe, {
|
|
538
|
+
className: z.Box,
|
|
496
539
|
children: [
|
|
497
|
-
|
|
498
|
-
o != null && /* @__PURE__ */
|
|
499
|
-
className:
|
|
540
|
+
g,
|
|
541
|
+
o != null && /* @__PURE__ */ p(j, {
|
|
542
|
+
className: z.Text,
|
|
500
543
|
children: o
|
|
501
544
|
}),
|
|
502
|
-
s != null && /* @__PURE__ */
|
|
503
|
-
className:
|
|
545
|
+
s != null && /* @__PURE__ */ p("div", {
|
|
546
|
+
className: z.Action,
|
|
504
547
|
children: s
|
|
505
548
|
}),
|
|
506
|
-
c != null && /* @__PURE__ */
|
|
507
|
-
className:
|
|
549
|
+
c != null && /* @__PURE__ */ p("p", {
|
|
550
|
+
className: z.Price,
|
|
508
551
|
children: c
|
|
509
552
|
})
|
|
510
553
|
]
|
|
511
554
|
})
|
|
512
|
-
}), /* @__PURE__ */
|
|
513
|
-
className:
|
|
514
|
-
children:
|
|
555
|
+
}), /* @__PURE__ */ p("div", {
|
|
556
|
+
className: z.Background,
|
|
557
|
+
children: _
|
|
515
558
|
})] })
|
|
516
559
|
}
|
|
517
560
|
});
|
|
518
561
|
}
|
|
519
|
-
var
|
|
562
|
+
var B = {
|
|
520
563
|
HeroServiceGrid: "_HeroServiceGrid_yr3eo_8",
|
|
521
564
|
Cards: "_Cards_yr3eo_15",
|
|
522
565
|
Item: "_Item_yr3eo_26",
|
|
@@ -524,33 +567,33 @@ var H = {
|
|
|
524
567
|
};
|
|
525
568
|
//#endregion
|
|
526
569
|
//#region src/website/hero-service-grid.tsx
|
|
527
|
-
function
|
|
528
|
-
let
|
|
570
|
+
function Pe({ src: t, alt: n, imageRender: r, action: i, imagePosition: a = "start", render: o, ref: s, className: c, children: l, ...u }) {
|
|
571
|
+
let d = h.toArray(l);
|
|
529
572
|
return e({
|
|
530
|
-
render:
|
|
531
|
-
ref:
|
|
573
|
+
render: o,
|
|
574
|
+
ref: s,
|
|
532
575
|
defaultTagName: "div",
|
|
533
576
|
props: {
|
|
534
|
-
...
|
|
577
|
+
...u,
|
|
535
578
|
"data-image-position": a,
|
|
536
|
-
className:
|
|
537
|
-
children: /* @__PURE__ */
|
|
538
|
-
className:
|
|
579
|
+
className: N(B.HeroServiceGrid, c)({}),
|
|
580
|
+
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(ie, {
|
|
581
|
+
className: B.Featured,
|
|
539
582
|
src: t,
|
|
540
583
|
alt: n,
|
|
541
584
|
imageRender: r,
|
|
542
585
|
action: i
|
|
543
|
-
}),
|
|
544
|
-
className:
|
|
545
|
-
children:
|
|
546
|
-
className:
|
|
586
|
+
}), d.length > 0 && /* @__PURE__ */ p("ul", {
|
|
587
|
+
className: B.Cards,
|
|
588
|
+
children: d.map((e, t) => /* @__PURE__ */ p("li", {
|
|
589
|
+
className: B.Item,
|
|
547
590
|
children: e
|
|
548
591
|
}, t))
|
|
549
592
|
})] })
|
|
550
593
|
}
|
|
551
594
|
});
|
|
552
595
|
}
|
|
553
|
-
var
|
|
596
|
+
var V = {
|
|
554
597
|
NavigationGrid: "_NavigationGrid_ocatr_9",
|
|
555
598
|
Title: "_Title_ocatr_16",
|
|
556
599
|
List: "_List_ocatr_25",
|
|
@@ -558,13 +601,13 @@ var U = {
|
|
|
558
601
|
};
|
|
559
602
|
//#endregion
|
|
560
603
|
//#region src/website/navigation-grid.tsx
|
|
561
|
-
function
|
|
562
|
-
let
|
|
604
|
+
function Fe({ title: t, titleRender: n, render: r, ref: i, className: a, children: o, ...s }) {
|
|
605
|
+
let c = h.toArray(o), l = c.length >= 3 && c.length % 2 == 1, u = e({
|
|
563
606
|
enabled: t != null,
|
|
564
607
|
render: n,
|
|
565
608
|
defaultTagName: "h2",
|
|
566
609
|
props: {
|
|
567
|
-
className:
|
|
610
|
+
className: V.Title,
|
|
568
611
|
children: t
|
|
569
612
|
}
|
|
570
613
|
});
|
|
@@ -573,25 +616,25 @@ function ye({ title: t, titleRender: n, render: r, ref: i, className: a, childre
|
|
|
573
616
|
ref: i,
|
|
574
617
|
defaultTagName: "div",
|
|
575
618
|
props: {
|
|
576
|
-
...
|
|
577
|
-
className:
|
|
578
|
-
children: /* @__PURE__ */
|
|
579
|
-
className:
|
|
580
|
-
"data-odd":
|
|
581
|
-
children:
|
|
582
|
-
className:
|
|
619
|
+
...s,
|
|
620
|
+
className: N(V.NavigationGrid, a)({}),
|
|
621
|
+
children: /* @__PURE__ */ m(f, { children: [u, /* @__PURE__ */ p("ul", {
|
|
622
|
+
className: V.List,
|
|
623
|
+
"data-odd": l || void 0,
|
|
624
|
+
children: c.map((e, t) => /* @__PURE__ */ p("li", {
|
|
625
|
+
className: V.Item,
|
|
583
626
|
children: e
|
|
584
627
|
}, t))
|
|
585
628
|
})] })
|
|
586
629
|
}
|
|
587
630
|
});
|
|
588
631
|
}
|
|
589
|
-
var
|
|
632
|
+
var H = {
|
|
590
633
|
PartnerList: "_PartnerList_9o9wx_7",
|
|
591
634
|
List: "_List_9o9wx_11",
|
|
592
635
|
Controls: "_Controls_9o9wx_19",
|
|
593
636
|
VisuallyHidden: "_VisuallyHidden_9o9wx_29"
|
|
594
|
-
},
|
|
637
|
+
}, Ie = O({
|
|
595
638
|
previous: {
|
|
596
639
|
no: "Forrige side",
|
|
597
640
|
se: "Föregående sida",
|
|
@@ -619,66 +662,66 @@ var W = {
|
|
|
619
662
|
});
|
|
620
663
|
//#endregion
|
|
621
664
|
//#region src/website/partner-list.tsx
|
|
622
|
-
function
|
|
623
|
-
let
|
|
624
|
-
let e = new Intl.Collator(
|
|
625
|
-
return [...
|
|
626
|
-
}, [
|
|
627
|
-
let t = Math.min(
|
|
628
|
-
|
|
665
|
+
function Le({ items: t, pageSize: n = 9, value: r, defaultValue: o = 1, onValueChange: s, render: c, ref: l, className: u, ...d }) {
|
|
666
|
+
let h = Ie(), [g, _] = T(o), v = ee(() => {
|
|
667
|
+
let e = new Intl.Collator(h.collation, { sensitivity: "base" });
|
|
668
|
+
return [...t].sort((t, n) => e.compare(t.name, n.name));
|
|
669
|
+
}, [t, h.collation]), y = Math.max(1, Math.floor(n)), b = Math.max(1, Math.ceil(v.length / y)), x = Math.min(b, Math.max(1, r ?? g)), S = (x - 1) * y, C = (e) => {
|
|
670
|
+
let t = Math.min(b, Math.max(1, e));
|
|
671
|
+
r === void 0 && _(t), t !== x && s?.(t);
|
|
629
672
|
};
|
|
630
673
|
return e({
|
|
631
|
-
enabled:
|
|
674
|
+
enabled: v.length > 0,
|
|
632
675
|
render: c,
|
|
633
676
|
ref: l,
|
|
634
677
|
defaultTagName: "div",
|
|
635
678
|
props: {
|
|
636
679
|
...d,
|
|
637
|
-
className:
|
|
638
|
-
children: /* @__PURE__ */
|
|
639
|
-
className:
|
|
640
|
-
children:
|
|
680
|
+
className: N(H.PartnerList, u)({}),
|
|
681
|
+
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("ul", {
|
|
682
|
+
className: H.List,
|
|
683
|
+
children: v.slice(S, S + y).map(({ name: e, content: t, ...n }, r) => /* @__PURE__ */ p(se, {
|
|
641
684
|
...n,
|
|
642
|
-
render: /* @__PURE__ */
|
|
685
|
+
render: /* @__PURE__ */ p("li", {}),
|
|
643
686
|
children: t
|
|
644
|
-
}, `${
|
|
645
|
-
}),
|
|
646
|
-
className:
|
|
687
|
+
}, `${S + r}-${e}`))
|
|
688
|
+
}), b > 1 && /* @__PURE__ */ m("div", {
|
|
689
|
+
className: H.Controls,
|
|
647
690
|
children: [
|
|
648
|
-
/* @__PURE__ */
|
|
691
|
+
/* @__PURE__ */ p(D, {
|
|
649
692
|
variant: "elevated",
|
|
650
693
|
color: "secondary",
|
|
651
|
-
"aria-label":
|
|
652
|
-
disabled:
|
|
694
|
+
"aria-label": h.previous,
|
|
695
|
+
disabled: x === 1,
|
|
653
696
|
focusableWhenDisabled: !0,
|
|
654
|
-
onClick: () =>
|
|
655
|
-
children: /* @__PURE__ */
|
|
697
|
+
onClick: () => C(x - 1),
|
|
698
|
+
children: /* @__PURE__ */ p(i, { "aria-hidden": !0 })
|
|
656
699
|
}),
|
|
657
|
-
/* @__PURE__ */
|
|
658
|
-
count:
|
|
659
|
-
value:
|
|
660
|
-
onValueChange:
|
|
700
|
+
/* @__PURE__ */ p(ae, {
|
|
701
|
+
count: b,
|
|
702
|
+
value: x,
|
|
703
|
+
onValueChange: C
|
|
661
704
|
}),
|
|
662
|
-
/* @__PURE__ */
|
|
705
|
+
/* @__PURE__ */ p(D, {
|
|
663
706
|
variant: "elevated",
|
|
664
707
|
color: "secondary",
|
|
665
|
-
"aria-label":
|
|
666
|
-
disabled:
|
|
708
|
+
"aria-label": h.next,
|
|
709
|
+
disabled: x === b,
|
|
667
710
|
focusableWhenDisabled: !0,
|
|
668
|
-
onClick: () =>
|
|
669
|
-
children: /* @__PURE__ */
|
|
711
|
+
onClick: () => C(x + 1),
|
|
712
|
+
children: /* @__PURE__ */ p(a, { "aria-hidden": !0 })
|
|
670
713
|
}),
|
|
671
|
-
/* @__PURE__ */
|
|
714
|
+
/* @__PURE__ */ p("span", {
|
|
672
715
|
role: "status",
|
|
673
|
-
className:
|
|
674
|
-
children:
|
|
716
|
+
className: H.VisuallyHidden,
|
|
717
|
+
children: h.status.replace("{page}", String(x)).replace("{count}", String(b))
|
|
675
718
|
})
|
|
676
719
|
]
|
|
677
720
|
})] })
|
|
678
721
|
}
|
|
679
722
|
});
|
|
680
723
|
}
|
|
681
|
-
var
|
|
724
|
+
var U = {
|
|
682
725
|
Grid: "_Grid_1vukg_10",
|
|
683
726
|
Content: "_Content_1vukg_17",
|
|
684
727
|
Logos: "_Logos_1vukg_28",
|
|
@@ -695,77 +738,77 @@ var G = {
|
|
|
695
738
|
};
|
|
696
739
|
//#endregion
|
|
697
740
|
//#region src/website/payment-feature.tsx
|
|
698
|
-
function
|
|
699
|
-
let
|
|
741
|
+
function Re({ logos: t, title: n, titleRender: r, text: i, actions: a, priceExample: o, src: s, alt: c, imageRender: l, imagePosition: u = "end", className: d, ...f }) {
|
|
742
|
+
let h = e({
|
|
700
743
|
render: r,
|
|
701
744
|
defaultTagName: "h2",
|
|
702
745
|
props: {
|
|
703
|
-
className:
|
|
746
|
+
className: U.Title,
|
|
704
747
|
children: n
|
|
705
748
|
}
|
|
706
|
-
}),
|
|
749
|
+
}), g = e({
|
|
707
750
|
enabled: s != null,
|
|
708
751
|
render: l,
|
|
709
752
|
defaultTagName: "img",
|
|
710
753
|
props: {
|
|
711
754
|
src: s,
|
|
712
755
|
alt: c,
|
|
713
|
-
className:
|
|
756
|
+
className: U.Image
|
|
714
757
|
}
|
|
715
758
|
});
|
|
716
|
-
return /* @__PURE__ */
|
|
759
|
+
return /* @__PURE__ */ p(oe, {
|
|
717
760
|
...f,
|
|
718
|
-
className: [
|
|
761
|
+
className: [U.PaymentFeature, d].filter(Boolean).join(" "),
|
|
719
762
|
"data-image-position": u,
|
|
720
|
-
"data-has-image":
|
|
721
|
-
children: /* @__PURE__ */
|
|
722
|
-
className:
|
|
723
|
-
children: [/* @__PURE__ */
|
|
724
|
-
className:
|
|
763
|
+
"data-has-image": g != null || void 0,
|
|
764
|
+
children: /* @__PURE__ */ m("div", {
|
|
765
|
+
className: U.Grid,
|
|
766
|
+
children: [/* @__PURE__ */ m("div", {
|
|
767
|
+
className: U.Content,
|
|
725
768
|
children: [
|
|
726
|
-
t != null && t.length > 0 && /* @__PURE__ */
|
|
727
|
-
className:
|
|
728
|
-
children: t.map((e, t) => /* @__PURE__ */
|
|
769
|
+
t != null && t.length > 0 && /* @__PURE__ */ p("ul", {
|
|
770
|
+
className: U.Logos,
|
|
771
|
+
children: t.map((e, t) => /* @__PURE__ */ p(ze, { ...e }, t))
|
|
729
772
|
}),
|
|
730
|
-
/* @__PURE__ */
|
|
731
|
-
className:
|
|
732
|
-
children: [
|
|
733
|
-
className:
|
|
773
|
+
/* @__PURE__ */ m("div", {
|
|
774
|
+
className: U.Text,
|
|
775
|
+
children: [h, i != null && /* @__PURE__ */ p(j, {
|
|
776
|
+
className: U.Description,
|
|
734
777
|
children: i
|
|
735
778
|
})]
|
|
736
779
|
}),
|
|
737
|
-
a != null && /* @__PURE__ */
|
|
738
|
-
className:
|
|
780
|
+
a != null && /* @__PURE__ */ p("div", {
|
|
781
|
+
className: U.Actions,
|
|
739
782
|
children: a
|
|
740
783
|
}),
|
|
741
|
-
o != null && /* @__PURE__ */
|
|
742
|
-
className:
|
|
784
|
+
o != null && /* @__PURE__ */ p("p", {
|
|
785
|
+
className: U.Price,
|
|
743
786
|
children: o
|
|
744
787
|
})
|
|
745
788
|
]
|
|
746
|
-
}),
|
|
747
|
-
className:
|
|
748
|
-
children:
|
|
789
|
+
}), g != null && /* @__PURE__ */ p("div", {
|
|
790
|
+
className: U.Media,
|
|
791
|
+
children: g
|
|
749
792
|
})]
|
|
750
793
|
})
|
|
751
794
|
});
|
|
752
795
|
}
|
|
753
|
-
function
|
|
796
|
+
function ze({ src: t, alt: n, imageRender: r }) {
|
|
754
797
|
let i = e({
|
|
755
798
|
render: r,
|
|
756
799
|
defaultTagName: "img",
|
|
757
800
|
props: {
|
|
758
801
|
src: t,
|
|
759
802
|
alt: n,
|
|
760
|
-
className:
|
|
803
|
+
className: U.Logo
|
|
761
804
|
}
|
|
762
805
|
});
|
|
763
|
-
return /* @__PURE__ */
|
|
764
|
-
className:
|
|
806
|
+
return /* @__PURE__ */ p("li", {
|
|
807
|
+
className: U.LogoItem,
|
|
765
808
|
children: i
|
|
766
809
|
});
|
|
767
810
|
}
|
|
768
|
-
var
|
|
811
|
+
var W = {
|
|
769
812
|
PromoGrid: "_PromoGrid_1l2yi_10",
|
|
770
813
|
Featured: "_Featured_1l2yi_19",
|
|
771
814
|
Content: "_Content_1l2yi_23",
|
|
@@ -777,12 +820,12 @@ var K = {
|
|
|
777
820
|
};
|
|
778
821
|
//#endregion
|
|
779
822
|
//#region src/website/promo-grid.tsx
|
|
780
|
-
function
|
|
781
|
-
let
|
|
823
|
+
function Be({ src: t, alt: n, imageRender: r, action: i, images: a, title: o, titleRender: s, subtitle: c, imagePosition: l = "start", render: u, ref: d, className: h, ...g }) {
|
|
824
|
+
let _ = e({
|
|
782
825
|
render: s,
|
|
783
826
|
defaultTagName: "h2",
|
|
784
827
|
props: {
|
|
785
|
-
className:
|
|
828
|
+
className: W.Title,
|
|
786
829
|
children: o
|
|
787
830
|
}
|
|
788
831
|
});
|
|
@@ -791,25 +834,25 @@ function we({ src: t, alt: n, imageRender: r, action: i, images: a, title: o, ti
|
|
|
791
834
|
ref: d,
|
|
792
835
|
defaultTagName: "div",
|
|
793
836
|
props: {
|
|
794
|
-
...
|
|
837
|
+
...g,
|
|
795
838
|
"data-image-position": l,
|
|
796
|
-
className:
|
|
797
|
-
children: /* @__PURE__ */
|
|
798
|
-
className:
|
|
839
|
+
className: N(W.PromoGrid, h)({}),
|
|
840
|
+
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(ie, {
|
|
841
|
+
className: W.Featured,
|
|
799
842
|
src: t,
|
|
800
843
|
alt: n,
|
|
801
844
|
imageRender: r,
|
|
802
845
|
action: i
|
|
803
|
-
}), /* @__PURE__ */
|
|
804
|
-
className:
|
|
805
|
-
children: [a != null && a.length > 0 && /* @__PURE__ */
|
|
806
|
-
className:
|
|
846
|
+
}), /* @__PURE__ */ m("div", {
|
|
847
|
+
className: W.Content,
|
|
848
|
+
children: [a != null && a.length > 0 && /* @__PURE__ */ p("div", {
|
|
849
|
+
className: W.Photos,
|
|
807
850
|
"data-count": a.length,
|
|
808
|
-
children: a.map((e, t) => /* @__PURE__ */
|
|
809
|
-
}), /* @__PURE__ */
|
|
810
|
-
className:
|
|
811
|
-
children: [
|
|
812
|
-
className:
|
|
851
|
+
children: a.map((e, t) => /* @__PURE__ */ p(Ve, { ...e }, t))
|
|
852
|
+
}), /* @__PURE__ */ m("div", {
|
|
853
|
+
className: W.Block,
|
|
854
|
+
children: [_, c != null && /* @__PURE__ */ p(j, {
|
|
855
|
+
className: W.Subtitle,
|
|
813
856
|
children: c
|
|
814
857
|
})]
|
|
815
858
|
})]
|
|
@@ -817,24 +860,24 @@ function we({ src: t, alt: n, imageRender: r, action: i, images: a, title: o, ti
|
|
|
817
860
|
}
|
|
818
861
|
});
|
|
819
862
|
}
|
|
820
|
-
function
|
|
863
|
+
function Ve({ src: t, alt: n, imageRender: r }) {
|
|
821
864
|
return e({
|
|
822
865
|
render: r,
|
|
823
866
|
defaultTagName: "img",
|
|
824
867
|
props: {
|
|
825
868
|
src: t,
|
|
826
869
|
alt: n,
|
|
827
|
-
className:
|
|
870
|
+
className: W.Photo
|
|
828
871
|
}
|
|
829
872
|
});
|
|
830
873
|
}
|
|
831
|
-
var
|
|
874
|
+
var He = {
|
|
832
875
|
Section: "_Section_f8rp9_11",
|
|
833
876
|
Content: "_Content_f8rp9_60"
|
|
834
877
|
};
|
|
835
878
|
//#endregion
|
|
836
879
|
//#region src/website/section.tsx
|
|
837
|
-
function
|
|
880
|
+
function Ue({ surface: t = "base", spacingTop: n = "lg", spacingBottom: r = "lg", width: i = "full", render: a, ref: o, className: s, children: c, ...l }) {
|
|
838
881
|
return e({
|
|
839
882
|
render: a,
|
|
840
883
|
ref: o,
|
|
@@ -844,16 +887,16 @@ function Ee({ surface: t = "base", spacingTop: n = "lg", spacingBottom: r = "lg"
|
|
|
844
887
|
"data-surface": t,
|
|
845
888
|
"data-spacing-top": n,
|
|
846
889
|
"data-spacing-bottom": r,
|
|
847
|
-
className:
|
|
848
|
-
children: /* @__PURE__ */
|
|
849
|
-
className:
|
|
890
|
+
className: N(He.Section, s)({}),
|
|
891
|
+
children: /* @__PURE__ */ p("div", {
|
|
892
|
+
className: He.Content,
|
|
850
893
|
"data-width": i,
|
|
851
894
|
children: c
|
|
852
895
|
})
|
|
853
896
|
}
|
|
854
897
|
});
|
|
855
898
|
}
|
|
856
|
-
var
|
|
899
|
+
var G = {
|
|
857
900
|
SectionHeader: "_SectionHeader_11mff_8",
|
|
858
901
|
Text: "_Text_11mff_17",
|
|
859
902
|
Eyebrow: "_Eyebrow_11mff_25",
|
|
@@ -864,12 +907,12 @@ var J = {
|
|
|
864
907
|
};
|
|
865
908
|
//#endregion
|
|
866
909
|
//#region src/website/section-header.tsx
|
|
867
|
-
function
|
|
868
|
-
let
|
|
910
|
+
function We({ eyebrow: t, title: n, titleRender: r, titleSize: i = "lg", subtitle: a, actions: o, priceExample: s, render: c, ref: l, className: u, ...d }) {
|
|
911
|
+
let h = e({
|
|
869
912
|
render: r,
|
|
870
913
|
defaultTagName: "h2",
|
|
871
914
|
props: {
|
|
872
|
-
className:
|
|
915
|
+
className: G.Title,
|
|
873
916
|
children: n
|
|
874
917
|
}
|
|
875
918
|
});
|
|
@@ -880,61 +923,725 @@ function Y({ eyebrow: t, title: n, titleRender: r, titleSize: i = "lg", subtitle
|
|
|
880
923
|
props: {
|
|
881
924
|
...d,
|
|
882
925
|
"data-title-size": i,
|
|
883
|
-
className:
|
|
884
|
-
children: /* @__PURE__ */
|
|
885
|
-
/* @__PURE__ */
|
|
886
|
-
className:
|
|
926
|
+
className: N(G.SectionHeader, u)({}),
|
|
927
|
+
children: /* @__PURE__ */ m(f, { children: [
|
|
928
|
+
/* @__PURE__ */ m("div", {
|
|
929
|
+
className: G.Text,
|
|
887
930
|
children: [
|
|
888
|
-
t != null && /* @__PURE__ */
|
|
889
|
-
className:
|
|
931
|
+
t != null && /* @__PURE__ */ p("p", {
|
|
932
|
+
className: G.Eyebrow,
|
|
890
933
|
children: t
|
|
891
934
|
}),
|
|
892
|
-
|
|
893
|
-
a != null && /* @__PURE__ */
|
|
894
|
-
className:
|
|
935
|
+
h,
|
|
936
|
+
a != null && /* @__PURE__ */ p(j, {
|
|
937
|
+
className: G.Subtitle,
|
|
895
938
|
children: a
|
|
896
939
|
})
|
|
897
940
|
]
|
|
898
941
|
}),
|
|
899
|
-
o != null && /* @__PURE__ */
|
|
900
|
-
className:
|
|
942
|
+
o != null && /* @__PURE__ */ p("div", {
|
|
943
|
+
className: G.Actions,
|
|
901
944
|
children: o
|
|
902
945
|
}),
|
|
903
|
-
s != null && /* @__PURE__ */
|
|
904
|
-
className:
|
|
946
|
+
s != null && /* @__PURE__ */ p("p", {
|
|
947
|
+
className: G.Price,
|
|
905
948
|
children: s
|
|
906
949
|
})
|
|
907
950
|
] })
|
|
908
951
|
}
|
|
909
952
|
});
|
|
910
953
|
}
|
|
911
|
-
var
|
|
954
|
+
var Ge = {
|
|
912
955
|
ServiceCardGrid: "_ServiceCardGrid_nutvc_9",
|
|
913
956
|
List: "_List_nutvc_13",
|
|
914
957
|
Item: "_Item_nutvc_23"
|
|
915
958
|
};
|
|
916
959
|
//#endregion
|
|
917
960
|
//#region src/website/service-card-grid.tsx
|
|
918
|
-
function
|
|
919
|
-
let
|
|
961
|
+
function Ke({ render: t, ref: n, className: r, children: i, ...a }) {
|
|
962
|
+
let o = h.toArray(i);
|
|
920
963
|
return e({
|
|
921
964
|
render: t,
|
|
922
965
|
ref: n,
|
|
923
966
|
defaultTagName: "div",
|
|
924
967
|
props: {
|
|
925
968
|
...a,
|
|
926
|
-
className:
|
|
927
|
-
children: /* @__PURE__ */
|
|
928
|
-
className:
|
|
929
|
-
"data-count":
|
|
930
|
-
children:
|
|
931
|
-
className:
|
|
969
|
+
className: N(Ge.ServiceCardGrid, r)({}),
|
|
970
|
+
children: /* @__PURE__ */ p("ul", {
|
|
971
|
+
className: Ge.List,
|
|
972
|
+
"data-count": o.length,
|
|
973
|
+
children: o.map((e, t) => /* @__PURE__ */ p("li", {
|
|
974
|
+
className: Ge.Item,
|
|
932
975
|
children: e
|
|
933
976
|
}, t))
|
|
934
977
|
})
|
|
935
978
|
}
|
|
936
979
|
});
|
|
937
980
|
}
|
|
981
|
+
var qe = {
|
|
982
|
+
ArrowRevealLink: "_ArrowRevealLink_140ct_2",
|
|
983
|
+
Arrow: "_Arrow_140ct_2",
|
|
984
|
+
Text: "_Text_140ct_40"
|
|
985
|
+
};
|
|
986
|
+
//#endregion
|
|
987
|
+
//#region src/website/arrow-reveal-link.tsx
|
|
988
|
+
function K({ render: n, className: r, children: i, size: a = "md", ...o }) {
|
|
989
|
+
return e({
|
|
990
|
+
render: n,
|
|
991
|
+
defaultTagName: "a",
|
|
992
|
+
props: {
|
|
993
|
+
...o,
|
|
994
|
+
"data-size": a === "md" ? void 0 : a,
|
|
995
|
+
className: N(qe.ArrowRevealLink, r)({}),
|
|
996
|
+
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("span", {
|
|
997
|
+
"aria-hidden": !0,
|
|
998
|
+
className: qe.Arrow,
|
|
999
|
+
children: /* @__PURE__ */ p(t, {})
|
|
1000
|
+
}), /* @__PURE__ */ p("span", {
|
|
1001
|
+
className: qe.Text,
|
|
1002
|
+
children: i
|
|
1003
|
+
})] })
|
|
1004
|
+
}
|
|
1005
|
+
});
|
|
1006
|
+
}
|
|
1007
|
+
var q = {
|
|
1008
|
+
SideNav: "_SideNav_1ha5v_6",
|
|
1009
|
+
Sidebar: "_Sidebar_1ha5v_29",
|
|
1010
|
+
List: "_List_1ha5v_44",
|
|
1011
|
+
Content: "_Content_1ha5v_61"
|
|
1012
|
+
}, Je = O({ navigation: {
|
|
1013
|
+
no: "Sidemeny",
|
|
1014
|
+
se: "Sidomeny",
|
|
1015
|
+
fi: "Sivuvalikko",
|
|
1016
|
+
es: "Menú lateral"
|
|
1017
|
+
} });
|
|
1018
|
+
//#endregion
|
|
1019
|
+
//#region src/website/side-nav.tsx
|
|
1020
|
+
function Ye({ items: e, label: t, breadcrumbs: n, children: r, className: i, ...a }) {
|
|
1021
|
+
let o = Je();
|
|
1022
|
+
return /* @__PURE__ */ m("div", {
|
|
1023
|
+
...a,
|
|
1024
|
+
className: [q.SideNav, i].filter(Boolean).join(" "),
|
|
1025
|
+
children: [/* @__PURE__ */ p("nav", {
|
|
1026
|
+
className: q.Sidebar,
|
|
1027
|
+
"aria-label": t ?? o.navigation,
|
|
1028
|
+
children: /* @__PURE__ */ p("ul", {
|
|
1029
|
+
className: q.List,
|
|
1030
|
+
children: e.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
|
|
1031
|
+
size: "lg",
|
|
1032
|
+
href: e.href,
|
|
1033
|
+
render: e.render,
|
|
1034
|
+
"aria-current": e.current ? "page" : void 0,
|
|
1035
|
+
children: e.label
|
|
1036
|
+
}) }, t))
|
|
1037
|
+
})
|
|
1038
|
+
}), /* @__PURE__ */ m(oe, {
|
|
1039
|
+
size: "sm",
|
|
1040
|
+
className: q.Content,
|
|
1041
|
+
children: [n, r]
|
|
1042
|
+
})]
|
|
1043
|
+
});
|
|
1044
|
+
}
|
|
1045
|
+
//#endregion
|
|
1046
|
+
//#region src/website/flags.tsx
|
|
1047
|
+
var Xe = "M10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20Z", Ze = "M19.9154 8.69625H7.82613H7.82609V0.238281C6.90195 0.443203 6.02582 0.775352 5.21738 1.21648V8.69617V8.69621H0.0846484C0.0289844 9.1232 0 9.55852 0 10.0006C0 10.4427 0.0289844 10.878 0.0846484 11.3049H5.21734H5.21738V18.7846C6.02582 19.2257 6.90195 19.558 7.82609 19.7629V11.305V11.305H19.9154C19.9709 10.878 20 10.4427 20 10.0006C20 9.55852 19.9709 9.1232 19.9154 8.69625V8.69625Z";
|
|
1048
|
+
function Qe({ children: e, ...t }) {
|
|
1049
|
+
return /* @__PURE__ */ p("svg", {
|
|
1050
|
+
width: "20",
|
|
1051
|
+
height: "20",
|
|
1052
|
+
viewBox: "0 0 20 20",
|
|
1053
|
+
fill: "none",
|
|
1054
|
+
"aria-hidden": !0,
|
|
1055
|
+
focusable: "false",
|
|
1056
|
+
...t,
|
|
1057
|
+
children: e
|
|
1058
|
+
});
|
|
1059
|
+
}
|
|
1060
|
+
function $e(e) {
|
|
1061
|
+
return /* @__PURE__ */ m(Qe, {
|
|
1062
|
+
...e,
|
|
1063
|
+
children: [
|
|
1064
|
+
/* @__PURE__ */ p("path", {
|
|
1065
|
+
d: Xe,
|
|
1066
|
+
fill: "#F0F0F0"
|
|
1067
|
+
}),
|
|
1068
|
+
/* @__PURE__ */ p("path", {
|
|
1069
|
+
d: "M0.34375 12.6094C0.922344 14.7562 2.19754 16.6169 3.9123 17.9345V12.6094H0.34375Z",
|
|
1070
|
+
fill: "#D80027"
|
|
1071
|
+
}),
|
|
1072
|
+
/* @__PURE__ */ p("path", {
|
|
1073
|
+
d: "M9.12891 19.9626C9.41555 19.9873 9.70543 20.0007 9.99848 20.0007C14.6188 20.0007 18.5065 16.867 19.654 12.6094H9.12891V19.9626Z",
|
|
1074
|
+
fill: "#D80027"
|
|
1075
|
+
}),
|
|
1076
|
+
/* @__PURE__ */ p("path", {
|
|
1077
|
+
d: "M19.654 7.39129C18.5065 3.13363 14.6188 0 9.99848 0C9.70543 0 9.41555 0.0133594 9.12891 0.0380469V7.39129H19.654Z",
|
|
1078
|
+
fill: "#D80027"
|
|
1079
|
+
}),
|
|
1080
|
+
/* @__PURE__ */ p("path", {
|
|
1081
|
+
d: "M3.9123 2.06641C2.19754 3.38398 0.922344 5.24465 0.34375 7.39148H3.9123V2.06641Z",
|
|
1082
|
+
fill: "#D80027"
|
|
1083
|
+
}),
|
|
1084
|
+
/* @__PURE__ */ p("path", {
|
|
1085
|
+
d: Ze,
|
|
1086
|
+
fill: "#0052B4"
|
|
1087
|
+
})
|
|
1088
|
+
]
|
|
1089
|
+
});
|
|
1090
|
+
}
|
|
1091
|
+
function et(e) {
|
|
1092
|
+
return /* @__PURE__ */ m(Qe, {
|
|
1093
|
+
...e,
|
|
1094
|
+
children: [
|
|
1095
|
+
/* @__PURE__ */ p("path", {
|
|
1096
|
+
d: Xe,
|
|
1097
|
+
fill: "#FFDA44"
|
|
1098
|
+
}),
|
|
1099
|
+
/* @__PURE__ */ p("path", {
|
|
1100
|
+
d: "M7.82816 8.69566H19.9174C19.2782 3.78914 15.0828 0 10.002 0C9.25539 0 8.52809 0.0825391 7.82812 0.237695V8.69566H7.82816Z",
|
|
1101
|
+
fill: "#0052B4"
|
|
1102
|
+
}),
|
|
1103
|
+
/* @__PURE__ */ p("path", {
|
|
1104
|
+
d: "M5.21867 8.69848V1.21875C2.47281 2.71695 0.507148 5.46504 0.0859375 8.69852H5.21867V8.69848Z",
|
|
1105
|
+
fill: "#0052B4"
|
|
1106
|
+
}),
|
|
1107
|
+
/* @__PURE__ */ p("path", {
|
|
1108
|
+
d: "M5.21863 11.3047H0.0859375C0.507148 14.5382 2.47281 17.2863 5.21867 18.7844L5.21863 11.3047Z",
|
|
1109
|
+
fill: "#0052B4"
|
|
1110
|
+
}),
|
|
1111
|
+
/* @__PURE__ */ p("path", {
|
|
1112
|
+
d: "M7.82812 11.3047V19.7627C8.52809 19.9178 9.25539 20.0004 10.002 20.0004C15.0828 20.0004 19.2782 16.2112 19.9174 11.3047H7.82812V11.3047Z",
|
|
1113
|
+
fill: "#0052B4"
|
|
1114
|
+
})
|
|
1115
|
+
]
|
|
1116
|
+
});
|
|
1117
|
+
}
|
|
1118
|
+
function tt(e) {
|
|
1119
|
+
return /* @__PURE__ */ m(Qe, {
|
|
1120
|
+
...e,
|
|
1121
|
+
children: [/* @__PURE__ */ p("path", {
|
|
1122
|
+
d: Xe,
|
|
1123
|
+
fill: "#F0F0F0"
|
|
1124
|
+
}), /* @__PURE__ */ p("path", {
|
|
1125
|
+
d: Ze,
|
|
1126
|
+
fill: "#0052B4"
|
|
1127
|
+
})]
|
|
1128
|
+
});
|
|
1129
|
+
}
|
|
1130
|
+
function nt(e) {
|
|
1131
|
+
return /* @__PURE__ */ m(Qe, {
|
|
1132
|
+
...e,
|
|
1133
|
+
children: [
|
|
1134
|
+
/* @__PURE__ */ p("path", {
|
|
1135
|
+
d: "M0 10.0002C0 11.2234 0.220039 12.3951 0.621992 13.4784L10 14.348L19.378 13.4784C19.78 12.3951 20 11.2234 20 10.0002C20 8.77695 19.78 7.60523 19.378 6.52191L10 5.65234L0.621992 6.52191C0.220039 7.60523 0 8.77695 0 10.0002H0Z",
|
|
1136
|
+
fill: "#FFDA44"
|
|
1137
|
+
}),
|
|
1138
|
+
/* @__PURE__ */ p("path", {
|
|
1139
|
+
d: "M19.3771 6.52176C17.9642 2.71379 14.2987 0 9.9991 0C5.69945 0 2.03402 2.71379 0.621094 6.52176H19.3771Z",
|
|
1140
|
+
fill: "#D80027"
|
|
1141
|
+
}),
|
|
1142
|
+
/* @__PURE__ */ p("path", {
|
|
1143
|
+
d: "M0.621094 13.4766C2.03402 17.2845 5.69945 19.9983 9.9991 19.9983C14.2987 19.9983 17.9642 17.2845 19.3771 13.4766H0.621094Z",
|
|
1144
|
+
fill: "#D80027"
|
|
1145
|
+
})
|
|
1146
|
+
]
|
|
1147
|
+
});
|
|
1148
|
+
}
|
|
1149
|
+
//#endregion
|
|
1150
|
+
//#region src/website/site-header-link.tsx
|
|
1151
|
+
function J({ href: t, render: n, ...r }) {
|
|
1152
|
+
return e({
|
|
1153
|
+
render: n,
|
|
1154
|
+
defaultTagName: "a",
|
|
1155
|
+
props: t == null ? r : {
|
|
1156
|
+
...r,
|
|
1157
|
+
href: t
|
|
1158
|
+
}
|
|
1159
|
+
});
|
|
1160
|
+
}
|
|
1161
|
+
var rt = (e) => e.groups != null && e.groups.length > 0, it = (e) => e.href != null || e.render != null, Y = {
|
|
1162
|
+
SiteFooter: "_SiteFooter_o2ixe_7",
|
|
1163
|
+
Content: "_Content_o2ixe_23",
|
|
1164
|
+
Main: "_Main_o2ixe_32",
|
|
1165
|
+
Home: "_Home_o2ixe_46",
|
|
1166
|
+
Columns: "_Columns_o2ixe_64",
|
|
1167
|
+
Column: "_Column_o2ixe_64",
|
|
1168
|
+
Title: "_Title_o2ixe_94",
|
|
1169
|
+
Links: "_Links_o2ixe_108",
|
|
1170
|
+
Social: "_Social_o2ixe_109",
|
|
1171
|
+
Link: "_Link_o2ixe_108",
|
|
1172
|
+
SocialIcon: "_SocialIcon_o2ixe_147",
|
|
1173
|
+
Market: "_Market_o2ixe_161",
|
|
1174
|
+
Divider: "_Divider_o2ixe_165",
|
|
1175
|
+
CookieSettings: "_CookieSettings_o2ixe_176",
|
|
1176
|
+
Copyright: "_Copyright_o2ixe_192"
|
|
1177
|
+
}, at = O({
|
|
1178
|
+
market: {
|
|
1179
|
+
no: "Marked",
|
|
1180
|
+
se: "Marknad",
|
|
1181
|
+
fi: "Markkina",
|
|
1182
|
+
es: "Mercado"
|
|
1183
|
+
},
|
|
1184
|
+
social: {
|
|
1185
|
+
no: "Sosiale medier",
|
|
1186
|
+
se: "Sociala medier",
|
|
1187
|
+
fi: "Sosiaalinen media",
|
|
1188
|
+
es: "Redes sociales"
|
|
1189
|
+
},
|
|
1190
|
+
cookieSettings: {
|
|
1191
|
+
no: "Cookie-innstillinger",
|
|
1192
|
+
se: "Cookieinställningar",
|
|
1193
|
+
fi: "Evästeasetukset",
|
|
1194
|
+
es: "Configuración de cookies"
|
|
1195
|
+
},
|
|
1196
|
+
collation: {
|
|
1197
|
+
no: "nb",
|
|
1198
|
+
se: "sv",
|
|
1199
|
+
fi: "fi",
|
|
1200
|
+
es: "es"
|
|
1201
|
+
}
|
|
1202
|
+
}), ot = O({
|
|
1203
|
+
navigation: {
|
|
1204
|
+
no: "Hovedmeny",
|
|
1205
|
+
se: "Huvudmeny",
|
|
1206
|
+
fi: "Päävalikko",
|
|
1207
|
+
es: "Menú principal"
|
|
1208
|
+
},
|
|
1209
|
+
menu: {
|
|
1210
|
+
no: "Meny",
|
|
1211
|
+
se: "Meny",
|
|
1212
|
+
fi: "Valikko",
|
|
1213
|
+
es: "Menú"
|
|
1214
|
+
},
|
|
1215
|
+
closeMenu: {
|
|
1216
|
+
no: "Lukk meny",
|
|
1217
|
+
se: "Stäng menyn",
|
|
1218
|
+
fi: "Sulje valikko",
|
|
1219
|
+
es: "Cerrar menú"
|
|
1220
|
+
},
|
|
1221
|
+
home: {
|
|
1222
|
+
no: "Lea Bank, forside",
|
|
1223
|
+
se: "Lea Bank, startsida",
|
|
1224
|
+
fi: "Lea Bank, etusivu",
|
|
1225
|
+
es: "Lea Bank, página de inicio"
|
|
1226
|
+
}
|
|
1227
|
+
}), st = {
|
|
1228
|
+
no: {
|
|
1229
|
+
name: "Norge",
|
|
1230
|
+
flag: /* @__PURE__ */ p($e, {})
|
|
1231
|
+
},
|
|
1232
|
+
se: {
|
|
1233
|
+
name: "Sverige",
|
|
1234
|
+
flag: /* @__PURE__ */ p(et, {})
|
|
1235
|
+
},
|
|
1236
|
+
fi: {
|
|
1237
|
+
name: "Suomi",
|
|
1238
|
+
flag: /* @__PURE__ */ p(tt, {})
|
|
1239
|
+
},
|
|
1240
|
+
es: {
|
|
1241
|
+
name: "España",
|
|
1242
|
+
flag: /* @__PURE__ */ p(nt, {})
|
|
1243
|
+
}
|
|
1244
|
+
}, ct = [
|
|
1245
|
+
"no",
|
|
1246
|
+
"se",
|
|
1247
|
+
"fi",
|
|
1248
|
+
"es"
|
|
1249
|
+
];
|
|
1250
|
+
function lt({ render: t, id: n, children: r }) {
|
|
1251
|
+
return e({
|
|
1252
|
+
render: t,
|
|
1253
|
+
defaultTagName: "h2",
|
|
1254
|
+
props: {
|
|
1255
|
+
id: n,
|
|
1256
|
+
className: Y.Title,
|
|
1257
|
+
children: r
|
|
1258
|
+
}
|
|
1259
|
+
});
|
|
1260
|
+
}
|
|
1261
|
+
function ut({ market: e, render: t }) {
|
|
1262
|
+
let n = at(), r = C(), i = e.options ?? ct, a = ee(() => {
|
|
1263
|
+
let e = new Intl.Collator(n.collation, { sensitivity: "base" });
|
|
1264
|
+
return [...i].sort((t, n) => e.compare(st[t].name, st[n].name)).map((e) => ({
|
|
1265
|
+
value: e,
|
|
1266
|
+
label: st[e].name,
|
|
1267
|
+
icon: st[e].flag
|
|
1268
|
+
}));
|
|
1269
|
+
}, [i, n.collation]);
|
|
1270
|
+
return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(lt, {
|
|
1271
|
+
render: t,
|
|
1272
|
+
id: r,
|
|
1273
|
+
children: e.title ?? n.market
|
|
1274
|
+
}), /* @__PURE__ */ p(ce, {
|
|
1275
|
+
size: "sm",
|
|
1276
|
+
"aria-labelledby": r,
|
|
1277
|
+
options: a,
|
|
1278
|
+
value: e.value,
|
|
1279
|
+
onValueChange: e.onValueChange,
|
|
1280
|
+
className: Y.Market
|
|
1281
|
+
})] });
|
|
1282
|
+
}
|
|
1283
|
+
function dt({ logo: e, homeRender: t, columns: n = [], market: r, social: i, onOpenCookieSettings: a, copyright: o, titleRender: s, className: c, ...l }) {
|
|
1284
|
+
let u = at(), d = ot(), h = a != null || o != null;
|
|
1285
|
+
return /* @__PURE__ */ p("footer", {
|
|
1286
|
+
...l,
|
|
1287
|
+
className: [Y.SiteFooter, c].filter(Boolean).join(" "),
|
|
1288
|
+
children: /* @__PURE__ */ m("div", {
|
|
1289
|
+
className: Y.Content,
|
|
1290
|
+
children: [/* @__PURE__ */ m("div", {
|
|
1291
|
+
className: Y.Main,
|
|
1292
|
+
children: [/* @__PURE__ */ p(J, {
|
|
1293
|
+
href: t == null ? "/" : void 0,
|
|
1294
|
+
render: t,
|
|
1295
|
+
className: Y.Home,
|
|
1296
|
+
"aria-label": d.home,
|
|
1297
|
+
children: e
|
|
1298
|
+
}), /* @__PURE__ */ m("div", {
|
|
1299
|
+
className: Y.Columns,
|
|
1300
|
+
children: [n.map((e, t) => /* @__PURE__ */ m("div", {
|
|
1301
|
+
className: Y.Column,
|
|
1302
|
+
children: [/* @__PURE__ */ p(lt, {
|
|
1303
|
+
render: s,
|
|
1304
|
+
children: e.title
|
|
1305
|
+
}), e.links.length > 0 && /* @__PURE__ */ p("ul", {
|
|
1306
|
+
className: Y.Links,
|
|
1307
|
+
children: e.links.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(J, {
|
|
1308
|
+
href: e.href,
|
|
1309
|
+
render: e.render,
|
|
1310
|
+
className: Y.Link,
|
|
1311
|
+
children: e.label
|
|
1312
|
+
}) }, t))
|
|
1313
|
+
})]
|
|
1314
|
+
}, t)), (r != null || i != null) && /* @__PURE__ */ m("div", {
|
|
1315
|
+
className: Y.Column,
|
|
1316
|
+
children: [r != null && /* @__PURE__ */ p(ut, {
|
|
1317
|
+
market: r,
|
|
1318
|
+
render: s
|
|
1319
|
+
}), i != null && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(lt, {
|
|
1320
|
+
render: s,
|
|
1321
|
+
children: i.title ?? u.social
|
|
1322
|
+
}), /* @__PURE__ */ p("ul", {
|
|
1323
|
+
className: Y.Social,
|
|
1324
|
+
children: i.links.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ m(J, {
|
|
1325
|
+
href: e.href,
|
|
1326
|
+
render: e.render,
|
|
1327
|
+
className: Y.Link,
|
|
1328
|
+
children: [/* @__PURE__ */ p("span", {
|
|
1329
|
+
"aria-hidden": !0,
|
|
1330
|
+
className: Y.SocialIcon,
|
|
1331
|
+
children: e.icon
|
|
1332
|
+
}), e.label]
|
|
1333
|
+
}) }, t))
|
|
1334
|
+
})] })]
|
|
1335
|
+
})]
|
|
1336
|
+
})]
|
|
1337
|
+
}), h && /* @__PURE__ */ m(f, { children: [
|
|
1338
|
+
/* @__PURE__ */ p("span", {
|
|
1339
|
+
"aria-hidden": !0,
|
|
1340
|
+
className: Y.Divider
|
|
1341
|
+
}),
|
|
1342
|
+
a != null && /* @__PURE__ */ p("button", {
|
|
1343
|
+
type: "button",
|
|
1344
|
+
className: Y.CookieSettings,
|
|
1345
|
+
onClick: a,
|
|
1346
|
+
children: u.cookieSettings
|
|
1347
|
+
}),
|
|
1348
|
+
o != null && /* @__PURE__ */ p(j, {
|
|
1349
|
+
className: Y.Copyright,
|
|
1350
|
+
children: o
|
|
1351
|
+
})
|
|
1352
|
+
] })]
|
|
1353
|
+
})
|
|
1354
|
+
});
|
|
1355
|
+
}
|
|
1356
|
+
var X = {
|
|
1357
|
+
SiteHeader: "_SiteHeader_dcn2t_9",
|
|
1358
|
+
Bar: "_Bar_dcn2t_19",
|
|
1359
|
+
BarContent: "_BarContent_dcn2t_24",
|
|
1360
|
+
Home: "_Home_dcn2t_40",
|
|
1361
|
+
Actions: "_Actions_dcn2t_57",
|
|
1362
|
+
Account: "_Account_dcn2t_64",
|
|
1363
|
+
MenuButton: "_MenuButton_dcn2t_80",
|
|
1364
|
+
Action: "_Action_dcn2t_57",
|
|
1365
|
+
Nav: "_Nav_dcn2t_121",
|
|
1366
|
+
Pill: "_Pill_dcn2t_128",
|
|
1367
|
+
Cta: "_Cta_dcn2t_129",
|
|
1368
|
+
List: "_List_dcn2t_136",
|
|
1369
|
+
Item: "_Item_dcn2t_148",
|
|
1370
|
+
Chevron: "_Chevron_dcn2t_189",
|
|
1371
|
+
Positioner: "_Positioner_dcn2t_263",
|
|
1372
|
+
Popup: "_Popup_dcn2t_291",
|
|
1373
|
+
Viewport: "_Viewport_dcn2t_311",
|
|
1374
|
+
Content: "_Content_dcn2t_319",
|
|
1375
|
+
Group: "_Group_dcn2t_339",
|
|
1376
|
+
GroupTitle: "_GroupTitle_dcn2t_348",
|
|
1377
|
+
Links: "_Links_dcn2t_355",
|
|
1378
|
+
Separator: "_Separator_dcn2t_370",
|
|
1379
|
+
CtaArrow: "_CtaArrow_dcn2t_402",
|
|
1380
|
+
Backdrop: "_Backdrop_dcn2t_410",
|
|
1381
|
+
DrawerViewport: "_DrawerViewport_dcn2t_424",
|
|
1382
|
+
MenuPopup: "_MenuPopup_dcn2t_439",
|
|
1383
|
+
MenuTop: "_MenuTop_dcn2t_479",
|
|
1384
|
+
MenuContent: "_MenuContent_dcn2t_486",
|
|
1385
|
+
MenuList: "_MenuList_dcn2t_499",
|
|
1386
|
+
Row: "_Row_dcn2t_506",
|
|
1387
|
+
RowChevron: "_RowChevron_dcn2t_545",
|
|
1388
|
+
SubmenuPanel: "_SubmenuPanel_dcn2t_556",
|
|
1389
|
+
Submenu: "_Submenu_dcn2t_556",
|
|
1390
|
+
Parent: "_Parent_dcn2t_577"
|
|
1391
|
+
}, ft = "(min-width: 1312px)";
|
|
1392
|
+
function pt({ item: e, open: t, onOpenChange: i }) {
|
|
1393
|
+
let a = e.groups.flatMap((e) => e.links), o = e.groups.flatMap((e) => e.cta == null ? [] : [e.cta]);
|
|
1394
|
+
return /* @__PURE__ */ m(ue.Root, {
|
|
1395
|
+
open: t,
|
|
1396
|
+
onOpenChange: i,
|
|
1397
|
+
children: [/* @__PURE__ */ m(ue.Trigger, {
|
|
1398
|
+
className: X.Row,
|
|
1399
|
+
children: [e.label, /* @__PURE__ */ p(r, {
|
|
1400
|
+
"aria-hidden": !0,
|
|
1401
|
+
className: X.RowChevron
|
|
1402
|
+
})]
|
|
1403
|
+
}), /* @__PURE__ */ p(ue.Panel, {
|
|
1404
|
+
className: X.SubmenuPanel,
|
|
1405
|
+
children: /* @__PURE__ */ m("div", {
|
|
1406
|
+
className: X.Submenu,
|
|
1407
|
+
children: [
|
|
1408
|
+
(it(e) || a.length > 0) && /* @__PURE__ */ m("ul", {
|
|
1409
|
+
className: X.Links,
|
|
1410
|
+
children: [it(e) && /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
|
|
1411
|
+
className: X.Parent,
|
|
1412
|
+
href: e.href,
|
|
1413
|
+
render: e.render,
|
|
1414
|
+
children: e.label
|
|
1415
|
+
}) }), a.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
|
|
1416
|
+
href: e.href,
|
|
1417
|
+
render: e.render,
|
|
1418
|
+
children: e.label
|
|
1419
|
+
}) }, t))]
|
|
1420
|
+
}),
|
|
1421
|
+
o.length > 0 && a.length > 0 && /* @__PURE__ */ p("span", {
|
|
1422
|
+
"aria-hidden": !0,
|
|
1423
|
+
className: X.Separator
|
|
1424
|
+
}),
|
|
1425
|
+
o.map((e, t) => /* @__PURE__ */ m(J, {
|
|
1426
|
+
className: X.Cta,
|
|
1427
|
+
href: e.href,
|
|
1428
|
+
render: e.render,
|
|
1429
|
+
children: [/* @__PURE__ */ p("span", { children: e.label }), /* @__PURE__ */ p(n, {
|
|
1430
|
+
"aria-hidden": !0,
|
|
1431
|
+
className: X.CtaArrow
|
|
1432
|
+
})]
|
|
1433
|
+
}, t))
|
|
1434
|
+
]
|
|
1435
|
+
})
|
|
1436
|
+
})]
|
|
1437
|
+
});
|
|
1438
|
+
}
|
|
1439
|
+
function mt({ items: e }) {
|
|
1440
|
+
let t = ot(), [n, r] = T(null);
|
|
1441
|
+
return /* @__PURE__ */ p("nav", {
|
|
1442
|
+
"aria-label": t.navigation,
|
|
1443
|
+
children: /* @__PURE__ */ p("ul", {
|
|
1444
|
+
className: X.MenuList,
|
|
1445
|
+
children: e.map((e, t) => /* @__PURE__ */ p("li", { children: rt(e) ? /* @__PURE__ */ p(pt, {
|
|
1446
|
+
item: e,
|
|
1447
|
+
open: n === t,
|
|
1448
|
+
onOpenChange: (e) => r(e ? t : null)
|
|
1449
|
+
}) : /* @__PURE__ */ p(J, {
|
|
1450
|
+
className: X.Row,
|
|
1451
|
+
href: e.href,
|
|
1452
|
+
render: e.render,
|
|
1453
|
+
children: e.label
|
|
1454
|
+
}) }, t))
|
|
1455
|
+
})
|
|
1456
|
+
});
|
|
1457
|
+
}
|
|
1458
|
+
function ht({ items: e, home: t, account: n }) {
|
|
1459
|
+
let r = ot(), [i, a] = T(!1);
|
|
1460
|
+
return S(() => {
|
|
1461
|
+
if (!i) return;
|
|
1462
|
+
let e = window.matchMedia(ft), t = () => {
|
|
1463
|
+
e.matches && a(!1);
|
|
1464
|
+
};
|
|
1465
|
+
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
|
|
1466
|
+
}, [i]), /* @__PURE__ */ m(A.Root, {
|
|
1467
|
+
open: i,
|
|
1468
|
+
onOpenChange: a,
|
|
1469
|
+
swipeDirection: "up",
|
|
1470
|
+
children: [/* @__PURE__ */ p(A.Trigger, {
|
|
1471
|
+
className: X.MenuButton,
|
|
1472
|
+
"aria-label": r.menu,
|
|
1473
|
+
children: /* @__PURE__ */ p(s, { "aria-hidden": !0 })
|
|
1474
|
+
}), /* @__PURE__ */ m(A.Portal, { children: [/* @__PURE__ */ p(A.Backdrop, { className: X.Backdrop }), /* @__PURE__ */ p(A.Viewport, {
|
|
1475
|
+
className: X.DrawerViewport,
|
|
1476
|
+
children: /* @__PURE__ */ m(A.Popup, {
|
|
1477
|
+
className: X.MenuPopup,
|
|
1478
|
+
"aria-label": r.menu,
|
|
1479
|
+
onClick: (e) => {
|
|
1480
|
+
e.target instanceof Element && e.target.closest("a") && a(!1);
|
|
1481
|
+
},
|
|
1482
|
+
children: [/* @__PURE__ */ m("div", {
|
|
1483
|
+
className: X.MenuTop,
|
|
1484
|
+
children: [/* @__PURE__ */ p("div", {
|
|
1485
|
+
className: X.Bar,
|
|
1486
|
+
children: /* @__PURE__ */ m("div", {
|
|
1487
|
+
className: X.BarContent,
|
|
1488
|
+
children: [
|
|
1489
|
+
/* @__PURE__ */ p(A.Close, {
|
|
1490
|
+
className: X.MenuButton,
|
|
1491
|
+
"aria-label": r.closeMenu,
|
|
1492
|
+
children: /* @__PURE__ */ p(d, { "aria-hidden": !0 })
|
|
1493
|
+
}),
|
|
1494
|
+
t,
|
|
1495
|
+
n && /* @__PURE__ */ p("div", {
|
|
1496
|
+
className: X.Actions,
|
|
1497
|
+
children: n
|
|
1498
|
+
})
|
|
1499
|
+
]
|
|
1500
|
+
})
|
|
1501
|
+
}), /* @__PURE__ */ p(re, { size: "sm" })]
|
|
1502
|
+
}), /* @__PURE__ */ p(A.Content, {
|
|
1503
|
+
className: X.MenuContent,
|
|
1504
|
+
children: /* @__PURE__ */ p(mt, { items: e })
|
|
1505
|
+
})]
|
|
1506
|
+
})
|
|
1507
|
+
})] })]
|
|
1508
|
+
});
|
|
1509
|
+
}
|
|
1510
|
+
//#endregion
|
|
1511
|
+
//#region src/website/site-header.tsx
|
|
1512
|
+
function gt({ group: e }) {
|
|
1513
|
+
let t = C(), r = e.title != null, i = e.links.length > 0;
|
|
1514
|
+
return /* @__PURE__ */ m("div", {
|
|
1515
|
+
className: X.Group,
|
|
1516
|
+
children: [
|
|
1517
|
+
r && /* @__PURE__ */ p("p", {
|
|
1518
|
+
id: t,
|
|
1519
|
+
className: X.GroupTitle,
|
|
1520
|
+
children: e.title
|
|
1521
|
+
}),
|
|
1522
|
+
i && /* @__PURE__ */ p("ul", {
|
|
1523
|
+
className: X.Links,
|
|
1524
|
+
"aria-labelledby": r ? t : void 0,
|
|
1525
|
+
children: e.links.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
|
|
1526
|
+
render: /* @__PURE__ */ p(k.Link, {
|
|
1527
|
+
closeOnClick: !0,
|
|
1528
|
+
href: e.href,
|
|
1529
|
+
render: e.render
|
|
1530
|
+
}),
|
|
1531
|
+
children: e.label
|
|
1532
|
+
}) }, t))
|
|
1533
|
+
}),
|
|
1534
|
+
e.cta != null && i && /* @__PURE__ */ p("span", {
|
|
1535
|
+
"aria-hidden": !0,
|
|
1536
|
+
className: X.Separator
|
|
1537
|
+
}),
|
|
1538
|
+
e.cta != null && /* @__PURE__ */ m(k.Link, {
|
|
1539
|
+
closeOnClick: !0,
|
|
1540
|
+
className: X.Cta,
|
|
1541
|
+
href: e.cta.href,
|
|
1542
|
+
render: e.cta.render,
|
|
1543
|
+
children: [/* @__PURE__ */ p("span", { children: e.cta.label }), /* @__PURE__ */ p(n, {
|
|
1544
|
+
"aria-hidden": !0,
|
|
1545
|
+
className: X.CtaArrow
|
|
1546
|
+
})]
|
|
1547
|
+
})
|
|
1548
|
+
]
|
|
1549
|
+
});
|
|
1550
|
+
}
|
|
1551
|
+
function _t({ item: e, value: t, end: n, onFocus: i }) {
|
|
1552
|
+
return /* @__PURE__ */ p(k.Item, {
|
|
1553
|
+
value: t,
|
|
1554
|
+
className: X.Item,
|
|
1555
|
+
"data-end": n || void 0,
|
|
1556
|
+
onFocus: () => i(t),
|
|
1557
|
+
children: rt(e) ? /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m(k.Trigger, {
|
|
1558
|
+
className: X.Pill,
|
|
1559
|
+
children: [e.label, /* @__PURE__ */ p(k.Icon, {
|
|
1560
|
+
className: X.Chevron,
|
|
1561
|
+
children: /* @__PURE__ */ p(r, {})
|
|
1562
|
+
})]
|
|
1563
|
+
}), /* @__PURE__ */ p(k.Content, {
|
|
1564
|
+
keepMounted: !0,
|
|
1565
|
+
className: X.Content,
|
|
1566
|
+
children: e.groups.map((e, t) => /* @__PURE__ */ p(gt, { group: e }, t))
|
|
1567
|
+
})] }) : /* @__PURE__ */ p(k.Link, {
|
|
1568
|
+
closeOnClick: !0,
|
|
1569
|
+
className: X.Pill,
|
|
1570
|
+
href: e.href,
|
|
1571
|
+
render: e.render,
|
|
1572
|
+
children: e.label
|
|
1573
|
+
})
|
|
1574
|
+
});
|
|
1575
|
+
}
|
|
1576
|
+
function vt({ logo: e, homeRender: t, items: n, endItems: r = [], account: i, action: a, className: s, ...c }) {
|
|
1577
|
+
let l = ot(), [u, d] = T(null), f = (e) => {
|
|
1578
|
+
u != null && u !== e && d(null);
|
|
1579
|
+
}, h = /* @__PURE__ */ p(J, {
|
|
1580
|
+
href: t == null ? "/" : void 0,
|
|
1581
|
+
render: t,
|
|
1582
|
+
className: X.Home,
|
|
1583
|
+
"aria-label": l.home,
|
|
1584
|
+
children: e
|
|
1585
|
+
}), g = i != null && /* @__PURE__ */ p(J, {
|
|
1586
|
+
href: i.href,
|
|
1587
|
+
render: i.render,
|
|
1588
|
+
className: X.Account,
|
|
1589
|
+
"aria-label": i.label,
|
|
1590
|
+
children: i.icon ?? /* @__PURE__ */ p(o, { "aria-hidden": !0 })
|
|
1591
|
+
});
|
|
1592
|
+
return /* @__PURE__ */ m("header", {
|
|
1593
|
+
...c,
|
|
1594
|
+
className: [X.SiteHeader, s].filter(Boolean).join(" "),
|
|
1595
|
+
children: [/* @__PURE__ */ p("div", {
|
|
1596
|
+
className: X.Bar,
|
|
1597
|
+
children: /* @__PURE__ */ m("div", {
|
|
1598
|
+
className: X.BarContent,
|
|
1599
|
+
children: [
|
|
1600
|
+
/* @__PURE__ */ p(ht, {
|
|
1601
|
+
items: [...n, ...r],
|
|
1602
|
+
home: h,
|
|
1603
|
+
account: g
|
|
1604
|
+
}),
|
|
1605
|
+
h,
|
|
1606
|
+
/* @__PURE__ */ m(k.Root, {
|
|
1607
|
+
className: X.Nav,
|
|
1608
|
+
"aria-label": l.navigation,
|
|
1609
|
+
closeDelay: 150,
|
|
1610
|
+
value: u,
|
|
1611
|
+
onValueChange: d,
|
|
1612
|
+
children: [/* @__PURE__ */ p(k.List, {
|
|
1613
|
+
className: X.List,
|
|
1614
|
+
children: [...n, ...r].map((e, t) => /* @__PURE__ */ p(_t, {
|
|
1615
|
+
item: e,
|
|
1616
|
+
value: `item-${t}`,
|
|
1617
|
+
end: r.length > 0 && t === n.length,
|
|
1618
|
+
onFocus: f
|
|
1619
|
+
}, t))
|
|
1620
|
+
}), /* @__PURE__ */ p(k.Portal, { children: /* @__PURE__ */ p(k.Positioner, {
|
|
1621
|
+
className: X.Positioner,
|
|
1622
|
+
side: "bottom",
|
|
1623
|
+
align: "start",
|
|
1624
|
+
sideOffset: 8,
|
|
1625
|
+
collisionPadding: 16,
|
|
1626
|
+
children: /* @__PURE__ */ p(k.Popup, {
|
|
1627
|
+
className: X.Popup,
|
|
1628
|
+
render: /* @__PURE__ */ p("div", {}),
|
|
1629
|
+
children: /* @__PURE__ */ p(k.Viewport, { className: X.Viewport })
|
|
1630
|
+
})
|
|
1631
|
+
}) })]
|
|
1632
|
+
}),
|
|
1633
|
+
(g || a != null) && /* @__PURE__ */ m("div", {
|
|
1634
|
+
className: X.Actions,
|
|
1635
|
+
children: [g, a != null && /* @__PURE__ */ p("div", {
|
|
1636
|
+
className: X.Action,
|
|
1637
|
+
children: a
|
|
1638
|
+
})]
|
|
1639
|
+
})
|
|
1640
|
+
]
|
|
1641
|
+
})
|
|
1642
|
+
}), /* @__PURE__ */ p(re, { size: "sm" })]
|
|
1643
|
+
});
|
|
1644
|
+
}
|
|
938
1645
|
var Z = {
|
|
939
1646
|
SplitContent: "_SplitContent_16c8f_11",
|
|
940
1647
|
Grid: "_Grid_16c8f_19",
|
|
@@ -948,15 +1655,15 @@ var Z = {
|
|
|
948
1655
|
};
|
|
949
1656
|
//#endregion
|
|
950
1657
|
//#region src/website/split-content.tsx
|
|
951
|
-
function
|
|
952
|
-
let
|
|
1658
|
+
function yt({ title: t, titleRender: n, text: r, src: i, alt: a, imageRender: o, imagePosition: s = "end", action: c, priceExample: l, render: u, ref: d, className: h, ...g }) {
|
|
1659
|
+
let _ = e({
|
|
953
1660
|
render: n,
|
|
954
1661
|
defaultTagName: "h2",
|
|
955
1662
|
props: {
|
|
956
1663
|
className: Z.Title,
|
|
957
1664
|
children: t
|
|
958
1665
|
}
|
|
959
|
-
}),
|
|
1666
|
+
}), v = e({
|
|
960
1667
|
enabled: i != null,
|
|
961
1668
|
render: o,
|
|
962
1669
|
defaultTagName: "img",
|
|
@@ -971,25 +1678,25 @@ function Oe({ title: t, titleRender: n, text: r, src: i, alt: a, imageRender: o,
|
|
|
971
1678
|
ref: d,
|
|
972
1679
|
defaultTagName: "div",
|
|
973
1680
|
props: {
|
|
974
|
-
...
|
|
1681
|
+
...g,
|
|
975
1682
|
"data-image-position": s,
|
|
976
|
-
"data-has-image":
|
|
977
|
-
className:
|
|
978
|
-
children: /* @__PURE__ */
|
|
1683
|
+
"data-has-image": v != null || void 0,
|
|
1684
|
+
className: N(Z.SplitContent, h)({}),
|
|
1685
|
+
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
|
|
979
1686
|
className: Z.Grid,
|
|
980
|
-
children: [/* @__PURE__ */
|
|
1687
|
+
children: [/* @__PURE__ */ m("div", {
|
|
981
1688
|
className: Z.Text,
|
|
982
|
-
children: [
|
|
1689
|
+
children: [_, r != null && /* @__PURE__ */ p(j, {
|
|
983
1690
|
className: Z.Description,
|
|
984
1691
|
children: r
|
|
985
1692
|
})]
|
|
986
|
-
}),
|
|
1693
|
+
}), v != null && /* @__PURE__ */ p("div", {
|
|
987
1694
|
className: Z.Media,
|
|
988
|
-
children:
|
|
1695
|
+
children: v
|
|
989
1696
|
})]
|
|
990
|
-
}), (c != null || l != null) && /* @__PURE__ */
|
|
1697
|
+
}), (c != null || l != null) && /* @__PURE__ */ m("div", {
|
|
991
1698
|
className: Z.Actions,
|
|
992
|
-
children: [c, l != null && /* @__PURE__ */
|
|
1699
|
+
children: [c, l != null && /* @__PURE__ */ p("p", {
|
|
993
1700
|
className: Z.Price,
|
|
994
1701
|
children: l
|
|
995
1702
|
})]
|
|
@@ -1011,32 +1718,32 @@ var Q = {
|
|
|
1011
1718
|
};
|
|
1012
1719
|
//#endregion
|
|
1013
1720
|
//#region src/website/stats.tsx
|
|
1014
|
-
function
|
|
1721
|
+
function bt({ header: t, items: n, titleRender: r, action: i, priceExample: a, render: o, ref: s, className: c, ...l }) {
|
|
1015
1722
|
return e({
|
|
1016
1723
|
render: o,
|
|
1017
|
-
ref:
|
|
1724
|
+
ref: s,
|
|
1018
1725
|
defaultTagName: "div",
|
|
1019
1726
|
props: {
|
|
1020
|
-
...
|
|
1021
|
-
className:
|
|
1022
|
-
children: /* @__PURE__ */
|
|
1727
|
+
...l,
|
|
1728
|
+
className: N(Q.Stats, c)({}),
|
|
1729
|
+
children: /* @__PURE__ */ m(f, { children: [
|
|
1023
1730
|
t,
|
|
1024
|
-
/* @__PURE__ */
|
|
1731
|
+
/* @__PURE__ */ m("ul", {
|
|
1025
1732
|
className: Q.List,
|
|
1026
|
-
children: [n.map((e, t) => /* @__PURE__ */
|
|
1733
|
+
children: [n.map((e, t) => /* @__PURE__ */ m(g, { children: [/* @__PURE__ */ p("li", {
|
|
1027
1734
|
"aria-hidden": !0,
|
|
1028
1735
|
className: Q.Bar
|
|
1029
|
-
}), /* @__PURE__ */
|
|
1736
|
+
}), /* @__PURE__ */ p(xt, {
|
|
1030
1737
|
...e,
|
|
1031
1738
|
titleRender: r
|
|
1032
|
-
})] }, t)), /* @__PURE__ */
|
|
1739
|
+
})] }, t)), /* @__PURE__ */ p("li", {
|
|
1033
1740
|
"aria-hidden": !0,
|
|
1034
1741
|
className: Q.Bar
|
|
1035
1742
|
})]
|
|
1036
1743
|
}),
|
|
1037
|
-
(i != null || a != null) && /* @__PURE__ */
|
|
1744
|
+
(i != null || a != null) && /* @__PURE__ */ m("div", {
|
|
1038
1745
|
className: Q.Actions,
|
|
1039
|
-
children: [i, a != null && /* @__PURE__ */
|
|
1746
|
+
children: [i, a != null && /* @__PURE__ */ p("p", {
|
|
1040
1747
|
className: Q.Price,
|
|
1041
1748
|
children: a
|
|
1042
1749
|
})]
|
|
@@ -1045,7 +1752,7 @@ function ke({ header: t, items: n, titleRender: r, action: i, priceExample: a, r
|
|
|
1045
1752
|
}
|
|
1046
1753
|
});
|
|
1047
1754
|
}
|
|
1048
|
-
function
|
|
1755
|
+
function xt({ number: t, title: n, text: r, titleRender: i }) {
|
|
1049
1756
|
let a = e({
|
|
1050
1757
|
enabled: n != null,
|
|
1051
1758
|
render: i,
|
|
@@ -1055,14 +1762,14 @@ function Ae({ number: t, title: n, text: r, titleRender: i }) {
|
|
|
1055
1762
|
children: n
|
|
1056
1763
|
}
|
|
1057
1764
|
});
|
|
1058
|
-
return /* @__PURE__ */
|
|
1765
|
+
return /* @__PURE__ */ m("li", {
|
|
1059
1766
|
className: Q.Stat,
|
|
1060
|
-
children: [/* @__PURE__ */
|
|
1767
|
+
children: [/* @__PURE__ */ p("p", {
|
|
1061
1768
|
className: Q.Number,
|
|
1062
1769
|
children: t
|
|
1063
|
-
}), (a != null || r != null) && /* @__PURE__ */
|
|
1770
|
+
}), (a != null || r != null) && /* @__PURE__ */ m("div", {
|
|
1064
1771
|
className: Q.Labels,
|
|
1065
|
-
children: [a, r != null && /* @__PURE__ */
|
|
1772
|
+
children: [a, r != null && /* @__PURE__ */ p("p", {
|
|
1066
1773
|
className: Q.Text,
|
|
1067
1774
|
children: r
|
|
1068
1775
|
})]
|
|
@@ -1084,7 +1791,7 @@ var $ = {
|
|
|
1084
1791
|
DialogPopup: "_DialogPopup_13hpt_143",
|
|
1085
1792
|
DialogVideo: "_DialogVideo_13hpt_149",
|
|
1086
1793
|
Close: "_Close_13hpt_157"
|
|
1087
|
-
},
|
|
1794
|
+
}, St = O({
|
|
1088
1795
|
reviews: {
|
|
1089
1796
|
no: "Kundeomtaler",
|
|
1090
1797
|
se: "Kundomdömen",
|
|
@@ -1124,85 +1831,85 @@ var $ = {
|
|
|
1124
1831
|
});
|
|
1125
1832
|
//#endregion
|
|
1126
1833
|
//#region src/website/testimonials.tsx
|
|
1127
|
-
function
|
|
1128
|
-
let w =
|
|
1834
|
+
function Ct({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o, rating: s, videoSrc: c, videoPoster: u, videoCaptions: g, videoPosition: v = "start", render: y, ref: b, className: x, children: S, ...ee }) {
|
|
1835
|
+
let w = St(), T = C(), te = i != null || a != null, ne = h.toArray(S).length > 0;
|
|
1129
1836
|
return e({
|
|
1130
|
-
render:
|
|
1131
|
-
ref:
|
|
1837
|
+
render: y,
|
|
1838
|
+
ref: b,
|
|
1132
1839
|
defaultTagName: "div",
|
|
1133
1840
|
props: {
|
|
1134
|
-
...
|
|
1135
|
-
className:
|
|
1136
|
-
children: /* @__PURE__ */
|
|
1137
|
-
t != null && /* @__PURE__ */
|
|
1841
|
+
...ee,
|
|
1842
|
+
className: N($.Testimonials, x)({}),
|
|
1843
|
+
children: /* @__PURE__ */ m(f, { children: [
|
|
1844
|
+
t != null && /* @__PURE__ */ p(We, {
|
|
1138
1845
|
title: t,
|
|
1139
|
-
titleRender:
|
|
1846
|
+
titleRender: _(n ?? /* @__PURE__ */ p("h2", {}), { id: T }),
|
|
1140
1847
|
subtitle: r
|
|
1141
1848
|
}),
|
|
1142
|
-
(
|
|
1849
|
+
(te || c != null) && /* @__PURE__ */ m("div", {
|
|
1143
1850
|
className: $.Featured,
|
|
1144
|
-
"data-video":
|
|
1145
|
-
"data-video-position":
|
|
1146
|
-
children: [
|
|
1851
|
+
"data-video": c != null || void 0,
|
|
1852
|
+
"data-video-position": v,
|
|
1853
|
+
children: [te && /* @__PURE__ */ m("figure", {
|
|
1147
1854
|
className: $.Quote,
|
|
1148
1855
|
children: [
|
|
1149
|
-
|
|
1150
|
-
|
|
1856
|
+
s != null && /* @__PURE__ */ p(le, { rating: s }),
|
|
1857
|
+
i != null && /* @__PURE__ */ p("blockquote", {
|
|
1151
1858
|
className: $.Blockquote,
|
|
1152
|
-
children: typeof
|
|
1859
|
+
children: typeof i == "string" || typeof i == "number" ? /* @__PURE__ */ p("p", { children: i }) : i
|
|
1153
1860
|
}),
|
|
1154
|
-
(
|
|
1861
|
+
(a != null || o != null) && /* @__PURE__ */ m("figcaption", {
|
|
1155
1862
|
className: $.Person,
|
|
1156
|
-
children: [
|
|
1863
|
+
children: [a != null && /* @__PURE__ */ p("span", {
|
|
1157
1864
|
className: $.Name,
|
|
1158
|
-
children:
|
|
1159
|
-
}),
|
|
1865
|
+
children: a
|
|
1866
|
+
}), o != null && /* @__PURE__ */ p("span", {
|
|
1160
1867
|
className: $.Meta,
|
|
1161
|
-
children:
|
|
1868
|
+
children: o
|
|
1162
1869
|
})]
|
|
1163
1870
|
})
|
|
1164
1871
|
]
|
|
1165
|
-
}),
|
|
1872
|
+
}), c != null && /* @__PURE__ */ m("div", {
|
|
1166
1873
|
className: $.Video,
|
|
1167
|
-
children: [
|
|
1874
|
+
children: [u == null ? /* @__PURE__ */ p("video", {
|
|
1168
1875
|
className: $.Still,
|
|
1169
|
-
src: `${
|
|
1876
|
+
src: `${c}#t=0.1`,
|
|
1170
1877
|
preload: "metadata",
|
|
1171
1878
|
muted: !0,
|
|
1172
1879
|
playsInline: !0,
|
|
1173
1880
|
"aria-hidden": !0,
|
|
1174
1881
|
tabIndex: -1
|
|
1175
|
-
}) : /* @__PURE__ */
|
|
1882
|
+
}) : /* @__PURE__ */ p("img", {
|
|
1176
1883
|
className: $.Still,
|
|
1177
|
-
src:
|
|
1884
|
+
src: u,
|
|
1178
1885
|
alt: ""
|
|
1179
|
-
}), /* @__PURE__ */
|
|
1886
|
+
}), /* @__PURE__ */ m(E.Root, { children: [/* @__PURE__ */ p(E.Trigger, { render: /* @__PURE__ */ p(D, {
|
|
1180
1887
|
variant: "elevated",
|
|
1181
1888
|
color: "secondary",
|
|
1182
1889
|
"aria-label": w.play,
|
|
1183
1890
|
className: $.Play,
|
|
1184
|
-
children: /* @__PURE__ */
|
|
1185
|
-
}) }), /* @__PURE__ */
|
|
1891
|
+
children: /* @__PURE__ */ p(l, { "aria-hidden": !0 })
|
|
1892
|
+
}) }), /* @__PURE__ */ m(E.Portal, { children: [/* @__PURE__ */ p(E.Backdrop, {}), /* @__PURE__ */ p(E.Viewport, {
|
|
1186
1893
|
className: $.DialogViewport,
|
|
1187
|
-
children: /* @__PURE__ */
|
|
1894
|
+
children: /* @__PURE__ */ m(E.Popup, {
|
|
1188
1895
|
size: "lg",
|
|
1189
1896
|
"aria-label": w.video,
|
|
1190
1897
|
className: $.DialogPopup,
|
|
1191
|
-
children: [/* @__PURE__ */
|
|
1898
|
+
children: [/* @__PURE__ */ p(E.Close, { render: /* @__PURE__ */ p(D, {
|
|
1192
1899
|
variant: "elevated",
|
|
1193
1900
|
color: "secondary",
|
|
1194
1901
|
"aria-label": w.close,
|
|
1195
1902
|
className: $.Close,
|
|
1196
|
-
children: /* @__PURE__ */
|
|
1197
|
-
}) }), /* @__PURE__ */
|
|
1903
|
+
children: /* @__PURE__ */ p(d, { "aria-hidden": !0 })
|
|
1904
|
+
}) }), /* @__PURE__ */ p("video", {
|
|
1198
1905
|
className: $.DialogVideo,
|
|
1199
|
-
src:
|
|
1906
|
+
src: c,
|
|
1200
1907
|
controls: !0,
|
|
1201
1908
|
autoPlay: !0,
|
|
1202
1909
|
playsInline: !0,
|
|
1203
|
-
children:
|
|
1910
|
+
children: g != null && /* @__PURE__ */ p("track", {
|
|
1204
1911
|
kind: "captions",
|
|
1205
|
-
src:
|
|
1912
|
+
src: g,
|
|
1206
1913
|
srcLang: w.captionsLanguage,
|
|
1207
1914
|
label: w.captionsLabel,
|
|
1208
1915
|
default: !0
|
|
@@ -1212,15 +1919,15 @@ function Me({ title: t, titleRender: n, subtitle: r, quote: s, name: l, meta: u,
|
|
|
1212
1919
|
})] })] })]
|
|
1213
1920
|
})]
|
|
1214
1921
|
}),
|
|
1215
|
-
|
|
1922
|
+
ne && /* @__PURE__ */ p(Se, {
|
|
1216
1923
|
...t == null ? { "aria-label": w.reviews } : { "aria-labelledby": T },
|
|
1217
|
-
children:
|
|
1924
|
+
children: S
|
|
1218
1925
|
})
|
|
1219
1926
|
] })
|
|
1220
1927
|
}
|
|
1221
1928
|
});
|
|
1222
1929
|
}
|
|
1223
1930
|
//#endregion
|
|
1224
|
-
export {
|
|
1931
|
+
export { fe as AlertBanner, ge as BrandLetters, _e as Calculator, Se as Carousel, Ce as CtaBanner, je as ExpandingCards, Me as ExpandingCardsItem, Ne as Hero, Pe as HeroServiceGrid, Fe as NavigationGrid, Le as PartnerList, Re as PaymentFeature, Be as PromoGrid, Ue as Section, We as SectionHeader, Ke as ServiceCardGrid, Ye as SideNav, dt as SiteFooter, vt as SiteHeader, yt as SplitContent, bt as Stats, Ct as Testimonials };
|
|
1225
1932
|
|
|
1226
1933
|
//# sourceMappingURL=website.mjs.map
|