@apolitical/component-library 2.0.3-ac.0 → 2.0.3-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.
Files changed (4) hide show
  1. package/index.js +9 -9
  2. package/index.mjs +149 -153
  3. package/package.json +1 -1
  4. package/style.css +1 -1
package/index.mjs CHANGED
@@ -1,10 +1,10 @@
1
- import * as rr from "react";
2
- import z, { memo as Be, useState as J, useEffect as ie, useRef as me, useMemo as st, createContext as Cn, useContext as Ce, Children as hn, useCallback as Dr, Fragment as nt, useReducer as $n, forwardRef as Va, createElement as ar, Component as Ya, Suspense as Ga } from "react";
1
+ import * as ar from "react";
2
+ import z, { memo as Be, useState as J, useEffect as ie, useRef as me, useMemo as st, createContext as $n, useContext as Ce, Children as hn, useCallback as Dr, Fragment as nt, useReducer as Pn, forwardRef as Va, createElement as sr, Component as Ya, Suspense as Ga } from "react";
3
3
  import wt from "lodash.clonedeep";
4
4
  import Ka from "lodash.set";
5
5
  import { useIntl as W, IntlProvider as Qa, createIntl as Ja, FormattedMessage as xe } from "react-intl";
6
6
  import He from "truncate";
7
- import { QueryClient as Xa, QueryClientProvider as es, useMutation as we, useQueryClient as Pn, useInfiniteQuery as Ir, useQuery as ts } from "@tanstack/react-query";
7
+ import { QueryClient as Xa, QueryClientProvider as es, useMutation as we, useQueryClient as Mn, useInfiniteQuery as Ir, useQuery as ts } from "@tanstack/react-query";
8
8
  import { ReactQueryDevtools as ns } from "@tanstack/react-query-devtools";
9
9
  import yt from "posthog-js";
10
10
  import { CookiesProvider as rs, useCookies as Br } from "react-cookie";
@@ -14,7 +14,7 @@ import qr from "lodash.get";
14
14
  import { ErrorBoundary as ss } from "react-error-boundary";
15
15
  import is from "react-textarea-autosize";
16
16
  import os from "lodash.isequal";
17
- function Mn(e) {
17
+ function Rn(e) {
18
18
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
19
19
  }
20
20
  var zr = { exports: {} };
@@ -54,7 +54,7 @@ var zr = { exports: {} };
54
54
  })();
55
55
  })(zr);
56
56
  var cs = zr.exports;
57
- const E = /* @__PURE__ */ Mn(cs), ls = ({
57
+ const E = /* @__PURE__ */ Rn(cs), ls = ({
58
58
  element: e = "span",
59
59
  showOnFocus: t = !0,
60
60
  children: n,
@@ -67,7 +67,7 @@ const E = /* @__PURE__ */ Mn(cs), ls = ({
67
67
  element: e = "span",
68
68
  children: t = null,
69
69
  ...n
70
- }) => z.createElement(e, { ...n, "aria-hidden": !0 }, t), Rn = Be(ds);
70
+ }) => z.createElement(e, { ...n, "aria-hidden": !0 }, t), Nn = Be(ds);
71
71
  var gn = { exports: {} }, Ge = {};
72
72
  /**
73
73
  * @license React
@@ -78,11 +78,11 @@ var gn = { exports: {} }, Ge = {};
78
78
  * This source code is licensed under the MIT license found in the
79
79
  * LICENSE file in the root directory of this source tree.
80
80
  */
81
- var sr;
81
+ var ir;
82
82
  function us() {
83
- if (sr)
83
+ if (ir)
84
84
  return Ge;
85
- sr = 1;
85
+ ir = 1;
86
86
  var e = z, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
87
87
  function c(o, f, d) {
88
88
  var u, l = {}, m = null, h = null;
@@ -106,9 +106,9 @@ var Ke = {};
106
106
  * This source code is licensed under the MIT license found in the
107
107
  * LICENSE file in the root directory of this source tree.
108
108
  */
109
- var ir;
109
+ var or;
110
110
  function fs() {
111
- return ir || (ir = 1, process.env.NODE_ENV !== "production" && function() {
111
+ return or || (or = 1, process.env.NODE_ENV !== "production" && function() {
112
112
  var e = z, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), o = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), l = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), g = Symbol.iterator, v = "@@iterator";
113
113
  function _(p) {
114
114
  if (p === null || typeof p != "object")
@@ -347,8 +347,8 @@ function fs() {
347
347
  } finally {
348
348
  K = !1, Z.current = ue, Y(), Error.prepareStackTrace = ae;
349
349
  }
350
- var ze = p ? p.displayName || p.name : "", nr = ze ? H(ze) : "";
351
- return typeof p == "function" && C.set(p, nr), nr;
350
+ var ze = p ? p.displayName || p.name : "", rr = ze ? H(ze) : "";
351
+ return typeof p == "function" && C.set(p, rr), rr;
352
352
  }
353
353
  function ge(p, T, M) {
354
354
  return $(p, !1);
@@ -386,13 +386,13 @@ function fs() {
386
386
  }
387
387
  return "";
388
388
  }
389
- var Le = Object.prototype.hasOwnProperty, Un = {}, Hn = b.ReactDebugCurrentFrame;
389
+ var Le = Object.prototype.hasOwnProperty, Hn = {}, Wn = b.ReactDebugCurrentFrame;
390
390
  function dt(p) {
391
391
  if (p) {
392
392
  var T = p._owner, M = Ee(p.type, p._source, T ? T.type : null);
393
- Hn.setExtraStackFrame(M);
393
+ Wn.setExtraStackFrame(M);
394
394
  } else
395
- Hn.setExtraStackFrame(null);
395
+ Wn.setExtraStackFrame(null);
396
396
  }
397
397
  function Sa(p, T, M, G, ae) {
398
398
  {
@@ -409,7 +409,7 @@ function fs() {
409
409
  } catch (pe) {
410
410
  te = pe;
411
411
  }
412
- te && !(te instanceof Error) && (dt(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).", G || "React class", M, re, typeof te), dt(null)), te instanceof Error && !(te.message in Un) && (Un[te.message] = !0, dt(ae), y("Failed %s type: %s", M, te.message), dt(null));
412
+ te && !(te instanceof Error) && (dt(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).", G || "React class", M, re, typeof te), dt(null)), te instanceof Error && !(te.message in Hn) && (Hn[te.message] = !0, dt(ae), y("Failed %s type: %s", M, te.message), dt(null));
413
413
  }
414
414
  }
415
415
  }
@@ -425,24 +425,24 @@ function fs() {
425
425
  }
426
426
  function Pa(p) {
427
427
  try {
428
- return Wn(p), !1;
428
+ return Vn(p), !1;
429
429
  } catch {
430
430
  return !0;
431
431
  }
432
432
  }
433
- function Wn(p) {
433
+ function Vn(p) {
434
434
  return "" + p;
435
435
  }
436
- function Vn(p) {
436
+ function Yn(p) {
437
437
  if (Pa(p))
438
- return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", $a(p)), Wn(p);
438
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", $a(p)), Vn(p);
439
439
  }
440
440
  var Ye = b.ReactCurrentOwner, Ma = {
441
441
  key: !0,
442
442
  ref: !0,
443
443
  __self: !0,
444
444
  __source: !0
445
- }, Yn, Gn, It;
445
+ }, Gn, Kn, It;
446
446
  It = {};
447
447
  function Ra(p) {
448
448
  if (Le.call(p, "ref")) {
@@ -469,7 +469,7 @@ function fs() {
469
469
  function Oa(p, T) {
470
470
  {
471
471
  var M = function() {
472
- Yn || (Yn = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", T));
472
+ Gn || (Gn = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", T));
473
473
  };
474
474
  M.isReactWarning = !0, Object.defineProperty(p, "key", {
475
475
  get: M,
@@ -480,7 +480,7 @@ function fs() {
480
480
  function Fa(p, T) {
481
481
  {
482
482
  var M = function() {
483
- Gn || (Gn = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", T));
483
+ Kn || (Kn = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", T));
484
484
  };
485
485
  M.isReactWarning = !0, Object.defineProperty(p, "ref", {
486
486
  get: M,
@@ -520,7 +520,7 @@ function fs() {
520
520
  function Da(p, T, M, G, ae) {
521
521
  {
522
522
  var ue, re = {}, te = null, ve = null;
523
- M !== void 0 && (Vn(M), te = "" + M), Na(T) && (Vn(T.key), te = "" + T.key), Ra(T) && (ve = T.ref, Aa(T, ae));
523
+ M !== void 0 && (Yn(M), te = "" + M), Na(T) && (Yn(T.key), te = "" + T.key), Ra(T) && (ve = T.ref, Aa(T, ae));
524
524
  for (ue in T)
525
525
  Le.call(T, ue) && !Ma.hasOwnProperty(ue) && (re[ue] = T[ue]);
526
526
  if (p && p.defaultProps) {
@@ -535,20 +535,20 @@ function fs() {
535
535
  return La(p, te, ve, ae, G, Ye.current, re);
536
536
  }
537
537
  }
538
- var Bt = b.ReactCurrentOwner, Kn = b.ReactDebugCurrentFrame;
538
+ var Bt = b.ReactCurrentOwner, Qn = b.ReactDebugCurrentFrame;
539
539
  function qe(p) {
540
540
  if (p) {
541
541
  var T = p._owner, M = Ee(p.type, p._source, T ? T.type : null);
542
- Kn.setExtraStackFrame(M);
542
+ Qn.setExtraStackFrame(M);
543
543
  } else
544
- Kn.setExtraStackFrame(null);
544
+ Qn.setExtraStackFrame(null);
545
545
  }
546
546
  var qt;
547
547
  qt = !1;
548
548
  function zt(p) {
549
549
  return typeof p == "object" && p !== null && p.$$typeof === t;
550
550
  }
551
- function Qn() {
551
+ function Jn() {
552
552
  {
553
553
  if (Bt.current) {
554
554
  var p = A(Bt.current.type);
@@ -571,10 +571,10 @@ Check your code at ` + T + ":" + M + ".";
571
571
  return "";
572
572
  }
573
573
  }
574
- var Jn = {};
574
+ var Xn = {};
575
575
  function Ba(p) {
576
576
  {
577
- var T = Qn();
577
+ var T = Jn();
578
578
  if (!T) {
579
579
  var M = typeof p == "string" ? p : p.displayName || p.name;
580
580
  M && (T = `
@@ -584,27 +584,27 @@ Check the top-level render call using <` + M + ">.");
584
584
  return T;
585
585
  }
586
586
  }
587
- function Xn(p, T) {
587
+ function er(p, T) {
588
588
  {
589
589
  if (!p._store || p._store.validated || p.key != null)
590
590
  return;
591
591
  p._store.validated = !0;
592
592
  var M = Ba(T);
593
- if (Jn[M])
593
+ if (Xn[M])
594
594
  return;
595
- Jn[M] = !0;
595
+ Xn[M] = !0;
596
596
  var G = "";
597
597
  p && p._owner && p._owner !== Bt.current && (G = " It was passed a child from " + A(p._owner.type) + "."), qe(p), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', M, G), qe(null);
598
598
  }
599
599
  }
600
- function er(p, T) {
600
+ function tr(p, T) {
601
601
  {
602
602
  if (typeof p != "object")
603
603
  return;
604
604
  if (Dt(p))
605
605
  for (var M = 0; M < p.length; M++) {
606
606
  var G = p[M];
607
- zt(G) && Xn(G, T);
607
+ zt(G) && er(G, T);
608
608
  }
609
609
  else if (zt(p))
610
610
  p._store && (p._store.validated = !0);
@@ -612,7 +612,7 @@ Check the top-level render call using <` + M + ">.");
612
612
  var ae = _(p);
613
613
  if (typeof ae == "function" && ae !== p.entries)
614
614
  for (var ue = ae.call(p), re; !(re = ue.next()).done; )
615
- zt(re.value) && Xn(re.value, T);
615
+ zt(re.value) && er(re.value, T);
616
616
  }
617
617
  }
618
618
  }
@@ -653,14 +653,14 @@ Check the top-level render call using <` + M + ">.");
653
653
  p.ref !== null && (qe(p), y("Invalid attribute `ref` supplied to `React.Fragment`."), qe(null));
654
654
  }
655
655
  }
656
- function tr(p, T, M, G, ae, ue) {
656
+ function nr(p, T, M, G, ae, ue) {
657
657
  {
658
658
  var re = O(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
662
  var ve = Ia(ae);
663
- ve ? te += ve : te += Qn();
663
+ ve ? te += ve : te += Jn();
664
664
  var pe;
665
665
  p === null ? pe = "null" : Dt(p) ? pe = "array" : p !== void 0 && p.$$typeof === t ? (pe = "<" + (A(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
  }
@@ -673,21 +673,21 @@ Check the top-level render call using <` + M + ">.");
673
673
  if (G)
674
674
  if (Dt(je)) {
675
675
  for (var ze = 0; ze < je.length; ze++)
676
- er(je[ze], p);
676
+ tr(je[ze], p);
677
677
  Object.freeze && Object.freeze(je);
678
678
  } else
679
679
  y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
680
680
  else
681
- er(je, p);
681
+ tr(je, p);
682
682
  }
683
683
  return p === r ? za(he) : qa(he), he;
684
684
  }
685
685
  }
686
686
  function Za(p, T, M) {
687
- return tr(p, T, M, !0);
687
+ return nr(p, T, M, !0);
688
688
  }
689
689
  function Ua(p, T, M) {
690
- return tr(p, T, M, !1);
690
+ return nr(p, T, M, !1);
691
691
  }
692
692
  var Ha = Ua, Wa = Za;
693
693
  Ke.Fragment = r, Ke.jsx = Ha, Ke.jsxs = Wa;
@@ -911,7 +911,7 @@ const it = (e = !0, t = !1, n = "window") => {
911
911
  return r / Ie.milliseconds.inHour <= t;
912
912
  }
913
913
  return !1;
914
- }, ys = (e) => new Promise((t) => setTimeout(t, e)), Nn = {
914
+ }, ys = (e) => new Promise((t) => setTimeout(t, e)), An = {
915
915
  /* Common */
916
916
  apolitical: "Apolitical",
917
917
  dates_now: "now",
@@ -1271,11 +1271,11 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1271
1271
  languageSwitcher_disclaimer: "Este conteúdo foi traduzido automaticamente e, ocasionalmente, poderão ocorrer erros de linguagem de gênero ou outras traduções diretas. Estamos tentando resolver isso, porém se perceber algo errado por favor nos avise em <link>{email}</link>"
1272
1272
  }, ks = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1273
1273
  __proto__: null,
1274
- en: Nn,
1274
+ en: An,
1275
1275
  es: xs,
1276
1276
  fr: ws,
1277
1277
  pt: js
1278
- }, Symbol.toStringTag, { value: "Module" })), Yr = (e) => e in Nn, Se = (e, t, n, r, s = {}) => {
1278
+ }, Symbol.toStringTag, { value: "Module" })), Yr = (e) => e in An, Se = (e, t, n, r, s = {}) => {
1279
1279
  let i = "";
1280
1280
  return Yr(`${t}_${n}`) ? i = e({ id: `${t}_${n}` }, s) : i = e({ id: t }, { [r]: n, ...s }), i;
1281
1281
  }, Ts = (e, t, n) => {
@@ -1363,7 +1363,7 @@ const Oe = ({ className: e = "", maxWidth: t = !1 }) => {
1363
1363
  return s && (f.onClick = s), i && (f["data-gtm-event-context"] = i), c && (f["data-gtm-event-type"] = c), /* @__PURE__ */ a.jsx("a", { href: e, className: E("gtm-trackable", r), ...f, children: t });
1364
1364
  }
1365
1365
  return n ? z.createElement(n, { children: t, className: r, ...o }) : t;
1366
- }, or = {
1366
+ }, cr = {
1367
1367
  card: {
1368
1368
  range: [
1369
1369
  {
@@ -1471,7 +1471,7 @@ const Oe = ({ className: e = "", maxWidth: t = !1 }) => {
1471
1471
  range: t,
1472
1472
  sizes: n
1473
1473
  }) => {
1474
- const { range: r, sizes: s } = e ? or[e] : or.fallback;
1474
+ const { range: r, sizes: s } = e ? cr[e] : cr.fallback;
1475
1475
  return { range: t && t.length > 0 ? t : r, sizes: n || s };
1476
1476
  }, $s = ({ format: e, height: t, query: n, width: r }) => {
1477
1477
  let s = `w=${r}&h=${t}`;
@@ -1683,11 +1683,7 @@ const Ms = [
1683
1683
  f.map((l) => {
1684
1684
  if (u[l] && typeof u[l] == "object") {
1685
1685
  const { text: m, element: h = "" } = u[l];
1686
- return z.createElement(
1687
- h.toLowerCase(),
1688
- { key: l, className: l },
1689
- m
1690
- );
1686
+ return l === "text" ? /* @__PURE__ */ a.jsx(bn, { overrideType: "text-only", className: "text", children: m }, l) : z.createElement(h, { key: l, className: l }, m);
1691
1687
  }
1692
1688
  return null;
1693
1689
  }),
@@ -1746,7 +1742,7 @@ const yc = ({
1746
1742
  e && /* @__PURE__ */ a.jsx(ns, { initialIsOpen: !1 })
1747
1743
  ] });
1748
1744
  };
1749
- var As = Cn({ client: yt });
1745
+ var As = $n({ client: yt });
1750
1746
  function Os(e) {
1751
1747
  var t = e.children, n = e.client, r = e.apiKey, s = e.options, i = st(function() {
1752
1748
  return n && r && console.warn("[PostHog.js] You have provided both a client and an apiKey to PostHogProvider. The apiKey will be ignored in favour of the client."), n && s && console.warn("[PostHog.js] You have provided both a client and options to PostHogProvider. The options will be ignored in favour of the client."), n || (r && (yt.__loaded && console.warn("[PostHog.js] was already loaded elsewhere. This may cause issues."), yt.init(r, s)), yt);
@@ -1778,8 +1774,8 @@ const Fs = ({ children: e, user: t }) => t.isLoading ? null : process.env.REACT_
1778
1774
  ...n || {}
1779
1775
  };
1780
1776
  return /* @__PURE__ */ a.jsx(Qa, { locale: r, messages: s, children: e });
1781
- }, Ae = Cn({ isLoading: !0 });
1782
- function An() {
1777
+ }, Ae = $n({ isLoading: !0 });
1778
+ function On() {
1783
1779
  return Ce(Ae);
1784
1780
  }
1785
1781
  const Ds = ({ children: e, user: t }) => /* @__PURE__ */ a.jsx(Ae.Provider, { value: t, children: e }), xc = ({ bootstrap: e, children: t, intl: n }) => {
@@ -1941,7 +1937,7 @@ const jc = ({
1941
1937
  ]
1942
1938
  }
1943
1939
  );
1944
- }, De = () => z.Fragment, Bs = ({ children: e }) => /* @__PURE__ */ a.jsx(Ne, { variant: "secondary", children: e }), qs = ["span", "strong", "h1", "h2", "h3", "h4", "h5", "h6", "p"], cr = ({ children: e }) => {
1940
+ }, De = () => z.Fragment, Bs = ({ children: e }) => /* @__PURE__ */ a.jsx(Ne, { variant: "secondary", children: e }), qs = ["span", "strong", "h1", "h2", "h3", "h4", "h5", "h6", "p"], lr = ({ children: e }) => {
1945
1941
  const t = W();
1946
1942
  if (!e)
1947
1943
  return null;
@@ -1974,7 +1970,7 @@ const jc = ({
1974
1970
  children: r.map((i) => i)
1975
1971
  }
1976
1972
  );
1977
- }, lr = ({
1973
+ }, dr = ({
1978
1974
  children: e,
1979
1975
  ...t
1980
1976
  }) => {
@@ -2010,10 +2006,10 @@ const jc = ({
2010
2006
  ),
2011
2007
  /* @__PURE__ */ a.jsx("span", { id: `content-after-iframe-${n}`, tabIndex: -1 })
2012
2008
  ] });
2013
- }, dr = (e) => {
2009
+ }, ur = (e) => {
2014
2010
  let t = "";
2015
2011
  return e && typeof e != "string" && typeof e != "number" && typeof e != "boolean" && "type" in e && (t = e.type), t;
2016
- }, ur = ({
2012
+ }, fr = ({
2017
2013
  children: e,
2018
2014
  ...t
2019
2015
  }) => {
@@ -2024,9 +2020,9 @@ const jc = ({
2024
2020
  if (!(!i || typeof i == "string" || typeof i == "number") && z.isValidElement(i)) {
2025
2021
  const c = i.type;
2026
2022
  if (["button", "center", "span", "strong"].includes(c) && i.props && i.props.children && i.props.children[0])
2027
- for ((c === "button" || dr(i.props.children[0]) === "button") && (s = !0), r = i.props.children[0]; r && typeof r != "string" && !(typeof r == "boolean" || typeof r == "number" || !z.isValidElement(r)); )
2023
+ for ((c === "button" || ur(i.props.children[0]) === "button") && (s = !0), r = i.props.children[0]; r && typeof r != "string" && !(typeof r == "boolean" || typeof r == "number" || !z.isValidElement(r)); )
2028
2024
  if (r.props && r.props.children && r.props.children[0])
2029
- r = r.props.children[0], r && dr(r) === "button" && (s = !0);
2025
+ r = r.props.children[0], r && ur(r) === "button" && (s = !0);
2030
2026
  else
2031
2027
  break;
2032
2028
  }
@@ -2034,7 +2030,7 @@ const jc = ({
2034
2030
  }, Zs = ({ children: e }) => /* @__PURE__ */ a.jsx("span", { children: e });
2035
2031
  const Us = {
2036
2032
  default: {
2037
- a: ur,
2033
+ a: fr,
2038
2034
  // Override psuedo-code
2039
2035
  // We give the content team psuedo-code short cuts to use in Contentful
2040
2036
  CollapsibleSection: Kr,
@@ -2043,14 +2039,14 @@ const Us = {
2043
2039
  // Override embedded HTML
2044
2040
  // Our content team previously used real HTML, which we need to tear out and replace with React components
2045
2041
  style: De,
2046
- details: cr,
2047
- div: lr,
2042
+ details: lr,
2043
+ div: dr,
2048
2044
  iframe: zs
2049
2045
  },
2050
2046
  "text-only": {
2051
- a: ur,
2052
- details: cr,
2053
- div: lr,
2047
+ a: fr,
2048
+ details: lr,
2049
+ div: dr,
2054
2050
  TextBox: Ne,
2055
2051
  // Override embedded HTML with empty components for content that is not allowed in specific cases
2056
2052
  style: De,
@@ -2060,7 +2056,7 @@ const Us = {
2060
2056
  iframe: De,
2061
2057
  button: De
2062
2058
  }
2063
- }, fr = ({
2059
+ }, bn = ({
2064
2060
  className: e = "",
2065
2061
  options: t = {},
2066
2062
  children: n,
@@ -2101,7 +2097,7 @@ const kt = ({
2101
2097
  children: r,
2102
2098
  ...s
2103
2099
  }) => /* @__PURE__ */ a.jsx("span", { className: E("pill", e, t, n), ...s, children: r });
2104
- const bn = ({
2100
+ const yn = ({
2105
2101
  element: e = "p",
2106
2102
  children: t = null,
2107
2103
  className: n = "",
@@ -2156,14 +2152,14 @@ const Ht = "loadingBlock_", Ys = ({ progress: e = 0, steps: t = !1, className: n
2156
2152
  );
2157
2153
  }, kc = Be(Ys);
2158
2154
  const Te = ({ element: e = "div", className: t = "", ...n }) => /* @__PURE__ */ a.jsx(
2159
- Rn,
2155
+ Nn,
2160
2156
  {
2161
2157
  element: e,
2162
2158
  className: E("loading-placeholder", t),
2163
2159
  ...n
2164
2160
  }
2165
2161
  );
2166
- const yn = {
2162
+ const xn = {
2167
2163
  header: ["logo", "link", "link", "search"],
2168
2164
  sidebar: ["text", "text", "text", "text", "text"],
2169
2165
  "cards-section": ["subtitle", "cards"],
@@ -2180,7 +2176,7 @@ const yn = {
2180
2176
  "cards-section",
2181
2177
  "footer"
2182
2178
  ]
2183
- }, Jr = (e, t) => e in yn ? /* @__PURE__ */ a.jsx("div", { className: e, children: yn[e].map((n, r) => Jr(n, r)) }, t) : /* @__PURE__ */ a.jsx(Te, { className: e }, t), Xr = ({ layout: e = "overview-page", ...t }) => /* @__PURE__ */ a.jsx("div", { className: E("loading-state", e), ...t, children: yn[e].map((n, r) => Jr(n, r)) }), ea = (e) => {
2179
+ }, Jr = (e, t) => e in xn ? /* @__PURE__ */ a.jsx("div", { className: e, children: xn[e].map((n, r) => Jr(n, r)) }, t) : /* @__PURE__ */ a.jsx(Te, { className: e }, t), Xr = ({ layout: e = "overview-page", ...t }) => /* @__PURE__ */ a.jsx("div", { className: E("loading-state", e), ...t, children: xn[e].map((n, r) => Jr(n, r)) }), ea = (e) => {
2184
2180
  const t = e && e.toUpperCase().split(" ");
2185
2181
  return Array.isArray(t) && t.length > 1 && t[0] !== "" ? t[1] === "" ? t[0][0] : t[0][0] + t[t.length - 1][0] : e ? e.substr(0, 1) : "";
2186
2182
  }, ut = ["#5AB6A3", "#A2D7AF", "#806056", "#3962B3"], Gs = (e) => {
@@ -2256,7 +2252,7 @@ const mr = 256, lt = ({
2256
2252
  let f = `${o}${(s || i) && c ? `, ${n}` : n}`;
2257
2253
  return f.length > r && (f = o), f.length > r && (f = He(f, r)), f;
2258
2254
  };
2259
- const On = ({
2255
+ const Fn = ({
2260
2256
  element: e = "div",
2261
2257
  member: t = "community",
2262
2258
  additionalContent: n = !1,
@@ -3091,7 +3087,7 @@ const Gt = {
3091
3087
  })
3092
3088
  ] });
3093
3089
  };
3094
- const Kt = Ja({ locale: "en", messages: Nn }), At = ({
3090
+ const Kt = Ja({ locale: "en", messages: An }), At = ({
3095
3091
  hasNextPage: e = !0,
3096
3092
  loadNextPage: t = () => {
3097
3093
  },
@@ -3635,7 +3631,7 @@ const hi = Be(function({
3635
3631
  direction: t = "down"
3636
3632
  }) {
3637
3633
  return /* @__PURE__ */ a.jsx(
3638
- Rn,
3634
+ Nn,
3639
3635
  {
3640
3636
  className: E("rotating-chevron", `direction-${t}`)
3641
3637
  }
@@ -4039,7 +4035,7 @@ const oa = ({
4039
4035
  const ee = P.id || P.name;
4040
4036
  ee && (b[ee] = P.value || "");
4041
4037
  });
4042
- const [y, j] = $n(yi, {
4038
+ const [y, j] = Pn(yi, {
4043
4039
  isSubmitting: !1,
4044
4040
  formSubmitted: !1,
4045
4041
  errors: {},
@@ -4577,7 +4573,7 @@ const Ti = ({
4577
4573
  const c = Ei(new FormData(e.form.current)), o = Object.assign(c, t);
4578
4574
  await n(o), localStorage.setItem("email", c.email), r && r({ ...c, ...i.values }), s([{ type: "showSuccessMessage", value: !0 }]);
4579
4575
  };
4580
- var xn = { exports: {} }, wn = { exports: {} }, oe = {};
4576
+ var wn = { exports: {} }, jn = { exports: {} }, oe = {};
4581
4577
  /** @license React v16.13.1
4582
4578
  * react-is.production.min.js
4583
4579
  *
@@ -4745,8 +4741,8 @@ function Ci() {
4745
4741
  ce.AsyncMode = x, ce.ConcurrentMode = R, ce.ContextConsumer = F, ce.ContextProvider = V, ce.Element = N, ce.ForwardRef = O, ce.Fragment = P, ce.Lazy = ee, ce.Memo = A, ce.Portal = U, ce.Profiler = q, ce.StrictMode = Q, ce.Suspense = X, ce.isAsyncMode = fe, ce.isConcurrentMode = k, ce.isContextConsumer = S, ce.isContextProvider = B, ce.isElement = L, ce.isForwardRef = D, ce.isFragment = Y, ce.isLazy = Z, ce.isMemo = I, ce.isPortal = H, ce.isProfiler = K, ce.isStrictMode = C, ce.isSuspense = ne, ce.isValidElementType = j, ce.typeOf = w;
4746
4742
  }()), ce;
4747
4743
  }
4748
- process.env.NODE_ENV === "production" ? wn.exports = Si() : wn.exports = Ci();
4749
- var Fn = wn.exports;
4744
+ process.env.NODE_ENV === "production" ? jn.exports = Si() : jn.exports = Ci();
4745
+ var Ln = jn.exports;
4750
4746
  /*
4751
4747
  object-assign
4752
4748
  (c) Sindre Sorhus
@@ -4800,7 +4796,7 @@ function $i() {
4800
4796
  }, Jt;
4801
4797
  }
4802
4798
  var Xt, yr;
4803
- function Ln() {
4799
+ function Dn() {
4804
4800
  if (yr)
4805
4801
  return Xt;
4806
4802
  yr = 1;
@@ -4819,7 +4815,7 @@ function Pi() {
4819
4815
  var e = function() {
4820
4816
  };
4821
4817
  if (process.env.NODE_ENV !== "production") {
4822
- var t = Ln(), n = {}, r = fa();
4818
+ var t = Dn(), n = {}, r = fa();
4823
4819
  e = function(i) {
4824
4820
  var c = "Warning: " + i;
4825
4821
  typeof console < "u" && console.error(c);
@@ -4866,7 +4862,7 @@ function Mi() {
4866
4862
  if (jr)
4867
4863
  return nn;
4868
4864
  jr = 1;
4869
- var e = Fn, t = $i(), n = Ln(), r = fa(), s = Pi(), i = function() {
4865
+ var e = Ln, t = $i(), n = Dn(), r = fa(), s = Pi(), i = function() {
4870
4866
  };
4871
4867
  process.env.NODE_ENV !== "production" && (i = function(o) {
4872
4868
  var f = "Warning: " + o;
@@ -5188,7 +5184,7 @@ function Ri() {
5188
5184
  if (kr)
5189
5185
  return rn;
5190
5186
  kr = 1;
5191
- var e = Ln();
5187
+ var e = Dn();
5192
5188
  function t() {
5193
5189
  }
5194
5190
  function n() {
@@ -5233,22 +5229,22 @@ function Ri() {
5233
5229
  }, rn;
5234
5230
  }
5235
5231
  if (process.env.NODE_ENV !== "production") {
5236
- var Ni = Fn, Ai = !0;
5237
- xn.exports = Mi()(Ni.isElement, Ai);
5232
+ var Ni = Ln, Ai = !0;
5233
+ wn.exports = Mi()(Ni.isElement, Ai);
5238
5234
  } else
5239
- xn.exports = Ri()();
5240
- var Oi = xn.exports;
5241
- const ye = /* @__PURE__ */ Mn(Oi);
5235
+ wn.exports = Ri()();
5236
+ var Oi = wn.exports;
5237
+ const ye = /* @__PURE__ */ Rn(Oi);
5242
5238
  var Fi = ["sitekey", "onChange", "theme", "type", "tabindex", "onExpired", "onErrored", "size", "stoken", "grecaptcha", "badge", "hl", "isolated"];
5243
- function jn() {
5244
- return jn = Object.assign ? Object.assign.bind() : function(e) {
5239
+ function kn() {
5240
+ return kn = Object.assign ? Object.assign.bind() : function(e) {
5245
5241
  for (var t = 1; t < arguments.length; t++) {
5246
5242
  var n = arguments[t];
5247
5243
  for (var r in n)
5248
5244
  Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
5249
5245
  }
5250
5246
  return e;
5251
- }, jn.apply(this, arguments);
5247
+ }, kn.apply(this, arguments);
5252
5248
  }
5253
5249
  function Li(e, t) {
5254
5250
  if (e == null)
@@ -5264,12 +5260,12 @@ function _t(e) {
5264
5260
  return e;
5265
5261
  }
5266
5262
  function Di(e, t) {
5267
- e.prototype = Object.create(t.prototype), e.prototype.constructor = e, kn(e, t);
5263
+ e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Tn(e, t);
5268
5264
  }
5269
- function kn(e, t) {
5270
- return kn = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, s) {
5265
+ function Tn(e, t) {
5266
+ return Tn = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, s) {
5271
5267
  return r.__proto__ = s, r;
5272
- }, kn(e, t);
5268
+ }, Tn(e, t);
5273
5269
  }
5274
5270
  var Ot = /* @__PURE__ */ function(e) {
5275
5271
  Di(t, e);
@@ -5337,11 +5333,11 @@ var Ot = /* @__PURE__ */ function(e) {
5337
5333
  var s = this.props;
5338
5334
  s.sitekey, s.onChange, s.theme, s.type, s.tabindex, s.onExpired, s.onErrored, s.size, s.stoken, s.grecaptcha, s.badge, s.hl, s.isolated;
5339
5335
  var i = Li(s, Fi);
5340
- return /* @__PURE__ */ rr.createElement("div", jn({}, i, {
5336
+ return /* @__PURE__ */ ar.createElement("div", kn({}, i, {
5341
5337
  ref: this.handleRecaptchaRef
5342
5338
  }));
5343
5339
  }, t;
5344
- }(rr.Component);
5340
+ }(ar.Component);
5345
5341
  Ot.displayName = "ReCAPTCHA";
5346
5342
  Ot.propTypes = {
5347
5343
  sitekey: ye.string.isRequired,
@@ -5367,7 +5363,7 @@ Ot.defaultProps = {
5367
5363
  size: "normal",
5368
5364
  badge: "bottomright"
5369
5365
  };
5370
- var Dn = Fn, Ii = {
5366
+ var In = Ln, Ii = {
5371
5367
  childContextTypes: !0,
5372
5368
  contextType: !0,
5373
5369
  contextTypes: !0,
@@ -5400,11 +5396,11 @@ var Dn = Fn, Ii = {
5400
5396
  displayName: !0,
5401
5397
  propTypes: !0,
5402
5398
  type: !0
5403
- }, In = {};
5404
- In[Dn.ForwardRef] = qi;
5405
- In[Dn.Memo] = ma;
5399
+ }, Bn = {};
5400
+ Bn[In.ForwardRef] = qi;
5401
+ Bn[In.Memo] = ma;
5406
5402
  function Tr(e) {
5407
- return Dn.isMemo(e) ? ma : In[e.$$typeof] || Ii;
5403
+ return In.isMemo(e) ? ma : Bn[e.$$typeof] || Ii;
5408
5404
  }
5409
5405
  var zi = Object.defineProperty, Zi = Object.getOwnPropertyNames, Er = Object.getOwnPropertySymbols, Ui = Object.getOwnPropertyDescriptor, Hi = Object.getPrototypeOf, Sr = Object.prototype;
5410
5406
  function pa(e, t, n) {
@@ -5429,16 +5425,16 @@ function pa(e, t, n) {
5429
5425
  return e;
5430
5426
  }
5431
5427
  var Wi = pa;
5432
- const Vi = /* @__PURE__ */ Mn(Wi);
5433
- function Tn() {
5434
- return Tn = Object.assign || function(e) {
5428
+ const Vi = /* @__PURE__ */ Rn(Wi);
5429
+ function En() {
5430
+ return En = Object.assign || function(e) {
5435
5431
  for (var t = 1; t < arguments.length; t++) {
5436
5432
  var n = arguments[t];
5437
5433
  for (var r in n)
5438
5434
  Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
5439
5435
  }
5440
5436
  return e;
5441
- }, Tn.apply(this, arguments);
5437
+ }, En.apply(this, arguments);
5442
5438
  }
5443
5439
  function Yi(e, t) {
5444
5440
  if (e == null)
@@ -5536,10 +5532,10 @@ function Qi(e, t) {
5536
5532
  var l = t.globalName, m = this.props;
5537
5533
  m.asyncScriptOnLoad;
5538
5534
  var h = m.forwardedRef, g = Yi(m, ["asyncScriptOnLoad", "forwardedRef"]);
5539
- return l && typeof window < "u" && (g[l] = typeof window[l] < "u" ? window[l] : void 0), g.ref = h, ar(r, g);
5535
+ return l && typeof window < "u" && (g[l] = typeof window[l] < "u" ? window[l] : void 0), g.ref = h, sr(r, g);
5540
5536
  }, f;
5541
5537
  }(Ya), c = Va(function(o, f) {
5542
- return ar(i, Tn({}, o, {
5538
+ return sr(i, En({}, o, {
5543
5539
  forwardedRef: f
5544
5540
  }));
5545
5541
  });
@@ -5548,19 +5544,19 @@ function Qi(e, t) {
5548
5544
  }, Vi(c, r);
5549
5545
  };
5550
5546
  }
5551
- var En = "onloadcallback", Ji = "grecaptcha";
5552
- function Sn() {
5547
+ var Sn = "onloadcallback", Ji = "grecaptcha";
5548
+ function Cn() {
5553
5549
  return typeof window < "u" && window.recaptchaOptions || {};
5554
5550
  }
5555
5551
  function Xi() {
5556
- var e = Sn(), t = e.useRecaptchaNet ? "recaptcha.net" : "www.google.com";
5557
- return e.enterprise ? "https://" + t + "/recaptcha/enterprise.js?onload=" + En + "&render=explicit" : "https://" + t + "/recaptcha/api.js?onload=" + En + "&render=explicit";
5552
+ var e = Cn(), t = e.useRecaptchaNet ? "recaptcha.net" : "www.google.com";
5553
+ return e.enterprise ? "https://" + t + "/recaptcha/enterprise.js?onload=" + Sn + "&render=explicit" : "https://" + t + "/recaptcha/api.js?onload=" + Sn + "&render=explicit";
5558
5554
  }
5559
5555
  const eo = Qi(Xi, {
5560
- callbackName: En,
5556
+ callbackName: Sn,
5561
5557
  globalName: Ji,
5562
- attributes: Sn().nonce ? {
5563
- nonce: Sn().nonce
5558
+ attributes: Cn().nonce ? {
5559
+ nonce: Cn().nonce
5564
5560
  } : {}
5565
5561
  })(Ot), to = ({
5566
5562
  shouldShow: e,
@@ -5797,7 +5793,7 @@ const ro = {
5797
5793
  dataToSubmit: s = { ref: "sign-up-form" },
5798
5794
  ...i
5799
5795
  }) => {
5800
- const c = W(), [o, f] = $n(Ur, ro), {
5796
+ const c = W(), [o, f] = Pn(Ur, ro), {
5801
5797
  validFields: d,
5802
5798
  emailDetails: u,
5803
5799
  shouldManuallyApprove: l,
@@ -6146,7 +6142,7 @@ const Ue = "footer_", Et = "SiteFooter", Cr = ({ group: e }) => {
6146
6142
  ] }, `dl-${e}-${r}`)) })
6147
6143
  ] }, e);
6148
6144
  }, ha = () => /* @__PURE__ */ a.jsx("div", { id: "footer", children: /* @__PURE__ */ a.jsxs("div", { className: "wrapper", children: [
6149
- /* @__PURE__ */ a.jsx(Rn, { element: "hr" }),
6145
+ /* @__PURE__ */ a.jsx(Nn, { element: "hr" }),
6150
6146
  /* @__PURE__ */ a.jsx(
6151
6147
  sa,
6152
6148
  {
@@ -6491,7 +6487,7 @@ const so = { height: 67, height_desktop: 83 }, ga = ({ showNavigation: e = !0 })
6491
6487
  const t = W(), n = Ce(Ae), r = it(!0, !0), s = n && typeof n.id == "string", i = st(
6492
6488
  () => de.getIsDesktopVersion(s, r),
6493
6489
  [s, r]
6494
- ), [c, o] = $n(Ur, {
6490
+ ), [c, o] = Pn(Ur, {
6495
6491
  headerIsVisible: !0,
6496
6492
  menus: { navigation: !1, search: !1, account: !1 },
6497
6493
  focusElements: {
@@ -6720,7 +6716,7 @@ const va = ({
6720
6716
  /* @__PURE__ */ a.jsx(Oe, {}),
6721
6717
  /* @__PURE__ */ a.jsx(Nt, { buttons: d })
6722
6718
  ] }),
6723
- c && /* @__PURE__ */ a.jsx(bn, { className: "error", children: c })
6719
+ c && /* @__PURE__ */ a.jsx(yn, { className: "error", children: c })
6724
6720
  ] })
6725
6721
  }
6726
6722
  ) });
@@ -6901,7 +6897,7 @@ const Ic = ({
6901
6897
  /* @__PURE__ */ a.jsx("span", { className: "count", children: t })
6902
6898
  ] }),
6903
6899
  /* @__PURE__ */ a.jsx("ul", { children: e.map((f, d) => /* @__PURE__ */ a.jsxs("li", { children: [
6904
- /* @__PURE__ */ a.jsx(On, { member: f, gtmContext: s, gtmType: i }),
6900
+ /* @__PURE__ */ a.jsx(Fn, { member: f, gtmContext: s, gtmType: i }),
6905
6901
  f.isAdmin && /* @__PURE__ */ a.jsx(kt, { children: o.formatMessage({ id: "membersList_admin" }) })
6906
6902
  ] }, d)) }),
6907
6903
  n && /* @__PURE__ */ a.jsx(
@@ -6916,7 +6912,7 @@ const Ic = ({
6916
6912
  ] });
6917
6913
  };
6918
6914
  let vt = null;
6919
- const be = "discussion_form_", Bn = ({
6915
+ const be = "discussion_form_", qn = ({
6920
6916
  content: e = { type: "response", slugs: {} },
6921
6917
  userHasPermissions: t = !0,
6922
6918
  meta: n = {
@@ -7081,7 +7077,7 @@ const be = "discussion_form_", Bn = ({
7081
7077
  children: [
7082
7078
  (n == null ? void 0 : n.showTitle) && !n.isEditing && ["question"].includes(e.type) && /* @__PURE__ */ a.jsx("h2", { children: Se(u.formatMessage, `${be}title`, e.type, "action") }),
7083
7079
  /* @__PURE__ */ a.jsx(
7084
- On,
7080
+ Fn,
7085
7081
  {
7086
7082
  member: l || "community",
7087
7083
  gtmContext: d,
@@ -7125,8 +7121,8 @@ const be = "discussion_form_", Bn = ({
7125
7121
  )
7126
7122
  }) }),
7127
7123
  /* @__PURE__ */ a.jsx(Nt, { buttons: N }),
7128
- _ === "submitted" && n.showSuccessMessage && /* @__PURE__ */ a.jsx(bn, { className: "success", "data-testid": "success", children: Se(u.formatMessage, `${be}success`, e.type, "action") }),
7129
- g && /* @__PURE__ */ a.jsx(bn, { id: "error-message", className: "error", "data-testid": "error", children: o.error ? o.error : typeof g == "string" ? g.includes(" ") ? g : u.formatMessage(
7124
+ _ === "submitted" && n.showSuccessMessage && /* @__PURE__ */ a.jsx(yn, { className: "success", "data-testid": "success", children: Se(u.formatMessage, `${be}success`, e.type, "action") }),
7125
+ g && /* @__PURE__ */ a.jsx(yn, { id: "error-message", className: "error", "data-testid": "error", children: o.error ? o.error : typeof g == "string" ? g.includes(" ") ? g : u.formatMessage(
7130
7126
  { id: g },
7131
7127
  {
7132
7128
  action: u.formatMessage({
@@ -7155,7 +7151,7 @@ const be = "discussion_form_", Bn = ({
7155
7151
  );
7156
7152
  const { content: c, functions: o, meta: f, ...d } = e;
7157
7153
  return /* @__PURE__ */ a.jsx(
7158
- Bn,
7154
+ qn,
7159
7155
  {
7160
7156
  content: { type: (c == null ? void 0 : c.type) || "reply", slugs: (c == null ? void 0 : c.slugs) || {} },
7161
7157
  functions: { ...o, create: (o == null ? void 0 : o.create) || (() => {
@@ -7166,11 +7162,11 @@ const be = "discussion_form_", Bn = ({
7166
7162
  );
7167
7163
  }, uo = {
7168
7164
  showForm: !1
7169
- }, qn = Cn(uo), fo = ({ children: e }) => {
7165
+ }, zn = $n(uo), fo = ({ children: e }) => {
7170
7166
  const [t, n] = J({
7171
7167
  showForm: !1
7172
7168
  });
7173
- return /* @__PURE__ */ a.jsx(qn.Provider, { value: { ...t, updateConversation: n }, children: e });
7169
+ return /* @__PURE__ */ a.jsx(zn.Provider, { value: { ...t, updateConversation: n }, children: e });
7174
7170
  }, mo = ({
7175
7171
  question: e,
7176
7172
  answer: t,
@@ -7332,7 +7328,7 @@ const Me = "discussion_", go = 280, Lt = ({
7332
7328
  children: v,
7333
7329
  isTruncated: _ = !1
7334
7330
  }) => {
7335
- const b = W(), y = Ce(Ae), j = Ce(qn), { author: w, canLike: x, createdAt: R, id: F, likes: V = 0, userLiked: N, comments: O = 0 } = t, P = y && y.id && typeof w != "string" && w.id && w.id === y.id || !1, ee = typeof x == "boolean" ? x : n ? !P : !1, A = P && (!t.createdAt || bs(t.createdAt, 10, "seconds")), U = me(null), [q, Q] = J({
7331
+ const b = W(), y = Ce(Ae), j = Ce(zn), { author: w, canLike: x, createdAt: R, id: F, likes: V = 0, userLiked: N, comments: O = 0 } = t, P = y && y.id && typeof w != "string" && w.id && w.id === y.id || !1, ee = typeof x == "boolean" ? x : n ? !P : !1, A = P && (!t.createdAt || bs(t.createdAt, 10, "seconds")), U = me(null), [q, Q] = J({
7336
7332
  body: t && t.body || "",
7337
7333
  isEditing: !1,
7338
7334
  didEdit: t && t.isEdited || !1
@@ -7450,7 +7446,7 @@ const Me = "discussion_", go = 280, Lt = ({
7450
7446
  },
7451
7447
  children: [
7452
7448
  !q.isEditing && /* @__PURE__ */ a.jsx(
7453
- On,
7449
+ Fn,
7454
7450
  {
7455
7451
  member: w,
7456
7452
  additionalContent: { createdAt: R, didEdit: q.didEdit },
@@ -7460,7 +7456,7 @@ const Me = "discussion_", go = 280, Lt = ({
7460
7456
  }
7461
7457
  ),
7462
7458
  q.isEditing ? /* @__PURE__ */ a.jsx(
7463
- Bn,
7459
+ qn,
7464
7460
  {
7465
7461
  content: { type: t.type, slugs: t.slugs },
7466
7462
  userHasPermissions: n,
@@ -7496,10 +7492,10 @@ const Me = "discussion_", go = 280, Lt = ({
7496
7492
  className: "gtm-trackable",
7497
7493
  "data-gtm-event-context": g,
7498
7494
  "data-gtm-event-type": "title-click",
7499
- children: /* @__PURE__ */ a.jsx(fr, { options: { overrides: { a: Zs } }, children: Y })
7495
+ children: /* @__PURE__ */ a.jsx(bn, { options: { overrides: { a: Zs } }, children: Y })
7500
7496
  }
7501
7497
  ) : /* @__PURE__ */ a.jsx(
7502
- fr,
7498
+ bn,
7503
7499
  {
7504
7500
  options: {
7505
7501
  wrapper: t.type === "question" ? "h1" : z.Fragment,
@@ -7662,7 +7658,7 @@ const vo = ({
7662
7658
  form: r,
7663
7659
  children: s
7664
7660
  }) => {
7665
- const i = W(), c = Ce(qn), o = xt(s, {
7661
+ const i = W(), c = Ce(zn), o = xt(s, {
7666
7662
  element: "li"
7667
7663
  });
7668
7664
  return /* @__PURE__ */ a.jsxs("div", { className: "thread-wrapper", children: [
@@ -7681,16 +7677,16 @@ const vo = ({
7681
7677
  }
7682
7678
  }
7683
7679
  ),
7684
- r && c.showForm && /* @__PURE__ */ a.jsx(Bn, { ...r })
7680
+ r && c.showForm && /* @__PURE__ */ a.jsx(qn, { ...r })
7685
7681
  ] });
7686
7682
  }, bo = "post", yo = "reply", ya = "00000000-0000-0000-0000-000000000000";
7687
- function zn({ queryClient: e, queryKey: t }) {
7683
+ function Zn({ queryClient: e, queryKey: t }) {
7688
7684
  function n(r, s, i) {
7689
7685
  e.setQueryData(t, i);
7690
7686
  }
7691
7687
  return n;
7692
7688
  }
7693
- function Zn({ queryClient: e, queryKey: t }) {
7689
+ function Un({ queryClient: e, queryKey: t }) {
7694
7690
  async function n(r) {
7695
7691
  await e.cancelQueries({ queryKey: t });
7696
7692
  const s = e.getQueryData(t);
@@ -8067,10 +8063,10 @@ function Mo({
8067
8063
  },
8068
8064
  queryKey: c
8069
8065
  }) {
8070
- const o = Pn(), f = An(), d = { queryClient: o, queryKey: c }, u = {
8066
+ const o = Mn(), f = On(), d = { queryClient: o, queryKey: c }, u = {
8071
8067
  mutationHandlers: {
8072
- error: zn(d),
8073
- mutate: Zn(d)
8068
+ error: Zn(d),
8069
+ mutate: Un(d)
8074
8070
  },
8075
8071
  user: f,
8076
8072
  ...d
@@ -8924,10 +8920,10 @@ function Ea({
8924
8920
  },
8925
8921
  queryKey: c
8926
8922
  }) {
8927
- const o = Pn(), f = An(), d = { queryClient: o, queryKey: c }, u = {
8923
+ const o = Mn(), f = On(), d = { queryClient: o, queryKey: c }, u = {
8928
8924
  mutationHandlers: {
8929
- error: zn(d),
8930
- mutate: Zn(d)
8925
+ error: Zn(d),
8926
+ mutate: Un(d)
8931
8927
  },
8932
8928
  user: f,
8933
8929
  ...d
@@ -9345,10 +9341,10 @@ function Xo({
9345
9341
  },
9346
9342
  queryKey: s
9347
9343
  }) {
9348
- const i = Pn(), c = An(), o = { queryClient: i, queryKey: s }, f = {
9344
+ const i = Mn(), c = On(), o = { queryClient: i, queryKey: s }, f = {
9349
9345
  mutationHandlers: {
9350
- error: zn(o),
9351
- mutate: Zn(o)
9346
+ error: Zn(o),
9347
+ mutate: Un(o)
9352
9348
  },
9353
9349
  user: c,
9354
9350
  ...o
@@ -9609,10 +9605,10 @@ export {
9609
9605
  Oc as ContactFooter,
9610
9606
  ji as ContactForm,
9611
9607
  na as Contributors,
9612
- qn as ConversationContext,
9608
+ zn as ConversationContext,
9613
9609
  ao as CookieBanner,
9614
9610
  fo as DiscussionConversation,
9615
- Bn as DiscussionForm,
9611
+ qn as DiscussionForm,
9616
9612
  ho as DiscussionLikes,
9617
9613
  Lt as DiscussionPost,
9618
9614
  vo as DiscussionThread,
@@ -9629,7 +9625,7 @@ export {
9629
9625
  xc as GlobalProviders,
9630
9626
  ga as Header,
9631
9627
  Is as HelperTextBox,
9632
- Rn as HiddenFromScreenReaders,
9628
+ Nn as HiddenFromScreenReaders,
9633
9629
  jc as HideShowTextBox,
9634
9630
  Ne as HighlightedTextBox,
9635
9631
  Ls as IntlProvider,
@@ -9644,9 +9640,9 @@ export {
9644
9640
  Xr as LoadingState,
9645
9641
  sa as Logo,
9646
9642
  vc as LogoSection,
9647
- fr as MarkdownText,
9643
+ bn as MarkdownText,
9648
9644
  yc as MarketingBox,
9649
- On as Member,
9645
+ Fn as Member,
9650
9646
  Ic as MembersList,
9651
9647
  _a as Modal,
9652
9648
  ii as MoreMenu,
@@ -9668,7 +9664,7 @@ export {
9668
9664
  Pc as ShareLinks,
9669
9665
  Ac as SignupForm,
9670
9666
  Zs as Span,
9671
- bn as StatusBanner,
9667
+ yn as StatusBanner,
9672
9668
  Mc as Tabs,
9673
9669
  Dc as Tags,
9674
9670
  Ps as Tooltip,
@@ -9687,5 +9683,5 @@ export {
9687
9683
  it as useElementWidth,
9688
9684
  hs as useScrollListener,
9689
9685
  gs as useScrollToHash,
9690
- An as useUser
9686
+ On as useUser
9691
9687
  };