@apolitical/component-library 3.5.23 → 4.0.0-beta.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/constants/error-messages.d.ts +1 -0
- package/constants/index.d.ts +1 -0
- package/index.js +17 -17
- package/index.mjs +440 -437
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -895,8 +895,8 @@ const kt = (t = !0, e = !1, n = "window") => {
|
|
|
895
895
|
ARTICLE: "microcourseArticle",
|
|
896
896
|
DISCUSSION: "microcourseDiscussion",
|
|
897
897
|
QUIZ: "assessmentQuiz"
|
|
898
|
-
},
|
|
899
|
-
function
|
|
898
|
+
}, Ks = "Invalid token error: Logging user out...", Ol = "200,000+", Al = "160+";
|
|
899
|
+
function Gs(t) {
|
|
900
900
|
return t ? {
|
|
901
901
|
"--icon": `url(${Le}icons/${t}.svg)`
|
|
902
902
|
} : {};
|
|
@@ -912,7 +912,7 @@ const Ue = {
|
|
|
912
912
|
weeks: 52,
|
|
913
913
|
days: 365
|
|
914
914
|
}
|
|
915
|
-
},
|
|
915
|
+
}, Qs = (t, e = "en") => new Date(t).toLocaleString(e, { day: "numeric", month: "short" }), ba = (t, e = "en") => new Date(t).toLocaleString(e, {
|
|
916
916
|
weekday: "long",
|
|
917
917
|
day: "numeric",
|
|
918
918
|
month: "short",
|
|
@@ -935,7 +935,7 @@ const Ue = {
|
|
|
935
935
|
}, zt = (t) => {
|
|
936
936
|
const n = (t || /* @__PURE__ */ new Date()).toUTCString();
|
|
937
937
|
return new Date(n);
|
|
938
|
-
},
|
|
938
|
+
}, Js = (t, e, n) => {
|
|
939
939
|
let r;
|
|
940
940
|
const s = zt(), i = zt(new Date(t));
|
|
941
941
|
try {
|
|
@@ -952,7 +952,7 @@ const Ue = {
|
|
|
952
952
|
return r / Ue.milliseconds.inHour <= e;
|
|
953
953
|
}
|
|
954
954
|
return !1;
|
|
955
|
-
},
|
|
955
|
+
}, Xs = (t) => new Promise((e) => setTimeout(e, t)), rt = {
|
|
956
956
|
/* Common */
|
|
957
957
|
apolitical: "Apolitical",
|
|
958
958
|
dates_now: "now",
|
|
@@ -1373,7 +1373,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
|
|
|
1373
1373
|
markdown_iframe_video: "Video",
|
|
1374
1374
|
markdown_iframe_padlet: "Interactive board",
|
|
1375
1375
|
markdown_iframe_poll: "Poll"
|
|
1376
|
-
},
|
|
1376
|
+
}, ei = {
|
|
1377
1377
|
...rt,
|
|
1378
1378
|
/* Navigation */
|
|
1379
1379
|
languageSwitcher_label: "Me gustaría leer este artículo en...",
|
|
@@ -1381,7 +1381,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
|
|
|
1381
1381
|
languageSwitcher_translation_human: "traducido por un humano",
|
|
1382
1382
|
languageSwitcher_translation_machine: "traducido por máquina",
|
|
1383
1383
|
languageSwitcher_disclaimer: "Este contenido fue traducido automáticamente y ocasionalmente tendrá errores de género u otras traducciones directas. Estamos intentando resolver este problema, pero mientras tanto, si notas algún error grave, escríbenos a <link>{email}</link>"
|
|
1384
|
-
},
|
|
1384
|
+
}, ti = {
|
|
1385
1385
|
...rt,
|
|
1386
1386
|
/* Navigation */
|
|
1387
1387
|
languageSwitcher_label: "Je voudrais lire cet article dans...",
|
|
@@ -1391,7 +1391,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
|
|
|
1391
1391
|
languageSwitcher_disclaimer: "Ce contenu est traduit automatiquement et contiendra d’évantuelles erreurs de genre ou d’autres traductions directes. Nous essayons de résoudre ce problème, mais en attendant, si vous remarquez une erreur importante, faites-le nous savoir à <link>{email}</link>",
|
|
1392
1392
|
/* Text */
|
|
1393
1393
|
collapsibleSection_summary: "En savoir plus"
|
|
1394
|
-
},
|
|
1394
|
+
}, ni = {
|
|
1395
1395
|
...rt,
|
|
1396
1396
|
/* Navigation */
|
|
1397
1397
|
languageSwitcher_label: "Eu gostaria de ler este artigo em...",
|
|
@@ -1399,16 +1399,16 @@ Thank you for helping to protect the Apolitical community from abusive content.`
|
|
|
1399
1399
|
languageSwitcher_translation_human: "traduzido por um humano",
|
|
1400
1400
|
languageSwitcher_translation_machine: "traduzido por máquina",
|
|
1401
1401
|
languageSwitcher_disclaimer: "Este conteúdo foi traduzido automaticamente e, ocasionalmente, poderão ocorrer erros de linguagem de gênero ou outras traduções diretas. Estamos tentando resolver isso, porém se perceber algo errado por favor nos avise em <link>{email}</link>"
|
|
1402
|
-
},
|
|
1402
|
+
}, ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1403
1403
|
__proto__: null,
|
|
1404
1404
|
en: rt,
|
|
1405
|
-
es:
|
|
1406
|
-
fr:
|
|
1407
|
-
pt:
|
|
1405
|
+
es: ei,
|
|
1406
|
+
fr: ti,
|
|
1407
|
+
pt: ni
|
|
1408
1408
|
}, Symbol.toStringTag, { value: "Module" })), er = (t, e = rt) => t in e, Ne = (t, e, n, r, s = {}) => {
|
|
1409
1409
|
let i = "";
|
|
1410
1410
|
return er(`${e}_${n}`) ? i = t({ id: `${e}_${n}` }, s) : i = t({ id: e }, { [r]: n, ...s }), i;
|
|
1411
|
-
},
|
|
1411
|
+
}, ai = (t, e, n) => {
|
|
1412
1412
|
if (!t || t === 0)
|
|
1413
1413
|
return "0";
|
|
1414
1414
|
e || (e = 0), n || (n = ["k", "m", "b", "t"]);
|
|
@@ -1424,12 +1424,12 @@ Thank you for helping to protect the Apolitical community from abusive content.`
|
|
|
1424
1424
|
return r;
|
|
1425
1425
|
}, qt = (t, e) => Y.Children.map(t, (n) => Object.is(n, null) ? n : Y.cloneElement(n, {
|
|
1426
1426
|
...e
|
|
1427
|
-
})),
|
|
1427
|
+
})), si = (t = 0) => {
|
|
1428
1428
|
setTimeout(() => {
|
|
1429
1429
|
const e = document.querySelector(".splash-screen");
|
|
1430
1430
|
e && e.remove(), window.prerenderReady = !0;
|
|
1431
1431
|
}, t);
|
|
1432
|
-
},
|
|
1432
|
+
}, ii = (t) => t.replace(/\s+/g, "").length > 0, Tr = (t) => {
|
|
1433
1433
|
const e = t.length > 8, n = /[0-9]/.test(t) && /[`!@#$%^&*()_+\-=[\]{}£;':"\\|,.<>/?~]/.test(t), r = new RegExp("^(?=.*?[A-Z])(?=.*?[a-z])").test(t);
|
|
1434
1434
|
return {
|
|
1435
1435
|
isValid: e && n && r,
|
|
@@ -1591,17 +1591,17 @@ const ze = ({ className: t = "", maxWidth: e = !1 }) => {
|
|
|
1591
1591
|
],
|
|
1592
1592
|
sizes: "(min-width: 1024px) 453px, 20vw"
|
|
1593
1593
|
}
|
|
1594
|
-
},
|
|
1594
|
+
}, oi = ({
|
|
1595
1595
|
aspect: t,
|
|
1596
1596
|
range: e,
|
|
1597
1597
|
sizes: n
|
|
1598
1598
|
}) => {
|
|
1599
1599
|
const { range: r, sizes: s } = t ? Er[t] : Er.fallback;
|
|
1600
1600
|
return { range: e && e.length > 0 ? e : r, sizes: n || s };
|
|
1601
|
-
},
|
|
1601
|
+
}, ci = ({ format: t, height: e, query: n, width: r }) => {
|
|
1602
1602
|
let s = `w=${r}&h=${e}`;
|
|
1603
1603
|
return s = t ? `${s}&fm=${t}` : s, s = n ? `${s}&${n}` : s, s;
|
|
1604
|
-
}, vn = ({ format: t, range: e, url: n, query: r }) => e.map(({ height: s, width: i }) => `${n}?${
|
|
1604
|
+
}, vn = ({ format: t, range: e, url: n, query: r }) => e.map(({ height: s, width: i }) => `${n}?${ci({
|
|
1605
1605
|
format: t,
|
|
1606
1606
|
height: s,
|
|
1607
1607
|
query: r,
|
|
@@ -1618,7 +1618,7 @@ const Et = ({ image: t, className: e, testId: n }) => {
|
|
|
1618
1618
|
loading: l,
|
|
1619
1619
|
decoding: d,
|
|
1620
1620
|
fetchPriority: m
|
|
1621
|
-
} = t, { range: f, sizes: p } =
|
|
1621
|
+
} = t, { range: f, sizes: p } = oi(t), b = vn({ format: "avif", query: o, range: f, url: c }), h = vn({ format: "webp", query: o, range: f, url: c }), g = vn({ format: "", query: o, range: f, url: c });
|
|
1622
1622
|
return i && i.includes("svg") ? /* @__PURE__ */ a.jsx("picture", { className: e, children: /* @__PURE__ */ a.jsx(
|
|
1623
1623
|
"img",
|
|
1624
1624
|
{
|
|
@@ -1659,7 +1659,7 @@ const Et = ({ image: t, className: e, testId: n }) => {
|
|
|
1659
1659
|
)
|
|
1660
1660
|
] });
|
|
1661
1661
|
};
|
|
1662
|
-
const
|
|
1662
|
+
const Dl = ({ image: t, className: e = "", testId: n }) => /* @__PURE__ */ a.jsx(
|
|
1663
1663
|
"div",
|
|
1664
1664
|
{
|
|
1665
1665
|
className: `image-container ${e}`,
|
|
@@ -1682,7 +1682,7 @@ const Al = ({ image: t, className: e = "", testId: n }) => /* @__PURE__ */ a.jsx
|
|
|
1682
1682
|
}
|
|
1683
1683
|
return n ? Y.createElement(n, { children: e, className: r, ...c }) : /* @__PURE__ */ a.jsx(a.Fragment, { children: e });
|
|
1684
1684
|
};
|
|
1685
|
-
const
|
|
1685
|
+
const Il = ({ currentStep: t = 1, steps: e = 1 }) => /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
1686
1686
|
/* @__PURE__ */ a.jsx(be, { children: /* @__PURE__ */ a.jsx(
|
|
1687
1687
|
ye,
|
|
1688
1688
|
{
|
|
@@ -1714,7 +1714,7 @@ const Dl = ({ currentStep: t = 1, steps: e = 1 }) => /* @__PURE__ */ a.jsxs(a.Fr
|
|
|
1714
1714
|
] }, r);
|
|
1715
1715
|
}) }) })
|
|
1716
1716
|
] });
|
|
1717
|
-
const
|
|
1717
|
+
const Ll = ({ elementId: t, offset: e = 20 }) => {
|
|
1718
1718
|
const n = H(), r = () => {
|
|
1719
1719
|
const s = document.getElementById(t);
|
|
1720
1720
|
if (!s)
|
|
@@ -1736,11 +1736,11 @@ const Il = ({ elementId: t, offset: e = 20 }) => {
|
|
|
1736
1736
|
}
|
|
1737
1737
|
);
|
|
1738
1738
|
};
|
|
1739
|
-
const
|
|
1739
|
+
const Bl = ({ items: t, className: e = "", ...n }) => /* @__PURE__ */ a.jsx("ul", { className: E("buckets", e), ...n, children: t.map(({ title: r, text: s, link: i, ...o }, c) => /* @__PURE__ */ a.jsx("li", { className: "bucket text-medium", children: /* @__PURE__ */ a.jsxs("a", { href: i, ...o, children: [
|
|
1740
1740
|
/* @__PURE__ */ a.jsx("p", { className: "title", children: r }),
|
|
1741
1741
|
/* @__PURE__ */ a.jsx("p", { children: s })
|
|
1742
1742
|
] }) }, c)) }), Sr = 300, Cr = "ease-in-out";
|
|
1743
|
-
class
|
|
1743
|
+
class li {
|
|
1744
1744
|
constructor(e) {
|
|
1745
1745
|
this.el = e, this.summary = e.querySelector("summary"), this.content = e.querySelector(".content"), this.animation = null, this.isClosing = !1, this.isExpanding = !1, this.summary.addEventListener("click", (n) => this.onClick(n));
|
|
1746
1746
|
}
|
|
@@ -1792,7 +1792,7 @@ const tr = ({
|
|
|
1792
1792
|
const s = H(), i = pe(null);
|
|
1793
1793
|
return re(() => {
|
|
1794
1794
|
let o;
|
|
1795
|
-
return r && (o = new
|
|
1795
|
+
return r && (o = new li(i.current)), () => {
|
|
1796
1796
|
r && o && o.cleanUp();
|
|
1797
1797
|
};
|
|
1798
1798
|
}, []), /* @__PURE__ */ a.jsxs(
|
|
@@ -1814,7 +1814,7 @@ const tr = ({
|
|
|
1814
1814
|
person: "user",
|
|
1815
1815
|
speech: "speech-bubble_round",
|
|
1816
1816
|
star: "star_empty_thin"
|
|
1817
|
-
},
|
|
1817
|
+
}, ui = (t) => {
|
|
1818
1818
|
let e = t;
|
|
1819
1819
|
return Object.keys(Nr).includes(t) && (e = Nr[t]), `url(${Le}icons/${e}.svg)`;
|
|
1820
1820
|
};
|
|
@@ -1826,13 +1826,13 @@ const $r = {
|
|
|
1826
1826
|
listPage: "list",
|
|
1827
1827
|
learningHub: "learning-hub",
|
|
1828
1828
|
communityPage: "communityPage"
|
|
1829
|
-
},
|
|
1829
|
+
}, di = ({
|
|
1830
1830
|
contentType: t,
|
|
1831
1831
|
customIcon: e,
|
|
1832
1832
|
customLabel: n,
|
|
1833
1833
|
className: r = ""
|
|
1834
1834
|
}) => {
|
|
1835
|
-
const s = H(), i = e ? { "--custom-icon":
|
|
1835
|
+
const s = H(), i = e ? { "--custom-icon": ui(e) } : {}, o = er(`contentTypeLabel_${t}`) ? s.formatMessage({ id: `contentTypeLabel_${t}` }) : !1;
|
|
1836
1836
|
return !n && !o ? null : /* @__PURE__ */ a.jsx(
|
|
1837
1837
|
"small",
|
|
1838
1838
|
{
|
|
@@ -1913,7 +1913,7 @@ const He = ({
|
|
|
1913
1913
|
const Zn = ({ children: t, ...e }) => /* @__PURE__ */ a.jsx("p", { ...e, children: t }), ya = { q: Zn, blockquote: Zn };
|
|
1914
1914
|
for (let t = 1; t <= 6; t++)
|
|
1915
1915
|
ya[`h${t}`] = { component: Zn, props: { className: "title" } };
|
|
1916
|
-
const
|
|
1916
|
+
const fi = ({
|
|
1917
1917
|
type: t = "default",
|
|
1918
1918
|
className: e = "",
|
|
1919
1919
|
heading: n = !1,
|
|
@@ -1932,7 +1932,7 @@ const di = ({
|
|
|
1932
1932
|
}
|
|
1933
1933
|
) : /* @__PURE__ */ a.jsx("p", { children: r })
|
|
1934
1934
|
] });
|
|
1935
|
-
const
|
|
1935
|
+
const mi = ({
|
|
1936
1936
|
id: t,
|
|
1937
1937
|
className: e = "",
|
|
1938
1938
|
show: n = !1,
|
|
@@ -1997,7 +1997,7 @@ const fi = ({
|
|
|
1997
1997
|
}
|
|
1998
1998
|
);
|
|
1999
1999
|
};
|
|
2000
|
-
const
|
|
2000
|
+
const ql = ({
|
|
2001
2001
|
element: t = "ul",
|
|
2002
2002
|
layout: e = "vertical",
|
|
2003
2003
|
variant: n = "default",
|
|
@@ -2022,7 +2022,7 @@ const Bl = ({
|
|
|
2022
2022
|
] }, `dl-${l}`) : /* @__PURE__ */ a.jsx("li", { style: m, children: typeof u.text == "string" ? /* @__PURE__ */ a.jsx(Ie, { options: d, children: u.text }) : u.text }, l);
|
|
2023
2023
|
})
|
|
2024
2024
|
});
|
|
2025
|
-
}, _e = () => Y.Fragment,
|
|
2025
|
+
}, _e = () => Y.Fragment, pi = ({ children: t }) => /* @__PURE__ */ a.jsx(Fe, { variant: "secondary", children: t }), hi = ({ children: t }) => typeof t == "object" && Object.keys(t || {}).length === 1 ? /* @__PURE__ */ a.jsx("p", { className: "center", children: t }) : /* @__PURE__ */ a.jsx("div", { className: "center", children: t }), gi = ["span", "strong", "h1", "h2", "h3", "h4", "h5", "h6", "p"], vi = ({ children: t }) => {
|
|
2026
2026
|
const e = H();
|
|
2027
2027
|
if (!t)
|
|
2028
2028
|
return null;
|
|
@@ -2037,7 +2037,7 @@ const Bl = ({
|
|
|
2037
2037
|
for (const o of Wn.toArray(i.props.children))
|
|
2038
2038
|
if (!(!o || typeof o == "string" || typeof o == "number") && Y.isValidElement(o)) {
|
|
2039
2039
|
const c = o.type;
|
|
2040
|
-
if (
|
|
2040
|
+
if (gi.includes(c)) {
|
|
2041
2041
|
for (n = o.props.children; typeof n != "string" && (Array.isArray(n) && n[0].props && n[0].props.children && n[0].props.children[0]); )
|
|
2042
2042
|
n = n[0].props.children[0];
|
|
2043
2043
|
break;
|
|
@@ -2055,7 +2055,7 @@ const Bl = ({
|
|
|
2055
2055
|
children: r.map((i) => i)
|
|
2056
2056
|
}
|
|
2057
2057
|
);
|
|
2058
|
-
},
|
|
2058
|
+
}, bi = ({
|
|
2059
2059
|
children: t,
|
|
2060
2060
|
...e
|
|
2061
2061
|
}) => {
|
|
@@ -2074,7 +2074,7 @@ const Bl = ({
|
|
|
2074
2074
|
return /* @__PURE__ */ a.jsx("div", { ...e, children: t });
|
|
2075
2075
|
}
|
|
2076
2076
|
return /* @__PURE__ */ a.jsx("div", { ...e, children: t });
|
|
2077
|
-
},
|
|
2077
|
+
}, yi = (t) => {
|
|
2078
2078
|
const e = H(), n = Date.now().toString();
|
|
2079
2079
|
let r = "default";
|
|
2080
2080
|
const s = t.src;
|
|
@@ -2107,7 +2107,7 @@ const Bl = ({
|
|
|
2107
2107
|
}, Pr = (t) => {
|
|
2108
2108
|
let e = "";
|
|
2109
2109
|
return t && typeof t != "string" && typeof t != "number" && typeof t != "boolean" && "type" in t && (e = t.type), e;
|
|
2110
|
-
},
|
|
2110
|
+
}, _i = ({
|
|
2111
2111
|
children: t,
|
|
2112
2112
|
...e
|
|
2113
2113
|
}) => {
|
|
@@ -2126,21 +2126,21 @@ const Bl = ({
|
|
|
2126
2126
|
}
|
|
2127
2127
|
return s ? (n = { ...n, className: "button primary medium" }, /* @__PURE__ */ a.jsx("p", { className: "center", children: /* @__PURE__ */ a.jsx(ie, { variant: "primary", size: "medium", ...n, children: r }) })) : /* @__PURE__ */ a.jsx("a", { ...n, children: r });
|
|
2128
2128
|
}, Mr = ({ children: t }) => /* @__PURE__ */ a.jsx("span", { children: t });
|
|
2129
|
-
const
|
|
2129
|
+
const xi = {
|
|
2130
2130
|
default: {
|
|
2131
|
-
a:
|
|
2131
|
+
a: _i,
|
|
2132
2132
|
// Override psuedo-code
|
|
2133
2133
|
// We give the content team psuedo-code short cuts to use in Contentful
|
|
2134
2134
|
CollapsibleSection: tr,
|
|
2135
2135
|
TextBox: Fe,
|
|
2136
|
-
CaseStudy:
|
|
2136
|
+
CaseStudy: pi,
|
|
2137
2137
|
// Override embedded HTML
|
|
2138
2138
|
// Our content team previously used real HTML, which we need to tear out and replace with React components
|
|
2139
2139
|
style: _e,
|
|
2140
|
-
details:
|
|
2141
|
-
div:
|
|
2142
|
-
iframe:
|
|
2143
|
-
center:
|
|
2140
|
+
details: vi,
|
|
2141
|
+
div: bi,
|
|
2142
|
+
iframe: yi,
|
|
2143
|
+
center: hi
|
|
2144
2144
|
},
|
|
2145
2145
|
"text-only": {
|
|
2146
2146
|
h1: _e,
|
|
@@ -2171,7 +2171,7 @@ const _i = {
|
|
|
2171
2171
|
const o = {
|
|
2172
2172
|
wrapper: Y.Fragment,
|
|
2173
2173
|
forceBlock: !0,
|
|
2174
|
-
overrides:
|
|
2174
|
+
overrides: xi[r]
|
|
2175
2175
|
};
|
|
2176
2176
|
return /* @__PURE__ */ a.jsx(
|
|
2177
2177
|
"div",
|
|
@@ -2183,7 +2183,7 @@ const _i = {
|
|
|
2183
2183
|
}
|
|
2184
2184
|
);
|
|
2185
2185
|
};
|
|
2186
|
-
const
|
|
2186
|
+
const wi = ({
|
|
2187
2187
|
maxWidth: t = !1,
|
|
2188
2188
|
title: e,
|
|
2189
2189
|
subtitle: n,
|
|
@@ -2240,7 +2240,7 @@ const Zt = ({
|
|
|
2240
2240
|
},
|
|
2241
2241
|
e
|
|
2242
2242
|
);
|
|
2243
|
-
const
|
|
2243
|
+
const ji = ({
|
|
2244
2244
|
styling: t = {},
|
|
2245
2245
|
progress: e = 0,
|
|
2246
2246
|
text: n = !1,
|
|
@@ -2266,8 +2266,8 @@ const wi = ({
|
|
|
2266
2266
|
})
|
|
2267
2267
|
}
|
|
2268
2268
|
);
|
|
2269
|
-
}, _a = Oe(
|
|
2270
|
-
const bn = "loadingBlock_",
|
|
2269
|
+
}, _a = Oe(ji);
|
|
2270
|
+
const bn = "loadingBlock_", ki = ({ progress: t = 0, steps: e = !1, className: n = "" }) => {
|
|
2271
2271
|
const r = H();
|
|
2272
2272
|
e || (e = {
|
|
2273
2273
|
0: { text: r.formatMessage({ id: `${bn}loading` }) },
|
|
@@ -2295,7 +2295,7 @@ const bn = "loadingBlock_", ji = ({ progress: t = 0, steps: e = !1, className: n
|
|
|
2295
2295
|
]
|
|
2296
2296
|
}
|
|
2297
2297
|
);
|
|
2298
|
-
},
|
|
2298
|
+
}, Wl = Oe(ki);
|
|
2299
2299
|
const Se = ({ element: t = "div", className: e = "", ...n }) => /* @__PURE__ */ a.jsx(
|
|
2300
2300
|
Xn,
|
|
2301
2301
|
{
|
|
@@ -2356,7 +2356,7 @@ const Hn = {
|
|
|
2356
2356
|
}, xa = (t, e) => t in Hn ? /* @__PURE__ */ a.jsx("div", { className: t, children: Hn[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: E("loading-state", t), ...e, children: Hn[t].map((n, r) => xa(n, r)) }), ja = (t) => {
|
|
2357
2357
|
const e = t && t.toUpperCase().trim().split(" ");
|
|
2358
2358
|
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) : "";
|
|
2359
|
-
}, Nt = ["#5AB6A3", "#A2D7AF", "#806056", "#3962B3"],
|
|
2359
|
+
}, Nt = ["#5AB6A3", "#A2D7AF", "#806056", "#3962B3"], Ti = (t) => {
|
|
2360
2360
|
const e = Math.ceil(26 / Nt.length), n = ja(t).toLowerCase();
|
|
2361
2361
|
if (n === "")
|
|
2362
2362
|
return Nt[0];
|
|
@@ -2383,7 +2383,7 @@ const Rr = 256, Ve = ({
|
|
|
2383
2383
|
if (!f)
|
|
2384
2384
|
return;
|
|
2385
2385
|
const p = s, b = i;
|
|
2386
|
-
typeof window < "u" && window.devicePixelRatio && (m.width = p * window.devicePixelRatio, m.height = b * window.devicePixelRatio, f.scale(window.devicePixelRatio, window.devicePixelRatio)), f.fillStyle =
|
|
2386
|
+
typeof window < "u" && window.devicePixelRatio && (m.width = p * window.devicePixelRatio, m.height = b * window.devicePixelRatio, f.scale(window.devicePixelRatio, window.devicePixelRatio)), f.fillStyle = Ti(n), f.fillRect(0, 0, p, b), f.font = `${p / 3}px Arial`, f.textAlign = "center", f.fillStyle = "white", f.fillText(ja(n), p / 2, b / 1.6);
|
|
2387
2387
|
}, [n]);
|
|
2388
2388
|
let d = !1;
|
|
2389
2389
|
return e && e !== "" && !c && (e.includes("http") || e.includes("//")) && (d = !0), /* @__PURE__ */ a.jsx(
|
|
@@ -2416,7 +2416,7 @@ const Rr = 256, Ve = ({
|
|
|
2416
2416
|
country: t.location && t.location.country || "",
|
|
2417
2417
|
url: `/profiles/${t.id}`,
|
|
2418
2418
|
image: t.image && t.image.thumbnail
|
|
2419
|
-
},
|
|
2419
|
+
}, Ei = ({
|
|
2420
2420
|
role: t = "",
|
|
2421
2421
|
organisation: e = "",
|
|
2422
2422
|
country: n = "",
|
|
@@ -2445,7 +2445,7 @@ const an = ({
|
|
|
2445
2445
|
const { name: d, image: m } = l;
|
|
2446
2446
|
let { url: f } = l;
|
|
2447
2447
|
e.link !== void 0 && (e.link === !1 ? f = void 0 : f = e.link);
|
|
2448
|
-
const p =
|
|
2448
|
+
const p = Ei(l), b = n && n.createdAt ? zn(n.createdAt) : !1, h = n && n.createdAt ? ba(n.createdAt) : "";
|
|
2449
2449
|
return Y.createElement(t, {
|
|
2450
2450
|
className: E("member text-medium", u, o),
|
|
2451
2451
|
children: /* @__PURE__ */ a.jsxs(
|
|
@@ -2520,7 +2520,7 @@ const Fr = {
|
|
|
2520
2520
|
className: E({ "large-number": g > 99 }),
|
|
2521
2521
|
children: [
|
|
2522
2522
|
"+",
|
|
2523
|
-
|
|
2523
|
+
ai(g, 0)
|
|
2524
2524
|
]
|
|
2525
2525
|
}
|
|
2526
2526
|
), h = "number-left";
|
|
@@ -2531,7 +2531,7 @@ const Fr = {
|
|
|
2531
2531
|
] })
|
|
2532
2532
|
});
|
|
2533
2533
|
};
|
|
2534
|
-
const $t = "emailHelperTextBox_",
|
|
2534
|
+
const $t = "emailHelperTextBox_", Si = ({
|
|
2535
2535
|
type: t,
|
|
2536
2536
|
email: e,
|
|
2537
2537
|
redirectPath: n,
|
|
@@ -2643,7 +2643,7 @@ const $t = "emailHelperTextBox_", Ei = ({
|
|
|
2643
2643
|
return ["link", "mail"].forEach((p) => {
|
|
2644
2644
|
d[p] = Object.keys(i[p]).length ? (b) => /* @__PURE__ */ a.jsx("a", { ...i[p], children: b }) : (b) => b;
|
|
2645
2645
|
}), /* @__PURE__ */ a.jsx(
|
|
2646
|
-
|
|
2646
|
+
fi,
|
|
2647
2647
|
{
|
|
2648
2648
|
type: i.type,
|
|
2649
2649
|
heading: c ? !1 : s.formatMessage({ id: `${i.path}_title` }),
|
|
@@ -2706,7 +2706,7 @@ const Qe = {
|
|
|
2706
2706
|
UP: "ArrowUp",
|
|
2707
2707
|
DOWN: "ArrowDown",
|
|
2708
2708
|
ENTER: "Enter"
|
|
2709
|
-
},
|
|
2709
|
+
}, Ci = 500, Ni = ({
|
|
2710
2710
|
id: t,
|
|
2711
2711
|
name: e = t,
|
|
2712
2712
|
value: n,
|
|
@@ -2736,7 +2736,7 @@ const Qe = {
|
|
|
2736
2736
|
r || (r = g({ id: "inputAutocomplete_placeholder" })), re(() => {
|
|
2737
2737
|
const w = setTimeout(() => {
|
|
2738
2738
|
b || m((x) => ({ ...x, debouncedInput: u }));
|
|
2739
|
-
},
|
|
2739
|
+
}, Ci);
|
|
2740
2740
|
return () => {
|
|
2741
2741
|
clearTimeout(w);
|
|
2742
2742
|
};
|
|
@@ -2878,7 +2878,7 @@ const Ea = ({
|
|
|
2878
2878
|
g
|
|
2879
2879
|
);
|
|
2880
2880
|
};
|
|
2881
|
-
const
|
|
2881
|
+
const $i = Oe(function({
|
|
2882
2882
|
direction: e = "down"
|
|
2883
2883
|
}) {
|
|
2884
2884
|
return /* @__PURE__ */ a.jsx(
|
|
@@ -2888,7 +2888,7 @@ const Ni = Oe(function({
|
|
|
2888
2888
|
}
|
|
2889
2889
|
);
|
|
2890
2890
|
});
|
|
2891
|
-
const
|
|
2891
|
+
const Pi = ({
|
|
2892
2892
|
className: t,
|
|
2893
2893
|
options: e,
|
|
2894
2894
|
initialValue: n,
|
|
@@ -2935,7 +2935,7 @@ const $i = ({
|
|
|
2935
2935
|
...w,
|
|
2936
2936
|
children: [
|
|
2937
2937
|
c ? `${o} · ${h.length}` : y.label,
|
|
2938
|
-
/* @__PURE__ */ a.jsx(
|
|
2938
|
+
/* @__PURE__ */ a.jsx($i, { direction: m ? "up" : "down" })
|
|
2939
2939
|
]
|
|
2940
2940
|
}
|
|
2941
2941
|
),
|
|
@@ -3033,7 +3033,7 @@ const $i = ({
|
|
|
3033
3033
|
)
|
|
3034
3034
|
] });
|
|
3035
3035
|
};
|
|
3036
|
-
const
|
|
3036
|
+
const Mi = ({
|
|
3037
3037
|
className: t = "",
|
|
3038
3038
|
functions: e = { onChange: () => {
|
|
3039
3039
|
} },
|
|
@@ -3098,7 +3098,7 @@ const Pi = ({
|
|
|
3098
3098
|
}
|
|
3099
3099
|
);
|
|
3100
3100
|
};
|
|
3101
|
-
const
|
|
3101
|
+
const Ri = ({
|
|
3102
3102
|
inputRef: t,
|
|
3103
3103
|
type: e = "password",
|
|
3104
3104
|
gtm: { context: n } = { context: void 0 },
|
|
@@ -3135,11 +3135,11 @@ const Je = {
|
|
|
3135
3135
|
email: { component: gt },
|
|
3136
3136
|
textarea: { component: gt, props: { element: "textarea", rows: 4, cols: 10 } },
|
|
3137
3137
|
checkbox: { component: Ea },
|
|
3138
|
-
checkboxes: { component:
|
|
3139
|
-
select: { component:
|
|
3140
|
-
password: { component:
|
|
3141
|
-
autocomplete: { component:
|
|
3142
|
-
},
|
|
3138
|
+
checkboxes: { component: Mi, props: { multiSelect: !0 } },
|
|
3139
|
+
select: { component: Pi },
|
|
3140
|
+
password: { component: Ri },
|
|
3141
|
+
autocomplete: { component: Ni }
|
|
3142
|
+
}, Fi = ({
|
|
3143
3143
|
id: t,
|
|
3144
3144
|
intlPath: e = !1,
|
|
3145
3145
|
className: n = "",
|
|
@@ -3229,7 +3229,7 @@ const Je = {
|
|
|
3229
3229
|
] }),
|
|
3230
3230
|
/* @__PURE__ */ a.jsx(_, {})
|
|
3231
3231
|
] });
|
|
3232
|
-
},
|
|
3232
|
+
}, Oi = (t, e) => {
|
|
3233
3233
|
const { type: n, payload: r } = e, s = t.errors ? pt(t.errors) : {}, i = t.values ? pt(t.values) : {};
|
|
3234
3234
|
switch (n) {
|
|
3235
3235
|
case "toggleSubmitting":
|
|
@@ -3376,7 +3376,7 @@ const sn = ({
|
|
|
3376
3376
|
const K = z.id || z.name;
|
|
3377
3377
|
K && (R[K] = z.value || "");
|
|
3378
3378
|
});
|
|
3379
|
-
const [X, B] = Qn(
|
|
3379
|
+
const [X, B] = Qn(Oi, {
|
|
3380
3380
|
isSubmitting: !1,
|
|
3381
3381
|
formSubmitted: !1,
|
|
3382
3382
|
errors: {},
|
|
@@ -3506,7 +3506,7 @@ const sn = ({
|
|
|
3506
3506
|
return /* @__PURE__ */ a.jsx(P, { ...z.props || {} }, `component-${T}-${K}`);
|
|
3507
3507
|
const q = k ? k[T] : "";
|
|
3508
3508
|
return /* @__PURE__ */ a.jsx(
|
|
3509
|
-
|
|
3509
|
+
Fi,
|
|
3510
3510
|
{
|
|
3511
3511
|
intlPath: s,
|
|
3512
3512
|
...z,
|
|
@@ -3539,11 +3539,11 @@ const sn = ({
|
|
|
3539
3539
|
x && j && /* @__PURE__ */ a.jsx(Zt, { className: "success", children: typeof x == "string" ? x : F.formatMessage({ id: "form_success" }) })
|
|
3540
3540
|
] });
|
|
3541
3541
|
};
|
|
3542
|
-
const Pt = "passwordRules_", Sa = "isMoreThanEightCharacters", Ca = "includesNumberAndSymbol", Na = "includesLowerAndUppercase",
|
|
3542
|
+
const Pt = "passwordRules_", Sa = "isMoreThanEightCharacters", Ca = "includesNumberAndSymbol", Na = "includesLowerAndUppercase", Ai = {
|
|
3543
3543
|
[Sa]: "8Characters",
|
|
3544
3544
|
[Ca]: "numberSymbol",
|
|
3545
3545
|
[Na]: "lowercaseUppercase"
|
|
3546
|
-
},
|
|
3546
|
+
}, Di = ({
|
|
3547
3547
|
matchingRules: t = {
|
|
3548
3548
|
isMoreThanEightCharacters: !1,
|
|
3549
3549
|
includesNumberAndSymbol: !1,
|
|
@@ -3564,7 +3564,7 @@ const Pt = "passwordRules_", Sa = "isMoreThanEightCharacters", Ca = "includesNum
|
|
|
3564
3564
|
n.formatMessage({ id: `${Pt}rule_label` }),
|
|
3565
3565
|
" "
|
|
3566
3566
|
] }),
|
|
3567
|
-
/* @__PURE__ */ a.jsx("span", { children: n.formatMessage({ id: `${Pt}rule_${
|
|
3567
|
+
/* @__PURE__ */ a.jsx("span", { children: n.formatMessage({ id: `${Pt}rule_${Ai[r]}` }) }),
|
|
3568
3568
|
!t[r] && /* @__PURE__ */ a.jsxs(be, { element: "strong", children: [
|
|
3569
3569
|
" ",
|
|
3570
3570
|
n.formatMessage({ id: `${Pt}notMet` })
|
|
@@ -3575,8 +3575,8 @@ const Pt = "passwordRules_", Sa = "isMoreThanEightCharacters", Ca = "includesNum
|
|
|
3575
3575
|
)
|
|
3576
3576
|
) })
|
|
3577
3577
|
] });
|
|
3578
|
-
},
|
|
3579
|
-
const
|
|
3578
|
+
}, Ii = Oe(Di);
|
|
3579
|
+
const Ul = ({
|
|
3580
3580
|
text: t = {},
|
|
3581
3581
|
topRating: e = 5,
|
|
3582
3582
|
functions: {
|
|
@@ -3661,7 +3661,7 @@ const Wl = ({
|
|
|
3661
3661
|
}) })
|
|
3662
3662
|
] });
|
|
3663
3663
|
};
|
|
3664
|
-
const
|
|
3664
|
+
const zl = ({
|
|
3665
3665
|
id: t = "form-toggle",
|
|
3666
3666
|
label: e,
|
|
3667
3667
|
options: n,
|
|
@@ -3720,7 +3720,7 @@ const Ul = ({
|
|
|
3720
3720
|
}
|
|
3721
3721
|
);
|
|
3722
3722
|
};
|
|
3723
|
-
function
|
|
3723
|
+
function Zl({ className: t = "", userId: e, userName: n, src: r, setUserImage: s, uploadImage: i }) {
|
|
3724
3724
|
const [o, c] = Q(!1), [u, l] = Q(!1), d = pe(null), m = async (f) => {
|
|
3725
3725
|
c(!0), l(!1);
|
|
3726
3726
|
try {
|
|
@@ -3771,7 +3771,7 @@ function zl({ className: t = "", userId: e, userName: n, src: r, setUserImage: s
|
|
|
3771
3771
|
)
|
|
3772
3772
|
] });
|
|
3773
3773
|
}
|
|
3774
|
-
const
|
|
3774
|
+
const Li = ({
|
|
3775
3775
|
gtm: t,
|
|
3776
3776
|
functions: { onSuccess: e = async () => {
|
|
3777
3777
|
}, onFailure: n = () => {
|
|
@@ -3819,7 +3819,7 @@ const Ii = ({
|
|
|
3819
3819
|
}
|
|
3820
3820
|
);
|
|
3821
3821
|
};
|
|
3822
|
-
const
|
|
3822
|
+
const Bi = ({
|
|
3823
3823
|
title: t,
|
|
3824
3824
|
label: e,
|
|
3825
3825
|
ctaMessage: n,
|
|
@@ -3916,7 +3916,7 @@ const Li = ({
|
|
|
3916
3916
|
NEW_PASSWORD: "newPassword",
|
|
3917
3917
|
CONFIRMED_PASSWORD: "confirmedPassword",
|
|
3918
3918
|
CURRENT_PASSWORD: "oldPassword"
|
|
3919
|
-
},
|
|
3919
|
+
}, Hl = ({ functions: t, ...e }) => {
|
|
3920
3920
|
const { formatMessage: n } = H(), [r, s] = Q(null), [i, o] = Q(!1), [c, u] = Q({
|
|
3921
3921
|
isMoreThanEightCharacters: !1,
|
|
3922
3922
|
includesNumberAndSymbol: !1,
|
|
@@ -3954,7 +3954,7 @@ const Li = ({
|
|
|
3954
3954
|
label: n({ id: "passwordRules_currentPassword_label" }),
|
|
3955
3955
|
validation: _n(["required"])
|
|
3956
3956
|
}), i && m.push({
|
|
3957
|
-
component:
|
|
3957
|
+
component: Ii,
|
|
3958
3958
|
props: { matchingRules: c }
|
|
3959
3959
|
});
|
|
3960
3960
|
const f = {
|
|
@@ -3980,7 +3980,7 @@ const Li = ({
|
|
|
3980
3980
|
r && /* @__PURE__ */ a.jsx(He, { variant: "error", text: r })
|
|
3981
3981
|
] });
|
|
3982
3982
|
};
|
|
3983
|
-
const
|
|
3983
|
+
const qi = ({
|
|
3984
3984
|
id: t = "search",
|
|
3985
3985
|
className: e = "",
|
|
3986
3986
|
handleToggle: n = !1,
|
|
@@ -4086,7 +4086,7 @@ const Bi = ({
|
|
|
4086
4086
|
},
|
|
4087
4087
|
{ type: "validFields.email", value: !0 }
|
|
4088
4088
|
]);
|
|
4089
|
-
},
|
|
4089
|
+
}, Wi = (t) => {
|
|
4090
4090
|
const e = {};
|
|
4091
4091
|
for (const n of t.entries())
|
|
4092
4092
|
e[n[0]] = n[1];
|
|
@@ -4102,7 +4102,7 @@ const Bi = ({
|
|
|
4102
4102
|
page: window.location.pathname,
|
|
4103
4103
|
"g-recaptcha-response": e["g-recaptcha-response"]
|
|
4104
4104
|
};
|
|
4105
|
-
},
|
|
4105
|
+
}, Ui = async ({
|
|
4106
4106
|
refs: t,
|
|
4107
4107
|
dataToSubmit: e,
|
|
4108
4108
|
createAccount: n,
|
|
@@ -4116,9 +4116,9 @@ const Bi = ({
|
|
|
4116
4116
|
t.hiddenValidation && t.hiddenValidation.current && t.hiddenValidation.current.click();
|
|
4117
4117
|
return;
|
|
4118
4118
|
}
|
|
4119
|
-
const o =
|
|
4119
|
+
const o = Wi(new FormData(t.form.current)), c = Object.assign(o, e);
|
|
4120
4120
|
await n(c), localStorage.setItem("email", o.email), r && r({ ...o, ...i.values }), s([{ type: "showSuccessMessage", value: !0 }]);
|
|
4121
|
-
},
|
|
4121
|
+
}, zi = ({
|
|
4122
4122
|
shouldShow: t,
|
|
4123
4123
|
placeholders: e,
|
|
4124
4124
|
labels: n,
|
|
@@ -4170,7 +4170,7 @@ const Bi = ({
|
|
|
4170
4170
|
"data-testid": "signup-email-input"
|
|
4171
4171
|
},
|
|
4172
4172
|
{
|
|
4173
|
-
component:
|
|
4173
|
+
component: Si,
|
|
4174
4174
|
props: {
|
|
4175
4175
|
email: d.email,
|
|
4176
4176
|
type: d.boxType,
|
|
@@ -4277,7 +4277,7 @@ const Bi = ({
|
|
|
4277
4277
|
"data-testid": "signup-terms-checkbox"
|
|
4278
4278
|
}), f;
|
|
4279
4279
|
};
|
|
4280
|
-
const
|
|
4280
|
+
const Zi = ({ className: t = "" }) => /* @__PURE__ */ a.jsxs(
|
|
4281
4281
|
"div",
|
|
4282
4282
|
{
|
|
4283
4283
|
className: E("success-message", t),
|
|
@@ -4296,7 +4296,7 @@ const zi = ({ className: t = "" }) => /* @__PURE__ */ a.jsxs(
|
|
|
4296
4296
|
]
|
|
4297
4297
|
}
|
|
4298
4298
|
);
|
|
4299
|
-
const
|
|
4299
|
+
const Hi = {
|
|
4300
4300
|
validFields: {
|
|
4301
4301
|
name: !1,
|
|
4302
4302
|
email: !1,
|
|
@@ -4309,7 +4309,7 @@ const Zi = {
|
|
|
4309
4309
|
loadRecaptcha: !1,
|
|
4310
4310
|
showSuccessMessage: !1,
|
|
4311
4311
|
showError: !1
|
|
4312
|
-
},
|
|
4312
|
+
}, Vl = ({
|
|
4313
4313
|
className: t = "",
|
|
4314
4314
|
labels: e = {},
|
|
4315
4315
|
placeholders: n = {},
|
|
@@ -4338,7 +4338,7 @@ const Zi = {
|
|
|
4338
4338
|
url: m,
|
|
4339
4339
|
logInButton: f,
|
|
4340
4340
|
successMessage: p
|
|
4341
|
-
}, [h, g] = Qn(ha,
|
|
4341
|
+
}, [h, g] = Qn(ha, Hi), {
|
|
4342
4342
|
validFields: y,
|
|
4343
4343
|
emailDetails: _,
|
|
4344
4344
|
shouldManuallyApprove: S,
|
|
@@ -4367,7 +4367,7 @@ const Zi = {
|
|
|
4367
4367
|
maxAge: 3600
|
|
4368
4368
|
});
|
|
4369
4369
|
}, [x]);
|
|
4370
|
-
const $ = wt(() =>
|
|
4370
|
+
const $ = wt(() => zi({
|
|
4371
4371
|
placeholders: n,
|
|
4372
4372
|
labels: e,
|
|
4373
4373
|
shouldShow: b,
|
|
@@ -4378,7 +4378,7 @@ const Zi = {
|
|
|
4378
4378
|
dataToSubmit: o,
|
|
4379
4379
|
intl: u
|
|
4380
4380
|
}), [o, r, u, B, b, h]), C = w ? !0 : S ? !Object.values(y).every((j) => j === !0) : !y.name || !y.email || ["exists", "pending", "verify"].includes(_.boxType);
|
|
4381
|
-
return b.successMessage && x ? /* @__PURE__ */ a.jsx(
|
|
4381
|
+
return b.successMessage && x ? /* @__PURE__ */ a.jsx(Zi, { className: t }) : /* @__PURE__ */ a.jsxs(
|
|
4382
4382
|
"fieldset",
|
|
4383
4383
|
{
|
|
4384
4384
|
className: E("signup-form-fieldset", t),
|
|
@@ -4429,7 +4429,7 @@ const Zi = {
|
|
|
4429
4429
|
},
|
|
4430
4430
|
functions: {
|
|
4431
4431
|
onSuccess: async () => {
|
|
4432
|
-
await
|
|
4432
|
+
await Ui({
|
|
4433
4433
|
refs: B,
|
|
4434
4434
|
dataToSubmit: o,
|
|
4435
4435
|
createAccount: r.createAccount,
|
|
@@ -4462,7 +4462,7 @@ var Vn = { exports: {} }, Mt = { exports: {} }, ue = {};
|
|
|
4462
4462
|
* LICENSE file in the root directory of this source tree.
|
|
4463
4463
|
*/
|
|
4464
4464
|
var Ar;
|
|
4465
|
-
function
|
|
4465
|
+
function Vi() {
|
|
4466
4466
|
if (Ar)
|
|
4467
4467
|
return ue;
|
|
4468
4468
|
Ar = 1;
|
|
@@ -4538,7 +4538,7 @@ var de = {};
|
|
|
4538
4538
|
* LICENSE file in the root directory of this source tree.
|
|
4539
4539
|
*/
|
|
4540
4540
|
var Dr;
|
|
4541
|
-
function
|
|
4541
|
+
function Yi() {
|
|
4542
4542
|
return Dr || (Dr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
4543
4543
|
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, u = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, m = t ? Symbol.for("react.suspense") : 60113, f = t ? Symbol.for("react.suspense_list") : 60120, p = t ? Symbol.for("react.memo") : 60115, b = t ? Symbol.for("react.lazy") : 60116, h = t ? Symbol.for("react.block") : 60121, g = t ? Symbol.for("react.fundamental") : 60117, y = t ? Symbol.for("react.responder") : 60118, _ = t ? Symbol.for("react.scope") : 60119;
|
|
4544
4544
|
function S(D) {
|
|
@@ -4622,7 +4622,7 @@ function Vi() {
|
|
|
4622
4622
|
}
|
|
4623
4623
|
var Ir;
|
|
4624
4624
|
function $a() {
|
|
4625
|
-
return Ir || (Ir = 1, process.env.NODE_ENV === "production" ? Mt.exports =
|
|
4625
|
+
return Ir || (Ir = 1, process.env.NODE_ENV === "production" ? Mt.exports = Vi() : Mt.exports = Yi()), Mt.exports;
|
|
4626
4626
|
}
|
|
4627
4627
|
/*
|
|
4628
4628
|
object-assign
|
|
@@ -4630,7 +4630,7 @@ object-assign
|
|
|
4630
4630
|
@license MIT
|
|
4631
4631
|
*/
|
|
4632
4632
|
var xn, Lr;
|
|
4633
|
-
function
|
|
4633
|
+
function Ki() {
|
|
4634
4634
|
if (Lr)
|
|
4635
4635
|
return xn;
|
|
4636
4636
|
Lr = 1;
|
|
@@ -4689,7 +4689,7 @@ function Pa() {
|
|
|
4689
4689
|
return qr || (qr = 1, jn = Function.call.bind(Object.prototype.hasOwnProperty)), jn;
|
|
4690
4690
|
}
|
|
4691
4691
|
var kn, Wr;
|
|
4692
|
-
function
|
|
4692
|
+
function Gi() {
|
|
4693
4693
|
if (Wr)
|
|
4694
4694
|
return kn;
|
|
4695
4695
|
Wr = 1;
|
|
@@ -4739,11 +4739,11 @@ function Ki() {
|
|
|
4739
4739
|
}, kn = s, kn;
|
|
4740
4740
|
}
|
|
4741
4741
|
var Tn, Ur;
|
|
4742
|
-
function
|
|
4742
|
+
function Qi() {
|
|
4743
4743
|
if (Ur)
|
|
4744
4744
|
return Tn;
|
|
4745
4745
|
Ur = 1;
|
|
4746
|
-
var t = $a(), e =
|
|
4746
|
+
var t = $a(), e = Ki(), n = nr(), r = Pa(), s = Gi(), i = function() {
|
|
4747
4747
|
};
|
|
4748
4748
|
process.env.NODE_ENV !== "production" && (i = function(c) {
|
|
4749
4749
|
var u = "Warning: " + c;
|
|
@@ -5061,7 +5061,7 @@ Valid keys: ` + JSON.stringify(Object.keys(T), null, " ")
|
|
|
5061
5061
|
}, Tn;
|
|
5062
5062
|
}
|
|
5063
5063
|
var En, zr;
|
|
5064
|
-
function
|
|
5064
|
+
function Ji() {
|
|
5065
5065
|
if (zr)
|
|
5066
5066
|
return En;
|
|
5067
5067
|
zr = 1;
|
|
@@ -5110,11 +5110,11 @@ function Qi() {
|
|
|
5110
5110
|
}, En;
|
|
5111
5111
|
}
|
|
5112
5112
|
if (process.env.NODE_ENV !== "production") {
|
|
5113
|
-
var
|
|
5114
|
-
Vn.exports =
|
|
5113
|
+
var Xi = $a(), eo = !0;
|
|
5114
|
+
Vn.exports = Qi()(Xi.isElement, eo);
|
|
5115
5115
|
} else
|
|
5116
|
-
Vn.exports =
|
|
5117
|
-
var
|
|
5116
|
+
Vn.exports = Ji()();
|
|
5117
|
+
var to = Vn.exports;
|
|
5118
5118
|
/*!
|
|
5119
5119
|
* tabbable 6.2.0
|
|
5120
5120
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
@@ -5130,7 +5130,7 @@ var Ma = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
5130
5130
|
n === void 0 && (n = !0);
|
|
5131
5131
|
var s = e == null || (r = e.getAttribute) === null || r === void 0 ? void 0 : r.call(e, "inert"), i = s === "" || s === "true", o = i || n && e && t(e.parentNode);
|
|
5132
5132
|
return o;
|
|
5133
|
-
},
|
|
5133
|
+
}, no = function(e) {
|
|
5134
5134
|
var n, r = e == null || (n = e.getAttribute) === null || n === void 0 ? void 0 : n.call(e, "contenteditable");
|
|
5135
5135
|
return r === "" || r === "true";
|
|
5136
5136
|
}, Fa = function(e, n, r) {
|
|
@@ -5169,26 +5169,26 @@ var Ma = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
5169
5169
|
}, De = function(e) {
|
|
5170
5170
|
if (!e)
|
|
5171
5171
|
throw new Error("No node provided");
|
|
5172
|
-
return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) ||
|
|
5173
|
-
},
|
|
5172
|
+
return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || no(e)) && !Aa(e) ? 0 : e.tabIndex;
|
|
5173
|
+
}, ro = function(e, n) {
|
|
5174
5174
|
var r = De(e);
|
|
5175
5175
|
return r < 0 && n && !Aa(e) ? 0 : r;
|
|
5176
|
-
},
|
|
5176
|
+
}, ao = function(e, n) {
|
|
5177
5177
|
return e.tabIndex === n.tabIndex ? e.documentOrder - n.documentOrder : e.tabIndex - n.tabIndex;
|
|
5178
5178
|
}, Da = function(e) {
|
|
5179
5179
|
return e.tagName === "INPUT";
|
|
5180
|
-
}, ao = function(e) {
|
|
5181
|
-
return Da(e) && e.type === "hidden";
|
|
5182
5180
|
}, so = function(e) {
|
|
5181
|
+
return Da(e) && e.type === "hidden";
|
|
5182
|
+
}, io = function(e) {
|
|
5183
5183
|
var n = e.tagName === "DETAILS" && Array.prototype.slice.apply(e.children).some(function(r) {
|
|
5184
5184
|
return r.tagName === "SUMMARY";
|
|
5185
5185
|
});
|
|
5186
5186
|
return n;
|
|
5187
|
-
},
|
|
5187
|
+
}, oo = function(e, n) {
|
|
5188
5188
|
for (var r = 0; r < e.length; r++)
|
|
5189
5189
|
if (e[r].checked && e[r].form === n)
|
|
5190
5190
|
return e[r];
|
|
5191
|
-
},
|
|
5191
|
+
}, co = function(e) {
|
|
5192
5192
|
if (!e.name)
|
|
5193
5193
|
return !0;
|
|
5194
5194
|
var n = e.form || Vt(e), r = function(c) {
|
|
@@ -5202,13 +5202,13 @@ var Ma = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
5202
5202
|
} catch (o) {
|
|
5203
5203
|
return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", o.message), !1;
|
|
5204
5204
|
}
|
|
5205
|
-
var i =
|
|
5205
|
+
var i = oo(s, e.form);
|
|
5206
5206
|
return !i || i === e;
|
|
5207
|
-
}, co = function(e) {
|
|
5208
|
-
return Da(e) && e.type === "radio";
|
|
5209
5207
|
}, lo = function(e) {
|
|
5210
|
-
return
|
|
5208
|
+
return Da(e) && e.type === "radio";
|
|
5211
5209
|
}, uo = function(e) {
|
|
5210
|
+
return lo(e) && !co(e);
|
|
5211
|
+
}, fo = function(e) {
|
|
5212
5212
|
var n, r = e && Vt(e), s = (n = r) === null || n === void 0 ? void 0 : n.host, i = !1;
|
|
5213
5213
|
if (r && r !== e) {
|
|
5214
5214
|
var o, c, u;
|
|
@@ -5221,7 +5221,7 @@ var Ma = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
5221
5221
|
}, Zr = function(e) {
|
|
5222
5222
|
var n = e.getBoundingClientRect(), r = n.width, s = n.height;
|
|
5223
5223
|
return r === 0 && s === 0;
|
|
5224
|
-
},
|
|
5224
|
+
}, mo = function(e, n) {
|
|
5225
5225
|
var r = n.displayCheck, s = n.getShadowRoot;
|
|
5226
5226
|
if (getComputedStyle(e).visibility === "hidden")
|
|
5227
5227
|
return !0;
|
|
@@ -5238,14 +5238,14 @@ var Ma = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
5238
5238
|
}
|
|
5239
5239
|
e = c;
|
|
5240
5240
|
}
|
|
5241
|
-
if (
|
|
5241
|
+
if (fo(e))
|
|
5242
5242
|
return !e.getClientRects().length;
|
|
5243
5243
|
if (r !== "legacy-full")
|
|
5244
5244
|
return !0;
|
|
5245
5245
|
} else if (r === "non-zero-area")
|
|
5246
5246
|
return Zr(e);
|
|
5247
5247
|
return !1;
|
|
5248
|
-
},
|
|
5248
|
+
}, po = function(e) {
|
|
5249
5249
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))
|
|
5250
5250
|
for (var n = e.parentElement; n; ) {
|
|
5251
5251
|
if (n.tagName === "FIELDSET" && n.disabled) {
|
|
@@ -5263,17 +5263,17 @@ var Ma = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
5263
5263
|
return !(n.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
5264
5264
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
5265
5265
|
// note related to `candidateSelectors`)
|
|
5266
|
-
Yt(n) ||
|
|
5267
|
-
|
|
5266
|
+
Yt(n) || so(n) || mo(n, e) || // For a details element with a summary, the summary element gets the focus
|
|
5267
|
+
io(n) || po(n));
|
|
5268
5268
|
}, Yn = function(e, n) {
|
|
5269
|
-
return !(
|
|
5270
|
-
},
|
|
5269
|
+
return !(uo(n) || De(n) < 0 || !Kt(e, n));
|
|
5270
|
+
}, ho = function(e) {
|
|
5271
5271
|
var n = parseInt(e.getAttribute("tabindex"), 10);
|
|
5272
5272
|
return !!(isNaN(n) || n >= 0);
|
|
5273
|
-
},
|
|
5273
|
+
}, go = function t(e) {
|
|
5274
5274
|
var n = [], r = [];
|
|
5275
5275
|
return e.forEach(function(s, i) {
|
|
5276
|
-
var o = !!s.scopeParent, c = o ? s.scopeParent : s, u =
|
|
5276
|
+
var o = !!s.scopeParent, c = o ? s.scopeParent : s, u = ro(c, o), l = o ? t(s.candidates) : c;
|
|
5277
5277
|
u === 0 ? o ? n.push.apply(n, l) : n.push(c) : r.push({
|
|
5278
5278
|
documentOrder: i,
|
|
5279
5279
|
tabIndex: u,
|
|
@@ -5281,7 +5281,7 @@ var Ma = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
5281
5281
|
isScope: o,
|
|
5282
5282
|
content: l
|
|
5283
5283
|
});
|
|
5284
|
-
}), r.sort(
|
|
5284
|
+
}), r.sort(ao).reduce(function(s, i) {
|
|
5285
5285
|
return i.isScope ? s.push.apply(s, i.content) : s.push(i.content), s;
|
|
5286
5286
|
}, []).concat(n);
|
|
5287
5287
|
}, Ia = function(e, n) {
|
|
@@ -5291,8 +5291,8 @@ var Ma = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
5291
5291
|
filter: Yn.bind(null, n),
|
|
5292
5292
|
flatten: !1,
|
|
5293
5293
|
getShadowRoot: n.getShadowRoot,
|
|
5294
|
-
shadowRootFilter:
|
|
5295
|
-
}) : r = Fa(e, n.includeContainer, Yn.bind(null, n)),
|
|
5294
|
+
shadowRootFilter: ho
|
|
5295
|
+
}) : r = Fa(e, n.includeContainer, Yn.bind(null, n)), go(r);
|
|
5296
5296
|
}, La = function(e, n) {
|
|
5297
5297
|
n = n || {};
|
|
5298
5298
|
var r;
|
|
@@ -5305,12 +5305,12 @@ var Ma = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
5305
5305
|
if (n = n || {}, !e)
|
|
5306
5306
|
throw new Error("No node provided");
|
|
5307
5307
|
return Ze.call(e, Ht) === !1 ? !1 : Yn(n, e);
|
|
5308
|
-
},
|
|
5308
|
+
}, vo = /* @__PURE__ */ Ma.concat("iframe").join(","), Wt = function(e, n) {
|
|
5309
5309
|
if (n = n || {}, !e)
|
|
5310
5310
|
throw new Error("No node provided");
|
|
5311
|
-
return Ze.call(e,
|
|
5311
|
+
return Ze.call(e, vo) === !1 ? !1 : Kt(n, e);
|
|
5312
5312
|
};
|
|
5313
|
-
const
|
|
5313
|
+
const bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5314
5314
|
__proto__: null,
|
|
5315
5315
|
focusable: La,
|
|
5316
5316
|
getTabIndex: De,
|
|
@@ -5336,22 +5336,22 @@ function Vr(t) {
|
|
|
5336
5336
|
for (var e = 1; e < arguments.length; e++) {
|
|
5337
5337
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
5338
5338
|
e % 2 ? Hr(Object(n), !0).forEach(function(r) {
|
|
5339
|
-
|
|
5339
|
+
yo(t, r, n[r]);
|
|
5340
5340
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Hr(Object(n)).forEach(function(r) {
|
|
5341
5341
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
5342
5342
|
});
|
|
5343
5343
|
}
|
|
5344
5344
|
return t;
|
|
5345
5345
|
}
|
|
5346
|
-
function
|
|
5347
|
-
return e =
|
|
5346
|
+
function yo(t, e, n) {
|
|
5347
|
+
return e = xo(e), e in t ? Object.defineProperty(t, e, {
|
|
5348
5348
|
value: n,
|
|
5349
5349
|
enumerable: !0,
|
|
5350
5350
|
configurable: !0,
|
|
5351
5351
|
writable: !0
|
|
5352
5352
|
}) : t[e] = n, t;
|
|
5353
5353
|
}
|
|
5354
|
-
function
|
|
5354
|
+
function _o(t, e) {
|
|
5355
5355
|
if (typeof t != "object" || t === null)
|
|
5356
5356
|
return t;
|
|
5357
5357
|
var n = t[Symbol.toPrimitive];
|
|
@@ -5363,8 +5363,8 @@ function yo(t, e) {
|
|
|
5363
5363
|
}
|
|
5364
5364
|
return (e === "string" ? String : Number)(t);
|
|
5365
5365
|
}
|
|
5366
|
-
function
|
|
5367
|
-
var e =
|
|
5366
|
+
function xo(t) {
|
|
5367
|
+
var e = _o(t, "string");
|
|
5368
5368
|
return typeof e == "symbol" ? e : String(e);
|
|
5369
5369
|
}
|
|
5370
5370
|
var Yr = {
|
|
@@ -5380,15 +5380,15 @@ var Yr = {
|
|
|
5380
5380
|
var r = e.indexOf(n);
|
|
5381
5381
|
r !== -1 && e.splice(r, 1), e.length > 0 && e[e.length - 1].unpause();
|
|
5382
5382
|
}
|
|
5383
|
-
}, xo = function(e) {
|
|
5384
|
-
return e.tagName && e.tagName.toLowerCase() === "input" && typeof e.select == "function";
|
|
5385
5383
|
}, wo = function(e) {
|
|
5384
|
+
return e.tagName && e.tagName.toLowerCase() === "input" && typeof e.select == "function";
|
|
5385
|
+
}, jo = function(e) {
|
|
5386
5386
|
return (e == null ? void 0 : e.key) === "Escape" || (e == null ? void 0 : e.key) === "Esc" || (e == null ? void 0 : e.keyCode) === 27;
|
|
5387
5387
|
}, vt = function(e) {
|
|
5388
5388
|
return (e == null ? void 0 : e.key) === "Tab" || (e == null ? void 0 : e.keyCode) === 9;
|
|
5389
|
-
}, jo = function(e) {
|
|
5390
|
-
return vt(e) && !e.shiftKey;
|
|
5391
5389
|
}, ko = function(e) {
|
|
5390
|
+
return vt(e) && !e.shiftKey;
|
|
5391
|
+
}, To = function(e) {
|
|
5392
5392
|
return vt(e) && e.shiftKey;
|
|
5393
5393
|
}, Kr = function(e) {
|
|
5394
5394
|
return setTimeout(e, 0);
|
|
@@ -5403,13 +5403,13 @@ var Yr = {
|
|
|
5403
5403
|
return typeof e == "function" ? e.apply(void 0, r) : e;
|
|
5404
5404
|
}, Rt = function(e) {
|
|
5405
5405
|
return e.target.shadowRoot && typeof e.composedPath == "function" ? e.composedPath()[0] : e.target;
|
|
5406
|
-
},
|
|
5407
|
-
var r = (n == null ? void 0 : n.document) || document, s = (n == null ? void 0 : n.trapStack) ||
|
|
5406
|
+
}, Eo = [], So = function(e, n) {
|
|
5407
|
+
var r = (n == null ? void 0 : n.document) || document, s = (n == null ? void 0 : n.trapStack) || Eo, i = Vr({
|
|
5408
5408
|
returnFocusOnDeactivate: !0,
|
|
5409
5409
|
escapeDeactivates: !0,
|
|
5410
5410
|
delayInitialFocus: !0,
|
|
5411
|
-
isKeyForward:
|
|
5412
|
-
isKeyBackward:
|
|
5411
|
+
isKeyForward: ko,
|
|
5412
|
+
isKeyBackward: To
|
|
5413
5413
|
}, n), o = {
|
|
5414
5414
|
// containers given to createFocusTrap()
|
|
5415
5415
|
// @type {Array<HTMLElement>}
|
|
@@ -5557,7 +5557,7 @@ var Yr = {
|
|
|
5557
5557
|
}
|
|
5558
5558
|
j.focus({
|
|
5559
5559
|
preventScroll: !!i.preventScroll
|
|
5560
|
-
}), o.mostRecentlyFocusedNode = j,
|
|
5560
|
+
}), o.mostRecentlyFocusedNode = j, wo(j) && j.select();
|
|
5561
5561
|
}
|
|
5562
5562
|
}, h = function(j) {
|
|
5563
5563
|
var k = d("setReturnFocus", j);
|
|
@@ -5652,7 +5652,7 @@ var Yr = {
|
|
|
5652
5652
|
});
|
|
5653
5653
|
N && (vt(j) && j.preventDefault(), b(N));
|
|
5654
5654
|
}, w = function(j) {
|
|
5655
|
-
if (
|
|
5655
|
+
if (jo(j) && ct(i.escapeDeactivates, j) !== !1) {
|
|
5656
5656
|
j.preventDefault(), c.deactivate();
|
|
5657
5657
|
return;
|
|
5658
5658
|
}
|
|
@@ -5751,10 +5751,10 @@ var Yr = {
|
|
|
5751
5751
|
}
|
|
5752
5752
|
}, c.updateContainerElements(e), c;
|
|
5753
5753
|
};
|
|
5754
|
-
const
|
|
5754
|
+
const Co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5755
5755
|
__proto__: null,
|
|
5756
|
-
createFocusTrap:
|
|
5757
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5756
|
+
createFocusTrap: So
|
|
5757
|
+
}, Symbol.toStringTag, { value: "Module" })), No = /* @__PURE__ */ fa(Co), $o = /* @__PURE__ */ fa(bo);
|
|
5758
5758
|
function tt(t) {
|
|
5759
5759
|
"@babel/helpers - typeof";
|
|
5760
5760
|
return tt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -5763,7 +5763,7 @@ function tt(t) {
|
|
|
5763
5763
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
5764
5764
|
}, tt(t);
|
|
5765
5765
|
}
|
|
5766
|
-
function
|
|
5766
|
+
function Po(t, e) {
|
|
5767
5767
|
if (!(t instanceof e))
|
|
5768
5768
|
throw new TypeError("Cannot call a class as a function");
|
|
5769
5769
|
}
|
|
@@ -5773,10 +5773,10 @@ function Qr(t, e) {
|
|
|
5773
5773
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, Ba(r.key), r);
|
|
5774
5774
|
}
|
|
5775
5775
|
}
|
|
5776
|
-
function
|
|
5776
|
+
function Mo(t, e, n) {
|
|
5777
5777
|
return e && Qr(t.prototype, e), n && Qr(t, n), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
5778
5778
|
}
|
|
5779
|
-
function
|
|
5779
|
+
function Ro(t, e) {
|
|
5780
5780
|
if (typeof e != "function" && e !== null)
|
|
5781
5781
|
throw new TypeError("Super expression must either be null or a function");
|
|
5782
5782
|
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && Kn(t, e);
|
|
@@ -5786,8 +5786,8 @@ function Kn(t, e) {
|
|
|
5786
5786
|
return r.__proto__ = s, r;
|
|
5787
5787
|
}, Kn(t, e);
|
|
5788
5788
|
}
|
|
5789
|
-
function
|
|
5790
|
-
var e =
|
|
5789
|
+
function Fo(t) {
|
|
5790
|
+
var e = Ao();
|
|
5791
5791
|
return function() {
|
|
5792
5792
|
var r = Gt(t), s;
|
|
5793
5793
|
if (e) {
|
|
@@ -5795,10 +5795,10 @@ function Ro(t) {
|
|
|
5795
5795
|
s = Reflect.construct(r, arguments, i);
|
|
5796
5796
|
} else
|
|
5797
5797
|
s = r.apply(this, arguments);
|
|
5798
|
-
return
|
|
5798
|
+
return Oo(this, s);
|
|
5799
5799
|
};
|
|
5800
5800
|
}
|
|
5801
|
-
function
|
|
5801
|
+
function Oo(t, e) {
|
|
5802
5802
|
if (e && (tt(e) === "object" || typeof e == "function"))
|
|
5803
5803
|
return e;
|
|
5804
5804
|
if (e !== void 0)
|
|
@@ -5810,7 +5810,7 @@ function mt(t) {
|
|
|
5810
5810
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5811
5811
|
return t;
|
|
5812
5812
|
}
|
|
5813
|
-
function
|
|
5813
|
+
function Ao() {
|
|
5814
5814
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
5815
5815
|
return !1;
|
|
5816
5816
|
if (typeof Proxy == "function")
|
|
@@ -5827,14 +5827,14 @@ function Gt(t) {
|
|
|
5827
5827
|
return n.__proto__ || Object.getPrototypeOf(n);
|
|
5828
5828
|
}, Gt(t);
|
|
5829
5829
|
}
|
|
5830
|
-
function
|
|
5830
|
+
function Do(t, e, n) {
|
|
5831
5831
|
return e = Ba(e), e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
|
|
5832
5832
|
}
|
|
5833
5833
|
function Ba(t) {
|
|
5834
|
-
var e =
|
|
5834
|
+
var e = Io(t, "string");
|
|
5835
5835
|
return tt(e) === "symbol" ? e : String(e);
|
|
5836
5836
|
}
|
|
5837
|
-
function
|
|
5837
|
+
function Io(t, e) {
|
|
5838
5838
|
if (tt(t) !== "object" || t === null)
|
|
5839
5839
|
return t;
|
|
5840
5840
|
var n = t[Symbol.toPrimitive];
|
|
@@ -5846,12 +5846,12 @@ function Do(t, e) {
|
|
|
5846
5846
|
}
|
|
5847
5847
|
return (e === "string" ? String : Number)(t);
|
|
5848
5848
|
}
|
|
5849
|
-
var Ft = Y, J =
|
|
5850
|
-
|
|
5851
|
-
var e =
|
|
5849
|
+
var Ft = Y, J = to, Lo = No, Bo = Lo.createFocusTrap, qo = $o, Wo = qo.isFocusable, rr = /* @__PURE__ */ function(t) {
|
|
5850
|
+
Ro(n, t);
|
|
5851
|
+
var e = Fo(n);
|
|
5852
5852
|
function n(r) {
|
|
5853
5853
|
var s;
|
|
5854
|
-
|
|
5854
|
+
Po(this, n), s = e.call(this, r), Do(mt(s), "getNodeForOption", function(c) {
|
|
5855
5855
|
var u, l = (u = this.internalOptions[c]) !== null && u !== void 0 ? u : this.originalOptions[c];
|
|
5856
5856
|
if (typeof l == "function") {
|
|
5857
5857
|
for (var d = arguments.length, m = new Array(d > 1 ? d - 1 : 0), f = 1; f < d; f++)
|
|
@@ -5911,7 +5911,7 @@ var Ft = Y, J = eo, Io = Co, Lo = Io.createFocusTrap, Bo = No, qo = Bo.isFocusab
|
|
|
5911
5911
|
}
|
|
5912
5912
|
return s.outsideClick = null, s.focusTrapElements = r.containerElements || [], s.updatePreviousElement(), s;
|
|
5913
5913
|
}
|
|
5914
|
-
return
|
|
5914
|
+
return Mo(n, [{
|
|
5915
5915
|
key: "getDocument",
|
|
5916
5916
|
value: function() {
|
|
5917
5917
|
return this.props.focusTrapOptions.document || (typeof document < "u" ? document : void 0);
|
|
@@ -5974,7 +5974,7 @@ var Ft = Y, J = eo, Io = Co, Lo = Io.createFocusTrap, Bo = No, qo = Bo.isFocusab
|
|
|
5974
5974
|
s.outsideClick.allowDeactivation && // is the outside node NOT focusable (implying that it did NOT receive focus
|
|
5975
5975
|
// as a result of the click-through) -- in which case do NOT restore focus
|
|
5976
5976
|
// to `returnFocusNode` because focus should remain on the outside node
|
|
5977
|
-
!
|
|
5977
|
+
!Wo(s.outsideClick.target, s.internalOptions.tabbableOptions))), l = s.internalOptions.preventScroll, d = l === void 0 ? !1 : l;
|
|
5978
5978
|
u && c.focus({
|
|
5979
5979
|
preventScroll: d
|
|
5980
5980
|
}), s.originalOptions.onPostDeactivate && s.originalOptions.onPostDeactivate.call(null), s.outsideClick = null;
|
|
@@ -6086,10 +6086,10 @@ rr.defaultProps = {
|
|
|
6086
6086
|
active: !0,
|
|
6087
6087
|
paused: !1,
|
|
6088
6088
|
focusTrapOptions: {},
|
|
6089
|
-
_createFocusTrap:
|
|
6089
|
+
_createFocusTrap: Bo
|
|
6090
6090
|
};
|
|
6091
|
-
var
|
|
6092
|
-
const
|
|
6091
|
+
var Uo = rr;
|
|
6092
|
+
const zo = /* @__PURE__ */ da(Uo), Zo = ({ showDevTools: t = !0, children: e }) => {
|
|
6093
6093
|
const n = new Cs({
|
|
6094
6094
|
// default options we would like on all queries can be overridden individually
|
|
6095
6095
|
defaultOptions: {
|
|
@@ -6106,15 +6106,15 @@ const Uo = /* @__PURE__ */ da(Wo), zo = ({ showDevTools: t = !0, children: e })
|
|
|
6106
6106
|
t && /* @__PURE__ */ a.jsx(Ps, { initialIsOpen: !1 })
|
|
6107
6107
|
] });
|
|
6108
6108
|
};
|
|
6109
|
-
var
|
|
6110
|
-
function
|
|
6109
|
+
var Ho = jt({ client: Bt });
|
|
6110
|
+
function Vo(t) {
|
|
6111
6111
|
var e = t.children, n = t.client, r = t.apiKey, s = t.options, i = wt(function() {
|
|
6112
6112
|
return n && r && console.warn("[PostHog.js] You have provided both a client and an apiKey to PostHogProvider. The apiKey will be ignored in favour of the client."), n && s && console.warn("[PostHog.js] You have provided both a client and options to PostHogProvider. The options will be ignored in favour of the client."), n || (r && (Bt.__loaded && console.warn("[PostHog.js] was already loaded elsewhere. This may cause issues."), Bt.init(r, s)), Bt);
|
|
6113
6113
|
}, [n, r]);
|
|
6114
|
-
return Y.createElement(
|
|
6114
|
+
return Y.createElement(Ho.Provider, { value: { client: i } }, e);
|
|
6115
6115
|
}
|
|
6116
|
-
const
|
|
6117
|
-
|
|
6116
|
+
const Yo = ({ children: t, user: e }) => e.isLoading ? null : process.env.REACT_APP_PUBLIC_POSTHOG_KEY ? /* @__PURE__ */ a.jsx(
|
|
6117
|
+
Vo,
|
|
6118
6118
|
{
|
|
6119
6119
|
apiKey: atob(process.env.REACT_APP_PUBLIC_POSTHOG_KEY),
|
|
6120
6120
|
options: {
|
|
@@ -6132,9 +6132,9 @@ const Vo = ({ children: t, user: e }) => e.isLoading ? null : process.env.REACT_
|
|
|
6132
6132
|
},
|
|
6133
6133
|
children: t
|
|
6134
6134
|
}
|
|
6135
|
-
) : /* @__PURE__ */ a.jsx(a.Fragment, { children: t }),
|
|
6135
|
+
) : /* @__PURE__ */ a.jsx(a.Fragment, { children: t }), Ko = ({ children: t, locale: e, messages: n }) => {
|
|
6136
6136
|
const r = e || "en", s = {
|
|
6137
|
-
...
|
|
6137
|
+
...ri[r],
|
|
6138
6138
|
...n || {}
|
|
6139
6139
|
};
|
|
6140
6140
|
return /* @__PURE__ */ a.jsx(Es, { locale: r, messages: s, children: t });
|
|
@@ -6147,12 +6147,12 @@ const Vo = ({ children: t, user: e }) => e.isLoading ? null : process.env.REACT_
|
|
|
6147
6147
|
function ar() {
|
|
6148
6148
|
return Ee(Ae);
|
|
6149
6149
|
}
|
|
6150
|
-
const
|
|
6150
|
+
const Go = ({ children: t, user: e }) => /* @__PURE__ */ a.jsx(Ae.Provider, { value: e, children: t }), Wa = jt({
|
|
6151
6151
|
registerOverlay: () => {
|
|
6152
6152
|
},
|
|
6153
6153
|
unregisterOverlay: () => {
|
|
6154
6154
|
}
|
|
6155
|
-
}),
|
|
6155
|
+
}), Qo = () => Ee(Wa), Jo = ({ children: t }) => {
|
|
6156
6156
|
const [e, n] = Q([]);
|
|
6157
6157
|
re(() => {
|
|
6158
6158
|
e.length > 0 ? document.body.classList.add("has-overlay") : document.body.classList.remove("has-overlay");
|
|
@@ -6163,20 +6163,22 @@ const Ko = ({ children: t, user: e }) => /* @__PURE__ */ a.jsx(Ae.Provider, { va
|
|
|
6163
6163
|
n((o) => o.filter((c) => c !== i));
|
|
6164
6164
|
}, []);
|
|
6165
6165
|
return /* @__PURE__ */ a.jsx(Wa.Provider, { value: { registerOverlay: r, unregisterOverlay: s }, children: t });
|
|
6166
|
-
},
|
|
6166
|
+
}, Yl = ({ bootstrap: t, children: e, intl: n, showDevTools: r }) => {
|
|
6167
6167
|
const [s, i] = Q({ isLoading: !0 }), o = (n == null ? void 0 : n.locale) || localStorage.getItem("language") || "en", [c, u] = Q(o), l = (d) => {
|
|
6168
6168
|
localStorage.setItem("language", d), u(d);
|
|
6169
6169
|
};
|
|
6170
6170
|
return re(() => {
|
|
6171
6171
|
t().then((d) => {
|
|
6172
|
-
i({ ...d, isLoading: !1 }),
|
|
6173
|
-
}).catch(() =>
|
|
6172
|
+
i({ ...d, isLoading: !1 }), si(5e3);
|
|
6173
|
+
}).catch((d) => {
|
|
6174
|
+
d.message === Ks && (window.location.href = "/user-onboarding/logout"), i({ isLoading: !1 });
|
|
6175
|
+
});
|
|
6174
6176
|
}, []), /* @__PURE__ */ a.jsx(qa.Provider, { value: { language: c, updateLanguage: l }, children: /* @__PURE__ */ a.jsx(
|
|
6175
|
-
|
|
6177
|
+
Ko,
|
|
6176
6178
|
{
|
|
6177
6179
|
locale: c,
|
|
6178
6180
|
messages: n == null ? void 0 : n.messages,
|
|
6179
|
-
children: /* @__PURE__ */ a.jsx(Ms, { children: /* @__PURE__ */ a.jsx(
|
|
6181
|
+
children: /* @__PURE__ */ a.jsx(Ms, { children: /* @__PURE__ */ a.jsx(Go, { user: s, children: /* @__PURE__ */ a.jsx(Jo, { children: /* @__PURE__ */ a.jsx(Zo, { showDevTools: r, children: /* @__PURE__ */ a.jsx(Yo, { user: s, children: e }) }) }) }) })
|
|
6180
6182
|
}
|
|
6181
6183
|
) });
|
|
6182
6184
|
};
|
|
@@ -6200,7 +6202,7 @@ const on = ({
|
|
|
6200
6202
|
className: d = "",
|
|
6201
6203
|
gtmContext: m = "Modal"
|
|
6202
6204
|
}) => {
|
|
6203
|
-
const f = H(), { registerOverlay: p, unregisterOverlay: b } =
|
|
6205
|
+
const f = H(), { registerOverlay: p, unregisterOverlay: b } = Qo(), [h, g] = Q(e), y = (w) => {
|
|
6204
6206
|
w.key === "Escape" && _(!1);
|
|
6205
6207
|
};
|
|
6206
6208
|
re(() => (window.addEventListener("keyup", y), () => {
|
|
@@ -6222,7 +6224,7 @@ const on = ({
|
|
|
6222
6224
|
}),
|
|
6223
6225
|
hidden: !h,
|
|
6224
6226
|
style: S,
|
|
6225
|
-
children: e && /* @__PURE__ */ a.jsx(
|
|
6227
|
+
children: e && /* @__PURE__ */ a.jsx(zo, { children: /* @__PURE__ */ a.jsxs("div", { className: "overlay-content", children: [
|
|
6226
6228
|
/* @__PURE__ */ a.jsxs("div", { className: "top", children: [
|
|
6227
6229
|
c && /* @__PURE__ */ a.jsx("h2", { className: "modal-title", children: c }),
|
|
6228
6230
|
/* @__PURE__ */ a.jsx(
|
|
@@ -6249,12 +6251,12 @@ const on = ({
|
|
|
6249
6251
|
] }) })
|
|
6250
6252
|
}
|
|
6251
6253
|
) });
|
|
6252
|
-
},
|
|
6254
|
+
}, Xo = (t, e) => ({
|
|
6253
6255
|
"aria-haspopup": !0,
|
|
6254
6256
|
"aria-expanded": e,
|
|
6255
6257
|
"aria-controls": t
|
|
6256
6258
|
});
|
|
6257
|
-
const
|
|
6259
|
+
const Kl = ({
|
|
6258
6260
|
className: t,
|
|
6259
6261
|
showModal: e = !0,
|
|
6260
6262
|
title: n,
|
|
@@ -6278,7 +6280,7 @@ const Yl = ({
|
|
|
6278
6280
|
functions: { onClose: c },
|
|
6279
6281
|
className: E("invite-modal", t, { success: !!n }),
|
|
6280
6282
|
children: /* @__PURE__ */ a.jsx(
|
|
6281
|
-
|
|
6283
|
+
Bi,
|
|
6282
6284
|
{
|
|
6283
6285
|
title: r,
|
|
6284
6286
|
label: s,
|
|
@@ -6291,7 +6293,7 @@ const Yl = ({
|
|
|
6291
6293
|
}
|
|
6292
6294
|
);
|
|
6293
6295
|
};
|
|
6294
|
-
const
|
|
6296
|
+
const Gl = ({ members: t }) => {
|
|
6295
6297
|
const [e, n] = Q(!1), r = (s) => {
|
|
6296
6298
|
const { fullName: i, jobTitle: o, organisation: c, photo: u } = s || {};
|
|
6297
6299
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
@@ -6331,7 +6333,7 @@ const Kl = ({ members: t }) => {
|
|
|
6331
6333
|
)
|
|
6332
6334
|
] });
|
|
6333
6335
|
};
|
|
6334
|
-
const
|
|
6336
|
+
const ec = ({
|
|
6335
6337
|
author: t,
|
|
6336
6338
|
authorCite: e,
|
|
6337
6339
|
content: n,
|
|
@@ -6359,8 +6361,8 @@ const Xo = ({
|
|
|
6359
6361
|
}
|
|
6360
6362
|
)
|
|
6361
6363
|
] })
|
|
6362
|
-
] }),
|
|
6363
|
-
const
|
|
6364
|
+
] }), Ql = Oe(ec);
|
|
6365
|
+
const Jl = ({
|
|
6364
6366
|
items: t = [],
|
|
6365
6367
|
selector: e = "",
|
|
6366
6368
|
className: n = ""
|
|
@@ -6429,7 +6431,7 @@ const sr = ({
|
|
|
6429
6431
|
return n && (l = `${n} ${l}`, u = `${n} ${u}`), r && (l = `${l} ${r}`, u = `${u} ${r}`), /* @__PURE__ */ a.jsx("span", { className: E("time-to-complete", s), "aria-label": l, children: u });
|
|
6430
6432
|
};
|
|
6431
6433
|
let ut = !1;
|
|
6432
|
-
const
|
|
6434
|
+
const tc = ({ isOpen: t = !1, isLoading: e = !1, children: n }) => {
|
|
6433
6435
|
const r = H(), s = pe(null), [i, o] = Q(t ? "open" : "hidden");
|
|
6434
6436
|
re(() => {
|
|
6435
6437
|
const u = s.current;
|
|
@@ -6457,7 +6459,7 @@ const ec = ({ isOpen: t = !1, isLoading: e = !1, children: n }) => {
|
|
|
6457
6459
|
}
|
|
6458
6460
|
);
|
|
6459
6461
|
};
|
|
6460
|
-
const
|
|
6462
|
+
const Xl = ({ className: t = "", image: e, ...n }) => e ? (typeof e == "string" && (e = {
|
|
6461
6463
|
width: 1080,
|
|
6462
6464
|
height: 200,
|
|
6463
6465
|
type: "image/png",
|
|
@@ -6492,7 +6494,7 @@ const Ye = ({
|
|
|
6492
6494
|
}
|
|
6493
6495
|
);
|
|
6494
6496
|
};
|
|
6495
|
-
const
|
|
6497
|
+
const eu = ({ text: t, buttons: e, className: n = "" }) => {
|
|
6496
6498
|
const r = [];
|
|
6497
6499
|
return e.forEach((s) => {
|
|
6498
6500
|
r.push({
|
|
@@ -6517,13 +6519,13 @@ const Xl = ({ text: t, buttons: e, className: n = "" }) => {
|
|
|
6517
6519
|
function za({ href: t, setShowModal: e }) {
|
|
6518
6520
|
typeof t != "string" && e(!0);
|
|
6519
6521
|
}
|
|
6520
|
-
const
|
|
6522
|
+
const nc = ({ icon: t, description: e, ctaMessage: n, href: r, showEditButton: s, setShowModal: i }) => {
|
|
6521
6523
|
const { formatMessage: o } = H();
|
|
6522
|
-
return /* @__PURE__ */ a.jsxs("div", { className: E("edit-section-placeholder", { "has-icon": !!t }), style:
|
|
6524
|
+
return /* @__PURE__ */ a.jsxs("div", { className: E("edit-section-placeholder", { "has-icon": !!t }), style: Gs(t), children: [
|
|
6523
6525
|
/* @__PURE__ */ a.jsx("p", { children: e || o({ id: "edit_section_placeholder_description" }) }),
|
|
6524
6526
|
s && /* @__PURE__ */ a.jsx(ie, { href: r, variant: "secondary", size: "small", onClick: () => za({ href: r, setShowModal: i }), children: n || o({ id: "edit_section_placeholder_cta" }) })
|
|
6525
6527
|
] });
|
|
6526
|
-
},
|
|
6528
|
+
}, tu = ({
|
|
6527
6529
|
children: t,
|
|
6528
6530
|
className: e = "",
|
|
6529
6531
|
formProps: n,
|
|
@@ -6563,11 +6565,11 @@ const tc = ({ icon: t, description: e, ctaMessage: n, href: r, showEditButton: s
|
|
|
6563
6565
|
/* @__PURE__ */ a.jsx("h2", { className: "edit-section-header-title", children: s }),
|
|
6564
6566
|
d && /* @__PURE__ */ a.jsx(ie, { href: r, variant: "tertiary", size: "small", icon: "pencil", onClick: () => za({ href: r, setShowModal: l }), children: "Edit" })
|
|
6565
6567
|
] }),
|
|
6566
|
-
t || /* @__PURE__ */ a.jsx(
|
|
6568
|
+
t || /* @__PURE__ */ a.jsx(nc, { ...o, href: r, setShowModal: l, showEditButton: d }),
|
|
6567
6569
|
c && /* @__PURE__ */ a.jsx(ze, {})
|
|
6568
6570
|
] });
|
|
6569
6571
|
};
|
|
6570
|
-
const
|
|
6572
|
+
const nu = ({
|
|
6571
6573
|
title: t = !1,
|
|
6572
6574
|
text: e,
|
|
6573
6575
|
logos: n = [],
|
|
@@ -6626,7 +6628,7 @@ const tu = ({
|
|
|
6626
6628
|
}
|
|
6627
6629
|
);
|
|
6628
6630
|
};
|
|
6629
|
-
const
|
|
6631
|
+
const rc = [
|
|
6630
6632
|
"small",
|
|
6631
6633
|
"span",
|
|
6632
6634
|
"strong",
|
|
@@ -6640,7 +6642,7 @@ const nc = [
|
|
|
6640
6642
|
"h6",
|
|
6641
6643
|
"blockquote",
|
|
6642
6644
|
"q"
|
|
6643
|
-
],
|
|
6645
|
+
], ac = ({
|
|
6644
6646
|
className: t = "",
|
|
6645
6647
|
content: e,
|
|
6646
6648
|
image: n,
|
|
@@ -6671,7 +6673,7 @@ const nc = [
|
|
|
6671
6673
|
if (typeof e[g] == "object") {
|
|
6672
6674
|
f[g] = e[g];
|
|
6673
6675
|
const { text: y, element: _ } = e[g];
|
|
6674
|
-
if (_ &&
|
|
6676
|
+
if (_ && rc.includes(_.toLowerCase()))
|
|
6675
6677
|
return;
|
|
6676
6678
|
f[g] = {
|
|
6677
6679
|
text: y,
|
|
@@ -6737,8 +6739,8 @@ const nc = [
|
|
|
6737
6739
|
] })
|
|
6738
6740
|
}
|
|
6739
6741
|
);
|
|
6740
|
-
},
|
|
6741
|
-
const
|
|
6742
|
+
}, ru = Oe(ac);
|
|
6743
|
+
const au = ({
|
|
6742
6744
|
image: t,
|
|
6743
6745
|
variant: e = "default",
|
|
6744
6746
|
children: n,
|
|
@@ -6756,7 +6758,7 @@ const ru = ({
|
|
|
6756
6758
|
}
|
|
6757
6759
|
);
|
|
6758
6760
|
};
|
|
6759
|
-
const
|
|
6761
|
+
const sc = ({
|
|
6760
6762
|
alignImage: t = "left",
|
|
6761
6763
|
className: e,
|
|
6762
6764
|
content: n,
|
|
@@ -6791,8 +6793,8 @@ const ac = ({
|
|
|
6791
6793
|
}
|
|
6792
6794
|
)
|
|
6793
6795
|
] });
|
|
6794
|
-
},
|
|
6795
|
-
const
|
|
6796
|
+
}, su = Oe(sc);
|
|
6797
|
+
const iu = ({
|
|
6796
6798
|
variant: t = "primary",
|
|
6797
6799
|
button: e = null,
|
|
6798
6800
|
title: n,
|
|
@@ -6813,7 +6815,7 @@ const su = ({
|
|
|
6813
6815
|
children: e.text
|
|
6814
6816
|
}
|
|
6815
6817
|
)
|
|
6816
|
-
] }),
|
|
6818
|
+
] }), ic = ({ type: t, data: e }) => {
|
|
6817
6819
|
const n = H(), {
|
|
6818
6820
|
answers: r,
|
|
6819
6821
|
createdAt: s,
|
|
@@ -6934,7 +6936,7 @@ const su = ({
|
|
|
6934
6936
|
},
|
|
6935
6937
|
gtmEvent: "learning-hub"
|
|
6936
6938
|
}
|
|
6937
|
-
},
|
|
6939
|
+
}, oc = ({ data: t, cta: e, link: n, gtmContext: r }) => {
|
|
6938
6940
|
var h, g;
|
|
6939
6941
|
const s = H(), [i, o] = Q({
|
|
6940
6942
|
loading: !1,
|
|
@@ -7009,7 +7011,7 @@ const su = ({
|
|
|
7009
7011
|
}
|
|
7010
7012
|
return null;
|
|
7011
7013
|
};
|
|
7012
|
-
const
|
|
7014
|
+
const cc = {
|
|
7013
7015
|
title: 66,
|
|
7014
7016
|
text: 3e3,
|
|
7015
7017
|
secondaryText: 1e3,
|
|
@@ -7058,7 +7060,7 @@ const oc = {
|
|
|
7058
7060
|
} = Qt[h];
|
|
7059
7061
|
let w = f.slug ? `${g}${f.slug}` : !1;
|
|
7060
7062
|
f.slug && (f.slug.slice(0, 4) === "http" || f.slug.slice(0, 2) === "//" || f.slug.slice(0, 6) === "mailto" || f.slug.slice(0, 3) === "tel") && (w = f.slug);
|
|
7061
|
-
const x = { ...
|
|
7063
|
+
const x = { ...cc, ..._ };
|
|
7062
7064
|
let F = { className: "card" };
|
|
7063
7065
|
return w && (F = {
|
|
7064
7066
|
href: w,
|
|
@@ -7080,7 +7082,7 @@ const oc = {
|
|
|
7080
7082
|
F,
|
|
7081
7083
|
/* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
7082
7084
|
/* @__PURE__ */ a.jsx(
|
|
7083
|
-
|
|
7085
|
+
di,
|
|
7084
7086
|
{
|
|
7085
7087
|
className: "card-label",
|
|
7086
7088
|
contentType: h,
|
|
@@ -7094,7 +7096,7 @@ const oc = {
|
|
|
7094
7096
|
size: "small",
|
|
7095
7097
|
variant: f.dateHasPassed ? "default" : "information",
|
|
7096
7098
|
"data-testid": "date",
|
|
7097
|
-
children: f.dateHasPassed ? c.formatMessage({ id: "card_ended" }) :
|
|
7099
|
+
children: f.dateHasPassed ? c.formatMessage({ id: "card_ended" }) : Qs(f.startDate)
|
|
7098
7100
|
}
|
|
7099
7101
|
),
|
|
7100
7102
|
f.banner ? /* @__PURE__ */ a.jsxs("p", { className: "img", children: [
|
|
@@ -7151,14 +7153,14 @@ const oc = {
|
|
|
7151
7153
|
{ count: f == null ? void 0 : f.members.count }
|
|
7152
7154
|
) })
|
|
7153
7155
|
] }),
|
|
7154
|
-
/* @__PURE__ */ a.jsx(
|
|
7155
|
-
/* @__PURE__ */ a.jsx(
|
|
7156
|
+
/* @__PURE__ */ a.jsx(ic, { type: y || "", data: f }),
|
|
7157
|
+
/* @__PURE__ */ a.jsx(oc, { data: f, cta: r, link: w || "", gtmContext: s })
|
|
7156
7158
|
] })
|
|
7157
7159
|
)
|
|
7158
7160
|
}
|
|
7159
7161
|
);
|
|
7160
7162
|
};
|
|
7161
|
-
const
|
|
7163
|
+
const lc = ({ cards: t, cardTypes: e, className: n = "", ...r }) => /* @__PURE__ */ a.jsx("ul", { className: E("card-block", n), children: t.map((s, i) => {
|
|
7162
7164
|
const o = s.slug ? `${s.slug}-${e[i]}` : `${e[i]}-${i}`;
|
|
7163
7165
|
return /* @__PURE__ */ a.jsx(
|
|
7164
7166
|
Za,
|
|
@@ -7169,10 +7171,10 @@ const cc = ({ cards: t, cardTypes: e, className: n = "", ...r }) => /* @__PURE__
|
|
|
7169
7171
|
},
|
|
7170
7172
|
o
|
|
7171
7173
|
);
|
|
7172
|
-
}) }),
|
|
7174
|
+
}) }), uc = (t, e, n, r) => {
|
|
7173
7175
|
const s = e * n <= t, i = t < e * (n + 1), o = r.includes(Math.floor(t / e));
|
|
7174
7176
|
return s && i || o;
|
|
7175
|
-
},
|
|
7177
|
+
}, dc = ({ id: t, title: e }) => {
|
|
7176
7178
|
const n = H();
|
|
7177
7179
|
if (!e || !e.text)
|
|
7178
7180
|
return null;
|
|
@@ -7202,7 +7204,7 @@ const Cn = {
|
|
|
7202
7204
|
twoCards: 480
|
|
7203
7205
|
};
|
|
7204
7206
|
let Ot = null;
|
|
7205
|
-
const
|
|
7207
|
+
const fc = ({
|
|
7206
7208
|
id: t,
|
|
7207
7209
|
cards: e,
|
|
7208
7210
|
cardTypes: n,
|
|
@@ -7273,7 +7275,7 @@ const dc = ({
|
|
|
7273
7275
|
className: E("carousel-wrapper", i),
|
|
7274
7276
|
"data-testid": "carousel",
|
|
7275
7277
|
children: [
|
|
7276
|
-
/* @__PURE__ */ a.jsx(
|
|
7278
|
+
/* @__PURE__ */ a.jsx(dc, { id: t, title: s }),
|
|
7277
7279
|
/* @__PURE__ */ a.jsx(
|
|
7278
7280
|
"ul",
|
|
7279
7281
|
{
|
|
@@ -7284,7 +7286,7 @@ const dc = ({
|
|
|
7284
7286
|
"data-testid": "carousel-list",
|
|
7285
7287
|
children: e.map(($, C) => {
|
|
7286
7288
|
let j = B($, C);
|
|
7287
|
-
return j &&
|
|
7289
|
+
return j && uc(C, m, h, g) ? /* @__PURE__ */ a.jsx(
|
|
7288
7290
|
Za,
|
|
7289
7291
|
{
|
|
7290
7292
|
id: j,
|
|
@@ -7354,7 +7356,7 @@ const dc = ({
|
|
|
7354
7356
|
]
|
|
7355
7357
|
}
|
|
7356
7358
|
);
|
|
7357
|
-
},
|
|
7359
|
+
}, ou = ({
|
|
7358
7360
|
carousels: t = [],
|
|
7359
7361
|
isLoading: e,
|
|
7360
7362
|
title: n,
|
|
@@ -7374,7 +7376,7 @@ const dc = ({
|
|
|
7374
7376
|
m ? null : /* @__PURE__ */ a.jsx(ze, {})
|
|
7375
7377
|
] }, `placeholder-${d}`) : /* @__PURE__ */ a.jsxs(yt, { children: [
|
|
7376
7378
|
/* @__PURE__ */ a.jsx(
|
|
7377
|
-
|
|
7379
|
+
fc,
|
|
7378
7380
|
{
|
|
7379
7381
|
cards: c,
|
|
7380
7382
|
cardTypes: u,
|
|
@@ -7419,7 +7421,7 @@ const Nn = "joinCommunityButton", Ha = ({
|
|
|
7419
7421
|
}
|
|
7420
7422
|
);
|
|
7421
7423
|
};
|
|
7422
|
-
const $n = "communityDetails_",
|
|
7424
|
+
const $n = "communityDetails_", cu = ({
|
|
7423
7425
|
className: t = "",
|
|
7424
7426
|
isMember: e = !1,
|
|
7425
7427
|
slug: n,
|
|
@@ -7465,7 +7467,7 @@ const $n = "communityDetails_", ou = ({
|
|
|
7465
7467
|
)
|
|
7466
7468
|
] });
|
|
7467
7469
|
};
|
|
7468
|
-
const
|
|
7470
|
+
const lu = ({ breadcrumbs: t, cutoff: e = 20, className: n = "" }) => {
|
|
7469
7471
|
const r = H();
|
|
7470
7472
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
7471
7473
|
/* @__PURE__ */ a.jsx(
|
|
@@ -7492,7 +7494,7 @@ const cu = ({ breadcrumbs: t, cutoff: e = 20, className: n = "" }) => {
|
|
|
7492
7494
|
) })
|
|
7493
7495
|
] });
|
|
7494
7496
|
};
|
|
7495
|
-
const
|
|
7497
|
+
const uu = ({
|
|
7496
7498
|
options: t,
|
|
7497
7499
|
allOption: e = !1,
|
|
7498
7500
|
allowMultiple: n = !0,
|
|
@@ -7528,7 +7530,7 @@ const lu = ({
|
|
|
7528
7530
|
}
|
|
7529
7531
|
) }, d);
|
|
7530
7532
|
}) });
|
|
7531
|
-
},
|
|
7533
|
+
}, mc = (t, e, n) => {
|
|
7532
7534
|
const r = String(t);
|
|
7533
7535
|
if (!n || !n.length)
|
|
7534
7536
|
return e ? `/${r}/${e}` : `/${r}`;
|
|
@@ -7540,7 +7542,7 @@ const lu = ({
|
|
|
7540
7542
|
urlForRouter: `/${s.split("/").slice(2).join("/")}`
|
|
7541
7543
|
} : s;
|
|
7542
7544
|
};
|
|
7543
|
-
const At = "languageSwitcher_",
|
|
7545
|
+
const At = "languageSwitcher_", du = ({
|
|
7544
7546
|
currentLanguage: t,
|
|
7545
7547
|
isOriginalLanguage: e = !1,
|
|
7546
7548
|
isHumanTranslation: n = !1,
|
|
@@ -7575,7 +7577,7 @@ const At = "languageSwitcher_", uu = ({
|
|
|
7575
7577
|
{ language: Sn[g] }
|
|
7576
7578
|
);
|
|
7577
7579
|
else {
|
|
7578
|
-
const w =
|
|
7580
|
+
const w = mc(g, y, i);
|
|
7579
7581
|
_ = {
|
|
7580
7582
|
..._,
|
|
7581
7583
|
href: typeof w == "string" ? w : w.url,
|
|
@@ -7667,7 +7669,7 @@ const Va = ({
|
|
|
7667
7669
|
}
|
|
7668
7670
|
) });
|
|
7669
7671
|
let Dt = !1;
|
|
7670
|
-
const
|
|
7672
|
+
const pc = ({
|
|
7671
7673
|
element: t = "div",
|
|
7672
7674
|
id: e = "more-menu",
|
|
7673
7675
|
options: n,
|
|
@@ -7726,8 +7728,8 @@ const mc = ({
|
|
|
7726
7728
|
}) })
|
|
7727
7729
|
] })
|
|
7728
7730
|
});
|
|
7729
|
-
},
|
|
7730
|
-
const
|
|
7731
|
+
}, hc = (t, e = !1) => e ? t.replaceAll("/", "") === e : typeof window < "u" && window.location && window.location.pathname === t;
|
|
7732
|
+
const gc = [
|
|
7731
7733
|
{
|
|
7732
7734
|
key: "homepage",
|
|
7733
7735
|
href: "/home/"
|
|
@@ -7748,11 +7750,11 @@ const hc = [
|
|
|
7748
7750
|
key: "communities",
|
|
7749
7751
|
href: "/communities/"
|
|
7750
7752
|
}
|
|
7751
|
-
],
|
|
7753
|
+
], vc = ({ activeLink: t }) => {
|
|
7752
7754
|
const e = H(), n = Ee(Ae), r = n && typeof n.id == "string";
|
|
7753
7755
|
return /* @__PURE__ */ a.jsxs("ul", { id: "navigation-menu", className: "text-medium", children: [
|
|
7754
|
-
|
|
7755
|
-
const o =
|
|
7756
|
+
gc.map(({ key: s, href: i }) => {
|
|
7757
|
+
const o = hc(i, t), c = {};
|
|
7756
7758
|
return o && (c["aria-current"] = "page"), /* @__PURE__ */ a.jsx("li", { className: E(s, { active: o }), children: /* @__PURE__ */ a.jsx(
|
|
7757
7759
|
"a",
|
|
7758
7760
|
{
|
|
@@ -7785,7 +7787,7 @@ const hc = [
|
|
|
7785
7787
|
}
|
|
7786
7788
|
) })
|
|
7787
7789
|
] });
|
|
7788
|
-
}, dt = (t, e, n) => `${t}?share=${e}${n ? `&uuid=${n}` : ""}`,
|
|
7790
|
+
}, dt = (t, e, n) => `${t}?share=${e}${n ? `&uuid=${n}` : ""}`, bc = ({
|
|
7789
7791
|
title: t,
|
|
7790
7792
|
link: e,
|
|
7791
7793
|
referrer: n
|
|
@@ -7828,7 +7830,7 @@ ${dt(e, "mailto", n)}&src=email`
|
|
|
7828
7830
|
onClick: (r, s) => (r.preventDefault(), r.stopPropagation(), navigator.clipboard.writeText(s))
|
|
7829
7831
|
}
|
|
7830
7832
|
];
|
|
7831
|
-
const
|
|
7833
|
+
const yc = "shareLinks_", fu = ({
|
|
7832
7834
|
title: t,
|
|
7833
7835
|
link: e,
|
|
7834
7836
|
referrer: n,
|
|
@@ -7837,7 +7839,7 @@ const bc = "shareLinks_", du = ({
|
|
|
7837
7839
|
variant: i = "default",
|
|
7838
7840
|
className: o = ""
|
|
7839
7841
|
}) => {
|
|
7840
|
-
const c = H(), u =
|
|
7842
|
+
const c = H(), u = bc({ title: t, link: e, referrer: n });
|
|
7841
7843
|
return /* @__PURE__ */ a.jsxs("aside", { className: E("share-links", s, i, o), children: [
|
|
7842
7844
|
/* @__PURE__ */ a.jsx("p", { className: "text-small", children: c.formatMessage({ id: "shareLinks_label" }) }),
|
|
7843
7845
|
/* @__PURE__ */ a.jsx("ul", { children: u.map(({ key: l, icon: d, url: m, shouldRender: f = !0, onClick: p }) => {
|
|
@@ -7857,14 +7859,14 @@ const bc = "shareLinks_", du = ({
|
|
|
7857
7859
|
"data-gtm-event-context": `${r}-SocialButtons`,
|
|
7858
7860
|
"data-gtm-event-type": `${l}-click`,
|
|
7859
7861
|
"data-testid": "link",
|
|
7860
|
-
screenreaderText: c.formatMessage({ id: `${
|
|
7862
|
+
screenreaderText: c.formatMessage({ id: `${yc}link_${l}` }),
|
|
7861
7863
|
...b
|
|
7862
7864
|
}
|
|
7863
7865
|
) }, l);
|
|
7864
7866
|
}) })
|
|
7865
7867
|
] });
|
|
7866
7868
|
};
|
|
7867
|
-
const
|
|
7869
|
+
const mu = ({ tabs: t, className: e = "", preventLocationChange: n }) => {
|
|
7868
7870
|
var l;
|
|
7869
7871
|
const r = (d, m, f) => (d || (d = `panel-${window.btoa(m)}-${f}`), d);
|
|
7870
7872
|
let s = t.findIndex((d) => d.current === !0);
|
|
@@ -7927,11 +7929,11 @@ const fu = ({ tabs: t, className: e = "", preventLocationChange: n }) => {
|
|
|
7927
7929
|
/* @__PURE__ */ a.jsx("div", { className: "tab-content", children: u })
|
|
7928
7930
|
] });
|
|
7929
7931
|
};
|
|
7930
|
-
const
|
|
7932
|
+
const _c = {
|
|
7931
7933
|
"2-1": 901,
|
|
7932
7934
|
"1-3": 769,
|
|
7933
7935
|
"1-1": 769
|
|
7934
|
-
},
|
|
7936
|
+
}, xc = ({
|
|
7935
7937
|
layout: t = "2-1",
|
|
7936
7938
|
hideOnMobile: e = !1,
|
|
7937
7939
|
hasCSSContainers: n = !1,
|
|
@@ -7946,12 +7948,12 @@ const yc = {
|
|
|
7946
7948
|
className: E("columns", `layout-${t}`, r, {
|
|
7947
7949
|
"has-containers": n
|
|
7948
7950
|
}),
|
|
7949
|
-
children: Y.Children.map(o, (c, u) => e !== !1 && u === e && i && i <
|
|
7951
|
+
children: Y.Children.map(o, (c, u) => e !== !1 && u === e && i && i < _c[t] ? null : c)
|
|
7950
7952
|
}
|
|
7951
7953
|
);
|
|
7952
7954
|
};
|
|
7953
7955
|
let Mn;
|
|
7954
|
-
const Rn = "contactFooter_",
|
|
7956
|
+
const Rn = "contactFooter_", pu = ({ onSuccess: t = async () => {
|
|
7955
7957
|
}, onFailure: e = () => {
|
|
7956
7958
|
} }) => {
|
|
7957
7959
|
const n = pe(null), [r, s] = Y.useState(0), [i, o] = Y.useState(!1), c = () => {
|
|
@@ -7978,7 +7980,7 @@ const Rn = "contactFooter_", mu = ({ onSuccess: t = async () => {
|
|
|
7978
7980
|
/* @__PURE__ */ a.jsx(at, { className: "mailto-link", href: "mailto:hello@apolitical.co", children: /* @__PURE__ */ a.jsx(ye, { id: `${Rn}email` }) })
|
|
7979
7981
|
] }),
|
|
7980
7982
|
/* @__PURE__ */ a.jsx(
|
|
7981
|
-
|
|
7983
|
+
Li,
|
|
7982
7984
|
{
|
|
7983
7985
|
functions: { onSuccess: t, onFailure: e },
|
|
7984
7986
|
gtm: { context: "FooterContactUsForm", event: "contact-form-submit-click" }
|
|
@@ -7988,15 +7990,15 @@ const Rn = "contactFooter_", mu = ({ onSuccess: t = async () => {
|
|
|
7988
7990
|
}
|
|
7989
7991
|
)
|
|
7990
7992
|
] }) });
|
|
7991
|
-
},
|
|
7992
|
-
/* @__PURE__ */ a.jsx(
|
|
7993
|
-
/* @__PURE__ */ a.jsx(
|
|
7993
|
+
}, hu = ({ activeLink: t, ...e }) => /* @__PURE__ */ a.jsx(Ye, { children: /* @__PURE__ */ a.jsx(xc, { layout: "1-3", children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
7994
|
+
/* @__PURE__ */ a.jsx(vc, { activeLink: t }),
|
|
7995
|
+
/* @__PURE__ */ a.jsx(wi, { ...e })
|
|
7994
7996
|
] }) }) });
|
|
7995
7997
|
const Fn = "cookieBanner_", On = [
|
|
7996
7998
|
"apol-cookie-banner",
|
|
7997
7999
|
"apolitical-performance-cookie-consent",
|
|
7998
8000
|
"functional-cookie-consent"
|
|
7999
|
-
], An = new Date(Date.now() + 12 * 30 * 24 * 60 * 60 * 1e3),
|
|
8001
|
+
], An = new Date(Date.now() + 12 * 30 * 24 * 60 * 60 * 1e3), wc = () => {
|
|
8000
8002
|
const t = H(), [e, n, r] = la(On), [s, i] = Q(
|
|
8001
8003
|
!e["apol-cookie-banner"]
|
|
8002
8004
|
), o = () => {
|
|
@@ -8552,7 +8554,7 @@ const Xe = "footer_", Jt = "SiteFooter", Jr = ({ group: t }) => {
|
|
|
8552
8554
|
t
|
|
8553
8555
|
);
|
|
8554
8556
|
};
|
|
8555
|
-
const
|
|
8557
|
+
const jc = { height: 67, height_desktop: 83 }, Ka = ({ showNavigation: t = !0 }) => {
|
|
8556
8558
|
const e = H(), n = Ee(Ae), r = kt(!0, !0), s = n && typeof n.id == "string", i = wt(
|
|
8557
8559
|
() => fe.getIsDesktopVersion(s, r),
|
|
8558
8560
|
[s, r]
|
|
@@ -8567,7 +8569,7 @@ const wc = { height: 67, height_desktop: 83 }, Ka = ({ showNavigation: t = !0 })
|
|
|
8567
8569
|
re(() => {
|
|
8568
8570
|
m.current = o;
|
|
8569
8571
|
}, [o]), zs({
|
|
8570
|
-
scrollPosition:
|
|
8572
|
+
scrollPosition: jc[`height${i.navigation ? "_desktop" : ""}`],
|
|
8571
8573
|
callbacks: {
|
|
8572
8574
|
scrollUp: () => {
|
|
8573
8575
|
const h = m.current.menus;
|
|
@@ -8687,7 +8689,7 @@ const wc = { height: 67, height_desktop: 83 }, Ka = ({ showNavigation: t = !0 })
|
|
|
8687
8689
|
}
|
|
8688
8690
|
),
|
|
8689
8691
|
/* @__PURE__ */ a.jsx(
|
|
8690
|
-
|
|
8692
|
+
qi,
|
|
8691
8693
|
{
|
|
8692
8694
|
id: "global-search",
|
|
8693
8695
|
handleToggle: {
|
|
@@ -8741,7 +8743,7 @@ const wc = { height: 67, height_desktop: 83 }, Ka = ({ showNavigation: t = !0 })
|
|
|
8741
8743
|
)
|
|
8742
8744
|
] });
|
|
8743
8745
|
};
|
|
8744
|
-
const
|
|
8746
|
+
const kc = () => {
|
|
8745
8747
|
const t = H();
|
|
8746
8748
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
8747
8749
|
/* @__PURE__ */ a.jsx(Ka, {}),
|
|
@@ -8754,7 +8756,7 @@ const jc = () => {
|
|
|
8754
8756
|
) }),
|
|
8755
8757
|
/* @__PURE__ */ a.jsx(Ya, {})
|
|
8756
8758
|
] });
|
|
8757
|
-
},
|
|
8759
|
+
}, Tc = ({
|
|
8758
8760
|
children: t,
|
|
8759
8761
|
additionalContent: { prepended: e, appended: n } = {},
|
|
8760
8762
|
reportError: r,
|
|
@@ -8777,7 +8779,7 @@ const jc = () => {
|
|
|
8777
8779
|
}), y = qt(n, {
|
|
8778
8780
|
locale: c
|
|
8779
8781
|
}), _ = {};
|
|
8780
|
-
return d !== "default" && (_[d] = !0), m !== "default" && (_[m] = !0), f !== "default" && (_[f] = !0), /* @__PURE__ */ a.jsx(Fs, { onError: r, fallback: /* @__PURE__ */ a.jsx(
|
|
8782
|
+
return d !== "default" && (_[d] = !0), m !== "default" && (_[m] = !0), f !== "default" && (_[f] = !0), /* @__PURE__ */ a.jsx(Fs, { onError: r, fallback: /* @__PURE__ */ a.jsx(kc, {}), children: /* @__PURE__ */ a.jsx(ks, { fallback: null, children: /* @__PURE__ */ a.jsxs(
|
|
8781
8783
|
"div",
|
|
8782
8784
|
{
|
|
8783
8785
|
id: "wrapper",
|
|
@@ -8802,7 +8804,7 @@ const jc = () => {
|
|
|
8802
8804
|
] }),
|
|
8803
8805
|
y && /* @__PURE__ */ a.jsx("div", { className: "additional-content appended", children: y }),
|
|
8804
8806
|
l && /* @__PURE__ */ a.jsx(Ya, {}),
|
|
8805
|
-
/* @__PURE__ */ a.jsx(
|
|
8807
|
+
/* @__PURE__ */ a.jsx(wc, {})
|
|
8806
8808
|
]
|
|
8807
8809
|
}
|
|
8808
8810
|
) }) });
|
|
@@ -8825,7 +8827,7 @@ const jc = () => {
|
|
|
8825
8827
|
WorkAndTheEconomy: "work-and-the-economy"
|
|
8826
8828
|
},
|
|
8827
8829
|
"from the community": "community"
|
|
8828
|
-
},
|
|
8830
|
+
}, Ec = {
|
|
8829
8831
|
getTagDetails: (t) => {
|
|
8830
8832
|
if (t.includes("topic_")) {
|
|
8831
8833
|
if (t = Dn.topic[t.replace("topic_", "")], t) {
|
|
@@ -8837,7 +8839,7 @@ const jc = () => {
|
|
|
8837
8839
|
return Dn[t] ? (t = Dn[t], { id: t, text: `${Xr.default}${t}` }) : null;
|
|
8838
8840
|
}
|
|
8839
8841
|
};
|
|
8840
|
-
const
|
|
8842
|
+
const gu = ({
|
|
8841
8843
|
tags: t = [],
|
|
8842
8844
|
color: e = "default",
|
|
8843
8845
|
forceOneLine: n = !1,
|
|
@@ -8853,7 +8855,7 @@ const hu = ({
|
|
|
8853
8855
|
return t.forEach((l) => {
|
|
8854
8856
|
if (!l)
|
|
8855
8857
|
return;
|
|
8856
|
-
const d =
|
|
8858
|
+
const d = Ec.getTagDetails(l);
|
|
8857
8859
|
d && u.push(d);
|
|
8858
8860
|
}), u.length < 1 ? null : /* @__PURE__ */ a.jsx(
|
|
8859
8861
|
"ul",
|
|
@@ -8877,7 +8879,7 @@ const hu = ({
|
|
|
8877
8879
|
}
|
|
8878
8880
|
);
|
|
8879
8881
|
};
|
|
8880
|
-
const
|
|
8882
|
+
const vu = ({
|
|
8881
8883
|
members: { data: t = [], total: e = t.length },
|
|
8882
8884
|
hasNextPage: n = !1,
|
|
8883
8885
|
loadNextPage: r = () => {
|
|
@@ -8907,7 +8909,7 @@ const gu = ({
|
|
|
8907
8909
|
)
|
|
8908
8910
|
] });
|
|
8909
8911
|
};
|
|
8910
|
-
const
|
|
8912
|
+
const bu = ({
|
|
8911
8913
|
element: t = "p",
|
|
8912
8914
|
data: {
|
|
8913
8915
|
timeLeftToFinish: e,
|
|
@@ -8955,7 +8957,7 @@ const vu = ({
|
|
|
8955
8957
|
] })
|
|
8956
8958
|
});
|
|
8957
8959
|
};
|
|
8958
|
-
const
|
|
8960
|
+
const Sc = ({
|
|
8959
8961
|
element: t = "span",
|
|
8960
8962
|
sectionId: e,
|
|
8961
8963
|
subsectionId: n,
|
|
@@ -8966,7 +8968,7 @@ const Ec = ({
|
|
|
8966
8968
|
"data-number": `${e}.${n}`,
|
|
8967
8969
|
children: r
|
|
8968
8970
|
});
|
|
8969
|
-
const
|
|
8971
|
+
const Cc = ({
|
|
8970
8972
|
size: t = "default",
|
|
8971
8973
|
completionTime: e,
|
|
8972
8974
|
icon: n,
|
|
@@ -8983,7 +8985,7 @@ const Sc = ({
|
|
|
8983
8985
|
i ? /* @__PURE__ */ a.jsx("span", { className: "additional", children: i }) : null
|
|
8984
8986
|
] });
|
|
8985
8987
|
};
|
|
8986
|
-
const
|
|
8988
|
+
const yu = ({
|
|
8987
8989
|
course: {
|
|
8988
8990
|
articles: t,
|
|
8989
8991
|
canAccessCourse: e,
|
|
@@ -9059,7 +9061,7 @@ const bu = ({
|
|
|
9059
9061
|
gtmType: "article-click",
|
|
9060
9062
|
children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
9061
9063
|
/* @__PURE__ */ a.jsx(
|
|
9062
|
-
|
|
9064
|
+
Sc,
|
|
9063
9065
|
{
|
|
9064
9066
|
sectionId: i,
|
|
9065
9067
|
subsectionId: F,
|
|
@@ -9069,7 +9071,7 @@ const bu = ({
|
|
|
9069
9071
|
),
|
|
9070
9072
|
" ",
|
|
9071
9073
|
/* @__PURE__ */ a.jsx(
|
|
9072
|
-
|
|
9074
|
+
Cc,
|
|
9073
9075
|
{
|
|
9074
9076
|
completionTime: h,
|
|
9075
9077
|
icon: y,
|
|
@@ -9090,7 +9092,7 @@ const bu = ({
|
|
|
9090
9092
|
}
|
|
9091
9093
|
);
|
|
9092
9094
|
};
|
|
9093
|
-
const
|
|
9095
|
+
const _u = ({
|
|
9094
9096
|
isComplete: t = !1,
|
|
9095
9097
|
onClick: e,
|
|
9096
9098
|
...n
|
|
@@ -9216,7 +9218,7 @@ const we = "discussion_form_", ir = ({
|
|
|
9216
9218
|
default:
|
|
9217
9219
|
break;
|
|
9218
9220
|
}
|
|
9219
|
-
await
|
|
9221
|
+
await Xs(1e3), u.callback && await u.callback(W), It = setTimeout(() => {
|
|
9220
9222
|
p(""), y("submitted");
|
|
9221
9223
|
const Z = new Event("discussionFormSubmitted");
|
|
9222
9224
|
document.dispatchEvent(Z), F();
|
|
@@ -9240,7 +9242,7 @@ const we = "discussion_form_", ir = ({
|
|
|
9240
9242
|
It = setTimeout(() => {
|
|
9241
9243
|
h(!1), y(!1);
|
|
9242
9244
|
}, 5e3);
|
|
9243
|
-
}, R = !f || !
|
|
9245
|
+
}, R = !f || !ii(f), X = g === "submitting", B = [];
|
|
9244
9246
|
return (n.isEditing && !X || c.cancel) && B.push({
|
|
9245
9247
|
variant: "secondary",
|
|
9246
9248
|
size: { mobile: "small", 600: "medium" },
|
|
@@ -9364,14 +9366,14 @@ const we = "discussion_form_", ir = ({
|
|
|
9364
9366
|
...l
|
|
9365
9367
|
}
|
|
9366
9368
|
);
|
|
9367
|
-
},
|
|
9369
|
+
}, Nc = {
|
|
9368
9370
|
showForm: !1
|
|
9369
|
-
}, or = jt(
|
|
9371
|
+
}, or = jt(Nc), $c = ({ children: t }) => {
|
|
9370
9372
|
const [e, n] = Q({
|
|
9371
9373
|
showForm: !1
|
|
9372
9374
|
});
|
|
9373
9375
|
return /* @__PURE__ */ a.jsx(or.Provider, { value: { ...e, updateConversation: n }, children: t });
|
|
9374
|
-
},
|
|
9376
|
+
}, Pc = ({
|
|
9375
9377
|
question: t,
|
|
9376
9378
|
answer: e,
|
|
9377
9379
|
reply: n
|
|
@@ -9379,7 +9381,7 @@ const we = "discussion_form_", ir = ({
|
|
|
9379
9381
|
...t && { questionSlug: t },
|
|
9380
9382
|
...e && { answerSlug: e },
|
|
9381
9383
|
...n && { replySlug: n }
|
|
9382
|
-
}),
|
|
9384
|
+
}), Mc = (t, e = 10) => !t || t.length === 0 ? [] : t.slice(0, e);
|
|
9383
9385
|
const Gn = ({
|
|
9384
9386
|
icon: t,
|
|
9385
9387
|
...e
|
|
@@ -9387,7 +9389,7 @@ const Gn = ({
|
|
|
9387
9389
|
let bt = !1;
|
|
9388
9390
|
const In = () => {
|
|
9389
9391
|
bt !== !1 && (clearTimeout(bt), bt = !1);
|
|
9390
|
-
}, Ln = 5,
|
|
9392
|
+
}, Ln = 5, Rc = ({
|
|
9391
9393
|
element: t = "div",
|
|
9392
9394
|
likes: e = 0,
|
|
9393
9395
|
peopleWhoLiked: n = !1,
|
|
@@ -9404,7 +9406,7 @@ const In = () => {
|
|
|
9404
9406
|
p(s);
|
|
9405
9407
|
}, [s]);
|
|
9406
9408
|
const [d, m] = Q(e), [f, p] = Q(s), [b, h] = Q(!1), [g, y] = Q(!1), _ = wt(
|
|
9407
|
-
() =>
|
|
9409
|
+
() => Mc(n, Ln),
|
|
9408
9410
|
[n]
|
|
9409
9411
|
), S = (x) => {
|
|
9410
9412
|
if (x.preventDefault(), x.stopPropagation(), y(!1), bt)
|
|
@@ -9419,7 +9421,7 @@ const In = () => {
|
|
|
9419
9421
|
x < 0 && (x = 0), h(!0), m(x), p(!f);
|
|
9420
9422
|
try {
|
|
9421
9423
|
if (i && i.slugs) {
|
|
9422
|
-
const F =
|
|
9424
|
+
const F = Pc(i.slugs);
|
|
9423
9425
|
f ? await u(F) : await c({
|
|
9424
9426
|
...F,
|
|
9425
9427
|
payload: { contentPath: window.location.pathname }
|
|
@@ -9482,7 +9484,7 @@ const In = () => {
|
|
|
9482
9484
|
) })
|
|
9483
9485
|
}
|
|
9484
9486
|
),
|
|
9485
|
-
n && /* @__PURE__ */ a.jsx(
|
|
9487
|
+
n && /* @__PURE__ */ a.jsx(tc, { isOpen: g, isLoading: n.length === 0, children: n.length && /* @__PURE__ */ a.jsxs("ul", { children: [
|
|
9486
9488
|
_.map((x) => typeof x == "string" || !x.name ? null : /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
|
|
9487
9489
|
at,
|
|
9488
9490
|
{
|
|
@@ -9505,7 +9507,7 @@ const In = () => {
|
|
|
9505
9507
|
const e = {};
|
|
9506
9508
|
return Object.keys(t).forEach((n) => n.includes("Id") ? e[n] = t[n] : e[`${n}Slug`] = t[n]), e;
|
|
9507
9509
|
}, ln = (t, e) => t && !e;
|
|
9508
|
-
const Me = "discussion_",
|
|
9510
|
+
const Me = "discussion_", Fc = 280, un = ({
|
|
9509
9511
|
element: t = "div",
|
|
9510
9512
|
content: e,
|
|
9511
9513
|
userHasPermissions: n = !0,
|
|
@@ -9537,7 +9539,7 @@ const Me = "discussion_", Rc = 280, un = ({
|
|
|
9537
9539
|
children: h,
|
|
9538
9540
|
isTruncated: g = !1
|
|
9539
9541
|
}) => {
|
|
9540
|
-
const y = H(), _ = Ee(Ae), S = Ee(or), { author: w, canLike: x, createdAt: F, id: R, likes: X = 0, userLiked: B, comments: $ = 0 } = e, C = _ && _.id && typeof w != "string" && w.id && w.id === _.id || !1, j = typeof x == "boolean" ? x : n ? !C : !1, k = C && (!e.createdAt ||
|
|
9542
|
+
const y = H(), _ = Ee(Ae), S = Ee(or), { author: w, canLike: x, createdAt: F, id: R, likes: X = 0, userLiked: B, comments: $ = 0 } = e, C = _ && _.id && typeof w != "string" && w.id && w.id === _.id || !1, j = typeof x == "boolean" ? x : n ? !C : !1, k = C && (!e.createdAt || Js(e.createdAt, 10, "seconds")), N = pe(null), [A, W] = Q({
|
|
9541
9543
|
body: e && e.body || "",
|
|
9542
9544
|
isEditing: !1,
|
|
9543
9545
|
didEdit: e && e.isEdited || !1
|
|
@@ -9570,7 +9572,7 @@ const Me = "discussion_", Rc = 280, un = ({
|
|
|
9570
9572
|
};
|
|
9571
9573
|
if (r || !e || e.type === "answer" && (!e.slugs || !e.slugs.question))
|
|
9572
9574
|
return /* @__PURE__ */ a.jsx(Se, { className: "discussion-card discussion-post" });
|
|
9573
|
-
const te = g ? et(A.body,
|
|
9575
|
+
const te = g ? et(A.body, Fc) : A.body, G = async (O) => {
|
|
9574
9576
|
O || (O = ""), I("");
|
|
9575
9577
|
try {
|
|
9576
9578
|
if (!As(O, A.body)) {
|
|
@@ -9633,7 +9635,7 @@ const Me = "discussion_", Rc = 280, un = ({
|
|
|
9633
9635
|
className: "gtm-trackable",
|
|
9634
9636
|
"data-gtm-event-context": b,
|
|
9635
9637
|
"data-gtm-event-type": `delete-${e.type}-click`,
|
|
9636
|
-
...
|
|
9638
|
+
...Xo(`delete-${e.slug}-modal`, Z)
|
|
9637
9639
|
}
|
|
9638
9640
|
), Y.createElement(t, {
|
|
9639
9641
|
className: E("discussion-post", p, {
|
|
@@ -9699,7 +9701,7 @@ const Me = "discussion_", Rc = 280, un = ({
|
|
|
9699
9701
|
) : f.post ? /* @__PURE__ */ a.jsxs("a", { href: f.post, children: [
|
|
9700
9702
|
(e == null ? void 0 : e.title) && /* @__PURE__ */ a.jsx("p", { className: "content-title", children: e.title }),
|
|
9701
9703
|
e != null && e.body && (e == null ? void 0 : e.body.length) > 195 ? /* @__PURE__ */ a.jsx(
|
|
9702
|
-
|
|
9704
|
+
mi,
|
|
9703
9705
|
{
|
|
9704
9706
|
text: e == null ? void 0 : e.body,
|
|
9705
9707
|
markdownOptions: { overrides: { a: Mr } }
|
|
@@ -9724,7 +9726,7 @@ const Me = "discussion_", Rc = 280, un = ({
|
|
|
9724
9726
|
"data-testid": `${e.type}-actions`,
|
|
9725
9727
|
children: [
|
|
9726
9728
|
!i.likes && /* @__PURE__ */ a.jsx(
|
|
9727
|
-
|
|
9729
|
+
Rc,
|
|
9728
9730
|
{
|
|
9729
9731
|
element: "li",
|
|
9730
9732
|
likes: X,
|
|
@@ -9760,7 +9762,7 @@ const Me = "discussion_", Rc = 280, un = ({
|
|
|
9760
9762
|
),
|
|
9761
9763
|
(e.type === "answer" || e.type === "reply") && /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(Gn, { styling: { muted: !0 }, onClick: V, children: y.formatMessage({ id: `${Me}reply` }) }) }),
|
|
9762
9764
|
/* @__PURE__ */ a.jsx(
|
|
9763
|
-
|
|
9765
|
+
pc,
|
|
9764
9766
|
{
|
|
9765
9767
|
element: "li",
|
|
9766
9768
|
id: `more-${e.slug}`,
|
|
@@ -9826,7 +9828,7 @@ const Me = "discussion_", Rc = 280, un = ({
|
|
|
9826
9828
|
] })
|
|
9827
9829
|
});
|
|
9828
9830
|
};
|
|
9829
|
-
const Bn = "discussion_responses_",
|
|
9831
|
+
const Bn = "discussion_responses_", Oc = ({ type: t = "answer", responses: e = 0 }) => {
|
|
9830
9832
|
const n = H();
|
|
9831
9833
|
return e = parseInt(e), /* @__PURE__ */ a.jsxs("div", { className: "responses-heading", children: [
|
|
9832
9834
|
/* @__PURE__ */ a.jsx("h4", { children: n.formatMessage(
|
|
@@ -9836,7 +9838,7 @@ const Bn = "discussion_responses_", Fc = ({ type: t = "answer", responses: e = 0
|
|
|
9836
9838
|
e === 0 && /* @__PURE__ */ a.jsx("p", { children: Ne(n.formatMessage, `${Bn}empty`, t, t) })
|
|
9837
9839
|
] });
|
|
9838
9840
|
};
|
|
9839
|
-
const
|
|
9841
|
+
const Ac = ({
|
|
9840
9842
|
loadMore: { isLoading: t, hasNextPage: e, loadNextPage: n } = {
|
|
9841
9843
|
isLoading: !1,
|
|
9842
9844
|
hasNextPage: !1,
|
|
@@ -9875,7 +9877,7 @@ const Oc = ({
|
|
|
9875
9877
|
]
|
|
9876
9878
|
}
|
|
9877
9879
|
);
|
|
9878
|
-
},
|
|
9880
|
+
}, Dc = "post", Ic = "reply", Qa = "00000000-0000-0000-0000-000000000000";
|
|
9879
9881
|
function cr({ queryClient: t, queryKey: e }) {
|
|
9880
9882
|
function n(r, s, i) {
|
|
9881
9883
|
t.setQueryData(e, i);
|
|
@@ -9890,7 +9892,7 @@ function lr({ queryClient: t, queryKey: e }) {
|
|
|
9890
9892
|
}
|
|
9891
9893
|
return n;
|
|
9892
9894
|
}
|
|
9893
|
-
function
|
|
9895
|
+
function Lc() {
|
|
9894
9896
|
return {
|
|
9895
9897
|
latest_reactions: {
|
|
9896
9898
|
like: [],
|
|
@@ -9906,7 +9908,7 @@ function Ic() {
|
|
|
9906
9908
|
}
|
|
9907
9909
|
};
|
|
9908
9910
|
}
|
|
9909
|
-
function
|
|
9911
|
+
function Bc() {
|
|
9910
9912
|
return {
|
|
9911
9913
|
latest_children: {
|
|
9912
9914
|
like: [],
|
|
@@ -9934,19 +9936,19 @@ function Ja(t) {
|
|
|
9934
9936
|
}
|
|
9935
9937
|
};
|
|
9936
9938
|
}
|
|
9937
|
-
function
|
|
9939
|
+
function qc({ content: t }) {
|
|
9938
9940
|
return {
|
|
9939
9941
|
content: t,
|
|
9940
9942
|
id: Qa,
|
|
9941
9943
|
time: (/* @__PURE__ */ new Date()).toISOString(),
|
|
9942
|
-
verb:
|
|
9944
|
+
verb: Dc
|
|
9943
9945
|
};
|
|
9944
9946
|
}
|
|
9945
9947
|
function ta({ activity: t, user: e }) {
|
|
9946
9948
|
return {
|
|
9947
9949
|
...t,
|
|
9948
9950
|
actor: Ja(e),
|
|
9949
|
-
...
|
|
9951
|
+
...Lc()
|
|
9950
9952
|
};
|
|
9951
9953
|
}
|
|
9952
9954
|
function tn({ activity: t, reaction: e }) {
|
|
@@ -9975,14 +9977,14 @@ function Xa({ activity: t, user: e }) {
|
|
|
9975
9977
|
like: (((s = t.own_reactions) == null ? void 0 : s.like) || []).filter(({ user_id: i }) => i !== e.id)
|
|
9976
9978
|
});
|
|
9977
9979
|
}
|
|
9978
|
-
function
|
|
9980
|
+
function Wc({ activityId: t, replyId: e, content: n }) {
|
|
9979
9981
|
return {
|
|
9980
9982
|
activity_id: t,
|
|
9981
9983
|
data: {
|
|
9982
9984
|
content: n
|
|
9983
9985
|
},
|
|
9984
9986
|
id: Qa,
|
|
9985
|
-
kind:
|
|
9987
|
+
kind: Ic,
|
|
9986
9988
|
parent: e || ""
|
|
9987
9989
|
};
|
|
9988
9990
|
}
|
|
@@ -9992,7 +9994,7 @@ function na({ reply: t, user: e }) {
|
|
|
9992
9994
|
...t,
|
|
9993
9995
|
user_id: n.id,
|
|
9994
9996
|
user: n,
|
|
9995
|
-
...
|
|
9997
|
+
...Bc()
|
|
9996
9998
|
};
|
|
9997
9999
|
}
|
|
9998
10000
|
function ra({ reply: t, reaction: e }) {
|
|
@@ -10008,7 +10010,7 @@ function ra({ reply: t, reaction: e }) {
|
|
|
10008
10010
|
like: (n = t.children_counts) != null && n.like ? t.children_counts.like + 1 : 1
|
|
10009
10011
|
};
|
|
10010
10012
|
}
|
|
10011
|
-
function
|
|
10013
|
+
function Uc({ reply: t, user: e }) {
|
|
10012
10014
|
var n, r, s;
|
|
10013
10015
|
t.children_counts = {
|
|
10014
10016
|
...t.children_counts || {},
|
|
@@ -10077,7 +10079,7 @@ const ts = () => {
|
|
|
10077
10079
|
object: "comment",
|
|
10078
10080
|
time: "2023-11-24T17:52:36.162000",
|
|
10079
10081
|
verb: "post"
|
|
10080
|
-
}),
|
|
10082
|
+
}), zc = Object.freeze({
|
|
10081
10083
|
actor: `SU:${Be.id}`,
|
|
10082
10084
|
content: "some content 2",
|
|
10083
10085
|
duration: "5.53ms",
|
|
@@ -10087,7 +10089,7 @@ const ts = () => {
|
|
|
10087
10089
|
object: "comment",
|
|
10088
10090
|
time: "2023-11-24T17:54:36.162000",
|
|
10089
10091
|
verb: "post"
|
|
10090
|
-
}),
|
|
10092
|
+
}), Zc = Object.freeze({
|
|
10091
10093
|
actor: `SU:${nt.id}`,
|
|
10092
10094
|
content: "some content 3",
|
|
10093
10095
|
duration: "5.53ms",
|
|
@@ -10097,7 +10099,7 @@ const ts = () => {
|
|
|
10097
10099
|
object: "comment",
|
|
10098
10100
|
time: "2023-11-24T17:56:36.162000",
|
|
10099
10101
|
verb: "post"
|
|
10100
|
-
}),
|
|
10102
|
+
}), Hc = Object.freeze({
|
|
10101
10103
|
actor: `SU:${Be.id}`,
|
|
10102
10104
|
content: "some content 4",
|
|
10103
10105
|
duration: "5.53ms",
|
|
@@ -10160,7 +10162,7 @@ Object.freeze({
|
|
|
10160
10162
|
updated_at: "2023-08-31T07:11:38.677184Z"
|
|
10161
10163
|
},
|
|
10162
10164
|
kind: "reply",
|
|
10163
|
-
activity_id:
|
|
10165
|
+
activity_id: zc.id,
|
|
10164
10166
|
data: {
|
|
10165
10167
|
content: "Some content 2..."
|
|
10166
10168
|
},
|
|
@@ -10180,7 +10182,7 @@ Object.freeze({
|
|
|
10180
10182
|
updated_at: "2023-08-31T07:11:38.677184Z"
|
|
10181
10183
|
},
|
|
10182
10184
|
kind: "reply",
|
|
10183
|
-
activity_id:
|
|
10185
|
+
activity_id: Zc.id,
|
|
10184
10186
|
data: {
|
|
10185
10187
|
content: "Some content 3..."
|
|
10186
10188
|
},
|
|
@@ -10200,7 +10202,7 @@ Object.freeze({
|
|
|
10200
10202
|
updated_at: "2023-08-31T07:11:38.677184Z"
|
|
10201
10203
|
},
|
|
10202
10204
|
kind: "reply",
|
|
10203
|
-
activity_id:
|
|
10205
|
+
activity_id: Hc.id,
|
|
10204
10206
|
data: {
|
|
10205
10207
|
content: "Some content 4..."
|
|
10206
10208
|
},
|
|
@@ -10208,7 +10210,7 @@ Object.freeze({
|
|
|
10208
10210
|
latest_children: {},
|
|
10209
10211
|
children_counts: {}
|
|
10210
10212
|
});
|
|
10211
|
-
function
|
|
10213
|
+
function Vc({
|
|
10212
10214
|
mutationFn: t,
|
|
10213
10215
|
mutationHandlers: { mutate: e, error: n },
|
|
10214
10216
|
queryClient: r,
|
|
@@ -10218,7 +10220,7 @@ function Hc({
|
|
|
10218
10220
|
const { mutate: o } = je({
|
|
10219
10221
|
mutationFn: t,
|
|
10220
10222
|
onMutate: (c) => e((u) => {
|
|
10221
|
-
const l = ta({ activity:
|
|
10223
|
+
const l = ta({ activity: qc(c), user: i });
|
|
10222
10224
|
return sa(l, u);
|
|
10223
10225
|
}),
|
|
10224
10226
|
onError: n,
|
|
@@ -10231,7 +10233,7 @@ function Hc({
|
|
|
10231
10233
|
});
|
|
10232
10234
|
return o;
|
|
10233
10235
|
}
|
|
10234
|
-
function
|
|
10236
|
+
function Yc({
|
|
10235
10237
|
mutationFn: t,
|
|
10236
10238
|
mutationHandlers: {
|
|
10237
10239
|
mutate: e,
|
|
@@ -10248,7 +10250,7 @@ function Vc({
|
|
|
10248
10250
|
});
|
|
10249
10251
|
return r;
|
|
10250
10252
|
}
|
|
10251
|
-
function
|
|
10253
|
+
function Kc({
|
|
10252
10254
|
queryFns: {
|
|
10253
10255
|
create: t,
|
|
10254
10256
|
edit: e,
|
|
@@ -10266,7 +10268,7 @@ function Yc({
|
|
|
10266
10268
|
},
|
|
10267
10269
|
user: u,
|
|
10268
10270
|
...l
|
|
10269
|
-
}, m =
|
|
10271
|
+
}, m = Vc({ ...d, mutationFn: t }), f = Yc({ ...d, mutationFn: e }), p = Gc({ ...d, mutationFn: n }), b = Jc({ ...d, mutationFn: s }), h = Xc({ ...d, mutationFn: i }), { activities: g, ...y } = Qc({ queryKey: o, queryFn: r });
|
|
10270
10272
|
return {
|
|
10271
10273
|
activities: g,
|
|
10272
10274
|
mutations: {
|
|
@@ -10280,7 +10282,7 @@ function Yc({
|
|
|
10280
10282
|
...y
|
|
10281
10283
|
};
|
|
10282
10284
|
}
|
|
10283
|
-
function
|
|
10285
|
+
function Gc({
|
|
10284
10286
|
mutationFn: t,
|
|
10285
10287
|
mutationHandlers: {
|
|
10286
10288
|
mutate: e,
|
|
@@ -10303,7 +10305,7 @@ function Kc({
|
|
|
10303
10305
|
});
|
|
10304
10306
|
return i;
|
|
10305
10307
|
}
|
|
10306
|
-
function
|
|
10308
|
+
function Qc({ queryFn: t, queryKey: e }) {
|
|
10307
10309
|
const {
|
|
10308
10310
|
data: n,
|
|
10309
10311
|
error: r,
|
|
@@ -10317,14 +10319,14 @@ function Gc({ queryFn: t, queryKey: e }) {
|
|
|
10317
10319
|
getNextPageParam: (c) => (c == null ? void 0 : c.next) || null
|
|
10318
10320
|
});
|
|
10319
10321
|
return {
|
|
10320
|
-
activities:
|
|
10322
|
+
activities: tl(n),
|
|
10321
10323
|
error: r,
|
|
10322
10324
|
isLoading: s,
|
|
10323
10325
|
hasNextPage: i,
|
|
10324
10326
|
fetchNextPage: o
|
|
10325
10327
|
};
|
|
10326
10328
|
}
|
|
10327
|
-
function
|
|
10329
|
+
function Jc({
|
|
10328
10330
|
mutationFn: t,
|
|
10329
10331
|
mutationHandlers: {
|
|
10330
10332
|
mutate: e,
|
|
@@ -10333,12 +10335,12 @@ function Qc({
|
|
|
10333
10335
|
}) {
|
|
10334
10336
|
const { mutate: r } = je({
|
|
10335
10337
|
mutationFn: t,
|
|
10336
|
-
onMutate: ({ activityId: s }) => e((i) =>
|
|
10338
|
+
onMutate: ({ activityId: s }) => e((i) => el(s, i)),
|
|
10337
10339
|
onError: n
|
|
10338
10340
|
});
|
|
10339
10341
|
return r;
|
|
10340
10342
|
}
|
|
10341
|
-
function
|
|
10343
|
+
function Xc({
|
|
10342
10344
|
mutationFn: t,
|
|
10343
10345
|
mutationHandlers: {
|
|
10344
10346
|
mutate: e,
|
|
@@ -10373,7 +10375,7 @@ function nn(t, e) {
|
|
|
10373
10375
|
return r;
|
|
10374
10376
|
}
|
|
10375
10377
|
}
|
|
10376
|
-
function
|
|
10378
|
+
function el(t, e) {
|
|
10377
10379
|
for (const { results: n } of e.pages) {
|
|
10378
10380
|
const r = n.findIndex(({ id: s }) => s === t);
|
|
10379
10381
|
if (r !== -1) {
|
|
@@ -10383,11 +10385,11 @@ function Xc(t, e) {
|
|
|
10383
10385
|
}
|
|
10384
10386
|
return e;
|
|
10385
10387
|
}
|
|
10386
|
-
function
|
|
10388
|
+
function tl(t) {
|
|
10387
10389
|
var e;
|
|
10388
10390
|
return ((e = t == null ? void 0 : t.pages) == null ? void 0 : e.reduce((n, { results: r }) => [...n, ...r], [])) || [];
|
|
10389
10391
|
}
|
|
10390
|
-
const
|
|
10392
|
+
const xu = ({
|
|
10391
10393
|
basePath: t,
|
|
10392
10394
|
parentId: e,
|
|
10393
10395
|
isMember: n,
|
|
@@ -10401,7 +10403,7 @@ const _u = ({
|
|
|
10401
10403
|
isLoading: m,
|
|
10402
10404
|
mutations: { create: f, edit: p, remove: b, like: h, unlike: g },
|
|
10403
10405
|
user: y
|
|
10404
|
-
} =
|
|
10406
|
+
} = Kc({
|
|
10405
10407
|
queryKey: [t, e, "activities"],
|
|
10406
10408
|
queryFns: r
|
|
10407
10409
|
});
|
|
@@ -10503,7 +10505,7 @@ const _u = ({
|
|
|
10503
10505
|
}
|
|
10504
10506
|
)
|
|
10505
10507
|
] });
|
|
10506
|
-
},
|
|
10508
|
+
}, wu = {
|
|
10507
10509
|
next: "id_lt=67ef0342-6f6e-4807-beea-5a9184ec140c&limit=5",
|
|
10508
10510
|
results: [
|
|
10509
10511
|
{
|
|
@@ -11055,7 +11057,7 @@ const _u = ({
|
|
|
11055
11057
|
],
|
|
11056
11058
|
duration: "6.48ms"
|
|
11057
11059
|
};
|
|
11058
|
-
function
|
|
11060
|
+
function nl({
|
|
11059
11061
|
mutationFn: t,
|
|
11060
11062
|
mutationHandlers: { mutate: e, error: n },
|
|
11061
11063
|
queryClient: r,
|
|
@@ -11065,7 +11067,7 @@ function tl({
|
|
|
11065
11067
|
const { mutate: o } = je({
|
|
11066
11068
|
mutationFn: t,
|
|
11067
11069
|
onMutate: (c) => e((u) => {
|
|
11068
|
-
const l = na({ reply:
|
|
11070
|
+
const l = na({ reply: Wc(c), user: i });
|
|
11069
11071
|
return ia(l, u, {
|
|
11070
11072
|
replace: !1,
|
|
11071
11073
|
append: (c == null ? void 0 : c.replyId) !== void 0
|
|
@@ -11084,7 +11086,7 @@ function tl({
|
|
|
11084
11086
|
});
|
|
11085
11087
|
return o;
|
|
11086
11088
|
}
|
|
11087
|
-
function
|
|
11089
|
+
function rl({
|
|
11088
11090
|
mutationFn: t,
|
|
11089
11091
|
mutationHandlers: {
|
|
11090
11092
|
mutate: e,
|
|
@@ -11119,7 +11121,7 @@ function rs({
|
|
|
11119
11121
|
},
|
|
11120
11122
|
user: u,
|
|
11121
11123
|
...l
|
|
11122
|
-
}, m =
|
|
11124
|
+
}, m = nl({ ...d, mutationFn: t }), f = rl({ ...d, mutationFn: e }), p = al({ ...d, mutationFn: n }), b = il({ ...d, mutationFn: s }), h = ol({ ...d, mutationFn: i }), { replies: g, ...y } = sl({ queryKey: o, queryFn: r });
|
|
11123
11125
|
return {
|
|
11124
11126
|
replies: g,
|
|
11125
11127
|
mutations: {
|
|
@@ -11133,7 +11135,7 @@ function rs({
|
|
|
11133
11135
|
...y
|
|
11134
11136
|
};
|
|
11135
11137
|
}
|
|
11136
|
-
function
|
|
11138
|
+
function al({
|
|
11137
11139
|
mutationFn: t,
|
|
11138
11140
|
mutationHandlers: {
|
|
11139
11141
|
mutate: e,
|
|
@@ -11156,7 +11158,7 @@ function rl({
|
|
|
11156
11158
|
});
|
|
11157
11159
|
return i;
|
|
11158
11160
|
}
|
|
11159
|
-
function
|
|
11161
|
+
function sl({ queryFn: t, queryKey: e }) {
|
|
11160
11162
|
const {
|
|
11161
11163
|
data: n,
|
|
11162
11164
|
error: r,
|
|
@@ -11168,7 +11170,7 @@ function al({ queryFn: t, queryKey: e }) {
|
|
|
11168
11170
|
queryFn: t,
|
|
11169
11171
|
initialPageParam: { next: "" },
|
|
11170
11172
|
getNextPageParam: (l) => (l == null ? void 0 : l.next) || null
|
|
11171
|
-
}), c =
|
|
11173
|
+
}), c = fl(n), u = `${c.length || 0}${i ? "+" : ""}`;
|
|
11172
11174
|
return {
|
|
11173
11175
|
replies: c,
|
|
11174
11176
|
repliesCount: u,
|
|
@@ -11178,7 +11180,7 @@ function al({ queryFn: t, queryKey: e }) {
|
|
|
11178
11180
|
fetchNextPage: o
|
|
11179
11181
|
};
|
|
11180
11182
|
}
|
|
11181
|
-
function
|
|
11183
|
+
function il({
|
|
11182
11184
|
mutationFn: t,
|
|
11183
11185
|
mutationHandlers: {
|
|
11184
11186
|
mutate: e,
|
|
@@ -11187,12 +11189,12 @@ function sl({
|
|
|
11187
11189
|
}) {
|
|
11188
11190
|
const { mutate: r } = je({
|
|
11189
11191
|
mutationFn: t,
|
|
11190
|
-
onMutate: ({ replyId: s }) => e((i) =>
|
|
11192
|
+
onMutate: ({ replyId: s }) => e((i) => dl(s, i)),
|
|
11191
11193
|
onError: n
|
|
11192
11194
|
});
|
|
11193
11195
|
return r;
|
|
11194
11196
|
}
|
|
11195
|
-
function
|
|
11197
|
+
function ol({
|
|
11196
11198
|
mutationFn: t,
|
|
11197
11199
|
mutationHandlers: {
|
|
11198
11200
|
mutate: e,
|
|
@@ -11204,13 +11206,13 @@ function il({
|
|
|
11204
11206
|
mutationFn: t,
|
|
11205
11207
|
onMutate: ({ replyId: i }) => e((o) => {
|
|
11206
11208
|
const c = rn(i, o);
|
|
11207
|
-
return c &&
|
|
11209
|
+
return c && Uc({ reply: c, user: r }), o;
|
|
11208
11210
|
}),
|
|
11209
11211
|
onError: n
|
|
11210
11212
|
});
|
|
11211
11213
|
return s;
|
|
11212
11214
|
}
|
|
11213
|
-
function
|
|
11215
|
+
function cl(t) {
|
|
11214
11216
|
return {
|
|
11215
11217
|
pages: [{
|
|
11216
11218
|
next: "",
|
|
@@ -11219,15 +11221,15 @@ function ol(t) {
|
|
|
11219
11221
|
pageParams: [""]
|
|
11220
11222
|
};
|
|
11221
11223
|
}
|
|
11222
|
-
function
|
|
11224
|
+
function ll(t, e, n) {
|
|
11223
11225
|
const r = e.pages.length - 1, s = e.pages[r].results.length - 1;
|
|
11224
11226
|
return n != null && n.replace ? e.pages[r].results[s] = t : e.pages[r].results.push(t), e;
|
|
11225
11227
|
}
|
|
11226
|
-
function
|
|
11228
|
+
function ul(t, e, n) {
|
|
11227
11229
|
return n != null && n.replace ? e.pages[0].results[0] = t : e.pages[0].results = [t, ...e.pages[0].results], e;
|
|
11228
11230
|
}
|
|
11229
11231
|
function ia(t, e, n) {
|
|
11230
|
-
return e ? n != null && n.append ?
|
|
11232
|
+
return e ? n != null && n.append ? ll(t, e, n) : ul(t, e, n) : cl(t);
|
|
11231
11233
|
}
|
|
11232
11234
|
function rn(t, e) {
|
|
11233
11235
|
if (e)
|
|
@@ -11237,7 +11239,7 @@ function rn(t, e) {
|
|
|
11237
11239
|
return r;
|
|
11238
11240
|
}
|
|
11239
11241
|
}
|
|
11240
|
-
function
|
|
11242
|
+
function dl(t, e) {
|
|
11241
11243
|
for (const { results: n } of e.pages) {
|
|
11242
11244
|
const r = n.findIndex(({ id: s }) => s === t);
|
|
11243
11245
|
if (r !== -1) {
|
|
@@ -11247,11 +11249,11 @@ function ul(t, e) {
|
|
|
11247
11249
|
}
|
|
11248
11250
|
return e;
|
|
11249
11251
|
}
|
|
11250
|
-
function
|
|
11252
|
+
function fl(t) {
|
|
11251
11253
|
var e;
|
|
11252
11254
|
return ((e = t == null ? void 0 : t.pages) == null ? void 0 : e.reduce((n, r) => [...n, ...r == null ? void 0 : r.results], [])) || [];
|
|
11253
11255
|
}
|
|
11254
|
-
const
|
|
11256
|
+
const ml = ({
|
|
11255
11257
|
basePath: t,
|
|
11256
11258
|
parentId: e,
|
|
11257
11259
|
activityId: n,
|
|
@@ -11275,7 +11277,7 @@ const fl = ({
|
|
|
11275
11277
|
}
|
|
11276
11278
|
});
|
|
11277
11279
|
return /* @__PURE__ */ a.jsx(
|
|
11278
|
-
|
|
11280
|
+
Ac,
|
|
11279
11281
|
{
|
|
11280
11282
|
loadMore: { isLoading: l, hasNextPage: u, loadNextPage: () => c() },
|
|
11281
11283
|
form: {
|
|
@@ -11364,7 +11366,7 @@ const fl = ({
|
|
|
11364
11366
|
}
|
|
11365
11367
|
);
|
|
11366
11368
|
};
|
|
11367
|
-
const
|
|
11369
|
+
const pl = ({
|
|
11368
11370
|
basePath: t,
|
|
11369
11371
|
parentId: e,
|
|
11370
11372
|
activityId: n,
|
|
@@ -11384,7 +11386,7 @@ const ml = ({
|
|
|
11384
11386
|
queryFns: s
|
|
11385
11387
|
});
|
|
11386
11388
|
return Zs(), ts(), /* @__PURE__ */ a.jsxs("section", { className: "replies-feed", children: [
|
|
11387
|
-
/* @__PURE__ */ a.jsx(
|
|
11389
|
+
/* @__PURE__ */ a.jsx(Oc, { type: "comment", responses: l }),
|
|
11388
11390
|
/* @__PURE__ */ a.jsx(
|
|
11389
11391
|
Ga,
|
|
11390
11392
|
{
|
|
@@ -11421,7 +11423,7 @@ const ml = ({
|
|
|
11421
11423
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
11422
11424
|
((U = (q = S == null ? void 0 : S.data) == null ? void 0 : q.content) == null ? void 0 : U.text) || ""
|
|
11423
11425
|
);
|
|
11424
|
-
return /* @__PURE__ */ a.jsx(
|
|
11426
|
+
return /* @__PURE__ */ a.jsx($c, { children: /* @__PURE__ */ a.jsx(
|
|
11425
11427
|
un,
|
|
11426
11428
|
{
|
|
11427
11429
|
content: {
|
|
@@ -11464,7 +11466,7 @@ const ml = ({
|
|
|
11464
11466
|
comments: {}
|
|
11465
11467
|
},
|
|
11466
11468
|
children: /* @__PURE__ */ a.jsx(
|
|
11467
|
-
|
|
11469
|
+
ml,
|
|
11468
11470
|
{
|
|
11469
11471
|
basePath: t,
|
|
11470
11472
|
parentId: e,
|
|
@@ -11494,7 +11496,7 @@ const ml = ({
|
|
|
11494
11496
|
)
|
|
11495
11497
|
] });
|
|
11496
11498
|
};
|
|
11497
|
-
function
|
|
11499
|
+
function hl({
|
|
11498
11500
|
mutationFn: t,
|
|
11499
11501
|
mutationHandlers: {
|
|
11500
11502
|
mutate: e,
|
|
@@ -11508,7 +11510,7 @@ function pl({
|
|
|
11508
11510
|
});
|
|
11509
11511
|
return r;
|
|
11510
11512
|
}
|
|
11511
|
-
function
|
|
11513
|
+
function gl({ queryFn: t, queryKey: e }) {
|
|
11512
11514
|
const {
|
|
11513
11515
|
data: n,
|
|
11514
11516
|
error: r,
|
|
@@ -11525,7 +11527,7 @@ function hl({ queryFn: t, queryKey: e }) {
|
|
|
11525
11527
|
isFetching: i
|
|
11526
11528
|
};
|
|
11527
11529
|
}
|
|
11528
|
-
function
|
|
11530
|
+
function vl({
|
|
11529
11531
|
queryFns: {
|
|
11530
11532
|
read: t,
|
|
11531
11533
|
edit: e,
|
|
@@ -11541,7 +11543,7 @@ function gl({
|
|
|
11541
11543
|
},
|
|
11542
11544
|
user: o,
|
|
11543
11545
|
...c
|
|
11544
|
-
}, l =
|
|
11546
|
+
}, l = hl({ ...u, mutationFn: e }), d = bl({ ...u, mutationFn: n }), m = yl({ ...u, mutationFn: r }), { activity: f, ...p } = gl({ queryKey: s, queryFn: t });
|
|
11545
11547
|
return {
|
|
11546
11548
|
activity: f,
|
|
11547
11549
|
mutations: {
|
|
@@ -11553,7 +11555,7 @@ function gl({
|
|
|
11553
11555
|
...p
|
|
11554
11556
|
};
|
|
11555
11557
|
}
|
|
11556
|
-
function
|
|
11558
|
+
function bl({
|
|
11557
11559
|
mutationFn: t,
|
|
11558
11560
|
mutationHandlers: {
|
|
11559
11561
|
mutate: e,
|
|
@@ -11572,7 +11574,7 @@ function vl({
|
|
|
11572
11574
|
});
|
|
11573
11575
|
return i;
|
|
11574
11576
|
}
|
|
11575
|
-
function
|
|
11577
|
+
function yl({
|
|
11576
11578
|
mutationFn: t,
|
|
11577
11579
|
mutationHandlers: {
|
|
11578
11580
|
mutate: e,
|
|
@@ -11587,7 +11589,7 @@ function bl({
|
|
|
11587
11589
|
});
|
|
11588
11590
|
return s;
|
|
11589
11591
|
}
|
|
11590
|
-
const
|
|
11592
|
+
const ju = ({
|
|
11591
11593
|
basePath: t,
|
|
11592
11594
|
parentId: e,
|
|
11593
11595
|
activityId: n,
|
|
@@ -11605,7 +11607,7 @@ const wu = ({
|
|
|
11605
11607
|
error: f,
|
|
11606
11608
|
isLoading: p,
|
|
11607
11609
|
mutations: { edit: b, like: h, unlike: g }
|
|
11608
|
-
} =
|
|
11610
|
+
} = vl({
|
|
11609
11611
|
queryFns: i,
|
|
11610
11612
|
queryKey: [t, e, n]
|
|
11611
11613
|
});
|
|
@@ -11679,7 +11681,7 @@ const wu = ({
|
|
|
11679
11681
|
n
|
|
11680
11682
|
),
|
|
11681
11683
|
/* @__PURE__ */ a.jsx(
|
|
11682
|
-
|
|
11684
|
+
pl,
|
|
11683
11685
|
{
|
|
11684
11686
|
basePath: t,
|
|
11685
11687
|
parentId: e,
|
|
@@ -11693,7 +11695,7 @@ const wu = ({
|
|
|
11693
11695
|
}
|
|
11694
11696
|
)
|
|
11695
11697
|
] });
|
|
11696
|
-
},
|
|
11698
|
+
}, ku = ({
|
|
11697
11699
|
id: t,
|
|
11698
11700
|
data: { jobTitle: e, name: n, organization: r, thumbnail: s }
|
|
11699
11701
|
}) => ({
|
|
@@ -11746,18 +11748,18 @@ const wu = ({
|
|
|
11746
11748
|
contributors: ["community"]
|
|
11747
11749
|
}
|
|
11748
11750
|
];
|
|
11749
|
-
const Lt = "notFoundError_",
|
|
11751
|
+
const Lt = "notFoundError_", Tu = () => {
|
|
11750
11752
|
const t = H(), e = [];
|
|
11751
11753
|
return oa.forEach((n, r) => {
|
|
11752
11754
|
n.title = t.formatMessage({ id: `${Lt}post_${r + 1}` }), e.push("solutionArticle");
|
|
11753
11755
|
}), /* @__PURE__ */ a.jsxs(
|
|
11754
|
-
|
|
11756
|
+
Tc,
|
|
11755
11757
|
{
|
|
11756
11758
|
styling: { background: "bold", circle: "small", variant: "alt-2" },
|
|
11757
11759
|
additionalContent: {
|
|
11758
11760
|
appended: /* @__PURE__ */ a.jsxs(Ye, { children: [
|
|
11759
11761
|
/* @__PURE__ */ a.jsx(
|
|
11760
|
-
|
|
11762
|
+
lc,
|
|
11761
11763
|
{
|
|
11762
11764
|
cards: oa,
|
|
11763
11765
|
cardTypes: e,
|
|
@@ -11781,138 +11783,139 @@ const Lt = "notFoundError_", ku = () => {
|
|
|
11781
11783
|
};
|
|
11782
11784
|
export {
|
|
11783
11785
|
Le as ASSETS_BUCKET,
|
|
11784
|
-
|
|
11785
|
-
|
|
11786
|
+
xu as ActivitiesFeed,
|
|
11787
|
+
ju as ActivitySection,
|
|
11786
11788
|
Ga as AddPost,
|
|
11787
|
-
|
|
11788
|
-
|
|
11789
|
-
|
|
11790
|
-
|
|
11789
|
+
Xl as Banner,
|
|
11790
|
+
ru as BannerSection,
|
|
11791
|
+
lu as Breadcrumbs,
|
|
11792
|
+
Bl as Buckets,
|
|
11791
11793
|
ie as Button,
|
|
11792
11794
|
Tt as ButtonWrapper,
|
|
11793
11795
|
Ct as COURSE_CONTENT_TYPES,
|
|
11794
|
-
|
|
11796
|
+
Zo as CacheProvider,
|
|
11795
11797
|
Za as Card,
|
|
11796
|
-
|
|
11797
|
-
|
|
11798
|
+
lc as CardBlock,
|
|
11799
|
+
ou as Carousel,
|
|
11798
11800
|
tr as CollapsibleSection,
|
|
11799
|
-
|
|
11800
|
-
|
|
11801
|
-
|
|
11802
|
-
|
|
11803
|
-
|
|
11801
|
+
xc as Columns,
|
|
11802
|
+
cu as CommunityDetails,
|
|
11803
|
+
pu as ContactFooter,
|
|
11804
|
+
Li as ContactForm,
|
|
11805
|
+
di as ContentTypeLabel,
|
|
11804
11806
|
Ta as Contributors,
|
|
11805
11807
|
or as ConversationContext,
|
|
11806
|
-
|
|
11807
|
-
|
|
11808
|
-
|
|
11809
|
-
|
|
11810
|
-
|
|
11811
|
-
|
|
11808
|
+
wc as CookieBanner,
|
|
11809
|
+
bu as CourseProgression,
|
|
11810
|
+
yu as CourseStructure,
|
|
11811
|
+
au as CustomContentBanner,
|
|
11812
|
+
Gl as Directory,
|
|
11813
|
+
$c as DiscussionConversation,
|
|
11812
11814
|
ir as DiscussionForm,
|
|
11813
|
-
|
|
11815
|
+
Rc as DiscussionLikes,
|
|
11814
11816
|
un as DiscussionPost,
|
|
11815
|
-
|
|
11817
|
+
Ac as DiscussionThread,
|
|
11816
11818
|
ze as Divider,
|
|
11817
|
-
|
|
11819
|
+
eu as DownloadSection,
|
|
11818
11820
|
ft as EMAILS,
|
|
11819
|
-
|
|
11820
|
-
|
|
11821
|
+
tu as EditSection,
|
|
11822
|
+
Si as EmailHelperTextBox,
|
|
11821
11823
|
He as EmptyStateBox,
|
|
11822
|
-
|
|
11823
|
-
|
|
11824
|
+
uu as Filters,
|
|
11825
|
+
Yo as FlagsProvider,
|
|
11824
11826
|
Ya as Footer,
|
|
11825
11827
|
sn as Form,
|
|
11826
11828
|
Ye as FullWidthSection,
|
|
11827
|
-
|
|
11829
|
+
Yl as GlobalProviders,
|
|
11828
11830
|
Ka as Header,
|
|
11829
|
-
|
|
11831
|
+
fi as HelperTextBox,
|
|
11830
11832
|
Xn as HiddenFromScreenReaders,
|
|
11831
|
-
|
|
11832
|
-
|
|
11833
|
+
mi as HideShowTextBox,
|
|
11834
|
+
su as HighlightSection,
|
|
11833
11835
|
Fe as HighlightedTextBox,
|
|
11834
|
-
|
|
11835
|
-
|
|
11836
|
-
|
|
11837
|
-
|
|
11838
|
-
|
|
11836
|
+
Ks as INVALID_TOKEN,
|
|
11837
|
+
ql as IconBulletedList,
|
|
11838
|
+
Dl as ImageContainer,
|
|
11839
|
+
Ko as IntlProvider,
|
|
11840
|
+
Bi as InviteForm,
|
|
11841
|
+
Kl as InviteModal,
|
|
11839
11842
|
Ha as JoinButton,
|
|
11840
11843
|
qa as LanguageContext,
|
|
11841
|
-
|
|
11842
|
-
|
|
11843
|
-
|
|
11844
|
+
du as LanguageSwitcher,
|
|
11845
|
+
Sc as LessonName,
|
|
11846
|
+
Cc as LessonType,
|
|
11844
11847
|
at as Link,
|
|
11845
11848
|
cn as LoadMore,
|
|
11846
|
-
|
|
11849
|
+
Wl as LoadingBlock,
|
|
11847
11850
|
Se as LoadingPlaceholder,
|
|
11848
11851
|
wa as LoadingState,
|
|
11849
11852
|
Va as Logo,
|
|
11850
|
-
|
|
11851
|
-
|
|
11853
|
+
nu as LogoSection,
|
|
11854
|
+
_u as MarkCompleteButton,
|
|
11852
11855
|
xt as MarkdownText,
|
|
11853
|
-
|
|
11856
|
+
iu as MarketingBlock,
|
|
11854
11857
|
an as Member,
|
|
11855
|
-
|
|
11858
|
+
vu as MembersList,
|
|
11856
11859
|
Ua as Modal,
|
|
11857
|
-
|
|
11858
|
-
|
|
11859
|
-
|
|
11860
|
-
|
|
11861
|
-
|
|
11860
|
+
pc as MoreMenu,
|
|
11861
|
+
Al as NUMBER_OF_COUNTRIES,
|
|
11862
|
+
Ol as NUMBER_OF_USERS,
|
|
11863
|
+
vc as NavigationMenu,
|
|
11864
|
+
Tu as NotFoundError,
|
|
11862
11865
|
on as Overlay,
|
|
11863
11866
|
Wa as OverlayContext,
|
|
11864
|
-
|
|
11865
|
-
|
|
11866
|
-
|
|
11867
|
-
|
|
11868
|
-
|
|
11867
|
+
Jo as OverlayProvider,
|
|
11868
|
+
wi as PageHeading,
|
|
11869
|
+
Tc as PageLayout,
|
|
11870
|
+
Hl as PasswordForm,
|
|
11871
|
+
Ii as PasswordRules,
|
|
11869
11872
|
ht as Pill,
|
|
11870
|
-
|
|
11873
|
+
Zl as ProfileImageChange,
|
|
11871
11874
|
Ve as ProfilePicture,
|
|
11872
11875
|
_a as ProgressBar,
|
|
11873
|
-
|
|
11874
|
-
|
|
11875
|
-
|
|
11876
|
-
|
|
11876
|
+
Il as ProgressTracker,
|
|
11877
|
+
Ul as Rating,
|
|
11878
|
+
pl as RepliesFeed,
|
|
11879
|
+
Oc as ResponsesHeading,
|
|
11877
11880
|
Et as ResponsiveImage,
|
|
11878
|
-
|
|
11879
|
-
|
|
11880
|
-
|
|
11881
|
-
|
|
11881
|
+
Ll as ReturnToNavButton,
|
|
11882
|
+
qi as SearchForm,
|
|
11883
|
+
fu as ShareLinks,
|
|
11884
|
+
Vl as SignupForm,
|
|
11882
11885
|
Mr as Span,
|
|
11883
11886
|
Zt as StatusBanner,
|
|
11884
|
-
|
|
11885
|
-
|
|
11886
|
-
|
|
11887
|
-
|
|
11887
|
+
Jl as TableOfContents,
|
|
11888
|
+
mu as Tabs,
|
|
11889
|
+
gu as Tags,
|
|
11890
|
+
Ql as TestimonialBlock,
|
|
11888
11891
|
sr as TimeToComplete,
|
|
11889
|
-
|
|
11890
|
-
|
|
11891
|
-
|
|
11892
|
+
zl as Toggle,
|
|
11893
|
+
tc as Tooltip,
|
|
11894
|
+
hu as TopLevelPage,
|
|
11892
11895
|
Ae as UserContext,
|
|
11893
|
-
|
|
11896
|
+
Go as UserProvider,
|
|
11894
11897
|
be as VisuallyHidden,
|
|
11895
|
-
|
|
11898
|
+
Xo as addAriaProps,
|
|
11896
11899
|
ha as basicReducer,
|
|
11897
11900
|
Hs as camelCaseToDashCase,
|
|
11898
11901
|
er as checkIntlPathExists,
|
|
11899
11902
|
_n as generateConditions,
|
|
11900
|
-
|
|
11903
|
+
Gs as generateCssIcon,
|
|
11901
11904
|
ba as getLongDate,
|
|
11902
11905
|
ka as getMember,
|
|
11903
|
-
|
|
11906
|
+
Qs as getShortDate,
|
|
11904
11907
|
Xt as headerData,
|
|
11905
|
-
|
|
11906
|
-
|
|
11908
|
+
ku as mapGetStreamData,
|
|
11909
|
+
si as pageReady,
|
|
11907
11910
|
Tr as passwordValidator,
|
|
11908
|
-
|
|
11911
|
+
wu as repliesFeedMock,
|
|
11909
11912
|
Sn as supportedLanguages,
|
|
11910
11913
|
Vs as toCamelCase,
|
|
11911
11914
|
Ys as toSentenceCase,
|
|
11912
11915
|
Ws as useCurrentPath,
|
|
11913
11916
|
_t as useEffectAfterMount,
|
|
11914
11917
|
kt as useElementWidth,
|
|
11915
|
-
|
|
11918
|
+
Qo as useOverlay,
|
|
11916
11919
|
zs as useScrollListener,
|
|
11917
11920
|
Zs as useScrollToHash,
|
|
11918
11921
|
ar as useUser
|