@cfpb/design-system-react 0.0.15 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +433 -397
- package/dist/src/components/Buttons/button.d.ts +7 -3
- package/dist/src/components/Checkbox/checkbox.d.ts +6 -4
- package/dist/src/components/Fieldset/fieldset.d.ts +20 -0
- package/dist/src/components/Fieldset/fieldset.stories.d.ts +13 -0
- package/dist/src/components/Header/header.d.ts +11 -0
- package/dist/src/components/{PageHeader/page-header.stories.d.ts → Header/header.stories.d.ts} +2 -2
- package/dist/src/components/Header/header.test.d.ts +0 -0
- package/dist/src/components/Label/label.d.ts +3 -2
- package/dist/src/components/Link/link.d.ts +2 -2
- package/dist/src/components/RadioButton/radio-button.d.ts +4 -3
- package/dist/src/index.d.ts +2 -1
- package/package.json +30 -26
- package/dist/src/components/PageHeader/page-header.d.ts +0 -8
- /package/dist/src/components/{PageHeader/page-header.test.d.ts → Fieldset/fieldset.test.d.ts} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as c, jsxs as v, Fragment as ne } from "react/jsx-runtime";
|
|
2
|
-
import se, { useState as ae, useEffect as Q, createElement as
|
|
2
|
+
import se, { useState as ae, useEffect as Q, createElement as Ke, Fragment as ds, forwardRef as Se, useCallback as ze, useRef as Xe, useId as Je, cloneElement as as } from "react";
|
|
3
3
|
import { Link as ls } from "react-router";
|
|
4
4
|
function ms(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -79,14 +79,14 @@ const w = /* @__PURE__ */ ms(us), bs = (e, s, o) => {
|
|
|
79
79
|
h5: "14px",
|
|
80
80
|
p: "16px",
|
|
81
81
|
sub: "12px"
|
|
82
|
-
}, _s = /* @__PURE__ */ new Set(["email", "facebook", "flickr", "github", "linkedin", "pinterest", "x", "youtube"]), ys = new Set(hs), Es = (e, s) => ys.has(e) ? s ? "-closed" : "-open" : s ? _s.has(e) ? "-square" : "-round" : "",
|
|
83
|
-
const l = Es(e, r), a = `${e}${l}`,
|
|
84
|
-
if (!
|
|
85
|
-
const b = w("cf-icon-svg", `cf-icon-svg--${a}`),
|
|
86
|
-
return c(
|
|
82
|
+
}, _s = /* @__PURE__ */ new Set(["email", "facebook", "flickr", "github", "linkedin", "pinterest", "x", "youtube"]), ys = new Set(hs), Es = (e, s) => ys.has(e) ? s ? "-closed" : "-open" : s ? _s.has(e) ? "-square" : "-round" : "", C = ({ name: e, alt: s, ariaLabel: o = "", ariaLabelledby: t = "", ariaDescribedby: i = "", isPresentational: n = !1, withBg: r = !1, size: p = "inherit", ...d }) => {
|
|
83
|
+
const l = Es(e, r), a = `${e}${l}`, f = gs(a);
|
|
84
|
+
if (!f) return null;
|
|
85
|
+
const b = w("cf-icon-svg", `cf-icon-svg--${a}`), g = vs[p] || p;
|
|
86
|
+
return c(f, {
|
|
87
87
|
className: b,
|
|
88
88
|
style: {
|
|
89
|
-
fontSize:
|
|
89
|
+
fontSize: g
|
|
90
90
|
},
|
|
91
91
|
role: n ? void 0 : "img",
|
|
92
92
|
"aria-label": o || (n ? void 0 : s ?? e),
|
|
@@ -115,7 +115,7 @@ const ws = {
|
|
|
115
115
|
}, Ss = ({ status: e = "info", message: s, isVisible: o = !0, ...t }) => !o || !s ? null : ["error", "success", "warning", "info"].includes(e) ? v("div", {
|
|
116
116
|
className: `a-form-alert a-form-alert${es[e]}`,
|
|
117
117
|
...t,
|
|
118
|
-
children: [c(
|
|
118
|
+
children: [c(C, {
|
|
119
119
|
ariaLabel: `${e} icon`,
|
|
120
120
|
name: ws[e],
|
|
121
121
|
withBg: !0
|
|
@@ -143,34 +143,42 @@ function Me({ children: e, itemClassname: s = "", className: o }) {
|
|
|
143
143
|
}, t.key))
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
|
-
function re({
|
|
147
|
-
const
|
|
146
|
+
function re({ isButton: e = !1, children: s, href: o, iconLeft: t, iconRight: i, isJump: n = !1, isRouterLink: r = !1, label: p, type: d = "default", ...l }) {
|
|
147
|
+
const a = !!t, f = !!i, g = !e && (a || f || n), _ = e || g ? c(Ls, {
|
|
148
148
|
children: p
|
|
149
|
-
}) : p,
|
|
149
|
+
}) : p, L = w(l.className, {
|
|
150
150
|
"a-btn": e || d === "destructive",
|
|
151
151
|
"a-btn--link": d === "destructive",
|
|
152
152
|
"a-btn--warning": d === "destructive",
|
|
153
153
|
"a-link--jump": n,
|
|
154
|
-
"a-link":
|
|
154
|
+
"a-link": g
|
|
155
155
|
});
|
|
156
|
+
if (a && f)
|
|
157
|
+
throw new Error("Link component: only one of iconLeft or iconRight can be provided");
|
|
156
158
|
if (r) {
|
|
157
159
|
if (!o)
|
|
158
160
|
throw new Error("Link component: href is a required attribute when isRouterLink is true");
|
|
159
|
-
return
|
|
161
|
+
return v(ls, {
|
|
160
162
|
to: o,
|
|
161
163
|
...l,
|
|
162
|
-
className:
|
|
163
|
-
children:
|
|
164
|
+
className: L,
|
|
165
|
+
children: [s, !!t && c(C, {
|
|
166
|
+
name: t,
|
|
167
|
+
isPresentational: !0
|
|
168
|
+
}), _, !!i && c(C, {
|
|
169
|
+
name: i,
|
|
170
|
+
isPresentational: !0
|
|
171
|
+
})]
|
|
164
172
|
});
|
|
165
173
|
}
|
|
166
174
|
return v("a", {
|
|
167
175
|
...l,
|
|
168
|
-
className:
|
|
176
|
+
className: L,
|
|
169
177
|
href: o,
|
|
170
|
-
children: [s, !!t && c(
|
|
178
|
+
children: [s, !!t && c(C, {
|
|
171
179
|
name: t,
|
|
172
180
|
isPresentational: !0
|
|
173
|
-
}),
|
|
181
|
+
}), _, !!i && c(C, {
|
|
174
182
|
name: i,
|
|
175
183
|
isPresentational: !0
|
|
176
184
|
})]
|
|
@@ -228,7 +236,7 @@ const Ls = ({ children: e, ...s }) => c("span", {
|
|
|
228
236
|
return v("div", {
|
|
229
237
|
className: l,
|
|
230
238
|
...d,
|
|
231
|
-
children: [p ? c(
|
|
239
|
+
children: [p ? c(C, {
|
|
232
240
|
ariaLabel: `${i} icon`,
|
|
233
241
|
...ks[i]
|
|
234
242
|
}) : null, v("div", {
|
|
@@ -241,7 +249,7 @@ const Ls = ({ children: e, ...s }) => c("span", {
|
|
|
241
249
|
children: e
|
|
242
250
|
}) : null, o && o.length > 0 ? c(te, {
|
|
243
251
|
isLinks: !0,
|
|
244
|
-
children: o.map((a) =>
|
|
252
|
+
children: o.map((a) => Ke(xs, {
|
|
245
253
|
...a,
|
|
246
254
|
key: a.href
|
|
247
255
|
}))
|
|
@@ -377,19 +385,23 @@ const Ls = ({ children: e, ...s }) => c("span", {
|
|
|
377
385
|
}, Hs = {
|
|
378
386
|
default: [],
|
|
379
387
|
full: ["a-btn--full-on-xs"]
|
|
380
|
-
}, de = Se(({ appearance: e = "primary",
|
|
381
|
-
const
|
|
382
|
-
|
|
383
|
-
|
|
388
|
+
}, de = Se(({ appearance: e = "primary", isLink: s = !1, size: o = "default", label: t, className: i, iconLeft: n, iconRight: r, children: p, ...d }, l) => {
|
|
389
|
+
const a = [...Os, ...Bs[e], ...Hs[o]];
|
|
390
|
+
s && a.push("a-btn--link"), i && a.push(i), d.disabled && a.push("a-btn--disabled");
|
|
391
|
+
const f = !!n, b = !!r, y = t ? f || b ? c("span", {
|
|
392
|
+
children: t
|
|
393
|
+
}) : t : null;
|
|
394
|
+
if (f && b)
|
|
395
|
+
throw new Error("Button component: only one of iconLeft or iconRight can be provided");
|
|
396
|
+
return v("button", {
|
|
397
|
+
ref: l,
|
|
384
398
|
type: "button",
|
|
385
|
-
className: [...
|
|
386
|
-
...
|
|
387
|
-
children: [!!n && c(
|
|
399
|
+
className: [...a].join(" "),
|
|
400
|
+
...d,
|
|
401
|
+
children: [p, !!n && c(C, {
|
|
388
402
|
name: n,
|
|
389
403
|
isPresentational: !0
|
|
390
|
-
}),
|
|
391
|
-
children: t
|
|
392
|
-
}) : t, !!r && c(T, {
|
|
404
|
+
}), y, !!r && c(C, {
|
|
393
405
|
name: r,
|
|
394
406
|
isPresentational: !0
|
|
395
407
|
})]
|
|
@@ -404,7 +416,7 @@ const Yn = ({ className: e, children: s, ...o }) => s ? c("div", {
|
|
|
404
416
|
className: w(["a-label__helper", s]),
|
|
405
417
|
...o,
|
|
406
418
|
children: ["(", e, ")"]
|
|
407
|
-
}) : null, Ms = ["a-label"], ns = ({ children: e,
|
|
419
|
+
}) : null, Ms = ["a-label"], ns = ({ children: e, isInline: s = !1, htmlFor: o, className: t, ...i }) => {
|
|
408
420
|
const r = [...[...Ms, s ? "" : "a-label--heading"], t];
|
|
409
421
|
return e ? c("label", {
|
|
410
422
|
...i,
|
|
@@ -416,35 +428,41 @@ const Yn = ({ className: e, children: s, ...o }) => s ? c("div", {
|
|
|
416
428
|
success: "m-form-field--checkbox-success",
|
|
417
429
|
warning: "m-form-field--checkbox-warning",
|
|
418
430
|
error: "m-form-field--checkbox-error"
|
|
419
|
-
}, Zn = ({ id: e, label: s, className: o, inputClassName: t, labelClassName: i = "", checked: n
|
|
420
|
-
const
|
|
421
|
-
|
|
422
|
-
}, [
|
|
423
|
-
|
|
424
|
-
|
|
431
|
+
}, Zn = ({ id: e, label: s, className: o, inputClassName: t, labelClassName: i = "", checked: n, defaultChecked: r, helperText: p, inputRef: d, disabled: l = !1, isLarge: a = !1, isLabelInline: f = !0, name: b, onChange: g, status: y, ..._ }) => {
|
|
432
|
+
const L = n !== void 0, k = ze((H) => {
|
|
433
|
+
g?.(H);
|
|
434
|
+
}, [g]), x = [...Ds, a ? "m-form-field--lg-target" : "", y ? Ps[y] : "", o], O = {
|
|
435
|
+
..._,
|
|
436
|
+
id: e,
|
|
437
|
+
type: "checkbox",
|
|
438
|
+
"aria-labelledby": `${e}-label`,
|
|
439
|
+
name: b ?? e,
|
|
440
|
+
ref: d,
|
|
441
|
+
disabled: l,
|
|
442
|
+
onChange: k,
|
|
443
|
+
"data-testid": `${e}-input`,
|
|
444
|
+
className: w(["a-checkbox", t])
|
|
445
|
+
};
|
|
446
|
+
return L ? Object.assign(O, {
|
|
447
|
+
checked: n,
|
|
448
|
+
"aria-checked": n
|
|
449
|
+
}) : Object.assign(O, {
|
|
450
|
+
defaultChecked: r ?? !1
|
|
451
|
+
}), v("div", {
|
|
452
|
+
className: w(x),
|
|
425
453
|
children: [c("input", {
|
|
426
|
-
|
|
427
|
-
type: "checkbox",
|
|
428
|
-
checked: n,
|
|
429
|
-
"aria-checked": n,
|
|
430
|
-
"aria-labelledby": `${e}-label`,
|
|
431
|
-
name: u ?? e,
|
|
432
|
-
ref: p,
|
|
433
|
-
disabled: d,
|
|
434
|
-
onChange: _,
|
|
435
|
-
...y,
|
|
436
|
-
className: w(["a-checkbox", t])
|
|
454
|
+
...O
|
|
437
455
|
}), v(ns, {
|
|
438
456
|
id: `${e}-label`,
|
|
439
457
|
className: i,
|
|
440
458
|
htmlFor: e,
|
|
441
|
-
|
|
459
|
+
isInline: f,
|
|
442
460
|
children: [s, c(ss, {
|
|
443
|
-
children:
|
|
461
|
+
children: p
|
|
444
462
|
})]
|
|
445
463
|
})]
|
|
446
464
|
});
|
|
447
|
-
},
|
|
465
|
+
}, Gn = ({ className: e = "", ...s }) => c("div", {
|
|
448
466
|
className: `content__line ${e}`,
|
|
449
467
|
...s
|
|
450
468
|
}), We = {
|
|
@@ -585,7 +603,7 @@ function I(e, s, o) {
|
|
|
585
603
|
let i = e;
|
|
586
604
|
if (!o) throw new Error("Child transition argument must be defined!");
|
|
587
605
|
const n = o;
|
|
588
|
-
let r, p, d, l = !1, a = !1,
|
|
606
|
+
let r, p, d, l = !1, a = !1, f = !1;
|
|
589
607
|
if (typeof t.CSS_PROPERTY > "u" || typeof t.BASE_CLASS > "u")
|
|
590
608
|
throw new Error(
|
|
591
609
|
"Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition."
|
|
@@ -599,38 +617,38 @@ function I(e, s, o) {
|
|
|
599
617
|
type: I.BEGIN_EVENT
|
|
600
618
|
}), d());
|
|
601
619
|
}
|
|
602
|
-
function
|
|
620
|
+
function g() {
|
|
603
621
|
i.removeEventListener(p, d);
|
|
604
622
|
}
|
|
605
|
-
function y(
|
|
606
|
-
return
|
|
623
|
+
function y(N) {
|
|
624
|
+
return N && N.propertyName !== t.CSS_PROPERTY ? !1 : (g(), i.classList.remove(I.ANIMATING_CLASS), n.dispatchEvent(I.END_EVENT, {
|
|
607
625
|
target: n,
|
|
608
626
|
type: I.END_EVENT
|
|
609
627
|
}), a = !1, !0);
|
|
610
628
|
}
|
|
611
629
|
function _() {
|
|
612
|
-
let
|
|
613
|
-
for (
|
|
614
|
-
({}).hasOwnProperty.call(t,
|
|
630
|
+
let N;
|
|
631
|
+
for (N in t)
|
|
632
|
+
({}).hasOwnProperty.call(t, N) && t[N] !== t.BASE_CLASS && i.classList.contains(t[N]) && i.classList.remove(t[N]);
|
|
615
633
|
}
|
|
616
|
-
function
|
|
634
|
+
function L() {
|
|
617
635
|
a && (i.style.webkitTransitionDuration = "0", i.style.mozTransitionDuration = "0", i.style.oTransitionDuration = "0", i.style.transitionDuration = "0", i.removeEventListener(p, d), d(), i.style.webkitTransitionDuration = "", i.style.mozTransitionDuration = "", i.style.oTransitionDuration = "", i.style.transitionDuration = "");
|
|
618
636
|
}
|
|
619
|
-
function x() {
|
|
620
|
-
N(), _(), i.classList.remove(t.BASE_CLASS);
|
|
621
|
-
}
|
|
622
637
|
function k() {
|
|
638
|
+
L(), _(), i.classList.remove(t.BASE_CLASS);
|
|
639
|
+
}
|
|
640
|
+
function x() {
|
|
623
641
|
i.classList.remove(I.NO_ANIMATION_CLASS), l = !0;
|
|
624
642
|
}
|
|
625
|
-
function
|
|
643
|
+
function O() {
|
|
626
644
|
i.classList.add(I.NO_ANIMATION_CLASS), l = !1;
|
|
627
645
|
}
|
|
628
|
-
function
|
|
629
|
-
if (!
|
|
646
|
+
function H(N) {
|
|
647
|
+
if (!N) {
|
|
630
648
|
const z = "Element does not have TransitionEnd event. It may be null!";
|
|
631
649
|
throw new Error(z);
|
|
632
650
|
}
|
|
633
|
-
let
|
|
651
|
+
let M;
|
|
634
652
|
const D = {
|
|
635
653
|
WebkitTransition: "webkitTransitionEnd",
|
|
636
654
|
MozTransition: "transitionend",
|
|
@@ -639,79 +657,79 @@ function I(e, s, o) {
|
|
|
639
657
|
};
|
|
640
658
|
let q;
|
|
641
659
|
for (q in D)
|
|
642
|
-
if ({}.hasOwnProperty.call(D, q) && typeof
|
|
643
|
-
|
|
660
|
+
if ({}.hasOwnProperty.call(D, q) && typeof N.style[q] < "u") {
|
|
661
|
+
M = D[q];
|
|
644
662
|
break;
|
|
645
663
|
}
|
|
646
|
-
return
|
|
664
|
+
return M;
|
|
647
665
|
}
|
|
648
|
-
function S(
|
|
649
|
-
|
|
666
|
+
function S(N) {
|
|
667
|
+
k(), x(), i = N, i.classList.add(t.BASE_CLASS), p = H(i);
|
|
650
668
|
}
|
|
651
|
-
function A(
|
|
652
|
-
if (l = !i.classList.contains(I.NO_ANIMATION_CLASS), d = y.bind(this), S(i), !
|
|
669
|
+
function A(N) {
|
|
670
|
+
if (l = !i.classList.contains(I.NO_ANIMATION_CLASS), d = y.bind(this), S(i), !N)
|
|
653
671
|
throw new Error(
|
|
654
672
|
"Transition needs to be passed an initial CSS class on initialization!"
|
|
655
673
|
);
|
|
656
|
-
return i.classList.add(
|
|
674
|
+
return i.classList.add(N), this;
|
|
657
675
|
}
|
|
658
|
-
function
|
|
659
|
-
return
|
|
676
|
+
function B(N) {
|
|
677
|
+
return f || (_(), f = !0), i.classList.contains(N) ? !1 : (g(), i.classList.remove(r), r = N, b(), i.classList.add(r), !0);
|
|
660
678
|
}
|
|
661
|
-
return this.animateOff =
|
|
679
|
+
return this.animateOff = O, this.animateOn = x, this.applyClass = B, this.halt = L, this.init = A, this.isAnimated = () => l, this.remove = k, this.setElement = S, this;
|
|
662
680
|
}
|
|
663
681
|
I.BEGIN_EVENT = "transitionbegin";
|
|
664
682
|
I.END_EVENT = "transitionend";
|
|
665
683
|
I.NO_ANIMATION_CLASS = "u-no-animation";
|
|
666
684
|
I.ANIMATING_CLASS = "u-is-animating";
|
|
667
|
-
const ie = Vs + "flyout-menu",
|
|
685
|
+
const ie = Vs + "flyout-menu", Gs = "[" + Y + "=" + ie;
|
|
668
686
|
function xe(e, s = !0) {
|
|
669
|
-
const o = qe(e, ie), t =
|
|
687
|
+
const o = qe(e, ie), t = x(e), i = qe(e, ie + "_content");
|
|
670
688
|
let n = 0;
|
|
671
689
|
const r = 0, p = 1, d = 2, l = 3;
|
|
672
|
-
let a,
|
|
673
|
-
const
|
|
674
|
-
let _,
|
|
675
|
-
function
|
|
676
|
-
const
|
|
677
|
-
let E,
|
|
678
|
-
for (let R =
|
|
679
|
-
for ($ = !1, E =
|
|
680
|
-
|
|
681
|
-
$ ||
|
|
690
|
+
let a, f, b;
|
|
691
|
+
const g = z.bind(this), y = q.bind(this);
|
|
692
|
+
let _, L = !0, k = !1;
|
|
693
|
+
function x(m) {
|
|
694
|
+
const u = [], h = m.querySelectorAll(`${Gs}_trigger]`);
|
|
695
|
+
let E, T, $;
|
|
696
|
+
for (let R = h.length >>> 0; R--; ) {
|
|
697
|
+
for ($ = !1, E = h[R], T = E.parentElement; T !== m; )
|
|
698
|
+
T.getAttribute(Y) && T.getAttribute(Y).split(" ").indexOf(ie) !== -1 ? ($ = !0, T = m) : T = T.parentElement;
|
|
699
|
+
$ || u.unshift(h[R]);
|
|
682
700
|
}
|
|
683
|
-
return
|
|
701
|
+
return u;
|
|
684
702
|
}
|
|
685
|
-
function
|
|
686
|
-
return n = m ? l : r, t.forEach((
|
|
687
|
-
|
|
703
|
+
function O(m = !1) {
|
|
704
|
+
return n = m ? l : r, t.forEach((u) => {
|
|
705
|
+
H("expanded", u, m), u.addEventListener("click", N.bind(this)), u.addEventListener("touchstart", S, {
|
|
688
706
|
passive: !0
|
|
689
|
-
}),
|
|
707
|
+
}), u.addEventListener("mouseover", A.bind(this)), u.addEventListener("mouseout", B.bind(this));
|
|
690
708
|
}), i.setAttribute("data-open", m ? "true" : "false"), s && !m && i.setAttribute("hidden", ""), ue(), this;
|
|
691
709
|
}
|
|
692
|
-
function
|
|
693
|
-
const E = String(
|
|
694
|
-
return
|
|
710
|
+
function H(m, u, h) {
|
|
711
|
+
const E = String(h);
|
|
712
|
+
return u.setAttribute("aria-" + m, E), E;
|
|
695
713
|
}
|
|
696
714
|
function S() {
|
|
697
|
-
|
|
715
|
+
k = !0;
|
|
698
716
|
}
|
|
699
717
|
function A(m) {
|
|
700
|
-
|
|
718
|
+
L || (k || this.dispatchEvent("triggerover", {
|
|
701
719
|
target: this,
|
|
702
720
|
trigger: m.target,
|
|
703
721
|
type: "triggerover"
|
|
704
|
-
}),
|
|
722
|
+
}), k = !1);
|
|
705
723
|
}
|
|
706
|
-
function
|
|
707
|
-
|
|
724
|
+
function B(m) {
|
|
725
|
+
L || this.dispatchEvent("triggerout", {
|
|
708
726
|
target: this,
|
|
709
727
|
trigger: m.target,
|
|
710
728
|
type: "triggerout"
|
|
711
729
|
});
|
|
712
730
|
}
|
|
713
|
-
function
|
|
714
|
-
if (!
|
|
731
|
+
function N(m) {
|
|
732
|
+
if (!L)
|
|
715
733
|
switch (this.dispatchEvent("triggerclick", {
|
|
716
734
|
target: this,
|
|
717
735
|
trigger: m.target,
|
|
@@ -727,49 +745,49 @@ function xe(e, s = !0) {
|
|
|
727
745
|
break;
|
|
728
746
|
}
|
|
729
747
|
}
|
|
730
|
-
function
|
|
748
|
+
function M() {
|
|
731
749
|
if (a?.halt(), n === d || n === l) return this;
|
|
732
|
-
if (n = d, s && i.removeAttribute("hidden"), this.dispatchEvent("expandbegin", { target: this, type: "expandbegin" }), !
|
|
750
|
+
if (n = d, s && i.removeAttribute("hidden"), this.dispatchEvent("expandbegin", { target: this, type: "expandbegin" }), !f || !b)
|
|
733
751
|
return y(), this;
|
|
734
752
|
const m = a?.isAnimated();
|
|
735
|
-
return m && a.addEventListener(I.END_EVENT, y),
|
|
753
|
+
return m && a.addEventListener(I.END_EVENT, y), f(), m || y(), this;
|
|
736
754
|
}
|
|
737
755
|
function D() {
|
|
738
756
|
if (a?.halt(), n === p || n === r) return this;
|
|
739
|
-
for (let
|
|
740
|
-
|
|
757
|
+
for (let u = 0, h = t.length; u < h; u++)
|
|
758
|
+
H("expanded", t[u], !1);
|
|
741
759
|
if (i.setAttribute("data-open", "false"), n = p, this.dispatchEvent("collapsebegin", {
|
|
742
760
|
target: this,
|
|
743
761
|
type: "collapsebegin"
|
|
744
|
-
}), !b || !
|
|
745
|
-
return
|
|
762
|
+
}), !b || !f)
|
|
763
|
+
return g(), this;
|
|
746
764
|
const m = a?.isAnimated();
|
|
747
765
|
return m && a.addEventListener(
|
|
748
766
|
I.END_EVENT,
|
|
749
|
-
|
|
750
|
-
), b(), m ||
|
|
767
|
+
g
|
|
768
|
+
), b(), m || g(), this;
|
|
751
769
|
}
|
|
752
770
|
function q() {
|
|
753
771
|
n = l, i.setAttribute("data-open", "true"), a && a.removeEventListener(
|
|
754
772
|
I.END_EVENT,
|
|
755
773
|
y
|
|
756
774
|
), this.dispatchEvent("expandend", { target: this, type: "expandend" });
|
|
757
|
-
for (let m = 0,
|
|
758
|
-
|
|
775
|
+
for (let m = 0, u = t.length; m < u; m++)
|
|
776
|
+
H("expanded", t[m], !0);
|
|
759
777
|
}
|
|
760
778
|
function z() {
|
|
761
779
|
n = r, s && i.setAttribute("hidden", ""), a && a.removeEventListener(
|
|
762
780
|
I.END_EVENT,
|
|
763
|
-
|
|
781
|
+
g
|
|
764
782
|
), this.dispatchEvent("collapseend", { target: this, type: "collapseend" });
|
|
765
783
|
}
|
|
766
|
-
function fe(m,
|
|
767
|
-
a = m,
|
|
784
|
+
function fe(m, u, h) {
|
|
785
|
+
a = m, u && u !== b && (b = u), h && h !== f && (f = h);
|
|
768
786
|
}
|
|
769
787
|
function ke() {
|
|
770
788
|
a && a.remove();
|
|
771
789
|
let m;
|
|
772
|
-
a = m,
|
|
790
|
+
a = m, f = m, b = m;
|
|
773
791
|
}
|
|
774
792
|
function Ae() {
|
|
775
793
|
return {
|
|
@@ -779,16 +797,16 @@ function xe(e, s = !0) {
|
|
|
779
797
|
};
|
|
780
798
|
}
|
|
781
799
|
function ue() {
|
|
782
|
-
return
|
|
800
|
+
return L && (L = !1), !L;
|
|
783
801
|
}
|
|
784
802
|
function Ce() {
|
|
785
|
-
return
|
|
803
|
+
return L || (L = !0), L;
|
|
786
804
|
}
|
|
787
805
|
function Te(m) {
|
|
788
806
|
return _ = m, this;
|
|
789
807
|
}
|
|
790
|
-
const
|
|
791
|
-
return this.addEventListener =
|
|
808
|
+
const G = new ce();
|
|
809
|
+
return this.addEventListener = G.addEventListener, this.removeEventListener = G.removeEventListener, this.dispatchEvent = G.dispatchEvent, this.init = O, this.expand = M, this.collapse = D, this.setTransition = fe, this.clearTransition = ke, this.getData = () => _, this.getTransition = () => a, this.getDom = Ae, this.isAnimating = () => n === d || n === p, this.isExpanded = () => n === l, this.resume = ue, this.setData = Te, this.suspend = Ce, xe.BASE_CLASS = ie, this;
|
|
792
810
|
}
|
|
793
811
|
const $e = "transitiondir", X = {
|
|
794
812
|
CSS_PROPERTY: "max-height",
|
|
@@ -806,12 +824,12 @@ function U(e) {
|
|
|
806
824
|
e.style.maxHeight = _, e.style.bottom = "auto", e.style.top = "auto";
|
|
807
825
|
}
|
|
808
826
|
function r() {
|
|
809
|
-
const y = e.getBoundingClientRect(), _ = window.innerHeight - y.top,
|
|
827
|
+
const y = e.getBoundingClientRect(), _ = window.innerHeight - y.top, L = y.top, k = _ <= 140 ? "up" : "down";
|
|
810
828
|
return {
|
|
811
829
|
rect: y,
|
|
812
830
|
distanceToBottom: _,
|
|
813
|
-
distanceToTop:
|
|
814
|
-
dir:
|
|
831
|
+
distanceToTop: L,
|
|
832
|
+
dir: k
|
|
815
833
|
};
|
|
816
834
|
}
|
|
817
835
|
function p() {
|
|
@@ -828,17 +846,17 @@ function U(e) {
|
|
|
828
846
|
function a() {
|
|
829
847
|
return n(), t.applyClass(X.MH_SUMMARY), i = e.scrollHeight, this;
|
|
830
848
|
}
|
|
831
|
-
function
|
|
849
|
+
function f() {
|
|
832
850
|
n(), e.style.top = "100%";
|
|
833
851
|
const y = r();
|
|
834
852
|
let _ = 30;
|
|
835
|
-
const
|
|
836
|
-
let
|
|
853
|
+
const L = 2;
|
|
854
|
+
let k = e.scrollHeight + _ < y.distanceToBottom ? `${e.scrollHeight + L}px` : `${y.distanceToBottom - _}px`;
|
|
837
855
|
if (y.dir === "up") {
|
|
838
|
-
const
|
|
839
|
-
_ +=
|
|
856
|
+
const x = e.parentElement.offsetHeight;
|
|
857
|
+
_ += x, e.style.bottom = `${x - L}px`, k = e.scrollHeight + _ < y.distanceToTop ? `${e.scrollHeight + L}px` : `${y.distanceToTop - _}px`, e.style.top = "unset";
|
|
840
858
|
}
|
|
841
|
-
return e.style.maxHeight =
|
|
859
|
+
return e.style.maxHeight = k, t.applyClass(X.MH_DYNAMIC), s.dispatchEvent($e, {
|
|
842
860
|
target: s,
|
|
843
861
|
type: $e,
|
|
844
862
|
dir: y.dir
|
|
@@ -847,14 +865,14 @@ function U(e) {
|
|
|
847
865
|
function b() {
|
|
848
866
|
return t.applyClass(X.MH_ZERO), i = e.scrollHeight, this;
|
|
849
867
|
}
|
|
850
|
-
function
|
|
868
|
+
function g() {
|
|
851
869
|
return e.style.maxHeight = "", t.remove();
|
|
852
870
|
}
|
|
853
|
-
return this.addEventListener = o.addEventListener, this.dispatchEvent = o.dispatchEvent, this.removeEventListener = o.removeEventListener, this.animateOff = t.animateOff, this.animateOn = t.animateOn, this.halt = t.halt, this.isAnimated = t.isAnimated, this.setElement = t.setElement, this.refresh = n, this.remove =
|
|
871
|
+
return this.addEventListener = o.addEventListener, this.dispatchEvent = o.dispatchEvent, this.removeEventListener = o.removeEventListener, this.animateOff = t.animateOff, this.animateOn = t.animateOn, this.halt = t.halt, this.isAnimated = t.isAnimated, this.setElement = t.setElement, this.refresh = n, this.remove = g, this.init = d, this.maxHeightDefault = l, this.maxHeightSummary = a, this.maxHeightZero = b, this.maxHeightDynamic = f, this;
|
|
854
872
|
}
|
|
855
873
|
U.CLASSES = X;
|
|
856
874
|
const J = "o-expandable";
|
|
857
|
-
function
|
|
875
|
+
function K(e) {
|
|
858
876
|
const s = le(e, J);
|
|
859
877
|
let o, t, i, n, r;
|
|
860
878
|
function p() {
|
|
@@ -863,8 +881,8 @@ function G(e) {
|
|
|
863
881
|
o = s.querySelector(`.${J}__header`), t = s.querySelector(`.${J}__content`), i = s.querySelector(`.${J}__label`);
|
|
864
882
|
const a = s.classList.contains(`${J}--onload-open`);
|
|
865
883
|
W(s, "behavior_flyout-menu"), W(o, "behavior_flyout-menu_trigger"), W(t, "behavior_flyout-menu_content");
|
|
866
|
-
const
|
|
867
|
-
return n = new U(t).init(
|
|
884
|
+
const f = a ? U.CLASSES.MH_DEFAULT : U.CLASSES.MH_ZERO;
|
|
885
|
+
return n = new U(t).init(f), a || t.classList.add("u-hidden"), r = new xe(s), r.setTransition(
|
|
868
886
|
n,
|
|
869
887
|
n.maxHeightZero,
|
|
870
888
|
n.maxHeightDefault
|
|
@@ -881,8 +899,8 @@ function G(e) {
|
|
|
881
899
|
const l = new ce();
|
|
882
900
|
return this.addEventListener = l.addEventListener, this.removeEventListener = l.removeEventListener, this.dispatchEvent = l.dispatchEvent, this;
|
|
883
901
|
}
|
|
884
|
-
|
|
885
|
-
|
|
902
|
+
K.BASE_CLASS = J;
|
|
903
|
+
K.init = (e) => me(`.${K.BASE_CLASS}`, K, e);
|
|
886
904
|
const he = "o-expandable-group";
|
|
887
905
|
function ve(e) {
|
|
888
906
|
const s = le(e, he), o = s.classList.contains(`${he}--accordion`);
|
|
@@ -902,8 +920,8 @@ ve.BASE_CLASS = he;
|
|
|
902
920
|
ve.init = (e) => {
|
|
903
921
|
(e || document).querySelectorAll(`.${he}`).forEach((t) => {
|
|
904
922
|
const i = me(
|
|
905
|
-
`.${
|
|
906
|
-
|
|
923
|
+
`.${K.BASE_CLASS}`,
|
|
924
|
+
K,
|
|
907
925
|
t
|
|
908
926
|
);
|
|
909
927
|
new ve(t).init(i);
|
|
@@ -917,46 +935,46 @@ function _e(e) {
|
|
|
917
935
|
return oe(s) ? (window.addEventListener("load", l), this) : this;
|
|
918
936
|
}
|
|
919
937
|
function l() {
|
|
920
|
-
window.removeEventListener("load", l), p = !
|
|
938
|
+
window.removeEventListener("load", l), p = !g(), W(s, "behavior_flyout-menu"), W(t, "behavior_flyout-menu_content"), W(i, "behavior_flyout-menu_trigger"), r = new xe(s, !1), n = new U(t), n.init(
|
|
921
939
|
p ? U.CLASSES.MH_SUMMARY : U.CLASSES.MH_DEFAULT
|
|
922
940
|
), r.setTransition(
|
|
923
941
|
n,
|
|
924
942
|
n.maxHeightSummary,
|
|
925
943
|
n.maxHeightDefault
|
|
926
|
-
), r.addEventListener("triggerclick", y), r.init(), b(), window.addEventListener("resize", b), "onorientationchange" in window && window.addEventListener("orientationchange", b), s.addEventListener("focusin", a), t.addEventListener("click",
|
|
944
|
+
), r.addEventListener("triggerclick", y), r.init(), b(), window.addEventListener("resize", b), "onorientationchange" in window && window.addEventListener("orientationchange", b), s.addEventListener("focusin", a), t.addEventListener("click", f);
|
|
927
945
|
}
|
|
928
946
|
function a(S) {
|
|
929
947
|
!p && S.target !== i && (i.click(), s.removeEventListener("focusin", a));
|
|
930
948
|
}
|
|
931
|
-
function
|
|
949
|
+
function f(S) {
|
|
932
950
|
S.target.tagName !== "A" && r.isExpanded() && n.refresh();
|
|
933
951
|
}
|
|
934
952
|
function b() {
|
|
935
|
-
|
|
953
|
+
g() ? O() : x();
|
|
936
954
|
}
|
|
937
|
-
function
|
|
955
|
+
function g() {
|
|
938
956
|
return o && !Us(Ws) || t.scrollHeight <= 88;
|
|
939
957
|
}
|
|
940
958
|
function y() {
|
|
941
959
|
r.addEventListener("expandend", _);
|
|
942
960
|
}
|
|
943
961
|
function _() {
|
|
944
|
-
|
|
962
|
+
k(), window.removeEventListener("resize", b), window.removeEventListener("orientationchange", b), r.removeEventListener("expandend", _), r.suspend(), n.remove();
|
|
945
963
|
}
|
|
946
|
-
function
|
|
964
|
+
function L() {
|
|
947
965
|
i.classList.remove("u-hidden");
|
|
948
966
|
}
|
|
949
|
-
function
|
|
967
|
+
function k() {
|
|
950
968
|
i.classList.add("u-hidden");
|
|
951
969
|
}
|
|
952
|
-
function
|
|
953
|
-
return p && (r.collapse(), n.animateOn(),
|
|
970
|
+
function x() {
|
|
971
|
+
return p && (r.collapse(), n.animateOn(), L(), p = !1), !p;
|
|
954
972
|
}
|
|
955
|
-
function
|
|
956
|
-
return p || (n.animateOff(), r.expand(),
|
|
973
|
+
function O() {
|
|
974
|
+
return p || (n.animateOff(), r.expand(), k(), p = !0), p;
|
|
957
975
|
}
|
|
958
|
-
const
|
|
959
|
-
return this.addEventListener =
|
|
976
|
+
const H = new ce();
|
|
977
|
+
return this.addEventListener = H.addEventListener, this.removeEventListener = H.removeEventListener, this.dispatchEvent = H.dispatchEvent, this.init = d, this;
|
|
960
978
|
}
|
|
961
979
|
_e.BASE_CLASS = ee;
|
|
962
980
|
_e.init = (e) => me(`.${ee}`, _e, e);
|
|
@@ -974,20 +992,20 @@ function ye(e) {
|
|
|
974
992
|
i.maxHeightDefault
|
|
975
993
|
), n.init(), s.addEventListener("focusin", d), o.addEventListener("click", l), n.collapse(), i.animateOn();
|
|
976
994
|
}
|
|
977
|
-
function d(
|
|
978
|
-
|
|
995
|
+
function d(f) {
|
|
996
|
+
f.target !== t && (t.click(), s.removeEventListener("focusin", d));
|
|
979
997
|
}
|
|
980
|
-
function l(
|
|
981
|
-
|
|
998
|
+
function l(f) {
|
|
999
|
+
f.target.tagName !== "A" && n.isExpanded() && i.refresh();
|
|
982
1000
|
}
|
|
983
1001
|
const a = new ce();
|
|
984
1002
|
return this.addEventListener = a.addEventListener, this.removeEventListener = a.removeEventListener, this.dispatchEvent = a.dispatchEvent, this.init = r, this;
|
|
985
1003
|
}
|
|
986
1004
|
ye.BASE_CLASS = pe;
|
|
987
1005
|
ye.init = (e) => me(`.${pe}`, ye, e);
|
|
988
|
-
const
|
|
1006
|
+
const Kn = ({ header: e, children: s, icon: o = "", inAccordion: t = !1, isPadded: i = !1, openOnLoad: n = !1, className: r = "", ...p }) => {
|
|
989
1007
|
Q(() => {
|
|
990
|
-
t ||
|
|
1008
|
+
t || K.init();
|
|
991
1009
|
}, [t]);
|
|
992
1010
|
const d = ["o-expandable", r];
|
|
993
1011
|
return t || d.push("o-expandable--background", "o-expandable--border"), i && d.push("o-expandable--padded"), n && d.push("o-expandable--onload-open"), v("div", {
|
|
@@ -999,7 +1017,7 @@ const Gn = ({ header: e, children: s, icon: o = "", inAccordion: t = !1, isPadde
|
|
|
999
1017
|
title: e,
|
|
1000
1018
|
children: [o ? c("span", {
|
|
1001
1019
|
className: "o-expandable__icon",
|
|
1002
|
-
children: c(
|
|
1020
|
+
children: c(C, {
|
|
1003
1021
|
name: o
|
|
1004
1022
|
})
|
|
1005
1023
|
}) : null, c("h3", {
|
|
@@ -1010,14 +1028,14 @@ const Gn = ({ header: e, children: s, icon: o = "", inAccordion: t = !1, isPadde
|
|
|
1010
1028
|
children: [c("span", {
|
|
1011
1029
|
className: "o-expandable__cue-open",
|
|
1012
1030
|
"aria-label": "Show",
|
|
1013
|
-
children: c(
|
|
1031
|
+
children: c(C, {
|
|
1014
1032
|
name: "plus-round",
|
|
1015
1033
|
isPresentational: !0
|
|
1016
1034
|
})
|
|
1017
1035
|
}), c("span", {
|
|
1018
1036
|
className: "o-expandable__cue-close",
|
|
1019
1037
|
"aria-label": "Hide",
|
|
1020
|
-
children: c(
|
|
1038
|
+
children: c(C, {
|
|
1021
1039
|
name: "minus-round",
|
|
1022
1040
|
isPresentational: !0
|
|
1023
1041
|
})
|
|
@@ -1028,7 +1046,20 @@ const Gn = ({ header: e, children: s, icon: o = "", inAccordion: t = !1, isPadde
|
|
|
1028
1046
|
children: s
|
|
1029
1047
|
})]
|
|
1030
1048
|
});
|
|
1031
|
-
}, zn = ({
|
|
1049
|
+
}, zn = ({ legend: e, legendHelperText: s, children: o, isInline: t = !1, className: i, ...n }) => v("fieldset", {
|
|
1050
|
+
className: w("o-form__fieldset", t && "o-form__fieldset--inline", i),
|
|
1051
|
+
...n,
|
|
1052
|
+
children: [v("legend", {
|
|
1053
|
+
className: "h4",
|
|
1054
|
+
children: [e, s && c("small", {
|
|
1055
|
+
className: "a-label__helper a-label__helper--block",
|
|
1056
|
+
children: s
|
|
1057
|
+
})]
|
|
1058
|
+
}), t ? c("div", {
|
|
1059
|
+
className: "o-form__fieldset-options",
|
|
1060
|
+
children: o
|
|
1061
|
+
}) : o]
|
|
1062
|
+
}), Xn = ({ groupId: e, accordion: s = !1, children: o, className: t = "", ...i }) => {
|
|
1032
1063
|
const n = ["o-expandable-group", t];
|
|
1033
1064
|
s && n.push("o-expandable-group--accordion"), Q(() => {
|
|
1034
1065
|
ve.init();
|
|
@@ -1043,12 +1074,12 @@ const Gn = ({ header: e, children: s, icon: o = "", inAccordion: t = !1, isPadde
|
|
|
1043
1074
|
...i,
|
|
1044
1075
|
children: r
|
|
1045
1076
|
});
|
|
1046
|
-
},
|
|
1077
|
+
}, Ks = () => v("a", {
|
|
1047
1078
|
className: "a-btn a-btn--secondary o-footer__top-button",
|
|
1048
1079
|
"data-gtm_ignore": "true",
|
|
1049
1080
|
"data-js-hook": "behavior_return-to-top",
|
|
1050
1081
|
href: "#",
|
|
1051
|
-
children: ["Back to top", c(
|
|
1082
|
+
children: ["Back to top", c(C, {
|
|
1052
1083
|
name: "arrow-up",
|
|
1053
1084
|
isPresentational: !0
|
|
1054
1085
|
})]
|
|
@@ -1106,7 +1137,7 @@ function en({ navLinks: e = [], socialLinks: s = [], linksCol1: o = [], linksCol
|
|
|
1106
1137
|
className: "wrapper wrapper--match-content",
|
|
1107
1138
|
children: [v("div", {
|
|
1108
1139
|
className: "o-footer__pre",
|
|
1109
|
-
children: [c(
|
|
1140
|
+
children: [c(Ks, {}), c(Xs, {
|
|
1110
1141
|
children: e
|
|
1111
1142
|
}), c(Js, {
|
|
1112
1143
|
children: s
|
|
@@ -1127,7 +1158,7 @@ function en({ navLinks: e = [], socialLinks: s = [], linksCol1: o = [], linksCol
|
|
|
1127
1158
|
})
|
|
1128
1159
|
});
|
|
1129
1160
|
}
|
|
1130
|
-
const
|
|
1161
|
+
const Jn = ({ cfLink: e = "https://www.consumerfinance.gov", className: s, ...o }) => {
|
|
1131
1162
|
const t = [c("a", {
|
|
1132
1163
|
href: `${e}/about-us/`,
|
|
1133
1164
|
children: "About Us"
|
|
@@ -1150,7 +1181,7 @@ const Xn = ({ cfLink: e = "https://www.consumerfinance.gov", className: s, ...o
|
|
|
1150
1181
|
"aria-label": "Visit us on Facebook",
|
|
1151
1182
|
"data-pretty-href": i,
|
|
1152
1183
|
href: i,
|
|
1153
|
-
children: c(
|
|
1184
|
+
children: c(C, {
|
|
1154
1185
|
name: "facebook",
|
|
1155
1186
|
isPresentational: !0,
|
|
1156
1187
|
withBg: !0
|
|
@@ -1159,7 +1190,7 @@ const Xn = ({ cfLink: e = "https://www.consumerfinance.gov", className: s, ...o
|
|
|
1159
1190
|
"aria-label": "Visit us on Twitter",
|
|
1160
1191
|
"data-pretty-href": r,
|
|
1161
1192
|
href: r,
|
|
1162
|
-
children: c(
|
|
1193
|
+
children: c(C, {
|
|
1163
1194
|
name: "x",
|
|
1164
1195
|
isPresentational: !0,
|
|
1165
1196
|
withBg: !0
|
|
@@ -1168,7 +1199,7 @@ const Xn = ({ cfLink: e = "https://www.consumerfinance.gov", className: s, ...o
|
|
|
1168
1199
|
"aria-label": "Visit us on LinkedIn",
|
|
1169
1200
|
"data-pretty-href": n,
|
|
1170
1201
|
href: n,
|
|
1171
|
-
children: c(
|
|
1202
|
+
children: c(C, {
|
|
1172
1203
|
name: "linkedin",
|
|
1173
1204
|
isPresentational: !0,
|
|
1174
1205
|
withBg: !0
|
|
@@ -1177,7 +1208,7 @@ const Xn = ({ cfLink: e = "https://www.consumerfinance.gov", className: s, ...o
|
|
|
1177
1208
|
"aria-label": "Visit us on YouTube",
|
|
1178
1209
|
"data-pretty-href": p,
|
|
1179
1210
|
href: p,
|
|
1180
|
-
children: c(
|
|
1211
|
+
children: c(C, {
|
|
1181
1212
|
name: "youtube",
|
|
1182
1213
|
alt: "Visit us on YouTube",
|
|
1183
1214
|
isPresentational: !0,
|
|
@@ -1187,7 +1218,7 @@ const Xn = ({ cfLink: e = "https://www.consumerfinance.gov", className: s, ...o
|
|
|
1187
1218
|
"aria-label": "Visit us on Flickr",
|
|
1188
1219
|
"data-pretty-href": d,
|
|
1189
1220
|
href: d,
|
|
1190
|
-
children: c(
|
|
1221
|
+
children: c(C, {
|
|
1191
1222
|
name: "flickr",
|
|
1192
1223
|
alt: "Visit us on Flickr",
|
|
1193
1224
|
isPresentational: !0,
|
|
@@ -1211,7 +1242,7 @@ const Xn = ({ cfLink: e = "https://www.consumerfinance.gov", className: s, ...o
|
|
|
1211
1242
|
}, "open-government"), c("a", {
|
|
1212
1243
|
href: `${e}/open-government/information-quality-guidelines/`,
|
|
1213
1244
|
children: "Information Quality Guidelines"
|
|
1214
|
-
}, "info-quality")],
|
|
1245
|
+
}, "info-quality")], f = [c("a", {
|
|
1215
1246
|
href: `${e}/about-us/diversity-and-inclusion/`,
|
|
1216
1247
|
children: "Diversity & Inclusion"
|
|
1217
1248
|
}, "dei"), c("a", {
|
|
@@ -1238,7 +1269,7 @@ const Xn = ({ cfLink: e = "https://www.consumerfinance.gov", className: s, ...o
|
|
|
1238
1269
|
children: [c("span", {
|
|
1239
1270
|
className: "a-link__text",
|
|
1240
1271
|
children: "USA.gov"
|
|
1241
|
-
}), " ", c(
|
|
1272
|
+
}), " ", c(C, {
|
|
1242
1273
|
ariaLabel: "External link",
|
|
1243
1274
|
name: "external-link",
|
|
1244
1275
|
alt: "External link"
|
|
@@ -1249,7 +1280,7 @@ const Xn = ({ cfLink: e = "https://www.consumerfinance.gov", className: s, ...o
|
|
|
1249
1280
|
children: [c("span", {
|
|
1250
1281
|
className: "a-link__text",
|
|
1251
1282
|
children: "Office of Inspector General"
|
|
1252
|
-
}), " ", c(
|
|
1283
|
+
}), " ", c(C, {
|
|
1253
1284
|
ariaLabel: "External link",
|
|
1254
1285
|
name: "external-link",
|
|
1255
1286
|
alt: "External link"
|
|
@@ -1261,7 +1292,7 @@ const Xn = ({ cfLink: e = "https://www.consumerfinance.gov", className: s, ...o
|
|
|
1261
1292
|
navLinks: t,
|
|
1262
1293
|
socialLinks: l,
|
|
1263
1294
|
linksCol1: a,
|
|
1264
|
-
linksCol2:
|
|
1295
|
+
linksCol2: f,
|
|
1265
1296
|
linksCol3: b
|
|
1266
1297
|
});
|
|
1267
1298
|
};
|
|
@@ -1292,7 +1323,7 @@ function on({ children: e, width: s = Pe.Full, demo: o, center: t, className: i,
|
|
|
1292
1323
|
children: e
|
|
1293
1324
|
});
|
|
1294
1325
|
}
|
|
1295
|
-
const
|
|
1326
|
+
const eo = {
|
|
1296
1327
|
Column: sn,
|
|
1297
1328
|
Row: nn,
|
|
1298
1329
|
Width: Pe,
|
|
@@ -1337,14 +1368,14 @@ const Jn = {
|
|
|
1337
1368
|
);`);
|
|
1338
1369
|
}, [o, e, s]), o;
|
|
1339
1370
|
};
|
|
1340
|
-
function
|
|
1341
|
-
const _ = cn(t, n ?? p ?? r),
|
|
1371
|
+
function so({ backgroundColor: e, heading: s, headingLevel: o = "h1", image: t, imageAltText: i = "hero image", imageIsPhoto: n, is5050: r, isJumbo: p, isKnockout: d, subheading: l, subheadingLevel: a = "p", textColor: f, className: b, ...g }) {
|
|
1372
|
+
const _ = cn(t, n ?? p ?? r), L = {
|
|
1342
1373
|
backgroundColor: e
|
|
1343
|
-
},
|
|
1344
|
-
color:
|
|
1345
|
-
},
|
|
1346
|
-
p &&
|
|
1347
|
-
const
|
|
1374
|
+
}, k = {
|
|
1375
|
+
color: f
|
|
1376
|
+
}, x = ["m-hero", b];
|
|
1377
|
+
p && x.push("m-hero--jumbo"), r && x.push("m-hero--50-50"), d && x.push("m-hero--knockout"), n && x.push("m-hero--overlay");
|
|
1378
|
+
const O = {
|
|
1348
1379
|
h1: "1",
|
|
1349
1380
|
h2: "2",
|
|
1350
1381
|
h3: "3",
|
|
@@ -1355,25 +1386,25 @@ function eo({ backgroundColor: e, heading: s, headingLevel: o = "h1", image: t,
|
|
|
1355
1386
|
slug: "slug"
|
|
1356
1387
|
};
|
|
1357
1388
|
return c("div", {
|
|
1358
|
-
className: w(
|
|
1359
|
-
style:
|
|
1360
|
-
...
|
|
1389
|
+
className: w(x),
|
|
1390
|
+
style: L,
|
|
1391
|
+
...g,
|
|
1361
1392
|
children: v("div", {
|
|
1362
1393
|
className: "m-hero__wrapper",
|
|
1363
1394
|
ref: _,
|
|
1364
1395
|
children: [v("div", {
|
|
1365
1396
|
className: "m-hero__text",
|
|
1366
|
-
style:
|
|
1397
|
+
style: k,
|
|
1367
1398
|
children: [c(Ee, {
|
|
1368
1399
|
className: "m-hero__heading",
|
|
1369
|
-
type:
|
|
1400
|
+
type: O[o],
|
|
1370
1401
|
children: s
|
|
1371
1402
|
}), a === "p" ? c("p", {
|
|
1372
1403
|
className: "m-hero__subhead",
|
|
1373
1404
|
children: l
|
|
1374
1405
|
}) : c(Ee, {
|
|
1375
1406
|
className: "m-hero__subhead",
|
|
1376
|
-
type:
|
|
1407
|
+
type: O[a],
|
|
1377
1408
|
children: l
|
|
1378
1409
|
})]
|
|
1379
1410
|
}), c(tn, {
|
|
@@ -1409,7 +1440,7 @@ const rn = ({ children: e, flushBottom: s, flushTopOnSmall: o, flushAllOnSmall:
|
|
|
1409
1440
|
className: "wrapper",
|
|
1410
1441
|
...s,
|
|
1411
1442
|
children: e
|
|
1412
|
-
}),
|
|
1443
|
+
}), no = {
|
|
1413
1444
|
Content: rn,
|
|
1414
1445
|
Main: pn,
|
|
1415
1446
|
Sidebar: dn,
|
|
@@ -1464,7 +1495,7 @@ function fn({ links: e, href: s }) {
|
|
|
1464
1495
|
"aria-expanded": o,
|
|
1465
1496
|
"aria-controls": "nav-links",
|
|
1466
1497
|
type: "button",
|
|
1467
|
-
children: [c(
|
|
1498
|
+
children: [c(C, {
|
|
1468
1499
|
name: o ? "error" : "menu"
|
|
1469
1500
|
}), c("span", {
|
|
1470
1501
|
className: "sr-only",
|
|
@@ -1502,27 +1533,31 @@ c(re, {
|
|
|
1502
1533
|
}, "filing"), c(re, {
|
|
1503
1534
|
className: "nav-item profile",
|
|
1504
1535
|
href: "/profile",
|
|
1505
|
-
|
|
1536
|
+
children: c("span", {
|
|
1537
|
+
children: "John Sample"
|
|
1538
|
+
})
|
|
1506
1539
|
}, "profile"), c(de, {
|
|
1507
|
-
label: "
|
|
1508
|
-
|
|
1540
|
+
label: "LOG OUT",
|
|
1541
|
+
isLink: !0,
|
|
1509
1542
|
onClick: () => {
|
|
1510
1543
|
}
|
|
1511
1544
|
}, "logout");
|
|
1512
|
-
|
|
1545
|
+
const oo = ({ links: e, href: s, withBottomBorder: o = !0 }) => {
|
|
1513
1546
|
const t = ["o-header"];
|
|
1514
|
-
return o && t.push("bottom-border"),
|
|
1515
|
-
className:
|
|
1516
|
-
children:
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1547
|
+
return o && t.push("bottom-border"), c("div", {
|
|
1548
|
+
className: "o-header-scope",
|
|
1549
|
+
children: v("header", {
|
|
1550
|
+
className: w(t),
|
|
1551
|
+
children: [c(Ts, {
|
|
1552
|
+
tagline: "An official website of the United States government"
|
|
1553
|
+
}), c(fn, {
|
|
1554
|
+
links: e,
|
|
1555
|
+
href: s
|
|
1556
|
+
})]
|
|
1557
|
+
})
|
|
1522
1558
|
});
|
|
1523
|
-
}
|
|
1524
|
-
|
|
1525
|
-
asLink: !0,
|
|
1559
|
+
}, V = () => null, j = 1, os = 20, un = () => c(de, {
|
|
1560
|
+
isLink: !0,
|
|
1526
1561
|
className: "m-pagination__btn-submit",
|
|
1527
1562
|
id: "m-pagination__btn-submit-default",
|
|
1528
1563
|
label: "Go",
|
|
@@ -1553,11 +1588,11 @@ const V = () => null, j = 1, os = 20, un = () => c(de, {
|
|
|
1553
1588
|
}, gn = ({ tableId: e, page: s, pageCount: o, onClickPrevious: t = V, onClickNext: i = V, onClickGo: n = V, previousLabel: r = "Previous", nextLabel: p = "Next" }) => {
|
|
1554
1589
|
const [d, l] = ae(s);
|
|
1555
1590
|
Q(() => l(s), [s]);
|
|
1556
|
-
const a = (
|
|
1557
|
-
|
|
1558
|
-
const y = Object.fromEntries(new FormData(
|
|
1591
|
+
const a = (g) => {
|
|
1592
|
+
g.preventDefault();
|
|
1593
|
+
const y = Object.fromEntries(new FormData(g.currentTarget)), _ = Number.parseInt(y.page, 10);
|
|
1559
1594
|
_ !== s && n(_);
|
|
1560
|
-
},
|
|
1595
|
+
}, f = Je(), b = l;
|
|
1561
1596
|
return v("nav", {
|
|
1562
1597
|
className: "m-pagination",
|
|
1563
1598
|
role: "navigation",
|
|
@@ -1579,7 +1614,7 @@ const V = () => null, j = 1, os = 20, un = () => c(de, {
|
|
|
1579
1614
|
action: "#pagination_content",
|
|
1580
1615
|
onSubmit: a,
|
|
1581
1616
|
children: [c(bn, {
|
|
1582
|
-
tableId: e ??
|
|
1617
|
+
tableId: e ?? f,
|
|
1583
1618
|
page: d,
|
|
1584
1619
|
pageCount: o,
|
|
1585
1620
|
onChange: b
|
|
@@ -1599,14 +1634,14 @@ const V = () => null, j = 1, os = 20, un = () => c(de, {
|
|
|
1599
1634
|
onClickGo: V
|
|
1600
1635
|
};
|
|
1601
1636
|
if (!e || !r) return [o, l];
|
|
1602
|
-
const a = p - Ve,
|
|
1637
|
+
const a = p - Ve, f = {
|
|
1603
1638
|
page: p,
|
|
1604
1639
|
pageCount: n,
|
|
1605
1640
|
onClickNext: () => d(Math.min(p + Ve, n)),
|
|
1606
1641
|
onClickPrevious: () => d(Math.max(a, j)),
|
|
1607
1642
|
onClickGo: (_) => d(_)
|
|
1608
|
-
}, b = a * t,
|
|
1609
|
-
return [o.slice(b,
|
|
1643
|
+
}, b = a * t, g = a * t + t;
|
|
1644
|
+
return [o.slice(b, g), f];
|
|
1610
1645
|
};
|
|
1611
1646
|
function Re({ children: e, isLead: s, className: o, ...t }) {
|
|
1612
1647
|
const i = [o];
|
|
@@ -1616,22 +1651,22 @@ function Re({ children: e, isLead: s, className: o, ...t }) {
|
|
|
1616
1651
|
children: e
|
|
1617
1652
|
});
|
|
1618
1653
|
}
|
|
1619
|
-
const vn = ["a-radio"], _n = ["m-form-field m-form-field--radio"],
|
|
1620
|
-
const
|
|
1654
|
+
const vn = ["a-radio"], _n = ["m-form-field m-form-field--radio"], to = ({ id: e, name: s, helperText: o, className: t, disabled: i = !1, isLarge: n = !1, labelClassName: r, isLabelInline: p = !0, label: d, inputRef: l, ...a }) => {
|
|
1655
|
+
const f = [...vn, t].join(" "), b = [..._n, n ? "m-form-field--lg-target" : ""].join(" ");
|
|
1621
1656
|
return v("div", {
|
|
1622
1657
|
className: b,
|
|
1623
1658
|
children: [c("input", {
|
|
1624
1659
|
id: e,
|
|
1625
1660
|
type: "radio",
|
|
1626
1661
|
name: s ?? e,
|
|
1627
|
-
className:
|
|
1662
|
+
className: f,
|
|
1628
1663
|
ref: l,
|
|
1629
1664
|
disabled: i,
|
|
1630
1665
|
...a
|
|
1631
1666
|
}), v(ns, {
|
|
1632
1667
|
htmlFor: e,
|
|
1633
1668
|
className: r,
|
|
1634
|
-
|
|
1669
|
+
isInline: p,
|
|
1635
1670
|
children: [d, c(ss, {
|
|
1636
1671
|
children: o
|
|
1637
1672
|
})]
|
|
@@ -1649,62 +1684,62 @@ function wn(e, s) {
|
|
|
1649
1684
|
function Sn(e, s, o) {
|
|
1650
1685
|
const t = e, i = s, n = o?.maxSelections || ts;
|
|
1651
1686
|
let r = [], p = [], d = [], l = [], a = -1;
|
|
1652
|
-
function
|
|
1687
|
+
function f(S) {
|
|
1653
1688
|
return i + "-" + S.value.trim().replace(/\s+/g, "-").toLowerCase();
|
|
1654
1689
|
}
|
|
1655
1690
|
function b() {
|
|
1656
1691
|
return p.length >= n;
|
|
1657
1692
|
}
|
|
1658
|
-
function
|
|
1693
|
+
function g(S) {
|
|
1659
1694
|
let A;
|
|
1660
|
-
const
|
|
1661
|
-
let
|
|
1662
|
-
for (let
|
|
1663
|
-
A = S[
|
|
1664
|
-
id:
|
|
1695
|
+
const B = [];
|
|
1696
|
+
let N = !1;
|
|
1697
|
+
for (let M = 0, D = S.length; M < D; M++)
|
|
1698
|
+
A = S[M], N = b() ? !1 : A.defaultSelected, B.push({
|
|
1699
|
+
id: f(A),
|
|
1665
1700
|
value: A.value,
|
|
1666
1701
|
text: A.text,
|
|
1667
|
-
checked:
|
|
1668
|
-
}),
|
|
1669
|
-
return
|
|
1702
|
+
checked: N
|
|
1703
|
+
}), N && p.push(M);
|
|
1704
|
+
return B;
|
|
1670
1705
|
}
|
|
1671
1706
|
function y() {
|
|
1672
|
-
return r =
|
|
1707
|
+
return r = g(t), this;
|
|
1673
1708
|
}
|
|
1674
1709
|
function _(S) {
|
|
1675
1710
|
return r[S].checked = !r[S].checked, p.length < n && r[S].checked ? (p.push(S), p.sort(), !0) : (r[S].checked = !1, p = p.filter(function(A) {
|
|
1676
1711
|
return A !== S;
|
|
1677
1712
|
}), !1);
|
|
1678
1713
|
}
|
|
1679
|
-
function
|
|
1680
|
-
return wn(A.text,
|
|
1714
|
+
function L(S, A, B, N) {
|
|
1715
|
+
return wn(A.text, N) && S.push(B), S;
|
|
1681
1716
|
}
|
|
1682
|
-
function
|
|
1683
|
-
return Object.prototype.toString.call(S) !== "[object String]" && (S = ""), l = d, r.length > 0 && (d = r.reduce(function(A,
|
|
1684
|
-
return
|
|
1717
|
+
function k(S) {
|
|
1718
|
+
return Object.prototype.toString.call(S) !== "[object String]" && (S = ""), l = d, r.length > 0 && (d = r.reduce(function(A, B, N) {
|
|
1719
|
+
return L(A, B, N, S);
|
|
1685
1720
|
}, [])), a = -1, d;
|
|
1686
1721
|
}
|
|
1687
|
-
function
|
|
1722
|
+
function x(S) {
|
|
1688
1723
|
return r[S];
|
|
1689
1724
|
}
|
|
1690
|
-
function
|
|
1691
|
-
const A = d.length,
|
|
1692
|
-
S < 0 ? a = -1 : S >=
|
|
1725
|
+
function O(S) {
|
|
1726
|
+
const A = d.length, B = A === 0 ? r.length : A;
|
|
1727
|
+
S < 0 ? a = -1 : S >= B ? a = B - 1 : a = S;
|
|
1693
1728
|
}
|
|
1694
|
-
function
|
|
1729
|
+
function H() {
|
|
1695
1730
|
return a;
|
|
1696
1731
|
}
|
|
1697
1732
|
return this.init = y, this.toggleOption = _, this.getSelectedIndices = function() {
|
|
1698
1733
|
return p;
|
|
1699
|
-
}, this.isAtMaxSelections = b, this.filterIndices =
|
|
1734
|
+
}, this.isAtMaxSelections = b, this.filterIndices = k, this.clearFilter = function() {
|
|
1700
1735
|
return d = l = [], yn;
|
|
1701
1736
|
}, this.getFilterIndices = function() {
|
|
1702
1737
|
return d;
|
|
1703
1738
|
}, this.getLastFilterIndices = function() {
|
|
1704
1739
|
return l;
|
|
1705
|
-
}, this.getIndex =
|
|
1740
|
+
}, this.getIndex = H, this.setIndex = O, this.resetIndex = function() {
|
|
1706
1741
|
return a = -1, a;
|
|
1707
|
-
}, this.getOption =
|
|
1742
|
+
}, this.getOption = x, this;
|
|
1708
1743
|
}
|
|
1709
1744
|
function F(e, s, o) {
|
|
1710
1745
|
const t = document.createElement(e);
|
|
@@ -1713,7 +1748,7 @@ function F(e, s, o) {
|
|
|
1713
1748
|
i in t ? t[i] = n : t.setAttribute(i, n);
|
|
1714
1749
|
}), s && s.appendChild(t), t;
|
|
1715
1750
|
}
|
|
1716
|
-
const Ln = '<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="cf-icon-svg cf-icon-svg--error" viewBox="0 0 12 19"><path d="M11.383 13.644A1.03 1.03 0 0 1 9.928 15.1L6 11.172 2.072 15.1a1.03 1.03 0 1 1-1.455-1.456l3.928-3.928L.617 5.79a1.03 1.03 0 1 1 1.455-1.456L6 8.261l3.928-3.928a1.03 1.03 0 0 1 1.455 1.456L7.455 9.716z"/></svg>', Nn = Ln, P = "o-multiselect", xn = "a-checkbox", kn = "a-text-input", Qe = "prev", ge = "next", Be = "Enter", An = " ", je = "Escape", Cn = "ArrowUp", Ye = "ArrowDown", Ze = "Tab",
|
|
1751
|
+
const Ln = '<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="cf-icon-svg cf-icon-svg--error" viewBox="0 0 12 19"><path d="M11.383 13.644A1.03 1.03 0 0 1 9.928 15.1L6 11.172 2.072 15.1a1.03 1.03 0 1 1-1.455-1.456l3.928-3.928L.617 5.79a1.03 1.03 0 1 1 1.455-1.456L6 8.261l3.928-3.928a1.03 1.03 0 0 1 1.455 1.456L7.455 9.716z"/></svg>', Nn = Ln, P = "o-multiselect", xn = "a-checkbox", kn = "a-text-input", Qe = "prev", ge = "next", Be = "Enter", An = " ", je = "Escape", Cn = "ArrowUp", Ye = "ArrowDown", Ze = "Tab", Ge = {
|
|
1717
1752
|
// TODO: renderTags was added as a workaround for DS icons not rendering correctly when integrating with a React implementation.
|
|
1718
1753
|
renderTags: !0,
|
|
1719
1754
|
// Allow the Multiselect to generate the Tag elements in the DOM
|
|
@@ -1722,34 +1757,34 @@ const Ln = '<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="cf
|
|
|
1722
1757
|
};
|
|
1723
1758
|
function we(e) {
|
|
1724
1759
|
e.classList.add(P);
|
|
1725
|
-
let s = le(e, P), o = !1, t, i, n, r, p, d, l, a,
|
|
1760
|
+
let s = le(e, P), o = !1, t, i, n, r, p, d, l, a, f, b, g;
|
|
1726
1761
|
const y = [];
|
|
1727
1762
|
let _;
|
|
1728
|
-
function
|
|
1729
|
-
|
|
1763
|
+
function L() {
|
|
1764
|
+
g.classList.remove("u-no-results"), g.classList.add("u-filtered");
|
|
1730
1765
|
let m = n.getLastFilterIndices();
|
|
1731
|
-
for (let
|
|
1732
|
-
y[m[
|
|
1766
|
+
for (let u = 0, h = m.length; u < h; u++)
|
|
1767
|
+
y[m[u]].classList.remove("u-filter-match");
|
|
1733
1768
|
m = n.getFilterIndices();
|
|
1734
|
-
for (let
|
|
1735
|
-
y[m[
|
|
1769
|
+
for (let u = 0, h = m.length; u < h; u++)
|
|
1770
|
+
y[m[u]].classList.add("u-filter-match");
|
|
1736
1771
|
}
|
|
1737
|
-
function
|
|
1738
|
-
|
|
1739
|
-
for (let m = 0,
|
|
1740
|
-
|
|
1772
|
+
function k() {
|
|
1773
|
+
g.classList.remove("u-filtered", "u-no-results");
|
|
1774
|
+
for (let m = 0, u = g.children.length; m < u; m++)
|
|
1775
|
+
g.children[m].classList.remove("u-filter-match");
|
|
1741
1776
|
n.clearFilter();
|
|
1742
1777
|
}
|
|
1743
|
-
function
|
|
1744
|
-
|
|
1778
|
+
function x() {
|
|
1779
|
+
g.classList.add("u-no-results"), g.classList.remove("u-filtered");
|
|
1745
1780
|
}
|
|
1746
|
-
function
|
|
1747
|
-
return m.length > 0 ? (
|
|
1781
|
+
function O(m) {
|
|
1782
|
+
return m.length > 0 ? (L(), !0) : (x(), !1);
|
|
1748
1783
|
}
|
|
1749
|
-
function
|
|
1750
|
-
|
|
1751
|
-
const
|
|
1752
|
-
|
|
1784
|
+
function H(m) {
|
|
1785
|
+
k(), n.resetIndex();
|
|
1786
|
+
const u = n.filterIndices(m);
|
|
1787
|
+
O(u);
|
|
1753
1788
|
}
|
|
1754
1789
|
function S() {
|
|
1755
1790
|
return d.classList.add("u-active"), b.classList.remove("u-invisible"), b.setAttribute("aria-hidden", !1), _.dispatchEvent("expandbegin", { target: _ }), _;
|
|
@@ -1757,105 +1792,105 @@ function we(e) {
|
|
|
1757
1792
|
function A() {
|
|
1758
1793
|
return d.classList.remove("u-active"), b.classList.add("u-invisible"), b.setAttribute("aria-hidden", !0), n.resetIndex(), _.dispatchEvent("collapsebegin", { target: _ }), _;
|
|
1759
1794
|
}
|
|
1760
|
-
function
|
|
1795
|
+
function B(m) {
|
|
1761
1796
|
m === ge ? n.setIndex(n.getIndex() + 1) : m === Qe && n.setIndex(n.getIndex() - 1);
|
|
1762
|
-
const
|
|
1763
|
-
if (
|
|
1764
|
-
let
|
|
1797
|
+
const u = n.getIndex();
|
|
1798
|
+
if (u > -1) {
|
|
1799
|
+
let h = u;
|
|
1765
1800
|
const E = n.getFilterIndices();
|
|
1766
|
-
E.length > 0 && (
|
|
1767
|
-
const $ = n.getOption(
|
|
1801
|
+
E.length > 0 && (h = E[u]);
|
|
1802
|
+
const $ = n.getOption(h).value, ps = g.querySelector('[data-option="' + $ + '"]').querySelector("input");
|
|
1768
1803
|
o = !0, ps.focus();
|
|
1769
1804
|
} else
|
|
1770
|
-
o = !1,
|
|
1805
|
+
o = !1, f.focus();
|
|
1771
1806
|
}
|
|
1772
|
-
function
|
|
1773
|
-
|
|
1807
|
+
function N() {
|
|
1808
|
+
f.value = "", k();
|
|
1774
1809
|
}
|
|
1775
|
-
function
|
|
1776
|
-
const
|
|
1777
|
-
|
|
1810
|
+
function M(m) {
|
|
1811
|
+
const u = m.target;
|
|
1812
|
+
u.tagName === "BUTTON" && (m.preventDefault(), u.removeEventListener("click", M), u.querySelector("label").click());
|
|
1778
1813
|
}
|
|
1779
1814
|
function D(m) {
|
|
1780
1815
|
if (m.key === An || m.key === Be) {
|
|
1781
|
-
const
|
|
1782
|
-
|
|
1783
|
-
"#" +
|
|
1816
|
+
const u = m.target.querySelector("label");
|
|
1817
|
+
g.querySelector(
|
|
1818
|
+
"#" + u.getAttribute("for")
|
|
1784
1819
|
).click();
|
|
1785
1820
|
}
|
|
1786
1821
|
}
|
|
1787
1822
|
function q(m) {
|
|
1788
1823
|
return t + "-" + m.value.trim().replace(/[^\w]/g, "-").toLowerCase();
|
|
1789
1824
|
}
|
|
1790
|
-
function z(m,
|
|
1791
|
-
const
|
|
1792
|
-
"data-option":
|
|
1793
|
-
}),
|
|
1825
|
+
function z(m, u) {
|
|
1826
|
+
const h = q(u), E = F("li", null, {
|
|
1827
|
+
"data-option": u.value
|
|
1828
|
+
}), T = F("button", E, {
|
|
1794
1829
|
type: "button",
|
|
1795
1830
|
class: "a-tag-filter",
|
|
1796
|
-
innerHTML: "<label for=" +
|
|
1831
|
+
innerHTML: "<label for=" + h + ">" + u.text + Nn + "</label>"
|
|
1797
1832
|
});
|
|
1798
|
-
m.appendChild(E),
|
|
1833
|
+
m.appendChild(E), T.addEventListener("click", M), T.addEventListener(
|
|
1799
1834
|
"keydown",
|
|
1800
1835
|
D
|
|
1801
1836
|
);
|
|
1802
1837
|
}
|
|
1803
1838
|
function fe(m) {
|
|
1804
|
-
const
|
|
1805
|
-
if (
|
|
1806
|
-
if (
|
|
1807
|
-
|
|
1808
|
-
const
|
|
1839
|
+
const u = n.getOption(m) || n.getOption(n.getIndex());
|
|
1840
|
+
if (u) {
|
|
1841
|
+
if (u.checked) {
|
|
1842
|
+
g.classList.contains("u-max-selections") && g.classList.remove("u-max-selections");
|
|
1843
|
+
const h = '[data-option="' + u.value + '"]', E = l.querySelector(h);
|
|
1809
1844
|
typeof E < "u" && E && l?.removeChild(E);
|
|
1810
|
-
} else p?.renderTags && l && z(l,
|
|
1811
|
-
n.toggleOption(m), n.isAtMaxSelections() &&
|
|
1845
|
+
} else p?.renderTags && l && z(l, u);
|
|
1846
|
+
n.toggleOption(m), n.isAtMaxSelections() && g.classList.add("u-max-selections"), _.dispatchEvent("selectionsupdated", { target: _ });
|
|
1812
1847
|
}
|
|
1813
|
-
n.resetIndex(), o = !1, b.getAttribute("aria-hidden") === "false" &&
|
|
1848
|
+
n.resetIndex(), o = !1, b.getAttribute("aria-hidden") === "false" && f.focus();
|
|
1814
1849
|
}
|
|
1815
1850
|
function ke(m) {
|
|
1816
|
-
fe(Number(m.target.getAttribute("data-index"))),
|
|
1851
|
+
fe(Number(m.target.getAttribute("data-index"))), N();
|
|
1817
1852
|
}
|
|
1818
1853
|
function Ae() {
|
|
1819
|
-
a.addEventListener("mousemove", function(
|
|
1820
|
-
const E =
|
|
1821
|
-
|
|
1822
|
-
}), a.addEventListener("mouseup", function(
|
|
1823
|
-
const E =
|
|
1824
|
-
|
|
1825
|
-
}),
|
|
1826
|
-
|
|
1827
|
-
}),
|
|
1854
|
+
a.addEventListener("mousemove", function(h) {
|
|
1855
|
+
const E = h.target;
|
|
1856
|
+
h.offsetX > E.offsetWidth - 35 ? E.style.cursor = "pointer" : E.style.cursor = "auto";
|
|
1857
|
+
}), a.addEventListener("mouseup", function(h) {
|
|
1858
|
+
const E = h.target;
|
|
1859
|
+
h.offsetX > E.offsetWidth - 35 && b.offsetHeight === 140 && f.blur();
|
|
1860
|
+
}), f.addEventListener("input", function() {
|
|
1861
|
+
H(this.value);
|
|
1862
|
+
}), f.addEventListener("focus", function() {
|
|
1828
1863
|
b.getAttribute("aria-hidden") === "true" && S();
|
|
1829
|
-
}),
|
|
1864
|
+
}), f.addEventListener("blur", function() {
|
|
1830
1865
|
!o && b.getAttribute("aria-hidden") === "false" && A();
|
|
1831
|
-
}),
|
|
1832
|
-
const E =
|
|
1833
|
-
b.getAttribute("aria-hidden") === "true" && E !== Ze && S(), E === Be ? (
|
|
1834
|
-
}),
|
|
1866
|
+
}), f.addEventListener("keydown", function(h) {
|
|
1867
|
+
const E = h.key;
|
|
1868
|
+
b.getAttribute("aria-hidden") === "true" && E !== Ze && S(), E === Be ? (h.preventDefault(), B(ge)) : E === je ? (N(), A()) : E === Ye ? B(ge) : E === Ze && !h.shiftKey && b.getAttribute("aria-hidden") === "false" && A();
|
|
1869
|
+
}), g.addEventListener("mousedown", function() {
|
|
1835
1870
|
o = !0;
|
|
1836
|
-
}),
|
|
1837
|
-
const E =
|
|
1871
|
+
}), g.addEventListener("keydown", function(h) {
|
|
1872
|
+
const E = h.key, T = h.target, $ = T.checked;
|
|
1838
1873
|
if (E === Be) {
|
|
1839
|
-
|
|
1874
|
+
h.preventDefault(), T.checked = !$;
|
|
1840
1875
|
const R = new Event("change", { bubbles: !1, cancelable: !0 });
|
|
1841
|
-
|
|
1842
|
-
} else E === je ? (
|
|
1843
|
-
}), b.addEventListener("mousedown", function(
|
|
1844
|
-
|
|
1876
|
+
T.dispatchEvent(R);
|
|
1877
|
+
} else E === je ? (f.focus(), A()) : E === Cn ? B(Qe) : E === Ye && B(ge);
|
|
1878
|
+
}), b.addEventListener("mousedown", function(h) {
|
|
1879
|
+
h.target.tagName === "LABEL" && (o = !0);
|
|
1845
1880
|
});
|
|
1846
|
-
const m =
|
|
1847
|
-
for (let
|
|
1848
|
-
m[
|
|
1849
|
-
const
|
|
1850
|
-
for (let
|
|
1851
|
-
|
|
1881
|
+
const m = g.querySelectorAll("input");
|
|
1882
|
+
for (let h = 0, E = m.length; h < E; h++)
|
|
1883
|
+
m[h].addEventListener("change", ke);
|
|
1884
|
+
const u = l.querySelectorAll("button");
|
|
1885
|
+
for (let h = 0, E = u.length; h < E; h++)
|
|
1886
|
+
u[h].addEventListener("click", M), u[h].addEventListener("keydown", D);
|
|
1852
1887
|
}
|
|
1853
1888
|
function ue() {
|
|
1854
1889
|
d = document.createElement("div"), d.className = P, l = F("ul", null, {
|
|
1855
1890
|
className: "m-tag-group"
|
|
1856
1891
|
}), a = F("header", d, {
|
|
1857
1892
|
className: P + "__header"
|
|
1858
|
-
}),
|
|
1893
|
+
}), f = F("input", a, {
|
|
1859
1894
|
className: P + "__search " + kn,
|
|
1860
1895
|
type: "text",
|
|
1861
1896
|
placeholder: i || "Select up to five",
|
|
@@ -1866,43 +1901,43 @@ function we(e) {
|
|
|
1866
1901
|
"aria-hidden": "true"
|
|
1867
1902
|
});
|
|
1868
1903
|
let m = P + "__options";
|
|
1869
|
-
n.isAtMaxSelections() && (m += " u-max-selections"),
|
|
1904
|
+
n.isAtMaxSelections() && (m += " u-max-selections"), g = F("ul", b, {
|
|
1870
1905
|
className: m
|
|
1871
1906
|
});
|
|
1872
|
-
let
|
|
1873
|
-
for (let
|
|
1874
|
-
|
|
1875
|
-
const R = F("li",
|
|
1876
|
-
"data-option":
|
|
1907
|
+
let u, h, E;
|
|
1908
|
+
for (let T = 0, $ = r.length; T < $; T++) {
|
|
1909
|
+
u = r[T], h = q(u), E = n.getOption(T).checked;
|
|
1910
|
+
const R = F("li", g, {
|
|
1911
|
+
"data-option": u.value,
|
|
1877
1912
|
"data-cy": "multiselect-option",
|
|
1878
1913
|
class: "m-form-field m-form-field--checkbox"
|
|
1879
1914
|
});
|
|
1880
1915
|
F("input", R, {
|
|
1881
|
-
id:
|
|
1916
|
+
id: h,
|
|
1882
1917
|
// Type must come before value or IE fails
|
|
1883
1918
|
type: "checkbox",
|
|
1884
|
-
value:
|
|
1919
|
+
value: u.value,
|
|
1885
1920
|
name: t,
|
|
1886
1921
|
class: xn + " " + P + "__checkbox",
|
|
1887
1922
|
checked: E,
|
|
1888
|
-
"data-index":
|
|
1923
|
+
"data-index": T
|
|
1889
1924
|
}), F("label", R, {
|
|
1890
|
-
for:
|
|
1891
|
-
textContent:
|
|
1925
|
+
for: h,
|
|
1926
|
+
textContent: u.text,
|
|
1892
1927
|
className: P + "__label a-label"
|
|
1893
|
-
}), y.push(R), E && p?.renderTags && z(l,
|
|
1928
|
+
}), y.push(R), E && p?.renderTags && z(l, u);
|
|
1894
1929
|
}
|
|
1895
1930
|
return d.insertBefore(l, a), s.parentNode.insertBefore(d, s), d.appendChild(s), d;
|
|
1896
1931
|
}
|
|
1897
|
-
function Ce(m =
|
|
1932
|
+
function Ce(m = Ge) {
|
|
1898
1933
|
if (!oe(s))
|
|
1899
1934
|
return this;
|
|
1900
1935
|
if (Zs())
|
|
1901
1936
|
return this;
|
|
1902
|
-
if (_ = this, t = s.name || s.id, i = s.getAttribute("data-placeholder"), r = s.options || [], p = { ...
|
|
1937
|
+
if (_ = this, t = s.name || s.id, i = s.getAttribute("data-placeholder"), r = s.options || [], p = { ...Ge, ...m }, r.length > 0) {
|
|
1903
1938
|
n = new Sn(r, t, p).init();
|
|
1904
|
-
const
|
|
1905
|
-
s.parentNode.removeChild(s), s =
|
|
1939
|
+
const u = ue();
|
|
1940
|
+
s.parentNode.removeChild(s), s = u, oe(s), Ae();
|
|
1906
1941
|
}
|
|
1907
1942
|
return this;
|
|
1908
1943
|
}
|
|
@@ -1910,8 +1945,8 @@ function we(e) {
|
|
|
1910
1945
|
return n;
|
|
1911
1946
|
}
|
|
1912
1947
|
this.init = Ce, this.expand = S, this.collapse = A;
|
|
1913
|
-
const
|
|
1914
|
-
return this.addEventListener =
|
|
1948
|
+
const G = new ce();
|
|
1949
|
+
return this.addEventListener = G.addEventListener, this.removeEventListener = G.removeEventListener, this.dispatchEvent = G.dispatchEvent, this.getModel = Te, this.updateSelections = fe, this.selectionClickHandler = M, this.selectionKeyDownHandler = D, this;
|
|
1915
1950
|
}
|
|
1916
1951
|
we.BASE_CLASS = P;
|
|
1917
1952
|
we.init = (e) => me(`.${P}`, we, void 0, e);
|
|
@@ -1928,17 +1963,17 @@ const cs = (e, s) => {
|
|
|
1928
1963
|
}, Tn = (e, s) => e.find((o) => o.value === s), In = 5, On = ({ id: e, options: s, label: o, onChange: t = V, defaultOptionLabel: i = "-- select an option --", maxSelections: n = In, ...r }) => {
|
|
1929
1964
|
const [p, d] = ae([]), l = Xe(null);
|
|
1930
1965
|
return Q(() => {
|
|
1931
|
-
const
|
|
1966
|
+
const f = new we(l.current).init({
|
|
1932
1967
|
maxSelections: n,
|
|
1933
1968
|
renderTags: !0
|
|
1934
1969
|
}), b = () => {
|
|
1935
|
-
const y =
|
|
1970
|
+
const y = f.getModel().getSelectedIndices();
|
|
1936
1971
|
d([...y]);
|
|
1937
|
-
},
|
|
1938
|
-
return
|
|
1972
|
+
}, g = "selectionsupdated";
|
|
1973
|
+
return f.addEventListener(g, b), () => f.removeEventListener(g, b);
|
|
1939
1974
|
}, [n]), Q(() => {
|
|
1940
|
-
const a = p.map((
|
|
1941
|
-
...s[
|
|
1975
|
+
const a = p.map((f) => ({
|
|
1976
|
+
...s[f],
|
|
1942
1977
|
selected: !0
|
|
1943
1978
|
}));
|
|
1944
1979
|
t(a);
|
|
@@ -1982,14 +2017,14 @@ const cs = (e, s) => {
|
|
|
1982
2017
|
})
|
|
1983
2018
|
})]
|
|
1984
2019
|
});
|
|
1985
|
-
},
|
|
2020
|
+
}, co = ({ isMulti: e = !1, onChange: s = () => null, ...o }) => e ? c(On, {
|
|
1986
2021
|
onChange: s,
|
|
1987
2022
|
...o
|
|
1988
2023
|
}) : c(Bn, {
|
|
1989
2024
|
onChange: s,
|
|
1990
2025
|
...o
|
|
1991
2026
|
});
|
|
1992
|
-
function
|
|
2027
|
+
function io({ href: e = "#main", text: s = "Skip to main content" }) {
|
|
1993
2028
|
return c("div", {
|
|
1994
2029
|
className: "skip-nav",
|
|
1995
2030
|
children: c("a", {
|
|
@@ -1999,7 +2034,7 @@ function co({ href: e = "#main", text: s = "Skip to main content" }) {
|
|
|
1999
2034
|
})
|
|
2000
2035
|
});
|
|
2001
2036
|
}
|
|
2002
|
-
const
|
|
2037
|
+
const ro = ({ children: e, label: s = "Show full text", isMobileOnly: o = !1, isMinimal: t = !1, className: i = "", ...n }) => {
|
|
2003
2038
|
Q(() => {
|
|
2004
2039
|
t ? ye.init() : _e.init(), document.readyState === "complete" && globalThis.dispatchEvent(new Event("load"));
|
|
2005
2040
|
}, [t]);
|
|
@@ -2016,21 +2051,21 @@ const io = ({ children: e, label: s = "Show full text", isMobileOnly: o = !1, is
|
|
|
2016
2051
|
children: t ? v(ne, {
|
|
2017
2052
|
children: [v("span", {
|
|
2018
2053
|
className: "o-summary-minimal__cue-open",
|
|
2019
|
-
children: ["Show ", c(
|
|
2054
|
+
children: ["Show ", c(C, {
|
|
2020
2055
|
name: "plus",
|
|
2021
2056
|
isPresentational: !0,
|
|
2022
2057
|
withBg: !0
|
|
2023
2058
|
})]
|
|
2024
2059
|
}), v("span", {
|
|
2025
2060
|
className: "o-summary-minimal__cue-close",
|
|
2026
|
-
children: ["Hide ", c(
|
|
2061
|
+
children: ["Hide ", c(C, {
|
|
2027
2062
|
name: "minus",
|
|
2028
2063
|
isPresentational: !0,
|
|
2029
2064
|
withBg: !0
|
|
2030
2065
|
})]
|
|
2031
2066
|
})]
|
|
2032
2067
|
}) : v(ne, {
|
|
2033
|
-
children: [s, c(
|
|
2068
|
+
children: [s, c(C, {
|
|
2034
2069
|
name: "plus",
|
|
2035
2070
|
isPresentational: !0,
|
|
2036
2071
|
withBg: !0
|
|
@@ -2066,7 +2101,7 @@ const io = ({ children: e, label: s = "Show full text", isMobileOnly: o = !1, is
|
|
|
2066
2101
|
return c("tr", {
|
|
2067
2102
|
children: o.map((n, r) => {
|
|
2068
2103
|
const p = s[r], d = `row-${t}-col-${r}`;
|
|
2069
|
-
return
|
|
2104
|
+
return Ke("td", {
|
|
2070
2105
|
...Mn(p),
|
|
2071
2106
|
key: d
|
|
2072
2107
|
}, n);
|
|
@@ -2075,33 +2110,33 @@ const io = ({ children: e, label: s = "Show full text", isMobileOnly: o = !1, is
|
|
|
2075
2110
|
})
|
|
2076
2111
|
}), Pn = ({ children: e }) => e ? c("caption", {
|
|
2077
2112
|
children: e
|
|
2078
|
-
}) : null, Rn = Se(({ id: e, caption: s, columns: o, rows: t, isResponsive: i = !1, isScrollableHorizontal: n = !1, isStriped: r = !1, isPaginated: p = !1, startPage: d = j, perPage: l = os, className: a, divRef:
|
|
2079
|
-
const [_,
|
|
2113
|
+
}) : null, Rn = Se(({ id: e, caption: s, columns: o, rows: t, isResponsive: i = !1, isScrollableHorizontal: n = !1, isStriped: r = !1, isPaginated: p = !1, startPage: d = j, perPage: l = os, className: a, divRef: f, tableRef: b, ...g }, y) => {
|
|
2114
|
+
const [_, L] = hn({
|
|
2080
2115
|
rows: t,
|
|
2081
2116
|
isPaginated: p,
|
|
2082
2117
|
startPage: d,
|
|
2083
2118
|
perPage: l
|
|
2084
|
-
}),
|
|
2085
|
-
i &&
|
|
2086
|
-
const
|
|
2119
|
+
}), k = Je(), x = [];
|
|
2120
|
+
i && x.push("o-table o-table--stack-on-small"), r && x.push("o-table--striped"), p && x.push("u-w100pct"), a && x.push(a);
|
|
2121
|
+
const O = v(ne, {
|
|
2087
2122
|
children: [v("table", {
|
|
2088
|
-
className: w(
|
|
2123
|
+
className: w(x),
|
|
2089
2124
|
ref: b,
|
|
2090
|
-
id: e ??
|
|
2091
|
-
...
|
|
2125
|
+
id: e ?? k,
|
|
2126
|
+
...g,
|
|
2092
2127
|
children: [c(Pn, {
|
|
2093
2128
|
children: s
|
|
2094
2129
|
}), Hn(o), Dn(_, o)]
|
|
2095
2130
|
}), p ? c(gn, {
|
|
2096
|
-
...
|
|
2097
|
-
tableId: e ??
|
|
2131
|
+
...L,
|
|
2132
|
+
tableId: e ?? k
|
|
2098
2133
|
}) : null]
|
|
2099
2134
|
});
|
|
2100
2135
|
return n ? c("div", {
|
|
2101
2136
|
className: "o-table o-table-wrapper--scrolling",
|
|
2102
|
-
ref: y ??
|
|
2103
|
-
children:
|
|
2104
|
-
}) :
|
|
2137
|
+
ref: y ?? f,
|
|
2138
|
+
children: O
|
|
2139
|
+
}) : O;
|
|
2105
2140
|
});
|
|
2106
2141
|
Rn.displayName = "Table";
|
|
2107
2142
|
const Fn = {
|
|
@@ -2109,10 +2144,10 @@ const Fn = {
|
|
|
2109
2144
|
error: "a-text-input--error",
|
|
2110
2145
|
warning: "a-text-input--warning",
|
|
2111
2146
|
info: "a-text-input--info"
|
|
2112
|
-
}, is = (e) => Fn[e],
|
|
2113
|
-
const l = (
|
|
2114
|
-
|
|
2115
|
-
}, a = ["a-text-input", is(o), i ? "a-text-input--full" : "", s || ""].filter((
|
|
2147
|
+
}, is = (e) => Fn[e], po = Se(({ id: e, className: s = "", status: o = "info", placeholder: t = "Placeholder text", isFullWidth: i = !1, isDisabled: n = !1, onChange: r = V, ...p }, d) => {
|
|
2148
|
+
const l = (f) => {
|
|
2149
|
+
f.preventDefault(), r(f.target.value);
|
|
2150
|
+
}, a = ["a-text-input", is(o), i ? "a-text-input--full" : "", s || ""].filter((f) => f.length);
|
|
2116
2151
|
return c("div", {
|
|
2117
2152
|
className: "m-form-field",
|
|
2118
2153
|
children: c("textarea", {
|
|
@@ -2125,7 +2160,7 @@ const Fn = {
|
|
|
2125
2160
|
...p
|
|
2126
2161
|
})
|
|
2127
2162
|
});
|
|
2128
|
-
}),
|
|
2163
|
+
}), ao = Se(({ className: e, id: s, inputRef: o, isDisabled: t = !1, name: i, status: n = "info", type: r = "text", isFullWidth: p = !1, ...d }, l) => {
|
|
2129
2164
|
const a = ["a-text-input", e, is(n)];
|
|
2130
2165
|
return p ? (a.push("a-text-input--full"), c("div", {
|
|
2131
2166
|
className: "m-form-field",
|
|
@@ -2175,24 +2210,24 @@ Z.Container = ({ className: e, children: s, ...o }) => c("div", {
|
|
|
2175
2210
|
...o,
|
|
2176
2211
|
children: s
|
|
2177
2212
|
});
|
|
2178
|
-
const
|
|
2213
|
+
const lo = Z.Container;
|
|
2179
2214
|
Z.Heading = ({ children: e }) => c(Ee, {
|
|
2180
2215
|
type: "1",
|
|
2181
2216
|
children: e
|
|
2182
2217
|
});
|
|
2183
|
-
const
|
|
2218
|
+
const mo = Z.Heading;
|
|
2184
2219
|
Z.Description = ({ children: e }) => rs(e);
|
|
2185
|
-
const
|
|
2220
|
+
const fo = Z.Description;
|
|
2186
2221
|
Z.Subheading = ({ children: e }) => c(Re, {
|
|
2187
2222
|
isLead: !0,
|
|
2188
2223
|
children: e
|
|
2189
2224
|
});
|
|
2190
|
-
const
|
|
2225
|
+
const uo = Z.Subheading, Wn = ({ children: e, className: s = "", ...o }) => c("div", {
|
|
2191
2226
|
className: `o-well ${s}`,
|
|
2192
2227
|
...o,
|
|
2193
2228
|
children: e
|
|
2194
2229
|
});
|
|
2195
|
-
function
|
|
2230
|
+
function bo({ heading: e, headingLevel: s = "h3", links: o, text: t, className: i = "", ...n }) {
|
|
2196
2231
|
const r = [];
|
|
2197
2232
|
if (o) for (const p of o)
|
|
2198
2233
|
r.push(c(Le, {
|
|
@@ -2221,44 +2256,45 @@ export {
|
|
|
2221
2256
|
de as Button,
|
|
2222
2257
|
Yn as ButtonGroup,
|
|
2223
2258
|
Zn as Checkbox,
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2259
|
+
Gn as Divider,
|
|
2260
|
+
Kn as Expandable,
|
|
2261
|
+
Xn as ExpandableGroup,
|
|
2262
|
+
zn as Fieldset,
|
|
2227
2263
|
en as Footer,
|
|
2228
|
-
|
|
2229
|
-
|
|
2264
|
+
Jn as FooterCfGov,
|
|
2265
|
+
eo as Grid,
|
|
2266
|
+
oo as Header,
|
|
2230
2267
|
Ee as Heading,
|
|
2231
|
-
|
|
2232
|
-
|
|
2268
|
+
so as Hero,
|
|
2269
|
+
C as Icon,
|
|
2233
2270
|
ns as Label,
|
|
2234
2271
|
Qn as LanguageLink,
|
|
2235
|
-
|
|
2272
|
+
no as Layout,
|
|
2236
2273
|
re as Link,
|
|
2237
2274
|
Ls as LinkText,
|
|
2238
2275
|
te as List,
|
|
2239
2276
|
Le as ListItem,
|
|
2240
2277
|
Me as ListItemBuilder,
|
|
2241
2278
|
Ns as ListLink,
|
|
2242
|
-
no as PageHeader,
|
|
2243
2279
|
gn as Pagination,
|
|
2244
2280
|
Re as Paragraph,
|
|
2245
|
-
|
|
2281
|
+
to as RadioButton,
|
|
2246
2282
|
fn as ResponsiveMenu,
|
|
2247
|
-
|
|
2283
|
+
co as Select,
|
|
2248
2284
|
On as SelectMulti,
|
|
2249
2285
|
Bn as SelectSingle,
|
|
2250
|
-
|
|
2251
|
-
|
|
2286
|
+
io as SkipNav,
|
|
2287
|
+
ro as Summary,
|
|
2252
2288
|
Rn as Table,
|
|
2253
2289
|
As as Tagline,
|
|
2254
|
-
|
|
2255
|
-
|
|
2290
|
+
po as TextArea,
|
|
2291
|
+
ao as TextInput,
|
|
2256
2292
|
Z as TextIntroduction,
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2293
|
+
lo as TextIntroductionContainer,
|
|
2294
|
+
fo as TextIntroductionDescription,
|
|
2295
|
+
mo as TextIntroductionHeading,
|
|
2296
|
+
uo as TextIntroductionSubheading,
|
|
2261
2297
|
Wn as WellContainer,
|
|
2262
|
-
|
|
2298
|
+
bo as WellContent,
|
|
2263
2299
|
hn as usePagination
|
|
2264
2300
|
};
|