@apolitical/component-library 5.2.1 → 5.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -220,14 +220,14 @@ function Th() {
220
220
  }
221
221
  return null;
222
222
  }
223
- var T = Object.assign, j = 0, H, U, G, ie, D, I, X;
223
+ var T = Object.assign, j = 0, H, U, G, ie, D, I, J;
224
224
  function F() {
225
225
  }
226
226
  F.__reactDisabledLog = !0;
227
227
  function B() {
228
228
  {
229
229
  if (j === 0) {
230
- H = console.log, U = console.info, G = console.warn, ie = console.error, D = console.group, I = console.groupCollapsed, X = console.groupEnd;
230
+ H = console.log, U = console.info, G = console.warn, ie = console.error, D = console.group, I = console.groupCollapsed, J = console.groupEnd;
231
231
  var P = {
232
232
  configurable: !0,
233
233
  enumerable: !0,
@@ -275,7 +275,7 @@ function Th() {
275
275
  value: I
276
276
  }),
277
277
  groupEnd: T({}, P, {
278
- value: X
278
+ value: J
279
279
  })
280
280
  });
281
281
  }
@@ -301,7 +301,7 @@ function Th() {
301
301
  var de = typeof WeakMap == "function" ? WeakMap : Map;
302
302
  ne = new de();
303
303
  }
304
- function J(P, ae) {
304
+ function X(P, ae) {
305
305
  if (!P || te)
306
306
  return "";
307
307
  {
@@ -373,7 +373,7 @@ function Th() {
373
373
  return typeof P == "function" && ne.set(P, Vo), Vo;
374
374
  }
375
375
  function ve(P, ae, fe) {
376
- return J(P, !1);
376
+ return X(P, !1);
377
377
  }
378
378
  function ge(P) {
379
379
  var ae = P.prototype;
@@ -383,7 +383,7 @@ function Th() {
383
383
  if (P == null)
384
384
  return "";
385
385
  if (typeof P == "function")
386
- return J(P, ge(P));
386
+ return X(P, ge(P));
387
387
  if (typeof P == "string")
388
388
  return W(P);
389
389
  switch (P) {
@@ -1681,13 +1681,15 @@ const Te = ({
1681
1681
  }
1682
1682
  !l && u && (u = "");
1683
1683
  const v = [];
1684
- typeof t == "string" && v.push(t), r && (v.push("icon"), typeof r == "object" ? (v.push(r.icon), r.position ? v.push(r.position) : v.push("left"), r.hover && v.push(`hover_${r.hover}`), r.animate && (v.push("animate"), typeof r.animate == "string" && v.push(r.animate))) : (v.push(r), !r.includes("right") && !r.includes("left") && v.push("left"))), n.muted && v.push("muted"), n.fullWidth && v.push("full-width");
1684
+ typeof t == "string" && v.push(t), r && (v.push("icon"), typeof r == "object" ? (v.push(r.icon), r.position ? v.push(r.position) : v.push("left"), r.hover && v.push(`hover_${r.hover}`), r.animate && (v.push("animate"), typeof r.animate == "string" && v.push(r.animate))) : (v.push(r), !r.includes("right") && !r.includes("left") && v.push("left")));
1685
1685
  const x = {
1686
1686
  ...m,
1687
1687
  className: V(e, o, v, {
1688
1688
  "no-text": !h,
1689
1689
  disabled: l,
1690
- button: i
1690
+ button: i,
1691
+ muted: n.muted,
1692
+ "full-width": n.fullWidth
1691
1693
  }),
1692
1694
  onClick: (E) => {
1693
1695
  (!i || i[0] === "#") && s && (E.preventDefault(), E.stopPropagation()), s && s(E);
@@ -3180,16 +3182,16 @@ var lu;
3180
3182
  function Rm() {
3181
3183
  return lu || (lu = 1, process.env.NODE_ENV !== "production" && function() {
3182
3184
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
3183
- function k(J) {
3184
- return typeof J == "string" || typeof J == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
3185
- J === r || J === u || J === a || J === i || J === h || J === m || typeof J == "object" && J !== null && (J.$$typeof === g || J.$$typeof === p || J.$$typeof === s || J.$$typeof === o || J.$$typeof === d || J.$$typeof === b || J.$$typeof === v || J.$$typeof === x || J.$$typeof === f);
3185
+ function k(X) {
3186
+ return typeof X == "string" || typeof X == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
3187
+ X === r || X === u || X === a || X === i || X === h || X === m || typeof X == "object" && X !== null && (X.$$typeof === g || X.$$typeof === p || X.$$typeof === s || X.$$typeof === o || X.$$typeof === d || X.$$typeof === b || X.$$typeof === v || X.$$typeof === x || X.$$typeof === f);
3186
3188
  }
3187
- function E(J) {
3188
- if (typeof J == "object" && J !== null) {
3189
- var ve = J.$$typeof;
3189
+ function E(X) {
3190
+ if (typeof X == "object" && X !== null) {
3191
+ var ve = X.$$typeof;
3190
3192
  switch (ve) {
3191
3193
  case t:
3192
- var ge = J.type;
3194
+ var ge = X.type;
3193
3195
  switch (ge) {
3194
3196
  case l:
3195
3197
  case u:
@@ -3217,46 +3219,46 @@ function Rm() {
3217
3219
  }
3218
3220
  }
3219
3221
  var w = l, _ = u, S = o, z = s, O = t, L = d, M = r, A = g, C = p, T = n, j = a, H = i, U = h, G = !1;
3220
- function ie(J) {
3221
- return G || (G = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), D(J) || E(J) === l;
3222
+ function ie(X) {
3223
+ return G || (G = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), D(X) || E(X) === l;
3222
3224
  }
3223
- function D(J) {
3224
- return E(J) === u;
3225
+ function D(X) {
3226
+ return E(X) === u;
3225
3227
  }
3226
- function I(J) {
3227
- return E(J) === o;
3228
+ function I(X) {
3229
+ return E(X) === o;
3228
3230
  }
3229
- function X(J) {
3230
- return E(J) === s;
3231
+ function J(X) {
3232
+ return E(X) === s;
3231
3233
  }
3232
- function F(J) {
3233
- return typeof J == "object" && J !== null && J.$$typeof === t;
3234
+ function F(X) {
3235
+ return typeof X == "object" && X !== null && X.$$typeof === t;
3234
3236
  }
3235
- function B(J) {
3236
- return E(J) === d;
3237
+ function B(X) {
3238
+ return E(X) === d;
3237
3239
  }
3238
- function $(J) {
3239
- return E(J) === r;
3240
+ function $(X) {
3241
+ return E(X) === r;
3240
3242
  }
3241
- function R(J) {
3242
- return E(J) === g;
3243
+ function R(X) {
3244
+ return E(X) === g;
3243
3245
  }
3244
- function q(J) {
3245
- return E(J) === p;
3246
+ function q(X) {
3247
+ return E(X) === p;
3246
3248
  }
3247
- function W(J) {
3248
- return E(J) === n;
3249
+ function W(X) {
3250
+ return E(X) === n;
3249
3251
  }
3250
- function te(J) {
3251
- return E(J) === a;
3252
+ function te(X) {
3253
+ return E(X) === a;
3252
3254
  }
3253
- function ne(J) {
3254
- return E(J) === i;
3255
+ function ne(X) {
3256
+ return E(X) === i;
3255
3257
  }
3256
- function de(J) {
3257
- return E(J) === h;
3258
+ function de(X) {
3259
+ return E(X) === h;
3258
3260
  }
3259
- qe.AsyncMode = w, qe.ConcurrentMode = _, qe.ContextConsumer = S, qe.ContextProvider = z, qe.Element = O, qe.ForwardRef = L, qe.Fragment = M, qe.Lazy = A, qe.Memo = C, qe.Portal = T, qe.Profiler = j, qe.StrictMode = H, qe.Suspense = U, qe.isAsyncMode = ie, qe.isConcurrentMode = D, qe.isContextConsumer = I, qe.isContextProvider = X, qe.isElement = F, qe.isForwardRef = B, qe.isFragment = $, qe.isLazy = R, qe.isMemo = q, qe.isPortal = W, qe.isProfiler = te, qe.isStrictMode = ne, qe.isSuspense = de, qe.isValidElementType = k, qe.typeOf = E;
3261
+ qe.AsyncMode = w, qe.ConcurrentMode = _, qe.ContextConsumer = S, qe.ContextProvider = z, qe.Element = O, qe.ForwardRef = L, qe.Fragment = M, qe.Lazy = A, qe.Memo = C, qe.Portal = T, qe.Profiler = j, qe.StrictMode = H, qe.Suspense = U, qe.isAsyncMode = ie, qe.isConcurrentMode = D, qe.isContextConsumer = I, qe.isContextProvider = J, qe.isElement = F, qe.isForwardRef = B, qe.isFragment = $, qe.isLazy = R, qe.isMemo = q, qe.isPortal = W, qe.isProfiler = te, qe.isStrictMode = ne, qe.isSuspense = de, qe.isValidElementType = k, qe.typeOf = E;
3260
3262
  }()), qe;
3261
3263
  }
3262
3264
  var cu;
@@ -3432,20 +3434,20 @@ function Lm() {
3432
3434
  f.prototype = Error.prototype;
3433
3435
  function b(D) {
3434
3436
  if (process.env.NODE_ENV !== "production")
3435
- var I = {}, X = 0;
3437
+ var I = {}, J = 0;
3436
3438
  function F($, R, q, W, te, ne, de) {
3437
3439
  if (W = W || m, ne = ne || q, de !== n) {
3438
3440
  if (l) {
3439
- var J = new Error(
3441
+ var X = new Error(
3440
3442
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
3441
3443
  );
3442
- throw J.name = "Invariant Violation", J;
3444
+ throw X.name = "Invariant Violation", X;
3443
3445
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
3444
3446
  var ve = W + ":" + q;
3445
3447
  !I[ve] && // Avoid spamming the console because they are often not actionable except for lib authors
3446
- X < 3 && (a(
3448
+ J < 3 && (a(
3447
3449
  "You are manually calling a React.PropTypes validation function for the `" + ne + "` prop on `" + W + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
3448
- ), I[ve] = !0, X++);
3450
+ ), I[ve] = !0, J++);
3449
3451
  }
3450
3452
  }
3451
3453
  return R[q] == null ? $ ? R[q] === null ? new f("The " + te + " `" + ne + "` is marked as required " + ("in `" + W + "`, but its value is `null`.")) : new f("The " + te + " `" + ne + "` is marked as required in " + ("`" + W + "`, but its value is `undefined`.")) : null : D(R, q, W, te, ne);
@@ -3454,8 +3456,8 @@ function Lm() {
3454
3456
  return B.isRequired = F.bind(null, !0), B;
3455
3457
  }
3456
3458
  function v(D) {
3457
- function I(X, F, B, $, R, q) {
3458
- var W = X[F], te = H(W);
3459
+ function I(J, F, B, $, R, q) {
3460
+ var W = J[F], te = H(W);
3459
3461
  if (te !== D) {
3460
3462
  var ne = U(W);
3461
3463
  return new f(
@@ -3471,10 +3473,10 @@ function Lm() {
3471
3473
  return b(s);
3472
3474
  }
3473
3475
  function k(D) {
3474
- function I(X, F, B, $, R) {
3476
+ function I(J, F, B, $, R) {
3475
3477
  if (typeof D != "function")
3476
3478
  return new f("Property `" + R + "` of component `" + B + "` has invalid PropType notation inside arrayOf.");
3477
- var q = X[F];
3479
+ var q = J[F];
3478
3480
  if (!Array.isArray(q)) {
3479
3481
  var W = H(q);
3480
3482
  return new f("Invalid " + $ + " `" + R + "` of type " + ("`" + W + "` supplied to `" + B + "`, expected an array."));
@@ -3489,8 +3491,8 @@ function Lm() {
3489
3491
  return b(I);
3490
3492
  }
3491
3493
  function E() {
3492
- function D(I, X, F, B, $) {
3493
- var R = I[X];
3494
+ function D(I, J, F, B, $) {
3495
+ var R = I[J];
3494
3496
  if (!o(R)) {
3495
3497
  var q = H(R);
3496
3498
  return new f("Invalid " + B + " `" + $ + "` of type " + ("`" + q + "` supplied to `" + F + "`, expected a single ReactElement."));
@@ -3500,8 +3502,8 @@ function Lm() {
3500
3502
  return b(D);
3501
3503
  }
3502
3504
  function w() {
3503
- function D(I, X, F, B, $) {
3504
- var R = I[X];
3505
+ function D(I, J, F, B, $) {
3506
+ var R = I[J];
3505
3507
  if (!e.isValidElementType(R)) {
3506
3508
  var q = H(R);
3507
3509
  return new f("Invalid " + B + " `" + $ + "` of type " + ("`" + q + "` supplied to `" + F + "`, expected a single ReactElement type."));
@@ -3511,9 +3513,9 @@ function Lm() {
3511
3513
  return b(D);
3512
3514
  }
3513
3515
  function _(D) {
3514
- function I(X, F, B, $, R) {
3515
- if (!(X[F] instanceof D)) {
3516
- var q = D.name || m, W = ie(X[F]);
3516
+ function I(J, F, B, $, R) {
3517
+ if (!(J[F] instanceof D)) {
3518
+ var q = D.name || m, W = ie(J[F]);
3517
3519
  return new f("Invalid " + $ + " `" + R + "` of type " + ("`" + W + "` supplied to `" + B + "`, expected ") + ("instance of `" + q + "`."));
3518
3520
  }
3519
3521
  return null;
@@ -3525,23 +3527,23 @@ function Lm() {
3525
3527
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
3526
3528
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
3527
3529
  ) : a("Invalid argument supplied to oneOf, expected an array.")), s;
3528
- function I(X, F, B, $, R) {
3529
- for (var q = X[F], W = 0; W < D.length; W++)
3530
+ function I(J, F, B, $, R) {
3531
+ for (var q = J[F], W = 0; W < D.length; W++)
3530
3532
  if (g(q, D[W]))
3531
3533
  return null;
3532
- var te = JSON.stringify(D, function(de, J) {
3533
- var ve = U(J);
3534
- return ve === "symbol" ? String(J) : J;
3534
+ var te = JSON.stringify(D, function(de, X) {
3535
+ var ve = U(X);
3536
+ return ve === "symbol" ? String(X) : X;
3535
3537
  });
3536
3538
  return new f("Invalid " + $ + " `" + R + "` of value `" + String(q) + "` " + ("supplied to `" + B + "`, expected one of " + te + "."));
3537
3539
  }
3538
3540
  return b(I);
3539
3541
  }
3540
3542
  function z(D) {
3541
- function I(X, F, B, $, R) {
3543
+ function I(J, F, B, $, R) {
3542
3544
  if (typeof D != "function")
3543
3545
  return new f("Property `" + R + "` of component `" + B + "` has invalid PropType notation inside objectOf.");
3544
- var q = X[F], W = H(q);
3546
+ var q = J[F], W = H(q);
3545
3547
  if (W !== "object")
3546
3548
  return new f("Invalid " + $ + " `" + R + "` of type " + ("`" + W + "` supplied to `" + B + "`, expected an object."));
3547
3549
  for (var te in q)
@@ -3558,18 +3560,18 @@ function Lm() {
3558
3560
  if (!Array.isArray(D))
3559
3561
  return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), s;
3560
3562
  for (var I = 0; I < D.length; I++) {
3561
- var X = D[I];
3562
- if (typeof X != "function")
3563
+ var J = D[I];
3564
+ if (typeof J != "function")
3563
3565
  return a(
3564
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + G(X) + " at index " + I + "."
3566
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + G(J) + " at index " + I + "."
3565
3567
  ), s;
3566
3568
  }
3567
3569
  function F(B, $, R, q, W) {
3568
3570
  for (var te = [], ne = 0; ne < D.length; ne++) {
3569
- var de = D[ne], J = de(B, $, R, q, W, n);
3570
- if (J == null)
3571
+ var de = D[ne], X = de(B, $, R, q, W, n);
3572
+ if (X == null)
3571
3573
  return null;
3572
- J.data && r(J.data, "expectedType") && te.push(J.data.expectedType);
3574
+ X.data && r(X.data, "expectedType") && te.push(X.data.expectedType);
3573
3575
  }
3574
3576
  var ve = te.length > 0 ? ", expected one of type [" + te.join(", ") + "]" : "";
3575
3577
  return new f("Invalid " + q + " `" + W + "` supplied to " + ("`" + R + "`" + ve + "."));
@@ -3577,19 +3579,19 @@ function Lm() {
3577
3579
  return b(F);
3578
3580
  }
3579
3581
  function L() {
3580
- function D(I, X, F, B, $) {
3581
- return T(I[X]) ? null : new f("Invalid " + B + " `" + $ + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
3582
+ function D(I, J, F, B, $) {
3583
+ return T(I[J]) ? null : new f("Invalid " + B + " `" + $ + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
3582
3584
  }
3583
3585
  return b(D);
3584
3586
  }
3585
- function M(D, I, X, F, B) {
3587
+ function M(D, I, J, F, B) {
3586
3588
  return new f(
3587
- (D || "React class") + ": " + I + " type `" + X + "." + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + B + "`."
3589
+ (D || "React class") + ": " + I + " type `" + J + "." + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + B + "`."
3588
3590
  );
3589
3591
  }
3590
3592
  function A(D) {
3591
- function I(X, F, B, $, R) {
3592
- var q = X[F], W = H(q);
3593
+ function I(J, F, B, $, R) {
3594
+ var q = J[F], W = H(q);
3593
3595
  if (W !== "object")
3594
3596
  return new f("Invalid " + $ + " `" + R + "` of type `" + W + "` " + ("supplied to `" + B + "`, expected `object`."));
3595
3597
  for (var te in D) {
@@ -3605,23 +3607,23 @@ function Lm() {
3605
3607
  return b(I);
3606
3608
  }
3607
3609
  function C(D) {
3608
- function I(X, F, B, $, R) {
3609
- var q = X[F], W = H(q);
3610
+ function I(J, F, B, $, R) {
3611
+ var q = J[F], W = H(q);
3610
3612
  if (W !== "object")
3611
3613
  return new f("Invalid " + $ + " `" + R + "` of type `" + W + "` " + ("supplied to `" + B + "`, expected `object`."));
3612
- var te = t({}, X[F], D);
3614
+ var te = t({}, J[F], D);
3613
3615
  for (var ne in te) {
3614
3616
  var de = D[ne];
3615
3617
  if (r(D, ne) && typeof de != "function")
3616
3618
  return M(B, $, R, ne, U(de));
3617
3619
  if (!de)
3618
3620
  return new f(
3619
- "Invalid " + $ + " `" + R + "` key `" + ne + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(X[F], null, " ") + `
3621
+ "Invalid " + $ + " `" + R + "` key `" + ne + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(J[F], null, " ") + `
3620
3622
  Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
3621
3623
  );
3622
- var J = de(q, ne, B, $, R + "." + ne, n);
3623
- if (J)
3624
- return J;
3624
+ var X = de(q, ne, B, $, R + "." + ne, n);
3625
+ if (X)
3626
+ return X;
3625
3627
  }
3626
3628
  return null;
3627
3629
  }
@@ -3642,13 +3644,13 @@ Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
3642
3644
  return !0;
3643
3645
  var I = h(D);
3644
3646
  if (I) {
3645
- var X = I.call(D), F;
3647
+ var J = I.call(D), F;
3646
3648
  if (I !== D.entries) {
3647
- for (; !(F = X.next()).done; )
3649
+ for (; !(F = J.next()).done; )
3648
3650
  if (!T(F.value))
3649
3651
  return !1;
3650
3652
  } else
3651
- for (; !(F = X.next()).done; ) {
3653
+ for (; !(F = J.next()).done; ) {
3652
3654
  var B = F.value;
3653
3655
  if (B && !T(B[1]))
3654
3656
  return !1;
@@ -4168,12 +4170,12 @@ var Du = {
4168
4170
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
4169
4171
  */
4170
4172
  nextTabbableNode: function(I) {
4171
- var X = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, F = C.indexOf(I);
4172
- return F < 0 ? X ? T.slice(T.indexOf(I) + 1).find(function(B) {
4173
+ var J = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, F = C.indexOf(I);
4174
+ return F < 0 ? J ? T.slice(T.indexOf(I) + 1).find(function(B) {
4173
4175
  return _n(B);
4174
4176
  }) : T.slice(0, T.indexOf(I)).reverse().find(function(B) {
4175
4177
  return _n(B);
4176
- }) : C[F + (X ? 1 : -1)];
4178
+ }) : C[F + (J ? 1 : -1)];
4177
4179
  }
4178
4180
  };
4179
4181
  }), s.tabbableGroups = s.containerGroups.filter(function(A) {
@@ -4215,8 +4217,8 @@ var Du = {
4215
4217
  return C === q;
4216
4218
  });
4217
4219
  if (D < 0 && (ie.container === C || ki(C, a.tabbableOptions) && !_n(C, a.tabbableOptions) && !ie.nextTabbableNode(C, !1)) && (D = G), D >= 0) {
4218
- var I = D === 0 ? s.tabbableGroups.length - 1 : D - 1, X = s.tabbableGroups[I];
4219
- U = pn(C) >= 0 ? X.lastTabbableNode : X.lastDomTabbableNode;
4220
+ var I = D === 0 ? s.tabbableGroups.length - 1 : D - 1, J = s.tabbableGroups[I];
4221
+ U = pn(C) >= 0 ? J.lastTabbableNode : J.lastDomTabbableNode;
4220
4222
  } else
4221
4223
  Tr(T) || (U = ie.nextTabbableNode(C, !1));
4222
4224
  } else {
@@ -6488,23 +6490,23 @@ const wn = ({
6488
6490
  }
6489
6491
  });
6490
6492
  }
6493
+ }, J = (B) => {
6494
+ var q;
6495
+ if (B.preventDefault(), B.stopPropagation(), j)
6496
+ return;
6497
+ let $ = 0;
6498
+ if ((q = ie == null ? void 0 : ie.current) != null && q.id) {
6499
+ const W = document.getElementById(ie.current.id);
6500
+ W && ($ = W.getBoundingClientRect().top + window.scrollY);
6501
+ }
6502
+ const R = document.getElementById("header");
6503
+ R && ($ = $ - R.offsetHeight - b), $ < 0 && ($ = 0), window.scrollTo({ top: $, behavior: "smooth" }), I();
6491
6504
  }, F = [
6492
6505
  {
6493
6506
  ...f,
6494
6507
  icon: H ? { icon: "tick", position: "left" } : !1,
6495
- className: "gtm-trackable",
6496
- onClick: (B) => {
6497
- var q;
6498
- if (B.preventDefault(), B.stopPropagation(), j)
6499
- return;
6500
- let $ = 0;
6501
- if ((q = ie == null ? void 0 : ie.current) != null && q.id) {
6502
- const W = document.getElementById(ie.current.id);
6503
- W && ($ = W.getBoundingClientRect().top + window.scrollY);
6504
- }
6505
- const R = document.getElementById("header");
6506
- R && ($ = $ - R.offsetHeight - b), $ < 0 && ($ = 0), window.scrollTo({ top: $, behavior: "smooth" }), I();
6507
- },
6508
+ className: V("gtm-trackable", f.className),
6509
+ onClick: J,
6508
6510
  disabled: j || H || s.disabled,
6509
6511
  "data-gtm-event-context": d.context,
6510
6512
  "data-gtm-event-type": d.event,
@@ -6513,7 +6515,7 @@ const wn = ({
6513
6515
  ];
6514
6516
  return v && F.unshift({
6515
6517
  ...o,
6516
- className: "gtm-trackable",
6518
+ className: V("gtm-trackable", o.className),
6517
6519
  "data-gtm-event-context": d.context,
6518
6520
  "data-gtm-event-type": d.event,
6519
6521
  disabled: j || H,
@@ -6549,12 +6551,12 @@ const wn = ({
6549
6551
  return /* @__PURE__ */ c.jsx(q, { ...B.props || {} }, `component-${R}-${$}`);
6550
6552
  const ne = (U == null ? void 0 : U[R]) || "", de = {
6551
6553
  ...W,
6552
- onChange: (J) => {
6553
- C({ type: "updateValue", payload: { key: R, value: J } }), W.onChange(J && J.toString(), C);
6554
+ onChange: (X) => {
6555
+ C({ type: "updateValue", payload: { key: R, value: X } }), W.onChange(X && X.toString(), C);
6554
6556
  }
6555
6557
  };
6556
- return te && (de.onKeyDown = (J) => {
6557
- J.key === "Enter" && (J.stopPropagation(), J.preventDefault(), I()), W.onKeyDown && W.onKeyDown(J);
6558
+ return te && (de.onKeyDown = (X) => {
6559
+ X.key === "Enter" && (X.stopPropagation(), X.preventDefault(), I()), W.onKeyDown && W.onKeyDown(X);
6558
6560
  }), /* @__PURE__ */ c.jsx(
6559
6561
  Jp,
6560
6562
  {
@@ -8170,8 +8172,8 @@ var Ug = (e, t, n) => {
8170
8172
  path: ie
8171
8173
  } = n, D = ie[ie.length - 1], I = oe.parent(e, ie);
8172
8174
  if (I.children.splice(D, 1), t)
8173
- for (var [X, F] of K.points(t)) {
8174
- var B = Be.transform(X, n);
8175
+ for (var [J, F] of K.points(t)) {
8176
+ var B = Be.transform(J, n);
8175
8177
  if (t != null && B != null)
8176
8178
  t[F] = B;
8177
8179
  else {
@@ -8184,7 +8186,7 @@ var Ug = (e, t, n) => {
8184
8186
  break;
8185
8187
  }
8186
8188
  var te = !1;
8187
- $ && R && (N.equals(R[1], ie) ? te = !N.hasPrevious(R[1]) : te = N.common($[1], ie).length < N.common(R[1], ie).length), $ && !te ? (X.path = $[1], X.offset = $[0].text.length) : R ? (X.path = R[1], X.offset = 0) : t = null;
8189
+ $ && R && (N.equals(R[1], ie) ? te = !N.hasPrevious(R[1]) : te = N.common($[1], ie).length < N.common(R[1], ie).length), $ && !te ? (J.path = $[1], J.offset = $[0].text.length) : R ? (J.path = R[1], J.offset = 0) : t = null;
8188
8190
  }
8189
8191
  }
8190
8192
  break;
@@ -8193,11 +8195,11 @@ var Ug = (e, t, n) => {
8193
8195
  var {
8194
8196
  path: ne,
8195
8197
  offset: de,
8196
- text: J
8198
+ text: X
8197
8199
  } = n;
8198
- if (J.length === 0)
8200
+ if (X.length === 0)
8199
8201
  break;
8200
- var ve = oe.leaf(e, ne), ge = ve.text.slice(0, de), Ae = ve.text.slice(de + J.length);
8202
+ var ve = oe.leaf(e, ne), ge = ve.text.slice(0, de), Ae = ve.text.slice(de + X.length);
8201
8203
  if (ve.text = ge + Ae, t)
8202
8204
  for (var [Se, Pe] of K.points(t))
8203
8205
  t[Pe] = Be.transform(Se, n);
@@ -10499,11 +10501,11 @@ var S0 = (e, t) => {
10499
10501
  return y.pathRef(t, Ae);
10500
10502
  }), G = y.pointRef(t, x), ie = y.pointRef(t, k), D = "";
10501
10503
  if (!S && !z) {
10502
- var I = G.current, [X] = y.leaf(t, I), {
10504
+ var I = G.current, [J] = y.leaf(t, I), {
10503
10505
  path: F
10504
10506
  } = I, {
10505
10507
  offset: B
10506
- } = x, $ = X.text.slice(B);
10508
+ } = x, $ = J.text.slice(B);
10507
10509
  $.length > 0 && (t.apply({
10508
10510
  type: "remove_text",
10509
10511
  path: F,
@@ -10530,7 +10532,7 @@ var S0 = (e, t) => {
10530
10532
  hanging: !0,
10531
10533
  voids: l
10532
10534
  }), h && a && s === "character" && D.length > 1 && D.match(/[\u0E00-\u0E7F]+/) && Q.insertText(t, D.slice(0, D.length - o));
10533
- var de = G.unref(), J = ie.unref(), ve = a ? de || J : J || de;
10535
+ var de = G.unref(), X = ie.unref(), ve = a ? de || X : X || de;
10534
10536
  n.at == null && ve && Q.select(t, ve);
10535
10537
  }
10536
10538
  }
@@ -10617,9 +10619,9 @@ var S0 = (e, t) => {
10617
10619
  always: T && (!b || L.length > 0) && (!v || A.length > 0),
10618
10620
  voids: a
10619
10621
  });
10620
- var X = y.pathRef(t, !G || G && ie ? N.next(U) : U);
10622
+ var J = y.pathRef(t, !G || G && ie ? N.next(U) : U);
10621
10623
  if (Q.insertNodes(t, L, {
10622
- at: X.current,
10624
+ at: J.current,
10623
10625
  match: ($) => me.isText($) || y.isInline(t, $),
10624
10626
  mode: "highest",
10625
10627
  voids: a,
@@ -10641,12 +10643,12 @@ var S0 = (e, t) => {
10641
10643
  batchDirty: o
10642
10644
  }), !r.at) {
10643
10645
  var F;
10644
- if (A.length > 0 && I.current ? F = N.previous(I.current) : M.length > 0 && D.current ? F = N.previous(D.current) : X.current && (F = N.previous(X.current)), F) {
10646
+ if (A.length > 0 && I.current ? F = N.previous(I.current) : M.length > 0 && D.current ? F = N.previous(D.current) : J.current && (F = N.previous(J.current)), F) {
10645
10647
  var B = y.end(t, F);
10646
10648
  Q.select(t, B);
10647
10649
  }
10648
10650
  }
10649
- X.unref(), D.unref(), I.unref();
10651
+ J.unref(), D.unref(), I.unref();
10650
10652
  }
10651
10653
  }
10652
10654
  });
@@ -12058,18 +12060,18 @@ const vy = /* @__PURE__ */ Rn(gy), vl = (e) => typeof e == "object" && e != null
12058
12060
  let C = o === "start" || o === "nearest" ? w - O : o === "end" ? S + M : w + k / 2 - O + M, T = l === "center" ? z + E / 2 - A + L : l === "end" ? _ + L : z - A;
12059
12061
  const j = [];
12060
12062
  for (let H = 0; H < p.length; H++) {
12061
- const U = p[H], { height: G, width: ie, top: D, right: I, bottom: X, left: F } = U.getBoundingClientRect();
12062
- if (s === "if-needed" && w >= 0 && z >= 0 && S <= b && _ <= f && w >= D && S <= X && z >= F && _ <= I)
12063
+ const U = p[H], { height: G, width: ie, top: D, right: I, bottom: J, left: F } = U.getBoundingClientRect();
12064
+ if (s === "if-needed" && w >= 0 && z >= 0 && S <= b && _ <= f && w >= D && S <= J && z >= F && _ <= I)
12063
12065
  return j;
12064
12066
  const B = getComputedStyle(U), $ = parseInt(B.borderLeftWidth, 10), R = parseInt(B.borderTopWidth, 10), q = parseInt(B.borderRightWidth, 10), W = parseInt(B.borderBottomWidth, 10);
12065
12067
  let te = 0, ne = 0;
12066
- const de = "offsetWidth" in U ? U.offsetWidth - U.clientWidth - $ - q : 0, J = "offsetHeight" in U ? U.offsetHeight - U.clientHeight - R - W : 0, ve = "offsetWidth" in U ? U.offsetWidth === 0 ? 0 : ie / U.offsetWidth : 0, ge = "offsetHeight" in U ? U.offsetHeight === 0 ? 0 : G / U.offsetHeight : 0;
12068
+ const de = "offsetWidth" in U ? U.offsetWidth - U.clientWidth - $ - q : 0, X = "offsetHeight" in U ? U.offsetHeight - U.clientHeight - R - W : 0, ve = "offsetWidth" in U ? U.offsetWidth === 0 ? 0 : ie / U.offsetWidth : 0, ge = "offsetHeight" in U ? U.offsetHeight === 0 ? 0 : G / U.offsetHeight : 0;
12067
12069
  if (m === U)
12068
12070
  te = o === "start" ? C : o === "end" ? C - b : o === "nearest" ? fi(x, x + b, b, R, W, x + C, x + C + k, k) : C - b / 2, ne = l === "start" ? T : l === "center" ? T - f / 2 : l === "end" ? T - f : fi(v, v + f, f, $, q, v + T, v + T + E, E), te = Math.max(0, te + x), ne = Math.max(0, ne + v);
12069
12071
  else {
12070
- te = o === "start" ? C - D - R : o === "end" ? C - X + W + J : o === "nearest" ? fi(D, X, G, R, W + J, C, C + k, k) : C - (D + G / 2) + J / 2, ne = l === "start" ? T - F - $ : l === "center" ? T - (F + ie / 2) + de / 2 : l === "end" ? T - I + q + de : fi(F, I, ie, $, q + de, T, T + E, E);
12072
+ te = o === "start" ? C - D - R : o === "end" ? C - J + W + X : o === "nearest" ? fi(D, J, G, R, W + X, C, C + k, k) : C - (D + G / 2) + X / 2, ne = l === "start" ? T - F - $ : l === "center" ? T - (F + ie / 2) + de / 2 : l === "end" ? T - I + q + de : fi(F, I, ie, $, q + de, T, T + E, E);
12071
12073
  const { scrollLeft: Ae, scrollTop: Se } = U;
12072
- te = ge === 0 ? 0 : Math.max(0, Math.min(Se + te / ge, U.scrollHeight - G / ge + J)), ne = ve === 0 ? 0 : Math.max(0, Math.min(Ae + ne / ve, U.scrollWidth - ie / ve + de)), C += Se - te, T += Ae - ne;
12074
+ te = ge === 0 ? 0 : Math.max(0, Math.min(Se + te / ge, U.scrollHeight - G / ge + X)), ne = ve === 0 ? 0 : Math.max(0, Math.min(Ae + ne / ve, U.scrollWidth - ie / ve + de)), C += Se - te, T += Ae - ne;
12073
12075
  }
12074
12076
  j.push({ el: U, top: te, left: ne });
12075
12077
  }
@@ -13323,9 +13325,9 @@ function w1(e) {
13323
13325
  var G = g1(T);
13324
13326
  (!t.selection || !K.equals(t.selection, G)) && Q.select(t, G), T.diff.text ? y.insertText(t, T.diff.text) : y.deleteFragment(t), xt.set(t, (H = xt.get(t)) === null || H === void 0 ? void 0 : H.filter((I) => {
13325
13327
  var {
13326
- id: X
13328
+ id: J
13327
13329
  } = I;
13328
- return X !== T.id;
13330
+ return J !== T.id;
13329
13331
  })), f1(t, T) || (C = !1, hn.delete(t), nn.delete(t), i = "action", mn.delete(t), n.cancel(), r.cancel(), A == null || A.unref());
13330
13332
  }
13331
13333
  var ie = A == null ? void 0 : A.unref();
@@ -13400,15 +13402,15 @@ function w1(e) {
13400
13402
  var D = !0;
13401
13403
  if (T.startsWith("delete")) {
13402
13404
  if (K.isExpanded(j)) {
13403
- var [I, X] = K.edges(j), F = oe.leaf(t, I.path);
13404
- if (F.text.length === I.offset && X.offset === 0) {
13405
+ var [I, J] = K.edges(j), F = oe.leaf(t, I.path);
13406
+ if (F.text.length === I.offset && J.offset === 0) {
13405
13407
  var B = y.next(t, {
13406
13408
  at: I.path,
13407
13409
  match: me.isText
13408
13410
  });
13409
- B && N.equals(B[1], X.path) && (j = {
13410
- anchor: X,
13411
- focus: X
13411
+ B && N.equals(B[1], J.path) && (j = {
13412
+ anchor: J,
13413
+ focus: J
13412
13414
  });
13413
13415
  }
13414
13416
  }
@@ -13416,7 +13418,7 @@ function w1(e) {
13416
13418
  text: "",
13417
13419
  start: R.offset,
13418
13420
  end: q.offset
13419
- }, de = xt.get(t), J = de == null ? void 0 : de.find((be) => N.equals(be.path, te)), ve = J ? [J.diff, ne] : [ne], ge = cf(W.text, ...ve);
13421
+ }, de = xt.get(t), X = de == null ? void 0 : de.find((be) => N.equals(be.path, te)), ve = X ? [X.diff, ne] : [ne], ge = cf(W.text, ...ve);
13420
13422
  if (ge.length === 0 && (D = !1), K.isExpanded(j)) {
13421
13423
  if (D && N.equals(j.anchor.path, j.focus.path)) {
13422
13424
  var Ae = {
@@ -14222,15 +14224,15 @@ var aD = (e) => /* @__PURE__ */ re.createElement(re.Fragment, null, gf(e)), sD =
14222
14224
  var {
14223
14225
  anchorNode: te,
14224
14226
  focusNode: ne
14225
- } = W, de = ee.hasEditableTarget(f, te) || ee.isTargetInsideNonReadonlyVoid(f, te), J = ee.hasEditableTarget(f, ne) || ee.isTargetInsideNonReadonlyVoid(f, ne);
14226
- if (de && J) {
14227
+ } = W, de = ee.hasEditableTarget(f, te) || ee.isTargetInsideNonReadonlyVoid(f, te), X = ee.hasEditableTarget(f, ne) || ee.isTargetInsideNonReadonlyVoid(f, ne);
14228
+ if (de && X) {
14227
14229
  var ve = ee.toSlateRange(f, W, {
14228
14230
  exactMatch: !1,
14229
14231
  suppressThrow: !0
14230
14232
  });
14231
14233
  ve && (!ee.isComposing(f) && !(B != null && B.hasPendingChanges()) && !(B != null && B.isFlushing()) ? Q.select(f, ve) : B == null || B.handleUserSelect(ve));
14232
14234
  }
14233
- s && (!de || !J) && Q.deselect(f);
14235
+ s && (!de || !X) && Q.deselect(f);
14234
14236
  }
14235
14237
  }, 100), [f, s, O]), A = Zt(() => dy(M, 0), [M]);
14236
14238
  L.current = A1({
@@ -14287,7 +14289,7 @@ var aD = (e) => /* @__PURE__ */ re.createElement(re.Fragment, null, gf(e)), sD =
14287
14289
  });
14288
14290
  return;
14289
14291
  }
14290
- var J = null, ve = requestAnimationFrame(() => {
14292
+ var X = null, ve = requestAnimationFrame(() => {
14291
14293
  if (de) {
14292
14294
  var ge = (Ae) => {
14293
14295
  try {
@@ -14296,13 +14298,13 @@ var aD = (e) => /* @__PURE__ */ re.createElement(re.Fragment, null, gf(e)), sD =
14296
14298
  } catch {
14297
14299
  }
14298
14300
  };
14299
- ge(), J = setTimeout(() => {
14301
+ ge(), X = setTimeout(() => {
14300
14302
  ge(!0), O.isUpdatingSelection = !1;
14301
14303
  });
14302
14304
  }
14303
14305
  });
14304
14306
  return () => {
14305
- cancelAnimationFrame(ve), J && clearTimeout(J);
14307
+ cancelAnimationFrame(ve), X && clearTimeout(X);
14306
14308
  };
14307
14309
  }
14308
14310
  });
@@ -14327,7 +14329,7 @@ var aD = (e) => /* @__PURE__ */ re.createElement(re.Fragment, null, gf(e)), sD =
14327
14329
  // When there is an inline element, e.g. a link, and you select
14328
14330
  // right after it (the start of the next node).
14329
14331
  R.anchor.offset !== 0) {
14330
- var de, J;
14332
+ var de, X;
14331
14333
  ne = !0, f.marks && (ne = !1);
14332
14334
  var {
14333
14335
  anchor: ve
@@ -14336,7 +14338,7 @@ var aD = (e) => /* @__PURE__ */ re.createElement(re.Fragment, null, gf(e)), sD =
14336
14338
  var Xe, Qe = Pe == null ? void 0 : Pe.document.createTreeWalker(Se, NodeFilter.SHOW_TEXT).lastChild();
14337
14339
  Qe === ge && ((Xe = Qe.textContent) === null || Xe === void 0 ? void 0 : Xe.length) === Ae && (ne = !1);
14338
14340
  }
14339
- if (ne && ge.parentElement && (Pe == null || (J = Pe.getComputedStyle(ge.parentElement)) === null || J === void 0 ? void 0 : J.whiteSpace) === "pre") {
14341
+ if (ne && ge.parentElement && (Pe == null || (X = Pe.getComputedStyle(ge.parentElement)) === null || X === void 0 ? void 0 : X.whiteSpace) === "pre") {
14340
14342
  var Ne = y.above(f, {
14341
14343
  at: ve.path,
14342
14344
  match: (se) => he.isElement(se) && y.isBlock(f, se)
@@ -14479,12 +14481,12 @@ var aD = (e) => /* @__PURE__ */ re.createElement(re.Fragment, null, gf(e)), sD =
14479
14481
  if (O.hasMarkPlaceholder = !1, f.selection && K.isCollapsed(f.selection) && ie) {
14480
14482
  var {
14481
14483
  anchor: D
14482
- } = f.selection, I = oe.leaf(f, D.path), X = ur(I, iD);
14484
+ } = f.selection, I = oe.leaf(f, D.path), J = ur(I, iD);
14483
14485
  if (!me.equals(I, ie, {
14484
14486
  loose: !0
14485
14487
  })) {
14486
14488
  O.hasMarkPlaceholder = !0;
14487
- var F = Object.fromEntries(Object.keys(X).map((B) => [B, null]));
14489
+ var F = Object.fromEntries(Object.keys(J).map((B) => [B, null]));
14488
14490
  j.push(Ht(Ht(Ht({
14489
14491
  [sf]: !0
14490
14492
  }, F), ie), {}, {
@@ -14609,10 +14611,10 @@ var aD = (e) => /* @__PURE__ */ re.createElement(re.Fragment, null, gf(e)), sD =
14609
14611
  }
14610
14612
  if (s)
14611
14613
  return;
14612
- var de = y.start(f, R), J = y.end(f, R), ve = y.void(f, {
14614
+ var de = y.start(f, R), X = y.end(f, R), ve = y.void(f, {
14613
14615
  at: de
14614
14616
  }), ge = y.void(f, {
14615
- at: J
14617
+ at: X
14616
14618
  });
14617
14619
  if (ve && ge && N.equals(ve[1], ge[1])) {
14618
14620
  var Ae = y.range(f, de);
@@ -14804,8 +14806,8 @@ var aD = (e) => /* @__PURE__ */ re.createElement(re.Fragment, null, gf(e)), sD =
14804
14806
  }
14805
14807
  if (dn) {
14806
14808
  if ((nf || Br) && q && (Je.isDeleteBackward(R) || Je.isDeleteForward(R)) && K.isCollapsed(q)) {
14807
- var J = oe.parent(f, q.anchor.path);
14808
- if (he.isElement(J) && y.isVoid(f, J) && (y.isInline(f, J) || y.isBlock(f, J))) {
14809
+ var X = oe.parent(f, q.anchor.path);
14810
+ if (he.isElement(X) && y.isVoid(f, X) && (y.isInline(f, X) || y.isBlock(f, X))) {
14809
14811
  B.preventDefault(), y.deleteBackward(f, {
14810
14812
  unit: "block"
14811
14813
  });
@@ -17921,10 +17923,10 @@ function Hx(e, t, n) {
17921
17923
  return F === null || xe(F) ? A(F) : Le(F) ? (e.consume(F), M) : n(F);
17922
17924
  }
17923
17925
  function A(F) {
17924
- return F === 45 && i === 2 ? (e.consume(F), H) : F === 60 && i === 1 ? (e.consume(F), U) : F === 62 && i === 4 ? (e.consume(F), I) : F === 63 && i === 3 ? (e.consume(F), D) : F === 93 && i === 5 ? (e.consume(F), ie) : xe(F) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(qx, X, C)(F)) : F === null || xe(F) ? (e.exit("htmlFlowData"), C(F)) : (e.consume(F), A);
17926
+ return F === 45 && i === 2 ? (e.consume(F), H) : F === 60 && i === 1 ? (e.consume(F), U) : F === 62 && i === 4 ? (e.consume(F), I) : F === 63 && i === 3 ? (e.consume(F), D) : F === 93 && i === 5 ? (e.consume(F), ie) : xe(F) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(qx, J, C)(F)) : F === null || xe(F) ? (e.exit("htmlFlowData"), C(F)) : (e.consume(F), A);
17925
17927
  }
17926
17928
  function C(F) {
17927
- return e.check(Wx, T, X)(F);
17929
+ return e.check(Wx, T, J)(F);
17928
17930
  }
17929
17931
  function T(F) {
17930
17932
  return e.enter("lineEnding"), e.consume(F), e.exit("lineEnding"), j;
@@ -17952,9 +17954,9 @@ function Hx(e, t, n) {
17952
17954
  return F === 62 ? (e.consume(F), I) : F === 45 && i === 2 ? (e.consume(F), D) : A(F);
17953
17955
  }
17954
17956
  function I(F) {
17955
- return F === null || xe(F) ? (e.exit("htmlFlowData"), X(F)) : (e.consume(F), I);
17957
+ return F === null || xe(F) ? (e.exit("htmlFlowData"), J(F)) : (e.consume(F), I);
17956
17958
  }
17957
- function X(F) {
17959
+ function J(F) {
17958
17960
  return e.exit("htmlFlow"), t(F);
17959
17961
  }
17960
17962
  }
@@ -18616,9 +18618,9 @@ function kw(e, t, n) {
18616
18618
  return C;
18617
18619
  function C(T, j, H) {
18618
18620
  let U, G, ie, D;
18619
- return Array.isArray(T) ? X(T) : "tokenize" in T ? (
18621
+ return Array.isArray(T) ? J(T) : "tokenize" in T ? (
18620
18622
  // @ts-expect-error Looks like a construct.
18621
- X([T])
18623
+ J([T])
18622
18624
  ) : I(T);
18623
18625
  function I(R) {
18624
18626
  return q;
@@ -18629,10 +18631,10 @@ function kw(e, t, n) {
18629
18631
  ...Array.isArray(te) ? te : te ? [te] : [],
18630
18632
  ...Array.isArray(ne) ? ne : ne ? [ne] : []
18631
18633
  ];
18632
- return X(de)(W);
18634
+ return J(de)(W);
18633
18635
  }
18634
18636
  }
18635
- function X(R) {
18637
+ function J(R) {
18636
18638
  return U = R, G = 0, R.length === 0 ? H : F(R[G]);
18637
18639
  }
18638
18640
  function F(R) {
@@ -18904,7 +18906,7 @@ function Vw(e) {
18904
18906
  codeTextData: O,
18905
18907
  data: O,
18906
18908
  codeFlowValue: O,
18907
- definition: a(J),
18909
+ definition: a(X),
18908
18910
  definitionDestinationString: s,
18909
18911
  definitionLabelString: s,
18910
18912
  definitionTitleString: s,
@@ -18974,7 +18976,7 @@ function Vw(e) {
18974
18976
  referenceString: B,
18975
18977
  resourceDestinationString: D,
18976
18978
  resourceTitleString: I,
18977
- resource: X,
18979
+ resource: J,
18978
18980
  setextHeading: l(z),
18979
18981
  setextHeadingLineSequence: S,
18980
18982
  setextHeadingText: _,
@@ -19274,7 +19276,7 @@ function Vw(e) {
19274
19276
  const Z = this.resume(), se = this.stack[this.stack.length - 1];
19275
19277
  se.title = Z;
19276
19278
  }
19277
- function X() {
19279
+ function J() {
19278
19280
  this.data.inReference = void 0;
19279
19281
  }
19280
19282
  function F() {
@@ -19329,7 +19331,7 @@ function Vw(e) {
19329
19331
  value: ""
19330
19332
  };
19331
19333
  }
19332
- function J() {
19334
+ function X() {
19333
19335
  return {
19334
19336
  type: "definition",
19335
19337
  identifier: "",
@@ -20469,8 +20471,8 @@ const CC = ({
20469
20471
  hasLoaded: A,
20470
20472
  mentionPopover: C
20471
20473
  } = k, T = (I) => {
20472
- const X = I || Yi[0];
20473
- I && E([{ type: "tabbableOption", value: X }]);
20474
+ const J = I || Yi[0];
20475
+ I && E([{ type: "tabbableOption", value: J }]);
20474
20476
  }, j = `rte-${e}`, H = Re(
20475
20477
  (I) => /* @__PURE__ */ c.jsx(yD, { ...I }),
20476
20478
  []
@@ -20495,13 +20497,13 @@ const CC = ({
20495
20497
  const ie = (I) => {
20496
20498
  if (!G || I !== j)
20497
20499
  return;
20498
- const X = y.end(G, []);
20499
- Q.select(G, X), ee.focus(G);
20500
+ const J = y.end(G, []);
20501
+ Q.select(G, J), ee.focus(G);
20500
20502
  };
20501
20503
  ce(() => {
20502
- const I = (X) => {
20504
+ const I = (J) => {
20503
20505
  var $;
20504
- const F = X, B = (($ = F == null ? void 0 : F.detail) == null ? void 0 : $.id) || null;
20506
+ const F = J, B = (($ = F == null ? void 0 : F.detail) == null ? void 0 : $.id) || null;
20505
20507
  B && ie(B);
20506
20508
  };
20507
20509
  return window.addEventListener("focusEditor", I), () => {
@@ -20515,8 +20517,8 @@ const CC = ({
20515
20517
  }
20516
20518
  }, [G.children.length, S]), ce(() => {
20517
20519
  _ && (async () => {
20518
- let X = Bn(_);
20519
- if (X.includes("<")) {
20520
+ let J = Bn(_);
20521
+ if (J.includes("<")) {
20520
20522
  Lr.prototype.escape = (B) => B;
20521
20523
  const F = new Lr();
20522
20524
  F.addRule("br", {
@@ -20524,14 +20526,14 @@ const CC = ({
20524
20526
  replacement: (B) => B + `
20525
20527
 
20526
20528
  `
20527
- }), X = F.turndown(X);
20529
+ }), J = F.turndown(J);
20528
20530
  }
20529
- o && o.mentions && (X = await Wc({
20530
- text: X,
20531
+ o && o.mentions && (J = await Wc({
20532
+ text: J,
20531
20533
  template: `[${zs}{{name}}]({{id}})`,
20532
20534
  mentions: o.mentions,
20533
20535
  listMembers: m || (() => Promise.resolve([]))
20534
- })), Gw(X, (F) => {
20536
+ })), Gw(J, (F) => {
20535
20537
  E([
20536
20538
  { type: "initialValue", value: F },
20537
20539
  { type: "editorKey", value: _.toString() }
@@ -20600,9 +20602,9 @@ const CC = ({
20600
20602
  onKeyDown: (I) => {
20601
20603
  if (I.key === "Enter") {
20602
20604
  C.show && (I.preventDefault(), I.stopPropagation(), Rf(G, C, E, j));
20603
- const { selection: X } = G;
20604
- if (X) {
20605
- const F = K.isCollapsed(X), [B, $] = y.node(G, X, { depth: 1 });
20605
+ const { selection: J } = G;
20606
+ if (J) {
20607
+ const F = K.isCollapsed(J), [B, $] = y.node(G, J, { depth: 1 });
20606
20608
  let R = B, q = R.type;
20607
20609
  const W = R.children[0];
20608
20610
  if (W && [Y.ol, Y.ul].includes(W.type) && (R = W, q = W.type), R && he.isElement(R) && q !== Y.paragraph) {
@@ -20611,11 +20613,11 @@ const CC = ({
20611
20613
  return;
20612
20614
  }
20613
20615
  if (F) {
20614
- const [te, ne] = y.parent(G, X, {
20616
+ const [te, ne] = y.parent(G, J, {
20615
20617
  edge: "end"
20616
- }), J = te.type;
20618
+ }), X = te.type;
20617
20619
  if ([Y.ul, Y.ol].includes(q))
20618
- if (I.stopPropagation(), I.preventDefault(), J === Y.li && L === "Enter") {
20620
+ if (I.stopPropagation(), I.preventDefault(), X === Y.li && L === "Enter") {
20619
20621
  te.children.length === 1 && "text" in te.children[0] && te.children[0].text === "" && Q.removeNodes(G, { at: ne }), Q.insertNodes(G, v, {
20620
20622
  at: N.next($)
20621
20623
  }), Q.select(
@@ -20647,8 +20649,8 @@ const CC = ({
20647
20649
  }
20648
20650
  } else if (["ArrowUp", "ArrowDown"].includes(I.key) && C.show) {
20649
20651
  I.preventDefault(), I.stopPropagation();
20650
- const { selectedUser: X, possibleUsers: F } = C;
20651
- let B = I.key === "ArrowUp" ? X - 1 : X + 1;
20652
+ const { selectedUser: J, possibleUsers: F } = C;
20653
+ let B = I.key === "ArrowUp" ? J - 1 : J + 1;
20652
20654
  B < 0 && (B = F.length - 1), B >= F.length + 1 && (B = 0), E([
20653
20655
  {
20654
20656
  type: "mentionPopover",
@@ -20666,8 +20668,8 @@ const CC = ({
20666
20668
  if (!N.isPath(O.path) || !oe.has(G, O.path))
20667
20669
  return;
20668
20670
  const I = oe.get(G, O.path);
20669
- let X = 0;
20670
- if (me.isText(I) ? X = I.text.length : I.children && (X = I.children.length), O.offset > X)
20671
+ let J = 0;
20672
+ if (me.isText(I) ? J = I.text.length : I.children && (J = I.children.length), O.offset > J)
20671
20673
  return;
20672
20674
  try {
20673
20675
  Q.select(G, {
@@ -20874,7 +20876,8 @@ const _C = ({
20874
20876
  ],
20875
20877
  intlPath: "contactForm",
20876
20878
  gtm: { context: r, event: i },
20877
- functions: { onSuccess: t, onFailure: n }
20879
+ functions: { onSuccess: t, onFailure: n },
20880
+ button: { className: "new" }
20878
20881
  }
20879
20882
  );
20880
20883
  };
@@ -21647,12 +21650,13 @@ const qn = ({
21647
21650
  styling: n = {},
21648
21651
  ...r
21649
21652
  }) => {
21650
- const { background: i = "default" } = n;
21653
+ const { background: i = "default", padding: a = "none" } = n;
21651
21654
  return /* @__PURE__ */ c.jsx(
21652
21655
  "section",
21653
21656
  {
21654
21657
  className: V("full-width-section", t, {
21655
- [i]: i !== "default"
21658
+ [i]: i !== "default",
21659
+ [a]: a !== "none"
21656
21660
  }),
21657
21661
  ...r,
21658
21662
  children: e
@@ -21666,20 +21670,27 @@ const Q_ = ({ text: e, buttons: t, className: n = "" }) => {
21666
21670
  href: i.link,
21667
21671
  variant: "secondary",
21668
21672
  size: { mobile: "medium", 1024: "large" },
21669
- className: "gtm-trackable",
21673
+ className: "gtm-trackable new",
21670
21674
  "data-gtm-event-type": "download-click",
21671
21675
  "data-gtm-event-context": i.eventContext || "Download",
21672
21676
  target: "_blank",
21673
21677
  children: i.text
21674
21678
  });
21675
- }), /* @__PURE__ */ c.jsx(qn, { className: V("download-section", n), children: /* @__PURE__ */ c.jsxs("div", { className: "content-default", children: [
21676
- re.createElement(
21677
- typeof e == "string" ? "h2" : e.element,
21678
- { className: "text" },
21679
- typeof e == "string" ? e : e.text
21680
- ),
21681
- /* @__PURE__ */ c.jsx(Zr, { buttons: r })
21682
- ] }) });
21679
+ }), /* @__PURE__ */ c.jsx(
21680
+ qn,
21681
+ {
21682
+ className: V("download-section", n),
21683
+ styling: { background: "dark" },
21684
+ children: /* @__PURE__ */ c.jsxs("div", { className: "content-default", children: [
21685
+ re.createElement(
21686
+ typeof e == "string" ? "h2" : e.element,
21687
+ { className: "text" },
21688
+ typeof e == "string" ? e : e.text
21689
+ ),
21690
+ /* @__PURE__ */ c.jsx(Zr, { buttons: r })
21691
+ ] })
21692
+ }
21693
+ );
21683
21694
  };
21684
21695
  const Zs = "editSection_";
21685
21696
  function Hf({ href: e, setShowModal: t }) {
@@ -23127,12 +23138,12 @@ const rt = "discussion_form_", ha = ({
23127
23138
  props: D = {
23128
23139
  create: { projectNames: ["questions-answers"] }
23129
23140
  }
23130
- } = d, [I, X] = ue({
23141
+ } = d, [I, J] = ue({
23131
23142
  title: _ && _.text || "",
23132
23143
  body: w && w.text || S && S.text || ""
23133
23144
  }), [F, B] = ue(l.error || !1), [$, R] = ue(!1);
23134
23145
  if (ce(() => {
23135
- u && !w && S && S !== I.body && X({ ...I, body: S.text || "" });
23146
+ u && !w && S && S !== I.body && J({ ...I, body: S.text || "" });
23136
23147
  }, [S]), v)
23137
23148
  return /* @__PURE__ */ c.jsx(
23138
23149
  zt,
@@ -23142,7 +23153,7 @@ const rt = "discussion_form_", ha = ({
23142
23153
  }
23143
23154
  );
23144
23155
  const q = (Ne) => {
23145
- X({ ...I, body: Ne }), A({ body: Ne });
23156
+ J({ ...I, body: Ne }), A({ body: Ne });
23146
23157
  let Me;
23147
23158
  !g || !g.id ? Me = It(
23148
23159
  p.formatMessage,
@@ -23196,7 +23207,7 @@ const rt = "discussion_form_", ha = ({
23196
23207
  break;
23197
23208
  }
23198
23209
  await zh(1e3), H && await H(Me), Di = setTimeout(() => {
23199
- X({ title: "", body: "" }), R("submitted"), b(
23210
+ J({ title: "", body: "" }), R("submitted"), b(
23200
23211
  It(p.formatMessage, `${rt}success`, n.type, "action")
23201
23212
  );
23202
23213
  const Ce = new Event(st.DISCUSSION_FORM_SUBMITTED);
@@ -23221,9 +23232,9 @@ const rt = "discussion_form_", ha = ({
23221
23232
  Di = setTimeout(() => {
23222
23233
  B(!1), R(!1), b("");
23223
23234
  }, 5e3);
23224
- }, de = !I.title || !Qo(I.title), J = !I.body || !Qo(I.body);
23225
- let ve = J;
23226
- _ && (ve = de && J);
23235
+ }, de = !I.title || !Qo(I.title), X = !I.body || !Qo(I.body);
23236
+ let ve = X;
23237
+ _ && (ve = de && X);
23227
23238
  const ge = $ === "submitting", Ae = [
23228
23239
  {
23229
23240
  component: HC,
@@ -23274,7 +23285,7 @@ const rt = "discussion_form_", ha = ({
23274
23285
  placeholder: p.formatMessage({ id: `${rt}titleField_placeholder` }),
23275
23286
  functions: {
23276
23287
  onChange: (Ne) => {
23277
- X({ ...I, title: Ne }), A({ title: Ne });
23288
+ J({ ...I, title: Ne }), A({ title: Ne });
23278
23289
  }
23279
23290
  },
23280
23291
  validation: [
@@ -23314,7 +23325,6 @@ const rt = "discussion_form_", ha = ({
23314
23325
  button: {
23315
23326
  variant: "primary",
23316
23327
  size: { mobile: "small", 600: "medium" },
23317
- className: "gtm-trackable",
23318
23328
  "data-gtm-event-context": m,
23319
23329
  "data-gtm-event-type": `${w ? "save" : "submit"}-${n.type}-click`,
23320
23330
  "data-testid": "save-button",
@@ -23331,7 +23341,6 @@ const rt = "discussion_form_", ha = ({
23331
23341
  secondaryActionButton: {
23332
23342
  variant: "secondary",
23333
23343
  size: { mobile: "small", 600: "medium" },
23334
- className: "gtm-trackable",
23335
23344
  "data-gtm-event-context": m,
23336
23345
  "data-gtm-event-type": `cancel-${n.type}-click`,
23337
23346
  disabled: !l.cancel && (!g || !g.id || !I.body),
@@ -24381,12 +24390,12 @@ const rk = ({
24381
24390
  latest_reactions: ie,
24382
24391
  reaction_counts: D,
24383
24392
  mentioned_users: I,
24384
- total_replies: X
24393
+ total_replies: J
24385
24394
  } = j, F = (((q = ie == null ? void 0 : ie.like) == null ? void 0 : q.length) || 0) > 0, B = (((W = G == null ? void 0 : G.like) == null ? void 0 : W.length) || 0) > 0, $ = B ? G == null ? void 0 : G.like[0].id : "", R = F ? (te = ie == null ? void 0 : ie.like) == null ? void 0 : te.map((ne) => {
24386
- var de, J, ve;
24395
+ var de, X, ve;
24387
24396
  return {
24388
24397
  id: (de = ne == null ? void 0 : ne.user) == null ? void 0 : de.id,
24389
- name: (ve = (J = ne == null ? void 0 : ne.user) == null ? void 0 : J.data) == null ? void 0 : ve.name
24398
+ name: (ve = (X = ne == null ? void 0 : ne.user) == null ? void 0 : X.data) == null ? void 0 : ve.name
24390
24399
  };
24391
24400
  }) : !1;
24392
24401
  return /* @__PURE__ */ c.jsx(Ir, { children: /* @__PURE__ */ c.jsx(
@@ -24406,7 +24415,7 @@ const rk = ({
24406
24415
  author: Jr(j == null ? void 0 : j.actor),
24407
24416
  userLiked: B,
24408
24417
  likes: (D == null ? void 0 : D.like) || 0,
24409
- comments: X || 0,
24418
+ comments: J || 0,
24410
24419
  peopleWhoLiked: R,
24411
24420
  mentions: I,
24412
24421
  pinned: (D == null ? void 0 : D.pin) && (D == null ? void 0 : D.pin) > 0 || !1
@@ -25233,7 +25242,7 @@ const FE = ({
25233
25242
  }
25234
25243
  },
25235
25244
  children: d && d.length > 0 ? d == null ? void 0 : d.map((_) => {
25236
- var ie, D, I, X, F, B, $;
25245
+ var ie, D, I, J, F, B, $;
25237
25246
  const {
25238
25247
  id: S,
25239
25248
  own_children: z,
@@ -25243,7 +25252,7 @@ const FE = ({
25243
25252
  } = _, C = (((ie = z == null ? void 0 : z.like) == null ? void 0 : ie.length) || 0) > 0 ? (D = z == null ? void 0 : z.like) == null ? void 0 : D.find((R) => {
25244
25253
  var q;
25245
25254
  return ((q = R == null ? void 0 : R.user) == null ? void 0 : q.id) === (k == null ? void 0 : k.id);
25246
- }) : !1, T = C ? C == null ? void 0 : C.id : "", j = !!C, U = (((I = O == null ? void 0 : O.like) == null ? void 0 : I.length) || 0) > 0 ? (X = O == null ? void 0 : O.like) == null ? void 0 : X.map((R) => {
25255
+ }) : !1, T = C ? C == null ? void 0 : C.id : "", j = !!C, U = (((I = O == null ? void 0 : O.like) == null ? void 0 : I.length) || 0) > 0 ? (J = O == null ? void 0 : O.like) == null ? void 0 : J.map((R) => {
25247
25256
  var q, W, te;
25248
25257
  return {
25249
25258
  id: (q = R == null ? void 0 : R.user) == null ? void 0 : q.id,
@@ -25383,12 +25392,12 @@ const AE = ({
25383
25392
  var de;
25384
25393
  return ((de = ne == null ? void 0 : ne.user) == null ? void 0 : de.id) === (w == null ? void 0 : w.id);
25385
25394
  }) : !1, G = U ? U == null ? void 0 : U.id : "", ie = !!U, I = ((($ = C == null ? void 0 : C.like) == null ? void 0 : $.length) || 0) > 0 ? (R = C == null ? void 0 : C.like) == null ? void 0 : R.map((ne) => {
25386
- var de, J, ve;
25395
+ var de, X, ve;
25387
25396
  return {
25388
25397
  id: (de = ne == null ? void 0 : ne.user) == null ? void 0 : de.id,
25389
- name: (ve = (J = ne == null ? void 0 : ne.user) == null ? void 0 : J.data) == null ? void 0 : ve.name
25398
+ name: (ve = (X = ne == null ? void 0 : ne.user) == null ? void 0 : X.data) == null ? void 0 : ve.name
25390
25399
  };
25391
- }) : !1, X = typeof O.data.content == "string" ? (q = O == null ? void 0 : O.data) == null ? void 0 : q.content : (
25400
+ }) : !1, J = typeof O.data.content == "string" ? (q = O == null ? void 0 : O.data) == null ? void 0 : q.content : (
25392
25401
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
25393
25402
  ((te = (W = O == null ? void 0 : O.data) == null ? void 0 : W.content) == null ? void 0 : te.text) || ""
25394
25403
  );
@@ -25399,7 +25408,7 @@ const AE = ({
25399
25408
  content: {
25400
25409
  id: M,
25401
25410
  type: "reply",
25402
- body: X,
25411
+ body: J,
25403
25412
  canLike: i,
25404
25413
  createdAt: O == null ? void 0 : O.created_at,
25405
25414
  slugs: {
@@ -25702,7 +25711,7 @@ const ma = ({
25702
25711
  id: ie,
25703
25712
  likes: D = 0,
25704
25713
  userLiked: I,
25705
- comments: X = 0,
25714
+ comments: J = 0,
25706
25715
  mentions: F
25707
25716
  } = t, B = w && w.id && typeof H != "string" && H.id && H.id === w.id || !1, $ = typeof U == "boolean" ? U : !0, R = B && (!t.createdAt || $h(t.createdAt, 10, "seconds")), q = Fe(null), [W, te] = ue({
25708
25717
  title: t && t.body !== t.title && t.title || "",
@@ -25711,13 +25720,13 @@ const ma = ({
25711
25720
  didEdit: t && t.isEdited || !1,
25712
25721
  postBody: "",
25713
25722
  memberCustomMessage: (t == null ? void 0 : t.memberCustomMessage) || ""
25714
- }), [ne, de] = ue(!1), [J, ve] = ue(
25723
+ }), [ne, de] = ue(!1), [X, ve] = ue(
25715
25724
  R ? "highlighted" : "default"
25716
25725
  /* Default */
25717
25726
  ), [ge, Ae] = ue("");
25718
25727
  ce(() => {
25719
25728
  const De = q.current;
25720
- if (!(!De || J === "default"))
25729
+ if (!(!De || X === "default"))
25721
25730
  return document.addEventListener(st.DISCUSSION_FORM_SUBMITTED, Se), De.addEventListener("transitionend", Pe), () => {
25722
25731
  document.removeEventListener(
25723
25732
  st.DISCUSSION_FORM_SUBMITTED,
@@ -25840,7 +25849,7 @@ const ma = ({
25840
25849
  "data-gtm-event-type": `edit-${t.type}-click`
25841
25850
  }), f && ((Ce = q == null ? void 0 : q.current) == null || Ce.focus(), (He = q == null ? void 0 : q.current) == null || He.scrollIntoView({ behavior: "smooth" })), re.createElement(e, {
25842
25851
  className: V("discussion-post", u, {
25843
- [J]: !u || !u.includes("highlighted-text-box"),
25852
+ [X]: !u || !u.includes("highlighted-text-box"),
25844
25853
  "has-link": l.post && !W.isEditing,
25845
25854
  "is-pinned": (t == null ? void 0 : t.pinned) || !1
25846
25855
  }),
@@ -26004,11 +26013,11 @@ const ma = ({
26004
26013
  "data-gtm-event-type": `answer-${t.type}-click`,
26005
26014
  screenreaderText: E.formatMessage(
26006
26015
  { id: `${Ut}comments_screenReader` },
26007
- { count: X }
26016
+ { count: J }
26008
26017
  ),
26009
26018
  children: E.formatMessage(
26010
26019
  { id: `${Ut}comments` },
26011
- { count: X }
26020
+ { count: J }
26012
26021
  )
26013
26022
  }
26014
26023
  ) }),
@@ -26535,10 +26544,10 @@ const ak = ({
26535
26544
  }
26536
26545
  );
26537
26546
  const { own_reactions: _, latest_reactions: S, mentioned_users: z } = g, O = (((T = S == null ? void 0 : S.like) == null ? void 0 : T.length) || 0) > 0, L = (((j = _ == null ? void 0 : _.like) == null ? void 0 : j.length) || 0) > 0, M = L ? _ == null ? void 0 : _.like[0].id : "", A = O ? (H = S == null ? void 0 : S.like) == null ? void 0 : H.map((D) => {
26538
- var I, X, F;
26547
+ var I, J, F;
26539
26548
  return {
26540
26549
  id: (I = D == null ? void 0 : D.user) == null ? void 0 : I.id,
26541
- name: (F = (X = D == null ? void 0 : D.user) == null ? void 0 : X.data) == null ? void 0 : F.name
26550
+ name: (F = (J = D == null ? void 0 : D.user) == null ? void 0 : J.data) == null ? void 0 : F.name
26542
26551
  };
26543
26552
  }) : !1, C = g == null ? void 0 : g.actor;
26544
26553
  return /* @__PURE__ */ c.jsxs("section", { className: "activity-section", children: [
@@ -26574,7 +26583,7 @@ const ak = ({
26574
26583
  createContent: () => null,
26575
26584
  deleteContent: a,
26576
26585
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
26577
- updateContent: (D, { title: I, body: X }) => v({ title: I, content: X })
26586
+ updateContent: (D, { title: I, body: J }) => v({ title: I, content: J })
26578
26587
  },
26579
26588
  likes: {
26580
26589
  createLike: () => x({ activityId: n }),