@eleven-labs/design-system 0.31.0 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsxs as M, jsx as c, Fragment as Pe } from "react/jsx-runtime";
2
2
  import * as nt from "react";
3
- import _e, { forwardRef as qr, Fragment as rt, useMemo as fn, useRef as Ee, useCallback as xe, useEffect as ke, cloneElement as Wr, Component as Gr, useLayoutEffect as Yr, useReducer as Xr } from "react";
3
+ import _e, { forwardRef as qr, Fragment as rt, useMemo as fn, useRef as Ee, useCallback as we, useEffect as De, cloneElement as Wr, Component as Gr, useLayoutEffect as Yr, useReducer as Xr } from "react";
4
4
  const Zr = (e) => /* @__PURE__ */ M("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ...e, children: [
5
5
  /* @__PURE__ */ c(
6
6
  "path",
@@ -251,9 +251,9 @@ const xc = ["primary", "secondary", "accent"], Ke = Ce(
251
251
  i
252
252
  ),
253
253
  children: [
254
- t === "secondary" && /* @__PURE__ */ c(Ie, { name: "arrow", style: { transform: "scaleX(-1)" } }),
254
+ t === "secondary" && /* @__PURE__ */ c(xe, { name: "arrow", style: { transform: "scaleX(-1)" } }),
255
255
  /* @__PURE__ */ c(ee, { as: "span", children: o }),
256
- t !== "secondary" && /* @__PURE__ */ c(Ie, { name: "arrow" })
256
+ t !== "secondary" && /* @__PURE__ */ c(xe, { name: "arrow" })
257
257
  ]
258
258
  }
259
259
  )
@@ -665,7 +665,8 @@ const qe = {
665
665
  fontWeight: ["font-weight"],
666
666
  italic: ["font-style"],
667
667
  underline: ["text-decoration"],
668
- textTransform: ["text-transform"]
668
+ textTransform: ["text-transform"],
669
+ lineClamp: ["-webkit-line-clamp"]
669
670
  }, yi = {
670
671
  ...vn,
671
672
  ...vi,
@@ -701,7 +702,7 @@ const qe = {
701
702
  }
702
703
  return `${e.className}@${e.defaultModifier}`;
703
704
  }
704
- }, we = (e) => {
705
+ }, Ie = (e) => {
705
706
  if (e.propValue && ["string", "number"].includes(typeof e.propValue) || !e.propValue) {
706
707
  const t = Ct({
707
708
  className: e.className,
@@ -725,15 +726,15 @@ const qe = {
725
726
  [`bg-${e.bg}`]: e.bg,
726
727
  [`color-${e.color}`]: e.color
727
728
  }), Si = (e) => re(
728
- we({
729
+ Ie({
729
730
  propValue: e.display,
730
731
  className: "display"
731
732
  }),
732
- we({
733
+ Ie({
733
734
  propValue: e.width,
734
735
  className: "width"
735
736
  }),
736
- we({
737
+ Ie({
737
738
  propValue: e.height,
738
739
  className: "height"
739
740
  }),
@@ -742,54 +743,54 @@ const qe = {
742
743
  [`hidden-below@${e.hiddenBelow}`]: !!e.hiddenBelow
743
744
  }
744
745
  ), Oi = (e) => re(
745
- ...we({
746
+ ...Ie({
746
747
  propValue: e.alignItems,
747
748
  className: "items"
748
749
  }),
749
- ...we({
750
+ ...Ie({
750
751
  propValue: e.alignContent,
751
752
  className: "content"
752
753
  }),
753
- ...we({
754
+ ...Ie({
754
755
  propValue: e.justifyContent,
755
756
  className: "justify"
756
757
  }),
757
- ...we({
758
+ ...Ie({
758
759
  propValue: e.gap,
759
760
  className: "gap"
760
761
  }),
761
- ...we({
762
+ ...Ie({
762
763
  propValue: e.gapX,
763
764
  className: "gap-x"
764
765
  }),
765
- ...we({
766
+ ...Ie({
766
767
  propValue: e.gapY,
767
768
  className: "gap-y"
768
769
  })
769
770
  ), Ri = (e) => re(
770
- we({
771
+ Ie({
771
772
  propValue: e.flexDirection,
772
773
  className: "flex"
773
774
  }),
774
- we({
775
+ Ie({
775
776
  propValue: e.flexWrap,
776
777
  className: "flex"
777
778
  })
778
- ), Ci = (e) => we({
779
+ ), Ci = (e) => Ie({
779
780
  propValue: e.alignSelf,
780
781
  className: "self"
781
782
  }).join(" "), Mi = (e) => re(
782
- we({
783
+ Ie({
783
784
  propValue: e.flexBasis,
784
785
  className: "basis"
785
786
  }),
786
- we({
787
+ Ie({
787
788
  propValue: e.flex,
788
789
  className: "flex"
789
790
  })
790
791
  ), _n = (e) => re(
791
792
  Object.entries(e).filter(([t]) => Object.keys(vn).includes(t)).reduce((t, [n, i]) => (t.push(
792
- ...we({
793
+ ...Ie({
793
794
  className: n,
794
795
  propValue: i
795
796
  })
@@ -797,19 +798,24 @@ const qe = {
797
798
  ), Ti = ({
798
799
  textAlign: e,
799
800
  textSize: t,
800
- ...n
801
+ lineClamp: n,
802
+ ...i
801
803
  }) => re(
802
- ...we({
804
+ ...Ie({
803
805
  propValue: e,
804
806
  className: "text"
805
807
  }),
806
808
  {
807
- [`font-weight-${n.fontWeight}`]: n.fontWeight,
808
- [`text-${n.textTransform}`]: n.textTransform,
809
- "text-underline": n.underline,
810
- "text-italic": n.italic,
809
+ [`font-weight-${i.fontWeight}`]: i.fontWeight,
810
+ [`text-${i.textTransform}`]: i.textTransform,
811
+ "text-underline": i.underline,
812
+ "text-italic": i.italic,
811
813
  [`text-${t}`]: t
812
- }
814
+ },
815
+ ...Ie({
816
+ propValue: n,
817
+ className: "line-clamp"
818
+ })
813
819
  ), it = (e) => typeof e.props == "object" ? Object.keys(e.props).reduce(
814
820
  (t, n) => (e.systemPropNames.includes(n) || (t[n] = e.props[n]), t),
815
821
  {}
@@ -820,7 +826,7 @@ const qe = {
820
826
  Ci(e),
821
827
  Mi(e),
822
828
  Ti(e)
823
- ), Ie = ({ name: e, size: t, width: n, height: i, ...o }) => {
829
+ ), xe = ({ name: e, size: t, width: n, height: i, ...o }) => {
824
830
  const r = fi[Ni(e)];
825
831
  return /* @__PURE__ */ c(
826
832
  r,
@@ -864,7 +870,7 @@ function He(e, t) {
864
870
  o = i[r], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
865
871
  return n;
866
872
  }
867
- function Di(e, t) {
873
+ function ki(e, t) {
868
874
  if (e == null)
869
875
  return {};
870
876
  var n = He(e, t), i, o;
@@ -881,7 +887,7 @@ function W0(e, t) {
881
887
  i[n] = e[n];
882
888
  return i;
883
889
  }
884
- function ki(e) {
890
+ function Di(e) {
885
891
  if (Array.isArray(e))
886
892
  return W0(e);
887
893
  }
@@ -905,7 +911,7 @@ function $i() {
905
911
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
906
912
  }
907
913
  function Bi(e) {
908
- return ki(e) || Pi(e) || Li(e) || $i();
914
+ return Di(e) || Pi(e) || Li(e) || $i();
909
915
  }
910
916
  function p0(e) {
911
917
  "@babel/helpers - typeof";
@@ -1017,9 +1023,9 @@ function In(e) {
1017
1023
  if (l === "text")
1018
1024
  return u;
1019
1025
  if (d) {
1020
- var p = Ki(n, r), I;
1026
+ var p = Ki(n, r), E;
1021
1027
  if (!r)
1022
- I = i0(i0({}, a), {}, {
1028
+ E = i0(i0({}, a), {}, {
1023
1029
  className: Tt(a.className)
1024
1030
  });
1025
1031
  else {
@@ -1030,7 +1036,7 @@ function In(e) {
1030
1036
  }, []), T = a.className && a.className.includes("token") ? ["token"] : [], R = a.className && T.concat(a.className.filter(function(A) {
1031
1037
  return !N.includes(A);
1032
1038
  }));
1033
- I = i0(i0({}, a), {}, {
1039
+ E = i0(i0({}, a), {}, {
1034
1040
  className: Tt(R) || void 0,
1035
1041
  style: ji(a.className, Object.assign({}, a.style, o), n)
1036
1042
  });
@@ -1038,7 +1044,7 @@ function In(e) {
1038
1044
  var _ = p(t.children);
1039
1045
  return /* @__PURE__ */ _e.createElement(d, Y({
1040
1046
  key: s
1041
- }, I), _);
1047
+ }, E), _);
1042
1048
  }
1043
1049
  }
1044
1050
  const Fi = function(e, t) {
@@ -1126,17 +1132,17 @@ function wn(e, t, n) {
1126
1132
  return r;
1127
1133
  }
1128
1134
  function x0(e) {
1129
- var t = e.children, n = e.lineNumber, i = e.lineNumberStyle, o = e.largestLineNumber, r = e.showInlineLineNumbers, s = e.lineProps, a = s === void 0 ? {} : s, l = e.className, d = l === void 0 ? [] : l, u = e.showLineNumbers, p = e.wrapLongLines, I = typeof a == "function" ? a(n) : a;
1130
- if (I.className = d, n && r) {
1135
+ var t = e.children, n = e.lineNumber, i = e.lineNumberStyle, o = e.largestLineNumber, r = e.showInlineLineNumbers, s = e.lineProps, a = s === void 0 ? {} : s, l = e.className, d = l === void 0 ? [] : l, u = e.showLineNumbers, p = e.wrapLongLines, E = typeof a == "function" ? a(n) : a;
1136
+ if (E.className = d, n && r) {
1131
1137
  var N = wn(i, n, o);
1132
1138
  t.unshift(xn(n, N));
1133
1139
  }
1134
- return p & u && (I.style = ze(ze({}, I.style), {}, {
1140
+ return p & u && (E.style = ze(ze({}, E.style), {}, {
1135
1141
  display: "flex"
1136
1142
  })), {
1137
1143
  type: "element",
1138
1144
  tagName: "span",
1139
- properties: I,
1145
+ properties: E,
1140
1146
  children: t
1141
1147
  };
1142
1148
  }
@@ -1158,9 +1164,9 @@ function Nn(e) {
1158
1164
  return n;
1159
1165
  }
1160
1166
  function Qi(e, t, n, i, o, r, s, a, l) {
1161
- var d, u = Nn(e.value), p = [], I = -1, N = 0;
1167
+ var d, u = Nn(e.value), p = [], E = -1, N = 0;
1162
1168
  function T(f, w) {
1163
- var D = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
1169
+ var k = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
1164
1170
  return x0({
1165
1171
  children: f,
1166
1172
  lineNumber: w,
@@ -1168,26 +1174,26 @@ function Qi(e, t, n, i, o, r, s, a, l) {
1168
1174
  largestLineNumber: s,
1169
1175
  showInlineLineNumbers: o,
1170
1176
  lineProps: n,
1171
- className: D,
1177
+ className: k,
1172
1178
  showLineNumbers: i,
1173
1179
  wrapLongLines: l
1174
1180
  });
1175
1181
  }
1176
1182
  function R(f, w) {
1177
1183
  if (i && w && o) {
1178
- var D = wn(a, w, s);
1179
- f.unshift(xn(w, D));
1184
+ var k = wn(a, w, s);
1185
+ f.unshift(xn(w, k));
1180
1186
  }
1181
1187
  return f;
1182
1188
  }
1183
1189
  function _(f, w) {
1184
- var D = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
1185
- return t || D.length > 0 ? T(f, w, D) : R(f, w);
1190
+ var k = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
1191
+ return t || k.length > 0 ? T(f, w, k) : R(f, w);
1186
1192
  }
1187
1193
  for (var A = function() {
1188
- var w = u[N], D = w.children[0].value, P = Gi(D);
1194
+ var w = u[N], k = w.children[0].value, P = Gi(k);
1189
1195
  if (P) {
1190
- var q = D.split(`
1196
+ var q = k.split(`
1191
1197
  `);
1192
1198
  q.forEach(function(U, G) {
1193
1199
  var X = i && p.length + r, ne = {
@@ -1196,7 +1202,7 @@ function Qi(e, t, n, i, o, r, s, a, l) {
1196
1202
  `)
1197
1203
  };
1198
1204
  if (G === 0) {
1199
- var Z = u.slice(I + 1, N).concat(x0({
1205
+ var Z = u.slice(E + 1, N).concat(x0({
1200
1206
  children: [ne],
1201
1207
  className: w.properties.className
1202
1208
  })), ie = _(Z, X);
@@ -1217,16 +1223,16 @@ function Qi(e, t, n, i, o, r, s, a, l) {
1217
1223
  p.push(x);
1218
1224
  }
1219
1225
  } else {
1220
- var k = [ne], K = _(k, X, w.properties.className);
1226
+ var D = [ne], K = _(D, X, w.properties.className);
1221
1227
  p.push(K);
1222
1228
  }
1223
- }), I = N;
1229
+ }), E = N;
1224
1230
  }
1225
1231
  N++;
1226
1232
  }; N < u.length; )
1227
1233
  A();
1228
- if (I !== u.length - 1) {
1229
- var h = u.slice(I + 1, u.length);
1234
+ if (E !== u.length - 1) {
1235
+ var h = u.slice(E + 1, u.length);
1230
1236
  if (h && h.length) {
1231
1237
  var m = i && p.length + r, g = _(h, m);
1232
1238
  p.push(g);
@@ -1274,9 +1280,9 @@ function to(e, t) {
1274
1280
  var o = i.language, r = i.children, s = i.style, a = s === void 0 ? t : s, l = i.customStyle, d = l === void 0 ? {} : l, u = i.codeTagProps, p = u === void 0 ? {
1275
1281
  className: o ? "language-".concat(o) : void 0,
1276
1282
  style: ze(ze({}, a['code[class*="language-"]']), a['code[class*="language-'.concat(o, '"]')])
1277
- } : u, I = i.useInlineStyles, N = I === void 0 ? !0 : I, T = i.showLineNumbers, R = T === void 0 ? !1 : T, _ = i.showInlineLineNumbers, A = _ === void 0 ? !0 : _, h = i.startingLineNumber, m = h === void 0 ? 1 : h, g = i.lineNumberContainerStyle, f = i.lineNumberStyle, w = f === void 0 ? {} : f, D = i.wrapLines, P = i.wrapLongLines, q = P === void 0 ? !1 : P, U = i.lineProps, G = U === void 0 ? {} : U, X = i.renderer, ne = i.PreTag, Z = ne === void 0 ? "pre" : ne, ie = i.CodeTag, oe = ie === void 0 ? "code" : ie, W = i.code, pe = W === void 0 ? (Array.isArray(r) ? r[0] : r) || "" : W, ge = i.astGenerator, x = Di(i, qi);
1283
+ } : u, E = i.useInlineStyles, N = E === void 0 ? !0 : E, T = i.showLineNumbers, R = T === void 0 ? !1 : T, _ = i.showInlineLineNumbers, A = _ === void 0 ? !0 : _, h = i.startingLineNumber, m = h === void 0 ? 1 : h, g = i.lineNumberContainerStyle, f = i.lineNumberStyle, w = f === void 0 ? {} : f, k = i.wrapLines, P = i.wrapLongLines, q = P === void 0 ? !1 : P, U = i.lineProps, G = U === void 0 ? {} : U, X = i.renderer, ne = i.PreTag, Z = ne === void 0 ? "pre" : ne, ie = i.CodeTag, oe = ie === void 0 ? "code" : ie, W = i.code, pe = W === void 0 ? (Array.isArray(r) ? r[0] : r) || "" : W, ge = i.astGenerator, x = ki(i, qi);
1278
1284
  ge = ge || e;
1279
- var k = R ? /* @__PURE__ */ _e.createElement(Xi, {
1285
+ var D = R ? /* @__PURE__ */ _e.createElement(Xi, {
1280
1286
  containerStyle: g,
1281
1287
  codeStyle: p.style || {},
1282
1288
  numberStyle: w,
@@ -1295,20 +1301,20 @@ function to(e, t) {
1295
1301
  }) : p.style = ze(ze({}, p.style), {}, {
1296
1302
  whiteSpace: "pre"
1297
1303
  }), !ge)
1298
- return /* @__PURE__ */ _e.createElement(Z, v, k, /* @__PURE__ */ _e.createElement(oe, p, pe));
1299
- (D === void 0 && X || q) && (D = !0), X = X || Ji;
1304
+ return /* @__PURE__ */ _e.createElement(Z, v, D, /* @__PURE__ */ _e.createElement(oe, p, pe));
1305
+ (k === void 0 && X || q) && (k = !0), X = X || Ji;
1300
1306
  var y = [{
1301
1307
  type: "text",
1302
1308
  value: pe
1303
- }], E = eo({
1309
+ }], I = eo({
1304
1310
  astGenerator: ge,
1305
1311
  language: o,
1306
1312
  code: pe,
1307
1313
  defaultCodeValue: y
1308
1314
  });
1309
- E.language === null && (E.value = y);
1310
- var C = E.value.length + m, z = Qi(E, D, G, R, A, m, C, w, q);
1311
- return /* @__PURE__ */ _e.createElement(Z, v, /* @__PURE__ */ _e.createElement(oe, p, !A && k, X({
1315
+ I.language === null && (I.value = y);
1316
+ var C = I.value.length + m, z = Qi(I, k, G, R, A, m, C, w, q);
1317
+ return /* @__PURE__ */ _e.createElement(Z, v, /* @__PURE__ */ _e.createElement(oe, p, !A && D, X({
1312
1318
  rows: z,
1313
1319
  stylesheet: a,
1314
1320
  useInlineStyles: N
@@ -1328,7 +1334,7 @@ function ot(e) {
1328
1334
  }
1329
1335
  var On = ot, no = ot;
1330
1336
  On.default = no;
1331
- class Dt {
1337
+ class kt {
1332
1338
  /**
1333
1339
  * @param {CompiledMode} mode
1334
1340
  */
@@ -1352,7 +1358,7 @@ function Ze(e, ...t) {
1352
1358
  }), /** @type {T} */
1353
1359
  n;
1354
1360
  }
1355
- const ro = "</span>", kt = (e) => !!e.kind;
1361
+ const ro = "</span>", Dt = (e) => !!e.kind;
1356
1362
  class io {
1357
1363
  /**
1358
1364
  * Creates a new HTMLRenderer
@@ -1375,7 +1381,7 @@ class io {
1375
1381
  *
1376
1382
  * @param {Node} node */
1377
1383
  openNode(t) {
1378
- if (!kt(t))
1384
+ if (!Dt(t))
1379
1385
  return;
1380
1386
  let n = t.kind;
1381
1387
  t.sublanguage || (n = `${this.classPrefix}${n}`), this.span(n);
@@ -1385,7 +1391,7 @@ class io {
1385
1391
  *
1386
1392
  * @param {Node} node */
1387
1393
  closeNode(t) {
1388
- kt(t) && (this.buffer += ro);
1394
+ Dt(t) && (this.buffer += ro);
1389
1395
  }
1390
1396
  /**
1391
1397
  * returns the accumulated buffer
@@ -1676,10 +1682,10 @@ function To(e, t) {
1676
1682
  function Ao(e, t) {
1677
1683
  t && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = To, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
1678
1684
  }
1679
- function Do(e, t) {
1685
+ function ko(e, t) {
1680
1686
  Array.isArray(e.illegal) && (e.illegal = co(...e.illegal));
1681
1687
  }
1682
- function ko(e, t) {
1688
+ function Do(e, t) {
1683
1689
  if (e.match) {
1684
1690
  if (e.begin || e.end)
1685
1691
  throw new Error("begin & end are not supported with match");
@@ -1752,7 +1758,7 @@ function Ho(e, { plugins: t }) {
1752
1758
  const d = this.matcherRe.exec(l);
1753
1759
  if (!d)
1754
1760
  return null;
1755
- const u = d.findIndex((I, N) => N > 0 && I !== void 0), p = this.matchIndexes[u];
1761
+ const u = d.findIndex((E, N) => N > 0 && E !== void 0), p = this.matchIndexes[u];
1756
1762
  return d.splice(0, u), Object.assign(d, p);
1757
1763
  }
1758
1764
  }
@@ -1803,12 +1809,12 @@ function Ho(e, { plugins: t }) {
1803
1809
  [
1804
1810
  // do this early so compiler extensions generally don't have to worry about
1805
1811
  // the distinction between match/begin
1806
- ko
1812
+ Do
1807
1813
  ].forEach((p) => p(a, l)), e.compilerExtensions.forEach((p) => p(a, l)), a.__beforeBegin = null, [
1808
1814
  Ao,
1809
1815
  // do this later so compiler extensions that come earlier have access to the
1810
1816
  // raw array if they wanted to perhaps manipulate it, etc.
1811
- Do,
1817
+ ko,
1812
1818
  // default to 1 relevance if not specified
1813
1819
  Po
1814
1820
  ].forEach((p) => p(a, l)), a.isCompiled = !0;
@@ -1835,13 +1841,13 @@ function Ho(e, { plugins: t }) {
1835
1841
  e
1836
1842
  );
1837
1843
  }
1838
- function Dn(e) {
1839
- return e ? e.endsWithParent || Dn(e.starts) : !1;
1844
+ function kn(e) {
1845
+ return e ? e.endsWithParent || kn(e.starts) : !1;
1840
1846
  }
1841
1847
  function zo(e) {
1842
1848
  return e.variants && !e.cachedVariants && (e.cachedVariants = e.variants.map(function(t) {
1843
1849
  return Ze(e, { variants: null }, t);
1844
- })), e.cachedVariants ? e.cachedVariants : Dn(e) ? Ze(e, { starts: e.starts ? Ze(e.starts) : null }) : Object.isFrozen(e) ? Ze(e) : e;
1850
+ })), e.cachedVariants ? e.cachedVariants : kn(e) ? Ze(e, { starts: e.starts ? Ze(e.starts) : null }) : Object.isFrozen(e) ? Ze(e) : e;
1845
1851
  }
1846
1852
  var Uo = "10.7.3";
1847
1853
  function jo(e) {
@@ -1926,8 +1932,8 @@ function qo(e, t, n) {
1926
1932
  return !e.length || !t.length ? e.length ? e : t : e[0].offset !== t[0].offset ? e[0].offset < t[0].offset ? e : t : t[0].event === "start" ? e : t;
1927
1933
  }
1928
1934
  function a(u) {
1929
- function p(I) {
1930
- return " " + I.nodeName + '="' + s0(I.value) + '"';
1935
+ function p(E) {
1936
+ return " " + E.nodeName + '="' + s0(E.value) + '"';
1931
1937
  }
1932
1938
  o += "<" + G0(u) + [].map.call(u.attributes, p).join("") + ">";
1933
1939
  }
@@ -1979,24 +1985,24 @@ const Lt = {}, L0 = (e) => {
1979
1985
  v += b.parentNode ? b.parentNode.className : "";
1980
1986
  const y = l.languageDetectRe.exec(v);
1981
1987
  if (y) {
1982
- const E = ie(y[1]);
1983
- return E || ($t(s.replace("{}", y[1])), $t("Falling back to no-highlight mode for this block.", b)), E ? y[1] : "no-highlight";
1988
+ const I = ie(y[1]);
1989
+ return I || ($t(s.replace("{}", y[1])), $t("Falling back to no-highlight mode for this block.", b)), I ? y[1] : "no-highlight";
1984
1990
  }
1985
- return v.split(/\s+/).find((E) => d(E) || ie(E));
1991
+ return v.split(/\s+/).find((I) => d(I) || ie(I));
1986
1992
  }
1987
- function p(b, v, y, E) {
1993
+ function p(b, v, y, I) {
1988
1994
  let C = "", z = "";
1989
- typeof v == "object" ? (C = b, y = v.ignoreIllegals, z = v.language, E = void 0) : (Ae("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Ae("10.7.0", `Please use highlight(code, options) instead.
1995
+ typeof v == "object" ? (C = b, y = v.ignoreIllegals, z = v.language, I = void 0) : (Ae("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Ae("10.7.0", `Please use highlight(code, options) instead.
1990
1996
  https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
1991
1997
  const H = {
1992
1998
  code: C,
1993
1999
  language: z
1994
2000
  };
1995
2001
  x("before:highlight", H);
1996
- const B = H.result ? H.result : I(H.language, H.code, y, E);
2002
+ const B = H.result ? H.result : E(H.language, H.code, y, I);
1997
2003
  return B.code = H.code, x("after:highlight", B), B;
1998
2004
  }
1999
- function I(b, v, y, E) {
2005
+ function E(b, v, y, I) {
2000
2006
  function C($, j) {
2001
2007
  const te = $e.case_insensitive ? j[0].toLowerCase() : j[0];
2002
2008
  return Object.prototype.hasOwnProperty.call($.keywords, te) && $.keywords[te];
@@ -2035,7 +2041,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2035
2041
  me.addText(fe);
2036
2042
  return;
2037
2043
  }
2038
- $ = I(J.subLanguage, fe, !0, Me[J.subLanguage]), Me[J.subLanguage] = /** @type {CompiledMode} */
2044
+ $ = E(J.subLanguage, fe, !0, Me[J.subLanguage]), Me[J.subLanguage] = /** @type {CompiledMode} */
2039
2045
  $.top;
2040
2046
  } else
2041
2047
  $ = T(fe, J.subLanguage.length ? J.subLanguage : null);
@@ -2051,7 +2057,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2051
2057
  let ue = uo($.endRe, te);
2052
2058
  if (ue) {
2053
2059
  if ($["on:end"]) {
2054
- const Oe = new Dt($);
2060
+ const Oe = new kt($);
2055
2061
  $["on:end"](j, Oe), Oe.isMatchIgnored && (ue = !1);
2056
2062
  }
2057
2063
  if (ue) {
@@ -2067,7 +2073,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2067
2073
  return J.matcher.regexIndex === 0 ? (fe += $[0], 1) : (Te = !0, 0);
2068
2074
  }
2069
2075
  function L($) {
2070
- const j = $[0], te = $.rule, ue = new Dt(te), Oe = [te.__beforeBegin, te["on:begin"]];
2076
+ const j = $[0], te = $.rule, ue = new kt(te), Oe = [te.__beforeBegin, te["on:begin"]];
2071
2077
  for (const v0 of Oe)
2072
2078
  if (v0 && (v0($, ue), ue.isMatchIgnored))
2073
2079
  return de(j);
@@ -2122,7 +2128,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2122
2128
  if (!$e)
2123
2129
  throw L0(s.replace("{}", b)), new Error('Unknown language: "' + b + '"');
2124
2130
  const Be = Ho($e, { plugins: i });
2125
- let Xe = "", J = E || Be;
2131
+ let Xe = "", J = I || Be;
2126
2132
  const Me = {}, me = new l.__emitter(l);
2127
2133
  be();
2128
2134
  let fe = "", Fe = 0, Ne = 0, Ve = 0, Te = !1;
@@ -2184,11 +2190,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2184
2190
  }
2185
2191
  function T(b, v) {
2186
2192
  v = v || l.languages || Object.keys(t);
2187
- const y = N(b), E = v.filter(ie).filter(W).map(
2188
- (Q) => I(Q, b, !1)
2193
+ const y = N(b), I = v.filter(ie).filter(W).map(
2194
+ (Q) => E(Q, b, !1)
2189
2195
  );
2190
- E.unshift(y);
2191
- const C = E.sort((Q, S) => {
2196
+ I.unshift(y);
2197
+ const C = I.sort((Q, S) => {
2192
2198
  if (Q.relevance !== S.relevance)
2193
2199
  return S.relevance - Q.relevance;
2194
2200
  if (Q.language && S.language) {
@@ -2206,8 +2212,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2206
2212
  ` ? l.useBR ? "<br>" : v : l.tabReplace ? v.replace(/\t/g, l.tabReplace) : v) : b;
2207
2213
  }
2208
2214
  function _(b, v, y) {
2209
- const E = v ? n[v] : y;
2210
- b.classList.add("hljs"), E && b.classList.add(E);
2215
+ const I = v ? n[v] : y;
2216
+ b.classList.add("hljs"), I && b.classList.add(I);
2211
2217
  }
2212
2218
  const A = {
2213
2219
  "before:highlightElement": ({ el: b }) => {
@@ -2234,8 +2240,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2234
2240
  "before:highlightElement",
2235
2241
  { el: b, language: y }
2236
2242
  ), v = b;
2237
- const E = v.textContent, C = y ? p(E, { language: y, ignoreIllegals: !0 }) : T(E);
2238
- x("after:highlightElement", { el: b, result: C, text: E }), b.innerHTML = C.value, _(b, y, C.language), b.result = {
2243
+ const I = v.textContent, C = y ? p(I, { language: y, ignoreIllegals: !0 }) : T(I);
2244
+ x("after:highlightElement", { el: b, result: C, text: I }), b.innerHTML = C.value, _(b, y, C.language), b.result = {
2239
2245
  language: C.language,
2240
2246
  // TODO: remove with version 11.0
2241
2247
  re: C.relevance,
@@ -2255,7 +2261,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2255
2261
  return;
2256
2262
  w.called = !0, Ae("10.6.0", "initHighlighting() is deprecated. Use highlightAll() instead."), document.querySelectorAll("pre code").forEach(g);
2257
2263
  };
2258
- function D() {
2264
+ function k() {
2259
2265
  Ae("10.6.0", "initHighlightingOnLoad() is deprecated. Use highlightAll() instead."), P = !0;
2260
2266
  }
2261
2267
  let P = !1;
@@ -2274,11 +2280,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2274
2280
  let y = null;
2275
2281
  try {
2276
2282
  y = v(e);
2277
- } catch (E) {
2283
+ } catch (I) {
2278
2284
  if (L0("Language definition for '{}' could not be registered.".replace("{}", b)), o)
2279
- L0(E);
2285
+ L0(I);
2280
2286
  else
2281
- throw E;
2287
+ throw I;
2282
2288
  y = a;
2283
2289
  }
2284
2290
  y.name || (y.name = b), t[b] = y, y.rawDefinition = v.bind(null, e), y.aliases && oe(y.aliases, { languageName: b });
@@ -2326,11 +2332,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2326
2332
  }
2327
2333
  function x(b, v) {
2328
2334
  const y = b;
2329
- i.forEach(function(E) {
2330
- E[y] && E[y](v);
2335
+ i.forEach(function(I) {
2336
+ I[y] && I[y](v);
2331
2337
  });
2332
2338
  }
2333
- function k(b) {
2339
+ function D(b) {
2334
2340
  return Ae("10.2.0", "fixMarkup will be removed entirely in v11.0"), Ae("10.2.0", "Please see https://github.com/highlightjs/highlight.js/issues/2534"), R(b);
2335
2341
  }
2336
2342
  function K(b) {
@@ -2340,13 +2346,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2340
2346
  highlight: p,
2341
2347
  highlightAuto: T,
2342
2348
  highlightAll: q,
2343
- fixMarkup: k,
2349
+ fixMarkup: D,
2344
2350
  highlightElement: g,
2345
2351
  // TODO: Remove with v12 API
2346
2352
  highlightBlock: K,
2347
2353
  configure: f,
2348
2354
  initHighlighting: w,
2349
- initHighlightingOnLoad: D,
2355
+ initHighlightingOnLoad: k,
2350
2356
  registerLanguage: G,
2351
2357
  unregisterLanguage: X,
2352
2358
  listLanguages: ne,
@@ -2367,7 +2373,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
2367
2373
  typeof b0[b] == "object" && On(b0[b]);
2368
2374
  return Object.assign(e, b0), e.addPlugin(A), e.addPlugin(Fo), e.addPlugin(m), e;
2369
2375
  };
2370
- var Go = Wo({}), Yo = Go, kn = { exports: {} };
2376
+ var Go = Wo({}), Yo = Go, Dn = { exports: {} };
2371
2377
  (function(e) {
2372
2378
  (function() {
2373
2379
  var t;
@@ -2379,15 +2385,15 @@ var Go = Wo({}), Yo = Go, kn = { exports: {} };
2379
2385
  return o.apply(null, [r].concat(s));
2380
2386
  }
2381
2387
  function o(r) {
2382
- for (var s = 1, a = [].slice.call(arguments), l = 0, d = r.length, u = "", p, I = !1, N, T, R = !1, _, A = function() {
2388
+ for (var s = 1, a = [].slice.call(arguments), l = 0, d = r.length, u = "", p, E = !1, N, T, R = !1, _, A = function() {
2383
2389
  return a[s++];
2384
2390
  }, h = function() {
2385
2391
  for (var m = ""; /\d/.test(r[l]); )
2386
2392
  m += r[l++], p = r[l];
2387
2393
  return m.length > 0 ? parseInt(m) : null;
2388
2394
  }; l < d; ++l)
2389
- if (p = r[l], I)
2390
- switch (I = !1, p == "." ? (R = !1, p = r[++l]) : p == "0" && r[l + 1] == "." ? (R = !0, l += 2, p = r[l]) : R = !0, _ = h(), p) {
2395
+ if (p = r[l], E)
2396
+ switch (E = !1, p == "." ? (R = !1, p = r[++l]) : p == "0" && r[l + 1] == "." ? (R = !0, l += 2, p = r[l]) : R = !0, _ = h(), p) {
2391
2397
  case "b":
2392
2398
  u += parseInt(A(), 10).toString(2);
2393
2399
  break;
@@ -2420,12 +2426,12 @@ var Go = Wo({}), Yo = Go, kn = { exports: {} };
2420
2426
  break;
2421
2427
  }
2422
2428
  else
2423
- p === "%" ? I = !0 : u += p;
2429
+ p === "%" ? E = !0 : u += p;
2424
2430
  return u;
2425
2431
  }
2426
2432
  })();
2427
- })(kn);
2428
- var Xo = kn.exports, Zo = Xo, Qe = Je(Error), Qo = Qe;
2433
+ })(Dn);
2434
+ var Xo = Dn.exports, Zo = Xo, Qe = Je(Error), Qo = Qe;
2429
2435
  Qe.eval = Je(EvalError);
2430
2436
  Qe.range = Je(RangeError);
2431
2437
  Qe.reference = Je(ReferenceError);
@@ -3037,12 +3043,12 @@ function Oa(e) {
3037
3043
  * @param {CallbackResponse} response
3038
3044
  */
3039
3045
  isTrulyOpeningTag: (g, f) => {
3040
- const w = g[0].length + g.index, D = g.input[w];
3041
- if (D === "<") {
3046
+ const w = g[0].length + g.index, k = g.input[w];
3047
+ if (k === "<") {
3042
3048
  f.ignoreMatch();
3043
3049
  return;
3044
3050
  }
3045
- D === ">" && (t(g, { after: w }) || f.ignoreMatch());
3051
+ k === ">" && (t(g, { after: w }) || f.ignoreMatch());
3046
3052
  }
3047
3053
  }, r = {
3048
3054
  $pattern: zt,
@@ -3085,7 +3091,7 @@ function Oa(e) {
3085
3091
  ],
3086
3092
  subLanguage: "xml"
3087
3093
  }
3088
- }, I = {
3094
+ }, E = {
3089
3095
  begin: "css`",
3090
3096
  end: "",
3091
3097
  starts: {
@@ -3148,7 +3154,7 @@ function Oa(e) {
3148
3154
  e.APOS_STRING_MODE,
3149
3155
  e.QUOTE_STRING_MODE,
3150
3156
  p,
3151
- I,
3157
+ E,
3152
3158
  N,
3153
3159
  d,
3154
3160
  e.REGEXP_MODE
@@ -3202,7 +3208,7 @@ function Oa(e) {
3202
3208
  e.APOS_STRING_MODE,
3203
3209
  e.QUOTE_STRING_MODE,
3204
3210
  p,
3205
- I,
3211
+ E,
3206
3212
  N,
3207
3213
  R,
3208
3214
  d,
@@ -3617,8 +3623,8 @@ function Aa(e) {
3617
3623
  ]
3618
3624
  };
3619
3625
  }
3620
- var Da = Aa;
3621
- const ka = /* @__PURE__ */ Re(Da);
3626
+ var ka = Aa;
3627
+ const Da = /* @__PURE__ */ Re(ka);
3622
3628
  function Pa(e) {
3623
3629
  return {
3624
3630
  name: "Shell Session",
@@ -3679,7 +3685,7 @@ function $a(e) {
3679
3685
  }), a = "[0-9]{4}(-[0-9][0-9]){0,2}", l = "([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?", d = "(\\.[0-9]*)?", u = "([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?", p = {
3680
3686
  className: "number",
3681
3687
  begin: "\\b" + a + l + d + u + "\\b"
3682
- }, I = {
3688
+ }, E = {
3683
3689
  end: ",",
3684
3690
  endsWithParent: !0,
3685
3691
  excludeEnd: !0,
@@ -3688,13 +3694,13 @@ function $a(e) {
3688
3694
  }, N = {
3689
3695
  begin: /\{/,
3690
3696
  end: /\}/,
3691
- contains: [I],
3697
+ contains: [E],
3692
3698
  illegal: "\\n",
3693
3699
  relevance: 0
3694
3700
  }, T = {
3695
3701
  begin: "\\[",
3696
3702
  end: "\\]",
3697
- contains: [I],
3703
+ contains: [E],
3698
3704
  illegal: "\\n",
3699
3705
  relevance: 0
3700
3706
  }, R = [
@@ -3777,7 +3783,7 @@ function $a(e) {
3777
3783
  T,
3778
3784
  r
3779
3785
  ], _ = [...R];
3780
- return _.pop(), _.push(s), I.contains = _, {
3786
+ return _.pop(), _.push(s), E.contains = _, {
3781
3787
  name: "YAML",
3782
3788
  case_insensitive: !0,
3783
3789
  aliases: ["yml"],
@@ -3993,12 +3999,12 @@ function Wa(e) {
3993
3999
  * @param {CallbackResponse} response
3994
4000
  */
3995
4001
  isTrulyOpeningTag: (g, f) => {
3996
- const w = g[0].length + g.index, D = g.input[w];
3997
- if (D === "<") {
4002
+ const w = g[0].length + g.index, k = g.input[w];
4003
+ if (k === "<") {
3998
4004
  f.ignoreMatch();
3999
4005
  return;
4000
4006
  }
4001
- D === ">" && (t(g, { after: w }) || f.ignoreMatch());
4007
+ k === ">" && (t(g, { after: w }) || f.ignoreMatch());
4002
4008
  }
4003
4009
  }, r = {
4004
4010
  $pattern: O0,
@@ -4041,7 +4047,7 @@ function Wa(e) {
4041
4047
  ],
4042
4048
  subLanguage: "xml"
4043
4049
  }
4044
- }, I = {
4050
+ }, E = {
4045
4051
  begin: "css`",
4046
4052
  end: "",
4047
4053
  starts: {
@@ -4104,7 +4110,7 @@ function Wa(e) {
4104
4110
  e.APOS_STRING_MODE,
4105
4111
  e.QUOTE_STRING_MODE,
4106
4112
  p,
4107
- I,
4113
+ E,
4108
4114
  N,
4109
4115
  d,
4110
4116
  e.REGEXP_MODE
@@ -4158,7 +4164,7 @@ function Wa(e) {
4158
4164
  e.APOS_STRING_MODE,
4159
4165
  e.QUOTE_STRING_MODE,
4160
4166
  p,
4161
- I,
4167
+ E,
4162
4168
  N,
4163
4169
  R,
4164
4170
  d,
@@ -4392,18 +4398,18 @@ function Ga(e) {
4392
4398
  }, l = {
4393
4399
  className: "meta",
4394
4400
  begin: "@" + t
4395
- }, d = (I, N, T) => {
4396
- const R = I.contains.findIndex((_) => _.label === N);
4401
+ }, d = (E, N, T) => {
4402
+ const R = E.contains.findIndex((_) => _.label === N);
4397
4403
  if (R === -1)
4398
4404
  throw new Error("can not find mode to replace");
4399
- I.contains.splice(R, 1, T);
4405
+ E.contains.splice(R, 1, T);
4400
4406
  }, u = Wa(e);
4401
4407
  Object.assign(u.keywords, a), u.exports.PARAMS_CONTAINS.push(l), u.contains = u.contains.concat([
4402
4408
  l,
4403
4409
  n,
4404
4410
  i
4405
4411
  ]), d(u, "shebang", e.SHEBANG()), d(u, "use_strict", o);
4406
- const p = u.contains.find((I) => I.className === "function");
4412
+ const p = u.contains.find((E) => E.className === "function");
4407
4413
  return p.relevance = 0, Object.assign(u, {
4408
4414
  name: "TypeScript",
4409
4415
  aliases: ["ts", "tsx"]
@@ -4533,7 +4539,7 @@ Se.registerLanguage("bash", ba);
4533
4539
  Se.registerLanguage("json", Ta);
4534
4540
  Se.registerLanguage("yaml", zn);
4535
4541
  Se.registerLanguage("yml", zn);
4536
- Se.registerLanguage("php", ka);
4542
+ Se.registerLanguage("php", Da);
4537
4543
  Se.registerLanguage("twig", za);
4538
4544
  Se.registerLanguage("xml", Bn);
4539
4545
  Se.registerLanguage("html", Bn);
@@ -4626,7 +4632,7 @@ const e0 = Ce(
4626
4632
  color: "info",
4627
4633
  className: re("link", n),
4628
4634
  children: [
4629
- t && /* @__PURE__ */ c(Ie, { name: t }),
4635
+ t && /* @__PURE__ */ c(xe, { name: t }),
4630
4636
  /* @__PURE__ */ c(ee, { as: "span", children: i })
4631
4637
  ]
4632
4638
  }
@@ -4661,7 +4667,7 @@ const Zn = Ce(
4661
4667
  /* @__PURE__ */ c(V, { as: "input", ...e, className: "search-field__input" }),
4662
4668
  /* @__PURE__ */ M(F, { justifyContent: "center", alignItems: "center", className: "search-field__actions-container", children: [
4663
4669
  !!e.value && /* @__PURE__ */ c(Gn, { ...t, variant: "secondary", className: "search-field__button-action" }),
4664
- /* @__PURE__ */ c(V, { as: "button", ...n, className: "search-field__button-action", children: /* @__PURE__ */ c(Ie, { name: "search", color: "primary", size: "2.5rem", mx: "xs" }) })
4670
+ /* @__PURE__ */ c(V, { as: "button", ...n, className: "search-field__button-action", children: /* @__PURE__ */ c(xe, { name: "search", color: "primary", size: "2.5rem", mx: "xs" }) })
4665
4671
  ] })
4666
4672
  ]
4667
4673
  }
@@ -4675,24 +4681,24 @@ var Qn = { exports: {} };
4675
4681
  })(gn, () => {
4676
4682
  return n = { 772: (o, r, s) => {
4677
4683
  const a = s(826).remove, l = /[.*+?^${}()|[\]\\]/g, d = /[a-z0-9_]/i, u = /\s+/;
4678
- o.exports = function(p, I, N) {
4684
+ o.exports = function(p, E, N) {
4679
4685
  var T, R;
4680
4686
  R = { insideWords: !1, findAllOccurrences: !1, requireMatchAll: !1 }, T = (T = N) || {}, Object.keys(T).forEach((h) => {
4681
4687
  R[h] = !!T[h];
4682
4688
  }), N = R;
4683
4689
  const _ = Array.from(p).map((h) => a(h));
4684
4690
  let A = _.join("");
4685
- return (I = a(I)).trim().split(u).filter((h) => h.length > 0).reduce((h, m) => {
4691
+ return (E = a(E)).trim().split(u).filter((h) => h.length > 0).reduce((h, m) => {
4686
4692
  const g = m.length, f = !N.insideWords && d.test(m[0]) ? "\\b" : "", w = new RegExp(f + m.replace(l, "\\$&"), "i");
4687
- let D, P;
4688
- if (D = w.exec(A), N.requireMatchAll && D === null)
4693
+ let k, P;
4694
+ if (k = w.exec(A), N.requireMatchAll && k === null)
4689
4695
  return A = "", [];
4690
- for (; D; ) {
4691
- P = D.index;
4696
+ for (; k; ) {
4697
+ P = k.index;
4692
4698
  const q = g - _.slice(P, P + g).join("").length, U = P - _.slice(0, P).join("").length, G = [P + U, P + g + U + q];
4693
4699
  if (G[0] !== G[1] && h.push(G), A = A.slice(0, P) + new Array(g + 1).join(" ") + A.slice(P + g), !N.findAllOccurrences)
4694
4700
  break;
4695
- D = w.exec(A);
4701
+ k = w.exec(A);
4696
4702
  }
4697
4703
  return h;
4698
4704
  }, []).sort((h, m) => h[0] - m[0]);
@@ -4832,7 +4838,7 @@ const Mc = ["primary", "secondary"], lt = ({
4832
4838
  display: "inline-block",
4833
4839
  style: { minWidth: 60, minHeight: 16 },
4834
4840
  children: /* @__PURE__ */ M(F, { alignContent: "center", alignItems: "center", gap: "xxs", className: "post-metadata__date", children: [
4835
- e === "secondary" && /* @__PURE__ */ c(Ie, { name: "calendar", size: "24px", color: "light-grey" }),
4841
+ e === "secondary" && /* @__PURE__ */ c(xe, { name: "calendar", size: "24px", color: "light-grey" }),
4836
4842
  t && /* @__PURE__ */ c(ee, { as: "span", children: t })
4837
4843
  ] })
4838
4844
  },
@@ -4850,7 +4856,7 @@ const Mc = ["primary", "secondary"], lt = ({
4850
4856
  display: "inline-block",
4851
4857
  style: { minWidth: 26, minHeight: 16 },
4852
4858
  children: /* @__PURE__ */ M(F, { alignContent: "center", alignItems: "center", gap: "xxs", children: [
4853
- e === "secondary" && /* @__PURE__ */ c(Ie, { name: "access-time", size: "24px", color: "light-grey" }),
4859
+ e === "secondary" && /* @__PURE__ */ c(xe, { name: "access-time", size: "24px", color: "light-grey" }),
4854
4860
  n && /* @__PURE__ */ c(ee, { as: "span", children: `${n}mn` })
4855
4861
  ] })
4856
4862
  },
@@ -4868,9 +4874,9 @@ const Mc = ["primary", "secondary"], lt = ({
4868
4874
  display: "inline-block",
4869
4875
  style: { minWidth: 50, minHeight: 16 },
4870
4876
  children: i && /* @__PURE__ */ M(F, { alignContent: "center", alignItems: "center", gap: "xxs", className: "post-metadata__authors", children: [
4871
- e === "secondary" && /* @__PURE__ */ c(Ie, { name: "person", size: "24px", color: "light-grey" }),
4872
- i.map(({ username: p, name: I, link: N }, T) => /* @__PURE__ */ M(rt, { children: [
4873
- N ? /* @__PURE__ */ c(e0, { ...N, children: I }) : /* @__PURE__ */ c(ee, { as: "span", children: I }),
4877
+ e === "secondary" && /* @__PURE__ */ c(xe, { name: "person", size: "24px", color: "light-grey" }),
4878
+ i.map(({ username: p, name: E, link: N }, T) => /* @__PURE__ */ M(rt, { children: [
4879
+ N ? /* @__PURE__ */ c(e0, { ...N, children: E }) : /* @__PURE__ */ c(ee, { as: "span", children: E }),
4874
4880
  T !== i.length - 1 && /* @__PURE__ */ c(ee, { as: "span", children: " & " })
4875
4881
  ] }, p))
4876
4882
  ] })
@@ -4891,59 +4897,79 @@ const Mc = ["primary", "secondary"], lt = ({
4891
4897
  ...s,
4892
4898
  alignItems: "center",
4893
4899
  textSize: "s",
4894
- flexWrap: "no-wrap",
4900
+ flexWrap: "wrap",
4895
4901
  gap: e === "secondary" ? "s" : "xxs",
4896
4902
  className: re("post-metadata", { [`post-metadata--${e}`]: e }),
4897
4903
  children: a
4898
4904
  }
4899
4905
  );
4900
4906
  };
4901
- const Tc = ["highlight-light", "highlight-dark", "side-image"], D0 = ({
4902
- contentType: e,
4903
- variant: t = "side-image",
4904
- cover: n = {},
4905
- title: i,
4906
- excerpt: o,
4907
- date: r,
4908
- readingTime: s,
4909
- authors: a,
4910
- link: l = {},
4911
- isLoading: d = !1,
4912
- tutorialLabel: u,
4913
- ...p
4914
- }) => /* @__PURE__ */ M(V, { as: "article", ...p, className: re("post-card", `post-card--${t}`), children: [
4915
- /* @__PURE__ */ c(We, { isLoading: d, children: /* @__PURE__ */ c(Xn, { ...n, img: { className: "post-card__cover", ...n == null ? void 0 : n.img } }) }),
4916
- /* @__PURE__ */ M(V, { my: { xs: "s", md: "m" }, pl: { xs: "s", md: "m" }, pr: { xs: "xs", md: "m" }, flex: "1", children: [
4917
- /* @__PURE__ */ c(We, { isLoading: d, children: /* @__PURE__ */ M(ve, { as: "h2", size: "xs", className: "post-card__heading", children: [
4918
- /* @__PURE__ */ c(ee, { as: "a", ...l, size: "m", "data-internal-link": "post", className: "post-card__link", children: i }),
4919
- e === "tutorial" && /* @__PURE__ */ c(
4920
- ee,
4921
- {
4922
- size: "xs",
4923
- py: "xxs-3",
4924
- px: "xxs-2",
4925
- color: "primary",
4926
- textTransform: "uppercase",
4927
- fontWeight: "bold",
4928
- className: "post-card__tutoriel-tag",
4929
- children: u
4930
- }
4931
- )
4932
- ] }) }),
4933
- /* @__PURE__ */ c(
4934
- lt,
4935
- {
4936
- variant: "primary",
4937
- mt: "xxs",
4938
- date: r,
4939
- readingTime: s,
4940
- authors: a,
4941
- isLoading: d
4942
- }
4943
- ),
4944
- t !== "highlight-dark" && /* @__PURE__ */ c(We, { isLoading: d, children: /* @__PURE__ */ c(ee, { mt: "xs", size: "s", hiddenBelow: "md", className: "post-card__excerpt", children: o }) })
4945
- ] })
4946
- ] });
4907
+ const Tc = ["highlight-light", "highlight-dark", "side-image"], k0 = ({
4908
+ slug: e,
4909
+ contentType: t,
4910
+ variant: n = "side-image",
4911
+ cover: i = {},
4912
+ title: o,
4913
+ excerpt: r,
4914
+ date: s,
4915
+ readingTime: a,
4916
+ authors: l,
4917
+ link: d = {},
4918
+ isLoading: u = !1,
4919
+ tutorialLabel: p,
4920
+ ...E
4921
+ }) => /* @__PURE__ */ M(
4922
+ V,
4923
+ {
4924
+ as: "article",
4925
+ ...E,
4926
+ className: re("post-card", `post-card--${n}`, {
4927
+ "post-card--with-tutorial": t === "tutorial"
4928
+ }),
4929
+ children: [
4930
+ /* @__PURE__ */ c(We, { isLoading: u, children: /* @__PURE__ */ c(Xn, { ...i, img: { ...i == null ? void 0 : i.img, className: "post-card__cover" } }) }),
4931
+ /* @__PURE__ */ M(V, { my: { xs: "s", md: "m" }, pl: { xs: "s", md: "m" }, pr: { xs: "xs", md: "m" }, flex: "1", children: [
4932
+ /* @__PURE__ */ c(We, { isLoading: u, children: /* @__PURE__ */ M(
4933
+ ve,
4934
+ {
4935
+ as: "h2",
4936
+ size: "xs",
4937
+ lineClamp: { xs: n === "highlight-dark" ? 2 : 4, md: n === "highlight-light" ? 3 : 2 },
4938
+ className: "post-card__heading",
4939
+ children: [
4940
+ /* @__PURE__ */ c(ee, { as: "a", ...d, size: "m", "data-internal-link": "post", className: "post-card__link", children: o }),
4941
+ t === "tutorial" && /* @__PURE__ */ c(
4942
+ ee,
4943
+ {
4944
+ size: "xs",
4945
+ py: "xxs-3",
4946
+ px: "xxs-2",
4947
+ color: "primary",
4948
+ textTransform: "uppercase",
4949
+ fontWeight: "bold",
4950
+ className: "post-card__tutoriel-tag",
4951
+ children: p
4952
+ }
4953
+ )
4954
+ ]
4955
+ }
4956
+ ) }),
4957
+ /* @__PURE__ */ c(
4958
+ lt,
4959
+ {
4960
+ variant: "primary",
4961
+ mt: "xxs",
4962
+ date: s,
4963
+ readingTime: a,
4964
+ authors: l,
4965
+ isLoading: u
4966
+ }
4967
+ ),
4968
+ n !== "highlight-dark" && /* @__PURE__ */ c(We, { isLoading: u, children: /* @__PURE__ */ c(ee, { mt: "xs", size: "s", hiddenBelow: "md", lineClamp: { xs: 4, md: 2 }, className: "post-card__excerpt", children: r }) })
4969
+ ] })
4970
+ ]
4971
+ }
4972
+ );
4947
4973
  const os = ({
4948
4974
  name: e,
4949
4975
  avatarImageUrl: t,
@@ -5030,7 +5056,7 @@ const Ac = ["primary", "secondary"], nr = ({
5030
5056
  l !== i.length - 1 && /* @__PURE__ */ c(h0, { my: "xxs" })
5031
5057
  ] }, l)) })
5032
5058
  ] });
5033
- const Dc = ["horizontal", "vertical"], ut = ({
5059
+ const kc = ["horizontal", "vertical"], ut = ({
5034
5060
  title: e,
5035
5061
  description: t,
5036
5062
  children: n,
@@ -5047,7 +5073,7 @@ const Dc = ["horizontal", "vertical"], ut = ({
5047
5073
  children: [
5048
5074
  /* @__PURE__ */ M(V, { className: "newsletter-card__intro", children: [
5049
5075
  /* @__PURE__ */ c(ve, { size: "m", color: "accent", children: e }),
5050
- /* @__PURE__ */ c(Ie, { name: "underline", color: "accent", width: "56px" }),
5076
+ /* @__PURE__ */ c(xe, { name: "underline", color: "accent", width: "56px" }),
5051
5077
  /* @__PURE__ */ c(ee, { mt: "m", children: t })
5052
5078
  ] }),
5053
5079
  /* @__PURE__ */ c(V, { className: "newsletter-card__form", children: n })
@@ -5104,7 +5130,7 @@ const B0 = (e) => ({
5104
5130
  disabled: e === 1,
5105
5131
  getLink: n
5106
5132
  }),
5107
- children: /* @__PURE__ */ c(Ie, { name: "arrow" })
5133
+ children: /* @__PURE__ */ c(xe, { name: "arrow" })
5108
5134
  }
5109
5135
  ),
5110
5136
  r.map((s, a) => /* @__PURE__ */ M(rt, { children: [
@@ -5129,12 +5155,12 @@ const B0 = (e) => ({
5129
5155
  disabled: e === t,
5130
5156
  getLink: n
5131
5157
  }),
5132
- children: /* @__PURE__ */ c(Ie, { name: "arrow" })
5158
+ children: /* @__PURE__ */ c(xe, { name: "arrow" })
5133
5159
  }
5134
5160
  )
5135
5161
  ] });
5136
- }, kc = ({ posts: e, pagination: t, isLoading: n = !1 }) => /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ M(F, { flexDirection: "column", gap: "m", children: [
5137
- e.map((i, o) => /* @__PURE__ */ c(_e.Fragment, { children: /* @__PURE__ */ c(D0, { ...i || {}, isLoading: n }) }, (i == null ? void 0 : i.slug) ?? o)),
5162
+ }, Dc = ({ posts: e, pagination: t, isLoading: n = !1 }) => /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ M(F, { flexDirection: "column", gap: "m", children: [
5163
+ e.map((i, o) => /* @__PURE__ */ c(_e.Fragment, { children: /* @__PURE__ */ c(k0, { ...i || {}, isLoading: n }) }, (i == null ? void 0 : i.slug) ?? o)),
5138
5164
  t && (t == null ? void 0 : t.totalPages) > 1 && /* @__PURE__ */ c(cs, { mx: "auto", ...t })
5139
5165
  ] }) });
5140
5166
  function ls(e, t) {
@@ -5154,7 +5180,7 @@ function us() {
5154
5180
  if (Ft)
5155
5181
  return ae;
5156
5182
  Ft = 1;
5157
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, I = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, R = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, h = e ? Symbol.for("react.scope") : 60119;
5183
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, E = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, R = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, h = e ? Symbol.for("react.scope") : 60119;
5158
5184
  function m(f) {
5159
5185
  if (typeof f == "object" && f !== null) {
5160
5186
  var w = f.$$typeof;
@@ -5213,7 +5239,7 @@ function us() {
5213
5239
  }, ae.isSuspense = function(f) {
5214
5240
  return m(f) === p;
5215
5241
  }, ae.isValidElementType = function(f) {
5216
- return typeof f == "string" || typeof f == "function" || f === i || f === d || f === r || f === o || f === p || f === I || typeof f == "object" && f !== null && (f.$$typeof === T || f.$$typeof === N || f.$$typeof === s || f.$$typeof === a || f.$$typeof === u || f.$$typeof === _ || f.$$typeof === A || f.$$typeof === h || f.$$typeof === R);
5242
+ return typeof f == "string" || typeof f == "function" || f === i || f === d || f === r || f === o || f === p || f === E || typeof f == "object" && f !== null && (f.$$typeof === T || f.$$typeof === N || f.$$typeof === s || f.$$typeof === a || f.$$typeof === u || f.$$typeof === _ || f.$$typeof === A || f.$$typeof === h || f.$$typeof === R);
5217
5243
  }, ae.typeOf = m, ae;
5218
5244
  }
5219
5245
  var se = {};
@@ -5228,10 +5254,10 @@ var se = {};
5228
5254
  var qt;
5229
5255
  function ds() {
5230
5256
  return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
5231
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, I = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, R = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, h = e ? Symbol.for("react.scope") : 60119;
5257
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, E = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, R = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, h = e ? Symbol.for("react.scope") : 60119;
5232
5258
  function m(S) {
5233
5259
  return typeof S == "string" || typeof S == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
5234
- S === i || S === d || S === r || S === o || S === p || S === I || typeof S == "object" && S !== null && (S.$$typeof === T || S.$$typeof === N || S.$$typeof === s || S.$$typeof === a || S.$$typeof === u || S.$$typeof === _ || S.$$typeof === A || S.$$typeof === h || S.$$typeof === R);
5260
+ S === i || S === d || S === r || S === o || S === p || S === E || typeof S == "object" && S !== null && (S.$$typeof === T || S.$$typeof === N || S.$$typeof === s || S.$$typeof === a || S.$$typeof === u || S.$$typeof === _ || S.$$typeof === A || S.$$typeof === h || S.$$typeof === R);
5235
5261
  }
5236
5262
  function g(S) {
5237
5263
  if (typeof S == "object" && S !== null) {
@@ -5265,14 +5291,14 @@ function ds() {
5265
5291
  }
5266
5292
  }
5267
5293
  }
5268
- var f = l, w = d, D = a, P = s, q = t, U = u, G = i, X = T, ne = N, Z = n, ie = r, oe = o, W = p, pe = !1;
5294
+ var f = l, w = d, k = a, P = s, q = t, U = u, G = i, X = T, ne = N, Z = n, ie = r, oe = o, W = p, pe = !1;
5269
5295
  function ge(S) {
5270
5296
  return pe || (pe = !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.")), x(S) || g(S) === l;
5271
5297
  }
5272
5298
  function x(S) {
5273
5299
  return g(S) === d;
5274
5300
  }
5275
- function k(S) {
5301
+ function D(S) {
5276
5302
  return g(S) === a;
5277
5303
  }
5278
5304
  function K(S) {
@@ -5287,7 +5313,7 @@ function ds() {
5287
5313
  function y(S) {
5288
5314
  return g(S) === i;
5289
5315
  }
5290
- function E(S) {
5316
+ function I(S) {
5291
5317
  return g(S) === T;
5292
5318
  }
5293
5319
  function C(S) {
@@ -5305,7 +5331,7 @@ function ds() {
5305
5331
  function Q(S) {
5306
5332
  return g(S) === p;
5307
5333
  }
5308
- se.AsyncMode = f, se.ConcurrentMode = w, se.ContextConsumer = D, se.ContextProvider = P, se.Element = q, se.ForwardRef = U, se.Fragment = G, se.Lazy = X, se.Memo = ne, se.Portal = Z, se.Profiler = ie, se.StrictMode = oe, se.Suspense = W, se.isAsyncMode = ge, se.isConcurrentMode = x, se.isContextConsumer = k, se.isContextProvider = K, se.isElement = b, se.isForwardRef = v, se.isFragment = y, se.isLazy = E, se.isMemo = C, se.isPortal = z, se.isProfiler = H, se.isStrictMode = B, se.isSuspense = Q, se.isValidElementType = m, se.typeOf = g;
5334
+ se.AsyncMode = f, se.ConcurrentMode = w, se.ContextConsumer = k, se.ContextProvider = P, se.Element = q, se.ForwardRef = U, se.Fragment = G, se.Lazy = X, se.Memo = ne, se.Portal = Z, se.Profiler = ie, se.StrictMode = oe, se.Suspense = W, se.isAsyncMode = ge, se.isConcurrentMode = x, se.isContextConsumer = D, se.isContextProvider = K, se.isElement = b, se.isForwardRef = v, se.isFragment = y, se.isLazy = I, se.isMemo = C, se.isPortal = z, se.isProfiler = H, se.isStrictMode = B, se.isSuspense = Q, se.isValidElementType = m, se.typeOf = g;
5309
5335
  }()), se;
5310
5336
  }
5311
5337
  var Wt;
@@ -5357,8 +5383,8 @@ function fs() {
5357
5383
  t.call(a, p) && (l[p] = a[p]);
5358
5384
  if (e) {
5359
5385
  d = e(a);
5360
- for (var I = 0; I < d.length; I++)
5361
- n.call(a, d[I]) && (l[d[I]] = a[d[I]]);
5386
+ for (var E = 0; E < d.length; E++)
5387
+ n.call(a, d[E]) && (l[d[E]] = a[d[E]]);
5362
5388
  }
5363
5389
  }
5364
5390
  return l;
@@ -5401,10 +5427,10 @@ function ps() {
5401
5427
  var p;
5402
5428
  try {
5403
5429
  if (typeof r[u] != "function") {
5404
- var I = Error(
5430
+ var E = Error(
5405
5431
  (l || "React class") + ": " + a + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
5406
5432
  );
5407
- throw I.name = "Invariant Violation", I;
5433
+ throw E.name = "Invariant Violation", E;
5408
5434
  }
5409
5435
  p = r[u](s, u, l, a, null, t);
5410
5436
  } catch (T) {
@@ -5447,11 +5473,11 @@ function gs() {
5447
5473
  return j0 = function(a, l) {
5448
5474
  var d = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
5449
5475
  function p(x) {
5450
- var k = x && (d && x[d] || x[u]);
5451
- if (typeof k == "function")
5452
- return k;
5476
+ var D = x && (d && x[d] || x[u]);
5477
+ if (typeof D == "function")
5478
+ return D;
5453
5479
  }
5454
- var I = "<<anonymous>>", N = {
5480
+ var E = "<<anonymous>>", N = {
5455
5481
  array: A("array"),
5456
5482
  bigint: A("bigint"),
5457
5483
  bool: A("boolean"),
@@ -5467,23 +5493,23 @@ function gs() {
5467
5493
  instanceOf: w,
5468
5494
  node: U(),
5469
5495
  objectOf: P,
5470
- oneOf: D,
5496
+ oneOf: k,
5471
5497
  oneOfType: q,
5472
5498
  shape: X,
5473
5499
  exact: ne
5474
5500
  };
5475
- function T(x, k) {
5476
- return x === k ? x !== 0 || 1 / x === 1 / k : x !== x && k !== k;
5501
+ function T(x, D) {
5502
+ return x === D ? x !== 0 || 1 / x === 1 / D : x !== x && D !== D;
5477
5503
  }
5478
- function R(x, k) {
5479
- this.message = x, this.data = k && typeof k == "object" ? k : {}, this.stack = "";
5504
+ function R(x, D) {
5505
+ this.message = x, this.data = D && typeof D == "object" ? D : {}, this.stack = "";
5480
5506
  }
5481
5507
  R.prototype = Error.prototype;
5482
5508
  function _(x) {
5483
5509
  if (process.env.NODE_ENV !== "production")
5484
- var k = {}, K = 0;
5485
- function b(y, E, C, z, H, B, Q) {
5486
- if (z = z || I, B = B || C, Q !== n) {
5510
+ var D = {}, K = 0;
5511
+ function b(y, I, C, z, H, B, Q) {
5512
+ if (z = z || E, B = B || C, Q !== n) {
5487
5513
  if (l) {
5488
5514
  var S = new Error(
5489
5515
  "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"
@@ -5491,57 +5517,57 @@ function gs() {
5491
5517
  throw S.name = "Invariant Violation", S;
5492
5518
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
5493
5519
  var de = z + ":" + C;
5494
- !k[de] && // Avoid spamming the console because they are often not actionable except for lib authors
5520
+ !D[de] && // Avoid spamming the console because they are often not actionable except for lib authors
5495
5521
  K < 3 && (r(
5496
5522
  "You are manually calling a React.PropTypes validation function for the `" + B + "` prop on `" + z + "`. 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."
5497
- ), k[de] = !0, K++);
5523
+ ), D[de] = !0, K++);
5498
5524
  }
5499
5525
  }
5500
- return E[C] == null ? y ? E[C] === null ? new R("The " + H + " `" + B + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new R("The " + H + " `" + B + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : x(E, C, z, H, B);
5526
+ return I[C] == null ? y ? I[C] === null ? new R("The " + H + " `" + B + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new R("The " + H + " `" + B + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : x(I, C, z, H, B);
5501
5527
  }
5502
5528
  var v = b.bind(null, !1);
5503
5529
  return v.isRequired = b.bind(null, !0), v;
5504
5530
  }
5505
5531
  function A(x) {
5506
- function k(K, b, v, y, E, C) {
5532
+ function D(K, b, v, y, I, C) {
5507
5533
  var z = K[b], H = oe(z);
5508
5534
  if (H !== x) {
5509
5535
  var B = W(z);
5510
5536
  return new R(
5511
- "Invalid " + y + " `" + E + "` of type " + ("`" + B + "` supplied to `" + v + "`, expected ") + ("`" + x + "`."),
5537
+ "Invalid " + y + " `" + I + "` of type " + ("`" + B + "` supplied to `" + v + "`, expected ") + ("`" + x + "`."),
5512
5538
  { expectedType: x }
5513
5539
  );
5514
5540
  }
5515
5541
  return null;
5516
5542
  }
5517
- return _(k);
5543
+ return _(D);
5518
5544
  }
5519
5545
  function h() {
5520
5546
  return _(s);
5521
5547
  }
5522
5548
  function m(x) {
5523
- function k(K, b, v, y, E) {
5549
+ function D(K, b, v, y, I) {
5524
5550
  if (typeof x != "function")
5525
- return new R("Property `" + E + "` of component `" + v + "` has invalid PropType notation inside arrayOf.");
5551
+ return new R("Property `" + I + "` of component `" + v + "` has invalid PropType notation inside arrayOf.");
5526
5552
  var C = K[b];
5527
5553
  if (!Array.isArray(C)) {
5528
5554
  var z = oe(C);
5529
- return new R("Invalid " + y + " `" + E + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected an array."));
5555
+ return new R("Invalid " + y + " `" + I + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected an array."));
5530
5556
  }
5531
5557
  for (var H = 0; H < C.length; H++) {
5532
- var B = x(C, H, v, y, E + "[" + H + "]", n);
5558
+ var B = x(C, H, v, y, I + "[" + H + "]", n);
5533
5559
  if (B instanceof Error)
5534
5560
  return B;
5535
5561
  }
5536
5562
  return null;
5537
5563
  }
5538
- return _(k);
5564
+ return _(D);
5539
5565
  }
5540
5566
  function g() {
5541
- function x(k, K, b, v, y) {
5542
- var E = k[K];
5543
- if (!a(E)) {
5544
- var C = oe(E);
5567
+ function x(D, K, b, v, y) {
5568
+ var I = D[K];
5569
+ if (!a(I)) {
5570
+ var C = oe(I);
5545
5571
  return new R("Invalid " + v + " `" + y + "` of type " + ("`" + C + "` supplied to `" + b + "`, expected a single ReactElement."));
5546
5572
  }
5547
5573
  return null;
@@ -5549,10 +5575,10 @@ function gs() {
5549
5575
  return _(x);
5550
5576
  }
5551
5577
  function f() {
5552
- function x(k, K, b, v, y) {
5553
- var E = k[K];
5554
- if (!e.isValidElementType(E)) {
5555
- var C = oe(E);
5578
+ function x(D, K, b, v, y) {
5579
+ var I = D[K];
5580
+ if (!e.isValidElementType(I)) {
5581
+ var C = oe(I);
5556
5582
  return new R("Invalid " + v + " `" + y + "` of type " + ("`" + C + "` supplied to `" + b + "`, expected a single ReactElement type."));
5557
5583
  }
5558
5584
  return null;
@@ -5560,21 +5586,21 @@ function gs() {
5560
5586
  return _(x);
5561
5587
  }
5562
5588
  function w(x) {
5563
- function k(K, b, v, y, E) {
5589
+ function D(K, b, v, y, I) {
5564
5590
  if (!(K[b] instanceof x)) {
5565
- var C = x.name || I, z = ge(K[b]);
5566
- return new R("Invalid " + y + " `" + E + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected ") + ("instance of `" + C + "`."));
5591
+ var C = x.name || E, z = ge(K[b]);
5592
+ return new R("Invalid " + y + " `" + I + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected ") + ("instance of `" + C + "`."));
5567
5593
  }
5568
5594
  return null;
5569
5595
  }
5570
- return _(k);
5596
+ return _(D);
5571
5597
  }
5572
- function D(x) {
5598
+ function k(x) {
5573
5599
  if (!Array.isArray(x))
5574
5600
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? r(
5575
5601
  "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])."
5576
5602
  ) : r("Invalid argument supplied to oneOf, expected an array.")), s;
5577
- function k(K, b, v, y, E) {
5603
+ function D(K, b, v, y, I) {
5578
5604
  for (var C = K[b], z = 0; z < x.length; z++)
5579
5605
  if (T(C, x[z]))
5580
5606
  return null;
@@ -5582,99 +5608,99 @@ function gs() {
5582
5608
  var de = W(S);
5583
5609
  return de === "symbol" ? String(S) : S;
5584
5610
  });
5585
- return new R("Invalid " + y + " `" + E + "` of value `" + String(C) + "` " + ("supplied to `" + v + "`, expected one of " + H + "."));
5611
+ return new R("Invalid " + y + " `" + I + "` of value `" + String(C) + "` " + ("supplied to `" + v + "`, expected one of " + H + "."));
5586
5612
  }
5587
- return _(k);
5613
+ return _(D);
5588
5614
  }
5589
5615
  function P(x) {
5590
- function k(K, b, v, y, E) {
5616
+ function D(K, b, v, y, I) {
5591
5617
  if (typeof x != "function")
5592
- return new R("Property `" + E + "` of component `" + v + "` has invalid PropType notation inside objectOf.");
5618
+ return new R("Property `" + I + "` of component `" + v + "` has invalid PropType notation inside objectOf.");
5593
5619
  var C = K[b], z = oe(C);
5594
5620
  if (z !== "object")
5595
- return new R("Invalid " + y + " `" + E + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected an object."));
5621
+ return new R("Invalid " + y + " `" + I + "` of type " + ("`" + z + "` supplied to `" + v + "`, expected an object."));
5596
5622
  for (var H in C)
5597
5623
  if (i(C, H)) {
5598
- var B = x(C, H, v, y, E + "." + H, n);
5624
+ var B = x(C, H, v, y, I + "." + H, n);
5599
5625
  if (B instanceof Error)
5600
5626
  return B;
5601
5627
  }
5602
5628
  return null;
5603
5629
  }
5604
- return _(k);
5630
+ return _(D);
5605
5631
  }
5606
5632
  function q(x) {
5607
5633
  if (!Array.isArray(x))
5608
5634
  return process.env.NODE_ENV !== "production" && r("Invalid argument supplied to oneOfType, expected an instance of array."), s;
5609
- for (var k = 0; k < x.length; k++) {
5610
- var K = x[k];
5635
+ for (var D = 0; D < x.length; D++) {
5636
+ var K = x[D];
5611
5637
  if (typeof K != "function")
5612
5638
  return r(
5613
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(K) + " at index " + k + "."
5639
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + pe(K) + " at index " + D + "."
5614
5640
  ), s;
5615
5641
  }
5616
- function b(v, y, E, C, z) {
5642
+ function b(v, y, I, C, z) {
5617
5643
  for (var H = [], B = 0; B < x.length; B++) {
5618
- var Q = x[B], S = Q(v, y, E, C, z, n);
5644
+ var Q = x[B], S = Q(v, y, I, C, z, n);
5619
5645
  if (S == null)
5620
5646
  return null;
5621
5647
  S.data && i(S.data, "expectedType") && H.push(S.data.expectedType);
5622
5648
  }
5623
5649
  var de = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
5624
- return new R("Invalid " + C + " `" + z + "` supplied to " + ("`" + E + "`" + de + "."));
5650
+ return new R("Invalid " + C + " `" + z + "` supplied to " + ("`" + I + "`" + de + "."));
5625
5651
  }
5626
5652
  return _(b);
5627
5653
  }
5628
5654
  function U() {
5629
- function x(k, K, b, v, y) {
5630
- return Z(k[K]) ? null : new R("Invalid " + v + " `" + y + "` supplied to " + ("`" + b + "`, expected a ReactNode."));
5655
+ function x(D, K, b, v, y) {
5656
+ return Z(D[K]) ? null : new R("Invalid " + v + " `" + y + "` supplied to " + ("`" + b + "`, expected a ReactNode."));
5631
5657
  }
5632
5658
  return _(x);
5633
5659
  }
5634
- function G(x, k, K, b, v) {
5660
+ function G(x, D, K, b, v) {
5635
5661
  return new R(
5636
- (x || "React class") + ": " + k + " type `" + K + "." + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + v + "`."
5662
+ (x || "React class") + ": " + D + " type `" + K + "." + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + v + "`."
5637
5663
  );
5638
5664
  }
5639
5665
  function X(x) {
5640
- function k(K, b, v, y, E) {
5666
+ function D(K, b, v, y, I) {
5641
5667
  var C = K[b], z = oe(C);
5642
5668
  if (z !== "object")
5643
- return new R("Invalid " + y + " `" + E + "` of type `" + z + "` " + ("supplied to `" + v + "`, expected `object`."));
5669
+ return new R("Invalid " + y + " `" + I + "` of type `" + z + "` " + ("supplied to `" + v + "`, expected `object`."));
5644
5670
  for (var H in x) {
5645
5671
  var B = x[H];
5646
5672
  if (typeof B != "function")
5647
- return G(v, y, E, H, W(B));
5648
- var Q = B(C, H, v, y, E + "." + H, n);
5673
+ return G(v, y, I, H, W(B));
5674
+ var Q = B(C, H, v, y, I + "." + H, n);
5649
5675
  if (Q)
5650
5676
  return Q;
5651
5677
  }
5652
5678
  return null;
5653
5679
  }
5654
- return _(k);
5680
+ return _(D);
5655
5681
  }
5656
5682
  function ne(x) {
5657
- function k(K, b, v, y, E) {
5683
+ function D(K, b, v, y, I) {
5658
5684
  var C = K[b], z = oe(C);
5659
5685
  if (z !== "object")
5660
- return new R("Invalid " + y + " `" + E + "` of type `" + z + "` " + ("supplied to `" + v + "`, expected `object`."));
5686
+ return new R("Invalid " + y + " `" + I + "` of type `" + z + "` " + ("supplied to `" + v + "`, expected `object`."));
5661
5687
  var H = t({}, K[b], x);
5662
5688
  for (var B in H) {
5663
5689
  var Q = x[B];
5664
5690
  if (i(x, B) && typeof Q != "function")
5665
- return G(v, y, E, B, W(Q));
5691
+ return G(v, y, I, B, W(Q));
5666
5692
  if (!Q)
5667
5693
  return new R(
5668
- "Invalid " + y + " `" + E + "` key `" + B + "` supplied to `" + v + "`.\nBad object: " + JSON.stringify(K[b], null, " ") + `
5694
+ "Invalid " + y + " `" + I + "` key `" + B + "` supplied to `" + v + "`.\nBad object: " + JSON.stringify(K[b], null, " ") + `
5669
5695
  Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
5670
5696
  );
5671
- var S = Q(C, B, v, y, E + "." + B, n);
5697
+ var S = Q(C, B, v, y, I + "." + B, n);
5672
5698
  if (S)
5673
5699
  return S;
5674
5700
  }
5675
5701
  return null;
5676
5702
  }
5677
- return _(k);
5703
+ return _(D);
5678
5704
  }
5679
5705
  function Z(x) {
5680
5706
  switch (typeof x) {
@@ -5689,10 +5715,10 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
5689
5715
  return x.every(Z);
5690
5716
  if (x === null || a(x))
5691
5717
  return !0;
5692
- var k = p(x);
5693
- if (k) {
5694
- var K = k.call(x), b;
5695
- if (k !== x.entries) {
5718
+ var D = p(x);
5719
+ if (D) {
5720
+ var K = D.call(x), b;
5721
+ if (D !== x.entries) {
5696
5722
  for (; !(b = K.next()).done; )
5697
5723
  if (!Z(b.value))
5698
5724
  return !1;
@@ -5709,41 +5735,41 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
5709
5735
  return !1;
5710
5736
  }
5711
5737
  }
5712
- function ie(x, k) {
5713
- return x === "symbol" ? !0 : k ? k["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && k instanceof Symbol : !1;
5738
+ function ie(x, D) {
5739
+ return x === "symbol" ? !0 : D ? D["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && D instanceof Symbol : !1;
5714
5740
  }
5715
5741
  function oe(x) {
5716
- var k = typeof x;
5717
- return Array.isArray(x) ? "array" : x instanceof RegExp ? "object" : ie(k, x) ? "symbol" : k;
5742
+ var D = typeof x;
5743
+ return Array.isArray(x) ? "array" : x instanceof RegExp ? "object" : ie(D, x) ? "symbol" : D;
5718
5744
  }
5719
5745
  function W(x) {
5720
5746
  if (typeof x > "u" || x === null)
5721
5747
  return "" + x;
5722
- var k = oe(x);
5723
- if (k === "object") {
5748
+ var D = oe(x);
5749
+ if (D === "object") {
5724
5750
  if (x instanceof Date)
5725
5751
  return "date";
5726
5752
  if (x instanceof RegExp)
5727
5753
  return "regexp";
5728
5754
  }
5729
- return k;
5755
+ return D;
5730
5756
  }
5731
5757
  function pe(x) {
5732
- var k = W(x);
5733
- switch (k) {
5758
+ var D = W(x);
5759
+ switch (D) {
5734
5760
  case "array":
5735
5761
  case "object":
5736
- return "an " + k;
5762
+ return "an " + D;
5737
5763
  case "boolean":
5738
5764
  case "date":
5739
5765
  case "regexp":
5740
- return "a " + k;
5766
+ return "a " + D;
5741
5767
  default:
5742
- return k;
5768
+ return D;
5743
5769
  }
5744
5770
  }
5745
5771
  function ge(x) {
5746
- return !x.constructor || !x.constructor.name ? I : x.constructor.name;
5772
+ return !x.constructor || !x.constructor.name ? E : x.constructor.name;
5747
5773
  }
5748
5774
  return N.checkPropTypes = o, N.resetWarningCache = o.resetWarningCache, N.PropTypes = N, N;
5749
5775
  }, j0;
@@ -5761,10 +5787,10 @@ function ms() {
5761
5787
  return n.resetWarningCache = t, K0 = function() {
5762
5788
  function i(s, a, l, d, u, p) {
5763
5789
  if (p !== e) {
5764
- var I = new Error(
5790
+ var E = new Error(
5765
5791
  "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"
5766
5792
  );
5767
- throw I.name = "Invariant Violation", I;
5793
+ throw E.name = "Invariant Violation", E;
5768
5794
  }
5769
5795
  }
5770
5796
  i.isRequired = i;
@@ -5819,7 +5845,7 @@ function _s() {
5819
5845
  if (en)
5820
5846
  return ce;
5821
5847
  en = 1;
5822
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), r = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), T;
5848
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), r = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), T;
5823
5849
  T = Symbol.for("react.module.reference");
5824
5850
  function R(_) {
5825
5851
  if (typeof _ == "object" && _ !== null) {
@@ -5838,7 +5864,7 @@ function _s() {
5838
5864
  case a:
5839
5865
  case s:
5840
5866
  case l:
5841
- case I:
5867
+ case E:
5842
5868
  case p:
5843
5869
  case r:
5844
5870
  return _;
@@ -5851,7 +5877,7 @@ function _s() {
5851
5877
  }
5852
5878
  }
5853
5879
  }
5854
- return ce.ContextConsumer = s, ce.ContextProvider = r, ce.Element = e, ce.ForwardRef = l, ce.Fragment = n, ce.Lazy = I, ce.Memo = p, ce.Portal = t, ce.Profiler = o, ce.StrictMode = i, ce.Suspense = d, ce.SuspenseList = u, ce.isAsyncMode = function() {
5880
+ return ce.ContextConsumer = s, ce.ContextProvider = r, ce.Element = e, ce.ForwardRef = l, ce.Fragment = n, ce.Lazy = E, ce.Memo = p, ce.Portal = t, ce.Profiler = o, ce.StrictMode = i, ce.Suspense = d, ce.SuspenseList = u, ce.isAsyncMode = function() {
5855
5881
  return !1;
5856
5882
  }, ce.isConcurrentMode = function() {
5857
5883
  return !1;
@@ -5866,7 +5892,7 @@ function _s() {
5866
5892
  }, ce.isFragment = function(_) {
5867
5893
  return R(_) === n;
5868
5894
  }, ce.isLazy = function(_) {
5869
- return R(_) === I;
5895
+ return R(_) === E;
5870
5896
  }, ce.isMemo = function(_) {
5871
5897
  return R(_) === p;
5872
5898
  }, ce.isPortal = function(_) {
@@ -5880,7 +5906,7 @@ function _s() {
5880
5906
  }, ce.isSuspenseList = function(_) {
5881
5907
  return R(_) === u;
5882
5908
  }, ce.isValidElementType = function(_) {
5883
- return typeof _ == "string" || typeof _ == "function" || _ === n || _ === o || _ === i || _ === d || _ === u || _ === N || typeof _ == "object" && _ !== null && (_.$$typeof === I || _.$$typeof === p || _.$$typeof === r || _.$$typeof === s || _.$$typeof === l || _.$$typeof === T || _.getModuleId !== void 0);
5909
+ return typeof _ == "string" || typeof _ == "function" || _ === n || _ === o || _ === i || _ === d || _ === u || _ === N || typeof _ == "object" && _ !== null && (_.$$typeof === E || _.$$typeof === p || _.$$typeof === r || _.$$typeof === s || _.$$typeof === l || _.$$typeof === T || _.getModuleId !== void 0);
5884
5910
  }, ce.typeOf = R, ce;
5885
5911
  }
5886
5912
  var le = {};
@@ -5896,10 +5922,10 @@ var le = {};
5896
5922
  var tn;
5897
5923
  function ys() {
5898
5924
  return tn || (tn = 1, process.env.NODE_ENV !== "production" && function() {
5899
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), r = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), T = !1, R = !1, _ = !1, A = !1, h = !1, m;
5925
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), r = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), T = !1, R = !1, _ = !1, A = !1, h = !1, m;
5900
5926
  m = Symbol.for("react.module.reference");
5901
5927
  function g(L) {
5902
- return !!(typeof L == "string" || typeof L == "function" || L === n || L === o || h || L === i || L === d || L === u || A || L === N || T || R || _ || typeof L == "object" && L !== null && (L.$$typeof === I || L.$$typeof === p || L.$$typeof === r || L.$$typeof === s || L.$$typeof === l || // This needs to include all possible module reference object
5928
+ return !!(typeof L == "string" || typeof L == "function" || L === n || L === o || h || L === i || L === d || L === u || A || L === N || T || R || _ || typeof L == "object" && L !== null && (L.$$typeof === E || L.$$typeof === p || L.$$typeof === r || L.$$typeof === s || L.$$typeof === l || // This needs to include all possible module reference object
5903
5929
  // types supported by any Flight configuration anywhere since
5904
5930
  // we don't know which Flight build this will end up being used
5905
5931
  // with.
@@ -5924,7 +5950,7 @@ function ys() {
5924
5950
  case a:
5925
5951
  case s:
5926
5952
  case l:
5927
- case I:
5953
+ case E:
5928
5954
  case p:
5929
5955
  case r:
5930
5956
  return Le;
@@ -5937,11 +5963,11 @@ function ys() {
5937
5963
  }
5938
5964
  }
5939
5965
  }
5940
- var w = s, D = r, P = e, q = l, U = n, G = I, X = p, ne = t, Z = o, ie = i, oe = d, W = u, pe = !1, ge = !1;
5966
+ var w = s, k = r, P = e, q = l, U = n, G = E, X = p, ne = t, Z = o, ie = i, oe = d, W = u, pe = !1, ge = !1;
5941
5967
  function x(L) {
5942
5968
  return pe || (pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
5943
5969
  }
5944
- function k(L) {
5970
+ function D(L) {
5945
5971
  return ge || (ge = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
5946
5972
  }
5947
5973
  function K(L) {
@@ -5956,11 +5982,11 @@ function ys() {
5956
5982
  function y(L) {
5957
5983
  return f(L) === l;
5958
5984
  }
5959
- function E(L) {
5985
+ function I(L) {
5960
5986
  return f(L) === n;
5961
5987
  }
5962
5988
  function C(L) {
5963
- return f(L) === I;
5989
+ return f(L) === E;
5964
5990
  }
5965
5991
  function z(L) {
5966
5992
  return f(L) === p;
@@ -5980,7 +6006,7 @@ function ys() {
5980
6006
  function de(L) {
5981
6007
  return f(L) === u;
5982
6008
  }
5983
- le.ContextConsumer = w, le.ContextProvider = D, le.Element = P, le.ForwardRef = q, le.Fragment = U, le.Lazy = G, le.Memo = X, le.Portal = ne, le.Profiler = Z, le.StrictMode = ie, le.Suspense = oe, le.SuspenseList = W, le.isAsyncMode = x, le.isConcurrentMode = k, le.isContextConsumer = K, le.isContextProvider = b, le.isElement = v, le.isForwardRef = y, le.isFragment = E, le.isLazy = C, le.isMemo = z, le.isPortal = H, le.isProfiler = B, le.isStrictMode = Q, le.isSuspense = S, le.isSuspenseList = de, le.isValidElementType = g, le.typeOf = f;
6009
+ le.ContextConsumer = w, le.ContextProvider = k, le.Element = P, le.ForwardRef = q, le.Fragment = U, le.Lazy = G, le.Memo = X, le.Portal = ne, le.Profiler = Z, le.StrictMode = ie, le.Suspense = oe, le.SuspenseList = W, le.isAsyncMode = x, le.isConcurrentMode = D, le.isContextConsumer = K, le.isContextProvider = b, le.isElement = v, le.isForwardRef = y, le.isFragment = I, le.isLazy = C, le.isMemo = z, le.isPortal = H, le.isProfiler = B, le.isStrictMode = Q, le.isSuspense = S, le.isSuspenseList = de, le.isValidElementType = g, le.typeOf = f;
5984
6010
  }()), le;
5985
6011
  }
5986
6012
  process.env.NODE_ENV === "production" ? J0.exports = _s() : J0.exports = ys();
@@ -6012,32 +6038,32 @@ const rn = (e) => typeof e == "object" && e != null && e.nodeType === 1, on = (e
6012
6038
  const { scrollMode: s, block: a, inline: l, boundary: d, skipOverflowHiddenElements: u } = t, p = typeof d == "function" ? d : (oe) => oe !== d;
6013
6039
  if (!rn(e))
6014
6040
  throw new TypeError("Invalid target");
6015
- const I = document.scrollingElement || document.documentElement, N = [];
6041
+ const E = document.scrollingElement || document.documentElement, N = [];
6016
6042
  let T = e;
6017
6043
  for (; rn(T) && p(T); ) {
6018
- if (T = Es(T), T === I) {
6044
+ if (T = Es(T), T === E) {
6019
6045
  N.push(T);
6020
6046
  break;
6021
6047
  }
6022
6048
  T != null && T === document.body && F0(T) && !F0(document.documentElement) || T != null && F0(T, u) && N.push(T);
6023
6049
  }
6024
- const R = (i = (n = window.visualViewport) == null ? void 0 : n.width) != null ? i : innerWidth, _ = (r = (o = window.visualViewport) == null ? void 0 : o.height) != null ? r : innerHeight, { scrollX: A, scrollY: h } = window, { height: m, width: g, top: f, right: w, bottom: D, left: P } = e.getBoundingClientRect(), { top: q, right: U, bottom: G, left: X } = ((oe) => {
6050
+ const R = (i = (n = window.visualViewport) == null ? void 0 : n.width) != null ? i : innerWidth, _ = (r = (o = window.visualViewport) == null ? void 0 : o.height) != null ? r : innerHeight, { scrollX: A, scrollY: h } = window, { height: m, width: g, top: f, right: w, bottom: k, left: P } = e.getBoundingClientRect(), { top: q, right: U, bottom: G, left: X } = ((oe) => {
6025
6051
  const W = window.getComputedStyle(oe);
6026
6052
  return { top: parseFloat(W.scrollMarginTop) || 0, right: parseFloat(W.scrollMarginRight) || 0, bottom: parseFloat(W.scrollMarginBottom) || 0, left: parseFloat(W.scrollMarginLeft) || 0 };
6027
6053
  })(e);
6028
- let ne = a === "start" || a === "nearest" ? f - q : a === "end" ? D + G : f + m / 2 - q + G, Z = l === "center" ? P + g / 2 - X + U : l === "end" ? w + U : P - X;
6054
+ let ne = a === "start" || a === "nearest" ? f - q : a === "end" ? k + G : f + m / 2 - q + G, Z = l === "center" ? P + g / 2 - X + U : l === "end" ? w + U : P - X;
6029
6055
  const ie = [];
6030
6056
  for (let oe = 0; oe < N.length; oe++) {
6031
- const W = N[oe], { height: pe, width: ge, top: x, right: k, bottom: K, left: b } = W.getBoundingClientRect();
6032
- if (s === "if-needed" && f >= 0 && P >= 0 && D <= _ && w <= R && f >= x && D <= K && P >= b && w <= k)
6057
+ const W = N[oe], { height: pe, width: ge, top: x, right: D, bottom: K, left: b } = W.getBoundingClientRect();
6058
+ if (s === "if-needed" && f >= 0 && P >= 0 && k <= _ && w <= R && f >= x && k <= K && P >= b && w <= D)
6033
6059
  return ie;
6034
- const v = getComputedStyle(W), y = parseInt(v.borderLeftWidth, 10), E = parseInt(v.borderTopWidth, 10), C = parseInt(v.borderRightWidth, 10), z = parseInt(v.borderBottomWidth, 10);
6060
+ const v = getComputedStyle(W), y = parseInt(v.borderLeftWidth, 10), I = parseInt(v.borderTopWidth, 10), C = parseInt(v.borderRightWidth, 10), z = parseInt(v.borderBottomWidth, 10);
6035
6061
  let H = 0, B = 0;
6036
- const Q = "offsetWidth" in W ? W.offsetWidth - W.clientWidth - y - C : 0, S = "offsetHeight" in W ? W.offsetHeight - W.clientHeight - E - z : 0, de = "offsetWidth" in W ? W.offsetWidth === 0 ? 0 : ge / W.offsetWidth : 0, L = "offsetHeight" in W ? W.offsetHeight === 0 ? 0 : pe / W.offsetHeight : 0;
6037
- if (I === W)
6038
- H = a === "start" ? ne : a === "end" ? ne - _ : a === "nearest" ? E0(h, h + _, _, E, z, h + ne, h + ne + m, m) : ne - _ / 2, B = l === "start" ? Z : l === "center" ? Z - R / 2 : l === "end" ? Z - R : E0(A, A + R, R, y, C, A + Z, A + Z + g, g), H = Math.max(0, H + h), B = Math.max(0, B + A);
6062
+ const Q = "offsetWidth" in W ? W.offsetWidth - W.clientWidth - y - C : 0, S = "offsetHeight" in W ? W.offsetHeight - W.clientHeight - I - z : 0, de = "offsetWidth" in W ? W.offsetWidth === 0 ? 0 : ge / W.offsetWidth : 0, L = "offsetHeight" in W ? W.offsetHeight === 0 ? 0 : pe / W.offsetHeight : 0;
6063
+ if (E === W)
6064
+ H = a === "start" ? ne : a === "end" ? ne - _ : a === "nearest" ? E0(h, h + _, _, I, z, h + ne, h + ne + m, m) : ne - _ / 2, B = l === "start" ? Z : l === "center" ? Z - R / 2 : l === "end" ? Z - R : E0(A, A + R, R, y, C, A + Z, A + Z + g, g), H = Math.max(0, H + h), B = Math.max(0, B + A);
6039
6065
  else {
6040
- H = a === "start" ? ne - x - E : a === "end" ? ne - K + z + S : a === "nearest" ? E0(x, K, pe, E, z + S, ne, ne + m, m) : ne - (x + pe / 2) + S / 2, B = l === "start" ? Z - b - y : l === "center" ? Z - (b + ge / 2) + Q / 2 : l === "end" ? Z - k + C + Q : E0(b, k, ge, y, C + Q, Z, Z + g, g);
6066
+ H = a === "start" ? ne - x - I : a === "end" ? ne - K + z + S : a === "nearest" ? E0(x, K, pe, I, z + S, ne, ne + m, m) : ne - (x + pe / 2) + S / 2, B = l === "start" ? Z - b - y : l === "center" ? Z - (b + ge / 2) + Q / 2 : l === "end" ? Z - D + C + Q : E0(b, D, ge, y, C + Q, Z, Z + g, g);
6041
6067
  const { scrollLeft: ye, scrollTop: be } = W;
6042
6068
  H = L === 0 ? 0 : Math.max(0, Math.min(be + H / L, W.scrollHeight - pe / L + S)), B = de === 0 ? 0 : Math.max(0, Math.min(ye + B / de, W.scrollWidth - ge / de + Q)), ne += be - H, Z += ye - B;
6043
6069
  }
@@ -6057,9 +6083,9 @@ var c0 = function() {
6057
6083
  };
6058
6084
  var xs = 0;
6059
6085
  function an(e) {
6060
- return typeof e == "function" ? e : De;
6086
+ return typeof e == "function" ? e : ke;
6061
6087
  }
6062
- function De() {
6088
+ function ke() {
6063
6089
  }
6064
6090
  function or(e, t) {
6065
6091
  if (e) {
@@ -6187,7 +6213,7 @@ function M0(e, t, n, i) {
6187
6213
  return o && (sn(o, e, n) || i && sn(o, n.document.activeElement, n));
6188
6214
  });
6189
6215
  }
6190
- var pt = De;
6216
+ var pt = ke;
6191
6217
  process.env.NODE_ENV !== "production" && (pt = function(t, n, i) {
6192
6218
  var o = "This prop should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled Downshift element for the lifetime of the component. More info: https://github.com/downshift-js/downshift#control-props";
6193
6219
  Object.keys(t).forEach(function(r) {
@@ -6235,7 +6261,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6235
6261
  blurButton: xr,
6236
6262
  controlledPropUpdatedSelectedItem: wr,
6237
6263
  touchEnd: Nr
6238
- }), Cs = ["refKey", "ref"], Ms = ["onClick", "onPress", "onKeyDown", "onKeyUp", "onBlur"], Ts = ["onKeyDown", "onBlur", "onChange", "onInput", "onChangeText"], As = ["refKey", "ref"], Ds = ["onMouseMove", "onMouseDown", "onClick", "onPress", "index", "item"], ks = /* @__PURE__ */ function() {
6264
+ }), Cs = ["refKey", "ref"], Ms = ["onClick", "onPress", "onKeyDown", "onKeyUp", "onBlur"], Ts = ["onKeyDown", "onBlur", "onChange", "onInput", "onChangeText"], As = ["refKey", "ref"], ks = ["onMouseMove", "onMouseDown", "onClick", "onPress", "index", "item"], Ds = /* @__PURE__ */ function() {
6239
6265
  var e = /* @__PURE__ */ function(t) {
6240
6266
  ls(n, t);
6241
6267
  function n(o) {
@@ -6280,16 +6306,16 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6280
6306
  }, r.selectHighlightedItem = function(h, m) {
6281
6307
  return r.selectItemAtIndex(r.getState().highlightedIndex, h, m);
6282
6308
  }, r.internalSetState = function(h, m) {
6283
- var g, f, w = {}, D = typeof h == "function";
6284
- return !D && h.hasOwnProperty("inputValue") && r.props.onInputValueChange(h.inputValue, Y({}, r.getStateAndHelpers(), h)), r.setState(function(P) {
6309
+ var g, f, w = {}, k = typeof h == "function";
6310
+ return !k && h.hasOwnProperty("inputValue") && r.props.onInputValueChange(h.inputValue, Y({}, r.getStateAndHelpers(), h)), r.setState(function(P) {
6285
6311
  var q;
6286
6312
  P = r.getState(P);
6287
- var U = D ? h(P) : h;
6313
+ var U = k ? h(P) : h;
6288
6314
  U = r.props.stateReducer(P, U), g = U.hasOwnProperty("selectedItem");
6289
6315
  var G = {};
6290
6316
  return g && U.selectedItem !== P.selectedItem && (f = U.selectedItem), (q = U).type || (q.type = fr), Object.keys(U).forEach(function(X) {
6291
6317
  P[X] !== U[X] && (w[X] = U[X]), X !== "type" && (U[X], C0(r.props, X) || (G[X] = U[X]));
6292
- }), D && U.hasOwnProperty("inputValue") && r.props.onInputValueChange(U.inputValue, Y({}, r.getStateAndHelpers(), U)), G;
6318
+ }), k && U.hasOwnProperty("inputValue") && r.props.onInputValueChange(U.inputValue, Y({}, r.getStateAndHelpers(), U)), G;
6293
6319
  }, function() {
6294
6320
  an(m)();
6295
6321
  var P = Object.keys(w).length > 1;
@@ -6298,10 +6324,10 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6298
6324
  }, r.rootRef = function(h) {
6299
6325
  return r._rootNode = h;
6300
6326
  }, r.getRootProps = function(h, m) {
6301
- var g, f = h === void 0 ? {} : h, w = f.refKey, D = w === void 0 ? "ref" : w, P = f.ref, q = He(f, Cs), U = m === void 0 ? {} : m, G = U.suppressRefError, X = G === void 0 ? !1 : G;
6302
- r.getRootProps.called = !0, r.getRootProps.refKey = D, r.getRootProps.suppressRefError = X;
6327
+ var g, f = h === void 0 ? {} : h, w = f.refKey, k = w === void 0 ? "ref" : w, P = f.ref, q = He(f, Cs), U = m === void 0 ? {} : m, G = U.suppressRefError, X = G === void 0 ? !1 : G;
6328
+ r.getRootProps.called = !0, r.getRootProps.refKey = k, r.getRootProps.suppressRefError = X;
6303
6329
  var ne = r.getState(), Z = ne.isOpen;
6304
- return Y((g = {}, g[D] = a0(P, r.rootRef), g.role = "combobox", g["aria-expanded"] = Z, g["aria-haspopup"] = "listbox", g["aria-owns"] = Z ? r.menuId : void 0, g["aria-labelledby"] = r.labelId, g), q);
6330
+ return Y((g = {}, g[k] = a0(P, r.rootRef), g.role = "combobox", g["aria-expanded"] = Z, g["aria-haspopup"] = "listbox", g["aria-owns"] = Z ? r.menuId : void 0, g["aria-labelledby"] = r.labelId, g), q);
6305
6331
  }, r.keyDownHandlers = {
6306
6332
  ArrowDown: function(m) {
6307
6333
  var g = this;
@@ -6317,7 +6343,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6317
6343
  }, function() {
6318
6344
  var w = g.getItemCount();
6319
6345
  if (w > 0) {
6320
- var D = g.getState(), P = D.highlightedIndex, q = n0(P, 1, {
6346
+ var k = g.getState(), P = k.highlightedIndex, q = n0(P, 1, {
6321
6347
  length: w
6322
6348
  }, g.isItemDisabled, !0);
6323
6349
  g.setHighlightedIndex(q, {
@@ -6340,7 +6366,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6340
6366
  }, function() {
6341
6367
  var w = g.getItemCount();
6342
6368
  if (w > 0) {
6343
- var D = g.getState(), P = D.highlightedIndex, q = n0(P, -1, {
6369
+ var k = g.getState(), P = k.highlightedIndex, q = n0(P, -1, {
6344
6370
  length: w
6345
6371
  }, g.isItemDisabled, !0);
6346
6372
  g.setHighlightedIndex(q, {
@@ -6354,8 +6380,8 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6354
6380
  var g = this.getState(), f = g.isOpen, w = g.highlightedIndex;
6355
6381
  if (f && w != null) {
6356
6382
  m.preventDefault();
6357
- var D = this.items[w], P = this.getItemNodeFromIndex(w);
6358
- if (D == null || P && P.hasAttribute("disabled"))
6383
+ var k = this.items[w], P = this.getItemNodeFromIndex(w);
6384
+ if (k == null || P && P.hasAttribute("disabled"))
6359
6385
  return;
6360
6386
  this.selectHighlightedItem({
6361
6387
  type: hr
@@ -6384,10 +6410,10 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6384
6410
  m.preventDefault();
6385
6411
  var w = this.getItemCount();
6386
6412
  if (!(w <= 0 || !f)) {
6387
- var D = l0(0, !1, {
6413
+ var k = l0(0, !1, {
6388
6414
  length: w
6389
6415
  }, this.isItemDisabled);
6390
- this.setHighlightedIndex(D, {
6416
+ this.setHighlightedIndex(k, {
6391
6417
  type: vr
6392
6418
  });
6393
6419
  }
@@ -6399,10 +6425,10 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6399
6425
  m.preventDefault();
6400
6426
  var w = this.getItemCount();
6401
6427
  if (!(w <= 0 || !f)) {
6402
- var D = l0(w - 1, !0, {
6428
+ var k = l0(w - 1, !0, {
6403
6429
  length: w
6404
6430
  }, this.isItemDisabled);
6405
- this.setHighlightedIndex(D, {
6431
+ this.setHighlightedIndex(k, {
6406
6432
  type: br
6407
6433
  });
6408
6434
  }
@@ -6411,11 +6437,11 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6411
6437
  }), r.getToggleButtonProps = function(h) {
6412
6438
  var m = h === void 0 ? {} : h, g = m.onClick;
6413
6439
  m.onPress;
6414
- var f = m.onKeyDown, w = m.onKeyUp, D = m.onBlur, P = He(m, Ms), q = r.getState(), U = q.isOpen, G = {
6440
+ var f = m.onKeyDown, w = m.onKeyUp, k = m.onBlur, P = He(m, Ms), q = r.getState(), U = q.isOpen, G = {
6415
6441
  onClick: he(g, r.buttonHandleClick),
6416
6442
  onKeyDown: he(f, r.buttonHandleKeyDown),
6417
6443
  onKeyUp: he(w, r.buttonHandleKeyUp),
6418
- onBlur: he(D, r.buttonHandleBlur)
6444
+ onBlur: he(k, r.buttonHandleBlur)
6419
6445
  }, X = P.disabled ? {} : G;
6420
6446
  return Y({
6421
6447
  type: "button",
@@ -6457,14 +6483,14 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6457
6483
  id: r.labelId
6458
6484
  }, h);
6459
6485
  }, r.getInputProps = function(h) {
6460
- var m = h === void 0 ? {} : h, g = m.onKeyDown, f = m.onBlur, w = m.onChange, D = m.onInput;
6486
+ var m = h === void 0 ? {} : h, g = m.onKeyDown, f = m.onBlur, w = m.onChange, k = m.onInput;
6461
6487
  m.onChangeText;
6462
6488
  var P = He(m, Ts), q, U = {};
6463
6489
  q = "onChange";
6464
6490
  var G = r.getState(), X = G.inputValue, ne = G.isOpen, Z = G.highlightedIndex;
6465
6491
  if (!P.disabled) {
6466
6492
  var ie;
6467
- U = (ie = {}, ie[q] = he(w, D, r.inputHandleChange), ie.onKeyDown = he(g, r.inputHandleKeyDown), ie.onBlur = he(f, r.inputHandleBlur), ie);
6493
+ U = (ie = {}, ie[q] = he(w, k, r.inputHandleChange), ie.onKeyDown = he(g, r.inputHandleKeyDown), ie.onBlur = he(f, r.inputHandleBlur), ie);
6468
6494
  }
6469
6495
  return Y({
6470
6496
  "aria-autocomplete": "list",
@@ -6500,17 +6526,17 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6500
6526
  }, r.menuRef = function(h) {
6501
6527
  r._menuNode = h;
6502
6528
  }, r.getMenuProps = function(h, m) {
6503
- var g, f = h === void 0 ? {} : h, w = f.refKey, D = w === void 0 ? "ref" : w, P = f.ref, q = He(f, As), U = m === void 0 ? {} : m, G = U.suppressRefError, X = G === void 0 ? !1 : G;
6504
- return r.getMenuProps.called = !0, r.getMenuProps.refKey = D, r.getMenuProps.suppressRefError = X, Y((g = {}, g[D] = a0(P, r.menuRef), g.role = "listbox", g["aria-labelledby"] = q && q["aria-label"] ? void 0 : r.labelId, g.id = r.menuId, g), q);
6529
+ var g, f = h === void 0 ? {} : h, w = f.refKey, k = w === void 0 ? "ref" : w, P = f.ref, q = He(f, As), U = m === void 0 ? {} : m, G = U.suppressRefError, X = G === void 0 ? !1 : G;
6530
+ return r.getMenuProps.called = !0, r.getMenuProps.refKey = k, r.getMenuProps.suppressRefError = X, Y((g = {}, g[k] = a0(P, r.menuRef), g.role = "listbox", g["aria-labelledby"] = q && q["aria-label"] ? void 0 : r.labelId, g.id = r.menuId, g), q);
6505
6531
  }, r.getItemProps = function(h) {
6506
- var m, g = h === void 0 ? {} : h, f = g.onMouseMove, w = g.onMouseDown, D = g.onClick;
6532
+ var m, g = h === void 0 ? {} : h, f = g.onMouseMove, w = g.onMouseDown, k = g.onClick;
6507
6533
  g.onPress;
6508
6534
  var P = g.index, q = g.item, U = q === void 0 ? process.env.NODE_ENV === "production" ? (
6509
6535
  /* istanbul ignore next */
6510
6536
  void 0
6511
- ) : ws("getItemProps", "item") : q, G = He(g, Ds);
6537
+ ) : ws("getItemProps", "item") : q, G = He(g, ks);
6512
6538
  P === void 0 ? (r.items.push(U), P = r.items.indexOf(U)) : r.items[P] = U;
6513
- var X = "onClick", ne = D, Z = (m = {
6539
+ var X = "onClick", ne = k, Z = (m = {
6514
6540
  // onMouseMove is used over onMouseEnter here. onMouseMove
6515
6541
  // is only triggered on actual mouse movement while onMouseEnter
6516
6542
  // can fire on DOM changes, interrupting keyboard navigation
@@ -6579,9 +6605,9 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6579
6605
  r.previousResultCount = f, dr(w, r.props.environment.document);
6580
6606
  }
6581
6607
  }, 200);
6582
- var s = r.props, a = s.defaultHighlightedIndex, l = s.initialHighlightedIndex, d = l === void 0 ? a : l, u = s.defaultIsOpen, p = s.initialIsOpen, I = p === void 0 ? u : p, N = s.initialInputValue, T = N === void 0 ? "" : N, R = s.initialSelectedItem, _ = R === void 0 ? null : R, A = r.getState({
6608
+ var s = r.props, a = s.defaultHighlightedIndex, l = s.initialHighlightedIndex, d = l === void 0 ? a : l, u = s.defaultIsOpen, p = s.initialIsOpen, E = p === void 0 ? u : p, N = s.initialInputValue, T = N === void 0 ? "" : N, R = s.initialSelectedItem, _ = R === void 0 ? null : R, A = r.getState({
6583
6609
  highlightedIndex: d,
6584
- isOpen: I,
6610
+ isOpen: E,
6585
6611
  inputValue: T,
6586
6612
  selectedItem: _
6587
6613
  });
@@ -6613,10 +6639,10 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6613
6639
  this.setHighlightedIndex(u, s);
6614
6640
  }
6615
6641
  }, i.getStateAndHelpers = function() {
6616
- var r = this.getState(), s = r.highlightedIndex, a = r.inputValue, l = r.selectedItem, d = r.isOpen, u = this.props.itemToString, p = this.id, I = this.getRootProps, N = this.getToggleButtonProps, T = this.getLabelProps, R = this.getMenuProps, _ = this.getInputProps, A = this.getItemProps, h = this.openMenu, m = this.closeMenu, g = this.toggleMenu, f = this.selectItem, w = this.selectItemAtIndex, D = this.selectHighlightedItem, P = this.setHighlightedIndex, q = this.clearSelection, U = this.clearItems, G = this.reset, X = this.setItemCount, ne = this.unsetItemCount, Z = this.internalSetState;
6642
+ var r = this.getState(), s = r.highlightedIndex, a = r.inputValue, l = r.selectedItem, d = r.isOpen, u = this.props.itemToString, p = this.id, E = this.getRootProps, N = this.getToggleButtonProps, T = this.getLabelProps, R = this.getMenuProps, _ = this.getInputProps, A = this.getItemProps, h = this.openMenu, m = this.closeMenu, g = this.toggleMenu, f = this.selectItem, w = this.selectItemAtIndex, k = this.selectHighlightedItem, P = this.setHighlightedIndex, q = this.clearSelection, U = this.clearItems, G = this.reset, X = this.setItemCount, ne = this.unsetItemCount, Z = this.internalSetState;
6617
6643
  return {
6618
6644
  // prop getters
6619
- getRootProps: I,
6645
+ getRootProps: E,
6620
6646
  getToggleButtonProps: N,
6621
6647
  getLabelProps: T,
6622
6648
  getMenuProps: R,
@@ -6629,7 +6655,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6629
6655
  toggleMenu: g,
6630
6656
  selectItem: f,
6631
6657
  selectItemAtIndex: w,
6632
- selectHighlightedItem: D,
6658
+ selectHighlightedItem: k,
6633
6659
  setHighlightedIndex: P,
6634
6660
  clearSelection: q,
6635
6661
  clearItems: U,
@@ -6680,8 +6706,8 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6680
6706
  };
6681
6707
  }
6682
6708
  }, i.shouldScroll = function(r, s) {
6683
- var a = this.props.highlightedIndex === void 0 ? this.getState() : this.props, l = a.highlightedIndex, d = s.highlightedIndex === void 0 ? r : s, u = d.highlightedIndex, p = l && this.getState().isOpen && !r.isOpen, I = l !== u;
6684
- return p || I;
6709
+ var a = this.props.highlightedIndex === void 0 ? this.getState() : this.props, l = a.highlightedIndex, d = s.highlightedIndex === void 0 ? r : s, u = d.highlightedIndex, p = l && this.getState().isOpen && !r.isOpen, E = l !== u;
6710
+ return p || E;
6685
6711
  }, i.componentDidUpdate = function(r, s) {
6686
6712
  process.env.NODE_ENV !== "production" && (pt(this.state, r, this.props), this.getMenuProps.called && !this.getMenuProps.suppressRefError && ln(this._menuNode, this.getMenuProps)), C0(this.props, "selectedItem") && this.props.selectedItemChanged(r.selectedItem, this.props.selectedItem) && this.internalSetState({
6687
6713
  type: wr,
@@ -6690,7 +6716,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6690
6716
  }, i.componentWillUnmount = function() {
6691
6717
  this.cleanup();
6692
6718
  }, i.render = function() {
6693
- var r = cn(this.props.children, De);
6719
+ var r = cn(this.props.children, ke);
6694
6720
  this.clearItems(), this.getRootProps.called = !1, this.getRootProps.refKey = void 0, this.getRootProps.suppressRefError = void 0, this.getMenuProps.called = !1, this.getMenuProps.refKey = void 0, this.getMenuProps.suppressRefError = void 0, this.getLabelProps.called = !1, this.getInputProps.called = !1;
6695
6721
  var s = cn(r(this.getStateAndHelpers()));
6696
6722
  if (!s)
@@ -6710,12 +6736,12 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6710
6736
  itemToString: function(n) {
6711
6737
  return n == null ? "" : (process.env.NODE_ENV !== "production" && Ss(n) && !n.hasOwnProperty("toString") && console.warn("downshift: An object was passed to the default implementation of `itemToString`. You should probably provide your own `itemToString` implementation. Please refer to the `itemToString` API documentation.", "The object that was passed:", n), String(n));
6712
6738
  },
6713
- onStateChange: De,
6714
- onInputValueChange: De,
6715
- onUserAction: De,
6716
- onChange: De,
6717
- onSelect: De,
6718
- onOuterClick: De,
6739
+ onStateChange: ke,
6740
+ onInputValueChange: ke,
6741
+ onUserAction: ke,
6742
+ onChange: ke,
6743
+ onSelect: ke,
6744
+ onOuterClick: ke,
6719
6745
  selectedItemChanged: function(n, i) {
6720
6746
  return n !== i;
6721
6747
  },
@@ -6730,7 +6756,7 @@ var fr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
6730
6756
  scrollIntoView: or
6731
6757
  }, e.stateChangeTypes = Rs, e;
6732
6758
  }();
6733
- process.env.NODE_ENV !== "production" && (ks.propTypes = {
6759
+ process.env.NODE_ENV !== "production" && (Ds.propTypes = {
6734
6760
  children: O.func,
6735
6761
  defaultHighlightedIndex: O.number,
6736
6762
  defaultIsOpen: O.bool,
@@ -6813,7 +6839,7 @@ function Hs(e) {
6813
6839
  }
6814
6840
  var zs = ft(function(e, t) {
6815
6841
  dr(e(), t);
6816
- }, 200), Us = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Yr : ke, js = "useId" in _e ? function(t) {
6842
+ }, 200), Us = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Yr : De, js = "useId" in _e ? function(t) {
6817
6843
  var n = t.id, i = t.labelId, o = t.menuId, r = t.getItemId, s = t.toggleButtonId, a = t.inputId, l = "downshift-" + _e.useId();
6818
6844
  n || (n = l);
6819
6845
  var d = Ee({
@@ -6859,21 +6885,21 @@ function Or(e) {
6859
6885
  return t.current = e, t;
6860
6886
  }
6861
6887
  function qs(e, t, n, i) {
6862
- var o = Ee(), r = Ee(), s = xe(function(N, T) {
6888
+ var o = Ee(), r = Ee(), s = we(function(N, T) {
6863
6889
  r.current = T, N = R0(N, T.props);
6864
6890
  var R = e(N, T), _ = T.props.stateReducer(N, Y({}, T, {
6865
6891
  changes: R
6866
6892
  }));
6867
6893
  return _;
6868
- }, [e]), a = Xr(s, t, n), l = a[0], d = a[1], u = Or(t), p = xe(function(N) {
6894
+ }, [e]), a = Xr(s, t, n), l = a[0], d = a[1], u = Or(t), p = we(function(N) {
6869
6895
  return d(Y({
6870
6896
  props: u.current
6871
6897
  }, N));
6872
- }, [u]), I = r.current;
6873
- return ke(function() {
6874
- var N = I && o.current && !i(o.current, l);
6875
- N && $s(I, R0(o.current, I.props), l), o.current = l;
6876
- }, [l, I, i]), [l, p];
6898
+ }, [u]), E = r.current;
6899
+ return De(function() {
6900
+ var N = E && o.current && !i(o.current, l);
6901
+ N && $s(E, R0(o.current, E.props), l), o.current = l;
6902
+ }, [l, E, i]), [l, p];
6877
6903
  }
6878
6904
  var d0 = {
6879
6905
  itemToString: Fs,
@@ -6916,21 +6942,21 @@ function Gs(e, t, n, i) {
6916
6942
  isMouseDown: !1,
6917
6943
  isTouchMove: !1
6918
6944
  });
6919
- return ke(function() {
6945
+ return De(function() {
6920
6946
  if (n) {
6921
6947
  var r = function() {
6922
6948
  o.current.isMouseDown = !0;
6923
6949
  }, s = function(p) {
6924
- o.current.isMouseDown = !1, e && !M0(p.target, t.map(function(I) {
6925
- return I.current;
6950
+ o.current.isMouseDown = !1, e && !M0(p.target, t.map(function(E) {
6951
+ return E.current;
6926
6952
  }), n) && i();
6927
6953
  }, a = function() {
6928
6954
  o.current.isTouchMove = !1;
6929
6955
  }, l = function() {
6930
6956
  o.current.isTouchMove = !0;
6931
6957
  }, d = function(p) {
6932
- e && !o.current.isTouchMove && !M0(p.target, t.map(function(I) {
6933
- return I.current;
6958
+ e && !o.current.isTouchMove && !M0(p.target, t.map(function(E) {
6959
+ return E.current;
6934
6960
  }), n, !1) && i();
6935
6961
  };
6936
6962
  return n.addEventListener("mousedown", r), n.addEventListener("mouseup", s), n.addEventListener("touchstart", a), n.addEventListener("touchmove", l), n.addEventListener("touchend", d), function() {
@@ -6940,7 +6966,7 @@ function Gs(e, t, n, i) {
6940
6966
  }, [e, n]), o;
6941
6967
  }
6942
6968
  var Rr = function() {
6943
- return De;
6969
+ return ke;
6944
6970
  };
6945
6971
  process.env.NODE_ENV !== "production" && (Rr = function() {
6946
6972
  for (var t = Ee(!0), n = arguments.length, i = new Array(n), o = 0; o < n; o++)
@@ -6948,7 +6974,7 @@ process.env.NODE_ENV !== "production" && (Rr = function() {
6948
6974
  var r = Ee(i.reduce(function(a, l) {
6949
6975
  return a[l] = {}, a;
6950
6976
  }, {}));
6951
- ke(function() {
6977
+ De(function() {
6952
6978
  Object.keys(r.current).forEach(function(a) {
6953
6979
  var l = r.current[a];
6954
6980
  if (t.current && !Object.keys(l).length) {
@@ -6959,7 +6985,7 @@ process.env.NODE_ENV !== "production" && (Rr = function() {
6959
6985
  (!p || !p.current) && !d && console.error('downshift: The ref prop "' + u + '" from ' + a + " was not applied correctly on your element.");
6960
6986
  }), t.current = !1;
6961
6987
  });
6962
- var s = xe(function(a, l, d, u) {
6988
+ var s = we(function(a, l, d, u) {
6963
6989
  r.current[a] = {
6964
6990
  suppressRefError: l,
6965
6991
  refKey: d,
@@ -6970,7 +6996,7 @@ process.env.NODE_ENV !== "production" && (Rr = function() {
6970
6996
  });
6971
6997
  function un(e, t, n) {
6972
6998
  var i = n.isInitialMount, o = n.highlightedIndex, r = n.items, s = n.environment, a = He(n, Ls);
6973
- ke(function() {
6999
+ De(function() {
6974
7000
  i || !(s != null && s.document) || zs(function() {
6975
7001
  return e(Y({
6976
7002
  highlightedIndex: o,
@@ -6986,10 +7012,10 @@ function Ys(e) {
6986
7012
  t < 0 || !n || !Object.keys(i.current).length || (a.current === !1 ? a.current = !0 : s(o(t), r));
6987
7013
  }, [t]), a;
6988
7014
  }
6989
- var Cr = De;
7015
+ var Cr = ke;
6990
7016
  process.env.NODE_ENV !== "production" && (Cr = function(t) {
6991
7017
  var n = t.isInitialMount, i = t.props, o = t.state, r = Ee(i);
6992
- ke(function() {
7018
+ De(function() {
6993
7019
  n || (pt(o, r.current, i), r.current = i);
6994
7020
  }, [o, i, n]);
6995
7021
  });
@@ -7132,7 +7158,7 @@ process.env.NODE_ENV;
7132
7158
  process.env.NODE_ENV;
7133
7159
  process.env.NODE_ENV;
7134
7160
  process.env.NODE_ENV;
7135
- var mt = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_down__" : 0, ht = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_up__" : 1, vt = process.env.NODE_ENV !== "production" ? "__input_keydown_escape__" : 2, bt = process.env.NODE_ENV !== "production" ? "__input_keydown_home__" : 3, _t = process.env.NODE_ENV !== "production" ? "__input_keydown_end__" : 4, yt = process.env.NODE_ENV !== "production" ? "__input_keydown_page_up__" : 5, Et = process.env.NODE_ENV !== "production" ? "__input_keydown_page_down__" : 6, It = process.env.NODE_ENV !== "production" ? "__input_keydown_enter__" : 7, xt = process.env.NODE_ENV !== "production" ? "__input_change__" : 8, T0 = process.env.NODE_ENV !== "production" ? "__input_blur__" : 9, wt = process.env.NODE_ENV !== "production" ? "__input_click__" : 10, Ar = process.env.NODE_ENV !== "production" ? "__menu_mouse_leave__" : 11, Dr = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 12, Nt = process.env.NODE_ENV !== "production" ? "__item_click__" : 13, kr = process.env.NODE_ENV !== "production" ? "__togglebutton_click__" : 14, Pr = process.env.NODE_ENV !== "production" ? "__function_toggle_menu__" : 15, Lr = process.env.NODE_ENV !== "production" ? "__function_open_menu__" : 16, $r = process.env.NODE_ENV !== "production" ? "__function_close_menu__" : 17, Br = process.env.NODE_ENV !== "production" ? "__function_set_highlighted_index__" : 18, St = process.env.NODE_ENV !== "production" ? "__function_select_item__" : 19, Vr = process.env.NODE_ENV !== "production" ? "__function_set_input_value__" : 20, Hr = process.env.NODE_ENV !== "production" ? "__function_reset__" : 21, Ot = process.env.NODE_ENV !== "production" ? "__controlled_prop_updated_selected_item__" : 22, zr = /* @__PURE__ */ Object.freeze({
7161
+ var mt = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_down__" : 0, ht = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_up__" : 1, vt = process.env.NODE_ENV !== "production" ? "__input_keydown_escape__" : 2, bt = process.env.NODE_ENV !== "production" ? "__input_keydown_home__" : 3, _t = process.env.NODE_ENV !== "production" ? "__input_keydown_end__" : 4, yt = process.env.NODE_ENV !== "production" ? "__input_keydown_page_up__" : 5, Et = process.env.NODE_ENV !== "production" ? "__input_keydown_page_down__" : 6, It = process.env.NODE_ENV !== "production" ? "__input_keydown_enter__" : 7, xt = process.env.NODE_ENV !== "production" ? "__input_change__" : 8, T0 = process.env.NODE_ENV !== "production" ? "__input_blur__" : 9, wt = process.env.NODE_ENV !== "production" ? "__input_click__" : 10, Ar = process.env.NODE_ENV !== "production" ? "__menu_mouse_leave__" : 11, kr = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 12, Nt = process.env.NODE_ENV !== "production" ? "__item_click__" : 13, Dr = process.env.NODE_ENV !== "production" ? "__togglebutton_click__" : 14, Pr = process.env.NODE_ENV !== "production" ? "__function_toggle_menu__" : 15, Lr = process.env.NODE_ENV !== "production" ? "__function_open_menu__" : 16, $r = process.env.NODE_ENV !== "production" ? "__function_close_menu__" : 17, Br = process.env.NODE_ENV !== "production" ? "__function_set_highlighted_index__" : 18, St = process.env.NODE_ENV !== "production" ? "__function_select_item__" : 19, Vr = process.env.NODE_ENV !== "production" ? "__function_set_input_value__" : 20, Hr = process.env.NODE_ENV !== "production" ? "__function_reset__" : 21, Ot = process.env.NODE_ENV !== "production" ? "__controlled_prop_updated_selected_item__" : 22, zr = /* @__PURE__ */ Object.freeze({
7136
7162
  __proto__: null,
7137
7163
  InputKeyDownArrowDown: mt,
7138
7164
  InputKeyDownArrowUp: ht,
@@ -7146,9 +7172,9 @@ var mt = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_down__"
7146
7172
  InputBlur: T0,
7147
7173
  InputClick: wt,
7148
7174
  MenuMouseLeave: Ar,
7149
- ItemMouseMove: Dr,
7175
+ ItemMouseMove: kr,
7150
7176
  ItemClick: Nt,
7151
- ToggleButtonClick: kr,
7177
+ ToggleButtonClick: Dr,
7152
7178
  FunctionToggleMenu: Pr,
7153
7179
  FunctionOpenMenu: Lr,
7154
7180
  FunctionCloseMenu: $r,
@@ -7177,14 +7203,14 @@ var ec = Y({}, Tr, {
7177
7203
  });
7178
7204
  function tc(e, t, n, i) {
7179
7205
  var o = Ee(), r = qs(e, t, n, i), s = r[0], a = r[1];
7180
- return ke(function() {
7206
+ return De(function() {
7181
7207
  C0(t, "selectedItem") && (t.selectedItemChanged(o.current, t.selectedItem) && a({
7182
7208
  type: Ot,
7183
7209
  inputValue: t.itemToString(t.selectedItem)
7184
7210
  }), o.current = s.selectedItem === o.current ? t.selectedItem : s.selectedItem);
7185
7211
  }, [s.selectedItem, t.selectedItem]), [R0(s, t), a];
7186
7212
  }
7187
- var Ur = De;
7213
+ var Ur = ke;
7188
7214
  process.env.NODE_ENV !== "production" && (Ur = function(t, n) {
7189
7215
  O.checkPropTypes(ec, t, "prop", n.name);
7190
7216
  });
@@ -7298,13 +7324,13 @@ var ic = ["onMouseLeave", "refKey", "ref"], oc = ["item", "index", "refKey", "re
7298
7324
  Rt.stateChangeTypes = zr;
7299
7325
  function Rt(e) {
7300
7326
  e === void 0 && (e = {}), Ur(e, Rt);
7301
- var t = Y({}, nc, e), n = t.items, i = t.scrollIntoView, o = t.environment, r = t.getA11yStatusMessage, s = t.getA11ySelectionMessage, a = t.itemToString, l = tc(rc, t, Js, Xs), d = l[0], u = l[1], p = d.isOpen, I = d.highlightedIndex, N = d.selectedItem, T = d.inputValue, R = Ee(null), _ = Ee({}), A = Ee(null), h = Ee(null), m = Ee(!0), g = js(t), f = Ee(), w = Or({
7327
+ var t = Y({}, nc, e), n = t.items, i = t.scrollIntoView, o = t.environment, r = t.getA11yStatusMessage, s = t.getA11ySelectionMessage, a = t.itemToString, l = tc(rc, t, Js, Xs), d = l[0], u = l[1], p = d.isOpen, E = d.highlightedIndex, N = d.selectedItem, T = d.inputValue, R = Ee(null), _ = Ee({}), A = Ee(null), h = Ee(null), m = Ee(!0), g = js(t), f = Ee(), w = Or({
7302
7328
  state: d,
7303
7329
  props: t
7304
- }), D = xe(function(v) {
7330
+ }), k = we(function(v) {
7305
7331
  return _.current[g.getItemId(v)];
7306
7332
  }, [g]);
7307
- un(r, [p, I, T, n], Y({
7333
+ un(r, [p, E, T, n], Y({
7308
7334
  isInitialMount: m.current,
7309
7335
  previousResultCount: f.current,
7310
7336
  items: n,
@@ -7319,20 +7345,20 @@ function Rt(e) {
7319
7345
  }, d));
7320
7346
  var P = Ys({
7321
7347
  menuElement: R.current,
7322
- highlightedIndex: I,
7348
+ highlightedIndex: E,
7323
7349
  isOpen: p,
7324
7350
  itemRefs: _,
7325
7351
  scrollIntoView: i,
7326
- getItemNodeFromIndex: D
7352
+ getItemNodeFromIndex: k
7327
7353
  });
7328
7354
  Cr({
7329
7355
  isInitialMount: m.current,
7330
7356
  props: t,
7331
7357
  state: d
7332
- }), ke(function() {
7358
+ }), De(function() {
7333
7359
  var v = u0(t, "isOpen");
7334
7360
  v && A.current && A.current.focus();
7335
- }, []), ke(function() {
7361
+ }, []), De(function() {
7336
7362
  m.current || (f.current = n.length);
7337
7363
  });
7338
7364
  var q = Gs(p, [A, R, h], o, function() {
@@ -7341,13 +7367,13 @@ function Rt(e) {
7341
7367
  selectItem: !1
7342
7368
  });
7343
7369
  }), U = Rr("getInputProps", "getMenuProps");
7344
- ke(function() {
7370
+ De(function() {
7345
7371
  return m.current = !1, function() {
7346
7372
  m.current = !0;
7347
7373
  };
7348
- }, []), ke(function() {
7374
+ }, []), De(function() {
7349
7375
  p || (_.current = {});
7350
- }, [p]), ke(function() {
7376
+ }, [p]), De(function() {
7351
7377
  var v;
7352
7378
  !p || !(o != null && o.document) || !(A != null && (v = A.current) != null && v.focus) || o.document.activeElement !== A.current && A.current.focus();
7353
7379
  }, [p, o]);
@@ -7376,14 +7402,14 @@ function Rt(e) {
7376
7402
  }));
7377
7403
  },
7378
7404
  Escape: function(y) {
7379
- var E = w.current.state;
7380
- (E.isOpen || E.inputValue || E.selectedItem || E.highlightedIndex > -1) && (y.preventDefault(), u({
7405
+ var I = w.current.state;
7406
+ (I.isOpen || I.inputValue || I.selectedItem || I.highlightedIndex > -1) && (y.preventDefault(), u({
7381
7407
  type: vt
7382
7408
  }));
7383
7409
  },
7384
7410
  Enter: function(y) {
7385
- var E = w.current.state;
7386
- !E.isOpen || y.which === 229 || (y.preventDefault(), u({
7411
+ var I = w.current.state;
7412
+ !I.isOpen || y.which === 229 || (y.preventDefault(), u({
7387
7413
  type: It
7388
7414
  }));
7389
7415
  },
@@ -7398,28 +7424,28 @@ function Rt(e) {
7398
7424
  }));
7399
7425
  }
7400
7426
  };
7401
- }, [u, w]), X = xe(function(v) {
7427
+ }, [u, w]), X = we(function(v) {
7402
7428
  return Y({
7403
7429
  id: g.labelId,
7404
7430
  htmlFor: g.inputId
7405
7431
  }, v);
7406
- }, [g]), ne = xe(function(v, y) {
7407
- var E, C = v === void 0 ? {} : v, z = C.onMouseLeave, H = C.refKey, B = H === void 0 ? "ref" : H, Q = C.ref, S = He(C, ic), de = y === void 0 ? {} : y, L = de.suppressRefError, ye = L === void 0 ? !1 : L;
7408
- return U("getMenuProps", ye, B, R), Y((E = {}, E[B] = a0(Q, function(be) {
7432
+ }, [g]), ne = we(function(v, y) {
7433
+ var I, C = v === void 0 ? {} : v, z = C.onMouseLeave, H = C.refKey, B = H === void 0 ? "ref" : H, Q = C.ref, S = He(C, ic), de = y === void 0 ? {} : y, L = de.suppressRefError, ye = L === void 0 ? !1 : L;
7434
+ return U("getMenuProps", ye, B, R), Y((I = {}, I[B] = a0(Q, function(be) {
7409
7435
  R.current = be;
7410
- }), E.id = g.menuId, E.role = "listbox", E["aria-labelledby"] = S && S["aria-label"] ? void 0 : "" + g.labelId, E.onMouseLeave = he(z, function() {
7436
+ }), I.id = g.menuId, I.role = "listbox", I["aria-labelledby"] = S && S["aria-label"] ? void 0 : "" + g.labelId, I.onMouseLeave = he(z, function() {
7411
7437
  u({
7412
7438
  type: Ar
7413
7439
  });
7414
- }), E), S);
7415
- }, [u, U, g]), Z = xe(function(v) {
7416
- var y, E, C = v === void 0 ? {} : v, z = C.item, H = C.index, B = C.refKey, Q = B === void 0 ? "ref" : B, S = C.ref, de = C.onMouseMove, L = C.onMouseDown, ye = C.onClick;
7440
+ }), I), S);
7441
+ }, [u, U, g]), Z = we(function(v) {
7442
+ var y, I, C = v === void 0 ? {} : v, z = C.item, H = C.index, B = C.refKey, Q = B === void 0 ? "ref" : B, S = C.ref, de = C.onMouseMove, L = C.onMouseDown, ye = C.onClick;
7417
7443
  C.onPress;
7418
7444
  var be = C.disabled, Le = He(C, oc);
7419
7445
  be !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');
7420
7446
  var Ye = w.current, $e = Ye.props, Be = Ye.state, Xe = Ks(z, H, $e.items, "Pass either item or index to getItemProps!"), J = Xe[0], Me = Xe[1], me = $e.isItemDisabled(J, Me), fe = "onClick", Fe = ye, Ne = function() {
7421
7447
  Me !== Be.highlightedIndex && (P.current = !1, u({
7422
- type: Dr,
7448
+ type: kr,
7423
7449
  index: Me,
7424
7450
  disabled: me
7425
7451
  }));
@@ -7433,16 +7459,16 @@ function Rt(e) {
7433
7459
  };
7434
7460
  return Y((y = {}, y[Q] = a0(S, function($) {
7435
7461
  $ && (_.current[g.getItemId(Me)] = $);
7436
- }), y["aria-disabled"] = me, y["aria-selected"] = "" + (Me === Be.highlightedIndex), y.id = g.getItemId(Me), y.role = "option", y), !me && (E = {}, E[fe] = he(Fe, Ve), E), {
7462
+ }), y["aria-disabled"] = me, y["aria-selected"] = "" + (Me === Be.highlightedIndex), y.id = g.getItemId(Me), y.role = "option", y), !me && (I = {}, I[fe] = he(Fe, Ve), I), {
7437
7463
  onMouseMove: he(de, Ne),
7438
7464
  onMouseDown: he(L, Te)
7439
7465
  }, Le);
7440
- }, [u, w, P, g]), ie = xe(function(v) {
7441
- var y, E = v === void 0 ? {} : v, C = E.onClick;
7442
- E.onPress;
7443
- var z = E.refKey, H = z === void 0 ? "ref" : z, B = E.ref, Q = He(E, ac), S = w.current.state, de = function() {
7466
+ }, [u, w, P, g]), ie = we(function(v) {
7467
+ var y, I = v === void 0 ? {} : v, C = I.onClick;
7468
+ I.onPress;
7469
+ var z = I.refKey, H = z === void 0 ? "ref" : z, B = I.ref, Q = He(I, ac), S = w.current.state, de = function() {
7444
7470
  u({
7445
- type: kr
7471
+ type: Dr
7446
7472
  });
7447
7473
  };
7448
7474
  return Y((y = {}, y[H] = a0(B, function(L) {
@@ -7450,8 +7476,8 @@ function Rt(e) {
7450
7476
  }), y["aria-controls"] = g.menuId, y["aria-expanded"] = S.isOpen, y.id = g.toggleButtonId, y.tabIndex = -1, y), !Q.disabled && Y({}, {
7451
7477
  onClick: he(C, de)
7452
7478
  }), Q);
7453
- }, [u, w, g]), oe = xe(function(v, y) {
7454
- var E, C = v === void 0 ? {} : v, z = C.onKeyDown, H = C.onChange, B = C.onInput, Q = C.onBlur;
7479
+ }, [u, w, g]), oe = we(function(v, y) {
7480
+ var I, C = v === void 0 ? {} : v, z = C.onKeyDown, H = C.onChange, B = C.onInput, Q = C.onBlur;
7455
7481
  C.onChangeText;
7456
7482
  var S = C.onClick, de = C.refKey, L = de === void 0 ? "ref" : de, ye = C.ref, be = He(C, sc), Le = y === void 0 ? {} : y, Ye = Le.suppressRefError, $e = Ye === void 0 ? !1 : Ye;
7457
7483
  U("getInputProps", $e, L, A);
@@ -7480,37 +7506,37 @@ function Rt(e) {
7480
7506
  var Ne;
7481
7507
  Fe = (Ne = {}, Ne[fe] = he(H, B, J), Ne.onKeyDown = he(z, Xe), Ne.onBlur = he(Q, Me), Ne.onClick = he(S, me), Ne);
7482
7508
  }
7483
- return Y((E = {}, E[L] = a0(ye, function(Ve) {
7509
+ return Y((I = {}, I[L] = a0(ye, function(Ve) {
7484
7510
  A.current = Ve;
7485
- }), E["aria-activedescendant"] = Be.isOpen && Be.highlightedIndex > -1 ? g.getItemId(Be.highlightedIndex) : "", E["aria-autocomplete"] = "list", E["aria-controls"] = g.menuId, E["aria-expanded"] = Be.isOpen, E["aria-labelledby"] = be && be["aria-label"] ? void 0 : g.labelId, E.autoComplete = "off", E.id = g.inputId, E.role = "combobox", E.value = Be.inputValue, E), Fe, be);
7486
- }, [U, w, g, G, u, q, o]), W = xe(function() {
7511
+ }), I["aria-activedescendant"] = Be.isOpen && Be.highlightedIndex > -1 ? g.getItemId(Be.highlightedIndex) : "", I["aria-autocomplete"] = "list", I["aria-controls"] = g.menuId, I["aria-expanded"] = Be.isOpen, I["aria-labelledby"] = be && be["aria-label"] ? void 0 : g.labelId, I.autoComplete = "off", I.id = g.inputId, I.role = "combobox", I.value = Be.inputValue, I), Fe, be);
7512
+ }, [U, w, g, G, u, q, o]), W = we(function() {
7487
7513
  u({
7488
7514
  type: Pr
7489
7515
  });
7490
- }, [u]), pe = xe(function() {
7516
+ }, [u]), pe = we(function() {
7491
7517
  u({
7492
7518
  type: $r
7493
7519
  });
7494
- }, [u]), ge = xe(function() {
7520
+ }, [u]), ge = we(function() {
7495
7521
  u({
7496
7522
  type: Lr
7497
7523
  });
7498
- }, [u]), x = xe(function(v) {
7524
+ }, [u]), x = we(function(v) {
7499
7525
  u({
7500
7526
  type: Br,
7501
7527
  highlightedIndex: v
7502
7528
  });
7503
- }, [u]), k = xe(function(v) {
7529
+ }, [u]), D = we(function(v) {
7504
7530
  u({
7505
7531
  type: St,
7506
7532
  selectedItem: v
7507
7533
  });
7508
- }, [u]), K = xe(function(v) {
7534
+ }, [u]), K = we(function(v) {
7509
7535
  u({
7510
7536
  type: Vr,
7511
7537
  inputValue: v
7512
7538
  });
7513
- }, [u]), b = xe(function() {
7539
+ }, [u]), b = we(function() {
7514
7540
  u({
7515
7541
  type: Hr
7516
7542
  });
@@ -7528,10 +7554,10 @@ function Rt(e) {
7528
7554
  closeMenu: pe,
7529
7555
  setHighlightedIndex: x,
7530
7556
  setInputValue: K,
7531
- selectItem: k,
7557
+ selectItem: D,
7532
7558
  reset: b,
7533
7559
  // state.
7534
- highlightedIndex: I,
7560
+ highlightedIndex: E,
7535
7561
  isOpen: p,
7536
7562
  selectedItem: N,
7537
7563
  inputValue: T
@@ -7580,7 +7606,7 @@ const jr = Ce(
7580
7606
  ...a
7581
7607
  }, l) => /* @__PURE__ */ M(V, { className: re("autocomplete-result", a.className), ref: l, hidden: !e, children: [
7582
7608
  t.length > 0 && /* @__PURE__ */ M(Pe, { children: [
7583
- t.map(({ slug: d, title: u, date: p, authors: I, link: N }, T) => {
7609
+ t.map(({ slug: d, title: u, date: p, authors: E, link: N }, T) => {
7584
7610
  const R = s === T;
7585
7611
  return /* @__PURE__ */ c(_e.Fragment, { children: /* @__PURE__ */ M(
7586
7612
  F,
@@ -7602,10 +7628,11 @@ const jr = Ce(
7602
7628
  size: "s",
7603
7629
  text: u,
7604
7630
  textQuery: n,
7631
+ lineClamp: { xs: 4, md: 2 },
7605
7632
  className: "autocomplete-result__link"
7606
7633
  }
7607
7634
  ),
7608
- /* @__PURE__ */ c(lt, { mt: "xxs-3", date: p, authors: I, displayedFields: ["date", "authors"] })
7635
+ /* @__PURE__ */ c(lt, { mt: "xxs-3", date: p, authors: E, displayedFields: ["date", "authors"] })
7609
7636
  ]
7610
7637
  }
7611
7638
  ) }, d);
@@ -7643,19 +7670,19 @@ const Kr = Ce(
7643
7670
  isOpen: d,
7644
7671
  ...u
7645
7672
  }, p) => {
7646
- const I = (D) => {
7647
- l && D.key === "Enter" && l(D.currentTarget.value);
7673
+ const E = (k) => {
7674
+ l && k.key === "Enter" && l(k.currentTarget.value);
7648
7675
  }, { getInputProps: N, getMenuProps: T, getItemProps: R, selectItem: _, toggleMenu: A, isOpen: h, inputValue: m, highlightedIndex: g } = Rt({
7649
7676
  defaultInputValue: t,
7650
7677
  onInputValueChange: s,
7651
7678
  onSelectedItemChange: a,
7652
7679
  items: n,
7653
- itemToString: (D) => D ? D.title : "",
7680
+ itemToString: (k) => k ? k.title : "",
7654
7681
  isOpen: d
7655
7682
  }), f = () => _(null), w = _e.useMemo(
7656
- () => n.map((D, P) => ({
7657
- ...D,
7658
- ...R({ item: D, index: P })
7683
+ () => n.map((k, P) => ({
7684
+ ...k,
7685
+ ...R({ item: k, index: P })
7659
7686
  })),
7660
7687
  [n, R]
7661
7688
  );
@@ -7663,7 +7690,7 @@ const Kr = Ce(
7663
7690
  /* @__PURE__ */ c(
7664
7691
  Zn,
7665
7692
  {
7666
- input: N({ placeholder: e, onKeyDown: I }),
7693
+ input: N({ placeholder: e, onKeyDown: E }),
7667
7694
  buttonSearch: { as: "a", ...o },
7668
7695
  buttonClose: { onClick: f },
7669
7696
  className: "autocomplete__input"
@@ -7701,7 +7728,7 @@ const Pc = ({
7701
7728
  }) => /* @__PURE__ */ M(F, { as: "header", justifyContent: "between", alignItems: "center", bg: "white", p: "m", className: "header", children: [
7702
7729
  /* @__PURE__ */ c(V, { as: "a", ...e, color: "primary", children: /* @__PURE__ */ c(yn, { name: "blog", className: "header__logo" }) }),
7703
7730
  /* @__PURE__ */ M(V, { className: re("header__menu", { "header__menu--is-open": d }), children: [
7704
- t.map(({ label: u, ...p }, I) => /* @__PURE__ */ c(e0, { as: "a", ...p, "data-internal-link": "category", className: "header__menu-item", children: u }, I)),
7731
+ t.map(({ label: u, ...p }, E) => /* @__PURE__ */ c(e0, { as: "a", ...p, "data-internal-link": "category", className: "header__menu-item", children: u }, E)),
7705
7732
  n && /* @__PURE__ */ M(Pe, { children: [
7706
7733
  /* @__PURE__ */ c(V, { className: "header__separator" }),
7707
7734
  /* @__PURE__ */ c(V, { as: "a", ...o, "data-internal-link": "category", className: "header__menu-item", children: i })
@@ -7772,7 +7799,7 @@ const lc = ({
7772
7799
  "data-social-link": a
7773
7800
  },
7774
7801
  children: /* @__PURE__ */ c(
7775
- Ie,
7802
+ xe,
7776
7803
  {
7777
7804
  name: a,
7778
7805
  size: "36",
@@ -7790,7 +7817,7 @@ const lc = ({
7790
7817
  }
7791
7818
  ),
7792
7819
  /* @__PURE__ */ M(F, { py: "s", justifyContent: "center", alignItems: "center", className: "footer__language-links-container", children: [
7793
- /* @__PURE__ */ c(V, { mr: "xxs", children: /* @__PURE__ */ c(Ie, { size: "28px", name: "language" }) }),
7820
+ /* @__PURE__ */ c(V, { mr: "xxs", children: /* @__PURE__ */ c(xe, { size: "28px", name: "language" }) }),
7794
7821
  s.map(({ label: a, isActive: l, ...d }, u) => /* @__PURE__ */ M(_e.Fragment, { children: [
7795
7822
  l ? /* @__PURE__ */ c(ee, { fontWeight: "bold", children: a }) : /* @__PURE__ */ c(e0, { ...d, "data-internal-link": "home", children: a }),
7796
7823
  s.length - 1 !== u && /* @__PURE__ */ c(V, { mx: "s" })
@@ -7804,9 +7831,9 @@ const uc = ({
7804
7831
  posts: t,
7805
7832
  linkSeeMore: { label: n, ...i },
7806
7833
  ...o
7807
- }) => /* @__PURE__ */ M(V, { ...o, my: "xl", mx: { xs: "s", md: "auto" }, className: "last-articles-block container-content", children: [
7834
+ }) => /* @__PURE__ */ M(V, { ...o, my: "xl", className: "last-articles-block container-content", children: [
7808
7835
  /* @__PURE__ */ c(ve, { size: "m", color: "primary", children: e }),
7809
- /* @__PURE__ */ c(F, { mt: "l", gap: "m", className: "last-articles-block__post-list", children: t.map((r, s) => /* @__PURE__ */ c(_e.Fragment, { children: /* @__PURE__ */ c(D0, { variant: "highlight-light", ...r || {} }) }, (r == null ? void 0 : r.slug) ?? s)) }),
7836
+ /* @__PURE__ */ c(F, { mt: "l", gap: "m", className: "last-articles-block__post-list", children: t.map((r, s) => /* @__PURE__ */ c(_e.Fragment, { children: /* @__PURE__ */ c(k0, { variant: "highlight-light", ...r || {} }) }, (r == null ? void 0 : r.slug) ?? s)) }),
7810
7837
  /* @__PURE__ */ c(F, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ c(Ke, { mt: "l", as: "a", ...i, children: n }) })
7811
7838
  ] });
7812
7839
  const dc = ({
@@ -7830,11 +7857,11 @@ const dc = ({
7830
7857
  children: [
7831
7858
  /* @__PURE__ */ M(V, { className: "last-tutorials-block__content", children: [
7832
7859
  /* @__PURE__ */ c(ve, { size: "m", children: e }),
7833
- /* @__PURE__ */ c(Ie, { name: "underline", color: "white", width: "56px" }),
7860
+ /* @__PURE__ */ c(xe, { name: "underline", color: "white", width: "56px" }),
7834
7861
  /* @__PURE__ */ c(ee, { mt: "l", children: t }),
7835
7862
  /* @__PURE__ */ c(Ke, { mt: "l", as: "a", variant: "accent", ...r, children: o })
7836
7863
  ] }),
7837
- /* @__PURE__ */ c(F, { gap: "l", className: "last-tutorials-block__post-list", children: i.map((a, l) => /* @__PURE__ */ c(_e.Fragment, { children: /* @__PURE__ */ c(D0, { variant: "highlight-dark", tutorialLabel: n, ...a || {} }) }, (a == null ? void 0 : a.slug) ?? l)) })
7864
+ /* @__PURE__ */ c(F, { gap: "l", className: "last-tutorials-block__post-list", children: i.map((a, l) => /* @__PURE__ */ c(_e.Fragment, { children: /* @__PURE__ */ c(k0, { variant: "highlight-dark", tutorialLabel: n, ...a || {} }) }, (a == null ? void 0 : a.slug) ?? l)) })
7838
7865
  ]
7839
7866
  }
7840
7867
  ) }), V = Ce(({ as: e = "div", className: t, children: n, ...i }, o) => /* @__PURE__ */ c(
@@ -7865,7 +7892,7 @@ const Lc = ({ header: e, footer: t, children: n }) => /* @__PURE__ */ M(F, { fle
7865
7892
  n,
7866
7893
  /* @__PURE__ */ c(lc, { ...t })
7867
7894
  ] });
7868
- const k0 = ({
7895
+ const D0 = ({
7869
7896
  content: e,
7870
7897
  sidebar: t,
7871
7898
  className: n,
@@ -7902,7 +7929,7 @@ const k0 = ({
7902
7929
  }) => /* @__PURE__ */ M(Pe, { children: [
7903
7930
  /* @__PURE__ */ c(ns, { ...e }),
7904
7931
  /* @__PURE__ */ c(
7905
- k0,
7932
+ D0,
7906
7933
  {
7907
7934
  content: /* @__PURE__ */ c(fc, { ...n }),
7908
7935
  sidebar: /* @__PURE__ */ c(ut, { ...t })
@@ -7917,7 +7944,7 @@ const k0 = ({
7917
7944
  /* @__PURE__ */ c(rs, { ...e }),
7918
7945
  /* @__PURE__ */ c(uc, { ...t }),
7919
7946
  n && /* @__PURE__ */ c(dc, { ...n }),
7920
- /* @__PURE__ */ c(V, { my: "xl", mx: { xs: "s", md: "auto" }, children: /* @__PURE__ */ c(ut, { variant: "horizontal", className: "container-content", ...i }) })
7947
+ /* @__PURE__ */ c(ut, { my: "xl", variant: "horizontal", className: "container-content", ...i })
7921
7948
  ] });
7922
7949
  const pc = ({ title: e, authors: t, ...n }) => /* @__PURE__ */ M(V, { ...n, children: [
7923
7950
  /* @__PURE__ */ c(ve, { mb: "xxs", size: "m", color: "primary", children: e }),
@@ -7934,7 +7961,7 @@ const q0 = (e) => {
7934
7961
  target: "_blank",
7935
7962
  rel: "noreferrer",
7936
7963
  children: /* @__PURE__ */ c(
7937
- Ie,
7964
+ xe,
7938
7965
  {
7939
7966
  name: "twitter",
7940
7967
  className: "share-links__social-media-icon share-links__social-media-icon--twitter",
@@ -7949,7 +7976,7 @@ const q0 = (e) => {
7949
7976
  href: `https://www.facebook.com/sharer/sharer.php${q0({ u: e })}`,
7950
7977
  target: "_blank",
7951
7978
  rel: "noreferrer",
7952
- children: /* @__PURE__ */ c(Ie, { name: "facebook", className: "share-links__social-media-icon", size: "36" })
7979
+ children: /* @__PURE__ */ c(xe, { name: "facebook", className: "share-links__social-media-icon", size: "36" })
7953
7980
  }
7954
7981
  ),
7955
7982
  t.linkedIn && /* @__PURE__ */ c(
@@ -7958,7 +7985,7 @@ const q0 = (e) => {
7958
7985
  href: `https://linkedin.com/shareArticle${q0({ url: e, mini: "true" })}`,
7959
7986
  target: "_blank",
7960
7987
  rel: "noreferrer",
7961
- children: /* @__PURE__ */ c(Ie, { name: "linkedin", className: "share-links__social-media-icon", size: "36" })
7988
+ children: /* @__PURE__ */ c(xe, { name: "linkedin", className: "share-links__social-media-icon", size: "36" })
7962
7989
  }
7963
7990
  )
7964
7991
  ] }), mc = ({ title: e, date: t, readingTime: n, authors: i, shareLinks: o, ...r }) => /* @__PURE__ */ M(V, { ...r, textSize: "xs", children: [
@@ -7969,7 +7996,7 @@ const q0 = (e) => {
7969
7996
  ] })
7970
7997
  ] }), hc = ({ relatedPostListTitle: e, posts: t, ...n }) => /* @__PURE__ */ M(V, { ...n, children: [
7971
7998
  /* @__PURE__ */ c(ve, { mb: "m", size: "m", color: "primary", children: e }),
7972
- t.map((i, o) => /* @__PURE__ */ c(D0, { ...i, mt: "s" }, (i == null ? void 0 : i.slug) ?? o))
7999
+ t.map((i, o) => /* @__PURE__ */ c(k0, { ...i, mt: "s" }, (i == null ? void 0 : i.slug) ?? o))
7973
8000
  ] }), Vc = ["article", "tutorial"], vc = ({
7974
8001
  variant: e = "article",
7975
8002
  summary: t,
@@ -8006,7 +8033,7 @@ const q0 = (e) => {
8006
8033
  /* @__PURE__ */ c(Yn, { mx: { xs: "xs", md: "0" }, ...t }),
8007
8034
  /* @__PURE__ */ c(Xn, { ...n, mx: { xs: "xs", md: "0" }, img: { className: "post-page__cover", ...n == null ? void 0 : n.img } }),
8008
8035
  /* @__PURE__ */ c(
8009
- k0,
8036
+ D0,
8010
8037
  {
8011
8038
  content: /* @__PURE__ */ c(vc, { ...r, variant: e, summary: i, children: o }),
8012
8039
  sidebar: /* @__PURE__ */ c(nr, { hiddenBelow: "md", variant: e === "tutorial" ? "secondary" : "primary", ...i })
@@ -8014,7 +8041,7 @@ const q0 = (e) => {
8014
8041
  )
8015
8042
  ] });
8016
8043
  const zc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ c(
8017
- k0,
8044
+ D0,
8018
8045
  {
8019
8046
  className: "author-page",
8020
8047
  content: /* @__PURE__ */ c(bc, { ...t }),
@@ -8045,7 +8072,7 @@ const zc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ c(
8045
8072
  var r;
8046
8073
  return /* @__PURE__ */ M(_e.Fragment, { children: [
8047
8074
  /* @__PURE__ */ M(ee, { children: [
8048
- /* @__PURE__ */ c(Ie, { name: i.name, size: "24px" }),
8075
+ /* @__PURE__ */ c(xe, { name: i.name, size: "24px" }),
8049
8076
  " ",
8050
8077
  /* @__PURE__ */ c(e0, { href: i.url, target: "_blank", children: i.username })
8051
8078
  ] }),
@@ -8071,7 +8098,7 @@ const zc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ c(
8071
8098
  /* @__PURE__ */ c(We, { isLoading: o, children: /* @__PURE__ */ c(ve, { size: "m", fontWeight: "medium", color: "primary", children: e }) }),
8072
8099
  /* @__PURE__ */ c(We, { isLoading: o, children: /* @__PURE__ */ c(ve, { size: "s", mb: "l", children: t }) }),
8073
8100
  n
8074
- ] }), jc = ({ sidebar: e, ...t }) => /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c(k0, { content: /* @__PURE__ */ c(_c, { ...t }), sidebar: e }) }), yc = typeof window > "u" ? () => {
8101
+ ] }), jc = ({ sidebar: e, ...t }) => /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c(D0, { content: /* @__PURE__ */ c(_c, { ...t }), sidebar: e }) }), yc = typeof window > "u" ? () => {
8075
8102
  } : nt.useLayoutEffect, Kc = (e) => {
8076
8103
  const [t, n] = nt.useState(!1);
8077
8104
  return yc(() => {
@@ -8104,10 +8131,10 @@ export {
8104
8131
  ve as Heading,
8105
8132
  rs as HomeIntroBlock,
8106
8133
  Bc as HomePage,
8107
- Ie as Icon,
8134
+ xe as Icon,
8108
8135
  uc as LastArticlesBlock,
8109
8136
  dc as LastTutorialsBlock,
8110
- k0 as LayoutContentWithSidebar,
8137
+ D0 as LayoutContentWithSidebar,
8111
8138
  Lc as LayoutTemplate,
8112
8139
  e0 as Link,
8113
8140
  yn as Logo,
@@ -8116,8 +8143,8 @@ export {
8116
8143
  Uc as NotFoundPage,
8117
8144
  cs as Pagination,
8118
8145
  Xn as Picture,
8119
- D0 as PostCard,
8120
- kc as PostCardList,
8146
+ k0 as PostCard,
8147
+ Dc as PostCardList,
8121
8148
  lt as PostMetadata,
8122
8149
  Hc as PostPage,
8123
8150
  vc as PostPageContent,
@@ -8135,7 +8162,7 @@ export {
8135
8162
  xc as buttonVariant,
8136
8163
  Oc as closeButtonVariant,
8137
8164
  wc as logoName,
8138
- Dc as newsletterCardVariant,
8165
+ kc as newsletterCardVariant,
8139
8166
  Ce as polyRef,
8140
8167
  Tc as postCardVariant,
8141
8168
  Mc as postMetadataVariant,