@apolitical/component-library 2.0.2-ac.1 → 2.0.2-ac.2

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
@@ -126,8 +126,8 @@ function cs() {
126
126
  }
127
127
  function j(p, T, M) {
128
128
  {
129
- var V = b.ReactDebugCurrentFrame, ae = V.getStackAddendum();
130
- ae !== "" && (T += "%s", M = M.concat([ae]));
129
+ var V = b.ReactDebugCurrentFrame, se = V.getStackAddendum();
130
+ se !== "" && (T += "%s", M = M.concat([se]));
131
131
  var ue = M.map(function(re) {
132
132
  return String(re);
133
133
  });
@@ -147,8 +147,8 @@ function cs() {
147
147
  var V = p.displayName;
148
148
  if (V)
149
149
  return V;
150
- var ae = T.displayName || T.name || "";
151
- return ae !== "" ? M + "(" + ae + ")" : M;
150
+ var se = T.displayName || T.name || "";
151
+ return se !== "" ? M + "(" + se + ")" : M;
152
152
  }
153
153
  function ee(p) {
154
154
  return p.displayName || "Context";
@@ -188,7 +188,7 @@ function cs() {
188
188
  var V = p.displayName || null;
189
189
  return V !== null ? V : W(p.type) || "Memo";
190
190
  case m: {
191
- var ae = p, ue = ae._payload, re = ae._init;
191
+ var se = p, ue = se._payload, re = se._init;
192
192
  try {
193
193
  return W(re(ue));
194
194
  } catch {
@@ -266,8 +266,8 @@ function cs() {
266
266
  if (I === void 0)
267
267
  try {
268
268
  throw Error();
269
- } catch (ae) {
270
- var V = ae.stack.trim().match(/\n( *(at )?)/);
269
+ } catch (se) {
270
+ var V = se.stack.trim().match(/\n( *(at )?)/);
271
271
  I = V && V[1] || "";
272
272
  }
273
273
  return `
@@ -289,7 +289,7 @@ function cs() {
289
289
  }
290
290
  var V;
291
291
  Z = !0;
292
- var ae = Error.prepareStackTrace;
292
+ var se = Error.prepareStackTrace;
293
293
  Error.prepareStackTrace = void 0;
294
294
  var ue;
295
295
  ue = O.current, O.current = null, z();
@@ -345,7 +345,7 @@ function cs() {
345
345
  }
346
346
  }
347
347
  } finally {
348
- Z = !1, O.current = ue, K(), Error.prepareStackTrace = ae;
348
+ Z = !1, O.current = ue, K(), Error.prepareStackTrace = se;
349
349
  }
350
350
  var qe = p ? p.displayName || p.name : "", nr = qe ? Y(qe) : "";
351
351
  return typeof p == "function" && R.set(p, nr), nr;
@@ -377,9 +377,9 @@ function cs() {
377
377
  case l:
378
378
  return Ee(p.type, T, M);
379
379
  case m: {
380
- var V = p, ae = V._payload, ue = V._init;
380
+ var V = p, se = V._payload, ue = V._init;
381
381
  try {
382
- return Ee(ue(ae), T, M);
382
+ return Ee(ue(se), T, M);
383
383
  } catch {
384
384
  }
385
385
  }
@@ -394,7 +394,7 @@ function cs() {
394
394
  } else
395
395
  Hn.setExtraStackFrame(null);
396
396
  }
397
- function ja(p, T, M, V, ae) {
397
+ function ja(p, T, M, V, se) {
398
398
  {
399
399
  var ue = Function.call.bind(Le);
400
400
  for (var re in p)
@@ -409,7 +409,7 @@ function cs() {
409
409
  } catch (pe) {
410
410
  te = pe;
411
411
  }
412
- te && !(te instanceof Error) && (lt(ae), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", V || "React class", M, re, typeof te), lt(null)), te instanceof Error && !(te.message in Un) && (Un[te.message] = !0, lt(ae), y("Failed %s type: %s", M, te.message), lt(null));
412
+ te && !(te instanceof Error) && (lt(se), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", V || "React class", M, re, typeof te), lt(null)), te instanceof Error && !(te.message in Un) && (Un[te.message] = !0, lt(se), y("Failed %s type: %s", M, te.message), lt(null));
413
413
  }
414
414
  }
415
415
  }
@@ -488,7 +488,7 @@ function cs() {
488
488
  });
489
489
  }
490
490
  }
491
- var Na = function(p, T, M, V, ae, ue, re) {
491
+ var Na = function(p, T, M, V, se, ue, re) {
492
492
  var te = {
493
493
  // This tag allows us to uniquely identify this as a React Element
494
494
  $$typeof: t,
@@ -514,13 +514,13 @@ function cs() {
514
514
  configurable: !1,
515
515
  enumerable: !1,
516
516
  writable: !1,
517
- value: ae
517
+ value: se
518
518
  }), Object.freeze && (Object.freeze(te.props), Object.freeze(te)), te;
519
519
  };
520
- function Aa(p, T, M, V, ae) {
520
+ function Aa(p, T, M, V, se) {
521
521
  {
522
522
  var ue, re = {}, te = null, ve = null;
523
- M !== void 0 && (Vn(M), te = "" + M), $a(T) && (Vn(T.key), te = "" + T.key), Ca(T) && (ve = T.ref, Ma(T, ae));
523
+ M !== void 0 && (Vn(M), te = "" + M), $a(T) && (Vn(T.key), te = "" + T.key), Ca(T) && (ve = T.ref, Ma(T, se));
524
524
  for (ue in T)
525
525
  Le.call(T, ue) && !Sa.hasOwnProperty(ue) && (re[ue] = T[ue]);
526
526
  if (p && p.defaultProps) {
@@ -532,7 +532,7 @@ function cs() {
532
532
  var he = typeof p == "function" ? p.displayName || p.name || "Unknown" : p;
533
533
  te && Pa(re, he), ve && Ra(re, he);
534
534
  }
535
- return Na(p, te, ve, ae, V, Ve.current, re);
535
+ return Na(p, te, ve, se, V, Ve.current, re);
536
536
  }
537
537
  }
538
538
  var It = b.ReactCurrentOwner, Kn = b.ReactDebugCurrentFrame;
@@ -609,9 +609,9 @@ Check the top-level render call using <` + M + ">.");
609
609
  else if (qt(p))
610
610
  p._store && (p._store.validated = !0);
611
611
  else if (p) {
612
- var ae = _(p);
613
- if (typeof ae == "function" && ae !== p.entries)
614
- for (var ue = ae.call(p), re; !(re = ue.next()).done; )
612
+ var se = _(p);
613
+ if (typeof se == "function" && se !== p.entries)
614
+ for (var ue = se.call(p), re; !(re = ue.next()).done; )
615
615
  qt(re.value) && Xn(re.value, T);
616
616
  }
617
617
  }
@@ -635,8 +635,8 @@ Check the top-level render call using <` + M + ">.");
635
635
  ja(M, p.props, "prop", V, p);
636
636
  } else if (T.PropTypes !== void 0 && !Bt) {
637
637
  Bt = !0;
638
- var ae = W(T);
639
- y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ae || "Unknown");
638
+ var se = W(T);
639
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", se || "Unknown");
640
640
  }
641
641
  typeof T.getDefaultProps == "function" && !T.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
642
642
  }
@@ -653,18 +653,18 @@ Check the top-level render call using <` + M + ">.");
653
653
  p.ref !== null && (Be(p), y("Invalid attribute `ref` supplied to `React.Fragment`."), Be(null));
654
654
  }
655
655
  }
656
- function tr(p, T, M, V, ae, ue) {
656
+ function tr(p, T, M, V, se, ue) {
657
657
  {
658
658
  var re = A(p);
659
659
  if (!re) {
660
660
  var te = "";
661
661
  (p === void 0 || typeof p == "object" && p !== null && Object.keys(p).length === 0) && (te += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
662
- var ve = Oa(ae);
662
+ var ve = Oa(se);
663
663
  ve ? te += ve : te += Qn();
664
664
  var pe;
665
665
  p === null ? pe = "null" : Lt(p) ? pe = "array" : p !== void 0 && p.$$typeof === t ? (pe = "<" + (W(p.type) || "Unknown") + " />", te = " Did you accidentally export a JSX literal instead of a component?") : pe = typeof p, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", pe, te);
666
666
  }
667
- var he = Aa(p, T, M, ae, ue);
667
+ var he = Aa(p, T, M, se, ue);
668
668
  if (he == null)
669
669
  return he;
670
670
  if (re) {
@@ -1299,7 +1299,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1299
1299
  const t = document.querySelector(".splash-screen");
1300
1300
  t && t.remove(), window.prerenderReady = !0;
1301
1301
  }, e);
1302
- }, js = (e) => e.replace(/\s+/g, "").length > 0, se = ({
1302
+ }, js = (e) => e.replace(/\s+/g, "").length > 0, ae = ({
1303
1303
  variant: e = "primary",
1304
1304
  size: t = "medium",
1305
1305
  styling: n = { muted: !1, fullWidth: !1 },
@@ -1338,7 +1338,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1338
1338
  u || (d ? /* @__PURE__ */ a.jsx(ge, { showOnFocus: !1, children: d }) : null)
1339
1339
  );
1340
1340
  }, Rt = ({ buttons: e, className: t = "", ...n }) => {
1341
- const r = e.length > 1 ? "ul" : "p", s = e.map((i, c) => r === "p" ? /* @__PURE__ */ a.jsx(se, { ...i }, c) : /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(se, { ...i }) }, c));
1341
+ const r = e.length > 1 ? "ul" : "p", s = e.map((i, c) => r === "p" ? /* @__PURE__ */ a.jsx(ae, { ...i }, c) : /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(ae, { ...i }) }, c));
1342
1342
  return L.createElement(r, {
1343
1343
  className: S("button-wrapper", t),
1344
1344
  ...n,
@@ -1530,6 +1530,28 @@ const hc = ({ image: e, className: t, testId: n }) => /* @__PURE__ */ a.jsx(
1530
1530
  }
1531
1531
  return n ? L.createElement(n, { children: t, className: r, ...o }) : t;
1532
1532
  };
1533
+ const gc = ({ elementId: e }) => {
1534
+ const t = () => {
1535
+ const n = document.getElementById(e);
1536
+ if (!n)
1537
+ return;
1538
+ const r = document.getElementById("header");
1539
+ r && window.scrollTo({
1540
+ top: n.offsetTop - r.clientHeight - 20
1541
+ });
1542
+ };
1543
+ return /* @__PURE__ */ a.jsx(
1544
+ ae,
1545
+ {
1546
+ variant: "secondary",
1547
+ className: "return-to-nav",
1548
+ onClick: t,
1549
+ "data-gtm-event-context": "ListPageMobile",
1550
+ "data-gtm-event-type": "back-to-nav-button-click",
1551
+ screenreaderText: "Back to top"
1552
+ }
1553
+ );
1554
+ };
1533
1555
  let Ke = !1;
1534
1556
  const Es = ({ isOpen: e = !1, isLoading: t = !1, children: n }) => {
1535
1557
  const r = H(), s = me(null), [i, c] = J("hidden");
@@ -1560,7 +1582,7 @@ const Es = ({ isOpen: e = !1, isLoading: t = !1, children: n }) => {
1560
1582
  );
1561
1583
  };
1562
1584
  const ot = ({ children: e, className: t = "", ...n }) => /* @__PURE__ */ a.jsx("section", { className: S("full-width-section", t), ...n, children: e });
1563
- const gc = ({ text: e, buttons: t, className: n = "" }) => {
1585
+ const _c = ({ text: e, buttons: t, className: n = "" }) => {
1564
1586
  const r = [];
1565
1587
  return t.forEach((s) => {
1566
1588
  r.push({
@@ -1582,7 +1604,7 @@ const gc = ({ text: e, buttons: t, className: n = "" }) => {
1582
1604
  /* @__PURE__ */ a.jsx(Rt, { buttons: r })
1583
1605
  ] }) });
1584
1606
  };
1585
- const _c = ({
1607
+ const vc = ({
1586
1608
  title: e = !1,
1587
1609
  logos: t = [],
1588
1610
  className: n = ""
@@ -1701,7 +1723,7 @@ const Ss = [
1701
1723
  }),
1702
1724
  o,
1703
1725
  c && c.text && c.link && /* @__PURE__ */ a.jsx(
1704
- se,
1726
+ ae,
1705
1727
  {
1706
1728
  variant: n || r === "light" ? "primary" : "secondary",
1707
1729
  size: { mobile: "medium", 768: "large" },
@@ -1715,8 +1737,8 @@ const Ss = [
1715
1737
  ] })
1716
1738
  }
1717
1739
  );
1718
- }, vc = Ie(Cs);
1719
- const bc = ({
1740
+ }, bc = Ie(Cs);
1741
+ const yc = ({
1720
1742
  variant: e = "primary",
1721
1743
  button: t = null,
1722
1744
  title: n,
@@ -1726,7 +1748,7 @@ const bc = ({
1726
1748
  n && /* @__PURE__ */ a.jsx("p", { className: "title", children: n }),
1727
1749
  r && /* @__PURE__ */ a.jsx("p", { children: r }),
1728
1750
  t && /* @__PURE__ */ a.jsx(
1729
- se,
1751
+ ae,
1730
1752
  {
1731
1753
  variant: "secondary",
1732
1754
  size: "medium",
@@ -1790,13 +1812,13 @@ const Rs = ({ children: e, user: t }) => t.isLoading ? null : process.env.REACT_
1790
1812
  function An() {
1791
1813
  return Ce(Ne);
1792
1814
  }
1793
- const As = ({ children: e, user: t }) => /* @__PURE__ */ a.jsx(Ne.Provider, { value: t, children: e }), yc = ({ bootstrap: e, children: t, intl: n }) => {
1794
- const [r, s] = J({ isLoading: !0 });
1815
+ const As = ({ children: e, user: t }) => /* @__PURE__ */ a.jsx(Ne.Provider, { value: t, children: e }), xc = ({ bootstrap: e, children: t, intl: n, showDevTools: r }) => {
1816
+ const [s, i] = J({ isLoading: !0 });
1795
1817
  return ie(() => {
1796
- e().then((i) => {
1797
- s({ ...i, isLoading: !1 }), ws(5e3);
1798
- }).catch(() => s({ isLoading: !1 }));
1799
- }, []), /* @__PURE__ */ a.jsx(Ns, { locale: n == null ? void 0 : n.locale, messages: n == null ? void 0 : n.messages, children: /* @__PURE__ */ a.jsx(Xa, { children: /* @__PURE__ */ a.jsx(As, { user: r, children: /* @__PURE__ */ a.jsx($s, { children: /* @__PURE__ */ a.jsx(Rs, { user: r, children: t }) }) }) }) });
1818
+ e().then((c) => {
1819
+ i({ ...c, isLoading: !1 }), ws(5e3);
1820
+ }).catch(() => i({ isLoading: !1 }));
1821
+ }, []), /* @__PURE__ */ a.jsx(Ns, { locale: n == null ? void 0 : n.locale, messages: n == null ? void 0 : n.messages, children: /* @__PURE__ */ a.jsx(Xa, { children: /* @__PURE__ */ a.jsx(As, { user: s, children: /* @__PURE__ */ a.jsx($s, { showDevTools: r, children: /* @__PURE__ */ a.jsx(Rs, { user: s, children: t }) }) }) }) });
1800
1822
  }, rt = "https://storage.googleapis.com/apolitical-assets/", Je = {
1801
1823
  general: "hello@apolitical.co",
1802
1824
  support: "concierge@apolitical.co",
@@ -1804,7 +1826,7 @@ const As = ({ children: e, user: t }) => /* @__PURE__ */ a.jsx(Ne.Provider, { va
1804
1826
  default: "dpo@apolitical.co",
1805
1827
  eu: "dpo.agl@apolitical.foundation"
1806
1828
  }
1807
- }, xc = "200,000+";
1829
+ }, wc = "200,000+";
1808
1830
  const Wr = ({ label: e = !1, className: t = "", children: n }) => {
1809
1831
  const r = H();
1810
1832
  return /* @__PURE__ */ a.jsxs("details", { className: S("collapsible-section", t), children: [
@@ -1858,7 +1880,7 @@ const We = ({
1858
1880
  children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1859
1881
  t && /* @__PURE__ */ a.jsx(Pt, { options: { forceBlock: !0 }, children: t }),
1860
1882
  s && typeof n == "object" && (d || /* @__PURE__ */ a.jsx(
1861
- se,
1883
+ ae,
1862
1884
  {
1863
1885
  ...u,
1864
1886
  variant: n.variant ? n.variant : "secondary",
@@ -1891,7 +1913,7 @@ const Os = ({
1891
1913
  }
1892
1914
  ) : /* @__PURE__ */ a.jsx("p", { children: r })
1893
1915
  ] });
1894
- const wc = ({
1916
+ const jc = ({
1895
1917
  className: e = "",
1896
1918
  show: t = !1,
1897
1919
  hide: n = !1,
@@ -1934,7 +1956,7 @@ const wc = ({
1934
1956
  d !== "closed" && s
1935
1957
  ] }),
1936
1958
  /* @__PURE__ */ a.jsx("p", { className: "cta", children: /* @__PURE__ */ a.jsx(
1937
- se,
1959
+ ae,
1938
1960
  {
1939
1961
  variant: "tertiary",
1940
1962
  icon: { icon: "navigation_arrow", position: "left", animate: !0 },
@@ -2038,7 +2060,7 @@ const wc = ({
2038
2060
  else
2039
2061
  break;
2040
2062
  }
2041
- return s ? (n = { ...n, className: "button primary medium" }, /* @__PURE__ */ a.jsx("p", { className: "center", children: /* @__PURE__ */ a.jsx(se, { variant: "primary", size: "medium", ...n, children: r }) })) : /* @__PURE__ */ a.jsx("a", { ...n, children: r });
2063
+ return s ? (n = { ...n, className: "button primary medium" }, /* @__PURE__ */ a.jsx("p", { className: "center", children: /* @__PURE__ */ a.jsx(ae, { variant: "primary", size: "medium", ...n, children: r }) })) : /* @__PURE__ */ a.jsx("a", { ...n, children: r });
2042
2064
  }, Zs = ({ children: e }) => /* @__PURE__ */ a.jsx("span", { children: e });
2043
2065
  const lr = ({ className: e = "", options: t = {}, children: n }) => {
2044
2066
  n = n.replace(/^<br\/?>/, "");
@@ -2142,7 +2164,7 @@ const Ut = "loadingBlock_", Vs = ({ progress: e = 0, steps: t = !1, className: n
2142
2164
  ]
2143
2165
  }
2144
2166
  );
2145
- }, jc = Ie(Vs);
2167
+ }, kc = Ie(Vs);
2146
2168
  const Te = ({ element: e = "div", className: t = "", ...n }) => /* @__PURE__ */ a.jsx(
2147
2169
  Pn,
2148
2170
  {
@@ -2480,7 +2502,7 @@ const ur = {
2480
2502
  );
2481
2503
  if (l === "people")
2482
2504
  return /* @__PURE__ */ a.jsx(
2483
- se,
2505
+ ae,
2484
2506
  {
2485
2507
  variant: "tertiary",
2486
2508
  size: "small",
@@ -2505,7 +2527,7 @@ const ur = {
2505
2527
  }
2506
2528
  };
2507
2529
  return /* @__PURE__ */ a.jsx(
2508
- se,
2530
+ ae,
2509
2531
  {
2510
2532
  onClick: _,
2511
2533
  className: "gtm-trackable",
@@ -2788,7 +2810,7 @@ const ri = ({
2788
2810
  ),
2789
2811
  b <= 1 ? null : /* @__PURE__ */ a.jsxs("ul", { className: "controls", "data-testid": "carousel-controls", children: [
2790
2812
  /* @__PURE__ */ a.jsx("li", { className: "arrow previous", children: /* @__PURE__ */ a.jsx(
2791
- se,
2813
+ ae,
2792
2814
  {
2793
2815
  variant: "secondary",
2794
2816
  size: "large",
@@ -2818,7 +2840,7 @@ const ri = ({
2818
2840
  }
2819
2841
  ) }, `page-indicator-${A}`)),
2820
2842
  /* @__PURE__ */ a.jsx("li", { className: "arrow next", children: /* @__PURE__ */ a.jsx(
2821
- se,
2843
+ ae,
2822
2844
  {
2823
2845
  variant: "secondary",
2824
2846
  size: "large",
@@ -2834,7 +2856,7 @@ const ri = ({
2834
2856
  ]
2835
2857
  }
2836
2858
  );
2837
- }, kc = ({
2859
+ }, Tc = ({
2838
2860
  carousels: e = [],
2839
2861
  isLoading: t,
2840
2862
  title: n,
@@ -2879,7 +2901,7 @@ const Wt = "joinCommunityButton", ea = ({
2879
2901
  }, [o]);
2880
2902
  const l = {}, m = {};
2881
2903
  return o && d !== "leaving" && (l["data-hover-text"] = s.formatMessage({ id: `${Wt}_leave` }), l["aria-label"] = s.formatMessage({ id: `${Wt}_member_aria` }), m["aria-hidden"] = "true"), /* @__PURE__ */ a.jsx(
2882
- se,
2904
+ ae,
2883
2905
  {
2884
2906
  variant: o ? "secondary" : "primary",
2885
2907
  size: "medium",
@@ -2899,7 +2921,7 @@ const Wt = "joinCommunityButton", ea = ({
2899
2921
  }
2900
2922
  );
2901
2923
  };
2902
- const Vt = "communityDetails_", Tc = ({
2924
+ const Vt = "communityDetails_", Ec = ({
2903
2925
  className: e = "",
2904
2926
  isMember: t = !1,
2905
2927
  slug: n,
@@ -2935,7 +2957,7 @@ const Vt = "communityDetails_", Tc = ({
2935
2957
  ] }),
2936
2958
  /* @__PURE__ */ a.jsx(ea, { isMember: t, functions: { ...c } }),
2937
2959
  t && /* @__PURE__ */ a.jsx(
2938
- se,
2960
+ ae,
2939
2961
  {
2940
2962
  variant: "primary",
2941
2963
  onClick: i,
@@ -2946,7 +2968,7 @@ const Vt = "communityDetails_", Tc = ({
2946
2968
  )
2947
2969
  ] });
2948
2970
  };
2949
- const Ec = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
2971
+ const Sc = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
2950
2972
  const r = H();
2951
2973
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2952
2974
  /* @__PURE__ */ a.jsx(
@@ -2970,7 +2992,7 @@ const Ec = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
2970
2992
  ) })
2971
2993
  ] });
2972
2994
  };
2973
- const Sc = ({
2995
+ const Cc = ({
2974
2996
  options: e,
2975
2997
  allOption: t = !1,
2976
2998
  allowMultiple: n = !0,
@@ -3020,7 +3042,7 @@ const Yt = {
3020
3042
  es: "Español",
3021
3043
  fr: "Français",
3022
3044
  pt: "Português"
3023
- }, ft = "languageSwitcher_", Cc = ({
3045
+ }, ft = "languageSwitcher_", $c = ({
3024
3046
  currentLanguage: e,
3025
3047
  isOriginalLanguage: t = !1,
3026
3048
  isHumanTranslation: n = !1,
@@ -3103,7 +3125,7 @@ const Gt = Ya({ locale: "en", messages: Rn }), Nt = ({
3103
3125
  }
3104
3126
  };
3105
3127
  return !d && !e && !c.endOfFeed ? null : /* @__PURE__ */ a.jsx("footer", { className: S("load-more", o), children: !d && e ? /* @__PURE__ */ a.jsx(
3106
- se,
3128
+ ae,
3107
3129
  {
3108
3130
  variant: n,
3109
3131
  size: r,
@@ -3151,7 +3173,7 @@ const si = ({
3151
3173
  className: S("more-menu text-medium", r),
3152
3174
  children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
3153
3175
  /* @__PURE__ */ a.jsx(
3154
- se,
3176
+ ae,
3155
3177
  {
3156
3178
  variant: "tertiary",
3157
3179
  size: "medium",
@@ -3179,7 +3201,7 @@ const si = ({
3179
3201
  }
3180
3202
  };
3181
3203
  return d && (v.href = d), /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
3182
- se,
3204
+ ae,
3183
3205
  {
3184
3206
  variant: "tertiary",
3185
3207
  size: "medium",
@@ -3292,7 +3314,7 @@ ${Qe(t, "mailto", n)}&src=email`
3292
3314
  onClick: (r, s) => (r.preventDefault(), r.stopPropagation(), navigator.clipboard.writeText(s))
3293
3315
  }
3294
3316
  ];
3295
- const di = "shareLinks_", $c = ({
3317
+ const di = "shareLinks_", Mc = ({
3296
3318
  title: e,
3297
3319
  link: t,
3298
3320
  referrer: n,
@@ -3309,7 +3331,7 @@ const di = "shareLinks_", $c = ({
3309
3331
  return null;
3310
3332
  const g = {};
3311
3333
  return h && (g.onClick = (v) => h(v, l)), /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
3312
- se,
3334
+ ae,
3313
3335
  {
3314
3336
  size: s,
3315
3337
  variant: "tertiary",
@@ -3328,7 +3350,7 @@ const di = "shareLinks_", $c = ({
3328
3350
  }) })
3329
3351
  ] });
3330
3352
  };
3331
- const Mc = ({ tabs: e, className: t = "" }) => {
3353
+ const Pc = ({ tabs: e, className: t = "" }) => {
3332
3354
  var f;
3333
3355
  const n = (d, u, l) => (d || (d = `panel-${window.btoa(u)}-${l}`), d);
3334
3356
  let r = e.findIndex((d) => d.current === !0);
@@ -4136,7 +4158,7 @@ const ra = ({
4136
4158
  {
4137
4159
  className: `cta ${x || P ? "center" : ""} ${P ? "submitted" : ""}`,
4138
4160
  children: /* @__PURE__ */ a.jsx(
4139
- se,
4161
+ ae,
4140
4162
  {
4141
4163
  ...g,
4142
4164
  icon: P ? { icon: "tick", position: "left" } : !1,
@@ -4190,8 +4212,8 @@ const ht = "passwordRules_", aa = "isMoreThanEightCharacters", sa = "includesNum
4190
4212
  )
4191
4213
  ) })
4192
4214
  ] });
4193
- }, Pc = Ie(xi);
4194
- const Rc = ({
4215
+ }, Rc = Ie(xi);
4216
+ const Nc = ({
4195
4217
  text: e = {},
4196
4218
  topRating: t = 5,
4197
4219
  functions: {
@@ -4251,7 +4273,7 @@ const Rc = ({
4251
4273
  {
4252
4274
  className: S({ selected: m && y <= m }),
4253
4275
  children: /* @__PURE__ */ a.jsx(
4254
- se,
4276
+ ae,
4255
4277
  {
4256
4278
  variant: "tertiary",
4257
4279
  size: "small",
@@ -4367,9 +4389,9 @@ const ji = ({
4367
4389
  ] }) }),
4368
4390
  /* @__PURE__ */ a.jsx(Oe, {}),
4369
4391
  /* @__PURE__ */ a.jsx("div", { className: "footer", children: g === "SUCCESS" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
4370
- /* @__PURE__ */ a.jsx(se, { variant: "secondary", onClick: y, children: _({ id: "inviteForm_ctaSendMoreInvites" }) }),
4371
- /* @__PURE__ */ a.jsx(se, { onClick: j, children: _({ id: "inviteForm_ctaDone" }) })
4372
- ] }) : /* @__PURE__ */ a.jsx(se, { onClick: y, children: _({ id: "inviteForm_ctaTryAgain" }) }) })
4392
+ /* @__PURE__ */ a.jsx(ae, { variant: "secondary", onClick: y, children: _({ id: "inviteForm_ctaSendMoreInvites" }) }),
4393
+ /* @__PURE__ */ a.jsx(ae, { onClick: j, children: _({ id: "inviteForm_ctaDone" }) })
4394
+ ] }) : /* @__PURE__ */ a.jsx(ae, { onClick: y, children: _({ id: "inviteForm_ctaTryAgain" }) }) })
4373
4395
  ] }) : /* @__PURE__ */ a.jsx("div", { className: "invite-form-wrapper", children: /* @__PURE__ */ a.jsxs(
4374
4396
  "form",
4375
4397
  {
@@ -4394,7 +4416,7 @@ const ji = ({
4394
4416
  getLabel: (w, x, P) => /* @__PURE__ */ a.jsxs("div", { className: "email text-medium", children: [
4395
4417
  /* @__PURE__ */ a.jsx("div", { "data-tag-item": !0, children: w }),
4396
4418
  /* @__PURE__ */ a.jsx(
4397
- se,
4419
+ ae,
4398
4420
  {
4399
4421
  variant: "tertiary",
4400
4422
  size: "small",
@@ -4411,7 +4433,7 @@ const ji = ({
4411
4433
  )
4412
4434
  ] }),
4413
4435
  /* @__PURE__ */ a.jsx(Oe, {}),
4414
- /* @__PURE__ */ a.jsx("fieldset", { className: "footer", children: /* @__PURE__ */ a.jsx(se, { className: "sendEmailsButton", disabled: m, children: n }) })
4436
+ /* @__PURE__ */ a.jsx("fieldset", { className: "footer", children: /* @__PURE__ */ a.jsx(ae, { className: "sendEmailsButton", disabled: m, children: n }) })
4415
4437
  ]
4416
4438
  }
4417
4439
  ) });
@@ -5764,7 +5786,7 @@ const no = {
5764
5786
  loadRecaptcha: !1,
5765
5787
  showSuccessMessage: !1,
5766
5788
  showError: !1
5767
- }, Nc = ({
5789
+ }, Ac = ({
5768
5790
  className: e = "",
5769
5791
  functions: t = {
5770
5792
  validateEmail: () => Promise.resolve(),
@@ -5886,7 +5908,7 @@ const no = {
5886
5908
  ),
5887
5909
  /* @__PURE__ */ a.jsx("button", { className: "validation-button", ref: _.hiddenValidation }),
5888
5910
  n.logInButton && /* @__PURE__ */ a.jsx(
5889
- se,
5911
+ ae,
5890
5912
  {
5891
5913
  className: "login-button",
5892
5914
  styling: { fullWidth: !0 },
@@ -5903,7 +5925,7 @@ const no = {
5903
5925
  );
5904
5926
  };
5905
5927
  let rn;
5906
- const an = "contactFooter_", Ac = ({ onSuccess: e = () => {
5928
+ const an = "contactFooter_", Oc = ({ onSuccess: e = () => {
5907
5929
  }, onFailure: t = () => {
5908
5930
  } }) => {
5909
5931
  const n = me(null), [r, s] = L.useState(0), [i, c] = L.useState(!1), o = () => {
@@ -5940,7 +5962,7 @@ const an = "contactFooter_", Ac = ({ onSuccess: e = () => {
5940
5962
  }
5941
5963
  )
5942
5964
  ] }) });
5943
- }, Oc = ({ activeLink: e, ...t }) => /* @__PURE__ */ a.jsx(ot, { children: /* @__PURE__ */ a.jsx(fi, { layout: "1-3", children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
5965
+ }, Fc = ({ activeLink: e, ...t }) => /* @__PURE__ */ a.jsx(ot, { children: /* @__PURE__ */ a.jsx(fi, { layout: "1-3", children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
5944
5966
  /* @__PURE__ */ a.jsx(ci, { activeLink: e }),
5945
5967
  /* @__PURE__ */ a.jsx(Us, { ...t })
5946
5968
  ] }) }) });
@@ -6428,7 +6450,7 @@ const Ze = "footer_", Tt = "SiteFooter", Tr = ({ group: e }) => {
6428
6450
  ..._,
6429
6451
  children: [
6430
6452
  m ? L.createElement(
6431
- u ? se : "a",
6453
+ u ? ae : "a",
6432
6454
  m,
6433
6455
  c.formatMessage({ id: l })
6434
6456
  ) : c.formatMessage({ id: l }),
@@ -6689,7 +6711,7 @@ const pa = ({
6689
6711
  /* @__PURE__ */ a.jsxs("div", { className: "top", children: [
6690
6712
  o && /* @__PURE__ */ a.jsx("h2", { className: "modal-title", children: o }),
6691
6713
  /* @__PURE__ */ a.jsx(
6692
- se,
6714
+ ae,
6693
6715
  {
6694
6716
  variant: "tertiary",
6695
6717
  size: "medium",
@@ -6717,7 +6739,7 @@ const pa = ({
6717
6739
  "aria-expanded": t,
6718
6740
  "aria-controls": e
6719
6741
  });
6720
- const Fc = ({
6742
+ const Lc = ({
6721
6743
  className: e,
6722
6744
  showModal: t = !0,
6723
6745
  title: n,
@@ -6833,7 +6855,7 @@ const io = () => {
6833
6855
  return ln[e] ? (e = ln[e], { id: e, text: `${Er.default}${e}` }) : null;
6834
6856
  }
6835
6857
  };
6836
- const Lc = ({
6858
+ const Dc = ({
6837
6859
  tags: e = [],
6838
6860
  color: t = "default",
6839
6861
  forceOneLine: n = !1,
@@ -6873,7 +6895,7 @@ const Lc = ({
6873
6895
  }
6874
6896
  );
6875
6897
  };
6876
- const Dc = ({
6898
+ const Ic = ({
6877
6899
  members: { data: e = [], total: t = e.length },
6878
6900
  hasNextPage: n = !1,
6879
6901
  loadNextPage: r = () => {
@@ -7233,7 +7255,7 @@ const dn = () => {
7233
7255
  },
7234
7256
  children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7235
7257
  /* @__PURE__ */ a.jsx(
7236
- se,
7258
+ ae,
7237
7259
  {
7238
7260
  variant: "tertiary",
7239
7261
  size: "medium",
@@ -7526,7 +7548,7 @@ const Pe = "discussion_", ho = 280, Ft = ({
7526
7548
  },
7527
7549
  children: [
7528
7550
  /* @__PURE__ */ a.jsx(
7529
- se,
7551
+ ae,
7530
7552
  {
7531
7553
  variant: "tertiary",
7532
7554
  size: "medium",
@@ -7551,7 +7573,7 @@ const Pe = "discussion_", ho = 280, Ft = ({
7551
7573
  }
7552
7574
  ),
7553
7575
  (t.type === "answer" || t.type === "reply") && /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
7554
- se,
7576
+ ae,
7555
7577
  {
7556
7578
  variant: "tertiary",
7557
7579
  size: "medium",
@@ -7627,7 +7649,7 @@ const Pe = "discussion_", ho = 280, Ft = ({
7627
7649
  ] })
7628
7650
  });
7629
7651
  };
7630
- const fn = "discussion_responses_", Ic = ({ type: e = "answer", responses: t = 0 }) => {
7652
+ const fn = "discussion_responses_", Bc = ({ type: e = "answer", responses: t = 0 }) => {
7631
7653
  const n = H();
7632
7654
  return /* @__PURE__ */ a.jsxs("div", { className: "responses-heading", children: [
7633
7655
  /* @__PURE__ */ a.jsx("h3", { children: n.formatMessage(
@@ -8180,7 +8202,7 @@ function Oo(e) {
8180
8202
  var t;
8181
8203
  return ((t = e == null ? void 0 : e.pages) == null ? void 0 : t.reduce((n, { results: r }) => [...n, ...r], [])) || [];
8182
8204
  }
8183
- const Bc = ({
8205
+ const qc = ({
8184
8206
  basePath: e,
8185
8207
  parentId: t,
8186
8208
  isMember: n,
@@ -8296,7 +8318,7 @@ const Bc = ({
8296
8318
  }
8297
8319
  )
8298
8320
  ] });
8299
- }, qc = {
8321
+ }, zc = {
8300
8322
  next: "id_lt=67ef0342-6f6e-4807-beea-5a9184ec140c&limit=5",
8301
8323
  results: [
8302
8324
  {
@@ -9382,7 +9404,7 @@ function Xo({
9382
9404
  });
9383
9405
  return s;
9384
9406
  }
9385
- const zc = ({
9407
+ const Zc = ({
9386
9408
  basePath: e,
9387
9409
  parentId: t,
9388
9410
  activityId: n,
@@ -9487,7 +9509,7 @@ const zc = ({
9487
9509
  }
9488
9510
  )
9489
9511
  ] });
9490
- }, Zc = ({
9512
+ }, Uc = ({
9491
9513
  id: e,
9492
9514
  data: { jobTitle: t, name: n, organization: r, thumbnail: s }
9493
9515
  }) => ({
@@ -9540,7 +9562,7 @@ const zc = ({
9540
9562
  contributors: ["community"]
9541
9563
  }
9542
9564
  ];
9543
- const vt = "notFoundError_", Uc = () => {
9565
+ const vt = "notFoundError_", Hc = () => {
9544
9566
  const e = H(), t = [];
9545
9567
  return Ar.forEach((n, r) => {
9546
9568
  n.title = e.formatMessage({ id: `${vt}post_${r + 1}` }), t.push("solutionArticle");
@@ -9560,7 +9582,7 @@ const vt = "notFoundError_", Uc = () => {
9560
9582
  })
9561
9583
  }
9562
9584
  ),
9563
- /* @__PURE__ */ a.jsx(se, { href: "/solution-articles/", children: e.formatMessage({ id: `${vt}cta` }) })
9585
+ /* @__PURE__ */ a.jsx(ae, { href: "/solution-articles/", children: e.formatMessage({ id: `${vt}cta` }) })
9564
9586
  ] })
9565
9587
  },
9566
9588
  reportError: () => {
@@ -9575,21 +9597,21 @@ const vt = "notFoundError_", Uc = () => {
9575
9597
  };
9576
9598
  export {
9577
9599
  rt as ASSETS_BUCKET,
9578
- Bc as ActivitiesFeed,
9579
- zc as ActivitySection,
9600
+ qc as ActivitiesFeed,
9601
+ Zc as ActivitySection,
9580
9602
  ha as AddPost,
9581
- vc as BannerSection,
9582
- Ec as Breadcrumbs,
9583
- se as Button,
9603
+ bc as BannerSection,
9604
+ Sc as Breadcrumbs,
9605
+ ae as Button,
9584
9606
  Rt as ButtonWrapper,
9585
9607
  $s as CacheProvider,
9586
9608
  Xr as Card,
9587
9609
  ei as CardBlock,
9588
- kc as Carousel,
9610
+ Tc as Carousel,
9589
9611
  Wr as CollapsibleSection,
9590
9612
  fi as Columns,
9591
- Tc as CommunityDetails,
9592
- Ac as ContactFooter,
9613
+ Ec as CommunityDetails,
9614
+ Oc as ContactFooter,
9593
9615
  wi as ContactForm,
9594
9616
  Jr as Contributors,
9595
9617
  qn as ConversationContext,
@@ -9600,72 +9622,73 @@ export {
9600
9622
  Ft as DiscussionPost,
9601
9623
  go as DiscussionThread,
9602
9624
  Oe as Divider,
9603
- gc as DownloadSection,
9625
+ _c as DownloadSection,
9604
9626
  Je as EMAILS,
9605
9627
  mi as EmailHelperTextBox,
9606
9628
  We as EmptyStateBox,
9607
- Sc as Filters,
9629
+ Cc as Filters,
9608
9630
  Rs as FlagsProvider,
9609
9631
  ua as Footer,
9610
9632
  ra as Form,
9611
9633
  ot as FullWidthSection,
9612
- yc as GlobalProviders,
9634
+ xc as GlobalProviders,
9613
9635
  fa as Header,
9614
9636
  Os as HelperTextBox,
9615
9637
  Pn as HiddenFromScreenReaders,
9616
- wc as HideShowTextBox,
9638
+ jc as HideShowTextBox,
9617
9639
  Ae as HighlightedTextBox,
9618
9640
  hc as ImageContainer,
9619
9641
  Ns as IntlProvider,
9620
9642
  ji as InviteForm,
9621
- Fc as InviteModal,
9643
+ Lc as InviteModal,
9622
9644
  ea as JoinButton,
9623
- Cc as LanguageSwitcher,
9645
+ $c as LanguageSwitcher,
9624
9646
  it as Link,
9625
9647
  Nt as LoadMore,
9626
- jc as LoadingBlock,
9648
+ kc as LoadingBlock,
9627
9649
  Te as LoadingPlaceholder,
9628
9650
  Gr as LoadingState,
9629
9651
  ta as Logo,
9630
- _c as LogoSection,
9652
+ vc as LogoSection,
9631
9653
  lr as MarkdownText,
9632
- bc as MarketingBox,
9654
+ yc as MarketingBox,
9633
9655
  On as Member,
9634
- Dc as MembersList,
9656
+ Ic as MembersList,
9635
9657
  ma as Modal,
9636
9658
  si as MoreMenu,
9637
- xc as NUMBER_OF_USERS,
9659
+ wc as NUMBER_OF_USERS,
9638
9660
  ci as NavigationMenu,
9639
- Uc as NotFoundError,
9661
+ Hc as NotFoundError,
9640
9662
  pa as Overlay,
9641
9663
  Us as PageHeading,
9642
9664
  oo as PageLayout,
9643
- Pc as PasswordRules,
9665
+ Rc as PasswordRules,
9644
9666
  jt as Pill,
9645
9667
  ct as ProfilePicture,
9646
9668
  Ws as ProgressBar,
9647
- Rc as Rating,
9669
+ Nc as Rating,
9648
9670
  Yo as RepliesFeed,
9649
- Ic as ResponsesHeading,
9671
+ Bc as ResponsesHeading,
9650
9672
  Nn as ResponsiveImage,
9673
+ gc as ReturnToNavButton,
9651
9674
  ki as SearchForm,
9652
- $c as ShareLinks,
9653
- Nc as SignupForm,
9675
+ Mc as ShareLinks,
9676
+ Ac as SignupForm,
9654
9677
  Zs as Span,
9655
9678
  vn as StatusBanner,
9656
- Mc as Tabs,
9657
- Lc as Tags,
9679
+ Pc as Tabs,
9680
+ Dc as Tags,
9658
9681
  Es as Tooltip,
9659
- Oc as TopLevelPage,
9682
+ Fc as TopLevelPage,
9660
9683
  Ne as UserContext,
9661
9684
  As as UserProvider,
9662
9685
  ge as VisuallyHidden,
9663
9686
  so as addAriaProps,
9664
9687
  Qr as getMember,
9665
9688
  Et as headerData,
9666
- Zc as mapGetStreamData,
9689
+ Uc as mapGetStreamData,
9667
9690
  ws as pageReady,
9668
- qc as repliesFeedMock,
9691
+ zc as repliesFeedMock,
9669
9692
  ls as useCurrentPath,
9670
9693
  nt as useEffectAfterMount,
9671
9694
  st as useElementWidth,