@apolitical/component-library 2.1.6 → 2.1.7-SW.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as Sr from "react";
2
- import K, { memo as Ae, useState as ne, useEffect as se, useRef as pe, useMemo as bt, createContext as Qn, useContext as $e, Children as Ln, useCallback as fa, useReducer as Jn, forwardRef as $i, createElement as Cr, Component as Pi, Fragment as gt, Suspense as Ri } from "react";
2
+ import K, { memo as Ae, useState as ne, useEffect as se, useRef as pe, useMemo as bt, createContext as Qn, useContext as Ne, Children as Ln, useCallback as fa, useReducer as Jn, forwardRef as Ni, createElement as Cr, Component as Pi, Fragment as gt, Suspense as Ri } from "react";
3
3
  import ft from "lodash.clonedeep";
4
4
  import Mi from "lodash.set";
5
5
  import { useIntl as Q, IntlProvider as Oi, FormattedMessage as je, createIntl as Fi } from "react-intl";
@@ -75,14 +75,14 @@ var va = { exports: {} };
75
75
  })();
76
76
  })(va);
77
77
  var Wi = va.exports;
78
- const C = /* @__PURE__ */ en(Wi), Hi = ({
78
+ const $ = /* @__PURE__ */ en(Wi), Hi = ({
79
79
  element: t = "span",
80
80
  showOnFocus: e = !0,
81
81
  children: n,
82
82
  ...r
83
83
  }) => K.createElement(t, {
84
84
  ...r,
85
- className: C("hidden", { "show-on-focus": e }),
85
+ className: $("hidden", { "show-on-focus": e }),
86
86
  children: n
87
87
  }), be = Ae(Hi), Vi = ({
88
88
  element: t = "span",
@@ -99,11 +99,11 @@ var In = { exports: {} }, at = {};
99
99
  * This source code is licensed under the MIT license found in the
100
100
  * LICENSE file in the root directory of this source tree.
101
101
  */
102
- var Nr;
102
+ var $r;
103
103
  function Yi() {
104
- if (Nr)
104
+ if ($r)
105
105
  return at;
106
- Nr = 1;
106
+ $r = 1;
107
107
  var t = K, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, a = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
108
108
  function o(c, u, l) {
109
109
  var f, d = {}, m = null, p = null;
@@ -127,9 +127,9 @@ var it = {};
127
127
  * This source code is licensed under the MIT license found in the
128
128
  * LICENSE file in the root directory of this source tree.
129
129
  */
130
- var $r;
130
+ var Nr;
131
131
  function Ki() {
132
- return $r || ($r = 1, process.env.NODE_ENV !== "production" && function() {
132
+ return Nr || (Nr = 1, process.env.NODE_ENV !== "production" && function() {
133
133
  var t = K, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), g = Symbol.iterator, v = "@@iterator";
134
134
  function b(h) {
135
135
  if (h === null || typeof h != "object")
@@ -155,16 +155,16 @@ function Ki() {
155
155
  me.unshift("Warning: " + P), Function.prototype.apply.call(console[h], console, me);
156
156
  }
157
157
  }
158
- var k = !1, w = !1, U = !1, R = !1, N = !1, B;
159
- B = Symbol.for("react.module.reference");
160
- function L(h) {
161
- return !!(typeof h == "string" || typeof h == "function" || h === r || h === s || N || h === a || h === l || h === f || R || h === p || k || w || U || typeof h == "object" && h !== null && (h.$$typeof === m || h.$$typeof === d || h.$$typeof === o || h.$$typeof === c || h.$$typeof === u || // This needs to include all possible module reference object
158
+ var k = !1, w = !1, U = !1, M = !1, I = !1, R;
159
+ R = Symbol.for("react.module.reference");
160
+ function O(h) {
161
+ return !!(typeof h == "string" || typeof h == "function" || h === r || h === s || I || h === a || h === l || h === f || M || h === p || k || w || U || typeof h == "object" && h !== null && (h.$$typeof === m || h.$$typeof === d || h.$$typeof === o || h.$$typeof === c || h.$$typeof === u || // This needs to include all possible module reference object
162
162
  // types supported by any Flight configuration anywhere since
163
163
  // we don't know which Flight build this will end up being used
164
164
  // with.
165
- h.$$typeof === B || h.getModuleId !== void 0));
165
+ h.$$typeof === R || h.getModuleId !== void 0));
166
166
  }
167
- function M(h, P, q) {
167
+ function S(h, P, q) {
168
168
  var te = h.displayName;
169
169
  if (te)
170
170
  return te;
@@ -204,7 +204,7 @@ function Ki() {
204
204
  var q = h;
205
205
  return T(q._context) + ".Provider";
206
206
  case u:
207
- return M(h, h.render, "ForwardRef");
207
+ return S(h, h.render, "ForwardRef");
208
208
  case d:
209
209
  var te = h.displayName || null;
210
210
  return te !== null ? te : x(h.type) || "Memo";
@@ -219,14 +219,14 @@ function Ki() {
219
219
  }
220
220
  return null;
221
221
  }
222
- var S = Object.assign, I = 0, O, D, V, ee, j, $, Z;
222
+ var C = Object.assign, B = 0, F, L, V, ee, j, N, Z;
223
223
  function z() {
224
224
  }
225
225
  z.__reactDisabledLog = !0;
226
226
  function W() {
227
227
  {
228
- if (I === 0) {
229
- O = console.log, D = console.info, V = console.warn, ee = console.error, j = console.group, $ = console.groupCollapsed, Z = console.groupEnd;
228
+ if (B === 0) {
229
+ F = console.log, L = console.info, V = console.warn, ee = console.error, j = console.group, N = console.groupCollapsed, Z = console.groupEnd;
230
230
  var h = {
231
231
  configurable: !0,
232
232
  enumerable: !0,
@@ -243,42 +243,42 @@ function Ki() {
243
243
  groupEnd: h
244
244
  });
245
245
  }
246
- I++;
246
+ B++;
247
247
  }
248
248
  }
249
249
  function X() {
250
250
  {
251
- if (I--, I === 0) {
251
+ if (B--, B === 0) {
252
252
  var h = {
253
253
  configurable: !0,
254
254
  enumerable: !0,
255
255
  writable: !0
256
256
  };
257
257
  Object.defineProperties(console, {
258
- log: S({}, h, {
259
- value: O
258
+ log: C({}, h, {
259
+ value: F
260
260
  }),
261
- info: S({}, h, {
262
- value: D
261
+ info: C({}, h, {
262
+ value: L
263
263
  }),
264
- warn: S({}, h, {
264
+ warn: C({}, h, {
265
265
  value: V
266
266
  }),
267
- error: S({}, h, {
267
+ error: C({}, h, {
268
268
  value: ee
269
269
  }),
270
- group: S({}, h, {
270
+ group: C({}, h, {
271
271
  value: j
272
272
  }),
273
- groupCollapsed: S({}, h, {
274
- value: $
273
+ groupCollapsed: C({}, h, {
274
+ value: N
275
275
  }),
276
- groupEnd: S({}, h, {
276
+ groupEnd: C({}, h, {
277
277
  value: Z
278
278
  })
279
279
  });
280
280
  }
281
- I < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
281
+ B < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
282
282
  }
283
283
  }
284
284
  var Y = y.ReactCurrentDispatcher, H;
@@ -295,16 +295,16 @@ function Ki() {
295
295
  ` + H + h;
296
296
  }
297
297
  }
298
- var re = !1, F;
298
+ var re = !1, A;
299
299
  {
300
300
  var oe = typeof WeakMap == "function" ? WeakMap : Map;
301
- F = new oe();
301
+ A = new oe();
302
302
  }
303
- function A(h, P) {
303
+ function D(h, P) {
304
304
  if (!h || re)
305
305
  return "";
306
306
  {
307
- var q = F.get(h);
307
+ var q = A.get(h);
308
308
  if (q !== void 0)
309
309
  return q;
310
310
  }
@@ -359,7 +359,7 @@ function Ki() {
359
359
  if (he--, ge--, ge < 0 || ie[he] !== _e[ge]) {
360
360
  var Te = `
361
361
  ` + ie[he].replace(" at new ", " at ");
362
- return h.displayName && Te.includes("<anonymous>") && (Te = Te.replace("<anonymous>", h.displayName)), typeof h == "function" && F.set(h, Te), Te;
362
+ return h.displayName && Te.includes("<anonymous>") && (Te = Te.replace("<anonymous>", h.displayName)), typeof h == "function" && A.set(h, Te), Te;
363
363
  }
364
364
  while (he >= 1 && ge >= 0);
365
365
  break;
@@ -369,10 +369,10 @@ function Ki() {
369
369
  re = !1, Y.current = me, X(), Error.prepareStackTrace = le;
370
370
  }
371
371
  var He = h ? h.displayName || h.name : "", Er = He ? J(He) : "";
372
- return typeof h == "function" && F.set(h, Er), Er;
372
+ return typeof h == "function" && A.set(h, Er), Er;
373
373
  }
374
374
  function ve(h, P, q) {
375
- return A(h, !1);
375
+ return D(h, !1);
376
376
  }
377
377
  function Pe(h) {
378
378
  var P = h.prototype;
@@ -382,7 +382,7 @@ function Ki() {
382
382
  if (h == null)
383
383
  return "";
384
384
  if (typeof h == "function")
385
- return A(h, Pe(h));
385
+ return D(h, Pe(h));
386
386
  if (typeof h == "string")
387
387
  return J(h);
388
388
  switch (h) {
@@ -676,7 +676,7 @@ Check the top-level render call using <` + q + ">.");
676
676
  }
677
677
  function Tr(h, P, q, te, le, me) {
678
678
  {
679
- var ce = L(h);
679
+ var ce = O(h);
680
680
  if (!ce) {
681
681
  var ie = "";
682
682
  (h === void 0 || typeof h == "object" && h !== null && Object.keys(h).length === 0) && (ie += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
@@ -710,8 +710,8 @@ Check the top-level render call using <` + q + ">.");
710
710
  function Si(h, P, q) {
711
711
  return Tr(h, P, q, !1);
712
712
  }
713
- var Ci = Si, Ni = Ei;
714
- it.Fragment = r, it.jsx = Ci, it.jsxs = Ni;
713
+ var Ci = Si, $i = Ei;
714
+ it.Fragment = r, it.jsx = Ci, it.jsxs = $i;
715
715
  }()), it;
716
716
  }
717
717
  process.env.NODE_ENV === "production" ? In.exports = Yi() : In.exports = Ki();
@@ -744,45 +744,45 @@ function Qi(t, e, n) {
744
744
  };
745
745
  }, []);
746
746
  var E = bt(function() {
747
- var k = function(L) {
748
- var M = c.current, T = u.current;
749
- return c.current = u.current = null, s.current = L, l.current = f.current.apply(T, M);
750
- }, w = function(L, M) {
751
- p && cancelAnimationFrame(o.current), o.current = p ? requestAnimationFrame(L) : setTimeout(L, M);
752
- }, U = function(L) {
747
+ var k = function(O) {
748
+ var S = c.current, T = u.current;
749
+ return c.current = u.current = null, s.current = O, l.current = f.current.apply(T, S);
750
+ }, w = function(O, S) {
751
+ p && cancelAnimationFrame(o.current), o.current = p ? requestAnimationFrame(O) : setTimeout(O, S);
752
+ }, U = function(O) {
753
753
  if (!d.current)
754
754
  return !1;
755
- var M = L - a.current;
756
- return !a.current || M >= e || M < 0 || b && L - s.current >= _;
757
- }, R = function(L) {
758
- return o.current = null, v && c.current ? k(L) : (c.current = u.current = null, l.current);
759
- }, N = function L() {
760
- var M = Date.now();
761
- if (U(M))
762
- return R(M);
755
+ var S = O - a.current;
756
+ return !a.current || S >= e || S < 0 || b && O - s.current >= _;
757
+ }, M = function(O) {
758
+ return o.current = null, v && c.current ? k(O) : (c.current = u.current = null, l.current);
759
+ }, I = function O() {
760
+ var S = Date.now();
761
+ if (U(S))
762
+ return M(S);
763
763
  if (d.current) {
764
- var T = e - (M - a.current), x = b ? Math.min(T, _ - (M - s.current)) : T;
765
- w(L, x);
764
+ var T = e - (S - a.current), x = b ? Math.min(T, _ - (S - s.current)) : T;
765
+ w(O, x);
766
766
  }
767
- }, B = function() {
767
+ }, R = function() {
768
768
  if (m || y) {
769
- var L = Date.now(), M = U(L);
770
- if (c.current = [].slice.call(arguments), u.current = r, a.current = L, M) {
769
+ var O = Date.now(), S = U(O);
770
+ if (c.current = [].slice.call(arguments), u.current = r, a.current = O, S) {
771
771
  if (!o.current && d.current)
772
- return s.current = a.current, w(N, e), g ? k(a.current) : l.current;
772
+ return s.current = a.current, w(I, e), g ? k(a.current) : l.current;
773
773
  if (b)
774
- return w(N, e), k(a.current);
774
+ return w(I, e), k(a.current);
775
775
  }
776
- return o.current || w(N, e), l.current;
776
+ return o.current || w(I, e), l.current;
777
777
  }
778
778
  };
779
- return B.cancel = function() {
779
+ return R.cancel = function() {
780
780
  o.current && (p ? cancelAnimationFrame(o.current) : clearTimeout(o.current)), s.current = 0, c.current = a.current = u.current = o.current = null;
781
- }, B.isPending = function() {
781
+ }, R.isPending = function() {
782
782
  return !!o.current;
783
- }, B.flush = function() {
784
- return o.current ? R(Date.now()) : l.current;
785
- }, B;
783
+ }, R.flush = function() {
784
+ return o.current ? M(Date.now()) : l.current;
785
+ }, R;
786
786
  }, [g, b, e, _, v, p, m, y]);
787
787
  return E;
788
788
  }
@@ -1320,7 +1320,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1320
1320
  es: is,
1321
1321
  fr: ss,
1322
1322
  pt: os
1323
- }, Symbol.toStringTag, { value: "Module" })), ja = (t) => t in tr, Ne = (t, e, n, r, a = {}) => {
1323
+ }, Symbol.toStringTag, { value: "Module" })), ja = (t) => t in tr, $e = (t, e, n, r, a = {}) => {
1324
1324
  let s = "";
1325
1325
  return ja(`${e}_${n}`) ? s = t({ id: `${e}_${n}` }, a) : s = t({ id: e }, { [r]: n, ...a }), s;
1326
1326
  }, ls = (t, e, n) => {
@@ -1377,7 +1377,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1377
1377
  typeof e == "string" && g.push(e), r && (g.push("icon"), typeof r == "object" ? (g.push(r.icon), r.position ? g.push(r.position) : g.push("left"), r.hover && g.push(`hover_${r.hover}`), r.animate && (g.push("animate"), typeof r.animate == "string" && g.push(r.animate))) : (g.push(r), !r.includes("right") && !r.includes("left") && g.push("left"))), n.muted && g.push("muted"), n.fullWidth && g.push("full-width");
1378
1378
  const v = {
1379
1379
  ...d,
1380
- className: C(t, c, g, {
1380
+ className: $(t, c, g, {
1381
1381
  "no-text": !f,
1382
1382
  disabled: u,
1383
1383
  button: a
@@ -1395,14 +1395,14 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1395
1395
  }, tn = ({ buttons: t, className: e = "", ...n }) => {
1396
1396
  const r = t.length > 1 ? "ul" : "p", a = t.map((s, o) => r === "p" ? /* @__PURE__ */ i.jsx(ae, { ...s }, o) : /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx(ae, { ...s }) }, o));
1397
1397
  return K.createElement(r, {
1398
- className: C("button-wrapper", e),
1398
+ className: $("button-wrapper", e),
1399
1399
  ...n,
1400
1400
  children: a
1401
1401
  });
1402
1402
  };
1403
1403
  const Fe = ({ className: t = "", maxWidth: e = !1 }) => {
1404
1404
  const n = e ? { "--max-width": `${e / 16}rem` } : {};
1405
- return /* @__PURE__ */ i.jsx("hr", { className: C(t, { "has-max-width": e }), style: n });
1405
+ return /* @__PURE__ */ i.jsx("hr", { className: $(t, { "has-max-width": e }), style: n });
1406
1406
  }, Pr = {
1407
1407
  card: {
1408
1408
  range: [
@@ -1581,7 +1581,7 @@ const Gl = ({ image: t, className: e, testId: n }) => /* @__PURE__ */ i.jsx(
1581
1581
  }) => {
1582
1582
  if (t) {
1583
1583
  const u = { ...c };
1584
- return a && (u.onClick = a), s && (u["data-gtm-event-context"] = s), o && (u["data-gtm-event-type"] = o), /* @__PURE__ */ i.jsx("a", { href: t, className: C("gtm-trackable", r), ...u, children: e });
1584
+ return a && (u.onClick = a), s && (u["data-gtm-event-context"] = s), o && (u["data-gtm-event-type"] = o), /* @__PURE__ */ i.jsx("a", { href: t, className: $("gtm-trackable", r), ...u, children: e });
1585
1585
  }
1586
1586
  return n ? K.createElement(n, { children: e, className: r, ...c }) : e;
1587
1587
  };
@@ -1630,7 +1630,7 @@ const ps = ({ isOpen: t = !1, isLoading: e = !1, children: n }) => {
1630
1630
  "aside",
1631
1631
  {
1632
1632
  ref: a,
1633
- className: C("tooltip text-medium", s, { loading: e }),
1633
+ className: $("tooltip text-medium", s, { loading: e }),
1634
1634
  hidden: s === "hidden",
1635
1635
  children: e ? /* @__PURE__ */ i.jsx("p", { children: r.formatMessage({ id: "tooltip_loading" }) }) : typeof n == "string" ? /* @__PURE__ */ i.jsx("p", { children: n }) : n
1636
1636
  }
@@ -1649,7 +1649,7 @@ const Jl = ({ className: t = "", image: e, ...n }) => e ? (typeof e == "string"
1649
1649
  _t,
1650
1650
  {
1651
1651
  ...n,
1652
- className: C("banner", t),
1652
+ className: $("banner", t),
1653
1653
  image: { ...e, aspect: "banner" }
1654
1654
  }
1655
1655
  )) : null;
@@ -1663,7 +1663,7 @@ const et = ({
1663
1663
  return /* @__PURE__ */ i.jsx(
1664
1664
  "section",
1665
1665
  {
1666
- className: C("full-width-section", e, {
1666
+ className: $("full-width-section", e, {
1667
1667
  [a]: a !== "default"
1668
1668
  }),
1669
1669
  ...r,
@@ -1684,7 +1684,7 @@ const Xl = ({ text: t, buttons: e, className: n = "" }) => {
1684
1684
  target: "_blank",
1685
1685
  children: a.text
1686
1686
  });
1687
- }), /* @__PURE__ */ i.jsx(et, { className: C("download-section", n), children: /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
1687
+ }), /* @__PURE__ */ i.jsx(et, { className: $("download-section", n), children: /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
1688
1688
  K.createElement(
1689
1689
  typeof t == "string" ? "h2" : t.element,
1690
1690
  { className: "text" },
@@ -1698,7 +1698,7 @@ function ka({ href: t, setShowModal: e }) {
1698
1698
  }
1699
1699
  const hs = ({ icon: t, description: e, ctaMessage: n, href: r, showEditButton: a, setShowModal: s }) => {
1700
1700
  const { formatMessage: o } = Q();
1701
- return /* @__PURE__ */ i.jsxs("div", { className: C("edit-section-placeholder", { "has-icon": !!t }), style: ts(t), children: [
1701
+ return /* @__PURE__ */ i.jsxs("div", { className: $("edit-section-placeholder", { "has-icon": !!t }), style: ts(t), children: [
1702
1702
  /* @__PURE__ */ i.jsx("p", { children: e || o({ id: "edit_section_placeholder_description" }) }),
1703
1703
  a && /* @__PURE__ */ i.jsx(ae, { href: r, variant: "secondary", size: "small", onClick: () => ka({ href: r, setShowModal: s }), children: n || o({ id: "edit_section_placeholder_cta" }) })
1704
1704
  ] });
@@ -1713,7 +1713,7 @@ const hs = ({ icon: t, description: e, ctaMessage: n, href: r, showEditButton: a
1713
1713
  showDivider: c = !0
1714
1714
  }) => {
1715
1715
  const [u, l] = K.useState(!1), f = typeof r == "string" || !!n, d = () => l(!1);
1716
- return /* @__PURE__ */ i.jsxs("section", { className: C("edit-section", e), children: [
1716
+ return /* @__PURE__ */ i.jsxs("section", { className: $("edit-section", e), children: [
1717
1717
  n && /* @__PURE__ */ i.jsx(
1718
1718
  nn,
1719
1719
  {
@@ -1722,7 +1722,7 @@ const hs = ({ icon: t, description: e, ctaMessage: n, href: r, showEditButton: a
1722
1722
  showDivider: !1,
1723
1723
  showIcon: !1,
1724
1724
  functions: { onClose: d },
1725
- className: C("edit-section-modal"),
1725
+ className: $("edit-section-modal"),
1726
1726
  children: /* @__PURE__ */ i.jsx(or, { ...n, fields: n.fields, meta: {
1727
1727
  ...n == null ? void 0 : n.meta,
1728
1728
  shouldShowCancelButton: !0
@@ -1752,12 +1752,12 @@ const td = ({
1752
1752
  element: typeof t == "object" ? t.element : "h2",
1753
1753
  text: typeof t == "string" ? t : typeof t == "object" ? t.text : ""
1754
1754
  };
1755
- return /* @__PURE__ */ i.jsxs("div", { className: C("logos", n), children: [
1755
+ return /* @__PURE__ */ i.jsxs("div", { className: $("logos", n), children: [
1756
1756
  t && K.createElement(a.element, { className: "title" }, a.text),
1757
1757
  /* @__PURE__ */ i.jsx(
1758
1758
  "ul",
1759
1759
  {
1760
- className: C({
1760
+ className: $({
1761
1761
  "two-col": r === 2 || r === 4,
1762
1762
  "three-col": r === 5 || r <= 10 && r % 3 === 0
1763
1763
  }),
@@ -1840,7 +1840,7 @@ const gs = [
1840
1840
  }), /* @__PURE__ */ i.jsx(
1841
1841
  et,
1842
1842
  {
1843
- className: C("banner-section", r, a, t, {
1843
+ className: $("banner-section", r, a, t, {
1844
1844
  "has-image": n,
1845
1845
  "has-extra-spacing": a === "normal" && f.eyebrow && f.title
1846
1846
  }),
@@ -1877,11 +1877,11 @@ const bs = ({
1877
1877
  image: r
1878
1878
  }) => {
1879
1879
  const a = () => typeof n == "string" ? /* @__PURE__ */ i.jsx(Xe, { children: n }) : n;
1880
- return /* @__PURE__ */ i.jsxs(et, { className: C("highlight-section", e), children: [
1880
+ return /* @__PURE__ */ i.jsxs(et, { className: $("highlight-section", e), children: [
1881
1881
  r && /* @__PURE__ */ i.jsx(
1882
1882
  "div",
1883
1883
  {
1884
- className: C("highlight-container highlight-image", {
1884
+ className: $("highlight-container highlight-image", {
1885
1885
  [`highlight-image-${t}`]: t === "right"
1886
1886
  }),
1887
1887
  children: /* @__PURE__ */ i.jsx(_t, { image: r })
@@ -1890,13 +1890,13 @@ const bs = ({
1890
1890
  /* @__PURE__ */ i.jsx(
1891
1891
  "div",
1892
1892
  {
1893
- className: C("highlight-container highlight-content-wrapper", {
1893
+ className: $("highlight-container highlight-content-wrapper", {
1894
1894
  "no-image": !r
1895
1895
  }),
1896
1896
  children: /* @__PURE__ */ i.jsx(
1897
1897
  "div",
1898
1898
  {
1899
- className: C("highlight-content", {
1899
+ className: $("highlight-content", {
1900
1900
  "highlight-content-right": t === "left"
1901
1901
  }),
1902
1902
  children: a()
@@ -1912,7 +1912,7 @@ const ad = ({
1912
1912
  title: n,
1913
1913
  text: r,
1914
1914
  gtmContext: a
1915
- }) => !n && !r ? null : /* @__PURE__ */ i.jsxs("aside", { className: C("marketing-block", t), children: [
1915
+ }) => !n && !r ? null : /* @__PURE__ */ i.jsxs("aside", { className: $("marketing-block", t), children: [
1916
1916
  n && /* @__PURE__ */ i.jsx("p", { className: "title", children: n }),
1917
1917
  r && /* @__PURE__ */ i.jsx("p", { children: r }),
1918
1918
  e && /* @__PURE__ */ i.jsx(
@@ -1978,7 +1978,7 @@ const ws = ({ children: t, user: e }) => e.isLoading ? null : process.env.REACT_
1978
1978
  return /* @__PURE__ */ i.jsx(Oi, { locale: r, messages: a, children: t });
1979
1979
  }, De = Qn({ isLoading: !0 });
1980
1980
  function nr() {
1981
- return $e(De);
1981
+ return Ne(De);
1982
1982
  }
1983
1983
  const ks = ({ children: t, user: e }) => /* @__PURE__ */ i.jsx(De.Provider, { value: e, children: t }), id = ({ bootstrap: t, children: e, intl: n, showDevTools: r }) => {
1984
1984
  const [a, s] = ne({ isLoading: !0 });
@@ -1990,7 +1990,7 @@ const ks = ({ children: t, user: e }) => /* @__PURE__ */ i.jsx(De.Provider, { va
1990
1990
  };
1991
1991
  const Ta = ({ label: t = !1, className: e = "", children: n }) => {
1992
1992
  const r = Q();
1993
- return /* @__PURE__ */ i.jsxs("details", { className: C("collapsible-section", e), children: [
1993
+ return /* @__PURE__ */ i.jsxs("details", { className: $("collapsible-section", e), children: [
1994
1994
  /* @__PURE__ */ i.jsx("summary", { children: t || r.formatMessage({ id: "collapsibleSection_summary" }) }),
1995
1995
  /* @__PURE__ */ i.jsx("div", { className: "content", children: n })
1996
1996
  ] });
@@ -2006,7 +2006,7 @@ const Ie = ({
2006
2006
  return /* @__PURE__ */ i.jsx(
2007
2007
  "div",
2008
2008
  {
2009
- className: C("highlighted-text-box", t, n, {
2009
+ className: $("highlighted-text-box", t, n, {
2010
2010
  "has-icon": e
2011
2011
  }),
2012
2012
  style: s,
@@ -2037,7 +2037,7 @@ const tt = ({
2037
2037
  Ie,
2038
2038
  {
2039
2039
  variant: "subtle",
2040
- className: C("empty-state-box", t, r),
2040
+ className: $("empty-state-box", t, r),
2041
2041
  children: /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
2042
2042
  e && /* @__PURE__ */ i.jsx(Xe, { options: { forceBlock: !0 }, children: e }),
2043
2043
  a && typeof n == "object" && (l || /* @__PURE__ */ i.jsx(
@@ -2060,7 +2060,7 @@ const Ts = ({
2060
2060
  className: e = "",
2061
2061
  heading: n = !1,
2062
2062
  children: r
2063
- }) => /* @__PURE__ */ i.jsxs("div", { className: C("helper-text-box text-small", t, e), children: [
2063
+ }) => /* @__PURE__ */ i.jsxs("div", { className: $("helper-text-box text-small", t, e), children: [
2064
2064
  n && /* @__PURE__ */ i.jsx("p", { className: "title", children: n }),
2065
2065
  typeof r == "string" ? /* @__PURE__ */ i.jsx(
2066
2066
  Xe,
@@ -2110,9 +2110,9 @@ const sd = ({
2110
2110
  Ie,
2111
2111
  {
2112
2112
  variant: "subtle",
2113
- className: C("hide-show-text-box", t),
2113
+ className: $("hide-show-text-box", t),
2114
2114
  children: [
2115
- /* @__PURE__ */ i.jsxs("div", { ref: o, className: C("content", l), children: [
2115
+ /* @__PURE__ */ i.jsxs("div", { ref: o, className: $("content", l), children: [
2116
2116
  /* @__PURE__ */ i.jsx(Xe, { options: { forceBlock: !0 }, children: l === "closed" ? c : r }),
2117
2117
  l !== "closed" && a
2118
2118
  ] }),
@@ -2122,7 +2122,7 @@ const sd = ({
2122
2122
  variant: "tertiary",
2123
2123
  icon: { icon: "navigation_arrow", position: "left", animate: !0 },
2124
2124
  styling: { muted: !0 },
2125
- className: C({ "rotate-180": m }),
2125
+ className: $({ "rotate-180": m }),
2126
2126
  onClick: () => {
2127
2127
  f(m ? "ready-to-close" : "opening");
2128
2128
  },
@@ -2165,7 +2165,7 @@ const sd = ({
2165
2165
  children: r.map((s) => s)
2166
2166
  }
2167
2167
  );
2168
- }, Ns = ({
2168
+ }, $s = ({
2169
2169
  children: t,
2170
2170
  ...e
2171
2171
  }) => {
@@ -2182,7 +2182,7 @@ const sd = ({
2182
2182
  return /* @__PURE__ */ i.jsx("div", { ...e, children: t });
2183
2183
  }
2184
2184
  return /* @__PURE__ */ i.jsx("div", { ...e, children: t });
2185
- }, $s = (t) => {
2185
+ }, Ns = (t) => {
2186
2186
  const e = Q(), n = Date.now().toString();
2187
2187
  let r = "default";
2188
2188
  const a = t.src;
@@ -2235,8 +2235,8 @@ const Ms = {
2235
2235
  // Our content team previously used real HTML, which we need to tear out and replace with React components
2236
2236
  style: ye,
2237
2237
  details: Cs,
2238
- div: Ns,
2239
- iframe: $s
2238
+ div: $s,
2239
+ iframe: Ns
2240
2240
  },
2241
2241
  "text-only": {
2242
2242
  h1: ye,
@@ -2267,7 +2267,7 @@ const Ms = {
2267
2267
  forceBlock: !0,
2268
2268
  overrides: Ms[r]
2269
2269
  };
2270
- return /* @__PURE__ */ i.jsx("div", { className: C("markdown-text", t), children: /* @__PURE__ */ i.jsx(Xe, { options: { ...a, ...e }, children: n }) });
2270
+ return /* @__PURE__ */ i.jsx("div", { className: $("markdown-text", t), children: /* @__PURE__ */ i.jsx(Xe, { options: { ...a, ...e }, children: n }) });
2271
2271
  };
2272
2272
  const Os = ({
2273
2273
  maxWidth: t = !1,
@@ -2277,8 +2277,8 @@ const Os = ({
2277
2277
  className: a = ""
2278
2278
  }) => {
2279
2279
  const s = t ? { "--max-width": `${t / 16}rem` } : {};
2280
- return /* @__PURE__ */ i.jsxs("section", { className: C("page-heading", a), children: [
2281
- /* @__PURE__ */ i.jsxs("div", { className: C("content", { "has-max-width": t }), style: s, children: [
2280
+ return /* @__PURE__ */ i.jsxs("section", { className: $("page-heading", a), children: [
2281
+ /* @__PURE__ */ i.jsxs("div", { className: $("content", { "has-max-width": t }), style: s, children: [
2282
2282
  e && e.text && K.createElement(e.element || "h1", { className: "title" }, e.text),
2283
2283
  n && n.text && K.createElement(
2284
2284
  n.element || "h2",
@@ -2295,7 +2295,7 @@ const Bt = ({
2295
2295
  className: n = "",
2296
2296
  children: r,
2297
2297
  ...a
2298
- }) => /* @__PURE__ */ i.jsx("span", { className: C("pill", t, e, n), ...a, children: r });
2298
+ }) => /* @__PURE__ */ i.jsx("span", { className: $("pill", t, e, n), ...a, children: r });
2299
2299
  const qt = ({
2300
2300
  element: t = "p",
2301
2301
  children: e = null,
@@ -2305,7 +2305,7 @@ const qt = ({
2305
2305
  t,
2306
2306
  {
2307
2307
  ...r,
2308
- className: C("status-banner text-small", n),
2308
+ className: $("status-banner text-small", n),
2309
2309
  "aria-live": "assertive"
2310
2310
  },
2311
2311
  e
@@ -2320,7 +2320,7 @@ const As = ({ progress: t = 0, text: e = !1, className: n = "" }) => {
2320
2320
  return /* @__PURE__ */ i.jsx(
2321
2321
  "span",
2322
2322
  {
2323
- className: C(`progress-bar section-${a}`, n),
2323
+ className: $(`progress-bar section-${a}`, n),
2324
2324
  style: s,
2325
2325
  children: /* @__PURE__ */ i.jsx(be, { children: e ? `${t} ${e}` : r.formatMessage({ id: "progressBar" }, { number: t }) })
2326
2326
  }
@@ -2343,7 +2343,7 @@ const hn = "loadingBlock_", Ls = ({ progress: t = 0, steps: e = !1, className: n
2343
2343
  return /* @__PURE__ */ i.jsxs(
2344
2344
  Ie,
2345
2345
  {
2346
- className: C("loading-block", n, {
2346
+ className: $("loading-block", n, {
2347
2347
  "has-icon": a && e[a].icon
2348
2348
  }),
2349
2349
  variant: "subtle",
@@ -2359,7 +2359,7 @@ const Se = ({ element: t = "div", className: e = "", ...n }) => /* @__PURE__ */
2359
2359
  er,
2360
2360
  {
2361
2361
  element: t,
2362
- className: C("loading-placeholder", e),
2362
+ className: $("loading-placeholder", e),
2363
2363
  ...n
2364
2364
  }
2365
2365
  );
@@ -2398,11 +2398,11 @@ const Un = {
2398
2398
  "cards-section",
2399
2399
  "footer"
2400
2400
  ]
2401
- }, Sa = (t, e) => t in Un ? /* @__PURE__ */ i.jsx("div", { className: t, children: Un[t].map((n, r) => Sa(n, r)) }, e) : /* @__PURE__ */ i.jsx(Se, { className: t }, e), Ca = ({ layout: t = "overview-page", ...e }) => /* @__PURE__ */ i.jsx("div", { className: C("loading-state", t), ...e, children: Un[t].map((n, r) => Sa(n, r)) }), Na = (t) => {
2401
+ }, Sa = (t, e) => t in Un ? /* @__PURE__ */ i.jsx("div", { className: t, children: Un[t].map((n, r) => Sa(n, r)) }, e) : /* @__PURE__ */ i.jsx(Se, { className: t }, e), Ca = ({ layout: t = "overview-page", ...e }) => /* @__PURE__ */ i.jsx("div", { className: $("loading-state", t), ...e, children: Un[t].map((n, r) => Sa(n, r)) }), $a = (t) => {
2402
2402
  const e = t && t.toUpperCase().split(" ");
2403
2403
  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) : "";
2404
2404
  }, jt = ["#5AB6A3", "#A2D7AF", "#806056", "#3962B3"], Is = (t) => {
2405
- const e = Math.ceil(26 / jt.length), n = Na(t).toLowerCase();
2405
+ const e = Math.ceil(26 / jt.length), n = $a(t).toLowerCase();
2406
2406
  if (n === "")
2407
2407
  return jt[0];
2408
2408
  const r = n.charCodeAt(0) - 96;
@@ -2428,13 +2428,13 @@ const Mr = 256, nt = ({
2428
2428
  if (!m)
2429
2429
  return;
2430
2430
  const p = a, g = s;
2431
- typeof window < "u" && window.devicePixelRatio && (d.width = p * window.devicePixelRatio, d.height = g * window.devicePixelRatio, m.scale(window.devicePixelRatio, window.devicePixelRatio)), m.fillStyle = Is(n), m.fillRect(0, 0, p, g), m.font = `${p / 3}px Arial`, m.textAlign = "center", m.fillStyle = "white", m.fillText(Na(n), p / 2, g / 1.6);
2431
+ typeof window < "u" && window.devicePixelRatio && (d.width = p * window.devicePixelRatio, d.height = g * window.devicePixelRatio, m.scale(window.devicePixelRatio, window.devicePixelRatio)), m.fillStyle = Is(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);
2432
2432
  }, [n]);
2433
2433
  let f = !1;
2434
2434
  return e && e !== "" && !c && (e.includes("http") || e.includes("//")) && (f = !0), /* @__PURE__ */ i.jsx(
2435
2435
  "figure",
2436
2436
  {
2437
- className: C("profile-picture", t, { error: c }),
2437
+ className: $("profile-picture", t, { error: c }),
2438
2438
  ...o,
2439
2439
  children: f ? /* @__PURE__ */ i.jsx(
2440
2440
  "img",
@@ -2450,7 +2450,7 @@ const Mr = 256, nt = ({
2450
2450
  ) : /* @__PURE__ */ i.jsx("canvas", { ref: l })
2451
2451
  }
2452
2452
  );
2453
- }, $a = (t) => t === "apolitical" ? {
2453
+ }, Na = (t) => t === "apolitical" ? {
2454
2454
  image: `${Ge}logos/member_apolitical.svg`
2455
2455
  } : t === "community" || typeof t == "object" && !t.name ? {
2456
2456
  image: `${Ge}logos/member_community.svg`
@@ -2482,13 +2482,13 @@ const rr = ({
2482
2482
  gtmType: a = "member-click",
2483
2483
  className: s = ""
2484
2484
  }) => {
2485
- const o = Q(), c = $a(e);
2485
+ const o = Q(), c = Na(e);
2486
2486
  c.name || (c.name = o.formatMessage({
2487
2487
  id: `member_${typeof e == "string" ? e : "community"}`
2488
2488
  }));
2489
2489
  const { name: u, url: l, image: f } = c, d = Bs(c), m = n && n.createdAt ? Bn(n.createdAt) : !1, p = n && n.createdAt ? wa(n.createdAt) : "";
2490
2490
  return K.createElement(t, {
2491
- className: C("member text-medium", s),
2491
+ className: $("member text-medium", s),
2492
2492
  children: /* @__PURE__ */ i.jsxs(
2493
2493
  xt,
2494
2494
  {
@@ -2535,12 +2535,12 @@ const Or = {
2535
2535
  const f = Q();
2536
2536
  return !n || n.length === 0 ? null : K.createElement(t, {
2537
2537
  ...l,
2538
- className: C("contributors", u, a, { "has-gap": s }),
2538
+ className: $("contributors", u, a, { "has-gap": s }),
2539
2539
  children: /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
2540
2540
  /* @__PURE__ */ i.jsx("ul", { children: n.map((d, m) => {
2541
2541
  let p, g = "";
2542
2542
  if (m < c) {
2543
- const { name: v = "", image: b = "" } = $a(d);
2543
+ const { name: v = "", image: b = "" } = Na(d);
2544
2544
  if (o)
2545
2545
  return /* @__PURE__ */ i.jsx(Se, { element: "li", className: "contributor" }, m);
2546
2546
  p = /* @__PURE__ */ i.jsx(
@@ -2557,7 +2557,7 @@ const Or = {
2557
2557
  p = /* @__PURE__ */ i.jsxs(
2558
2558
  "small",
2559
2559
  {
2560
- className: C({ "large-number": v > 99 }),
2560
+ className: $({ "large-number": v > 99 }),
2561
2561
  children: [
2562
2562
  "+",
2563
2563
  ls(v, 0)
@@ -2565,7 +2565,7 @@ const Or = {
2565
2565
  }
2566
2566
  ), g = "number-left";
2567
2567
  }
2568
- return p ? /* @__PURE__ */ i.jsx("li", { className: C("contributor", g), children: p }, m) : null;
2568
+ return p ? /* @__PURE__ */ i.jsx("li", { className: $("contributor", g), children: p }, m) : null;
2569
2569
  }) }),
2570
2570
  r && /* @__PURE__ */ i.jsx("span", { className: "label", children: typeof r == "string" ? r : n.length === 1 ? typeof n[0] == "string" ? f.formatMessage({ id: `member_${n[0]}` }) : Ke(n[0].name || "", 20) : null })
2571
2571
  ] })
@@ -2660,16 +2660,16 @@ var Ar;
2660
2660
  function Us() {
2661
2661
  return Ar || (Ar = 1, process.env.NODE_ENV !== "production" && function() {
2662
2662
  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, a = 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, u = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = 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, v = t ? Symbol.for("react.block") : 60121, b = t ? Symbol.for("react.fundamental") : 60117, y = t ? Symbol.for("react.responder") : 60118, _ = t ? Symbol.for("react.scope") : 60119;
2663
- function E(A) {
2664
- return typeof A == "string" || typeof A == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2665
- A === r || A === l || A === s || A === a || A === d || A === m || typeof A == "object" && A !== null && (A.$$typeof === g || A.$$typeof === p || A.$$typeof === o || A.$$typeof === c || A.$$typeof === f || A.$$typeof === b || A.$$typeof === y || A.$$typeof === _ || A.$$typeof === v);
2663
+ function E(D) {
2664
+ return typeof D == "string" || typeof D == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2665
+ D === r || D === l || D === s || D === a || D === d || D === m || typeof D == "object" && D !== null && (D.$$typeof === g || D.$$typeof === p || D.$$typeof === o || D.$$typeof === c || D.$$typeof === f || D.$$typeof === b || D.$$typeof === y || D.$$typeof === _ || D.$$typeof === v);
2666
2666
  }
2667
- function k(A) {
2668
- if (typeof A == "object" && A !== null) {
2669
- var ve = A.$$typeof;
2667
+ function k(D) {
2668
+ if (typeof D == "object" && D !== null) {
2669
+ var ve = D.$$typeof;
2670
2670
  switch (ve) {
2671
2671
  case e:
2672
- var Pe = A.type;
2672
+ var Pe = D.type;
2673
2673
  switch (Pe) {
2674
2674
  case u:
2675
2675
  case l:
@@ -2696,47 +2696,47 @@ function Us() {
2696
2696
  }
2697
2697
  }
2698
2698
  }
2699
- var w = u, U = l, R = c, N = o, B = e, L = f, M = r, T = g, x = p, S = n, I = s, O = a, D = d, V = !1;
2700
- function ee(A) {
2701
- return V || (V = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), j(A) || k(A) === u;
2699
+ var w = u, U = l, M = c, I = o, R = e, O = f, S = r, T = g, x = p, C = n, B = s, F = a, L = d, V = !1;
2700
+ function ee(D) {
2701
+ return V || (V = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), j(D) || k(D) === u;
2702
2702
  }
2703
- function j(A) {
2704
- return k(A) === l;
2703
+ function j(D) {
2704
+ return k(D) === l;
2705
2705
  }
2706
- function $(A) {
2707
- return k(A) === c;
2706
+ function N(D) {
2707
+ return k(D) === c;
2708
2708
  }
2709
- function Z(A) {
2710
- return k(A) === o;
2709
+ function Z(D) {
2710
+ return k(D) === o;
2711
2711
  }
2712
- function z(A) {
2713
- return typeof A == "object" && A !== null && A.$$typeof === e;
2712
+ function z(D) {
2713
+ return typeof D == "object" && D !== null && D.$$typeof === e;
2714
2714
  }
2715
- function W(A) {
2716
- return k(A) === f;
2715
+ function W(D) {
2716
+ return k(D) === f;
2717
2717
  }
2718
- function X(A) {
2719
- return k(A) === r;
2718
+ function X(D) {
2719
+ return k(D) === r;
2720
2720
  }
2721
- function Y(A) {
2722
- return k(A) === g;
2721
+ function Y(D) {
2722
+ return k(D) === g;
2723
2723
  }
2724
- function H(A) {
2725
- return k(A) === p;
2724
+ function H(D) {
2725
+ return k(D) === p;
2726
2726
  }
2727
- function J(A) {
2728
- return k(A) === n;
2727
+ function J(D) {
2728
+ return k(D) === n;
2729
2729
  }
2730
- function re(A) {
2731
- return k(A) === s;
2730
+ function re(D) {
2731
+ return k(D) === s;
2732
2732
  }
2733
- function F(A) {
2734
- return k(A) === a;
2733
+ function A(D) {
2734
+ return k(D) === a;
2735
2735
  }
2736
- function oe(A) {
2737
- return k(A) === d;
2736
+ function oe(D) {
2737
+ return k(D) === d;
2738
2738
  }
2739
- ue.AsyncMode = w, ue.ConcurrentMode = U, ue.ContextConsumer = R, ue.ContextProvider = N, ue.Element = B, ue.ForwardRef = L, ue.Fragment = M, ue.Lazy = T, ue.Memo = x, ue.Portal = S, ue.Profiler = I, ue.StrictMode = O, ue.Suspense = D, ue.isAsyncMode = ee, ue.isConcurrentMode = j, ue.isContextConsumer = $, ue.isContextProvider = Z, ue.isElement = z, ue.isForwardRef = W, ue.isFragment = X, ue.isLazy = Y, ue.isMemo = H, ue.isPortal = J, ue.isProfiler = re, ue.isStrictMode = F, ue.isSuspense = oe, ue.isValidElementType = E, ue.typeOf = k;
2739
+ ue.AsyncMode = w, ue.ConcurrentMode = U, ue.ContextConsumer = M, ue.ContextProvider = I, ue.Element = R, ue.ForwardRef = O, ue.Fragment = S, ue.Lazy = T, ue.Memo = x, ue.Portal = C, ue.Profiler = B, ue.StrictMode = F, ue.Suspense = L, ue.isAsyncMode = ee, ue.isConcurrentMode = j, ue.isContextConsumer = N, ue.isContextProvider = Z, ue.isElement = z, ue.isForwardRef = W, ue.isFragment = X, ue.isLazy = Y, ue.isMemo = H, ue.isPortal = J, ue.isProfiler = re, ue.isStrictMode = A, ue.isSuspense = oe, ue.isValidElementType = E, ue.typeOf = k;
2740
2740
  }()), ue;
2741
2741
  }
2742
2742
  var Dr;
@@ -2878,9 +2878,9 @@ function Ws() {
2878
2878
  return _n = function(c, u) {
2879
2879
  var l = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
2880
2880
  function d(j) {
2881
- var $ = j && (l && j[l] || j[f]);
2882
- if (typeof $ == "function")
2883
- return $;
2881
+ var N = j && (l && j[l] || j[f]);
2882
+ if (typeof N == "function")
2883
+ return N;
2884
2884
  }
2885
2885
  var m = "<<anonymous>>", p = {
2886
2886
  array: y("array"),
@@ -2896,83 +2896,83 @@ function Ws() {
2896
2896
  element: k(),
2897
2897
  elementType: w(),
2898
2898
  instanceOf: U,
2899
- node: L(),
2900
- objectOf: N,
2901
- oneOf: R,
2902
- oneOfType: B,
2899
+ node: O(),
2900
+ objectOf: I,
2901
+ oneOf: M,
2902
+ oneOfType: R,
2903
2903
  shape: T,
2904
2904
  exact: x
2905
2905
  };
2906
- function g(j, $) {
2907
- return j === $ ? j !== 0 || 1 / j === 1 / $ : j !== j && $ !== $;
2906
+ function g(j, N) {
2907
+ return j === N ? j !== 0 || 1 / j === 1 / N : j !== j && N !== N;
2908
2908
  }
2909
- function v(j, $) {
2910
- this.message = j, this.data = $ && typeof $ == "object" ? $ : {}, this.stack = "";
2909
+ function v(j, N) {
2910
+ this.message = j, this.data = N && typeof N == "object" ? N : {}, this.stack = "";
2911
2911
  }
2912
2912
  v.prototype = Error.prototype;
2913
2913
  function b(j) {
2914
2914
  if (process.env.NODE_ENV !== "production")
2915
- var $ = {}, Z = 0;
2916
- function z(X, Y, H, J, re, F, oe) {
2917
- if (J = J || m, F = F || H, oe !== n) {
2915
+ var N = {}, Z = 0;
2916
+ function z(X, Y, H, J, re, A, oe) {
2917
+ if (J = J || m, A = A || H, oe !== n) {
2918
2918
  if (u) {
2919
- var A = new Error(
2919
+ var D = new Error(
2920
2920
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
2921
2921
  );
2922
- throw A.name = "Invariant Violation", A;
2922
+ throw D.name = "Invariant Violation", D;
2923
2923
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
2924
2924
  var ve = J + ":" + H;
2925
- !$[ve] && // Avoid spamming the console because they are often not actionable except for lib authors
2925
+ !N[ve] && // Avoid spamming the console because they are often not actionable except for lib authors
2926
2926
  Z < 3 && (s(
2927
- "You are manually calling a React.PropTypes validation function for the `" + F + "` prop on `" + J + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
2928
- ), $[ve] = !0, Z++);
2927
+ "You are manually calling a React.PropTypes validation function for the `" + A + "` prop on `" + J + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
2928
+ ), N[ve] = !0, Z++);
2929
2929
  }
2930
2930
  }
2931
- return Y[H] == null ? X ? Y[H] === null ? new v("The " + re + " `" + F + "` is marked as required " + ("in `" + J + "`, but its value is `null`.")) : new v("The " + re + " `" + F + "` is marked as required in " + ("`" + J + "`, but its value is `undefined`.")) : null : j(Y, H, J, re, F);
2931
+ return Y[H] == null ? X ? Y[H] === null ? new v("The " + re + " `" + A + "` is marked as required " + ("in `" + J + "`, but its value is `null`.")) : new v("The " + re + " `" + A + "` is marked as required in " + ("`" + J + "`, but its value is `undefined`.")) : null : j(Y, H, J, re, A);
2932
2932
  }
2933
2933
  var W = z.bind(null, !1);
2934
2934
  return W.isRequired = z.bind(null, !0), W;
2935
2935
  }
2936
2936
  function y(j) {
2937
- function $(Z, z, W, X, Y, H) {
2938
- var J = Z[z], re = O(J);
2937
+ function N(Z, z, W, X, Y, H) {
2938
+ var J = Z[z], re = F(J);
2939
2939
  if (re !== j) {
2940
- var F = D(J);
2940
+ var A = L(J);
2941
2941
  return new v(
2942
- "Invalid " + X + " `" + Y + "` of type " + ("`" + F + "` supplied to `" + W + "`, expected ") + ("`" + j + "`."),
2942
+ "Invalid " + X + " `" + Y + "` of type " + ("`" + A + "` supplied to `" + W + "`, expected ") + ("`" + j + "`."),
2943
2943
  { expectedType: j }
2944
2944
  );
2945
2945
  }
2946
2946
  return null;
2947
2947
  }
2948
- return b($);
2948
+ return b(N);
2949
2949
  }
2950
2950
  function _() {
2951
2951
  return b(o);
2952
2952
  }
2953
2953
  function E(j) {
2954
- function $(Z, z, W, X, Y) {
2954
+ function N(Z, z, W, X, Y) {
2955
2955
  if (typeof j != "function")
2956
2956
  return new v("Property `" + Y + "` of component `" + W + "` has invalid PropType notation inside arrayOf.");
2957
2957
  var H = Z[z];
2958
2958
  if (!Array.isArray(H)) {
2959
- var J = O(H);
2959
+ var J = F(H);
2960
2960
  return new v("Invalid " + X + " `" + Y + "` of type " + ("`" + J + "` supplied to `" + W + "`, expected an array."));
2961
2961
  }
2962
2962
  for (var re = 0; re < H.length; re++) {
2963
- var F = j(H, re, W, X, Y + "[" + re + "]", n);
2964
- if (F instanceof Error)
2965
- return F;
2963
+ var A = j(H, re, W, X, Y + "[" + re + "]", n);
2964
+ if (A instanceof Error)
2965
+ return A;
2966
2966
  }
2967
2967
  return null;
2968
2968
  }
2969
- return b($);
2969
+ return b(N);
2970
2970
  }
2971
2971
  function k() {
2972
- function j($, Z, z, W, X) {
2973
- var Y = $[Z];
2972
+ function j(N, Z, z, W, X) {
2973
+ var Y = N[Z];
2974
2974
  if (!c(Y)) {
2975
- var H = O(Y);
2975
+ var H = F(Y);
2976
2976
  return new v("Invalid " + W + " `" + X + "` of type " + ("`" + H + "` supplied to `" + z + "`, expected a single ReactElement."));
2977
2977
  }
2978
2978
  return null;
@@ -2980,10 +2980,10 @@ function Ws() {
2980
2980
  return b(j);
2981
2981
  }
2982
2982
  function w() {
2983
- function j($, Z, z, W, X) {
2984
- var Y = $[Z];
2983
+ function j(N, Z, z, W, X) {
2984
+ var Y = N[Z];
2985
2985
  if (!t.isValidElementType(Y)) {
2986
- var H = O(Y);
2986
+ var H = F(Y);
2987
2987
  return new v("Invalid " + W + " `" + X + "` of type " + ("`" + H + "` supplied to `" + z + "`, expected a single ReactElement type."));
2988
2988
  }
2989
2989
  return null;
@@ -2991,123 +2991,123 @@ function Ws() {
2991
2991
  return b(j);
2992
2992
  }
2993
2993
  function U(j) {
2994
- function $(Z, z, W, X, Y) {
2994
+ function N(Z, z, W, X, Y) {
2995
2995
  if (!(Z[z] instanceof j)) {
2996
2996
  var H = j.name || m, J = ee(Z[z]);
2997
2997
  return new v("Invalid " + X + " `" + Y + "` of type " + ("`" + J + "` supplied to `" + W + "`, expected ") + ("instance of `" + H + "`."));
2998
2998
  }
2999
2999
  return null;
3000
3000
  }
3001
- return b($);
3001
+ return b(N);
3002
3002
  }
3003
- function R(j) {
3003
+ function M(j) {
3004
3004
  if (!Array.isArray(j))
3005
3005
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
3006
3006
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
3007
3007
  ) : s("Invalid argument supplied to oneOf, expected an array.")), o;
3008
- function $(Z, z, W, X, Y) {
3008
+ function N(Z, z, W, X, Y) {
3009
3009
  for (var H = Z[z], J = 0; J < j.length; J++)
3010
3010
  if (g(H, j[J]))
3011
3011
  return null;
3012
- var re = JSON.stringify(j, function(oe, A) {
3013
- var ve = D(A);
3014
- return ve === "symbol" ? String(A) : A;
3012
+ var re = JSON.stringify(j, function(oe, D) {
3013
+ var ve = L(D);
3014
+ return ve === "symbol" ? String(D) : D;
3015
3015
  });
3016
3016
  return new v("Invalid " + X + " `" + Y + "` of value `" + String(H) + "` " + ("supplied to `" + W + "`, expected one of " + re + "."));
3017
3017
  }
3018
- return b($);
3018
+ return b(N);
3019
3019
  }
3020
- function N(j) {
3021
- function $(Z, z, W, X, Y) {
3020
+ function I(j) {
3021
+ function N(Z, z, W, X, Y) {
3022
3022
  if (typeof j != "function")
3023
3023
  return new v("Property `" + Y + "` of component `" + W + "` has invalid PropType notation inside objectOf.");
3024
- var H = Z[z], J = O(H);
3024
+ var H = Z[z], J = F(H);
3025
3025
  if (J !== "object")
3026
3026
  return new v("Invalid " + X + " `" + Y + "` of type " + ("`" + J + "` supplied to `" + W + "`, expected an object."));
3027
3027
  for (var re in H)
3028
3028
  if (r(H, re)) {
3029
- var F = j(H, re, W, X, Y + "." + re, n);
3030
- if (F instanceof Error)
3031
- return F;
3029
+ var A = j(H, re, W, X, Y + "." + re, n);
3030
+ if (A instanceof Error)
3031
+ return A;
3032
3032
  }
3033
3033
  return null;
3034
3034
  }
3035
- return b($);
3035
+ return b(N);
3036
3036
  }
3037
- function B(j) {
3037
+ function R(j) {
3038
3038
  if (!Array.isArray(j))
3039
3039
  return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), o;
3040
- for (var $ = 0; $ < j.length; $++) {
3041
- var Z = j[$];
3040
+ for (var N = 0; N < j.length; N++) {
3041
+ var Z = j[N];
3042
3042
  if (typeof Z != "function")
3043
3043
  return s(
3044
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + V(Z) + " at index " + $ + "."
3044
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + V(Z) + " at index " + N + "."
3045
3045
  ), o;
3046
3046
  }
3047
3047
  function z(W, X, Y, H, J) {
3048
- for (var re = [], F = 0; F < j.length; F++) {
3049
- var oe = j[F], A = oe(W, X, Y, H, J, n);
3050
- if (A == null)
3048
+ for (var re = [], A = 0; A < j.length; A++) {
3049
+ var oe = j[A], D = oe(W, X, Y, H, J, n);
3050
+ if (D == null)
3051
3051
  return null;
3052
- A.data && r(A.data, "expectedType") && re.push(A.data.expectedType);
3052
+ D.data && r(D.data, "expectedType") && re.push(D.data.expectedType);
3053
3053
  }
3054
3054
  var ve = re.length > 0 ? ", expected one of type [" + re.join(", ") + "]" : "";
3055
3055
  return new v("Invalid " + H + " `" + J + "` supplied to " + ("`" + Y + "`" + ve + "."));
3056
3056
  }
3057
3057
  return b(z);
3058
3058
  }
3059
- function L() {
3060
- function j($, Z, z, W, X) {
3061
- return S($[Z]) ? null : new v("Invalid " + W + " `" + X + "` supplied to " + ("`" + z + "`, expected a ReactNode."));
3059
+ function O() {
3060
+ function j(N, Z, z, W, X) {
3061
+ return C(N[Z]) ? null : new v("Invalid " + W + " `" + X + "` supplied to " + ("`" + z + "`, expected a ReactNode."));
3062
3062
  }
3063
3063
  return b(j);
3064
3064
  }
3065
- function M(j, $, Z, z, W) {
3065
+ function S(j, N, Z, z, W) {
3066
3066
  return new v(
3067
- (j || "React class") + ": " + $ + " type `" + Z + "." + z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + W + "`."
3067
+ (j || "React class") + ": " + N + " type `" + Z + "." + z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + W + "`."
3068
3068
  );
3069
3069
  }
3070
3070
  function T(j) {
3071
- function $(Z, z, W, X, Y) {
3072
- var H = Z[z], J = O(H);
3071
+ function N(Z, z, W, X, Y) {
3072
+ var H = Z[z], J = F(H);
3073
3073
  if (J !== "object")
3074
3074
  return new v("Invalid " + X + " `" + Y + "` of type `" + J + "` " + ("supplied to `" + W + "`, expected `object`."));
3075
3075
  for (var re in j) {
3076
- var F = j[re];
3077
- if (typeof F != "function")
3078
- return M(W, X, Y, re, D(F));
3079
- var oe = F(H, re, W, X, Y + "." + re, n);
3076
+ var A = j[re];
3077
+ if (typeof A != "function")
3078
+ return S(W, X, Y, re, L(A));
3079
+ var oe = A(H, re, W, X, Y + "." + re, n);
3080
3080
  if (oe)
3081
3081
  return oe;
3082
3082
  }
3083
3083
  return null;
3084
3084
  }
3085
- return b($);
3085
+ return b(N);
3086
3086
  }
3087
3087
  function x(j) {
3088
- function $(Z, z, W, X, Y) {
3089
- var H = Z[z], J = O(H);
3088
+ function N(Z, z, W, X, Y) {
3089
+ var H = Z[z], J = F(H);
3090
3090
  if (J !== "object")
3091
3091
  return new v("Invalid " + X + " `" + Y + "` of type `" + J + "` " + ("supplied to `" + W + "`, expected `object`."));
3092
3092
  var re = e({}, Z[z], j);
3093
- for (var F in re) {
3094
- var oe = j[F];
3095
- if (r(j, F) && typeof oe != "function")
3096
- return M(W, X, Y, F, D(oe));
3093
+ for (var A in re) {
3094
+ var oe = j[A];
3095
+ if (r(j, A) && typeof oe != "function")
3096
+ return S(W, X, Y, A, L(oe));
3097
3097
  if (!oe)
3098
3098
  return new v(
3099
- "Invalid " + X + " `" + Y + "` key `" + F + "` supplied to `" + W + "`.\nBad object: " + JSON.stringify(Z[z], null, " ") + `
3099
+ "Invalid " + X + " `" + Y + "` key `" + A + "` supplied to `" + W + "`.\nBad object: " + JSON.stringify(Z[z], null, " ") + `
3100
3100
  Valid keys: ` + JSON.stringify(Object.keys(j), null, " ")
3101
3101
  );
3102
- var A = oe(H, F, W, X, Y + "." + F, n);
3103
- if (A)
3104
- return A;
3102
+ var D = oe(H, A, W, X, Y + "." + A, n);
3103
+ if (D)
3104
+ return D;
3105
3105
  }
3106
3106
  return null;
3107
3107
  }
3108
- return b($);
3108
+ return b(N);
3109
3109
  }
3110
- function S(j) {
3110
+ function C(j) {
3111
3111
  switch (typeof j) {
3112
3112
  case "number":
3113
3113
  case "string":
@@ -3117,20 +3117,20 @@ Valid keys: ` + JSON.stringify(Object.keys(j), null, " ")
3117
3117
  return !j;
3118
3118
  case "object":
3119
3119
  if (Array.isArray(j))
3120
- return j.every(S);
3120
+ return j.every(C);
3121
3121
  if (j === null || c(j))
3122
3122
  return !0;
3123
- var $ = d(j);
3124
- if ($) {
3125
- var Z = $.call(j), z;
3126
- if ($ !== j.entries) {
3123
+ var N = d(j);
3124
+ if (N) {
3125
+ var Z = N.call(j), z;
3126
+ if (N !== j.entries) {
3127
3127
  for (; !(z = Z.next()).done; )
3128
- if (!S(z.value))
3128
+ if (!C(z.value))
3129
3129
  return !1;
3130
3130
  } else
3131
3131
  for (; !(z = Z.next()).done; ) {
3132
3132
  var W = z.value;
3133
- if (W && !S(W[1]))
3133
+ if (W && !C(W[1]))
3134
3134
  return !1;
3135
3135
  }
3136
3136
  } else
@@ -3140,37 +3140,37 @@ Valid keys: ` + JSON.stringify(Object.keys(j), null, " ")
3140
3140
  return !1;
3141
3141
  }
3142
3142
  }
3143
- function I(j, $) {
3144
- return j === "symbol" ? !0 : $ ? $["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && $ instanceof Symbol : !1;
3143
+ function B(j, N) {
3144
+ return j === "symbol" ? !0 : N ? N["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && N instanceof Symbol : !1;
3145
3145
  }
3146
- function O(j) {
3147
- var $ = typeof j;
3148
- return Array.isArray(j) ? "array" : j instanceof RegExp ? "object" : I($, j) ? "symbol" : $;
3146
+ function F(j) {
3147
+ var N = typeof j;
3148
+ return Array.isArray(j) ? "array" : j instanceof RegExp ? "object" : B(N, j) ? "symbol" : N;
3149
3149
  }
3150
- function D(j) {
3150
+ function L(j) {
3151
3151
  if (typeof j > "u" || j === null)
3152
3152
  return "" + j;
3153
- var $ = O(j);
3154
- if ($ === "object") {
3153
+ var N = F(j);
3154
+ if (N === "object") {
3155
3155
  if (j instanceof Date)
3156
3156
  return "date";
3157
3157
  if (j instanceof RegExp)
3158
3158
  return "regexp";
3159
3159
  }
3160
- return $;
3160
+ return N;
3161
3161
  }
3162
3162
  function V(j) {
3163
- var $ = D(j);
3164
- switch ($) {
3163
+ var N = L(j);
3164
+ switch (N) {
3165
3165
  case "array":
3166
3166
  case "object":
3167
- return "an " + $;
3167
+ return "an " + N;
3168
3168
  case "boolean":
3169
3169
  case "date":
3170
3170
  case "regexp":
3171
- return "a " + $;
3171
+ return "a " + N;
3172
3172
  default:
3173
- return $;
3173
+ return N;
3174
3174
  }
3175
3175
  }
3176
3176
  function ee(j) {
@@ -3566,36 +3566,36 @@ var Vr = {
3566
3566
  delayInitialFocusTimer: void 0,
3567
3567
  // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
3568
3568
  recentNavEvent: void 0
3569
- }, c, u = function(T, x, S) {
3570
- return T && T[x] !== void 0 ? T[x] : s[S || x];
3569
+ }, c, u = function(T, x, C) {
3570
+ return T && T[x] !== void 0 ? T[x] : s[C || x];
3571
3571
  }, l = function(T, x) {
3572
- var S = typeof (x == null ? void 0 : x.composedPath) == "function" ? x.composedPath() : void 0;
3573
- return o.containerGroups.findIndex(function(I) {
3574
- var O = I.container, D = I.tabbableNodes;
3575
- return O.contains(T) || // fall back to explicit tabbable search which will take into consideration any
3572
+ var C = typeof (x == null ? void 0 : x.composedPath) == "function" ? x.composedPath() : void 0;
3573
+ return o.containerGroups.findIndex(function(B) {
3574
+ var F = B.container, L = B.tabbableNodes;
3575
+ return F.contains(T) || // fall back to explicit tabbable search which will take into consideration any
3576
3576
  // web components if the `tabbableOptions.getShadowRoot` option was used for
3577
3577
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
3578
3578
  // look inside web components even if open)
3579
- (S == null ? void 0 : S.includes(O)) || D.find(function(V) {
3579
+ (C == null ? void 0 : C.includes(F)) || L.find(function(V) {
3580
3580
  return V === T;
3581
3581
  });
3582
3582
  });
3583
3583
  }, f = function(T) {
3584
3584
  var x = s[T];
3585
3585
  if (typeof x == "function") {
3586
- for (var S = arguments.length, I = new Array(S > 1 ? S - 1 : 0), O = 1; O < S; O++)
3587
- I[O - 1] = arguments[O];
3588
- x = x.apply(void 0, I);
3586
+ for (var C = arguments.length, B = new Array(C > 1 ? C - 1 : 0), F = 1; F < C; F++)
3587
+ B[F - 1] = arguments[F];
3588
+ x = x.apply(void 0, B);
3589
3589
  }
3590
3590
  if (x === !0 && (x = void 0), !x) {
3591
3591
  if (x === void 0 || x === !1)
3592
3592
  return x;
3593
3593
  throw new Error("`".concat(T, "` was specified but was not a node, or did not return a node"));
3594
3594
  }
3595
- var D = x;
3596
- if (typeof x == "string" && (D = r.querySelector(x), !D))
3595
+ var L = x;
3596
+ if (typeof x == "string" && (L = r.querySelector(x), !L))
3597
3597
  throw new Error("`".concat(T, "` as selector refers to no known node"));
3598
- return D;
3598
+ return L;
3599
3599
  }, d = function() {
3600
3600
  var T = f("initialFocus");
3601
3601
  if (T === !1)
@@ -3604,17 +3604,17 @@ var Vr = {
3604
3604
  if (l(r.activeElement) >= 0)
3605
3605
  T = r.activeElement;
3606
3606
  else {
3607
- var x = o.tabbableGroups[0], S = x && x.firstTabbableNode;
3608
- T = S || f("fallbackFocus");
3607
+ var x = o.tabbableGroups[0], C = x && x.firstTabbableNode;
3608
+ T = C || f("fallbackFocus");
3609
3609
  }
3610
3610
  if (!T)
3611
3611
  throw new Error("Your focus-trap needs to have at least one focusable element");
3612
3612
  return T;
3613
3613
  }, m = function() {
3614
3614
  if (o.containerGroups = o.containers.map(function(T) {
3615
- var x = Ba(T, s.tabbableOptions), S = qa(T, s.tabbableOptions), I = x.length > 0 ? x[0] : void 0, O = x.length > 0 ? x[x.length - 1] : void 0, D = S.find(function(j) {
3615
+ var x = Ba(T, s.tabbableOptions), C = qa(T, s.tabbableOptions), B = x.length > 0 ? x[0] : void 0, F = x.length > 0 ? x[x.length - 1] : void 0, L = C.find(function(j) {
3616
3616
  return Ue(j);
3617
- }), V = S.slice().reverse().find(function(j) {
3617
+ }), V = C.slice().reverse().find(function(j) {
3618
3618
  return Ue(j);
3619
3619
  }), ee = !!x.find(function(j) {
3620
3620
  return Le(j) > 0;
@@ -3622,13 +3622,13 @@ var Vr = {
3622
3622
  return {
3623
3623
  container: T,
3624
3624
  tabbableNodes: x,
3625
- focusableNodes: S,
3625
+ focusableNodes: C,
3626
3626
  /** True if at least one node with positive `tabindex` was found in this container. */
3627
3627
  posTabIndexesFound: ee,
3628
3628
  /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
3629
- firstTabbableNode: I,
3629
+ firstTabbableNode: B,
3630
3630
  /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
3631
- lastTabbableNode: O,
3631
+ lastTabbableNode: F,
3632
3632
  // NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
3633
3633
  // would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
3634
3634
  // because that API doesn't work with Shadow DOM as well as it should (@see
@@ -3637,7 +3637,7 @@ var Vr = {
3637
3637
  // "close enough most of the time" alternative for positive tabindexes which should generally
3638
3638
  // be avoided anyway...
3639
3639
  /** First tabbable node in container, __DOM__ order; `undefined` if none. */
3640
- firstDomTabbableNode: D,
3640
+ firstDomTabbableNode: L,
3641
3641
  /** Last tabbable node in container, __DOM__ order; `undefined` if none. */
3642
3642
  lastDomTabbableNode: V,
3643
3643
  /**
@@ -3648,11 +3648,11 @@ var Vr = {
3648
3648
  * in reverse.
3649
3649
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
3650
3650
  */
3651
- nextTabbableNode: function($) {
3652
- var Z = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, z = x.indexOf($);
3653
- return z < 0 ? Z ? S.slice(S.indexOf($) + 1).find(function(W) {
3651
+ nextTabbableNode: function(N) {
3652
+ var Z = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, z = x.indexOf(N);
3653
+ return z < 0 ? Z ? C.slice(C.indexOf(N) + 1).find(function(W) {
3654
3654
  return Ue(W);
3655
- }) : S.slice(0, S.indexOf($)).reverse().find(function(W) {
3655
+ }) : C.slice(0, C.indexOf(N)).reverse().find(function(W) {
3656
3656
  return Ue(W);
3657
3657
  }) : x[z + (Z ? 1 : -1)];
3658
3658
  }
@@ -3665,14 +3665,14 @@ var Vr = {
3665
3665
  return T.posTabIndexesFound;
3666
3666
  }) && o.containerGroups.length > 1)
3667
3667
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
3668
- }, p = function M(T) {
3668
+ }, p = function S(T) {
3669
3669
  var x = T.activeElement;
3670
3670
  if (x)
3671
- return x.shadowRoot && x.shadowRoot.activeElement !== null ? M(x.shadowRoot) : x;
3672
- }, g = function M(T) {
3671
+ return x.shadowRoot && x.shadowRoot.activeElement !== null ? S(x.shadowRoot) : x;
3672
+ }, g = function S(T) {
3673
3673
  if (T !== !1 && T !== p(document)) {
3674
3674
  if (!T || !T.focus) {
3675
- M(d());
3675
+ S(d());
3676
3676
  return;
3677
3677
  }
3678
3678
  T.focus({
@@ -3683,23 +3683,23 @@ var Vr = {
3683
3683
  var x = f("setReturnFocus", T);
3684
3684
  return x || (x === !1 ? !1 : T);
3685
3685
  }, b = function(T) {
3686
- var x = T.target, S = T.event, I = T.isBackward, O = I === void 0 ? !1 : I;
3687
- x = x || Tt(S), m();
3688
- var D = null;
3686
+ var x = T.target, C = T.event, B = T.isBackward, F = B === void 0 ? !1 : B;
3687
+ x = x || Tt(C), m();
3688
+ var L = null;
3689
3689
  if (o.tabbableGroups.length > 0) {
3690
- var V = l(x, S), ee = V >= 0 ? o.containerGroups[V] : void 0;
3690
+ var V = l(x, C), ee = V >= 0 ? o.containerGroups[V] : void 0;
3691
3691
  if (V < 0)
3692
- O ? D = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : D = o.tabbableGroups[0].firstTabbableNode;
3693
- else if (O) {
3692
+ F ? L = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : L = o.tabbableGroups[0].firstTabbableNode;
3693
+ else if (F) {
3694
3694
  var j = Kr(o.tabbableGroups, function(Y) {
3695
3695
  var H = Y.firstTabbableNode;
3696
3696
  return x === H;
3697
3697
  });
3698
3698
  if (j < 0 && (ee.container === x || Dt(x, s.tabbableOptions) && !Ue(x, s.tabbableOptions) && !ee.nextTabbableNode(x, !1)) && (j = V), j >= 0) {
3699
- var $ = j === 0 ? o.tabbableGroups.length - 1 : j - 1, Z = o.tabbableGroups[$];
3700
- D = Le(x) >= 0 ? Z.lastTabbableNode : Z.lastDomTabbableNode;
3699
+ var N = j === 0 ? o.tabbableGroups.length - 1 : j - 1, Z = o.tabbableGroups[N];
3700
+ L = Le(x) >= 0 ? Z.lastTabbableNode : Z.lastDomTabbableNode;
3701
3701
  } else
3702
- mt(S) || (D = ee.nextTabbableNode(x, !1));
3702
+ mt(C) || (L = ee.nextTabbableNode(x, !1));
3703
3703
  } else {
3704
3704
  var z = Kr(o.tabbableGroups, function(Y) {
3705
3705
  var H = Y.lastTabbableNode;
@@ -3707,13 +3707,13 @@ var Vr = {
3707
3707
  });
3708
3708
  if (z < 0 && (ee.container === x || Dt(x, s.tabbableOptions) && !Ue(x, s.tabbableOptions) && !ee.nextTabbableNode(x)) && (z = V), z >= 0) {
3709
3709
  var W = z === o.tabbableGroups.length - 1 ? 0 : z + 1, X = o.tabbableGroups[W];
3710
- D = Le(x) >= 0 ? X.firstTabbableNode : X.firstDomTabbableNode;
3710
+ L = Le(x) >= 0 ? X.firstTabbableNode : X.firstDomTabbableNode;
3711
3711
  } else
3712
- mt(S) || (D = ee.nextTabbableNode(x));
3712
+ mt(C) || (L = ee.nextTabbableNode(x));
3713
3713
  }
3714
3714
  } else
3715
- D = f("fallbackFocus");
3716
- return D;
3715
+ L = f("fallbackFocus");
3716
+ return L;
3717
3717
  }, y = function(T) {
3718
3718
  var x = Tt(T);
3719
3719
  if (!(l(x, T) >= 0)) {
@@ -3732,45 +3732,45 @@ var Vr = {
3732
3732
  ot(s.allowOutsideClick, T) || T.preventDefault();
3733
3733
  }
3734
3734
  }, _ = function(T) {
3735
- var x = Tt(T), S = l(x, T) >= 0;
3736
- if (S || x instanceof Document)
3737
- S && (o.mostRecentlyFocusedNode = x);
3735
+ var x = Tt(T), C = l(x, T) >= 0;
3736
+ if (C || x instanceof Document)
3737
+ C && (o.mostRecentlyFocusedNode = x);
3738
3738
  else {
3739
3739
  T.stopImmediatePropagation();
3740
- var I, O = !0;
3740
+ var B, F = !0;
3741
3741
  if (o.mostRecentlyFocusedNode)
3742
3742
  if (Le(o.mostRecentlyFocusedNode) > 0) {
3743
- var D = l(o.mostRecentlyFocusedNode), V = o.containerGroups[D].tabbableNodes;
3743
+ var L = l(o.mostRecentlyFocusedNode), V = o.containerGroups[L].tabbableNodes;
3744
3744
  if (V.length > 0) {
3745
3745
  var ee = V.findIndex(function(j) {
3746
3746
  return j === o.mostRecentlyFocusedNode;
3747
3747
  });
3748
- ee >= 0 && (s.isKeyForward(o.recentNavEvent) ? ee + 1 < V.length && (I = V[ee + 1], O = !1) : ee - 1 >= 0 && (I = V[ee - 1], O = !1));
3748
+ ee >= 0 && (s.isKeyForward(o.recentNavEvent) ? ee + 1 < V.length && (B = V[ee + 1], F = !1) : ee - 1 >= 0 && (B = V[ee - 1], F = !1));
3749
3749
  }
3750
3750
  } else
3751
3751
  o.containerGroups.some(function(j) {
3752
- return j.tabbableNodes.some(function($) {
3753
- return Le($) > 0;
3752
+ return j.tabbableNodes.some(function(N) {
3753
+ return Le(N) > 0;
3754
3754
  });
3755
- }) || (O = !1);
3755
+ }) || (F = !1);
3756
3756
  else
3757
- O = !1;
3758
- O && (I = b({
3757
+ F = !1;
3758
+ F && (B = b({
3759
3759
  // move FROM the MRU node, not event-related node (which will be the node that is
3760
3760
  // outside the trap causing the focus escape we're trying to fix)
3761
3761
  target: o.mostRecentlyFocusedNode,
3762
3762
  isBackward: s.isKeyBackward(o.recentNavEvent)
3763
- })), g(I || o.mostRecentlyFocusedNode || d());
3763
+ })), g(B || o.mostRecentlyFocusedNode || d());
3764
3764
  }
3765
3765
  o.recentNavEvent = void 0;
3766
3766
  }, E = function(T) {
3767
3767
  var x = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
3768
3768
  o.recentNavEvent = T;
3769
- var S = b({
3769
+ var C = b({
3770
3770
  event: T,
3771
3771
  isBackward: x
3772
3772
  });
3773
- S && (mt(T) && T.preventDefault(), g(S));
3773
+ C && (mt(T) && T.preventDefault(), g(C));
3774
3774
  }, k = function(T) {
3775
3775
  if (go(T) && ot(s.escapeDeactivates, T) !== !1) {
3776
3776
  T.preventDefault(), c.deactivate();
@@ -3797,20 +3797,20 @@ var Vr = {
3797
3797
  capture: !0,
3798
3798
  passive: !1
3799
3799
  }), c;
3800
- }, R = function() {
3800
+ }, M = function() {
3801
3801
  if (o.active)
3802
3802
  return r.removeEventListener("focusin", _, !0), r.removeEventListener("mousedown", y, !0), r.removeEventListener("touchstart", y, !0), r.removeEventListener("click", w, !0), r.removeEventListener("keydown", k, !0), c;
3803
- }, N = function(T) {
3804
- var x = T.some(function(S) {
3805
- var I = Array.from(S.removedNodes);
3806
- return I.some(function(O) {
3807
- return O === o.mostRecentlyFocusedNode;
3803
+ }, I = function(T) {
3804
+ var x = T.some(function(C) {
3805
+ var B = Array.from(C.removedNodes);
3806
+ return B.some(function(F) {
3807
+ return F === o.mostRecentlyFocusedNode;
3808
3808
  });
3809
3809
  });
3810
3810
  x && g(d());
3811
- }, B = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(N) : void 0, L = function() {
3812
- B && (B.disconnect(), o.active && !o.paused && o.containers.map(function(T) {
3813
- B.observe(T, {
3811
+ }, R = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(I) : void 0, O = function() {
3812
+ R && (R.disconnect(), o.active && !o.paused && o.containers.map(function(T) {
3813
+ R.observe(T, {
3814
3814
  subtree: !0,
3815
3815
  childList: !0
3816
3816
  });
@@ -3826,12 +3826,12 @@ var Vr = {
3826
3826
  activate: function(T) {
3827
3827
  if (o.active)
3828
3828
  return this;
3829
- var x = u(T, "onActivate"), S = u(T, "onPostActivate"), I = u(T, "checkCanFocusTrap");
3830
- I || m(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = r.activeElement, x == null || x();
3831
- var O = function() {
3832
- I && m(), U(), L(), S == null || S();
3829
+ var x = u(T, "onActivate"), C = u(T, "onPostActivate"), B = u(T, "checkCanFocusTrap");
3830
+ B || m(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = r.activeElement, x == null || x();
3831
+ var F = function() {
3832
+ B && m(), U(), O(), C == null || C();
3833
3833
  };
3834
- return I ? (I(o.containers.concat()).then(O, O), this) : (O(), this);
3834
+ return B ? (B(o.containers.concat()).then(F, F), this) : (F(), this);
3835
3835
  },
3836
3836
  deactivate: function(T) {
3837
3837
  if (!o.active)
@@ -3841,33 +3841,33 @@ var Vr = {
3841
3841
  onPostDeactivate: s.onPostDeactivate,
3842
3842
  checkCanReturnFocus: s.checkCanReturnFocus
3843
3843
  }, T);
3844
- clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, R(), o.active = !1, o.paused = !1, L(), Vr.deactivateTrap(a, c);
3845
- var S = u(x, "onDeactivate"), I = u(x, "onPostDeactivate"), O = u(x, "checkCanReturnFocus"), D = u(x, "returnFocus", "returnFocusOnDeactivate");
3846
- S == null || S();
3844
+ clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, M(), o.active = !1, o.paused = !1, O(), Vr.deactivateTrap(a, c);
3845
+ var C = u(x, "onDeactivate"), B = u(x, "onPostDeactivate"), F = u(x, "checkCanReturnFocus"), L = u(x, "returnFocus", "returnFocusOnDeactivate");
3846
+ C == null || C();
3847
3847
  var V = function() {
3848
3848
  Yr(function() {
3849
- D && g(v(o.nodeFocusedBeforeActivation)), I == null || I();
3849
+ L && g(v(o.nodeFocusedBeforeActivation)), B == null || B();
3850
3850
  });
3851
3851
  };
3852
- return D && O ? (O(v(o.nodeFocusedBeforeActivation)).then(V, V), this) : (V(), this);
3852
+ return L && F ? (F(v(o.nodeFocusedBeforeActivation)).then(V, V), this) : (V(), this);
3853
3853
  },
3854
3854
  pause: function(T) {
3855
3855
  if (o.paused || !o.active)
3856
3856
  return this;
3857
- var x = u(T, "onPause"), S = u(T, "onPostPause");
3858
- return o.paused = !0, x == null || x(), R(), L(), S == null || S(), this;
3857
+ var x = u(T, "onPause"), C = u(T, "onPostPause");
3858
+ return o.paused = !0, x == null || x(), M(), O(), C == null || C(), this;
3859
3859
  },
3860
3860
  unpause: function(T) {
3861
3861
  if (!o.paused || !o.active)
3862
3862
  return this;
3863
- var x = u(T, "onUnpause"), S = u(T, "onPostUnpause");
3864
- return o.paused = !1, x == null || x(), m(), U(), L(), S == null || S(), this;
3863
+ var x = u(T, "onUnpause"), C = u(T, "onPostUnpause");
3864
+ return o.paused = !1, x == null || x(), m(), U(), O(), C == null || C(), this;
3865
3865
  },
3866
3866
  updateContainerElements: function(T) {
3867
3867
  var x = [].concat(T).filter(Boolean);
3868
- return o.containers = x.map(function(S) {
3869
- return typeof S == "string" ? r.querySelector(S) : S;
3870
- }), o.active && m(), L(), this;
3868
+ return o.containers = x.map(function(C) {
3869
+ return typeof C == "string" ? r.querySelector(C) : C;
3870
+ }), o.active && m(), O(), this;
3871
3871
  }
3872
3872
  }, c.updateContainerElements(e), c;
3873
3873
  };
@@ -3907,7 +3907,7 @@ function Wn(t, e) {
3907
3907
  }, Wn(t, e);
3908
3908
  }
3909
3909
  function So(t) {
3910
- var e = No();
3910
+ var e = $o();
3911
3911
  return function() {
3912
3912
  var r = Ht(t), a;
3913
3913
  if (e) {
@@ -3930,7 +3930,7 @@ function ut(t) {
3930
3930
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
3931
3931
  return t;
3932
3932
  }
3933
- function No() {
3933
+ function $o() {
3934
3934
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
3935
3935
  return !1;
3936
3936
  if (typeof Proxy == "function")
@@ -3947,7 +3947,7 @@ function Ht(t) {
3947
3947
  return n.__proto__ || Object.getPrototypeOf(n);
3948
3948
  }, Ht(t);
3949
3949
  }
3950
- function $o(t, e, n) {
3950
+ function No(t, e, n) {
3951
3951
  return e = Ua(e), e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
3952
3952
  }
3953
3953
  function Ua(t) {
@@ -3971,7 +3971,7 @@ var Et = K, G = Ma, Ro = wo, Mo = Ro.createFocusTrap, Oo = jo, Fo = Oo.isFocusab
3971
3971
  var e = So(n);
3972
3972
  function n(r) {
3973
3973
  var a;
3974
- ko(this, n), a = e.call(this, r), $o(ut(a), "getNodeForOption", function(c) {
3974
+ ko(this, n), a = e.call(this, r), No(ut(a), "getNodeForOption", function(c) {
3975
3975
  var u, l = (u = this.internalOptions[c]) !== null && u !== void 0 ? u : this.originalOptions[c];
3976
3976
  if (typeof l == "function") {
3977
3977
  for (var f = arguments.length, d = new Array(f > 1 ? f - 1 : 0), m = 1; m < f; m++)
@@ -4211,7 +4211,7 @@ sr.defaultProps = {
4211
4211
  var Ao = sr;
4212
4212
  const Do = /* @__PURE__ */ en(Ao);
4213
4213
  const za = ({ element: t = "section", children: e, className: n, ...r }) => K.createElement(t, {
4214
- className: C("modal", n),
4214
+ className: $("modal", n),
4215
4215
  children: typeof e == "string" ? /* @__PURE__ */ i.jsx("p", { children: e }) : e,
4216
4216
  ...r
4217
4217
  });
@@ -4243,11 +4243,11 @@ const nn = ({
4243
4243
  b(e);
4244
4244
  }, [e]);
4245
4245
  const y = r ? { "--max-width": `${r / 16}rem` } : {};
4246
- return /* @__PURE__ */ i.jsx("div", { className: C("overlay", { open: p }), role: "dialog", children: /* @__PURE__ */ i.jsx(
4246
+ return /* @__PURE__ */ i.jsx("div", { className: $("overlay", { open: p }), role: "dialog", children: /* @__PURE__ */ i.jsx(
4247
4247
  za,
4248
4248
  {
4249
4249
  id: t,
4250
- className: C("overlay-modal", f, {
4250
+ className: $("overlay-modal", f, {
4251
4251
  "has-max-width": r
4252
4252
  }),
4253
4253
  hidden: !p,
@@ -4443,7 +4443,7 @@ const St = "emailHelperTextBox_", Io = ({
4443
4443
  type: c,
4444
4444
  id: n,
4445
4445
  name: s,
4446
- className: C(t, e, {
4446
+ className: $(t, e, {
4447
4447
  "has-scrollbar": c === "textarea" && d.current && d.current.clientHeight < d.current.scrollHeight
4448
4448
  }),
4449
4449
  value: u,
@@ -4501,7 +4501,7 @@ const Za = ({
4501
4501
  const _ = y.target;
4502
4502
  _.nodeName.toLowerCase() === "a" || _.parentNode && _.parentNode.nodeName.toLowerCase() === "a" || (y.preventDefault(), y.stopPropagation(), v());
4503
4503
  },
4504
- className: C("checkbox-wrapper", t),
4504
+ className: $("checkbox-wrapper", t),
4505
4505
  ...d,
4506
4506
  ...g
4507
4507
  },
@@ -4514,7 +4514,7 @@ const Bo = Ae(function({
4514
4514
  return /* @__PURE__ */ i.jsx(
4515
4515
  er,
4516
4516
  {
4517
- className: C("rotating-chevron", `direction-${e}`)
4517
+ className: $("rotating-chevron", `direction-${e}`)
4518
4518
  }
4519
4519
  );
4520
4520
  });
@@ -4534,23 +4534,23 @@ const qo = ({
4534
4534
  }) => {
4535
4535
  const f = Q(), [d, m] = ne(!1), p = r || n, g = Array.isArray(p) ? [...p] : p ? [p] : [], [v, b] = ne(g);
4536
4536
  let y;
4537
- Array.isArray(v) && v.length === 1 && typeof v[0] == "string" ? y = e && v ? e.find((R) => R.id === v[0]) : e ? e[0] : { id: "", label: "" } : Array.isArray(v) && v.length === 1 && typeof v[0] != "string" ? y = v[0] : y = { id: "", label: "" }, se(() => {
4537
+ Array.isArray(v) && v.length === 1 && typeof v[0] == "string" ? y = e && v ? e.find((M) => M.id === v[0]) : e ? e[0] : { id: "", label: "" } : Array.isArray(v) && v.length === 1 && typeof v[0] != "string" ? y = v[0] : y = { id: "", label: "" }, se(() => {
4538
4538
  b(g);
4539
4539
  }, [r, n]);
4540
- const { onChange: _, onMultiSelectSubmit: E, ...k } = a, w = (R) => {
4540
+ const { onChange: _, onMultiSelectSubmit: E, ...k } = a, w = (M) => {
4541
4541
  if (c) {
4542
- let N = [];
4543
- v != null && v.includes(R.id) ? N = v.filter((B) => B !== R.id) : N = [...v, R.id], b([...N]), _ && _([...N]);
4542
+ let I = [];
4543
+ v != null && v.includes(M.id) ? I = v.filter((R) => R !== M.id) : I = [...v, M.id], b([...I]), _ && _([...I]);
4544
4544
  } else
4545
- b([R]), _ && _(R.id), m(!1);
4546
- }, U = (R) => {
4547
- if (R === "all") {
4548
- const N = (e == null ? void 0 : e.map((B) => B.id)) || [];
4549
- b(N), _ && _(N);
4545
+ b([M]), _ && _(M.id), m(!1);
4546
+ }, U = (M) => {
4547
+ if (M === "all") {
4548
+ const I = (e == null ? void 0 : e.map((R) => R.id)) || [];
4549
+ b(I), _ && _(I);
4550
4550
  } else
4551
4551
  b([]), _ && _([]);
4552
4552
  };
4553
- return /* @__PURE__ */ i.jsxs("div", { className: C("dropdown-wrapper", t), children: [
4553
+ return /* @__PURE__ */ i.jsxs("div", { className: $("dropdown-wrapper", t), children: [
4554
4554
  /* @__PURE__ */ i.jsxs(
4555
4555
  "button",
4556
4556
  {
@@ -4558,8 +4558,8 @@ const qo = ({
4558
4558
  "aria-expanded": d,
4559
4559
  "aria-haspopup": "listbox",
4560
4560
  "aria-controls": "dropdown-list",
4561
- onClick: (R) => {
4562
- R.preventDefault(), R.stopPropagation(), m(!d);
4561
+ onClick: (M) => {
4562
+ M.preventDefault(), M.stopPropagation(), m(!d);
4563
4563
  },
4564
4564
  "data-testid": "dropdown-selector",
4565
4565
  ...k,
@@ -4573,14 +4573,14 @@ const qo = ({
4573
4573
  "select",
4574
4574
  {
4575
4575
  defaultValue: y.id,
4576
- onChange: (R) => {
4577
- R.preventDefault(), R.stopPropagation();
4578
- const N = e && e.find((B) => B.id === R.target.value);
4579
- w(N);
4576
+ onChange: (M) => {
4577
+ M.preventDefault(), M.stopPropagation();
4578
+ const I = e && e.find((R) => R.id === M.target.value);
4579
+ w(I);
4580
4580
  },
4581
4581
  hidden: !d,
4582
4582
  ...k,
4583
- children: e == null ? void 0 : e.map((R) => /* @__PURE__ */ i.jsx("option", { value: R.id, children: R.label }, R.id))
4583
+ children: e == null ? void 0 : e.map((M) => /* @__PURE__ */ i.jsx("option", { value: M.id, children: M.label }, M.id))
4584
4584
  }
4585
4585
  ),
4586
4586
  /* @__PURE__ */ i.jsxs(
@@ -4616,29 +4616,29 @@ const qo = ({
4616
4616
  ) })
4617
4617
  ] })
4618
4618
  ] }),
4619
- /* @__PURE__ */ i.jsx("ul", { children: e == null ? void 0 : e.map((R) => {
4620
- const N = R.id === y.id || (v == null ? void 0 : v.includes(R)) || (v == null ? void 0 : v.includes(R.id));
4619
+ /* @__PURE__ */ i.jsx("ul", { children: e == null ? void 0 : e.map((M) => {
4620
+ const I = M.id === y.id || (v == null ? void 0 : v.includes(M)) || (v == null ? void 0 : v.includes(M.id));
4621
4621
  return /* @__PURE__ */ i.jsx("li", { "data-testid": "dropdown-options", children: /* @__PURE__ */ i.jsxs(
4622
4622
  "button",
4623
4623
  {
4624
- className: C("gtm-trackable", {
4625
- selected: N,
4626
- "selected-single": N && !c
4624
+ className: $("gtm-trackable", {
4625
+ selected: I,
4626
+ "selected-single": I && !c
4627
4627
  }),
4628
- "data-gtm-event-type": `${R}-click`,
4628
+ "data-gtm-event-type": `${M}-click`,
4629
4629
  "data-gtm-event-context": s,
4630
- onClick: (B) => {
4631
- B.preventDefault(), B.stopPropagation(), w(R);
4630
+ onClick: (R) => {
4631
+ R.preventDefault(), R.stopPropagation(), w(M);
4632
4632
  },
4633
4633
  role: "menuitem",
4634
- "aria-current": N,
4635
- "data-testid": N ? "current-selection" : "",
4634
+ "aria-current": I,
4635
+ "data-testid": I ? "current-selection" : "",
4636
4636
  children: [
4637
4637
  c && /* @__PURE__ */ i.jsx("span", { className: "pretty-checkbox", "data-testid": "pretty-checkbox" }),
4638
- /* @__PURE__ */ i.jsx("span", { className: C({ "menu-option-label": c }), children: R.label })
4638
+ /* @__PURE__ */ i.jsx("span", { className: $({ "menu-option-label": c }), children: M.label })
4639
4639
  ]
4640
4640
  }
4641
- ) }, R.id);
4641
+ ) }, M.id);
4642
4642
  }) })
4643
4643
  ] }),
4644
4644
  (u == null ? void 0 : u.submitSection) && /* @__PURE__ */ i.jsx("p", { className: "submit", children: /* @__PURE__ */ i.jsx(
@@ -4683,7 +4683,7 @@ const Uo = ({
4683
4683
  "ul",
4684
4684
  {
4685
4685
  ...d,
4686
- className: C("options-wrapper", t),
4686
+ className: $("options-wrapper", t),
4687
4687
  "data-testid": `ul-${r}`,
4688
4688
  children: c == null ? void 0 : c.map(
4689
4689
  ({
@@ -4743,7 +4743,7 @@ const zo = ({
4743
4743
  "button",
4744
4744
  {
4745
4745
  type: "button",
4746
- className: C("show-password gtm-trackable", {
4746
+ className: $("show-password gtm-trackable", {
4747
4747
  "password-visible": c
4748
4748
  }),
4749
4749
  "data-gtm-event-context": n,
@@ -4816,7 +4816,7 @@ const Ve = {
4816
4816
  {
4817
4817
  ...b,
4818
4818
  label: y,
4819
- className: C("field-wrapper", n)
4819
+ className: $("field-wrapper", n)
4820
4820
  }
4821
4821
  ),
4822
4822
  /* @__PURE__ */ i.jsx(_, { as: "p" })
@@ -4826,7 +4826,7 @@ const Ve = {
4826
4826
  className: "checkboxes-label text-small",
4827
4827
  "data-testid": `label-${t}`
4828
4828
  });
4829
- return /* @__PURE__ */ i.jsxs("dl", { className: C("field-wrapper text-medium", n), children: [
4829
+ return /* @__PURE__ */ i.jsxs("dl", { className: $("field-wrapper text-medium", n), children: [
4830
4830
  /* @__PURE__ */ i.jsx("dt", { children: /* @__PURE__ */ i.jsxs(E, { ...v, children: [
4831
4831
  y,
4832
4832
  m && o && /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
@@ -4843,7 +4843,7 @@ const Ve = {
4843
4843
  s > 0 ? /* @__PURE__ */ i.jsxs(
4844
4844
  "small",
4845
4845
  {
4846
- className: C("character-limit", {
4846
+ className: $("character-limit", {
4847
4847
  "near-limit": p >= 0.99 * s,
4848
4848
  "approaching-limit": p >= 0.9 * s && p < 0.99 * s
4849
4849
  }),
@@ -4996,81 +4996,81 @@ const or = ({
4996
4996
  ...b
4997
4997
  }) => {
4998
4998
  const { customOnSubmit: y, hideButton: _, ...E } = s, k = 40, w = Q(), U = {};
4999
- t.length && t.forEach((O) => {
5000
- const D = O.id || O.name;
5001
- D && (U[D] = O.value || "");
4999
+ t.length && t.forEach((F) => {
5000
+ const L = F.id || F.name;
5001
+ L && (U[L] = F.value || "");
5002
5002
  });
5003
- const [R, N] = Jn(Wo, {
5003
+ const [M, I] = Jn(Wo, {
5004
5004
  isSubmitting: !1,
5005
5005
  formSubmitted: !1,
5006
5006
  errors: {},
5007
5007
  values: U
5008
- }), { errors: B, isSubmitting: L, formSubmitted: M, values: T } = R;
5008
+ }), { errors: R, isSubmitting: O, formSubmitted: S, values: T } = M;
5009
5009
  se(() => {
5010
- u && M && (wn = setTimeout(() => {
5011
- N({
5010
+ u && S && (wn = setTimeout(() => {
5011
+ I({
5012
5012
  type: "updateValue",
5013
5013
  payload: { key: "formSubmitted", value: !1 }
5014
5014
  });
5015
5015
  }, 3e3));
5016
- }, [M]), se(() => () => {
5016
+ }, [S]), se(() => () => {
5017
5017
  wn && clearTimeout(wn);
5018
5018
  }, []), se(() => {
5019
- const O = (D) => {
5020
- N({
5019
+ const F = (L) => {
5020
+ I({
5021
5021
  type: "updateValue",
5022
- payload: { key: D.detail.id, value: D.detail.value }
5022
+ payload: { key: L.detail.id, value: L.detail.value }
5023
5023
  });
5024
5024
  };
5025
5025
  return document.addEventListener(
5026
5026
  "dropdownMultiSelectSubmit",
5027
- O
5027
+ F
5028
5028
  ), () => {
5029
5029
  document.removeEventListener(
5030
5030
  "dropdownMultiSelectSubmit",
5031
- O
5031
+ F
5032
5032
  );
5033
5033
  };
5034
5034
  }, []);
5035
- const x = pe(null), S = r || x;
5035
+ const x = pe(null), C = r || x;
5036
5036
  if (!t.length)
5037
5037
  return null;
5038
5038
  s.text || (s.text = w.formatMessage({ id: "form_submit" }));
5039
- const I = (O) => {
5039
+ const B = (F) => {
5040
5040
  var ee;
5041
- if (O.preventDefault(), O.stopPropagation(), L)
5041
+ if (F.preventDefault(), F.stopPropagation(), O)
5042
5042
  return;
5043
- let D = 0;
5044
- if ((ee = S == null ? void 0 : S.current) != null && ee.id) {
5045
- const j = document.getElementById(S.current.id);
5046
- j && (D = j.getBoundingClientRect().top + window.scrollY);
5043
+ let L = 0;
5044
+ if ((ee = C == null ? void 0 : C.current) != null && ee.id) {
5045
+ const j = document.getElementById(C.current.id);
5046
+ j && (L = j.getBoundingClientRect().top + window.scrollY);
5047
5047
  }
5048
5048
  const V = document.getElementById("header");
5049
- if (V && (D = D - V.offsetHeight - k), D < 0 && (D = 0), window.scrollTo({ top: D, behavior: "smooth" }), N({ type: "toggleSubmitting" }), s.disabled) {
5050
- typeof s.disabled == "object" && s.disabled.isClickable && N({
5049
+ if (V && (L = L - V.offsetHeight - k), L < 0 && (L = 0), window.scrollTo({ top: L, behavior: "smooth" }), I({ type: "toggleSubmitting" }), s.disabled) {
5050
+ typeof s.disabled == "object" && s.disabled.isClickable && I({
5051
5051
  type: "submitForm",
5052
5052
  payload: {
5053
5053
  fields: t,
5054
- dispatch: N,
5054
+ dispatch: I,
5055
5055
  intl: w
5056
5056
  }
5057
5057
  });
5058
5058
  return;
5059
5059
  }
5060
- N({
5060
+ I({
5061
5061
  type: "submitForm",
5062
5062
  payload: {
5063
5063
  fields: t,
5064
- dispatch: N,
5064
+ dispatch: I,
5065
5065
  onSuccess: async (j) => {
5066
5066
  try {
5067
- await m(j), N({ type: u ? "formSubmittedAndReset" : "formSubmitted" });
5068
- } catch ($) {
5069
- g($), N({ type: "updateValue", payload: { key: "isSubmitting", value: !1 } });
5067
+ await m(j), I({ type: u ? "formSubmittedAndReset" : "formSubmitted" });
5068
+ } catch (N) {
5069
+ g(N), I({ type: "updateValue", payload: { key: "isSubmitting", value: !1 } });
5070
5070
  }
5071
5071
  },
5072
- onFailure: (j, $) => {
5073
- v(j, $), N({ type: "updateValue", payload: { key: "isSubmitting", value: !1 } });
5072
+ onFailure: (j, N) => {
5073
+ v(j, N), I({ type: "updateValue", payload: { key: "isSubmitting", value: !1 } });
5074
5074
  },
5075
5075
  intl: w
5076
5076
  }
@@ -5082,45 +5082,45 @@ const or = ({
5082
5082
  {
5083
5083
  ...b,
5084
5084
  id: n,
5085
- className: C("form", e),
5086
- ref: S,
5085
+ className: $("form", e),
5086
+ ref: C,
5087
5087
  children: [
5088
- B != null && B.general ? /* @__PURE__ */ i.jsx(
5088
+ R != null && R.general ? /* @__PURE__ */ i.jsx(
5089
5089
  tt,
5090
5090
  {
5091
5091
  variant: "error",
5092
5092
  text: w.formatMessage({ id: "form_error_generalError" })
5093
5093
  }
5094
5094
  ) : null,
5095
- (!L && !M || y) && t.map((O, D) => {
5095
+ (!O && !S || y) && t.map((F, L) => {
5096
5096
  const {
5097
- id: V = O.name || D,
5097
+ id: V = F.name || L,
5098
5098
  component: ee,
5099
5099
  functions: j = { onChange: () => {
5100
5100
  } }
5101
- } = O;
5101
+ } = F;
5102
5102
  if (ee)
5103
- return /* @__PURE__ */ i.jsx(ee, { ...O.props || {} }, `component-${V}-${D}`);
5104
- const $ = T ? T[V] : "";
5103
+ return /* @__PURE__ */ i.jsx(ee, { ...F.props || {} }, `component-${V}-${L}`);
5104
+ const N = T ? T[V] : "";
5105
5105
  return /* @__PURE__ */ i.jsx(
5106
5106
  Zo,
5107
5107
  {
5108
5108
  intlPath: a,
5109
- ...O,
5109
+ ...F,
5110
5110
  showRequiredLabels: l,
5111
- value: $,
5112
- error: B == null ? void 0 : B[V],
5111
+ value: N,
5112
+ error: R == null ? void 0 : R[V],
5113
5113
  functions: {
5114
5114
  ...j,
5115
5115
  onChange: (Z) => {
5116
- N({ type: "updateValue", payload: { key: V, value: Z } }), j.onChange(Z && Z.toString(), N);
5116
+ I({ type: "updateValue", payload: { key: V, value: Z } }), j.onChange(Z && Z.toString(), I);
5117
5117
  }
5118
5118
  }
5119
5119
  },
5120
5120
  V
5121
5121
  );
5122
5122
  }),
5123
- _ ? null : (L || M) && y ? /* @__PURE__ */ i.jsxs("div", { className: "form-buttons", children: [
5123
+ _ ? null : (O || S) && y ? /* @__PURE__ */ i.jsxs("div", { className: "form-buttons", children: [
5124
5124
  c && /* @__PURE__ */ i.jsx(
5125
5125
  ae,
5126
5126
  {
@@ -5128,7 +5128,7 @@ const or = ({
5128
5128
  className: "gtm-trackable",
5129
5129
  "data-gtm-event-context": d.context,
5130
5130
  "data-gtm-event-type": d.event,
5131
- disabled: L || M,
5131
+ disabled: O || S,
5132
5132
  onClick: p,
5133
5133
  children: o.text || w.formatMessage({ id: "form_cancel" })
5134
5134
  }
@@ -5137,7 +5137,7 @@ const or = ({
5137
5137
  ] }) : /* @__PURE__ */ i.jsx(
5138
5138
  "p",
5139
5139
  {
5140
- className: `cta ${L || M ? "center" : ""} ${M ? "submitted" : ""}`,
5140
+ className: `cta ${O || S ? "center" : ""} ${S ? "submitted" : ""}`,
5141
5141
  children: /* @__PURE__ */ i.jsxs("div", { className: "form-buttons", children: [
5142
5142
  c && /* @__PURE__ */ i.jsx(
5143
5143
  ae,
@@ -5146,7 +5146,7 @@ const or = ({
5146
5146
  className: "gtm-trackable",
5147
5147
  "data-gtm-event-context": d.context,
5148
5148
  "data-gtm-event-type": d.event,
5149
- disabled: L || M,
5149
+ disabled: O || S,
5150
5150
  onClick: p,
5151
5151
  children: o.text || w.formatMessage({ id: "form_cancel" })
5152
5152
  }
@@ -5155,14 +5155,14 @@ const or = ({
5155
5155
  ae,
5156
5156
  {
5157
5157
  ...E,
5158
- icon: M ? { icon: "tick", position: "left" } : !1,
5158
+ icon: S ? { icon: "tick", position: "left" } : !1,
5159
5159
  className: "gtm-trackable",
5160
- onClick: I,
5161
- disabled: L || M || s.disabled,
5160
+ onClick: B,
5161
+ disabled: O || S || s.disabled,
5162
5162
  "data-gtm-event-context": d.context,
5163
5163
  "data-gtm-event-type": d.event,
5164
- children: L || M ? w.formatMessage({
5165
- id: `form_${L ? "submitting" : "submitted"}`
5164
+ children: O || S ? w.formatMessage({
5165
+ id: `form_${O ? "submitting" : "submitted"}`
5166
5166
  }) : s.text
5167
5167
  }
5168
5168
  )
@@ -5172,7 +5172,7 @@ const or = ({
5172
5172
  ]
5173
5173
  }
5174
5174
  ),
5175
- f && M && /* @__PURE__ */ i.jsx(qt, { className: "success", children: typeof f == "string" ? f : w.formatMessage({ id: "form_success" }) })
5175
+ f && S && /* @__PURE__ */ i.jsx(qt, { className: "success", children: typeof f == "string" ? f : w.formatMessage({ id: "form_success" }) })
5176
5176
  ] });
5177
5177
  };
5178
5178
  const Ct = "passwordRules_", Wa = "isMoreThanEightCharacters", Ha = "includesNumberAndSymbol", Va = "includesLowerAndUppercase", Ho = {
@@ -5188,13 +5188,13 @@ const Ct = "passwordRules_", Wa = "isMoreThanEightCharacters", Ha = "includesNum
5188
5188
  className: e = ""
5189
5189
  }) => {
5190
5190
  const n = Q();
5191
- return /* @__PURE__ */ i.jsxs("aside", { className: C("password-rules", e), children: [
5191
+ return /* @__PURE__ */ i.jsxs("aside", { className: $("password-rules", e), children: [
5192
5192
  /* @__PURE__ */ i.jsx("small", { children: n.formatMessage({ id: `${Ct}intro` }) }),
5193
5193
  /* @__PURE__ */ i.jsx("ul", { children: [Wa, Ha, Va].map(
5194
5194
  (r) => /* @__PURE__ */ i.jsxs(
5195
5195
  "li",
5196
5196
  {
5197
- className: C({ matches: t[r] }),
5197
+ className: $({ matches: t[r] }),
5198
5198
  children: [
5199
5199
  /* @__PURE__ */ i.jsxs(be, { children: [
5200
5200
  n.formatMessage({ id: `${Ct}rule_label` }),
@@ -5263,14 +5263,14 @@ const dd = ({
5263
5263
  l((_) => ({ ..._, disabled: !1 }));
5264
5264
  }
5265
5265
  };
5266
- return /* @__PURE__ */ i.jsxs("div", { className: C("rating", s), children: [
5266
+ return /* @__PURE__ */ i.jsxs("div", { className: $("rating", s), children: [
5267
5267
  /* @__PURE__ */ i.jsx("span", { className: "label", children: v[m ? "success" : "text"] }),
5268
5268
  /* @__PURE__ */ i.jsx("ol", { children: Array.from(new Array(e).keys()).map((y) => {
5269
5269
  const _ = y + 1;
5270
5270
  return /* @__PURE__ */ i.jsx(
5271
5271
  "li",
5272
5272
  {
5273
- className: C({ selected: m && _ <= m }),
5273
+ className: $({ selected: m && _ <= m }),
5274
5274
  children: /* @__PURE__ */ i.jsx(
5275
5275
  ae,
5276
5276
  {
@@ -5319,7 +5319,7 @@ const ud = ({
5319
5319
  return /* @__PURE__ */ i.jsxs(
5320
5320
  "div",
5321
5321
  {
5322
- className: C("toggle", o),
5322
+ className: $("toggle", o),
5323
5323
  onClick: (f) => {
5324
5324
  f.preventDefault(), f.stopPropagation(), l(c === n[0].value ? n[1].value : n[0].value);
5325
5325
  },
@@ -5328,7 +5328,7 @@ const ud = ({
5328
5328
  /* @__PURE__ */ i.jsx(
5329
5329
  "ul",
5330
5330
  {
5331
- className: C("toggle-options", {
5331
+ className: $("toggle-options", {
5332
5332
  disabled: s,
5333
5333
  on: c === n[1].value
5334
5334
  }),
@@ -5455,7 +5455,7 @@ const Ko = ({
5455
5455
  {
5456
5456
  style: { backgroundColor: s },
5457
5457
  onSubmit: y,
5458
- className: C("invite-form gtm-trackable"),
5458
+ className: $("invite-form gtm-trackable"),
5459
5459
  children: [
5460
5460
  /* @__PURE__ */ i.jsxs("fieldset", { className: "content", children: [
5461
5461
  /* @__PURE__ */ i.jsx("h2", { className: "title", style: { color: r }, children: t }),
@@ -5515,7 +5515,7 @@ const Go = ({
5515
5515
  "form",
5516
5516
  {
5517
5517
  onSubmit: f,
5518
- className: C("search-form gtm-trackable", e),
5518
+ className: $("search-form gtm-trackable", e),
5519
5519
  "data-gtm-event-context": a,
5520
5520
  "data-gtm-event-type": s,
5521
5521
  children: /* @__PURE__ */ i.jsx(
@@ -5664,7 +5664,7 @@ function Xo(t, e) {
5664
5664
  a = r[s], !(e.indexOf(a) >= 0) && (n[a] = t[a]);
5665
5665
  return n;
5666
5666
  }
5667
- function Nt(t) {
5667
+ function $t(t) {
5668
5668
  if (t === void 0)
5669
5669
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5670
5670
  return t;
@@ -5681,7 +5681,7 @@ var rn = /* @__PURE__ */ function(t) {
5681
5681
  ec(e, t);
5682
5682
  function e() {
5683
5683
  var r;
5684
- return r = t.call(this) || this, r.handleExpired = r.handleExpired.bind(Nt(r)), r.handleErrored = r.handleErrored.bind(Nt(r)), r.handleChange = r.handleChange.bind(Nt(r)), r.handleRecaptchaRef = r.handleRecaptchaRef.bind(Nt(r)), r;
5684
+ return r = t.call(this) || this, r.handleExpired = r.handleExpired.bind($t(r)), r.handleErrored = r.handleErrored.bind($t(r)), r.handleChange = r.handleChange.bind($t(r)), r.handleRecaptchaRef = r.handleRecaptchaRef.bind($t(r)), r;
5685
5685
  }
5686
5686
  var n = e.prototype;
5687
5687
  return n.getCaptchaFunction = function(a) {
@@ -5894,14 +5894,14 @@ function mc(t, e) {
5894
5894
  this.asyncScriptLoaderHandleLoad(_);
5895
5895
  return;
5896
5896
  }
5897
- _.observers[p] = function(R) {
5898
- return d.asyncScriptLoaderHandleLoad(R);
5897
+ _.observers[p] = function(M) {
5898
+ return d.asyncScriptLoaderHandleLoad(M);
5899
5899
  };
5900
5900
  return;
5901
5901
  }
5902
5902
  var E = {};
5903
- E[p] = function(R) {
5904
- return d.asyncScriptLoaderHandleLoad(R);
5903
+ E[p] = function(M) {
5904
+ return d.asyncScriptLoaderHandleLoad(M);
5905
5905
  }, Ee[m] = {
5906
5906
  loaded: !1,
5907
5907
  observers: E
@@ -5911,24 +5911,24 @@ function mc(t, e) {
5911
5911
  for (var w in e.attributes)
5912
5912
  k.setAttribute(w, e.attributes[w]);
5913
5913
  y && (k.id = y);
5914
- var U = function(N) {
5914
+ var U = function(I) {
5915
5915
  if (Ee[m]) {
5916
- var B = Ee[m], L = B.observers;
5917
- for (var M in L)
5918
- N(L[M]) && delete L[M];
5916
+ var R = Ee[m], O = R.observers;
5917
+ for (var S in O)
5918
+ I(O[S]) && delete O[S];
5919
5919
  }
5920
5920
  };
5921
5921
  b && typeof window < "u" && (window[b] = function() {
5922
5922
  return d.asyncScriptLoaderTriggerOnScriptLoaded();
5923
5923
  }), k.onload = function() {
5924
- var R = Ee[m];
5925
- R && (R.loaded = !0, U(function(N) {
5926
- return b ? !1 : (N(R), !0);
5924
+ var M = Ee[m];
5925
+ M && (M.loaded = !0, U(function(I) {
5926
+ return b ? !1 : (I(M), !0);
5927
5927
  }));
5928
5928
  }, k.onerror = function() {
5929
- var R = Ee[m];
5930
- R && (R.errored = !0, U(function(N) {
5931
- return N(R), !0;
5929
+ var M = Ee[m];
5930
+ M && (M.errored = !0, U(function(I) {
5931
+ return I(M), !0;
5932
5932
  }));
5933
5933
  }, document.body.appendChild(k);
5934
5934
  }, l.componentWillUnmount = function() {
@@ -5944,7 +5944,7 @@ function mc(t, e) {
5944
5944
  var p = m.forwardedRef, g = dc(m, ["asyncScriptOnLoad", "forwardedRef"]);
5945
5945
  return d && typeof window < "u" && (g[d] = typeof window[d] < "u" ? window[d] : void 0), g.ref = p, Cr(r, g);
5946
5946
  }, u;
5947
- }(Pi), o = $i(function(c, u) {
5947
+ }(Pi), o = Ni(function(c, u) {
5948
5948
  return Cr(s, Yn({}, c, {
5949
5949
  forwardedRef: u
5950
5950
  }));
@@ -6154,7 +6154,7 @@ const gc = mc(hc, {
6154
6154
  const bc = ({ className: t = "" }) => /* @__PURE__ */ i.jsxs(
6155
6155
  "div",
6156
6156
  {
6157
- className: C("success-message", t),
6157
+ className: $("success-message", t),
6158
6158
  "data-testid": "success-message",
6159
6159
  children: [
6160
6160
  /* @__PURE__ */ i.jsx("p", { className: "success-title", children: /* @__PURE__ */ i.jsx(je, { id: "signup_success_title" }) }),
@@ -6247,7 +6247,7 @@ const yc = {
6247
6247
  return n.successMessage && m ? /* @__PURE__ */ i.jsx(bc, { className: t }) : /* @__PURE__ */ i.jsxs(
6248
6248
  "fieldset",
6249
6249
  {
6250
- className: C("signup-form-fieldset", t),
6250
+ className: $("signup-form-fieldset", t),
6251
6251
  "data-testid": "signup-form",
6252
6252
  children: [
6253
6253
  n.title && /* @__PURE__ */ i.jsx("p", { className: "signup-title", children: /* @__PURE__ */ i.jsx(je, { id: "signup_title" }) }),
@@ -6340,7 +6340,7 @@ const md = ({
6340
6340
  showDivider: !1,
6341
6341
  showIcon: o,
6342
6342
  functions: { onClose: c },
6343
- className: C("invite-modal", t, { success: !!n }),
6343
+ className: $("invite-modal", t, { success: !!n }),
6344
6344
  children: /* @__PURE__ */ i.jsx(
6345
6345
  Ko,
6346
6346
  {
@@ -6598,13 +6598,13 @@ const jc = {
6598
6598
  gtmContext: a = "Carousel",
6599
6599
  className: s = ""
6600
6600
  }) => {
6601
- const o = Q(), c = $e(De), u = c && typeof c.id == "string", [l, f] = ne({
6601
+ const o = Q(), c = Ne(De), u = c && typeof c.id == "string", [l, f] = ne({
6602
6602
  data: null,
6603
6603
  isLoading: !0
6604
6604
  }), { data: d, isLoading: m } = l, p = fa(() => {
6605
- n(e, u).then((N) => {
6606
- f(() => ({ data: N, isLoading: !1 }));
6607
- }).catch(() => f((N) => ({ ...N, isLoading: !1 })));
6605
+ n(e, u).then((I) => {
6606
+ f(() => ({ data: I, isLoading: !1 }));
6607
+ }).catch(() => f((I) => ({ ...I, isLoading: !1 })));
6608
6608
  }, [t]);
6609
6609
  if (se(() => {
6610
6610
  p();
@@ -6634,23 +6634,23 @@ const jc = {
6634
6634
  "data-gtm-event-type": `${_}-click`,
6635
6635
  "data-testid": "link"
6636
6636
  }, d.openInNewTab && (U.target = "_blank"));
6637
- const R = d.customIcon ? { "--custom-icon": wc(d.customIcon) } : {};
6637
+ const M = d.customIcon ? { "--custom-icon": wc(d.customIcon) } : {};
6638
6638
  return /* @__PURE__ */ i.jsx(
6639
6639
  "li",
6640
6640
  {
6641
- className: C("card-wrapper text-medium", b, s, {
6641
+ className: $("card-wrapper text-medium", b, s, {
6642
6642
  "has-link": k,
6643
6643
  "no-link": !k,
6644
6644
  "has-custom-icon": d.customIcon,
6645
6645
  "has-image": d.banner
6646
6646
  }),
6647
- style: R,
6647
+ style: M,
6648
6648
  "data-testid": `${g}-card`,
6649
6649
  children: K.createElement(
6650
6650
  k ? "a" : "div",
6651
6651
  U,
6652
6652
  /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
6653
- (d.customLabel || E) && /* @__PURE__ */ i.jsx("small", { className: C("card-label text-small", b), children: d.customLabel || E }),
6653
+ (d.customLabel || E) && /* @__PURE__ */ i.jsx("small", { className: $("card-label text-small", b), children: d.customLabel || E }),
6654
6654
  d.startDate && !d.isOngoingEvent && /* @__PURE__ */ i.jsx(
6655
6655
  Bt,
6656
6656
  {
@@ -6685,12 +6685,12 @@ const jc = {
6685
6685
  ),
6686
6686
  d.partner && /* @__PURE__ */ i.jsx("p", { className: "partners", "data-testid": "partners", children: Ke(d.partner.title, w.partner) }),
6687
6687
  /* Text */
6688
- ["title", "text", "secondaryText"].map((N) => {
6689
- const B = d[N];
6690
- if (!B)
6688
+ ["title", "text", "secondaryText"].map((I) => {
6689
+ const R = d[I];
6690
+ if (!R)
6691
6691
  return null;
6692
- const L = es(N);
6693
- return /* @__PURE__ */ i.jsx("p", { className: L, "data-testid": L, children: Ke(B, w[N]) }, N);
6692
+ const O = es(I);
6693
+ return /* @__PURE__ */ i.jsx("p", { className: O, "data-testid": O, children: Ke(R, w[I]) }, I);
6694
6694
  }),
6695
6695
  /* @__PURE__ */ i.jsx(_c, { type: b || "", data: d }),
6696
6696
  /* @__PURE__ */ i.jsx(xc, { data: d, cta: r, link: k || "", gtmContext: a })
@@ -6699,7 +6699,7 @@ const jc = {
6699
6699
  }
6700
6700
  );
6701
6701
  };
6702
- const kc = ({ cards: t, cardTypes: e, className: n = "", ...r }) => /* @__PURE__ */ i.jsx("ul", { className: C("card-block", n), children: t.map((a, s) => {
6702
+ const kc = ({ cards: t, cardTypes: e, className: n = "", ...r }) => /* @__PURE__ */ i.jsx("ul", { className: $("card-block", n), children: t.map((a, s) => {
6703
6703
  const o = a.slug ? `${a.slug}-${e[s]}` : `${e[s]}-${s}`;
6704
6704
  return /* @__PURE__ */ i.jsx(
6705
6705
  Qa,
@@ -6719,7 +6719,7 @@ const kc = ({ cards: t, cardTypes: e, className: n = "", ...r }) => /* @__PURE__
6719
6719
  return null;
6720
6720
  const { text: r, element: a = "h2", variant: s = "default", size: o = "medium", link: c } = e;
6721
6721
  return K.createElement(a, {
6722
- className: C("title", s, o, {
6722
+ className: $("title", s, o, {
6723
6723
  "highlighted-title": s === "highlighted"
6724
6724
  }),
6725
6725
  children: /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
@@ -6742,7 +6742,7 @@ const jn = {
6742
6742
  threeCards: 769,
6743
6743
  twoCards: 480
6744
6744
  };
6745
- let $t = null;
6745
+ let Nt = null;
6746
6746
  const Sc = ({
6747
6747
  id: t,
6748
6748
  cards: e,
@@ -6760,50 +6760,57 @@ const Sc = ({
6760
6760
  loadedPages: [0]
6761
6761
  }), { currentPage: g, loadedPages: v } = m, b = e.length, y = Math.ceil(b / f), _ = pe(null), E = yt(!0, !0, _ == null ? void 0 : _.current);
6762
6762
  se(() => {
6763
- let N = 1;
6764
- E && (E >= jn.fourCards ? N = 4 : E >= jn.threeCards ? N = 3 : E >= jn.twoCards && (N = 2), N > b && (N = b)), l((B) => ({
6765
- ...B,
6766
- cardsPerPage: N,
6763
+ let R = 1;
6764
+ E && (E >= jn.fourCards ? R = 4 : E >= jn.threeCards ? R = 3 : E >= jn.twoCards && (R = 2), R > b && (R = b)), l((O) => ({
6765
+ ...O,
6766
+ cardsPerPage: R,
6767
6767
  isLoading: !1
6768
6768
  }));
6769
6769
  }, [E, b]);
6770
- const k = (N = "next") => {
6771
- let B = g;
6772
- if (typeof N == "string")
6773
- if (N === "next")
6770
+ const k = (R = "next") => {
6771
+ let O = g;
6772
+ if (typeof R == "string")
6773
+ if (R === "next")
6774
6774
  if (g < y - 1)
6775
- B = g + 1;
6775
+ O = g + 1;
6776
6776
  else
6777
6777
  return;
6778
6778
  else if (g > 0)
6779
- B = g - 1;
6779
+ O = g - 1;
6780
6780
  else
6781
6781
  return;
6782
6782
  else
6783
- B = N;
6784
- p((L) => ({
6785
- ...L,
6786
- currentPage: B,
6787
- loadedPages: [.../* @__PURE__ */ new Set([...v, B])]
6783
+ O = R;
6784
+ p((S) => ({
6785
+ ...S,
6786
+ currentPage: O,
6787
+ loadedPages: [.../* @__PURE__ */ new Set([...v, O])]
6788
6788
  }));
6789
- }, w = (N) => {
6790
- $t = N.touches[0].clientX;
6791
- }, U = (N) => {
6792
- if ($t === null)
6789
+ }, w = (R) => {
6790
+ Nt = R.touches[0].clientX;
6791
+ }, U = (R) => {
6792
+ if (Nt === null)
6793
6793
  return;
6794
- const B = N.touches[0].clientX, L = $t - B;
6795
- L > 5 ? k("next") : L < -5 && k("previous"), $t = null;
6796
- }, R = {
6794
+ const O = R.touches[0].clientX, S = Nt - O;
6795
+ S > 5 ? k("next") : S < -5 && k("previous"), Nt = null;
6796
+ }, M = {
6797
6797
  "--width": `${E || 0}px`,
6798
6798
  "--total-cards": b,
6799
6799
  "--cards-per-page": f,
6800
6800
  "--page": g
6801
6801
  };
6802
- return d ? /* @__PURE__ */ i.jsx(Ca, { layout: `carousel${a ? "-with-title" : ""}` }) : /* @__PURE__ */ i.jsxs(
6802
+ if (d)
6803
+ return /* @__PURE__ */ i.jsx(Ca, { layout: `carousel${a ? "-with-title" : ""}` });
6804
+ const I = (R, O) => {
6805
+ var T;
6806
+ let S = null;
6807
+ return (T = R == null ? void 0 : R.sys) != null && T.id ? S = `card-${R.sys.id}` : R != null && R.slug ? S = `card-${R.slug}` : [n[O], R.contentType].includes("customCard") && (S = `card-${window.btoa(`${R.title} ${R.createdAt}`)}-${O}`), S;
6808
+ };
6809
+ return /* @__PURE__ */ i.jsxs(
6803
6810
  "section",
6804
6811
  {
6805
6812
  ref: _,
6806
- className: C("carousel-wrapper", s),
6813
+ className: $("carousel-wrapper", s),
6807
6814
  "data-testid": "carousel",
6808
6815
  children: [
6809
6816
  /* @__PURE__ */ i.jsx(Ec, { id: t, title: a }),
@@ -6813,27 +6820,27 @@ const Sc = ({
6813
6820
  className: "carousel",
6814
6821
  onTouchStart: w,
6815
6822
  onTouchMove: U,
6816
- style: R,
6823
+ style: M,
6817
6824
  "data-testid": "carousel-list",
6818
- children: e.map((N, B) => {
6819
- let L = N && N.sys && N.sys.id ? `${t}-card-${N.sys.id}` : null;
6820
- return L && Tc(B, f, g, v) ? /* @__PURE__ */ i.jsx(
6825
+ children: e.map((R, O) => {
6826
+ let S = I(R, O);
6827
+ return S && Tc(O, f, g, v) ? /* @__PURE__ */ i.jsx(
6821
6828
  Qa,
6822
6829
  {
6823
- id: L,
6824
- card: { ...N, contentType: n[B] },
6830
+ id: S,
6831
+ card: { ...R, contentType: n[O] },
6825
6832
  buildCardData: r,
6826
6833
  gtmContext: o
6827
6834
  },
6828
- L
6829
- ) : (L = L || `${t}-card-${B}`, /* @__PURE__ */ i.jsx(
6835
+ S
6836
+ ) : (S = S || `${t}-card-${O}`, /* @__PURE__ */ i.jsx(
6830
6837
  Se,
6831
6838
  {
6832
6839
  element: "li",
6833
6840
  className: "card-wrapper",
6834
6841
  "data-testid": "card-placeholder"
6835
6842
  },
6836
- L
6843
+ S
6837
6844
  ));
6838
6845
  })
6839
6846
  }
@@ -6845,8 +6852,8 @@ const Sc = ({
6845
6852
  variant: "secondary",
6846
6853
  size: "large",
6847
6854
  icon: { icon: "chevron_left" },
6848
- onClick: (N) => {
6849
- N.preventDefault(), N.stopPropagation(), k("previous");
6855
+ onClick: (R) => {
6856
+ R.preventDefault(), R.stopPropagation(), k("previous");
6850
6857
  },
6851
6858
  screenreaderText: c.formatMessage({
6852
6859
  id: "carousel_pagination_previous"
@@ -6854,29 +6861,29 @@ const Sc = ({
6854
6861
  disabled: g <= 0
6855
6862
  }
6856
6863
  ) }),
6857
- [...Array(y)].map((N, B) => /* @__PURE__ */ i.jsx("li", { "data-testid": "carousel-controls-button", children: /* @__PURE__ */ i.jsx(
6864
+ [...Array(y)].map((R, O) => /* @__PURE__ */ i.jsx("li", { "data-testid": "carousel-controls-button", children: /* @__PURE__ */ i.jsx(
6858
6865
  "button",
6859
6866
  {
6860
- className: C("page-indicator", {
6861
- selected: B === g
6867
+ className: $("page-indicator", {
6868
+ selected: O === g
6862
6869
  }),
6863
- onClick: (L) => {
6864
- L.preventDefault(), L.stopPropagation(), k(B);
6870
+ onClick: (S) => {
6871
+ S.preventDefault(), S.stopPropagation(), k(O);
6865
6872
  },
6866
6873
  children: /* @__PURE__ */ i.jsx(be, { showOnFocus: !1, children: c.formatMessage(
6867
6874
  { id: "carousel_pagination_page" },
6868
- { number: B + 1, total: y }
6875
+ { number: O + 1, total: y }
6869
6876
  ) })
6870
6877
  }
6871
- ) }, `page-indicator-${B}`)),
6878
+ ) }, `page-indicator-${O}`)),
6872
6879
  /* @__PURE__ */ i.jsx("li", { className: "arrow next", children: /* @__PURE__ */ i.jsx(
6873
6880
  ae,
6874
6881
  {
6875
6882
  variant: "secondary",
6876
6883
  size: "large",
6877
6884
  icon: { icon: "chevron_right" },
6878
- onClick: (N) => {
6879
- N.preventDefault(), N.stopPropagation(), k("next");
6885
+ onClick: (R) => {
6886
+ R.preventDefault(), R.stopPropagation(), k("next");
6880
6887
  },
6881
6888
  screenreaderText: c.formatMessage({ id: "carousel_pagination_next" }),
6882
6889
  disabled: g >= y - 1
@@ -6925,7 +6932,7 @@ const kn = "joinCommunityButton", Ja = ({
6925
6932
  }, leave: () => {
6926
6933
  } }
6927
6934
  }) => {
6928
- const a = Q(), s = $e(De), o = s && typeof s.id == "string", [c, u] = ne(t), [l, f] = ne(t ? "joined" : "notJoined");
6935
+ const a = Q(), s = Ne(De), o = s && typeof s.id == "string", [c, u] = ne(t), [l, f] = ne(t ? "joined" : "notJoined");
6929
6936
  se(() => {
6930
6937
  l === "joining" ? f("joined") : l === "leaving" && f("notJoined");
6931
6938
  }, [c]);
@@ -6940,7 +6947,7 @@ const kn = "joinCommunityButton", Ja = ({
6940
6947
  onClick: async (p) => {
6941
6948
  o && (p.currentTarget.blur(), c ? (f("leaving"), typeof r == "function" && await r()) : (f("joining"), typeof n == "function" && await n()), u(!c));
6942
6949
  },
6943
- className: C("join-community-button", l, {
6950
+ className: $("join-community-button", l, {
6944
6951
  active: l === "joining"
6945
6952
  }),
6946
6953
  disabled: !o,
@@ -6959,7 +6966,7 @@ const Tn = "communityDetails_", gd = ({
6959
6966
  functions: { invite: s, ...o }
6960
6967
  }) => {
6961
6968
  const c = Q(), u = 5, l = r || a.length, f = a.length ? a : Array(u).fill({}), d = `/communities/${n}/members` === window.location.pathname;
6962
- return /* @__PURE__ */ i.jsxs("div", { className: C("community-details", t), children: [
6969
+ return /* @__PURE__ */ i.jsxs("div", { className: $("community-details", t), children: [
6963
6970
  /* @__PURE__ */ i.jsx(Fe, {}),
6964
6971
  /* @__PURE__ */ i.jsxs("div", { className: "member-details", children: [
6965
6972
  /* @__PURE__ */ i.jsxs("div", { className: "top", children: [
@@ -7008,7 +7015,7 @@ const vd = ({ breadcrumbs: t, cutoff: e = 20, className: n = "" }) => {
7008
7015
  children: r.formatMessage({ id: "breadcrumbs_label" })
7009
7016
  }
7010
7017
  ),
7011
- /* @__PURE__ */ i.jsx("ul", { className: C("breadcrumbs text-small", n), children: t.map(
7018
+ /* @__PURE__ */ i.jsx("ul", { className: $("breadcrumbs text-small", n), children: t.map(
7012
7019
  ({ text: a, href: s, current: o = !1 }, c) => /* @__PURE__ */ i.jsxs("li", { children: [
7013
7020
  o && /* @__PURE__ */ i.jsx(
7014
7021
  be,
@@ -7040,7 +7047,7 @@ const bd = ({
7040
7047
  let m = [];
7041
7048
  c.includes(f) ? m = c.filter((p) => p !== f) : f === "all" ? m = ["all"] : n ? m = [...c.filter((p) => p !== "all"), f] : m = [f], u((p) => (r && typeof r == "function" && r({ current: m, previous: p }), m)), d && typeof d == "function" && d();
7042
7049
  };
7043
- return /* @__PURE__ */ i.jsx("ul", { className: C("filters", a), children: o.map(({ id: f, text: d, disabled: m = !1, callback: p = () => {
7050
+ return /* @__PURE__ */ i.jsx("ul", { className: $("filters", a), children: o.map(({ id: f, text: d, disabled: m = !1, callback: p = () => {
7044
7051
  } }) => {
7045
7052
  let g = {};
7046
7053
  return m && (g = {
@@ -7049,7 +7056,7 @@ const bd = ({
7049
7056
  }), /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx(
7050
7057
  "button",
7051
7058
  {
7052
- className: C(f, { selected: c.includes(f) }),
7059
+ className: $(f, { selected: c.includes(f) }),
7053
7060
  onClick: (v) => {
7054
7061
  v.preventDefault(), v.stopPropagation(), l(f, p);
7055
7062
  },
@@ -7092,7 +7099,7 @@ const En = {
7092
7099
  ))
7093
7100
  return null;
7094
7101
  const p = Object.keys(r), g = f !== t;
7095
- return /* @__PURE__ */ i.jsxs("div", { className: C("language-switcher text-small", o, u), children: [
7102
+ return /* @__PURE__ */ i.jsxs("div", { className: $("language-switcher text-small", o, u), children: [
7096
7103
  /* @__PURE__ */ i.jsxs("nav", { children: [
7097
7104
  o !== "short" && /* @__PURE__ */ i.jsx("p", { children: c || l.formatMessage({ id: `${Pt}label` }) }),
7098
7105
  /* @__PURE__ */ i.jsx("ul", { children: p.map((v) => {
@@ -7154,7 +7161,7 @@ const Sn = Fi({ locale: "en", messages: tr }), an = ({
7154
7161
  p instanceof Error ? f(p.message) : f("Unknown error");
7155
7162
  }
7156
7163
  };
7157
- return !l && !t && !o.endOfFeed ? null : /* @__PURE__ */ i.jsx("footer", { className: C("load-more", c), children: !l && t ? /* @__PURE__ */ i.jsx(
7164
+ return !l && !t && !o.endOfFeed ? null : /* @__PURE__ */ i.jsx("footer", { className: $("load-more", c), children: !l && t ? /* @__PURE__ */ i.jsx(
7158
7165
  ae,
7159
7166
  {
7160
7167
  variant: n,
@@ -7179,13 +7186,13 @@ const Xa = ({
7179
7186
  "a",
7180
7187
  {
7181
7188
  href: "/home/",
7182
- className: C("logo", t, e, n),
7189
+ className: $("logo", t, e, n),
7183
7190
  ...r,
7184
7191
  children: /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(je, { id: "apolitical" }) })
7185
7192
  }
7186
7193
  ) });
7187
7194
  let Rt = !1;
7188
- const Nc = ({
7195
+ const $c = ({
7189
7196
  element: t = "div",
7190
7197
  id: e = "more-menu",
7191
7198
  options: n,
@@ -7200,7 +7207,7 @@ const Nc = ({
7200
7207
  document.removeEventListener("click", u, !0);
7201
7208
  })), K.createElement(t, {
7202
7209
  ref: s,
7203
- className: C("more-menu text-medium", r),
7210
+ className: $("more-menu text-medium", r),
7204
7211
  children: /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
7205
7212
  /* @__PURE__ */ i.jsx(
7206
7213
  ae,
@@ -7243,7 +7250,7 @@ const Nc = ({
7243
7250
  }) })
7244
7251
  ] })
7245
7252
  });
7246
- }, $c = (t, e = !1) => e ? t.replaceAll("/", "") === e : typeof window < "u" && window.location && window.location.pathname === t;
7253
+ }, Nc = (t, e = !1) => e ? t.replaceAll("/", "") === e : typeof window < "u" && window.location && window.location.pathname === t;
7247
7254
  const Pc = [
7248
7255
  {
7249
7256
  key: "homepage",
@@ -7262,12 +7269,12 @@ const Pc = [
7262
7269
  href: "/solution-articles/"
7263
7270
  }
7264
7271
  ], Rc = ({ activeLink: t }) => {
7265
- const e = Q(), n = $e(De), r = n && typeof n.id == "string";
7272
+ const e = Q(), n = Ne(De), r = n && typeof n.id == "string";
7266
7273
  return /* @__PURE__ */ i.jsxs("ul", { id: "navigation-menu", className: "text-medium", children: [
7267
7274
  Pc.map(({ key: a, href: s }) => /* @__PURE__ */ i.jsx(
7268
7275
  "li",
7269
7276
  {
7270
- className: C(a, { active: $c(s, t) }),
7277
+ className: $(a, { active: Nc(s, t) }),
7271
7278
  children: /* @__PURE__ */ i.jsx(
7272
7279
  "a",
7273
7280
  {
@@ -7354,7 +7361,7 @@ const Oc = "shareLinks_", _d = ({
7354
7361
  className: o = ""
7355
7362
  }) => {
7356
7363
  const c = Q(), u = Mc({ title: t, link: e, referrer: n });
7357
- return /* @__PURE__ */ i.jsxs("aside", { className: C("share-links", a, s, o), children: [
7364
+ return /* @__PURE__ */ i.jsxs("aside", { className: $("share-links", a, s, o), children: [
7358
7365
  /* @__PURE__ */ i.jsx("p", { className: "text-small", children: c.formatMessage({ id: "shareLinks_label" }) }),
7359
7366
  /* @__PURE__ */ i.jsx("ul", { children: u.map(({ key: l, icon: f, url: d, shouldRender: m = !0, onClick: p }) => {
7360
7367
  if (typeof m == "function" && !m())
@@ -7430,7 +7437,7 @@ const xd = ({ tabs: t, className: e = "" }) => {
7430
7437
  {
7431
7438
  href: m || `#${l}`,
7432
7439
  id: `tab-${l}`,
7433
- className: C({ selected: v }),
7440
+ className: $({ selected: v }),
7434
7441
  role: "tab",
7435
7442
  "aria-selected": v,
7436
7443
  ...b,
@@ -7438,7 +7445,7 @@ const xd = ({ tabs: t, className: e = "" }) => {
7438
7445
  }
7439
7446
  ) }, `tab-${l}`)
7440
7447
  );
7441
- }), /* @__PURE__ */ i.jsxs("div", { className: C("tabs-wrapper", e), children: [
7448
+ }), /* @__PURE__ */ i.jsxs("div", { className: $("tabs-wrapper", e), children: [
7442
7449
  /* @__PURE__ */ i.jsx("ul", { className: "tabs", role: "tablist", children: o }),
7443
7450
  /* @__PURE__ */ i.jsx("div", { className: "tab-content", children: c })
7444
7451
  ] });
@@ -7455,10 +7462,10 @@ const Fc = {
7455
7462
  }) => {
7456
7463
  const a = yt(!0);
7457
7464
  let s = r;
7458
- return K.Children.count(r) === 1 && (s = K.Children.toArray(r)[0], s.props && (s = s.props.children)), /* @__PURE__ */ i.jsx("section", { className: C("columns", `layout-${t}`, n), children: K.Children.map(s, (o, c) => e !== !1 && c === e && a && a < Fc[t] ? null : o) });
7465
+ return K.Children.count(r) === 1 && (s = K.Children.toArray(r)[0], s.props && (s = s.props.children)), /* @__PURE__ */ i.jsx("section", { className: $("columns", `layout-${t}`, n), children: K.Children.map(s, (o, c) => e !== !1 && c === e && a && a < Fc[t] ? null : o) });
7459
7466
  };
7460
7467
  let Cn;
7461
- const Nn = "contactFooter_", wd = ({ onSuccess: t = async () => {
7468
+ const $n = "contactFooter_", wd = ({ onSuccess: t = async () => {
7462
7469
  }, onFailure: e = () => {
7463
7470
  } }) => {
7464
7471
  const n = pe(null), [r, a] = K.useState(0), [s, o] = K.useState(!1), c = () => {
@@ -7471,7 +7478,7 @@ const Nn = "contactFooter_", wd = ({ onSuccess: t = async () => {
7471
7478
  return se(() => (c(), window.addEventListener("resize", u), () => {
7472
7479
  clearTimeout(Cn), window.removeEventListener("resize", u);
7473
7480
  }), []), /* @__PURE__ */ i.jsx(et, { id: "contactForm", className: "contact-footer", children: /* @__PURE__ */ i.jsxs("div", { className: "inner-wrapper", children: [
7474
- /* @__PURE__ */ i.jsx("h2", { children: /* @__PURE__ */ i.jsx(je, { id: `${Nn}title` }) }),
7481
+ /* @__PURE__ */ i.jsx("h2", { children: /* @__PURE__ */ i.jsx(je, { id: `${$n}title` }) }),
7475
7482
  /* @__PURE__ */ i.jsxs(
7476
7483
  "div",
7477
7484
  {
@@ -7481,8 +7488,8 @@ const Nn = "contactFooter_", wd = ({ onSuccess: t = async () => {
7481
7488
  style: s ? {} : { minHeight: r },
7482
7489
  children: [
7483
7490
  /* @__PURE__ */ i.jsxs("aside", { children: [
7484
- /* @__PURE__ */ i.jsx("p", { children: /* @__PURE__ */ i.jsx(je, { id: `${Nn}text` }) }),
7485
- /* @__PURE__ */ i.jsx(xt, { className: "mailto-link", href: "mailto:hello@apolitical.co", children: /* @__PURE__ */ i.jsx(je, { id: `${Nn}email` }) })
7491
+ /* @__PURE__ */ i.jsx("p", { children: /* @__PURE__ */ i.jsx(je, { id: `${$n}text` }) }),
7492
+ /* @__PURE__ */ i.jsx(xt, { className: "mailto-link", href: "mailto:hello@apolitical.co", children: /* @__PURE__ */ i.jsx(je, { id: `${$n}email` }) })
7486
7493
  ] }),
7487
7494
  /* @__PURE__ */ i.jsx(
7488
7495
  Yo,
@@ -7499,7 +7506,7 @@ const Nn = "contactFooter_", wd = ({ onSuccess: t = async () => {
7499
7506
  /* @__PURE__ */ i.jsx(Rc, { activeLink: t }),
7500
7507
  /* @__PURE__ */ i.jsx(Os, { ...e })
7501
7508
  ] }) }) });
7502
- const $n = "cookieBanner_", Pn = [
7509
+ const Nn = "cookieBanner_", Pn = [
7503
7510
  "apol-cookie-banner",
7504
7511
  "apolitical-performance-cookie-consent",
7505
7512
  "functional-cookie-consent"
@@ -7544,11 +7551,11 @@ const $n = "cookieBanner_", Pn = [
7544
7551
  className: "gtm-trackable",
7545
7552
  "data-gtm-event-context": "cookie-banner",
7546
7553
  "data-gtm-event-type": `cookie-${f.gtmType}-click`,
7547
- children: t.formatMessage({ id: `${$n}buttons_${f.id}` })
7554
+ children: t.formatMessage({ id: `${Nn}buttons_${f.id}` })
7548
7555
  });
7549
7556
  }), /* @__PURE__ */ i.jsxs("aside", { id: "cookie-banner", className: "text-medium", children: [
7550
- /* @__PURE__ */ i.jsx("h6", { children: t.formatMessage({ id: `${$n}title` }) }),
7551
- /* @__PURE__ */ i.jsx("p", { children: t.formatMessage({ id: `${$n}text` }) }),
7557
+ /* @__PURE__ */ i.jsx("h6", { children: t.formatMessage({ id: `${Nn}title` }) }),
7558
+ /* @__PURE__ */ i.jsx("p", { children: t.formatMessage({ id: `${Nn}text` }) }),
7552
7559
  /* @__PURE__ */ i.jsx(tn, { buttons: l })
7553
7560
  ] });
7554
7561
  }, Oe = {
@@ -7973,7 +7980,7 @@ const Ye = "footer_", Yt = "SiteFooter", na = ({ group: t }) => {
7973
7980
  return /* @__PURE__ */ i.jsxs(
7974
7981
  "li",
7975
7982
  {
7976
- className: C({
7983
+ className: $({
7977
7984
  [c.className]: c.className,
7978
7985
  "has-submenu": p,
7979
7986
  parent: g,
@@ -8000,7 +8007,7 @@ const Ye = "footer_", Yt = "SiteFooter", na = ({ group: t }) => {
8000
8007
  return c[_].order ? /* @__PURE__ */ i.jsxs(
8001
8008
  "li",
8002
8009
  {
8003
- className: C({
8010
+ className: $({
8004
8011
  [c[_].className]: c[_].className
8005
8012
  }),
8006
8013
  children: [
@@ -8031,7 +8038,7 @@ const Ye = "footer_", Yt = "SiteFooter", na = ({ group: t }) => {
8031
8038
  );
8032
8039
  };
8033
8040
  const Lc = { height: 67, height_desktop: 83 }, ti = ({ showNavigation: t = !0 }) => {
8034
- const e = Q(), n = $e(De), r = yt(!0, !0), a = n && typeof n.id == "string", s = bt(
8041
+ const e = Q(), n = Ne(De), r = yt(!0, !0), a = n && typeof n.id == "string", s = bt(
8035
8042
  () => fe.getIsDesktopVersion(a, r),
8036
8043
  [a, r]
8037
8044
  ), [o, c] = Jn(ya, {
@@ -8077,7 +8084,7 @@ const Lc = { height: 67, height_desktop: 83 }, ti = ({ showNavigation: t = !0 })
8077
8084
  "nav",
8078
8085
  {
8079
8086
  id: "header",
8080
- className: C({
8087
+ className: $({
8081
8088
  "logged-in": a,
8082
8089
  "logged-out": !a,
8083
8090
  visible: u
@@ -8199,7 +8206,7 @@ const Lc = { height: 67, height_desktop: 83 }, ti = ({ showNavigation: t = !0 })
8199
8206
  /* @__PURE__ */ i.jsx(
8200
8207
  "div",
8201
8208
  {
8202
- className: C("overlay", {
8209
+ className: $("overlay", {
8203
8210
  open: l.navigation || l.account || !s.search && l.search
8204
8211
  })
8205
8212
  }
@@ -8241,7 +8248,7 @@ const Ic = () => {
8241
8248
  "div",
8242
8249
  {
8243
8250
  id: "wrapper",
8244
- className: C(o, y, { "has-footer": l }),
8251
+ className: $(o, y, { "has-footer": l }),
8245
8252
  children: [
8246
8253
  /* @__PURE__ */ i.jsx(ti, { showNavigation: u }),
8247
8254
  /* @__PURE__ */ i.jsxs("section", { id: "content-wrapper", children: [
@@ -8309,7 +8316,7 @@ const kd = ({
8309
8316
  }), u.length < 1 ? null : /* @__PURE__ */ i.jsx(
8310
8317
  "ul",
8311
8318
  {
8312
- className: C("tags text-small", e, a, {
8319
+ className: $("tags text-small", e, a, {
8313
8320
  "one-line": n
8314
8321
  }),
8315
8322
  children: u.map((l) => {
@@ -8338,7 +8345,7 @@ const Td = ({
8338
8345
  className: o = ""
8339
8346
  }) => {
8340
8347
  const c = Q();
8341
- return t.length === 0 ? null : /* @__PURE__ */ i.jsxs("div", { className: C("members-list", o), children: [
8348
+ return t.length === 0 ? null : /* @__PURE__ */ i.jsxs("div", { className: $("members-list", o), children: [
8342
8349
  /* @__PURE__ */ i.jsxs("h1", { children: [
8343
8350
  c.formatMessage({ id: "membersList" }),
8344
8351
  /* @__PURE__ */ i.jsx("span", { className: "count", children: e })
@@ -8392,8 +8399,8 @@ const xe = "discussion_form_", dr = ({
8392
8399
  },
8393
8400
  gtmContext: l = "DiscussionForm"
8394
8401
  }) => {
8395
- var L, M, T;
8396
- const f = Q(), d = $e(De), [m, p] = ne(
8402
+ var O, S, T;
8403
+ const f = Q(), d = Ne(De), [m, p] = ne(
8397
8404
  n.isEditing && n.isEditing.text || ""
8398
8405
  ), [g, v] = ne(c.error || !1), [b, y] = ne(!1), _ = pe(null);
8399
8406
  if (r || (r = _), n.isLoading)
@@ -8405,86 +8412,86 @@ const xe = "discussion_form_", dr = ({
8405
8412
  }
8406
8413
  );
8407
8414
  const E = (x) => {
8408
- const S = x.target.value;
8409
- p(S);
8410
- let I;
8411
- !d || !d.id ? I = Ne(
8415
+ const C = x.target.value;
8416
+ p(C);
8417
+ let B;
8418
+ !d || !d.id ? B = $e(
8412
8419
  f.formatMessage,
8413
8420
  `${xe}error_loggedOut`,
8414
8421
  t.type,
8415
8422
  "action"
8416
- ) : e ? S.length >= s && (I = `${xe}error_tooLong`) : I = Ne(
8423
+ ) : e ? C.length >= s && (B = `${xe}error_tooLong`) : B = $e(
8417
8424
  f.formatMessage,
8418
8425
  `${xe}error_noPermission`,
8419
8426
  t.type,
8420
8427
  "action"
8421
- ), I ? v(I) : g && v(!1);
8428
+ ), B ? v(B) : g && v(!1);
8422
8429
  };
8423
8430
  let k = `${t.type}-form`;
8424
8431
  if (t.type === "response" || t.type === "reply") {
8425
- const x = ((L = t.slugs) == null ? void 0 : L.reply) || ((M = t.slugs) == null ? void 0 : M.answer) || ((T = t.slugs) == null ? void 0 : T.question) || "";
8432
+ const x = ((O = t.slugs) == null ? void 0 : O.reply) || ((S = t.slugs) == null ? void 0 : S.answer) || ((T = t.slugs) == null ? void 0 : T.question) || "";
8426
8433
  x && (k = `${k}-${x.slice(-15)}`);
8427
8434
  }
8428
8435
  const w = async (x) => {
8429
- var I;
8430
- if (x.preventDefault(), x.stopPropagation(), !d || !d.id || !e || R)
8436
+ var B;
8437
+ if (x.preventDefault(), x.stopPropagation(), !d || !d.id || !e || M)
8431
8438
  return;
8432
8439
  Mt && clearTimeout(Mt), y("submitting");
8433
- const S = window.location.pathname;
8440
+ const C = window.location.pathname;
8434
8441
  try {
8435
- let O;
8442
+ let F;
8436
8443
  switch (t.type) {
8437
8444
  case "post":
8438
- O = await u.create({ content: m });
8445
+ F = await u.create({ content: m });
8439
8446
  break;
8440
8447
  case "question":
8441
- O = await u.create({
8448
+ F = await u.create({
8442
8449
  title: m,
8443
8450
  authorId: d && d.id,
8444
- ...(I = u.props) == null ? void 0 : I.create
8451
+ ...(B = u.props) == null ? void 0 : B.create
8445
8452
  });
8446
8453
  break;
8447
8454
  case "response":
8448
- O = await u.create(
8455
+ F = await u.create(
8449
8456
  { question: t.slugs.question },
8450
- { body: m, authorId: d && d.id, contentPath: S }
8457
+ { body: m, authorId: d && d.id, contentPath: C }
8451
8458
  );
8452
8459
  break;
8453
8460
  case "reply":
8454
- O = await u.create(
8461
+ F = await u.create(
8455
8462
  { question: t.slugs.question, answer: t.slugs.answer },
8456
- { body: m, authorId: d && d.id, contentPath: S }
8463
+ { body: m, authorId: d && d.id, contentPath: C }
8457
8464
  );
8458
8465
  break;
8459
8466
  default:
8460
8467
  break;
8461
8468
  }
8462
- await as(1e3), u.callback && await u.callback(O), Mt = setTimeout(() => {
8469
+ await as(1e3), u.callback && await u.callback(F), Mt = setTimeout(() => {
8463
8470
  p(""), y("submitted");
8464
- const D = new Event("discussionFormSubmitted");
8465
- document.dispatchEvent(D), U();
8471
+ const L = new Event("discussionFormSubmitted");
8472
+ document.dispatchEvent(L), U();
8466
8473
  }, 500);
8467
- } catch (O) {
8468
- const D = O;
8474
+ } catch (F) {
8475
+ const L = F;
8469
8476
  let V = `${xe}error`;
8470
- D != null && D.message.includes("entry already exists") && (V = Ne(
8477
+ L != null && L.message.includes("entry already exists") && (V = $e(
8471
8478
  f.formatMessage,
8472
8479
  `${xe}error_alreadyExists`,
8473
8480
  t.type,
8474
8481
  "action"
8475
- )), D != null && D.message.includes("429") ? V = Ne(
8482
+ )), L != null && L.message.includes("429") ? V = $e(
8476
8483
  f.formatMessage,
8477
8484
  `${xe}error_tooMany`,
8478
8485
  t.type,
8479
8486
  "action"
8480
- ) : D != null && D.message.includes("400") && (V = `${xe}error`), v(V), U();
8487
+ ) : L != null && L.message.includes("400") && (V = `${xe}error`), v(V), U();
8481
8488
  }
8482
8489
  }, U = () => {
8483
8490
  Mt = setTimeout(() => {
8484
8491
  v(!1), y(!1);
8485
8492
  }, 5e3);
8486
- }, R = !m || !us(m), N = b === "submitting", B = [];
8487
- return (n.isEditing && !N || c.cancel) && B.push({
8493
+ }, M = !m || !us(m), I = b === "submitting", R = [];
8494
+ return (n.isEditing && !I || c.cancel) && R.push({
8488
8495
  variant: "secondary",
8489
8496
  size: { mobile: "small", 600: "medium" },
8490
8497
  onClick: u.handleCancel,
@@ -8493,7 +8500,7 @@ const xe = "discussion_form_", dr = ({
8493
8500
  "data-gtm-event-type": `cancel-${t.type}-click`,
8494
8501
  disabled: !c.cancel && (!d || !d.id || !m),
8495
8502
  children: f.formatMessage({ id: `${xe}cancel` })
8496
- }), B.push({
8503
+ }), R.push({
8497
8504
  variant: "primary",
8498
8505
  size: { mobile: "small", 600: "medium" },
8499
8506
  onClick: (x) => {
@@ -8509,20 +8516,20 @@ const xe = "discussion_form_", dr = ({
8509
8516
  "data-gtm-event-context": l,
8510
8517
  "data-gtm-event-type": `${n.isEditing ? "save" : "submit"}-${t.type}-click`,
8511
8518
  "data-testid": "save-button",
8512
- disabled: !d || !d.id || !e || R || N || n.isEditing && m === n.isEditing.text,
8519
+ disabled: !d || !d.id || !e || M || I || n.isEditing && m === n.isEditing.text,
8513
8520
  children: f.formatMessage({
8514
- id: `${xe}${N ? n.isEditing ? "saving" : "posting" : n.isEditing ? "save" : "post"}`
8521
+ id: `${xe}${I ? n.isEditing ? "saving" : "posting" : n.isEditing ? "save" : "post"}`
8515
8522
  })
8516
8523
  }), /* @__PURE__ */ i.jsxs(
8517
8524
  "form",
8518
8525
  {
8519
8526
  id: k,
8520
- className: C("discussion-card discussion-form", {
8527
+ className: $("discussion-card discussion-form", {
8521
8528
  "no-styling": n.isInWrapper && n.isEditing
8522
8529
  }),
8523
8530
  "data-testid": `discussion-${t.type}-form`,
8524
8531
  children: [
8525
- (n == null ? void 0 : n.showTitle) && !n.isEditing && ["question"].includes(t.type) && /* @__PURE__ */ i.jsx("h2", { children: Ne(f.formatMessage, `${xe}title`, t.type, "action") }),
8532
+ (n == null ? void 0 : n.showTitle) && !n.isEditing && ["question"].includes(t.type) && /* @__PURE__ */ i.jsx("h2", { children: $e(f.formatMessage, `${xe}title`, t.type, "action") }),
8526
8533
  /* @__PURE__ */ i.jsx(
8527
8534
  rr,
8528
8535
  {
@@ -8531,14 +8538,14 @@ const xe = "discussion_form_", dr = ({
8531
8538
  gtmType: "profile-click"
8532
8539
  }
8533
8540
  ),
8534
- /* @__PURE__ */ i.jsx(be, { element: "label", showOnFocus: !1, htmlFor: `${k}-input`, children: Ne(f.formatMessage, `${xe}label`, t.type, "action") }),
8541
+ /* @__PURE__ */ i.jsx(be, { element: "label", showOnFocus: !1, htmlFor: `${k}-input`, children: $e(f.formatMessage, `${xe}label`, t.type, "action") }),
8535
8542
  /* @__PURE__ */ i.jsx(
8536
8543
  zi,
8537
8544
  {
8538
8545
  ref: r,
8539
8546
  id: `${k}-input`,
8540
8547
  name: t.type,
8541
- placeholder: a || Ne(
8548
+ placeholder: a || $e(
8542
8549
  f.formatMessage,
8543
8550
  `${xe}placeholder`,
8544
8551
  t.type,
@@ -8553,7 +8560,7 @@ const xe = "discussion_form_", dr = ({
8553
8560
  autoFocus: !!n.isEditing
8554
8561
  }
8555
8562
  ),
8556
- /* @__PURE__ */ i.jsx("small", { children: Ne(f.formatMessage, `${xe}explainer`, t.type, "action", {
8563
+ /* @__PURE__ */ i.jsx("small", { children: $e(f.formatMessage, `${xe}explainer`, t.type, "action", {
8557
8564
  a: (x) => /* @__PURE__ */ i.jsx(
8558
8565
  "a",
8559
8566
  {
@@ -8567,8 +8574,8 @@ const xe = "discussion_form_", dr = ({
8567
8574
  }
8568
8575
  )
8569
8576
  }) }),
8570
- /* @__PURE__ */ i.jsx(tn, { buttons: B }),
8571
- b === "submitted" && n.showSuccessMessage && /* @__PURE__ */ i.jsx(qt, { className: "success", "data-testid": "success", children: Ne(f.formatMessage, `${xe}success`, t.type, "action") }),
8577
+ /* @__PURE__ */ i.jsx(tn, { buttons: R }),
8578
+ b === "submitted" && n.showSuccessMessage && /* @__PURE__ */ i.jsx(qt, { className: "success", "data-testid": "success", children: $e(f.formatMessage, `${xe}success`, t.type, "action") }),
8572
8579
  g && /* @__PURE__ */ i.jsx(qt, { id: "error-message", className: "error", "data-testid": "error", children: c.error ? c.error : typeof g == "string" ? g.includes(" ") ? g : f.formatMessage(
8573
8580
  { id: g },
8574
8581
  {
@@ -8668,7 +8675,7 @@ const On = () => {
8668
8675
  }
8669
8676
  };
8670
8677
  return K.createElement(t, {
8671
- className: C("likes-wrapper text-medium action-button", {
8678
+ className: $("likes-wrapper text-medium action-button", {
8672
8679
  "show-spinner": g,
8673
8680
  "is-liked": m,
8674
8681
  disabled: !o
@@ -8693,7 +8700,7 @@ const On = () => {
8693
8700
  variant: "tertiary",
8694
8701
  size: "medium",
8695
8702
  icon: { icon: m ? "heart" : "heart_empty", animate: "bounce" },
8696
- className: C({ "do-animation": m && !a }),
8703
+ className: $({ "do-animation": m && !a }),
8697
8704
  screenreaderText: o ? l.formatMessage(
8698
8705
  {
8699
8706
  id: `discussion_likes_${m ? "unlike" : "like"}`
@@ -8715,7 +8722,7 @@ const On = () => {
8715
8722
  /* @__PURE__ */ i.jsx(
8716
8723
  "span",
8717
8724
  {
8718
- className: C("number-of-likes", { "no-likes": f === 0 }),
8725
+ className: $("number-of-likes", { "no-likes": f === 0 }),
8719
8726
  "data-testid": "number-of-likes",
8720
8727
  children: l.formatMessage(
8721
8728
  { id: `discussion_likes${r ? "_short" : ""}` },
@@ -8775,23 +8782,23 @@ const Me = "discussion_", Vc = 280, on = ({
8775
8782
  children: v,
8776
8783
  isTruncated: b = !1
8777
8784
  }) => {
8778
- const y = Q(), _ = $e(De), E = $e(ur), { author: k, canLike: w, createdAt: U, id: R, likes: N = 0, userLiked: B, comments: L = 0 } = e, M = _ && _.id && typeof k != "string" && k.id && k.id === _.id || !1, T = typeof w == "boolean" ? w : n ? !M : !1, x = M && (!e.createdAt || rs(e.createdAt, 10, "seconds")), S = pe(null), [I, O] = ne({
8785
+ const y = Q(), _ = Ne(De), E = Ne(ur), { author: k, canLike: w, createdAt: U, id: M, likes: I = 0, userLiked: R, comments: O = 0 } = e, S = _ && _.id && typeof k != "string" && k.id && k.id === _.id || !1, T = typeof w == "boolean" ? w : n ? !S : !1, x = S && (!e.createdAt || rs(e.createdAt, 10, "seconds")), C = pe(null), [B, F] = ne({
8779
8786
  body: e && e.body || "",
8780
8787
  isEditing: !1,
8781
8788
  didEdit: e && e.isEdited || !1
8782
- }), [D, V] = ne(!1), [ee, j] = ne(
8789
+ }), [L, V] = ne(!1), [ee, j] = ne(
8783
8790
  x ? "highlighted" : "default"
8784
8791
  /* Default */
8785
- ), [$, Z] = ne("");
8792
+ ), [N, Z] = ne("");
8786
8793
  se(() => {
8787
- const F = S.current;
8788
- if (!(!F || ee === "default"))
8789
- return document.addEventListener("discussionFormSubmitted", z), F.addEventListener("transitionend", W), () => {
8790
- document.removeEventListener("discussionFormSubmitted", z), F.removeEventListener("transitionend", W);
8794
+ const A = C.current;
8795
+ if (!(!A || ee === "default"))
8796
+ return document.addEventListener("discussionFormSubmitted", z), A.addEventListener("transitionend", W), () => {
8797
+ document.removeEventListener("discussionFormSubmitted", z), A.removeEventListener("transitionend", W);
8791
8798
  };
8792
8799
  }, []), se(() => {
8793
- O({
8794
- ...I,
8800
+ F({
8801
+ ...B,
8795
8802
  body: e && e.body || "",
8796
8803
  didEdit: e && e.isEdited || !1
8797
8804
  });
@@ -8803,27 +8810,27 @@ const Me = "discussion_", Vc = 280, on = ({
8803
8810
  /* Fading */
8804
8811
  );
8805
8812
  }, 1e3);
8806
- }, W = ({ propertyName: F }) => {
8807
- F === "background-color" && j((oe) => (oe === "default" && (document.removeEventListener("discussionFormSubmitted", z), S.current && S.current.removeEventListener("transitionend", W)), oe === "fading" ? "default" : oe));
8813
+ }, W = ({ propertyName: A }) => {
8814
+ A === "background-color" && j((oe) => (oe === "default" && (document.removeEventListener("discussionFormSubmitted", z), C.current && C.current.removeEventListener("transitionend", W)), oe === "fading" ? "default" : oe));
8808
8815
  };
8809
8816
  if (r || !e || e.type === "answer" && (!e.slugs || !e.slugs.question))
8810
8817
  return /* @__PURE__ */ i.jsx(Se, { className: "discussion-card discussion-post" });
8811
- const X = b ? Ke(I.body, Vc) : I.body, Y = async (F) => {
8812
- F || (F = ""), Z("");
8818
+ const X = b ? Ke(B.body, Vc) : B.body, Y = async (A) => {
8819
+ A || (A = ""), Z("");
8813
8820
  try {
8814
- if (!Zi(F, I.body)) {
8815
- const oe = e.type === "question" ? { title: F } : { body: F };
8821
+ if (!Zi(A, B.body)) {
8822
+ const oe = e.type === "question" ? { title: A } : { body: A };
8816
8823
  await u(aa(e.slugs), oe);
8817
8824
  }
8818
- O({ body: F, isEditing: !1, didEdit: !0 });
8825
+ F({ body: A, isEditing: !1, didEdit: !0 });
8819
8826
  } catch {
8820
8827
  Z(`${Me}form_error`);
8821
8828
  }
8822
8829
  }, H = () => {
8823
8830
  E && E.updateConversation && E.updateConversation({ showForm: !0 }), setTimeout(() => {
8824
8831
  var Pe, Ce, qe;
8825
- const oe = `reply-form-${(e.type === "answer" ? e.slug : ((Pe = e.slugs) == null ? void 0 : Pe.reply) || ((Ce = e.slugs) == null ? void 0 : Ce.answer) || ((qe = e.slugs) == null ? void 0 : qe.question) || "").toLowerCase().slice(-15)}`, A = document.getElementById(oe), ve = document.getElementById(`${oe}-input`);
8826
- ve && ve.focus(), A && A.scrollIntoView({ behavior: "smooth" });
8832
+ const oe = `reply-form-${(e.type === "answer" ? e.slug : ((Pe = e.slugs) == null ? void 0 : Pe.reply) || ((Ce = e.slugs) == null ? void 0 : Ce.answer) || ((qe = e.slugs) == null ? void 0 : qe.question) || "").toLowerCase().slice(-15)}`, D = document.getElementById(oe), ve = document.getElementById(`${oe}-input`);
8833
+ ve && ve.focus(), D && D.scrollIntoView({ behavior: "smooth" });
8827
8834
  }, 0);
8828
8835
  }, J = () => {
8829
8836
  V(!1);
@@ -8835,8 +8842,8 @@ const Me = "discussion_", Vc = 280, on = ({
8835
8842
  }, re = [
8836
8843
  {
8837
8844
  text: y.formatMessage({ id: `${Me}moreMenu_report` }),
8838
- onClick: (F) => {
8839
- F.stopPropagation();
8845
+ onClick: (A) => {
8846
+ A.stopPropagation();
8840
8847
  },
8841
8848
  href: `mailto:community@apolitical.co?subject=${encodeURI(
8842
8849
  y.formatMessage({ id: `${Me}report_subject` })
@@ -8853,10 +8860,10 @@ const Me = "discussion_", Vc = 280, on = ({
8853
8860
  icon: "flag"
8854
8861
  }
8855
8862
  ];
8856
- return n && M && re.push(
8863
+ return n && S && re.push(
8857
8864
  {
8858
8865
  text: y.formatMessage({ id: `${Me}moreMenu_edit` }),
8859
- onClick: () => O({ ...I, isEditing: !0 }),
8866
+ onClick: () => F({ ...B, isEditing: !0 }),
8860
8867
  icon: "pencil-paper",
8861
8868
  className: "gtm-trackable",
8862
8869
  "data-gtm-event-context": g,
@@ -8864,45 +8871,45 @@ const Me = "discussion_", Vc = 280, on = ({
8864
8871
  },
8865
8872
  {
8866
8873
  text: y.formatMessage({ id: `${Me}moreMenu_delete` }),
8867
- onClick: (F) => {
8868
- F.preventDefault(), F.stopPropagation(), V(!0);
8874
+ onClick: (A) => {
8875
+ A.preventDefault(), A.stopPropagation(), V(!0);
8869
8876
  },
8870
8877
  icon: "trash",
8871
8878
  className: "gtm-trackable",
8872
8879
  "data-gtm-event-context": g,
8873
8880
  "data-gtm-event-type": `delete-${e.type}-click`,
8874
- ...Lo(`delete-${e.slug}-modal`, D)
8881
+ ...Lo(`delete-${e.slug}-modal`, L)
8875
8882
  }
8876
8883
  ), K.createElement(t, {
8877
- className: C("discussion-post", p, {
8884
+ className: $("discussion-post", p, {
8878
8885
  [ee]: !p || !p.includes("highlighted-text-box")
8879
8886
  }),
8880
- ref: S,
8887
+ ref: C,
8881
8888
  "data-testid": `discussion-${e.type}-thread`,
8882
8889
  children: /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
8883
8890
  /* @__PURE__ */ i.jsxs(
8884
8891
  "div",
8885
8892
  {
8886
- id: R || e.slug,
8887
- className: C("discussion-card", e.type, {
8888
- editing: I.isEditing,
8889
- "has-link": m.post && !I.isEditing
8893
+ id: M || e.slug,
8894
+ className: $("discussion-card", e.type, {
8895
+ editing: B.isEditing,
8896
+ "has-link": m.post && !B.isEditing
8890
8897
  }),
8891
- onClick: (F) => {
8892
- !m.post || I.isEditing || (F.preventDefault(), F.stopPropagation(), window.location.href = m.post);
8898
+ onClick: (A) => {
8899
+ !m.post || B.isEditing || (A.preventDefault(), A.stopPropagation(), window.location.href = m.post);
8893
8900
  },
8894
8901
  children: [
8895
- !I.isEditing && /* @__PURE__ */ i.jsx(
8902
+ !B.isEditing && /* @__PURE__ */ i.jsx(
8896
8903
  rr,
8897
8904
  {
8898
8905
  member: k,
8899
- additionalContent: { createdAt: U, didEdit: I.didEdit },
8906
+ additionalContent: { createdAt: U, didEdit: B.didEdit },
8900
8907
  className: typeof k != "string" && k.id === a ? "highlighted" : "",
8901
8908
  gtmContext: g,
8902
8909
  gtmType: "profile-click"
8903
8910
  }
8904
8911
  ),
8905
- I.isEditing ? /* @__PURE__ */ i.jsx(
8912
+ B.isEditing ? /* @__PURE__ */ i.jsx(
8906
8913
  dr,
8907
8914
  {
8908
8915
  content: { type: e.type, slugs: e.slugs },
@@ -8910,12 +8917,12 @@ const Me = "discussion_", Vc = 280, on = ({
8910
8917
  meta: {
8911
8918
  isLoading: r,
8912
8919
  isInWrapper: !0,
8913
- isEditing: { text: I.body }
8920
+ isEditing: { text: B.body }
8914
8921
  },
8915
8922
  maxLength: e.type === "question" ? 250 : 5e4,
8916
8923
  forceShow: {
8917
- error: $ !== "" && $ !== "delete-error" ? y.formatMessage(
8918
- { id: $ },
8924
+ error: N !== "" && N !== "delete-error" ? y.formatMessage(
8925
+ { id: N },
8919
8926
  {
8920
8927
  action: y.formatMessage({
8921
8928
  id: `discussion_action_${e.type}`
@@ -8927,7 +8934,7 @@ const Me = "discussion_", Vc = 280, on = ({
8927
8934
  create: o,
8928
8935
  handleSaveEdit: Y,
8929
8936
  handleCancel: () => {
8930
- Z(""), O({ ...I, isEditing: !1 });
8937
+ Z(""), F({ ...B, isEditing: !1 });
8931
8938
  }
8932
8939
  },
8933
8940
  gtmContext: `${g}Form`
@@ -8953,19 +8960,19 @@ const Me = "discussion_", Vc = 280, on = ({
8953
8960
  children: X
8954
8961
  }
8955
8962
  ),
8956
- !I.isEditing && /* @__PURE__ */ i.jsxs(
8963
+ !B.isEditing && /* @__PURE__ */ i.jsxs(
8957
8964
  "ul",
8958
8965
  {
8959
- className: C("actions text-medium", e.type),
8966
+ className: $("actions text-medium", e.type),
8960
8967
  "data-testid": `${e.type}-actions`,
8961
8968
  children: [
8962
8969
  /* @__PURE__ */ i.jsx(
8963
8970
  Hc,
8964
8971
  {
8965
8972
  element: "li",
8966
- likes: N,
8973
+ likes: I,
8967
8974
  isShort: !1,
8968
- userLiked: B,
8975
+ userLiked: R,
8969
8976
  content: { type: e.type, slugs: e.slugs },
8970
8977
  canLike: T,
8971
8978
  peopleWhoLiked: e.peopleWhoLiked,
@@ -8979,8 +8986,8 @@ const Me = "discussion_", Vc = 280, on = ({
8979
8986
  "li",
8980
8987
  {
8981
8988
  className: "action-button",
8982
- onClick: (F) => {
8983
- F.preventDefault(), F.stopPropagation(), m.comments && (window.location.href = m.comments), typeof d == "function" && d();
8989
+ onClick: (A) => {
8990
+ A.preventDefault(), A.stopPropagation(), m.comments && (window.location.href = m.comments), typeof d == "function" && d();
8984
8991
  },
8985
8992
  children: [
8986
8993
  /* @__PURE__ */ i.jsx(
@@ -8997,13 +9004,13 @@ const Me = "discussion_", Vc = 280, on = ({
8997
9004
  "data-gtm-event-type": `answer-${e.type}-click`,
8998
9005
  screenreaderText: y.formatMessage(
8999
9006
  { id: `${Me}comments_screenReader` },
9000
- { count: L }
9007
+ { count: O }
9001
9008
  )
9002
9009
  }
9003
9010
  ),
9004
9011
  /* @__PURE__ */ i.jsx("span", { children: y.formatMessage(
9005
9012
  { id: `${Me}comments` },
9006
- { count: L }
9013
+ { count: O }
9007
9014
  ) })
9008
9015
  ]
9009
9016
  }
@@ -9019,7 +9026,7 @@ const Me = "discussion_", Vc = 280, on = ({
9019
9026
  }
9020
9027
  ) }),
9021
9028
  /* @__PURE__ */ i.jsx(
9022
- Nc,
9029
+ $c,
9023
9030
  {
9024
9031
  element: "li",
9025
9032
  id: `more-${e.slug}`,
@@ -9037,11 +9044,11 @@ const Me = "discussion_", Vc = 280, on = ({
9037
9044
  nn,
9038
9045
  {
9039
9046
  id: `delete-${e.slug}-modal`,
9040
- isOpen: D,
9047
+ isOpen: L,
9041
9048
  functions: { onOpen: () => {
9042
9049
  }, onClose: () => V(!1) },
9043
9050
  forceShow: {
9044
- error: $ === "delete-error" ? y.formatMessage(
9051
+ error: N === "delete-error" ? y.formatMessage(
9045
9052
  { id: "discussion_delete_error" },
9046
9053
  {
9047
9054
  action: y.formatMessage({
@@ -9073,7 +9080,7 @@ const Me = "discussion_", Vc = 280, on = ({
9073
9080
  {
9074
9081
  id: "discussion_delete_text",
9075
9082
  values: {
9076
- p: (F) => /* @__PURE__ */ i.jsx("p", { children: F }),
9083
+ p: (A) => /* @__PURE__ */ i.jsx("p", { children: A }),
9077
9084
  action: y.formatMessage({
9078
9085
  id: `discussion_action_${e.type}`
9079
9086
  })
@@ -9092,7 +9099,7 @@ const An = "discussion_responses_", Yc = ({ type: t = "answer", responses: e = 0
9092
9099
  { id: `${An}title` },
9093
9100
  { action: n.formatMessage({ id: `${An}${t}` }), count: e }
9094
9101
  ) }),
9095
- e === 0 && /* @__PURE__ */ i.jsx("p", { children: Ne(n.formatMessage, `${An}empty`, t, t) })
9102
+ e === 0 && /* @__PURE__ */ i.jsx("p", { children: $e(n.formatMessage, `${An}empty`, t, t) })
9096
9103
  ] });
9097
9104
  };
9098
9105
  const Kc = ({
@@ -9105,7 +9112,7 @@ const Kc = ({
9105
9112
  form: r,
9106
9113
  children: a
9107
9114
  }) => {
9108
- const s = Q(), o = $e(ur), c = At(a, {
9115
+ const s = Q(), o = Ne(ur), c = At(a, {
9109
9116
  element: "li"
9110
9117
  });
9111
9118
  return /* @__PURE__ */ i.jsxs("div", { className: "thread-wrapper", children: [
@@ -9678,19 +9685,19 @@ const Ed = ({
9678
9685
  }
9679
9686
  ),
9680
9687
  c == null ? void 0 : c.map((E, k) => {
9681
- var I, O, D, V, ee, j, $, Z;
9688
+ var B, F, L, V, ee, j, N, Z;
9682
9689
  const {
9683
9690
  id: w,
9684
9691
  own_reactions: U,
9685
- latest_reactions: R,
9686
- reaction_counts: N
9687
- } = E, B = (((I = R == null ? void 0 : R.like) == null ? void 0 : I.length) || 0) > 0, L = (((O = U == null ? void 0 : U.like) == null ? void 0 : O.length) || 0) > 0, M = L ? U == null ? void 0 : U.like[0].id : "", T = B ? (D = R == null ? void 0 : R.like) == null ? void 0 : D.map((z) => {
9692
+ latest_reactions: M,
9693
+ reaction_counts: I
9694
+ } = E, R = (((B = M == null ? void 0 : M.like) == null ? void 0 : B.length) || 0) > 0, O = (((F = U == null ? void 0 : U.like) == null ? void 0 : F.length) || 0) > 0, S = O ? U == null ? void 0 : U.like[0].id : "", T = R ? (L = M == null ? void 0 : M.like) == null ? void 0 : L.map((z) => {
9688
9695
  var W, X, Y;
9689
9696
  return {
9690
9697
  id: (W = z == null ? void 0 : z.user) == null ? void 0 : W.id,
9691
9698
  name: (Y = (X = z == null ? void 0 : z.user) == null ? void 0 : X.data) == null ? void 0 : Y.name
9692
9699
  };
9693
- }) : !1, x = E == null ? void 0 : E.actor, S = (x == null ? void 0 : x.id) === (y == null ? void 0 : y.id);
9700
+ }) : !1, x = E == null ? void 0 : E.actor, C = (x == null ? void 0 : x.id) === (y == null ? void 0 : y.id);
9694
9701
  return /* @__PURE__ */ i.jsxs(gt, { children: [
9695
9702
  /* @__PURE__ */ i.jsx(
9696
9703
  on,
@@ -9698,7 +9705,7 @@ const Ed = ({
9698
9705
  content: {
9699
9706
  type: "post",
9700
9707
  body: E == null ? void 0 : E.content,
9701
- canLike: sn(n, S),
9708
+ canLike: sn(n, C),
9702
9709
  createdAt: (E == null ? void 0 : E.time) || "",
9703
9710
  slugs: {
9704
9711
  question: `${t}/${e}`,
@@ -9710,14 +9717,14 @@ const Ed = ({
9710
9717
  name: (V = x == null ? void 0 : x.data) == null ? void 0 : V.name,
9711
9718
  organization: (ee = x == null ? void 0 : x.data) == null ? void 0 : ee.organization,
9712
9719
  jobTitle: (j = x == null ? void 0 : x.data) == null ? void 0 : j.jobTitle,
9713
- location: ($ = x == null ? void 0 : x.data) == null ? void 0 : $.location,
9720
+ location: (N = x == null ? void 0 : x.data) == null ? void 0 : N.location,
9714
9721
  image: {
9715
9722
  thumbnail: ((Z = x == null ? void 0 : x.data) == null ? void 0 : Z.thumbnail) || void 0
9716
9723
  }
9717
9724
  },
9718
- userLiked: L,
9719
- likes: (N == null ? void 0 : N.like) || 0,
9720
- comments: (N == null ? void 0 : N.reply) || 0,
9725
+ userLiked: O,
9726
+ likes: (I == null ? void 0 : I.like) || 0,
9727
+ comments: (I == null ? void 0 : I.reply) || 0,
9721
9728
  peopleWhoLiked: T
9722
9729
  },
9723
9730
  links: {
@@ -9733,7 +9740,7 @@ const Ed = ({
9733
9740
  },
9734
9741
  likes: {
9735
9742
  createLike: () => v({ activityId: w }),
9736
- deleteLike: () => b({ activityId: w, reactionId: M })
9743
+ deleteLike: () => b({ activityId: w, reactionId: S })
9737
9744
  },
9738
9745
  comments: {
9739
9746
  openComments: () => null
@@ -10549,24 +10556,24 @@ const El = ({
10549
10556
  meta: { isEditing: !1, showSuccessMessage: !1 }
10550
10557
  },
10551
10558
  children: o && o.length > 0 ? o == null ? void 0 : o.map((b) => {
10552
- var I, O, D, V, ee, j, $, Z, z, W, X, Y;
10559
+ var B, F, L, V, ee, j, N, Z, z, W, X, Y;
10553
10560
  const {
10554
10561
  id: y,
10555
10562
  own_children: _,
10556
10563
  latest_children: E,
10557
10564
  children_counts: k
10558
- } = b, U = (((I = _ == null ? void 0 : _.like) == null ? void 0 : I.length) || 0) > 0 ? (O = _ == null ? void 0 : _.like) == null ? void 0 : O.find((H) => {
10565
+ } = b, U = (((B = _ == null ? void 0 : _.like) == null ? void 0 : B.length) || 0) > 0 ? (F = _ == null ? void 0 : _.like) == null ? void 0 : F.find((H) => {
10559
10566
  var J;
10560
10567
  return ((J = H == null ? void 0 : H.user) == null ? void 0 : J.id) === (v == null ? void 0 : v.id);
10561
- }) : !1, R = U ? U == null ? void 0 : U.id : "", N = !!U, L = (((D = E == null ? void 0 : E.like) == null ? void 0 : D.length) || 0) > 0 ? (V = E == null ? void 0 : E.like) == null ? void 0 : V.map((H) => {
10562
- var J, re, F;
10568
+ }) : !1, M = U ? U == null ? void 0 : U.id : "", I = !!U, O = (((L = E == null ? void 0 : E.like) == null ? void 0 : L.length) || 0) > 0 ? (V = E == null ? void 0 : E.like) == null ? void 0 : V.map((H) => {
10569
+ var J, re, A;
10563
10570
  return {
10564
10571
  id: (J = H == null ? void 0 : H.user) == null ? void 0 : J.id,
10565
- name: (F = (re = H == null ? void 0 : H.user) == null ? void 0 : re.data) == null ? void 0 : F.name
10572
+ name: (A = (re = H == null ? void 0 : H.user) == null ? void 0 : re.data) == null ? void 0 : A.name
10566
10573
  };
10567
- }) : !1, M = b == null ? void 0 : b.user, T = (M == null ? void 0 : M.id) === (v == null ? void 0 : v.id), x = sn(a, T), S = typeof b.data.content == "string" ? (ee = b == null ? void 0 : b.data) == null ? void 0 : ee.content : (
10574
+ }) : !1, S = b == null ? void 0 : b.user, T = (S == null ? void 0 : S.id) === (v == null ? void 0 : v.id), x = sn(a, T), C = typeof b.data.content == "string" ? (ee = b == null ? void 0 : b.data) == null ? void 0 : ee.content : (
10568
10575
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
10569
- (($ = (j = b == null ? void 0 : b.data) == null ? void 0 : j.content) == null ? void 0 : $.text) || ""
10576
+ ((N = (j = b == null ? void 0 : b.data) == null ? void 0 : j.content) == null ? void 0 : N.text) || ""
10570
10577
  );
10571
10578
  return /* @__PURE__ */ i.jsx(
10572
10579
  on,
@@ -10574,7 +10581,7 @@ const El = ({
10574
10581
  content: {
10575
10582
  id: y,
10576
10583
  type: "reply",
10577
- body: S,
10584
+ body: C,
10578
10585
  canLike: x,
10579
10586
  createdAt: b == null ? void 0 : b.created_at,
10580
10587
  slugs: {
@@ -10586,18 +10593,18 @@ const El = ({
10586
10593
  },
10587
10594
  slug: "",
10588
10595
  author: {
10589
- id: M == null ? void 0 : M.id,
10590
- name: (Z = M.data) == null ? void 0 : Z.name,
10591
- organization: (z = M.data) == null ? void 0 : z.organization,
10592
- jobTitle: (W = M.data) == null ? void 0 : W.jobTitle,
10593
- location: (X = M.data) == null ? void 0 : X.location,
10596
+ id: S == null ? void 0 : S.id,
10597
+ name: (Z = S.data) == null ? void 0 : Z.name,
10598
+ organization: (z = S.data) == null ? void 0 : z.organization,
10599
+ jobTitle: (W = S.data) == null ? void 0 : W.jobTitle,
10600
+ location: (X = S.data) == null ? void 0 : X.location,
10594
10601
  image: {
10595
- thumbnail: ((Y = M.data) == null ? void 0 : Y.thumbnail) || void 0
10602
+ thumbnail: ((Y = S.data) == null ? void 0 : Y.thumbnail) || void 0
10596
10603
  }
10597
10604
  },
10598
- userLiked: N,
10605
+ userLiked: I,
10599
10606
  likes: (k == null ? void 0 : k.like) || 0,
10600
- peopleWhoLiked: L
10607
+ peopleWhoLiked: O
10601
10608
  },
10602
10609
  functions: {
10603
10610
  content: {
@@ -10608,7 +10615,7 @@ const El = ({
10608
10615
  },
10609
10616
  likes: {
10610
10617
  createLike: () => m({ replyId: y }),
10611
- deleteLike: () => g({ replyId: y, reactionId: R })
10618
+ deleteLike: () => g({ replyId: y, reactionId: M })
10612
10619
  },
10613
10620
  comments: {}
10614
10621
  }
@@ -10661,17 +10668,17 @@ const El = ({
10661
10668
  }
10662
10669
  ),
10663
10670
  u == null ? void 0 : u.map((E) => {
10664
- var V, ee, j, $, Z, z, W, X, Y, H, J, re;
10665
- const { id: k, own_children: w, latest_children: U, children_counts: R } = E, B = (((V = w == null ? void 0 : w.like) == null ? void 0 : V.length) || 0) > 0 ? (ee = w == null ? void 0 : w.like) == null ? void 0 : ee.find((F) => {
10671
+ var V, ee, j, N, Z, z, W, X, Y, H, J, re;
10672
+ const { id: k, own_children: w, latest_children: U, children_counts: M } = E, R = (((V = w == null ? void 0 : w.like) == null ? void 0 : V.length) || 0) > 0 ? (ee = w == null ? void 0 : w.like) == null ? void 0 : ee.find((A) => {
10666
10673
  var oe;
10667
- return ((oe = F == null ? void 0 : F.user) == null ? void 0 : oe.id) === (_ == null ? void 0 : _.id);
10668
- }) : !1, L = B ? B == null ? void 0 : B.id : "", M = !!B, x = (((j = U == null ? void 0 : U.like) == null ? void 0 : j.length) || 0) > 0 ? ($ = U == null ? void 0 : U.like) == null ? void 0 : $.map((F) => {
10669
- var oe, A, ve;
10674
+ return ((oe = A == null ? void 0 : A.user) == null ? void 0 : oe.id) === (_ == null ? void 0 : _.id);
10675
+ }) : !1, O = R ? R == null ? void 0 : R.id : "", S = !!R, x = (((j = U == null ? void 0 : U.like) == null ? void 0 : j.length) || 0) > 0 ? (N = U == null ? void 0 : U.like) == null ? void 0 : N.map((A) => {
10676
+ var oe, D, ve;
10670
10677
  return {
10671
- id: (oe = F == null ? void 0 : F.user) == null ? void 0 : oe.id,
10672
- name: (ve = (A = F == null ? void 0 : F.user) == null ? void 0 : A.data) == null ? void 0 : ve.name
10678
+ id: (oe = A == null ? void 0 : A.user) == null ? void 0 : oe.id,
10679
+ name: (ve = (D = A == null ? void 0 : A.user) == null ? void 0 : D.data) == null ? void 0 : ve.name
10673
10680
  };
10674
- }) : !1, S = E == null ? void 0 : E.user, I = (S == null ? void 0 : S.id) === (_ == null ? void 0 : _.id), O = sn(r, I), D = typeof E.data.content == "string" ? (Z = E == null ? void 0 : E.data) == null ? void 0 : Z.content : (
10681
+ }) : !1, C = E == null ? void 0 : E.user, B = (C == null ? void 0 : C.id) === (_ == null ? void 0 : _.id), F = sn(r, B), L = typeof E.data.content == "string" ? (Z = E == null ? void 0 : E.data) == null ? void 0 : Z.content : (
10675
10682
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
10676
10683
  ((W = (z = E == null ? void 0 : E.data) == null ? void 0 : z.content) == null ? void 0 : W.text) || ""
10677
10684
  );
@@ -10681,8 +10688,8 @@ const El = ({
10681
10688
  content: {
10682
10689
  id: k,
10683
10690
  type: "reply",
10684
- body: D,
10685
- canLike: O,
10691
+ body: L,
10692
+ canLike: F,
10686
10693
  createdAt: E == null ? void 0 : E.created_at,
10687
10694
  slugs: {
10688
10695
  question: `${t}/${e}`,
@@ -10691,17 +10698,17 @@ const El = ({
10691
10698
  },
10692
10699
  slug: k,
10693
10700
  author: {
10694
- id: S == null ? void 0 : S.id,
10695
- name: (X = S.data) == null ? void 0 : X.name,
10696
- organization: (Y = S.data) == null ? void 0 : Y.organization,
10697
- jobTitle: (H = S.data) == null ? void 0 : H.jobTitle,
10698
- location: (J = S.data) == null ? void 0 : J.location,
10701
+ id: C == null ? void 0 : C.id,
10702
+ name: (X = C.data) == null ? void 0 : X.name,
10703
+ organization: (Y = C.data) == null ? void 0 : Y.organization,
10704
+ jobTitle: (H = C.data) == null ? void 0 : H.jobTitle,
10705
+ location: (J = C.data) == null ? void 0 : J.location,
10699
10706
  image: {
10700
- thumbnail: ((re = S.data) == null ? void 0 : re.thumbnail) || void 0
10707
+ thumbnail: ((re = C.data) == null ? void 0 : re.thumbnail) || void 0
10701
10708
  }
10702
10709
  },
10703
- userLiked: M,
10704
- likes: (R == null ? void 0 : R.like) || 0,
10710
+ userLiked: S,
10711
+ likes: (M == null ? void 0 : M.like) || 0,
10705
10712
  peopleWhoLiked: x
10706
10713
  },
10707
10714
  functions: {
@@ -10709,11 +10716,11 @@ const El = ({
10709
10716
  createContent: () => null,
10710
10717
  deleteContent: () => b({ replyId: k }),
10711
10718
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
10712
- updateContent: (F, { body: oe }) => g({ replyId: k, content: oe })
10719
+ updateContent: (A, { body: oe }) => g({ replyId: k, content: oe })
10713
10720
  },
10714
10721
  likes: {
10715
10722
  createLike: () => v({ replyId: k }),
10716
- deleteLike: () => y({ replyId: k, reactionId: L })
10723
+ deleteLike: () => y({ replyId: k, reactionId: O })
10717
10724
  },
10718
10725
  comments: {}
10719
10726
  },
@@ -10762,7 +10769,7 @@ function Cl({
10762
10769
  });
10763
10770
  return r;
10764
10771
  }
10765
- function Nl({ queryFn: t, queryKey: e }) {
10772
+ function $l({ queryFn: t, queryKey: e }) {
10766
10773
  const {
10767
10774
  data: n,
10768
10775
  error: r,
@@ -10779,7 +10786,7 @@ function Nl({ queryFn: t, queryKey: e }) {
10779
10786
  isFetching: s
10780
10787
  };
10781
10788
  }
10782
- function $l({
10789
+ function Nl({
10783
10790
  queryFns: {
10784
10791
  read: t,
10785
10792
  edit: e,
@@ -10795,7 +10802,7 @@ function $l({
10795
10802
  },
10796
10803
  user: o,
10797
10804
  ...c
10798
- }, l = Cl({ ...u, mutationFn: e }), f = Pl({ ...u, mutationFn: n }), d = Rl({ ...u, mutationFn: r }), { activity: m, ...p } = Nl({ queryKey: a, queryFn: t });
10805
+ }, l = Cl({ ...u, mutationFn: e }), f = Pl({ ...u, mutationFn: n }), d = Rl({ ...u, mutationFn: r }), { activity: m, ...p } = $l({ queryKey: a, queryFn: t });
10799
10806
  return {
10800
10807
  activity: m,
10801
10808
  mutations: {
@@ -10853,13 +10860,13 @@ const Cd = ({
10853
10860
  leave: u
10854
10861
  }
10855
10862
  }) => {
10856
- var B, L, M, T, x, S, I, O, D, V;
10857
- const l = Q(), f = $e(De), {
10863
+ var R, O, S, T, x, C, B, F, L, V;
10864
+ const l = Q(), f = Ne(De), {
10858
10865
  activity: d,
10859
10866
  error: m,
10860
10867
  isLoading: p,
10861
10868
  mutations: { edit: g, like: v, unlike: b }
10862
- } = $l({
10869
+ } = Nl({
10863
10870
  queryFns: s,
10864
10871
  queryKey: [t, e, n]
10865
10872
  });
@@ -10873,13 +10880,13 @@ const Cd = ({
10873
10880
  text: l.formatMessage({ id: "activitySection_notFoundError" })
10874
10881
  }
10875
10882
  );
10876
- const { own_reactions: y, latest_reactions: _ } = d, E = (((B = _ == null ? void 0 : _.like) == null ? void 0 : B.length) || 0) > 0, k = (((L = y == null ? void 0 : y.like) == null ? void 0 : L.length) || 0) > 0, w = k ? y == null ? void 0 : y.like[0].id : "", U = E ? (M = _ == null ? void 0 : _.like) == null ? void 0 : M.map((ee) => {
10877
- var j, $, Z;
10883
+ const { own_reactions: y, latest_reactions: _ } = d, E = (((R = _ == null ? void 0 : _.like) == null ? void 0 : R.length) || 0) > 0, k = (((O = y == null ? void 0 : y.like) == null ? void 0 : O.length) || 0) > 0, w = k ? y == null ? void 0 : y.like[0].id : "", U = E ? (S = _ == null ? void 0 : _.like) == null ? void 0 : S.map((ee) => {
10884
+ var j, N, Z;
10878
10885
  return {
10879
10886
  id: (j = ee == null ? void 0 : ee.user) == null ? void 0 : j.id,
10880
- name: (Z = ($ = ee == null ? void 0 : ee.user) == null ? void 0 : $.data) == null ? void 0 : Z.name
10887
+ name: (Z = (N = ee == null ? void 0 : ee.user) == null ? void 0 : N.data) == null ? void 0 : Z.name
10881
10888
  };
10882
- }) : !1, R = d == null ? void 0 : d.actor, N = (R == null ? void 0 : R.id) === (f == null ? void 0 : f.id);
10889
+ }) : !1, M = d == null ? void 0 : d.actor, I = (M == null ? void 0 : M.id) === (f == null ? void 0 : f.id);
10883
10890
  return /* @__PURE__ */ i.jsxs("section", { className: "activity-section", children: [
10884
10891
  /* @__PURE__ */ i.jsx(
10885
10892
  on,
@@ -10889,7 +10896,7 @@ const Cd = ({
10889
10896
  id: n,
10890
10897
  type: "post",
10891
10898
  body: d == null ? void 0 : d.content,
10892
- canLike: sn(r, N),
10899
+ canLike: sn(r, I),
10893
10900
  createdAt: (d == null ? void 0 : d.time) || "",
10894
10901
  slugs: {
10895
10902
  question: `${t}/${e}`,
@@ -10897,21 +10904,21 @@ const Cd = ({
10897
10904
  },
10898
10905
  slug: n,
10899
10906
  author: {
10900
- id: R.id,
10901
- name: (T = R.data) == null ? void 0 : T.name,
10902
- organization: (x = R.data) == null ? void 0 : x.organization,
10903
- jobTitle: (S = R.data) == null ? void 0 : S.jobTitle,
10904
- location: (I = R.data) == null ? void 0 : I.location,
10907
+ id: M.id,
10908
+ name: (T = M.data) == null ? void 0 : T.name,
10909
+ organization: (x = M.data) == null ? void 0 : x.organization,
10910
+ jobTitle: (C = M.data) == null ? void 0 : C.jobTitle,
10911
+ location: (B = M.data) == null ? void 0 : B.location,
10905
10912
  image: {
10906
- thumbnail: ((O = R.data) == null ? void 0 : O.thumbnail) || void 0
10913
+ thumbnail: ((F = M.data) == null ? void 0 : F.thumbnail) || void 0
10907
10914
  }
10908
10915
  },
10909
10916
  userLiked: k,
10910
- likes: ((D = d == null ? void 0 : d.reaction_counts) == null ? void 0 : D.like) || 0,
10917
+ likes: ((L = d == null ? void 0 : d.reaction_counts) == null ? void 0 : L.like) || 0,
10911
10918
  comments: ((V = d == null ? void 0 : d.reaction_counts) == null ? void 0 : V.reply) || 0,
10912
10919
  peopleWhoLiked: U
10913
10920
  },
10914
- originalAuthorId: R == null ? void 0 : R.id,
10921
+ originalAuthorId: M == null ? void 0 : M.id,
10915
10922
  forceHide: { comments: !0 },
10916
10923
  functions: {
10917
10924
  content: {
@@ -10947,7 +10954,7 @@ const Cd = ({
10947
10954
  }
10948
10955
  )
10949
10956
  ] });
10950
- }, Nd = ({
10957
+ }, $d = ({
10951
10958
  id: t,
10952
10959
  data: { jobTitle: e, name: n, organization: r, thumbnail: a }
10953
10960
  }) => ({
@@ -11000,7 +11007,7 @@ const Cd = ({
11000
11007
  contributors: ["community"]
11001
11008
  }
11002
11009
  ];
11003
- const Ot = "notFoundError_", $d = () => {
11010
+ const Ot = "notFoundError_", Nd = () => {
11004
11011
  const t = Q(), e = [];
11005
11012
  return ua.forEach((n, r) => {
11006
11013
  n.title = t.formatMessage({ id: `${Ot}post_${r + 1}` }), e.push("solutionArticle");
@@ -11097,10 +11104,10 @@ export {
11097
11104
  rr as Member,
11098
11105
  Td as MembersList,
11099
11106
  za as Modal,
11100
- Nc as MoreMenu,
11107
+ $c as MoreMenu,
11101
11108
  Yl as NUMBER_OF_USERS,
11102
11109
  Rc as NavigationMenu,
11103
- $d as NotFoundError,
11110
+ Nd as NotFoundError,
11104
11111
  nn as Overlay,
11105
11112
  Os as PageHeading,
11106
11113
  Bc as PageLayout,
@@ -11128,9 +11135,9 @@ export {
11128
11135
  ks as UserProvider,
11129
11136
  be as VisuallyHidden,
11130
11137
  Lo as addAriaProps,
11131
- $a as getMember,
11138
+ Na as getMember,
11132
11139
  Kt as headerData,
11133
- Nd as mapGetStreamData,
11140
+ $d as mapGetStreamData,
11134
11141
  ds as pageReady,
11135
11142
  Kl as passwordValidator,
11136
11143
  Sd as repliesFeedMock,