@leabankab/component-library 8.12.0 → 8.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/CHANGELOG.md +26 -0
- package/dist/component-library.es.js +1045 -920
- 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/buttons/action-button/action-button.d.ts +25 -2
- package/dist/components/data-display/featured-image/featured-image.d.ts +13 -2
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/form/search-input/search-input.d.ts +51 -0
- package/dist/components/form/slider/slider.d.ts +28 -3
- package/dist/components/form/slider-parts.d.ts +16 -8
- package/dist/cookie-consent-react.cjs +1 -1
- package/dist/cookie-consent-react.cjs.map +1 -1
- package/dist/cookie-consent-react.mjs +8 -8
- package/dist/cookie-consent-react.mjs.map +1 -1
- package/dist/cookie-consent.css +1 -1
- package/dist/index.css +1 -1
- package/dist/tailwind.css +127 -0
- package/dist/website/arrow-reveal-link.d.ts +11 -4
- package/dist/website/calculator/calculator.d.ts +2 -1
- package/dist/website/expanding-cards/expanding-cards-item.d.ts +34 -3
- package/dist/website/payment-feature/payment-feature.d.ts +5 -4
- package/dist/website/side-nav/side-nav.d.ts +5 -2
- package/dist/website.cjs +1 -1
- package/dist/website.cjs.map +1 -1
- package/dist/website.css +1 -1
- package/dist/website.mjs +287 -263
- package/dist/website.mjs.map +1 -1
- package/package.json +1 -1
package/dist/website.mjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { useRender as e } from "@base-ui/react/use-render";
|
|
3
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
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,
|
|
6
|
-
import {
|
|
5
|
+
import { Children as h, Fragment as g, cloneElement as _, createContext as v, useCallback as y, useContext as b, useEffect as x, useId as S, useMemo as C, useRef as w, useState as T, useSyncExternalStore as ee } from "react";
|
|
6
|
+
import { ActionButtonProvider as te, BrandDivider as ne, Dialog as E, FeaturedImage as re, IconButton as D, PaginationDots as ie, Panel as ae, PartnerRow as oe, Select as se, StarRating as ce, createTranslation as O } from "./component-library.es.js";
|
|
7
7
|
import { NavigationMenu as k } from "@base-ui/react/navigation-menu";
|
|
8
|
-
import { Collapsible as
|
|
8
|
+
import { Collapsible as le } from "@base-ui/react/collapsible";
|
|
9
9
|
import { Drawer as A } from "@base-ui/react/drawer";
|
|
10
10
|
import './website.css';//#region src/website/paragraphs.tsx
|
|
11
11
|
function j({ className: e, id: t, children: n }) {
|
|
@@ -24,7 +24,7 @@ var M = {
|
|
|
24
24
|
};
|
|
25
25
|
//#endregion
|
|
26
26
|
//#region src/website/alert-banner/alert-banner.tsx
|
|
27
|
-
function
|
|
27
|
+
function ue({ render: t, children: n }) {
|
|
28
28
|
return e({
|
|
29
29
|
render: t,
|
|
30
30
|
defaultTagName: "h2",
|
|
@@ -34,7 +34,7 @@ function de({ render: t, children: n }) {
|
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function de({ title: e, text: t, titleRender: n, icon: r, color: i = "error", className: a, ...o }) {
|
|
38
38
|
let s = r === void 0 ? /* @__PURE__ */ p(u, {}) : r;
|
|
39
39
|
return /* @__PURE__ */ m("div", {
|
|
40
40
|
...o,
|
|
@@ -46,7 +46,7 @@ function fe({ title: e, text: t, titleRender: n, icon: r, color: i = "error", cl
|
|
|
46
46
|
children: s
|
|
47
47
|
}), /* @__PURE__ */ m("div", {
|
|
48
48
|
className: M.Content,
|
|
49
|
-
children: [e != null && /* @__PURE__ */ p(
|
|
49
|
+
children: [e != null && /* @__PURE__ */ p(ue, {
|
|
50
50
|
render: n,
|
|
51
51
|
children: e
|
|
52
52
|
}), t != null && /* @__PURE__ */ p(j, {
|
|
@@ -58,12 +58,12 @@ function fe({ title: e, text: t, titleRender: n, icon: r, color: i = "error", cl
|
|
|
58
58
|
}
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region src/utils/merge-class-name.ts
|
|
61
|
-
var N = (e, t) => (n) => [e, typeof t == "function" ? t(n) : t].filter(Boolean).join(" "),
|
|
61
|
+
var N = (e, t) => (n) => [e, typeof t == "function" ? t(n) : t].filter(Boolean).join(" "), P = {
|
|
62
62
|
BrandLetters: "_BrandLetters_1ygg1_9",
|
|
63
63
|
Letters: "_Letters_1ygg1_17",
|
|
64
64
|
Letter: "_Letter_1ygg1_17",
|
|
65
65
|
Video: "_Video_1ygg1_48"
|
|
66
|
-
},
|
|
66
|
+
}, fe = O({
|
|
67
67
|
play: {
|
|
68
68
|
no: "Spill av videoene",
|
|
69
69
|
se: "Spela upp videorna",
|
|
@@ -76,19 +76,19 @@ var N = (e, t) => (n) => [e, typeof t == "function" ? t(n) : t].filter(Boolean).
|
|
|
76
76
|
fi: "Keskeytä videot",
|
|
77
77
|
es: "Pausar los vídeos"
|
|
78
78
|
}
|
|
79
|
-
}),
|
|
79
|
+
}), pe = "(prefers-reduced-motion: reduce)", me = [
|
|
80
80
|
"L",
|
|
81
81
|
"E",
|
|
82
82
|
"A"
|
|
83
83
|
];
|
|
84
|
-
function
|
|
85
|
-
let o =
|
|
84
|
+
function he({ videos: t, render: n, ref: r, className: i, ...a }) {
|
|
85
|
+
let o = fe(), s = w([]), [u, d] = T(!1), h = (e) => {
|
|
86
86
|
for (let t of s.current) t && e(t);
|
|
87
87
|
}, g = (e) => {
|
|
88
88
|
e.muted = !0, e.play().catch(() => {});
|
|
89
89
|
};
|
|
90
|
-
|
|
91
|
-
let e = window.matchMedia(
|
|
90
|
+
x(() => {
|
|
91
|
+
let e = window.matchMedia(pe);
|
|
92
92
|
e.matches || h(g);
|
|
93
93
|
let t = (e) => {
|
|
94
94
|
e.matches && h((e) => e.pause());
|
|
@@ -104,17 +104,17 @@ function _e({ videos: t, render: n, ref: r, className: i, ...a }) {
|
|
|
104
104
|
defaultTagName: "div",
|
|
105
105
|
props: {
|
|
106
106
|
...a,
|
|
107
|
-
className: N(
|
|
107
|
+
className: N(P.BrandLetters, i)({}),
|
|
108
108
|
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
|
|
109
|
-
className:
|
|
110
|
-
children:
|
|
111
|
-
className:
|
|
109
|
+
className: P.Letters,
|
|
110
|
+
children: me.map((e, n) => /* @__PURE__ */ p("div", {
|
|
111
|
+
className: P.Letter,
|
|
112
112
|
"data-letter": e,
|
|
113
113
|
children: /* @__PURE__ */ p("video", {
|
|
114
114
|
ref: (e) => {
|
|
115
115
|
s.current[n] = e;
|
|
116
116
|
},
|
|
117
|
-
className:
|
|
117
|
+
className: P.Video,
|
|
118
118
|
src: t[n].src,
|
|
119
119
|
poster: t[n].poster,
|
|
120
120
|
muted: !0,
|
|
@@ -135,7 +135,7 @@ function _e({ videos: t, render: n, ref: r, className: i, ...a }) {
|
|
|
135
135
|
}
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
|
-
var
|
|
138
|
+
var F = {
|
|
139
139
|
Calculator: "_Calculator_1mamd_12",
|
|
140
140
|
Body: "_Body_1mamd_26",
|
|
141
141
|
Panel: "_Panel_1mamd_41",
|
|
@@ -149,38 +149,38 @@ var P = {
|
|
|
149
149
|
};
|
|
150
150
|
//#endregion
|
|
151
151
|
//#region src/website/calculator/calculator.tsx
|
|
152
|
-
function
|
|
152
|
+
function ge({ header: t, results: n, action: r, priceExample: i, render: a, ref: o, className: s, children: c, ...l }) {
|
|
153
153
|
return e({
|
|
154
154
|
render: a,
|
|
155
155
|
ref: o,
|
|
156
156
|
defaultTagName: "div",
|
|
157
157
|
props: {
|
|
158
158
|
...l,
|
|
159
|
-
className: N(
|
|
159
|
+
className: N(F.Calculator, s)({}),
|
|
160
160
|
children: /* @__PURE__ */ m(f, { children: [t, /* @__PURE__ */ m("div", {
|
|
161
|
-
className:
|
|
161
|
+
className: F.Body,
|
|
162
162
|
children: [/* @__PURE__ */ p("div", {
|
|
163
|
-
className:
|
|
163
|
+
className: F.Panel,
|
|
164
164
|
children: c
|
|
165
165
|
}), /* @__PURE__ */ m("div", {
|
|
166
|
-
className:
|
|
166
|
+
className: F.Summary,
|
|
167
167
|
children: [n.length > 0 && /* @__PURE__ */ p("dl", {
|
|
168
|
-
className:
|
|
168
|
+
className: F.Results,
|
|
169
169
|
"aria-live": "polite",
|
|
170
170
|
children: n.map((e, t) => /* @__PURE__ */ m("div", {
|
|
171
|
-
className:
|
|
171
|
+
className: F.Result,
|
|
172
172
|
children: [/* @__PURE__ */ p("dt", {
|
|
173
|
-
className:
|
|
173
|
+
className: F.Label,
|
|
174
174
|
children: e.label
|
|
175
175
|
}), /* @__PURE__ */ p("dd", {
|
|
176
|
-
className:
|
|
176
|
+
className: F.Value,
|
|
177
177
|
children: e.value
|
|
178
178
|
})]
|
|
179
179
|
}, t))
|
|
180
180
|
}), (r != null || i != null) && /* @__PURE__ */ m("div", {
|
|
181
|
-
className:
|
|
181
|
+
className: F.Actions,
|
|
182
182
|
children: [r, i != null && /* @__PURE__ */ p("p", {
|
|
183
|
-
className:
|
|
183
|
+
className: F.Price,
|
|
184
184
|
children: i
|
|
185
185
|
})]
|
|
186
186
|
})]
|
|
@@ -189,19 +189,19 @@ function ve({ header: t, results: n, action: r, priceExample: i, render: a, ref:
|
|
|
189
189
|
}
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
|
-
var
|
|
192
|
+
var I = {
|
|
193
193
|
Carousel: "_Carousel_17a24_14",
|
|
194
194
|
Viewport: "_Viewport_17a24_31",
|
|
195
195
|
Track: "_Track_17a24_66",
|
|
196
196
|
Slide: "_Slide_17a24_94",
|
|
197
197
|
Controls: "_Controls_17a24_100",
|
|
198
198
|
VisuallyHidden: "_VisuallyHidden_17a24_109"
|
|
199
|
-
},
|
|
199
|
+
}, _e = {
|
|
200
200
|
fast: "0.15s",
|
|
201
201
|
normal: "0.2s",
|
|
202
202
|
emphasis: "0.3s"
|
|
203
|
-
},
|
|
204
|
-
function
|
|
203
|
+
}, ve = "(prefers-reduced-motion: reduce)", ye = 150, be = parseFloat(_e.emphasis) * 1e3;
|
|
204
|
+
function xe(e) {
|
|
205
205
|
let t = (e, t, n) => 3 * t * e * (1 - e) ** 2 + 3 * n * e ** 2 * (1 - e) + e ** 3, n = 0, r = 1;
|
|
206
206
|
for (let i = 0; i < 20; i += 1) {
|
|
207
207
|
let i = (n + r) / 2;
|
|
@@ -209,7 +209,7 @@ function Ce(e) {
|
|
|
209
209
|
}
|
|
210
210
|
return t((n + r) / 2, 0, 1);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function Se(e, t) {
|
|
213
213
|
let n = w([0]), r = w(void 0), i = w(void 0), [a, o] = T(() => ({
|
|
214
214
|
pageCount: Math.max(1, t - 1),
|
|
215
215
|
page: 0,
|
|
@@ -218,7 +218,7 @@ function we(e, t) {
|
|
|
218
218
|
atEnd: t <= 2,
|
|
219
219
|
overflowing: t > 2,
|
|
220
220
|
moved: !1
|
|
221
|
-
})), s =
|
|
221
|
+
})), s = y((t, r = !1) => {
|
|
222
222
|
let i = e.current;
|
|
223
223
|
if (!i) return;
|
|
224
224
|
let a = i.scrollLeft, s = Math.max(0, i.scrollWidth - i.clientWidth), c = n.current, l = 0;
|
|
@@ -235,7 +235,7 @@ function we(e, t) {
|
|
|
235
235
|
};
|
|
236
236
|
return Object.keys(n).every((t) => n[t] === e[t]) ? e : n;
|
|
237
237
|
});
|
|
238
|
-
}, [e]), c =
|
|
238
|
+
}, [e]), c = y(() => {
|
|
239
239
|
let t = e.current;
|
|
240
240
|
if (!t) return;
|
|
241
241
|
let r = Math.max(0, t.scrollWidth - t.clientWidth), i = Array.from(t.children), a = i[0]?.offsetLeft ?? 0, o = [];
|
|
@@ -244,15 +244,15 @@ function we(e, t) {
|
|
|
244
244
|
(o.length === 0 || t - o[o.length - 1] > 1) && o.push(t);
|
|
245
245
|
}
|
|
246
246
|
n.current = o.length > 0 ? o : [0], s(!0);
|
|
247
|
-
}, [s, e]), l =
|
|
247
|
+
}, [s, e]), l = y(() => {
|
|
248
248
|
i.current && (cancelAnimationFrame(i.current.frame), i.current = void 0, e.current?.style.removeProperty("scroll-snap-type"));
|
|
249
249
|
}, [e]);
|
|
250
|
-
|
|
250
|
+
x(() => {
|
|
251
251
|
let t = e.current;
|
|
252
252
|
if (!t) return;
|
|
253
253
|
c();
|
|
254
254
|
let n = () => {
|
|
255
|
-
s(!1, !0), clearTimeout(r.current), r.current = setTimeout(() => s(!0),
|
|
255
|
+
s(!1, !0), clearTimeout(r.current), r.current = setTimeout(() => s(!0), ye);
|
|
256
256
|
}, i = new ResizeObserver(c), a = [
|
|
257
257
|
"pointerdown",
|
|
258
258
|
"touchstart",
|
|
@@ -273,14 +273,14 @@ function we(e, t) {
|
|
|
273
273
|
l,
|
|
274
274
|
e
|
|
275
275
|
]);
|
|
276
|
-
let u =
|
|
276
|
+
let u = y((t) => {
|
|
277
277
|
let r = e.current;
|
|
278
278
|
if (!r) return;
|
|
279
279
|
let a = n.current, o = a[Math.min(a.length - 1, Math.max(0, t))];
|
|
280
280
|
if (i.current?.to === o) return;
|
|
281
281
|
l();
|
|
282
282
|
let s = r.scrollLeft;
|
|
283
|
-
if (window.matchMedia(
|
|
283
|
+
if (window.matchMedia(ve).matches || Math.abs(o - s) < 1) {
|
|
284
284
|
r.scrollTo({
|
|
285
285
|
left: o,
|
|
286
286
|
behavior: "instant"
|
|
@@ -289,9 +289,9 @@ function we(e, t) {
|
|
|
289
289
|
}
|
|
290
290
|
r.style.setProperty("scroll-snap-type", "none");
|
|
291
291
|
let c = performance.now(), u = (e) => {
|
|
292
|
-
let t = Math.min(1, (e - c) /
|
|
292
|
+
let t = Math.min(1, (e - c) / be);
|
|
293
293
|
r.scrollTo({
|
|
294
|
-
left: s + (o - s) *
|
|
294
|
+
left: s + (o - s) * xe(t),
|
|
295
295
|
behavior: "instant"
|
|
296
296
|
}), t < 1 ? i.current = {
|
|
297
297
|
frame: requestAnimationFrame(u),
|
|
@@ -310,7 +310,7 @@ function we(e, t) {
|
|
|
310
310
|
}
|
|
311
311
|
//#endregion
|
|
312
312
|
//#region src/website/carousel/use-carousel-labels.ts
|
|
313
|
-
var
|
|
313
|
+
var Ce = O({
|
|
314
314
|
carousel: {
|
|
315
315
|
no: "karusell",
|
|
316
316
|
se: "karusell",
|
|
@@ -338,8 +338,8 @@ var Te = O({
|
|
|
338
338
|
});
|
|
339
339
|
//#endregion
|
|
340
340
|
//#region src/website/carousel/carousel.tsx
|
|
341
|
-
function
|
|
342
|
-
let l =
|
|
341
|
+
function we({ getItemLabel: t, render: n, ref: r, className: o, children: s, ...c }) {
|
|
342
|
+
let l = Ce(), u = w(null), d = h.toArray(s), { pageCount: g, page: _, settledPage: v, atStart: y, atEnd: b, overflowing: x, moved: S, goTo: C } = Se(u, d.length);
|
|
343
343
|
return e({
|
|
344
344
|
render: n,
|
|
345
345
|
ref: r,
|
|
@@ -348,22 +348,22 @@ function Ee({ getItemLabel: t, render: n, ref: r, className: o, children: s, ...
|
|
|
348
348
|
role: "region",
|
|
349
349
|
"aria-roledescription": l.carousel,
|
|
350
350
|
...c,
|
|
351
|
-
className: N(
|
|
351
|
+
className: N(I.Carousel, o)({}),
|
|
352
352
|
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
|
|
353
|
-
className:
|
|
353
|
+
className: I.Viewport,
|
|
354
354
|
"data-at-start": y || void 0,
|
|
355
355
|
"data-at-end": b || void 0,
|
|
356
356
|
children: /* @__PURE__ */ p("ul", {
|
|
357
357
|
ref: u,
|
|
358
|
-
className:
|
|
358
|
+
className: I.Track,
|
|
359
359
|
tabIndex: x ? 0 : void 0,
|
|
360
360
|
children: d.map((e, t) => /* @__PURE__ */ p("li", {
|
|
361
|
-
className:
|
|
361
|
+
className: I.Slide,
|
|
362
362
|
children: e
|
|
363
363
|
}, t))
|
|
364
364
|
})
|
|
365
365
|
}), g > 1 && /* @__PURE__ */ m("div", {
|
|
366
|
-
className:
|
|
366
|
+
className: I.Controls,
|
|
367
367
|
children: [
|
|
368
368
|
/* @__PURE__ */ p(D, {
|
|
369
369
|
variant: "elevated",
|
|
@@ -374,7 +374,7 @@ function Ee({ getItemLabel: t, render: n, ref: r, className: o, children: s, ...
|
|
|
374
374
|
onClick: () => C(_ - 1),
|
|
375
375
|
children: /* @__PURE__ */ p(i, { "aria-hidden": !0 })
|
|
376
376
|
}),
|
|
377
|
-
/* @__PURE__ */ p(
|
|
377
|
+
/* @__PURE__ */ p(ie, {
|
|
378
378
|
count: g,
|
|
379
379
|
value: _ + 1,
|
|
380
380
|
onValueChange: (e) => C(e - 1),
|
|
@@ -391,7 +391,7 @@ function Ee({ getItemLabel: t, render: n, ref: r, className: o, children: s, ...
|
|
|
391
391
|
}),
|
|
392
392
|
/* @__PURE__ */ p("span", {
|
|
393
393
|
role: "status",
|
|
394
|
-
className:
|
|
394
|
+
className: I.VisuallyHidden,
|
|
395
395
|
children: S && l.status.replace("{page}", String(v + 1)).replace("{count}", String(g))
|
|
396
396
|
})
|
|
397
397
|
]
|
|
@@ -399,7 +399,7 @@ function Ee({ getItemLabel: t, render: n, ref: r, className: o, children: s, ...
|
|
|
399
399
|
}
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
|
-
var
|
|
402
|
+
var L = {
|
|
403
403
|
CtaBanner: "_CtaBanner_vkp5c_7",
|
|
404
404
|
Title: "_Title_vkp5c_15",
|
|
405
405
|
Content: "_Content_vkp5c_24",
|
|
@@ -409,12 +409,12 @@ var I = {
|
|
|
409
409
|
};
|
|
410
410
|
//#endregion
|
|
411
411
|
//#region src/website/cta-banner/cta-banner.tsx
|
|
412
|
-
function
|
|
412
|
+
function Te({ title: t, titleRender: n, text: r, action: i, priceExample: a, render: o, ref: s, className: c, ...l }) {
|
|
413
413
|
let u = e({
|
|
414
414
|
render: n,
|
|
415
415
|
defaultTagName: "h2",
|
|
416
416
|
props: {
|
|
417
|
-
className:
|
|
417
|
+
className: L.Title,
|
|
418
418
|
children: t
|
|
419
419
|
}
|
|
420
420
|
}), d = r != null || i != null || a != null;
|
|
@@ -425,20 +425,20 @@ function De({ title: t, titleRender: n, text: r, action: i, priceExample: a, ren
|
|
|
425
425
|
props: {
|
|
426
426
|
...l,
|
|
427
427
|
"data-has-content": d || void 0,
|
|
428
|
-
className: N(
|
|
428
|
+
className: N(L.CtaBanner, c)({}),
|
|
429
429
|
children: /* @__PURE__ */ m(f, { children: [u, d && /* @__PURE__ */ m("div", {
|
|
430
|
-
className:
|
|
430
|
+
className: L.Content,
|
|
431
431
|
children: [
|
|
432
432
|
r != null && /* @__PURE__ */ p(j, {
|
|
433
|
-
className:
|
|
433
|
+
className: L.Text,
|
|
434
434
|
children: r
|
|
435
435
|
}),
|
|
436
436
|
i != null && /* @__PURE__ */ p("div", {
|
|
437
|
-
className:
|
|
437
|
+
className: L.Action,
|
|
438
438
|
children: i
|
|
439
439
|
}),
|
|
440
440
|
a != null && /* @__PURE__ */ p("p", {
|
|
441
|
-
className:
|
|
441
|
+
className: L.Price,
|
|
442
442
|
children: a
|
|
443
443
|
})
|
|
444
444
|
]
|
|
@@ -448,33 +448,33 @@ function De({ title: t, titleRender: n, text: r, action: i, priceExample: a, ren
|
|
|
448
448
|
}
|
|
449
449
|
//#endregion
|
|
450
450
|
//#region src/website/expanding-cards/expanding-cards-context.ts
|
|
451
|
-
var
|
|
452
|
-
ExpandingCards: "
|
|
453
|
-
List: "
|
|
454
|
-
Item: "
|
|
455
|
-
},
|
|
456
|
-
let t = window.matchMedia(
|
|
451
|
+
var Ee = v({ open: !0 }), De = {
|
|
452
|
+
ExpandingCards: "_ExpandingCards_s83zm_19",
|
|
453
|
+
List: "_List_s83zm_23",
|
|
454
|
+
Item: "_Item_s83zm_32"
|
|
455
|
+
}, Oe = "(min-width: 1312px)", ke = { open: !0 }, Ae = { open: !1 }, je = (e) => {
|
|
456
|
+
let t = window.matchMedia(Oe);
|
|
457
457
|
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
|
|
458
|
-
},
|
|
459
|
-
function
|
|
460
|
-
let s = h.toArray(a), c =
|
|
458
|
+
}, Me = () => ee(je, () => window.matchMedia(Oe).matches, () => !0);
|
|
459
|
+
function Ne({ defaultOpen: t = "first", render: n, ref: r, className: i, children: a, ...o }) {
|
|
460
|
+
let s = h.toArray(a), c = Me(), [l, u] = T(() => t === "last" ? Math.max(0, s.length - 1) : 0);
|
|
461
461
|
return e({
|
|
462
462
|
render: n,
|
|
463
463
|
ref: r,
|
|
464
464
|
defaultTagName: "div",
|
|
465
465
|
props: {
|
|
466
466
|
...o,
|
|
467
|
-
className: N(
|
|
467
|
+
className: N(De.ExpandingCards, i)({}),
|
|
468
468
|
children: /* @__PURE__ */ p("ul", {
|
|
469
|
-
className:
|
|
469
|
+
className: De.List,
|
|
470
470
|
style: { "--expanding-cards-count": s.length },
|
|
471
471
|
children: s.map((e, t) => /* @__PURE__ */ p("li", {
|
|
472
|
-
className:
|
|
472
|
+
className: De.Item,
|
|
473
473
|
"data-open": t === l || void 0,
|
|
474
474
|
onPointerEnter: () => u(t),
|
|
475
475
|
onFocus: () => u(t),
|
|
476
|
-
children: /* @__PURE__ */ p(
|
|
477
|
-
value: !c || t === l ?
|
|
476
|
+
children: /* @__PURE__ */ p(Ee.Provider, {
|
|
477
|
+
value: !c || t === l ? ke : Ae,
|
|
478
478
|
children: e
|
|
479
479
|
})
|
|
480
480
|
}, t))
|
|
@@ -482,66 +482,71 @@ function Fe({ defaultOpen: t = "first", render: n, ref: r, className: i, childre
|
|
|
482
482
|
}
|
|
483
483
|
});
|
|
484
484
|
}
|
|
485
|
-
var
|
|
486
|
-
ExpandingCardsItem: "
|
|
487
|
-
Content: "
|
|
488
|
-
Title: "
|
|
489
|
-
Text: "
|
|
490
|
-
Action: "
|
|
491
|
-
Photo: "
|
|
492
|
-
Image: "
|
|
485
|
+
var R = {
|
|
486
|
+
ExpandingCardsItem: "_ExpandingCardsItem_qsobf_25",
|
|
487
|
+
Content: "_Content_qsobf_61",
|
|
488
|
+
Title: "_Title_qsobf_78",
|
|
489
|
+
Text: "_Text_qsobf_89",
|
|
490
|
+
Action: "_Action_qsobf_107",
|
|
491
|
+
Photo: "_Photo_qsobf_118",
|
|
492
|
+
Image: "_Image_qsobf_125"
|
|
493
493
|
};
|
|
494
494
|
//#endregion
|
|
495
495
|
//#region src/website/expanding-cards/expanding-cards-item.tsx
|
|
496
|
-
function
|
|
497
|
-
let { open:
|
|
496
|
+
function Pe({ title: t, titleRender: n, text: r, action: i, src: a, alt: o, imageRender: s, imageAsBackground: c = !1, imageMotion: l = "zoom", surface: u = "base", render: d, ref: h, className: g, ..._ }) {
|
|
497
|
+
let { open: v } = b(Ee), y = e({
|
|
498
498
|
render: n,
|
|
499
499
|
defaultTagName: "h2",
|
|
500
500
|
props: {
|
|
501
|
-
className:
|
|
501
|
+
className: R.Title,
|
|
502
502
|
children: t
|
|
503
503
|
}
|
|
504
|
-
}),
|
|
504
|
+
}), x = e({
|
|
505
505
|
enabled: a != null,
|
|
506
506
|
render: s,
|
|
507
507
|
defaultTagName: "img",
|
|
508
508
|
props: {
|
|
509
509
|
src: a,
|
|
510
510
|
alt: o,
|
|
511
|
-
className:
|
|
511
|
+
className: R.Image
|
|
512
512
|
}
|
|
513
|
-
}), S =
|
|
513
|
+
}), S = a != null && c;
|
|
514
514
|
return e({
|
|
515
|
-
render:
|
|
516
|
-
ref:
|
|
515
|
+
render: d,
|
|
516
|
+
ref: h,
|
|
517
517
|
defaultTagName: "div",
|
|
518
518
|
props: {
|
|
519
|
-
...
|
|
520
|
-
"data-surface":
|
|
521
|
-
"data-open":
|
|
519
|
+
..._,
|
|
520
|
+
"data-surface": u,
|
|
521
|
+
"data-open": v || void 0,
|
|
522
522
|
"data-image": a != null || void 0,
|
|
523
|
-
|
|
523
|
+
"data-image-as-background": S || void 0,
|
|
524
|
+
"data-image-motion": S ? l : void 0,
|
|
525
|
+
className: N(R.ExpandingCardsItem, g)({}),
|
|
524
526
|
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
|
|
525
|
-
className:
|
|
527
|
+
className: R.Content,
|
|
526
528
|
children: [
|
|
527
|
-
|
|
529
|
+
y,
|
|
528
530
|
r != null && /* @__PURE__ */ p(j, {
|
|
529
|
-
className:
|
|
531
|
+
className: R.Text,
|
|
530
532
|
children: r
|
|
531
533
|
}),
|
|
532
534
|
i != null && /* @__PURE__ */ p("div", {
|
|
533
|
-
className:
|
|
534
|
-
children:
|
|
535
|
+
className: R.Action,
|
|
536
|
+
children: /* @__PURE__ */ p(te, {
|
|
537
|
+
iconOnly: !v,
|
|
538
|
+
children: i
|
|
539
|
+
})
|
|
535
540
|
})
|
|
536
541
|
]
|
|
537
|
-
}),
|
|
538
|
-
className:
|
|
539
|
-
children:
|
|
542
|
+
}), x != null && /* @__PURE__ */ p("div", {
|
|
543
|
+
className: R.Photo,
|
|
544
|
+
children: x
|
|
540
545
|
})] })
|
|
541
546
|
}
|
|
542
547
|
});
|
|
543
548
|
}
|
|
544
|
-
var
|
|
549
|
+
var z = {
|
|
545
550
|
Hero: "_Hero_1ik22_8",
|
|
546
551
|
Background: "_Background_1ik22_24",
|
|
547
552
|
Image: "_Image_1ik22_30",
|
|
@@ -554,12 +559,12 @@ var R = {
|
|
|
554
559
|
};
|
|
555
560
|
//#endregion
|
|
556
561
|
//#region src/website/hero/hero.tsx
|
|
557
|
-
function
|
|
562
|
+
function Fe({ src: t, alt: n, imageRender: r, title: i, titleRender: a, text: o, action: s, priceExample: c, render: l, ref: u, className: d, ...h }) {
|
|
558
563
|
let g = e({
|
|
559
564
|
render: a,
|
|
560
565
|
defaultTagName: "h1",
|
|
561
566
|
props: {
|
|
562
|
-
className:
|
|
567
|
+
className: z.Title,
|
|
563
568
|
children: i
|
|
564
569
|
}
|
|
565
570
|
}), _ = e({
|
|
@@ -568,7 +573,7 @@ function Le({ src: t, alt: n, imageRender: r, title: i, titleRender: a, text: o,
|
|
|
568
573
|
props: {
|
|
569
574
|
src: t,
|
|
570
575
|
alt: n,
|
|
571
|
-
className:
|
|
576
|
+
className: z.Image
|
|
572
577
|
}
|
|
573
578
|
});
|
|
574
579
|
return e({
|
|
@@ -577,35 +582,35 @@ function Le({ src: t, alt: n, imageRender: r, title: i, titleRender: a, text: o,
|
|
|
577
582
|
defaultTagName: "section",
|
|
578
583
|
props: {
|
|
579
584
|
...h,
|
|
580
|
-
className: N(
|
|
585
|
+
className: N(z.Hero, d)({}),
|
|
581
586
|
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
|
|
582
|
-
className:
|
|
583
|
-
children: /* @__PURE__ */ m(
|
|
584
|
-
className:
|
|
587
|
+
className: z.Container,
|
|
588
|
+
children: /* @__PURE__ */ m(ae, {
|
|
589
|
+
className: z.Box,
|
|
585
590
|
children: [
|
|
586
591
|
g,
|
|
587
592
|
o != null && /* @__PURE__ */ p(j, {
|
|
588
|
-
className:
|
|
593
|
+
className: z.Text,
|
|
589
594
|
children: o
|
|
590
595
|
}),
|
|
591
596
|
s != null && /* @__PURE__ */ p("div", {
|
|
592
|
-
className:
|
|
597
|
+
className: z.Action,
|
|
593
598
|
children: s
|
|
594
599
|
}),
|
|
595
600
|
c != null && /* @__PURE__ */ p("p", {
|
|
596
|
-
className:
|
|
601
|
+
className: z.Price,
|
|
597
602
|
children: c
|
|
598
603
|
})
|
|
599
604
|
]
|
|
600
605
|
})
|
|
601
606
|
}), /* @__PURE__ */ p("div", {
|
|
602
|
-
className:
|
|
607
|
+
className: z.Background,
|
|
603
608
|
children: _
|
|
604
609
|
})] })
|
|
605
610
|
}
|
|
606
611
|
});
|
|
607
612
|
}
|
|
608
|
-
var
|
|
613
|
+
var B = {
|
|
609
614
|
HeroServiceGrid: "_HeroServiceGrid_yr3eo_8",
|
|
610
615
|
Cards: "_Cards_yr3eo_15",
|
|
611
616
|
Item: "_Item_yr3eo_26",
|
|
@@ -613,7 +618,7 @@ var z = {
|
|
|
613
618
|
};
|
|
614
619
|
//#endregion
|
|
615
620
|
//#region src/website/hero-service-grid/hero-service-grid.tsx
|
|
616
|
-
function
|
|
621
|
+
function Ie({ src: t, alt: n, imageRender: r, action: i, imagePosition: a = "start", render: o, ref: s, className: c, children: l, ...u }) {
|
|
617
622
|
let d = h.toArray(l);
|
|
618
623
|
return e({
|
|
619
624
|
render: o,
|
|
@@ -622,24 +627,24 @@ function Re({ src: t, alt: n, imageRender: r, action: i, imagePosition: a = "sta
|
|
|
622
627
|
props: {
|
|
623
628
|
...u,
|
|
624
629
|
"data-image-position": a,
|
|
625
|
-
className: N(
|
|
626
|
-
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(
|
|
627
|
-
className:
|
|
630
|
+
className: N(B.HeroServiceGrid, c)({}),
|
|
631
|
+
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(re, {
|
|
632
|
+
className: B.Featured,
|
|
628
633
|
src: t,
|
|
629
634
|
alt: n,
|
|
630
635
|
imageRender: r,
|
|
631
636
|
action: i
|
|
632
637
|
}), d.length > 0 && /* @__PURE__ */ p("ul", {
|
|
633
|
-
className:
|
|
638
|
+
className: B.Cards,
|
|
634
639
|
children: d.map((e, t) => /* @__PURE__ */ p("li", {
|
|
635
|
-
className:
|
|
640
|
+
className: B.Item,
|
|
636
641
|
children: e
|
|
637
642
|
}, t))
|
|
638
643
|
})] })
|
|
639
644
|
}
|
|
640
645
|
});
|
|
641
646
|
}
|
|
642
|
-
var
|
|
647
|
+
var V = {
|
|
643
648
|
NavigationGrid: "_NavigationGrid_ocatr_9",
|
|
644
649
|
Title: "_Title_ocatr_16",
|
|
645
650
|
List: "_List_ocatr_25",
|
|
@@ -647,13 +652,13 @@ var B = {
|
|
|
647
652
|
};
|
|
648
653
|
//#endregion
|
|
649
654
|
//#region src/website/navigation-grid/navigation-grid.tsx
|
|
650
|
-
function
|
|
655
|
+
function Le({ title: t, titleRender: n, render: r, ref: i, className: a, children: o, ...s }) {
|
|
651
656
|
let c = h.toArray(o), l = c.length >= 3 && c.length % 2 == 1, u = e({
|
|
652
657
|
enabled: t != null,
|
|
653
658
|
render: n,
|
|
654
659
|
defaultTagName: "h2",
|
|
655
660
|
props: {
|
|
656
|
-
className:
|
|
661
|
+
className: V.Title,
|
|
657
662
|
children: t
|
|
658
663
|
}
|
|
659
664
|
});
|
|
@@ -663,24 +668,24 @@ function ze({ title: t, titleRender: n, render: r, ref: i, className: a, childre
|
|
|
663
668
|
defaultTagName: "div",
|
|
664
669
|
props: {
|
|
665
670
|
...s,
|
|
666
|
-
className: N(
|
|
671
|
+
className: N(V.NavigationGrid, a)({}),
|
|
667
672
|
children: /* @__PURE__ */ m(f, { children: [u, /* @__PURE__ */ p("ul", {
|
|
668
|
-
className:
|
|
673
|
+
className: V.List,
|
|
669
674
|
"data-odd": l || void 0,
|
|
670
675
|
children: c.map((e, t) => /* @__PURE__ */ p("li", {
|
|
671
|
-
className:
|
|
676
|
+
className: V.Item,
|
|
672
677
|
children: e
|
|
673
678
|
}, t))
|
|
674
679
|
})] })
|
|
675
680
|
}
|
|
676
681
|
});
|
|
677
682
|
}
|
|
678
|
-
var
|
|
683
|
+
var H = {
|
|
679
684
|
PartnerList: "_PartnerList_9o9wx_7",
|
|
680
685
|
List: "_List_9o9wx_11",
|
|
681
686
|
Controls: "_Controls_9o9wx_19",
|
|
682
687
|
VisuallyHidden: "_VisuallyHidden_9o9wx_29"
|
|
683
|
-
},
|
|
688
|
+
}, Re = O({
|
|
684
689
|
previous: {
|
|
685
690
|
no: "Forrige side",
|
|
686
691
|
se: "Föregående sida",
|
|
@@ -708,11 +713,11 @@ var V = {
|
|
|
708
713
|
});
|
|
709
714
|
//#endregion
|
|
710
715
|
//#region src/website/partner-list/partner-list.tsx
|
|
711
|
-
function
|
|
712
|
-
let h =
|
|
716
|
+
function ze({ items: t, pageSize: n = 9, value: r, defaultValue: o = 1, onValueChange: s, render: c, ref: l, className: u, ...d }) {
|
|
717
|
+
let h = Re(), [g, _] = T(o), v = C(() => {
|
|
713
718
|
let e = new Intl.Collator(h.collation, { sensitivity: "base" });
|
|
714
719
|
return [...t].sort((t, n) => e.compare(t.name, n.name));
|
|
715
|
-
}, [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,
|
|
720
|
+
}, [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, w = (e) => {
|
|
716
721
|
let t = Math.min(b, Math.max(1, e));
|
|
717
722
|
r === void 0 && _(t), t !== x && s?.(t);
|
|
718
723
|
};
|
|
@@ -723,16 +728,16 @@ function Ve({ items: t, pageSize: n = 9, value: r, defaultValue: o = 1, onValueC
|
|
|
723
728
|
defaultTagName: "div",
|
|
724
729
|
props: {
|
|
725
730
|
...d,
|
|
726
|
-
className: N(
|
|
731
|
+
className: N(H.PartnerList, u)({}),
|
|
727
732
|
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("ul", {
|
|
728
|
-
className:
|
|
729
|
-
children: v.slice(S, S + y).map(({ name: e, content: t, ...n }, r) => /* @__PURE__ */ p(
|
|
733
|
+
className: H.List,
|
|
734
|
+
children: v.slice(S, S + y).map(({ name: e, content: t, ...n }, r) => /* @__PURE__ */ p(oe, {
|
|
730
735
|
...n,
|
|
731
736
|
render: /* @__PURE__ */ p("li", {}),
|
|
732
737
|
children: t
|
|
733
738
|
}, `${S + r}-${e}`))
|
|
734
739
|
}), b > 1 && /* @__PURE__ */ m("div", {
|
|
735
|
-
className:
|
|
740
|
+
className: H.Controls,
|
|
736
741
|
children: [
|
|
737
742
|
/* @__PURE__ */ p(D, {
|
|
738
743
|
variant: "elevated",
|
|
@@ -740,13 +745,13 @@ function Ve({ items: t, pageSize: n = 9, value: r, defaultValue: o = 1, onValueC
|
|
|
740
745
|
"aria-label": h.previous,
|
|
741
746
|
disabled: x === 1,
|
|
742
747
|
focusableWhenDisabled: !0,
|
|
743
|
-
onClick: () =>
|
|
748
|
+
onClick: () => w(x - 1),
|
|
744
749
|
children: /* @__PURE__ */ p(i, { "aria-hidden": !0 })
|
|
745
750
|
}),
|
|
746
|
-
/* @__PURE__ */ p(
|
|
751
|
+
/* @__PURE__ */ p(ie, {
|
|
747
752
|
count: b,
|
|
748
753
|
value: x,
|
|
749
|
-
onValueChange:
|
|
754
|
+
onValueChange: w
|
|
750
755
|
}),
|
|
751
756
|
/* @__PURE__ */ p(D, {
|
|
752
757
|
variant: "elevated",
|
|
@@ -754,12 +759,12 @@ function Ve({ items: t, pageSize: n = 9, value: r, defaultValue: o = 1, onValueC
|
|
|
754
759
|
"aria-label": h.next,
|
|
755
760
|
disabled: x === b,
|
|
756
761
|
focusableWhenDisabled: !0,
|
|
757
|
-
onClick: () =>
|
|
762
|
+
onClick: () => w(x + 1),
|
|
758
763
|
children: /* @__PURE__ */ p(a, { "aria-hidden": !0 })
|
|
759
764
|
}),
|
|
760
765
|
/* @__PURE__ */ p("span", {
|
|
761
766
|
role: "status",
|
|
762
|
-
className:
|
|
767
|
+
className: H.VisuallyHidden,
|
|
763
768
|
children: h.status.replace("{page}", String(x)).replace("{count}", String(b))
|
|
764
769
|
})
|
|
765
770
|
]
|
|
@@ -767,29 +772,29 @@ function Ve({ items: t, pageSize: n = 9, value: r, defaultValue: o = 1, onValueC
|
|
|
767
772
|
}
|
|
768
773
|
});
|
|
769
774
|
}
|
|
770
|
-
var
|
|
771
|
-
Grid: "
|
|
772
|
-
Content: "
|
|
773
|
-
Logos: "
|
|
774
|
-
LogoItem: "
|
|
775
|
-
Logo: "
|
|
776
|
-
Text: "
|
|
777
|
-
Title: "
|
|
778
|
-
Description: "
|
|
779
|
-
Actions: "
|
|
780
|
-
Price: "
|
|
781
|
-
Media: "
|
|
782
|
-
PaymentFeature: "
|
|
783
|
-
Image: "
|
|
775
|
+
var U = {
|
|
776
|
+
Grid: "_Grid_1inyv_10",
|
|
777
|
+
Content: "_Content_1inyv_17",
|
|
778
|
+
Logos: "_Logos_1inyv_28",
|
|
779
|
+
LogoItem: "_LogoItem_1inyv_38",
|
|
780
|
+
Logo: "_Logo_1inyv_28",
|
|
781
|
+
Text: "_Text_1inyv_65",
|
|
782
|
+
Title: "_Title_1inyv_71",
|
|
783
|
+
Description: "_Description_1inyv_80",
|
|
784
|
+
Actions: "_Actions_1inyv_96",
|
|
785
|
+
Price: "_Price_1inyv_103",
|
|
786
|
+
Media: "_Media_1inyv_111",
|
|
787
|
+
PaymentFeature: "_PaymentFeature_1inyv_116",
|
|
788
|
+
Image: "_Image_1inyv_120"
|
|
784
789
|
};
|
|
785
790
|
//#endregion
|
|
786
791
|
//#region src/website/payment-feature/payment-feature.tsx
|
|
787
|
-
function
|
|
792
|
+
function Be({ logos: t, title: n, titleRender: r, text: i, actions: a, priceExample: o, src: s, alt: c, imageRender: l, imagePosition: u = "end", className: d, ...f }) {
|
|
788
793
|
let h = e({
|
|
789
794
|
render: r,
|
|
790
795
|
defaultTagName: "h2",
|
|
791
796
|
props: {
|
|
792
|
-
className:
|
|
797
|
+
className: U.Title,
|
|
793
798
|
children: n
|
|
794
799
|
}
|
|
795
800
|
}), g = e({
|
|
@@ -799,62 +804,62 @@ function He({ logos: t, title: n, titleRender: r, text: i, actions: a, priceExam
|
|
|
799
804
|
props: {
|
|
800
805
|
src: s,
|
|
801
806
|
alt: c,
|
|
802
|
-
className:
|
|
807
|
+
className: U.Image
|
|
803
808
|
}
|
|
804
809
|
});
|
|
805
|
-
return /* @__PURE__ */ p(
|
|
810
|
+
return /* @__PURE__ */ p(ae, {
|
|
806
811
|
...f,
|
|
807
|
-
className: [
|
|
812
|
+
className: [U.PaymentFeature, d].filter(Boolean).join(" "),
|
|
808
813
|
"data-image-position": u,
|
|
809
814
|
"data-has-image": g != null || void 0,
|
|
810
815
|
children: /* @__PURE__ */ m("div", {
|
|
811
|
-
className:
|
|
816
|
+
className: U.Grid,
|
|
812
817
|
children: [/* @__PURE__ */ m("div", {
|
|
813
|
-
className:
|
|
818
|
+
className: U.Content,
|
|
814
819
|
children: [
|
|
815
820
|
t != null && t.length > 0 && /* @__PURE__ */ p("ul", {
|
|
816
|
-
className:
|
|
817
|
-
children: t.map((e, t) => /* @__PURE__ */ p(
|
|
821
|
+
className: U.Logos,
|
|
822
|
+
children: t.map((e, t) => /* @__PURE__ */ p(Ve, { ...e }, t))
|
|
818
823
|
}),
|
|
819
824
|
/* @__PURE__ */ m("div", {
|
|
820
|
-
className:
|
|
825
|
+
className: U.Text,
|
|
821
826
|
children: [h, i != null && /* @__PURE__ */ p(j, {
|
|
822
|
-
className:
|
|
827
|
+
className: U.Description,
|
|
823
828
|
children: i
|
|
824
829
|
})]
|
|
825
830
|
}),
|
|
826
831
|
a != null && /* @__PURE__ */ p("div", {
|
|
827
|
-
className:
|
|
832
|
+
className: U.Actions,
|
|
828
833
|
children: a
|
|
829
834
|
}),
|
|
830
835
|
o != null && /* @__PURE__ */ p("p", {
|
|
831
|
-
className:
|
|
836
|
+
className: U.Price,
|
|
832
837
|
children: o
|
|
833
838
|
})
|
|
834
839
|
]
|
|
835
840
|
}), g != null && /* @__PURE__ */ p("div", {
|
|
836
|
-
className:
|
|
841
|
+
className: U.Media,
|
|
837
842
|
children: g
|
|
838
843
|
})]
|
|
839
844
|
})
|
|
840
845
|
});
|
|
841
846
|
}
|
|
842
|
-
function
|
|
847
|
+
function Ve({ src: t, alt: n, imageRender: r }) {
|
|
843
848
|
let i = e({
|
|
844
849
|
render: r,
|
|
845
850
|
defaultTagName: "img",
|
|
846
851
|
props: {
|
|
847
852
|
src: t,
|
|
848
853
|
alt: n,
|
|
849
|
-
className:
|
|
854
|
+
className: U.Logo
|
|
850
855
|
}
|
|
851
856
|
});
|
|
852
857
|
return /* @__PURE__ */ p("li", {
|
|
853
|
-
className:
|
|
858
|
+
className: U.LogoItem,
|
|
854
859
|
children: i
|
|
855
860
|
});
|
|
856
861
|
}
|
|
857
|
-
var
|
|
862
|
+
var W = {
|
|
858
863
|
PromoGrid: "_PromoGrid_1l2yi_10",
|
|
859
864
|
Featured: "_Featured_1l2yi_19",
|
|
860
865
|
Content: "_Content_1l2yi_23",
|
|
@@ -866,12 +871,12 @@ var U = {
|
|
|
866
871
|
};
|
|
867
872
|
//#endregion
|
|
868
873
|
//#region src/website/promo-grid/promo-grid.tsx
|
|
869
|
-
function
|
|
874
|
+
function He({ 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 }) {
|
|
870
875
|
let _ = e({
|
|
871
876
|
render: s,
|
|
872
877
|
defaultTagName: "h2",
|
|
873
878
|
props: {
|
|
874
|
-
className:
|
|
879
|
+
className: W.Title,
|
|
875
880
|
children: o
|
|
876
881
|
}
|
|
877
882
|
});
|
|
@@ -882,23 +887,23 @@ function We({ src: t, alt: n, imageRender: r, action: i, images: a, title: o, ti
|
|
|
882
887
|
props: {
|
|
883
888
|
...g,
|
|
884
889
|
"data-image-position": l,
|
|
885
|
-
className: N(
|
|
886
|
-
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(
|
|
887
|
-
className:
|
|
890
|
+
className: N(W.PromoGrid, h)({}),
|
|
891
|
+
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(re, {
|
|
892
|
+
className: W.Featured,
|
|
888
893
|
src: t,
|
|
889
894
|
alt: n,
|
|
890
895
|
imageRender: r,
|
|
891
896
|
action: i
|
|
892
897
|
}), /* @__PURE__ */ m("div", {
|
|
893
|
-
className:
|
|
898
|
+
className: W.Content,
|
|
894
899
|
children: [a != null && a.length > 0 && /* @__PURE__ */ p("div", {
|
|
895
|
-
className:
|
|
900
|
+
className: W.Photos,
|
|
896
901
|
"data-count": a.length,
|
|
897
|
-
children: a.map((e, t) => /* @__PURE__ */ p(
|
|
902
|
+
children: a.map((e, t) => /* @__PURE__ */ p(Ue, { ...e }, t))
|
|
898
903
|
}), /* @__PURE__ */ m("div", {
|
|
899
|
-
className:
|
|
904
|
+
className: W.Block,
|
|
900
905
|
children: [_, c != null && /* @__PURE__ */ p(j, {
|
|
901
|
-
className:
|
|
906
|
+
className: W.Subtitle,
|
|
902
907
|
children: c
|
|
903
908
|
})]
|
|
904
909
|
})]
|
|
@@ -906,24 +911,24 @@ function We({ src: t, alt: n, imageRender: r, action: i, images: a, title: o, ti
|
|
|
906
911
|
}
|
|
907
912
|
});
|
|
908
913
|
}
|
|
909
|
-
function
|
|
914
|
+
function Ue({ src: t, alt: n, imageRender: r }) {
|
|
910
915
|
return e({
|
|
911
916
|
render: r,
|
|
912
917
|
defaultTagName: "img",
|
|
913
918
|
props: {
|
|
914
919
|
src: t,
|
|
915
920
|
alt: n,
|
|
916
|
-
className:
|
|
921
|
+
className: W.Photo
|
|
917
922
|
}
|
|
918
923
|
});
|
|
919
924
|
}
|
|
920
|
-
var
|
|
925
|
+
var We = {
|
|
921
926
|
Section: "_Section_f8rp9_11",
|
|
922
927
|
Content: "_Content_f8rp9_60"
|
|
923
928
|
};
|
|
924
929
|
//#endregion
|
|
925
930
|
//#region src/website/section/section.tsx
|
|
926
|
-
function
|
|
931
|
+
function Ge({ surface: t = "base", spacingTop: n = "lg", spacingBottom: r = "lg", width: i = "full", render: a, ref: o, className: s, children: c, ...l }) {
|
|
927
932
|
return e({
|
|
928
933
|
render: a,
|
|
929
934
|
ref: o,
|
|
@@ -933,16 +938,16 @@ function qe({ surface: t = "base", spacingTop: n = "lg", spacingBottom: r = "lg"
|
|
|
933
938
|
"data-surface": t,
|
|
934
939
|
"data-spacing-top": n,
|
|
935
940
|
"data-spacing-bottom": r,
|
|
936
|
-
className: N(
|
|
941
|
+
className: N(We.Section, s)({}),
|
|
937
942
|
children: /* @__PURE__ */ p("div", {
|
|
938
|
-
className:
|
|
943
|
+
className: We.Content,
|
|
939
944
|
"data-width": i,
|
|
940
945
|
children: c
|
|
941
946
|
})
|
|
942
947
|
}
|
|
943
948
|
});
|
|
944
949
|
}
|
|
945
|
-
var
|
|
950
|
+
var G = {
|
|
946
951
|
SectionHeader: "_SectionHeader_11mff_8",
|
|
947
952
|
Text: "_Text_11mff_17",
|
|
948
953
|
Eyebrow: "_Eyebrow_11mff_25",
|
|
@@ -953,12 +958,12 @@ var W = {
|
|
|
953
958
|
};
|
|
954
959
|
//#endregion
|
|
955
960
|
//#region src/website/section-header/section-header.tsx
|
|
956
|
-
function
|
|
961
|
+
function Ke({ eyebrow: t, title: n, titleRender: r, titleSize: i = "lg", subtitle: a, actions: o, priceExample: s, render: c, ref: l, className: u, ...d }) {
|
|
957
962
|
let h = e({
|
|
958
963
|
render: r,
|
|
959
964
|
defaultTagName: "h2",
|
|
960
965
|
props: {
|
|
961
|
-
className:
|
|
966
|
+
className: G.Title,
|
|
962
967
|
children: n
|
|
963
968
|
}
|
|
964
969
|
});
|
|
@@ -969,42 +974,42 @@ function Je({ eyebrow: t, title: n, titleRender: r, titleSize: i = "lg", subtitl
|
|
|
969
974
|
props: {
|
|
970
975
|
...d,
|
|
971
976
|
"data-title-size": i,
|
|
972
|
-
className: N(
|
|
977
|
+
className: N(G.SectionHeader, u)({}),
|
|
973
978
|
children: /* @__PURE__ */ m(f, { children: [
|
|
974
979
|
/* @__PURE__ */ m("div", {
|
|
975
|
-
className:
|
|
980
|
+
className: G.Text,
|
|
976
981
|
children: [
|
|
977
982
|
t != null && /* @__PURE__ */ p("p", {
|
|
978
|
-
className:
|
|
983
|
+
className: G.Eyebrow,
|
|
979
984
|
children: t
|
|
980
985
|
}),
|
|
981
986
|
h,
|
|
982
987
|
a != null && /* @__PURE__ */ p(j, {
|
|
983
|
-
className:
|
|
988
|
+
className: G.Subtitle,
|
|
984
989
|
children: a
|
|
985
990
|
})
|
|
986
991
|
]
|
|
987
992
|
}),
|
|
988
993
|
o != null && /* @__PURE__ */ p("div", {
|
|
989
|
-
className:
|
|
994
|
+
className: G.Actions,
|
|
990
995
|
children: o
|
|
991
996
|
}),
|
|
992
997
|
s != null && /* @__PURE__ */ p("p", {
|
|
993
|
-
className:
|
|
998
|
+
className: G.Price,
|
|
994
999
|
children: s
|
|
995
1000
|
})
|
|
996
1001
|
] })
|
|
997
1002
|
}
|
|
998
1003
|
});
|
|
999
1004
|
}
|
|
1000
|
-
var
|
|
1005
|
+
var qe = {
|
|
1001
1006
|
ServiceCardGrid: "_ServiceCardGrid_nutvc_9",
|
|
1002
1007
|
List: "_List_nutvc_13",
|
|
1003
1008
|
Item: "_Item_nutvc_23"
|
|
1004
1009
|
};
|
|
1005
1010
|
//#endregion
|
|
1006
1011
|
//#region src/website/service-card-grid/service-card-grid.tsx
|
|
1007
|
-
function
|
|
1012
|
+
function Je({ render: t, ref: n, className: r, children: i, ...a }) {
|
|
1008
1013
|
let o = h.toArray(i);
|
|
1009
1014
|
return e({
|
|
1010
1015
|
render: t,
|
|
@@ -1012,50 +1017,51 @@ function Xe({ render: t, ref: n, className: r, children: i, ...a }) {
|
|
|
1012
1017
|
defaultTagName: "div",
|
|
1013
1018
|
props: {
|
|
1014
1019
|
...a,
|
|
1015
|
-
className: N(
|
|
1020
|
+
className: N(qe.ServiceCardGrid, r)({}),
|
|
1016
1021
|
children: /* @__PURE__ */ p("ul", {
|
|
1017
|
-
className:
|
|
1022
|
+
className: qe.List,
|
|
1018
1023
|
"data-count": o.length,
|
|
1019
1024
|
children: o.map((e, t) => /* @__PURE__ */ p("li", {
|
|
1020
|
-
className:
|
|
1025
|
+
className: qe.Item,
|
|
1021
1026
|
children: e
|
|
1022
1027
|
}, t))
|
|
1023
1028
|
})
|
|
1024
1029
|
}
|
|
1025
1030
|
});
|
|
1026
1031
|
}
|
|
1027
|
-
var
|
|
1028
|
-
ArrowRevealLink: "
|
|
1029
|
-
Arrow: "
|
|
1030
|
-
Text: "
|
|
1032
|
+
var Ye = {
|
|
1033
|
+
ArrowRevealLink: "_ArrowRevealLink_zq26l_2",
|
|
1034
|
+
Arrow: "_Arrow_zq26l_2",
|
|
1035
|
+
Text: "_Text_zq26l_40"
|
|
1031
1036
|
};
|
|
1032
1037
|
//#endregion
|
|
1033
1038
|
//#region src/website/arrow-reveal-link.tsx
|
|
1034
|
-
function
|
|
1039
|
+
function K({ render: n, className: r, children: i, size: a = "md", marked: o = !1, ...s }) {
|
|
1035
1040
|
return e({
|
|
1036
1041
|
render: n,
|
|
1037
1042
|
defaultTagName: "a",
|
|
1038
1043
|
props: {
|
|
1039
|
-
...
|
|
1044
|
+
...s,
|
|
1040
1045
|
"data-size": a === "md" ? void 0 : a,
|
|
1041
|
-
|
|
1046
|
+
"data-marked": o ? "" : void 0,
|
|
1047
|
+
className: N(Ye.ArrowRevealLink, r)({}),
|
|
1042
1048
|
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("span", {
|
|
1043
1049
|
"aria-hidden": !0,
|
|
1044
|
-
className:
|
|
1050
|
+
className: Ye.Arrow,
|
|
1045
1051
|
children: /* @__PURE__ */ p(t, {})
|
|
1046
1052
|
}), /* @__PURE__ */ p("span", {
|
|
1047
|
-
className:
|
|
1053
|
+
className: Ye.Text,
|
|
1048
1054
|
children: i
|
|
1049
1055
|
})] })
|
|
1050
1056
|
}
|
|
1051
1057
|
});
|
|
1052
1058
|
}
|
|
1053
|
-
var
|
|
1059
|
+
var q = {
|
|
1054
1060
|
SideNav: "_SideNav_1ha5v_6",
|
|
1055
1061
|
Sidebar: "_Sidebar_1ha5v_29",
|
|
1056
1062
|
List: "_List_1ha5v_44",
|
|
1057
1063
|
Content: "_Content_1ha5v_61"
|
|
1058
|
-
},
|
|
1064
|
+
}, Xe = O({ navigation: {
|
|
1059
1065
|
no: "Sidemeny",
|
|
1060
1066
|
se: "Sidomeny",
|
|
1061
1067
|
fi: "Sivuvalikko",
|
|
@@ -1063,35 +1069,53 @@ var K = {
|
|
|
1063
1069
|
} });
|
|
1064
1070
|
//#endregion
|
|
1065
1071
|
//#region src/website/side-nav/side-nav.tsx
|
|
1066
|
-
function
|
|
1067
|
-
let o =
|
|
1068
|
-
|
|
1072
|
+
function Ze({ items: e, label: t, breadcrumbs: n, children: r, className: i, ...a }) {
|
|
1073
|
+
let o = Xe(), s = e.findIndex((e) => e.current), [c, l] = T(null);
|
|
1074
|
+
c && c.from !== s && l(null);
|
|
1075
|
+
let u = c?.index ?? s;
|
|
1076
|
+
return x(() => {
|
|
1077
|
+
let e = (e) => {
|
|
1078
|
+
e.persisted && l(null);
|
|
1079
|
+
};
|
|
1080
|
+
return window.addEventListener("pageshow", e), () => window.removeEventListener("pageshow", e);
|
|
1081
|
+
}, []), /* @__PURE__ */ m("div", {
|
|
1069
1082
|
...a,
|
|
1070
|
-
className: [
|
|
1083
|
+
className: [q.SideNav, i].filter(Boolean).join(" "),
|
|
1071
1084
|
children: [/* @__PURE__ */ p("nav", {
|
|
1072
|
-
className:
|
|
1085
|
+
className: q.Sidebar,
|
|
1073
1086
|
"aria-label": t ?? o.navigation,
|
|
1074
1087
|
children: /* @__PURE__ */ p("ul", {
|
|
1075
|
-
className:
|
|
1076
|
-
children: e.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(
|
|
1088
|
+
className: q.List,
|
|
1089
|
+
children: e.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
|
|
1077
1090
|
size: "lg",
|
|
1078
1091
|
href: e.href,
|
|
1079
1092
|
render: e.render,
|
|
1080
1093
|
"aria-current": e.current ? "page" : void 0,
|
|
1094
|
+
marked: t === u,
|
|
1095
|
+
onClick: (e) => {
|
|
1096
|
+
Qe(e) && l({
|
|
1097
|
+
index: t,
|
|
1098
|
+
from: s
|
|
1099
|
+
});
|
|
1100
|
+
},
|
|
1081
1101
|
children: e.label
|
|
1082
1102
|
}) }, t))
|
|
1083
1103
|
})
|
|
1084
|
-
}), /* @__PURE__ */ m(
|
|
1104
|
+
}), /* @__PURE__ */ m(ae, {
|
|
1085
1105
|
size: "sm",
|
|
1086
|
-
className:
|
|
1106
|
+
className: q.Content,
|
|
1087
1107
|
children: [n, r]
|
|
1088
1108
|
})]
|
|
1089
1109
|
});
|
|
1090
1110
|
}
|
|
1111
|
+
function Qe(e) {
|
|
1112
|
+
let t = e.currentTarget, n = t.getAttribute("target");
|
|
1113
|
+
return !e.defaultPrevented && e.button === 0 && !e.metaKey && !e.ctrlKey && !e.shiftKey && !e.altKey && (!n || n === "_self") && !t.hasAttribute("download");
|
|
1114
|
+
}
|
|
1091
1115
|
//#endregion
|
|
1092
1116
|
//#region src/website/site-footer/flags.tsx
|
|
1093
|
-
var
|
|
1094
|
-
function
|
|
1117
|
+
var $e = "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", et = "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";
|
|
1118
|
+
function tt({ children: e, ...t }) {
|
|
1095
1119
|
return /* @__PURE__ */ p("svg", {
|
|
1096
1120
|
width: "20",
|
|
1097
1121
|
height: "20",
|
|
@@ -1104,11 +1128,11 @@ function q({ children: e, ...t }) {
|
|
|
1104
1128
|
});
|
|
1105
1129
|
}
|
|
1106
1130
|
function nt(e) {
|
|
1107
|
-
return /* @__PURE__ */ m(
|
|
1131
|
+
return /* @__PURE__ */ m(tt, {
|
|
1108
1132
|
...e,
|
|
1109
1133
|
children: [
|
|
1110
1134
|
/* @__PURE__ */ p("path", {
|
|
1111
|
-
d:
|
|
1135
|
+
d: $e,
|
|
1112
1136
|
fill: "#F0F0F0"
|
|
1113
1137
|
}),
|
|
1114
1138
|
/* @__PURE__ */ p("path", {
|
|
@@ -1128,18 +1152,18 @@ function nt(e) {
|
|
|
1128
1152
|
fill: "#D80027"
|
|
1129
1153
|
}),
|
|
1130
1154
|
/* @__PURE__ */ p("path", {
|
|
1131
|
-
d:
|
|
1155
|
+
d: et,
|
|
1132
1156
|
fill: "#0052B4"
|
|
1133
1157
|
})
|
|
1134
1158
|
]
|
|
1135
1159
|
});
|
|
1136
1160
|
}
|
|
1137
1161
|
function rt(e) {
|
|
1138
|
-
return /* @__PURE__ */ m(
|
|
1162
|
+
return /* @__PURE__ */ m(tt, {
|
|
1139
1163
|
...e,
|
|
1140
1164
|
children: [
|
|
1141
1165
|
/* @__PURE__ */ p("path", {
|
|
1142
|
-
d:
|
|
1166
|
+
d: $e,
|
|
1143
1167
|
fill: "#FFDA44"
|
|
1144
1168
|
}),
|
|
1145
1169
|
/* @__PURE__ */ p("path", {
|
|
@@ -1162,19 +1186,19 @@ function rt(e) {
|
|
|
1162
1186
|
});
|
|
1163
1187
|
}
|
|
1164
1188
|
function it(e) {
|
|
1165
|
-
return /* @__PURE__ */ m(
|
|
1189
|
+
return /* @__PURE__ */ m(tt, {
|
|
1166
1190
|
...e,
|
|
1167
1191
|
children: [/* @__PURE__ */ p("path", {
|
|
1168
|
-
d:
|
|
1192
|
+
d: $e,
|
|
1169
1193
|
fill: "#F0F0F0"
|
|
1170
1194
|
}), /* @__PURE__ */ p("path", {
|
|
1171
|
-
d:
|
|
1195
|
+
d: et,
|
|
1172
1196
|
fill: "#0052B4"
|
|
1173
1197
|
})]
|
|
1174
1198
|
});
|
|
1175
1199
|
}
|
|
1176
1200
|
function at(e) {
|
|
1177
|
-
return /* @__PURE__ */ m(
|
|
1201
|
+
return /* @__PURE__ */ m(tt, {
|
|
1178
1202
|
...e,
|
|
1179
1203
|
children: [
|
|
1180
1204
|
/* @__PURE__ */ p("path", {
|
|
@@ -1305,7 +1329,7 @@ function ft({ render: t, id: n, children: r }) {
|
|
|
1305
1329
|
});
|
|
1306
1330
|
}
|
|
1307
1331
|
function pt({ market: e, render: t }) {
|
|
1308
|
-
let n = ct(), r =
|
|
1332
|
+
let n = ct(), r = S(), i = e.options ?? dt, a = C(() => {
|
|
1309
1333
|
let e = new Intl.Collator(n.collation, { sensitivity: "base" });
|
|
1310
1334
|
return [...i].sort((t, n) => e.compare(ut[t].name, ut[n].name)).map((e) => ({
|
|
1311
1335
|
value: e,
|
|
@@ -1317,7 +1341,7 @@ function pt({ market: e, render: t }) {
|
|
|
1317
1341
|
render: t,
|
|
1318
1342
|
id: r,
|
|
1319
1343
|
children: e.title ?? n.market
|
|
1320
|
-
}), /* @__PURE__ */ p(
|
|
1344
|
+
}), /* @__PURE__ */ p(se, {
|
|
1321
1345
|
size: "sm",
|
|
1322
1346
|
"aria-labelledby": r,
|
|
1323
1347
|
options: a,
|
|
@@ -1437,28 +1461,28 @@ var X = {
|
|
|
1437
1461
|
}, ht = "(min-width: 1312px)";
|
|
1438
1462
|
function gt({ item: e, open: t, onOpenChange: i }) {
|
|
1439
1463
|
let a = e.groups.flatMap((e) => e.links), o = e.groups.flatMap((e) => e.cta == null ? [] : [e.cta]);
|
|
1440
|
-
return /* @__PURE__ */ m(
|
|
1464
|
+
return /* @__PURE__ */ m(le.Root, {
|
|
1441
1465
|
open: t,
|
|
1442
1466
|
onOpenChange: i,
|
|
1443
|
-
children: [/* @__PURE__ */ m(
|
|
1467
|
+
children: [/* @__PURE__ */ m(le.Trigger, {
|
|
1444
1468
|
className: X.Row,
|
|
1445
1469
|
children: [e.label, /* @__PURE__ */ p(r, {
|
|
1446
1470
|
"aria-hidden": !0,
|
|
1447
1471
|
className: X.RowChevron
|
|
1448
1472
|
})]
|
|
1449
|
-
}), /* @__PURE__ */ p(
|
|
1473
|
+
}), /* @__PURE__ */ p(le.Panel, {
|
|
1450
1474
|
className: X.SubmenuPanel,
|
|
1451
1475
|
children: /* @__PURE__ */ m("div", {
|
|
1452
1476
|
className: X.Submenu,
|
|
1453
1477
|
children: [
|
|
1454
1478
|
(st(e) || a.length > 0) && /* @__PURE__ */ m("ul", {
|
|
1455
1479
|
className: X.Links,
|
|
1456
|
-
children: [st(e) && /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(
|
|
1480
|
+
children: [st(e) && /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
|
|
1457
1481
|
className: X.Parent,
|
|
1458
1482
|
href: e.href,
|
|
1459
1483
|
render: e.render,
|
|
1460
1484
|
children: e.label
|
|
1461
|
-
}) }), a.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(
|
|
1485
|
+
}) }), a.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
|
|
1462
1486
|
href: e.href,
|
|
1463
1487
|
render: e.render,
|
|
1464
1488
|
children: e.label
|
|
@@ -1503,7 +1527,7 @@ function _t({ items: e }) {
|
|
|
1503
1527
|
}
|
|
1504
1528
|
function vt({ items: e, home: t, account: n }) {
|
|
1505
1529
|
let r = lt(), [i, a] = T(!1);
|
|
1506
|
-
return
|
|
1530
|
+
return x(() => {
|
|
1507
1531
|
if (!i) return;
|
|
1508
1532
|
let e = window.matchMedia(ht), t = () => {
|
|
1509
1533
|
e.matches && a(!1);
|
|
@@ -1544,7 +1568,7 @@ function vt({ items: e, home: t, account: n }) {
|
|
|
1544
1568
|
})
|
|
1545
1569
|
]
|
|
1546
1570
|
})
|
|
1547
|
-
}), /* @__PURE__ */ p(
|
|
1571
|
+
}), /* @__PURE__ */ p(ne, { size: "sm" })]
|
|
1548
1572
|
}), /* @__PURE__ */ p(A.Content, {
|
|
1549
1573
|
className: X.MenuContent,
|
|
1550
1574
|
children: /* @__PURE__ */ p(_t, { items: e })
|
|
@@ -1556,7 +1580,7 @@ function vt({ items: e, home: t, account: n }) {
|
|
|
1556
1580
|
//#endregion
|
|
1557
1581
|
//#region src/website/site-header/site-header.tsx
|
|
1558
1582
|
function yt({ group: e }) {
|
|
1559
|
-
let t =
|
|
1583
|
+
let t = S(), r = e.title != null, i = e.links.length > 0;
|
|
1560
1584
|
return /* @__PURE__ */ m("div", {
|
|
1561
1585
|
className: X.Group,
|
|
1562
1586
|
children: [
|
|
@@ -1568,7 +1592,7 @@ function yt({ group: e }) {
|
|
|
1568
1592
|
i && /* @__PURE__ */ p("ul", {
|
|
1569
1593
|
className: X.Links,
|
|
1570
1594
|
"aria-labelledby": r ? t : void 0,
|
|
1571
|
-
children: e.links.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(
|
|
1595
|
+
children: e.links.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
|
|
1572
1596
|
render: /* @__PURE__ */ p(k.Link, {
|
|
1573
1597
|
closeOnClick: !0,
|
|
1574
1598
|
href: e.href,
|
|
@@ -1685,7 +1709,7 @@ function xt({ logo: e, homeRender: t, items: n, endItems: r = [], account: i, ac
|
|
|
1685
1709
|
})
|
|
1686
1710
|
]
|
|
1687
1711
|
})
|
|
1688
|
-
}), /* @__PURE__ */ p(
|
|
1712
|
+
}), /* @__PURE__ */ p(ne, { size: "sm" })]
|
|
1689
1713
|
});
|
|
1690
1714
|
}
|
|
1691
1715
|
var Z = {
|
|
@@ -1877,19 +1901,19 @@ var $ = {
|
|
|
1877
1901
|
});
|
|
1878
1902
|
//#endregion
|
|
1879
1903
|
//#region src/website/testimonials/testimonials.tsx
|
|
1880
|
-
function Et({ 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:
|
|
1881
|
-
let
|
|
1904
|
+
function Et({ 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: C, ...w }) {
|
|
1905
|
+
let T = Tt(), ee = S(), te = i != null || a != null, ne = h.toArray(C).length > 0;
|
|
1882
1906
|
return e({
|
|
1883
1907
|
render: y,
|
|
1884
1908
|
ref: b,
|
|
1885
1909
|
defaultTagName: "div",
|
|
1886
1910
|
props: {
|
|
1887
|
-
...
|
|
1911
|
+
...w,
|
|
1888
1912
|
className: N($.Testimonials, x)({}),
|
|
1889
1913
|
children: /* @__PURE__ */ m(f, { children: [
|
|
1890
|
-
t != null && /* @__PURE__ */ p(
|
|
1914
|
+
t != null && /* @__PURE__ */ p(Ke, {
|
|
1891
1915
|
title: t,
|
|
1892
|
-
titleRender: _(n ?? /* @__PURE__ */ p("h2", {}), { id:
|
|
1916
|
+
titleRender: _(n ?? /* @__PURE__ */ p("h2", {}), { id: ee }),
|
|
1893
1917
|
subtitle: r
|
|
1894
1918
|
}),
|
|
1895
1919
|
(te || c != null) && /* @__PURE__ */ m("div", {
|
|
@@ -1899,7 +1923,7 @@ function Et({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o,
|
|
|
1899
1923
|
children: [te && /* @__PURE__ */ m("figure", {
|
|
1900
1924
|
className: $.Quote,
|
|
1901
1925
|
children: [
|
|
1902
|
-
s != null && /* @__PURE__ */ p(
|
|
1926
|
+
s != null && /* @__PURE__ */ p(ce, { rating: s }),
|
|
1903
1927
|
i != null && /* @__PURE__ */ p("blockquote", {
|
|
1904
1928
|
className: $.Blockquote,
|
|
1905
1929
|
children: typeof i == "string" || typeof i == "number" ? /* @__PURE__ */ p("p", { children: i }) : i
|
|
@@ -1932,19 +1956,19 @@ function Et({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o,
|
|
|
1932
1956
|
}), /* @__PURE__ */ m(E.Root, { children: [/* @__PURE__ */ p(E.Trigger, { render: /* @__PURE__ */ p(D, {
|
|
1933
1957
|
variant: "elevated",
|
|
1934
1958
|
color: "secondary",
|
|
1935
|
-
"aria-label":
|
|
1959
|
+
"aria-label": T.play,
|
|
1936
1960
|
className: $.Play,
|
|
1937
1961
|
children: /* @__PURE__ */ p(l, { "aria-hidden": !0 })
|
|
1938
1962
|
}) }), /* @__PURE__ */ m(E.Portal, { children: [/* @__PURE__ */ p(E.Backdrop, {}), /* @__PURE__ */ p(E.Viewport, {
|
|
1939
1963
|
className: $.DialogViewport,
|
|
1940
1964
|
children: /* @__PURE__ */ m(E.Popup, {
|
|
1941
1965
|
size: "lg",
|
|
1942
|
-
"aria-label":
|
|
1966
|
+
"aria-label": T.video,
|
|
1943
1967
|
className: $.DialogPopup,
|
|
1944
1968
|
children: [/* @__PURE__ */ p(E.Close, { render: /* @__PURE__ */ p(D, {
|
|
1945
1969
|
variant: "elevated",
|
|
1946
1970
|
color: "secondary",
|
|
1947
|
-
"aria-label":
|
|
1971
|
+
"aria-label": T.close,
|
|
1948
1972
|
className: $.Close,
|
|
1949
1973
|
children: /* @__PURE__ */ p(d, { "aria-hidden": !0 })
|
|
1950
1974
|
}) }), /* @__PURE__ */ p("video", {
|
|
@@ -1956,8 +1980,8 @@ function Et({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o,
|
|
|
1956
1980
|
children: g != null && /* @__PURE__ */ p("track", {
|
|
1957
1981
|
kind: "captions",
|
|
1958
1982
|
src: g,
|
|
1959
|
-
srcLang:
|
|
1960
|
-
label:
|
|
1983
|
+
srcLang: T.captionsLanguage,
|
|
1984
|
+
label: T.captionsLabel,
|
|
1961
1985
|
default: !0
|
|
1962
1986
|
})
|
|
1963
1987
|
})]
|
|
@@ -1965,15 +1989,15 @@ function Et({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o,
|
|
|
1965
1989
|
})] })] })]
|
|
1966
1990
|
})]
|
|
1967
1991
|
}),
|
|
1968
|
-
ne && /* @__PURE__ */ p(
|
|
1969
|
-
...t == null ? { "aria-label":
|
|
1970
|
-
children:
|
|
1992
|
+
ne && /* @__PURE__ */ p(we, {
|
|
1993
|
+
...t == null ? { "aria-label": T.reviews } : { "aria-labelledby": ee },
|
|
1994
|
+
children: C
|
|
1971
1995
|
})
|
|
1972
1996
|
] })
|
|
1973
1997
|
}
|
|
1974
1998
|
});
|
|
1975
1999
|
}
|
|
1976
2000
|
//#endregion
|
|
1977
|
-
export {
|
|
2001
|
+
export { de as AlertBanner, he as BrandLetters, ge as Calculator, we as Carousel, Te as CtaBanner, Ne as ExpandingCards, Pe as ExpandingCardsItem, Fe as Hero, Ie as HeroServiceGrid, Le as NavigationGrid, ze as PartnerList, Be as PaymentFeature, He as PromoGrid, Ge as Section, Ke as SectionHeader, Je as ServiceCardGrid, Ze as SideNav, mt as SiteFooter, xt as SiteHeader, St as SplitContent, Ct as Stats, Et as Testimonials };
|
|
1978
2002
|
|
|
1979
2003
|
//# sourceMappingURL=website.mjs.map
|