rk-designsystem 1.1.82 → 1.1.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/componentlibrary.es.js +417 -411
- package/dist/componentlibrary.umd.js +6 -6
- package/dist/index.d.ts +33 -0
- package/package.json +1 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsx as r, jsxs as _, Fragment as Vt } from "react/jsx-runtime";
|
|
2
2
|
import Pe, { forwardRef as fe, useState as oe, createContext as Kt, useContext as It, useEffect as Y, useMemo as Te, useCallback as se, useRef as Ye } from "react";
|
|
3
|
-
import { Alert as Yt, Avatar as qt, BadgePosition as Zt, Badge as Xt, Breadcrumbs as Jt, BreadcrumbsList as Qt, BreadcrumbsItem as en, BreadcrumbsLink as tn, Button as qe, Card as nn, CardBlock as on, Checkbox as rn, useCheckboxGroup as sn, Fieldset as Dt, Chip as an, Spinner as ln, Details as dn, Dialog as cn, Divider as un, Dropdown as pn,
|
|
4
|
-
import { startOfMonth as be, isValid as Oe, isSameMonth as gt, startOfWeek as _t, format as we, addDays as At, subMonths as
|
|
5
|
-
import { ChevronLeftIcon as
|
|
6
|
-
const
|
|
7
|
-
|
|
3
|
+
import { Alert as Yt, Avatar as qt, BadgePosition as Zt, Badge as Xt, Breadcrumbs as Jt, BreadcrumbsList as Qt, BreadcrumbsItem as en, BreadcrumbsLink as tn, Button as qe, Card as nn, CardBlock as on, Checkbox as rn, useCheckboxGroup as sn, Fieldset as Dt, Chip as an, Spinner as ln, Details as dn, Dialog as cn, Divider as un, Dropdown as pn, DropdownTrigger as mn, DropdownTriggerContext as gn, DropdownHeading as fn, DropdownList as hn, DropdownItem as kn, DropdownButton as vn, ErrorSummary as yn, Field as bn, FieldDescription as xn, FieldCounter as Tn, Heading as Sn, Input as Cn, Label as wn, Link as In, List as Dn, Pagination as _n, PaginationList as An, PaginationItem as Mn, PaginationButton as Ln, usePagination as jn, Paragraph as En, Popover as Fn, Radio as Nn, useRadioGroup as Bn, Search as Pn, SearchInput as zn, SearchClear as $n, SearchButton as Rn, Select as Gn, Skeleton as Wn, SkipLink as Hn, EXPERIMENTAL_Suggestion as Un, Switch as On, Table as Vn, Tabs as Kn, Tag as Yn, Textarea as qn, Textfield as Zn, ToggleGroup as Xn, Tooltip as Jn, ValidationMessage as Qn } from "@digdir/designsystemet-react";
|
|
4
|
+
import { startOfMonth as be, isValid as Oe, isSameMonth as gt, startOfWeek as _t, format as we, addDays as At, subMonths as eo, addMonths as to, isSameDay as no, isToday as oo, eachDayOfInterval as ro } from "date-fns";
|
|
5
|
+
import { ChevronLeftIcon as so, ChevronRightIcon as io, ChevronDownIcon as ft, XMarkIcon as ht, MagnifyingGlassIcon as kt, MenuHamburgerIcon as ao, HeartIcon as lo } from "@navikt/aksel-icons";
|
|
6
|
+
const co = fe((t, e) => /* @__PURE__ */ r(Yt, { ref: e, ...t }));
|
|
7
|
+
co.displayName = "Alert";
|
|
8
8
|
const Mt = fe((t, e) => /* @__PURE__ */ r(qt, { ref: e, ...t }));
|
|
9
9
|
Mt.displayName = "Avatar";
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
const
|
|
10
|
+
const uo = fe((t, e) => /* @__PURE__ */ r(Xt, { ref: e, ...t }));
|
|
11
|
+
uo.displayName = "Badge";
|
|
12
|
+
const ea = Zt, ta = Jt, na = Qt, oa = en, ra = tn, Se = qe;
|
|
13
13
|
Se.displayName = "Button";
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
const
|
|
14
|
+
const po = nn, sa = on;
|
|
15
|
+
po.displayName = "Card";
|
|
16
|
+
const mo = rn, go = Dt, ia = sn;
|
|
17
|
+
mo.displayName = "Checkbox";
|
|
18
|
+
go.displayName = "Fieldset";
|
|
19
|
+
const aa = an;
|
|
20
20
|
function Ve(t) {
|
|
21
21
|
return (e = {}) => {
|
|
22
22
|
const n = e.width ? String(e.width) : t.defaultWidth;
|
|
@@ -43,9 +43,9 @@ function De(t) {
|
|
|
43
43
|
const s = n.width, l = s && t.matchPatterns[s] || t.matchPatterns[t.defaultMatchWidth], i = e.match(l);
|
|
44
44
|
if (!i)
|
|
45
45
|
return null;
|
|
46
|
-
const o = i[0], c = s && t.parsePatterns[s] || t.parsePatterns[t.defaultParseWidth], d = Array.isArray(c) ?
|
|
46
|
+
const o = i[0], c = s && t.parsePatterns[s] || t.parsePatterns[t.defaultParseWidth], d = Array.isArray(c) ? ho(c, (m) => m.test(o)) : (
|
|
47
47
|
// [TODO] -- I challenge you to fix the type
|
|
48
|
-
|
|
48
|
+
fo(c, (m) => m.test(o))
|
|
49
49
|
);
|
|
50
50
|
let u;
|
|
51
51
|
u = t.valueCallback ? t.valueCallback(d) : d, u = n.valueCallback ? (
|
|
@@ -56,17 +56,17 @@ function De(t) {
|
|
|
56
56
|
return { value: u, rest: v };
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function fo(t, e) {
|
|
60
60
|
for (const n in t)
|
|
61
61
|
if (Object.prototype.hasOwnProperty.call(t, n) && e(t[n]))
|
|
62
62
|
return n;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function ho(t, e) {
|
|
65
65
|
for (let n = 0; n < t.length; n++)
|
|
66
66
|
if (e(t[n]))
|
|
67
67
|
return n;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function ko(t) {
|
|
70
70
|
return (e, n = {}) => {
|
|
71
71
|
const s = e.match(t.matchPattern);
|
|
72
72
|
if (!s) return null;
|
|
@@ -78,7 +78,7 @@ function uo(t) {
|
|
|
78
78
|
return { value: o, rest: c };
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
-
const
|
|
81
|
+
const vo = {
|
|
82
82
|
lessThanXSeconds: {
|
|
83
83
|
one: "mindre enn ett sekund",
|
|
84
84
|
other: "mindre enn {{count}} sekunder"
|
|
@@ -140,54 +140,54 @@ const po = {
|
|
|
140
140
|
one: "nesten ett år",
|
|
141
141
|
other: "nesten {{count}} år"
|
|
142
142
|
}
|
|
143
|
-
},
|
|
143
|
+
}, yo = (t, e, n) => {
|
|
144
144
|
let s;
|
|
145
|
-
const l =
|
|
145
|
+
const l = vo[t];
|
|
146
146
|
return typeof l == "string" ? s = l : e === 1 ? s = l.one : s = l.other.replace("{{count}}", String(e)), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "om " + s : s + " siden" : s;
|
|
147
|
-
},
|
|
147
|
+
}, bo = {
|
|
148
148
|
full: "EEEE d. MMMM y",
|
|
149
149
|
long: "d. MMMM y",
|
|
150
150
|
medium: "d. MMM y",
|
|
151
151
|
short: "dd.MM.y"
|
|
152
|
-
},
|
|
152
|
+
}, xo = {
|
|
153
153
|
full: "'kl'. HH:mm:ss zzzz",
|
|
154
154
|
long: "HH:mm:ss z",
|
|
155
155
|
medium: "HH:mm:ss",
|
|
156
156
|
short: "HH:mm"
|
|
157
|
-
},
|
|
157
|
+
}, To = {
|
|
158
158
|
full: "{{date}} 'kl.' {{time}}",
|
|
159
159
|
long: "{{date}} 'kl.' {{time}}",
|
|
160
160
|
medium: "{{date}} {{time}}",
|
|
161
161
|
short: "{{date}} {{time}}"
|
|
162
|
-
},
|
|
162
|
+
}, So = {
|
|
163
163
|
date: Ve({
|
|
164
|
-
formats:
|
|
164
|
+
formats: bo,
|
|
165
165
|
defaultWidth: "full"
|
|
166
166
|
}),
|
|
167
167
|
time: Ve({
|
|
168
|
-
formats:
|
|
168
|
+
formats: xo,
|
|
169
169
|
defaultWidth: "full"
|
|
170
170
|
}),
|
|
171
171
|
dateTime: Ve({
|
|
172
|
-
formats:
|
|
172
|
+
formats: To,
|
|
173
173
|
defaultWidth: "full"
|
|
174
174
|
})
|
|
175
|
-
},
|
|
175
|
+
}, Co = {
|
|
176
176
|
lastWeek: "'forrige' eeee 'kl.' p",
|
|
177
177
|
yesterday: "'i går kl.' p",
|
|
178
178
|
today: "'i dag kl.' p",
|
|
179
179
|
tomorrow: "'i morgen kl.' p",
|
|
180
180
|
nextWeek: "EEEE 'kl.' p",
|
|
181
181
|
other: "P"
|
|
182
|
-
},
|
|
182
|
+
}, wo = (t, e, n, s) => Co[t], Io = {
|
|
183
183
|
narrow: ["f.Kr.", "e.Kr."],
|
|
184
184
|
abbreviated: ["f.Kr.", "e.Kr."],
|
|
185
185
|
wide: ["før Kristus", "etter Kristus"]
|
|
186
|
-
},
|
|
186
|
+
}, Do = {
|
|
187
187
|
narrow: ["1", "2", "3", "4"],
|
|
188
188
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
189
189
|
wide: ["1. kvartal", "2. kvartal", "3. kvartal", "4. kvartal"]
|
|
190
|
-
},
|
|
190
|
+
}, _o = {
|
|
191
191
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
192
192
|
abbreviated: [
|
|
193
193
|
"jan.",
|
|
@@ -217,7 +217,7 @@ const po = {
|
|
|
217
217
|
"november",
|
|
218
218
|
"desember"
|
|
219
219
|
]
|
|
220
|
-
},
|
|
220
|
+
}, Ao = {
|
|
221
221
|
narrow: ["S", "M", "T", "O", "T", "F", "L"],
|
|
222
222
|
short: ["sø", "ma", "ti", "on", "to", "fr", "lø"],
|
|
223
223
|
abbreviated: ["søn", "man", "tir", "ons", "tor", "fre", "lør"],
|
|
@@ -230,7 +230,7 @@ const po = {
|
|
|
230
230
|
"fredag",
|
|
231
231
|
"lørdag"
|
|
232
232
|
]
|
|
233
|
-
},
|
|
233
|
+
}, Mo = {
|
|
234
234
|
narrow: {
|
|
235
235
|
am: "a",
|
|
236
236
|
pm: "p",
|
|
@@ -261,46 +261,46 @@ const po = {
|
|
|
261
261
|
evening: "på kvelden",
|
|
262
262
|
night: "på natten"
|
|
263
263
|
}
|
|
264
|
-
},
|
|
265
|
-
ordinalNumber:
|
|
264
|
+
}, Lo = (t, e) => Number(t) + ".", jo = {
|
|
265
|
+
ordinalNumber: Lo,
|
|
266
266
|
era: Ie({
|
|
267
|
-
values:
|
|
267
|
+
values: Io,
|
|
268
268
|
defaultWidth: "wide"
|
|
269
269
|
}),
|
|
270
270
|
quarter: Ie({
|
|
271
|
-
values:
|
|
271
|
+
values: Do,
|
|
272
272
|
defaultWidth: "wide",
|
|
273
273
|
argumentCallback: (t) => t - 1
|
|
274
274
|
}),
|
|
275
275
|
month: Ie({
|
|
276
|
-
values:
|
|
276
|
+
values: _o,
|
|
277
277
|
defaultWidth: "wide"
|
|
278
278
|
}),
|
|
279
279
|
day: Ie({
|
|
280
|
-
values:
|
|
280
|
+
values: Ao,
|
|
281
281
|
defaultWidth: "wide"
|
|
282
282
|
}),
|
|
283
283
|
dayPeriod: Ie({
|
|
284
|
-
values:
|
|
284
|
+
values: Mo,
|
|
285
285
|
defaultWidth: "wide"
|
|
286
286
|
})
|
|
287
|
-
},
|
|
287
|
+
}, Eo = /^(\d+)\.?/i, Fo = /\d+/i, No = {
|
|
288
288
|
narrow: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,
|
|
289
289
|
abbreviated: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,
|
|
290
290
|
wide: /^(før Kristus|før vår tid|etter Kristus|vår tid)/i
|
|
291
|
-
},
|
|
291
|
+
}, Bo = {
|
|
292
292
|
any: [/^f/i, /^e/i]
|
|
293
|
-
},
|
|
293
|
+
}, Po = {
|
|
294
294
|
narrow: /^[1234]/i,
|
|
295
295
|
abbreviated: /^q[1234]/i,
|
|
296
296
|
wide: /^[1234](\.)? kvartal/i
|
|
297
|
-
},
|
|
297
|
+
}, zo = {
|
|
298
298
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
299
|
-
},
|
|
299
|
+
}, $o = {
|
|
300
300
|
narrow: /^[jfmasond]/i,
|
|
301
301
|
abbreviated: /^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,
|
|
302
302
|
wide: /^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i
|
|
303
|
-
},
|
|
303
|
+
}, Ro = {
|
|
304
304
|
narrow: [
|
|
305
305
|
/^j/i,
|
|
306
306
|
/^f/i,
|
|
@@ -329,17 +329,17 @@ const po = {
|
|
|
329
329
|
/^n/i,
|
|
330
330
|
/^d/i
|
|
331
331
|
]
|
|
332
|
-
},
|
|
332
|
+
}, Go = {
|
|
333
333
|
narrow: /^[smtofl]/i,
|
|
334
334
|
short: /^(sø|ma|ti|on|to|fr|lø)/i,
|
|
335
335
|
abbreviated: /^(søn|man|tir|ons|tor|fre|lør)/i,
|
|
336
336
|
wide: /^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i
|
|
337
|
-
},
|
|
337
|
+
}, Wo = {
|
|
338
338
|
any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i]
|
|
339
|
-
},
|
|
339
|
+
}, Ho = {
|
|
340
340
|
narrow: /^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,
|
|
341
341
|
any: /^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i
|
|
342
|
-
},
|
|
342
|
+
}, Uo = {
|
|
343
343
|
any: {
|
|
344
344
|
am: /^a(\.?\s?m\.?)?$/i,
|
|
345
345
|
pm: /^p(\.?\s?m\.?)?$/i,
|
|
@@ -350,50 +350,50 @@ const po = {
|
|
|
350
350
|
evening: /kveld/i,
|
|
351
351
|
night: /natt/i
|
|
352
352
|
}
|
|
353
|
-
},
|
|
354
|
-
ordinalNumber:
|
|
355
|
-
matchPattern:
|
|
356
|
-
parsePattern:
|
|
353
|
+
}, Oo = {
|
|
354
|
+
ordinalNumber: ko({
|
|
355
|
+
matchPattern: Eo,
|
|
356
|
+
parsePattern: Fo,
|
|
357
357
|
valueCallback: (t) => parseInt(t, 10)
|
|
358
358
|
}),
|
|
359
359
|
era: De({
|
|
360
|
-
matchPatterns:
|
|
360
|
+
matchPatterns: No,
|
|
361
361
|
defaultMatchWidth: "wide",
|
|
362
|
-
parsePatterns:
|
|
362
|
+
parsePatterns: Bo,
|
|
363
363
|
defaultParseWidth: "any"
|
|
364
364
|
}),
|
|
365
365
|
quarter: De({
|
|
366
|
-
matchPatterns:
|
|
366
|
+
matchPatterns: Po,
|
|
367
367
|
defaultMatchWidth: "wide",
|
|
368
|
-
parsePatterns:
|
|
368
|
+
parsePatterns: zo,
|
|
369
369
|
defaultParseWidth: "any",
|
|
370
370
|
valueCallback: (t) => t + 1
|
|
371
371
|
}),
|
|
372
372
|
month: De({
|
|
373
|
-
matchPatterns:
|
|
373
|
+
matchPatterns: $o,
|
|
374
374
|
defaultMatchWidth: "wide",
|
|
375
|
-
parsePatterns:
|
|
375
|
+
parsePatterns: Ro,
|
|
376
376
|
defaultParseWidth: "any"
|
|
377
377
|
}),
|
|
378
378
|
day: De({
|
|
379
|
-
matchPatterns:
|
|
379
|
+
matchPatterns: Go,
|
|
380
380
|
defaultMatchWidth: "wide",
|
|
381
|
-
parsePatterns:
|
|
381
|
+
parsePatterns: Wo,
|
|
382
382
|
defaultParseWidth: "any"
|
|
383
383
|
}),
|
|
384
384
|
dayPeriod: De({
|
|
385
|
-
matchPatterns:
|
|
385
|
+
matchPatterns: Ho,
|
|
386
386
|
defaultMatchWidth: "any",
|
|
387
|
-
parsePatterns:
|
|
387
|
+
parsePatterns: Uo,
|
|
388
388
|
defaultParseWidth: "any"
|
|
389
389
|
})
|
|
390
390
|
}, xe = {
|
|
391
391
|
code: "nb",
|
|
392
|
-
formatDistance:
|
|
393
|
-
formatLong:
|
|
394
|
-
formatRelative:
|
|
395
|
-
localize:
|
|
396
|
-
match:
|
|
392
|
+
formatDistance: yo,
|
|
393
|
+
formatLong: So,
|
|
394
|
+
formatRelative: wo,
|
|
395
|
+
localize: jo,
|
|
396
|
+
match: Oo,
|
|
397
397
|
options: {
|
|
398
398
|
weekStartsOn: 1,
|
|
399
399
|
firstWeekContainsDate: 4
|
|
@@ -450,19 +450,19 @@ const jt = ({ title: t, ...e }) => /* @__PURE__ */ _(
|
|
|
450
450
|
}
|
|
451
451
|
);
|
|
452
452
|
jt.displayName = "ChevronRightIcon";
|
|
453
|
-
const
|
|
454
|
-
calendarContainer:
|
|
455
|
-
calendarHeader:
|
|
456
|
-
monthYear:
|
|
457
|
-
navigationButtons:
|
|
458
|
-
grid:
|
|
459
|
-
dayNameCell:
|
|
460
|
-
dateCell:
|
|
461
|
-
dateNumberContainer:
|
|
462
|
-
otherMonth:
|
|
463
|
-
disabled:
|
|
464
|
-
selectedDate:
|
|
465
|
-
},
|
|
453
|
+
const Vo = "_calendarContainer_10l5p_1", Ko = "_calendarHeader_10l5p_14", Yo = "_monthYear_10l5p_21", qo = "_navigationButtons_10l5p_32", Zo = "_grid_10l5p_41", Xo = "_dayNameCell_10l5p_48", Jo = "_dateCell_10l5p_65", Qo = "_dateNumberContainer_10l5p_90", er = "_otherMonth_10l5p_103", tr = "_disabled_10l5p_103", nr = "_selectedDate_10l5p_129", ne = {
|
|
454
|
+
calendarContainer: Vo,
|
|
455
|
+
calendarHeader: Ko,
|
|
456
|
+
monthYear: Yo,
|
|
457
|
+
navigationButtons: qo,
|
|
458
|
+
grid: Zo,
|
|
459
|
+
dayNameCell: Xo,
|
|
460
|
+
dateCell: Jo,
|
|
461
|
+
dateNumberContainer: Qo,
|
|
462
|
+
otherMonth: er,
|
|
463
|
+
disabled: tr,
|
|
464
|
+
selectedDate: nr
|
|
465
|
+
}, or = {
|
|
466
466
|
NO: {
|
|
467
467
|
// Header
|
|
468
468
|
header: {
|
|
@@ -2453,10 +2453,10 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
|
|
|
2453
2453
|
openDatePicker: "Open date picker"
|
|
2454
2454
|
}
|
|
2455
2455
|
}
|
|
2456
|
-
}, Qe = Kt(void 0),
|
|
2456
|
+
}, Qe = Kt(void 0), la = ({ children: t }) => {
|
|
2457
2457
|
const [e, n] = oe("NO"), s = (l) => {
|
|
2458
2458
|
const i = l.split(".");
|
|
2459
|
-
let o =
|
|
2459
|
+
let o = or[e];
|
|
2460
2460
|
for (const c of i) {
|
|
2461
2461
|
if (o[c] === void 0)
|
|
2462
2462
|
return console.warn(`Translation missing for key: ${l} in language: ${e}`), l;
|
|
@@ -2465,7 +2465,7 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
|
|
|
2465
2465
|
return o;
|
|
2466
2466
|
};
|
|
2467
2467
|
return /* @__PURE__ */ r(Qe.Provider, { value: { language: e, setLanguage: n, t: s }, children: t });
|
|
2468
|
-
},
|
|
2468
|
+
}, da = () => {
|
|
2469
2469
|
const t = It(Qe);
|
|
2470
2470
|
if (t === void 0)
|
|
2471
2471
|
throw new Error("useLanguage must be used within a LanguageProvider");
|
|
@@ -2527,10 +2527,10 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
|
|
|
2527
2527
|
"dateInput.openDatePicker": "Åpne datovelger"
|
|
2528
2528
|
})[e] || e
|
|
2529
2529
|
} : t;
|
|
2530
|
-
},
|
|
2530
|
+
}, rr = (t) => {
|
|
2531
2531
|
const e = be(t), n = _t(e, { locale: xe }), s = At(n, 41);
|
|
2532
|
-
return
|
|
2533
|
-
}, vt = (t) => t && t.charAt(0).toUpperCase() + t.slice(1),
|
|
2532
|
+
return ro({ start: n, end: s });
|
|
2533
|
+
}, vt = (t) => t && t.charAt(0).toUpperCase() + t.slice(1), sr = ({
|
|
2534
2534
|
initialDate: t = /* @__PURE__ */ new Date(),
|
|
2535
2535
|
selectedDate: e = null,
|
|
2536
2536
|
// Prop for valgt dato
|
|
@@ -2544,7 +2544,7 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
|
|
|
2544
2544
|
Y(() => {
|
|
2545
2545
|
const g = "rk-datepicker-inline-styles";
|
|
2546
2546
|
if (typeof document > "u" || document.getElementById(g)) return;
|
|
2547
|
-
const M =
|
|
2547
|
+
const M = ir(ne), D = document.createElement("style");
|
|
2548
2548
|
D.id = g, D.textContent = M, document.head.appendChild(D);
|
|
2549
2549
|
}, []);
|
|
2550
2550
|
const [o, c] = oe(
|
|
@@ -2557,7 +2557,7 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
|
|
|
2557
2557
|
}
|
|
2558
2558
|
}, [e]);
|
|
2559
2559
|
const d = Te(() => be(/* @__PURE__ */ new Date()), []), u = Te(() => !1, [o, d]), v = Te(
|
|
2560
|
-
() =>
|
|
2560
|
+
() => rr(o),
|
|
2561
2561
|
[o]
|
|
2562
2562
|
), m = Te(() => {
|
|
2563
2563
|
const g = _t(/* @__PURE__ */ new Date(), { locale: xe });
|
|
@@ -2566,9 +2566,9 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
|
|
|
2566
2566
|
return vt(w);
|
|
2567
2567
|
});
|
|
2568
2568
|
}, []), f = se(() => {
|
|
2569
|
-
u || c((g) => be(
|
|
2569
|
+
u || c((g) => be(eo(g, 1)));
|
|
2570
2570
|
}, [u]), x = se(() => {
|
|
2571
|
-
c((g) => be(
|
|
2571
|
+
c((g) => be(to(g, 1)));
|
|
2572
2572
|
}, []), a = se(
|
|
2573
2573
|
(g) => {
|
|
2574
2574
|
n && n(g);
|
|
@@ -2615,7 +2615,7 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
|
|
|
2615
2615
|
] }),
|
|
2616
2616
|
/* @__PURE__ */ r("div", { className: ne.grid, children: m.map((g) => /* @__PURE__ */ r("div", { className: ne.dayNameCell, children: g }, g)) }),
|
|
2617
2617
|
/* @__PURE__ */ r("div", { className: ne.grid, children: v.map((g) => {
|
|
2618
|
-
const M = gt(g, o), D = e && Oe(e) &&
|
|
2618
|
+
const M = gt(g, o), D = e && Oe(e) && no(g, e), w = oo(g), C = [
|
|
2619
2619
|
ne.dateCell,
|
|
2620
2620
|
M ? "" : ne.otherMonth,
|
|
2621
2621
|
D ? ne.selectedDate : "",
|
|
@@ -2641,8 +2641,8 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
|
|
|
2641
2641
|
}
|
|
2642
2642
|
);
|
|
2643
2643
|
};
|
|
2644
|
-
|
|
2645
|
-
function
|
|
2644
|
+
sr.displayName = "DatePicker";
|
|
2645
|
+
function ir(t) {
|
|
2646
2646
|
return `
|
|
2647
2647
|
.${t.calendarContainer} {
|
|
2648
2648
|
display: inline-flex;
|
|
@@ -2758,14 +2758,14 @@ function er(t) {
|
|
|
2758
2758
|
}
|
|
2759
2759
|
`;
|
|
2760
2760
|
}
|
|
2761
|
-
const
|
|
2762
|
-
fieldset:
|
|
2763
|
-
description:
|
|
2764
|
-
error:
|
|
2765
|
-
inputWrapper:
|
|
2766
|
-
inputWrapperError:
|
|
2767
|
-
suffixButton:
|
|
2768
|
-
suffixButtonInteractive:
|
|
2761
|
+
const ar = "_fieldset_16fx7_2", lr = "_description_16fx7_14", dr = "_error_16fx7_21", cr = "_inputWrapper_16fx7_30", ur = "_inputWrapperError_16fx7_42", pr = "_suffixButton_16fx7_80", mr = "_suffixButtonInteractive_16fx7_100", ge = {
|
|
2762
|
+
fieldset: ar,
|
|
2763
|
+
description: lr,
|
|
2764
|
+
error: dr,
|
|
2765
|
+
inputWrapper: cr,
|
|
2766
|
+
inputWrapperError: ur,
|
|
2767
|
+
suffixButton: pr,
|
|
2768
|
+
suffixButtonInteractive: mr
|
|
2769
2769
|
}, yt = (t) => {
|
|
2770
2770
|
const e = t.slice(0, 2), n = t.slice(2, 4), s = t.slice(4, 8);
|
|
2771
2771
|
return t.length > 4 ? `${e}.${n}.${s}` : t.length > 2 ? `${e}.${n}` : t.length > 0 ? e : "";
|
|
@@ -2780,13 +2780,13 @@ const tr = "_fieldset_16fx7_2", nr = "_description_16fx7_14", or = "_error_16fx7
|
|
|
2780
2780
|
!isNaN(n) && n > 12 && (e = e.substring(0, 2) + "12" + e.substring(4));
|
|
2781
2781
|
}
|
|
2782
2782
|
return e.slice(0, 8);
|
|
2783
|
-
},
|
|
2783
|
+
}, gr = fe(
|
|
2784
2784
|
(t, e) => {
|
|
2785
2785
|
const { t: n } = Ee();
|
|
2786
2786
|
Y(() => {
|
|
2787
2787
|
const S = "rk-dateinput-inline-styles";
|
|
2788
2788
|
if (typeof document > "u" || document.getElementById(S)) return;
|
|
2789
|
-
const E =
|
|
2789
|
+
const E = fr(ge), H = document.createElement("style");
|
|
2790
2790
|
H.id = S, H.textContent = E, document.head.appendChild(H);
|
|
2791
2791
|
}, []);
|
|
2792
2792
|
const {
|
|
@@ -2823,7 +2823,7 @@ const tr = "_fieldset_16fx7_2", nr = "_description_16fx7_14", or = "_error_16fx7
|
|
|
2823
2823
|
// <-- Destrukturering
|
|
2824
2824
|
"data-size": B,
|
|
2825
2825
|
// <-- Destrukturering
|
|
2826
|
-
|
|
2826
|
+
...G
|
|
2827
2827
|
} = t, O = u !== void 0, z = Ye(null);
|
|
2828
2828
|
Pe.useImperativeHandle(
|
|
2829
2829
|
e,
|
|
@@ -2846,16 +2846,16 @@ const tr = "_fieldset_16fx7_2", nr = "_description_16fx7_14", or = "_error_16fx7
|
|
|
2846
2846
|
}, [u, O, L, P]);
|
|
2847
2847
|
const te = se(
|
|
2848
2848
|
(S) => {
|
|
2849
|
-
const E = S.target, H = E.value, Z = L, W = bt(H).slice(0, 8), I = xt(W),
|
|
2850
|
-
let
|
|
2849
|
+
const E = S.target, H = E.value, Z = L, W = bt(H).slice(0, 8), I = xt(W), $ = yt(I);
|
|
2850
|
+
let R = 0;
|
|
2851
2851
|
const K = I.length;
|
|
2852
|
-
K <= 2 ?
|
|
2853
|
-
if (z.current && (V(
|
|
2852
|
+
K <= 2 ? R = K : K <= 4 ? R = K + 1 : R = K + 2, R = Math.min(R, $.length), requestAnimationFrame(() => {
|
|
2853
|
+
if (z.current && (V($), z.current.value = $, z.current.setSelectionRange(R, R), ($ !== Z || O) && m)) {
|
|
2854
2854
|
const re = {
|
|
2855
2855
|
...S,
|
|
2856
|
-
target: { ...E, value:
|
|
2856
|
+
target: { ...E, value: $ }
|
|
2857
2857
|
};
|
|
2858
|
-
m(re,
|
|
2858
|
+
m(re, $);
|
|
2859
2859
|
}
|
|
2860
2860
|
});
|
|
2861
2861
|
},
|
|
@@ -2909,7 +2909,7 @@ const tr = "_fieldset_16fx7_2", nr = "_description_16fx7_14", or = "_error_16fx7
|
|
|
2909
2909
|
"aria-describedby": T,
|
|
2910
2910
|
"aria-invalid": !!j,
|
|
2911
2911
|
className: ee,
|
|
2912
|
-
|
|
2912
|
+
...G
|
|
2913
2913
|
}
|
|
2914
2914
|
),
|
|
2915
2915
|
l && /* @__PURE__ */ r(
|
|
@@ -2933,8 +2933,8 @@ const tr = "_fieldset_16fx7_2", nr = "_description_16fx7_14", or = "_error_16fx7
|
|
|
2933
2933
|
);
|
|
2934
2934
|
}
|
|
2935
2935
|
);
|
|
2936
|
-
|
|
2937
|
-
function
|
|
2936
|
+
gr.displayName = "DateInput";
|
|
2937
|
+
function fr(t) {
|
|
2938
2938
|
return `
|
|
2939
2939
|
.${t.fieldset} {
|
|
2940
2940
|
margin-bottom: var(--ds-spacing-4, 16px);
|
|
@@ -3027,13 +3027,13 @@ function dr(t) {
|
|
|
3027
3027
|
}
|
|
3028
3028
|
`;
|
|
3029
3029
|
}
|
|
3030
|
-
function
|
|
3030
|
+
function hr(t) {
|
|
3031
3031
|
return Object.prototype.toString.call(t) === "[object Object]";
|
|
3032
3032
|
}
|
|
3033
3033
|
function Tt(t) {
|
|
3034
|
-
return
|
|
3034
|
+
return hr(t) || Array.isArray(t);
|
|
3035
3035
|
}
|
|
3036
|
-
function
|
|
3036
|
+
function kr() {
|
|
3037
3037
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
3038
3038
|
}
|
|
3039
3039
|
function et(t, e) {
|
|
@@ -3048,7 +3048,7 @@ function et(t, e) {
|
|
|
3048
3048
|
function St(t) {
|
|
3049
3049
|
return t.concat().sort((e, n) => e.name > n.name ? 1 : -1).map((e) => e.options);
|
|
3050
3050
|
}
|
|
3051
|
-
function
|
|
3051
|
+
function vr(t, e) {
|
|
3052
3052
|
if (t.length !== e.length) return !1;
|
|
3053
3053
|
const n = St(t), s = St(e);
|
|
3054
3054
|
return n.every((l, i) => {
|
|
@@ -3062,7 +3062,7 @@ function tt(t) {
|
|
|
3062
3062
|
function Ze(t) {
|
|
3063
3063
|
return typeof t == "string";
|
|
3064
3064
|
}
|
|
3065
|
-
function
|
|
3065
|
+
function $e(t) {
|
|
3066
3066
|
return typeof t == "boolean";
|
|
3067
3067
|
}
|
|
3068
3068
|
function Ct(t) {
|
|
@@ -3077,12 +3077,12 @@ function nt(t) {
|
|
|
3077
3077
|
function Ae(t, e) {
|
|
3078
3078
|
return U(t - e);
|
|
3079
3079
|
}
|
|
3080
|
-
function
|
|
3080
|
+
function yr(t, e) {
|
|
3081
3081
|
if (t === 0 || e === 0 || U(t) <= U(e)) return 0;
|
|
3082
3082
|
const n = Ae(U(t), U(e));
|
|
3083
3083
|
return U(n / t);
|
|
3084
3084
|
}
|
|
3085
|
-
function
|
|
3085
|
+
function br(t) {
|
|
3086
3086
|
return Math.round(t * 100) / 100;
|
|
3087
3087
|
}
|
|
3088
3088
|
function Me(t) {
|
|
@@ -3112,7 +3112,7 @@ function Et(t, e) {
|
|
|
3112
3112
|
function Xe(t, e) {
|
|
3113
3113
|
return typeof e.MouseEvent < "u" && t instanceof e.MouseEvent;
|
|
3114
3114
|
}
|
|
3115
|
-
function
|
|
3115
|
+
function xr(t, e) {
|
|
3116
3116
|
const n = {
|
|
3117
3117
|
start: s,
|
|
3118
3118
|
center: l,
|
|
@@ -3157,7 +3157,7 @@ function je() {
|
|
|
3157
3157
|
};
|
|
3158
3158
|
return s;
|
|
3159
3159
|
}
|
|
3160
|
-
function
|
|
3160
|
+
function Tr(t, e, n, s) {
|
|
3161
3161
|
const l = je(), i = 1e3 / 60;
|
|
3162
3162
|
let o = null, c = 0, d = 0;
|
|
3163
3163
|
function u() {
|
|
@@ -3195,7 +3195,7 @@ function hr(t, e, n, s) {
|
|
|
3195
3195
|
render: s
|
|
3196
3196
|
};
|
|
3197
3197
|
}
|
|
3198
|
-
function
|
|
3198
|
+
function Sr(t, e) {
|
|
3199
3199
|
const n = e === "rtl", s = t === "y", l = s ? "y" : "x", i = s ? "x" : "y", o = !s && n ? -1 : 1, c = v(), d = m();
|
|
3200
3200
|
function u(a) {
|
|
3201
3201
|
const {
|
|
@@ -3278,7 +3278,7 @@ function Ft(t, e, n) {
|
|
|
3278
3278
|
};
|
|
3279
3279
|
return m;
|
|
3280
3280
|
}
|
|
3281
|
-
function
|
|
3281
|
+
function Cr(t, e, n, s, l, i, o, c, d, u, v, m, f, x, a, h, k, p, y) {
|
|
3282
3282
|
const {
|
|
3283
3283
|
cross: g,
|
|
3284
3284
|
direction: M
|
|
@@ -3290,17 +3290,17 @@ function vr(t, e, n, s, l, i, o, c, d, u, v, m, f, x, a, h, k, p, y) {
|
|
|
3290
3290
|
}, B = {
|
|
3291
3291
|
mouse: 500,
|
|
3292
3292
|
touch: 600
|
|
3293
|
-
},
|
|
3293
|
+
}, G = a ? 43 : 25;
|
|
3294
3294
|
let O = !1, z = 0, P = 0, L = !1, V = !1, te = !1, Q = !1;
|
|
3295
3295
|
function ie(I) {
|
|
3296
3296
|
if (!y) return;
|
|
3297
|
-
function
|
|
3298
|
-
(
|
|
3297
|
+
function $(K) {
|
|
3298
|
+
($e(y) || y(I, K)) && T(K);
|
|
3299
3299
|
}
|
|
3300
|
-
const
|
|
3301
|
-
C.add(
|
|
3302
|
-
}, w).add(
|
|
3303
|
-
}).add(
|
|
3300
|
+
const R = e;
|
|
3301
|
+
C.add(R, "dragstart", (K) => K.preventDefault(), w).add(R, "touchmove", () => {
|
|
3302
|
+
}, w).add(R, "touchend", () => {
|
|
3303
|
+
}).add(R, "touchstart", $).add(R, "mousedown", $).add(R, "touchcancel", E).add(R, "contextmenu", E).add(R, "click", H, !0);
|
|
3304
3304
|
}
|
|
3305
3305
|
function ee() {
|
|
3306
3306
|
C.clear(), A.clear();
|
|
@@ -3310,30 +3310,30 @@ function vr(t, e, n, s, l, i, o, c, d, u, v, m, f, x, a, h, k, p, y) {
|
|
|
3310
3310
|
A.add(I, "touchmove", S, w).add(I, "touchend", E).add(I, "mousemove", S, w).add(I, "mouseup", E);
|
|
3311
3311
|
}
|
|
3312
3312
|
function ae(I) {
|
|
3313
|
-
const
|
|
3314
|
-
return D.includes(
|
|
3313
|
+
const $ = I.nodeName || "";
|
|
3314
|
+
return D.includes($);
|
|
3315
3315
|
}
|
|
3316
3316
|
function q() {
|
|
3317
3317
|
return (a ? B : N)[Q ? "mouse" : "touch"];
|
|
3318
3318
|
}
|
|
3319
|
-
function ce(I,
|
|
3320
|
-
const
|
|
3321
|
-
return a || U(I) < j ? K : k &&
|
|
3319
|
+
function ce(I, $) {
|
|
3320
|
+
const R = m.add(nt(I) * -1), K = v.byDistance(I, !a).distance;
|
|
3321
|
+
return a || U(I) < j ? K : k && $ ? K * 0.5 : v.byIndex(R.get(), 0).distance;
|
|
3322
3322
|
}
|
|
3323
3323
|
function T(I) {
|
|
3324
|
-
const
|
|
3325
|
-
Q =
|
|
3324
|
+
const $ = Xe(I, s);
|
|
3325
|
+
Q = $, te = a && $ && !I.buttons && O, O = Ae(l.get(), o.get()) >= 2, !($ && I.button !== 0) && (ae(I.target) || (L = !0, i.pointerDown(I), u.useFriction(0).useDuration(0), l.set(o), de(), z = i.readPoint(I), P = i.readPoint(I, g), f.emit("pointerDown")));
|
|
3326
3326
|
}
|
|
3327
3327
|
function S(I) {
|
|
3328
3328
|
if (!Xe(I, s) && I.touches.length >= 2) return E(I);
|
|
3329
|
-
const
|
|
3329
|
+
const R = i.readPoint(I), K = i.readPoint(I, g), re = Ae(R, z), pe = Ae(K, P);
|
|
3330
3330
|
if (!V && !Q && (!I.cancelable || (V = re > pe, !V)))
|
|
3331
3331
|
return E(I);
|
|
3332
3332
|
const he = i.pointerMove(I);
|
|
3333
3333
|
re > h && (te = !0), u.useFriction(0.3).useDuration(0.75), c.start(), l.add(M(he)), I.preventDefault();
|
|
3334
3334
|
}
|
|
3335
3335
|
function E(I) {
|
|
3336
|
-
const
|
|
3336
|
+
const R = v.byDistance(0, !1).index !== m.get(), K = i.pointerUp(I) * q(), re = ce(M(K), R), pe = yr(K, re), he = G - 10 * pe, me = p + pe / 50;
|
|
3337
3337
|
V = !1, L = !1, A.clear(), u.useDuration(he).useFriction(me), d.distance(re, !a), Q = !1, f.emit("pointerUp");
|
|
3338
3338
|
}
|
|
3339
3339
|
function H(I) {
|
|
@@ -3348,7 +3348,7 @@ function vr(t, e, n, s, l, i, o, c, d, u, v, m, f, x, a, h, k, p, y) {
|
|
|
3348
3348
|
pointerDown: Z
|
|
3349
3349
|
};
|
|
3350
3350
|
}
|
|
3351
|
-
function
|
|
3351
|
+
function wr(t, e) {
|
|
3352
3352
|
let s, l;
|
|
3353
3353
|
function i(m) {
|
|
3354
3354
|
return m.timeStamp;
|
|
@@ -3376,7 +3376,7 @@ function yr(t, e) {
|
|
|
3376
3376
|
readPoint: o
|
|
3377
3377
|
};
|
|
3378
3378
|
}
|
|
3379
|
-
function
|
|
3379
|
+
function Ir() {
|
|
3380
3380
|
function t(n) {
|
|
3381
3381
|
const {
|
|
3382
3382
|
offsetTop: s,
|
|
@@ -3397,7 +3397,7 @@ function br() {
|
|
|
3397
3397
|
measure: t
|
|
3398
3398
|
};
|
|
3399
3399
|
}
|
|
3400
|
-
function
|
|
3400
|
+
function Dr(t) {
|
|
3401
3401
|
function e(s) {
|
|
3402
3402
|
return t * (s / 100);
|
|
3403
3403
|
}
|
|
@@ -3405,7 +3405,7 @@ function xr(t) {
|
|
|
3405
3405
|
measure: e
|
|
3406
3406
|
};
|
|
3407
3407
|
}
|
|
3408
|
-
function
|
|
3408
|
+
function _r(t, e, n, s, l, i, o) {
|
|
3409
3409
|
const c = [t].concat(s);
|
|
3410
3410
|
let d, u, v = [], m = !1;
|
|
3411
3411
|
function f(k) {
|
|
@@ -3425,7 +3425,7 @@ function Tr(t, e, n, s, l, i, o) {
|
|
|
3425
3425
|
}
|
|
3426
3426
|
}
|
|
3427
3427
|
d = new ResizeObserver((y) => {
|
|
3428
|
-
(
|
|
3428
|
+
($e(i) || i(k, y)) && p(y);
|
|
3429
3429
|
}), n.requestAnimationFrame(() => {
|
|
3430
3430
|
c.forEach((y) => d.observe(y));
|
|
3431
3431
|
});
|
|
@@ -3438,7 +3438,7 @@ function Tr(t, e, n, s, l, i, o) {
|
|
|
3438
3438
|
destroy: a
|
|
3439
3439
|
};
|
|
3440
3440
|
}
|
|
3441
|
-
function
|
|
3441
|
+
function Ar(t, e, n, s, l, i) {
|
|
3442
3442
|
let o = 0, c = 0, d = l, u = i, v = t.get(), m = 0;
|
|
3443
3443
|
function f() {
|
|
3444
3444
|
const w = s.get() - t.get(), C = !d;
|
|
@@ -3483,7 +3483,7 @@ function Sr(t, e, n, s, l, i) {
|
|
|
3483
3483
|
};
|
|
3484
3484
|
return D;
|
|
3485
3485
|
}
|
|
3486
|
-
function
|
|
3486
|
+
function Mr(t, e, n, s, l) {
|
|
3487
3487
|
const i = l.measure(10), o = l.measure(50), c = ve(0.1, 0.99);
|
|
3488
3488
|
let d = !1;
|
|
3489
3489
|
function u() {
|
|
@@ -3503,7 +3503,7 @@ function Cr(t, e, n, s, l) {
|
|
|
3503
3503
|
toggleActive: m
|
|
3504
3504
|
};
|
|
3505
3505
|
}
|
|
3506
|
-
function
|
|
3506
|
+
function Lr(t, e, n, s, l) {
|
|
3507
3507
|
const i = ve(-e + t, 0), o = m(), c = v(), d = f();
|
|
3508
3508
|
function u(a, h) {
|
|
3509
3509
|
return Ae(a, h) <= 1;
|
|
@@ -3535,13 +3535,13 @@ function wr(t, e, n, s, l) {
|
|
|
3535
3535
|
scrollContainLimit: c
|
|
3536
3536
|
};
|
|
3537
3537
|
}
|
|
3538
|
-
function
|
|
3538
|
+
function jr(t, e, n) {
|
|
3539
3539
|
const s = e[0], l = n ? s - t : le(e);
|
|
3540
3540
|
return {
|
|
3541
3541
|
limit: ve(l, s)
|
|
3542
3542
|
};
|
|
3543
3543
|
}
|
|
3544
|
-
function
|
|
3544
|
+
function Er(t, e, n, s) {
|
|
3545
3545
|
const i = e.min + 0.1, o = e.max + 0.1, {
|
|
3546
3546
|
reachedMin: c,
|
|
3547
3547
|
reachedMax: d
|
|
@@ -3558,7 +3558,7 @@ function Dr(t, e, n, s) {
|
|
|
3558
3558
|
loop: v
|
|
3559
3559
|
};
|
|
3560
3560
|
}
|
|
3561
|
-
function
|
|
3561
|
+
function Fr(t) {
|
|
3562
3562
|
const {
|
|
3563
3563
|
max: e,
|
|
3564
3564
|
length: n
|
|
@@ -3571,7 +3571,7 @@ function _r(t) {
|
|
|
3571
3571
|
get: s
|
|
3572
3572
|
};
|
|
3573
3573
|
}
|
|
3574
|
-
function
|
|
3574
|
+
function Nr(t, e, n, s, l) {
|
|
3575
3575
|
const {
|
|
3576
3576
|
startEdge: i,
|
|
3577
3577
|
endEdge: o
|
|
@@ -3592,7 +3592,7 @@ function Ar(t, e, n, s, l) {
|
|
|
3592
3592
|
snapsAligned: v
|
|
3593
3593
|
};
|
|
3594
3594
|
}
|
|
3595
|
-
function
|
|
3595
|
+
function Br(t, e, n, s, l, i) {
|
|
3596
3596
|
const {
|
|
3597
3597
|
groupSlides: o
|
|
3598
3598
|
} = l, {
|
|
@@ -3618,7 +3618,7 @@ function Mr(t, e, n, s, l, i) {
|
|
|
3618
3618
|
slideRegistry: u
|
|
3619
3619
|
};
|
|
3620
3620
|
}
|
|
3621
|
-
function
|
|
3621
|
+
function Pr(t, e, n, s, l) {
|
|
3622
3622
|
const {
|
|
3623
3623
|
reachedAny: i,
|
|
3624
3624
|
removeOffset: o,
|
|
@@ -3674,7 +3674,7 @@ function Lr(t, e, n, s, l) {
|
|
|
3674
3674
|
shortcut: v
|
|
3675
3675
|
};
|
|
3676
3676
|
}
|
|
3677
|
-
function
|
|
3677
|
+
function zr(t, e, n, s, l, i, o) {
|
|
3678
3678
|
function c(m) {
|
|
3679
3679
|
const f = m.distance, x = m.index !== e.get();
|
|
3680
3680
|
i.add(f), f && (s.duration() ? t.start() : (t.update(), t.render(1), t.update())), x && (n.set(e.get()), e.set(m.index), o.emit("select"));
|
|
@@ -3692,7 +3692,7 @@ function jr(t, e, n, s, l, i, o) {
|
|
|
3692
3692
|
index: u
|
|
3693
3693
|
};
|
|
3694
3694
|
}
|
|
3695
|
-
function
|
|
3695
|
+
function $r(t, e, n, s, l, i, o, c) {
|
|
3696
3696
|
const d = {
|
|
3697
3697
|
passive: !0,
|
|
3698
3698
|
capture: !0
|
|
@@ -3708,7 +3708,7 @@ function Er(t, e, n, s, l, i, o, c) {
|
|
|
3708
3708
|
}
|
|
3709
3709
|
i.add(document, "keydown", m, !1), e.forEach((h, k) => {
|
|
3710
3710
|
i.add(h, "focus", (p) => {
|
|
3711
|
-
(
|
|
3711
|
+
($e(c) || c(x, p)) && a(k);
|
|
3712
3712
|
}, d);
|
|
3713
3713
|
});
|
|
3714
3714
|
}
|
|
@@ -3754,7 +3754,7 @@ function Nt(t, e) {
|
|
|
3754
3754
|
}
|
|
3755
3755
|
function d(f) {
|
|
3756
3756
|
if (i) return;
|
|
3757
|
-
const x =
|
|
3757
|
+
const x = br(t.direction(f));
|
|
3758
3758
|
x !== l && (s.transform = n(x), l = x);
|
|
3759
3759
|
}
|
|
3760
3760
|
function u(f) {
|
|
@@ -3769,7 +3769,7 @@ function Nt(t, e) {
|
|
|
3769
3769
|
toggleActive: u
|
|
3770
3770
|
};
|
|
3771
3771
|
}
|
|
3772
|
-
function
|
|
3772
|
+
function Rr(t, e, n, s, l, i, o, c, d) {
|
|
3773
3773
|
const v = Me(l), m = Me(l).reverse(), f = p().concat(y());
|
|
3774
3774
|
function x(C, A) {
|
|
3775
3775
|
return C.reduce((j, N) => j - l[N], A);
|
|
@@ -3786,13 +3786,13 @@ function Fr(t, e, n, s, l, i, o, c, d) {
|
|
|
3786
3786
|
function k(C, A, j) {
|
|
3787
3787
|
const N = h(A);
|
|
3788
3788
|
return C.map((B) => {
|
|
3789
|
-
const
|
|
3789
|
+
const G = j ? 0 : -n, O = j ? n : 0, z = j ? "end" : "start", P = N[B][z];
|
|
3790
3790
|
return {
|
|
3791
3791
|
index: B,
|
|
3792
3792
|
loopPoint: P,
|
|
3793
3793
|
slideLocation: _e(-1),
|
|
3794
3794
|
translate: Nt(t, d[B]),
|
|
3795
|
-
target: () => c.get() > P ?
|
|
3795
|
+
target: () => c.get() > P ? G : O
|
|
3796
3796
|
};
|
|
3797
3797
|
});
|
|
3798
3798
|
}
|
|
@@ -3832,7 +3832,7 @@ function Fr(t, e, n, s, l, i, o, c, d) {
|
|
|
3832
3832
|
loopPoints: f
|
|
3833
3833
|
};
|
|
3834
3834
|
}
|
|
3835
|
-
function
|
|
3835
|
+
function Gr(t, e, n) {
|
|
3836
3836
|
let s, l = !1;
|
|
3837
3837
|
function i(d) {
|
|
3838
3838
|
if (!n) return;
|
|
@@ -3844,7 +3844,7 @@ function Nr(t, e, n) {
|
|
|
3844
3844
|
}
|
|
3845
3845
|
}
|
|
3846
3846
|
s = new MutationObserver((v) => {
|
|
3847
|
-
l || (
|
|
3847
|
+
l || ($e(n) || n(d, v)) && u(v);
|
|
3848
3848
|
}), s.observe(t, {
|
|
3849
3849
|
childList: !0
|
|
3850
3850
|
});
|
|
@@ -3857,7 +3857,7 @@ function Nr(t, e, n) {
|
|
|
3857
3857
|
destroy: o
|
|
3858
3858
|
};
|
|
3859
3859
|
}
|
|
3860
|
-
function
|
|
3860
|
+
function Wr(t, e, n, s) {
|
|
3861
3861
|
const l = {};
|
|
3862
3862
|
let i = null, o = null, c, d = !1;
|
|
3863
3863
|
function u() {
|
|
@@ -3894,7 +3894,7 @@ function Br(t, e, n, s) {
|
|
|
3894
3894
|
get: f
|
|
3895
3895
|
};
|
|
3896
3896
|
}
|
|
3897
|
-
function
|
|
3897
|
+
function Hr(t, e, n, s, l, i) {
|
|
3898
3898
|
const {
|
|
3899
3899
|
measureSize: o,
|
|
3900
3900
|
startEdge: c,
|
|
@@ -3923,7 +3923,7 @@ function Pr(t, e, n, s, l, i) {
|
|
|
3923
3923
|
endGap: m
|
|
3924
3924
|
};
|
|
3925
3925
|
}
|
|
3926
|
-
function
|
|
3926
|
+
function Ur(t, e, n, s, l, i, o, c, d) {
|
|
3927
3927
|
const {
|
|
3928
3928
|
startEdge: u,
|
|
3929
3929
|
endEdge: v,
|
|
@@ -3934,8 +3934,8 @@ function zr(t, e, n, s, l, i, o, c, d) {
|
|
|
3934
3934
|
}
|
|
3935
3935
|
function a(p) {
|
|
3936
3936
|
return p.length ? Me(p).reduce((y, g, M) => {
|
|
3937
|
-
const D = le(y) || 0, w = D === 0, C = g === Fe(p), A = l[u] - i[D][u], j = l[u] - i[g][v], N = !s && w ? m(o) : 0, B = !s && C ? m(c) : 0,
|
|
3938
|
-
return M &&
|
|
3937
|
+
const D = le(y) || 0, w = D === 0, C = g === Fe(p), A = l[u] - i[D][u], j = l[u] - i[g][v], N = !s && w ? m(o) : 0, B = !s && C ? m(c) : 0, G = U(j - B - (A + N));
|
|
3938
|
+
return M && G > e + d && y.push(g), C && y.push(p.length), y;
|
|
3939
3939
|
}, []).map((y, g, M) => {
|
|
3940
3940
|
const D = Math.max(M[g - 1] || 0);
|
|
3941
3941
|
return p.slice(D, y);
|
|
@@ -3948,7 +3948,7 @@ function zr(t, e, n, s, l, i, o, c, d) {
|
|
|
3948
3948
|
groupSlides: h
|
|
3949
3949
|
};
|
|
3950
3950
|
}
|
|
3951
|
-
function
|
|
3951
|
+
function Or(t, e, n, s, l, i, o) {
|
|
3952
3952
|
const {
|
|
3953
3953
|
align: c,
|
|
3954
3954
|
axis: d,
|
|
@@ -3966,20 +3966,20 @@ function Rr(t, e, n, s, l, i, o) {
|
|
|
3966
3966
|
watchSlides: M,
|
|
3967
3967
|
watchDrag: D,
|
|
3968
3968
|
watchFocus: w
|
|
3969
|
-
} = i, C = 2, A =
|
|
3969
|
+
} = i, C = 2, A = Ir(), j = A.measure(e), N = n.map(A.measure), B = Sr(d, u), G = B.measureSize(j), O = Dr(G), z = xr(c, G), P = !m && !!y, L = m || !!y, {
|
|
3970
3970
|
slideSizes: V,
|
|
3971
3971
|
slideSizesWithGaps: te,
|
|
3972
3972
|
startGap: Q,
|
|
3973
3973
|
endGap: ie
|
|
3974
|
-
} =
|
|
3974
|
+
} = Hr(B, j, N, n, L, l), ee = Ur(B, G, k, m, j, N, Q, ie, C), {
|
|
3975
3975
|
snaps: de,
|
|
3976
3976
|
snapsAligned: ae
|
|
3977
|
-
} =
|
|
3977
|
+
} = Nr(B, z, j, N, ee), q = -le(de) + le(te), {
|
|
3978
3978
|
snapsContained: ce,
|
|
3979
3979
|
scrollContainLimit: T
|
|
3980
|
-
} =
|
|
3980
|
+
} = Lr(G, q, ae, y, C), S = P ? ce : ae, {
|
|
3981
3981
|
limit: E
|
|
3982
|
-
} =
|
|
3982
|
+
} = jr(q, S, m), H = Ft(Fe(S), v, m), Z = H.clone(), W = Me(n), I = ({
|
|
3983
3983
|
dragHandler: ye,
|
|
3984
3984
|
scrollBody: He,
|
|
3985
3985
|
scrollBounds: Ue,
|
|
@@ -3988,15 +3988,15 @@ function Rr(t, e, n, s, l, i, o) {
|
|
|
3988
3988
|
}
|
|
3989
3989
|
}) => {
|
|
3990
3990
|
Ne || Ue.constrain(ye.pointerDown()), He.seek();
|
|
3991
|
-
},
|
|
3991
|
+
}, $ = ({
|
|
3992
3992
|
scrollBody: ye,
|
|
3993
3993
|
translate: He,
|
|
3994
3994
|
location: Ue,
|
|
3995
3995
|
offsetLocation: Ne,
|
|
3996
3996
|
previousLocation: zt,
|
|
3997
|
-
scrollLooper:
|
|
3998
|
-
slideLooper:
|
|
3999
|
-
dragHandler:
|
|
3997
|
+
scrollLooper: $t,
|
|
3998
|
+
slideLooper: Rt,
|
|
3999
|
+
dragHandler: Gt,
|
|
4000
4000
|
animation: Wt,
|
|
4001
4001
|
eventHandler: lt,
|
|
4002
4002
|
scrollBounds: Ht,
|
|
@@ -4004,21 +4004,21 @@ function Rr(t, e, n, s, l, i, o) {
|
|
|
4004
4004
|
loop: dt
|
|
4005
4005
|
}
|
|
4006
4006
|
}, ct) => {
|
|
4007
|
-
const ut = ye.settled(), Ut = !Ht.shouldConstrain(), pt = dt ? ut : ut && Ut, mt = pt &&
|
|
4007
|
+
const ut = ye.settled(), Ut = !Ht.shouldConstrain(), pt = dt ? ut : ut && Ut, mt = pt && !Gt.pointerDown();
|
|
4008
4008
|
mt && Wt.stop();
|
|
4009
4009
|
const Ot = Ue.get() * ct + zt.get() * (1 - ct);
|
|
4010
|
-
Ne.set(Ot), dt && (
|
|
4011
|
-
},
|
|
4010
|
+
Ne.set(Ot), dt && ($t.loop(ye.direction()), Rt.loop()), He.to(Ne.get()), mt && lt.emit("settle"), pt || lt.emit("scroll");
|
|
4011
|
+
}, R = Tr(s, l, () => I(We), (ye) => $(We, ye)), K = 0.68, re = S[H.get()], pe = _e(re), he = _e(re), me = _e(re), ke = _e(re), Ce = Ar(pe, me, he, ke, f, K), Re = Pr(m, S, q, E, ke), Ge = zr(R, H, Z, Ce, Re, ke, o), st = Fr(E), it = je(), Bt = Wr(e, n, o, h), {
|
|
4012
4012
|
slideRegistry: at
|
|
4013
|
-
} =
|
|
4013
|
+
} = Br(P, y, S, T, ee, W), Pt = $r(t, n, at, Ge, Ce, it, o, w), We = {
|
|
4014
4014
|
ownerDocument: s,
|
|
4015
4015
|
ownerWindow: l,
|
|
4016
4016
|
eventHandler: o,
|
|
4017
4017
|
containerRect: j,
|
|
4018
4018
|
slideRects: N,
|
|
4019
|
-
animation:
|
|
4019
|
+
animation: R,
|
|
4020
4020
|
axis: B,
|
|
4021
|
-
dragHandler:
|
|
4021
|
+
dragHandler: Cr(B, t, s, l, ke, wr(B, l), pe, R, Ge, Ce, Re, H, o, O, x, a, p, K, D),
|
|
4022
4022
|
eventStore: it,
|
|
4023
4023
|
percentOfView: O,
|
|
4024
4024
|
index: H,
|
|
@@ -4028,18 +4028,18 @@ function Rr(t, e, n, s, l, i, o) {
|
|
|
4028
4028
|
offsetLocation: me,
|
|
4029
4029
|
previousLocation: he,
|
|
4030
4030
|
options: i,
|
|
4031
|
-
resizeHandler:
|
|
4031
|
+
resizeHandler: _r(e, o, l, n, B, g, A),
|
|
4032
4032
|
scrollBody: Ce,
|
|
4033
|
-
scrollBounds:
|
|
4034
|
-
scrollLooper:
|
|
4033
|
+
scrollBounds: Mr(E, me, ke, Ce, O),
|
|
4034
|
+
scrollLooper: Er(q, E, me, [pe, me, he, ke]),
|
|
4035
4035
|
scrollProgress: st,
|
|
4036
4036
|
scrollSnapList: S.map(st.get),
|
|
4037
4037
|
scrollSnaps: S,
|
|
4038
|
-
scrollTarget:
|
|
4039
|
-
scrollTo:
|
|
4040
|
-
slideLooper:
|
|
4038
|
+
scrollTarget: Re,
|
|
4039
|
+
scrollTo: Ge,
|
|
4040
|
+
slideLooper: Rr(B, G, q, V, te, de, S, me, n),
|
|
4041
4041
|
slideFocus: Pt,
|
|
4042
|
-
slidesHandler:
|
|
4042
|
+
slidesHandler: Gr(e, o, M),
|
|
4043
4043
|
slidesInView: Bt,
|
|
4044
4044
|
slideIndexes: W,
|
|
4045
4045
|
slideRegistry: at,
|
|
@@ -4049,7 +4049,7 @@ function Rr(t, e, n, s, l, i, o) {
|
|
|
4049
4049
|
};
|
|
4050
4050
|
return We;
|
|
4051
4051
|
}
|
|
4052
|
-
function
|
|
4052
|
+
function Vr() {
|
|
4053
4053
|
let t = {}, e;
|
|
4054
4054
|
function n(u) {
|
|
4055
4055
|
e = u;
|
|
@@ -4078,7 +4078,7 @@ function Gr() {
|
|
|
4078
4078
|
};
|
|
4079
4079
|
return d;
|
|
4080
4080
|
}
|
|
4081
|
-
const
|
|
4081
|
+
const Kr = {
|
|
4082
4082
|
align: "center",
|
|
4083
4083
|
axis: "x",
|
|
4084
4084
|
container: null,
|
|
@@ -4100,7 +4100,7 @@ const $r = {
|
|
|
4100
4100
|
watchSlides: !0,
|
|
4101
4101
|
watchFocus: !0
|
|
4102
4102
|
};
|
|
4103
|
-
function
|
|
4103
|
+
function Yr(t) {
|
|
4104
4104
|
function e(i, o) {
|
|
4105
4105
|
return Et(i, o || {});
|
|
4106
4106
|
}
|
|
@@ -4117,7 +4117,7 @@ function Wr(t) {
|
|
|
4117
4117
|
optionsMediaQueries: s
|
|
4118
4118
|
};
|
|
4119
4119
|
}
|
|
4120
|
-
function
|
|
4120
|
+
function qr(t) {
|
|
4121
4121
|
let e = [];
|
|
4122
4122
|
function n(i, o) {
|
|
4123
4123
|
return e = o.filter(({
|
|
@@ -4135,7 +4135,7 @@ function Hr(t) {
|
|
|
4135
4135
|
};
|
|
4136
4136
|
}
|
|
4137
4137
|
function ze(t, e, n) {
|
|
4138
|
-
const s = t.ownerDocument, l = s.defaultView, i =
|
|
4138
|
+
const s = t.ownerDocument, l = s.defaultView, i = Yr(l), o = qr(i), c = je(), d = Vr(), {
|
|
4139
4139
|
mergeOptions: u,
|
|
4140
4140
|
optionsAtMedia: v,
|
|
4141
4141
|
optionsMediaQueries: m
|
|
@@ -4144,45 +4144,45 @@ function ze(t, e, n) {
|
|
|
4144
4144
|
off: x,
|
|
4145
4145
|
emit: a
|
|
4146
4146
|
} = d, h = B;
|
|
4147
|
-
let k = !1, p, y = u(
|
|
4147
|
+
let k = !1, p, y = u(Kr, ze.globalOptions), g = u(y), M = [], D, w, C;
|
|
4148
4148
|
function A() {
|
|
4149
4149
|
const {
|
|
4150
4150
|
container: W,
|
|
4151
4151
|
slides: I
|
|
4152
4152
|
} = g;
|
|
4153
4153
|
w = (Ze(W) ? t.querySelector(W) : W) || t.children[0];
|
|
4154
|
-
const
|
|
4155
|
-
C = [].slice.call(
|
|
4154
|
+
const R = Ze(I) ? w.querySelectorAll(I) : I;
|
|
4155
|
+
C = [].slice.call(R || w.children);
|
|
4156
4156
|
}
|
|
4157
4157
|
function j(W) {
|
|
4158
|
-
const I =
|
|
4158
|
+
const I = Or(t, w, C, s, l, W, d);
|
|
4159
4159
|
if (W.loop && !I.slideLooper.canLoop()) {
|
|
4160
|
-
const
|
|
4160
|
+
const $ = Object.assign({}, W, {
|
|
4161
4161
|
loop: !1
|
|
4162
4162
|
});
|
|
4163
|
-
return j(
|
|
4163
|
+
return j($);
|
|
4164
4164
|
}
|
|
4165
4165
|
return I;
|
|
4166
4166
|
}
|
|
4167
4167
|
function N(W, I) {
|
|
4168
4168
|
k || (y = u(y, W), g = v(y), M = I || M, A(), p = j(g), m([y, ...M.map(({
|
|
4169
|
-
options:
|
|
4170
|
-
}) =>
|
|
4169
|
+
options: $
|
|
4170
|
+
}) => $)]).forEach(($) => c.add($, "change", B)), g.active && (p.translate.to(p.location.get()), p.animation.init(), p.slidesInView.init(), p.slideFocus.init(Z), p.eventHandler.init(Z), p.resizeHandler.init(Z), p.slidesHandler.init(Z), p.options.loop && p.slideLooper.loop(), w.offsetParent && C.length && p.dragHandler.init(Z), D = o.init(Z, M)));
|
|
4171
4171
|
}
|
|
4172
4172
|
function B(W, I) {
|
|
4173
|
-
const
|
|
4174
|
-
|
|
4175
|
-
startIndex:
|
|
4173
|
+
const $ = ee();
|
|
4174
|
+
G(), N(u({
|
|
4175
|
+
startIndex: $
|
|
4176
4176
|
}, W), I), d.emit("reInit");
|
|
4177
4177
|
}
|
|
4178
|
-
function
|
|
4178
|
+
function G() {
|
|
4179
4179
|
p.dragHandler.destroy(), p.eventStore.clear(), p.translate.clear(), p.slideLooper.clear(), p.resizeHandler.destroy(), p.slidesHandler.destroy(), p.slidesInView.destroy(), p.animation.destroy(), o.destroy(), c.clear();
|
|
4180
4180
|
}
|
|
4181
4181
|
function O() {
|
|
4182
|
-
k || (k = !0, c.clear(),
|
|
4182
|
+
k || (k = !0, c.clear(), G(), d.emit("destroy"), d.clear());
|
|
4183
4183
|
}
|
|
4184
|
-
function z(W, I,
|
|
4185
|
-
!g.active || k || (p.scrollBody.useBaseFriction().useDuration(I === !0 ? 0 : g.duration), p.scrollTo.index(W,
|
|
4184
|
+
function z(W, I, $) {
|
|
4185
|
+
!g.active || k || (p.scrollBody.useBaseFriction().useDuration(I === !0 ? 0 : g.duration), p.scrollTo.index(W, $ || 0));
|
|
4186
4186
|
}
|
|
4187
4187
|
function P(W) {
|
|
4188
4188
|
const I = p.index.add(1).get();
|
|
@@ -4264,9 +4264,9 @@ function rt(t = {}, e = []) {
|
|
|
4264
4264
|
return Y(() => {
|
|
4265
4265
|
et(n.current, t) || (n.current = t, d());
|
|
4266
4266
|
}, [t, d]), Y(() => {
|
|
4267
|
-
|
|
4267
|
+
vr(s.current, e) || (s.current = e, d());
|
|
4268
4268
|
}, [e, d]), Y(() => {
|
|
4269
|
-
if (
|
|
4269
|
+
if (kr() && o) {
|
|
4270
4270
|
ze.globalOptions = rt.globalOptions;
|
|
4271
4271
|
const u = ze(o, n.current, s.current);
|
|
4272
4272
|
return i(u), () => u.destroy();
|
|
@@ -4275,22 +4275,22 @@ function rt(t = {}, e = []) {
|
|
|
4275
4275
|
}, [o, i]), [c, l];
|
|
4276
4276
|
}
|
|
4277
4277
|
rt.globalOptions = void 0;
|
|
4278
|
-
const
|
|
4279
|
-
carouselContainer:
|
|
4280
|
-
viewport:
|
|
4281
|
-
slides:
|
|
4282
|
-
slide:
|
|
4283
|
-
slideInner:
|
|
4284
|
-
loaderOverlay:
|
|
4285
|
-
image:
|
|
4286
|
-
loaded:
|
|
4287
|
-
empty:
|
|
4288
|
-
controls:
|
|
4289
|
-
arrows:
|
|
4290
|
-
dots:
|
|
4291
|
-
dot:
|
|
4292
|
-
dotActive:
|
|
4293
|
-
},
|
|
4278
|
+
const Zr = "_carouselContainer_1bu1s_1", Xr = "_viewport_1bu1s_11", Jr = "_slides_1bu1s_17", Qr = "_slide_1bu1s_17", es = "_slideInner_1bu1s_37", ts = "_loaderOverlay_1bu1s_45", ns = "_image_1bu1s_55", os = "_loaded_1bu1s_66", rs = "_empty_1bu1s_78", ss = "_controls_1bu1s_84", is = "_arrows_1bu1s_94", as = "_dots_1bu1s_104", ls = "_dot_1bu1s_104", ds = "_dotActive_1bu1s_130", X = {
|
|
4279
|
+
carouselContainer: Zr,
|
|
4280
|
+
viewport: Xr,
|
|
4281
|
+
slides: Jr,
|
|
4282
|
+
slide: Qr,
|
|
4283
|
+
slideInner: es,
|
|
4284
|
+
loaderOverlay: ts,
|
|
4285
|
+
image: ns,
|
|
4286
|
+
loaded: os,
|
|
4287
|
+
empty: rs,
|
|
4288
|
+
controls: ss,
|
|
4289
|
+
arrows: is,
|
|
4290
|
+
dots: as,
|
|
4291
|
+
dot: ls,
|
|
4292
|
+
dotActive: ds
|
|
4293
|
+
}, cs = ln, us = ({
|
|
4294
4294
|
images: t,
|
|
4295
4295
|
autoPlay: e = !1,
|
|
4296
4296
|
autoDelay: n = 5,
|
|
@@ -4336,7 +4336,7 @@ const Ur = "_carouselContainer_1bu1s_1", Or = "_viewport_1bu1s_11", Vr = "_slide
|
|
|
4336
4336
|
window.clearInterval(z);
|
|
4337
4337
|
};
|
|
4338
4338
|
}, [e, w, a, t]);
|
|
4339
|
-
const B = Math.max(1, o),
|
|
4339
|
+
const B = Math.max(1, o), G = `${100 / B}%`, O = c / 2;
|
|
4340
4340
|
return /* @__PURE__ */ _(
|
|
4341
4341
|
"div",
|
|
4342
4342
|
{
|
|
@@ -4358,7 +4358,7 @@ const Ur = "_carouselContainer_1bu1s_1", Or = "_viewport_1bu1s_11", Vr = "_slide
|
|
|
4358
4358
|
{
|
|
4359
4359
|
className: X.slide,
|
|
4360
4360
|
style: {
|
|
4361
|
-
flex: `0 0 ${
|
|
4361
|
+
flex: `0 0 ${G}`,
|
|
4362
4362
|
paddingLeft: `${O}px`,
|
|
4363
4363
|
paddingRight: `${O}px`,
|
|
4364
4364
|
borderRadius: d > 0 ? `${d}px` : void 0,
|
|
@@ -4366,7 +4366,7 @@ const Ur = "_carouselContainer_1bu1s_1", Or = "_viewport_1bu1s_11", Vr = "_slide
|
|
|
4366
4366
|
// Ensure radius clips content
|
|
4367
4367
|
},
|
|
4368
4368
|
children: /* @__PURE__ */ _("div", { className: X.slideInner, style: { borderRadius: `${d}px`, overflow: "hidden", position: "relative", width: "100%", height: "100%" }, children: [
|
|
4369
|
-
!g[P] && /* @__PURE__ */ r("div", { className: X.loaderOverlay, children: /* @__PURE__ */ r(
|
|
4369
|
+
!g[P] && /* @__PURE__ */ r("div", { className: X.loaderOverlay, children: /* @__PURE__ */ r(cs, { "aria-label": m("carousel.loading") }) }),
|
|
4370
4370
|
/* @__PURE__ */ r(
|
|
4371
4371
|
"img",
|
|
4372
4372
|
{
|
|
@@ -4397,7 +4397,7 @@ const Ur = "_carouselContainer_1bu1s_1", Or = "_viewport_1bu1s_11", Vr = "_slide
|
|
|
4397
4397
|
"aria-label": m("carousel.previousImage"),
|
|
4398
4398
|
onClick: j,
|
|
4399
4399
|
disabled: !t || t.length <= 1,
|
|
4400
|
-
children: /* @__PURE__ */ r(
|
|
4400
|
+
children: /* @__PURE__ */ r(so, { "aria-hidden": !0 })
|
|
4401
4401
|
}
|
|
4402
4402
|
),
|
|
4403
4403
|
/* @__PURE__ */ r(
|
|
@@ -4408,7 +4408,7 @@ const Ur = "_carouselContainer_1bu1s_1", Or = "_viewport_1bu1s_11", Vr = "_slide
|
|
|
4408
4408
|
"aria-label": m("carousel.nextImage"),
|
|
4409
4409
|
onClick: N,
|
|
4410
4410
|
disabled: !t || t.length <= 1,
|
|
4411
|
-
children: /* @__PURE__ */ r(
|
|
4411
|
+
children: /* @__PURE__ */ r(io, { "aria-hidden": !0 })
|
|
4412
4412
|
}
|
|
4413
4413
|
)
|
|
4414
4414
|
] }),
|
|
@@ -4432,85 +4432,85 @@ const Ur = "_carouselContainer_1bu1s_1", Or = "_viewport_1bu1s_11", Vr = "_slide
|
|
|
4432
4432
|
}
|
|
4433
4433
|
);
|
|
4434
4434
|
};
|
|
4435
|
-
|
|
4436
|
-
const
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
const
|
|
4440
|
-
|
|
4441
|
-
const
|
|
4442
|
-
|
|
4443
|
-
const
|
|
4444
|
-
|
|
4445
|
-
const ue =
|
|
4446
|
-
|
|
4435
|
+
us.displayName = "Carousel";
|
|
4436
|
+
const ca = dn, ua = cn, pa = un, J = pn, ma = mn, ga = gn, fa = fn, ha = hn, ka = kn, va = vn, ya = yn, ba = bn, ps = xn, ms = Tn;
|
|
4437
|
+
ps.displayName = "Field.Description";
|
|
4438
|
+
ms.displayName = "Field.Counter";
|
|
4439
|
+
const xa = Dt, gs = fe((t, e) => /* @__PURE__ */ r(Sn, { ref: e, ...t }));
|
|
4440
|
+
gs.displayName = "Heading";
|
|
4441
|
+
const fs = Cn;
|
|
4442
|
+
fs.displayName = "Input";
|
|
4443
|
+
const hs = fe((t, e) => /* @__PURE__ */ r(wn, { ref: e, ...t }));
|
|
4444
|
+
hs.displayName = "Label";
|
|
4445
|
+
const ue = In, Ta = Dn, ks = _n, Sa = An, Ca = Mn, wa = Ln, Ia = jn;
|
|
4446
|
+
ks.displayName = "Pagination";
|
|
4447
4447
|
const Je = fe(
|
|
4448
|
-
(t, e) => /* @__PURE__ */ r(
|
|
4448
|
+
(t, e) => /* @__PURE__ */ r(En, { ref: e, ...t })
|
|
4449
4449
|
);
|
|
4450
4450
|
Je.displayName = "Paragraph";
|
|
4451
|
-
const
|
|
4452
|
-
Button:
|
|
4453
|
-
ClearButton:
|
|
4454
|
-
Input:
|
|
4455
|
-
}),
|
|
4456
|
-
|
|
4457
|
-
const Ke =
|
|
4458
|
-
|
|
4459
|
-
const
|
|
4460
|
-
header:
|
|
4461
|
-
languageSwitch:
|
|
4462
|
-
searchOverlay:
|
|
4463
|
-
headerExtension:
|
|
4464
|
-
extensionContentWrapper:
|
|
4465
|
-
extensionContent:
|
|
4466
|
-
extensionDivider:
|
|
4467
|
-
languageLabel:
|
|
4468
|
-
languageLink:
|
|
4469
|
-
headerInner:
|
|
4470
|
-
logoWrapper:
|
|
4471
|
-
logo:
|
|
4472
|
-
secondaryLogoWrapper:
|
|
4473
|
-
slotComponent:
|
|
4474
|
-
slotContainer:
|
|
4475
|
-
slotText:
|
|
4476
|
-
secondaryLogo:
|
|
4477
|
-
redCrossLogo:
|
|
4478
|
-
primaryLogo:
|
|
4479
|
-
navItems:
|
|
4480
|
-
navLink:
|
|
4481
|
-
actions:
|
|
4482
|
-
ctaButton:
|
|
4483
|
-
themeToggle:
|
|
4484
|
-
userInfo:
|
|
4485
|
-
userName:
|
|
4486
|
-
loginLink:
|
|
4487
|
-
loginText:
|
|
4488
|
-
underline:
|
|
4489
|
-
searchButtonWrapper:
|
|
4490
|
-
buttonText:
|
|
4491
|
-
menuButton:
|
|
4492
|
-
menuOverlay:
|
|
4493
|
-
searchContent:
|
|
4494
|
-
menuContent:
|
|
4495
|
-
menuLeftColumn:
|
|
4496
|
-
menuRightColumn:
|
|
4497
|
-
slotContent:
|
|
4498
|
-
navList:
|
|
4499
|
-
menuUtilities:
|
|
4500
|
-
menuBrand:
|
|
4501
|
-
suggestionsSection:
|
|
4502
|
-
suggestionsTitle:
|
|
4503
|
-
searchResults:
|
|
4504
|
-
resultList:
|
|
4505
|
-
resultItem:
|
|
4506
|
-
resultLink:
|
|
4507
|
-
suggestionIcon:
|
|
4508
|
-
suggestionText:
|
|
4509
|
-
highlightedText:
|
|
4510
|
-
remainingText:
|
|
4511
|
-
viewAllLink:
|
|
4512
|
-
noResults:
|
|
4513
|
-
},
|
|
4451
|
+
const Da = Fn, _a = Nn, Aa = Bn, Be = Object.assign(Pn, {
|
|
4452
|
+
Button: Rn,
|
|
4453
|
+
ClearButton: $n,
|
|
4454
|
+
Input: zn
|
|
4455
|
+
}), Ma = Gn, La = Wn, ja = Hn, vs = Un;
|
|
4456
|
+
vs.displayName = "Suggestion";
|
|
4457
|
+
const Ke = On, Ea = Vn, Fa = Kn, Na = Yn, Ba = qn, Pa = Zn, za = Xn, $a = Jn, ys = fe((t, e) => /* @__PURE__ */ r(Qn, { ref: e, ...t }));
|
|
4458
|
+
ys.displayName = "ValidationMessage";
|
|
4459
|
+
const bs = "_header_ymzss_1", xs = "_languageSwitch_ymzss_36", Ts = "_searchOverlay_ymzss_40", Ss = "_headerExtension_ymzss_45", Cs = "_extensionContentWrapper_ymzss_73", ws = "_extensionContent_ymzss_73", Is = "_extensionDivider_ymzss_100", Ds = "_languageLabel_ymzss_124", _s = "_languageLink_ymzss_140", As = "_headerInner_ymzss_175", Ms = "_logoWrapper_ymzss_192", Ls = "_logo_ymzss_192", js = "_secondaryLogoWrapper_ymzss_215", Es = "_slotComponent_ymzss_224", Fs = "_slotContainer_ymzss_234", Ns = "_slotText_ymzss_242", Bs = "_secondaryLogo_ymzss_215", Ps = "_redCrossLogo_ymzss_269", zs = "_primaryLogo_ymzss_275", $s = "_navItems_ymzss_279", Rs = "_navLink_ymzss_288", Gs = "_actions_ymzss_301", Ws = "_ctaButton_ymzss_309", Hs = "_themeToggle_ymzss_314", Us = "_userInfo_ymzss_319", Os = "_userName_ymzss_325", Vs = "_loginLink_ymzss_332", Ks = "_loginText_ymzss_341", Ys = "_underline_ymzss_348", qs = "_searchButtonWrapper_ymzss_354", Zs = "_buttonText_ymzss_358", Xs = "_menuButton_ymzss_363", Js = "_menuOverlay_ymzss_368", Qs = "_searchContent_ymzss_402", ei = "_menuContent_ymzss_412", ti = "_menuLeftColumn_ymzss_421", ni = "_menuRightColumn_ymzss_427", oi = "_slotContent_ymzss_441", ri = "_navList_ymzss_454", si = "_menuUtilities_ymzss_461", ii = "_menuBrand_ymzss_468", ai = "_suggestionsSection_ymzss_472", li = "_suggestionsTitle_ymzss_478", di = "_searchResults_ymzss_487", ci = "_resultList_ymzss_493", ui = "_resultItem_ymzss_499", pi = "_resultLink_ymzss_507", mi = "_suggestionIcon_ymzss_521", gi = "_suggestionText_ymzss_534", fi = "_highlightedText_ymzss_541", hi = "_remainingText_ymzss_546", ki = "_viewAllLink_ymzss_559", vi = "_noResults_ymzss_594", b = {
|
|
4460
|
+
header: bs,
|
|
4461
|
+
languageSwitch: xs,
|
|
4462
|
+
searchOverlay: Ts,
|
|
4463
|
+
headerExtension: Ss,
|
|
4464
|
+
extensionContentWrapper: Cs,
|
|
4465
|
+
extensionContent: ws,
|
|
4466
|
+
extensionDivider: Is,
|
|
4467
|
+
languageLabel: Ds,
|
|
4468
|
+
languageLink: _s,
|
|
4469
|
+
headerInner: As,
|
|
4470
|
+
logoWrapper: Ms,
|
|
4471
|
+
logo: Ls,
|
|
4472
|
+
secondaryLogoWrapper: js,
|
|
4473
|
+
slotComponent: Es,
|
|
4474
|
+
slotContainer: Fs,
|
|
4475
|
+
slotText: Ns,
|
|
4476
|
+
secondaryLogo: Bs,
|
|
4477
|
+
redCrossLogo: Ps,
|
|
4478
|
+
primaryLogo: zs,
|
|
4479
|
+
navItems: $s,
|
|
4480
|
+
navLink: Rs,
|
|
4481
|
+
actions: Gs,
|
|
4482
|
+
ctaButton: Ws,
|
|
4483
|
+
themeToggle: Hs,
|
|
4484
|
+
userInfo: Us,
|
|
4485
|
+
userName: Os,
|
|
4486
|
+
loginLink: Vs,
|
|
4487
|
+
loginText: Ks,
|
|
4488
|
+
underline: Ys,
|
|
4489
|
+
searchButtonWrapper: qs,
|
|
4490
|
+
buttonText: Zs,
|
|
4491
|
+
menuButton: Xs,
|
|
4492
|
+
menuOverlay: Js,
|
|
4493
|
+
searchContent: Qs,
|
|
4494
|
+
menuContent: ei,
|
|
4495
|
+
menuLeftColumn: ti,
|
|
4496
|
+
menuRightColumn: ni,
|
|
4497
|
+
slotContent: oi,
|
|
4498
|
+
navList: ri,
|
|
4499
|
+
menuUtilities: si,
|
|
4500
|
+
menuBrand: ii,
|
|
4501
|
+
suggestionsSection: ai,
|
|
4502
|
+
suggestionsTitle: li,
|
|
4503
|
+
searchResults: di,
|
|
4504
|
+
resultList: ci,
|
|
4505
|
+
resultItem: ui,
|
|
4506
|
+
resultLink: pi,
|
|
4507
|
+
suggestionIcon: mi,
|
|
4508
|
+
suggestionText: gi,
|
|
4509
|
+
highlightedText: fi,
|
|
4510
|
+
remainingText: hi,
|
|
4511
|
+
viewAllLink: ki,
|
|
4512
|
+
noResults: vi
|
|
4513
|
+
}, yi = [
|
|
4514
4514
|
// Pages
|
|
4515
4515
|
{ id: "home", title: "Hjem", category: "Page", path: "home", description: "Forsiden" },
|
|
4516
4516
|
{ id: "components", title: "Komponenter", category: "Page", path: "components", description: "Oversikt over alle komponenter" },
|
|
@@ -4573,7 +4573,7 @@ const gs = "_header_ymzss_1", fs = "_languageSwitch_ymzss_36", hs = "_searchOver
|
|
|
4573
4573
|
{ id: "komponent-kreasjon", title: "Komponent Kreasjon", category: "Code", path: "code/komponent-kreasjon", description: "Opprette nye komponenter" },
|
|
4574
4574
|
{ id: "progression", title: "Progresjon", category: "Code", path: "code/progression", description: "Fra design til ferdig komponent" },
|
|
4575
4575
|
{ id: "metadata-files", title: "Metadata filer", category: "Code", path: "code/metadata-files", description: "Struktur og bruk av metadata.json" }
|
|
4576
|
-
],
|
|
4576
|
+
], Ra = ({
|
|
4577
4577
|
"data-color": t = "primary",
|
|
4578
4578
|
activePage: e,
|
|
4579
4579
|
setPage: n,
|
|
@@ -4583,7 +4583,7 @@ const gs = "_header_ymzss_1", fs = "_languageSwitch_ymzss_36", hs = "_searchOver
|
|
|
4583
4583
|
showLogin: o = !0,
|
|
4584
4584
|
showCta: c = !1,
|
|
4585
4585
|
ctaLabel: d,
|
|
4586
|
-
ctaIcon: u = /* @__PURE__ */ r(
|
|
4586
|
+
ctaIcon: u = /* @__PURE__ */ r(lo, { "aria-hidden": !0 }),
|
|
4587
4587
|
onCtaClick: v,
|
|
4588
4588
|
showThemeToggle: m = !1,
|
|
4589
4589
|
secondaryLogo: f = !1,
|
|
@@ -4597,11 +4597,11 @@ const gs = "_header_ymzss_1", fs = "_languageSwitch_ymzss_36", hs = "_searchOver
|
|
|
4597
4597
|
showModeToggle: M = !1,
|
|
4598
4598
|
showLanguageSwitch: D = !1
|
|
4599
4599
|
}) => {
|
|
4600
|
-
const [w, C] = oe(!1), [A, j] = oe(!1), [N, B] = oe(""), [
|
|
4600
|
+
const [w, C] = oe(!1), [A, j] = oe(!1), [N, B] = oe(""), [G, O] = oe("light"), { language: z, setLanguage: P, t: L } = Ee(), [V, te] = oe(!1);
|
|
4601
4601
|
Y(() => {
|
|
4602
4602
|
const T = "rk-header-inline-styles";
|
|
4603
4603
|
if (typeof document > "u" || document.getElementById(T)) return;
|
|
4604
|
-
const S =
|
|
4604
|
+
const S = bi(b), E = document.createElement("style");
|
|
4605
4605
|
E.id = T, E.textContent = S, document.head.appendChild(E);
|
|
4606
4606
|
}, []);
|
|
4607
4607
|
const Q = () => /* @__PURE__ */ _(
|
|
@@ -4686,7 +4686,7 @@ const gs = "_header_ymzss_1", fs = "_languageSwitch_ymzss_36", hs = "_searchOver
|
|
|
4686
4686
|
};
|
|
4687
4687
|
}, [A]);
|
|
4688
4688
|
const ie = () => {
|
|
4689
|
-
const T =
|
|
4689
|
+
const T = G === "light" ? "dark" : "light";
|
|
4690
4690
|
O(T), document.documentElement.setAttribute("data-color-scheme", T);
|
|
4691
4691
|
}, ee = (T) => {
|
|
4692
4692
|
n && (T.preventDefault(), n("home")), C(!1), j(!1);
|
|
@@ -4703,7 +4703,7 @@ const gs = "_header_ymzss_1", fs = "_languageSwitch_ymzss_36", hs = "_searchOver
|
|
|
4703
4703
|
}, q = Te(() => {
|
|
4704
4704
|
if (!N.trim()) return [];
|
|
4705
4705
|
const T = N.toLowerCase();
|
|
4706
|
-
return
|
|
4706
|
+
return yi.filter(
|
|
4707
4707
|
(S) => S.title.toLowerCase().startsWith(T)
|
|
4708
4708
|
);
|
|
4709
4709
|
}, [N]), ce = (T) => {
|
|
@@ -4715,7 +4715,7 @@ const gs = "_header_ymzss_1", fs = "_languageSwitch_ymzss_36", hs = "_searchOver
|
|
|
4715
4715
|
Ke,
|
|
4716
4716
|
{
|
|
4717
4717
|
"data-size": "sm",
|
|
4718
|
-
checked:
|
|
4718
|
+
checked: G === "dark",
|
|
4719
4719
|
onChange: ie,
|
|
4720
4720
|
label: L("header.darkMode"),
|
|
4721
4721
|
color: "neutral",
|
|
@@ -4742,7 +4742,7 @@ const gs = "_header_ymzss_1", fs = "_languageSwitch_ymzss_36", hs = "_searchOver
|
|
|
4742
4742
|
/* @__PURE__ */ r(
|
|
4743
4743
|
J,
|
|
4744
4744
|
{
|
|
4745
|
-
"data-color-scheme":
|
|
4745
|
+
"data-color-scheme": G,
|
|
4746
4746
|
placement: "bottom-end",
|
|
4747
4747
|
children: /* @__PURE__ */ _(J.List, { children: [
|
|
4748
4748
|
/* @__PURE__ */ r(J.Item, { children: /* @__PURE__ */ r(J.Button, { onClick: () => P("NO"), children: "Norsk (NO)" }) }),
|
|
@@ -4768,7 +4768,7 @@ const gs = "_header_ymzss_1", fs = "_languageSwitch_ymzss_36", hs = "_searchOver
|
|
|
4768
4768
|
/* @__PURE__ */ r("div", { className: b.secondaryLogoWrapper, children: f && x ? /* @__PURE__ */ r(
|
|
4769
4769
|
"img",
|
|
4770
4770
|
{
|
|
4771
|
-
src:
|
|
4771
|
+
src: G === "dark" && a ? a : x,
|
|
4772
4772
|
alt: h,
|
|
4773
4773
|
className: b.secondaryLogo
|
|
4774
4774
|
}
|
|
@@ -4804,7 +4804,7 @@ const gs = "_header_ymzss_1", fs = "_languageSwitch_ymzss_36", hs = "_searchOver
|
|
|
4804
4804
|
!g && m && /* @__PURE__ */ r("div", { className: b.themeToggle, children: /* @__PURE__ */ r(
|
|
4805
4805
|
Ke,
|
|
4806
4806
|
{
|
|
4807
|
-
checked:
|
|
4807
|
+
checked: G === "dark",
|
|
4808
4808
|
onChange: ie,
|
|
4809
4809
|
"aria-label": L("header.toggleTheme")
|
|
4810
4810
|
}
|
|
@@ -4843,7 +4843,7 @@ const gs = "_header_ymzss_1", fs = "_languageSwitch_ymzss_36", hs = "_searchOver
|
|
|
4843
4843
|
"aria-label": L(w ? "header.closeMenu" : "header.openMenu"),
|
|
4844
4844
|
className: b.menuButton,
|
|
4845
4845
|
children: [
|
|
4846
|
-
w ? /* @__PURE__ */ r(ht, { "aria-hidden": !0 }) : /* @__PURE__ */ r(
|
|
4846
|
+
w ? /* @__PURE__ */ r(ht, { "aria-hidden": !0 }) : /* @__PURE__ */ r(ao, { "aria-hidden": !0 }),
|
|
4847
4847
|
/* @__PURE__ */ r("span", { className: b.buttonText, children: L(w ? "header.close" : "header.menu") })
|
|
4848
4848
|
]
|
|
4849
4849
|
}
|
|
@@ -4873,7 +4873,7 @@ const gs = "_header_ymzss_1", fs = "_languageSwitch_ymzss_36", hs = "_searchOver
|
|
|
4873
4873
|
/* @__PURE__ */ r(
|
|
4874
4874
|
J,
|
|
4875
4875
|
{
|
|
4876
|
-
"data-color-scheme":
|
|
4876
|
+
"data-color-scheme": G,
|
|
4877
4877
|
placement: "bottom-start",
|
|
4878
4878
|
children: /* @__PURE__ */ _(J.List, { children: [
|
|
4879
4879
|
/* @__PURE__ */ r(J.Item, { children: /* @__PURE__ */ r(J.Button, { onClick: () => P("NO"), children: "Norsk (NO)" }) }),
|
|
@@ -4887,7 +4887,7 @@ const gs = "_header_ymzss_1", fs = "_languageSwitch_ymzss_36", hs = "_searchOver
|
|
|
4887
4887
|
Ke,
|
|
4888
4888
|
{
|
|
4889
4889
|
"data-size": "sm",
|
|
4890
|
-
checked:
|
|
4890
|
+
checked: G === "dark",
|
|
4891
4891
|
onChange: ie,
|
|
4892
4892
|
label: L("header.darkMode"),
|
|
4893
4893
|
color: "neutral",
|
|
@@ -4975,7 +4975,7 @@ const gs = "_header_ymzss_1", fs = "_languageSwitch_ymzss_36", hs = "_searchOver
|
|
|
4975
4975
|
] }) })
|
|
4976
4976
|
] });
|
|
4977
4977
|
};
|
|
4978
|
-
function
|
|
4978
|
+
function bi(t) {
|
|
4979
4979
|
const e = t;
|
|
4980
4980
|
return `
|
|
4981
4981
|
.${e.header} {
|
|
@@ -5117,35 +5117,35 @@ function gi(t) {
|
|
|
5117
5117
|
}
|
|
5118
5118
|
`;
|
|
5119
5119
|
}
|
|
5120
|
-
const
|
|
5121
|
-
footer:
|
|
5122
|
-
redSection:
|
|
5123
|
-
redContainer:
|
|
5124
|
-
shortcutsSection:
|
|
5125
|
-
shortcutsColumn:
|
|
5126
|
-
shortcutsTitle:
|
|
5127
|
-
shortcutsList:
|
|
5128
|
-
shortcutLink:
|
|
5129
|
-
slotComponent:
|
|
5130
|
-
divider:
|
|
5131
|
-
contactSection:
|
|
5132
|
-
contactColumn:
|
|
5133
|
-
contactTitle:
|
|
5134
|
-
contactContent:
|
|
5135
|
-
legalSection:
|
|
5136
|
-
copyrightText:
|
|
5137
|
-
legalLinks:
|
|
5138
|
-
legalLink:
|
|
5139
|
-
whiteSection:
|
|
5140
|
-
whiteContainer:
|
|
5141
|
-
whiteContent:
|
|
5142
|
-
logo:
|
|
5143
|
-
redCrossLogo:
|
|
5144
|
-
secondaryLogoWrapper:
|
|
5145
|
-
designSystemLogo:
|
|
5146
|
-
slotSmall:
|
|
5147
|
-
slotLarge:
|
|
5148
|
-
},
|
|
5120
|
+
const xi = "_footer_6xhfo_1", Ti = "_redSection_6xhfo_7", Si = "_redContainer_6xhfo_26", Ci = "_shortcutsSection_6xhfo_35", wi = "_shortcutsColumn_6xhfo_43", Ii = "_shortcutsTitle_6xhfo_51", Di = "_shortcutsList_6xhfo_60", _i = "_shortcutLink_6xhfo_69", Ai = "_slotComponent_6xhfo_92", Mi = "_divider_6xhfo_131", Li = "_contactSection_6xhfo_139", ji = "_contactColumn_6xhfo_146", Ei = "_contactTitle_6xhfo_154", Fi = "_contactContent_6xhfo_163", Ni = "_legalSection_6xhfo_177", Bi = "_copyrightText_6xhfo_184", Pi = "_legalLinks_6xhfo_193", zi = "_legalLink_6xhfo_193", $i = "_whiteSection_6xhfo_223", Ri = "_whiteContainer_6xhfo_228", Gi = "_whiteContent_6xhfo_241", Wi = "_logo_6xhfo_248", Hi = "_redCrossLogo_6xhfo_265", Ui = "_secondaryLogoWrapper_6xhfo_271", Oi = "_designSystemLogo_6xhfo_278", Vi = "_slotSmall_6xhfo_285", Ki = "_slotLarge_6xhfo_296", F = {
|
|
5121
|
+
footer: xi,
|
|
5122
|
+
redSection: Ti,
|
|
5123
|
+
redContainer: Si,
|
|
5124
|
+
shortcutsSection: Ci,
|
|
5125
|
+
shortcutsColumn: wi,
|
|
5126
|
+
shortcutsTitle: Ii,
|
|
5127
|
+
shortcutsList: Di,
|
|
5128
|
+
shortcutLink: _i,
|
|
5129
|
+
slotComponent: Ai,
|
|
5130
|
+
divider: Mi,
|
|
5131
|
+
contactSection: Li,
|
|
5132
|
+
contactColumn: ji,
|
|
5133
|
+
contactTitle: Ei,
|
|
5134
|
+
contactContent: Fi,
|
|
5135
|
+
legalSection: Ni,
|
|
5136
|
+
copyrightText: Bi,
|
|
5137
|
+
legalLinks: Pi,
|
|
5138
|
+
legalLink: zi,
|
|
5139
|
+
whiteSection: $i,
|
|
5140
|
+
whiteContainer: Ri,
|
|
5141
|
+
whiteContent: Gi,
|
|
5142
|
+
logo: Wi,
|
|
5143
|
+
redCrossLogo: Hi,
|
|
5144
|
+
secondaryLogoWrapper: Ui,
|
|
5145
|
+
designSystemLogo: Oi,
|
|
5146
|
+
slotSmall: Vi,
|
|
5147
|
+
slotLarge: Ki
|
|
5148
|
+
}, Ga = ({
|
|
5149
5149
|
"data-color": t = "additional",
|
|
5150
5150
|
redSectionSlot: e,
|
|
5151
5151
|
whiteSectionSlotSmall: n,
|
|
@@ -5164,7 +5164,7 @@ const fi = "_footer_6xhfo_1", hi = "_redSection_6xhfo_7", ki = "_redContainer_6x
|
|
|
5164
5164
|
Pe.useEffect(() => {
|
|
5165
5165
|
const D = "rk-footer-inline-styles";
|
|
5166
5166
|
if (typeof document > "u" || document.getElementById(D)) return;
|
|
5167
|
-
const w =
|
|
5167
|
+
const w = Yi(F), C = document.createElement("style");
|
|
5168
5168
|
C.id = D, C.textContent = w, document.head.appendChild(C);
|
|
5169
5169
|
}, []);
|
|
5170
5170
|
const [h, k] = Pe.useState("light");
|
|
@@ -5283,7 +5283,7 @@ const fi = "_footer_6xhfo_1", hi = "_redSection_6xhfo_7", ki = "_redContainer_6x
|
|
|
5283
5283
|
] }) }) })
|
|
5284
5284
|
] });
|
|
5285
5285
|
};
|
|
5286
|
-
function
|
|
5286
|
+
function Yi(t) {
|
|
5287
5287
|
const e = t;
|
|
5288
5288
|
return `
|
|
5289
5289
|
.${e.footer} {
|
|
@@ -5546,64 +5546,70 @@ function Wi(t) {
|
|
|
5546
5546
|
`;
|
|
5547
5547
|
}
|
|
5548
5548
|
export {
|
|
5549
|
-
|
|
5549
|
+
co as Alert,
|
|
5550
5550
|
Mt as Avatar,
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5551
|
+
uo as Badge,
|
|
5552
|
+
ea as BadgePosition,
|
|
5553
|
+
ta as Breadcrumbs,
|
|
5554
|
+
oa as BreadcrumbsItem,
|
|
5555
|
+
ra as BreadcrumbsLink,
|
|
5556
|
+
na as BreadcrumbsList,
|
|
5557
5557
|
Se as Button,
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5558
|
+
po as Card,
|
|
5559
|
+
sa as CardBlock,
|
|
5560
|
+
us as Carousel,
|
|
5561
|
+
mo as Checkbox,
|
|
5562
|
+
aa as Chip,
|
|
5563
|
+
gr as DateInput,
|
|
5564
|
+
sr as DatePicker,
|
|
5565
|
+
ca as Details,
|
|
5566
|
+
ua as Dialog,
|
|
5567
|
+
pa as Divider,
|
|
5568
5568
|
J as Dropdown,
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5569
|
+
va as DropdownButton,
|
|
5570
|
+
fa as DropdownHeading,
|
|
5571
|
+
ka as DropdownItem,
|
|
5572
|
+
ha as DropdownList,
|
|
5573
|
+
ma as DropdownTrigger,
|
|
5574
|
+
ga as DropdownTriggerContext,
|
|
5575
|
+
ya as ErrorSummary,
|
|
5576
|
+
ba as Field,
|
|
5577
|
+
ms as FieldCounter,
|
|
5578
|
+
ps as FieldDescription,
|
|
5579
|
+
xa as Fieldset,
|
|
5580
|
+
Ga as Footer,
|
|
5581
|
+
Ra as Header,
|
|
5582
|
+
gs as Heading,
|
|
5583
|
+
fs as Input,
|
|
5584
|
+
hs as Label,
|
|
5585
|
+
la as LanguageProvider,
|
|
5580
5586
|
ue as Link,
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5587
|
+
Ta as List,
|
|
5588
|
+
ks as Pagination,
|
|
5589
|
+
wa as PaginationButton,
|
|
5590
|
+
Ca as PaginationItem,
|
|
5591
|
+
Sa as PaginationList,
|
|
5586
5592
|
Je as Paragraph,
|
|
5587
|
-
|
|
5588
|
-
|
|
5593
|
+
Da as Popover,
|
|
5594
|
+
_a as Radio,
|
|
5589
5595
|
Be as Search,
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5596
|
+
Ma as Select,
|
|
5597
|
+
La as SkeletonLoader,
|
|
5598
|
+
ja as SkipLink,
|
|
5599
|
+
cs as Spinner,
|
|
5600
|
+
vs as Suggestion,
|
|
5595
5601
|
Ke as Switch,
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5602
|
+
Ea as Table,
|
|
5603
|
+
Fa as Tabs,
|
|
5604
|
+
Na as Tag,
|
|
5605
|
+
Ba as Textarea,
|
|
5606
|
+
Pa as Textfield,
|
|
5607
|
+
za as ToggleGroup,
|
|
5608
|
+
$a as Tooltip,
|
|
5609
|
+
ys as ValidationMessage,
|
|
5610
|
+
ia as useCheckboxGroup,
|
|
5611
|
+
da as useLanguage,
|
|
5606
5612
|
Ee as useLanguageOptional,
|
|
5607
|
-
|
|
5608
|
-
|
|
5613
|
+
Ia as usePagination,
|
|
5614
|
+
Aa as useRadioGroup
|
|
5609
5615
|
};
|