@apolitical/component-library 3.3.1-beta.0 → 3.3.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -895,7 +895,7 @@ const _t = (t = !0, e = !1, n = "window") => {
895
895
  ARTICLE: "microcourseArticle",
896
896
  DISCUSSION: "microcourseDiscussion",
897
897
  QUIZ: "assessmentQuiz"
898
- }, kl = "200,000+";
898
+ }, Tl = "200,000+";
899
899
  function zi(t) {
900
900
  return t ? {
901
901
  "--icon": `url(${ze}icons/${t}.svg)`
@@ -1406,7 +1406,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1406
1406
  const e = document.querySelector(".splash-screen");
1407
1407
  e && e.remove(), window.prerenderReady = !0;
1408
1408
  }, t);
1409
- }, Xi = (t) => t.replace(/\s+/g, "").length > 0, Tl = (t) => {
1409
+ }, Xi = (t) => t.replace(/\s+/g, "").length > 0, El = (t) => {
1410
1410
  const e = t.length > 8, n = /[0-9]/.test(t) && /[`!@#$%^&*()_+\-=[\]{}£;':"\\|,.<>/?~]/.test(t), r = new RegExp("^(?=.*?[A-Z])(?=.*?[a-z])").test(t);
1411
1411
  return {
1412
1412
  isValid: e && n && r,
@@ -1624,7 +1624,7 @@ const wt = ({ image: t, className: e, testId: n }) => {
1624
1624
  )
1625
1625
  ] });
1626
1626
  };
1627
- const El = ({ image: t, className: e, testId: n }) => /* @__PURE__ */ a.jsx(
1627
+ const Sl = ({ image: t, className: e, testId: n }) => /* @__PURE__ */ a.jsx(
1628
1628
  "div",
1629
1629
  {
1630
1630
  className: `image-container ${e}`,
@@ -1647,7 +1647,7 @@ const El = ({ image: t, className: e, testId: n }) => /* @__PURE__ */ a.jsx(
1647
1647
  }
1648
1648
  return n ? Y.createElement(n, { children: e, className: r, ...c }) : /* @__PURE__ */ a.jsx(a.Fragment, { children: e });
1649
1649
  };
1650
- const Sl = ({ elementId: t, offset: e = 20 }) => {
1650
+ const Cl = ({ elementId: t, offset: e = 20 }) => {
1651
1651
  const n = K(), r = () => {
1652
1652
  const i = document.getElementById(t);
1653
1653
  if (!i)
@@ -1860,7 +1860,7 @@ const is = ({
1860
1860
  }
1861
1861
  ) : /* @__PURE__ */ a.jsx("p", { children: r })
1862
1862
  ] });
1863
- const Cl = ({
1863
+ const $l = ({
1864
1864
  className: t = "",
1865
1865
  show: e = !1,
1866
1866
  hide: n = !1,
@@ -1919,7 +1919,7 @@ const Cl = ({
1919
1919
  }
1920
1920
  );
1921
1921
  };
1922
- const $l = ({
1922
+ const Nl = ({
1923
1923
  element: t = "ul",
1924
1924
  layout: e = "vertical",
1925
1925
  variant: n = "default",
@@ -1944,7 +1944,7 @@ const $l = ({
1944
1944
  ] }, `dl-${l}`) : /* @__PURE__ */ a.jsx("li", { style: d, children: typeof f.text == "string" ? /* @__PURE__ */ a.jsx(Re, { options: u, children: f.text }) : f.text }, l);
1945
1945
  })
1946
1946
  });
1947
- }, ye = () => Y.Fragment, ss = ({ children: t }) => /* @__PURE__ */ a.jsx(Fe, { variant: "secondary", children: t }), os = ["span", "strong", "h1", "h2", "h3", "h4", "h5", "h6", "p"], cs = ({ children: t }) => {
1947
+ }, ye = () => Y.Fragment, ss = ({ children: t }) => /* @__PURE__ */ a.jsx(Fe, { variant: "secondary", children: t }), os = ({ 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 }), cs = ["span", "strong", "h1", "h2", "h3", "h4", "h5", "h6", "p"], ls = ({ children: t }) => {
1948
1948
  const e = K();
1949
1949
  if (!t)
1950
1950
  return null;
@@ -1959,7 +1959,7 @@ const $l = ({
1959
1959
  for (const o of Dn.toArray(s.props.children))
1960
1960
  if (!(!o || typeof o == "string" || typeof o == "number") && Y.isValidElement(o)) {
1961
1961
  const c = o.type;
1962
- if (os.includes(c)) {
1962
+ if (cs.includes(c)) {
1963
1963
  for (n = o.props.children; typeof n != "string" && (Array.isArray(n) && n[0].props && n[0].props.children && n[0].props.children[0]); )
1964
1964
  n = n[0].props.children[0];
1965
1965
  break;
@@ -1977,7 +1977,7 @@ const $l = ({
1977
1977
  children: r.map((s) => s)
1978
1978
  }
1979
1979
  );
1980
- }, ls = ({
1980
+ }, us = ({
1981
1981
  children: t,
1982
1982
  ...e
1983
1983
  }) => {
@@ -1996,7 +1996,7 @@ const $l = ({
1996
1996
  return /* @__PURE__ */ a.jsx("div", { ...e, children: t });
1997
1997
  }
1998
1998
  return /* @__PURE__ */ a.jsx("div", { ...e, children: t });
1999
- }, us = (t) => {
1999
+ }, ds = (t) => {
2000
2000
  const e = K(), n = Date.now().toString();
2001
2001
  let r = "default";
2002
2002
  const i = t.src;
@@ -2018,7 +2018,7 @@ const $l = ({
2018
2018
  }, Er = (t) => {
2019
2019
  let e = "";
2020
2020
  return t && typeof t != "string" && typeof t != "number" && typeof t != "boolean" && "type" in t && (e = t.type), e;
2021
- }, ds = ({
2021
+ }, fs = ({
2022
2022
  children: t,
2023
2023
  ...e
2024
2024
  }) => {
@@ -2036,10 +2036,10 @@ const $l = ({
2036
2036
  break;
2037
2037
  }
2038
2038
  return i ? (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 });
2039
- }, fs = ({ children: t }) => /* @__PURE__ */ a.jsx("span", { children: t });
2040
- const ms = {
2039
+ }, ms = ({ children: t }) => /* @__PURE__ */ a.jsx("span", { children: t });
2040
+ const ps = {
2041
2041
  default: {
2042
- a: ds,
2042
+ a: fs,
2043
2043
  // Override psuedo-code
2044
2044
  // We give the content team psuedo-code short cuts to use in Contentful
2045
2045
  CollapsibleSection: Kn,
@@ -2048,9 +2048,10 @@ const ms = {
2048
2048
  // Override embedded HTML
2049
2049
  // Our content team previously used real HTML, which we need to tear out and replace with React components
2050
2050
  style: ye,
2051
- details: cs,
2052
- div: ls,
2053
- iframe: us
2051
+ details: ls,
2052
+ div: us,
2053
+ iframe: ds,
2054
+ center: os
2054
2055
  },
2055
2056
  "text-only": {
2056
2057
  h1: ye,
@@ -2081,7 +2082,7 @@ const ms = {
2081
2082
  const o = {
2082
2083
  wrapper: Y.Fragment,
2083
2084
  forceBlock: !0,
2084
- overrides: ms[r]
2085
+ overrides: ps[r]
2085
2086
  };
2086
2087
  return /* @__PURE__ */ a.jsx(
2087
2088
  "div",
@@ -2093,7 +2094,7 @@ const ms = {
2093
2094
  }
2094
2095
  );
2095
2096
  };
2096
- const ps = ({
2097
+ const hs = ({
2097
2098
  maxWidth: t = !1,
2098
2099
  title: e,
2099
2100
  subtitle: n,
@@ -2134,12 +2135,12 @@ const Ut = ({
2134
2135
  },
2135
2136
  e
2136
2137
  );
2137
- const hs = ({ author: t, authorCite: e, content: n }) => /* @__PURE__ */ a.jsxs("blockquote", { className: "testimonial-block", children: [
2138
+ const gs = ({ author: t, authorCite: e, content: n }) => /* @__PURE__ */ a.jsxs("blockquote", { className: "testimonial-block", children: [
2138
2139
  /* @__PURE__ */ a.jsx(Re, { className: "testimonial", children: n }),
2139
2140
  t && /* @__PURE__ */ a.jsx("p", { className: "author text-small", children: t }),
2140
2141
  e && /* @__PURE__ */ a.jsx("p", { className: "author-cite text-small", children: /* @__PURE__ */ a.jsx("cite", { children: e }) })
2141
- ] }), Nl = Ae(hs);
2142
- const Pl = ({
2142
+ ] }), Pl = Ae(gs);
2143
+ const Ml = ({
2143
2144
  items: t = [],
2144
2145
  selector: e = "",
2145
2146
  className: n = ""
@@ -2208,7 +2209,7 @@ const Gn = ({
2208
2209
  return n && (l = `${n} ${l}`, f = `${n} ${f}`), r && (l = `${l} ${r}`, f = `${f} ${r}`), /* @__PURE__ */ a.jsx("span", { className: S("time-to-complete", i), "aria-label": l, children: f });
2209
2210
  };
2210
2211
  let ot = !1;
2211
- const gs = ({ isOpen: t = !1, isLoading: e = !1, children: n }) => {
2212
+ const vs = ({ isOpen: t = !1, isLoading: e = !1, children: n }) => {
2212
2213
  const r = K(), i = pe(null), [s, o] = te("hidden");
2213
2214
  ae(() => {
2214
2215
  const f = i.current;
@@ -2236,7 +2237,7 @@ const gs = ({ isOpen: t = !1, isLoading: e = !1, children: n }) => {
2236
2237
  }
2237
2238
  );
2238
2239
  };
2239
- const Ml = ({ className: t = "", image: e, ...n }) => e ? (typeof e == "string" && (e = {
2240
+ const Rl = ({ className: t = "", image: e, ...n }) => e ? (typeof e == "string" && (e = {
2240
2241
  width: 1080,
2241
2242
  height: 200,
2242
2243
  type: "image/png",
@@ -2271,7 +2272,7 @@ const We = ({
2271
2272
  }
2272
2273
  );
2273
2274
  };
2274
- const Rl = ({ text: t, buttons: e, className: n = "" }) => {
2275
+ const Fl = ({ text: t, buttons: e, className: n = "" }) => {
2275
2276
  const r = [];
2276
2277
  return e.forEach((i) => {
2277
2278
  r.push({
@@ -2296,13 +2297,13 @@ const Rl = ({ text: t, buttons: e, className: n = "" }) => {
2296
2297
  function ha({ href: t, setShowModal: e }) {
2297
2298
  typeof t != "string" && e(!0);
2298
2299
  }
2299
- const vs = ({ icon: t, description: e, ctaMessage: n, href: r, showEditButton: i, setShowModal: s }) => {
2300
+ const bs = ({ icon: t, description: e, ctaMessage: n, href: r, showEditButton: i, setShowModal: s }) => {
2300
2301
  const { formatMessage: o } = K();
2301
2302
  return /* @__PURE__ */ a.jsxs("div", { className: S("edit-section-placeholder", { "has-icon": !!t }), style: zi(t), children: [
2302
2303
  /* @__PURE__ */ a.jsx("p", { children: e || o({ id: "edit_section_placeholder_description" }) }),
2303
2304
  i && /* @__PURE__ */ a.jsx(ie, { href: r, variant: "secondary", size: "small", onClick: () => ha({ href: r, setShowModal: s }), children: n || o({ id: "edit_section_placeholder_cta" }) })
2304
2305
  ] });
2305
- }, Fl = ({
2306
+ }, Ol = ({
2306
2307
  children: t,
2307
2308
  className: e = "",
2308
2309
  formProps: n,
@@ -2342,11 +2343,11 @@ const vs = ({ icon: t, description: e, ctaMessage: n, href: r, showEditButton: i
2342
2343
  /* @__PURE__ */ a.jsx("h2", { className: "edit-section-header-title", children: i }),
2343
2344
  u && /* @__PURE__ */ a.jsx(ie, { href: r, variant: "tertiary", size: "small", icon: "pencil", onClick: () => ha({ href: r, setShowModal: l }), children: "Edit" })
2344
2345
  ] }),
2345
- t || /* @__PURE__ */ a.jsx(vs, { ...o, href: r, setShowModal: l, showEditButton: u }),
2346
+ t || /* @__PURE__ */ a.jsx(bs, { ...o, href: r, setShowModal: l, showEditButton: u }),
2346
2347
  c && /* @__PURE__ */ a.jsx(Oe, {})
2347
2348
  ] });
2348
2349
  };
2349
- const Ol = ({
2350
+ const Al = ({
2350
2351
  title: t = !1,
2351
2352
  logos: e = [],
2352
2353
  styling: n = {},
@@ -2403,7 +2404,7 @@ const Ol = ({
2403
2404
  }
2404
2405
  );
2405
2406
  };
2406
- const bs = [
2407
+ const ys = [
2407
2408
  "small",
2408
2409
  "span",
2409
2410
  "strong",
@@ -2417,7 +2418,7 @@ const bs = [
2417
2418
  "h6",
2418
2419
  "blockquote",
2419
2420
  "q"
2420
- ], ys = ({
2421
+ ], _s = ({
2421
2422
  className: t = "",
2422
2423
  content: e,
2423
2424
  image: n,
@@ -2441,7 +2442,7 @@ const bs = [
2441
2442
  if (typeof e[d] == "object") {
2442
2443
  u[d] = e[d];
2443
2444
  const { text: m, element: p } = e[d];
2444
- if (p && bs.includes(p.toLowerCase()))
2445
+ if (p && ys.includes(p.toLowerCase()))
2445
2446
  return;
2446
2447
  u[d] = {
2447
2448
  text: m,
@@ -2490,8 +2491,8 @@ const bs = [
2490
2491
  ] })
2491
2492
  }
2492
2493
  );
2493
- }, Al = Ae(ys);
2494
- const Dl = ({
2494
+ }, Dl = Ae(_s);
2495
+ const Ll = ({
2495
2496
  image: t,
2496
2497
  variant: e = "default",
2497
2498
  children: n,
@@ -2509,7 +2510,7 @@ const Dl = ({
2509
2510
  }
2510
2511
  );
2511
2512
  };
2512
- const _s = ({
2513
+ const xs = ({
2513
2514
  alignImage: t = "left",
2514
2515
  className: e,
2515
2516
  content: n,
@@ -2544,8 +2545,8 @@ const _s = ({
2544
2545
  }
2545
2546
  )
2546
2547
  ] });
2547
- }, Ll = Ae(_s);
2548
- const Il = ({
2548
+ }, Il = Ae(xs);
2549
+ const Bl = ({
2549
2550
  variant: t = "primary",
2550
2551
  button: e = null,
2551
2552
  title: n,
@@ -2566,7 +2567,7 @@ const Il = ({
2566
2567
  children: e.text
2567
2568
  }
2568
2569
  )
2569
- ] }), xs = ({ showDevTools: t = !0, children: e }) => {
2570
+ ] }), ws = ({ showDevTools: t = !0, children: e }) => {
2570
2571
  const n = new wi({
2571
2572
  // default options we would like on all queries can be overridden individually
2572
2573
  defaultOptions: {
@@ -2583,15 +2584,15 @@ const Il = ({
2583
2584
  t && /* @__PURE__ */ a.jsx(Ti, { initialIsOpen: !1 })
2584
2585
  ] });
2585
2586
  };
2586
- var ws = tn({ client: At });
2587
- function js(t) {
2587
+ var js = tn({ client: At });
2588
+ function ks(t) {
2588
2589
  var e = t.children, n = t.client, r = t.apiKey, i = t.options, s = yt(function() {
2589
2590
  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 && i && 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 && (At.__loaded && console.warn("[PostHog.js] was already loaded elsewhere. This may cause issues."), At.init(r, i)), At);
2590
2591
  }, [n, r]);
2591
- return Y.createElement(ws.Provider, { value: { client: s } }, e);
2592
+ return Y.createElement(js.Provider, { value: { client: s } }, e);
2592
2593
  }
2593
- const ks = ({ children: t, user: e }) => e.isLoading ? null : process.env.REACT_APP_PUBLIC_POSTHOG_KEY ? /* @__PURE__ */ a.jsx(
2594
- js,
2594
+ const Ts = ({ children: t, user: e }) => e.isLoading ? null : process.env.REACT_APP_PUBLIC_POSTHOG_KEY ? /* @__PURE__ */ a.jsx(
2595
+ ks,
2595
2596
  {
2596
2597
  apiKey: atob(process.env.REACT_APP_PUBLIC_POSTHOG_KEY),
2597
2598
  options: {
@@ -2609,7 +2610,7 @@ const ks = ({ children: t, user: e }) => e.isLoading ? null : process.env.REACT_
2609
2610
  },
2610
2611
  children: t
2611
2612
  }
2612
- ) : /* @__PURE__ */ a.jsx(a.Fragment, { children: t }), Ts = ({ children: t, locale: e, messages: n }) => {
2613
+ ) : /* @__PURE__ */ a.jsx(a.Fragment, { children: t }), Es = ({ children: t, locale: e, messages: n }) => {
2613
2614
  const r = e || "en", i = {
2614
2615
  ...Gi[r],
2615
2616
  ...n || {}
@@ -2624,7 +2625,7 @@ const ks = ({ children: t, user: e }) => e.isLoading ? null : process.env.REACT_
2624
2625
  function Qn() {
2625
2626
  return Te(De);
2626
2627
  }
2627
- const Es = ({ children: t, user: e }) => /* @__PURE__ */ a.jsx(De.Provider, { value: e, children: t }), Bl = ({ bootstrap: t, children: e, intl: n, showDevTools: r }) => {
2628
+ const Ss = ({ children: t, user: e }) => /* @__PURE__ */ a.jsx(De.Provider, { value: e, children: t }), ql = ({ bootstrap: t, children: e, intl: n, showDevTools: r }) => {
2628
2629
  const [i, s] = te({ isLoading: !0 }), o = (n == null ? void 0 : n.locale) || localStorage.getItem("language") || "en", [c, f] = te(o), l = (u) => {
2629
2630
  localStorage.setItem("language", u), f(u);
2630
2631
  };
@@ -2633,15 +2634,15 @@ const Es = ({ children: t, user: e }) => /* @__PURE__ */ a.jsx(De.Provider, { va
2633
2634
  s({ ...u, isLoading: !1 }), Ji(5e3);
2634
2635
  }).catch(() => s({ isLoading: !1 }));
2635
2636
  }, []), /* @__PURE__ */ a.jsx(ga.Provider, { value: { language: c, updateLanguage: l }, children: /* @__PURE__ */ a.jsx(
2636
- Ts,
2637
+ Es,
2637
2638
  {
2638
2639
  locale: c,
2639
2640
  messages: n == null ? void 0 : n.messages,
2640
- children: /* @__PURE__ */ a.jsx(Ei, { children: /* @__PURE__ */ a.jsx(Es, { user: i, children: /* @__PURE__ */ a.jsx(xs, { showDevTools: r, children: /* @__PURE__ */ a.jsx(ks, { user: i, children: e }) }) }) })
2641
+ children: /* @__PURE__ */ a.jsx(Ei, { children: /* @__PURE__ */ a.jsx(Ss, { user: i, children: /* @__PURE__ */ a.jsx(ws, { showDevTools: r, children: /* @__PURE__ */ a.jsx(Ts, { user: i, children: e }) }) }) })
2641
2642
  }
2642
2643
  ) });
2643
2644
  };
2644
- const Ss = ({
2645
+ const Cs = ({
2645
2646
  styling: t = {},
2646
2647
  progress: e = 0,
2647
2648
  text: n = !1,
@@ -2667,8 +2668,8 @@ const Ss = ({
2667
2668
  })
2668
2669
  }
2669
2670
  );
2670
- }, va = Ae(Ss);
2671
- const hn = "loadingBlock_", Cs = ({ progress: t = 0, steps: e = !1, className: n = "" }) => {
2671
+ }, va = Ae(Cs);
2672
+ const hn = "loadingBlock_", $s = ({ progress: t = 0, steps: e = !1, className: n = "" }) => {
2672
2673
  const r = K();
2673
2674
  e || (e = {
2674
2675
  0: { text: r.formatMessage({ id: `${hn}loading` }) },
@@ -2696,7 +2697,7 @@ const hn = "loadingBlock_", Cs = ({ progress: t = 0, steps: e = !1, className: n
2696
2697
  ]
2697
2698
  }
2698
2699
  );
2699
- }, ql = Ae(Cs);
2700
+ }, Ul = Ae($s);
2700
2701
  const Ee = ({ element: t = "div", className: e = "", ...n }) => /* @__PURE__ */ a.jsx(
2701
2702
  Vn,
2702
2703
  {
@@ -2757,7 +2758,7 @@ const qn = {
2757
2758
  }, ba = (t, e) => t in qn ? /* @__PURE__ */ a.jsx("div", { className: t, children: qn[t].map((n, r) => ba(n, r)) }, e) : /* @__PURE__ */ a.jsx(Ee, { className: t }, e), ya = ({ layout: t = "overview-page", ...e }) => /* @__PURE__ */ a.jsx("div", { className: S("loading-state", t), ...e, children: qn[t].map((n, r) => ba(n, r)) }), _a = (t) => {
2758
2759
  const e = t && t.toUpperCase().split(" ");
2759
2760
  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) : "";
2760
- }, Tt = ["#5AB6A3", "#A2D7AF", "#806056", "#3962B3"], $s = (t) => {
2761
+ }, Tt = ["#5AB6A3", "#A2D7AF", "#806056", "#3962B3"], Ns = (t) => {
2761
2762
  const e = Math.ceil(26 / Tt.length), n = _a(t).toLowerCase();
2762
2763
  if (n === "")
2763
2764
  return Tt[0];
@@ -2784,7 +2785,7 @@ const Sr = 256, He = ({
2784
2785
  if (!m)
2785
2786
  return;
2786
2787
  const p = i, g = s;
2787
- typeof window < "u" && window.devicePixelRatio && (d.width = p * window.devicePixelRatio, d.height = g * window.devicePixelRatio, m.scale(window.devicePixelRatio, window.devicePixelRatio)), m.fillStyle = $s(n), m.fillRect(0, 0, p, g), m.font = `${p / 3}px Arial`, m.textAlign = "center", m.fillStyle = "white", m.fillText(_a(n), p / 2, g / 1.6);
2788
+ typeof window < "u" && window.devicePixelRatio && (d.width = p * window.devicePixelRatio, d.height = g * window.devicePixelRatio, m.scale(window.devicePixelRatio, window.devicePixelRatio)), m.fillStyle = Ns(n), m.fillRect(0, 0, p, g), m.font = `${p / 3}px Arial`, m.textAlign = "center", m.fillStyle = "white", m.fillText(_a(n), p / 2, g / 1.6);
2788
2789
  }, [n]);
2789
2790
  let u = !1;
2790
2791
  return e && e !== "" && !c && (e.includes("http") || e.includes("//")) && (u = !0), /* @__PURE__ */ a.jsx(
@@ -2817,7 +2818,7 @@ const Sr = 256, He = ({
2817
2818
  country: t.location && t.location.country || "",
2818
2819
  url: `/profiles/${t.id}`,
2819
2820
  image: t.image && t.image.thumbnail
2820
- }, Ns = ({
2821
+ }, Ps = ({
2821
2822
  role: t = "",
2822
2823
  organisation: e = "",
2823
2824
  country: n = "",
@@ -2842,7 +2843,7 @@ const Jn = ({
2842
2843
  c.name || (c.name = o.formatMessage({
2843
2844
  id: `member_${typeof e == "string" ? e : "community"}`
2844
2845
  }));
2845
- const { name: f, url: l, image: u } = c, d = Ns(c), m = n && n.createdAt ? In(n.createdAt) : !1, p = n && n.createdAt ? ma(n.createdAt) : "";
2846
+ const { name: f, url: l, image: u } = c, d = Ps(c), m = n && n.createdAt ? In(n.createdAt) : !1, p = n && n.createdAt ? ma(n.createdAt) : "";
2846
2847
  return Y.createElement(t, {
2847
2848
  className: S("member text-medium", s),
2848
2849
  children: /* @__PURE__ */ a.jsxs(
@@ -2928,7 +2929,7 @@ const Cr = {
2928
2929
  ] })
2929
2930
  });
2930
2931
  };
2931
- const Et = "emailHelperTextBox_", Ps = ({
2932
+ const Et = "emailHelperTextBox_", Ms = ({
2932
2933
  type: t,
2933
2934
  email: e,
2934
2935
  redirectPath: n,
@@ -3103,7 +3104,7 @@ const Ke = {
3103
3104
  UP: "ArrowUp",
3104
3105
  DOWN: "ArrowDown",
3105
3106
  ENTER: "Enter"
3106
- }, Ms = 500, Rs = ({
3107
+ }, Rs = 500, Fs = ({
3107
3108
  value: t,
3108
3109
  placeholder: e,
3109
3110
  functions: n = {
@@ -3127,7 +3128,7 @@ const Ke = {
3127
3128
  e || (e = p({ id: "inputAutocomplete_placeholder" })), ae(() => {
3128
3129
  const v = setTimeout(() => {
3129
3130
  d || f((y) => ({ ...y, debouncedInput: s }));
3130
- }, Ms);
3131
+ }, Rs);
3131
3132
  return () => {
3132
3133
  clearTimeout(v);
3133
3134
  };
@@ -3226,7 +3227,7 @@ const ja = ({
3226
3227
  b
3227
3228
  );
3228
3229
  };
3229
- const Fs = Ae(function({
3230
+ const Os = Ae(function({
3230
3231
  direction: e = "down"
3231
3232
  }) {
3232
3233
  return /* @__PURE__ */ a.jsx(
@@ -3236,7 +3237,7 @@ const Fs = Ae(function({
3236
3237
  }
3237
3238
  );
3238
3239
  });
3239
- const Os = ({
3240
+ const As = ({
3240
3241
  className: t,
3241
3242
  options: e,
3242
3243
  initialValue: n,
@@ -3283,7 +3284,7 @@ const Os = ({
3283
3284
  ...k,
3284
3285
  children: [
3285
3286
  c ? `${o} · ${_.length}` : v.label,
3286
- /* @__PURE__ */ a.jsx(Fs, { direction: d ? "up" : "down" })
3287
+ /* @__PURE__ */ a.jsx(Os, { direction: d ? "up" : "down" })
3287
3288
  ]
3288
3289
  }
3289
3290
  ),
@@ -3381,7 +3382,7 @@ const Os = ({
3381
3382
  )
3382
3383
  ] });
3383
3384
  };
3384
- const As = ({
3385
+ const Ds = ({
3385
3386
  className: t = "",
3386
3387
  functions: e = { onChange: () => {
3387
3388
  } },
@@ -3446,7 +3447,7 @@ const As = ({
3446
3447
  }
3447
3448
  );
3448
3449
  };
3449
- const Ds = ({
3450
+ const Ls = ({
3450
3451
  inputRef: t,
3451
3452
  type: e = "password",
3452
3453
  gtm: { context: n } = { context: void 0 },
@@ -3483,11 +3484,11 @@ const Ge = {
3483
3484
  email: { component: pt },
3484
3485
  textarea: { component: pt, props: { element: "textarea", rows: 4, cols: 10 } },
3485
3486
  checkbox: { component: ja },
3486
- checkboxes: { component: As, props: { multiSelect: !0 } },
3487
- select: { component: Os },
3488
- password: { component: Ds },
3489
- autocomplete: { component: Rs }
3490
- }, Ls = ({
3487
+ checkboxes: { component: Ds, props: { multiSelect: !0 } },
3488
+ select: { component: As },
3489
+ password: { component: Ls },
3490
+ autocomplete: { component: Fs }
3491
+ }, Is = ({
3491
3492
  id: t,
3492
3493
  intlPath: e = !1,
3493
3494
  className: n = "",
@@ -3577,7 +3578,7 @@ const Ge = {
3577
3578
  ] }),
3578
3579
  /* @__PURE__ */ a.jsx(y, {})
3579
3580
  ] });
3580
- }, Is = (t, e) => {
3581
+ }, Bs = (t, e) => {
3581
3582
  const { type: n, payload: r } = e, i = t.errors ? mt(t.errors) : {}, s = t.values ? mt(t.values) : {};
3582
3583
  switch (n) {
3583
3584
  case "toggleSubmitting":
@@ -3729,7 +3730,7 @@ const Xn = ({
3729
3730
  const Z = L.id || L.name;
3730
3731
  Z && (D[Z] = L.value || "");
3731
3732
  });
3732
- const [R, W] = Wn(Is, {
3733
+ const [R, W] = Wn(Bs, {
3733
3734
  isSubmitting: !1,
3734
3735
  formSubmitted: !1,
3735
3736
  errors: {},
@@ -3859,7 +3860,7 @@ const Xn = ({
3859
3860
  return /* @__PURE__ */ a.jsx(T, { ...L.props || {} }, `component-${J}-${Z}`);
3860
3861
  const z = E ? E[J] : "";
3861
3862
  return /* @__PURE__ */ a.jsx(
3862
- Ls,
3863
+ Is,
3863
3864
  {
3864
3865
  intlPath: i,
3865
3866
  ...L,
@@ -3892,11 +3893,11 @@ const Xn = ({
3892
3893
  u && C && /* @__PURE__ */ a.jsx(Ut, { className: "success", children: typeof u == "string" ? u : x.formatMessage({ id: "form_success" }) })
3893
3894
  ] });
3894
3895
  };
3895
- const St = "passwordRules_", ka = "isMoreThanEightCharacters", Ta = "includesNumberAndSymbol", Ea = "includesLowerAndUppercase", Bs = {
3896
+ const St = "passwordRules_", ka = "isMoreThanEightCharacters", Ta = "includesNumberAndSymbol", Ea = "includesLowerAndUppercase", qs = {
3896
3897
  [ka]: "8Characters",
3897
3898
  [Ta]: "numberSymbol",
3898
3899
  [Ea]: "lowercaseUppercase"
3899
- }, qs = ({
3900
+ }, Us = ({
3900
3901
  matchingRules: t = {
3901
3902
  isMoreThanEightCharacters: !1,
3902
3903
  includesNumberAndSymbol: !1,
@@ -3917,7 +3918,7 @@ const St = "passwordRules_", ka = "isMoreThanEightCharacters", Ta = "includesNum
3917
3918
  n.formatMessage({ id: `${St}rule_label` }),
3918
3919
  " "
3919
3920
  ] }),
3920
- /* @__PURE__ */ a.jsx("span", { children: n.formatMessage({ id: `${St}rule_${Bs[r]}` }) }),
3921
+ /* @__PURE__ */ a.jsx("span", { children: n.formatMessage({ id: `${St}rule_${qs[r]}` }) }),
3921
3922
  !t[r] && /* @__PURE__ */ a.jsxs(be, { element: "strong", children: [
3922
3923
  " ",
3923
3924
  n.formatMessage({ id: `${St}notMet` })
@@ -3928,8 +3929,8 @@ const St = "passwordRules_", ka = "isMoreThanEightCharacters", Ta = "includesNum
3928
3929
  )
3929
3930
  ) })
3930
3931
  ] });
3931
- }, Ul = Ae(qs);
3932
- const zl = ({
3932
+ }, zl = Ae(Us);
3933
+ const Zl = ({
3933
3934
  text: t = {},
3934
3935
  topRating: e = 5,
3935
3936
  functions: {
@@ -4014,7 +4015,7 @@ const zl = ({
4014
4015
  }) })
4015
4016
  ] });
4016
4017
  };
4017
- const Zl = ({
4018
+ const Wl = ({
4018
4019
  id: t = "form-toggle",
4019
4020
  label: e,
4020
4021
  options: n,
@@ -4073,7 +4074,7 @@ const Zl = ({
4073
4074
  }
4074
4075
  );
4075
4076
  };
4076
- function Wl({ className: t = "", userId: e, userName: n, src: r, setUserImage: i, uploadImage: s }) {
4077
+ function Hl({ className: t = "", userId: e, userName: n, src: r, setUserImage: i, uploadImage: s }) {
4077
4078
  const [o, c] = te(!1), [f, l] = te(!1), u = pe(null), d = async (m) => {
4078
4079
  c(!0), l(!1);
4079
4080
  try {
@@ -4124,7 +4125,7 @@ function Wl({ className: t = "", userId: e, userName: n, src: r, setUserImage: i
4124
4125
  )
4125
4126
  ] });
4126
4127
  }
4127
- const Us = ({
4128
+ const zs = ({
4128
4129
  gtm: t,
4129
4130
  functions: { onSuccess: e = async () => {
4130
4131
  }, onFailure: n = () => {
@@ -4172,7 +4173,7 @@ const Us = ({
4172
4173
  }
4173
4174
  );
4174
4175
  };
4175
- const zs = ({
4176
+ const Zs = ({
4176
4177
  title: t,
4177
4178
  label: e,
4178
4179
  ctaMessage: n,
@@ -4265,7 +4266,7 @@ const zs = ({
4265
4266
  }
4266
4267
  ) });
4267
4268
  };
4268
- const Zs = ({
4269
+ const Ws = ({
4269
4270
  id: t = "search",
4270
4271
  className: e = "",
4271
4272
  handleToggle: n = !1,
@@ -4377,7 +4378,7 @@ const Zs = ({
4377
4378
  },
4378
4379
  { type: "validFields.email", value: !0 }
4379
4380
  ]);
4380
- }, Ws = (t) => {
4381
+ }, Hs = (t) => {
4381
4382
  const e = {};
4382
4383
  for (const n of t.entries())
4383
4384
  e[n[0]] = n[1];
@@ -4393,7 +4394,7 @@ const Zs = ({
4393
4394
  page: window.location.pathname,
4394
4395
  "g-recaptcha-response": e["g-recaptcha-response"]
4395
4396
  };
4396
- }, Hs = async ({
4397
+ }, Vs = async ({
4397
4398
  refs: t,
4398
4399
  dataToSubmit: e,
4399
4400
  createAccount: n,
@@ -4407,9 +4408,9 @@ const Zs = ({
4407
4408
  t.hiddenValidation && t.hiddenValidation.current && t.hiddenValidation.current.click();
4408
4409
  return;
4409
4410
  }
4410
- const o = Ws(new FormData(t.form.current)), c = Object.assign(o, e);
4411
+ const o = Hs(new FormData(t.form.current)), c = Object.assign(o, e);
4411
4412
  await n(c), localStorage.setItem("email", o.email), r && r({ ...o, ...s.values }), i([{ type: "showSuccessMessage", value: !0 }]);
4412
- }, Vs = ({
4413
+ }, Ys = ({
4413
4414
  shouldShow: t,
4414
4415
  functions: { validateEmail: e, resendVerificationCode: n },
4415
4416
  refs: r,
@@ -4459,7 +4460,7 @@ const Zs = ({
4459
4460
  "data-testid": "signup-email-input"
4460
4461
  },
4461
4462
  {
4462
- component: Ps,
4463
+ component: Ms,
4463
4464
  props: {
4464
4465
  email: f.email,
4465
4466
  type: f.boxType,
@@ -4566,7 +4567,7 @@ const Zs = ({
4566
4567
  "data-testid": "signup-terms-checkbox"
4567
4568
  }), u;
4568
4569
  };
4569
- const Ys = ({ className: t = "" }) => /* @__PURE__ */ a.jsxs(
4570
+ const Ks = ({ className: t = "" }) => /* @__PURE__ */ a.jsxs(
4570
4571
  "div",
4571
4572
  {
4572
4573
  className: S("success-message", t),
@@ -4585,7 +4586,7 @@ const Ys = ({ className: t = "" }) => /* @__PURE__ */ a.jsxs(
4585
4586
  ]
4586
4587
  }
4587
4588
  );
4588
- const Ks = {
4589
+ const Gs = {
4589
4590
  validFields: {
4590
4591
  name: !1,
4591
4592
  email: !1,
@@ -4597,7 +4598,7 @@ const Ks = {
4597
4598
  loadRecaptcha: !1,
4598
4599
  showSuccessMessage: !1,
4599
4600
  showError: !1
4600
- }, Hl = ({
4601
+ }, Vl = ({
4601
4602
  className: t = "",
4602
4603
  functions: e = {
4603
4604
  validateEmail: () => Promise.resolve(),
@@ -4618,7 +4619,7 @@ const Ks = {
4618
4619
  dataToSubmit: i = { ref: "sign-up-form" },
4619
4620
  ...s
4620
4621
  }) => {
4621
- const o = K(), [c, f] = Wn(ua, Ks), {
4622
+ const o = K(), [c, f] = Wn(ua, Gs), {
4622
4623
  validFields: l,
4623
4624
  emailDetails: u,
4624
4625
  shouldManuallyApprove: d,
@@ -4649,7 +4650,7 @@ const Ks = {
4649
4650
  s.showSuccessMessage || _("signup-this-session", "true", j);
4650
4651
  }
4651
4652
  }, [m]);
4652
- const v = yt(() => Vs({
4653
+ const v = yt(() => Ys({
4653
4654
  shouldShow: n,
4654
4655
  functions: e,
4655
4656
  refs: b,
@@ -4658,7 +4659,7 @@ const Ks = {
4658
4659
  dataToSubmit: i,
4659
4660
  intl: o
4660
4661
  }), [i, e, o, b, n, c]), y = d ? !Object.values(l).every((j) => j === !0) : !l.name || !l.email || ["exists", "pending", "verify"].includes(u.boxType);
4661
- return n.successMessage && m ? /* @__PURE__ */ a.jsx(Ys, { className: t }) : /* @__PURE__ */ a.jsxs(
4662
+ return n.successMessage && m ? /* @__PURE__ */ a.jsx(Ks, { className: t }) : /* @__PURE__ */ a.jsxs(
4662
4663
  "fieldset",
4663
4664
  {
4664
4665
  className: S("signup-form-fieldset", t),
@@ -4698,7 +4699,7 @@ const Ks = {
4698
4699
  },
4699
4700
  functions: {
4700
4701
  onSuccess: async () => {
4701
- Hs({
4702
+ Vs({
4702
4703
  refs: b,
4703
4704
  dataToSubmit: i,
4704
4705
  createAccount: e.createAccount,
@@ -4744,7 +4745,7 @@ var Un = { exports: {} }, Ct = { exports: {} }, ue = {};
4744
4745
  * LICENSE file in the root directory of this source tree.
4745
4746
  */
4746
4747
  var Nr;
4747
- function Gs() {
4748
+ function Qs() {
4748
4749
  if (Nr)
4749
4750
  return ue;
4750
4751
  Nr = 1;
@@ -4820,7 +4821,7 @@ var de = {};
4820
4821
  * LICENSE file in the root directory of this source tree.
4821
4822
  */
4822
4823
  var Pr;
4823
- function Qs() {
4824
+ function Js() {
4824
4825
  return Pr || (Pr = 1, process.env.NODE_ENV !== "production" && function() {
4825
4826
  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, i = t ? Symbol.for("react.strict_mode") : 60108, s = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, f = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, m = t ? Symbol.for("react.suspense_list") : 60120, p = t ? Symbol.for("react.memo") : 60115, g = t ? Symbol.for("react.lazy") : 60116, _ = t ? Symbol.for("react.block") : 60121, b = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
4826
4827
  function j(A) {
@@ -4904,7 +4905,7 @@ function Qs() {
4904
4905
  }
4905
4906
  var Mr;
4906
4907
  function Sa() {
4907
- return Mr || (Mr = 1, process.env.NODE_ENV === "production" ? Ct.exports = Gs() : Ct.exports = Qs()), Ct.exports;
4908
+ return Mr || (Mr = 1, process.env.NODE_ENV === "production" ? Ct.exports = Qs() : Ct.exports = Js()), Ct.exports;
4908
4909
  }
4909
4910
  /*
4910
4911
  object-assign
@@ -4912,7 +4913,7 @@ object-assign
4912
4913
  @license MIT
4913
4914
  */
4914
4915
  var vn, Rr;
4915
- function Js() {
4916
+ function Xs() {
4916
4917
  if (Rr)
4917
4918
  return vn;
4918
4919
  Rr = 1;
@@ -4971,7 +4972,7 @@ function Ca() {
4971
4972
  return Or || (Or = 1, yn = Function.call.bind(Object.prototype.hasOwnProperty)), yn;
4972
4973
  }
4973
4974
  var _n, Ar;
4974
- function Xs() {
4975
+ function eo() {
4975
4976
  if (Ar)
4976
4977
  return _n;
4977
4978
  Ar = 1;
@@ -5021,11 +5022,11 @@ function Xs() {
5021
5022
  }, _n = i, _n;
5022
5023
  }
5023
5024
  var xn, Dr;
5024
- function eo() {
5025
+ function to() {
5025
5026
  if (Dr)
5026
5027
  return xn;
5027
5028
  Dr = 1;
5028
- var t = Sa(), e = Js(), n = er(), r = Ca(), i = Xs(), s = function() {
5029
+ var t = Sa(), e = Xs(), n = er(), r = Ca(), i = eo(), s = function() {
5029
5030
  };
5030
5031
  process.env.NODE_ENV !== "production" && (s = function(c) {
5031
5032
  var f = "Warning: " + c;
@@ -5343,7 +5344,7 @@ Valid keys: ` + JSON.stringify(Object.keys(T), null, " ")
5343
5344
  }, xn;
5344
5345
  }
5345
5346
  var wn, Lr;
5346
- function to() {
5347
+ function no() {
5347
5348
  if (Lr)
5348
5349
  return wn;
5349
5350
  Lr = 1;
@@ -5392,11 +5393,11 @@ function to() {
5392
5393
  }, wn;
5393
5394
  }
5394
5395
  if (process.env.NODE_ENV !== "production") {
5395
- var no = Sa(), ro = !0;
5396
- Un.exports = eo()(no.isElement, ro);
5396
+ var ro = Sa(), ao = !0;
5397
+ Un.exports = to()(ro.isElement, ao);
5397
5398
  } else
5398
- Un.exports = to()();
5399
- var ao = Un.exports;
5399
+ Un.exports = no()();
5400
+ var io = Un.exports;
5400
5401
  /*!
5401
5402
  * tabbable 6.2.0
5402
5403
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
@@ -5412,7 +5413,7 @@ var $a = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
5412
5413
  n === void 0 && (n = !0);
5413
5414
  var i = e == null || (r = e.getAttribute) === null || r === void 0 ? void 0 : r.call(e, "inert"), s = i === "" || i === "true", o = s || n && e && t(e.parentNode);
5414
5415
  return o;
5415
- }, io = function(e) {
5416
+ }, so = function(e) {
5416
5417
  var n, r = e == null || (n = e.getAttribute) === null || n === void 0 ? void 0 : n.call(e, "contenteditable");
5417
5418
  return r === "" || r === "true";
5418
5419
  }, Pa = function(e, n, r) {
@@ -5451,26 +5452,26 @@ var $a = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
5451
5452
  }, Le = function(e) {
5452
5453
  if (!e)
5453
5454
  throw new Error("No node provided");
5454
- return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || io(e)) && !Ra(e) ? 0 : e.tabIndex;
5455
- }, so = function(e, n) {
5455
+ return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || so(e)) && !Ra(e) ? 0 : e.tabIndex;
5456
+ }, oo = function(e, n) {
5456
5457
  var r = Le(e);
5457
5458
  return r < 0 && n && !Ra(e) ? 0 : r;
5458
- }, oo = function(e, n) {
5459
+ }, co = function(e, n) {
5459
5460
  return e.tabIndex === n.tabIndex ? e.documentOrder - n.documentOrder : e.tabIndex - n.tabIndex;
5460
5461
  }, Fa = function(e) {
5461
5462
  return e.tagName === "INPUT";
5462
- }, co = function(e) {
5463
- return Fa(e) && e.type === "hidden";
5464
5463
  }, lo = function(e) {
5464
+ return Fa(e) && e.type === "hidden";
5465
+ }, uo = function(e) {
5465
5466
  var n = e.tagName === "DETAILS" && Array.prototype.slice.apply(e.children).some(function(r) {
5466
5467
  return r.tagName === "SUMMARY";
5467
5468
  });
5468
5469
  return n;
5469
- }, uo = function(e, n) {
5470
+ }, fo = function(e, n) {
5470
5471
  for (var r = 0; r < e.length; r++)
5471
5472
  if (e[r].checked && e[r].form === n)
5472
5473
  return e[r];
5473
- }, fo = function(e) {
5474
+ }, mo = function(e) {
5474
5475
  if (!e.name)
5475
5476
  return !0;
5476
5477
  var n = e.form || Zt(e), r = function(c) {
@@ -5484,13 +5485,13 @@ var $a = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
5484
5485
  } catch (o) {
5485
5486
  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;
5486
5487
  }
5487
- var s = uo(i, e.form);
5488
+ var s = fo(i, e.form);
5488
5489
  return !s || s === e;
5489
- }, mo = function(e) {
5490
- return Fa(e) && e.type === "radio";
5491
5490
  }, po = function(e) {
5492
- return mo(e) && !fo(e);
5491
+ return Fa(e) && e.type === "radio";
5493
5492
  }, ho = function(e) {
5493
+ return po(e) && !mo(e);
5494
+ }, go = function(e) {
5494
5495
  var n, r = e && Zt(e), i = (n = r) === null || n === void 0 ? void 0 : n.host, s = !1;
5495
5496
  if (r && r !== e) {
5496
5497
  var o, c, f;
@@ -5503,7 +5504,7 @@ var $a = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
5503
5504
  }, Ir = function(e) {
5504
5505
  var n = e.getBoundingClientRect(), r = n.width, i = n.height;
5505
5506
  return r === 0 && i === 0;
5506
- }, go = function(e, n) {
5507
+ }, vo = function(e, n) {
5507
5508
  var r = n.displayCheck, i = n.getShadowRoot;
5508
5509
  if (getComputedStyle(e).visibility === "hidden")
5509
5510
  return !0;
@@ -5520,14 +5521,14 @@ var $a = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
5520
5521
  }
5521
5522
  e = c;
5522
5523
  }
5523
- if (ho(e))
5524
+ if (go(e))
5524
5525
  return !e.getClientRects().length;
5525
5526
  if (r !== "legacy-full")
5526
5527
  return !0;
5527
5528
  } else if (r === "non-zero-area")
5528
5529
  return Ir(e);
5529
5530
  return !1;
5530
- }, vo = function(e) {
5531
+ }, bo = function(e) {
5531
5532
  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))
5532
5533
  for (var n = e.parentElement; n; ) {
5533
5534
  if (n.tagName === "FIELDSET" && n.disabled) {
@@ -5545,17 +5546,17 @@ var $a = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
5545
5546
  return !(n.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
5546
5547
  // because we're limited in the type of selectors we can use in JSDom (see related
5547
5548
  // note related to `candidateSelectors`)
5548
- Wt(n) || co(n) || go(n, e) || // For a details element with a summary, the summary element gets the focus
5549
- lo(n) || vo(n));
5549
+ Wt(n) || lo(n) || vo(n, e) || // For a details element with a summary, the summary element gets the focus
5550
+ uo(n) || bo(n));
5550
5551
  }, zn = function(e, n) {
5551
- return !(po(n) || Le(n) < 0 || !Ht(e, n));
5552
- }, bo = function(e) {
5552
+ return !(ho(n) || Le(n) < 0 || !Ht(e, n));
5553
+ }, yo = function(e) {
5553
5554
  var n = parseInt(e.getAttribute("tabindex"), 10);
5554
5555
  return !!(isNaN(n) || n >= 0);
5555
- }, yo = function t(e) {
5556
+ }, _o = function t(e) {
5556
5557
  var n = [], r = [];
5557
5558
  return e.forEach(function(i, s) {
5558
- var o = !!i.scopeParent, c = o ? i.scopeParent : i, f = so(c, o), l = o ? t(i.candidates) : c;
5559
+ var o = !!i.scopeParent, c = o ? i.scopeParent : i, f = oo(c, o), l = o ? t(i.candidates) : c;
5559
5560
  f === 0 ? o ? n.push.apply(n, l) : n.push(c) : r.push({
5560
5561
  documentOrder: s,
5561
5562
  tabIndex: f,
@@ -5563,7 +5564,7 @@ var $a = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
5563
5564
  isScope: o,
5564
5565
  content: l
5565
5566
  });
5566
- }), r.sort(oo).reduce(function(i, s) {
5567
+ }), r.sort(co).reduce(function(i, s) {
5567
5568
  return s.isScope ? i.push.apply(i, s.content) : i.push(s.content), i;
5568
5569
  }, []).concat(n);
5569
5570
  }, Oa = function(e, n) {
@@ -5573,8 +5574,8 @@ var $a = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
5573
5574
  filter: zn.bind(null, n),
5574
5575
  flatten: !1,
5575
5576
  getShadowRoot: n.getShadowRoot,
5576
- shadowRootFilter: bo
5577
- }) : r = Pa(e, n.includeContainer, zn.bind(null, n)), yo(r);
5577
+ shadowRootFilter: yo
5578
+ }) : r = Pa(e, n.includeContainer, zn.bind(null, n)), _o(r);
5578
5579
  }, Aa = function(e, n) {
5579
5580
  n = n || {};
5580
5581
  var r;
@@ -5587,12 +5588,12 @@ var $a = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
5587
5588
  if (n = n || {}, !e)
5588
5589
  throw new Error("No node provided");
5589
5590
  return Ze.call(e, zt) === !1 ? !1 : zn(n, e);
5590
- }, _o = /* @__PURE__ */ $a.concat("iframe").join(","), Lt = function(e, n) {
5591
+ }, xo = /* @__PURE__ */ $a.concat("iframe").join(","), Lt = function(e, n) {
5591
5592
  if (n = n || {}, !e)
5592
5593
  throw new Error("No node provided");
5593
- return Ze.call(e, _o) === !1 ? !1 : Ht(n, e);
5594
+ return Ze.call(e, xo) === !1 ? !1 : Ht(n, e);
5594
5595
  };
5595
- const xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5596
+ const wo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5596
5597
  __proto__: null,
5597
5598
  focusable: Aa,
5598
5599
  getTabIndex: Le,
@@ -5618,22 +5619,22 @@ function qr(t) {
5618
5619
  for (var e = 1; e < arguments.length; e++) {
5619
5620
  var n = arguments[e] != null ? arguments[e] : {};
5620
5621
  e % 2 ? Br(Object(n), !0).forEach(function(r) {
5621
- wo(t, r, n[r]);
5622
+ jo(t, r, n[r]);
5622
5623
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Br(Object(n)).forEach(function(r) {
5623
5624
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
5624
5625
  });
5625
5626
  }
5626
5627
  return t;
5627
5628
  }
5628
- function wo(t, e, n) {
5629
- return e = ko(e), e in t ? Object.defineProperty(t, e, {
5629
+ function jo(t, e, n) {
5630
+ return e = To(e), e in t ? Object.defineProperty(t, e, {
5630
5631
  value: n,
5631
5632
  enumerable: !0,
5632
5633
  configurable: !0,
5633
5634
  writable: !0
5634
5635
  }) : t[e] = n, t;
5635
5636
  }
5636
- function jo(t, e) {
5637
+ function ko(t, e) {
5637
5638
  if (typeof t != "object" || t === null)
5638
5639
  return t;
5639
5640
  var n = t[Symbol.toPrimitive];
@@ -5645,8 +5646,8 @@ function jo(t, e) {
5645
5646
  }
5646
5647
  return (e === "string" ? String : Number)(t);
5647
5648
  }
5648
- function ko(t) {
5649
- var e = jo(t, "string");
5649
+ function To(t) {
5650
+ var e = ko(t, "string");
5650
5651
  return typeof e == "symbol" ? e : String(e);
5651
5652
  }
5652
5653
  var Ur = {
@@ -5662,15 +5663,15 @@ var Ur = {
5662
5663
  var r = e.indexOf(n);
5663
5664
  r !== -1 && e.splice(r, 1), e.length > 0 && e[e.length - 1].unpause();
5664
5665
  }
5665
- }, To = function(e) {
5666
- return e.tagName && e.tagName.toLowerCase() === "input" && typeof e.select == "function";
5667
5666
  }, Eo = function(e) {
5667
+ return e.tagName && e.tagName.toLowerCase() === "input" && typeof e.select == "function";
5668
+ }, So = function(e) {
5668
5669
  return (e == null ? void 0 : e.key) === "Escape" || (e == null ? void 0 : e.key) === "Esc" || (e == null ? void 0 : e.keyCode) === 27;
5669
5670
  }, ht = function(e) {
5670
5671
  return (e == null ? void 0 : e.key) === "Tab" || (e == null ? void 0 : e.keyCode) === 9;
5671
- }, So = function(e) {
5672
- return ht(e) && !e.shiftKey;
5673
5672
  }, Co = function(e) {
5673
+ return ht(e) && !e.shiftKey;
5674
+ }, $o = function(e) {
5674
5675
  return ht(e) && e.shiftKey;
5675
5676
  }, zr = function(e) {
5676
5677
  return setTimeout(e, 0);
@@ -5685,13 +5686,13 @@ var Ur = {
5685
5686
  return typeof e == "function" ? e.apply(void 0, r) : e;
5686
5687
  }, $t = function(e) {
5687
5688
  return e.target.shadowRoot && typeof e.composedPath == "function" ? e.composedPath()[0] : e.target;
5688
- }, $o = [], No = function(e, n) {
5689
- var r = (n == null ? void 0 : n.document) || document, i = (n == null ? void 0 : n.trapStack) || $o, s = qr({
5689
+ }, No = [], Po = function(e, n) {
5690
+ var r = (n == null ? void 0 : n.document) || document, i = (n == null ? void 0 : n.trapStack) || No, s = qr({
5690
5691
  returnFocusOnDeactivate: !0,
5691
5692
  escapeDeactivates: !0,
5692
5693
  delayInitialFocus: !0,
5693
- isKeyForward: So,
5694
- isKeyBackward: Co
5694
+ isKeyForward: Co,
5695
+ isKeyBackward: $o
5695
5696
  }, n), o = {
5696
5697
  // containers given to createFocusTrap()
5697
5698
  // @type {Array<HTMLElement>}
@@ -5839,7 +5840,7 @@ var Ur = {
5839
5840
  }
5840
5841
  E.focus({
5841
5842
  preventScroll: !!s.preventScroll
5842
- }), o.mostRecentlyFocusedNode = E, To(E) && E.select();
5843
+ }), o.mostRecentlyFocusedNode = E, Eo(E) && E.select();
5843
5844
  }
5844
5845
  }, _ = function(E) {
5845
5846
  var w = u("setReturnFocus", E);
@@ -5934,7 +5935,7 @@ var Ur = {
5934
5935
  });
5935
5936
  $ && (ht(E) && E.preventDefault(), g($));
5936
5937
  }, k = function(E) {
5937
- if (Eo(E) && ct(s.escapeDeactivates, E) !== !1) {
5938
+ if (So(E) && ct(s.escapeDeactivates, E) !== !1) {
5938
5939
  E.preventDefault(), c.deactivate();
5939
5940
  return;
5940
5941
  }
@@ -6033,10 +6034,10 @@ var Ur = {
6033
6034
  }
6034
6035
  }, c.updateContainerElements(e), c;
6035
6036
  };
6036
- const Po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6037
+ const Mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6037
6038
  __proto__: null,
6038
- createFocusTrap: No
6039
- }, Symbol.toStringTag, { value: "Module" })), Mo = /* @__PURE__ */ oa(Po), Ro = /* @__PURE__ */ oa(xo);
6039
+ createFocusTrap: Po
6040
+ }, Symbol.toStringTag, { value: "Module" })), Ro = /* @__PURE__ */ oa(Mo), Fo = /* @__PURE__ */ oa(wo);
6040
6041
  function Xe(t) {
6041
6042
  "@babel/helpers - typeof";
6042
6043
  return Xe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -6045,7 +6046,7 @@ function Xe(t) {
6045
6046
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
6046
6047
  }, Xe(t);
6047
6048
  }
6048
- function Fo(t, e) {
6049
+ function Oo(t, e) {
6049
6050
  if (!(t instanceof e))
6050
6051
  throw new TypeError("Cannot call a class as a function");
6051
6052
  }
@@ -6055,10 +6056,10 @@ function Wr(t, e) {
6055
6056
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, Da(r.key), r);
6056
6057
  }
6057
6058
  }
6058
- function Oo(t, e, n) {
6059
+ function Ao(t, e, n) {
6059
6060
  return e && Wr(t.prototype, e), n && Wr(t, n), Object.defineProperty(t, "prototype", { writable: !1 }), t;
6060
6061
  }
6061
- function Ao(t, e) {
6062
+ function Do(t, e) {
6062
6063
  if (typeof e != "function" && e !== null)
6063
6064
  throw new TypeError("Super expression must either be null or a function");
6064
6065
  t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && Zn(t, e);
@@ -6068,8 +6069,8 @@ function Zn(t, e) {
6068
6069
  return r.__proto__ = i, r;
6069
6070
  }, Zn(t, e);
6070
6071
  }
6071
- function Do(t) {
6072
- var e = Io();
6072
+ function Lo(t) {
6073
+ var e = Bo();
6073
6074
  return function() {
6074
6075
  var r = Vt(t), i;
6075
6076
  if (e) {
@@ -6077,10 +6078,10 @@ function Do(t) {
6077
6078
  i = Reflect.construct(r, arguments, s);
6078
6079
  } else
6079
6080
  i = r.apply(this, arguments);
6080
- return Lo(this, i);
6081
+ return Io(this, i);
6081
6082
  };
6082
6083
  }
6083
- function Lo(t, e) {
6084
+ function Io(t, e) {
6084
6085
  if (e && (Xe(e) === "object" || typeof e == "function"))
6085
6086
  return e;
6086
6087
  if (e !== void 0)
@@ -6092,7 +6093,7 @@ function ft(t) {
6092
6093
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6093
6094
  return t;
6094
6095
  }
6095
- function Io() {
6096
+ function Bo() {
6096
6097
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
6097
6098
  return !1;
6098
6099
  if (typeof Proxy == "function")
@@ -6109,14 +6110,14 @@ function Vt(t) {
6109
6110
  return n.__proto__ || Object.getPrototypeOf(n);
6110
6111
  }, Vt(t);
6111
6112
  }
6112
- function Bo(t, e, n) {
6113
+ function qo(t, e, n) {
6113
6114
  return e = Da(e), e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
6114
6115
  }
6115
6116
  function Da(t) {
6116
- var e = qo(t, "string");
6117
+ var e = Uo(t, "string");
6117
6118
  return Xe(e) === "symbol" ? e : String(e);
6118
6119
  }
6119
- function qo(t, e) {
6120
+ function Uo(t, e) {
6120
6121
  if (Xe(t) !== "object" || t === null)
6121
6122
  return t;
6122
6123
  var n = t[Symbol.toPrimitive];
@@ -6128,12 +6129,12 @@ function qo(t, e) {
6128
6129
  }
6129
6130
  return (e === "string" ? String : Number)(t);
6130
6131
  }
6131
- var Nt = Y, Q = ao, Uo = Mo, zo = Uo.createFocusTrap, Zo = Ro, Wo = Zo.isFocusable, tr = /* @__PURE__ */ function(t) {
6132
- Ao(n, t);
6133
- var e = Do(n);
6132
+ var Nt = Y, Q = io, zo = Ro, Zo = zo.createFocusTrap, Wo = Fo, Ho = Wo.isFocusable, tr = /* @__PURE__ */ function(t) {
6133
+ Do(n, t);
6134
+ var e = Lo(n);
6134
6135
  function n(r) {
6135
6136
  var i;
6136
- Fo(this, n), i = e.call(this, r), Bo(ft(i), "getNodeForOption", function(c) {
6137
+ Oo(this, n), i = e.call(this, r), qo(ft(i), "getNodeForOption", function(c) {
6137
6138
  var f, l = (f = this.internalOptions[c]) !== null && f !== void 0 ? f : this.originalOptions[c];
6138
6139
  if (typeof l == "function") {
6139
6140
  for (var u = arguments.length, d = new Array(u > 1 ? u - 1 : 0), m = 1; m < u; m++)
@@ -6193,7 +6194,7 @@ var Nt = Y, Q = ao, Uo = Mo, zo = Uo.createFocusTrap, Zo = Ro, Wo = Zo.isFocusab
6193
6194
  }
6194
6195
  return i.outsideClick = null, i.focusTrapElements = r.containerElements || [], i.updatePreviousElement(), i;
6195
6196
  }
6196
- return Oo(n, [{
6197
+ return Ao(n, [{
6197
6198
  key: "getDocument",
6198
6199
  value: function() {
6199
6200
  return this.props.focusTrapOptions.document || (typeof document < "u" ? document : void 0);
@@ -6256,7 +6257,7 @@ var Nt = Y, Q = ao, Uo = Mo, zo = Uo.createFocusTrap, Zo = Ro, Wo = Zo.isFocusab
6256
6257
  i.outsideClick.allowDeactivation && // is the outside node NOT focusable (implying that it did NOT receive focus
6257
6258
  // as a result of the click-through) -- in which case do NOT restore focus
6258
6259
  // to `returnFocusNode` because focus should remain on the outside node
6259
- !Wo(i.outsideClick.target, i.internalOptions.tabbableOptions))), l = i.internalOptions.preventScroll, u = l === void 0 ? !1 : l;
6260
+ !Ho(i.outsideClick.target, i.internalOptions.tabbableOptions))), l = i.internalOptions.preventScroll, u = l === void 0 ? !1 : l;
6260
6261
  f && c.focus({
6261
6262
  preventScroll: u
6262
6263
  }), i.originalOptions.onPostDeactivate && i.originalOptions.onPostDeactivate.call(null), i.outsideClick = null;
@@ -6368,10 +6369,10 @@ tr.defaultProps = {
6368
6369
  active: !0,
6369
6370
  paused: !1,
6370
6371
  focusTrapOptions: {},
6371
- _createFocusTrap: zo
6372
+ _createFocusTrap: Zo
6372
6373
  };
6373
- var Ho = tr;
6374
- const Vo = /* @__PURE__ */ sa(Ho);
6374
+ var Vo = tr;
6375
+ const Yo = /* @__PURE__ */ sa(Vo);
6375
6376
  const La = ({ element: t = "section", children: e, className: n, ...r }) => Y.createElement(t, {
6376
6377
  className: S("modal", n),
6377
6378
  children: typeof e == "string" ? /* @__PURE__ */ a.jsx("p", { children: e }) : e,
@@ -6414,7 +6415,7 @@ const nn = ({
6414
6415
  }),
6415
6416
  hidden: !p,
6416
6417
  style: v,
6417
- children: e && /* @__PURE__ */ a.jsx(Vo, { children: /* @__PURE__ */ a.jsxs("div", { className: "overlay-content", children: [
6418
+ children: e && /* @__PURE__ */ a.jsx(Yo, { children: /* @__PURE__ */ a.jsxs("div", { className: "overlay-content", children: [
6418
6419
  /* @__PURE__ */ a.jsxs("div", { className: "top", children: [
6419
6420
  c && /* @__PURE__ */ a.jsx("h2", { className: "modal-title", children: c }),
6420
6421
  /* @__PURE__ */ a.jsx(
@@ -6441,12 +6442,12 @@ const nn = ({
6441
6442
  ] }) })
6442
6443
  }
6443
6444
  ) });
6444
- }, Yo = (t, e) => ({
6445
+ }, Ko = (t, e) => ({
6445
6446
  "aria-haspopup": !0,
6446
6447
  "aria-expanded": e,
6447
6448
  "aria-controls": t
6448
6449
  });
6449
- const Vl = ({
6450
+ const Yl = ({
6450
6451
  className: t,
6451
6452
  showModal: e = !0,
6452
6453
  title: n,
@@ -6470,7 +6471,7 @@ const Vl = ({
6470
6471
  functions: { onClose: c },
6471
6472
  className: S("invite-modal", t, { success: !!n }),
6472
6473
  children: /* @__PURE__ */ a.jsx(
6473
- zs,
6474
+ Zs,
6474
6475
  {
6475
6476
  title: r,
6476
6477
  label: i,
@@ -6483,7 +6484,7 @@ const Vl = ({
6483
6484
  }
6484
6485
  );
6485
6486
  };
6486
- const Yl = ({ members: t }) => {
6487
+ const Kl = ({ members: t }) => {
6487
6488
  const [e, n] = te(!1), r = (i) => {
6488
6489
  const { fullName: s, jobTitle: o, organisation: c, photo: f } = i || {};
6489
6490
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
@@ -6522,7 +6523,7 @@ const Yl = ({ members: t }) => {
6522
6523
  }
6523
6524
  )
6524
6525
  ] });
6525
- }, Ko = ({ type: t, data: e }) => {
6526
+ }, Go = ({ type: t, data: e }) => {
6526
6527
  const n = K(), {
6527
6528
  answers: r,
6528
6529
  createdAt: i,
@@ -6638,7 +6639,7 @@ const Yl = ({ members: t }) => {
6638
6639
  },
6639
6640
  gtmEvent: "learning-hub"
6640
6641
  }
6641
- }, Go = ({ data: t, cta: e, link: n, gtmContext: r }) => {
6642
+ }, Qo = ({ data: t, cta: e, link: n, gtmContext: r }) => {
6642
6643
  var _;
6643
6644
  const i = K(), [s, o] = te({
6644
6645
  loading: !1,
@@ -6705,7 +6706,7 @@ const Yl = ({ members: t }) => {
6705
6706
  }
6706
6707
  return null;
6707
6708
  };
6708
- const Qo = {
6709
+ const Jo = {
6709
6710
  title: 66,
6710
6711
  text: 3e3,
6711
6712
  secondaryText: 1e3,
@@ -6748,7 +6749,7 @@ const Qo = {
6748
6749
  } = Yt[g];
6749
6750
  let j = d.slug ? `${_}${d.slug}` : !1;
6750
6751
  d.slug && (d.slug.slice(0, 4) === "http" || d.slug.slice(0, 2) === "//" || d.slug.slice(0, 6) === "mailto" || d.slug.slice(0, 3) === "tel") && (j = d.slug);
6751
- const k = { ...Qo, ...v };
6752
+ const k = { ...Jo, ...v };
6752
6753
  let x = { className: "card" };
6753
6754
  return j && (x = {
6754
6755
  href: j,
@@ -6823,14 +6824,14 @@ const Qo = {
6823
6824
  const W = Bi(D);
6824
6825
  return /* @__PURE__ */ a.jsx("p", { className: W, "data-testid": W, children: Je(R, k[D]) }, D);
6825
6826
  }),
6826
- /* @__PURE__ */ a.jsx(Ko, { type: b || "", data: d }),
6827
- /* @__PURE__ */ a.jsx(Go, { data: d, cta: r, link: j || "", gtmContext: i })
6827
+ /* @__PURE__ */ a.jsx(Go, { type: b || "", data: d }),
6828
+ /* @__PURE__ */ a.jsx(Qo, { data: d, cta: r, link: j || "", gtmContext: i })
6828
6829
  ] })
6829
6830
  )
6830
6831
  }
6831
6832
  );
6832
6833
  };
6833
- const Jo = ({ cards: t, cardTypes: e, className: n = "", ...r }) => /* @__PURE__ */ a.jsx("ul", { className: S("card-block", n), children: t.map((i, s) => {
6834
+ const Xo = ({ cards: t, cardTypes: e, className: n = "", ...r }) => /* @__PURE__ */ a.jsx("ul", { className: S("card-block", n), children: t.map((i, s) => {
6834
6835
  const o = i.slug ? `${i.slug}-${e[s]}` : `${e[s]}-${s}`;
6835
6836
  return /* @__PURE__ */ a.jsx(
6836
6837
  Ia,
@@ -6841,10 +6842,10 @@ const Jo = ({ cards: t, cardTypes: e, className: n = "", ...r }) => /* @__PURE__
6841
6842
  },
6842
6843
  o
6843
6844
  );
6844
- }) }), Xo = (t, e, n, r) => {
6845
+ }) }), ec = (t, e, n, r) => {
6845
6846
  const i = e * n <= t, s = t < e * (n + 1), o = r.includes(Math.floor(t / e));
6846
6847
  return i && s || o;
6847
- }, ec = ({ id: t, title: e }) => {
6848
+ }, tc = ({ id: t, title: e }) => {
6848
6849
  const n = K();
6849
6850
  if (!e || !e.text)
6850
6851
  return null;
@@ -6874,7 +6875,7 @@ const jn = {
6874
6875
  twoCards: 480
6875
6876
  };
6876
6877
  let Pt = null;
6877
- const tc = ({
6878
+ const nc = ({
6878
6879
  id: t,
6879
6880
  cards: e,
6880
6881
  cardTypes: n,
@@ -6944,7 +6945,7 @@ const tc = ({
6944
6945
  className: S("carousel-wrapper", s),
6945
6946
  "data-testid": "carousel",
6946
6947
  children: [
6947
- /* @__PURE__ */ a.jsx(ec, { id: t, title: i }),
6948
+ /* @__PURE__ */ a.jsx(tc, { id: t, title: i }),
6948
6949
  /* @__PURE__ */ a.jsx(
6949
6950
  "ul",
6950
6951
  {
@@ -6955,7 +6956,7 @@ const tc = ({
6955
6956
  "data-testid": "carousel-list",
6956
6957
  children: e.map((M, O) => {
6957
6958
  let C = W(M, O);
6958
- return C && Xo(O, u, g, _) ? /* @__PURE__ */ a.jsx(
6959
+ return C && ec(O, u, g, _) ? /* @__PURE__ */ a.jsx(
6959
6960
  Ia,
6960
6961
  {
6961
6962
  id: C,
@@ -7024,7 +7025,7 @@ const tc = ({
7024
7025
  ]
7025
7026
  }
7026
7027
  );
7027
- }, Kl = ({
7028
+ }, Gl = ({
7028
7029
  carousels: t = [],
7029
7030
  isLoading: e,
7030
7031
  title: n,
@@ -7044,7 +7045,7 @@ const tc = ({
7044
7045
  d ? null : /* @__PURE__ */ a.jsx(Oe, {})
7045
7046
  ] }, `placeholder-${u}`) : /* @__PURE__ */ a.jsxs(vt, { children: [
7046
7047
  /* @__PURE__ */ a.jsx(
7047
- tc,
7048
+ nc,
7048
7049
  {
7049
7050
  cards: c,
7050
7051
  cardTypes: f,
@@ -7089,7 +7090,7 @@ const kn = "joinCommunityButton", Ba = ({
7089
7090
  }
7090
7091
  );
7091
7092
  };
7092
- const Tn = "communityDetails_", Gl = ({
7093
+ const Tn = "communityDetails_", Ql = ({
7093
7094
  className: t = "",
7094
7095
  isMember: e = !1,
7095
7096
  slug: n,
@@ -7136,7 +7137,7 @@ const Tn = "communityDetails_", Gl = ({
7136
7137
  )
7137
7138
  ] });
7138
7139
  };
7139
- const Ql = ({ breadcrumbs: t, cutoff: e = 20, className: n = "" }) => {
7140
+ const Jl = ({ breadcrumbs: t, cutoff: e = 20, className: n = "" }) => {
7140
7141
  const r = K();
7141
7142
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7142
7143
  /* @__PURE__ */ a.jsx(
@@ -7160,7 +7161,7 @@ const Ql = ({ breadcrumbs: t, cutoff: e = 20, className: n = "" }) => {
7160
7161
  ) })
7161
7162
  ] });
7162
7163
  };
7163
- const Jl = ({
7164
+ const Xl = ({
7164
7165
  options: t,
7165
7166
  allOption: e = !1,
7166
7167
  allowMultiple: n = !0,
@@ -7196,7 +7197,7 @@ const Jl = ({
7196
7197
  }
7197
7198
  ) }, u);
7198
7199
  }) });
7199
- }, nc = (t, e, n) => {
7200
+ }, rc = (t, e, n) => {
7200
7201
  const r = String(t);
7201
7202
  if (!n || !n.length)
7202
7203
  return e ? `/${r}/${e}` : `/${r}`;
@@ -7208,7 +7209,7 @@ const Jl = ({
7208
7209
  urlForRouter: `/${i.split("/").slice(2).join("/")}`
7209
7210
  } : i;
7210
7211
  };
7211
- const Mt = "languageSwitcher_", Xl = ({
7212
+ const Mt = "languageSwitcher_", eu = ({
7212
7213
  currentLanguage: t,
7213
7214
  isOriginalLanguage: e = !1,
7214
7215
  isHumanTranslation: n = !1,
@@ -7243,7 +7244,7 @@ const Mt = "languageSwitcher_", Xl = ({
7243
7244
  { language: pn[b] }
7244
7245
  );
7245
7246
  else {
7246
- const k = nc(b, v, s);
7247
+ const k = rc(b, v, s);
7247
7248
  y = {
7248
7249
  ...y,
7249
7250
  href: typeof k == "string" ? k : k.url,
@@ -7335,7 +7336,7 @@ const qa = ({
7335
7336
  }
7336
7337
  ) });
7337
7338
  let Rt = !1;
7338
- const rc = ({
7339
+ const ac = ({
7339
7340
  element: t = "div",
7340
7341
  id: e = "more-menu",
7341
7342
  options: n,
@@ -7393,8 +7394,8 @@ const rc = ({
7393
7394
  }) })
7394
7395
  ] })
7395
7396
  });
7396
- }, ac = (t, e = !1) => e ? t.replaceAll("/", "") === e : typeof window < "u" && window.location && window.location.pathname === t;
7397
- const ic = [
7397
+ }, ic = (t, e = !1) => e ? t.replaceAll("/", "") === e : typeof window < "u" && window.location && window.location.pathname === t;
7398
+ const sc = [
7398
7399
  {
7399
7400
  key: "homepage",
7400
7401
  href: "/home/"
@@ -7411,13 +7412,13 @@ const ic = [
7411
7412
  key: "articles",
7412
7413
  href: "/solution-articles/"
7413
7414
  }
7414
- ], sc = ({ activeLink: t }) => {
7415
+ ], oc = ({ activeLink: t }) => {
7415
7416
  const e = K(), n = Te(De), r = n && typeof n.id == "string";
7416
7417
  return /* @__PURE__ */ a.jsxs("ul", { id: "navigation-menu", className: "text-medium", children: [
7417
- ic.map(({ key: i, href: s }) => /* @__PURE__ */ a.jsx(
7418
+ sc.map(({ key: i, href: s }) => /* @__PURE__ */ a.jsx(
7418
7419
  "li",
7419
7420
  {
7420
- className: S(i, { active: ac(s, t) }),
7421
+ className: S(i, { active: ic(s, t) }),
7421
7422
  children: /* @__PURE__ */ a.jsx(
7422
7423
  "a",
7423
7424
  {
@@ -7451,7 +7452,7 @@ const ic = [
7451
7452
  }
7452
7453
  ) })
7453
7454
  ] });
7454
- }, ut = (t, e, n) => `${t}?share=${e}${n ? `&uuid=${n}` : ""}`, oc = ({
7455
+ }, ut = (t, e, n) => `${t}?share=${e}${n ? `&uuid=${n}` : ""}`, cc = ({
7455
7456
  title: t,
7456
7457
  link: e,
7457
7458
  referrer: n
@@ -7494,7 +7495,7 @@ ${ut(e, "mailto", n)}&src=email`
7494
7495
  onClick: (r, i) => (r.preventDefault(), r.stopPropagation(), navigator.clipboard.writeText(i))
7495
7496
  }
7496
7497
  ];
7497
- const cc = "shareLinks_", eu = ({
7498
+ const lc = "shareLinks_", tu = ({
7498
7499
  title: t,
7499
7500
  link: e,
7500
7501
  referrer: n,
@@ -7503,7 +7504,7 @@ const cc = "shareLinks_", eu = ({
7503
7504
  variant: s = "default",
7504
7505
  className: o = ""
7505
7506
  }) => {
7506
- const c = K(), f = oc({ title: t, link: e, referrer: n });
7507
+ const c = K(), f = cc({ title: t, link: e, referrer: n });
7507
7508
  return /* @__PURE__ */ a.jsxs("aside", { className: S("share-links", i, s, o), children: [
7508
7509
  /* @__PURE__ */ a.jsx("p", { className: "text-small", children: c.formatMessage({ id: "shareLinks_label" }) }),
7509
7510
  /* @__PURE__ */ a.jsx("ul", { children: f.map(({ key: l, icon: u, url: d, shouldRender: m = !0, onClick: p }) => {
@@ -7523,14 +7524,14 @@ const cc = "shareLinks_", eu = ({
7523
7524
  "data-gtm-event-context": `${r}-SocialButtons`,
7524
7525
  "data-gtm-event-type": `${l}-click`,
7525
7526
  "data-testid": "link",
7526
- screenreaderText: c.formatMessage({ id: `${cc}link_${l}` }),
7527
+ screenreaderText: c.formatMessage({ id: `${lc}link_${l}` }),
7527
7528
  ...g
7528
7529
  }
7529
7530
  ) }, l);
7530
7531
  }) })
7531
7532
  ] });
7532
7533
  };
7533
- const tu = ({ tabs: t, className: e = "", preventLocationChange: n }) => {
7534
+ const nu = ({ tabs: t, className: e = "", preventLocationChange: n }) => {
7534
7535
  var l;
7535
7536
  const r = (u, d, m) => (u || (u = `panel-${window.btoa(d)}-${m}`), u);
7536
7537
  let i = t.findIndex((u) => u.current === !0);
@@ -7593,11 +7594,11 @@ const tu = ({ tabs: t, className: e = "", preventLocationChange: n }) => {
7593
7594
  /* @__PURE__ */ a.jsx("div", { className: "tab-content", children: f })
7594
7595
  ] });
7595
7596
  };
7596
- const lc = {
7597
+ const uc = {
7597
7598
  "2-1": 901,
7598
7599
  "1-3": 769,
7599
7600
  "1-1": 769
7600
- }, uc = ({
7601
+ }, dc = ({
7601
7602
  layout: t = "2-1",
7602
7603
  hideOnMobile: e = !1,
7603
7604
  className: n = "",
@@ -7605,10 +7606,10 @@ const lc = {
7605
7606
  }) => {
7606
7607
  const i = _t(!0);
7607
7608
  let s = r;
7608
- return Y.Children.count(r) === 1 && (s = Y.Children.toArray(r)[0], s.props && (s = s.props.children)), /* @__PURE__ */ a.jsx("section", { className: S("columns", `layout-${t}`, n), children: Y.Children.map(s, (o, c) => e !== !1 && c === e && i && i < lc[t] ? null : o) });
7609
+ return Y.Children.count(r) === 1 && (s = Y.Children.toArray(r)[0], s.props && (s = s.props.children)), /* @__PURE__ */ a.jsx("section", { className: S("columns", `layout-${t}`, n), children: Y.Children.map(s, (o, c) => e !== !1 && c === e && i && i < uc[t] ? null : o) });
7609
7610
  };
7610
7611
  let Sn;
7611
- const Cn = "contactFooter_", nu = ({ onSuccess: t = async () => {
7612
+ const Cn = "contactFooter_", ru = ({ onSuccess: t = async () => {
7612
7613
  }, onFailure: e = () => {
7613
7614
  } }) => {
7614
7615
  const n = pe(null), [r, i] = Y.useState(0), [s, o] = Y.useState(!1), c = () => {
@@ -7635,7 +7636,7 @@ const Cn = "contactFooter_", nu = ({ onSuccess: t = async () => {
7635
7636
  /* @__PURE__ */ a.jsx(nt, { className: "mailto-link", href: "mailto:hello@apolitical.co", children: /* @__PURE__ */ a.jsx(_e, { id: `${Cn}email` }) })
7636
7637
  ] }),
7637
7638
  /* @__PURE__ */ a.jsx(
7638
- Us,
7639
+ zs,
7639
7640
  {
7640
7641
  functions: { onSuccess: t, onFailure: e },
7641
7642
  gtm: { context: "FooterContactUsForm", event: "contact-form-submit-click" }
@@ -7645,15 +7646,15 @@ const Cn = "contactFooter_", nu = ({ onSuccess: t = async () => {
7645
7646
  }
7646
7647
  )
7647
7648
  ] }) });
7648
- }, ru = ({ activeLink: t, ...e }) => /* @__PURE__ */ a.jsx(We, { children: /* @__PURE__ */ a.jsx(uc, { layout: "1-3", children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7649
- /* @__PURE__ */ a.jsx(sc, { activeLink: t }),
7650
- /* @__PURE__ */ a.jsx(ps, { ...e })
7649
+ }, au = ({ activeLink: t, ...e }) => /* @__PURE__ */ a.jsx(We, { children: /* @__PURE__ */ a.jsx(dc, { layout: "1-3", children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7650
+ /* @__PURE__ */ a.jsx(oc, { activeLink: t }),
7651
+ /* @__PURE__ */ a.jsx(hs, { ...e })
7651
7652
  ] }) }) });
7652
7653
  const $n = "cookieBanner_", Nn = [
7653
7654
  "apol-cookie-banner",
7654
7655
  "apolitical-performance-cookie-consent",
7655
7656
  "functional-cookie-consent"
7656
- ], Pn = new Date(Date.now() + 12 * 30 * 24 * 60 * 60 * 1e3), dc = () => {
7657
+ ], Pn = new Date(Date.now() + 12 * 30 * 24 * 60 * 60 * 1e3), fc = () => {
7657
7658
  const t = K(), [e, n, r] = aa(Nn), [i, s] = te(
7658
7659
  !e["apol-cookie-banner"]
7659
7660
  ), o = () => {
@@ -8180,7 +8181,7 @@ const Qe = "footer_", Kt = "SiteFooter", Hr = ({ group: t }) => {
8180
8181
  t
8181
8182
  );
8182
8183
  };
8183
- const fc = { height: 67, height_desktop: 83 }, za = ({ showNavigation: t = !0 }) => {
8184
+ const mc = { height: 67, height_desktop: 83 }, za = ({ showNavigation: t = !0 }) => {
8184
8185
  const e = K(), n = Te(De), r = _t(!0, !0), i = n && typeof n.id == "string", s = yt(
8185
8186
  () => fe.getIsDesktopVersion(i, r),
8186
8187
  [i, r]
@@ -8193,7 +8194,7 @@ const fc = { height: 67, height_desktop: 83 }, za = ({ showNavigation: t = !0 })
8193
8194
  }
8194
8195
  }), { headerIsVisible: f, menus: l, focusElements: u } = o;
8195
8196
  Li({
8196
- scrollPosition: fc[`height${s.navigation ? "_desktop" : ""}`],
8197
+ scrollPosition: mc[`height${s.navigation ? "_desktop" : ""}`],
8197
8198
  callbacks: {
8198
8199
  scrollUp: () => {
8199
8200
  !s && l.navigation || fe.shouldChangeHeaderIsVisible(!0, l, c);
@@ -8302,7 +8303,7 @@ const fc = { height: 67, height_desktop: 83 }, za = ({ showNavigation: t = !0 })
8302
8303
  }
8303
8304
  ),
8304
8305
  /* @__PURE__ */ a.jsx(
8305
- Zs,
8306
+ Ws,
8306
8307
  {
8307
8308
  id: "global-search",
8308
8309
  handleToggle: {
@@ -8356,7 +8357,7 @@ const fc = { height: 67, height_desktop: 83 }, za = ({ showNavigation: t = !0 })
8356
8357
  )
8357
8358
  ] });
8358
8359
  };
8359
- const mc = () => {
8360
+ const pc = () => {
8360
8361
  const t = K();
8361
8362
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
8362
8363
  /* @__PURE__ */ a.jsx(za, {}),
@@ -8369,7 +8370,7 @@ const mc = () => {
8369
8370
  ) }),
8370
8371
  /* @__PURE__ */ a.jsx(Ua, {})
8371
8372
  ] });
8372
- }, pc = ({
8373
+ }, hc = ({
8373
8374
  children: t,
8374
8375
  additionalContent: { prepended: e, appended: n } = {},
8375
8376
  reportError: r,
@@ -8387,7 +8388,7 @@ const mc = () => {
8387
8388
  }), b = Dt(n, {
8388
8389
  locale: c
8389
8390
  }), v = {};
8390
- return u !== "default" && (v[u] = !0), d !== "default" && (v[d] = !0), m !== "default" && (v[m] = !0), /* @__PURE__ */ a.jsx(Ci, { onError: r, fallback: /* @__PURE__ */ a.jsx(mc, {}), children: /* @__PURE__ */ a.jsx(bi, { fallback: null, children: /* @__PURE__ */ a.jsxs(
8391
+ return u !== "default" && (v[u] = !0), d !== "default" && (v[d] = !0), m !== "default" && (v[m] = !0), /* @__PURE__ */ a.jsx(Ci, { onError: r, fallback: /* @__PURE__ */ a.jsx(pc, {}), children: /* @__PURE__ */ a.jsx(bi, { fallback: null, children: /* @__PURE__ */ a.jsxs(
8391
8392
  "div",
8392
8393
  {
8393
8394
  id: "wrapper",
@@ -8403,7 +8404,7 @@ const mc = () => {
8403
8404
  ] }),
8404
8405
  b && /* @__PURE__ */ a.jsx("div", { className: "additional-content appended", children: b }),
8405
8406
  l && /* @__PURE__ */ a.jsx(Ua, {}),
8406
- /* @__PURE__ */ a.jsx(dc, {})
8407
+ /* @__PURE__ */ a.jsx(fc, {})
8407
8408
  ]
8408
8409
  }
8409
8410
  ) }) });
@@ -8426,7 +8427,7 @@ const mc = () => {
8426
8427
  WorkAndTheEconomy: "work-and-the-economy"
8427
8428
  },
8428
8429
  "from the community": "community"
8429
- }, hc = {
8430
+ }, gc = {
8430
8431
  getTagDetails: (t) => {
8431
8432
  if (t.includes("topic_")) {
8432
8433
  if (t = Mn.topic[t.replace("topic_", "")], t) {
@@ -8438,7 +8439,7 @@ const mc = () => {
8438
8439
  return Mn[t] ? (t = Mn[t], { id: t, text: `${Vr.default}${t}` }) : null;
8439
8440
  }
8440
8441
  };
8441
- const au = ({
8442
+ const iu = ({
8442
8443
  tags: t = [],
8443
8444
  color: e = "default",
8444
8445
  forceOneLine: n = !1,
@@ -8454,7 +8455,7 @@ const au = ({
8454
8455
  return t.forEach((l) => {
8455
8456
  if (!l)
8456
8457
  return;
8457
- const u = hc.getTagDetails(l);
8458
+ const u = gc.getTagDetails(l);
8458
8459
  u && f.push(u);
8459
8460
  }), f.length < 1 ? null : /* @__PURE__ */ a.jsx(
8460
8461
  "ul",
@@ -8478,7 +8479,7 @@ const au = ({
8478
8479
  }
8479
8480
  );
8480
8481
  };
8481
- const iu = ({
8482
+ const su = ({
8482
8483
  members: { data: t = [], total: e = t.length },
8483
8484
  hasNextPage: n = !1,
8484
8485
  loadNextPage: r = () => {
@@ -8508,7 +8509,7 @@ const iu = ({
8508
8509
  )
8509
8510
  ] });
8510
8511
  };
8511
- const su = ({
8512
+ const ou = ({
8512
8513
  element: t = "p",
8513
8514
  data: {
8514
8515
  timeLeftToFinish: e,
@@ -8556,7 +8557,7 @@ const su = ({
8556
8557
  ] })
8557
8558
  });
8558
8559
  };
8559
- const gc = ({
8560
+ const vc = ({
8560
8561
  element: t = "span",
8561
8562
  sectionId: e,
8562
8563
  subsectionId: n,
@@ -8567,7 +8568,7 @@ const gc = ({
8567
8568
  "data-number": `${e}.${n}`,
8568
8569
  children: r
8569
8570
  });
8570
- const vc = ({
8571
+ const bc = ({
8571
8572
  size: t = "default",
8572
8573
  completionTime: e,
8573
8574
  icon: n,
@@ -8584,7 +8585,7 @@ const vc = ({
8584
8585
  s ? /* @__PURE__ */ a.jsx("span", { className: "additional", children: s }) : null
8585
8586
  ] });
8586
8587
  };
8587
- const ou = ({
8588
+ const cu = ({
8588
8589
  course: {
8589
8590
  articles: t,
8590
8591
  canAccessCourse: e,
@@ -8660,7 +8661,7 @@ const ou = ({
8660
8661
  gtmType: "article-click",
8661
8662
  children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
8662
8663
  /* @__PURE__ */ a.jsx(
8663
- gc,
8664
+ vc,
8664
8665
  {
8665
8666
  sectionId: s,
8666
8667
  subsectionId: D,
@@ -8670,7 +8671,7 @@ const ou = ({
8670
8671
  ),
8671
8672
  " ",
8672
8673
  /* @__PURE__ */ a.jsx(
8673
- vc,
8674
+ bc,
8674
8675
  {
8675
8676
  completionTime: _,
8676
8677
  icon: v,
@@ -8691,7 +8692,7 @@ const ou = ({
8691
8692
  }
8692
8693
  );
8693
8694
  };
8694
- const cu = ({
8695
+ const lu = ({
8695
8696
  isComplete: t = !1,
8696
8697
  onClick: e,
8697
8698
  ...n
@@ -8965,14 +8966,14 @@ const we = "discussion_form_", nr = ({
8965
8966
  ...l
8966
8967
  }
8967
8968
  );
8968
- }, bc = {
8969
+ }, yc = {
8969
8970
  showForm: !1
8970
- }, rr = tn(bc), yc = ({ children: t }) => {
8971
+ }, rr = tn(yc), _c = ({ children: t }) => {
8971
8972
  const [e, n] = te({
8972
8973
  showForm: !1
8973
8974
  });
8974
8975
  return /* @__PURE__ */ a.jsx(rr.Provider, { value: { ...e, updateConversation: n }, children: t });
8975
- }, _c = ({
8976
+ }, xc = ({
8976
8977
  question: t,
8977
8978
  answer: e,
8978
8979
  reply: n
@@ -8980,11 +8981,11 @@ const we = "discussion_form_", nr = ({
8980
8981
  ...t && { questionSlug: t },
8981
8982
  ...e && { answerSlug: e },
8982
8983
  ...n && { replySlug: n }
8983
- }), xc = (t, e = 10) => !t || t.length === 0 ? [] : t.slice(0, e);
8984
+ }), wc = (t, e = 10) => !t || t.length === 0 ? [] : t.slice(0, e);
8984
8985
  let gt = !1;
8985
8986
  const Rn = () => {
8986
8987
  gt !== !1 && (clearTimeout(gt), gt = !1);
8987
- }, Fn = 5, wc = ({
8988
+ }, Fn = 5, jc = ({
8988
8989
  element: t = "div",
8989
8990
  likes: e = 0,
8990
8991
  peopleWhoLiked: n = !1,
@@ -9001,7 +9002,7 @@ const Rn = () => {
9001
9002
  p(i);
9002
9003
  }, [i]);
9003
9004
  const [u, d] = te(e), [m, p] = te(i), [g, _] = te(!1), [b, v] = te(!1), y = yt(
9004
- () => xc(n, Fn),
9005
+ () => wc(n, Fn),
9005
9006
  [n]
9006
9007
  ), j = (x) => {
9007
9008
  if (x.preventDefault(), x.stopPropagation(), v(!1), gt)
@@ -9016,7 +9017,7 @@ const Rn = () => {
9016
9017
  x < 0 && (x = 0), _(!0), d(x), p(!m);
9017
9018
  try {
9018
9019
  if (s && s.slugs) {
9019
- const D = _c(s.slugs);
9020
+ const D = xc(s.slugs);
9020
9021
  m ? await f(D) : await c({
9021
9022
  ...D,
9022
9023
  payload: { contentPath: window.location.pathname }
@@ -9084,7 +9085,7 @@ const Rn = () => {
9084
9085
  )
9085
9086
  }
9086
9087
  ),
9087
- n && /* @__PURE__ */ a.jsx(gs, { isOpen: b, isLoading: n.length === 0, children: n.length && /* @__PURE__ */ a.jsxs("ul", { children: [
9088
+ n && /* @__PURE__ */ a.jsx(vs, { isOpen: b, isLoading: n.length === 0, children: n.length && /* @__PURE__ */ a.jsxs("ul", { children: [
9088
9089
  y.map((x) => typeof x == "string" || !x.name ? null : /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
9089
9090
  nt,
9090
9091
  {
@@ -9106,7 +9107,7 @@ const Rn = () => {
9106
9107
  const e = {};
9107
9108
  return Object.keys(t).forEach((n) => n.includes("Id") ? e[n] = t[n] : e[`${n}Slug`] = t[n]), e;
9108
9109
  }, an = (t, e) => t && !e;
9109
- const Pe = "discussion_", jc = 280, sn = ({
9110
+ const Pe = "discussion_", kc = 280, sn = ({
9110
9111
  element: t = "div",
9111
9112
  content: e,
9112
9113
  userHasPermissions: n = !0,
@@ -9171,7 +9172,7 @@ const Pe = "discussion_", jc = 280, sn = ({
9171
9172
  };
9172
9173
  if (r || !e || e.type === "answer" && (!e.slugs || !e.slugs.question))
9173
9174
  return /* @__PURE__ */ a.jsx(Ee, { className: "discussion-card discussion-post" });
9174
- const ee = b ? Je(I.body, jc) : I.body, G = async (F) => {
9175
+ const ee = b ? Je(I.body, kc) : I.body, G = async (F) => {
9175
9176
  F || (F = ""), z("");
9176
9177
  try {
9177
9178
  if (!Ni(F, I.body)) {
@@ -9234,7 +9235,7 @@ const Pe = "discussion_", jc = 280, sn = ({
9234
9235
  className: "gtm-trackable",
9235
9236
  "data-gtm-event-context": g,
9236
9237
  "data-gtm-event-type": `delete-${e.type}-click`,
9237
- ...Yo(`delete-${e.slug}-modal`, L)
9238
+ ...Ko(`delete-${e.slug}-modal`, L)
9238
9239
  }
9239
9240
  ), Y.createElement(t, {
9240
9241
  className: S("discussion-post", p, {
@@ -9302,7 +9303,7 @@ const Pe = "discussion_", jc = 280, sn = ({
9302
9303
  className: "gtm-trackable",
9303
9304
  "data-gtm-event-context": g,
9304
9305
  "data-gtm-event-type": "title-click",
9305
- children: /* @__PURE__ */ a.jsx(Bt, { options: { overrides: { a: fs } }, children: ee })
9306
+ children: /* @__PURE__ */ a.jsx(Bt, { options: { overrides: { a: ms } }, children: ee })
9306
9307
  }
9307
9308
  ) : /* @__PURE__ */ a.jsx(
9308
9309
  Bt,
@@ -9323,7 +9324,7 @@ const Pe = "discussion_", jc = 280, sn = ({
9323
9324
  "data-testid": `${e.type}-actions`,
9324
9325
  children: [
9325
9326
  !s.likes && /* @__PURE__ */ a.jsx(
9326
- wc,
9327
+ jc,
9327
9328
  {
9328
9329
  element: "li",
9329
9330
  likes: W,
@@ -9382,7 +9383,7 @@ const Pe = "discussion_", jc = 280, sn = ({
9382
9383
  }
9383
9384
  ) }),
9384
9385
  /* @__PURE__ */ a.jsx(
9385
- rc,
9386
+ ac,
9386
9387
  {
9387
9388
  element: "li",
9388
9389
  id: `more-${e.slug}`,
@@ -9448,7 +9449,7 @@ const Pe = "discussion_", jc = 280, sn = ({
9448
9449
  ] })
9449
9450
  });
9450
9451
  };
9451
- const On = "discussion_responses_", kc = ({ type: t = "answer", responses: e = 0 }) => {
9452
+ const On = "discussion_responses_", Tc = ({ type: t = "answer", responses: e = 0 }) => {
9452
9453
  const n = K();
9453
9454
  return e = parseInt(e), /* @__PURE__ */ a.jsxs("div", { className: "responses-heading", children: [
9454
9455
  /* @__PURE__ */ a.jsx("h4", { children: n.formatMessage(
@@ -9458,7 +9459,7 @@ const On = "discussion_responses_", kc = ({ type: t = "answer", responses: e = 0
9458
9459
  e === 0 && /* @__PURE__ */ a.jsx("p", { children: Ce(n.formatMessage, `${On}empty`, t, t) })
9459
9460
  ] });
9460
9461
  };
9461
- const Tc = ({
9462
+ const Ec = ({
9462
9463
  loadMore: { isLoading: t, hasNextPage: e, loadNextPage: n } = {
9463
9464
  isLoading: !1,
9464
9465
  hasNextPage: !1,
@@ -9489,7 +9490,7 @@ const Tc = ({
9489
9490
  ),
9490
9491
  r && o.showForm && /* @__PURE__ */ a.jsx(nr, { ...r })
9491
9492
  ] });
9492
- }, Ec = "post", Sc = "reply", Wa = "00000000-0000-0000-0000-000000000000";
9493
+ }, Sc = "post", Cc = "reply", Wa = "00000000-0000-0000-0000-000000000000";
9493
9494
  function ar({ queryClient: t, queryKey: e }) {
9494
9495
  function n(r, i, s) {
9495
9496
  t.setQueryData(e, s);
@@ -9504,7 +9505,7 @@ function ir({ queryClient: t, queryKey: e }) {
9504
9505
  }
9505
9506
  return n;
9506
9507
  }
9507
- function Cc() {
9508
+ function $c() {
9508
9509
  return {
9509
9510
  latest_reactions: {
9510
9511
  like: [],
@@ -9520,7 +9521,7 @@ function Cc() {
9520
9521
  }
9521
9522
  };
9522
9523
  }
9523
- function $c() {
9524
+ function Nc() {
9524
9525
  return {
9525
9526
  latest_children: {
9526
9527
  like: [],
@@ -9548,19 +9549,19 @@ function Ha(t) {
9548
9549
  }
9549
9550
  };
9550
9551
  }
9551
- function Nc({ content: t }) {
9552
+ function Pc({ content: t }) {
9552
9553
  return {
9553
9554
  content: t,
9554
9555
  id: Wa,
9555
9556
  time: (/* @__PURE__ */ new Date()).toISOString(),
9556
- verb: Ec
9557
+ verb: Sc
9557
9558
  };
9558
9559
  }
9559
9560
  function Kr({ activity: t, user: e }) {
9560
9561
  return {
9561
9562
  ...t,
9562
9563
  actor: Ha(e),
9563
- ...Cc()
9564
+ ...$c()
9564
9565
  };
9565
9566
  }
9566
9567
  function Jt({ activity: t, reaction: e }) {
@@ -9589,14 +9590,14 @@ function Va({ activity: t, user: e }) {
9589
9590
  like: (((i = t.own_reactions) == null ? void 0 : i.like) || []).filter(({ user_id: s }) => s !== e.id)
9590
9591
  });
9591
9592
  }
9592
- function Pc({ activityId: t, replyId: e, content: n }) {
9593
+ function Mc({ activityId: t, replyId: e, content: n }) {
9593
9594
  return {
9594
9595
  activity_id: t,
9595
9596
  data: {
9596
9597
  content: n
9597
9598
  },
9598
9599
  id: Wa,
9599
- kind: Sc,
9600
+ kind: Cc,
9600
9601
  parent: e || ""
9601
9602
  };
9602
9603
  }
@@ -9606,7 +9607,7 @@ function Gr({ reply: t, user: e }) {
9606
9607
  ...t,
9607
9608
  user_id: n.id,
9608
9609
  user: n,
9609
- ...$c()
9610
+ ...Nc()
9610
9611
  };
9611
9612
  }
9612
9613
  function Qr({ reply: t, reaction: e }) {
@@ -9622,7 +9623,7 @@ function Qr({ reply: t, reaction: e }) {
9622
9623
  like: (n = t.children_counts) != null && n.like ? t.children_counts.like + 1 : 1
9623
9624
  };
9624
9625
  }
9625
- function Mc({ reply: t, user: e }) {
9626
+ function Rc({ reply: t, user: e }) {
9626
9627
  var n, r, i;
9627
9628
  t.children_counts = {
9628
9629
  ...t.children_counts || {},
@@ -9691,7 +9692,7 @@ const Ka = () => {
9691
9692
  object: "comment",
9692
9693
  time: "2023-11-24T17:52:36.162000",
9693
9694
  verb: "post"
9694
- }), Rc = Object.freeze({
9695
+ }), Fc = Object.freeze({
9695
9696
  actor: `SU:${Ie.id}`,
9696
9697
  content: "some content 2",
9697
9698
  duration: "5.53ms",
@@ -9701,7 +9702,7 @@ const Ka = () => {
9701
9702
  object: "comment",
9702
9703
  time: "2023-11-24T17:54:36.162000",
9703
9704
  verb: "post"
9704
- }), Fc = Object.freeze({
9705
+ }), Oc = Object.freeze({
9705
9706
  actor: `SU:${et.id}`,
9706
9707
  content: "some content 3",
9707
9708
  duration: "5.53ms",
@@ -9711,7 +9712,7 @@ const Ka = () => {
9711
9712
  object: "comment",
9712
9713
  time: "2023-11-24T17:56:36.162000",
9713
9714
  verb: "post"
9714
- }), Oc = Object.freeze({
9715
+ }), Ac = Object.freeze({
9715
9716
  actor: `SU:${Ie.id}`,
9716
9717
  content: "some content 4",
9717
9718
  duration: "5.53ms",
@@ -9774,7 +9775,7 @@ Object.freeze({
9774
9775
  updated_at: "2023-08-31T07:11:38.677184Z"
9775
9776
  },
9776
9777
  kind: "reply",
9777
- activity_id: Rc.id,
9778
+ activity_id: Fc.id,
9778
9779
  data: {
9779
9780
  content: "Some content 2..."
9780
9781
  },
@@ -9794,7 +9795,7 @@ Object.freeze({
9794
9795
  updated_at: "2023-08-31T07:11:38.677184Z"
9795
9796
  },
9796
9797
  kind: "reply",
9797
- activity_id: Fc.id,
9798
+ activity_id: Oc.id,
9798
9799
  data: {
9799
9800
  content: "Some content 3..."
9800
9801
  },
@@ -9814,7 +9815,7 @@ Object.freeze({
9814
9815
  updated_at: "2023-08-31T07:11:38.677184Z"
9815
9816
  },
9816
9817
  kind: "reply",
9817
- activity_id: Oc.id,
9818
+ activity_id: Ac.id,
9818
9819
  data: {
9819
9820
  content: "Some content 4..."
9820
9821
  },
@@ -9822,7 +9823,7 @@ Object.freeze({
9822
9823
  latest_children: {},
9823
9824
  children_counts: {}
9824
9825
  });
9825
- function Ac({
9826
+ function Dc({
9826
9827
  mutationFn: t,
9827
9828
  mutationHandlers: { mutate: e, error: n },
9828
9829
  queryClient: r,
@@ -9832,7 +9833,7 @@ function Ac({
9832
9833
  const { mutate: o } = je({
9833
9834
  mutationFn: t,
9834
9835
  onMutate: (c) => e((f) => {
9835
- const l = Kr({ activity: Nc(c), user: s });
9836
+ const l = Kr({ activity: Pc(c), user: s });
9836
9837
  return Xr(l, f);
9837
9838
  }),
9838
9839
  onError: n,
@@ -9845,7 +9846,7 @@ function Ac({
9845
9846
  });
9846
9847
  return o;
9847
9848
  }
9848
- function Dc({
9849
+ function Lc({
9849
9850
  mutationFn: t,
9850
9851
  mutationHandlers: {
9851
9852
  mutate: e,
@@ -9862,7 +9863,7 @@ function Dc({
9862
9863
  });
9863
9864
  return r;
9864
9865
  }
9865
- function Lc({
9866
+ function Ic({
9866
9867
  queryFns: {
9867
9868
  create: t,
9868
9869
  edit: e,
@@ -9880,7 +9881,7 @@ function Lc({
9880
9881
  },
9881
9882
  user: f,
9882
9883
  ...l
9883
- }, d = Ac({ ...u, mutationFn: t }), m = Dc({ ...u, mutationFn: e }), p = Ic({ ...u, mutationFn: n }), g = qc({ ...u, mutationFn: i }), _ = Uc({ ...u, mutationFn: s }), { activities: b, ...v } = Bc({ queryKey: o, queryFn: r });
9884
+ }, d = Dc({ ...u, mutationFn: t }), m = Lc({ ...u, mutationFn: e }), p = Bc({ ...u, mutationFn: n }), g = Uc({ ...u, mutationFn: i }), _ = zc({ ...u, mutationFn: s }), { activities: b, ...v } = qc({ queryKey: o, queryFn: r });
9884
9885
  return {
9885
9886
  activities: b,
9886
9887
  mutations: {
@@ -9894,7 +9895,7 @@ function Lc({
9894
9895
  ...v
9895
9896
  };
9896
9897
  }
9897
- function Ic({
9898
+ function Bc({
9898
9899
  mutationFn: t,
9899
9900
  mutationHandlers: {
9900
9901
  mutate: e,
@@ -9917,7 +9918,7 @@ function Ic({
9917
9918
  });
9918
9919
  return s;
9919
9920
  }
9920
- function Bc({ queryFn: t, queryKey: e }) {
9921
+ function qc({ queryFn: t, queryKey: e }) {
9921
9922
  const {
9922
9923
  data: n,
9923
9924
  error: r,
@@ -9931,14 +9932,14 @@ function Bc({ queryFn: t, queryKey: e }) {
9931
9932
  getNextPageParam: (c) => (c == null ? void 0 : c.next) || null
9932
9933
  });
9933
9934
  return {
9934
- activities: Zc(n),
9935
+ activities: Wc(n),
9935
9936
  error: r,
9936
9937
  isLoading: i,
9937
9938
  hasNextPage: s,
9938
9939
  fetchNextPage: o
9939
9940
  };
9940
9941
  }
9941
- function qc({
9942
+ function Uc({
9942
9943
  mutationFn: t,
9943
9944
  mutationHandlers: {
9944
9945
  mutate: e,
@@ -9947,12 +9948,12 @@ function qc({
9947
9948
  }) {
9948
9949
  const { mutate: r } = je({
9949
9950
  mutationFn: t,
9950
- onMutate: ({ activityId: i }) => e((s) => zc(i, s)),
9951
+ onMutate: ({ activityId: i }) => e((s) => Zc(i, s)),
9951
9952
  onError: n
9952
9953
  });
9953
9954
  return r;
9954
9955
  }
9955
- function Uc({
9956
+ function zc({
9956
9957
  mutationFn: t,
9957
9958
  mutationHandlers: {
9958
9959
  mutate: e,
@@ -9987,7 +9988,7 @@ function Xt(t, e) {
9987
9988
  return r;
9988
9989
  }
9989
9990
  }
9990
- function zc(t, e) {
9991
+ function Zc(t, e) {
9991
9992
  for (const { results: n } of e.pages) {
9992
9993
  const r = n.findIndex(({ id: i }) => i === t);
9993
9994
  if (r !== -1) {
@@ -9997,11 +9998,11 @@ function zc(t, e) {
9997
9998
  }
9998
9999
  return e;
9999
10000
  }
10000
- function Zc(t) {
10001
+ function Wc(t) {
10001
10002
  var e;
10002
10003
  return ((e = t == null ? void 0 : t.pages) == null ? void 0 : e.reduce((n, { results: r }) => [...n, ...r], [])) || [];
10003
10004
  }
10004
- const lu = ({
10005
+ const uu = ({
10005
10006
  basePath: t,
10006
10007
  parentId: e,
10007
10008
  isMember: n,
@@ -10015,7 +10016,7 @@ const lu = ({
10015
10016
  isLoading: d,
10016
10017
  mutations: { create: m, edit: p, remove: g, like: _, unlike: b },
10017
10018
  user: v
10018
- } = Lc({
10019
+ } = Ic({
10019
10020
  queryKey: [t, e, "activities"],
10020
10021
  queryFns: r
10021
10022
  });
@@ -10121,7 +10122,7 @@ const lu = ({
10121
10122
  }
10122
10123
  )
10123
10124
  ] });
10124
- }, uu = {
10125
+ }, du = {
10125
10126
  next: "id_lt=67ef0342-6f6e-4807-beea-5a9184ec140c&limit=5",
10126
10127
  results: [
10127
10128
  {
@@ -10673,7 +10674,7 @@ const lu = ({
10673
10674
  ],
10674
10675
  duration: "6.48ms"
10675
10676
  };
10676
- function Wc({
10677
+ function Hc({
10677
10678
  mutationFn: t,
10678
10679
  mutationHandlers: { mutate: e, error: n },
10679
10680
  queryClient: r,
@@ -10683,7 +10684,7 @@ function Wc({
10683
10684
  const { mutate: o } = je({
10684
10685
  mutationFn: t,
10685
10686
  onMutate: (c) => e((f) => {
10686
- const l = Gr({ reply: Pc(c), user: s });
10687
+ const l = Gr({ reply: Mc(c), user: s });
10687
10688
  return ea(l, f, {
10688
10689
  replace: !1,
10689
10690
  append: (c == null ? void 0 : c.replyId) !== void 0
@@ -10702,7 +10703,7 @@ function Wc({
10702
10703
  });
10703
10704
  return o;
10704
10705
  }
10705
- function Hc({
10706
+ function Vc({
10706
10707
  mutationFn: t,
10707
10708
  mutationHandlers: {
10708
10709
  mutate: e,
@@ -10737,7 +10738,7 @@ function Qa({
10737
10738
  },
10738
10739
  user: f,
10739
10740
  ...l
10740
- }, d = Wc({ ...u, mutationFn: t }), m = Hc({ ...u, mutationFn: e }), p = Vc({ ...u, mutationFn: n }), g = Kc({ ...u, mutationFn: i }), _ = Gc({ ...u, mutationFn: s }), { replies: b, ...v } = Yc({ queryKey: o, queryFn: r });
10741
+ }, d = Hc({ ...u, mutationFn: t }), m = Vc({ ...u, mutationFn: e }), p = Yc({ ...u, mutationFn: n }), g = Gc({ ...u, mutationFn: i }), _ = Qc({ ...u, mutationFn: s }), { replies: b, ...v } = Kc({ queryKey: o, queryFn: r });
10741
10742
  return {
10742
10743
  replies: b,
10743
10744
  mutations: {
@@ -10751,7 +10752,7 @@ function Qa({
10751
10752
  ...v
10752
10753
  };
10753
10754
  }
10754
- function Vc({
10755
+ function Yc({
10755
10756
  mutationFn: t,
10756
10757
  mutationHandlers: {
10757
10758
  mutate: e,
@@ -10774,7 +10775,7 @@ function Vc({
10774
10775
  });
10775
10776
  return s;
10776
10777
  }
10777
- function Yc({ queryFn: t, queryKey: e }) {
10778
+ function Kc({ queryFn: t, queryKey: e }) {
10778
10779
  const {
10779
10780
  data: n,
10780
10781
  error: r,
@@ -10786,7 +10787,7 @@ function Yc({ queryFn: t, queryKey: e }) {
10786
10787
  queryFn: t,
10787
10788
  initialPageParam: { next: "" },
10788
10789
  getNextPageParam: (l) => (l == null ? void 0 : l.next) || null
10789
- }), c = tl(n), f = `${c.length || 0}${s ? "+" : ""}`;
10790
+ }), c = nl(n), f = `${c.length || 0}${s ? "+" : ""}`;
10790
10791
  return {
10791
10792
  replies: c,
10792
10793
  repliesCount: f,
@@ -10796,7 +10797,7 @@ function Yc({ queryFn: t, queryKey: e }) {
10796
10797
  fetchNextPage: o
10797
10798
  };
10798
10799
  }
10799
- function Kc({
10800
+ function Gc({
10800
10801
  mutationFn: t,
10801
10802
  mutationHandlers: {
10802
10803
  mutate: e,
@@ -10805,12 +10806,12 @@ function Kc({
10805
10806
  }) {
10806
10807
  const { mutate: r } = je({
10807
10808
  mutationFn: t,
10808
- onMutate: ({ replyId: i }) => e((s) => el(i, s)),
10809
+ onMutate: ({ replyId: i }) => e((s) => tl(i, s)),
10809
10810
  onError: n
10810
10811
  });
10811
10812
  return r;
10812
10813
  }
10813
- function Gc({
10814
+ function Qc({
10814
10815
  mutationFn: t,
10815
10816
  mutationHandlers: {
10816
10817
  mutate: e,
@@ -10822,13 +10823,13 @@ function Gc({
10822
10823
  mutationFn: t,
10823
10824
  onMutate: ({ replyId: s }) => e((o) => {
10824
10825
  const c = en(s, o);
10825
- return c && Mc({ reply: c, user: r }), o;
10826
+ return c && Rc({ reply: c, user: r }), o;
10826
10827
  }),
10827
10828
  onError: n
10828
10829
  });
10829
10830
  return i;
10830
10831
  }
10831
- function Qc(t) {
10832
+ function Jc(t) {
10832
10833
  return {
10833
10834
  pages: [{
10834
10835
  next: "",
@@ -10837,15 +10838,15 @@ function Qc(t) {
10837
10838
  pageParams: [""]
10838
10839
  };
10839
10840
  }
10840
- function Jc(t, e, n) {
10841
+ function Xc(t, e, n) {
10841
10842
  const r = e.pages.length - 1, i = e.pages[r].results.length - 1;
10842
10843
  return n != null && n.replace ? e.pages[r].results[i] = t : e.pages[r].results.push(t), e;
10843
10844
  }
10844
- function Xc(t, e, n) {
10845
+ function el(t, e, n) {
10845
10846
  return n != null && n.replace ? e.pages[0].results[0] = t : e.pages[0].results = [t, ...e.pages[0].results], e;
10846
10847
  }
10847
10848
  function ea(t, e, n) {
10848
- return e ? n != null && n.append ? Jc(t, e, n) : Xc(t, e, n) : Qc(t);
10849
+ return e ? n != null && n.append ? Xc(t, e, n) : el(t, e, n) : Jc(t);
10849
10850
  }
10850
10851
  function en(t, e) {
10851
10852
  if (e)
@@ -10855,7 +10856,7 @@ function en(t, e) {
10855
10856
  return r;
10856
10857
  }
10857
10858
  }
10858
- function el(t, e) {
10859
+ function tl(t, e) {
10859
10860
  for (const { results: n } of e.pages) {
10860
10861
  const r = n.findIndex(({ id: i }) => i === t);
10861
10862
  if (r !== -1) {
@@ -10865,11 +10866,11 @@ function el(t, e) {
10865
10866
  }
10866
10867
  return e;
10867
10868
  }
10868
- function tl(t) {
10869
+ function nl(t) {
10869
10870
  var e;
10870
10871
  return ((e = t == null ? void 0 : t.pages) == null ? void 0 : e.reduce((n, r) => [...n, ...r == null ? void 0 : r.results], [])) || [];
10871
10872
  }
10872
- const nl = ({
10873
+ const rl = ({
10873
10874
  basePath: t,
10874
10875
  parentId: e,
10875
10876
  activityId: n,
@@ -10893,7 +10894,7 @@ const nl = ({
10893
10894
  }
10894
10895
  });
10895
10896
  return /* @__PURE__ */ a.jsx(
10896
- Tc,
10897
+ Ec,
10897
10898
  {
10898
10899
  loadMore: { isLoading: l, hasNextPage: f, loadNextPage: () => c() },
10899
10900
  form: {
@@ -10981,7 +10982,7 @@ const nl = ({
10981
10982
  }) : null
10982
10983
  }
10983
10984
  );
10984
- }, rl = ({
10985
+ }, al = ({
10985
10986
  basePath: t,
10986
10987
  parentId: e,
10987
10988
  activityId: n,
@@ -11001,7 +11002,7 @@ const nl = ({
11001
11002
  queryFns: i
11002
11003
  });
11003
11004
  return Ii(), Ka(), /* @__PURE__ */ a.jsxs("section", { children: [
11004
- /* @__PURE__ */ a.jsx(kc, { type: "comment", responses: l }),
11005
+ /* @__PURE__ */ a.jsx(Tc, { type: "comment", responses: l }),
11005
11006
  /* @__PURE__ */ a.jsx(
11006
11007
  Za,
11007
11008
  {
@@ -11038,7 +11039,7 @@ const nl = ({
11038
11039
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11039
11040
  ((H = (q = j == null ? void 0 : j.data) == null ? void 0 : q.content) == null ? void 0 : H.text) || ""
11040
11041
  );
11041
- return /* @__PURE__ */ a.jsx(yc, { children: /* @__PURE__ */ a.jsx(
11042
+ return /* @__PURE__ */ a.jsx(_c, { children: /* @__PURE__ */ a.jsx(
11042
11043
  sn,
11043
11044
  {
11044
11045
  content: {
@@ -11081,7 +11082,7 @@ const nl = ({
11081
11082
  comments: {}
11082
11083
  },
11083
11084
  children: /* @__PURE__ */ a.jsx(
11084
- nl,
11085
+ rl,
11085
11086
  {
11086
11087
  basePath: t,
11087
11088
  parentId: e,
@@ -11111,7 +11112,7 @@ const nl = ({
11111
11112
  )
11112
11113
  ] });
11113
11114
  };
11114
- function al({
11115
+ function il({
11115
11116
  mutationFn: t,
11116
11117
  mutationHandlers: {
11117
11118
  mutate: e,
@@ -11125,7 +11126,7 @@ function al({
11125
11126
  });
11126
11127
  return r;
11127
11128
  }
11128
- function il({ queryFn: t, queryKey: e }) {
11129
+ function sl({ queryFn: t, queryKey: e }) {
11129
11130
  const {
11130
11131
  data: n,
11131
11132
  error: r,
@@ -11142,7 +11143,7 @@ function il({ queryFn: t, queryKey: e }) {
11142
11143
  isFetching: s
11143
11144
  };
11144
11145
  }
11145
- function sl({
11146
+ function ol({
11146
11147
  queryFns: {
11147
11148
  read: t,
11148
11149
  edit: e,
@@ -11158,7 +11159,7 @@ function sl({
11158
11159
  },
11159
11160
  user: o,
11160
11161
  ...c
11161
- }, l = al({ ...f, mutationFn: e }), u = ol({ ...f, mutationFn: n }), d = cl({ ...f, mutationFn: r }), { activity: m, ...p } = il({ queryKey: i, queryFn: t });
11162
+ }, l = il({ ...f, mutationFn: e }), u = cl({ ...f, mutationFn: n }), d = ll({ ...f, mutationFn: r }), { activity: m, ...p } = sl({ queryKey: i, queryFn: t });
11162
11163
  return {
11163
11164
  activity: m,
11164
11165
  mutations: {
@@ -11170,7 +11171,7 @@ function sl({
11170
11171
  ...p
11171
11172
  };
11172
11173
  }
11173
- function ol({
11174
+ function cl({
11174
11175
  mutationFn: t,
11175
11176
  mutationHandlers: {
11176
11177
  mutate: e,
@@ -11189,7 +11190,7 @@ function ol({
11189
11190
  });
11190
11191
  return s;
11191
11192
  }
11192
- function cl({
11193
+ function ll({
11193
11194
  mutationFn: t,
11194
11195
  mutationHandlers: {
11195
11196
  mutate: e,
@@ -11204,7 +11205,7 @@ function cl({
11204
11205
  });
11205
11206
  return i;
11206
11207
  }
11207
- const du = ({
11208
+ const fu = ({
11208
11209
  basePath: t,
11209
11210
  parentId: e,
11210
11211
  activityId: n,
@@ -11222,7 +11223,7 @@ const du = ({
11222
11223
  error: m,
11223
11224
  isLoading: p,
11224
11225
  mutations: { edit: g, like: _, unlike: b }
11225
- } = sl({
11226
+ } = ol({
11226
11227
  queryFns: s,
11227
11228
  queryKey: [t, e, n]
11228
11229
  });
@@ -11296,7 +11297,7 @@ const du = ({
11296
11297
  n
11297
11298
  ),
11298
11299
  /* @__PURE__ */ a.jsx(
11299
- rl,
11300
+ al,
11300
11301
  {
11301
11302
  basePath: t,
11302
11303
  parentId: e,
@@ -11310,7 +11311,7 @@ const du = ({
11310
11311
  }
11311
11312
  )
11312
11313
  ] });
11313
- }, fu = ({
11314
+ }, mu = ({
11314
11315
  id: t,
11315
11316
  data: { jobTitle: e, name: n, organization: r, thumbnail: i }
11316
11317
  }) => ({
@@ -11363,18 +11364,18 @@ const du = ({
11363
11364
  contributors: ["community"]
11364
11365
  }
11365
11366
  ];
11366
- const Ot = "notFoundError_", mu = () => {
11367
+ const Ot = "notFoundError_", pu = () => {
11367
11368
  const t = K(), e = [];
11368
11369
  return ta.forEach((n, r) => {
11369
11370
  n.title = t.formatMessage({ id: `${Ot}post_${r + 1}` }), e.push("solutionArticle");
11370
11371
  }), /* @__PURE__ */ a.jsxs(
11371
- pc,
11372
+ hc,
11372
11373
  {
11373
11374
  styling: { background: "bold", circle: "small", variant: "alt-2" },
11374
11375
  additionalContent: {
11375
11376
  appended: /* @__PURE__ */ a.jsxs(We, { children: [
11376
11377
  /* @__PURE__ */ a.jsx(
11377
- Jo,
11378
+ Xo,
11378
11379
  {
11379
11380
  cards: ta,
11380
11381
  cardTypes: e,
@@ -11398,112 +11399,112 @@ const Ot = "notFoundError_", mu = () => {
11398
11399
  };
11399
11400
  export {
11400
11401
  ze as ASSETS_BUCKET,
11401
- lu as ActivitiesFeed,
11402
- du as ActivitySection,
11402
+ uu as ActivitiesFeed,
11403
+ fu as ActivitySection,
11403
11404
  Za as AddPost,
11404
- Ml as Banner,
11405
- Al as BannerSection,
11406
- Ql as Breadcrumbs,
11405
+ Rl as Banner,
11406
+ Dl as BannerSection,
11407
+ Jl as Breadcrumbs,
11407
11408
  ie as Button,
11408
11409
  xt as ButtonWrapper,
11409
11410
  kt as COURSE_CONTENT_TYPES,
11410
- xs as CacheProvider,
11411
+ ws as CacheProvider,
11411
11412
  Ia as Card,
11412
- Jo as CardBlock,
11413
- Kl as Carousel,
11413
+ Xo as CardBlock,
11414
+ Gl as Carousel,
11414
11415
  Kn as CollapsibleSection,
11415
- uc as Columns,
11416
- Gl as CommunityDetails,
11417
- nu as ContactFooter,
11418
- Us as ContactForm,
11416
+ dc as Columns,
11417
+ Ql as CommunityDetails,
11418
+ ru as ContactFooter,
11419
+ zs as ContactForm,
11419
11420
  as as ContentTypeLabel,
11420
11421
  wa as Contributors,
11421
11422
  rr as ConversationContext,
11422
- dc as CookieBanner,
11423
- su as CourseProgression,
11424
- ou as CourseStructure,
11425
- Dl as CustomContentBanner,
11426
- Yl as Directory,
11427
- yc as DiscussionConversation,
11423
+ fc as CookieBanner,
11424
+ ou as CourseProgression,
11425
+ cu as CourseStructure,
11426
+ Ll as CustomContentBanner,
11427
+ Kl as Directory,
11428
+ _c as DiscussionConversation,
11428
11429
  nr as DiscussionForm,
11429
- wc as DiscussionLikes,
11430
+ jc as DiscussionLikes,
11430
11431
  sn as DiscussionPost,
11431
- Tc as DiscussionThread,
11432
+ Ec as DiscussionThread,
11432
11433
  Oe as Divider,
11433
- Rl as DownloadSection,
11434
+ Fl as DownloadSection,
11434
11435
  dt as EMAILS,
11435
- Fl as EditSection,
11436
- Ps as EmailHelperTextBox,
11436
+ Ol as EditSection,
11437
+ Ms as EmailHelperTextBox,
11437
11438
  rt as EmptyStateBox,
11438
- Jl as Filters,
11439
- ks as FlagsProvider,
11439
+ Xl as Filters,
11440
+ Ts as FlagsProvider,
11440
11441
  Ua as Footer,
11441
11442
  Xn as Form,
11442
11443
  We as FullWidthSection,
11443
- Bl as GlobalProviders,
11444
+ ql as GlobalProviders,
11444
11445
  za as Header,
11445
11446
  is as HelperTextBox,
11446
11447
  Vn as HiddenFromScreenReaders,
11447
- Cl as HideShowTextBox,
11448
- Ll as HighlightSection,
11448
+ $l as HideShowTextBox,
11449
+ Il as HighlightSection,
11449
11450
  Fe as HighlightedTextBox,
11450
- $l as IconBulletedList,
11451
- El as ImageContainer,
11452
- Ts as IntlProvider,
11453
- zs as InviteForm,
11454
- Vl as InviteModal,
11451
+ Nl as IconBulletedList,
11452
+ Sl as ImageContainer,
11453
+ Es as IntlProvider,
11454
+ Zs as InviteForm,
11455
+ Yl as InviteModal,
11455
11456
  Ba as JoinButton,
11456
11457
  ga as LanguageContext,
11457
- Xl as LanguageSwitcher,
11458
- gc as LessonName,
11459
- vc as LessonType,
11458
+ eu as LanguageSwitcher,
11459
+ vc as LessonName,
11460
+ bc as LessonType,
11460
11461
  nt as Link,
11461
11462
  rn as LoadMore,
11462
- ql as LoadingBlock,
11463
+ Ul as LoadingBlock,
11463
11464
  Ee as LoadingPlaceholder,
11464
11465
  ya as LoadingState,
11465
11466
  qa as Logo,
11466
- Ol as LogoSection,
11467
- cu as MarkCompleteButton,
11467
+ Al as LogoSection,
11468
+ lu as MarkCompleteButton,
11468
11469
  Bt as MarkdownText,
11469
- Il as MarketingBlock,
11470
+ Bl as MarketingBlock,
11470
11471
  Jn as Member,
11471
- iu as MembersList,
11472
+ su as MembersList,
11472
11473
  La as Modal,
11473
- rc as MoreMenu,
11474
- kl as NUMBER_OF_USERS,
11475
- sc as NavigationMenu,
11476
- mu as NotFoundError,
11474
+ ac as MoreMenu,
11475
+ Tl as NUMBER_OF_USERS,
11476
+ oc as NavigationMenu,
11477
+ pu as NotFoundError,
11477
11478
  nn as Overlay,
11478
- ps as PageHeading,
11479
- pc as PageLayout,
11480
- Ul as PasswordRules,
11479
+ hs as PageHeading,
11480
+ hc as PageLayout,
11481
+ zl as PasswordRules,
11481
11482
  qt as Pill,
11482
- Wl as ProfileImageChange,
11483
+ Hl as ProfileImageChange,
11483
11484
  He as ProfilePicture,
11484
11485
  va as ProgressBar,
11485
- zl as Rating,
11486
- rl as RepliesFeed,
11487
- kc as ResponsesHeading,
11486
+ Zl as Rating,
11487
+ al as RepliesFeed,
11488
+ Tc as ResponsesHeading,
11488
11489
  wt as ResponsiveImage,
11489
- Sl as ReturnToNavButton,
11490
- Zs as SearchForm,
11491
- eu as ShareLinks,
11492
- Hl as SignupForm,
11493
- fs as Span,
11490
+ Cl as ReturnToNavButton,
11491
+ Ws as SearchForm,
11492
+ tu as ShareLinks,
11493
+ Vl as SignupForm,
11494
+ ms as Span,
11494
11495
  Ut as StatusBanner,
11495
- Pl as TableOfContents,
11496
- tu as Tabs,
11497
- au as Tags,
11498
- Nl as TestimonialBlock,
11496
+ Ml as TableOfContents,
11497
+ nu as Tabs,
11498
+ iu as Tags,
11499
+ Pl as TestimonialBlock,
11499
11500
  Gn as TimeToComplete,
11500
- Zl as Toggle,
11501
- gs as Tooltip,
11502
- ru as TopLevelPage,
11501
+ Wl as Toggle,
11502
+ vs as Tooltip,
11503
+ au as TopLevelPage,
11503
11504
  De as UserContext,
11504
- Es as UserProvider,
11505
+ Ss as UserProvider,
11505
11506
  be as VisuallyHidden,
11506
- Yo as addAriaProps,
11507
+ Ko as addAriaProps,
11507
11508
  ua as basicReducer,
11508
11509
  Bi as camelCaseToDashCase,
11509
11510
  Yn as checkIntlPathExists,
@@ -11512,10 +11513,10 @@ export {
11512
11513
  xa as getMember,
11513
11514
  Zi as getShortDate,
11514
11515
  Gt as headerData,
11515
- fu as mapGetStreamData,
11516
+ mu as mapGetStreamData,
11516
11517
  Ji as pageReady,
11517
- Tl as passwordValidator,
11518
- uu as repliesFeedMock,
11518
+ El as passwordValidator,
11519
+ du as repliesFeedMock,
11519
11520
  pn as supportedLanguages,
11520
11521
  qi as toCamelCase,
11521
11522
  Ui as toSentenceCase,