@apolitical/component-library 3.3.2 → 3.3.3
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/index.js +15 -15
- package/index.mjs +168 -168
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -11,8 +11,8 @@ import { CookiesProvider as $s, useCookies as oa } from "react-cookie";
|
|
|
11
11
|
import { ReactMultiEmail as Ns } from "react-multi-email";
|
|
12
12
|
import ca from "lodash.get";
|
|
13
13
|
import { ErrorBoundary as Ps } from "react-error-boundary";
|
|
14
|
-
import
|
|
15
|
-
import
|
|
14
|
+
import Ms from "react-textarea-autosize";
|
|
15
|
+
import Rs from "lodash.isequal";
|
|
16
16
|
function la(t) {
|
|
17
17
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
18
18
|
}
|
|
@@ -155,14 +155,14 @@ function Is() {
|
|
|
155
155
|
me.unshift("Warning: " + P), Function.prototype.apply.call(console[h], console, me);
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
|
-
var k = !1, x = !1, D = !1,
|
|
159
|
-
|
|
158
|
+
var k = !1, x = !1, D = !1, R = !1, Z = !1, M;
|
|
159
|
+
M = Symbol.for("react.module.reference");
|
|
160
160
|
function O(h) {
|
|
161
|
-
return !!(typeof h == "string" || typeof h == "function" || h === r || h === i || Z || h === s || h === l || h === d ||
|
|
161
|
+
return !!(typeof h == "string" || typeof h == "function" || h === r || h === i || Z || h === s || h === l || h === d || R || h === p || k || x || D || typeof h == "object" && h !== null && (h.$$typeof === m || h.$$typeof === u || h.$$typeof === o || h.$$typeof === c || h.$$typeof === f || // This needs to include all possible module reference object
|
|
162
162
|
// types supported by any Flight configuration anywhere since
|
|
163
163
|
// we don't know which Flight build this will end up being used
|
|
164
164
|
// with.
|
|
165
|
-
h.$$typeof ===
|
|
165
|
+
h.$$typeof === M || h.getModuleId !== void 0));
|
|
166
166
|
}
|
|
167
167
|
function C(h, P, B) {
|
|
168
168
|
var ne = h.displayName;
|
|
@@ -754,17 +754,17 @@ function Bs(t, e, n) {
|
|
|
754
754
|
return !1;
|
|
755
755
|
var C = O - s.current;
|
|
756
756
|
return !s.current || C >= e || C < 0 || y && O - i.current >= b;
|
|
757
|
-
},
|
|
757
|
+
}, R = function(O) {
|
|
758
758
|
return o.current = null, _ && c.current ? k(O) : (c.current = f.current = null, l.current);
|
|
759
759
|
}, Z = function O() {
|
|
760
760
|
var C = Date.now();
|
|
761
761
|
if (D(C))
|
|
762
|
-
return
|
|
762
|
+
return R(C);
|
|
763
763
|
if (u.current) {
|
|
764
764
|
var E = e - (C - s.current), w = y ? Math.min(E, b - (C - i.current)) : E;
|
|
765
765
|
x(O, w);
|
|
766
766
|
}
|
|
767
|
-
},
|
|
767
|
+
}, M = function() {
|
|
768
768
|
if (m || v) {
|
|
769
769
|
var O = Date.now(), C = D(O);
|
|
770
770
|
if (c.current = [].slice.call(arguments), f.current = r, s.current = O, C) {
|
|
@@ -776,13 +776,13 @@ function Bs(t, e, n) {
|
|
|
776
776
|
return o.current || x(Z, e), l.current;
|
|
777
777
|
}
|
|
778
778
|
};
|
|
779
|
-
return
|
|
779
|
+
return M.cancel = function() {
|
|
780
780
|
o.current && (p ? cancelAnimationFrame(o.current) : clearTimeout(o.current)), i.current = 0, c.current = s.current = f.current = o.current = null;
|
|
781
|
-
},
|
|
781
|
+
}, M.isPending = function() {
|
|
782
782
|
return !!o.current;
|
|
783
|
-
},
|
|
784
|
-
return o.current ?
|
|
785
|
-
},
|
|
783
|
+
}, M.flush = function() {
|
|
784
|
+
return o.current ? R(Date.now()) : l.current;
|
|
785
|
+
}, M;
|
|
786
786
|
}, [g, y, e, b, _, p, m, v]);
|
|
787
787
|
return j;
|
|
788
788
|
}
|
|
@@ -1684,7 +1684,7 @@ const Pl = ({ currentStep: t = 1, steps: e = 1 }) => /* @__PURE__ */ a.jsxs(a.Fr
|
|
|
1684
1684
|
] }, r);
|
|
1685
1685
|
}) }) })
|
|
1686
1686
|
] });
|
|
1687
|
-
const
|
|
1687
|
+
const Ml = ({ elementId: t, offset: e = 20 }) => {
|
|
1688
1688
|
const n = V(), r = () => {
|
|
1689
1689
|
const s = document.getElementById(t);
|
|
1690
1690
|
if (!s)
|
|
@@ -1897,7 +1897,7 @@ const ci = ({
|
|
|
1897
1897
|
}
|
|
1898
1898
|
) : /* @__PURE__ */ a.jsx("p", { children: r })
|
|
1899
1899
|
] });
|
|
1900
|
-
const
|
|
1900
|
+
const Rl = ({
|
|
1901
1901
|
className: t = "",
|
|
1902
1902
|
show: e = !1,
|
|
1903
1903
|
hide: n = !1,
|
|
@@ -2706,7 +2706,7 @@ const Pi = ({
|
|
|
2706
2706
|
}
|
|
2707
2707
|
);
|
|
2708
2708
|
}, _a = De(Pi);
|
|
2709
|
-
const vn = "loadingBlock_",
|
|
2709
|
+
const vn = "loadingBlock_", Mi = ({ progress: t = 0, steps: e = !1, className: n = "" }) => {
|
|
2710
2710
|
const r = V();
|
|
2711
2711
|
e || (e = {
|
|
2712
2712
|
0: { text: r.formatMessage({ id: `${vn}loading` }) },
|
|
@@ -2734,7 +2734,7 @@ const vn = "loadingBlock_", Ri = ({ progress: t = 0, steps: e = !1, className: n
|
|
|
2734
2734
|
]
|
|
2735
2735
|
}
|
|
2736
2736
|
);
|
|
2737
|
-
}, Hl = De(
|
|
2737
|
+
}, Hl = De(Mi);
|
|
2738
2738
|
const Se = ({ element: t = "div", className: e = "", ...n }) => /* @__PURE__ */ a.jsx(
|
|
2739
2739
|
Gn,
|
|
2740
2740
|
{
|
|
@@ -2795,7 +2795,7 @@ const zn = {
|
|
|
2795
2795
|
}, xa = (t, e) => t in zn ? /* @__PURE__ */ a.jsx("div", { className: t, children: zn[t].map((n, r) => xa(n, r)) }, e) : /* @__PURE__ */ a.jsx(Se, { className: t }, e), wa = ({ layout: t = "overview-page", ...e }) => /* @__PURE__ */ a.jsx("div", { className: S("loading-state", t), ...e, children: zn[t].map((n, r) => xa(n, r)) }), ja = (t) => {
|
|
2796
2796
|
const e = t && t.toUpperCase().split(" ");
|
|
2797
2797
|
return Array.isArray(e) && e.length > 1 && e[0] !== "" ? e[1] === "" ? e[0][0] : e[0][0] + e[e.length - 1][0] : t ? t.substr(0, 1) : "";
|
|
2798
|
-
}, Et = ["#5AB6A3", "#A2D7AF", "#806056", "#3962B3"],
|
|
2798
|
+
}, Et = ["#5AB6A3", "#A2D7AF", "#806056", "#3962B3"], Ri = (t) => {
|
|
2799
2799
|
const e = Math.ceil(26 / Et.length), n = ja(t).toLowerCase();
|
|
2800
2800
|
if (n === "")
|
|
2801
2801
|
return Et[0];
|
|
@@ -2822,7 +2822,7 @@ const Nr = 256, Ye = ({
|
|
|
2822
2822
|
if (!m)
|
|
2823
2823
|
return;
|
|
2824
2824
|
const p = s, g = i;
|
|
2825
|
-
typeof window < "u" && window.devicePixelRatio && (u.width = p * window.devicePixelRatio, u.height = g * window.devicePixelRatio, m.scale(window.devicePixelRatio, window.devicePixelRatio)), m.fillStyle =
|
|
2825
|
+
typeof window < "u" && window.devicePixelRatio && (u.width = p * window.devicePixelRatio, u.height = g * window.devicePixelRatio, m.scale(window.devicePixelRatio, window.devicePixelRatio)), m.fillStyle = Ri(n), m.fillRect(0, 0, p, g), m.font = `${p / 3}px Arial`, m.textAlign = "center", m.fillStyle = "white", m.fillText(ja(n), p / 2, g / 1.6);
|
|
2826
2826
|
}, [n]);
|
|
2827
2827
|
let d = !1;
|
|
2828
2828
|
return e && e !== "" && !c && (e.includes("http") || e.includes("//")) && (d = !0), /* @__PURE__ */ a.jsx(
|
|
@@ -3290,18 +3290,18 @@ const Li = ({
|
|
|
3290
3290
|
}) => {
|
|
3291
3291
|
const d = V(), [u, m] = J(!1), p = r || n, g = Array.isArray(p) ? [...p] : p ? [p] : [], [_, y] = J(g);
|
|
3292
3292
|
let v;
|
|
3293
|
-
Array.isArray(_) && _.length === 1 && typeof _[0] == "string" ? v = e && _ ? e.find((
|
|
3293
|
+
Array.isArray(_) && _.length === 1 && typeof _[0] == "string" ? v = e && _ ? e.find((R) => R.id === _[0]) : e ? e[0] : { id: "", label: "" } : Array.isArray(_) && _.length === 1 && typeof _[0] != "string" ? v = _[0] : v = { id: "", label: "" }, ae(() => {
|
|
3294
3294
|
y(g);
|
|
3295
3295
|
}, [r, n]);
|
|
3296
|
-
const { onChange: b, onMultiSelectSubmit: j, ...k } = s, x = (
|
|
3296
|
+
const { onChange: b, onMultiSelectSubmit: j, ...k } = s, x = (R) => {
|
|
3297
3297
|
if (c) {
|
|
3298
3298
|
let Z = [];
|
|
3299
|
-
_ != null && _.includes(
|
|
3299
|
+
_ != null && _.includes(R.id) ? Z = _.filter((M) => M !== R.id) : Z = [..._, R.id], y([...Z]), b && b([...Z]);
|
|
3300
3300
|
} else
|
|
3301
|
-
y([
|
|
3302
|
-
}, D = (
|
|
3303
|
-
if (
|
|
3304
|
-
const Z = (e == null ? void 0 : e.map((
|
|
3301
|
+
y([R]), b && b(R.id), m(!1);
|
|
3302
|
+
}, D = (R) => {
|
|
3303
|
+
if (R === "all") {
|
|
3304
|
+
const Z = (e == null ? void 0 : e.map((M) => M.id)) || [];
|
|
3305
3305
|
y(Z), b && b(Z);
|
|
3306
3306
|
} else
|
|
3307
3307
|
y([]), b && b([]);
|
|
@@ -3314,8 +3314,8 @@ const Li = ({
|
|
|
3314
3314
|
"aria-expanded": u,
|
|
3315
3315
|
"aria-haspopup": "listbox",
|
|
3316
3316
|
"aria-controls": "dropdown-list",
|
|
3317
|
-
onClick: (
|
|
3318
|
-
|
|
3317
|
+
onClick: (R) => {
|
|
3318
|
+
R.preventDefault(), R.stopPropagation(), m(!u);
|
|
3319
3319
|
},
|
|
3320
3320
|
"data-testid": "dropdown-selector",
|
|
3321
3321
|
...k,
|
|
@@ -3329,14 +3329,14 @@ const Li = ({
|
|
|
3329
3329
|
"select",
|
|
3330
3330
|
{
|
|
3331
3331
|
defaultValue: v.id,
|
|
3332
|
-
onChange: (
|
|
3333
|
-
|
|
3334
|
-
const Z = e && e.find((
|
|
3332
|
+
onChange: (R) => {
|
|
3333
|
+
R.preventDefault(), R.stopPropagation();
|
|
3334
|
+
const Z = e && e.find((M) => M.id === R.target.value);
|
|
3335
3335
|
x(Z);
|
|
3336
3336
|
},
|
|
3337
3337
|
hidden: !u,
|
|
3338
3338
|
...k,
|
|
3339
|
-
children: e == null ? void 0 : e.map((
|
|
3339
|
+
children: e == null ? void 0 : e.map((R) => /* @__PURE__ */ a.jsx("option", { value: R.id, children: R.label }, R.id))
|
|
3340
3340
|
}
|
|
3341
3341
|
),
|
|
3342
3342
|
/* @__PURE__ */ a.jsxs(
|
|
@@ -3372,8 +3372,8 @@ const Li = ({
|
|
|
3372
3372
|
) })
|
|
3373
3373
|
] })
|
|
3374
3374
|
] }),
|
|
3375
|
-
/* @__PURE__ */ a.jsx("ul", { children: e == null ? void 0 : e.map((
|
|
3376
|
-
const Z =
|
|
3375
|
+
/* @__PURE__ */ a.jsx("ul", { children: e == null ? void 0 : e.map((R) => {
|
|
3376
|
+
const Z = R.id === v.id || (_ == null ? void 0 : _.includes(R)) || (_ == null ? void 0 : _.includes(R.id));
|
|
3377
3377
|
return /* @__PURE__ */ a.jsx("li", { "data-testid": "dropdown-options", children: /* @__PURE__ */ a.jsxs(
|
|
3378
3378
|
"button",
|
|
3379
3379
|
{
|
|
@@ -3381,20 +3381,20 @@ const Li = ({
|
|
|
3381
3381
|
selected: Z,
|
|
3382
3382
|
"selected-single": Z && !c
|
|
3383
3383
|
}),
|
|
3384
|
-
"data-gtm-event-type": `${
|
|
3384
|
+
"data-gtm-event-type": `${R}-click`,
|
|
3385
3385
|
"data-gtm-event-context": i,
|
|
3386
|
-
onClick: (
|
|
3387
|
-
|
|
3386
|
+
onClick: (M) => {
|
|
3387
|
+
M.preventDefault(), M.stopPropagation(), x(R);
|
|
3388
3388
|
},
|
|
3389
3389
|
role: "menuitem",
|
|
3390
3390
|
"aria-current": Z,
|
|
3391
3391
|
"data-testid": Z ? "current-selection" : "",
|
|
3392
3392
|
children: [
|
|
3393
3393
|
c && /* @__PURE__ */ a.jsx("span", { className: "pretty-checkbox", "data-testid": "pretty-checkbox" }),
|
|
3394
|
-
/* @__PURE__ */ a.jsx("span", { className: S({ "menu-option-label": c }), children:
|
|
3394
|
+
/* @__PURE__ */ a.jsx("span", { className: S({ "menu-option-label": c }), children: R.label })
|
|
3395
3395
|
]
|
|
3396
3396
|
}
|
|
3397
|
-
) },
|
|
3397
|
+
) }, R.id);
|
|
3398
3398
|
}) })
|
|
3399
3399
|
] }),
|
|
3400
3400
|
(f == null ? void 0 : f.submitSection) && /* @__PURE__ */ a.jsx("p", { className: "submit", children: /* @__PURE__ */ a.jsx(
|
|
@@ -3767,12 +3767,12 @@ const rn = ({
|
|
|
3767
3767
|
const z = I.id || I.name;
|
|
3768
3768
|
z && (D[z] = I.value || "");
|
|
3769
3769
|
});
|
|
3770
|
-
const [
|
|
3770
|
+
const [R, Z] = Yn(Wi, {
|
|
3771
3771
|
isSubmitting: !1,
|
|
3772
3772
|
formSubmitted: !1,
|
|
3773
3773
|
errors: {},
|
|
3774
3774
|
values: D
|
|
3775
|
-
}), { errors:
|
|
3775
|
+
}), { errors: M, isSubmitting: O, formSubmitted: C, values: E } = R;
|
|
3776
3776
|
ae(() => {
|
|
3777
3777
|
f && C && (bn = setTimeout(() => {
|
|
3778
3778
|
Z({
|
|
@@ -3879,7 +3879,7 @@ const rn = ({
|
|
|
3879
3879
|
className: S("form", e),
|
|
3880
3880
|
ref: $,
|
|
3881
3881
|
children: [
|
|
3882
|
-
|
|
3882
|
+
M != null && M.general ? /* @__PURE__ */ a.jsx(
|
|
3883
3883
|
He,
|
|
3884
3884
|
{
|
|
3885
3885
|
variant: "error",
|
|
@@ -3903,7 +3903,7 @@ const rn = ({
|
|
|
3903
3903
|
...I,
|
|
3904
3904
|
showRequiredLabels: l,
|
|
3905
3905
|
value: W,
|
|
3906
|
-
error:
|
|
3906
|
+
error: M == null ? void 0 : M[X],
|
|
3907
3907
|
functions: {
|
|
3908
3908
|
...N,
|
|
3909
3909
|
onChange: (q) => {
|
|
@@ -4438,7 +4438,7 @@ const Ki = ({
|
|
|
4438
4438
|
)
|
|
4439
4439
|
}
|
|
4440
4440
|
);
|
|
4441
|
-
},
|
|
4441
|
+
}, Mr = async ({ ref: t, validateEmail: e, dispatch: n }) => {
|
|
4442
4442
|
const r = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
|
4443
4443
|
if (!t.current.validity.valid || !r.test(t.current.value))
|
|
4444
4444
|
return n([{ type: "validFields.email", value: !1 }]);
|
|
@@ -4550,7 +4550,7 @@ const Ki = ({
|
|
|
4550
4550
|
}),
|
|
4551
4551
|
functions: {
|
|
4552
4552
|
onBlur: () => {
|
|
4553
|
-
|
|
4553
|
+
Mr({ ref: r.email, validateEmail: e, dispatch: i });
|
|
4554
4554
|
},
|
|
4555
4555
|
onChange: (u, m) => {
|
|
4556
4556
|
m && m({
|
|
@@ -4664,7 +4664,7 @@ const Ki = ({
|
|
|
4664
4664
|
s.validFields[p] !== r[p].current.validity.valid && (m.push({
|
|
4665
4665
|
type: `validFields.${p}`,
|
|
4666
4666
|
value: r[p].current.validity.valid
|
|
4667
|
-
}), p === "email" &&
|
|
4667
|
+
}), p === "email" && Mr({ ref: r.email, validateEmail: e, dispatch: i }));
|
|
4668
4668
|
}), m.length && i(m);
|
|
4669
4669
|
}
|
|
4670
4670
|
},
|
|
@@ -4849,11 +4849,11 @@ var Zn = { exports: {} }, $t = { exports: {} }, de = {};
|
|
|
4849
4849
|
* This source code is licensed under the MIT license found in the
|
|
4850
4850
|
* LICENSE file in the root directory of this source tree.
|
|
4851
4851
|
*/
|
|
4852
|
-
var
|
|
4852
|
+
var Rr;
|
|
4853
4853
|
function to() {
|
|
4854
|
-
if (
|
|
4854
|
+
if (Rr)
|
|
4855
4855
|
return de;
|
|
4856
|
-
|
|
4856
|
+
Rr = 1;
|
|
4857
4857
|
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, s = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, f = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, u = t ? Symbol.for("react.suspense") : 60113, m = t ? Symbol.for("react.suspense_list") : 60120, p = t ? Symbol.for("react.memo") : 60115, g = t ? Symbol.for("react.lazy") : 60116, _ = t ? Symbol.for("react.block") : 60121, y = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, b = t ? Symbol.for("react.scope") : 60119;
|
|
4858
4858
|
function j(x) {
|
|
4859
4859
|
if (typeof x == "object" && x !== null) {
|
|
@@ -4965,7 +4965,7 @@ function no() {
|
|
|
4965
4965
|
}
|
|
4966
4966
|
}
|
|
4967
4967
|
}
|
|
4968
|
-
var x = f, D = l,
|
|
4968
|
+
var x = f, D = l, R = c, Z = o, M = e, O = d, C = r, E = g, w = p, $ = n, L = i, U = s, I = u, z = !1;
|
|
4969
4969
|
function X(A) {
|
|
4970
4970
|
return z || (z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), T(A) || k(A) === f;
|
|
4971
4971
|
}
|
|
@@ -5005,7 +5005,7 @@ function no() {
|
|
|
5005
5005
|
function oe(A) {
|
|
5006
5006
|
return k(A) === u;
|
|
5007
5007
|
}
|
|
5008
|
-
ue.AsyncMode = x, ue.ConcurrentMode = D, ue.ContextConsumer =
|
|
5008
|
+
ue.AsyncMode = x, ue.ConcurrentMode = D, ue.ContextConsumer = R, ue.ContextProvider = Z, ue.Element = M, ue.ForwardRef = O, ue.Fragment = C, ue.Lazy = E, ue.Memo = w, ue.Portal = $, ue.Profiler = L, ue.StrictMode = U, ue.Suspense = I, ue.isAsyncMode = X, ue.isConcurrentMode = T, ue.isContextConsumer = N, ue.isContextProvider = W, ue.isElement = q, ue.isForwardRef = H, ue.isFragment = te, ue.isLazy = G, ue.isMemo = Y, ue.isPortal = ee, ue.isProfiler = re, ue.isStrictMode = F, ue.isSuspense = oe, ue.isValidElementType = j, ue.typeOf = k;
|
|
5009
5009
|
}()), ue;
|
|
5010
5010
|
}
|
|
5011
5011
|
var Or;
|
|
@@ -5167,8 +5167,8 @@ function so() {
|
|
|
5167
5167
|
instanceOf: D,
|
|
5168
5168
|
node: O(),
|
|
5169
5169
|
objectOf: Z,
|
|
5170
|
-
oneOf:
|
|
5171
|
-
oneOfType:
|
|
5170
|
+
oneOf: R,
|
|
5171
|
+
oneOfType: M,
|
|
5172
5172
|
shape: E,
|
|
5173
5173
|
exact: w
|
|
5174
5174
|
};
|
|
@@ -5269,7 +5269,7 @@ function so() {
|
|
|
5269
5269
|
}
|
|
5270
5270
|
return y(N);
|
|
5271
5271
|
}
|
|
5272
|
-
function
|
|
5272
|
+
function R(T) {
|
|
5273
5273
|
if (!Array.isArray(T))
|
|
5274
5274
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
5275
5275
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
@@ -5303,7 +5303,7 @@ function so() {
|
|
|
5303
5303
|
}
|
|
5304
5304
|
return y(N);
|
|
5305
5305
|
}
|
|
5306
|
-
function
|
|
5306
|
+
function M(T) {
|
|
5307
5307
|
if (!Array.isArray(T))
|
|
5308
5308
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), o;
|
|
5309
5309
|
for (var N = 0; N < T.length; N++) {
|
|
@@ -5507,8 +5507,8 @@ var lo = Zn.exports;
|
|
|
5507
5507
|
* tabbable 6.2.0
|
|
5508
5508
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
5509
5509
|
*/
|
|
5510
|
-
var
|
|
5511
|
-
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Zt = !
|
|
5510
|
+
var Ma = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], zt = /* @__PURE__ */ Ma.join(","), Ra = typeof Element > "u", Ze = Ra ? function() {
|
|
5511
|
+
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Zt = !Ra && Element.prototype.getRootNode ? function(t) {
|
|
5512
5512
|
var e;
|
|
5513
5513
|
return t == null || (e = t.getRootNode) === null || e === void 0 ? void 0 : e.call(t);
|
|
5514
5514
|
} : function(t) {
|
|
@@ -5693,7 +5693,7 @@ var Ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
5693
5693
|
if (n = n || {}, !e)
|
|
5694
5694
|
throw new Error("No node provided");
|
|
5695
5695
|
return Ze.call(e, zt) === !1 ? !1 : Hn(n, e);
|
|
5696
|
-
}, To = /* @__PURE__ */
|
|
5696
|
+
}, To = /* @__PURE__ */ Ma.concat("iframe").join(","), Lt = function(e, n) {
|
|
5697
5697
|
if (n = n || {}, !e)
|
|
5698
5698
|
throw new Error("No node provided");
|
|
5699
5699
|
return Ze.call(e, To) === !1 ? !1 : Vt(n, e);
|
|
@@ -5774,9 +5774,9 @@ var Zr = {
|
|
|
5774
5774
|
return (e == null ? void 0 : e.key) === "Escape" || (e == null ? void 0 : e.key) === "Esc" || (e == null ? void 0 : e.keyCode) === 27;
|
|
5775
5775
|
}, gt = function(e) {
|
|
5776
5776
|
return (e == null ? void 0 : e.key) === "Tab" || (e == null ? void 0 : e.keyCode) === 9;
|
|
5777
|
-
}, Ro = function(e) {
|
|
5778
|
-
return gt(e) && !e.shiftKey;
|
|
5779
5777
|
}, Mo = function(e) {
|
|
5778
|
+
return gt(e) && !e.shiftKey;
|
|
5779
|
+
}, Ro = function(e) {
|
|
5780
5780
|
return gt(e) && e.shiftKey;
|
|
5781
5781
|
}, Hr = function(e) {
|
|
5782
5782
|
return setTimeout(e, 0);
|
|
@@ -5796,8 +5796,8 @@ var Zr = {
|
|
|
5796
5796
|
returnFocusOnDeactivate: !0,
|
|
5797
5797
|
escapeDeactivates: !0,
|
|
5798
5798
|
delayInitialFocus: !0,
|
|
5799
|
-
isKeyForward:
|
|
5800
|
-
isKeyBackward:
|
|
5799
|
+
isKeyForward: Mo,
|
|
5800
|
+
isKeyBackward: Ro
|
|
5801
5801
|
}, n), o = {
|
|
5802
5802
|
// containers given to createFocusTrap()
|
|
5803
5803
|
// @type {Array<HTMLElement>}
|
|
@@ -6065,7 +6065,7 @@ var Zr = {
|
|
|
6065
6065
|
capture: !0,
|
|
6066
6066
|
passive: !1
|
|
6067
6067
|
}), c;
|
|
6068
|
-
},
|
|
6068
|
+
}, R = function() {
|
|
6069
6069
|
if (o.active)
|
|
6070
6070
|
return r.removeEventListener("focusin", b, !0), r.removeEventListener("mousedown", v, !0), r.removeEventListener("touchstart", v, !0), r.removeEventListener("click", x, !0), r.removeEventListener("keydown", k, !0), c;
|
|
6071
6071
|
}, Z = function(E) {
|
|
@@ -6076,9 +6076,9 @@ var Zr = {
|
|
|
6076
6076
|
});
|
|
6077
6077
|
});
|
|
6078
6078
|
w && g(u());
|
|
6079
|
-
},
|
|
6080
|
-
|
|
6081
|
-
|
|
6079
|
+
}, M = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(Z) : void 0, O = function() {
|
|
6080
|
+
M && (M.disconnect(), o.active && !o.paused && o.containers.map(function(E) {
|
|
6081
|
+
M.observe(E, {
|
|
6082
6082
|
subtree: !0,
|
|
6083
6083
|
childList: !0
|
|
6084
6084
|
});
|
|
@@ -6109,7 +6109,7 @@ var Zr = {
|
|
|
6109
6109
|
onPostDeactivate: i.onPostDeactivate,
|
|
6110
6110
|
checkCanReturnFocus: i.checkCanReturnFocus
|
|
6111
6111
|
}, E);
|
|
6112
|
-
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0,
|
|
6112
|
+
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, R(), o.active = !1, o.paused = !1, O(), Zr.deactivateTrap(s, c);
|
|
6113
6113
|
var $ = f(w, "onDeactivate"), L = f(w, "onPostDeactivate"), U = f(w, "checkCanReturnFocus"), I = f(w, "returnFocus", "returnFocusOnDeactivate");
|
|
6114
6114
|
$ == null || $();
|
|
6115
6115
|
var z = function() {
|
|
@@ -6123,7 +6123,7 @@ var Zr = {
|
|
|
6123
6123
|
if (o.paused || !o.active)
|
|
6124
6124
|
return this;
|
|
6125
6125
|
var w = f(E, "onPause"), $ = f(E, "onPostPause");
|
|
6126
|
-
return o.paused = !0, w == null || w(),
|
|
6126
|
+
return o.paused = !0, w == null || w(), R(), O(), $ == null || $(), this;
|
|
6127
6127
|
},
|
|
6128
6128
|
unpause: function(E) {
|
|
6129
6129
|
if (!o.paused || !o.active)
|
|
@@ -6566,7 +6566,7 @@ const Jl = ({
|
|
|
6566
6566
|
sendInvites: l
|
|
6567
6567
|
}) => {
|
|
6568
6568
|
const d = V();
|
|
6569
|
-
return r || (r = d.formatMessage({ id: "
|
|
6569
|
+
return r || (r = d.formatMessage({ id: "inviteModal_formTitle" })), s || (s = d.formatMessage({ id: "inviteModal_formLabel" })), i || (i = d.formatMessage({ id: "inviteModal_cta" })), /* @__PURE__ */ a.jsx(
|
|
6570
6570
|
an,
|
|
6571
6571
|
{
|
|
6572
6572
|
title: n,
|
|
@@ -6923,11 +6923,11 @@ const nc = {
|
|
|
6923
6923
|
) : et(u.partner[0], k.partner) }),
|
|
6924
6924
|
/* Text */
|
|
6925
6925
|
["title", "text", "secondaryText"].map((D) => {
|
|
6926
|
-
const
|
|
6927
|
-
if (!
|
|
6926
|
+
const R = u[D];
|
|
6927
|
+
if (!R)
|
|
6928
6928
|
return null;
|
|
6929
6929
|
const Z = Ws(D);
|
|
6930
|
-
return /* @__PURE__ */ a.jsx("p", { className: Z, "data-testid": Z, children: et(
|
|
6930
|
+
return /* @__PURE__ */ a.jsx("p", { className: Z, "data-testid": Z, children: et(R, k[D]) }, D);
|
|
6931
6931
|
}),
|
|
6932
6932
|
/* @__PURE__ */ a.jsx(ec, { type: y || "", data: u }),
|
|
6933
6933
|
/* @__PURE__ */ a.jsx(tc, { data: u, cta: r, link: j || "", gtmContext: s })
|
|
@@ -6979,7 +6979,7 @@ const En = {
|
|
|
6979
6979
|
threeCards: 769,
|
|
6980
6980
|
twoCards: 480
|
|
6981
6981
|
};
|
|
6982
|
-
let
|
|
6982
|
+
let Mt = null;
|
|
6983
6983
|
const ic = ({
|
|
6984
6984
|
id: t,
|
|
6985
6985
|
cards: e,
|
|
@@ -6997,17 +6997,17 @@ const ic = ({
|
|
|
6997
6997
|
loadedPages: [0]
|
|
6998
6998
|
}), { currentPage: g, loadedPages: _ } = m, y = e.length, v = Math.ceil(y / d), b = pe(null), j = xt(!0, !0, b == null ? void 0 : b.current);
|
|
6999
6999
|
ae(() => {
|
|
7000
|
-
let
|
|
7001
|
-
j && (j >= En.fourCards ?
|
|
7000
|
+
let M = 1;
|
|
7001
|
+
j && (j >= En.fourCards ? M = 4 : j >= En.threeCards ? M = 3 : j >= En.twoCards && (M = 2), M > y && (M = y)), l((O) => ({
|
|
7002
7002
|
...O,
|
|
7003
|
-
cardsPerPage:
|
|
7003
|
+
cardsPerPage: M,
|
|
7004
7004
|
isLoading: !1
|
|
7005
7005
|
}));
|
|
7006
7006
|
}, [j, y]);
|
|
7007
|
-
const k = (
|
|
7007
|
+
const k = (M = "next") => {
|
|
7008
7008
|
let O = g;
|
|
7009
|
-
if (typeof
|
|
7010
|
-
if (
|
|
7009
|
+
if (typeof M == "string")
|
|
7010
|
+
if (M === "next")
|
|
7011
7011
|
if (g < v - 1)
|
|
7012
7012
|
O = g + 1;
|
|
7013
7013
|
else
|
|
@@ -7017,20 +7017,20 @@ const ic = ({
|
|
|
7017
7017
|
else
|
|
7018
7018
|
return;
|
|
7019
7019
|
else
|
|
7020
|
-
O =
|
|
7020
|
+
O = M;
|
|
7021
7021
|
p((C) => ({
|
|
7022
7022
|
...C,
|
|
7023
7023
|
currentPage: O,
|
|
7024
7024
|
loadedPages: [.../* @__PURE__ */ new Set([..._, O])]
|
|
7025
7025
|
}));
|
|
7026
|
-
}, x = (
|
|
7027
|
-
|
|
7028
|
-
}, D = (
|
|
7029
|
-
if (
|
|
7026
|
+
}, x = (M) => {
|
|
7027
|
+
Mt = M.touches[0].clientX;
|
|
7028
|
+
}, D = (M) => {
|
|
7029
|
+
if (Mt === null)
|
|
7030
7030
|
return;
|
|
7031
|
-
const O =
|
|
7032
|
-
C > 5 ? k("next") : C < -5 && k("previous"),
|
|
7033
|
-
},
|
|
7031
|
+
const O = M.touches[0].clientX, C = Mt - O;
|
|
7032
|
+
C > 5 ? k("next") : C < -5 && k("previous"), Mt = null;
|
|
7033
|
+
}, R = {
|
|
7034
7034
|
"--width": `${j || 0}px`,
|
|
7035
7035
|
"--total-cards": y,
|
|
7036
7036
|
"--cards-per-page": d,
|
|
@@ -7038,10 +7038,10 @@ const ic = ({
|
|
|
7038
7038
|
};
|
|
7039
7039
|
if (u)
|
|
7040
7040
|
return /* @__PURE__ */ a.jsx(wa, { layout: `carousel${s ? "-with-title" : ""}` });
|
|
7041
|
-
const Z = (
|
|
7041
|
+
const Z = (M, O) => {
|
|
7042
7042
|
var E;
|
|
7043
7043
|
let C = null;
|
|
7044
|
-
return (E =
|
|
7044
|
+
return (E = M == null ? void 0 : M.sys) != null && E.id ? C = `card-${M.sys.id}` : M != null && M.slug ? C = `card-${M.slug}` : [n[O], M.contentType].includes("customCard") && (C = `card-${window.btoa(`${M.title} ${M.createdAt}`)}-${O}`), C;
|
|
7045
7045
|
};
|
|
7046
7046
|
return /* @__PURE__ */ a.jsxs(
|
|
7047
7047
|
"section",
|
|
@@ -7057,15 +7057,15 @@ const ic = ({
|
|
|
7057
7057
|
className: "carousel",
|
|
7058
7058
|
onTouchStart: x,
|
|
7059
7059
|
onTouchMove: D,
|
|
7060
|
-
style:
|
|
7060
|
+
style: R,
|
|
7061
7061
|
"data-testid": "carousel-list",
|
|
7062
|
-
children: e.map((
|
|
7063
|
-
let C = Z(
|
|
7062
|
+
children: e.map((M, O) => {
|
|
7063
|
+
let C = Z(M, O);
|
|
7064
7064
|
return C && ac(O, d, g, _) ? /* @__PURE__ */ a.jsx(
|
|
7065
7065
|
Ua,
|
|
7066
7066
|
{
|
|
7067
7067
|
id: C,
|
|
7068
|
-
card: { ...
|
|
7068
|
+
card: { ...M, contentType: n[O] },
|
|
7069
7069
|
buildCardData: r,
|
|
7070
7070
|
gtmContext: o
|
|
7071
7071
|
},
|
|
@@ -7089,8 +7089,8 @@ const ic = ({
|
|
|
7089
7089
|
variant: "secondary",
|
|
7090
7090
|
size: "large",
|
|
7091
7091
|
icon: { icon: "chevron_left" },
|
|
7092
|
-
onClick: (
|
|
7093
|
-
|
|
7092
|
+
onClick: (M) => {
|
|
7093
|
+
M.preventDefault(), M.stopPropagation(), k("previous");
|
|
7094
7094
|
},
|
|
7095
7095
|
screenreaderText: c.formatMessage({
|
|
7096
7096
|
id: "carousel_pagination_previous"
|
|
@@ -7098,7 +7098,7 @@ const ic = ({
|
|
|
7098
7098
|
disabled: g <= 0
|
|
7099
7099
|
}
|
|
7100
7100
|
) }),
|
|
7101
|
-
[...Array(v)].map((
|
|
7101
|
+
[...Array(v)].map((M, O) => /* @__PURE__ */ a.jsx("li", { "data-testid": "carousel-controls-button", children: /* @__PURE__ */ a.jsx(
|
|
7102
7102
|
"button",
|
|
7103
7103
|
{
|
|
7104
7104
|
className: S("page-indicator", {
|
|
@@ -7119,8 +7119,8 @@ const ic = ({
|
|
|
7119
7119
|
variant: "secondary",
|
|
7120
7120
|
size: "large",
|
|
7121
7121
|
icon: { icon: "chevron_right" },
|
|
7122
|
-
onClick: (
|
|
7123
|
-
|
|
7122
|
+
onClick: (M) => {
|
|
7123
|
+
M.preventDefault(), M.stopPropagation(), k("next");
|
|
7124
7124
|
},
|
|
7125
7125
|
screenreaderText: c.formatMessage({ id: "carousel_pagination_next" }),
|
|
7126
7126
|
disabled: g >= v - 1
|
|
@@ -7314,7 +7314,7 @@ const rd = ({
|
|
|
7314
7314
|
urlForRouter: `/${s.split("/").slice(2).join("/")}`
|
|
7315
7315
|
} : s;
|
|
7316
7316
|
};
|
|
7317
|
-
const
|
|
7317
|
+
const Rt = "languageSwitcher_", ad = ({
|
|
7318
7318
|
currentLanguage: t,
|
|
7319
7319
|
isOriginalLanguage: e = !1,
|
|
7320
7320
|
isHumanTranslation: n = !1,
|
|
@@ -7336,7 +7336,7 @@ const Mt = "languageSwitcher_", ad = ({
|
|
|
7336
7336
|
const g = Object.keys(r), _ = u !== t;
|
|
7337
7337
|
return /* @__PURE__ */ a.jsxs("div", { className: S("language-switcher text-small", o, f), children: [
|
|
7338
7338
|
/* @__PURE__ */ a.jsxs("nav", { children: [
|
|
7339
|
-
o !== "short" && /* @__PURE__ */ a.jsx("p", { children: c || l.formatMessage({ id: `${
|
|
7339
|
+
o !== "short" && /* @__PURE__ */ a.jsx("p", { children: c || l.formatMessage({ id: `${Rt}label` }) }),
|
|
7340
7340
|
/* @__PURE__ */ a.jsx("ul", { children: g.map((y) => {
|
|
7341
7341
|
var j;
|
|
7342
7342
|
if (!gn[y])
|
|
@@ -7345,7 +7345,7 @@ const Mt = "languageSwitcher_", ad = ({
|
|
|
7345
7345
|
let b = { className: y };
|
|
7346
7346
|
if (u === y)
|
|
7347
7347
|
b["aria-label"] = l.formatMessage(
|
|
7348
|
-
{ id: `${
|
|
7348
|
+
{ id: `${Rt}selected` },
|
|
7349
7349
|
{ language: gn[y] }
|
|
7350
7350
|
);
|
|
7351
7351
|
else {
|
|
@@ -7364,7 +7364,7 @@ const Mt = "languageSwitcher_", ad = ({
|
|
|
7364
7364
|
return /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(at, { ...b, fallbackElement: "span", children: gn[y] }) }, y);
|
|
7365
7365
|
}) }),
|
|
7366
7366
|
o !== "short" && !_ && /* @__PURE__ */ a.jsx("p", { children: l.formatMessage({
|
|
7367
|
-
id: `${
|
|
7367
|
+
id: `${Rt}translation_${e ? "original" : n ? "human" : "machine"}`
|
|
7368
7368
|
}) })
|
|
7369
7369
|
] }),
|
|
7370
7370
|
o !== "short" && !_ && !e && !n && /* @__PURE__ */ a.jsx("small", {
|
|
@@ -7372,7 +7372,7 @@ const Mt = "languageSwitcher_", ad = ({
|
|
|
7372
7372
|
// @ts-ignore
|
|
7373
7373
|
// `values` are throwing a type error: https://github.com/formatjs/formatjs/issues/3633
|
|
7374
7374
|
children: l.formatMessage(
|
|
7375
|
-
{ id: `${
|
|
7375
|
+
{ id: `${Rt}disclaimer` },
|
|
7376
7376
|
{
|
|
7377
7377
|
email: ft.support,
|
|
7378
7378
|
link: (y) => {
|
|
@@ -7755,15 +7755,15 @@ const Pn = "contactFooter_", od = ({ onSuccess: t = async () => {
|
|
|
7755
7755
|
/* @__PURE__ */ a.jsx(uc, { activeLink: t }),
|
|
7756
7756
|
/* @__PURE__ */ a.jsx(bi, { ...e })
|
|
7757
7757
|
] }) }) });
|
|
7758
|
-
const
|
|
7758
|
+
const Mn = "cookieBanner_", Rn = [
|
|
7759
7759
|
"apol-cookie-banner",
|
|
7760
7760
|
"apolitical-performance-cookie-consent",
|
|
7761
7761
|
"functional-cookie-consent"
|
|
7762
7762
|
], Fn = new Date(Date.now() + 12 * 30 * 24 * 60 * 60 * 1e3), gc = () => {
|
|
7763
|
-
const t = V(), [e, n, r] = oa(
|
|
7763
|
+
const t = V(), [e, n, r] = oa(Rn), [s, i] = J(
|
|
7764
7764
|
!e["apol-cookie-banner"]
|
|
7765
7765
|
), o = () => {
|
|
7766
|
-
|
|
7766
|
+
Rn.forEach((d) => {
|
|
7767
7767
|
n(d, !0, {
|
|
7768
7768
|
path: "/",
|
|
7769
7769
|
expires: Fn,
|
|
@@ -7774,7 +7774,7 @@ const Rn = "cookieBanner_", Mn = [
|
|
|
7774
7774
|
n("apol-cookie-banner", !0, {
|
|
7775
7775
|
path: "/",
|
|
7776
7776
|
expires: Fn
|
|
7777
|
-
}),
|
|
7777
|
+
}), Rn.forEach((d) => {
|
|
7778
7778
|
if (d === "apol-cookie-banner") {
|
|
7779
7779
|
n(d, !0, {
|
|
7780
7780
|
path: "/",
|
|
@@ -7800,14 +7800,14 @@ const Rn = "cookieBanner_", Mn = [
|
|
|
7800
7800
|
className: "gtm-trackable",
|
|
7801
7801
|
"data-gtm-event-context": "cookie-banner",
|
|
7802
7802
|
"data-gtm-event-type": `cookie-${d.gtmType}-click`,
|
|
7803
|
-
children: t.formatMessage({ id: `${
|
|
7803
|
+
children: t.formatMessage({ id: `${Mn}buttons_${d.id}` })
|
|
7804
7804
|
});
|
|
7805
7805
|
}), /* @__PURE__ */ a.jsxs("aside", { id: "cookie-banner", className: "text-medium", children: [
|
|
7806
|
-
/* @__PURE__ */ a.jsx("h6", { children: t.formatMessage({ id: `${
|
|
7807
|
-
/* @__PURE__ */ a.jsx("p", { children: t.formatMessage({ id: `${
|
|
7806
|
+
/* @__PURE__ */ a.jsx("h6", { children: t.formatMessage({ id: `${Mn}title` }) }),
|
|
7807
|
+
/* @__PURE__ */ a.jsx("p", { children: t.formatMessage({ id: `${Mn}text` }) }),
|
|
7808
7808
|
/* @__PURE__ */ a.jsx(wt, { buttons: l })
|
|
7809
7809
|
] });
|
|
7810
|
-
},
|
|
7810
|
+
}, Re = {
|
|
7811
7811
|
platform: {
|
|
7812
7812
|
order: ["events", "courses", "articles"],
|
|
7813
7813
|
// An array guarantees the right order
|
|
@@ -7901,14 +7901,14 @@ const Rn = "cookieBanner_", Mn = [
|
|
|
7901
7901
|
}
|
|
7902
7902
|
};
|
|
7903
7903
|
const Xe = "footer_", Gt = "SiteFooter", Kr = ({ group: t }) => {
|
|
7904
|
-
const e =
|
|
7904
|
+
const e = Re[t].order || [];
|
|
7905
7905
|
let n = !1;
|
|
7906
|
-
return "text" in
|
|
7906
|
+
return "text" in Re[t] && (n = Re[t].text), /* @__PURE__ */ a.jsxs(bt, { children: [
|
|
7907
7907
|
/* @__PURE__ */ a.jsx("p", { className: "pre-title", children: /* @__PURE__ */ a.jsx(ye, { id: `${Xe}${t}` }) }),
|
|
7908
7908
|
Array.isArray(e) && e.length > 0 && /* @__PURE__ */ a.jsx("ul", { className: "text-medium", children: e.map((r) => {
|
|
7909
7909
|
if (["order", "child", "text"].includes(r))
|
|
7910
7910
|
return null;
|
|
7911
|
-
const { href: s, gtmType: i } =
|
|
7911
|
+
const { href: s, gtmType: i } = Re[t][r], o = {};
|
|
7912
7912
|
return ["legal"].includes(t) && (o.target = "_blank", o.rel = "noopener"), /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
|
|
7913
7913
|
"a",
|
|
7914
7914
|
{
|
|
@@ -7958,12 +7958,12 @@ const Xe = "footer_", Gt = "SiteFooter", Kr = ({ group: t }) => {
|
|
|
7958
7958
|
),
|
|
7959
7959
|
/* @__PURE__ */ a.jsx("footer", { children: ["platform", "community", "company", "contact"].map((t) => /* @__PURE__ */ a.jsxs("div", { className: "group", children: [
|
|
7960
7960
|
/* @__PURE__ */ a.jsx(Kr, { group: t }),
|
|
7961
|
-
Object.keys(
|
|
7961
|
+
Object.keys(Re[t]).includes("child") && /* @__PURE__ */ a.jsx(Kr, { group: Re[t].child })
|
|
7962
7962
|
] }, t)) }),
|
|
7963
7963
|
/* @__PURE__ */ a.jsx("hr", {}),
|
|
7964
7964
|
/* @__PURE__ */ a.jsxs("div", { className: "sub-footer", children: [
|
|
7965
|
-
/* @__PURE__ */ a.jsx("ul", { children: Array.isArray(
|
|
7966
|
-
const e =
|
|
7965
|
+
/* @__PURE__ */ a.jsx("ul", { children: Array.isArray(Re.social.order) && Re.social.order.map((t) => {
|
|
7966
|
+
const e = Re.social[t];
|
|
7967
7967
|
return /* @__PURE__ */ a.jsx("li", { className: t, children: /* @__PURE__ */ a.jsx(
|
|
7968
7968
|
"a",
|
|
7969
7969
|
{
|
|
@@ -8755,10 +8755,10 @@ const fd = ({
|
|
|
8755
8755
|
optional: k,
|
|
8756
8756
|
slug: x,
|
|
8757
8757
|
subsectionId: D,
|
|
8758
|
-
title:
|
|
8758
|
+
title: R,
|
|
8759
8759
|
type: Z
|
|
8760
8760
|
}) => {
|
|
8761
|
-
const
|
|
8761
|
+
const M = s && e || j, O = {};
|
|
8762
8762
|
return b && (O.style = { "--image": `url(${b})` }), /* @__PURE__ */ a.jsx(
|
|
8763
8763
|
"li",
|
|
8764
8764
|
{
|
|
@@ -8767,16 +8767,16 @@ const fd = ({
|
|
|
8767
8767
|
discussion: y === Tt.DISCUSSION,
|
|
8768
8768
|
quiz: y === Tt.QUIZ,
|
|
8769
8769
|
completed: g && y === Tt.ARTICLE,
|
|
8770
|
-
locked: !
|
|
8770
|
+
locked: !M
|
|
8771
8771
|
}),
|
|
8772
8772
|
...O,
|
|
8773
8773
|
children: /* @__PURE__ */ a.jsx(
|
|
8774
8774
|
at,
|
|
8775
8775
|
{
|
|
8776
|
-
href:
|
|
8776
|
+
href: M ? `/microcourses/en/${c}/${x}` : void 0,
|
|
8777
8777
|
fallbackElement: "span",
|
|
8778
8778
|
className: "inner",
|
|
8779
|
-
gtmContext: `MicrocourseOutline${zs(
|
|
8779
|
+
gtmContext: `MicrocourseOutline${zs(R)}`,
|
|
8780
8780
|
gtmType: "article-click",
|
|
8781
8781
|
children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
8782
8782
|
/* @__PURE__ */ a.jsx(
|
|
@@ -8784,7 +8784,7 @@ const fd = ({
|
|
|
8784
8784
|
{
|
|
8785
8785
|
sectionId: i,
|
|
8786
8786
|
subsectionId: D,
|
|
8787
|
-
title:
|
|
8787
|
+
title: R,
|
|
8788
8788
|
className: "course-title"
|
|
8789
8789
|
}
|
|
8790
8790
|
),
|
|
@@ -8905,7 +8905,7 @@ const we = "discussion_form_", ar = ({
|
|
|
8905
8905
|
}
|
|
8906
8906
|
const x = async (w) => {
|
|
8907
8907
|
var L;
|
|
8908
|
-
if (w.preventDefault(), w.stopPropagation(), !u || !u.id || !e ||
|
|
8908
|
+
if (w.preventDefault(), w.stopPropagation(), !u || !u.id || !e || R)
|
|
8909
8909
|
return;
|
|
8910
8910
|
Ot && clearTimeout(Ot), v("submitting");
|
|
8911
8911
|
const $ = window.location.pathname;
|
|
@@ -8961,8 +8961,8 @@ const we = "discussion_form_", ar = ({
|
|
|
8961
8961
|
Ot = setTimeout(() => {
|
|
8962
8962
|
_(!1), v(!1);
|
|
8963
8963
|
}, 5e3);
|
|
8964
|
-
},
|
|
8965
|
-
return (n.isEditing && !Z || c.cancel) &&
|
|
8964
|
+
}, R = !m || !ni(m), Z = y === "submitting", M = [];
|
|
8965
|
+
return (n.isEditing && !Z || c.cancel) && M.push({
|
|
8966
8966
|
variant: "secondary",
|
|
8967
8967
|
size: { mobile: "small", 600: "medium" },
|
|
8968
8968
|
onClick: f.handleCancel,
|
|
@@ -8971,7 +8971,7 @@ const we = "discussion_form_", ar = ({
|
|
|
8971
8971
|
"data-gtm-event-type": `cancel-${t.type}-click`,
|
|
8972
8972
|
disabled: !c.cancel && (!u || !u.id || !m),
|
|
8973
8973
|
children: d.formatMessage({ id: `${we}cancel` })
|
|
8974
|
-
}),
|
|
8974
|
+
}), M.push({
|
|
8975
8975
|
variant: "primary",
|
|
8976
8976
|
size: { mobile: "small", 600: "medium" },
|
|
8977
8977
|
onClick: (w) => {
|
|
@@ -8987,7 +8987,7 @@ const we = "discussion_form_", ar = ({
|
|
|
8987
8987
|
"data-gtm-event-context": l,
|
|
8988
8988
|
"data-gtm-event-type": `${n.isEditing ? "save" : "submit"}-${t.type}-click`,
|
|
8989
8989
|
"data-testid": "save-button",
|
|
8990
|
-
disabled: !u || !u.id || !e ||
|
|
8990
|
+
disabled: !u || !u.id || !e || R || Z || n.isEditing && m === n.isEditing.text,
|
|
8991
8991
|
children: d.formatMessage({
|
|
8992
8992
|
id: `${we}${Z ? n.isEditing ? "saving" : "posting" : n.isEditing ? "save" : "post"}`
|
|
8993
8993
|
})
|
|
@@ -9011,7 +9011,7 @@ const we = "discussion_form_", ar = ({
|
|
|
9011
9011
|
),
|
|
9012
9012
|
/* @__PURE__ */ a.jsx(be, { element: "label", showOnFocus: !1, htmlFor: `${k}-input`, children: $e(d.formatMessage, `${we}label`, t.type, "action") }),
|
|
9013
9013
|
/* @__PURE__ */ a.jsx(
|
|
9014
|
-
|
|
9014
|
+
Ms,
|
|
9015
9015
|
{
|
|
9016
9016
|
ref: r,
|
|
9017
9017
|
id: `${k}-input`,
|
|
@@ -9045,7 +9045,7 @@ const we = "discussion_form_", ar = ({
|
|
|
9045
9045
|
}
|
|
9046
9046
|
)
|
|
9047
9047
|
}) }),
|
|
9048
|
-
/* @__PURE__ */ a.jsx(wt, { buttons:
|
|
9048
|
+
/* @__PURE__ */ a.jsx(wt, { buttons: M }),
|
|
9049
9049
|
y === "submitted" && n.showSuccessMessage && /* @__PURE__ */ a.jsx(Wt, { className: "success", "data-testid": "success", children: $e(d.formatMessage, `${we}success`, t.type, "action") }),
|
|
9050
9050
|
g && /* @__PURE__ */ a.jsx(Wt, { id: "error-message", className: "error", "data-testid": "error", children: c.error ? c.error : typeof g == "string" ? g.includes(" ") ? g : d.formatMessage(
|
|
9051
9051
|
{ id: g },
|
|
@@ -9226,7 +9226,7 @@ const An = () => {
|
|
|
9226
9226
|
const e = {};
|
|
9227
9227
|
return Object.keys(t).forEach((n) => n.includes("Id") ? e[n] = t[n] : e[`${n}Slug`] = t[n]), e;
|
|
9228
9228
|
}, on = (t, e) => t && !e;
|
|
9229
|
-
const
|
|
9229
|
+
const Me = "discussion_", Cc = 280, cn = ({
|
|
9230
9230
|
element: t = "div",
|
|
9231
9231
|
content: e,
|
|
9232
9232
|
userHasPermissions: n = !0,
|
|
@@ -9258,7 +9258,7 @@ const Re = "discussion_", Cc = 280, cn = ({
|
|
|
9258
9258
|
children: _,
|
|
9259
9259
|
isTruncated: y = !1
|
|
9260
9260
|
}) => {
|
|
9261
|
-
const v = V(), b = Ee(Ie), j = Ee(sr), { author: k, canLike: x, createdAt: D, id:
|
|
9261
|
+
const v = V(), b = Ee(Ie), j = Ee(sr), { author: k, canLike: x, createdAt: D, id: R, likes: Z = 0, userLiked: M, comments: O = 0 } = e, C = b && b.id && typeof k != "string" && k.id && k.id === b.id || !1, E = typeof x == "boolean" ? x : n ? !C : !1, w = C && (!e.createdAt || Ys(e.createdAt, 10, "seconds")), $ = pe(null), [L, U] = J({
|
|
9262
9262
|
body: e && e.body || "",
|
|
9263
9263
|
isEditing: !1,
|
|
9264
9264
|
didEdit: e && e.isEdited || !1
|
|
@@ -9294,13 +9294,13 @@ const Re = "discussion_", Cc = 280, cn = ({
|
|
|
9294
9294
|
const te = y ? et(L.body, Cc) : L.body, G = async (F) => {
|
|
9295
9295
|
F || (F = ""), W("");
|
|
9296
9296
|
try {
|
|
9297
|
-
if (!
|
|
9297
|
+
if (!Rs(F, L.body)) {
|
|
9298
9298
|
const oe = e.type === "question" ? { title: F } : { body: F };
|
|
9299
9299
|
await f(Qr(e.slugs), oe);
|
|
9300
9300
|
}
|
|
9301
9301
|
U({ body: F, isEditing: !1, didEdit: !0 });
|
|
9302
9302
|
} catch {
|
|
9303
|
-
W(`${
|
|
9303
|
+
W(`${Me}form_error`);
|
|
9304
9304
|
}
|
|
9305
9305
|
}, Y = () => {
|
|
9306
9306
|
j && j.updateConversation && j.updateConversation({ showForm: !0 }), setTimeout(() => {
|
|
@@ -9317,15 +9317,15 @@ const Re = "discussion_", Cc = 280, cn = ({
|
|
|
9317
9317
|
}
|
|
9318
9318
|
}, re = [
|
|
9319
9319
|
{
|
|
9320
|
-
text: v.formatMessage({ id: `${
|
|
9320
|
+
text: v.formatMessage({ id: `${Me}moreMenu_report` }),
|
|
9321
9321
|
onClick: (F) => {
|
|
9322
9322
|
F.stopPropagation();
|
|
9323
9323
|
},
|
|
9324
9324
|
href: `mailto:community@apolitical.co?subject=${encodeURI(
|
|
9325
|
-
v.formatMessage({ id: `${
|
|
9325
|
+
v.formatMessage({ id: `${Me}report_subject` })
|
|
9326
9326
|
)}&body=${encodeURI(
|
|
9327
9327
|
v.formatMessage(
|
|
9328
|
-
{ id: `${
|
|
9328
|
+
{ id: `${Me}report_body` },
|
|
9329
9329
|
{
|
|
9330
9330
|
contentType: e.type || "",
|
|
9331
9331
|
contentSlug: e.slug || "",
|
|
@@ -9338,7 +9338,7 @@ const Re = "discussion_", Cc = 280, cn = ({
|
|
|
9338
9338
|
];
|
|
9339
9339
|
return n && C && re.push(
|
|
9340
9340
|
{
|
|
9341
|
-
text: v.formatMessage({ id: `${
|
|
9341
|
+
text: v.formatMessage({ id: `${Me}moreMenu_edit` }),
|
|
9342
9342
|
onClick: () => U({ ...L, isEditing: !0 }),
|
|
9343
9343
|
icon: "pencil-paper",
|
|
9344
9344
|
className: "gtm-trackable",
|
|
@@ -9346,7 +9346,7 @@ const Re = "discussion_", Cc = 280, cn = ({
|
|
|
9346
9346
|
"data-gtm-event-type": `edit-${e.type}-click`
|
|
9347
9347
|
},
|
|
9348
9348
|
{
|
|
9349
|
-
text: v.formatMessage({ id: `${
|
|
9349
|
+
text: v.formatMessage({ id: `${Me}moreMenu_delete` }),
|
|
9350
9350
|
onClick: (F) => {
|
|
9351
9351
|
F.preventDefault(), F.stopPropagation(), z(!0);
|
|
9352
9352
|
},
|
|
@@ -9366,7 +9366,7 @@ const Re = "discussion_", Cc = 280, cn = ({
|
|
|
9366
9366
|
/* @__PURE__ */ a.jsxs(
|
|
9367
9367
|
"div",
|
|
9368
9368
|
{
|
|
9369
|
-
id:
|
|
9369
|
+
id: R || e.slug,
|
|
9370
9370
|
className: S("discussion-card", e.type, {
|
|
9371
9371
|
editing: L.isEditing,
|
|
9372
9372
|
"has-link": m.post && !L.isEditing
|
|
@@ -9448,7 +9448,7 @@ const Re = "discussion_", Cc = 280, cn = ({
|
|
|
9448
9448
|
element: "li",
|
|
9449
9449
|
likes: Z,
|
|
9450
9450
|
isShort: !1,
|
|
9451
|
-
userLiked:
|
|
9451
|
+
userLiked: M,
|
|
9452
9452
|
content: { type: e.type, slugs: e.slugs },
|
|
9453
9453
|
canLike: E,
|
|
9454
9454
|
peopleWhoLiked: e.peopleWhoLiked,
|
|
@@ -9479,13 +9479,13 @@ const Re = "discussion_", Cc = 280, cn = ({
|
|
|
9479
9479
|
"data-gtm-event-context": g,
|
|
9480
9480
|
"data-gtm-event-type": `answer-${e.type}-click`,
|
|
9481
9481
|
screenreaderText: v.formatMessage(
|
|
9482
|
-
{ id: `${
|
|
9482
|
+
{ id: `${Me}comments_screenReader` },
|
|
9483
9483
|
{ count: O }
|
|
9484
9484
|
)
|
|
9485
9485
|
}
|
|
9486
9486
|
),
|
|
9487
9487
|
/* @__PURE__ */ a.jsx("span", { children: v.formatMessage(
|
|
9488
|
-
{ id: `${
|
|
9488
|
+
{ id: `${Me}comments` },
|
|
9489
9489
|
{ count: O }
|
|
9490
9490
|
) })
|
|
9491
9491
|
]
|
|
@@ -9498,7 +9498,7 @@ const Re = "discussion_", Cc = 280, cn = ({
|
|
|
9498
9498
|
size: "medium",
|
|
9499
9499
|
styling: { muted: !0 },
|
|
9500
9500
|
onClick: Y,
|
|
9501
|
-
children: v.formatMessage({ id: `${
|
|
9501
|
+
children: v.formatMessage({ id: `${Me}reply` })
|
|
9502
9502
|
}
|
|
9503
9503
|
) }),
|
|
9504
9504
|
/* @__PURE__ */ a.jsx(
|
|
@@ -9609,7 +9609,7 @@ const Nc = ({
|
|
|
9609
9609
|
),
|
|
9610
9610
|
r && o.showForm && /* @__PURE__ */ a.jsx(ar, { ...r })
|
|
9611
9611
|
] });
|
|
9612
|
-
}, Pc = "post",
|
|
9612
|
+
}, Pc = "post", Mc = "reply", Ya = "00000000-0000-0000-0000-000000000000";
|
|
9613
9613
|
function ir({ queryClient: t, queryKey: e }) {
|
|
9614
9614
|
function n(r, s, i) {
|
|
9615
9615
|
t.setQueryData(e, i);
|
|
@@ -9624,7 +9624,7 @@ function or({ queryClient: t, queryKey: e }) {
|
|
|
9624
9624
|
}
|
|
9625
9625
|
return n;
|
|
9626
9626
|
}
|
|
9627
|
-
function
|
|
9627
|
+
function Rc() {
|
|
9628
9628
|
return {
|
|
9629
9629
|
latest_reactions: {
|
|
9630
9630
|
like: [],
|
|
@@ -9680,7 +9680,7 @@ function Jr({ activity: t, user: e }) {
|
|
|
9680
9680
|
return {
|
|
9681
9681
|
...t,
|
|
9682
9682
|
actor: Ka(e),
|
|
9683
|
-
...
|
|
9683
|
+
...Rc()
|
|
9684
9684
|
};
|
|
9685
9685
|
}
|
|
9686
9686
|
function Xt({ activity: t, reaction: e }) {
|
|
@@ -9716,7 +9716,7 @@ function Ac({ activityId: t, replyId: e, content: n }) {
|
|
|
9716
9716
|
content: n
|
|
9717
9717
|
},
|
|
9718
9718
|
id: Ya,
|
|
9719
|
-
kind:
|
|
9719
|
+
kind: Mc,
|
|
9720
9720
|
parent: e || ""
|
|
9721
9721
|
};
|
|
9722
9722
|
}
|
|
@@ -10165,9 +10165,9 @@ const pd = ({
|
|
|
10165
10165
|
const {
|
|
10166
10166
|
id: x,
|
|
10167
10167
|
own_reactions: D,
|
|
10168
|
-
latest_reactions:
|
|
10168
|
+
latest_reactions: R,
|
|
10169
10169
|
reaction_counts: Z
|
|
10170
|
-
} = j,
|
|
10170
|
+
} = j, M = (((L = R == null ? void 0 : R.like) == null ? void 0 : L.length) || 0) > 0, O = (((U = D == null ? void 0 : D.like) == null ? void 0 : U.length) || 0) > 0, C = O ? D == null ? void 0 : D.like[0].id : "", E = M ? (I = R == null ? void 0 : R.like) == null ? void 0 : I.map((q) => {
|
|
10171
10171
|
var H, te, G;
|
|
10172
10172
|
return {
|
|
10173
10173
|
id: (H = q == null ? void 0 : q.user) == null ? void 0 : H.id,
|
|
@@ -11041,7 +11041,7 @@ const ol = ({
|
|
|
11041
11041
|
} = y, D = (((L = b == null ? void 0 : b.like) == null ? void 0 : L.length) || 0) > 0 ? (U = b == null ? void 0 : b.like) == null ? void 0 : U.find((Y) => {
|
|
11042
11042
|
var ee;
|
|
11043
11043
|
return ((ee = Y == null ? void 0 : Y.user) == null ? void 0 : ee.id) === (_ == null ? void 0 : _.id);
|
|
11044
|
-
}) : !1,
|
|
11044
|
+
}) : !1, R = D ? D == null ? void 0 : D.id : "", Z = !!D, O = (((I = j == null ? void 0 : j.like) == null ? void 0 : I.length) || 0) > 0 ? (z = j == null ? void 0 : j.like) == null ? void 0 : z.map((Y) => {
|
|
11045
11045
|
var ee, re, F;
|
|
11046
11046
|
return {
|
|
11047
11047
|
id: (ee = Y == null ? void 0 : Y.user) == null ? void 0 : ee.id,
|
|
@@ -11091,7 +11091,7 @@ const ol = ({
|
|
|
11091
11091
|
},
|
|
11092
11092
|
likes: {
|
|
11093
11093
|
createLike: () => m({ replyId: v }),
|
|
11094
|
-
deleteLike: () => g({ replyId: v, reactionId:
|
|
11094
|
+
deleteLike: () => g({ replyId: v, reactionId: R })
|
|
11095
11095
|
},
|
|
11096
11096
|
comments: {}
|
|
11097
11097
|
}
|
|
@@ -11145,10 +11145,10 @@ const ol = ({
|
|
|
11145
11145
|
),
|
|
11146
11146
|
f == null ? void 0 : f.map((j) => {
|
|
11147
11147
|
var z, X, T, N, W, q, H, te, G, Y, ee, re;
|
|
11148
|
-
const { id: k, own_children: x, latest_children: D, children_counts:
|
|
11148
|
+
const { id: k, own_children: x, latest_children: D, children_counts: R } = j, M = (((z = x == null ? void 0 : x.like) == null ? void 0 : z.length) || 0) > 0 ? (X = x == null ? void 0 : x.like) == null ? void 0 : X.find((F) => {
|
|
11149
11149
|
var oe;
|
|
11150
11150
|
return ((oe = F == null ? void 0 : F.user) == null ? void 0 : oe.id) === (b == null ? void 0 : b.id);
|
|
11151
|
-
}) : !1, O =
|
|
11151
|
+
}) : !1, O = M ? M == null ? void 0 : M.id : "", C = !!M, w = (((T = D == null ? void 0 : D.like) == null ? void 0 : T.length) || 0) > 0 ? (N = D == null ? void 0 : D.like) == null ? void 0 : N.map((F) => {
|
|
11152
11152
|
var oe, A, ve;
|
|
11153
11153
|
return {
|
|
11154
11154
|
id: (oe = F == null ? void 0 : F.user) == null ? void 0 : oe.id,
|
|
@@ -11184,7 +11184,7 @@ const ol = ({
|
|
|
11184
11184
|
}
|
|
11185
11185
|
},
|
|
11186
11186
|
userLiked: C,
|
|
11187
|
-
likes: (
|
|
11187
|
+
likes: (R == null ? void 0 : R.like) || 0,
|
|
11188
11188
|
peopleWhoLiked: w
|
|
11189
11189
|
},
|
|
11190
11190
|
functions: {
|
|
@@ -11336,7 +11336,7 @@ const gd = ({
|
|
|
11336
11336
|
leave: f
|
|
11337
11337
|
}
|
|
11338
11338
|
}) => {
|
|
11339
|
-
var
|
|
11339
|
+
var M, O, C, E, w, $, L, U, I, z;
|
|
11340
11340
|
const l = V(), d = Ee(Ie), {
|
|
11341
11341
|
activity: u,
|
|
11342
11342
|
error: m,
|
|
@@ -11356,13 +11356,13 @@ const gd = ({
|
|
|
11356
11356
|
text: l.formatMessage({ id: "activitySection_notFoundError" })
|
|
11357
11357
|
}
|
|
11358
11358
|
);
|
|
11359
|
-
const { own_reactions: v, latest_reactions: b } = u, j = (((
|
|
11359
|
+
const { own_reactions: v, latest_reactions: b } = u, j = (((M = b == null ? void 0 : b.like) == null ? void 0 : M.length) || 0) > 0, k = (((O = v == null ? void 0 : v.like) == null ? void 0 : O.length) || 0) > 0, x = k ? v == null ? void 0 : v.like[0].id : "", D = j ? (C = b == null ? void 0 : b.like) == null ? void 0 : C.map((X) => {
|
|
11360
11360
|
var T, N, W;
|
|
11361
11361
|
return {
|
|
11362
11362
|
id: (T = X == null ? void 0 : X.user) == null ? void 0 : T.id,
|
|
11363
11363
|
name: (W = (N = X == null ? void 0 : X.user) == null ? void 0 : N.data) == null ? void 0 : W.name
|
|
11364
11364
|
};
|
|
11365
|
-
}) : !1,
|
|
11365
|
+
}) : !1, R = u == null ? void 0 : u.actor, Z = (R == null ? void 0 : R.id) === (d == null ? void 0 : d.id);
|
|
11366
11366
|
return /* @__PURE__ */ a.jsxs("section", { className: "activity-section", children: [
|
|
11367
11367
|
/* @__PURE__ */ a.jsx(
|
|
11368
11368
|
cn,
|
|
@@ -11380,13 +11380,13 @@ const gd = ({
|
|
|
11380
11380
|
},
|
|
11381
11381
|
slug: n,
|
|
11382
11382
|
author: {
|
|
11383
|
-
id:
|
|
11384
|
-
name: (E =
|
|
11385
|
-
organization: (w =
|
|
11386
|
-
jobTitle: ($ =
|
|
11387
|
-
location: (L =
|
|
11383
|
+
id: R.id,
|
|
11384
|
+
name: (E = R.data) == null ? void 0 : E.name,
|
|
11385
|
+
organization: (w = R.data) == null ? void 0 : w.organization,
|
|
11386
|
+
jobTitle: ($ = R.data) == null ? void 0 : $.jobTitle,
|
|
11387
|
+
location: (L = R.data) == null ? void 0 : L.location,
|
|
11388
11388
|
image: {
|
|
11389
|
-
thumbnail: ((U =
|
|
11389
|
+
thumbnail: ((U = R.data) == null ? void 0 : U.thumbnail) || void 0
|
|
11390
11390
|
}
|
|
11391
11391
|
},
|
|
11392
11392
|
userLiked: k,
|
|
@@ -11394,7 +11394,7 @@ const gd = ({
|
|
|
11394
11394
|
comments: ((z = u == null ? void 0 : u.reaction_counts) == null ? void 0 : z.reply) || 0,
|
|
11395
11395
|
peopleWhoLiked: D
|
|
11396
11396
|
},
|
|
11397
|
-
originalAuthorId:
|
|
11397
|
+
originalAuthorId: R == null ? void 0 : R.id,
|
|
11398
11398
|
forceHide: { comments: !0 },
|
|
11399
11399
|
functions: {
|
|
11400
11400
|
content: {
|
|
@@ -11564,7 +11564,7 @@ export {
|
|
|
11564
11564
|
Ha as Header,
|
|
11565
11565
|
ci as HelperTextBox,
|
|
11566
11566
|
Gn as HiddenFromScreenReaders,
|
|
11567
|
-
|
|
11567
|
+
Rl as HideShowTextBox,
|
|
11568
11568
|
Wl as HighlightSection,
|
|
11569
11569
|
Oe as HighlightedTextBox,
|
|
11570
11570
|
Fl as IconBulletedList,
|
|
@@ -11608,7 +11608,7 @@ export {
|
|
|
11608
11608
|
cl as RepliesFeed,
|
|
11609
11609
|
$c as ResponsesHeading,
|
|
11610
11610
|
jt as ResponsiveImage,
|
|
11611
|
-
|
|
11611
|
+
Ml as ReturnToNavButton,
|
|
11612
11612
|
Ki as SearchForm,
|
|
11613
11613
|
sd as ShareLinks,
|
|
11614
11614
|
Ql as SignupForm,
|