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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +11 -11
  2. package/index.mjs +548 -549
  3. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1,22 +1,22 @@
1
- import N, { memo as Ue, useState as O, useEffect as J, useRef as de, useMemo as ct, Children as Ot, createContext as zt, useContext as ye, Fragment as Bt, useCallback as Ne, useReducer as rs, Suspense as os } from "react";
1
+ import N, { memo as Ue, useState as O, useEffect as G, useRef as de, useMemo as lt, Children as Bt, createContext as Vt, useContext as ye, Fragment as It, useCallback as Ae, useReducer as rs, Suspense as os } from "react";
2
2
  import as from "lodash.clonedeep";
3
3
  import is from "lodash.set";
4
4
  import { useIntl as R, IntlProvider as cs, createIntl as ls, FormattedMessage as Ce } from "react-intl";
5
- import lt from "truncate";
6
- import dt from "markdown-to-jsx";
7
- import { QueryClient as ds, QueryClientProvider as us, useQueryClient as ut, useQuery as xn, useMutation as ie } from "@tanstack/react-query";
5
+ import dt from "truncate";
6
+ import ut from "markdown-to-jsx";
7
+ import { QueryClient as ds, QueryClientProvider as us, useQueryClient as mt, useQuery as bn, useMutation as ie } from "@tanstack/react-query";
8
8
  import { ReactQueryDevtools as ms } from "@tanstack/react-query-devtools";
9
- import st from "posthog-js";
9
+ import rt from "posthog-js";
10
10
  import { useCookies as fs, CookiesProvider as hs } from "react-cookie";
11
11
  import { ReactMultiEmail as ps } from "react-multi-email";
12
- import bn from "lodash.get";
12
+ import wn from "lodash.get";
13
13
  import { ErrorBoundary as gs } from "react-error-boundary";
14
14
  import _s from "react-textarea-autosize";
15
15
  import xs from "lodash.isequal";
16
16
  function bs(e) {
17
17
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
18
18
  }
19
- var wn = { exports: {} };
19
+ var vn = { exports: {} };
20
20
  /*!
21
21
  Copyright (c) 2018 Jed Watson.
22
22
  Licensed under the MIT License (MIT), see
@@ -51,10 +51,10 @@ var wn = { exports: {} };
51
51
  }
52
52
  e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
53
53
  })();
54
- })(wn);
55
- var ws = wn.exports;
56
- const S = /* @__PURE__ */ bs(ws), vs = ({ element: e = "span", showOnFocus: t = !0, children: n, ...r }) => N.createElement(e, { ...r, className: S("hidden", { "show-on-focus": t }), children: n }), _e = Ue(vs), ks = ({ element: e = "span", children: t = null, ...n }) => N.createElement(e, { ...n, "aria-hidden": !0 }, t), vn = Ue(ks);
57
- var It = { exports: {} }, Ve = {};
54
+ })(vn);
55
+ var ws = vn.exports;
56
+ const S = /* @__PURE__ */ bs(ws), vs = ({ element: e = "span", showOnFocus: t = !0, children: n, ...r }) => N.createElement(e, { ...r, className: S("hidden", { "show-on-focus": t }), children: n }), _e = Ue(vs), ks = ({ element: e = "span", children: t = null, ...n }) => N.createElement(e, { ...n, "aria-hidden": !0 }, t), kn = Ue(ks);
57
+ var Qt = { exports: {} }, Ve = {};
58
58
  /**
59
59
  * @license React
60
60
  * react-jsx-runtime.production.min.js
@@ -64,11 +64,11 @@ var It = { exports: {} }, Ve = {};
64
64
  * This source code is licensed under the MIT license found in the
65
65
  * LICENSE file in the root directory of this source tree.
66
66
  */
67
- var cn;
67
+ var ln;
68
68
  function js() {
69
- if (cn)
69
+ if (ln)
70
70
  return Ve;
71
- cn = 1;
71
+ ln = 1;
72
72
  var e = N, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, c = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
73
73
  function u(o, l, a) {
74
74
  var d, f = {}, h = null, p = null;
@@ -92,9 +92,9 @@ var Ye = {};
92
92
  * This source code is licensed under the MIT license found in the
93
93
  * LICENSE file in the root directory of this source tree.
94
94
  */
95
- var ln;
95
+ var dn;
96
96
  function ys() {
97
- return ln || (ln = 1, process.env.NODE_ENV !== "production" && function() {
97
+ return dn || (dn = 1, process.env.NODE_ENV !== "production" && function() {
98
98
  var e = N, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), o = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), _ = Symbol.iterator, k = "@@iterator";
99
99
  function w(m) {
100
100
  if (m === null || typeof m != "object")
@@ -120,14 +120,14 @@ function ys() {
120
120
  U.unshift("Warning: " + j), Function.prototype.apply.call(console[m], console, U);
121
121
  }
122
122
  }
123
- var M = !1, D = !1, B = !1, V = !1, C = !1, P;
124
- P = Symbol.for("react.module.reference");
125
- function Z(m) {
126
- return !!(typeof m == "string" || typeof m == "function" || m === r || m === i || C || m === c || m === a || m === d || V || m === p || M || D || B || typeof m == "object" && m !== null && (m.$$typeof === h || m.$$typeof === f || m.$$typeof === u || m.$$typeof === o || m.$$typeof === l || // This needs to include all possible module reference object
123
+ var M = !1, D = !1, B = !1, V = !1, P = !1, C;
124
+ C = Symbol.for("react.module.reference");
125
+ function J(m) {
126
+ return !!(typeof m == "string" || typeof m == "function" || m === r || m === i || P || m === c || m === a || m === d || V || m === p || M || D || B || typeof m == "object" && m !== null && (m.$$typeof === h || m.$$typeof === f || m.$$typeof === u || m.$$typeof === o || m.$$typeof === l || // This needs to include all possible module reference object
127
127
  // types supported by any Flight configuration anywhere since
128
128
  // we don't know which Flight build this will end up being used
129
129
  // with.
130
- m.$$typeof === P || m.getModuleId !== void 0));
130
+ m.$$typeof === C || m.getModuleId !== void 0));
131
131
  }
132
132
  function x(m, j, E) {
133
133
  var $ = m.displayName;
@@ -136,7 +136,7 @@ function ys() {
136
136
  var Q = j.displayName || j.name || "";
137
137
  return Q !== "" ? E + "(" + Q + ")" : E;
138
138
  }
139
- function q(m) {
139
+ function Z(m) {
140
140
  return m.displayName || "Context";
141
141
  }
142
142
  function v(m) {
@@ -164,10 +164,10 @@ function ys() {
164
164
  switch (m.$$typeof) {
165
165
  case o:
166
166
  var j = m;
167
- return q(j) + ".Consumer";
167
+ return Z(j) + ".Consumer";
168
168
  case u:
169
169
  var E = m;
170
- return q(E._context) + ".Provider";
170
+ return Z(E._context) + ".Provider";
171
171
  case l:
172
172
  return x(m, m.render, "ForwardRef");
173
173
  case f:
@@ -184,14 +184,14 @@ function ys() {
184
184
  }
185
185
  return null;
186
186
  }
187
- var b = Object.assign, W = 0, X, se, re, oe, ee, fe, ue;
187
+ var b = Object.assign, W = 0, X, q, re, oe, ee, fe, ue;
188
188
  function F() {
189
189
  }
190
190
  F.__reactDisabledLog = !0;
191
191
  function ae() {
192
192
  {
193
193
  if (W === 0) {
194
- X = console.log, se = console.info, re = console.warn, oe = console.error, ee = console.group, fe = console.groupCollapsed, ue = console.groupEnd;
194
+ X = console.log, q = console.info, re = console.warn, oe = console.error, ee = console.group, fe = console.groupCollapsed, ue = console.groupEnd;
195
195
  var m = {
196
196
  configurable: !0,
197
197
  enumerable: !0,
@@ -224,7 +224,7 @@ function ys() {
224
224
  value: X
225
225
  }),
226
226
  info: b({}, m, {
227
- value: se
227
+ value: q
228
228
  }),
229
229
  warn: b({}, m, {
230
230
  value: re
@@ -291,50 +291,50 @@ function ys() {
291
291
  }), typeof Reflect == "object" && Reflect.construct) {
292
292
  try {
293
293
  Reflect.construct(L, []);
294
- } catch ($e) {
295
- $ = $e;
294
+ } catch (Me) {
295
+ $ = Me;
296
296
  }
297
297
  Reflect.construct(m, [], L);
298
298
  } else {
299
299
  try {
300
300
  L.call();
301
- } catch ($e) {
302
- $ = $e;
301
+ } catch (Me) {
302
+ $ = Me;
303
303
  }
304
304
  m.call(L.prototype);
305
305
  }
306
306
  } else {
307
307
  try {
308
308
  throw Error();
309
- } catch ($e) {
310
- $ = $e;
309
+ } catch (Me) {
310
+ $ = Me;
311
311
  }
312
312
  m();
313
313
  }
314
- } catch ($e) {
315
- if ($e && $ && typeof $e.stack == "string") {
316
- for (var A = $e.stack.split(`
314
+ } catch (Me) {
315
+ if (Me && $ && typeof Me.stack == "string") {
316
+ for (var A = Me.stack.split(`
317
317
  `), we = $.stack.split(`
318
- `), K = A.length - 1, ne = we.length - 1; K >= 1 && ne >= 0 && A[K] !== we[ne]; )
319
- ne--;
320
- for (; K >= 1 && ne >= 0; K--, ne--)
321
- if (A[K] !== we[ne]) {
322
- if (K !== 1 || ne !== 1)
318
+ `), K = A.length - 1, se = we.length - 1; K >= 1 && se >= 0 && A[K] !== we[se]; )
319
+ se--;
320
+ for (; K >= 1 && se >= 0; K--, se--)
321
+ if (A[K] !== we[se]) {
322
+ if (K !== 1 || se !== 1)
323
323
  do
324
- if (K--, ne--, ne < 0 || A[K] !== we[ne]) {
324
+ if (K--, se--, se < 0 || A[K] !== we[se]) {
325
325
  var je = `
326
326
  ` + A[K].replace(" at new ", " at ");
327
327
  return m.displayName && je.includes("<anonymous>") && (je = je.replace("<anonymous>", m.displayName)), typeof m == "function" && ge.set(m, je), je;
328
328
  }
329
- while (K >= 1 && ne >= 0);
329
+ while (K >= 1 && se >= 0);
330
330
  break;
331
331
  }
332
332
  }
333
333
  } finally {
334
334
  be = !1, ce.current = U, he(), Error.prepareStackTrace = Q;
335
335
  }
336
- var Be = m ? m.displayName || m.name : "", an = Be ? pe(Be) : "";
337
- return typeof m == "function" && ge.set(m, an), an;
336
+ var Be = m ? m.displayName || m.name : "", cn = Be ? pe(Be) : "";
337
+ return typeof m == "function" && ge.set(m, cn), cn;
338
338
  }
339
339
  function le(m, j, E) {
340
340
  return Y(m, !1);
@@ -372,15 +372,15 @@ function ys() {
372
372
  }
373
373
  return "";
374
374
  }
375
- var ke = Object.prototype.hasOwnProperty, Re = {}, We = y.ReactDebugCurrentFrame;
376
- function G(m) {
375
+ var ke = Object.prototype.hasOwnProperty, Pe = {}, We = y.ReactDebugCurrentFrame;
376
+ function Le(m) {
377
377
  if (m) {
378
378
  var j = m._owner, E = me(m.type, m._source, j ? j.type : null);
379
379
  We.setExtraStackFrame(E);
380
380
  } else
381
381
  We.setExtraStackFrame(null);
382
382
  }
383
- function Te(m, j, E, $, Q) {
383
+ function ne(m, j, E, $, Q) {
384
384
  {
385
385
  var U = Function.call.bind(ke);
386
386
  for (var L in m)
@@ -395,41 +395,41 @@ function ys() {
395
395
  } catch (K) {
396
396
  A = K;
397
397
  }
398
- A && !(A instanceof Error) && (G(Q), g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", $ || "React class", E, L, typeof A), G(null)), A instanceof Error && !(A.message in Re) && (Re[A.message] = !0, G(Q), g("Failed %s type: %s", E, A.message), G(null));
398
+ A && !(A instanceof Error) && (Le(Q), g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", $ || "React class", E, L, typeof A), Le(null)), A instanceof Error && !(A.message in Pe) && (Pe[A.message] = !0, Le(Q), g("Failed %s type: %s", E, A.message), Le(null));
399
399
  }
400
400
  }
401
401
  }
402
- var Fe = Array.isArray;
403
- function Le(m) {
404
- return Fe(m);
402
+ var Te = Array.isArray;
403
+ function $e(m) {
404
+ return Te(m);
405
405
  }
406
- function bt(m) {
406
+ function Ze(m) {
407
407
  {
408
408
  var j = typeof Symbol == "function" && Symbol.toStringTag, E = j && m[Symbol.toStringTag] || m.constructor.name || "Object";
409
409
  return E;
410
410
  }
411
411
  }
412
- function Qn(m) {
412
+ function wt(m) {
413
413
  try {
414
- return Xt(m), !1;
414
+ return Zt(m), !1;
415
415
  } catch {
416
416
  return !0;
417
417
  }
418
418
  }
419
- function Xt(m) {
419
+ function Zt(m) {
420
420
  return "" + m;
421
421
  }
422
- function Zt(m) {
423
- if (Qn(m))
424
- return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", bt(m)), Xt(m);
422
+ function Kt(m) {
423
+ if (wt(m))
424
+ return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ze(m)), Zt(m);
425
425
  }
426
426
  var ze = y.ReactCurrentOwner, Hn = {
427
427
  key: !0,
428
428
  ref: !0,
429
429
  __self: !0,
430
430
  __source: !0
431
- }, Kt, qt, wt;
432
- wt = {};
431
+ }, qt, en, vt;
432
+ vt = {};
433
433
  function Un(m) {
434
434
  if (ke.call(m, "ref")) {
435
435
  var j = Object.getOwnPropertyDescriptor(m, "ref").get;
@@ -449,13 +449,13 @@ function ys() {
449
449
  function zn(m, j) {
450
450
  if (typeof m.ref == "string" && ze.current && j && ze.current.stateNode !== j) {
451
451
  var E = v(ze.current.type);
452
- wt[E] || (g('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', v(ze.current.type), m.ref), wt[E] = !0);
452
+ vt[E] || (g('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', v(ze.current.type), m.ref), vt[E] = !0);
453
453
  }
454
454
  }
455
455
  function Vn(m, j) {
456
456
  {
457
457
  var E = function() {
458
- Kt || (Kt = !0, g("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", j));
458
+ qt || (qt = !0, g("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", j));
459
459
  };
460
460
  E.isReactWarning = !0, Object.defineProperty(m, "key", {
461
461
  get: E,
@@ -466,7 +466,7 @@ function ys() {
466
466
  function Yn(m, j) {
467
467
  {
468
468
  var E = function() {
469
- qt || (qt = !0, g("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", j));
469
+ en || (en = !0, g("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", j));
470
470
  };
471
471
  E.isReactWarning = !0, Object.defineProperty(m, "ref", {
472
472
  get: E,
@@ -506,7 +506,7 @@ function ys() {
506
506
  function Jn(m, j, E, $, Q) {
507
507
  {
508
508
  var U, L = {}, A = null, we = null;
509
- E !== void 0 && (Zt(E), A = "" + E), Wn(j) && (Zt(j.key), A = "" + j.key), Un(j) && (we = j.ref, zn(j, Q));
509
+ E !== void 0 && (Kt(E), A = "" + E), Wn(j) && (Kt(j.key), A = "" + j.key), Un(j) && (we = j.ref, zn(j, Q));
510
510
  for (U in j)
511
511
  ke.call(j, U) && !Hn.hasOwnProperty(U) && (L[U] = j[U]);
512
512
  if (m && m.defaultProps) {
@@ -515,29 +515,29 @@ function ys() {
515
515
  L[U] === void 0 && (L[U] = K[U]);
516
516
  }
517
517
  if (A || we) {
518
- var ne = typeof m == "function" ? m.displayName || m.name || "Unknown" : m;
519
- A && Vn(L, ne), we && Yn(L, ne);
518
+ var se = typeof m == "function" ? m.displayName || m.name || "Unknown" : m;
519
+ A && Vn(L, se), we && Yn(L, se);
520
520
  }
521
521
  return Gn(m, A, we, Q, $, ze.current, L);
522
522
  }
523
523
  }
524
- var vt = y.ReactCurrentOwner, en = y.ReactDebugCurrentFrame;
524
+ var kt = y.ReactCurrentOwner, tn = y.ReactDebugCurrentFrame;
525
525
  function Oe(m) {
526
526
  if (m) {
527
527
  var j = m._owner, E = me(m.type, m._source, j ? j.type : null);
528
- en.setExtraStackFrame(E);
528
+ tn.setExtraStackFrame(E);
529
529
  } else
530
- en.setExtraStackFrame(null);
530
+ tn.setExtraStackFrame(null);
531
531
  }
532
- var kt;
533
- kt = !1;
534
- function jt(m) {
532
+ var jt;
533
+ jt = !1;
534
+ function yt(m) {
535
535
  return typeof m == "object" && m !== null && m.$$typeof === t;
536
536
  }
537
- function tn() {
537
+ function nn() {
538
538
  {
539
- if (vt.current) {
540
- var m = v(vt.current.type);
539
+ if (kt.current) {
540
+ var m = v(kt.current.type);
541
541
  if (m)
542
542
  return `
543
543
 
@@ -557,10 +557,10 @@ Check your code at ` + j + ":" + E + ".";
557
557
  return "";
558
558
  }
559
559
  }
560
- var nn = {};
560
+ var sn = {};
561
561
  function Zn(m) {
562
562
  {
563
- var j = tn();
563
+ var j = nn();
564
564
  if (!j) {
565
565
  var E = typeof m == "string" ? m : m.displayName || m.name;
566
566
  E && (j = `
@@ -570,35 +570,35 @@ Check the top-level render call using <` + E + ">.");
570
570
  return j;
571
571
  }
572
572
  }
573
- function sn(m, j) {
573
+ function rn(m, j) {
574
574
  {
575
575
  if (!m._store || m._store.validated || m.key != null)
576
576
  return;
577
577
  m._store.validated = !0;
578
578
  var E = Zn(j);
579
- if (nn[E])
579
+ if (sn[E])
580
580
  return;
581
- nn[E] = !0;
581
+ sn[E] = !0;
582
582
  var $ = "";
583
- m && m._owner && m._owner !== vt.current && ($ = " It was passed a child from " + v(m._owner.type) + "."), Oe(m), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', E, $), Oe(null);
583
+ m && m._owner && m._owner !== kt.current && ($ = " It was passed a child from " + v(m._owner.type) + "."), Oe(m), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', E, $), Oe(null);
584
584
  }
585
585
  }
586
- function rn(m, j) {
586
+ function on(m, j) {
587
587
  {
588
588
  if (typeof m != "object")
589
589
  return;
590
- if (Le(m))
590
+ if ($e(m))
591
591
  for (var E = 0; E < m.length; E++) {
592
592
  var $ = m[E];
593
- jt($) && sn($, j);
593
+ yt($) && rn($, j);
594
594
  }
595
- else if (jt(m))
595
+ else if (yt(m))
596
596
  m._store && (m._store.validated = !0);
597
597
  else if (m) {
598
598
  var Q = w(m);
599
599
  if (typeof Q == "function" && Q !== m.entries)
600
600
  for (var U = Q.call(m), L; !(L = U.next()).done; )
601
- jt(L.value) && sn(L.value, j);
601
+ yt(L.value) && rn(L.value, j);
602
602
  }
603
603
  }
604
604
  }
@@ -618,9 +618,9 @@ Check the top-level render call using <` + E + ">.");
618
618
  return;
619
619
  if (E) {
620
620
  var $ = v(j);
621
- Te(E, m.props, "prop", $, m);
622
- } else if (j.PropTypes !== void 0 && !kt) {
623
- kt = !0;
621
+ ne(E, m.props, "prop", $, m);
622
+ } else if (j.PropTypes !== void 0 && !jt) {
623
+ jt = !0;
624
624
  var Q = v(j);
625
625
  g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Q || "Unknown");
626
626
  }
@@ -639,65 +639,65 @@ Check the top-level render call using <` + E + ">.");
639
639
  m.ref !== null && (Oe(m), g("Invalid attribute `ref` supplied to `React.Fragment`."), Oe(null));
640
640
  }
641
641
  }
642
- function on(m, j, E, $, Q, U) {
642
+ function an(m, j, E, $, Q, U) {
643
643
  {
644
- var L = Z(m);
644
+ var L = J(m);
645
645
  if (!L) {
646
646
  var A = "";
647
647
  (m === void 0 || typeof m == "object" && m !== null && Object.keys(m).length === 0) && (A += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
648
648
  var we = Xn(Q);
649
- we ? A += we : A += tn();
649
+ we ? A += we : A += nn();
650
650
  var K;
651
- m === null ? K = "null" : Le(m) ? K = "array" : m !== void 0 && m.$$typeof === t ? (K = "<" + (v(m.type) || "Unknown") + " />", A = " Did you accidentally export a JSX literal instead of a component?") : K = typeof m, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", K, A);
651
+ m === null ? K = "null" : $e(m) ? K = "array" : m !== void 0 && m.$$typeof === t ? (K = "<" + (v(m.type) || "Unknown") + " />", A = " Did you accidentally export a JSX literal instead of a component?") : K = typeof m, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", K, A);
652
652
  }
653
- var ne = Jn(m, j, E, Q, U);
654
- if (ne == null)
655
- return ne;
653
+ var se = Jn(m, j, E, Q, U);
654
+ if (se == null)
655
+ return se;
656
656
  if (L) {
657
657
  var je = j.children;
658
658
  if (je !== void 0)
659
659
  if ($)
660
- if (Le(je)) {
660
+ if ($e(je)) {
661
661
  for (var Be = 0; Be < je.length; Be++)
662
- rn(je[Be], m);
662
+ on(je[Be], m);
663
663
  Object.freeze && Object.freeze(je);
664
664
  } else
665
665
  g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
666
666
  else
667
- rn(je, m);
667
+ on(je, m);
668
668
  }
669
- return m === r ? qn(ne) : Kn(ne), ne;
669
+ return m === r ? qn(se) : Kn(se), se;
670
670
  }
671
671
  }
672
672
  function es(m, j, E) {
673
- return on(m, j, E, !0);
673
+ return an(m, j, E, !0);
674
674
  }
675
675
  function ts(m, j, E) {
676
- return on(m, j, E, !1);
676
+ return an(m, j, E, !1);
677
677
  }
678
678
  var ns = ts, ss = es;
679
679
  Ye.Fragment = r, Ye.jsx = ns, Ye.jsxs = ss;
680
680
  }()), Ye;
681
681
  }
682
- process.env.NODE_ENV === "production" ? It.exports = js() : It.exports = ys();
683
- var s = It.exports;
682
+ process.env.NODE_ENV === "production" ? Qt.exports = js() : Qt.exports = ys();
683
+ var s = Qt.exports;
684
684
  const Es = () => {
685
685
  const [e, t] = O(window.location.pathname), n = () => {
686
686
  const r = window.location.pathname;
687
687
  t(r);
688
688
  };
689
- return J(() => (window.addEventListener("popstate", n), () => {
689
+ return G(() => (window.addEventListener("popstate", n), () => {
690
690
  window.removeEventListener("popstate", n);
691
691
  }), []), e;
692
692
  }, Qe = (e, t) => {
693
693
  const n = de(!1);
694
- J(() => {
694
+ G(() => {
695
695
  n.current ? e() : n.current = !0;
696
696
  }, t);
697
697
  };
698
698
  function Ss(e, t, n) {
699
699
  var r = this, c = de(null), i = de(0), u = de(null), o = de([]), l = de(), a = de(), d = de(e), f = de(!0);
700
- J(function() {
700
+ G(function() {
701
701
  d.current = e;
702
702
  }, [e]);
703
703
  var h = !t && t !== 0 && typeof window < "u";
@@ -705,35 +705,35 @@ function Ss(e, t, n) {
705
705
  throw new TypeError("Expected a function");
706
706
  t = +t || 0;
707
707
  var p = !!(n = n || {}).leading, _ = !("trailing" in n) || !!n.trailing, k = "maxWait" in n, w = k ? Math.max(+n.maxWait || 0, t) : null;
708
- J(function() {
708
+ G(function() {
709
709
  return f.current = !0, function() {
710
710
  f.current = !1;
711
711
  };
712
712
  }, []);
713
- var y = ct(function() {
714
- var g = function(C) {
715
- var P = o.current, Z = l.current;
716
- return o.current = l.current = null, i.current = C, a.current = d.current.apply(Z, P);
717
- }, T = function(C, P) {
718
- h && cancelAnimationFrame(u.current), u.current = h ? requestAnimationFrame(C) : setTimeout(C, P);
719
- }, M = function(C) {
713
+ var y = lt(function() {
714
+ var g = function(P) {
715
+ var C = o.current, J = l.current;
716
+ return o.current = l.current = null, i.current = P, a.current = d.current.apply(J, C);
717
+ }, T = function(P, C) {
718
+ h && cancelAnimationFrame(u.current), u.current = h ? requestAnimationFrame(P) : setTimeout(P, C);
719
+ }, M = function(P) {
720
720
  if (!f.current)
721
721
  return !1;
722
- var P = C - c.current;
723
- return !c.current || P >= t || P < 0 || k && C - i.current >= w;
724
- }, D = function(C) {
725
- return u.current = null, _ && o.current ? g(C) : (o.current = l.current = null, a.current);
726
- }, B = function C() {
727
- var P = Date.now();
728
- if (M(P))
729
- return D(P);
722
+ var C = P - c.current;
723
+ return !c.current || C >= t || C < 0 || k && P - i.current >= w;
724
+ }, D = function(P) {
725
+ return u.current = null, _ && o.current ? g(P) : (o.current = l.current = null, a.current);
726
+ }, B = function P() {
727
+ var C = Date.now();
728
+ if (M(C))
729
+ return D(C);
730
730
  if (f.current) {
731
- var Z = t - (P - c.current), x = k ? Math.min(Z, w - (P - i.current)) : Z;
732
- T(C, x);
731
+ var J = t - (C - c.current), x = k ? Math.min(J, w - (C - i.current)) : J;
732
+ T(P, x);
733
733
  }
734
734
  }, V = function() {
735
- var C = Date.now(), P = M(C);
736
- if (o.current = [].slice.call(arguments), l.current = r, c.current = C, P) {
735
+ var P = Date.now(), C = M(P);
736
+ if (o.current = [].slice.call(arguments), l.current = r, c.current = P, C) {
737
737
  if (!u.current && f.current)
738
738
  return i.current = c.current, T(B, t), p ? g(c.current) : a.current;
739
739
  if (k)
@@ -751,27 +751,27 @@ function Ss(e, t, n) {
751
751
  }, [p, k, t, w, _, h]);
752
752
  return y;
753
753
  }
754
- function kn(e, t, n) {
754
+ function jn(e, t, n) {
755
755
  var r = n === void 0 ? {} : n, c = r.leading, i = r.trailing;
756
756
  return Ss(e, t, { maxWait: t, leading: c === void 0 || c, trailing: i === void 0 || i });
757
757
  }
758
- let yt;
759
- const mt = (e = !0, t = !1, n = "window") => {
758
+ let Et;
759
+ const ft = (e = !0, t = !1, n = "window") => {
760
760
  if (!e)
761
761
  return;
762
762
  const [r, c] = N.useState(0) || [!1, () => {
763
763
  }];
764
- J(() => (o(), window.addEventListener("resize", l), () => {
765
- clearTimeout(yt), l.flush(), window.removeEventListener("resize", l);
764
+ G(() => (o(), window.addEventListener("resize", l), () => {
765
+ clearTimeout(Et), l.flush(), window.removeEventListener("resize", l);
766
766
  }), n === "window" ? [] : [n]);
767
767
  const u = () => {
768
768
  if (n)
769
769
  return n === "window" ? window.innerWidth : n.offsetWidth;
770
770
  }, o = () => {
771
771
  c(u());
772
- }, l = kn(
772
+ }, l = jn(
773
773
  () => {
774
- u() !== r && (t && (clearTimeout(yt), document.body.classList.add("is-resizing"), yt = setTimeout(() => {
774
+ u() !== r && (t && (clearTimeout(Et), document.body.classList.add("is-resizing"), Et = setTimeout(() => {
775
775
  document.body.classList.remove("is-resizing");
776
776
  }, 550)), o());
777
777
  },
@@ -793,7 +793,7 @@ const mt = (e = !0, t = !1, n = "window") => {
793
793
  const [c, i] = N.useState({ current: 0, past: 0 }) || [!1, () => {
794
794
  }], [u, o] = N.useState({ scrollDown: !1, scrollUp: !1 }) || [!1, () => {
795
795
  }];
796
- J(() => (l(), window.addEventListener("scroll", a), () => {
796
+ G(() => (l(), window.addEventListener("scroll", a), () => {
797
797
  a.flush(), window.removeEventListener("scroll", a);
798
798
  }), []);
799
799
  const l = () => {
@@ -803,7 +803,7 @@ const mt = (e = !0, t = !1, n = "window") => {
803
803
  return;
804
804
  }
805
805
  Math.abs(h) >= t.up && !u.scrollUp && (r(), o({ scrollUp: !0, scrollDown: !1 }));
806
- }, a = kn(() => {
806
+ }, a = jn(() => {
807
807
  l();
808
808
  }, 250);
809
809
  return c;
@@ -824,13 +824,13 @@ const mt = (e = !0, t = !1, n = "window") => {
824
824
  return t.forEach(({ type: r, value: c }) => {
825
825
  is(n, r, c);
826
826
  }), n;
827
- }, jn = (e) => {
827
+ }, yn = (e) => {
828
828
  const t = [];
829
829
  return e.forEach((n) => {
830
830
  const r = parseInt(n);
831
831
  isNaN(r) || t.push(r);
832
832
  }), t.sort((n, r) => n - r);
833
- }, yn = (e, t, n) => {
833
+ }, En = (e, t, n) => {
834
834
  let r = n.mobile;
835
835
  for (const c in t) {
836
836
  const i = parseInt(String(t[c]));
@@ -859,7 +859,7 @@ const mt = (e = !0, t = !1, n = "window") => {
859
859
  return { path: "days", number: o };
860
860
  const l = Math.floor(o / 7);
861
861
  return l <= 52 ? { path: "weeks", number: l } : { path: "years", number: Math.floor(o / 365) };
862
- }, Ns = (e) => new Promise((t) => setTimeout(t, e)), Vt = {
862
+ }, Ns = (e) => new Promise((t) => setTimeout(t, e)), Yt = {
863
863
  apolitical: "Apolitical",
864
864
  breadcrumbs_label: "Go back to:",
865
865
  breadcrumbs_currentPage: "Current page:",
@@ -1177,19 +1177,19 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1177
1177
  languageSwitcher_translation_human: "traduit par un humain",
1178
1178
  languageSwitcher_translation_machine: "traduit par machine",
1179
1179
  languageSwitcher_disclaimer: "Ce contenu est traduit automatiquement et contiendra d’évantuelles erreurs de genre ou d’autres traductions directes. Nous essayons de résoudre ce problème, mais en attendant, si vous remarquez une erreur importante, faites-le nous savoir à <link>{email}</link>"
1180
- }, Cs = {
1180
+ }, Ps = {
1181
1181
  languageSwitcher_label: "Eu gostaria de ler este artigo em...",
1182
1182
  languageSwitcher_translation_original: "linguagem original",
1183
1183
  languageSwitcher_translation_human: "traduzido por um humano",
1184
1184
  languageSwitcher_translation_machine: "traduzido por máquina",
1185
1185
  languageSwitcher_disclaimer: "Este conteúdo foi traduzido automaticamente e, ocasionalmente, poderão ocorrer erros de linguagem de gênero ou outras traduções diretas. Estamos tentando resolver isso, porém se perceber algo errado por favor nos avise em <link>{email}</link>"
1186
- }, Ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1186
+ }, Cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1187
1187
  __proto__: null,
1188
- en: Vt,
1188
+ en: Yt,
1189
1189
  es: As,
1190
1190
  fr: Rs,
1191
- pt: Cs
1192
- }, Symbol.toStringTag, { value: "Module" })), Fs = (e) => e in Vt, Ee = (e, t, n, r, c = {}) => {
1191
+ pt: Ps
1192
+ }, Symbol.toStringTag, { value: "Module" })), Fs = (e) => e in Yt, Ee = (e, t, n, r, c = {}) => {
1193
1193
  let i = "";
1194
1194
  return Fs(`${t}_${n}`) ? i = e({ id: `${t}_${n}` }, c) : i = e({ id: t }, { [r]: n, ...c }), i;
1195
1195
  }, Ls = (e, t, n) => {
@@ -1206,7 +1206,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1206
1206
  }
1207
1207
  }
1208
1208
  return r;
1209
- }, rt = (e, t) => N.Children.map(e, (n) => N.cloneElement(n, {
1209
+ }, ot = (e, t) => N.Children.map(e, (n) => N.cloneElement(n, {
1210
1210
  ...t
1211
1211
  })), Os = (e) => e.replace(/\s+/g, "").length > 0, z = ({
1212
1212
  variant: e = "primary",
@@ -1222,10 +1222,10 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1222
1222
  children: d = !1,
1223
1223
  ...f
1224
1224
  }) => {
1225
- const p = mt(typeof t == "object");
1225
+ const p = ft(typeof t == "object");
1226
1226
  if (typeof t == "object" && typeof p == "number") {
1227
- const w = Object.assign({}, t), y = jn(Object.keys(w));
1228
- t = yn(p, y, w);
1227
+ const w = Object.assign({}, t), y = yn(Object.keys(w));
1228
+ t = En(p, y, w);
1229
1229
  }
1230
1230
  const _ = [];
1231
1231
  typeof t == "string" && _.push(t), r && (_.push("icon"), typeof r == "object" ? (_.push(r.icon), r.position ? _.push(r.position) : _.push("left"), r.hover && _.push(`hover_${r.hover}`), r.animate && (_.push("animate"), typeof r.animate == "string" && _.push(r.animate))) : (_.push(r), !r.includes("right") && !r.includes("left") && _.push("left"))), n.muted && _.push("muted"), n.fullWidth && _.push("full-width");
@@ -1246,14 +1246,14 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1246
1246
  k,
1247
1247
  d || (a ? /* @__PURE__ */ s.jsx(_e, { showOnFocus: !1, children: a }) : null)
1248
1248
  );
1249
- }, ft = ({ buttons: e, className: t = "", ...n }) => {
1249
+ }, ht = ({ buttons: e, className: t = "", ...n }) => {
1250
1250
  const r = e.length > 1 ? "ul" : "p", c = e.map((i, u) => r === "p" ? /* @__PURE__ */ s.jsx(z, { ...i }, u) : /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(z, { ...i }) }, u));
1251
1251
  return N.createElement(r, { className: S("button-wrapper", t), ...n, children: c });
1252
1252
  };
1253
1253
  const He = ({ className: e = "", maxWidth: t = !1 }) => {
1254
1254
  const n = t ? { "--max-width": `${t / 16}rem` } : {};
1255
1255
  return /* @__PURE__ */ s.jsx("hr", { className: S(e, { "has-max-width": t }), style: n });
1256
- }, ht = ({
1256
+ }, pt = ({
1257
1257
  href: e,
1258
1258
  children: t,
1259
1259
  fallbackElement: n,
@@ -1276,7 +1276,7 @@ const He = ({ className: e = "", maxWidth: t = !1 }) => {
1276
1276
  );
1277
1277
  }
1278
1278
  return n ? N.createElement(n, { children: t, className: r, ...o }) : t;
1279
- }, dn = {
1279
+ }, un = {
1280
1280
  card: {
1281
1281
  range: [
1282
1282
  {
@@ -1384,12 +1384,12 @@ const He = ({ className: e = "", maxWidth: t = !1 }) => {
1384
1384
  range: t,
1385
1385
  sizes: n
1386
1386
  }) => {
1387
- const { range: r, sizes: c } = e ? dn[e] : dn.fallback;
1387
+ const { range: r, sizes: c } = e ? un[e] : un.fallback;
1388
1388
  return { range: t && t.length > 0 ? t : r, sizes: n || c };
1389
1389
  }, Is = ({ format: e, height: t, query: n, width: r }) => {
1390
1390
  let c = `w=${r}&h=${t}`;
1391
1391
  return c = e ? `${c}&fm=${e}` : c, c = n ? `${c}&${n}` : c, c;
1392
- }, Et = ({ format: e, range: t, url: n, query: r }) => t.map(({ height: c, width: i }) => `${n}?${Is({
1392
+ }, St = ({ format: e, range: t, url: n, query: r }) => t.map(({ height: c, width: i }) => `${n}?${Is({
1393
1393
  format: e,
1394
1394
  height: c,
1395
1395
  query: r,
@@ -1406,7 +1406,7 @@ const Qs = ({ image: e, className: t, testId: n }) => {
1406
1406
  loading: a,
1407
1407
  decoding: d,
1408
1408
  fetchPriority: f
1409
- } = e, { range: h, sizes: p } = Bs(e), _ = Et({ format: "avif", query: u, range: h, url: o }), k = Et({ format: "webp", query: u, range: h, url: o }), w = Et({ format: "", query: u, range: h, url: o });
1409
+ } = e, { range: h, sizes: p } = Bs(e), _ = St({ format: "avif", query: u, range: h, url: o }), k = St({ format: "webp", query: u, range: h, url: o }), w = St({ format: "", query: u, range: h, url: o });
1410
1410
  return /* @__PURE__ */ s.jsxs("picture", { className: t, children: [
1411
1411
  i !== "image/gif" && /* @__PURE__ */ s.jsx(
1412
1412
  "source",
@@ -1446,7 +1446,7 @@ const Qs = ({ image: e, className: t, testId: n }) => {
1446
1446
  let Ge = !1;
1447
1447
  const Hs = ({ isOpen: e = !1, isLoading: t = !1, children: n }) => {
1448
1448
  const r = R(), c = de(null), [i, u] = O("hidden");
1449
- J(() => {
1449
+ G(() => {
1450
1450
  const l = c.current;
1451
1451
  if (l)
1452
1452
  return l.addEventListener("transitionend", o), () => {
@@ -1464,7 +1464,7 @@ const Hs = ({ isOpen: e = !1, isLoading: t = !1, children: n }) => {
1464
1464
  }, 300);
1465
1465
  }, [e]), /* @__PURE__ */ s.jsx("aside", { ref: c, className: S("tooltip text-medium", i, { loading: t }), hidden: i === "hidden", children: t ? /* @__PURE__ */ s.jsx("p", { children: r.formatMessage({ id: "tooltip_loading" }) }) : typeof n == "string" ? /* @__PURE__ */ s.jsx("p", { children: n }) : n });
1466
1466
  };
1467
- const En = ({ children: e, className: t = "", ...n }) => /* @__PURE__ */ s.jsx("section", { className: S("full-width-section", t), ...n, children: e });
1467
+ const Sn = ({ children: e, className: t = "", ...n }) => /* @__PURE__ */ s.jsx("section", { className: S("full-width-section", t), ...n, children: e });
1468
1468
  const yo = ({ text: e, buttons: t, className: n = "" }) => {
1469
1469
  const r = [];
1470
1470
  return t.forEach((c) => {
@@ -1478,9 +1478,9 @@ const yo = ({ text: e, buttons: t, className: n = "" }) => {
1478
1478
  target: "_blank",
1479
1479
  children: c.text
1480
1480
  });
1481
- }), /* @__PURE__ */ s.jsx(En, { className: S("download-section", n), children: /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1481
+ }), /* @__PURE__ */ s.jsx(Sn, { className: S("download-section", n), children: /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1482
1482
  N.createElement(typeof e == "string" ? "h2" : e.element, { className: "text" }, typeof e == "string" ? e : e.text),
1483
- /* @__PURE__ */ s.jsx(ft, { buttons: r })
1483
+ /* @__PURE__ */ s.jsx(ht, { buttons: r })
1484
1484
  ] }) });
1485
1485
  };
1486
1486
  const Eo = ({ title: e = !1, logos: t = [], className: n = "" }) => {
@@ -1577,7 +1577,7 @@ const Us = [
1577
1577
  const f = document.getElementById(i.link.substring(1));
1578
1578
  f && f.scrollIntoView({ behavior: "smooth" });
1579
1579
  }), /* @__PURE__ */ s.jsx(
1580
- En,
1580
+ Sn,
1581
1581
  {
1582
1582
  className: S("banner-section", r, c, e, {
1583
1583
  "has-image": n,
@@ -1623,7 +1623,7 @@ const To = ({
1623
1623
  n && /* @__PURE__ */ s.jsx("p", { className: "title", children: n }),
1624
1624
  r && /* @__PURE__ */ s.jsx("p", { children: r }),
1625
1625
  t && /* @__PURE__ */ s.jsx(z, { variant: "secondary", size: "medium", href: t.link, className: "gtm-trackable", "data-gtm-event-context": c, "data-gtm-event-type": "learn-more-click", children: t.text })
1626
- ] }), Qt = "https://storage.googleapis.com/apolitical-assets/", Je = {
1626
+ ] }), Ht = "https://storage.googleapis.com/apolitical-assets/", Je = {
1627
1627
  general: "hello@apolitical.co",
1628
1628
  support: "concierge@apolitical.co",
1629
1629
  "data-protection": {
@@ -1631,25 +1631,25 @@ const To = ({
1631
1631
  eu: "dpo.agl@apolitical.foundation"
1632
1632
  }
1633
1633
  }, $o = "200,000+";
1634
- const Sn = ({ label: e = !1, className: t = "", children: n }) => {
1634
+ const Tn = ({ label: e = !1, className: t = "", children: n }) => {
1635
1635
  const r = R();
1636
1636
  return /* @__PURE__ */ s.jsxs("details", { className: S("collapsible-section", t), children: [
1637
1637
  /* @__PURE__ */ s.jsx("summary", { children: e || r.formatMessage({ id: "collapsibleSection_summary" }) }),
1638
1638
  /* @__PURE__ */ s.jsx("div", { className: "content", children: n })
1639
1639
  ] });
1640
1640
  };
1641
- const Pe = ({ variant: e = "primary", className: t = "", children: n, ...r }) => /* @__PURE__ */ s.jsx("div", { className: S("highlighted-text-box", e, t), ...r, children: n });
1642
- const pt = ({
1641
+ const Fe = ({ variant: e = "primary", className: t = "", children: n, ...r }) => /* @__PURE__ */ s.jsx("div", { className: S("highlighted-text-box", e, t), ...r, children: n });
1642
+ const gt = ({
1643
1643
  variant: e = "empty",
1644
1644
  text: t = !1,
1645
1645
  button: n = !1,
1646
1646
  className: r = ""
1647
1647
  }) => {
1648
1648
  let c = n && !!Object.keys(n).length;
1649
- const i = typeof n == "object" && "breakpoints" in n, u = mt(i);
1649
+ const i = typeof n == "object" && "breakpoints" in n, u = ft(i);
1650
1650
  if (i && typeof n == "object" && typeof u == "number") {
1651
- const f = Object.assign({}, n.breakpoints), h = jn(Object.keys(f));
1652
- c = yn(u, h, f);
1651
+ const f = Object.assign({}, n.breakpoints), h = yn(Object.keys(f));
1652
+ c = En(u, h, f);
1653
1653
  }
1654
1654
  const {
1655
1655
  breakpoints: o,
@@ -1658,12 +1658,12 @@ const pt = ({
1658
1658
  ...d
1659
1659
  } = n;
1660
1660
  return /* @__PURE__ */ s.jsx(
1661
- Pe,
1661
+ Fe,
1662
1662
  {
1663
1663
  variant: "subtle",
1664
1664
  className: S("empty-state-box", e, r),
1665
1665
  children: /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1666
- t && /* @__PURE__ */ s.jsx(dt, { options: { forceBlock: !0 }, children: t }),
1666
+ t && /* @__PURE__ */ s.jsx(ut, { options: { forceBlock: !0 }, children: t }),
1667
1667
  c && typeof n == "object" && (a || /* @__PURE__ */ s.jsx(
1668
1668
  z,
1669
1669
  {
@@ -1676,18 +1676,18 @@ const pt = ({
1676
1676
  }
1677
1677
  );
1678
1678
  };
1679
- const Ht = ({ children: e, ...t }) => /* @__PURE__ */ s.jsx("p", { ...t, children: e }), Tn = { q: Ht, blockquote: Ht };
1679
+ const Ut = ({ children: e, ...t }) => /* @__PURE__ */ s.jsx("p", { ...t, children: e }), $n = { q: Ut, blockquote: Ut };
1680
1680
  for (let e = 1; e <= 6; e++)
1681
- Tn[`h${e}`] = { component: Ht, props: { className: "title" } };
1681
+ $n[`h${e}`] = { component: Ut, props: { className: "title" } };
1682
1682
  const zs = ({ type: e = "default", className: t = "", heading: n = !1, children: r }) => /* @__PURE__ */ s.jsxs("div", { className: S("helper-text-box text-small", e, t), children: [
1683
1683
  n && /* @__PURE__ */ s.jsx("p", { className: "title", children: n }),
1684
1684
  typeof r == "string" ? /* @__PURE__ */ s.jsx(
1685
- dt,
1685
+ ut,
1686
1686
  {
1687
1687
  options: {
1688
1688
  wrapper: N.Fragment,
1689
1689
  forceBlock: !0,
1690
- overrides: Tn
1690
+ overrides: $n
1691
1691
  },
1692
1692
  children: r
1693
1693
  }
@@ -1695,20 +1695,20 @@ const zs = ({ type: e = "default", className: t = "", heading: n = !1, children:
1695
1695
  ] });
1696
1696
  const Mo = ({ className: e = "", show: t = !1, hide: n = !1, text: r, children: c }) => {
1697
1697
  const i = R(), u = de(null), [o, l] = O(""), [a, d] = O("closed");
1698
- J(() => {
1698
+ G(() => {
1699
1699
  const p = u.current;
1700
1700
  if (p)
1701
1701
  return p.addEventListener("transitionend", f), () => {
1702
1702
  p.removeEventListener("transitionend", f);
1703
1703
  };
1704
- }, []), J(() => {
1704
+ }, []), G(() => {
1705
1705
  if (!r || typeof r != "string")
1706
1706
  return;
1707
1707
  const p = r.split(`
1708
1708
  `);
1709
1709
  l(p.length < 3 ? `${r.substring(0, 400)}...` : p.slice(0, 3).join(`
1710
1710
  `));
1711
- }, [r]), J(() => {
1711
+ }, [r]), G(() => {
1712
1712
  a === "ready-to-close" && d("closing");
1713
1713
  }, [a]);
1714
1714
  const f = ({ propertyName: p }) => {
@@ -1717,9 +1717,9 @@ const Mo = ({ className: e = "", show: t = !1, hide: n = !1, text: r, children:
1717
1717
  if (!r)
1718
1718
  return null;
1719
1719
  const h = ["opening", "open"].includes(a);
1720
- return /* @__PURE__ */ s.jsxs(Pe, { variant: "subtle", className: S("hide-show-text-box", e), children: [
1720
+ return /* @__PURE__ */ s.jsxs(Fe, { variant: "subtle", className: S("hide-show-text-box", e), children: [
1721
1721
  /* @__PURE__ */ s.jsxs("div", { ref: u, className: S("content", a), children: [
1722
- /* @__PURE__ */ s.jsx(dt, { options: { forceBlock: !0 }, children: a === "closed" ? o : r }),
1722
+ /* @__PURE__ */ s.jsx(ut, { options: { forceBlock: !0 }, children: a === "closed" ? o : r }),
1723
1723
  a !== "closed" && c
1724
1724
  ] }),
1725
1725
  /* @__PURE__ */ s.jsx("p", { className: "cta", children: /* @__PURE__ */ s.jsx(
@@ -1736,17 +1736,17 @@ const Mo = ({ className: e = "", show: t = !1, hide: n = !1, text: r, children:
1736
1736
  }
1737
1737
  ) })
1738
1738
  ] });
1739
- }, Vs = () => N.Fragment, Ys = ({ children: e }) => /* @__PURE__ */ s.jsx(Pe, { variant: "secondary", children: e }), Gs = ["span", "strong", "h1", "h2", "h3", "h4", "h5", "h6", "p"], Js = ({ children: e }) => {
1739
+ }, Vs = () => N.Fragment, Ys = ({ children: e }) => /* @__PURE__ */ s.jsx(Fe, { variant: "secondary", children: e }), Gs = ["span", "strong", "h1", "h2", "h3", "h4", "h5", "h6", "p"], Js = ({ children: e }) => {
1740
1740
  const t = R();
1741
1741
  if (!e)
1742
1742
  return null;
1743
1743
  let n = t.formatMessage({ id: "markdown_collapsibleSection_summary" });
1744
1744
  const r = [];
1745
- for (const i of Ot.toArray(e))
1745
+ for (const i of Bt.toArray(e))
1746
1746
  if (!(!i || typeof i == "string" || typeof i == "number"))
1747
1747
  if (N.isValidElement(i) && i.type === "summary") {
1748
1748
  if (i.props && i.props.children) {
1749
- for (const u of Ot.toArray(i.props.children))
1749
+ for (const u of Bt.toArray(i.props.children))
1750
1750
  if (!(!u || typeof u == "string" || typeof u == "number") && N.isValidElement(u)) {
1751
1751
  const o = u.type;
1752
1752
  if (Gs.includes(o)) {
@@ -1760,7 +1760,7 @@ const Mo = ({ className: e = "", show: t = !1, hide: n = !1, text: r, children:
1760
1760
  r.push(i);
1761
1761
  const c = n ? n.toString() : "";
1762
1762
  return /* @__PURE__ */ s.jsx(
1763
- Sn,
1763
+ Tn,
1764
1764
  {
1765
1765
  label: c,
1766
1766
  className: ["Sources", "Resources"].includes(c) ? "discrete-links" : "",
@@ -1771,12 +1771,12 @@ const Mo = ({ className: e = "", show: t = !1, hide: n = !1, text: r, children:
1771
1771
  if (t.class)
1772
1772
  switch (t.class) {
1773
1773
  case "casestudy":
1774
- return /* @__PURE__ */ s.jsx(Pe, { variant: "secondary", children: e });
1774
+ return /* @__PURE__ */ s.jsx(Fe, { variant: "secondary", children: e });
1775
1775
  case "general-textbox":
1776
1776
  case "highlight-box":
1777
- return /* @__PURE__ */ s.jsx(Pe, { variant: "primary", children: e });
1777
+ return /* @__PURE__ */ s.jsx(Fe, { variant: "primary", children: e });
1778
1778
  case "pink-textbox":
1779
- return /* @__PURE__ */ s.jsx(Pe, { variant: "tertiary", children: e });
1779
+ return /* @__PURE__ */ s.jsx(Fe, { variant: "tertiary", children: e });
1780
1780
  default:
1781
1781
  return /* @__PURE__ */ s.jsx("div", { ...t, children: e });
1782
1782
  }
@@ -1790,26 +1790,26 @@ const Mo = ({ className: e = "", show: t = !1, hide: n = !1, text: r, children:
1790
1790
  /* @__PURE__ */ s.jsx("iframe", { ...e, title: t.formatMessage({ id: `markdown_iframe${r === "default" ? "" : `_${r}`}` }) }),
1791
1791
  /* @__PURE__ */ s.jsx("span", { id: `content-after-iframe-${n}`, tabIndex: -1 })
1792
1792
  ] });
1793
- }, un = (e) => {
1793
+ }, mn = (e) => {
1794
1794
  let t = "";
1795
1795
  return e && typeof e != "string" && typeof e != "number" && typeof e != "boolean" && "type" in e && (t = e.type), t;
1796
1796
  }, Ks = ({ children: e, ...t }) => {
1797
1797
  let n = { ...t };
1798
1798
  t.href && (t.href.includes("http:") || t.href.includes("https:")) && !t.target && (n.target = "_blank");
1799
1799
  let r = e, c = !1;
1800
- for (const i of Ot.toArray(e))
1800
+ for (const i of Bt.toArray(e))
1801
1801
  if (!(!i || typeof i == "string" || typeof i == "number") && N.isValidElement(i)) {
1802
1802
  const u = i.type;
1803
1803
  if (["button", "center", "span", "strong"].includes(u) && i.props && i.props.children && i.props.children[0])
1804
- for ((u === "button" || un(i.props.children[0]) === "button") && (c = !0), r = i.props.children[0]; r && typeof r != "string" && !(typeof r == "boolean" || typeof r == "number" || !N.isValidElement(r)); )
1804
+ for ((u === "button" || mn(i.props.children[0]) === "button") && (c = !0), r = i.props.children[0]; r && typeof r != "string" && !(typeof r == "boolean" || typeof r == "number" || !N.isValidElement(r)); )
1805
1805
  if (r.props && r.props.children && r.props.children[0])
1806
- r = r.props.children[0], r && un(r) === "button" && (c = !0);
1806
+ r = r.props.children[0], r && mn(r) === "button" && (c = !0);
1807
1807
  else
1808
1808
  break;
1809
1809
  }
1810
1810
  return c ? (n = { ...n, className: "button primary medium" }, /* @__PURE__ */ s.jsx("p", { className: "center", children: /* @__PURE__ */ s.jsx(z, { variant: "primary", size: "medium", ...n, children: r }) })) : /* @__PURE__ */ s.jsx("a", { ...n, children: r });
1811
1811
  }, qs = ({ children: e }) => /* @__PURE__ */ s.jsx("span", { children: e });
1812
- const mn = ({ className: e = "", options: t = {}, children: n }) => {
1812
+ const fn = ({ className: e = "", options: t = {}, children: n }) => {
1813
1813
  n = n.replace(/^<br\/?>/, "");
1814
1814
  const r = {
1815
1815
  wrapper: N.Fragment,
@@ -1818,8 +1818,8 @@ const mn = ({ className: e = "", options: t = {}, children: n }) => {
1818
1818
  a: Ks,
1819
1819
  // Override psuedo-code
1820
1820
  // We give the content team psuedo-code short cuts to use in Contentful
1821
- CollapsibleSection: Sn,
1822
- TextBox: Pe,
1821
+ CollapsibleSection: Tn,
1822
+ TextBox: Fe,
1823
1823
  CaseStudy: Ys,
1824
1824
  // Override embedded HTML
1825
1825
  // Our content team previously used real HTML, which we need to tear out and replace with React components
@@ -1829,7 +1829,7 @@ const mn = ({ className: e = "", options: t = {}, children: n }) => {
1829
1829
  iframe: Zs
1830
1830
  }
1831
1831
  };
1832
- return /* @__PURE__ */ s.jsx("div", { className: S("markdown-text", e), children: /* @__PURE__ */ s.jsx(dt, { options: { ...r, ...t }, children: n }) });
1832
+ return /* @__PURE__ */ s.jsx("div", { className: S("markdown-text", e), children: /* @__PURE__ */ s.jsx(ut, { options: { ...r, ...t }, children: n }) });
1833
1833
  };
1834
1834
  const er = ({
1835
1835
  maxWidth: e = !1,
@@ -1858,25 +1858,25 @@ const tr = ({
1858
1858
  children: r,
1859
1859
  ...c
1860
1860
  }) => /* @__PURE__ */ s.jsx("span", { className: S("pill", e, t, n), ...c, children: r });
1861
- const Ut = ({ element: e = "p", children: t = null, className: n = "", ...r }) => N.createElement(e, { ...r, className: S("status-banner text-small", n), "aria-live": "assertive" }, t);
1861
+ const Wt = ({ element: e = "p", children: t = null, className: n = "", ...r }) => N.createElement(e, { ...r, className: S("status-banner text-small", n), "aria-live": "assertive" }, t);
1862
1862
  const nr = ({ progress: e = 0, text: t = !1, className: n = "" }) => {
1863
1863
  const r = R(), c = e > 75 ? 100 : e > 50 ? 75 : e > 25 ? 50 : e > 5 ? 25 : 0, i = { "--progress": `${e}%` };
1864
1864
  return /* @__PURE__ */ s.jsx("span", { className: S(`progress-bar section-${c}`, n), style: i, children: /* @__PURE__ */ s.jsx(_e, { children: t ? `${e} ${t}` : r.formatMessage({ id: "progressBar" }, { number: e }) }) });
1865
1865
  }, sr = Ue(nr);
1866
- const St = "loadingBlock_", rr = ({ progress: e = 0, steps: t = !1, className: n = "" }) => {
1866
+ const Tt = "loadingBlock_", rr = ({ progress: e = 0, steps: t = !1, className: n = "" }) => {
1867
1867
  const r = R();
1868
1868
  t || (t = {
1869
- 0: { text: r.formatMessage({ id: `${St}loading` }) },
1870
- 75: { text: r.formatMessage({ id: `${St}almostDone` }) },
1871
- 100: { text: r.formatMessage({ id: `${St}complete` }) }
1869
+ 0: { text: r.formatMessage({ id: `${Tt}loading` }) },
1870
+ 75: { text: r.formatMessage({ id: `${Tt}almostDone` }) },
1871
+ 100: { text: r.formatMessage({ id: `${Tt}complete` }) }
1872
1872
  });
1873
1873
  let c = null;
1874
1874
  const i = Object.keys(t);
1875
1875
  for (let o = 0; o < i.length && !(e < parseInt(i[o])); o++)
1876
1876
  c = i[o];
1877
- const u = c && t[c].icon ? { "--icon": `url(${Qt}icons/${t[c].icon}.svg)` } : {};
1877
+ const u = c && t[c].icon ? { "--icon": `url(${Ht}icons/${t[c].icon}.svg)` } : {};
1878
1878
  return /* @__PURE__ */ s.jsxs(
1879
- Pe,
1879
+ Fe,
1880
1880
  {
1881
1881
  className: S("loading-block", n, { "has-icon": c && t[c].icon }),
1882
1882
  variant: "subtle",
@@ -1888,8 +1888,8 @@ const St = "loadingBlock_", rr = ({ progress: e = 0, steps: t = !1, className: n
1888
1888
  }
1889
1889
  );
1890
1890
  }, Do = Ue(rr);
1891
- const Ae = ({ element: e = "div", className: t = "", ...n }) => /* @__PURE__ */ s.jsx(vn, { element: e, className: S("loading-placeholder", t), ...n });
1892
- const Wt = {
1891
+ const Re = ({ element: e = "div", className: t = "", ...n }) => /* @__PURE__ */ s.jsx(kn, { element: e, className: S("loading-placeholder", t), ...n });
1892
+ const zt = {
1893
1893
  header: ["logo", "link", "link", "search"],
1894
1894
  sidebar: ["text", "text", "text", "text", "text"],
1895
1895
  "cards-section": ["subtitle", "cards"],
@@ -1906,29 +1906,29 @@ const Wt = {
1906
1906
  "cards-section",
1907
1907
  "footer"
1908
1908
  ]
1909
- }, $n = (e, t) => e in Wt ? /* @__PURE__ */ s.jsx("div", { className: e, children: Wt[e].map((n, r) => $n(n, r)) }, t) : /* @__PURE__ */ s.jsx(Ae, { className: e }, t), or = ({ layout: e = "overview-page", ...t }) => /* @__PURE__ */ s.jsx("div", { className: S("loading-state", e), ...t, children: Wt[e].map((n, r) => $n(n, r)) }), Mn = (e) => {
1909
+ }, Mn = (e, t) => e in zt ? /* @__PURE__ */ s.jsx("div", { className: e, children: zt[e].map((n, r) => Mn(n, r)) }, t) : /* @__PURE__ */ s.jsx(Re, { className: e }, t), or = ({ layout: e = "overview-page", ...t }) => /* @__PURE__ */ s.jsx("div", { className: S("loading-state", e), ...t, children: zt[e].map((n, r) => Mn(n, r)) }), Dn = (e) => {
1910
1910
  const t = e && e.toUpperCase().split(" ");
1911
1911
  return Array.isArray(t) && t.length > 1 && t[0] !== "" ? t[1] === "" ? t[0][0] : t[0][0] + t[t.length - 1][0] : e ? e.substr(0, 1) : "";
1912
- }, Ze = ["#5AB6A3", "#A2D7AF", "#806056", "#3962B3"], ar = (e) => {
1913
- const t = Math.ceil(26 / Ze.length), n = Mn(e).toLowerCase();
1912
+ }, Ke = ["#5AB6A3", "#A2D7AF", "#806056", "#3962B3"], ar = (e) => {
1913
+ const t = Math.ceil(26 / Ke.length), n = Dn(e).toLowerCase();
1914
1914
  if (n === "")
1915
- return Ze[0];
1915
+ return Ke[0];
1916
1916
  const r = n.charCodeAt(0) - 96;
1917
- for (let c = 0; c < Ze.length; c++)
1917
+ for (let c = 0; c < Ke.length; c++)
1918
1918
  if (r <= t * (c + 1))
1919
- return Ze[c];
1919
+ return Ke[c];
1920
1920
  };
1921
- const fn = 256, gt = ({
1921
+ const hn = 256, _t = ({
1922
1922
  className: e = "",
1923
1923
  src: t = "",
1924
1924
  name: n,
1925
1925
  alt: r,
1926
- width: c = fn,
1927
- height: i = fn,
1926
+ width: c = hn,
1927
+ height: i = hn,
1928
1928
  ...u
1929
1929
  }) => {
1930
1930
  const [o, l] = O(!1), a = de(null);
1931
- J(() => {
1931
+ G(() => {
1932
1932
  const f = a.current;
1933
1933
  if (!f)
1934
1934
  return;
@@ -1936,7 +1936,7 @@ const fn = 256, gt = ({
1936
1936
  if (!h)
1937
1937
  return;
1938
1938
  const p = c, _ = i;
1939
- typeof window < "u" && window.devicePixelRatio && (f.width = p * window.devicePixelRatio, f.height = _ * window.devicePixelRatio, h.scale(window.devicePixelRatio, window.devicePixelRatio)), h.fillStyle = ar(n), h.fillRect(0, 0, p, _), h.font = `${p / 3}px Arial`, h.textAlign = "center", h.fillStyle = "white", h.fillText(Mn(n), p / 2, _ / 1.6);
1939
+ typeof window < "u" && window.devicePixelRatio && (f.width = p * window.devicePixelRatio, f.height = _ * window.devicePixelRatio, h.scale(window.devicePixelRatio, window.devicePixelRatio)), h.fillStyle = ar(n), h.fillRect(0, 0, p, _), h.font = `${p / 3}px Arial`, h.textAlign = "center", h.fillStyle = "white", h.fillText(Dn(n), p / 2, _ / 1.6);
1940
1940
  }, [n]);
1941
1941
  let d = !1;
1942
1942
  return t && t !== "" && !o && (t.includes("http") || t.includes("//")) && (d = !0), /* @__PURE__ */ s.jsx(
@@ -1958,10 +1958,10 @@ const fn = 256, gt = ({
1958
1958
  ) : /* @__PURE__ */ s.jsx("canvas", { ref: a })
1959
1959
  }
1960
1960
  );
1961
- }, Dn = (e) => e === "apolitical" ? {
1962
- image: `${Qt}logos/member_apolitical.svg`
1961
+ }, Nn = (e) => e === "apolitical" ? {
1962
+ image: `${Ht}logos/member_apolitical.svg`
1963
1963
  } : e === "community" || typeof e == "object" && !e.name ? {
1964
- image: `${Qt}logos/member_community.svg`
1964
+ image: `${Ht}logos/member_community.svg`
1965
1965
  } : {
1966
1966
  name: e.name,
1967
1967
  role: e.jobTitle || "",
@@ -1980,9 +1980,9 @@ const fn = 256, gt = ({
1980
1980
  return "";
1981
1981
  const o = `${e}${c && i ? ` — ${t}` : t}`;
1982
1982
  let l = `${o}${(c || i) && u ? `, ${n}` : n}`;
1983
- return l.length > r && (l = o), l.length > r && (l = lt(l, r)), l;
1983
+ return l.length > r && (l = o), l.length > r && (l = dt(l, r)), l;
1984
1984
  };
1985
- const Yt = ({
1985
+ const Gt = ({
1986
1986
  element: e = "div",
1987
1987
  member: t = "community",
1988
1988
  additionalContent: n = !1,
@@ -1990,13 +1990,13 @@ const Yt = ({
1990
1990
  gtmType: c = "member-click",
1991
1991
  className: i = ""
1992
1992
  }) => {
1993
- const u = R(), o = Dn(t);
1993
+ const u = R(), o = Nn(t);
1994
1994
  o.name || (o.name = u.formatMessage({ id: `member_${typeof t == "string" ? t : "community"}` }));
1995
1995
  const { name: l, url: a, image: d } = o, f = ir(o), h = n && n.createdAt ? Ds(n.createdAt) : !1, p = n && n.createdAt ? Ms(n.createdAt) : "";
1996
1996
  return N.createElement(e, {
1997
1997
  className: S("member text-medium", i),
1998
1998
  children: /* @__PURE__ */ s.jsxs(
1999
- ht,
1999
+ pt,
2000
2000
  {
2001
2001
  href: a,
2002
2002
  gtmType: c,
@@ -2005,7 +2005,7 @@ const Yt = ({
2005
2005
  _ == null || _.stopPropagation();
2006
2006
  },
2007
2007
  children: [
2008
- /* @__PURE__ */ s.jsx(gt, { name: l, src: d }),
2008
+ /* @__PURE__ */ s.jsx(_t, { name: l, src: d }),
2009
2009
  /* @__PURE__ */ s.jsxs("p", { className: "details", children: [
2010
2010
  /* @__PURE__ */ s.jsx("strong", { children: l }),
2011
2011
  n && /* @__PURE__ */ s.jsxs("span", { className: "additional-content", children: [
@@ -2019,7 +2019,7 @@ const Yt = ({
2019
2019
  )
2020
2020
  });
2021
2021
  };
2022
- const hn = {
2022
+ const pn = {
2023
2023
  small: 24,
2024
2024
  medium: 48
2025
2025
  }, cr = ({
@@ -2043,16 +2043,16 @@ const hn = {
2043
2043
  /* @__PURE__ */ s.jsx("ul", { children: n.map((f, h) => {
2044
2044
  let p, _ = "";
2045
2045
  if (h < o) {
2046
- const { name: k = "", image: w = "" } = Dn(f);
2046
+ const { name: k = "", image: w = "" } = Nn(f);
2047
2047
  if (u)
2048
- return /* @__PURE__ */ s.jsx(Ae, { element: "li", className: "contributor" }, h);
2048
+ return /* @__PURE__ */ s.jsx(Re, { element: "li", className: "contributor" }, h);
2049
2049
  p = /* @__PURE__ */ s.jsx(
2050
- gt,
2050
+ _t,
2051
2051
  {
2052
2052
  name: k,
2053
2053
  src: w,
2054
- width: hn[c || "medium"],
2055
- height: hn[c || "medium"]
2054
+ width: pn[c || "medium"],
2055
+ height: pn[c || "medium"]
2056
2056
  }
2057
2057
  );
2058
2058
  } else if (h === o) {
@@ -2070,7 +2070,7 @@ const hn = {
2070
2070
  }
2071
2071
  return p ? /* @__PURE__ */ s.jsx("li", { className: S("contributor", _), children: p }, h) : null;
2072
2072
  }) }),
2073
- r && /* @__PURE__ */ s.jsx("span", { className: "label", children: typeof r == "string" ? r : n.length === 1 ? typeof n[0] == "string" ? d.formatMessage({ id: `member_${n[0]}` }) : lt(n[0].name || "", 20) : null })
2073
+ r && /* @__PURE__ */ s.jsx("span", { className: "label", children: typeof r == "string" ? r : n.length === 1 ? typeof n[0] == "string" ? d.formatMessage({ id: `member_${n[0]}` }) : dt(n[0].name || "", 20) : null })
2074
2074
  ] })
2075
2075
  });
2076
2076
  }, lr = ({ showDevTools: e = !0, children: t }) => {
@@ -2090,10 +2090,10 @@ const hn = {
2090
2090
  e && /* @__PURE__ */ s.jsx(ms, { initialIsOpen: !1 })
2091
2091
  ] });
2092
2092
  };
2093
- var dr = zt({ client: st });
2093
+ var dr = Vt({ client: rt });
2094
2094
  function ur(e) {
2095
- var t = e.children, n = e.client, r = e.apiKey, c = e.options, i = ct(function() {
2096
- return n && r && console.warn("[PostHog.js] You have provided both a client and an apiKey to PostHogProvider. The apiKey will be ignored in favour of the client."), n && c && console.warn("[PostHog.js] You have provided both a client and options to PostHogProvider. The options will be ignored in favour of the client."), n || (r && (st.__loaded && console.warn("[PostHog.js] was already loaded elsewhere. This may cause issues."), st.init(r, c)), st);
2095
+ var t = e.children, n = e.client, r = e.apiKey, c = e.options, i = lt(function() {
2096
+ return n && r && console.warn("[PostHog.js] You have provided both a client and an apiKey to PostHogProvider. The apiKey will be ignored in favour of the client."), n && c && console.warn("[PostHog.js] You have provided both a client and options to PostHogProvider. The options will be ignored in favour of the client."), n || (r && (rt.__loaded && console.warn("[PostHog.js] was already loaded elsewhere. This may cause issues."), rt.init(r, c)), rt);
2097
2097
  }, [n, r]);
2098
2098
  return N.createElement(dr.Provider, { value: { client: i } }, t);
2099
2099
  }
@@ -2115,25 +2115,25 @@ const mr = ({ children: e, user: t }) => t.isLoading ? /* @__PURE__ */ s.jsx(s.F
2115
2115
  }
2116
2116
  ) : e, fr = ({ children: e, locale: t, messages: n }) => {
2117
2117
  const r = t || "en", c = {
2118
- ...Ps[r],
2118
+ ...Cs[r],
2119
2119
  ...n || {}
2120
2120
  };
2121
2121
  return /* @__PURE__ */ s.jsx(cs, { locale: r, messages: c, children: e });
2122
- }, Se = zt(null), hr = ({ children: e, user: t }) => /* @__PURE__ */ s.jsx(Se.Provider, { value: t, children: e }), No = ({ bootstrap: e, children: t, intl: n }) => {
2122
+ }, Se = Vt(null), hr = ({ children: e, user: t }) => /* @__PURE__ */ s.jsx(Se.Provider, { value: t, children: e }), No = ({ bootstrap: e, children: t, intl: n }) => {
2123
2123
  const [r, c] = O({ isLoading: !0 });
2124
- return J(() => {
2124
+ return G(() => {
2125
2125
  e().then((i) => c({ ...i, isLoading: !1 })).catch(() => c({ isLoading: !1 }));
2126
2126
  }, []), /* @__PURE__ */ s.jsx(fr, { locale: n == null ? void 0 : n.locale, messages: n == null ? void 0 : n.messages, children: /* @__PURE__ */ s.jsx(hr, { user: r, children: /* @__PURE__ */ s.jsx(lr, { children: /* @__PURE__ */ s.jsx(mr, { user: r, children: t }) }) }) });
2127
2127
  };
2128
- const Tt = "joinCommunityButton", Nn = ({ isMember: e = !1, isShort: t = !1, functions: { join: n, leave: r } = { join: () => {
2128
+ const $t = "joinCommunityButton", An = ({ isMember: e = !1, isShort: t = !1, functions: { join: n, leave: r } = { join: () => {
2129
2129
  }, leave: () => {
2130
2130
  } } }) => {
2131
2131
  const c = R(), i = ye(Se), u = i && typeof i.id == "string", [o, l] = O(e), [a, d] = O(e ? "joined" : "notJoined");
2132
- J(() => {
2132
+ G(() => {
2133
2133
  a === "joining" ? d("joined") : a === "leaving" && d("notJoined");
2134
2134
  }, [o]);
2135
2135
  const f = {}, h = {};
2136
- return o && a !== "leaving" && (f["data-hover-text"] = c.formatMessage({ id: `${Tt}_leave` }), f["aria-label"] = c.formatMessage({ id: `${Tt}_member_aria` }), h["aria-hidden"] = "true"), /* @__PURE__ */ s.jsx(
2136
+ return o && a !== "leaving" && (f["data-hover-text"] = c.formatMessage({ id: `${$t}_leave` }), f["aria-label"] = c.formatMessage({ id: `${$t}_member_aria` }), h["aria-hidden"] = "true"), /* @__PURE__ */ s.jsx(
2137
2137
  z,
2138
2138
  {
2139
2139
  variant: o ? "secondary" : "primary",
@@ -2146,11 +2146,11 @@ const Tt = "joinCommunityButton", Nn = ({ isMember: e = !1, isShort: t = !1, fun
2146
2146
  className: S("join-community-button", a, { active: a === "joining" }),
2147
2147
  disabled: !u,
2148
2148
  ...f,
2149
- children: /* @__PURE__ */ s.jsx("span", { className: "text", ...h, children: c.formatMessage({ id: `${Tt}${["joining", "leaving"].includes(a) ? `_${a}` : o ? "_member" : t ? "_short" : ""}` }) })
2149
+ children: /* @__PURE__ */ s.jsx("span", { className: "text", ...h, children: c.formatMessage({ id: `${$t}${["joining", "leaving"].includes(a) ? `_${a}` : o ? "_member" : t ? "_short" : ""}` }) })
2150
2150
  }
2151
2151
  );
2152
2152
  };
2153
- const $t = "communityDetails_", Ao = ({
2153
+ const Mt = "communityDetails_", Ao = ({
2154
2154
  className: e = "",
2155
2155
  isMember: t = !1,
2156
2156
  slug: n,
@@ -2163,10 +2163,10 @@ const $t = "communityDetails_", Ao = ({
2163
2163
  /* @__PURE__ */ s.jsxs("div", { className: "member-details", children: [
2164
2164
  /* @__PURE__ */ s.jsxs("div", { className: "top", children: [
2165
2165
  /* @__PURE__ */ s.jsxs("h3", { children: [
2166
- o.formatMessage({ id: `${$t}members` }),
2166
+ o.formatMessage({ id: `${Mt}members` }),
2167
2167
  /* @__PURE__ */ s.jsx("span", { className: "count", children: a })
2168
2168
  ] }),
2169
- /* @__PURE__ */ s.jsx("p", { className: "text-small", children: /* @__PURE__ */ s.jsx("a", { href: `/communities/${n}/members`, children: o.formatMessage({ id: `${$t}viewAll` }) }) })
2169
+ /* @__PURE__ */ s.jsx("p", { className: "text-small", children: /* @__PURE__ */ s.jsx("a", { href: `/communities/${n}/members`, children: o.formatMessage({ id: `${Mt}viewAll` }) }) })
2170
2170
  ] }),
2171
2171
  /* @__PURE__ */ s.jsx(
2172
2172
  cr,
@@ -2184,7 +2184,7 @@ const $t = "communityDetails_", Ao = ({
2184
2184
  }
2185
2185
  )
2186
2186
  ] }),
2187
- /* @__PURE__ */ s.jsx(Nn, { isMember: t, functions: { ...u } }),
2187
+ /* @__PURE__ */ s.jsx(An, { isMember: t, functions: { ...u } }),
2188
2188
  t && /* @__PURE__ */ s.jsx(
2189
2189
  z,
2190
2190
  {
@@ -2192,7 +2192,7 @@ const $t = "communityDetails_", Ao = ({
2192
2192
  onClick: i,
2193
2193
  icon: { icon: "plus" },
2194
2194
  styling: { fullWidth: !0 },
2195
- children: o.formatMessage({ id: `${$t}invite` })
2195
+ children: o.formatMessage({ id: `${Mt}invite` })
2196
2196
  }
2197
2197
  )
2198
2198
  ] });
@@ -2207,11 +2207,11 @@ const Ro = ({
2207
2207
  /* @__PURE__ */ s.jsx(_e, { element: "p", children: r.formatMessage({ id: "breadcrumbs_label" }) }),
2208
2208
  /* @__PURE__ */ s.jsx("ul", { className: S("breadcrumbs text-small", n), children: e.map(({ text: c, href: i, current: u = !1 }, o) => /* @__PURE__ */ s.jsxs("li", { children: [
2209
2209
  u && /* @__PURE__ */ s.jsx(_e, { element: "span", children: r.formatMessage({ id: "breadcrumbs_currentPage" }) }),
2210
- /* @__PURE__ */ s.jsx(ht, { href: u ? void 0 : i, children: lt(c, t) })
2210
+ /* @__PURE__ */ s.jsx(pt, { href: u ? void 0 : i, children: dt(c, t) })
2211
2211
  ] }, `${window.btoa(c)}_${o}`)) })
2212
2212
  ] });
2213
2213
  };
2214
- const Co = ({
2214
+ const Po = ({
2215
2215
  options: e,
2216
2216
  allOption: t = !1,
2217
2217
  allowMultiple: n = !0,
@@ -2247,7 +2247,7 @@ const Co = ({
2247
2247
  i === "before-lang" ? r += `/${c}` : (r.includes(`/${n}/`) || (r += `/${n}`), r += `/${c}`);
2248
2248
  }), r.includes(`/${n}/`) || (r += `/${n}`), r;
2249
2249
  };
2250
- const Mt = { en: "English", es: "Español", fr: "Français", pt: "Português" }, Ke = "languageSwitcher_", Po = ({
2250
+ const Dt = { en: "English", es: "Español", fr: "Français", pt: "Português" }, qe = "languageSwitcher_", Co = ({
2251
2251
  currentLanguage: e,
2252
2252
  isOriginalLanguage: t = !1,
2253
2253
  isHumanTranslation: n = !1,
@@ -2260,33 +2260,33 @@ const Mt = { en: "English", es: "Español", fr: "Français", pt: "Português" },
2260
2260
  className: l = ""
2261
2261
  }) => {
2262
2262
  const a = R(), [d, f] = O(e);
2263
- if (J(() => {
2263
+ if (G(() => {
2264
2264
  e !== d && f(e);
2265
2265
  }, [e]), !r || !Object.values(r).some((k) => k && k.post_name))
2266
2266
  return null;
2267
2267
  const p = Object.keys(r), _ = d !== e;
2268
2268
  return /* @__PURE__ */ s.jsxs("div", { className: S("language-switcher text-small", u, l), children: [
2269
2269
  /* @__PURE__ */ s.jsxs("nav", { children: [
2270
- u !== "short" && /* @__PURE__ */ s.jsx("p", { children: o || a.formatMessage({ id: `${Ke}label` }) }),
2270
+ u !== "short" && /* @__PURE__ */ s.jsx("p", { children: o || a.formatMessage({ id: `${qe}label` }) }),
2271
2271
  /* @__PURE__ */ s.jsx("ul", { children: p.map((k) => {
2272
- if (!Mt[k])
2272
+ if (!Dt[k])
2273
2273
  return null;
2274
2274
  let w = { className: k };
2275
- return d === k ? w["aria-label"] = a.formatMessage({ id: `${Ke}selected` }, { language: Mt[k] }) : w = {
2275
+ return d === k ? w["aria-label"] = a.formatMessage({ id: `${qe}selected` }, { language: Dt[k] }) : w = {
2276
2276
  ...w,
2277
2277
  href: pr(k, i),
2278
2278
  onClick: (y) => {
2279
2279
  y.preventDefault(), y.stopPropagation(), f(k), c(k);
2280
2280
  }
2281
- }, /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(ht, { ...w, fallbackElement: "span", children: Mt[k] }) }, k);
2281
+ }, /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(pt, { ...w, fallbackElement: "span", children: Dt[k] }) }, k);
2282
2282
  }) }),
2283
- u !== "short" && !_ && /* @__PURE__ */ s.jsx("p", { children: a.formatMessage({ id: `${Ke}translation_${t ? "original" : n ? "human" : "machine"}` }) })
2283
+ u !== "short" && !_ && /* @__PURE__ */ s.jsx("p", { children: a.formatMessage({ id: `${qe}translation_${t ? "original" : n ? "human" : "machine"}` }) })
2284
2284
  ] }),
2285
2285
  u !== "short" && !_ && !t && !n && /* @__PURE__ */ s.jsx("small", {
2286
2286
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2287
2287
  // @ts-ignore
2288
2288
  // `values` are throwing a type error: https://github.com/formatjs/formatjs/issues/3633
2289
- children: a.formatMessage({ id: `${Ke}disclaimer` }, {
2289
+ children: a.formatMessage({ id: `${qe}disclaimer` }, {
2290
2290
  email: Je.support,
2291
2291
  link: (k) => {
2292
2292
  const w = `mailto:${k}`;
@@ -2296,7 +2296,7 @@ const Mt = { en: "English", es: "Español", fr: "Français", pt: "Português" },
2296
2296
  })
2297
2297
  ] });
2298
2298
  };
2299
- const Dt = ls({ locale: "en", messages: Vt }), gr = ({
2299
+ const Nt = ls({ locale: "en", messages: Yt }), gr = ({
2300
2300
  page: e = 1,
2301
2301
  length: t = 0,
2302
2302
  limit: n = 10,
@@ -2304,9 +2304,9 @@ const Dt = ls({ locale: "en", messages: Vt }), gr = ({
2304
2304
  },
2305
2305
  icon: c = !1,
2306
2306
  messages: i = {
2307
- button: Dt.formatMessage({ id: "loadMore_button" }),
2308
- endOfFeed: Dt.formatMessage({ id: "loadMore_endOfFeed" }),
2309
- error: Dt.formatMessage({ id: "loadMore_error" })
2307
+ button: Nt.formatMessage({ id: "loadMore_button" }),
2308
+ endOfFeed: Nt.formatMessage({ id: "loadMore_endOfFeed" }),
2309
+ error: Nt.formatMessage({ id: "loadMore_error" })
2310
2310
  },
2311
2311
  className: u = "",
2312
2312
  gtmContext: o = "LoadMore"
@@ -2338,12 +2338,12 @@ const Dt = ls({ locale: "en", messages: Vt }), gr = ({
2338
2338
  )
2339
2339
  ] });
2340
2340
  };
2341
- let qe = !1;
2341
+ let et = !1;
2342
2342
  const _r = ({ element: e = "div", id: t = "more-menu", options: n, className: r = "" }) => {
2343
2343
  const c = R(), i = de(null), [u, o] = O(!1), l = (a) => {
2344
2344
  i.current && a.target instanceof HTMLElement && !i.current.contains(a.target) && o(!1);
2345
2345
  };
2346
- return J(() => (document.addEventListener("click", l, !0), () => {
2346
+ return G(() => (document.addEventListener("click", l, !0), () => {
2347
2347
  document.removeEventListener("click", l, !0);
2348
2348
  })), N.createElement(e, {
2349
2349
  ref: i,
@@ -2369,10 +2369,10 @@ const _r = ({ element: e = "div", id: t = "more-menu", options: n, className: r
2369
2369
  o(!1), typeof d == "function" && d(w);
2370
2370
  },
2371
2371
  onFocus: () => {
2372
- qe && (clearTimeout(qe), qe = !1);
2372
+ et && (clearTimeout(et), et = !1);
2373
2373
  },
2374
2374
  onBlur: () => {
2375
- qe = setTimeout(() => {
2375
+ et = setTimeout(() => {
2376
2376
  o(!1);
2377
2377
  }, 100);
2378
2378
  }
@@ -2441,7 +2441,7 @@ const br = [
2441
2441
  className: "gtm-trackable",
2442
2442
  children: [
2443
2443
  /* @__PURE__ */ s.jsx(
2444
- gt,
2444
+ _t,
2445
2445
  {
2446
2446
  name: (n == null ? void 0 : n.name) || "",
2447
2447
  src: n != null && n.image ? n.image.thumbnail : ""
@@ -2453,7 +2453,7 @@ const br = [
2453
2453
  ) })
2454
2454
  ] });
2455
2455
  };
2456
- const An = ({ variant: e = "default", version: t = "default", className: n = "", ...r }) => /* @__PURE__ */ s.jsx("p", { className: "logo-wrapper", children: /* @__PURE__ */ s.jsx("a", { href: "/home/", className: S("logo", e, t, n), ...r, children: /* @__PURE__ */ s.jsx(_e, { children: /* @__PURE__ */ s.jsx(Ce, { id: "apolitical" }) }) }) });
2456
+ const Rn = ({ variant: e = "default", version: t = "default", className: n = "", ...r }) => /* @__PURE__ */ s.jsx("p", { className: "logo-wrapper", children: /* @__PURE__ */ s.jsx("a", { href: "/home/", className: S("logo", e, t, n), ...r, children: /* @__PURE__ */ s.jsx(_e, { children: /* @__PURE__ */ s.jsx(Ce, { id: "apolitical" }) }) }) });
2457
2457
  const vr = {
2458
2458
  "2-1": 901,
2459
2459
  "1-3": 769
@@ -2463,31 +2463,31 @@ const vr = {
2463
2463
  className: n = "",
2464
2464
  children: r
2465
2465
  }) => {
2466
- const c = mt(!0);
2466
+ const c = ft(!0);
2467
2467
  let i = r;
2468
2468
  return N.Children.count(r) === 1 && (i = N.Children.toArray(r)[0], i.props && (i = i.props.children)), /* @__PURE__ */ s.jsx("section", { className: S("columns", `layout-${e}`, n), children: N.Children.map(i, (u, o) => t !== !1 && o === t && c && c < vr[e] ? null : u) });
2469
2469
  }, Fo = ({ activeLink: e, ...t }) => /* @__PURE__ */ s.jsx(kr, { layout: "1-3", children: /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
2470
2470
  /* @__PURE__ */ s.jsx(wr, { activeLink: e }),
2471
2471
  /* @__PURE__ */ s.jsx(er, { ...t })
2472
2472
  ] }) });
2473
- const Nt = "cookieBanner_", At = ["apol-cookie-banner", "apolitical-performance-cookie-consent", "functional-cookie-consent"], Rt = new Date(Date.now() + 12 * 30 * 24 * 60 * 60 * 1e3), jr = () => {
2474
- const e = R(), [t, n, r] = fs(At), [c, i] = O(!t["apol-cookie-banner"]), u = () => {
2475
- At.forEach((d) => {
2473
+ const At = "cookieBanner_", Rt = ["apol-cookie-banner", "apolitical-performance-cookie-consent", "functional-cookie-consent"], Pt = new Date(Date.now() + 12 * 30 * 24 * 60 * 60 * 1e3), jr = () => {
2474
+ const e = R(), [t, n, r] = fs(Rt), [c, i] = O(!t["apol-cookie-banner"]), u = () => {
2475
+ Rt.forEach((d) => {
2476
2476
  n(d, !0, {
2477
2477
  path: "/",
2478
- expires: Rt,
2478
+ expires: Pt,
2479
2479
  domain: d === "apolitical-performance-cookie-consent" ? ".apolitical.co" : void 0
2480
2480
  });
2481
2481
  }), i(!1), window.location.reload();
2482
2482
  }, o = () => {
2483
2483
  n("apol-cookie-banner", !0, {
2484
2484
  path: "/",
2485
- expires: Rt
2486
- }), At.forEach((d) => {
2485
+ expires: Pt
2486
+ }), Rt.forEach((d) => {
2487
2487
  if (d === "apol-cookie-banner") {
2488
2488
  n(d, !0, {
2489
2489
  path: "/",
2490
- expires: Rt
2490
+ expires: Pt
2491
2491
  });
2492
2492
  return;
2493
2493
  }
@@ -2509,14 +2509,14 @@ const Nt = "cookieBanner_", At = ["apol-cookie-banner", "apolitical-performance-
2509
2509
  className: "gtm-trackable",
2510
2510
  "data-gtm-event-context": "cookie-banner",
2511
2511
  "data-gtm-event-type": `cookie-${d.gtmType}-click`,
2512
- children: e.formatMessage({ id: `${Nt}buttons_${d.id}` })
2512
+ children: e.formatMessage({ id: `${At}buttons_${d.id}` })
2513
2513
  });
2514
2514
  }), /* @__PURE__ */ s.jsxs("aside", { id: "cookie-banner", className: "text-medium", children: [
2515
- /* @__PURE__ */ s.jsx("h6", { children: e.formatMessage({ id: `${Nt}title` }) }),
2516
- /* @__PURE__ */ s.jsx("p", { children: e.formatMessage({ id: `${Nt}text` }) }),
2517
- /* @__PURE__ */ s.jsx(ft, { buttons: a })
2515
+ /* @__PURE__ */ s.jsx("h6", { children: e.formatMessage({ id: `${At}title` }) }),
2516
+ /* @__PURE__ */ s.jsx("p", { children: e.formatMessage({ id: `${At}text` }) }),
2517
+ /* @__PURE__ */ s.jsx(ht, { buttons: a })
2518
2518
  ] });
2519
- }, De = {
2519
+ }, Ne = {
2520
2520
  platform: {
2521
2521
  order: ["events", "courses", "qanda", "articles"],
2522
2522
  // An array guarantees the right order
@@ -2610,28 +2610,28 @@ const Nt = "cookieBanner_", At = ["apol-cookie-banner", "apolitical-performance-
2610
2610
  facebook: { href: "https://www.facebook.com/apoliticalco" }
2611
2611
  }
2612
2612
  };
2613
- const Ie = "footer_", ot = "SiteFooter", pn = ({ group: e }) => {
2614
- const t = De[e].order || [];
2613
+ const Ie = "footer_", at = "SiteFooter", gn = ({ group: e }) => {
2614
+ const t = Ne[e].order || [];
2615
2615
  let n = !1;
2616
- return "text" in De[e] && (n = De[e].text), /* @__PURE__ */ s.jsxs(Bt, { children: [
2616
+ return "text" in Ne[e] && (n = Ne[e].text), /* @__PURE__ */ s.jsxs(It, { children: [
2617
2617
  /* @__PURE__ */ s.jsx("p", { className: "pre-title", children: /* @__PURE__ */ s.jsx(Ce, { id: `${Ie}${e}` }) }),
2618
2618
  Array.isArray(t) && t.length > 0 && /* @__PURE__ */ s.jsx("ul", { className: "text-medium", children: t.map((r) => {
2619
2619
  if (["order", "child", "text"].includes(r))
2620
2620
  return null;
2621
- const { href: c, gtmType: i } = De[e][r], u = {};
2621
+ const { href: c, gtmType: i } = Ne[e][r], u = {};
2622
2622
  return ["legal"].includes(e) && (u.target = "_blank", u.rel = "noopener"), /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(
2623
2623
  "a",
2624
2624
  {
2625
2625
  href: c,
2626
2626
  className: "gtm-trackable",
2627
- "data-gtm-event-context": ot,
2627
+ "data-gtm-event-context": at,
2628
2628
  "data-gtm-event-type": i,
2629
2629
  ...u,
2630
2630
  children: /* @__PURE__ */ s.jsx(Ce, { id: `${Ie}${e}_${r}` })
2631
2631
  }
2632
2632
  ) }, `${e}_${r}`);
2633
2633
  }) }),
2634
- typeof n != "boolean" && "order" in n && Array.isArray(n.order) && /* @__PURE__ */ s.jsx("dl", { className: "text-medium", children: n.order.map((r) => /* @__PURE__ */ s.jsxs(Bt, { children: [
2634
+ typeof n != "boolean" && "order" in n && Array.isArray(n.order) && /* @__PURE__ */ s.jsx("dl", { className: "text-medium", children: n.order.map((r) => /* @__PURE__ */ s.jsxs(It, { children: [
2635
2635
  /* @__PURE__ */ s.jsx("dt", { children: /* @__PURE__ */ s.jsx(Ce, { id: `${Ie}${e}_${r}` }) }),
2636
2636
  /* @__PURE__ */ s.jsxs("dd", { children: [
2637
2637
  typeof n != "boolean" && n[r].address && /* @__PURE__ */ s.jsx("address", { children: /* @__PURE__ */ s.jsx(Ce, { id: `${Ie}${e}_${r}_address`, values: { br: /* @__PURE__ */ s.jsx("br", {}) } }) }),
@@ -2640,7 +2640,7 @@ const Ie = "footer_", ot = "SiteFooter", pn = ({ group: e }) => {
2640
2640
  {
2641
2641
  href: `mailto:${n[r].email}`,
2642
2642
  className: "gtm-trackable",
2643
- "data-gtm-event-context": ot,
2643
+ "data-gtm-event-context": at,
2644
2644
  "data-gtm-event-type": n[r].gtmType,
2645
2645
  children: n[r].email
2646
2646
  }
@@ -2648,26 +2648,26 @@ const Ie = "footer_", ot = "SiteFooter", pn = ({ group: e }) => {
2648
2648
  ] })
2649
2649
  ] }, `dl-${e}-${r}`)) })
2650
2650
  ] }, e);
2651
- }, Rn = () => /* @__PURE__ */ s.jsx("div", { id: "footer", children: /* @__PURE__ */ s.jsxs("div", { className: "wrapper", children: [
2652
- /* @__PURE__ */ s.jsx(vn, { element: "hr" }),
2651
+ }, Pn = () => /* @__PURE__ */ s.jsx("div", { id: "footer", children: /* @__PURE__ */ s.jsxs("div", { className: "wrapper", children: [
2652
+ /* @__PURE__ */ s.jsx(kn, { element: "hr" }),
2653
2653
  /* @__PURE__ */ s.jsx(
2654
- An,
2654
+ Rn,
2655
2655
  {
2656
2656
  variant: "inverted",
2657
2657
  version: "full",
2658
2658
  className: "gtm-trackable",
2659
- "data-gtm-event-context": ot,
2659
+ "data-gtm-event-context": at,
2660
2660
  "data-gtm-event-type": "logo-homepage-link"
2661
2661
  }
2662
2662
  ),
2663
2663
  /* @__PURE__ */ s.jsx("footer", { children: ["platform", "community", "company", "contact"].map((e) => /* @__PURE__ */ s.jsxs("div", { className: "group", children: [
2664
- /* @__PURE__ */ s.jsx(pn, { group: e }),
2665
- Object.keys(De[e]).includes("child") && /* @__PURE__ */ s.jsx(pn, { group: De[e].child })
2664
+ /* @__PURE__ */ s.jsx(gn, { group: e }),
2665
+ Object.keys(Ne[e]).includes("child") && /* @__PURE__ */ s.jsx(gn, { group: Ne[e].child })
2666
2666
  ] }, e)) }),
2667
2667
  /* @__PURE__ */ s.jsx("hr", {}),
2668
2668
  /* @__PURE__ */ s.jsxs("div", { className: "sub-footer", children: [
2669
- /* @__PURE__ */ s.jsx("ul", { children: Array.isArray(De.social.order) && De.social.order.map((e) => {
2670
- const t = De.social[e];
2669
+ /* @__PURE__ */ s.jsx("ul", { children: Array.isArray(Ne.social.order) && Ne.social.order.map((e) => {
2670
+ const t = Ne.social[e];
2671
2671
  return /* @__PURE__ */ s.jsx("li", { className: e, children: /* @__PURE__ */ s.jsx(
2672
2672
  "a",
2673
2673
  {
@@ -2675,7 +2675,7 @@ const Ie = "footer_", ot = "SiteFooter", pn = ({ group: e }) => {
2675
2675
  target: "_blank",
2676
2676
  rel: "noopener noreferrer",
2677
2677
  className: "gtm-trackable",
2678
- "data-gtm-event-context": ot,
2678
+ "data-gtm-event-context": at,
2679
2679
  "data-gtm-event-type": "social-click",
2680
2680
  children: /* @__PURE__ */ s.jsx("span", { className: "hidden", children: /* @__PURE__ */ s.jsx(Ce, { id: `${Ie}social_${e}` }) })
2681
2681
  }
@@ -2684,13 +2684,13 @@ const Ie = "footer_", ot = "SiteFooter", pn = ({ group: e }) => {
2684
2684
  /* @__PURE__ */ s.jsx("small", { children: /* @__PURE__ */ s.jsx(Ce, { id: `${Ie}copyright`, values: { currentYear: (/* @__PURE__ */ new Date()).getFullYear() } }) })
2685
2685
  ] })
2686
2686
  ] }) });
2687
- const et = "emailHelperTextBox_", Lo = ({ type: e, email: t, redirectPath: n, resendVerificationCode: r }) => {
2688
- const c = R(), [i, u] = O({ path: `${et}default`, type: "default", link: {}, mail: {}, error: "" }), [o, l] = O(!1), a = Ne(
2687
+ const tt = "emailHelperTextBox_", Lo = ({ type: e, email: t, redirectPath: n, resendVerificationCode: r }) => {
2688
+ const c = R(), [i, u] = O({ path: `${tt}default`, type: "default", link: {}, mail: {}, error: "" }), [o, l] = O(!1), a = Ae(
2689
2689
  (p) => {
2690
2690
  p.preventDefault(), p.stopPropagation();
2691
2691
  const _ = (k) => {
2692
2692
  u({
2693
- path: `${et}error_verificationFailedToSend`,
2693
+ path: `${tt}error_verificationFailedToSend`,
2694
2694
  type: "error",
2695
2695
  link: {
2696
2696
  "data-gtm-event-context": "VerifyEmailBox",
@@ -2710,7 +2710,7 @@ const et = "emailHelperTextBox_", Lo = ({ type: e, email: t, redirectPath: n, re
2710
2710
  });
2711
2711
  };
2712
2712
  if (typeof r != "function") {
2713
- _(c.formatMessage({ id: `${et}error_noFunction` }));
2713
+ _(c.formatMessage({ id: `${tt}error_noFunction` }));
2714
2714
  return;
2715
2715
  }
2716
2716
  l(!0), r(t).then(() => {
@@ -2724,9 +2724,9 @@ const et = "emailHelperTextBox_", Lo = ({ type: e, email: t, redirectPath: n, re
2724
2724
  /* eslint-disable react-hooks/exhaustive-deps */
2725
2725
  [t, n, r]
2726
2726
  );
2727
- J(
2727
+ G(
2728
2728
  () => {
2729
- let p = et, _ = "default", k = {}, w = {};
2729
+ let p = tt, _ = "default", k = {}, w = {};
2730
2730
  switch (e) {
2731
2731
  case "gov":
2732
2732
  p += "autoApproved", _ = "success";
@@ -2785,8 +2785,8 @@ const et = "emailHelperTextBox_", Lo = ({ type: e, email: t, redirectPath: n, re
2785
2785
  return ["link", "mail"].forEach((p) => {
2786
2786
  d[p] = Object.keys(i[p]).length ? (_) => /* @__PURE__ */ s.jsx("a", { ...i[p], children: _ }) : (_) => _;
2787
2787
  }), /* @__PURE__ */ s.jsx(zs, { type: i.type, heading: o ? !1 : c.formatMessage({ id: `${i.path}_title` }), children: o ? /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
2788
- /* @__PURE__ */ s.jsx(Ae, { element: "span" }),
2789
- /* @__PURE__ */ s.jsx(Ae, { element: "span" })
2788
+ /* @__PURE__ */ s.jsx(Re, { element: "span" }),
2789
+ /* @__PURE__ */ s.jsx(Re, { element: "span" })
2790
2790
  ] }) : (
2791
2791
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2792
2792
  // @ts-ignore
@@ -2806,24 +2806,24 @@ const et = "emailHelperTextBox_", Lo = ({ type: e, email: t, redirectPath: n, re
2806
2806
  )
2807
2807
  ) });
2808
2808
  };
2809
- const tt = "passwordRules_", Cn = "isMoreThanEightCharacters", Pn = "includesNumberAndSymbol", Fn = "includesLowerAndUppercase", yr = {
2809
+ const nt = "passwordRules_", Cn = "isMoreThanEightCharacters", Fn = "includesNumberAndSymbol", Ln = "includesLowerAndUppercase", yr = {
2810
2810
  [Cn]: "8Characters",
2811
- [Pn]: "numberSymbol",
2812
- [Fn]: "lowercaseUppercase"
2811
+ [Fn]: "numberSymbol",
2812
+ [Ln]: "lowercaseUppercase"
2813
2813
  }, Er = ({ matchingRules: e = { isMoreThanEightCharacters: !1, includesNumberAndSymbol: !1, includesLowerAndUppercase: !1 }, className: t = "" }) => {
2814
2814
  const n = R();
2815
2815
  return /* @__PURE__ */ s.jsxs("aside", { className: S("password-rules", t), children: [
2816
- /* @__PURE__ */ s.jsx("small", { children: n.formatMessage({ id: `${tt}intro` }) }),
2817
- /* @__PURE__ */ s.jsx("ul", { children: [Cn, Pn, Fn].map((r) => /* @__PURE__ */ s.jsxs("li", { className: S({ matches: e[r] }), children: [
2816
+ /* @__PURE__ */ s.jsx("small", { children: n.formatMessage({ id: `${nt}intro` }) }),
2817
+ /* @__PURE__ */ s.jsx("ul", { children: [Cn, Fn, Ln].map((r) => /* @__PURE__ */ s.jsxs("li", { className: S({ matches: e[r] }), children: [
2818
2818
  /* @__PURE__ */ s.jsxs(_e, { children: [
2819
- n.formatMessage({ id: `${tt}rule_label` }),
2819
+ n.formatMessage({ id: `${nt}rule_label` }),
2820
2820
  " "
2821
2821
  ] }),
2822
- /* @__PURE__ */ s.jsx("span", { children: n.formatMessage({ id: `${tt}rule_${yr[r]}` }) }),
2822
+ /* @__PURE__ */ s.jsx("span", { children: n.formatMessage({ id: `${nt}rule_${yr[r]}` }) }),
2823
2823
  !e[r] && /* @__PURE__ */ s.jsxs(_e, { element: "strong", children: [
2824
2824
  " ",
2825
2825
  " ",
2826
- n.formatMessage({ id: `${tt}notMet` })
2826
+ n.formatMessage({ id: `${nt}notMet` })
2827
2827
  ] })
2828
2828
  ] }, `rule-${r}`)) })
2829
2829
  ] });
@@ -2845,10 +2845,10 @@ const Bo = ({
2845
2845
  a((g) => ({ ...g, setUp: !0, disabled: !0 })), c(y);
2846
2846
  }
2847
2847
  };
2848
- if (J(() => {
2848
+ if (G(() => {
2849
2849
  u && !l.setUp && d();
2850
2850
  }, [u]), !u)
2851
- return /* @__PURE__ */ s.jsx(Ae, { className: "rating-placeholder" });
2851
+ return /* @__PURE__ */ s.jsx(Re, { className: "rating-placeholder" });
2852
2852
  const { id: f, rating: h, disabled: p } = l, _ = "ratings_", k = {
2853
2853
  text: o.formatMessage({ id: `${_}text` }),
2854
2854
  low: o.formatMessage({ id: `${_}low` }),
@@ -3079,7 +3079,7 @@ const Tr = ({
3079
3079
  return e[r];
3080
3080
  if (!t.includes("."))
3081
3081
  continue;
3082
- const c = bn(e[r], t);
3082
+ const c = wn(e[r], t);
3083
3083
  if (!(typeof c > "u") && (!n || c[t] && c[t].includes(n) || c.value && c.value.includes(n) || c.toString().includes(n)))
3084
3084
  return e[r];
3085
3085
  }
@@ -3133,7 +3133,7 @@ const Tr = ({
3133
3133
  }, 250);
3134
3134
  }
3135
3135
  }
3136
- }, at = {
3136
+ }, it = {
3137
3137
  order: ["home", "topics", "partners", "account"],
3138
3138
  home: {
3139
3139
  href: "/home/",
@@ -3209,7 +3209,7 @@ const Tr = ({
3209
3209
  props: { variant: "primary" }
3210
3210
  }
3211
3211
  }
3212
- }, it = ({
3212
+ }, ct = ({
3213
3213
  id: e,
3214
3214
  isLoggedIn: t = !1,
3215
3215
  isDesktopVersion: n = !1,
@@ -3218,7 +3218,7 @@ const Tr = ({
3218
3218
  },
3219
3219
  doTrack: i = null
3220
3220
  }) => {
3221
- const u = R(), o = bn(at, e);
3221
+ const u = R(), o = wn(it, e);
3222
3222
  if (!o || o.onlyShow && (o.onlyShow === "logged-in" && !t || o.onlyShow === "logged-out" && t))
3223
3223
  return null;
3224
3224
  const l = "doTrack" in o, a = i === null ? l ? o.doTrack : !0 : i, d = e.includes("buttons.");
@@ -3285,13 +3285,13 @@ const Tr = ({
3285
3285
  };
3286
3286
  return o[g].order ? /* @__PURE__ */ s.jsxs("li", { className: S({ [o[g].className]: o[g].className }), children: [
3287
3287
  u.formatMessage({ id: `${f}_${g}` }),
3288
- /* @__PURE__ */ s.jsx("ul", { children: o[g].order.map((M) => /* @__PURE__ */ s.jsx(it, { id: `${e}.${g}.${M}`, ...T }, M)) })
3289
- ] }, g) : /* @__PURE__ */ s.jsx(it, { id: `${e}.${g}`, ...T }, g);
3288
+ /* @__PURE__ */ s.jsx("ul", { children: o[g].order.map((M) => /* @__PURE__ */ s.jsx(ct, { id: `${e}.${g}.${M}`, ...T }, M)) })
3289
+ ] }, g) : /* @__PURE__ */ s.jsx(ct, { id: `${e}.${g}`, ...T }, g);
3290
3290
  }) })
3291
3291
  ] }, e);
3292
3292
  };
3293
- const $r = { height: 67, height_desktop: 83 }, Ln = ({ showNavigation: e = !0 }) => {
3294
- const t = R(), n = ye(Se), r = mt(!0, !0), c = n && typeof n.id == "string", i = ct(
3293
+ const $r = { height: 67, height_desktop: 83 }, On = ({ showNavigation: e = !0 }) => {
3294
+ const t = R(), n = ye(Se), r = ft(!0, !0), c = n && typeof n.id == "string", i = lt(
3295
3295
  () => H.getIsDesktopVersion(c, r),
3296
3296
  [c, r]
3297
3297
  ), [u, o] = rs($s, {
@@ -3351,7 +3351,7 @@ const $r = { height: 67, height_desktop: 83 }, Ln = ({ showNavigation: e = !0 })
3351
3351
  children: t.formatMessage({ id: "header_skip" })
3352
3352
  }
3353
3353
  ),
3354
- /* @__PURE__ */ s.jsx(An, {}),
3354
+ /* @__PURE__ */ s.jsx(Rn, {}),
3355
3355
  e && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
3356
3356
  !i.navigation && /* @__PURE__ */ s.jsx(
3357
3357
  "button",
@@ -3378,8 +3378,8 @@ const $r = { height: 67, height_desktop: 83 }, Ln = ({ showNavigation: e = !0 })
3378
3378
  hidden: i.navigation || a.account ? !1 : !a.navigation,
3379
3379
  role: "menu",
3380
3380
  "data-showing": !i.navigation && a.account ? "account" : "default",
3381
- children: at.order.map((p) => /* @__PURE__ */ s.jsx(
3382
- it,
3381
+ children: it.order.map((p) => /* @__PURE__ */ s.jsx(
3382
+ ct,
3383
3383
  {
3384
3384
  id: p,
3385
3385
  isLoggedIn: c,
@@ -3442,7 +3442,7 @@ const $r = { height: 67, height_desktop: 83 }, Ln = ({ showNavigation: e = !0 })
3442
3442
  id: `header_account_${a.account ? "hide" : "show"}`
3443
3443
  }) }),
3444
3444
  /* @__PURE__ */ s.jsx(
3445
- gt,
3445
+ _t,
3446
3446
  {
3447
3447
  name: n && n.name || "",
3448
3448
  src: n && n.image && n.image.thumbnail || ""
@@ -3450,7 +3450,7 @@ const $r = { height: 67, height_desktop: 83 }, Ln = ({ showNavigation: e = !0 })
3450
3450
  )
3451
3451
  ]
3452
3452
  }
3453
- ) : /* @__PURE__ */ s.jsx("ul", { className: "sign-in-buttons", children: at.buttons.order.map((p) => /* @__PURE__ */ s.jsx(it, { id: `buttons.${p}` }, p)) })
3453
+ ) : /* @__PURE__ */ s.jsx("ul", { className: "sign-in-buttons", children: it.buttons.order.map((p) => /* @__PURE__ */ s.jsx(ct, { id: `buttons.${p}` }, p)) })
3454
3454
  ] })
3455
3455
  ]
3456
3456
  }
@@ -3466,7 +3466,7 @@ const $r = { height: 67, height_desktop: 83 }, Ln = ({ showNavigation: e = !0 })
3466
3466
  )
3467
3467
  ] });
3468
3468
  };
3469
- const On = ({ element: e = "section", children: t, className: n, ...r }) => N.createElement(
3469
+ const Bn = ({ element: e = "section", children: t, className: n, ...r }) => N.createElement(
3470
3470
  e,
3471
3471
  {
3472
3472
  className: S("modal", n),
@@ -3474,7 +3474,7 @@ const On = ({ element: e = "section", children: t, className: n, ...r }) => N.cr
3474
3474
  ...r
3475
3475
  }
3476
3476
  );
3477
- const Bn = ({
3477
+ const In = ({
3478
3478
  id: e = "content-overlay",
3479
3479
  isOpen: t = !1,
3480
3480
  showDivider: n = !0,
@@ -3492,12 +3492,12 @@ const Bn = ({
3492
3492
  const h = R(), [p, _] = O(t), k = (y) => {
3493
3493
  _(y), y ? (c(), document.body.classList.add("has-overlay")) : (i(), document.body.classList.remove("has-overlay"));
3494
3494
  };
3495
- J(() => {
3495
+ G(() => {
3496
3496
  k(t);
3497
3497
  }, [t]);
3498
3498
  const w = r ? { "--max-width": `${r / 16}rem` } : {};
3499
3499
  return /* @__PURE__ */ s.jsx("div", { className: S("overlay", { open: p }), children: /* @__PURE__ */ s.jsx(
3500
- On,
3500
+ Bn,
3501
3501
  {
3502
3502
  id: e,
3503
3503
  className: S("overlay-modal", d, { "has-max-width": r }),
@@ -3524,9 +3524,9 @@ const Bn = ({
3524
3524
  l,
3525
3525
  a && /* @__PURE__ */ s.jsxs("div", { className: "bottom", children: [
3526
3526
  /* @__PURE__ */ s.jsx(He, {}),
3527
- /* @__PURE__ */ s.jsx(ft, { buttons: a })
3527
+ /* @__PURE__ */ s.jsx(ht, { buttons: a })
3528
3528
  ] }),
3529
- u && /* @__PURE__ */ s.jsx(Ut, { className: "error", children: u })
3529
+ u && /* @__PURE__ */ s.jsx(Wt, { className: "error", children: u })
3530
3530
  ] })
3531
3531
  }
3532
3532
  ) });
@@ -3548,7 +3548,7 @@ const Io = ({
3548
3548
  },
3549
3549
  sendInvites: a
3550
3550
  }) => /* @__PURE__ */ s.jsx(
3551
- Bn,
3551
+ In,
3552
3552
  {
3553
3553
  title: n,
3554
3554
  isOpen: t,
@@ -3572,15 +3572,15 @@ const Io = ({
3572
3572
  const Dr = () => {
3573
3573
  const e = R();
3574
3574
  return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
3575
- /* @__PURE__ */ s.jsx(Ln, {}),
3575
+ /* @__PURE__ */ s.jsx(On, {}),
3576
3576
  /* @__PURE__ */ s.jsx("div", { id: "content", children: /* @__PURE__ */ s.jsx(
3577
- pt,
3577
+ gt,
3578
3578
  {
3579
3579
  variant: "error",
3580
3580
  text: e.formatMessage({ id: "pageLayout_error" })
3581
3581
  }
3582
3582
  ) }),
3583
- /* @__PURE__ */ s.jsx(Rn, {})
3583
+ /* @__PURE__ */ s.jsx(Pn, {})
3584
3584
  ] });
3585
3585
  }, Qo = ({
3586
3586
  children: e,
@@ -3592,26 +3592,26 @@ const Dr = () => {
3592
3592
  locale: o = "en"
3593
3593
  }) => {
3594
3594
  const { navigation: l = !0, footer: a = !0 } = c, { background: d = "default", variant: f = "default", circle: h = "default" } = i, p = Es();
3595
- J(() => {
3595
+ G(() => {
3596
3596
  window.scrollTo(0, 0);
3597
3597
  }, [p]);
3598
- const _ = rt(e, { locale: o }), k = rt(t, {
3598
+ const _ = ot(e, { locale: o }), k = ot(t, {
3599
3599
  locale: o
3600
- }), w = rt(n, {
3600
+ }), w = ot(n, {
3601
3601
  locale: o
3602
3602
  }), y = {};
3603
3603
  return d !== "default" && (y[d] = !0), f !== "default" && (y[f] = !0), h !== "default" && (y[h] = !0), /* @__PURE__ */ s.jsx(gs, { onError: r, fallback: /* @__PURE__ */ s.jsx(Dr, {}), children: /* @__PURE__ */ s.jsx(os, { fallback: /* @__PURE__ */ s.jsx(or, { layout: "overview-page" }), children: /* @__PURE__ */ s.jsx("div", { id: "wrapper", className: S(u, y), children: /* @__PURE__ */ s.jsxs(hs, { children: [
3604
- /* @__PURE__ */ s.jsx(Ln, { showNavigation: l }),
3604
+ /* @__PURE__ */ s.jsx(On, { showNavigation: l }),
3605
3605
  k && /* @__PURE__ */ s.jsx("div", { className: "additional-content prepended", children: k }),
3606
- N.createElement(d === "bold" ? On : "div", {
3606
+ N.createElement(d === "bold" ? Bn : "div", {
3607
3607
  id: "content",
3608
3608
  children: _
3609
3609
  }),
3610
3610
  w && /* @__PURE__ */ s.jsx("div", { className: "additional-content appended", children: w }),
3611
- a && /* @__PURE__ */ s.jsx(Rn, {}),
3611
+ a && /* @__PURE__ */ s.jsx(Pn, {}),
3612
3612
  /* @__PURE__ */ s.jsx(jr, {})
3613
3613
  ] }) }) }) });
3614
- }, gn = {
3614
+ }, _n = {
3615
3615
  default: "tags_",
3616
3616
  headerTopics: "header_topics_topics_"
3617
3617
  }, Ct = {
@@ -3634,12 +3634,12 @@ const Dr = () => {
3634
3634
  getTagDetails: (e) => {
3635
3635
  if (e.includes("topic_")) {
3636
3636
  if (e = Ct.topic[e.replace("topic_", "")], e) {
3637
- const t = at.topics.topics[e].href;
3638
- return t ? { id: e, href: t, text: `${gn.headerTopics}${e}` } : null;
3637
+ const t = it.topics.topics[e].href;
3638
+ return t ? { id: e, href: t, text: `${_n.headerTopics}${e}` } : null;
3639
3639
  }
3640
3640
  return null;
3641
3641
  }
3642
- return Ct[e] ? (e = Ct[e], { id: e, text: `${gn.default}${e}` }) : null;
3642
+ return Ct[e] ? (e = Ct[e], { id: e, text: `${_n.default}${e}` }) : null;
3643
3643
  }
3644
3644
  };
3645
3645
  const Ho = ({
@@ -3688,7 +3688,7 @@ const Uo = ({
3688
3688
  /* @__PURE__ */ s.jsx("span", { className: "count", children: e })
3689
3689
  ] }),
3690
3690
  /* @__PURE__ */ s.jsx("ul", { children: t.map((o, l) => /* @__PURE__ */ s.jsxs("li", { children: [
3691
- /* @__PURE__ */ s.jsx(Yt, { member: o, gtmContext: r, gtmType: c }),
3691
+ /* @__PURE__ */ s.jsx(Gt, { member: o, gtmContext: r, gtmType: c }),
3692
3692
  o.isAdmin && /* @__PURE__ */ s.jsx(tr, { children: u.formatMessage({ id: "membersList_admin" }) })
3693
3693
  ] }, l)) }),
3694
3694
  n && /* @__PURE__ */ s.jsx(
@@ -3701,8 +3701,8 @@ const Uo = ({
3701
3701
  )
3702
3702
  ] }));
3703
3703
  };
3704
- let nt = null;
3705
- const ve = "discussion_form_", In = ({
3704
+ let st = null;
3705
+ const ve = "discussion_form_", Qn = ({
3706
3706
  content: e = { type: "response", slugs: {} },
3707
3707
  userHasPermissions: t = !0,
3708
3708
  meta: n = {
@@ -3733,28 +3733,28 @@ const ve = "discussion_form_", In = ({
3733
3733
  },
3734
3734
  gtmContext: l = "DiscussionForm"
3735
3735
  }) => {
3736
- var P, Z;
3736
+ var C, J;
3737
3737
  const a = R(), d = ye(Se), [f, h] = O(
3738
3738
  n.isEditing && n.isEditing.text || ""
3739
3739
  ), [p, _] = O(u.error || !1), [k, w] = O(!1), y = de(null);
3740
3740
  if (r || (r = y), n.isLoading)
3741
3741
  return /* @__PURE__ */ s.jsx(
3742
- Ae,
3742
+ Re,
3743
3743
  {
3744
3744
  className: "discussion-card discussion-form",
3745
3745
  "data-testid": "loading-placeholder"
3746
3746
  }
3747
3747
  );
3748
3748
  const g = (x) => {
3749
- const q = x.target.value;
3750
- h(q);
3749
+ const Z = x.target.value;
3750
+ h(Z);
3751
3751
  let v;
3752
3752
  !d || !d.id ? v = Ee(
3753
3753
  a.formatMessage,
3754
3754
  `${ve}error_loggedOut`,
3755
3755
  e.type,
3756
3756
  "action"
3757
- ) : t ? q.length >= c && (v = `${ve}error_tooLong`) : v = Ee(
3757
+ ) : t ? Z.length >= c && (v = `${ve}error_tooLong`) : v = Ee(
3758
3758
  a.formatMessage,
3759
3759
  `${ve}error_noPermission`,
3760
3760
  e.type,
@@ -3763,15 +3763,15 @@ const ve = "discussion_form_", In = ({
3763
3763
  };
3764
3764
  let T = `${e.type}-form`;
3765
3765
  if (e.type === "response" || e.type === "reply") {
3766
- const x = e.type === "response" ? ((P = e.slugs) == null ? void 0 : P.question) || "" : ((Z = e.slugs) == null ? void 0 : Z.answer) || "";
3766
+ const x = e.type === "response" ? ((C = e.slugs) == null ? void 0 : C.question) || "" : ((J = e.slugs) == null ? void 0 : J.answer) || "";
3767
3767
  x && (T = `${T}-${x.slice(-15)}`);
3768
3768
  }
3769
3769
  const M = async (x) => {
3770
3770
  var v;
3771
3771
  if (x.preventDefault(), x.stopPropagation(), !d || !d.id || !t || B)
3772
3772
  return;
3773
- nt && clearTimeout(nt), w("submitting");
3774
- const q = window.location.pathname;
3773
+ st && clearTimeout(st), w("submitting");
3774
+ const Z = window.location.pathname;
3775
3775
  try {
3776
3776
  let b;
3777
3777
  switch (e.type) {
@@ -3788,19 +3788,19 @@ const ve = "discussion_form_", In = ({
3788
3788
  case "response":
3789
3789
  b = await o.create(
3790
3790
  { question: e.slugs.question },
3791
- { body: f, authorId: d && d.id, contentPath: q }
3791
+ { body: f, authorId: d && d.id, contentPath: Z }
3792
3792
  );
3793
3793
  break;
3794
3794
  case "reply":
3795
3795
  b = await o.create(
3796
3796
  { question: e.slugs.question, answer: e.slugs.answer },
3797
- { body: f, authorId: d && d.id, contentPath: q }
3797
+ { body: f, authorId: d && d.id, contentPath: Z }
3798
3798
  );
3799
3799
  break;
3800
3800
  default:
3801
3801
  break;
3802
3802
  }
3803
- await Ns(1e3), o.callback && await o.callback(b), nt = setTimeout(() => {
3803
+ await Ns(1e3), o.callback && await o.callback(b), st = setTimeout(() => {
3804
3804
  h(""), w("submitted"), D();
3805
3805
  }, 500);
3806
3806
  } catch (b) {
@@ -3819,11 +3819,11 @@ const ve = "discussion_form_", In = ({
3819
3819
  ) : W.message.includes("400") && (X = `${ve}error`), _(X), D();
3820
3820
  }
3821
3821
  }, D = () => {
3822
- nt = setTimeout(() => {
3822
+ st = setTimeout(() => {
3823
3823
  _(!1), w(!1);
3824
3824
  }, 5e3);
3825
- }, B = !f || !Os(f), V = k === "submitting", C = [];
3826
- return (n.isEditing && !V || u.cancel) && C.push({
3825
+ }, B = !f || !Os(f), V = k === "submitting", P = [];
3826
+ return (n.isEditing && !V || u.cancel) && P.push({
3827
3827
  variant: "secondary",
3828
3828
  size: { mobile: "small", 600: "medium" },
3829
3829
  onClick: o.handleCancel,
@@ -3832,7 +3832,7 @@ const ve = "discussion_form_", In = ({
3832
3832
  "data-gtm-event-type": `cancel-${e.type}-click`,
3833
3833
  disabled: !u.cancel && (!d || !d.id || !f),
3834
3834
  children: a.formatMessage({ id: `${ve}cancel` })
3835
- }), C.push({
3835
+ }), P.push({
3836
3836
  variant: "primary",
3837
3837
  size: { mobile: "small", 600: "medium" },
3838
3838
  onClick: (x) => {
@@ -3863,7 +3863,7 @@ const ve = "discussion_form_", In = ({
3863
3863
  children: [
3864
3864
  (n == null ? void 0 : n.showTitle) && !n.isEditing && ["question"].includes(e.type) && /* @__PURE__ */ s.jsx("h2", { children: Ee(a.formatMessage, `${ve}title`, e.type, "action") }),
3865
3865
  /* @__PURE__ */ s.jsx(
3866
- Yt,
3866
+ Gt,
3867
3867
  {
3868
3868
  member: d || "community",
3869
3869
  gtmContext: l,
@@ -3906,9 +3906,9 @@ const ve = "discussion_form_", In = ({
3906
3906
  }
3907
3907
  )
3908
3908
  }) }),
3909
- /* @__PURE__ */ s.jsx(ft, { buttons: C }),
3910
- k === "submitted" && /* @__PURE__ */ s.jsx(Ut, { className: "success", "data-testid": "success", children: Ee(a.formatMessage, `${ve}success`, e.type, "action") }),
3911
- p && /* @__PURE__ */ s.jsx(Ut, { id: "error-message", className: "error", "data-testid": "error", children: u.error ? u.error : typeof p == "string" ? p.includes(" ") ? p : a.formatMessage(
3909
+ /* @__PURE__ */ s.jsx(ht, { buttons: P }),
3910
+ k === "submitted" && /* @__PURE__ */ s.jsx(Wt, { className: "success", "data-testid": "success", children: Ee(a.formatMessage, `${ve}success`, e.type, "action") }),
3911
+ p && /* @__PURE__ */ s.jsx(Wt, { id: "error-message", className: "error", "data-testid": "error", children: u.error ? u.error : typeof p == "string" ? p.includes(" ") ? p : a.formatMessage(
3912
3912
  { id: p },
3913
3913
  {
3914
3914
  action: a.formatMessage({
@@ -3920,20 +3920,20 @@ const ve = "discussion_form_", In = ({
3920
3920
  ]
3921
3921
  }
3922
3922
  );
3923
- }, Gt = ({
3923
+ }, Jt = ({
3924
3924
  contentType: e,
3925
3925
  createPost: t,
3926
3926
  membershipRequiredToPost: { isMember: n, required: r, join: c, leave: i, notMemberStateText: u }
3927
3927
  }) => r && !n ? /* @__PURE__ */ s.jsx(
3928
- pt,
3928
+ gt,
3929
3929
  {
3930
3930
  text: u,
3931
3931
  button: {
3932
- component: /* @__PURE__ */ s.jsx(Nn, { functions: { join: c, leave: i } })
3932
+ component: /* @__PURE__ */ s.jsx(An, { functions: { join: c, leave: i } })
3933
3933
  }
3934
3934
  }
3935
3935
  ) : /* @__PURE__ */ s.jsx(
3936
- In,
3936
+ Qn,
3937
3937
  {
3938
3938
  content: { type: e, slugs: {} },
3939
3939
  functions: {
@@ -3943,13 +3943,13 @@ const ve = "discussion_form_", In = ({
3943
3943
  ), Ar = {
3944
3944
  showThread: !1,
3945
3945
  showForm: !1
3946
- }, _t = zt(Ar), Rr = ({ children: e }) => {
3946
+ }, xt = Vt(Ar), Rr = ({ children: e }) => {
3947
3947
  const [t, n] = O({
3948
3948
  showThread: !1,
3949
3949
  showForm: !1
3950
3950
  });
3951
- return /* @__PURE__ */ s.jsx(_t.Provider, { value: { ...t, updateConversation: n }, children: e });
3952
- }, Cr = ({
3951
+ return /* @__PURE__ */ s.jsx(xt.Provider, { value: { ...t, updateConversation: n }, children: e });
3952
+ }, Pr = ({
3953
3953
  question: e,
3954
3954
  answer: t,
3955
3955
  reply: n
@@ -3957,11 +3957,11 @@ const ve = "discussion_form_", In = ({
3957
3957
  ...e && { questionSlug: e },
3958
3958
  ...t && { answerSlug: t },
3959
3959
  ...n && { replySlug: n }
3960
- }), Pr = (e, t = 10) => !e || e.length === 0 ? [] : e.slice(0, t);
3960
+ }), Cr = (e, t = 10) => !e || e.length === 0 ? [] : e.slice(0, t);
3961
3961
  let Xe = !1;
3962
- const Pt = () => {
3962
+ const Ft = () => {
3963
3963
  Xe !== !1 && (clearTimeout(Xe), Xe = !1);
3964
- }, Ft = 10, Fr = ({
3964
+ }, Lt = 5, Fr = ({
3965
3965
  element: e = "div",
3966
3966
  likes: t = 0,
3967
3967
  peopleWhoLiked: n = !1,
@@ -3974,23 +3974,23 @@ const Pt = () => {
3974
3974
  } } = {}
3975
3975
  }) => {
3976
3976
  const a = R();
3977
- J(() => {
3977
+ G(() => {
3978
3978
  p(c);
3979
3979
  }, [c]);
3980
- const [d, f] = O(t), [h, p] = O(c), [_, k] = O(!1), [w, y] = O(!1), g = ct(() => Pr(n, Ft), [n]), T = (D) => {
3980
+ const [d, f] = O(t), [h, p] = O(c), [_, k] = O(!1), [w, y] = O(!1), g = lt(() => Cr(n, Lt), [n]), T = (D) => {
3981
3981
  if (D.preventDefault(), D.stopPropagation(), y(!1), Xe)
3982
- return Pt(), !1;
3983
- if (Pt(), _ || !u)
3982
+ return Ft(), !1;
3983
+ if (Ft(), _ || !u)
3984
3984
  return !1;
3985
3985
  Xe = setTimeout(M, 350);
3986
3986
  }, M = async () => {
3987
- if (Pt(), _ || !u)
3987
+ if (Ft(), _ || !u)
3988
3988
  return !1;
3989
3989
  let D = h ? d - 1 : d + 1;
3990
3990
  D < 0 && (D = 0), k(!0), f(D), p(!h);
3991
3991
  try {
3992
3992
  if (i && i.slugs) {
3993
- const B = Cr(i.slugs);
3993
+ const B = Pr(i.slugs);
3994
3994
  h ? await l(B) : await o(B, { contentPath: window.location.pathname });
3995
3995
  }
3996
3996
  } catch {
@@ -4038,7 +4038,7 @@ const Pt = () => {
4038
4038
  /* @__PURE__ */ s.jsx("span", { className: S("number-of-likes", { "no-likes": d === 0 }), "data-testid": "number-of-likes", children: a.formatMessage({ id: `discussion_likes${r ? "_short" : ""}` }, { number: d }) }),
4039
4039
  n && /* @__PURE__ */ s.jsx(Hs, { isOpen: w, isLoading: n.length === 0, children: n.length && /* @__PURE__ */ s.jsxs("ul", { children: [
4040
4040
  g.map((D) => typeof D == "string" || !D.name ? null : /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(
4041
- ht,
4041
+ pt,
4042
4042
  {
4043
4043
  href: D.id ? `/profiles/${D.id}` : void 0,
4044
4044
  gtmContext: "Likes",
@@ -4047,16 +4047,16 @@ const Pt = () => {
4047
4047
  children: D.name
4048
4048
  }
4049
4049
  ) }, D.id || window.btoa(D.name))),
4050
- n.length > Ft && /* @__PURE__ */ s.jsx("li", { children: a.formatMessage({ id: "discussion_likes_more" }, { number: n.length - Ft }) })
4050
+ n.length > Lt && /* @__PURE__ */ s.jsx("li", { children: a.formatMessage({ id: "discussion_likes_more" }, { number: n.length - Lt }) })
4051
4051
  ] }) })
4052
4052
  ] })
4053
4053
  }
4054
4054
  );
4055
- }, _n = (e) => {
4055
+ }, xn = (e) => {
4056
4056
  const t = {};
4057
4057
  return Object.keys(e).forEach((n) => n.includes("Id") ? t[n] = e[n] : t[`${n}Slug`] = e[n]), t;
4058
- }, Jt = (e, t) => e && !t;
4059
- const Me = "discussion_", Lr = 280, xt = ({
4058
+ }, Xt = (e, t) => e && !t;
4059
+ const De = "discussion_", Lr = 280, bt = ({
4060
4060
  element: e = "div",
4061
4061
  content: t,
4062
4062
  userHasPermissions: n = !0,
@@ -4083,29 +4083,29 @@ const Me = "discussion_", Lr = 280, xt = ({
4083
4083
  children: _,
4084
4084
  isTruncated: k = !1
4085
4085
  }) => {
4086
- const w = R(), y = ye(Se), g = ye(_t), [T, M] = O({
4086
+ const w = R(), y = ye(Se), g = ye(xt), [T, M] = O({
4087
4087
  body: t && t.body || "",
4088
4088
  isEditing: !1,
4089
4089
  didEdit: t && t.isEdited || !1
4090
- }), [D, B] = O(!1), [V, C] = O("");
4091
- if (J(() => {
4090
+ }), [D, B] = O(!1), [V, P] = O("");
4091
+ if (G(() => {
4092
4092
  M({
4093
4093
  ...T,
4094
4094
  body: t && t.body || "",
4095
4095
  didEdit: t && t.isEdited || !1
4096
4096
  });
4097
4097
  }, [t.isEdited]), r || !t || t.type === "answer" && (!t.slugs || !t.slugs.question))
4098
- return /* @__PURE__ */ s.jsx(Ae, { className: "discussion-card discussion-post" });
4099
- const { author: P, canLike: Z, createdAt: x, id: q, likes: v = 0, userLiked: b, comments: W = 0 } = t, X = k ? lt(T.body, Lr) : T.body, se = y && y.id && typeof P != "string" && P.id && P.id === y.id || !1, re = typeof Z == "boolean" ? Z : n ? !se : !1, oe = async (F) => {
4100
- F || (F = ""), C("");
4098
+ return /* @__PURE__ */ s.jsx(Re, { className: "discussion-card discussion-post" });
4099
+ const { author: C, canLike: J, createdAt: x, id: Z, likes: v = 0, userLiked: b, comments: W = 0 } = t, X = k ? dt(T.body, Lr) : T.body, q = y && y.id && typeof C != "string" && C.id && C.id === y.id || !1, re = typeof J == "boolean" ? J : n ? !q : !1, oe = async (F) => {
4100
+ F || (F = ""), P("");
4101
4101
  try {
4102
4102
  if (!xs(F, T.body)) {
4103
4103
  const ae = t.type === "question" ? { title: F } : { body: F };
4104
- await o(_n(t.slugs), ae);
4104
+ await o(xn(t.slugs), ae);
4105
4105
  }
4106
4106
  M({ body: F, isEditing: !1, didEdit: !0 });
4107
4107
  } catch {
4108
- C(`${Me}form_error`);
4108
+ P(`${De}form_error`);
4109
4109
  }
4110
4110
  }, ee = () => {
4111
4111
  g && g.updateConversation && g.updateConversation({ showThread: !0, showForm: !0 }), setTimeout(() => {
@@ -4115,18 +4115,18 @@ const Me = "discussion_", Lr = 280, xt = ({
4115
4115
  }, fe = () => {
4116
4116
  B(!1);
4117
4117
  try {
4118
- u(_n(t.slugs));
4118
+ u(xn(t.slugs));
4119
4119
  } catch {
4120
- C("delete-error");
4120
+ P("delete-error");
4121
4121
  }
4122
4122
  }, ue = [
4123
4123
  {
4124
- text: w.formatMessage({ id: `${Me}moreMenu_report` }),
4124
+ text: w.formatMessage({ id: `${De}moreMenu_report` }),
4125
4125
  href: `mailto:community@apolitical.co?subject=${encodeURI(
4126
- w.formatMessage({ id: `${Me}report_subject` })
4126
+ w.formatMessage({ id: `${De}report_subject` })
4127
4127
  )}&body=${encodeURI(
4128
4128
  w.formatMessage(
4129
- { id: `${Me}report_body` },
4129
+ { id: `${De}report_body` },
4130
4130
  {
4131
4131
  contentType: t.type || "",
4132
4132
  contentSlug: t.slug || "",
@@ -4137,9 +4137,9 @@ const Me = "discussion_", Lr = 280, xt = ({
4137
4137
  icon: "flag"
4138
4138
  }
4139
4139
  ];
4140
- return n && se && ue.push(
4140
+ return n && q && ue.push(
4141
4141
  {
4142
- text: w.formatMessage({ id: `${Me}moreMenu_edit` }),
4142
+ text: w.formatMessage({ id: `${De}moreMenu_edit` }),
4143
4143
  onClick: () => M({ ...T, isEditing: !0 }),
4144
4144
  icon: "pencil-paper",
4145
4145
  className: "gtm-trackable",
@@ -4147,7 +4147,7 @@ const Me = "discussion_", Lr = 280, xt = ({
4147
4147
  "data-gtm-event-type": `edit-${t.type}-click`
4148
4148
  },
4149
4149
  {
4150
- text: w.formatMessage({ id: `${Me}moreMenu_delete` }),
4150
+ text: w.formatMessage({ id: `${De}moreMenu_delete` }),
4151
4151
  onClick: (F) => {
4152
4152
  F.preventDefault(), F.stopPropagation(), B(!0);
4153
4153
  },
@@ -4164,7 +4164,7 @@ const Me = "discussion_", Lr = 280, xt = ({
4164
4164
  /* @__PURE__ */ s.jsxs(
4165
4165
  "div",
4166
4166
  {
4167
- id: q || t.slug,
4167
+ id: Z || t.slug,
4168
4168
  className: S("discussion-card", t.type, {
4169
4169
  editing: T.isEditing,
4170
4170
  "has-link": f.post && !T.isEditing
@@ -4174,17 +4174,17 @@ const Me = "discussion_", Lr = 280, xt = ({
4174
4174
  },
4175
4175
  children: [
4176
4176
  !T.isEditing && /* @__PURE__ */ s.jsx(
4177
- Yt,
4177
+ Gt,
4178
4178
  {
4179
- member: P,
4179
+ member: C,
4180
4180
  additionalContent: { createdAt: x, didEdit: T.didEdit },
4181
- className: typeof P != "string" && P.id === c ? "highlighted" : "",
4181
+ className: typeof C != "string" && C.id === c ? "highlighted" : "",
4182
4182
  gtmContext: p,
4183
4183
  gtmType: "profile-click"
4184
4184
  }
4185
4185
  ),
4186
4186
  T.isEditing ? /* @__PURE__ */ s.jsx(
4187
- In,
4187
+ Qn,
4188
4188
  {
4189
4189
  content: { type: t.type, slugs: t.slugs },
4190
4190
  userHasPermissions: n,
@@ -4208,7 +4208,7 @@ const Me = "discussion_", Lr = 280, xt = ({
4208
4208
  create: i,
4209
4209
  handleSaveEdit: oe,
4210
4210
  handleCancel: () => {
4211
- C(""), M({ ...T, isEditing: !1 });
4211
+ P(""), M({ ...T, isEditing: !1 });
4212
4212
  }
4213
4213
  },
4214
4214
  gtmContext: `${p}Form`
@@ -4220,10 +4220,10 @@ const Me = "discussion_", Lr = 280, xt = ({
4220
4220
  className: "gtm-trackable",
4221
4221
  "data-gtm-event-context": p,
4222
4222
  "data-gtm-event-type": "title-click",
4223
- children: /* @__PURE__ */ s.jsx(mn, { options: { overrides: { a: qs } }, children: X })
4223
+ children: /* @__PURE__ */ s.jsx(fn, { options: { overrides: { a: qs } }, children: X })
4224
4224
  }
4225
4225
  ) : /* @__PURE__ */ s.jsx(
4226
- mn,
4226
+ fn,
4227
4227
  {
4228
4228
  options: {
4229
4229
  wrapper: t.type === "question" ? "h1" : N.Fragment,
@@ -4277,13 +4277,13 @@ const Me = "discussion_", Lr = 280, xt = ({
4277
4277
  "data-gtm-event-context": p,
4278
4278
  "data-gtm-event-type": `answer-${t.type}-click`,
4279
4279
  screenreaderText: w.formatMessage(
4280
- { id: `${Me}comments_screenReader` },
4280
+ { id: `${De}comments_screenReader` },
4281
4281
  { count: W }
4282
4282
  )
4283
4283
  }
4284
4284
  ),
4285
4285
  /* @__PURE__ */ s.jsx("span", { children: w.formatMessage(
4286
- { id: `${Me}comments` },
4286
+ { id: `${De}comments` },
4287
4287
  { count: W }
4288
4288
  ) })
4289
4289
  ]
@@ -4296,7 +4296,7 @@ const Me = "discussion_", Lr = 280, xt = ({
4296
4296
  size: "medium",
4297
4297
  styling: { muted: !0 },
4298
4298
  onClick: ee,
4299
- children: w.formatMessage({ id: `${Me}reply` })
4299
+ children: w.formatMessage({ id: `${De}reply` })
4300
4300
  }
4301
4301
  ) }),
4302
4302
  /* @__PURE__ */ s.jsx(
@@ -4315,7 +4315,7 @@ const Me = "discussion_", Lr = 280, xt = ({
4315
4315
  ),
4316
4316
  _,
4317
4317
  /* @__PURE__ */ s.jsx(
4318
- Bn,
4318
+ In,
4319
4319
  {
4320
4320
  id: `delete-${t.slug}-modal`,
4321
4321
  isOpen: D,
@@ -4366,19 +4366,19 @@ const Me = "discussion_", Lr = 280, xt = ({
4366
4366
  ] })
4367
4367
  });
4368
4368
  };
4369
- const Lt = "discussion_responses_", Wo = ({ type: e = "answer", responses: t = 0 }) => {
4369
+ const Ot = "discussion_responses_", Wo = ({ type: e = "answer", responses: t = 0 }) => {
4370
4370
  const n = R();
4371
4371
  return /* @__PURE__ */ s.jsxs("div", { className: "responses-heading", children: [
4372
- /* @__PURE__ */ s.jsx("h3", { children: n.formatMessage({ id: `${Lt}title` }, { action: n.formatMessage({ id: `${Lt}${e}` }), count: t }) }),
4373
- t === 0 && /* @__PURE__ */ s.jsx("p", { children: Ee(n.formatMessage, `${Lt}empty`, e, e) })
4372
+ /* @__PURE__ */ s.jsx("h3", { children: n.formatMessage({ id: `${Ot}title` }, { action: n.formatMessage({ id: `${Ot}${e}` }), count: t }) }),
4373
+ t === 0 && /* @__PURE__ */ s.jsx("p", { children: Ee(n.formatMessage, `${Ot}empty`, e, e) })
4374
4374
  ] });
4375
4375
  };
4376
4376
  const Or = ({ count: e = 0, showRepliesButton: t = !0, children: n }) => {
4377
- const r = R(), c = de(null), i = ye(_t), [u, o] = O(
4377
+ const r = R(), c = de(null), i = ye(xt), [u, o] = O(
4378
4378
  "closed"
4379
4379
  /* Closed */
4380
4380
  );
4381
- J(() => {
4381
+ G(() => {
4382
4382
  const f = c.current;
4383
4383
  if (f)
4384
4384
  return f.addEventListener("transitionend", l), () => {
@@ -4393,7 +4393,7 @@ const Or = ({ count: e = 0, showRepliesButton: t = !0, children: n }) => {
4393
4393
  ].includes(u) ? "ready-to-close" : "opening"
4394
4394
  /* Opening */
4395
4395
  );
4396
- }, [i.showThread]), J(() => {
4396
+ }, [i.showThread]), G(() => {
4397
4397
  u === "ready-to-close" && o(
4398
4398
  "closing"
4399
4399
  /* Closing */
@@ -4405,7 +4405,7 @@ const Or = ({ count: e = 0, showRepliesButton: t = !0, children: n }) => {
4405
4405
  "opening",
4406
4406
  "open"
4407
4407
  /* Open */
4408
- ].includes(u), d = rt(n, {
4408
+ ].includes(u), d = ot(n, {
4409
4409
  element: "li"
4410
4410
  });
4411
4411
  return /* @__PURE__ */ s.jsxs("div", { className: "thread-wrapper", children: [
@@ -4577,12 +4577,12 @@ const Or = ({ count: e = 0, showRepliesButton: t = !0, children: n }) => {
4577
4577
  isMember: n,
4578
4578
  functions: { list: r, create: c, edit: i, remove: u, like: o, unlike: l, join: a, leave: d }
4579
4579
  }) => {
4580
- const f = R(), h = ut(), p = ye(Se), {
4580
+ const f = R(), h = mt(), p = ye(Se), {
4581
4581
  data: _,
4582
4582
  error: k,
4583
4583
  isLoading: w,
4584
4584
  isFetching: y
4585
- } = xn({
4585
+ } = bn({
4586
4586
  queryKey: [e, t],
4587
4587
  queryFn: r
4588
4588
  }), g = Ir({
@@ -4602,37 +4602,37 @@ const Or = ({ count: e = 0, showRepliesButton: t = !0, children: n }) => {
4602
4602
  mutationFn: async ({ activityId: b }) => await u({ activityId: b })
4603
4603
  }), {
4604
4604
  mutate: V
4605
- } = ie(B), C = Ur({
4605
+ } = ie(B), P = Ur({
4606
4606
  queryClient: h,
4607
4607
  queryKey: [e, t],
4608
4608
  mutationFn: o
4609
4609
  }), {
4610
- mutate: P
4611
- } = ie(C), Z = Wr({
4610
+ mutate: C
4611
+ } = ie(P), J = Wr({
4612
4612
  queryClient: h,
4613
4613
  queryKey: [e, t],
4614
4614
  user: p,
4615
4615
  mutationFn: async ({ activityId: b }) => {
4616
- var se, re, oe;
4616
+ var q, re, oe;
4617
4617
  const W = _ && (_ == null ? void 0 : _.find(
4618
4618
  (ee) => ee.id === b
4619
- )), X = (oe = (re = (se = W == null ? void 0 : W.own_reactions) == null ? void 0 : se.like) == null ? void 0 : re.find(
4619
+ )), X = (oe = (re = (q = W == null ? void 0 : W.own_reactions) == null ? void 0 : q.like) == null ? void 0 : re.find(
4620
4620
  (ee) => ee.user_id === (p == null ? void 0 : p.id)
4621
4621
  )) == null ? void 0 : oe.id;
4622
4622
  await l({ reactionId: X || "", activityId: b });
4623
4623
  }
4624
4624
  }), {
4625
4625
  mutate: x
4626
- } = ie(Z), q = Ne(
4627
- ({ activityId: b }) => P({ activityId: b }),
4628
- [P]
4629
- ), v = Ne(
4626
+ } = ie(J), Z = Ae(
4627
+ ({ activityId: b }) => C({ activityId: b }),
4628
+ [C]
4629
+ ), v = Ae(
4630
4630
  ({ activityId: b }) => x({ activityId: b }),
4631
4631
  [x]
4632
4632
  );
4633
- return k ? /* @__PURE__ */ s.jsx(pt, { variant: "error", text: k.message }) : w ? /* @__PURE__ */ s.jsx(Ae, { style: { height: "400px" } }) : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
4633
+ return k ? /* @__PURE__ */ s.jsx(gt, { variant: "error", text: k.message }) : w ? /* @__PURE__ */ s.jsx(Re, { style: { height: "400px" } }) : /* @__PURE__ */ s.jsxs("section", { children: [
4634
4634
  /* @__PURE__ */ s.jsx(
4635
- Gt,
4635
+ Jt,
4636
4636
  {
4637
4637
  contentType: "post",
4638
4638
  createPost: T,
@@ -4646,11 +4646,11 @@ const Or = ({ count: e = 0, showRepliesButton: t = !0, children: n }) => {
4646
4646
  }
4647
4647
  ),
4648
4648
  !y && Array.isArray(_) && (_ == null ? void 0 : _.map((b) => {
4649
- var se, re, oe, ee, fe, ue, F, ae, he, ce, xe, pe, be, ge;
4650
- const W = ((se = b == null ? void 0 : b.actor) == null ? void 0 : se.id) === (p == null ? void 0 : p.id), X = Jt(n, W);
4651
- return /* @__PURE__ */ s.jsxs(Bt, { children: [
4649
+ var q, re, oe, ee, fe, ue, F, ae, he, ce, xe, pe, be, ge;
4650
+ const W = ((q = b == null ? void 0 : b.actor) == null ? void 0 : q.id) === (p == null ? void 0 : p.id), X = Xt(n, W);
4651
+ return /* @__PURE__ */ s.jsxs(It, { children: [
4652
4652
  /* @__PURE__ */ s.jsx(
4653
- xt,
4653
+ bt,
4654
4654
  {
4655
4655
  content: {
4656
4656
  type: "post",
@@ -4691,7 +4691,7 @@ const Or = ({ count: e = 0, showRepliesButton: t = !0, children: n }) => {
4691
4691
  },
4692
4692
  likes: {
4693
4693
  createLike: () => {
4694
- q({ activityId: b == null ? void 0 : b.id });
4694
+ Z({ activityId: b == null ? void 0 : b.id });
4695
4695
  },
4696
4696
  deleteLike: () => {
4697
4697
  v({ activityId: b == null ? void 0 : b.id });
@@ -4994,7 +4994,7 @@ const Or = ({ count: e = 0, showRepliesButton: t = !0, children: n }) => {
4994
4994
  replies: i,
4995
4995
  functions: { create: u, edit: o, remove: l, join: a, leave: d, like: f, unlike: h }
4996
4996
  }) => {
4997
- const p = R(), _ = ut(), k = ye(Se), w = ye(_t), y = Xr({
4997
+ const p = R(), _ = mt(), k = ye(Se), w = ye(xt), y = Xr({
4998
4998
  queryClient: _,
4999
4999
  queryKey: [e, t, r],
5000
5000
  mutationFn: async (v) => u({ replyId: n, content: v.body })
@@ -5015,20 +5015,20 @@ const Or = ({ count: e = 0, showRepliesButton: t = !0, children: n }) => {
5015
5015
  queryKey: [e, t, r],
5016
5016
  mutationFn: f
5017
5017
  }), {
5018
- mutate: C
5019
- } = ie(V), P = eo({
5018
+ mutate: P
5019
+ } = ie(V), C = eo({
5020
5020
  queryClient: _,
5021
5021
  queryKey: [e, t, r],
5022
5022
  user: k,
5023
5023
  mutationFn: h
5024
5024
  }), {
5025
- mutate: Z
5026
- } = ie(P), x = Ne(
5027
- ({ replyId: v, replyParentId: b }) => C({ replyId: v, replyParentId: b }),
5028
- [C]
5029
- ), q = Ne(
5030
- ({ replyId: v, replyParentId: b }) => Z({ replyId: v, replyParentId: b }),
5031
- [Z]
5025
+ mutate: J
5026
+ } = ie(C), x = Ae(
5027
+ ({ replyId: v, replyParentId: b }) => P({ replyId: v, replyParentId: b }),
5028
+ [P]
5029
+ ), Z = Ae(
5030
+ ({ replyId: v, replyParentId: b }) => J({ replyId: v, replyParentId: b }),
5031
+ [J]
5032
5032
  );
5033
5033
  return /* @__PURE__ */ s.jsx(
5034
5034
  Or,
@@ -5037,7 +5037,7 @@ const Or = ({ count: e = 0, showRepliesButton: t = !0, children: n }) => {
5037
5037
  showRepliesButton: c > 0 || w.showForm,
5038
5038
  children: /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
5039
5039
  w.showForm && /* @__PURE__ */ s.jsx(
5040
- Gt,
5040
+ Jt,
5041
5041
  {
5042
5042
  contentType: "reply",
5043
5043
  createPost: (v, b) => g(b),
@@ -5051,9 +5051,9 @@ const Or = ({ count: e = 0, showRepliesButton: t = !0, children: n }) => {
5051
5051
  }
5052
5052
  ),
5053
5053
  (i == null ? void 0 : i.length) === 0 || (i == null ? void 0 : i.map((v) => {
5054
- var b, W, X, se, re, oe, ee, fe, ue, F, ae, he, ce, xe, pe, be, ge;
5054
+ var b, W, X, q, re, oe, ee, fe, ue, F, ae, he, ce, xe, pe, be, ge;
5055
5055
  return /* @__PURE__ */ s.jsx(
5056
- xt,
5056
+ bt,
5057
5057
  {
5058
5058
  content: {
5059
5059
  type: "reply",
@@ -5067,7 +5067,7 @@ const Or = ({ count: e = 0, showRepliesButton: t = !0, children: n }) => {
5067
5067
  },
5068
5068
  slug: "",
5069
5069
  author: {
5070
- id: (se = v == null ? void 0 : v.user) == null ? void 0 : se.id,
5070
+ id: (q = v == null ? void 0 : v.user) == null ? void 0 : q.id,
5071
5071
  name: (oe = (re = v == null ? void 0 : v.user) == null ? void 0 : re.data) == null ? void 0 : oe.name,
5072
5072
  organization: (fe = (ee = v == null ? void 0 : v.user) == null ? void 0 : ee.data) == null ? void 0 : fe.organization,
5073
5073
  jobTitle: (F = (ue = v == null ? void 0 : v.user) == null ? void 0 : ue.data) == null ? void 0 : F.jobTitle,
@@ -5102,7 +5102,7 @@ const Or = ({ count: e = 0, showRepliesButton: t = !0, children: n }) => {
5102
5102
  deleteLike: () => {
5103
5103
  var Y, le, te;
5104
5104
  const I = ((Y = v == null ? void 0 : v.own_children) == null ? void 0 : Y.like) && ((te = (le = v == null ? void 0 : v.own_children) == null ? void 0 : le.like[0]) == null ? void 0 : te.id);
5105
- return q({
5105
+ return Z({
5106
5106
  replyId: I || ""
5107
5107
  });
5108
5108
  }
@@ -5124,7 +5124,7 @@ const Or = ({ count: e = 0, showRepliesButton: t = !0, children: n }) => {
5124
5124
  isMember: c,
5125
5125
  functions: { create: i, edit: u, remove: o, like: l, unlike: a, join: d, leave: f }
5126
5126
  }) => {
5127
- const h = R(), p = ut(), _ = ye(Se), k = zr({
5127
+ const h = R(), p = mt(), _ = ye(Se), k = zr({
5128
5128
  queryClient: p,
5129
5129
  queryKey: [e, t, n],
5130
5130
  mutationFn: async (x) => i({ activityId: n, content: x.body })
@@ -5152,20 +5152,20 @@ const Or = ({ count: e = 0, showRepliesButton: t = !0, children: n }) => {
5152
5152
  user: _,
5153
5153
  mutationFn: a
5154
5154
  }), {
5155
- mutate: C
5156
- } = ie(V), P = Ne(
5155
+ mutate: P
5156
+ } = ie(V), C = Ae(
5157
5157
  ({ replyId: x }) => B({ replyId: x }),
5158
5158
  [B]
5159
- ), Z = Ne(
5160
- ({ replyId: x }) => C({ replyId: x }),
5161
- [C]
5159
+ ), J = Ae(
5160
+ ({ replyId: x }) => P({ replyId: x }),
5161
+ [P]
5162
5162
  );
5163
5163
  return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
5164
5164
  /* @__PURE__ */ s.jsx(
5165
- Gt,
5165
+ Jt,
5166
5166
  {
5167
5167
  contentType: "reply",
5168
- createPost: (x, q) => w(q),
5168
+ createPost: (x, Z) => w(Z),
5169
5169
  membershipRequiredToPost: {
5170
5170
  isMember: c,
5171
5171
  required: !0,
@@ -5176,14 +5176,14 @@ const Or = ({ count: e = 0, showRepliesButton: t = !0, children: n }) => {
5176
5176
  }
5177
5177
  ),
5178
5178
  (r == null ? void 0 : r.length) === 0 || (r == null ? void 0 : r.map((x) => {
5179
- var b, W, X, se, re, oe, ee, fe, ue, F, ae, he, ce, xe, pe, be, ge, I, Y, le;
5180
- const q = ((b = x == null ? void 0 : x.user) == null ? void 0 : b.id) === (_ == null ? void 0 : _.id), v = Jt(c, q);
5179
+ var b, W, X, q, re, oe, ee, fe, ue, F, ae, he, ce, xe, pe, be, ge, I, Y, le;
5180
+ const Z = ((b = x == null ? void 0 : x.user) == null ? void 0 : b.id) === (_ == null ? void 0 : _.id), v = Xt(c, Z);
5181
5181
  return /* @__PURE__ */ s.jsx(Rr, { children: /* @__PURE__ */ s.jsx(
5182
- xt,
5182
+ bt,
5183
5183
  {
5184
5184
  content: {
5185
5185
  type: "reply",
5186
- body: typeof x.data.content == "string" ? (W = x == null ? void 0 : x.data) == null ? void 0 : W.content : ((se = (X = x == null ? void 0 : x.data) == null ? void 0 : X.content) == null ? void 0 : se.text) || "",
5186
+ body: typeof x.data.content == "string" ? (W = x == null ? void 0 : x.data) == null ? void 0 : W.content : ((q = (X = x == null ? void 0 : x.data) == null ? void 0 : X.content) == null ? void 0 : q.text) || "",
5187
5187
  canLike: v,
5188
5188
  createdAt: x == null ? void 0 : x.created_at,
5189
5189
  slugs: {
@@ -5221,11 +5221,11 @@ const Or = ({ count: e = 0, showRepliesButton: t = !0, children: n }) => {
5221
5221
  updateContent: (te, me) => g({ replyInfo: te, content: me })
5222
5222
  },
5223
5223
  likes: {
5224
- createLike: () => P({ replyId: x == null ? void 0 : x.id }),
5224
+ createLike: () => C({ replyId: x == null ? void 0 : x.id }),
5225
5225
  deleteLike: () => {
5226
- var me, ke, Re;
5227
- const te = ((me = x == null ? void 0 : x.own_children) == null ? void 0 : me.like) && ((Re = (ke = x == null ? void 0 : x.own_children) == null ? void 0 : ke.like[0]) == null ? void 0 : Re.id);
5228
- return Z({ replyId: te || "" });
5226
+ var me, ke, Pe;
5227
+ const te = ((me = x == null ? void 0 : x.own_children) == null ? void 0 : me.like) && ((Pe = (ke = x == null ? void 0 : x.own_children) == null ? void 0 : ke.like[0]) == null ? void 0 : Pe.id);
5228
+ return J({ replyId: te || "" });
5229
5229
  }
5230
5230
  },
5231
5231
  comments: {}
@@ -5360,66 +5360,65 @@ const Vo = ({
5360
5360
  leave: k
5361
5361
  }
5362
5362
  }) => {
5363
- var re, oe, ee, fe, ue, F, ae, he, ce, xe, pe, be, ge, I, Y, le, te, me, ke, Re, We;
5364
- const w = ye(Se), y = ut(), {
5363
+ var q, re, oe, ee, fe, ue, F, ae, he, ce, xe, pe, be, ge, I, Y, le, te, me, ke, Pe, We, Le;
5364
+ const w = ye(Se), y = mt(), {
5365
5365
  data: g,
5366
- error: T,
5367
- isLoading: M,
5368
- isFetching: D
5369
- } = xn({
5366
+ isLoading: T,
5367
+ isFetching: M
5368
+ } = bn({
5370
5369
  queryKey: [e, t, n],
5371
5370
  queryFn: c
5372
- }), B = so({
5371
+ }), D = so({
5373
5372
  queryClient: y,
5374
5373
  queryKey: [e, t, n],
5375
- mutationFn: async (G) => await i(G)
5374
+ mutationFn: async (ne) => await i(ne)
5376
5375
  }), {
5377
- mutate: V
5378
- } = ie(B), C = ro({
5376
+ mutate: B
5377
+ } = ie(D), V = ro({
5379
5378
  queryClient: y,
5380
5379
  queryKey: [e, t, n],
5381
- mutationFn: async ({ activityId: G }) => u({ activityId: G }),
5380
+ mutationFn: async ({ activityId: ne }) => u({ activityId: ne }),
5382
5381
  redirectUrl: `${e}/${t}`
5383
- }), { mutate: P } = ie(C), Z = oo({
5382
+ }), { mutate: P } = ie(V), C = oo({
5384
5383
  queryClient: y,
5385
5384
  queryKey: [e, t, n],
5386
5385
  mutationFn: o
5387
5386
  }), {
5388
- mutate: x
5389
- } = ie(Z), q = ao({
5387
+ mutate: J
5388
+ } = ie(C), x = ao({
5390
5389
  queryClient: y,
5391
5390
  queryKey: [e, t, n],
5392
5391
  user: w,
5393
5392
  mutationFn: async () => {
5394
- var Te, Fe, Le;
5395
- const G = (Le = (Fe = (Te = g == null ? void 0 : g.own_reactions) == null ? void 0 : Te.like) == null ? void 0 : Fe.find(
5396
- (bt) => bt.user_id === (w == null ? void 0 : w.id)
5397
- )) == null ? void 0 : Le.id;
5398
- await l({ activityId: n, reactionId: G });
5393
+ var Te, $e, Ze;
5394
+ const ne = (Ze = ($e = (Te = g == null ? void 0 : g.own_reactions) == null ? void 0 : Te.like) == null ? void 0 : $e.find(
5395
+ (wt) => wt.user_id === (w == null ? void 0 : w.id)
5396
+ )) == null ? void 0 : Ze.id;
5397
+ await l({ activityId: n, reactionId: ne });
5399
5398
  },
5400
5399
  activity: g
5401
5400
  }), {
5402
- mutate: v
5403
- } = ie(q), b = Ne(
5404
- ({ activityId: G }) => x({ activityId: G }),
5405
- [x]
5406
- ), W = Ne(
5407
- async ({ activityId: G }) => v({ activityId: G }),
5408
- [v]
5401
+ mutate: Z
5402
+ } = ie(x), v = Ae(
5403
+ ({ activityId: ne }) => J({ activityId: ne }),
5404
+ [J]
5405
+ ), b = Ae(
5406
+ async ({ activityId: ne }) => Z({ activityId: ne }),
5407
+ [Z]
5409
5408
  );
5410
- if (T)
5411
- return /* @__PURE__ */ s.jsx(pt, { variant: "error", text: T.message });
5412
- if (M || D)
5413
- return /* @__PURE__ */ s.jsx(Ae, { style: { height: "400px" } });
5414
- const X = ((re = g == null ? void 0 : g.actor) == null ? void 0 : re.id) === (w == null ? void 0 : w.id), se = Jt(r, X);
5409
+ if (T || M)
5410
+ return /* @__PURE__ */ s.jsx(Re, { style: { height: "400px" } });
5411
+ if (!g)
5412
+ return /* @__PURE__ */ s.jsx(gt, { variant: "error", text: "Post not found" });
5413
+ const W = ((q = g == null ? void 0 : g.actor) == null ? void 0 : q.id) === (w == null ? void 0 : w.id), X = Xt(r, W);
5415
5414
  return /* @__PURE__ */ s.jsx(
5416
- xt,
5415
+ bt,
5417
5416
  {
5418
5417
  className: "activity-section",
5419
5418
  content: {
5420
5419
  type: "post",
5421
5420
  body: g == null ? void 0 : g.content,
5422
- canLike: se,
5421
+ canLike: X,
5423
5422
  createdAt: (g == null ? void 0 : g.time) || "",
5424
5423
  slugs: {
5425
5424
  question: `${t}/${n}`,
@@ -5428,35 +5427,35 @@ const Vo = ({
5428
5427
  },
5429
5428
  slug: n,
5430
5429
  author: {
5431
- id: (oe = g == null ? void 0 : g.actor) == null ? void 0 : oe.id,
5432
- name: ((ee = g == null ? void 0 : g.actor) == null ? void 0 : ee.data) && ((ue = (fe = g == null ? void 0 : g.actor) == null ? void 0 : fe.data) == null ? void 0 : ue.name),
5433
- organization: ((F = g == null ? void 0 : g.actor) == null ? void 0 : F.data) && ((he = (ae = g == null ? void 0 : g.actor) == null ? void 0 : ae.data) == null ? void 0 : he.organization),
5434
- jobTitle: ((ce = g == null ? void 0 : g.actor) == null ? void 0 : ce.data) && ((pe = (xe = g == null ? void 0 : g.actor) == null ? void 0 : xe.data) == null ? void 0 : pe.jobTitle),
5430
+ id: (re = g == null ? void 0 : g.actor) == null ? void 0 : re.id,
5431
+ name: ((oe = g == null ? void 0 : g.actor) == null ? void 0 : oe.data) && ((fe = (ee = g == null ? void 0 : g.actor) == null ? void 0 : ee.data) == null ? void 0 : fe.name),
5432
+ organization: ((ue = g == null ? void 0 : g.actor) == null ? void 0 : ue.data) && ((ae = (F = g == null ? void 0 : g.actor) == null ? void 0 : F.data) == null ? void 0 : ae.organization),
5433
+ jobTitle: ((he = g == null ? void 0 : g.actor) == null ? void 0 : he.data) && ((xe = (ce = g == null ? void 0 : g.actor) == null ? void 0 : ce.data) == null ? void 0 : xe.jobTitle),
5435
5434
  image: {
5436
- thumbnail: ((be = g == null ? void 0 : g.actor) == null ? void 0 : be.data) && ((I = (ge = g == null ? void 0 : g.actor) == null ? void 0 : ge.data) == null ? void 0 : I.thumbnail) || void 0
5435
+ thumbnail: ((pe = g == null ? void 0 : g.actor) == null ? void 0 : pe.data) && ((ge = (be = g == null ? void 0 : g.actor) == null ? void 0 : be.data) == null ? void 0 : ge.thumbnail) || void 0
5437
5436
  }
5438
5437
  },
5439
- userLiked: ((Y = g == null ? void 0 : g.own_reactions) == null ? void 0 : Y.like) && ((le = g == null ? void 0 : g.own_reactions) == null ? void 0 : le.like.length) > 0,
5440
- likes: g && (g == null ? void 0 : g.reaction_counts.like),
5441
- comments: g && (g == null ? void 0 : g.reaction_counts.reply),
5442
- peopleWhoLiked: ((te = g == null ? void 0 : g.latest_reactions) == null ? void 0 : te.like) && ((me = g == null ? void 0 : g.latest_reactions) == null ? void 0 : me.like.map((G) => {
5443
- var Te, Fe;
5438
+ userLiked: ((I = g == null ? void 0 : g.own_reactions) == null ? void 0 : I.like) && ((Y = g == null ? void 0 : g.own_reactions) == null ? void 0 : Y.like.length) > 0,
5439
+ likes: g && ((le = g == null ? void 0 : g.reaction_counts) == null ? void 0 : le.like),
5440
+ comments: g && ((te = g == null ? void 0 : g.reaction_counts) == null ? void 0 : te.reply),
5441
+ peopleWhoLiked: ((me = g == null ? void 0 : g.latest_reactions) == null ? void 0 : me.like) && ((ke = g == null ? void 0 : g.latest_reactions) == null ? void 0 : ke.like.map((ne) => {
5442
+ var Te, $e;
5444
5443
  return {
5445
- id: G == null ? void 0 : G.user_id,
5446
- name: (Fe = (Te = G == null ? void 0 : G.user) == null ? void 0 : Te.data) == null ? void 0 : Fe.name
5444
+ id: ne == null ? void 0 : ne.user_id,
5445
+ name: ($e = (Te = ne == null ? void 0 : ne.user) == null ? void 0 : Te.data) == null ? void 0 : $e.name
5447
5446
  };
5448
5447
  }))
5449
5448
  },
5450
- originalAuthorId: (ke = g == null ? void 0 : g.actor) == null ? void 0 : ke.id,
5449
+ originalAuthorId: (Pe = g == null ? void 0 : g.actor) == null ? void 0 : Pe.id,
5451
5450
  functions: {
5452
5451
  content: {
5453
5452
  createContent: () => console.log("create"),
5454
5453
  deleteContent: () => P({ activityId: n }),
5455
- updateContent: (G, Te) => V({ activityInfo: G, content: Te })
5454
+ updateContent: (ne, Te) => B({ activityInfo: ne, content: Te })
5456
5455
  },
5457
5456
  likes: {
5458
- createLike: () => b({ activityId: n }),
5459
- deleteLike: () => W({ activityId: n })
5457
+ createLike: () => v({ activityId: n }),
5458
+ deleteLike: () => b({ activityId: n })
5460
5459
  },
5461
5460
  comments: {
5462
5461
  openComments: () => {
@@ -5466,7 +5465,7 @@ const Vo = ({
5466
5465
  children: /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
5467
5466
  /* @__PURE__ */ s.jsxs("h3", { children: [
5468
5467
  "Comments (",
5469
- ((Re = g == null ? void 0 : g.reaction_counts) == null ? void 0 : Re.reply) || 0,
5468
+ ((We = g == null ? void 0 : g.reaction_counts) == null ? void 0 : We.reply) || 0,
5470
5469
  ")"
5471
5470
  ] }),
5472
5471
  /* @__PURE__ */ s.jsx(
@@ -5475,7 +5474,7 @@ const Vo = ({
5475
5474
  basePath: e,
5476
5475
  parentId: t,
5477
5476
  activityId: n,
5478
- repliesList: (We = g == null ? void 0 : g.latest_reactions) == null ? void 0 : We.reply,
5477
+ repliesList: (Le = g == null ? void 0 : g.latest_reactions) == null ? void 0 : Le.reply,
5479
5478
  isMember: r,
5480
5479
  functions: {
5481
5480
  create: a,
@@ -5500,67 +5499,67 @@ const Vo = ({
5500
5499
  image: { thumbnail: c }
5501
5500
  });
5502
5501
  export {
5503
- Qt as ASSETS_BUCKET,
5502
+ Ht as ASSETS_BUCKET,
5504
5503
  zo as ActivitiesFeed,
5505
5504
  Vo as ActivitySection,
5506
- Gt as AddPost,
5505
+ Jt as AddPost,
5507
5506
  So as BannerSection,
5508
5507
  Ro as Breadcrumbs,
5509
5508
  z as Button,
5510
- ft as ButtonWrapper,
5509
+ ht as ButtonWrapper,
5511
5510
  lr as CacheProvider,
5512
- Sn as CollapsibleSection,
5511
+ Tn as CollapsibleSection,
5513
5512
  kr as Columns,
5514
5513
  Ao as CommunityDetails,
5515
5514
  cr as Contributors,
5516
- _t as ConversationContext,
5515
+ xt as ConversationContext,
5517
5516
  jr as CookieBanner,
5518
5517
  Rr as DiscussionConversation,
5519
- In as DiscussionForm,
5518
+ Qn as DiscussionForm,
5520
5519
  Fr as DiscussionLikes,
5521
- xt as DiscussionPost,
5520
+ bt as DiscussionPost,
5522
5521
  Or as DiscussionThread,
5523
5522
  He as Divider,
5524
5523
  yo as DownloadSection,
5525
5524
  Je as EMAILS,
5526
5525
  Lo as EmailHelperTextBox,
5527
- pt as EmptyStateBox,
5528
- Co as Filters,
5526
+ gt as EmptyStateBox,
5527
+ Po as Filters,
5529
5528
  mr as FlagsProvider,
5530
- Rn as Footer,
5531
- En as FullWidthSection,
5529
+ Pn as Footer,
5530
+ Sn as FullWidthSection,
5532
5531
  No as GlobalProviders,
5533
- Ln as Header,
5532
+ On as Header,
5534
5533
  zs as HelperTextBox,
5535
- vn as HiddenFromScreenReaders,
5534
+ kn as HiddenFromScreenReaders,
5536
5535
  Mo as HideShowTextBox,
5537
- Pe as HighlightedTextBox,
5536
+ Fe as HighlightedTextBox,
5538
5537
  fr as IntlProvider,
5539
5538
  Tr as InviteForm,
5540
5539
  Io as InviteModal,
5541
- Nn as JoinButton,
5542
- Po as LanguageSwitcher,
5543
- ht as Link,
5540
+ An as JoinButton,
5541
+ Co as LanguageSwitcher,
5542
+ pt as Link,
5544
5543
  gr as LoadMore,
5545
5544
  Do as LoadingBlock,
5546
- Ae as LoadingPlaceholder,
5545
+ Re as LoadingPlaceholder,
5547
5546
  or as LoadingState,
5548
- An as Logo,
5547
+ Rn as Logo,
5549
5548
  Eo as LogoSection,
5550
- mn as MarkdownText,
5549
+ fn as MarkdownText,
5551
5550
  To as MarketingBox,
5552
- Yt as Member,
5551
+ Gt as Member,
5553
5552
  Uo as MembersList,
5554
- On as Modal,
5553
+ Bn as Modal,
5555
5554
  _r as MoreMenu,
5556
5555
  $o as NUMBER_OF_USERS,
5557
5556
  wr as NavigationMenu,
5558
- Bn as Overlay,
5557
+ In as Overlay,
5559
5558
  er as PageHeading,
5560
5559
  Qo as PageLayout,
5561
5560
  Oo as PasswordRules,
5562
5561
  tr as Pill,
5563
- gt as ProfilePicture,
5562
+ _t as ProfilePicture,
5564
5563
  sr as ProgressBar,
5565
5564
  Bo as Rating,
5566
5565
  no as RepliesFeed,
@@ -5568,7 +5567,7 @@ export {
5568
5567
  Qs as ResponsiveImage,
5569
5568
  Sr as SearchForm,
5570
5569
  qs as Span,
5571
- Ut as StatusBanner,
5570
+ Wt as StatusBanner,
5572
5571
  Ho as Tags,
5573
5572
  Hs as Tooltip,
5574
5573
  Fo as TopLevelPage,
@@ -5576,12 +5575,12 @@ export {
5576
5575
  hr as UserProvider,
5577
5576
  _e as VisuallyHidden,
5578
5577
  Mr as addAriaProps,
5579
- Dn as getMember,
5580
- at as headerData,
5578
+ Nn as getMember,
5579
+ it as headerData,
5581
5580
  Yo as mapGetStreamData,
5582
5581
  Es as useCurrentPath,
5583
5582
  Qe as useEffectAfterMount,
5584
- mt as useElementWidth,
5583
+ ft as useElementWidth,
5585
5584
  Ts as useScrollListener,
5586
5585
  jo as useScrollToHash
5587
5586
  };