@nypl/design-system-react-components 4.1.5 → 4.1.6

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.
@@ -48,13 +48,13 @@ var jy;
48
48
  function rT() {
49
49
  return jy || (jy = 1, process.env.NODE_ENV !== "production" && function() {
50
50
  var r = r1, a = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), v = Symbol.for("react.context"), y = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), V = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), R = Symbol.iterator, N = "@@iterator";
51
- function Z(j) {
51
+ function O(j) {
52
52
  if (j === null || typeof j != "object")
53
53
  return null;
54
54
  var w1 = R && j[R] || j[N];
55
55
  return typeof w1 == "function" ? w1 : null;
56
56
  }
57
- var z = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
57
+ var U = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
58
58
  function P(j) {
59
59
  {
60
60
  for (var w1 = arguments.length, Z1 = new Array(w1 > 1 ? w1 - 1 : 0), m2 = 1; m2 < w1; m2++)
@@ -64,7 +64,7 @@ function rT() {
64
64
  }
65
65
  function I(j, w1, Z1) {
66
66
  {
67
- var m2 = z.ReactDebugCurrentFrame, Q2 = m2.getStackAddendum();
67
+ var m2 = U.ReactDebugCurrentFrame, Q2 = m2.getStackAddendum();
68
68
  Q2 !== "" && (w1 += "%s", Z1 = Z1.concat([Q2]));
69
69
  var k2 = Z1.map(function(v2) {
70
70
  return String(v2);
@@ -198,7 +198,7 @@ function rT() {
198
198
  D1 < 0 && P("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
199
199
  }
200
200
  }
201
- var H2 = z.ReactCurrentDispatcher, V2;
201
+ var H2 = U.ReactCurrentDispatcher, V2;
202
202
  function o2(j, w1, Z1) {
203
203
  {
204
204
  if (V2 === void 0)
@@ -324,7 +324,7 @@ function rT() {
324
324
  }
325
325
  return "";
326
326
  }
327
- var m3 = Object.prototype.hasOwnProperty, B1 = {}, T2 = z.ReactDebugCurrentFrame;
327
+ var m3 = Object.prototype.hasOwnProperty, B1 = {}, T2 = U.ReactDebugCurrentFrame;
328
328
  function z3(j) {
329
329
  if (j) {
330
330
  var w1 = j._owner, Z1 = F2(j.type, j._source, w1 ? w1.type : null);
@@ -375,7 +375,7 @@ function rT() {
375
375
  if (Ze(j))
376
376
  return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", o3(j)), le(j);
377
377
  }
378
- var b4 = z.ReactCurrentOwner, Ie = {
378
+ var b4 = U.ReactCurrentOwner, Ie = {
379
379
  key: !0,
380
380
  ref: !0,
381
381
  __self: !0,
@@ -469,7 +469,7 @@ function rT() {
469
469
  return R3(j, j2, Ve, Q2, m2, b4.current, v2);
470
470
  }
471
471
  }
472
- var Z3 = z.ReactCurrentOwner, O3 = z.ReactDebugCurrentFrame;
472
+ var Z3 = U.ReactCurrentOwner, O3 = U.ReactDebugCurrentFrame;
473
473
  function H3(j) {
474
474
  if (j) {
475
475
  var w1 = j._owner, Z1 = F2(j.type, j._source, w1 ? w1.type : null);
@@ -535,7 +535,7 @@ Check the top-level render call using <` + Z1 + ">.");
535
535
  else if (F4(j))
536
536
  j._store && (j._store.validated = !0);
537
537
  else if (j) {
538
- var Q2 = Z(j);
538
+ var Q2 = O(j);
539
539
  if (typeof Q2 == "function" && Q2 !== j.entries)
540
540
  for (var k2 = Q2.call(j), v2; !(v2 = k2.next()).done; )
541
541
  F4(v2.value) && D6(v2.value, w1);
@@ -623,8 +623,8 @@ process.env.NODE_ENV === "production" ? eh.exports = tT() : eh.exports = rT();
623
623
  var x = eh.exports, fc = { exports: {} };
624
624
  fc.exports;
625
625
  (function(r, a) {
626
- var o = 200, s = "__lodash_hash_undefined__", i = 800, p = 16, C = 9007199254740991, v = "[object Arguments]", y = "[object Array]", L = "[object AsyncFunction]", V = "[object Boolean]", k = "[object Date]", S = "[object Error]", _ = "[object Function]", R = "[object GeneratorFunction]", N = "[object Map]", Z = "[object Number]", z = "[object Null]", P = "[object Object]", I = "[object Proxy]", W = "[object RegExp]", $ = "[object Set]", J = "[object String]", e1 = "[object Undefined]", c1 = "[object WeakMap]", d1 = "[object ArrayBuffer]", k1 = "[object DataView]", M1 = "[object Float32Array]", g1 = "[object Float64Array]", y1 = "[object Int8Array]", r2 = "[object Int16Array]", D1 = "[object Int32Array]", N1 = "[object Uint8Array]", G1 = "[object Uint8ClampedArray]", m1 = "[object Uint16Array]", S1 = "[object Uint32Array]", v1 = /[\\^$.*+?()[\]{}|]/g, Q1 = /^\[object .+?Constructor\]$/, q1 = /^(?:0|[1-9]\d*)$/, j1 = {};
627
- j1[M1] = j1[g1] = j1[y1] = j1[r2] = j1[D1] = j1[N1] = j1[G1] = j1[m1] = j1[S1] = !0, j1[v] = j1[y] = j1[d1] = j1[V] = j1[k1] = j1[k] = j1[S] = j1[_] = j1[N] = j1[Z] = j1[P] = j1[W] = j1[$] = j1[J] = j1[c1] = !1;
626
+ var o = 200, s = "__lodash_hash_undefined__", i = 800, p = 16, C = 9007199254740991, v = "[object Arguments]", y = "[object Array]", L = "[object AsyncFunction]", V = "[object Boolean]", k = "[object Date]", S = "[object Error]", _ = "[object Function]", R = "[object GeneratorFunction]", N = "[object Map]", O = "[object Number]", U = "[object Null]", P = "[object Object]", I = "[object Proxy]", W = "[object RegExp]", $ = "[object Set]", J = "[object String]", e1 = "[object Undefined]", c1 = "[object WeakMap]", d1 = "[object ArrayBuffer]", k1 = "[object DataView]", M1 = "[object Float32Array]", g1 = "[object Float64Array]", y1 = "[object Int8Array]", r2 = "[object Int16Array]", D1 = "[object Int32Array]", N1 = "[object Uint8Array]", G1 = "[object Uint8ClampedArray]", m1 = "[object Uint16Array]", S1 = "[object Uint32Array]", v1 = /[\\^$.*+?()[\]{}|]/g, Q1 = /^\[object .+?Constructor\]$/, q1 = /^(?:0|[1-9]\d*)$/, j1 = {};
627
+ j1[M1] = j1[g1] = j1[y1] = j1[r2] = j1[D1] = j1[N1] = j1[G1] = j1[m1] = j1[S1] = !0, j1[v] = j1[y] = j1[d1] = j1[V] = j1[k1] = j1[k] = j1[S] = j1[_] = j1[N] = j1[O] = j1[P] = j1[W] = j1[$] = j1[J] = j1[c1] = !1;
628
628
  var x2 = typeof Xu == "object" && Xu && Xu.Object === Object && Xu, n3 = typeof self == "object" && self && self.Object === Object && self, H2 = x2 || n3 || Function("return this")(), V2 = a && !a.nodeType && a, o2 = V2 && !0 && r && !r.nodeType && r, l2 = o2 && o2.exports === V2, R2 = l2 && x2.process, B2 = function() {
629
629
  try {
630
630
  var B = o2 && o2.require && o2.require("util").types;
@@ -839,7 +839,7 @@ fc.exports;
839
839
  }
840
840
  var W2 = J7();
841
841
  function V5(B) {
842
- return B == null ? B === void 0 ? e1 : z : X3 && X3 in Object(B) ? Ft(B) : V3(B);
842
+ return B == null ? B === void 0 ? e1 : U : X3 && X3 in Object(B) ? Ft(B) : V3(B);
843
843
  }
844
844
  function H9(B) {
845
845
  return J5(B) && V5(B) == v;
@@ -2387,10 +2387,10 @@ function zT(r, a) {
2387
2387
  const k = L.map((S) => {
2388
2388
  if (AT.has(S))
2389
2389
  return S;
2390
- const _ = S.indexOf(" "), [R, N] = _ !== -1 ? [S.substr(0, _), S.substr(_ + 1)] : [S], Z = oh(N) ? N : N && N.split(" "), z = `colors.${R}`, P = z in a.__cssMap ? a.__cssMap[z].varRef : R;
2391
- return Z ? [
2390
+ const _ = S.indexOf(" "), [R, N] = _ !== -1 ? [S.substr(0, _), S.substr(_ + 1)] : [S], O = oh(N) ? N : N && N.split(" "), U = `colors.${R}`, P = U in a.__cssMap ? a.__cssMap[U].varRef : R;
2391
+ return O ? [
2392
2392
  P,
2393
- ...Array.isArray(Z) ? Z : [Z]
2393
+ ...Array.isArray(O) ? O : [O]
2394
2394
  ].join(" ") : P;
2395
2395
  });
2396
2396
  return `${v}(${k.join(", ")})`;
@@ -3872,7 +3872,7 @@ const { defineMultiStyleConfig: c_, definePartsStyle: d_ } = U2(["container", "b
3872
3872
  }
3873
3873
  }), z_ = {
3874
3874
  parts: ["helperErrorText"],
3875
- baseStyle: ({ hasChildren: r }) => ({
3875
+ baseStyle: ({ hasHelperText: r }) => ({
3876
3876
  helperErrorText: {
3877
3877
  marginTop: r ? "helper.default" : "0"
3878
3878
  }
@@ -8187,8 +8187,8 @@ const PZ = oe({
8187
8187
  baseStyle: zZ(
8188
8188
  ({ backgroundColor: r, highlightColor: a }) => {
8189
8189
  const o = "var(--nypl-colors-ui-typography-body)", s = "var(--nypl-colors-dark-ui-typography-body)", i = (N = "light") => `${N === "dark" ? s : o} !important`, p = (N = "light") => a ? `${a} !important` : `${N === "dark" ? s : o} !important`, C = "var(--nypl-colors-ui-link-primary)", v = "var(--nypl-colors-dark-ui-link-primary)", y = (N = "light") => a ? `${a} !important` : `${N === "dark" ? v : C} !important`, L = (N = "light") => {
8190
- const Z = N === "dark" ? `${N}.` : "";
8191
- return a || `${Z}ui.border.default`;
8190
+ const O = N === "dark" ? `${N}.` : "";
8191
+ return a || `${O}ui.border.default`;
8192
8192
  }, V = "var(--nypl-colors-ui-link-primary-05)", k = "var(--nypl-colors-dark-ui-link-primary-10)", S = (N = "light") => r || `${N === "dark" ? k : V} !important`, _ = {
8193
8193
  ...hL(),
8194
8194
  svg: {
@@ -10278,14 +10278,14 @@ const {
10278
10278
  "NYPL Reservoir Icon: Pass an icon `name` prop or an SVG child to ensure an icon appears."
10279
10279
  ), null;
10280
10280
  if (y) {
10281
- const z = dB[y];
10282
- return /* @__PURE__ */ x.jsx(gb, { as: z, ref: a, ...N, __css: R });
10281
+ const U = dB[y];
10282
+ return /* @__PURE__ */ x.jsx(gb, { as: U, ref: a, ...N, __css: R });
10283
10283
  }
10284
- const Z = r1.cloneElement(s, {
10284
+ const O = r1.cloneElement(s, {
10285
10285
  ...N,
10286
10286
  ref: a
10287
10287
  });
10288
- return /* @__PURE__ */ x.jsx(p1, { ref: a, __css: R, children: Z });
10288
+ return /* @__PURE__ */ x.jsx(p1, { ref: a, __css: R, children: O });
10289
10289
  }),
10290
10290
  // Pass all custom props to Chakra and override, e.g. we want the
10291
10291
  // DS color value set and not color strings.
@@ -10334,7 +10334,7 @@ const CB = ({
10334
10334
  key: _,
10335
10335
  maxHeight: i,
10336
10336
  overflow: "auto"
10337
- }, Z = typeof S.panel == "string" ? /* @__PURE__ */ x.jsx(
10337
+ }, O = typeof S.panel == "string" ? /* @__PURE__ */ x.jsx(
10338
10338
  Oy,
10339
10339
  {
10340
10340
  ...N,
@@ -10347,7 +10347,7 @@ const CB = ({
10347
10347
  borderBottom: R ? void 0 : "transparent",
10348
10348
  children: S.panel
10349
10349
  }
10350
- ), z = S.ariaLabel ? S.ariaLabel : a;
10350
+ ), U = S.ariaLabel ? S.ariaLabel : a;
10351
10351
  return S.ariaLabel && a && console.warn(
10352
10352
  "NYPL Reservoir Accordion: An aria-label value has been passed for the overall component and as part of the accordionData prop. Both can not be used, so the value in the accordionData prop will take precedence."
10353
10353
  ), /* @__PURE__ */ x.jsx(qE, { id: `${o}-item-${_}`, children: ({ isExpanded: P }) => {
@@ -10356,7 +10356,7 @@ const CB = ({
10356
10356
  /* @__PURE__ */ x.jsxs(
10357
10357
  GE,
10358
10358
  {
10359
- "aria-label": z,
10359
+ "aria-label": U,
10360
10360
  id: `${o}-button-${_}`,
10361
10361
  padding: k,
10362
10362
  ref: S.buttonInteractionRef,
@@ -10411,7 +10411,7 @@ const CB = ({
10411
10411
  ]
10412
10412
  }
10413
10413
  ),
10414
- (s || P) && Z
10414
+ (s || P) && O
10415
10415
  ] });
10416
10416
  } }, _);
10417
10417
  });
@@ -10428,14 +10428,14 @@ const CB = ({
10428
10428
  ...L
10429
10429
  } = r, V = me(i), [k, S] = xe(
10430
10430
  p ? [0] : []
10431
- ), [_, R] = xe(-1), N = o.map((z) => ({
10432
- ...z,
10433
- buttonInteractionRef: z.buttonInteractionRef || bb()
10434
- })), Z = (z) => {
10435
- if (z.code === "Escape") {
10431
+ ), [_, R] = xe(-1), N = o.map((U) => ({
10432
+ ...U,
10433
+ buttonInteractionRef: U.buttonInteractionRef || bb()
10434
+ })), O = (U) => {
10435
+ if (U.code === "Escape") {
10436
10436
  let P;
10437
- z.target.dataset.index ? P = Number(z.target.dataset.index) : P = Number(
10438
- z.target.closest("[role='region']").id.split("-").pop()
10437
+ U.target.dataset.index ? P = Number(U.target.dataset.index) : P = Number(
10438
+ U.target.closest("[role='region']").id.split("-").pop()
10439
10439
  ), S(
10440
10440
  k.filter((I) => I !== P)
10441
10441
  ), N[P].buttonInteractionRef && N[P].buttonInteractionRef.current.focus();
@@ -10449,8 +10449,8 @@ const CB = ({
10449
10449
  allowMultiple: !0,
10450
10450
  "data-testid": "ds-accordion",
10451
10451
  index: k,
10452
- onChange: (z) => S(z),
10453
- onKeyDown: Z,
10452
+ onChange: (U) => S(U),
10453
+ onKeyDown: O,
10454
10454
  id: V,
10455
10455
  ref: a,
10456
10456
  ...L,
@@ -10579,7 +10579,7 @@ const L9 = P1(
10579
10579
  target: V,
10580
10580
  variant: k = "default",
10581
10581
  ...S
10582
- } = r, _ = k === "backwards" || k === "forwards" || k === "standalone" ? !1 : v, Z = {
10582
+ } = r, _ = k === "backwards" || k === "forwards" || k === "standalone" ? !1 : v, O = {
10583
10583
  id: C,
10584
10584
  href: p,
10585
10585
  onClick: y,
@@ -10588,12 +10588,12 @@ const L9 = P1(
10588
10588
  target: k === "external" ? "_blank" : V || null,
10589
10589
  ...S
10590
10590
  };
10591
- let z = "link";
10592
- k === "action" || k === "backwards" || k === "external" || k === "forwards" || k === "standalone" ? z = "moreLink" : k.includes("button") && (z = k);
10591
+ let U = "link";
10592
+ k === "action" || k === "backwards" || k === "external" || k === "forwards" || k === "standalone" ? U = "moreLink" : k.includes("button") && (U = k);
10593
10593
  const P = N2("Link", {
10594
10594
  finalIsUnderlined: _,
10595
10595
  hasVisitedState: i,
10596
- variant: z
10596
+ variant: U
10597
10597
  }), I = C || sT(`link-${s}`), W = (k === "forwards" || k === "backwards") && mB({
10598
10598
  children: s,
10599
10599
  id: I,
@@ -10608,7 +10608,7 @@ const L9 = P1(
10608
10608
  {
10609
10609
  as: o,
10610
10610
  "data-testid": "ds-link",
10611
- ...Z,
10611
+ ...O,
10612
10612
  sx: P.base,
10613
10613
  ...S,
10614
10614
  children: [
@@ -10696,13 +10696,13 @@ const L9 = P1(
10696
10696
  url: k,
10697
10697
  urlClass: S,
10698
10698
  ..._
10699
- } = r, R = yB(C), N = y || C, Z = N2("Heading", {
10699
+ } = r, R = yB(C), N = y || C, O = N2("Heading", {
10700
10700
  variant: N,
10701
10701
  isCapitalized: s,
10702
10702
  isUppercase: i,
10703
10703
  isLowercase: p,
10704
10704
  url: k
10705
- }), z = R;
10705
+ }), U = R;
10706
10706
  !r.children && !V && console.warn(
10707
10707
  "NYPL Reservoir Heading: No children or value was passed to the `text` prop."
10708
10708
  );
@@ -10716,9 +10716,9 @@ const L9 = P1(
10716
10716
  "heading2",
10717
10717
  "h1",
10718
10718
  "h2"
10719
- ], J = $.includes(N) ? "overline1" : "overline2", e1 = $.includes(N) ? "subtitle1" : "subtitle2", c1 = Z.defaultColorStyle, d1 = v && L ? { sx: { ...Z.base } } : {
10719
+ ], J = $.includes(N) ? "overline1" : "overline2", e1 = $.includes(N) ? "subtitle1" : "subtitle2", c1 = O.defaultColorStyle, d1 = v && L ? { sx: { ...O.base } } : {
10720
10720
  ..._,
10721
- sx: { ...Z.base, ...c1 }
10721
+ sx: { ...O.base, ...c1 }
10722
10722
  }, k1 = /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
10723
10723
  v && /* @__PURE__ */ x.jsx(
10724
10724
  P4,
@@ -10733,7 +10733,7 @@ const L9 = P1(
10733
10733
  /* @__PURE__ */ x.jsx(
10734
10734
  eS,
10735
10735
  {
10736
- as: z,
10736
+ as: U,
10737
10737
  "data-testid": "ds-heading",
10738
10738
  id: o,
10739
10739
  ref: a,
@@ -10820,7 +10820,9 @@ const ia = P1(
10820
10820
  isInvalid: L = !1,
10821
10821
  showHelperInvalidText: V = !0,
10822
10822
  ...k
10823
- } = r, S = v ? `${v}-componentWrapper` : void 0, _ = v ? `${v}-helperErrorText` : void 0, N = N2("ComponentWrapper", { hasChildren: !!o }), Z = L ? y : p, z = X0({
10823
+ } = r, S = v ? `${v}-componentWrapper` : void 0, _ = v ? `${v}-helperErrorText` : void 0, R = L ? y : p, N = N2("ComponentWrapper", {
10824
+ hasHelperText: !!R
10825
+ }), O = X0({
10824
10826
  id: v,
10825
10827
  title: i,
10826
10828
  additionalStyles: {
@@ -10836,16 +10838,16 @@ const ia = P1(
10836
10838
  __css: N,
10837
10839
  ...k,
10838
10840
  children: [
10839
- z,
10841
+ O,
10840
10842
  s && /* @__PURE__ */ x.jsx(P4, { mb: "paragraph.default", children: s }),
10841
10843
  o,
10842
- Z && /* @__PURE__ */ x.jsx(
10844
+ /* @__PURE__ */ x.jsx(
10843
10845
  ia,
10844
10846
  {
10845
10847
  id: _,
10846
10848
  isInvalid: L,
10847
10849
  isRenderedText: V,
10848
- text: Z,
10850
+ text: R,
10849
10851
  __css: { ...N.helperErrorText, ...C }
10850
10852
  }
10851
10853
  )
@@ -10900,14 +10902,14 @@ const ia = P1(
10900
10902
  }, [s, y]);
10901
10903
  const N = (I, W) => {
10902
10904
  I.preventDefault && I.preventDefault(), _ !== W && (R(W), y && y(W));
10903
- }, Z = W5(
10905
+ }, O = W5(
10904
10906
  "ui.gray.dark",
10905
10907
  "ui.gray.medium"
10906
- ), z = (I) => {
10908
+ ), U = (I) => {
10907
10909
  const W = _ === I.value && I.value !== "showAll", $ = I.value === "showAll", J = v || o && !o.includes(I.value) && !$, e1 = W ? {
10908
10910
  ...V.button,
10909
10911
  border: "1px solid",
10910
- borderColor: Z
10912
+ borderColor: O
10911
10913
  } : {
10912
10914
  ...V.button,
10913
10915
  border: "1px solid transparent"
@@ -10929,7 +10931,7 @@ const ia = P1(
10929
10931
  },
10930
10932
  I.value
10931
10933
  );
10932
- }, P = () => k.map((I) => z(I));
10934
+ }, P = () => k.map((I) => U(I));
10933
10935
  return /* @__PURE__ */ x.jsx(
10934
10936
  p1,
10935
10937
  {
@@ -10981,8 +10983,8 @@ const ia = P1(
10981
10983
  var $;
10982
10984
  return I !== "file" && (($ = W == null ? void 0 : W.src) == null ? void 0 : $.includes(`${I}.com`));
10983
10985
  }
10984
- const Z = N2("AudioPlayer", {});
10985
- function z() {
10986
+ const O = N2("AudioPlayer", {});
10987
+ function U() {
10986
10988
  return S ? /* @__PURE__ */ x.jsx(
10987
10989
  p1,
10988
10990
  {
@@ -10992,7 +10994,7 @@ const ia = P1(
10992
10994
  }
10993
10995
  ) : null;
10994
10996
  }
10995
- const P = z();
10997
+ const P = U();
10996
10998
  return /* @__PURE__ */ x.jsxs(
10997
10999
  X7,
10998
11000
  {
@@ -11002,14 +11004,14 @@ const ia = P1(
11002
11004
  helperText: C,
11003
11005
  id: v,
11004
11006
  ref: a,
11005
- __css: Z.base,
11007
+ __css: O.base,
11006
11008
  ...L,
11007
11009
  children: [
11008
11010
  V ? /* @__PURE__ */ x.jsx(
11009
11011
  p1,
11010
11012
  {
11011
11013
  dangerouslySetInnerHTML: { __html: R },
11012
- __css: Z.invalid
11014
+ __css: O.invalid
11013
11015
  }
11014
11016
  ) : /* @__PURE__ */ x.jsx(x.Fragment, { children: P }),
11015
11017
  /* @__PURE__ */ x.jsx("noscript", { children: /* @__PURE__ */ x.jsx(
@@ -11078,7 +11080,7 @@ const xB = {
11078
11080
  isDismissible: y = !1,
11079
11081
  variant: L = "neutral",
11080
11082
  ...V
11081
- } = r, k = me(v), [S, _] = xe(!0), R = () => _(!1), N = !!(o && p), Z = N2("Banner", {
11083
+ } = r, k = me(v), [S, _] = xe(!0), R = () => _(!1), N = !!(o && p), O = N2("Banner", {
11082
11084
  // Only set the custom `backgroundColor` and `highlightColor` values
11083
11085
  // if they are both set.
11084
11086
  backgroundColor: N ? o : void 0,
@@ -11086,21 +11088,21 @@ const xB = {
11086
11088
  // If `backgroundColor` and `highlightColor` are set, then it
11087
11089
  // overrides the Banner variant.
11088
11090
  variant: N ? void 0 : L
11089
- }), z = {
11091
+ }), U = {
11090
11092
  size: "heading6",
11091
11093
  color: L === "negative" ? "ui.error.primary" : null,
11092
11094
  _dark: {
11093
11095
  color: L === "negative" ? "dark.ui.error.primary" : null
11094
11096
  },
11095
11097
  paddingBottom: "xs"
11096
- }, P = i ? typeof i == "string" ? /* @__PURE__ */ x.jsx(b9, { level: "h2", text: i, ...z }) : r1.cloneElement(i, z) : null, I = /* @__PURE__ */ x.jsx(
11098
+ }, P = i ? typeof i == "string" ? /* @__PURE__ */ x.jsx(b9, { level: "h2", text: i, ...U }) : r1.cloneElement(i, U) : null, I = /* @__PURE__ */ x.jsx(
11097
11099
  j3,
11098
11100
  {
11099
11101
  "aria-label": "Close the banner",
11100
11102
  id: `${k}-dismissible-button`,
11101
11103
  onClick: R,
11102
11104
  variant: "text",
11103
- __css: Z.dismissibleButton,
11105
+ __css: O.dismissibleButton,
11104
11106
  children: /* @__PURE__ */ x.jsx(
11105
11107
  S3,
11106
11108
  {
@@ -11133,7 +11135,7 @@ const xB = {
11133
11135
  "data-variant": L,
11134
11136
  id: k,
11135
11137
  ref: a,
11136
- __css: Z.base,
11138
+ __css: O.base,
11137
11139
  ...V,
11138
11140
  children: [
11139
11141
  W,
@@ -11356,12 +11358,12 @@ function _B(r, a, o, s) {
11356
11358
  function DB(r) {
11357
11359
  var a = r === void 0 ? {} : r, o = a.threshold, s = a.delay, i = a.trackVisibility, p = a.rootMargin, C = a.root, v = a.triggerOnce, y = a.skip, L = a.initialInView, V = a.fallbackInView, k = a.onChange, S = d.useRef(), _ = d.useRef(), R = d.useState({
11358
11360
  inView: !!L
11359
- }), N = R[0], Z = R[1];
11361
+ }), N = R[0], O = R[1];
11360
11362
  _.current = k;
11361
- var z = d.useCallback(
11363
+ var U = d.useCallback(
11362
11364
  function(I) {
11363
11365
  S.current !== void 0 && (S.current(), S.current = void 0), !y && I && (S.current = _B(I, function(W, $) {
11364
- Z({
11366
+ O({
11365
11367
  inView: W,
11366
11368
  entry: $
11367
11369
  }), _.current && _.current(W, $), $.isIntersecting && v && S.current && (S.current(), S.current = void 0);
@@ -11391,11 +11393,11 @@ function DB(r) {
11391
11393
  ]
11392
11394
  );
11393
11395
  d.useEffect(function() {
11394
- !S.current && N.entry && !v && !y && Z({
11396
+ !S.current && N.entry && !v && !y && O({
11395
11397
  inView: !!L
11396
11398
  });
11397
11399
  });
11398
- var P = [z, N.inView, N.entry];
11400
+ var P = [U, N.inView, N.entry];
11399
11401
  return P.ref = P[0], P.inView = P[1], P.entry = P[2], P;
11400
11402
  }
11401
11403
  const RB = P1(
@@ -11443,8 +11445,8 @@ const RB = P1(
11443
11445
  isLazy: _ = !1,
11444
11446
  onError: R,
11445
11447
  size: N = "default",
11446
- sizeBasedOn: Z = "width",
11447
- src: z,
11448
+ sizeBasedOn: O = "width",
11449
+ src: U,
11448
11450
  ...P
11449
11451
  } = r, I = MB(), [W, $] = DB({
11450
11452
  triggerOnce: !0,
@@ -11453,16 +11455,16 @@ const RB = P1(
11453
11455
  variant: S,
11454
11456
  ratio: C,
11455
11457
  size: N,
11456
- sizeBasedOn: Z
11458
+ sizeBasedOn: O
11457
11459
  }), c1 = (r2) => {
11458
11460
  console.warn(
11459
11461
  "NYPL Reservoir Image: The initial image failed to load in the browser. The fallback image source will now be used."
11460
11462
  ), r2.target.src = V, R && R(r2);
11461
11463
  };
11462
- let d1 = null, k1, M1, g1 = _ ? {} : { src: z };
11464
+ let d1 = null, k1, M1, g1 = _ ? {} : { src: U };
11463
11465
  p && p.length > 300 && console.warn(
11464
11466
  "NYPL Reservoir Image: Alt text must be less than 300 characters."
11465
- ), _ && ($ || I) && (k1 = W, g1 = { src: z }), M1 = Cc(k1, a), d1 = y || /* @__PURE__ */ x.jsx(
11467
+ ), _ && ($ || I) && (k1 = W, g1 = { src: U }), M1 = Cc(k1, a), d1 = y || /* @__PURE__ */ x.jsx(
11466
11468
  p1,
11467
11469
  {
11468
11470
  as: "img",
@@ -11482,7 +11484,7 @@ const RB = P1(
11482
11484
  id: k ? `${k}-wrapper` : null,
11483
11485
  ratio: C,
11484
11486
  size: N,
11485
- sizeBasedOn: Z,
11487
+ sizeBasedOn: O,
11486
11488
  ...v || L ? {} : P,
11487
11489
  children: d1
11488
11490
  }
@@ -11622,11 +11624,11 @@ const VI = P1(
11622
11624
  layout: V = "column",
11623
11625
  mainActionLink: k,
11624
11626
  ...S
11625
- } = r, _ = me(p), R = C.src || C.component, N = C.component ? "original" : C.aspectRatio, Z = {}, z = [], P = [], I = r1.Children.toArray(s);
11627
+ } = r, _ = me(p), R = C.src || C.component, N = C.component ? "original" : C.aspectRatio, O = {}, U = [], P = [], I = r1.Children.toArray(s);
11626
11628
  let W = 0;
11627
11629
  C.component && C.aspectRatio && console.warn(
11628
11630
  "NYPL Reservoir Card: Both the `imageProps.component` and `imageProps.aspectRatio` props were set but `imageProps.aspectRatio` will be ignored in favor of the aspect ratio on `imageProps.component` prop."
11629
- ), o && (Z.backgroundColor = o), i && (Z.color = i);
11631
+ ), o && (O.backgroundColor = o), i && (O.color = i);
11630
11632
  const $ = N2("ReservoirCard", {
11631
11633
  hasImage: R,
11632
11634
  imageIsAtEnd: C.isAtEnd,
@@ -11647,13 +11649,13 @@ const VI = P1(
11647
11649
  layout: V,
11648
11650
  __css: $.heading
11649
11651
  });
11650
- z.push(g1), W++;
11652
+ U.push(g1), W++;
11651
11653
  } else if (d1) {
11652
11654
  const M1 = r1.cloneElement(J, { key: e1 });
11653
- z.push(M1);
11655
+ U.push(M1);
11654
11656
  } else if (c1) {
11655
11657
  const M1 = r1.cloneElement(J, { key: e1, isCentered: L, layout: V });
11656
- v && V === "row" ? P.push(M1) : z.push(M1);
11658
+ v && V === "row" ? P.push(M1) : U.push(M1);
11657
11659
  }
11658
11660
  }), /* @__PURE__ */ x.jsx(
11659
11661
  p1,
@@ -11669,7 +11671,7 @@ const VI = P1(
11669
11671
  mainActionLink: k,
11670
11672
  styles: {
11671
11673
  ...$.wrapper,
11672
- ...Z
11674
+ ...O
11673
11675
  },
11674
11676
  "data-cardwrapper": !0,
11675
11677
  children: [
@@ -11691,7 +11693,7 @@ const VI = P1(
11691
11693
  src: C.src ? C.src : void 0
11692
11694
  }
11693
11695
  ),
11694
- /* @__PURE__ */ x.jsx(p1, { __css: $.body, "data-body": !0, children: z }),
11696
+ /* @__PURE__ */ x.jsx(p1, { __css: $.body, "data-body": !0, children: U }),
11695
11697
  P.length ? /* @__PURE__ */ x.jsx(p1, { __css: { ...$.body, ...$.actions }, "data-actions": !0, children: P }) : null
11696
11698
  ]
11697
11699
  }
@@ -11722,10 +11724,10 @@ const Tp = P1(
11722
11724
  showHelperInvalidText: _ = !0,
11723
11725
  showLabel: R = !0,
11724
11726
  value: N,
11725
- ...Z
11726
- } = r, z = me(s), P = N2("Checkbox", {}), I = AB(), W = y ? i : o, $ = v ? void 0 : /* @__PURE__ */ x.jsx(jB, {}), J = Wo({
11727
+ ...O
11728
+ } = r, U = me(s), P = N2("Checkbox", {}), I = AB(), W = y ? i : o, $ = v ? void 0 : /* @__PURE__ */ x.jsx(jB, {}), J = Wo({
11727
11729
  footnote: W,
11728
- id: z,
11730
+ id: U,
11729
11731
  labelText: V,
11730
11732
  name: "Checkbox",
11731
11733
  showLabel: R
@@ -11736,16 +11738,16 @@ const Tp = P1(
11736
11738
  "data-testid": "ds-checkbox",
11737
11739
  helperText: o,
11738
11740
  helperTextStyles: P.helperErrorText,
11739
- id: z,
11741
+ id: U,
11740
11742
  invalidText: i,
11741
11743
  isInvalid: y,
11742
11744
  showHelperInvalidText: _,
11743
- ...Z,
11745
+ ...O,
11744
11746
  children: /* @__PURE__ */ x.jsx(
11745
11747
  lS,
11746
11748
  {
11747
11749
  icon: $,
11748
- id: z,
11750
+ id: U,
11749
11751
  isDisabled: (I == null ? void 0 : I.isDisabled) || C,
11750
11752
  isIndeterminate: v,
11751
11753
  isInvalid: (I == null ? void 0 : I.isInvalid) || y,
@@ -11817,8 +11819,8 @@ const Tp = P1(
11817
11819
  name: _,
11818
11820
  onChange: R,
11819
11821
  showHelperInvalidText: N = !0,
11820
- showLabel: Z = !0,
11821
- showRequiredLabel: z = !0,
11822
+ showLabel: O = !0,
11823
+ showRequiredLabel: U = !0,
11822
11824
  value: P,
11823
11825
  ...I
11824
11826
  } = r, W = me(p), $ = L ? C : i, J = S === "column" ? Fo.input.group.default.vstack : Fo.input.group.default.hstack, e1 = s && R ? {
@@ -11840,10 +11842,10 @@ const Tp = P1(
11840
11842
  {
11841
11843
  "data-testid": "ds-checkboxGroup",
11842
11844
  id: W,
11843
- isLegendHidden: !Z,
11845
+ isLegendHidden: !O,
11844
11846
  isRequired: V,
11845
11847
  legendText: k,
11846
- showRequiredLabel: z,
11848
+ showRequiredLabel: U,
11847
11849
  ...I,
11848
11850
  __css: d1,
11849
11851
  children: [
@@ -11896,13 +11898,13 @@ const Tp = P1(
11896
11898
  e1,
11897
11899
  { base: v ? c1 : void 0, md: c1 }
11898
11900
  ])
11899
- ), Z = N2("ReservoirTable", {
11901
+ ), O = N2("ReservoirTable", {
11900
11902
  columnHeadersBackgroundColor: s,
11901
11903
  columnHeadersTextColor: i,
11902
11904
  isScrollable: v,
11903
11905
  showRowDividers: y,
11904
11906
  useRowHeaders: S
11905
- }), z = k && /* @__PURE__ */ x.jsx(CS, { children: k }), P = o.length > 0 ? /* @__PURE__ */ x.jsx(uS, { children: /* @__PURE__ */ x.jsx(Ny, { children: o.map(($, J) => /* @__PURE__ */ x.jsx(
11907
+ }), U = k && /* @__PURE__ */ x.jsx(CS, { children: k }), P = o.length > 0 ? /* @__PURE__ */ x.jsx(uS, { children: /* @__PURE__ */ x.jsx(Ny, { children: o.map(($, J) => /* @__PURE__ */ x.jsx(
11906
11908
  By,
11907
11909
  {
11908
11910
  scope: "col",
@@ -11977,16 +11979,16 @@ const Tp = P1(
11977
11979
  "data-testid": "ds-table",
11978
11980
  id: C,
11979
11981
  ...W,
11980
- sx: Z.base,
11982
+ sx: O.base,
11981
11983
  children: /* @__PURE__ */ x.jsx(
11982
11984
  dS,
11983
11985
  {
11984
11986
  "aria-label": k && !L ? k : void 0,
11985
11987
  ref: a,
11986
- sx: Z.innerTable,
11988
+ sx: O.innerTable,
11987
11989
  ..._,
11988
11990
  children: /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
11989
- L && z,
11991
+ L && U,
11990
11992
  P,
11991
11993
  I()
11992
11994
  ] })
@@ -12039,7 +12041,7 @@ const Tp = P1(
12039
12041
  ), _ = (q1, j1 = "small") => {
12040
12042
  const x2 = j1 === "small" ? 1 : 2;
12041
12043
  return (q1[x2] === "AA" || q1[x2] === "AAA") && /* @__PURE__ */ x.jsx(S, {});
12042
- }, R = ["Color", "Ratio", "16px", "36px"], N = _(y), Z = _(y, "large"), z = _(p), P = _(p, "large"), I = L && _(L), W = L && _(L, "large"), $ = V && _(V), J = V && _(V, "large"), e1 = a && _(a), c1 = a && _(a, "large"), d1 = o && _(o), k1 = o && _(o, "large"), M1 = s && _(s), g1 = s && _(s, "large"), y1 = i && _(i), r2 = i && _(i, "large"), D1 = C && _(C), N1 = C && _(C, "large"), G1 = v && _(v), m1 = v && _(v, "large"), S1 = [
12044
+ }, R = ["Color", "Ratio", "16px", "36px"], N = _(y), O = _(y, "large"), U = _(p), P = _(p, "large"), I = L && _(L), W = L && _(L, "large"), $ = V && _(V), J = V && _(V, "large"), e1 = a && _(a), c1 = a && _(a, "large"), d1 = o && _(o), k1 = o && _(o, "large"), M1 = s && _(s), g1 = s && _(s, "large"), y1 = i && _(i), r2 = i && _(i, "large"), D1 = C && _(C), N1 = C && _(C, "large"), G1 = v && _(v), m1 = v && _(v, "large"), S1 = [
12043
12045
  [
12044
12046
  /* @__PURE__ */ x.jsxs("span", { style: { padding: 0 }, children: [
12045
12047
  /* @__PURE__ */ x.jsx(v8, { backgroundColor: "white", border: !0 }),
@@ -12052,7 +12054,7 @@ const Tp = P1(
12052
12054
  ] }),
12053
12055
  /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
12054
12056
  y[2],
12055
- Z
12057
+ O
12056
12058
  ] })
12057
12059
  ],
12058
12060
  [
@@ -12063,7 +12065,7 @@ const Tp = P1(
12063
12065
  /* @__PURE__ */ x.jsx("span", { children: `${p[0]}:1` }, "colorUiBlackRatio"),
12064
12066
  /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
12065
12067
  p[1],
12066
- z
12068
+ U
12067
12069
  ] }),
12068
12070
  /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
12069
12071
  p[2],
@@ -12253,38 +12255,38 @@ const Tp = P1(
12253
12255
  dataBrandSecondaryColor: _,
12254
12256
  notes: R,
12255
12257
  showColorDataTable: N = !0,
12256
- textColor: Z = "ui.white"
12257
- } = r, z = `--nypl-colors-${C.replace(/\./g, "-")}`, P = a === "ui.white" || a === "ui.typography.inverse.heading" || a === "ui.typography.inverse.body" ? "1px solid var(--nypl-colors-ui-gray-light-cool)" : void 0;
12258
+ textColor: O = "ui.white"
12259
+ } = r, U = `--nypl-colors-${C.replace(/\./g, "-")}`, P = a === "ui.white" || a === "ui.typography.inverse.heading" || a === "ui.typography.inverse.body" ? "1px solid var(--nypl-colors-ui-gray-light-cool)" : void 0;
12258
12260
  return /* @__PURE__ */ x.jsx(
12259
12261
  p1,
12260
12262
  {
12261
12263
  bg: a,
12262
- color: Z,
12264
+ color: O,
12263
12265
  px: "m",
12264
12266
  paddingBottom: "m",
12265
12267
  paddingTop: "s",
12266
12268
  border: P,
12267
12269
  children: /* @__PURE__ */ x.jsxs(hS, { alignItems: "top", children: [
12268
12270
  /* @__PURE__ */ x.jsxs(p1, { width: "80%", children: [
12269
- /* @__PURE__ */ x.jsx(b9, { size: "heading5", border: "none", color: Z, pb: "0", children: a }),
12271
+ /* @__PURE__ */ x.jsx(b9, { size: "heading5", border: "none", color: O, pb: "0", children: a }),
12270
12272
  /* @__PURE__ */ x.jsxs(
12271
12273
  P4,
12272
12274
  {
12273
- color: Z,
12275
+ color: O,
12274
12276
  fontSize: "var(--nypl-fontSizes-desktop-caption) !important",
12275
12277
  fontWeight: "medium",
12276
12278
  m: "0 !important",
12277
12279
  children: [
12278
12280
  /* @__PURE__ */ x.jsx("span", { style: { fontWeight: "bold" }, children: "CSS:" }),
12279
12281
  " ",
12280
- `var(${z})`
12282
+ `var(${U})`
12281
12283
  ]
12282
12284
  }
12283
12285
  ),
12284
12286
  v && /* @__PURE__ */ x.jsxs(
12285
12287
  P4,
12286
12288
  {
12287
- color: Z,
12289
+ color: O,
12288
12290
  fontSize: "var(--nypl-fontSizes-desktop-caption) !important",
12289
12291
  fontWeight: "medium",
12290
12292
  m: "0 !important",
@@ -12298,7 +12300,7 @@ const Tp = P1(
12298
12300
  R && /* @__PURE__ */ x.jsxs(
12299
12301
  P4,
12300
12302
  {
12301
- color: Z,
12303
+ color: O,
12302
12304
  fontWeight: "medium",
12303
12305
  lineHeight: "20px",
12304
12306
  size: "tag",
@@ -12323,7 +12325,7 @@ const Tp = P1(
12323
12325
  dataWhiteColor: k,
12324
12326
  dataBrandPrimaryColor: S,
12325
12327
  dataBrandSecondaryColor: _,
12326
- textColor: Z
12328
+ textColor: O
12327
12329
  }
12328
12330
  )
12329
12331
  ] })
@@ -12466,10 +12468,10 @@ function Fh(r, a) {
12466
12468
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
12467
12469
  var R = /* @__PURE__ */ new Date(0);
12468
12470
  R.setUTCFullYear(k + 1, 0, _), R.setUTCHours(0, 0, 0, 0);
12469
- var N = K0(R, a), Z = /* @__PURE__ */ new Date(0);
12470
- Z.setUTCFullYear(k, 0, _), Z.setUTCHours(0, 0, 0, 0);
12471
- var z = K0(Z, a);
12472
- return V.getTime() >= N.getTime() ? k + 1 : V.getTime() >= z.getTime() ? k : k - 1;
12471
+ var N = K0(R, a), O = /* @__PURE__ */ new Date(0);
12472
+ O.setUTCFullYear(k, 0, _), O.setUTCHours(0, 0, 0, 0);
12473
+ var U = K0(O, a);
12474
+ return V.getTime() >= N.getTime() ? k + 1 : V.getTime() >= U.getTime() ? k : k - 1;
12473
12475
  }
12474
12476
  function XB(r, a) {
12475
12477
  var o, s, i, p, C, v, y, L;
@@ -13578,12 +13580,12 @@ var wP = /^(\d+)(th|st|nd|rd)?/i, xP = /\d+/i, HP = {
13578
13580
  }
13579
13581
  }, OP = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, NP = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, BP = /^'([^]*?)'?$/, PP = /''/g, FP = /[a-zA-Z]/;
13580
13582
  function kL(r, a, o) {
13581
- var s, i, p, C, v, y, L, V, k, S, _, R, N, Z, z, P, I, W;
13583
+ var s, i, p, C, v, y, L, V, k, S, _, R, N, O, U, P, I, W;
13582
13584
  F1(2, arguments);
13583
13585
  var $ = String(a), J = ar(), e1 = (s = (i = o == null ? void 0 : o.locale) !== null && i !== void 0 ? i : J.locale) !== null && s !== void 0 ? s : fw, c1 = G2((p = (C = (v = (y = o == null ? void 0 : o.firstWeekContainsDate) !== null && y !== void 0 ? y : o == null || (L = o.locale) === null || L === void 0 || (V = L.options) === null || V === void 0 ? void 0 : V.firstWeekContainsDate) !== null && v !== void 0 ? v : J.firstWeekContainsDate) !== null && C !== void 0 ? C : (k = J.locale) === null || k === void 0 || (S = k.options) === null || S === void 0 ? void 0 : S.firstWeekContainsDate) !== null && p !== void 0 ? p : 1);
13584
13586
  if (!(c1 >= 1 && c1 <= 7))
13585
13587
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
13586
- var d1 = G2((_ = (R = (N = (Z = o == null ? void 0 : o.weekStartsOn) !== null && Z !== void 0 ? Z : o == null || (z = o.locale) === null || z === void 0 || (P = z.options) === null || P === void 0 ? void 0 : P.weekStartsOn) !== null && N !== void 0 ? N : J.weekStartsOn) !== null && R !== void 0 ? R : (I = J.locale) === null || I === void 0 || (W = I.options) === null || W === void 0 ? void 0 : W.weekStartsOn) !== null && _ !== void 0 ? _ : 0);
13588
+ var d1 = G2((_ = (R = (N = (O = o == null ? void 0 : o.weekStartsOn) !== null && O !== void 0 ? O : o == null || (U = o.locale) === null || U === void 0 || (P = U.options) === null || P === void 0 ? void 0 : P.weekStartsOn) !== null && N !== void 0 ? N : J.weekStartsOn) !== null && R !== void 0 ? R : (I = J.locale) === null || I === void 0 || (W = I.options) === null || W === void 0 ? void 0 : W.weekStartsOn) !== null && _ !== void 0 ? _ : 0);
13587
13589
  if (!(d1 >= 0 && d1 <= 6))
13588
13590
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
13589
13591
  if (!e1.localize)
@@ -14872,7 +14874,7 @@ function Ih(r, a, o) {
14872
14874
  var k = ar(), S = G2((s = (i = (p = (C = o == null ? void 0 : o.weekStartsOn) !== null && C !== void 0 ? C : o == null || (v = o.locale) === null || v === void 0 || (y = v.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && p !== void 0 ? p : k.weekStartsOn) !== null && i !== void 0 ? i : (L = k.locale) === null || L === void 0 || (V = L.options) === null || V === void 0 ? void 0 : V.weekStartsOn) !== null && s !== void 0 ? s : 0);
14873
14875
  if (!(S >= 0 && S <= 6))
14874
14876
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
14875
- var _ = n2(r), R = G2(a), N = _.getUTCDay(), Z = R % 7, z = (Z + 7) % 7, P = (z < S ? 7 : 0) + R - N;
14877
+ var _ = n2(r), R = G2(a), N = _.getUTCDay(), O = R % 7, U = (O + 7) % 7, P = (U < S ? 7 : 0) + R - N;
14876
14878
  return _.setUTCDate(_.getUTCDate() + P), _;
14877
14879
  }
14878
14880
  var ZF = /* @__PURE__ */ function(r) {
@@ -15711,7 +15713,7 @@ var PF = /* @__PURE__ */ function(r) {
15711
15713
  T: new KF()
15712
15714
  }, eA = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, tA = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, rA = /^'([^]*?)'?$/, nA = /''/g, aA = /\S/, iA = /[a-zA-Z]/;
15713
15715
  function Rp(r, a, o, s) {
15714
- var i, p, C, v, y, L, V, k, S, _, R, N, Z, z, P, I, W, $;
15716
+ var i, p, C, v, y, L, V, k, S, _, R, N, O, U, P, I, W, $;
15715
15717
  F1(3, arguments);
15716
15718
  var J = String(r), e1 = String(a), c1 = ar(), d1 = (i = (p = s == null ? void 0 : s.locale) !== null && p !== void 0 ? p : c1.locale) !== null && i !== void 0 ? i : fw;
15717
15719
  if (!d1.match)
@@ -15719,7 +15721,7 @@ function Rp(r, a, o, s) {
15719
15721
  var k1 = G2((C = (v = (y = (L = s == null ? void 0 : s.firstWeekContainsDate) !== null && L !== void 0 ? L : s == null || (V = s.locale) === null || V === void 0 || (k = V.options) === null || k === void 0 ? void 0 : k.firstWeekContainsDate) !== null && y !== void 0 ? y : c1.firstWeekContainsDate) !== null && v !== void 0 ? v : (S = c1.locale) === null || S === void 0 || (_ = S.options) === null || _ === void 0 ? void 0 : _.firstWeekContainsDate) !== null && C !== void 0 ? C : 1);
15720
15722
  if (!(k1 >= 1 && k1 <= 7))
15721
15723
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
15722
- var M1 = G2((R = (N = (Z = (z = s == null ? void 0 : s.weekStartsOn) !== null && z !== void 0 ? z : s == null || (P = s.locale) === null || P === void 0 || (I = P.options) === null || I === void 0 ? void 0 : I.weekStartsOn) !== null && Z !== void 0 ? Z : c1.weekStartsOn) !== null && N !== void 0 ? N : (W = c1.locale) === null || W === void 0 || ($ = W.options) === null || $ === void 0 ? void 0 : $.weekStartsOn) !== null && R !== void 0 ? R : 0);
15724
+ var M1 = G2((R = (N = (O = (U = s == null ? void 0 : s.weekStartsOn) !== null && U !== void 0 ? U : s == null || (P = s.locale) === null || P === void 0 || (I = P.options) === null || I === void 0 ? void 0 : I.weekStartsOn) !== null && O !== void 0 ? O : c1.weekStartsOn) !== null && N !== void 0 ? N : (W = c1.locale) === null || W === void 0 || ($ = W.options) === null || $ === void 0 ? void 0 : $.weekStartsOn) !== null && R !== void 0 ? R : 0);
15723
15725
  if (!(M1 >= 0 && M1 <= 6))
15724
15726
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
15725
15727
  if (e1 === "")
@@ -15981,7 +15983,7 @@ function xA() {
15981
15983
  return C.now() - v;
15982
15984
  };
15983
15985
  }
15984
- var y = [], L = [], V = 1, k = null, S = 3, _ = !1, R = !1, N = !1, Z = typeof setTimeout == "function" ? setTimeout : null, z = typeof clearTimeout == "function" ? clearTimeout : null, P = typeof setImmediate < "u" ? setImmediate : null;
15986
+ var y = [], L = [], V = 1, k = null, S = 3, _ = !1, R = !1, N = !1, O = typeof setTimeout == "function" ? setTimeout : null, U = typeof clearTimeout == "function" ? clearTimeout : null, P = typeof setImmediate < "u" ? setImmediate : null;
15985
15987
  typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
15986
15988
  function I(m1) {
15987
15989
  for (var S1 = o(L); S1 !== null; ) {
@@ -15999,7 +16001,7 @@ function xA() {
15999
16001
  }
16000
16002
  }
16001
16003
  function $(m1, S1) {
16002
- R = !1, N && (N = !1, z(c1), c1 = -1), _ = !0;
16004
+ R = !1, N && (N = !1, U(c1), c1 = -1), _ = !0;
16003
16005
  var v1 = S;
16004
16006
  try {
16005
16007
  for (I(S1), k = o(y); k !== null && (!(k.expirationTime > S1) || m1 && !M1()); ) {
@@ -16047,13 +16049,13 @@ function xA() {
16047
16049
  D1.postMessage(null);
16048
16050
  };
16049
16051
  } else y1 = function() {
16050
- Z(g1, 0);
16052
+ O(g1, 0);
16051
16053
  };
16052
16054
  function N1(m1) {
16053
16055
  e1 = m1, J || (J = !0, y1());
16054
16056
  }
16055
16057
  function G1(m1, S1) {
16056
- c1 = Z(function() {
16058
+ c1 = O(function() {
16057
16059
  m1(r.unstable_now());
16058
16060
  }, S1);
16059
16061
  }
@@ -16122,7 +16124,7 @@ function xA() {
16122
16124
  default:
16123
16125
  q1 = 5e3;
16124
16126
  }
16125
- return q1 = v1 + q1, m1 = { id: V++, callback: S1, priorityLevel: m1, startTime: v1, expirationTime: q1, sortIndex: -1 }, v1 > Q1 ? (m1.sortIndex = v1, a(L, m1), o(y) === null && m1 === o(L) && (N ? (z(c1), c1 = -1) : N = !0, G1(W, v1 - Q1))) : (m1.sortIndex = q1, a(y, m1), R || _ || (R = !0, N1($))), m1;
16127
+ return q1 = v1 + q1, m1 = { id: V++, callback: S1, priorityLevel: m1, startTime: v1, expirationTime: q1, sortIndex: -1 }, v1 > Q1 ? (m1.sortIndex = v1, a(L, m1), o(y) === null && m1 === o(L) && (N ? (U(c1), c1 = -1) : N = !0, G1(W, v1 - Q1))) : (m1.sortIndex = q1, a(y, m1), R || _ || (R = !0, N1($))), m1;
16126
16128
  }, r.unstable_shouldYield = M1, r.unstable_wrapCallback = function(m1) {
16127
16129
  var S1 = S;
16128
16130
  return function() {
@@ -16195,14 +16197,14 @@ function HA() {
16195
16197
  }
16196
16198
  var N = typeof performance == "object" && typeof performance.now == "function";
16197
16199
  if (N) {
16198
- var Z = performance;
16200
+ var O = performance;
16199
16201
  r.unstable_now = function() {
16200
- return Z.now();
16202
+ return O.now();
16201
16203
  };
16202
16204
  } else {
16203
- var z = Date, P = z.now();
16205
+ var U = Date, P = U.now();
16204
16206
  r.unstable_now = function() {
16205
- return z.now() - P;
16207
+ return U.now() - P;
16206
16208
  };
16207
16209
  }
16208
16210
  var I = 1073741823, W = -1, $ = 250, J = 5e3, e1 = 1e4, c1 = I, d1 = [], k1 = [], M1 = 1, g1 = null, y1 = k, r2 = !1, D1 = !1, N1 = !1, G1 = typeof setTimeout == "function" ? setTimeout : null, m1 = typeof clearTimeout == "function" ? clearTimeout : null, S1 = typeof setImmediate < "u" ? setImmediate : null;
@@ -16474,50 +16476,50 @@ function VA() {
16474
16476
  function N(n, l, f, m, b, H, T) {
16475
16477
  this.acceptsBooleans = l === 2 || l === 3 || l === 4, this.attributeName = m, this.attributeNamespace = b, this.mustUseProperty = f, this.propertyName = n, this.type = l, this.sanitizeURL = H, this.removeEmptyString = T;
16476
16478
  }
16477
- var Z = {};
16479
+ var O = {};
16478
16480
  "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n) {
16479
- Z[n] = new N(n, 0, !1, n, null, !1, !1);
16481
+ O[n] = new N(n, 0, !1, n, null, !1, !1);
16480
16482
  }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(n) {
16481
16483
  var l = n[0];
16482
- Z[l] = new N(l, 1, !1, n[1], null, !1, !1);
16484
+ O[l] = new N(l, 1, !1, n[1], null, !1, !1);
16483
16485
  }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(n) {
16484
- Z[n] = new N(n, 2, !1, n.toLowerCase(), null, !1, !1);
16486
+ O[n] = new N(n, 2, !1, n.toLowerCase(), null, !1, !1);
16485
16487
  }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(n) {
16486
- Z[n] = new N(n, 2, !1, n, null, !1, !1);
16488
+ O[n] = new N(n, 2, !1, n, null, !1, !1);
16487
16489
  }), "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n) {
16488
- Z[n] = new N(n, 3, !1, n.toLowerCase(), null, !1, !1);
16490
+ O[n] = new N(n, 3, !1, n.toLowerCase(), null, !1, !1);
16489
16491
  }), ["checked", "multiple", "muted", "selected"].forEach(function(n) {
16490
- Z[n] = new N(n, 3, !0, n, null, !1, !1);
16492
+ O[n] = new N(n, 3, !0, n, null, !1, !1);
16491
16493
  }), ["capture", "download"].forEach(function(n) {
16492
- Z[n] = new N(n, 4, !1, n, null, !1, !1);
16494
+ O[n] = new N(n, 4, !1, n, null, !1, !1);
16493
16495
  }), ["cols", "rows", "size", "span"].forEach(function(n) {
16494
- Z[n] = new N(n, 6, !1, n, null, !1, !1);
16496
+ O[n] = new N(n, 6, !1, n, null, !1, !1);
16495
16497
  }), ["rowSpan", "start"].forEach(function(n) {
16496
- Z[n] = new N(n, 5, !1, n.toLowerCase(), null, !1, !1);
16498
+ O[n] = new N(n, 5, !1, n.toLowerCase(), null, !1, !1);
16497
16499
  });
16498
- var z = /[\-:]([a-z])/g;
16500
+ var U = /[\-:]([a-z])/g;
16499
16501
  function P(n) {
16500
16502
  return n[1].toUpperCase();
16501
16503
  }
16502
16504
  "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n) {
16503
16505
  var l = n.replace(
16504
- z,
16506
+ U,
16505
16507
  P
16506
16508
  );
16507
- Z[l] = new N(l, 1, !1, n, null, !1, !1);
16509
+ O[l] = new N(l, 1, !1, n, null, !1, !1);
16508
16510
  }), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n) {
16509
- var l = n.replace(z, P);
16510
- Z[l] = new N(l, 1, !1, n, "http://www.w3.org/1999/xlink", !1, !1);
16511
+ var l = n.replace(U, P);
16512
+ O[l] = new N(l, 1, !1, n, "http://www.w3.org/1999/xlink", !1, !1);
16511
16513
  }), ["xml:base", "xml:lang", "xml:space"].forEach(function(n) {
16512
- var l = n.replace(z, P);
16513
- Z[l] = new N(l, 1, !1, n, "http://www.w3.org/XML/1998/namespace", !1, !1);
16514
+ var l = n.replace(U, P);
16515
+ O[l] = new N(l, 1, !1, n, "http://www.w3.org/XML/1998/namespace", !1, !1);
16514
16516
  }), ["tabIndex", "crossOrigin"].forEach(function(n) {
16515
- Z[n] = new N(n, 1, !1, n.toLowerCase(), null, !1, !1);
16516
- }), Z.xlinkHref = new N("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(n) {
16517
- Z[n] = new N(n, 1, !1, n.toLowerCase(), null, !0, !0);
16517
+ O[n] = new N(n, 1, !1, n.toLowerCase(), null, !1, !1);
16518
+ }), O.xlinkHref = new N("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(n) {
16519
+ O[n] = new N(n, 1, !1, n.toLowerCase(), null, !0, !0);
16518
16520
  });
16519
16521
  function I(n, l, f, m) {
16520
- var b = Z.hasOwnProperty(l) ? Z[l] : null;
16522
+ var b = O.hasOwnProperty(l) ? O[l] : null;
16521
16523
  (b !== null ? b.type !== 0 : m || !(2 < l.length) || l[0] !== "o" && l[0] !== "O" || l[1] !== "n" && l[1] !== "N") && (R(l, f, b, m) && (f = null), m || b === null ? S(l) && (f === null ? n.removeAttribute(l) : n.setAttribute(l, "" + f)) : b.mustUseProperty ? n[b.propertyName] = f === null ? b.type === 3 ? !1 : "" : f : (l = b.attributeName, m = b.attributeNamespace, f === null ? n.removeAttribute(l) : (b = b.type, f = b === 3 || b === 4 && f === !0 ? "" : "" + f, m ? n.setAttributeNS(m, l, f) : n.setAttribute(l, f))));
16522
16524
  }
16523
16525
  var W = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, $ = Symbol.for("react.element"), J = Symbol.for("react.portal"), e1 = Symbol.for("react.fragment"), c1 = Symbol.for("react.strict_mode"), d1 = Symbol.for("react.profiler"), k1 = Symbol.for("react.provider"), M1 = Symbol.for("react.context"), g1 = Symbol.for("react.forward_ref"), y1 = Symbol.for("react.suspense"), r2 = Symbol.for("react.suspense_list"), D1 = Symbol.for("react.memo"), N1 = Symbol.for("react.lazy"), G1 = Symbol.for("react.offscreen"), m1 = Symbol.iterator;
@@ -21626,7 +21628,7 @@ function MA() {
21626
21628
  g.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, g);
21627
21629
  }
21628
21630
  }
21629
- var y = 0, L = 1, V = 2, k = 3, S = 4, _ = 5, R = 6, N = 7, Z = 8, z = 9, P = 10, I = 11, W = 12, $ = 13, J = 14, e1 = 15, c1 = 16, d1 = 17, k1 = 18, M1 = 19, g1 = 21, y1 = 22, r2 = 23, D1 = 24, N1 = 25, G1 = !0, m1 = !1, S1 = !1, v1 = !1, Q1 = !1, q1 = !1, j1 = !0, x2 = !0, n3 = !0, H2 = /* @__PURE__ */ new Set(), V2 = {}, o2 = {};
21631
+ var y = 0, L = 1, V = 2, k = 3, S = 4, _ = 5, R = 6, N = 7, O = 8, U = 9, P = 10, I = 11, W = 12, $ = 13, J = 14, e1 = 15, c1 = 16, d1 = 17, k1 = 18, M1 = 19, g1 = 21, y1 = 22, r2 = 23, D1 = 24, N1 = 25, G1 = !0, m1 = !1, S1 = !1, v1 = !1, Q1 = !1, q1 = !1, j1 = !0, x2 = !0, n3 = !0, H2 = /* @__PURE__ */ new Set(), V2 = {}, o2 = {};
21630
21632
  function l2(e, t) {
21631
21633
  R2(e, t), R2(e + "Capture", t);
21632
21634
  }
@@ -22156,12 +22158,12 @@ function MA() {
22156
22158
  e[M] = u;
22157
22159
  return;
22158
22160
  }
22159
- var D = h.attributeName, O = h.attributeNamespace;
22161
+ var D = h.attributeName, Z = h.attributeNamespace;
22160
22162
  if (u === null)
22161
22163
  e.removeAttribute(D);
22162
22164
  else {
22163
22165
  var G = h.type, Q;
22164
- G === le || G === Oe && u === !0 ? Q = "" : (m3(u, D), Q = "" + u, h.sanitizeURL && D6(Q.toString())), O ? e.setAttributeNS(O, D, Q) : e.setAttribute(D, Q);
22166
+ G === le || G === Oe && u === !0 ? Q = "" : (m3(u, D), Q = "" + u, h.sanitizeURL && D6(Q.toString())), Z ? e.setAttributeNS(Z, D, Q) : e.setAttribute(D, Q);
22165
22167
  }
22166
22168
  }
22167
22169
  }
@@ -22303,18 +22305,18 @@ function MA() {
22303
22305
  if (l1 && c && typeof l1.stack == "string") {
22304
22306
  for (var M = l1.stack.split(`
22305
22307
  `), E = c.stack.split(`
22306
- `), D = M.length - 1, O = E.length - 1; D >= 1 && O >= 0 && M[D] !== E[O]; )
22307
- O--;
22308
- for (; D >= 1 && O >= 0; D--, O--)
22309
- if (M[D] !== E[O]) {
22310
- if (D !== 1 || O !== 1)
22308
+ `), D = M.length - 1, Z = E.length - 1; D >= 1 && Z >= 0 && M[D] !== E[Z]; )
22309
+ Z--;
22310
+ for (; D >= 1 && Z >= 0; D--, Z--)
22311
+ if (M[D] !== E[Z]) {
22312
+ if (D !== 1 || Z !== 1)
22311
22313
  do
22312
- if (D--, O--, O < 0 || M[D] !== E[O]) {
22314
+ if (D--, Z--, Z < 0 || M[D] !== E[Z]) {
22313
22315
  var G = `
22314
22316
  ` + M[D].replace(" at new ", " at ");
22315
22317
  return e.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", e.displayName)), typeof e == "function" && J7.set(e, G), G;
22316
22318
  }
22317
- while (D >= 1 && O >= 0);
22319
+ while (D >= 1 && Z >= 0);
22318
22320
  break;
22319
22321
  }
22320
22322
  }
@@ -22465,7 +22467,7 @@ Error generating stack: ` + c.message + `
22465
22467
  switch (t) {
22466
22468
  case D1:
22467
22469
  return "Cache";
22468
- case z:
22470
+ case U:
22469
22471
  var c = u;
22470
22472
  return T8(c) + ".Consumer";
22471
22473
  case P:
@@ -22487,7 +22489,7 @@ Error generating stack: ` + c.message + `
22487
22489
  return "Text";
22488
22490
  case c1:
22489
22491
  return V3(u);
22490
- case Z:
22492
+ case O:
22491
22493
  return u === K5 ? "StrictMode" : "Mode";
22492
22494
  case y1:
22493
22495
  return "Offscreen";
@@ -22761,8 +22763,8 @@ Check the render method of \`` + e + "`." : "";
22761
22763
  h[E].selected !== D && (h[E].selected = D), D && c && (h[E].defaultSelected = !0);
22762
22764
  }
22763
22765
  } else {
22764
- for (var O = M4(We(u)), G = null, Q = 0; Q < h.length; Q++) {
22765
- if (h[Q].value === O) {
22766
+ for (var Z = M4(We(u)), G = null, Q = 0; Q < h.length; Q++) {
22767
+ if (h[Q].value === Z) {
22766
22768
  h[Q].selected = !0, c && (h[Q].defaultSelected = !0);
22767
22769
  return;
22768
22770
  }
@@ -23756,9 +23758,9 @@ Check the render method of \`` + e + "`." : "";
23756
23758
  return C("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", t), Xe[t] = !0, !0;
23757
23759
  var E = Z3(t), D = E !== null && E.type === M2;
23758
23760
  if (Gt.hasOwnProperty(h)) {
23759
- var O = Gt[h];
23760
- if (O !== t)
23761
- return C("Invalid DOM property `%s`. Did you mean `%s`?", t, O), Xe[t] = !0, !0;
23761
+ var Z = Gt[h];
23762
+ if (Z !== t)
23763
+ return C("Invalid DOM property `%s`. Did you mean `%s`?", t, Z), Xe[t] = !0, !0;
23762
23764
  } else if (!D && t !== h)
23763
23765
  return C("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.", t, h), Xe[t] = !0, !0;
23764
23766
  return typeof u == "boolean" && R3(t, u, E, !1) ? (u ? C('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.', u, t, t, u, t) : C('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.', u, t, t, u, t, t, t), Xe[t] = !0, !0) : D ? !0 : R3(t, u, E, !1) ? (Xe[t] = !0, !1) : ((u === "false" || u === "true") && E !== null && E.type === le && (C("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?", u, t, u === "false" ? "The browser will interpret it as a truthy value." : 'Although this works, it will not work as expected if you pass the string "false".', t, u), Xe[t] = !0), !0);
@@ -23896,8 +23898,8 @@ Check the render method of \`` + e + "`." : "";
23896
23898
  var D = Array.prototype.slice.call(arguments, 3);
23897
23899
  try {
23898
23900
  t.apply(u, D);
23899
- } catch (O) {
23900
- this.onError(O);
23901
+ } catch (Z) {
23902
+ this.onError(Z);
23901
23903
  }
23902
23904
  }
23903
23905
  var wr = br;
@@ -23906,7 +23908,7 @@ Check the render method of \`` + e + "`." : "";
23906
23908
  wr = function(t, u, c, h, g, w, M, E, D) {
23907
23909
  if (typeof document > "u" || document === null)
23908
23910
  throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");
23909
- var O = document.createEvent("Event"), G = !1, Q = !0, o1 = window.event, l1 = Object.getOwnPropertyDescriptor(window, "event");
23911
+ var Z = document.createEvent("Event"), G = !1, Q = !0, o1 = window.event, l1 = Object.getOwnPropertyDescriptor(window, "event");
23910
23912
  function C1() {
23911
23913
  Aa.removeEventListener(f1, h2, !1), typeof window.event < "u" && window.hasOwnProperty("event") && (window.event = o1);
23912
23914
  }
@@ -23923,7 +23925,7 @@ Check the render method of \`` + e + "`." : "";
23923
23925
  }
23924
23926
  }
23925
23927
  var f1 = "react-" + (t || "invokeguardedcallback");
23926
- if (window.addEventListener("error", a1), Aa.addEventListener(f1, h2, !1), O.initEvent(f1, !1, !1), Aa.dispatchEvent(O), l1 && Object.defineProperty(window, "event", l1), G && Q && (r3 ? q2 && (s2 = new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")) : s2 = new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`), this.onError(s2)), window.removeEventListener("error", a1), !G)
23928
+ if (window.addEventListener("error", a1), Aa.addEventListener(f1, h2, !1), Z.initEvent(f1, !1, !1), Aa.dispatchEvent(Z), l1 && Object.defineProperty(window, "event", l1), G && Q && (r3 ? q2 && (s2 = new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")) : s2 = new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`), this.onError(s2)), window.removeEventListener("error", a1), !G)
23927
23929
  return C1(), br.apply(this, arguments);
23928
23930
  };
23929
23931
  }
@@ -24126,28 +24128,28 @@ Check the render method of \`` + e + "`." : "";
24126
24128
  if (c.return !== h.return)
24127
24129
  c = g, h = w;
24128
24130
  else {
24129
- for (var D = !1, O = g.child; O; ) {
24130
- if (O === c) {
24131
+ for (var D = !1, Z = g.child; Z; ) {
24132
+ if (Z === c) {
24131
24133
  D = !0, c = g, h = w;
24132
24134
  break;
24133
24135
  }
24134
- if (O === h) {
24136
+ if (Z === h) {
24135
24137
  D = !0, h = g, c = w;
24136
24138
  break;
24137
24139
  }
24138
- O = O.sibling;
24140
+ Z = Z.sibling;
24139
24141
  }
24140
24142
  if (!D) {
24141
- for (O = w.child; O; ) {
24142
- if (O === c) {
24143
+ for (Z = w.child; Z; ) {
24144
+ if (Z === c) {
24143
24145
  D = !0, c = w, h = g;
24144
24146
  break;
24145
24147
  }
24146
- if (O === h) {
24148
+ if (Z === h) {
24147
24149
  D = !0, h = w, c = g;
24148
24150
  break;
24149
24151
  }
24150
- O = O.sibling;
24152
+ Z = Z.sibling;
24151
24153
  }
24152
24154
  if (!D)
24153
24155
  throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.");
@@ -24585,14 +24587,14 @@ Check the render method of \`` + e + "`." : "";
24585
24587
  if (t !== L1 && t !== c && // If we already suspended with a delay, then interrupting is fine. Don't
24586
24588
  // bother waiting until the root is complete.
24587
24589
  (t & h) === L1) {
24588
- var O = G6(c), G = G6(t);
24590
+ var Z = G6(c), G = G6(t);
24589
24591
  if (
24590
24592
  // Tests whether the next lane is equal or lower priority than the wip
24591
24593
  // one. This works because the bits decrease in priority as you go left.
24592
- O >= G || // Default priority updates should not interrupt transition updates. The
24594
+ Z >= G || // Default priority updates should not interrupt transition updates. The
24593
24595
  // only difference between default updates and transition updates is that
24594
24596
  // default updates do not support refresh transitions.
24595
- O === Y4 && (G & Y9) !== L1
24597
+ Z === Y4 && (G & Y9) !== L1
24596
24598
  )
24597
24599
  return t;
24598
24600
  }
@@ -24988,8 +24990,8 @@ Check the render method of \`` + e + "`." : "";
24988
24990
  return K8.set(D, nt(K8.get(D) || null, e, t, u, c, E)), !0;
24989
24991
  }
24990
24992
  case "gotpointercapture": {
24991
- var O = h, G = O.pointerId;
24992
- return Ce.set(G, nt(Ce.get(G) || null, e, t, u, c, O)), !0;
24993
+ var Z = h, G = Z.pointerId;
24994
+ return Ce.set(G, nt(Ce.get(G) || null, e, t, u, c, Z)), !0;
24993
24995
  }
24994
24996
  }
24995
24997
  return !1;
@@ -25784,9 +25786,9 @@ Check the render method of \`` + e + "`." : "";
25784
25786
  function a2(e, t, u, c, h, g, w) {
25785
25787
  var M = u ? vn(u) : window, E, D;
25786
25788
  if (n(M) ? E = b : gs(M) ? H ? E = U1 : (E = x1, D = s1) : H1(M) && (E = b1), E) {
25787
- var O = E(t, u);
25788
- if (O) {
25789
- lt(e, O, c, h);
25789
+ var Z = E(t, u);
25790
+ if (Z) {
25791
+ lt(e, Z, c, h);
25790
25792
  return;
25791
25793
  }
25792
25794
  }
@@ -25803,12 +25805,12 @@ Check the render method of \`` + e + "`." : "";
25803
25805
  return;
25804
25806
  }
25805
25807
  if (!(!E && !M)) {
25806
- var O;
25808
+ var Z;
25807
25809
  if (h.window === h)
25808
- O = h;
25810
+ Z = h;
25809
25811
  else {
25810
25812
  var G = h.ownerDocument;
25811
- G ? O = G.defaultView || G.parentWindow : O = window;
25813
+ G ? Z = G.defaultView || G.parentWindow : Z = window;
25812
25814
  }
25813
25815
  var Q, o1;
25814
25816
  if (E) {
@@ -25822,7 +25824,7 @@ Check the render method of \`` + e + "`." : "";
25822
25824
  if (Q !== o1) {
25823
25825
  var $1 = m6, h2 = "onMouseLeave", s2 = "onMouseEnter", r3 = "mouse";
25824
25826
  (t === "pointerout" || t === "pointerover") && ($1 = us, h2 = "onPointerLeave", s2 = "onPointerEnter", r3 = "pointer");
25825
- var q2 = Q == null ? O : vn(Q), a1 = o1 == null ? O : vn(o1), f1 = new $1(h2, r3 + "leave", Q, c, h);
25827
+ var q2 = Q == null ? Z : vn(Q), a1 = o1 == null ? Z : vn(o1), f1 = new $1(h2, r3 + "leave", Q, c, h);
25826
25828
  f1.target = q2, f1.relatedTarget = a1;
25827
25829
  var i1 = null, V1 = S0(h);
25828
25830
  if (V1 === u) {
@@ -25890,18 +25892,18 @@ Check the render method of \`` + e + "`." : "";
25890
25892
  return ze(e, h, g, w, M);
25891
25893
  }
25892
25894
  function ze(e, t, u, c, h) {
25893
- var g = 0, w = -1, M = -1, E = 0, D = 0, O = e, G = null;
25895
+ var g = 0, w = -1, M = -1, E = 0, D = 0, Z = e, G = null;
25894
25896
  e: for (; ; ) {
25895
- for (var Q = null; O === t && (u === 0 || O.nodeType === n6) && (w = g + u), O === c && (h === 0 || O.nodeType === n6) && (M = g + h), O.nodeType === n6 && (g += O.nodeValue.length), (Q = O.firstChild) !== null; )
25896
- G = O, O = Q;
25897
+ for (var Q = null; Z === t && (u === 0 || Z.nodeType === n6) && (w = g + u), Z === c && (h === 0 || Z.nodeType === n6) && (M = g + h), Z.nodeType === n6 && (g += Z.nodeValue.length), (Q = Z.firstChild) !== null; )
25898
+ G = Z, Z = Q;
25897
25899
  for (; ; ) {
25898
- if (O === e)
25900
+ if (Z === e)
25899
25901
  break e;
25900
- if (G === t && ++E === u && (w = g), G === c && ++D === h && (M = g), (Q = O.nextSibling) !== null)
25902
+ if (G === t && ++E === u && (w = g), G === c && ++D === h && (M = g), (Q = Z.nextSibling) !== null)
25901
25903
  break;
25902
- O = G, G = O.parentNode;
25904
+ Z = G, G = Z.parentNode;
25903
25905
  }
25904
- O = Q;
25906
+ Z = Q;
25905
25907
  }
25906
25908
  return w === -1 || M === -1 ? null : {
25907
25909
  start: w,
@@ -25916,12 +25918,12 @@ Check the render method of \`` + e + "`." : "";
25916
25918
  var E = M;
25917
25919
  M = w, w = E;
25918
25920
  }
25919
- var D = g2(e, w), O = g2(e, M);
25920
- if (D && O) {
25921
- if (h.rangeCount === 1 && h.anchorNode === D.node && h.anchorOffset === D.offset && h.focusNode === O.node && h.focusOffset === O.offset)
25921
+ var D = g2(e, w), Z = g2(e, M);
25922
+ if (D && Z) {
25923
+ if (h.rangeCount === 1 && h.anchorNode === D.node && h.anchorOffset === D.offset && h.focusNode === Z.node && h.focusOffset === Z.offset)
25922
25924
  return;
25923
25925
  var G = u.createRange();
25924
- G.setStart(D.node, D.offset), h.removeAllRanges(), w > M ? (h.addRange(G), h.extend(O.node, O.offset)) : (G.setEnd(O.node, O.offset), h.addRange(G));
25926
+ G.setStart(D.node, D.offset), h.removeAllRanges(), w > M ? (h.addRange(G), h.extend(Z.node, Z.offset)) : (G.setEnd(Z.node, Z.offset), h.addRange(G));
25925
25927
  }
25926
25928
  }
25927
25929
  }
@@ -26171,13 +26173,13 @@ Check the render method of \`` + e + "`." : "";
26171
26173
  E = us;
26172
26174
  break;
26173
26175
  }
26174
- var O = (g & k5) !== 0;
26176
+ var Z = (g & k5) !== 0;
26175
26177
  {
26176
- var G = !O && // TODO: ideally, we'd eventually add all events from
26178
+ var G = !Z && // TODO: ideally, we'd eventually add all events from
26177
26179
  // nonDelegatedEvents list in DOMPluginEventSystem.
26178
26180
  // Then we can remove this special list.
26179
26181
  // This is a breaking change that can wait until React 18.
26180
- t === "scroll", Q = bx(u, M, c.type, O, G);
26182
+ t === "scroll", Q = bx(u, M, c.type, Z, G);
26181
26183
  if (Q.length > 0) {
26182
26184
  var o1 = new E(M, D, null, c, h);
26183
26185
  e.push({
@@ -26210,7 +26212,7 @@ Check the render method of \`` + e + "`." : "";
26210
26212
  }
26211
26213
  else
26212
26214
  for (var D = 0; D < t.length; D++) {
26213
- var O = t[D], G = O.instance, Q = O.currentTarget, o1 = O.listener;
26215
+ var Z = t[D], G = Z.instance, Q = Z.currentTarget, o1 = Z.listener;
26214
26216
  if (G !== c && e.isPropagationStopped())
26215
26217
  return;
26216
26218
  Cm(e, o1, Q), c = G;
@@ -26269,14 +26271,14 @@ Check the render method of \`` + e + "`." : "";
26269
26271
  if (hm(D, w))
26270
26272
  break;
26271
26273
  if (E === S)
26272
- for (var O = M.return; O !== null; ) {
26273
- var G = O.tag;
26274
+ for (var Z = M.return; Z !== null; ) {
26275
+ var G = Z.tag;
26274
26276
  if (G === k || G === S) {
26275
- var Q = O.stateNode.containerInfo;
26277
+ var Q = Z.stateNode.containerInfo;
26276
26278
  if (hm(Q, w))
26277
26279
  return;
26278
26280
  }
26279
- O = O.return;
26281
+ Z = Z.return;
26280
26282
  }
26281
26283
  for (; D !== null; ) {
26282
26284
  var o1 = S0(D);
@@ -26306,11 +26308,11 @@ Check the render method of \`` + e + "`." : "";
26306
26308
  };
26307
26309
  }
26308
26310
  function bx(e, t, u, c, h, g) {
26309
- for (var w = t !== null ? t + "Capture" : null, M = c ? w : t, E = [], D = e, O = null; D !== null; ) {
26311
+ for (var w = t !== null ? t + "Capture" : null, M = c ? w : t, E = [], D = e, Z = null; D !== null; ) {
26310
26312
  var G = D, Q = G.stateNode, o1 = G.tag;
26311
- if (o1 === _ && Q !== null && (O = Q, M !== null)) {
26313
+ if (o1 === _ && Q !== null && (Z = Q, M !== null)) {
26312
26314
  var l1 = j6(D, M);
26313
- l1 != null && E.push(Mi(D, l1, O));
26315
+ l1 != null && E.push(Mi(D, l1, Z));
26314
26316
  }
26315
26317
  if (h)
26316
26318
  break;
@@ -26324,8 +26326,8 @@ Check the render method of \`` + e + "`." : "";
26324
26326
  if (M === _ && w !== null) {
26325
26327
  var E = w, D = j6(h, u);
26326
26328
  D != null && c.unshift(Mi(h, D, E));
26327
- var O = j6(h, t);
26328
- O != null && c.push(Mi(h, O, E));
26329
+ var Z = j6(h, t);
26330
+ Z != null && c.push(Mi(h, Z, E));
26329
26331
  }
26330
26332
  h = h.return;
26331
26333
  }
@@ -26357,11 +26359,11 @@ Check the render method of \`` + e + "`." : "";
26357
26359
  }
26358
26360
  function mm(e, t, u, c, h) {
26359
26361
  for (var g = t._reactName, w = [], M = u; M !== null && M !== c; ) {
26360
- var E = M, D = E.alternate, O = E.stateNode, G = E.tag;
26362
+ var E = M, D = E.alternate, Z = E.stateNode, G = E.tag;
26361
26363
  if (D !== null && D === c)
26362
26364
  break;
26363
- if (G === _ && O !== null) {
26364
- var Q = O;
26365
+ if (G === _ && Z !== null) {
26366
+ var Q = Z;
26365
26367
  if (h) {
26366
26368
  var o1 = j6(M, g);
26367
26369
  o1 != null && w.unshift(Mi(M, o1, Q));
@@ -26474,8 +26476,8 @@ Check the render method of \`` + e + "`." : "";
26474
26476
  is: t.is
26475
26477
  });
26476
26478
  else if (w = g.createElement(e), e === "select") {
26477
- var O = w;
26478
- t.multiple ? O.multiple = !0 : t.size && (O.size = t.size);
26479
+ var Z = w;
26480
+ t.multiple ? Z.multiple = !0 : t.size && (Z.size = t.size);
26479
26481
  }
26480
26482
  } else
26481
26483
  w = g.createElementNS(M, e);
@@ -26565,13 +26567,13 @@ Check the render method of \`` + e + "`." : "";
26565
26567
  break;
26566
26568
  }
26567
26569
  dr(t, M);
26568
- var E, D, O = null;
26570
+ var E, D, Z = null;
26569
26571
  for (E in w)
26570
26572
  if (!(M.hasOwnProperty(E) || !w.hasOwnProperty(E) || w[E] == null))
26571
26573
  if (E === E0) {
26572
26574
  var G = w[E];
26573
26575
  for (D in G)
26574
- G.hasOwnProperty(D) && (O || (O = {}), O[D] = "");
26576
+ G.hasOwnProperty(D) && (Z || (Z = {}), Z[D] = "");
26575
26577
  } else E === ki || E === k0 || E === Hs || E === ut || E === vm || (V2.hasOwnProperty(E) ? g || (g = []) : (g = g || []).push(E, null));
26576
26578
  for (E in M) {
26577
26579
  var Q = M[E], o1 = w != null ? w[E] : void 0;
@@ -26579,17 +26581,17 @@ Check the render method of \`` + e + "`." : "";
26579
26581
  if (E === E0)
26580
26582
  if (Q && Object.freeze(Q), o1) {
26581
26583
  for (D in o1)
26582
- o1.hasOwnProperty(D) && (!Q || !Q.hasOwnProperty(D)) && (O || (O = {}), O[D] = "");
26584
+ o1.hasOwnProperty(D) && (!Q || !Q.hasOwnProperty(D)) && (Z || (Z = {}), Z[D] = "");
26583
26585
  for (D in Q)
26584
- Q.hasOwnProperty(D) && o1[D] !== Q[D] && (O || (O = {}), O[D] = Q[D]);
26586
+ Q.hasOwnProperty(D) && o1[D] !== Q[D] && (Z || (Z = {}), Z[D] = Q[D]);
26585
26587
  } else
26586
- O || (g || (g = []), g.push(E, O)), O = Q;
26588
+ Z || (g || (g = []), g.push(E, Z)), Z = Q;
26587
26589
  else if (E === ki) {
26588
26590
  var l1 = Q ? Q[Vs] : void 0, C1 = o1 ? o1[Vs] : void 0;
26589
26591
  l1 != null && C1 !== l1 && (g = g || []).push(E, l1);
26590
26592
  } else E === k0 ? (typeof Q == "string" || typeof Q == "number") && (g = g || []).push(E, "" + Q) : E === Hs || E === ut || (V2.hasOwnProperty(E) ? (Q != null && (typeof Q != "function" && ks(E, Q), E === "onScroll" && ae("scroll", e)), !g && o1 !== Q && (g = [])) : (g = g || []).push(E, Q));
26591
26593
  }
26592
- return O && (Jc(O, M[E0]), (g = g || []).push(E0, O)), g;
26594
+ return Z && (Jc(Z, M[E0]), (g = g || []).push(E0, Z)), g;
26593
26595
  }
26594
26596
  function Zx(e, t, u, c, h) {
26595
26597
  u === "input" && h.type === "radio" && h.name != null && k3(e, h);
@@ -26655,8 +26657,8 @@ Check the render method of \`` + e + "`." : "";
26655
26657
  dr(t, u);
26656
26658
  {
26657
26659
  E = /* @__PURE__ */ new Set();
26658
- for (var O = e.attributes, G = 0; G < O.length; G++) {
26659
- var Q = O[G].name.toLowerCase();
26660
+ for (var Z = e.attributes, G = 0; G < Z.length; G++) {
26661
+ var Q = Z[G].name.toLowerCase();
26660
26662
  switch (Q) {
26661
26663
  case "value":
26662
26664
  break;
@@ -26665,7 +26667,7 @@ Check the render method of \`` + e + "`." : "";
26665
26667
  case "selected":
26666
26668
  break;
26667
26669
  default:
26668
- E.add(O[G].name);
26670
+ E.add(Z[G].name);
26669
26671
  }
26670
26672
  }
26671
26673
  }
@@ -26934,12 +26936,12 @@ Check the render method of \`` + e + "`." : "";
26934
26936
  var E = M.tag, D = !!g + "|" + e + "|" + E;
26935
26937
  if (!Hm[D]) {
26936
26938
  Hm[D] = !0;
26937
- var O = e, G = "";
26938
- if (e === "#text" ? /\S/.test(t) ? O = "Text nodes" : (O = "Whitespace text nodes", G = " Make sure you don't have any extra whitespace between tags on each line of your source code.") : O = "<" + e + ">", g) {
26939
+ var Z = e, G = "";
26940
+ if (e === "#text" ? /\S/.test(t) ? Z = "Text nodes" : (Z = "Whitespace text nodes", G = " Make sure you don't have any extra whitespace between tags on each line of your source code.") : Z = "<" + e + ">", g) {
26939
26941
  var Q = "";
26940
- E === "table" && e === "tr" && (Q += " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."), C("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s", O, E, G, Q);
26942
+ E === "table" && e === "tr" && (Q += " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."), C("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s", Z, E, G, Q);
26941
26943
  } else
26942
- C("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.", O, E);
26944
+ C("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.", Z, E);
26943
26945
  }
26944
26946
  }
26945
26947
  };
@@ -27556,7 +27558,7 @@ Check the render method of \`` + e + "`." : "";
27556
27558
  D0(), N7[B7++] = l9, N7[B7++] = s9, N7[B7++] = T0, T0 = e;
27557
27559
  var c = l9, h = s9, g = $s(c) - 1, w = c & ~(1 << g), M = u + 1, E = $s(t) + g;
27558
27560
  if (E > 30) {
27559
- var D = g - g % 5, O = (1 << D) - 1, G = (w & O).toString(32), Q = w >> D, o1 = g - D, l1 = $s(t) + o1, C1 = M << o1, $1 = C1 | Q, h2 = G + h;
27561
+ var D = g - g % 5, Z = (1 << D) - 1, G = (w & Z).toString(32), Q = w >> D, o1 = g - D, l1 = $s(t) + o1, C1 = M << o1, $1 = C1 | Q, h2 = G + h;
27560
27562
  l9 = 1 << l1 | $1, s9 = h2;
27561
27563
  } else {
27562
27564
  var s2 = M << g, r3 = s2 | w, q2 = h;
@@ -27667,7 +27669,7 @@ Check the render method of \`` + e + "`." : "";
27667
27669
  var g = e.type, w = e.memoizedProps, M = e.stateNode;
27668
27670
  switch (t.tag) {
27669
27671
  case _: {
27670
- var E = t.type, D = t.pendingProps, O = (e.mode & Y2) !== C2;
27672
+ var E = t.type, D = t.pendingProps, Z = (e.mode & Y2) !== C2;
27671
27673
  UH(
27672
27674
  g,
27673
27675
  w,
@@ -27675,7 +27677,7 @@ Check the render method of \`` + e + "`." : "";
27675
27677
  E,
27676
27678
  D,
27677
27679
  // TODO: Delete this argument when we remove the legacy root API.
27678
- O
27680
+ Z
27679
27681
  );
27680
27682
  break;
27681
27683
  }
@@ -27793,7 +27795,7 @@ Check the render method of \`` + e + "`." : "";
27793
27795
  break;
27794
27796
  }
27795
27797
  case _: {
27796
- var M = h.type, E = h.memoizedProps, D = h.stateNode, O = (h.mode & Y2) !== C2;
27798
+ var M = h.type, E = h.memoizedProps, D = h.stateNode, Z = (h.mode & Y2) !== C2;
27797
27799
  OH(
27798
27800
  M,
27799
27801
  E,
@@ -27801,7 +27803,7 @@ Check the render method of \`` + e + "`." : "";
27801
27803
  t,
27802
27804
  u,
27803
27805
  // TODO: Delete this argument when we remove the legacy root API.
27804
- O
27806
+ Z
27805
27807
  );
27806
27808
  break;
27807
27809
  }
@@ -27950,14 +27952,14 @@ Please update the following components: %s`, E);
27950
27952
  Please update the following components: %s`, D);
27951
27953
  }
27952
27954
  if (u.size > 0) {
27953
- var O = Z0(u);
27955
+ var Z = Z0(u);
27954
27956
  p(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
27955
27957
 
27956
27958
  * Move data fetching code or side effects to componentDidUpdate.
27957
27959
  * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
27958
27960
  * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
27959
27961
 
27960
- Please update the following components: %s`, O);
27962
+ Please update the following components: %s`, Z);
27961
27963
  }
27962
27964
  if (h.size > 0) {
27963
27965
  var G = Z0(h);
@@ -28058,8 +28060,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, h)
28058
28060
  E.tag = Ks;
28059
28061
  var D = c.updateQueue;
28060
28062
  if (D !== null) {
28061
- var O = D.shared, G = O.pending;
28062
- G === null ? E.next = E : (E.next = G.next, G.next = E), O.pending = E;
28063
+ var Z = D.shared, G = Z.pending;
28064
+ G === null ? E.next = E : (E.next = G.next, G.next = E), Z.pending = E;
28063
28065
  }
28064
28066
  }
28065
28067
  c.lanes = Z2(c.lanes, u);
@@ -28271,8 +28273,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, h)
28271
28273
  return;
28272
28274
  }
28273
28275
  }
28274
- var O = u.lastBaseUpdate;
28275
- O === null ? u.firstBaseUpdate = t : O.next = t, u.lastBaseUpdate = t;
28276
+ var Z = u.lastBaseUpdate;
28277
+ Z === null ? u.firstBaseUpdate = t : Z.next = t, u.lastBaseUpdate = t;
28276
28278
  }
28277
28279
  function HV(e, t, u, c, h, g) {
28278
28280
  switch (u.tag) {
@@ -28330,9 +28332,9 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, h)
28330
28332
  h.shared.pending = null;
28331
28333
  var E = M, D = E.next;
28332
28334
  E.next = null, w === null ? g = D : w.next = D, w = E;
28333
- var O = e.alternate;
28334
- if (O !== null) {
28335
- var G = O.updateQueue, Q = G.lastBaseUpdate;
28335
+ var Z = e.alternate;
28336
+ if (Z !== null) {
28337
+ var G = Z.updateQueue, Q = G.lastBaseUpdate;
28336
28338
  Q !== w && (Q === null ? G.firstBaseUpdate = D : Q.next = D, G.lastBaseUpdate = E);
28337
28339
  }
28338
28340
  }
@@ -28527,25 +28529,25 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, h)
28527
28529
  var D = t.contextTypes;
28528
28530
  c = D != null, g = c ? yn(e, h) : u7;
28529
28531
  }
28530
- var O = new t(u, g);
28532
+ var Z = new t(u, g);
28531
28533
  if (e.mode & de) {
28532
28534
  Y3(!0);
28533
28535
  try {
28534
- O = new t(u, g);
28536
+ Z = new t(u, g);
28535
28537
  } finally {
28536
28538
  Y3(!1);
28537
28539
  }
28538
28540
  }
28539
- var G = e.memoizedState = O.state !== null && O.state !== void 0 ? O.state : null;
28540
- lv(e, O);
28541
+ var G = e.memoizedState = Z.state !== null && Z.state !== void 0 ? Z.state : null;
28542
+ lv(e, Z);
28541
28543
  {
28542
28544
  if (typeof t.getDerivedStateFromProps == "function" && G === null) {
28543
28545
  var Q = V3(t) || "Component";
28544
- dC.has(Q) || (dC.add(Q), C("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", Q, O.state === null ? "null" : "undefined", Q));
28546
+ dC.has(Q) || (dC.add(Q), C("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", Q, Z.state === null ? "null" : "undefined", Q));
28545
28547
  }
28546
- if (typeof t.getDerivedStateFromProps == "function" || typeof O.getSnapshotBeforeUpdate == "function") {
28548
+ if (typeof t.getDerivedStateFromProps == "function" || typeof Z.getSnapshotBeforeUpdate == "function") {
28547
28549
  var o1 = null, l1 = null, C1 = null;
28548
- if (typeof O.componentWillMount == "function" && O.componentWillMount.__suppressDeprecationWarning !== !0 ? o1 = "componentWillMount" : typeof O.UNSAFE_componentWillMount == "function" && (o1 = "UNSAFE_componentWillMount"), typeof O.componentWillReceiveProps == "function" && O.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? l1 = "componentWillReceiveProps" : typeof O.UNSAFE_componentWillReceiveProps == "function" && (l1 = "UNSAFE_componentWillReceiveProps"), typeof O.componentWillUpdate == "function" && O.componentWillUpdate.__suppressDeprecationWarning !== !0 ? C1 = "componentWillUpdate" : typeof O.UNSAFE_componentWillUpdate == "function" && (C1 = "UNSAFE_componentWillUpdate"), o1 !== null || l1 !== null || C1 !== null) {
28550
+ if (typeof Z.componentWillMount == "function" && Z.componentWillMount.__suppressDeprecationWarning !== !0 ? o1 = "componentWillMount" : typeof Z.UNSAFE_componentWillMount == "function" && (o1 = "UNSAFE_componentWillMount"), typeof Z.componentWillReceiveProps == "function" && Z.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? l1 = "componentWillReceiveProps" : typeof Z.UNSAFE_componentWillReceiveProps == "function" && (l1 = "UNSAFE_componentWillReceiveProps"), typeof Z.componentWillUpdate == "function" && Z.componentWillUpdate.__suppressDeprecationWarning !== !0 ? C1 = "componentWillUpdate" : typeof Z.UNSAFE_componentWillUpdate == "function" && (C1 = "UNSAFE_componentWillUpdate"), o1 !== null || l1 !== null || C1 !== null) {
28549
28551
  var $1 = V3(t) || "Component", h2 = typeof t.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
28550
28552
  fC.has($1) || (fC.add($1), C(`Unsafe legacy lifecycles will not be called for components using new component APIs.
28551
28553
 
@@ -28559,7 +28561,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, $1, h2, o1 !== null ? `
28559
28561
  }
28560
28562
  }
28561
28563
  }
28562
- return c && Dm(e, h, g), O;
28564
+ return c && Dm(e, h, g), Z;
28563
28565
  }
28564
28566
  function kV(e, t) {
28565
28567
  var u = t.state;
@@ -28610,7 +28612,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, $1, h2, o1 !== null ? `
28610
28612
  var D = gn(e, t, !0);
28611
28613
  E = yn(e, D);
28612
28614
  }
28613
- var O = t.getDerivedStateFromProps, G = typeof O == "function" || typeof h.getSnapshotBeforeUpdate == "function";
28615
+ var Z = t.getDerivedStateFromProps, G = typeof Z == "function" || typeof h.getSnapshotBeforeUpdate == "function";
28614
28616
  !G && (typeof h.UNSAFE_componentWillReceiveProps == "function" || typeof h.componentWillReceiveProps == "function") && (g !== u || w !== E) && uv(e, h, u, E), tv();
28615
28617
  var Q = e.memoizedState, o1 = h.state = Q;
28616
28618
  if (ru(e, u, h, c), o1 = e.memoizedState, g === u && Q === o1 && !Fs() && !nu()) {
@@ -28620,7 +28622,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, $1, h2, o1 !== null ? `
28620
28622
  }
28621
28623
  return !1;
28622
28624
  }
28623
- typeof O == "function" && (gC(e, t, O, u), o1 = e.memoizedState);
28625
+ typeof Z == "function" && (gC(e, t, Z, u), o1 = e.memoizedState);
28624
28626
  var C1 = nu() || ov(e, t, g, u, Q, o1, E);
28625
28627
  if (C1) {
28626
28628
  if (!G && (typeof h.UNSAFE_componentWillMount == "function" || typeof h.componentWillMount == "function") && (typeof h.componentWillMount == "function" && h.componentWillMount(), typeof h.UNSAFE_componentWillMount == "function" && h.UNSAFE_componentWillMount()), typeof h.componentDidMount == "function") {
@@ -28641,9 +28643,9 @@ https://reactjs.org/link/unsafe-component-lifecycles`, $1, h2, o1 !== null ? `
28641
28643
  ev(e, t);
28642
28644
  var w = t.memoizedProps, M = t.type === t.elementType ? w : w6(t.type, w);
28643
28645
  g.props = M;
28644
- var E = t.pendingProps, D = g.context, O = u.contextType, G = u7;
28645
- if (typeof O == "object" && O !== null)
28646
- G = Ue(O);
28646
+ var E = t.pendingProps, D = g.context, Z = u.contextType, G = u7;
28647
+ if (typeof Z == "object" && Z !== null)
28648
+ G = Ue(Z);
28647
28649
  else {
28648
28650
  var Q = gn(t, u, !0);
28649
28651
  G = yn(t, Q);
@@ -28697,11 +28699,11 @@ https://reactjs.org/link/unsafe-component-lifecycles`, $1, h2, o1 !== null ? `
28697
28699
  var D = "" + c;
28698
28700
  if (t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === D)
28699
28701
  return t.ref;
28700
- var O = function(G) {
28702
+ var Z = function(G) {
28701
28703
  var Q = E.refs;
28702
28704
  Q === nv && (Q = E.refs = {}), G === null ? delete Q[D] : Q[D] = G;
28703
28705
  };
28704
- return O._stringRef = D, O;
28706
+ return Z._stringRef = D, Z;
28705
28707
  } else {
28706
28708
  if (typeof c != "string")
28707
28709
  throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");
@@ -28779,7 +28781,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
28779
28781
  function E(a1, f1, i1, V1) {
28780
28782
  var Y1 = i1.type;
28781
28783
  if (Y1 === y7)
28782
- return O(a1, f1, i1.props.children, V1, i1.key);
28784
+ return Z(a1, f1, i1.props.children, V1, i1.key);
28783
28785
  if (f1 !== null && (f1.elementType === Y1 || // Keep this check inline so it only runs on the false path:
28784
28786
  ry(f1, i1) || // Lazy types should reconcile their resolved type.
28785
28787
  // We need to do this after the Hot Reloading check above,
@@ -28801,7 +28803,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
28801
28803
  return A1.return = a1, A1;
28802
28804
  }
28803
28805
  }
28804
- function O(a1, f1, i1, V1, Y1) {
28806
+ function Z(a1, f1, i1, V1, Y1) {
28805
28807
  if (f1 === null || f1.tag !== N) {
28806
28808
  var A1 = Vt(i1, a1.mode, V1, Y1);
28807
28809
  return A1.return = a1, A1;
@@ -28854,7 +28856,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
28854
28856
  }
28855
28857
  }
28856
28858
  if (Ge(i1) || g3(i1))
28857
- return Y1 !== null ? null : O(a1, f1, i1, V1, null);
28859
+ return Y1 !== null ? null : Z(a1, f1, i1, V1, null);
28858
28860
  iu(a1, i1);
28859
28861
  }
28860
28862
  return typeof i1 == "function" && ou(a1), null;
@@ -28880,7 +28882,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
28880
28882
  }
28881
28883
  if (Ge(V1) || g3(V1)) {
28882
28884
  var Te = a1.get(i1) || null;
28883
- return O(f1, Te, V1, Y1, null);
28885
+ return Z(f1, Te, V1, Y1, null);
28884
28886
  }
28885
28887
  iu(f1, V1);
28886
28888
  }
@@ -29394,7 +29396,7 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
29394
29396
  g.baseQueue !== w && C("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."), g.baseQueue = w = M, h.pending = null;
29395
29397
  }
29396
29398
  if (w !== null) {
29397
- var O = w.next, G = g.baseState, Q = null, o1 = null, l1 = null, C1 = O;
29399
+ var Z = w.next, G = g.baseState, Q = null, o1 = null, l1 = null, C1 = Z;
29398
29400
  do {
29399
29401
  var $1 = C1.lane;
29400
29402
  if (W8(B0, $1)) {
@@ -29428,7 +29430,7 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
29428
29430
  l1 === null ? (o1 = l1 = h2, Q = G) : l1 = l1.next = h2, _3.lanes = Z2(_3.lanes, $1), ho($1);
29429
29431
  }
29430
29432
  C1 = C1.next;
29431
- } while (C1 !== null && C1 !== O);
29433
+ } while (C1 !== null && C1 !== Z);
29432
29434
  l1 === null ? Q = G : l1.next = o1, t1(G, c.memoizedState) || ro(), c.memoizedState = G, c.baseState = Q, c.baseQueue = l1, h.lastRenderedState = G;
29433
29435
  }
29434
29436
  var q2 = h.interleaved;
@@ -29452,8 +29454,8 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
29452
29454
  h.pending = null;
29453
29455
  var E = w.next, D = E;
29454
29456
  do {
29455
- var O = D.action;
29456
- M = e(M, O), D = D.next;
29457
+ var Z = D.action;
29458
+ M = e(M, Z), D = D.next;
29457
29459
  } while (D !== E);
29458
29460
  t1(M, c.memoizedState) || ro(), c.memoizedState = M, c.baseQueue === null && (c.baseState = M), h.lastRenderedState = M;
29459
29461
  }
@@ -29499,10 +29501,10 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
29499
29501
  // checking whether we scheduled a subscription effect above.
29500
29502
  a4 !== null && a4.memoizedState.tag & t4) {
29501
29503
  c.flags |= z4, Gi(t4 | T4, wv.bind(null, c, D, g, t), void 0, null);
29502
- var O = ju();
29503
- if (O === null)
29504
+ var Z = ju();
29505
+ if (Z === null)
29504
29506
  throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");
29505
- et(O, B0) || bv(c, t, g);
29507
+ et(Z, B0) || bv(c, t, g);
29506
29508
  }
29507
29509
  return g;
29508
29510
  }
@@ -29814,10 +29816,10 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
29814
29816
  }
29815
29817
  }
29816
29818
  }
29817
- var O = Xm(e, t, h, c);
29818
- if (O !== null) {
29819
+ var Z = Xm(e, t, h, c);
29820
+ if (Z !== null) {
29819
29821
  var G = g5();
29820
- s4(O, e, c, G), Ov(O, t, c);
29822
+ s4(Z, e, c, G), Ov(Z, t, c);
29821
29823
  }
29822
29824
  }
29823
29825
  Nv(e, c);
@@ -30502,8 +30504,8 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
30502
30504
  D = `Consider adding an error boundary to your tree to customize error handling behavior.
30503
30505
  Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;
30504
30506
  else {
30505
- var O = _2(e) || "Anonymous";
30506
- D = "React will try to recreate this component tree from scratch " + ("using the error boundary you provided, " + O + ".");
30507
+ var Z = _2(e) || "Anonymous";
30508
+ D = "React will try to recreate this component tree from scratch " + ("using the error boundary you provided, " + Z + ".");
30507
30509
  }
30508
30510
  var G = E + `
30509
30511
  ` + w + `
@@ -30629,11 +30631,11 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
30629
30631
  do {
30630
30632
  switch (D.tag) {
30631
30633
  case k: {
30632
- var O = c;
30634
+ var Z = c;
30633
30635
  D.flags |= Pe;
30634
30636
  var G = tt(h);
30635
30637
  D.lanes = Z2(D.lanes, G);
30636
- var Q = Yv(D, O, G);
30638
+ var Q = Yv(D, Z, G);
30637
30639
  sC(D, Q);
30638
30640
  return;
30639
30641
  }
@@ -30711,9 +30713,9 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
30711
30713
  return E.ref = t.ref, E.return = t, t.child = E, E;
30712
30714
  }
30713
30715
  {
30714
- var D = u.type, O = D.propTypes;
30715
- O && y6(
30716
- O,
30716
+ var D = u.type, Z = D.propTypes;
30717
+ Z && y6(
30718
+ Z,
30717
30719
  c,
30718
30720
  // Resolved props
30719
30721
  "prop",
@@ -30751,10 +30753,10 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
30751
30753
  }
30752
30754
  }
30753
30755
  if (e !== null) {
30754
- var O = e.memoizedProps;
30755
- if (E1(O, c) && e.ref === t.ref && // Prevent bailout if the implementation changed due to hot reload.
30756
+ var Z = e.memoizedProps;
30757
+ if (E1(Z, c) && e.ref === t.ref && // Prevent bailout if the implementation changed due to hot reload.
30756
30758
  t.type === e.type)
30757
- if (V6 = !1, t.pendingProps = c = O, bf(e, h))
30759
+ if (V6 = !1, t.pendingProps = c = Z, bf(e, h))
30758
30760
  (e.flags & Hr) !== f2 && (V6 = !0);
30759
30761
  else return t.lanes = e.lanes, c9(e, t, h);
30760
30762
  }
@@ -30787,12 +30789,12 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
30787
30789
  } else
30788
30790
  E = u;
30789
30791
  t.lanes = t.childLanes = k4;
30790
- var O = {
30792
+ var Z = {
30791
30793
  baseLanes: E,
30792
30794
  cachePool: M,
30793
30795
  transitions: null
30794
30796
  };
30795
- return t.memoizedState = O, t.updateQueue = null, zu(t, E), null;
30797
+ return t.memoizedState = Z, t.updateQueue = null, zu(t, E), null;
30796
30798
  }
30797
30799
  else {
30798
30800
  var o1;
@@ -30864,9 +30866,9 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
30864
30866
  }
30865
30867
  case !0: {
30866
30868
  t.flags |= d2, t.flags |= Pe;
30867
- var D = new Error("Simulated error coming from DevTools"), O = tt(h);
30868
- t.lanes = Z2(t.lanes, O);
30869
- var G = lf(t, P0(D, t), O);
30869
+ var D = new Error("Simulated error coming from DevTools"), Z = tt(h);
30870
+ t.lanes = Z2(t.lanes, Z);
30871
+ var G = lf(t, P0(D, t), Z);
30870
30872
  sC(t, G);
30871
30873
  break;
30872
30874
  }
@@ -30941,8 +30943,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
30941
30943
  transitions: w.transitions
30942
30944
  }, D = t.updateQueue;
30943
30945
  if (D.baseState = E, t.memoizedState = E, t.flags & C4) {
30944
- var O = P0(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."), t);
30945
- return ng(e, t, M, u, O);
30946
+ var Z = P0(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."), t);
30947
+ return ng(e, t, M, u, Z);
30946
30948
  } else if (M !== g) {
30947
30949
  var G = P0(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."), t);
30948
30950
  return ng(e, t, M, u, G);
@@ -30975,20 +30977,20 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
30975
30977
  _u(e, t);
30976
30978
  var h = t.pendingProps, g = u, w = g._payload, M = g._init, E = M(w);
30977
30979
  t.type = E;
30978
- var D = t.tag = iE(E), O = w6(E, h), G;
30980
+ var D = t.tag = iE(E), Z = w6(E, h), G;
30979
30981
  switch (D) {
30980
30982
  case y:
30981
- return hf(t, E), t.type = E = An(E), G = ff(null, t, E, O, c), G;
30983
+ return hf(t, E), t.type = E = An(E), G = ff(null, t, E, Z, c), G;
30982
30984
  case L:
30983
- return t.type = E = $f(E), G = tg(null, t, E, O, c), G;
30985
+ return t.type = E = $f(E), G = tg(null, t, E, Z, c), G;
30984
30986
  case I:
30985
- return t.type = E = Yf(E), G = Gv(null, t, E, O, c), G;
30987
+ return t.type = E = Yf(E), G = Gv(null, t, E, Z, c), G;
30986
30988
  case J: {
30987
30989
  if (t.type !== t.elementType) {
30988
30990
  var Q = E.propTypes;
30989
30991
  Q && y6(
30990
30992
  Q,
30991
- O,
30993
+ Z,
30992
30994
  // Resolved for outer only
30993
30995
  "prop",
30994
30996
  V3(E)
@@ -30998,7 +31000,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
30998
31000
  null,
30999
31001
  t,
31000
31002
  E,
31001
- w6(E.type, O),
31003
+ w6(E.type, Z),
31002
31004
  // The inner type can have defaults too
31003
31005
  c
31004
31006
  ), G;
@@ -31030,8 +31032,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
31030
31032
  t.mode & de && b6.recordLegacyContextWarning(t, null), ce(!0), eo.current = t, M = _n(null, t, u, h, g, c), E = Dn(), ce(!1);
31031
31033
  }
31032
31034
  if (u6(), t.flags |= r7, typeof M == "object" && M !== null && typeof M.render == "function" && M.$$typeof === void 0) {
31033
- var O = V3(u) || "Unknown";
31034
- to[O] || (C("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", O, O, O), to[O] = !0);
31035
+ var Z = V3(u) || "Unknown";
31036
+ to[Z] || (C("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", Z, Z, Z), to[Z] = !0);
31035
31037
  }
31036
31038
  if (
31037
31039
  // Run these checks in production only if the flag is off.
@@ -31120,9 +31122,9 @@ Check the render method of \`` + c + "`.");
31120
31122
  if (E !== null)
31121
31123
  return mM(t, E);
31122
31124
  }
31123
- var D = c.children, O = c.fallback;
31125
+ var D = c.children, Z = c.fallback;
31124
31126
  if (g) {
31125
- var G = CM(t, D, O, u), Q = t.child;
31127
+ var G = CM(t, D, Z, u), Q = t.child;
31126
31128
  return Q.memoizedState = vf(u), t.memoizedState = mf, G;
31127
31129
  } else
31128
31130
  return gf(t, D);
@@ -31189,8 +31191,8 @@ Check the render method of \`` + c + "`.");
31189
31191
  // only codepath.)
31190
31192
  t.child !== w
31191
31193
  ) {
31192
- var O = t.child;
31193
- D = O, D.childLanes = L1, D.pendingProps = E, t.mode & e3 && (D.actualDuration = 0, D.actualStartTime = -1, D.selfBaseDuration = w.selfBaseDuration, D.treeBaseDuration = w.treeBaseDuration), t.deletions = null;
31194
+ var Z = t.child;
31195
+ D = Z, D.childLanes = L1, D.pendingProps = E, t.mode & e3 && (D.actualDuration = 0, D.actualStartTime = -1, D.selfBaseDuration = w.selfBaseDuration, D.treeBaseDuration = w.treeBaseDuration), t.deletions = null;
31194
31196
  } else
31195
31197
  D = ig(w, E), D.subtreeFlags = w.subtreeFlags & ye;
31196
31198
  var G;
@@ -31237,8 +31239,8 @@ Check the render method of \`` + c + "`.");
31237
31239
  if (Nd(h)) {
31238
31240
  var M, E, D;
31239
31241
  {
31240
- var O = wH(h);
31241
- M = O.digest, E = O.message, D = O.stack;
31242
+ var Z = wH(h);
31243
+ M = Z.digest, E = Z.message, D = Z.stack;
31242
31244
  }
31243
31245
  var G;
31244
31246
  E ? G = new Error(E) : G = new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");
@@ -31384,13 +31386,13 @@ Check the render method of \`` + c + "`.");
31384
31386
  else
31385
31387
  switch (h) {
31386
31388
  case "forwards": {
31387
- var O = yM(t.child), G;
31388
- O === null ? (G = t.child, t.child = null) : (G = O.sibling, O.sibling = null), Lf(
31389
+ var Z = yM(t.child), G;
31390
+ Z === null ? (G = t.child, t.child = null) : (G = Z.sibling, Z.sibling = null), Lf(
31389
31391
  t,
31390
31392
  !1,
31391
31393
  // isBackwards
31392
31394
  G,
31393
- O,
31395
+ Z,
31394
31396
  g
31395
31397
  );
31396
31398
  break;
@@ -31456,8 +31458,8 @@ Check the render method of \`` + c + "`.");
31456
31458
  } else
31457
31459
  gV(t, h, u);
31458
31460
  }
31459
- var O = g.children;
31460
- return m5(e, t, O, u), t.child;
31461
+ var Z = g.children;
31462
+ return m5(e, t, Z, u), t.child;
31461
31463
  }
31462
31464
  var cg = !1;
31463
31465
  function VM(e, t, u) {
@@ -31539,8 +31541,8 @@ Check the render method of \`` + c + "`.");
31539
31541
  if (E !== null) {
31540
31542
  if (E.dehydrated !== null)
31541
31543
  return vt(t, kn(x6.current)), t.flags |= d2, null;
31542
- var D = t.child, O = D.childLanes;
31543
- if (F3(u, O))
31544
+ var D = t.child, Z = D.childLanes;
31545
+ if (F3(u, Z))
31544
31546
  return ag(e, t, u);
31545
31547
  vt(t, kn(x6.current));
31546
31548
  var G = c9(e, t, u);
@@ -31595,7 +31597,7 @@ Check the render method of \`` + c + "`.");
31595
31597
  return oM(e, t, E, u);
31596
31598
  }
31597
31599
  case y: {
31598
- var D = t.type, O = t.pendingProps, G = t.elementType === D ? O : w6(D, O);
31600
+ var D = t.type, Z = t.pendingProps, G = t.elementType === D ? Z : w6(D, Z);
31599
31601
  return ff(e, t, D, G, u);
31600
31602
  }
31601
31603
  case L: {
@@ -31618,13 +31620,13 @@ Check the render method of \`` + c + "`.");
31618
31620
  }
31619
31621
  case N:
31620
31622
  return eM(e, t, u);
31621
- case Z:
31623
+ case O:
31622
31624
  return tM(e, t, u);
31623
31625
  case W:
31624
31626
  return rM(e, t, u);
31625
31627
  case P:
31626
31628
  return HM(e, t, u);
31627
- case z:
31629
+ case U:
31628
31630
  return VM(e, t, u);
31629
31631
  case J: {
31630
31632
  var s2 = t.type, r3 = t.pendingProps, q2 = w6(s2, r3);
@@ -31716,8 +31718,8 @@ Check the render method of \`` + c + "`.");
31716
31718
  u = Z2(u, Z2(D.lanes, D.childLanes)), c |= D.subtreeFlags & ye, c |= D.flags & ye, E += D.treeBaseDuration, D = D.sibling;
31717
31719
  e.treeBaseDuration = E;
31718
31720
  } else
31719
- for (var O = e.child; O !== null; )
31720
- u = Z2(u, Z2(O.lanes, O.childLanes)), c |= O.subtreeFlags & ye, c |= O.flags & ye, O.return = e, O = O.sibling;
31721
+ for (var Z = e.child; Z !== null; )
31722
+ u = Z2(u, Z2(Z.lanes, Z.childLanes)), c |= Z.subtreeFlags & ye, c |= Z.flags & ye, Z.return = e, Z = Z.sibling;
31721
31723
  e.subtreeFlags |= c;
31722
31724
  } else {
31723
31725
  if ((e.mode & e3) !== C2) {
@@ -31769,9 +31771,9 @@ Check the render method of \`` + c + "`.");
31769
31771
  case y:
31770
31772
  case I:
31771
31773
  case N:
31772
- case Z:
31774
+ case O:
31773
31775
  case W:
31774
- case z:
31776
+ case U:
31775
31777
  case J:
31776
31778
  return _4(t), null;
31777
31779
  case L: {
@@ -31804,11 +31806,11 @@ Check the render method of \`` + c + "`.");
31804
31806
  throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");
31805
31807
  return _4(t), null;
31806
31808
  }
31807
- var O = kC(), G = Ys(t);
31809
+ var Z = kC(), G = Ys(t);
31808
31810
  if (G)
31809
- uV(t, E, O) && Rn(t);
31811
+ uV(t, E, Z) && Rn(t);
31810
31812
  else {
31811
- var Q = qx(D, c, E, O, t);
31813
+ var Q = qx(D, c, E, Z, t);
31812
31814
  fg(Q, t, !1, !1), t.stateNode = Q, Xx(Q, D, c, E) && Rn(t);
31813
31815
  }
31814
31816
  t.ref !== null && Cg(t);
@@ -32215,8 +32217,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
32215
32217
  D.passiveEffectDuration += u;
32216
32218
  break e;
32217
32219
  case W:
32218
- var O = E.stateNode;
32219
- O.passiveEffectDuration += u;
32220
+ var Z = E.stateNode;
32221
+ Z.passiveEffectDuration += u;
32220
32222
  break e;
32221
32223
  }
32222
32224
  E = E.return;
@@ -32287,10 +32289,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
32287
32289
  break;
32288
32290
  }
32289
32291
  case _: {
32290
- var O = u.stateNode;
32292
+ var Z = u.stateNode;
32291
32293
  if (t === null && u.flags & J2) {
32292
32294
  var G = u.type, Q = u.memoizedProps;
32293
- aH(O, G, Q);
32295
+ aH(Z, G, Q);
32294
32296
  }
32295
32297
  break;
32296
32298
  }
@@ -32579,11 +32581,11 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
32579
32581
  if (M !== null) {
32580
32582
  var E = M.lastEffect;
32581
32583
  if (E !== null) {
32582
- var D = E.next, O = D;
32584
+ var D = E.next, Z = D;
32583
32585
  do {
32584
- var G = O, Q = G.destroy, o1 = G.tag;
32585
- Q !== void 0 && ((o1 & s8) !== z5 ? Ru(u, t, Q) : (o1 & r4) !== z5 && (Wa(u), u.mode & e3 ? (C8(), Ru(u, t, Q), d8(u)) : Ru(u, t, Q), Qa())), O = O.next;
32586
- } while (O !== D);
32586
+ var G = Z, Q = G.destroy, o1 = G.tag;
32587
+ Q !== void 0 && ((o1 & s8) !== z5 ? Ru(u, t, Q) : (o1 & r4) !== z5 && (Wa(u), u.mode & e3 ? (C8(), Ru(u, t, Q), d8(u)) : Ru(u, t, Q), Qa())), Z = Z.next;
32588
+ } while (Z !== D);
32587
32589
  }
32588
32590
  }
32589
32591
  }
@@ -32721,10 +32723,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
32721
32723
  if (h & J2) {
32722
32724
  var w = e.stateNode;
32723
32725
  if (w != null) {
32724
- var M = e.memoizedProps, E = c !== null ? c.memoizedProps : M, D = e.type, O = e.updateQueue;
32725
- if (e.updateQueue = null, O !== null)
32726
+ var M = e.memoizedProps, E = c !== null ? c.memoizedProps : M, D = e.type, Z = e.updateQueue;
32727
+ if (e.updateQueue = null, Z !== null)
32726
32728
  try {
32727
- iH(w, O, D, E, M, e);
32729
+ iH(w, Z, D, E, M, e);
32728
32730
  } catch (b2) {
32729
32731
  G3(e, e.return, b2);
32730
32732
  }
@@ -32839,8 +32841,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
32839
32841
  Mf(e, t, u);
32840
32842
  continue;
32841
32843
  } else {
32842
- var E = h.alternate, D = E !== null && E.memoizedState !== null, O = D || D4, G = Du, Q = D4;
32843
- Du = M, D4 = O, D4 && !Q && (t2 = h, XM(h));
32844
+ var E = h.alternate, D = E !== null && E.memoizedState !== null, Z = D || D4, G = Du, Q = D4;
32845
+ Du = M, D4 = Z, D4 && !Q && (t2 = h, XM(h));
32844
32846
  for (var o1 = g; o1 !== null; )
32845
32847
  t2 = o1, Sg(
32846
32848
  o1,
@@ -33335,8 +33337,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
33335
33337
  if (w === Sf)
33336
33338
  Ht(e, h);
33337
33339
  else {
33338
- var D = !et(e, h), O = e.current.alternate;
33339
- if (D && !Vk(O)) {
33340
+ var D = !et(e, h), Z = e.current.alternate;
33341
+ if (D && !Vk(Z)) {
33340
33342
  if (w = Uu(e, h), w === A0) {
33341
33343
  var G = K9(e);
33342
33344
  G !== L1 && (h = G, w = Bf(e, G));
@@ -33346,7 +33348,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
33346
33348
  throw z0(e, L1), Ht(e, h), I5(e, ke()), Q;
33347
33349
  }
33348
33350
  }
33349
- e.finishedWork = O, e.finishedLanes = h, Hk(e, w, h);
33351
+ e.finishedWork = Z, e.finishedLanes = h, Hk(e, w, h);
33350
33352
  }
33351
33353
  }
33352
33354
  return I5(e, ke()), e.callbackNode === u ? Fg.bind(null, e) : null;
@@ -33703,10 +33705,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
33703
33705
  if (M || E) {
33704
33706
  var D = Z4.transition;
33705
33707
  Z4.transition = null;
33706
- var O = i7();
33708
+ var Z = i7();
33707
33709
  Ee(Q4);
33708
33710
  var G = t3;
33709
- t3 |= j7, Ef.current = null, ZM(e, h), Iv(), QM(e, h, g), Qx(e.containerInfo), e.current = h, i0(g), qM(h, e, g), Rr(), Ua(), t3 = G, Ee(O), Z4.transition = D;
33711
+ t3 |= j7, Ef.current = null, ZM(e, h), Iv(), QM(e, h, g), Qx(e.containerInfo), e.current = h, i0(g), qM(h, e, g), Rr(), Ua(), t3 = G, Ee(Z), Z4.transition = D;
33710
33712
  } else
33711
33713
  e.current = h, Iv();
33712
33714
  var Q = j0;
@@ -34093,16 +34095,16 @@ This ensures that you're testing the behavior the user would see in the browser.
34093
34095
  }
34094
34096
  if (z7 === null)
34095
34097
  throw new Error("Expected resolveFamily to be set during hot reload.");
34096
- var D = !1, O = !1;
34098
+ var D = !1, Z = !1;
34097
34099
  if (E !== null) {
34098
34100
  var G = z7(E);
34099
- G !== void 0 && (u.has(G) ? O = !0 : t.has(G) && (w === L ? O = !0 : D = !0));
34101
+ G !== void 0 && (u.has(G) ? Z = !0 : t.has(G) && (w === L ? Z = !0 : D = !0));
34100
34102
  }
34101
- if (Fn !== null && (Fn.has(e) || c !== null && Fn.has(c)) && (O = !0), O && (e._debugNeedsRemount = !0), O || D) {
34103
+ if (Fn !== null && (Fn.has(e) || c !== null && Fn.has(c)) && (Z = !0), Z && (e._debugNeedsRemount = !0), Z || D) {
34102
34104
  var Q = j5(e, z1);
34103
34105
  Q !== null && s4(Q, e, z1, P3);
34104
34106
  }
34105
- h !== null && !O && Wf(h, t, u), g !== null && Wf(g, t, u);
34107
+ h !== null && !Z && Wf(h, t, u), g !== null && Wf(g, t, u);
34106
34108
  }
34107
34109
  }
34108
34110
  var eE = function(e, t) {
@@ -34258,7 +34260,7 @@ This ensures that you're testing the behavior the user would see in the browser.
34258
34260
  case y7:
34259
34261
  return Vt(u.children, h, g, t);
34260
34262
  case K5:
34261
- w = Z, h |= de, (h & Y2) !== C2 && (h |= O5);
34263
+ w = O, h |= de, (h & Y2) !== C2 && (h |= O5);
34262
34264
  break;
34263
34265
  case V4:
34264
34266
  return sE(u, h, g, t);
@@ -34280,7 +34282,7 @@ This ensures that you're testing the behavior the user would see in the browser.
34280
34282
  w = P;
34281
34283
  break e;
34282
34284
  case w1:
34283
- w = z;
34285
+ w = U;
34284
34286
  break e;
34285
34287
  case Z1:
34286
34288
  w = I, M = Yf(M);
@@ -34303,8 +34305,8 @@ Check the render method of \`` + D + "`.");
34303
34305
  throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) " + ("but got: " + (e == null ? e : typeof e) + "." + E));
34304
34306
  }
34305
34307
  }
34306
- var O = c7(w, u, t, h);
34307
- return O.elementType = e, O.type = M, O.lanes = g, O._debugOwner = c, O;
34308
+ var Z = c7(w, u, t, h);
34309
+ return Z.elementType = e, Z.type = M, Z.lanes = g, Z._debugOwner = c, Z;
34308
34310
  }
34309
34311
  function Kf(e, t, u) {
34310
34312
  var c = null;
@@ -34381,8 +34383,8 @@ Check the render method of \`` + D + "`.");
34381
34383
  }
34382
34384
  }
34383
34385
  function ly(e, t, u, c, h, g, w, M, E, D) {
34384
- var O = new fE(e, t, u, M, E), G = lE(t, g);
34385
- O.current = G, G.stateNode = O;
34386
+ var Z = new fE(e, t, u, M, E), G = lE(t, g);
34387
+ Z.current = G, G.stateNode = Z;
34386
34388
  {
34387
34389
  var Q = {
34388
34390
  element: c,
@@ -34394,7 +34396,7 @@ Check the render method of \`` + D + "`.");
34394
34396
  };
34395
34397
  G.memoizedState = Q;
34396
34398
  }
34397
- return lC(G), O;
34399
+ return lC(G), Z;
34398
34400
  }
34399
34401
  var tp = "18.2.0";
34400
34402
  function pE(e, t, u) {
@@ -34453,7 +34455,7 @@ Check the render method of \`` + D + "`.");
34453
34455
  return ly(e, t, E, D, u, c, h, g, w);
34454
34456
  }
34455
34457
  function cy(e, t, u, c, h, g, w, M, E, D) {
34456
- var O = !0, G = ly(u, c, O, e, h, g, w, M, E);
34458
+ var Z = !0, G = ly(u, c, Z, e, h, g, w, M, E);
34457
34459
  G.context = sy(null);
34458
34460
  var Q = G.current, o1 = g5(), l1 = xt(Q), C1 = u9(o1, l1);
34459
34461
  return C1.callback = t ?? null, ht(Q, C1, l1), wk(G, l1, o1), G;
@@ -34746,8 +34748,8 @@ Check the render method of %s.`, _2(Ye) || "Unknown"));
34746
34748
  u != null && (u.unstable_strictMode === !0 && (g = !0), u.identifierPrefix !== void 0 && (M = u.identifierPrefix), u.onRecoverableError !== void 0 && (E = u.onRecoverableError));
34747
34749
  var D = cy(t, null, e, zs, c, g, w, M, E);
34748
34750
  if (Os(D.current, e), Vi(e), h)
34749
- for (var O = 0; O < h.length; O++) {
34750
- var G = h[O];
34751
+ for (var Z = 0; Z < h.length; Z++) {
34752
+ var G = h[Z];
34751
34753
  OV(D, G);
34752
34754
  }
34753
34755
  return new Wu(D);
@@ -34808,11 +34810,11 @@ Check the render method of %s.`, _2(Ye) || "Unknown"));
34808
34810
  if (typeof c == "function") {
34809
34811
  var D = c;
34810
34812
  c = function() {
34811
- var Q = Yu(O);
34813
+ var Q = Yu(Z);
34812
34814
  D.call(Q);
34813
34815
  };
34814
34816
  }
34815
- var O = uy(
34817
+ var Z = uy(
34816
34818
  e,
34817
34819
  Ct,
34818
34820
  null,
@@ -34825,11 +34827,11 @@ Check the render method of %s.`, _2(Ye) || "Unknown"));
34825
34827
  // identifierPrefix
34826
34828
  Ry
34827
34829
  );
34828
- e._reactRootContainer = O, Os(O.current, e);
34830
+ e._reactRootContainer = Z, Os(Z.current, e);
34829
34831
  var G = e.nodeType === ve ? e.parentNode : e;
34830
34832
  return Vi(G), f9(function() {
34831
- go(t, O, u, c);
34832
- }), O;
34833
+ go(t, Z, u, c);
34834
+ }), Z;
34833
34835
  }
34834
34836
  }
34835
34837
  function TE(e, t) {
@@ -35344,7 +35346,7 @@ var nj = function(a, o) {
35344
35346
  function aj(r) {
35345
35347
  var a, o = r.state, s = r.name, i = r.options, p = o.elements.arrow, C = o.modifiersData.popperOffsets, v = x8(o.placement), y = qh(v), L = [q5, G7].indexOf(v) >= 0, V = L ? "height" : "width";
35346
35348
  if (!(!p || !C)) {
35347
- var k = nj(i.padding, o), S = Qh(p), _ = y === "y" ? Q5 : q5, R = y === "y" ? q7 : G7, N = o.rects.reference[V] + o.rects.reference[y] - C[y] - o.rects.popper[V], Z = C[y] - o.rects.reference[y], z = Xo(p), P = z ? y === "y" ? z.clientHeight || 0 : z.clientWidth || 0 : 0, I = N / 2 - Z / 2, W = k[_], $ = P - S[V] - k[R], J = P / 2 - S[V] / 2 + I, e1 = No(W, J, $), c1 = y;
35349
+ var k = nj(i.padding, o), S = Qh(p), _ = y === "y" ? Q5 : q5, R = y === "y" ? q7 : G7, N = o.rects.reference[V] + o.rects.reference[y] - C[y] - o.rects.popper[V], O = C[y] - o.rects.reference[y], U = Xo(p), P = U ? y === "y" ? U.clientHeight || 0 : U.clientWidth || 0 : 0, I = N / 2 - O / 2, W = k[_], $ = P - S[V] - k[R], J = P / 2 - S[V] / 2 + I, e1 = No(W, J, $), c1 = y;
35348
35350
  o.modifiersData[s] = (a = {}, a[c1] = e1, a.centerOffset = e1 - J, a);
35349
35351
  }
35350
35352
  }
@@ -35378,15 +35380,15 @@ function sj(r, a) {
35378
35380
  };
35379
35381
  }
35380
35382
  function IL(r) {
35381
- var a, o = r.popper, s = r.popperRect, i = r.placement, p = r.variation, C = r.offsets, v = r.position, y = r.gpuAcceleration, L = r.adaptive, V = r.roundOffsets, k = r.isFixed, S = C.x, _ = S === void 0 ? 0 : S, R = C.y, N = R === void 0 ? 0 : R, Z = typeof V == "function" ? V({
35383
+ var a, o = r.popper, s = r.popperRect, i = r.placement, p = r.variation, C = r.offsets, v = r.position, y = r.gpuAcceleration, L = r.adaptive, V = r.roundOffsets, k = r.isFixed, S = C.x, _ = S === void 0 ? 0 : S, R = C.y, N = R === void 0 ? 0 : R, O = typeof V == "function" ? V({
35382
35384
  x: _,
35383
35385
  y: N
35384
35386
  }) : {
35385
35387
  x: _,
35386
35388
  y: N
35387
35389
  };
35388
- _ = Z.x, N = Z.y;
35389
- var z = C.hasOwnProperty("x"), P = C.hasOwnProperty("y"), I = q5, W = Q5, $ = window;
35390
+ _ = O.x, N = O.y;
35391
+ var U = C.hasOwnProperty("x"), P = C.hasOwnProperty("y"), I = q5, W = Q5, $ = window;
35390
35392
  if (L) {
35391
35393
  var J = Xo(o), e1 = "clientHeight", c1 = "clientWidth";
35392
35394
  if (J === g7(o) && (J = Nt(o), w9(J).position !== "static" && v === "absolute" && (e1 = "scrollHeight", c1 = "scrollWidth")), J = J, i === Q5 || (i === q5 || i === G7) && p === zo) {
@@ -35417,9 +35419,9 @@ function IL(r) {
35417
35419
  };
35418
35420
  if (_ = g1.x, N = g1.y, y) {
35419
35421
  var y1;
35420
- return Object.assign({}, M1, (y1 = {}, y1[W] = P ? "0" : "", y1[I] = z ? "0" : "", y1.transform = ($.devicePixelRatio || 1) <= 1 ? "translate(" + _ + "px, " + N + "px)" : "translate3d(" + _ + "px, " + N + "px, 0)", y1));
35422
+ return Object.assign({}, M1, (y1 = {}, y1[W] = P ? "0" : "", y1[I] = U ? "0" : "", y1.transform = ($.devicePixelRatio || 1) <= 1 ? "translate(" + _ + "px, " + N + "px)" : "translate3d(" + _ + "px, " + N + "px, 0)", y1));
35421
35423
  }
35422
- return Object.assign({}, M1, (a = {}, a[W] = P ? N + "px" : "", a[I] = z ? _ + "px" : "", a.transform = "", a));
35424
+ return Object.assign({}, M1, (a = {}, a[W] = P ? N + "px" : "", a[I] = U ? _ + "px" : "", a.transform = "", a));
35423
35425
  }
35424
35426
  function uj(r) {
35425
35427
  var a = r.state, o = r.options, s = o.gpuAcceleration, i = s === void 0 ? !0 : s, p = o.adaptive, C = p === void 0 ? !0 : p, v = o.roundOffsets, y = v === void 0 ? !0 : v, L = {
@@ -35619,15 +35621,15 @@ function Fw(r) {
35619
35621
  }
35620
35622
  function Uo(r, a) {
35621
35623
  a === void 0 && (a = {});
35622
- var o = a, s = o.placement, i = s === void 0 ? r.placement : s, p = o.strategy, C = p === void 0 ? r.strategy : p, v = o.boundary, y = v === void 0 ? FA : v, L = o.rootBoundary, V = L === void 0 ? _w : L, k = o.elementContext, S = k === void 0 ? Eo : k, _ = o.altBoundary, R = _ === void 0 ? !1 : _, N = o.padding, Z = N === void 0 ? 0 : N, z = Nw(typeof Z != "number" ? Z : Bw(Z, Go)), P = S === Eo ? AA : Eo, I = r.rects.popper, W = r.elements[R ? P : S], $ = yj(J0(W) ? W : W.contextElement || Nt(r.elements.popper), y, V, C), J = da(r.elements.reference), e1 = Fw({
35624
+ var o = a, s = o.placement, i = s === void 0 ? r.placement : s, p = o.strategy, C = p === void 0 ? r.strategy : p, v = o.boundary, y = v === void 0 ? FA : v, L = o.rootBoundary, V = L === void 0 ? _w : L, k = o.elementContext, S = k === void 0 ? Eo : k, _ = o.altBoundary, R = _ === void 0 ? !1 : _, N = o.padding, O = N === void 0 ? 0 : N, U = Nw(typeof O != "number" ? O : Bw(O, Go)), P = S === Eo ? AA : Eo, I = r.rects.popper, W = r.elements[R ? P : S], $ = yj(J0(W) ? W : W.contextElement || Nt(r.elements.popper), y, V, C), J = da(r.elements.reference), e1 = Fw({
35623
35625
  reference: J,
35624
35626
  element: I,
35625
35627
  placement: i
35626
35628
  }), c1 = Mh(Object.assign({}, I, e1)), d1 = S === Eo ? c1 : J, k1 = {
35627
- top: $.top - d1.top + z.top,
35628
- bottom: d1.bottom - $.bottom + z.bottom,
35629
- left: $.left - d1.left + z.left,
35630
- right: d1.right - $.right + z.right
35629
+ top: $.top - d1.top + U.top,
35630
+ bottom: d1.bottom - $.bottom + U.bottom,
35631
+ left: $.left - d1.left + U.left,
35632
+ right: d1.right - $.right + U.right
35631
35633
  }, M1 = r.modifiersData.offset;
35632
35634
  if (S === Eo && M1) {
35633
35635
  var g1 = M1[i];
@@ -35667,7 +35669,7 @@ function bj(r) {
35667
35669
  function wj(r) {
35668
35670
  var a = r.state, o = r.options, s = r.name;
35669
35671
  if (!a.modifiersData[s]._skip) {
35670
- for (var i = o.mainAxis, p = i === void 0 ? !0 : i, C = o.altAxis, v = C === void 0 ? !0 : C, y = o.fallbackPlacements, L = o.padding, V = o.boundary, k = o.rootBoundary, S = o.altBoundary, _ = o.flipVariations, R = _ === void 0 ? !0 : _, N = o.allowedAutoPlacements, Z = a.options.placement, z = x8(Z), P = z === Z, I = y || (P || !R ? [uc(Z)] : bj(Z)), W = [Z].concat(I).reduce(function(x2, n3) {
35672
+ for (var i = o.mainAxis, p = i === void 0 ? !0 : i, C = o.altAxis, v = C === void 0 ? !0 : C, y = o.fallbackPlacements, L = o.padding, V = o.boundary, k = o.rootBoundary, S = o.altBoundary, _ = o.flipVariations, R = _ === void 0 ? !0 : _, N = o.allowedAutoPlacements, O = a.options.placement, U = x8(O), P = U === O, I = y || (P || !R ? [uc(O)] : bj(O)), W = [O].concat(I).reduce(function(x2, n3) {
35671
35673
  return x2.concat(x8(n3) === Yh ? Lj(a, {
35672
35674
  placement: n3,
35673
35675
  boundary: V,
@@ -35805,12 +35807,12 @@ function _j(r) {
35805
35807
  return r === "x" ? "y" : "x";
35806
35808
  }
35807
35809
  function Dj(r) {
35808
- var a = r.state, o = r.options, s = r.name, i = o.mainAxis, p = i === void 0 ? !0 : i, C = o.altAxis, v = C === void 0 ? !1 : C, y = o.boundary, L = o.rootBoundary, V = o.altBoundary, k = o.padding, S = o.tether, _ = S === void 0 ? !0 : S, R = o.tetherOffset, N = R === void 0 ? 0 : R, Z = Uo(a, {
35810
+ var a = r.state, o = r.options, s = r.name, i = o.mainAxis, p = i === void 0 ? !0 : i, C = o.altAxis, v = C === void 0 ? !1 : C, y = o.boundary, L = o.rootBoundary, V = o.altBoundary, k = o.padding, S = o.tether, _ = S === void 0 ? !0 : S, R = o.tetherOffset, N = R === void 0 ? 0 : R, O = Uo(a, {
35809
35811
  boundary: y,
35810
35812
  rootBoundary: L,
35811
35813
  padding: k,
35812
35814
  altBoundary: V
35813
- }), z = x8(a.placement), P = Ca(a.placement), I = !P, W = qh(z), $ = _j(W), J = a.modifiersData.popperOffsets, e1 = a.rects.reference, c1 = a.rects.popper, d1 = typeof N == "function" ? N(Object.assign({}, a.rects, {
35815
+ }), U = x8(a.placement), P = Ca(a.placement), I = !P, W = qh(U), $ = _j(W), J = a.modifiersData.popperOffsets, e1 = a.rects.reference, c1 = a.rects.popper, d1 = typeof N == "function" ? N(Object.assign({}, a.rects, {
35814
35816
  placement: a.placement
35815
35817
  })) : N, k1 = typeof d1 == "number" ? {
35816
35818
  mainAxis: d1,
@@ -35824,14 +35826,14 @@ function Dj(r) {
35824
35826
  };
35825
35827
  if (J) {
35826
35828
  if (p) {
35827
- var y1, r2 = W === "y" ? Q5 : q5, D1 = W === "y" ? q7 : G7, N1 = W === "y" ? "height" : "width", G1 = J[W], m1 = G1 + Z[r2], S1 = G1 - Z[D1], v1 = _ ? -c1[N1] / 2 : 0, Q1 = P === ua ? e1[N1] : c1[N1], q1 = P === ua ? -c1[N1] : -e1[N1], j1 = a.elements.arrow, x2 = _ && j1 ? Qh(j1) : {
35829
+ var y1, r2 = W === "y" ? Q5 : q5, D1 = W === "y" ? q7 : G7, N1 = W === "y" ? "height" : "width", G1 = J[W], m1 = G1 + O[r2], S1 = G1 - O[D1], v1 = _ ? -c1[N1] / 2 : 0, Q1 = P === ua ? e1[N1] : c1[N1], q1 = P === ua ? -c1[N1] : -e1[N1], j1 = a.elements.arrow, x2 = _ && j1 ? Qh(j1) : {
35828
35830
  width: 0,
35829
35831
  height: 0
35830
35832
  }, n3 = a.modifiersData["arrow#persistent"] ? a.modifiersData["arrow#persistent"].padding : Ow(), H2 = n3[r2], V2 = n3[D1], o2 = No(0, e1[N1], x2[N1]), l2 = I ? e1[N1] / 2 - v1 - o2 - H2 - k1.mainAxis : Q1 - o2 - H2 - k1.mainAxis, R2 = I ? -e1[N1] / 2 + v1 + o2 + V2 + k1.mainAxis : q1 + o2 + V2 + k1.mainAxis, B2 = a.elements.arrow && Xo(a.elements.arrow), b3 = B2 ? W === "y" ? B2.clientTop || 0 : B2.clientLeft || 0 : 0, K2 = (y1 = M1 == null ? void 0 : M1[W]) != null ? y1 : 0, S2 = G1 + l2 - K2 - b3, F2 = G1 + R2 - K2, m3 = No(_ ? kc(m1, S2) : m1, G1, _ ? Q0(S1, F2) : S1);
35831
35833
  J[W] = m3, g1[W] = m3 - G1;
35832
35834
  }
35833
35835
  if (v) {
35834
- var B1, T2 = W === "x" ? Q5 : q5, z3 = W === "x" ? q7 : G7, A2 = J[$], a3 = $ === "y" ? "height" : "width", M2 = A2 + Z[T2], o3 = A2 - Z[z3], Ze = [Q5, q5].indexOf(z) !== -1, le = (B1 = M1 == null ? void 0 : M1[$]) != null ? B1 : 0, Oe = Ze ? M2 : A2 - e1[a3] - c1[a3] - le + k1.altAxis, b4 = Ze ? A2 + e1[a3] + c1[a3] - le - k1.altAxis : o3, Ie = _ && Ze ? rj(Oe, A2, b4) : No(_ ? Oe : M2, A2, _ ? b4 : o3);
35836
+ var B1, T2 = W === "x" ? Q5 : q5, z3 = W === "x" ? q7 : G7, A2 = J[$], a3 = $ === "y" ? "height" : "width", M2 = A2 + O[T2], o3 = A2 - O[z3], Ze = [Q5, q5].indexOf(U) !== -1, le = (B1 = M1 == null ? void 0 : M1[$]) != null ? B1 : 0, Oe = Ze ? M2 : A2 - e1[a3] - c1[a3] - le + k1.altAxis, b4 = Ze ? A2 + e1[a3] + c1[a3] - le - k1.altAxis : o3, Ie = _ && Ze ? rj(Oe, A2, b4) : No(_ ? Oe : M2, A2, _ ? b4 : o3);
35835
35837
  J[$] = Ie, g1[$] = Ie - A2;
35836
35838
  }
35837
35839
  a.modifiersData[s] = g1;
@@ -35953,8 +35955,8 @@ function zj(r) {
35953
35955
  styles: {}
35954
35956
  }, k = [], S = !1, _ = {
35955
35957
  state: V,
35956
- setOptions: function(z) {
35957
- var P = typeof z == "function" ? z(V.options) : z;
35958
+ setOptions: function(U) {
35959
+ var P = typeof U == "function" ? U(V.options) : U;
35958
35960
  N(), V.options = Object.assign({}, p, V.options, P), V.scrollParents = {
35959
35961
  reference: J0(v) ? Bo(v) : v.contextElement ? Bo(v.contextElement) : [],
35960
35962
  popper: Bo(y)
@@ -35971,7 +35973,7 @@ function zj(r) {
35971
35973
  // prefer the async Popper#update method
35972
35974
  forceUpdate: function() {
35973
35975
  if (!S) {
35974
- var z = V.elements, P = z.reference, I = z.popper;
35976
+ var U = V.elements, P = U.reference, I = U.popper;
35975
35977
  if (GL(P, I)) {
35976
35978
  V.rects = {
35977
35979
  reference: Bj(P, Xo(I), V.options.strategy === "fixed"),
@@ -35998,8 +36000,8 @@ function zj(r) {
35998
36000
  // Async and optimistically optimized update – it will not be executed if
35999
36001
  // not necessary (debounced to run at most once-per-tick)
36000
36002
  update: Aj(function() {
36001
- return new Promise(function(Z) {
36002
- _.forceUpdate(), Z(V);
36003
+ return new Promise(function(O) {
36004
+ _.forceUpdate(), O(V);
36003
36005
  });
36004
36006
  }),
36005
36007
  destroy: function() {
@@ -36008,16 +36010,16 @@ function zj(r) {
36008
36010
  };
36009
36011
  if (!GL(v, y))
36010
36012
  return _;
36011
- _.setOptions(L).then(function(Z) {
36012
- !S && L.onFirstUpdate && L.onFirstUpdate(Z);
36013
+ _.setOptions(L).then(function(O) {
36014
+ !S && L.onFirstUpdate && L.onFirstUpdate(O);
36013
36015
  });
36014
36016
  function R() {
36015
- V.orderedModifiers.forEach(function(Z) {
36016
- var z = Z.name, P = Z.options, I = P === void 0 ? {} : P, W = Z.effect;
36017
+ V.orderedModifiers.forEach(function(O) {
36018
+ var U = O.name, P = O.options, I = P === void 0 ? {} : P, W = O.effect;
36017
36019
  if (typeof W == "function") {
36018
36020
  var $ = W({
36019
36021
  state: V,
36020
- name: z,
36022
+ name: U,
36021
36023
  instance: _,
36022
36024
  options: I
36023
36025
  }), J = function() {
@@ -36027,8 +36029,8 @@ function zj(r) {
36027
36029
  });
36028
36030
  }
36029
36031
  function N() {
36030
- k.forEach(function(Z) {
36031
- return Z();
36032
+ k.forEach(function(O) {
36033
+ return O();
36032
36034
  }), k = [];
36033
36035
  }
36034
36036
  return _;
@@ -36121,11 +36123,11 @@ var Xj = [], Kj = function(a, o, s) {
36121
36123
  var R = _.state, N = Object.keys(R.elements);
36122
36124
  $h.flushSync(function() {
36123
36125
  y({
36124
- styles: AL(N.map(function(Z) {
36125
- return [Z, R.styles[Z] || {}];
36126
+ styles: AL(N.map(function(O) {
36127
+ return [O, R.styles[O] || {}];
36126
36128
  })),
36127
- attributes: AL(N.map(function(Z) {
36128
- return [Z, R.attributes[Z]];
36129
+ attributes: AL(N.map(function(O) {
36130
+ return [O, R.attributes[O]];
36129
36131
  }))
36130
36132
  });
36131
36133
  });
@@ -36165,7 +36167,7 @@ var Xj = [], Kj = function(a, o, s) {
36165
36167
  return Promise.resolve(null);
36166
36168
  }, tz = [];
36167
36169
  function rz(r) {
36168
- var a = r.placement, o = a === void 0 ? "bottom" : a, s = r.strategy, i = s === void 0 ? "absolute" : s, p = r.modifiers, C = p === void 0 ? tz : p, v = r.referenceElement, y = r.onFirstUpdate, L = r.innerRef, V = r.children, k = d.useContext(kw), S = d.useState(null), _ = S[0], R = S[1], N = d.useState(null), Z = N[0], z = N[1];
36170
+ var a = r.placement, o = a === void 0 ? "bottom" : a, s = r.strategy, i = s === void 0 ? "absolute" : s, p = r.modifiers, C = p === void 0 ? tz : p, v = r.referenceElement, y = r.onFirstUpdate, L = r.innerRef, V = r.children, k = d.useContext(kw), S = d.useState(null), _ = S[0], R = S[1], N = d.useState(null), O = N[0], U = N[1];
36169
36171
  d.useEffect(function() {
36170
36172
  Hh(L, _);
36171
36173
  }, [L, _]);
@@ -36176,13 +36178,13 @@ function rz(r) {
36176
36178
  onFirstUpdate: y,
36177
36179
  modifiers: [].concat(C, [{
36178
36180
  name: "arrow",
36179
- enabled: Z != null,
36181
+ enabled: O != null,
36180
36182
  options: {
36181
- element: Z
36183
+ element: O
36182
36184
  }
36183
36185
  }])
36184
36186
  };
36185
- }, [o, i, y, C, Z]), I = Kj(v || k, _, P), W = I.state, $ = I.styles, J = I.forceUpdate, e1 = I.update, c1 = d.useMemo(function() {
36187
+ }, [o, i, y, C, O]), I = Kj(v || k, _, P), W = I.state, $ = I.styles, J = I.forceUpdate, e1 = I.update, c1 = d.useMemo(function() {
36186
36188
  return {
36187
36189
  ref: R,
36188
36190
  style: $.popper,
@@ -36191,12 +36193,12 @@ function rz(r) {
36191
36193
  isReferenceHidden: W && W.modifiersData.hide ? W.modifiersData.hide.isReferenceHidden : null,
36192
36194
  arrowProps: {
36193
36195
  style: $.arrow,
36194
- ref: z
36196
+ ref: U
36195
36197
  },
36196
36198
  forceUpdate: J || Jj,
36197
36199
  update: e1 || ez
36198
36200
  };
36199
- }, [R, z, o, W, $, e1, J]);
36201
+ }, [R, U, o, W, $, e1, J]);
36200
36202
  return Sw(V)(c1);
36201
36203
  }
36202
36204
  var nz = process.env.NODE_ENV !== "production", Aw = function() {
@@ -36316,14 +36318,14 @@ function zw(r, a) {
36316
36318
  return o.__proto__ = s, o;
36317
36319
  })(r, a);
36318
36320
  }
36319
- function U(r) {
36321
+ function z(r) {
36320
36322
  if (r === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
36321
36323
  return r;
36322
36324
  }
36323
36325
  function uz(r, a) {
36324
36326
  if (a && (typeof a == "object" || typeof a == "function")) return a;
36325
36327
  if (a !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
36326
- return U(r);
36328
+ return z(r);
36327
36329
  }
36328
36330
  function L4(r) {
36329
36331
  var a = function() {
@@ -36694,27 +36696,27 @@ var Lz = Bc(function(r) {
36694
36696
  var a = L4(o);
36695
36697
  function o(s) {
36696
36698
  var i;
36697
- v4(this, o), A(U(i = a.call(this, s)), "renderOptions", function() {
36699
+ v4(this, o), A(z(i = a.call(this, s)), "renderOptions", function() {
36698
36700
  var y = i.props.year, L = i.state.yearsList.map(function(S) {
36699
- return r1.createElement("div", { className: y === S ? "react-datepicker__year-option react-datepicker__year-option--selected_year" : "react-datepicker__year-option", key: S, onClick: i.onChange.bind(U(i), S), "aria-selected": y === S ? "true" : void 0 }, y === S ? r1.createElement("span", { className: "react-datepicker__year-option--selected" }, "✓") : "", S);
36701
+ return r1.createElement("div", { className: y === S ? "react-datepicker__year-option react-datepicker__year-option--selected_year" : "react-datepicker__year-option", key: S, onClick: i.onChange.bind(z(i), S), "aria-selected": y === S ? "true" : void 0 }, y === S ? r1.createElement("span", { className: "react-datepicker__year-option--selected" }, "✓") : "", S);
36700
36702
  }), V = i.props.minDate ? X2(i.props.minDate) : null, k = i.props.maxDate ? X2(i.props.maxDate) : null;
36701
36703
  return k && i.state.yearsList.find(function(S) {
36702
36704
  return S === k;
36703
36705
  }) || L.unshift(r1.createElement("div", { className: "react-datepicker__year-option", key: "upcoming", onClick: i.incrementYears }, r1.createElement("a", { className: "react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming" }))), V && i.state.yearsList.find(function(S) {
36704
36706
  return S === V;
36705
36707
  }) || L.push(r1.createElement("div", { className: "react-datepicker__year-option", key: "previous", onClick: i.decrementYears }, r1.createElement("a", { className: "react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous" }))), L;
36706
- }), A(U(i), "onChange", function(y) {
36708
+ }), A(z(i), "onChange", function(y) {
36707
36709
  i.props.onChange(y);
36708
- }), A(U(i), "handleClickOutside", function() {
36710
+ }), A(z(i), "handleClickOutside", function() {
36709
36711
  i.props.onCancel();
36710
- }), A(U(i), "shiftYears", function(y) {
36712
+ }), A(z(i), "shiftYears", function(y) {
36711
36713
  var L = i.state.yearsList.map(function(V) {
36712
36714
  return V + y;
36713
36715
  });
36714
36716
  i.setState({ yearsList: L });
36715
- }), A(U(i), "incrementYears", function() {
36717
+ }), A(z(i), "incrementYears", function() {
36716
36718
  return i.shiftYears(1);
36717
- }), A(U(i), "decrementYears", function() {
36719
+ }), A(z(i), "decrementYears", function() {
36718
36720
  return i.shiftYears(-1);
36719
36721
  });
36720
36722
  var p = s.yearDropdownItemNumber, C = s.scrollableYearDropdown, v = p || (C ? 10 : 5);
@@ -36739,33 +36741,33 @@ var Lz = Bc(function(r) {
36739
36741
  var s;
36740
36742
  v4(this, o);
36741
36743
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
36742
- return A(U(s = a.call.apply(a, [this].concat(p))), "state", { dropdownVisible: !1 }), A(U(s), "renderSelectOptions", function() {
36744
+ return A(z(s = a.call.apply(a, [this].concat(p))), "state", { dropdownVisible: !1 }), A(z(s), "renderSelectOptions", function() {
36743
36745
  for (var v = s.props.minDate ? X2(s.props.minDate) : 1900, y = s.props.maxDate ? X2(s.props.maxDate) : 2100, L = [], V = v; V <= y; V++) L.push(r1.createElement("option", { key: V, value: V }, V));
36744
36746
  return L;
36745
- }), A(U(s), "onSelectChange", function(v) {
36747
+ }), A(z(s), "onSelectChange", function(v) {
36746
36748
  s.onChange(v.target.value);
36747
- }), A(U(s), "renderSelectMode", function() {
36749
+ }), A(z(s), "renderSelectMode", function() {
36748
36750
  return r1.createElement("select", { value: s.props.year, className: "react-datepicker__year-select", onChange: s.onSelectChange }, s.renderSelectOptions());
36749
- }), A(U(s), "renderReadView", function(v) {
36751
+ }), A(z(s), "renderReadView", function(v) {
36750
36752
  return r1.createElement("div", { key: "read", style: { visibility: v ? "visible" : "hidden" }, className: "react-datepicker__year-read-view", onClick: function(y) {
36751
36753
  return s.toggleDropdown(y);
36752
36754
  } }, r1.createElement("span", { className: "react-datepicker__year-read-view--down-arrow" }), r1.createElement("span", { className: "react-datepicker__year-read-view--selected-year" }, s.props.year));
36753
- }), A(U(s), "renderDropdown", function() {
36755
+ }), A(z(s), "renderDropdown", function() {
36754
36756
  return r1.createElement(Lz, { key: "dropdown", year: s.props.year, onChange: s.onChange, onCancel: s.toggleDropdown, minDate: s.props.minDate, maxDate: s.props.maxDate, scrollableYearDropdown: s.props.scrollableYearDropdown, yearDropdownItemNumber: s.props.yearDropdownItemNumber });
36755
- }), A(U(s), "renderScrollMode", function() {
36757
+ }), A(z(s), "renderScrollMode", function() {
36756
36758
  var v = s.state.dropdownVisible, y = [s.renderReadView(!v)];
36757
36759
  return v && y.unshift(s.renderDropdown()), y;
36758
- }), A(U(s), "onChange", function(v) {
36760
+ }), A(z(s), "onChange", function(v) {
36759
36761
  s.toggleDropdown(), v !== s.props.year && s.props.onChange(v);
36760
- }), A(U(s), "toggleDropdown", function(v) {
36762
+ }), A(z(s), "toggleDropdown", function(v) {
36761
36763
  s.setState({ dropdownVisible: !s.state.dropdownVisible }, function() {
36762
36764
  s.props.adjustDateOnChange && s.handleYearChange(s.props.date, v);
36763
36765
  });
36764
- }), A(U(s), "handleYearChange", function(v, y) {
36766
+ }), A(z(s), "handleYearChange", function(v, y) {
36765
36767
  s.onSelect(v, y), s.setOpen();
36766
- }), A(U(s), "onSelect", function(v, y) {
36768
+ }), A(z(s), "onSelect", function(v, y) {
36767
36769
  s.props.onSelect && s.props.onSelect(v, y);
36768
- }), A(U(s), "setOpen", function() {
36770
+ }), A(z(s), "setOpen", function() {
36769
36771
  s.props.setOpen && s.props.setOpen(!0);
36770
36772
  }), s;
36771
36773
  }
@@ -36787,15 +36789,15 @@ var Lz = Bc(function(r) {
36787
36789
  var s;
36788
36790
  v4(this, o);
36789
36791
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
36790
- return A(U(s = a.call.apply(a, [this].concat(p))), "isSelectedMonth", function(v) {
36792
+ return A(z(s = a.call.apply(a, [this].concat(p))), "isSelectedMonth", function(v) {
36791
36793
  return s.props.month === v;
36792
- }), A(U(s), "renderOptions", function() {
36794
+ }), A(z(s), "renderOptions", function() {
36793
36795
  return s.props.monthNames.map(function(v, y) {
36794
- return r1.createElement("div", { className: s.isSelectedMonth(y) ? "react-datepicker__month-option react-datepicker__month-option--selected_month" : "react-datepicker__month-option", key: v, onClick: s.onChange.bind(U(s), y), "aria-selected": s.isSelectedMonth(y) ? "true" : void 0 }, s.isSelectedMonth(y) ? r1.createElement("span", { className: "react-datepicker__month-option--selected" }, "✓") : "", v);
36796
+ return r1.createElement("div", { className: s.isSelectedMonth(y) ? "react-datepicker__month-option react-datepicker__month-option--selected_month" : "react-datepicker__month-option", key: v, onClick: s.onChange.bind(z(s), y), "aria-selected": s.isSelectedMonth(y) ? "true" : void 0 }, s.isSelectedMonth(y) ? r1.createElement("span", { className: "react-datepicker__month-option--selected" }, "✓") : "", v);
36795
36797
  });
36796
- }), A(U(s), "onChange", function(v) {
36798
+ }), A(z(s), "onChange", function(v) {
36797
36799
  return s.props.onChange(v);
36798
- }), A(U(s), "handleClickOutside", function() {
36800
+ }), A(z(s), "handleClickOutside", function() {
36799
36801
  return s.props.onCancel();
36800
36802
  }), s;
36801
36803
  }
@@ -36809,24 +36811,24 @@ var Lz = Bc(function(r) {
36809
36811
  var s;
36810
36812
  v4(this, o);
36811
36813
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
36812
- return A(U(s = a.call.apply(a, [this].concat(p))), "state", { dropdownVisible: !1 }), A(U(s), "renderSelectOptions", function(v) {
36814
+ return A(z(s = a.call.apply(a, [this].concat(p))), "state", { dropdownVisible: !1 }), A(z(s), "renderSelectOptions", function(v) {
36813
36815
  return v.map(function(y, L) {
36814
36816
  return r1.createElement("option", { key: L, value: L }, y);
36815
36817
  });
36816
- }), A(U(s), "renderSelectMode", function(v) {
36818
+ }), A(z(s), "renderSelectMode", function(v) {
36817
36819
  return r1.createElement("select", { value: s.props.month, className: "react-datepicker__month-select", onChange: function(y) {
36818
36820
  return s.onChange(y.target.value);
36819
36821
  } }, s.renderSelectOptions(v));
36820
- }), A(U(s), "renderReadView", function(v, y) {
36822
+ }), A(z(s), "renderReadView", function(v, y) {
36821
36823
  return r1.createElement("div", { key: "read", style: { visibility: v ? "visible" : "hidden" }, className: "react-datepicker__month-read-view", onClick: s.toggleDropdown }, r1.createElement("span", { className: "react-datepicker__month-read-view--down-arrow" }), r1.createElement("span", { className: "react-datepicker__month-read-view--selected-month" }, y[s.props.month]));
36822
- }), A(U(s), "renderDropdown", function(v) {
36824
+ }), A(z(s), "renderDropdown", function(v) {
36823
36825
  return r1.createElement(wz, { key: "dropdown", month: s.props.month, monthNames: v, onChange: s.onChange, onCancel: s.toggleDropdown });
36824
- }), A(U(s), "renderScrollMode", function(v) {
36826
+ }), A(z(s), "renderScrollMode", function(v) {
36825
36827
  var y = s.state.dropdownVisible, L = [s.renderReadView(!y, v)];
36826
36828
  return y && L.unshift(s.renderDropdown(v)), L;
36827
- }), A(U(s), "onChange", function(v) {
36829
+ }), A(z(s), "onChange", function(v) {
36828
36830
  s.toggleDropdown(), v !== s.props.month && s.props.onChange(v);
36829
- }), A(U(s), "toggleDropdown", function() {
36831
+ }), A(z(s), "toggleDropdown", function() {
36830
36832
  return s.setState({ dropdownVisible: !s.state.dropdownVisible });
36831
36833
  }), s;
36832
36834
  }
@@ -36855,14 +36857,14 @@ var oc, Vz = Bc(function(r) {
36855
36857
  var a = L4(o);
36856
36858
  function o(s) {
36857
36859
  var i;
36858
- return v4(this, o), A(U(i = a.call(this, s)), "renderOptions", function() {
36860
+ return v4(this, o), A(z(i = a.call(this, s)), "renderOptions", function() {
36859
36861
  return i.state.monthYearsList.map(function(p) {
36860
36862
  var C = vh(p), v = St(i.props.date, p) && T6(i.props.date, p);
36861
- return r1.createElement("div", { className: v ? "react-datepicker__month-year-option--selected_month-year" : "react-datepicker__month-year-option", key: C, onClick: i.onChange.bind(U(i), C), "aria-selected": v ? "true" : void 0 }, v ? r1.createElement("span", { className: "react-datepicker__month-year-option--selected" }, "✓") : "", Re(p, i.props.dateFormat, i.props.locale));
36863
+ return r1.createElement("div", { className: v ? "react-datepicker__month-year-option--selected_month-year" : "react-datepicker__month-year-option", key: C, onClick: i.onChange.bind(z(i), C), "aria-selected": v ? "true" : void 0 }, v ? r1.createElement("span", { className: "react-datepicker__month-year-option--selected" }, "✓") : "", Re(p, i.props.dateFormat, i.props.locale));
36862
36864
  });
36863
- }), A(U(i), "onChange", function(p) {
36865
+ }), A(z(i), "onChange", function(p) {
36864
36866
  return i.props.onChange(p);
36865
- }), A(U(i), "handleClickOutside", function() {
36867
+ }), A(z(i), "handleClickOutside", function() {
36866
36868
  i.props.onCancel();
36867
36869
  }), i.state = { monthYearsList: Hz(i.props.minDate, i.props.maxDate) }, i;
36868
36870
  }
@@ -36877,31 +36879,31 @@ var oc, Vz = Bc(function(r) {
36877
36879
  var s;
36878
36880
  v4(this, o);
36879
36881
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
36880
- return A(U(s = a.call.apply(a, [this].concat(p))), "state", { dropdownVisible: !1 }), A(U(s), "renderSelectOptions", function() {
36882
+ return A(z(s = a.call.apply(a, [this].concat(p))), "state", { dropdownVisible: !1 }), A(z(s), "renderSelectOptions", function() {
36881
36883
  for (var v = _t(s.props.minDate), y = _t(s.props.maxDate), L = []; !Dt(v, y); ) {
36882
36884
  var V = vh(v);
36883
36885
  L.push(r1.createElement("option", { key: V, value: V }, Re(v, s.props.dateFormat, s.props.locale))), v = _6(v, 1);
36884
36886
  }
36885
36887
  return L;
36886
- }), A(U(s), "onSelectChange", function(v) {
36888
+ }), A(z(s), "onSelectChange", function(v) {
36887
36889
  s.onChange(v.target.value);
36888
- }), A(U(s), "renderSelectMode", function() {
36890
+ }), A(z(s), "renderSelectMode", function() {
36889
36891
  return r1.createElement("select", { value: vh(_t(s.props.date)), className: "react-datepicker__month-year-select", onChange: s.onSelectChange }, s.renderSelectOptions());
36890
- }), A(U(s), "renderReadView", function(v) {
36892
+ }), A(z(s), "renderReadView", function(v) {
36891
36893
  var y = Re(s.props.date, s.props.dateFormat, s.props.locale);
36892
36894
  return r1.createElement("div", { key: "read", style: { visibility: v ? "visible" : "hidden" }, className: "react-datepicker__month-year-read-view", onClick: function(L) {
36893
36895
  return s.toggleDropdown(L);
36894
36896
  } }, r1.createElement("span", { className: "react-datepicker__month-year-read-view--down-arrow" }), r1.createElement("span", { className: "react-datepicker__month-year-read-view--selected-month-year" }, y));
36895
- }), A(U(s), "renderDropdown", function() {
36897
+ }), A(z(s), "renderDropdown", function() {
36896
36898
  return r1.createElement(Vz, { key: "dropdown", date: s.props.date, dateFormat: s.props.dateFormat, onChange: s.onChange, onCancel: s.toggleDropdown, minDate: s.props.minDate, maxDate: s.props.maxDate, scrollableMonthYearDropdown: s.props.scrollableMonthYearDropdown, locale: s.props.locale });
36897
- }), A(U(s), "renderScrollMode", function() {
36899
+ }), A(z(s), "renderScrollMode", function() {
36898
36900
  var v = s.state.dropdownVisible, y = [s.renderReadView(!v)];
36899
36901
  return v && y.unshift(s.renderDropdown()), y;
36900
- }), A(U(s), "onChange", function(v) {
36902
+ }), A(z(s), "onChange", function(v) {
36901
36903
  s.toggleDropdown();
36902
36904
  var y = Q3(parseInt(v));
36903
36905
  St(s.props.date, y) && T6(s.props.date, y) || s.props.onChange(y);
36904
- }), A(U(s), "toggleDropdown", function() {
36906
+ }), A(z(s), "toggleDropdown", function() {
36905
36907
  return s.setState({ dropdownVisible: !s.state.dropdownVisible });
36906
36908
  }), s;
36907
36909
  }
@@ -36923,73 +36925,73 @@ var oc, Vz = Bc(function(r) {
36923
36925
  var s;
36924
36926
  v4(this, o);
36925
36927
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
36926
- return A(U(s = a.call.apply(a, [this].concat(p))), "dayEl", r1.createRef()), A(U(s), "handleClick", function(v) {
36928
+ return A(z(s = a.call.apply(a, [this].concat(p))), "dayEl", r1.createRef()), A(z(s), "handleClick", function(v) {
36927
36929
  !s.isDisabled() && s.props.onClick && s.props.onClick(v);
36928
- }), A(U(s), "handleMouseEnter", function(v) {
36930
+ }), A(z(s), "handleMouseEnter", function(v) {
36929
36931
  !s.isDisabled() && s.props.onMouseEnter && s.props.onMouseEnter(v);
36930
- }), A(U(s), "handleOnKeyDown", function(v) {
36932
+ }), A(z(s), "handleOnKeyDown", function(v) {
36931
36933
  v.key === " " && (v.preventDefault(), v.key = "Enter"), s.props.handleOnKeyDown(v);
36932
- }), A(U(s), "isSameDay", function(v) {
36934
+ }), A(z(s), "isSameDay", function(v) {
36933
36935
  return x5(s.props.day, v);
36934
- }), A(U(s), "isKeyboardSelected", function() {
36936
+ }), A(z(s), "isKeyboardSelected", function() {
36935
36937
  return !s.props.disabledKeyboardNavigation && !s.isSameDay(s.props.selected) && s.isSameDay(s.props.preSelection);
36936
- }), A(U(s), "isDisabled", function() {
36938
+ }), A(z(s), "isDisabled", function() {
36937
36939
  return Ac(s.props.day, s.props);
36938
- }), A(U(s), "isExcluded", function() {
36940
+ }), A(z(s), "isExcluded", function() {
36939
36941
  return tm(s.props.day, s.props);
36940
- }), A(U(s), "getHighLightedClass", function(v) {
36942
+ }), A(z(s), "getHighLightedClass", function(v) {
36941
36943
  var y = s.props, L = y.day, V = y.highlightDates;
36942
36944
  if (!V) return !1;
36943
36945
  var k = Re(L, "MM.dd.yyyy");
36944
36946
  return V.get(k);
36945
- }), A(U(s), "isInRange", function() {
36947
+ }), A(z(s), "isInRange", function() {
36946
36948
  var v = s.props, y = v.day, L = v.startDate, V = v.endDate;
36947
36949
  return !(!L || !V) && dc(y, L, V);
36948
- }), A(U(s), "isInSelectingRange", function() {
36949
- var v, y = s.props, L = y.day, V = y.selectsStart, k = y.selectsEnd, S = y.selectsRange, _ = y.selectsDisabledDaysInRange, R = y.startDate, N = y.endDate, Z = (v = s.props.selectingDate) !== null && v !== void 0 ? v : s.props.preSelection;
36950
- return !(!(V || k || S) || !Z || !_ && s.isDisabled()) && (V && N && (y9(Z, N) || Tt(Z, N)) ? dc(L, Z, N) : (k && R && (Dt(Z, R) || Tt(Z, R)) || !(!S || !R || N || !Dt(Z, R) && !Tt(Z, R))) && dc(L, R, Z));
36951
- }), A(U(s), "isSelectingRangeStart", function() {
36950
+ }), A(z(s), "isInSelectingRange", function() {
36951
+ var v, y = s.props, L = y.day, V = y.selectsStart, k = y.selectsEnd, S = y.selectsRange, _ = y.selectsDisabledDaysInRange, R = y.startDate, N = y.endDate, O = (v = s.props.selectingDate) !== null && v !== void 0 ? v : s.props.preSelection;
36952
+ return !(!(V || k || S) || !O || !_ && s.isDisabled()) && (V && N && (y9(O, N) || Tt(O, N)) ? dc(L, O, N) : (k && R && (Dt(O, R) || Tt(O, R)) || !(!S || !R || N || !Dt(O, R) && !Tt(O, R))) && dc(L, R, O));
36953
+ }), A(z(s), "isSelectingRangeStart", function() {
36952
36954
  var v;
36953
36955
  if (!s.isInSelectingRange()) return !1;
36954
36956
  var y = s.props, L = y.day, V = y.startDate, k = y.selectsStart, S = (v = s.props.selectingDate) !== null && v !== void 0 ? v : s.props.preSelection;
36955
36957
  return x5(L, k ? S : V);
36956
- }), A(U(s), "isSelectingRangeEnd", function() {
36958
+ }), A(z(s), "isSelectingRangeEnd", function() {
36957
36959
  var v;
36958
36960
  if (!s.isInSelectingRange()) return !1;
36959
36961
  var y = s.props, L = y.day, V = y.endDate, k = y.selectsEnd, S = y.selectsRange, _ = (v = s.props.selectingDate) !== null && v !== void 0 ? v : s.props.preSelection;
36960
36962
  return x5(L, k || S ? _ : V);
36961
- }), A(U(s), "isRangeStart", function() {
36963
+ }), A(z(s), "isRangeStart", function() {
36962
36964
  var v = s.props, y = v.day, L = v.startDate, V = v.endDate;
36963
36965
  return !(!L || !V) && x5(L, y);
36964
- }), A(U(s), "isRangeEnd", function() {
36966
+ }), A(z(s), "isRangeEnd", function() {
36965
36967
  var v = s.props, y = v.day, L = v.startDate, V = v.endDate;
36966
36968
  return !(!L || !V) && x5(V, y);
36967
- }), A(U(s), "isWeekend", function() {
36969
+ }), A(z(s), "isWeekend", function() {
36968
36970
  var v = WP(s.props.day);
36969
36971
  return v === 0 || v === 6;
36970
- }), A(U(s), "isAfterMonth", function() {
36972
+ }), A(z(s), "isAfterMonth", function() {
36971
36973
  return s.props.month !== void 0 && (s.props.month + 1) % 12 === a5(s.props.day);
36972
- }), A(U(s), "isBeforeMonth", function() {
36974
+ }), A(z(s), "isBeforeMonth", function() {
36973
36975
  return s.props.month !== void 0 && (a5(s.props.day) + 1) % 12 === s.props.month;
36974
- }), A(U(s), "isCurrentDay", function() {
36976
+ }), A(z(s), "isCurrentDay", function() {
36975
36977
  return s.isSameDay(Q3());
36976
- }), A(U(s), "isSelected", function() {
36978
+ }), A(z(s), "isSelected", function() {
36977
36979
  return s.isSameDay(s.props.selected);
36978
- }), A(U(s), "getClassNames", function(v) {
36980
+ }), A(z(s), "getClassNames", function(v) {
36979
36981
  var y = s.props.dayClassName ? s.props.dayClassName(v) : void 0;
36980
36982
  return H5("react-datepicker__day", y, "react-datepicker__day--" + pz(s.props.day), { "react-datepicker__day--disabled": s.isDisabled(), "react-datepicker__day--excluded": s.isExcluded(), "react-datepicker__day--selected": s.isSelected(), "react-datepicker__day--keyboard-selected": s.isKeyboardSelected(), "react-datepicker__day--range-start": s.isRangeStart(), "react-datepicker__day--range-end": s.isRangeEnd(), "react-datepicker__day--in-range": s.isInRange(), "react-datepicker__day--in-selecting-range": s.isInSelectingRange(), "react-datepicker__day--selecting-range-start": s.isSelectingRangeStart(), "react-datepicker__day--selecting-range-end": s.isSelectingRangeEnd(), "react-datepicker__day--today": s.isCurrentDay(), "react-datepicker__day--weekend": s.isWeekend(), "react-datepicker__day--outside-month": s.isAfterMonth() || s.isBeforeMonth() }, s.getHighLightedClass("react-datepicker__day--highlighted"));
36981
- }), A(U(s), "getAriaLabel", function() {
36983
+ }), A(z(s), "getAriaLabel", function() {
36982
36984
  var v = s.props, y = v.day, L = v.ariaLabelPrefixWhenEnabled, V = L === void 0 ? "Choose" : L, k = v.ariaLabelPrefixWhenDisabled, S = k === void 0 ? "Not available" : k, _ = s.isDisabled() || s.isExcluded() ? S : V;
36983
36985
  return "".concat(_, " ").concat(Re(y, "PPPP", s.props.locale));
36984
- }), A(U(s), "getTabIndex", function(v, y) {
36986
+ }), A(z(s), "getTabIndex", function(v, y) {
36985
36987
  var L = v || s.props.selected, V = y || s.props.preSelection;
36986
36988
  return s.isKeyboardSelected() || s.isSameDay(L) && x5(V, L) ? 0 : -1;
36987
- }), A(U(s), "handleFocusDay", function() {
36989
+ }), A(z(s), "handleFocusDay", function() {
36988
36990
  var v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, y = !1;
36989
36991
  s.getTabIndex() === 0 && !v.isInputFocused && s.isSameDay(s.props.preSelection) && (document.activeElement && document.activeElement !== document.body || (y = !0), s.props.inline && !s.props.shouldFocusDayInline && (y = !1), s.props.containerRef && s.props.containerRef.current && s.props.containerRef.current.contains(document.activeElement) && document.activeElement.classList.contains("react-datepicker__day") && (y = !0), s.props.monthShowsDuplicateDaysEnd && s.isAfterMonth() && (y = !1), s.props.monthShowsDuplicateDaysStart && s.isBeforeMonth() && (y = !1)), y && s.dayEl.current.focus({ preventScroll: !0 });
36990
- }), A(U(s), "renderDayContents", function() {
36992
+ }), A(z(s), "renderDayContents", function() {
36991
36993
  return s.props.monthShowsDuplicateDaysEnd && s.isAfterMonth() || s.props.monthShowsDuplicateDaysStart && s.isBeforeMonth() ? null : s.props.renderDayContents ? s.props.renderDayContents(EL(s.props.day), s.props.day) : EL(s.props.day);
36992
- }), A(U(s), "render", function() {
36994
+ }), A(z(s), "render", function() {
36993
36995
  return r1.createElement("div", { ref: s.dayEl, className: s.getClassNames(s.props.day), onKeyDown: s.handleOnKeyDown, onClick: s.handleClick, onMouseEnter: s.handleMouseEnter, tabIndex: s.getTabIndex(), "aria-label": s.getAriaLabel(), role: "option", "aria-disabled": s.isDisabled(), "aria-current": s.isCurrentDay() ? "date" : void 0, "aria-selected": s.isSelected() || s.isInRange() }, s.renderDayContents());
36994
36996
  }), s;
36995
36997
  }
@@ -37005,7 +37007,7 @@ var oc, Vz = Bc(function(r) {
37005
37007
  var s;
37006
37008
  v4(this, o);
37007
37009
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
37008
- return A(U(s = a.call.apply(a, [this].concat(p))), "handleClick", function(v) {
37010
+ return A(z(s = a.call.apply(a, [this].concat(p))), "handleClick", function(v) {
37009
37011
  s.props.onClick && s.props.onClick(v);
37010
37012
  }), s;
37011
37013
  }
@@ -37020,23 +37022,23 @@ var oc, Vz = Bc(function(r) {
37020
37022
  var s;
37021
37023
  v4(this, o);
37022
37024
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
37023
- return A(U(s = a.call.apply(a, [this].concat(p))), "handleDayClick", function(v, y) {
37025
+ return A(z(s = a.call.apply(a, [this].concat(p))), "handleDayClick", function(v, y) {
37024
37026
  s.props.onDayClick && s.props.onDayClick(v, y);
37025
- }), A(U(s), "handleDayMouseEnter", function(v) {
37027
+ }), A(z(s), "handleDayMouseEnter", function(v) {
37026
37028
  s.props.onDayMouseEnter && s.props.onDayMouseEnter(v);
37027
- }), A(U(s), "handleWeekClick", function(v, y, L) {
37029
+ }), A(z(s), "handleWeekClick", function(v, y, L) {
37028
37030
  typeof s.props.onWeekSelect == "function" && s.props.onWeekSelect(v, y, L), s.props.shouldCloseOnSelect && s.props.setOpen(!1);
37029
- }), A(U(s), "formatWeekNumber", function(v) {
37031
+ }), A(z(s), "formatWeekNumber", function(v) {
37030
37032
  return s.props.formatWeekNumber ? s.props.formatWeekNumber(v) : fz(v);
37031
- }), A(U(s), "renderDays", function() {
37033
+ }), A(z(s), "renderDays", function() {
37032
37034
  var v = Jh(s.props.day, s.props.locale, s.props.calendarStartDay), y = [], L = s.formatWeekNumber(v);
37033
37035
  if (s.props.showWeekNumber) {
37034
- var V = s.props.onWeekSelect ? s.handleWeekClick.bind(U(s), v, L) : void 0;
37036
+ var V = s.props.onWeekSelect ? s.handleWeekClick.bind(z(s), v, L) : void 0;
37035
37037
  y.push(r1.createElement(Ez, { key: "W", weekNumber: L, onClick: V, ariaLabelPrefix: s.props.ariaLabelPrefix }));
37036
37038
  }
37037
37039
  return y.concat([0, 1, 2, 3, 4, 5, 6].map(function(k) {
37038
37040
  var S = ha(v, k);
37039
- return r1.createElement(kz, { ariaLabelPrefixWhenEnabled: s.props.chooseDayAriaLabelPrefix, ariaLabelPrefixWhenDisabled: s.props.disabledDayAriaLabelPrefix, key: S.valueOf(), day: S, month: s.props.month, onClick: s.handleDayClick.bind(U(s), S), onMouseEnter: s.handleDayMouseEnter.bind(U(s), S), minDate: s.props.minDate, maxDate: s.props.maxDate, excludeDates: s.props.excludeDates, excludeDateIntervals: s.props.excludeDateIntervals, includeDates: s.props.includeDates, includeDateIntervals: s.props.includeDateIntervals, highlightDates: s.props.highlightDates, selectingDate: s.props.selectingDate, filterDate: s.props.filterDate, preSelection: s.props.preSelection, selected: s.props.selected, selectsStart: s.props.selectsStart, selectsEnd: s.props.selectsEnd, selectsRange: s.props.selectsRange, selectsDisabledDaysInRange: s.props.selectsDisabledDaysInRange, startDate: s.props.startDate, endDate: s.props.endDate, dayClassName: s.props.dayClassName, renderDayContents: s.props.renderDayContents, disabledKeyboardNavigation: s.props.disabledKeyboardNavigation, handleOnKeyDown: s.props.handleOnKeyDown, isInputFocused: s.props.isInputFocused, containerRef: s.props.containerRef, inline: s.props.inline, shouldFocusDayInline: s.props.shouldFocusDayInline, monthShowsDuplicateDaysEnd: s.props.monthShowsDuplicateDaysEnd, monthShowsDuplicateDaysStart: s.props.monthShowsDuplicateDaysStart, locale: s.props.locale });
37041
+ return r1.createElement(kz, { ariaLabelPrefixWhenEnabled: s.props.chooseDayAriaLabelPrefix, ariaLabelPrefixWhenDisabled: s.props.disabledDayAriaLabelPrefix, key: S.valueOf(), day: S, month: s.props.month, onClick: s.handleDayClick.bind(z(s), S), onMouseEnter: s.handleDayMouseEnter.bind(z(s), S), minDate: s.props.minDate, maxDate: s.props.maxDate, excludeDates: s.props.excludeDates, excludeDateIntervals: s.props.excludeDateIntervals, includeDates: s.props.includeDates, includeDateIntervals: s.props.includeDateIntervals, highlightDates: s.props.highlightDates, selectingDate: s.props.selectingDate, filterDate: s.props.filterDate, preSelection: s.props.preSelection, selected: s.props.selected, selectsStart: s.props.selectsStart, selectsEnd: s.props.selectsEnd, selectsRange: s.props.selectsRange, selectsDisabledDaysInRange: s.props.selectsDisabledDaysInRange, startDate: s.props.startDate, endDate: s.props.endDate, dayClassName: s.props.dayClassName, renderDayContents: s.props.renderDayContents, disabledKeyboardNavigation: s.props.disabledKeyboardNavigation, handleOnKeyDown: s.props.handleOnKeyDown, isInputFocused: s.props.isInputFocused, containerRef: s.props.containerRef, inline: s.props.inline, shouldFocusDayInline: s.props.shouldFocusDayInline, monthShowsDuplicateDaysEnd: s.props.monthShowsDuplicateDaysEnd, monthShowsDuplicateDaysStart: s.props.monthShowsDuplicateDaysStart, locale: s.props.locale });
37040
37042
  }));
37041
37043
  }), s;
37042
37044
  }
@@ -37056,60 +37058,60 @@ var Tz = function(r) {
37056
37058
  var s;
37057
37059
  v4(this, o);
37058
37060
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
37059
- return A(U(s = a.call.apply(a, [this].concat(p))), "MONTH_REFS", Eh(Array(12)).map(function() {
37061
+ return A(z(s = a.call.apply(a, [this].concat(p))), "MONTH_REFS", Eh(Array(12)).map(function() {
37060
37062
  return r1.createRef();
37061
- })), A(U(s), "QUARTER_REFS", Eh(Array(4)).map(function() {
37063
+ })), A(z(s), "QUARTER_REFS", Eh(Array(4)).map(function() {
37062
37064
  return r1.createRef();
37063
- })), A(U(s), "isDisabled", function(v) {
37065
+ })), A(z(s), "isDisabled", function(v) {
37064
37066
  return Ac(v, s.props);
37065
- }), A(U(s), "isExcluded", function(v) {
37067
+ }), A(z(s), "isExcluded", function(v) {
37066
37068
  return tm(v, s.props);
37067
- }), A(U(s), "handleDayClick", function(v, y) {
37069
+ }), A(z(s), "handleDayClick", function(v, y) {
37068
37070
  s.props.onDayClick && s.props.onDayClick(v, y, s.props.orderInDisplay);
37069
- }), A(U(s), "handleDayMouseEnter", function(v) {
37071
+ }), A(z(s), "handleDayMouseEnter", function(v) {
37070
37072
  s.props.onDayMouseEnter && s.props.onDayMouseEnter(v);
37071
- }), A(U(s), "handleMouseLeave", function() {
37073
+ }), A(z(s), "handleMouseLeave", function() {
37072
37074
  s.props.onMouseLeave && s.props.onMouseLeave();
37073
- }), A(U(s), "isRangeStartMonth", function(v) {
37075
+ }), A(z(s), "isRangeStartMonth", function(v) {
37074
37076
  var y = s.props, L = y.day, V = y.startDate, k = y.endDate;
37075
37077
  return !(!V || !k) && T6(b5(L, v), V);
37076
- }), A(U(s), "isRangeStartQuarter", function(v) {
37078
+ }), A(z(s), "isRangeStartQuarter", function(v) {
37077
37079
  var y = s.props, L = y.day, V = y.startDate, k = y.endDate;
37078
37080
  return !(!V || !k) && Ec(Jn(L, v), V);
37079
- }), A(U(s), "isRangeEndMonth", function(v) {
37081
+ }), A(z(s), "isRangeEndMonth", function(v) {
37080
37082
  var y = s.props, L = y.day, V = y.startDate, k = y.endDate;
37081
37083
  return !(!V || !k) && T6(b5(L, v), k);
37082
- }), A(U(s), "isRangeEndQuarter", function(v) {
37084
+ }), A(z(s), "isRangeEndQuarter", function(v) {
37083
37085
  var y = s.props, L = y.day, V = y.startDate, k = y.endDate;
37084
37086
  return !(!V || !k) && Ec(Jn(L, v), k);
37085
- }), A(U(s), "isInSelectingRangeMonth", function(v) {
37086
- var y, L = s.props, V = L.day, k = L.selectsStart, S = L.selectsEnd, _ = L.selectsRange, R = L.startDate, N = L.endDate, Z = (y = s.props.selectingDate) !== null && y !== void 0 ? y : s.props.preSelection;
37087
- return !(!(k || S || _) || !Z) && (k && N ? Fp(Z, N, v, V) : (S && R || !(!_ || !R || N)) && Fp(R, Z, v, V));
37088
- }), A(U(s), "isSelectingMonthRangeStart", function(v) {
37087
+ }), A(z(s), "isInSelectingRangeMonth", function(v) {
37088
+ var y, L = s.props, V = L.day, k = L.selectsStart, S = L.selectsEnd, _ = L.selectsRange, R = L.startDate, N = L.endDate, O = (y = s.props.selectingDate) !== null && y !== void 0 ? y : s.props.preSelection;
37089
+ return !(!(k || S || _) || !O) && (k && N ? Fp(O, N, v, V) : (S && R || !(!_ || !R || N)) && Fp(R, O, v, V));
37090
+ }), A(z(s), "isSelectingMonthRangeStart", function(v) {
37089
37091
  var y;
37090
37092
  if (!s.isInSelectingRangeMonth(v)) return !1;
37091
37093
  var L = s.props, V = L.day, k = L.startDate, S = L.selectsStart, _ = b5(V, v), R = (y = s.props.selectingDate) !== null && y !== void 0 ? y : s.props.preSelection;
37092
37094
  return T6(_, S ? R : k);
37093
- }), A(U(s), "isSelectingMonthRangeEnd", function(v) {
37095
+ }), A(z(s), "isSelectingMonthRangeEnd", function(v) {
37094
37096
  var y;
37095
37097
  if (!s.isInSelectingRangeMonth(v)) return !1;
37096
37098
  var L = s.props, V = L.day, k = L.endDate, S = L.selectsEnd, _ = L.selectsRange, R = b5(V, v), N = (y = s.props.selectingDate) !== null && y !== void 0 ? y : s.props.preSelection;
37097
37099
  return T6(R, S || _ ? N : k);
37098
- }), A(U(s), "isInSelectingRangeQuarter", function(v) {
37099
- var y, L = s.props, V = L.day, k = L.selectsStart, S = L.selectsEnd, _ = L.selectsRange, R = L.startDate, N = L.endDate, Z = (y = s.props.selectingDate) !== null && y !== void 0 ? y : s.props.preSelection;
37100
- return !(!(k || S || _) || !Z) && (k && N ? jp(Z, N, v, V) : (S && R || !(!_ || !R || N)) && jp(R, Z, v, V));
37101
- }), A(U(s), "isWeekInMonth", function(v) {
37100
+ }), A(z(s), "isInSelectingRangeQuarter", function(v) {
37101
+ var y, L = s.props, V = L.day, k = L.selectsStart, S = L.selectsEnd, _ = L.selectsRange, R = L.startDate, N = L.endDate, O = (y = s.props.selectingDate) !== null && y !== void 0 ? y : s.props.preSelection;
37102
+ return !(!(k || S || _) || !O) && (k && N ? jp(O, N, v, V) : (S && R || !(!_ || !R || N)) && jp(R, O, v, V));
37103
+ }), A(z(s), "isWeekInMonth", function(v) {
37102
37104
  var y = s.props.day, L = ha(v, 6);
37103
37105
  return T6(v, y) || T6(L, y);
37104
- }), A(U(s), "isCurrentMonth", function(v, y) {
37106
+ }), A(z(s), "isCurrentMonth", function(v, y) {
37105
37107
  return X2(v) === X2(Q3()) && y === a5(Q3());
37106
- }), A(U(s), "isCurrentQuarter", function(v, y) {
37108
+ }), A(z(s), "isCurrentQuarter", function(v, y) {
37107
37109
  return X2(v) === X2(Q3()) && y === ta(Q3());
37108
- }), A(U(s), "isSelectedMonth", function(v, y, L) {
37110
+ }), A(z(s), "isSelectedMonth", function(v, y, L) {
37109
37111
  return a5(v) === y && X2(v) === X2(L);
37110
- }), A(U(s), "isSelectedQuarter", function(v, y, L) {
37112
+ }), A(z(s), "isSelectedQuarter", function(v, y, L) {
37111
37113
  return ta(v) === y && X2(v) === X2(L);
37112
- }), A(U(s), "renderWeeks", function() {
37114
+ }), A(z(s), "renderWeeks", function() {
37113
37115
  for (var v = [], y = s.props.fixedHeight, L = 0, V = !1, k = Jh(_t(s.props.day), s.props.locale, s.props.calendarStartDay); v.push(r1.createElement(Sz, { ariaLabelPrefix: s.props.weekAriaLabelPrefix, chooseDayAriaLabelPrefix: s.props.chooseDayAriaLabelPrefix, disabledDayAriaLabelPrefix: s.props.disabledDayAriaLabelPrefix, key: L, day: k, month: a5(s.props.day), onDayClick: s.handleDayClick, onDayMouseEnter: s.handleDayMouseEnter, onWeekSelect: s.props.onWeekSelect, formatWeekNumber: s.props.formatWeekNumber, locale: s.props.locale, minDate: s.props.minDate, maxDate: s.props.maxDate, excludeDates: s.props.excludeDates, excludeDateIntervals: s.props.excludeDateIntervals, includeDates: s.props.includeDates, includeDateIntervals: s.props.includeDateIntervals, inline: s.props.inline, shouldFocusDayInline: s.props.shouldFocusDayInline, highlightDates: s.props.highlightDates, selectingDate: s.props.selectingDate, filterDate: s.props.filterDate, preSelection: s.props.preSelection, selected: s.props.selected, selectsStart: s.props.selectsStart, selectsEnd: s.props.selectsEnd, selectsRange: s.props.selectsRange, selectsDisabledDaysInRange: s.props.selectsDisabledDaysInRange, showWeekNumber: s.props.showWeekNumbers, startDate: s.props.startDate, endDate: s.props.endDate, dayClassName: s.props.dayClassName, setOpen: s.props.setOpen, shouldCloseOnSelect: s.props.shouldCloseOnSelect, disabledKeyboardNavigation: s.props.disabledKeyboardNavigation, renderDayContents: s.props.renderDayContents, handleOnKeyDown: s.props.handleOnKeyDown, isInputFocused: s.props.isInputFocused, containerRef: s.props.containerRef, calendarStartDay: s.props.calendarStartDay, monthShowsDuplicateDaysEnd: s.props.monthShowsDuplicateDaysEnd, monthShowsDuplicateDaysStart: s.props.monthShowsDuplicateDaysStart })), !V; ) {
37114
37116
  L++, k = Ah(k, 1);
37115
37117
  var S = y && L >= 6, _ = !y && !s.isWeekInMonth(k);
@@ -37119,17 +37121,17 @@ var Tz = function(r) {
37119
37121
  }
37120
37122
  }
37121
37123
  return v;
37122
- }), A(U(s), "onMonthClick", function(v, y) {
37124
+ }), A(z(s), "onMonthClick", function(v, y) {
37123
37125
  s.handleDayClick(_t(b5(s.props.day, y)), v);
37124
- }), A(U(s), "onMonthMouseEnter", function(v) {
37126
+ }), A(z(s), "onMonthMouseEnter", function(v) {
37125
37127
  s.handleDayMouseEnter(_t(b5(s.props.day, v)));
37126
- }), A(U(s), "handleMonthNavigation", function(v, y) {
37128
+ }), A(z(s), "handleMonthNavigation", function(v, y) {
37127
37129
  s.isDisabled(y) || s.isExcluded(y) || (s.props.setPreSelection(y), s.MONTH_REFS[v].current && s.MONTH_REFS[v].current.focus());
37128
- }), A(U(s), "onMonthKeyDown", function(v, y) {
37129
- var L = s.props, V = L.selected, k = L.preSelection, S = L.disabledKeyboardNavigation, _ = L.showTwoColumnMonthYearPicker, R = L.showFourColumnMonthYearPicker, N = L.setPreSelection, Z = v.key;
37130
- if (Z !== "Tab" && v.preventDefault(), !S) {
37131
- var z = pb(R, _), P = zp[z].verticalNavigationOffset, I = zp[z].grid;
37132
- switch (Z) {
37130
+ }), A(z(s), "onMonthKeyDown", function(v, y) {
37131
+ var L = s.props, V = L.selected, k = L.preSelection, S = L.disabledKeyboardNavigation, _ = L.showTwoColumnMonthYearPicker, R = L.showFourColumnMonthYearPicker, N = L.setPreSelection, O = v.key;
37132
+ if (O !== "Tab" && v.preventDefault(), !S) {
37133
+ var U = pb(R, _), P = zp[U].verticalNavigationOffset, I = zp[U].grid;
37134
+ switch (O) {
37133
37135
  case "Enter":
37134
37136
  s.onMonthClick(v, y), N(V);
37135
37137
  break;
@@ -37146,13 +37148,13 @@ var Tz = function(r) {
37146
37148
  s.handleMonthNavigation(I[I.length - 1].includes(y) ? y - 12 + P : y + P, _6(k, P));
37147
37149
  }
37148
37150
  }
37149
- }), A(U(s), "onQuarterClick", function(v, y) {
37151
+ }), A(z(s), "onQuarterClick", function(v, y) {
37150
37152
  s.handleDayClick(nb(Jn(s.props.day, y)), v);
37151
- }), A(U(s), "onQuarterMouseEnter", function(v) {
37153
+ }), A(z(s), "onQuarterMouseEnter", function(v) {
37152
37154
  s.handleDayMouseEnter(nb(Jn(s.props.day, v)));
37153
- }), A(U(s), "handleQuarterNavigation", function(v, y) {
37155
+ }), A(z(s), "handleQuarterNavigation", function(v, y) {
37154
37156
  s.isDisabled(y) || s.isExcluded(y) || (s.props.setPreSelection(y), s.QUARTER_REFS[v - 1].current && s.QUARTER_REFS[v - 1].current.focus());
37155
- }), A(U(s), "onQuarterKeyDown", function(v, y) {
37157
+ }), A(z(s), "onQuarterKeyDown", function(v, y) {
37156
37158
  var L = v.key;
37157
37159
  if (!s.props.disabledKeyboardNavigation) switch (L) {
37158
37160
  case "Enter":
@@ -37164,35 +37166,35 @@ var Tz = function(r) {
37164
37166
  case "ArrowLeft":
37165
37167
  s.handleQuarterNavigation(y === 1 ? 4 : y - 1, YP(s.props.preSelection, 1));
37166
37168
  }
37167
- }), A(U(s), "getMonthClassNames", function(v) {
37168
- var y = s.props, L = y.day, V = y.startDate, k = y.endDate, S = y.selected, _ = y.minDate, R = y.maxDate, N = y.preSelection, Z = y.monthClassName, z = y.excludeDates, P = y.includeDates, I = Z ? Z(b5(L, v)) : void 0, W = b5(L, v);
37169
- return H5("react-datepicker__month-text", "react-datepicker__month-".concat(v), I, { "react-datepicker__month-text--disabled": (_ || R || z || P) && $w(W, s.props), "react-datepicker__month-text--selected": s.isSelectedMonth(L, v, S), "react-datepicker__month-text--keyboard-selected": !s.props.disabledKeyboardNavigation && a5(N) === v, "react-datepicker__month-text--in-selecting-range": s.isInSelectingRangeMonth(v), "react-datepicker__month-text--in-range": Fp(V, k, v, L), "react-datepicker__month-text--range-start": s.isRangeStartMonth(v), "react-datepicker__month-text--range-end": s.isRangeEndMonth(v), "react-datepicker__month-text--selecting-range-start": s.isSelectingMonthRangeStart(v), "react-datepicker__month-text--selecting-range-end": s.isSelectingMonthRangeEnd(v), "react-datepicker__month-text--today": s.isCurrentMonth(L, v) });
37170
- }), A(U(s), "getTabIndex", function(v) {
37169
+ }), A(z(s), "getMonthClassNames", function(v) {
37170
+ var y = s.props, L = y.day, V = y.startDate, k = y.endDate, S = y.selected, _ = y.minDate, R = y.maxDate, N = y.preSelection, O = y.monthClassName, U = y.excludeDates, P = y.includeDates, I = O ? O(b5(L, v)) : void 0, W = b5(L, v);
37171
+ return H5("react-datepicker__month-text", "react-datepicker__month-".concat(v), I, { "react-datepicker__month-text--disabled": (_ || R || U || P) && $w(W, s.props), "react-datepicker__month-text--selected": s.isSelectedMonth(L, v, S), "react-datepicker__month-text--keyboard-selected": !s.props.disabledKeyboardNavigation && a5(N) === v, "react-datepicker__month-text--in-selecting-range": s.isInSelectingRangeMonth(v), "react-datepicker__month-text--in-range": Fp(V, k, v, L), "react-datepicker__month-text--range-start": s.isRangeStartMonth(v), "react-datepicker__month-text--range-end": s.isRangeEndMonth(v), "react-datepicker__month-text--selecting-range-start": s.isSelectingMonthRangeStart(v), "react-datepicker__month-text--selecting-range-end": s.isSelectingMonthRangeEnd(v), "react-datepicker__month-text--today": s.isCurrentMonth(L, v) });
37172
+ }), A(z(s), "getTabIndex", function(v) {
37171
37173
  var y = a5(s.props.preSelection);
37172
37174
  return s.props.disabledKeyboardNavigation || v !== y ? "-1" : "0";
37173
- }), A(U(s), "getQuarterTabIndex", function(v) {
37175
+ }), A(z(s), "getQuarterTabIndex", function(v) {
37174
37176
  var y = ta(s.props.preSelection);
37175
37177
  return s.props.disabledKeyboardNavigation || v !== y ? "-1" : "0";
37176
- }), A(U(s), "getAriaLabel", function(v) {
37178
+ }), A(z(s), "getAriaLabel", function(v) {
37177
37179
  var y = s.props, L = y.chooseDayAriaLabelPrefix, V = L === void 0 ? "Choose" : L, k = y.disabledDayAriaLabelPrefix, S = k === void 0 ? "Not available" : k, _ = y.day, R = b5(_, v), N = s.isDisabled(R) || s.isExcluded(R) ? S : V;
37178
37180
  return "".concat(N, " ").concat(Re(R, "MMMM yyyy"));
37179
- }), A(U(s), "getQuarterClassNames", function(v) {
37181
+ }), A(z(s), "getQuarterClassNames", function(v) {
37180
37182
  var y = s.props, L = y.day, V = y.startDate, k = y.endDate, S = y.selected, _ = y.minDate, R = y.maxDate, N = y.preSelection;
37181
37183
  return H5("react-datepicker__quarter-text", "react-datepicker__quarter-".concat(v), { "react-datepicker__quarter-text--disabled": (_ || R) && vz(Jn(L, v), s.props), "react-datepicker__quarter-text--selected": s.isSelectedQuarter(L, v, S), "react-datepicker__quarter-text--keyboard-selected": ta(N) === v, "react-datepicker__quarter-text--in-selecting-range": s.isInSelectingRangeQuarter(v), "react-datepicker__quarter-text--in-range": jp(V, k, v, L), "react-datepicker__quarter-text--range-start": s.isRangeStartQuarter(v), "react-datepicker__quarter-text--range-end": s.isRangeEndQuarter(v) });
37182
- }), A(U(s), "renderMonths", function() {
37184
+ }), A(z(s), "renderMonths", function() {
37183
37185
  var v = s.props, y = v.showFullMonthYearPicker, L = v.showTwoColumnMonthYearPicker, V = v.showFourColumnMonthYearPicker, k = v.locale, S = v.day, _ = v.selected;
37184
37186
  return zp[pb(V, L)].grid.map(function(R, N) {
37185
- return r1.createElement("div", { className: "react-datepicker__month-wrapper", key: N }, R.map(function(Z, z) {
37186
- return r1.createElement("div", { ref: s.MONTH_REFS[Z], key: z, onClick: function(P) {
37187
- s.onMonthClick(P, Z);
37187
+ return r1.createElement("div", { className: "react-datepicker__month-wrapper", key: N }, R.map(function(O, U) {
37188
+ return r1.createElement("div", { ref: s.MONTH_REFS[O], key: U, onClick: function(P) {
37189
+ s.onMonthClick(P, O);
37188
37190
  }, onKeyDown: function(P) {
37189
- s.onMonthKeyDown(P, Z);
37191
+ s.onMonthKeyDown(P, O);
37190
37192
  }, onMouseEnter: function() {
37191
- return s.onMonthMouseEnter(Z);
37192
- }, tabIndex: s.getTabIndex(Z), className: s.getMonthClassNames(Z), role: "option", "aria-label": s.getAriaLabel(Z), "aria-current": s.isCurrentMonth(S, Z) ? "date" : void 0, "aria-selected": s.isSelectedMonth(S, Z, _) }, y ? em(Z, k) : Iw(Z, k));
37193
+ return s.onMonthMouseEnter(O);
37194
+ }, tabIndex: s.getTabIndex(O), className: s.getMonthClassNames(O), role: "option", "aria-label": s.getAriaLabel(O), "aria-current": s.isCurrentMonth(S, O) ? "date" : void 0, "aria-selected": s.isSelectedMonth(S, O, _) }, y ? em(O, k) : Iw(O, k));
37193
37195
  }));
37194
37196
  });
37195
- }), A(U(s), "renderQuarters", function() {
37197
+ }), A(z(s), "renderQuarters", function() {
37196
37198
  var v = s.props, y = v.day, L = v.selected;
37197
37199
  return r1.createElement("div", { className: "react-datepicker__quarter-wrapper" }, [1, 2, 3, 4].map(function(V, k) {
37198
37200
  return r1.createElement("div", { key: k, ref: s.QUARTER_REFS[k], role: "option", onClick: function(S) {
@@ -37203,7 +37205,7 @@ var Tz = function(r) {
37203
37205
  return s.onQuarterMouseEnter(V);
37204
37206
  }, className: s.getQuarterClassNames(V), "aria-selected": s.isSelectedQuarter(y, V, L), tabIndex: s.getQuarterTabIndex(V), "aria-current": s.isCurrentQuarter(y, V) ? "date" : void 0 }, mz(V, s.props.locale));
37205
37207
  }));
37206
- }), A(U(s), "getClassNames", function() {
37208
+ }), A(z(s), "getClassNames", function() {
37207
37209
  var v = s.props;
37208
37210
  v.day;
37209
37211
  var y = v.selectingDate, L = v.selectsStart, V = v.selectsEnd, k = v.showMonthYearPicker, S = v.showQuarterYearPicker;
@@ -37221,28 +37223,28 @@ var Tz = function(r) {
37221
37223
  var s;
37222
37224
  v4(this, o);
37223
37225
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
37224
- return A(U(s = a.call.apply(a, [this].concat(p))), "state", { height: null }), A(U(s), "handleClick", function(v) {
37226
+ return A(z(s = a.call.apply(a, [this].concat(p))), "state", { height: null }), A(z(s), "handleClick", function(v) {
37225
37227
  (s.props.minTime || s.props.maxTime) && lb(v, s.props) || (s.props.excludeTimes || s.props.includeTimes || s.props.filterTime) && ob(v, s.props) || s.props.onChange(v);
37226
- }), A(U(s), "isSelectedTime", function(v, y, L) {
37228
+ }), A(z(s), "isSelectedTime", function(v, y, L) {
37227
37229
  return s.props.selected && y === h7(v) && L === p7(v);
37228
- }), A(U(s), "liClasses", function(v, y, L) {
37230
+ }), A(z(s), "liClasses", function(v, y, L) {
37229
37231
  var V = ["react-datepicker__time-list-item", s.props.timeClassName ? s.props.timeClassName(v, y, L) : void 0];
37230
37232
  return s.isSelectedTime(v, y, L) && V.push("react-datepicker__time-list-item--selected"), ((s.props.minTime || s.props.maxTime) && lb(v, s.props) || (s.props.excludeTimes || s.props.includeTimes || s.props.filterTime) && ob(v, s.props)) && V.push("react-datepicker__time-list-item--disabled"), s.props.injectTimes && (60 * h7(v) + p7(v)) % s.props.intervals != 0 && V.push("react-datepicker__time-list-item--injected"), V.join(" ");
37231
- }), A(U(s), "handleOnKeyDown", function(v, y) {
37233
+ }), A(z(s), "handleOnKeyDown", function(v, y) {
37232
37234
  v.key === " " && (v.preventDefault(), v.key = "Enter"), v.key === "Enter" && s.handleClick(y), s.props.handleOnKeyDown(v);
37233
- }), A(U(s), "renderTimes", function() {
37235
+ }), A(z(s), "renderTimes", function() {
37234
37236
  for (var v = [], y = s.props.format ? s.props.format : "p", L = s.props.intervals, V = hz(Q3(s.props.selected)), k = 1440 / L, S = s.props.injectTimes && s.props.injectTimes.sort(function(W, $) {
37235
37237
  return W - $;
37236
- }), _ = s.props.selected || s.props.openToDate || Q3(), R = h7(_), N = p7(_), Z = Oo(Zo(V, N), R), z = 0; z < k; z++) {
37237
- var P = mh(V, z * L);
37238
+ }), _ = s.props.selected || s.props.openToDate || Q3(), R = h7(_), N = p7(_), O = Oo(Zo(V, N), R), U = 0; U < k; U++) {
37239
+ var P = mh(V, U * L);
37238
37240
  if (v.push(P), S) {
37239
- var I = gz(V, P, z, L, S);
37241
+ var I = gz(V, P, U, L, S);
37240
37242
  v = v.concat(I);
37241
37243
  }
37242
37244
  }
37243
37245
  return v.map(function(W, $) {
37244
- return r1.createElement("li", { key: $, onClick: s.handleClick.bind(U(s), W), className: s.liClasses(W, R, N), ref: function(J) {
37245
- (y9(W, Z) || Tt(W, Z)) && (s.centerLi = J);
37246
+ return r1.createElement("li", { key: $, onClick: s.handleClick.bind(z(s), W), className: s.liClasses(W, R, N), ref: function(J) {
37247
+ (y9(W, O) || Tt(W, O)) && (s.centerLi = J);
37246
37248
  }, onKeyDown: function(J) {
37247
37249
  s.handleOnKeyDown(J, W);
37248
37250
  }, tabIndex: "0", "aria-selected": s.isSelectedTime(W, R, N) ? "true" : void 0 }, Re(W, y, s.props.locale));
@@ -37271,53 +37273,53 @@ var _z = function(r) {
37271
37273
  var a = L4(o);
37272
37274
  function o(s) {
37273
37275
  var i;
37274
- return v4(this, o), A(U(i = a.call(this, s)), "YEAR_REFS", Eh(Array(i.props.yearItemNumber)).map(function() {
37276
+ return v4(this, o), A(z(i = a.call(this, s)), "YEAR_REFS", Eh(Array(i.props.yearItemNumber)).map(function() {
37275
37277
  return r1.createRef();
37276
- })), A(U(i), "isDisabled", function(p) {
37278
+ })), A(z(i), "isDisabled", function(p) {
37277
37279
  return Ac(p, i.props);
37278
- }), A(U(i), "isExcluded", function(p) {
37280
+ }), A(z(i), "isExcluded", function(p) {
37279
37281
  return tm(p, i.props);
37280
- }), A(U(i), "selectingDate", function() {
37282
+ }), A(z(i), "selectingDate", function() {
37281
37283
  var p;
37282
37284
  return (p = i.props.selectingDate) !== null && p !== void 0 ? p : i.props.preSelection;
37283
- }), A(U(i), "updateFocusOnPaginate", function(p) {
37285
+ }), A(z(i), "updateFocusOnPaginate", function(p) {
37284
37286
  var C = (function() {
37285
37287
  this.YEAR_REFS[p].current.focus();
37286
- }).bind(U(i));
37288
+ }).bind(z(i));
37287
37289
  window.requestAnimationFrame(C);
37288
- }), A(U(i), "handleYearClick", function(p, C) {
37290
+ }), A(z(i), "handleYearClick", function(p, C) {
37289
37291
  i.props.onDayClick && i.props.onDayClick(p, C);
37290
- }), A(U(i), "handleYearNavigation", function(p, C) {
37292
+ }), A(z(i), "handleYearNavigation", function(p, C) {
37291
37293
  var v = i.props, y = v.date, L = v.yearItemNumber, V = ra(y, L).startPeriod;
37292
37294
  i.isDisabled(C) || i.isExcluded(C) || (i.props.setPreSelection(C), p - V == -1 ? i.updateFocusOnPaginate(L - 1) : p - V === L ? i.updateFocusOnPaginate(0) : i.YEAR_REFS[p - V].current.focus());
37293
- }), A(U(i), "isSameDay", function(p, C) {
37295
+ }), A(z(i), "isSameDay", function(p, C) {
37294
37296
  return x5(p, C);
37295
- }), A(U(i), "isCurrentYear", function(p) {
37297
+ }), A(z(i), "isCurrentYear", function(p) {
37296
37298
  return p === X2(Q3());
37297
- }), A(U(i), "isRangeStart", function(p) {
37299
+ }), A(z(i), "isRangeStart", function(p) {
37298
37300
  return i.props.startDate && i.props.endDate && St(v9(Q3(), p), i.props.startDate);
37299
- }), A(U(i), "isRangeEnd", function(p) {
37301
+ }), A(z(i), "isRangeEnd", function(p) {
37300
37302
  return i.props.startDate && i.props.endDate && St(v9(Q3(), p), i.props.endDate);
37301
- }), A(U(i), "isInRange", function(p) {
37303
+ }), A(z(i), "isInRange", function(p) {
37302
37304
  return Ap(p, i.props.startDate, i.props.endDate);
37303
- }), A(U(i), "isInSelectingRange", function(p) {
37305
+ }), A(z(i), "isInSelectingRange", function(p) {
37304
37306
  var C = i.props, v = C.selectsStart, y = C.selectsEnd, L = C.selectsRange, V = C.startDate, k = C.endDate;
37305
37307
  return !(!(v || y || L) || !i.selectingDate()) && (v && k ? Ap(p, i.selectingDate(), k) : (y && V || !(!L || !V || k)) && Ap(p, V, i.selectingDate()));
37306
- }), A(U(i), "isSelectingRangeStart", function(p) {
37308
+ }), A(z(i), "isSelectingRangeStart", function(p) {
37307
37309
  if (!i.isInSelectingRange(p)) return !1;
37308
37310
  var C = i.props, v = C.startDate, y = C.selectsStart, L = v9(Q3(), p);
37309
37311
  return St(L, y ? i.selectingDate() : v);
37310
- }), A(U(i), "isSelectingRangeEnd", function(p) {
37312
+ }), A(z(i), "isSelectingRangeEnd", function(p) {
37311
37313
  if (!i.isInSelectingRange(p)) return !1;
37312
37314
  var C = i.props, v = C.endDate, y = C.selectsEnd, L = C.selectsRange, V = v9(Q3(), p);
37313
37315
  return St(V, y || L ? i.selectingDate() : v);
37314
- }), A(U(i), "isKeyboardSelected", function(p) {
37316
+ }), A(z(i), "isKeyboardSelected", function(p) {
37315
37317
  var C = _o(v9(i.props.date, p));
37316
37318
  return !i.props.disabledKeyboardNavigation && !i.props.inline && !x5(C, _o(i.props.selected)) && x5(C, _o(i.props.preSelection));
37317
- }), A(U(i), "onYearClick", function(p, C) {
37319
+ }), A(z(i), "onYearClick", function(p, C) {
37318
37320
  var v = i.props.date;
37319
37321
  i.handleYearClick(_o(v9(v, C)), p);
37320
- }), A(U(i), "onYearKeyDown", function(p, C) {
37322
+ }), A(z(i), "onYearKeyDown", function(p, C) {
37321
37323
  var v = p.key;
37322
37324
  if (!i.props.disabledKeyboardNavigation) switch (v) {
37323
37325
  case "Enter":
@@ -37329,26 +37331,26 @@ var _z = function(r) {
37329
37331
  case "ArrowLeft":
37330
37332
  i.handleYearNavigation(C - 1, Ao(i.props.preSelection, 1));
37331
37333
  }
37332
- }), A(U(i), "getYearClassNames", function(p) {
37334
+ }), A(z(i), "getYearClassNames", function(p) {
37333
37335
  var C = i.props, v = C.minDate, y = C.maxDate, L = C.selected, V = C.excludeDates, k = C.includeDates, S = C.filterDate;
37334
37336
  return H5("react-datepicker__year-text", { "react-datepicker__year-text--selected": p === X2(L), "react-datepicker__year-text--disabled": (v || y || V || k || S) && Yw(p, i.props), "react-datepicker__year-text--keyboard-selected": i.isKeyboardSelected(p), "react-datepicker__year-text--range-start": i.isRangeStart(p), "react-datepicker__year-text--range-end": i.isRangeEnd(p), "react-datepicker__year-text--in-range": i.isInRange(p), "react-datepicker__year-text--in-selecting-range": i.isInSelectingRange(p), "react-datepicker__year-text--selecting-range-start": i.isSelectingRangeStart(p), "react-datepicker__year-text--selecting-range-end": i.isSelectingRangeEnd(p), "react-datepicker__year-text--today": i.isCurrentYear(p) });
37335
- }), A(U(i), "getYearTabIndex", function(p) {
37337
+ }), A(z(i), "getYearTabIndex", function(p) {
37336
37338
  return i.props.disabledKeyboardNavigation ? "-1" : p === X2(i.props.preSelection) ? "0" : "-1";
37337
- }), A(U(i), "getYearContainerClassNames", function() {
37339
+ }), A(z(i), "getYearContainerClassNames", function() {
37338
37340
  var p = i.props, C = p.selectingDate, v = p.selectsStart, y = p.selectsEnd, L = p.selectsRange;
37339
37341
  return H5("react-datepicker__year", { "react-datepicker__year--selecting-range": C && (v || y || L) });
37340
37342
  }), i;
37341
37343
  }
37342
37344
  return g4(o, [{ key: "render", value: function() {
37343
37345
  for (var s = this, i = [], p = this.props, C = p.date, v = p.yearItemNumber, y = p.onYearMouseEnter, L = p.onYearMouseLeave, V = ra(C, v), k = V.startPeriod, S = V.endPeriod, _ = function(N) {
37344
- i.push(r1.createElement("div", { ref: s.YEAR_REFS[N - k], onClick: function(Z) {
37345
- s.onYearClick(Z, N);
37346
- }, onKeyDown: function(Z) {
37347
- s.onYearKeyDown(Z, N);
37348
- }, tabIndex: s.getYearTabIndex(N), className: s.getYearClassNames(N), onMouseEnter: function(Z) {
37349
- return y(Z, N);
37350
- }, onMouseLeave: function(Z) {
37351
- return L(Z, N);
37346
+ i.push(r1.createElement("div", { ref: s.YEAR_REFS[N - k], onClick: function(O) {
37347
+ s.onYearClick(O, N);
37348
+ }, onKeyDown: function(O) {
37349
+ s.onYearKeyDown(O, N);
37350
+ }, tabIndex: s.getYearTabIndex(N), className: s.getYearClassNames(N), onMouseEnter: function(O) {
37351
+ return y(O, N);
37352
+ }, onMouseLeave: function(O) {
37353
+ return L(O, N);
37352
37354
  }, key: N, "aria-current": s.isCurrentYear(N) ? "date" : void 0 }, N));
37353
37355
  }, R = k; R <= S; R++) _(R);
37354
37356
  return r1.createElement("div", { className: this.getYearContainerClassNames() }, r1.createElement("div", { className: "react-datepicker__year-wrapper", onMouseLeave: this.props.clearSelectingDate }, i));
@@ -37358,11 +37360,11 @@ var _z = function(r) {
37358
37360
  var a = L4(o);
37359
37361
  function o(s) {
37360
37362
  var i;
37361
- return v4(this, o), A(U(i = a.call(this, s)), "onTimeChange", function(p) {
37363
+ return v4(this, o), A(z(i = a.call(this, s)), "onTimeChange", function(p) {
37362
37364
  i.setState({ time: p });
37363
37365
  var C = /* @__PURE__ */ new Date();
37364
37366
  C.setHours(p.split(":")[0]), C.setMinutes(p.split(":")[1]), i.props.onChange(C);
37365
- }), A(U(i), "renderTimeInput", function() {
37367
+ }), A(z(i), "renderTimeInput", function() {
37366
37368
  var p = i.state.time, C = i.props, v = C.date, y = C.timeString, L = C.customTimeInput;
37367
37369
  return L ? r1.cloneElement(L, { date: v, value: p, onChange: i.onTimeChange }) : r1.createElement("input", { type: "time", className: "react-datepicker-time__input", placeholder: "Time", name: "time-input", required: !0, value: p, onChange: function(V) {
37368
37370
  i.onTimeChange(V.target.value || y);
@@ -37384,80 +37386,80 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37384
37386
  var a = L4(o);
37385
37387
  function o(s) {
37386
37388
  var i;
37387
- return v4(this, o), A(U(i = a.call(this, s)), "handleClickOutside", function(p) {
37389
+ return v4(this, o), A(z(i = a.call(this, s)), "handleClickOutside", function(p) {
37388
37390
  i.props.onClickOutside(p);
37389
- }), A(U(i), "setClickOutsideRef", function() {
37391
+ }), A(z(i), "setClickOutsideRef", function() {
37390
37392
  return i.containerRef.current;
37391
- }), A(U(i), "handleDropdownFocus", function(p) {
37393
+ }), A(z(i), "handleDropdownFocus", function(p) {
37392
37394
  (function() {
37393
37395
  var C = ((arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}).className || "").split(/\s+/);
37394
37396
  return Zz.some(function(v) {
37395
37397
  return C.indexOf(v) >= 0;
37396
37398
  });
37397
37399
  })(p.target) && i.props.onDropdownFocus();
37398
- }), A(U(i), "getDateInView", function() {
37400
+ }), A(z(i), "getDateInView", function() {
37399
37401
  var p = i.props, C = p.preSelection, v = p.selected, y = p.openToDate, L = Ww(i.props), V = Qw(i.props), k = Q3(), S = y || v || C;
37400
37402
  return S || (L && y9(k, L) ? L : V && Dt(k, V) ? V : k);
37401
- }), A(U(i), "increaseMonth", function() {
37403
+ }), A(z(i), "increaseMonth", function() {
37402
37404
  i.setState(function(p) {
37403
37405
  var C = p.date;
37404
37406
  return { date: _6(C, 1) };
37405
37407
  }, function() {
37406
37408
  return i.handleMonthChange(i.state.date);
37407
37409
  });
37408
- }), A(U(i), "decreaseMonth", function() {
37410
+ }), A(z(i), "decreaseMonth", function() {
37409
37411
  i.setState(function(p) {
37410
37412
  var C = p.date;
37411
37413
  return { date: sa(C, 1) };
37412
37414
  }, function() {
37413
37415
  return i.handleMonthChange(i.state.date);
37414
37416
  });
37415
- }), A(U(i), "handleDayClick", function(p, C, v) {
37417
+ }), A(z(i), "handleDayClick", function(p, C, v) {
37416
37418
  i.props.onSelect(p, C, v), i.props.setPreSelection && i.props.setPreSelection(p);
37417
- }), A(U(i), "handleDayMouseEnter", function(p) {
37419
+ }), A(z(i), "handleDayMouseEnter", function(p) {
37418
37420
  i.setState({ selectingDate: p }), i.props.onDayMouseEnter && i.props.onDayMouseEnter(p);
37419
- }), A(U(i), "handleMonthMouseLeave", function() {
37421
+ }), A(z(i), "handleMonthMouseLeave", function() {
37420
37422
  i.setState({ selectingDate: null }), i.props.onMonthMouseLeave && i.props.onMonthMouseLeave();
37421
- }), A(U(i), "handleYearMouseEnter", function(p, C) {
37423
+ }), A(z(i), "handleYearMouseEnter", function(p, C) {
37422
37424
  i.setState({ selectingDate: v9(Q3(), C) }), i.props.onYearMouseEnter && i.props.onYearMouseEnter(p, C);
37423
- }), A(U(i), "handleYearMouseLeave", function(p, C) {
37425
+ }), A(z(i), "handleYearMouseLeave", function(p, C) {
37424
37426
  i.props.onYearMouseLeave && i.props.onYearMouseLeave(p, C);
37425
- }), A(U(i), "handleYearChange", function(p) {
37427
+ }), A(z(i), "handleYearChange", function(p) {
37426
37428
  i.props.onYearChange && (i.props.onYearChange(p), i.setState({ isRenderAriaLiveMessage: !0 })), i.props.adjustDateOnChange && (i.props.onSelect && i.props.onSelect(p), i.props.setOpen && i.props.setOpen(!0)), i.props.setPreSelection && i.props.setPreSelection(p);
37427
- }), A(U(i), "handleMonthChange", function(p) {
37429
+ }), A(z(i), "handleMonthChange", function(p) {
37428
37430
  i.handleCustomMonthChange(p), i.props.adjustDateOnChange && (i.props.onSelect && i.props.onSelect(p), i.props.setOpen && i.props.setOpen(!0)), i.props.setPreSelection && i.props.setPreSelection(p);
37429
- }), A(U(i), "handleCustomMonthChange", function(p) {
37431
+ }), A(z(i), "handleCustomMonthChange", function(p) {
37430
37432
  i.props.onMonthChange && (i.props.onMonthChange(p), i.setState({ isRenderAriaLiveMessage: !0 }));
37431
- }), A(U(i), "handleMonthYearChange", function(p) {
37433
+ }), A(z(i), "handleMonthYearChange", function(p) {
37432
37434
  i.handleYearChange(p), i.handleMonthChange(p);
37433
- }), A(U(i), "changeYear", function(p) {
37435
+ }), A(z(i), "changeYear", function(p) {
37434
37436
  i.setState(function(C) {
37435
37437
  var v = C.date;
37436
37438
  return { date: v9(v, p) };
37437
37439
  }, function() {
37438
37440
  return i.handleYearChange(i.state.date);
37439
37441
  });
37440
- }), A(U(i), "changeMonth", function(p) {
37442
+ }), A(z(i), "changeMonth", function(p) {
37441
37443
  i.setState(function(C) {
37442
37444
  var v = C.date;
37443
37445
  return { date: b5(v, p) };
37444
37446
  }, function() {
37445
37447
  return i.handleMonthChange(i.state.date);
37446
37448
  });
37447
- }), A(U(i), "changeMonthYear", function(p) {
37449
+ }), A(z(i), "changeMonthYear", function(p) {
37448
37450
  i.setState(function(C) {
37449
37451
  var v = C.date;
37450
37452
  return { date: v9(b5(v, a5(p)), X2(p)) };
37451
37453
  }, function() {
37452
37454
  return i.handleMonthYearChange(i.state.date);
37453
37455
  });
37454
- }), A(U(i), "header", function() {
37456
+ }), A(z(i), "header", function() {
37455
37457
  var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : i.state.date, C = Jh(p, i.props.locale, i.props.calendarStartDay), v = [];
37456
37458
  return i.props.showWeekNumbers && v.push(r1.createElement("div", { key: "W", className: "react-datepicker__day-name" }, i.props.weekLabel || "#")), v.concat([0, 1, 2, 3, 4, 5, 6].map(function(y) {
37457
37459
  var L = ha(C, y), V = i.formatWeekday(L, i.props.locale), k = i.props.weekDayClassName ? i.props.weekDayClassName(L) : void 0;
37458
37460
  return r1.createElement("div", { key: y, className: H5("react-datepicker__day-name", k) }, V);
37459
37461
  }));
37460
- }), A(U(i), "formatWeekday", function(p, C) {
37462
+ }), A(z(i), "formatWeekday", function(p, C) {
37461
37463
  return i.props.formatWeekDay ? function(v, y, L) {
37462
37464
  return y(Re(v, "EEEE", L));
37463
37465
  }(p, i.props.formatWeekDay, C) : i.props.useWeekdaysShort ? function(v, y) {
@@ -37465,16 +37467,16 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37465
37467
  }(p, C) : function(v, y) {
37466
37468
  return Re(v, "EEEEEE", y);
37467
37469
  }(p, C);
37468
- }), A(U(i), "decreaseYear", function() {
37470
+ }), A(z(i), "decreaseYear", function() {
37469
37471
  i.setState(function(p) {
37470
37472
  var C = p.date;
37471
37473
  return { date: Ao(C, i.props.showYearPicker ? i.props.yearItemNumber : 1) };
37472
37474
  }, function() {
37473
37475
  return i.handleYearChange(i.state.date);
37474
37476
  });
37475
- }), A(U(i), "clearSelectingDate", function() {
37477
+ }), A(z(i), "clearSelectingDate", function() {
37476
37478
  i.setState({ selectingDate: null });
37477
- }), A(U(i), "renderPreviousButton", function() {
37479
+ }), A(z(i), "renderPreviousButton", function() {
37478
37480
  if (!i.props.renderCustomHeader) {
37479
37481
  var p;
37480
37482
  switch (!0) {
@@ -37482,8 +37484,8 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37482
37484
  p = cb(i.state.date, i.props);
37483
37485
  break;
37484
37486
  case i.props.showYearPicker:
37485
- p = function(z) {
37486
- var P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, I = P.minDate, W = P.yearItemNumber, $ = W === void 0 ? 12 : W, J = ra(_o(Ao(z, $)), $).endPeriod, e1 = I && X2(I);
37487
+ p = function(U) {
37488
+ var P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, I = P.minDate, W = P.yearItemNumber, $ = W === void 0 ? 12 : W, J = ra(_o(Ao(U, $)), $).endPeriod, e1 = I && X2(I);
37487
37489
  return e1 && e1 > J || !1;
37488
37490
  }(i.state.date, i.props);
37489
37491
  break;
@@ -37493,18 +37495,18 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37493
37495
  if ((i.props.forceShowMonthNavigation || i.props.showDisabledMonthNavigation || !p) && !i.props.showTimeSelectOnly) {
37494
37496
  var C = ["react-datepicker__navigation", "react-datepicker__navigation--previous"], v = i.decreaseMonth;
37495
37497
  (i.props.showMonthYearPicker || i.props.showQuarterYearPicker || i.props.showYearPicker) && (v = i.decreaseYear), p && i.props.showDisabledMonthNavigation && (C.push("react-datepicker__navigation--previous--disabled"), v = null);
37496
- var y = i.props.showMonthYearPicker || i.props.showQuarterYearPicker || i.props.showYearPicker, L = i.props, V = L.previousMonthButtonLabel, k = L.previousYearButtonLabel, S = i.props, _ = S.previousMonthAriaLabel, R = _ === void 0 ? typeof V == "string" ? V : "Previous Month" : _, N = S.previousYearAriaLabel, Z = N === void 0 ? typeof k == "string" ? k : "Previous Year" : N;
37497
- return r1.createElement("button", { type: "button", className: C.join(" "), onClick: v, onKeyDown: i.props.handleOnKeyDown, "aria-label": y ? Z : R }, r1.createElement("span", { className: ["react-datepicker__navigation-icon", "react-datepicker__navigation-icon--previous"].join(" ") }, y ? i.props.previousYearButtonLabel : i.props.previousMonthButtonLabel));
37498
+ var y = i.props.showMonthYearPicker || i.props.showQuarterYearPicker || i.props.showYearPicker, L = i.props, V = L.previousMonthButtonLabel, k = L.previousYearButtonLabel, S = i.props, _ = S.previousMonthAriaLabel, R = _ === void 0 ? typeof V == "string" ? V : "Previous Month" : _, N = S.previousYearAriaLabel, O = N === void 0 ? typeof k == "string" ? k : "Previous Year" : N;
37499
+ return r1.createElement("button", { type: "button", className: C.join(" "), onClick: v, onKeyDown: i.props.handleOnKeyDown, "aria-label": y ? O : R }, r1.createElement("span", { className: ["react-datepicker__navigation-icon", "react-datepicker__navigation-icon--previous"].join(" ") }, y ? i.props.previousYearButtonLabel : i.props.previousMonthButtonLabel));
37498
37500
  }
37499
37501
  }
37500
- }), A(U(i), "increaseYear", function() {
37502
+ }), A(z(i), "increaseYear", function() {
37501
37503
  i.setState(function(p) {
37502
37504
  var C = p.date;
37503
37505
  return { date: la(C, i.props.showYearPicker ? i.props.yearItemNumber : 1) };
37504
37506
  }, function() {
37505
37507
  return i.handleYearChange(i.state.date);
37506
37508
  });
37507
- }), A(U(i), "renderNextButton", function() {
37509
+ }), A(z(i), "renderNextButton", function() {
37508
37510
  if (!i.props.renderCustomHeader) {
37509
37511
  var p;
37510
37512
  switch (!0) {
@@ -37512,8 +37514,8 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37512
37514
  p = db(i.state.date, i.props);
37513
37515
  break;
37514
37516
  case i.props.showYearPicker:
37515
- p = function(z) {
37516
- var P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, I = P.maxDate, W = P.yearItemNumber, $ = W === void 0 ? 12 : W, J = ra(la(z, $), $).startPeriod, e1 = I && X2(I);
37517
+ p = function(U) {
37518
+ var P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, I = P.maxDate, W = P.yearItemNumber, $ = W === void 0 ? 12 : W, J = ra(la(U, $), $).startPeriod, e1 = I && X2(I);
37517
37519
  return e1 && e1 < J || !1;
37518
37520
  }(i.state.date, i.props);
37519
37521
  break;
@@ -37525,40 +37527,40 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37525
37527
  i.props.showTimeSelect && C.push("react-datepicker__navigation--next--with-time"), i.props.todayButton && C.push("react-datepicker__navigation--next--with-today-button");
37526
37528
  var v = i.increaseMonth;
37527
37529
  (i.props.showMonthYearPicker || i.props.showQuarterYearPicker || i.props.showYearPicker) && (v = i.increaseYear), p && i.props.showDisabledMonthNavigation && (C.push("react-datepicker__navigation--next--disabled"), v = null);
37528
- var y = i.props.showMonthYearPicker || i.props.showQuarterYearPicker || i.props.showYearPicker, L = i.props, V = L.nextMonthButtonLabel, k = L.nextYearButtonLabel, S = i.props, _ = S.nextMonthAriaLabel, R = _ === void 0 ? typeof V == "string" ? V : "Next Month" : _, N = S.nextYearAriaLabel, Z = N === void 0 ? typeof k == "string" ? k : "Next Year" : N;
37529
- return r1.createElement("button", { type: "button", className: C.join(" "), onClick: v, onKeyDown: i.props.handleOnKeyDown, "aria-label": y ? Z : R }, r1.createElement("span", { className: ["react-datepicker__navigation-icon", "react-datepicker__navigation-icon--next"].join(" ") }, y ? i.props.nextYearButtonLabel : i.props.nextMonthButtonLabel));
37530
+ var y = i.props.showMonthYearPicker || i.props.showQuarterYearPicker || i.props.showYearPicker, L = i.props, V = L.nextMonthButtonLabel, k = L.nextYearButtonLabel, S = i.props, _ = S.nextMonthAriaLabel, R = _ === void 0 ? typeof V == "string" ? V : "Next Month" : _, N = S.nextYearAriaLabel, O = N === void 0 ? typeof k == "string" ? k : "Next Year" : N;
37531
+ return r1.createElement("button", { type: "button", className: C.join(" "), onClick: v, onKeyDown: i.props.handleOnKeyDown, "aria-label": y ? O : R }, r1.createElement("span", { className: ["react-datepicker__navigation-icon", "react-datepicker__navigation-icon--next"].join(" ") }, y ? i.props.nextYearButtonLabel : i.props.nextMonthButtonLabel));
37530
37532
  }
37531
37533
  }
37532
- }), A(U(i), "renderCurrentMonth", function() {
37534
+ }), A(z(i), "renderCurrentMonth", function() {
37533
37535
  var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : i.state.date, C = ["react-datepicker__current-month"];
37534
37536
  return i.props.showYearDropdown && C.push("react-datepicker__current-month--hasYearDropdown"), i.props.showMonthDropdown && C.push("react-datepicker__current-month--hasMonthDropdown"), i.props.showMonthYearDropdown && C.push("react-datepicker__current-month--hasMonthYearDropdown"), r1.createElement("div", { className: C.join(" ") }, Re(p, i.props.dateFormat, i.props.locale));
37535
- }), A(U(i), "renderYearDropdown", function() {
37537
+ }), A(z(i), "renderYearDropdown", function() {
37536
37538
  var p = arguments.length > 0 && arguments[0] !== void 0 && arguments[0];
37537
37539
  if (i.props.showYearDropdown && !p) return r1.createElement(bz, { adjustDateOnChange: i.props.adjustDateOnChange, date: i.state.date, onSelect: i.props.onSelect, setOpen: i.props.setOpen, dropdownMode: i.props.dropdownMode, onChange: i.changeYear, minDate: i.props.minDate, maxDate: i.props.maxDate, year: X2(i.state.date), scrollableYearDropdown: i.props.scrollableYearDropdown, yearDropdownItemNumber: i.props.yearDropdownItemNumber });
37538
- }), A(U(i), "renderMonthDropdown", function() {
37540
+ }), A(z(i), "renderMonthDropdown", function() {
37539
37541
  var p = arguments.length > 0 && arguments[0] !== void 0 && arguments[0];
37540
37542
  if (i.props.showMonthDropdown && !p) return r1.createElement(xz, { dropdownMode: i.props.dropdownMode, locale: i.props.locale, onChange: i.changeMonth, month: a5(i.state.date), useShortMonthInDropdown: i.props.useShortMonthInDropdown });
37541
- }), A(U(i), "renderMonthYearDropdown", function() {
37543
+ }), A(z(i), "renderMonthYearDropdown", function() {
37542
37544
  var p = arguments.length > 0 && arguments[0] !== void 0 && arguments[0];
37543
37545
  if (i.props.showMonthYearDropdown && !p) return r1.createElement(Mz, { dropdownMode: i.props.dropdownMode, locale: i.props.locale, dateFormat: i.props.dateFormat, onChange: i.changeMonthYear, minDate: i.props.minDate, maxDate: i.props.maxDate, date: i.state.date, scrollableMonthYearDropdown: i.props.scrollableMonthYearDropdown });
37544
- }), A(U(i), "handleTodayButtonClick", function(p) {
37546
+ }), A(z(i), "handleTodayButtonClick", function(p) {
37545
37547
  i.props.onSelect(ab(), p), i.props.setPreSelection && i.props.setPreSelection(ab());
37546
- }), A(U(i), "renderTodayButton", function() {
37548
+ }), A(z(i), "renderTodayButton", function() {
37547
37549
  if (i.props.todayButton && !i.props.showTimeSelectOnly) return r1.createElement("div", { className: "react-datepicker__today-button", onClick: function(p) {
37548
37550
  return i.handleTodayButtonClick(p);
37549
37551
  } }, i.props.todayButton);
37550
- }), A(U(i), "renderDefaultHeader", function(p) {
37552
+ }), A(z(i), "renderDefaultHeader", function(p) {
37551
37553
  var C = p.monthDate, v = p.i;
37552
37554
  return r1.createElement("div", { className: "react-datepicker__header ".concat(i.props.showTimeSelect ? "react-datepicker__header--has-time-select" : "") }, i.renderCurrentMonth(C), r1.createElement("div", { className: "react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(i.props.dropdownMode), onFocus: i.handleDropdownFocus }, i.renderMonthDropdown(v !== 0), i.renderMonthYearDropdown(v !== 0), i.renderYearDropdown(v !== 0)), r1.createElement("div", { className: "react-datepicker__day-names" }, i.header(C)));
37553
- }), A(U(i), "renderCustomHeader", function() {
37555
+ }), A(z(i), "renderCustomHeader", function() {
37554
37556
  var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, C = p.monthDate, v = p.i;
37555
37557
  if (i.props.showTimeSelect && !i.state.monthContainer || i.props.showTimeSelectOnly) return null;
37556
37558
  var y = sb(i.state.date, i.props), L = ub(i.state.date, i.props), V = cb(i.state.date, i.props), k = db(i.state.date, i.props), S = !i.props.showMonthYearPicker && !i.props.showQuarterYearPicker && !i.props.showYearPicker;
37557
37559
  return r1.createElement("div", { className: "react-datepicker__header react-datepicker__header--custom", onFocus: i.props.onDropdownFocus }, i.props.renderCustomHeader(KL(KL({}, i.state), {}, { customHeaderCount: v, monthDate: C, changeMonth: i.changeMonth, changeYear: i.changeYear, decreaseMonth: i.decreaseMonth, increaseMonth: i.increaseMonth, decreaseYear: i.decreaseYear, increaseYear: i.increaseYear, prevMonthButtonDisabled: y, nextMonthButtonDisabled: L, prevYearButtonDisabled: V, nextYearButtonDisabled: k })), S && r1.createElement("div", { className: "react-datepicker__day-names" }, i.header(C)));
37558
- }), A(U(i), "renderYearHeader", function() {
37560
+ }), A(z(i), "renderYearHeader", function() {
37559
37561
  var p = i.state.date, C = i.props, v = C.showYearPicker, y = ra(p, C.yearItemNumber), L = y.startPeriod, V = y.endPeriod;
37560
37562
  return r1.createElement("div", { className: "react-datepicker__header react-datepicker-year-header" }, v ? "".concat(L, " - ").concat(V) : X2(p));
37561
- }), A(U(i), "renderHeader", function(p) {
37563
+ }), A(z(i), "renderHeader", function(p) {
37562
37564
  switch (!0) {
37563
37565
  case i.props.renderCustomHeader !== void 0:
37564
37566
  return i.renderCustomHeader(p);
@@ -37567,7 +37569,7 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37567
37569
  default:
37568
37570
  return i.renderDefaultHeader(p);
37569
37571
  }
37570
- }), A(U(i), "renderMonths", function() {
37572
+ }), A(z(i), "renderMonths", function() {
37571
37573
  if (!i.props.showTimeSelectOnly && !i.props.showYearPicker) {
37572
37574
  for (var p = [], C = i.props.showPreviousMonths ? i.props.monthsShown - 1 : 0, v = sa(i.state.date, C), y = 0; y < i.props.monthsShown; ++y) {
37573
37575
  var L = y - i.props.monthSelectedIn, V = _6(v, L), k = "month-".concat(y), S = y < i.props.monthsShown - 1, _ = y > 0;
@@ -37577,17 +37579,17 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37577
37579
  }
37578
37580
  return p;
37579
37581
  }
37580
- }), A(U(i), "renderYears", function() {
37582
+ }), A(z(i), "renderYears", function() {
37581
37583
  if (!i.props.showTimeSelectOnly) return i.props.showYearPicker ? r1.createElement("div", { className: "react-datepicker__year--container" }, i.renderHeader(), r1.createElement(_z, Fc({ onDayClick: i.handleDayClick, selectingDate: i.state.selectingDate, clearSelectingDate: i.clearSelectingDate, date: i.state.date }, i.props, { onYearMouseEnter: i.handleYearMouseEnter, onYearMouseLeave: i.handleYearMouseLeave }))) : void 0;
37582
- }), A(U(i), "renderTimeSection", function() {
37584
+ }), A(z(i), "renderTimeSection", function() {
37583
37585
  if (i.props.showTimeSelect && (i.state.monthContainer || i.props.showTimeSelectOnly)) return r1.createElement(Kw, { selected: i.props.selected, openToDate: i.props.openToDate, onChange: i.props.onTimeChange, timeClassName: i.props.timeClassName, format: i.props.timeFormat, includeTimes: i.props.includeTimes, intervals: i.props.timeIntervals, minTime: i.props.minTime, maxTime: i.props.maxTime, excludeTimes: i.props.excludeTimes, filterTime: i.props.filterTime, timeCaption: i.props.timeCaption, todayButton: i.props.todayButton, showMonthDropdown: i.props.showMonthDropdown, showMonthYearDropdown: i.props.showMonthYearDropdown, showYearDropdown: i.props.showYearDropdown, withPortal: i.props.withPortal, monthRef: i.state.monthContainer, injectTimes: i.props.injectTimes, locale: i.props.locale, handleOnKeyDown: i.props.handleOnKeyDown, showTimeSelectOnly: i.props.showTimeSelectOnly });
37584
- }), A(U(i), "renderInputTimeSection", function() {
37586
+ }), A(z(i), "renderInputTimeSection", function() {
37585
37587
  var p = new Date(i.props.selected), C = Et(p) && i.props.selected ? "".concat(fb(p.getHours()), ":").concat(fb(p.getMinutes())) : "";
37586
37588
  if (i.props.showTimeInput) return r1.createElement(Dz, { date: p, timeString: C, timeInputLabel: i.props.timeInputLabel, onChange: i.props.onTimeChange, customTimeInput: i.props.customTimeInput });
37587
- }), A(U(i), "renderAriaLiveRegion", function() {
37589
+ }), A(z(i), "renderAriaLiveRegion", function() {
37588
37590
  var p, C = ra(i.state.date, i.props.yearItemNumber), v = C.startPeriod, y = C.endPeriod;
37589
37591
  return p = i.props.showYearPicker ? "".concat(v, " - ").concat(y) : i.props.showMonthYearPicker || i.props.showQuarterYearPicker ? X2(i.state.date) : "".concat(em(a5(i.state.date), i.props.locale), " ").concat(X2(i.state.date)), r1.createElement("span", { role: "alert", "aria-live": "polite", className: "react-datepicker__aria-live" }, i.state.isRenderAriaLiveMessage && p);
37590
- }), A(U(i), "renderChildren", function() {
37592
+ }), A(z(i), "renderChildren", function() {
37591
37593
  if (i.props.children) return r1.createElement("div", { className: "react-datepicker__children-container" }, i.props.children);
37592
37594
  }), i.containerRef = r1.createRef(), i.state = { date: i.getDateInView(), selectingDate: null, monthContainer: null, isRenderAriaLiveMessage: !1 }, i;
37593
37595
  }
@@ -37631,12 +37633,12 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37631
37633
  var a = L4(o);
37632
37634
  function o(s) {
37633
37635
  var i;
37634
- return v4(this, o), A(U(i = a.call(this, s)), "getTabChildren", function() {
37636
+ return v4(this, o), A(z(i = a.call(this, s)), "getTabChildren", function() {
37635
37637
  return Array.prototype.slice.call(i.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"), 1, -1).filter(Nz);
37636
- }), A(U(i), "handleFocusStart", function(p) {
37638
+ }), A(z(i), "handleFocusStart", function(p) {
37637
37639
  var C = i.getTabChildren();
37638
37640
  C && C.length > 1 && C[C.length - 1].focus();
37639
- }), A(U(i), "handleFocusEnd", function(p) {
37641
+ }), A(z(i), "handleFocusEnd", function(p) {
37640
37642
  var C = i.getTabChildren();
37641
37643
  C && C.length > 1 && C[0].focus();
37642
37644
  }), i.tabLoopRef = r1.createRef(), i;
@@ -37653,15 +37655,15 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37653
37655
  return v4(this, o), a.apply(this, arguments);
37654
37656
  }
37655
37657
  return g4(o, [{ key: "render", value: function() {
37656
- var s, i = this.props, p = i.className, C = i.wrapperClassName, v = i.hidePopper, y = i.popperComponent, L = i.popperModifiers, V = i.popperPlacement, k = i.popperProps, S = i.targetComponent, _ = i.enableTabLoop, R = i.popperOnKeyDown, N = i.portalId, Z = i.portalHost;
37658
+ var s, i = this.props, p = i.className, C = i.wrapperClassName, v = i.hidePopper, y = i.popperComponent, L = i.popperModifiers, V = i.popperPlacement, k = i.popperProps, S = i.targetComponent, _ = i.enableTabLoop, R = i.popperOnKeyDown, N = i.portalId, O = i.portalHost;
37657
37659
  if (!v) {
37658
- var z = H5("react-datepicker-popper", p);
37660
+ var U = H5("react-datepicker-popper", p);
37659
37661
  s = r1.createElement(rz, Fc({ modifiers: L, placement: V }, k), function(I) {
37660
37662
  var W = I.ref, $ = I.style, J = I.placement, e1 = I.arrowProps;
37661
- return r1.createElement(ex, { enableTabLoop: _ }, r1.createElement("div", { ref: W, style: $, className: z, "data-placement": J, onKeyDown: R }, r1.cloneElement(y, { arrowProps: e1 })));
37663
+ return r1.createElement(ex, { enableTabLoop: _ }, r1.createElement("div", { ref: W, style: $, className: U, "data-placement": J, onKeyDown: R }, r1.cloneElement(y, { arrowProps: e1 })));
37662
37664
  });
37663
37665
  }
37664
- this.props.popperContainer && (s = r1.createElement(this.props.popperContainer, {}, s)), N && !v && (s = r1.createElement(Jw, { portalId: N, portalHost: Z }, s));
37666
+ this.props.popperContainer && (s = r1.createElement(this.props.popperContainer, {}, s)), N && !v && (s = r1.createElement(Jw, { portalId: N, portalHost: O }, s));
37665
37667
  var P = H5("react-datepicker-wrapper", C);
37666
37668
  return r1.createElement(PA, { className: "react-datepicker-manager" }, r1.createElement(lz, null, function(I) {
37667
37669
  var W = I.ref;
@@ -37675,18 +37677,18 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37675
37677
  var a = L4(o);
37676
37678
  function o(s) {
37677
37679
  var i;
37678
- return v4(this, o), A(U(i = a.call(this, s)), "getPreSelection", function() {
37680
+ return v4(this, o), A(z(i = a.call(this, s)), "getPreSelection", function() {
37679
37681
  return i.props.openToDate ? i.props.openToDate : i.props.selectsEnd && i.props.startDate ? i.props.startDate : i.props.selectsStart && i.props.endDate ? i.props.endDate : Q3();
37680
- }), A(U(i), "calcInitialState", function() {
37682
+ }), A(z(i), "calcInitialState", function() {
37681
37683
  var p, C = i.getPreSelection(), v = Ww(i.props), y = Qw(i.props), L = v && y9(C, w8(v)) ? v : y && Dt(C, yh(y)) ? y : C;
37682
37684
  return { open: i.props.startOpen || !1, preventFocus: !1, preSelection: (p = i.props.selectsRange ? i.props.startDate : i.props.selected) !== null && p !== void 0 ? p : L, highlightDates: Cb(i.props.highlightDates), focused: !1, shouldFocusDayInline: !1, isRenderAriaLiveMessage: !1 };
37683
- }), A(U(i), "clearPreventFocusTimeout", function() {
37685
+ }), A(z(i), "clearPreventFocusTimeout", function() {
37684
37686
  i.preventFocusTimeout && clearTimeout(i.preventFocusTimeout);
37685
- }), A(U(i), "setFocus", function() {
37687
+ }), A(z(i), "setFocus", function() {
37686
37688
  i.input && i.input.focus && i.input.focus({ preventScroll: !0 });
37687
- }), A(U(i), "setBlur", function() {
37689
+ }), A(z(i), "setBlur", function() {
37688
37690
  i.input && i.input.blur && i.input.blur(), i.cancelFocusInput();
37689
- }), A(U(i), "setOpen", function(p) {
37691
+ }), A(z(i), "setOpen", function(p) {
37690
37692
  var C = arguments.length > 1 && arguments[1] !== void 0 && arguments[1];
37691
37693
  i.setState({ open: p, preSelection: p && i.state.open ? i.state.preSelection : i.calcInitialState().preSelection, lastPreSelectChange: Up }, function() {
37692
37694
  p || i.setState(function(v) {
@@ -37695,33 +37697,33 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37695
37697
  !C && i.setBlur(), i.setState({ inputValue: null });
37696
37698
  });
37697
37699
  });
37698
- }), A(U(i), "inputOk", function() {
37700
+ }), A(z(i), "inputOk", function() {
37699
37701
  return Bh(i.state.preSelection);
37700
- }), A(U(i), "isCalendarOpen", function() {
37702
+ }), A(z(i), "isCalendarOpen", function() {
37701
37703
  return i.props.open === void 0 ? i.state.open && !i.props.disabled && !i.props.readOnly : i.props.open;
37702
- }), A(U(i), "handleFocus", function(p) {
37704
+ }), A(z(i), "handleFocus", function(p) {
37703
37705
  i.state.preventFocus || (i.props.onFocus(p), i.props.preventOpenOnFocus || i.props.readOnly || i.setOpen(!0)), i.setState({ focused: !0 });
37704
- }), A(U(i), "cancelFocusInput", function() {
37706
+ }), A(z(i), "cancelFocusInput", function() {
37705
37707
  clearTimeout(i.inputFocusTimeout), i.inputFocusTimeout = null;
37706
- }), A(U(i), "deferFocusInput", function() {
37708
+ }), A(z(i), "deferFocusInput", function() {
37707
37709
  i.cancelFocusInput(), i.inputFocusTimeout = setTimeout(function() {
37708
37710
  return i.setFocus();
37709
37711
  }, 1);
37710
- }), A(U(i), "handleDropdownFocus", function() {
37712
+ }), A(z(i), "handleDropdownFocus", function() {
37711
37713
  i.cancelFocusInput();
37712
- }), A(U(i), "handleBlur", function(p) {
37714
+ }), A(z(i), "handleBlur", function(p) {
37713
37715
  (!i.state.open || i.props.withPortal || i.props.showTimeInput) && i.props.onBlur(p), i.setState({ focused: !1 });
37714
- }), A(U(i), "handleCalendarClickOutside", function(p) {
37716
+ }), A(z(i), "handleCalendarClickOutside", function(p) {
37715
37717
  i.props.inline || i.setOpen(!1), i.props.onClickOutside(p), i.props.withPortal && p.preventDefault();
37716
- }), A(U(i), "handleChange", function() {
37718
+ }), A(z(i), "handleChange", function() {
37717
37719
  for (var p = arguments.length, C = new Array(p), v = 0; v < p; v++) C[v] = arguments[v];
37718
37720
  var y = C[0];
37719
- if (!i.props.onChangeRaw || (i.props.onChangeRaw.apply(U(i), C), typeof y.isDefaultPrevented == "function" && !y.isDefaultPrevented())) {
37721
+ if (!i.props.onChangeRaw || (i.props.onChangeRaw.apply(z(i), C), typeof y.isDefaultPrevented == "function" && !y.isDefaultPrevented())) {
37720
37722
  i.setState({ inputValue: y.target.value, lastPreSelectChange: Fz });
37721
37723
  var L = Cz(y.target.value, i.props.dateFormat, i.props.locale, i.props.strictParsing, i.props.minDate);
37722
37724
  i.props.showTimeSelectOnly && i.props.selected && !x5(L, i.props.selected) && (L = sz(i.props.selected, L == null ? { hours: h7(i.props.selected), minutes: p7(i.props.selected), seconds: Dp(i.props.selected) } : { hours: h7(L), minutes: p7(L), seconds: Dp(L) })), !L && y.target.value || i.setSelected(L, y, !0);
37723
37725
  }
37724
- }), A(U(i), "handleSelect", function(p, C, v) {
37726
+ }), A(z(i), "handleSelect", function(p, C, v) {
37725
37727
  if (i.setState({ preventFocus: !0 }, function() {
37726
37728
  return i.preventFocusTimeout = setTimeout(function() {
37727
37729
  return i.setState({ preventFocus: !1 });
@@ -37732,7 +37734,7 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37732
37734
  var y = i.props, L = y.startDate, V = y.endDate;
37733
37735
  !L || V || y9(p, L) || i.setOpen(!1);
37734
37736
  }
37735
- }), A(U(i), "setSelected", function(p, C, v, y) {
37737
+ }), A(z(i), "setSelected", function(p, C, v, y) {
37736
37738
  var L = p;
37737
37739
  if (i.props.showYearPicker) {
37738
37740
  if (L !== null && Yw(X2(L), i.props)) return;
@@ -37741,11 +37743,11 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37741
37743
  } else if (L !== null && Ac(L, i.props)) return;
37742
37744
  var V = i.props, k = V.onChange, S = V.selectsRange, _ = V.startDate, R = V.endDate;
37743
37745
  if (!Tt(i.props.selected, L) || i.props.allowSameDay || S) if (L !== null && (!i.props.selected || v && (i.props.showTimeSelect || i.props.showTimeSelectOnly || i.props.showTimeInput) || (L = rb(L, { hour: h7(i.props.selected), minute: p7(i.props.selected), second: Dp(i.props.selected) })), i.props.inline || i.setState({ preSelection: L }), i.props.focusSelectedMonth || i.setState({ monthSelectedIn: y })), S) {
37744
- var N = _ && !R, Z = _ && R;
37745
- !_ && !R ? k([L, null], C) : N && (y9(L, _) ? k([L, null], C) : k([_, L], C)), Z && k([L, null], C);
37746
+ var N = _ && !R, O = _ && R;
37747
+ !_ && !R ? k([L, null], C) : N && (y9(L, _) ? k([L, null], C) : k([_, L], C)), O && k([L, null], C);
37746
37748
  } else k(L, C);
37747
37749
  v || (i.props.onSelect(L, C), i.setState({ inputValue: null }));
37748
- }), A(U(i), "setPreSelection", function(p) {
37750
+ }), A(z(i), "setPreSelection", function(p) {
37749
37751
  var C = i.props.minDate !== void 0, v = i.props.maxDate !== void 0, y = !0;
37750
37752
  if (p) {
37751
37753
  var L = w8(p);
@@ -37759,12 +37761,12 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37759
37761
  }
37760
37762
  }
37761
37763
  y && i.setState({ preSelection: p });
37762
- }), A(U(i), "handleTimeChange", function(p) {
37764
+ }), A(z(i), "handleTimeChange", function(p) {
37763
37765
  var C = rb(i.props.selected ? i.props.selected : i.getPreSelection(), { hour: h7(p), minute: p7(p) });
37764
37766
  i.setState({ preSelection: C }), i.props.onChange(C), i.props.shouldCloseOnSelect && i.setOpen(!1), i.props.showTimeInput && i.setOpen(!0), (i.props.showTimeSelectOnly || i.props.showTimeSelect) && i.setState({ isRenderAriaLiveMessage: !0 }), i.setState({ inputValue: null });
37765
- }), A(U(i), "onInputClick", function() {
37767
+ }), A(z(i), "onInputClick", function() {
37766
37768
  i.props.disabled || i.props.readOnly || i.setOpen(!0), i.props.onInputClick();
37767
- }), A(U(i), "onInputKeyDown", function(p) {
37769
+ }), A(z(i), "onInputKeyDown", function(p) {
37768
37770
  i.props.onKeyDown(p);
37769
37771
  var C = p.key;
37770
37772
  if (i.state.open || i.props.inline || i.props.preventOpenOnFocus) {
@@ -37778,13 +37780,13 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37778
37780
  C === "Enter" ? (p.preventDefault(), i.inputOk() && i.state.lastPreSelectChange === Up ? (i.handleSelect(y, p), !i.props.shouldCloseOnSelect && i.setPreSelection(y)) : i.setOpen(!1)) : C === "Escape" ? (p.preventDefault(), i.setOpen(!1)) : C === "Tab" && p.shiftKey && i.setOpen(!1), i.inputOk() || i.props.onInputError({ code: 1, msg: "Date input not valid." });
37779
37781
  }
37780
37782
  } else C !== "ArrowDown" && C !== "ArrowUp" && C !== "Enter" || i.onInputClick();
37781
- }), A(U(i), "onPortalKeyDown", function(p) {
37783
+ }), A(z(i), "onPortalKeyDown", function(p) {
37782
37784
  p.key === "Escape" && (p.preventDefault(), i.setState({ preventFocus: !0 }, function() {
37783
37785
  i.setOpen(!1), setTimeout(function() {
37784
37786
  i.setFocus(), i.setState({ preventFocus: !1 });
37785
37787
  });
37786
37788
  }));
37787
- }), A(U(i), "onDayKeyDown", function(p) {
37789
+ }), A(z(i), "onDayKeyDown", function(p) {
37788
37790
  i.props.onKeyDown(p);
37789
37791
  var C = p.key, v = Q3(i.state.preSelection);
37790
37792
  if (C === "Enter") p.preventDefault(), i.handleSelect(v, p), !i.props.shouldCloseOnSelect && i.setPreSelection(v);
@@ -37822,26 +37824,26 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37822
37824
  L !== V || k !== S ? i.setState({ shouldFocusDayInline: !0 }) : i.setState({ shouldFocusDayInline: !1 });
37823
37825
  }
37824
37826
  }
37825
- }), A(U(i), "onPopperKeyDown", function(p) {
37827
+ }), A(z(i), "onPopperKeyDown", function(p) {
37826
37828
  p.key === "Escape" && (p.preventDefault(), i.setState({ preventFocus: !0 }, function() {
37827
37829
  i.setOpen(!1), setTimeout(function() {
37828
37830
  i.setFocus(), i.setState({ preventFocus: !1 });
37829
37831
  });
37830
37832
  }));
37831
- }), A(U(i), "onClearClick", function(p) {
37833
+ }), A(z(i), "onClearClick", function(p) {
37832
37834
  p && p.preventDefault && p.preventDefault(), i.props.selectsRange ? i.props.onChange([null, null], p) : i.props.onChange(null, p), i.setState({ inputValue: null });
37833
- }), A(U(i), "clear", function() {
37835
+ }), A(z(i), "clear", function() {
37834
37836
  i.onClearClick();
37835
- }), A(U(i), "onScroll", function(p) {
37837
+ }), A(z(i), "onScroll", function(p) {
37836
37838
  typeof i.props.closeOnScroll == "boolean" && i.props.closeOnScroll ? p.target !== document && p.target !== document.documentElement && p.target !== document.body || i.setOpen(!1) : typeof i.props.closeOnScroll == "function" && i.props.closeOnScroll(p) && i.setOpen(!1);
37837
- }), A(U(i), "renderCalendar", function() {
37839
+ }), A(z(i), "renderCalendar", function() {
37838
37840
  return i.props.inline || i.isCalendarOpen() ? r1.createElement(Pz, { ref: function(p) {
37839
37841
  i.calendar = p;
37840
37842
  }, locale: i.props.locale, calendarStartDay: i.props.calendarStartDay, chooseDayAriaLabelPrefix: i.props.chooseDayAriaLabelPrefix, disabledDayAriaLabelPrefix: i.props.disabledDayAriaLabelPrefix, weekAriaLabelPrefix: i.props.weekAriaLabelPrefix, monthAriaLabelPrefix: i.props.monthAriaLabelPrefix, adjustDateOnChange: i.props.adjustDateOnChange, setOpen: i.setOpen, shouldCloseOnSelect: i.props.shouldCloseOnSelect, dateFormat: i.props.dateFormatCalendar, useWeekdaysShort: i.props.useWeekdaysShort, formatWeekDay: i.props.formatWeekDay, dropdownMode: i.props.dropdownMode, selected: i.props.selected, preSelection: i.state.preSelection, onSelect: i.handleSelect, onWeekSelect: i.props.onWeekSelect, openToDate: i.props.openToDate, minDate: i.props.minDate, maxDate: i.props.maxDate, selectsStart: i.props.selectsStart, selectsEnd: i.props.selectsEnd, selectsRange: i.props.selectsRange, startDate: i.props.startDate, endDate: i.props.endDate, excludeDates: i.props.excludeDates, excludeDateIntervals: i.props.excludeDateIntervals, filterDate: i.props.filterDate, onClickOutside: i.handleCalendarClickOutside, formatWeekNumber: i.props.formatWeekNumber, highlightDates: i.state.highlightDates, includeDates: i.props.includeDates, includeDateIntervals: i.props.includeDateIntervals, includeTimes: i.props.includeTimes, injectTimes: i.props.injectTimes, inline: i.props.inline, shouldFocusDayInline: i.state.shouldFocusDayInline, peekNextMonth: i.props.peekNextMonth, showMonthDropdown: i.props.showMonthDropdown, showPreviousMonths: i.props.showPreviousMonths, useShortMonthInDropdown: i.props.useShortMonthInDropdown, showMonthYearDropdown: i.props.showMonthYearDropdown, showWeekNumbers: i.props.showWeekNumbers, showYearDropdown: i.props.showYearDropdown, withPortal: i.props.withPortal, forceShowMonthNavigation: i.props.forceShowMonthNavigation, showDisabledMonthNavigation: i.props.showDisabledMonthNavigation, scrollableYearDropdown: i.props.scrollableYearDropdown, scrollableMonthYearDropdown: i.props.scrollableMonthYearDropdown, todayButton: i.props.todayButton, weekLabel: i.props.weekLabel, outsideClickIgnoreClass: "react-datepicker-ignore-onclickoutside", fixedHeight: i.props.fixedHeight, monthsShown: i.props.monthsShown, monthSelectedIn: i.state.monthSelectedIn, onDropdownFocus: i.handleDropdownFocus, onMonthChange: i.props.onMonthChange, onYearChange: i.props.onYearChange, dayClassName: i.props.dayClassName, weekDayClassName: i.props.weekDayClassName, monthClassName: i.props.monthClassName, timeClassName: i.props.timeClassName, showTimeSelect: i.props.showTimeSelect, showTimeSelectOnly: i.props.showTimeSelectOnly, onTimeChange: i.handleTimeChange, timeFormat: i.props.timeFormat, timeIntervals: i.props.timeIntervals, minTime: i.props.minTime, maxTime: i.props.maxTime, excludeTimes: i.props.excludeTimes, filterTime: i.props.filterTime, timeCaption: i.props.timeCaption, className: i.props.calendarClassName, container: i.props.calendarContainer, yearItemNumber: i.props.yearItemNumber, yearDropdownItemNumber: i.props.yearDropdownItemNumber, previousMonthAriaLabel: i.props.previousMonthAriaLabel, previousMonthButtonLabel: i.props.previousMonthButtonLabel, nextMonthAriaLabel: i.props.nextMonthAriaLabel, nextMonthButtonLabel: i.props.nextMonthButtonLabel, previousYearAriaLabel: i.props.previousYearAriaLabel, previousYearButtonLabel: i.props.previousYearButtonLabel, nextYearAriaLabel: i.props.nextYearAriaLabel, nextYearButtonLabel: i.props.nextYearButtonLabel, timeInputLabel: i.props.timeInputLabel, disabledKeyboardNavigation: i.props.disabledKeyboardNavigation, renderCustomHeader: i.props.renderCustomHeader, popperProps: i.props.popperProps, renderDayContents: i.props.renderDayContents, onDayMouseEnter: i.props.onDayMouseEnter, onMonthMouseLeave: i.props.onMonthMouseLeave, onYearMouseEnter: i.props.onYearMouseEnter, onYearMouseLeave: i.props.onYearMouseLeave, selectsDisabledDaysInRange: i.props.selectsDisabledDaysInRange, showTimeInput: i.props.showTimeInput, showMonthYearPicker: i.props.showMonthYearPicker, showFullMonthYearPicker: i.props.showFullMonthYearPicker, showTwoColumnMonthYearPicker: i.props.showTwoColumnMonthYearPicker, showFourColumnMonthYearPicker: i.props.showFourColumnMonthYearPicker, showYearPicker: i.props.showYearPicker, showQuarterYearPicker: i.props.showQuarterYearPicker, showPopperArrow: i.props.showPopperArrow, excludeScrollbar: i.props.excludeScrollbar, handleOnKeyDown: i.props.onKeyDown, handleOnDayKeyDown: i.onDayKeyDown, isInputFocused: i.state.focused, customTimeInput: i.props.customTimeInput, setPreSelection: i.setPreSelection }, i.props.children) : null;
37841
- }), A(U(i), "renderAriaLiveRegion", function() {
37843
+ }), A(z(i), "renderAriaLiveRegion", function() {
37842
37844
  var p, C = i.props, v = C.dateFormat, y = C.locale, L = i.props.showTimeInput || i.props.showTimeSelect ? "PPPPp" : "PPPP";
37843
37845
  return p = i.props.selectsRange ? "Selected start date: ".concat(g8(i.props.startDate, { dateFormat: L, locale: y }), ". ").concat(i.props.endDate ? "End date: " + g8(i.props.endDate, { dateFormat: L, locale: y }) : "") : i.props.showTimeSelectOnly ? "Selected time: ".concat(g8(i.props.selected, { dateFormat: v, locale: y })) : i.props.showYearPicker ? "Selected year: ".concat(g8(i.props.selected, { dateFormat: "yyyy", locale: y })) : i.props.showMonthYearPicker ? "Selected month: ".concat(g8(i.props.selected, { dateFormat: "MMMM yyyy", locale: y })) : i.props.showQuarterYearPicker ? "Selected quarter: ".concat(g8(i.props.selected, { dateFormat: "yyyy, QQQ", locale: y })) : "Selected date: ".concat(g8(i.props.selected, { dateFormat: L, locale: y })), r1.createElement("span", { role: "alert", "aria-live": "polite", className: "react-datepicker__aria-live" }, i.state.isRenderAriaLiveMessage && p);
37844
- }), A(U(i), "renderDateInput", function() {
37846
+ }), A(z(i), "renderDateInput", function() {
37845
37847
  var p, C = H5(i.props.className, A({}, "react-datepicker-ignore-onclickoutside", i.state.open)), v = i.props.customInput || r1.createElement("input", { type: "text" }), y = i.props.customInputRef || "ref", L = typeof i.props.value == "string" ? i.props.value : typeof i.state.inputValue == "string" ? i.state.inputValue : i.props.selectsRange ? function(V, k, S) {
37846
37848
  if (!V) return "";
37847
37849
  var _ = g8(V, S), R = k ? g8(k, S) : "";
@@ -37850,7 +37852,7 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37850
37852
  return r1.cloneElement(v, (A(p = {}, y, function(V) {
37851
37853
  i.input = V;
37852
37854
  }), A(p, "value", L), A(p, "onBlur", i.handleBlur), A(p, "onChange", i.handleChange), A(p, "onClick", i.onInputClick), A(p, "onFocus", i.handleFocus), A(p, "onKeyDown", i.onInputKeyDown), A(p, "id", i.props.id), A(p, "name", i.props.name), A(p, "form", i.props.form), A(p, "autoFocus", i.props.autoFocus), A(p, "placeholder", i.props.placeholderText), A(p, "disabled", i.props.disabled), A(p, "autoComplete", i.props.autoComplete), A(p, "className", H5(v.props.className, C)), A(p, "title", i.props.title), A(p, "readOnly", i.props.readOnly), A(p, "required", i.props.required), A(p, "tabIndex", i.props.tabIndex), A(p, "aria-describedby", i.props.ariaDescribedBy), A(p, "aria-invalid", i.props.ariaInvalid), A(p, "aria-labelledby", i.props.ariaLabelledBy), A(p, "aria-required", i.props.ariaRequired), p));
37853
- }), A(U(i), "renderClearButton", function() {
37855
+ }), A(z(i), "renderClearButton", function() {
37854
37856
  var p = i.props, C = p.isClearable, v = p.selected, y = p.startDate, L = p.endDate, V = p.clearButtonTitle, k = p.clearButtonClassName, S = k === void 0 ? "" : k, _ = p.ariaLabelClose, R = _ === void 0 ? "Close" : _;
37855
37857
  return !C || v == null && y == null && L == null ? null : r1.createElement("button", { type: "button", className: "react-datepicker__close-icon ".concat(S).trim(), "aria-label": R, onClick: i.onClearClick, title: V, tabIndex: -1 });
37856
37858
  }), i.state = i.calcInitialState(), i;
@@ -37997,8 +37999,8 @@ const jz = {
37997
37999
  isInvalid: _ = !1,
37998
38000
  isRequired: R = !1,
37999
38001
  labelText: N,
38000
- max: Z,
38001
- maxLength: z,
38002
+ max: O,
38003
+ maxLength: U,
38002
38004
  min: P,
38003
38005
  name: I,
38004
38006
  onChange: W,
@@ -38054,7 +38056,7 @@ const jz = {
38054
38056
  S1(""), k && k(), (B1 = Q1.current) == null || B1.focus();
38055
38057
  };
38056
38058
  let K2 = _, S2, F2, m3;
38057
- return D1 === "number" && Z && P && P > Z && (K2 = !0, console.warn(
38059
+ return D1 === "number" && O && P && P > O && (K2 = !0, console.warn(
38058
38060
  "NYPL Reservoir TextInput: The `min` prop is greater than the `max` prop."
38059
38061
  )), m3 = H2 ? {
38060
38062
  defaultValue: C,
@@ -38076,8 +38078,8 @@ const jz = {
38076
38078
  isDisabled: S,
38077
38079
  isRequired: R,
38078
38080
  isInvalid: K2,
38079
- max: Z,
38080
- maxLength: z,
38081
+ max: O,
38082
+ maxLength: U,
38081
38083
  min: P,
38082
38084
  name: I,
38083
38085
  onChange: l2,
@@ -38155,7 +38157,7 @@ const jz = {
38155
38157
  showRequiredLabel: _,
38156
38158
  value: R,
38157
38159
  ...N
38158
- }, Z) => (delete N.disabled, /* @__PURE__ */ x.jsx(
38160
+ }, O) => (delete N.disabled, /* @__PURE__ */ x.jsx(
38159
38161
  er,
38160
38162
  {
38161
38163
  additionalAriaLabel: "Press tab to access the calendar.",
@@ -38173,7 +38175,7 @@ const jz = {
38173
38175
  showLabel: k,
38174
38176
  showRequiredLabel: _,
38175
38177
  value: R,
38176
- ref: r || Z,
38178
+ ref: r || O,
38177
38179
  ...N
38178
38180
  }
38179
38181
  ))
@@ -38224,8 +38226,8 @@ const jz = {
38224
38226
  isInvalid: _,
38225
38227
  isRequired: R,
38226
38228
  labelText: N = "From",
38227
- maxDate: Z,
38228
- minDate: z,
38229
+ maxDate: O,
38230
+ minDate: U,
38229
38231
  nameFrom: P,
38230
38232
  nameTo: I,
38231
38233
  onChange: W,
@@ -38256,8 +38258,8 @@ const jz = {
38256
38258
  }
38257
38259
  }
38258
38260
  ],
38259
- minDate: z ? new Date(z) : null,
38260
- maxDate: Z ? new Date(Z) : null,
38261
+ minDate: U ? new Date(U) : null,
38262
+ maxDate: O ? new Date(O) : null,
38261
38263
  dateFormat: o
38262
38264
  }, o2 = {
38263
38265
  isRequired: R,
@@ -38490,15 +38492,15 @@ const EI = P1(
38490
38492
  variant: y = "standard",
38491
38493
  showIcon: L = !0,
38492
38494
  ...V
38493
- } = r, k = me(i), [S, _] = xe(!0), { colorMode: R } = yS(), N = () => _(!1), Z = N2("Notification", {
38495
+ } = r, k = me(i), [S, _] = xe(!0), { colorMode: R } = yS(), N = () => _(!1), O = N2("Notification", {
38494
38496
  isCentered: p,
38495
38497
  notificationHeading: v,
38496
38498
  variant: y,
38497
38499
  showIcon: L
38498
- }), z = () => {
38500
+ }), U = () => {
38499
38501
  const c1 = {
38500
38502
  size: "large",
38501
- __css: Z.icon
38503
+ __css: O.icon
38502
38504
  };
38503
38505
  if (!L)
38504
38506
  return;
@@ -38542,7 +38544,7 @@ const EI = P1(
38542
38544
  id: `${i}-notification-dismissible-button`,
38543
38545
  onClick: N,
38544
38546
  variant: "text",
38545
- __css: Z.dismissibleButton,
38547
+ __css: O.dismissibleButton,
38546
38548
  children: /* @__PURE__ */ x.jsx(
38547
38549
  S3,
38548
38550
  {
@@ -38554,7 +38556,7 @@ const EI = P1(
38554
38556
  }
38555
38557
  )
38556
38558
  }
38557
- ), W = z(), $ = (v || L) && /* @__PURE__ */ x.jsx(
38559
+ ), W = U(), $ = (v || L) && /* @__PURE__ */ x.jsx(
38558
38560
  $z,
38559
38561
  {
38560
38562
  icon: W,
@@ -38582,10 +38584,10 @@ const EI = P1(
38582
38584
  "data-variant": y,
38583
38585
  id: k,
38584
38586
  ref: a,
38585
- __css: Z,
38587
+ __css: O,
38586
38588
  ...V,
38587
38589
  children: [
38588
- /* @__PURE__ */ x.jsxs(p1, { __css: Z.container, children: [
38590
+ /* @__PURE__ */ x.jsxs(p1, { __css: O.container, children: [
38589
38591
  $,
38590
38592
  e1
38591
38593
  ] }),
@@ -38611,9 +38613,9 @@ const EI = P1(
38611
38613
  showLabel: _ = !0,
38612
38614
  value: R,
38613
38615
  ...N
38614
- } = r, Z = me(s), z = N2("Radio", { showLabel: _ }), P = Qz(), I = re("RadioWrapper"), $ = Wo({
38616
+ } = r, O = me(s), U = N2("Radio", { showLabel: _ }), P = Qz(), I = re("RadioWrapper"), $ = Wo({
38615
38617
  footnote: v ? i : o,
38616
- id: Z,
38618
+ id: O,
38617
38619
  labelText: L,
38618
38620
  name: "Radio",
38619
38621
  showLabel: _
@@ -38623,8 +38625,8 @@ const EI = P1(
38623
38625
  {
38624
38626
  "data-testid": "ds-radio",
38625
38627
  helperText: o,
38626
- helperTextStyles: z.helperErrorText,
38627
- id: Z,
38628
+ helperTextStyles: U.helperErrorText,
38629
+ id: O,
38628
38630
  invalidText: i,
38629
38631
  isInvalid: v,
38630
38632
  showHelperInvalidText: S,
@@ -38633,7 +38635,7 @@ const EI = P1(
38633
38635
  children: /* @__PURE__ */ x.jsx(
38634
38636
  LS,
38635
38637
  {
38636
- id: Z,
38638
+ id: O,
38637
38639
  isChecked: p,
38638
38640
  isDisabled: (P == null ? void 0 : P.isDisabled) || C,
38639
38641
  isInvalid: (P == null ? void 0 : P.isInvalid) || v,
@@ -38643,9 +38645,9 @@ const EI = P1(
38643
38645
  ref: a,
38644
38646
  value: R,
38645
38647
  alignItems: "flex-start",
38646
- sx: z,
38648
+ sx: U,
38647
38649
  ...$,
38648
- children: /* @__PURE__ */ x.jsx(p1, { as: "span", __css: _ ? {} : z.hiddenLabel, children: L })
38650
+ children: /* @__PURE__ */ x.jsx(p1, { as: "span", __css: _ ? {} : U.hiddenLabel, children: L })
38649
38651
  }
38650
38652
  )
38651
38653
  }
@@ -38669,12 +38671,12 @@ const EI = P1(
38669
38671
  name: _,
38670
38672
  onChange: R,
38671
38673
  showHelperInvalidText: N = !0,
38672
- showLabel: Z = !0,
38673
- showRequiredLabel: z = !0,
38674
+ showLabel: O = !0,
38675
+ showRequiredLabel: U = !0,
38674
38676
  ...P
38675
38677
  } = r, [I, W] = r1.useState(s), $ = L ? C : i, J = S === "column" ? Fo.s : Fo.l, e1 = N2("RadioGroup", {
38676
38678
  isFullWidth: y,
38677
- isLegendHidden: !Z
38679
+ isLegendHidden: !O
38678
38680
  }), c1 = {
38679
38681
  "aria-labelledby": `${p}-span-title`,
38680
38682
  name: _,
@@ -38695,7 +38697,7 @@ const EI = P1(
38695
38697
  return /* @__PURE__ */ x.jsxs(p1, { "data-testid": "ds-radioGroup", id: p, __css: e1, ...P, children: [
38696
38698
  /* @__PURE__ */ x.jsxs(p1, { as: "span", id: `${p}-span-title`, __css: e1.spanLegend, children: [
38697
38699
  k,
38698
- z && V && /* @__PURE__ */ x.jsx("span", { children: " (required)" })
38700
+ U && V && /* @__PURE__ */ x.jsx("span", { children: " (required)" })
38699
38701
  ] }),
38700
38702
  /* @__PURE__ */ x.jsx(bS, { ...c1, children: /* @__PURE__ */ x.jsx(
38701
38703
  tr,
@@ -38769,8 +38771,8 @@ const Kz = P1(
38769
38771
  onOpen: _,
38770
38772
  onClose: R,
38771
38773
  ...N
38772
- }, Z) => {
38773
- const z = me(s), [P, I] = Sc(k), [W, $] = Sc(i), [J, e1] = xe(!1), { state: c1, setCategory: d1, setComment: k1, setEmail: M1, clearValues: g1 } = Xz(), y1 = fa(), r2 = S || y1.isOpen, D1 = _ || y1.onOpen, N1 = R || y1.onClose, G1 = i5(), m1 = i5(), S1 = i5(), v1 = N2("FeedbackBox", {}), Q1 = P === "form", q1 = P === "confirmation", j1 = P === "error", x2 = 3e3, n3 = 500, H2 = 165, V2 = "auto 1fr", o2 = W5(null, "dark.ui.typography.body"), l2 = 235, R2 = 275, B2 = 345, b3 = 37, K2 = 24;
38774
+ }, O) => {
38775
+ const U = me(s), [P, I] = Sc(k), [W, $] = Sc(i), [J, e1] = xe(!1), { state: c1, setCategory: d1, setComment: k1, setEmail: M1, clearValues: g1 } = Xz(), y1 = fa(), r2 = S || y1.isOpen, D1 = _ || y1.onOpen, N1 = R || y1.onClose, G1 = i5(), m1 = i5(), S1 = i5(), v1 = N2("FeedbackBox", {}), Q1 = P === "form", q1 = P === "confirmation", j1 = P === "error", x2 = 3e3, n3 = 500, H2 = 165, V2 = "auto 1fr", o2 = W5(null, "dark.ui.typography.body"), l2 = 235, R2 = 275, B2 = 345, b3 = 37, K2 = 24;
38774
38776
  let S2 = H2;
38775
38777
  const F2 = () => {
38776
38778
  N1(), I("form"), g1(), $(!1), setTimeout(() => {
@@ -38832,16 +38834,16 @@ const Kz = P1(
38832
38834
  return /* @__PURE__ */ x.jsxs(
38833
38835
  p1,
38834
38836
  {
38835
- id: z,
38837
+ id: U,
38836
38838
  "data-testid": "ds-feedbackBox",
38837
- ref: Z,
38839
+ ref: O,
38838
38840
  sx: v1,
38839
38841
  ...N,
38840
38842
  children: [
38841
38843
  /* @__PURE__ */ x.jsx(
38842
38844
  j3,
38843
38845
  {
38844
- id: `${z}-feedback-open`,
38846
+ id: `${U}-feedback-open`,
38845
38847
  onClick: D1,
38846
38848
  sx: v1.openButton,
38847
38849
  ref: m1,
@@ -38861,7 +38863,7 @@ const Kz = P1(
38861
38863
  /* @__PURE__ */ x.jsxs(
38862
38864
  j3,
38863
38865
  {
38864
- id: `${z}-feedback-close`,
38866
+ id: `${U}-feedback-close`,
38865
38867
  onClick: F2,
38866
38868
  sx: v1.closeButton,
38867
38869
  variant: "text",
@@ -38879,7 +38881,7 @@ const Kz = P1(
38879
38881
  tx,
38880
38882
  {
38881
38883
  gap: "grid.s",
38882
- id: `${z}-feedback-form`,
38884
+ id: `${U}-feedback-form`,
38883
38885
  onSubmit: m3,
38884
38886
  sx: {
38885
38887
  ".feedback-body": {
@@ -38905,17 +38907,17 @@ const Kz = P1(
38905
38907
  qz,
38906
38908
  {
38907
38909
  defaultValue: c1.category,
38908
- id: `${z}-category`,
38910
+ id: `${U}-category`,
38909
38911
  isDisabled: J,
38910
38912
  labelText: "What is your feedback about?",
38911
- name: `${z}-category`,
38913
+ name: `${U}-category`,
38912
38914
  onChange: (M2) => d1(M2),
38913
38915
  sx: v1.radioGroup,
38914
38916
  children: [
38915
38917
  /* @__PURE__ */ x.jsx(
38916
38918
  Ip,
38917
38919
  {
38918
- id: `${z}-category-comment`,
38920
+ id: `${U}-category-comment`,
38919
38921
  labelText: "Comment",
38920
38922
  value: "comment"
38921
38923
  }
@@ -38923,7 +38925,7 @@ const Kz = P1(
38923
38925
  /* @__PURE__ */ x.jsx(
38924
38926
  Ip,
38925
38927
  {
38926
- id: `${z}-category-correction`,
38928
+ id: `${U}-category-correction`,
38927
38929
  labelText: "Correction",
38928
38930
  value: "correction"
38929
38931
  }
@@ -38931,7 +38933,7 @@ const Kz = P1(
38931
38933
  /* @__PURE__ */ x.jsx(
38932
38934
  Ip,
38933
38935
  {
38934
- id: `${z}-category-bug`,
38936
+ id: `${U}-category-bug`,
38935
38937
  labelText: "Bug",
38936
38938
  value: "bug"
38937
38939
  }
@@ -38944,7 +38946,7 @@ const Kz = P1(
38944
38946
  {
38945
38947
  defaultValue: c1.comment,
38946
38948
  helperText: `${n3 - c1.comment.length} characters remaining`,
38947
- id: `${z}-comment`,
38949
+ id: `${U}-comment`,
38948
38950
  invalidText: "There was a problem. Please fill out this field.",
38949
38951
  isDisabled: J,
38950
38952
  isInvalid: W,
@@ -38953,7 +38955,7 @@ const Kz = P1(
38953
38955
  /* @__PURE__ */ x.jsx("span", { children: "(required)" })
38954
38956
  ] }),
38955
38957
  maxLength: n3,
38956
- name: `${z}-comment`,
38958
+ name: `${U}-comment`,
38957
38959
  onChange: (M2) => k1(M2.target.value),
38958
38960
  placeholder: "Enter your question or feedback here",
38959
38961
  ref: S1,
@@ -38963,12 +38965,12 @@ const Kz = P1(
38963
38965
  L && /* @__PURE__ */ x.jsx(C7, { width: "100%", children: /* @__PURE__ */ x.jsx(
38964
38966
  er,
38965
38967
  {
38966
- id: `${z}-email`,
38968
+ id: `${U}-email`,
38967
38969
  invalidText: "There was a problem. Please enter a valid email address.",
38968
38970
  isDisabled: J,
38969
38971
  isInvalid: p,
38970
38972
  labelText: "Email",
38971
- name: `${z}-email`,
38973
+ name: `${U}-email`,
38972
38974
  onChange: (M2) => M1(M2.target.value),
38973
38975
  placeholder: "Enter your email address here",
38974
38976
  type: "email",
@@ -38981,12 +38983,12 @@ const Kz = P1(
38981
38983
  W0,
38982
38984
  {
38983
38985
  buttonWidth: "full",
38984
- id: `${z}-submit-cancel`,
38986
+ id: `${U}-submit-cancel`,
38985
38987
  children: [
38986
38988
  /* @__PURE__ */ x.jsx(
38987
38989
  j3,
38988
38990
  {
38989
- id: `${z}-cancel`,
38991
+ id: `${U}-cancel`,
38990
38992
  isDisabled: J,
38991
38993
  onClick: F2,
38992
38994
  variant: "secondary",
@@ -38997,7 +38999,7 @@ const Kz = P1(
38997
38999
  /* @__PURE__ */ x.jsx(
38998
39000
  j3,
38999
39001
  {
39000
- id: `${z}-submit`,
39002
+ id: `${U}-submit`,
39001
39003
  isDisabled: J,
39002
39004
  type: "submit",
39003
39005
  children: "Submit"
@@ -39073,26 +39075,26 @@ const Kz = P1(
39073
39075
  W0,
39074
39076
  {
39075
39077
  buttonWidth: "full",
39076
- id: `${z}-submit-cancel`,
39078
+ id: `${U}-submit-cancel`,
39077
39079
  children: [
39078
39080
  /* @__PURE__ */ x.jsx(
39079
39081
  j3,
39080
39082
  {
39081
- id: `${z}-return-browsing2`,
39083
+ id: `${U}-return-browsing2`,
39082
39084
  onClick: F2,
39083
39085
  variant: "secondary",
39084
39086
  children: "Return to Browsing"
39085
39087
  },
39086
- `${z}-return-browsing2`
39088
+ `${U}-return-browsing2`
39087
39089
  ),
39088
39090
  /* @__PURE__ */ x.jsx(
39089
39091
  j3,
39090
39092
  {
39091
- id: `${z}-try-again`,
39093
+ id: `${U}-try-again`,
39092
39094
  onClick: () => I("form"),
39093
39095
  children: "Try Again"
39094
39096
  },
39095
- `${z}-try-again`
39097
+ `${U}-try-again`
39096
39098
  )
39097
39099
  ]
39098
39100
  }
@@ -39223,9 +39225,9 @@ const TI = P1(
39223
39225
  ..._
39224
39226
  } = r, R = me(s), N = N2("FilterBarPopup", {
39225
39227
  width: "full"
39226
- }), Z = {
39228
+ }), O = {
39227
39229
  size: "heading5"
39228
- }, z = p ? typeof p == "string" ? /* @__PURE__ */ x.jsx(b9, { level: "h2", text: p, ...Z }) : r1.cloneElement(p, Z) : null, P = fa(), I = i || P.isOpen, W = y || P.onOpen, $ = L || P.onClose, J = () => {
39230
+ }, U = p ? typeof p == "string" ? /* @__PURE__ */ x.jsx(b9, { level: "h2", text: p, ...O }) : r1.cloneElement(p, O) : null, P = fa(), I = i || P.isOpen, W = y || P.onOpen, $ = L || P.onClose, J = () => {
39229
39231
  v(), $();
39230
39232
  }, e1 = i5(), c1 = () => {
39231
39233
  C(), setTimeout(() => {
@@ -39254,7 +39256,7 @@ const TI = P1(
39254
39256
  children: [
39255
39257
  /* @__PURE__ */ x.jsx(Qp, {}),
39256
39258
  /* @__PURE__ */ x.jsxs(qp, { children: [
39257
- /* @__PURE__ */ x.jsx(Gp, { sx: z ? N.modalHeader : void 0, children: z }),
39259
+ /* @__PURE__ */ x.jsx(Gp, { sx: U ? N.modalHeader : void 0, children: U }),
39258
39260
  /* @__PURE__ */ x.jsx(Xp, { sx: N.modalCloseButton }),
39259
39261
  /* @__PURE__ */ x.jsx(Kp, { sx: N.modalBody, children: /* @__PURE__ */ x.jsx(tr, { direction: "column", rowGap: "s", spacing: "0", children: V({
39260
39262
  isBlockElement: !0,
@@ -39327,15 +39329,15 @@ const DI = P1(
39327
39329
  subHeaderText: _,
39328
39330
  textBackgroundColor: R,
39329
39331
  textColor: N,
39330
- ...Z
39331
- } = r, z = N2("Hero", {
39332
+ ...O
39333
+ } = r, U = N2("Hero", {
39332
39334
  foregroundColor: p,
39333
39335
  isBlurredBackgroundImage: k,
39334
39336
  isDarkBackgroundImage: S,
39335
39337
  isDarkText: V,
39336
39338
  textColor: N,
39337
39339
  variant: v
39338
- }), P = z.heading, I = C && r1.cloneElement(C, { __css: P });
39340
+ }), P = U.heading, I = C && r1.cloneElement(C, { __css: P });
39339
39341
  let W = {}, $ = {};
39340
39342
  const J = /* @__PURE__ */ x.jsx(
39341
39343
  qo,
@@ -39449,7 +39451,7 @@ const DI = P1(
39449
39451
  p1,
39450
39452
  {
39451
39453
  __css: {
39452
- ...z.imgWrapper
39454
+ ...U.imgWrapper
39453
39455
  },
39454
39456
  style: {
39455
39457
  backgroundImage: `/**/url("${L.src}")`
@@ -39457,7 +39459,7 @@ const DI = P1(
39457
39459
  children: J
39458
39460
  }
39459
39461
  ),
39460
- /* @__PURE__ */ x.jsxs(p1, { __css: z.interior, children: [
39462
+ /* @__PURE__ */ x.jsxs(p1, { __css: U.interior, children: [
39461
39463
  I,
39462
39464
  _
39463
39465
  ] })
@@ -39466,21 +39468,21 @@ const DI = P1(
39466
39468
  p1,
39467
39469
  {
39468
39470
  __css: {
39469
- ...z.imgWrapper
39471
+ ...U.imgWrapper
39470
39472
  },
39471
39473
  children: J
39472
39474
  }
39473
39475
  ),
39474
39476
  I,
39475
- v === "tertiary" && _ ? /* @__PURE__ */ x.jsx("p", { children: _ }) : /* @__PURE__ */ x.jsx(p1, { __css: z.bodyText, children: _ })
39477
+ v === "tertiary" && _ ? /* @__PURE__ */ x.jsx("p", { children: _ }) : /* @__PURE__ */ x.jsx(p1, { __css: U.bodyText, children: _ })
39476
39478
  ] }), k1 = /* @__PURE__ */ x.jsx(
39477
39479
  p1,
39478
39480
  {
39479
39481
  "data-testid": "ds-hero-content",
39480
- __css: { ...z.content, ...$ },
39482
+ __css: { ...U.content, ...$ },
39481
39483
  children: d1
39482
39484
  }
39483
- ), M1 = v === "primary" ? /* @__PURE__ */ x.jsx(p1, { "data-testid": "ds-hero-grid", __css: z.grid, children: k1 }) : /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
39485
+ ), M1 = v === "primary" ? /* @__PURE__ */ x.jsx(p1, { "data-testid": "ds-hero-grid", __css: U.grid, children: k1 }) : /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
39484
39486
  v === "campaign" && /* @__PURE__ */ x.jsx(p1, { className: "heroBackgroundImage" }),
39485
39487
  k1
39486
39488
  ] });
@@ -39492,10 +39494,10 @@ const DI = P1(
39492
39494
  id: y,
39493
39495
  ref: a,
39494
39496
  __css: {
39495
- ...z.base,
39497
+ ...U.base,
39496
39498
  ...W
39497
39499
  },
39498
- ...Z,
39500
+ ...O,
39499
39501
  children: M1
39500
39502
  }
39501
39503
  );
@@ -39554,9 +39556,9 @@ const DI = P1(
39554
39556
  return console.warn(
39555
39557
  "NYPL Reservoir List: Pass in either `<li>` children or pass data in the `listItems` prop, not both."
39556
39558
  ), null;
39557
- const R = (N) => o || (p ? N === "ol" || N === "ul" ? p.map((Z, z) => /* @__PURE__ */ x.jsx("li", { children: Z }, z)) : N === "dl" ? p.map((Z, z) => [
39558
- /* @__PURE__ */ x.jsx("dt", { children: Z.term }, `${z}-term`),
39559
- /* @__PURE__ */ x.jsx("dd", { children: Z.description }, `${z}-des`)
39559
+ const R = (N) => o || (p ? N === "ol" || N === "ul" ? p.map((O, U) => /* @__PURE__ */ x.jsx("li", { children: O }, U)) : N === "dl" ? p.map((O, U) => [
39560
+ /* @__PURE__ */ x.jsx("dt", { children: O.term }, `${U}-term`),
39561
+ /* @__PURE__ */ x.jsx("dd", { children: O.description }, `${U}-des`)
39560
39562
  ]) : null : null);
39561
39563
  return L === "ol" || L === "ul" ? _ = /* @__PURE__ */ x.jsx(
39562
39564
  p1,
@@ -40092,7 +40094,7 @@ const NI = P1(
40092
40094
  ($) => $.id === s
40093
40095
  ), [R, N] = xe(
40094
40096
  _ || null
40095
- ), Z = ($, J) => {
40097
+ ), O = ($, J) => {
40096
40098
  J && J($);
40097
40099
  const e1 = y == null ? void 0 : y.find((c1) => c1.id === $);
40098
40100
  N(e1);
@@ -40120,7 +40122,7 @@ const NI = P1(
40120
40122
  ) : console.warn(
40121
40123
  "NYPL Reservoir Menu: The `listItemsData` prop is required."
40122
40124
  );
40123
- const z = ($) => $ ? $.type === "icon" ? /* @__PURE__ */ x.jsx(S3, { name: $.name, size: "medium" }) : /* @__PURE__ */ x.jsx(p1, { w: "1.5rem", h: "1.5rem", children: /* @__PURE__ */ x.jsx(
40125
+ const U = ($) => $ ? $.type === "icon" ? /* @__PURE__ */ x.jsx(S3, { name: $.name, size: "medium" }) : /* @__PURE__ */ x.jsx(p1, { w: "1.5rem", h: "1.5rem", children: /* @__PURE__ */ x.jsx(
40124
40126
  qo,
40125
40127
  {
40126
40128
  alt: $.alt,
@@ -40177,7 +40179,7 @@ const NI = P1(
40177
40179
  {
40178
40180
  isFocusable: !0,
40179
40181
  "data-testid": c1 ? "selected-item" : "",
40180
- onClick: () => Z(e1.id, e1.onClick),
40182
+ onClick: () => O(e1.id, e1.onClick),
40181
40183
  ref: c1 ? W : null,
40182
40184
  sx: {
40183
40185
  ...S.actionItem,
@@ -40192,7 +40194,7 @@ const NI = P1(
40192
40194
  gap: "8px"
40193
40195
  },
40194
40196
  children: [
40195
- z(e1.media),
40197
+ U(e1.media),
40196
40198
  /* @__PURE__ */ x.jsx("span", { children: e1.label })
40197
40199
  ]
40198
40200
  }
@@ -40438,8 +40440,8 @@ const tI = u2((r, a) => {
40438
40440
  onMixedStateChange: _,
40439
40441
  selectedItems: R,
40440
40442
  width: N = "full",
40441
- ...Z
40442
- } = r, z = me(o), [P, I] = xe(!1), W = i5(), $ = i5(), J = i5(), e1 = (B1) => {
40443
+ ...O
40444
+ } = r, U = me(o), [P, I] = xe(!1), W = i5(), $ = i5(), J = i5(), e1 = (B1) => {
40443
40445
  if (B1.type === "mousedown") {
40444
40446
  const T2 = $.current;
40445
40447
  T2 && !T2.contains(B1.target) ? I(!0) : I(!1);
@@ -40461,7 +40463,7 @@ const tI = u2((r, a) => {
40461
40463
  const M1 = y === "expand" ? "unset" : p ? "270px" : "215px", g1 = v.length > C && y === "expand", y1 = r1.useMemo(
40462
40464
  () => g1 ? v.slice(0, C) : v,
40463
40465
  [g1, v, C]
40464
- ), [r2, D1] = xe(y1), [N1, G1] = xe(!0), m1 = ((m3 = R[z]) == null ? void 0 : m3.items.length) || 0, S1 = `item${m1 === 1 ? "" : "s"}`, v1 = `${L}, ${m1} ${S1} currently selected`, Q1 = N2("MultiSelect", {
40466
+ ), [r2, D1] = xe(y1), [N1, G1] = xe(!0), m1 = ((m3 = R[U]) == null ? void 0 : m3.items.length) || 0, S1 = `item${m1 === 1 ? "" : "s"}`, v1 = `${L}, ${m1} ${S1} currently selected`, Q1 = N2("MultiSelect", {
40465
40467
  isBlockElement: s,
40466
40468
  width: N
40467
40469
  }), q1 = (B1, T2) => R[B1] ? !!R[B1].items.find(
@@ -40507,7 +40509,7 @@ const tI = u2((r, a) => {
40507
40509
  {
40508
40510
  variant: "text",
40509
40511
  fontSize: "desktop.button.default",
40510
- id: `${z}-view-all-text-btn`,
40512
+ id: `${U}-view-all-text-btn`,
40511
40513
  ref: J,
40512
40514
  onClick: l2,
40513
40515
  __css: Q1.viewAllButton,
@@ -40527,12 +40529,12 @@ const tI = u2((r, a) => {
40527
40529
  labelText: B2(B1),
40528
40530
  name: B1.name,
40529
40531
  ..._ !== void 0 ? {
40530
- isChecked: j1(z, B1),
40531
- isIndeterminate: x2(z, B1),
40532
+ isChecked: j1(U, B1),
40533
+ isIndeterminate: x2(U, B1),
40532
40534
  onChange: _,
40533
40535
  isDisabled: n3(B1)
40534
40536
  } : {
40535
- isChecked: q1(z, B1.id),
40537
+ isChecked: q1(U, B1.id),
40536
40538
  isDisabled: n3(B1),
40537
40539
  onChange: k
40538
40540
  }
@@ -40547,7 +40549,7 @@ const tI = u2((r, a) => {
40547
40549
  labelText: B2(T2),
40548
40550
  name: T2.name,
40549
40551
  isDisabled: T2.isDisabled,
40550
- isChecked: q1(z, T2.id),
40552
+ isChecked: q1(U, T2.id),
40551
40553
  onChange: k,
40552
40554
  __css: Q1.menuChildren
40553
40555
  },
@@ -40561,7 +40563,7 @@ const tI = u2((r, a) => {
40561
40563
  labelText: B2(B1),
40562
40564
  name: B1.name,
40563
40565
  isDisabled: B1.isDisabled,
40564
- isChecked: q1(z, B1.id),
40566
+ isChecked: q1(U, B1.id),
40565
40567
  onChange: k
40566
40568
  },
40567
40569
  B1.id
@@ -40577,7 +40579,7 @@ const tI = u2((r, a) => {
40577
40579
  ), S2 = /* @__PURE__ */ x.jsx(
40578
40580
  er,
40579
40581
  {
40580
- id: `${z}-textInput`,
40582
+ id: `${U}-textInput`,
40581
40583
  labelText: `Search ${L}`,
40582
40584
  isClearable: !0,
40583
40585
  isClearableCallback: o2,
@@ -40603,7 +40605,7 @@ const tI = u2((r, a) => {
40603
40605
  /* @__PURE__ */ x.jsx(
40604
40606
  zB,
40605
40607
  {
40606
- id: `${z}-checkboxGroup`,
40608
+ id: `${U}-checkboxGroup`,
40607
40609
  layout: "column",
40608
40610
  isFullWidth: !0,
40609
40611
  isRequired: !1,
@@ -40622,11 +40624,11 @@ const tI = u2((r, a) => {
40622
40624
  p1,
40623
40625
  {
40624
40626
  "data-testid": "ds-multiSelect",
40625
- id: z,
40627
+ id: U,
40626
40628
  ref: $,
40627
40629
  onClick: () => I(!1),
40628
40630
  __css: Q1.base,
40629
- ...Z,
40631
+ ...O,
40630
40632
  children: [
40631
40633
  /* @__PURE__ */ x.jsx(
40632
40634
  pB,
@@ -40641,7 +40643,7 @@ const tI = u2((r, a) => {
40641
40643
  }
40642
40644
  ],
40643
40645
  "aria-label": v1,
40644
- id: `${z}-accordion`,
40646
+ id: `${U}-accordion`,
40645
40647
  isDefaultOpen: i,
40646
40648
  isAlwaysRendered: !0,
40647
40649
  userClickedOutside: P,
@@ -40654,7 +40656,7 @@ const tI = u2((r, a) => {
40654
40656
  m1 > 0 && /* @__PURE__ */ x.jsx(
40655
40657
  tI,
40656
40658
  {
40657
- id: z,
40659
+ id: U,
40658
40660
  multiSelectLabelText: L,
40659
40661
  isOpen: i,
40660
40662
  selectedItemsString: S1,
@@ -40770,8 +40772,8 @@ const tI = u2((r, a) => {
40770
40772
  valueEmail: _,
40771
40773
  title: R,
40772
40774
  view: N = "form",
40773
- ...Z
40774
- }, z) => {
40775
+ ...O
40776
+ }, U) => {
40775
40777
  const P = me(C), I = N2("NewsletterSignup", {
40776
40778
  highlightColor: y
40777
40779
  }), W = W5(null, "dark.ui.typography.body"), $ = W5(
@@ -40795,9 +40797,9 @@ const tI = u2((r, a) => {
40795
40797
  direction: { base: "column", md: "row" },
40796
40798
  id: P,
40797
40799
  gap: "0",
40798
- ref: z,
40800
+ ref: U,
40799
40801
  __css: I,
40800
- ...Z,
40802
+ ...O,
40801
40803
  children: [
40802
40804
  /* @__PURE__ */ x.jsxs(
40803
40805
  Yp,
@@ -40905,12 +40907,12 @@ const tI = u2((r, a) => {
40905
40907
  ), s && o && console.warn(
40906
40908
  "NYPL Reservoir Pagination: The `currentPage` prop does not work with the `getPageHref` prop. Use `currentPage` with `onPageChange` instead."
40907
40909
  );
40908
- const N = typeof s < "u" && typeof s == "function", Z = (c1, d1) => {
40910
+ const N = typeof s < "u" && typeof s == "function", O = (c1, d1) => {
40909
40911
  c1.preventDefault && c1.preventDefault(), V !== d1 && (k(d1), C && C(d1));
40910
- }, z = (c1) => {
40911
- V > 1 && Z(c1, _);
40912
+ }, U = (c1) => {
40913
+ V > 1 && O(c1, _);
40912
40914
  }, P = (c1) => {
40913
- V < v && Z(c1, R);
40915
+ V < v && O(c1, R);
40914
40916
  }, I = ({
40915
40917
  pageNumber: c1,
40916
40918
  text: d1,
@@ -40923,7 +40925,7 @@ const tI = u2((r, a) => {
40923
40925
  "aria-label": `${M1 ? "Previous" : "Next"} page`,
40924
40926
  "aria-disabled": k1,
40925
40927
  href: N ? s(c1) : "#",
40926
- onClick: N ? void 0 : M1 ? z : P,
40928
+ onClick: N ? void 0 : M1 ? U : P,
40927
40929
  variant: "action",
40928
40930
  __css: {
40929
40931
  ...S.link,
@@ -41012,7 +41014,7 @@ const tI = u2((r, a) => {
41012
41014
  href: N ? s(c1) : "#",
41013
41015
  "aria-label": `Page ${c1}`,
41014
41016
  "aria-current": d1 ? "page" : void 0,
41015
- onClick: N ? void 0 : (M1) => Z(M1, c1),
41017
+ onClick: N ? void 0 : (M1) => O(M1, c1),
41016
41018
  __css: {
41017
41019
  ...S.link,
41018
41020
  ...k1,
@@ -41134,7 +41136,7 @@ const tI = u2((r, a) => {
41134
41136
  // If `isIndeterminate` is true, then it overrides the `value` prop.
41135
41137
  isIndeterminate: i || void 0,
41136
41138
  value: i ? void 0 : R
41137
- }, Z = (z) => z === "circular" ? /* @__PURE__ */ x.jsxs(p1, { __css: _.circularContainer, children: [
41139
+ }, O = (U) => U === "circular" ? /* @__PURE__ */ x.jsxs(p1, { __css: _.circularContainer, children: [
41138
41140
  /* @__PURE__ */ x.jsx(RS, { ...N, sx: _.circular, children: v && !i && y !== "small" && /* @__PURE__ */ x.jsxs(ZS, { children: [
41139
41141
  R,
41140
41142
  "%"
@@ -41174,7 +41176,7 @@ const tI = u2((r, a) => {
41174
41176
  ref: a,
41175
41177
  __css: _,
41176
41178
  ...V,
41177
- children: Z(s)
41179
+ children: O(s)
41178
41180
  }
41179
41181
  );
41180
41182
  })
@@ -41196,15 +41198,15 @@ const tI = u2((r, a) => {
41196
41198
  name: _,
41197
41199
  onChange: R,
41198
41200
  placeholder: N,
41199
- variant: Z = "default",
41200
- showHelperInvalidText: z = !0,
41201
+ variant: O = "default",
41202
+ showHelperInvalidText: U = !0,
41201
41203
  showLabel: P = !0,
41202
41204
  showRequiredLabel: I = !0,
41203
41205
  requiredLabelText: W,
41204
41206
  value: $ = "",
41205
41207
  ...J
41206
41208
  } = r, e1 = me(C), [c1, d1] = xe(0), k1 = i5(null), M1 = N2("ReservoirSelect", {
41207
- variant: Z,
41209
+ variant: O,
41208
41210
  labelPosition: k,
41209
41211
  labelWidth: c1,
41210
41212
  showLabel: P
@@ -41239,7 +41241,7 @@ const tI = u2((r, a) => {
41239
41241
  id: e1,
41240
41242
  invalidText: g1,
41241
41243
  isInvalid: L,
41242
- showHelperInvalidText: z,
41244
+ showHelperInvalidText: U,
41243
41245
  __css: M1,
41244
41246
  ...J,
41245
41247
  children: /* @__PURE__ */ x.jsxs(p1, { __css: k === "inline" && M1.inline, children: [
@@ -41303,30 +41305,30 @@ const tI = u2((r, a) => {
41303
41305
  method: _,
41304
41306
  noBrandButtonType: R = !1,
41305
41307
  onSubmit: N,
41306
- selectProps: Z,
41307
- textInputElement: z,
41308
+ selectProps: O,
41309
+ textInputElement: U,
41308
41310
  textInputProps: P,
41309
41311
  ...I
41310
- } = r, W = me(v), J = N2("SearchBar", { hasSelectElem: !!Z }), e1 = {
41312
+ } = r, W = me(v), J = N2("SearchBar", { hasSelectElem: !!O }), e1 = {
41311
41313
  helperText: "",
41312
41314
  isDisabled: L,
41313
41315
  isInvalid: V,
41314
41316
  isRequired: k,
41315
41317
  showHelperInvalidText: !1,
41316
41318
  showLabel: !1
41317
- }, c1 = V ? y : C, d1 = c1 ? `${S} - ${c1}` : S, M1 = `${(P == null ? void 0 : P.placeholder) || "Search terms"} ${k ? "(required)" : ""}`, g1 = R ? "noBrand" : "primary", y1 = Z && /* @__PURE__ */ x.jsx(
41319
+ }, c1 = V ? y : C, d1 = c1 ? `${S} - ${c1}` : S, M1 = `${(P == null ? void 0 : P.placeholder) || "Search terms"} ${k ? "(required)" : ""}`, g1 = R ? "noBrand" : "primary", y1 = O && /* @__PURE__ */ x.jsx(
41318
41320
  rI,
41319
41321
  {
41320
- id: `${(Z == null ? void 0 : Z.id) || W}-select`,
41321
- labelText: Z == null ? void 0 : Z.labelText,
41322
- name: Z == null ? void 0 : Z.name,
41323
- onChange: Z == null ? void 0 : Z.onChange,
41322
+ id: `${(O == null ? void 0 : O.id) || W}-select`,
41323
+ labelText: O == null ? void 0 : O.labelText,
41324
+ name: O == null ? void 0 : O.name,
41325
+ onChange: O == null ? void 0 : O.onChange,
41324
41326
  variant: "searchbar",
41325
- value: Z == null ? void 0 : Z.value,
41327
+ value: O == null ? void 0 : O.value,
41326
41328
  __css: J.select,
41327
41329
  "data-select": !0,
41328
41330
  ...e1,
41329
- children: Z == null ? void 0 : Z.optionsData.map((G1) => /* @__PURE__ */ x.jsx("option", { value: G1.value, children: G1.text }, G1.value))
41331
+ children: O == null ? void 0 : O.optionsData.map((G1) => /* @__PURE__ */ x.jsx("option", { value: G1.value, children: G1.text }, G1.value))
41330
41332
  }
41331
41333
  ), r2 = P && /* @__PURE__ */ x.jsx(
41332
41334
  er,
@@ -41366,7 +41368,7 @@ const tI = u2((r, a) => {
41366
41368
  /* @__PURE__ */ x.jsx("span", { children: "Search" })
41367
41369
  ]
41368
41370
  }
41369
- ), N1 = z || r2;
41371
+ ), N1 = U || r2;
41370
41372
  return /* @__PURE__ */ x.jsx(
41371
41373
  X7,
41372
41374
  {
@@ -41424,11 +41426,11 @@ const tI = u2((r, a) => {
41424
41426
  showImage: k,
41425
41427
  variant: v
41426
41428
  }), N = ({
41427
- type: Z,
41428
- size: z = 1,
41429
+ type: O,
41430
+ size: U = 1,
41429
41431
  lastWidth: P = "80%"
41430
- }) => new Array(z).fill(null).map((I, W) => {
41431
- const $ = W === z - 1 ? P : "100%", J = W === z - 1 && Z === "content" ? "0" : void 0;
41432
+ }) => new Array(U).fill(null).map((I, W) => {
41433
+ const $ = W === U - 1 ? P : "100%", J = W === U - 1 && O === "content" ? "0" : void 0;
41432
41434
  return /* @__PURE__ */ x.jsx(
41433
41435
  up,
41434
41436
  {
@@ -41437,12 +41439,12 @@ const tI = u2((r, a) => {
41437
41439
  children: /* @__PURE__ */ x.jsx(
41438
41440
  p1,
41439
41441
  {
41440
- __css: R[Z],
41442
+ __css: R[O],
41441
41443
  style: { marginBottom: J }
41442
41444
  }
41443
41445
  )
41444
41446
  },
41445
- `${Z}-${W}`
41447
+ `${O}-${W}`
41446
41448
  );
41447
41449
  });
41448
41450
  return /* @__PURE__ */ x.jsxs(
@@ -41520,8 +41522,8 @@ const tI = u2((r, a) => {
41520
41522
  name: _,
41521
41523
  onChange: R,
41522
41524
  onChangeEnd: N,
41523
- showBoxes: Z = !0,
41524
- showHelperInvalidText: z = !0,
41525
+ showBoxes: O = !0,
41526
+ showHelperInvalidText: U = !0,
41525
41527
  showLabel: P = !0,
41526
41528
  showRequiredLabel: I = !0,
41527
41529
  showValues: W = !0,
@@ -41545,7 +41547,7 @@ const tI = u2((r, a) => {
41545
41547
  const g1 = N2("ReservoirSlider", {
41546
41548
  isDisabled: C,
41547
41549
  isInvalid: M1,
41548
- showBoxes: Z,
41550
+ showBoxes: O,
41549
41551
  showValues: W
41550
41552
  }), y1 = {
41551
41553
  // Don't focus on the thumbs for every small change.
@@ -41654,7 +41656,7 @@ const tI = u2((r, a) => {
41654
41656
  invalidText: p,
41655
41657
  isInvalid: M1,
41656
41658
  ref: a,
41657
- showHelperInvalidText: z,
41659
+ showHelperInvalidText: U,
41658
41660
  __css: g1,
41659
41661
  ...e1,
41660
41662
  children: [
@@ -41662,17 +41664,17 @@ const tI = u2((r, a) => {
41662
41664
  Io,
41663
41665
  {
41664
41666
  id: `${c1}-label`,
41665
- htmlFor: Z ? `${c1}-textInput-${y ? "start" : "end"}` : "",
41667
+ htmlFor: O ? `${c1}-textInput-${y ? "start" : "end"}` : "",
41666
41668
  isRequired: I && L,
41667
41669
  children: V
41668
41670
  }
41669
41671
  ),
41670
41672
  /* @__PURE__ */ x.jsxs(p1, { __css: g1.container, children: [
41671
- Z && y && D1("start"),
41673
+ O && y && D1("start"),
41672
41674
  W && /* @__PURE__ */ x.jsx(p1, { __css: g1.leftValue, children: S }),
41673
41675
  N1(),
41674
41676
  W && /* @__PURE__ */ x.jsx(p1, { __css: g1.rightValue, children: k }),
41675
- Z && D1("end")
41677
+ O && D1("end")
41676
41678
  ] })
41677
41679
  ]
41678
41680
  }
@@ -42090,10 +42092,10 @@ const XI = ({
42090
42092
  (_.length === 0 || R.length === 0) && console.warn(
42091
42093
  "NYPL Reservoir Tabs: Pass data in the `contentData` props or as children."
42092
42094
  );
42093
- const N = _[0] ? ($ = _[0]) == null ? void 0 : $.props : _.props, Z = () => {
42095
+ const N = _[0] ? ($ = _[0]) == null ? void 0 : $.props : _.props, O = () => {
42094
42096
  const J = L === 0 ? N.children.length - 1 : L - 1;
42095
42097
  V(J);
42096
- }, z = () => {
42098
+ }, U = () => {
42097
42099
  const J = L === N.children.length - 1 ? 0 : L + 1;
42098
42100
  V(J);
42099
42101
  }, P = /* @__PURE__ */ x.jsx(
@@ -42101,7 +42103,7 @@ const XI = ({
42101
42103
  {
42102
42104
  "aria-label": "Scroll tabs left",
42103
42105
  id: `${S}-tabs-previous`,
42104
- onClick: Z,
42106
+ onClick: O,
42105
42107
  __css: {
42106
42108
  ...k.buttonArrows,
42107
42109
  left: "0"
@@ -42122,7 +42124,7 @@ const XI = ({
42122
42124
  {
42123
42125
  "aria-label": "Scroll tabs right",
42124
42126
  id: `${S}-tabs-next`,
42125
- onClick: z,
42127
+ onClick: U,
42126
42128
  __css: {
42127
42129
  ...k.buttonArrows,
42128
42130
  right: "0"
@@ -42401,7 +42403,7 @@ const t$ = P1(
42401
42403
  onChange: S = dI,
42402
42404
  size: _ = "default",
42403
42405
  ...R
42404
- } = r, N = me(i), Z = N2("Toggle", { isDisabled: v, size: _ }), z = re("Switch", { size: _ }), I = Wo({
42406
+ } = r, N = me(i), O = N2("Toggle", { isDisabled: v, size: _ }), U = re("Switch", { size: _ }), I = Wo({
42405
42407
  footnote: y ? p : s,
42406
42408
  id: N,
42407
42409
  labelText: V,
@@ -42413,12 +42415,12 @@ const t$ = P1(
42413
42415
  {
42414
42416
  "data-testid": "ds-toggle",
42415
42417
  helperText: s,
42416
- helperTextStyles: Z.helperErrorText,
42418
+ helperTextStyles: O.helperErrorText,
42417
42419
  id: N,
42418
42420
  invalidText: p,
42419
42421
  isInvalid: y,
42420
42422
  ...R,
42421
- children: /* @__PURE__ */ x.jsx(p1, { __css: Z, children: /* @__PURE__ */ x.jsx(
42423
+ children: /* @__PURE__ */ x.jsx(p1, { __css: O, children: /* @__PURE__ */ x.jsx(
42422
42424
  YS,
42423
42425
  {
42424
42426
  id: N,
@@ -42436,7 +42438,7 @@ const t$ = P1(
42436
42438
  defaultChecked: o
42437
42439
  },
42438
42440
  ...I,
42439
- __css: z,
42441
+ __css: U,
42440
42442
  children: V
42441
42443
  }
42442
42444
  ) })
@@ -42458,25 +42460,25 @@ const t$ = P1(
42458
42460
  videoId: V,
42459
42461
  videoType: k,
42460
42462
  ...S
42461
- } = r, _ = k === "vimeo" ? y || "Vimeo video player" : y || "YouTube video player", R = k === "vimeo" ? `https://player.vimeo.com/video/${V}?autoplay=0&loop=0` : `https://www.youtube.com/embed/${V}?disablekb=1&autoplay=0&fs=1&modestbranding=0`, N = y ? `${y}` : "Video player", Z = i && i.includes("<iframe") && !i.includes("title=") ? i.replace(
42463
+ } = r, _ = k === "vimeo" ? y || "Vimeo video player" : y || "YouTube video player", R = k === "vimeo" ? `https://player.vimeo.com/video/${V}?autoplay=0&loop=0` : `https://www.youtube.com/embed/${V}?disablekb=1&autoplay=0&fs=1&modestbranding=0`, N = y ? `${y}` : "Video player", O = i && i.includes("<iframe") && !i.includes("title=") ? i.replace(
42462
42464
  "<iframe ",
42463
42465
  `<iframe title="${N}" `
42464
- ) : i, z = "<strong>Error:</strong> This video player has not been configured properly. Please contact the site administrator.";
42466
+ ) : i, U = "<strong>Error:</strong> This video player has not been configured properly. Please contact the site administrator.";
42465
42467
  let P = !1;
42466
- !Z && !k && !V ? (console.warn(
42468
+ !O && !k && !V ? (console.warn(
42467
42469
  "NYPL Reservoir VideoPlayer: Pass in either the `embedCode` prop or both the `videoType` and `videoId` props; none were passed."
42468
- ), P = !0) : !Z && !k ? (console.warn(
42470
+ ), P = !0) : !O && !k ? (console.warn(
42469
42471
  "NYPL Reservoir VideoPlayer: The `videoType` prop is also required. Only the `videoId` prop was set."
42470
- ), P = !0) : !Z && !V ? (console.warn(
42472
+ ), P = !0) : !O && !V ? (console.warn(
42471
42473
  "NYPL Reservoir VideoPlayer: The `videoId` prop is also required. Only the `videoType` prop was set."
42472
- ), P = !0) : Z && (k || V) && (console.warn(
42474
+ ), P = !0) : O && (k || V) && (console.warn(
42473
42475
  "NYPL Reservoir VideoPlayer: Pass in either the `embedCode` prop or both the `videoType` and `videoId` props; all were set."
42474
42476
  ), P = !0), V && (V.includes("://") || V.includes("http") || V.includes(".") || V.includes("youtube") || V.includes("vimeo")) && (console.warn(
42475
42477
  "NYPL Reservoir VideoPlayer: The `videoId` prop is not configured properly."
42476
- ), P = !0), Z && (!Z.includes("vimeo.com") && !Z.includes("youtube.com") || !Z.includes("<iframe") || !Z.includes("</iframe")) && (console.warn(
42478
+ ), P = !0), O && (!O.includes("vimeo.com") && !O.includes("youtube.com") || !O.includes("<iframe") || !O.includes("</iframe")) && (console.warn(
42477
42479
  "NYPL Reservoir VideoPlayer: The `embedCode` prop is not configured properly."
42478
42480
  ), P = !0);
42479
- const W = N2("VideoPlayer", { variant: P ? "invalid" : o }), $ = Z ? /* @__PURE__ */ x.jsx("span", { dangerouslySetInnerHTML: { __html: Z } }) : /* @__PURE__ */ x.jsx(
42481
+ const W = N2("VideoPlayer", { variant: P ? "invalid" : o }), $ = O ? /* @__PURE__ */ x.jsx("span", { dangerouslySetInnerHTML: { __html: O } }) : /* @__PURE__ */ x.jsx(
42480
42482
  p1,
42481
42483
  {
42482
42484
  as: "iframe",
@@ -42497,7 +42499,7 @@ const t$ = P1(
42497
42499
  __css: W.base,
42498
42500
  ...S,
42499
42501
  children: [
42500
- P ? /* @__PURE__ */ x.jsx("span", { dangerouslySetInnerHTML: { __html: z } }) : /* @__PURE__ */ x.jsx(
42502
+ P ? /* @__PURE__ */ x.jsx("span", { dangerouslySetInnerHTML: { __html: U } }) : /* @__PURE__ */ x.jsx(
42501
42503
  X7,
42502
42504
  {
42503
42505
  descriptionText: s || void 0,