@navikt/ds-react 0.13.3 → 0.14.0-beta.1
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/cjs/loader/Loader.js +1 -1
- package/dist/complete.js +15978 -0
- package/dist/partial.js +4039 -0
- package/esm/loader/Loader.js +1 -1
- package/esm/loader/Loader.js.map +1 -1
- package/package.json +9 -6
- package/src/grid/stories/grid.stories.mdx +3 -3
- package/src/guide-panel/stories/example.css +4 -4
- package/src/guide-panel/stories/guidepanel.stories.mdx +7 -7
- package/src/guide-panel/stories/guidepanel.stories.tsx +6 -6
- package/src/loader/Loader.tsx +1 -1
- package/src/loader/stories/loader.stories.mdx +0 -16
- package/src/popover/stories/popover.stories.tsx +1 -1
- package/src/speech-bubble/stories/speechbubble.stories.mdx +4 -4
- package/src/speech-bubble/stories/speechbubble.stories.tsx +2 -2
- package/src/typography/stories/index.css +1 -1
- package/LICENCE +0 -31
package/dist/partial.js
ADDED
|
@@ -0,0 +1,4039 @@
|
|
|
1
|
+
(() => {
|
|
2
|
+
"use strict";
|
|
3
|
+
var e = {
|
|
4
|
+
201: (e, t, r) => {
|
|
5
|
+
r.d(t, { Z: () => l });
|
|
6
|
+
var n = r(689),
|
|
7
|
+
a = r(828);
|
|
8
|
+
const l = n.forwardRef(function (e, t) {
|
|
9
|
+
var { title: r, titleId: l } = e,
|
|
10
|
+
o = (function (e, t) {
|
|
11
|
+
var r = {};
|
|
12
|
+
for (var n in e)
|
|
13
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
14
|
+
t.indexOf(n) < 0 &&
|
|
15
|
+
(r[n] = e[n]);
|
|
16
|
+
if (
|
|
17
|
+
null != e &&
|
|
18
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
19
|
+
) {
|
|
20
|
+
var a = 0;
|
|
21
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
22
|
+
t.indexOf(n[a]) < 0 &&
|
|
23
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
24
|
+
(r[n[a]] = e[n[a]]);
|
|
25
|
+
}
|
|
26
|
+
return r;
|
|
27
|
+
})(e, ["title", "titleId"]);
|
|
28
|
+
const s = null != l ? l : r ? "icon-title-" + (0, a.v4)() : void 0;
|
|
29
|
+
return n.createElement(
|
|
30
|
+
"svg",
|
|
31
|
+
Object.assign(
|
|
32
|
+
{
|
|
33
|
+
width: "1em",
|
|
34
|
+
height: "1em",
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
fill: "none",
|
|
37
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
38
|
+
focusable: !1,
|
|
39
|
+
role: "img",
|
|
40
|
+
ref: t,
|
|
41
|
+
"aria-labelledby": s,
|
|
42
|
+
},
|
|
43
|
+
o
|
|
44
|
+
),
|
|
45
|
+
r ? n.createElement("title", { id: s }, r) : null,
|
|
46
|
+
n.createElement("path", {
|
|
47
|
+
fillRule: "evenodd",
|
|
48
|
+
clipRule: "evenodd",
|
|
49
|
+
d: "M12 17L3 8.429 4.5 7l7.5 7.143L19.5 7 21 8.429 12 17z",
|
|
50
|
+
fill: "currentColor",
|
|
51
|
+
})
|
|
52
|
+
);
|
|
53
|
+
});
|
|
54
|
+
},
|
|
55
|
+
348: function (e, t, r) {
|
|
56
|
+
var n =
|
|
57
|
+
(this && this.__createBinding) ||
|
|
58
|
+
(Object.create
|
|
59
|
+
? function (e, t, r, n) {
|
|
60
|
+
void 0 === n && (n = r),
|
|
61
|
+
Object.defineProperty(e, n, {
|
|
62
|
+
enumerable: !0,
|
|
63
|
+
get: function () {
|
|
64
|
+
return t[r];
|
|
65
|
+
},
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
: function (e, t, r, n) {
|
|
69
|
+
void 0 === n && (n = r), (e[n] = t[r]);
|
|
70
|
+
}),
|
|
71
|
+
a =
|
|
72
|
+
(this && this.__exportStar) ||
|
|
73
|
+
function (e, t) {
|
|
74
|
+
for (var r in e)
|
|
75
|
+
"default" === r ||
|
|
76
|
+
Object.prototype.hasOwnProperty.call(t, r) ||
|
|
77
|
+
n(t, e, r);
|
|
78
|
+
};
|
|
79
|
+
Object.defineProperty(t, "__esModule", { value: !0 }),
|
|
80
|
+
a(r(151), t),
|
|
81
|
+
a(r(244), t),
|
|
82
|
+
a(r(15), t),
|
|
83
|
+
a(r(888), t),
|
|
84
|
+
a(r(183), t),
|
|
85
|
+
a(r(111), t),
|
|
86
|
+
a(r(589), t),
|
|
87
|
+
a(r(192), t),
|
|
88
|
+
a(r(741), t),
|
|
89
|
+
a(r(607), t),
|
|
90
|
+
a(r(704), t),
|
|
91
|
+
a(r(126), t),
|
|
92
|
+
a(r(698), t),
|
|
93
|
+
a(r(207), t),
|
|
94
|
+
a(r(610), t),
|
|
95
|
+
a(r(612), t),
|
|
96
|
+
a(r(31), t),
|
|
97
|
+
a(r(264), t),
|
|
98
|
+
a(r(992), t),
|
|
99
|
+
a(r(914), t),
|
|
100
|
+
a(r(252), t);
|
|
101
|
+
},
|
|
102
|
+
244: (e, t, r) => {
|
|
103
|
+
r.r(t), r.d(t, { AccordionMenu: () => u });
|
|
104
|
+
var n = r(689),
|
|
105
|
+
a = r.n(n),
|
|
106
|
+
l = r(3),
|
|
107
|
+
o = r.n(l);
|
|
108
|
+
const s = ({ children: e }) =>
|
|
109
|
+
a().createElement(
|
|
110
|
+
"ul",
|
|
111
|
+
{ className: "navds-accordion-menu__list" },
|
|
112
|
+
a()
|
|
113
|
+
.Children.toArray(e)
|
|
114
|
+
.map((e, t) =>
|
|
115
|
+
a().createElement(
|
|
116
|
+
"li",
|
|
117
|
+
{ key: t, className: "navds-accordion-menu__list-item" },
|
|
118
|
+
e
|
|
119
|
+
)
|
|
120
|
+
)
|
|
121
|
+
);
|
|
122
|
+
var i = r(201);
|
|
123
|
+
const c = (0, n.forwardRef)((e, t) => {
|
|
124
|
+
var { children: r, defaultOpen: l = !1, title: c, className: d } = e,
|
|
125
|
+
p = (function (e, t) {
|
|
126
|
+
var r = {};
|
|
127
|
+
for (var n in e)
|
|
128
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
129
|
+
t.indexOf(n) < 0 &&
|
|
130
|
+
(r[n] = e[n]);
|
|
131
|
+
if (
|
|
132
|
+
null != e &&
|
|
133
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
134
|
+
) {
|
|
135
|
+
var a = 0;
|
|
136
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
137
|
+
t.indexOf(n[a]) < 0 &&
|
|
138
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
139
|
+
(r[n[a]] = e[n[a]]);
|
|
140
|
+
}
|
|
141
|
+
return r;
|
|
142
|
+
})(e, ["children", "defaultOpen", "title", "className"]);
|
|
143
|
+
const [u, f] = (0, n.useState)(l);
|
|
144
|
+
return a().createElement(
|
|
145
|
+
"div",
|
|
146
|
+
Object.assign(
|
|
147
|
+
{
|
|
148
|
+
ref: t,
|
|
149
|
+
className: o()("navds-accordion-menu-collapsable", d, {
|
|
150
|
+
"navds-accordion-menu-collapsable--open": u,
|
|
151
|
+
}),
|
|
152
|
+
},
|
|
153
|
+
p
|
|
154
|
+
),
|
|
155
|
+
a().createElement(
|
|
156
|
+
"button",
|
|
157
|
+
{
|
|
158
|
+
onClick: () => f(!u),
|
|
159
|
+
className: "navds-accordion-menu-collapsable__button",
|
|
160
|
+
},
|
|
161
|
+
c,
|
|
162
|
+
a().createElement(i.Z, {
|
|
163
|
+
title: u ? "Pil peker opp" : "Pil peker ned",
|
|
164
|
+
className: "navds-accordion-menu-collapsable__expand-icon",
|
|
165
|
+
})
|
|
166
|
+
),
|
|
167
|
+
u && a().createElement(s, null, r)
|
|
168
|
+
);
|
|
169
|
+
});
|
|
170
|
+
const d = (0, n.forwardRef)((e, t) => {
|
|
171
|
+
var { children: r, as: n = "a", active: l = !1, className: s } = e,
|
|
172
|
+
i = (function (e, t) {
|
|
173
|
+
var r = {};
|
|
174
|
+
for (var n in e)
|
|
175
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
176
|
+
t.indexOf(n) < 0 &&
|
|
177
|
+
(r[n] = e[n]);
|
|
178
|
+
if (
|
|
179
|
+
null != e &&
|
|
180
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
181
|
+
) {
|
|
182
|
+
var a = 0;
|
|
183
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
184
|
+
t.indexOf(n[a]) < 0 &&
|
|
185
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
186
|
+
(r[n[a]] = e[n[a]]);
|
|
187
|
+
}
|
|
188
|
+
return r;
|
|
189
|
+
})(e, ["children", "as", "active", "className"]);
|
|
190
|
+
return a().createElement(
|
|
191
|
+
n,
|
|
192
|
+
Object.assign(
|
|
193
|
+
{
|
|
194
|
+
ref: t,
|
|
195
|
+
className: o()("navds-accordion-menu-item", s, {
|
|
196
|
+
"navds-accordion-menu-item--active": l,
|
|
197
|
+
}),
|
|
198
|
+
},
|
|
199
|
+
i
|
|
200
|
+
),
|
|
201
|
+
r
|
|
202
|
+
);
|
|
203
|
+
});
|
|
204
|
+
const p = (0, n.forwardRef)((e, t) => {
|
|
205
|
+
var { children: r, className: n } = e,
|
|
206
|
+
l = (function (e, t) {
|
|
207
|
+
var r = {};
|
|
208
|
+
for (var n in e)
|
|
209
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
210
|
+
t.indexOf(n) < 0 &&
|
|
211
|
+
(r[n] = e[n]);
|
|
212
|
+
if (
|
|
213
|
+
null != e &&
|
|
214
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
215
|
+
) {
|
|
216
|
+
var a = 0;
|
|
217
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
218
|
+
t.indexOf(n[a]) < 0 &&
|
|
219
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
220
|
+
(r[n[a]] = e[n[a]]);
|
|
221
|
+
}
|
|
222
|
+
return r;
|
|
223
|
+
})(e, ["children", "className"]);
|
|
224
|
+
return a().createElement(
|
|
225
|
+
"nav",
|
|
226
|
+
Object.assign(
|
|
227
|
+
{
|
|
228
|
+
role: "navigation",
|
|
229
|
+
ref: t,
|
|
230
|
+
className: o()("navds-accordion-menu", n),
|
|
231
|
+
},
|
|
232
|
+
l
|
|
233
|
+
),
|
|
234
|
+
a().createElement(s, null, r)
|
|
235
|
+
);
|
|
236
|
+
});
|
|
237
|
+
(p.Collapsable = c), (p.Item = d);
|
|
238
|
+
const u = p;
|
|
239
|
+
},
|
|
240
|
+
151: (e, t, r) => {
|
|
241
|
+
r.r(t), r.d(t, { Accordion: () => y });
|
|
242
|
+
var n = r(3),
|
|
243
|
+
a = r.n(n),
|
|
244
|
+
l = r(689),
|
|
245
|
+
o = r.n(l);
|
|
246
|
+
const s = (0, l.createContext)(null),
|
|
247
|
+
i = (0, l.forwardRef)((e, t) => {
|
|
248
|
+
var {
|
|
249
|
+
children: r,
|
|
250
|
+
className: n,
|
|
251
|
+
open: i,
|
|
252
|
+
defaultOpen: c = !1,
|
|
253
|
+
renderContentWhenClosed: d = !1,
|
|
254
|
+
onClick: p,
|
|
255
|
+
id: u,
|
|
256
|
+
} = e,
|
|
257
|
+
f = (function (e, t) {
|
|
258
|
+
var r = {};
|
|
259
|
+
for (var n in e)
|
|
260
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
261
|
+
t.indexOf(n) < 0 &&
|
|
262
|
+
(r[n] = e[n]);
|
|
263
|
+
if (
|
|
264
|
+
null != e &&
|
|
265
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
266
|
+
) {
|
|
267
|
+
var a = 0;
|
|
268
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
269
|
+
t.indexOf(n[a]) < 0 &&
|
|
270
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
271
|
+
(r[n[a]] = e[n[a]]);
|
|
272
|
+
}
|
|
273
|
+
return r;
|
|
274
|
+
})(e, [
|
|
275
|
+
"children",
|
|
276
|
+
"className",
|
|
277
|
+
"open",
|
|
278
|
+
"defaultOpen",
|
|
279
|
+
"renderContentWhenClosed",
|
|
280
|
+
"onClick",
|
|
281
|
+
"id",
|
|
282
|
+
]);
|
|
283
|
+
const [m, v] = (0, l.useState)(c),
|
|
284
|
+
[b, y] = (0, l.useState)("");
|
|
285
|
+
return o().createElement(
|
|
286
|
+
"div",
|
|
287
|
+
Object.assign(
|
|
288
|
+
{
|
|
289
|
+
className: a()("navds-accordion__item", n, {
|
|
290
|
+
"navds-accordion__item--open": null != i ? i : m,
|
|
291
|
+
}),
|
|
292
|
+
ref: t,
|
|
293
|
+
},
|
|
294
|
+
f
|
|
295
|
+
),
|
|
296
|
+
o().createElement(
|
|
297
|
+
s.Provider,
|
|
298
|
+
{
|
|
299
|
+
value: {
|
|
300
|
+
open: null != i ? i : m,
|
|
301
|
+
toggleOpen: () => {
|
|
302
|
+
void 0 === i && v((e) => !e);
|
|
303
|
+
},
|
|
304
|
+
renderContentWhenClosed: d,
|
|
305
|
+
setButtonId: y,
|
|
306
|
+
buttonId: b,
|
|
307
|
+
},
|
|
308
|
+
},
|
|
309
|
+
r
|
|
310
|
+
)
|
|
311
|
+
);
|
|
312
|
+
}),
|
|
313
|
+
c = require("react-collapse");
|
|
314
|
+
const d = (0, l.forwardRef)((e, t) => {
|
|
315
|
+
var { children: r, className: n, id: i } = e,
|
|
316
|
+
d = (function (e, t) {
|
|
317
|
+
var r = {};
|
|
318
|
+
for (var n in e)
|
|
319
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
320
|
+
t.indexOf(n) < 0 &&
|
|
321
|
+
(r[n] = e[n]);
|
|
322
|
+
if (
|
|
323
|
+
null != e &&
|
|
324
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
325
|
+
) {
|
|
326
|
+
var a = 0;
|
|
327
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
328
|
+
t.indexOf(n[a]) < 0 &&
|
|
329
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
330
|
+
(r[n[a]] = e[n[a]]);
|
|
331
|
+
}
|
|
332
|
+
return r;
|
|
333
|
+
})(e, ["children", "className", "id"]);
|
|
334
|
+
const p = (0, l.useContext)(s);
|
|
335
|
+
if (null === p)
|
|
336
|
+
return (
|
|
337
|
+
console.error(
|
|
338
|
+
"<Accordion.Content> has to be used within an <Accordion.Item>"
|
|
339
|
+
),
|
|
340
|
+
null
|
|
341
|
+
);
|
|
342
|
+
const u = p.renderContentWhenClosed ? c.Collapse : c.UnmountClosed;
|
|
343
|
+
return o().createElement(
|
|
344
|
+
"div",
|
|
345
|
+
Object.assign(
|
|
346
|
+
{ ref: t, role: "region", "aria-labelledby": p.buttonId },
|
|
347
|
+
d
|
|
348
|
+
),
|
|
349
|
+
o().createElement(
|
|
350
|
+
u,
|
|
351
|
+
{ isOpened: p.open },
|
|
352
|
+
o().createElement(
|
|
353
|
+
"div",
|
|
354
|
+
{ className: a()("navds-accordion__content", n) },
|
|
355
|
+
r
|
|
356
|
+
)
|
|
357
|
+
)
|
|
358
|
+
);
|
|
359
|
+
});
|
|
360
|
+
var p = r(201),
|
|
361
|
+
u = r(828);
|
|
362
|
+
const f = l.forwardRef(function (e, t) {
|
|
363
|
+
var { title: r, titleId: n } = e,
|
|
364
|
+
a = (function (e, t) {
|
|
365
|
+
var r = {};
|
|
366
|
+
for (var n in e)
|
|
367
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
368
|
+
t.indexOf(n) < 0 &&
|
|
369
|
+
(r[n] = e[n]);
|
|
370
|
+
if (
|
|
371
|
+
null != e &&
|
|
372
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
373
|
+
) {
|
|
374
|
+
var a = 0;
|
|
375
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
376
|
+
t.indexOf(n[a]) < 0 &&
|
|
377
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
378
|
+
(r[n[a]] = e[n[a]]);
|
|
379
|
+
}
|
|
380
|
+
return r;
|
|
381
|
+
})(e, ["title", "titleId"]);
|
|
382
|
+
const o = null != n ? n : r ? "icon-title-" + (0, u.v4)() : void 0;
|
|
383
|
+
return l.createElement(
|
|
384
|
+
"svg",
|
|
385
|
+
Object.assign(
|
|
386
|
+
{
|
|
387
|
+
width: "1em",
|
|
388
|
+
height: "1em",
|
|
389
|
+
viewBox: "0 0 24 24",
|
|
390
|
+
fill: "none",
|
|
391
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
392
|
+
focusable: !1,
|
|
393
|
+
role: "img",
|
|
394
|
+
ref: t,
|
|
395
|
+
"aria-labelledby": o,
|
|
396
|
+
},
|
|
397
|
+
a
|
|
398
|
+
),
|
|
399
|
+
r ? l.createElement("title", { id: o }, r) : null,
|
|
400
|
+
l.createElement("path", {
|
|
401
|
+
fillRule: "evenodd",
|
|
402
|
+
clipRule: "evenodd",
|
|
403
|
+
d: "M12 17L3 8.429 5.5 6l6.5 6.5L18.5 6 21 8.429 12 17z",
|
|
404
|
+
fill: "currentColor",
|
|
405
|
+
})
|
|
406
|
+
);
|
|
407
|
+
});
|
|
408
|
+
var m = r(800);
|
|
409
|
+
const v = (0, l.forwardRef)((e, t) => {
|
|
410
|
+
var { children: r, className: n, id: i, onClick: c } = e,
|
|
411
|
+
d = (function (e, t) {
|
|
412
|
+
var r = {};
|
|
413
|
+
for (var n in e)
|
|
414
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
415
|
+
t.indexOf(n) < 0 &&
|
|
416
|
+
(r[n] = e[n]);
|
|
417
|
+
if (
|
|
418
|
+
null != e &&
|
|
419
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
420
|
+
) {
|
|
421
|
+
var a = 0;
|
|
422
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
423
|
+
t.indexOf(n[a]) < 0 &&
|
|
424
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
425
|
+
(r[n[a]] = e[n[a]]);
|
|
426
|
+
}
|
|
427
|
+
return r;
|
|
428
|
+
})(e, ["children", "className", "id", "onClick"]);
|
|
429
|
+
const u = (0, l.useContext)(s),
|
|
430
|
+
v = (0, m.M)(i),
|
|
431
|
+
b = u && u.setButtonId;
|
|
432
|
+
return (
|
|
433
|
+
(0, m.T)(() => {
|
|
434
|
+
b && b(i ? v : `accordionContent-${v}`);
|
|
435
|
+
}, [b, v]),
|
|
436
|
+
null === u
|
|
437
|
+
? (console.error(
|
|
438
|
+
"<Accordion.Header> has to be used within an <Accordion.Item>"
|
|
439
|
+
),
|
|
440
|
+
null)
|
|
441
|
+
: o().createElement(
|
|
442
|
+
"button",
|
|
443
|
+
Object.assign(
|
|
444
|
+
{
|
|
445
|
+
ref: t,
|
|
446
|
+
id: u.buttonId,
|
|
447
|
+
className: a()(
|
|
448
|
+
"navds-accordion__header",
|
|
449
|
+
n,
|
|
450
|
+
"navds-heading",
|
|
451
|
+
"navds-heading--small"
|
|
452
|
+
),
|
|
453
|
+
onClick: (e) => {
|
|
454
|
+
u.toggleOpen(), c && c(e);
|
|
455
|
+
},
|
|
456
|
+
},
|
|
457
|
+
d
|
|
458
|
+
),
|
|
459
|
+
r,
|
|
460
|
+
o().createElement(p.Z, {
|
|
461
|
+
title: u.open ? "Lukk panel ikon" : "Åpne panel ikon",
|
|
462
|
+
className: a()("navds-accordion__expand-icon", {
|
|
463
|
+
"navds-accordion__expand-icon--flip": u.open,
|
|
464
|
+
}),
|
|
465
|
+
}),
|
|
466
|
+
o().createElement(f, {
|
|
467
|
+
title: u.open ? "Lukk panel ikon" : "Åpne panel ikon",
|
|
468
|
+
className: a()(
|
|
469
|
+
"navds-accordion__expand-icon",
|
|
470
|
+
"navds-accordion__expand-icon--filled",
|
|
471
|
+
{ "navds-accordion__expand-icon--flip": u.open }
|
|
472
|
+
),
|
|
473
|
+
})
|
|
474
|
+
)
|
|
475
|
+
);
|
|
476
|
+
});
|
|
477
|
+
const b = (0, l.forwardRef)((e, t) => {
|
|
478
|
+
var { className: r } = e,
|
|
479
|
+
n = (function (e, t) {
|
|
480
|
+
var r = {};
|
|
481
|
+
for (var n in e)
|
|
482
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
483
|
+
t.indexOf(n) < 0 &&
|
|
484
|
+
(r[n] = e[n]);
|
|
485
|
+
if (
|
|
486
|
+
null != e &&
|
|
487
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
488
|
+
) {
|
|
489
|
+
var a = 0;
|
|
490
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
491
|
+
t.indexOf(n[a]) < 0 &&
|
|
492
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
493
|
+
(r[n[a]] = e[n[a]]);
|
|
494
|
+
}
|
|
495
|
+
return r;
|
|
496
|
+
})(e, ["className"]);
|
|
497
|
+
return o().createElement(
|
|
498
|
+
"div",
|
|
499
|
+
Object.assign({}, n, {
|
|
500
|
+
className: a()("navds-accordion", r),
|
|
501
|
+
ref: t,
|
|
502
|
+
})
|
|
503
|
+
);
|
|
504
|
+
});
|
|
505
|
+
(b.Header = v), (b.Content = d), (b.Item = i);
|
|
506
|
+
const y = b;
|
|
507
|
+
},
|
|
508
|
+
15: (e, t, r) => {
|
|
509
|
+
r.r(t), r.d(t, { Alert: () => v });
|
|
510
|
+
var n = r(689),
|
|
511
|
+
a = r.n(n),
|
|
512
|
+
l = r(3),
|
|
513
|
+
o = r.n(l),
|
|
514
|
+
s = r(828);
|
|
515
|
+
const i = n.forwardRef(function (e, t) {
|
|
516
|
+
var { title: r, titleId: a } = e,
|
|
517
|
+
l = (function (e, t) {
|
|
518
|
+
var r = {};
|
|
519
|
+
for (var n in e)
|
|
520
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
521
|
+
t.indexOf(n) < 0 &&
|
|
522
|
+
(r[n] = e[n]);
|
|
523
|
+
if (
|
|
524
|
+
null != e &&
|
|
525
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
526
|
+
) {
|
|
527
|
+
var a = 0;
|
|
528
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
529
|
+
t.indexOf(n[a]) < 0 &&
|
|
530
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
531
|
+
(r[n[a]] = e[n[a]]);
|
|
532
|
+
}
|
|
533
|
+
return r;
|
|
534
|
+
})(e, ["title", "titleId"]);
|
|
535
|
+
const o = null != a ? a : r ? "icon-title-" + (0, s.v4)() : void 0;
|
|
536
|
+
return n.createElement(
|
|
537
|
+
"svg",
|
|
538
|
+
Object.assign(
|
|
539
|
+
{
|
|
540
|
+
width: "1em",
|
|
541
|
+
height: "1em",
|
|
542
|
+
viewBox: "0 0 24 24",
|
|
543
|
+
fill: "none",
|
|
544
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
545
|
+
focusable: !1,
|
|
546
|
+
role: "img",
|
|
547
|
+
ref: t,
|
|
548
|
+
"aria-labelledby": o,
|
|
549
|
+
},
|
|
550
|
+
l
|
|
551
|
+
),
|
|
552
|
+
r ? n.createElement("title", { id: o }, r) : null,
|
|
553
|
+
n.createElement("path", {
|
|
554
|
+
fillRule: "evenodd",
|
|
555
|
+
clipRule: "evenodd",
|
|
556
|
+
d:
|
|
557
|
+
"M12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0zm3.571 7L17 8.429 13.428 12 17 15.571 15.571 17 12 13.428 8.429 17 7 15.571 10.572 12 7 8.429 8.429 7 12 10.572 15.571 7z",
|
|
558
|
+
fill: "currentColor",
|
|
559
|
+
})
|
|
560
|
+
);
|
|
561
|
+
});
|
|
562
|
+
const c = n.forwardRef(function (e, t) {
|
|
563
|
+
var { title: r, titleId: a } = e,
|
|
564
|
+
l = (function (e, t) {
|
|
565
|
+
var r = {};
|
|
566
|
+
for (var n in e)
|
|
567
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
568
|
+
t.indexOf(n) < 0 &&
|
|
569
|
+
(r[n] = e[n]);
|
|
570
|
+
if (
|
|
571
|
+
null != e &&
|
|
572
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
573
|
+
) {
|
|
574
|
+
var a = 0;
|
|
575
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
576
|
+
t.indexOf(n[a]) < 0 &&
|
|
577
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
578
|
+
(r[n[a]] = e[n[a]]);
|
|
579
|
+
}
|
|
580
|
+
return r;
|
|
581
|
+
})(e, ["title", "titleId"]);
|
|
582
|
+
const o = null != a ? a : r ? "icon-title-" + (0, s.v4)() : void 0;
|
|
583
|
+
return n.createElement(
|
|
584
|
+
"svg",
|
|
585
|
+
Object.assign(
|
|
586
|
+
{
|
|
587
|
+
width: "1em",
|
|
588
|
+
height: "1em",
|
|
589
|
+
viewBox: "0 0 24 24",
|
|
590
|
+
fill: "none",
|
|
591
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
592
|
+
focusable: !1,
|
|
593
|
+
role: "img",
|
|
594
|
+
ref: t,
|
|
595
|
+
"aria-labelledby": o,
|
|
596
|
+
},
|
|
597
|
+
l
|
|
598
|
+
),
|
|
599
|
+
r ? n.createElement("title", { id: o }, r) : null,
|
|
600
|
+
n.createElement("path", {
|
|
601
|
+
fillRule: "evenodd",
|
|
602
|
+
clipRule: "evenodd",
|
|
603
|
+
d:
|
|
604
|
+
"M12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0zm0 16a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm1-11v9h-2V5h2z",
|
|
605
|
+
fill: "currentColor",
|
|
606
|
+
})
|
|
607
|
+
);
|
|
608
|
+
});
|
|
609
|
+
const d = n.forwardRef(function (e, t) {
|
|
610
|
+
var { title: r, titleId: a } = e,
|
|
611
|
+
l = (function (e, t) {
|
|
612
|
+
var r = {};
|
|
613
|
+
for (var n in e)
|
|
614
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
615
|
+
t.indexOf(n) < 0 &&
|
|
616
|
+
(r[n] = e[n]);
|
|
617
|
+
if (
|
|
618
|
+
null != e &&
|
|
619
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
620
|
+
) {
|
|
621
|
+
var a = 0;
|
|
622
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
623
|
+
t.indexOf(n[a]) < 0 &&
|
|
624
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
625
|
+
(r[n[a]] = e[n[a]]);
|
|
626
|
+
}
|
|
627
|
+
return r;
|
|
628
|
+
})(e, ["title", "titleId"]);
|
|
629
|
+
const o = null != a ? a : r ? "icon-title-" + (0, s.v4)() : void 0;
|
|
630
|
+
return n.createElement(
|
|
631
|
+
"svg",
|
|
632
|
+
Object.assign(
|
|
633
|
+
{
|
|
634
|
+
width: "1em",
|
|
635
|
+
height: "1em",
|
|
636
|
+
viewBox: "0 0 24 24",
|
|
637
|
+
fill: "none",
|
|
638
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
639
|
+
focusable: !1,
|
|
640
|
+
role: "img",
|
|
641
|
+
ref: t,
|
|
642
|
+
"aria-labelledby": o,
|
|
643
|
+
},
|
|
644
|
+
l
|
|
645
|
+
),
|
|
646
|
+
r ? n.createElement("title", { id: o }, r) : null,
|
|
647
|
+
n.createElement("path", {
|
|
648
|
+
fillRule: "evenodd",
|
|
649
|
+
clipRule: "evenodd",
|
|
650
|
+
d:
|
|
651
|
+
"M12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0zM9 19v-2h2v-5H9v-2h4v7h2v2H9zm3-14a1.5 1.5 0 110 3 1.5 1.5 0 010-3z",
|
|
652
|
+
fill: "currentColor",
|
|
653
|
+
})
|
|
654
|
+
);
|
|
655
|
+
});
|
|
656
|
+
const p = n.forwardRef(function (e, t) {
|
|
657
|
+
var { title: r, titleId: a } = e,
|
|
658
|
+
l = (function (e, t) {
|
|
659
|
+
var r = {};
|
|
660
|
+
for (var n in e)
|
|
661
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
662
|
+
t.indexOf(n) < 0 &&
|
|
663
|
+
(r[n] = e[n]);
|
|
664
|
+
if (
|
|
665
|
+
null != e &&
|
|
666
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
667
|
+
) {
|
|
668
|
+
var a = 0;
|
|
669
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
670
|
+
t.indexOf(n[a]) < 0 &&
|
|
671
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
672
|
+
(r[n[a]] = e[n[a]]);
|
|
673
|
+
}
|
|
674
|
+
return r;
|
|
675
|
+
})(e, ["title", "titleId"]);
|
|
676
|
+
const o = null != a ? a : r ? "icon-title-" + (0, s.v4)() : void 0;
|
|
677
|
+
return n.createElement(
|
|
678
|
+
"svg",
|
|
679
|
+
Object.assign(
|
|
680
|
+
{
|
|
681
|
+
width: "1em",
|
|
682
|
+
height: "1em",
|
|
683
|
+
viewBox: "0 0 24 24",
|
|
684
|
+
fill: "none",
|
|
685
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
686
|
+
focusable: !1,
|
|
687
|
+
role: "img",
|
|
688
|
+
ref: t,
|
|
689
|
+
"aria-labelledby": o,
|
|
690
|
+
},
|
|
691
|
+
l
|
|
692
|
+
),
|
|
693
|
+
r ? n.createElement("title", { id: o }, r) : null,
|
|
694
|
+
n.createElement("path", {
|
|
695
|
+
fillRule: "evenodd",
|
|
696
|
+
clipRule: "evenodd",
|
|
697
|
+
d:
|
|
698
|
+
"M12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0zm5.047 7.671l1.399 1.43-8.728 8.398L6 14.02l1.395-1.434 2.319 2.118 7.333-7.032z",
|
|
699
|
+
fill: "currentColor",
|
|
700
|
+
})
|
|
701
|
+
);
|
|
702
|
+
});
|
|
703
|
+
var u = r(633),
|
|
704
|
+
f = function (e, t) {
|
|
705
|
+
var r = {};
|
|
706
|
+
for (var n in e)
|
|
707
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
708
|
+
t.indexOf(n) < 0 &&
|
|
709
|
+
(r[n] = e[n]);
|
|
710
|
+
if (
|
|
711
|
+
null != e &&
|
|
712
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
713
|
+
) {
|
|
714
|
+
var a = 0;
|
|
715
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
716
|
+
t.indexOf(n[a]) < 0 &&
|
|
717
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
718
|
+
(r[n[a]] = e[n[a]]);
|
|
719
|
+
}
|
|
720
|
+
return r;
|
|
721
|
+
};
|
|
722
|
+
const m = (e) => {
|
|
723
|
+
var { variant: t } = e,
|
|
724
|
+
r = f(e, ["variant"]);
|
|
725
|
+
switch (t) {
|
|
726
|
+
case "error":
|
|
727
|
+
return a().createElement(i, Object.assign({}, r));
|
|
728
|
+
case "warning":
|
|
729
|
+
return a().createElement(c, Object.assign({}, r));
|
|
730
|
+
case "info":
|
|
731
|
+
return a().createElement(d, Object.assign({}, r));
|
|
732
|
+
case "success":
|
|
733
|
+
return a().createElement(p, Object.assign({}, r));
|
|
734
|
+
default:
|
|
735
|
+
return null;
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
v = (0, n.forwardRef)((e, t) => {
|
|
739
|
+
var {
|
|
740
|
+
children: r,
|
|
741
|
+
className: n,
|
|
742
|
+
variant: l,
|
|
743
|
+
size: s = "medium",
|
|
744
|
+
fullWidth: i = !1,
|
|
745
|
+
inline: c = !1,
|
|
746
|
+
} = e,
|
|
747
|
+
d = f(e, [
|
|
748
|
+
"children",
|
|
749
|
+
"className",
|
|
750
|
+
"variant",
|
|
751
|
+
"size",
|
|
752
|
+
"fullWidth",
|
|
753
|
+
"inline",
|
|
754
|
+
]);
|
|
755
|
+
return a().createElement(
|
|
756
|
+
"div",
|
|
757
|
+
Object.assign({}, d, {
|
|
758
|
+
ref: t,
|
|
759
|
+
className: o()(
|
|
760
|
+
n,
|
|
761
|
+
"navds-alert",
|
|
762
|
+
`navds-alert--${l}`,
|
|
763
|
+
`navds-alert--${s}`,
|
|
764
|
+
{ "navds-alert--full-width": i, "navds-alert--inline": c }
|
|
765
|
+
),
|
|
766
|
+
}),
|
|
767
|
+
a().createElement(m, {
|
|
768
|
+
title: `${l}-ikon`,
|
|
769
|
+
variant: l,
|
|
770
|
+
className: "navds-alert__icon",
|
|
771
|
+
}),
|
|
772
|
+
a().createElement(
|
|
773
|
+
u.Z,
|
|
774
|
+
{ as: "div", size: s, className: "navds-alert__wrapper" },
|
|
775
|
+
r
|
|
776
|
+
)
|
|
777
|
+
);
|
|
778
|
+
});
|
|
779
|
+
},
|
|
780
|
+
449: (e, t, r) => {
|
|
781
|
+
r.d(t, { Z: () => i });
|
|
782
|
+
var n = r(689),
|
|
783
|
+
a = r.n(n),
|
|
784
|
+
l = r(3),
|
|
785
|
+
o = r.n(l),
|
|
786
|
+
s = r(747);
|
|
787
|
+
const i = (0, n.forwardRef)((e, t) => {
|
|
788
|
+
var {
|
|
789
|
+
as: r = "button",
|
|
790
|
+
variant: n = "primary",
|
|
791
|
+
className: l,
|
|
792
|
+
children: i,
|
|
793
|
+
size: c = "medium",
|
|
794
|
+
} = e,
|
|
795
|
+
d = (function (e, t) {
|
|
796
|
+
var r = {};
|
|
797
|
+
for (var n in e)
|
|
798
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
799
|
+
t.indexOf(n) < 0 &&
|
|
800
|
+
(r[n] = e[n]);
|
|
801
|
+
if (
|
|
802
|
+
null != e &&
|
|
803
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
804
|
+
) {
|
|
805
|
+
var a = 0;
|
|
806
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
807
|
+
t.indexOf(n[a]) < 0 &&
|
|
808
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
809
|
+
(r[n[a]] = e[n[a]]);
|
|
810
|
+
}
|
|
811
|
+
return r;
|
|
812
|
+
})(e, ["as", "variant", "className", "children", "size"]);
|
|
813
|
+
return a().createElement(
|
|
814
|
+
r,
|
|
815
|
+
Object.assign({}, d, {
|
|
816
|
+
ref: t,
|
|
817
|
+
className: o()(
|
|
818
|
+
l,
|
|
819
|
+
"navds-button",
|
|
820
|
+
`navds-button--${n}`,
|
|
821
|
+
`navds-button--${c}`
|
|
822
|
+
),
|
|
823
|
+
}),
|
|
824
|
+
a().createElement(
|
|
825
|
+
s.Z,
|
|
826
|
+
{ as: "span", className: "navds-button__inner", size: c },
|
|
827
|
+
i
|
|
828
|
+
)
|
|
829
|
+
);
|
|
830
|
+
});
|
|
831
|
+
},
|
|
832
|
+
888: (e, t, r) => {
|
|
833
|
+
r.r(t), r.d(t, { Button: () => n.Z });
|
|
834
|
+
var n = r(449);
|
|
835
|
+
},
|
|
836
|
+
914: (e, t, r) => {
|
|
837
|
+
r.r(t), r.d(t, { MicroCard: () => s });
|
|
838
|
+
var n = r(689),
|
|
839
|
+
a = r.n(n),
|
|
840
|
+
l = r(3),
|
|
841
|
+
o = r.n(l);
|
|
842
|
+
const s = (0, n.forwardRef)((e, t) => {
|
|
843
|
+
var { className: r, as: n = "a", children: l } = e,
|
|
844
|
+
s = (function (e, t) {
|
|
845
|
+
var r = {};
|
|
846
|
+
for (var n in e)
|
|
847
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
848
|
+
t.indexOf(n) < 0 &&
|
|
849
|
+
(r[n] = e[n]);
|
|
850
|
+
if (
|
|
851
|
+
null != e &&
|
|
852
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
853
|
+
) {
|
|
854
|
+
var a = 0;
|
|
855
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
856
|
+
t.indexOf(n[a]) < 0 &&
|
|
857
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
858
|
+
(r[n[a]] = e[n[a]]);
|
|
859
|
+
}
|
|
860
|
+
return r;
|
|
861
|
+
})(e, ["className", "as", "children"]);
|
|
862
|
+
return a().createElement(
|
|
863
|
+
n,
|
|
864
|
+
Object.assign(
|
|
865
|
+
{
|
|
866
|
+
ref: t,
|
|
867
|
+
className: o()(
|
|
868
|
+
"navds-card__micro",
|
|
869
|
+
"navds-detail",
|
|
870
|
+
"navds-detail--small",
|
|
871
|
+
r
|
|
872
|
+
),
|
|
873
|
+
title: l,
|
|
874
|
+
},
|
|
875
|
+
s
|
|
876
|
+
),
|
|
877
|
+
l
|
|
878
|
+
);
|
|
879
|
+
});
|
|
880
|
+
},
|
|
881
|
+
183: (e, t, r) => {
|
|
882
|
+
r.r(t),
|
|
883
|
+
r.d(t, {
|
|
884
|
+
Checkbox: () => g,
|
|
885
|
+
CheckboxGroup: () => y,
|
|
886
|
+
ConfirmationPanel: () => A,
|
|
887
|
+
Counter: () => V,
|
|
888
|
+
ErrorSummary: () => L,
|
|
889
|
+
Fieldset: () => f,
|
|
890
|
+
FieldsetContext: () => u,
|
|
891
|
+
Radio: () => j,
|
|
892
|
+
RadioGroup: () => w,
|
|
893
|
+
SearchField: () => S,
|
|
894
|
+
Select: () => I,
|
|
895
|
+
TextField: () => F,
|
|
896
|
+
Textarea: () => B,
|
|
897
|
+
});
|
|
898
|
+
var n = r(689),
|
|
899
|
+
a = r.n(n),
|
|
900
|
+
l = r(3),
|
|
901
|
+
o = r.n(l),
|
|
902
|
+
s = r(992),
|
|
903
|
+
i = r(181),
|
|
904
|
+
c = r(747),
|
|
905
|
+
d = r(526);
|
|
906
|
+
const p = (e) => {
|
|
907
|
+
var t;
|
|
908
|
+
return a().createElement(
|
|
909
|
+
i.Z,
|
|
910
|
+
Object.assign({}, e, {
|
|
911
|
+
as: "div",
|
|
912
|
+
className: o()(
|
|
913
|
+
"navds-error-message",
|
|
914
|
+
e.className,
|
|
915
|
+
`navds-error-message--${
|
|
916
|
+
null !== (t = e.size) && void 0 !== t ? t : "medium"
|
|
917
|
+
}`
|
|
918
|
+
),
|
|
919
|
+
})
|
|
920
|
+
);
|
|
921
|
+
};
|
|
922
|
+
const u = a().createContext(null),
|
|
923
|
+
f = (0, n.forwardRef)((e, t) => {
|
|
924
|
+
var r, l, f;
|
|
925
|
+
const {
|
|
926
|
+
inputProps: m,
|
|
927
|
+
errorId: b,
|
|
928
|
+
showErrorMsg: y,
|
|
929
|
+
hasError: O,
|
|
930
|
+
size: g,
|
|
931
|
+
inputDescriptionId: h,
|
|
932
|
+
} = ((e) => {
|
|
933
|
+
const t = v(e, "fieldset"),
|
|
934
|
+
{ inputProps: r } = t;
|
|
935
|
+
return Object.assign(Object.assign({}, t), {
|
|
936
|
+
inputProps: {
|
|
937
|
+
"aria-invalid": r["aria-invalid"],
|
|
938
|
+
"aria-describedby": r["aria-describedby"],
|
|
939
|
+
},
|
|
940
|
+
});
|
|
941
|
+
})(e),
|
|
942
|
+
w = (0, n.useContext)(u),
|
|
943
|
+
{
|
|
944
|
+
children: j,
|
|
945
|
+
className: E,
|
|
946
|
+
errorPropagation: x = !0,
|
|
947
|
+
legend: P,
|
|
948
|
+
description: N,
|
|
949
|
+
hideLegend: C,
|
|
950
|
+
} = e,
|
|
951
|
+
_ = (function (e, t) {
|
|
952
|
+
var r = {};
|
|
953
|
+
for (var n in e)
|
|
954
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
955
|
+
t.indexOf(n) < 0 &&
|
|
956
|
+
(r[n] = e[n]);
|
|
957
|
+
if (
|
|
958
|
+
null != e &&
|
|
959
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
960
|
+
) {
|
|
961
|
+
var a = 0;
|
|
962
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
963
|
+
t.indexOf(n[a]) < 0 &&
|
|
964
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
965
|
+
(r[n[a]] = e[n[a]]);
|
|
966
|
+
}
|
|
967
|
+
return r;
|
|
968
|
+
})(e, [
|
|
969
|
+
"children",
|
|
970
|
+
"className",
|
|
971
|
+
"errorPropagation",
|
|
972
|
+
"legend",
|
|
973
|
+
"description",
|
|
974
|
+
"hideLegend",
|
|
975
|
+
]);
|
|
976
|
+
return a().createElement(
|
|
977
|
+
u.Provider,
|
|
978
|
+
{
|
|
979
|
+
value: {
|
|
980
|
+
error: x
|
|
981
|
+
? null !== (r = e.error) && void 0 !== r
|
|
982
|
+
? r
|
|
983
|
+
: null == w
|
|
984
|
+
? void 0
|
|
985
|
+
: w.error
|
|
986
|
+
: void 0,
|
|
987
|
+
errorId: o()({
|
|
988
|
+
[b]: y,
|
|
989
|
+
[null !== (l = null == w ? void 0 : w.errorId) &&
|
|
990
|
+
void 0 !== l
|
|
991
|
+
? l
|
|
992
|
+
: ""]: !!(null == w ? void 0 : w.error),
|
|
993
|
+
}),
|
|
994
|
+
size: g,
|
|
995
|
+
disabled: null !== (f = e.disabled) && void 0 !== f && f,
|
|
996
|
+
},
|
|
997
|
+
},
|
|
998
|
+
a().createElement(
|
|
999
|
+
"fieldset",
|
|
1000
|
+
Object.assign(
|
|
1001
|
+
{},
|
|
1002
|
+
(0, s.omit)(_, ["errorId", "error", "size"]),
|
|
1003
|
+
m,
|
|
1004
|
+
{
|
|
1005
|
+
ref: t,
|
|
1006
|
+
className: o()(
|
|
1007
|
+
E,
|
|
1008
|
+
"navds-fieldset",
|
|
1009
|
+
`navds-fieldset--${g}`,
|
|
1010
|
+
{ "navds-fieldset--error": O }
|
|
1011
|
+
),
|
|
1012
|
+
}
|
|
1013
|
+
),
|
|
1014
|
+
a().createElement(
|
|
1015
|
+
i.Z,
|
|
1016
|
+
{
|
|
1017
|
+
size: g,
|
|
1018
|
+
as: "legend",
|
|
1019
|
+
className: o()("navds-fieldset__legend", {
|
|
1020
|
+
"sr-only": !!C,
|
|
1021
|
+
}),
|
|
1022
|
+
},
|
|
1023
|
+
P
|
|
1024
|
+
),
|
|
1025
|
+
!!N &&
|
|
1026
|
+
("medium" === g
|
|
1027
|
+
? a().createElement(
|
|
1028
|
+
c.Z,
|
|
1029
|
+
{
|
|
1030
|
+
className: o()("navds-fieldset__description", {
|
|
1031
|
+
"sr-only": !!C,
|
|
1032
|
+
}),
|
|
1033
|
+
id: h,
|
|
1034
|
+
size: "small",
|
|
1035
|
+
as: "div",
|
|
1036
|
+
},
|
|
1037
|
+
e.description
|
|
1038
|
+
)
|
|
1039
|
+
: a().createElement(
|
|
1040
|
+
d.Z,
|
|
1041
|
+
{
|
|
1042
|
+
className: o()("navds-fieldset__description", {
|
|
1043
|
+
"sr-only": !!C,
|
|
1044
|
+
}),
|
|
1045
|
+
id: h,
|
|
1046
|
+
size: "small",
|
|
1047
|
+
as: "div",
|
|
1048
|
+
},
|
|
1049
|
+
e.description
|
|
1050
|
+
)),
|
|
1051
|
+
j,
|
|
1052
|
+
a().createElement(
|
|
1053
|
+
"div",
|
|
1054
|
+
{
|
|
1055
|
+
id: b,
|
|
1056
|
+
"aria-relevant": "additions removals",
|
|
1057
|
+
"aria-live": "polite",
|
|
1058
|
+
className: "navds-fieldset__error",
|
|
1059
|
+
},
|
|
1060
|
+
y && a().createElement(p, { size: g }, e.error)
|
|
1061
|
+
)
|
|
1062
|
+
)
|
|
1063
|
+
);
|
|
1064
|
+
});
|
|
1065
|
+
var m = r(800);
|
|
1066
|
+
const v = (e, t) => {
|
|
1067
|
+
var r, a, l;
|
|
1068
|
+
const { size: s, error: i, errorId: c } = e,
|
|
1069
|
+
d = (0, n.useContext)(u),
|
|
1070
|
+
p = (0, m.M)(),
|
|
1071
|
+
f = null !== (r = e.id) && void 0 !== r ? r : `${t}-${p}`,
|
|
1072
|
+
v = null != c ? c : `${t}-error-${p}`,
|
|
1073
|
+
b = `${t}-description-${p}`,
|
|
1074
|
+
y = (null == d ? void 0 : d.disabled) || e.disabled,
|
|
1075
|
+
O = !(y || (!i && !(null == d ? void 0 : d.error))),
|
|
1076
|
+
g = !y && !!i && "boolean" != typeof i;
|
|
1077
|
+
return {
|
|
1078
|
+
showErrorMsg: g,
|
|
1079
|
+
hasError: O,
|
|
1080
|
+
errorId: v,
|
|
1081
|
+
inputDescriptionId: b,
|
|
1082
|
+
size:
|
|
1083
|
+
null !== (a = null != s ? s : null == d ? void 0 : d.size) &&
|
|
1084
|
+
void 0 !== a
|
|
1085
|
+
? a
|
|
1086
|
+
: "medium",
|
|
1087
|
+
inputProps: {
|
|
1088
|
+
id: f,
|
|
1089
|
+
"aria-invalid": O,
|
|
1090
|
+
"aria-describedby":
|
|
1091
|
+
o()(e["aria-describedby"], {
|
|
1092
|
+
[b]: !!(null == e ? void 0 : e.description),
|
|
1093
|
+
[v]: g,
|
|
1094
|
+
[null !== (l = null == d ? void 0 : d.errorId) && void 0 !== l
|
|
1095
|
+
? l
|
|
1096
|
+
: ""]: O && !!(null == d ? void 0 : d.error),
|
|
1097
|
+
}) || void 0,
|
|
1098
|
+
disabled: y,
|
|
1099
|
+
},
|
|
1100
|
+
};
|
|
1101
|
+
};
|
|
1102
|
+
const b = (0, n.createContext)(null),
|
|
1103
|
+
y = (0, n.forwardRef)((e, t) => {
|
|
1104
|
+
var r,
|
|
1105
|
+
l,
|
|
1106
|
+
{
|
|
1107
|
+
value: s,
|
|
1108
|
+
defaultValue: i,
|
|
1109
|
+
onChange: c = () => {},
|
|
1110
|
+
children: d,
|
|
1111
|
+
className: p,
|
|
1112
|
+
} = e,
|
|
1113
|
+
m = (function (e, t) {
|
|
1114
|
+
var r = {};
|
|
1115
|
+
for (var n in e)
|
|
1116
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
1117
|
+
t.indexOf(n) < 0 &&
|
|
1118
|
+
(r[n] = e[n]);
|
|
1119
|
+
if (
|
|
1120
|
+
null != e &&
|
|
1121
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
1122
|
+
) {
|
|
1123
|
+
var a = 0;
|
|
1124
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
1125
|
+
t.indexOf(n[a]) < 0 &&
|
|
1126
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
1127
|
+
(r[n[a]] = e[n[a]]);
|
|
1128
|
+
}
|
|
1129
|
+
return r;
|
|
1130
|
+
})(e, [
|
|
1131
|
+
"value",
|
|
1132
|
+
"defaultValue",
|
|
1133
|
+
"onChange",
|
|
1134
|
+
"children",
|
|
1135
|
+
"className",
|
|
1136
|
+
]);
|
|
1137
|
+
const v = (0, n.useContext)(u),
|
|
1138
|
+
[y, O] = (0, n.useState)([]),
|
|
1139
|
+
g = (e) => {
|
|
1140
|
+
const t = s || y,
|
|
1141
|
+
r = t.includes(e) ? t.filter((t) => t !== e) : [...t, e];
|
|
1142
|
+
void 0 === s && O(r), c(r);
|
|
1143
|
+
};
|
|
1144
|
+
return a().createElement(
|
|
1145
|
+
f,
|
|
1146
|
+
Object.assign({}, m, {
|
|
1147
|
+
ref: t,
|
|
1148
|
+
className: o()(
|
|
1149
|
+
p,
|
|
1150
|
+
"navds-checkbox-group",
|
|
1151
|
+
`navds-checkbox-group--${
|
|
1152
|
+
null !==
|
|
1153
|
+
(l =
|
|
1154
|
+
null !== (r = m.size) && void 0 !== r
|
|
1155
|
+
? r
|
|
1156
|
+
: null == v
|
|
1157
|
+
? void 0
|
|
1158
|
+
: v.size) && void 0 !== l
|
|
1159
|
+
? l
|
|
1160
|
+
: "medium"
|
|
1161
|
+
}`
|
|
1162
|
+
),
|
|
1163
|
+
}),
|
|
1164
|
+
a().createElement(
|
|
1165
|
+
b.Provider,
|
|
1166
|
+
{
|
|
1167
|
+
value: {
|
|
1168
|
+
value: s,
|
|
1169
|
+
defaultValue: i,
|
|
1170
|
+
toggleValue: (e) => g(e),
|
|
1171
|
+
},
|
|
1172
|
+
},
|
|
1173
|
+
a().createElement("div", { className: "navds-checkboxes" }, d)
|
|
1174
|
+
)
|
|
1175
|
+
);
|
|
1176
|
+
});
|
|
1177
|
+
var O = function (e, t) {
|
|
1178
|
+
var r = {};
|
|
1179
|
+
for (var n in e)
|
|
1180
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
1181
|
+
t.indexOf(n) < 0 &&
|
|
1182
|
+
(r[n] = e[n]);
|
|
1183
|
+
if (null != e && "function" == typeof Object.getOwnPropertySymbols) {
|
|
1184
|
+
var a = 0;
|
|
1185
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
1186
|
+
t.indexOf(n[a]) < 0 &&
|
|
1187
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
1188
|
+
(r[n[a]] = e[n[a]]);
|
|
1189
|
+
}
|
|
1190
|
+
return r;
|
|
1191
|
+
};
|
|
1192
|
+
const g = (0, n.forwardRef)((e, t) => {
|
|
1193
|
+
const { inputProps: r, hasError: l, size: i } = ((e) => {
|
|
1194
|
+
var { children: t } = e,
|
|
1195
|
+
r = O(e, ["children"]);
|
|
1196
|
+
const a = (0, n.useContext)(b),
|
|
1197
|
+
l = v((0, s.omit)(r, ["description"]), "checkbox"),
|
|
1198
|
+
{ inputProps: o } = l,
|
|
1199
|
+
i = O(l, ["inputProps"]);
|
|
1200
|
+
return (
|
|
1201
|
+
a &&
|
|
1202
|
+
(r.checked &&
|
|
1203
|
+
console.warn(
|
|
1204
|
+
"`checked` is unsupported on <Checkbox> elements within a <CheckboxGroup>. Please set a `value` or `defaultValue` on <CheckboxGroup> instead."
|
|
1205
|
+
),
|
|
1206
|
+
void 0 === r.value &&
|
|
1207
|
+
console.warn(
|
|
1208
|
+
"A <Checkbox> element within a <CheckboxGroup> requires a `value` property."
|
|
1209
|
+
)),
|
|
1210
|
+
Object.assign(Object.assign({}, i), {
|
|
1211
|
+
inputProps: Object.assign(Object.assign({}, o), {
|
|
1212
|
+
type: "checkbox",
|
|
1213
|
+
checked: (null == a ? void 0 : a.value)
|
|
1214
|
+
? a.value.includes(r.value)
|
|
1215
|
+
: r.checked,
|
|
1216
|
+
defaultChecked: (null == a ? void 0 : a.defaultValue)
|
|
1217
|
+
? a.defaultValue.includes(r.value)
|
|
1218
|
+
: r.defaultChecked,
|
|
1219
|
+
onChange: (e) => {
|
|
1220
|
+
r.onChange && r.onChange(e), a && a.toggleValue(r.value);
|
|
1221
|
+
},
|
|
1222
|
+
}),
|
|
1223
|
+
})
|
|
1224
|
+
);
|
|
1225
|
+
})(e),
|
|
1226
|
+
p = "medium" === i ? c.Z : d.Z;
|
|
1227
|
+
return a().createElement(
|
|
1228
|
+
"div",
|
|
1229
|
+
{
|
|
1230
|
+
className: o()(
|
|
1231
|
+
e.className,
|
|
1232
|
+
"navds-checkbox",
|
|
1233
|
+
`navds-checkbox--${i}`,
|
|
1234
|
+
{
|
|
1235
|
+
"navds-checkbox--error": l,
|
|
1236
|
+
"navds-checkbox--disabled": r.disabled,
|
|
1237
|
+
}
|
|
1238
|
+
),
|
|
1239
|
+
},
|
|
1240
|
+
a().createElement(
|
|
1241
|
+
"input",
|
|
1242
|
+
Object.assign(
|
|
1243
|
+
{},
|
|
1244
|
+
(0, s.omit)(e, [
|
|
1245
|
+
"children",
|
|
1246
|
+
"size",
|
|
1247
|
+
"error",
|
|
1248
|
+
"description",
|
|
1249
|
+
"hideLabel",
|
|
1250
|
+
]),
|
|
1251
|
+
r,
|
|
1252
|
+
{ className: "navds-checkbox__input", ref: t }
|
|
1253
|
+
)
|
|
1254
|
+
),
|
|
1255
|
+
a().createElement(
|
|
1256
|
+
"label",
|
|
1257
|
+
{ htmlFor: r.id, className: "navds-checkbox__label" },
|
|
1258
|
+
a().createElement(
|
|
1259
|
+
"div",
|
|
1260
|
+
{
|
|
1261
|
+
className: o()("navds-checkbox__content", {
|
|
1262
|
+
"sr-only": e.hideLabel,
|
|
1263
|
+
}),
|
|
1264
|
+
},
|
|
1265
|
+
a().createElement(c.Z, { as: "div", size: i }, e.children),
|
|
1266
|
+
e.description &&
|
|
1267
|
+
a().createElement(
|
|
1268
|
+
p,
|
|
1269
|
+
{
|
|
1270
|
+
as: "div",
|
|
1271
|
+
size: "small",
|
|
1272
|
+
className: "navds-checkbox__description",
|
|
1273
|
+
},
|
|
1274
|
+
e.description
|
|
1275
|
+
)
|
|
1276
|
+
)
|
|
1277
|
+
)
|
|
1278
|
+
);
|
|
1279
|
+
});
|
|
1280
|
+
const h = a().createContext(null),
|
|
1281
|
+
w = (0, n.forwardRef)((e, t) => {
|
|
1282
|
+
var r,
|
|
1283
|
+
l,
|
|
1284
|
+
{
|
|
1285
|
+
children: s,
|
|
1286
|
+
className: i,
|
|
1287
|
+
name: c,
|
|
1288
|
+
defaultValue: d,
|
|
1289
|
+
value: p,
|
|
1290
|
+
onChange: v = () => {},
|
|
1291
|
+
required: b,
|
|
1292
|
+
} = e,
|
|
1293
|
+
y = (function (e, t) {
|
|
1294
|
+
var r = {};
|
|
1295
|
+
for (var n in e)
|
|
1296
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
1297
|
+
t.indexOf(n) < 0 &&
|
|
1298
|
+
(r[n] = e[n]);
|
|
1299
|
+
if (
|
|
1300
|
+
null != e &&
|
|
1301
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
1302
|
+
) {
|
|
1303
|
+
var a = 0;
|
|
1304
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
1305
|
+
t.indexOf(n[a]) < 0 &&
|
|
1306
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
1307
|
+
(r[n[a]] = e[n[a]]);
|
|
1308
|
+
}
|
|
1309
|
+
return r;
|
|
1310
|
+
})(e, [
|
|
1311
|
+
"children",
|
|
1312
|
+
"className",
|
|
1313
|
+
"name",
|
|
1314
|
+
"defaultValue",
|
|
1315
|
+
"value",
|
|
1316
|
+
"onChange",
|
|
1317
|
+
"required",
|
|
1318
|
+
]);
|
|
1319
|
+
const O = (0, n.useContext)(u),
|
|
1320
|
+
g = (0, m.M)();
|
|
1321
|
+
return a().createElement(
|
|
1322
|
+
f,
|
|
1323
|
+
Object.assign({}, y, {
|
|
1324
|
+
ref: t,
|
|
1325
|
+
className: o()(
|
|
1326
|
+
i,
|
|
1327
|
+
"navds-radio-group",
|
|
1328
|
+
`navds-radio-group--${
|
|
1329
|
+
null !==
|
|
1330
|
+
(l =
|
|
1331
|
+
null !== (r = y.size) && void 0 !== r
|
|
1332
|
+
? r
|
|
1333
|
+
: null == O
|
|
1334
|
+
? void 0
|
|
1335
|
+
: O.size) && void 0 !== l
|
|
1336
|
+
? l
|
|
1337
|
+
: "medium"
|
|
1338
|
+
}`
|
|
1339
|
+
),
|
|
1340
|
+
}),
|
|
1341
|
+
a().createElement(
|
|
1342
|
+
h.Provider,
|
|
1343
|
+
{
|
|
1344
|
+
value: {
|
|
1345
|
+
name: null != c ? c : `radioGroupName-${g}`,
|
|
1346
|
+
defaultValue: d,
|
|
1347
|
+
value: p,
|
|
1348
|
+
onChange: v,
|
|
1349
|
+
required: b,
|
|
1350
|
+
},
|
|
1351
|
+
},
|
|
1352
|
+
a().createElement(
|
|
1353
|
+
"div",
|
|
1354
|
+
{ className: "navds-radio-buttons" },
|
|
1355
|
+
s
|
|
1356
|
+
)
|
|
1357
|
+
)
|
|
1358
|
+
);
|
|
1359
|
+
});
|
|
1360
|
+
const j = (0, n.forwardRef)((e, t) => {
|
|
1361
|
+
const { inputProps: r, size: l, hasError: i } = ((e) => {
|
|
1362
|
+
const t = (0, n.useContext)(h),
|
|
1363
|
+
r = v((0, s.omit)(e, ["description"]), "radio"),
|
|
1364
|
+
{ inputProps: a } = r,
|
|
1365
|
+
l = (function (e, t) {
|
|
1366
|
+
var r = {};
|
|
1367
|
+
for (var n in e)
|
|
1368
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
1369
|
+
t.indexOf(n) < 0 &&
|
|
1370
|
+
(r[n] = e[n]);
|
|
1371
|
+
if (
|
|
1372
|
+
null != e &&
|
|
1373
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
1374
|
+
) {
|
|
1375
|
+
var a = 0;
|
|
1376
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
1377
|
+
t.indexOf(n[a]) < 0 &&
|
|
1378
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
1379
|
+
(r[n[a]] = e[n[a]]);
|
|
1380
|
+
}
|
|
1381
|
+
return r;
|
|
1382
|
+
})(r, ["inputProps"]);
|
|
1383
|
+
return (
|
|
1384
|
+
t || console.warn("<Radio> must be used inside <RadioGroup>."),
|
|
1385
|
+
void 0 !== (null == e ? void 0 : e.required) &&
|
|
1386
|
+
console.warn("required is only supported on <RadioGroup>."),
|
|
1387
|
+
Object.assign(Object.assign({}, l), {
|
|
1388
|
+
inputProps: Object.assign(Object.assign({}, a), {
|
|
1389
|
+
name: null == t ? void 0 : t.name,
|
|
1390
|
+
defaultChecked:
|
|
1391
|
+
void 0 === (null == t ? void 0 : t.defaultValue)
|
|
1392
|
+
? void 0
|
|
1393
|
+
: (null == t ? void 0 : t.defaultValue) === e.value,
|
|
1394
|
+
checked:
|
|
1395
|
+
void 0 === (null == t ? void 0 : t.value)
|
|
1396
|
+
? void 0
|
|
1397
|
+
: (null == t ? void 0 : t.value) === e.value,
|
|
1398
|
+
onChange: (r) => {
|
|
1399
|
+
e.onChange && e.onChange(r),
|
|
1400
|
+
(null == t ? void 0 : t.onChange) &&
|
|
1401
|
+
t.onChange(e.value);
|
|
1402
|
+
},
|
|
1403
|
+
required: null == t ? void 0 : t.required,
|
|
1404
|
+
type: "radio",
|
|
1405
|
+
}),
|
|
1406
|
+
})
|
|
1407
|
+
);
|
|
1408
|
+
})(e),
|
|
1409
|
+
p = "medium" === l ? c.Z : d.Z;
|
|
1410
|
+
return a().createElement(
|
|
1411
|
+
"div",
|
|
1412
|
+
{
|
|
1413
|
+
className: o()(e.className, "navds-radio", `navds-radio--${l}`, {
|
|
1414
|
+
"navds-radio--error": i,
|
|
1415
|
+
"navds-radio--disabled": r.disabled,
|
|
1416
|
+
}),
|
|
1417
|
+
},
|
|
1418
|
+
a().createElement(
|
|
1419
|
+
"input",
|
|
1420
|
+
Object.assign(
|
|
1421
|
+
{},
|
|
1422
|
+
(0, s.omit)(e, ["children", "size", "description"]),
|
|
1423
|
+
r,
|
|
1424
|
+
{ className: "navds-radio__input", ref: t }
|
|
1425
|
+
)
|
|
1426
|
+
),
|
|
1427
|
+
a().createElement(
|
|
1428
|
+
"label",
|
|
1429
|
+
{ htmlFor: r.id, className: "navds-radio__label" },
|
|
1430
|
+
a().createElement(
|
|
1431
|
+
"div",
|
|
1432
|
+
{ className: "navds-radio__content" },
|
|
1433
|
+
a().createElement(c.Z, { as: "div", size: l }, e.children),
|
|
1434
|
+
e.description &&
|
|
1435
|
+
a().createElement(
|
|
1436
|
+
p,
|
|
1437
|
+
{
|
|
1438
|
+
as: "div",
|
|
1439
|
+
size: "small",
|
|
1440
|
+
className: "navds-radio__description",
|
|
1441
|
+
},
|
|
1442
|
+
e.description
|
|
1443
|
+
)
|
|
1444
|
+
)
|
|
1445
|
+
)
|
|
1446
|
+
);
|
|
1447
|
+
});
|
|
1448
|
+
var E = r(449);
|
|
1449
|
+
const x = (0, n.forwardRef)((e, t) => {
|
|
1450
|
+
var { className: r, variant: l = "primary", disabled: s } = e,
|
|
1451
|
+
i = (function (e, t) {
|
|
1452
|
+
var r = {};
|
|
1453
|
+
for (var n in e)
|
|
1454
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
1455
|
+
t.indexOf(n) < 0 &&
|
|
1456
|
+
(r[n] = e[n]);
|
|
1457
|
+
if (
|
|
1458
|
+
null != e &&
|
|
1459
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
1460
|
+
) {
|
|
1461
|
+
var a = 0;
|
|
1462
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
1463
|
+
t.indexOf(n[a]) < 0 &&
|
|
1464
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
1465
|
+
(r[n[a]] = e[n[a]]);
|
|
1466
|
+
}
|
|
1467
|
+
return r;
|
|
1468
|
+
})(e, ["className", "variant", "disabled"]);
|
|
1469
|
+
const c = (0, n.useContext)(C);
|
|
1470
|
+
if (null === c)
|
|
1471
|
+
return (
|
|
1472
|
+
console.warn(
|
|
1473
|
+
"SearchFieldButton has to be wrapped in <SearchField />"
|
|
1474
|
+
),
|
|
1475
|
+
null
|
|
1476
|
+
);
|
|
1477
|
+
const { size: d, inputProps: p } = c;
|
|
1478
|
+
return a().createElement(
|
|
1479
|
+
E.Z,
|
|
1480
|
+
Object.assign(
|
|
1481
|
+
{ ref: t, className: o()(r, "navds-search-field__button") },
|
|
1482
|
+
i,
|
|
1483
|
+
{
|
|
1484
|
+
size: d,
|
|
1485
|
+
variant: l,
|
|
1486
|
+
disabled: null != s ? s : null == p ? void 0 : p.disabled,
|
|
1487
|
+
}
|
|
1488
|
+
)
|
|
1489
|
+
);
|
|
1490
|
+
});
|
|
1491
|
+
const P = (0, n.forwardRef)((e, t) => {
|
|
1492
|
+
var { className: r, variant: l = "secondary", disabled: s } = e,
|
|
1493
|
+
i = (function (e, t) {
|
|
1494
|
+
var r = {};
|
|
1495
|
+
for (var n in e)
|
|
1496
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
1497
|
+
t.indexOf(n) < 0 &&
|
|
1498
|
+
(r[n] = e[n]);
|
|
1499
|
+
if (
|
|
1500
|
+
null != e &&
|
|
1501
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
1502
|
+
) {
|
|
1503
|
+
var a = 0;
|
|
1504
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
1505
|
+
t.indexOf(n[a]) < 0 &&
|
|
1506
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
1507
|
+
(r[n[a]] = e[n[a]]);
|
|
1508
|
+
}
|
|
1509
|
+
return r;
|
|
1510
|
+
})(e, ["className", "variant", "disabled"]);
|
|
1511
|
+
const c = (0, n.useContext)(C);
|
|
1512
|
+
if (null === c)
|
|
1513
|
+
return (
|
|
1514
|
+
console.warn(
|
|
1515
|
+
"SearchFieldClearButton has to be wrapped in <SearchField />"
|
|
1516
|
+
),
|
|
1517
|
+
null
|
|
1518
|
+
);
|
|
1519
|
+
const { size: d, inputProps: p } = c;
|
|
1520
|
+
return a().createElement(
|
|
1521
|
+
E.Z,
|
|
1522
|
+
Object.assign({}, i, {
|
|
1523
|
+
ref: t,
|
|
1524
|
+
className: o()(r, "navds-search-field__clear-button"),
|
|
1525
|
+
size: d,
|
|
1526
|
+
variant: l,
|
|
1527
|
+
disabled: null != s ? s : null == p ? void 0 : p.disabled,
|
|
1528
|
+
})
|
|
1529
|
+
);
|
|
1530
|
+
});
|
|
1531
|
+
const N = (0, n.forwardRef)((e, t) => {
|
|
1532
|
+
var { className: r } = e,
|
|
1533
|
+
l = (function (e, t) {
|
|
1534
|
+
var r = {};
|
|
1535
|
+
for (var n in e)
|
|
1536
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
1537
|
+
t.indexOf(n) < 0 &&
|
|
1538
|
+
(r[n] = e[n]);
|
|
1539
|
+
if (
|
|
1540
|
+
null != e &&
|
|
1541
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
1542
|
+
) {
|
|
1543
|
+
var a = 0;
|
|
1544
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
1545
|
+
t.indexOf(n[a]) < 0 &&
|
|
1546
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
1547
|
+
(r[n[a]] = e[n[a]]);
|
|
1548
|
+
}
|
|
1549
|
+
return r;
|
|
1550
|
+
})(e, ["className"]);
|
|
1551
|
+
const s = (0, n.useContext)(C);
|
|
1552
|
+
if (null === s)
|
|
1553
|
+
return (
|
|
1554
|
+
console.warn(
|
|
1555
|
+
"SearchFieldInput has to be wrapped in <SearchField />"
|
|
1556
|
+
),
|
|
1557
|
+
null
|
|
1558
|
+
);
|
|
1559
|
+
const { size: i, inputProps: c } = s;
|
|
1560
|
+
return a().createElement(
|
|
1561
|
+
"input",
|
|
1562
|
+
Object.assign({}, l, c, {
|
|
1563
|
+
type: "search",
|
|
1564
|
+
role: "searchbox",
|
|
1565
|
+
ref: t,
|
|
1566
|
+
className: o()(
|
|
1567
|
+
r,
|
|
1568
|
+
"navds-search-field__input",
|
|
1569
|
+
"navds-text-field__input",
|
|
1570
|
+
"navds-body-short",
|
|
1571
|
+
`navds-body-${null != i ? i : "medium"}`
|
|
1572
|
+
),
|
|
1573
|
+
})
|
|
1574
|
+
);
|
|
1575
|
+
});
|
|
1576
|
+
const C = a().createContext(null),
|
|
1577
|
+
_ = (0, n.forwardRef)((e, t) => {
|
|
1578
|
+
const {
|
|
1579
|
+
inputProps: r,
|
|
1580
|
+
errorId: n,
|
|
1581
|
+
showErrorMsg: l,
|
|
1582
|
+
hasError: d,
|
|
1583
|
+
size: u,
|
|
1584
|
+
inputDescriptionId: f,
|
|
1585
|
+
} = v(e, "searchfield"),
|
|
1586
|
+
{
|
|
1587
|
+
className: m,
|
|
1588
|
+
hideLabel: b,
|
|
1589
|
+
children: y,
|
|
1590
|
+
label: O,
|
|
1591
|
+
description: g,
|
|
1592
|
+
error: h,
|
|
1593
|
+
} = e,
|
|
1594
|
+
w = (function (e, t) {
|
|
1595
|
+
var r = {};
|
|
1596
|
+
for (var n in e)
|
|
1597
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
1598
|
+
t.indexOf(n) < 0 &&
|
|
1599
|
+
(r[n] = e[n]);
|
|
1600
|
+
if (
|
|
1601
|
+
null != e &&
|
|
1602
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
1603
|
+
) {
|
|
1604
|
+
var a = 0;
|
|
1605
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
1606
|
+
t.indexOf(n[a]) < 0 &&
|
|
1607
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
1608
|
+
(r[n[a]] = e[n[a]]);
|
|
1609
|
+
}
|
|
1610
|
+
return r;
|
|
1611
|
+
})(e, [
|
|
1612
|
+
"className",
|
|
1613
|
+
"hideLabel",
|
|
1614
|
+
"children",
|
|
1615
|
+
"label",
|
|
1616
|
+
"description",
|
|
1617
|
+
"error",
|
|
1618
|
+
]);
|
|
1619
|
+
return a().createElement(
|
|
1620
|
+
"div",
|
|
1621
|
+
Object.assign(
|
|
1622
|
+
{ ref: t },
|
|
1623
|
+
(0, s.omit)(w, ["id", "error", "errorId", "size", "disabled"]),
|
|
1624
|
+
{
|
|
1625
|
+
className: o()(
|
|
1626
|
+
m,
|
|
1627
|
+
"navds-form-field",
|
|
1628
|
+
`navds-form-field--${null != u ? u : "medium"}`,
|
|
1629
|
+
"navds-search-field",
|
|
1630
|
+
{
|
|
1631
|
+
"navds-search-field--error": d,
|
|
1632
|
+
"navds-search-field--disabled": !!r.disabled,
|
|
1633
|
+
}
|
|
1634
|
+
),
|
|
1635
|
+
}
|
|
1636
|
+
),
|
|
1637
|
+
a().createElement(
|
|
1638
|
+
i.Z,
|
|
1639
|
+
{
|
|
1640
|
+
htmlFor: r.id,
|
|
1641
|
+
size: u,
|
|
1642
|
+
as: "label",
|
|
1643
|
+
className: o()("navds-text-field__label", { "sr-only": b }),
|
|
1644
|
+
},
|
|
1645
|
+
O
|
|
1646
|
+
),
|
|
1647
|
+
!!g &&
|
|
1648
|
+
a().createElement(
|
|
1649
|
+
c.Z,
|
|
1650
|
+
{
|
|
1651
|
+
as: "div",
|
|
1652
|
+
className: o()("navds-text-field__description", {
|
|
1653
|
+
"sr-only": b,
|
|
1654
|
+
}),
|
|
1655
|
+
id: f,
|
|
1656
|
+
size: u,
|
|
1657
|
+
},
|
|
1658
|
+
g
|
|
1659
|
+
),
|
|
1660
|
+
a().createElement(
|
|
1661
|
+
"div",
|
|
1662
|
+
{ className: "navds-search-field__input-wrapper" },
|
|
1663
|
+
a().createElement(
|
|
1664
|
+
C.Provider,
|
|
1665
|
+
{ value: { inputProps: r, size: u } },
|
|
1666
|
+
y
|
|
1667
|
+
)
|
|
1668
|
+
),
|
|
1669
|
+
a().createElement(
|
|
1670
|
+
"div",
|
|
1671
|
+
{
|
|
1672
|
+
id: n,
|
|
1673
|
+
"aria-relevant": "additions removals",
|
|
1674
|
+
"aria-live": "polite",
|
|
1675
|
+
},
|
|
1676
|
+
l && a().createElement(p, { size: u }, h)
|
|
1677
|
+
)
|
|
1678
|
+
);
|
|
1679
|
+
});
|
|
1680
|
+
(_.Button = x), (_.Clear = P), (_.Input = N);
|
|
1681
|
+
const S = _;
|
|
1682
|
+
var R = r(201);
|
|
1683
|
+
const I = (0, n.forwardRef)((e, t) => {
|
|
1684
|
+
const {
|
|
1685
|
+
inputProps: r,
|
|
1686
|
+
errorId: n,
|
|
1687
|
+
showErrorMsg: l,
|
|
1688
|
+
hasError: d,
|
|
1689
|
+
size: u,
|
|
1690
|
+
inputDescriptionId: f,
|
|
1691
|
+
} = v(e, "textField"),
|
|
1692
|
+
{
|
|
1693
|
+
children: m,
|
|
1694
|
+
label: b,
|
|
1695
|
+
className: y,
|
|
1696
|
+
description: O,
|
|
1697
|
+
htmlSize: g,
|
|
1698
|
+
hideLabel: h = !1,
|
|
1699
|
+
} = e,
|
|
1700
|
+
w = (function (e, t) {
|
|
1701
|
+
var r = {};
|
|
1702
|
+
for (var n in e)
|
|
1703
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
1704
|
+
t.indexOf(n) < 0 &&
|
|
1705
|
+
(r[n] = e[n]);
|
|
1706
|
+
if (
|
|
1707
|
+
null != e &&
|
|
1708
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
1709
|
+
) {
|
|
1710
|
+
var a = 0;
|
|
1711
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
1712
|
+
t.indexOf(n[a]) < 0 &&
|
|
1713
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
1714
|
+
(r[n[a]] = e[n[a]]);
|
|
1715
|
+
}
|
|
1716
|
+
return r;
|
|
1717
|
+
})(e, [
|
|
1718
|
+
"children",
|
|
1719
|
+
"label",
|
|
1720
|
+
"className",
|
|
1721
|
+
"description",
|
|
1722
|
+
"htmlSize",
|
|
1723
|
+
"hideLabel",
|
|
1724
|
+
]);
|
|
1725
|
+
return a().createElement(
|
|
1726
|
+
"div",
|
|
1727
|
+
{
|
|
1728
|
+
className: o()(y, "navds-form-field", `navds-form-field--${u}`, {
|
|
1729
|
+
"navds-select--error": d,
|
|
1730
|
+
"navds-select--disabled": !!r.disabled,
|
|
1731
|
+
}),
|
|
1732
|
+
},
|
|
1733
|
+
a().createElement(
|
|
1734
|
+
i.Z,
|
|
1735
|
+
{
|
|
1736
|
+
htmlFor: r.id,
|
|
1737
|
+
size: u,
|
|
1738
|
+
as: "label",
|
|
1739
|
+
className: o()("navds-select__label", { "sr-only": h }),
|
|
1740
|
+
},
|
|
1741
|
+
b
|
|
1742
|
+
),
|
|
1743
|
+
!!O &&
|
|
1744
|
+
a().createElement(
|
|
1745
|
+
c.Z,
|
|
1746
|
+
{
|
|
1747
|
+
as: "div",
|
|
1748
|
+
className: o()("navds-select__description", { "sr-only": h }),
|
|
1749
|
+
id: f,
|
|
1750
|
+
size: u,
|
|
1751
|
+
},
|
|
1752
|
+
O
|
|
1753
|
+
),
|
|
1754
|
+
a().createElement(
|
|
1755
|
+
"div",
|
|
1756
|
+
{ className: "navds-select__container" },
|
|
1757
|
+
a().createElement(
|
|
1758
|
+
"select",
|
|
1759
|
+
Object.assign(
|
|
1760
|
+
{},
|
|
1761
|
+
(0, s.omit)(w, ["error", "errorId", "size"]),
|
|
1762
|
+
r,
|
|
1763
|
+
{
|
|
1764
|
+
ref: t,
|
|
1765
|
+
className: o()(
|
|
1766
|
+
"navds-select__input",
|
|
1767
|
+
"navds-body-short",
|
|
1768
|
+
`navds-body--${null != u ? u : "medium"}`
|
|
1769
|
+
),
|
|
1770
|
+
size: e.htmlSize,
|
|
1771
|
+
}
|
|
1772
|
+
),
|
|
1773
|
+
m
|
|
1774
|
+
),
|
|
1775
|
+
a().createElement(R.Z, { className: "navds-select__chevron" })
|
|
1776
|
+
),
|
|
1777
|
+
a().createElement(
|
|
1778
|
+
"div",
|
|
1779
|
+
{
|
|
1780
|
+
id: n,
|
|
1781
|
+
"aria-relevant": "additions removals",
|
|
1782
|
+
"aria-live": "polite",
|
|
1783
|
+
},
|
|
1784
|
+
l && a().createElement(p, { size: u }, e.error)
|
|
1785
|
+
)
|
|
1786
|
+
);
|
|
1787
|
+
});
|
|
1788
|
+
var z = r(414);
|
|
1789
|
+
const k = (0, n.forwardRef)((e, t) => {
|
|
1790
|
+
var { children: r, as: n = "a", className: l } = e,
|
|
1791
|
+
s = (function (e, t) {
|
|
1792
|
+
var r = {};
|
|
1793
|
+
for (var n in e)
|
|
1794
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
1795
|
+
t.indexOf(n) < 0 &&
|
|
1796
|
+
(r[n] = e[n]);
|
|
1797
|
+
if (
|
|
1798
|
+
null != e &&
|
|
1799
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
1800
|
+
) {
|
|
1801
|
+
var a = 0;
|
|
1802
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
1803
|
+
t.indexOf(n[a]) < 0 &&
|
|
1804
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
1805
|
+
(r[n[a]] = e[n[a]]);
|
|
1806
|
+
}
|
|
1807
|
+
return r;
|
|
1808
|
+
})(e, ["children", "as", "className"]);
|
|
1809
|
+
return a().createElement(
|
|
1810
|
+
n,
|
|
1811
|
+
Object.assign({}, s, {
|
|
1812
|
+
ref: t,
|
|
1813
|
+
className: o()(l, "navds-error-summary__item", "navds-link"),
|
|
1814
|
+
}),
|
|
1815
|
+
r
|
|
1816
|
+
);
|
|
1817
|
+
});
|
|
1818
|
+
const Z = (0, n.forwardRef)((e, t) => {
|
|
1819
|
+
var {
|
|
1820
|
+
children: r,
|
|
1821
|
+
className: n,
|
|
1822
|
+
size: l = "medium",
|
|
1823
|
+
headingTag: s = "h2",
|
|
1824
|
+
heading: i,
|
|
1825
|
+
} = e,
|
|
1826
|
+
d = (function (e, t) {
|
|
1827
|
+
var r = {};
|
|
1828
|
+
for (var n in e)
|
|
1829
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
1830
|
+
t.indexOf(n) < 0 &&
|
|
1831
|
+
(r[n] = e[n]);
|
|
1832
|
+
if (
|
|
1833
|
+
null != e &&
|
|
1834
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
1835
|
+
) {
|
|
1836
|
+
var a = 0;
|
|
1837
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
1838
|
+
t.indexOf(n[a]) < 0 &&
|
|
1839
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
1840
|
+
(r[n[a]] = e[n[a]]);
|
|
1841
|
+
}
|
|
1842
|
+
return r;
|
|
1843
|
+
})(e, ["children", "className", "size", "headingTag", "heading"]);
|
|
1844
|
+
return a().createElement(
|
|
1845
|
+
"div",
|
|
1846
|
+
Object.assign({ ref: t }, d, {
|
|
1847
|
+
className: o()(
|
|
1848
|
+
n,
|
|
1849
|
+
"navds-error-summary",
|
|
1850
|
+
`navds-error-summary--${l}`
|
|
1851
|
+
),
|
|
1852
|
+
tabIndex: -1,
|
|
1853
|
+
role: "region",
|
|
1854
|
+
}),
|
|
1855
|
+
a().createElement(
|
|
1856
|
+
z.Z,
|
|
1857
|
+
{
|
|
1858
|
+
className: "navds-error-summary__heading",
|
|
1859
|
+
as: s,
|
|
1860
|
+
size: "small",
|
|
1861
|
+
},
|
|
1862
|
+
i
|
|
1863
|
+
),
|
|
1864
|
+
a().createElement(
|
|
1865
|
+
c.Z,
|
|
1866
|
+
{ as: "ul", size: l, className: "navds-error-summary__list" },
|
|
1867
|
+
a().Children.map(r, (e) =>
|
|
1868
|
+
a().createElement(
|
|
1869
|
+
"li",
|
|
1870
|
+
{ key: null == e ? void 0 : e.toString() },
|
|
1871
|
+
e
|
|
1872
|
+
)
|
|
1873
|
+
)
|
|
1874
|
+
)
|
|
1875
|
+
);
|
|
1876
|
+
});
|
|
1877
|
+
Z.Item = k;
|
|
1878
|
+
const L = Z,
|
|
1879
|
+
M = require("@material-ui/core/TextareaAutosize");
|
|
1880
|
+
var $ = r.n(M);
|
|
1881
|
+
const H = (0, n.forwardRef)((e, t) => {
|
|
1882
|
+
const {
|
|
1883
|
+
inputProps: r,
|
|
1884
|
+
errorId: n,
|
|
1885
|
+
showErrorMsg: l,
|
|
1886
|
+
hasError: d,
|
|
1887
|
+
size: u,
|
|
1888
|
+
inputDescriptionId: f,
|
|
1889
|
+
} = v(e, "textarea"),
|
|
1890
|
+
{
|
|
1891
|
+
label: b,
|
|
1892
|
+
className: y,
|
|
1893
|
+
description: O,
|
|
1894
|
+
maxLength: g,
|
|
1895
|
+
hideLabel: h = !1,
|
|
1896
|
+
} = e,
|
|
1897
|
+
w = (function (e, t) {
|
|
1898
|
+
var r = {};
|
|
1899
|
+
for (var n in e)
|
|
1900
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
1901
|
+
t.indexOf(n) < 0 &&
|
|
1902
|
+
(r[n] = e[n]);
|
|
1903
|
+
if (
|
|
1904
|
+
null != e &&
|
|
1905
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
1906
|
+
) {
|
|
1907
|
+
var a = 0;
|
|
1908
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
1909
|
+
t.indexOf(n[a]) < 0 &&
|
|
1910
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
1911
|
+
(r[n[a]] = e[n[a]]);
|
|
1912
|
+
}
|
|
1913
|
+
return r;
|
|
1914
|
+
})(e, [
|
|
1915
|
+
"label",
|
|
1916
|
+
"className",
|
|
1917
|
+
"description",
|
|
1918
|
+
"maxLength",
|
|
1919
|
+
"hideLabel",
|
|
1920
|
+
]),
|
|
1921
|
+
j = `TextareaMaxLength-${(0, m.M)()}`,
|
|
1922
|
+
E = void 0 !== g && g > 0;
|
|
1923
|
+
return a().createElement(
|
|
1924
|
+
"div",
|
|
1925
|
+
{
|
|
1926
|
+
className: o()(
|
|
1927
|
+
y,
|
|
1928
|
+
"navds-form-field",
|
|
1929
|
+
`navds-form-field--${u}`,
|
|
1930
|
+
{
|
|
1931
|
+
"navds-textarea--error": d,
|
|
1932
|
+
"navds-textarea--disabled": !!r.disabled,
|
|
1933
|
+
}
|
|
1934
|
+
),
|
|
1935
|
+
},
|
|
1936
|
+
a().createElement(
|
|
1937
|
+
i.Z,
|
|
1938
|
+
{
|
|
1939
|
+
htmlFor: r.id,
|
|
1940
|
+
size: u,
|
|
1941
|
+
as: "label",
|
|
1942
|
+
className: o()("navds-textarea__label", { "sr-only": h }),
|
|
1943
|
+
},
|
|
1944
|
+
b
|
|
1945
|
+
),
|
|
1946
|
+
!!O &&
|
|
1947
|
+
a().createElement(
|
|
1948
|
+
c.Z,
|
|
1949
|
+
{
|
|
1950
|
+
as: "div",
|
|
1951
|
+
className: o()("navds-textarea__description", {
|
|
1952
|
+
"sr-only": h,
|
|
1953
|
+
}),
|
|
1954
|
+
id: f,
|
|
1955
|
+
size: u,
|
|
1956
|
+
},
|
|
1957
|
+
O
|
|
1958
|
+
),
|
|
1959
|
+
a().createElement(
|
|
1960
|
+
"div",
|
|
1961
|
+
{ className: "navds-textarea__wrapper" },
|
|
1962
|
+
a().createElement(
|
|
1963
|
+
$(),
|
|
1964
|
+
Object.assign(
|
|
1965
|
+
{},
|
|
1966
|
+
(0, s.omit)(w, ["error", "errorId", "size"]),
|
|
1967
|
+
r,
|
|
1968
|
+
{
|
|
1969
|
+
ref: t,
|
|
1970
|
+
className: o()(
|
|
1971
|
+
"navds-textarea__input",
|
|
1972
|
+
"navds-body-short",
|
|
1973
|
+
`navds-body-${null != u ? u : "medium"}`,
|
|
1974
|
+
{ "navds-textarea--counter": E }
|
|
1975
|
+
),
|
|
1976
|
+
"aria-describedby": o()(r["aria-describedby"], {
|
|
1977
|
+
[j]: E,
|
|
1978
|
+
}),
|
|
1979
|
+
}
|
|
1980
|
+
)
|
|
1981
|
+
),
|
|
1982
|
+
E &&
|
|
1983
|
+
a().createElement(
|
|
1984
|
+
a().Fragment,
|
|
1985
|
+
null,
|
|
1986
|
+
a().createElement(
|
|
1987
|
+
"span",
|
|
1988
|
+
{ id: j, className: "sr-only" },
|
|
1989
|
+
"Tekstområde med plass til ",
|
|
1990
|
+
g,
|
|
1991
|
+
" tegn., Textarea can have",
|
|
1992
|
+
" ",
|
|
1993
|
+
g,
|
|
1994
|
+
" signs."
|
|
1995
|
+
),
|
|
1996
|
+
a().createElement(V, {
|
|
1997
|
+
maxLength: g,
|
|
1998
|
+
currentLength: e.value.length,
|
|
1999
|
+
size: u,
|
|
2000
|
+
})
|
|
2001
|
+
)
|
|
2002
|
+
),
|
|
2003
|
+
a().createElement(
|
|
2004
|
+
"div",
|
|
2005
|
+
{
|
|
2006
|
+
id: n,
|
|
2007
|
+
"aria-relevant": "additions removals",
|
|
2008
|
+
"aria-live": "polite",
|
|
2009
|
+
},
|
|
2010
|
+
l && a().createElement(p, { size: u }, e.error)
|
|
2011
|
+
)
|
|
2012
|
+
);
|
|
2013
|
+
}),
|
|
2014
|
+
V = ({ maxLength: e, currentLength: t, size: r }) => {
|
|
2015
|
+
const n = e - t;
|
|
2016
|
+
return a().createElement(
|
|
2017
|
+
c.Z,
|
|
2018
|
+
{
|
|
2019
|
+
className: o()("navds-textarea__counter", {
|
|
2020
|
+
"navds-textarea__counter--error": n < 0,
|
|
2021
|
+
}),
|
|
2022
|
+
"aria-live": n < 20 ? "polite" : "off",
|
|
2023
|
+
size: r,
|
|
2024
|
+
},
|
|
2025
|
+
n < 0
|
|
2026
|
+
? `Du har ${Math.abs(n)} tegn for mye`
|
|
2027
|
+
: `Du har ${n} tegn igjen`
|
|
2028
|
+
);
|
|
2029
|
+
},
|
|
2030
|
+
B = H;
|
|
2031
|
+
const F = (0, n.forwardRef)((e, t) => {
|
|
2032
|
+
const {
|
|
2033
|
+
inputProps: r,
|
|
2034
|
+
errorId: n,
|
|
2035
|
+
showErrorMsg: l,
|
|
2036
|
+
hasError: u,
|
|
2037
|
+
size: f,
|
|
2038
|
+
inputDescriptionId: m,
|
|
2039
|
+
} = v(e, "textField"),
|
|
2040
|
+
{
|
|
2041
|
+
label: b,
|
|
2042
|
+
className: y,
|
|
2043
|
+
description: O,
|
|
2044
|
+
htmlSize: g,
|
|
2045
|
+
hideLabel: h = !1,
|
|
2046
|
+
type: w = "text",
|
|
2047
|
+
} = e,
|
|
2048
|
+
j = (function (e, t) {
|
|
2049
|
+
var r = {};
|
|
2050
|
+
for (var n in e)
|
|
2051
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
2052
|
+
t.indexOf(n) < 0 &&
|
|
2053
|
+
(r[n] = e[n]);
|
|
2054
|
+
if (
|
|
2055
|
+
null != e &&
|
|
2056
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
2057
|
+
) {
|
|
2058
|
+
var a = 0;
|
|
2059
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
2060
|
+
t.indexOf(n[a]) < 0 &&
|
|
2061
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
2062
|
+
(r[n[a]] = e[n[a]]);
|
|
2063
|
+
}
|
|
2064
|
+
return r;
|
|
2065
|
+
})(e, [
|
|
2066
|
+
"label",
|
|
2067
|
+
"className",
|
|
2068
|
+
"description",
|
|
2069
|
+
"htmlSize",
|
|
2070
|
+
"hideLabel",
|
|
2071
|
+
"type",
|
|
2072
|
+
]);
|
|
2073
|
+
return a().createElement(
|
|
2074
|
+
"div",
|
|
2075
|
+
{
|
|
2076
|
+
className: o()(y, "navds-form-field", `navds-form-field--${f}`, {
|
|
2077
|
+
"navds-text-field--error": u,
|
|
2078
|
+
"navds-text-field--disabled": !!r.disabled,
|
|
2079
|
+
}),
|
|
2080
|
+
},
|
|
2081
|
+
a().createElement(
|
|
2082
|
+
i.Z,
|
|
2083
|
+
{
|
|
2084
|
+
htmlFor: r.id,
|
|
2085
|
+
size: f,
|
|
2086
|
+
as: "label",
|
|
2087
|
+
className: o()("navds-text-field__label", { "sr-only": h }),
|
|
2088
|
+
},
|
|
2089
|
+
b
|
|
2090
|
+
),
|
|
2091
|
+
!!O &&
|
|
2092
|
+
a().createElement(
|
|
2093
|
+
a().Fragment,
|
|
2094
|
+
null,
|
|
2095
|
+
"medium" === f
|
|
2096
|
+
? a().createElement(
|
|
2097
|
+
c.Z,
|
|
2098
|
+
{
|
|
2099
|
+
className: o()("navds-text-field__description", {
|
|
2100
|
+
"sr-only": h,
|
|
2101
|
+
}),
|
|
2102
|
+
id: m,
|
|
2103
|
+
size: "small",
|
|
2104
|
+
as: "div",
|
|
2105
|
+
},
|
|
2106
|
+
O
|
|
2107
|
+
)
|
|
2108
|
+
: a().createElement(
|
|
2109
|
+
d.Z,
|
|
2110
|
+
{
|
|
2111
|
+
className: o()("navds-text-field__description", {
|
|
2112
|
+
"sr-only": h,
|
|
2113
|
+
}),
|
|
2114
|
+
id: m,
|
|
2115
|
+
size: "small",
|
|
2116
|
+
as: "div",
|
|
2117
|
+
},
|
|
2118
|
+
O
|
|
2119
|
+
)
|
|
2120
|
+
),
|
|
2121
|
+
a().createElement(
|
|
2122
|
+
"input",
|
|
2123
|
+
Object.assign(
|
|
2124
|
+
{},
|
|
2125
|
+
(0, s.omit)(j, ["error", "errorId", "size"]),
|
|
2126
|
+
r,
|
|
2127
|
+
{
|
|
2128
|
+
ref: t,
|
|
2129
|
+
type: w,
|
|
2130
|
+
className: o()(
|
|
2131
|
+
"navds-text-field__input",
|
|
2132
|
+
"navds-body-short",
|
|
2133
|
+
`navds-body-${null != f ? f : "medium"}`
|
|
2134
|
+
),
|
|
2135
|
+
size: g,
|
|
2136
|
+
}
|
|
2137
|
+
)
|
|
2138
|
+
),
|
|
2139
|
+
a().createElement(
|
|
2140
|
+
"div",
|
|
2141
|
+
{
|
|
2142
|
+
id: n,
|
|
2143
|
+
"aria-relevant": "additions removals",
|
|
2144
|
+
"aria-live": "polite",
|
|
2145
|
+
},
|
|
2146
|
+
l && a().createElement(p, { size: f }, e.error)
|
|
2147
|
+
)
|
|
2148
|
+
);
|
|
2149
|
+
});
|
|
2150
|
+
var T = r(633);
|
|
2151
|
+
const A = (0, n.forwardRef)((e, t) => {
|
|
2152
|
+
var { className: r, children: n, label: l } = e,
|
|
2153
|
+
s = (function (e, t) {
|
|
2154
|
+
var r = {};
|
|
2155
|
+
for (var n in e)
|
|
2156
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
2157
|
+
t.indexOf(n) < 0 &&
|
|
2158
|
+
(r[n] = e[n]);
|
|
2159
|
+
if (
|
|
2160
|
+
null != e &&
|
|
2161
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
2162
|
+
) {
|
|
2163
|
+
var a = 0;
|
|
2164
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
2165
|
+
t.indexOf(n[a]) < 0 &&
|
|
2166
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
2167
|
+
(r[n[a]] = e[n[a]]);
|
|
2168
|
+
}
|
|
2169
|
+
return r;
|
|
2170
|
+
})(e, ["className", "children", "label"]);
|
|
2171
|
+
return a().createElement(
|
|
2172
|
+
"div",
|
|
2173
|
+
{
|
|
2174
|
+
ref: t,
|
|
2175
|
+
className: o()("navds-confirmation-panel", r, {
|
|
2176
|
+
"navds-confirmation-panel--small": "small" === s.size,
|
|
2177
|
+
"navds-confirmation-panel--error": !!s.error,
|
|
2178
|
+
"navds-confirmation-panel--checked": !!s.checked,
|
|
2179
|
+
}),
|
|
2180
|
+
},
|
|
2181
|
+
n &&
|
|
2182
|
+
a().createElement(
|
|
2183
|
+
T.Z,
|
|
2184
|
+
{
|
|
2185
|
+
size: s.size,
|
|
2186
|
+
className: "navds-confirmation-panel__content",
|
|
2187
|
+
},
|
|
2188
|
+
n
|
|
2189
|
+
),
|
|
2190
|
+
a().createElement(g, Object.assign({}, s), l)
|
|
2191
|
+
);
|
|
2192
|
+
});
|
|
2193
|
+
},
|
|
2194
|
+
111: (e, t, r) => {
|
|
2195
|
+
r.r(t),
|
|
2196
|
+
r.d(t, { Cell: () => s, ContentContainer: () => c, Grid: () => i });
|
|
2197
|
+
var n = r(689),
|
|
2198
|
+
a = r.n(n),
|
|
2199
|
+
l = r(3),
|
|
2200
|
+
o = r.n(l);
|
|
2201
|
+
const s = (0, n.forwardRef)((e, t) => {
|
|
2202
|
+
var { children: r, xs: n, sm: l, md: s, lg: i, className: c } = e,
|
|
2203
|
+
d = (function (e, t) {
|
|
2204
|
+
var r = {};
|
|
2205
|
+
for (var n in e)
|
|
2206
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
2207
|
+
t.indexOf(n) < 0 &&
|
|
2208
|
+
(r[n] = e[n]);
|
|
2209
|
+
if (
|
|
2210
|
+
null != e &&
|
|
2211
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
2212
|
+
) {
|
|
2213
|
+
var a = 0;
|
|
2214
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
2215
|
+
t.indexOf(n[a]) < 0 &&
|
|
2216
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
2217
|
+
(r[n[a]] = e[n[a]]);
|
|
2218
|
+
}
|
|
2219
|
+
return r;
|
|
2220
|
+
})(e, ["children", "xs", "sm", "md", "lg", "className"]);
|
|
2221
|
+
return a().createElement(
|
|
2222
|
+
"div",
|
|
2223
|
+
Object.assign({}, d, {
|
|
2224
|
+
ref: t,
|
|
2225
|
+
className: o()(
|
|
2226
|
+
"navds-grid__cell",
|
|
2227
|
+
n && `navds-grid__cell--xs-${n}`,
|
|
2228
|
+
l && `navds-grid__cell--sm-${l}`,
|
|
2229
|
+
s && `navds-grid__cell--md-${s}`,
|
|
2230
|
+
i && `navds-grid__cell--lg-${i}`,
|
|
2231
|
+
c
|
|
2232
|
+
),
|
|
2233
|
+
}),
|
|
2234
|
+
r
|
|
2235
|
+
);
|
|
2236
|
+
});
|
|
2237
|
+
const i = (0, n.forwardRef)((e, t) => {
|
|
2238
|
+
var { children: r, className: n } = e,
|
|
2239
|
+
l = (function (e, t) {
|
|
2240
|
+
var r = {};
|
|
2241
|
+
for (var n in e)
|
|
2242
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
2243
|
+
t.indexOf(n) < 0 &&
|
|
2244
|
+
(r[n] = e[n]);
|
|
2245
|
+
if (
|
|
2246
|
+
null != e &&
|
|
2247
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
2248
|
+
) {
|
|
2249
|
+
var a = 0;
|
|
2250
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
2251
|
+
t.indexOf(n[a]) < 0 &&
|
|
2252
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
2253
|
+
(r[n[a]] = e[n[a]]);
|
|
2254
|
+
}
|
|
2255
|
+
return r;
|
|
2256
|
+
})(e, ["children", "className"]);
|
|
2257
|
+
return a().createElement(
|
|
2258
|
+
"div",
|
|
2259
|
+
Object.assign({ ref: t, className: o()("navds-grid", n) }, l),
|
|
2260
|
+
r
|
|
2261
|
+
);
|
|
2262
|
+
});
|
|
2263
|
+
const c = (0, n.forwardRef)((e, t) => {
|
|
2264
|
+
var { className: r } = e,
|
|
2265
|
+
n = (function (e, t) {
|
|
2266
|
+
var r = {};
|
|
2267
|
+
for (var n in e)
|
|
2268
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
2269
|
+
t.indexOf(n) < 0 &&
|
|
2270
|
+
(r[n] = e[n]);
|
|
2271
|
+
if (
|
|
2272
|
+
null != e &&
|
|
2273
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
2274
|
+
) {
|
|
2275
|
+
var a = 0;
|
|
2276
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
2277
|
+
t.indexOf(n[a]) < 0 &&
|
|
2278
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
2279
|
+
(r[n[a]] = e[n[a]]);
|
|
2280
|
+
}
|
|
2281
|
+
return r;
|
|
2282
|
+
})(e, ["className"]);
|
|
2283
|
+
return a().createElement(
|
|
2284
|
+
"div",
|
|
2285
|
+
Object.assign(
|
|
2286
|
+
{ ref: t, className: o()("navds-content-container", r) },
|
|
2287
|
+
n
|
|
2288
|
+
)
|
|
2289
|
+
);
|
|
2290
|
+
});
|
|
2291
|
+
},
|
|
2292
|
+
192: (e, t, r) => {
|
|
2293
|
+
r.r(t), r.d(t, { GuidePanel: () => c });
|
|
2294
|
+
var n = r(689),
|
|
2295
|
+
a = r.n(n),
|
|
2296
|
+
l = r(3),
|
|
2297
|
+
o = r.n(l);
|
|
2298
|
+
const s = () =>
|
|
2299
|
+
a().createElement(
|
|
2300
|
+
"svg",
|
|
2301
|
+
{
|
|
2302
|
+
width: "42",
|
|
2303
|
+
height: "64",
|
|
2304
|
+
viewBox: "0 0 42 64",
|
|
2305
|
+
fill: "none",
|
|
2306
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2307
|
+
"aria-label": "NAV veileder illustrasjon",
|
|
2308
|
+
},
|
|
2309
|
+
a().createElement("path", {
|
|
2310
|
+
fillRule: "evenodd",
|
|
2311
|
+
clipRule: "evenodd",
|
|
2312
|
+
d:
|
|
2313
|
+
"M32.8313 30.4421C31.7718 33.868 29.6975 36.7117 27.0391 38.452L27.1752 39.9777L27.1745 40.0397L25.7375 52.6154H16.6236L16.5857 52.3512L14.8238 40.0181L14.8891 38.4756C12.2173 36.7398 10.1312 33.8914 9.06565 30.4564C9.02952 30.4598 8.99291 30.4616 8.95588 30.4616C8.26662 30.4616 7.72058 29.8614 7.72058 29.1343V25.0202C7.72058 24.5328 7.96592 24.1022 8.33526 23.8712C8.9115 16.1905 14.3251 10.1539 20.946 10.1539C27.5491 10.1539 32.9517 16.1579 33.5525 23.8089C33.9838 24.0179 34.2794 24.4845 34.2794 25.0202V29.1343C34.2794 29.8618 33.7341 30.4616 33.0441 30.4616C32.9714 30.4616 32.9003 30.4549 32.8313 30.4421Z",
|
|
2314
|
+
fill: "#F1F1F1",
|
|
2315
|
+
}),
|
|
2316
|
+
a().createElement("path", {
|
|
2317
|
+
fillRule: "evenodd",
|
|
2318
|
+
clipRule: "evenodd",
|
|
2319
|
+
d:
|
|
2320
|
+
"M26.7182 38.8777C26.6663 41.624 24.1261 44.4415 21 44.4415C17.8604 44.4415 15.3116 41.5994 15.2813 38.8419C13.6546 39.2527 11.1714 40.4917 9.12177 42.5623C7.13699 44.5674 5.55884 47.5814 5.55884 49.9194V64H36.4412V49.9194C36.4412 47.5766 34.829 44.5575 32.8075 42.5501C30.7861 40.5427 28.3553 39.3204 26.7182 38.8777Z",
|
|
2321
|
+
fill: "#0056B4",
|
|
2322
|
+
}),
|
|
2323
|
+
a().createElement("path", {
|
|
2324
|
+
fillRule: "evenodd",
|
|
2325
|
+
clipRule: "evenodd",
|
|
2326
|
+
d:
|
|
2327
|
+
"M15.1786 38.9372C13.6802 39.4793 11.1664 40.6641 9.2647 42.4632C3.70588 41.2308 1.23529 38.3022 1.23529 38.3022C1.23529 38.3022 6.35673 33.325 6.35982 24.6197V24.6105C6.35982 14.4173 11.8831 7.38464 20.9827 7.38464C30.0836 7.38464 35.6068 14.4173 35.6068 24.6105H35.6396C35.6396 33.3219 40.7647 38.3022 40.7647 38.3022C40.7647 38.3022 38.2941 41.2308 32.7353 42.4616L32.7269 42.4632C30.8901 40.7984 28.2262 39.5144 26.7769 38.9715L26.7785 38.971L26.7209 38.3257L26.7521 38.2722C29.4867 36.5294 31.6086 33.5933 32.6316 30.0454C32.7569 30.1148 32.8983 30.1539 33.048 30.1539C33.5601 30.1539 33.9746 29.6984 33.9746 29.1343V25.0202C33.9746 24.5375 33.6712 24.134 33.2628 24.0275C33.2624 24.0219 33.262 24.0164 33.2616 24.0108C20.3323 25.4483 15.6749 16.616 15.2926 16.6154C15.2926 16.6154 10.9987 19.6923 8.94657 23.3506C8.94657 23.3506 8.6338 24.0412 8.63228 24.0644C8.28095 24.2092 8.03035 24.5821 8.03035 25.0202V29.1343C8.03035 29.6984 8.44586 30.1539 8.95693 30.1539C9.07019 30.1539 9.17868 30.1316 9.27895 30.0908C10.3132 33.6404 12.4486 36.5733 15.1961 38.3046L15.2063 38.3257L15.1804 38.9372H15.1786Z",
|
|
2328
|
+
fill: "#D05C4A",
|
|
2329
|
+
}),
|
|
2330
|
+
a().createElement("path", {
|
|
2331
|
+
fillRule: "evenodd",
|
|
2332
|
+
clipRule: "evenodd",
|
|
2333
|
+
d:
|
|
2334
|
+
"M16.584 26.9976C15.7859 27.062 15.5625 25.8029 15.803 24.9807C15.8482 24.8249 16.1124 24.1154 16.5802 24.1154C17.0473 24.1154 17.2536 24.5032 17.2823 24.5699C17.6259 25.3715 17.4571 26.9268 16.584 26.9976",
|
|
2335
|
+
fill: "#262626",
|
|
2336
|
+
}),
|
|
2337
|
+
a().createElement("path", {
|
|
2338
|
+
fillRule: "evenodd",
|
|
2339
|
+
clipRule: "evenodd",
|
|
2340
|
+
d:
|
|
2341
|
+
"M25.8405 26.9976C26.6386 27.062 26.862 25.8029 26.6215 24.9807C26.5763 24.8249 26.3121 24.1154 25.8444 24.1154C25.3772 24.1154 25.171 24.5032 25.1423 24.5699C24.7987 25.3715 24.9674 26.9268 25.8405 26.9976",
|
|
2342
|
+
fill: "#262626",
|
|
2343
|
+
}),
|
|
2344
|
+
a().createElement("path", {
|
|
2345
|
+
d:
|
|
2346
|
+
"M21.5081 28.2384C21.9854 28.157 22.3113 28.2081 22.428 28.3669C22.8687 28.9672 22.7277 29.6023 21.9718 30.1237C21.5744 30.3977 21.0273 30.4942 20.7377 30.3521C20.596 30.2826 20.4304 30.3536 20.3677 30.5106C20.3051 30.6676 20.3691 30.8512 20.5107 30.9207C20.9894 31.1555 21.7255 31.0257 22.268 30.6517C23.2953 29.9431 23.5304 28.8837 22.863 27.9743C22.5805 27.59 22.0806 27.5116 21.4228 27.6239C21.2697 27.65 21.1647 27.8088 21.1883 27.9784C21.2118 28.1481 21.355 28.2645 21.5081 28.2384Z",
|
|
2347
|
+
fill: "#262626",
|
|
2348
|
+
}),
|
|
2349
|
+
a().createElement("path", {
|
|
2350
|
+
d:
|
|
2351
|
+
"M24.9595 32.3642C24.9315 32.4234 24.8672 32.5367 24.7639 32.686C24.589 32.9386 24.3694 33.1919 24.1027 33.4281C23.3079 34.1319 22.2735 34.5389 20.9568 34.5017C19.673 34.4654 18.6432 34.0647 17.8358 33.4185C17.5393 33.1813 17.2946 32.9272 17.0989 32.6739C16.9836 32.5246 16.9115 32.4114 16.88 32.3523C16.8043 32.2104 16.618 32.152 16.464 32.2218C16.31 32.2917 16.2466 32.4634 16.3224 32.6053C16.3681 32.6908 16.4569 32.8304 16.5927 33.0062C16.8156 33.2948 17.0928 33.5826 17.4283 33.8511C18.3398 34.5805 19.5046 35.0338 20.9378 35.0743C22.4302 35.1165 23.6233 34.6471 24.5333 33.8412C24.8376 33.5717 25.0877 33.2832 25.2878 32.9941C25.4095 32.8183 25.4887 32.6787 25.5291 32.5934C25.5977 32.4485 25.5259 32.2796 25.3686 32.2163C25.2113 32.153 25.0282 32.2192 24.9595 32.3642Z",
|
|
2352
|
+
fill: "#262626",
|
|
2353
|
+
}),
|
|
2354
|
+
a().createElement("path", {
|
|
2355
|
+
fillRule: "evenodd",
|
|
2356
|
+
clipRule: "evenodd",
|
|
2357
|
+
d:
|
|
2358
|
+
"M32.1651 58H21.8343C21.3733 58 21 57.621 21 57.153V51.5143C21 51.0462 21.3733 50.6667 21.8343 50.6667H32.1651C32.6261 50.6667 33 51.0462 33 51.5143V57.153C33 57.621 32.6261 58 32.1651 58",
|
|
2359
|
+
fill: "white",
|
|
2360
|
+
}),
|
|
2361
|
+
a().createElement("path", {
|
|
2362
|
+
fillRule: "evenodd",
|
|
2363
|
+
clipRule: "evenodd",
|
|
2364
|
+
d:
|
|
2365
|
+
"M27.6207 51.8307H26.5502C26.4709 51.8307 26.407 51.7671 26.407 51.6882V51.5086C26.407 51.4303 26.4709 51.3661 26.5502 51.3661H27.6207C27.7 51.3661 27.764 51.4303 27.764 51.5086V51.6882C27.764 51.7671 27.7 51.8307 27.6207 51.8307",
|
|
2366
|
+
fill: "#262626",
|
|
2367
|
+
}),
|
|
2368
|
+
a().createElement("path", {
|
|
2369
|
+
fillRule: "evenodd",
|
|
2370
|
+
clipRule: "evenodd",
|
|
2371
|
+
d: "M26.7756 51.6667H27.3958V50H26.7756V51.6667Z",
|
|
2372
|
+
fill: "#6A6A6A",
|
|
2373
|
+
}),
|
|
2374
|
+
a().createElement("path", {
|
|
2375
|
+
fillRule: "evenodd",
|
|
2376
|
+
clipRule: "evenodd",
|
|
2377
|
+
d:
|
|
2378
|
+
"M27.1269 56.6651C25.839 56.6651 24.7947 55.6208 24.7947 54.3327C24.7947 53.0444 25.839 52 27.1269 52C28.4153 52 29.4597 53.0444 29.4597 54.3327C29.4597 55.6208 28.4153 56.6651 27.1269 56.6651Z",
|
|
2379
|
+
fill: "#C30000",
|
|
2380
|
+
}),
|
|
2381
|
+
a().createElement("path", {
|
|
2382
|
+
fillRule: "evenodd",
|
|
2383
|
+
clipRule: "evenodd",
|
|
2384
|
+
d:
|
|
2385
|
+
"M23.6667 55.3511L24.1434 54.1712H24.6015L24.1254 55.3511H23.6667Z",
|
|
2386
|
+
fill: "#C30000",
|
|
2387
|
+
}),
|
|
2388
|
+
a().createElement("path", {
|
|
2389
|
+
fillRule: "evenodd",
|
|
2390
|
+
clipRule: "evenodd",
|
|
2391
|
+
d:
|
|
2392
|
+
"M29.5496 55.3511L30.0202 54.1712H30.2699L29.7993 55.3511H29.5496Z",
|
|
2393
|
+
fill: "#C30000",
|
|
2394
|
+
}),
|
|
2395
|
+
a().createElement("path", {
|
|
2396
|
+
fillRule: "evenodd",
|
|
2397
|
+
clipRule: "evenodd",
|
|
2398
|
+
d:
|
|
2399
|
+
"M30.4752 55.3511L30.9457 54.1712H31.0783L30.6077 55.3511H30.4752Z",
|
|
2400
|
+
fill: "#C30000",
|
|
2401
|
+
}),
|
|
2402
|
+
a().createElement("path", {
|
|
2403
|
+
fillRule: "evenodd",
|
|
2404
|
+
clipRule: "evenodd",
|
|
2405
|
+
d:
|
|
2406
|
+
"M29.1165 54.1712H28.7019C28.7019 54.1712 28.6733 54.1712 28.6632 54.1964L28.4337 54.8989L28.2044 54.1964C28.1943 54.1712 28.1656 54.1712 28.1656 54.1712H27.3683C27.3511 54.1712 27.3366 54.1856 27.3366 54.2028V54.4413C27.3366 54.2521 27.1352 54.1712 27.0173 54.1712C26.7533 54.1712 26.5765 54.3451 26.5215 54.6095C26.5185 54.4341 26.5039 54.3713 26.4567 54.3069C26.435 54.2754 26.4036 54.2489 26.3695 54.2269C26.2991 54.1857 26.236 54.1712 26.1003 54.1712H25.9409C25.9409 54.1712 25.9121 54.1712 25.9019 54.1964L25.7569 54.5558V54.2028C25.7569 54.1856 25.7426 54.1712 25.7253 54.1712H25.3566C25.3566 54.1712 25.3281 54.1712 25.3178 54.1964L25.167 54.5701C25.167 54.5701 25.152 54.6074 25.1864 54.6074H25.3281V55.3194C25.3281 55.3371 25.342 55.3511 25.3598 55.3511H25.7253C25.7426 55.3511 25.7569 55.3371 25.7569 55.3194V54.6074H25.8994C25.9812 54.6074 25.9985 54.6097 26.0303 54.6245C26.0495 54.6317 26.0667 54.6464 26.0762 54.6632C26.0954 54.6995 26.1003 54.7431 26.1003 54.8716V55.3194C26.1003 55.3371 26.1145 55.3511 26.132 55.3511H26.4823C26.4823 55.3511 26.5219 55.3511 26.5376 55.312L26.6152 55.1201C26.7185 55.2647 26.8884 55.3511 27.0996 55.3511H27.1458C27.1458 55.3511 27.1856 55.3511 27.2014 55.312L27.3366 54.9771V55.3194C27.3366 55.3371 27.3511 55.3511 27.3683 55.3511H27.726C27.726 55.3511 27.7654 55.3511 27.7813 55.312C27.7813 55.312 27.9243 54.9569 27.9249 54.9542H27.9251C27.9306 54.9246 27.8933 54.9246 27.8933 54.9246H27.7656V54.3153L28.1672 55.312C28.1829 55.3511 28.2225 55.3511 28.2225 55.3511H28.645C28.645 55.3511 28.6847 55.3511 28.7004 55.312L29.1457 54.2094C29.1611 54.1712 29.1165 54.1712 29.1165 54.1712V54.1712ZM27.3366 54.9246H27.0964C27.0007 54.9246 26.9229 54.8472 26.9229 54.7515C26.9229 54.6559 27.0007 54.578 27.0964 54.578H27.1635C27.2589 54.578 27.3366 54.6559 27.3366 54.7515V54.9246Z",
|
|
2407
|
+
fill: "white",
|
|
2408
|
+
})
|
|
2409
|
+
);
|
|
2410
|
+
const i = (0, n.forwardRef)((e, t) => {
|
|
2411
|
+
var {
|
|
2412
|
+
className: r,
|
|
2413
|
+
illustration: n,
|
|
2414
|
+
size: l = "medium",
|
|
2415
|
+
color: i,
|
|
2416
|
+
} = e,
|
|
2417
|
+
c = (function (e, t) {
|
|
2418
|
+
var r = {};
|
|
2419
|
+
for (var n in e)
|
|
2420
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
2421
|
+
t.indexOf(n) < 0 &&
|
|
2422
|
+
(r[n] = e[n]);
|
|
2423
|
+
if (
|
|
2424
|
+
null != e &&
|
|
2425
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
2426
|
+
) {
|
|
2427
|
+
var a = 0;
|
|
2428
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
2429
|
+
t.indexOf(n[a]) < 0 &&
|
|
2430
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
2431
|
+
(r[n[a]] = e[n[a]]);
|
|
2432
|
+
}
|
|
2433
|
+
return r;
|
|
2434
|
+
})(e, ["className", "illustration", "size", "color"]);
|
|
2435
|
+
return a().createElement(
|
|
2436
|
+
"div",
|
|
2437
|
+
Object.assign({ ref: t, className: o()("navds-guide", r) }, c),
|
|
2438
|
+
a().createElement(
|
|
2439
|
+
"div",
|
|
2440
|
+
{
|
|
2441
|
+
className: o()(
|
|
2442
|
+
"navds-guide__illustration",
|
|
2443
|
+
`navds-guide__illustration--${l}`
|
|
2444
|
+
),
|
|
2445
|
+
},
|
|
2446
|
+
null != n ? n : a().createElement(s, null)
|
|
2447
|
+
)
|
|
2448
|
+
);
|
|
2449
|
+
});
|
|
2450
|
+
const c = (0, n.forwardRef)((e, t) => {
|
|
2451
|
+
var {
|
|
2452
|
+
children: r,
|
|
2453
|
+
className: n,
|
|
2454
|
+
illustration: l,
|
|
2455
|
+
poster: s = !1,
|
|
2456
|
+
color: c,
|
|
2457
|
+
} = e,
|
|
2458
|
+
d = (function (e, t) {
|
|
2459
|
+
var r = {};
|
|
2460
|
+
for (var n in e)
|
|
2461
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
2462
|
+
t.indexOf(n) < 0 &&
|
|
2463
|
+
(r[n] = e[n]);
|
|
2464
|
+
if (
|
|
2465
|
+
null != e &&
|
|
2466
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
2467
|
+
) {
|
|
2468
|
+
var a = 0;
|
|
2469
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
2470
|
+
t.indexOf(n[a]) < 0 &&
|
|
2471
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
2472
|
+
(r[n[a]] = e[n[a]]);
|
|
2473
|
+
}
|
|
2474
|
+
return r;
|
|
2475
|
+
})(e, ["children", "className", "illustration", "poster", "color"]);
|
|
2476
|
+
return a().createElement(
|
|
2477
|
+
"div",
|
|
2478
|
+
Object.assign({}, d, {
|
|
2479
|
+
ref: t,
|
|
2480
|
+
className: o()("navds-guide-panel", n, {
|
|
2481
|
+
"navds-guide-panel--poster": s,
|
|
2482
|
+
}),
|
|
2483
|
+
}),
|
|
2484
|
+
a().createElement(i, {
|
|
2485
|
+
size: s ? "medium" : "small",
|
|
2486
|
+
illustration: l,
|
|
2487
|
+
}),
|
|
2488
|
+
a().createElement(
|
|
2489
|
+
"div",
|
|
2490
|
+
{ className: "navds-guide-panel__content" },
|
|
2491
|
+
r
|
|
2492
|
+
)
|
|
2493
|
+
);
|
|
2494
|
+
});
|
|
2495
|
+
},
|
|
2496
|
+
589: (e, t, r) => {
|
|
2497
|
+
r.r(t), r.d(t, { HelpText: () => u });
|
|
2498
|
+
var n = r(689),
|
|
2499
|
+
a = r.n(n),
|
|
2500
|
+
l = r(828);
|
|
2501
|
+
const o = n.forwardRef(function (e, t) {
|
|
2502
|
+
var { title: r, titleId: a } = e,
|
|
2503
|
+
o = (function (e, t) {
|
|
2504
|
+
var r = {};
|
|
2505
|
+
for (var n in e)
|
|
2506
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
2507
|
+
t.indexOf(n) < 0 &&
|
|
2508
|
+
(r[n] = e[n]);
|
|
2509
|
+
if (
|
|
2510
|
+
null != e &&
|
|
2511
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
2512
|
+
) {
|
|
2513
|
+
var a = 0;
|
|
2514
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
2515
|
+
t.indexOf(n[a]) < 0 &&
|
|
2516
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
2517
|
+
(r[n[a]] = e[n[a]]);
|
|
2518
|
+
}
|
|
2519
|
+
return r;
|
|
2520
|
+
})(e, ["title", "titleId"]);
|
|
2521
|
+
const s = null != a ? a : r ? "icon-title-" + (0, l.v4)() : void 0;
|
|
2522
|
+
return n.createElement(
|
|
2523
|
+
"svg",
|
|
2524
|
+
Object.assign(
|
|
2525
|
+
{
|
|
2526
|
+
width: "1em",
|
|
2527
|
+
height: "1em",
|
|
2528
|
+
viewBox: "0 0 24 24",
|
|
2529
|
+
fill: "none",
|
|
2530
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2531
|
+
focusable: !1,
|
|
2532
|
+
role: "img",
|
|
2533
|
+
ref: t,
|
|
2534
|
+
"aria-labelledby": s,
|
|
2535
|
+
},
|
|
2536
|
+
o
|
|
2537
|
+
),
|
|
2538
|
+
r ? n.createElement("title", { id: s }, r) : null,
|
|
2539
|
+
n.createElement("path", {
|
|
2540
|
+
fillRule: "evenodd",
|
|
2541
|
+
clipRule: "evenodd",
|
|
2542
|
+
d:
|
|
2543
|
+
"M12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0zm0 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 14a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm0-11c2.205 0 4 1.657 4 3.693 0 .986-.416 1.914-1.172 2.612l-.593.54-.294.28c-.477.466-.869.94-.936 1.417l-.01.144v.814h-1.991v-.814c0-1.254.84-2.214 1.675-3.002l.74-.68c.38-.35.59-.816.59-1.31 0-1.024-.901-1.856-2.01-1.856-1.054 0-1.922.755-2.002 1.71l-.006.145H8C8 6.657 9.794 5 12 5z",
|
|
2544
|
+
fill: "currentColor",
|
|
2545
|
+
})
|
|
2546
|
+
);
|
|
2547
|
+
});
|
|
2548
|
+
var s = r(3),
|
|
2549
|
+
i = r.n(s),
|
|
2550
|
+
c = r(824),
|
|
2551
|
+
d = r.n(c),
|
|
2552
|
+
p = r(172);
|
|
2553
|
+
const u = (0, n.forwardRef)((e, t) => {
|
|
2554
|
+
var {
|
|
2555
|
+
className: r,
|
|
2556
|
+
children: l,
|
|
2557
|
+
placement: s = "top",
|
|
2558
|
+
title: c = "hjelp",
|
|
2559
|
+
} = e,
|
|
2560
|
+
u = (function (e, t) {
|
|
2561
|
+
var r = {};
|
|
2562
|
+
for (var n in e)
|
|
2563
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
2564
|
+
t.indexOf(n) < 0 &&
|
|
2565
|
+
(r[n] = e[n]);
|
|
2566
|
+
if (
|
|
2567
|
+
null != e &&
|
|
2568
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
2569
|
+
) {
|
|
2570
|
+
var a = 0;
|
|
2571
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
2572
|
+
t.indexOf(n[a]) < 0 &&
|
|
2573
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
2574
|
+
(r[n[a]] = e[n[a]]);
|
|
2575
|
+
}
|
|
2576
|
+
return r;
|
|
2577
|
+
})(e, ["className", "children", "placement", "title"]);
|
|
2578
|
+
const f = (0, n.useRef)(null),
|
|
2579
|
+
m = d()([f, t]),
|
|
2580
|
+
v = (0, n.useRef)(null),
|
|
2581
|
+
b = (0, n.useRef)(null),
|
|
2582
|
+
[y, O] = (0, n.useState)(!1);
|
|
2583
|
+
return (
|
|
2584
|
+
(0, n.useEffect)(() => {
|
|
2585
|
+
var e;
|
|
2586
|
+
y && (null === (e = v.current) || void 0 === e || e.focus());
|
|
2587
|
+
}, [y]),
|
|
2588
|
+
a().createElement(
|
|
2589
|
+
"div",
|
|
2590
|
+
{ className: "navds-help-text", ref: b },
|
|
2591
|
+
a().createElement(
|
|
2592
|
+
"button",
|
|
2593
|
+
Object.assign({}, u, {
|
|
2594
|
+
ref: m,
|
|
2595
|
+
onClick: (e) =>
|
|
2596
|
+
((e) => {
|
|
2597
|
+
O((e) => !e), u.onClick && u.onClick(e);
|
|
2598
|
+
})(e),
|
|
2599
|
+
className: i()(r, "navds-help-text__button"),
|
|
2600
|
+
type: "button",
|
|
2601
|
+
"aria-expanded": y,
|
|
2602
|
+
"aria-haspopup": "dialog",
|
|
2603
|
+
title: c,
|
|
2604
|
+
}),
|
|
2605
|
+
a().createElement(o, { className: "navds-help-text__icon" }),
|
|
2606
|
+
a().createElement("span", { className: "navds-sr-only" }, c)
|
|
2607
|
+
),
|
|
2608
|
+
a().createElement(
|
|
2609
|
+
p.Z,
|
|
2610
|
+
{
|
|
2611
|
+
ref: v,
|
|
2612
|
+
onClose: () => O(!1),
|
|
2613
|
+
className: "navds-help-text__popover",
|
|
2614
|
+
open: y,
|
|
2615
|
+
role: "tooltip",
|
|
2616
|
+
anchorEl: f.current,
|
|
2617
|
+
placement: s,
|
|
2618
|
+
},
|
|
2619
|
+
a().createElement(p.Z.Content, null, l)
|
|
2620
|
+
)
|
|
2621
|
+
)
|
|
2622
|
+
);
|
|
2623
|
+
});
|
|
2624
|
+
},
|
|
2625
|
+
607: (e, t, r) => {
|
|
2626
|
+
r.r(t), r.d(t, { LinkPanel: () => m });
|
|
2627
|
+
var n = r(689),
|
|
2628
|
+
a = r.n(n),
|
|
2629
|
+
l = r(249),
|
|
2630
|
+
o = r(828);
|
|
2631
|
+
const s = n.forwardRef(function (e, t) {
|
|
2632
|
+
var { title: r, titleId: a } = e,
|
|
2633
|
+
l = (function (e, t) {
|
|
2634
|
+
var r = {};
|
|
2635
|
+
for (var n in e)
|
|
2636
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
2637
|
+
t.indexOf(n) < 0 &&
|
|
2638
|
+
(r[n] = e[n]);
|
|
2639
|
+
if (
|
|
2640
|
+
null != e &&
|
|
2641
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
2642
|
+
) {
|
|
2643
|
+
var a = 0;
|
|
2644
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
2645
|
+
t.indexOf(n[a]) < 0 &&
|
|
2646
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
2647
|
+
(r[n[a]] = e[n[a]]);
|
|
2648
|
+
}
|
|
2649
|
+
return r;
|
|
2650
|
+
})(e, ["title", "titleId"]);
|
|
2651
|
+
const s = null != a ? a : r ? "icon-title-" + (0, o.v4)() : void 0;
|
|
2652
|
+
return n.createElement(
|
|
2653
|
+
"svg",
|
|
2654
|
+
Object.assign(
|
|
2655
|
+
{
|
|
2656
|
+
width: "1em",
|
|
2657
|
+
height: "1em",
|
|
2658
|
+
viewBox: "0 0 24 24",
|
|
2659
|
+
fill: "none",
|
|
2660
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2661
|
+
focusable: !1,
|
|
2662
|
+
role: "img",
|
|
2663
|
+
ref: t,
|
|
2664
|
+
"aria-labelledby": s,
|
|
2665
|
+
},
|
|
2666
|
+
l
|
|
2667
|
+
),
|
|
2668
|
+
r ? n.createElement("title", { id: s }, r) : null,
|
|
2669
|
+
n.createElement("path", {
|
|
2670
|
+
fillRule: "evenodd",
|
|
2671
|
+
clipRule: "evenodd",
|
|
2672
|
+
d: "M17 12L8.429 3 7 4.5l7.143 7.5L7 19.5 8.429 21 17 12z",
|
|
2673
|
+
fill: "currentColor",
|
|
2674
|
+
})
|
|
2675
|
+
);
|
|
2676
|
+
});
|
|
2677
|
+
var i = r(3),
|
|
2678
|
+
c = r.n(i);
|
|
2679
|
+
const d = (0, n.forwardRef)((e, t) => {
|
|
2680
|
+
var { className: r, as: n = "div" } = e,
|
|
2681
|
+
l = (function (e, t) {
|
|
2682
|
+
var r = {};
|
|
2683
|
+
for (var n in e)
|
|
2684
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
2685
|
+
t.indexOf(n) < 0 &&
|
|
2686
|
+
(r[n] = e[n]);
|
|
2687
|
+
if (
|
|
2688
|
+
null != e &&
|
|
2689
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
2690
|
+
) {
|
|
2691
|
+
var a = 0;
|
|
2692
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
2693
|
+
t.indexOf(n[a]) < 0 &&
|
|
2694
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
2695
|
+
(r[n[a]] = e[n[a]]);
|
|
2696
|
+
}
|
|
2697
|
+
return r;
|
|
2698
|
+
})(e, ["className", "as"]);
|
|
2699
|
+
return a().createElement(
|
|
2700
|
+
n,
|
|
2701
|
+
Object.assign({}, l, {
|
|
2702
|
+
ref: t,
|
|
2703
|
+
className: c()(
|
|
2704
|
+
"navds-link-panel__title",
|
|
2705
|
+
"navds-heading",
|
|
2706
|
+
"navds-heading--medium",
|
|
2707
|
+
r
|
|
2708
|
+
),
|
|
2709
|
+
})
|
|
2710
|
+
);
|
|
2711
|
+
});
|
|
2712
|
+
var p = r(633);
|
|
2713
|
+
const u = (0, n.forwardRef)((e, t) => {
|
|
2714
|
+
var { className: r } = e,
|
|
2715
|
+
n = (function (e, t) {
|
|
2716
|
+
var r = {};
|
|
2717
|
+
for (var n in e)
|
|
2718
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
2719
|
+
t.indexOf(n) < 0 &&
|
|
2720
|
+
(r[n] = e[n]);
|
|
2721
|
+
if (
|
|
2722
|
+
null != e &&
|
|
2723
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
2724
|
+
) {
|
|
2725
|
+
var a = 0;
|
|
2726
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
2727
|
+
t.indexOf(n[a]) < 0 &&
|
|
2728
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
2729
|
+
(r[n[a]] = e[n[a]]);
|
|
2730
|
+
}
|
|
2731
|
+
return r;
|
|
2732
|
+
})(e, ["className"]);
|
|
2733
|
+
return a().createElement(
|
|
2734
|
+
p.Z,
|
|
2735
|
+
Object.assign({}, n, {
|
|
2736
|
+
as: "div",
|
|
2737
|
+
ref: t,
|
|
2738
|
+
className: c()("navds-link-panel__description", r),
|
|
2739
|
+
})
|
|
2740
|
+
);
|
|
2741
|
+
});
|
|
2742
|
+
const f = (0, n.forwardRef)((e, t) => {
|
|
2743
|
+
var { children: r, as: n = "a", border: o = !0, className: i } = e,
|
|
2744
|
+
d = (function (e, t) {
|
|
2745
|
+
var r = {};
|
|
2746
|
+
for (var n in e)
|
|
2747
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
2748
|
+
t.indexOf(n) < 0 &&
|
|
2749
|
+
(r[n] = e[n]);
|
|
2750
|
+
if (
|
|
2751
|
+
null != e &&
|
|
2752
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
2753
|
+
) {
|
|
2754
|
+
var a = 0;
|
|
2755
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
2756
|
+
t.indexOf(n[a]) < 0 &&
|
|
2757
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
2758
|
+
(r[n[a]] = e[n[a]]);
|
|
2759
|
+
}
|
|
2760
|
+
return r;
|
|
2761
|
+
})(e, ["children", "as", "border", "className"]);
|
|
2762
|
+
return a().createElement(
|
|
2763
|
+
l.Z,
|
|
2764
|
+
Object.assign({}, d, {
|
|
2765
|
+
as: n,
|
|
2766
|
+
border: o,
|
|
2767
|
+
ref: t,
|
|
2768
|
+
className: c()("navds-link-panel", i),
|
|
2769
|
+
}),
|
|
2770
|
+
a().createElement(
|
|
2771
|
+
"div",
|
|
2772
|
+
{ className: "navds-link-panel__content" },
|
|
2773
|
+
r
|
|
2774
|
+
),
|
|
2775
|
+
a().createElement(s, {
|
|
2776
|
+
className: "navds-link-panel__chevron",
|
|
2777
|
+
"aria-label": "arrow-icon pointing right",
|
|
2778
|
+
})
|
|
2779
|
+
);
|
|
2780
|
+
});
|
|
2781
|
+
(f.Title = d), (f.Description = u);
|
|
2782
|
+
const m = f;
|
|
2783
|
+
},
|
|
2784
|
+
741: (e, t, r) => {
|
|
2785
|
+
r.r(t), r.d(t, { Link: () => s });
|
|
2786
|
+
var n = r(689),
|
|
2787
|
+
a = r.n(n),
|
|
2788
|
+
l = r(3),
|
|
2789
|
+
o = r.n(l);
|
|
2790
|
+
const s = (0, n.forwardRef)((e, t) => {
|
|
2791
|
+
var { as: r = "a", className: n } = e,
|
|
2792
|
+
l = (function (e, t) {
|
|
2793
|
+
var r = {};
|
|
2794
|
+
for (var n in e)
|
|
2795
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
2796
|
+
t.indexOf(n) < 0 &&
|
|
2797
|
+
(r[n] = e[n]);
|
|
2798
|
+
if (
|
|
2799
|
+
null != e &&
|
|
2800
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
2801
|
+
) {
|
|
2802
|
+
var a = 0;
|
|
2803
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
2804
|
+
t.indexOf(n[a]) < 0 &&
|
|
2805
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
2806
|
+
(r[n[a]] = e[n[a]]);
|
|
2807
|
+
}
|
|
2808
|
+
return r;
|
|
2809
|
+
})(e, ["as", "className"]);
|
|
2810
|
+
return a().createElement(
|
|
2811
|
+
r,
|
|
2812
|
+
Object.assign({}, l, { ref: t, className: o()("navds-link", n) })
|
|
2813
|
+
);
|
|
2814
|
+
});
|
|
2815
|
+
},
|
|
2816
|
+
704: (e, t, r) => {
|
|
2817
|
+
r.r(t), r.d(t, { Loader: () => i });
|
|
2818
|
+
var n = r(689),
|
|
2819
|
+
a = r.n(n),
|
|
2820
|
+
l = r(3),
|
|
2821
|
+
o = r.n(l),
|
|
2822
|
+
s = r(800);
|
|
2823
|
+
const i = (0, n.forwardRef)((e, t) => {
|
|
2824
|
+
var {
|
|
2825
|
+
children: r,
|
|
2826
|
+
className: n,
|
|
2827
|
+
size: l = "medium",
|
|
2828
|
+
title: i = "venter...",
|
|
2829
|
+
transparent: c = !1,
|
|
2830
|
+
variant: d = "neutral",
|
|
2831
|
+
id: p,
|
|
2832
|
+
} = e,
|
|
2833
|
+
u = (function (e, t) {
|
|
2834
|
+
var r = {};
|
|
2835
|
+
for (var n in e)
|
|
2836
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
2837
|
+
t.indexOf(n) < 0 &&
|
|
2838
|
+
(r[n] = e[n]);
|
|
2839
|
+
if (
|
|
2840
|
+
null != e &&
|
|
2841
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
2842
|
+
) {
|
|
2843
|
+
var a = 0;
|
|
2844
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
2845
|
+
t.indexOf(n[a]) < 0 &&
|
|
2846
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
2847
|
+
(r[n[a]] = e[n[a]]);
|
|
2848
|
+
}
|
|
2849
|
+
return r;
|
|
2850
|
+
})(e, [
|
|
2851
|
+
"children",
|
|
2852
|
+
"className",
|
|
2853
|
+
"size",
|
|
2854
|
+
"title",
|
|
2855
|
+
"transparent",
|
|
2856
|
+
"variant",
|
|
2857
|
+
"id",
|
|
2858
|
+
]);
|
|
2859
|
+
const f = (0, s.M)();
|
|
2860
|
+
return a().createElement(
|
|
2861
|
+
"svg",
|
|
2862
|
+
Object.assign(
|
|
2863
|
+
{
|
|
2864
|
+
"aria-labelledby": null != p ? p : `loader-${f}`,
|
|
2865
|
+
ref: t,
|
|
2866
|
+
className: o()(
|
|
2867
|
+
"navds-loader",
|
|
2868
|
+
n,
|
|
2869
|
+
`navds-loader--${l}`,
|
|
2870
|
+
`navds-loader--${d}`,
|
|
2871
|
+
{ "navds-loader--transparent": c }
|
|
2872
|
+
),
|
|
2873
|
+
focusable: "false",
|
|
2874
|
+
viewBox: "0 0 50 50",
|
|
2875
|
+
preserveAspectRatio: "xMidYMid",
|
|
2876
|
+
},
|
|
2877
|
+
u
|
|
2878
|
+
),
|
|
2879
|
+
a().createElement(
|
|
2880
|
+
"title",
|
|
2881
|
+
{ id: null != p ? p : `loader-${f}` },
|
|
2882
|
+
i
|
|
2883
|
+
),
|
|
2884
|
+
a().createElement("circle", {
|
|
2885
|
+
className: "navds-loader__background",
|
|
2886
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2887
|
+
cx: "25",
|
|
2888
|
+
cy: "25",
|
|
2889
|
+
r: "20",
|
|
2890
|
+
fill: "none",
|
|
2891
|
+
strokeWidth: "5",
|
|
2892
|
+
}),
|
|
2893
|
+
a().createElement("circle", {
|
|
2894
|
+
className: "navds-loader__foreground",
|
|
2895
|
+
cx: "25",
|
|
2896
|
+
cy: "25",
|
|
2897
|
+
r: "20",
|
|
2898
|
+
stroke: "var(--navds-global-color-gray-400)",
|
|
2899
|
+
fill: "none",
|
|
2900
|
+
strokeWidth: "5",
|
|
2901
|
+
strokeDasharray: "50 155",
|
|
2902
|
+
strokeLinecap: "round",
|
|
2903
|
+
})
|
|
2904
|
+
);
|
|
2905
|
+
});
|
|
2906
|
+
},
|
|
2907
|
+
126: (e, t, r) => {
|
|
2908
|
+
r.r(t), r.d(t, { Modal: () => b });
|
|
2909
|
+
var n = r(689),
|
|
2910
|
+
a = r.n(n),
|
|
2911
|
+
l = r(3),
|
|
2912
|
+
o = r.n(l);
|
|
2913
|
+
const s = require("react-modal");
|
|
2914
|
+
var i = r.n(s),
|
|
2915
|
+
c = r(824),
|
|
2916
|
+
d = r.n(c),
|
|
2917
|
+
p = r(828);
|
|
2918
|
+
const u = n.forwardRef(function (e, t) {
|
|
2919
|
+
var { title: r, titleId: a } = e,
|
|
2920
|
+
l = (function (e, t) {
|
|
2921
|
+
var r = {};
|
|
2922
|
+
for (var n in e)
|
|
2923
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
2924
|
+
t.indexOf(n) < 0 &&
|
|
2925
|
+
(r[n] = e[n]);
|
|
2926
|
+
if (
|
|
2927
|
+
null != e &&
|
|
2928
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
2929
|
+
) {
|
|
2930
|
+
var a = 0;
|
|
2931
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
2932
|
+
t.indexOf(n[a]) < 0 &&
|
|
2933
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
2934
|
+
(r[n[a]] = e[n[a]]);
|
|
2935
|
+
}
|
|
2936
|
+
return r;
|
|
2937
|
+
})(e, ["title", "titleId"]);
|
|
2938
|
+
const o = null != a ? a : r ? "icon-title-" + (0, p.v4)() : void 0;
|
|
2939
|
+
return n.createElement(
|
|
2940
|
+
"svg",
|
|
2941
|
+
Object.assign(
|
|
2942
|
+
{
|
|
2943
|
+
width: "1em",
|
|
2944
|
+
height: "1em",
|
|
2945
|
+
viewBox: "0 0 24 24",
|
|
2946
|
+
fill: "none",
|
|
2947
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2948
|
+
focusable: !1,
|
|
2949
|
+
role: "img",
|
|
2950
|
+
ref: t,
|
|
2951
|
+
"aria-labelledby": o,
|
|
2952
|
+
},
|
|
2953
|
+
l
|
|
2954
|
+
),
|
|
2955
|
+
r ? n.createElement("title", { id: o }, r) : null,
|
|
2956
|
+
n.createElement("path", {
|
|
2957
|
+
fillRule: "evenodd",
|
|
2958
|
+
clipRule: "evenodd",
|
|
2959
|
+
d:
|
|
2960
|
+
"M21 4.385L13.385 12 21 19.615 19.615 21 12 13.385 4.385 21 3 19.615 10.615 12 3 4.385 4.385 3 12 10.615 19.615 3 21 4.385z",
|
|
2961
|
+
fill: "currentColor",
|
|
2962
|
+
})
|
|
2963
|
+
);
|
|
2964
|
+
});
|
|
2965
|
+
var f = r(449);
|
|
2966
|
+
const m = (0, n.forwardRef)((e, t) => {
|
|
2967
|
+
var { className: r } = e,
|
|
2968
|
+
n = (function (e, t) {
|
|
2969
|
+
var r = {};
|
|
2970
|
+
for (var n in e)
|
|
2971
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
2972
|
+
t.indexOf(n) < 0 &&
|
|
2973
|
+
(r[n] = e[n]);
|
|
2974
|
+
if (
|
|
2975
|
+
null != e &&
|
|
2976
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
2977
|
+
) {
|
|
2978
|
+
var a = 0;
|
|
2979
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
2980
|
+
t.indexOf(n[a]) < 0 &&
|
|
2981
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
2982
|
+
(r[n[a]] = e[n[a]]);
|
|
2983
|
+
}
|
|
2984
|
+
return r;
|
|
2985
|
+
})(e, ["className"]);
|
|
2986
|
+
return a().createElement(
|
|
2987
|
+
"div",
|
|
2988
|
+
Object.assign({}, n, {
|
|
2989
|
+
ref: t,
|
|
2990
|
+
className: o()("navds-modal__content", r),
|
|
2991
|
+
})
|
|
2992
|
+
);
|
|
2993
|
+
});
|
|
2994
|
+
const v = (0, n.forwardRef)((e, t) => {
|
|
2995
|
+
var {
|
|
2996
|
+
children: r,
|
|
2997
|
+
open: l,
|
|
2998
|
+
onClose: s,
|
|
2999
|
+
className: c,
|
|
3000
|
+
shouldCloseOnOverlayClick: p = !0,
|
|
3001
|
+
} = e,
|
|
3002
|
+
m = (function (e, t) {
|
|
3003
|
+
var r = {};
|
|
3004
|
+
for (var n in e)
|
|
3005
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3006
|
+
t.indexOf(n) < 0 &&
|
|
3007
|
+
(r[n] = e[n]);
|
|
3008
|
+
if (
|
|
3009
|
+
null != e &&
|
|
3010
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3011
|
+
) {
|
|
3012
|
+
var a = 0;
|
|
3013
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3014
|
+
t.indexOf(n[a]) < 0 &&
|
|
3015
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3016
|
+
(r[n[a]] = e[n[a]]);
|
|
3017
|
+
}
|
|
3018
|
+
return r;
|
|
3019
|
+
})(e, [
|
|
3020
|
+
"children",
|
|
3021
|
+
"open",
|
|
3022
|
+
"onClose",
|
|
3023
|
+
"className",
|
|
3024
|
+
"shouldCloseOnOverlayClick",
|
|
3025
|
+
]);
|
|
3026
|
+
const v = (0, n.useRef)(null),
|
|
3027
|
+
b = d()([v, t]),
|
|
3028
|
+
y = (0, n.useRef)(null);
|
|
3029
|
+
return a().createElement(
|
|
3030
|
+
i(),
|
|
3031
|
+
Object.assign({}, m, {
|
|
3032
|
+
isOpen: l,
|
|
3033
|
+
ref: b,
|
|
3034
|
+
className: o()("navds-modal", c),
|
|
3035
|
+
overlayClassName: "navds-modal__overlay",
|
|
3036
|
+
shouldCloseOnOverlayClick: p,
|
|
3037
|
+
onRequestClose: (e) =>
|
|
3038
|
+
((e) => {
|
|
3039
|
+
p || "keydown" === e.type
|
|
3040
|
+
? s()
|
|
3041
|
+
: y.current && y.current.focus();
|
|
3042
|
+
})(e),
|
|
3043
|
+
}),
|
|
3044
|
+
r,
|
|
3045
|
+
a().createElement(
|
|
3046
|
+
f.Z,
|
|
3047
|
+
{
|
|
3048
|
+
className: o()("navds-modal__button", {
|
|
3049
|
+
"navds-modal__button--shake": p,
|
|
3050
|
+
}),
|
|
3051
|
+
size: "small",
|
|
3052
|
+
variant: "secondary",
|
|
3053
|
+
ref: y,
|
|
3054
|
+
"aria-label": "lukk modalvindu",
|
|
3055
|
+
onClick: s,
|
|
3056
|
+
},
|
|
3057
|
+
a().createElement(u, { title: "X-ikon for å lukke modal" })
|
|
3058
|
+
)
|
|
3059
|
+
);
|
|
3060
|
+
});
|
|
3061
|
+
(v.setAppElement = (e) => i().setAppElement(e)), (v.Content = m);
|
|
3062
|
+
const b = v;
|
|
3063
|
+
},
|
|
3064
|
+
252: (e, t, r) => {
|
|
3065
|
+
r.r(t), r.d(t, { PageHeader: () => c });
|
|
3066
|
+
var n = r(689),
|
|
3067
|
+
a = r.n(n),
|
|
3068
|
+
l = r(3),
|
|
3069
|
+
o = r.n(l),
|
|
3070
|
+
s = r(414),
|
|
3071
|
+
i = r(747);
|
|
3072
|
+
const c = (0, n.forwardRef)((e, t) => {
|
|
3073
|
+
var {
|
|
3074
|
+
children: r,
|
|
3075
|
+
className: n,
|
|
3076
|
+
illustration: l,
|
|
3077
|
+
description: c,
|
|
3078
|
+
variant: d = "guide",
|
|
3079
|
+
align: p = "left",
|
|
3080
|
+
} = e,
|
|
3081
|
+
u = (function (e, t) {
|
|
3082
|
+
var r = {};
|
|
3083
|
+
for (var n in e)
|
|
3084
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3085
|
+
t.indexOf(n) < 0 &&
|
|
3086
|
+
(r[n] = e[n]);
|
|
3087
|
+
if (
|
|
3088
|
+
null != e &&
|
|
3089
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3090
|
+
) {
|
|
3091
|
+
var a = 0;
|
|
3092
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3093
|
+
t.indexOf(n[a]) < 0 &&
|
|
3094
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3095
|
+
(r[n[a]] = e[n[a]]);
|
|
3096
|
+
}
|
|
3097
|
+
return r;
|
|
3098
|
+
})(e, [
|
|
3099
|
+
"children",
|
|
3100
|
+
"className",
|
|
3101
|
+
"illustration",
|
|
3102
|
+
"description",
|
|
3103
|
+
"variant",
|
|
3104
|
+
"align",
|
|
3105
|
+
]);
|
|
3106
|
+
return a().createElement(
|
|
3107
|
+
"div",
|
|
3108
|
+
Object.assign(
|
|
3109
|
+
{
|
|
3110
|
+
ref: t,
|
|
3111
|
+
className: o()(
|
|
3112
|
+
"navds-page-header",
|
|
3113
|
+
n,
|
|
3114
|
+
`navds-page-header--${d}`,
|
|
3115
|
+
`navds-page-header--${p}`
|
|
3116
|
+
),
|
|
3117
|
+
},
|
|
3118
|
+
u
|
|
3119
|
+
),
|
|
3120
|
+
l &&
|
|
3121
|
+
a().createElement(
|
|
3122
|
+
"div",
|
|
3123
|
+
{ className: "navds-page-header__illustration" },
|
|
3124
|
+
l
|
|
3125
|
+
),
|
|
3126
|
+
a().createElement(
|
|
3127
|
+
"div",
|
|
3128
|
+
{ className: "navds-page-header__wrapper" },
|
|
3129
|
+
a().createElement(
|
|
3130
|
+
s.Z,
|
|
3131
|
+
{
|
|
3132
|
+
className: "navds-page-header__title",
|
|
3133
|
+
size: "2xlarge",
|
|
3134
|
+
level: "1",
|
|
3135
|
+
},
|
|
3136
|
+
r
|
|
3137
|
+
),
|
|
3138
|
+
c &&
|
|
3139
|
+
a().createElement(
|
|
3140
|
+
i.Z,
|
|
3141
|
+
{ className: "navds-page-header__description" },
|
|
3142
|
+
c
|
|
3143
|
+
)
|
|
3144
|
+
)
|
|
3145
|
+
);
|
|
3146
|
+
});
|
|
3147
|
+
},
|
|
3148
|
+
249: (e, t, r) => {
|
|
3149
|
+
r.d(t, { Z: () => s });
|
|
3150
|
+
var n = r(689),
|
|
3151
|
+
a = r.n(n),
|
|
3152
|
+
l = r(3),
|
|
3153
|
+
o = r.n(l);
|
|
3154
|
+
const s = (0, n.forwardRef)((e, t) => {
|
|
3155
|
+
var { children: r, className: n, border: l = !1, as: s = "div" } = e,
|
|
3156
|
+
i = (function (e, t) {
|
|
3157
|
+
var r = {};
|
|
3158
|
+
for (var n in e)
|
|
3159
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3160
|
+
t.indexOf(n) < 0 &&
|
|
3161
|
+
(r[n] = e[n]);
|
|
3162
|
+
if (
|
|
3163
|
+
null != e &&
|
|
3164
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3165
|
+
) {
|
|
3166
|
+
var a = 0;
|
|
3167
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3168
|
+
t.indexOf(n[a]) < 0 &&
|
|
3169
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3170
|
+
(r[n[a]] = e[n[a]]);
|
|
3171
|
+
}
|
|
3172
|
+
return r;
|
|
3173
|
+
})(e, ["children", "className", "border", "as"]);
|
|
3174
|
+
return a().createElement(
|
|
3175
|
+
s,
|
|
3176
|
+
Object.assign(
|
|
3177
|
+
{
|
|
3178
|
+
ref: t,
|
|
3179
|
+
className: o()("navds-panel", n, { "navds-panel--border": l }),
|
|
3180
|
+
},
|
|
3181
|
+
i
|
|
3182
|
+
),
|
|
3183
|
+
r
|
|
3184
|
+
);
|
|
3185
|
+
});
|
|
3186
|
+
},
|
|
3187
|
+
698: (e, t, r) => {
|
|
3188
|
+
r.r(t), r.d(t, { Panel: () => n.Z });
|
|
3189
|
+
var n = r(249);
|
|
3190
|
+
},
|
|
3191
|
+
172: (e, t, r) => {
|
|
3192
|
+
r.d(t, { Z: () => m });
|
|
3193
|
+
var n = r(3),
|
|
3194
|
+
a = r.n(n),
|
|
3195
|
+
l = r(689),
|
|
3196
|
+
o = r.n(l),
|
|
3197
|
+
s = r(824),
|
|
3198
|
+
i = r.n(s);
|
|
3199
|
+
const c = require("react-popper");
|
|
3200
|
+
var d = r(800);
|
|
3201
|
+
const p = (0, l.forwardRef)((e, t) => {
|
|
3202
|
+
var { className: r } = e,
|
|
3203
|
+
n = (function (e, t) {
|
|
3204
|
+
var r = {};
|
|
3205
|
+
for (var n in e)
|
|
3206
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3207
|
+
t.indexOf(n) < 0 &&
|
|
3208
|
+
(r[n] = e[n]);
|
|
3209
|
+
if (
|
|
3210
|
+
null != e &&
|
|
3211
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3212
|
+
) {
|
|
3213
|
+
var a = 0;
|
|
3214
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3215
|
+
t.indexOf(n[a]) < 0 &&
|
|
3216
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3217
|
+
(r[n[a]] = e[n[a]]);
|
|
3218
|
+
}
|
|
3219
|
+
return r;
|
|
3220
|
+
})(e, ["className"]);
|
|
3221
|
+
return o().createElement(
|
|
3222
|
+
"div",
|
|
3223
|
+
Object.assign({}, n, {
|
|
3224
|
+
ref: t,
|
|
3225
|
+
className: a()("navds-popover__content", r),
|
|
3226
|
+
})
|
|
3227
|
+
);
|
|
3228
|
+
});
|
|
3229
|
+
const u = (e, t) =>
|
|
3230
|
+
(0, l.useEffect)(
|
|
3231
|
+
() => (
|
|
3232
|
+
document.addEventListener(e, t),
|
|
3233
|
+
() => {
|
|
3234
|
+
document.removeEventListener(e, t);
|
|
3235
|
+
}
|
|
3236
|
+
),
|
|
3237
|
+
[e, t]
|
|
3238
|
+
),
|
|
3239
|
+
f = (0, l.forwardRef)((e, t) => {
|
|
3240
|
+
var {
|
|
3241
|
+
className: r,
|
|
3242
|
+
children: n,
|
|
3243
|
+
anchorEl: s,
|
|
3244
|
+
arrow: p = !0,
|
|
3245
|
+
open: f,
|
|
3246
|
+
onClose: m,
|
|
3247
|
+
placement: v = "right",
|
|
3248
|
+
offset: b,
|
|
3249
|
+
} = e,
|
|
3250
|
+
y = (function (e, t) {
|
|
3251
|
+
var r = {};
|
|
3252
|
+
for (var n in e)
|
|
3253
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3254
|
+
t.indexOf(n) < 0 &&
|
|
3255
|
+
(r[n] = e[n]);
|
|
3256
|
+
if (
|
|
3257
|
+
null != e &&
|
|
3258
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3259
|
+
) {
|
|
3260
|
+
var a = 0;
|
|
3261
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3262
|
+
t.indexOf(n[a]) < 0 &&
|
|
3263
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3264
|
+
(r[n[a]] = e[n[a]]);
|
|
3265
|
+
}
|
|
3266
|
+
return r;
|
|
3267
|
+
})(e, [
|
|
3268
|
+
"className",
|
|
3269
|
+
"children",
|
|
3270
|
+
"anchorEl",
|
|
3271
|
+
"arrow",
|
|
3272
|
+
"open",
|
|
3273
|
+
"onClose",
|
|
3274
|
+
"placement",
|
|
3275
|
+
"offset",
|
|
3276
|
+
]);
|
|
3277
|
+
const O = (0, l.useRef)(null),
|
|
3278
|
+
g = i()([O, t]),
|
|
3279
|
+
h = (0, l.useCallback)(() => f && m(), [f, m]);
|
|
3280
|
+
u(
|
|
3281
|
+
"click",
|
|
3282
|
+
(0, l.useCallback)(
|
|
3283
|
+
(e) => {
|
|
3284
|
+
[s, O.current].some((t) =>
|
|
3285
|
+
null == t ? void 0 : t.contains(e.target)
|
|
3286
|
+
) || h();
|
|
3287
|
+
},
|
|
3288
|
+
[s, h]
|
|
3289
|
+
)
|
|
3290
|
+
),
|
|
3291
|
+
u(
|
|
3292
|
+
"keydown",
|
|
3293
|
+
(0, l.useCallback)((e) => "Escape" === e.key && h(), [h])
|
|
3294
|
+
),
|
|
3295
|
+
u(
|
|
3296
|
+
"focusin",
|
|
3297
|
+
(0, l.useCallback)(
|
|
3298
|
+
(e) => {
|
|
3299
|
+
[s, O.current].some((t) =>
|
|
3300
|
+
null == t ? void 0 : t.contains(e.target)
|
|
3301
|
+
) || h();
|
|
3302
|
+
},
|
|
3303
|
+
[s, h]
|
|
3304
|
+
)
|
|
3305
|
+
);
|
|
3306
|
+
const { styles: w, attributes: j, update: E } = (0, c.usePopper)(
|
|
3307
|
+
s,
|
|
3308
|
+
O.current,
|
|
3309
|
+
{
|
|
3310
|
+
placement: v,
|
|
3311
|
+
modifiers: [
|
|
3312
|
+
{
|
|
3313
|
+
name: "offset",
|
|
3314
|
+
options: { offset: [0, null != b ? b : p ? 16 : 4] },
|
|
3315
|
+
},
|
|
3316
|
+
{ name: "arrow", options: { padding: 8 } },
|
|
3317
|
+
],
|
|
3318
|
+
}
|
|
3319
|
+
);
|
|
3320
|
+
return (
|
|
3321
|
+
(0, d.T)(() => {
|
|
3322
|
+
f && E && E();
|
|
3323
|
+
}, [f, E]),
|
|
3324
|
+
o().createElement(
|
|
3325
|
+
"div",
|
|
3326
|
+
Object.assign(
|
|
3327
|
+
{
|
|
3328
|
+
ref: g,
|
|
3329
|
+
className: a()("navds-popover", r, {
|
|
3330
|
+
"navds-popover--hidden": !f || !s,
|
|
3331
|
+
}),
|
|
3332
|
+
"aria-hidden": !f || !s,
|
|
3333
|
+
tabIndex: -1,
|
|
3334
|
+
},
|
|
3335
|
+
j.popper,
|
|
3336
|
+
y,
|
|
3337
|
+
{ style: w.popper }
|
|
3338
|
+
),
|
|
3339
|
+
n,
|
|
3340
|
+
p &&
|
|
3341
|
+
o().createElement("div", {
|
|
3342
|
+
"data-popper-arrow": !0,
|
|
3343
|
+
style: w.arrow,
|
|
3344
|
+
className: "navds-popover__arrow",
|
|
3345
|
+
})
|
|
3346
|
+
)
|
|
3347
|
+
);
|
|
3348
|
+
});
|
|
3349
|
+
f.Content = p;
|
|
3350
|
+
const m = f;
|
|
3351
|
+
},
|
|
3352
|
+
207: (e, t, r) => {
|
|
3353
|
+
r.r(t), r.d(t, { Popover: () => n.Z });
|
|
3354
|
+
var n = r(172);
|
|
3355
|
+
},
|
|
3356
|
+
610: (e, t, r) => {
|
|
3357
|
+
r.r(t), r.d(t, { SpeechBubble: () => c });
|
|
3358
|
+
var n = r(689),
|
|
3359
|
+
a = r.n(n),
|
|
3360
|
+
l = r(3),
|
|
3361
|
+
o = r.n(l);
|
|
3362
|
+
const s = (0, n.forwardRef)((e, t) => {
|
|
3363
|
+
var { children: r, className: n, topText: l, backgroundColor: s } = e,
|
|
3364
|
+
i = (function (e, t) {
|
|
3365
|
+
var r = {};
|
|
3366
|
+
for (var n in e)
|
|
3367
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3368
|
+
t.indexOf(n) < 0 &&
|
|
3369
|
+
(r[n] = e[n]);
|
|
3370
|
+
if (
|
|
3371
|
+
null != e &&
|
|
3372
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3373
|
+
) {
|
|
3374
|
+
var a = 0;
|
|
3375
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3376
|
+
t.indexOf(n[a]) < 0 &&
|
|
3377
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3378
|
+
(r[n[a]] = e[n[a]]);
|
|
3379
|
+
}
|
|
3380
|
+
return r;
|
|
3381
|
+
})(e, ["children", "className", "topText", "backgroundColor"]);
|
|
3382
|
+
return a().createElement(
|
|
3383
|
+
"div",
|
|
3384
|
+
Object.assign(
|
|
3385
|
+
{
|
|
3386
|
+
ref: t,
|
|
3387
|
+
className: o()(
|
|
3388
|
+
"navds-speechbubble__bubble",
|
|
3389
|
+
n,
|
|
3390
|
+
"navds-body-long"
|
|
3391
|
+
),
|
|
3392
|
+
style: { backgroundColor: s },
|
|
3393
|
+
tabIndex: 0,
|
|
3394
|
+
},
|
|
3395
|
+
i
|
|
3396
|
+
),
|
|
3397
|
+
l &&
|
|
3398
|
+
a().createElement(
|
|
3399
|
+
"span",
|
|
3400
|
+
{ className: "navds-speechbubble__top-text navds-detail" },
|
|
3401
|
+
l
|
|
3402
|
+
),
|
|
3403
|
+
r
|
|
3404
|
+
);
|
|
3405
|
+
});
|
|
3406
|
+
const i = (0, n.forwardRef)((e, t) => {
|
|
3407
|
+
var {
|
|
3408
|
+
children: r,
|
|
3409
|
+
className: n,
|
|
3410
|
+
topText: l,
|
|
3411
|
+
illustration: s,
|
|
3412
|
+
position: i = "left",
|
|
3413
|
+
illustrationBgColor: c,
|
|
3414
|
+
backgroundColor: d,
|
|
3415
|
+
} = e,
|
|
3416
|
+
p = (function (e, t) {
|
|
3417
|
+
var r = {};
|
|
3418
|
+
for (var n in e)
|
|
3419
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3420
|
+
t.indexOf(n) < 0 &&
|
|
3421
|
+
(r[n] = e[n]);
|
|
3422
|
+
if (
|
|
3423
|
+
null != e &&
|
|
3424
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3425
|
+
) {
|
|
3426
|
+
var a = 0;
|
|
3427
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3428
|
+
t.indexOf(n[a]) < 0 &&
|
|
3429
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3430
|
+
(r[n[a]] = e[n[a]]);
|
|
3431
|
+
}
|
|
3432
|
+
return r;
|
|
3433
|
+
})(e, [
|
|
3434
|
+
"children",
|
|
3435
|
+
"className",
|
|
3436
|
+
"topText",
|
|
3437
|
+
"illustration",
|
|
3438
|
+
"position",
|
|
3439
|
+
"illustrationBgColor",
|
|
3440
|
+
"backgroundColor",
|
|
3441
|
+
]);
|
|
3442
|
+
return a().createElement(
|
|
3443
|
+
"div",
|
|
3444
|
+
Object.assign(
|
|
3445
|
+
{
|
|
3446
|
+
ref: t,
|
|
3447
|
+
className: o()(
|
|
3448
|
+
"navds-speechbubble",
|
|
3449
|
+
n,
|
|
3450
|
+
`navds-speechbubble--${i}`,
|
|
3451
|
+
"navds-body-long"
|
|
3452
|
+
),
|
|
3453
|
+
},
|
|
3454
|
+
p
|
|
3455
|
+
),
|
|
3456
|
+
a().createElement(
|
|
3457
|
+
"div",
|
|
3458
|
+
{
|
|
3459
|
+
className: "navds-speechbubble__illustration",
|
|
3460
|
+
style: { backgroundColor: c },
|
|
3461
|
+
},
|
|
3462
|
+
s
|
|
3463
|
+
),
|
|
3464
|
+
a().createElement(
|
|
3465
|
+
"ol",
|
|
3466
|
+
{ className: "navds-speechbubble__bubble-list" },
|
|
3467
|
+
a().Children.map(r, (e, t) => {
|
|
3468
|
+
if (a().isValidElement(e))
|
|
3469
|
+
return a().createElement(
|
|
3470
|
+
"li",
|
|
3471
|
+
null,
|
|
3472
|
+
a().cloneElement(
|
|
3473
|
+
e,
|
|
3474
|
+
Object.assign(
|
|
3475
|
+
{
|
|
3476
|
+
topText: l && 0 === t ? l : void 0,
|
|
3477
|
+
backgroundColor: d,
|
|
3478
|
+
},
|
|
3479
|
+
e.props
|
|
3480
|
+
)
|
|
3481
|
+
)
|
|
3482
|
+
);
|
|
3483
|
+
})
|
|
3484
|
+
)
|
|
3485
|
+
);
|
|
3486
|
+
});
|
|
3487
|
+
i.Bubble = s;
|
|
3488
|
+
const c = i;
|
|
3489
|
+
},
|
|
3490
|
+
31: (e, t, r) => {
|
|
3491
|
+
r.r(t), r.d(t, { Table: () => f });
|
|
3492
|
+
var n = r(689),
|
|
3493
|
+
a = r.n(n),
|
|
3494
|
+
l = r(3),
|
|
3495
|
+
o = r.n(l);
|
|
3496
|
+
const s = (0, n.forwardRef)((e, t) => {
|
|
3497
|
+
var { className: r } = e,
|
|
3498
|
+
n = (function (e, t) {
|
|
3499
|
+
var r = {};
|
|
3500
|
+
for (var n in e)
|
|
3501
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3502
|
+
t.indexOf(n) < 0 &&
|
|
3503
|
+
(r[n] = e[n]);
|
|
3504
|
+
if (
|
|
3505
|
+
null != e &&
|
|
3506
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3507
|
+
) {
|
|
3508
|
+
var a = 0;
|
|
3509
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3510
|
+
t.indexOf(n[a]) < 0 &&
|
|
3511
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3512
|
+
(r[n[a]] = e[n[a]]);
|
|
3513
|
+
}
|
|
3514
|
+
return r;
|
|
3515
|
+
})(e, ["className"]);
|
|
3516
|
+
return a().createElement(
|
|
3517
|
+
"thead",
|
|
3518
|
+
Object.assign({}, n, {
|
|
3519
|
+
ref: t,
|
|
3520
|
+
className: o()("navds-table__header", r),
|
|
3521
|
+
})
|
|
3522
|
+
);
|
|
3523
|
+
});
|
|
3524
|
+
const i = (0, n.forwardRef)((e, t) => {
|
|
3525
|
+
var { className: r } = e,
|
|
3526
|
+
n = (function (e, t) {
|
|
3527
|
+
var r = {};
|
|
3528
|
+
for (var n in e)
|
|
3529
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3530
|
+
t.indexOf(n) < 0 &&
|
|
3531
|
+
(r[n] = e[n]);
|
|
3532
|
+
if (
|
|
3533
|
+
null != e &&
|
|
3534
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3535
|
+
) {
|
|
3536
|
+
var a = 0;
|
|
3537
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3538
|
+
t.indexOf(n[a]) < 0 &&
|
|
3539
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3540
|
+
(r[n[a]] = e[n[a]]);
|
|
3541
|
+
}
|
|
3542
|
+
return r;
|
|
3543
|
+
})(e, ["className"]);
|
|
3544
|
+
return a().createElement(
|
|
3545
|
+
"tbody",
|
|
3546
|
+
Object.assign({}, n, {
|
|
3547
|
+
ref: t,
|
|
3548
|
+
className: o()("navds-table__body", r),
|
|
3549
|
+
})
|
|
3550
|
+
);
|
|
3551
|
+
});
|
|
3552
|
+
const c = (0, n.forwardRef)((e, t) => {
|
|
3553
|
+
var { className: r } = e,
|
|
3554
|
+
n = (function (e, t) {
|
|
3555
|
+
var r = {};
|
|
3556
|
+
for (var n in e)
|
|
3557
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3558
|
+
t.indexOf(n) < 0 &&
|
|
3559
|
+
(r[n] = e[n]);
|
|
3560
|
+
if (
|
|
3561
|
+
null != e &&
|
|
3562
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3563
|
+
) {
|
|
3564
|
+
var a = 0;
|
|
3565
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3566
|
+
t.indexOf(n[a]) < 0 &&
|
|
3567
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3568
|
+
(r[n[a]] = e[n[a]]);
|
|
3569
|
+
}
|
|
3570
|
+
return r;
|
|
3571
|
+
})(e, ["className"]);
|
|
3572
|
+
return a().createElement(
|
|
3573
|
+
"tr",
|
|
3574
|
+
Object.assign({}, n, {
|
|
3575
|
+
ref: t,
|
|
3576
|
+
className: o()("navds-table__row", r),
|
|
3577
|
+
})
|
|
3578
|
+
);
|
|
3579
|
+
});
|
|
3580
|
+
const d = (0, n.forwardRef)((e, t) => {
|
|
3581
|
+
var { className: r } = e,
|
|
3582
|
+
n = (function (e, t) {
|
|
3583
|
+
var r = {};
|
|
3584
|
+
for (var n in e)
|
|
3585
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3586
|
+
t.indexOf(n) < 0 &&
|
|
3587
|
+
(r[n] = e[n]);
|
|
3588
|
+
if (
|
|
3589
|
+
null != e &&
|
|
3590
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3591
|
+
) {
|
|
3592
|
+
var a = 0;
|
|
3593
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3594
|
+
t.indexOf(n[a]) < 0 &&
|
|
3595
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3596
|
+
(r[n[a]] = e[n[a]]);
|
|
3597
|
+
}
|
|
3598
|
+
return r;
|
|
3599
|
+
})(e, ["className"]);
|
|
3600
|
+
return a().createElement(
|
|
3601
|
+
"th",
|
|
3602
|
+
Object.assign({}, n, {
|
|
3603
|
+
ref: t,
|
|
3604
|
+
className: o()("navds-table__cell", r),
|
|
3605
|
+
})
|
|
3606
|
+
);
|
|
3607
|
+
});
|
|
3608
|
+
const p = (0, n.forwardRef)((e, t) => {
|
|
3609
|
+
var { className: r } = e,
|
|
3610
|
+
n = (function (e, t) {
|
|
3611
|
+
var r = {};
|
|
3612
|
+
for (var n in e)
|
|
3613
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3614
|
+
t.indexOf(n) < 0 &&
|
|
3615
|
+
(r[n] = e[n]);
|
|
3616
|
+
if (
|
|
3617
|
+
null != e &&
|
|
3618
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3619
|
+
) {
|
|
3620
|
+
var a = 0;
|
|
3621
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3622
|
+
t.indexOf(n[a]) < 0 &&
|
|
3623
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3624
|
+
(r[n[a]] = e[n[a]]);
|
|
3625
|
+
}
|
|
3626
|
+
return r;
|
|
3627
|
+
})(e, ["className"]);
|
|
3628
|
+
return a().createElement(
|
|
3629
|
+
"td",
|
|
3630
|
+
Object.assign({}, n, {
|
|
3631
|
+
ref: t,
|
|
3632
|
+
className: o()("navds-table__cell", r),
|
|
3633
|
+
})
|
|
3634
|
+
);
|
|
3635
|
+
});
|
|
3636
|
+
const u = (0, n.forwardRef)((e, t) => {
|
|
3637
|
+
var { className: r, size: n = "medium" } = e,
|
|
3638
|
+
l = (function (e, t) {
|
|
3639
|
+
var r = {};
|
|
3640
|
+
for (var n in e)
|
|
3641
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3642
|
+
t.indexOf(n) < 0 &&
|
|
3643
|
+
(r[n] = e[n]);
|
|
3644
|
+
if (
|
|
3645
|
+
null != e &&
|
|
3646
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3647
|
+
) {
|
|
3648
|
+
var a = 0;
|
|
3649
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3650
|
+
t.indexOf(n[a]) < 0 &&
|
|
3651
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3652
|
+
(r[n[a]] = e[n[a]]);
|
|
3653
|
+
}
|
|
3654
|
+
return r;
|
|
3655
|
+
})(e, ["className", "size"]);
|
|
3656
|
+
return a().createElement(
|
|
3657
|
+
"table",
|
|
3658
|
+
Object.assign({}, l, {
|
|
3659
|
+
ref: t,
|
|
3660
|
+
className: o()("navds-table", `navds-table--${n}`, r),
|
|
3661
|
+
})
|
|
3662
|
+
);
|
|
3663
|
+
});
|
|
3664
|
+
(u.Header = s),
|
|
3665
|
+
(u.Body = i),
|
|
3666
|
+
(u.Row = c),
|
|
3667
|
+
(u.HeaderCell = d),
|
|
3668
|
+
(u.DataCell = p);
|
|
3669
|
+
const f = u;
|
|
3670
|
+
},
|
|
3671
|
+
612: (e, t, r) => {
|
|
3672
|
+
r.r(t), r.d(t, { Tag: () => c });
|
|
3673
|
+
var n = r(689),
|
|
3674
|
+
a = r.n(n),
|
|
3675
|
+
l = r(3),
|
|
3676
|
+
o = r.n(l),
|
|
3677
|
+
s = r(747),
|
|
3678
|
+
i = r(526);
|
|
3679
|
+
const c = (0, n.forwardRef)((e, t) => {
|
|
3680
|
+
var { className: r, variant: n, size: l = "medium" } = e,
|
|
3681
|
+
c = (function (e, t) {
|
|
3682
|
+
var r = {};
|
|
3683
|
+
for (var n in e)
|
|
3684
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3685
|
+
t.indexOf(n) < 0 &&
|
|
3686
|
+
(r[n] = e[n]);
|
|
3687
|
+
if (
|
|
3688
|
+
null != e &&
|
|
3689
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3690
|
+
) {
|
|
3691
|
+
var a = 0;
|
|
3692
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3693
|
+
t.indexOf(n[a]) < 0 &&
|
|
3694
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3695
|
+
(r[n[a]] = e[n[a]]);
|
|
3696
|
+
}
|
|
3697
|
+
return r;
|
|
3698
|
+
})(e, ["className", "variant", "size"]);
|
|
3699
|
+
const d = "medium" === l ? s.Z : i.Z;
|
|
3700
|
+
return a().createElement(
|
|
3701
|
+
d,
|
|
3702
|
+
Object.assign({}, c, {
|
|
3703
|
+
ref: t,
|
|
3704
|
+
as: "span",
|
|
3705
|
+
size: l,
|
|
3706
|
+
className: o()(
|
|
3707
|
+
"navds-tag",
|
|
3708
|
+
r,
|
|
3709
|
+
`navds-tag--${n}`,
|
|
3710
|
+
`navds-tag--${l}`
|
|
3711
|
+
),
|
|
3712
|
+
})
|
|
3713
|
+
);
|
|
3714
|
+
});
|
|
3715
|
+
},
|
|
3716
|
+
633: (e, t, r) => {
|
|
3717
|
+
r.d(t, { Z: () => s });
|
|
3718
|
+
var n = r(689),
|
|
3719
|
+
a = r.n(n),
|
|
3720
|
+
l = r(3),
|
|
3721
|
+
o = r.n(l);
|
|
3722
|
+
const s = (0, n.forwardRef)((e, t) => {
|
|
3723
|
+
var { className: r, size: n = "medium", spacing: l, as: s = "p" } = e,
|
|
3724
|
+
i = (function (e, t) {
|
|
3725
|
+
var r = {};
|
|
3726
|
+
for (var n in e)
|
|
3727
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3728
|
+
t.indexOf(n) < 0 &&
|
|
3729
|
+
(r[n] = e[n]);
|
|
3730
|
+
if (
|
|
3731
|
+
null != e &&
|
|
3732
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3733
|
+
) {
|
|
3734
|
+
var a = 0;
|
|
3735
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3736
|
+
t.indexOf(n[a]) < 0 &&
|
|
3737
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3738
|
+
(r[n[a]] = e[n[a]]);
|
|
3739
|
+
}
|
|
3740
|
+
return r;
|
|
3741
|
+
})(e, ["className", "size", "spacing", "as"]);
|
|
3742
|
+
return a().createElement(
|
|
3743
|
+
s,
|
|
3744
|
+
Object.assign({}, i, {
|
|
3745
|
+
ref: t,
|
|
3746
|
+
className: o()(r, "navds-body-long", {
|
|
3747
|
+
"navds-body-long--small": "small" === n,
|
|
3748
|
+
"navds-typo--spacing": !!l,
|
|
3749
|
+
}),
|
|
3750
|
+
})
|
|
3751
|
+
);
|
|
3752
|
+
});
|
|
3753
|
+
},
|
|
3754
|
+
747: (e, t, r) => {
|
|
3755
|
+
r.d(t, { Z: () => s });
|
|
3756
|
+
var n = r(689),
|
|
3757
|
+
a = r.n(n),
|
|
3758
|
+
l = r(3),
|
|
3759
|
+
o = r.n(l);
|
|
3760
|
+
const s = (0, n.forwardRef)((e, t) => {
|
|
3761
|
+
var { className: r, size: n = "medium", spacing: l, as: s = "p" } = e,
|
|
3762
|
+
i = (function (e, t) {
|
|
3763
|
+
var r = {};
|
|
3764
|
+
for (var n in e)
|
|
3765
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3766
|
+
t.indexOf(n) < 0 &&
|
|
3767
|
+
(r[n] = e[n]);
|
|
3768
|
+
if (
|
|
3769
|
+
null != e &&
|
|
3770
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3771
|
+
) {
|
|
3772
|
+
var a = 0;
|
|
3773
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3774
|
+
t.indexOf(n[a]) < 0 &&
|
|
3775
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3776
|
+
(r[n[a]] = e[n[a]]);
|
|
3777
|
+
}
|
|
3778
|
+
return r;
|
|
3779
|
+
})(e, ["className", "size", "spacing", "as"]);
|
|
3780
|
+
return a().createElement(
|
|
3781
|
+
s,
|
|
3782
|
+
Object.assign({}, i, {
|
|
3783
|
+
ref: t,
|
|
3784
|
+
className: o()(r, "navds-body-short", {
|
|
3785
|
+
"navds-body-short--small": "small" === n,
|
|
3786
|
+
"navds-typo--spacing": !!l,
|
|
3787
|
+
}),
|
|
3788
|
+
})
|
|
3789
|
+
);
|
|
3790
|
+
});
|
|
3791
|
+
},
|
|
3792
|
+
526: (e, t, r) => {
|
|
3793
|
+
r.d(t, { Z: () => s });
|
|
3794
|
+
var n = r(689),
|
|
3795
|
+
a = r.n(n),
|
|
3796
|
+
l = r(3),
|
|
3797
|
+
o = r.n(l);
|
|
3798
|
+
const s = (0, n.forwardRef)((e, t) => {
|
|
3799
|
+
var { className: r, size: n = "medium", spacing: l, as: s = "p" } = e,
|
|
3800
|
+
i = (function (e, t) {
|
|
3801
|
+
var r = {};
|
|
3802
|
+
for (var n in e)
|
|
3803
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3804
|
+
t.indexOf(n) < 0 &&
|
|
3805
|
+
(r[n] = e[n]);
|
|
3806
|
+
if (
|
|
3807
|
+
null != e &&
|
|
3808
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3809
|
+
) {
|
|
3810
|
+
var a = 0;
|
|
3811
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3812
|
+
t.indexOf(n[a]) < 0 &&
|
|
3813
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3814
|
+
(r[n[a]] = e[n[a]]);
|
|
3815
|
+
}
|
|
3816
|
+
return r;
|
|
3817
|
+
})(e, ["className", "size", "spacing", "as"]);
|
|
3818
|
+
return a().createElement(
|
|
3819
|
+
s,
|
|
3820
|
+
Object.assign({}, i, {
|
|
3821
|
+
ref: t,
|
|
3822
|
+
className: o()(r, "navds-detail", {
|
|
3823
|
+
"navds-detail--small": "small" === n,
|
|
3824
|
+
"navds-typo--spacing": !!l,
|
|
3825
|
+
}),
|
|
3826
|
+
})
|
|
3827
|
+
);
|
|
3828
|
+
});
|
|
3829
|
+
},
|
|
3830
|
+
414: (e, t, r) => {
|
|
3831
|
+
r.d(t, { Z: () => s });
|
|
3832
|
+
var n = r(689),
|
|
3833
|
+
a = r.n(n),
|
|
3834
|
+
l = r(3),
|
|
3835
|
+
o = r.n(l);
|
|
3836
|
+
const s = (0, n.forwardRef)((e, t) => {
|
|
3837
|
+
var {
|
|
3838
|
+
level: r = "1",
|
|
3839
|
+
size: n,
|
|
3840
|
+
spacing: l = !1,
|
|
3841
|
+
className: s,
|
|
3842
|
+
as: i,
|
|
3843
|
+
} = e,
|
|
3844
|
+
c = (function (e, t) {
|
|
3845
|
+
var r = {};
|
|
3846
|
+
for (var n in e)
|
|
3847
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3848
|
+
t.indexOf(n) < 0 &&
|
|
3849
|
+
(r[n] = e[n]);
|
|
3850
|
+
if (
|
|
3851
|
+
null != e &&
|
|
3852
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3853
|
+
) {
|
|
3854
|
+
var a = 0;
|
|
3855
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3856
|
+
t.indexOf(n[a]) < 0 &&
|
|
3857
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3858
|
+
(r[n[a]] = e[n[a]]);
|
|
3859
|
+
}
|
|
3860
|
+
return r;
|
|
3861
|
+
})(e, ["level", "size", "spacing", "className", "as"]);
|
|
3862
|
+
let d = null != i ? i : `h${r}`;
|
|
3863
|
+
return a().createElement(
|
|
3864
|
+
d,
|
|
3865
|
+
Object.assign({}, c, {
|
|
3866
|
+
ref: t,
|
|
3867
|
+
className: o()(s, "navds-heading", `navds-heading--${n}`, {
|
|
3868
|
+
"navds-typo--spacing": l,
|
|
3869
|
+
}),
|
|
3870
|
+
})
|
|
3871
|
+
);
|
|
3872
|
+
});
|
|
3873
|
+
},
|
|
3874
|
+
181: (e, t, r) => {
|
|
3875
|
+
r.d(t, { Z: () => s });
|
|
3876
|
+
var n = r(689),
|
|
3877
|
+
a = r.n(n),
|
|
3878
|
+
l = r(3),
|
|
3879
|
+
o = r.n(l);
|
|
3880
|
+
const s = (0, n.forwardRef)((e, t) => {
|
|
3881
|
+
var { className: r, size: n = "medium", spacing: l, as: s = "p" } = e,
|
|
3882
|
+
i = (function (e, t) {
|
|
3883
|
+
var r = {};
|
|
3884
|
+
for (var n in e)
|
|
3885
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3886
|
+
t.indexOf(n) < 0 &&
|
|
3887
|
+
(r[n] = e[n]);
|
|
3888
|
+
if (
|
|
3889
|
+
null != e &&
|
|
3890
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3891
|
+
) {
|
|
3892
|
+
var a = 0;
|
|
3893
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3894
|
+
t.indexOf(n[a]) < 0 &&
|
|
3895
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3896
|
+
(r[n[a]] = e[n[a]]);
|
|
3897
|
+
}
|
|
3898
|
+
return r;
|
|
3899
|
+
})(e, ["className", "size", "spacing", "as"]);
|
|
3900
|
+
return a().createElement(
|
|
3901
|
+
s,
|
|
3902
|
+
Object.assign({}, i, {
|
|
3903
|
+
ref: t,
|
|
3904
|
+
className: o()(r, "navds-label", {
|
|
3905
|
+
"navds-label--small": "small" === n,
|
|
3906
|
+
"navds-typo--spacing": !!l,
|
|
3907
|
+
}),
|
|
3908
|
+
})
|
|
3909
|
+
);
|
|
3910
|
+
});
|
|
3911
|
+
},
|
|
3912
|
+
264: (e, t, r) => {
|
|
3913
|
+
r.r(t),
|
|
3914
|
+
r.d(t, {
|
|
3915
|
+
BodyLong: () => c.Z,
|
|
3916
|
+
BodyShort: () => d.Z,
|
|
3917
|
+
Detail: () => p.Z,
|
|
3918
|
+
Heading: () => n.Z,
|
|
3919
|
+
Ingress: () => i,
|
|
3920
|
+
Label: () => u.Z,
|
|
3921
|
+
});
|
|
3922
|
+
var n = r(414),
|
|
3923
|
+
a = r(689),
|
|
3924
|
+
l = r.n(a),
|
|
3925
|
+
o = r(3),
|
|
3926
|
+
s = r.n(o);
|
|
3927
|
+
const i = (0, a.forwardRef)((e, t) => {
|
|
3928
|
+
var { className: r, spacing: n, as: a = "p" } = e,
|
|
3929
|
+
o = (function (e, t) {
|
|
3930
|
+
var r = {};
|
|
3931
|
+
for (var n in e)
|
|
3932
|
+
Object.prototype.hasOwnProperty.call(e, n) &&
|
|
3933
|
+
t.indexOf(n) < 0 &&
|
|
3934
|
+
(r[n] = e[n]);
|
|
3935
|
+
if (
|
|
3936
|
+
null != e &&
|
|
3937
|
+
"function" == typeof Object.getOwnPropertySymbols
|
|
3938
|
+
) {
|
|
3939
|
+
var a = 0;
|
|
3940
|
+
for (n = Object.getOwnPropertySymbols(e); a < n.length; a++)
|
|
3941
|
+
t.indexOf(n[a]) < 0 &&
|
|
3942
|
+
Object.prototype.propertyIsEnumerable.call(e, n[a]) &&
|
|
3943
|
+
(r[n[a]] = e[n[a]]);
|
|
3944
|
+
}
|
|
3945
|
+
return r;
|
|
3946
|
+
})(e, ["className", "spacing", "as"]);
|
|
3947
|
+
return l().createElement(
|
|
3948
|
+
a,
|
|
3949
|
+
Object.assign({}, o, {
|
|
3950
|
+
ref: t,
|
|
3951
|
+
className: s()(r, "navds-ingress", {
|
|
3952
|
+
"navds-typo--spacing": !!n,
|
|
3953
|
+
}),
|
|
3954
|
+
})
|
|
3955
|
+
);
|
|
3956
|
+
});
|
|
3957
|
+
var c = r(633),
|
|
3958
|
+
d = r(747),
|
|
3959
|
+
p = r(526),
|
|
3960
|
+
u = r(181);
|
|
3961
|
+
},
|
|
3962
|
+
992: (e, t, r) => {
|
|
3963
|
+
r.r(t),
|
|
3964
|
+
r.d(t, {
|
|
3965
|
+
useClientLayoutEffect: () => n.T,
|
|
3966
|
+
useId: () => n.M,
|
|
3967
|
+
omit: () => a,
|
|
3968
|
+
});
|
|
3969
|
+
var n = r(800);
|
|
3970
|
+
const a = (e, t) =>
|
|
3971
|
+
Object.entries(e)
|
|
3972
|
+
.filter(([e]) => !t.includes(e))
|
|
3973
|
+
.reduce(
|
|
3974
|
+
(e, [t, r]) => Object.assign(Object.assign({}, e), { [t]: r }),
|
|
3975
|
+
{}
|
|
3976
|
+
);
|
|
3977
|
+
},
|
|
3978
|
+
800: (e, t, r) => {
|
|
3979
|
+
r.d(t, { T: () => l, M: () => o });
|
|
3980
|
+
var n = r(689),
|
|
3981
|
+
a = r(828);
|
|
3982
|
+
const l =
|
|
3983
|
+
"undefined" != typeof window &&
|
|
3984
|
+
void 0 !== window.document &&
|
|
3985
|
+
void 0 !== window.document.createElement
|
|
3986
|
+
? n.useLayoutEffect
|
|
3987
|
+
: () => {},
|
|
3988
|
+
o = (e) => {
|
|
3989
|
+
var t;
|
|
3990
|
+
const [r, o] = (0, n.useState)(void 0);
|
|
3991
|
+
return (
|
|
3992
|
+
l(() => {
|
|
3993
|
+
o((0, a.v4)());
|
|
3994
|
+
}, []),
|
|
3995
|
+
null !== (t = null != e ? e : r) && void 0 !== t ? t : ""
|
|
3996
|
+
);
|
|
3997
|
+
};
|
|
3998
|
+
},
|
|
3999
|
+
3: (e) => {
|
|
4000
|
+
e.exports = require("classnames");
|
|
4001
|
+
},
|
|
4002
|
+
689: (e) => {
|
|
4003
|
+
e.exports = require("react");
|
|
4004
|
+
},
|
|
4005
|
+
824: (e) => {
|
|
4006
|
+
e.exports = require("react-merge-refs");
|
|
4007
|
+
},
|
|
4008
|
+
828: (e) => {
|
|
4009
|
+
e.exports = require("uuid");
|
|
4010
|
+
},
|
|
4011
|
+
},
|
|
4012
|
+
t = {};
|
|
4013
|
+
function r(n) {
|
|
4014
|
+
var a = t[n];
|
|
4015
|
+
if (void 0 !== a) return a.exports;
|
|
4016
|
+
var l = (t[n] = { exports: {} });
|
|
4017
|
+
return e[n].call(l.exports, l, l.exports, r), l.exports;
|
|
4018
|
+
}
|
|
4019
|
+
(r.n = (e) => {
|
|
4020
|
+
var t = e && e.__esModule ? () => e.default : () => e;
|
|
4021
|
+
return r.d(t, { a: t }), t;
|
|
4022
|
+
}),
|
|
4023
|
+
(r.d = (e, t) => {
|
|
4024
|
+
for (var n in t)
|
|
4025
|
+
r.o(t, n) &&
|
|
4026
|
+
!r.o(e, n) &&
|
|
4027
|
+
Object.defineProperty(e, n, { enumerable: !0, get: t[n] });
|
|
4028
|
+
}),
|
|
4029
|
+
(r.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t)),
|
|
4030
|
+
(r.r = (e) => {
|
|
4031
|
+
"undefined" != typeof Symbol &&
|
|
4032
|
+
Symbol.toStringTag &&
|
|
4033
|
+
Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }),
|
|
4034
|
+
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
4035
|
+
});
|
|
4036
|
+
var n = r(348);
|
|
4037
|
+
for (var a in n) this[a] = n[a];
|
|
4038
|
+
n.__esModule && Object.defineProperty(this, "__esModule", { value: !0 });
|
|
4039
|
+
})();
|